aboutsummaryrefslogtreecommitdiff
path: root/subsonic-installer-mac/src
diff options
context:
space:
mode:
Diffstat (limited to 'subsonic-installer-mac/src')
-rw-r--r--subsonic-installer-mac/src/postinstall.sh13
-rw-r--r--subsonic-installer-mac/src/preinstall.sh4
-rw-r--r--subsonic-installer-mac/src/subsonic.icnsbin0 -> 88112 bytes
-rw-r--r--subsonic-installer-mac/src/subsonic.pmdoc/01subsonic-contents.xml36
-rw-r--r--subsonic-installer-mac/src/subsonic.pmdoc/01subsonic.xml47
-rw-r--r--subsonic-installer-mac/src/subsonic.pmdoc/02ffmpeg-contents.xml7
-rw-r--r--subsonic-installer-mac/src/subsonic.pmdoc/02ffmpeg.xml29
-rw-r--r--subsonic-installer-mac/src/subsonic.pmdoc/03lame-contents.xml7
-rw-r--r--subsonic-installer-mac/src/subsonic.pmdoc/03lame.xml27
-rw-r--r--subsonic-installer-mac/src/subsonic.pmdoc/index.xml39
10 files changed, 209 insertions, 0 deletions
diff --git a/subsonic-installer-mac/src/postinstall.sh b/subsonic-installer-mac/src/postinstall.sh
new file mode 100644
index 00000000..95ddc230
--- /dev/null
+++ b/subsonic-installer-mac/src/postinstall.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+SUBSONIC_HOME="/Library/Application Support/Subsonic"
+
+chmod oug+rwx "$SUBSONIC_HOME"
+chown root:admin "$SUBSONIC_HOME"
+
+chmod oug+rx "$SUBSONIC_HOME/transcode"
+chown root:admin "$SUBSONIC_HOME/transcode"
+
+rm -rf "$SUBSONIC_HOME/jetty"
+
+echo Subsonic installation done
diff --git a/subsonic-installer-mac/src/preinstall.sh b/subsonic-installer-mac/src/preinstall.sh
new file mode 100644
index 00000000..b87ec2e1
--- /dev/null
+++ b/subsonic-installer-mac/src/preinstall.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+# Placeholder script. Nothing here.
+
diff --git a/subsonic-installer-mac/src/subsonic.icns b/subsonic-installer-mac/src/subsonic.icns
new file mode 100644
index 00000000..804ce79d
--- /dev/null
+++ b/subsonic-installer-mac/src/subsonic.icns
Binary files differ
diff --git a/subsonic-installer-mac/src/subsonic.pmdoc/01subsonic-contents.xml b/subsonic-installer-mac/src/subsonic.pmdoc/01subsonic-contents.xml
new file mode 100644
index 00000000..fa7d64db
--- /dev/null
+++ b/subsonic-installer-mac/src/subsonic.pmdoc/01subsonic-contents.xml
@@ -0,0 +1,36 @@
+<pkg-contents spec="1.12">
+ <f n="Subsonic.app" o="root" g="admin" p="16893"
+ pt="/Users/sindre/Projects/subsonic/subsonic-installer-mac/target/Subsonic.app" m="true" t="file">
+ <f n="Contents" o="root" g="admin" p="16893">
+ <f n="Info.plist" o="root" g="admin" p="33204">
+ <mod>mode</mod>
+ </f>
+ <f n="MacOS" o="root" g="admin" p="16893">
+ <f n="JavaApplicationStub" o="root" g="admin" p="33277">
+ <mod>mode</mod>
+ </f>
+ <mod>mode</mod>
+ </f>
+ <f n="PkgInfo" o="root" g="admin" p="33204">
+ <mod>mode</mod>
+ </f>
+ <f n="Resources" o="root" g="admin" p="16893">
+ <f n="Java" o="root" g="admin" p="16893">
+ <f n="subsonic-booter-jar-with-dependencies.jar" o="root" g="admin" p="33204">
+ <mod>mode</mod>
+ </f>
+ <mod>mode</mod>
+ </f>
+ <f n="subsonic.icns" o="root" g="admin" p="33204">
+ <mod>mode</mod>
+ </f>
+ <f n="subsonic.war" o="root" g="admin" p="33204">
+ <mod>mode</mod>
+ </f>
+ <mod>mode</mod>
+ </f>
+ <mod>mode</mod>
+ </f>
+ <mod>mode</mod>
+ </f>
+</pkg-contents> \ No newline at end of file
diff --git a/subsonic-installer-mac/src/subsonic.pmdoc/01subsonic.xml b/subsonic-installer-mac/src/subsonic.pmdoc/01subsonic.xml
new file mode 100644
index 00000000..444e9b16
--- /dev/null
+++ b/subsonic-installer-mac/src/subsonic.pmdoc/01subsonic.xml
@@ -0,0 +1,47 @@
+<pkgref spec="1.12" uuid="73C59762-2C0C-4986-A49A-AAA21313A3D3">
+ <config>
+ <identifier>net.sourceforge.subsonic.subsonic.Subsonic.pkg</identifier>
+ <version>1.0</version>
+ <description></description>
+ <post-install type="none"/>
+ <requireAuthorization/>
+ <installFrom relative="true" includeRoot="true">../target/Subsonic.app</installFrom>
+ <installTo mod="true">/Applications</installTo>
+ <flags>
+ <followSymbolicLinks/>
+ </flags>
+ <packageStore type="internal"></packageStore>
+ <mod>locationType</mod>
+ <mod>scripts.scriptsDirectoryPath.isAbsoluteType</mod>
+ <mod>scripts.preinstall.path</mod>
+ <mod>installTo</mod>
+ <mod>includeRoot</mod>
+ <mod>installTo.isRelativeType</mod>
+ <mod>installTo.isAbsoluteType</mod>
+ <mod>scripts.preinstall.isRelativeType</mod>
+ <mod>parent</mod>
+ <mod>version</mod>
+ <mod>installFrom.isRelativeType</mod>
+ <mod>requireAuthorization</mod>
+ <mod>relocatable</mod>
+ <mod>identifier</mod>
+ <mod>scripts.postinstall.isRelativeType</mod>
+ <mod>scripts.scriptsDirectoryPath.path</mod>
+ <mod>installTo.path</mod>
+ <mod>postInstall</mod>
+ </config>
+ <scripts>
+ <preinstall relative="true" mod="true">preinstall.sh</preinstall>
+ <postinstall relative="true" mod="true">postinstall.sh</postinstall>
+ </scripts>
+ <contents>
+ <file-list>01subsonic-contents.xml</file-list>
+ <component id="net.sourceforge.subsonic"
+ path="/Users/sindre/Projects/subsonic/subsonic-installer-mac/target/Subsonic.app"/>
+ <filter>/CVS$</filter>
+ <filter>/\.svn$</filter>
+ <filter>/\.cvsignore$</filter>
+ <filter>/\.cvspass$</filter>
+ <filter>/\.DS_Store$</filter>
+ </contents>
+</pkgref> \ No newline at end of file
diff --git a/subsonic-installer-mac/src/subsonic.pmdoc/02ffmpeg-contents.xml b/subsonic-installer-mac/src/subsonic.pmdoc/02ffmpeg-contents.xml
new file mode 100644
index 00000000..21cf344f
--- /dev/null
+++ b/subsonic-installer-mac/src/subsonic.pmdoc/02ffmpeg-contents.xml
@@ -0,0 +1,7 @@
+<pkg-contents spec="1.12">
+ <f n="ffmpeg" o="root" g="admin" p="33261" pt="/Users/sindre/Projects/subsonic/subsonic-transcode/mac/ffmpeg"
+ m="false" t="file">
+ <mod>group</mod>
+ <mod>owner</mod>
+ </f>
+</pkg-contents> \ No newline at end of file
diff --git a/subsonic-installer-mac/src/subsonic.pmdoc/02ffmpeg.xml b/subsonic-installer-mac/src/subsonic.pmdoc/02ffmpeg.xml
new file mode 100644
index 00000000..4dc8235d
--- /dev/null
+++ b/subsonic-installer-mac/src/subsonic.pmdoc/02ffmpeg.xml
@@ -0,0 +1,29 @@
+<pkgref spec="1.12" uuid="0682ACDA-6655-4284-B345-FFDCAB2CBE59">
+ <config>
+ <identifier>net.sourceforge.subsonic.subsonic.ffmpeg.pkg</identifier>
+ <version>1.0</version>
+ <description/>
+ <post-install type="none"/>
+ <requireAuthorization/>
+ <installFrom relative="true" mod="true">../../subsonic-transcode/mac/ffmpeg</installFrom>
+ <installTo mod="true">/Library/Application Support/Subsonic/transcode</installTo>
+ <flags>
+ <followSymbolicLinks/>
+ </flags>
+ <packageStore type="internal"/>
+ <mod>installTo.path</mod>
+ <mod>installTo.isRelativeType</mod>
+ <mod>installFrom.path</mod>
+ <mod>parent</mod>
+ <mod>installTo</mod>
+ <mod>installTo.isAbsoluteType</mod>
+ </config>
+ <contents>
+ <file-list>02ffmpeg-contents.xml</file-list>
+ <filter>/CVS$</filter>
+ <filter>/\.svn$</filter>
+ <filter>/\.cvsignore$</filter>
+ <filter>/\.cvspass$</filter>
+ <filter>/\.DS_Store$</filter>
+ </contents>
+</pkgref> \ No newline at end of file
diff --git a/subsonic-installer-mac/src/subsonic.pmdoc/03lame-contents.xml b/subsonic-installer-mac/src/subsonic.pmdoc/03lame-contents.xml
new file mode 100644
index 00000000..de4c4c50
--- /dev/null
+++ b/subsonic-installer-mac/src/subsonic.pmdoc/03lame-contents.xml
@@ -0,0 +1,7 @@
+<pkg-contents spec="1.12">
+ <f n="lame" o="root" g="admin" p="33261" pt="/Users/sindre/Projects/subsonic/subsonic-transcode/mac/lame" m="false"
+ t="file">
+ <mod>group</mod>
+ <mod>owner</mod>
+ </f>
+</pkg-contents> \ No newline at end of file
diff --git a/subsonic-installer-mac/src/subsonic.pmdoc/03lame.xml b/subsonic-installer-mac/src/subsonic.pmdoc/03lame.xml
new file mode 100644
index 00000000..35c04391
--- /dev/null
+++ b/subsonic-installer-mac/src/subsonic.pmdoc/03lame.xml
@@ -0,0 +1,27 @@
+<pkgref spec="1.12" uuid="40C5B15F-DB4F-4C18-B6A7-117D2937DE9A">
+ <config>
+ <identifier>net.sourceforge.subsonic.subsonic.lame.pkg</identifier>
+ <version>1.0</version>
+ <description/>
+ <post-install type="none"/>
+ <requireAuthorization/>
+ <installFrom relative="true" mod="true">../../subsonic-transcode/mac/lame</installFrom>
+ <installTo mod="true">/Library/Application Support/Subsonic/transcode</installTo>
+ <flags>
+ <followSymbolicLinks/>
+ </flags>
+ <packageStore type="internal"/>
+ <mod>installTo.path</mod>
+ <mod>installFrom.path</mod>
+ <mod>parent</mod>
+ <mod>installTo</mod>
+ </config>
+ <contents>
+ <file-list>03lame-contents.xml</file-list>
+ <filter>/CVS$</filter>
+ <filter>/\.svn$</filter>
+ <filter>/\.cvsignore$</filter>
+ <filter>/\.cvspass$</filter>
+ <filter>/\.DS_Store$</filter>
+ </contents>
+</pkgref> \ No newline at end of file
diff --git a/subsonic-installer-mac/src/subsonic.pmdoc/index.xml b/subsonic-installer-mac/src/subsonic.pmdoc/index.xml
new file mode 100644
index 00000000..309ef92b
--- /dev/null
+++ b/subsonic-installer-mac/src/subsonic.pmdoc/index.xml
@@ -0,0 +1,39 @@
+<pkmkdoc spec="1.12">
+ <properties>
+ <title>Subsonic</title>
+ <build>/Users/sindre/Projects/subsonic/subsonic-installer-mac/target/Subsonic.pkg</build>
+ <organization>net.sourceforge.subsonic</organization>
+ <userSees ui="easy"/>
+ <min-target os="3"/>
+ <domain anywhere="true"/>
+ </properties>
+ <distribution>
+ <versions min-spec="1.000000"/>
+ <scripts></scripts>
+ </distribution>
+ <contents>
+ <choice title="Subsonic" id="choice0" starts_selected="true" starts_enabled="true" starts_hidden="false">
+ <pkgref id="net.sourceforge.subsonic.subsonic.Subsonic.pkg"/>
+ </choice>
+ <choice title="ffmpeg" id="choice2" starts_selected="true" starts_enabled="true" starts_hidden="false">
+ <pkgref id="net.sourceforge.subsonic.subsonic.ffmpeg.pkg"/>
+ </choice>
+ <choice title="lame" id="choice3" starts_selected="true" starts_enabled="true" starts_hidden="false">
+ <pkgref id="net.sourceforge.subsonic.subsonic.lame.pkg"/>
+ </choice>
+ </contents>
+ <resources bg-scale="proportional" bg-align="bottomleft">
+ <locale lang="en">
+ <resource relative="true" mod="true" type="background">subsonic.icns</resource>
+ </locale>
+ </resources>
+ <flags/>
+ <item type="file">01subsonic.xml</item>
+ <item type="file">02ffmpeg.xml</item>
+ <item type="file">03lame.xml</item>
+ <mod>properties.title</mod>
+ <mod>properties.customizeOption</mod>
+ <mod>description</mod>
+ <mod>properties.anywhereDomain</mod>
+ <mod>properties.systemDomain</mod>
+</pkmkdoc> \ No newline at end of file