/[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 3011 - (show annotations) (download) (as text)
Wed Oct 12 05:19:04 2016 UTC (5 years, 8 months ago) by persson
File MIME type: application/x-sh
File size: 5338 byte(s)
* Use Qt5 for qsampler
1 #!/bin/sh -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 $DIST
34 cd $MINGW/lib/pkgconfig
35 cp sndfile.pc $DIST
36 cd $DIST
37 (cd $MINGW/share/qt5 ; \
38 tar cf - \
39 plugins/platforms/qwindows.dll) | tar xf -
40 cd $WIN/gtkmm/redist
41 cp libatk-1.0-0.dll libatkmm-1.6-1.dll libcairo-2.dll \
42 libcairomm-1.0-1.dll libgdkmm-2.4-1.dll \
43 libgdk_pixbuf-2.0-0.dll libgdk-win32-2.0-0.dll \
44 libgio-2.0-0.dll libgiomm-2.4-1.dll \
45 libglibmm-2.4-1.dll libgmodule-2.0-0.dll \
46 libgobject-2.0-0.dll libgthread-2.0-0.dll \
47 libgtkmm-2.4-1.dll libgtk-win32-2.0-0.dll \
48 intl.dll jpeg62.dll libpango-1.0-0.dll \
49 libpangocairo-1.0-0.dll libpangomm-1.4-1.dll \
50 libpangowin32-1.0-0.dll libpng12-0.dll libsigc-2.0-0.dll \
51 libtiff3.dll \
52 $DIST
53 cd $WIN/lib/bin
54 cp libgig-7.dll libakai-0.dll libgigedit-3.dll liblinuxsampler-4.dll $DIST
55 cp $WIN/lib/vst/LinuxSampler.dll $DIST
56 mkdir -p $DIST/plugins
57 cp $WIN/lib/linuxsampler/plugins/libgigeditlinuxsamplerplugin.dll \
58 $DIST/plugins
59 cd $DIST
60 (cd $WIN/gtkmm ; tar cf - \
61 etc/gtk-2.0/gtkrc \
62 etc/gtk-2.0/gdk-pixbuf.loaders \
63 lib/gtk-2.0/2.10.0/engines/libwimp.dll \
64 lib/gtk-2.0/2.10.0/loaders \
65 share/themes/MS-Windows \
66 share/locale/de/LC_MESSAGES/gtk20.mo \
67 share/locale/sv/LC_MESSAGES/gtk20.mo) | tar xf -
68 (cd $WIN ; tar cf - \
69 share/locale/de/LC_MESSAGES/gigedit.mo \
70 share/locale/sv/LC_MESSAGES/gigedit.mo) | tar xf -
71 cd $WIN/qt/bin
72 cp QtCore4.dll QtGui4.dll mingwm10.dll $DIST
73 cd $WIN/qt/translations
74 cp qt_ru.qm qt_cs.qm $DIST/share/locale
75 cd $WIN/share/locale
76 cp qsampler_ru.qm qsampler_cs.qm $DIST/share/locale
77 cd $WIN/share
78 cp qsampler.version gigedit.version $DIST
79 cd $WIN/lib/pkgconfig
80 cp gig.pc linuxsampler.pc $DIST
81
82 # win32sse --------------------------------------------------------
83
84 DIST=$BIN/686sse
85 WIN=/home/persson/win32sse
86
87 rm -rf $DIST
88 mkdir -p $DIST
89 cd $WIN/bin
90 cp rifftree.exe dlsdump.exe gigdump.exe gigextract.exe gigmerge.exe \
91 gig2mono.exe gig2stereo.exe \
92 korg2gig.exe korgdump.exe akaidump.exe akaiextract.exe \
93 sf2dump.exe sf2extract.exe linuxsampler.exe \
94 $DIST
95 cd $WIN/lib/bin
96 cp libgig-7.dll libakai-0.dll liblinuxsampler-4.dll $DIST
97 cp $WIN/lib/vst/LinuxSampler.dll $DIST
98
99
100 # win64 -----------------------------------------------------------
101
102 DIST=$BIN/64
103 WIN=/home/persson/win64
104
105 rm -rf $DIST
106 mkdir -p $DIST
107 cd $WIN/bin
108 cp libsndfile-1.dll libsqlite3-0.dll \
109 libFLAC-8.dll libogg-0.dll libvorbis-0.dll libvorbisenc-2.dll \
110 rifftree.exe dlsdump.exe gigdump.exe gigextract.exe gigmerge.exe \
111 gig2mono.exe gig2stereo.exe \
112 korg2gig.exe korgdump.exe akaidump.exe akaiextract.exe \
113 sf2dump.exe sf2extract.exe \
114 linuxsampler.exe gigedit.exe \
115 $DIST
116 cd $WIN/gtkmm/bin
117 cp libatk-1.0-0.dll libatkmm-1.6-1.dll libcairo-2.dll \
118 libcairomm-1.0-1.dll libgdkmm-2.4-1.dll \
119 libgdk_pixbuf-2.0-0.dll libgdk-win32-2.0-0.dll \
120 libgio-2.0-0.dll libgiomm-2.4-1.dll libglib-2.0-0.dll \
121 libglibmm-2.4-1.dll libgmodule-2.0-0.dll \
122 libgobject-2.0-0.dll libgthread-2.0-0.dll \
123 libgtkmm-2.4-1.dll libgtk-win32-2.0-0.dll \
124 libintl-8.dll libpango-1.0-0.dll libfontconfig-1.dll \
125 libpangocairo-1.0-0.dll libpangomm-1.4-1.dll \
126 libpangowin32-1.0-0.dll libpng14-14.dll libsigc-2.0-0.dll \
127 zlib1.dll libexpat-1.dll libfreetype-6.dll \
128 libpangoft2-1.0-0.dll \
129 $DIST
130 cd ../../..
131 mkdir -p $DIST/etc/gtk-2.0
132 echo "gtk-theme-name = \"MS-Windows\"" > $DIST/etc/gtk-2.0/gtkrc
133 cd mingw64/x86_64-w64-mingw32/lib
134 cp libgcc_s_sjlj-1.dll libstdc++-6.dll $DIST
135 cd $WIN/lib/bin
136 cp libgig-7.dll libakai-0.dll libgigedit-3.dll liblinuxsampler-4.dll $DIST
137 cp $WIN/lib/vst/LinuxSampler.dll $DIST
138 mkdir -p $DIST/plugins
139 cp $WIN/lib/linuxsampler/plugins/libgigeditlinuxsamplerplugin.dll \
140 $DIST/plugins
141 cd $DIST
142 (cd $WIN/gtkmm ; tar cf - \
143 lib/gtk-2.0/2.10.0/engines/libwimp.dll \
144 share/themes/MS-Windows \
145 share/locale/de/LC_MESSAGES/gtk20.mo \
146 share/locale/sv/LC_MESSAGES/gtk20.mo) | tar xf -
147 (cd $WIN ; tar cf - \
148 share/locale/de/LC_MESSAGES/gigedit.mo \
149 share/locale/sv/LC_MESSAGES/gigedit.mo) | tar xf -
150 cd $DIST
151
152
153 # Fantasia --------------------------------------------------------
154
155 cp /home/persson/share/java/Fantasia-0.9.jar $BIN

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC