<?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>141872</bug_id>
          
          <creation_ts>2006-07-27 02:52 0000</creation_ts>
          <short_desc>sci-electronics/gerbv-1.0.1 works incorrectly with GTK+ 2</short_desc>
          <delta_ts>2006-08-11 17:28:29 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>Applications</component>
          <version>2005.1</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mail@ssalewski.de</reporter>
          <assigned_to>sci-electronics@gentoo.org</assigned_to>
          <cc>lucas.chiesa@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>mail@ssalewski.de</who>
            <bug_when>2006-07-27 02:52:56 0000</bug_when>
            <thetext>Viewing gerber files with gerbv gives corrupted display, i.e. 
width lines are drawn as very small (one pixel) lines.
Same error was recently reported at debian buglist:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374131

Best regards

Stefan Salewski</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mail@ssalewski.de</who>
            <bug_when>2006-07-27 12:19:37 0000</bug_when>
            <thetext>Building gerbv-1.0.1.tar.gz with default options (./comfigure; make) gives
a working version of gerbv:

 stefan@localhost ~/gv/gerbv-1.0.1 $ ldd src/gerbv
        libgtk-1.2.so.0 =&gt; /usr/lib/libgtk-1.2.so.0 (0x00002b140b48a000)
        libgdk-1.2.so.0 =&gt; /usr/lib/libgdk-1.2.so.0 (0x00002b140b701000)
        libgmodule-1.2.so.0 =&gt; /usr/lib/libgmodule-1.2.so.0 (0x00002b140b83f000)
        libglib-1.2.so.0 =&gt; /usr/lib/libglib-1.2.so.0 (0x00002b140b942000)
        libXi.so.6 =&gt; /usr/lib/libXi.so.6 (0x00002b140ba6c000)
        libXext.so.6 =&gt; /usr/lib/libXext.so.6 (0x00002b140bb75000)
        libX11.so.6 =&gt; /usr/lib/libX11.so.6 (0x00002b140bc86000)
        libm.so.6 =&gt; /lib/libm.so.6 (0x00002b140be67000)
        libgdk_pixbuf.so.2 =&gt; /usr/lib/libgdk_pixbuf.so.2 (0x00002b140bfc0000)
        libpng12.so.0 =&gt; /usr/lib/libpng12.so.0 (0x00002b140c0d9000)
        libz.so.1 =&gt; /lib/libz.so.1 (0x00002b140c200000)
        libc.so.6 =&gt; /lib/libc.so.6 (0x00002b140c315000)
        libdl.so.2 =&gt; /lib/libdl.so.2 (0x00002b140c53e000)
        /lib64/ld-linux-x86-64.so.2 (0x00002b140b372000)

Building with option --enable-gtk2 (./configure --enable-gtk2; make)
gives progam version with draws gerber files not correct:

