/[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 3022 - (show annotations) (download) (as text)
Sun Oct 23 10:25:33 2016 UTC (3 years, 9 months ago) by persson
File MIME type: application/x-sh
File size: 5319 byte(s)
* Include Qt5 translation files
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 $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 $MINGW/share/qt5/translations
72 cp qt{,base,script,quick1,multimedia,xmlpatterns}_{cs,ru}.qm $DIST/share/locale
73 cd $WIN/share/locale
74 cp qsampler_{cs,ru}.qm $DIST/share/locale
75 cd $WIN/share
76 cp qsampler.version gigedit.version $DIST
77 cd $WIN/lib/pkgconfig
78 cp gig.pc linuxsampler.pc $DIST
79
80 # win32sse --------------------------------------------------------
81
82 DIST=$BIN/686sse
83 WIN=/home/persson/win32sse
84
85 rm -rf $DIST
86 mkdir -p $DIST
87 cd $WIN/bin
88 cp rifftree.exe dlsdump.exe gigdump.exe gigextract.exe gigmerge.exe \
89 gig2mono.exe gig2stereo.exe \
90 korg2gig.exe korgdump.exe akaidump.exe akaiextract.exe \
91 sf2dump.exe sf2extract.exe linuxsampler.exe \
92 $DIST
93 cd $WIN/lib/bin
94 cp libgig-7.dll libakai-0.dll liblinuxsampler-4.dll $DIST
95 cp $WIN/lib/vst/LinuxSampler.dll $DIST
96
97
98 # win64 -----------------------------------------------------------
99
100 DIST=$BIN/64
101 WIN=/home/persson/win64
102
103 rm -rf $DIST
104 mkdir -p $DIST
105 cd $WIN/bin
106 cp libsndfile-1.dll libsqlite3-0.dll \
107 libFLAC-8.dll libogg-0.dll libvorbis-0.dll libvorbisenc-2.dll \
108 rifftree.exe dlsdump.exe gigdump.exe gigextract.exe gigmerge.exe \
109 gig2mono.exe gig2stereo.exe \
110 korg2gig.exe korgdump.exe akaidump.exe akaiextract.exe \
111 sf2dump.exe sf2extract.exe \
112 linuxsampler.exe gigedit.exe \
113 $DIST
114 cd $WIN/gtkmm/bin
115 cp libatk-1.0-0.dll libatkmm-1.6-1.dll libcairo-2.dll \
116 libcairomm-1.0-1.dll libgdkmm-2.4-1.dll \
117 libgdk_pixbuf-2.0-0.dll libgdk-win32-2.0-0.dll \
118 libgio-2.0-0.dll libgiomm-2.4-1.dll libglib-2.0-0.dll \
119 libglibmm-2.4-1.dll libgmodule-2.0-0.dll \
120 libgobject-2.0-0.dll libgthread-2.0-0.dll \
121 libgtkmm-2.4-1.dll libgtk-win32-2.0-0.dll \
122 libintl-8.dll libpango-1.0-0.dll libfontconfig-1.dll \
123 libpangocairo-1.0-0.dll libpangomm-1.4-1.dll \
124 libpangowin32-1.0-0.dll libpng14-14.dll libsigc-2.0-0.dll \
125 zlib1.dll libexpat-1.dll libfreetype-6.dll \
126 libpangoft2-1.0-0.dll \
127 $DIST
128 cd ../../..
129 mkdir -p $DIST/etc/gtk-2.0
130 echo "gtk-theme-name = \"MS-Windows\"" > $DIST/etc/gtk-2.0/gtkrc
131 cd mingw64/x86_64-w64-mingw32/lib
132 cp libgcc_s_sjlj-1.dll libstdc++-6.dll $DIST
133 cd $WIN/lib/bin
134 cp libgig-7.dll libakai-0.dll libgigedit-3.dll liblinuxsampler-4.dll $DIST
135 cp $WIN/lib/vst/LinuxSampler.dll $DIST
136 mkdir -p $DIST/plugins
137 cp $WIN/lib/linuxsampler/plugins/libgigeditlinuxsamplerplugin.dll \
138 $DIST/plugins
139 cd $DIST
140 (cd $WIN/gtkmm ; tar cf - \
141 lib/gtk-2.0/2.10.0/engines/libwimp.dll \
142 share/themes/MS-Windows \
143 share/locale/de/LC_MESSAGES/gtk20.mo \
144 share/locale/sv/LC_MESSAGES/gtk20.mo) | tar xf -
145 (cd $WIN ; tar cf - \
146 share/locale/de/LC_MESSAGES/gigedit.mo \
147 share/locale/sv/LC_MESSAGES/gigedit.mo) | tar xf -
148 cd $DIST
149
150
151 # Fantasia --------------------------------------------------------
152
153 cp /home/persson/share/java/Fantasia-0.9.jar $BIN

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC