diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2013-10-31 18:47:32 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2013-10-31 18:47:32 +0000 |
commit | 4bb3d8ed71d0d44b78899ba630317e72b653d7e7 (patch) | |
tree | d977aa6942cc0be30f68c8bdc1e7c36be620b21e /app-office | |
parent | Darn, I'm getting old. Mountain Lion -> Mavericks (diff) | |
download | gentoo-2-4bb3d8ed71d0d44b78899ba630317e72b653d7e7.tar.gz gentoo-2-4bb3d8ed71d0d44b78899ba630317e72b653d7e7.tar.bz2 gentoo-2-4bb3d8ed71d0d44b78899ba630317e72b653d7e7.zip |
Adapt build script for new machine
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 84AD142F)
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/libreoffice/ChangeLog | 6 | ||||
-rw-r--r-- | app-office/libreoffice/files/generate_libreoffice_package.sh | 28 |
2 files changed, 24 insertions, 10 deletions
diff --git a/app-office/libreoffice/ChangeLog b/app-office/libreoffice/ChangeLog index 7532d7fe4373..ca1f9c8362af 100644 --- a/app-office/libreoffice/ChangeLog +++ b/app-office/libreoffice/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-office/libreoffice # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.515 2013/10/31 15:46:03 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.516 2013/10/31 18:47:32 dilfridge Exp $ + + 31 Oct 2013; Andreas K. Huettel <dilfridge@gentoo.org> + files/generate_libreoffice_package.sh: + Adapt build script for new machine *libreoffice-4.1.3.2 (31 Oct 2013) diff --git a/app-office/libreoffice/files/generate_libreoffice_package.sh b/app-office/libreoffice/files/generate_libreoffice_package.sh index 925e92abda7b..bce4fccd78d4 100644 --- a/app-office/libreoffice/files/generate_libreoffice_package.sh +++ b/app-office/libreoffice/files/generate_libreoffice_package.sh @@ -5,11 +5,14 @@ # * for amd64: CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -g" # What you can set: -VERSION="4.1.2.3" -BINVERSION="4.1.2.3" +VERSION="4.1.3.2" +BINVERSION="4.1.3.2" OPTS="-v" USEFILE="/etc/portage/package.use/libreo" MYPKGDIR="$( portageq pkgdir )" +MYTMPDIR=/root/tmp +MYDISTDIR=/root/distfiles + ################################################ # bug 473974 @@ -84,40 +87,41 @@ echo "Base" echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_NG} ${IUSES_NK}" > ${USEFILE} FEATURES="${FEATURES} splitdebug" CFLAGS="${MYFLAGS}" CXXFLAGS="${MYFLAGS}" emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed" quickpkg libreoffice --include-config=y -mv ${MYPKGDIR}/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-base-${BINVERSION}.tbz2 || die "Moving package failed" +mv ${MYPKGDIR}/app-office/libreoffice-${VERSION}.tbz2 ${MYTMPDIR}/libreoffice-base-${BINVERSION}.tbz2 || die "Moving package failed" echo "Base - java" echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_NG} ${IUSES_NK}" > ${USEFILE} FEATURES="${FEATURES} splitdebug" CFLAGS="${MYFLAGS}" CXXFLAGS="${MYFLAGS}" emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed" quickpkg libreoffice --include-config=y -mv ${MYPKGDIR}/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-base-java-${BINVERSION}.tbz2 || die "Moving package failed" +mv ${MYPKGDIR}/app-office/libreoffice-${VERSION}.tbz2 ${MYTMPDIR}/libreoffice-base-java-${BINVERSION}.tbz2 || die "Moving package failed" # kde flavor echo "KDE" echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_NG} ${IUSES_K}" > ${USEFILE} FEATURES="${FEATURES} splitdebug" CFLAGS="${MYFLAGS}" CXXFLAGS="${MYFLAGS}" emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed" quickpkg libreoffice --include-config=y -mv ${MYPKGDIR}/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-kde-${BINVERSION}.tbz2 || die "Moving package failed" +mv ${MYPKGDIR}/app-office/libreoffice-${VERSION}.tbz2 ${MYTMPDIR}/libreoffice-kde-${BINVERSION}.tbz2 || die "Moving package failed" echo "KDE - java" echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_NG} ${IUSES_K}" > ${USEFILE} FEATURES="${FEATURES} splitdebug" CFLAGS="${MYFLAGS}" CXXFLAGS="${MYFLAGS}" emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed" quickpkg libreoffice --include-config=y -mv ${MYPKGDIR}/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-kde-java-${BINVERSION}.tbz2 || die "Moving package failed" +mv ${MYPKGDIR}/app-office/libreoffice-${VERSION}.tbz2 ${MYTMPDIR}/libreoffice-kde-java-${BINVERSION}.tbz2 || die "Moving package failed" # gnome flavor echo "Gnome" echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_G} ${IUSES_NK}" > ${USEFILE} FEATURES="${FEATURES} splitdebug" CFLAGS="${MYFLAGS}" CXXFLAGS="${MYFLAGS}" emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed" quickpkg libreoffice --include-config=y -mv ${MYPKGDIR}/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-gnome-${BINVERSION}.tbz2 || die "Moving package failed" +mv ${MYPKGDIR}/app-office/libreoffice-${VERSION}.tbz2 ${MYTMPDIR}/libreoffice-gnome-${BINVERSION}.tbz2 || die "Moving package failed" echo "Gnome -java" echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_G} ${IUSES_NK}" > ${USEFILE} FEATURES="${FEATURES} splitdebug" CFLAGS="${MYFLAGS}" CXXFLAGS="${MYFLAGS}" emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed" quickpkg libreoffice --include-config=y -mv ${MYPKGDIR}/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-gnome-java-${BINVERSION}.tbz2 || die "Moving package failed" +mv ${MYPKGDIR}/app-office/libreoffice-${VERSION}.tbz2 ${MYTMPDIR}/libreoffice-gnome-java-${BINVERSION}.tbz2 || die "Moving package failed" +cd ${MYTMPDIR} for name in ./libreoffice-*-${BINVERSION}.tbz2 ; do @@ -145,10 +149,16 @@ for name in ./libreoffice-*-${BINVERSION}.tbz2 ; do cd ../.. rm -rf tmp.lo + echo "Removing original package file" + rm -f $BN.tbz2 + + echo "Moving results to distfiles storage" + mv -v $ARCH-bin-$BN.tar.xz $MYDISTDIR + mv -v $ARCH-debug-$BN.tar.xz $MYDISTDIR + echo "Done with $BN.tbz2" done rm -f ${USEFILE} || die "Removing ${USEFILE} failed" -rm -f libreoffice*${VERSION}*.tbz2 || die "Removing un-split package files failed" |