<?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>138158</bug_id>
          
          <creation_ts>2006-06-27 01:04 0000</creation_ts>
          <short_desc>gnome-base/librsvg requires cairo built with png support</short_desc>
          <delta_ts>2006-06-29 15:40:18 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>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>flameeyes@gentoo.org</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2006-06-27 01:04:35 0000</bug_when>
            <thetext>Building librsvg out of a 2006.1 ~amd64 stage, librsvg fails because cairo is not built with png support by default:

/bin/sh ./libtool --mode=link --tag=CC x86_64-pc-linux-gnu-gcc  -O2 -pipe   -o rsvg-convert  rsvg-convert.o  -lgsf-1 -lgobject-2.0 -lxml2 -lz -lm -lglib-2.0   -lcroco-0.6 -lglib-2.0 -lxml2 -lz -lm   -lgdk_pixbuf-2.0 -lxml2 -lm -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lcairo -lfontconfig -lexpat -lfreetype -lz   -lpopt ./librsvg-2.la -lm
x86_64-pc-linux-gnu-gcc -O2 -pipe -o .libs/rsvg-convert rsvg-convert.o  /usr/lib64/libpopt.so ./.libs/librsvg-2.so /usr/lib64/libgsf-1.so /usr/lib64/libcroco-0.6.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libxml2.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libcairo.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -ldl /usr/lib64/libfontconfig.so /usr/lib64/libexpat.so /usr/lib64/libfreetype.so -lz -lm
rsvg-convert.o: In function `main&apos;:
rsvg-convert.c:(.text+0x90d): undefined reference to `cairo_surface_write_to_png_stream&apos;
collect2: ld returned 1 exit status
make[2]: *** [rsvg-convert] Error 1
make[2]: Leaving directory `/var/tmp/portage/librsvg-2.14.3/work/librsvg-2.14.3&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/librsvg-2.14.3/work/librsvg-2.14.3&apos;
make: *** [all] Error 2


Rebuilding cairo with png useflag fixes the problem. A pkg_setup to require cairo to be built with png useflag would help here :)

HTH,
Diego</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2006-06-29 15:40:18 0000</bug_when>
            <thetext>this should be &apos;fixed&apos; in librsvg-2.14.3 now, thanks for the report.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>