parent
54525980e4
commit
6b4ae9bbcb
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST brotli-0.6.0.tar.gz 19838761 BLAKE2B 0630e9afcb04ecfd7cc6ba8dcbbe10c5ff16d9a975e13f48bd9b519bcf006afdd672aed542768590e2c5481e808e4f49c520e8a0294ce15e72cb3810a576fdde SHA512 36caa277790efeb5bff0fdc090cdcf00fd9995c4e81a60ed31d36af2e13848ec1afe5d84e6926eebbee013525191e9404e112cb7fbede16097221c5bc3dfb5d5
|
||||
DIST brotli-1.0.2.tar.gz 23736359 BLAKE2B c5467dc52f97942d790b835d5e2c06d2046c3df249446b775d58e56feeb5d5fdd3e1e8e42c5eff92df2bc2b47afabd36389e14afead5fd376e18c8517d1e67f7 SHA512 b3ec98159e63b4169dea3e958d60d89247dc1c0f78aab27bfffb2ece659fa024df990d410aa15c12b2082d42e3785e32ec248dce2b116c7f34e98bb6337f9fc9
|
||||
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
|
||||
DISTUTILS_OPTIONAL="1"
|
||||
|
||||
inherit cmake-utils distutils-r1
|
||||
|
||||
DESCRIPTION="Generic-purpose lossless compression algorithm"
|
||||
HOMEPAGE="https://github.com/google/brotli"
|
||||
SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="python? ( ${PYTHON_DEPS} )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
IUSE="python test"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
LICENSE="MIT python? ( Apache-2.0 )"
|
||||
|
||||
DOCS=( README.md CONTRIBUTING.md )
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-no-rpath.patch )
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
use python && distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DBUILD_TESTING="$(usex test)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
use python && distutils-r1_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
use python && distutils-r1_src_compile
|
||||
}
|
||||
|
||||
python_test(){
|
||||
esetup.py test || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake-utils_src_test
|
||||
use python && distutils-r1_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
use python && distutils-r1_src_install
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
From: Tomasz Buchert <tomasz@debian.org>
|
||||
Date: Sat, 24 Jun 2017 14:40:16 +0200
|
||||
Subject: Do not set rpath on shared libs.
|
||||
|
||||
---
|
||||
CMakeLists.txt | 13 -------------
|
||||
1 file changed, 13 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index ca612d1..bf70d69 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -27,19 +27,6 @@ CMAKE_DEPENDENT_OPTION(BUILD_SHARED_LIBS "Build shared libraries" ON "NOT BROTLI
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
-# When building shared libraries it is important to set the correct rpath.
|
||||
-# See https://cmake.org/Wiki/CMake_RPATH_handling#Always_full_RPATH
|
||||
-if (BUILD_SHARED_LIBS)
|
||||
- add_definitions(-DBROTLI_SHARED_COMPILATION)
|
||||
- set(CMAKE_SKIP_BUILD_RPATH FALSE)
|
||||
- set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
|
||||
- set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
- list(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_LIBDIR}" isSystemDir)
|
||||
- if ("${isSystemDir}" STREQUAL "-1")
|
||||
- set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_LIBDIR}")
|
||||
- endif()
|
||||
-endif()
|
||||
-
|
||||
# Parse version information from common/version.h. Normally we would
|
||||
# define these values here and write them out to configuration file(s)
|
||||
# (i.e., config.h), but in this case we parse them from
|
@ -1,2 +1 @@
|
||||
DIST makeself-2.1.5.run 38210 BLAKE2B b3e68e1c12cfaa2fb66cc53104fb0ec8148b93fac3a26a7e4e5de64672fca5709edd500039a9ccad5e8a6031997332e1096fe6dc5e92fbe83663aa1f2757dc15 SHA512 c556770deea504573c50bc7c15340ed91c65d372e93c47dfc10fd6e8265b2462842da12b36898d4291cbac9e954ec12f2f6972bcf40e97ed82dbd22af21d3a91
|
||||
DIST release-2.2.0.tar.gz 21640 BLAKE2B 32b06157829864918d225a136043a5c9b7c6c543351e981c0e3cdce84cbbe4c52f00870bb04d29bfd79e715c1c708b51cc9958d495a9633afb9a8d342601c20d SHA512 11cd536baed2d56405103f18a8318a202092755a74baf10730aa58dc57032e327697b1c7f76bf9bf438927093ba9ac467ffa0c4564c7f6b1d3b2b3936f34fa73
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
inherit unpacker
|
||||
|
||||
DESCRIPTION="shell script that generates a self-extractible tar.gz"
|
||||
HOMEPAGE="http://www.megastep.org/makeself/"
|
||||
SRC_URI="http://www.megastep.org/makeself/${P}.run"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="sys-apps/gentoo-functions"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
dobin makeself-header.sh makeself.sh "${FILESDIR}"/makeself-unpack || die
|
||||
dosym makeself.sh /usr/bin/makeself
|
||||
doman makeself.1
|
||||
dodoc README TODO makeself.lsm
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
--- unix/configure.orig 2004-09-28 06:45:33.000000000 +0000
|
||||
+++ unix/configure 2004-09-28 06:54:53.000000000 +0000
|
||||
@@ -29,6 +29,9 @@
|
||||
|
||||
echo Check if we can use asm code
|
||||
OBJA=""
|
||||
+piclib="$(echo | $CPP -dM $CFLAGS - | grep -i __pic__)"
|
||||
+echo "Checking if compiler wants to create pic code"
|
||||
+[ "$piclib" == "" ] && \
|
||||
if eval "$CPP match.S > _match.s 2>/dev/null"; then
|
||||
if test ! -s _match.s || grep error < _match.s > /dev/null; then
|
||||
:
|
@ -1,20 +0,0 @@
|
||||
--- zip-2.31/crc_i386.S
|
||||
+++ zip-2.31/crc_i386.S
|
||||
@@ -238,3 +238,7 @@
|
||||
#endif /* i386 || _i386 || _I386 || __i386 */
|
||||
|
||||
#endif /* !USE_ZLIB */
|
||||
+
|
||||
+#ifdef __ELF__
|
||||
+.section .note.GNU-stack,"",@progbits
|
||||
+#endif
|
||||
--- zip-2.31/match.S
|
||||
+++ zip-2.31/match.S
|
||||
@@ -405,3 +405,7 @@
|
||||
#endif /* i386 || _I386 || _i386 || __i386 */
|
||||
|
||||
#endif /* !USE_ZLIB */
|
||||
+
|
||||
+#ifdef __ELF__
|
||||
+.section .note.GNU-stack,"",@progbits
|
||||
+#endif
|
@ -1,89 +0,0 @@
|
||||
respect build environment settings
|
||||
|
||||
--- zip/unix/Makefile
|
||||
+++ zip/unix/Makefile
|
||||
@@ -12,15 +12,15 @@
|
||||
|
||||
list: all
|
||||
|
||||
-MAKE = make -f unix/Makefile
|
||||
+MAKE := $(MAKE) -f unix/Makefile
|
||||
SHELL = /bin/sh
|
||||
LN = ln -s
|
||||
|
||||
# (to use the Gnu compiler, change cc to gcc in CC)
|
||||
-CC = cc
|
||||
+CC ?= gcc
|
||||
BIND = $(CC)
|
||||
AS = $(CC) -c
|
||||
-CPP = /lib/cpp
|
||||
+CPP ?= $(CC)
|
||||
EXE =
|
||||
|
||||
# probably can change this to 'install' if you have it
|
||||
@@ -47,7 +47,7 @@
|
||||
# LFLAGS1 flags after output file spec, before obj file list
|
||||
# LFLAGS2 flags after obj file list (libraries, etc)
|
||||
CFLAGS_NOOPT = -I. -DUNIX $(LOCAL_ZIP)
|
||||
-CFLAGS = -O2 $(CFLAGS_NOOPT)
|
||||
+CFLAGS ?= -O2 $(CFLAGS_NOOPT)
|
||||
LFLAGS1 =
|
||||
LFLAGS2 = -s
|
||||
|
||||
--- zip/unix/configure
|
||||
+++ zip/unix/configure
|
||||
@@ -13,52 +13,13 @@
|
||||
|
||||
CC=${1-cc}
|
||||
-CFLAGS=${2-"-I. -DUNIX"}
|
||||
-LFLAGS1=""
|
||||
+CFLAGS="${2--I. -DUNIX} ${CFLAGS} ${CPPFLAGS}"
|
||||
+LFLAGS1="${LDFLAGS}"
|
||||
LN="ln -s"
|
||||
-echo "Check C compiler type (optimization option)"
|
||||
-cat > conftest.c << _EOF_
|
||||
-int main()
|
||||
-{
|
||||
-#ifndef __SUNPRO_C
|
||||
- bad code
|
||||
-#endif
|
||||
- return 0;
|
||||
-}
|
||||
-_EOF_
|
||||
-$CC $CFLAGS -c conftest.c > /dev/null 2>/dev/null
|
||||
-if test $? -eq 0; then
|
||||
- echo ' Sun C (-xO3)'
|
||||
- CFLAGS="${CFLAGS} -xO3"
|
||||
-else
|
||||
- cat > conftest.c << _EOF_
|
||||
-int main()
|
||||
-{
|
||||
-#ifndef __DECC
|
||||
- bad code
|
||||
-#endif
|
||||
- return 0;
|
||||
-}
|
||||
-_EOF_
|
||||
- $CC $CFLAGS -c conftest.c > /dev/null 2>/dev/null
|
||||
- if test $? -eq 0; then
|
||||
- echo ' DEC C (-O3)'
|
||||
- CFLAGS="${CFLAGS} -O3"
|
||||
- else
|
||||
- echo ' Other (gcc?) (-O2)'
|
||||
- CFLAGS="${CFLAGS} -O2"
|
||||
- fi
|
||||
-fi
|
||||
|
||||
echo Check for the C preprocessor
|
||||
# on SVR4, cc -E does not produce correct assembler files. Need /lib/cpp.
|
||||
CPP="${CC} -E"
|
||||
# solaris as(1) needs -P, maybe others as well ?
|
||||
-[ -f /usr/ccs/lib/cpp ] && CPP="/usr/ccs/lib/cpp -P"
|
||||
-[ -f /usr/lib/cpp ] && CPP=/usr/lib/cpp
|
||||
-[ -f /lib/cpp ] && CPP=/lib/cpp
|
||||
-[ -f /usr/bin/cpp ] && CPP=/usr/bin/cpp
|
||||
-[ -f /xenix ] && CPP="${CC} -E"
|
||||
-[ -f /lynx.os ] && CPP="${CC} -E"
|
||||
|
||||
echo "#include <stdio.h>" > conftest.c
|
||||
$CPP conftest.c >/dev/null 2>/dev/null || CPP="${CC} -E"
|
Binary file not shown.
@ -0,0 +1,104 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils unpacker
|
||||
|
||||
DESCRIPTION="Secure free online backup, storage, and sharing system"
|
||||
HOMEPAGE="https://spideroak.com"
|
||||
|
||||
SRC_URI_BASE="https://spideroak.com/release/spideroak"
|
||||
SRC_URI="x86? ( ${SRC_URI_BASE}/deb_x86 -> ${P}_x86.deb )
|
||||
amd64? ( ${SRC_URI_BASE}/deb_x64 -> ${P}_amd64.deb )"
|
||||
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
LICENSE="spideroak"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="dbus X"
|
||||
|
||||
DEPEND="dev-util/patchelf"
|
||||
RDEPEND="
|
||||
app-crypt/mit-krb5[keyutils]
|
||||
media-libs/libpng:1.2
|
||||
dbus? ( sys-apps/dbus )
|
||||
X? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
dev-libs/glib:2
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
)
|
||||
"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_prepare() {
|
||||
# Set RPATH for preserve-libs handling (bug #400979).
|
||||
cd "${S}/opt/SpiderOakONE/lib" || die
|
||||
local x
|
||||
for x in `find` ; do
|
||||
# Use \x7fELF header to separate ELF executables and libraries
|
||||
[[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue
|
||||
patchelf --set-rpath '$ORIGIN' "${x}" || \
|
||||
die "patchelf failed on ${x}"
|
||||
done
|
||||
|
||||
#Remove the libraries that break compatibility in modern systems
|
||||
#SpiderOak will use the system libs instead
|
||||
rm -f "${S}/opt/SpiderOakONE/lib/libstdc++.so.6"
|
||||
rm -f "${S}/opt/SpiderOakONE/lib/libgcc_s.so.1"
|
||||
rm -f "${S}/opt/SpiderOakONE/lib/libpng12.so.0"
|
||||
rm -f "${S}/opt/SpiderOakONE/lib/libz.so.1"
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#install the wrapper script
|
||||
exeinto /usr/bin
|
||||
doexe usr/bin/SpiderOakONE
|
||||
|
||||
# inotify_dir_watcher needs to be marked executable, bug #453266
|
||||
#chmod a+rx opt/SpiderOakONE/lib/inotify_dir_watcher
|
||||
|
||||
#install the executable
|
||||
exeinto /opt/SpiderOakONE/lib
|
||||
doexe opt/SpiderOakONE/lib/SpiderOakONE
|
||||
doexe opt/SpiderOakONE/lib/inotify_dir_watcher
|
||||
rm -f opt/SpiderOakONE/lib/{SpiderOakONE,inotify_dir_watcher}
|
||||
|
||||
#install the prebundled libraries
|
||||
insinto /opt/SpiderOakONE
|
||||
doins -r opt/SpiderOakONE/lib
|
||||
|
||||
#install the config files
|
||||
use dbus || rm -rf etc/dbus-1
|
||||
insinto /
|
||||
doins -r etc
|
||||
|
||||
#install the manpage
|
||||
doman usr/share/man/man1/SpiderOakONE.1.gz
|
||||
|
||||
if use X; then
|
||||
domenu usr/share/applications/SpiderOakONE.desktop
|
||||
doicon usr/share/pixmaps/SpiderOakONE.png
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use X; then
|
||||
einfo "For instructions on running SpiderOakONE without a GUI, please read the FAQ:"
|
||||
einfo " https://spideroak.com/faq/questions/62/how_do_i_install_spideroak_on_a_headless_linux_server/"
|
||||
einfo " https://spideroak.com/faq/questions/67/how_can_i_use_spideroak_from_the_commandline/"
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST debian-archive-keyring_2014.3_all.deb 40060 BLAKE2B 8cc046e484ec2f0f1028a36475c60ea6b2f70b43d3a1a187c6bde7c731c87a19bc9ebd4fbf63055accdf7ede31fba89c34806692a10158def2c95448e7ff037b SHA512 7a24596f250eafb6e62d19523cd13c3b1809bea3f694bd92f3d427f67cd840e0292200e6b033b5c5c5cf41ab40233ae17d133a846be483afa1da3b67cac72931
|
||||
DIST debian-archive-keyring_2017.5_all.deb 56438 BLAKE2B 3dfe5e2fc1397eda72491b32eb1bc77a7b2f197a880fc5ca4a8aa79d54d6ecd3d080fca234ca5b418d96123af680ff2fe915af7b6050740f86a2d6f57f9a0fd7 SHA512 8e7dafd850a7ad0a322790e41ace819ad51c1a17be4bd506c5790ccef97f1a0dc0cb78841225b4c6a85c20d502800fbfe991ea9c8c48a5bb58598754dcbd6173
|
||||
DIST debian-archive-keyring_2017.6_all.deb 56618 BLAKE2B f16e0ad9e7a86b57e5011495747acecedd6901919a3b267bca3a41a3f0b212f8158a552c374d8e8a43a7260fec3c64d4634ee8c49ed2155fab9edd168d72505e SHA512 728252b029dc72ff341b5eaa1bcd1b7e0669c1e0f0cf120ad4cb5ec36e600ffb7d344e9b24d1daa964272f07c90e3ed70a1b7fb9b8507da0778a8370a4b18029
|
||||
DIST debian-archive-keyring_2017.7_all.deb 56940 BLAKE2B eac1f8399e6f3176721f4b6f8463849053f5dffaac0cd9d297e5774a62582a30caf9281614d71de6f302a15784082b99963eff910d253cdbeef26ad66337bdf2 SHA512 9802058a9de69d941eab9ebf7a8370b1b5af0130444ca8fd46996d1699f940775fec2820f7963fdcf70e49a467682d1ac023a1da72e34f90cf3c09a04dface74
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit unpacker
|
||||
|
||||
DESCRIPTION="GnuPG archive keys of the Debian archive"
|
||||
HOMEPAGE="https://packages.debian.org/sid/debian-archive-keyring"
|
||||
SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}_all.deb"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
doins -r .
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
From 8ffc2c7809b47a87131cde38e14dc3941d13fa21 Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Wed, 29 Nov 2017 21:35:33 +0200
|
||||
Subject: [PATCH GPGME] tests: gpgsm: fix gpg-agent detection
|
||||
To: gnupg-devel@gnupg.org
|
||||
|
||||
* tests/gpgsm/Makefile.am: set the GPG_AGENT var.
|
||||
|
||||
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
---
|
||||
tests/gpgsm/Makefile.am | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/tests/gpgsm/Makefile.am b/tests/gpgsm/Makefile.am
|
||||
index 3774c5ff..4ab22833 100644
|
||||
--- a/tests/gpgsm/Makefile.am
|
||||
+++ b/tests/gpgsm/Makefile.am
|
||||
@@ -20,6 +20,7 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
GPGSM = gpgsm
|
||||
+GPG_AGENT = gpg-agent
|
||||
|
||||
TESTS_ENVIRONMENT = GNUPGHOME=$(abs_builddir) LC_ALL=C GPG_AGENT_INFO= \
|
||||
top_srcdir=$(top_srcdir)
|
||||
--
|
||||
2.13.6
|
||||
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST nano-2.7.5.tar.gz 2031723 BLAKE2B 30cd6418c438d6a908d7bf0f64151f6fa3c9aa41f0c2657a1146c1702fa9ed517349f784af7aa18c8a1cb3f93d5819ed31d153d1dad3dde5232306dc6dad8cb0 SHA512 a5332a361c4d0d9d0a77ebb11cdcffa976bee4981d5665b2732a9e6d7a2997566d9345332f2e6e5cb74f0a81be4413f54ca8f719962ab10b32d7ec1c9271973c
|
||||
DIST nano-2.8.7.tar.gz 2822417 BLAKE2B 2559497b9aee4d4c3cfc86e8af6a54bc0af58588c7bd1142a0e97c6ce50aed66c3852745b83a457263659e97592f0775dcc94c44d818e20440b6524202bfe49a SHA512 511b57f8fe82872827829bca91f7a8666a6ee75924cf2c853332ddd0467abf281c6d3cbaa5dd208c579cbace5bef23d36bd7b62be116aa2175262ed1d15aaf79
|
||||
DIST nano-2.9.0.tar.gz 2815519 BLAKE2B e3e5d1b79f069fb3063366f09a7443cddc43edc19664832933210cb62c32d4364e98c4ec1e921498e75a2a34783ccc4b78e4eb05d46f969e82e629e965e4f62f SHA512 21b958ef508e8108f3b0db15087869dbfa7006ed2c63357f058aaa1db170edad8cc7401326042b0d9296166c19fa59b4143a2926492878017071edaea6a6fc2e
|
||||
DIST nano-2.9.1.tar.gz 2839465 BLAKE2B e0d443dc3c86446478edad73042c6b4698a86fdfe3727deac858fa99d52bf319e2b3a120ba57bf79f3b78d9d3d7e8f4b5bdee234f6450882fee06647be371191 SHA512 7eeefd4cb5f02f1ac14ca10c536f873a1a85f3a5ccc5d5c40a12770b26dd0d5b0bbb3a0770b394779c8234891d7226e0d06d72465d7687c971bc62606100d0b6
|
||||
DIST nano-2.9.2.tar.gz 2839256 BLAKE2B 6e27ad0ff72a17461d614f2222ef33bf2abaaa0f4576a8e378524b090c702adafa86e78d976cf5b5dcd2ca1da802aeeff9b3f4bc5e81fa31b8164ef2979708d6 SHA512 b45afb593a04029a137f49551242f2dae901482878cca4aac6cba1c0c8af38a83994daadbd025e90f019cfa9d1273784de4491bbadf47104914904af804661d1
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
Binary file not shown.
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit elisp multilib desktop xdg-utils
|
||||
|
||||
DESCRIPTION="Attach to an already running Emacs"
|
||||
HOMEPAGE="http://meltin.net/hacks/emacs/"
|
||||
SRC_URI="http://meltin.net/hacks/emacs/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-linux ~ppc-macos"
|
||||
IUSE="X"
|
||||
|
||||
DEPEND=">=app-eselect/eselect-emacs-1.15
|
||||
X? ( x11-libs/libXau )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/exec gnuclient/&-emacs/' gnudoit || die
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable X xauth) \
|
||||
--x-includes="${EPREFIX}"/usr/include \
|
||||
--x-libraries="${EPREFIX}"/usr/$(get_libdir)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/libexec/emacs
|
||||
doexe gnuserv
|
||||
newbin gnuclient gnuclient-emacs
|
||||
newbin gnudoit gnudoit-emacs
|
||||
# Don't install gnuattach, it is not functional with FSF GNU Emacs
|
||||
|
||||
newman gnuserv.1 gnuserv-emacs.1
|
||||
echo ".so man1/gnuserv-emacs.1" | newman - gnuclient-emacs.1
|
||||
echo ".so man1/gnuserv-emacs.1" | newman - gnudoit-emacs.1
|
||||
|
||||
elisp-install ${PN} *.el *.elc
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
dodoc ChangeLog README README.orig
|
||||
|
||||
if use X; then
|
||||
domenu "${FILESDIR}"/gnuclient.desktop || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
use X && xdg_desktop_database_update
|
||||
eselect gnuclient update ifunset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
use X && xdg_desktop_database_update
|
||||
eselect gnuclient update ifunset
|
||||
}
|
Binary file not shown.
@ -1,74 +0,0 @@
|
||||
Adapt to future removal of major()/minor()/makedev() from <sys/types.h>
|
||||
|
||||
Gentoo removed it in glibc-2.24.
|
||||
|
||||
https://bugs.gentoo.org/575232
|
||||
https://bugs.gentoo.org/604360
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 4640c0d..71e6450 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -620,4 +620,7 @@ AC_CHECK_DECLS([PR_CAPBSET_DROP], [], [], [#include <sys/prctl.h>])
|
||||
AC_CHECK_HEADERS([sys/signalfd.h pty.h ifaddrs.h sys/capability.h sys/personality.h utmpx.h sys/timerfd.h])
|
||||
|
||||
+# lookup major()/minor()/makedev()
|
||||
+AC_HEADER_MAJOR
|
||||
+
|
||||
# Check for some syscalls functions
|
||||
AC_CHECK_FUNCS([setns pivot_root sethostname unshare rand_r confstr faccessat])
|
||||
diff --git a/src/lxc/bdev/lxclvm.c b/src/lxc/bdev/lxclvm.c
|
||||
index 3d41b10..419d1c2 100644
|
||||
--- a/src/lxc/bdev/lxclvm.c
|
||||
+++ b/src/lxc/bdev/lxclvm.c
|
||||
@@ -33,8 +33,17 @@
|
||||
|
||||
#include "bdev.h"
|
||||
+#include "config.h"
|
||||
#include "log.h"
|
||||
#include "lxclvm.h"
|
||||
#include "utils.h"
|
||||
|
||||
+/* major()/minor() */
|
||||
+#ifdef MAJOR_IN_MKDEV
|
||||
+# include <sys/mkdev.h>
|
||||
+#endif
|
||||
+#ifdef MAJOR_IN_SYSMACROS
|
||||
+# include <sys/sysmacros.h>
|
||||
+#endif
|
||||
+
|
||||
lxc_log_define(lxclvm, lxc);
|
||||
|
||||
diff --git a/src/lxc/conf.c b/src/lxc/conf.c
|
||||
index c54ee41..9a00e7f 100644
|
||||
--- a/src/lxc/conf.c
|
||||
+++ b/src/lxc/conf.c
|
||||
@@ -40,4 +40,12 @@
|
||||
#include <time.h>
|
||||
|
||||
+/* makedev() */
|
||||
+#ifdef MAJOR_IN_MKDEV
|
||||
+# include <sys/mkdev.h>
|
||||
+#endif
|
||||
+#ifdef MAJOR_IN_SYSMACROS
|
||||
+# include <sys/sysmacros.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef HAVE_STATVFS
|
||||
#include <sys/statvfs.h>
|
||||
diff --git a/src/lxc/lxccontainer.c b/src/lxc/lxccontainer.c
|
||||
index 3a9e1e3..fe75fcc 100644
|
||||
--- a/src/lxc/lxccontainer.c
|
||||
+++ b/src/lxc/lxccontainer.c
|
||||
@@ -62,4 +62,12 @@
|
||||
#include "version.h"
|
||||
|
||||
+/* major()/minor() */
|
||||
+#ifdef MAJOR_IN_MKDEV
|
||||
+# include <sys/mkdev.h>
|
||||
+#endif
|
||||
+#ifdef MAJOR_IN_SYSMACROS
|
||||
+# include <sys/sysmacros.h>
|
||||
+#endif
|
||||
+
|
||||
#if HAVE_IFADDRS_H
|
||||
#include <ifaddrs.h>
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST eselect-java-0.2.0.tar.bz2 13353 BLAKE2B 9fbc647329194ce61970ed7315ddbb22311ca3a58a370c2e4e5a693f8d085d01251b54ba586ea0cd9c5cbd5d0fa93db1054b955a4be53ab59ffce767aa878c9b SHA512 376c72317461c743dd91f8576cff7b1279b8f1672aa878c492ec3ed0da5f3c8d25cbb5fd4d9120109a01466dadbd049fb75d642187c850676d939925bcb55fdd
|
||||
DIST eselect-java-0.3.0.tar.bz2 13434 BLAKE2B 0a9f69f3ad75174bc49f2ada6aafac9c7135c151cb06e8a37cf60095a1bd323c5e7bd99752269c7674af9c1b67cc061778fdf8e49c8a02f2e90ec9bb623058b9 SHA512 d874d1d20d3920d16d5812b2aa28455f9166c6590b711e2bd49b1632e164be18f177eec5f5f2814391966ca3b710aab21b44d29afead2148cc7d0ed90841f9d8
|
||||
DIST eselect-java-0.4.0.tar.xz 13412 BLAKE2B da3df5c342b1632d1cc597909283cfcb7cb71d4bff04c2aa3253110f06b8addc5121efe1a50409f2b297c70c4f816a385a0199e68821acb6c48e3065d3097b37 SHA512 a1bdb2554e4dc78d980cab80591f6e0c537f983ae78d2ca98bda8f5292cf749fa5a9983dc51c6576176566f2fcc255ca40b04c26bd1b5d7f1db2d12b76048567
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="A set of eselect modules for Java"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java"
|
||||
SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
RDEPEND="
|
||||
!app-eselect/eselect-ecj
|
||||
!app-eselect/eselect-maven
|
||||
!<dev-java/java-config-2.2
|
||||
app-admin/eselect"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local REMOVED=0
|
||||
|
||||
rm -v "${EROOT}"usr/lib*/nsbrowser/plugins/javaplugin.so 2>/dev/null && REMOVED=1
|
||||
rm -v "${EROOT}"etc/java-config-2/current-icedtea-web-vm 2>/dev/null && REMOVED=1
|
||||
|
||||
if [[ ${REMOVED} = 1 ]]; then
|
||||
elog "The eselect java-nsplugin module has been removed and your configuration"
|
||||
elog "has been cleaned up. From now on, you may only install either Oracle or"
|
||||
elog "IcedTea's plugin but not both. Note you can use IcedTea's plugin with an"
|
||||
elog "Oracle VM. See the README installed with icedtea-web for more details."
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
diff -Nuar a/libsysinfo-0.2.2/Linux/Makefile b/libsysinfo-0.2.2/Linux/Makefile
|
||||
--- a/libsysinfo-0.2.2/Linux/Makefile 2010-02-15 18:15:07.000000000 +0100
|
||||
+++ b/libsysinfo-0.2.2/Linux/Makefile 2018-01-03 20:16:48.299998620 +0100
|
||||
@@ -6,6 +6,9 @@
|
||||
ifneq (,$(findstring arm,$(ARCH)))
|
||||
ARCH := arm
|
||||
endif
|
||||
+ifneq (,$(findstring aarch64,$(ARCH)))
|
||||
+ ARCH := arm
|
||||
+endif
|
||||
ifneq (,$(findstring sh,$(ARCH)))
|
||||
ARCH := sh
|
||||
endif
|
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs systemd
|
||||
|
||||
MY_P=${PN/-/_}-${PV}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
DESCRIPTION="A utility that displays an ANSI/ASCII logo and some system information"
|
||||
HOMEPAGE="http://www.deater.net/weave/vmwprod/linux_logo/"
|
||||
SRC_URI="http://www.deater.net/weave/vmwprod/linux_logo/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/logo-config "${S}/logo_config" || die
|
||||
cp "${FILESDIR}"/linux_logo_creator "${S}/" || die
|
||||
cp "${FILESDIR}"/linux-logo.service "${S}/" || die
|
||||
cp "${FILESDIR}"/gentoo-*.logo "${S}"/logos/ || die
|
||||
|
||||
eapply "${FILESDIR}"/"${P}"-add-aarch64-support.patch
|
||||
# Remove warn_unused_result warning
|
||||
sed -i -e 's/FILE \*fff;/FILE \*fff;\n char *stemp;/' \
|
||||
-e 's/fgets/stemp=fgets/' "${S}"/load_logo.c || die
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
ARCH="" ./configure --prefix="${ED}"/usr || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install
|
||||
|
||||
dodoc BUGS README README.CUSTOM_LOGOS TODO USAGE LINUX_LOGO.FAQ
|
||||
|
||||
dobin "${FILESDIR}"/linux_logo_creator
|
||||
newinitd "${FILESDIR}"/${PN}.init.d ${PN}
|
||||
newconfd "${FILESDIR}"/${P}.conf ${PN}
|
||||
|
||||
# systemd support
|
||||
systemd_newunit "${FILESDIR}/linux-logo.service" "linux-logo.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "Linux_logo ebuild for Gentoo comes with two Gentoo logos."
|
||||
elog ""
|
||||
elog "To display the first Gentoo logo type: linux_logo -L gentoo"
|
||||
elog "To display the second Gentoo logo type: linux_logo -L gentoo-alt"
|
||||
elog "To display all the logos available type: linux_logo -L list."
|
||||
elog ""
|
||||
elog "To start linux_logo on boot, please type:"
|
||||
elog " rc-update add linux-logo default"
|
||||
elog "or for systemd"
|
||||
elog " systemctl enable linux-logo.service"
|
||||
elog "which uses the settings found in"
|
||||
elog " /etc/conf.d/linux-logo"
|
||||
echo
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# Restore issue files
|
||||
mv /etc/issue.linux-logo.backup /etc/issue 2> /dev/null
|
||||
mv /etc/issue.net.linux-logo.backup /etc/issue.net 2> /dev/null
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Automatically execute scripts as you traverse directories"
|
||||
HOMEPAGE="http://swapoff.org/OnDir"
|
||||
SRC_URI="http://swapoff.org/files/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-apps/sed"
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "s:\(/man/.*$\):/share\1:g" \
|
||||
-e "s:-g:${CFLAGS}:" Makefile || die "sed Makefile failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
CONF="${EPREFIX}/etc/ondirrc" \
|
||||
LDFLAGS="${LDFLAGS}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" CONF="${EPREFIX}/etc/ondirrc" install || die
|
||||
dodoc AUTHORS ChangeLog README INSTALL scripts.tcsh scripts.sh || die
|
||||
newdoc ondirrc.eg ondirrc.example || die
|
||||
dohtml changelog.html ondir.1.html || die
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
MY_P="${P/-/_}"
|
||||
DEB_PL="7"
|
||||
|
||||
DESCRIPTION="Splitting terminals into two shells"
|
||||
HOMEPAGE="http://www.devolution.com/~slouken/projects/splitvt"
|
||||
SRC_URI="
|
||||
http://www.devolution.com/~slouken/projects/${PN}/${P}.tar.gz
|
||||
mirror://debian/pool/main/s/splitvt/${MY_P}-${DEB_PL}.diff.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ia64 ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${WORKDIR}"/${MY_P}-${DEB_PL}.diff \
|
||||
"${FILESDIR}"/${PV}-ldflags.patch
|
||||
sed -i \
|
||||
-e "s:/usr/local/bin:${D}/usr/bin:g" \
|
||||
-e "s:/usr/local/man/:${D}/usr/share/man/:g" config.c || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# upstream has their own weirdo configure script...
|
||||
./configure || die "configure failed"
|
||||
sed -i -e "s:-O2:${CFLAGS}:" -e "s:^CC = gcc:CC = $(tc-getCC):" Makefile || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin /usr/share/man/man1/ || die
|
||||
make install || die "make install failed"
|
||||
fperms 755 /usr/bin/xsplitvt || die
|
||||
dodoc ANNOUNCE BLURB CHANGES NOTES README TODO || die
|
||||
doman splitvt.1 || die
|
||||
}
|
Binary file not shown.
@ -1,32 +0,0 @@
|
||||
--- setup.py.old 2012-07-01 17:31:24.000000000 +0400
|
||||
+++ setup.py 2012-07-01 17:33:52.000000000 +0400
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
import glob, os, re, setuptools, sys
|
||||
from os.path import join, isfile
|
||||
+from distutils.sysconfig import get_python_lib
|
||||
|
||||
# List all data files
|
||||
def data():
|
||||
@@ -32,7 +33,7 @@ def data():
|
||||
files.append(os.path.join(root, filename))
|
||||
d = {}
|
||||
for v in files:
|
||||
- k=os.path.dirname(v)
|
||||
+ k=os.path.join(get_python_lib(prefix=''), os.path.dirname(v))
|
||||
if k in d:
|
||||
d[k].append(v)
|
||||
else:
|
||||
@@ -41,9 +42,9 @@ def data():
|
||||
if os.name == 'nt':
|
||||
r.append(("Microsoft.VC90.CRT", glob.glob('C:\Microsoft.VC90.CRT\*.*')))
|
||||
|
||||
- import babel
|
||||
- r.append(("localedata",
|
||||
- glob.glob(os.path.join(os.path.dirname(babel.__file__), "localedata" , '*'))))
|
||||
+# import babel
|
||||
+# r.append(("localedata",
|
||||
+# glob.glob(os.path.join(os.path.dirname(babel.__file__), "localedata" , '*'))))
|
||||
|
||||
return r
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
WX_GTK_VER="3.0"
|
||||
PLOCALES="bg cs de es hu pl ru uk"
|
||||
inherit cmake-utils wxwidgets l10n xdg-utils gnome2-utils
|
||||
|
||||
if [ "${PV}" == 9999 ]
|
||||
then
|
||||
inherit git-r3
|
||||
# github mirror has some new commits to fix page margins settings
|
||||
# sourceforge mirror saved as backup
|
||||
#EGIT_REPO_URI="git://git.code.sf.net/p/crengine/crengine"
|
||||
EGIT_REPO_URI="https://github.com/buggins/coolreader.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
# git tag cr3.1.2-71
|
||||
SRC_URI="https://dev.gentoo.org/~grozin/${P}.tar.bz2"
|
||||
fi
|
||||
|
||||
DESCRIPTION="CoolReader - reader of eBook files (fb2,epub,htm,rtf,txt)"
|
||||
HOMEPAGE="https://sourceforge.net/projects/crengine/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="wxwidgets"
|
||||
|
||||
DEPEND="sys-libs/zlib
|
||||
media-libs/libpng:0
|
||||
virtual/jpeg:0
|
||||
media-libs/freetype
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER} )
|
||||
!wxwidgets? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtwidgets:5 )"
|
||||
RDEPEND="${DEPEND}
|
||||
wxwidgets? ( || ( media-fonts/liberation-fonts media-fonts/corefonts ) )"
|
||||
|
||||
# 1st patch: To save cr3.ini to ~homedir.
|
||||
# 2nd patch: To build QT5 and WX GUI version of coolreader3;
|
||||
# setting correct vesrion number and years of cr3qt/cr3wx;
|
||||
# internal switching between wxGTK 2.8 or 3.0 version;
|
||||
# show wxWidgets version in "About" dialog window;
|
||||
# disabling "iCCP: known incorrect sRGB profile" warning popup window for wxwidgets GUI
|
||||
|
||||
PATCHES=( "${FILESDIR}/cr3ini.diff" "${FILESDIR}/cr3.1.2.71-r1_qt5_wx.diff" )
|
||||
|
||||
for lang in ${PLOCALES}; do
|
||||
IUSE="${IUSE} l10n_${lang}"
|
||||
done
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
# locales
|
||||
l10n_find_plocales_changes "${S}"/cr3qt/src/i18n 'cr3_' '.ts'
|
||||
local lang langs
|
||||
langs=""
|
||||
for lang in ${PLOCALES}; do
|
||||
if use l10n_${lang}; then
|
||||
langs="${langs} ${lang}"
|
||||
fi
|
||||
done
|
||||
sed -e "s|SET(LANGUAGES .*)|SET(LANGUAGES ${langs})|" \
|
||||
-i "${S}"/cr3qt/CMakeLists.txt \
|
||||
|| die "sed CMakeLists.txt failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
CMAKE_USE_DIR="${S}"
|
||||
CMAKE_BUILD_TYPE="Release"
|
||||
if use wxwidgets; then
|
||||
setup-wxwidgets
|
||||
local mycmakeargs=(-D GUI=WX)
|
||||
else
|
||||
local mycmakeargs=(-D GUI=QT5)
|
||||
fi
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,84 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils prefix
|
||||
|
||||
DESCRIPTION="Base ISO character entities and utilities for SGML"
|
||||
HOMEPAGE="http://www.iso.ch/cate/3524030.html"
|
||||
#SRC_URI="mirror://kde/devel/docbook/SOURCES/${P}.tgz"
|
||||
SRC_URI="https://dev.gentoo.org/~floppym/dist/${PN}/${P}-gentoo.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-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"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
# We use a hacked version of install-catalog that supports the ROOT
|
||||
# variable, puts quotes around the CATALOG files, and can be prefixed.
|
||||
cp "${FILESDIR}/${P}-install-catalog.in" "${S}/bin/install-catalog.in"
|
||||
|
||||
epatch "${FILESDIR}"/${P}-prefix.patch
|
||||
eprefixify bin/install-catalog.in bin/sgmlwhich config/sgml.conf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local installer="${EROOT}usr/bin/install-catalog"
|
||||
if [[ ! -x ${installer} ]]; then
|
||||
eerror "install-catalog not found! Something went wrong!"
|
||||
die "install-catalog not found! Something went wrong!"
|
||||
fi
|
||||
|
||||
einfo "Installing Catalogs..."
|
||||
"$installer" --add \
|
||||
"${EPREFIX}"/etc/sgml/sgml-ent.cat \
|
||||
"${EPREFIX}"/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
"$installer" --add \
|
||||
"${EPREFIX}"/etc/sgml/sgml-docbook.cat \
|
||||
"${EPREFIX}"/etc/sgml/sgml-ent.cat
|
||||
|
||||
local file
|
||||
for file in `find "${EROOT}etc/sgml/" -name "*.cat"` "${EROOT}etc/sgml/catalog"
|
||||
do
|
||||
einfo "Fixing ${file}"
|
||||
awk '/"$/ { print $1 " " $2 }
|
||||
! /"$/ { print $1 " \"" $2 "\"" }' ${file} > ${file}.new
|
||||
mv ${file}.new ${file}
|
||||
done
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
cp "${EROOT}usr/bin/install-catalog" "${T}"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if [ ! -x "${T}/install-catalog" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
einfo "Removing Catalogs..."
|
||||
if [ -e "${EROOT}etc/sgml/sgml-ent.cat" ]; then
|
||||
"${T}"/install-catalog --remove \
|
||||
"${EPREFIX}"/etc/sgml/sgml-ent.cat \
|
||||
"${EPREFIX}"/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
fi
|
||||
|
||||
if [ -e "${EROOT}etc/sgml/sgml-docbook.cat" ]; then
|
||||
"${T}"/install-catalog --remove \
|
||||
"${EPREFIX}"/etc/sgml/sgml-docbook.cat \
|
||||
"${EPREFIX}"/etc/sgml/sgml-ent.cat
|
||||
fi
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="A Flexible Indexing System"
|
||||
HOMEPAGE="http://www.xindy.org/ https://github.com/jschrod/xindy.ctan"
|
||||
SRC_URI="http://www.xindy.org/${P}.tar.gz"
|
||||
|
||||
# The latest development is now on the TeXlive SVN.
|
||||
# The author jschrod backports it from time to time to his github repo.
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="virtual/latex-base
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
>=dev-lisp/clisp-2.44.1-r1
|
||||
dev-texlive/texlive-langcyrillic"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
sys-devel/flex"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-configure.patch
|
||||
epatch "${FILESDIR}"/${P}-locale.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
$(use_enable doc docs)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
VARTEXFONTS="${T}/fonts" emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS ChangeLog.Gour NEWS README
|
||||
}
|
Binary file not shown.
@ -1,42 +0,0 @@
|
||||
--- xmlada-2016-src/Makefile.in.old 2016-12-04 21:58:57.251338692 +0100
|
||||
+++ xmlada-2016-src/Makefile.in 2016-12-04 21:59:31.332755615 +0100
|
||||
@@ -49,16 +49,17 @@
|
||||
endif
|
||||
|
||||
static:
|
||||
- ${GPRBUILD} -p -XLIBRARY_TYPE=static ${GPROPTS} xmlada.gpr
|
||||
+ ${GPRBUILD} -p -v -XLIBRARY_TYPE=static ${GPROPTS} xmlada.gpr -cargs $(ADAFLAGS)
|
||||
|
||||
shared relocatable:
|
||||
- ${GPRBUILD} -p -XLIBRARY_TYPE=relocatable ${GPROPTS} xmlada.gpr
|
||||
+ ${GPRBUILD} -p -v -XLIBRARY_TYPE=relocatable ${GPROPTS} xmlada.gpr -cargs $(ADAFLAGS)
|
||||
|
||||
static-pic:
|
||||
- ${GPRBUILD} -p -XLIBRARY_TYPE=static-pic ${GPROPTS} xmlada.gpr
|
||||
+ ${GPRBUILD} -p -v -XLIBRARY_TYPE=static-pic ${GPROPTS} xmlada.gpr -cargs $(ADAFLAGS)
|
||||
|
||||
# Rebuild the tests (and not the XML/Ada code itself)
|
||||
test: force
|
||||
+ GPR_PROJECT_PATH=schema:input_sources:dom:sax:unicode \
|
||||
${GPRBUILD} -p -XLIBRARY_TYPE=static ${GPROPTS} \
|
||||
-XTESTS_ACTIVATED=Only xmlada.gpr
|
||||
|
||||
--- xmlada-gpl-2016-src/tests/Makefile.old 2017-12-04 21:15:16.330459020 +0100
|
||||
+++ xmlada-gpl-2016-src/tests/Makefile 2017-12-04 21:15:33.176156634 +0100
|
||||
@@ -1,8 +1,6 @@
|
||||
TESTS= test_unicode \
|
||||
test_state \
|
||||
- test_xml \
|
||||
test_adacore_dom \
|
||||
- test_schema \
|
||||
test_date_time \
|
||||
test_numbers \
|
||||
test_adacore_schema \
|
||||
@@ -71,6 +71,7 @@
|
||||
test_multiple_xsd:
|
||||
@echo "multiple xsd"
|
||||
@cd schema/multiple_xsd; \
|
||||
+ GPR_PROJECT_PATH=../../../distrib:../../../input_sources:../../../dom:../../../sax:../../../schema:../../../unicode \
|
||||
gprbuild -q -Pdefault.gpr; \
|
||||
./validate > $(RESULTS)/multiple_xsd.out; \
|
||||
cp $(RESULTS)/multiple_xsd.out $(RESULTS)/multiple_xsd.diff; \
|
Binary file not shown.
@ -1 +1 @@
|
||||
DIST sqlcl-17.3.0.271.1943-no-jre.zip 19672343 SHA256 1fde4252453474a671bc67a90e0e1077d63d804f9ee63c1280d81fa29e1952b0 SHA512 75e56ab042b34ca3290b07b4d4eb182dcf264a4bb8392f8a6942df7ca7041b1d25dc70d388f0f5ecd03decff22d040cfc3a4d58f0ec656af334ddd6531f5bbb4 WHIRLPOOL c7267c61df80e9984e71b8161cd34c8028706614ce0dcb1ff2c7c2424137d65fd90a312106e7e0aafe6c2d36e8e7ce2abbed477aa453b07dd7d6608c8baa3933
|
||||
DIST sqlcl-17.4.0.354.2224-no-jre.zip 19731560 BLAKE2B 0ee78a39e5be5d2c23a583cf3f4790897d79e1b082036d30a071fa629912e31c3fc3dbb0e873f4013ba6d41c27c8e1d99aff851922202983842cbf09cf1c6b0b SHA512 d03e949755fc3c99661d3b87dc4576fd4cb0edd33fa2b05818bbb26cd6d066d221ad6bcc0fc2f1453a80351b82e5698a193730cbabbf84a55607a118c39b4243
|
||||
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST lucene-1.4.3-src.tar.gz 768320 BLAKE2B 8017b672b0104be007582a67cff5cb130187afcf9608bec0cb2b6bae9b3ea8c67486b324740c99e4db8f23879dd614a098f778f6b52b429d3dd1906387e9b61e SHA512 426539a4b4a8887485c4301b2127ad4815646d1a81bca877ed2b0e68d886fcaf844449532a080754b79696c0f9e9c5f304be28487e0f9aa11178565a20f29911
|
||||
DIST lucene-2.4.1-src.tar.gz 5057003 BLAKE2B 3e2a29cfa94b367f1e62f60a2f7b7e195c788048564fb061ade4b1babcb2fd71e36b282049d3816c3faaaa3dacc07f4a7dbdb0504a659ea3ab8e06e247debcba SHA512 cf227eea4aeee904ccf5316ee7f2399864bf28b9c01e044ef27232dd483c3a5f0ecc8836633f44acfa41ffee6bf1c530e756ef45fa77ac1d15e1f83129b7aa5e
|
||||
DIST lucene-2.4.1.tar.gz 5057003 BLAKE2B 3e2a29cfa94b367f1e62f60a2f7b7e195c788048564fb061ade4b1babcb2fd71e36b282049d3816c3faaaa3dacc07f4a7dbdb0504a659ea3ab8e06e247debcba SHA512 cf227eea4aeee904ccf5316ee7f2399864bf28b9c01e044ef27232dd483c3a5f0ecc8836633f44acfa41ffee6bf1c530e756ef45fa77ac1d15e1f83129b7aa5e
|
||||
DIST lucene-3.5.0-src.tgz 39564076 BLAKE2B 5018f0e07a9df3f2f55c540e94e349e64e2c02c99acf14946e4471e16ace4f17a18e306aca6187028cde4434f0d6b38090442baaddaa79ef12ff34a8461f9e98 SHA512 58846190ed0e8c0747e14cb46bf27255d0e4ee93aa0969cf16140713ce20c8fc3f451353437313f14416c92b7b6825d4ce3416d9c7ce4cb1854f31877c2af275
|
||||
DIST lucene-3.6.2-src.tgz 32139784 BLAKE2B 48fe88efeae8396e084f827aa66530480f40aee3a2e59c8524420059f004a73be4c1e50c98345ad0ad4808ff8a0a996f9406523bf5c124616657ec91f9797f70 SHA512 e9a08a1b5303c44e4feecc0bb6e7013e4a9420517ae4e98999bd318ec25b5b2ff3b6de8b51db8f68afc0fdc3149829297023a95b103d4f99e7db68deee4c3965
|
||||
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=3
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
JAVA_PKG_BSFIX_ALL="no"
|
||||
JAVA_PKG_BSFIX_NAME="build.xml common-build.xml"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="High-performance, full-featured text search engine written entirely in Java"
|
||||
HOMEPAGE="http://lucene.apache.org"
|
||||
# when doing version bump, SRC_URI of the previous version should most probably
|
||||
# be changed to java/archive/ !
|
||||
SRC_URI="mirror://apache/lucene/java/${P}-src.tar.gz"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2.4"
|
||||
KEYWORDS="amd64 x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
dev-java/ant-nodeps
|
||||
dev-java/javacc
|
||||
test? ( dev-java/ant-junit =dev-java/junit-3* )"
|
||||
RDEPEND=">=virtual/jdk-1.5"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/-Xmax/ d' common-build.xml
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# regenerate javacc files just because we can
|
||||
# put javacc.jar on ant's classpath here even when <javacc> task
|
||||
# doesn't use it - it's to fool the <available> test, first time
|
||||
# it's useful not to have ignoresystemclasses=true...
|
||||
ANT_TASKS="ant-nodeps javacc" eant \
|
||||
-Djavacc.home="${EPREFIX}"/usr/share/javacc/lib javacc
|
||||
ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs-core javadocs-demo)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-ant_rewrite-classpath common-build.xml
|
||||
EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test-core
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc CHANGES.txt README.txt || die
|
||||
java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar
|
||||
java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar
|
||||
|
||||
if use doc; then
|
||||
dohtml -r docs/* || die
|
||||
# for the core and demo subdirs
|
||||
java-pkg_dohtml -r build/docs/api
|
||||
fi
|
||||
use source && java-pkg_dosrc src/java/org
|
||||
}
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
JAVA_PKG_BSFIX_ALL="no"
|
||||
JAVA_PKG_BSFIX_NAME="build.xml common-build.xml"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="High-performance, full-featured text search engine written entirely in Java"
|
||||
HOMEPAGE="https://lucene.apache.org"
|
||||
SRC_URI="https://archive.apache.org/dist/${PN}/java/${P}-src.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2.4"
|
||||
KEYWORDS="amd64 x86 ~x86-fbsd"
|
||||
|
||||
CDEPEND="
|
||||
dev-java/javacc:0"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-1.6
|
||||
test? (
|
||||
dev-java/junit:0
|
||||
dev-java/ant-core:0
|
||||
)"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
java-pkg_clean
|
||||
sed -i -e '/-Xmax/ d' common-build.xml || die
|
||||
|
||||
# Portage marks shese files as bogus for some reason.
|
||||
find . -type f -name instruction_arrow.png -exec rm -v {} \; || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# regenerate javacc files just because we can
|
||||
# put javacc.jar on ant's classpath here even when <javacc> task
|
||||
# doesn't use it - it's to fool the <available> test, first time
|
||||
# it's useful not to have ignoresystemclasses=true...
|
||||
ANT_TASKS="ant-nodeps javacc" \
|
||||
eant \
|
||||
-Djavacc.home="${EPREFIX}"/usr/share/javacc/lib \
|
||||
javacc
|
||||
ANT_TASKS="none" \
|
||||
eant \
|
||||
-Dversion=${PV} \
|
||||
jar-core \
|
||||
jar-demo \
|
||||
$(use_doc javadocs-core javadocs-demo)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-ant_rewrite-classpath common-build.xml
|
||||
EANT_GENTOO_CLASSPATH="junit ant-core" \
|
||||
ANT_TASKS="ant-junit" \
|
||||
eant \
|
||||
test-core
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
java-pkg_newjar "build/${PN}-core-${PV}.jar" "${PN}-core.jar"
|
||||
java-pkg_newjar "build/${PN}-demos-${PV}.jar" "${PN}-demos.jar"
|
||||
|
||||
if use doc; then
|
||||
dodoc -r docs
|
||||
java-pkg_dohtml -r build/docs/api
|
||||
fi
|
||||
use source && java-pkg_dosrc src/java/org
|
||||
}
|
Binary file not shown.
@ -0,0 +1,771 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools flag-o-matic versionator systemd
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine"
|
||||
HOMEPAGE="https://secure.php.net/"
|
||||
SRC_URI="https://php.net/distributions/${P}.tar.xz"
|
||||
|
||||
LICENSE="PHP-3.01
|
||||
BSD
|
||||
Zend-2.0
|
||||
bcmath? ( LGPL-2.1+ )
|
||||
fpm? ( BSD-2 )
|
||||
gd? ( gd )
|
||||
unicode? ( BSD-2 LGPL-2.1 )"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} acl bcmath berkdb bzip2 calendar cdb cjk
|
||||
coverage crypt +ctype curl debug
|
||||
enchant exif +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit libressl
|
||||
mhash mssql mysql libmysqlclient mysqli nls
|
||||
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite ssl
|
||||
sybase-ct sysvipc systemd tidy +tokenizer truetype unicode vpx wddx
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
|
||||
|
||||
# The supported (that is, autodetected) versions of BDB are listed in
|
||||
# the ./configure script. Other versions *work*, but we need to stick to
|
||||
# the ones that can be detected to avoid a repeat of bug #564824.
|
||||
COMMON_DEPEND="
|
||||
>=app-eselect/eselect-php-0.9.1[apache2?,fpm?]
|
||||
>=dev-libs/libpcre-8.32[unicode]
|
||||
acl? ( sys-apps/acl )
|
||||
apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
|
||||
<www-servers/apache-2.4[threads=] ) )
|
||||
berkdb? ( || ( sys-libs/db:5.3
|
||||
sys-libs/db:5.1
|
||||
sys-libs/db:4.8
|
||||
sys-libs/db:4.7
|
||||
sys-libs/db:4.6
|
||||
sys-libs/db:4.5 ) )
|
||||
bzip2? ( app-arch/bzip2:0= )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib:0=
|
||||
) )
|
||||
coverage? ( dev-util/lcov )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib:0=
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib:0= )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0:0= )
|
||||
gmp? ( dev-libs/gmp:0= )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[kerberos=,ssl=] )
|
||||
intl? ( dev-libs/icu:= )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
libmysqlclient? (
|
||||
mysql? ( virtual/libmysqlclient:= )
|
||||
mysqli? ( virtual/libmysqlclient:= )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql:* )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
recode? ( app-text/recode )
|
||||
sharedmem? ( dev-libs/mm )
|
||||
simplexml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
soap? ( >=dev-libs/libxml2-2.6.8 )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
sybase-ct? ( dev-db/freetds )
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
>=media-libs/t1lib-5.0.0
|
||||
!gd? (
|
||||
virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib:0= )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma:= )
|
||||
vpx? ( media-libs/libvpx:0= )
|
||||
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
|
||||
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xpm? (
|
||||
x11-libs/libXpm
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0= sys-libs/zlib:0=
|
||||
)
|
||||
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib:0= )
|
||||
zlib? ( sys-libs/zlib:0= )
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/mta
|
||||
fpm? (
|
||||
selinux? ( sec-policy/selinux-phpfpm )
|
||||
systemd? ( sys-apps/systemd ) )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/xz-utils
|
||||
>=sys-devel/bison-3.0.1
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
|
||||
REQUIRED_USE="
|
||||
|| ( cli cgi fpm apache2 embed )
|
||||
cli? ( ^^ ( readline libedit ) )
|
||||
truetype? ( gd )
|
||||
vpx? ( gd )
|
||||
cjk? ( gd )
|
||||
exif? ( gd )
|
||||
xpm? ( gd )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
wddx? ( xml )
|
||||
xmlrpc? ( || ( xml iconv ) )
|
||||
xmlreader? ( xml )
|
||||
xslt? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
mhash? ( hash )
|
||||
phar? ( hash )
|
||||
recode? ( !imap !mysql !mysqli !libmysqlclient )
|
||||
libmysqlclient? ( || (
|
||||
mysql
|
||||
mysqli
|
||||
pdo
|
||||
) )
|
||||
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
sharedmem? ( !threads )
|
||||
"
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
# Always install the production INI file, bug 611214.
|
||||
local phpinisrc="php.ini-production-${phpsapi}"
|
||||
cp php.ini-production "${phpinisrc}" || die
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}" || die
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" \
|
||||
-i "${phpinisrc}" || die
|
||||
|
||||
# Set the include path to point to where we want to find PEAR packages
|
||||
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}" || die
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" php.ini
|
||||
|
||||
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||
elog
|
||||
|
||||
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||
|
||||
if use opcache; then
|
||||
elog "Adding opcache to $PHP_EXT_INI_DIR"
|
||||
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> \
|
||||
"${D}/${PHP_EXT_INI_DIR}"/opcache.ini
|
||||
dosym "${PHP_EXT_INI_DIR#${EPREFIX}}/opcache.ini" \
|
||||
"${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini"
|
||||
fi
|
||||
|
||||
# SAPI-specific handling
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
einfo "Installing FPM config file php-fpm.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
doins sapi/fpm/php-fpm.conf
|
||||
fi
|
||||
|
||||
dodoc php.ini-{development,production}
|
||||
}
|
||||
|
||||
php_set_ini_dir() {
|
||||
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}/php-${SLOT}-no-bison-warnings.patch"
|
||||
|
||||
# Change PHP branding
|
||||
# Get the alpha/beta/rc version
|
||||
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \
|
||||
-i configure.in || die "Unable to change PHP branding"
|
||||
|
||||
# Patch PHP to show Gentoo as the server platform
|
||||
sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \
|
||||
-i configure.in || die "Failed to fix server platform name"
|
||||
|
||||
# Prevent PHP from activating the Apache config,
|
||||
# as we will do that ourselves
|
||||
sed -i \
|
||||
-e "s,-i -a -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
-e "s,-i -A -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
configure sapi/apache2filter/config.m4 sapi/apache2handler/config.m4 \
|
||||
|| die
|
||||
|
||||
# Patch PHP to support heimdal instead of mit-krb5
|
||||
if has_version "app-crypt/heimdal" ; then
|
||||
sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal libname"
|
||||
sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal crypt library reference"
|
||||
fi
|
||||
|
||||
eapply_user
|
||||
|
||||
# Force rebuilding aclocal.m4
|
||||
rm -f aclocal.m4 || die "failed to remove aclocal.m4 in src_prepare"
|
||||
eautoreconf
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# http://bugs.php.net/bug.php?id=48795, bug #343481
|
||||
sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# The php-fpm config file wants localstatedir to be ${EPREFIX}/var
|
||||
# and not the Gentoo default ${EPREFIX}/var/lib. See bug 572002.
|
||||
local our_conf=(
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}/man"
|
||||
--infodir="${PHP_DESTDIR}/info"
|
||||
--libdir="${PHP_DESTDIR}/lib"
|
||||
--with-libdir="$(get_libdir)"
|
||||
--localstatedir="${EPREFIX}/var"
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)
|
||||
)
|
||||
|
||||
our_conf+=(
|
||||
$(use_with acl fpm-acl)
|
||||
$(use_enable bcmath bcmath)
|
||||
$(use_with bzip2 bz2 "${EPREFIX}/usr")
|
||||
$(use_enable calendar calendar)
|
||||
$(use_enable coverage gcov)
|
||||
$(use_enable ctype ctype)
|
||||
$(use_with curl curl "${EPREFIX}/usr")
|
||||
$(use_enable xml dom)
|
||||
$(use_with enchant enchant "${EPREFIX}/usr")
|
||||
$(use_enable exif exif)
|
||||
$(use_enable fileinfo fileinfo)
|
||||
$(use_enable filter filter)
|
||||
$(use_enable ftp ftp)
|
||||
$(use_with nls gettext "${EPREFIX}/usr")
|
||||
$(use_with gmp gmp "${EPREFIX}/usr")
|
||||
$(use_enable hash hash)
|
||||
$(use_with mhash mhash "${EPREFIX}/usr")
|
||||
$(use_with iconv iconv \
|
||||
$(use elibc_glibc || use elibc_musl || echo "${EPREFIX}/usr"))
|
||||
$(use_enable intl intl)
|
||||
$(use_enable ipv6 ipv6)
|
||||
$(use_enable json json)
|
||||
$(use_with kerberos kerberos "${EPREFIX}/usr")
|
||||
$(use_enable xml libxml)
|
||||
$(use_with xml libxml-dir "${EPREFIX}/usr")
|
||||
$(use_enable unicode mbstring)
|
||||
$(use_with crypt mcrypt "${EPREFIX}/usr")
|
||||
$(use_with mssql mssql "${EPREFIX}/usr")
|
||||
$(use_with unicode onig "${EPREFIX}/usr")
|
||||
$(use_with ssl openssl "${EPREFIX}/usr")
|
||||
$(use_with ssl openssl-dir "${EPREFIX}/usr")
|
||||
$(use_enable pcntl pcntl)
|
||||
$(use_enable phar phar)
|
||||
$(use_enable pdo pdo)
|
||||
$(use_enable opcache opcache)
|
||||
$(use_with postgres pgsql "${EPREFIX}/usr")
|
||||
$(use_enable posix posix)
|
||||
$(use_with spell pspell "${EPREFIX}/usr")
|
||||
$(use_with recode recode "${EPREFIX}/usr")
|
||||
$(use_enable simplexml simplexml)
|
||||
$(use_enable sharedmem shmop)
|
||||
$(use_with snmp snmp "${EPREFIX}/usr")
|
||||
$(use_enable soap soap)
|
||||
$(use_enable sockets sockets)
|
||||
$(use_with sqlite sqlite3 "${EPREFIX}/usr")
|
||||
$(use_with sybase-ct sybase-ct "${EPREFIX}/usr")
|
||||
$(use_enable sysvipc sysvmsg)
|
||||
$(use_enable sysvipc sysvsem)
|
||||
$(use_enable sysvipc sysvshm)
|
||||
$(use_with systemd fpm-systemd)
|
||||
$(use_with tidy tidy "${EPREFIX}/usr")
|
||||
$(use_enable tokenizer tokenizer)
|
||||
$(use_enable wddx wddx)
|
||||
$(use_enable xml xml)
|
||||
$(use_enable xmlreader xmlreader)
|
||||
$(use_enable xmlwriter xmlwriter)
|
||||
$(use_with xmlrpc xmlrpc)
|
||||
$(use_with xslt xsl "${EPREFIX}/usr")
|
||||
$(use_enable zip zip)
|
||||
$(use_with zlib zlib "${EPREFIX}/usr")
|
||||
$(use_enable debug debug)
|
||||
)
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm ; then
|
||||
our_conf+=( "--enable-dba${shared}" )
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
our_conf+=(
|
||||
$(use_with cdb cdb)
|
||||
$(use_with berkdb db4 "${EPREFIX}/usr")
|
||||
$(use_enable flatfile flatfile)
|
||||
$(use_with gdbm gdbm "${EPREFIX}/usr")
|
||||
$(use_enable inifile inifile)
|
||||
$(use_with qdbm qdbm "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Support for the GD graphics library
|
||||
our_conf+=(
|
||||
$(use_with truetype freetype-dir "${EPREFIX}/usr")
|
||||
$(use_with truetype t1lib "${EPREFIX}/usr")
|
||||
$(use_enable cjk gd-jis-conv)
|
||||
$(use_with gd jpeg-dir "${EPREFIX}/usr")
|
||||
$(use_with gd png-dir "${EPREFIX}/usr")
|
||||
$(use_with xpm xpm-dir "${EPREFIX}/usr")
|
||||
$(use_with vpx vpx-dir "${EPREFIX}/usr")
|
||||
)
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
our_conf+=( $(use_with gd gd) )
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
our_conf+=(
|
||||
$(use_with imap imap "${EPREFIX}/usr")
|
||||
$(use_with ssl imap-ssl "${EPREFIX}/usr")
|
||||
)
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
our_conf+=( $(use_with firebird interbase "${EPREFIX}/usr") )
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
our_conf+=(
|
||||
$(use_with ldap ldap "${EPREFIX}/usr")
|
||||
$(use_with ldap-sasl ldap-sasl "${EPREFIX}/usr")
|
||||
)
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
local mysqllib="mysqlnd"
|
||||
local mysqlilib="mysqlnd"
|
||||
use libmysqlclient && mysqllib="${EPREFIX}/usr"
|
||||
use libmysqlclient && mysqlilib="${EPREFIX}/usr/bin/mysql_config"
|
||||
|
||||
our_conf+=( $(use_with mysql mysql "${mysqllib}") )
|
||||
our_conf+=( $(use_with mysqli mysqli "${mysqlilib}") )
|
||||
|
||||
local mysqlsock="${EPREFIX}/var/run/mysqld/mysqld.sock"
|
||||
if use mysql || use mysqli ; then
|
||||
our_conf+=( $(use_with mysql mysql-sock "${mysqlsock}") )
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
our_conf+=(
|
||||
$(use_with odbc unixODBC "${EPREFIX}/usr")
|
||||
$(use_with iodbc iodbc "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Oracle support
|
||||
our_conf+=( $(use_with oci8-instant-client oci8) )
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
our_conf+=(
|
||||
$(use_with mssql pdo-dblib)
|
||||
$(use_with mysql pdo-mysql "${mysqllib}")
|
||||
$(use_with postgres pdo-pgsql)
|
||||
$(use_with sqlite pdo-sqlite "${EPREFIX}/usr")
|
||||
$(use_with firebird pdo-firebird "${EPREFIX}/usr")
|
||||
$(use_with odbc pdo-odbc "unixODBC,${EPREFIX}/usr")
|
||||
$(use_with oci8-instant-client pdo-oci)
|
||||
)
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
our_conf+=(
|
||||
$(use_with readline readline "${EPREFIX}/usr")
|
||||
$(use_with libedit libedit "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
our_conf+=( $(use_with sharedmem mm "${EPREFIX}/usr") )
|
||||
else
|
||||
our_conf+=( $(use_enable session session) )
|
||||
fi
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
our_conf+=( --with-pic )
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-pcre-regex affects ext/pcre
|
||||
# --with-pcre-dir affects ext/filter and ext/zip
|
||||
our_conf+=(
|
||||
--with-pcre-regex="${EPREFIX}/usr"
|
||||
--with-pcre-dir="${EPREFIX}/usr"
|
||||
)
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Cache the ./configure test results between SAPIs.
|
||||
our_conf+=( --cache-file="${T}/config.cache" )
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
our_conf+=( ${EXTRA_ECONF:-} )
|
||||
|
||||
# Support the Apache2 extras, they must be set globally for all
|
||||
# SAPIs to work correctly, especially for external PHP extensions
|
||||
|
||||
mkdir -p "${WORKDIR}/sapis-build" || die
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
# The BUILD_DIR variable is used to determine where to output
|
||||
# the files that autotools creates. This was all originally
|
||||
# based on the autotools-utils eclass.
|
||||
BUILD_DIR="${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cp -a "${S}" "${BUILD_DIR}" || die
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
local sapi_conf=(
|
||||
--with-config-file-path="${PHP_INI_DIR}"
|
||||
--with-config-file-scan-dir="${PHP_EXT_INI_DIR_ACTIVE}"
|
||||
)
|
||||
|
||||
for sapi in $SAPIS ; do
|
||||
case "$sapi" in
|
||||
cli|cgi|embed|fpm)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf+=( "--enable-${sapi}" )
|
||||
else
|
||||
sapi_conf+=( "--disable-${sapi}" )
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf+=( --with-apxs2="${EPREFIX}/usr/bin/apxs" )
|
||||
else
|
||||
sapi_conf+=( --without-apxs2 )
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# Construct the $myeconfargs array by concatenating $our_conf
|
||||
# (the common args) and $sapi_conf (the SAPI-specific args).
|
||||
local myeconfargs=( "${our_conf[@]}" )
|
||||
myeconfargs+=( "${sapi_conf[@]}" )
|
||||
|
||||
pushd "${BUILD_DIR}" > /dev/null || die
|
||||
econf "${myeconfargs[@]}"
|
||||
popd > /dev/null || die
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# snmp seems to run during src_compile, too (bug #324739)
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
for sapi in ${SAPIS} ; do
|
||||
if use "${sapi}"; then
|
||||
cd "${WORKDIR}/sapis-build/$sapi" || \
|
||||
die "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# see bug #324739 for what happens when we don't have that
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
|
||||
# grab the first SAPI that got built and install common files from there
|
||||
local first_sapi=""
|
||||
for sapi in $SAPIS ; do
|
||||
if use $sapi ; then
|
||||
first_sapi=$sapi
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Makefile forgets to create this before trying to write to it...
|
||||
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||
|
||||
# Install php environment (without any sapis)
|
||||
cd "${WORKDIR}/sapis-build/$first_sapi" || die
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs
|
||||
|
||||
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||
|
||||
# Create the directory where we'll put version-specific php scripts
|
||||
keepdir "/usr/share/php${PHP_MV}"
|
||||
|
||||
local sapi="", file=""
|
||||
local sapi_list=""
|
||||
|
||||
for sapi in ${SAPIS}; do
|
||||
if use "${sapi}" ; then
|
||||
einfo "Installing SAPI: ${sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${sapi}" || die
|
||||
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
# We're specifically not using emake install-sapi as libtool
|
||||
# may cause unnecessary relink failures (see bug #351266)
|
||||
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||
newins ".libs/libphp5$(get_libname)" \
|
||||
"libphp${PHP_MV}$(get_libname)"
|
||||
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||
else
|
||||
# needed each time, php_install_ini would reset it
|
||||
local dest="${PHP_DESTDIR#${EPREFIX}}"
|
||||
into "${dest}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}"
|
||||
else
|
||||
dobin "${source}"
|
||||
local name="$(basename ${source})"
|
||||
dosym "${dest}/bin/${name}" "/usr/bin/${name}${SLOT}"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Installing opcache module
|
||||
if use opcache ; then
|
||||
into "${PHP_DESTDIR#${EPREFIX}}"
|
||||
dolib.so "modules/opcache$(get_libname)"
|
||||
fi
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" "20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
|
||||
sed -e "s|php5|php${SLOT}|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
|
||||
|
||||
# set php-config variable correctly (bug #278439)
|
||||
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config" || die
|
||||
|
||||
if use fpm ; then
|
||||
if use systemd; then
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at.service" \
|
||||
"php-fpm@${SLOT}.service"
|
||||
else
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at-simple.service" \
|
||||
"php-fpm@${SLOT}.service"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d \
|
||||
"session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d \
|
||||
"session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null || die
|
||||
done
|
||||
|
||||
local failed="$(find -name '*.out')"
|
||||
if [[ ${failed} != "" ]] ; then
|
||||
ewarn "The following test cases failed unexpectedly:"
|
||||
for name in ${failed}; do
|
||||
ewarn " ${name/.out/}"
|
||||
done
|
||||
else
|
||||
einfo "No unexpected test failures, all fine"
|
||||
fi
|
||||
|
||||
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||
local passed=""
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
[[ -f "${name}.diff" ]] && continue
|
||||
passed="${passed} ${name}"
|
||||
done
|
||||
if [[ ${passed} != "" ]] ; then
|
||||
einfo "The following test cases passed unexpectedly:"
|
||||
for name in ${passed}; do
|
||||
ewarn " ${passed}"
|
||||
done
|
||||
else
|
||||
einfo "None of the known-to-fail tests passed, all fine"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
elog
|
||||
elog "To enable PHP in apache, you will need to add \"-D PHP\" to"
|
||||
elog "your apache2 command. OpenRC users can append that string to"
|
||||
elog "APACHE2_OPTS in /etc/conf.d/apache2."
|
||||
elog
|
||||
elog "The apache module configuration file 70_mod_php.conf is"
|
||||
elog "provided (and maintained) by eselect-php."
|
||||
elog
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT} || die
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Remove dead symlinks for SAPIs that were just disabled. For
|
||||
# example, if the user has the cgi SAPI enabled, then he has an
|
||||
# eselect-php symlink for it. If he later reinstalls PHP with
|
||||
# USE="-cgi", that symlink will break. This call to eselect is
|
||||
# supposed to remove that dead link per bug 572436.
|
||||
eselect php cleanup || die
|
||||
|
||||
if ! has "php${SLOT/./-}" ${PHP_TARGETS}; then
|
||||
elog "To build extensions for this version of PHP, you will need to"
|
||||
elog "add php${SLOT/./-} to your PHP_TARGETS USE_EXPAND variable."
|
||||
elog
|
||||
fi
|
||||
|
||||
# Warn about the removal of PHP_INI_VERSION if the user has it set.
|
||||
if [[ -n "${PHP_INI_VERSION}" ]]; then
|
||||
ewarn 'The PHP_INI_VERSION variable has been phased out. You may'
|
||||
ewarn 'remove it from your configuration at your convenience. See'
|
||||
ewarn
|
||||
ewarn ' https://bugs.gentoo.org/611214'
|
||||
ewarn
|
||||
ewarn 'for more information.'
|
||||
fi
|
||||
|
||||
elog "For details on how version slotting works, please see"
|
||||
elog "the wiki:"
|
||||
elog
|
||||
elog " https://wiki.gentoo.org/wiki/PHP"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# This serves two purposes. First, if we have just removed the last
|
||||
# installed version of PHP, then this will remove any dead symlinks
|
||||
# belonging to eselect-php. Second, if a user upgrades slots from
|
||||
# (say) 5.6 to 7.0 and depcleans the old slot, then this will update
|
||||
# his existing symlinks to point to the new 7.0 installation. The
|
||||
# latter is bug 432962.
|
||||
#
|
||||
# Note: the eselect-php package may not be installed at this point,
|
||||
# so we can't die() if this command fails.
|
||||
eselect php cleanup
|
||||
}
|
Binary file not shown.
@ -0,0 +1,21 @@
|
||||
--- gmp-6.0.0/gmp-h.in.orig 2015-01-16 22:25:51.000000000 +0100
|
||||
+++ gmp-6.0.0/gmp-h.in 2015-01-16 22:26:40.000000000 +0100
|
||||
@@ -360,14 +360,14 @@
|
||||
GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
|
||||
inline semantics, unless -fgnu89-inline is used. */
|
||||
#ifdef __GNUC__
|
||||
-#if (defined __GNUC_STDC_INLINE__) || (__GNUC__ == 4 && __GNUC_MINOR__ == 2) \
|
||||
- || (defined __GNUC_GNU_INLINE__ && defined __cplusplus)
|
||||
+#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)
|
||||
#define __GMP_EXTERN_INLINE extern __inline__ __attribute__ ((__gnu_inline__))
|
||||
-#else
|
||||
+#define __GMP_INLINE_PROTOTYPES 1
|
||||
+#elif !(defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && __STDC_VERSION__ >= 199901L)
|
||||
#define __GMP_EXTERN_INLINE extern __inline__
|
||||
-#endif
|
||||
#define __GMP_INLINE_PROTOTYPES 1
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
/* DEC C (eg. version 5.9) supports "static __inline foo()", even in -std1
|
||||
strict ANSI mode. Inlining is done even when not optimizing (ie. -O0
|
@ -1,3 +1,2 @@
|
||||
DIST mpc-1.0.1.tar.gz 624125 BLAKE2B ba5c63f5e0cdcff2cfd5b93d152f70422232bca472b5153209b525794e338f11bdd0e371a055535aa31bb3b8991a5f6ef645b1bf2393027803bf84c0d4346991 SHA512 fa381e75999bba626ba08d73225285b03c6d2f6cca87881b28829925d1624eaed1c9b544f75e7281cf5d8dcdd7831025a4eafc05f88f13375f9e08239a8a9303
|
||||
DIST mpc-1.0.2.tar.gz 633173 BLAKE2B 9d58d8a41bf4a2d7a82842dc1e76f7fc1376dac950919ae72d1cb04fe70132747a22dcbec91391e1f5aa857c96de553aa21548f20f139742ae4b2463df473d63 SHA512 0e94ba9a20c7374839d2a53a9ed8cce647cc74142b464634fdb9cbaf96e91e43ea13f0b4dab5c06c247e6719de0c0ae03fdcba0c7c4518ee504c545c96da70d0
|
||||
DIST mpc-1.0.3.tar.gz 669925 BLAKE2B 4b5a1db5220b58070f9356041f44f021c2c9ec46aa4303d0a31e809d649897bc3547e9b06271dae4e80be569ee67e2a84f86b662e05dac0ca36ff87e95fcbd62 SHA512 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Unconditional dependency of gcc. Keep this set to 0.
|
||||
EAPI="0"
|
||||
|
||||
inherit eutils libtool multilib
|
||||
|
||||
DESCRIPTION="A library for multiprecision complex arithmetic with exact rounding"
|
||||
HOMEPAGE="http://mpc.multiprecision.org/"
|
||||
SRC_URI="http://www.multiprecision.org/mpc/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND=">=dev-libs/gmp-4.3.2
|
||||
>=dev-libs/mpfr-2.4.2"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
elibtoolize # for FreeMiNT, bug #347317
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf $(use_enable static-libs static) || die
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
use static-libs || rm "${ED:-${D}}"/usr/lib*/libmpc.la
|
||||
dodoc ChangeLog NEWS README TODO
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserve_old_lib /usr/$(get_libdir)/libmpc.so.2
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/libmpc.so.2
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils libtool multilib
|
||||
|
||||
DESCRIPTION="A library for multiprecision complex arithmetic with exact rounding"
|
||||
HOMEPAGE="http://mpc.multiprecision.org/"
|
||||
SRC_URI="http://www.multiprecision.org/mpc/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND=">=dev-libs/gmp-4.3.2
|
||||
>=dev-libs/mpfr-2.4.2"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
elibtoolize # for FreeMiNT, bug #347317
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
dodoc ChangeLog
|
||||
}
|
Binary file not shown.
@ -0,0 +1,132 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
|
||||
# (needed due to CMAKE_BUILD_TYPE != Gentoo)
|
||||
CMAKE_MIN_VERSION=3.7.0-r1
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit cmake-utils git-r3 llvm python-any-r1
|
||||
|
||||
DESCRIPTION="OCaml bindings for LLVM"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://git.llvm.org/git/llvm.git
|
||||
https://github.com/llvm-mirror/llvm.git"
|
||||
EGIT_BRANCH="release_60"
|
||||
|
||||
# Keep in sync with sys-devel/llvm
|
||||
ALL_LLVM_EXPERIMENTAL_TARGETS=( AVR Nios2 RISCV WebAssembly )
|
||||
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
|
||||
NVPTX PowerPC Sparc SystemZ X86 XCore
|
||||
"${ALL_LLVM_EXPERIMENTAL_TARGETS[@]}" )
|
||||
ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
|
||||
LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
|
||||
|
||||
LICENSE="UoI-NCSA"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS=""
|
||||
IUSE="debug test ${ALL_LLVM_TARGETS[*]}"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/ocaml-4.00.0:0=
|
||||
dev-ml/ocaml-ctypes:=
|
||||
~sys-devel/llvm-${PV}:=[${LLVM_TARGET_USEDEPS// /,},debug?]
|
||||
!sys-devel/llvm[ocaml(-)]"
|
||||
# configparser-3.2 breaks the build (3.3 or none at all are fine)
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
dev-ml/findlib
|
||||
test? ( dev-ml/ounit )
|
||||
!!<dev-python/configparser-3.3.0.2
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
|| ( ${ALL_LLVM_TARGETS[*]} )"
|
||||
|
||||
# least intrusive of all
|
||||
CMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
|
||||
pkg_setup() {
|
||||
llvm_pkg_setup
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Python is needed to run tests using lit
|
||||
python_setup
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local libdir=$(get_libdir)
|
||||
local mycmakeargs=(
|
||||
-DLLVM_LIBDIR_SUFFIX=${libdir#lib}
|
||||
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DLLVM_OCAML_OUT_OF_TREE=ON
|
||||
# cheap hack: LLVM combines both anyway, and the only difference
|
||||
# is that the former list is explicitly verified at cmake time
|
||||
-DLLVM_TARGETS_TO_BUILD=""
|
||||
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
|
||||
-DLLVM_BUILD_TESTS=$(usex test)
|
||||
|
||||
# disable various irrelevant deps and settings
|
||||
-DLLVM_ENABLE_FFI=OFF
|
||||
-DLLVM_ENABLE_TERMINFO=OFF
|
||||
-DHAVE_HISTEDIT_H=NO
|
||||
-DWITH_POLLY=OFF
|
||||
-DLLVM_ENABLE_ASSERTIONS=$(usex debug)
|
||||
-DLLVM_ENABLE_EH=ON
|
||||
-DLLVM_ENABLE_RTTI=ON
|
||||
|
||||
-DLLVM_HOST_TRIPLE="${CHOST}"
|
||||
|
||||
# disable go bindings
|
||||
-DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
|
||||
|
||||
# TODO: ocamldoc
|
||||
)
|
||||
|
||||
use test && mycmakeargs+=(
|
||||
-DLLVM_LIT_ARGS="-vv"
|
||||
)
|
||||
|
||||
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
|
||||
# also: custom rules for OCaml do not work for CPPFLAGS
|
||||
use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG"
|
||||
cmake-utils_src_configure
|
||||
|
||||
local llvm_libdir=$(llvm-config --libdir)
|
||||
# an ugly hack; TODO: figure out a way to pass -L to ocaml...
|
||||
cd "${BUILD_DIR}/${libdir}" || die
|
||||
ln -s "${llvm_libdir}"/*.so . || die
|
||||
|
||||
if use test; then
|
||||
local llvm_bindir=$(llvm-config --bindir)
|
||||
# Force using system-installed tools.
|
||||
sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
|
||||
"${BUILD_DIR}"/test/lit.site.cfg.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile ocaml_all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# respect TMPDIR!
|
||||
local -x LIT_PRESERVES_TMP=1
|
||||
cmake-utils_src_make check-llvm-bindings-ocaml
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" \
|
||||
cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
|
||||
|
||||
dodoc bindings/ocaml/README.txt
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=XAOC
|
||||
MODULE_VERSION=1.247
|
||||
inherit perl-module
|
||||
#inherit virtualx
|
||||
|
||||
DESCRIPTION="Perl bindings for GTK2"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/gtk+:2
|
||||
dev-perl/Cairo
|
||||
>=dev-perl/glib-perl-1.280.0
|
||||
>=dev-perl/Pango-1.220.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-perl/ExtUtils-Depends-0.300.0
|
||||
>=dev-perl/ExtUtils-PkgConfig-1.030.0
|
||||
"
|
||||
|
||||
#RDEPEND+=" || ( <x11-libs/gtk+-2.22.1-r1[jpeg] x11-libs/gdk-pixbuf[jpeg] )"
|
||||
#SRC_TEST=do
|
||||
#src_test(){
|
||||
# Xemake -j1 test || die
|
||||
#}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=XAOC
|
||||
MODULE_VERSION=1.2495
|
||||
inherit perl-module
|
||||
#inherit virtualx
|
||||
|
||||
DESCRIPTION="Perl bindings for GTK2"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/gtk+:2
|
||||
>=dev-perl/Cairo-1
|
||||
>=dev-perl/glib-perl-1.280.0
|
||||
>=dev-perl/Pango-1.220.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/ExtUtils-Depends-0.300.0
|
||||
>=dev-perl/ExtUtils-PkgConfig-1.030.0
|
||||
"
|
||||
|
||||
#RDEPEND+=" || ( <x11-libs/gtk+-2.22.1-r1[jpeg] x11-libs/gdk-pixbuf[jpeg] )"
|
||||
#SRC_TEST=do
|
||||
#src_test(){
|
||||
# Xemake -j1 test || die
|
||||
#}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=XAOC
|
||||
DIST_VERSION=1.2497
|
||||
inherit virtualx perl-module
|
||||
|
||||
DESCRIPTION="Perl bindings for GTK2"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/gtk+:2
|
||||
>=dev-perl/Cairo-1
|
||||
>=dev-perl/glib-perl-1.280.0
|
||||
>=dev-perl/Pango-1.220.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/ExtUtils-Depends-0.300.0
|
||||
>=dev-perl/ExtUtils-PkgConfig-1.30.0
|
||||
"
|
||||
|
||||
src_test(){
|
||||
virtx perl-module_src_test
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=XAOC
|
||||
DIST_VERSION=1.24991
|
||||
inherit virtualx perl-module
|
||||
|
||||
DESCRIPTION="Perl bindings for GTK2"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/gtk+:2
|
||||
>=dev-perl/Cairo-1
|
||||
>=dev-perl/glib-perl-1.280.0
|
||||
>=dev-perl/Pango-1.220.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/ExtUtils-Depends-0.300.0
|
||||
>=dev-perl/ExtUtils-PkgConfig-1.30.0
|
||||
"
|
||||
|
||||
src_test(){
|
||||
virtx perl-module_src_test
|
||||
}
|
@ -1,5 +1 @@
|
||||
DIST Gtk2-1.247.tar.gz 741467 BLAKE2B 6b9c47339129d44a80cf614b8648ccc31bdc4a278921c0062a20622c2fb336934e07113889678a8b067137ed8b2da99025d09bb04f92661c2f9d6df2f2546e8c SHA512 9c0fb510cfa806c1fe5bc06827130e245809a9b629442fb47a54100a95434bc4e11a7f2fd525463e467c037e60690d43c2fa79c03a2b4c063eb3627547306724
|
||||
DIST Gtk2-1.2495.tar.gz 743621 BLAKE2B fb9d29478c7b5991ae0f510fb87902f02c4ff078d4f377a05b02217a262a009afcd022000238e4412ad45b06045ff033d5bedbc8946818a04952a269c281b83c SHA512 07abfa2786d386f063282475ab5f6977ed034ab801e2e6ca06628b1828f7bee34675ee812bf0f4036bad74f648f8c0400099e4a8f92b194c83422bc2bdf58fa5
|
||||
DIST Gtk2-1.2497.tar.gz 750109 BLAKE2B 3d025c72cfbca3097d8a08ae5f7465e1ee6a5485013490bb8ebb0409cb930a011213790b1a37f86a0b9e6f477de39e38af753a5832b82bc262e0c8fc9840ffb2 SHA512 6fbff58fc4685cfbfb23b3fe9931aae9587aafebc3471e9899bcd98913cb3cb540e5ce405510f4bf364a5be9c1e20c9b3ac992b769bccb119d36c824ce2e6487
|
||||
DIST Gtk2-1.24991.tar.gz 750567 BLAKE2B 5a9224254ca3c11801b90831a7a93559685b66d9a1ba3d28507708a674663adf5f5fe8b1decc97366bff445cdef29e3948650cf67bb44c210d120ef0c7fe0177 SHA512 191fe1a57cdd8a9f3871583d3dcc6e160b608f91f98f0eed83161d7cfd550d82b59be2b744fa8979ba1c3648bb84b05cbe97487065af8181ad40cb49ebd32827
|
||||
DIST Gtk2-1.24992.tar.gz 768646 BLAKE2B b2b63c55d9e1f7e19911bd4a6b268bf27d79339aeef9f8db32fe2fa24666a30e298158a81647ee54d8ce9f04e48d14d21a57971e81383c12d92447af877ae714 SHA512 a3d0ac22ce0f356f1a73c6b7d27161f76573b64cfde54e76d751ce8318eda9410e57d905e03b2562b8d31b80d3dba2bd4a8a7980a331bd5ca0c6f75e61e4e6f7
|
||||
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=MAROS
|
||||
DIST_VERSION=2.09
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Easily create plaintext/html e-mail messages with attachments and inline images"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples test"
|
||||
|
||||
# HTML::Tree -> HTML-TreeBuilder
|
||||
# MIME::Tools -> MIME-tools
|
||||
RDEPEND="
|
||||
dev-perl/Class-Load
|
||||
dev-perl/Email-Address
|
||||
dev-perl/Email-Date-Format
|
||||
>=dev-perl/Email-MessageID-1.400.0
|
||||
dev-perl/Email-Valid
|
||||
virtual/perl-Encode
|
||||
>=dev-perl/MIME-tools-5.400.0
|
||||
>=dev-perl/HTML-Tree-3.0.0
|
||||
dev-perl/MIME-Types
|
||||
>=dev-perl/Moose-0.940.0
|
||||
dev-perl/Path-Class
|
||||
dev-perl/Text-Table
|
||||
dev-perl/namespace-autoclean
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
|
||||
test? (
|
||||
dev-perl/Test-Most
|
||||
dev-perl/Test-NoWarnings
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/use inc::Module::Install/use lib q[.]; use inc::Module::Install/' Makefile.PL ||
|
||||
die "Can't patch Makefile.PL for 5.26 dot-in-inc"
|
||||
perl-module_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins example/*.pl
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST Mail-Builder-2.09.tar.gz 53491 BLAKE2B a31bca79948b8fd2c73bbf593bb4501254971e64237acb23339484eae2f247c26b421431c329697a7f6163b210da64fa09e27003949c3fdf14f7066285f2b8fe SHA512 9862803e52c1347a3fec621ad80e74de0c81bb51d39c9323c9aaed65c1d6ab43122541670c9444c8cafcb7604d122fdc897cfd1451dce2bba79cf8dcabb3ed88
|
||||
DIST Mail-Builder-2.13.tar.gz 54004 BLAKE2B c55539888e82d40314f511bfa44fe471c3ea4f68804627a9791caae8e0dbaf4eac71b1f8b9d092a278cfc04b5f427017180c1a1dfb2e4df93c992d0183c56899 SHA512 2ebc5690519b9d5fb715aff6feeec55ce5d298a0b117dc4195dfb296dcef3b4b93d46d88d477802329c902cc1cafe932dbe5ac77d570d8f5bc0c32371ecc3b51
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=JMEHNLE
|
||||
MODULE_SECTION=mail-spf-query
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="query Sender Policy Framework for an IP,email,helo"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
# Disabling tests for now. Ticho got them to magically work on his end,
|
||||
# but bug 169285 shows the chaotic responses he got for a while.
|
||||
# Enable again during a bump test, but keep disabled for general use.
|
||||
# ~mcummings
|
||||
#SRC_TEST="do"
|
||||
|
||||
DEPEND=">=dev-perl/Net-DNS-0.46
|
||||
>=dev-perl/Net-CIDR-Lite-0.15
|
||||
dev-perl/Sys-Hostname-Long
|
||||
dev-perl/URI"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
!mail-filter/libspf2"
|
@ -1 +0,0 @@
|
||||
DIST Mail-SPF-Query-1.999.1.tar.gz 55342 BLAKE2B d34b60c3813915fa432cdd10d2e9917556992dbfb6a533dbaac1b6ff5e4eb91c4f5709426893db92cdd8a57fe7d73933723ba12f0ecd842f39dca18e7d01de04 SHA512 bb7c30832ae46416dbc6e2387dfeb13ce707022566536802c3548b318bc42f4d68e887f38e5e56bb845f0bd68a003f43157f4ce0f7b94521508bcb3654d2162d
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST RRD-Simple-1.44-patches-1.tar.xz 3740 BLAKE2B 164370f9a121efee897b17ae11e7f02f3ea92a69ca05851d8902b1a08ce629c096bd20ee9fe00758ddf7f309d9c1b4470c601e183fc7eb3b38950fb5339661d1 SHA512 d9f28d2da3ef2478c031c29eb80cd89a618391e0cbc7360cbf17281a971b7411761259682ff954af6b968e87d400e84dd125fff90adc248b92cd82903c364372
|
||||
DIST RRD-Simple-1.44.tar.gz 303444 BLAKE2B 5f303a809839e389713743737405e6ad70038c4756546be00b6d2e7ea65bd0f887654c286b3ca30306fcde01e143d0b8f882c59b6a26376c30c557285e333dc8 SHA512 3cf11e08ec5ceb6ba81d9a12944a24fad0af644a8ba0f4c5e2dde4dd47fe6fc50db89be36c6a110a90209e5faac143cb5a063dddfb0a13f359a12511a51369a0
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=NICOLAW
|
||||
DIST_VERSION=1.44
|
||||
DIST_EXAMPLES=( "examples/*" )
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Simple interface to create and store data in RRD files"
|
||||
SRC_URI+=" https://dev.gentoo.org/~kentnl/distfiles/${PN}-${DIST_VERSION}-patches-1.tar.xz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
net-analyzer/rrdtool[perl]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-perl/Module-Build
|
||||
test? (
|
||||
>=dev-perl/Test-Deep-0.93.0
|
||||
)
|
||||
"
|
||||
PATCHES=( "${WORKDIR}/patches" )
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=CFRETER
|
||||
DIST_VERSION=1.05
|
||||
DIST_EXAMPLES=( "examples/*" )
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl bindings for Revision Control System"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-vcs/rcs"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,2 +1,3 @@
|
||||
DIST Readonly-2.00.tar.gz 23673 BLAKE2B 286ecdffa9c43dafdc3b05edc63a634fc1ac3e42c3dd6bc67ce66c5aeb68a36266e2b64a55aee4d3f02247a675ceebb0dc7bcda7e95f2e8f5200936041f48c2d SHA512 293c3be4af0bee2390d5370132c17de31010443123321771dd124d3e285cd72abbdaa7b6f50a2c44102d03a5724636f2976016111efe09afd27149f6880c2bec
|
||||
DIST Readonly-2.01.tar.gz 23227 BLAKE2B 7a245411a17132cdd3617de70386cd1f7f5115053d2c074a097d670c90dfe2046af05d2cd44cae6e1ab1410169d1226bcde53dcb2d5ba14e55f0818a50b80497 SHA512 03287cf32d7464a5a1487e62ad5ac5210d1be6258559e88baddc27408a6b00c6983ff1e305643ffec3ee0068ae823239433e53594684d8538197d6b09971fda2
|
||||
DIST Readonly-2.05.tar.gz 28877 BLAKE2B 7fb072e0057cb125665855eaa058b77b74aeadc3fa4be3ca4e87ed6214b22a52c0ee4fe7df4739b288c49116d16d05cbcc93bd7035e71bc51e55be69002265e0 SHA512 d42406c1985248a352860f80c3b0b1a41476e5a7b4bff71e83122d7c5eb609296a1eb00aa71cf9f899317e31c706d75ff07950815eff84afb6bec40de6de2ace
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue