From 49f68fb10c073dcac4778ba5410b81069674a36e Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Mon, 11 Mar 2013 21:27:59 +0100 Subject: [PATCH] update to new opsi builder --- CLIENT_DATA/setup.ins | 13 ++++++------- Linux-Libertine.gif.sha1sum | 1 + builder-product.cfg | 6 ++++-- libertine.png.sha1sum | 1 - 4 files changed, 11 insertions(+), 10 deletions(-) create mode 100644 Linux-Libertine.gif.sha1sum delete mode 100644 libertine.png.sha1sum diff --git a/CLIENT_DATA/setup.ins b/CLIENT_DATA/setup.ins index 26d96ea..e6c6eb8 100644 --- a/CLIENT_DATA/setup.ins +++ b/CLIENT_DATA/setup.ins @@ -4,7 +4,7 @@ ; credits: http://www.opsi.org/credits/ [Actions] -requiredWinstVersion >= "4.10.8.6" +requiredWinstVersion >= "4.11.2.6" DefVar $ProductId$ DefVar $MinimumSpace$ @@ -37,11 +37,10 @@ Set $LogDir$ = "%SystemDrive%\tmp" ;$ProductId$ should be the name of the product in opsi ; therefore please: only lower letters, no umlauts, ; no white space use '-' as a seperator -Set $ProductId$ = "font.linuxlibertine" Set $MinimumSpace$ = "10 MB" ; the path were we find the product after the installation -Set $InstallDir32$ = "%ProgramFiles32Dir%\Libertine" -Set $InstallDir64$ = "%ProgramFiles64Dir%\Libertine" +Set $InstallDir32$ = "%ProgramFiles32Dir%\LinuxLibertine" +Set $InstallDir64$ = "%ProgramFiles64Dir%\LinuxLibertine" ; ---------------------------------------------------------------- if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$)) @@ -50,12 +49,12 @@ if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$)) ; Stop process and set installation status to failed else comment "Show product picture" - ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$ + ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $NAME$ comment "installing" if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only") - Message "Installing " + $ProductId$ + " 32 Bit..." + Message "Installing " + $ProductId$ + " "+ $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " 32 Bit..." comment "Copy files" Files_install_32 /32Bit comment "Start setup program" @@ -68,7 +67,7 @@ else endif if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only")) - Message "Installing " + $ProductId$ + " 64 Bit..." + Message "Installing " + $ProductId$ + " "+ $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " 64 Bit..." comment "Copy files" Files_install_64 /64Bit comment "Start setup program" diff --git a/Linux-Libertine.gif.sha1sum b/Linux-Libertine.gif.sha1sum new file mode 100644 index 0000000..b8769fe --- /dev/null +++ b/Linux-Libertine.gif.sha1sum @@ -0,0 +1 @@ +334d0c1d64289d35f53e4901121d6aafa77cd3e6 /home/mario/.opsi-dist-cache/font.linuxlibertine-5.3.0//Linux-Libertine.gif diff --git a/builder-product.cfg b/builder-product.cfg index 2a0af7a..2af6967 100644 --- a/builder-product.cfg +++ b/builder-product.cfg @@ -3,6 +3,8 @@ ############################ VENDOR="fedorahosted.org" PN="font.linuxlibertine" +NAME="Linux Libertine Free Font" +DESCRIPTION="Linux Libertine Free Font" VERSION="5.3.0" RELEASE="3" PRIORITY="0" @@ -14,8 +16,8 @@ TYPE="public" # -DL_FILE[0]="libertine.png" -DL_SOURCE[0]="http://fontaday.com/wp-content/uploads/2010/07/libertine.png" +DL_FILE[0]="Linux-Libertine.gif" +DL_SOURCE[0]="http://www.succodesign.it/wp-content/uploads/2011/01/Linux-Libertine.gif" DL_FILE[1]="LinLibertineOTF_5.3.0_2012_07_02.tgz" DL_SOURCE[1]="http://sourceforge.net/projects/linuxlibertine/files/linuxlibertine/5.3.0/LinLibertineOTF_5.3.0_2012_07_02.tgz" diff --git a/libertine.png.sha1sum b/libertine.png.sha1sum deleted file mode 100644 index 1252e16..0000000 --- a/libertine.png.sha1sum +++ /dev/null @@ -1 +0,0 @@ -26acaf400c015b67c05b22864073c5e7625e7064 /usr/portage/distfiles/libertine.png