stefan@localhost ~/gv/gerbv-1.0.1 $ ldd src/gerbv
        libgtk-x11-2.0.so.0 =&gt; /usr/lib/libgtk-x11-2.0.so.0 (0x00002b832f81d000)
        libgdk-x11-2.0.so.0 =&gt; /usr/lib/libgdk-x11-2.0.so.0 (0x00002b832fc43000)
        libatk-1.0.so.0 =&gt; /usr/lib/libatk-1.0.so.0 (0x00002b832fdd5000)
        libgdk_pixbuf-2.0.so.0 =&gt; /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00002b832fef4000)
        libm.so.6 =&gt; /lib/libm.so.6 (0x00002b833000b000)
        libpangocairo-1.0.so.0 =&gt; /usr/lib/libpangocairo-1.0.so.0 (0x00002b8330164000)
        libpango-1.0.so.0 =&gt; /usr/lib/libpango-1.0.so.0 (0x00002b833026b000)
        libcairo.so.2 =&gt; /usr/lib/libcairo.so.2 (0x00002b83303a9000)
        libgobject-2.0.so.0 =&gt; /usr/lib/libgobject-2.0.so.0 (0x00002b83304f9000)
        libgmodule-2.0.so.0 =&gt; /usr/lib/libgmodule-2.0.so.0 (0x00002b8330638000)
        libdl.so.2 =&gt; /lib/libdl.so.2 (0x00002b833073b000)
        libglib-2.0.so.0 =&gt; /usr/lib/libglib-2.0.so.0 (0x00002b833083f000)
        libpng12.so.0 =&gt; /usr/lib/libpng12.so.0 (0x00002b83309cb000)
        libz.so.1 =&gt; /lib/libz.so.1 (0x00002b8330af2000)
        libc.so.6 =&gt; /lib/libc.so.6 (0x00002b8330c07000)
        libX11.so.6 =&gt; /usr/lib/libX11.so.6 (0x00002b8330e30000)
        libXrender.so.1 =&gt; /usr/lib/libXrender.so.1 (0x00002b8331011000)
        libXrandr.so.2 =&gt; /usr/lib/libXrandr.so.2 (0x00002b833111b000)
        libXi.so.6 =&gt; /usr/lib/libXi.so.6 (0x00002b833121e000)
        libfontconfig.so.1 =&gt; /usr/lib/libfontconfig.so.1 (0x00002b8331326000)
        libXcursor.so.1 =&gt; /usr/lib/libXcursor.so.1 (0x00002b833145a000)
        libXext.so.6 =&gt; /usr/lib/libXext.so.6 (0x00002b8331564000)
        libXfixes.so.3 =&gt; /usr/lib/libXfixes.so.3 (0x00002b8331675000)
        libpangoft2-1.0.so.0 =&gt; /usr/lib64/libpangoft2-1.0.so.0 (0x00002b833177b000)
        libfreetype.so.6 =&gt; /usr/lib64/libfreetype.so.6 (0x00002b83318a3000)
        /lib64/ld-linux-x86-64.so.2 (0x00002b832f705000)
        libexpat.so.0 =&gt; /usr/lib64/libexpat.so.0 (0x00002b8331a36000)

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mail@ssalewski.de</who>
            <bug_when>2006-08-02 11:46:34 0000</bug_when>
            <thetext>Since a few days gerbv-1.0.2.tar.gz is available at
http://gerbv.sourceforge.net/

Works fine with default build options on my 64 bit AMD64 box:

