/[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 3030 - (show annotations) (download) (as text)
Wed Oct 26 18:33:41 2016 UTC (4 years, 6 months ago) by persson
File MIME type: application/x-sh
File size: 7017 byte(s)
* added icons for gigedit script editor
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/devices/drive-optical-symbolic.symbolic.png \
77 share/icons/Adwaita/16x16/emblems/emblem-default.png \
78 share/icons/Adwaita/16x16/mimetypes/text-x-generic.png \
79 share/icons/Adwaita/16x16/places \
80 share/icons/Adwaita/16x16/status/dialog-error.png \
81 share/icons/Adwaita/16x16/status/dialog-warning-symbolic.symbolic.png \
82 share/icons/Adwaita/32x32/devices/drive-harddisk.png \
83 share/icons/Adwaita/48x48/status/dialog-warning.png \
84 share/icons/Adwaita/96x96/actions/edit-find-symbolic.symbolic.png \
85 share/icons/Adwaita/icon-theme.cache \
86 share/icons/Adwaita/index.theme \
87 share/locale/{de,sv}/LC_MESSAGES/gtk30.mo) | tar xf -
88 (cd $WIN ; tar cf - \
89 share/locale/{de,sv}/LC_MESSAGES/gigedit.mo) | tar xf -
90 cd $MINGW/share/qt5/translations
91 cp qt{,base,script,quick1,multimedia,xmlpatterns}_{cs,ru}.qm $DIST/share/locale
92 cd $WIN/share/locale
93 cp qsampler_{cs,ru}.qm $DIST/share/locale
94 cd $WIN/share
95 cp qsampler.version gigedit.version $DIST
96 cd $WIN/lib/pkgconfig
97 cp gig.pc linuxsampler.pc $DIST
98
99 # win32sse --------------------------------------------------------
100
101 DIST=$BIN/686sse
102 WIN=/home/persson/win32sse
103
104 rm -rf $DIST
105 mkdir -p $DIST
106 cd $WIN/bin
107 cp rifftree.exe dlsdump.exe gigdump.exe gigextract.exe gigmerge.exe \
108 gig2mono.exe gig2stereo.exe \
109 korg2gig.exe korgdump.exe akaidump.exe akaiextract.exe \
110 sf2dump.exe sf2extract.exe linuxsampler.exe \
111 $DIST
112 cd $WIN/lib/bin
113 cp libgig-7.dll libakai-0.dll liblinuxsampler-4.dll $DIST
114 cp $WIN/lib/vst/LinuxSampler.dll $DIST
115
116
117 # win64 -----------------------------------------------------------
118
119 DIST=$BIN/64
120 WIN=/home/persson/win64
121
122 rm -rf $DIST
123 mkdir -p $DIST
124 cd $WIN/bin
125 cp libsndfile-1.dll libsqlite3-0.dll \
126 libFLAC-8.dll libogg-0.dll libvorbis-0.dll libvorbisenc-2.dll \
127 rifftree.exe dlsdump.exe gigdump.exe gigextract.exe gigmerge.exe \
128 gig2mono.exe gig2stereo.exe \
129 korg2gig.exe korgdump.exe akaidump.exe akaiextract.exe \
130 sf2dump.exe sf2extract.exe \
131 linuxsampler.exe gigedit.exe \
132 $DIST
133 cd $WIN/gtkmm/bin
134 cp libatk-1.0-0.dll libatkmm-1.6-1.dll libcairo-2.dll \
135 libcairomm-1.0-1.dll libgdkmm-2.4-1.dll \
136 libgdk_pixbuf-2.0-0.dll libgdk-win32-2.0-0.dll \
137 libgio-2.0-0.dll libgiomm-2.4-1.dll libglib-2.0-0.dll \
138 libglibmm-2.4-1.dll libgmodule-2.0-0.dll \
139 libgobject-2.0-0.dll libgthread-2.0-0.dll \
140 libgtkmm-2.4-1.dll libgtk-win32-2.0-0.dll \
141 libintl-8.dll libpango-1.0-0.dll libfontconfig-1.dll \
142 libpangocairo-1.0-0.dll libpangomm-1.4-1.dll \
143 libpangowin32-1.0-0.dll libpng14-14.dll libsigc-2.0-0.dll \
144 zlib1.dll libexpat-1.dll libfreetype-6.dll \
145 libpangoft2-1.0-0.dll \
146 $DIST
147 cd ../../..
148 mkdir -p $DIST/etc/gtk-2.0
149 echo "gtk-theme-name = \"MS-Windows\"" > $DIST/etc/gtk-2.0/gtkrc
150 cd mingw64/x86_64-w64-mingw32/lib
151 cp libgcc_s_sjlj-1.dll libstdc++-6.dll $DIST
152 cd $WIN/lib/bin
153 cp libgig-7.dll libakai-0.dll libgigedit-3.dll liblinuxsampler-4.dll $DIST
154 cp $WIN/lib/vst/LinuxSampler.dll $DIST
155 mkdir -p $DIST/plugins
156 cp $WIN/lib/linuxsampler/plugins/libgigeditlinuxsamplerplugin.dll \
157 $DIST/plugins
158 cd $DIST
159 (cd $WIN/gtkmm ; tar cf - \
160 lib/gtk-2.0/2.10.0/engines/libwimp.dll \
161 share/themes/MS-Windows \
162 share/locale/de/LC_MESSAGES/gtk20.mo \
163 share/locale/sv/LC_MESSAGES/gtk20.mo) | tar xf -
164 (cd $WIN ; tar cf - \
165 share/locale/de/LC_MESSAGES/gigedit.mo \
166 share/locale/sv/LC_MESSAGES/gigedit.mo) | tar xf -
167 cd $DIST
168
169
170 # Fantasia --------------------------------------------------------
171
172 cp /home/persson/share/java/Fantasia-0.9.jar $BIN

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC