/[svn]/misc/trunk/win32_installer/copy-files-to-bin.sh
ViewVC logotype

Annotation of /misc/trunk/win32_installer/copy-files-to-bin.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2576 - (hide annotations) (download) (as text)
Thu May 22 16:18:16 2014 UTC (7 years, 1 month ago) by schoenebeck
File MIME type: application/x-sh
File size: 4707 byte(s)
- Fixed windows installer script (broken by previous installer script
  commit).

1 persson 2145 #!/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 libgig-6.dll libsndfile-1.dll libsqlite3-0.dll \
16     libFLAC-8.dll libogg-0.dll libvorbis-0.dll libvorbisenc-2.dll \
17 schoenebeck 2489 rifftree.exe dlsdump.exe gigdump.exe gigextract.exe gigmerge.exe \
18 schoenebeck 2575 gig2mono.exe korg2gig.exe korgdump.exe akaidump.exe akaiextract.exe \
19     sf2dump.exe \
20     linuxsampler.exe \
21 persson 2145 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 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 libgig-6.dll \
75 schoenebeck 2489 rifftree.exe dlsdump.exe gigdump.exe gigextract.exe gigmerge.exe \
76 schoenebeck 2576 gig2mono.exe korg2gig.exe korgdump.exe akaidump.exe akaiextract.exe \
77     sf2dump.exe linuxsampler.exe \
78 persson 2145 $DIST
79     cd $WIN/lib/bin
80     cp liblinuxsampler-3.dll $DIST
81     cp $WIN/lib/vst/LinuxSampler.dll $DIST
82    
83    
84     # win64 -----------------------------------------------------------
85    
86     DIST=$BIN/64
87     WIN=/home/persson/win64
88    
89     rm -rf $DIST
90     mkdir -p $DIST
91     cd $WIN/bin
92     cp libgig-6.dll libsndfile-1.dll libsqlite3-0.dll \
93     libFLAC-8.dll libogg-0.dll libvorbis-0.dll libvorbisenc-2.dll \
94 schoenebeck 2489 rifftree.exe dlsdump.exe gigdump.exe gigextract.exe gigmerge.exe \
95 schoenebeck 2575 gig2mono.exe korg2gig.exe korgdump.exe akaidump.exe akaiextract.exe \
96     sf2dump.exe \
97     linuxsampler.exe gigedit.exe \
98 persson 2145 $DIST
99     cd $WIN/gtkmm/bin
100     cp libatk-1.0-0.dll libatkmm-1.6-1.dll libcairo-2.dll \
101     libcairomm-1.0-1.dll libgdkmm-2.4-1.dll \
102     libgdk_pixbuf-2.0-0.dll libgdk-win32-2.0-0.dll \
103     libgio-2.0-0.dll libgiomm-2.4-1.dll libglib-2.0-0.dll \
104     libglibmm-2.4-1.dll libgmodule-2.0-0.dll \
105     libgobject-2.0-0.dll libgthread-2.0-0.dll \
106     libgtkmm-2.4-1.dll libgtk-win32-2.0-0.dll \
107     libintl-8.dll libpango-1.0-0.dll libfontconfig-1.dll \
108     libpangocairo-1.0-0.dll libpangomm-1.4-1.dll \
109     libpangowin32-1.0-0.dll libpng14-14.dll libsigc-2.0-0.dll \
110     zlib1.dll libexpat-1.dll libfreetype-6.dll \
111     libpangoft2-1.0-0.dll \
112     $DIST
113     cd ../../..
114     mkdir -p $DIST/etc/gtk-2.0
115     echo "gtk-theme-name = \"MS-Windows\"" > $DIST/etc/gtk-2.0/gtkrc
116 persson 2279 cd mingw64/x86_64-w64-mingw32/lib
117 persson 2145 cp libgcc_s_sjlj-1.dll libstdc++-6.dll $DIST
118     cd $WIN/lib/bin
119     cp libgigedit-2.dll liblinuxsampler-3.dll $DIST
120     cp $WIN/lib/vst/LinuxSampler.dll $DIST
121     mkdir -p $DIST/plugins
122     cp $WIN/lib/linuxsampler/plugins/libgigeditlinuxsamplerplugin.dll \
123     $DIST/plugins
124     cd $DIST
125     (cd $WIN/gtkmm ; tar cf - \
126     lib/gtk-2.0/2.10.0/engines/libwimp.dll \
127     share/themes/MS-Windows \
128     share/locale/de/LC_MESSAGES/gtk20.mo \
129     share/locale/sv/LC_MESSAGES/gtk20.mo) | tar xf -
130     (cd $WIN ; tar cf - \
131     share/locale/de/LC_MESSAGES/gigedit.mo \
132     share/locale/sv/LC_MESSAGES/gigedit.mo) | tar xf -
133     cd $DIST
134    
135    
136     # Fantasia --------------------------------------------------------
137    
138     cp /home/persson/share/java/Fantasia-0.9.jar $BIN

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC