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

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC