summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-05-13 19:12:35 +0200
committerpiernov <piernov@piernov.org>2012-05-13 19:12:35 +0200
commitf0f16a83d0623f3ae16ae3f8f956fb4a0928faae (patch)
tree1b1af80f1d2c7dcc7edc0b77f60ac5efd647093f
parent18f82681b9efadfaaaf02da34c15eac95677c110 (diff)
parent249de64550a4bfe8b3e8c3e17f7c67bff0d47b0d (diff)
downloadnutyx-extra-f0f16a83d0623f3ae16ae3f8f956fb4a0928faae.tar.gz
nutyx-extra-f0f16a83d0623f3ae16ae3f8f956fb4a0928faae.tar.bz2
nutyx-extra-f0f16a83d0623f3ae16ae3f8f956fb4a0928faae.tar.xz
nutyx-extra-f0f16a83d0623f3ae16ae3f8f956fb4a0928faae.zip
Merge commit '249de64550a4bfe8b3e8c3e17f7c67bff0d47b0d'
-rw-r--r--libreoffice/.md5sum.i6864
-rw-r--r--libreoffice/.md5sum.x86_644
-rw-r--r--libreoffice/Pkgfile116
-rw-r--r--libreoffice/README3
-rw-r--r--libreoffice/post-install1
-rwxr-xr-xvirtualbox-bin/Pkgfile6
6 files changed, 131 insertions, 3 deletions
diff --git a/libreoffice/.md5sum.i686 b/libreoffice/.md5sum.i686
new file mode 100644
index 000000000..98ad52d6c
--- /dev/null
+++ b/libreoffice/.md5sum.i686
@@ -0,0 +1,4 @@
+a21156d5657b8619a523ffdc5cc0003e libreoffice-core-3.5.2.2.tar.xz
+782d0cecfccc200f8ad0a07f0cb53f08 libreoffice-dictionaries-3.5.2.2.tar.xz
+3c064a24191274fcd8fd466ce9d5dc42 libreoffice-help-3.5.2.2.tar.xz
+17ebcd0d25e716d3905b1a905907fd67 libreoffice-translations-3.5.2.2.tar.xz
diff --git a/libreoffice/.md5sum.x86_64 b/libreoffice/.md5sum.x86_64
new file mode 100644
index 000000000..98ad52d6c
--- /dev/null
+++ b/libreoffice/.md5sum.x86_64
@@ -0,0 +1,4 @@
+a21156d5657b8619a523ffdc5cc0003e libreoffice-core-3.5.2.2.tar.xz
+782d0cecfccc200f8ad0a07f0cb53f08 libreoffice-dictionaries-3.5.2.2.tar.xz
+3c064a24191274fcd8fd466ce9d5dc42 libreoffice-help-3.5.2.2.tar.xz
+17ebcd0d25e716d3905b1a905907fd67 libreoffice-translations-3.5.2.2.tar.xz
diff --git a/libreoffice/Pkgfile b/libreoffice/Pkgfile
new file mode 100644
index 000000000..e87e84fce
--- /dev/null
+++ b/libreoffice/Pkgfile
@@ -0,0 +1,116 @@
+# Description: Suite pour le bureau libre
+# URL: http://www.libreoffice.org
+# Maintainer: cgit.freedesktop.org/libreoffice/core
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: cups, curl, gperf, gtk, gtk3, p5-archive-zip, p5-xml-parser, boost, expat, gst-plugins-base, libgsf, librsvg, libxml2, libxslt, neon, nss, poppler, libpostgresql, redland, icu, hunspell, gsfonts, dejavu-ttf
+# Run on: cups,curl,gperf,gtk,gtk3,expat,gst-plugins-base,libgsf,librsvg,libxslt,neon,nss,poppler,libpostgresql,redland,icu,hunspell
+
+name=libreoffice
+version=3.5.2.2
+release=1
+source=(http://download.documentfoundation.org/libreoffice/src/3.5.2/$name-core-$version.tar.xz
+ http://download.documentfoundation.org/libreoffice/src/3.5.2/$name-dictionaries-$version.tar.xz
+ http://download.documentfoundation.org/libreoffice/src/3.5.2/$name-help-$version.tar.xz
+ http://download.documentfoundation.org/libreoffice/src/3.5.2/$name-translations-$version.tar.xz )
+build() {
+
+ rm -r $name-translations-$version
+ rm -r $name-help-$version
+ rm -r $name-dictionaries-$version
+ cd $name-core-$version
+ tar -xf $PKGMK_SOURCE_DIR/$name-translations-$version.tar.xz --strip-components=1
+ tar -xf $PKGMK_SOURCE_DIR/$name-help-$version.tar.xz --strip-components=1
+ tar -xf $PKGMK_SOURCE_DIR/$name-dictionaries-$version.tar.xz --strip-components=1
+ sed -i '/$Prepend/s:^[^#]:# &:' \
+ i18npool/source/breakiterator/data/char{,_in}.txt
+ ./autogen.sh --prefix=/usr \
+ --disable-binfilter \
+ --disable-gconf \
+ --disable-mozilla \
+ --disable-odk \
+ --with-system-boost \
+ --with-system-cairo \
+ --with-system-curl \
+ --with-system-db \
+ --with-system-expat \
+ --with-system-hunspell \
+ --with-system-icu \
+ --with-system-jpeg \
+ --with-system-libpng \
+ --with-system-libxml \
+ --with-system-neon \
+ --with-system-nss \
+ --with-system-openssl \
+ --with-system-poppler \
+ --with-system-postgresql \
+ --with-system-redland \
+ --with-system-zlib \
+ --with-num-cpus=$(getconf _NPROCESSORS_ONLN) \
+ --with-lang="fr" \
+ --without-java
+ ./download
+ mkdir -p ../libre-office-downloads
+ cp -rf src/* ../libre-office-downloads
+ make
+ make DESTDIR=$PKG install
+ # Nettoyages des fichiers inutiles
+ mkdir -p $SRC/tmp
+ mv $PKG/* $SRC/tmp
+ mv $SRC/tmp/usr $PKG/
+ # Lanceurs
+ mkdir -p $PKG/usr/bin
+ for program in base calc draw impress math writer
+ do
+ echo '#!/bin/bash' > $PKG/usr/bin/${program}
+ done
+ for program in base calc draw impress math writer
+ do
+ echo "exec /usr/lib/libreoffice/program/soffice --nologo --${program} \"\${@}\"" >> $PKG/usr/bin/${program}
+ chmod 755 $PKG/usr/bin/${program}
+ done
+ # Icones
+ for res in 16 32 48 128 256
+ do
+ mkdir -p $PKG/usr/share/icons/hicolor/${res}x${res}/{apps,mimetypes}
+ cp sysui/desktop/icons/hicolor/${res}x${res}/apps/*.png \
+ $PKG/usr/share/icons/hicolor/${res}x${res}/apps
+ cp sysui/desktop/icons/hicolor/${res}x${res}/mimetypes/*.png \
+ $PKG/usr/share/icons/hicolor/${res}x${res}/mimetypes
+ done
+
+ # les liens
+ ln -s ../lib/libreoffice/program/spadmin $PKG/usr/bin/printeradmin
+ ln -s ../lib/libreoffice/program/unopkg $PKG/usr/bin
+
+ # Manuels
+ mkdir -p $PKG/usr/share/man/man1
+ cp -v sysui/desktop/man/{libreoffice,unopkg}.1 \
+ $PKG/usr/share/man/man1/
+
+ # Les lançeurs graphiques
+ mkdir -p $PKG/usr/share/applications
+ for program in base calc draw impress math writer
+ do echo "[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Name=${program^}
+Comment=Libre Office ${program^}
+Icon=${program}
+Exec=${program}
+Categories=Office;Application;
+StartupNotify=true
+Terminal=false" > $PKG/usr/share/applications/${program}.desktop
+ done
+echo "[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Name=Printer Administration
+Comment=Libre Office Printer Administration
+Icon=printeradmin
+Exec=printeradmin
+Categories=Office;Printing;Application;
+StartupNotify=true
+Terminal=false" > $PKG/usr/share/applications/printeradmin.desktop
+}
+
+
diff --git a/libreoffice/README b/libreoffice/README
new file mode 100644
index 000000000..34e0630fc
--- /dev/null
+++ b/libreoffice/README
@@ -0,0 +1,3 @@
+Merci à fanch d'avoir initier la mise à dispo de libreoffice dans NuTyX.
+Le Pkgfile est inspiré de l'excellent livre BLFS. Merci encore pour leur
+excellent travail.
diff --git a/libreoffice/post-install b/libreoffice/post-install
new file mode 100644
index 000000000..699bad0c9
--- /dev/null
+++ b/libreoffice/post-install
@@ -0,0 +1 @@
+/usr/bin/gtk-update-icon-cache /usr/share/icons/hicolor
diff --git a/virtualbox-bin/Pkgfile b/virtualbox-bin/Pkgfile
index f85047d22..e8807793d 100755
--- a/virtualbox-bin/Pkgfile
+++ b/virtualbox-bin/Pkgfile
@@ -6,10 +6,10 @@
# Run on: sdl
name=virtualbox-bin
-version=4.1.12
+version=4.1.14
release=1
-_release=77245
-_releaseExt=77245
+_release=77440
+_releaseExt=77440
_name=Oracle_VM_VirtualBox_Extension_Pack
PKGMK_IGNORE_FOOTPRINT="yes"