/[svn]/misc/trunk/win32_installer/copy-files-to-bin.sh
ViewVC logotype

Contents of /misc/trunk/win32_installer/copy-files-to-bin.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3023 - (show annotations) (download) (as text)
Sun Oct 23 16:43:53 2016 UTC (3 years, 9 months ago) by persson
File MIME type: application/x-sh
File size: 6746 byte(s)
* Use GTK+ 3 for gigedit on 32-bit windows
1 #!/bin/bash -ex
2
3 # This script is primarily made for the linuxsampler build server. It
4 # copies all files to be included in the installer from the
5 # installation directories on the build server to the bin directory.
6
7 # win32 -----------------------------------------------------------
8
9 BIN=`pwd`/bin
10 DIST=$BIN/686
11 WIN=/home/persson/win32
12 MINGW=/home/persson/msys2/mingw32
13 rm -rf $DIST
14 mkdir -p $DIST
15 cd $WIN/bin
16 cp rifftree.exe dlsdump.exe gigdump.exe gigextract.exe gigmerge.exe \
17 gig2mono.exe gig2stereo.exe \
18 korg2gig.exe korgdump.exe akaidump.exe akaiextract.exe \
19 sf2dump.exe sf2extract.exe \
20 linuxsampler.exe \
21 gigedit.exe \
22 liblscp-6.dll qsampler.exe \
23 $DIST
24 cd $MINGW/bin
25 cp libgcc_s_dw2-1.dll libwinpthread-1.dll libstdc++-6.dll \
26 libsndfile-1.dll libsqlite3-0.dll \
27 libFLAC-8.dll libogg-0.dll libvorbis-0.dll libvorbisenc-2.dll \
28 libspeex-1.dll \
29 Qt5Core.dll Qt5Gui.dll Qt5Widgets.dll libbz2-1.dll libfreetype-6.dll \
30 libglib-2.0-0.dll libgraphite2.dll libharfbuzz-0.dll libiconv-2.dll \
31 libicudt57.dll libicuin57.dll libicuuc57.dll libintl-8.dll \
32 libpcre-1.dll libpcre16-0.dll libpng16-16.dll zlib1.dll \
33 libatk-1.0-0.dll libatkmm-1.6-1.dll libcairo-2.dll libcairo-gobject-2.dll \
34 libcairomm-1.0-1.dll libepoxy-0.dll libexpat-1.dll libffi-6.dll \
35 libfontconfig-1.dll libgdk_pixbuf-2.0-0.dll libgdk-3-0.dll \
36 libgdkmm-3.0-1.dll libgio-2.0-0.dll libgiomm-2.4-1.dll \
37 libglibmm-2.4-1.dll libgmodule-2.0-0.dll libgobject-2.0-0.dll \
38 libgtk-3-0.dll libgtkmm-3.0-1.dll \
39 libpango-1.0-0.dll libpangocairo-1.0-0.dll libpangoft2-1.0-0.dll \
40 libpangomm-1.4-1.dll libpangowin32-1.0-0.dll \
41 libpixman-1-0.dll libsigc-2.0-0.dll \
42 $DIST
43 cd $MINGW/lib/pkgconfig
44 cp sndfile.pc $DIST
45 cd $DIST
46 (cd $MINGW/share/qt5 ; \
47 tar cf - \
48 plugins/platforms/qwindows.dll) | tar xf -
49 cd $WIN/lib/bin
50 cp libgig-7.dll libakai-0.dll libgigedit-3.dll liblinuxsampler-4.dll $DIST
51 cp $WIN/lib/vst/LinuxSampler.dll $DIST
52 mkdir -p $DIST/plugins
53 cp $WIN/lib/linuxsampler/plugins/libgigeditlinuxsamplerplugin.dll \
54 $DIST/plugins
55 cd $DIST
56 (cd $MINGW ; \
57 tar cf - \
58 share/glib-2.0/schemas/gschemas.compiled \
59 share/icons/Adwaita/16x16/actions/document-open-recent-symbolic.symbolic.png \
60 share/icons/Adwaita/16x16/actions/edit-clear-symbolic.symbolic.png \
61 share/icons/Adwaita/16x16/actions/edit-find-symbolic.symbolic.png \
62 share/icons/Adwaita/16x16/actions/folder-new-symbolic.symbolic.png \
63 share/icons/Adwaita/16x16/actions/list-add-symbolic.symbolic.png \
64 share/icons/Adwaita/16x16/actions/list-remove-symbolic.symbolic.png \
65 share/icons/Adwaita/16x16/actions/media-eject-symbolic.symbolic.png \
66 share/icons/Adwaita/16x16/actions/pan-down-symbolic.symbolic.png \
67 share/icons/Adwaita/16x16/actions/pan-end-symbolic.symbolic.png \
68 share/icons/Adwaita/16x16/actions/pan-start-symbolic.symbolic.png \
69 share/icons/Adwaita/16x16/actions/pan-up-symbolic.symbolic.png \
70 share/icons/Adwaita/16x16/actions/system-run.png \
71 share/icons/Adwaita/16x16/actions/window-close-symbolic.symbolic.png \
72 share/icons/Adwaita/16x16/actions/window-maximize-symbolic.symbolic.png \
73 share/icons/Adwaita/16x16/actions/window-minimize-symbolic.symbolic.png \
74 share/icons/Adwaita/16x16/actions/window-restore-symbolic.symbolic.png \
75 share/icons/Adwaita/16x16/devices/drive-harddisk-symbolic.symbolic.png \
76 share/icons/Adwaita/16x16/mimetypes/text-x-generic.png \
77 share/icons/Adwaita/16x16/places \
78 share/icons/Adwaita/32x32/devices/drive-harddisk.png \
79 share/icons/Adwaita/48x48/status/dialog-warning.png \
80 share/icons/Adwaita/96x96/actions/edit-find-symbolic.symbolic.png \
81 share/icons/Adwaita/icon-theme.cache \
82 share/icons/Adwaita/index.theme \
83 share/locale/{de,sv}/LC_MESSAGES/gtk30.mo) | tar xf -
84 (cd $WIN ; tar cf - \
85 share/locale/{de,sv}/LC_MESSAGES/gigedit.mo) | tar xf -
86 cd $MINGW/share/qt5/translations
87 cp qt{,base,script,quick1,multimedia,xmlpatterns}_{cs,ru}.qm $DIST/share/locale
88 cd $WIN/share/locale
89 cp qsampler_{cs,ru}.qm $DIST/share/locale
90 cd $WIN/share
91 cp qsampler.version gigedit.version $DIST
92 cd $WIN/lib/pkgconfig
93 cp gig.pc linuxsampler.pc $DIST
94
95 # win32sse --------------------------------------------------------
96
97 DIST=$BIN/686sse
98 WIN=/home/persson/win32sse
99
100 rm -rf $DIST
101 mkdir -p $DIST
102 cd $WIN/bin
103 cp rifftree.exe dlsdump.exe gigdump.exe gigextract.exe gigmerge.exe \
104 gig2mono.exe gig2stereo.exe \
105 korg2gig.exe korgdump.exe akaidump.exe akaiextract.exe \
106 sf2dump.exe sf2extract.exe linuxsampler.exe \
107 $DIST
108 cd $WIN/lib/bin
109 cp libgig-7.dll libakai-0.dll liblinuxsampler-4.dll $DIST
110 cp $WIN/lib/vst/LinuxSampler.dll $DIST
111
112
113 # win64 -----------------------------------------------------------
114
115 DIST=$BIN/64
116 WIN=/home/persson/win64
117
118 rm -rf $DIST
119 mkdir -p $DIST
120 cd $WIN/bin
121 cp libsndfile-1.dll libsqlite3-0.dll \
122 libFLAC-8.dll libogg-0.dll libvorbis-0.dll libvorbisenc-2.dll \
123 rifftree.exe dlsdump.exe gigdump.exe gigextract.exe gigmerge.exe \
124 gig2mono.exe gig2stereo.exe \
125 korg2gig.exe korgdump.exe akaidump.exe akaiextract.exe \
126 sf2dump.exe sf2extract.exe \
127 linuxsampler.exe gigedit.exe \
128 $DIST
129 cd $WIN/gtkmm/bin
130 cp libatk-1.0-0.dll libatkmm-1.6-1.dll libcairo-2.dll \
131 libcairomm-1.0-1.dll libgdkmm-2.4-1.dll \
132 libgdk_pixbuf-2.0-0.dll libgdk-win32-2.0-0.dll \
133 libgio-2.0-0.dll libgiomm-2.4-1.dll libglib-2.0-0.dll \
134 libglibmm-2.4-1.dll libgmodule-2.0-0.dll \
135 libgobject-2.0-0.dll libgthread-2.0-0.dll \
136 libgtkmm-2.4-1.dll libgtk-win32-2.0-0.dll \
137 libintl-8.dll libpango-1.0-0.dll libfontconfig-1.dll \
138 libpangocairo-1.0-0.dll libpangomm-1.4-1.dll \
139 libpangowin32-1.0-0.dll libpng14-14.dll libsigc-2.0-0.dll \
140 zlib1.dll libexpat-1.dll libfreetype-6.dll \
141 libpangoft2-1.0-0.dll \
142 $DIST
143 cd ../../..
144 mkdir -p $DIST/etc/gtk-2.0
145 echo "gtk-theme-name = \"MS-Windows\"" > $DIST/etc/gtk-2.0/gtkrc
146 cd mingw64/x86_64-w64-mingw32/lib
147 cp libgcc_s_sjlj-1.dll libstdc++-6.dll $DIST
148 cd $WIN/lib/bin
149 cp libgig-7.dll libakai-0.dll libgigedit-3.dll liblinuxsampler-4.dll $DIST
150 cp $WIN/lib/vst/LinuxSampler.dll $DIST
151 mkdir -p $DIST/plugins
152 cp $WIN/lib/linuxsampler/plugins/libgigeditlinuxsamplerplugin.dll \
153 $DIST/plugins
154 cd $DIST
155 (cd $WIN/gtkmm ; tar cf - \
156 lib/gtk-2.0/2.10.0/engines/libwimp.dll \
157 share/themes/MS-Windows \
158 share/locale/de/LC_MESSAGES/gtk20.mo \
159 share/locale/sv/LC_MESSAGES/gtk20.mo) | tar xf -
160 (cd $WIN ; tar cf - \
161 share/locale/de/LC_MESSAGES/gigedit.mo \
162 share/locale/sv/LC_MESSAGES/gigedit.mo) | tar xf -
163 cd $DIST
164
165
166 # Fantasia --------------------------------------------------------
167
168 cp /home/persson/share/java/Fantasia-0.9.jar $BIN

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC