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

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC