Remove glib-zip.in

We have not updated nor used this script for a long time, and nowadays
Meson makes it much easier to build on Windows for either Visual Studio
or MinGW, even straight from a GIT checkout, so it's about time that we
drop the glib-zip script from the source tree.
This commit is contained in:
Chun-wei Fan 2018-06-08 12:19:31 +08:00
parent aa44ece684
commit 26b5d7dfff
5 changed files with 1 additions and 101 deletions

1
.gitignore vendored
View File

@ -46,7 +46,6 @@ mingw32-config.cache
missing
install-sh
glib-gettextize
glib-zip
gtk-doc.make
py-compile
test-driver

View File

@ -34,7 +34,6 @@ EXTRA_DIST += \
ChangeLog.pre-2-2 \
ChangeLog.pre-2-0 \
ChangeLog.pre-1-2 \
glib-zip.in \
NEWS.pre-1-3 \
acglib.m4 \
sanity_check \

View File

@ -3459,7 +3459,6 @@ gobject-2.0.pc
gio-2.0.pc
gio-unix-2.0.pc
gio-windows-2.0.pc
glib-zip
glib-gettextize
Makefile
build/Makefile
@ -3511,8 +3510,7 @@ subprojects/Makefile
# We need this command because the configure script will not preserve
# the same attributes of the template files
AC_CONFIG_COMMANDS([chmod-scripts],
[chmod 0755 glib-zip
chmod 0755 glib-gettextize
[chmod 0755 glib-gettextize
chmod 0755 gobject/glib-genmarshal
chmod 0755 gobject/glib-mkenums])

View File

@ -1,94 +0,0 @@
#!/bin/sh
# Build zipfiles for GLib on Win32: Separate runtime and developer ones.
# After running make install, run this.
ZIP=/tmp/glib-@GLIB_VERSION@.zip
DEVZIP=/tmp/glib-dev-@GLIB_VERSION@.zip
cd @prefix@
mkdir -p share/doc/glib-@GLIB_VERSION@
cp -p @abs_srcdir@/COPYING share/doc/glib-@GLIB_VERSION@
mkdir -p share/doc/glib-dev-@GLIB_VERSION@
cp -p @abs_srcdir@/COPYING share/doc/glib-dev-@GLIB_VERSION@
if test @LIB_EXE_MACHINE_FLAG@ = X64; then
helperbits=64
else
helperbits=32
fi
rm $ZIP
zip $ZIP -@ <<EOF
bin/gspawn-win${helperbits}-helper.exe
bin/gspawn-win${helperbits}-helper-console.exe
bin/libgio-2.0-@LT_CURRENT_MINUS_AGE@.dll
bin/libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll
bin/libgmodule-2.0-@LT_CURRENT_MINUS_AGE@.dll
bin/libgobject-2.0-@LT_CURRENT_MINUS_AGE@.dll
bin/libgthread-2.0-@LT_CURRENT_MINUS_AGE@.dll
EOF
zip $ZIP share/locale/*/LC_MESSAGES/glib20.mo
zip -r -D $ZIP share/doc/glib-@GLIB_VERSION@
rm $DEVZIP
zip -r -D $DEVZIP -@ <<EOF
bin/gdbus.exe
bin/gdbus-codegen
bin/gio-querymodules.exe
bin/glib-compile-schemas.exe
bin/glib-genmarshal.exe
bin/glib-gettextize
bin/glib-mkenums
bin/gobject-query.exe
bin/gsettings.exe
etc/bash_completion.d/gdbus-bash-completion.sh
etc/bash_completion.d/gsettings-bash-completion.sh
include/gio-win32-2.0
include/glib-2.0
lib/gdbus-2.0
lib/gio
lib/glib-2.0
lib/pkgconfig/glib-2.0.pc
lib/pkgconfig/gmodule-2.0.pc
lib/pkgconfig/gmodule-no-export-2.0.pc
lib/pkgconfig/gobject-2.0.pc
lib/pkgconfig/gthread-2.0.pc
lib/pkgconfig/gio-2.0.pc
lib/pkgconfig/gio-windows-2.0.pc
lib/gio-2.0.def
lib/gio-2.0.lib
lib/glib-2.0.def
lib/glib-2.0.lib
lib/gmodule-2.0.def
lib/gmodule-2.0.lib
lib/gobject-2.0.def
lib/gobject-2.0.lib
lib/gthread-2.0.def
lib/gthread-2.0.lib
lib/libgio-2.0.dll.a
lib/libglib-2.0.dll.a
lib/libgmodule-2.0.dll.a
lib/libgobject-2.0.dll.a
lib/libgthread-2.0.dll.a
share/aclocal/glib-2.0.m4
share/aclocal/glib-gettext.m4
share/aclocal/gsettings.m4
share/glib-2.0
share/gtk-doc/html
share/man/man1/gdbus.1
share/man/man1/gdbus-codegen.1
share/man/man1/gio-querymodules.1
share/man/man1/glib-compile-schemas.1
share/man/man1/glib-genmarshal.1
share/man/man1/glib-gettextize.1
share/man/man1/glib-mkenums.1
share/man/man1/gobject-query.1
share/man/man1/gsettings.1
EOF
zip -r $DEVZIP share/doc/glib-dev-@GLIB_VERSION@

View File

@ -1860,8 +1860,6 @@ if xgettext.found()
endif
subdir('tests')
# NOTE: We skip glib-zip.in because the filenames it assumes don't match ours
# Install glib-gettextize executable, if a UNIX-style shell is found
if have_sh
# These should not contain " quotes around the values