public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: generate_libreoffice_package.sh
@ 2012-01-11 12:10 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 17+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2012-01-11 12:10 UTC (permalink / raw
  To: gentoo-commits

scarabeus    12/01/11 12:10:57

  Added:                generate_libreoffice_package.sh
  Log:
  Add the binary generator script.
  
  (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-office/libreoffice/files/generate_libreoffice_package.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.1&content-type=text/plain

Index: generate_libreoffice_package.sh
===================================================================
#!/bin/bash

die() {
	echo "${1}"
	exit 1
}

VERSION="3.4.5.2"

# first the default subset of useflags
IUSES_BASE="bash-completion binfilter branding dbus graphite gstreamer gtk python templates webdav odk"

# now for the options
IUSES_J="java"
IUSES_NJ="-java"
IUSES_G="gnome eds"
IUSES_NG="-gnome -eds"
IUSES_K="kde"
IUSES_NK="-kde"

mkdir -p /etc/portage/package.use/

# compile the flavor
echo "Base"
echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_NG} ${IUSES_NK}" > /etc/portage/package.use/libreo
emerge -v =libreoffice-${VERSION} || die "emerge failed"
quickpkg libreoffice --include-config=y
cp /usr/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-base-${VERSION}.tbz2  || die "Copying package failed"

echo "Base - java"
echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_NG} ${IUSES_NK}" > /etc/portage/package.use/libreo
emerge -v =libreoffice-${VERSION} || die "emerge failed"
quickpkg libreoffice --include-config=y
cp /usr/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-base-java-${VERSION}.tbz2  || die "Copying package failed"

# kde flavor
echo "KDE"
echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_NG} ${IUSES_K}" > /etc/portage/package.use/libreo
emerge -v =libreoffice-${VERSION} || die "emerge failed"
quickpkg libreoffice --include-config=y
cp /usr/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-kde-${VERSION}.tbz2  || die "Copying package failed"

echo "KDE - java"
echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_NG} ${IUSES_K}" > /etc/portage/package.use/libreo
emerge -v =libreoffice-${VERSION} || die "emerge failed"
quickpkg libreoffice --include-config=y
cp /usr/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-kde-java-${VERSION}.tbz2  || die "Copying package failed"

# gnome flavor
echo "Gnome"
echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_G} ${IUSES_NK}" > /etc/portage/package.use/libreo
emerge -v =libreoffice-${VERSION} || die "emerge failed"
quickpkg libreoffice --include-config=y
cp /usr/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-gnome-${VERSION}.tbz2  || die "Copying package failed"

echo "Gnome -java"
echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_G} ${IUSES_NK}" > /etc/portage/package.use/libreo
emerge -v =libreoffice-${VERSION} || die "emerge failed"
quickpkg libreoffice --include-config=y
cp /usr/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-gnome-java-${VERSION}.tbz2  || die "Copying package failed"








^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: generate_libreoffice_package.sh
@ 2012-05-27 15:30 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; 17+ messages in thread
From: Andreas HAttel (dilfridge) @ 2012-05-27 15:30 UTC (permalink / raw
  To: gentoo-commits

dilfridge    12/05/27 15:30:32

  Modified:             generate_libreoffice_package.sh
  Log:
  Update package generation script
  
  (Portage version: 2.2.0_alpha108/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  app-office/libreoffice/files/generate_libreoffice_package.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?r1=1.1&r2=1.2

Index: generate_libreoffice_package.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- generate_libreoffice_package.sh	11 Jan 2012 12:10:57 -0000	1.1
+++ generate_libreoffice_package.sh	27 May 2012 15:30:31 -0000	1.2
@@ -1,14 +1,21 @@
 #!/bin/bash
 
+# important: you need to use the most general CFLAGS to build the packages
+# recommendation: 
+#  * for x86  : CFLAGS="-march=i586 -mtune=generic -O2 -pipe -g"
+#  * for amd64: CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -g"
+
 die() {
 	echo "${1}"
 	exit 1
 }
 
-VERSION="3.4.5.2"
+VERSION="3.5.2.2"
+
+BINRELEASE="-r1"
 
 # first the default subset of useflags
-IUSES_BASE="bash-completion binfilter branding dbus graphite gstreamer gtk python templates webdav odk"
+IUSES_BASE="bash-completion binfilter branding cups dbus graphite gstreamer gtk nsplugin python vba webdav xmlsec -aqua -jemalloc -mysql -nlpsolver -odk -opengl -pdfimport -postgres -svg"
 
 # now for the options
 IUSES_J="java"
@@ -25,38 +32,67 @@
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_NG} ${IUSES_NK}" > /etc/portage/package.use/libreo
 emerge -v =libreoffice-${VERSION} || die "emerge failed"
 quickpkg libreoffice --include-config=y
-cp /usr/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-base-${VERSION}.tbz2  || die "Copying package failed"
+mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-base-${VERSION}${BINRELEASE}.tbz2  || die "Moving package failed"
 
 echo "Base - java"
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_NG} ${IUSES_NK}" > /etc/portage/package.use/libreo
 emerge -v =libreoffice-${VERSION} || die "emerge failed"
 quickpkg libreoffice --include-config=y
