[Lunar-commits] <moonbase> openoffice-src: moving to x11-apps.
Dennis 'stumbles' Veatch
stumbles at lunar-linux.org
Mon Apr 14 18:41:42 CEST 2008
commit 84f47a4299a9245c352e9a0ab85bebd5a54a294f
Author: Dennis 'stumbles' Veatch <stumbles at lunar-linux.org>
Date: Mon Apr 14 12:41:42 2008 -0400
openoffice-src: moving to x11-apps.
---
x11-apps/openoffice-src/BUILD | 94 ++++++++++++++++++++
x11-apps/openoffice-src/DEPENDS | 73 +++++++++++++++
x11-apps/openoffice-src/DETAILS | 32 +++++++
x11-apps/openoffice-src/PRE_BUILD | 7 ++
.../openoffice-src/profile.d/openoffice-src.rc | 4 +
zbeta/openoffice-src/BUILD | 94 --------------------
zbeta/openoffice-src/DEPENDS | 73 ---------------
zbeta/openoffice-src/DETAILS | 32 -------
zbeta/openoffice-src/PRE_BUILD | 7 --
zbeta/openoffice-src/profile.d/openoffice-src.rc | 4 -
10 files changed, 210 insertions(+), 210 deletions(-)
diff --git a/x11-apps/openoffice-src/BUILD b/x11-apps/openoffice-src/BUILD
new file mode 100644
index 0000000..3084de5
--- /dev/null
+++ b/x11-apps/openoffice-src/BUILD
@@ -0,0 +1,94 @@
+(
+
+ if module_installed qt3; then
+ . /etc/profile.d/qt3.rc
+ fi &&
+
+ OO_DIR="/opt/lunar/openoffice-src"
+
+ sedit "/^ARCH_FLAGS\*=/d" solenv/inc/unxlngi{4,5,6}.mk &&
+
+ # All of the options have been carefully chosen. Don't edit them unless you
+ # really know what you're doing
+
+ OPTS="$OPTS --prefix=$OO_DIR --disable-qadevooo \
+ --disable-fontooo --disable-odk --enable-libart \
+ --disable-mathmldtd --enable-cairo --with-mozilla-version=1.7.5 \
+ --enable-mozilla --enable-binfilter --enable-xrender-link \
+ --without-fonts --without-ppds --without-afms \
+ --with-system-stdlibs --without-nas --with-system-zlib \
+ --with-system-jpeg --with-system-expat --with-system-freetype \
+ --with-system-libxml --without-system-db \
+ --with-system-xrender-headers --with-epm=internal \
+ --with-use-shell=bash --with-x --with-package-format=native \
+ --with-build-version=LunarLinux --without-system-boost --without-system-curl" &&
+
+ if module_installed sane-backends ; then
+ OPTS="$OPTS --with-system-sane-header";
+ fi &&
+
+ if module_installed sun-jdk; then
+ JAVA_VERSION="`installed_version sun-jdk`"
+ OPTS="$OPTS --with-jdk-home=/usr/lib/jdk${JAVA_VERSION}";
+ else
+ JAVA_VERSION="`installed_version j2sdk`";
+ OPTS="$OPTS --with-jdk-home=/usr/lib/j2sdk${JAVA_VERSION}";
+ fi &&
+
+ # Apply mandatory and optional patches
+
+ patch_it $SOURCE2 0 &&
+# patch_it $SOURCE6 0 &&
+
+ # As long as OOo-src does not compile against nss it needs its own mozilla
+ # tarball (and it also compiles its own mozilla)
+ mkdir -p $SOURCE_DIRECTORY/moz/download &&
+ cp $SOURCE_CACHE/$SOURCE3 $SOURCE_DIRECTORY/moz/download/ &&
+
+ cd $SOURCE_DIRECTORY/config_office &&
+
+ autoreconf &&
+ default_config &&
+
+ # OOo might fail if those are set to some strange values
+ umask 0022 &&
+ unset LANG LC_ALL &&
+
+ cd $SOURCE_DIRECTORY &&
+
+ ./bootstrap &&
+ sedit "s/-lxml2/-lxml2\ -lexpat/g" LinuxX86Env.Set.sh &&
+ source LinuxX86Env.Set.sh &&
+ dmake &&
+
+ prepare_install &&
+
+ # make install is not reliable
+ # FIXME: How do we detect this directory in an elegant way?
+ cd instsetoo_native/unxlngi6.pro/OpenOffice/native/install/en-US/linux-2.6-intel/buildroot/opt &&
+
+ rm -rf $OO_DIR &&
+ cp -rv openoffice.org2.3 $OO_DIR &&
+
+ # Install icons for the .desktop files
+ mkdir -p -m0755 /usr/share/icons/{HighContrast,hicolor} &&
+ cd $SOURCE_DIRECTORY/sysui/desktop/icons &&
+ cp -rv HighContrast/*x* /usr/share/icons/HighContrast &&
+ cp -rv hicolor/*x* /usr/share/icons/hicolor &&
+ gtk-update-icon-cache --force /usr/share/icons/hicolor &&
+
+ # Desktop integration
+ mkdir -p -m0755 /usr/share/applications &&
+ cd $OO_DIR/share/xdg &&
+ sedit 's/bin\/sprinteradmin/bin\/spadmin/' printeradmin.desktop &&
+
+ for file in *.desktop ; do
+ sedit '/Exec/d' $file;
+ echo "Exec=$OO_DIR/program/s`echo $file | sed 's/.desktop//'`" >> $file;
+ sedit '/Icon/d' $file;
+ echo "Icon=`echo $file | sed 's/.desktop//'`" >> $file;
+ install -m644 $file /usr/share/applications;
+ done &&
+ update-desktop-database
+
+) > $C_FIFO 2>&1
diff --git a/x11-apps/openoffice-src/DEPENDS b/x11-apps/openoffice-src/DEPENDS
new file mode 100644
index 0000000..21ac0a8
--- /dev/null
+++ b/x11-apps/openoffice-src/DEPENDS
@@ -0,0 +1,73 @@
+depends apache-ant &&
+depends libIDL &&
+depends libart_lgpl &&
+depends XML-Parser &&
+depends libxml2 &&
+depends gtk+-2 &&
+depends Archive-Zip &&
+depends Compress-Zlib &&
+depends unzip &&
+depends zip &&
+depends which &&
+depends desktop-file-utils &&
+depends hicolor-icon-theme &&
+
+optional_depends "cups" \
+ "--enable-cups" \
+ "--disable-cups" \
+ "enable the OpenOffice printing backend" &&
+
+optional_depends "curl" \
+ "--with-system-curl" \
+ "--without-system-curl" \
+ "to link against the system cURL library" &&
+
+optional_depends "neon" \
+ "--enable-neon --with-system-neon" \
+ "--disable-neon" \
+ "for webdav support" &&
+
+optional_depends "openldap" \
+ "--with-openldap" \
+ "--disable-ldap" \
+ "for LDAP support" &&
+
+optional_depends "Python" \
+ "--with-system-python" \
+ "--without-system-python" \
+ "for native Python support" &&
+
+optional_depends "evolution-data-server" \
+ "--enable-evolution2" \
+ "--disable-evolution2" \
+ "for Evolution addressbook support" &&
+
+optional_depends "gnome-vfs2" \
+ "--enable-gnome-vfs --enable-lockdown" \
+ "--disable-gnome-vfs --disable-lockdown" \
+ "for GNOME-vfs integration" &&
+
+optional_depends "kdelibs3" \
+ "--enable-kde" \
+ "--disable-kde" \
+ "to enable KDE support" &&
+
+optional_depends "Linux-PAM" \
+ "--enable-pam-link" \
+ "--disable-pam" \
+ "for Linux-PAM support" &&
+
+optional_depends "libsndfile" \
+ "--with-system-sndfile" \
+ "--without-system-sndfile" \
+ "to enable sound output in Impress" &&
+
+optional_depends "startup-notification" \
+ "--enable-libsn" \
+ "--disable-libsn" \
+ "for startup notification support" &&
+
+optional_depends "boost" \
+ "--with-system-boost" \
+ "--without-system-boost" \
+ "to use the already installed boost"
diff --git a/x11-apps/openoffice-src/DETAILS b/x11-apps/openoffice-src/DETAILS
new file mode 100644
index 0000000..7c9663d
--- /dev/null
+++ b/x11-apps/openoffice-src/DETAILS
@@ -0,0 +1,32 @@
+ MODULE=openoffice-src
+ VERSION=2.3.1
+ SOURCE=OOo_${VERSION}_src_core.tar.bz2
+ SOURCE2=$MODULE-2.2.0-xauth.patch
+ SOURCE3=mozilla-source-1.7.5.tar.gz
+ SOURCE4=OOo_${VERSION}_src_l10n.tar.bz2
+ SOURCE5=OOo_${VERSION}_src_system.tar.bz2
+ SOURCE6=$MODULE-2.2.0-mozilla-cplusplus.patch
+ SOURCE7=OOo_${VERSION}_src_binfilter.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/OOG680_m9
+ SOURCE_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/${VERSION}/
+ SOURCE2_URL=$PATCH_URL/
+ SOURCE3_URL=ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/
+ SOURCE4_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/${VERSION}/
+ SOURCE5_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/${VERSION}/
+ SOURCE6_URL=$PATCH_URL/
+ SOURCE7_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/${VERSION}/
+ SOURCE_VFY=sha1:de189e03a329cdd334823a52b800fad0c033ab4d
+ SOURCE2_VFY=sha1:58c824ef969b017be5fcd7e4290d7681453aa354
+ SOURCE3_VFY=sha1:bb2a89b95d7626a63a3787208e0abb99ea595d24
+ SOURCE4_VFY=sha1:004defae1496cf4b953a233abb20fd4c7e162423
+ SOURCE5_VFY=sha1:ebc835f9c00ef60b9d8da1004a8f31f8a88aef6f
+ SOURCE6_VFY=sha1:31ee26c90f43f4385a713a8ee64a9ed0801e61d8
+ SOURCE7_VFY=sha1:0643c52da3850a164928342e7651897b7a76ca1f
+ WEB_SITE=http://www.openoffice.org
+ ENTERED=20030805
+ UPDATED=20080205
+ PSAFE=no
+ SHORT="OpenOffice.org Office Suite"
+cat << EOF
+OpenOffice.org Office Suite
+EOF
diff --git a/x11-apps/openoffice-src/PRE_BUILD b/x11-apps/openoffice-src/PRE_BUILD
new file mode 100644
index 0000000..8a38b32
--- /dev/null
+++ b/x11-apps/openoffice-src/PRE_BUILD
@@ -0,0 +1,7 @@
+default_pre_build &&
+
+cd $SOURCE_DIRECTORY &&
+
+tar xf $SOURCE_CACHE/$SOURCE4 --strip-components=1 &&
+tar xf $SOURCE_CACHE/$SOURCE5 --strip-components=1 &&
+tar xf $SOURCE_CACHE/$SOURCE7 --strip-components=1
diff --git a/x11-apps/openoffice-src/profile.d/openoffice-src.rc b/x11-apps/openoffice-src/profile.d/openoffice-src.rc
new file mode 100644
index 0000000..ca1cc0e
--- /dev/null
+++ b/x11-apps/openoffice-src/profile.d/openoffice-src.rc
@@ -0,0 +1,4 @@
+# openoffice-src specific stuff
+
+[ -d /opt/lunar/openoffice-src/program ] &&
+ PATH="$PATH:/opt/lunar/openoffice-src/program"
diff --git a/zbeta/openoffice-src/BUILD b/zbeta/openoffice-src/BUILD
deleted file mode 100644
index 3084de5..0000000
--- a/zbeta/openoffice-src/BUILD
+++ /dev/null
@@ -1,94 +0,0 @@
-(
-
- if module_installed qt3; then
- . /etc/profile.d/qt3.rc
- fi &&
-
- OO_DIR="/opt/lunar/openoffice-src"
-
- sedit "/^ARCH_FLAGS\*=/d" solenv/inc/unxlngi{4,5,6}.mk &&
-
- # All of the options have been carefully chosen. Don't edit them unless you
- # really know what you're doing
-
- OPTS="$OPTS --prefix=$OO_DIR --disable-qadevooo \
- --disable-fontooo --disable-odk --enable-libart \
- --disable-mathmldtd --enable-cairo --with-mozilla-version=1.7.5 \
- --enable-mozilla --enable-binfilter --enable-xrender-link \
- --without-fonts --without-ppds --without-afms \
- --with-system-stdlibs --without-nas --with-system-zlib \
- --with-system-jpeg --with-system-expat --with-system-freetype \
- --with-system-libxml --without-system-db \
- --with-system-xrender-headers --with-epm=internal \
- --with-use-shell=bash --with-x --with-package-format=native \
- --with-build-version=LunarLinux --without-system-boost --without-system-curl" &&
-
- if module_installed sane-backends ; then
- OPTS="$OPTS --with-system-sane-header";
- fi &&
-
- if module_installed sun-jdk; then
- JAVA_VERSION="`installed_version sun-jdk`"
- OPTS="$OPTS --with-jdk-home=/usr/lib/jdk${JAVA_VERSION}";
- else
- JAVA_VERSION="`installed_version j2sdk`";
- OPTS="$OPTS --with-jdk-home=/usr/lib/j2sdk${JAVA_VERSION}";
- fi &&
-
- # Apply mandatory and optional patches
-
- patch_it $SOURCE2 0 &&
-# patch_it $SOURCE6 0 &&
-
- # As long as OOo-src does not compile against nss it needs its own mozilla
- # tarball (and it also compiles its own mozilla)
- mkdir -p $SOURCE_DIRECTORY/moz/download &&
- cp $SOURCE_CACHE/$SOURCE3 $SOURCE_DIRECTORY/moz/download/ &&
-
- cd $SOURCE_DIRECTORY/config_office &&
-
- autoreconf &&
- default_config &&
-
- # OOo might fail if those are set to some strange values
- umask 0022 &&
- unset LANG LC_ALL &&
-
- cd $SOURCE_DIRECTORY &&
-
- ./bootstrap &&
- sedit "s/-lxml2/-lxml2\ -lexpat/g" LinuxX86Env.Set.sh &&
- source LinuxX86Env.Set.sh &&
- dmake &&
-
- prepare_install &&
-
- # make install is not reliable
- # FIXME: How do we detect this directory in an elegant way?
- cd instsetoo_native/unxlngi6.pro/OpenOffice/native/install/en-US/linux-2.6-intel/buildroot/opt &&
-
- rm -rf $OO_DIR &&
- cp -rv openoffice.org2.3 $OO_DIR &&
-
- # Install icons for the .desktop files
- mkdir -p -m0755 /usr/share/icons/{HighContrast,hicolor} &&
- cd $SOURCE_DIRECTORY/sysui/desktop/icons &&
- cp -rv HighContrast/*x* /usr/share/icons/HighContrast &&
- cp -rv hicolor/*x* /usr/share/icons/hicolor &&
- gtk-update-icon-cache --force /usr/share/icons/hicolor &&
-
- # Desktop integration
- mkdir -p -m0755 /usr/share/applications &&
- cd $OO_DIR/share/xdg &&
- sedit 's/bin\/sprinteradmin/bin\/spadmin/' printeradmin.desktop &&
-
- for file in *.desktop ; do
- sedit '/Exec/d' $file;
- echo "Exec=$OO_DIR/program/s`echo $file | sed 's/.desktop//'`" >> $file;
- sedit '/Icon/d' $file;
- echo "Icon=`echo $file | sed 's/.desktop//'`" >> $file;
- install -m644 $file /usr/share/applications;
- done &&
- update-desktop-database
-
-) > $C_FIFO 2>&1
diff --git a/zbeta/openoffice-src/DEPENDS b/zbeta/openoffice-src/DEPENDS
deleted file mode 100644
index 21ac0a8..0000000
--- a/zbeta/openoffice-src/DEPENDS
+++ /dev/null
@@ -1,73 +0,0 @@
-depends apache-ant &&
-depends libIDL &&
-depends libart_lgpl &&
-depends XML-Parser &&
-depends libxml2 &&
-depends gtk+-2 &&
-depends Archive-Zip &&
-depends Compress-Zlib &&
-depends unzip &&
-depends zip &&
-depends which &&
-depends desktop-file-utils &&
-depends hicolor-icon-theme &&
-
-optional_depends "cups" \
- "--enable-cups" \
- "--disable-cups" \
- "enable the OpenOffice printing backend" &&
-
-optional_depends "curl" \
- "--with-system-curl" \
- "--without-system-curl" \
- "to link against the system cURL library" &&
-
-optional_depends "neon" \
- "--enable-neon --with-system-neon" \
- "--disable-neon" \
- "for webdav support" &&
-
-optional_depends "openldap" \
- "--with-openldap" \
- "--disable-ldap" \
- "for LDAP support" &&
-
-optional_depends "Python" \
- "--with-system-python" \
- "--without-system-python" \
- "for native Python support" &&
-
-optional_depends "evolution-data-server" \
- "--enable-evolution2" \
- "--disable-evolution2" \
- "for Evolution addressbook support" &&
-
-optional_depends "gnome-vfs2" \
- "--enable-gnome-vfs --enable-lockdown" \
- "--disable-gnome-vfs --disable-lockdown" \
- "for GNOME-vfs integration" &&
-
-optional_depends "kdelibs3" \
- "--enable-kde" \
- "--disable-kde" \
- "to enable KDE support" &&
-
-optional_depends "Linux-PAM" \
- "--enable-pam-link" \
- "--disable-pam" \
- "for Linux-PAM support" &&
-
-optional_depends "libsndfile" \
- "--with-system-sndfile" \
- "--without-system-sndfile" \
- "to enable sound output in Impress" &&
-
-optional_depends "startup-notification" \
- "--enable-libsn" \
- "--disable-libsn" \
- "for startup notification support" &&
-
-optional_depends "boost" \
- "--with-system-boost" \
- "--without-system-boost" \
- "to use the already installed boost"
diff --git a/zbeta/openoffice-src/DETAILS b/zbeta/openoffice-src/DETAILS
deleted file mode 100644
index 7c9663d..0000000
--- a/zbeta/openoffice-src/DETAILS
+++ /dev/null
@@ -1,32 +0,0 @@
- MODULE=openoffice-src
- VERSION=2.3.1
- SOURCE=OOo_${VERSION}_src_core.tar.bz2
- SOURCE2=$MODULE-2.2.0-xauth.patch
- SOURCE3=mozilla-source-1.7.5.tar.gz
- SOURCE4=OOo_${VERSION}_src_l10n.tar.bz2
- SOURCE5=OOo_${VERSION}_src_system.tar.bz2
- SOURCE6=$MODULE-2.2.0-mozilla-cplusplus.patch
- SOURCE7=OOo_${VERSION}_src_binfilter.tar.bz2
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/OOG680_m9
- SOURCE_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/${VERSION}/
- SOURCE2_URL=$PATCH_URL/
- SOURCE3_URL=ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/
- SOURCE4_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/${VERSION}/
- SOURCE5_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/${VERSION}/
- SOURCE6_URL=$PATCH_URL/
- SOURCE7_URL=http://ftp.rz.tu-bs.de/pub/mirror/OpenOffice.org/stable/${VERSION}/
- SOURCE_VFY=sha1:de189e03a329cdd334823a52b800fad0c033ab4d
- SOURCE2_VFY=sha1:58c824ef969b017be5fcd7e4290d7681453aa354
- SOURCE3_VFY=sha1:bb2a89b95d7626a63a3787208e0abb99ea595d24
- SOURCE4_VFY=sha1:004defae1496cf4b953a233abb20fd4c7e162423
- SOURCE5_VFY=sha1:ebc835f9c00ef60b9d8da1004a8f31f8a88aef6f
- SOURCE6_VFY=sha1:31ee26c90f43f4385a713a8ee64a9ed0801e61d8
- SOURCE7_VFY=sha1:0643c52da3850a164928342e7651897b7a76ca1f
- WEB_SITE=http://www.openoffice.org
- ENTERED=20030805
- UPDATED=20080205
- PSAFE=no
- SHORT="OpenOffice.org Office Suite"
-cat << EOF
-OpenOffice.org Office Suite
-EOF
diff --git a/zbeta/openoffice-src/PRE_BUILD b/zbeta/openoffice-src/PRE_BUILD
deleted file mode 100644
index 8a38b32..0000000
--- a/zbeta/openoffice-src/PRE_BUILD
+++ /dev/null
@@ -1,7 +0,0 @@
-default_pre_build &&
-
-cd $SOURCE_DIRECTORY &&
-
-tar xf $SOURCE_CACHE/$SOURCE4 --strip-components=1 &&
-tar xf $SOURCE_CACHE/$SOURCE5 --strip-components=1 &&
-tar xf $SOURCE_CACHE/$SOURCE7 --strip-components=1
diff --git a/zbeta/openoffice-src/profile.d/openoffice-src.rc b/zbeta/openoffice-src/profile.d/openoffice-src.rc
deleted file mode 100644
index ca1cc0e..0000000
--- a/zbeta/openoffice-src/profile.d/openoffice-src.rc
+++ /dev/null
@@ -1,4 +0,0 @@
-# openoffice-src specific stuff
-
-[ -d /opt/lunar/openoffice-src/program ] &&
- PATH="$PATH:/opt/lunar/openoffice-src/program"
More information about the Lunar-commits
mailing list