summaryrefslogtreecommitdiff
path: root/pango-zip.sh.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2001-11-18 23:19:20 +0000
committerTor Lillqvist <tml@src.gnome.org>2001-11-18 23:19:20 +0000
commitba6b12ca588709d4d408e691fbe9698a5a97339d (patch)
tree93c47454515f8ec1b8917160d4458d6b398426ba /pango-zip.sh.in
parent1a13cdaaa5b3105902833d4549843942dad9dd72 (diff)
downloadpango-ba6b12ca588709d4d408e691fbe9698a5a97339d.tar.gz
Suffix package names with datestamp. Add the Pango modules.
2001-11-19 Tor Lillqvist <tml@iki.fi> * pango-zip.sh.in: Suffix package names with datestamp. Add the Pango modules. * pango/pango.def: pango_context_add_font_map -> pango_context_set_font_map. Add pango_fontset_*. * pango/pangoft2.def: Reflect Alexander's changes. * pango/mini-xft/minixftinit.c (get_xft_default_path): New function. Use pango_get_sysconf_subdirectory () to construct a suitable path. * pango/mini-xft/minixftint.h: On Win32, don't use the hardcoded /usr/X11R6/lib/X11/XftConfig path (or any other hardcoded path), but instead the function get_xft_default_path(). * pango/mini-xft/minixftcache.c (MiniXftFileCacheSave): On Win32, don't use link() and unlink() for the lock file. Instead, use a lock directory.
Diffstat (limited to 'pango-zip.sh.in')
-rwxr-xr-xpango-zip.sh.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/pango-zip.sh.in b/pango-zip.sh.in
index 6113a5f5..e35f4472 100755
--- a/pango-zip.sh.in
+++ b/pango-zip.sh.in
@@ -2,8 +2,8 @@
# Build zipfiles for Pango on Win32: separate runtime and developer packages
-ZIP=/tmp/pango-@PANGO_MAJOR_VERSION@.@PANGO_MINOR_VERSION@.zip
-DEVZIP=/tmp/pango-dev-@PANGO_MAJOR_VERSION@.@PANGO_MINOR_VERSION@.zip
+ZIP=/tmp/pango-@PANGO_MAJOR_VERSION@.@PANGO_MINOR_VERSION@-`date +%Y%m%d`.zip
+DEVZIP=/tmp/pango-dev-@PANGO_MAJOR_VERSION@.@PANGO_MINOR_VERSION@-`date +%Y%m%d`.zip
cd @prefix@
rm $ZIP
@@ -13,9 +13,10 @@ etc/pango
lib/libpango-@PANGO_MAJOR_VERSION@-@PANGO_MINOR_VERSION@.dll
lib/libpangoft2-@PANGO_MAJOR_VERSION@-@PANGO_MINOR_VERSION@.dll
lib/libpangowin32-@PANGO_MAJOR_VERSION@-@PANGO_MINOR_VERSION@.dll
-lib/pango/modules/*.dll
EOF
+zip $ZIP lib/pango/modules/*.dll
+
rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
include/pango-1.0