-cp /usr/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-base-java-${VERSION}.tbz2  || die "Copying package failed"
+mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-base-java-${VERSION}${BINRELEASE}.tbz2  || die "Moving package failed"
 
 # kde flavor
 echo "KDE"
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_NG} ${IUSES_K}" > /etc/portage/package.use/libreo
 emerge -v =libreoffice-${VERSION} || die "emerge failed"
 quickpkg libreoffice --include-config=y
-cp /usr/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-kde-${VERSION}.tbz2  || die "Copying package failed"
+mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-kde-${VERSION}${BINRELEASE}.tbz2  || die "Moving package failed"
 
 echo "KDE - java"
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_NG} ${IUSES_K}" > /etc/portage/package.use/libreo
 emerge -v =libreoffice-${VERSION} || die "emerge failed"
 quickpkg libreoffice --include-config=y
-cp /usr/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-kde-java-${VERSION}.tbz2  || die "Copying package failed"
+mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-kde-java-${VERSION}${BINRELEASE}.tbz2  || die "Moving package failed"
 
 # gnome flavor
 echo "Gnome"
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_G} ${IUSES_NK}" > /etc/portage/package.use/libreo
 emerge -v =libreoffice-${VERSION} || die "emerge failed"
 quickpkg libreoffice --include-config=y
-cp /usr/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-gnome-${VERSION}.tbz2  || die "Copying package failed"
+mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-gnome-${VERSION}${BINRELEASE}.tbz2  || die "Moving package failed"
 
 echo "Gnome -java"
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_G} ${IUSES_NK}" > /etc/portage/package.use/libreo
 emerge -v =libreoffice-${VERSION} || die "emerge failed"
 quickpkg libreoffice --include-config=y
