parent
671742a845
commit
5fbcbaa58a
@ -1,3 +1,4 @@
|
|||||||
DIST lxd-0.20.tar.bz2 2687718 SHA256 a071b92015f676746137e1ffeab1886d90297d0d5832bbf5ee6aff081acc4840 SHA512 2064daa7d1aeb4764a15d559e3d4178918942d82dbba31e964d713aab48d2ee30ce6a63632701c41b13de4aea541acd76d55b52f12de10a99ffeaa3cb945ad44 WHIRLPOOL 1ffa9d6bf1cb7132b82e731002eae7b7ff3544fb03958827916c2e00e02a0bdd10bbadd2401f7799187c2c0338987f24b46d8e138131f7df888162e56b3f4fe5
|
DIST lxd-0.20.tar.bz2 2687718 SHA256 a071b92015f676746137e1ffeab1886d90297d0d5832bbf5ee6aff081acc4840 SHA512 2064daa7d1aeb4764a15d559e3d4178918942d82dbba31e964d713aab48d2ee30ce6a63632701c41b13de4aea541acd76d55b52f12de10a99ffeaa3cb945ad44 WHIRLPOOL 1ffa9d6bf1cb7132b82e731002eae7b7ff3544fb03958827916c2e00e02a0bdd10bbadd2401f7799187c2c0338987f24b46d8e138131f7df888162e56b3f4fe5
|
||||||
DIST lxd-0.21.tar.bz2 2683517 SHA256 06e9ed72d1d45af532664e47d9772a886dc1d757e83d673498b05798249c66c8 SHA512 588225ed77cd8a86b34579ee3f3b2b3ba8166ce9d85872e6076fa5075bc5a3846c82255dee6e701a6d51bdd9bf8280bbd5fab08ca4438de5320de8f0388685eb WHIRLPOOL c85f103e38f44c4cd859faf330764c3d076cede6d09f976b4686d7f91b6ca233e09721df418493fed19cb8bf3118b2a0a6723f3084da532bba4a5344de8a4b9c
|
DIST lxd-0.21.tar.bz2 2683517 SHA256 06e9ed72d1d45af532664e47d9772a886dc1d757e83d673498b05798249c66c8 SHA512 588225ed77cd8a86b34579ee3f3b2b3ba8166ce9d85872e6076fa5075bc5a3846c82255dee6e701a6d51bdd9bf8280bbd5fab08ca4438de5320de8f0388685eb WHIRLPOOL c85f103e38f44c4cd859faf330764c3d076cede6d09f976b4686d7f91b6ca233e09721df418493fed19cb8bf3118b2a0a6723f3084da532bba4a5344de8a4b9c
|
||||||
DIST lxd-0.22.tar.bz2 2685133 SHA256 66dc30b82fba7f606658280d0dbac67a32152644a403ab00285fc3907b50082e SHA512 ab5384143edd03dfa1ef956c64e9fce2d845ce07c5388f719c202fd1ff9059282e104400f39f23ff1c4fefc8a23dd1d4c6c9094b497c40c659b087989bf07d44 WHIRLPOOL 27559c50f6aa55edb533046bb49b04784c63003569e7920261504a7b4c69891a80ff8432421352c13f274bb21876f2cf5266e9de2b1302d69e0254be87c17137
|
DIST lxd-0.22.tar.bz2 2685133 SHA256 66dc30b82fba7f606658280d0dbac67a32152644a403ab00285fc3907b50082e SHA512 ab5384143edd03dfa1ef956c64e9fce2d845ce07c5388f719c202fd1ff9059282e104400f39f23ff1c4fefc8a23dd1d4c6c9094b497c40c659b087989bf07d44 WHIRLPOOL 27559c50f6aa55edb533046bb49b04784c63003569e7920261504a7b4c69891a80ff8432421352c13f274bb21876f2cf5266e9de2b1302d69e0254be87c17137
|
||||||
|
DIST lxd-0.23.tar.bz2 2606330 SHA256 06335bd15b00db2dec06114427b1d934fe1ac5271b85eb19074c508cb2466695 SHA512 2f73817c800c55c722a3017ee3064587c04730d5da9846b44be99b4541e739b466bcb7e924fcb18a15f1d49d010d471510378060530f6a15f6e60363b4d556b3 WHIRLPOOL 455b782ed2d21d5a720e06e356e1dd2115df174893e66710c74d02596deb8a66ff6e77b400f2ebeb047209b3bfed0927ff21a3a9f7cf9924719b84742f0eb5a7
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
--- Makefile.orig 2015-09-17 20:37:16.481867339 -0500
|
||||||
|
+++ Makefile 2015-09-17 20:53:27.715800926 -0500
|
||||||
|
@@ -12,15 +12,11 @@
|
||||||
|
|
||||||
|
.PHONY: default
|
||||||
|
default:
|
||||||
|
- -go get -t -v -d ./...
|
||||||
|
- -go get -t -v -d ./...
|
||||||
|
go install -v ./...
|
||||||
|
@echo "LXD built succesfuly"
|
||||||
|
|
||||||
|
.PHONY: client
|
||||||
|
client:
|
||||||
|
- -go get -t -v -d ./...
|
||||||
|
- -go get -t -v -d ./...
|
||||||
|
go install -v ./lxc
|
||||||
|
@echo "LXD client built succesfuly"
|
||||||
|
|
@ -0,0 +1,11 @@
|
|||||||
|
--- lxd/rsync.go.orig 2015-11-11 20:54:37.402700202 -0600
|
||||||
|
+++ lxd/rsync.go 2015-11-11 20:55:06.704698199 -0600
|
||||||
|
@@ -91,7 +91,7 @@
|
||||||
|
* command (i.e. the command to run on --server). However, we're
|
||||||
|
* hardcoding that at the other end, so we can just ignore it.
|
||||||
|
*/
|
||||||
|
- rsyncCmd := fmt.Sprintf("sh -c \"nc -U %s\"", f.Name())
|
||||||
|
+ rsyncCmd := fmt.Sprintf("sh -c \"nc.openbsd -U %s\"", f.Name())
|
||||||
|
cmd := exec.Command(
|
||||||
|
"rsync",
|
||||||
|
"-arvP",
|
@ -0,0 +1,27 @@
|
|||||||
|
# Group which owns the shared socket
|
||||||
|
LXD_OPTIONS+=" --group lxd"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Enable cpu profiling into the specified file
|
||||||
|
#LXD_OPTIONS+=" --cpuprofile /tmp/lxc_cpu_profile"
|
||||||
|
|
||||||
|
# Enable memory profiling into the specified file
|
||||||
|
#LXD_OPTIONS+=" --memprofile /tmp/lxc_mem_profile"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Enables debug mode
|
||||||
|
#LXD_OPTIONS+=" --debug"
|
||||||
|
|
||||||
|
# For debugging, print a complete stack trace every n seconds
|
||||||
|
#LXD_OPTIONS+=" --print-goroutines-every 5"
|
||||||
|
|
||||||
|
# Enables verbose mode
|
||||||
|
#LXD_OPTIONS+=" -v"
|
||||||
|
|
||||||
|
# Logfile to log to
|
||||||
|
#LXD_OPTIONS+=" --logfile /var/log/lxd/lxd.log"
|
||||||
|
|
||||||
|
# Enables syslog logging
|
||||||
|
#LXD_OPTIONS+=" --syslog"
|
@ -0,0 +1,50 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
DAEMON=/usr/sbin/lxd
|
||||||
|
PIDFILE=/run/lxd.pid
|
||||||
|
|
||||||
|
extra_commands="shutdown"
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need net
|
||||||
|
use lxcfs
|
||||||
|
|
||||||
|
# remove with 2.0 release
|
||||||
|
need cgmanager
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
ebegin "Starting lxd server"
|
||||||
|
|
||||||
|
start-stop-daemon --start \
|
||||||
|
--pidfile ${PIDFILE} \
|
||||||
|
--exec ${DAEMON} \
|
||||||
|
--background \
|
||||||
|
--make-pidfile \
|
||||||
|
-- \
|
||||||
|
${LXD_OPTIONS}
|
||||||
|
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
if [[ $RC_GOINGDOWN = YES ]] || [[ $RC_REBOOT = YES ]]; then
|
||||||
|
shutdown
|
||||||
|
else
|
||||||
|
ebegin "Stopping lxd service (but not containers)"
|
||||||
|
start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
|
||||||
|
eend $?
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
shutdown() {
|
||||||
|
ebegin "Stopping lxd service and containers"
|
||||||
|
if ${DAEMON} shutdown; then
|
||||||
|
/etc/init.d/lxd zap
|
||||||
|
rm -f ${PIDFILE}
|
||||||
|
fi
|
||||||
|
eend $?
|
||||||
|
}
|
@ -0,0 +1,157 @@
|
|||||||
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
DESCRIPTION="Fast, dense and secure container management"
|
||||||
|
HOMEPAGE="https://linuxcontainers.org/lxd/introduction/"
|
||||||
|
EGO_PN_PARENT="github.com/lxc"
|
||||||
|
EGO_PN="${EGO_PN_PARENT}/lxd"
|
||||||
|
SRC_URI="https://dev.gentoo.org/~stasibear/distfiles/${P}.tar.bz2"
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
PLOCALES="de fr ja"
|
||||||
|
IUSE="+daemon nls test"
|
||||||
|
|
||||||
|
# IUSE and PLOCALES must be defined before l10n inherited
|
||||||
|
inherit bash-completion-r1 eutils golang-build l10n systemd user vcs-snapshot
|
||||||
|
|
||||||
|
# The compiler is forced in golang-base:
|
||||||
|
# DEPEND=">=dev-lang/go-1.4.2:="
|
||||||
|
# ... so the dep is omitted here (and I disagree with := in this case)
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
dev-go/go-crypto
|
||||||
|
dev-libs/protobuf
|
||||||
|
dev-vcs/git
|
||||||
|
nls? ( sys-devel/gettext )
|
||||||
|
test? (
|
||||||
|
app-misc/jq
|
||||||
|
dev-db/sqlite
|
||||||
|
net-misc/curl
|
||||||
|
sys-devel/gettext
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
daemon? (
|
||||||
|
app-admin/cgmanager
|
||||||
|
app-arch/xz-utils
|
||||||
|
app-emulation/lxc[cgmanager,seccomp]
|
||||||
|
net-analyzer/openbsd-netcat
|
||||||
|
net-misc/bridge-utils
|
||||||
|
net-misc/rsync[xattr]
|
||||||
|
sys-apps/iproute2
|
||||||
|
virtual/acl
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
# KNOWN ISSUES:
|
||||||
|
# - Translations may not work. I've been unsuccessful in forcing
|
||||||
|
# localized output. Anyway, upstream (Canonical) doesn't install the
|
||||||
|
# message files.
|
||||||
|
|
||||||
|
# TODO:
|
||||||
|
# - since 0.15 gccgo is a supported compiler ('make gccgo'). It would
|
||||||
|
# be preferable for that support to go into the golang-build eclass not
|
||||||
|
# this package directly.
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
cd "${S}/src/${EGO_PN}" || die "Failed to change to deep src dir"
|
||||||
|
|
||||||
|
epatch "${FILESDIR}/${P}-dont-go-get.patch"
|
||||||
|
|
||||||
|
# Upstream requires the openbsd flavor of netcat (with -U), but
|
||||||
|
# Gentoo installs that with a renamed binary
|
||||||
|
epatch "${FILESDIR}/${P}-nc-binary-name.patch"
|
||||||
|
|
||||||
|
# Warn on unhandled locale changes
|
||||||
|
l10n_find_plocales_changes po "" .po
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
golang-build_src_compile
|
||||||
|
|
||||||
|
cd "${S}/src/${EGO_PN}" || die "Failed to change to deep src dir"
|
||||||
|
|
||||||
|
if use daemon; then
|
||||||
|
# Build binaries
|
||||||
|
GOPATH="${S}:$(get_golibdir_gopath)" emake
|
||||||
|
else
|
||||||
|
# build client tool
|
||||||
|
GOPATH="${S}:$(get_golibdir_gopath)" emake client
|
||||||
|
fi
|
||||||
|
|
||||||
|
use nls && emake build-mo
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
if use daemon; then
|
||||||
|
# Go native tests should succeed
|
||||||
|
golang-build_src_test
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# Installs all src,pkg to /usr/lib/go-gentoo
|
||||||
|
golang-build_src_install
|
||||||
|
|
||||||
|
cd "${S}"
|
||||||
|
dobin bin/lxc
|
||||||
|
use daemon && dosbin bin/lxd
|
||||||
|
|
||||||
|
cd "src/${EGO_PN}"
|
||||||
|
|
||||||
|
if use nls; then
|
||||||
|
for lingua in ${PLOCALES}; do
|
||||||
|
if use linguas_${lingua}; then
|
||||||
|
domo po/${lingua}.mo
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use daemon; then
|
||||||
|
newinitd "${FILESDIR}"/${P}.initd lxd
|
||||||
|
newconfd "${FILESDIR}"/${P}.confd lxd
|
||||||
|
|
||||||
|
systemd_dounit "${FILESDIR}"/lxd.service
|
||||||
|
fi
|
||||||
|
|
||||||
|
newbashcomp config/bash/lxc.in lxc
|
||||||
|
|
||||||
|
dodoc AUTHORS CONTRIBUTING.md README.md
|
||||||
|
|
||||||
|
docinto specs
|
||||||
|
dodoc specs/*
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
einfo
|
||||||
|
einfo "Consult https://wiki.gentoo.org/wiki/LXD for more information,"
|
||||||
|
einfo "including a Quick Start."
|
||||||
|
|
||||||
|
# The messaging below only applies to daemon installs
|
||||||
|
use daemon || return 0
|
||||||
|
|
||||||
|
# The control socket will be owned by (and writeable by) this group.
|
||||||
|
enewgroup lxd
|
||||||
|
|
||||||
|
# Ubuntu also defines an lxd user but it appears unused (the daemon
|
||||||
|
# must run as root)
|
||||||
|
|
||||||
|
einfo
|
||||||
|
einfo "Though not strictly required, some features are enabled at run-time"
|
||||||
|
einfo "when the relevant helper programs are detected:"
|
||||||
|
einfo "- sys-apps/apparmor"
|
||||||
|
einfo "- sys-fs/btrfs-progs"
|
||||||
|
einfo "- sys-fs/lvm2"
|
||||||
|
einfo "- sys-fs/lxcfs"
|
||||||
|
einfo "- sys-fs/zfs"
|
||||||
|
einfo "- sys-process/criu"
|
||||||
|
einfo
|
||||||
|
einfo "Since these features can't be disabled at build-time they are"
|
||||||
|
einfo "not USE-conditional."
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
diff --git a/gourmet/gtk_extras/ratingWidget.py b/gourmet/gtk_extras/ratingWidget.py
|
||||||
|
index 0e01735..efa6463 100644
|
||||||
|
--- a/gourmet/gtk_extras/ratingWidget.py
|
||||||
|
+++ b/gourmet/gtk_extras/ratingWidget.py
|
||||||
|
@@ -135,7 +135,7 @@ class StarGenerator:
|
||||||
|
if is_rgba: rowstride = 4
|
||||||
|
else: rowstride = 3
|
||||||
|
pb=gtk.gdk.pixbuf_new_from_data(
|
||||||
|
- image.tostring(),
|
||||||
|
+ image.tobytes(),
|
||||||
|
gtk.gdk.COLORSPACE_RGB,
|
||||||
|
is_rgba,
|
||||||
|
8,
|
||||||
|
diff --git a/gourmet/plugins/browse_recipes/icon_helpers.py b/gourmet/plugins/browse_recipes/icon_helpers.py
|
||||||
|
index 61c772c..2e7b08b 100644
|
||||||
|
--- a/gourmet/plugins/browse_recipes/icon_helpers.py
|
||||||
|
+++ b/gourmet/plugins/browse_recipes/icon_helpers.py
|
||||||
|
@@ -38,7 +38,7 @@ def get_pixbuf_from_image (image):
|
||||||
|
if is_rgba: rowstride = 4
|
||||||
|
else: rowstride = 3
|
||||||
|
pb=gtk.gdk.pixbuf_new_from_data(
|
||||||
|
- image.tostring(),
|
||||||
|
+ image.tobytes(),
|
||||||
|
gtk.gdk.COLORSPACE_RGB,
|
||||||
|
is_rgba,
|
||||||
|
8,
|
@ -0,0 +1,61 @@
|
|||||||
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
PYTHON_COMPAT=( python2_7 )
|
||||||
|
PYTHON_REQ_USE="sqlite"
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Recipe Organizer and Shopping List Generator for Gnome"
|
||||||
|
HOMEPAGE="https://thinkle.github.com/gourmet/"
|
||||||
|
SRC_URI="https://github.com/thinkle/gourmet/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="-i18n -ipython pdf print spell sound web"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-python/pygtk-2.22.0:2[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/sqlalchemy-0.7.9-r1[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pillow[${PYTHON_USEDEP}]
|
||||||
|
i18n? ( dev-python/elib-intl[${PYTHON_USEDEP}] )
|
||||||
|
ipython? ( >=dev-python/ipython-0.13.2[${PYTHON_USEDEP}] )
|
||||||
|
pdf? (
|
||||||
|
>=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
print? (
|
||||||
|
>=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
spell? ( >=dev-python/gtkspell-python-2.25.3-r1[${PYTHON_USEDEP}] )
|
||||||
|
sound? ( >=dev-python/gst-python-0.10.22-r1:0.10[${PYTHON_USEDEP}] )
|
||||||
|
web? ( >=dev-python/beautifulsoup-3.2.1-r1:python-2[${PYTHON_USEDEP}] )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-util/intltool
|
||||||
|
>=dev-python/python-distutils-extra-2.37-r1[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
PATCHES=( ${FILESDIR}/no-docs-0.17.0.patch ${FILESDIR}/tostring-to-tobytes.patch )
|
||||||
|
DOCS=( ChangeLog CODING.md FAQ README.md TESTS TODO.md )
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# Modify these lines before copying them out
|
||||||
|
sed -i "s:base_dir = '..':base_dir = '/usr/share':" gourmet/settings.py || die
|
||||||
|
sed -i 's:data_dir = os.path.join(base_dir, "gourmet", "data"):data_dir = os.path.join(base_dir, "gourmet"):' gourmet/settings.py || die
|
||||||
|
sed -i 's:\(icon_base = os.path.join(data_dir,\) "icons",:\1 "gourmet",:' gourmet/settings.py || die
|
||||||
|
sed -i 's:\(locale_base = os.path.join(base_dir, "gourmet",\) "build",:\1:' gourmet/settings.py || die
|
||||||
|
sed -i 's:\(plugin_base = os.path.join(base_dir,\) "gourmet", "build", "share",:\1:' gourmet/settings.py || die
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_prepare() {
|
||||||
|
distutils-r1_python_prepare
|
||||||
|
sed -i "s:\(lib_dir = \)'../gourmet':\1'$(python_get_sitedir)':" gourmet/settings.py || die
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
doman gourmet.1
|
||||||
|
}
|
@ -1,24 +1,12 @@
|
|||||||
DIST amd64-debug-libreoffice-4.4.5.2.tar.xz 1414738396 SHA256 341d61f093b9cae66824df1020fd5d808f63b6e3028c3f58efbb801f087a5ff0 SHA512 c10a0ede83128348ed5b78f14a09070302f635e38fccb284b22fc7e473b5e4ea2ce7c3fc6f1251341a1355cc0be72995859f129246f5c4eb530cbef081e95262 WHIRLPOOL 30f9b5e8506a1405a20dd10f960f9332326e8d5359dda95f483c259bc00e9643e954073dc2c5ab090734e715d2e5f9472d89bf8f9d3179c1b8aea5940902eb3b
|
|
||||||
DIST amd64-debug-libreoffice-5.0.3.2.tar.xz 1023118640 SHA256 8ab5ba58cdd99f8a744e2636d04c7fce0ebefc4a846e6ea4c2f486ead18cdab7 SHA512 8861b0885690e2706058e3197e10bf921336605a9414f8ab554df1a87ebbf0c3761b421cfe71ee95e9a8fa6da65df3477a0a0e22d008644fea44f52ce0f1bf3e WHIRLPOOL 287fdf475501ef9160fa9cd7697a8815185ded139f041634e0933cfe00339ba508f1ded740c316f883ac34f0c007defb33f92471e293d9692bd9367942408463
|
DIST amd64-debug-libreoffice-5.0.3.2.tar.xz 1023118640 SHA256 8ab5ba58cdd99f8a744e2636d04c7fce0ebefc4a846e6ea4c2f486ead18cdab7 SHA512 8861b0885690e2706058e3197e10bf921336605a9414f8ab554df1a87ebbf0c3761b421cfe71ee95e9a8fa6da65df3477a0a0e22d008644fea44f52ce0f1bf3e WHIRLPOOL 287fdf475501ef9160fa9cd7697a8815185ded139f041634e0933cfe00339ba508f1ded740c316f883ac34f0c007defb33f92471e293d9692bd9367942408463
|
||||||
DIST amd64-debug-libreoffice-gnome-4.4.5.2.xd3 6532688 SHA256 69eb06a5325867b95c796f1103584e4e67cbad05e9b782bbbcfc298b8794d0e6 SHA512 ddfdfe6f7eb116c6ae361b5341d1a0c25b6f267ae79211ef0fe1514806fa4e1f24b340c19746b6deeadce9b4c11bcb0530140b67f478d2daf161f5ee06f2e504 WHIRLPOOL 1ffb68b1a9438c44ad606a8a88af29f72b9b30c1b6e06a68a0f2f3b0d5f9ee3933ec16fc1325090ee68f6de11df0efcac2e96408e315ec60d060257c431702d3
|
|
||||||
DIST amd64-debug-libreoffice-gnome-5.0.3.2.xd3 4964634 SHA256 fa96f7bcd5bc46b0b07d9cfee7dad7c85c49872f2e3c446e2a4ff36c7678a94a SHA512 dddc6edb6f40db6c175c169bef435d5897839a98027c75e9f2e2246eafe957970c71edc0039fdf7861ffe48c0e4eaee98d4cdec1b4797da721aa5c5db72e942b WHIRLPOOL f7922716cc215fdbc7a48867b1d45ae6666c827f07908d22480b6ca00a50835872a8b51ff42bc664de47f9a5605817a3432d1c785b6a9fb03166bd6eb4bc8cda
|
DIST amd64-debug-libreoffice-gnome-5.0.3.2.xd3 4964634 SHA256 fa96f7bcd5bc46b0b07d9cfee7dad7c85c49872f2e3c446e2a4ff36c7678a94a SHA512 dddc6edb6f40db6c175c169bef435d5897839a98027c75e9f2e2246eafe957970c71edc0039fdf7861ffe48c0e4eaee98d4cdec1b4797da721aa5c5db72e942b WHIRLPOOL f7922716cc215fdbc7a48867b1d45ae6666c827f07908d22480b6ca00a50835872a8b51ff42bc664de47f9a5605817a3432d1c785b6a9fb03166bd6eb4bc8cda
|
||||||
DIST amd64-debug-libreoffice-gnome-java-4.4.5.2.xd3 653539055 SHA256 ebc97707d0825e30c1f794cea5e639bba2db0edf74498d22f15dd9b7fe1deb91 SHA512 2a43aeeb3af51c534cd87c027d604a33bc8f405f7a8e0caf37aead72e55497ea18e3d5940e463e2132f1f2828c398fc086b1c6e751db789311260413d3d772d2 WHIRLPOOL 21f8254b48ea2f13368505a8ec0347ca91f58debf31dc83af8cb8c5a577cfa7dc56ea2f399f5e8b64fd27463d81d22cb483920b930c9b7500ac0bf1c192abcef
|
|
||||||
DIST amd64-debug-libreoffice-gnome-java-5.0.3.2.xd3 475584701 SHA256 1b59a9935fd4ac6800fad4e5904854e1cba96a2f12a5ac5bbbcc07162daff3f8 SHA512 4351684322a1a118f5f36d159b4d4d082e1a9e32e4610815b93b9a9289184100fc2f521fefb7bd882ae7aaa306906cbe86538d43deda3d2ded39f0dbb2cbc873 WHIRLPOOL 26f87f3d7f04b10c1fe9fcf3a033e46d799ba0da75397d4772a7ec1f5598d2664f83690e74fc6299a386d895e14566e300f7a57579e309758f7dd60469569f1b
|
DIST amd64-debug-libreoffice-gnome-java-5.0.3.2.xd3 475584701 SHA256 1b59a9935fd4ac6800fad4e5904854e1cba96a2f12a5ac5bbbcc07162daff3f8 SHA512 4351684322a1a118f5f36d159b4d4d082e1a9e32e4610815b93b9a9289184100fc2f521fefb7bd882ae7aaa306906cbe86538d43deda3d2ded39f0dbb2cbc873 WHIRLPOOL 26f87f3d7f04b10c1fe9fcf3a033e46d799ba0da75397d4772a7ec1f5598d2664f83690e74fc6299a386d895e14566e300f7a57579e309758f7dd60469569f1b
|
||||||
DIST amd64-debug-libreoffice-java-4.4.5.2.xd3 649901774 SHA256 8f83e3a038f0c78654b0ebfa73b53650d29c4aa0a46db6ae1eb314cda559b5bd SHA512 803d392584c4eea927cdba1747f62b23598bc72f50434a37b9269cdab79cf5e23bc7dea9c98200ed68e0df7613e820ab8fd06bd5473de8f6a7eb35c53cda004d WHIRLPOOL 40ebdd2acd2c5e378c14924a80b92875d8592108744240b29b148d1937b22b10a9f3913946530d4ebb1562cc5248f123f9c6f2b442c5702d25366c4ea352fe9c
|
|
||||||
DIST amd64-debug-libreoffice-java-5.0.3.2.xd3 473066015 SHA256 02b2957b8e3d8b90dfe37ea6840c759c351bd3552c7351fa182c38070185afdb SHA512 d538206507aae2cc226fc17f0e5b5de874f710ee5719418858e708a5da2ecbd6dfa1c43bfb0d42c5351121257bbacb63bea2f264d8b11a674d51fa49044d5026 WHIRLPOOL 9b4139c581ff8a117afcc8d761dac18d5f607f54ab5b15c8a09c6297e1e555616dc83aa7cd0b954accf939995f3fff2af606f1301c9b9eae5c15099492e0831e
|
DIST amd64-debug-libreoffice-java-5.0.3.2.xd3 473066015 SHA256 02b2957b8e3d8b90dfe37ea6840c759c351bd3552c7351fa182c38070185afdb SHA512 d538206507aae2cc226fc17f0e5b5de874f710ee5719418858e708a5da2ecbd6dfa1c43bfb0d42c5351121257bbacb63bea2f264d8b11a674d51fa49044d5026 WHIRLPOOL 9b4139c581ff8a117afcc8d761dac18d5f607f54ab5b15c8a09c6297e1e555616dc83aa7cd0b954accf939995f3fff2af606f1301c9b9eae5c15099492e0831e
|
||||||
DIST amd64-debug-libreoffice-kde-4.4.5.2.xd3 385458960 SHA256 daf4707a8aa576b454e5b27041e54e5e390007e8cfd7ca18d738f79980163c97 SHA512 2e8697f1a838390dbf3eb70edb2cf7cba4a7edc917459f504aa04c4de78cb4ae845356223aed9690d70ecf41e1b0ca57ac18d10c1e239218484015f1e6f62bcf WHIRLPOOL f09c704c85945722ff242af18a1536ddc23f2753a714855df8bc5692e49a32ed5c135bfc14e809e85edd846d275516720d5621ec67671bdfb24f2b1d27a6da59
|
|
||||||
DIST amd64-debug-libreoffice-kde-5.0.3.2.xd3 292238215 SHA256 84b05149ae8af600455898da59599a098cee51329e5d0b5f1aba6e4c8dc1d6f8 SHA512 4d06d296c547a79d16c8cb9c4241d7ae46fd61f700c3193bee84ef1a5f7e8ccb70f9d299e6b6b9debd66052c1e1507acbb88366c865383ea7ab4f8e7c6181daf WHIRLPOOL c058bd6b00a4a2ba6d82f633031106e5126c064c4cae4c89d4f2415cae2967b1acef1d5b421683dfd4931c647e7a625086d3ab38b4d4a6997966389104d17440
|
DIST amd64-debug-libreoffice-kde-5.0.3.2.xd3 292238215 SHA256 84b05149ae8af600455898da59599a098cee51329e5d0b5f1aba6e4c8dc1d6f8 SHA512 4d06d296c547a79d16c8cb9c4241d7ae46fd61f700c3193bee84ef1a5f7e8ccb70f9d299e6b6b9debd66052c1e1507acbb88366c865383ea7ab4f8e7c6181daf WHIRLPOOL c058bd6b00a4a2ba6d82f633031106e5126c064c4cae4c89d4f2415cae2967b1acef1d5b421683dfd4931c647e7a625086d3ab38b4d4a6997966389104d17440
|
||||||
DIST amd64-debug-libreoffice-kde-java-4.4.5.2.xd3 651873764 SHA256 c8f05a383eb9e33d7ec0093dd6d33ff1fe77a18af19a5572fa562359df473dfc SHA512 c01b1a07f737128cd0a9c49cd8144ae99bb73304003539db12d796dc54a481056a202f1049be2d80f0127edbe969923ca43886e12bbc2ed05bea2008b28a195e WHIRLPOOL 60602afd912e0c751c28f3efecb226a8d90216ad992bbc8f4ce4dd886e45c65f20146947150a436f4f39639e46510f7c61dcf74fb5f7aec9681df2d08e921336
|
|
||||||
DIST amd64-debug-libreoffice-kde-java-5.0.3.2.xd3 474654737 SHA256 84de9cd8d1107f112401806a08bd5b5c3bbcf6a08393d2e1c57bcf0145234c5c SHA512 a47552d48c3cf354478a7fbfda3568c2b375d3f99ce45d754def2ccb07c557101e88878cc7a7d7467d62402b5ba5c596d299dfddc1a6a19c5d80091020f7c203 WHIRLPOOL 32fe90eb598a7749ad8ac8ff3901d781b37cea7cd1cc89ba6a981ef7162b8e95a0d42c878f4c26e7e056a28c9068d768fa13f9ca07a58538feeb8b23c61b009f
|
DIST amd64-debug-libreoffice-kde-java-5.0.3.2.xd3 474654737 SHA256 84de9cd8d1107f112401806a08bd5b5c3bbcf6a08393d2e1c57bcf0145234c5c SHA512 a47552d48c3cf354478a7fbfda3568c2b375d3f99ce45d754def2ccb07c557101e88878cc7a7d7467d62402b5ba5c596d299dfddc1a6a19c5d80091020f7c203 WHIRLPOOL 32fe90eb598a7749ad8ac8ff3901d781b37cea7cd1cc89ba6a981ef7162b8e95a0d42c878f4c26e7e056a28c9068d768fa13f9ca07a58538feeb8b23c61b009f
|
||||||
DIST x86-debug-libreoffice-4.4.5.2.tar.xz 1396095136 SHA256 ec9fc97d15392767cff9c8cd7346648b928ffefaa0388983c9e9fe887ccfa52b SHA512 fa6dd9ae190b90b064b4481bd527d82cd2a6cbf9a58a3b26921f04ac97a11977c875d9502852f2b6ef785085d665c1421e5244c0506293c0ac5828bb760d7d34 WHIRLPOOL dadd8e17cca1c1e8909cafb7913ae0ba09c0f8a74bc0fbed3b0077a4bd0c2a1ec32085476de0ea5bcc4e9a24712ef23f0c63a9633f7b7c7a3b5a63eaa8a974d4
|
|
||||||
DIST x86-debug-libreoffice-5.0.3.2.tar.xz 989094888 SHA256 0ea225a7c8ca0f34c25f0bb44838910e02bd952a9f5a326758dcf6cd0b778140 SHA512 115b6a7477bee8e71194847e38e5be476688213c58d5b0b3fbdc073fe58c4f3754a8ddac358df3dcc520012c678429824d18f94faf3624c90fd77842c918be77 WHIRLPOOL 244284b230c71181278b0d5e1f4f5a66cd6000f80f99875210130d6c861b93ff9872a4cdd0575e2f071f3576db4baf5b3b301d53739230c53331ac96f422f841
|
DIST x86-debug-libreoffice-5.0.3.2.tar.xz 989094888 SHA256 0ea225a7c8ca0f34c25f0bb44838910e02bd952a9f5a326758dcf6cd0b778140 SHA512 115b6a7477bee8e71194847e38e5be476688213c58d5b0b3fbdc073fe58c4f3754a8ddac358df3dcc520012c678429824d18f94faf3624c90fd77842c918be77 WHIRLPOOL 244284b230c71181278b0d5e1f4f5a66cd6000f80f99875210130d6c861b93ff9872a4cdd0575e2f071f3576db4baf5b3b301d53739230c53331ac96f422f841
|
||||||
DIST x86-debug-libreoffice-gnome-4.4.5.2.xd3 6427867 SHA256 422ed1d8ef5b58402e43f15d07a557beab90cd705f629edb4dc10923b8c68d24 SHA512 73663b36ec0059bc5b5e0dad37c3207f87db832bd1b18c1a51c3d0a7e4fed6433c64fe73cc334133e3e3750e021338cb37cebcc9f9c280e51a920257e9fc74f4 WHIRLPOOL 3e44890675967514deb474babad5e70873f6c7bacf3f3e96c930334c2f46b21020456770c4f1bbae8e916ec3b6058234e43fc9410076fc5ab46b91af33c37461
|
|
||||||
DIST x86-debug-libreoffice-gnome-5.0.3.2.xd3 4809503 SHA256 aa8dd07f754b73056f22e8a5670a7d66e77c923edff461f585518be06b81a898 SHA512 721dd7969104b1021ae7ef9213f3c2b1faed20cf44436a889318a4ef001b3b2a636af04d26325b270fac5694c1e170c07d41a9118fb81b93d6877281ca824d3e WHIRLPOOL 110fc36c5cac91080616f5863b63f6ea0979902d27e01876aa6cd3deae319b04636de339ac3d764d20f8350d8f56f6716683cdb4292b24068166e9ccc6bc1d1a
|
DIST x86-debug-libreoffice-gnome-5.0.3.2.xd3 4809503 SHA256 aa8dd07f754b73056f22e8a5670a7d66e77c923edff461f585518be06b81a898 SHA512 721dd7969104b1021ae7ef9213f3c2b1faed20cf44436a889318a4ef001b3b2a636af04d26325b270fac5694c1e170c07d41a9118fb81b93d6877281ca824d3e WHIRLPOOL 110fc36c5cac91080616f5863b63f6ea0979902d27e01876aa6cd3deae319b04636de339ac3d764d20f8350d8f56f6716683cdb4292b24068166e9ccc6bc1d1a
|
||||||
DIST x86-debug-libreoffice-gnome-java-4.4.5.2.xd3 638207362 SHA256 5e42e55a08611deed2234b95d90d66962316e0b8c7dcb74e92666a6d86f30450 SHA512 0f1363b6a81f226747304e2c2892858a8267e87025bc5f74c68bff5a936c1911e9bd4dac575b93e1cd07c6393d10cbbe9851fad79cb0a624f5a9a590ab3215e4 WHIRLPOOL 2b2c7844ec34614d54437ac468376c3e457b6a77d5e0cab8220044233cee49211f208fd5a65a956013ca2c1c7963c6424946425a0ae123b53eae0e49ccb80492
|
|
||||||
DIST x86-debug-libreoffice-gnome-java-5.0.3.2.xd3 457084799 SHA256 e7f30837b45684c816a8336ec601dbd87444acef67d6a1720f931fa4c19f8465 SHA512 00c492888e22911f27f8402a84a550cc12a9ec94e166407b8f0fe60a78fd3ce5ad7129021283ca6e980b30089dea2c100f6f81eef7d2057ebe4756c0c3ae4175 WHIRLPOOL c8c28f11f2eefe13863774c97aa8ce031a02c8f005b031f41f180cf8cb1045404819a70d1fffb270cb98d716e186fe318e383ad1c9589c9ffc03a26fad2f1486
|
DIST x86-debug-libreoffice-gnome-java-5.0.3.2.xd3 457084799 SHA256 e7f30837b45684c816a8336ec601dbd87444acef67d6a1720f931fa4c19f8465 SHA512 00c492888e22911f27f8402a84a550cc12a9ec94e166407b8f0fe60a78fd3ce5ad7129021283ca6e980b30089dea2c100f6f81eef7d2057ebe4756c0c3ae4175 WHIRLPOOL c8c28f11f2eefe13863774c97aa8ce031a02c8f005b031f41f180cf8cb1045404819a70d1fffb270cb98d716e186fe318e383ad1c9589c9ffc03a26fad2f1486
|
||||||
DIST x86-debug-libreoffice-java-4.4.5.2.xd3 634730048 SHA256 e331255763fdfac42d3fa6b0ee49ded489d333b6e6fb389c1374cdaf77dafdee SHA512 42bbbc42f9513b58f948fc1ed5accf1fb0508dd026f2d666738f496c391b57c13429be1aa3c76a0472eee6f01e00448f1c27c091290b9ef1b5a0ba79fd5b9eda WHIRLPOOL 0731bef6da191547d2c8f25bea43277fb398e26aba69d72e2b396a5bc3a5a0be2e1ebc0c40d732b83c1cb14e12ef673aee1f2b1ae94a62b29a94b32d9f857136
|
|
||||||
DIST x86-debug-libreoffice-java-5.0.3.2.xd3 454712384 SHA256 81143cf42a967296c6db79aa9d2fe1eb8508913067ae8a8f9cba660e2f95e8a2 SHA512 81e0317dcb271b129ad335b6a223900a31e06fa9fb51f4a2ec805d87c041eee3e4a1d39461cf8fa3eabb90cebb31323ce5fad824b74d8fc55a195fa3efa08601 WHIRLPOOL 89c47d74add33b270f493dabffeb51d09ed59386aa43ad6d814f8f324aa7839a6336a048fecb66094482b49758f75d6e297887f3217e99cd2b8b666cbc3f2740
|
DIST x86-debug-libreoffice-java-5.0.3.2.xd3 454712384 SHA256 81143cf42a967296c6db79aa9d2fe1eb8508913067ae8a8f9cba660e2f95e8a2 SHA512 81e0317dcb271b129ad335b6a223900a31e06fa9fb51f4a2ec805d87c041eee3e4a1d39461cf8fa3eabb90cebb31323ce5fad824b74d8fc55a195fa3efa08601 WHIRLPOOL 89c47d74add33b270f493dabffeb51d09ed59386aa43ad6d814f8f324aa7839a6336a048fecb66094482b49758f75d6e297887f3217e99cd2b8b666cbc3f2740
|
||||||
DIST x86-debug-libreoffice-kde-4.4.5.2.xd3 378257995 SHA256 3cdffd2f401e9f06dbbffdb899bbd4708a15e92599cb5cd5b99104a53a304957 SHA512 5704f1d83c6106ac5ed47dc7e863dae7002190efe7ca6581a5c7b3da6e0f20a6b1c45f142bc63a6ba1d32f8c085c3f7c7e49f6a33329e6e3beb6b76338da8b3c WHIRLPOOL 34f151728ccbff0e5345643f5a4d5d8c7a68928d3f908ed7121297db3e554e54b3c634a1b854066d29fa43ab8cf0144541732e1df7d1f2afc3d173b781a1396c
|
|
||||||
DIST x86-debug-libreoffice-kde-5.0.3.2.xd3 280954493 SHA256 ceb805b92d2f009a675c49981bce62e5af09f5cfe5f0f210f98785bde51d93bd SHA512 04d98a729a102ed47e84ed00316bcdb7b0528c774bda5e2b1609d1651e419b456404d3c2511b338279e6ff2887bd6ab7b12bb8d397049e48b09a7ff4102f7e05 WHIRLPOOL 2113ae26863739e78a64361205f1533a650ffb6ae099ddbf5a5c24b734b8af6e13ddff2a885be2a474b43b8fa0d0841db7f7f90e6e992c3398284baf3e9b3f55
|
DIST x86-debug-libreoffice-kde-5.0.3.2.xd3 280954493 SHA256 ceb805b92d2f009a675c49981bce62e5af09f5cfe5f0f210f98785bde51d93bd SHA512 04d98a729a102ed47e84ed00316bcdb7b0528c774bda5e2b1609d1651e419b456404d3c2511b338279e6ff2887bd6ab7b12bb8d397049e48b09a7ff4102f7e05 WHIRLPOOL 2113ae26863739e78a64361205f1533a650ffb6ae099ddbf5a5c24b734b8af6e13ddff2a885be2a474b43b8fa0d0841db7f7f90e6e992c3398284baf3e9b3f55
|
||||||
DIST x86-debug-libreoffice-kde-java-4.4.5.2.xd3 636690368 SHA256 db837fa9da9e78ae997f4d9f2174ecac71ea5da214bab2f44d7a666254580ffd SHA512 0d87543e718e1b3e1177735914d6bba2eee64fe39caf422eefeefb53338d252a9698582c4f965414cd2e4ed9b276aa59992ece5b1097fc2cf436dde05633c8c2 WHIRLPOOL a4fd0b74e4d3f86e06ece9bb9485095fe8fa0a7180cafd97504da175e36b75f79a5d381d30052f52f8dc7d1b3a96516661b8d04300d88aaa5b86099a65c2d8e3
|
|
||||||
DIST x86-debug-libreoffice-kde-java-5.0.3.2.xd3 456275994 SHA256 5dc89402b23465e5603fce2418b7a5dc5d73dd217a4f85a29d241d1a3f4badf6 SHA512 a5ae34728a6636dcc8f3b0ea8d750e425138b366ddc958dffcf21a0dc825f3884daad07bffa7b83aaace86c11a9e9c258149688ae81c19e64a3cd80db9955ad0 WHIRLPOOL 8f642f2d849155c0783039d09ddb7af000290c749d9b045d8dc5c471657b5036f95cf0a44c15fb07d7a95fbc7073b3729b42830c22759e52a8ce552d7e94cc43
|
DIST x86-debug-libreoffice-kde-java-5.0.3.2.xd3 456275994 SHA256 5dc89402b23465e5603fce2418b7a5dc5d73dd217a4f85a29d241d1a3f4badf6 SHA512 a5ae34728a6636dcc8f3b0ea8d750e425138b366ddc958dffcf21a0dc825f3884daad07bffa7b83aaace86c11a9e9c258149688ae81c19e64a3cd80db9955ad0 WHIRLPOOL 8f642f2d849155c0783039d09ddb7af000290c749d9b045d8dc5c471657b5036f95cf0a44c15fb07d7a95fbc7073b3729b42830c22759e52a8ce552d7e94cc43
|
||||||
|
@ -1,86 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
BASE_PACKAGENAME="debug"
|
|
||||||
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}-"
|
|
||||||
|
|
||||||
DESCRIPTION="LibreOffice, a full office productivity suite. Binary package, debug info"
|
|
||||||
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"
|
|
||||||
|
|
||||||
RDEPEND="=app-office/${PN/-debug}-${PVR}[gnome=,java=,kde=]"
|
|
||||||
|
|
||||||
DEPEND="dev-util/xdelta:3"
|
|
||||||
|
|
||||||
RESTRICT="test strip"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
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_configure() { :; }
|
|
||||||
|
|
||||||
src_compile() { :; }
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodir /usr
|
|
||||||
cp -aR "${S}"/usr/* "${ED}"/usr/ || die
|
|
||||||
}
|
|
@ -1,24 +1,12 @@
|
|||||||
DIST amd64-bin-libreoffice-4.4.5.2.tar.xz 71669212 SHA256 6b3010b02526c5f3237cc6b1d299ca757ef447bc05ddc3cee159db5547903dca SHA512 3d01e6c243ea7434f8a63a78d3700be7a4953fb3f10ba40f5cbac7bc1555484d5981f1c29111bf0b7c62ace3f6ce69a53b586d9c5204299ebc6bc1ccb698e563 WHIRLPOOL 5e069d9321fa2223bda8937d5408b239c9de81fab6acef3f38b36dc1fa3e13c1a29ed1c9dbf520798114a59ab16d498f18922fb2f91277c56fcfbb3356564140
|
|
||||||
DIST amd64-bin-libreoffice-5.0.3.2.tar.xz 76937972 SHA256 1a6029b3ba0141d1c091c02cb25313e24ded8fcbae88a2a63065379a68b8b82c SHA512 b2a7a0e91648a941e14645d94fed569c03ab7892d746a19e229e913d5dff9c49008b96e059e07a12baa04c11204121a1d7e8d5b5f7656ea01499640d02bff429 WHIRLPOOL 0491e68437494620e55953eed58028636febeb95753bfd66fb4a19c88531ac3dc3fc03fbcfddf99a2fbfd7c27dd004c981607f8b067084874fe575589dc732e3
|
DIST amd64-bin-libreoffice-5.0.3.2.tar.xz 76937972 SHA256 1a6029b3ba0141d1c091c02cb25313e24ded8fcbae88a2a63065379a68b8b82c SHA512 b2a7a0e91648a941e14645d94fed569c03ab7892d746a19e229e913d5dff9c49008b96e059e07a12baa04c11204121a1d7e8d5b5f7656ea01499640d02bff429 WHIRLPOOL 0491e68437494620e55953eed58028636febeb95753bfd66fb4a19c88531ac3dc3fc03fbcfddf99a2fbfd7c27dd004c981607f8b067084874fe575589dc732e3
|
||||||
DIST amd64-bin-libreoffice-gnome-4.4.5.2.xd3 427007 SHA256 4dd68a31d7724af8fec5efd0c76c52fce4f0117d8dc604bae072798cdc147cf1 SHA512 e321939f6bec518b59f178fd527a64865b39b5a27e76725e39ccc44ab65af58872b26d999d3da0c4c294e5b6b13ca4b1bf3d40429e56e0c876afae79322446e5 WHIRLPOOL 5a345e27310e0ef62e705747f2133c1182ed77a8ee59588b2386d08bddc9de2c18ade9d8078d7ca755fab1692d4a65522814a89b8d0305f291c0c333f8e0ed08
|
|
||||||
DIST amd64-bin-libreoffice-gnome-5.0.3.2.xd3 429790 SHA256 c9dd315b628ce4dda14c2807f69429ade1f0238420213daffde12a0468605502 SHA512 3ebf2348d5d372278808619923420fc49146b80c7c0c61b7a9a69687d1401857d21fadd66e851d811ac34fdfcfe13746b87302d2dbc003126b2dfad1ae016df8 WHIRLPOOL 19cfc6838d93f88c4d8226ddc3ec1ddeaae46c00b2aa7cfb153ea903b4f729d6dfbc2c0d02f798861211dfea92790d5b335f079fc627196771aea0e70863a7cc
|
DIST amd64-bin-libreoffice-gnome-5.0.3.2.xd3 429790 SHA256 c9dd315b628ce4dda14c2807f69429ade1f0238420213daffde12a0468605502 SHA512 3ebf2348d5d372278808619923420fc49146b80c7c0c61b7a9a69687d1401857d21fadd66e851d811ac34fdfcfe13746b87302d2dbc003126b2dfad1ae016df8 WHIRLPOOL 19cfc6838d93f88c4d8226ddc3ec1ddeaae46c00b2aa7cfb153ea903b4f729d6dfbc2c0d02f798861211dfea92790d5b335f079fc627196771aea0e70863a7cc
|
||||||
DIST amd64-bin-libreoffice-gnome-java-4.4.5.2.xd3 23961398 SHA256 ed7a29e59a4699e7426a987c19644fb5b049e38b7c5690c5bd6b486af52b3794 SHA512 b32d317b72eec4870b92dea0bc8bcee98189e8d824e4f5d89ac597c07e233f6e0d3a8e0791b59d448d7bc97651b9761799ae91d0661a924db9e32a9dca485d30 WHIRLPOOL aaf64c873b9b3d39546477836ab01fd6e7a400d1d4413999bd19cdafda52fea29fe9fc64f9726097fa85ab3f5fdef8f7c95565dc70d6b8e5fcf09f1da9f4a3cd
|
|
||||||
DIST amd64-bin-libreoffice-gnome-java-5.0.3.2.xd3 25786095 SHA256 64aaf07bef9f8d6ecbb9b10f83a2f547b91c164f73876adf4b2cee00f60160cb SHA512 8cb955df50b4294d38ce34699f6303f04aae6820d69c5d8cfca96b7147284f7845c9342adcb2e4a71141f43c2b789db4fa58aae2dece60f5ddd54e71d4ccb000 WHIRLPOOL 3f63388c0de6c3d4f0b67fe3252eb389f3353361eddc49d50f4b3969bab8fefb42d0df26849bfcb00ba844c329373dc3cdcdff88c6755b6d44b27a21d0f711b7
|
DIST amd64-bin-libreoffice-gnome-java-5.0.3.2.xd3 25786095 SHA256 64aaf07bef9f8d6ecbb9b10f83a2f547b91c164f73876adf4b2cee00f60160cb SHA512 8cb955df50b4294d38ce34699f6303f04aae6820d69c5d8cfca96b7147284f7845c9342adcb2e4a71141f43c2b789db4fa58aae2dece60f5ddd54e71d4ccb000 WHIRLPOOL 3f63388c0de6c3d4f0b67fe3252eb389f3353361eddc49d50f4b3969bab8fefb42d0df26849bfcb00ba844c329373dc3cdcdff88c6755b6d44b27a21d0f711b7
|
||||||
DIST amd64-bin-libreoffice-java-4.4.5.2.xd3 23584959 SHA256 09a0b7588efdafa9be3560ca9a3e34dae15961d6450c018edcb95d82a0cc0edd SHA512 cf7edb81afa2513756d9eacb8d98306a125d7d18f047f8f39f94769309a7a371eda71fde3d188d23516a6364923bc8e2063f4e550f0870266cdf29fb7cd5117a WHIRLPOOL d39cdd3f19a709603e8de74ea14653c7fa5ff93f34cb4f92e1f80bff82953060b1b0baa8ac77811726ebca1bdd800207aace89081156c426f9a1da26c7bec697
|
|
||||||
DIST amd64-bin-libreoffice-java-5.0.3.2.xd3 25426909 SHA256 757fe5cdc9c464f5cf9ed9d34f01e1e8d9047b59c36d3e440314dcd25ab0722c SHA512 dad8c80de1fcd522553fe985e8f97cd1864848a41199e86c58dd6f8b5bac2c3764c366404dbcecd68e4911115868a32e2c4b29c946f184005fa70f29043b1022 WHIRLPOOL a6466f61fc97948812d769d0670d0a5336258324ba90f8390c160643ab5114fda8389ae651fe48787310fdfb83277a720ddf5362c98d4842241a0dbf81c1080d
|
DIST amd64-bin-libreoffice-java-5.0.3.2.xd3 25426909 SHA256 757fe5cdc9c464f5cf9ed9d34f01e1e8d9047b59c36d3e440314dcd25ab0722c SHA512 dad8c80de1fcd522553fe985e8f97cd1864848a41199e86c58dd6f8b5bac2c3764c366404dbcecd68e4911115868a32e2c4b29c946f184005fa70f29043b1022 WHIRLPOOL a6466f61fc97948812d769d0670d0a5336258324ba90f8390c160643ab5114fda8389ae651fe48787310fdfb83277a720ddf5362c98d4842241a0dbf81c1080d
|
||||||
DIST amd64-bin-libreoffice-kde-4.4.5.2.xd3 7455231 SHA256 ea25ff0f40a68fa6d6536d931342e3118fb9b942de4448f83d3e3ef973807359 SHA512 9f5a2c204a8e129a20dcc1343538533d2ddfb1dbc00e369214fc853156a9041d381f158912d6cb56a1f98adbd8aefde8184af3c9412532e560543a2369c7fc56 WHIRLPOOL 1e0a2fd8ba56e81dce34ea8372d16eaae411c74be9b9078f94af9940c81343c26e1d785087eceae3f520800fe4f7b3ecbc441f8b7acdac74dbf47cefb9fda02d
|
|
||||||
DIST amd64-bin-libreoffice-kde-5.0.3.2.xd3 7586603 SHA256 e4e2227cfb82ba3f9de7cee6ea8d3415fa55637f77acdb2f20941e31a311917d SHA512 5eb30121e14b56a4f4dc08613522546bc38e8c2139b30c98d275d6681bf3f2a9eb8e029a19b4267456ba37676760365bca8ffd196410b9fe9526d44558f4269d WHIRLPOOL 54cca4ed63c65d3d44aea32de074bf70f4b2627a1625eb605071486298b92cecb9642ccd8ca38a35aa5c988e736b21af98849ec3dc85a61db025378da6449eff
|
DIST amd64-bin-libreoffice-kde-5.0.3.2.xd3 7586603 SHA256 e4e2227cfb82ba3f9de7cee6ea8d3415fa55637f77acdb2f20941e31a311917d SHA512 5eb30121e14b56a4f4dc08613522546bc38e8c2139b30c98d275d6681bf3f2a9eb8e029a19b4267456ba37676760365bca8ffd196410b9fe9526d44558f4269d WHIRLPOOL 54cca4ed63c65d3d44aea32de074bf70f4b2627a1625eb605071486298b92cecb9642ccd8ca38a35aa5c988e736b21af98849ec3dc85a61db025378da6449eff
|
||||||
DIST amd64-bin-libreoffice-kde-java-4.4.5.2.xd3 23622458 SHA256 28a55844ae1c3226e523471a515c5ebcc9dd748e0f9d51d08fcf3b4a6f70cf86 SHA512 010fc5efb60198ee4723cc13b55f1f98f716887c1babae030ad751f235f45dbeb2934d9663aaa347470c70d7acbc4c581627990efed27b861754a29fce97365a WHIRLPOOL 8c95fcbd6cbe55784506da86635aca6c795ffa95d274e3a54592668020b8e1c5ff7692fe2f5bf5317ef768714d77c998e25b47c31349bd52314d6e46ea020d79
|
|
||||||
DIST amd64-bin-libreoffice-kde-java-5.0.3.2.xd3 25542921 SHA256 dbf9f03bbb395c605baeb8b2c58185bbaa0bf07d6a8a20b1112c82dc8cc4e6a4 SHA512 92cca85ec4f98f3de96da0bbef538216d48037896f130517250b1b111da0bf1f9ccd0759c7c1158b32270599a0dea5f52773f7ac5ebc10b00cda41a55b571dfc WHIRLPOOL ab105506139cdc667ae282cb1aab5ddc1cde4028835a545ca131ede92bc8dd3056a3aa18b0319075dff11dd10ddbfe67521ecda50919cfbb752a80c827f5e9dc
|
DIST amd64-bin-libreoffice-kde-java-5.0.3.2.xd3 25542921 SHA256 dbf9f03bbb395c605baeb8b2c58185bbaa0bf07d6a8a20b1112c82dc8cc4e6a4 SHA512 92cca85ec4f98f3de96da0bbef538216d48037896f130517250b1b111da0bf1f9ccd0759c7c1158b32270599a0dea5f52773f7ac5ebc10b00cda41a55b571dfc WHIRLPOOL ab105506139cdc667ae282cb1aab5ddc1cde4028835a545ca131ede92bc8dd3056a3aa18b0319075dff11dd10ddbfe67521ecda50919cfbb752a80c827f5e9dc
|
||||||
DIST x86-bin-libreoffice-4.4.5.2.tar.xz 70126812 SHA256 72c8c94794a65bf9d07424d0194f575f9f51c3f0b0b330a6ecbd05bb9922f0fe SHA512 04ed0b05e6030fbf12164eaa18fb1d01a2b39d8414ad9a3af1ece730c42b0b4eb286320a0e5246bcf063916ae1582f20e69fa071d921ba06155890a3af3b2fd9 WHIRLPOOL c82f6b35d41d2e3725548c4452314733c908c3c47132ada55da70e8970fad47e0ec254f0341f3170d07445ac38bfe8eb1b7953ea63aef6ad08302bbcc764b978
|
|
||||||
DIST x86-bin-libreoffice-5.0.3.2.tar.xz 76148856 SHA256 0717a4ee1e20fb5cdd854fcf1f6ebbe3fc09670e665cbc8a4e25f66ab0121f04 SHA512 8f74134be0b70036b87fdaa30de097b3a39ed3e3e9d0249d5c74d24f3d6fe89f98f4b08bc9d6ce8a2762fcb1509f3605c0ab3fe8b27238ee15c1a17f92b69f38 WHIRLPOOL 14f005a5a2f7bb1987aae5d11768866811a3490656ced55c0dc252a0454dc5b8cf88290a1566369a42ef9d902ad23d86e537442441aae59b96287651cddfdb41
|
DIST x86-bin-libreoffice-5.0.3.2.tar.xz 76148856 SHA256 0717a4ee1e20fb5cdd854fcf1f6ebbe3fc09670e665cbc8a4e25f66ab0121f04 SHA512 8f74134be0b70036b87fdaa30de097b3a39ed3e3e9d0249d5c74d24f3d6fe89f98f4b08bc9d6ce8a2762fcb1509f3605c0ab3fe8b27238ee15c1a17f92b69f38 WHIRLPOOL 14f005a5a2f7bb1987aae5d11768866811a3490656ced55c0dc252a0454dc5b8cf88290a1566369a42ef9d902ad23d86e537442441aae59b96287651cddfdb41
|
||||||
DIST x86-bin-libreoffice-gnome-4.4.5.2.xd3 389029 SHA256 6eff02322ed6291cba95dd7b1f20114c0574bca8920b7ebaaeefa6532360e7fb SHA512 d56a3d19262ee9df2dab4d54e429ed322e6e3c5a21c6ab718917d1229134caa4b4c883b2c1159ed911e22aee9c613a22d3648e0f6874cd675a2944e59490fe9d WHIRLPOOL 5bc79efe6bc7a65cf92a75c27f11cdf92bd6bce76799e9d5fb41edfa86d31aadf99623d768d910613dba9c65b3f16dae18bc2373d9219584d6982eb8eebd8334
|
|
||||||
DIST x86-bin-libreoffice-gnome-5.0.3.2.xd3 400086 SHA256 8509e2686af8068c6686bcb23aada3bdcb337afd521447574b539fab9bd9a8d2 SHA512 f470859418b23ff91037802ec1de0f8e79742c72509aedc0c987cc5f158b9675d52aaab2b95502db7de18e9bd1eceaffc950902202069accaa75aa6245874212 WHIRLPOOL b4b969a52c77c305d36b0dc9901f96cc3a31add452cf94e30ef77788c68b7bcf327aad2e406b7fbfc61beb2b21683df999d5b298853429996de1d2914009adbb
|
DIST x86-bin-libreoffice-gnome-5.0.3.2.xd3 400086 SHA256 8509e2686af8068c6686bcb23aada3bdcb337afd521447574b539fab9bd9a8d2 SHA512 f470859418b23ff91037802ec1de0f8e79742c72509aedc0c987cc5f158b9675d52aaab2b95502db7de18e9bd1eceaffc950902202069accaa75aa6245874212 WHIRLPOOL b4b969a52c77c305d36b0dc9901f96cc3a31add452cf94e30ef77788c68b7bcf327aad2e406b7fbfc61beb2b21683df999d5b298853429996de1d2914009adbb
|
||||||
DIST x86-bin-libreoffice-gnome-java-4.4.5.2.xd3 22028300 SHA256 b9a0d1b76ad8bde466c7e3b5161727abc3d5349098b32c48bb032b0123636b6b SHA512 3d4589a85672c5d3c651d9f2527335817be6e408ff778a21853738d82d6c4378e91dcdab951bd66559f521dfb8bb22914c847c1d7b9cc7a76e43fbcbb0c40d41 WHIRLPOOL 58ac293f3ca1c485213c015d17aa52faf42ef7c3d620017d1dda3be8cef18832e43165b4a903d2b4d3f18c246d5725b76a6397dafba7ae85aab8e675318e8e17
|
|
||||||
DIST x86-bin-libreoffice-gnome-java-5.0.3.2.xd3 22798046 SHA256 96b787b3cae667da518f525f6b702bcd59cb50fa6296b4111a8cf64a2366f754 SHA512 94dce6e4ecda95d3a7b9c0945af9fc249ed68f8852cc07d19463b2805d7c76a7eb65f0985075b64dd3289dc3127b60f49d1bfcb61e2d1abdf8432a6bfb70f421 WHIRLPOOL 9eca275ed66674d07d60c639a7345cc940b69307e535010530de75c850a5d2bd5d62540203eceead280626bf8ab234bdd310664938bb9524ae2227d6b628ff29
|
DIST x86-bin-libreoffice-gnome-java-5.0.3.2.xd3 22798046 SHA256 96b787b3cae667da518f525f6b702bcd59cb50fa6296b4111a8cf64a2366f754 SHA512 94dce6e4ecda95d3a7b9c0945af9fc249ed68f8852cc07d19463b2805d7c76a7eb65f0985075b64dd3289dc3127b60f49d1bfcb61e2d1abdf8432a6bfb70f421 WHIRLPOOL 9eca275ed66674d07d60c639a7345cc940b69307e535010530de75c850a5d2bd5d62540203eceead280626bf8ab234bdd310664938bb9524ae2227d6b628ff29
|
||||||
DIST x86-bin-libreoffice-java-4.4.5.2.xd3 21018405 SHA256 ef47e4942fac5dfd723ba78330e0b5b455d8fadcde6507da9deb9160adfb6daf SHA512 c22b71eb0a4750c11f56ede5c764c1abe486627826cad5de967855bdcf870025849aa37e8037fccb804e4b96796e1d57c7854c48b0052d2f1b922bb213ef4971 WHIRLPOOL db21e300cbc7eb60240c36457093d46b54bbcf17e8d4829a5406c30954908c0d24f908e3338ff07a5f5c195ec91b5d086fca0788de424fd2230029855541d769
|
|
||||||
DIST x86-bin-libreoffice-java-5.0.3.2.xd3 22652978 SHA256 2361c68152134e6b14b268a4a19604e4a6d2158cd6262f338168798cd96d0f38 SHA512 905b3d8bb42e897f0638ec75f850e63ee616bf14d77854602e85da0d443aea80a379f459bdadac31f8caf5bb64781d70da43d756d864cbe27414125a47c3cef4 WHIRLPOOL 5c800702f5ad56d13b407d1f322f86bacde9398b5330ec9710a54107ebc01152c76bc346a54c58de307ea468caa5f16e5ac65a1211a5db4eb4f54f8a0293698b
|
DIST x86-bin-libreoffice-java-5.0.3.2.xd3 22652978 SHA256 2361c68152134e6b14b268a4a19604e4a6d2158cd6262f338168798cd96d0f38 SHA512 905b3d8bb42e897f0638ec75f850e63ee616bf14d77854602e85da0d443aea80a379f459bdadac31f8caf5bb64781d70da43d756d864cbe27414125a47c3cef4 WHIRLPOOL 5c800702f5ad56d13b407d1f322f86bacde9398b5330ec9710a54107ebc01152c76bc346a54c58de307ea468caa5f16e5ac65a1211a5db4eb4f54f8a0293698b
|
||||||
DIST x86-bin-libreoffice-kde-4.4.5.2.xd3 4229854 SHA256 a26e8b133a0d8bba59d53cedfa7f63b3f7611dc20695164d192e65105243109a SHA512 285cff6ffe0e2cd902222f6f4a00ca2b007b3eacfa471cd4ba6f028f773b1e5c364471d5e330bd3bdca570992cc7d9dd82304e0a18266c25aa1fd6d8e05504bc WHIRLPOOL 3b8b88edad0fb09ebc294f570228571ef6719ff0516d15e997bea0a6583dcf5b87b4e0f7a5426d4cc3d64d4c4aaab102429b204d56b99beb4ceea4a0b1751843
|
|
||||||
DIST x86-bin-libreoffice-kde-5.0.3.2.xd3 4901403 SHA256 cd9237d2faf15bc1046cc8e55e9b0445208d70b20ad655de73fa958a4db779f2 SHA512 ab54747201a5ed2be83a9741e8d7f5c540648f7d58a16b27aae8a0dc254f7008040f3223fe55b49057bcc726adc5160fe9758e1a805ece8e922184c96190f599 WHIRLPOOL 6c43e95fc37f67cac033169b8c5729570600dc04487beddadbfdcc5050679376fb7c1c44dc7b7a1277cfddfa3e52cc95b5f8722be7ef245fd3a5b2a07f357c6c
|
DIST x86-bin-libreoffice-kde-5.0.3.2.xd3 4901403 SHA256 cd9237d2faf15bc1046cc8e55e9b0445208d70b20ad655de73fa958a4db779f2 SHA512 ab54747201a5ed2be83a9741e8d7f5c540648f7d58a16b27aae8a0dc254f7008040f3223fe55b49057bcc726adc5160fe9758e1a805ece8e922184c96190f599 WHIRLPOOL 6c43e95fc37f67cac033169b8c5729570600dc04487beddadbfdcc5050679376fb7c1c44dc7b7a1277cfddfa3e52cc95b5f8722be7ef245fd3a5b2a07f357c6c
|
||||||
DIST x86-bin-libreoffice-kde-java-4.4.5.2.xd3 21101122 SHA256 c558160f44c832da0105b8498dde8c2516f01248befbbbe882a348ed1ae09a6c SHA512 81264dc0f93cb62e454a4ef241e89e54fd792f0b9532d573088e091d959cca1d9b610b3fa412a7b379e4da9fa54f07e19f304f1e6de1fda7ab12ef8b38d9e41f WHIRLPOOL 02d242f79d7020cbd6d8cffda03b9da89f4cd94ff044fca0bb71b40eecdff52c7a34c25054695a8dc25d64605633ccc94658294c6bab1f696b86a9d18224a345
|
|
||||||
DIST x86-bin-libreoffice-kde-java-5.0.3.2.xd3 22740068 SHA256 bbe6526a2020269e937cf4805a908baed77b678e24b17ecbdfa9a331266b587e SHA512 49e067dcba374510bf68f135cda20f321b04b6d4352d16d32716d434fd9540f87a3e052234d3b41b0af1b00f651d870ef5933d180f266f222e6e88b7c1e7453e WHIRLPOOL ec376b0efc0b25ec30f6f3082f9fda633230abf8b59905cd5a0b4d8687af6ee4b579c35b148927adc06b8fcdc746338f35bb5552c5e8e79e26388a12197212b8
|
DIST x86-bin-libreoffice-kde-java-5.0.3.2.xd3 22740068 SHA256 bbe6526a2020269e937cf4805a908baed77b678e24b17ecbdfa9a331266b587e SHA512 49e067dcba374510bf68f135cda20f321b04b6d4352d16d32716d434fd9540f87a3e052234d3b41b0af1b00f651d870ef5933d180f266f222e6e88b7c1e7453e WHIRLPOOL ec376b0efc0b25ec30f6f3082f9fda633230abf8b59905cd5a0b4d8687af6ee4b579c35b148927adc06b8fcdc746338f35bb5552c5e8e79e26388a12197212b8
|
||||||
|
@ -1,234 +0,0 @@
|
|||||||
# 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
|
|
||||||
}
|
|
@ -1,90 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit rpm eutils multilib versionator
|
|
||||||
|
|
||||||
MY_PV=$(get_version_component_range 1-3)
|
|
||||||
|
|
||||||
DESCRIPTION="Translations for the Libreoffice suite"
|
|
||||||
HOMEPAGE="http://www.libreoffice.org"
|
|
||||||
BASE_SRC_URI="http://download.documentfoundation.org/${PN/-l10n/}/stable/${MY_PV}/rpm"
|
|
||||||
|
|
||||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="offlinehelp"
|
|
||||||
|
|
||||||
#
|
|
||||||
# when changing the language lists, please be careful to preserve the spaces (bug 491728)
|
|
||||||
#
|
|
||||||
LANGUAGES_HELP=" am ast bg bn_IN bn bo bs ca_valencia ca cs da de dz el en_GB en en_ZA eo es et eu fi fr gl gu he hi hr hu id is it ja ka km ko mk nb ne nl nn om pl pt_BR pt ru si sk sl sq sv tg tr ug uk vi zh_CN zh_TW "
|
|
||||||
LANGUAGES="${LANGUAGES_HELP}af ar as be br brx cy dgo fa ga gd kk kmr_Latn kn kok ks lb lo lt lv mai ml mn mni mr my nr nso oc or pa_IN ro rw sa_IN sat sd sid sr_Latn sr ss st sw_TZ ta te th tn ts tt uz ve xh zu "
|
|
||||||
|
|
||||||
for lang in ${LANGUAGES_HELP}; do
|
|
||||||
helppack=""
|
|
||||||
[[ ${lang} == en ]] && lang2=${lang/en/en_US} || lang2=${lang}
|
|
||||||
helppack="offlinehelp? ( ${BASE_SRC_URI}/x86/LibreOffice_${MY_PV}_Linux_x86_rpm_helppack_${lang2/_/-}.tar.gz )"
|
|
||||||
SRC_URI+=" linguas_${lang}? ( ${helppack} )"
|
|
||||||
done
|
|
||||||
for lang in ${LANGUAGES}; do
|
|
||||||
langpack=""
|
|
||||||
[[ ${lang} == en ]] \
|
|
||||||
|| langpack="${BASE_SRC_URI}/x86/LibreOffice_${MY_PV}_Linux_x86_rpm_langpack_${lang/_/-}.tar.gz"
|
|
||||||
[[ -z ${langpack} ]] || SRC_URI+=" linguas_${lang}? ( ${langpack} )"
|
|
||||||
IUSE+=" linguas_${lang}"
|
|
||||||
done
|
|
||||||
unset lang helppack langpack lang2
|
|
||||||
|
|
||||||
RDEPEND+="app-text/hunspell"
|
|
||||||
|
|
||||||
RESTRICT="strip"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
|
|
||||||
local lang dir rpmdir i
|
|
||||||
local ooextused=()
|
|
||||||
|
|
||||||
for lang in ${LANGUAGES}; do
|
|
||||||
# break away if not enabled; paludis support
|
|
||||||
use_if_iuse linguas_${lang} || continue
|
|
||||||
|
|
||||||
dir=${lang/_/-}
|
|
||||||
|
|
||||||
# for english we provide just helppack, as translation is always there
|
|
||||||
if [[ ${lang} != en ]]; then
|
|
||||||
rpmdir="LibreOffice_${PV}_Linux_x86_rpm_langpack_${dir}/RPMS/"
|
|
||||||
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\""
|
|
||||||
# First remove dictionaries, we want to use system ones.
|
|
||||||
rm -rf "${S}/${rpmdir}/"*dict*.rpm
|
|
||||||
rpm_unpack "./${rpmdir}/"*.rpm
|
|
||||||
fi
|
|
||||||
if [[ "${LANGUAGES_HELP}" =~ " ${lang} " ]] && use offlinehelp; then
|
|
||||||
[[ ${lang} == en ]] && dir="en-US"
|
|
||||||
rpmdir="LibreOffice_${PV}_Linux_x86_rpm_helppack_${dir}/RPMS/"
|
|
||||||
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\""
|
|
||||||
rpm_unpack ./"${rpmdir}/"*.rpm
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() { :; }
|
|
||||||
src_configure() { :; }
|
|
||||||
src_compile() { :; }
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local dir="${S}"/opt/${PN/-l10n/}$(get_version_component_range 1-2)/
|
|
||||||
# Condition required for people that do not install anything eg no linguas
|
|
||||||
# or just english with no offlinehelp.
|
|
||||||
if [[ -d "${dir}" ]] ; then
|
|
||||||
insinto /usr/$(get_libdir)/${PN/-l10n/}/
|
|
||||||
doins -r "${dir}"/*
|
|
||||||
fi
|
|
||||||
# remove extensions that are in the l10n for some weird reason
|
|
||||||
rm -rf "${ED}"/usr/$(get_libdir)/${PN/-l10n/}/share/extensions/
|
|
||||||
}
|
|
@ -1,90 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit rpm eutils multilib versionator
|
|
||||||
|
|
||||||
MY_PV=$(get_version_component_range 1-3)
|
|
||||||
|
|
||||||
DESCRIPTION="Translations for the Libreoffice suite"
|
|
||||||
HOMEPAGE="http://www.libreoffice.org"
|
|
||||||
BASE_SRC_URI="http://download.documentfoundation.org/${PN/-l10n/}/stable/${MY_PV}/rpm"
|
|
||||||
|
|
||||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="offlinehelp"
|
|
||||||
|
|
||||||
#
|
|
||||||
# when changing the language lists, please be careful to preserve the spaces (bug 491728)
|
|
||||||
#
|
|
||||||
LANGUAGES_HELP=" am ast bg bn_IN bn bo bs ca_valencia ca cs da de dz el en_GB en en_ZA eo es et eu fi fr gl gu he hi hr hu id is it ja ka km ko mk nb ne nl nn om pl pt_BR pt ru si sk sl sq sv tg tr ug uk vi zh_CN zh_TW "
|
|
||||||
LANGUAGES="${LANGUAGES_HELP}af ar as be br brx cy dgo fa ga gd gug kk kmr_Latn kn kok ks lb lo lt lv mai ml mn mni mr my nr nso oc or pa_IN ro rw sa_IN sat sd sid sr_Latn sr ss st sw_TZ ta te th tn ts tt uz ve xh zu "
|
|
||||||
|
|
||||||
for lang in ${LANGUAGES_HELP}; do
|
|
||||||
helppack=""
|
|
||||||
[[ ${lang} == en ]] && lang2=${lang/en/en_US} || lang2=${lang}
|
|
||||||
helppack="offlinehelp? ( ${BASE_SRC_URI}/x86/LibreOffice_${MY_PV}_Linux_x86_rpm_helppack_${lang2/_/-}.tar.gz )"
|
|
||||||
SRC_URI+=" linguas_${lang}? ( ${helppack} )"
|
|
||||||
done
|
|
||||||
for lang in ${LANGUAGES}; do
|
|
||||||
langpack=""
|
|
||||||
[[ ${lang} == en ]] \
|
|
||||||
|| langpack="${BASE_SRC_URI}/x86/LibreOffice_${MY_PV}_Linux_x86_rpm_langpack_${lang/_/-}.tar.gz"
|
|
||||||
[[ -z ${langpack} ]] || SRC_URI+=" linguas_${lang}? ( ${langpack} )"
|
|
||||||
IUSE+=" linguas_${lang}"
|
|
||||||
done
|
|
||||||
unset lang helppack langpack lang2
|
|
||||||
|
|
||||||
RDEPEND+="app-text/hunspell"
|
|
||||||
|
|
||||||
RESTRICT="strip"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
|
|
||||||
local lang dir rpmdir i
|
|
||||||
local ooextused=()
|
|
||||||
|
|
||||||
for lang in ${LANGUAGES}; do
|
|
||||||
# break away if not enabled; paludis support
|
|
||||||
use_if_iuse linguas_${lang} || continue
|
|
||||||
|
|
||||||
dir=${lang/_/-}
|
|
||||||
|
|
||||||
# for english we provide just helppack, as translation is always there
|
|
||||||
if [[ ${lang} != en ]]; then
|
|
||||||
rpmdir="LibreOffice_${PV}_Linux_x86_rpm_langpack_${dir}/RPMS/"
|
|
||||||
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\""
|
|
||||||
# First remove dictionaries, we want to use system ones.
|
|
||||||
rm -rf "${S}/${rpmdir}/"*dict*.rpm
|
|
||||||
rpm_unpack "./${rpmdir}/"*.rpm
|
|
||||||
fi
|
|
||||||
if [[ "${LANGUAGES_HELP}" =~ " ${lang} " ]] && use offlinehelp; then
|
|
||||||
[[ ${lang} == en ]] && dir="en-US"
|
|
||||||
rpmdir="LibreOffice_${PV}_Linux_x86_rpm_helppack_${dir}/RPMS/"
|
|
||||||
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\""
|
|
||||||
rpm_unpack ./"${rpmdir}/"*.rpm
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() { :; }
|
|
||||||
src_configure() { :; }
|
|
||||||
src_compile() { :; }
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local dir="${S}"/opt/${PN/-l10n/}$(get_version_component_range 1-2)/
|
|
||||||
# Condition required for people that do not install anything eg no linguas
|
|
||||||
# or just english with no offlinehelp.
|
|
||||||
if [[ -d "${dir}" ]] ; then
|
|
||||||
insinto /usr/$(get_libdir)/${PN/-l10n/}/
|
|
||||||
doins -r "${dir}"/*
|
|
||||||
fi
|
|
||||||
# remove extensions that are in the l10n for some weird reason
|
|
||||||
rm -rf "${ED}"/usr/$(get_libdir)/${PN/-l10n/}/share/extensions/
|
|
||||||
}
|
|
@ -1,80 +0,0 @@
|
|||||||
From 0e4b1d2127957459b79f41a96f1fa0061d399b3b Mon Sep 17 00:00:00 2001
|
|
||||||
From: Michael Stahl <mstahl@redhat.com>
|
|
||||||
Date: Sat, 14 Feb 2015 00:17:06 +0100
|
|
||||||
Subject: tdf#78174: toolkit: work around GCC 4.9 -Os link failure
|
|
||||||
|
|
||||||
A build with gcc (GCC) 4.9.2 20141101 (Red Hat 4.9.2-1) for 32-bit x86
|
|
||||||
fails because of these undefined symbols:
|
|
||||||
|
|
||||||
> nm --demangle workdir/CxxObject/svx/source/fmcomp/fmgridif.o | grep
|
|
||||||
\\bWindowListenerMultiplexer::acquire
|
|
||||||
U non-virtual thunk to WindowListenerMultiplexer::acquire()
|
|
||||||
|
|
||||||
They should probably be generated inline. Work around by out-lining the
|
|
||||||
definition of the methods.
|
|
||||||
|
|
||||||
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64812
|
|
||||||
|
|
||||||
Change-Id: I318f7c39bdf1243be385bc6dc0a47862b22e92c5
|
|
||||||
(cherry picked from commit 6b3aa0fe4094e87290bd33a30bd6cd99ee78ce38)
|
|
||||||
Reviewed-on: https://gerrit.libreoffice.org/14509
|
|
||||||
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
||||||
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
||||||
|
|
||||||
diff --git a/include/toolkit/helper/macros.hxx b/include/toolkit/helper/macros.hxx
|
|
||||||
index e048e75..b212dff 100644
|
|
||||||
--- a/include/toolkit/helper/macros.hxx
|
|
||||||
+++ b/include/toolkit/helper/macros.hxx
|
|
||||||
@@ -112,8 +112,8 @@ class ClassName : public ListenerMultiplexerBase, public InterfaceName \
|
|
||||||
public: \
|
|
||||||
ClassName( ::cppu::OWeakObject& rSource ); \
|
|
||||||
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; \
|
|
||||||
- void SAL_CALL acquire() throw() SAL_OVERRIDE { ListenerMultiplexerBase::acquire(); } \
|
|
||||||
- void SAL_CALL release() throw() SAL_OVERRIDE { ListenerMultiplexerBase::release(); } \
|
|
||||||
+ void SAL_CALL acquire() throw() SAL_OVERRIDE; \
|
|
||||||
+ void SAL_CALL release() throw() SAL_OVERRIDE; \
|
|
||||||
void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
|
|
||||||
|
|
||||||
|
|
||||||
@@ -124,8 +124,8 @@ class TOOLKIT_DLLPUBLIC ClassName : public ListenerMultiplexerBase, public Inter
|
|
||||||
public: \
|
|
||||||
ClassName( ::cppu::OWeakObject& rSource ); \
|
|
||||||
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; \
|
|
||||||
- void SAL_CALL acquire() throw() SAL_OVERRIDE { ListenerMultiplexerBase::acquire(); } \
|
|
||||||
- void SAL_CALL release() throw() SAL_OVERRIDE { ListenerMultiplexerBase::release(); } \
|
|
||||||
+ void SAL_CALL acquire() throw() SAL_OVERRIDE; \
|
|
||||||
+ void SAL_CALL release() throw() SAL_OVERRIDE; \
|
|
||||||
void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
|
|
||||||
|
|
||||||
|
|
||||||
@@ -140,6 +140,8 @@ ClassName::ClassName( ::cppu::OWeakObject& rSource ) \
|
|
||||||
: ListenerMultiplexerBase( rSource ) \
|
|
||||||
{ \
|
|
||||||
} \
|
|
||||||
+void SAL_CALL ClassName::acquire() throw() { ListenerMultiplexerBase::acquire(); } \
|
|
||||||
+void SAL_CALL ClassName::release() throw() { ListenerMultiplexerBase::release(); } \
|
|
||||||
::com::sun::star::uno::Any ClassName::queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) \
|
|
||||||
{ \
|
|
||||||
::com::sun::star::uno::Any aRet = ::cppu::queryInterface( rType, \
|
|
||||||
diff --git a/toolkit/source/helper/listenermultiplexer.cxx b/toolkit/source/helper/listenermultiplexer.cxx
|
|
||||||
index 797fad2..b109c5f 100644
|
|
||||||
--- a/toolkit/source/helper/listenermultiplexer.cxx
|
|
||||||
+++ b/toolkit/source/helper/listenermultiplexer.cxx
|
|
||||||
@@ -47,6 +47,15 @@ EventListenerMultiplexer::EventListenerMultiplexer( ::cppu::OWeakObject& rSource
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
+void SAL_CALL EventListenerMultiplexer::acquire() throw ()
|
|
||||||
+{
|
|
||||||
+ return ListenerMultiplexerBase::acquire();
|
|
||||||
+}
|
|
||||||
+void SAL_CALL EventListenerMultiplexer::release() throw ()
|
|
||||||
+{
|
|
||||||
+ return ListenerMultiplexerBase::release();
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
// ::com::sun::star::uno::XInterface
|
|
||||||
::com::sun::star::uno::Any EventListenerMultiplexer::queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception)
|
|
||||||
{
|
|
||||||
--
|
|
||||||
cgit v0.10.2
|
|
@ -1,192 +0,0 @@
|
|||||||
Merged upstream commits:
|
|
||||||
|
|
||||||
6fc55b9abd783b624241d56e34751ea495adbd7d "KDE4: actually apply file dialog operation mode"
|
|
||||||
b613270a730ace29dd1b16b29be2222b34f34a5d "KDE4: improve default load and save dialog titles"
|
|
||||||
|
|
||||||
|
|
||||||
diff -u b/vcl/unx/kde4/KDE4FilePicker.cxx b/vcl/unx/kde4/KDE4FilePicker.cxx
|
|
||||||
--- b/vcl/unx/kde4/KDE4FilePicker.cxx
|
|
||||||
+++ b/vcl/unx/kde4/KDE4FilePicker.cxx
|
|
||||||
@@ -58,6 +58,8 @@
|
|
||||||
|
|
||||||
#include "generic/geninst.h"
|
|
||||||
|
|
||||||
+#include "svids.hrc"
|
|
||||||
+
|
|
||||||
using namespace ::com::sun::star;
|
|
||||||
using namespace ::com::sun::star::ui::dialogs;
|
|
||||||
using namespace ::com::sun::star::ui::dialogs::TemplateDescription;
|
|
||||||
@@ -109,7 +111,6 @@
|
|
||||||
|
|
||||||
KDE4FilePicker::KDE4FilePicker( const uno::Reference<uno::XComponentContext>& )
|
|
||||||
: KDE4FilePicker_Base(_helperMutex)
|
|
||||||
- , _resMgr( ResMgr::CreateResMgr("fps_office") )
|
|
||||||
, allowRemoteUrls( false )
|
|
||||||
{
|
|
||||||
_extraControls = new QWidget();
|
|
||||||
@@ -128,8 +129,7 @@
|
|
||||||
#endif
|
|
||||||
|
|
||||||
setMultiSelectionMode( false );
|
|
||||||
- //default mode
|
|
||||||
- _dialog->setOperationMode(KFileDialog::Opening);
|
|
||||||
+ _dialog->setConfirmOverwrite( true );
|
|
||||||
|
|
||||||
// XExecutableDialog functions
|
|
||||||
connect( this, SIGNAL( setTitleSignal( const OUString & ) ),
|
|
||||||
@@ -202,7 +202,6 @@
|
|
||||||
SalYieldMutexReleaser aReleaser;
|
|
||||||
return Q_EMIT cleanupProxySignal();
|
|
||||||
}
|
|
||||||
- delete _resMgr;
|
|
||||||
delete _dialog;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -524,6 +523,24 @@
|
|
||||||
return toOUString(label);
|
|
||||||
}
|
|
||||||
|
|
||||||
+QString KDE4FilePicker::getResString( sal_Int16 aRedId )
|
|
||||||
+{
|
|
||||||
+ QString aResString;
|
|
||||||
+
|
|
||||||
+ if( aRedId < 0 )
|
|
||||||
+ return aResString;
|
|
||||||
+
|
|
||||||
+ try
|
|
||||||
+ {
|
|
||||||
+ aResString = toQString(ResId(aRedId, *ImplGetResMgr()).toString());
|
|
||||||
+ }
|
|
||||||
+ catch(...)
|
|
||||||
+ {
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ return aResString.replace('~', '&');
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
void KDE4FilePicker::addCustomControl(sal_Int16 controlId)
|
|
||||||
{
|
|
||||||
QWidget* widget = 0;
|
|
||||||
@@ -532,37 +549,37 @@
|
|
||||||
switch (controlId)
|
|
||||||
{
|
|
||||||
case CHECKBOX_AUTOEXTENSION:
|
|
||||||
- resId = STR_SVT_FILEPICKER_AUTO_EXTENSION;
|
|
||||||
+ resId = STR_FPICKER_AUTO_EXTENSION;
|
|
||||||
break;
|
|
||||||
case CHECKBOX_PASSWORD:
|
|
||||||
- resId = STR_SVT_FILEPICKER_PASSWORD;
|
|
||||||
+ resId = STR_FPICKER_PASSWORD;
|
|
||||||
break;
|
|
||||||
case CHECKBOX_FILTEROPTIONS:
|
|
||||||
- resId = STR_SVT_FILEPICKER_FILTER_OPTIONS;
|
|
||||||
+ resId = STR_FPICKER_FILTER_OPTIONS;
|
|
||||||
break;
|
|
||||||
case CHECKBOX_READONLY:
|
|
||||||
- resId = STR_SVT_FILEPICKER_READONLY;
|
|
||||||
+ resId = STR_FPICKER_READONLY;
|
|
||||||
break;
|
|
||||||
case CHECKBOX_LINK:
|
|
||||||
- resId = STR_SVT_FILEPICKER_INSERT_AS_LINK;
|
|
||||||
+ resId = STR_FPICKER_INSERT_AS_LINK;
|
|
||||||
break;
|
|
||||||
case CHECKBOX_PREVIEW:
|
|
||||||
- resId = STR_SVT_FILEPICKER_SHOW_PREVIEW;
|
|
||||||
+ resId = STR_FPICKER_SHOW_PREVIEW;
|
|
||||||
break;
|
|
||||||
case CHECKBOX_SELECTION:
|
|
||||||
- resId = STR_SVT_FILEPICKER_SELECTION;
|
|
||||||
+ resId = STR_FPICKER_SELECTION;
|
|
||||||
break;
|
|
||||||
case PUSHBUTTON_PLAY:
|
|
||||||
- resId = STR_SVT_FILEPICKER_PLAY;
|
|
||||||
+ resId = STR_FPICKER_PLAY;
|
|
||||||
break;
|
|
||||||
case LISTBOX_VERSION:
|
|
||||||
- resId = STR_SVT_FILEPICKER_VERSION;
|
|
||||||
+ resId = STR_FPICKER_VERSION;
|
|
||||||
break;
|
|
||||||
case LISTBOX_TEMPLATE:
|
|
||||||
- resId = STR_SVT_FILEPICKER_TEMPLATES;
|
|
||||||
+ resId = STR_FPICKER_TEMPLATES;
|
|
||||||
break;
|
|
||||||
case LISTBOX_IMAGE_TEMPLATE:
|
|
||||||
- resId = STR_SVT_FILEPICKER_IMAGE_TEMPLATE;
|
|
||||||
+ resId = STR_FPICKER_IMAGE_TEMPLATE;
|
|
||||||
break;
|
|
||||||
case LISTBOX_VERSION_LABEL:
|
|
||||||
case LISTBOX_TEMPLATE_LABEL:
|
|
||||||
@@ -581,16 +598,7 @@
|
|
||||||
case CHECKBOX_PREVIEW:
|
|
||||||
case CHECKBOX_SELECTION:
|
|
||||||
{
|
|
||||||
- QString label;
|
|
||||||
-
|
|
||||||
- if (_resMgr && resId != -1)
|
|
||||||
- {
|
|
||||||
- OUString s(ResId(resId, *_resMgr).toString());
|
|
||||||
- label = toQString(s);
|
|
||||||
- label.replace("~", "&");
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
- widget = new QCheckBox(label, _extraControls);
|
|
||||||
+ widget = new QCheckBox(getResString(resId), _extraControls);
|
|
||||||
|
|
||||||
// the checkbox is created even for CHECKBOX_AUTOEXTENSION to simplify
|
|
||||||
// code, but the checkbox is hidden and ignored
|
|
||||||
@@ -719,8 +727,22 @@
|
|
||||||
1 );
|
|
||||||
}
|
|
||||||
|
|
||||||
- _dialog->setOperationMode(operationMode);
|
|
||||||
- _dialog->setConfirmOverwrite(true);
|
|
||||||
+ _dialog->setOperationMode( operationMode );
|
|
||||||
+
|
|
||||||
+ sal_Int16 resId = -1;
|
|
||||||
+ switch (_dialog->operationMode())
|
|
||||||
+ {
|
|
||||||
+ case KFileDialog::Opening:
|
|
||||||
+ resId = STR_FPICKER_OPEN;
|
|
||||||
+ break;
|
|
||||||
+ case KFileDialog::Saving:
|
|
||||||
+ resId = STR_FPICKER_SAVE;
|
|
||||||
+ break;
|
|
||||||
+ default:
|
|
||||||
+ break;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ _dialog->setCaption(getResString(resId));
|
|
||||||
}
|
|
||||||
|
|
||||||
void SAL_CALL KDE4FilePicker::cancel()
|
|
||||||
only in patch2:
|
|
||||||
unchanged:
|
|
||||||
--- a/vcl/unx/kde4/KDE4FilePicker.hxx
|
|
||||||
+++ b/vcl/unx/kde4/KDE4FilePicker.hxx
|
|
||||||
@@ -41,8 +41,6 @@ class KFileDialog;
|
|
||||||
class QWidget;
|
|
||||||
class QLayout;
|
|
||||||
|
|
||||||
-class ResMgr;
|
|
||||||
-
|
|
||||||
typedef ::cppu::WeakComponentImplHelper5
|
|
||||||
< ::com::sun::star::ui::dialogs::XFilePicker2
|
|
||||||
, ::com::sun::star::ui::dialogs::XFilePicker3
|
|
||||||
@@ -61,8 +59,6 @@ protected:
|
|
||||||
|
|
||||||
::com::sun::star::uno::Reference< ::com::sun::star::ui::dialogs::XFilePickerListener > m_xListener;
|
|
||||||
|
|
||||||
- ResMgr *_resMgr;
|
|
||||||
-
|
|
||||||
//the dialog to display
|
|
||||||
KFileDialog* _dialog;
|
|
||||||
|
|
||||||
@@ -225,6 +221,8 @@ private:
|
|
||||||
//add a custom control widget to the file dialog
|
|
||||||
void addCustomControl(sal_Int16 controlId);
|
|
||||||
|
|
||||||
+ QString getResString( sal_Int16 aRedId );
|
|
||||||
+
|
|
||||||
private Q_SLOTS:
|
|
||||||
void cleanupProxy();
|
|
||||||
void checkProtocol();
|
|
@ -1,618 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
KDE_REQUIRED="optional"
|
|
||||||
QT_MINIMAL="4.7.4"
|
|
||||||
KDE_SCM="git"
|
|
||||||
CMAKE_REQUIRED="never"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
|
||||||
PYTHON_REQ_USE="threads,xml"
|
|
||||||
|
|
||||||
# experimental ; release ; old
|
|
||||||
# Usually the tarballs are moved a lot so this should make
|
|
||||||
# everyone happy.
|
|
||||||
DEV_URI="
|
|
||||||
http://dev-builds.libreoffice.org/pre-releases/src
|
|
||||||
http://download.documentfoundation.org/libreoffice/src/${PV:0:5}/
|
|
||||||
http://download.documentfoundation.org/libreoffice/old/${PV}/
|
|
||||||
"
|
|
||||||
EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice"
|
|
||||||
ADDONS_URI="http://dev-www.libreoffice.org/src/"
|
|
||||||
|
|
||||||
BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
|
|
||||||
# PATCHSET="${P}-patchset-01.tar.xz"
|
|
||||||
|
|
||||||
[[ ${PV} == *9999* ]] && SCM_ECLASS="git-r3"
|
|
||||||
inherit base multiprocessing autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic versionator ${SCM_ECLASS}
|
|
||||||
unset SCM_ECLASS
|
|
||||||
|
|
||||||
DESCRIPTION="LibreOffice, a full office productivity suite"
|
|
||||||
HOMEPAGE="http://www.libreoffice.org"
|
|
||||||
SRC_URI="branding? ( http://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
|
|
||||||
[[ -n ${PATCHSET} ]] && SRC_URI+=" http://dev.gentooexperimental.org/~scarabeus/${PATCHSET}"
|
|
||||||
|
|
||||||
# Split modules following git/tarballs
|
|
||||||
# Core MUST be first!
|
|
||||||
# Help is used for the image generator
|
|
||||||
MODULES="core help"
|
|
||||||
# Only release has the tarballs
|
|
||||||
if [[ ${PV} != *9999* ]]; then
|
|
||||||
for i in ${DEV_URI}; do
|
|
||||||
for mod in ${MODULES}; do
|
|
||||||
if [[ ${mod} == core ]]; then
|
|
||||||
SRC_URI+=" ${i}/${P}.tar.xz"
|
|
||||||
else
|
|
||||||
SRC_URI+=" ${i}/${PN}-${mod}-${PV}.tar.xz"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
unset mod
|
|
||||||
done
|
|
||||||
unset i
|
|
||||||
fi
|
|
||||||
unset DEV_URI
|
|
||||||
|
|
||||||
# Really required addons
|
|
||||||
# These are bundles that can't be removed for now due to huge patchsets.
|
|
||||||
# If you want them gone, patches are welcome.
|
|
||||||
ADDONS_SRC+=" ${ADDONS_URI}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz"
|
|
||||||
ADDONS_SRC+=" ${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code
|
|
||||||
ADDONS_SRC+=" collada? ( ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 )"
|
|
||||||
ADDONS_SRC+=" java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
|
||||||
ADDONS_SRC+=" libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" # no release for 8 years, should we package it?
|
|
||||||
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )" # Does not build with 1.6 rhino at all
|
|
||||||
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )" # requirement of rhino
|
|
||||||
ADDONS_SRC+=" odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )" # not packageable
|
|
||||||
SRC_URI+=" ${ADDONS_SRC}"
|
|
||||||
|
|
||||||
unset ADDONS_URI
|
|
||||||
unset EXT_URI
|
|
||||||
unset ADDONS_SRC
|
|
||||||
|
|
||||||
IUSE="bluetooth +branding coinmp collada +cups dbus debug eds firebird gltf gnome gstreamer
|
|
||||||
+gtk gtk3 jemalloc kde mysql odk postgres telepathy test vlc"
|
|
||||||
|
|
||||||
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
|
|
||||||
# Unpackaged separate extensions:
|
|
||||||
# diagram: lo has 0.9.5 upstream is weirdly patched 0.9.4 -> wtf?
|
|
||||||
# hunart: only on ooo extensions -> fubared download path somewhere on sf
|
|
||||||
# numbertext, typo, validator, watch-window: ^^
|
|
||||||
# oooblogger: no homepage or anything
|
|
||||||
# Extensions that need extra work:
|
|
||||||
for lo_xt in ${LO_EXTS}; do
|
|
||||||
IUSE+=" libreoffice_extensions_${lo_xt}"
|
|
||||||
done
|
|
||||||
unset lo_xt
|
|
||||||
|
|
||||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
|
||||||
SLOT="0"
|
|
||||||
[[ ${PV} == *9999* ]] || \
|
|
||||||
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
|
|
||||||
|
|
||||||
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
|
|
||||||
bluetooth? ( net-wireless/bluez )
|
|
||||||
coinmp? ( sci-libs/coinor-mp )
|
|
||||||
collada? ( >=media-libs/opencollada-1.2.2_p20150207 )
|
|
||||||
cups? ( net-print/cups )
|
|
||||||
dbus? ( >=dev-libs/dbus-glib-0.92 )
|
|
||||||
eds? ( gnome-extra/evolution-data-server )
|
|
||||||
firebird? ( >=dev-db/firebird-2.5 )
|
|
||||||
gltf? ( media-libs/libgltf )
|
|
||||||
gnome? ( gnome-base/gconf:2 )
|
|
||||||
gtk? (
|
|
||||||
x11-libs/gdk-pixbuf[X]
|
|
||||||
>=x11-libs/gtk+-2.24:2
|
|
||||||
)
|
|
||||||
gtk3? ( >=x11-libs/gtk+-3.2:3 )
|
|
||||||
gstreamer? (
|
|
||||||
media-libs/gstreamer:1.0
|
|
||||||
media-libs/gst-plugins-base:1.0
|
|
||||||
)
|
|
||||||
jemalloc? ( dev-libs/jemalloc )
|
|
||||||
libreoffice_extensions_scripting-beanshell? ( >=dev-java/bsh-2.0_beta4 )
|
|
||||||
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
|
|
||||||
libreoffice_extensions_wiki-publisher? (
|
|
||||||
dev-java/commons-codec:0
|
|
||||||
dev-java/commons-httpclient:3
|
|
||||||
dev-java/commons-lang:2.1
|
|
||||||
dev-java/commons-logging:0
|
|
||||||
dev-java/tomcat-servlet-api:3.0
|
|
||||||
)
|
|
||||||
mysql? ( >=dev-db/mysql-connector-c++-1.1.0 )
|
|
||||||
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] )
|
|
||||||
telepathy? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
>=net-libs/telepathy-glib-0.18.0
|
|
||||||
>=x11-libs/gtk+-2.24:2
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
!app-office/libreoffice-bin
|
|
||||||
!app-office/libreoffice-bin-debug
|
|
||||||
!<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) )
|
|
||||||
vlc? ( media-video/vlc )
|
|
||||||
"
|
|
||||||
|
|
||||||
if [[ ${PV} != *9999* ]]; then
|
|
||||||
PDEPEND="=app-office/libreoffice-l10n-$(get_version_component_range 1-2)*"
|
|
||||||
else
|
|
||||||
# Translations are not reliable on live ebuilds
|
|
||||||
# rather force people to use english only.
|
|
||||||
PDEPEND="!app-office/libreoffice-l10n"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# FIXME: cppunit should be moved to test conditional
|
|
||||||
# after everything upstream is under gbuild
|
|
||||||
# as dmake execute tests right away
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
>=dev-libs/libatomic_ops-7.2d
|
|
||||||
>=dev-libs/libxml2-2.7.8
|
|
||||||
dev-libs/libxslt
|
|
||||||
dev-perl/Archive-Zip
|
|
||||||
dev-util/cppunit
|
|
||||||
>=dev-util/gperf-3
|
|
||||||
dev-util/intltool
|
|
||||||
>=dev-util/mdds-0.11.2:=
|
|
||||||
media-libs/glm
|
|
||||||
net-misc/npapi-sdk
|
|
||||||
>=sys-apps/findutils-4.4.2
|
|
||||||
sys-devel/bison
|
|
||||||
sys-apps/coreutils
|
|
||||||
sys-devel/flex
|
|
||||||
sys-devel/gettext
|
|
||||||
>=sys-devel/make-3.82
|
|
||||||
sys-devel/ucpp
|
|
||||||
sys-libs/zlib
|
|
||||||
virtual/pkgconfig
|
|
||||||
x11-libs/libXt
|
|
||||||
x11-libs/libXtst
|
|
||||||
x11-proto/randrproto
|
|
||||||
x11-proto/xextproto
|
|
||||||
x11-proto/xineramaproto
|
|
||||||
x11-proto/xproto
|
|
||||||
java? (
|
|
||||||
>=virtual/jdk-1.6
|
|
||||||
>=dev-java/ant-core-1.7
|
|
||||||
)
|
|
||||||
odk? ( >=app-doc/doxygen-1.8.4 )
|
|
||||||
test? ( dev-util/cppunit )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# not upstreamable stuff
|
|
||||||
"${FILESDIR}/${PN}-4.4-system-pyuno.patch"
|
|
||||||
|
|
||||||
# from 5.0 branch
|
|
||||||
"${FILESDIR}/${PN}-4.3.5.2-remove-bashisms.patch" # bug 525454
|
|
||||||
"${FILESDIR}/${PN}-4.4.0.3-telepathy-build-fix.patch"
|
|
||||||
"${FILESDIR}/${PN}-4.4.1.2-add-kde4-open-url-script.patch"
|
|
||||||
"${FILESDIR}/${PN}-4.4.4.3-improve-KDE4FilePicker.patch"
|
|
||||||
"${FILESDIR}/${PN}-4.4.4.3-fix-KDE4-FileDialog.patch"
|
|
||||||
"${FILESDIR}/${PN}-4.4.4.3-cleanup-IsNativeControlSupported.patch"
|
|
||||||
|
|
||||||
# from master branch
|
|
||||||
"${FILESDIR}/${PN}-4.4.5.2-fix-KDE4-listbox-regression.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
REQUIRED_USE="
|
|
||||||
${PYTHON_REQUIRED_USE}
|
|
||||||
bluetooth? ( dbus )
|
|
||||||
collada? ( gltf )
|
|
||||||
gnome? ( gtk )
|
|
||||||
eds? ( gnome )
|
|
||||||
telepathy? ( gtk )
|
|
||||||
libreoffice_extensions_nlpsolver? ( java )
|
|
||||||
libreoffice_extensions_scripting-beanshell? ( java )
|
|
||||||
libreoffice_extensions_scripting-javascript? ( java )
|
|
||||||
libreoffice_extensions_wiki-publisher? ( java )
|
|
||||||
"
|
|
||||||
|
|
||||||
CHECKREQS_MEMORY="512M"
|
|
||||||
CHECKREQS_DISK_BUILD="6G"
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
local pgslot
|
|
||||||
|
|
||||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
|
||||||
check-reqs_pkg_pretend
|
|
||||||
|
|
||||||
if [[ $(gcc-major-version) -lt 4 ]] || \
|
|
||||||
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) \
|
|
||||||
; then
|
|
||||||
eerror "Compilation with gcc older than 4.6 is not supported"
|
|
||||||
die "Too old gcc found."
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Ensure pg version but we have to be sure the pg is installed (first
|
|
||||||
# install on clean system)
|
|
||||||
if use postgres && has_version dev-db/postgresql; then
|
|
||||||
pgslot=$(postgresql-config show)
|
|
||||||
if [[ ${pgslot//.} < 90 ]] ; then
|
|
||||||
eerror "PostgreSQL slot must be set to 9.0 or higher."
|
|
||||||
eerror " postgresql-config set 9.0"
|
|
||||||
die "PostgreSQL slot is not set to 9.0 or higher."
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
java-pkg-opt-2_pkg_setup
|
|
||||||
kde4-base_pkg_setup
|
|
||||||
python-single-r1_pkg_setup
|
|
||||||
|
|
||||||
[[ ${MERGE_TYPE} != binary ]] && check-reqs_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
local mod mod2 dest tmplfile tmplname mypv
|
|
||||||
|
|
||||||
[[ -n ${PATCHSET} ]] && unpack ${PATCHSET}
|
|
||||||
use branding && unpack "${BRANDING}"
|
|
||||||
|
|
||||||
if [[ ${PV} != *9999* ]]; then
|
|
||||||
unpack "${P}.tar.xz"
|
|
||||||
for mod in ${MODULES}; do
|
|
||||||
[[ ${mod} == core ]] && continue
|
|
||||||
unpack "${PN}-${mod}-${PV}.tar.xz"
|
|
||||||
done
|
|
||||||
else
|
|
||||||
for mod in ${MODULES}; do
|
|
||||||
mypv=${PV/.9999}
|
|
||||||
[[ ${mypv} != ${PV} ]] && EGIT_BRANCH="${PN}-${mypv/./-}"
|
|
||||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${P}"
|
|
||||||
[[ ${mod} != core ]] && EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${mod}-${PV}"
|
|
||||||
EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}/${mod}"
|
|
||||||
git-r3_src_unpack
|
|
||||||
if [[ ${mod} != core ]]; then
|
|
||||||
mod2=${mod}
|
|
||||||
# mapping does not match on help
|
|
||||||
[[ ${mod} == help ]] && mod2="helpcontent2"
|
|
||||||
mkdir -p "${S}/${mod2}/" || die
|
|
||||||
mv -n "${WORKDIR}/${PN}-${mod}-${PV}"/* "${S}/${mod2}" || die
|
|
||||||
rm -rf "${WORKDIR}/${PN}-${mod}-${PV}"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
unset EGIT_CHECKOUT_DIR EGIT_REPO_URI EGIT_BRANCH
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# optimization flags
|
|
||||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
|
||||||
# System python 2.7 enablement:
|
|
||||||
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
|
||||||
export PYTHON_LIBS=$(python_get_LIBS)
|
|
||||||
|
|
||||||
if use collada; then
|
|
||||||
export OPENCOLLADA_CFLAGS="-I/usr/include/opencollada/COLLADABaseUtils -I/usr/include/opencollada/COLLADAFramework -I/usr/include/opencollada/COLLADASaxFrameworkLoader -I/usr/include/opencollada/GeneratedSaxParser"
|
|
||||||
export OPENCOLLADA_LIBS="-L /usr/$(get_libdir)/opencollada -lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# patchset
|
|
||||||
if [[ -n ${PATCHSET} ]]; then
|
|
||||||
EPATCH_FORCE="yes" \
|
|
||||||
EPATCH_SOURCE="${WORKDIR}/${PATCHSET/.tar.xz/}" \
|
|
||||||
EPATCH_SUFFIX="patch" \
|
|
||||||
epatch
|
|
||||||
fi
|
|
||||||
|
|
||||||
base_src_prepare
|
|
||||||
|
|
||||||
AT_M4DIR="m4" eautoreconf
|
|
||||||
# hack in the autogen.sh
|
|
||||||
touch autogen.lastrun
|
|
||||||
|
|
||||||
# system pyuno mess
|
|
||||||
sed \
|
|
||||||
-e "s:%eprefix%:${EPREFIX}:g" \
|
|
||||||
-e "s:%libdir%:$(get_libdir):g" \
|
|
||||||
-i pyuno/source/module/uno.py \
|
|
||||||
-i pyuno/source/officehelper.py || die
|
|
||||||
# sed in the tests
|
|
||||||
sed -i \
|
|
||||||
-e 's#all : build unitcheck#all : build#g' \
|
|
||||||
solenv/gbuild/Module.mk || die
|
|
||||||
sed -i \
|
|
||||||
-e 's#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g' \
|
|
||||||
-e 's#Makefile.gbuild all slowcheck#Makefile.gbuild all#g' \
|
|
||||||
Makefile.in || die
|
|
||||||
|
|
||||||
if use branding; then
|
|
||||||
# hack...
|
|
||||||
mv -v "${WORKDIR}/branding-intro.png" "${S}/icon-themes/galaxy/brand/intro.png" || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local java_opts
|
|
||||||
local internal_libs
|
|
||||||
local lo_ext
|
|
||||||
local ext_opts
|
|
||||||
|
|
||||||
# sane: just sane.h header that is used for scan in writer, not
|
|
||||||
# linked or anything else, worthless to depend on
|
|
||||||
# vigra: just uses templates from there
|
|
||||||
# it is serious pain in the ass for packaging
|
|
||||||
# should be replaced by boost::gil if someone interested
|
|
||||||
internal_libs+="
|
|
||||||
--without-system-sane
|
|
||||||
--without-system-vigra
|
|
||||||
"
|
|
||||||
|
|
||||||
# libreoffice extensions handling
|
|
||||||
for lo_xt in ${LO_EXTS}; do
|
|
||||||
if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" == "scripting-javascript" ]]; then
|
|
||||||
ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ${lo_xt})"
|
|
||||||
else
|
|
||||||
ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt})"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if use java; then
|
|
||||||
# hsqldb: system one is too new
|
|
||||||
java_opts="
|
|
||||||
--without-junit
|
|
||||||
--without-system-hsqldb
|
|
||||||
--with-ant-home="${ANT_HOME}"
|
|
||||||
--with-jdk-home=$(java-config --jdk-home 2>/dev/null)
|
|
||||||
--with-jvm-path="${EPREFIX}/usr/lib/"
|
|
||||||
"
|
|
||||||
|
|
||||||
use libreoffice_extensions_scripting-beanshell && \
|
|
||||||
java_opts+=" --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar)"
|
|
||||||
|
|
||||||
use libreoffice_extensions_scripting-javascript && \
|
|
||||||
java_opts+=" --with-rhino-jar=$(java-pkg_getjar rhino-1.6 js.jar)"
|
|
||||||
|
|
||||||
if use libreoffice_extensions_wiki-publisher; then
|
|
||||||
java_opts+="
|
|
||||||
--with-commons-codec-jar=$(java-pkg_getjar commons-codec commons-codec.jar)
|
|
||||||
--with-commons-httpclient-jar=$(java-pkg_getjar commons-httpclient-3 commons-httpclient.jar)
|
|
||||||
--with-commons-lang-jar=$(java-pkg_getjar commons-lang-2.1 commons-lang.jar)
|
|
||||||
--with-commons-logging-jar=$(java-pkg_getjar commons-logging commons-logging.jar)
|
|
||||||
--with-servlet-api-jar=$(java-pkg_getjar tomcat-servlet-api-3.0 servlet-api.jar)
|
|
||||||
"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# system headers/libs/...: enforce using system packages
|
|
||||||
# --enable-cairo: ensure that cairo is always required
|
|
||||||
# --enable-graphite: disabling causes build breakages
|
|
||||||
# --enable-*-link: link to the library rather than just dlopen on runtime
|
|
||||||
# --enable-release-build: build the libreoffice as release
|
|
||||||
# --disable-fetch-external: prevent dowloading during compile phase
|
|
||||||
# --disable-gnome-vfs: old gnome virtual fs support
|
|
||||||
# --disable-kdeab: kde3 adressbook
|
|
||||||
# --disable-kde: kde3 support
|
|
||||||
# --disable-systray: quickstarter does not actually work at all so do not
|
|
||||||
# promote it
|
|
||||||
# --enable-extension-integration: enable any extension integration support
|
|
||||||
# --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs
|
|
||||||
# --disable-report-builder: too much java packages pulled in without pkgs
|
|
||||||
econf \
|
|
||||||
--docdir="${EPREFIX}/usr/share/doc/${PF}/" \
|
|
||||||
--with-system-headers \
|
|
||||||
--with-system-libs \
|
|
||||||
--with-system-jars \
|
|
||||||
--with-system-dicts \
|
|
||||||
--enable-cairo-canvas \
|
|
||||||
--enable-graphite \
|
|
||||||
--enable-largefile \
|
|
||||||
--enable-mergelibs \
|
|
||||||
--enable-neon \
|
|
||||||
--enable-python=system \
|
|
||||||
--enable-randr \
|
|
||||||
--enable-randr-link \
|
|
||||||
--enable-release-build \
|
|
||||||
--disable-hardlink-deliver \
|
|
||||||
--disable-ccache \
|
|
||||||
--disable-crashdump \
|
|
||||||
--disable-dependency-tracking \
|
|
||||||
--disable-epm \
|
|
||||||
--disable-fetch-external \
|
|
||||||
--disable-gnome-vfs \
|
|
||||||
--disable-gstreamer-0-10 \
|
|
||||||
--disable-report-builder \
|
|
||||||
--disable-kdeab \
|
|
||||||
--disable-kde \
|
|
||||||
--disable-online-update \
|
|
||||||
--disable-systray \
|
|
||||||
--with-alloc=$(use jemalloc && echo "jemalloc" || echo "system") \
|
|
||||||
--with-build-version="Gentoo official package" \
|
|
||||||
--enable-extension-integration \
|
|
||||||
--with-external-dict-dir="${EPREFIX}/usr/share/myspell" \
|
|
||||||
--with-external-hyph-dir="${EPREFIX}/usr/share/myspell" \
|
|
||||||
--with-external-thes-dir="${EPREFIX}/usr/share/myspell" \
|
|
||||||
--with-external-tar="${DISTDIR}" \
|
|
||||||
--with-lang="" \
|
|
||||||
--with-parallelism=$(makeopts_jobs) \
|
|
||||||
--with-system-ucpp \
|
|
||||||
--with-vendor="Gentoo Foundation" \
|
|
||||||
--with-x \
|
|
||||||
--without-fonts \
|
|
||||||
--without-myspell-dicts \
|
|
||||||
--without-help \
|
|
||||||
--with-helppack-integration \
|
|
||||||
--without-sun-templates \
|
|
||||||
$(use_enable bluetooth sdremote-bluetooth) \
|
|
||||||
$(use_enable coinmp) \
|
|
||||||
$(use_enable collada) \
|
|
||||||
$(use_enable cups) \
|
|
||||||
$(use_enable debug) \
|
|
||||||
$(use_enable dbus) \
|
|
||||||
$(use_enable eds evolution2) \
|
|
||||||
$(use_enable firebird firebird-sdbc) \
|
|
||||||
$(use_enable gltf) \
|
|
||||||
$(use_enable gnome gconf) \
|
|
||||||
$(use_enable gnome gio) \
|
|
||||||
$(use_enable gnome lockdown) \
|
|
||||||
$(use_enable gstreamer gstreamer-1-0) \
|
|
||||||
$(use_enable gtk) \
|
|
||||||
$(use_enable gtk3) \
|
|
||||||
$(use_enable kde kde4) \
|
|
||||||
$(use_enable mysql ext-mariadb-connector) \
|
|
||||||
$(use_enable odk) \
|
|
||||||
$(use_enable postgres postgresql-sdbc) \
|
|
||||||
$(use_enable telepathy) \
|
|
||||||
$(use_enable vlc) \
|
|
||||||
$(use_with coinmp system-coinmp) \
|
|
||||||
$(use_with collada system-opencollada) \
|
|
||||||
$(use_with gltf system-libgltf) \
|
|
||||||
$(use_with java) \
|
|
||||||
$(use_with mysql system-mysql-cppconn) \
|
|
||||||
$(use_with odk doxygen) \
|
|
||||||
${internal_libs} \
|
|
||||||
${java_opts} \
|
|
||||||
${ext_opts}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# more and more LO stuff tries to use OpenGL, including tests during build
|
|
||||||
# bug 501508, bug 540624, bug 545974 and probably more
|
|
||||||
addpredict /dev/dri
|
|
||||||
addpredict /dev/ati
|
|
||||||
addpredict /dev/nvidiactl
|
|
||||||
|
|
||||||
# hack for offlinehelp, this needs fixing upstream at some point
|
|
||||||
# it is broken because we send --without-help
|
|
||||||
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
|
|
||||||
(
|
|
||||||
grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk"
|
|
||||||
source "${T}/config_host.mk" 2&> /dev/null
|
|
||||||
|
|
||||||
local path="${WORKDIR}/helpcontent2/source/auxiliary/"
|
|
||||||
mkdir -p "${path}" || die
|
|
||||||
|
|
||||||
echo "perl \"${S}/helpcontent2/helpers/create_ilst.pl\" -dir=icon-themes/galaxy/res/helpimg > \"${path}/helpimg.ilst\""
|
|
||||||
perl "${S}/helpcontent2/helpers/create_ilst.pl" \
|
|
||||||
-dir=icon-themes/galaxy/res/helpimg \
|
|
||||||
> "${path}/helpimg.ilst"
|
|
||||||
[[ -s "${path}/helpimg.ilst" ]] || ewarn "The help images list is empty, something is fishy, report a bug."
|
|
||||||
)
|
|
||||||
|
|
||||||
local target
|
|
||||||
use test && target="build" || target="build-nocheck"
|
|
||||||
|
|
||||||
# this is not a proper make script
|
|
||||||
make ${target} || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
make unitcheck || die
|
|
||||||
make slowcheck || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# This is not Makefile so no buildserver
|
|
||||||
make DESTDIR="${D}" distro-pack-install -o build -o check || die
|
|
||||||
|
|
||||||
# Fix bash completion placement
|
|
||||||
newbashcomp "${ED}"/etc/bash_completion.d/libreoffice.sh ${PN}
|
|
||||||
bashcomp_alias \
|
|
||||||
libreoffice \
|
|
||||||
unopkg loimpress lobase localc lodraw lomath lowriter lofromtemplate loweb loffice
|
|
||||||
rm -rf "${ED}"/etc/ || die
|
|
||||||
|
|
||||||
if use branding; then
|
|
||||||
insinto /usr/$(get_libdir)/${PN}/program
|
|
||||||
newins "${WORKDIR}/branding-sofficerc" sofficerc
|
|
||||||
dodir /etc/env.d
|
|
||||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN}
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Hack for offlinehelp, this needs fixing upstream at some point.
|
|
||||||
# It is broken because we send --without-help
|
|
||||||
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
|
|
||||||
insinto /usr/$(get_libdir)/libreoffice/help
|
|
||||||
doins xmlhelp/util/*.xsl
|
|
||||||
|
|
||||||
# Remove desktop files for support to old installs that can't parse mime
|
|
||||||
rm -rf "${ED}"/usr/share/mimelnk/
|
|
||||||
|
|
||||||
# FIXME: Hack add missing file
|
|
||||||
insinto /usr/$(get_libdir)/${PN}/program
|
|
||||||
doins "${S}"/instdir/program/libsaxlo.so
|
|
||||||
|
|
||||||
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
|
|
||||||
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# Cache updates - all handled by kde eclass for all environments
|
|
||||||
kde4-base_pkg_preinst
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
kde4-base_pkg_postinst
|
|
||||||
|
|
||||||
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
|
|
||||||
}
|
|
@ -1,607 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
KDE_REQUIRED="optional"
|
|
||||||
QT_MINIMAL="4.7.4"
|
|
||||||
KDE_SCM="git"
|
|
||||||
CMAKE_REQUIRED="never"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
|
||||||
PYTHON_REQ_USE="threads,xml"
|
|
||||||
|
|
||||||
# experimental ; release ; old
|
|
||||||
# Usually the tarballs are moved a lot so this should make
|
|
||||||
# everyone happy.
|
|
||||||
DEV_URI="
|
|
||||||
http://dev-builds.libreoffice.org/pre-releases/src
|
|
||||||
http://download.documentfoundation.org/libreoffice/src/${PV:0:5}/
|
|
||||||
http://download.documentfoundation.org/libreoffice/old/${PV}/
|
|
||||||
"
|
|
||||||
EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice"
|
|
||||||
ADDONS_URI="http://dev-www.libreoffice.org/src/"
|
|
||||||
|
|
||||||
BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
|
|
||||||
# PATCHSET="${P}-patchset-01.tar.xz"
|
|
||||||
|
|
||||||
[[ ${PV} == *9999* ]] && SCM_ECLASS="git-r3"
|
|
||||||
inherit base multiprocessing autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic versionator ${SCM_ECLASS}
|
|
||||||
unset SCM_ECLASS
|
|
||||||
|
|
||||||
DESCRIPTION="LibreOffice, a full office productivity suite"
|
|
||||||
HOMEPAGE="http://www.libreoffice.org"
|
|
||||||
SRC_URI="branding? ( http://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
|
|
||||||
[[ -n ${PATCHSET} ]] && SRC_URI+=" http://dev.gentooexperimental.org/~scarabeus/${PATCHSET}"
|
|
||||||
|
|
||||||
# Split modules following git/tarballs
|
|
||||||
# Core MUST be first!
|
|
||||||
# Help is used for the image generator
|
|
||||||
MODULES="core help"
|
|
||||||
# Only release has the tarballs
|
|
||||||
if [[ ${PV} != *9999* ]]; then
|
|
||||||
for i in ${DEV_URI}; do
|
|
||||||
for mod in ${MODULES}; do
|
|
||||||
if [[ ${mod} == core ]]; then
|
|
||||||
SRC_URI+=" ${i}/${P}.tar.xz"
|
|
||||||
else
|
|
||||||
SRC_URI+=" ${i}/${PN}-${mod}-${PV}.tar.xz"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
unset mod
|
|
||||||
done
|
|
||||||
unset i
|
|
||||||
fi
|
|
||||||
unset DEV_URI
|
|
||||||
|
|
||||||
# Really required addons
|
|
||||||
# These are bundles that can't be removed for now due to huge patchsets.
|
|
||||||
# If you want them gone, patches are welcome.
|
|
||||||
ADDONS_SRC+=" ${ADDONS_URI}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz"
|
|
||||||
ADDONS_SRC+=" ${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code
|
|
||||||
ADDONS_SRC+=" collada? ( ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 )"
|
|
||||||
ADDONS_SRC+=" java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
|
||||||
ADDONS_SRC+=" libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" # no release for 8 years, should we package it?
|
|
||||||
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )" # Does not build with 1.6 rhino at all
|
|
||||||
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )" # requirement of rhino
|
|
||||||
ADDONS_SRC+=" odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )" # not packageable
|
|
||||||
SRC_URI+=" ${ADDONS_SRC}"
|
|
||||||
|
|
||||||
unset ADDONS_URI
|
|
||||||
unset EXT_URI
|
|
||||||
unset ADDONS_SRC
|
|
||||||
|
|
||||||
IUSE="bluetooth +branding coinmp collada +cups dbus debug eds firebird gltf gnome gstreamer
|
|
||||||
+gtk gtk3 jemalloc kde mysql odk postgres telepathy test vlc"
|
|
||||||
|
|
||||||
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
|
|
||||||
# Unpackaged separate extensions:
|
|
||||||
# diagram: lo has 0.9.5 upstream is weirdly patched 0.9.4 -> wtf?
|
|
||||||
# hunart: only on ooo extensions -> fubared download path somewhere on sf
|
|
||||||
# numbertext, typo, validator, watch-window: ^^
|
|
||||||
# oooblogger: no homepage or anything
|
|
||||||
# Extensions that need extra work:
|
|
||||||
for lo_xt in ${LO_EXTS}; do
|
|
||||||
IUSE+=" libreoffice_extensions_${lo_xt}"
|
|
||||||
done
|
|
||||||
unset lo_xt
|
|
||||||
|
|
||||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
|
||||||
SLOT="0"
|
|
||||||
[[ ${PV} == *9999* ]] || \
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
|
|
||||||
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.2
|
|
||||||
app-text/liblangtag
|
|
||||||
>=app-text/libmspub-0.1.0
|
|
||||||
>=app-text/libmwaw-0.3.5
|
|
||||||
>=app-text/libodfgen-0.1.0
|
|
||||||
app-text/libwpd:0.10[tools]
|
|
||||||
app-text/libwpg:0.3
|
|
||||||
=app-text/libwps-0.4*
|
|
||||||
>=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
|
|
||||||
bluetooth? ( net-wireless/bluez )
|
|
||||||
coinmp? ( sci-libs/coinor-mp )
|
|
||||||
collada? ( >=media-libs/opencollada-1.2.2_p20150207 )
|
|
||||||
cups? ( net-print/cups )
|
|
||||||
dbus? ( >=dev-libs/dbus-glib-0.92 )
|
|
||||||
eds? ( gnome-extra/evolution-data-server )
|
|
||||||
firebird? ( >=dev-db/firebird-2.5 )
|
|
||||||
gltf? ( media-libs/libgltf )
|
|
||||||
gnome? ( gnome-base/gconf:2 )
|
|
||||||
gtk? (
|
|
||||||
x11-libs/gdk-pixbuf[X]
|
|
||||||
>=x11-libs/gtk+-2.24:2
|
|
||||||
)
|
|
||||||
gtk3? ( >=x11-libs/gtk+-3.8:3 )
|
|
||||||
gstreamer? (
|
|
||||||
media-libs/gstreamer:1.0
|
|
||||||
media-libs/gst-plugins-base:1.0
|
|
||||||
)
|
|
||||||
jemalloc? ( dev-libs/jemalloc )
|
|
||||||
libreoffice_extensions_scripting-beanshell? ( >=dev-java/bsh-2.0_beta4 )
|
|
||||||
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
|
|
||||||
libreoffice_extensions_wiki-publisher? (
|
|
||||||
dev-java/commons-codec:0
|
|
||||||
dev-java/commons-httpclient:3
|
|
||||||
dev-java/commons-lang:2.1
|
|
||||||
dev-java/commons-logging:0
|
|
||||||
dev-java/tomcat-servlet-api:3.0
|
|
||||||
)
|
|
||||||
mysql? ( >=dev-db/mysql-connector-c++-1.1.0 )
|
|
||||||
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] )
|
|
||||||
telepathy? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
>=net-libs/telepathy-glib-0.18.0
|
|
||||||
>=x11-libs/gtk+-2.24:2
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
!app-office/libreoffice-bin
|
|
||||||
!app-office/libreoffice-bin-debug
|
|
||||||
!<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) )
|
|
||||||
vlc? ( media-video/vlc )
|
|
||||||
"
|
|
||||||
|
|
||||||
if [[ ${PV} != *9999* ]]; then
|
|
||||||
PDEPEND="=app-office/libreoffice-l10n-$(get_version_component_range 1-2)*"
|
|
||||||
else
|
|
||||||
# Translations are not reliable on live ebuilds
|
|
||||||
# rather force people to use english only.
|
|
||||||
PDEPEND="!app-office/libreoffice-l10n"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# FIXME: cppunit should be moved to test conditional
|
|
||||||
# after everything upstream is under gbuild
|
|
||||||
# as dmake execute tests right away
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
>=dev-libs/libatomic_ops-7.2d
|
|
||||||
>=dev-libs/libxml2-2.7.8
|
|
||||||
dev-libs/libxslt
|
|
||||||
dev-perl/Archive-Zip
|
|
||||||
dev-util/cppunit
|
|
||||||
>=dev-util/gperf-3
|
|
||||||
dev-util/intltool
|
|
||||||
>=dev-util/mdds-0.12.0:=
|
|
||||||
media-libs/glm
|
|
||||||
net-misc/npapi-sdk
|
|
||||||
>=sys-apps/findutils-4.4.2
|
|
||||||
sys-devel/bison
|
|
||||||
sys-apps/coreutils
|
|
||||||
sys-devel/flex
|
|
||||||
sys-devel/gettext
|
|
||||||
>=sys-devel/make-3.82
|
|
||||||
sys-devel/ucpp
|
|
||||||
sys-libs/zlib
|
|
||||||
virtual/pkgconfig
|
|
||||||
x11-libs/libXt
|
|
||||||
x11-libs/libXtst
|
|
||||||
x11-proto/randrproto
|
|
||||||
x11-proto/xextproto
|
|
||||||
x11-proto/xineramaproto
|
|
||||||
x11-proto/xproto
|
|
||||||
java? (
|
|
||||||
>=virtual/jdk-1.6
|
|
||||||
>=dev-java/ant-core-1.7
|
|
||||||
)
|
|
||||||
odk? ( >=app-doc/doxygen-1.8.4 )
|
|
||||||
test? ( dev-util/cppunit )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# not upstreamable stuff
|
|
||||||
"${FILESDIR}/${PN}-4.4-system-pyuno.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
REQUIRED_USE="
|
|
||||||
${PYTHON_REQUIRED_USE}
|
|
||||||
bluetooth? ( dbus )
|
|
||||||
collada? ( gltf )
|
|
||||||
gnome? ( gtk )
|
|
||||||
eds? ( gnome )
|
|
||||||
telepathy? ( gtk )
|
|
||||||
libreoffice_extensions_nlpsolver? ( java )
|
|
||||||
libreoffice_extensions_scripting-beanshell? ( java )
|
|
||||||
libreoffice_extensions_scripting-javascript? ( java )
|
|
||||||
libreoffice_extensions_wiki-publisher? ( java )
|
|
||||||
"
|
|
||||||
|
|
||||||
CHECKREQS_MEMORY="512M"
|
|
||||||
if [[ ${MERGE_TYPE} != binary ]] ; then CHECKREQS_DISK_BUILD="6G" ; fi
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
local pgslot
|
|
||||||
|
|
||||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
|
||||||
check-reqs_pkg_pretend
|
|
||||||
|
|
||||||
if [[ $(gcc-major-version) -lt 4 ]] || \
|
|
||||||
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) \
|
|
||||||
; then
|
|
||||||
eerror "Compilation with gcc older than 4.6 is not supported"
|
|
||||||
die "Too old gcc found."
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Ensure pg version but we have to be sure the pg is installed (first
|
|
||||||
# install on clean system)
|
|
||||||
if use postgres && has_version dev-db/postgresql; then
|
|
||||||
pgslot=$(postgresql-config show)
|
|
||||||
if [[ ${pgslot//.} < 90 ]] ; then
|
|
||||||
eerror "PostgreSQL slot must be set to 9.0 or higher."
|
|
||||||
eerror " postgresql-config set 9.0"
|
|
||||||
die "PostgreSQL slot is not set to 9.0 or higher."
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
java-pkg-opt-2_pkg_setup
|
|
||||||
kde4-base_pkg_setup
|
|
||||||
python-single-r1_pkg_setup
|
|
||||||
|
|
||||||
[[ ${MERGE_TYPE} != binary ]] && check-reqs_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
local mod mod2 dest tmplfile tmplname mypv
|
|
||||||
|
|
||||||
[[ -n ${PATCHSET} ]] && unpack ${PATCHSET}
|
|
||||||
use branding && unpack "${BRANDING}"
|
|
||||||
|
|
||||||
if [[ ${PV} != *9999* ]]; then
|
|
||||||
unpack "${P}.tar.xz"
|
|
||||||
for mod in ${MODULES}; do
|
|
||||||
[[ ${mod} == core ]] && continue
|
|
||||||
unpack "${PN}-${mod}-${PV}.tar.xz"
|
|
||||||
done
|
|
||||||
else
|
|
||||||
for mod in ${MODULES}; do
|
|
||||||
mypv=${PV/.9999}
|
|
||||||
[[ ${mypv} != ${PV} ]] && EGIT_BRANCH="${PN}-${mypv/./-}"
|
|
||||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${P}"
|
|
||||||
[[ ${mod} != core ]] && EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${mod}-${PV}"
|
|
||||||
EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}/${mod}"
|
|
||||||
git-r3_src_unpack
|
|
||||||
if [[ ${mod} != core ]]; then
|
|
||||||
mod2=${mod}
|
|
||||||
# mapping does not match on help
|
|
||||||
[[ ${mod} == help ]] && mod2="helpcontent2"
|
|
||||||
mkdir -p "${S}/${mod2}/" || die
|
|
||||||
mv -n "${WORKDIR}/${PN}-${mod}-${PV}"/* "${S}/${mod2}" || die
|
|
||||||
rm -rf "${WORKDIR}/${PN}-${mod}-${PV}"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
unset EGIT_CHECKOUT_DIR EGIT_REPO_URI EGIT_BRANCH
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# optimization flags
|
|
||||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
|
||||||
# System python 2.7 enablement:
|
|
||||||
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
|
||||||
export PYTHON_LIBS=$(python_get_LIBS)
|
|
||||||
|
|
||||||
if use collada; then
|
|
||||||
export OPENCOLLADA_CFLAGS="-I/usr/include/opencollada/COLLADABaseUtils -I/usr/include/opencollada/COLLADAFramework -I/usr/include/opencollada/COLLADASaxFrameworkLoader -I/usr/include/opencollada/GeneratedSaxParser"
|
|
||||||
export OPENCOLLADA_LIBS="-L /usr/$(get_libdir)/opencollada -lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# patchset
|
|
||||||
if [[ -n ${PATCHSET} ]]; then
|
|
||||||
EPATCH_FORCE="yes" \
|
|
||||||
EPATCH_SOURCE="${WORKDIR}/${PATCHSET/.tar.xz/}" \
|
|
||||||
EPATCH_SUFFIX="patch" \
|
|
||||||
epatch
|
|
||||||
fi
|
|
||||||
|
|
||||||
base_src_prepare
|
|
||||||
|
|
||||||
AT_M4DIR="m4" eautoreconf
|
|
||||||
# hack in the autogen.sh
|
|
||||||
touch autogen.lastrun
|
|
||||||
|
|
||||||
# system pyuno mess
|
|
||||||
sed \
|
|
||||||
-e "s:%eprefix%:${EPREFIX}:g" \
|
|
||||||
-e "s:%libdir%:$(get_libdir):g" \
|
|
||||||
-i pyuno/source/module/uno.py \
|
|
||||||
-i pyuno/source/officehelper.py || die
|
|
||||||
# sed in the tests
|
|
||||||
sed -i \
|
|
||||||
-e 's#all : build unitcheck#all : build#g' \
|
|
||||||
solenv/gbuild/Module.mk || die
|
|
||||||
sed -i \
|
|
||||||
-e 's#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g' \
|
|
||||||
-e 's#Makefile.gbuild all slowcheck#Makefile.gbuild all#g' \
|
|
||||||
Makefile.in || die
|
|
||||||
|
|
||||||
if use branding; then
|
|
||||||
# hack...
|
|
||||||
mv -v "${WORKDIR}/branding-intro.png" "${S}/icon-themes/galaxy/brand/intro.png" || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local java_opts
|
|
||||||
local internal_libs
|
|
||||||
local lo_ext
|
|
||||||
local ext_opts
|
|
||||||
|
|
||||||
# sane: just sane.h header that is used for scan in writer, not
|
|
||||||
# linked or anything else, worthless to depend on
|
|
||||||
# vigra: just uses templates from there
|
|
||||||
# it is serious pain in the ass for packaging
|
|
||||||
# should be replaced by boost::gil if someone interested
|
|
||||||
internal_libs+="
|
|
||||||
--without-system-sane
|
|
||||||
--without-system-vigra
|
|
||||||
"
|
|
||||||
|
|
||||||
# libreoffice extensions handling
|
|
||||||
for lo_xt in ${LO_EXTS}; do
|
|
||||||
if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" == "scripting-javascript" ]]; then
|
|
||||||
ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ${lo_xt})"
|
|
||||||
else
|
|
||||||
ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt})"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if use java; then
|
|
||||||
# hsqldb: system one is too new
|
|
||||||
java_opts="
|
|
||||||
--without-junit
|
|
||||||
--without-system-hsqldb
|
|
||||||
--with-ant-home="${ANT_HOME}"
|
|
||||||
--with-jdk-home=$(java-config --jdk-home 2>/dev/null)
|
|
||||||
--with-jvm-path="${EPREFIX}/usr/lib/"
|
|
||||||
"
|
|
||||||
|
|
||||||
use libreoffice_extensions_scripting-beanshell && \
|
|
||||||
java_opts+=" --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar)"
|
|
||||||
|
|
||||||
use libreoffice_extensions_scripting-javascript && \
|
|
||||||
java_opts+=" --with-rhino-jar=$(java-pkg_getjar rhino-1.6 js.jar)"
|
|
||||||
|
|
||||||
if use libreoffice_extensions_wiki-publisher; then
|
|
||||||
java_opts+="
|
|
||||||
--with-commons-codec-jar=$(java-pkg_getjar commons-codec commons-codec.jar)
|
|
||||||
--with-commons-httpclient-jar=$(java-pkg_getjar commons-httpclient-3 commons-httpclient.jar)
|
|
||||||
--with-commons-lang-jar=$(java-pkg_getjar commons-lang-2.1 commons-lang.jar)
|
|
||||||
--with-commons-logging-jar=$(java-pkg_getjar commons-logging commons-logging.jar)
|
|
||||||
--with-servlet-api-jar=$(java-pkg_getjar tomcat-servlet-api-3.0 servlet-api.jar)
|
|
||||||
"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# system headers/libs/...: enforce using system packages
|
|
||||||
# --enable-cairo: ensure that cairo is always required
|
|
||||||
# --enable-graphite: disabling causes build breakages
|
|
||||||
# --enable-*-link: link to the library rather than just dlopen on runtime
|
|
||||||
# --enable-release-build: build the libreoffice as release
|
|
||||||
# --disable-fetch-external: prevent dowloading during compile phase
|
|
||||||
# --disable-gnome-vfs: old gnome virtual fs support
|
|
||||||
# --disable-kdeab: kde3 adressbook
|
|
||||||
# --disable-kde: kde3 support
|
|
||||||
# --disable-systray: quickstarter does not actually work at all so do not
|
|
||||||
# promote it
|
|
||||||
# --enable-extension-integration: enable any extension integration support
|
|
||||||
# --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs
|
|
||||||
# --disable-report-builder: too much java packages pulled in without pkgs
|
|
||||||
econf \
|
|
||||||
--docdir="${EPREFIX}/usr/share/doc/${PF}/" \
|
|
||||||
--with-system-headers \
|
|
||||||
--with-system-libs \
|
|
||||||
--with-system-jars \
|
|
||||||
--with-system-dicts \
|
|
||||||
--enable-cairo-canvas \
|
|
||||||
--enable-graphite \
|
|
||||||
--enable-largefile \
|
|
||||||
--enable-mergelibs \
|
|
||||||
--enable-neon \
|
|
||||||
--enable-python=system \
|
|
||||||
--enable-randr \
|
|
||||||
--enable-randr-link \
|
|
||||||
--enable-release-build \
|
|
||||||
--disable-hardlink-deliver \
|
|
||||||
--disable-ccache \
|
|
||||||
--disable-crashdump \
|
|
||||||
--disable-dependency-tracking \
|
|
||||||
--disable-epm \
|
|
||||||
--disable-fetch-external \
|
|
||||||
--disable-gnome-vfs \
|
|
||||||
--disable-gstreamer-0-10 \
|
|
||||||
--disable-report-builder \
|
|
||||||
--disable-kdeab \
|
|
||||||
--disable-kde \
|
|
||||||
--disable-online-update \
|
|
||||||
--disable-systray \
|
|
||||||
--with-alloc=$(use jemalloc && echo "jemalloc" || echo "system") \
|
|
||||||
--with-build-version="Gentoo official package" \
|
|
||||||
--enable-extension-integration \
|
|
||||||
--with-external-dict-dir="${EPREFIX}/usr/share/myspell" \
|
|
||||||
--with-external-hyph-dir="${EPREFIX}/usr/share/myspell" \
|
|
||||||
--with-external-thes-dir="${EPREFIX}/usr/share/myspell" \
|
|
||||||
--with-external-tar="${DISTDIR}" \
|
|
||||||
--with-lang="" \
|
|
||||||
--with-parallelism=$(makeopts_jobs) \
|
|
||||||
--with-system-ucpp \
|
|
||||||
--with-vendor="Gentoo Foundation" \
|
|
||||||
--with-x \
|
|
||||||
--without-fonts \
|
|
||||||
--without-myspell-dicts \
|
|
||||||
--without-help \
|
|
||||||
--with-helppack-integration \
|
|
||||||
--without-sun-templates \
|
|
||||||
$(use_enable bluetooth sdremote-bluetooth) \
|
|
||||||
$(use_enable coinmp) \
|
|
||||||
$(use_enable collada) \
|
|
||||||
$(use_enable cups) \
|
|
||||||
$(use_enable debug) \
|
|
||||||
$(use_enable dbus) \
|
|
||||||
$(use_enable eds evolution2) \
|
|
||||||
$(use_enable firebird firebird-sdbc) \
|
|
||||||
$(use_enable gltf) \
|
|
||||||
$(use_enable gnome gconf) \
|
|
||||||
$(use_enable gnome gio) \
|
|
||||||
$(use_enable gnome lockdown) \
|
|
||||||
$(use_enable gstreamer gstreamer-1-0) \
|
|
||||||
$(use_enable gtk) \
|
|
||||||
$(use_enable gtk3) \
|
|
||||||
$(use_enable kde kde4) \
|
|
||||||
$(use_enable mysql ext-mariadb-connector) \
|
|
||||||
$(use_enable odk) \
|
|
||||||
$(use_enable postgres postgresql-sdbc) \
|
|
||||||
$(use_enable telepathy) \
|
|
||||||
$(use_enable vlc) \
|
|
||||||
$(use_with coinmp system-coinmp) \
|
|
||||||
$(use_with collada system-opencollada) \
|
|
||||||
$(use_with gltf system-libgltf) \
|
|
||||||
$(use_with java) \
|
|
||||||
$(use_with mysql system-mysql-cppconn) \
|
|
||||||
$(use_with odk doxygen) \
|
|
||||||
${internal_libs} \
|
|
||||||
${java_opts} \
|
|
||||||
${ext_opts}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# more and more LO stuff tries to use OpenGL, including tests during build
|
|
||||||
# bug 501508, bug 540624, bug 545974 and probably more
|
|
||||||
addpredict /dev/dri
|
|
||||||
addpredict /dev/ati
|
|
||||||
addpredict /dev/nvidiactl
|
|
||||||
|
|
||||||
# hack for offlinehelp, this needs fixing upstream at some point
|
|
||||||
# it is broken because we send --without-help
|
|
||||||
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
|
|
||||||
(
|
|
||||||
grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk"
|
|
||||||
source "${T}/config_host.mk" 2&> /dev/null
|
|
||||||
|
|
||||||
local path="${WORKDIR}/helpcontent2/source/auxiliary/"
|
|
||||||
mkdir -p "${path}" || die
|
|
||||||
|
|
||||||
echo "perl \"${S}/helpcontent2/helpers/create_ilst.pl\" -dir=icon-themes/galaxy/res/helpimg > \"${path}/helpimg.ilst\""
|
|
||||||
perl "${S}/helpcontent2/helpers/create_ilst.pl" \
|
|
||||||
-dir=icon-themes/galaxy/res/helpimg \
|
|
||||||
> "${path}/helpimg.ilst"
|
|
||||||
[[ -s "${path}/helpimg.ilst" ]] || ewarn "The help images list is empty, something is fishy, report a bug."
|
|
||||||
)
|
|
||||||
|
|
||||||
local target
|
|
||||||
use test && target="build" || target="build-nocheck"
|
|
||||||
|
|
||||||
# this is not a proper make script
|
|
||||||
make ${target} || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
make unitcheck || die
|
|
||||||
make slowcheck || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# This is not Makefile so no buildserver
|
|
||||||
make DESTDIR="${D}" distro-pack-install -o build -o check || die
|
|
||||||
|
|
||||||
# Fix bash completion placement
|
|
||||||
newbashcomp "${ED}"/etc/bash_completion.d/libreoffice.sh ${PN}
|
|
||||||
bashcomp_alias \
|
|
||||||
libreoffice \
|
|
||||||
unopkg loimpress lobase localc lodraw lomath lowriter lofromtemplate loweb loffice
|
|
||||||
rm -rf "${ED}"/etc/ || die
|
|
||||||
|
|
||||||
if use branding; then
|
|
||||||
insinto /usr/$(get_libdir)/${PN}/program
|
|
||||||
newins "${WORKDIR}/branding-sofficerc" sofficerc
|
|
||||||
dodir /etc/env.d
|
|
||||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN}
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Hack for offlinehelp, this needs fixing upstream at some point.
|
|
||||||
# It is broken because we send --without-help
|
|
||||||
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
|
|
||||||
insinto /usr/$(get_libdir)/libreoffice/help
|
|
||||||
doins xmlhelp/util/*.xsl
|
|
||||||
|
|
||||||
# Remove desktop files for support to old installs that can't parse mime
|
|
||||||
rm -rf "${ED}"/usr/share/mimelnk/
|
|
||||||
|
|
||||||
# FIXME: Hack add missing file
|
|
||||||
insinto /usr/$(get_libdir)/${PN}/program
|
|
||||||
doins "${S}"/instdir/program/libsaxlo.so
|
|
||||||
|
|
||||||
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
|
|
||||||
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# Cache updates - all handled by kde eclass for all environments
|
|
||||||
kde4-base_pkg_preinst
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
kde4-base_pkg_postinst
|
|
||||||
|
|
||||||
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
|
|
||||||
}
|
|
@ -1,4 +1,2 @@
|
|||||||
DIST portage-utils-0.53.tar.xz 404040 SHA256 876653e795af89aeadfac1206403b1ed9543f3ac75232459d4e597e20f236c04 SHA512 5965c39572dd476bde2668a4a643d6c44da47d822f75201efbaf10a8dbb02a5bb0210ef95519b99d762106caf6f3440f78312327516d33fa8551139104483259 WHIRLPOOL 115f9e67962b890e9027ba2b16ffb7c282426a514a0272e279fb2d171152cd54638e6fb94df4121f72d84b59ed3713e05d177ed29cacddd0070d555671d21e42
|
|
||||||
DIST portage-utils-0.54.tar.xz 510528 SHA256 d3cd50e822253008c83e871ee53e83f4fa3dcfbfa25799ec48a8dcf37ac67928 SHA512 4e7b01cff96744f767a0892df5fd2f28c17a619aac1912a2f1ebb91c0706367cb02eb478e9192e6f4fb9a22956d8fb6256497b03086938f26efcd0ba27e8c1ff WHIRLPOOL 04ea363f9867896226040c9011168ea2755f67706400f9a1d183e1a8a46e97dd9f8ff3e225c933d8c01d609da72c2a2ed7ec15b050bee4c5fbd12f187b1dabf1
|
|
||||||
DIST portage-utils-0.55.tar.xz 513336 SHA256 4754aaeda32cc9aaf2fa3943badde51caf84ccf2e03129bd2dc2a5459936baff SHA512 25a5ceabc03b264ff2210ced8307c5a73c739ea3be74ba65f59c70372255e055ccbe25f565420ee1d61490b0baa43d6af8151f8c0a47b3c67a4ff7fff1fce2d0 WHIRLPOOL b437d09cbda38ede3d233639cbada731ac5beef5201db1de37bc80f0041935b141454205d89e31db4b2ddf9c82ec356343d1ce4ee6f937f1679f95225da8910d
|
|
||||||
DIST portage-utils-0.56.tar.xz 513832 SHA256 4df7323fb2667dd9bcee0f2d169c01ed8600aa6196118e6cd3a10cfe99852bbf SHA512 f2136a7df4cd91499b135fbf000f81a71177d5a39b4da2db484ab0f9492d152eaa72a5fee0e56d4b58611462e251905e554f5e41890a749f05d19e50c16c77b6 WHIRLPOOL af0a96ca3bf2dd39335317829aa8aff110a63042c415368400977e974cc21163da7eb76f7d53fcd05e133fd8a8568255ba022a32f1b174bda0dcb15b5f1476b9
|
DIST portage-utils-0.56.tar.xz 513832 SHA256 4df7323fb2667dd9bcee0f2d169c01ed8600aa6196118e6cd3a10cfe99852bbf SHA512 f2136a7df4cd91499b135fbf000f81a71177d5a39b4da2db484ab0f9492d152eaa72a5fee0e56d4b58611462e251905e554f5e41890a749f05d19e50c16c77b6 WHIRLPOOL af0a96ca3bf2dd39335317829aa8aff110a63042c415368400977e974cc21163da7eb76f7d53fcd05e133fd8a8568255ba022a32f1b174bda0dcb15b5f1476b9
|
||||||
|
DIST portage-utils-0.60.tar.xz 519424 SHA256 d5e4a7384321d21d0aa484fcd30768dbce557e9c97a98cd2723d3eb75b82f503 SHA512 80355b31d49ac0f47c0a05071584608bd5fc0b8a98ab9025cb0a3bc8c18e318fbc60ff33e6834cd4f0ad159c2eb7f63d0d9cb61d4c86cee473215670ebba5694 WHIRLPOOL ec6d2bc1b164a7baff83019455de91483a98401f052153e152cef3733d041e71ca2f4333c9281aa593ee962d0e42b2d4f72f0d04e13982cbb25518f3bd5ca66d
|
||||||
|
@ -1,76 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
|
|
||||||
inherit flag-o-matic toolchain-funcs eutils
|
|
||||||
|
|
||||||
DESCRIPTION="small and fast portage helper tools written in C"
|
|
||||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils"
|
|
||||||
SRC_URI="mirror://gentoo/${P}.tar.xz
|
|
||||||
https://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="nls static"
|
|
||||||
|
|
||||||
DEPEND="app-arch/xz-utils"
|
|
||||||
RDEPEND=""
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
use static && append-ldflags -static
|
|
||||||
|
|
||||||
# Avoid slow configure+gnulib+make if on an up-to-date Linux system
|
|
||||||
if use prefix || ! use kernel_linux || \
|
|
||||||
has_version '<sys-libs/glibc-2.10'
|
|
||||||
then
|
|
||||||
econf --with-eprefix="${EPREFIX}"
|
|
||||||
else
|
|
||||||
tc-export CC
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake NLS=$(usex nls)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
exeinto /etc/portage/bin
|
|
||||||
doexe "${FILESDIR}"/post_sync
|
|
||||||
insinto /etc/portage/postsync.d
|
|
||||||
doins "${FILESDIR}"/q-reinitialize
|
|
||||||
|
|
||||||
# Portage fixes shebangs, we just need to fix the paths in the files
|
|
||||||
sed -i \
|
|
||||||
-e "s:\(/etc/portage/postsync.d\|/usr/bin/q\):${EPREFIX}&:g" \
|
|
||||||
"${ED}"/etc/portage/bin/post_sync \
|
|
||||||
"${ED}"/etc/portage/postsync.d/q-reinitialize || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# preserve +x bit on postsync files #301721
|
|
||||||
local x
|
|
||||||
pushd "${ED}" >/dev/null
|
|
||||||
for x in etc/portage/postsync.d/* ; do
|
|
||||||
[[ -x ${EROOT}/${x} ]] && chmod +x "${x}"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
|
||||||
elog "${EPREFIX}/etc/portage/postsync.d/q-reinitialize has been installed for convenience"
|
|
||||||
elog "If you wish for it to be automatically run at the end of every --sync:"
|
|
||||||
elog " # chmod +x ${EPREFIX}/etc/portage/postsync.d/q-reinitialize"
|
|
||||||
elog "Normally this should only take a few seconds to run but file systems"
|
|
||||||
elog "such as ext3 can take a lot longer. To disable, simply do:"
|
|
||||||
elog " # chmod -x ${EPREFIX}/etc/portage/postsync.d/q-reinitialize"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,76 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
|
|
||||||
inherit flag-o-matic toolchain-funcs eutils
|
|
||||||
|
|
||||||
DESCRIPTION="small and fast portage helper tools written in C"
|
|
||||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils"
|
|
||||||
SRC_URI="mirror://gentoo/${P}.tar.xz
|
|
||||||
https://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="nls static"
|
|
||||||
|
|
||||||
DEPEND="app-arch/xz-utils"
|
|
||||||
RDEPEND=""
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
use static && append-ldflags -static
|
|
||||||
|
|
||||||
# Avoid slow configure+gnulib+make if on an up-to-date Linux system
|
|
||||||
if use prefix || ! use kernel_linux || \
|
|
||||||
has_version '<sys-libs/glibc-2.10'
|
|
||||||
then
|
|
||||||
econf --with-eprefix="${EPREFIX}"
|
|
||||||
else
|
|
||||||
tc-export CC
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake NLS=$(usex nls)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
exeinto /etc/portage/bin
|
|
||||||
doexe "${FILESDIR}"/post_sync
|
|
||||||
insinto /etc/portage/postsync.d
|
|
||||||
doins "${FILESDIR}"/q-reinitialize
|
|
||||||
|
|
||||||
# Portage fixes shebangs, we just need to fix the paths in the files
|
|
||||||
sed -i \
|
|
||||||
-e "s:\(/etc/portage/postsync.d\|/usr/bin/q\):${EPREFIX}&:g" \
|
|
||||||
"${ED}"/etc/portage/bin/post_sync \
|
|
||||||
"${ED}"/etc/portage/postsync.d/q-reinitialize || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# preserve +x bit on postsync files #301721
|
|
||||||
local x
|
|
||||||
pushd "${ED}" >/dev/null
|
|
||||||
for x in etc/portage/postsync.d/* ; do
|
|
||||||
[[ -x ${EROOT}/${x} ]] && chmod +x "${x}"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
|
||||||
elog "${EPREFIX}/etc/portage/postsync.d/q-reinitialize has been installed for convenience"
|
|
||||||
elog "If you wish for it to be automatically run at the end of every --sync:"
|
|
||||||
elog " # chmod +x ${EPREFIX}/etc/portage/postsync.d/q-reinitialize"
|
|
||||||
elog "Normally this should only take a few seconds to run but file systems"
|
|
||||||
elog "such as ext3 can take a lot longer. To disable, simply do:"
|
|
||||||
elog " # chmod -x ${EPREFIX}/etc/portage/postsync.d/q-reinitialize"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
--- src/cmd/dist/util.go.
|
|
||||||
+++ src/cmd/dist/util.go
|
|
||||||
@@ -404,7 +404,7 @@
|
|
||||||
switch gohostos {
|
|
||||||
case "darwin":
|
|
||||||
// Even on 64-bit platform, darwin uname -m prints i386.
|
|
||||||
- if strings.Contains(run("", CheckExit, "sysctl", "machdep.cpu.extfeatures"), "EM64T") {
|
|
||||||
+ if strings.Contains(run("", CheckExit, "/usr/sbin/sysctl", "machdep.cpu.extfeatures"), "EM64T") {
|
|
||||||
gohostarch = "amd64"
|
|
||||||
}
|
|
||||||
case "solaris":
|
|
@ -0,0 +1,38 @@
|
|||||||
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
inherit libtool eutils
|
||||||
|
|
||||||
|
DESCRIPTION="IPC library used by GnuPG and GPGME"
|
||||||
|
HOMEPAGE="http://www.gnupg.org/related_software/libassuan/index.en.html"
|
||||||
|
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-3 LGPL-2.1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="static-libs"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-libs/libgpg-error-1.8"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# for Solaris .so
|
||||||
|
elibtoolize
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf $(use_enable static-libs static)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
# ppl need to use libassuan-config for --cflags and --libs
|
||||||
|
prune_libtool_files
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST click-2.0.tar.gz 47342 SHA256 33a984fe73aa8c6bf69c38098b69dd38405529db54baf4c8cf64c50b2dee644f SHA512 4c703ab4b5c76e393420b0edf9af9e8ddb301ccfef5f8117d3408eaa8a94abe6b7b5c7a8b61b7774a3b459b153c10438e8934f21ceb73697199828cce2c2887c WHIRLPOOL bf599395245319b31c189df297a1ec35ca69723ed24e2d3e9aa9231a3cfebdb80e1f43a0b010865b6fbecf09f23dc1121cca232aec26f09bdb455f41da5261c4
|
DIST click-2.0.tar.gz 47342 SHA256 33a984fe73aa8c6bf69c38098b69dd38405529db54baf4c8cf64c50b2dee644f SHA512 4c703ab4b5c76e393420b0edf9af9e8ddb301ccfef5f8117d3408eaa8a94abe6b7b5c7a8b61b7774a3b459b153c10438e8934f21ceb73697199828cce2c2887c WHIRLPOOL bf599395245319b31c189df297a1ec35ca69723ed24e2d3e9aa9231a3cfebdb80e1f43a0b010865b6fbecf09f23dc1121cca232aec26f09bdb455f41da5261c4
|
||||||
DIST click-5.1.tar.gz 275592 SHA256 678c98275431fad324275dec63791e4a17558b40e5a110e20a82866139a85a5a SHA512 b860b0227644f5d1cc24d41e66985421ec971f11f3f596fb46508fdc787200b949e7ef29b2035421ebb0115384688da03c3c95a0d6acc58dd3b566b32a2b7c6a WHIRLPOOL 8bda8de886a272972595bf51af3881962063daaa4fc9e104af59b4798008a2f780c3fb4a758d7fe14ef075b92aecc43415b08bb213cbd6ac4ab92a56e405276e
|
DIST click-5.1.tar.gz 275592 SHA256 678c98275431fad324275dec63791e4a17558b40e5a110e20a82866139a85a5a SHA512 b860b0227644f5d1cc24d41e66985421ec971f11f3f596fb46508fdc787200b949e7ef29b2035421ebb0115384688da03c3c95a0d6acc58dd3b566b32a2b7c6a WHIRLPOOL 8bda8de886a272972595bf51af3881962063daaa4fc9e104af59b4798008a2f780c3fb4a758d7fe14ef075b92aecc43415b08bb213cbd6ac4ab92a56e405276e
|
||||||
|
DIST click-6.0.tar.gz 281589 SHA256 3972ee95a32181e9069040414dd7c77001e9404c3c4d295300cdca06a8db026d SHA512 c1a7c5c2a28c63acea54c481bc57630c145d087c9272fb39563b35df7ac138c3b9e58dfefbd084fe3490c5c8868361054f4ef79c61c921df93e00246f703e29b WHIRLPOOL dd64ace594cd17870660ab7650876f519fd75429397bd52f8f727b2126dd81dd00e7eec65e5891f71b891b3a59dc29f0339a8b50aa514dc0eb26fbac6c337518
|
||||||
|
@ -0,0 +1,43 @@
|
|||||||
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A Python package for creating beautiful command line interfaces"
|
||||||
|
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
HOMEPAGE="http://click.pocoo.org/ https://pypi.python.org/pypi/click"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||||
|
IUSE="doc examples test"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
|
||||||
|
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# Prevent un-needed d'loading
|
||||||
|
sed -e "s/, 'sphinx.ext.intersphinx'//" -i docs/conf.py || die
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_compile_all() {
|
||||||
|
use doc && emake -C docs html
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
emake test
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||||
|
use examples && local EXAMPLES=( examples/. )
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
}
|
@ -1,11 +0,0 @@
|
|||||||
--- pypy-pypy-release-1.7/lib-python/2.7/distutils/command/install.py
|
|
||||||
+++ pypy-pypy-release-1.7/lib-python/2.7/distutils/command/install.py
|
|
||||||
@@ -87,7 +87,7 @@
|
|
||||||
'purelib': '$base/site-packages',
|
|
||||||
'platlib': '$base/site-packages',
|
|
||||||
'headers': '$base/include',
|
|
||||||
- 'scripts': '$base/bin',
|
|
||||||
+ 'scripts': '/usr/bin',
|
|
||||||
'data' : '$base',
|
|
||||||
},
|
|
||||||
}
|
|
@ -1,321 +0,0 @@
|
|||||||
http://bugs.python.org/issue1222585
|
|
||||||
|
|
||||||
--- Lib/distutils/cygwinccompiler.py
|
|
||||||
+++ Lib/distutils/cygwinccompiler.py
|
|
||||||
@@ -117,8 +117,10 @@
|
|
||||||
# dllwrap 2.10.90 is buggy
|
|
||||||
if self.ld_version >= "2.10.90":
|
|
||||||
self.linker_dll = "gcc"
|
|
||||||
+ self.linker_dll_cxx = "g++"
|
|
||||||
else:
|
|
||||||
self.linker_dll = "dllwrap"
|
|
||||||
+ self.linker_dll_cxx = "dllwrap"
|
|
||||||
|
|
||||||
# ld_version >= "2.13" support -shared so use it instead of
|
|
||||||
# -mdll -static
|
|
||||||
@@ -132,9 +134,13 @@
|
|
||||||
self.set_executables(compiler='gcc -mcygwin -O -Wall',
|
|
||||||
compiler_so='gcc -mcygwin -mdll -O -Wall',
|
|
||||||
compiler_cxx='g++ -mcygwin -O -Wall',
|
|
||||||
+ compiler_so_cxx='g++ -mcygwin -mdll -O -Wall',
|
|
||||||
linker_exe='gcc -mcygwin',
|
|
||||||
linker_so=('%s -mcygwin %s' %
|
|
||||||
- (self.linker_dll, shared_option)))
|
|
||||||
+ (self.linker_dll, shared_option)),
|
|
||||||
+ linker_exe_cxx='g++ -mcygwin',
|
|
||||||
+ linker_so_cxx=('%s -mcygwin %s' %
|
|
||||||
+ (self.linker_dll_cxx, shared_option)))
|
|
||||||
|
|
||||||
# cygwin and mingw32 need different sets of libraries
|
|
||||||
if self.gcc_version == "2.91.57":
|
|
||||||
@@ -160,8 +166,12 @@
|
|
||||||
raise CompileError, msg
|
|
||||||
else: # for other files use the C-compiler
|
|
||||||
try:
|
|
||||||
- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] +
|
|
||||||
- extra_postargs)
|
|
||||||
+ if self.detect_language(src) == 'c++':
|
|
||||||
+ self.spawn(self.compiler_so_cxx + cc_args + [src, '-o', obj] +
|
|
||||||
+ extra_postargs)
|
|
||||||
+ else:
|
|
||||||
+ self.spawn(self.compiler_so + cc_args + [src, '-o', obj] +
|
|
||||||
+ extra_postargs)
|
|
||||||
except DistutilsExecError, msg:
|
|
||||||
raise CompileError, msg
|
|
||||||
|
|
||||||
@@ -327,9 +337,14 @@
|
|
||||||
self.set_executables(compiler='gcc%s -O -Wall' % no_cygwin,
|
|
||||||
compiler_so='gcc%s -mdll -O -Wall' % no_cygwin,
|
|
||||||
compiler_cxx='g++%s -O -Wall' % no_cygwin,
|
|
||||||
+ compiler_so_cxx='g++%s -mdll -O -Wall' % no_cygwin,
|
|
||||||
linker_exe='gcc%s' % no_cygwin,
|
|
||||||
linker_so='%s%s %s %s'
|
|
||||||
% (self.linker_dll, no_cygwin,
|
|
||||||
+ shared_option, entry_point),
|
|
||||||
+ linker_exe_cxx='g++%s' % no_cygwin,
|
|
||||||
+ linker_so_cxx='%s%s %s %s'
|
|
||||||
+ % (self.linker_dll_cxx, no_cygwin,
|
|
||||||
shared_option, entry_point))
|
|
||||||
# Maybe we should also append -mthreads, but then the finished
|
|
||||||
# dlls need another dll (mingwm10.dll see Mingw32 docs)
|
|
||||||
--- Lib/distutils/emxccompiler.py
|
|
||||||
+++ Lib/distutils/emxccompiler.py
|
|
||||||
@@ -65,8 +65,12 @@
|
|
||||||
# XXX optimization, warnings etc. should be customizable.
|
|
||||||
self.set_executables(compiler='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall',
|
|
||||||
compiler_so='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall',
|
|
||||||
+ compiler_cxx='g++ -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall',
|
|
||||||
+ compiler_so_cxx='g++ -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall',
|
|
||||||
linker_exe='gcc -Zomf -Zmt -Zcrtdll',
|
|
||||||
- linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll')
|
|
||||||
+ linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll',
|
|
||||||
+ linker_exe_cxx='g++ -Zomf -Zmt -Zcrtdll',
|
|
||||||
+ linker_so_cxx='g++ -Zomf -Zmt -Zcrtdll -Zdll')
|
|
||||||
|
|
||||||
# want the gcc library statically linked (so that we don't have
|
|
||||||
# to distribute a version dependent on the compiler we have)
|
|
||||||
@@ -83,8 +87,12 @@
|
|
||||||
raise CompileError, msg
|
|
||||||
else: # for other files use the C-compiler
|
|
||||||
try:
|
|
||||||
- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] +
|
|
||||||
- extra_postargs)
|
|
||||||
+ if self.detect_language(src) == 'c++':
|
|
||||||
+ self.spawn(self.compiler_so_cxx + cc_args + [src, '-o', obj] +
|
|
||||||
+ extra_postargs)
|
|
||||||
+ else:
|
|
||||||
+ self.spawn(self.compiler_so + cc_args + [src, '-o', obj] +
|
|
||||||
+ extra_postargs)
|
|
||||||
except DistutilsExecError, msg:
|
|
||||||
raise CompileError, msg
|
|
||||||
|
|
||||||
--- Lib/distutils/sysconfig_cpython.py
|
|
||||||
+++ Lib/distutils/sysconfig_cpython.py
|
|
||||||
@@ -170,10 +170,12 @@
|
|
||||||
_osx_support.customize_compiler(_config_vars)
|
|
||||||
_config_vars['CUSTOMIZED_OSX_COMPILER'] = 'True'
|
|
||||||
|
|
||||||
- (cc, cxx, opt, cflags, ccshared, ldshared, so_ext, ar, ar_flags) = \
|
|
||||||
- get_config_vars('CC', 'CXX', 'OPT', 'CFLAGS',
|
|
||||||
- 'CCSHARED', 'LDSHARED', 'SO', 'AR',
|
|
||||||
- 'ARFLAGS')
|
|
||||||
+ (cc, cxx, ccshared, ldshared, ldcxxshared, so_ext, ar, ar_flags) = \
|
|
||||||
+ get_config_vars('CC', 'CXX', 'CCSHARED', 'LDSHARED', 'LDCXXSHARED',
|
|
||||||
+ 'SO', 'AR', 'ARFLAGS')
|
|
||||||
+
|
|
||||||
+ cflags = ''
|
|
||||||
+ cxxflags = ''
|
|
||||||
|
|
||||||
if 'CC' in os.environ:
|
|
||||||
newcc = os.environ['CC']
|
|
||||||
@@ -188,19 +190,27 @@
|
|
||||||
cxx = os.environ['CXX']
|
|
||||||
if 'LDSHARED' in os.environ:
|
|
||||||
ldshared = os.environ['LDSHARED']
|
|
||||||
+ if 'LDCXXSHARED' in os.environ:
|
|
||||||
+ ldcxxshared = os.environ['LDCXXSHARED']
|
|
||||||
if 'CPP' in os.environ:
|
|
||||||
cpp = os.environ['CPP']
|
|
||||||
else:
|
|
||||||
cpp = cc + " -E" # not always
|
|
||||||
if 'LDFLAGS' in os.environ:
|
|
||||||
ldshared = ldshared + ' ' + os.environ['LDFLAGS']
|
|
||||||
+ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS']
|
|
||||||
if 'CFLAGS' in os.environ:
|
|
||||||
- cflags = opt + ' ' + os.environ['CFLAGS']
|
|
||||||
+ cflags = os.environ['CFLAGS']
|
|
||||||
ldshared = ldshared + ' ' + os.environ['CFLAGS']
|
|
||||||
+ if 'CXXFLAGS' in os.environ:
|
|
||||||
+ cxxflags = os.environ['CXXFLAGS']
|
|
||||||
+ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS']
|
|
||||||
if 'CPPFLAGS' in os.environ:
|
|
||||||
cpp = cpp + ' ' + os.environ['CPPFLAGS']
|
|
||||||
cflags = cflags + ' ' + os.environ['CPPFLAGS']
|
|
||||||
+ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS']
|
|
||||||
ldshared = ldshared + ' ' + os.environ['CPPFLAGS']
|
|
||||||
+ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS']
|
|
||||||
if 'AR' in os.environ:
|
|
||||||
ar = os.environ['AR']
|
|
||||||
if 'ARFLAGS' in os.environ:
|
|
||||||
@@ -209,13 +219,17 @@
|
|
||||||
archiver = ar + ' ' + ar_flags
|
|
||||||
|
|
||||||
cc_cmd = cc + ' ' + cflags
|
|
||||||
+ cxx_cmd = cxx + ' ' + cxxflags
|
|
||||||
compiler.set_executables(
|
|
||||||
preprocessor=cpp,
|
|
||||||
compiler=cc_cmd,
|
|
||||||
compiler_so=cc_cmd + ' ' + ccshared,
|
|
||||||
- compiler_cxx=cxx,
|
|
||||||
+ compiler_cxx=cxx_cmd,
|
|
||||||
+ compiler_so_cxx=cxx_cmd + ' ' + ccshared,
|
|
||||||
linker_so=ldshared,
|
|
||||||
linker_exe=cc,
|
|
||||||
+ linker_so_cxx=ldcxxshared,
|
|
||||||
+ linker_exe_cxx=cxx,
|
|
||||||
archiver=archiver)
|
|
||||||
|
|
||||||
compiler.shared_lib_extension = so_ext
|
|
||||||
--- Lib/distutils/unixccompiler.py
|
|
||||||
+++ Lib/distutils/unixccompiler.py
|
|
||||||
@@ -55,14 +55,17 @@
|
|
||||||
# are pretty generic; they will probably have to be set by an outsider
|
|
||||||
# (eg. using information discovered by the sysconfig about building
|
|
||||||
# Python extensions).
|
|
||||||
- executables = {'preprocessor' : None,
|
|
||||||
- 'compiler' : ["cc"],
|
|
||||||
- 'compiler_so' : ["cc"],
|
|
||||||
- 'compiler_cxx' : ["cc"],
|
|
||||||
- 'linker_so' : ["cc", "-shared"],
|
|
||||||
- 'linker_exe' : ["cc"],
|
|
||||||
- 'archiver' : ["ar", "-cr"],
|
|
||||||
- 'ranlib' : None,
|
|
||||||
+ executables = {'preprocessor' : None,
|
|
||||||
+ 'compiler' : ["cc"],
|
|
||||||
+ 'compiler_so' : ["cc"],
|
|
||||||
+ 'compiler_cxx' : ["c++"],
|
|
||||||
+ 'compiler_so_cxx' : ["c++"],
|
|
||||||
+ 'linker_so' : ["cc", "-shared"],
|
|
||||||
+ 'linker_exe' : ["cc"],
|
|
||||||
+ 'linker_so_cxx' : ["c++", "-shared"],
|
|
||||||
+ 'linker_exe_cxx' : ["c++"],
|
|
||||||
+ 'archiver' : ["ar", "-cr"],
|
|
||||||
+ 'ranlib' : None,
|
|
||||||
}
|
|
||||||
|
|
||||||
if sys.platform[:6] == "darwin":
|
|
||||||
@@ -112,12 +115,19 @@
|
|
||||||
|
|
||||||
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
|
|
||||||
compiler_so = self.compiler_so
|
|
||||||
+ compiler_so_cxx = self.compiler_so_cxx
|
|
||||||
if sys.platform == 'darwin':
|
|
||||||
compiler_so = _osx_support.compiler_fixup(compiler_so,
|
|
||||||
cc_args + extra_postargs)
|
|
||||||
+ compiler_so_cxx = _osx_support.compiler_fixup(compiler_so_cxx,
|
|
||||||
+ cc_args + extra_postargs)
|
|
||||||
try:
|
|
||||||
- self.spawn(compiler_so + cc_args + [src, '-o', obj] +
|
|
||||||
- extra_postargs)
|
|
||||||
+ if self.detect_language(src) == 'c++':
|
|
||||||
+ self.spawn(compiler_so_cxx + cc_args + [src, '-o', obj] +
|
|
||||||
+ extra_postargs)
|
|
||||||
+ else:
|
|
||||||
+ self.spawn(compiler_so + cc_args + [src, '-o', obj] +
|
|
||||||
+ extra_postargs)
|
|
||||||
except DistutilsExecError, msg:
|
|
||||||
raise CompileError, msg
|
|
||||||
|
|
||||||
@@ -174,23 +184,16 @@
|
|
||||||
ld_args.extend(extra_postargs)
|
|
||||||
self.mkpath(os.path.dirname(output_filename))
|
|
||||||
try:
|
|
||||||
- if target_desc == CCompiler.EXECUTABLE:
|
|
||||||
- linker = self.linker_exe[:]
|
|
||||||
+ if target_lang == "c++":
|
|
||||||
+ if target_desc == CCompiler.EXECUTABLE:
|
|
||||||
+ linker = self.linker_exe_cxx[:]
|
|
||||||
+ else:
|
|
||||||
+ linker = self.linker_so_cxx[:]
|
|
||||||
else:
|
|
||||||
- linker = self.linker_so[:]
|
|
||||||
- if target_lang == "c++" and self.compiler_cxx:
|
|
||||||
- # skip over environment variable settings if /usr/bin/env
|
|
||||||
- # is used to set up the linker's environment.
|
|
||||||
- # This is needed on OSX. Note: this assumes that the
|
|
||||||
- # normal and C++ compiler have the same environment
|
|
||||||
- # settings.
|
|
||||||
- i = 0
|
|
||||||
- if os.path.basename(linker[0]) == "env":
|
|
||||||
- i = 1
|
|
||||||
- while '=' in linker[i]:
|
|
||||||
- i = i + 1
|
|
||||||
-
|
|
||||||
- linker[i] = self.compiler_cxx[i]
|
|
||||||
+ if target_desc == CCompiler.EXECUTABLE:
|
|
||||||
+ linker = self.linker_exe[:]
|
|
||||||
+ else:
|
|
||||||
+ linker = self.linker_so[:]
|
|
||||||
|
|
||||||
if sys.platform == 'darwin':
|
|
||||||
linker = _osx_support.compiler_fixup(linker, ld_args)
|
|
||||||
--- Lib/_osx_support.py
|
|
||||||
+++ Lib/_osx_support.py
|
|
||||||
@@ -14,13 +14,13 @@
|
|
||||||
# configuration variables that may contain universal build flags,
|
|
||||||
# like "-arch" or "-isdkroot", that may need customization for
|
|
||||||
# the user environment
|
|
||||||
-_UNIVERSAL_CONFIG_VARS = ('CFLAGS', 'LDFLAGS', 'CPPFLAGS', 'BASECFLAGS',
|
|
||||||
- 'BLDSHARED', 'LDSHARED', 'CC', 'CXX',
|
|
||||||
- 'PY_CFLAGS', 'PY_LDFLAGS', 'PY_CPPFLAGS',
|
|
||||||
- 'PY_CORE_CFLAGS')
|
|
||||||
+_UNIVERSAL_CONFIG_VARS = ('CFLAGS', 'CXXFLAGS', 'LDFLAGS', 'CPPFLAGS',
|
|
||||||
+ 'BASECFLAGS', 'BLDSHARED', 'LDSHARED', 'LDCXXSHARED',
|
|
||||||
+ 'CC', 'CXX', 'PY_CFLAGS', 'PY_LDFLAGS',
|
|
||||||
+ 'PY_CPPFLAGS', 'PY_CORE_CFLAGS')
|
|
||||||
|
|
||||||
# configuration variables that may contain compiler calls
|
|
||||||
-_COMPILER_CONFIG_VARS = ('BLDSHARED', 'LDSHARED', 'CC', 'CXX')
|
|
||||||
+_COMPILER_CONFIG_VARS = ('BLDSHARED', 'LDSHARED', 'LDCXXSHARED', 'CC', 'CXX')
|
|
||||||
|
|
||||||
# prefix added to original configuration variable names
|
|
||||||
_INITPRE = '_OSX_SUPPORT_INITIAL_'
|
|
||||||
--- a/distutils/sysconfig_pypy.py
|
|
||||||
+++ b/distutils/sysconfig_pypy.py
|
|
||||||
@@ -123,7 +123,55 @@
|
|
||||||
optional C speedup components.
|
|
||||||
"""
|
|
||||||
if compiler.compiler_type == "unix":
|
|
||||||
- compiler.compiler_so.extend(['-O2', '-fPIC', '-Wimplicit'])
|
|
||||||
+ cc = ' '.join(compiler.compiler)
|
|
||||||
+ cxx = ' '.join(compiler.compiler_cxx)
|
|
||||||
+ ldshared = ' '.join(compiler.linker_so)
|
|
||||||
+ ldcxxshared = ' '.join(compiler.linker_so_cxx)
|
|
||||||
+
|
|
||||||
+ cflags = ''
|
|
||||||
+ cxxflags = ''
|
|
||||||
+ ccshared = '-fPIC'
|
|
||||||
+
|
|
||||||
+ if 'CC' in os.environ:
|
|
||||||
+ cc = os.environ['CC']
|
|
||||||
+ if 'CXX' in os.environ:
|
|
||||||
+ cxx = os.environ['CXX']
|
|
||||||
+ if 'LDSHARED' in os.environ:
|
|
||||||
+ ldshared = os.environ['LDSHARED']
|
|
||||||
+ if 'LDCXXSHARED' in os.environ:
|
|
||||||
+ ldcxxshared = os.environ['LDCXXSHARED']
|
|
||||||
+ if 'CPP' in os.environ:
|
|
||||||
+ cpp = os.environ['CPP']
|
|
||||||
+ else:
|
|
||||||
+ cpp = cc + " -E" # not always
|
|
||||||
+ if 'LDFLAGS' in os.environ:
|
|
||||||
+ ldshared = ldshared + ' ' + os.environ['LDFLAGS']
|
|
||||||
+ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS']
|
|
||||||
+ if 'CFLAGS' in os.environ:
|
|
||||||
+ cflags = os.environ['CFLAGS']
|
|
||||||
+ ldshared = ldshared + ' ' + os.environ['CFLAGS']
|
|
||||||
+ if 'CXXFLAGS' in os.environ:
|
|
||||||
+ cxxflags = os.environ['CXXFLAGS']
|
|
||||||
+ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS']
|
|
||||||
+ if 'CPPFLAGS' in os.environ:
|
|
||||||
+ cpp = cpp + ' ' + os.environ['CPPFLAGS']
|
|
||||||
+ cflags = cflags + ' ' + os.environ['CPPFLAGS']
|
|
||||||
+ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS']
|
|
||||||
+ ldshared = ldshared + ' ' + os.environ['CPPFLAGS']
|
|
||||||
+ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS']
|
|
||||||
+
|
|
||||||
+ cc_cmd = cc + ' ' + cflags
|
|
||||||
+ cxx_cmd = cxx + ' ' + cxxflags
|
|
||||||
+ compiler.set_executables(
|
|
||||||
+ preprocessor=cpp,
|
|
||||||
+ compiler=cc_cmd,
|
|
||||||
+ compiler_so=cc_cmd + ' ' + ccshared,
|
|
||||||
+ compiler_cxx=cxx_cmd,
|
|
||||||
+ compiler_so_cxx=cxx_cmd + ' ' + ccshared,
|
|
||||||
+ linker_so=ldshared,
|
|
||||||
+ linker_exe=cc,
|
|
||||||
+ linker_so_cxx=ldcxxshared,
|
|
||||||
+ linker_exe_cxx=cxx)
|
|
||||||
compiler.shared_lib_extension = get_config_var('SO')
|
|
||||||
if "CPPFLAGS" in os.environ:
|
|
||||||
cppflags = shlex.split(os.environ["CPPFLAGS"])
|
|
@ -0,0 +1,50 @@
|
|||||||
|
From 165e05bbdc93e54411217c0198d0a5cbb9de4e33 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||||
|
Date: Fri, 27 Nov 2015 17:02:42 +0100
|
||||||
|
Subject: [PATCH] Gentoo: override paths for system-wide install based on
|
||||||
|
sys.prefix
|
||||||
|
|
||||||
|
Override all default distutils install paths to ones suitable for
|
||||||
|
system-wide install when sys.prefix indicates we're running the Gentoo
|
||||||
|
system-wide install of PyPy with no prefix overrides (e.g. virtualenv).
|
||||||
|
|
||||||
|
Fixes: https://bugs.gentoo.org/462306
|
||||||
|
Fixes: https://bugs.gentoo.org/465546
|
||||||
|
---
|
||||||
|
lib-python/2.7/distutils/command/install.py | 13 ++++++++++++-
|
||||||
|
1 file changed, 12 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/lib-python/2.7/distutils/command/install.py b/lib-python/2.7/distutils/command/install.py
|
||||||
|
index fc43951..fed5218 100644
|
||||||
|
--- a/lib-python/2.7/distutils/command/install.py
|
||||||
|
+++ b/lib-python/2.7/distutils/command/install.py
|
||||||
|
@@ -90,6 +90,13 @@ INSTALL_SCHEMES = {
|
||||||
|
'scripts': '$base/bin',
|
||||||
|
'data' : '$base',
|
||||||
|
},
|
||||||
|
+ 'gentoo': {
|
||||||
|
+ 'purelib': '$base/site-packages',
|
||||||
|
+ 'platlib': '$base/site-packages',
|
||||||
|
+ 'headers': '$base/include',
|
||||||
|
+ 'scripts': '@EPREFIX@/usr/bin',
|
||||||
|
+ 'data' : '@EPREFIX@/usr',
|
||||||
|
+ },
|
||||||
|
}
|
||||||
|
|
||||||
|
# The keys to an installation scheme; if any new types of files are to be
|
||||||
|
@@ -476,7 +483,11 @@ class install (Command):
|
||||||
|
# it's the caller's problem if they supply a bad name!
|
||||||
|
if (hasattr(sys, 'pypy_version_info') and
|
||||||
|
not name.endswith(('_user', '_home'))):
|
||||||
|
- name = 'pypy'
|
||||||
|
+ if self.install_base == os.path.normpath('@EPREFIX@/usr/@libdir@/pypy'):
|
||||||
|
+ # override paths for system-wide install
|
||||||
|
+ name = 'gentoo'
|
||||||
|
+ else:
|
||||||
|
+ name = 'pypy'
|
||||||
|
scheme = INSTALL_SCHEMES[name]
|
||||||
|
for key in SCHEME_KEYS:
|
||||||
|
attrname = 'install_' + key
|
||||||
|
--
|
||||||
|
2.6.3
|
||||||
|
|
@ -1,183 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 pypy )
|
|
||||||
inherit eutils multilib pax-utils python-any-r1 versionator
|
|
||||||
|
|
||||||
BINHOST="https://dev.gentoo.org/~mgorny/dist/pypy-bin/${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="A fast, compliant alternative implementation of the Python language (binary package)"
|
|
||||||
HOMEPAGE="http://pypy.org/"
|
|
||||||
SRC_URI="https://bitbucket.org/pypy/pypy/downloads/pypy-${PV}-src.tar.bz2
|
|
||||||
amd64? (
|
|
||||||
jit? ( shadowstack? (
|
|
||||||
${BINHOST}/${P}-amd64+bzip2+jit+ncurses+shadowstack.tar.xz
|
|
||||||
) )
|
|
||||||
jit? ( !shadowstack? (
|
|
||||||
${BINHOST}/${P}-amd64+bzip2+jit+ncurses.tar.xz
|
|
||||||
) )
|
|
||||||
!jit? ( !shadowstack? (
|
|
||||||
${BINHOST}/${P}-amd64+bzip2+ncurses.tar.xz
|
|
||||||
) )
|
|
||||||
)
|
|
||||||
x86? (
|
|
||||||
cpu_flags_x86_sse2? (
|
|
||||||
jit? ( shadowstack? (
|
|
||||||
${BINHOST}/${P}-x86+bzip2+jit+ncurses+shadowstack+sse2.tar.xz
|
|
||||||
) )
|
|
||||||
jit? ( !shadowstack? (
|
|
||||||
${BINHOST}/${P}-x86+bzip2+jit+ncurses+sse2.tar.xz
|
|
||||||
) )
|
|
||||||
!jit? ( !shadowstack? (
|
|
||||||
${BINHOST}/${P}-x86+bzip2+ncurses+sse2.tar.xz
|
|
||||||
) )
|
|
||||||
)
|
|
||||||
!cpu_flags_x86_sse2? (
|
|
||||||
!jit? ( !shadowstack? (
|
|
||||||
${BINHOST}/${P}-x86+bzip2+ncurses.tar.xz
|
|
||||||
) )
|
|
||||||
)
|
|
||||||
)"
|
|
||||||
|
|
||||||
# Supported variants
|
|
||||||
REQUIRED_USE="!jit? ( !shadowstack )
|
|
||||||
x86? ( !cpu_flags_x86_sse2? ( !jit !shadowstack ) )"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0/$(get_version_component_range 1-2 ${PV})"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="doc gdbm +jit shadowstack sqlite cpu_flags_x86_sse2 test tk"
|
|
||||||
|
|
||||||
# yep, world would be easier if people started filling subslots...
|
|
||||||
RDEPEND="
|
|
||||||
app-arch/bzip2:0
|
|
||||||
dev-libs/expat:0
|
|
||||||
dev-libs/libffi:0
|
|
||||||
dev-libs/openssl:0[-bindist]
|
|
||||||
sys-libs/glibc:2.2
|
|
||||||
=sys-libs/ncurses-5*:0
|
|
||||||
sys-libs/zlib:0
|
|
||||||
gdbm? ( sys-libs/gdbm:0= )
|
|
||||||
sqlite? ( dev-db/sqlite:3= )
|
|
||||||
tk? (
|
|
||||||
dev-lang/tk:0=
|
|
||||||
dev-tcltk/tix:0=
|
|
||||||
)
|
|
||||||
!dev-python/pypy:0"
|
|
||||||
DEPEND="app-arch/xz-utils
|
|
||||||
doc? ( ${PYTHON_DEPS}
|
|
||||||
dev-python/sphinx )
|
|
||||||
test? ( ${RDEPEND} )"
|
|
||||||
PDEPEND="app-admin/python-updater"
|
|
||||||
|
|
||||||
S=${WORKDIR}/pypy-${PV}-src
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
|
||||||
use doc && python-any-r1_pkg_setup
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}/1.9-scripts-location.patch" \
|
|
||||||
"${FILESDIR}/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch"
|
|
||||||
|
|
||||||
pushd lib-python/2.7 > /dev/null || die
|
|
||||||
epatch "${FILESDIR}/2.3-21_all_distutils_c++.patch"
|
|
||||||
popd > /dev/null || die
|
|
||||||
|
|
||||||
epatch_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# Tadaam! PyPy compiled!
|
|
||||||
mv "${WORKDIR}"/${P}*/{libpypy-c.so,pypy-c} . || die
|
|
||||||
mv "${WORKDIR}"/${P}*/include/*.h include/ || die
|
|
||||||
mv pypy/module/cpyext/include/*.h include/ || die
|
|
||||||
mv pypy/module/cpyext/include/numpy include/ || die
|
|
||||||
|
|
||||||
use doc && emake -C pypy/doc/ html
|
|
||||||
#needed even without jit :( also needed in both compile and install phases
|
|
||||||
pax-mark m pypy-c
|
|
||||||
|
|
||||||
# ctypes config cache
|
|
||||||
# this one we need to do with python2 too...
|
|
||||||
./pypy-c lib_pypy/ctypes_config_cache/rebuild.py \
|
|
||||||
|| die "Failed to rebuild ctypes config cache"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Doesn't work - pypy missing its own libs
|
|
||||||
src_test() {
|
|
||||||
# (unset)
|
|
||||||
local -x PYTHONDONTWRITEBYTECODE
|
|
||||||
|
|
||||||
./pypy-c ./pypy/test_all.py --pypy=./pypy-c lib-python || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
einfo "Installing PyPy ..."
|
|
||||||
insinto "/usr/$(get_libdir)/pypy"
|
|
||||||
doins -r include lib_pypy lib-python pypy-c libpypy-c.so
|
|
||||||
fperms a+x ${INSDESTTREE}/pypy-c ${INSDESTTREE}/libpypy-c.so
|
|
||||||
pax-mark m "${ED%/}${INSDESTTREE}/pypy-c" "${ED%/}${INSDESTTREE}/libpypy-c.so"
|
|
||||||
dosym ../$(get_libdir)/pypy/pypy-c /usr/bin/pypy
|
|
||||||
dodoc README.rst
|
|
||||||
|
|
||||||
if ! use gdbm; then
|
|
||||||
rm -r "${ED%/}${INSDESTTREE}"/lib_pypy/gdbm.py \
|
|
||||||
"${ED%/}${INSDESTTREE}"/lib-python/*2.7/test/test_gdbm.py || die
|
|
||||||
fi
|
|
||||||
if ! use sqlite; then
|
|
||||||
rm -r "${ED%/}${INSDESTTREE}"/lib-python/*2.7/sqlite3 \
|
|
||||||
"${ED%/}${INSDESTTREE}"/lib_pypy/_sqlite3.py \
|
|
||||||
"${ED%/}${INSDESTTREE}"/lib-python/*2.7/test/test_sqlite.py || die
|
|
||||||
fi
|
|
||||||
if ! use tk; then
|
|
||||||
rm -r "${ED%/}${INSDESTTREE}"/lib-python/*2.7/{idlelib,lib-tk} \
|
|
||||||
"${ED%/}${INSDESTTREE}"/lib_pypy/_tkinter \
|
|
||||||
"${ED%/}${INSDESTTREE}"/lib-python/*2.7/test/test_{tcl,tk,ttk*}.py || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Install docs
|
|
||||||
use doc && dohtml -r pypy/doc/_build/html/
|
|
||||||
|
|
||||||
einfo "Generating caches and byte-compiling ..."
|
|
||||||
|
|
||||||
local -x PYTHON=${ED%/}${INSDESTTREE}/pypy-c
|
|
||||||
local -x LD_LIBRARY_PATH="${ED%/}${INSDESTTREE}"
|
|
||||||
# we can't use eclass function since PyPy is dumb and always gives
|
|
||||||
# paths relative to the interpreter
|
|
||||||
local PYTHON_SITEDIR=${EPREFIX}/usr/$(get_libdir)/pypy/site-packages
|
|
||||||
python_export pypy EPYTHON
|
|
||||||
|
|
||||||
echo "EPYTHON='${EPYTHON}'" > epython.py || die
|
|
||||||
python_domodule epython.py
|
|
||||||
|
|
||||||
# Generate Grammar and PatternGrammar pickles.
|
|
||||||
"${PYTHON}" -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \
|
|
||||||
|| die "Generation of Grammar and PatternGrammar pickles failed"
|
|
||||||
|
|
||||||
# Generate cffi cache
|
|
||||||
# Please keep in sync with pypy/tool/release/package.py!
|
|
||||||
"${PYTHON}" -c "import _curses" || die "Failed to import _curses (cffi)"
|
|
||||||
"${PYTHON}" -c "import syslog" || die "Failed to import syslog (cffi)"
|
|
||||||
if use gdbm; then
|
|
||||||
"${PYTHON}" -c "import gdbm" || die "Failed to import gdbm (cffi)"
|
|
||||||
fi
|
|
||||||
if use sqlite; then
|
|
||||||
"${PYTHON}" -c "import _sqlite3" || die "Failed to import _sqlite3 (cffi)"
|
|
||||||
fi
|
|
||||||
if use tk; then
|
|
||||||
"${PYTHON}" -c "import _tkinter" || die "Failed to import _tkinter (cffi)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Cleanup temporary objects
|
|
||||||
find "${ED%/}${INSDESTTREE}" -name "_cffi_*.[co]" -delete || die
|
|
||||||
find "${ED%/}${INSDESTTREE}" -type d -empty -delete || die
|
|
||||||
|
|
||||||
# compile the installed modules
|
|
||||||
python_optimize "${ED%/}${INSDESTTREE}"
|
|
||||||
}
|
|
@ -1,5 +1,4 @@
|
|||||||
DIST pypy-2.4.0-src.tar.bz2 15495214 SHA256 38810007aee4885ca0703b566db6594dd7649adaaa287df7a1012f10e067740f SHA512 91b41ed80a6ff0d7b2b134a7802f098de35ffd2068dc3e477d27b0bc821c6d329eb8bcad4db4a5ff9ff429830d4abfbeb435a2a2d2d9bbc2c36f2d21af0b2e0c WHIRLPOOL affb14b805b2dcb8b579dd421bfb8276e80d3b31cea41bf57ad5dd9260e2e27d838b0303e4a3af5ca38b0b4f08ac88b142d6f1db20753bec6f8cbfdfc482099b
|
|
||||||
DIST pypy-2.5.1-src.tar.bz2 16740876 SHA256 ddb3a580b1ee99c5a699172d74be91c36dda9a38946d4731d8c6a63120a3ba2a SHA512 ac4cab47566d7d4e1a293a680e0dffa301c99a8329c2e68f645f186c0266cbe8f045a03e392c0cc2112a16178037cd978b7867ad073bf5dd957dd19f4c818067 WHIRLPOOL 6f16c4090780081dfe1d4642186262c66d4ac1a4b3b8311e573bfa6029eb7aac0483b3e48cad5ce03879391a4e316c0186d33fac5e86d0024ff20cc6d4dc0dd3
|
|
||||||
DIST pypy-2.6.0-src.tar.bz2 16858400 SHA256 9bf353f22d25e97a85a6d3766619966055edea1ea1b2218445d683a8ad0399d9 SHA512 82a6a44c0c551a1291215394610e5331cf83216b38ac9f1a79a3eab53ba2933b121c3154b58cead814c73a1da1fc95d895324bb0c43e8e0429438b0dea527cc4 WHIRLPOOL e536ff5d3b393c6834fd721f383318b5dcef79046f475b0f1fe737c67c56e8769cabc0a35f553da5dc475a255c5711de01bd6d42e541cabbab3b9e30f20c9a5c
|
DIST pypy-2.6.0-src.tar.bz2 16858400 SHA256 9bf353f22d25e97a85a6d3766619966055edea1ea1b2218445d683a8ad0399d9 SHA512 82a6a44c0c551a1291215394610e5331cf83216b38ac9f1a79a3eab53ba2933b121c3154b58cead814c73a1da1fc95d895324bb0c43e8e0429438b0dea527cc4 WHIRLPOOL e536ff5d3b393c6834fd721f383318b5dcef79046f475b0f1fe737c67c56e8769cabc0a35f553da5dc475a255c5711de01bd6d42e541cabbab3b9e30f20c9a5c
|
||||||
DIST pypy-4.0.0-src.tar.bz2 17244624 SHA256 acff480e44ce92acd057f2e786775af36dc3c2cd12e9efc60a1ac6a562ad7b4d SHA512 2bbdc2536a32b0aa28f7b12ec3d879ed28afe984fad38635bc3e1d950a9fe198cfbaf9b554f0fa245e7fd512ec7a76297f05a1d3e17f73fb49e8506561190f5b WHIRLPOOL e94bdf5e8ea2cbab8e25d37bb7cb36b9bae773ec051d603cfce784e0fd8e591ed16e6896f49d14d9ae094c5f613a0ba871380c8adc2a1cf0023157e3e2a51f52
|
DIST pypy-4.0.0-src.tar.bz2 17244624 SHA256 acff480e44ce92acd057f2e786775af36dc3c2cd12e9efc60a1ac6a562ad7b4d SHA512 2bbdc2536a32b0aa28f7b12ec3d879ed28afe984fad38635bc3e1d950a9fe198cfbaf9b554f0fa245e7fd512ec7a76297f05a1d3e17f73fb49e8506561190f5b WHIRLPOOL e94bdf5e8ea2cbab8e25d37bb7cb36b9bae773ec051d603cfce784e0fd8e591ed16e6896f49d14d9ae094c5f613a0ba871380c8adc2a1cf0023157e3e2a51f52
|
||||||
|
DIST pypy-4.0.1-src.tar.bz2 17172844 SHA256 29f5aa6ba17b34fd980e85172dfeb4086fdc373ad392b1feff2677d2d8aea23c SHA512 66358cc3fe9ccb402b717379c48731aca8f9f85a1a754a54e3a060113398955b87a3f3048ba731a93be4b49c0f5c7e3bac49dc4523263e1bf4f4b5149d5db5c4 WHIRLPOOL 656a6c60aeb26cb6355db121a92bafcf2b744a7f09dccf21b4a16052c0117d239891ccf6762fcb4fee7f913862263c589becd5984498edc4a8b6d55784957994
|
||||||
DIST python-gentoo-patches-2.7.10-0.tar.xz 12892 SHA256 c9a838bd62ae50cc385da23a837acfd05f2b74e4f086c9c76eb4d3aa5366ef6d SHA512 5f100944635e360691dc0a2b340a906646c4ae9ee558246ddffc56e8b15d389f25f1fbdc1db4cc08e7d29560d04d66b058b3904902899d58ecae8c408ebdf056 WHIRLPOOL f69e9a518bb7ee50c1b262a21e70e1e2443f859ee6d2f4fa84421120dbd054a06ce8dd6cfea8512cbc64bce806322b879c25c561d5eb05e1ba6cc15035b373a9
|
DIST python-gentoo-patches-2.7.10-0.tar.xz 12892 SHA256 c9a838bd62ae50cc385da23a837acfd05f2b74e4f086c9c76eb4d3aa5366ef6d SHA512 5f100944635e360691dc0a2b340a906646c4ae9ee558246ddffc56e8b15d389f25f1fbdc1db4cc08e7d29560d04d66b058b3904902899d58ecae8c408ebdf056 WHIRLPOOL f69e9a518bb7ee50c1b262a21e70e1e2443f859ee6d2f4fa84421120dbd054a06ce8dd6cfea8512cbc64bce806322b879c25c561d5eb05e1ba6cc15035b373a9
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
--- a/lib-python/2.7/distutils/command/install.py
|
|
||||||
+++ b/lib-python/2.7/distutils/command/install.py
|
|
||||||
@@ -87,7 +87,7 @@
|
|
||||||
'purelib': '$base/site-packages',
|
|
||||||
'platlib': '$base/site-packages',
|
|
||||||
'headers': '$base/include',
|
|
||||||
- 'scripts': '$base/bin',
|
|
||||||
+ 'scripts': '/usr/bin',
|
|
||||||
'data' : '$base',
|
|
||||||
},
|
|
||||||
}
|
|
@ -1,321 +0,0 @@
|
|||||||
http://bugs.python.org/issue1222585
|
|
||||||
|
|
||||||
--- Lib/distutils/cygwinccompiler.py
|
|
||||||
+++ Lib/distutils/cygwinccompiler.py
|
|
||||||
@@ -117,8 +117,10 @@
|
|
||||||
# dllwrap 2.10.90 is buggy
|
|
||||||
if self.ld_version >= "2.10.90":
|
|
||||||
self.linker_dll = "gcc"
|
|
||||||
+ self.linker_dll_cxx = "g++"
|
|
||||||
else:
|
|
||||||
self.linker_dll = "dllwrap"
|
|
||||||
+ self.linker_dll_cxx = "dllwrap"
|
|
||||||
|
|
||||||
# ld_version >= "2.13" support -shared so use it instead of
|
|
||||||
# -mdll -static
|
|
||||||
@@ -132,9 +134,13 @@
|
|
||||||
self.set_executables(compiler='gcc -mcygwin -O -Wall',
|
|
||||||
compiler_so='gcc -mcygwin -mdll -O -Wall',
|
|
||||||
compiler_cxx='g++ -mcygwin -O -Wall',
|
|
||||||
+ compiler_so_cxx='g++ -mcygwin -mdll -O -Wall',
|
|
||||||
linker_exe='gcc -mcygwin',
|
|
||||||
linker_so=('%s -mcygwin %s' %
|
|
||||||
- (self.linker_dll, shared_option)))
|
|
||||||
+ (self.linker_dll, shared_option)),
|
|
||||||
+ linker_exe_cxx='g++ -mcygwin',
|
|
||||||
+ linker_so_cxx=('%s -mcygwin %s' %
|
|
||||||
+ (self.linker_dll_cxx, shared_option)))
|
|
||||||
|
|
||||||
# cygwin and mingw32 need different sets of libraries
|
|
||||||
if self.gcc_version == "2.91.57":
|
|
||||||
@@ -160,8 +166,12 @@
|
|
||||||
raise CompileError, msg
|
|
||||||
else: # for other files use the C-compiler
|
|
||||||
try:
|
|
||||||
- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] +
|
|
||||||
- extra_postargs)
|
|
||||||
+ if self.detect_language(src) == 'c++':
|
|
||||||
+ self.spawn(self.compiler_so_cxx + cc_args + [src, '-o', obj] +
|
|
||||||
+ extra_postargs)
|
|
||||||
+ else:
|
|
||||||
+ self.spawn(self.compiler_so + cc_args + [src, '-o', obj] +
|
|
||||||
+ extra_postargs)
|
|
||||||
except DistutilsExecError, msg:
|
|
||||||
raise CompileError, msg
|
|
||||||
|
|
||||||
@@ -327,9 +337,14 @@
|
|
||||||
self.set_executables(compiler='gcc%s -O -Wall' % no_cygwin,
|
|
||||||
compiler_so='gcc%s -mdll -O -Wall' % no_cygwin,
|
|
||||||
compiler_cxx='g++%s -O -Wall' % no_cygwin,
|
|
||||||
+ compiler_so_cxx='g++%s -mdll -O -Wall' % no_cygwin,
|
|
||||||
linker_exe='gcc%s' % no_cygwin,
|
|
||||||
linker_so='%s%s %s %s'
|
|
||||||
% (self.linker_dll, no_cygwin,
|
|
||||||
+ shared_option, entry_point),
|
|
||||||
+ linker_exe_cxx='g++%s' % no_cygwin,
|
|
||||||
+ linker_so_cxx='%s%s %s %s'
|
|
||||||
+ % (self.linker_dll_cxx, no_cygwin,
|
|
||||||
shared_option, entry_point))
|
|
||||||
# Maybe we should also append -mthreads, but then the finished
|
|
||||||
# dlls need another dll (mingwm10.dll see Mingw32 docs)
|
|
||||||
--- Lib/distutils/emxccompiler.py
|
|
||||||
+++ Lib/distutils/emxccompiler.py
|
|
||||||
@@ -65,8 +65,12 @@
|
|
||||||
# XXX optimization, warnings etc. should be customizable.
|
|
||||||
self.set_executables(compiler='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall',
|
|
||||||
compiler_so='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall',
|
|
||||||
+ compiler_cxx='g++ -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall',
|
|
||||||
+ compiler_so_cxx='g++ -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall',
|
|
||||||
linker_exe='gcc -Zomf -Zmt -Zcrtdll',
|
|
||||||
- linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll')
|
|
||||||
+ linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll',
|
|
||||||
+ linker_exe_cxx='g++ -Zomf -Zmt -Zcrtdll',
|
|
||||||
+ linker_so_cxx='g++ -Zomf -Zmt -Zcrtdll -Zdll')
|
|
||||||
|
|
||||||
# want the gcc library statically linked (so that we don't have
|
|
||||||
# to distribute a version dependent on the compiler we have)
|
|
||||||
@@ -83,8 +87,12 @@
|
|
||||||
raise CompileError, msg
|
|
||||||
else: # for other files use the C-compiler
|
|
||||||
try:
|
|
||||||
- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] +
|
|
||||||
- extra_postargs)
|
|
||||||
+ if self.detect_language(src) == 'c++':
|
|
||||||
+ self.spawn(self.compiler_so_cxx + cc_args + [src, '-o', obj] +
|
|
||||||
+ extra_postargs)
|
|
||||||
+ else:
|
|
||||||
+ self.spawn(self.compiler_so + cc_args + [src, '-o', obj] +
|
|
||||||
+ extra_postargs)
|
|
||||||
except DistutilsExecError, msg:
|
|
||||||
raise CompileError, msg
|
|
||||||
|
|
||||||
--- Lib/distutils/sysconfig_cpython.py
|
|
||||||
+++ Lib/distutils/sysconfig_cpython.py
|
|
||||||
@@ -170,10 +170,12 @@
|
|
||||||
_osx_support.customize_compiler(_config_vars)
|
|
||||||
_config_vars['CUSTOMIZED_OSX_COMPILER'] = 'True'
|
|
||||||
|
|
||||||
- (cc, cxx, opt, cflags, ccshared, ldshared, so_ext, ar, ar_flags) = \
|
|
||||||
- get_config_vars('CC', 'CXX', 'OPT', 'CFLAGS',
|
|
||||||
- 'CCSHARED', 'LDSHARED', 'SO', 'AR',
|
|
||||||
- 'ARFLAGS')
|
|
||||||
+ (cc, cxx, ccshared, ldshared, ldcxxshared, so_ext, ar, ar_flags) = \
|
|
||||||
+ get_config_vars('CC', 'CXX', 'CCSHARED', 'LDSHARED', 'LDCXXSHARED',
|
|
||||||
+ 'SO', 'AR', 'ARFLAGS')
|
|
||||||
+
|
|
||||||
+ cflags = ''
|
|
||||||
+ cxxflags = ''
|
|
||||||
|
|
||||||
if 'CC' in os.environ:
|
|
||||||
newcc = os.environ['CC']
|
|
||||||
@@ -188,19 +190,27 @@
|
|
||||||
cxx = os.environ['CXX']
|
|
||||||
if 'LDSHARED' in os.environ:
|
|
||||||
ldshared = os.environ['LDSHARED']
|
|
||||||
+ if 'LDCXXSHARED' in os.environ:
|
|
||||||
+ ldcxxshared = os.environ['LDCXXSHARED']
|
|
||||||
if 'CPP' in os.environ:
|
|
||||||
cpp = os.environ['CPP']
|
|
||||||
else:
|
|
||||||
cpp = cc + " -E" # not always
|
|
||||||
if 'LDFLAGS' in os.environ:
|
|
||||||
ldshared = ldshared + ' ' + os.environ['LDFLAGS']
|
|
||||||
+ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS']
|
|
||||||
if 'CFLAGS' in os.environ:
|
|
||||||
- cflags = opt + ' ' + os.environ['CFLAGS']
|
|
||||||
+ cflags = os.environ['CFLAGS']
|
|
||||||
ldshared = ldshared + ' ' + os.environ['CFLAGS']
|
|
||||||
+ if 'CXXFLAGS' in os.environ:
|
|
||||||
+ cxxflags = os.environ['CXXFLAGS']
|
|
||||||
+ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS']
|
|
||||||
if 'CPPFLAGS' in os.environ:
|
|
||||||
cpp = cpp + ' ' + os.environ['CPPFLAGS']
|
|
||||||
cflags = cflags + ' ' + os.environ['CPPFLAGS']
|
|
||||||
+ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS']
|
|
||||||
ldshared = ldshared + ' ' + os.environ['CPPFLAGS']
|
|
||||||
+ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS']
|
|
||||||
if 'AR' in os.environ:
|
|
||||||
ar = os.environ['AR']
|
|
||||||
if 'ARFLAGS' in os.environ:
|
|
||||||
@@ -209,13 +219,17 @@
|
|
||||||
archiver = ar + ' ' + ar_flags
|
|
||||||
|
|
||||||
cc_cmd = cc + ' ' + cflags
|
|
||||||
+ cxx_cmd = cxx + ' ' + cxxflags
|
|
||||||
compiler.set_executables(
|
|
||||||
preprocessor=cpp,
|
|
||||||
compiler=cc_cmd,
|
|
||||||
compiler_so=cc_cmd + ' ' + ccshared,
|
|
||||||
- compiler_cxx=cxx,
|
|
||||||
+ compiler_cxx=cxx_cmd,
|
|
||||||
+ compiler_so_cxx=cxx_cmd + ' ' + ccshared,
|
|
||||||
linker_so=ldshared,
|
|
||||||
linker_exe=cc,
|
|
||||||
+ linker_so_cxx=ldcxxshared,
|
|
||||||
+ linker_exe_cxx=cxx,
|
|
||||||
archiver=archiver)
|
|
||||||
|
|
||||||
compiler.shared_lib_extension = so_ext
|
|
||||||
--- Lib/distutils/unixccompiler.py
|
|
||||||
+++ Lib/distutils/unixccompiler.py
|
|
||||||
@@ -55,14 +55,17 @@
|
|
||||||
# are pretty generic; they will probably have to be set by an outsider
|
|
||||||
# (eg. using information discovered by the sysconfig about building
|
|
||||||
# Python extensions).
|
|
||||||
- executables = {'preprocessor' : None,
|
|
||||||
- 'compiler' : ["cc"],
|
|
||||||
- 'compiler_so' : ["cc"],
|
|
||||||
- 'compiler_cxx' : ["cc"],
|
|
||||||
- 'linker_so' : ["cc", "-shared"],
|
|
||||||
- 'linker_exe' : ["cc"],
|
|
||||||
- 'archiver' : ["ar", "-cr"],
|
|
||||||
- 'ranlib' : None,
|
|
||||||
+ executables = {'preprocessor' : None,
|
|
||||||
+ 'compiler' : ["cc"],
|
|
||||||
+ 'compiler_so' : ["cc"],
|
|
||||||
+ 'compiler_cxx' : ["c++"],
|
|
||||||
+ 'compiler_so_cxx' : ["c++"],
|
|
||||||
+ 'linker_so' : ["cc", "-shared"],
|
|
||||||
+ 'linker_exe' : ["cc"],
|
|
||||||
+ 'linker_so_cxx' : ["c++", "-shared"],
|
|
||||||
+ 'linker_exe_cxx' : ["c++"],
|
|
||||||
+ 'archiver' : ["ar", "-cr"],
|
|
||||||
+ 'ranlib' : None,
|
|
||||||
}
|
|
||||||
|
|
||||||
if sys.platform[:6] == "darwin":
|
|
||||||
@@ -112,12 +115,19 @@
|
|
||||||
|
|
||||||
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
|
|
||||||
compiler_so = self.compiler_so
|
|
||||||
+ compiler_so_cxx = self.compiler_so_cxx
|
|
||||||
if sys.platform == 'darwin':
|
|
||||||
compiler_so = _osx_support.compiler_fixup(compiler_so,
|
|
||||||
cc_args + extra_postargs)
|
|
||||||
+ compiler_so_cxx = _osx_support.compiler_fixup(compiler_so_cxx,
|
|
||||||
+ cc_args + extra_postargs)
|
|
||||||
try:
|
|
||||||
- self.spawn(compiler_so + cc_args + [src, '-o', obj] +
|
|
||||||
- extra_postargs)
|
|
||||||
+ if self.detect_language(src) == 'c++':
|
|
||||||
+ self.spawn(compiler_so_cxx + cc_args + [src, '-o', obj] +
|
|
||||||
+ extra_postargs)
|
|
||||||
+ else:
|
|
||||||
+ self.spawn(compiler_so + cc_args + [src, '-o', obj] +
|
|
||||||
+ extra_postargs)
|
|
||||||
except DistutilsExecError, msg:
|
|
||||||
raise CompileError, msg
|
|
||||||
|
|
||||||
@@ -174,23 +184,16 @@
|
|
||||||
ld_args.extend(extra_postargs)
|
|
||||||
self.mkpath(os.path.dirname(output_filename))
|
|
||||||
try:
|
|
||||||
- if target_desc == CCompiler.EXECUTABLE:
|
|
||||||
- linker = self.linker_exe[:]
|
|
||||||
+ if target_lang == "c++":
|
|
||||||
+ if target_desc == CCompiler.EXECUTABLE:
|
|
||||||
+ linker = self.linker_exe_cxx[:]
|
|
||||||
+ else:
|
|
||||||
+ linker = self.linker_so_cxx[:]
|
|
||||||
else:
|
|
||||||
- linker = self.linker_so[:]
|
|
||||||
- if target_lang == "c++" and self.compiler_cxx:
|
|
||||||
- # skip over environment variable settings if /usr/bin/env
|
|
||||||
- # is used to set up the linker's environment.
|
|
||||||
- # This is needed on OSX. Note: this assumes that the
|
|
||||||
- # normal and C++ compiler have the same environment
|
|
||||||
- # settings.
|
|
||||||
- i = 0
|
|
||||||
- if os.path.basename(linker[0]) == "env":
|
|
||||||
- i = 1
|
|
||||||
- while '=' in linker[i]:
|
|
||||||
- i = i + 1
|
|
||||||
-
|
|
||||||
- linker[i] = self.compiler_cxx[i]
|
|
||||||
+ if target_desc == CCompiler.EXECUTABLE:
|
|
||||||
+ linker = self.linker_exe[:]
|
|
||||||
+ else:
|
|
||||||
+ linker = self.linker_so[:]
|
|
||||||
|
|
||||||
if sys.platform == 'darwin':
|
|
||||||
linker = _osx_support.compiler_fixup(linker, ld_args)
|
|
||||||
--- Lib/_osx_support.py
|
|
||||||
+++ Lib/_osx_support.py
|
|
||||||
@@ -14,13 +14,13 @@
|
|
||||||
# configuration variables that may contain universal build flags,
|
|
||||||
# like "-arch" or "-isdkroot", that may need customization for
|
|
||||||
# the user environment
|
|
||||||
-_UNIVERSAL_CONFIG_VARS = ('CFLAGS', 'LDFLAGS', 'CPPFLAGS', 'BASECFLAGS',
|
|
||||||
- 'BLDSHARED', 'LDSHARED', 'CC', 'CXX',
|
|
||||||
- 'PY_CFLAGS', 'PY_LDFLAGS', 'PY_CPPFLAGS',
|
|
||||||
- 'PY_CORE_CFLAGS')
|
|
||||||
+_UNIVERSAL_CONFIG_VARS = ('CFLAGS', 'CXXFLAGS', 'LDFLAGS', 'CPPFLAGS',
|
|
||||||
+ 'BASECFLAGS', 'BLDSHARED', 'LDSHARED', 'LDCXXSHARED',
|
|
||||||
+ 'CC', 'CXX', 'PY_CFLAGS', 'PY_LDFLAGS',
|
|
||||||
+ 'PY_CPPFLAGS', 'PY_CORE_CFLAGS')
|
|
||||||
|
|
||||||
# configuration variables that may contain compiler calls
|
|
||||||
-_COMPILER_CONFIG_VARS = ('BLDSHARED', 'LDSHARED', 'CC', 'CXX')
|
|
||||||
+_COMPILER_CONFIG_VARS = ('BLDSHARED', 'LDSHARED', 'LDCXXSHARED', 'CC', 'CXX')
|
|
||||||
|
|
||||||
# prefix added to original configuration variable names
|
|
||||||
_INITPRE = '_OSX_SUPPORT_INITIAL_'
|
|
||||||
--- a/distutils/sysconfig_pypy.py
|
|
||||||
+++ b/distutils/sysconfig_pypy.py
|
|
||||||
@@ -123,7 +123,55 @@
|
|
||||||
optional C speedup components.
|
|
||||||
"""
|
|
||||||
if compiler.compiler_type == "unix":
|
|
||||||
- compiler.compiler_so.extend(['-O2', '-fPIC', '-Wimplicit'])
|
|
||||||
+ cc = ' '.join(compiler.compiler)
|
|
||||||
+ cxx = ' '.join(compiler.compiler_cxx)
|
|
||||||
+ ldshared = ' '.join(compiler.linker_so)
|
|
||||||
+ ldcxxshared = ' '.join(compiler.linker_so_cxx)
|
|
||||||
+
|
|
||||||
+ cflags = ''
|
|
||||||
+ cxxflags = ''
|
|
||||||
+ ccshared = '-fPIC'
|
|
||||||
+
|
|
||||||
+ if 'CC' in os.environ:
|
|
||||||
+ cc = os.environ['CC']
|
|
||||||
+ if 'CXX' in os.environ:
|
|
||||||
+ cxx = os.environ['CXX']
|
|
||||||
+ if 'LDSHARED' in os.environ:
|
|
||||||
+ ldshared = os.environ['LDSHARED']
|
|
||||||
+ if 'LDCXXSHARED' in os.environ:
|
|
||||||
+ ldcxxshared = os.environ['LDCXXSHARED']
|
|
||||||
+ if 'CPP' in os.environ:
|
|
||||||
+ cpp = os.environ['CPP']
|
|
||||||
+ else:
|
|
||||||
+ cpp = cc + " -E" # not always
|
|
||||||
+ if 'LDFLAGS' in os.environ:
|
|
||||||
+ ldshared = ldshared + ' ' + os.environ['LDFLAGS']
|
|
||||||
+ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS']
|
|
||||||
+ if 'CFLAGS' in os.environ:
|
|
||||||
+ cflags = os.environ['CFLAGS']
|
|
||||||
+ ldshared = ldshared + ' ' + os.environ['CFLAGS']
|
|
||||||
+ if 'CXXFLAGS' in os.environ:
|
|
||||||
+ cxxflags = os.environ['CXXFLAGS']
|
|
||||||
+ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS']
|
|
||||||
+ if 'CPPFLAGS' in os.environ:
|
|
||||||
+ cpp = cpp + ' ' + os.environ['CPPFLAGS']
|
|
||||||
+ cflags = cflags + ' ' + os.environ['CPPFLAGS']
|
|
||||||
+ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS']
|
|
||||||
+ ldshared = ldshared + ' ' + os.environ['CPPFLAGS']
|
|
||||||
+ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS']
|
|
||||||
+
|
|
||||||
+ cc_cmd = cc + ' ' + cflags
|
|
||||||
+ cxx_cmd = cxx + ' ' + cxxflags
|
|
||||||
+ compiler.set_executables(
|
|
||||||
+ preprocessor=cpp,
|
|
||||||
+ compiler=cc_cmd,
|
|
||||||
+ compiler_so=cc_cmd + ' ' + ccshared,
|
|
||||||
+ compiler_cxx=cxx_cmd,
|
|
||||||
+ compiler_so_cxx=cxx_cmd + ' ' + ccshared,
|
|
||||||
+ linker_so=ldshared,
|
|
||||||
+ linker_exe=cc,
|
|
||||||
+ linker_so_cxx=ldcxxshared,
|
|
||||||
+ linker_exe_cxx=cxx)
|
|
||||||
compiler.shared_lib_extension = get_config_var('SO')
|
|
||||||
if "CPPFLAGS" in os.environ:
|
|
||||||
cppflags = shlex.split(os.environ["CPPFLAGS"])
|
|
@ -1,11 +0,0 @@
|
|||||||
--- rpython/translator/platform/posix.py
|
|
||||||
+++ rpython/translator/platform/posix.py
|
|
||||||
@@ -180,7 +180,7 @@
|
|
||||||
'int main(int argc, char* argv[]) '
|
|
||||||
'{ return $(PYPY_MAIN_FUNCTION)(argc, argv); }" > $@')
|
|
||||||
m.rule('$(DEFAULT_TARGET)', ['$(TARGET)', 'main.o'],
|
|
||||||
- '$(CC_LINK) $(LDFLAGS_LINK) main.o -L. -l$(SHARED_IMPORT_LIB) -o $@')
|
|
||||||
+ '$(CC_LINK) $(LDFLAGS_LINK) main.o -L. -l$(SHARED_IMPORT_LIB) \'-Wl,-rpath,$$ORIGIN\' -o $@')
|
|
||||||
|
|
||||||
return m
|
|
||||||
|
|
@ -0,0 +1,50 @@
|
|||||||
|
From 165e05bbdc93e54411217c0198d0a5cbb9de4e33 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||||
|
Date: Fri, 27 Nov 2015 17:02:42 +0100
|
||||||
|
Subject: [PATCH] Gentoo: override paths for system-wide install based on
|
||||||
|
sys.prefix
|
||||||
|
|
||||||
|
Override all default distutils install paths to ones suitable for
|
||||||
|
system-wide install when sys.prefix indicates we're running the Gentoo
|
||||||
|
system-wide install of PyPy with no prefix overrides (e.g. virtualenv).
|
||||||
|
|
||||||
|
Fixes: https://bugs.gentoo.org/462306
|
||||||
|
Fixes: https://bugs.gentoo.org/465546
|
||||||
|
---
|
||||||
|
lib-python/2.7/distutils/command/install.py | 13 ++++++++++++-
|
||||||
|
1 file changed, 12 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/lib-python/2.7/distutils/command/install.py b/lib-python/2.7/distutils/command/install.py
|
||||||
|
index fc43951..fed5218 100644
|
||||||
|
--- a/lib-python/2.7/distutils/command/install.py
|
||||||
|
+++ b/lib-python/2.7/distutils/command/install.py
|
||||||
|
@@ -90,6 +90,13 @@ INSTALL_SCHEMES = {
|
||||||
|
'scripts': '$base/bin',
|
||||||
|
'data' : '$base',
|
||||||
|
},
|
||||||
|
+ 'gentoo': {
|
||||||
|
+ 'purelib': '$base/site-packages',
|
||||||
|
+ 'platlib': '$base/site-packages',
|
||||||
|
+ 'headers': '$base/include',
|
||||||
|
+ 'scripts': '@EPREFIX@/usr/bin',
|
||||||
|
+ 'data' : '@EPREFIX@/usr',
|
||||||
|
+ },
|
||||||
|
}
|
||||||
|
|
||||||
|
# The keys to an installation scheme; if any new types of files are to be
|
||||||
|
@@ -476,7 +483,11 @@ class install (Command):
|
||||||
|
# it's the caller's problem if they supply a bad name!
|
||||||
|
if (hasattr(sys, 'pypy_version_info') and
|
||||||
|
not name.endswith(('_user', '_home'))):
|
||||||
|
- name = 'pypy'
|
||||||
|
+ if self.install_base == os.path.normpath('@EPREFIX@/usr/@libdir@/pypy'):
|
||||||
|
+ # override paths for system-wide install
|
||||||
|
+ name = 'gentoo'
|
||||||
|
+ else:
|
||||||
|
+ name = 'pypy'
|
||||||
|
scheme = INSTALL_SCHEMES[name]
|
||||||
|
for key in SCHEME_KEYS:
|
||||||
|
attrname = 'install_' + key
|
||||||
|
--
|
||||||
|
2.6.3
|
||||||
|
|
@ -1,233 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 pypy )
|
|
||||||
inherit check-reqs eutils multilib multiprocessing pax-utils \
|
|
||||||
python-any-r1 toolchain-funcs versionator
|
|
||||||
|
|
||||||
DESCRIPTION="A fast, compliant alternative implementation of the Python language"
|
|
||||||
HOMEPAGE="http://pypy.org/"
|
|
||||||
SRC_URI="https://bitbucket.org/pypy/pypy/downloads/${P}-src.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0/$(get_version_component_range 1-2 ${PV})"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="bzip2 doc gdbm +jit low-memory ncurses sandbox shadowstack sqlite cpu_flags_x86_sse2 tk"
|
|
||||||
|
|
||||||
RDEPEND=">=sys-libs/zlib-1.1.3:0=
|
|
||||||
virtual/libffi:0=
|
|
||||||
virtual/libintl:0=
|
|
||||||
dev-libs/expat:0=
|
|
||||||
dev-libs/openssl:0=
|
|
||||||
bzip2? ( app-arch/bzip2:0= )
|
|
||||||
gdbm? ( sys-libs/gdbm:0= )
|
|
||||||
ncurses? ( =sys-libs/ncurses-5*:0= )
|
|
||||||
sqlite? ( dev-db/sqlite:3= )
|
|
||||||
tk? (
|
|
||||||
dev-lang/tk:0=
|
|
||||||
dev-tcltk/tix:0=
|
|
||||||
)
|
|
||||||
!dev-python/pypy-bin:0"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
doc? ( dev-python/sphinx )
|
|
||||||
${PYTHON_DEPS}"
|
|
||||||
PDEPEND="app-admin/python-updater"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${P}-src"
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
|
||||||
if use low-memory; then
|
|
||||||
if ! python_is_installed pypy; then
|
|
||||||
eerror "USE=low-memory requires a (possibly old) version of dev-python/pypy"
|
|
||||||
eerror "or dev-python/pypy-bin being installed. Please install it using e.g.:"
|
|
||||||
eerror
|
|
||||||
eerror " $ emerge -1v dev-python/pypy-bin"
|
|
||||||
eerror
|
|
||||||
eerror "before attempting to build dev-python/pypy[low-memory]."
|
|
||||||
die "dev-python/pypy-bin (or dev-python/pypy) needs to be installed for USE=low-memory"
|
|
||||||
fi
|
|
||||||
|
|
||||||
CHECKREQS_MEMORY="1750M"
|
|
||||||
use amd64 && CHECKREQS_MEMORY="3500M"
|
|
||||||
else
|
|
||||||
CHECKREQS_MEMORY="3G"
|
|
||||||
use amd64 && CHECKREQS_MEMORY="6G"
|
|
||||||
fi
|
|
||||||
|
|
||||||
check-reqs_pkg_pretend
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
|
||||||
pkg_pretend
|
|
||||||
|
|
||||||
if python_is_installed pypy; then
|
|
||||||
if [[ ! ${EPYTHON} || ${EPYTHON} == pypy ]] || use low-memory; then
|
|
||||||
einfo "Using already-installed PyPy to perform the translation."
|
|
||||||
local EPYTHON=pypy
|
|
||||||
else
|
|
||||||
einfo "Using ${EPYTHON} to perform the translation. Please note that upstream"
|
|
||||||
einfo "recommends using PyPy for that. If you wish to do so, please unset"
|
|
||||||
einfo "the EPYTHON variable."
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
python-any-r1_pkg_setup
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}/1.9-scripts-location.patch" \
|
|
||||||
"${FILESDIR}/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch" \
|
|
||||||
"${FILESDIR}"/2.3.1-shared-lib.patch # 517002
|
|
||||||
|
|
||||||
pushd lib-python/2.7 > /dev/null || die
|
|
||||||
epatch "${FILESDIR}/2.3-21_all_distutils_c++.patch"
|
|
||||||
popd > /dev/null || die
|
|
||||||
|
|
||||||
epatch_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
tc-export CC
|
|
||||||
|
|
||||||
local jit_backend
|
|
||||||
if use jit; then
|
|
||||||
jit_backend='--jit-backend='
|
|
||||||
|
|
||||||
# We only need the explicit sse2 switch for x86.
|
|
||||||
# On other arches we can rely on autodetection which uses
|
|
||||||
# compiler macros. Plus, --jit-backend= doesn't accept all
|
|
||||||
# the modern values...
|
|
||||||
|
|
||||||
if use x86; then
|
|
||||||
if use cpu_flags_x86_sse2; then
|
|
||||||
jit_backend+=x86
|
|
||||||
else
|
|
||||||
jit_backend+=x86-without-sse2
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
jit_backend+=auto
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
local args=(
|
|
||||||
--shared
|
|
||||||
$(usex jit -Ojit -O2)
|
|
||||||
$(usex shadowstack --gcrootfinder=shadowstack '')
|
|
||||||
$(usex sandbox --sandbox '')
|
|
||||||
|
|
||||||
${jit_backend}
|
|
||||||
--make-jobs=$(makeopts_jobs)
|
|
||||||
|
|
||||||
pypy/goal/targetpypystandalone
|
|
||||||
)
|
|
||||||
|
|
||||||
# Avoid linking against libraries disabled by use flags
|
|
||||||
local opts=(
|
|
||||||
bzip2:bz2
|
|
||||||
ncurses:_minimal_curses
|
|
||||||
)
|
|
||||||
|
|
||||||
local opt
|
|
||||||
for opt in "${opts[@]}"; do
|
|
||||||
local flag=${opt%:*}
|
|
||||||
local mod=${opt#*:}
|
|
||||||
|
|
||||||
args+=(
|
|
||||||
$(usex ${flag} --withmod --withoutmod)-${mod}
|
|
||||||
)
|
|
||||||
done
|
|
||||||
|
|
||||||
local interp=( "${PYTHON}" )
|
|
||||||
if use low-memory; then
|
|
||||||
interp=( env PYPY_GC_MAX_DELTA=200MB
|
|
||||||
"${PYTHON}" --jit loop_longevity=300 )
|
|
||||||
fi
|
|
||||||
|
|
||||||
set -- "${interp[@]}" rpython/bin/rpython --batch "${args[@]}"
|
|
||||||
echo -e "\033[1m${@}\033[0m"
|
|
||||||
"${@}" || die "compile error"
|
|
||||||
|
|
||||||
use doc && emake -C pypy/doc/ html
|
|
||||||
pax-mark m "${ED%/}${INSDESTTREE}/pypy-c"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# (unset)
|
|
||||||
local -x PYTHONDONTWRITEBYTECODE
|
|
||||||
|
|
||||||
./pypy-c ./pypy/test_all.py --pypy=./pypy-c lib-python || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
einfo "Installing PyPy ..."
|
|
||||||
insinto "/usr/$(get_libdir)/pypy"
|
|
||||||
doins -r include lib_pypy lib-python pypy-c libpypy-c.so
|
|
||||||
fperms a+x ${INSDESTTREE}/pypy-c ${INSDESTTREE}/libpypy-c.so
|
|
||||||
pax-mark m "${ED%/}${INSDESTTREE}/pypy-c" "${ED%/}${INSDESTTREE}/libpypy-c.so"
|
|
||||||
dosym ../$(get_libdir)/pypy/pypy-c /usr/bin/pypy
|
|
||||||
dodoc README.rst
|
|
||||||
|
|
||||||
if ! use gdbm; then
|
|
||||||
rm -r "${ED%/}${INSDESTTREE}"/lib_pypy/gdbm.py \
|
|
||||||
"${ED%/}${INSDESTTREE}"/lib-python/*2.7/test/test_gdbm.py || die
|
|
||||||
fi
|
|
||||||
if ! use sqlite; then
|
|
||||||
rm -r "${ED%/}${INSDESTTREE}"/lib-python/*2.7/sqlite3 \
|
|
||||||
"${ED%/}${INSDESTTREE}"/lib_pypy/_sqlite3.py \
|
|
||||||
"${ED%/}${INSDESTTREE}"/lib-python/*2.7/test/test_sqlite.py || die
|
|
||||||
fi
|
|
||||||
if ! use tk; then
|
|
||||||
rm -r "${ED%/}${INSDESTTREE}"/lib-python/*2.7/{idlelib,lib-tk} \
|
|
||||||
"${ED%/}${INSDESTTREE}"/lib_pypy/_tkinter \
|
|
||||||
"${ED%/}${INSDESTTREE}"/lib-python/*2.7/test/test_{tcl,tk,ttk*}.py || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Install docs
|
|
||||||
use doc && dohtml -r pypy/doc/_build/html/
|
|
||||||
|
|
||||||
einfo "Generating caches and byte-compiling ..."
|
|
||||||
|
|
||||||
local -x PYTHON=${ED%/}${INSDESTTREE}/pypy-c
|
|
||||||
local -x LD_LIBRARY_PATH="${ED%/}${INSDESTTREE}"
|
|
||||||
# we can't use eclass function since PyPy is dumb and always gives
|
|
||||||
# paths relative to the interpreter
|
|
||||||
local PYTHON_SITEDIR=${EPREFIX}/usr/$(get_libdir)/pypy/site-packages
|
|
||||||
python_export pypy EPYTHON
|
|
||||||
|
|
||||||
echo "EPYTHON='${EPYTHON}'" > epython.py || die
|
|
||||||
python_domodule epython.py
|
|
||||||
|
|
||||||
# Generate Grammar and PatternGrammar pickles.
|
|
||||||
"${PYTHON}" -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \
|
|
||||||
|| die "Generation of Grammar and PatternGrammar pickles failed"
|
|
||||||
|
|
||||||
# Generate cffi cache
|
|
||||||
# Please keep in sync with pypy/tool/release/package.py!
|
|
||||||
"${PYTHON}" -c "import syslog" || die "Failed to import syslog (cffi)"
|
|
||||||
if use gdbm; then
|
|
||||||
"${PYTHON}" -c "import gdbm" || die "Failed to import gdbm (cffi)"
|
|
||||||
fi
|
|
||||||
if use ncurses; then
|
|
||||||
"${PYTHON}" -c "import _curses" || die "Failed to import _curses (cffi)"
|
|
||||||
fi
|
|
||||||
if use sqlite; then
|
|
||||||
"${PYTHON}" -c "import _sqlite3" || die "Failed to import _sqlite3 (cffi)"
|
|
||||||
fi
|
|
||||||
if use tk; then
|
|
||||||
"${PYTHON}" -c "import _tkinter" || die "Failed to import _tkinter (cffi)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Cleanup temporary objects
|
|
||||||
find "${ED%/}${INSDESTTREE}" -name "_cffi_*.[co]" -delete || die
|
|
||||||
find "${ED%/}${INSDESTTREE}" -type d -empty -delete || die
|
|
||||||
|
|
||||||
# compile the installed modules
|
|
||||||
python_optimize "${ED%/}${INSDESTTREE}"
|
|
||||||
}
|
|
@ -0,0 +1,39 @@
|
|||||||
|
From 0f68f8920573cdce1729a285a92ac8582df32841 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ulf Hermann <ulf.hermann@theqtcompany.com>
|
||||||
|
Date: Tue, 27 Oct 2015 15:25:42 +0100
|
||||||
|
Subject: QtWidgets: Do hide/show via WA_OutsideWSRange for native widgets
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
If a native widget has a width or height of 0 we don't have to
|
||||||
|
invalidate its backing store as that is done by the window
|
||||||
|
system. Certain applications rely on ... interesting ... behavior
|
||||||
|
of certain window systems in this case.
|
||||||
|
|
||||||
|
Task-number: QTBUG-48321
|
||||||
|
Change-Id: I78ef29975181ee22429c9bd4b11d96d9e68b7a9c
|
||||||
|
Reviewed-by: Dmitry Shachnev <mitya57@gmail.com>
|
||||||
|
Reviewed-by: Alexander Volkov <a.volkov@rusbitech.ru>
|
||||||
|
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>
|
||||||
|
Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
|
||||||
|
---
|
||||||
|
src/widgets/kernel/qwidget.cpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
|
||||||
|
index 7734715..4286130 100644
|
||||||
|
--- a/src/widgets/kernel/qwidget.cpp
|
||||||
|
+++ b/src/widgets/kernel/qwidget.cpp
|
||||||
|
@@ -7169,7 +7169,7 @@ void QWidgetPrivate::setGeometry_sys(int x, int y, int w, int h, bool isMove)
|
||||||
|
|
||||||
|
bool needsShow = false;
|
||||||
|
|
||||||
|
- if (q->isWindow()) {
|
||||||
|
+ if (q->isWindow() || q->windowHandle()) {
|
||||||
|
if (!(data.window_state & Qt::WindowFullScreen) && (w == 0 || h == 0)) {
|
||||||
|
q->setAttribute(Qt::WA_OutsideWSRange, true);
|
||||||
|
if (q->isVisible() && q->testAttribute(Qt::WA_Mapped))
|
||||||
|
--
|
||||||
|
2.6.3
|
||||||
|
|
@ -0,0 +1,47 @@
|
|||||||
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
QT5_MODULE="qtbase"
|
||||||
|
inherit qt5-build
|
||||||
|
|
||||||
|
DESCRIPTION="Set of components for creating classic desktop-style UIs for the Qt5 framework"
|
||||||
|
|
||||||
|
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# keep IUSE defaults in sync with qtgui
|
||||||
|
IUSE="gles2 gtkstyle +png +xcb"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
~dev-qt/qtcore-${PV}
|
||||||
|
~dev-qt/qtgui-${PV}[gles2=,gtkstyle=,png=,xcb?]
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${P}-vlc-video-output.patch" # bug 563458
|
||||||
|
)
|
||||||
|
|
||||||
|
QT5_TARGET_SUBDIRS=(
|
||||||
|
src/tools/uic
|
||||||
|
src/widgets
|
||||||
|
)
|
||||||
|
|
||||||
|
QT5_GENTOO_CONFIG=(
|
||||||
|
!:no-widgets:
|
||||||
|
)
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
$(qt_use gtkstyle)
|
||||||
|
-opengl $(usex gles2 es2 desktop)
|
||||||
|
$(qt_use png libpng system)
|
||||||
|
$(qt_use xcb xcb system)
|
||||||
|
$(qt_use xcb xkbcommon system)
|
||||||
|
$(use xcb && echo -xcb-xlib -xinput2 -xkb -xrender)
|
||||||
|
)
|
||||||
|
qt5-build_src_configure
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
Index: catkin-0.6.16/cmake/all.cmake
|
||||||
|
===================================================================
|
||||||
|
--- catkin-0.6.16.orig/cmake/all.cmake
|
||||||
|
+++ catkin-0.6.16/cmake/all.cmake
|
||||||
|
@@ -108,6 +108,10 @@ endif()
|
||||||
|
# include CMake functions
|
||||||
|
include(CMakeParseArguments)
|
||||||
|
|
||||||
|
+# include GNUInstallDirs for LIBDIR
|
||||||
|
+# https://bugs.gentoo.org/show_bug.cgi?id=566670
|
||||||
|
+include(GNUInstallDirs)
|
||||||
|
+
|
||||||
|
# functions/macros: list_append_unique, safe_execute_process
|
||||||
|
# python-integration: catkin_python_setup.cmake, interrogate_setup_dot_py.py, templates/__init__.py.in, templates/script.py.in, templates/python_distutils_install.bat.in, templates/python_distutils_install.sh.in, templates/safe_execute_install.cmake.in
|
||||||
|
foreach(filename
|
@ -0,0 +1,74 @@
|
|||||||
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
inherit autotools eutils gnome2-utils games
|
||||||
|
|
||||||
|
DESCRIPTION="puzzle game similar to Oxyd"
|
||||||
|
HOMEPAGE="http://www.nongnu.org/enigma/"
|
||||||
|
SRC_URI="mirror://sourceforge/enigma-game/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
IUSE="nls"
|
||||||
|
|
||||||
|
COMMON_DEPS="media-libs/sdl-ttf
|
||||||
|
media-libs/libsdl[video]
|
||||||
|
media-libs/sdl-mixer
|
||||||
|
media-libs/sdl-image[jpeg,png]
|
||||||
|
media-libs/libpng:0=
|
||||||
|
sys-libs/zlib
|
||||||
|
net-misc/curl
|
||||||
|
|| ( >=dev-libs/xerces-c-3[icu] >=dev-libs/xerces-c-3[-icu,-iconv] )
|
||||||
|
net-libs/enet:=
|
||||||
|
nls? ( virtual/libintl )"
|
||||||
|
DEPEND="${COMMON_DEPS}
|
||||||
|
sys-devel/gettext"
|
||||||
|
RDEPEND="${COMMON_DEPS}
|
||||||
|
media-fonts/dejavu
|
||||||
|
x11-misc/xdg-utils"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
cp /usr/share/gettext/config.rpath .
|
||||||
|
epatch "${FILESDIR}"/${P}-build.patch
|
||||||
|
sed -i \
|
||||||
|
-e "s:DOCDIR:\"/usr/share/doc/${P}/html\":" \
|
||||||
|
src/main.cc || die
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
egamesconf \
|
||||||
|
--with-system-enet \
|
||||||
|
$(use_enable nls)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
DOCS="ACKNOWLEDGEMENTS AUTHORS CHANGES README doc/HACKING" \
|
||||||
|
default
|
||||||
|
dosym \
|
||||||
|
/usr/share/fonts/dejavu/DejaVuSansCondensed.ttf \
|
||||||
|
"${GAMES_DATADIR}"/${PN}/fonts/DejaVuSansCondensed.ttf
|
||||||
|
dosym \
|
||||||
|
/usr/share/fonts/dejavu/DejaVuSans.ttf \
|
||||||
|
"${GAMES_DATADIR}"/${PN}/fonts/vera_sans.ttf
|
||||||
|
dohtml -r doc/*
|
||||||
|
doman doc/enigma.6
|
||||||
|
prepgamesdirs
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
games_pkg_preinst
|
||||||
|
gnome2_icon_savelist
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
games_pkg_postinst
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
@ -1,5 +1,3 @@
|
|||||||
DIST Csound5.19.01.tar.gz 9302526 SHA256 c918fbdfa7a65cefd080966ba4b44aadb2e36f80c83a5714efb5a9c76532111d SHA512 8dd0c8984a75fe74e5aea53abf15276fdb526ce34ff48402ad2cfd2953b65a67a52f3a279cd030964cddd2322711df04638e039e2998022d92c56593450d3c8c WHIRLPOOL 86ff2a5aea5ec2a65153a5582352a292815e95059d9c48360ea16b8a1bca6d22ec4693cd744b4335df1fcf720a8b006598cd9c1ed8ff54d93af6fe37c8165be6
|
|
||||||
DIST Csound6.02.tar.gz 23459796 SHA256 b964199642b1141d4e3253a86996c613c2420c4e2cc39cad347ad7115768c0a5 SHA512 885911561768fe4f9761b442899ba3481d09d02f095aaeb14d076a4902482269274e394517423bf8fea68c2f9e76bd3faaebe328d878ccc0a4c4a8d2d95d1dc0 WHIRLPOOL 9ee8e51c3ce224717b3b3f0cca249d2b10052defc9749abb359b862325766117ec887e07c00a1287b7d0915849c018ee7c3985bd147d4517f466b69f7e4cbdd8
|
DIST Csound6.02.tar.gz 23459796 SHA256 b964199642b1141d4e3253a86996c613c2420c4e2cc39cad347ad7115768c0a5 SHA512 885911561768fe4f9761b442899ba3481d09d02f095aaeb14d076a4902482269274e394517423bf8fea68c2f9e76bd3faaebe328d878ccc0a4c4a8d2d95d1dc0 WHIRLPOOL 9ee8e51c3ce224717b3b3f0cca249d2b10052defc9749abb359b862325766117ec887e07c00a1287b7d0915849c018ee7c3985bd147d4517f466b69f7e4cbdd8
|
||||||
DIST Csound6.03.2.tar.gz 24571513 SHA256 f5f8364e0bc10aba473800e66176c08ac32b43ca69ad02dc9554bad54e91d170 SHA512 01cea31349632ecf3692a23535793c1cd622669e07a9035e1ee80d6ad117e8d0296d2ece78635fee8a73eb5ba53d2b03a8b895f0b2a9a74ae015288243445c1b WHIRLPOOL 029c9c68f20ce691b1bb50be38f12723e4cdcbdc757f12d12351b6f6b7b2ec7fda517d2677bfa8a746f41daaa8e7c61e652645c3677af9198caf0d555d9d0821
|
|
||||||
DIST Csound6.04.tar.gz 23959744 SHA256 0ff0203b87d10779dca962292a407e15ab0b284b558c9c63f892b74ed1e06080 SHA512 b19e2c4173c6d964b073ef19221f285e9ebd5a5d5d93148687b06860091bcc6e97e6b5e2223687e8f498608d9e27a33a75a50bb9d81ba83f4cd34e2eb4ceaeac WHIRLPOOL 5912e7c4e3fe42206a3914f66e24e1179e1f50337e17f407762d89a011f5f752e768faaaaf7eb34b097070bed8d28bbab37557cb6c6a1c9eebc174e0a7876dcd
|
DIST Csound6.04.tar.gz 23959744 SHA256 0ff0203b87d10779dca962292a407e15ab0b284b558c9c63f892b74ed1e06080 SHA512 b19e2c4173c6d964b073ef19221f285e9ebd5a5d5d93148687b06860091bcc6e97e6b5e2223687e8f498608d9e27a33a75a50bb9d81ba83f4cd34e2eb4ceaeac WHIRLPOOL 5912e7c4e3fe42206a3914f66e24e1179e1f50337e17f407762d89a011f5f752e768faaaaf7eb34b097070bed8d28bbab37557cb6c6a1c9eebc174e0a7876dcd
|
||||||
DIST csound-6.05.0.tar.gz 32094544 SHA256 2384cbc82fe37b70192c87977b52c55b336731ecbfd3be1d8d30c7223815d7b9 SHA512 a30a818e6e03b8ede0384c0bfddbde62ec9d9f1cfc33b92d6b23780c0d87a0c4e25229f9707eb2a5081971d0e53ff00c1e3465fd2af706a1c3bf2b53bc312be1 WHIRLPOOL f2e10297dbb337957dcd595b32df1a3279a504076fb113c0907374ff5ac88510e9df856c69fbef402681012adc1e36b7a03b1bf757014387b883b225d1da962f
|
DIST csound-6.05.0.tar.gz 32094544 SHA256 2384cbc82fe37b70192c87977b52c55b336731ecbfd3be1d8d30c7223815d7b9 SHA512 a30a818e6e03b8ede0384c0bfddbde62ec9d9f1cfc33b92d6b23780c0d87a0c4e25229f9707eb2a5081971d0e53ff00c1e3465fd2af706a1c3bf2b53bc312be1 WHIRLPOOL f2e10297dbb337957dcd595b32df1a3279a504076fb113c0907374ff5ac88510e9df856c69fbef402681012adc1e36b7a03b1bf757014387b883b225d1da962f
|
||||||
|
@ -1,202 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
|
|
||||||
inherit eutils multilib java-pkg-opt-2 cmake-utils toolchain-funcs versionator python-single-r1
|
|
||||||
|
|
||||||
MY_PN="${PN/c/C}"
|
|
||||||
MY_P="${MY_PN}${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="A sound design and signal processing system providing facilities for composition and performance"
|
|
||||||
HOMEPAGE="http://csounds.com/"
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="+alsa beats chua csoundac +cxx debug double-precision dssi examples fltk +fluidsynth
|
|
||||||
+image jack java keyboard linear lua luajit nls osc openmp portaudio portmidi pulseaudio
|
|
||||||
python samples static-libs stk tcl test +threads +utils vim-syntax"
|
|
||||||
|
|
||||||
LANGS=" de en_GB en_US es_CO fr it ro ru"
|
|
||||||
IUSE+="${LANGS// / linguas_}"
|
|
||||||
|
|
||||||
RDEPEND=">=media-libs/libsndfile-1.0.16
|
|
||||||
alsa? ( media-libs/alsa-lib )
|
|
||||||
csoundac? (
|
|
||||||
x11-libs/fltk:1[threads?]
|
|
||||||
dev-cpp/eigen:3
|
|
||||||
dev-libs/boost
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
)
|
|
||||||
dssi? (
|
|
||||||
media-libs/dssi
|
|
||||||
media-libs/ladspa-sdk
|
|
||||||
)
|
|
||||||
fluidsynth? ( media-sound/fluidsynth )
|
|
||||||
fltk? ( x11-libs/fltk:1[threads?] )
|
|
||||||
image? ( media-libs/libpng:0= )
|
|
||||||
jack? ( media-sound/jack-audio-connection-kit )
|
|
||||||
java? ( >=virtual/jdk-1.5 )
|
|
||||||
keyboard? ( x11-libs/fltk:1[threads?] )
|
|
||||||
linear? ( sci-mathematics/gmm )
|
|
||||||
lua? (
|
|
||||||
luajit? ( dev-lang/luajit:2 )
|
|
||||||
!luajit? ( dev-lang/lua:0 )
|
|
||||||
)
|
|
||||||
osc? ( media-libs/liblo )
|
|
||||||
portaudio? ( media-libs/portaudio )
|
|
||||||
portmidi? ( media-libs/portmidi )
|
|
||||||
pulseaudio? ( media-sound/pulseaudio )
|
|
||||||
python? ( ${PYTHON_DEPS} )
|
|
||||||
stk? ( media-libs/stk )
|
|
||||||
tcl? (
|
|
||||||
>=dev-lang/tcl-8.5:0=
|
|
||||||
>=dev-lang/tk-8.5:0=
|
|
||||||
)
|
|
||||||
utils? ( !media-sound/snd )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
sys-devel/flex
|
|
||||||
virtual/yacc
|
|
||||||
chua? ( dev-libs/boost )
|
|
||||||
csoundac? ( dev-lang/swig )
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
test? ( ${PYTHON_DEPS} )"
|
|
||||||
|
|
||||||
REQUIRED_USE="java? ( cxx )
|
|
||||||
linear? ( double-precision )
|
|
||||||
lua? ( cxx )
|
|
||||||
python? ( cxx )"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
if use openmp ; then
|
|
||||||
tc-has-openmp || die "Please switch to an openmp compatible compiler"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
if use python || use test ; then
|
|
||||||
python-single-r1_pkg_setup
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${PN}-5.16.6-tests.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-5.17.6-fltk.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-5.17.6-porttime-in-portmidi.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-5.17.11-cmake.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-5.17.11-no-fltk-gl.patch
|
|
||||||
|
|
||||||
sed -i "s:^\(csoundExecutable =\).*:\1 \"${WORKDIR}/${P}_build/csound\":" \
|
|
||||||
tests/test.py || die
|
|
||||||
|
|
||||||
sed -i '/set(PLUGIN_INSTALL_DIR/s/-${APIVERSION}//' CMakeLists.txt || die
|
|
||||||
|
|
||||||
if [[ $(get_libdir) == "lib64" ]] ; then
|
|
||||||
sed -i '/set(LIBRARY_INSTALL_DIR/s/lib/lib64/' CMakeLists.txt || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use python ; then
|
|
||||||
sed -i "/set(PYTHON_MODULE_INSTALL_DIR/s#\${LIBRARY_INSTALL_DIR}#$(python_get_sitedir)#" CMakeLists.txt || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf
|
|
||||||
|
|
||||||
if use csoundac ; then
|
|
||||||
myconf+=" -DBUILD_CSOUND_AC_PYTHON_INTERFACE=$(usex python ON OFF)"
|
|
||||||
myconf+=" -DBUILD_CSOUND_AC_LUA_INTERFACE=$(usex lua ON OFF)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DBUILD_NEW_PARSER=ON
|
|
||||||
$(cmake-utils_use_use alsa ALSA) \
|
|
||||||
$(cmake-utils_use_build beats CSBEATS) \
|
|
||||||
$(cmake-utils_use_build chua CHUA_OPCODES) \
|
|
||||||
$(cmake-utils_use_build csoundac CSOUND_AC) \
|
|
||||||
$(cmake-utils_use_build cxx CXX_INTERFACE) \
|
|
||||||
$(cmake-utils_use debug NEW_PARSER_DEBUG) \
|
|
||||||
$(cmake-utils_use_use double-precision DOUBLE) \
|
|
||||||
$(cmake-utils_use_build dssi DSSI_OPCODES) \
|
|
||||||
$(cmake-utils_use_build fluidsynth FLUID_OPCODES) \
|
|
||||||
$(cmake-utils_use_use fltk FLTK) \
|
|
||||||
$(cmake-utils_use_build image IMAGE_OPCODES) \
|
|
||||||
$(cmake-utils_use_use jack JACK) \
|
|
||||||
$(cmake-utils_use_build jack JACK_OPCODES) \
|
|
||||||
$(cmake-utils_use_build java JAVA_INTERFACE) \
|
|
||||||
$(cmake-utils_use_build keyboard VIRTUAL_KEYBOARD) \
|
|
||||||
$(cmake-utils_use_build linear LINEAR_ALGEBRA_OPCODES) \
|
|
||||||
$(cmake-utils_use_build lua LUA_OPCODES) \
|
|
||||||
$(cmake-utils_use_build lua LUA_INTERFACE) \
|
|
||||||
$(cmake-utils_use_use nls GETTEXT) \
|
|
||||||
$(cmake-utils_use_build osc OSC_OPCODES) \
|
|
||||||
$(cmake-utils_use_use openmp OPEN_MP) \
|
|
||||||
$(cmake-utils_use_use portaudio PORTAUDIO) \
|
|
||||||
$(cmake-utils_use_use portmidi PORTMIDI) \
|
|
||||||
$(cmake-utils_use_use pulseaudio PULSEAUDIO) \
|
|
||||||
$(cmake-utils_use_build python PYTHON_OPCODES) \
|
|
||||||
$(cmake-utils_use_build python PYTHON_INTERFACE) \
|
|
||||||
$(cmake-utils_use_build static-libs STATIC_LIBRARY) \
|
|
||||||
$(cmake-utils_use_build stk STK_OPCODES) \
|
|
||||||
$(cmake-utils_use_build tcl TCLCSOUND) \
|
|
||||||
$(cmake-utils_use_build threads MULTI_CORE) \
|
|
||||||
$(cmake-utils_use_build utils UTILITIES) \
|
|
||||||
${myconf}
|
|
||||||
)
|
|
||||||
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
export LD_LIBRARY_PATH="${S}" OPCODEDIR="${S}" OPCODEDIR64="${S}"
|
|
||||||
cd tests
|
|
||||||
./test.py || die "tests failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake-utils_src_install
|
|
||||||
|
|
||||||
dodoc AUTHORS ChangeLog readme-csound5-complete.txt
|
|
||||||
|
|
||||||
# Generate env.d file
|
|
||||||
if use double-precision ; then
|
|
||||||
echo OPCODEDIR64=/usr/$(get_libdir)/${PN}/plugins64 > "${T}"/62${PN}
|
|
||||||
else
|
|
||||||
echo OPCODEDIR=/usr/$(get_libdir)/${PN}/plugins > "${T}"/62${PN}
|
|
||||||
fi
|
|
||||||
echo "CSSTRNGS=/usr/share/locale" >> "${T}"/62${PN}
|
|
||||||
use stk && echo "RAWWAVE_PATH=/usr/share/csound/rawwaves" >> "${T}"/62${PN}
|
|
||||||
doenvd "${T}"/62${PN}
|
|
||||||
|
|
||||||
if use examples ; then
|
|
||||||
dodoc -r examples
|
|
||||||
docompress -x /usr/share/doc/${PF}/examples
|
|
||||||
fi
|
|
||||||
|
|
||||||
use samples && dodoc -r samples
|
|
||||||
|
|
||||||
if use vim-syntax ; then
|
|
||||||
insinto /usr/share/vim/vimfiles/syntax
|
|
||||||
doins installer/misc/vim/csound_{csd,orc,sco}.vim
|
|
||||||
insinto /usr/share/vim/vimfiles/plugin
|
|
||||||
doins installer/misc/vim/csound.vim
|
|
||||||
fi
|
|
||||||
|
|
||||||
# rename extract to csound_extract (bug #247394)
|
|
||||||
mv "${ED}"/usr/bin/{extract,csound_extract} || die
|
|
||||||
|
|
||||||
use python && python_optimize
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog
|
|
||||||
elog "The extract tool is now installed as csound_extract"
|
|
||||||
elog "due to collisions with many other packages (bug #247394)."
|
|
||||||
elog
|
|
||||||
}
|
|
@ -1,215 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
|
|
||||||
inherit eutils multilib java-pkg-opt-2 cmake-utils toolchain-funcs versionator python-single-r1
|
|
||||||
|
|
||||||
MY_PN="${PN/c/C}"
|
|
||||||
MY_P="${MY_PN}${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="A sound design and signal processing system providing facilities for composition and performance"
|
|
||||||
HOMEPAGE="http://csounds.com/"
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="+alsa beats chua csoundac curl +cxx debug double-precision dssi examples fltk +fluidsynth
|
|
||||||
+image jack java keyboard linear lua luajit nls osc openmp portaudio portmidi pulseaudio
|
|
||||||
python samples score static-libs stk tcl test +threads +utils vim-syntax"
|
|
||||||
|
|
||||||
LANGS=" de en_US es_CO fr it ro ru"
|
|
||||||
IUSE+="${LANGS// / linguas_}"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=media-libs/libsndfile-1.0.16
|
|
||||||
alsa? ( media-libs/alsa-lib )
|
|
||||||
csoundac? (
|
|
||||||
x11-libs/fltk:1[threads?]
|
|
||||||
dev-cpp/eigen:3
|
|
||||||
dev-libs/boost
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
)
|
|
||||||
curl? ( net-misc/curl )
|
|
||||||
dssi? (
|
|
||||||
media-libs/dssi
|
|
||||||
media-libs/ladspa-sdk
|
|
||||||
)
|
|
||||||
fluidsynth? ( media-sound/fluidsynth )
|
|
||||||
fltk? ( x11-libs/fltk:1[threads?] )
|
|
||||||
image? ( media-libs/libpng:0= )
|
|
||||||
jack? ( media-sound/jack-audio-connection-kit )
|
|
||||||
java? ( >=virtual/jdk-1.5 )
|
|
||||||
keyboard? ( x11-libs/fltk:1[threads?] )
|
|
||||||
linear? ( sci-mathematics/gmm )
|
|
||||||
lua? (
|
|
||||||
luajit? ( dev-lang/luajit:2 )
|
|
||||||
!luajit? ( dev-lang/lua:0 )
|
|
||||||
)
|
|
||||||
osc? ( media-libs/liblo )
|
|
||||||
portaudio? ( media-libs/portaudio )
|
|
||||||
portmidi? ( media-libs/portmidi )
|
|
||||||
pulseaudio? ( media-sound/pulseaudio )
|
|
||||||
python? ( ${PYTHON_DEPS} )
|
|
||||||
stk? ( media-libs/stk )
|
|
||||||
tcl? (
|
|
||||||
>=dev-lang/tcl-8.5:0=
|
|
||||||
>=dev-lang/tk-8.5:0=
|
|
||||||
)
|
|
||||||
utils? ( !media-sound/snd )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
sys-devel/flex
|
|
||||||
virtual/yacc
|
|
||||||
chua? ( dev-libs/boost )
|
|
||||||
csoundac? ( dev-lang/swig )
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
test? (
|
|
||||||
dev-util/cunit
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
)
|
|
||||||
"
|
|
||||||
REQUIRED_USE="
|
|
||||||
java? ( cxx )
|
|
||||||
linear? ( double-precision )
|
|
||||||
lua? ( cxx )
|
|
||||||
python? ( cxx )
|
|
||||||
"
|
|
||||||
|
|
||||||
# requires specific alsa settings
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
if use openmp ; then
|
|
||||||
tc-has-openmp || die "Please switch to an openmp compatible compiler"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
if use python || use test ; then
|
|
||||||
python-single-r1_pkg_setup
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${PN}-6.02-porttime-in-portmidi.patch
|
|
||||||
|
|
||||||
sed -e '/set(PLUGIN_INSTALL_DIR/s/-${APIVERSION}//' \
|
|
||||||
-e '/-O3/d' \
|
|
||||||
-i CMakeLists.txt || die
|
|
||||||
|
|
||||||
if use python ; then
|
|
||||||
sed -i "/set(PYTHON_MODULE_INSTALL_DIR/s#\${LIBRARY_INSTALL_DIR}#$(python_get_sitedir)#" CMakeLists.txt || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
for lang in ${LANGS} ; do
|
|
||||||
if ! use linguas_${lang} ; then
|
|
||||||
sed -i "/compile_po(${lang}/d" po/CMakeLists.txt || die
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf
|
|
||||||
|
|
||||||
if use csoundac ; then
|
|
||||||
myconf+=" -DBUILD_CSOUND_AC_PYTHON_INTERFACE=$(usex python ON OFF)"
|
|
||||||
myconf+=" -DBUILD_CSOUND_AC_LUA_INTERFACE=$(usex lua ON OFF)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
[[ $(get_libdir) == "lib64" ]] && myconf+=" -DUSE_LIB64=ON"
|
|
||||||
|
|
||||||
local mycmakeargs=(
|
|
||||||
$(cmake-utils_use_use alsa ALSA)
|
|
||||||
$(cmake-utils_use_build beats CSBEATS)
|
|
||||||
$(cmake-utils_use_build chua CHUA_OPCODES)
|
|
||||||
$(cmake-utils_use_build csoundac CSOUND_AC)
|
|
||||||
$(cmake-utils_use_build cxx CXX_INTERFACE)
|
|
||||||
$(cmake-utils_use_use curl CURL)
|
|
||||||
$(cmake-utils_use debug NEW_PARSER_DEBUG)
|
|
||||||
$(cmake-utils_use_use double-precision DOUBLE)
|
|
||||||
$(cmake-utils_use_build dssi DSSI_OPCODES)
|
|
||||||
$(cmake-utils_use_build fluidsynth FLUID_OPCODES)
|
|
||||||
$(cmake-utils_use_use fltk FLTK)
|
|
||||||
$(cmake-utils_use_build image IMAGE_OPCODES)
|
|
||||||
$(cmake-utils_use_use jack JACK)
|
|
||||||
$(cmake-utils_use_build jack JACK_OPCODES)
|
|
||||||
$(cmake-utils_use_build java JAVA_INTERFACE)
|
|
||||||
$(cmake-utils_use_build keyboard VIRTUAL_KEYBOARD)
|
|
||||||
$(cmake-utils_use_build linear LINEAR_ALGEBRA_OPCODES)
|
|
||||||
$(cmake-utils_use_build lua LUA_OPCODES)
|
|
||||||
$(cmake-utils_use_build lua LUA_INTERFACE)
|
|
||||||
$(cmake-utils_use_use nls GETTEXT)
|
|
||||||
$(cmake-utils_use_build osc OSC_OPCODES)
|
|
||||||
$(cmake-utils_use_use openmp OPEN_MP)
|
|
||||||
$(cmake-utils_use_use portaudio PORTAUDIO)
|
|
||||||
$(cmake-utils_use_use portmidi PORTMIDI)
|
|
||||||
$(cmake-utils_use_use pulseaudio PULSEAUDIO)
|
|
||||||
$(cmake-utils_use_build python PYTHON_OPCODES)
|
|
||||||
$(cmake-utils_use_build python PYTHON_INTERFACE)
|
|
||||||
$(cmake-utils_use score SCORE_PARSER)
|
|
||||||
$(cmake-utils_use_build static-libs STATIC_LIBRARY)
|
|
||||||
$(cmake-utils_use_build stk STK_OPCODES)
|
|
||||||
$(cmake-utils_use_build test TESTS)
|
|
||||||
$(cmake-utils_use_build test STATIC_LIBRARY)
|
|
||||||
$(cmake-utils_use_build tcl TCLCSOUND)
|
|
||||||
$(cmake-utils_use_build threads MULTI_CORE)
|
|
||||||
$(cmake-utils_use_build utils UTILITIES)
|
|
||||||
-DBUILD_RELEASE=ON
|
|
||||||
${myconf}
|
|
||||||
)
|
|
||||||
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
cmake-utils_src_test
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake-utils_src_install
|
|
||||||
dodoc AUTHORS ChangeLog README.md Release_Notes/*
|
|
||||||
|
|
||||||
# Generate env.d file
|
|
||||||
if use double-precision ; then
|
|
||||||
echo OPCODEDIR64=/usr/$(get_libdir)/${PN}/plugins64 > "${T}"/62${PN}
|
|
||||||
else
|
|
||||||
echo OPCODEDIR=/usr/$(get_libdir)/${PN}/plugins > "${T}"/62${PN}
|
|
||||||
fi
|
|
||||||
echo "CSSTRNGS=/usr/share/locale" >> "${T}"/62${PN}
|
|
||||||
use stk && echo "RAWWAVE_PATH=/usr/share/csound/rawwaves" >> "${T}"/62${PN}
|
|
||||||
doenvd "${T}"/62${PN}
|
|
||||||
|
|
||||||
if use examples ; then
|
|
||||||
dodoc -r examples
|
|
||||||
docompress -x /usr/share/doc/${PF}/examples
|
|
||||||
fi
|
|
||||||
|
|
||||||
use samples && dodoc -r samples
|
|
||||||
|
|
||||||
if use vim-syntax ; then
|
|
||||||
insinto /usr/share/vim/vimfiles/syntax
|
|
||||||
doins installer/misc/vim/csound_{csd,orc,sco}.vim
|
|
||||||
insinto /usr/share/vim/vimfiles/plugin
|
|
||||||
doins installer/misc/vim/csound.vim
|
|
||||||
fi
|
|
||||||
|
|
||||||
# rename extract to csound_extract (bug #247394)
|
|
||||||
mv "${ED}"/usr/bin/{extract,csound_extract} || die
|
|
||||||
|
|
||||||
use python && python_optimize
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
|
||||||
elog
|
|
||||||
elog "The extract tool is now installed as csound_extract"
|
|
||||||
elog "due to collisions with many other packages (bug #247394)."
|
|
||||||
elog
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,90 +0,0 @@
|
|||||||
--- Csound5.16.6/tests/test.py.orig
|
|
||||||
+++ Csound5.16.6/tests/test.py
|
|
||||||
@@ -6,9 +6,6 @@
|
|
||||||
import os
|
|
||||||
import sys
|
|
||||||
|
|
||||||
-from testUI import TestApplication
|
|
||||||
-from Tkinter import *
|
|
||||||
-
|
|
||||||
parserType = "--new-parser"
|
|
||||||
showUIatClose = False
|
|
||||||
csoundExecutable = ""
|
|
||||||
@@ -104,8 +101,6 @@
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
- output = ""
|
|
||||||
- tempfile = "/tmp/csound_test_output.txt"
|
|
||||||
counter = 1
|
|
||||||
|
|
||||||
retVals = []
|
|
||||||
@@ -124,7 +119,7 @@
|
|
||||||
retVal = os.system(command)
|
|
||||||
else:
|
|
||||||
executable = (csoundExecutable == "") and "../csound" or csoundExecutable
|
|
||||||
- command = "%s %s %s %s &> %s"%(executable, parserType, runArgs, filename, tempfile)
|
|
||||||
+ command = "%s %s %s %s"%(executable, parserType, runArgs, filename)
|
|
||||||
retVal = os.system(command)
|
|
||||||
|
|
||||||
print "Test %i: %s (%s)\nReturn Code: %i"%(counter, desc, filename, retVal)
|
|
||||||
@@ -136,24 +131,6 @@
|
|
||||||
testFail += 1
|
|
||||||
print "Result: FAIL\n"
|
|
||||||
|
|
||||||
- output += "%s\n"%("=" * 80)
|
|
||||||
- output += "Test %i: %s (%s)\nReturn Code: %i\n"%(counter, desc, filename, retVal)
|
|
||||||
- output += "%s\n\n"%("=" * 80)
|
|
||||||
-
|
|
||||||
- f = open(tempfile, "r")
|
|
||||||
-
|
|
||||||
- csOutput = ""
|
|
||||||
-
|
|
||||||
- for line in f:
|
|
||||||
- csOutput += line
|
|
||||||
-
|
|
||||||
- output += csOutput
|
|
||||||
-
|
|
||||||
- f.close()
|
|
||||||
-
|
|
||||||
- retVals.append(t + [retVal, csOutput])
|
|
||||||
-
|
|
||||||
- output += "\n\n"
|
|
||||||
counter += 1
|
|
||||||
|
|
||||||
# print output
|
|
||||||
@@ -162,12 +139,7 @@
|
|
||||||
print "Tests Passed: %i\nTests Failed: %i\n"%(testPass, testFail)
|
|
||||||
|
|
||||||
|
|
||||||
- f = open("results.txt", "w")
|
|
||||||
- f.write(output)
|
|
||||||
- f.flush()
|
|
||||||
- f.close()
|
|
||||||
-
|
|
||||||
- return retVals
|
|
||||||
+ return testFail
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
if(len(sys.argv) > 1):
|
|
||||||
@@ -176,6 +148,8 @@
|
|
||||||
showHelp()
|
|
||||||
sys.exit(0)
|
|
||||||
elif arg == "--show-ui":
|
|
||||||
+ from testUI import TestApplication
|
|
||||||
+ from Tkinter import *
|
|
||||||
showUIatClose = True
|
|
||||||
elif arg == "--old-parser":
|
|
||||||
parserType = "--old-parser"
|
|
||||||
@@ -185,6 +159,8 @@
|
|
||||||
elif arg.startswith("--opcodedir64="):
|
|
||||||
os.environ['OPCODEDIR64'] = arg[14:]
|
|
||||||
print os.environ['OPCODEDIR64']
|
|
||||||
- results = runTest()
|
|
||||||
- if (showUIatClose):
|
|
||||||
- showUI(results)
|
|
||||||
+ failures = runTest()
|
|
||||||
+ if failures > 0:
|
|
||||||
+ sys.exit(1)
|
|
||||||
+ else:
|
|
||||||
+ sys.exit(0)
|
|
@ -1,10 +0,0 @@
|
|||||||
--- Csound5.17.11/frontends/CsoundAC/CMakeLists.txt
|
|
||||||
+++ Csound5.17.11/frontends/CsoundAC/CMakeLists.txt
|
|
||||||
@@ -29,7 +29,6 @@
|
|
||||||
allegrowr.cpp
|
|
||||||
Cell.cpp
|
|
||||||
ChordLindenmayer.cpp
|
|
||||||
- cmake_install.cmake
|
|
||||||
Composition.cpp
|
|
||||||
Conversions.cpp
|
|
||||||
Counterpoint.cpp
|
|
@ -1,20 +0,0 @@
|
|||||||
--- Csound5.17.11/frontends/CsoundAC/CMakeLists.txt
|
|
||||||
+++ Csound5.17.11/frontends/CsoundAC/CMakeLists.txt
|
|
||||||
@@ -7,6 +7,7 @@
|
|
||||||
|
|
||||||
find_package(Boost)
|
|
||||||
find_library(MUSICXML_LIBRARY musicxml2)
|
|
||||||
+set(FLTK_SKIP_OPENGL true)
|
|
||||||
find_package(FLTK)
|
|
||||||
find_package(SWIG)
|
|
||||||
find_package(PythonLibs)
|
|
||||||
--- Csound5.17.11/InOut/CMakeLists.txt
|
|
||||||
+++ Csound5.17.11/InOut/CMakeLists.txt
|
|
||||||
@@ -56,6 +56,7 @@
|
|
||||||
find_library(COREAUDIO_LIBRARY CoreAudio)
|
|
||||||
endif()
|
|
||||||
if(USE_FLTK OR BUILD_VIRTUAL_KEYBOARD)
|
|
||||||
+ set(FLTK_SKIP_OPENGL true)
|
|
||||||
find_package(FLTK)
|
|
||||||
endif()
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
|||||||
--- Csound5.17.6/InOut/CMakeLists.txt
|
|
||||||
+++ Csound5.17.6/InOut/CMakeLists.txt
|
|
||||||
@@ -148,6 +148,7 @@
|
|
||||||
if(USE_FLTK)
|
|
||||||
set(widgets_SRCS FL_graph.cpp winFLTK.c widgets.cpp)
|
|
||||||
make_plugin(widgets "${widgets_SRCS}" "${FLTK_LIBRARIES}")
|
|
||||||
+ include_directories(${FLTK_INCLUDE_DIR})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
check_deps(BUILD_VIRTUAL_KEYBOARD FLTK_FOUND)
|
|
@ -1,20 +0,0 @@
|
|||||||
--- Csound5.17.6/InOut/CMakeLists.txt
|
|
||||||
+++ Csound5.17.6/InOut/CMakeLists.txt
|
|
||||||
@@ -26,7 +26,6 @@
|
|
||||||
endif()
|
|
||||||
if(USE_PORTMIDI)
|
|
||||||
find_library(PORTMIDI_LIBRARY portmidi)
|
|
||||||
- find_library(PORTTIME_LIBRARY porttime)
|
|
||||||
check_include_file(portmidi.h PORTMIDI_HEADER)
|
|
||||||
endif()
|
|
||||||
if(USE_JACK)
|
|
||||||
@@ -116,9 +115,6 @@
|
|
||||||
check_deps(USE_PORTMIDI PORTMIDI_HEADER PORTMIDI_LIBRARY)
|
|
||||||
if(USE_PORTMIDI)
|
|
||||||
set(pmidi_LIBS ${PORTMIDI_LIBRARY})
|
|
||||||
- if(NOT APPLE)
|
|
||||||
- list(APPEND pmidi_LIBS ${PORTTIME_LIBRARY})
|
|
||||||
- endif()
|
|
||||||
if(WIN32)
|
|
||||||
list(APPEND pmidi_LIBS ${CSOUND_WINDOWS_LIBRARIES})
|
|
||||||
endif()
|
|
@ -1,30 +0,0 @@
|
|||||||
--- Csound6.02/InOut/CMakeLists.txt
|
|
||||||
+++ Csound6.02/InOut/CMakeLists.txt
|
|
||||||
@@ -33,10 +33,6 @@
|
|
||||||
find_library(PORTMIDI_LIBRARY portmidi)
|
|
||||||
# include_directories(${PORTMIDI_INCLUDE_PATH})
|
|
||||||
# include_directories(${PORTTIME_INCLUDE_PATH})
|
|
||||||
- if(WIN32)
|
|
||||||
- else()
|
|
||||||
- find_library(PORTTIME_LIBRARY porttime)
|
|
||||||
- endif()
|
|
||||||
endif()
|
|
||||||
if(USE_JACK)
|
|
||||||
find_library(JACK_LIBRARY jack)
|
|
||||||
@@ -126,15 +122,12 @@
|
|
||||||
elseif(WIN32)
|
|
||||||
check_deps(USE_PORTMIDI PORTMIDI_INCLUDE_PATH PORTTIME_INCLUDE_PATH PORTMIDI_LIBRARY)
|
|
||||||
else()
|
|
||||||
- check_deps(USE_PORTMIDI PORTMIDI_INCLUDE_PATH PORTMIDI_LIBRARY PORTTIME_LIBRARY)
|
|
||||||
+ check_deps(USE_PORTMIDI PORTMIDI_INCLUDE_PATH PORTMIDI_LIBRARY)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(USE_PORTMIDI)
|
|
||||||
set(pmidi_LIBS ${PORTMIDI_LIBRARY})
|
|
||||||
include_directories(${PORTMIDI_INCLUDE_PATH})
|
|
||||||
- if(LINUX)
|
|
||||||
- list(APPEND pmidi_LIBS ${PORTTIME_LIBRARY})
|
|
||||||
- endif()
|
|
||||||
if(WIN32)
|
|
||||||
include_directories(${PORTTIME_INCLUDE_PATH})
|
|
||||||
list(APPEND pmidi_LIBS ${CSOUND_WINDOWS_LIBRARIES})
|
|
@ -0,0 +1,53 @@
|
|||||||
|
commit a4b1930b506274e328ee26cd6287965cb496062b
|
||||||
|
Author: Steven Yi <stevenyi@gmail.com>
|
||||||
|
Date: Mon Sep 28 18:21:22 2015 -0400
|
||||||
|
|
||||||
|
modified make_utility and targets for csound-bin and mixer-bin to use add libm for linking when on Linux [fixes #526]
|
||||||
|
|
||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 2b16079..18a6ad1 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -97,6 +97,10 @@ endfunction(make_executable)
|
||||||
|
function(make_utility name srcs)
|
||||||
|
make_executable(${name} "${srcs}" "${CSOUNDLIB}")
|
||||||
|
add_dependencies(${name} ${CSOUNDLIB})
|
||||||
|
+
|
||||||
|
+ if(LINUX)
|
||||||
|
+ target_link_libraries(${name} m)
|
||||||
|
+ endif()
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/frontends/CMakeLists.txt b/frontends/CMakeLists.txt
|
||||||
|
index d0e3a21..b31f37a 100644
|
||||||
|
--- a/frontends/CMakeLists.txt
|
||||||
|
+++ b/frontends/CMakeLists.txt
|
||||||
|
@@ -43,6 +43,9 @@ endfunction(make_plugin_frontend)
|
||||||
|
|
||||||
|
# We need a different name to avoid clashes with float libcsound
|
||||||
|
make_executable(csound-bin "${CS_MAIN_SRCS}" "${CSOUNDLIB}" csound)
|
||||||
|
+if(LINUX)
|
||||||
|
+ target_link_libraries(csound-bin m)
|
||||||
|
+endif()
|
||||||
|
|
||||||
|
message(STATUS "Building csLadspa")
|
||||||
|
|
||||||
|
diff --git a/util/CMakeLists.txt b/util/CMakeLists.txt
|
||||||
|
index 25089cc..ebf0aa5 100644
|
||||||
|
--- a/util/CMakeLists.txt
|
||||||
|
+++ b/util/CMakeLists.txt
|
||||||
|
@@ -23,9 +23,11 @@ if(BUILD_UTILITIES)
|
||||||
|
make_utility(hetro het_main.c)
|
||||||
|
make_utility(lpanal lpc_main.c)
|
||||||
|
make_utility(lpc_export lpcx_main.c)
|
||||||
|
- target_link_libraries(lpc_export m)
|
||||||
|
make_utility(lpc_import lpci_main.c)
|
||||||
|
- make_executable(mixer-bin mixer_main.c "${CSOUNDLIB}" mixer)
|
||||||
|
+ if(LINUX)
|
||||||
|
+ make_executable(mixer-bin mixer_main.c "${CSOUNDLIB}" mixer)
|
||||||
|
+ endif()
|
||||||
|
+ target_link_libraries(mixer-bin m)
|
||||||
|
make_utility(pvanal pvc_main.c)
|
||||||
|
make_utility(pvlook pvl_main.c)
|
||||||
|
make_utility(pv_export pvx_main.c)
|
@ -0,0 +1,9 @@
|
|||||||
|
diff --git a/src/clients/lib/python/cython_include/cxmmsclient.pxd b/src/clients/lib/python/cython_include/cxmmsclient.pxd
|
||||||
|
index 66390a7..629bc7f 100644
|
||||||
|
--- a/src/clients/lib/python/cython_include/cxmmsclient.pxd
|
||||||
|
+++ b/src/clients/lib/python/cython_include/cxmmsclient.pxd
|
||||||
|
@@ -30,3 +30,3 @@ cdef extern from "xmmsc/xmmsc_idnumbers.h":
|
||||||
|
|
||||||
|
- ctypedef enum xmmsc_collection_changed_actions_t:
|
||||||
|
+ ctypedef enum xmms_collection_changed_actions_t:
|
||||||
|
XMMS_COLLECTION_CHANGED_ADD
|
@ -0,0 +1,11 @@
|
|||||||
|
--- a/src/plugins/modplug/modplug.c 2011-10-20 20:26:08.000000000 +0000
|
||||||
|
+++ b/src/plugins/modplug/modplug.c 2015-01-08 19:52:43.889787624 +0000
|
||||||
|
@@ -9,7 +9,7 @@
|
||||||
|
#include "xmms/xmms_sample.h"
|
||||||
|
#include "xmms/xmms_medialib.h"
|
||||||
|
#include "xmms/xmms_log.h"
|
||||||
|
-#include <modplug.h>
|
||||||
|
+#include <libmodplug/modplug.h>
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
|
#include <string.h>
|
@ -1 +1 @@
|
|||||||
Fri, 27 Nov 2015 11:16:26 +0000
|
Sat, 28 Nov 2015 05:16:58 +0000
|
||||||
|
@ -1 +1 @@
|
|||||||
Fri, 27 Nov 2015 11:16:26 +0000
|
Sat, 28 Nov 2015 05:16:58 +0000
|
||||||
|
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=compile install postinst prepare test unpack
|
||||||
|
DEPEND=dev-go/go-crypto dev-libs/protobuf dev-vcs/git nls? ( sys-devel/gettext ) test? ( app-misc/jq dev-db/sqlite net-misc/curl sys-devel/gettext ) >=dev-lang/go-1.4.2:= virtual/pkgconfig
|
||||||
|
DESCRIPTION=Fast, dense and secure container management
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=https://linuxcontainers.org/lxd/introduction/
|
||||||
|
IUSE=+daemon nls test linguas_de linguas_fr linguas_ja
|
||||||
|
KEYWORDS=~amd64
|
||||||
|
LICENSE=Apache-2.0
|
||||||
|
RDEPEND=daemon? ( app-admin/cgmanager app-arch/xz-utils app-emulation/lxc[cgmanager,seccomp] net-analyzer/openbsd-netcat net-misc/bridge-utils net-misc/rsync[xattr] sys-apps/iproute2 virtual/acl )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://dev.gentoo.org/~stasibear/distfiles/lxd-0.23.tar.bz2
|
||||||
|
_eclasses_=bash-completion-r1 b1fc4d30333bb528c8abb4332bb70ea6 eutils f20548a2f7b0128068388cd2ec26708a golang-base 59e300a2d8836a6e8d508276da0d570f golang-build 1b49258a68ba3972a575490adf3b7b4c l10n 714aaf78929eade946da5eaff7d2001a multilib 3972ca401cf7dbb430df9995f5d8d580 systemd 6b4f0cefa642270eded7e6ca816fd181 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 user 906f3c8eb3a2350a4f1191a89baa3e46 vcs-snapshot b45be87e7012be0af8424e8a5644da1d
|
||||||
|
_md5_=fefc38ade26a9a8816840858c22f2e5b
|
@ -0,0 +1,14 @@
|
|||||||
|
DEFINED_PHASES=compile configure install prepare test
|
||||||
|
DEPEND=>=dev-python/pygtk-2.22.0:2[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/sqlalchemy-0.7.9-r1[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pillow[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] i18n? ( dev-python/elib-intl[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) ipython? ( >=dev-python/ipython-0.13.2[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) pdf? ( >=dev-python/reportlab-2.6[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/python-poppler-0.12.1-r4[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) print? ( >=dev-python/reportlab-2.6[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/python-poppler-0.12.1-r4[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) spell? ( >=dev-python/gtkspell-python-2.25.3-r1[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) sound? ( >=dev-python/gst-python-0.10.22-r1:0.10[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) web? ( >=dev-python/beautifulsoup-3.2.1-r1:python-2[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) dev-util/intltool >=dev-python/python-distutils-extra-2.37-r1[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[sqlite] ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||||
|
DESCRIPTION=Recipe Organizer and Shopping List Generator for Gnome
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=https://thinkle.github.com/gourmet/
|
||||||
|
IUSE=-i18n -ipython pdf print spell sound web python_targets_python2_7
|
||||||
|
KEYWORDS=~amd64 ~x86
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=>=dev-python/pygtk-2.22.0:2[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/sqlalchemy-0.7.9-r1[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pillow[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] i18n? ( dev-python/elib-intl[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) ipython? ( >=dev-python/ipython-0.13.2[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) pdf? ( >=dev-python/reportlab-2.6[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/python-poppler-0.12.1-r4[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) print? ( >=dev-python/reportlab-2.6[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/python-poppler-0.12.1-r4[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) spell? ( >=dev-python/gtkspell-python-2.25.3-r1[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) sound? ( >=dev-python/gst-python-0.10.22-r1:0.10[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) web? ( >=dev-python/beautifulsoup-3.2.1-r1:python-2[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[sqlite] ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||||
|
REQUIRED_USE=|| ( python_targets_python2_7 )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://github.com/thinkle/gourmet/archive/0.17.4.tar.gz -> gourmet-0.17.4.tar.gz
|
||||||
|
_eclasses_=distutils-r1 46506dd0dd992b3c89b0d00daabfd86c eutils f20548a2f7b0128068388cd2ec26708a multibuild ce2c2ede0c914b77f5dfc4e2ff2d0249 multilib 3972ca401cf7dbb430df9995f5d8d580 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 fb656e31d5596be6ac85cde42dccfcb6 python-utils-r1 7d52f592fc09a002ea150d69507b5bad toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||||
|
_md5_=b2ef7663b65b5a32aed77fee3dac3653
|
@ -1,15 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare pretend setup test unpack
|
|
||||||
DEPEND=python_single_target_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3[threads,xml] ) python_single_target_python3_4? ( dev-lang/python:3.4[threads,xml] ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[threads,xml] ) >=dev-lang/python-exec-2:=[python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python2_7(-)?,-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_5(-),python_single_target_python3_3(+)?,python_single_target_python3_4(+)?,python_single_target_python2_7(+)?] 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 bluetooth? ( net-wireless/bluez ) coinmp? ( sci-libs/coinor-mp ) collada? ( >=media-libs/opencollada-1.2.2_p20150207 ) cups? ( net-print/cups ) dbus? ( >=dev-libs/dbus-glib-0.92 ) eds? ( gnome-extra/evolution-data-server ) firebird? ( >=dev-db/firebird-2.5 ) gltf? ( media-libs/libgltf ) gnome? ( gnome-base/gconf:2 ) gtk? ( x11-libs/gdk-pixbuf[X] >=x11-libs/gtk+-2.24:2 ) gtk3? ( >=x11-libs/gtk+-3.2:3 ) gstreamer? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 ) jemalloc? ( dev-libs/jemalloc ) libreoffice_extensions_scripting-beanshell? ( >=dev-java/bsh-2.0_beta4 ) libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 ) libreoffice_extensions_wiki-publisher? ( dev-java/commons-codec:0 dev-java/commons-httpclient:3 dev-java/commons-lang:2.1 dev-java/commons-logging:0 dev-java/tomcat-servlet-api:3.0 ) mysql? ( >=dev-db/mysql-connector-c++-1.1.0 ) postgres? ( >=dev-db/postgresql-9.0:*[kerberos] ) telepathy? ( dev-libs/glib:2 >=net-libs/telepathy-glib-0.18.0 >=x11-libs/gtk+-2.24:2 ) >=dev-libs/libatomic_ops-7.2d >=dev-libs/libxml2-2.7.8 dev-libs/libxslt dev-perl/Archive-Zip dev-util/cppunit >=dev-util/gperf-3 dev-util/intltool >=dev-util/mdds-0.11.2:= media-libs/glm net-misc/npapi-sdk >=sys-apps/findutils-4.4.2 sys-devel/bison sys-apps/coreutils sys-devel/flex sys-devel/gettext >=sys-devel/make-3.82 sys-devel/ucpp sys-libs/zlib virtual/pkgconfig x11-libs/libXt x11-libs/libXtst x11-proto/randrproto x11-proto/xextproto x11-proto/xineramaproto x11-proto/xproto java? ( >=virtual/jdk-1.6 >=dev-java/ant-core-1.7 ) odk? ( >=app-doc/doxygen-1.8.4 ) test? ( dev-util/cppunit ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 java? ( >=dev-java/java-config-2.2.0 ) >=sys-apps/sed-4 kde? ( dev-util/automoc virtual/pkgconfig !aqua? ( >=x11-libs/libXtst-1.1.0 x11-proto/xf86vidmodeproto ) ) kde? ( dev-lang/perl >=dev-qt/qt3support-4.7.4:4[accessibility] >=dev-qt/qtcore-4.7.4:4[qt3support,ssl] >=dev-qt/qtdbus-4.7.4:4 >=dev-qt/designer-4.7.4:4 >=dev-qt/qtgui-4.7.4:4[accessibility,dbus(+)] >=dev-qt/qtscript-4.7.4:4 >=dev-qt/qtsql-4.7.4:4[qt3support] >=dev-qt/qtsvg-4.7.4:4 >=dev-qt/qttest-4.7.4:4 >=dev-qt/qtwebkit-4.7.4:4 >=kde-base/kdelibs-4.4:4[aqua=] )
|
|
||||||
DESCRIPTION=LibreOffice, a full office productivity suite
|
|
||||||
EAPI=5
|
|
||||||
HOMEPAGE=http://www.libreoffice.org
|
|
||||||
IUSE=bluetooth +branding coinmp collada +cups dbus debug eds firebird gltf gnome gstreamer +gtk gtk3 jemalloc kde mysql odk postgres telepathy test vlc libreoffice_extensions_nlpsolver libreoffice_extensions_scripting-beanshell libreoffice_extensions_scripting-javascript libreoffice_extensions_wiki-publisher elibc_FreeBSD java aqua kde python_targets_python3_3 python_targets_python3_4 python_targets_python2_7 python_single_target_python3_3 python_single_target_python3_4 python_single_target_python2_7
|
|
||||||
KEYWORDS=amd64 ~arm x86 ~amd64-linux ~x86-linux
|
|
||||||
LICENSE=|| ( LGPL-3 MPL-1.1 )
|
|
||||||
PDEPEND==app-office/libreoffice-l10n-4.4*
|
|
||||||
RDEPEND=python_single_target_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3[threads,xml] ) python_single_target_python3_4? ( dev-lang/python:3.4[threads,xml] ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[threads,xml] ) >=dev-lang/python-exec-2:=[python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python2_7(-)?,-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_5(-),python_single_target_python3_3(+)?,python_single_target_python3_4(+)?,python_single_target_python2_7(+)?] 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 bluetooth? ( net-wireless/bluez ) coinmp? ( sci-libs/coinor-mp ) collada? ( >=media-libs/opencollada-1.2.2_p20150207 ) cups? ( net-print/cups ) dbus? ( >=dev-libs/dbus-glib-0.92 ) eds? ( gnome-extra/evolution-data-server ) firebird? ( >=dev-db/firebird-2.5 ) gltf? ( media-libs/libgltf ) gnome? ( gnome-base/gconf:2 ) gtk? ( x11-libs/gdk-pixbuf[X] >=x11-libs/gtk+-2.24:2 ) gtk3? ( >=x11-libs/gtk+-3.2:3 ) gstreamer? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 ) jemalloc? ( dev-libs/jemalloc ) libreoffice_extensions_scripting-beanshell? ( >=dev-java/bsh-2.0_beta4 ) libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 ) libreoffice_extensions_wiki-publisher? ( dev-java/commons-codec:0 dev-java/commons-httpclient:3 dev-java/commons-lang:2.1 dev-java/commons-logging:0 dev-java/tomcat-servlet-api:3.0 ) mysql? ( >=dev-db/mysql-connector-c++-1.1.0 ) postgres? ( >=dev-db/postgresql-9.0:*[kerberos] ) telepathy? ( dev-libs/glib:2 >=net-libs/telepathy-glib-0.18.0 >=x11-libs/gtk+-2.24:2 ) !app-office/libreoffice-bin !app-office/libreoffice-bin-debug !<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? ( >=kde-apps/kioclient-4.4:4[aqua=] ) vlc? ( media-video/vlc ) java? ( >=dev-java/java-config-2.2.0 ) kde? ( kde-frameworks/oxygen-icons ) kde? ( dev-lang/perl >=dev-qt/qt3support-4.7.4:4[accessibility] >=dev-qt/qtcore-4.7.4:4[qt3support,ssl] >=dev-qt/qtdbus-4.7.4:4 >=dev-qt/designer-4.7.4:4 >=dev-qt/qtgui-4.7.4:4[accessibility,dbus(+)] >=dev-qt/qtscript-4.7.4:4 >=dev-qt/qtsql-4.7.4:4[qt3support] >=dev-qt/qtsvg-4.7.4:4 >=dev-qt/qttest-4.7.4:4 >=dev-qt/qtwebkit-4.7.4:4 >=kde-base/kdelibs-4.4:4[aqua=] )
|
|
||||||
REQUIRED_USE=^^ ( python_single_target_python3_3 python_single_target_python3_4 python_single_target_python2_7 ) python_single_target_python3_3? ( python_targets_python3_3 ) python_single_target_python3_4? ( python_targets_python3_4 ) python_single_target_python2_7? ( python_targets_python2_7 ) bluetooth? ( dbus ) collada? ( gltf ) gnome? ( gtk ) eds? ( gnome ) telepathy? ( gtk ) libreoffice_extensions_nlpsolver? ( java ) libreoffice_extensions_scripting-beanshell? ( java ) libreoffice_extensions_scripting-javascript? ( java ) libreoffice_extensions_wiki-publisher? ( java )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=branding? ( http://dev.gentoo.org/~dilfridge/distfiles/libreoffice-branding-gentoo-0.8.tar.xz ) http://dev-builds.libreoffice.org/pre-releases/src/libreoffice-4.4.5.2.tar.xz http://dev-builds.libreoffice.org/pre-releases/src/libreoffice-help-4.4.5.2.tar.xz http://download.documentfoundation.org/libreoffice/src/4.4.5//libreoffice-4.4.5.2.tar.xz http://download.documentfoundation.org/libreoffice/src/4.4.5//libreoffice-help-4.4.5.2.tar.xz http://download.documentfoundation.org/libreoffice/old/4.4.5.2//libreoffice-4.4.5.2.tar.xz http://download.documentfoundation.org/libreoffice/old/4.4.5.2//libreoffice-help-4.4.5.2.tar.xz http://dev-www.libreoffice.org/src//d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz http://dev-www.libreoffice.org/src//1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz collada? ( http://dev-www.libreoffice.org/src//4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 ) java? ( http://dev-www.libreoffice.org/src//17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip ) libreoffice_extensions_wiki-publisher? ( http://dev-www.libreoffice.org/src//a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip ) libreoffice_extensions_scripting-javascript? ( http://dev-www.libreoffice.org/src//798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip ) libreoffice_extensions_scripting-javascript? ( http://dev-www.libreoffice.org/src//35c94d2df8893241173de1d16b6034c0-swingExSrc.zip ) odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )
|
|
||||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c base 3fe4f8980633fd7bc69e9887209ba2fe bash-completion-r1 b1fc4d30333bb528c8abb4332bb70ea6 check-reqs 4f43fb72bc73bd58d75ec601713fae20 eutils f20548a2f7b0128068388cd2ec26708a fdo-mime 92d07846ea8ea54172f8c0112a47ae3d flag-o-matic 85dc1eac3c64d8141374490ed64122e5 gnome2-utils 968e31c6fcd13eb2eaf6852e88dfdd36 java-pkg-opt-2 40db73f27fc6458ec2105812a4f261c7 java-utils-2 a96633177f44ee992b3fce360d1c4f16 kde4-base 854fb923fd5f0e11760f814874246306 kde4-functions ff0ade3e22b20c6dc894347fad047336 libtool b75230758539a7da029e24afdb693960 multilib 3972ca401cf7dbb430df9995f5d8d580 multiprocessing e32940a7b2a9992ad217eccddb84d548 pax-utils 9dd3f9de6dccb2463faf55e568439d1c python-single-r1 f0877a50e1277a64cd4fe5855250102b python-utils-r1 7d52f592fc09a002ea150d69507b5bad toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c virtualx 31995099f3454bb5fc3e8b5cdd3af7a8 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
|
||||||
_md5_=48c3c9c3d7bb5b615d488f90e076d16d
|
|
@ -1,15 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare pretend setup test unpack
|
|
||||||
DEPEND=python_single_target_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3[threads,xml] ) python_single_target_python3_4? ( dev-lang/python:3.4[threads,xml] ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[threads,xml] ) >=dev-lang/python-exec-2:=[python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python2_7(-)?,-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_5(-),python_single_target_python3_3(+)?,python_single_target_python3_4(+)?,python_single_target_python2_7(+)?] 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.2 app-text/liblangtag >=app-text/libmspub-0.1.0 >=app-text/libmwaw-0.3.5 >=app-text/libodfgen-0.1.0 app-text/libwpd:0.10[tools] app-text/libwpg:0.3 =app-text/libwps-0.4* >=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 bluetooth? ( net-wireless/bluez ) coinmp? ( sci-libs/coinor-mp ) collada? ( >=media-libs/opencollada-1.2.2_p20150207 ) cups? ( net-print/cups ) dbus? ( >=dev-libs/dbus-glib-0.92 ) eds? ( gnome-extra/evolution-data-server ) firebird? ( >=dev-db/firebird-2.5 ) gltf? ( media-libs/libgltf ) gnome? ( gnome-base/gconf:2 ) gtk? ( x11-libs/gdk-pixbuf[X] >=x11-libs/gtk+-2.24:2 ) gtk3? ( >=x11-libs/gtk+-3.8:3 ) gstreamer? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 ) jemalloc? ( dev-libs/jemalloc ) libreoffice_extensions_scripting-beanshell? ( >=dev-java/bsh-2.0_beta4 ) libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 ) libreoffice_extensions_wiki-publisher? ( dev-java/commons-codec:0 dev-java/commons-httpclient:3 dev-java/commons-lang:2.1 dev-java/commons-logging:0 dev-java/tomcat-servlet-api:3.0 ) mysql? ( >=dev-db/mysql-connector-c++-1.1.0 ) postgres? ( >=dev-db/postgresql-9.0:*[kerberos] ) telepathy? ( dev-libs/glib:2 >=net-libs/telepathy-glib-0.18.0 >=x11-libs/gtk+-2.24:2 ) >=dev-libs/libatomic_ops-7.2d >=dev-libs/libxml2-2.7.8 dev-libs/libxslt dev-perl/Archive-Zip dev-util/cppunit >=dev-util/gperf-3 dev-util/intltool >=dev-util/mdds-0.12.0:= media-libs/glm net-misc/npapi-sdk >=sys-apps/findutils-4.4.2 sys-devel/bison sys-apps/coreutils sys-devel/flex sys-devel/gettext >=sys-devel/make-3.82 sys-devel/ucpp sys-libs/zlib virtual/pkgconfig x11-libs/libXt x11-libs/libXtst x11-proto/randrproto x11-proto/xextproto x11-proto/xineramaproto x11-proto/xproto java? ( >=virtual/jdk-1.6 >=dev-java/ant-core-1.7 ) odk? ( >=app-doc/doxygen-1.8.4 ) test? ( dev-util/cppunit ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 java? ( >=dev-java/java-config-2.2.0 ) >=sys-apps/sed-4 kde? ( dev-util/automoc virtual/pkgconfig !aqua? ( >=x11-libs/libXtst-1.1.0 x11-proto/xf86vidmodeproto ) ) kde? ( dev-lang/perl >=dev-qt/qt3support-4.7.4:4[accessibility] >=dev-qt/qtcore-4.7.4:4[qt3support,ssl] >=dev-qt/qtdbus-4.7.4:4 >=dev-qt/designer-4.7.4:4 >=dev-qt/qtgui-4.7.4:4[accessibility,dbus(+)] >=dev-qt/qtscript-4.7.4:4 >=dev-qt/qtsql-4.7.4:4[qt3support] >=dev-qt/qtsvg-4.7.4:4 >=dev-qt/qttest-4.7.4:4 >=dev-qt/qtwebkit-4.7.4:4 >=kde-base/kdelibs-4.4:4[aqua=] )
|
|
||||||
DESCRIPTION=LibreOffice, a full office productivity suite
|
|
||||||
EAPI=5
|
|
||||||
HOMEPAGE=http://www.libreoffice.org
|
|
||||||
IUSE=bluetooth +branding coinmp collada +cups dbus debug eds firebird gltf gnome gstreamer +gtk gtk3 jemalloc kde mysql odk postgres telepathy test vlc libreoffice_extensions_nlpsolver libreoffice_extensions_scripting-beanshell libreoffice_extensions_scripting-javascript libreoffice_extensions_wiki-publisher elibc_FreeBSD java aqua kde python_targets_python3_3 python_targets_python3_4 python_targets_python2_7 python_single_target_python3_3 python_single_target_python3_4 python_single_target_python2_7
|
|
||||||
KEYWORDS=~amd64 ~arm ~x86 ~amd64-linux ~x86-linux
|
|
||||||
LICENSE=|| ( LGPL-3 MPL-1.1 )
|
|
||||||
PDEPEND==app-office/libreoffice-l10n-5.0*
|
|
||||||
RDEPEND=python_single_target_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3[threads,xml] ) python_single_target_python3_4? ( dev-lang/python:3.4[threads,xml] ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[threads,xml] ) >=dev-lang/python-exec-2:=[python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python2_7(-)?,-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_5(-),python_single_target_python3_3(+)?,python_single_target_python3_4(+)?,python_single_target_python2_7(+)?] 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.2 app-text/liblangtag >=app-text/libmspub-0.1.0 >=app-text/libmwaw-0.3.5 >=app-text/libodfgen-0.1.0 app-text/libwpd:0.10[tools] app-text/libwpg:0.3 =app-text/libwps-0.4* >=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 bluetooth? ( net-wireless/bluez ) coinmp? ( sci-libs/coinor-mp ) collada? ( >=media-libs/opencollada-1.2.2_p20150207 ) cups? ( net-print/cups ) dbus? ( >=dev-libs/dbus-glib-0.92 ) eds? ( gnome-extra/evolution-data-server ) firebird? ( >=dev-db/firebird-2.5 ) gltf? ( media-libs/libgltf ) gnome? ( gnome-base/gconf:2 ) gtk? ( x11-libs/gdk-pixbuf[X] >=x11-libs/gtk+-2.24:2 ) gtk3? ( >=x11-libs/gtk+-3.8:3 ) gstreamer? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 ) jemalloc? ( dev-libs/jemalloc ) libreoffice_extensions_scripting-beanshell? ( >=dev-java/bsh-2.0_beta4 ) libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 ) libreoffice_extensions_wiki-publisher? ( dev-java/commons-codec:0 dev-java/commons-httpclient:3 dev-java/commons-lang:2.1 dev-java/commons-logging:0 dev-java/tomcat-servlet-api:3.0 ) mysql? ( >=dev-db/mysql-connector-c++-1.1.0 ) postgres? ( >=dev-db/postgresql-9.0:*[kerberos] ) telepathy? ( dev-libs/glib:2 >=net-libs/telepathy-glib-0.18.0 >=x11-libs/gtk+-2.24:2 ) !app-office/libreoffice-bin !app-office/libreoffice-bin-debug !<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? ( >=kde-apps/kioclient-4.4:4[aqua=] ) vlc? ( media-video/vlc ) java? ( >=dev-java/java-config-2.2.0 ) kde? ( kde-frameworks/oxygen-icons ) kde? ( dev-lang/perl >=dev-qt/qt3support-4.7.4:4[accessibility] >=dev-qt/qtcore-4.7.4:4[qt3support,ssl] >=dev-qt/qtdbus-4.7.4:4 >=dev-qt/designer-4.7.4:4 >=dev-qt/qtgui-4.7.4:4[accessibility,dbus(+)] >=dev-qt/qtscript-4.7.4:4 >=dev-qt/qtsql-4.7.4:4[qt3support] >=dev-qt/qtsvg-4.7.4:4 >=dev-qt/qttest-4.7.4:4 >=dev-qt/qtwebkit-4.7.4:4 >=kde-base/kdelibs-4.4:4[aqua=] )
|
|
||||||
REQUIRED_USE=^^ ( python_single_target_python3_3 python_single_target_python3_4 python_single_target_python2_7 ) python_single_target_python3_3? ( python_targets_python3_3 ) python_single_target_python3_4? ( python_targets_python3_4 ) python_single_target_python2_7? ( python_targets_python2_7 ) bluetooth? ( dbus ) collada? ( gltf ) gnome? ( gtk ) eds? ( gnome ) telepathy? ( gtk ) libreoffice_extensions_nlpsolver? ( java ) libreoffice_extensions_scripting-beanshell? ( java ) libreoffice_extensions_scripting-javascript? ( java ) libreoffice_extensions_wiki-publisher? ( java )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=branding? ( http://dev.gentoo.org/~dilfridge/distfiles/libreoffice-branding-gentoo-0.8.tar.xz ) http://dev-builds.libreoffice.org/pre-releases/src/libreoffice-5.0.2.2.tar.xz http://dev-builds.libreoffice.org/pre-releases/src/libreoffice-help-5.0.2.2.tar.xz http://download.documentfoundation.org/libreoffice/src/5.0.2//libreoffice-5.0.2.2.tar.xz http://download.documentfoundation.org/libreoffice/src/5.0.2//libreoffice-help-5.0.2.2.tar.xz http://download.documentfoundation.org/libreoffice/old/5.0.2.2//libreoffice-5.0.2.2.tar.xz http://download.documentfoundation.org/libreoffice/old/5.0.2.2//libreoffice-help-5.0.2.2.tar.xz http://dev-www.libreoffice.org/src//d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz http://dev-www.libreoffice.org/src//1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz collada? ( http://dev-www.libreoffice.org/src//4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 ) java? ( http://dev-www.libreoffice.org/src//17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip ) libreoffice_extensions_wiki-publisher? ( http://dev-www.libreoffice.org/src//a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip ) libreoffice_extensions_scripting-javascript? ( http://dev-www.libreoffice.org/src//798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip ) libreoffice_extensions_scripting-javascript? ( http://dev-www.libreoffice.org/src//35c94d2df8893241173de1d16b6034c0-swingExSrc.zip ) odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )
|
|
||||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c base 3fe4f8980633fd7bc69e9887209ba2fe bash-completion-r1 b1fc4d30333bb528c8abb4332bb70ea6 check-reqs 4f43fb72bc73bd58d75ec601713fae20 eutils f20548a2f7b0128068388cd2ec26708a fdo-mime 92d07846ea8ea54172f8c0112a47ae3d flag-o-matic 85dc1eac3c64d8141374490ed64122e5 gnome2-utils 968e31c6fcd13eb2eaf6852e88dfdd36 java-pkg-opt-2 40db73f27fc6458ec2105812a4f261c7 java-utils-2 a96633177f44ee992b3fce360d1c4f16 kde4-base 854fb923fd5f0e11760f814874246306 kde4-functions ff0ade3e22b20c6dc894347fad047336 libtool b75230758539a7da029e24afdb693960 multilib 3972ca401cf7dbb430df9995f5d8d580 multiprocessing e32940a7b2a9992ad217eccddb84d548 pax-utils 9dd3f9de6dccb2463faf55e568439d1c python-single-r1 f0877a50e1277a64cd4fe5855250102b python-utils-r1 7d52f592fc09a002ea150d69507b5bad toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c virtualx 31995099f3454bb5fc3e8b5cdd3af7a8 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
|
||||||
_md5_=5052450f2477751706cd70bca39876ba
|
|
@ -1,16 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare pretend setup unpack
|
|
||||||
DEPEND=dev-util/xdelta:3 >=sys-apps/sed-4 kde? ( dev-util/automoc virtual/pkgconfig !aqua? ( >=x11-libs/libXtst-1.1.0 x11-proto/xf86vidmodeproto ) ) kde? ( dev-lang/perl >=dev-qt/qt3support-4.8.5:4[accessibility] >=dev-qt/qtcore-4.8.5:4[qt3support,ssl] >=dev-qt/qtdbus-4.8.5:4 >=dev-qt/designer-4.8.5:4 >=dev-qt/qtgui-4.8.5:4[accessibility,dbus(+)] >=dev-qt/qtscript-4.8.5:4 >=dev-qt/qtsql-4.8.5:4[qt3support] >=dev-qt/qtsvg-4.8.5:4 >=dev-qt/qttest-4.8.5:4 >=dev-qt/qtwebkit-4.8.5:4 >=kde-base/kdelibs-4.4:4[aqua=] ) java? ( >=dev-java/java-config-2.2.0 )
|
|
||||||
DESCRIPTION=LibreOffice, a full office productivity suite. Binary package
|
|
||||||
EAPI=5
|
|
||||||
HOMEPAGE=http://www.libreoffice.org
|
|
||||||
IUSE=gnome java kde aqua kde elibc_FreeBSD java python_targets_python3_3 python_targets_python3_4 python_targets_python2_7 python_single_target_python3_3 python_single_target_python3_4 python_single_target_python2_7
|
|
||||||
KEYWORDS=-* amd64 x86
|
|
||||||
LICENSE=LGPL-3
|
|
||||||
PDEPEND==app-office/libreoffice-l10n-4.4.5.2*
|
|
||||||
RDEPEND==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 ) python_single_target_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3[threads,xml] ) python_single_target_python3_4? ( dev-lang/python:3.4[threads,xml] ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[threads,xml] ) >=dev-lang/python-exec-2:=[python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python2_7(-)?,-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_5(-),python_single_target_python3_3(+)?,python_single_target_python3_4(+)?,python_single_target_python2_7(+)?] 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 !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? ( >=kde-apps/kioclient-4.4:4[aqua=] ) kde? ( kde-frameworks/oxygen-icons ) kde? ( dev-lang/perl >=dev-qt/qt3support-4.8.5:4[accessibility] >=dev-qt/qtcore-4.8.5:4[qt3support,ssl] >=dev-qt/qtdbus-4.8.5:4 >=dev-qt/designer-4.8.5:4 >=dev-qt/qtgui-4.8.5:4[accessibility,dbus(+)] >=dev-qt/qtscript-4.8.5:4 >=dev-qt/qtsql-4.8.5:4[qt3support] >=dev-qt/qtsvg-4.8.5:4 >=dev-qt/qttest-4.8.5:4 >=dev-qt/qtwebkit-4.8.5:4 >=kde-base/kdelibs-4.4:4[aqua=] ) java? ( >=dev-java/java-config-2.2.0 )
|
|
||||||
REQUIRED_USE=kde? ( !gnome ) gnome? ( !kde )
|
|
||||||
RESTRICT=test strip
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=amd64? ( http://packages.gentooexperimental.org/packages/amd64-libreoffice/amd64-bin-libreoffice-4.4.5.2.tar.xz kde? ( !java? ( http://packages.gentooexperimental.org/packages/amd64-libreoffice/amd64-bin-libreoffice-kde-4.4.5.2.xd3 ) java? ( http://packages.gentooexperimental.org/packages/amd64-libreoffice/amd64-bin-libreoffice-kde-java-4.4.5.2.xd3 ) ) gnome? ( !java? ( http://packages.gentooexperimental.org/packages/amd64-libreoffice/amd64-bin-libreoffice-gnome-4.4.5.2.xd3 ) java? ( http://packages.gentooexperimental.org/packages/amd64-libreoffice/amd64-bin-libreoffice-gnome-java-4.4.5.2.xd3 ) ) !kde? ( !gnome? ( java? ( http://packages.gentooexperimental.org/packages/amd64-libreoffice/amd64-bin-libreoffice-java-4.4.5.2.xd3 ) ) ) ) x86? ( http://packages.gentooexperimental.org/packages/x86-libreoffice/x86-bin-libreoffice-4.4.5.2.tar.xz kde? ( !java? ( http://packages.gentooexperimental.org/packages/x86-libreoffice/x86-bin-libreoffice-kde-4.4.5.2.xd3 ) java? ( http://packages.gentooexperimental.org/packages/x86-libreoffice/x86-bin-libreoffice-kde-java-4.4.5.2.xd3 ) ) gnome? ( !java? ( http://packages.gentooexperimental.org/packages/x86-libreoffice/x86-bin-libreoffice-gnome-4.4.5.2.xd3 ) java? ( http://packages.gentooexperimental.org/packages/x86-libreoffice/x86-bin-libreoffice-gnome-java-4.4.5.2.xd3 ) ) !kde? ( !gnome? ( java? ( http://packages.gentooexperimental.org/packages/x86-libreoffice/x86-bin-libreoffice-java-4.4.5.2.xd3 ) ) ) )
|
|
||||||
_eclasses_=eutils f20548a2f7b0128068388cd2ec26708a fdo-mime 92d07846ea8ea54172f8c0112a47ae3d flag-o-matic 85dc1eac3c64d8141374490ed64122e5 gnome2-utils 968e31c6fcd13eb2eaf6852e88dfdd36 java-pkg-opt-2 40db73f27fc6458ec2105812a4f261c7 java-utils-2 a96633177f44ee992b3fce360d1c4f16 kde4-base 854fb923fd5f0e11760f814874246306 kde4-functions ff0ade3e22b20c6dc894347fad047336 multilib 3972ca401cf7dbb430df9995f5d8d580 pax-utils 9dd3f9de6dccb2463faf55e568439d1c prefix e7f2b9c6e57342e5d25eac22fce23062 python-single-r1 f0877a50e1277a64cd4fe5855250102b python-utils-r1 7d52f592fc09a002ea150d69507b5bad toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c virtualx 31995099f3454bb5fc3e8b5cdd3af7a8 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
|
||||||
_md5_=7123c6d3b0c2d97fe29a590c95d9d960
|
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install unpack
|
|
||||||
DEPEND=dev-util/xdelta:3
|
|
||||||
DESCRIPTION=LibreOffice, a full office productivity suite. Binary package, debug info
|
|
||||||
EAPI=5
|
|
||||||
HOMEPAGE=http://www.libreoffice.org
|
|
||||||
IUSE=gnome java kde
|
|
||||||
KEYWORDS=-* amd64 x86
|
|
||||||
LICENSE=LGPL-3
|
|
||||||
RDEPEND==app-office/libreoffice-bin-4.4.5.2[gnome=,java=,kde=]
|
|
||||||
RESTRICT=test strip
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=amd64? ( http://packages.gentooexperimental.org/packages/amd64-libreoffice/amd64-debug-libreoffice-4.4.5.2.tar.xz kde? ( !java? ( http://packages.gentooexperimental.org/packages/amd64-libreoffice/amd64-debug-libreoffice-kde-4.4.5.2.xd3 ) java? ( http://packages.gentooexperimental.org/packages/amd64-libreoffice/amd64-debug-libreoffice-kde-java-4.4.5.2.xd3 ) ) gnome? ( !java? ( http://packages.gentooexperimental.org/packages/amd64-libreoffice/amd64-debug-libreoffice-gnome-4.4.5.2.xd3 ) java? ( http://packages.gentooexperimental.org/packages/amd64-libreoffice/amd64-debug-libreoffice-gnome-java-4.4.5.2.xd3 ) ) !kde? ( !gnome? ( java? ( http://packages.gentooexperimental.org/packages/amd64-libreoffice/amd64-debug-libreoffice-java-4.4.5.2.xd3 ) ) ) ) x86? ( http://packages.gentooexperimental.org/packages/x86-libreoffice/x86-debug-libreoffice-4.4.5.2.tar.xz kde? ( !java? ( http://packages.gentooexperimental.org/packages/x86-libreoffice/x86-debug-libreoffice-kde-4.4.5.2.xd3 ) java? ( http://packages.gentooexperimental.org/packages/x86-libreoffice/x86-debug-libreoffice-kde-java-4.4.5.2.xd3 ) ) gnome? ( !java? ( http://packages.gentooexperimental.org/packages/x86-libreoffice/x86-debug-libreoffice-gnome-4.4.5.2.xd3 ) java? ( http://packages.gentooexperimental.org/packages/x86-libreoffice/x86-debug-libreoffice-gnome-java-4.4.5.2.xd3 ) ) !kde? ( !gnome? ( java? ( http://packages.gentooexperimental.org/packages/x86-libreoffice/x86-debug-libreoffice-java-4.4.5.2.xd3 ) ) ) )
|
|
||||||
_md5_=e348466f0558c29c7050bad65b22e1d9
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,12 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install postinst preinst prepare
|
|
||||||
DEPEND=app-arch/xz-utils
|
|
||||||
DESCRIPTION=small and fast portage helper tools written in C
|
|
||||||
EAPI=4
|
|
||||||
HOMEPAGE=https://wiki.gentoo.org/wiki/Portage-utils
|
|
||||||
IUSE=nls static
|
|
||||||
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
|
||||||
LICENSE=GPL-2
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://gentoo/portage-utils-0.53.tar.xz https://dev.gentoo.org/~vapier/dist/portage-utils-0.53.tar.xz
|
|
||||||
_eclasses_=eutils f20548a2f7b0128068388cd2ec26708a flag-o-matic 85dc1eac3c64d8141374490ed64122e5 multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
|
||||||
_md5_=555c8c55ace2ea3064a43c32024316b4
|
|
@ -1,12 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install postinst preinst prepare
|
|
||||||
DEPEND=app-arch/xz-utils
|
|
||||||
DESCRIPTION=small and fast portage helper tools written in C
|
|
||||||
EAPI=4
|
|
||||||
HOMEPAGE=https://wiki.gentoo.org/wiki/Portage-utils
|
|
||||||
IUSE=nls static
|
|
||||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
|
||||||
LICENSE=GPL-2
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://gentoo/portage-utils-0.55.tar.xz https://dev.gentoo.org/~vapier/dist/portage-utils-0.55.tar.xz
|
|
||||||
_eclasses_=eutils f20548a2f7b0128068388cd2ec26708a flag-o-matic 85dc1eac3c64d8141374490ed64122e5 multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
|
||||||
_md5_=33b5cd1ac67c6a47467ae05c6734d019
|
|
@ -1,12 +1,13 @@
|
|||||||
DEFINED_PHASES=compile configure install postinst preinst prepare
|
DEFINED_PHASES=compile configure install postinst preinst prepare
|
||||||
DEPEND=app-arch/xz-utils
|
DEPEND=dev-libs/iniparser:0 app-arch/xz-utils static? ( dev-libs/iniparser:0[static-libs] )
|
||||||
DESCRIPTION=small and fast portage helper tools written in C
|
DESCRIPTION=small and fast portage helper tools written in C
|
||||||
EAPI=4
|
EAPI=4
|
||||||
HOMEPAGE=https://wiki.gentoo.org/wiki/Portage-utils
|
HOMEPAGE=https://wiki.gentoo.org/wiki/Portage-utils
|
||||||
IUSE=nls static
|
IUSE=nls static
|
||||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||||
LICENSE=GPL-2
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=dev-libs/iniparser:0
|
||||||
SLOT=0
|
SLOT=0
|
||||||
SRC_URI=mirror://gentoo/portage-utils-0.54.tar.xz https://dev.gentoo.org/~vapier/dist/portage-utils-0.54.tar.xz
|
SRC_URI=mirror://gentoo/portage-utils-0.60.tar.xz https://dev.gentoo.org/~vapier/dist/portage-utils-0.60.tar.xz
|
||||||
_eclasses_=eutils f20548a2f7b0128068388cd2ec26708a flag-o-matic 85dc1eac3c64d8141374490ed64122e5 multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
_eclasses_=eutils f20548a2f7b0128068388cd2ec26708a flag-o-matic 85dc1eac3c64d8141374490ed64122e5 multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||||
_md5_=33b5cd1ac67c6a47467ae05c6734d019
|
_md5_=a2a312c190c652329e5233184e2bb3fc
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue