[ITP] gdk-pixbuf-0.22.0-1
Dr. Volker Zell
Dr.Volker.Zell@oracle.com
Thu Dec 2 19:07:00 GMT 2004
>>>>> Yaakov Selkowitz writes:
> I would like to contribute gdk-pixbuf to the Cygwin distribution. As
> this is included in Fedora Core and Debian testing, all it needs is a
> GTG review.
Everything builds fine but there is a missing dependency in setup.hint
namely: xorg-x11-bin-dlls
The selftest succeeds but there is a naming problem with the
pixbufloader dll's. in /lib/gdk-pixbuf/loaders
I tried building gqview-1.1.2 from
o http://gqview.sourceforge.net/
which uses the image loader from gdk-pixbuf. I get the following during
startup:
07:40 PM [527]> /usr/local/src/gqview-1.1.2/.inst/usr/local/bin/gqview.exe
GQview 1.1.2
This is a beta release, in active development.
Things may break from version to version.
Want stability? Use a 1.0 version. YOU WERE WARNED!
** WARNING **: Unable to load module: libpixbufloader-xpm.so: dlopen, Win32 error 126
** WARNING **: Can't find gdk-pixbuf module for parsing inline XPM data
I tried patching:
---------------------------- cut here ----------------------------------------------
--- gdk-pixbuf-io.c.orig 2004-12-02 19:30:56.942056000 +0100
+++ gdk-pixbuf-io.c 2004-12-02 19:30:11.096132800 +0100
@@ -236,7 +236,11 @@
name = image_module->module_name;
+#ifndef __CYGWIN__
module_name = g_strconcat ("pixbufloader-", name, NULL);
+#else
+ module_name = g_strconcat ("cygpixbufloader-", name, ".dll", NULL);
+#endif
path = g_module_build_path (PIXBUF_LIBDIR, module_name);
module = g_module_open (path, G_MODULE_BIND_LAZY);
---------------------------- cut here ----------------------------------------------
But now I get:
07:43 PM [528]> /usr/local/src/gqview-1.1.2/.inst/usr/local/bin/gqview.exe
GQview 1.1.2
This is a beta release, in active development.
Things may break from version to version.
Want stability? Use a 1.0 version. YOU WERE WARNED!
** WARNING **: Unable to load module: libcygpixbufloader-xpm.dll.so: dlopen, Win32 error 126
** WARNING **: Can't find gdk-pixbuf module for parsing inline XPM data
So we have to remove the lib and .so parts from the module_name and
we're in business.
By the way renaming the dll's to libXXXXXXX.so makes qgview work like a
charm.
So this is GTG if you'll fix the loader stuff.
Ciao
Volker
More information about the Cygwin-apps
mailing list