From f1881f0c7701d5fb9bd6973778ab58fc6c95bbbc Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Wed, 11 Jan 2012 12:10:57 +0000 Subject: [PATCH] Add the binary generator script. Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64 --- app-office/libreoffice/ChangeLog | 6 +- app-office/libreoffice/Manifest | 29 ++++----- .../files/generate_libreoffice_package.sh | 62 +++++++++++++++++++ 3 files changed, 82 insertions(+), 15 deletions(-) create mode 100644 app-office/libreoffice/files/generate_libreoffice_package.sh diff --git a/app-office/libreoffice/ChangeLog b/app-office/libreoffice/ChangeLog index 959a94024b93..c47e6a93c3ff 100644 --- a/app-office/libreoffice/ChangeLog +++ b/app-office/libreoffice/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-office/libreoffice # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.225 2012/01/11 11:16:10 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.226 2012/01/11 12:10:57 scarabeus Exp $ + + 11 Jan 2012; Tomáš Chvátal + +files/generate_libreoffice_package.sh: + Add the binary generator script. *libreoffice-3.4.99.3 (11 Jan 2012) diff --git a/app-office/libreoffice/Manifest b/app-office/libreoffice/Manifest index 4fae2d2f2562..93e7eb923f23 100644 --- a/app-office/libreoffice/Manifest +++ b/app-office/libreoffice/Manifest @@ -4,6 +4,7 @@ Hash: SHA1 AUX enable-startup-notification.diff 6377 RMD160 6a5cc928ea3da3fb1428d0e0bbd2d4635c1da8ec SHA1 413f54a589f910e5e2401dec0025617028fdc361 SHA256 da334268ba47e5b25c72063ececbb0619f2033eab7bfafbd58e981c361b72f3a AUX env_log.diff 617 RMD160 480edf4962e8d55f82a4103297c3cc10a1bd4f3e SHA1 b655566079c408e72f1046262fe269ba8bf66040 SHA256 efb99da32fcc2029418b4c4c080ccc97cb622fcc24a6a6dd69d8cc5508c54bf1 AUX fix-ooo-collision.diff 1253 RMD160 6ad0355c7530d5fe490ea377ed10e047926f2ff7 SHA1 41a3a26973f95531cf76a673eb7b7bab5c50de91 SHA256 991f311611f812699c8d39df85d64d9041d6033ddd73d4aed10ba019406733e4 +AUX generate_libreoffice_package.sh 2586 RMD160 5a5059446e8ec1172bce8f69d3419f963c7e7e97 SHA1 95f8beeaa7603a75ec361bd109a60f76dbfd0d99 SHA256 8b48315f2f830136b1950cf1bfe50ba15c051404cd61155b76e553240b29d18b AUX gentoo-3.3.1.diff 2271 RMD160 ecd7bd0a6c34861ad3ef0bee8017a288286644c0 SHA1 0597c7e692873f128a898d1904445b9bbb06e6e8 SHA256 00b5b5fc5dbeafa18874575e78e6b3348d1293662b9c036ca918517a54edf1b6 AUX gentoo-3.3.2.diff 1710 RMD160 406448b0b05ff95cf23d5e13a3a9e102955f296b SHA1 0149b456d80da07fea047c2443becf316f2711a2 SHA256 e31ebd94a154338e527976d24354917e01e9ca4ff54917e2a697d2cc2bca672e AUX gentoo-pythonpath.diff 173 RMD160 dacec2c40bd4bd8e2c07fb849afb6f3fe3643371 SHA1 1430513326652f7b09eb04ee8f420532ac60b5c2 SHA256 de9316222af0f197a11041ba1105bfd070ba31cbcc1a2a212641d911b728ed5a @@ -180,22 +181,22 @@ EBUILD libreoffice-3.4.5.2.ebuild 15020 RMD160 f3f35ff7d0efa6f84258d64b0f9d6eb31 EBUILD libreoffice-3.4.99.3.ebuild 13999 RMD160 1b055f76609c12f6c66a4ba8104239fca52f0ee4 SHA1 2e4f47e8b1e2c713a8d894d199c3aef1f3e7f344 SHA256 462c665b11b854b5a4acc0fa816467ec7bf1af5a6fd29cc3bb565fa19facde42 EBUILD libreoffice-3.5.9999.ebuild 13999 RMD160 a97b9c96b1c0c0f076e945fb12b4f955ec539915 SHA1 c19643e5d0aaa5a9a0cb8feb47038a9202f5917b SHA256 3e428eb8d24f8d690239fb94472dfde6e1c6c63163a8e2a4f4c143ff6dd68e67 EBUILD libreoffice-9999-r2.ebuild 14069 RMD160 46428f00afc92a57e77c3128753c4f8027ac0a98 SHA1 ad89353db2bf4de7553f0482b851051604b05923 SHA256 6fe85994f8c3a6d434a68163e418b50a335c0747b5c889acf6c992a46364ea48 -MISC ChangeLog 41095 RMD160 cc0e7a11600ac34accd7696ed8c59270a845c0bd SHA1 3a9e07e253301c65adbc5a67ccd3743267114231 SHA256 3226b8d5baddd7664aa3e0b1e94a3c56b5b9cdc0aa6fe3dfbc3c2415ea8be5e8 +MISC ChangeLog 41228 RMD160 a5c03f12cee6d1496926db135d7457b4c72f09f9 SHA1 75172e0641f1da449ea18d691003f8516330fe53 SHA256 7f3ae7cc85eccc8f14a775d850c9de5686373b310e3364e766ffd410dabbedb8 MISC metadata.xml 1409 RMD160 9861b490a44757ecaebb14ac28eec292f347ac3f SHA1 268b78192669f12c513fd7b68fe588f140ea2e1b SHA256 862a214105b2f7b07a015d656794aac9b94a3f40b3f8cbf74a5299f990b82b2e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iQIcBAEBAgAGBQJPDW+EAAoJEOSiRoyO7jvofyEP/0k9GDi8mIHFo2gElguyO4CT -0FTWmXSnMmp46ak/kUiCZ6SmBTFUApEDRzzKSTU25akrQF7mSMBzGCvWWFEp0uUp -hCrGO15LOhujT9kQ848ORMYKUh0lFPvF1/wrJbst2YXYTw44qGsw+7gylOZjdU7d -cOSa8nSGnnsMvokbNz1yDYG/GMkBQDzsvk/N71LCPZ05xHaVBlIaeRlcbOKmuGzG -Y3GtclEyOElzF/RNcnAss/D1+IZT+IlEX2epbB4rYLmchqCHJP662tbz8fvwEtBI -F4flW8DVe8gWZgw7TJqv1D1kwkuIekeOA/ixQY1K7QvxSoaCj3d0cQNNfzV8yZWR -cScWiFCEsy6uQCAmeiFjWm8SK7LxSalKwKYFguoObxq7pQlSqOYQOzRd9brSxygF -DDVC/eQdbzZK6pLzobnKkQM3D30V/CiOEyZy9t8yPhOmqAgHMrxeqej5fnjVjOYV -cSed7uJ+uREHmoiys5k864FFzARnOMMAyrPB56Dhnr6vA0c7szcL7LYkatV6S1Y9 -UuaEILCmIMJOXgf6HycA4smy4266joVZ4+lfShK5gNv5vojYObcKEe9gid+rJwGC -MO7hR5dmy5Q79jj2P26ar85oPjty8aTXX5Z5QYAk1iXWbEkZOYbw960b5sDQpHm0 -/hBEhqZRhpbLQCk8CJDw -=3XK7 +iQIcBAEBAgAGBQJPDXxsAAoJEOSiRoyO7jvoIaMP/2kxtWNY7nYObp45HI2eGZog +MHkCPQ5qbdLxH8Ruo6YFdfWF+Duc+d9EgSrSwjnt4/h8i9ztf/DlE7rimKYQ12q2 +LGjSWHtJicJI3heiJuAgNAdEeT1TcJBMyXc10XzogetrgfDqmrFa68Hs7kcNAF1U +XMOsqGKPvVZsTsIycy/8AxwfYBJNPqBQjR4JbHwkHEekZZHgR0AMw2HaiBITTKmw +o4JgA41h9gzZXYyvlopr+gbm7mJNwRFcy2B+x0Jt1MuH57WrODeVIROugps2AvFq +Ch5ZdVB2UyaCC8ygYXuUbZ0PVP7dIejYGbRWDabi96olaZ4LAXS/Lr1ovj4rBNDO +QoUivWOBzQxoF+JL88JXkPWiqWAmnuKZodkN8U+ruuZ43v532jPTVDwlyCiMBuVw +HByUclG8BRG+4GD8PpshKfwdjZg5AQRu+n5FS5+1vBhinEbxsxIhnSjr0gykwbw6 +zzWJkpEE1jXM1XDU9tn7be6jKqZDXWImh2tKA+sd2uVHVFYG44WKl4pNXTi3OaVh +Ljih6By395VEKrbjB/psmYMzCaaSqqVF77vyQckVmX95R2RCjq/zLfJx9/MF3OAg +cY9dgH3s4EOmr2/mpw3gVq1DCUoaJi6ZigvjGz/JQpfIvuRqvuOv7rQ9kqn4bUnp +SNKGLXn8clWophZcYY72 +=8Tag -----END PGP SIGNATURE----- diff --git a/app-office/libreoffice/files/generate_libreoffice_package.sh b/app-office/libreoffice/files/generate_libreoffice_package.sh new file mode 100644 index 000000000000..97aa1d0c2d59 --- /dev/null +++ b/app-office/libreoffice/files/generate_libreoffice_package.sh @@ -0,0 +1,62 @@ +#!/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" + + -- 2.26.2