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

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC