Updates.
2001-10-29 Tor Lillqvist <tml@iki.fi>
* README.win32: Updates.
* gtk-zip.sh.in: New file, used to build distribution package for
Windows.
* gdk/gdkglobals.c: Mark gdk_threads_mutex for DLL export when
applicable with GDKVAR.
* gtk/gtk.def: Update.
* gtk/gtkfilesel.c: Include <winsock.h> (if available) for
gethostname().
* gtk/gtkmain.c
* gtk/gtkrc.c: (Win32) Save actual DLL name for later use in DLL
entry function. Avoid hardcoded paths GTK_LIBDIR, GTK_SYSCONFDIR,
GTK_DATA_PREFIX and GTK_LOCALEDIR, instead add functions that call
g_win32_get_package_installation_subdirectory() with the actual
DLL name saved above. Redefine above directory name macros to call
these functions. Remove some ifdefs.
* gtk/maketypes.awk: Output GTKTYPEBUILTINS_VAR (that marks
variable for export on Win32) also to the _vars file.
Changes for autoconfiscated build on Win32, and addition of Win32
backend to the related files:
* configure.in: Like in GLib, set LT_CURRENT_MINUS_AGE for use
when forming DLL name in some files. Set MS_LIB_AVAILABLE is
lib.exe is available. Call AC_LIBTOOL_WIN32_DLL. Set
PLATFORM_WIN32, OS_WIN32 and USE_WIN32 automake conditionals. Add
win32 target, using pangowin32. Don't use the
-export-symbols-regex option on Win32, we use .def files to list
exported symbols. Check <winsock.h> (for gethostname() in
gtkfilesel.c). Enclose nested AC_CHECK_* macros in brackets to
prevent premature m4 expansion.
* acconfig.h: Add HAVE_WINTAB.
* gdk/Makefile.am: Add libgdk-win32-1.3.la target and associated
macros and rules. Use -no-undefined on Win32. Use gdk.def file. If
MS_LIB_AVAILABLE, build MS import library. Install the import
libraries. If HAVE_WINTAB, link with the Wintab library.
* gtk/Makefile.am: Add libgtk-win32-1.3.la target and associated
macros and rules. Use -no-undefined on Win32. Use gtk-win32.def
file. Install import libraries.
2001-10-29 07:06:37 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2001-11-17 02:13:25 +00:00
|
|
|
# Build zipfiles for GTK on Win32
|
Updates.
2001-10-29 Tor Lillqvist <tml@iki.fi>
* README.win32: Updates.
* gtk-zip.sh.in: New file, used to build distribution package for
Windows.
* gdk/gdkglobals.c: Mark gdk_threads_mutex for DLL export when
applicable with GDKVAR.
* gtk/gtk.def: Update.
* gtk/gtkfilesel.c: Include <winsock.h> (if available) for
gethostname().
* gtk/gtkmain.c
* gtk/gtkrc.c: (Win32) Save actual DLL name for later use in DLL
entry function. Avoid hardcoded paths GTK_LIBDIR, GTK_SYSCONFDIR,
GTK_DATA_PREFIX and GTK_LOCALEDIR, instead add functions that call
g_win32_get_package_installation_subdirectory() with the actual
DLL name saved above. Redefine above directory name macros to call
these functions. Remove some ifdefs.
* gtk/maketypes.awk: Output GTKTYPEBUILTINS_VAR (that marks
variable for export on Win32) also to the _vars file.
Changes for autoconfiscated build on Win32, and addition of Win32
backend to the related files:
* configure.in: Like in GLib, set LT_CURRENT_MINUS_AGE for use
when forming DLL name in some files. Set MS_LIB_AVAILABLE is
lib.exe is available. Call AC_LIBTOOL_WIN32_DLL. Set
PLATFORM_WIN32, OS_WIN32 and USE_WIN32 automake conditionals. Add
win32 target, using pangowin32. Don't use the
-export-symbols-regex option on Win32, we use .def files to list
exported symbols. Check <winsock.h> (for gethostname() in
gtkfilesel.c). Enclose nested AC_CHECK_* macros in brackets to
prevent premature m4 expansion.
* acconfig.h: Add HAVE_WINTAB.
* gdk/Makefile.am: Add libgdk-win32-1.3.la target and associated
macros and rules. Use -no-undefined on Win32. Use gdk.def file. If
MS_LIB_AVAILABLE, build MS import library. Install the import
libraries. If HAVE_WINTAB, link with the Wintab library.
* gtk/Makefile.am: Add libgtk-win32-1.3.la target and associated
macros and rules. Use -no-undefined on Win32. Use gtk-win32.def
file. Install import libraries.
2001-10-29 07:06:37 +00:00
|
|
|
|
2006-02-07 22:58:04 +00:00
|
|
|
ZIP=/tmp/gtk+-@GTK_VERSION@.zip
|
|
|
|
DEVZIP=/tmp/gtk+-dev-@GTK_VERSION@.zip
|
2001-11-17 02:13:25 +00:00
|
|
|
cd @prefix@
|
2003-06-17 23:49:40 +00:00
|
|
|
|
2007-01-17 13:12:27 +00:00
|
|
|
mkdir -p share/doc/gtk+-@GTK_VERSION@
|
|
|
|
cp -p @abs_srcdir@/COPYING share/doc/gtk+-@GTK_VERSION@
|
|
|
|
|
|
|
|
mkdir -p share/doc/gtk+-dev-@GTK_VERSION@
|
|
|
|
cp -p @abs_srcdir@/COPYING share/doc/gtk+-dev-@GTK_VERSION@
|
|
|
|
|
|
|
|
rm $ZIP
|
2003-09-20 23:52:16 +00:00
|
|
|
zip $ZIP -@ <<EOF
|
|
|
|
etc/gtk-2.0/gdk-pixbuf.loaders
|
|
|
|
etc/gtk-2.0/gtkrc
|
2004-08-15 15:05:46 +00:00
|
|
|
etc/gtk-2.0/gtk.immodules
|
2005-09-29 07:44:52 +00:00
|
|
|
bin/libgdk_pixbuf-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
|
|
|
|
bin/libgdk-win32-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
|
|
|
|
bin/libgtk-win32-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
|
2008-03-03 01:27:43 +00:00
|
|
|
bin/libgailutil-@GAIL_LT_CURRENT_MINUS_AGE@.dll
|
2006-12-10 09:08:50 +00:00
|
|
|
bin/gdk-pixbuf-query-loaders.exe
|
|
|
|
bin/gtk-query-immodules-2.0.exe
|
2001-11-17 02:13:25 +00:00
|
|
|
EOF
|
|
|
|
|
2008-03-03 01:27:43 +00:00
|
|
|
zip $ZIP lib/gtk-2.0/modules/libgail.dll lib/gtk-2.0/@GTK_BINARY_VERSION@/loaders/*.dll lib/gtk-2.0/@GTK_BINARY_VERSION@/immodules/*.dll lib/gtk-2.0/@GTK_BINARY_VERSION@/engines/*.dll
|
2001-11-17 02:13:25 +00:00
|
|
|
|
2005-08-04 10:00:56 +00:00
|
|
|
zip $ZIP share/themes/Raleigh/gtk-2.0/gtkrc
|
2004-09-03 01:27:57 +00:00
|
|
|
zip $ZIP share/themes/Default/gtk-2.0-key/gtkrc
|
|
|
|
zip $ZIP share/themes/Emacs/gtk-2.0-key/gtkrc
|
2005-08-04 10:00:56 +00:00
|
|
|
zip $ZIP share/themes/MS-Windows/gtk-2.0/gtkrc
|
2002-02-23 22:13:17 +00:00
|
|
|
|
2008-03-03 01:27:43 +00:00
|
|
|
if [ -f share/locale/de/LC_MESSAGES/gtk20.mo ]; then
|
2007-11-28 01:06:07 +00:00
|
|
|
zip -r $ZIP share/locale/*/LC_MESSAGES/gtk20.mo
|
|
|
|
zip -r $ZIP share/locale/*/LC_MESSAGES/gtk20-properties.mo
|
2008-03-03 01:27:43 +00:00
|
|
|
else
|
|
|
|
zip -r $ZIP lib/locale/*/LC_MESSAGES/gtk20.mo
|
|
|
|
zip -r $ZIP lib/locale/*/LC_MESSAGES/gtk20-properties.mo
|
2007-11-28 01:06:07 +00:00
|
|
|
fi
|
2001-11-17 02:13:25 +00:00
|
|
|
|
2007-01-17 13:16:01 +00:00
|
|
|
zip -r $ZIP share/doc/gtk+-@GTK_VERSION@
|
2007-01-17 13:12:27 +00:00
|
|
|
|
2001-11-17 02:13:25 +00:00
|
|
|
rm $DEVZIP
|
|
|
|
zip -r $DEVZIP -@ <<EOF
|
|
|
|
include/gtk-2.0
|
2008-03-03 01:27:43 +00:00
|
|
|
include/gail-1.0
|
2003-01-04 03:16:12 +00:00
|
|
|
bin/gdk-pixbuf-csource.exe
|
2007-12-10 14:27:35 +00:00
|
|
|
bin/gtk-builder-convert
|
2003-01-12 04:44:23 +00:00
|
|
|
bin/gtk-demo.exe
|
2008-05-07 09:01:16 +00:00
|
|
|
bin/gtk-update-icon-cache.exe
|
|
|
|
man/man1/gdk-builder-convert.1
|
2003-01-04 03:16:12 +00:00
|
|
|
man/man1/gdk-pixbuf-csource.1
|
2008-05-07 09:01:16 +00:00
|
|
|
man/man1/gdk-update-icon-cache.1
|
|
|
|
man/man1/gtk-pixbuf-query-loaders.1
|
|
|
|
man/man1/gtk-query-immodules-2.0.1
|
2003-01-05 02:24:15 +00:00
|
|
|
lib/libgdk_pixbuf-@GTK_API_VERSION@.dll.a
|
|
|
|
lib/gdk_pixbuf-@GTK_API_VERSION@.lib
|
|
|
|
lib/libgdk-win32-@GTK_API_VERSION@.dll.a
|
|
|
|
lib/gdk-win32-@GTK_API_VERSION@.lib
|
|
|
|
lib/libgtk-win32-@GTK_API_VERSION@.dll.a
|
|
|
|
lib/gtk-win32-@GTK_API_VERSION@.lib
|
2008-03-03 01:27:43 +00:00
|
|
|
lib/libgailutil.dll.a
|
|
|
|
lib/gailutil.lib
|
2001-11-17 02:13:25 +00:00
|
|
|
lib/gtk-2.0/include
|
Updates.
2001-10-29 Tor Lillqvist <tml@iki.fi>
* README.win32: Updates.
* gtk-zip.sh.in: New file, used to build distribution package for
Windows.
* gdk/gdkglobals.c: Mark gdk_threads_mutex for DLL export when
applicable with GDKVAR.
* gtk/gtk.def: Update.
* gtk/gtkfilesel.c: Include <winsock.h> (if available) for
gethostname().
* gtk/gtkmain.c
* gtk/gtkrc.c: (Win32) Save actual DLL name for later use in DLL
entry function. Avoid hardcoded paths GTK_LIBDIR, GTK_SYSCONFDIR,
GTK_DATA_PREFIX and GTK_LOCALEDIR, instead add functions that call
g_win32_get_package_installation_subdirectory() with the actual
DLL name saved above. Redefine above directory name macros to call
these functions. Remove some ifdefs.
* gtk/maketypes.awk: Output GTKTYPEBUILTINS_VAR (that marks
variable for export on Win32) also to the _vars file.
Changes for autoconfiscated build on Win32, and addition of Win32
backend to the related files:
* configure.in: Like in GLib, set LT_CURRENT_MINUS_AGE for use
when forming DLL name in some files. Set MS_LIB_AVAILABLE is
lib.exe is available. Call AC_LIBTOOL_WIN32_DLL. Set
PLATFORM_WIN32, OS_WIN32 and USE_WIN32 automake conditionals. Add
win32 target, using pangowin32. Don't use the
-export-symbols-regex option on Win32, we use .def files to list
exported symbols. Check <winsock.h> (for gethostname() in
gtkfilesel.c). Enclose nested AC_CHECK_* macros in brackets to
prevent premature m4 expansion.
* acconfig.h: Add HAVE_WINTAB.
* gdk/Makefile.am: Add libgdk-win32-1.3.la target and associated
macros and rules. Use -no-undefined on Win32. Use gdk.def file. If
MS_LIB_AVAILABLE, build MS import library. Install the import
libraries. If HAVE_WINTAB, link with the Wintab library.
* gtk/Makefile.am: Add libgtk-win32-1.3.la target and associated
macros and rules. Use -no-undefined on Win32. Use gtk-win32.def
file. Install import libraries.
2001-10-29 07:06:37 +00:00
|
|
|
lib/pkgconfig/gdk-pixbuf-2.0.pc
|
|
|
|
lib/pkgconfig/gdk-2.0.pc
|
2001-11-02 22:56:59 +00:00
|
|
|
lib/pkgconfig/gdk-win32-2.0.pc
|
Updates.
2001-10-29 Tor Lillqvist <tml@iki.fi>
* README.win32: Updates.
* gtk-zip.sh.in: New file, used to build distribution package for
Windows.
* gdk/gdkglobals.c: Mark gdk_threads_mutex for DLL export when
applicable with GDKVAR.
* gtk/gtk.def: Update.
* gtk/gtkfilesel.c: Include <winsock.h> (if available) for
gethostname().
* gtk/gtkmain.c
* gtk/gtkrc.c: (Win32) Save actual DLL name for later use in DLL
entry function. Avoid hardcoded paths GTK_LIBDIR, GTK_SYSCONFDIR,
GTK_DATA_PREFIX and GTK_LOCALEDIR, instead add functions that call
g_win32_get_package_installation_subdirectory() with the actual
DLL name saved above. Redefine above directory name macros to call
these functions. Remove some ifdefs.
* gtk/maketypes.awk: Output GTKTYPEBUILTINS_VAR (that marks
variable for export on Win32) also to the _vars file.
Changes for autoconfiscated build on Win32, and addition of Win32
backend to the related files:
* configure.in: Like in GLib, set LT_CURRENT_MINUS_AGE for use
when forming DLL name in some files. Set MS_LIB_AVAILABLE is
lib.exe is available. Call AC_LIBTOOL_WIN32_DLL. Set
PLATFORM_WIN32, OS_WIN32 and USE_WIN32 automake conditionals. Add
win32 target, using pangowin32. Don't use the
-export-symbols-regex option on Win32, we use .def files to list
exported symbols. Check <winsock.h> (for gethostname() in
gtkfilesel.c). Enclose nested AC_CHECK_* macros in brackets to
prevent premature m4 expansion.
* acconfig.h: Add HAVE_WINTAB.
* gdk/Makefile.am: Add libgdk-win32-1.3.la target and associated
macros and rules. Use -no-undefined on Win32. Use gdk.def file. If
MS_LIB_AVAILABLE, build MS import library. Install the import
libraries. If HAVE_WINTAB, link with the Wintab library.
* gtk/Makefile.am: Add libgtk-win32-1.3.la target and associated
macros and rules. Use -no-undefined on Win32. Use gtk-win32.def
file. Install import libraries.
2001-10-29 07:06:37 +00:00
|
|
|
lib/pkgconfig/gtk+-2.0.pc
|
2001-11-02 22:56:59 +00:00
|
|
|
lib/pkgconfig/gtk+-win32-2.0.pc
|
|
|
|
share/aclocal/gtk-2.0.m4
|
2003-01-12 04:44:23 +00:00
|
|
|
share/gtk-2.0
|
2003-05-27 18:36:19 +00:00
|
|
|
share/gtk-doc/html/gdk-pixbuf
|
|
|
|
share/gtk-doc/html/gdk
|
|
|
|
share/gtk-doc/html/gtk
|
Updates.
2001-10-29 Tor Lillqvist <tml@iki.fi>
* README.win32: Updates.
* gtk-zip.sh.in: New file, used to build distribution package for
Windows.
* gdk/gdkglobals.c: Mark gdk_threads_mutex for DLL export when
applicable with GDKVAR.
* gtk/gtk.def: Update.
* gtk/gtkfilesel.c: Include <winsock.h> (if available) for
gethostname().
* gtk/gtkmain.c
* gtk/gtkrc.c: (Win32) Save actual DLL name for later use in DLL
entry function. Avoid hardcoded paths GTK_LIBDIR, GTK_SYSCONFDIR,
GTK_DATA_PREFIX and GTK_LOCALEDIR, instead add functions that call
g_win32_get_package_installation_subdirectory() with the actual
DLL name saved above. Redefine above directory name macros to call
these functions. Remove some ifdefs.
* gtk/maketypes.awk: Output GTKTYPEBUILTINS_VAR (that marks
variable for export on Win32) also to the _vars file.
Changes for autoconfiscated build on Win32, and addition of Win32
backend to the related files:
* configure.in: Like in GLib, set LT_CURRENT_MINUS_AGE for use
when forming DLL name in some files. Set MS_LIB_AVAILABLE is
lib.exe is available. Call AC_LIBTOOL_WIN32_DLL. Set
PLATFORM_WIN32, OS_WIN32 and USE_WIN32 automake conditionals. Add
win32 target, using pangowin32. Don't use the
-export-symbols-regex option on Win32, we use .def files to list
exported symbols. Check <winsock.h> (for gethostname() in
gtkfilesel.c). Enclose nested AC_CHECK_* macros in brackets to
prevent premature m4 expansion.
* acconfig.h: Add HAVE_WINTAB.
* gdk/Makefile.am: Add libgdk-win32-1.3.la target and associated
macros and rules. Use -no-undefined on Win32. Use gdk.def file. If
MS_LIB_AVAILABLE, build MS import library. Install the import
libraries. If HAVE_WINTAB, link with the Wintab library.
* gtk/Makefile.am: Add libgtk-win32-1.3.la target and associated
macros and rules. Use -no-undefined on Win32. Use gtk-win32.def
file. Install import libraries.
2001-10-29 07:06:37 +00:00
|
|
|
EOF
|
|
|
|
|
2007-01-17 13:16:01 +00:00
|
|
|
zip -r $DEVZIP share/doc/gtk+-dev-@GTK_VERSION@
|