stefan@localhost ~/gv/gerbv-1.0.2/src $ ldd ./gerbv
        libgtk-x11-2.0.so.0 =&gt; /usr/lib/libgtk-x11-2.0.so.0 (0x00002ac754553000)
        libgdk-x11-2.0.so.0 =&gt; /usr/lib/libgdk-x11-2.0.so.0 (0x00002ac754979000)
        libatk-1.0.so.0 =&gt; /usr/lib/libatk-1.0.so.0 (0x00002ac754b0b000)
        libgdk_pixbuf-2.0.so.0 =&gt; /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00002ac754c2a000)
        libm.so.6 =&gt; /lib/libm.so.6 (0x00002ac754d41000)
        libpangocairo-1.0.so.0 =&gt; /usr/lib/libpangocairo-1.0.so.0 (0x00002ac754e9a000)
        libpango-1.0.so.0 =&gt; /usr/lib/libpango-1.0.so.0 (0x00002ac754fa1000)
        libcairo.so.2 =&gt; /usr/lib/libcairo.so.2 (0x00002ac7550df000)
        libgobject-2.0.so.0 =&gt; /usr/lib/libgobject-2.0.so.0 (0x00002ac75522f000)
        libgmodule-2.0.so.0 =&gt; /usr/lib/libgmodule-2.0.so.0 (0x00002ac75536e000)
        libdl.so.2 =&gt; /lib/libdl.so.2 (0x00002ac755471000)
        libglib-2.0.so.0 =&gt; /usr/lib/libglib-2.0.so.0 (0x00002ac755575000)
        libpng12.so.0 =&gt; /usr/lib/libpng12.so.0 (0x00002ac755701000)
        libz.so.1 =&gt; /lib/libz.so.1 (0x00002ac755828000)
        libc.so.6 =&gt; /lib/libc.so.6 (0x00002ac75593d000)
        libX11.so.6 =&gt; /usr/lib/libX11.so.6 (0x00002ac755b66000)
        libXrender.so.1 =&gt; /usr/lib/libXrender.so.1 (0x00002ac755d47000)
        libXrandr.so.2 =&gt; /usr/lib/libXrandr.so.2 (0x00002ac755e51000)
        libXi.so.6 =&gt; /usr/lib/libXi.so.6 (0x00002ac755f54000)
        libfontconfig.so.1 =&gt; /usr/lib/libfontconfig.so.1 (0x00002ac75605c000)
        libXcursor.so.1 =&gt; /usr/lib/libXcursor.so.1 (0x00002ac756190000)
        libXext.so.6 =&gt; /usr/lib/libXext.so.6 (0x00002ac75629a000)
        libXfixes.so.3 =&gt; /usr/lib/libXfixes.so.3 (0x00002ac7563ab000)
        libpangoft2-1.0.so.0 =&gt; /usr/lib64/libpangoft2-1.0.so.0 (0x00002ac7564b1000)
        libfreetype.so.6 =&gt; /usr/lib64/libfreetype.so.6 (0x00002ac7565d9000)
        /lib64/ld-linux-x86-64.so.2 (0x00002ac75443b000)
        libexpat.so.0 =&gt; /usr/lib64/libexpat.so.0 (0x00002ac75676c000)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2006-08-07 05:34:27 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; Since a few days gerbv-1.0.2.tar.gz is available at
&gt; http://gerbv.sourceforge.net/

So you&apos;re saying it (1.0.2) works correctly?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mail@ssalewski.de</who>
            <bug_when>2006-08-08 10:00:38 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; Since a few days gerbv-1.0.2.tar.gz is available at
&gt; &gt; http://gerbv.sourceforge.net/
&gt; 
&gt; So you&apos;re saying it (1.0.2) works correctly?
&gt; 

Yes.
I installed gerbv-1.0.2.tar.gz in a local directory and executed commands &quot;./configure&quot; and &quot;make&quot; to build it with default options. Resulting executable draws my gerber files correctly.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lucas.chiesa@gmail.com</who>
            <bug_when>2006-08-08 10:39:07 0000</bug_when>
            <thetext> 
&gt; Yes.
&gt; I installed gerbv-1.0.2.tar.gz in a local directory and executed commands
&gt; &quot;./configure&quot; and &quot;make&quot; to build it with default options. Resulting executable
&gt; draws my gerber files correctly.
&gt; 

That&apos;s good news! I&apos;ve got correct drawings with both versions. 

gerbv-1.0.2 ebuild in bug #142733.

Lucas Chiesa</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lucas.chiesa@gmail.com</who>
            <bug_when>2006-08-11 16:21:23 0000</bug_when>
            <thetext>I&apos;ve tested gerbv-1.0.2 in a machine where 1.0.1 failed, and it didn&apos;t.

I suggest adding gerbv-1.0.2 to portage as soon as possible to close this bug.

Lucas Chiesa</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2006-08-11 17:27:25 0000</bug_when>
            <thetext>(In reply to comment #6)
&gt; I&apos;ve tested gerbv-1.0.2 in a machine where 1.0.1 failed, and it didn&apos;t.
&gt; 
&gt; I suggest adding gerbv-1.0.2 to portage as soon as possible to close this bug.

In CVS, thanks!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2006-08-11 17:28:29 0000</bug_when>
            <thetext>*** Bug 142733 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
    </bug>

</bugzilla>