/[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 2686 - (show annotations) (download) (as text)
Sun Jan 4 01:32:55 2015 UTC (6 years ago) by schoenebeck
File MIME type: application/x-sh
File size: 4806 byte(s)
* Windows installer: Added new command line tool "gig2stereo.exe".

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

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC