diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-office/libreoffice-bin | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-office/libreoffice-bin')
-rw-r--r-- | app-office/libreoffice-bin/Manifest | 12 | ||||
-rw-r--r-- | app-office/libreoffice-bin/files/50-libreoffice-bin | 3 | ||||
-rw-r--r-- | app-office/libreoffice-bin/libreoffice-bin-4.4.4.3.ebuild | 234 | ||||
-rw-r--r-- | app-office/libreoffice-bin/metadata.xml | 8 |
4 files changed, 257 insertions, 0 deletions
diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest new file mode 100644 index 000000000000..d7e21472340b --- /dev/null +++ b/app-office/libreoffice-bin/Manifest @@ -0,0 +1,12 @@ +DIST amd64-bin-libreoffice-4.4.4.3.tar.xz 71656204 SHA256 8c838a38daee18512ece720f87d4d2eb4ee5796fc24dd5f3c3e5d7213d01dbb4 SHA512 94b8d8124892876523d6a26c64ebad1059cad6133c83bf38520672e90508aab9edd27e4ffed4312da503f4503a331d9652a50c0211fa19b955c033fe4e222fb7 WHIRLPOOL 6a02a91b53a45c0f00504d37e93511a09e0567aac6bddf85298a91a3903d5c583652c4691bf8fd0f13ede635fb5c9c68e7a4bef3f8a3005f5d04a8c6b87890e1 +DIST amd64-bin-libreoffice-gnome-4.4.4.3.xd3 427570 SHA256 0526ad6e76b65efbddbab1a55fbe0c712caf001786dc4b2286ddf01fcb1b44cd SHA512 03e1313a747f397621c348399f80d07e201186b0d67e0360990e5997c71cbcaff7ad27ebdf5a56c2e249048ac56158801f411cfe0ef78f069d06c5cdd0c4a88a WHIRLPOOL 2e2106fb81fbaa1dff40b12bb41e7e24d65142fdaf5f5bfcd2334d3baa231f4ca0931ba32c71f793a4ba8702e33d33e169dd2eddca52aaf34c96bb8a22b4cf69 +DIST amd64-bin-libreoffice-gnome-java-4.4.4.3.xd3 23884562 SHA256 064d363488e8904f7f7eedd67dc05ade77817e758b56868a32c367b85e9690e6 SHA512 ccb1e73ea9a90262530105af897fe08cecbae40513ebe15903d744a161eb1a0d5431a39faa8cc1ca4cae7e6e3a459143ea7dd8479680e7167755aa3322c9541b WHIRLPOOL c6b47323a4d2239862541842f7431347dec399389e44a355987a0fd8fffa0455d07db621449348174125f48145994366b76171a84e1795a21bde59bf7fcf0c16 +DIST amd64-bin-libreoffice-java-4.4.4.3.xd3 23498049 SHA256 da49bd58908cbdf8695239afcc4edb3105a505336952b20d445dbc50a028c719 SHA512 2bc0f9de551c39d6cce1e0435c4f33ad44e77c5a0849c6796c197227c6d5242e93c9d758cdeb785f3ff386cfedb7a6d8f8d0c7dded0f96aed340a30cedcf69c9 WHIRLPOOL f7caaa39494251805c16c7d907ed6071bc9f41759e16f5164b669c7802d4520e8f9e2a715816c246315567e7b1876d895b2a924837159c8151be61ffd98cb775 +DIST amd64-bin-libreoffice-kde-4.4.4.3.xd3 7440586 SHA256 1e07febea773a07d0c826ecebad05b56617a785528c72290fbd24ea44d4f4e2a SHA512 de7bdf0147de7e72cc3c55e6d99ece43faf0a0ee9498963c286dd4fe3c2534df868f4bb33cce0a0c573c6be8c178f44e204aaf1860bc935a290f1f2b8bbda986 WHIRLPOOL 1a0c8ddcd2cbf48ee87be92963fb6aee6836d105fd11f84e4cc2db3832aa3915d266dc9ac5e3833fd84854d8d0bf0fbd8558ae91354abf8136e05097e942aea3 +DIST amd64-bin-libreoffice-kde-java-4.4.4.3.xd3 23630980 SHA256 be03ae86265cd35f5ceece55c5525e01bac19b9d9b83cc87d203aa8be91458fc SHA512 e3ec81bf40f9abd77fbfada1847e38be89d677570c7eb5db43b522d89af10c7717e3f2fa220597f213ff81d87c0a518028eb9d06108cebc36d5fc9b40747b0d6 WHIRLPOOL 1254cde64f901bb63d86d69f992dc8acf8a2a5e1ecb2ef358708a9ae057649c50ac73647b5822bca059df23edb29228a6239b2ee1257c205c95803745517311d +DIST x86-bin-libreoffice-4.4.4.3.tar.xz 70099700 SHA256 c09b7c4072f444e5166c774ada0c6df7cf8e7d1b36f35bf4b89aa0b942052579 SHA512 5adfc9d80ff589c4472f0806f63ca1f99781af2672f9d143cfa57fc3bb5077432b26801a05538a56e0007d0c4b7cb502dcc0adf0925cf29f80ca145a1564849c WHIRLPOOL ad16cb0ca8fe35c67dfd01689ceff5314be4520fa72da404eb3d365c1f0a94b9b29fae848d9c82f57d96b8534727f2d8744dd38ab53c693a8b2035e1742116b4 +DIST x86-bin-libreoffice-gnome-4.4.4.3.xd3 388744 SHA256 f5dda341c22377481e86d4f2fad60ff3cd41764c1a1bcafbbd7f9336a3fcd994 SHA512 dde7fc5c051e3f64e370a62a391a24a814ff949aea4115c108aa88766a6355dcc08f5f7111ff75e36e9593f8908e5815c3d5f9c980f8e8388f8ce977566357df WHIRLPOOL 436d9dc5ad314ebf5a6802e3102adb3a617f500ba09f5c3cfc584cd07b6f9cd13c7d9c1e960b99dc022e3b01b84f7a38b4cbadb17ec8d5589150842be882691f +DIST x86-bin-libreoffice-gnome-java-4.4.4.3.xd3 21684989 SHA256 dcd6b02ca2fdc1dffe3b6c73122f0d38b84e087a26dc62e42968789bff788b0c SHA512 b6d9c5c2f83cebfc8bdde049fdcc5a60d9fa899b68a4f66533e6d93ac0fa177cfaf3897edf00ea6dfc4b70e4c217f73e733b5087cdea81b372b4a5442ac829a3 WHIRLPOOL f72318613fda8cd4030544aaa541f7465db0303ec969f95f9d88e554ae7ed06a490c48bb989a8142c34ff2680b98a494772a1c36f45ecaed47656a8971d7a390 +DIST x86-bin-libreoffice-java-4.4.4.3.xd3 22083608 SHA256 91f95a1f7f3b0a1b086e6ff6e26ed2ef8fea6b1e81ec95b2d8c70309ee08f76b SHA512 55c3e92af4f324b4b5b3576e707e590b4502db09beb6cf6dbc0631151f5975a4b96bb1576655946409ac739178350642764f5500db3301853eba396fb8023753 WHIRLPOOL b0b685775f7630cac18cac321a8f6532511a3bcfd490d832d4a86a1826a9037010ffe921f0148b00bd1734cf1eb10b61a6448b062acb87a4296f5d52bb980e1b +DIST x86-bin-libreoffice-kde-4.4.4.3.xd3 5161390 SHA256 3dcbfb8d995d488e508e82d4c905cd75fc580b0e516a15f3f981fa7e2e6ffaa4 SHA512 bbee6c439ecc8ec002cb54aede911fbf42a6c5229b8b4b15eff83e75888647dc0311374a3a37ce0a97ef9b5b7547df2b4ef3626a875c6b8820bcd6d08af3908b WHIRLPOOL a18c20d2e56be73ed19a5396c8f3dc017e7876f61633c30757fc65c8e5a9ea4b8f3be0d5bd96754de12154b4aef99604370c47509563526dee0b2366498f1fe8 +DIST x86-bin-libreoffice-kde-java-4.4.4.3.xd3 22178172 SHA256 1893ff213d8ef43e59cad8e457ed9c2508b563eaad8e30bdbc155b797d75d495 SHA512 364f4ae09028a16ac1149e84c5ae96fc3fe252f7c268c1c90f4e5f3ef75b78b56bc4f4789cc63ec1686426e80d4fde4b573740afa51a236ead7908074954c905 WHIRLPOOL 1d558064fe6d8508f404cb727ac8daae7e45303f78f40e59f531ed1a19bce9cc6e36ceee4ac1ec3b871a01697ea38428b863c1b88a0ca5dd63631c8e2ffafcb2 diff --git a/app-office/libreoffice-bin/files/50-libreoffice-bin b/app-office/libreoffice-bin/files/50-libreoffice-bin new file mode 100644 index 000000000000..1c30771209a1 --- /dev/null +++ b/app-office/libreoffice-bin/files/50-libreoffice-bin @@ -0,0 +1,3 @@ +SEARCH_DIRS_MASK="@GENTOO_PORTAGE_EPREFIX@/usr/lib/libreoffice +@GENTOO_PORTAGE_EPREFIX@/usr/lib32/libreoffice +@GENTOO_PORTAGE_EPREFIX@/usr/lib64/libreoffice" diff --git a/app-office/libreoffice-bin/libreoffice-bin-4.4.4.3.ebuild b/app-office/libreoffice-bin/libreoffice-bin-4.4.4.3.ebuild new file mode 100644 index 000000000000..e2c1e9bcd64c --- /dev/null +++ b/app-office/libreoffice-bin/libreoffice-bin-4.4.4.3.ebuild @@ -0,0 +1,234 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +KDE_REQUIRED="optional" +CMAKE_REQUIRED="never" + +BASE_PACKAGENAME="bin" +BASE_AMD64_URI="http://packages.gentooexperimental.org/packages/amd64-libreoffice/amd64-${BASE_PACKAGENAME}-" +BASE_X86_URI="http://packages.gentooexperimental.org/packages/x86-libreoffice/x86-${BASE_PACKAGENAME}-" + +PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) +PYTHON_REQ_USE="threads,xml" + +inherit kde4-base java-pkg-opt-2 python-single-r1 pax-utils prefix versionator + +DESCRIPTION="LibreOffice, a full office productivity suite. Binary package" +HOMEPAGE="http://www.libreoffice.org" +SRC_URI_AMD64=" + ${BASE_AMD64_URI}libreoffice-${PVR}.tar.xz + kde? ( + !java? ( ${BASE_AMD64_URI}libreoffice-kde-${PVR}.xd3 ) + java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PVR}.xd3 ) + ) + gnome? ( + !java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PVR}.xd3 ) + java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PVR}.xd3 ) + ) + !kde? ( !gnome? ( + java? ( ${BASE_AMD64_URI}libreoffice-java-${PVR}.xd3 ) + ) ) +" +SRC_URI_X86=" + ${BASE_X86_URI}libreoffice-${PVR}.tar.xz + kde? ( + !java? ( ${BASE_X86_URI}libreoffice-kde-${PVR}.xd3 ) + java? ( ${BASE_X86_URI}libreoffice-kde-java-${PVR}.xd3 ) + ) + gnome? ( + !java? ( ${BASE_X86_URI}libreoffice-gnome-${PVR}.xd3 ) + java? ( ${BASE_X86_URI}libreoffice-gnome-java-${PVR}.xd3 ) + ) + !kde? ( !gnome? ( + java? ( ${BASE_X86_URI}libreoffice-java-${PVR}.xd3 ) + ) ) +" + +SRC_URI=" + amd64? ( ${SRC_URI_AMD64} ) + x86? ( ${SRC_URI_X86} ) +" + +IUSE="gnome java kde" +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="-* amd64 x86" + +BIN_COMMON_DEPEND=" + =app-text/libexttextcat-3.4* + =app-text/libmwaw-0.3* + app-text/poppler:0/51 + dev-libs/boost:0/1.56.0 + dev-libs/icu:0/55 + =media-gfx/graphite2-1.2* + media-libs/glew:0/1.10 + media-libs/harfbuzz:0/0.9.18[icu] + media-libs/libpng:0/16 + >=sys-libs/glibc-2.20-r2 + virtual/jpeg:62 + kde? ( >=kde-base/kdelibs-4.14.8:4 >=dev-qt/qtcore-4.8.6-r2:4 >=dev-qt/qtgui-4.8.6-r4:4 ) +" + +# PLEASE place any restrictions that are specific to the binary builds +# into the BIN_COMMON_DEPEND block above. +# All dependencies below this point should remain identical to those in +# the source ebuilds. + +COMMON_DEPEND=" + ${BIN_COMMON_DEPEND} + ${PYTHON_DEPS} + app-arch/zip + app-arch/unzip + >=app-text/hunspell-1.3.2-r3 + app-text/mythes + >=app-text/libabw-0.1.0 + >=app-text/libexttextcat-3.2 + >=app-text/libebook-0.1.1 + >=app-text/libetonyek-0.1.1 + app-text/liblangtag + >=app-text/libmspub-0.1.0 + >=app-text/libmwaw-0.3.4 + >=app-text/libodfgen-0.1.0 + app-text/libwpd:0.10[tools] + app-text/libwpg:0.3 + =app-text/libwps-0.3* + >=app-text/poppler-0.16:=[xpdf-headers(+),cxx] + >=dev-cpp/clucene-2.3.3.4-r2 + =dev-cpp/libcmis-0.5* + dev-db/unixODBC + >=dev-libs/boost-1.55:= + dev-libs/expat + >=dev-libs/hyphen-2.7.1 + >=dev-libs/icu-4.8.1.1:= + =dev-libs/liborcus-0.7* + >=dev-libs/librevenge-0.0.1 + >=dev-libs/nspr-4.8.8 + >=dev-libs/nss-3.12.9 + >=dev-lang/perl-5.0 + >=dev-libs/openssl-1.0.0d:0 + >=dev-libs/redland-1.0.16 + media-gfx/graphite2 + >=media-libs/fontconfig-2.8.0 + media-libs/freetype:2 + >=media-libs/glew-1.10 + >=media-libs/harfbuzz-0.9.18:=[icu(+)] + media-libs/lcms:2 + >=media-libs/libpng-1.4:0= + >=media-libs/libcdr-0.1.0 + >=media-libs/libfreehand-0.1.0 + media-libs/libpagemaker + >=media-libs/libvisio-0.1.0 + >=net-misc/curl-7.21.4 + net-libs/neon + net-nds/openldap + sci-mathematics/lpsolve + virtual/jpeg:0 + >=x11-libs/cairo-1.10.0[X] + x11-libs/libXinerama + x11-libs/libXrandr + x11-libs/libXrender + virtual/glu + virtual/opengl + net-print/cups + >=dev-libs/dbus-glib-0.92 + gnome? ( gnome-extra/evolution-data-server ) + gnome? ( gnome-base/gconf:2 ) + x11-libs/gdk-pixbuf[X] + >=x11-libs/gtk+-2.24:2 + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 +" + +RDEPEND="${COMMON_DEPEND} + !app-office/libreoffice + !<app-office/openoffice-bin-3.4.0-r1 + !app-office/openoffice + media-fonts/libertine + media-fonts/liberation-fonts + media-fonts/urw-fonts + java? ( >=virtual/jre-1.6 ) + kde? ( $(add_kdeapps_dep kioclient) ) +" + +PDEPEND=" + =app-office/libreoffice-l10n-${PV}* +" + +DEPEND="dev-util/xdelta:3" + +# only one flavor at a time +REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde )" + +RESTRICT="test strip" + +S="${WORKDIR}" + +PYTHON_UPDATER_IGNORE="1" + +pkg_pretend() { + [[ $(gcc-major-version) -lt 4 ]] || \ + ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 4 ]] ) \ + && die "Sorry, but gcc-4.4 and earlier won't work for libreoffice-bin package (see bug #387515)." +} + +pkg_setup() { + kde4-base_pkg_setup +} + +src_unpack() { + einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" + xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die + + local patchname + use kde && patchname="-kde" + use gnome && patchname="-gnome" + use java && patchname="${patchname}-java" + + if [ -n "${patchname}" ]; then + einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" + xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die + mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die + fi + + einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" + unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" +} + +src_prepare() { + cp "${FILESDIR}"/50-${PN} "${T}" + eprefixify "${T}"/50-${PN} +} + +src_configure() { :; } + +src_compile() { :; } + +src_install() { + dodir /usr + cp -aR "${S}"/usr/* "${ED}"/usr/ + + # prevent revdep-rebuild from attempting to rebuild all the time + insinto /etc/revdep-rebuild && doins "${T}/50-${PN}" +} + +pkg_preinst() { + # Cache updates - all handled by kde eclass for all environments + kde4-base_pkg_preinst +} + +pkg_postinst() { + kde4-base_pkg_postinst + + pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/soffice.bin + pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin + + use java || \ + ewarn 'If you plan to use lbase application you should enable java or you will get various crashes.' +} + +pkg_postrm() { + kde4-base_pkg_postrm +} diff --git a/app-office/libreoffice-bin/metadata.xml b/app-office/libreoffice-bin/metadata.xml new file mode 100644 index 000000000000..105fb43a3ff0 --- /dev/null +++ b/app-office/libreoffice-bin/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>openoffice</herd> + <maintainer><email>dilfridge@gentoo.org</email></maintainer> + <longdescription>LibreOffice is a free office suite. +This is the binary version of Libreoffice. Use this if you don't want to wait for the source version to build.</longdescription> +</pkgmetadata> |