<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>76535</bug_id>
          
          <creation_ts>2005-01-03 10:07 0000</creation_ts>
          <short_desc>media-gfx/fbv should not link against X</short_desc>
          <delta_ts>2005-01-03 14:23:56 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://s-tech.elsat.net.pl/fbv/</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>leffeman@gmail.com</reporter>
          <assigned_to>dragonheart@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>leffeman@gmail.com</who>
            <bug_when>2005-01-03 10:07:18 0000</bug_when>
            <thetext>This ebuild links against X (-lX11), even though it uses no functions or even has anything to do with it. It builds without the linking. 1.0b has this fixed sort of (current version in portage is 0.99), they removed the link but kept the library path (-L/usr/X11R6/lib/). I&apos;ve made a patch so I can build it myself, but upgrading to 1.0b might be a better version. I haven&apos;t tried it yet though, but I&apos;d guess it would work without any changes to the ebuild.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>leffeman@gmail.com</who>
            <bug_when>2005-01-03 10:08:27 0000</bug_when>
            <thetext>Created an attachment (id=47500)
Patch to remove X linkage.

Here&apos;s the patch.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>leffeman@gmail.com</who>
            <bug_when>2005-01-03 13:44:08 0000</bug_when>
            <thetext>OK, I&apos;ve been investigating some, and it would only (maybe) be necessary to link with -lX11 is libungif is compiled with the X use flag. And I noticed that 1.0b actually commented out the LIBS line altogether. Hm, no they moved it to Make.conf, which didn&apos;t include -lX11 or the include when I ran configure. I wonder if it would work with 0.99 too, perhaps not, or perhaps it would work for people like me that use libungif without X. That might be the reason there is a LIBS line in the Makefile.

Yes, version 0.99 doesn&apos;t include -lX11 when I ran configure, but the Makefile has that evil line of course.

I&apos;d rather suggest upgrading the ebuild to use fbv 1.0b instead.
1. It works for me.
2. I noticed that they fixed the buggy laggy thingy when scrolling large images.
3. I can&apos;t seem to go back in a sequence of images with backspace any more. (must be some of the new term-voodoo, can&apos;t see how it would have worked before, I can still use &lt;&gt; or ,.)
4. The documentation is for &lt;=0.99.

Hm, just something interesting I found, ls can chdir to executables :|
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2005-01-03 14:23:56 0000</bug_when>
            <thetext>did version bump.

If libungif is compiled with the X use flag then it should include X11 libraries itself rather than relying on programs that use it to know.

Thanks for the detailed submission.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>47500</attachid>
            <date>2005-01-03 10:08 0000</date>
            <desc>Patch to remove X linkage.</desc>
            <filename>no-x.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIE1ha2VmaWxlLm9sZAkyMDA0LTExLTI1IDAxOjQ0OjM1LjQ4NzMwMDA2NCArMDEwMAorKysg
TWFrZWZpbGUJMjAwNC0xMS0yNSAwMTo0NDo1My44OTQ1MDE3NDQgKzAxMDAKQEAgLTExLDcgKzEx
LDcgQEAKIE9CSkVDVFMJPSAke1NPVVJDRVM6LmM9Lm99CiAKIE9VVAk9IGZidgotTElCUwk9IC1s
dW5naWYgLWxYMTEgLUwvdXNyL1gxMVI2L2xpYiAtbGpwZWcgLWxwbmcKK0xJQlMJPSAtbHVuZ2lm
IC1sanBlZyAtbHBuZwogCiBhbGw6ICQoT1VUKQogCUBlY2hvIEJ1aWxkIERPTkUuCg==
</data>        

          </attachment>
    </bug>

</bugzilla>