RE: List of static libraries for glade application



Tor Lillqvist wrote:
You certainly need to "drop in" other things also. Just copying the
DLLs around is not a good idea. Pango won't work without finding its
pango.modules file in a specific place relative to the pango DLL, and
then at least the pango-basic-win32.dll module in its specific place
(as specified in the pango.modules file, either as an exact path on
the machine in question, or as a configure-time path where the actual
installation prefix is replaced in automatically).

Allright. Here is a more detailed list of all the files
I dropped relative to the executable (appname.exe)
to get my libglade + GTK+ (2.6) app working on windows.

. in the paths below could, for example, be "c:/Program Files/appname/bin".

./appname.exe
./iconv.dll
./intl.dll
./libatk-1.0-0.dll
./libgdk-win32-2.0-0.dll
./libgdk_pixbuf-2.0-0.dll
./libglade-2.0-0.dll
./libglib-2.0-0.dll
./libgmodule-2.0-0.dll
./libgobject-2.0-0.dll
./libgtk-win32-2.0-0.dll
./libpango-1.0-0.dll
./libpangowin32-1.0-0.dll
./libpng13.dll
./libxml2.dll
./zlib1.dll

../share/appname/appname.glade
../share/appname/appname16.png
../share/appname/appname24.png
../share/appname/appname32.png
../share/appname/appname48.png

../lib/pango/1.4.0/modules/pango-arabic-fc.dll
../lib/pango/1.4.0/modules/pango-basic-fc.dll
../lib/pango/1.4.0/modules/pango-basic-win32.dll
../lib/pango/1.4.0/modules/pango-hangul-fc.dll
../lib/pango/1.4.0/modules/pango-hebrew-fc.dll
../lib/pango/1.4.0/modules/pango-indic-fc.dll
../lib/pango/1.4.0/modules/pango-syriac-fc.dll
../lib/pango/1.4.0/modules/pango-thai-fc.dll
../lib/pango/1.4.0/modules/pango-tibetan-fc.dll
../lib/gtk-2.0/2.4.0/immodules/im-am-et.dll
../lib/gtk-2.0/2.4.0/immodules/im-cedilla.dll
../lib/gtk-2.0/2.4.0/immodules/im-cyrillic-translit.dll
../lib/gtk-2.0/2.4.0/immodules/im-ime.dll
../lib/gtk-2.0/2.4.0/immodules/im-inuktitut.dll
../lib/gtk-2.0/2.4.0/immodules/im-ipa.dll
../lib/gtk-2.0/2.4.0/immodules/im-thai-broken.dll
../lib/gtk-2.0/2.4.0/immodules/im-ti-er.dll
../lib/gtk-2.0/2.4.0/immodules/im-ti-et.dll
../lib/gtk-2.0/2.4.0/immodules/im-viqr.dll
../lib/gtk-2.0/2.4.0/loaders/libpixbufloader-ani.dll
../lib/gtk-2.0/2.4.0/loaders/libpixbufloader-bmp.dll
../lib/gtk-2.0/2.4.0/loaders/libpixbufloader-gif.dll
../lib/gtk-2.0/2.4.0/loaders/libpixbufloader-ico.dll
../lib/gtk-2.0/2.4.0/loaders/libpixbufloader-jpeg.dll
../lib/gtk-2.0/2.4.0/loaders/libpixbufloader-pcx.dll
../lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.dll
../lib/gtk-2.0/2.4.0/loaders/libpixbufloader-pnm.dll
../lib/gtk-2.0/2.4.0/loaders/libpixbufloader-ras.dll
../lib/gtk-2.0/2.4.0/loaders/libpixbufloader-tga.dll
../lib/gtk-2.0/2.4.0/loaders/libpixbufloader-tiff.dll
../lib/gtk-2.0/2.4.0/loaders/libpixbufloader-wbmp.dll
../lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xbm.dll
../lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xpm.dll
../lib/gtk-2.0/include/gdkconfig.h

../etc/gtk-2.0/gdk-pixbuf.loaders
../etc/gtk-2.0/gtk.immodules
../etc/pango/pango.aliases
../etc/pango/pango.modules

The files starting with ../lib/ and ../etc/ in the list above
are actually full copies (as in cp -a) of the following 3 dirs:

$(GTK_PREFIX)/etc
$(GTK_PREFIX)/lib/pango
$(GTK_PREFIX)/lib/gtk-2.0


But I haven't got internationalization to work yet. I guess
also copying $(GTK_PREFIX)/share/locale would help as Tor pointed out ;-)

If a GTK+ installer is used, like the one used for GIMP. Then I guess
only libxml2.dll and libglade-2.0-0.dll would have to be installed together
with the executable. The rest of the files are in the GTK+ package. The downside
with this method is that it's more complicated to keep track of the dependencies.

One scenario that can cause trouble is if (for instance) the app uses calls from
GTK+-2.6 and only GTK+-2.4 is installed. It would be good if there were some standard way
of keeping track of package dependencies on windows. Something that works similar to
APT on Debian. Then you could simply tell the application installer that your custom
application depends on GTK+-2.6 or higher. (I also think the dependency discussion has
been up before on this list).


Regards, Albert



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