On 01/30/2013 01:08 PM, John Stebbins wrote: > On 01/30/2013 11:24 AM, Andrew Potter wrote: >> On Wed, Jan 30, 2013 at 10:52 AM, John Stebbins >> <stebb...@jetheaddev.com>wrote: >> >>> Not sure where you are getting your information. I just built HandBrake >>> using the mingw tools on Fedora 18 with gtk+ 3 >>> support. Works spiffy. >>> >> Presumably he is getting his information from >> http://www.gtk.org/download/win32.php >> >> It is relatively easy to cross-compile a Gtk3 Windows .exe with mingw. >> >> But how do you give users the program? They need the Gtk3 >> & dependency .DLLs to run it. There is no Gtk3 installer. Do you have your >> own installer and distribute the .DLLs that are in the Fedora packages? I'm >> curious to know if that works. Also if you could share some details on your >> installer I would appreciate it. >> >> Thanks >> _______________________________________________ >> > I realized I didn't answer your question completely. My "installer" is just > a zip file containing the directory tree of > everything needed. I have a simple script that copies everything needed into > the directory, then I zip it up. Example > script attached. >
Renaming script to prevent stripping by ML. -- John GnuPG fingerprint: D0EC B3DB C372 D1F1 0B01 83F0 49F1 D7B2 60D4 D0F7
#!/bin/bash build="." destdir="ghb.mingw64" mkdir -p ${destdir}/lib/ mkdir -p ${destdir}/bin/ # Copy EXEs cp ${build}/gtk/src/.libs/ghb.exe ${destdir}/bin cp ${build}/HandBrakeCLI.exe ${destdir}/bin # Copy config info cp -rL /usr/x86_64-w64-mingw32/sys-root/mingw/etc/ ${destdir}/ mkdir -p ${destdir}/share/glib-2.0/schemas cp -r /usr/i686-w64-mingw32/sys-root/mingw/share/glib-2.0/schemas/* ${destdir}/share/glib-2.0/schemas # Copy DLLs cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libstdc++-6.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libatk-1.0-0.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libcairo-2.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgcc_s_sjlj-1.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgdk_pixbuf-2.0-0.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgio-2.0-0.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libglib-2.0-0.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgmodule-2.0-0.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgobject-2.0-0.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/iconv.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libintl-8.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libpango-1.0-0.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libpangocairo-1.0-0.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libpangowin32-1.0-0.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libpixman-1-0.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libpng15-15.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libxml2-2.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libdl.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/pthreadGC2.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/zlib1.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libffi-6.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libpangoft2-1.0-0.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libfontconfig-1.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libexpat-1.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libfreetype-6.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgdk-3-0.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgtk-3-0.dll ${destdir}/bin cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libcairo-gobject-2.dll ${destdir}/bin
_______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list