[Bug 108718] Changed - Fix for bug 102142 - failed to load "./stock_add_16.png" didn't take?



http://bugzilla.gnome.org/show_bug.cgi?id=108718





------- Additional Comments From Jonas Jonsson alcesys se  2004-02-02 08:15 -------
So, this turned out to be a tricky one, but I've solved it.

I've built my libjpeg, libz, libtiff & libpng myself.  They're all
built like shared libraries, and they live in /gnome-2.6-home/lib. 
However, I had to manually create the .la-files for libtool.  If You
wan't to, I can attach them later.

Then the makefiles have to be manipulated (Don't know why it doesn't
work as it should, but I have to add -L./.libs on several
LINK=$(LIBTOOL)... lines).  

Finally, I have to add SHLIB_PATH = $LD_LIBRARY_PATH (in gar.conf.mk),
and also in the following Makefiles.

gtk+/work/main.d/gtk-2.3.2/gdk-pixbuf/Makefile :
gdk-pixbuf.loaders: $(loader_LTLIBRARIES) gdk-pixbuf-query-loaders
	LOADERS=`echo libpixbufloader-*.la` ; \
	SHLIB_PATH=`echo
SHLIB_PATH:/alcesys/build/garnome-0.29.1/platform/gtk+/work/main.d/gtk+-2.3.2/gdk-pixbuf/.libs`
; \


gtk+/work/main.d/gtk-2.3.2/gtk/stock-icons/Makefile :
pixbuf_csource = SHLIB_PATH=`echo
$SHLIB_PATH:/alcesys/build/garnome-0.29.1/platform/gtk+/work/main.d/gtk+-2.3.2/gdk-pixbuf/.libs`
GDK_PIXBUF_MODULE_FILE=$(top_builddir)/gdk-pixbuf/gdk-pixbuf.loaders
$(top_builddir)/gdk-pixbuf/gdk-pixbuf-csource



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