prep config file for installer
authorKonrad Rosenbaum <konrad@silmor.de>
Sun, 4 Aug 2013 19:28:19 +0000 (21:28 +0200)
committerKonrad Rosenbaum <konrad@silmor.de>
Sun, 4 Aug 2013 19:28:19 +0000 (21:28 +0200)
magicsmoke.aurora
taurus

index 919640f..f20052d 100644 (file)
@@ -1,4 +1,96 @@
 <AuroraInfo>
-        <CurrentVersion buildDate="2013-01-21" installDate="2013-01-22" version="1.99beta"/>
+        <!-- build/meta file: installDate==buildDate, it is changed during installation -->
+        <CurrentVersion buildDate="2013-01-21" installDate="2013-01-22" version="1.99beta" mrv="199-20130121"/>
+        <!-- in the build/meta file this is a template for config, it is copied to the installation -->
         <Settings baseurl="http://localhost/~konrad" indexfile="magicsmoke.xml" pollinterval="30"/>
+        
+        <!-- this is the build file version: tell the system how to compile each distri
+                the name is changed to include the platform if you include a * at that position 
+                
+                name="..." - the name of the target file with a * where the differentiating platfor goes
+                
+                buildbase="..." - the directory where we start looking for files
+                
+                zipbase="..." - a prefix directory inside the archive (if missing: no prefix)
+                
+        -->
+        <ArchiveSource name="magicsmoke-*.zip" buildbase=".">
+                <!-- list of files or file patterns for one platform
+                        os="..." - operating system, "linux", "windows", "any", "all"
+                                any=same for all OS, separate archive files
+                                all=same for all OS, just one archive file for all of them
+                        prepare="..." - optional script or command executed before archiving
+                -->
+                <Platform os="linux" prepare="strip bin/*">
+                        bin/magicsmoke
+                        bin/gpg
+                        bin/lib*.so*
+                </Platform>
+                <Platform os="windows">
+                </Platform>
+        </ArchiveSource>
+        <ArchiveSource name="distkeys.zip" buildbase="install-gpg" zipbase="bin/aurora-gpg">
+                <Platform os="all">
+                        gpg.conf
+                        pubring.gpg
+                </Platform>
+        </ArchiveSource>
+        <!-- this one uses pipe-syntax to get to the main path and it also uses additional <Files> tags to drill deeper -->
+        <ArchiveSource name="qtlibs-*.zip" buildbase="|qmake -query QT_INSTALL_PREFIX" zipbase="bin">
+                <Platform os="linux">
+                        <Files buildbase="./lib">
+                                libQt5Core.so*
+                                libQt5Gui.so*
+                                libQt5Network.so*
+                                libQt5PrintSupport.so*
+                                libQt5Script.so*
+                                libQt5ScriptTools.so*
+                                libQt5Widgets.so*
+                                libQt5Xml.so*
+                                libQt5Svg.so*
+                        </Files>
+                        <Files buildbase="./plugins">
+                                platforms/*.so
+                                platforminputcontexts/*.so
+                                imageformats/*.so
+                                iconengines/*.so
+                                printsupport/*.so
+                                bearer/*.so
+                                generic/*.so
+                        </Files>
+                </Platform>
+                <Platform os="windows" exclude="*d.dll">
+                        <Files buildbase="./bin">
+                                Qt5Core.dll
+                                Qt5Gui.dll
+                                Qt5Network.dll
+                                Qt5PrintSupport.dll
+                                Qt5Script.dll
+                                Qt5ScriptTools.dll
+                                Qt5Widgets.dll
+                                Qt5Xml.dll
+                                Qt5Svg.dll
+                                lib*.dll
+                                icu*.dll
+                        </Files>
+                        <Files buildbase="./plugins">
+                                platforms/*.dll
+                                imageformats/*.dll
+                                iconengines/*.dll
+                                printsupport/*.dll
+                                bearer/*.dll
+                                generic/*.dll
+                        </Files>
+                </Platform>
+        </ArchiveSource>
+        
+        <!-- this is the result in the meta or installed file -->
+        <Platform os="linux" cpu="x86">
+                <Archive name="magicsmoke-linux-x86.zip" size="12345678" sha1sum="1635ecd482608a93d522a11326e22409ff7d255d"/>
+                <Archive name="distkeys.zip" size="1234" sha1sum="d255d1635ecd482608a93d522a11326e22409ff7"/>
+        </Platform>
+        <Platform os="windows" cpu="x86">
+                <Archive name="magicsmoke-windows-x86.zip" size="15675670" sha1sum="522a11326e22163482608a93d409ff7d255d5ecd"/>
+                <Archive name="distkeys.zip" size="1234" sha1sum="d255d1635ecd482608a93d522a11326e22409ff7"/>
+        </Platform>
 </AuroraInfo>
diff --git a/taurus b/taurus
index a7c9d4c..7857278 160000 (submodule)
--- a/taurus
+++ b/taurus
@@ -1 +1 @@
-Subproject commit a7c9d4c44216478ae7542d99feda16381ceb994c
+Subproject commit 7857278278e87cc5d588290b1ff0257e46faef4d