parent
ecd2e060d5
commit
a4ca31d374
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST open-vm-tools-10.1.10-6082533.tar.gz 5111726 BLAKE2B 22e2e901c542ae14b7537bc26ff848359f30bde6824a16968b70070dd6e57c92fbf76dca0d02e35ef45bda257725e207632b0602a4336bd2d9c97d10fb094967 SHA512 60c52a24509cb0630f2ad649fe6717fefff624fc2a5c736ced35cbdb8f639264d482e063e8140eedb39216adfb1231d58232bfef0233ebc477ba4f9a732c5965
|
||||
DIST open-vm-tools-10.1.15-6677369.tar.gz 5153995 BLAKE2B 03c6b359df8f42f1ba65331dcac67e8ce86b0fce9a572c1665d3f385cae14f1757611d3948d30bb5b2e40bb2b4673bb244c45f56098faf09d6de515bb937ea3f SHA512 fe3699a7f704bdadc4c274c963d177f4700067e7436074554b7cf113ffa341ad0e4753016214f947418fd5a7cb4a6f2c0342acf074b6b414b3fd18fd2ea2bc58
|
||||
DIST open-vm-tools-10.2.5-8068406.tar.gz 4818035 BLAKE2B 87e3edc42afceaf9efe69ae8cbd1abfbbf959fe09a721dbe4737ca30c6b57dcf1d8bff23bb3ed3d2236c31e7f3e6fd4d10a689b40b3b725eb580609a68bb7090 SHA512 da2f26b4b22e195af111cc16d5819aeb963f0dfa18b5d2677d897549836ec8679808315646f7f86ae36862df9e623bbcb5d553dae97a68b3ef928a5c07ea2e68
|
||||
|
@ -0,0 +1,45 @@
|
||||
From 75505fed193fc3779560b57c1b0d6d4209b05bf9 Mon Sep 17 00:00:00 2001
|
||||
From: Xiami <i@f2light.com>
|
||||
Date: Thu, 14 Jun 2018 16:23:00 +0800
|
||||
Subject: [PATCH] lib/dynxdr: for libtirpc
|
||||
|
||||
glibc-2.26 do not provide RPC support by default.
|
||||
This workaround only works for Gentoo as ebuild forces libtirpc.
|
||||
---
|
||||
open-vm-tools/lib/dynxdr/dynxdr.c | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/open-vm-tools/lib/dynxdr/dynxdr.c b/open-vm-tools/lib/dynxdr/dynxdr.c
|
||||
index 95fdc7e2..d3182733 100644
|
||||
--- a/open-vm-tools/lib/dynxdr/dynxdr.c
|
||||
+++ b/open-vm-tools/lib/dynxdr/dynxdr.c
|
||||
@@ -55,7 +55,7 @@ typedef struct DynXdrData {
|
||||
* Mac OS X, FreeBSD and Solaris don't take a const parameter to the
|
||||
* "x_getpostn" function.
|
||||
*/
|
||||
-#if defined(__APPLE__) || defined(__FreeBSD__) || defined(sun)
|
||||
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(sun) || defined(_TIRPC_XDR_H)
|
||||
# define DYNXDR_GETPOS_CONST
|
||||
#else
|
||||
# define DYNXDR_GETPOS_CONST const
|
||||
@@ -172,7 +172,7 @@ DynXdrSetPos(XDR *xdrs, // IN
|
||||
}
|
||||
|
||||
|
||||
-#if defined(__GLIBC__) || (defined(sun) && (defined(_LP64) || defined(_KERNEL)))
|
||||
+#if (defined(__GLIBC__) && !defined(_TIRPC_XDR_H)) || (defined(sun) && (defined(_LP64) || defined(_KERNEL)))
|
||||
/*
|
||||
*-----------------------------------------------------------------------------
|
||||
*
|
||||
@@ -322,7 +322,7 @@ DynXdr_Create(XDR *in) // IN
|
||||
DynXdrSetPos, /* x_setpostn */
|
||||
DynXdrInline, /* x_inline */
|
||||
NULL, /* x_destroy */
|
||||
-#if defined(__GLIBC__)
|
||||
+#if defined(__GLIBC__) && !defined(_TIRPC_XDR_H)
|
||||
NULL, /* x_getint32 */
|
||||
DynXdrPutInt32, /* x_putint32 */
|
||||
#elif defined(__APPLE__)
|
||||
--
|
||||
2.16.4
|
||||
|
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=VGAuth Service for open-vm-tools
|
||||
Documentation=https://github.com/vmware/open-vm-tools
|
||||
ConditionVirtualization=vmware
|
||||
PartOf=vmtoolsd.service
|
||||
|
||||
[Service]
|
||||
# For dev-libs/xerces-c[iconv,-icu]
|
||||
EnvironmentFile=-/etc/env.d/50xerces-c
|
||||
ExecStart=/usr/bin/VGAuthService -s
|
||||
TimeoutStopSec=5
|
||||
|
||||
[Install]
|
||||
RequiredBy=vmtoolsd.service
|
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Service for virtual machines hosted on VMware
|
||||
Documentation=https://github.com/vmware/open-vm-tools
|
||||
ConditionVirtualization=vmware
|
||||
Requires=vgauthd.service
|
||||
After=vgauthd.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/vmtoolsd
|
||||
TimeoutStopSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Also=vgauthd.service
|
@ -0,0 +1,163 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools flag-o-matic linux-info pam systemd toolchain-funcs user
|
||||
|
||||
DESCRIPTION="Opensourced tools for VMware guests"
|
||||
HOMEPAGE="https://github.com/vmware/open-vm-tools"
|
||||
MY_P="${P}-8068406"
|
||||
SRC_URI="https://github.com/vmware/open-vm-tools/releases/download/stable-${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="X caf +deploypkg +dnet doc +fuse +grabbitmqproxy gtkmm +icu multimon pam +resolutionkms +ssl static-libs test +vgauth +xml-security-c xmlsec"
|
||||
REQUIRED_USE="
|
||||
multimon? ( X )
|
||||
vgauth? (
|
||||
^^ ( xmlsec xml-security-c )
|
||||
ssl
|
||||
)
|
||||
caf? ( vgauth ssl )
|
||||
grabbitmqproxy? ( ssl )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib
|
||||
net-libs/libtirpc
|
||||
deploypkg? ( dev-libs/libmspack )
|
||||
fuse? ( sys-fs/fuse:0 )
|
||||
pam? ( virtual/pam )
|
||||
ssl? ( dev-libs/openssl:0 )
|
||||
vgauth? (
|
||||
xml-security-c? ( dev-libs/xerces-c dev-libs/xml-security-c )
|
||||
xmlsec? ( dev-libs/libxml2 dev-libs/xmlsec )
|
||||
)
|
||||
X? (
|
||||
x11-libs/libXext
|
||||
multimon? ( x11-libs/libXinerama )
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXtst
|
||||
x11-libs/libSM
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3
|
||||
gtkmm? (
|
||||
dev-cpp/gtkmm:3.0
|
||||
dev-libs/libsigc++:2
|
||||
)
|
||||
)
|
||||
dnet? ( dev-libs/libdnet )
|
||||
icu? ( dev-libs/icu:= )
|
||||
caf? (
|
||||
dev-libs/log4cpp
|
||||
net-libs/rabbitmq-c
|
||||
)
|
||||
resolutionkms? (
|
||||
x11-libs/libdrm
|
||||
virtual/libudev
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
net-libs/rpcsvc-proto
|
||||
doc? ( app-doc/doxygen )
|
||||
test? ( dev-util/cunit )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/10.1.0-mount.vmhgfs.patch"
|
||||
"${FILESDIR}/10.1.0-Werror.patch"
|
||||
"${FILESDIR}/10.2.5-libtirpc.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
local CONFIG_CHECK="~VMWARE_BALLOON ~VMWARE_PVSCSI ~VMXNET3"
|
||||
use X && CONFIG_CHECK+=" ~DRM_VMWGFX"
|
||||
kernel_is -lt 3 9 || CONFIG_CHECK+=" ~VMWARE_VMCI ~VMWARE_VMCI_VSOCKETS"
|
||||
kernel_is -lt 3 || CONFIG_CHECK+=" ~FUSE_FS"
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply -p2 "${PATCHES[@]}"
|
||||
eapply_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# On >=sys-libs/glibc-2.26, SunRPC no longer provided
|
||||
# Use libtirpc and rpcsvc-proto instead
|
||||
append-cppflags "$($(tc-getPKG_CONFIG) --cflags libtirpc)"
|
||||
export LIBVMTOOLS_LIBADD="$($(tc-getPKG_CONFIG) --libs libtirpc)"
|
||||
local myeconfargs=(
|
||||
--without-root-privileges
|
||||
$(use_enable multimon)
|
||||
$(use_with X x)
|
||||
$(use_with X gtk3)
|
||||
$(use_with gtkmm gtkmm3)
|
||||
$(use_enable doc docs)
|
||||
$(use_enable test tests)
|
||||
$(use_enable resolutionkms)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable deploypkg)
|
||||
$(use_enable grabbitmqproxy)
|
||||
$(use_with pam)
|
||||
$(use_enable vgauth)
|
||||
$(use vgauth && use_enable xmlsec xmlsec1)
|
||||
$(use vgauth && use_enable xml-security-c xmlsecurity)
|
||||
$(use_enable caf)
|
||||
$(use_with dnet)
|
||||
$(use_with icu)
|
||||
)
|
||||
# Avoid a bug in configure.ac
|
||||
use ssl || myeconfargs+=( --without-ssl )
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
if use pam; then
|
||||
rm "${ED%/}"/etc/pam.d/vmtoolsd || die
|
||||
pamd_mimic_system vmtoolsd auth account
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools
|
||||
newconfd "${FILESDIR}/open-vm-tools.confd" vmware-tools
|
||||
|
||||
if use vgauth; then
|
||||
systemd_newunit "${FILESDIR}"/vmtoolsd.vgauth.service vmtoolsd.service
|
||||
systemd_dounit "${FILESDIR}"/vgauthd.service
|
||||
else
|
||||
systemd_dounit "${FILESDIR}"/vmtoolsd.service
|
||||
fi
|
||||
|
||||
# Replace mount.vmhgfs with a wrapper
|
||||
mv "${ED%/}"/usr/sbin/{mount.vmhgfs,hgfsmounter} || die
|
||||
dosbin "${FILESDIR}/mount.vmhgfs"
|
||||
|
||||
# Make fstype = vmhgfs-fuse work in fstab
|
||||
dosym vmhgfs-fuse /usr/bin/mount.vmhgfs-fuse
|
||||
|
||||
if use X; then
|
||||
fperms 4711 /usr/bin/vmware-user-suid-wrapper
|
||||
dobin scripts/common/vmware-xdg-detect-de
|
||||
|
||||
elog "To be able to use the drag'n'drop feature of VMware for file"
|
||||
elog "exchange, please add the users to the 'vmware' group."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
enewgroup vmware
|
||||
}
|
Binary file not shown.
@ -0,0 +1,148 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils flag-o-matic java-pkg-opt-2 multilib
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="free, small, and standard compliant Prolog compiler"
|
||||
HOMEPAGE="http://www.swi-prolog.org/"
|
||||
SRC_URI="http://www.swi-prolog.org/download/devel/src/swipl-${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="archive berkdb debug doc +gmp hardened java +libedit libressl minimal odbc pcre readline ssl static-libs test uuid zlib X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:=
|
||||
archive? ( app-arch/libarchive )
|
||||
berkdb? ( >=sys-libs/db-4:= )
|
||||
zlib? ( sys-libs/zlib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
pcre? ( dev-libs/libpcre )
|
||||
readline? ( sys-libs/readline:= )
|
||||
libedit? ( dev-libs/libedit )
|
||||
gmp? ( dev-libs/gmp:0 )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
java? ( >=virtual/jdk-1.7:= )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
X? (
|
||||
virtual/jpeg:0
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-base/xorg-proto )
|
||||
java? ( test? ( =dev-java/junit-3.8* ) )"
|
||||
|
||||
S="${WORKDIR}/swipl-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
if [[ -d "${WORKDIR}"/${PV} ]] ; then
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
fi
|
||||
|
||||
if ! use uuid; then
|
||||
mv packages/clib/uuid.pl packages/clib/uuid.pl.unused || die
|
||||
fi
|
||||
|
||||
# OSX/Intel ld doesn't like an archive without table of contents
|
||||
sed -i -e 's/-cru/-scru/' packages/nlp/libstemmer_c/Makefile.pl || die
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
use ppc && append-flags -mno-altivec
|
||||
use hardened && append-flags -fno-unit-at-a-time
|
||||
use debug && append-flags -DO_DEBUG
|
||||
|
||||
# ARCH is used in the configure script to figure out host and target
|
||||
# specific stuff
|
||||
export ARCH=${CHOST}
|
||||
|
||||
export CC_FOR_BUILD=$(tc-getBUILD_CC)
|
||||
|
||||
cd "${S}"/src || die
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_enable gmp) \
|
||||
$(use_enable static-libs static) \
|
||||
--enable-shared \
|
||||
--enable-custom-flags COFLAGS="${CFLAGS} -DOF=_Z_OF"
|
||||
|
||||
if ! use minimal ; then
|
||||
local jpltestconf
|
||||
if use java && use test ; then
|
||||
jpltestconf="--with-junit=$(java-config --classpath junit)"
|
||||
fi
|
||||
|
||||
cd "${S}/packages" || die
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_with archive) \
|
||||
$(use_with berkdb bdb ) \
|
||||
$(use_with java jpl) \
|
||||
${jpltestconf} \
|
||||
$(use_with libedit) \
|
||||
$(use_with pcre) \
|
||||
$(use_with odbc) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl) \
|
||||
$(use_with X xpce) \
|
||||
$(use_with zlib) \
|
||||
COFLAGS='"${CFLAGS}"'
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src || die
|
||||
emake
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages" || die
|
||||
emake
|
||||
./report-failed || die "Cannot report failed packages"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/src" || die
|
||||
emake check
|
||||
|
||||
if ! use minimal ; then
|
||||
unset DISPLAY
|
||||
cd "${S}/packages" || die
|
||||
emake \
|
||||
USE_PUBLIC_NETWORK_TESTS=false \
|
||||
USE_ODBC_TESTS=false \
|
||||
check
|
||||
./report-failed || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" install
|
||||
|
||||
if ! use minimal ; then
|
||||
emake -C packages DESTDIR="${D}" install
|
||||
if use doc ; then
|
||||
emake -C packages DESTDIR="${D}" html-install
|
||||
fi
|
||||
./packages/report-failed || die "Cannot report failed packages"
|
||||
fi
|
||||
|
||||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README.md VERSION
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST mercurial-4.5.2.tar.gz 5779915 BLAKE2B 9abc5a8bafc43bc8e930bb51aa2e57397cd5858dc7bb31d9a37795a4e2799dc03b57130b23e29f89a07bd7502f136594a03d1a4bd5dfd04e2e968213b50413da SHA512 f70e40cba72b7955f0ecec9c1f53ffffac26f206188617cb182e22ce4f43dc8b970ce46d12c516ef88480c3fa076a59afcddd736dffb642d8e23befaf45b4941
|
||||
DIST mercurial-4.5.3.tar.gz 5884837 BLAKE2B 61e61624cb397786b7a4f6ed62a3ba0c2ed7cbacc5918341d014a7e0fd9bbe07c91def00539411e71d231d18060de8461bef05590626bf1318691f791e0ad2b5 SHA512 9c23ffefb0a194b5a88ee783186347c21e7d973524ba40119439702953b35b01ad6fbc32ce09ae169f1020963e92312a39321b1da3ffe06db1d44158761abbec
|
||||
DIST mercurial-4.6.1.tar.gz 6407380 BLAKE2B 02663a11c56bbd05f123a0903463d7e95cdf3f2e553b0f81b365b4ca296c15bccd735487162870a4e38253c6c0cb1d8f0cf1bbb1b05b3c3b721f2209e4e1b2ec SHA512 0c7737ca803691b135b4906cc527b20595e314009096d8a19f37814ee192b182e7c5360fbf993f632d6071da1f9fca38677e7190c14ed92bafa8add72a4a27d9
|
||||
DIST mercurial-4.6.tar.gz 6226745 BLAKE2B 9304fff7f6cc67523e9d1c36aee110f2cfbcf2f059f45072e9175b6cb057273ff13e5823bc7831ac04de2e40b54fa660051861d42426c85b0a62b2c759aaff60 SHA512 2a7e94a338727afc97aab9c33ce4810a17088f5f477a83b581dcbf594e455062e69e6a3782f1665b24ffc011963b0eead6f7e637a63f241d256378d30b006c45
|
||||
DIST mercurial-4.6.2.tar.gz 6407989 BLAKE2B 22aa121b2544e3597f2ea4d3a7a80b3b8f5ca6f9de15326dbee555ca3d14b8a552042c4448aae17b1c015b4f302c3512c204f17a834b758f51fbcc2455ed4e6f SHA512 71afb9ed3f62b1b946563c55851dda1fc8b724afe82a4a253c7f4719ae9e1160d5f9644bed7fd27ee3a21d8e682352364fc9f47bafa552cd4cd7fac7c0d42bdd
|
||||
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST nml-0.4.4.tar.gz 377998 BLAKE2B a65df2c371c1b1dda2469a968372f21f9f27e9739c8d8a9a0f582c126169921ee3ffc9745f6ef4ac21aebdeea35fd26385d3149e84d50381c4796b71b378571f SHA512 fd7b8d7abfc8b5ea694eedf00bbc4069a82de942178a58ec05e9d3efe7c8663103ffb6b98f7614ce165eb7cba42cb4c7589f77fb67dd95eb6293f62b3179c7b0
|
||||
DIST nml-0.4.5.tar.gz 378578 BLAKE2B 1283cdcabd4cbaf12dda926b89c88a3942e9e4469879812abe372facd2c41ff20af0df792bbdadf71d9d3ad8d72e98e293fd903c880e77d3e4ee8a1b73e36ca9 SHA512 64b2f46a1c2e37fce8f51231094e30334f368b0db39c6a3977a144a798d8034d1abbe7c14af3921eb81f4b7caa193e7e53ccb9e27acd113e0407926b109ca952
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{4,5,6} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Compiler of NML files into grf/nfo files"
|
||||
HOMEPAGE="https://dev.openttdcoop.org/projects/nml"
|
||||
SRC_URI="http://bundles.openttdcoop.org/nml/releases/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
RDEPEND="dev-python/pillow[zlib,${PYTHON_USEDEP}]
|
||||
dev-python/ply[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
DOCS=( docs/{changelog,readme}.txt )
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.4.4-pillow3.patch )
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
doman docs/nmlc.1
|
||||
}
|
Binary file not shown.
@ -1,4 +1,3 @@
|
||||
DIST harfbuzz-1.7.2.tar.bz2 1708416 BLAKE2B d182bdfa163e07ff41bf36e30373470bf0dded24b1c748f1114f09b3aec628f41111c4b3d6830c3f0d46206d5468816e3efb495a023747825adcdf2a9b516e39 SHA512 a895c96a1c4096622c797a5a877e80529ce63e3bd3adea9f68994b32e13e7b3be14cdfe824d338f48b12f49de537f7d0f6db14f422ea896697667c672daeb1cc
|
||||
DIST harfbuzz-1.7.6.tar.bz2 2586909 BLAKE2B 0ae5902b9fe00a4f05a5dc407d698195920454efff79be10f1d85af5430d8bde7df071ba226b978c860d1dd8778a8259f330ab633a1aaa416a4451888fa9ae6a SHA512 259656574b1ec2916ada951b759a591f45c11c5c639fa29831e06320312bf951f4f5ef6306f9ffc373abf0d40dbf944db918d4c54aca3bd7eab2c3a886db7a68
|
||||
DIST harfbuzz-1.8.0.tar.bz2 3793974 BLAKE2B d6f6a58e1fe2778f5007e73abc90ccd5bed3b170f27ef1a656fcad824a410b2f4d7f560ce01e5dc87ad97dea0bc926c7d49f2c9e87fec5b7c84cac6be4373afc SHA512 90cccdaa45bbd7b5a75c9600d49e15dea820f0db4f9e4eda2c451092000281657a2ecb281b574d339e84e72842e978f5cbf505845fa573e6b76382192d8dd4fb
|
||||
DIST harfbuzz-1.8.1.tar.bz2 3804867 BLAKE2B 9687b35bbdb74a42c28764a7b026a46ff90640b84bc40702bdbfadc79bbe3c393de837d4cdbbb8798f28aa8c75687c4f07e1c79e98bf9bd506403d89b4baf6a5 SHA512 7ef27232b294883b0c7404c8412837acfba95f12677f226d764f87e22cd169fe037e7bf13a9309e78c9aa905225fb332b3a143a01b13308b05fcccaeddb0c931
|
||||
DIST harfbuzz-1.8.2.tar.bz2 3820498 BLAKE2B 7ed1509a7b54571e14d72fa097d19a56e27b3c0020243e51315ff783910319486e6c1af7cec88060c17ccf5788ff1b09f26ee4dbc879b009c983ede767e00316 SHA512 c88a3e9e55866608647318a1af7c5d848863cd894d635583b8a2d2a7a02eea875b7a5a4f0f38555d80f2e81628743e40710f5e6f9251bf629f1d15ac51103e5a
|
||||
|
@ -1,107 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/harfbuzz"
|
||||
[[ ${PV} == 9999 ]] && inherit git-r3 autotools
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils flag-o-matic libtool multilib-minimal python-any-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="An OpenType text shaping engine"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/HarfBuzz"
|
||||
[[ ${PV} == 9999 ]] || SRC_URI="https://www.freedesktop.org/software/${PN}/release/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Old-MIT ISC icu"
|
||||
SLOT="0/0.9.18" # 0.9.18 introduced the harfbuzz-icu split; bug #472416
|
||||
[[ ${PV} == 9999 ]] || \
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
|
||||
|
||||
IUSE="+cairo debug fontconfig +glib +graphite icu +introspection static-libs test +truetype"
|
||||
REQUIRED_USE="introspection? ( glib )"
|
||||
|
||||
RDEPEND="
|
||||
cairo? ( x11-libs/cairo:= )
|
||||
fontconfig? ( media-libs/fontconfig:1.0[${MULTILIB_USEDEP}] )
|
||||
glib? ( >=dev-libs/glib-2.38:2[${MULTILIB_USEDEP}] )
|
||||
graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] )
|
||||
icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.34:= )
|
||||
truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gtk-doc-am
|
||||
virtual/pkgconfig
|
||||
test? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
# eautoreconf requires gobject-introspection-common
|
||||
# ragel needed if regenerating *.hh files from *.rl
|
||||
[[ ${PV} = 9999 ]] && DEPEND="${DEPEND}
|
||||
>=dev-libs/gobject-introspection-common-1.34
|
||||
dev-util/ragel
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
if ! use debug ; then
|
||||
append-cppflags -DHB_NDEBUG
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
xdg_environment_reset
|
||||
|
||||
if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then
|
||||
# on Darwin/Solaris we need to link with g++, like automake defaults
|
||||
# to, but overridden by upstream because on Linux this is not
|
||||
# necessary, bug #449126
|
||||
sed -i \
|
||||
-e 's/\<LINK\>/CXXLINK/' \
|
||||
src/Makefile.am || die
|
||||
sed -i \
|
||||
-e '/libharfbuzz_la_LINK = /s/\<LINK\>/CXXLINK/' \
|
||||
src/Makefile.in || die
|
||||
sed -i \
|
||||
-e '/AM_V_CCLD/s/\<LINK\>/CXXLINK/' \
|
||||
test/api/Makefile.in || die
|
||||
fi
|
||||
|
||||
[[ ${PV} == 9999 ]] && eautoreconf
|
||||
elibtoolize # for Solaris
|
||||
|
||||
# failing test, https://bugs.freedesktop.org/show_bug.cgi?id=89190
|
||||
sed -e 's#tests/arabic-fallback-shaping.tests##' -i test/shaping/Makefile.in || die "sed failed"
|
||||
|
||||
# bug 618772
|
||||
append-cxxflags -std=c++14
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" \
|
||||
# harfbuzz-gobject only used for instrospection, bug #535852
|
||||
econf \
|
||||
--without-coretext \
|
||||
--without-uniscribe \
|
||||
$(use_enable static-libs static) \
|
||||
$(multilib_native_use_with cairo) \
|
||||
$(use_with fontconfig) \
|
||||
$(use_with glib) \
|
||||
$(use_with introspection gobject) \
|
||||
$(use_with graphite graphite2) \
|
||||
$(use_with icu) \
|
||||
$(multilib_native_use_enable introspection) \
|
||||
$(use_with truetype freetype)
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
ln -s "${S}"/docs/html docs/html || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
prune_libtool_files --modules
|
||||
}
|
@ -0,0 +1,540 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git"
|
||||
|
||||
if [[ ${PV} = 9999 ]]; then
|
||||
GIT_ECLASS="git-r3"
|
||||
EXPERIMENTAL="true"
|
||||
fi
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit autotools llvm multilib-minimal python-any-r1 pax-utils ${GIT_ECLASS}
|
||||
|
||||
OPENGL_DIR="xorg-x11"
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
|
||||
DESCRIPTION="OpenGL-like graphic library for Linux"
|
||||
HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/"
|
||||
|
||||
if [[ $PV == 9999 ]]; then
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
RESTRICT="!bindist? ( bindist )"
|
||||
|
||||
RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
|
||||
VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 virgl vivante vmware"
|
||||
for card in ${VIDEO_CARDS}; do
|
||||
IUSE_VIDEO_CARDS+=" video_cards_${card}"
|
||||
done
|
||||
|
||||
IUSE="${IUSE_VIDEO_CARDS}
|
||||
bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 unwind
|
||||
+llvm +nptl opencl osmesa pax_kernel openmax pic selinux vaapi valgrind
|
||||
vdpau vulkan wayland xvmc xa"
|
||||
|
||||
REQUIRED_USE="
|
||||
d3d9? ( dri3 gallium )
|
||||
llvm? ( gallium )
|
||||
opencl? ( gallium llvm || ( video_cards_r600 video_cards_radeonsi ) )
|
||||
openmax? ( gallium )
|
||||
gles1? ( egl )
|
||||
gles2? ( egl )
|
||||
vaapi? ( gallium )
|
||||
vdpau? ( gallium )
|
||||
vulkan? ( || ( video_cards_i965 video_cards_radeonsi )
|
||||
video_cards_radeonsi? ( llvm ) )
|
||||
wayland? ( egl gbm )
|
||||
xa? ( gallium )
|
||||
video_cards_freedreno? ( gallium )
|
||||
video_cards_intel? ( classic )
|
||||
video_cards_i915? ( || ( classic gallium ) )
|
||||
video_cards_i965? ( classic )
|
||||
video_cards_imx? ( gallium video_cards_vivante )
|
||||
video_cards_nouveau? ( || ( classic gallium ) )
|
||||
video_cards_radeon? ( || ( classic gallium )
|
||||
gallium? ( x86? ( llvm ) amd64? ( llvm ) ) )
|
||||
video_cards_r100? ( classic )
|
||||
video_cards_r200? ( classic )
|
||||
video_cards_r300? ( gallium x86? ( llvm ) amd64? ( llvm ) )
|
||||
video_cards_r600? ( gallium )
|
||||
video_cards_radeonsi? ( gallium llvm )
|
||||
video_cards_vc4? ( gallium )
|
||||
video_cards_virgl? ( gallium )
|
||||
video_cards_vivante? ( gallium gbm )
|
||||
video_cards_vmware? ( gallium )
|
||||
"
|
||||
|
||||
LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.91"
|
||||
RDEPEND="
|
||||
!app-eselect/eselect-mesa
|
||||
>=app-eselect/eselect-opengl-1.3.0
|
||||
>=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libxshmfence-1.1:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXdamage-1.1.4-r1:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXext-1.3.2:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXxf86vm-1.1.3:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libxcb-1.13:=[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes:=[${MULTILIB_USEDEP}]
|
||||
unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
|
||||
llvm? (
|
||||
video_cards_radeonsi? (
|
||||
virtual/libelf:0=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
video_cards_r600? (
|
||||
virtual/libelf:0=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
video_cards_radeon? (
|
||||
virtual/libelf:0=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
)
|
||||
opencl? (
|
||||
app-eselect/eselect-opencl
|
||||
dev-libs/libclc
|
||||
virtual/libelf:0=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
openmax? (
|
||||
>=media-libs/libomxil-bellagio-0.9.3:=[${MULTILIB_USEDEP}]
|
||||
x11-misc/xdg-utils
|
||||
)
|
||||
vaapi? (
|
||||
>=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
|
||||
video_cards_nouveau? ( !<=x11-libs/libva-vdpau-driver-0.7.4-r3 )
|
||||
)
|
||||
vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] )
|
||||
wayland? (
|
||||
>=dev-libs/wayland-1.15.0:=[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/wayland-protocols-1.8
|
||||
)
|
||||
xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] )
|
||||
${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_nouveau?,video_cards_vc4?,video_cards_vivante?,video_cards_vmware?,${MULTILIB_USEDEP}]
|
||||
|
||||
video_cards_intel? (
|
||||
!video_cards_i965? ( ${LIBDRM_DEPSTRING}[video_cards_intel] )
|
||||
)
|
||||
video_cards_i915? ( ${LIBDRM_DEPSTRING}[video_cards_intel] )
|
||||
"
|
||||
for card in ${RADEON_CARDS}; do
|
||||
RDEPEND="${RDEPEND}
|
||||
video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_radeon] )
|
||||
"
|
||||
done
|
||||
RDEPEND="${RDEPEND}
|
||||
video_cards_radeonsi? ( ${LIBDRM_DEPSTRING}[video_cards_amdgpu] )
|
||||
"
|
||||
|
||||
# Please keep the LLVM dependency block separate. Since LLVM is slotted,
|
||||
# we need to *really* make sure we're not pulling one than more slot
|
||||
# simultaneously.
|
||||
#
|
||||
# How to use it:
|
||||
# 1. List all the working slots (with min versions) in ||, newest first.
|
||||
# 2. Update the := to specify *max* version, e.g. < 7.
|
||||
# 3. Specify LLVM_MAX_SLOT, e.g. 6.
|
||||
LLVM_MAX_SLOT="6"
|
||||
LLVM_DEPSTR="
|
||||
|| (
|
||||
sys-devel/llvm:7[${MULTILIB_USEDEP}]
|
||||
sys-devel/llvm:6[${MULTILIB_USEDEP}]
|
||||
sys-devel/llvm:5[${MULTILIB_USEDEP}]
|
||||
sys-devel/llvm:4[${MULTILIB_USEDEP}]
|
||||
>=sys-devel/llvm-3.9.0:0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
sys-devel/llvm:=[${MULTILIB_USEDEP}]
|
||||
"
|
||||
LLVM_DEPSTR_AMDGPU=${LLVM_DEPSTR//]/,llvm_targets_AMDGPU(-)]}
|
||||
CLANG_DEPSTR=${LLVM_DEPSTR//llvm/clang}
|
||||
CLANG_DEPSTR_AMDGPU=${CLANG_DEPSTR//]/,llvm_targets_AMDGPU(-)]}
|
||||
RDEPEND="${RDEPEND}
|
||||
llvm? (
|
||||
opencl? (
|
||||
video_cards_r600? (
|
||||
${CLANG_DEPSTR_AMDGPU}
|
||||
)
|
||||
!video_cards_r600? (
|
||||
video_cards_radeonsi? (
|
||||
${CLANG_DEPSTR_AMDGPU}
|
||||
)
|
||||
)
|
||||
!video_cards_r600? (
|
||||
!video_cards_radeonsi? (
|
||||
video_cards_radeon? (
|
||||
${CLANG_DEPSTR_AMDGPU}
|
||||
)
|
||||
)
|
||||
)
|
||||
!video_cards_r600? (
|
||||
!video_cards_radeon? (
|
||||
!video_cards_radeonsi? (
|
||||
${CLANG_DEPSTR}
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
!opencl? (
|
||||
video_cards_r600? (
|
||||
${LLVM_DEPSTR_AMDGPU}
|
||||
)
|
||||
!video_cards_r600? (
|
||||
video_cards_radeonsi? (
|
||||
${LLVM_DEPSTR_AMDGPU}
|
||||
)
|
||||
)
|
||||
!video_cards_r600? (
|
||||
!video_cards_radeonsi? (
|
||||
video_cards_radeon? (
|
||||
${LLVM_DEPSTR_AMDGPU}
|
||||
)
|
||||
)
|
||||
)
|
||||
!video_cards_r600? (
|
||||
!video_cards_radeon? (
|
||||
!video_cards_radeonsi? (
|
||||
${LLVM_DEPSTR}
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
"
|
||||
unset {LLVM,CLANG}_DEPSTR{,_AMDGPU}
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
opencl? (
|
||||
>=sys-devel/gcc-4.6
|
||||
)
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
valgrind? ( dev-util/valgrind )
|
||||
x11-base/xorg-proto
|
||||
vulkan? (
|
||||
$(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]")
|
||||
)
|
||||
"
|
||||
[[ ${PV} == 9999 ]] && DEPEND+="
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
$(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]")
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
EGIT_CHECKOUT_DIR=${S}
|
||||
|
||||
QA_WX_LOAD="
|
||||
x86? (
|
||||
!pic? (
|
||||
usr/lib*/libglapi.so.0.0.0
|
||||
usr/lib*/libGLESv1_CM.so.1.1.0
|
||||
usr/lib*/libGLESv2.so.2.0.0
|
||||
usr/lib*/libGL.so.1.2.0
|
||||
usr/lib*/libOSMesa.so.8.0.0
|
||||
)
|
||||
)"
|
||||
|
||||
llvm_check_deps() {
|
||||
local flags=${MULTILIB_USEDEP}
|
||||
if use video_cards_r600 || use video_cards_radeon || use video_cards_radeonsi
|
||||
then
|
||||
flags+=",llvm_targets_AMDGPU(-)"
|
||||
fi
|
||||
|
||||
if use opencl; then
|
||||
has_version "sys-devel/clang[${flags}]" || return 1
|
||||
fi
|
||||
has_version "sys-devel/llvm[${flags}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
# warning message for bug 459306
|
||||
if use llvm && has_version sys-devel/llvm[!debug=]; then
|
||||
ewarn "Mismatch between debug USE flags in media-libs/mesa and sys-devel/llvm"
|
||||
ewarn "detected! This can cause problems. For details, see bug 459306."
|
||||
fi
|
||||
|
||||
if use llvm; then
|
||||
llvm_pkg_setup
|
||||
fi
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
[[ ${PV} == 9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf
|
||||
|
||||
if use classic; then
|
||||
# Configurable DRI drivers
|
||||
driver_enable swrast
|
||||
|
||||
# Intel code
|
||||
driver_enable video_cards_i915 i915
|
||||
driver_enable video_cards_i965 i965
|
||||
if ! use video_cards_i915 && \
|
||||
! use video_cards_i965; then
|
||||
driver_enable video_cards_intel i915 i965
|
||||
fi
|
||||
|
||||
# Nouveau code
|
||||
driver_enable video_cards_nouveau nouveau
|
||||
|
||||
# ATI code
|
||||
driver_enable video_cards_r100 radeon
|
||||
driver_enable video_cards_r200 r200
|
||||
if ! use video_cards_r100 && \
|
||||
! use video_cards_r200; then
|
||||
driver_enable video_cards_radeon radeon r200
|
||||
fi
|
||||
fi
|
||||
|
||||
if use egl; then
|
||||
myconf+=" --with-platforms=x11,surfaceless$(use wayland && echo ",wayland")$(use gbm && echo ",drm")"
|
||||
fi
|
||||
|
||||
if use gallium; then
|
||||
myconf+="
|
||||
$(use_enable d3d9 nine)
|
||||
$(use_enable llvm)
|
||||
$(use_enable openmax omx-bellagio)
|
||||
$(use_enable vaapi va)
|
||||
$(use_enable vdpau)
|
||||
$(use_enable xa)
|
||||
$(use_enable xvmc)
|
||||
"
|
||||
use vaapi && myconf+=" --with-va-libdir=/usr/$(get_libdir)/va/drivers"
|
||||
|
||||
gallium_enable swrast
|
||||
gallium_enable video_cards_vc4 vc4
|
||||
gallium_enable video_cards_vivante etnaviv
|
||||
gallium_enable video_cards_vmware svga
|
||||
gallium_enable video_cards_nouveau nouveau
|
||||
gallium_enable video_cards_i915 i915
|
||||
gallium_enable video_cards_imx imx
|
||||
if ! use video_cards_i915 && \
|
||||
! use video_cards_i965; then
|
||||
gallium_enable video_cards_intel i915
|
||||
fi
|
||||
|
||||
gallium_enable video_cards_r300 r300
|
||||
gallium_enable video_cards_r600 r600
|
||||
gallium_enable video_cards_radeonsi radeonsi
|
||||
if ! use video_cards_r300 && \
|
||||
! use video_cards_r600; then
|
||||
gallium_enable video_cards_radeon r300 r600
|
||||
fi
|
||||
|
||||
gallium_enable video_cards_freedreno freedreno
|
||||
# opencl stuff
|
||||
if use opencl; then
|
||||
myconf+="
|
||||
$(use_enable opencl)
|
||||
--with-clang-libdir="${EPREFIX}/usr/lib"
|
||||
"
|
||||
fi
|
||||
|
||||
gallium_enable video_cards_virgl virgl
|
||||
fi
|
||||
|
||||
if use vulkan; then
|
||||
vulkan_enable video_cards_i965 intel
|
||||
vulkan_enable video_cards_radeonsi radeon
|
||||
fi
|
||||
|
||||
# x86 hardened pax_kernel needs glx-rts, bug 240956
|
||||
if [[ ${ABI} == x86 ]]; then
|
||||
myconf+=" $(use_enable pax_kernel glx-read-only-text)"
|
||||
fi
|
||||
|
||||
# on abi_x86_32 hardened we need to have asm disable
|
||||
if [[ ${ABI} == x86* ]] && use pic; then
|
||||
myconf+=" --disable-asm"
|
||||
fi
|
||||
|
||||
if use gallium; then
|
||||
myconf+=" $(use_enable osmesa gallium-osmesa)"
|
||||
else
|
||||
myconf+=" $(use_enable osmesa)"
|
||||
fi
|
||||
|
||||
# build fails with BSD indent, bug #428112
|
||||
use userland_GNU || export INDENT=cat
|
||||
|
||||
ECONF_SOURCE="${S}" \
|
||||
econf \
|
||||
--enable-dri \
|
||||
--enable-glx \
|
||||
--enable-shared-glapi \
|
||||
$(use_enable !bindist texture-float) \
|
||||
$(use_enable d3d9 nine) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable dri3) \
|
||||
$(use_enable egl) \
|
||||
$(use_enable gbm) \
|
||||
$(use_enable gles1) \
|
||||
$(use_enable gles2) \
|
||||
$(use_enable nptl glx-tls) \
|
||||
$(use_enable unwind libunwind) \
|
||||
--enable-valgrind=$(usex valgrind auto no) \
|
||||
--enable-llvm-shared-libs \
|
||||
--disable-opencl-icd \
|
||||
--with-dri-drivers=${DRI_DRIVERS} \
|
||||
--with-gallium-drivers=${GALLIUM_DRIVERS} \
|
||||
--with-vulkan-drivers=${VULKAN_DRIVERS} \
|
||||
PYTHON2="${PYTHON}" \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
if use wayland; then
|
||||
# These files are now provided by >=dev-libs/wayland-1.15.0
|
||||
rm "${ED}/usr/$(get_libdir)/libwayland-egl.so" || die
|
||||
rm "${ED}/usr/$(get_libdir)/libwayland-egl.so.1" || die
|
||||
rm "${ED}/usr/$(get_libdir)/libwayland-egl.so.1.0.0" || die
|
||||
rm "${ED}/usr/$(get_libdir)/pkgconfig/wayland-egl.pc" || die
|
||||
fi
|
||||
|
||||
if use opencl; then
|
||||
ebegin "Moving Gallium/Clover OpenCL implementation for dynamic switching"
|
||||
local cl_dir="/usr/$(get_libdir)/OpenCL/vendors/mesa"
|
||||
dodir ${cl_dir}/{lib,include}
|
||||
if [ -f "${ED}/usr/$(get_libdir)/libOpenCL.so" ]; then
|
||||
mv -f "${ED}"/usr/$(get_libdir)/libOpenCL.so* \
|
||||
"${ED}"${cl_dir}
|
||||
fi
|
||||
if [ -f "${ED}/usr/include/CL/opencl.h" ]; then
|
||||
mv -f "${ED}"/usr/include/CL \
|
||||
"${ED}"${cl_dir}/include
|
||||
fi
|
||||
eend $?
|
||||
fi
|
||||
|
||||
if use openmax; then
|
||||
echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share/mesa/xdg\"" > "${T}/99mesaxdgomx"
|
||||
doenvd "${T}"/99mesaxdgomx
|
||||
keepdir /usr/share/mesa/xdg
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
find "${ED}" -name '*.la' -delete
|
||||
einstalldocs
|
||||
|
||||
if use !bindist; then
|
||||
dodoc docs/patents.txt
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
if use llvm; then
|
||||
local llvm_tests='lp_test_arit lp_test_arit lp_test_blend lp_test_blend lp_test_conv lp_test_conv lp_test_format lp_test_format lp_test_printf lp_test_printf'
|
||||
pushd src/gallium/drivers/llvmpipe >/dev/null || die
|
||||
emake ${llvm_tests}
|
||||
pax-mark m ${llvm_tests}
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
emake check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Switch to the xorg implementation.
|
||||
echo
|
||||
eselect opengl set --use-old ${OPENGL_DIR}
|
||||
|
||||
# Switch to mesa opencl
|
||||
if use opencl; then
|
||||
eselect opencl set --use-old ${PN}
|
||||
fi
|
||||
|
||||
# run omxregister-bellagio to make the OpenMAX drivers known system-wide
|
||||
if use openmax; then
|
||||
ebegin "Registering OpenMAX drivers"
|
||||
BELLAGIO_SEARCH_PATH="${EPREFIX}/usr/$(get_libdir)/libomxil-bellagio0" \
|
||||
OMX_BELLAGIO_REGISTRY=${EPREFIX}/usr/share/mesa/xdg/.omxregister \
|
||||
omxregister-bellagio
|
||||
eend $?
|
||||
fi
|
||||
|
||||
# warn about patent encumbered texture-float
|
||||
if use !bindist; then
|
||||
elog "USE=\"bindist\" was not set. Potentially patent encumbered code was"
|
||||
elog "enabled. Please see /usr/share/doc/${P}/patents.txt.bz2 for an"
|
||||
elog "explanation."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use openmax; then
|
||||
rm "${EPREFIX}"/usr/share/mesa/xdg/.omxregister
|
||||
fi
|
||||
}
|
||||
|
||||
# $1 - VIDEO_CARDS flag
|
||||
# other args - names of DRI drivers to enable
|
||||
# TODO: avoid code duplication for a more elegant implementation
|
||||
driver_enable() {
|
||||
case $# in
|
||||
# for enabling unconditionally
|
||||
1)
|
||||
DRI_DRIVERS+=",$1"
|
||||
;;
|
||||
*)
|
||||
if use $1; then
|
||||
shift
|
||||
for i in $@; do
|
||||
DRI_DRIVERS+=",${i}"
|
||||
done
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
gallium_enable() {
|
||||
case $# in
|
||||
# for enabling unconditionally
|
||||
1)
|
||||
GALLIUM_DRIVERS+=",$1"
|
||||
;;
|
||||
*)
|
||||
if use $1; then
|
||||
shift
|
||||
for i in $@; do
|
||||
GALLIUM_DRIVERS+=",${i}"
|
||||
done
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
vulkan_enable() {
|
||||
case $# in
|
||||
# for enabling unconditionally
|
||||
1)
|
||||
VULKAN_DRIVERS+=",$1"
|
||||
;;
|
||||
*)
|
||||
if use $1; then
|
||||
shift
|
||||
for i in $@; do
|
||||
VULKAN_DRIVERS+=",${i}"
|
||||
done
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
Wed, 04 Jul 2018 04:38:27 +0000
|
||||
Wed, 04 Jul 2018 15:38:23 +0000
|
||||
|
@ -1 +1 @@
|
||||
Wed, 04 Jul 2018 04:38:27 +0000
|
||||
Wed, 04 Jul 2018 15:38:24 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=configure install postinst prepare setup
|
||||
DEPEND=dev-libs/glib net-libs/libtirpc deploypkg? ( dev-libs/libmspack ) fuse? ( sys-fs/fuse:0 ) pam? ( virtual/pam ) ssl? ( dev-libs/openssl:0 ) vgauth? ( xml-security-c? ( dev-libs/xerces-c dev-libs/xml-security-c ) xmlsec? ( dev-libs/libxml2 dev-libs/xmlsec ) ) X? ( x11-libs/libXext multimon? ( x11-libs/libXinerama ) x11-libs/libXi x11-libs/libXrender x11-libs/libXrandr x11-libs/libXtst x11-libs/libSM x11-libs/libXcomposite x11-libs/gdk-pixbuf:2 x11-libs/gtk+:3 gtkmm? ( dev-cpp/gtkmm:3.0 dev-libs/libsigc++:2 ) ) dnet? ( dev-libs/libdnet ) icu? ( dev-libs/icu:= ) caf? ( dev-libs/log4cpp net-libs/rabbitmq-c ) resolutionkms? ( x11-libs/libdrm virtual/libudev ) virtual/pkgconfig net-libs/rpcsvc-proto doc? ( app-doc/doxygen ) test? ( dev-util/cunit ) >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
||||
DESCRIPTION=Opensourced tools for VMware guests
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/vmware/open-vm-tools
|
||||
IUSE=X caf +deploypkg +dnet doc +fuse +grabbitmqproxy gtkmm +icu multimon pam +resolutionkms +ssl static-libs test +vgauth +xml-security-c xmlsec
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=LGPL-2.1
|
||||
RDEPEND=dev-libs/glib net-libs/libtirpc deploypkg? ( dev-libs/libmspack ) fuse? ( sys-fs/fuse:0 ) pam? ( virtual/pam ) ssl? ( dev-libs/openssl:0 ) vgauth? ( xml-security-c? ( dev-libs/xerces-c dev-libs/xml-security-c ) xmlsec? ( dev-libs/libxml2 dev-libs/xmlsec ) ) X? ( x11-libs/libXext multimon? ( x11-libs/libXinerama ) x11-libs/libXi x11-libs/libXrender x11-libs/libXrandr x11-libs/libXtst x11-libs/libSM x11-libs/libXcomposite x11-libs/gdk-pixbuf:2 x11-libs/gtk+:3 gtkmm? ( dev-cpp/gtkmm:3.0 dev-libs/libsigc++:2 ) ) dnet? ( dev-libs/libdnet ) icu? ( dev-libs/icu:= ) caf? ( dev-libs/log4cpp net-libs/rabbitmq-c ) resolutionkms? ( x11-libs/libdrm virtual/libudev )
|
||||
REQUIRED_USE=multimon? ( X ) vgauth? ( ^^ ( xmlsec xml-security-c ) ssl ) caf? ( vgauth ssl ) grabbitmqproxy? ( ssl )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/vmware/open-vm-tools/releases/download/stable-10.2.5/open-vm-tools-10.2.5-8068406.tar.gz
|
||||
_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 libtool 0081a71a261724730ec4c248494f044d linux-info aedb720bff5a5dec9b87edd351382bfc ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e pam 3e788d86170dfcd5b06824d898315e18 preserve-libs ef207dc62baddfddfd39a164d9797648 systemd 04e50685fbf3d89e5c67ac6a385dd595 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 26ca8a8bd95d6a74122c08ba98a4ee72
|
||||
_md5_=acdf74fbde01b043b91203d3a8a830b6
|
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install preinst prepare setup test
|
||||
DEPEND=sys-libs/ncurses:= archive? ( app-arch/libarchive ) berkdb? ( >=sys-libs/db-4:= ) zlib? ( sys-libs/zlib ) odbc? ( dev-db/unixODBC ) pcre? ( dev-libs/libpcre ) readline? ( sys-libs/readline:= ) libedit? ( dev-libs/libedit ) gmp? ( dev-libs/gmp:0 ) ssl? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) ) java? ( >=virtual/jdk-1.7:= ) uuid? ( dev-libs/ossp-uuid ) X? ( virtual/jpeg:0 x11-libs/libX11 x11-libs/libXft x11-libs/libXpm x11-libs/libXt x11-libs/libICE x11-libs/libSM ) X? ( x11-base/xorg-proto ) java? ( test? ( =dev-java/junit-3.8* ) ) java? ( >=dev-java/java-config-2.2.0-r3 )
|
||||
DESCRIPTION=free, small, and standard compliant Prolog compiler
|
||||
EAPI=6
|
||||
HOMEPAGE=http://www.swi-prolog.org/
|
||||
IUSE=archive berkdb debug doc +gmp hardened java +libedit libressl minimal odbc pcre readline ssl static-libs test uuid zlib X elibc_FreeBSD java
|
||||
KEYWORDS=~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos
|
||||
LICENSE=BSD-2
|
||||
RDEPEND=sys-libs/ncurses:= archive? ( app-arch/libarchive ) berkdb? ( >=sys-libs/db-4:= ) zlib? ( sys-libs/zlib ) odbc? ( dev-db/unixODBC ) pcre? ( dev-libs/libpcre ) readline? ( sys-libs/readline:= ) libedit? ( dev-libs/libedit ) gmp? ( dev-libs/gmp:0 ) ssl? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) ) java? ( >=virtual/jdk-1.7:= ) uuid? ( dev-libs/ossp-uuid ) X? ( virtual/jpeg:0 x11-libs/libX11 x11-libs/libXft x11-libs/libXpm x11-libs/libXt x11-libs/libICE x11-libs/libSM ) java? ( >=dev-java/java-config-2.2.0-r3 )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.swi-prolog.org/download/devel/src/swipl-7.7.17.tar.gz
|
||||
_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 java-pkg-opt-2 77d2e22d0de7640f817d20e861c0ff3f java-utils-2 0ee72667014428e01a01df2345244cf3 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 26ca8a8bd95d6a74122c08ba98a4ee72
|
||||
_md5_=33f50845f75787c5eae51437002e1951
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,15 @@
|
||||
BDEPEND=python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) python_targets_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/pillow[zlib,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] dev-python/ply[python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] dev-python/setuptools[python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]
|
||||
DESCRIPTION=Compiler of NML files into grf/nfo files
|
||||
EAPI=7
|
||||
HOMEPAGE=https://dev.openttdcoop.org/projects/nml
|
||||
IUSE=python_targets_python3_4 python_targets_python3_5 python_targets_python3_6
|
||||
KEYWORDS=~amd64 ~arm ~x86
|
||||
LICENSE=GPL-2+
|
||||
RDEPEND=dev-python/pillow[zlib,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] dev-python/ply[python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) python_targets_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 )
|
||||
SLOT=0
|
||||
SRC_URI=http://bundles.openttdcoop.org/nml/releases/0.4.5/nml-0.4.5.tar.gz
|
||||
_eclasses_=distutils-r1 63fea93ca1cc4fdc5fa2247afc4e3a15 multibuild 35719a9cd25ec71ee49c966f6868454c multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 python-r1 0b5829eb6369d7af3a834b6eed7b7107 python-utils-r1 ffa9c3284c6b07b8c9f7933911f63812 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607
|
||||
_md5_=928d5d2092bede9f2bdf2902e16a5588
|
Binary file not shown.
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test
|
||||
DEPEND=cairo? ( x11-libs/cairo:= ) fontconfig? ( media-libs/fontconfig:1.0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) glib? ( >=dev-libs/glib-2.38:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) graphite? ( >=media-gfx/graphite2-1.2.1:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) icu? ( >=dev-libs/icu-51.2-r1:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) introspection? ( >=dev-libs/gobject-introspection-1.34:= ) truetype? ( >=media-libs/freetype-2.5.0.1:2=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) dev-util/gtk-doc-am virtual/pkgconfig test? ( || ( >=dev-lang/python-2.7.5-r2:2.7 ) ) >=app-portage/elt-patches-20170422
|
||||
DESCRIPTION=An OpenType text shaping engine
|
||||
EAPI=6
|
||||
HOMEPAGE=https://www.freedesktop.org/wiki/Software/HarfBuzz
|
||||
IUSE=+cairo debug fontconfig +glib +graphite icu +introspection static-libs test +truetype abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris
|
||||
LICENSE=Old-MIT ISC icu
|
||||
RDEPEND=cairo? ( x11-libs/cairo:= ) fontconfig? ( media-libs/fontconfig:1.0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) glib? ( >=dev-libs/glib-2.38:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) graphite? ( >=media-gfx/graphite2-1.2.1:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) icu? ( >=dev-libs/icu-51.2-r1:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) introspection? ( >=dev-libs/gobject-introspection-1.34:= ) truetype? ( >=media-libs/freetype-2.5.0.1:2=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] )
|
||||
REQUIRED_USE=introspection? ( glib )
|
||||
SLOT=0/0.9.18
|
||||
SRC_URI=https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-1.7.2.tar.bz2
|
||||
_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multibuild 35719a9cd25ec71ee49c966f6868454c multilib 97f470f374f2e94ccab04a2fb21d811e multilib-build 45f0e78dba7de5c77988265229b4402a multilib-minimal bfa1226d0f1fa0093d10b84acd029633 preserve-libs ef207dc62baddfddfd39a164d9797648 python-any-r1 6faea633ae2f79f6d55dcfd431b79fbf python-utils-r1 ffa9c3284c6b07b8c9f7933911f63812 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25
|
||||
_md5_=3b9d93c831257b40b0348042503eebb6
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install postinst preinst prepare
|
||||
DEPEND=!static? ( selinux? ( sys-libs/libselinux ) ) pam? ( sys-libs/pam ) static? ( selinux? ( sys-libs/libselinux[static-libs(+)] ) ) >=sys-kernel/linux-headers-2.6.39
|
||||
DESCRIPTION=Utilities for rescue and embedded systems
|
||||
EAPI=6
|
||||
HOMEPAGE=https://www.busybox.net/
|
||||
IUSE=debug ipv6 livecd make-symlinks math mdev pam selinux sep-usr static syslog systemd savedconfig
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=!static? ( selinux? ( sys-libs/libselinux ) ) pam? ( sys-libs/pam ) mdev? ( !<sys-apps/openrc-0.13 )
|
||||
REQUIRED_USE=pam? ( !static )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=https://www.busybox.net/downloads/busybox-1.29.0.tar.bz2
|
||||
_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e portability 2b88d3ecc35035a3b8ab628b49cafb0e preserve-libs ef207dc62baddfddfd39a164d9797648 savedconfig e6948c872ff47e15a10e5ad1be15c18e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
|
||||
_md5_=bfbd4142e6c9b5e69528cd81cf3adb64
|
Binary file not shown.
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile install postinst postrm preinst prepare setup test unpack
|
||||
DEPEND=!build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 )
|
||||
DESCRIPTION=Full sources including the Gentoo patchset for the 4.4 kernel tree
|
||||
EAPI=6
|
||||
HOMEPAGE=https://dev.gentoo.org/~mpagano/genpatches
|
||||
IUSE=experimental symlink build
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
||||
LICENSE=GPL-2 linux-firmware
|
||||
RDEPEND=!build? ( >=sys-libs/ncurses-5.2 sys-devel/make dev-lang/perl sys-devel/bc virtual/libelf )
|
||||
RESTRICT=binchecks strip
|
||||
SLOT=4.4.139
|
||||
SRC_URI=mirror://kernel/linux/kernel/v4.x/linux-4.4.tar.xz mirror://gentoo/genpatches-4.4-141.base.tar.xz mirror://gentoo/genpatches-4.4-141.extras.tar.xz experimental? ( mirror://gentoo/genpatches-4.4-141.experimental.tar.xz )
|
||||
_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc kernel-2 9c959482618084f1edf862d4783a73b4 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 python-any-r1 6faea633ae2f79f6d55dcfd431b79fbf python-utils-r1 ffa9c3284c6b07b8c9f7933911f63812 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 26ca8a8bd95d6a74122c08ba98a4ee72
|
||||
_md5_=ae50801b60979bae1bd66e2ac129ef5d
|
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=>=sys-apps/attr-2.4.47-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] pam? ( virtual/pam ) sys-kernel/linux-headers
|
||||
DESCRIPTION=POSIX 1003.1e capabilities
|
||||
EAPI=6
|
||||
HOMEPAGE=http://www.friedhoff.org/posixfilecaps.html
|
||||
IUSE=pam static-libs abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux
|
||||
LICENSE=|| ( GPL-2 BSD )
|
||||
RDEPEND=>=sys-apps/attr-2.4.47-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] pam? ( virtual/pam )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://kernel/linux/libs/security/linux-privs/libcap2/libcap-2.25.tar.xz
|
||||
_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 ltprune 607e058da37aa6dabfa408b7d61da72e multibuild 35719a9cd25ec71ee49c966f6868454c multilib 97f470f374f2e94ccab04a2fb21d811e multilib-build 45f0e78dba7de5c77988265229b4402a multilib-minimal bfa1226d0f1fa0093d10b84acd029633 pam 3e788d86170dfcd5b06824d898315e18 preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
|
||||
_md5_=8943d1f2c94d3bd29b1956ca648cffaa
|
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
DEFINED_PHASES=-
|
||||
DESCRIPTION=Virtual to select between different tmpfiles.d handlers
|
||||
EAPI=6
|
||||
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd
|
||||
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux
|
||||
RDEPEND=|| ( sys-apps/opentmpfiles sys-apps/systemd )
|
||||
SLOT=0
|
||||
_md5_=f2f749a01fe9c0a0380fa4edcb91c336
|
||||
_md5_=9b7e0aaa3b92f06953014e8fbdd1d61a
|
||||
|
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install postinst preinst prepare pretend setup unpack
|
||||
DEPEND=>=dev-libs/nss-3.28.3 >=dev-libs/nspr-4.13.1 jack? ( virtual/jack ) crypt? ( >=x11-plugins/enigmail-2.0.5 ) !elibc_glibc? ( !elibc_uclibc? ( !elibc_musl? ( dev-libs/libexecinfo ) ) ) amd64? ( >=dev-lang/yasm-1.1 virtual/opengl ) x86? ( >=dev-lang/yasm-1.1 virtual/opengl ) virtual/pkgconfig || ( >=dev-lang/python-2.7.5-r2:2.7[ncurses,sqlite,ssl,threads] ) app-arch/zip app-arch/unzip >=sys-devel/binutils-2.16.1 sys-apps/findutils pulseaudio? ( media-sound/pulseaudio ) >=app-text/hunspell-1.2:= dev-libs/atk dev-libs/expat >=x11-libs/cairo-1.10[X] >=x11-libs/gtk+-2.18:2 x11-libs/gdk-pixbuf >=x11-libs/pango-1.22.0 >=media-libs/libpng-1.6.25:0=[apng] >=media-libs/mesa-10.2:* media-libs/fontconfig >=media-libs/freetype-2.4.10 kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) ) pulseaudio? ( || ( media-sound/pulseaudio >=media-sound/apulse-0.1.9 ) ) virtual/freedesktop-icon-theme dbus? ( >=sys-apps/dbus-0.60 >=dev-libs/dbus-glib-0.72 ) startup-notification? ( >=x11-libs/startup-notification-0.8 ) >=dev-libs/glib-2.26:2 >=sys-libs/zlib-1.2.3 >=virtual/libffi-3.0.10 virtual/ffmpeg x11-libs/libX11 x11-libs/libXcomposite x11-libs/libXdamage x11-libs/libXext x11-libs/libXfixes x11-libs/libXrender x11-libs/libXt system-cairo? ( >=x11-libs/cairo-1.12[X,xcb] >=x11-libs/pixman-0.19.2 ) system-icu? ( >=dev-libs/icu-58.1:= ) system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) system-libevent? ( >=dev-libs/libevent-2.0:0= ) system-sqlite? ( >=dev-db/sqlite-3.17.0:3[secure-delete,debug=] ) system-libvpx? ( >=media-libs/libvpx-1.5.0:0=[postproc] ) system-harfbuzz? ( >=media-libs/harfbuzz-1.3.3:0= >=media-gfx/graphite2-1.3.8 ) force-gtk3? ( >=x11-libs/gtk+-3.4.0:3 ) wifi? ( kernel_linux? ( >=sys-apps/dbus-0.60 >=dev-libs/dbus-glib-0.72 net-misc/networkmanager ) ) >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) ~sys-devel/autoconf-2.13 >=sys-devel/libtool-2.4 app-arch/unzip
|
||||
DESCRIPTION=Seamonkey Web Browser
|
||||
EAPI=6
|
||||
HOMEPAGE=http://www.seamonkey-project.org
|
||||
IUSE=+calendar +chatzilla +crypt +gmp-autoupdate +ipc jack minimal pulseaudio +roaming selinux test custom-cflags custom-optimization dbus debug +jemalloc neon pulseaudio selinux startup-notification system-cairo system-harfbuzz system-icu system-jpeg system-libevent system-sqlite system-libvpx force-gtk3 wifi l10n_cs l10n_de l10n_en-GB l10n_es-AR l10n_es-ES l10n_fr l10n_hu l10n_it l10n_ja l10n_lt l10n_nl l10n_pl l10n_pt-PT l10n_ru l10n_sk l10n_sv l10n_zh-CN l10n_zh-TW
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86
|
||||
LICENSE=MPL-2.0 GPL-2 LGPL-2.1
|
||||
RDEPEND=>=dev-libs/nss-3.28.3 >=dev-libs/nspr-4.13.1 jack? ( virtual/jack ) crypt? ( >=x11-plugins/enigmail-2.0.5 ) >=app-text/hunspell-1.2:= dev-libs/atk dev-libs/expat >=x11-libs/cairo-1.10[X] >=x11-libs/gtk+-2.18:2 x11-libs/gdk-pixbuf >=x11-libs/pango-1.22.0 >=media-libs/libpng-1.6.25:0=[apng] >=media-libs/mesa-10.2:* media-libs/fontconfig >=media-libs/freetype-2.4.10 kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) ) pulseaudio? ( || ( media-sound/pulseaudio >=media-sound/apulse-0.1.9 ) ) virtual/freedesktop-icon-theme dbus? ( >=sys-apps/dbus-0.60 >=dev-libs/dbus-glib-0.72 ) startup-notification? ( >=x11-libs/startup-notification-0.8 ) >=dev-libs/glib-2.26:2 >=sys-libs/zlib-1.2.3 >=virtual/libffi-3.0.10 virtual/ffmpeg x11-libs/libX11 x11-libs/libXcomposite x11-libs/libXdamage x11-libs/libXext x11-libs/libXfixes x11-libs/libXrender x11-libs/libXt system-cairo? ( >=x11-libs/cairo-1.12[X,xcb] >=x11-libs/pixman-0.19.2 ) system-icu? ( >=dev-libs/icu-58.1:= ) system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) system-libevent? ( >=dev-libs/libevent-2.0:0= ) system-sqlite? ( >=dev-db/sqlite-3.17.0:3[secure-delete,debug=] ) system-libvpx? ( >=media-libs/libvpx-1.5.0:0=[postproc] ) system-harfbuzz? ( >=media-libs/harfbuzz-1.3.3:0= >=media-gfx/graphite2-1.3.8 ) force-gtk3? ( >=x11-libs/gtk+-3.4.0:3 ) wifi? ( kernel_linux? ( >=sys-apps/dbus-0.60 >=dev-libs/dbus-glib-0.72 net-misc/networkmanager ) ) pulseaudio? ( || ( media-sound/pulseaudio >=media-sound/apulse-0.1.9 ) ) selinux? ( sec-policy/selinux-mozilla )
|
||||
SLOT=0
|
||||
SRC_URI=https://archive.mozilla.org/pub/thunderbird/releases/52.9.0/source/thunderbird-52.9.0.source.tar.xz https://hg.mozilla.org/chatzilla/archive/SEA2_48_RELBRANCH.tar.bz2 -> chatzilla-SEA2_48_RELBRANCH.tar.bz2 https://hg.mozilla.org/dom-inspector/archive/DOMI_2_0_17.tar.bz2 -> dom-inspector-DOMI_2_0_17.tar.bz2 l10n_cs? ( https://archive.mozilla.org/pub/thunderbird/releases/52.9.0/../../../seamonkey/releases/2.49.1/linux-i686/xpi/cs.xpi -> seamonkey-2.49.9.0-cs.xpi ) l10n_de? ( https://archive.mozilla.org/pub/thunderbird/releases/52.9.0/../../../seamonkey/releases/2.49.1/linux-i686/xpi/de.xpi -> seamonkey-2.49.9.0-de.xpi ) l10n_en-GB? ( https://archive.mozilla.org/pub/thunderbird/releases/52.9.0/../../../seamonkey/releases/2.49.1/linux-i686/xpi/en-GB.xpi -> seamonkey-2.49.9.0-en-GB.xpi ) l10n_es-AR? ( https://archive.mozilla.org/pub/thunderbird/releases/52.9.0/../../../seamonkey/releases/2.49.1/linux-i686/xpi/es-AR.xpi -> seamonkey-2.49.9.0-es-AR.xpi ) l10n_es-ES? ( https://archive.mozilla.org/pub/thunderbird/releases/52.9.0/../../../seamonkey/releases/2.49.1/linux-i686/xpi/es-ES.xpi -> seamonkey-2.49.9.0-es-ES.xpi ) l10n_fr? ( https://archive.mozilla.org/pub/thunderbird/releases/52.9.0/../../../seamonkey/releases/2.49.1/linux-i686/xpi/fr.xpi -> seamonkey-2.49.9.0-fr.xpi ) l10n_hu? ( https://archive.mozilla.org/pub/thunderbird/releases/52.9.0/../../../seamonkey/releases/2.49.1/linux-i686/xpi/hu.xpi -> seamonkey-2.49.9.0-hu.xpi ) l10n_it? ( https://archive.mozilla.org/pub/thunderbird/releases/52.9.0/../../../seamonkey/releases/2.49.1/linux-i686/xpi/it.xpi -> seamonkey-2.49.9.0-it.xpi ) l10n_ja? ( https://archive.mozilla.org/pub/thunderbird/releases/52.9.0/../../../seamonkey/releases/2.49.1/linux-i686/xpi/ja.xpi -> seamonkey-2.49.9.0-ja.xpi ) l10n_lt? ( https://archive.mozilla.org/pub/thunderbird/releases/52.9.0/../../../seamonkey/releases/2.49.1/linux-i686/xpi/lt.xpi -> seamonkey-2.49.9.0-lt.xpi ) l10n_nl? ( https://archive.mozilla.org/pub/thunderbird/releases/52.9.0/../../../seamonkey/releases/2.49.1/linux-i686/xpi/nl.xpi -> seamonkey-2.49.9.0-nl.xpi ) l10n_pl? ( https://archive.mozilla.org/pub/thunderbird/releases/52.9.0/../../../seamonkey/releases/2.49.1/linux-i686/xpi/pl.xpi -> seamonkey-2.49.9.0-pl.xpi ) l10n_pt-PT? ( https://archive.mozilla.org/pub/thunderbird/releases/52.9.0/../../../seamonkey/releases/2.49.1/linux-i686/xpi/pt-PT.xpi -> seamonkey-2.49.9.0-pt-PT.xpi ) l10n_ru? ( https://archive.mozilla.org/pub/thunderbird/releases/52.9.0/../../../seamonkey/releases/2.49.1/linux-i686/xpi/ru.xpi -> seamonkey-2.49.9.0-ru.xpi ) l10n_sk? ( https://archive.mozilla.org/pub/thunderbird/releases/52.9.0/../../../seamonkey/releases/2.49.1/linux-i686/xpi/sk.xpi -> seamonkey-2.49.9.0-sk.xpi ) l10n_sv? ( https://archive.mozilla.org/pub/thunderbird/releases/52.9.0/../../../seamonkey/releases/2.49.1/linux-i686/xpi/sv-SE.xpi -> seamonkey-2.49.9.0-sv-SE.xpi ) l10n_zh-CN? ( https://archive.mozilla.org/pub/thunderbird/releases/52.9.0/../../../seamonkey/releases/2.49.1/linux-i686/xpi/zh-CN.xpi -> seamonkey-2.49.9.0-zh-CN.xpi ) l10n_zh-TW? ( https://archive.mozilla.org/pub/thunderbird/releases/52.9.0/../../../seamonkey/releases/2.49.1/linux-i686/xpi/zh-TW.xpi -> seamonkey-2.49.9.0-zh-TW.xpi ) https://dev.gentoo.org/~anarchy/mozilla/patchsets/firefox-52.4-patches-02.tar.xz https://dev.gentoo.org/~axs/mozilla/patchsets/firefox-52.4-patches-02.tar.xz https://dev.gentoo.org/~polynomial-c/mozilla/patchsets/firefox-52.4-patches-02.tar.xz https://dev.gentoo.org/~axs/mozilla/patchsets/seamonkey-2.46-patches-01.tar.xz https://dev.gentoo.org/~polynomial-c/mozilla/patchsets/seamonkey-2.46-patches-01.tar.xz
|
||||
_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 check-reqs fd05cf75484aa28d307cf4ee6e1db056 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e mozconfig-v6.52 aeba761913d03fc45f4d6ae2b89165ca mozcoreconf-v5 602c3c0a642bafeabb149c49a6df941f mozextension 89a560beaf496e7cb89f3d79d4aef09e mozlinguas-v2 e7b3bd89af6dc1a3dd10be68ba3d574d multilib 97f470f374f2e94ccab04a2fb21d811e nsplugins 2049586e425364a1c5bdb004205d1758 pax-utils b963274a93e76570a88168c1f1db4cd7 preserve-libs ef207dc62baddfddfd39a164d9797648 python-any-r1 6faea633ae2f79f6d55dcfd431b79fbf python-utils-r1 ffa9c3284c6b07b8c9f7933911f63812 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 26ca8a8bd95d6a74122c08ba98a4ee72 xdg-utils f2c8335407f0b935b0a96d4adf23ef25
|
||||
_md5_=2444c30a567b0547599a17e0d1e671b8
|
Binary file not shown.
@ -1,13 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test
|
||||
DEPEND=!libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) mruby? ( sys-devel/bison || ( dev-lang/ruby:2.3 dev-lang/ruby:2.4 ) virtual/rubygems ) sys-devel/make >=dev-util/cmake-3.9.6 virtual/pkgconfig
|
||||
DESCRIPTION=An optimized HTTP server with support for HTTP/1.x and HTTP/2
|
||||
DEPEND=dev-lang/perl sys-libs/zlib !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) mruby? ( || ( dev-lang/ruby:2.3 dev-lang/ruby:2.4 ) virtual/rubygems dev-libs/oniguruma sys-devel/bison virtual/pkgconfig ) sys-devel/make >=dev-util/cmake-3.9.6 virtual/pkgconfig
|
||||
DESCRIPTION=H2O - the optimized HTTP/1, HTTP/2 server
|
||||
EAPI=6
|
||||
HOMEPAGE=https://h2o.examp1e.net
|
||||
HOMEPAGE=https://h2o.examp1e.net/
|
||||
IUSE=libressl +mruby
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=MIT
|
||||
RDEPEND=!libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= )
|
||||
RDEPEND=dev-lang/perl sys-libs/zlib !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/h2o/h2o/archive/v2.2.4.tar.gz -> h2o-2.2.4.tar.gz
|
||||
_eclasses_=cmake-utils 57384a259cf0c7985ce651b2c0865405 desktop 1b286a7e7143d8c4ec89cd0d2743a097 eapi7-ver d97a56a62c7df8614afddcb25f5ff00f epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils d2e7e7d290428bb25c56dcf2502badc1 preserve-libs ef207dc62baddfddfd39a164d9797648 ruby-single 7435c1687c234eb8cf5b212756f6381e ruby-utils e5942a80e3c3b936c6b84d6dc4af9f9c systemd 04e50685fbf3d89e5c67ac6a385dd595 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25
|
||||
_md5_=32e74329a82b9ba5226a7e5a01b4ab8c
|
||||
_md5_=eb899e57629f4901665050ce52f7087a
|
||||
|
@ -1,11 +1,11 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test unpack
|
||||
DEPEND=!libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) mruby? ( sys-devel/bison || ( dev-lang/ruby:2.3 dev-lang/ruby:2.4 ) virtual/rubygems ) sys-devel/make >=dev-util/cmake-3.9.6 >=dev-vcs/git-1.8.2.1[curl] virtual/pkgconfig
|
||||
DESCRIPTION=An optimized HTTP server with support for HTTP/1.x and HTTP/2
|
||||
DEPEND=dev-lang/perl sys-libs/zlib !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) mruby? ( || ( dev-lang/ruby:2.3 dev-lang/ruby:2.4 ) virtual/rubygems dev-libs/oniguruma sys-devel/bison virtual/pkgconfig ) sys-devel/make >=dev-util/cmake-3.9.6 >=dev-vcs/git-1.8.2.1[curl] virtual/pkgconfig
|
||||
DESCRIPTION=H2O - the optimized HTTP/1, HTTP/2 server
|
||||
EAPI=6
|
||||
HOMEPAGE=https://h2o.examp1e.net
|
||||
HOMEPAGE=https://h2o.examp1e.net/
|
||||
IUSE=libressl +mruby
|
||||
LICENSE=MIT
|
||||
RDEPEND=!libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= )
|
||||
RDEPEND=dev-lang/perl sys-libs/zlib !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= )
|
||||
SLOT=0
|
||||
_eclasses_=cmake-utils 57384a259cf0c7985ce651b2c0865405 desktop 1b286a7e7143d8c4ec89cd0d2743a097 eapi7-ver d97a56a62c7df8614afddcb25f5ff00f epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 git-r3 8f6de46b0aa318aea0e8cac62ece098b ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils d2e7e7d290428bb25c56dcf2502badc1 preserve-libs ef207dc62baddfddfd39a164d9797648 ruby-single 7435c1687c234eb8cf5b212756f6381e ruby-utils e5942a80e3c3b936c6b84d6dc4af9f9c systemd 04e50685fbf3d89e5c67ac6a385dd595 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25
|
||||
_md5_=ad99870aca0d5962f660def605d8551c
|
||||
_md5_=d91981b5128cb7b52df1fb5c23ce04ac
|
||||
|
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install postinst
|
||||
DEPEND=>=dev-libs/glib-2 dev-libs/libxml2 dev-util/intltool sys-devel/gettext virtual/pkgconfig
|
||||
DESCRIPTION=The Shared MIME-info Database specification
|
||||
EAPI=6
|
||||
HOMEPAGE=https://freedesktop.org/wiki/Software/shared-mime-info
|
||||
IUSE=test
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=dev-libs/glib-2 dev-libs/libxml2
|
||||
SLOT=0
|
||||
SRC_URI=https://people.freedesktop.org/~hadess/shared-mime-info-1.10.tar.xz
|
||||
_eclasses_=xdg-utils f2c8335407f0b935b0a96d4adf23ef25
|
||||
_md5_=c3d10ad138eba520b691cb03c7076adf
|
@ -1 +1 @@
|
||||
Wed, 04 Jul 2018 04:38:27 +0000
|
||||
Wed, 04 Jul 2018 15:38:24 +0000
|
||||
|
@ -1 +1 @@
|
||||
Wed Jul 4 04:38:27 UTC 2018
|
||||
Wed Jul 4 15:38:23 UTC 2018
|
||||
|
@ -1 +1 @@
|
||||
Wed, 04 Jul 2018 05:00:01 +0000
|
||||
Wed, 04 Jul 2018 16:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
a0a704bbbd1bb860795a511f45610face1ec101c 1530676605 2018-07-04T03:56:45+00:00
|
||||
373f8b9e793dac3fe065a08bec351344488df33f 1530717409 2018-07-04T15:16:49+00:00
|
||||
|
@ -1 +1 @@
|
||||
1530678901 Wed 04 Jul 2018 04:35:01 AM UTC
|
||||
1530718501 Wed 04 Jul 2018 03:35:01 PM UTC
|
||||
|
@ -1 +1 @@
|
||||
Wed, 04 Jul 2018 04:38:27 +0000
|
||||
Wed, 04 Jul 2018 15:38:23 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST busybox-1.28.0.tar.bz2 2261831 BLAKE2B 9cbb133d59711dde90ef5b20bfd4b892e34565103eaa64b2000b042bd2b9b234df14b5e8b74f7cf8f9071b907e1b9eff556e852bb921088d81548473430d3acf SHA512 346a71d44e6c4e1889ac12ae52320cb0c3d0c45c2b4b49fc4e3c0bb25f427707d8075150d545906f414b9f4e5b6d8f1a3afe8cdc31f6a64e06c62b400d7d129b
|
||||
DIST busybox-1.28.3.tar.bz2 2260586 BLAKE2B f2fec31ab1c6e6b865cea20a2819f58cb8e4c789051a8fdc8c8ca43367049fa9038e07f3fe806ba7abd90cb6a6aefdb0d095afb68119c11e94240647da6d48ce SHA512 0e87019d9d1179bc072a5ef9752d7342747e311db13c0b0dfa9f380a1e3ad1c265cca118d41f86829629ec5c8eb3e83985421c6f3ea6c8a9991b92ed301a4982
|
||||
DIST busybox-1.28.4.tar.bz2 2263342 BLAKE2B f35c81e67136d888a998f41b1418589e4bddaacde25d55eb509822a13ab93d351dcda6b147794a47e3c3c5c4141e9d8cc834ed239e0afba176f08bf3cb55b911 SHA512 92471617fcf3c1e28b468f3de2c83a1041f5ba5106580cc791e9c4cd602b7ccffabc51ce0807881ed734a89c3089113048265d6659a4d595528bd9150288d2ed
|
||||
DIST busybox-1.29.0.tar.bz2 2303680 BLAKE2B 2b3082952a3dc17c4a65ee6de24276d0c9dca9082bc75df23e67855d9667508ba146ff2210f6c548628341fae7bbd1ff16f4ef445b4297cd2a1a05be2b4fb591 SHA512 49afcb0bfcea881b37cb740cd17b144cb46596d456e72702884a835eee5e4b0b681c3a21ee7095a927a2fe4cd2bb691890aa8f3f32dbd98c4da20c2fa4e7edf9
|
||||
|
@ -0,0 +1,329 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# See `man savedconfig.eclass` for info on how to use USE=savedconfig.
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit flag-o-matic savedconfig toolchain-funcs
|
||||
|
||||
DESCRIPTION="Utilities for rescue and embedded systems"
|
||||
HOMEPAGE="https://www.busybox.net/"
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
MY_P=${P}
|
||||
EGIT_REPO_URI="https://git.busybox.net/busybox"
|
||||
inherit git-r3
|
||||
else
|
||||
MY_P=${PN}-${PV/_/-}
|
||||
SRC_URI="https://www.busybox.net/downloads/${MY_P}.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2" # GPL-2 only
|
||||
SLOT="0"
|
||||
IUSE="debug ipv6 livecd make-symlinks math mdev pam selinux sep-usr static syslog systemd"
|
||||
REQUIRED_USE="pam? ( !static )"
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="!static? ( selinux? ( sys-libs/libselinux ) )
|
||||
pam? ( sys-libs/pam )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
static? ( selinux? ( sys-libs/libselinux[static-libs(+)] ) )
|
||||
>=sys-kernel/linux-headers-2.6.39"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
mdev? ( !<sys-apps/openrc-0.13 )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
busybox_config_option() {
|
||||
local flag=$1 ; shift
|
||||
if [[ ${flag} != [yn] && ${flag} != \"* ]] ; then
|
||||
busybox_config_option $(usex ${flag} y n) "$@"
|
||||
return
|
||||
fi
|
||||
local expr
|
||||
while [[ $# -gt 0 ]] ; do
|
||||
case ${flag} in
|
||||
y) expr="s:.*\<CONFIG_$1\>.*set:CONFIG_$1=y:g" ;;
|
||||
n) expr="s:CONFIG_$1=y:# CONFIG_$1 is not set:g" ;;
|
||||
*) expr="s:.*\<CONFIG_$1\>.*:CONFIG_$1=${flag}:g" ;;
|
||||
esac
|
||||
sed -i -e "${expr}" .config || die
|
||||
einfo "$(grep "CONFIG_$1[= ]" .config || echo "Could not find CONFIG_$1 ...")"
|
||||
shift
|
||||
done
|
||||
}
|
||||
|
||||
busybox_config_enabled() {
|
||||
local val=$(sed -n "/^CONFIG_$1=/s:^[^=]*=::p" .config)
|
||||
case ${val} in
|
||||
"") return 1 ;;
|
||||
y) return 0 ;;
|
||||
*) echo "${val}" | sed -r 's:^"(.*)"$:\1:' ;;
|
||||
esac
|
||||
}
|
||||
|
||||
# patches go here!
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.26.2-bb.patch
|
||||
# "${FILESDIR}"/${P}-*.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
unset KBUILD_OUTPUT #88088
|
||||
append-flags -fno-strict-aliasing #310413
|
||||
use ppc64 && append-flags -mminimal-toc #130943
|
||||
|
||||
cp "${FILESDIR}"/ginit.c init/ || die
|
||||
|
||||
# flag cleanup
|
||||
sed -i -r \
|
||||
-e 's:[[:space:]]?-(Werror|Os|falign-(functions|jumps|loops|labels)=1|fomit-frame-pointer)\>::g' \
|
||||
Makefile.flags || die
|
||||
#sed -i '/bbsh/s:^//::' include/applets.h
|
||||
sed -i '/^#error Aborting compilation./d' applets/applets.c || die
|
||||
use elibc_glibc && sed -i 's:-Wl,--gc-sections::' Makefile
|
||||
sed -i \
|
||||
-e "/^CROSS_COMPILE/s:=.*:= ${CHOST}-:" \
|
||||
-e "/^AR\>/s:=.*:= $(tc-getAR):" \
|
||||
-e "/^CC\>/s:=.*:= $(tc-getCC):" \
|
||||
-e "/^HOSTCC/s:=.*:= $(tc-getBUILD_CC):" \
|
||||
-e "/^PKG_CONFIG\>/s:=.*:= $(tc-getPKG_CONFIG):" \
|
||||
Makefile || die
|
||||
sed -i \
|
||||
-e 's:-static-libgcc::' \
|
||||
Makefile.flags || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# check for a busybox config before making one of our own.
|
||||
# if one exist lets return and use it.
|
||||
|
||||
restore_config .config
|
||||
if [ -f .config ]; then
|
||||
yes "" | emake -j1 -s oldconfig >/dev/null
|
||||
return 0
|
||||
else
|
||||
ewarn "Could not locate user configfile, so we will save a default one"
|
||||
fi
|
||||
|
||||
# setup the config file
|
||||
emake -j1 -s allyesconfig >/dev/null
|
||||
# nommu forces a bunch of things off which we want on #387555
|
||||
busybox_config_option n NOMMU
|
||||
sed -i '/^#/d' .config
|
||||
yes "" | emake -j1 -s oldconfig >/dev/null
|
||||
|
||||
# now turn off stuff we really don't want
|
||||
busybox_config_option n DMALLOC
|
||||
busybox_config_option n FEATURE_2_4_MODULES #607548
|
||||
busybox_config_option n FEATURE_SUID_CONFIG
|
||||
busybox_config_option n BUILD_AT_ONCE
|
||||
busybox_config_option n BUILD_LIBBUSYBOX
|
||||
busybox_config_option n FEATURE_CLEAN_UP
|
||||
busybox_config_option n MONOTONIC_SYSCALL
|
||||
busybox_config_option n USE_PORTABLE_CODE
|
||||
busybox_config_option n WERROR
|
||||
# triming the BSS size may be dangerous
|
||||
busybox_config_option n FEATURE_USE_BSS_TAIL
|
||||
|
||||
# These cause trouble with musl.
|
||||
if use elibc_musl; then
|
||||
busybox_config_option n FEATURE_UTMP
|
||||
busybox_config_option n EXTRA_COMPAT
|
||||
busybox_config_option n FEATURE_VI_REGEX_SEARCH
|
||||
fi
|
||||
|
||||
# If these are not set and we are using a uclibc/busybox setup
|
||||
# all calls to system() will fail.
|
||||
busybox_config_option y ASH
|
||||
busybox_config_option y SH_IS_ASH
|
||||
busybox_config_option n HUSH
|
||||
busybox_config_option n SH_IS_HUSH
|
||||
|
||||
busybox_config_option '"/run"' PID_FILE_PATH
|
||||
busybox_config_option '"/run/ifstate"' IFUPDOWN_IFSTATE_PATH
|
||||
|
||||
# disable ipv6 applets
|
||||
if ! use ipv6; then
|
||||
busybox_config_option n FEATURE_IPV6
|
||||
busybox_config_option n TRACEROUTE6
|
||||
busybox_config_option n PING6
|
||||
busybox_config_option n UDHCPC6
|
||||
fi
|
||||
|
||||
busybox_config_option pam PAM
|
||||
busybox_config_option static STATIC
|
||||
busybox_config_option syslog {K,SYS}LOGD LOGGER
|
||||
busybox_config_option systemd FEATURE_SYSTEMD
|
||||
busybox_config_option math FEATURE_AWK_LIBM
|
||||
|
||||
# disable features that uClibc doesn't (yet?) provide.
|
||||
if use elibc_uclibc; then
|
||||
busybox_config_option n FEATURE_SYNC_FANCY #567598
|
||||
busybox_config_option n NSENTER
|
||||
fi
|
||||
|
||||
# all the debug options are compiler related, so punt them
|
||||
busybox_config_option n DEBUG_SANITIZE
|
||||
busybox_config_option n DEBUG
|
||||
busybox_config_option y NO_DEBUG_LIB
|
||||
busybox_config_option n DMALLOC
|
||||
busybox_config_option n EFENCE
|
||||
busybox_config_option $(usex debug y n) TFTP_DEBUG
|
||||
|
||||
busybox_config_option selinux SELINUX
|
||||
|
||||
# this opt only controls mounting with <linux-2.6.23
|
||||
busybox_config_option n FEATURE_MOUNT_NFS
|
||||
|
||||
# default a bunch of uncommon options to off
|
||||
local opt
|
||||
for opt in \
|
||||
ADD_SHELL \
|
||||
BEEP BOOTCHARTD \
|
||||
CRONTAB \
|
||||
DC DEVFSD DNSD DPKG{,_DEB} \
|
||||
FAKEIDENTD FBSPLASH FOLD FSCK_MINIX FTP{GET,PUT} \
|
||||
FEATURE_DEVFS \
|
||||
HOSTID HUSH \
|
||||
INETD INOTIFYD IPCALC \
|
||||
LOCALE_SUPPORT LOGNAME LPD \
|
||||
MAKEMIME MKFS_MINIX MSH \
|
||||
OD \
|
||||
RDEV READPROFILE REFORMIME REMOVE_SHELL RFKILL RUN_PARTS RUNSV{,DIR} \
|
||||
SLATTACH SMEMCAP SULOGIN SV{,LOGD} \
|
||||
TASKSET TCPSVD \
|
||||
RPM RPM2CPIO \
|
||||
UDPSVD UUDECODE UUENCODE
|
||||
do
|
||||
busybox_config_option n ${opt}
|
||||
done
|
||||
|
||||
emake -j1 oldconfig > /dev/null
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unset KBUILD_OUTPUT #88088
|
||||
export SKIP_STRIP=y
|
||||
|
||||
emake V=1 busybox
|
||||
}
|
||||
|
||||
src_install() {
|
||||
unset KBUILD_OUTPUT #88088
|
||||
save_config .config
|
||||
|
||||
into /
|
||||
dodir /bin
|
||||
if use sep-usr ; then
|
||||
# install /ginit to take care of mounting stuff
|
||||
exeinto /
|
||||
newexe busybox_unstripped ginit
|
||||
dosym /ginit /bin/bb
|
||||
dosym bb /bin/busybox
|
||||
else
|
||||
newbin busybox_unstripped busybox
|
||||
dosym busybox /bin/bb
|
||||
fi
|
||||
if use mdev ; then
|
||||
dodir /$(get_libdir)/mdev/
|
||||
use make-symlinks || dosym /bin/bb /sbin/mdev
|
||||
cp "${S}"/examples/mdev_fat.conf "${ED}"/etc/mdev.conf
|
||||
|
||||
exeinto /$(get_libdir)/mdev/
|
||||
doexe "${FILESDIR}"/mdev/*
|
||||
|
||||
newinitd "${FILESDIR}"/mdev.initd mdev
|
||||
fi
|
||||
if use livecd ; then
|
||||
dosym busybox /bin/vi
|
||||
fi
|
||||
|
||||
# add busybox daemon's, bug #444718
|
||||
if busybox_config_enabled FEATURE_NTPD_SERVER; then
|
||||
newconfd "${FILESDIR}/ntpd.confd" "busybox-ntpd"
|
||||
newinitd "${FILESDIR}/ntpd.initd" "busybox-ntpd"
|
||||
fi
|
||||
if busybox_config_enabled SYSLOGD; then
|
||||
newconfd "${FILESDIR}/syslogd.confd" "busybox-syslogd"
|
||||
newinitd "${FILESDIR}/syslogd.initd" "busybox-syslogd"
|
||||
fi
|
||||
if busybox_config_enabled KLOGD; then
|
||||
newconfd "${FILESDIR}/klogd.confd" "busybox-klogd"
|
||||
newinitd "${FILESDIR}/klogd.initd" "busybox-klogd"
|
||||
fi
|
||||
if busybox_config_enabled WATCHDOG; then
|
||||
newconfd "${FILESDIR}/watchdog.confd" "busybox-watchdog"
|
||||
newinitd "${FILESDIR}/watchdog.initd" "busybox-watchdog"
|
||||
fi
|
||||
if busybox_config_enabled UDHCPC; then
|
||||
local path=$(busybox_config_enabled UDHCPC_DEFAULT_SCRIPT)
|
||||
exeinto "${path%/*}"
|
||||
newexe examples/udhcp/simple.script "${path##*/}"
|
||||
fi
|
||||
if busybox_config_enabled UDHCPD; then
|
||||
insinto /etc
|
||||
doins examples/udhcp/udhcpd.conf
|
||||
fi
|
||||
|
||||
# bundle up the symlink files for use later
|
||||
emake DESTDIR="${ED}" install
|
||||
rm _install/bin/busybox
|
||||
# for compatibility, provide /usr/bin/env
|
||||
mkdir -p _install/usr/bin
|
||||
ln -s /bin/env _install/usr/bin/env
|
||||
tar cf busybox-links.tar -C _install . || : #;die
|
||||
insinto /usr/share/${PN}
|
||||
use make-symlinks && doins busybox-links.tar
|
||||
|
||||
dodoc AUTHORS README TODO
|
||||
|
||||
cd docs
|
||||
docinto txt
|
||||
dodoc *.txt
|
||||
docinto pod
|
||||
dodoc *.pod
|
||||
docinto html
|
||||
dodoc *.html
|
||||
|
||||
cd ../examples
|
||||
docinto examples
|
||||
dodoc inittab depmod.pl *.conf *.script undeb unrpm
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if use make-symlinks && [[ ! ${VERY_BRAVE_OR_VERY_DUMB} == "yes" ]] && [[ ${ROOT} == "/" ]] ; then
|
||||
ewarn "setting USE=make-symlinks and emerging to / is very dangerous."
|
||||
ewarn "it WILL overwrite lots of system programs like: ls bash awk grep (bug 60805 for full list)."
|
||||
ewarn "If you are creating a binary only and not merging this is probably ok."
|
||||
ewarn "set env VERY_BRAVE_OR_VERY_DUMB=yes if this is really what you want."
|
||||
die "silly options will destroy your system"
|
||||
fi
|
||||
|
||||
if use make-symlinks ; then
|
||||
mv "${ED}"/usr/share/${PN}/busybox-links.tar "${T}"/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
savedconfig_pkg_postinst
|
||||
|
||||
if use make-symlinks ; then
|
||||
cd "${T}" || die
|
||||
mkdir _install
|
||||
tar xf busybox-links.tar -C _install || die
|
||||
cp -vpPR _install/* "${ROOT}"/ || die "copying links for ${x} failed"
|
||||
fi
|
||||
|
||||
if use sep-usr ; then
|
||||
elog "In order to use the sep-usr support, you have to update your"
|
||||
elog "kernel command line. Add the option:"
|
||||
elog " init=/ginit"
|
||||
elog "To launch a different init than /sbin/init, use:"
|
||||
elog " init=/ginit /sbin/yourinit"
|
||||
elog "To get a rescue shell, you may boot with:"
|
||||
elog " init=/ginit bb"
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
ETYPE="sources"
|
||||
K_WANT_GENPATCHES="base extras experimental"
|
||||
K_GENPATCHES_VER="141"
|
||||
|
||||
inherit kernel-2
|
||||
detect_version
|
||||
detect_arch
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
|
||||
IUSE="experimental"
|
||||
|
||||
DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
|
||||
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
|
||||
|
||||
pkg_postinst() {
|
||||
kernel-2_pkg_postinst
|
||||
einfo "For more info on this patchset, and how to report problems, see:"
|
||||
einfo "${HOMEPAGE}"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
kernel-2_pkg_postrm
|
||||
}
|
Binary file not shown.
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib multilib-minimal toolchain-funcs pam
|
||||
|
||||
DESCRIPTION="POSIX 1003.1e capabilities"
|
||||
HOMEPAGE="http://www.friedhoff.org/posixfilecaps.html"
|
||||
SRC_URI="mirror://kernel/linux/libs/security/linux-privs/libcap2/${P}.tar.xz"
|
||||
|
||||
# it's available under either of the licenses
|
||||
LICENSE="|| ( GPL-2 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
|
||||
IUSE="pam static-libs"
|
||||
|
||||
# While the build system optionally uses gperf, we don't DEPEND on it because
|
||||
# the build automatically falls back when it's unavailable. #604802
|
||||
RDEPEND=">=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}]
|
||||
pam? ( virtual/pam )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-kernel/linux-headers"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.25-build-system-fixes.patch
|
||||
"${FILESDIR}"/${PN}-2.22-no-perl.patch
|
||||
"${FILESDIR}"/${PN}-2.25-ignore-RAISE_SETFCAP-install-failures.patch
|
||||
"${FILESDIR}"/${PN}-2.21-include.patch
|
||||
"${FILESDIR}"/${PN}-2.25-gperf.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
sed -i \
|
||||
-e "/^PAM_CAP/s:=.*:=$(multilib_native_usex pam yes no):" \
|
||||
-e '/^DYNAMIC/s:=.*:=yes:' \
|
||||
-e '/^lib_prefix=/s:=.*:=$(prefix):' \
|
||||
-e "/^lib=/s:=.*:=$(get_libdir):" \
|
||||
Make.Rules
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
tc-export AR CC RANLIB
|
||||
local BUILD_CC
|
||||
tc-export_build_env BUILD_CC
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
# no configure, needs explicit install line #444724#c3
|
||||
emake install DESTDIR="${ED}"
|
||||
|
||||
gen_usr_ldscript -a cap
|
||||
if ! use static-libs ; then
|
||||
rm "${ED%/}"/usr/$(get_libdir)/libcap.a || die
|
||||
fi
|
||||
|
||||
if multilib_is_native_abi && use pam; then
|
||||
dopammod pam_cap/pam_cap.so
|
||||
dopamsecurity '' pam_cap/capability.conf
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
rm -r "${ED%/}"/usr/$(get_libdir)/security || die
|
||||
dodoc CHANGELOG README doc/capability.notes
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST opera-beta_54.0.2952.31_amd64.deb 55419350 BLAKE2B 324a2a70c56c242a67d5369a5151bb7c0406746e54553756fcadf2f658d33cbcbfb350187c62b932909e147d5256fd16b3d6431c499b9252964d9e8315f58c68 SHA512 f47b26daaf950002c13fad7f5033dff71ff422fbc214dbc41b4c361b5acf0975709bff6da186da9824c8f0ff4c81be4e7e9b668fd458be12453795011741b34e
|
||||
DIST opera-beta_54.0.2952.40_amd64.deb 55438378 BLAKE2B 8d446bb5d32553b6213d60718912ae72b5c7e3d4596c26bdf0140d379a0b6c14e217821e3e2298fbe77e2a094d3f7d7697db2ff53b19c23fd304ab1642b0179a SHA512 987ded440347ae6dfcfca691727b65a6e87fcd0fd1a90fe20812de519dda01f780655cbd024b0021ca22fc9b3f358dac526a91d1f0eabecf001cde97583b2af5
|
||||
DIST opera-beta_54.0.2952.43_amd64.deb 55136488 BLAKE2B 65233c91466d1c63e3c0a11964b47fa0cfc7c84f6cdbfeacbf032afc4d75715cbfe31b6b20ccbc1719a37e38a659ae1b3de75da365b412c93b99cfc4a297d6d7 SHA512 92df67403521b836ec1d002bc2e2a99ea949b638f8829b12179fa95903ff21196d2e93cb98afa65664db9cc43f044060a3bae1df3bf57e8427b7ee25d07338ed
|
||||
|
@ -0,0 +1,403 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
WANT_AUTOCONF="2.1"
|
||||
|
||||
# This list can be updated with scripts/get_langs.sh from the mozilla overlay
|
||||
# note - could not roll langpacks for: ca fi
|
||||
#MOZ_LANGS=(ca cs de en-GB es-AR es-ES fi fr gl hu it ja lt nb-NO nl pl pt-PT
|
||||
# ru sk sv-SE tr uk zh-CN zh-TW)
|
||||
MOZ_LANGS=(cs de en-GB es-AR es-ES fr hu it ja lt nl pl pt-PT
|
||||
ru sk sv-SE zh-CN zh-TW)
|
||||
|
||||
MOZ_PV="${PV/_pre*}"
|
||||
MOZ_PV="${MOZ_PV/_alpha/a}"
|
||||
MOZ_PV="${MOZ_PV/_beta/b}"
|
||||
MOZ_PV="${MOZ_PV/_rc/rc}"
|
||||
MOZ_PV="${MOZ_PV/_p[0-9]}"
|
||||
MOZ_P="${P}"
|
||||
MY_MOZ_P="${PN}-${MOZ_PV}"
|
||||
|
||||
if [[ ${PV} == *_pre* ]] ; then
|
||||
# the following are for upstream build candidates
|
||||
MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/candidates/${MOZ_PV}-candidates/build${PV##*_pre}"
|
||||
MOZ_LANGPACK_PREFIX="linux-i686/xpi/"
|
||||
SRC_URI+=" ${MOZ_HTTP_URI}/source/${MY_MOZ_P}.source.tar.xz -> ${P}.source.tar.xz"
|
||||
S="${WORKDIR}/${MY_MOZ_P}"
|
||||
# And the langpack stuff stays at eclass defaults
|
||||
# the following is for self-rolled releases
|
||||
#MOZ_HTTP_URI="https://dev.gentoo.org/~axs/distfiles"
|
||||
#MOZ_LANGPACK_PREFIX="${MY_MOZ_P}."
|
||||
#MOZ_LANGPACK_SUFFIX=".langpack.xpi"
|
||||
#SRC_URI="${SRC_URI}
|
||||
#${MOZ_HTTP_URI}/${P}.source.tar.xz
|
||||
#"
|
||||
elif [[ ${PV} == *_p[0-9] ]]; then
|
||||
# gentoo-unofficial release using thunderbird distfiles to build seamonkey instead
|
||||
TB_MAJOR=52
|
||||
SMPV="${PV%.[0-9].*}"
|
||||
MOZ_P="${PN}-${MOZ_PV}"
|
||||
MOZ_HTTP_URI="https://archive.mozilla.org/pub/thunderbird/releases/${MOZ_PV/${SMPV}/${TB_MAJOR}}"
|
||||
#MOZ_GENERATE_LANGPACKS=1
|
||||
#https://dev.gentoo.org/~axs/distfiles/${PN}-${SMPV}-l10n-sources-20170727.tar.xz
|
||||
MOZ_LANGPACK_PREFIX="../../../seamonkey/releases/2.49.1/linux-i686/xpi/"
|
||||
MOZ_LANGPACK_SUFFIX=".xpi"
|
||||
S="${WORKDIR}/thunderbird-${MOZ_PV/${SMPV}/${TB_MAJOR}}"
|
||||
CHATZILLA_VER="SEA2_48_RELBRANCH"
|
||||
INSPECTOR_VER="DOMI_2_0_17"
|
||||
SRC_URI="${SRC_URI}
|
||||
${MOZ_HTTP_URI}/source/thunderbird-${MOZ_PV/${SMPV}/${TB_MAJOR}}.source.tar.xz
|
||||
https://hg.mozilla.org/chatzilla/archive/${CHATZILLA_VER}.tar.bz2 -> chatzilla-${CHATZILLA_VER}.tar.bz2
|
||||
https://hg.mozilla.org/dom-inspector/archive/${INSPECTOR_VER}.tar.bz2 -> dom-inspector-${INSPECTOR_VER}.tar.bz2
|
||||
"
|
||||
else
|
||||
MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases/${MOZ_PV}"
|
||||
MOZ_LANGPACK_PREFIX="langpack/${MY_MOZ_P}."
|
||||
MOZ_LANGPACK_SUFFIX=".langpack.xpi"
|
||||
S="${WORKDIR}/${PN}-${MOZ_PV}"
|
||||
SRC_URI="${SRC_URI}
|
||||
${MOZ_HTTP_URI}/source/${MY_MOZ_P}.source.tar.xz -> ${P}.source.tar.xz
|
||||
"
|
||||
fi
|
||||
|
||||
MOZCONFIG_OPTIONAL_GTK3=1
|
||||
MOZCONFIG_OPTIONAL_WIFI=1
|
||||
inherit check-reqs flag-o-matic toolchain-funcs eutils mozconfig-v6.52 pax-utils xdg-utils autotools mozextension nsplugins mozlinguas-v2
|
||||
|
||||
PATCHFF="firefox-52.4-patches-02"
|
||||
PATCH="${PN}-2.46-patches-01"
|
||||
|
||||
DESCRIPTION="Seamonkey Web Browser"
|
||||
HOMEPAGE="http://www.seamonkey-project.org"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
|
||||
IUSE="+calendar +chatzilla +crypt +gmp-autoupdate +ipc jack minimal pulseaudio +roaming selinux test"
|
||||
|
||||
SRC_URI+="
|
||||
https://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCHFF}.tar.xz
|
||||
https://dev.gentoo.org/~axs/mozilla/patchsets/${PATCHFF}.tar.xz
|
||||
https://dev.gentoo.org/~polynomial-c/mozilla/patchsets/${PATCHFF}.tar.xz
|
||||
https://dev.gentoo.org/~axs/mozilla/patchsets/${PATCH}.tar.xz
|
||||
https://dev.gentoo.org/~polynomial-c/mozilla/patchsets/${PATCH}.tar.xz
|
||||
"
|
||||
|
||||
ASM_DEPEND=">=dev-lang/yasm-1.1"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/nss-3.28.3
|
||||
>=dev-libs/nspr-4.13.1
|
||||
jack? ( virtual/jack )
|
||||
crypt? ( >=x11-plugins/enigmail-2.0.5 )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
!elibc_glibc? ( !elibc_uclibc? ( !elibc_musl? ( dev-libs/libexecinfo ) ) )
|
||||
amd64? ( ${ASM_DEPEND}
|
||||
virtual/opengl )
|
||||
x86? ( ${ASM_DEPEND}
|
||||
virtual/opengl )
|
||||
"
|
||||
|
||||
BUILD_OBJ_DIR="${S}/seamonk"
|
||||
|
||||
# allow GMP_PLUGIN_LIST to be set in an eclass or
|
||||
# overridden in the enviromnent (advanced hackers only)
|
||||
if [[ -z $GMP_PLUGIN_LIST ]] ; then
|
||||
GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm )
|
||||
fi
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${PV} == *_pre* ]] ; then
|
||||
ewarn "You're using an unofficial release of ${PN}. Don't file any bug in"
|
||||
ewarn "Gentoo's Bugtracker against this package in case it breaks for you."
|
||||
ewarn "Those belong to upstream: https://bugzilla.mozilla.org"
|
||||
fi
|
||||
|
||||
moz_pkgsetup
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
# Ensure we have enough disk space to compile
|
||||
if use debug || use test ; then
|
||||
CHECKREQS_DISK_BUILD="8G"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="4G"
|
||||
fi
|
||||
check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# Unpack language packs
|
||||
mozlinguas_src_unpack
|
||||
|
||||
if [[ -n $TB_MAJOR ]]; then
|
||||
# move the irc and inspector code into the correct locations
|
||||
# when we are building from a thunderbird tarball
|
||||
mv "${WORKDIR}"/chatzilla-${CHATZILLA_VER} \
|
||||
"${S}"/mozilla/extensions/irc || die
|
||||
mv "${WORKDIR}"/dom-inspector-${INSPECTOR_VER} \
|
||||
"${S}"/mozilla/extensions/inspector || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Apply our patches
|
||||
eapply "${WORKDIR}"/seamonkey
|
||||
|
||||
# browser patches go here
|
||||
pushd "${S}"/mozilla &>/dev/null || die
|
||||
rm -f "${WORKDIR}"/firefox/1000_gentoo_install_dir.patch
|
||||
eapply "${WORKDIR}"/firefox
|
||||
popd &>/dev/null || die
|
||||
|
||||
if grep -q '^sdkdir.*$(MOZ_APP_NAME)-devel' mozilla/config/baseconfig.mk ; then
|
||||
sed '/^sdkdir/s@-devel@@' \
|
||||
-i mozilla/config/baseconfig.mk || die
|
||||
else
|
||||
einfo "baseconfig.mk hackery no longer needed."
|
||||
fi
|
||||
|
||||
# Shell scripts sometimes contain DOS line endings; bug 391889
|
||||
grep -rlZ --include="*.sh" $'\r$' . |
|
||||
while read -r -d $'\0' file ; do
|
||||
einfo edos2unix "${file}"
|
||||
edos2unix "${file}"
|
||||
done
|
||||
|
||||
# force a version update that matches the minor and patch version of thunderbird
|
||||
if [[ -n ${TB_MAJOR} ]]; then
|
||||
echo ${MOZ_PV} >"${S}"/suite/config/version.txt
|
||||
fi
|
||||
|
||||
# Allow user to apply any additional patches without modifing ebuild
|
||||
eapply_user
|
||||
|
||||
local ms="${S}/mozilla"
|
||||
|
||||
# Enable gnomebreakpad
|
||||
if use debug ; then
|
||||
sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \
|
||||
"${ms}"/build/unix/run-mozilla.sh || die "sed failed!"
|
||||
fi
|
||||
|
||||
# Ensure that are plugins dir is enabled as default
|
||||
sed -i -e "s:/usr/lib/mozilla/plugins:/usr/lib/nsbrowser/plugins:" \
|
||||
"${ms}"/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 32bit!"
|
||||
sed -i -e "s:/usr/lib64/mozilla/plugins:/usr/lib64/nsbrowser/plugins:" \
|
||||
"${ms}"/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 64bit!"
|
||||
|
||||
# Don't exit with error when some libs are missing which we have in
|
||||
# system.
|
||||
sed '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' \
|
||||
-i "${S}"/suite/installer/Makefile.in || die
|
||||
# Don't error out when there's no files to be removed:
|
||||
sed 's@\(xargs rm\)$@\1 -f@' \
|
||||
-i "${ms}"/toolkit/mozapps/installer/packager.mk || die
|
||||
|
||||
# Don't build libs-% locale files for chatzilla if we are not building chatzilla
|
||||
# (this is hard-coded in the build system at present rather than being based on configuration)
|
||||
use chatzilla || sed '/extensions\/irc\/locales libs-/s@^@#@' \
|
||||
-i "${S}"/suite/locales/Makefile.in || die
|
||||
|
||||
eautoreconf old-configure.in
|
||||
cd "${S}"/mozilla || die
|
||||
eautoconf old-configure.in
|
||||
cd "${S}"/mozilla/js/src || die
|
||||
eautoconf old-configure.in
|
||||
cd "${S}"/mozilla/memory/jemalloc/src || die
|
||||
WANT_AUTOCONF= eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
MEXTENSIONS="default"
|
||||
# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
|
||||
# Note: These are for Gentoo Linux use ONLY. For your own distribution, please
|
||||
# get your own set of keys.
|
||||
_google_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc
|
||||
|
||||
####################################
|
||||
#
|
||||
# mozconfig, CFLAGS and CXXFLAGS setup
|
||||
#
|
||||
####################################
|
||||
|
||||
mozconfig_init
|
||||
mozconfig_config
|
||||
|
||||
# enable JACK, bug 600002
|
||||
mozconfig_use_enable jack
|
||||
|
||||
# It doesn't compile on alpha without this LDFLAGS
|
||||
use alpha && append-ldflags "-Wl,--no-relax"
|
||||
|
||||
if ! use chatzilla ; then
|
||||
MEXTENSIONS+=",-irc"
|
||||
fi
|
||||
if ! use roaming ; then
|
||||
MEXTENSIONS+=",-sroaming"
|
||||
fi
|
||||
|
||||
# Setup api key for location services
|
||||
echo -n "${_google_api_key}" > "${S}"/google-api-key
|
||||
mozconfig_annotate '' --with-google-api-keyfile="${S}/google-api-key"
|
||||
|
||||
mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
|
||||
|
||||
# Other sm-specific settings
|
||||
mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
|
||||
mozconfig_annotate '' --enable-safe-browsing
|
||||
mozconfig_use_enable calendar
|
||||
|
||||
mozlinguas_mozconfig
|
||||
|
||||
# Use an objdir to keep things organized.
|
||||
echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" >> "${S}"/.mozconfig
|
||||
echo "mk_add_options XARGS=/usr/bin/xargs" >> "${S}"/.mozconfig
|
||||
|
||||
# Finalize and report settings
|
||||
mozconfig_final
|
||||
|
||||
# Work around breakage in makeopts with --no-print-directory
|
||||
MAKEOPTS="${MAKEOPTS/--no-print-directory/}"
|
||||
|
||||
if [[ $(gcc-major-version) -lt 4 ]] ; then
|
||||
append-cxxflags -fno-stack-protector
|
||||
elif [[ $(gcc-major-version) -gt 4 || $(gcc-minor-version) -gt 3 ]] ; then
|
||||
if use amd64 || use x86 ; then
|
||||
append-flags -mno-avx
|
||||
fi
|
||||
fi
|
||||
|
||||
# workaround for funky/broken upstream configure...
|
||||
SHELL="${SHELL:-${EPREFIX%/}/bin/bash}" \
|
||||
emake V=1 -f client.mk configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL}" \
|
||||
emake V=1 -f client.mk
|
||||
|
||||
mozlinguas_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
|
||||
DICTPATH="\"${EPREFIX}/usr/share/myspell\""
|
||||
|
||||
local emid
|
||||
cd "${BUILD_OBJ_DIR}" || die
|
||||
|
||||
# Pax mark xpcshell for hardened support, only used for startupcache creation.
|
||||
pax-mark m "${BUILD_OBJ_DIR}/dist/bin/xpcshell"
|
||||
|
||||
# Copy our preference before omnijar is created.
|
||||
sed "s|SEAMONKEY_PVR|${PVR}|" "${FILESDIR}"/all-gentoo-1.js > \
|
||||
"${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
|
||||
|| die
|
||||
|
||||
# Set default path to search for dictionaries.
|
||||
echo "pref(\"spellchecker.dictionary_path\", ${DICTPATH});" \
|
||||
>> "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
|
||||
|| die
|
||||
|
||||
echo 'pref("extensions.autoDisableScopes", 3);' >> \
|
||||
"${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
|
||||
|| die
|
||||
|
||||
local plugin
|
||||
if ! use gmp-autoupdate ; then
|
||||
for plugin in "${GMP_PLUGIN_LIST[@]}" ; do
|
||||
echo "pref(\"media.${plugin}.autoupdate\", false);" >> \
|
||||
"${S}/${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \
|
||||
|| dir
|
||||
done
|
||||
fi
|
||||
|
||||
MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX%/}/bin/bash}" \
|
||||
emake DESTDIR="${D}" install
|
||||
cp "${FILESDIR}"/${PN}.desktop "${T}" || die
|
||||
|
||||
sed 's|^\(MimeType=.*\)$|\1text/x-vcard;text/directory;application/mbox;message/rfc822;x-scheme-handler/mailto;|' \
|
||||
-i "${T}"/${PN}.desktop || die
|
||||
sed 's|^\(Categories=.*\)$|\1Email;|' -i "${T}"/${PN}.desktop \
|
||||
|| die
|
||||
|
||||
# Install language packs
|
||||
mozlinguas_src_install
|
||||
|
||||
# Add StartupNotify=true bug 290401
|
||||
if use startup-notification ; then
|
||||
echo "StartupNotify=true" >> "${T}"/${PN}.desktop || die
|
||||
fi
|
||||
|
||||
# Install icon and .desktop for menu entry
|
||||
newicon "${S}"/suite/branding/nightly/content/icon64.png ${PN}.png
|
||||
domenu "${T}"/${PN}.desktop
|
||||
|
||||
# Required in order to use plugins and even run seamonkey on hardened.
|
||||
pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/{seamonkey,seamonkey-bin,plugin-container}
|
||||
|
||||
if use minimal ; then
|
||||
rm -rf "${ED}"/usr/include "${ED}${MOZILLA_FIVE_HOME}"/{idl,include,lib,sdk}
|
||||
fi
|
||||
|
||||
if use chatzilla ; then
|
||||
local emid='{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}'
|
||||
|
||||
# remove the en_US-only xpi file so a version with all requested locales can be installed
|
||||
if [[ -e "${ED}"${MOZILLA_FIVE_HOME}/distribution/extensions/${emid}.xpi ]]; then
|
||||
rm -f "${ED}"${MOZILLA_FIVE_HOME}/distribution/extensions/${emid}.xpi || die
|
||||
fi
|
||||
|
||||
# merge the extra locales into the main extension
|
||||
mozlinguas_xpistage_langpacks "${BUILD_OBJ_DIR}"/dist/xpi-stage/chatzilla
|
||||
|
||||
# install the merged extension
|
||||
mkdir -p "${T}/${emid}" || die
|
||||
cp -RLp -t "${T}/${emid}" "${BUILD_OBJ_DIR}"/dist/xpi-stage/chatzilla/* || die
|
||||
insinto ${MOZILLA_FIVE_HOME}/distribution/extensions
|
||||
doins -r "${T}/${emid}"
|
||||
fi
|
||||
|
||||
# Handle plugins dir through nsplugins.eclass
|
||||
share_plugins_dir
|
||||
|
||||
# revdep-rebuild entry
|
||||
insinto /etc/revdep-rebuild
|
||||
echo "SEARCH_DIRS_MASK=${MOZILLA_FIVE_HOME}*" >> ${T}/11${PN}
|
||||
doins "${T}"/11${PN}
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
MOZILLA_FIVE_HOME="${ROOT}/usr/$(get_libdir)/${PN}"
|
||||
|
||||
if [ -d ${MOZILLA_FIVE_HOME}/plugins ] ; then
|
||||
rm ${MOZILLA_FIVE_HOME}/plugins -rf
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
|
||||
|
||||
# Update mimedb for the new .desktop file
|
||||
xdg_desktop_database_update
|
||||
#gnome2_icon_cache_update
|
||||
|
||||
if ! use gmp-autoupdate ; then
|
||||
elog "USE='-gmp-autoupdate' has disabled the following plugins from updating or"
|
||||
elog "installing into new profiles:"
|
||||
local plugin
|
||||
for plugin in "${GMP_PLUGIN_LIST[@]}"; do elog "\t ${plugin}" ; done
|
||||
fi
|
||||
|
||||
if use chatzilla ; then
|
||||
elog "chatzilla is now an extension which can be en-/disabled and configured via"
|
||||
elog "the Add-on manager."
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,67 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -157,6 +157,16 @@
|
||||
SET(WSLAY_LIBRARIES -lwslay)
|
||||
ENDIF (NOT WSLAY_FOUND)
|
||||
|
||||
+IF (PKG_CONFIG_FOUND)
|
||||
+ PKG_CHECK_MODULES(ONIG oniguruma)
|
||||
+ IF (ONIG_FOUND)
|
||||
+ LINK_DIRECTORIES(${ONIG_LIBRARY_DIRS})
|
||||
+ ENDIF (ONIG_FOUND)
|
||||
+ENDIF (PKG_CONFIG_FOUND)
|
||||
+IF (NOT ONIG_FOUND AND WITH_RUBY)
|
||||
+ MESSAGE(FATAL_ERROR "Oniguruma not found")
|
||||
+ENDIF (NOT ONIG_FOUND AND WITH_RUBY)
|
||||
+
|
||||
IF (ZLIB_FOUND)
|
||||
INCLUDE_DIRECTORIES(${ZLIB_INCLUDE_DIRS})
|
||||
LINK_DIRECTORIES(${ZLIB_LIBRARY_DIRS})
|
||||
@@ -460,7 +470,7 @@
|
||||
ELSE ()
|
||||
SET(MRUBY_TOOLCHAIN "gcc")
|
||||
ENDIF ()
|
||||
- ADD_CUSTOM_TARGET(mruby MRUBY_TOOLCHAIN=${MRUBY_TOOLCHAIN} MRUBY_CONFIG=${CMAKE_CURRENT_SOURCE_DIR}/misc/mruby_config.rb MRUBY_BUILD_DIR=${CMAKE_CURRENT_BINARY_DIR}/mruby ruby minirake
|
||||
+ ADD_CUSTOM_TARGET(mruby MRUBY_TOOLCHAIN=${MRUBY_TOOLCHAIN} MRUBY_CONFIG=${CMAKE_CURRENT_SOURCE_DIR}/misc/mruby_config.rb MRUBY_BUILD_DIR=${CMAKE_CURRENT_BINARY_DIR}/mruby ruby minirake -v
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/deps/mruby)
|
||||
LIST(APPEND STANDALONE_SOURCE_FILES
|
||||
lib/handler/mruby.c
|
||||
@@ -491,7 +501,7 @@
|
||||
# note: the paths need to be determined before libmruby.flags.mak is generated
|
||||
TARGET_LINK_LIBRARIES(h2o
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/mruby/host/lib/libmruby.a"
|
||||
- "${CMAKE_CURRENT_BINARY_DIR}/mruby/host/mrbgems/mruby-onig-regexp/onigmo-6.1.1/.libs/libonigmo.a"
|
||||
+ ${ONIG_LIBRARIES}
|
||||
"m")
|
||||
ADD_DEPENDENCIES(h2o mruby)
|
||||
ENDIF (WITH_MRUBY)
|
||||
--- a/deps/mruby-onig-regexp/mrbgem.rake
|
||||
+++ b/deps/mruby-onig-regexp/mrbgem.rake
|
||||
@@ -101,9 +101,7 @@
|
||||
cc.defines += ['HAVE_ONIGMO_H']
|
||||
end
|
||||
|
||||
- if spec.respond_to? :search_package and spec.search_package 'onigmo'
|
||||
- spec.cc.defines += ['HAVE_ONIGMO_H']
|
||||
- elsif spec.respond_to? :search_package and spec.search_package 'oniguruma'
|
||||
+ if spec.respond_to? :search_package and spec.search_package 'oniguruma'
|
||||
spec.cc.defines += ['HAVE_ONIGURUMA_H']
|
||||
elsif build.cc.respond_to? :search_header_path and build.cc.search_header_path 'oniguruma.h'
|
||||
spec.linker.libraries << 'onig'
|
||||
--- a/misc/mruby_config.rb
|
||||
+++ b/misc/mruby_config.rb
|
||||
@@ -15,13 +15,7 @@
|
||||
# use mrbgems
|
||||
Dir.glob("../mruby-*/mrbgem.rake") do |x|
|
||||
g = File.basename File.dirname x
|
||||
- if g == 'mruby-onig-regexp'
|
||||
- conf.gem "../deps/#{g}" do |c|
|
||||
- c.bundle_onigmo
|
||||
- end
|
||||
- else
|
||||
- conf.gem "../deps/#{g}"
|
||||
- end
|
||||
+ conf.gem "../deps/#{g}"
|
||||
end
|
||||
|
||||
# include all the core GEMs
|
@ -0,0 +1,73 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -174,6 +174,16 @@
|
||||
SET(WSLAY_LIBRARIES -lwslay)
|
||||
ENDIF (NOT WSLAY_FOUND)
|
||||
|
||||
+IF (PKG_CONFIG_FOUND)
|
||||
+ PKG_CHECK_MODULES(ONIG oniguruma)
|
||||
+ IF (ONIG_FOUND)
|
||||
+ LINK_DIRECTORIES(${ONIG_LIBRARY_DIRS})
|
||||
+ ENDIF (ONIG_FOUND)
|
||||
+ENDIF (PKG_CONFIG_FOUND)
|
||||
+IF (NOT ONIG_FOUND AND WITH_RUBY)
|
||||
+ MESSAGE(FATAL_ERROR "Oniguruma not found")
|
||||
+ENDIF (NOT ONIG_FOUND AND WITH_RUBY)
|
||||
+
|
||||
IF (ZLIB_FOUND)
|
||||
INCLUDE_DIRECTORIES(${ZLIB_INCLUDE_DIRS})
|
||||
LINK_DIRECTORIES(${ZLIB_LIBRARY_DIRS})
|
||||
@@ -533,7 +543,7 @@
|
||||
ELSE ()
|
||||
SET(MRUBY_TOOLCHAIN "gcc")
|
||||
ENDIF ()
|
||||
- ADD_CUSTOM_TARGET(mruby MRUBY_TOOLCHAIN=${MRUBY_TOOLCHAIN} MRUBY_CONFIG=${CMAKE_CURRENT_SOURCE_DIR}/misc/mruby_config.rb MRUBY_BUILD_DIR=${CMAKE_CURRENT_BINARY_DIR}/mruby MRUBY_ADDITIONAL_CONFIG=${MRUBY_ADDITIONAL_CONFIG} ruby minirake
|
||||
+ ADD_CUSTOM_TARGET(mruby MRUBY_TOOLCHAIN=${MRUBY_TOOLCHAIN} MRUBY_CONFIG=${CMAKE_CURRENT_SOURCE_DIR}/misc/mruby_config.rb MRUBY_BUILD_DIR=${CMAKE_CURRENT_BINARY_DIR}/mruby MRUBY_ADDITIONAL_CONFIG=${MRUBY_ADDITIONAL_CONFIG} ruby minirake -v
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/deps/mruby)
|
||||
LIST(APPEND STANDALONE_SOURCE_FILES
|
||||
lib/handler/mruby.c
|
||||
@@ -560,7 +570,7 @@
|
||||
# note: the paths need to be determined before libmruby.flags.mak is generated
|
||||
TARGET_LINK_LIBRARIES(h2o
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/mruby/host/lib/libmruby.a"
|
||||
- "${CMAKE_CURRENT_BINARY_DIR}/mruby/host/mrbgems/mruby-onig-regexp/onigmo-6.1.2/.libs/libonigmo.a"
|
||||
+ ${ONIG_LIBRARIES}
|
||||
"m")
|
||||
ADD_DEPENDENCIES(h2o mruby)
|
||||
ENDIF (WITH_MRUBY)
|
||||
--- a/deps/mruby-onig-regexp/mrbgem.rake
|
||||
+++ b/deps/mruby-onig-regexp/mrbgem.rake
|
||||
@@ -101,15 +101,9 @@
|
||||
file "#{dir}/src/mruby_onig_regexp.c" => [:mruby_onig_regexp_with_compile_option, oniguruma_lib]
|
||||
end
|
||||
|
||||
- if spec.respond_to? :search_package and spec.search_package 'onigmo'
|
||||
- spec.cc.defines += ['HAVE_ONIGMO_H']
|
||||
- spec.linker.libraries << 'onig'
|
||||
- elsif spec.respond_to? :search_package and spec.search_package 'oniguruma'
|
||||
+ if spec.respond_to? :search_package and spec.search_package 'oniguruma'
|
||||
spec.cc.defines += ['HAVE_ONIGURUMA_H']
|
||||
spec.linker.libraries << 'onig'
|
||||
- elsif build.cc.respond_to? :search_header_path and build.cc.search_header_path 'onigmo.h'
|
||||
- spec.cc.defines += ['HAVE_ONIGMO_H']
|
||||
- spec.linker.libraries << 'onigmo'
|
||||
elsif build.cc.respond_to? :search_header_path and build.cc.search_header_path 'oniguruma.h'
|
||||
spec.cc.defines += ['HAVE_ONIGURUMA_H']
|
||||
spec.linker.libraries << 'onig'
|
||||
--- a/misc/mruby_config.rb
|
||||
+++ b/misc/mruby_config.rb
|
||||
@@ -15,13 +15,7 @@
|
||||
# use mrbgems
|
||||
Dir.glob("../mruby-*/mrbgem.rake") do |x|
|
||||
g = File.basename File.dirname x
|
||||
- if g == 'mruby-onig-regexp'
|
||||
- conf.gem "../deps/#{g}" do |c|
|
||||
- c.bundle_onigmo
|
||||
- end
|
||||
- else
|
||||
- conf.gem "../deps/#{g}"
|
||||
- end
|
||||
+ conf.gem "../deps/#{g}"
|
||||
end
|
||||
|
||||
# include all the core GEMs
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue