aboutsummaryrefslogtreecommitdiffstats
path: root/evolution-zip.in
blob: 7ab07f70c1b0a392ce359cb9c30743f8a2b946aa (plain) (blame)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
#!/bin/sh

# Build Win32 zipfile distribution of Evolution. Separate runtime and
# developer zipfiles. End-users will install Evolution using an
# executable installer combining all necessary pieces, of course, not
# unzipping each module separately.

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

cd @prefix@
rm $ZIP
zip -r $ZIP -@ <<EOF
bin/libeutil-0.dll
bin/libeconduit-0.dll
bin/libevolution-a11y-0.dll
bin/libevolution-calendar-a11y-0.dll
bin/libevolution-widgets-a11y-0.dll
bin/libevolution-addressbook-a11y-0.dll
bin/libetimezonedialog-0.dll
bin/libetable-0.dll
bin/libetext-0.dll
bin/libemiscwidgets-0.dll
bin/libefilterbar-0.dll
bin/libmenus-0.dll
bin/libeshell-0.dll
bin/libfilter-0.dll
bin/libessmime-0.dll
bin/libevolution-smime-0.dll
bin/libeabutil-0.dll
bin/libevolution-addressbook-importers-0.dll
bin/libecontacteditor-0.dll
bin/libecontactlisteditor-0.dll
bin/libevolution-calendar-importers-0.dll
bin/libevolution-mail-importers-0.dll
bin/evolution.exe
lib/bonobo/servers/GNOME_Evolution_Shell.server
lib/bonobo/servers/GNOME_Evolution_Addressbook.server
lib/bonobo/servers/GNOME_Evolution_Calendar_AlarmNotify.server
lib/bonobo/servers/GNOME_Evolution_Calendar.server
lib/bonobo/servers/GNOME_Evolution_Mail.server
lib/evolution/@BASE_VERSION@/components/libevolution-addressbook.dll
lib/evolution/@BASE_VERSION@/components/libevolution-calendar.dll
lib/evolution/@BASE_VERSION@/components/libevolution-mail.dll
libexec/evolution/@BASE_VERSION@/evolution-addressbook-export.exe
libexec/evolution/@BASE_VERSION@/evolution-alarm-notify.exe
share/mime-info/evolution.keys
share/mime-info/evolution.mime
share/evolution/@BASE_VERSION@/errors
share/evolution/@BASE_VERSION@/glade
share/evolution/@BASE_VERSION@/ecps
share/evolution/@BASE_VERSION@/etspec
share/evolution/@BASE_VERSION@/addresstypes.xml
share/evolution/@BASE_VERSION@/filtertypes.xml
share/evolution/@BASE_VERSION@/vfoldertypes.xml
share/evolution/@BASE_VERSION@/searchtypes.xml
share/evolution/@BASE_VERSION@/default
share/evolution/@BASE_VERSION@/weather
share/evolution/@BASE_VERSION@/ui
share/evolution/@BASE_VERSION@/views
etc/gconf
EOF

zip -r $ZIP share/evolution/@BASE_VERSION@/images
zip $ZIP lib/evolution/@BASE_VERSION@/plugins/*.eplug lib/evolution/@BASE_VERSION@/plugins/*.dll lib/evolution/@BASE_VERSION@/plugins/*.xml lib/evolution/@BASE_VERSION@/plugins/*.glade

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

rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
lib/libeutil.dll.a
lib/libeconduit.dll.a
lib/libevolution-a11y.dll.a
lib/libevolution-calendar-a11y.dll.a
lib/libevolution-widgets-a11y.dll.a
lib/libevolution-addressbook-a11y.dll.a
lib/libetimezonedialog.dll.a
lib/libetable.dll.a
lib/libetext.dll.a
lib/libemiscwidgets.dll.a
lib/libefilterbar.dll.a
lib/libmenus.dll.a
lib/libeshell.dll.a
lib/libfilter.dll.a
lib/libessmime.dll.a
lib/libevolution-smime.dll.a
lib/libeabutil.dll.a
lib/libevolution-addressbook-importers.dll.a
lib/libecontacteditor.dll.a
lib/libecontactlisteditor.dll.a
lib/libevolution-calendar-importers.dll.a
lib/libevolution-mail-importers.dll.a
lib/pkgconfig/evolution-shell.pc
lib/pkgconfig/evolution-plugin.pc
include/evolution-@BASE_VERSION@/e-conduit
include/evolution-@BASE_VERSION@/e-util
include/evolution-@BASE_VERSION@/table
include/evolution-@BASE_VERSION@/text
include/evolution-@BASE_VERSION@/misc
include/evolution-@BASE_VERSION@/menus
include/evolution-@BASE_VERSION@/shell
include/evolution-@BASE_VERSION@/addressbook
include/evolution-@BASE_VERSION@/calendar
include/evolution-@BASE_VERSION@/mail
share/idl/evolution-@BASE_VERSION@/Evolution-ConfigControl.idl
share/idl/evolution-@BASE_VERSION@/Evolution-Component.idl
share/idl/evolution-@BASE_VERSION@/Evolution-Shell.idl
share/idl/evolution-@BASE_VERSION@/Evolution.idl
share/idl/evolution-@BASE_VERSION@/evolution-calendar.idl
share/idl/evolution-@BASE_VERSION@/Evolution-Composer.idl
share/idl/evolution-@BASE_VERSION@/Evolution-Mail.idl
EOF