Re: gimp-2.3.4 librsvg error (garnome-cvs head)



This is an old bug that is sadly still in play but is easy to fix.

* edit plugins/common/svg.c
There are two instances of the following code fragement

        #if (LIBRSVG_MAJOR_VERSION == 2 && LIBRSVG_MINOR_VERSION < 99)
          rsvg_handle_set_dpi_x_y (handle, vals->resolution, vals->resolution);
        #else
          rsvg_handle_set_dpi (handle, vals->resolution, vals->resolution);
        #endif
        
In each instance, replace the 99 by some number that will force the second choice, say 11.

-Joseph

==============================================================================

On Sat, 2005-11-19 at 18:04 +0000, Robert Ford wrote:
> bglib-2.0.so -Wl,--rpath -Wl,/opt/garnome-2.13.1/lib
> svg-svg.o: In function `load_rsvg_pixbuf':
> /home/odin/Packages/garnome-cvs/fifth-toe/gimp/work/main.d/gimp-2.3.4/plug-ins/common/svg.c:442:  
> undefined reference to `rsvg_handle_set_dpi_x_y'
> svg-svg.o: In function `load_rsvg_size':
> /home/odin/Packages/garnome-cvs/fifth-toe/gimp/work/main.d/gimp-2.3.4/plug-ins/common/svg.c:544:  
> undefined reference to `rsvg_handle_set_dpi_x_y'
> collect2: ld returned 1 exit status
> 
> Robert
-- 
joseph_sacco [at] comcast [dot] net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]