-skin global EarlyBlue/1.9a1pre global/
-skin mozapps EarlyBlue/1.9a1pre mozapps/
-skin messenger EarlyBlue/1.9a1pre messenger/
-skin communicator EarlyBlue/1.9a1pre communicator/
-skin help EarlyBlue/1.9a1pre help/
-skin navigator EarlyBlue/1.9a1pre navigator/
-skin editor EarlyBlue/1.9a1pre editor/
-skin chatzilla EarlyBlue/1.9a1pre chatzilla/
-skin inspector EarlyBlue/1.9a1pre inspector/
+skin global EarlyBlue global/
+skin mozapps EarlyBlue mozapps/
+skin messenger EarlyBlue messenger/
+skin communicator EarlyBlue communicator/
+skin help EarlyBlue help/
+skin navigator EarlyBlue navigator/
+skin editor EarlyBlue editor/
+skin chatzilla EarlyBlue chatzilla/
+skin inspector EarlyBlue inspector/
<Description about="urn:mozilla:install-manifest">
<em:id>EarlyBlue@kairo.at</em:id>
- <em:version>1.9a1pre</em:version>
+ <em:version>2.0a1</em:version>
<!-- SeaMonkey -->
<em:targetApplication>
<Description>
<em:id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</em:id>
<em:minVersion>2.0a1pre</em:minVersion>
- <em:maxVersion>2.0a1pre</em:maxVersion>
+ <em:maxVersion>2.0a2pre</em:maxVersion>
</Description>
</em:targetApplication>
<!--em:updateURL--> <!--/em:updateURL-->
<!--em:aboutURL--> <!--/em:aboutURL-->
- <em:internalName>EarlyBlue/1.9a1pre</em:internalName>
+ <em:internalName>EarlyBlue</em:internalName>
</Description>
</RDF>
\ No newline at end of file
--- /dev/null
+#!/bin/sh
+
+RUN_DIR=$(pwd)
+cd $(dirname "$0")
+SCRIPT_DIR=$(pwd)
+
+if [ -n "$1" ]; then
+ case "$1" in
+ EarlyBlue)
+ THEME_NAME=$1
+ ;;
+ LCARStrek)
+ THEME_NAME=$1
+ ;;
+ *)
+ echo "unknown theme $option"
+ ;;
+ esac
+else
+ echo "You must specify a theme name."
+fi
+
+# define variables
+THEME_DIR=$SCRIPT_DIR/$THEME_NAME/
+WORK_DIR=$SCRIPT_DIR/$THEME_NAME.tmp/
+XPI_FILE=$SCRIPT_DIR/$THEME_NAME.xpi
+
+echo ensuring a clean work directory...
+if [ -e $WORK_DIR ] ; then
+ rm -rf $WORK_DIR/*
+fi
+mkdir -p $WORK_DIR/chrome
+
+echo copying basic files....
+cp $THEME_DIR/install.rdf $THEME_DIR/icon.png $THEME_DIR/preview.png $WORK_DIR/
+
+echo packing internal jar file...
+cd $THEME_DIR
+SUBDIRS=
+for filename in *; do
+ if [ -d "$filename" ]; then
+ SUBDIRS="$SUBDIRS $filename"
+ fi
+done
+zip -rX0Dq $WORK_DIR/chrome/$THEME_NAME.jar $SUBDIRS
+cd $WORK_DIR
+
+echo adjusting manifest...
+sed -e "s/skin \w* $THEME_NAME /\0jar:chrome\/$THEME_NAME.jar\!\//" $THEME_DIR/chrome.manifest > chrome.manifest
+
+echo creating new xpi file...
+if [ -e $XPI_FILE ] ; then
+ rm $XPI_FILE
+fi
+zip -rX9Dq $XPI_FILE *
+
+echo cleaning work directory...
+rm -rf $WORK_DIR/*