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

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC