parent
fd6051392b
commit
2457553cfb
@ -0,0 +1,11 @@
|
||||
--- a/md4sum.c 2007-04-11 23:22:38.000000000 +0200
|
||||
+++ b/md4sum.c 2015-02-15 21:57:59.699682995 +0100
|
||||
@@ -126,7 +126,7 @@
|
||||
int i;
|
||||
static char s[33];
|
||||
for( i=0; i<16; i++ ) sprintf( &s[2*i], "%02x", digest[i] );
|
||||
- s[33]= '\0';
|
||||
+ s[32]= '\0';
|
||||
return( s );
|
||||
}
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/md4sum/md4sum-0.02.03-r1.ebuild,v 1.1 2015/02/15 21:07:45 hanno Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="md4 and edonkey hash algorithm tool"
|
||||
HOMEPAGE="http://linux.xulin.de/c/"
|
||||
SRC_URI="http://linux.xulin.de/c/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~ppc"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/md4sum-fix-out-of-bounds-write.diff"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
sed -i -e "s:CFLAGS=:CFLAGS=${CFLAGS} :g" \
|
||||
-e "s:install -s:install:g" Makefile
|
||||
emake LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${D}/usr/bin"
|
||||
mkdir -p "${D}/usr/share/man/man1"
|
||||
einstall || die "einstall failed"
|
||||
}
|
@ -1,429 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.4.1-r4.ebuild,v 1.1 2014/11/26 03:25:14 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
REPO="xen-unstable.hg"
|
||||
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
live_eclass="mercurial"
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm -x86"
|
||||
UPSTREAM_VER=2
|
||||
# xen-tools's gentoo patches tarball
|
||||
GENTOO_VER=3
|
||||
# xen-tools's gentoo patches version which apply to this specific ebuild
|
||||
GENTOO_GPV=2
|
||||
# xen-tools ovmf's patches
|
||||
OVMF_VER=0
|
||||
|
||||
SEABIOS_VER=1.7.3.1
|
||||
OVMF_PV=20131208
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTRAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
[[ -n ${OVMF_VER} ]] && \
|
||||
OVMF_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-ovmf-patches-${OVMF_VER}.tar.xz"
|
||||
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/xen-${MY_PV}.tar.gz
|
||||
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
|
||||
http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
|
||||
http://dev.gentoo.org/~dlan/distfiles/ovmf-${OVMF_PV}.tar.bz2
|
||||
${UPSTRAM_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}
|
||||
${OVMF_PATCHSET_URI}"
|
||||
S="${WORKDIR}/xen-${MY_PV}"
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
|
||||
|
||||
DESCRIPTION="Xend daemon and tools"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
DOCS=( README docs/README.xen-bugtool )
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
|
||||
# >=dev-lang/ocaml-4 stable
|
||||
# Masked in profiles/eapi-5-files instead
|
||||
IUSE="api custom-cflags debug doc flask hvm qemu ocaml ovmf +pam python pygrub screen static-libs system-qemu system-seabios"
|
||||
|
||||
REQUIRED_USE="hvm? ( || ( qemu system-qemu ) )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
pygrub? ( python )
|
||||
ovmf? ( hvm )
|
||||
qemu? ( !system-qemu )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/lzo:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/yajl
|
||||
dev-libs/libaio
|
||||
dev-libs/libgcrypt:0
|
||||
sys-libs/zlib
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
|
||||
hvm? ( media-libs/libsdl )
|
||||
${PYTHON_DEPS}
|
||||
api? ( dev-libs/libxml2
|
||||
net-misc/curl )
|
||||
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
|
||||
arm? ( >=sys-apps/dtc-1.4.0 )
|
||||
!arm? ( sys-devel/bin86
|
||||
system-seabios? ( sys-firmware/seabios )
|
||||
sys-firmware/ipxe
|
||||
sys-devel/dev86
|
||||
sys-power/iasl )
|
||||
dev-lang/perl
|
||||
app-misc/pax-utils
|
||||
dev-python/markdown[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-tex/latex2html[png,gif]
|
||||
media-gfx/graphviz
|
||||
dev-tex/xcolor
|
||||
media-gfx/transfig
|
||||
dev-texlive/texlive-latexextra
|
||||
virtual/latex-base
|
||||
dev-tex/latexmk
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-latexrecommended
|
||||
)
|
||||
hvm? ( x11-proto/xproto
|
||||
!net-libs/libiscsi )
|
||||
qemu? ( x11-libs/pixman )
|
||||
system-qemu? ( app-emulation/qemu[xen] )
|
||||
ocaml? ( dev-ml/findlib
|
||||
>=dev-lang/ocaml-4 )"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
sys-apps/iproute2
|
||||
net-misc/bridge-utils
|
||||
screen? (
|
||||
app-misc/screen
|
||||
app-admin/logrotate
|
||||
)
|
||||
virtual/udev"
|
||||
|
||||
# hvmloader is used to bootstrap a fully virtualized kernel
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="usr/lib/xen/boot/hvmloader
|
||||
usr/share/qemu-xen/qemu/s390-ccw.img"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
export "CONFIG_LOMOUNT=y"
|
||||
|
||||
#bug 522642, disable compile tools/tests
|
||||
export "CONFIG_TESTS=n"
|
||||
|
||||
if has_version dev-libs/libgcrypt:0; then
|
||||
export "CONFIG_GCRYPT=y"
|
||||
fi
|
||||
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64 ; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
|
||||
source "${FILESDIR}"/gentoo-patches.conf
|
||||
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
|
||||
for i in ${!_gpv}; do
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo/$i
|
||||
done
|
||||
fi
|
||||
|
||||
# Ovmf's patchset
|
||||
if [[ -n ${OVMF_VER} ]]; then
|
||||
pushd "${WORKDIR}"/ovmf-*/ > /dev/null
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-ovmf
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
|
||||
|
||||
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
|
||||
mv ../ovmf-${OVMF_PV} tools/firmware/ovmf-dir-remote || die
|
||||
pushd tools/firmware/ > /dev/null
|
||||
ln -s seabios-dir-remote seabios-dir || die
|
||||
popd > /dev/null
|
||||
|
||||
# Fix texi2html build error with new texi2html, qemu.doc.html
|
||||
sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die
|
||||
|
||||
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
|
||||
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
|
||||
-i tools/firmware/Makefile || die
|
||||
|
||||
# Drop .config, fixes to gcc-4.6
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
|
||||
# try and remove all the default cflags
|
||||
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
|
||||
-exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} + || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
if ! use pygrub; then
|
||||
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
|
||||
# Bug 351648
|
||||
elif ! use x86 && ! has x86 $(get_all_abis); then
|
||||
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
|
||||
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
|
||||
export CPATH="${WORKDIR}"/extra-headers
|
||||
fi
|
||||
|
||||
# Don't bother with qemu, only needed for fully virtualised guests
|
||||
if ! use qemu; then
|
||||
sed -e "s:install-tools\: tools/qemu-xen-traditional-dir:install-tools\: :g" -i Makefile || die
|
||||
fi
|
||||
|
||||
# Reset bash completion dir; Bug 472438
|
||||
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
|
||||
-i Config.mk || die
|
||||
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
|
||||
|
||||
# xencommons, Bug #492332, sed lighter weight than patching
|
||||
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
|
||||
-i tools/hotplug/Linux/init.d/xencommons || die
|
||||
|
||||
# respect multilib, usr/lib/libcacard.so.0.0.0
|
||||
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
|
||||
-i tools/qemu-xen/configure || die
|
||||
|
||||
#bug 518136, don't build 32bit exactuable for nomultilib profile
|
||||
if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
|
||||
sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
|
||||
fi
|
||||
|
||||
# Bug 477884, 518136
|
||||
if [[ "${ARCH}" == 'amd64' ]]; then
|
||||
sed -i -e "/LIBEXEC =/s|/lib/xen/bin|/$(get_libdir)/xen/bin|" config/StdGNU.mk || die
|
||||
fi
|
||||
|
||||
# fix QA warning, create /var/run/, /var/lock dynamically
|
||||
sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \
|
||||
tools/libxl/Makefile || die
|
||||
|
||||
sed -i -e "/\/var\/run\//d" \
|
||||
tools/xenstore/Makefile \
|
||||
tools/pygrub/Makefile || die
|
||||
|
||||
sed -i -e "/\/var\/lock\/subsys/d" \
|
||||
tools/Makefile || die
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--prefix=/usr \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--disable-werror \
|
||||
--disable-xen \
|
||||
--enable-tools \
|
||||
--enable-docs \
|
||||
$(use_with system-qemu) \
|
||||
$(use_enable pam) \
|
||||
$(use_enable api xenapi) \
|
||||
$(use_enable ovmf) \
|
||||
$(use_enable ocaml ocamltools) \
|
||||
"
|
||||
# disable qemu-traditional for arm, fail to build
|
||||
use arm || myconf+=" --enable-qemu-traditional"
|
||||
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
|
||||
use qemu || myconf+=" --with-system-qemu"
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
use custom-cflags || unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
unset LDFLAGS
|
||||
unset CFLAGS
|
||||
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
|
||||
|
||||
use doc && emake -C docs txt html
|
||||
emake -C docs man-pages
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Override auto-detection in the build system, bug #382573
|
||||
export INITD_DIR=/tmp/init.d
|
||||
export CONFIG_LEAF_DIR=../tmp/default
|
||||
|
||||
# Let the build system compile installed Python modules.
|
||||
local PYTHONDONTWRITEBYTECODE
|
||||
export PYTHONDONTWRITEBYTECODE
|
||||
|
||||
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
|
||||
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
||||
|
||||
# Fix the remaining Python shebangs.
|
||||
python_fix_shebang "${D}"
|
||||
|
||||
# Remove RedHat-specific stuff
|
||||
rm -rf "${D}"tmp || die
|
||||
|
||||
# uncomment lines in xl.conf
|
||||
sed -e 's:^#autoballoon=1:autoballoon=1:' \
|
||||
-e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \
|
||||
-e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \
|
||||
-i tools/examples/xl.conf || die
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||
|
||||
dohtml -r docs/
|
||||
docinto pdf
|
||||
dodoc ${DOCS[@]}
|
||||
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
|
||||
fi
|
||||
|
||||
rm -rf "${D}"/usr/share/doc/xen/
|
||||
doman docs/man?/*
|
||||
|
||||
newconfd "${FILESDIR}"/xendomains.confd xendomains
|
||||
newconfd "${FILESDIR}"/xenstored.confd xenstored
|
||||
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
|
||||
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
|
||||
newinitd "${FILESDIR}"/xenstored.initd xenstored
|
||||
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
|
||||
newinitd "${FILESDIR}"/xencommons.initd xencommons
|
||||
newconfd "${FILESDIR}"/xencommons.confd xencommons
|
||||
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
|
||||
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
|
||||
|
||||
if use screen; then
|
||||
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
|
||||
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
|
||||
keepdir /var/log/xen-consoles
|
||||
fi
|
||||
|
||||
# For -static-libs wrt Bug 384355
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
|
||||
fi
|
||||
|
||||
# xend expects these to exist
|
||||
keepdir /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
|
||||
|
||||
# for xendomains
|
||||
keepdir /etc/xen/auto
|
||||
|
||||
# Temp QA workaround
|
||||
dodir "$(get_udevdir)"
|
||||
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
|
||||
rm -rf "${D}"/etc/udev
|
||||
|
||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
|
||||
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
elog ""
|
||||
elog "Recommended to utilise the xencommons script to config sytem At boot"
|
||||
elog "Add by use of rc-update on completion of the install"
|
||||
|
||||
# TODO: we need to have the current Python slot here.
|
||||
if ! has_version "dev-lang/python[ncurses]"; then
|
||||
echo
|
||||
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
|
||||
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
|
||||
fi
|
||||
|
||||
if has_version "sys-apps/iproute2[minimal]"; then
|
||||
echo
|
||||
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
|
||||
ewarn "will not work until you rebuild iproute2 without USE=minimal."
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
echo
|
||||
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
|
||||
elog "support enable the hvm use flag."
|
||||
elog "An x86 or amd64 system is required to build HVM support."
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
|
||||
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
|
||||
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
|
||||
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
|
||||
fi
|
||||
|
||||
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
|
||||
echo
|
||||
elog "xensv is broken upstream (Gentoo bug #142011)."
|
||||
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
|
||||
fi
|
||||
}
|
@ -1,162 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.4.1-r4.ebuild,v 1.1 2014/12/19 06:44:44 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-${PV/_/-}
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="git://xenbits.xen.org/${PN}.git"
|
||||
live_eclass="git-2"
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm -x86"
|
||||
UPSTREAM_VER=3
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/${MY_P}.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
|
||||
fi
|
||||
|
||||
inherit mount-boot flag-o-matic python-any-r1 toolchain-funcs eutils ${live_eclass}
|
||||
|
||||
DESCRIPTION="The Xen virtual machine monitor"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="custom-cflags debug efi flask xsm"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
efi? ( >=sys-devel/binutils-2.22[multitarget] )
|
||||
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
||||
|
||||
REQUIRED_USE="flask? ( xsm )
|
||||
arm? ( debug )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]]; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use flask ; then
|
||||
export "XSM_ENABLE=y"
|
||||
export "FLASK_ENABLE=y"
|
||||
elif use xsm ; then
|
||||
export "XSM_ENABLE=y"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
# Drop .config
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
if use efi; then
|
||||
epatch "${FILESDIR}"/${PN}-4.4-efi.patch
|
||||
export EFI_VENDOR="gentoo"
|
||||
export EFI_MOUNTPOINT="boot"
|
||||
fi
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
# try and remove all the default custom-cflags
|
||||
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} \; || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
# remove -Werror for gcc-4.6's sake
|
||||
find "${S}" -name 'Makefile*' -o -name '*.mk' -o -name 'common.make' | \
|
||||
xargs sed -i 's/ *-Werror */ /'
|
||||
# not strictly necessary to fix this
|
||||
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
|
||||
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
if use custom-cflags; then
|
||||
filter-flags -fPIE -fstack-protector
|
||||
replace-flags -O3 -O2
|
||||
else
|
||||
unset CFLAGS
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Send raw LDFLAGS so that --as-needed works
|
||||
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
# The 'make install' doesn't 'mkdir -p' the subdirs
|
||||
if use efi; then
|
||||
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
|
||||
fi
|
||||
|
||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the unoffical wiki page:"
|
||||
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
|
||||
elog " http://en.gentoo-wiki.com/wiki/Xen/"
|
||||
|
||||
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST ibus-libpinyin-1.6.92.tar.gz 1686249 SHA256 e611cff47b84345e1f60b8e94f74811bcfdf53b6ef7436b5cb5aff47eea743a3 SHA512 b4af0083c9c1dd4273c75372acf5d74ce317effdf56d8a0de8a3e3cd24f40b1b2dba91786d0a1cd72c9d7867b9ae630c4f69b04b378529dca8be0869e91d322d WHIRLPOOL 5dd8493bbbaa0f3d189a825bd4237a56276e88b8da91e75c1e3d49c1c1b2050ee2f9aaa4524ea00418690d8ff2085d6b6f686e60752e838f2515ca9d780347ef
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-libpinyin/ibus-libpinyin-1.6.92.ebuild,v 1.2 2015/02/16 05:00:44 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
inherit autotools-utils python-single-r1
|
||||
|
||||
DESCRIPTION="ibus-libpinyin - pinyin chinese input for ibus using libpinyin"
|
||||
HOMEPAGE="https://github.com/libpinyin/ibus-libpinyin"
|
||||
|
||||
SRC_URI="https://github.com/libpinyin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="boost opencc lua"
|
||||
|
||||
DEPEND="sys-apps/sed"
|
||||
RDEPEND=">=app-i18n/ibus-1.4[python,${PYTHON_USEDEP}]
|
||||
dev-python/pygtk[${PYTHON_USEDEP}]
|
||||
>=app-i18n/libpinyin-1.0.0
|
||||
app-i18n/pyzy
|
||||
boost? ( >=dev-libs/boost-1.39 )
|
||||
lua? ( >=dev-lang/lua-5.1 )"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README )
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s/python/${EPYTHON}/" setup/ibus-setup-libpinyin.in || die
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable boost )
|
||||
$(use_enable opencc )
|
||||
$(use_enable lua lua-extension )
|
||||
--enable-english-input-mode
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>cjk</herd>
|
||||
<herd>proxy-maintainers</herd>
|
||||
<maintainer>
|
||||
<email>graham.ramsey@gmail.com</email>
|
||||
<name>Graham Ramsey</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
PinYin engine for IBus platform. It provides a Chinese PinYin input method.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="boost">Compile against <pkg>dev-libs/boost</pkg> libraries</flag>
|
||||
<flag name="opencc">Enable support for <pkg>app-i18n/opencc</pkg></flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,2 +1,3 @@
|
||||
DIST getopt-1.1.4.tar.gz 37163 SHA256 41083d9993c26792851e79b81a0991996a3f61e14998fdd607615cc3bf933bab SHA512 9ec9b5ca50a02b6ae772b133408e61fb9fcb5840c00f23d1c836a9c7ee86778211dcb1ecf5cdcaf9e2488b2db0671e29bc8be55f1a7ca4f1d48cc3921dfe04ad WHIRLPOOL 64e4942064930303ecc8cd6ea22f93ccd0c34415815f1e4fc43d2786b1e3bd511fac6d0aa6ef470b0a026a7776c4e0b345b1beada0c972203808232d0c331727
|
||||
DIST getopt-1.1.5.tar.gz 51794 SHA256 11893276b94b1629606ab75772143918a5713259950fbf4216288e246f19fbb6 SHA512 43597a1a8dd1dc188b6b4f0a8f8d438456013276aa1c719889e242ba2b526dccbca2fccd3d82d1541f4e0920fd277c101a436ed0c208124227481f792cb1cf75 WHIRLPOOL c5de1797b0c294a404ef8e801d86677d0b84fd6974e5d5ad8d234ae28db5446d0b13766362ecac459b3f8ce07d56282a3f0274b460d5d95118000762d9374815
|
||||
DIST getopt-1.1.6.tar.gz 58926 SHA256 d0bf1dc642a993e7388a1cddfb9409bed375c21d5278056ccca3a0acd09dc5fe SHA512 aa5476e729f33ddd3f32f38b2565da319fdfe034f11549218d5d9953e70dad764e0d9a82bb10efe4043c86ae87f944619b8a2f29a197f592bd855699961d8e10 WHIRLPOOL 0fa96415fa5d9b001313b1491a0f260922dbb52ac72d6242e6ff332ac802e3d6cac2401c8e8a8f9cc09376d3c51f4b1cc3bd0f976dc857cd72c1ffc7b1d770da
|
||||
|
@ -0,0 +1,70 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -32,7 +32,7 @@ MSGFMT=msgfmt
|
||||
LANGUAGES = ca cs da de es et eu fi fr gl hr hu id it ja nl pl pt_BR ru sl sv tr uk vi zh_CN zh_TW
|
||||
MOFILES:=$(patsubst %,po/%.mo,$(LANGUAGES))
|
||||
|
||||
-CPPFLAGS=-DLIBCGETOPT=$(LIBCGETOPT) -DWITHOUT_GETTEXT=$(WITHOUT_GETTEXT) -DLOCALEDIR=\"$(localedir)\" -DNOT_UTIL_LINUX -Dprogram_invocation_short_name=\"$(PACKAGE)\" -Dprogram_version=\"$(VERSION)\"
|
||||
+CPPFLAGS=-DLIBCGETOPT=$(LIBCGETOPT) -DWITHOUT_GETTEXT=$(WITHOUT_GETTEXT) -DLOCALEDIR=\"$(localedir)\" -DNOT_UTIL_LINUX -Dprogram_invocation_short_name=\"$(PACKAGE)-long\" -Dprogram_version=\"$(VERSION)\"
|
||||
ifeq ($(LIBCGETOPT),0)
|
||||
CPPFLAGS+=-I./gnu
|
||||
endif
|
||||
@@ -81,7 +81,7 @@ install_po: all_po
|
||||
for lang in $(LANGUAGES) ; do \
|
||||
dir=$(localedir)/$$lang/LC_MESSAGES; \
|
||||
$(INSTALL) -m 755 -d $(DESTDIR)$$dir ;\
|
||||
- $(INSTALL) -m 644 po/$$lang.mo $(DESTDIR)$$dir/getopt.mo ;\
|
||||
+ $(INSTALL) -m 644 po/$$lang.mo $(DESTDIR)$$dir/getopt-long.mo ;\
|
||||
done
|
||||
clean_po:
|
||||
$(RM) $(MOFILES)
|
||||
--- a/getopt-parse.bash
|
||||
+++ b/getopt-parse.bash
|
||||
@@ -19,7 +19,7 @@
|
||||
# Note that we use `"$@"' to let each command-line parameter expand to a
|
||||
# separate word. The quotes around `$@' are essential!
|
||||
# We need TEMP as the `eval set --' would nuke the return value of getopt.
|
||||
-TEMP=`getopt -o ab:c:: --long a-long,b-long:,c-long:: \
|
||||
+TEMP=`getopt-long -o ab:c:: --long a-long,b-long:,c-long:: \
|
||||
-n 'example.bash' -- "$@"`
|
||||
|
||||
if [ $? != 0 ] ; then echo "Terminating..." >&2 ; exit 1 ; fi
|
||||
--- a/getopt-parse.tcsh
|
||||
+++ b/getopt-parse.tcsh
|
||||
@@ -26,7 +26,7 @@
|
||||
# as a list. The ':q` copies that list without doing any substitutions:
|
||||
# each element of argv becomes a separate argument for getopt. The braces
|
||||
# are needed because the result is also a list.
|
||||
-set temp=(`getopt -s tcsh -o ab:c:: --long a-long,b-long:,c-long:: -- $argv:q`)
|
||||
+set temp=(`getopt-long -s tcsh -o ab:c:: --long a-long,b-long:,c-long:: -- $argv:q`)
|
||||
if ($? != 0) then
|
||||
echo "Terminating..." >/dev/stderr
|
||||
exit 1
|
||||
--- a/getopt.c
|
||||
+++ b/getopt.c
|
||||
@@ -344,12 +344,12 @@ static void __attribute__ ((__noreturn__)) print_help(void)
|
||||
fputs(_(" -q, --quiet Disable error reporting by getopt(3)\n"), stderr);
|
||||
fputs(_(" -Q, --quiet-output No normal output\n"), stderr);
|
||||
fputs(_(" -s, --shell <shell> Set shell quoting conventions\n"), stderr);
|
||||
- fputs(_(" -T, --test Test for getopt(1) version\n"), stderr);
|
||||
+ fputs(_(" -T, --test Test for getopt-long(1) version\n"), stderr);
|
||||
fputs(_(" -u, --unquoted Do not quote the output\n"), stderr);
|
||||
fputs(USAGE_SEPARATOR, stderr);
|
||||
fputs(USAGE_HELP, stderr);
|
||||
fputs(USAGE_VERSION, stderr);
|
||||
- fprintf(stderr, USAGE_MAN_TAIL("getopt(1)"));
|
||||
+ fprintf(stderr, USAGE_MAN_TAIL("getopt-long(1)"));
|
||||
exit(PARAMETER_EXIT_CODE);
|
||||
}
|
||||
|
||||
--- a/nls.h
|
||||
+++ b/nls.h
|
||||
@@ -29,7 +29,7 @@
|
||||
#ifndef GETOPT_NLS
|
||||
#define GETOPT_NLS
|
||||
|
||||
-#define PACKAGE "getopt"
|
||||
+#define PACKAGE "getopt-long"
|
||||
|
||||
#if WITHOUT_GETTEXT
|
||||
#define _(Text) (Text)
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/getopt/getopt-1.1.6.ebuild,v 1.1 2015/02/16 05:47:15 vapier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit toolchain-funcs eutils
|
||||
|
||||
DESCRIPTION="getopt(1) replacement supporting GNU-style long options"
|
||||
HOMEPAGE="http://software.frodo.looijaard.name/getopt/"
|
||||
SRC_URI="http://frodo.looijaard.name/system/files/software/getopt/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.1.5-libintl.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.1.5-setlocale.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.1.6-longrename.patch
|
||||
|
||||
# hopefully this is portable enough
|
||||
epatch "${FILESDIR}"/${PN}-1.1.4-irix.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local nogettext="1"
|
||||
local libintl=""
|
||||
local libcgetopt=1
|
||||
|
||||
if use nls; then
|
||||
nogettext=0
|
||||
has_version sys-libs/glibc || libintl="-lintl"
|
||||
fi
|
||||
|
||||
[[ ${CHOST} == *-irix* ]] && libcgetopt=0
|
||||
[[ ${CHOST} == *-interix* ]] && libcgetopt=0
|
||||
|
||||
emake CC="$(tc-getCC)" prefix="${EPREFIX}/usr" \
|
||||
LIBCGETOPT=${libcgetopt} \
|
||||
WITHOUT_GETTEXT=${nogettext} LIBINTL=${libintl} \
|
||||
CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use nls && emake prefix="${EPREFIX}/usr" DESTDIR="${D}" install_po
|
||||
|
||||
newbin getopt getopt-long
|
||||
|
||||
# at least on interix, the system getopt is ... broken...
|
||||
# util-linux, which would provide the getopt binary, does not build &
|
||||
# install on interix/prefix, so, this has to provide it.
|
||||
[[ ${CHOST} == *-interix* || ${CHOST} == *-mint* ]] && \
|
||||
dosym getopt-long /usr/bin/getopt
|
||||
|
||||
newman getopt.1 getopt-long.1
|
||||
|
||||
dodoc getopt-*sh
|
||||
}
|
@ -1,24 +1,12 @@
|
||||
DIST amd64-debug-libreoffice-4.2.8.2.tar.xz 1332966476 SHA256 c35f181d8c8f6d18c2b30f8147e5ef4c2df8785261124bfd45d48614bd1e4423 SHA512 5132a2c5bf54bbfeb379fe12d5ec8e2c5203a279cad656fe1ae42304c60dc1c4b1dc4f58caa87b21be2e565d06d986f4473833d3c0fcee5bf292104fa521db07 WHIRLPOOL 0ead4e79392a110448bac6bb201029f4aa5450861060f60d49840a0db0ce164320d51e2e4100b5d6d4f937fdc5b84e15d838f52de06bb562f0379595c687b9d4
|
||||
DIST amd64-debug-libreoffice-4.3.5.2.tar.xz 1333834908 SHA256 bd905ac5162ad6248c48c95ffe50a1ab6da74271d999d9ddc39dd6bba4c20737 SHA512 8962fd0d653ef294d69dff64403c127daf7499c050fcbf1bf83b4a2cfc0d7fb0c38eb865c901a692bfe68454d6ae9206e4eff29778d94affb5ffe59a2b80af48 WHIRLPOOL 99bd5e26d23374010a8522d8156e4c3c901b0e3c76cde7ce5eba77338a2c39c13fa9b455e494fa9efaa895965b13661a69bf9b218879ae7a7c4192d2e4d065df
|
||||
DIST amd64-debug-libreoffice-gnome-4.2.8.2.xd3 73059897 SHA256 34dd9d5e9cc9ade2c39a705f4c525da3e39c8fd556af5a4daddbc7af6b281abd SHA512 4121220238c8d7e8b480c9d2ba87b897c3de2c8a09f1fee35e1eb1de56d102bcb9746984840332e1e43d12869b0e5f1a4585b19226b529287124acabebe37915 WHIRLPOOL 096e2b944e05f66f141cb7aab8c57c1dd84504645b546fe6f26056b850bfaf6d0bd402d91430219f892472a1ed7a0fec9ba34b7fb6c425f558c32bb124052050
|
||||
DIST amd64-debug-libreoffice-gnome-4.3.5.2.xd3 97260424 SHA256 f42e71336476cb8a3d67ef4af15eadefe7e054e7bfc578d72ce04a8bb4a726d0 SHA512 02ad53fb4627b4457e59e21f21d7682c0c152f637471f4d3e7296dba044fd63513d39c06c1dfd46d6067d0c7862b1b702df1253f82cf0e1a0f383d9ee435ed96 WHIRLPOOL 95ca689d87d49d844e84f8daacf363adbf8aaae662daed20c8839b1127bd7c52946c37b266651f9bcca0f85eec38d38283110a1c1007218f4a37cc9a24af7e9b
|
||||
DIST amd64-debug-libreoffice-gnome-java-4.2.8.2.xd3 685443610 SHA256 f32d884da5d99d5f7e69ec6b6e6029e8b2fe70bd60c549a1b8df81800132c397 SHA512 36edf067fef79ed1694730d9f6ba3b261c45a8e74ba3674f92eb25bf9414c3e7930f9969060f91c9b74c3232a741518c337d09fd57f0811a8e80a2e1cf7396d1 WHIRLPOOL 597ea16f46151c59025b9e6d70be40da41b02b5a17b7b5eaee805333def9267112edc92658c2e62f0891f0080582fe0f42d85d775d82a377fc67201557918560
|
||||
DIST amd64-debug-libreoffice-gnome-java-4.3.5.2.xd3 476209474 SHA256 ae56ed760fbe033424be7bfeda9a7350d550ff300da8bb0c171b8c52e51cc257 SHA512 ff18bafa73f0cf05397386588a28d14fb56c62dfc228ecdabd307a5ad8de779553e502b295a76e0694a811bf5990a4f825c94b771f34c613d9fb1c06b1aa880d WHIRLPOOL ebfaf71e2b73222cb8793128365af60ca05b251111734f0f154d5d90129bd3c7d95f1d1f23736c078650158e18907e4f51dbd84efd33fe437123f8213f13200b
|
||||
DIST amd64-debug-libreoffice-java-4.2.8.2.xd3 680443558 SHA256 4f316a686da36d31e2d34319cd9194377ae442573cb7c026e50a73ee8b46faad SHA512 4c164abbc711fbddeb40a638370b0f7a6497e8b725e8f0dabf60939f13227d64a9c51c19870ca3352ef7746b53361c7d0acea672ea1bb2b84bd455191878be54 WHIRLPOOL 2d209565646517fe779cf503d298e709304f8791da5c6f2c7b4baad89f4f335edad910d277f6d87e3e50c9facda9da931d0603de8de3b36df83ba0f8ce745113
|
||||
DIST amd64-debug-libreoffice-java-4.3.5.2.xd3 467659502 SHA256 dc98a5352f0c3ac9212b2a491370ca9b46c248dd98bb384eb4b180002696f618 SHA512 7497aa50f4ffe5943b5930317af990a98645c713f42a9a6e8323d5047ce01f4ce656a14259b171a28c4ffaaca9bf272a6635a37d00be2e4c4d74028f2453d832 WHIRLPOOL 767bfbe3f74af3ce6e2974c8f6be58ea5ec58e3077875ee320da3dfad4c0ed99d6dc8af4208ac4077e8e8b059850a292fb96253aa78e1560eb4a1a3d1a9b678b
|
||||
DIST amd64-debug-libreoffice-kde-4.2.8.2.xd3 415494548 SHA256 fa69c25a80b5386fb436566151d7c3d6025e88d33f7af1be2e4c15240e5b4a21 SHA512 b254644b67a2711124fb8d322ffb78d27a48f33072c64cdf318c3b48f259fe94a2a7f7be72e9881c002ca8c825cff1e4de7e1674c50fbf8202d8c2b4bbdd36bb WHIRLPOOL facdeb442ef07d87aa93227f498bb1fe435ca33981f758ea1cdd75991bff39896f4c1af2d23ee03df7beb186ae65499c36667295f2f00c82eec91de233781ff5
|
||||
DIST amd64-debug-libreoffice-kde-4.3.5.2.xd3 148672285 SHA256 95985994bfc1f81a35dc4608df0fe71a1f51e7b5f0969e62b39a00d4e41998e5 SHA512 26088fce9c2f4c3f8acd5cf85836710f27610c2f5aa8604b7718ae23443bed61520f86a14a2adaa43f12aecd23967647c71492760098f1e0052ddc6c302b6815 WHIRLPOOL 3cfdad98451d9c97469e37f9c37395ac0266fd85e0f4f3df3d7991df4bdad7d100f0ebd2ad3b1264d4df9b25296b1a9a3984ac24ccec12e31638d7f86c174fd9
|
||||
DIST amd64-debug-libreoffice-kde-java-4.2.8.2.xd3 684120772 SHA256 dddf4f6cde589d5ed8ad46e22b4eb5924a68c65fb0a1bad468465d37f9c8f038 SHA512 45b5c4f67677cf05d106f67e9c08534e957c4e47b508ade38593c6489829ce2d71a010747e7aa1ed15e3663bf30a32b1ef54d3324d77fd414c7a70c630e8e6a1 WHIRLPOOL f1b668317c5b845f65d8c5fee109853e773ac4d8103a457686acef63a1ebb5be825684cec935bbbc87bd45c6b56affcb316e7469bc97d8098d48189649fd5445
|
||||
DIST amd64-debug-libreoffice-kde-java-4.3.5.2.xd3 469574659 SHA256 c12d1f56dbab148e4331c23dd3a09c620f914e531dc965e65322312524f48292 SHA512 76884f74b465500ec351ffab47163193c40a292fd2d6066f5f1cd1a85b75c72cff66a9f1371a6dfc7ba1c1c98b20a7913596993f921197f05a31f567b15d52dd WHIRLPOOL cb7e95ac534250977540cdd7401a0a1a2e3bb3917f689d723b0942438701cb51d17dc2ece2e7fb655d8ded4eea030374d20e36c22f893b18b7bdfe1c3af4290c
|
||||
DIST x86-debug-libreoffice-4.2.8.2.tar.xz 1316038264 SHA256 80c837568e94cbf84b6be67e1eb9d0172b2935278310d71450663da5f7e65e64 SHA512 75900d839af1db612af9b308eb30b051b3c2e75ac2bbe797d556a7ee17a94f4bf220d585aa8e685e89ab683e6b00c5ad28ac18c6ee655c3a490170c8239a8a14 WHIRLPOOL d4bbe18cd579203ed8a691c4f7ca74d018e3d92b92688c5f144e5108f6dadc89c7f8e7c8ea661be4e559ac605cb2abb1897d501a2ddfa688689dcb346c4aaae1
|
||||
DIST x86-debug-libreoffice-4.3.5.2.tar.xz 1316490272 SHA256 58b42568a501557108646ea38203a04a33643e6afb28befaaa33e7b68804f76d SHA512 12d80fc2806d9cb32cdbbb5de9cd9ae5b70214da29b9fcf149a4eaa1fa1efd900c356c2bdf5511b536f0b70d28cafc73a695b4942cd50aa4e69ceba06fd18d4d WHIRLPOOL 88430f186bf22138f989efd259d34726b3dd5b274d2012808ca551b71ff492e24e8c13c4f5c52b6beb6c7b721fc25f5b5b4e59f66a8f5ccb0ff3847b8355f75e
|
||||
DIST x86-debug-libreoffice-gnome-4.2.8.2.xd3 96742116 SHA256 f1faaa33c9610ddc759c031c2c76ce7e23bc85aaa2b98c30630f0b848f1c2dbe SHA512 17a3ad15fe9bcd2c67373c80c61b51930a77cf2c21ea1d1d206e06097c0fdac06607946483eaf7db74bcd3d2f9fbbd9cdbe60fa20c9516e859c719e391bdf5a9 WHIRLPOOL 455d9ec2094cd067ade74d3e574611c2fecf037cb5e29d29c75cddf4d72328e335af8383a66fa69b4f9d628c6c4d6100debb44fbce96b833199812828a0e2ee4
|
||||
DIST x86-debug-libreoffice-gnome-4.3.5.2.xd3 95328742 SHA256 32a83e09074277eebc4d68bb50bc17c2535bbf4559483966864263b7c92e27fc SHA512 efa29ff6734a18d56c28158a8b8bb9a451b59847e3d1d817acb2e7dd5b4ffde62effe17ea16e40041acbb746aa9597264015175d8975bb0f4f131378bf2260e4 WHIRLPOOL f75cdd22f392ec5f1237b50e63d8104bb98221eca751b51baec9ac44ddff7833f17b02efc3a0d4766db07a8ad348adacb55a8a3ecd849b61beeda44dd3b47ce3
|
||||
DIST x86-debug-libreoffice-gnome-java-4.2.8.2.xd3 690533742 SHA256 966f18eec6e86f947092d19634c7c9c7c26680772998d3b6ac8dc8bc7bd03bcb SHA512 d861d3be4d51c5e3b99c465db7399007c1304eff8eb3871bbdfaf8d141c2b26fc984c9a5ddb9486f5a5f5620bb6ddf9e2aace1626edf5204432bba7c68f9dd60 WHIRLPOOL 5dfb35abcd9cf14ff85c17d9eeceb48c6963b52053057eb54eb17a0b3a4c1b2cb2d425ea0b19ad382efe1cf802651916e3e0f650c1385485e246a84ebe904f7e
|
||||
DIST x86-debug-libreoffice-gnome-java-4.3.5.2.xd3 450873694 SHA256 8cd67faa454f23f41cc6c030258b4e6a75df4948b72f797c541330cf22927a50 SHA512 6a88c24c635aeadc92daa032190393d6dd6d145312b6d54110bd1aeec9a4c01dc105b4326829e8c7811488e55bbe65fa302847b8ccb135e6f1e67bb0c2242d96 WHIRLPOOL 62676db4923c3ca64425cbe9075fc5e0dab4386db04336cae3c19c5581af82e762ee34dd2019dac0c6855b13ee285c5902de4e37f761ad18ac7f129882d1d9c3
|
||||
DIST x86-debug-libreoffice-java-4.2.8.2.xd3 661762265 SHA256 4df32067da564b2118a792ea8dd1e41743f92738f2fc7faac262ddbc55774dad SHA512 2312024469170900ee2d985e26d4d52072445f43bb9c94a2385eec22f5ccf04d475d54b2aa1dedd57642c591168307c7f3047b6df21358d0ff4b362865a673b7 WHIRLPOOL 26b2a741f994d63cd53f2ad8d5b15ddf6bb4a88c5f9d0726a78da23cfeee29142abd3b7cca73b1394d9dab3bfd1531c2372cf7f5a5b8917ae4b6408aabce93c7
|
||||
DIST x86-debug-libreoffice-java-4.3.5.2.xd3 451370716 SHA256 0374ac6990550b68acc150cc4e848129eab3779573b3afaaa1c6f66623eac59b SHA512 970dfae58eca78ec4374ae46ddb6addc09d3917411f380173d3adf63b85f9d832c6052f3ebe56a4d879e5ccde00b3ea4bcaea8316e3b108ecdf94aa0dc70590c WHIRLPOOL b7b4664e13ebf9c968ec7919b082d5f616949aac7383e967061120d3bc91004094524d81af4039c096fe360867794306058dfe88f74fe485b1c2252ef22546ec
|
||||
DIST x86-debug-libreoffice-kde-4.2.8.2.xd3 437037233 SHA256 8d06e23279e4d9a7f0f818dd00df1260a0475846200281c6d912ccb2c0c04407 SHA512 c458a5edae7e042945c9aedf63b6ba6934731f324f32ed229e10734fe3c1ff0443a53b9ba45785afd89bf7937fe1a58831f59f28f3c508497f0242617bc57347 WHIRLPOOL a40acf1c23b846ad1ba1daf5aa34d8f0aba7e691b726b3b7af4d69725a6189ca657840d7d2fd9d817d619c3be7561be5547c24c196abf561fddd34de8c4d530f
|
||||
DIST x86-debug-libreoffice-kde-4.3.5.2.xd3 123519657 SHA256 cc48b9a758cdeda0f771a0d084649111fc631debcfa7dec15ad7c292622fa4f1 SHA512 ac792cd5718da6197abf026a9063d98614121ebcab7c84195e2ee08c126e991ad30f801eb855c479a2cc12e7a6718b75352e9fea2a6bf936b725efe87bc60918 WHIRLPOOL cb0d221160994de5c9e72d03cf4f5de7631cd16979a2e58e0de97f484aa4966ff3d366936a82159daf22c6b264c5f03c51093dbb01a55a40363cc15d95646eb0
|
||||
DIST x86-debug-libreoffice-kde-java-4.2.8.2.xd3 664073294 SHA256 8886373a5ae8cae4c624e7c48b5eaf7f813542e4aa874b95e2c1da82e3501ed5 SHA512 e94516cf6d609bb7008b95dfed3839fb4a0a385ec7c0387b750bab22c4f7cb34dd0e85a1bd287de94286332eda01377fa1147fabece7bdac97d1b53c6fa24982 WHIRLPOOL a1538298df6d13226da5b0786554cfc2e3c73de7da51e2298c5ee81ba2382bb10c078ef0e32b8ed7349a8fec7dfb692c242ed3b703c563bc649c8ad0529eca6d
|
||||
DIST x86-debug-libreoffice-kde-java-4.3.5.2.xd3 450513180 SHA256 0a70a99aa2482558335e3d53099c850c0d7ec0dd3ca4ed2c735345c82eff2745 SHA512 d345490b72c138f00816389c1e90a345d59076ee27d4c259b03fa7437958e6f24a76a464183361832b3bbc5fff9613d57b634c1ae3e058b6f7ab344bb1101163 WHIRLPOOL 708127ed64522243475d723a9537bb0da7754ddd705f0c6afb18e19f4a4fd63cbdebc13ee685dc619faa68b651068c7c6dd93f67fcc495f294c94473d7b06876
|
||||
|
@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin-debug/libreoffice-bin-debug-4.2.8.2.ebuild,v 1.3 2015/01/02 13:48:16 ago Exp $
|
||||
|
||||
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.2.8.2.tar.xz 72135480 SHA256 7a8562826016ee51979048835667a5cdad19467b49d3c159e39d6bdf3bb538bb SHA512 54386d8ed9895b4a779627e141c81c3961f461ed01b8dfdfe389a7fb8f840600cd7ab74a94ba8d85752f8146b6d067f2eb164bb11f7c8d2c68f2bd6ff30fd2ec WHIRLPOOL 5078eea8f13f2c2ee74737a88ab5034afb84802499fe39f595c5ca6c8eeb75cbbfeea411b5be4fefa38f499c216d978e70e4168865be655fa34ccd983c5dc08a
|
||||
DIST amd64-bin-libreoffice-4.3.5.2.tar.xz 72904516 SHA256 00f388f68686cb3dd6b2e4f945d50279b66e05c02d45dcfe5e4b27c1b0885134 SHA512 f92fd2b0324646ccb0b6d419b3c0b2855ae3c10bdb0712b382ade95ed2d88f41cefd41a5b8cb497ea06b537efcdf5bcb0b52a7e7eb33415d2c67d1c39b949d08 WHIRLPOOL e87c045e5570019982fd2bf5c8e227d28c4f990bbcba01f6e34d44db5080d31807c0d87a0e14056290a5be11f013d46c4b48f9afc04fe328d2d0efd51cc0cb77
|
||||
DIST amd64-bin-libreoffice-gnome-4.2.8.2.xd3 1515690 SHA256 25ee0cc1a2b8160a44b11501b8cb988c5f3be7e0aa051f145b8821c5e94b9cca SHA512 a5d723d99ddcae522e12f724d7ca7298754e40eb8489fc17a6a9c8e2fb8a7eaabb77cd66e183f1520320aca631cc60252b8d3bcc1cc2ac1f55917c295736c3be WHIRLPOOL 6a71f36298d9c1968bfa06485e5ef1e21ad4df342b3fed4f437609943fd77485470eeda3a266cd17e58900c64408dade8557acfe865ab3d28f91f9e65af1b5e0
|
||||
DIST amd64-bin-libreoffice-gnome-4.3.5.2.xd3 1653007 SHA256 7580c3feb4c89f131607b6cdb9b5128e0f275e5ecab24bd373c72c8651b08e5f SHA512 9aaf66a347999841d86acd6c95b4ece2287ef98517f16783ba12212fcf3e49e28da8aa868412f7628a76aff9d386397ac6fb4220dafbe6f867c59cb56ccfb633 WHIRLPOOL d06f07fed87a2508385633f8dd2accda89414f2a385ec2ad4f550cea65c7dcc95a97dfdac9e6c0f5e7950c2185abc6a67eaf72c035ecc74849de7d9ccec3bac3
|
||||
DIST amd64-bin-libreoffice-gnome-java-4.2.8.2.xd3 23615431 SHA256 d0051b6fd0be7fb7901437b50cdfadf3b8756e8e12b6fd84803a1556e327f858 SHA512 44afd870e2862e2f983c80c84406f4d6bc9d485850808589759344d2b18960aae95a4c19967ffde94e1cfc161184d50bc2d2856e5357de4bf6ab26e4ec0f0141 WHIRLPOOL 26b3915e1eb9fbe6b650476d2970626082a47f666ddce269b61293306fc59adc9c531c660d8230000649d84260dffb331bf51157500bc3bf44bd5ea1c4e16efa
|
||||
DIST amd64-bin-libreoffice-gnome-java-4.3.5.2.xd3 14061152 SHA256 33275ba2ad779018950b84daf99b6e7aa355d50ab07c4be9f5699ea10ee07936 SHA512 9c7c37fe5d44ed53976e3278de9af214d300314ddf9186c3a384ce12ab09122ea347f9b05f0fc38f6c2c7d2ba183b1a1b807f69b11b91c5c1ac3e3ab410c8212 WHIRLPOOL 801dea549aaa484c15c041942a3420e80f1cb18c5266aa26a9bf948c91e0ac9c321b6bfb9743f9cd39cb380eab47adafb4c84aedbe8c2e22e19cebed9959e29c
|
||||
DIST amd64-bin-libreoffice-java-4.2.8.2.xd3 22992619 SHA256 3f13a8b98b4ab625cce30600d14d374b4bfd39dc9be34cdc80ab5da4123a0403 SHA512 73a765fc36c161d219bc7cd76d8b03c207d701b835b4f339e7657070395c64dea5dc346fb484249ccf81d3379c6d86666d8d3cc8acb75f511ea02468749f3626 WHIRLPOOL dcb254061d6c8a3534d230b1c1b61f723916b5a9c472b275cd66dae241f6fdaafcbadba6fc2724df5afb1af5c0dd1fb61fef3177060611220ce79847ba04643f
|
||||
DIST amd64-bin-libreoffice-java-4.3.5.2.xd3 13818388 SHA256 76ac57715afb0156be82226c0ac1dcfb02038ab4b5e7218c5f801e04b92d73b1 SHA512 cc2b002a7ac0d9c7dd08c1bc54ac8b1fdf38ec429591fac204bb33a08f0ae8a0affeb6205177870fe6d791a0ac7ca6bef9293c934e20c1a54c05da9acd95d554 WHIRLPOOL 6017c48c7bc4db4ecf5c904bb222ea9c1b7900ba9cc95796b5b9a98d75336b26366b49079ad1867009753e186b9c39c85d620d7049c02310ddb081b756011634
|
||||
DIST amd64-bin-libreoffice-kde-4.2.8.2.xd3 8024393 SHA256 2a5f08a6b65de4290d969f0703a861d240c548bb41e420225b5ac446a8ab5f84 SHA512 903c8b703abeecbf64f7fd653ae9f972aa0ee11038a88ed9edfe6fdde417a9542903340652fe37e9dfd738da2aaae8113ef6d79d0ccbb6e354e0d6f3ffeb73eb WHIRLPOOL 38720d9d32647d3dc74e5fde1139f2beccb452c5e842dc2378cc7b7074ed55bb42f67d75fb6ff5eb6259ba322c5f4be2502f9f20884e84d4310583784257e703
|
||||
DIST amd64-bin-libreoffice-kde-4.3.5.2.xd3 2233921 SHA256 2ee47f37b926c56b9633216f0a8e2547537ce85a4505feec3c343b6320a96ac4 SHA512 985848698ef24e220a98ba3660f6d49c88fd147b3b4f5febbe7082d9118daa614790f0efc29231002c5dfbc26718ab2715a1ab575865b092acf8bdeba06df4e0 WHIRLPOOL fe0ed773b90ee6abec82604f0465d40cde3f2a6cf6e7aef0ab9ce3fbb04e26a701312d7e3976e2f64343cff8987393e288a759279ba0fbc103bb279f0ba786d2
|
||||
DIST amd64-bin-libreoffice-kde-java-4.2.8.2.xd3 23328971 SHA256 f7e3859da902117ecc95ec3da7d8df214abab5c380c4ff6a30f434e9484a5fa3 SHA512 6dba0001c5929b93fe2e7958ee701ad23d42af1dccd00aa51252ab8d97c49dc71a8862b001bd9c14b9f363316de455361cb14de332a267dc1187b8e7a4651420 WHIRLPOOL bf08d402178e38b955e7c195220d99d7108988be9e4f4bc817ea44dcfba36b63f53247b35495e56f6d149e8b54210712f363e014162cbcc7827cd8830a8b0472
|
||||
DIST amd64-bin-libreoffice-kde-java-4.3.5.2.xd3 13995178 SHA256 6d07cd3cabfe631c0d0aa9d5d80d1fb7fceef499b7467b4c7c23c63c065e9a75 SHA512 e02770c36aa7e545bf85b58ffaea5e52009efcdc44e978f31972acd45c2ba9d9d72f385512a2ddca4ee3d02aee450f7e4535d7b88854f082573e39c03035805a WHIRLPOOL af92e5b2b5e51c96448b9f6b839e9ee5e50d56fbe6f0417f0b60d982b422bcf80b1c6014e95dc1d7795a3ee4074d7d7ad208947f3f9f471b58304c529636f13e
|
||||
DIST x86-bin-libreoffice-4.2.8.2.tar.xz 70465924 SHA256 1a44211f4577156c19c364ceeebca5fe5f20256a5bfa6c282c3133c0d2cc7f22 SHA512 8e0b4cc1c2847b864d3a4e4a9e4c0a1ff5716c77703779134ab9d85341e7b4634674b7ce42f0f63b32102a69bac338d930cf5a42c710c172f0d7455156287360 WHIRLPOOL e223d00fda6cf2d72269e83dfd35e0c0d30e88dc46540f8c995ef97f4ce3fe3984698548ea0db10a56d21b8751d18d57102ee354206ed84c31c330b7bda3ccb5
|
||||
DIST x86-bin-libreoffice-4.3.5.2.tar.xz 71320516 SHA256 221b765eac1ade056d3cc8188cd7f05f427bf37231ca17e427bd44540490539f SHA512 13dbd72b7ff5d48f9d408061ab845c24417bf6787f5555e4ffe0237a82e86d99c074d372094dba05e0c4409f0a3d22eb8f0cfcd7f9993b6613662e07f7b99358 WHIRLPOOL 1b69993bfdd0df3423354426d7364151ecdb2a060a182946a41f6d4113f9384fa22623c934b03012bee4d668816fe54c38a19243067dff5a7f86dafba0554ec3
|
||||
DIST x86-bin-libreoffice-gnome-4.2.8.2.xd3 1423663 SHA256 362837384a1f6e596862a66848ff44066fd6160c1e051f0ba0914d7b0cfab649 SHA512 03f486753847510cc493d2cbec89233ffadab5c3a9692e5eedaa759f5527da4bb3ef9f59eab32bef2704a276ef1406792dfc21fdfbcb6f6abb6c196752aebbc1 WHIRLPOOL 67f66711c847f970ee0277c5590e5c8afece52dd167b39238a3c41e9b9b92dbe4b25099294e30b75448fa4da1df0a4e106091af9a4c3bd70a834eea05d79aa56
|
||||
DIST x86-bin-libreoffice-gnome-4.3.5.2.xd3 1353554 SHA256 7467946dac4041b03ce66afb3820f26fe94b0102e0ee38587d6281a813fa83df SHA512 ad4e26d4f3d9a108dca30041afb4856996e7f50d6e912afbee97b1152d8e847e955d01d14dc35188971cb0a7d0250a4c8639c439164b2a4792a1ab729a697ec6 WHIRLPOOL c6b46024fefe731c95cc905fa3d4ff446af2c8c262681407f9f8ddec433f1803c31ba5ca4ae259bcf40af8576664dbf876286302f654c86ef4ba767460219ed9
|
||||
DIST x86-bin-libreoffice-gnome-java-4.2.8.2.xd3 21534593 SHA256 da401066c18fe9d1c7cbbe25e9cad29bd5ef15e4d4834939439196c08dccd6f6 SHA512 0983d04e4a418dc35a1d54cf838b43187f23992656457dfe941cd30499db2c9088aec7a74c307041926de43860ac199bae3b7ccb9003d3ebb92a7856984ea5f2 WHIRLPOOL ef92ac714a417d2c63dd2def3cdb0659d7a61ad5d31b20758b626eb866f7ed2927f5bd42fbe0c148fb0efb717ed1db916095a1654bf3e96debcff2af3a233171
|
||||
DIST x86-bin-libreoffice-gnome-java-4.3.5.2.xd3 12832084 SHA256 c87915c1246954f5d39d3a474c8aa136d0befbd7c07463b4ce08aee65963bb3f SHA512 955577950c02c0cefe7da6beb04a2e13a9062b295d8cc6691276e335a198feb19b78d834469c03a6d2b560966ae1f0946070e6da86178f85a7a0226b6a50a08c WHIRLPOOL 92a7fbad4ea7501a69d074afd7de49dafce5e869155aea91132c85559e78597cf628dec8fd432573567d119bc0aa60142265a0aadf4eb09d30c29642970fb98c
|
||||
DIST x86-bin-libreoffice-java-4.2.8.2.xd3 21167673 SHA256 d4ed517e92fc853ea873ac8592ba3c7289ba0967e7368545c490f9c35562469f SHA512 80fb77b81fe97ed4f527f9650f62fd567479b826ced7b5d49a09078f651a01d531ef0d33e9d9415807675838eb2642b30a96099ad9fa0a58d1e84a0fe6efbfbc WHIRLPOOL 574d958bab16d57e0c17dc5916476bf0d87b1b5090c13956764ee87bf705e3e5d44d01d576d6160db38658cea6b03910460fc93e2b76ff03283c398878dffaff
|
||||
DIST x86-bin-libreoffice-java-4.3.5.2.xd3 12253010 SHA256 5813ac978a93ae31d5745c3e2dda59640e9c0f6259178274824f009e89ddd705 SHA512 7cfefbe4711c2a4ce75c9d6e88f61a318d6b40ba2d5bdcb51b79def7324461e91f291ca52d9ec7d5ef6ee1c4bac47b9819d81cb2c7c820ead7737330507ab85b WHIRLPOOL 1491ddf32dac0fd66b196ee51132ffc1248342fff5c454a605a374408b71be0b50d4af4eb619576b00cdc06cc8de69a401b7a5b6a7288c930992128514912065
|
||||
DIST x86-bin-libreoffice-kde-4.2.8.2.xd3 7543976 SHA256 5bc7d72f77e01fa98d1cb8f126240c13c32e7eba0d8088c946d6c6cb8698b686 SHA512 8f948506876e2c79858e733c47c3cd5c28e4662d434048418ea3e2f1158fc13b22b5dab0efc6f71d2e9d4e05fe42b0aea138747c239c82d07f145c01f8e0bd40 WHIRLPOOL c1f679bfbbc14297313e25ae5c8a5e6891f3ed44420304a9d8301221c054cb630e6b10430164a8dc085929cc675b99ecc702c30548d109f6088d4eefcfb48688
|
||||
DIST x86-bin-libreoffice-kde-4.3.5.2.xd3 1742499 SHA256 52de1da123f833f9a9786c0844b732910d8a63367d6b3bdcbdd6b4b58b2d6964 SHA512 a3d4b8c487fff1d6e1f0af2ec2bc31d7465dc3f2a1a2c3901fe79d55212d533c5100dc57fef03a1e9c3d3ff4de6772dd20599d68c9ace3c13775f34f44ad1d65 WHIRLPOOL e393e21d81714251ba2997429e1e13b242241bc3dc79d990b8a647c8b4aff4099c98668a4439dd9793433520da5ceb2347ae9b02a188a3ee6b4e8645625cac4e
|
||||
DIST x86-bin-libreoffice-kde-java-4.2.8.2.xd3 20929642 SHA256 c85590e553fe2f1b6950363948f11a5cc71f7c357d48181c1ceb2dbbd4919874 SHA512 d8bdb743dd46017ff6492e567f98e70bd271e1823b90c8c152acb586e0be32724b0d0fb64ff8b6cf57d553624f39391c350f7ec0c8dd4bcd70dfcfe9e7db6129 WHIRLPOOL e6e58afd819c09c8b0054d91404993c486fea41023ffd0018c51898cd85a78aea5e09a3e342ea4a1db6aca7c52424eff19348ab1a042a34ed5690fe87a8f1c37
|
||||
DIST x86-bin-libreoffice-kde-java-4.3.5.2.xd3 12629003 SHA256 97e095d36267bdb4c62768a8b9ad3ef2c814a0055bdf61746251d665d19f403f SHA512 7274601ec92c893b4553cd5bc5b48aab602ffbc4a9d59a79003b4cd9ed0b461305ea1b767c2207765f1ca3fa88d74c56f4a9489ef66e8545e803d7e73347ddc9 WHIRLPOOL 4681dadb90f2efc2017c88e6307c5c45eaa2a11ecface3b101722fbbee14eb7f567c91cbb3b0706c828b1a95244add3e88c4580183221a55a5449668076fdaa2
|
||||
|
@ -1,230 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-4.2.8.2.ebuild,v 1.3 2015/01/02 13:48:10 ago Exp $
|
||||
|
||||
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.2*
|
||||
app-text/poppler:0/46
|
||||
dev-libs/boost:0/1.55.0
|
||||
dev-libs/icu:0/53
|
||||
=media-gfx/graphite2-1.2*
|
||||
media-libs/harfbuzz:0/0.9.18[icu]
|
||||
media-libs/libpng:0/16
|
||||
>=sys-libs/glibc-2.19-r1
|
||||
virtual/jpeg:62
|
||||
kde? ( >=kde-base/kdelibs-4.12.5-r2:4 >=dev-qt/qtcore-4.8.5-r2:4 >=dev-qt/qtgui-4.8.5-r3: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.0*
|
||||
>=app-text/libexttextcat-3.2
|
||||
=app-text/libebook-0.0*
|
||||
=app-text/libetonyek-0.0*
|
||||
app-text/liblangtag
|
||||
=app-text/libmspub-0.0*
|
||||
=app-text/libmwaw-0.2*
|
||||
=app-text/libodfgen-0.0*
|
||||
app-text/libwpd:0.9[tools]
|
||||
app-text/libwpg:0.2
|
||||
=app-text/libwps-0.2*
|
||||
>=app-text/poppler-0.16:=[xpdf-headers(+),cxx]
|
||||
>=dev-cpp/clucene-2.3.3.4-r2
|
||||
dev-cpp/libcmis:0.4
|
||||
dev-db/unixODBC
|
||||
>=dev-libs/boost-1.46:=
|
||||
dev-libs/expat
|
||||
>=dev-libs/hyphen-2.7.1
|
||||
>=dev-libs/icu-4.8.1.1:=
|
||||
>=dev-libs/libatomic_ops-7.2d
|
||||
=dev-libs/liborcus-0.5*
|
||||
>=dev-libs/nspr-4.8.8
|
||||
>=dev-libs/nss-3.12.9
|
||||
>=dev-lang/perl-5.0
|
||||
>=dev-libs/openssl-1.0.0d
|
||||
>=dev-libs/redland-1.0.16
|
||||
media-gfx/graphite2
|
||||
>=media-libs/fontconfig-2.8.0
|
||||
media-libs/freetype:2
|
||||
>=media-libs/harfbuzz-0.9.18:=[icu(+)]
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libpng-1.4
|
||||
=media-libs/libcdr-0.0*
|
||||
=media-libs/libfreehand-0.0*
|
||||
=media-libs/libvisio-0.0*
|
||||
>=net-misc/curl-7.21.4
|
||||
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
|
||||
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
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
net-libs/neon
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!app-office/libreoffice
|
||||
!<app-office/openoffice-bin-3.4.0-r1
|
||||
!app-office/openoffice
|
||||
media-fonts/libertine-ttf
|
||||
media-fonts/liberation-fonts
|
||||
media-fonts/urw-fonts
|
||||
java? ( >=virtual/jre-1.6 )
|
||||
"
|
||||
|
||||
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
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-4.2.8.2.ebuild,v 1.3 2015/01/02 13:48:03 ago Exp $
|
||||
|
||||
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 ~ppc 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,595 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-4.2.8.2.ebuild,v 1.3 2015/01/02 13:47:55 ago Exp $
|
||||
|
||||
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-2"
|
||||
inherit base autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic nsplugins ${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+=" 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 +cups dbus debug eds firebird gnome gstreamer +gtk
|
||||
gtk3 jemalloc kde mysql odk opengl postgres telepathy test +vba vlc +webdav"
|
||||
|
||||
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 ~ppc 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.0*
|
||||
>=app-text/libexttextcat-3.2
|
||||
=app-text/libebook-0.0*
|
||||
=app-text/libetonyek-0.0*
|
||||
app-text/liblangtag
|
||||
=app-text/libmspub-0.0*
|
||||
=app-text/libmwaw-0.2*
|
||||
=app-text/libodfgen-0.0* >=app-text/libodfgen-0.0.3
|
||||
app-text/libwpd:0.9[tools]
|
||||
app-text/libwpg:0.2
|
||||
=app-text/libwps-0.2*
|
||||
>=app-text/poppler-0.16:=[xpdf-headers(+),cxx]
|
||||
>=dev-cpp/clucene-2.3.3.4-r2
|
||||
dev-cpp/libcmis:0.4
|
||||
dev-db/unixODBC
|
||||
>=dev-libs/boost-1.46:=
|
||||
dev-libs/expat
|
||||
>=dev-libs/hyphen-2.7.1
|
||||
>=dev-libs/icu-4.8.1.1:=
|
||||
=dev-libs/liborcus-0.5*
|
||||
>=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/harfbuzz-0.9.18:=[icu(+)]
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libpng-1.4
|
||||
=media-libs/libcdr-0.0*
|
||||
=media-libs/libfreehand-0.0*
|
||||
=media-libs/libvisio-0.0*
|
||||
>=net-misc/curl-7.21.4
|
||||
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
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
cups? ( net-print/cups )
|
||||
dbus? ( >=dev-libs/dbus-glib-0.92 )
|
||||
eds? ( gnome-extra/evolution-data-server )
|
||||
firebird? ( >=dev-db/firebird-2.5 )
|
||||
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 )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
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
|
||||
)
|
||||
webdav? ( net-libs/neon )
|
||||
"
|
||||
|
||||
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-ttf
|
||||
media-fonts/liberation-fonts
|
||||
media-fonts/urw-fonts
|
||||
java? ( >=virtual/jre-1.6 )
|
||||
vlc? ( media-video/vlc )
|
||||
"
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
PDEPEND="~app-office/libreoffice-l10n-${PV}"
|
||||
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.10.3:=
|
||||
virtual/pkgconfig
|
||||
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
|
||||
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}-3.7-system-pyuno.patch"
|
||||
|
||||
# from libreoffice-4-3 branch
|
||||
"${FILESDIR}/${PN}-4.2.6.3-jpeg9.patch"
|
||||
|
||||
# from libreoffice-4-4 branch
|
||||
"${FILESDIR}/${PN}-4.2.8.2-boost-1.56.0.patch"
|
||||
|
||||
# staged for git master
|
||||
"${FILESDIR}/${PN}-4.2.0.4-curl-config.patch"
|
||||
)
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
bluetooth? ( dbus )
|
||||
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_PROJECT="${PN}/${mod}"
|
||||
EGIT_SOURCEDIR="${WORKDIR}/${P}"
|
||||
[[ ${mod} != core ]] && EGIT_SOURCEDIR="${WORKDIR}/${PN}-${mod}-${PV}"
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}/${mod}"
|
||||
EGIT_NOUNPACK="true"
|
||||
git-2_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_PROJECT EGIT_SOURCEDIR 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)
|
||||
|
||||
# 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 scripting/source/pyprov/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
|
||||
local jbs=$(sed -ne 's/.*\(-j[[:space:]]*\|--jobs=\)\([[:digit:]]\+\).*/\2/;T;p' <<< "${MAKEOPTS}")
|
||||
|
||||
# recheck that there is some value in jobs
|
||||
[[ -z ${jbs} ]] && jbs="1"
|
||||
|
||||
# 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-{afms,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-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=${jbs} \
|
||||
--with-system-ucpp \
|
||||
--with-vendor="Gentoo Foundation" \
|
||||
--with-x \
|
||||
--without-afms \
|
||||
--without-fonts \
|
||||
--without-myspell-dicts \
|
||||
--without-help \
|
||||
--with-helppack-integration \
|
||||
--without-sun-templates \
|
||||
$(use_enable bluetooth sdremote-bluetooth) \
|
||||
$(use_enable cups) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable dbus) \
|
||||
$(use_enable eds evolution2) \
|
||||
$(use_enable firebird firebird-sdbc) \
|
||||
$(use_enable gnome gconf) \
|
||||
$(use_enable gnome gio) \
|
||||
$(use_enable gnome lockdown) \
|
||||
$(use_enable gstreamer) \
|
||||
$(use_enable gtk) \
|
||||
$(use_enable gtk3) \
|
||||
$(use_enable kde kde4) \
|
||||
$(use_enable mysql ext-mariadb-connector) \
|
||||
$(use_enable odk) \
|
||||
$(use_enable opengl) \
|
||||
$(use_enable postgres postgresql-sdbc) \
|
||||
$(use_enable telepathy) \
|
||||
$(use_enable vba) \
|
||||
$(use_enable vlc) \
|
||||
$(use_enable webdav neon) \
|
||||
$(use_with java) \
|
||||
$(use_with mysql system-mysql-cppconn) \
|
||||
$(use_with odk doxygen) \
|
||||
${internal_libs} \
|
||||
${java_opts} \
|
||||
${ext_opts}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# 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}
|
||||
rm -rf "${ED}"/etc/
|
||||
|
||||
if use branding; then
|
||||
insinto /usr/$(get_libdir)/${PN}/program
|
||||
newins "${WORKDIR}/branding-sofficerc" sofficerc
|
||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN}
|
||||
fi
|
||||
|
||||
# symlink the nsplugin to proper location
|
||||
# use gtk && inst_plugin /usr/$(get_libdir)/libreoffice/program/libnpsoplugin.so
|
||||
|
||||
# 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/
|
||||
|
||||
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,594 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-4.2.9999.ebuild,v 1.34 2015/02/08 22:42:18 dilfridge Exp $
|
||||
|
||||
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 autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic nsplugins ${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+=" 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 +cups dbus debug eds firebird gnome gstreamer +gtk
|
||||
gtk3 jemalloc kde mysql odk opengl postgres telepathy test +vba vlc +webdav"
|
||||
|
||||
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 ~ppc ~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.0*
|
||||
>=app-text/libexttextcat-3.2
|
||||
=app-text/libebook-0.0*
|
||||
=app-text/libetonyek-0.0*
|
||||
app-text/liblangtag
|
||||
=app-text/libmspub-0.0*
|
||||
=app-text/libmwaw-0.2*
|
||||
=app-text/libodfgen-0.0* >=app-text/libodfgen-0.0.3
|
||||
app-text/libwpd:0.9[tools]
|
||||
app-text/libwpg:0.2
|
||||
=app-text/libwps-0.2*
|
||||
>=app-text/poppler-0.16:=[xpdf-headers(+),cxx]
|
||||
>=dev-cpp/clucene-2.3.3.4-r2
|
||||
=dev-cpp/libcmis-0.4*
|
||||
dev-db/unixODBC
|
||||
>=dev-libs/boost-1.46:=
|
||||
dev-libs/expat
|
||||
>=dev-libs/hyphen-2.7.1
|
||||
>=dev-libs/icu-4.8.1.1:=
|
||||
=dev-libs/liborcus-0.5*
|
||||
>=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/harfbuzz-0.9.18:=[icu(+)]
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libpng-1.4
|
||||
=media-libs/libcdr-0.0*
|
||||
=media-libs/libfreehand-0.0*
|
||||
=media-libs/libvisio-0.0*
|
||||
>=net-misc/curl-7.21.4
|
||||
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
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
cups? ( net-print/cups )
|
||||
dbus? ( >=dev-libs/dbus-glib-0.92 )
|
||||
eds? ( gnome-extra/evolution-data-server )
|
||||
firebird? ( >=dev-db/firebird-2.5 )
|
||||
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 )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
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
|
||||
)
|
||||
webdav? ( net-libs/neon )
|
||||
"
|
||||
|
||||
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-ttf
|
||||
media-fonts/liberation-fonts
|
||||
media-fonts/urw-fonts
|
||||
java? ( >=virtual/jre-1.6 )
|
||||
vlc? ( media-video/vlc )
|
||||
"
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
PDEPEND="~app-office/libreoffice-l10n-${PV}"
|
||||
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.10.3:=
|
||||
virtual/pkgconfig
|
||||
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
|
||||
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}-3.7-system-pyuno.patch"
|
||||
|
||||
# from libreoffice-4-3 branch
|
||||
"${FILESDIR}/${PN}-4.2.6.3-jpeg9.patch"
|
||||
|
||||
# from libreoffice-4-4 branch
|
||||
"${FILESDIR}/${PN}-4.2.8.2-boost-1.56.0.patch"
|
||||
|
||||
# staged for git master
|
||||
"${FILESDIR}/${PN}-4.2.0.4-curl-config.patch"
|
||||
)
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
bluetooth? ( dbus )
|
||||
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)
|
||||
|
||||
# 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 scripting/source/pyprov/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
|
||||
local jbs=$(sed -ne 's/.*\(-j[[:space:]]*\|--jobs=\)\([[:digit:]]\+\).*/\2/;T;p' <<< "${MAKEOPTS}")
|
||||
|
||||
# recheck that there is some value in jobs
|
||||
[[ -z ${jbs} ]] && jbs="1"
|
||||
|
||||
# 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-{afms,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-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=${jbs} \
|
||||
--with-system-ucpp \
|
||||
--with-vendor="Gentoo Foundation" \
|
||||
--with-x \
|
||||
--without-afms \
|
||||
--without-fonts \
|
||||
--without-myspell-dicts \
|
||||
--without-help \
|
||||
--with-helppack-integration \
|
||||
--without-sun-templates \
|
||||
$(use_enable bluetooth sdremote-bluetooth) \
|
||||
$(use_enable cups) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable dbus) \
|
||||
$(use_enable eds evolution2) \
|
||||
$(use_enable firebird firebird-sdbc) \
|
||||
$(use_enable gnome gconf) \
|
||||
$(use_enable gnome gio) \
|
||||
$(use_enable gnome lockdown) \
|
||||
$(use_enable gstreamer) \
|
||||
$(use_enable gtk) \
|
||||
$(use_enable gtk3) \
|
||||
$(use_enable kde kde4) \
|
||||
$(use_enable mysql ext-mariadb-connector) \
|
||||
$(use_enable odk) \
|
||||
$(use_enable opengl) \
|
||||
$(use_enable postgres postgresql-sdbc) \
|
||||
$(use_enable telepathy) \
|
||||
$(use_enable vba) \
|
||||
$(use_enable vlc) \
|
||||
$(use_enable webdav neon) \
|
||||
$(use_with java) \
|
||||
$(use_with mysql system-mysql-cppconn) \
|
||||
$(use_with odk doxygen) \
|
||||
${internal_libs} \
|
||||
${java_opts} \
|
||||
${ext_opts}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# 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}
|
||||
rm -rf "${ED}"/etc/
|
||||
|
||||
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
|
||||
|
||||
# symlink the nsplugin to proper location
|
||||
# use gtk && inst_plugin /usr/$(get_libdir)/libreoffice/program/libnpsoplugin.so
|
||||
|
||||
# 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/
|
||||
|
||||
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,2 +1,3 @@
|
||||
DIST textile-2.1.8.tar.gz 34002 SHA256 c443f4bf0a31df9e707e615f869d4f51b08cdb222d17ca3009eda44f7cfd8629 SHA512 b1675a131b482f4926efb45312b16c722ff158d9296704918b56316d470056f986ce18d495525a8e9f236bdd62e09ca6a17b443a7db8c8c36e5d05fcffce67da WHIRLPOOL fedcd9b9277387604e258fca427e3cd587f3b2ba93e65b39474ce57810fa67dae772241c5cf69dc8aaf89416d6191271f1fece4fa2f2e63f19fec6597b956bd5
|
||||
DIST textile-2.2.1.tar.gz 32631 SHA256 4899f06c63bfdc32a204d4c1c1e9302ddf17f26c20328419747d109348e23afd SHA512 81d044deaa765693078d949672affa787a4e15882cc2928fd19c3abe69256ffbeec1308b303ee694a80787ad7574b57ab4b256f111d9874e72440809236f6b93 WHIRLPOOL 3fda8226310d998b7d40d9fec6398173c8398c44704dd151400d284ba5a897a56bee6d3f17a21ed8fc01e76cea88f41a8372b90a4ad8a7eb6627de550dd0ef89
|
||||
DIST textile-2.2.2.tar.gz 32844 SHA256 dba4f1cb5772b99dbe4d521807a3255ddbbfa971da8b054afa08f0b428bced28 SHA512 19f2ed92199549549b07c2bb3accdf483c409c2dfd17e43ae38ba8babbc2c72d662d78414de0fd1c64b65eae59ce9e591ab9c863d4f806b7c454d8a37567d882 WHIRLPOOL a2cf3f1ef03ccac807582fd9ca44acc7f6bf48d56445a9a73d756400c7b2f7952f3222ce87caa6dfded27c4a4f55feee57f2e3194082b2d44841b4953821ca0f
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/pytextile/pytextile-2.2.2.ebuild,v 1.1 2015/02/16 04:39:56 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="textile"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A Python implementation of Textile, Dean Allen's Human Text Generator for creating (X)HTML"
|
||||
HOMEPAGE="http://github.com/textile/python-textile"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="
|
||||
dev-python/regex[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
# This resolves a nasty race condition, courtesy of Arfrever
|
||||
sed -e 's:with-id = 1::' -i setup.cfg || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests textile/tests/ || die "Tests failed under ${EPYTHON}"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST higan_v092-source.tar.xz 790136 SHA256 b73a740c6a8a82fe42a3f166df16806a6fbe8c140c82d7f6089ed984d7491168 SHA512 42cf0ed599ab7cd2da3b52c39cc1402d3af7112999ad1db2c625d9fb2b94631a55526177dcfbdbd1d065c971603fc9b1488bdea0b367a266f1740f263c207dbc WHIRLPOOL a6fdd199ef77dcb1cd7b556ab8fa5e1eefd71eb1c51aae8f58ab7f19c25707ba40836741bb10f4cda6026031e43745f637ce3c39cc4288600c10c749cc13899f
|
||||
DIST higan_v094-source.tar.xz 882732 SHA256 5e149df9d50c1066eb97c0d66665428d75304da782bba5a87078b87fc311151b SHA512 e7e48c76cdc93d2d66db1fa0c71e64903cf4188571b2d5ecb8066dd4e2172a67da4dee68bed6fd0a532b6fd397fa4f537b97de58cc5043a9e970d48d0b66b0da WHIRLPOOL 42e2b628e83b6cb8d87ce82c2e91105b0be06790a1927aa7d52f0b1a181af5d627f467009d15daffd470e3c38a2bb7d67ba84919fb1aa9c8d06ad88ca3163641
|
||||
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-games/higan-ananke/higan-ananke-092.ebuild,v 1.3 2013/08/28 11:13:56 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
MY_P=higan_v${PV}-source
|
||||
|
||||
DESCRIPTION="A higan helper library needed for extra rom load options"
|
||||
HOMEPAGE="http://byuu.org/higan/"
|
||||
SRC_URI="http://higan.googlecode.com/files/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${MY_P}/ananke
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-makefile.patch \
|
||||
"${FILESDIR}"/${P}-bps-path-fix.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
platform="x" \
|
||||
compiler="$(tc-getCXX)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newlib.so libananke.so libananke.so.1
|
||||
dosym libananke.so.1 /usr/$(get_libdir)/libananke.so
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
https://bugs.gentoo.org/527986
|
||||
|
||||
--- a/gfxdrivers/cle266/uc_overlay.c 2015-02-10 15:26:24.931309401 -0800
|
||||
+++ b/gfxdrivers/cle266/uc_overlay.c 2015-02-10 15:26:47.229309401 -0800
|
||||
@@ -246,7 +246,7 @@
|
||||
dfb_surface_flip(surface, false);
|
||||
|
||||
ucovl->field = 0;
|
||||
- ucovl->lock = lock;
|
||||
+ ucovl->lock = left_lock;
|
||||
|
||||
ret = uc_ovl_update(ucdrv, ucovl, UC_OVL_FLIP, surface, left_lock);
|
||||
if (ret)
|
@ -1,5 +1,5 @@
|
||||
DIST libtool-1.3.5.tar.gz 538884 SHA256 02e287ba621aa01ee581b0f88854deb222fa61e7e0fc55ed7685038354f0259f SHA512 e7e693da0e87bc3b178b270c1d5b0d46116d1624f6e3657ad75bc381bcbba8949ab0913fe3985c77e9dd0ee519df7da9c5ee3b4f6030ad1d4651de2e642c4bd6 WHIRLPOOL 038305555932f7554c5e50932a0bf8cd0f2a8007c26fdd21c81dc7c44ca9076d1086e3c05911f62719685bd7aa6b14463f3a1160bfbf6090bcdba6a162d95630
|
||||
DIST libtool-1.5.26.tar.gz 2961939 SHA256 1c35ae34fe85aa167bd7ab4bc9f477fe019138e1af62678d952fc43c0b7e2f09 SHA512 fcd39856c8cd457c97f176d5f6ce97fd93108808ce24315d179a7c9ca85bb90e799afaa83bc283ec627d73cfe0e0710d36a1ee8f39c9963cf2e806e64a0e0bcf WHIRLPOOL 0a56e666ee7ec79b74b500e761ebddc94fb3d322b1c29c3f9929071f71a339b3082faa486b75c7cfcf72182976a8d6152585ca92c08735a512c07eff80a24ec4
|
||||
DIST libtool-2.4.3.tar.xz 947692 SHA256 65f940fbcb5f0727b10d759898afa35307b24c0945fb12f3f8387f5adb862ceb SHA512 36a5fa71dcb46cdb5d2149c061e1ea6940cfa07322f10fa39f6da5e2c1ce95742da1c12ab09af97abc91cda3d5b453967a97e183574863afa717bcd6118108c6 WHIRLPOOL 1f7af88f1a958371f1edc22f15ec77fe6eba98e681678fe955a314a74fe4f85de5a2c009153c108cc39c2580d04d877f60fb3f2b9ada9824505993cd4e415948
|
||||
DIST libtool-2.4.4.tar.xz 957476 SHA256 a8295b5853bf82a46635c944031e84970f2aa79c19df7a0c28f3ec8e11c07f6c SHA512 1ff24aa88962e0aae82e1fff41df7863f925627a506c6a663a79afa23729272aa4e5816889dd4697d5286d42483bcee2cc7352514768f1bd28ea546476074a84 WHIRLPOOL def0381a3608b52f8f5e9b83d297643d48d3e695117199b10b4ae3d6f5b11f3d3a36c4b6572b7659061c3fee77e46da4f5e3cfffa594063fed0fe382869c3539
|
||||
DIST libtool-2.4.5.tar.xz 971620 SHA256 84aac136513b009278896ffa255e4d685bcdb0cb0e5363be36adad64c986177e SHA512 67ceb387e33fbf0ffe6df422cd26939e305a365bb22674ce064ed7f7d6602054682515b014e290c70587b7f9b6f85f00fac31d6f000b4b022daaa2b343c17327 WHIRLPOOL 4a5171a8f23d50b78eb70bbd2ff9497fe2a970933392c65c41ab44600838cdc744e4e9ddfef37ac009cf5784de8c7b1ef061f8156919b7417e78529978afe7ed
|
||||
DIST libtool-2.4.6.tar.gz 1806697 SHA256 e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3 SHA512 3233d81cb2739a54b840a0a82064eebbfaa4fb442fb993a35d6bd41d8395c51f038c90ae048b9252f172d0a5bbfb4b36e2b13d4477001f9ff7d4124237819a18 WHIRLPOOL 2d5e1d7ae4036ebb66eada5c69878d3a5b2245d87133d17cacebb6ac5d9c5ea9efa98ae43cbdc50f52056968d7b8502f2b45e4181919416397968e3bac096bb0
|
||||
|
@ -0,0 +1 @@
|
||||
DIST libusbhp-1.0.2.tar.gz 353180 SHA256 bfadea5a8ee64a6bf795d0d7154f178d1c7ea75c372e67058d25697a9c49f107 SHA512 0d2f6465586a2c30650bfb545211f69f0dfa9a6d71aa8321dc046e7c54aee4a225e3df6e66573d80126aa39e310ffef4e8fbf47cfa3241ec35149eff86a67b29 WHIRLPOOL 11b2a1a3b4e4237cdabbc767e909ec82a7bad68d65bd382cff3216b93b75ad8d88ad4f18bae052d26e24333809c63feda23c989d040d561cb774bdc8519618b9
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusbhp/libusbhp-1.0.2.ebuild,v 1.3 2015/02/16 04:10:17 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Usb Hotplug Library"
|
||||
HOMEPAGE="http://www.aasimon.org/libusbhp/"
|
||||
SRC_URI="http://www.aasimon.org/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=virtual/libudev-147"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--without-debug
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use static-libs || find "${ED}" -name '*.la' -delete
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>base-system</herd>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST ocaml-re-1.2.2.tar.gz 89639 SHA256 fdc5233c8ff14394f39b0137029fd61f36cc17c703cbd54b173a94cdb827d62e SHA512 8b9c4d66b2ee8dcee1910979c23731ef5c89aea9e2a8074445b597e28bd84499b4ff007963f44cb6a599c2610cf87263755ae3e1da192b4d6205422ebd46d0c7 WHIRLPOOL 9797a9064a7365d4fe8a798d9ff4353953826a5058ec8f4d1cc1badd408d4a935196b6ab1c68cf6c8e99f7a6847b7919b2489cd3078d800d6b51478bfb706bce
|
||||
DIST ocaml-re-1.3.0.tar.gz 98358 SHA256 fc6dc2fd6788213a7efee41d2797e7faff3f59b785ed98d00c0bdeeeb144b3bd SHA512 a1bd38801f1ad3cc1f1f1495567f2e6315513c7c75a02fc236ed85d401461ad9580f6a515dbfdf462e7b91f80383cfb15439373dc482a0db4a77b3f1d0d1a264 WHIRLPOOL 3b826283b4da96a88edbdbdceda6099076587c5b85789ccde14b762915369ceae2c335aad504e765cec35f2700f3786c982f00647ea1791f7b6762048e535ee3
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-re/ocaml-re-1.3.0.ebuild,v 1.1 2015/02/16 08:24:46 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
OASIS_BUILD_DOCS=1
|
||||
OASIS_BUILD_TESTS=1
|
||||
|
||||
inherit oasis
|
||||
|
||||
DESCRIPTION="Regular expression library for OCaml"
|
||||
HOMEPAGE="http://github.com/ocaml/ocaml-re"
|
||||
SRC_URI="https://github.com/ocaml/ocaml-re/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2-with-linking-exception"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-ml/ounit )"
|
||||
DOCS=( "CHANGES" "TODO.txt" "README.md" )
|
||||
S="${WORKDIR}/${PN}-${P}"
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/carrot/carrot-0.10.7-r1.ebuild,v 1.1 2015/02/16 02:18:58 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="AMQP Messaging Framework for Python"
|
||||
HOMEPAGE="http://github.com/ask/carrot/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="dev-python/anyjson[${PYTHON_USEDEP}]
|
||||
>=dev-python/amqplib-0.6[${PYTHON_USEDEP}]"
|
||||
DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
# Half of tests fail
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/.build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/carrot/carrot-0.10.7.ebuild,v 1.1 2012/10/25 05:09:47 patrick Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PYTHON_DEPEND=2
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="AMQP Messaging Framework for Python"
|
||||
HOMEPAGE="http://github.com/ask/carrot/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/anyjson
|
||||
>=dev-python/amqplib-0.6
|
||||
dev-python/setuptools"
|
||||
RDEPEND="${DEPEND}"
|
@ -1 +1,2 @@
|
||||
DIST ruby-ldap-0.9.16.gem 65024 SHA256 a068e0b0d52621c2a72583e07211f4795b3cd9496dd6b5cf7a2c8a746018ce21 SHA512 b81a9b24f29a7c40b5d1c020008bfd14666a15c3b407e5495ac7b12e470783d696c8ad25c9a508b9933829695a8ac3fcb52a209fdb4fb7de499308af61a4b832 WHIRLPOOL dea6d8f4c716f3c0408ca2ba11e4fd411916f9afd07a497deb91fe38c2f0440482a893527b8976801a41742da15f3cacc7330c85a26ec1c948e49e0a99a1f432
|
||||
DIST ruby-ldap-0.9.17.gem 66560 SHA256 951ab18e8dbc2b9791555c38833df07e322992d3eb53aefca88a085fc55686c6 SHA512 b6400faa4ae19f3d783810a6b2f7af36e89cbf001aa48a343e1ff6e5f9e74639bb84db2dc58a1465f91130248eaf17767a6c125e1d416aaf7d45ff8c14c3b68e WHIRLPOOL 00b9f4508a94b0c4ecb61e3f3749142b2daa4645d80feccd86d7ed1ff9163a2cc5dcec9d516ebd4b8587573e49abdeadc31427b09e057494f8389b35009ced49
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-ldap/ruby-ldap-0.9.17.ebuild,v 1.1 2015/02/16 06:29:14 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
RUBY_FAKEGEM_EXTRADOC="ChangeLog FAQ NOTES README TODO"
|
||||
|
||||
DESCRIPTION="A Ruby interface to some LDAP libraries"
|
||||
HOMEPAGE="http://ruby-ldap.sourceforge.net/"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-macos"
|
||||
IUSE="ssl"
|
||||
DEPEND=">=net-nds/openldap-2
|
||||
dev-libs/cyrus-sasl
|
||||
ssl? ( dev-libs/openssl )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# Current test set is interactive due to certificate generation and requires
|
||||
# running LDAP daemon
|
||||
RESTRICT="test"
|
||||
|
||||
each_ruby_configure() {
|
||||
local myconf="--with-openldap2"
|
||||
if ! use ssl ; then
|
||||
myconf="${myconf} --without-libcrypto --without-libssl"
|
||||
fi
|
||||
${RUBY} extconf.rb ${myconf} || die "extconf.rb failed"
|
||||
sed -i -e 's:-Wl,--no-undefined::' \
|
||||
-e "s/^ldflags = /ldflags = $\(LDFLAGS\) /" Makefile || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake V=1
|
||||
cp ldap$(get_modname) lib/ || die
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-util/antimicro/antimicro-2.3.3.ebuild,v 1.1 2014/05/27 18:11:24 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils cmake-utils
|
||||
|
||||
DESCRIPTION="Map keyboard and mouse buttons to gamepad buttons"
|
||||
HOMEPAGE="https://github.com/Ryochan7/antimicro"
|
||||
SRC_URI="https://github.com/Ryochan7/antimicro/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
media-libs/libsdl2[joystick]
|
||||
x11-libs/libX11
|
||||
x11-libs/libXtst"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUSE_SDL_2=ON
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1 +1 @@
|
||||
DIST glbsp_src_224.tar.gz 230977 RMD160 6c33d375898f57202993fdc975ade547725f78b5 SHA1 b4dcdefa623199d1e0df5cf98783a06404ea3e0c SHA256 e3b7c4bce21c2f9b77732a9b5920b6877e884b31dd1ed9273776538dba48a75c
|
||||
DIST glbsp_src_224.tar.gz 230977 SHA256 e3b7c4bce21c2f9b77732a9b5920b6877e884b31dd1ed9273776538dba48a75c SHA512 562201093b69ae1db113479f8dd71e474d2d4ea7798b5e156dc096660e0b725a16ba44e8d2bfd332eba89b66d07ac2a1ddd803e75802c8fb3739a420701b2e1a WHIRLPOOL a2ba794848d9cdfceae6a929ac51fbfa230b5df14b4fea717877008ad5a1fd024cfd84dbd5a23be9bae505d368e5004511fca7281d44f60e36ad328c7998322d
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngquant/pngquant-2.3.3.ebuild,v 1.1 2015/02/16 07:49:26 vapier Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="a command-line utility for converting 24/32-bit PNG images to paletted (8-bit) PNGs"
|
||||
HOMEPAGE="http://pngquant.org/"
|
||||
SRC_URI="http://pngquant.org/${P}-src.tar.bz2"
|
||||
|
||||
LICENSE="HPND rwpng"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug lcms openmp cpu_flags_x86_sse2"
|
||||
|
||||
RDEPEND="media-libs/libpng:0=
|
||||
sys-libs/zlib:=
|
||||
lcms? ( media-libs/lcms:2 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
tc-export AR CC
|
||||
# Hand rolled configure script, so not all flags are supported.
|
||||
./configure \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
$(use debug && echo --enable-debug) \
|
||||
$(use_enable cpu_flags_x86_sse2 sse) \
|
||||
$(use openmp && tc-has-openmp && echo --with-openmp) \
|
||||
$(use_with lcms lcms2) \
|
||||
CFLAGS="${CFLAGS} ${CPPFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
doman ${PN}.1
|
||||
dodoc CHANGELOG README.md
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
|
||||
# HG changeset patch
|
||||
# User Sam Lantinga <slouken@libsdl.org>
|
||||
# Date 1329357968 18000
|
||||
# Node ID 62ff1c0a103f685774450be2e5338824a22078bd
|
||||
# Parent 8e98c714bb2ab96de4100a335dacf042963d5068
|
||||
FreeBSD compile fix
|
||||
|
||||
Robert Millan
|
||||
|
||||
src/joystick/bsd/SDL_sysjoystick.c makes the invalid assumption that
|
||||
__FreeBSD_kernel__ implies presence of "ucr_data" struct member. This
|
||||
breaks recent versions of FreeBSD 10-CURRENT, FreeBSD 9-STABLE and
|
||||
Debian GNU/kFreeBSD "wheezy/sid".
|
||||
|
||||
diff -r 8e98c714bb2a -r 62ff1c0a103f src/joystick/bsd/SDL_sysjoystick.c
|
||||
--- a/src/joystick/bsd/SDL_sysjoystick.c Sat Feb 04 18:12:20 2012 -0500
|
||||
+++ b/src/joystick/bsd/SDL_sysjoystick.c Wed Feb 15 21:06:08 2012 -0500
|
||||
@@ -148,7 +148,7 @@
|
||||
static int report_alloc(struct report *, struct report_desc *, int);
|
||||
static void report_free(struct report *);
|
||||
|
||||
-#if defined(USBHID_UCR_DATA) || defined(__FreeBSD_kernel__)
|
||||
+#if defined(USBHID_UCR_DATA)
|
||||
#define REP_BUF_DATA(rep) ((rep)->buf->ucr_data)
|
||||
#elif (defined(__FREEBSD__) && (__FreeBSD_kernel_version > 800063))
|
||||
#define REP_BUF_DATA(rep) ((rep)->buf->ugd_data)
|
||||
|
@ -0,0 +1,2 @@
|
||||
DIST kodi-14.1-generated-addons.tar.xz 71072 SHA256 0666eae88a3214f7577544975524b95a9f55b107cde5124d5d299351427c5d39 SHA512 a26889ba8af33316ac61bbf5a55ec6cd72cb867eac9b6d7c626ff890f3287de8704cf8372a5e2b72d6075ab8c31ba3d8465d1da0c9437065fe6e0171a560142f WHIRLPOOL 34a7067964febd71d5e07333a1ef90c14ad3d7d09e82aa4a3245b8174b068a1b2b31d0d6e5d20a449d11d34701b59611b725c8f37ce61702489c84bda16f227a
|
||||
DIST kodi-14.1.tar.gz 70832109 SHA256 a38059e292cf8523918834e49fcc2d688525ceb7951ddf7f5ee535f4147255d6 SHA512 05dccad279073fc804faf2f179ba370f612d53c823dd333fdd151e05de37eb8202cc981ba48afff695d475bafde9c8f05f562fe09883593a70299a2f098a9849 WHIRLPOOL 464ff2673c9e65466dff73d3c91b8754ee68d64b4a18ebb0b0c6e8efa2da1cc32ab22686530a8469a105bf7a089d8928db64c5c61d272462c13485006875b506
|
@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
# Generate the various interface files that normally requires java.
|
||||
# This makes building the release versions much nicer.
|
||||
|
||||
set -eux
|
||||
|
||||
PV=$1
|
||||
PN=kodi
|
||||
P="${PN}-${PV}"
|
||||
DISTDIR="/usr/portage/distfiles"
|
||||
GITDIR="/usr/local/src/kodi/git"
|
||||
|
||||
if [[ ${PV} != "9999" ]] ; then
|
||||
rm -rf xbmc-*/
|
||||
tar xf ${DISTDIR}/${P}.tar.gz
|
||||
d=$(echo xbmc-*/)
|
||||
else
|
||||
stamp=$(date --date="$(git log -n1 --pretty=format:%ci master)" -u +%Y%m%d)
|
||||
P+="-${stamp}"
|
||||
cd ${GITDIR}
|
||||
d=.
|
||||
fi
|
||||
#cd ${d} && git init . && git add . && git commit -qmm && cd ..
|
||||
make -C ${d} -j -f codegenerator.mk
|
||||
tar="${DISTDIR}/${P}-generated-addons.tar.xz"
|
||||
tar cf - \
|
||||
${d}/xbmc/interfaces/python/generated/*.cpp \
|
||||
${d}/xbmc/interfaces/json-rpc/ServiceDescription.h \
|
||||
| xz > "${tar}"
|
||||
if [[ ${PV} != "9999" ]] ; then
|
||||
rm -rf xbmc-*/
|
||||
fi
|
||||
|
||||
du -b "${tar}"
|
@ -0,0 +1,16 @@
|
||||
http://bugs.gentoo.org/400617
|
||||
|
||||
do not force any particular ABI or FPU or SIMD compiler flags for arm
|
||||
targets. let the toolchain and user CFLAGS control that.
|
||||
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -571,7 +571,7 @@
|
||||
elif test "$target_platform" = "target_raspberry_pi"; then
|
||||
ARCH="arm"
|
||||
use_arch="arm"
|
||||
-elif test "$use_arch" = "arm"; then
|
||||
+elif false; then
|
||||
CFLAGS="$CFLAGS -mno-apcs-stack-check"
|
||||
CXXFLAGS="$CXXFLAGS -mno-apcs-stack-check"
|
||||
FFMPEG_EXTRACFLAGS=""
|
@ -0,0 +1,67 @@
|
||||
http://trac.xbmc.org/ticket/11775
|
||||
|
||||
make mythtv support optional
|
||||
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 9ffae7e..17cc525 100755
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -209,7 +209,7 @@ LIB_DIRS=\
|
||||
lib/cpluff \
|
||||
lib/xbmc-dll-symbols
|
||||
|
||||
-ifeq (@USE_MYSQL@,1)
|
||||
+ifeq (@USE_MYTHTV@,1)
|
||||
LIB_DIRS += lib/cmyth
|
||||
CMYTH=cmyth
|
||||
endif
|
||||
diff --git a/configure.in b/configure.in
|
||||
index d44825f..629d7b4 100755
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -479,6 +479,12 @@ AC_ARG_ENABLE([mysql],
|
||||
[AS_HELP_STRING([--disable-mysql],
|
||||
[disable mysql])],
|
||||
|
||||
+AC_ARG_ENABLE([mythtv],
|
||||
+ [AS_HELP_STRING([--disable-mythtv],
|
||||
+ [disable mythtv])],
|
||||
+ [use_mythtv=$enableval],
|
||||
+ [use_mythtv=yes])
|
||||
+
|
||||
AC_ARG_ENABLE([webserver],
|
||||
[AS_HELP_STRING([--disable-webserver],
|
||||
[disable webserver])],
|
||||
@@ -1080,6 +1086,9 @@ if test "$use_mysql" = "yes"; then
|
||||
else
|
||||
AC_MSG_ERROR($missing_program)
|
||||
fi
|
||||
+ if test "$use_mythtv" = "yes"; then
|
||||
+ AC_DEFINE([HAVE_MYTHTV],[1],["Define to 1 if you want mythtv support"])
|
||||
+ fi
|
||||
fi
|
||||
AC_CHECK_HEADER([ass/ass.h],, AC_MSG_ERROR($missing_library))
|
||||
AC_CHECK_HEADER([mpeg2dec/mpeg2.h],, AC_MSG_ERROR($missing_library))
|
||||
@@ -2372,6 +2381,15 @@ else
|
||||
final_message="$final_message\n MySQL:\tNo"
|
||||
USE_MYSQL=0
|
||||
fi
|
||||
+
|
||||
+if test "$use_mythtv" = "yes"; then
|
||||
+ final_message="$final_message\n MythTV:\tYes"
|
||||
+ USE_MYTHTV=1
|
||||
+else
|
||||
+ final_message="$final_message\n MythTV:\tNo"
|
||||
+ USE_MYTHTV=0
|
||||
+fi
|
||||
+
|
||||
if test "$use_webserver" = "yes"; then
|
||||
final_message="$final_message\n Webserver:\tYes"
|
||||
USE_WEB_SERVER=1
|
||||
@@ -2675,6 +2693,7 @@ AC_SUBST(USE_LIBUDEV)
|
||||
AC_SUBST(USE_LIBUSB)
|
||||
AC_SUBST(USE_LIBCEC)
|
||||
AC_SUBST(USE_MYSQL)
|
||||
+AC_SUBST(USE_MYTHTV)
|
||||
AC_SUBST(USE_WAYLAND)
|
||||
|
@ -0,0 +1,267 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-tv/kodi/kodi-14.1.ebuild,v 1.1 2015/02/16 07:35:00 vapier Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# Does not work with py3 here
|
||||
# It might work with py:2.5 but I didn't test that
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit eutils python-single-r1 multiprocessing autotools
|
||||
|
||||
CODENAME="Helix"
|
||||
case ${PV} in
|
||||
9999)
|
||||
EGIT_REPO_URI="git://github.com/xbmc/xbmc.git"
|
||||
inherit git-2
|
||||
;;
|
||||
*|*_p*)
|
||||
MY_PV=${PV/_p/_r}
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
SRC_URI="http://mirrors.kodi.tv/releases/source/${MY_PV}-${CODENAME}.tar.gz -> ${P}.tar.gz
|
||||
http://mirrors.kodi.tv/releases/source/${MY_P}-generated-addons.tar.xz"
|
||||
# ffmpeg system build is broken #526992
|
||||
#KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S=${WORKDIR}/xbmc-${PV}-${CODENAME}
|
||||
;;
|
||||
esac
|
||||
|
||||
DESCRIPTION="Kodi is a free and open source media-player and entertainment hub"
|
||||
HOMEPAGE="http://kodi.tv/ http://kodi.wiki/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="airplay avahi bluetooth bluray caps cec css debug +fishbmc gles goom java joystick midi mysql nfs +opengl profile +projectm pulseaudio pvr +rsxs rtmp +samba sftp test udisks upnp upower +usb vaapi vdpau webserver +X +xrandr"
|
||||
REQUIRED_USE="
|
||||
pvr? ( mysql )
|
||||
rsxs? ( X )
|
||||
xrandr? ( X )
|
||||
"
|
||||
|
||||
COMMON_DEPEND="${PYTHON_DEPS}
|
||||
app-arch/bzip2
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-i18n/enca
|
||||
airplay? ( app-pda/libplist )
|
||||
dev-libs/boost
|
||||
dev-libs/fribidi
|
||||
dev-libs/libcdio[-minimal]
|
||||
cec? ( >=dev-libs/libcec-2.1 )
|
||||
dev-libs/libpcre[cxx]
|
||||
>=dev-libs/lzo-2.04
|
||||
dev-libs/tinyxml[stl]
|
||||
dev-libs/yajl
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
media-fonts/corefonts
|
||||
media-fonts/roboto
|
||||
media-libs/alsa-lib
|
||||
media-libs/flac
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
>=media-libs/glew-1.5.6
|
||||
media-libs/jasper
|
||||
media-libs/jbigkit
|
||||
>=media-libs/libass-0.9.7
|
||||
bluray? ( media-libs/libbluray )
|
||||
css? ( media-libs/libdvdcss )
|
||||
media-libs/libmad
|
||||
media-libs/libmodplug
|
||||
media-libs/libmpeg2
|
||||
media-libs/libogg
|
||||
media-libs/libpng
|
||||
projectm? ( media-libs/libprojectm )
|
||||
media-libs/libsamplerate
|
||||
joystick? ( media-libs/libsdl2 )
|
||||
>=media-libs/taglib-1.8
|
||||
media-libs/libvorbis
|
||||
media-libs/tiff
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
media-sound/wavpack
|
||||
>=media-video/ffmpeg-2.4:0=[encode]
|
||||
rtmp? ( media-video/rtmpdump )
|
||||
avahi? ( net-dns/avahi )
|
||||
nfs? ( net-fs/libnfs )
|
||||
webserver? ( net-libs/libmicrohttpd[messages] )
|
||||
sftp? ( net-libs/libssh[sftp] )
|
||||
net-misc/curl
|
||||
samba? ( >=net-fs/samba-3.4.6[smbclient(+)] )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
sys-apps/dbus
|
||||
caps? ( sys-libs/libcap )
|
||||
sys-libs/zlib
|
||||
virtual/jpeg
|
||||
usb? ( virtual/libusb )
|
||||
mysql? ( virtual/mysql )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
gles? (
|
||||
virtual/opengl
|
||||
media-libs/mesa[gles2]
|
||||
)
|
||||
vaapi? ( x11-libs/libva[opengl] )
|
||||
vdpau? (
|
||||
|| ( x11-libs/libvdpau >=x11-drivers/nvidia-drivers-180.51 )
|
||||
media-video/ffmpeg[vdpau]
|
||||
)
|
||||
X? (
|
||||
x11-apps/xdpyinfo
|
||||
x11-apps/mesa-progs
|
||||
x11-libs/libXinerama
|
||||
xrandr? ( x11-libs/libXrandr )
|
||||
x11-libs/libXrender
|
||||
)"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!media-tv/xbmc
|
||||
udisks? ( sys-fs/udisks:0 )
|
||||
upower? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/xz-utils
|
||||
dev-lang/swig
|
||||
dev-util/gperf
|
||||
X? ( x11-proto/xineramaproto )
|
||||
dev-util/cmake
|
||||
x86? ( dev-lang/nasm )
|
||||
java? ( virtual/jre )
|
||||
test? ( dev-cpp/gtest )"
|
||||
# Force java for latest git version to avoid having to hand maintain the
|
||||
# generated addons package. #488118
|
||||
[[ ${PV} == "9999" ]] && DEPEND+=" virtual/jre"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
[[ ${PV} == "9999" ]] && git-2_src_unpack || default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-9999-nomythtv.patch
|
||||
epatch "${FILESDIR}"/${PN}-9999-no-arm-flags.patch #400617
|
||||
# The mythtv patch touches configure.ac, so force a regen
|
||||
rm -f configure
|
||||
|
||||
# some dirs ship generated autotools, some dont
|
||||
multijob_init
|
||||
local d
|
||||
for d in $(printf 'f:\n\t@echo $(BOOTSTRAP_TARGETS)\ninclude bootstrap.mk\n' | emake -f - f) ; do
|
||||
[[ -e ${d} ]] && continue
|
||||
pushd ${d/%configure/.} >/dev/null || die
|
||||
AT_NOELIBTOOLIZE="yes" AT_TOPLEVEL_EAUTORECONF="yes" \
|
||||
multijob_child_init eautoreconf
|
||||
popd >/dev/null
|
||||
done
|
||||
multijob_finish
|
||||
elibtoolize
|
||||
|
||||
[[ ${PV} == "9999" ]] && emake -f codegenerator.mk
|
||||
|
||||
# Disable internal func checks as our USE/DEPEND
|
||||
# stuff handles this just fine already #408395
|
||||
export ac_cv_lib_avcodec_ff_vdpau_vc1_decode_picture=yes
|
||||
|
||||
# Fix the final version string showing as "exported"
|
||||
# instead of the SVN revision number.
|
||||
export HAVE_GIT=no GIT_REV=${EGIT_VERSION:-exported}
|
||||
|
||||
# avoid long delays when powerkit isn't running #348580
|
||||
sed -i \
|
||||
-e '/dbus_connection_send_with_reply_and_block/s:-1:3000:' \
|
||||
xbmc/linux/*.cpp || die
|
||||
|
||||
epatch_user #293109
|
||||
|
||||
# Tweak autotool timestamps to avoid regeneration
|
||||
find . -type f -exec touch -r configure {} +
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Disable documentation generation
|
||||
export ac_cv_path_LATEX=no
|
||||
# Avoid help2man
|
||||
export HELP2MAN=$(type -P help2man || echo true)
|
||||
# No configure flage for this #403561
|
||||
export ac_cv_lib_bluetooth_hci_devid=$(usex bluetooth)
|
||||
# Requiring java is asine #434662
|
||||
[[ ${PV} != "9999" ]] && export ac_cv_path_JAVA_EXE=$(which $(usex java java true))
|
||||
|
||||
econf \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--disable-ccache \
|
||||
--disable-optimizations \
|
||||
--with-ffmpeg=shared \
|
||||
$(use_enable airplay) \
|
||||
$(use_enable avahi) \
|
||||
$(use_enable bluray libbluray) \
|
||||
$(use_enable caps libcap) \
|
||||
$(use_enable cec libcec) \
|
||||
$(use_enable css dvdcss) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable fishbmc) \
|
||||
$(use_enable gles) \
|
||||
$(use_enable goom) \
|
||||
$(use_enable joystick) \
|
||||
$(use_enable midi mid) \
|
||||
$(use_enable mysql) \
|
||||
$(use_enable nfs) \
|
||||
$(use_enable opengl gl) \
|
||||
$(use_enable profile profiling) \
|
||||
$(use_enable projectm) \
|
||||
$(use_enable pulseaudio pulse) \
|
||||
$(use_enable pvr mythtv) \
|
||||
$(use_enable rsxs) \
|
||||
$(use_enable rtmp) \
|
||||
$(use_enable samba) \
|
||||
$(use_enable sftp ssh) \
|
||||
$(use_enable usb libusb) \
|
||||
$(use_enable test gtest) \
|
||||
$(use_enable upnp) \
|
||||
$(use_enable vaapi) \
|
||||
$(use_enable vdpau) \
|
||||
$(use_enable webserver) \
|
||||
$(use_enable X x11) \
|
||||
$(use_enable xrandr)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm "${ED}"/usr/share/doc/*/{LICENSE.GPL,copying.txt}*
|
||||
|
||||
domenu tools/Linux/kodi.desktop
|
||||
newicon media/icon48x48.png kodi.png
|
||||
|
||||
# Remove optional addons (platform specific and disabled by USE flag).
|
||||
local disabled_addons=(
|
||||
repository.pvr-{android,ios,osx{32,64},win32}.xbmc.org
|
||||
visualization.dxspectrum
|
||||
)
|
||||
use fishbmc || disabled_addons+=( visualization.fishbmc )
|
||||
use projectm || disabled_addons+=( visualization.{milkdrop,projectm} )
|
||||
use rsxs || disabled_addons+=( screensaver.rsxs.{euphoria,plasma,solarwinds} )
|
||||
rm -rf "${disabled_addons[@]/#/${ED}/usr/share/kodi/addons/}"
|
||||
|
||||
# Remove fonconfig settings that are used only on MacOSX.
|
||||
# Can't be patched upstream because they just find all files and install
|
||||
# them into same structure like they have in git.
|
||||
rm -rf "${ED}"/usr/share/kodi/system/players/dvdplayer/etc
|
||||
|
||||
# Replace bundled fonts with system ones
|
||||
# teletext.ttf: unknown
|
||||
# bold-caps.ttf: unknown
|
||||
# roboto: roboto-bold, roboto-regular
|
||||
# arial.ttf: font mashed from droid/roboto, not removed wrt bug#460514
|
||||
rm -rf "${ED}"/usr/share/kodi/addons/skin.confluence/fonts/Roboto-*
|
||||
dosym /usr/share/fonts/roboto/Roboto-Regular.ttf \
|
||||
/usr/share/kodi/addons/skin.confluence/fonts/Roboto-Regular.ttf
|
||||
dosym /usr/share/fonts/roboto/Roboto-Bold.ttf \
|
||||
/usr/share/kodi/addons/skin.confluence/fonts/Roboto-Bold.ttf
|
||||
|
||||
python_domodule tools/EventClients/lib/python/xbmcclient.py
|
||||
python_newscript "tools/EventClients/Clients/Kodi Send/kodi-send.py" kodi-send
|
||||
}
|
@ -0,0 +1,266 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-tv/kodi/kodi-9999.ebuild,v 1.1 2015/02/16 07:35:00 vapier Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# Does not work with py3 here
|
||||
# It might work with py:2.5 but I didn't test that
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit eutils python-single-r1 multiprocessing autotools
|
||||
|
||||
CODENAME="Helix"
|
||||
case ${PV} in
|
||||
9999)
|
||||
EGIT_REPO_URI="git://github.com/xbmc/xbmc.git"
|
||||
inherit git-2
|
||||
;;
|
||||
*|*_p*)
|
||||
MY_PV=${PV/_p/_r}
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
SRC_URI="http://mirrors.kodi.tv/releases/source/${MY_PV}-${CODENAME}.tar.gz -> ${P}.tar.gz
|
||||
http://mirrors.kodi.tv/releases/source/${MY_P}-generated-addons.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S=${WORKDIR}/xbmc-${PV}-${CODENAME}
|
||||
;;
|
||||
esac
|
||||
|
||||
DESCRIPTION="Kodi is a free and open source media-player and entertainment hub"
|
||||
HOMEPAGE="http://kodi.tv/ http://kodi.wiki/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="airplay avahi bluetooth bluray caps cec css debug +fishbmc gles goom java joystick midi mysql nfs +opengl profile +projectm pulseaudio pvr +rsxs rtmp +samba sftp test udisks upnp upower +usb vaapi vdpau webserver +X +xrandr"
|
||||
REQUIRED_USE="
|
||||
pvr? ( mysql )
|
||||
rsxs? ( X )
|
||||
xrandr? ( X )
|
||||
"
|
||||
|
||||
COMMON_DEPEND="${PYTHON_DEPS}
|
||||
app-arch/bzip2
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-i18n/enca
|
||||
airplay? ( app-pda/libplist )
|
||||
dev-libs/boost
|
||||
dev-libs/fribidi
|
||||
dev-libs/libcdio[-minimal]
|
||||
cec? ( >=dev-libs/libcec-2.1 )
|
||||
dev-libs/libpcre[cxx]
|
||||
>=dev-libs/lzo-2.04
|
||||
dev-libs/tinyxml[stl]
|
||||
dev-libs/yajl
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
media-fonts/corefonts
|
||||
media-fonts/roboto
|
||||
media-libs/alsa-lib
|
||||
media-libs/flac
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
>=media-libs/glew-1.5.6
|
||||
media-libs/jasper
|
||||
media-libs/jbigkit
|
||||
>=media-libs/libass-0.9.7
|
||||
bluray? ( media-libs/libbluray )
|
||||
css? ( media-libs/libdvdcss )
|
||||
media-libs/libmad
|
||||
media-libs/libmodplug
|
||||
media-libs/libmpeg2
|
||||
media-libs/libogg
|
||||
media-libs/libpng
|
||||
projectm? ( media-libs/libprojectm )
|
||||
media-libs/libsamplerate
|
||||
joystick? ( media-libs/libsdl2 )
|
||||
>=media-libs/taglib-1.8
|
||||
media-libs/libvorbis
|
||||
media-libs/tiff
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
media-sound/wavpack
|
||||
>=media-video/ffmpeg-2.4:0=[encode]
|
||||
rtmp? ( media-video/rtmpdump )
|
||||
avahi? ( net-dns/avahi )
|
||||
nfs? ( net-fs/libnfs )
|
||||
webserver? ( net-libs/libmicrohttpd[messages] )
|
||||
sftp? ( net-libs/libssh[sftp] )
|
||||
net-misc/curl
|
||||
samba? ( >=net-fs/samba-3.4.6[smbclient(+)] )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
sys-apps/dbus
|
||||
caps? ( sys-libs/libcap )
|
||||
sys-libs/zlib
|
||||
virtual/jpeg
|
||||
usb? ( virtual/libusb )
|
||||
mysql? ( virtual/mysql )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
gles? (
|
||||
virtual/opengl
|
||||
media-libs/mesa[gles2]
|
||||
)
|
||||
vaapi? ( x11-libs/libva[opengl] )
|
||||
vdpau? (
|
||||
|| ( x11-libs/libvdpau >=x11-drivers/nvidia-drivers-180.51 )
|
||||
media-video/ffmpeg[vdpau]
|
||||
)
|
||||
X? (
|
||||
x11-apps/xdpyinfo
|
||||
x11-apps/mesa-progs
|
||||
x11-libs/libXinerama
|
||||
xrandr? ( x11-libs/libXrandr )
|
||||
x11-libs/libXrender
|
||||
)"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!media-tv/xbmc
|
||||
udisks? ( sys-fs/udisks:0 )
|
||||
upower? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/xz-utils
|
||||
dev-lang/swig
|
||||
dev-util/gperf
|
||||
X? ( x11-proto/xineramaproto )
|
||||
dev-util/cmake
|
||||
x86? ( dev-lang/nasm )
|
||||
java? ( virtual/jre )
|
||||
test? ( dev-cpp/gtest )"
|
||||
# Force java for latest git version to avoid having to hand maintain the
|
||||
# generated addons package. #488118
|
||||
[[ ${PV} == "9999" ]] && DEPEND+=" virtual/jre"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
[[ ${PV} == "9999" ]] && git-2_src_unpack || default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-9999-nomythtv.patch
|
||||
epatch "${FILESDIR}"/${PN}-9999-no-arm-flags.patch #400617
|
||||
# The mythtv patch touches configure.ac, so force a regen
|
||||
rm -f configure
|
||||
|
||||
# some dirs ship generated autotools, some dont
|
||||
multijob_init
|
||||
local d
|
||||
for d in $(printf 'f:\n\t@echo $(BOOTSTRAP_TARGETS)\ninclude bootstrap.mk\n' | emake -f - f) ; do
|
||||
[[ -e ${d} ]] && continue
|
||||
pushd ${d/%configure/.} >/dev/null || die
|
||||
AT_NOELIBTOOLIZE="yes" AT_TOPLEVEL_EAUTORECONF="yes" \
|
||||
multijob_child_init eautoreconf
|
||||
popd >/dev/null
|
||||
done
|
||||
multijob_finish
|
||||
elibtoolize
|
||||
|
||||
[[ ${PV} == "9999" ]] && emake -f codegenerator.mk
|
||||
|
||||
# Disable internal func checks as our USE/DEPEND
|
||||
# stuff handles this just fine already #408395
|
||||
export ac_cv_lib_avcodec_ff_vdpau_vc1_decode_picture=yes
|
||||
|
||||
# Fix the final version string showing as "exported"
|
||||
# instead of the SVN revision number.
|
||||
export HAVE_GIT=no GIT_REV=${EGIT_VERSION:-exported}
|
||||
|
||||
# avoid long delays when powerkit isn't running #348580
|
||||
sed -i \
|
||||
-e '/dbus_connection_send_with_reply_and_block/s:-1:3000:' \
|
||||
xbmc/linux/*.cpp || die
|
||||
|
||||
epatch_user #293109
|
||||
|
||||
# Tweak autotool timestamps to avoid regeneration
|
||||
find . -type f -exec touch -r configure {} +
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Disable documentation generation
|
||||
export ac_cv_path_LATEX=no
|
||||
# Avoid help2man
|
||||
export HELP2MAN=$(type -P help2man || echo true)
|
||||
# No configure flage for this #403561
|
||||
export ac_cv_lib_bluetooth_hci_devid=$(usex bluetooth)
|
||||
# Requiring java is asine #434662
|
||||
[[ ${PV} != "9999" ]] && export ac_cv_path_JAVA_EXE=$(which $(usex java java true))
|
||||
|
||||
econf \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--disable-ccache \
|
||||
--disable-optimizations \
|
||||
--with-ffmpeg=shared \
|
||||
$(use_enable airplay) \
|
||||
$(use_enable avahi) \
|
||||
$(use_enable bluray libbluray) \
|
||||
$(use_enable caps libcap) \
|
||||
$(use_enable cec libcec) \
|
||||
$(use_enable css dvdcss) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable fishbmc) \
|
||||
$(use_enable gles) \
|
||||
$(use_enable goom) \
|
||||
$(use_enable joystick) \
|
||||
$(use_enable midi mid) \
|
||||
$(use_enable mysql) \
|
||||
$(use_enable nfs) \
|
||||
$(use_enable opengl gl) \
|
||||
$(use_enable profile profiling) \
|
||||
$(use_enable projectm) \
|
||||
$(use_enable pulseaudio pulse) \
|
||||
$(use_enable pvr mythtv) \
|
||||
$(use_enable rsxs) \
|
||||
$(use_enable rtmp) \
|
||||
$(use_enable samba) \
|
||||
$(use_enable sftp ssh) \
|
||||
$(use_enable usb libusb) \
|
||||
$(use_enable test gtest) \
|
||||
$(use_enable upnp) \
|
||||
$(use_enable vaapi) \
|
||||
$(use_enable vdpau) \
|
||||
$(use_enable webserver) \
|
||||
$(use_enable X x11) \
|
||||
$(use_enable xrandr)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm "${ED}"/usr/share/doc/*/{LICENSE.GPL,copying.txt}*
|
||||
|
||||
domenu tools/Linux/kodi.desktop
|
||||
newicon media/icon48x48.png kodi.png
|
||||
|
||||
# Remove optional addons (platform specific and disabled by USE flag).
|
||||
local disabled_addons=(
|
||||
repository.pvr-{android,ios,osx{32,64},win32}.xbmc.org
|
||||
visualization.dxspectrum
|
||||
)
|
||||
use fishbmc || disabled_addons+=( visualization.fishbmc )
|
||||
use projectm || disabled_addons+=( visualization.{milkdrop,projectm} )
|
||||
use rsxs || disabled_addons+=( screensaver.rsxs.{euphoria,plasma,solarwinds} )
|
||||
rm -rf "${disabled_addons[@]/#/${ED}/usr/share/kodi/addons/}"
|
||||
|
||||
# Remove fonconfig settings that are used only on MacOSX.
|
||||
# Can't be patched upstream because they just find all files and install
|
||||
# them into same structure like they have in git.
|
||||
rm -rf "${ED}"/usr/share/kodi/system/players/dvdplayer/etc
|
||||
|
||||
# Replace bundled fonts with system ones
|
||||
# teletext.ttf: unknown
|
||||
# bold-caps.ttf: unknown
|
||||
# roboto: roboto-bold, roboto-regular
|
||||
# arial.ttf: font mashed from droid/roboto, not removed wrt bug#460514
|
||||
rm -rf "${ED}"/usr/share/kodi/addons/skin.confluence/fonts/Roboto-*
|
||||
dosym /usr/share/fonts/roboto/Roboto-Regular.ttf \
|
||||
/usr/share/kodi/addons/skin.confluence/fonts/Roboto-Regular.ttf
|
||||
dosym /usr/share/fonts/roboto/Roboto-Bold.ttf \
|
||||
/usr/share/kodi/addons/skin.confluence/fonts/Roboto-Bold.ttf
|
||||
|
||||
python_domodule tools/EventClients/lib/python/xbmcclient.py
|
||||
python_newscript "tools/EventClients/Clients/Kodi Send/kodi-send.py" kodi-send
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>xbox</herd>
|
||||
<use>
|
||||
<flag name='airplay'>enable AirPlay support</flag>
|
||||
<flag name='bluray'>Enable playback of Blu-ray filesystems</flag>
|
||||
<flag name='cec'>Enable support for HDMI-CEC devices via libcec</flag>
|
||||
<flag name='fishbmc'>Enable fishBMC visualization plugin</flag>
|
||||
<flag name='gles'>Enable support for GLES</flag>
|
||||
<flag name='goom'>Enable GOOM visualization plugin</flag>
|
||||
<flag name='midi'>Support MIDI files</flag>
|
||||
<flag name='nfs'>Enable NFS client support</flag>
|
||||
<flag name='projectm'>Enable projectM visualization plugin</flag>
|
||||
<flag name='pvr'>Enable MythTV support</flag>
|
||||
<flag name='rtmp'>Enable Real Time Messaging Protocol using librtmp</flag>
|
||||
<flag name='rsxs'>Enable really slick X screensavers</flag>
|
||||
<flag name='sftp'>Support browsing files over SFTP</flag>
|
||||
<flag name='webserver'>Enable internal webserver</flag>
|
||||
<flag name='xrandr'>Support X randr extension</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<bugs-to>http://trac.kodi.tv/</bugs-to>
|
||||
<remote-id type="github">xbmc/xbmc</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue