/[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 3513 - (show annotations) (download) (as text)
Fri May 24 14:50:04 2019 UTC (22 months, 2 weeks ago) by schoenebeck
File MIME type: application/x-sh
File size: 7634 byte(s)
* Windows: Fixed Qt5Network.dll missing in installer.

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
14 rm -rf $DIST
15 mkdir -p $DIST
16 cd $WIN/bin
17 cp rifftree.exe dlsdump.exe gigdump.exe gigextract.exe gigmerge.exe \
18 gig2mono.exe gig2stereo.exe \
19 korg2gig.exe korgdump.exe akaidump.exe akaiextract.exe \
20 sf2dump.exe sf2extract.exe \
21 linuxsampler.exe \
22 gigedit.exe \
23 liblscp-6.dll qsampler.exe \
24 $DIST
25 cd $MINGW/bin
26 cp libgcc_s_dw2-1.dll libwinpthread-1.dll libstdc++-6.dll \
27 libsndfile-1.dll libsqlite3-0.dll \
28 libFLAC-8.dll libogg-0.dll libvorbis-0.dll libvorbisenc-2.dll \
29 libspeex-1.dll \
30 Qt5Core.dll Qt5Gui.dll Qt5Widgets.dll Qt5Network.dll \
31 libbz2-1.dll libfreetype-6.dll \
32 libglib-2.0-0.dll libgraphite2.dll libharfbuzz-0.dll libiconv-2.dll \
33 libicudt57.dll libicuin57.dll libicuuc57.dll libintl-8.dll \
34 libpcre-1.dll libpcre16-0.dll libpng16-16.dll zlib1.dll \
35 libatk-1.0-0.dll libatkmm-1.6-1.dll libcairo-2.dll libcairo-gobject-2.dll \
36 libcairomm-1.0-1.dll libepoxy-0.dll libexpat-1.dll libffi-6.dll \
37 libfontconfig-1.dll libgdk_pixbuf-2.0-0.dll libgdk-3-0.dll \
38 libgdkmm-3.0-1.dll libgio-2.0-0.dll libgiomm-2.4-1.dll \
39 libglibmm-2.4-1.dll libgmodule-2.0-0.dll libgobject-2.0-0.dll \
40 libgtk-3-0.dll libgtkmm-3.0-1.dll \
41 libpango-1.0-0.dll libpangocairo-1.0-0.dll libpangoft2-1.0-0.dll \
42 libpangomm-1.4-1.dll libpangowin32-1.0-0.dll \
43 libpixman-1-0.dll libsigc-2.0-0.dll \
44 $DIST
45 cd $MINGW/lib/pkgconfig
46 cp sndfile.pc $DIST
47 cd $DIST
48 (cd $MINGW/share/qt5 ; \
49 tar cf - \
50 plugins/platforms/qwindows.dll) | tar xf -
51 cd $WIN/lib/bin
52 cp libgig-8.dll libakai-0.dll libgigedit-4.dll liblinuxsampler-5.dll $DIST
53 cp $WIN/lib/vst/LinuxSampler.dll $DIST
54 mkdir -p $DIST/plugins
55 cp $WIN/lib/linuxsampler/plugins/libgigeditlinuxsamplerplugin.dll \
56 $DIST/plugins
57 cd $DIST
58 (cd $MINGW ; \
59 tar cf - \
60 share/glib-2.0/schemas/gschemas.compiled \
61 share/icons/Adwaita/16x16/actions/application-exit.png \
62 share/icons/Adwaita/16x16/actions/document-new.png \
63 share/icons/Adwaita/16x16/actions/document-open.png \
64 share/icons/Adwaita/16x16/actions/document-open-recent-symbolic.symbolic.png \
65 share/icons/Adwaita/16x16/actions/document-properties.png \
66 share/icons/Adwaita/16x16/actions/document-save-as.png \
67 share/icons/Adwaita/16x16/actions/document-save.png \
68 share/icons/Adwaita/16x16/actions/edit-clear-symbolic.symbolic.png \
69 share/icons/Adwaita/16x16/actions/edit-copy.png \
70 share/icons/Adwaita/16x16/actions/edit-delete.png \
71 share/icons/Adwaita/16x16/actions/edit-find-symbolic.symbolic.png \
72 share/icons/Adwaita/16x16/actions/folder-new-symbolic.symbolic.png \
73 share/icons/Adwaita/16x16/actions/go-down.png \
74 share/icons/Adwaita/16x16/actions/go-up.png \
75 share/icons/Adwaita/16x16/actions/help-about.png \
76 share/icons/Adwaita/16x16/actions/list-add.png \
77 share/icons/Adwaita/16x16/actions/list-add-symbolic.symbolic.png \
78 share/icons/Adwaita/16x16/actions/list-remove.png \
79 share/icons/Adwaita/16x16/actions/list-remove-symbolic.symbolic.png \
80 share/icons/Adwaita/16x16/actions/media-eject-symbolic.symbolic.png \
81 share/icons/Adwaita/16x16/actions/pan-down-symbolic.symbolic.png \
82 share/icons/Adwaita/16x16/actions/pan-end-symbolic.symbolic.png \
83 share/icons/Adwaita/16x16/actions/pan-start-symbolic.symbolic.png \
84 share/icons/Adwaita/16x16/actions/pan-up-symbolic.symbolic.png \
85 share/icons/Adwaita/16x16/actions/system-run.png \
86 share/icons/Adwaita/16x16/actions/window-close.png \
87 share/icons/Adwaita/16x16/actions/window-close-symbolic.symbolic.png \
88 share/icons/Adwaita/16x16/actions/window-maximize-symbolic.symbolic.png \
89 share/icons/Adwaita/16x16/actions/window-minimize-symbolic.symbolic.png \
90 share/icons/Adwaita/16x16/actions/window-restore-symbolic.symbolic.png \
91 share/icons/Adwaita/16x16/devices/drive-harddisk-symbolic.symbolic.png \
92 share/icons/Adwaita/16x16/devices/drive-optical-symbolic.symbolic.png \
93 share/icons/Adwaita/16x16/emblems/emblem-default.png \
94 share/icons/Adwaita/16x16/mimetypes/text-x-generic.png \
95 share/icons/Adwaita/16x16/places \
96 share/icons/Adwaita/16x16/status/dialog-error.png \
97 share/icons/Adwaita/16x16/status/dialog-warning-symbolic.symbolic.png \
98 share/icons/Adwaita/32x32/devices/drive-harddisk.png \
99 share/icons/Adwaita/48x48/status/dialog-warning.png \
100 share/icons/Adwaita/96x96/actions/edit-find-symbolic.symbolic.png \
101 share/icons/Adwaita/icon-theme.cache \
102 share/icons/Adwaita/index.theme \
103 share/locale/{de,sv}/LC_MESSAGES/gtk30.mo) | tar xf -
104 (cd $WIN ; tar cf - \
105 share/locale/{de,sv}/LC_MESSAGES/gigedit.mo) | tar xf -
106 cd $MINGW/share/qt5/translations
107 cp qt{,base,script,quick1,multimedia,xmlpatterns}_{cs,ru}.qm $DIST/share/locale
108 cd $WIN/share/locale
109 cp qsampler_{cs,ru}.qm $DIST/share/locale
110 cd $WIN/share
111 cp qsampler.version gigedit.version $DIST
112 cd $WIN/lib/pkgconfig
113 cp gig.pc linuxsampler.pc $DIST
114
115 # win32sse --------------------------------------------------------
116
117 DIST=$BIN/686sse
118 WIN=/home/persson/win32sse
119
120 rm -rf $DIST
121 mkdir -p $DIST
122 cd $WIN/bin
123 cp 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 linuxsampler.exe \
127 $DIST
128 cd $WIN/lib/bin
129 cp libgig-8.dll libakai-0.dll liblinuxsampler-5.dll $DIST
130 cp $WIN/lib/vst/LinuxSampler.dll $DIST
131
132
133 # win64 -----------------------------------------------------------
134
135 DIST=$BIN/64
136 WIN=/home/persson/win64
137 MINGW=/home/persson/msys2/mingw64
138
139 rm -rf $DIST
140 mkdir -p $DIST
141 cd $WIN/bin
142 cp rifftree.exe dlsdump.exe gigdump.exe gigextract.exe gigmerge.exe \
143 gig2mono.exe gig2stereo.exe \
144 korg2gig.exe korgdump.exe akaidump.exe akaiextract.exe \
145 sf2dump.exe sf2extract.exe \
146 linuxsampler.exe gigedit.exe \
147 $DIST
148 cd $MINGW/bin
149 cp libgcc_s_seh-1.dll libwinpthread-1.dll libstdc++-6.dll \
150 libsndfile-1.dll libsqlite3-0.dll \
151 libFLAC-8.dll libogg-0.dll libvorbis-0.dll libvorbisenc-2.dll \
152 libspeex-1.dll \
153 libbz2-1.dll libfreetype-6.dll \
154 libglib-2.0-0.dll libgraphite2.dll libharfbuzz-0.dll libiconv-2.dll \
155 libintl-8.dll \
156 libpcre-1.dll libpng16-16.dll zlib1.dll \
157 libatk-1.0-0.dll libatkmm-1.6-1.dll libcairo-2.dll libcairo-gobject-2.dll \
158 libcairomm-1.0-1.dll libepoxy-0.dll libexpat-1.dll libffi-6.dll \
159 libfontconfig-1.dll libgdk_pixbuf-2.0-0.dll libgdk-3-0.dll \
160 libgdkmm-3.0-1.dll libgio-2.0-0.dll libgiomm-2.4-1.dll \
161 libglibmm-2.4-1.dll libgmodule-2.0-0.dll libgobject-2.0-0.dll \
162 libgtk-3-0.dll libgtkmm-3.0-1.dll \
163 libpango-1.0-0.dll libpangocairo-1.0-0.dll libpangoft2-1.0-0.dll \
164 libpangomm-1.4-1.dll libpangowin32-1.0-0.dll \
165 libpixman-1-0.dll libsigc-2.0-0.dll \
166 $DIST
167 cd $WIN/lib/bin
168 cp libgig-8.dll libakai-0.dll libgigedit-4.dll liblinuxsampler-5.dll $DIST
169 cp $WIN/lib/vst/LinuxSampler.dll $DIST
170 mkdir -p $DIST/plugins
171 cp $WIN/lib/linuxsampler/plugins/libgigeditlinuxsamplerplugin.dll \
172 $DIST/plugins
173 cd $DIST
174 (cd $WIN ; tar cf - \
175 share/locale/{de,sv}/LC_MESSAGES/gigedit.mo) | tar xf -
176 cd $DIST
177
178
179 # Fantasia --------------------------------------------------------
180
181 cp /home/persson/share/java/Fantasia-0.9.jar $BIN

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC