New commits:
commit 42cba926146553f87d5f6da241298f830bf814fd
Author: Bor Kraljič <pyrobor AT ver.si>
Commit: Bor Kraljič <pyrobor AT ver.si>
bin-editors/libreoffice-bin-help: added, help files for libreoffice-bin
commit 38455c11ad904f9b319ec2981ba563a3bb559264
Author: Bor Kraljič <pyrobor AT ver.si>
Commit: Bor Kraljič <pyrobor AT ver.si>
libreoffice-bin-lang: modified to use upstream signature checking
commit 119d4adb5358727cee00decace4069dce24afe08
Author: Bor Kraljič <pyrobor AT ver.si>
Commit: Bor Kraljič <pyrobor AT ver.si>
libreoffice-bin: converted to upstream signature checking
Now with upstream checking we could even more simplify DETAILS.
Make generic source with SMGL_COMPAT_ARCHS and using it for LIBO_ARCH.
commit 5ded804cc338dde0cddbdd902008816225d2589f
Author: Bor Kraljič <pyrobor AT ver.si>
Commit: Bor Kraljič <pyrobor AT ver.si>
bin-editors/libreoffice.gpg: added keyring with AFEEAEA3 LibreOffice
Build Team (CODE SIGNING KEY) <build AT documentfoundation.org>
diff --git a/ChangeLog b/ChangeLog
index 946e8e9..9266dff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
2011-01-27 Bor Kraljič <pyrobor AT ver.si>
* bin-editors/libreoffice-bin: added binary version of LibreOffice
* bin-editors/libreoffice-bin-lang: added, language support for
libreoffice-bin
+ * bin-editors/libreoffice-bin-help: added, help files for
libreoffice-bin
+ * bin-editors/libreoffice.gpg: added keyring with AFEEAEA3,
LibreOffice Build Team
+ (CODE SIGNING KEY) <build AT documentfoundation.org>
2010-04-26 Eric Sandall <sandalle AT sourcemage.org>
* bin-games/gametable: Added a shared whiteboard client
diff --git a/bin-editors/libreoffice-bin-help/BUILD
b/bin-editors/libreoffice-bin-help/BUILD
new file mode 100755
index 0000000..27ba77d
--- /dev/null
+++ b/bin-editors/libreoffice-bin-help/BUILD
@@ -0,0 +1 @@
+true
diff --git a/bin-editors/libreoffice-bin-help/CONFIGURE
b/bin-editors/libreoffice-bin-help/CONFIGURE
new file mode 100755
index 0000000..c695330
--- /dev/null
+++ b/bin-editors/libreoffice-bin-help/CONFIGURE
@@ -0,0 +1,43 @@
+source $GRIMOIRE/config_query_multi.function &&
+
+local CFG=$SPELL_CONFIG
+
+get_libohelplanguages() {
+ local i LANGUAGE LANGUAGES &&
+ rm -f $CFG &&
+ touch $CFG &&
+
+list_remove LIBO_HELPLANG vi || true &&
+
+config_query_multi LIBO_HELPLANG "please specify the desired languages" \
+en-US de fi fr nl pl sl &&
+
+ local i=1 &&
+ for LANGUAGE in $LIBO_HELPLANG; do
+ if [[ $i == 1 ]]; then
+ echo
SOURCE=LibO_\${VERSION}_Linux_${SMGL_COMPAT_ARCHS[1]/_/-}_helppack-rpm_$LANGUAGE.tar.gz
>> $CFG &&
+ echo SOURCE_URL[0]=\$SITE/${SMGL_COMPAT_ARCHS[1]}/\$SOURCE >>
$CFG &&
+ echo SOURCE$(($i+1))=\$SOURCE.asc >>
$CFG &&
+ echo SOURCE$(($i+1))_URL[0]=\${SOURCE_URL[0]}.asc >>
$CFG &&
+ echo SOURCE_GPG=libreoffice.gpg:\$SOURCE$(($i+1)):UPSTREAM_KEY >>
$CFG &&
+ echo SOURCE$(($i+1))_IGNORE=signature >>
$CFG
+ else
+ echo
SOURCE$i=LibO_\${VERSION}_Linux_${SMGL_COMPAT_ARCHS[1]/_/-}_helppack-rpm_$LANGUAGE.tar.gz
>> $CFG &&
+ echo SOURCE${i}_URL[0]=\$SITE/${SMGL_COMPAT_ARCHS[1]}/\$SOURCE$i
>> $CFG
+ echo SOURCE$(($i+1))=\$SOURCE${i}.asc
>> $CFG &&
+ echo SOURCE$(($i+1))_URL[0]=\${SOURCE${i}_URL[0]}.asc
>> $CFG &&
+ echo
SOURCE${i}_GPG=libreoffice.gpg:\$SOURCE$(($i+1)):UPSTREAM_KEY >> $CFG &&
+ echo SOURCE$(($i+1))_IGNORE=signature
>> $CFG
+ fi &&
+ i=$[$i+2]
+ done
+}
+
+if [[ -z $LIBO_HELPLANG ]] || query "Reconfigure?" n
+then
+ get_libohelplanguages
+else
+ message "${MESSAGE_COLOR}Using existing config${DEFAULT_COLOR}"
+fi &&
+
+. $CFG
diff --git a/bin-editors/libreoffice-bin-help/DEPENDS
b/bin-editors/libreoffice-bin-help/DEPENDS
new file mode 100755
index 0000000..d5cdd6a
--- /dev/null
+++ b/bin-editors/libreoffice-bin-help/DEPENDS
@@ -0,0 +1 @@
+depends libreoffice-bin
diff --git a/bin-editors/libreoffice-bin-help/DETAILS
b/bin-editors/libreoffice-bin-help/DETAILS
new file mode 100755
index 0000000..88e4aa5
--- /dev/null
+++ b/bin-editors/libreoffice-bin-help/DETAILS
@@ -0,0 +1,15 @@
+# the remaining details of this spell are provided by CONFIGURE
+ SPELL=libreoffice-bin-help
+ VERSION=3.3.0
+
SITE="http://download.documentfoundation.org/libreoffice/stable/$VERSION/rpm/"
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
+source $SPELL_CONFIG
+ LIBO_ARCH="${SMGL_COMPAT_ARCHS[1]}"
+ LICENSE[0]=LGPL
+ WEB_SITE=http://www.libreoffice.org/
+ ENTERED=20081124
+ ARCHIVE="off"
+ SHORT="helppacks for libreoffice"
+cat << EOF
+helppacks for libreoffice
+EOF
diff --git a/bin-editors/libreoffice-bin-help/HISTORY
b/bin-editors/libreoffice-bin-help/HISTORY
new file mode 100644
index 0000000..e0ddd85
--- /dev/null
+++ b/bin-editors/libreoffice-bin-help/HISTORY
@@ -0,0 +1,2 @@
+2011-01-27 Bor Kraljič <pyrobor AT ver.si>
+ * all: spell created
diff --git a/bin-editors/libreoffice-bin-help/INSTALL
b/bin-editors/libreoffice-bin-help/INSTALL
new file mode 100755
index 0000000..a5f540d
--- /dev/null
+++ b/bin-editors/libreoffice-bin-help/INSTALL
@@ -0,0 +1,7 @@
+INSTALLDIR=$INSTALL_ROOT/opt &&
+mkdir -pv $INSTALLDIR/ &&
+local SS &&
+for SS in $LIBO_HELPLANG; do
+ cd $SOURCE_DIRECTORY/LibO*$SS*/RPMS &&
+ cp -Rv opt/* $INSTALLDIR
+done
diff --git a/bin-editors/libreoffice-bin-help/PRE_BUILD
b/bin-editors/libreoffice-bin-help/PRE_BUILD
new file mode 100755
index 0000000..c878652
--- /dev/null
+++ b/bin-editors/libreoffice-bin-help/PRE_BUILD
@@ -0,0 +1,25 @@
+. $SPELL_CONFIG &&
+
+mk_source_dir $SOURCE_DIRECTORY &&
+cd $SOURCE_DIRECTORY &&
+
+# unpack all source files
+local i SS &&
+i=1 &&
+for SS in $LIBO_HELPLANG; do
+ if [[ $i == 1 ]];then
+ unpack_file
+ else
+ unpack_file $i
+ fi &&
+ # silently unpack RPMS for each language
+ cd LibO*$SS*/RPMS &&
+ for FILE in *.${LIBO_ARCH}.rpm
+ do
+ FILE="${FILE%.$LIBO_ARCH.rpm}" &&
+ rpm2tar $FILE.${LIBO_ARCH}.rpm &&
+ tar xvf $FILE.${LIBO_ARCH}.tar
+ done &&
+ cd $SOURCE_DIRECTORY &&
+ i=$[$i+2]
+done
diff --git a/bin-editors/libreoffice-bin-lang/CONFIGURE
b/bin-editors/libreoffice-bin-lang/CONFIGURE
index 499590b..af5cf0e 100755
--- a/bin-editors/libreoffice-bin-lang/CONFIGURE
+++ b/bin-editors/libreoffice-bin-lang/CONFIGURE
@@ -10,20 +10,26 @@ get_libolanguages() {
list_remove LIBO_LANG vi || true &&
config_query_multi LIBO_LANG "please specify the desired languages" \
-fr nl sl &&
+de fi fr nl pl sl &&