~funkyhat/ubuntu/maverick/gconf/gconf-fix-630592

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/sh

# Build zipfile distribution of GConf for Win32. Separate runtime and
# developer zipfiles. Run after make install.

ZIP=/tmp/GConf-@VERSION@.zip
DEVZIP=/tmp/GConf-dev-@VERSION@.zip

cd @prefix@
rm $ZIP

current_minus_age=`expr @GCONF_CURRENT@ - @GCONF_AGE@`

zip $ZIP -@ <<EOF
etc/gconf/2/path
bin/gconftool-2.exe
bin/libgconf-2-$current_minus_age.dll
libexec/gconfd-2.exe
libexec/gconf-sanity-check-2.exe
lib/GConf/2/libgconfbackend-oldxml.dll
lib/GConf/2/libgconfbackend-xml.dll
EOF

if [ -f share/locale/de/LC_MESSAGES/GConf2.mo ]; then
  zip $ZIP share/locale/*/LC_MESSAGES/GConf2.mo
else
  zip $ZIP lib/locale/*/LC_MESSAGES/GConf2.mo
fi

rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
bin/gconf-merge-tree.exe
include/gconf/2
lib/libgconf-2.dll.a
lib/pkgconfig/gconf-2.0.pc
man/man1/gconftool-2.1
share/aclocal/gconf-2.m4
share/sgml/gconf/gconf-1.0.dtd
EOF