-cp /usr/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-gnome-java-${VERSION}.tbz2  || die "Copying package failed"
+mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-gnome-java-${VERSION}${BINRELEASE}.tbz2  || die "Moving package failed"
+
+
+for name in ./libreoffice-*-${VERSION}${BINRELEASE}.tbz2 ; do 
+
+  BN=`basename $name .tbz2`
+
+  rm -rf tmp.lo
+  mkdir -vp tmp.lo/p1 tmp.lo/p2
+  cd tmp.lo/p1
+
+  echo "Unpacking complete archive $BN.tbz2"
+  tar xfvjp ../../$BN.tbz2
+
+  echo "Moving debug info"
+  mkdir -vp ../p2/usr/lib
+  mv -v usr/lib/debug ../p2/usr/lib/
+
+  echo "Re-packing program"
+  tar cfvJ ../../bin-$BN.tar.xz --owner root --group root ./*
+
+  echo "Re-packing debug info"
+  cd ../p2
+  tar cfvJ ../../debug-$BN.tar.xz --owner root --group root ./*
+
+  echo "Removing unpacked files"
+  cd ../..
+  rm -rf tmp.lo
 
+  echo "Done with $BN.tbz2"
 
+done






^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: generate_libreoffice_package.sh
@ 2012-06-02  9:41 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; 17+ messages in thread
From: Andreas HAttel (dilfridge) @ 2012-06-02  9:41 UTC (permalink / raw
  To: gentoo-commits

dilfridge    12/06/02 09:41:50

  Modified:             generate_libreoffice_package.sh
  Log:
  Need more general version handling
  
  (Portage version: 2.2.0_alpha108/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  app-office/libreoffice/files/generate_libreoffice_package.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?r1=1.2&r2=1.3

Index: generate_libreoffice_package.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- generate_libreoffice_package.sh	27 May 2012 15:30:31 -0000	1.2
+++ generate_libreoffice_package.sh	2 Jun 2012 09:41:50 -0000	1.3
@@ -10,9 +10,8 @@
 	exit 1
 }
 
-VERSION="3.5.2.2"
-
-BINRELEASE="-r1"
+VERSION="3.5.4.2-r1"
+BINVERSION="3.5.4.2-r1"
 
 # first the default subset of useflags
 IUSES_BASE="bash-completion binfilter branding cups dbus graphite gstreamer gtk nsplugin python vba webdav xmlsec -aqua -jemalloc -mysql -nlpsolver -odk -opengl -pdfimport -postgres -svg"
@@ -32,42 +31,42 @@
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_NG} ${IUSES_NK}" > /etc/portage/package.use/libreo
 emerge -v =libreoffice-${VERSION} || die "emerge failed"
 quickpkg libreoffice --include-config=y
-mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-base-${VERSION}${BINRELEASE}.tbz2  || die "Moving package failed"
+mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-base-${BINVERSION}.tbz2  || die "Moving package failed"
 
 echo "Base - java"
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_NG} ${IUSES_NK}" > /etc/portage/package.use/libreo
 emerge -v =libreoffice-${VERSION} || die "emerge failed"
 quickpkg libreoffice --include-config=y
-mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-base-java-${VERSION}${BINRELEASE}.tbz2  || die "Moving package failed"
+mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./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}" > /etc/portage/package.use/libreo
 emerge -v =libreoffice-${VERSION} || die "emerge failed"
 quickpkg libreoffice --include-config=y
-mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-kde-${VERSION}${BINRELEASE}.tbz2  || die "Moving package failed"
+mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-kde-${BINVERSION}.tbz2  || die "Moving package failed"
 
 echo "KDE - java"
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_NG} ${IUSES_K}" > /etc/portage/package.use/libreo
 emerge -v =libreoffice-${VERSION} || die "emerge failed"
 quickpkg libreoffice --include-config=y
-mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-kde-java-${VERSION}${BINRELEASE}.tbz2  || die "Moving package failed"
+mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./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}" > /etc/portage/package.use/libreo
 emerge -v =libreoffice-${VERSION} || die "emerge failed"
 quickpkg libreoffice --include-config=y
-mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-gnome-${VERSION}${BINRELEASE}.tbz2  || die "Moving package failed"
+mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-gnome-${BINVERSION}.tbz2  || die "Moving package failed"
 
 echo "Gnome -java"
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_G} ${IUSES_NK}" > /etc/portage/package.use/libreo
 emerge -v =libreoffice-${VERSION} || die "emerge failed"
 quickpkg libreoffice --include-config=y
-mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-gnome-java-${VERSION}${BINRELEASE}.tbz2  || die "Moving package failed"
+mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-gnome-java-${BINVERSION}.tbz2  || die "Moving package failed"
 
 
-for name in ./libreoffice-*-${VERSION}${BINRELEASE}.tbz2 ; do 
+for name in ./libreoffice-*-${BINVERSION}.tbz2 ; do 
 
   BN=`basename $name .tbz2`
 






^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: generate_libreoffice_package.sh
@ 2012-08-01  9:00 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; 17+ messages in thread
From: Andreas HAttel (dilfridge) @ 2012-08-01  9:00 UTC (permalink / raw
  To: gentoo-commits

dilfridge    12/08/01 09:00:12

  Modified:             generate_libreoffice_package.sh
  Log:
  Update script
  
  (Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

Revision  Changes    Path
1.4                  app-office/libreoffice/files/generate_libreoffice_package.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?r1=1.3&r2=1.4

Index: generate_libreoffice_package.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- generate_libreoffice_package.sh	2 Jun 2012 09:41:50 -0000	1.3
+++ generate_libreoffice_package.sh	1 Aug 2012 09:00:12 -0000	1.4
@@ -10,8 +10,8 @@
 	exit 1
 }
 
-VERSION="3.5.4.2-r1"
-BINVERSION="3.5.4.2-r1"
+VERSION="3.5.5.3"
+BINVERSION="3.5.5.3"
 
 # first the default subset of useflags
 IUSES_BASE="bash-completion binfilter branding cups dbus graphite gstreamer gtk nsplugin python vba webdav xmlsec -aqua -jemalloc -mysql -nlpsolver -odk -opengl -pdfimport -postgres -svg"





^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: generate_libreoffice_package.sh
@ 2012-11-14 22:32 Agostino Sarubbo (ago)
  0 siblings, 0 replies; 17+ messages in thread
From: Agostino Sarubbo (ago) @ 2012-11-14 22:32 UTC (permalink / raw
  To: gentoo-commits

ago         12/11/14 22:32:55

  Modified:             generate_libreoffice_package.sh
  Log:
  Make the generator script more usable
  
  (Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.5                  app-office/libreoffice/files/generate_libreoffice_package.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?r1=1.4&r2=1.5

Index: generate_libreoffice_package.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- generate_libreoffice_package.sh	1 Aug 2012 09:00:12 -0000	1.4
+++ generate_libreoffice_package.sh	14 Nov 2012 22:32:55 -0000	1.5
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 # important: you need to use the most general CFLAGS to build the packages
-# recommendation: 
+# recommendation:
 #  * for x86  : CFLAGS="-march=i586 -mtune=generic -O2 -pipe -g"
 #  * for amd64: CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -g"
 
@@ -24,49 +24,58 @@
 IUSES_K="kde"
 IUSES_NK="-kde"
 
+if [ -f /etc/portage/package.use ] ; then
+	echo "Please save your package.use and make it as a directory"
+	exit 1
+fi
+
 mkdir -p /etc/portage/package.use/
 
+OPTS="-v"
+
+MYPKGDIR="$( emerge --info | grep PKGDIR | sed "s:PKGDIR=::;s:\"::g" )"
+
 # compile the flavor
 echo "Base"
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_NG} ${IUSES_NK}" > /etc/portage/package.use/libreo
-emerge -v =libreoffice-${VERSION} || die "emerge failed"
+emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed"
 quickpkg libreoffice --include-config=y
-mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-base-${BINVERSION}.tbz2  || die "Moving package failed"
+mv ${MYPKGDIR}/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-base-${BINVERSION}.tbz2  || die "Moving package failed"
 
 echo "Base - java"
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_NG} ${IUSES_NK}" > /etc/portage/package.use/libreo
-emerge -v =libreoffice-${VERSION} || die "emerge failed"
+emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed"
 quickpkg libreoffice --include-config=y
-mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-base-java-${BINVERSION}.tbz2  || die "Moving package failed"
+mv ${MYPKGDIR}/app-office/libreoffice-${VERSION}.tbz2 ./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}" > /etc/portage/package.use/libreo
-emerge -v =libreoffice-${VERSION} || die "emerge failed"
+emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed"
 quickpkg libreoffice --include-config=y
-mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-kde-${BINVERSION}.tbz2  || die "Moving package failed"
+mv ${MYPKGDIR}/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-kde-${BINVERSION}.tbz2  || die "Moving package failed"
 
 echo "KDE - java"
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_NG} ${IUSES_K}" > /etc/portage/package.use/libreo
-emerge -v =libreoffice-${VERSION} || die "emerge failed"
+emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed"
 quickpkg libreoffice --include-config=y
-mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-kde-java-${BINVERSION}.tbz2  || die "Moving package failed"
+mv ${MYPKGDIR}/app-office/libreoffice-${VERSION}.tbz2 ./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}" > /etc/portage/package.use/libreo
-emerge -v =libreoffice-${VERSION} || die "emerge failed"
+emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed"
 quickpkg libreoffice --include-config=y
-mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-gnome-${BINVERSION}.tbz2  || die "Moving package failed"
+mv ${MYPKGDIR}/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-gnome-${BINVERSION}.tbz2  || die "Moving package failed"
 
 echo "Gnome -java"
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_G} ${IUSES_NK}" > /etc/portage/package.use/libreo
-emerge -v =libreoffice-${VERSION} || die "emerge failed"
+emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed"
 quickpkg libreoffice --include-config=y
-mv /tmp/portage/packages/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-gnome-java-${BINVERSION}.tbz2  || die "Moving package failed"
+mv ${MYPKGDIR}/app-office/libreoffice-${VERSION}.tbz2 ./libreoffice-gnome-java-${BINVERSION}.tbz2  || die "Moving package failed"
 
 
-for name in ./libreoffice-*-${BINVERSION}.tbz2 ; do 
+for name in ./libreoffice-*-${BINVERSION}.tbz2 ; do
 
   BN=`basename $name .tbz2`
 





^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: generate_libreoffice_package.sh
@ 2012-11-18 12:02 Agostino Sarubbo (ago)
  0 siblings, 0 replies; 17+ messages in thread
From: Agostino Sarubbo (ago) @ 2012-11-18 12:02 UTC (permalink / raw
  To: gentoo-commits

ago         12/11/18 12:02:01

  Modified:             generate_libreoffice_package.sh
  Log:
  new version of the script
  
  (Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.6                  app-office/libreoffice/files/generate_libreoffice_package.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?r1=1.5&r2=1.6

Index: generate_libreoffice_package.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- generate_libreoffice_package.sh	14 Nov 2012 22:32:55 -0000	1.5
+++ generate_libreoffice_package.sh	18 Nov 2012 12:02:01 -0000	1.6
@@ -1,20 +1,50 @@
 #!/bin/bash
 
-# important: you need to use the most general CFLAGS to build the packages
-# recommendation:
+# important: you need to use the most general CFLAGS to build the packages:
 #  * for x86  : CFLAGS="-march=i586 -mtune=generic -O2 -pipe -g"
 #  * for amd64: CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -g"
 
+# What you can set:
+VERSION="3.6.3.2"
+BINVERSION="3.6.3.2"
+OPTS="-q"
+USEFILE="/etc/portage/package.use/libreo"
+MYPKGDIR="$( portageq pkgdir )"
+################################################
+
 die() {
-	echo "${1}"
-	exit 1
+        echo "${1}"
+        exit 1
 }
 
-VERSION="3.5.5.3"
-BINVERSION="3.5.5.3"
+if [ "$( uname -m )" = "x86_64" ] ; then
+	MYFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -g"
+	ARCH="amd64"
+elif [ "$( uname -m )" = "i686" ] ; then
+	MYFLAGS="-march=i586 -mtune=generic -O2 -pipe -g"
+	ARCH="x86"
+else
+	die "Arch not supported"
+fi
+
+for i in \
+	"/bin/echo" \
+	"/bin/mkdir" \
+	"/bin/mv" \
+	"/bin/rm" \
+	"/bin/sed" \
+	"/bin/tar" \
+	"/usr/bin/emerge" \
+	"/usr/bin/portageq" \
+	"/usr/bin/quickpkg"
+do
+	if [ ! -e "${i}" ] ; then
+		die "Missing something in your system"
+	fi
+done
 
 # first the default subset of useflags
-IUSES_BASE="bash-completion binfilter branding cups dbus graphite gstreamer gtk nsplugin python vba webdav xmlsec -aqua -jemalloc -mysql -nlpsolver -odk -opengl -pdfimport -postgres -svg"
+IUSES_BASE="bash-completion -binfilter branding cups dbus graphite gstreamer gtk nsplugin python vba webdav xmlsec -aqua -jemalloc -mysql -nlpsolver -odk -opengl -pdfimport -postgres -svg"
 
 # now for the options
 IUSES_J="java"
@@ -25,52 +55,51 @@
 IUSES_NK="-kde"
 
 if [ -f /etc/portage/package.use ] ; then
-	echo "Please save your package.use and make it as a directory"
-	exit 1
+	die "Please save your package.use and make it as a directory"
 fi
 
 mkdir -p /etc/portage/package.use/
 
-OPTS="-v"
-
-MYPKGDIR="$( emerge --info | grep PKGDIR | sed "s:PKGDIR=::;s:\"::g" )"
+if [ -z "${MYPKGDIR}" -o ! -d "${MYPKGDIR}" ] ; then
+	die "Anything goes wrong"
+fi
 
 # compile the flavor
 echo "Base"
-echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_NG} ${IUSES_NK}" > /etc/portage/package.use/libreo
-emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed"
+echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_NG} ${IUSES_NK}" > ${USEFILE}
+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"
 
 echo "Base - java"
-echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_NG} ${IUSES_NK}" > /etc/portage/package.use/libreo
-emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed"
+echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_NG} ${IUSES_NK}" > ${USEFILE}
+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"
 
 # kde flavor
 echo "KDE"
-echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_NG} ${IUSES_K}" > /etc/portage/package.use/libreo
-emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed"
+echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_NG} ${IUSES_K}" > ${USEFILE}
+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"
 
 echo "KDE - java"
-echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_NG} ${IUSES_K}" > /etc/portage/package.use/libreo
-emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed"
+echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_NG} ${IUSES_K}" > ${USEFILE}
+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"
 
 # gnome flavor
 echo "Gnome"
-echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_G} ${IUSES_NK}" > /etc/portage/package.use/libreo
-emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed"
+echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_G} ${IUSES_NK}" > ${USEFILE}
+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"
 
 echo "Gnome -java"
-echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_G} ${IUSES_NK}" > /etc/portage/package.use/libreo
-emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed"
+echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_G} ${IUSES_NK}" > ${USEFILE}
+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"
 
@@ -91,11 +120,11 @@
   mv -v usr/lib/debug ../p2/usr/lib/
 
   echo "Re-packing program"
-  tar cfvJ ../../bin-$BN.tar.xz --owner root --group root ./*
+  tar cfvJ ../../$ARCH-bin-$BN.tar.xz --owner root --group root ./*
 
   echo "Re-packing debug info"
   cd ../p2
-  tar cfvJ ../../debug-$BN.tar.xz --owner root --group root ./*
+  tar cfvJ ../../$ARCH-debug-$BN.tar.xz --owner root --group root ./*
 
   echo "Removing unpacked files"
   cd ../..
@@ -104,3 +133,7 @@
   echo "Done with $BN.tbz2"
 
 done
+
+rm -fr ${USEFILE}
+
+rm -fr libreoffice*${VERSION}*.tbz2





^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: generate_libreoffice_package.sh
@ 2012-11-18 12:07 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; 17+ messages in thread
From: Andreas HAttel (dilfridge) @ 2012-11-18 12:07 UTC (permalink / raw
  To: gentoo-commits

dilfridge    12/11/18 12:07:28

  Modified:             generate_libreoffice_package.sh
  Log:
  Add extension handling
  
  (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key B6C5F7DE)

Revision  Changes    Path
1.7                  app-office/libreoffice/files/generate_libreoffice_package.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?r1=1.6&r2=1.7

Index: generate_libreoffice_package.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- generate_libreoffice_package.sh	18 Nov 2012 12:02:01 -0000	1.6
+++ generate_libreoffice_package.sh	18 Nov 2012 12:07:28 -0000	1.7
@@ -44,7 +44,18 @@
 done
 
 # first the default subset of useflags
-IUSES_BASE="bash-completion -binfilter branding cups dbus graphite gstreamer gtk nsplugin python vba webdav xmlsec -aqua -jemalloc -mysql -nlpsolver -odk -opengl -pdfimport -postgres -svg"
+IUSES_BASE="bash-completion branding cups dbus gstreamer gtk python vba webdav -aqua -binfilter -jemalloc -mysql -odk -opengl -postgres -svg"
+
+ENABLE_EXTENSIONS="presenter-console presenter-minimizer"
+DISABLE_EXTENSIONS="nlpsolver pdfimport scripting-beanshell scripting-javascript wiki-publisher"
+
+for lo_xt in ${ENABLE_EXTENSIONS}; do
+        IUSES_BASE+=" libreoffice_extensions_${lo_xt}"
+done
+for lo_xt in ${DISABLE_EXTENSIONS}; do
+        IUSES_BASE+=" -libreoffice_extensions_${lo_xt}"
+done
+unset lo_xt
 
 # now for the options
 IUSES_J="java"





^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: generate_libreoffice_package.sh
@ 2012-11-20 21:40 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; 17+ messages in thread
From: Andreas HAttel (dilfridge) @ 2012-11-20 21:40 UTC (permalink / raw
  To: gentoo-commits

dilfridge    12/11/20 21:40:51

  Modified:             generate_libreoffice_package.sh
  Log:
  Build verbose by default
  
  (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key B6C5F7DE)

Revision  Changes    Path
1.8                  app-office/libreoffice/files/generate_libreoffice_package.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?r1=1.7&r2=1.8

Index: generate_libreoffice_package.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- generate_libreoffice_package.sh	18 Nov 2012 12:07:28 -0000	1.7
+++ generate_libreoffice_package.sh	20 Nov 2012 21:40:51 -0000	1.8
@@ -7,7 +7,7 @@
 # What you can set:
 VERSION="3.6.3.2"
 BINVERSION="3.6.3.2"
-OPTS="-q"
+OPTS="-v"
 USEFILE="/etc/portage/package.use/libreo"
 MYPKGDIR="$( portageq pkgdir )"
 ################################################





^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: generate_libreoffice_package.sh
@ 2012-11-30 21:33 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 17+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2012-11-30 21:33 UTC (permalink / raw
  To: gentoo-commits

scarabeus    12/11/30 21:33:44

  Modified:             generate_libreoffice_package.sh
  Log:
  Fiddle with default opts for binary package.
  
  (Portage version: 2.2.0_alpha143/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 8EEE3BE8)

Revision  Changes    Path
1.9                  app-office/libreoffice/files/generate_libreoffice_package.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?r1=1.8&r2=1.9

Index: generate_libreoffice_package.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- generate_libreoffice_package.sh	20 Nov 2012 21:40:51 -0000	1.8
+++ generate_libreoffice_package.sh	30 Nov 2012 21:33:44 -0000	1.9
@@ -44,7 +44,7 @@
 done
 
 # first the default subset of useflags
-IUSES_BASE="bash-completion branding cups dbus gstreamer gtk python vba webdav -aqua -binfilter -jemalloc -mysql -odk -opengl -postgres -svg"
+IUSES_BASE="bash-completion branding cups dbus gstreamer gtk opengl svg vba webdav -aqua -binfilter -jemalloc -mysql -odk -postgres"
 
 ENABLE_EXTENSIONS="presenter-console presenter-minimizer"
 DISABLE_EXTENSIONS="nlpsolver pdfimport scripting-beanshell scripting-javascript wiki-publisher"
@@ -58,7 +58,7 @@
 unset lo_xt
 
 # now for the options
-IUSES_J="java"
+IUSES_J="java libreoffice_extensions_nlpsolver"
 IUSES_NJ="-java"
 IUSES_G="gnome eds"
 IUSES_NG="-gnome -eds"





^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: generate_libreoffice_package.sh
@ 2012-12-10  8:08 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; 17+ messages in thread
From: Andreas HAttel (dilfridge) @ 2012-12-10  8:08 UTC (permalink / raw
  To: gentoo-commits

dilfridge    12/12/10 08:08:30

  Modified:             generate_libreoffice_package.sh
  Log:
  Minor updates
  
  (Portage version: 2.2.0_alpha145/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key B6C5F7DE)

Revision  Changes    Path
1.10                 app-office/libreoffice/files/generate_libreoffice_package.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?r1=1.9&r2=1.10

Index: generate_libreoffice_package.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- generate_libreoffice_package.sh	30 Nov 2012 21:33:44 -0000	1.9
+++ generate_libreoffice_package.sh	10 Dec 2012 08:08:30 -0000	1.10
@@ -5,8 +5,8 @@
 #  * for amd64: CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -g"
 
 # What you can set:
-VERSION="3.6.3.2"
-BINVERSION="3.6.3.2"
+VERSION="3.6.4.3"
+BINVERSION="3.6.4.3"
 OPTS="-v"
 USEFILE="/etc/portage/package.use/libreo"
 MYPKGDIR="$( portageq pkgdir )"
@@ -24,7 +24,7 @@
 	MYFLAGS="-march=i586 -mtune=generic -O2 -pipe -g"
 	ARCH="x86"
 else
-	die "Arch not supported"
+	die "Arch $( uname -m ) not supported"
 fi
 
 for i in \
@@ -39,12 +39,12 @@
 	"/usr/bin/quickpkg"
 do
 	if [ ! -e "${i}" ] ; then
-		die "Missing something in your system"
+		die "Missing some basic utility in your system"
 	fi
 done
 
 # first the default subset of useflags
-IUSES_BASE="bash-completion branding cups dbus gstreamer gtk opengl svg vba webdav -aqua -binfilter -jemalloc -mysql -odk -postgres"
+IUSES_BASE="bash-completion branding cups dbus gstreamer gtk opengl vba webdav -aqua -binfilter -jemalloc -mysql -odk -postgres"
 
 ENABLE_EXTENSIONS="presenter-console presenter-minimizer"
 DISABLE_EXTENSIONS="nlpsolver pdfimport scripting-beanshell scripting-javascript wiki-publisher"
@@ -66,11 +66,12 @@
 IUSES_NK="-kde"
 
 if [ -f /etc/portage/package.use ] ; then
-	die "Please save your package.use and make it as a directory"
+	die "Please save your package.use and re-create it as a directory"
 fi
 
-mkdir -p /etc/portage/package.use/
+mkdir -p /etc/portage/package.use/ || die
 
+mkdir -p "${MYPKGDIR}"
 if [ -z "${MYPKGDIR}" -o ! -d "${MYPKGDIR}" ] ; then
 	die "Anything goes wrong"
 fi
@@ -145,6 +146,6 @@
 
 done
 
-rm -fr ${USEFILE}
+rm -f ${USEFILE} || die "Removing ${USEFILE} failed"
 
-rm -fr libreoffice*${VERSION}*.tbz2
+rm -f libreoffice*${VERSION}*.tbz2 || die "Removing un-split package files failed"





^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: generate_libreoffice_package.sh
@ 2012-12-13 15:29 Agostino Sarubbo (ago)
  0 siblings, 0 replies; 17+ messages in thread
From: Agostino Sarubbo (ago) @ 2012-12-13 15:29 UTC (permalink / raw
  To: gentoo-commits

ago         12/12/13 15:29:41

  Modified:             generate_libreoffice_package.sh
  Log:
  Add splitdebug
  
  (Portage version: 2.1.11.31/cvs/Linux i686, unsigned Manifest commit)

Revision  Changes    Path
1.11                 app-office/libreoffice/files/generate_libreoffice_package.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?r1=1.10&r2=1.11

Index: generate_libreoffice_package.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- generate_libreoffice_package.sh	10 Dec 2012 08:08:30 -0000	1.10
+++ generate_libreoffice_package.sh	13 Dec 2012 15:29:41 -0000	1.11
@@ -79,39 +79,39 @@
 # compile the flavor
 echo "Base"
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_NG} ${IUSES_NK}" > ${USEFILE}
-CFLAGS="${MYFLAGS}" CXXFLAGS="${MYFLAGS}" emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed"
+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"
 
 echo "Base - java"
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_NG} ${IUSES_NK}" > ${USEFILE}
-CFLAGS="${MYFLAGS}" CXXFLAGS="${MYFLAGS}" emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed"
+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"
 
 # kde flavor
 echo "KDE"
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_NG} ${IUSES_K}" > ${USEFILE}
-CFLAGS="${MYFLAGS}" CXXFLAGS="${MYFLAGS}" emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed"
+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"
 
 echo "KDE - java"
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_NG} ${IUSES_K}" > ${USEFILE}
-CFLAGS="${MYFLAGS}" CXXFLAGS="${MYFLAGS}" emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed"
+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"
 
 # gnome flavor
 echo "Gnome"
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_NJ} ${IUSES_G} ${IUSES_NK}" > ${USEFILE}
-CFLAGS="${MYFLAGS}" CXXFLAGS="${MYFLAGS}" emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed"
+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"
 
 echo "Gnome -java"
 echo "app-office/libreoffice ${IUSES_BASE} ${IUSES_J} ${IUSES_G} ${IUSES_NK}" > ${USEFILE}
-CFLAGS="${MYFLAGS}" CXXFLAGS="${MYFLAGS}" emerge ${OPTS} =libreoffice-${VERSION} || die "emerge failed"
+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"
 





^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: generate_libreoffice_package.sh
@ 2013-05-19 15:18 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; 17+ messages in thread
From: Andreas HAttel (dilfridge) @ 2013-05-19 15:18 UTC (permalink / raw
  To: gentoo-commits

dilfridge    13/05/19 15:18:48

  Modified:             generate_libreoffice_package.sh
  Log:
  Update script
  
  (Portage version: 2.2.0_alpha175/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!)

Revision  Changes    Path
1.12                 app-office/libreoffice/files/generate_libreoffice_package.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?r1=1.11&r2=1.12

Index: generate_libreoffice_package.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- generate_libreoffice_package.sh	13 Dec 2012 15:29:41 -0000	1.11
+++ generate_libreoffice_package.sh	19 May 2013 15:18:48 -0000	1.12
@@ -5,8 +5,8 @@
 #  * for amd64: CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -g"
 
 # What you can set:
-VERSION="3.6.4.3"
-BINVERSION="3.6.4.3"
+VERSION="3.6.6.2"
+BINVERSION="3.6.6.2"
 OPTS="-v"
 USEFILE="/etc/portage/package.use/libreo"
 MYPKGDIR="$( portageq pkgdir )"





^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: generate_libreoffice_package.sh
@ 2013-07-13 18:44 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; 17+ messages in thread
From: Andreas HAttel (dilfridge) @ 2013-07-13 18:44 UTC (permalink / raw
  To: gentoo-commits

dilfridge    13/07/13 18:44:04

  Modified:             generate_libreoffice_package.sh
  Log:
  Minor adaptions to build script
  
  (Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!)

Revision  Changes    Path
1.13                 app-office/libreoffice/files/generate_libreoffice_package.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?r1=1.12&r2=1.13

Index: generate_libreoffice_package.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- generate_libreoffice_package.sh	19 May 2013 15:18:48 -0000	1.12
+++ generate_libreoffice_package.sh	13 Jul 2013 18:44:04 -0000	1.13
@@ -5,8 +5,8 @@
 #  * for amd64: CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -g"
 
 # What you can set:
-VERSION="3.6.6.2"
-BINVERSION="3.6.6.2"
+VERSION="4.0.4.2"
+BINVERSION="4.0.4.2"
 OPTS="-v"
 USEFILE="/etc/portage/package.use/libreo"
 MYPKGDIR="$( portageq pkgdir )"
@@ -44,7 +44,7 @@
 done
 
 # first the default subset of useflags
-IUSES_BASE="bash-completion branding cups dbus gstreamer gtk opengl vba webdav -aqua -binfilter -jemalloc -mysql -odk -postgres"
+IUSES_BASE="bash-completion branding cups dbus gstreamer gtk opengl vba webdav -aqua -binfilter -bluetooth -debug -jemalloc -mysql -odk -postgres -telepathy"
 
 ENABLE_EXTENSIONS="presenter-console presenter-minimizer"
 DISABLE_EXTENSIONS="nlpsolver pdfimport scripting-beanshell scripting-javascript wiki-publisher"





^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: generate_libreoffice_package.sh
@ 2013-07-14 11:42 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; 17+ messages in thread
From: Andreas HAttel (dilfridge) @ 2013-07-14 11:42 UTC (permalink / raw
  To: gentoo-commits

dilfridge    13/07/14 11:42:24

  Modified:             generate_libreoffice_package.sh
  Log:
  Add workaround for bug 473974
  
  (Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!)

Revision  Changes    Path
1.14                 app-office/libreoffice/files/generate_libreoffice_package.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?r1=1.13&r2=1.14

Index: generate_libreoffice_package.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- generate_libreoffice_package.sh	13 Jul 2013 18:44:04 -0000	1.13
+++ generate_libreoffice_package.sh	14 Jul 2013 11:42:24 -0000	1.14
@@ -12,6 +12,9 @@
 MYPKGDIR="$( portageq pkgdir )"
 ################################################
 
+# bug 473974
+export LC_MESSAGES=C
+
 die() {
         echo "${1}"
         exit 1





^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: generate_libreoffice_package.sh
@ 2013-10-23 20:10 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; 17+ messages in thread
From: Andreas HAttel (dilfridge) @ 2013-10-23 20:10 UTC (permalink / raw
  To: gentoo-commits

dilfridge    13/10/23 20:10:24

  Modified:             generate_libreoffice_package.sh
  Log:
  Minor updates to build script
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!)

Revision  Changes    Path
1.15                 app-office/libreoffice/files/generate_libreoffice_package.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?r1=1.14&r2=1.15

Index: generate_libreoffice_package.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- generate_libreoffice_package.sh	14 Jul 2013 11:42:24 -0000	1.14
+++ generate_libreoffice_package.sh	23 Oct 2013 20:10:24 -0000	1.15
@@ -5,8 +5,8 @@
 #  * for amd64: CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -g"
 
 # What you can set:
-VERSION="4.0.4.2"
-BINVERSION="4.0.4.2"
+VERSION="4.1.2.3"
+BINVERSION="4.1.2.3"
 OPTS="-v"
 USEFILE="/etc/portage/package.use/libreo"
 MYPKGDIR="$( portageq pkgdir )"
@@ -47,7 +47,7 @@
 done
 
 # first the default subset of useflags
-IUSES_BASE="bash-completion branding cups dbus gstreamer gtk opengl vba webdav -aqua -binfilter -bluetooth -debug -jemalloc -mysql -odk -postgres -telepathy"
+IUSES_BASE="bash-completion branding cups dbus gstreamer gtk opengl vba webdav -aqua -binfilter -bluetooth -debug -gtk3 -jemalloc -mysql -odk -postgres -telepathy"
 
 ENABLE_EXTENSIONS="presenter-console presenter-minimizer"
 DISABLE_EXTENSIONS="nlpsolver pdfimport scripting-beanshell scripting-javascript wiki-publisher"





^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: generate_libreoffice_package.sh
@ 2013-10-31 18:47 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; 17+ messages in thread
From: Andreas HAttel (dilfridge) @ 2013-10-31 18:47 UTC (permalink / raw
  To: gentoo-commits

dilfridge    13/10/31 18:47:32

  Modified:             generate_libreoffice_package.sh
  Log:
  Adapt build script for new machine
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 84AD142F)

Revision  Changes    Path
1.16                 app-office/libreoffice/files/generate_libreoffice_package.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.16&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?rev=1.16&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh?r1=1.15&r2=1.16

Index: generate_libreoffice_package.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/files/generate_libreoffice_package.sh,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- generate_libreoffice_package.sh	23 Oct 2013 20:10:24 -0000	1.15
+++ generate_libreoffice_package.sh	31 Oct 2013 18:47:32 -0000	1.16
@@ -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 "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 @@
   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"





^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: generate_libreoffice_package.sh
@ 2013-11-01 17:04 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; 17+ messages in thread
From: Andreas HAttel (dilfridge) @ 2013-11-01 17:04 UTC (permalink / raw
  To: gentoo-commits

dilfridge    13/11/01 17:04:48

  Removed:              generate_libreoffice_package.sh
  Log:
  Move build scripts to https://gitorious.org/gentoo-stuff/lo-bin-build
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 84AD142F)


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-11-01 17:04 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-13 15:29 [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: generate_libreoffice_package.sh Agostino Sarubbo (ago)
  -- strict thread matches above, loose matches on Subject: below --
2013-11-01 17:04 Andreas HAttel (dilfridge)
2013-10-31 18:47 Andreas HAttel (dilfridge)
2013-10-23 20:10 Andreas HAttel (dilfridge)
2013-07-14 11:42 Andreas HAttel (dilfridge)
2013-07-13 18:44 Andreas HAttel (dilfridge)
2013-05-19 15:18 Andreas HAttel (dilfridge)
2012-12-10  8:08 Andreas HAttel (dilfridge)
2012-11-30 21:33 Tomas Chvatal (scarabeus)
2012-11-20 21:40 Andreas HAttel (dilfridge)
2012-11-18 12:07 Andreas HAttel (dilfridge)
2012-11-18 12:02 Agostino Sarubbo (ago)
2012-11-14 22:32 Agostino Sarubbo (ago)
2012-08-01  9:00 Andreas HAttel (dilfridge)
2012-06-02  9:41 Andreas HAttel (dilfridge)
2012-05-27 15:30 Andreas HAttel (dilfridge)
2012-01-11 12:10 Tomas Chvatal (scarabeus)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox