parent
57307c2995
commit
86b4e874d8
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/file-roller/file-roller-3.8.0.ebuild,v 1.1 2013/03/28 16:17:09 pacho Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/file-roller/file-roller-3.8.2.ebuild,v 1.1 2013/05/13 20:27:24 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
@ -1,18 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST ghex-3.4.1.tar.xz 1316852 SHA256 8696babf56a24be01cbf856c6fbad6f1d0e10c44736957625f9535430dfee692 SHA512 3a2a5bff9668bc8497560660c01449e377f474946e8103546acd6a677b640e02d8695d5079a9296b67640ab52fe6b0821798aa8ee8967ddd4404df435997f7e4 WHIRLPOOL 4cae6589a88f65291a1f1db4eb4f6e2f2bcd096b918a69e7166bae2eb5312a88ab82a7f6809fe9d0ba0ff671cd5370c101e99be40fc00a2d323a9cfdabcab2af
|
||||
DIST ghex-3.6.1.tar.xz 1300912 SHA256 ef74fc5a5a67736391b3fb7fb14f588f3a4441b1aa48d1a6eaa1adb6c0427544 SHA512 4c29c512204502be27d14f4e3bf26f4192389e05ff10a0e87677ce47d40b1bb17df4cb07f2e592c74f525ea8ce0c614cd5f0e3e47414275fdcefe31c6a14a26f WHIRLPOOL 3eebc0807ee3f18354424c5c45e721267a289e5570aee1ecb5e362fb3d8e96550e45800fd16ae2b8e2a312fa7027e5db7bcc3445feec96b3f8fc38aa1c2204ee
|
||||
DIST ghex-3.8.0.tar.xz 1311052 SHA256 40b08fff065575e91f161904952aaa14919ffe053f3849c47ab567ac93a4d3fc SHA512 c19e79b25340c532f4658ec3d81b12cfd4dbec7ebfc567c3509ad88ab2e63567201492fec3ff75f19ff4f8e3c4fd60a28e2ec745ce1f6ca8eee694dd85f9de0e WHIRLPOOL 3535f64d4512c09913907adc8f01aae080140b49f99e7f6db04e73083d6d74bbd8a30d4d17ca26b880b864af7413ad57f09e315eb4c014a6f676820b9523d549
|
||||
EBUILD ghex-3.4.1.ebuild 822 SHA256 cb6b189ab448b15b2c8174f5981ae2895dc422d6cdb53596286d006574c0e95d SHA512 00066e409dd94f995da0712fe51779712a1d1332bf0101f613a78e0033c1012059e3723133e2d2b41b473aae86d73be39574ddbdcb0132812322a582d87ffb69 WHIRLPOOL 5aa4db0361dc2a826177cde6ed8e532b3a6046d5a95735252ca7fdae1c73da64b145cce5e15127bed718819d136858372f359510af65c0d8da72be44eaa0d3d8
|
||||
DIST ghex-3.8.1.tar.xz 1312300 SHA256 84ce220eed0dc9f640a87db68533e65a4dc06a1a6136b244270d8b2a1ae93534 SHA512 e70d88589bc6532560b5237a0b3f4e11fc6acaeb0f8f0bc4a4d68a6b3c22650603074e1d280663d8a796b07622155339e849172e39c5f3b46a998e2106ea957b WHIRLPOOL c4f13982825733540200d846133e1227b67bf0c237e43ad7247b5966d50d7ca17f1cc7dd4d97c75b3a971a819a5eac651ba043ca1bd807edf5c4a59ef733b9b0
|
||||
EBUILD ghex-3.6.1.ebuild 753 SHA256 4be21362fb8016dd8ab470f45e523646ea65535910543f3f8c0fdc50d3ba2870 SHA512 f870820779e8c97b5472f26e78b9269d47afcbba83d71335467631c167ec75ec731fbb47a7dbac85989722e931b6666d99df963136a4889808b7a69484d88403 WHIRLPOOL 1fed5a8cbd8bafaf1f1a630635f1f70ad8032360bd83caedb70ac35929239513768b2c6286e11ce22ca3a2a0a644e89fbc162e270e0a05c4b949fd5ac831033a
|
||||
EBUILD ghex-3.8.0.ebuild 642 SHA256 5967e4e7c570472a15c629d62a699b60791dc34c1121d2e690db9094a7a9ba5d SHA512 39198e2c75824bae0d46f9535ea5a42cb7c593aca61a9ef7e6ed1fa8edccb43688c5a49f7fdaa06b07c3f8fc90d0ce3174b245b8b607a95ab661813413fe8907 WHIRLPOOL 5794d8dbb008b7593ef17c2818b73107a387d07f41589acb82203375636f72190c09aeb64cf74c4bc456e4fa30c712084fd9609aa8ee66dc6b70cb0d178e2eeb
|
||||
MISC ChangeLog 9216 SHA256 2ceff0f6bfe31cbd800a9f3dcd0bf4ba80a5db5cb7c4e23ebe023688217767d9 SHA512 a631e90da245fd9fc15ef342cf44a86ab7f6c097536d92f8e730582ba46cc5a2a399c2a53aab3764e48aae1312628facf603affc46357da387cd122d2aeabee3 WHIRLPOOL 71b8bc13bd121af3c36ff99319a6b3cc47284d3e2a8e2a023221aa1d753c6a4e8b2f946bd86aa782222d44f050c38d7b5de05fcce6e650647de2206869e270b4
|
||||
EBUILD ghex-3.8.1.ebuild 642 SHA256 344f1bcd2003202e2276a384a363a4506c43e6efed193adfcaf9716bcb160fd9 SHA512 968c1fdc7fee00d3fbaa730a739c8203afffc2393d1a8f1a3ece9ff7470c8fd36532a304c31f38cb61f4de07c9134dc584190e6f3332d191370d302dd7ee79a2 WHIRLPOOL 5ef3d947541139df802db1189fa65aab66b24e34f92d79cce2cdee7ce5cf252d89c5767fb8a71542e6e53529fc40c737f578ca8d4e0395e717befdf2c7956cc7
|
||||
MISC ChangeLog 9357 SHA256 ea8385ed8a25e9c5121e55918e3eaa937ec4811919dae4b6246acb26e70264eb SHA512 d374fbe743ac168c8b7e86f9ed4761533815e577a7d9748b84d773f5c79f64370103be0228b1795babb7d77ecc4fbe527afcdd72428eb5a9f11a5baaed949565 WHIRLPOOL a30d82a5eaaea045666b00f4258e32b7c3a92d9818a0907a973577a1a85f18e89397c6eac8a857cea8d560cfe45e88a0bc22c262e7e9e38d9a4a6c45f2725e18
|
||||
MISC metadata.xml 158 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 SHA512 7fbfbd2b3ed1b81867d55648509f778fdbe2091af53727b3426a3c7f453ae7e1663a99fdd2101508b8d6c85b3158459c93551b77a6a394f02d7e11cbc8a5ecf4 WHIRLPOOL 4bcd5662974877d42ebc4361b6eb412bfeea2af7144b436ce7ed152327d554afc321c376625ba0bb85a704b70d86e3c4882dff3573047acddd8ffccf655d4f7e
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlFUZx4ACgkQCaWpQKGI+9TZwACfbOEwJKjIKxyk4egGA0ZXk1d5
|
||||
MOcAn1kz5wd7K2U5EjEx1HLNyGHOcPHF
|
||||
=EFoQ
|
||||
iEYEAREIAAYFAlGRHpQACgkQCaWpQKGI+9RSmQCfeotbAM2b80/hPgCBxBMNFTXb
|
||||
VyYAnjNJio9qASiljg1jx+2qFvOB6gTX
|
||||
=oKsR
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/ghex/ghex-3.4.1.ebuild,v 1.6 2012/12/16 19:45:25 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="GNOME hexadecimal editor"
|
||||
HOMEPAGE="https://live.gnome.org/Ghex"
|
||||
|
||||
LICENSE="GPL-2+ FDL-1.1+"
|
||||
SLOT="2"
|
||||
KEYWORDS="amd64 ppc x86 ~x86-interix ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/atk-1
|
||||
>=dev-libs/glib-2.31.10:2
|
||||
>=x11-libs/gtk+-3.3.8:3"
|
||||
DEPEND="${RDEPEND}
|
||||
>=app-text/gnome-doc-utils-0.9.0
|
||||
>=dev-util/intltool-0.41.1
|
||||
>=sys-devel/gettext-0.17
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
G2CONF="${G2CONF}
|
||||
--disable-schemas-compile
|
||||
--disable-scrollkeeper
|
||||
--disable-static"
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/ghex/ghex-3.8.1.ebuild,v 1.1 2013/05/13 17:10:43 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="GNOME hexadecimal editor"
|
||||
HOMEPAGE="https://live.gnome.org/Ghex"
|
||||
|
||||
LICENSE="GPL-2+ FDL-1.1+"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/atk-1
|
||||
>=dev-libs/glib-2.31.10:2
|
||||
>=x11-libs/gtk+-3.3.8:3
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/intltool-0.41.1
|
||||
>=sys-devel/gettext-0.17
|
||||
app-text/yelp-tools
|
||||
virtual/pkgconfig
|
||||
"
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/latexila/latexila-2.8.1.ebuild,v 1.1 2013/05/13 18:21:00 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
VALA_MIN_API_VERSION="0.20"
|
||||
|
||||
inherit gnome2 vala
|
||||
|
||||
DESCRIPTION="Integrated LaTeX environment for GNOME"
|
||||
HOMEPAGE="http://projects.gnome.org/latexila/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+latexmk rubber"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-text/enchant
|
||||
>=dev-libs/glib-2.36:2
|
||||
dev-libs/libgee:0
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
>=x11-libs/gtk+-3.6.0:3
|
||||
>=x11-libs/gtksourceview-3.8.0:3.0
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/libX11
|
||||
x11-libs/pango
|
||||
$(vala_depend)
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/latex-base
|
||||
x11-themes/hicolor-icon-theme
|
||||
latexmk? ( dev-tex/latexmk )
|
||||
rubber? ( dev-tex/rubber )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/itstool
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext
|
||||
"
|
||||
|
||||
DOCS="AUTHORS HACKING NEWS README"
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
vala_src_prepare
|
||||
}
|
@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/virt-manager-0.9.5.ebuild,v 1.1 2013/05/13 14:44:20 cardoe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
#BACKPORTS=4
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="http://git.fedorahosted.org/git/virt-manager.git"
|
||||
fi
|
||||
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
|
||||
# Stop gnome2.eclass from doing stuff on USE=debug
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit eutils gnome2 python
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-2 autotools
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
VIRTINSTDEP=">=app-emulation/virtinst-9999"
|
||||
else
|
||||
SRC_URI="http://virt-manager.org/download/sources/${PN}/${P}.tar.gz
|
||||
${BACKPORTS:+mirror://gentoo/${P}-bp-${BACKPORTS}.tar.bz2
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${P}-bp-${BACKPORTS}.tar.bz2}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
VIRTINSTDEP=">=app-emulation/virtinst-0.600.4"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A graphical tool for administering virtual machines (KVM/Xen)"
|
||||
HOMEPAGE="http://virt-manager.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="gnome-keyring policykit sasl +spice +vnc"
|
||||
RDEPEND=">=dev-python/pygtk-1.99.12
|
||||
>=app-emulation/libvirt-0.7.0[python,sasl?]
|
||||
>=dev-libs/libxml2-2.6.23[python]
|
||||
${VIRTINSTDEP}
|
||||
>=gnome-base/librsvg-2
|
||||
>=x11-libs/vte-0.12.2:0[python]
|
||||
>=dev-python/dbus-python-0.61
|
||||
>=dev-python/gconf-python-1.99.11
|
||||
dev-python/urlgrabber
|
||||
sys-apps/dbus[X]
|
||||
gnome-keyring? ( dev-python/gnome-keyring-python )
|
||||
policykit? ( sys-auth/polkit )
|
||||
spice? (
|
||||
>=net-misc/spice-gtk-0.6[python,sasl?]
|
||||
|| (
|
||||
<=net-misc/spice-gtk-0.14[python,sasl?,-gtk3]
|
||||
>=net-misc/spice-gtk-0.14-r1[python,sasl?]
|
||||
)
|
||||
)
|
||||
vnc? ( >=net-libs/gtk-vnc-0.3.8[python,sasl?] )"
|
||||
# tui? ( >=dev-python/new_syrup-0.1.2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/rarian
|
||||
dev-util/intltool"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="--without-tui"
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s/python/python2/" -i src/virt-manager.in || \
|
||||
die "python2 update failed"
|
||||
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# virt-manager's autogen.sh touches this and eautoreconf fails
|
||||
# unless we do this
|
||||
touch config.rpath
|
||||
|
||||
rm -rf config.status || die
|
||||
intltoolize --automake --copy --force || die
|
||||
perl -i -p -e 's,^DATADIRNAME.*$,DATADIRNAME = share,' po/Makefile.in.in || die
|
||||
perl -i -p -e 's,^GETTEXT_PACKAGE.*$,GETTEXT_PACKAGE = virt-manager,' \
|
||||
po/Makefile.in.in || die
|
||||
eautoreconf
|
||||
fi
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/share/${PN}
|
||||
gnome2_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/share/${PN}
|
||||
gnome2_pkg_postrm
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
commit ce4b6451aabbe83809c7483c748cfa009cc090d6
|
||||
Author: Alexandre Julliard <julliard@winehq.org>
|
||||
Date: Fri May 10 22:01:44 2013 +0200
|
||||
|
||||
configure: Add explicit install targets in libs/wine for make_makefiles.
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index d4c1f8e..ef38bfd 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -16379,7 +16379,7 @@ wine_fn_config_makefile documentation enable_documentation
|
||||
wine_fn_config_makefile fonts enable_fonts install-lib
|
||||
wine_fn_config_makefile include enable_include install-dev
|
||||
wine_fn_config_makefile libs/port enable_libs_port
|
||||
-wine_fn_config_makefile libs/wine enable_libs_wine
|
||||
+wine_fn_config_makefile libs/wine enable_libs_wine install-dev,install-lib
|
||||
wine_fn_config_makefile libs/wpp enable_libs_wpp
|
||||
wine_fn_config_makefile loader enable_loader install-lib,manpage
|
||||
wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 6dd2348..b44673e 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3173,7 +3173,7 @@ WINE_CONFIG_MAKEFILE([documentation])
|
||||
WINE_CONFIG_MAKEFILE([fonts],,[install-lib])
|
||||
WINE_CONFIG_MAKEFILE([include],,[install-dev])
|
||||
WINE_CONFIG_MAKEFILE([libs/port])
|
||||
-WINE_CONFIG_MAKEFILE([libs/wine])
|
||||
+WINE_CONFIG_MAKEFILE([libs/wine],,[install-dev,install-lib])
|
||||
WINE_CONFIG_MAKEFILE([libs/wpp])
|
||||
WINE_CONFIG_MAKEFILE([loader],,[install-lib,manpage])
|
||||
WINE_CONFIG_PROGRAM(aspnet_regiis,,[install])
|
||||
diff --git a/libs/wine/Makefile.in b/libs/wine/Makefile.in
|
||||
index b8dc385..7de7799 100644
|
||||
--- a/libs/wine/Makefile.in
|
||||
+++ b/libs/wine/Makefile.in
|
||||
@@ -111,4 +111,8 @@ version.c: dummy
|
||||
$(RELPATH):
|
||||
@cd $(TOOLSDIR)/tools && $(MAKE) relpath$(TOOLSEXT)
|
||||
|
||||
+# Make sure that make_makefiles sees the install rules
|
||||
+install install-lib::
|
||||
+install install-dev::
|
||||
+
|
||||
@LIBWINE_RULES@
|
@ -0,0 +1,315 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.30.ebuild,v 1.1 2013/05/13 07:19:51 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
||||
PLOCALE_BACKUP="en"
|
||||
|
||||
inherit autotools-multilib eutils flag-o-matic gnome2-utils l10n multilib pax-utils toolchain-funcs virtualx
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MY_P="${PN}-${PV/_/-}"
|
||||
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
GV="1.9"
|
||||
MV="0.0.8"
|
||||
PULSE_PATCHES="winepulse-patches-1.5.30"
|
||||
WINE_GENTOO="wine-gentoo-2012.11.24"
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
gecko? (
|
||||
abi_x86_32? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi )
|
||||
abi_x86_64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
|
||||
)
|
||||
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
|
||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2
|
||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="+abi_x86_32 +abi_x86_64 alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gphoto2 gsm gstreamer jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa +oss +perl png +prelink samba scanner selinux ssl test +threads +truetype udisks v4l +X xcomposite xinerama xml"
|
||||
[[ ${PV} == "9999" ]] || IUSE="${IUSE} pulseaudio"
|
||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||
test? ( abi_x86_32 )
|
||||
elibc_glibc? ( threads )
|
||||
mono? ( abi_x86_32 )
|
||||
osmesa? ( opengl )" #286560
|
||||
|
||||
# FIXME: the test suite is unsuitable for us; many tests require net access
|
||||
# or fail due to Xvfb's opengl limitations.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
|
||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
||||
fontconfig? ( media-libs/fontconfig:= )
|
||||
gphoto2? ( media-libs/libgphoto2:= )
|
||||
openal? ( media-libs/openal:= )
|
||||
udisks? (
|
||||
sys-apps/dbus
|
||||
sys-fs/udisks:2
|
||||
)
|
||||
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
|
||||
X? (
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXi
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXxf86vm
|
||||
)
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups:= )
|
||||
opencl? ( virtual/opencl )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
gsm? ( media-sound/gsm:= )
|
||||
jpeg? ( virtual/jpeg:= )
|
||||
ldap? ( net-nds/openldap:= )
|
||||
lcms? ( media-libs/lcms:0= )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
||||
nls? ( sys-devel/gettext )
|
||||
odbc? ( dev-db/unixODBC:= )
|
||||
osmesa? ( media-libs/mesa[osmesa] )
|
||||
samba? ( >=net-fs/samba-3.0.25 )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
scanner? ( media-gfx/sane-backends:= )
|
||||
ssl? ( net-libs/gnutls:= )
|
||||
png? ( media-libs/libpng:0= )
|
||||
v4l? ( media-libs/libv4l )
|
||||
xcomposite? ( x11-libs/libXcomposite )
|
||||
amd64? (
|
||||
abi_x86_32? (
|
||||
gstreamer? ( app-emulation/emul-linux-x86-gstplugins )
|
||||
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1[development] )
|
||||
X? (
|
||||
>=app-emulation/emul-linux-x86-xlibs-2.1[development]
|
||||
>=app-emulation/emul-linux-x86-soundlibs-2.1[development]
|
||||
)
|
||||
mp3? ( app-emulation/emul-linux-x86-soundlibs[development] )
|
||||
odbc? ( app-emulation/emul-linux-x86-db[development] )
|
||||
openal? ( app-emulation/emul-linux-x86-sdl[development] )
|
||||
opengl? ( app-emulation/emul-linux-x86-opengl[development] )
|
||||
osmesa? ( >=app-emulation/emul-linux-x86-opengl-20121028[development] )
|
||||
scanner? ( app-emulation/emul-linux-x86-medialibs[development] )
|
||||
v4l? ( app-emulation/emul-linux-x86-medialibs[development] )
|
||||
>=app-emulation/emul-linux-x86-baselibs-20130224[development]
|
||||
>=sys-kernel/linux-headers-2.6
|
||||
)
|
||||
)"
|
||||
[[ ${PV} == "9999" ]] || RDEPEND="${RDEPEND}
|
||||
pulseaudio? (
|
||||
media-sound/pulseaudio
|
||||
sys-auth/rtkit
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
X? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
prelink? ( sys-devel/prelink )
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
sys-devel/flex"
|
||||
|
||||
# These use a non-standard "Wine" category, which is provided by
|
||||
# /etc/xdg/applications-merged/wine.menu
|
||||
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
||||
usr/share/applications/wine-notepad.desktop
|
||||
usr/share/applications/wine-uninstaller.desktop
|
||||
usr/share/applications/wine-winecfg.desktop"
|
||||
|
||||
src_unpack() {
|
||||
if use abi_x86_64; then
|
||||
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
|
||||
&& die "you need gcc-4.4+ to build 64bit wine"
|
||||
fi
|
||||
|
||||
if use abi_x86_32 && use opencl; then
|
||||
[[ x$(eselect opencl show) = "xintel" ]] &&
|
||||
die "Cannot build wine[opencl,abi_x86_32]: intel-ocl-sdk is 64-bit only" # 403947
|
||||
fi
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
git-2_src_unpack
|
||||
else
|
||||
unpack ${MY_P}.tar.bz2
|
||||
fi
|
||||
|
||||
unpack "${PULSE_PATCHES}.tar.bz2"
|
||||
unpack "${WINE_GENTOO}.tar.bz2"
|
||||
|
||||
l10n_find_plocales_changes "${S}/po" "" ".po"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local md5="$(md5sum server/protocol.def)"
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5.26-winegcc.patch #260726
|
||||
"${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
|
||||
"${FILESDIR}"/${PN}-1.5.17-osmesa-check.patch #429386
|
||||
"${FILESDIR}"/${PN}-1.5.23-winebuild-CCAS.patch #455308
|
||||
"${FILESDIR}"/${PN}-1.5.30-libwine.patch #http://bugs.winehq.org/show_bug.cgi?id=33560
|
||||
)
|
||||
[[ ${PV} == "9999" ]] || PATCHES+=(
|
||||
"../${PULSE_PATCHES}"/*.patch #421365
|
||||
)
|
||||
|
||||
autotools-utils_src_prepare
|
||||
|
||||
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||
tools/make_requests || die #432348
|
||||
fi
|
||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
||||
|
||||
l10n_get_locales > po/LINGUAS # otherwise wine doesn't respect LINGUAS
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
local myeconfargs=(
|
||||
"${myeconfargs[@]}"
|
||||
CCAS="$(tc-getAS)"
|
||||
)
|
||||
|
||||
if use amd64; then
|
||||
if [[ ${ABI} == amd64 ]]; then
|
||||
myeconfargs+=( --enable-win64 )
|
||||
else
|
||||
myeconfargs+=( --disable-win64 )
|
||||
fi
|
||||
|
||||
# Note: using --with-wine64 results in problems with multilib.eclass
|
||||
# CC/LD hackery. We're using separate tools instead.
|
||||
fi
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
local myeconfargs=( # common
|
||||
--sysconfdir=/etc/wine
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with lcms cms)
|
||||
$(use_with cups)
|
||||
$(use_with ncurses curses)
|
||||
$(use_with udisks dbus)
|
||||
$(use_with fontconfig)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gsm)
|
||||
$(use_with gstreamer)
|
||||
--without-hal
|
||||
$(use_with jpeg)
|
||||
$(use_with ldap)
|
||||
$(use_with mp3 mpg123)
|
||||
$(use_with nls gettext)
|
||||
$(use_with openal)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
$(use_with oss)
|
||||
$(use_with png)
|
||||
$(use_with threads pthread)
|
||||
$(use_with scanner sane)
|
||||
$(use_enable test tests)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with v4l)
|
||||
$(use_with X x)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
$(use_with xml)
|
||||
$(use_with xml xslt)
|
||||
)
|
||||
|
||||
[[ ${PV} == "9999" ]] || myeconfargs+=( $(use_with pulseaudio pulse) )
|
||||
|
||||
multilib_parallel_foreach_abi do_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-multilib_src_compile depend
|
||||
autotools-multilib_src_compile all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ $(id -u) == 0 ]]; then
|
||||
ewarn "Skipping tests since they cannot be run under the root user."
|
||||
ewarn "To run the test ${PN} suite, add userpriv to FEATURES in make.conf"
|
||||
return
|
||||
fi
|
||||
|
||||
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
||||
multilib_toolchain_setup x86
|
||||
local BUILD_DIR="${S}-${ABI}"
|
||||
cd "${BUILD_DIR}" || die
|
||||
WINEPREFIX="${T}/.wine-${ABI}" Xemake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( ANNOUNCE AUTHORS README )
|
||||
autotools-multilib_src_install
|
||||
|
||||
emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}"
|
||||
if use gecko ; then
|
||||
insinto /usr/share/wine/gecko
|
||||
use abi_x86_32 && doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
||||
use abi_x86_64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
||||
fi
|
||||
if use mono ; then
|
||||
insinto /usr/share/wine/mono
|
||||
doins "${DISTDIR}"/wine-mono-${MV}.msi
|
||||
fi
|
||||
if ! use perl ; then
|
||||
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
|
||||
use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
|
||||
use abi_x86_64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
|
||||
|
||||
if use abi_x86_64 && ! use abi_x86_32; then
|
||||
dosym /usr/bin/wine{64,} # 404331
|
||||
dosym /usr/bin/wine{64,}-preloader
|
||||
fi
|
||||
|
||||
# respect LINGUAS when installing man pages, #469418
|
||||
for l in de fr pl; do
|
||||
use linguas_${l} || rm -r "${D}"usr/share/man/${l}*
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
# ChangeLog for app-misc/ddate
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/ddate/ChangeLog,v 1.1 2013/05/13 10:08:28 ssuominen Exp $
|
||||
|
||||
*ddate-0.2.1 (13 May 2013)
|
||||
|
||||
13 May 2013; Samuli Suominen <ssuominen@gentoo.org> +ddate-0.2.1.ebuild:
|
||||
Initial commit.
|
||||
|
@ -0,0 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST ddate-0.2.1.tar.gz 7757 SHA256 7602ccf2065e88ffe57a37db3e33eaa51e61f4e4f722b03842162d91f9726bf6 SHA512 377ae4be0ddd2386de726603116ec64a524f2f4263cb30d2cd8f10024659f5fee552cf13de45cbaad36c93d2dfd16c0667993d67a37ba2276a96ca052265c714 WHIRLPOOL 27acbf78448f1bfbfac5184a453b9a73481260c2b6190be0b0545b204d2522d4a0fcac6b4258e0a7fb85768466a38f41bc7bd1a1c5417ed62f2b91f650e87fb2
|
||||
EBUILD ddate-0.2.1.ebuild 742 SHA256 c3a84da0ee756dfc54b28f7e0eac8bc8a54cf00219c82df5c56a7213e943af1b SHA512 f7bc97df920b565b32d329fda7bb96c83866431ac105740dfde2984d7902db3dab5b9732667b1786448508e58321559d58e1de80d80a28979980b8d5b3cdd107 WHIRLPOOL 5ec7d00d4abc7a51bd05ad3f5f05587d2298595ce3e1a28f33215a5c022ef2e11727f4c7b523d4405548ca48790ea6c93d27ae8db44a962bc1121057765e0c8c
|
||||
MISC ChangeLog 326 SHA256 71ec6c9adae0c79dafa015b196111ed7fdd587c44a0720fbb70730b693b07aca SHA512 1f4137d43f561cdd5f104070948917584dd05312fbb497c847a23425b6860a2b60f28bcad1be9fd343a32837d69098c2b196c613409526fc4038ba01528cc5a6 WHIRLPOOL 1bbaf8a209a0fb28a60335ccc5a102d5d63aee1bb5afb8a7e37b32b34b42f3f8fde112df20922f51d749e506990a8c7e87d721b74e5cdacc19c50324bf7ab5dc
|
||||
MISC metadata.xml 237 SHA256 7a2e6c7ce71faf6cb99ccf26a358a88149eb6170ed7f7f89034862873f43b08f SHA512 22ffee20a0ec92bb16a0d1180989753ab208ec3d79717c1c0f6bb5aba3c5b575553a99a3be39078ce0a0dfc7cce706f9e99aecc6b1848e8b693c099580ec0478 WHIRLPOOL 6461aab51b7f01da5d5e6c27d587799936294d901c2bc038d0fcd90477a5bfd173c95e40cdbfc616d7274f9a9aec69d7d0816758ace2c0e8693e3c527ade384a
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJRkLtmAAoJEEdUh39IaPFNKTcH/RfJRHcHw/sdUFjfN/QFo9X6
|
||||
1BKNr/JUsoWImqSM+YtuxwnIv5Eo6YotFL4281gM6BzGogJ+GJAdz3/bNprX6PHw
|
||||
n0TDhVcScJkFZMg0eIycc8Q7/psyG6LJgw7hpf8UFv0nJOS6aMtV1216fqpJdhcO
|
||||
jJtpQXPlFQpFohRCuuBJ0FfHSy1iyt81btmYCRSq33RTiyWzCZE0mc7DZbfjwlDK
|
||||
qAEuULJdenrTW+GPuGNWLXugcJg2yqSLSldkQzjnJawEzgHHsZzwVr4WTmy+81I9
|
||||
hRRjPIU5B3C49FckTLCIudlF+K8vKotPvKKWKA1FBoUstFjCI8utMtu5P66cjvI=
|
||||
=suGX
|
||||
-----END PGP SIGNATURE-----
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/ddate/ddate-0.2.1.ebuild,v 1.1 2013/05/13 10:08:28 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Perpetual date converter from gregorian to poee calendar"
|
||||
HOMEPAGE="http://github.com/bo0ts/ddate"
|
||||
SRC_URI="http://github.com/bo0ts/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<sys-apps/util-linux-2.20
|
||||
!<sys-apps/util-linux-2.23[ddate]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/gzip/d' CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${CMAKE_BUILD_DIR}"/${PN}
|
||||
doman ${PN}.1
|
||||
dodoc README.org
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>ssuominen@gentoo.org</email>
|
||||
<name>Samuli Suominen</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/gnote/gnote-3.8.1.ebuild,v 1.1 2013/05/13 17:43:24 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Desktop note-taking application"
|
||||
HOMEPAGE="http://live.gnome.org/Gnote"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
# Automagic glib-2.32 dep
|
||||
COMMON_DEPEND="
|
||||
>=app-crypt/libsecret-0.8
|
||||
>=app-text/gtkspell-3.0:3
|
||||
>=dev-cpp/glibmm-2.28:2
|
||||
>=dev-cpp/gtkmm-3.6:3.0
|
||||
>=dev-libs/boost-1.34
|
||||
>=dev-libs/glib-2.32:2
|
||||
>=dev-libs/libxml2-2:2
|
||||
dev-libs/libxslt
|
||||
>=sys-apps/util-linux-2.16:=
|
||||
>=x11-libs/gtk+-3.6:3
|
||||
x11-libs/libX11
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
"
|
||||
DEPEND="${DEPEND}
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
>=dev-util/intltool-0.35.0
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Do not alter CFLAGS
|
||||
sed 's/-DDEBUG -g/-DDEBUG/' -i configure.ac configure || die
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-static \
|
||||
$(use_enable debug) \
|
||||
ITSTOOL=$(type -P true)
|
||||
}
|
@ -1,18 +1,20 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
Hash: SHA256
|
||||
|
||||
AUX tomboy-1.10.1-gmime26.patch 941 SHA256 74f9c7dc6994940891890368c44e58d223de1f1444c0c90fec7d55229340ac27 SHA512 884ce0c9d557562c6682fda3c96fe1eb1f26c010046990a44685ba6141b8a7618b8d7d0416f1d85e433c5d661b9881f6f5b90f7f32a78abcc2747353a3469640 WHIRLPOOL 7242a833fee2bed9c214b8f28e1aac1c27c9f14b48e88d1b901efcdddcde7071f772aa1ec871a722d17be298c7e1782c23835af8fd98931c2da68097345d5c8d
|
||||
AUX tomboy-1.12.1-force-gmime26.patch 730 SHA256 c1fca263044e4c6594e3a3448467bac4005e63b12a19b96ce3f2574c5383a017 SHA512 eff8a0d8a82347237d36fd8a70229c24557dee32bbe05816430c130b9048c0e455656b44f4bfd07e2895f18d618ecf60af068e05c6741d3bf8d474c9ee1644f6 WHIRLPOOL 3579ee3abb1fcb20913311373a1c4b37bca089b16647ba658a9638b190d5496fb6b3a7a54509faf35349275efee3fdc3f2f3a1e6de8bdb80f05d2b334b5fffeb
|
||||
DIST tomboy-1.10.1.tar.xz 6619804 SHA256 85bc277b278fe6aaa38fc0ec8b1777804ea0de647111a5065d43614d1ad10077 SHA512 c917bc48d073c9368350ead2f1c81b349421aacb08c0d17b8e6475c753f4ec35f6e53f4c44a4cdfc53e4378d0d9743fba2d96f37bd45d8c711d8319858c3ff8f WHIRLPOOL 2e3b0446c688df1d88212c6b333657d8417798c9fa4d3de8f44dc3508725b96b7ca4559c9f790e93e18b314e73d8c5db53a63c926af2c09d96c953b70bbd68a3
|
||||
DIST tomboy-1.12.2.tar.xz 6671548 SHA256 ebcb23efb8eedc949eb84d4b5c9919ddaacc97198384f79ed08e97092c46e55e SHA512 f1b64faaa35d77628a3359bf4c255e3d256b5e67677c6333336db22082c12052b32ea66e8ffaf9268a1a6a9c3c872befdc955ae9889108f433cf1e7e4b199394 WHIRLPOOL 9f43cef1dc2ab2649e817d95dc08e853c45535844887ee935985ec37a57d709229d90577baa2df4f3494a3c9e7ce2b70083e77f43ef0511e50cde75be0d72011
|
||||
DIST tomboy-1.14.1.tar.xz 6681068 SHA256 f9e81fd9c9a9180e8ddcb4b9237ead0c842aa5b5ac21af87e97939e5015af018 SHA512 98f46faff05cc6a9f708c880ed5a40dfb91f8e496c3b8bd3b49545b8cc095e643bd677cdf36601c95e53639fdb723aa9ac3e79b5c34aed24c4009729fd390a30 WHIRLPOOL 89eefc434f1257f56c74e88c221b4b029d90e3aca609fbd92e3c00ccc43ed4466509dabda77e949ff040c0286ee54c22ec8eeb720f70add29e79413dffacdd5b
|
||||
EBUILD tomboy-1.10.1.ebuild 1300 SHA256 8f99d6af09e66772f919b4ea0ad59303e7f5674828752e2f9e819adbaa5b8ba2 SHA512 db626a30339b978bb9a0105ca3f8ad9ce5082ed3cf69bf8720e2394280d91405c57005a662bc00c1713419eca2e217bdcfe53d24ea06e42db96b1b3f0a7d9d40 WHIRLPOOL a72cc4b8567665fc7ebd7df0dc1aad8666e7913d4b7bb4258e5979b3cf4f7323c5f6f26cd4a55f0946808a94fb63a89ed6399c112d8f41a60a640a8a27fe1108
|
||||
EBUILD tomboy-1.12.2.ebuild 1354 SHA256 54e2fe6d20ade8c582af88cf08141c7c6c8e7fa64c755b6d67ab65975894b391 SHA512 ab72eeb029bceb6b00725e990c95230f8c169c063a6c5413ceabbf64eba18aa4362f9c71a0e1a6998c5cd3820a2c0433e4841af8c2c7199ff290cbac516509fe WHIRLPOOL 55585c605ca5961b96636af3feee46d30d5f1b6949b6300d48854f32afb76dd091b7aec84d524f5cbd52a80f6c537fb4b953ae115d434c6b27b4b920ad735ef6
|
||||
MISC ChangeLog 21307 SHA256 bbd93b7feee86001b42699940aae1a4398a75ffe79a8695d3e5d0d03e98220fb SHA512 37252627278e841b70b3ceaf52b4d32b19da9d28e9fb50238c6bbb11dc86cfb594a9f316cca3947b8416dc14fbb00ab0171d1581c981ac1dfe09297749087f68 WHIRLPOOL 439872ff9e456c4c827a5b25a2ed5476657ce4394e4c541ce64d29dd48178dd9534eb9edce2a37a130003d49c81bd630ce15bfc46c9756f8c45a41047ab7431a
|
||||
EBUILD tomboy-1.14.1.ebuild 1287 SHA256 c26cd0307e321626bada4aa25b13d1436235515d9f3b44a47bd56a94f752a506 SHA512 5a475e8735bdc2fc96265ea1eec903dd3a2c45b5f09e0960d0359c0a47f7243e3914bc89c8798ce5ee7009dc6a4e12d45280de2b11cb058b08d6d0bfe818aaf8 WHIRLPOOL 1c9871a03961cd572642b89adbc96325160f075d6837ec312223bab1f858c3d8be3a6959cbc4fd8b0cafed58a5a61a4b0bcc87430f907ff8646c4cffbeeeadaf
|
||||
MISC ChangeLog 21423 SHA256 6950c9ecb5f9e1533b70dd73ad766e2e9ea09c6399091551392d1f8f9cf68928 SHA512 530568420623c94b2772ec975bd17d4cd4143982e46337636abae84e176eaba7acc38048fcd2f78c1c67561e0d3fcbc013067ee6d9c4586f0dde804a14d36ef2 WHIRLPOOL 581e1a62e809bc0c6098e7ca2d93c2b48c699c9fe8056bccc2b14f05a800fd7ac8619a5a5354fc9b9f86473833ed8a4900a0565f1366bf4551ded80ea255fb4a
|
||||
MISC metadata.xml 161 SHA256 94675b9f5f7cd65b33f9ad2c853ad20c178253e38c6535795a189ef89f1b11f7 SHA512 95b80bdd695ab316fdf73bc78bbfe92f1d399c550f2b0574870bfa75ae8d3e628df61d49ae42ddfe59c72a6694ca747d427c7c99ac4f62e15e8f93efa6218c2c WHIRLPOOL 676aba468b4478020524ada4aeb642970ffaec114182e3ce79a4cce42b3ddd6ceb7a751b3be9d7ea8fe2c5e0346ac1868b6db0dcc269ec0152572286f4077ee9
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREKAAYFAlF/tUgACgkQgAnW8HDreRaXAQCfbfjjbzhZHoXBrjk6EUITXa7Z
|
||||
xqwAoL3jnwxKPJpK7J1HzAxNcPeWTFtA
|
||||
=7FZ8
|
||||
iEYEAREIAAYFAlGRJ+IACgkQCaWpQKGI+9RRVQCfSxrTrxcFyNS+w1Tjo7a/ddqb
|
||||
OrIAn0Nvp+4cMm9VtOd2CAty5raLZIp5
|
||||
=ZhBU
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/tomboy/tomboy-1.14.1.ebuild,v 1.1 2013/05/13 17:50:24 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit autotools eutils gnome2 mono
|
||||
|
||||
DESCRIPTION="Desktop note-taking application"
|
||||
HOMEPAGE="http://projects.gnome.org/tomboy/"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="eds test"
|
||||
|
||||
RDEPEND="
|
||||
app-text/gtkspell:2
|
||||
dev-dotnet/gconf-sharp:2
|
||||
dev-dotnet/gtk-sharp:2
|
||||
dev-dotnet/mono-addins[gtk]
|
||||
dev-dotnet/dbus-sharp
|
||||
dev-dotnet/dbus-sharp-glib
|
||||
dev-lang/mono
|
||||
dev-libs/atk:=
|
||||
gnome-base/gconf:2
|
||||
x11-libs/gtk+:2
|
||||
eds? ( dev-libs/gmime:2.6[mono] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/gnome-doc-utils
|
||||
app-text/rarian
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e "s:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g" \
|
||||
-i configure.in || die
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-panel-applet \
|
||||
--disable-galago \
|
||||
--disable-update-mimedb \
|
||||
$(use_enable eds evolution) \
|
||||
$(use_enable test tests)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Not parallel build safe due upstream bug #631546
|
||||
MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_compile
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/posh/posh-0.12.ebuild,v 1.1 2013/05/13 07:36:38 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="Reimplementation of Bourne shell based on pdksh"
|
||||
HOMEPAGE="http://packages.debian.org/posh"
|
||||
SRC_URI="mirror://debian/pool/main/p/posh/${P/-/_}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT=test
|
||||
|
||||
#PATCHES=(
|
||||
# "${FILESDIR}"/${PN}-glibc-2.16.patch
|
||||
#)
|
||||
|
||||
src_configure() {
|
||||
myeconfargs=(
|
||||
--exec-prefix=/
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -0,0 +1,105 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.22.4.ebuild,v 1.1 2013/05/13 20:03:17 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils toolchain-funcs
|
||||
|
||||
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
|
||||
HOMEPAGE="http://poppler.freedesktop.org/"
|
||||
SRC_URI="http://poppler.freedesktop.org/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0/37"
|
||||
IUSE="cairo cjk curl cxx debug doc +introspection +jpeg jpeg2k +lcms png qt4 tiff +utils"
|
||||
|
||||
# No test data provided
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=media-libs/fontconfig-2.6.0
|
||||
>=media-libs/freetype-2.3.9
|
||||
sys-libs/zlib
|
||||
cairo? (
|
||||
dev-libs/glib:2
|
||||
>=x11-libs/cairo-1.10.0
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.32.1 )
|
||||
)
|
||||
curl? ( net-misc/curl )
|
||||
jpeg? ( virtual/jpeg )
|
||||
jpeg2k? ( media-libs/openjpeg )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
png? ( media-libs/libpng:0= )
|
||||
qt4? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
)
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!dev-libs/poppler
|
||||
!dev-libs/poppler-glib
|
||||
!dev-libs/poppler-qt3
|
||||
!dev-libs/poppler-qt4
|
||||
!app-text/poppler-utils
|
||||
cjk? ( >=app-text/poppler-data-0.4.4 )
|
||||
"
|
||||
|
||||
DOCS=(AUTHORS NEWS README README-XPDF TODO)
|
||||
|
||||
src_configure() {
|
||||
# this is needed for multilib, see bug 459394
|
||||
local ft_libdir ft_includedir
|
||||
ft_libdir="$($(tc-getPKG_CONFIG) freetype2 --variable=libdir)"
|
||||
ft_includedir="$($(tc-getPKG_CONFIG) freetype2 --variable=includedir)"
|
||||
export FREETYPE_DIR="${ft_libdir}:${ft_includedir%/include}"
|
||||
einfo "Detected FreeType at ${FREETYPE_DIR}"
|
||||
|
||||
mycmakeargs=(
|
||||
-DBUILD_GTK_TESTS=OFF
|
||||
-DBUILD_QT4_TESTS=OFF
|
||||
-DBUILD_CPP_TESTS=OFF
|
||||
-DENABLE_SPLASH=ON
|
||||
-DENABLE_ZLIB=ON
|
||||
-DENABLE_XPDF_HEADERS=ON
|
||||
$(cmake-utils_use_enable curl LIBCURL)
|
||||
$(cmake-utils_use_enable cxx CPP)
|
||||
$(cmake-utils_use_enable jpeg2k LIBOPENJPEG)
|
||||
$(cmake-utils_use_enable utils)
|
||||
$(cmake-utils_use_with cairo)
|
||||
$(cmake-utils_use_with introspection GObjectIntrospection)
|
||||
$(cmake-utils_use_with jpeg)
|
||||
$(cmake-utils_use_with png)
|
||||
$(cmake-utils_use_with qt4)
|
||||
$(cmake-utils_use_with tiff)
|
||||
)
|
||||
if use lcms; then
|
||||
mycmakeargs+=(-DENABLE_CMS=lcms2)
|
||||
else
|
||||
mycmakeargs+=(-DENABLE_CMS=)
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use cairo && use doc; then
|
||||
# For now install gtk-doc there
|
||||
insinto /usr/share/gtk-doc/html/poppler
|
||||
doins -r "${S}"/glib/reference/html/*
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "After upgrading app-text/poppler you may need to reinstall packages"
|
||||
ewarn "linking to it. For EAPI=5 subslot-capable packages this may be done"
|
||||
ewarn "automatically. Anyway, if you're not a portage-2.2_rc user, you're advised"
|
||||
ewarn "to run revdep-rebuild."
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
DIST writerperfect-0.8.1.tar.xz 249728 SHA256 87a4d6a0bf1743557336969c87c1955c7532b6e2fe4cc925653d7e16bae8e327 SHA512 a2df89ffdad454a800b1df28442403802ba67b1a76b5bfacc809f4798501988a1aecf63eccf10d395019021008fa0aad82fba090be06b99c52e5bfa0df21cccc WHIRLPOOL ffaae317a0fcf89f68f9bfce823cbfa4bd70e8426f81a228a129bccd234666eba435be598fc3559bfe303e3473891998fbebfe8d437709ad462b5e2ce5f2129b
|
||||
EBUILD wpd2odt-0.8.1.ebuild 940 SHA256 f3c05cc5323565868c084a27c21a68e6ba60e20f2adefb3518dedda9acbd12d7 SHA512 7ada7713ce52b15f474a1c0cf204f18fbb7a40f411ba4f3305b9fb17191bc2e301ed2956da78da2ff96619d1b8f71561bb91b8d442ffeaff6200f85a88fc7061 WHIRLPOOL 0b7fe064bbdb91d7413a3798cde3e265d0121a3c80e12c9881b148878c305f33b7b719e5bcec2932bd0f8b448acf1598317bd2fec89d7f8dca1ee2ee28ff285b
|
||||
MISC ChangeLog 1395 SHA256 ca021311d276bb5b9ae1069175537f0d6f4f584852a83a116b819d00884dae3f SHA512 97d6e6e276f2fd1e1b233017f7ddbbd72692ad7efb4bcfef5663a608b03d2381d3ccd8c86e65a5bbf2846c59ba2232c0324f694e5f8c287df109e1c47a8417ac WHIRLPOOL b66b29273056ba4e7eff0458b70785e4abdafbf9d49ec520710b5924ab7b4dc1c5a8bc4b00fab6fa427d2540d6c1cf80f68265ab2c9e5e5f560504f7ff63ef95
|
||||
MISC metadata.xml 533 SHA256 eeb5dea7e73a9a2a2927bcdf49ca30ef7b61b315ca909c316904357d08564d0b SHA512 10e87a926f297c25aebfc8a407ab4e15452b9b2d610e5bfe8559c3c1d1dbcc6f1e5b47218e4cd230cd769e0e6ebdfc3cc1590cd25f3f1caeda331d3056975840 WHIRLPOOL e5709a83c67a03f1119c27f7b499f575029056455bb3a88d1fc8d921c476bfed79f228cba344c862b996d6bbc2c58563c555f5fa422df4768e76e6cdd257cd1c
|
@ -1,6 +1,6 @@
|
||||
# ChangeLog for app-text/wpd2odt
|
||||
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/wpd2odt/ChangeLog,v 1.8 2012/05/04 03:33:16 jdhore Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/writerperfect/ChangeLog,v 1.1 2013/05/13 12:16:06 scarabeus Exp $
|
||||
|
||||
04 May 2012; Jeff Horelick <jdhore@gentoo.org> wpd2odt-0.8.1.ebuild:
|
||||
dev-util/pkgconfig -> virtual/pkgconfig
|
@ -0,0 +1,26 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST writerperfect-0.8.1.tar.xz 249728 SHA256 87a4d6a0bf1743557336969c87c1955c7532b6e2fe4cc925653d7e16bae8e327 SHA512 a2df89ffdad454a800b1df28442403802ba67b1a76b5bfacc809f4798501988a1aecf63eccf10d395019021008fa0aad82fba090be06b99c52e5bfa0df21cccc WHIRLPOOL ffaae317a0fcf89f68f9bfce823cbfa4bd70e8426f81a228a129bccd234666eba435be598fc3559bfe303e3473891998fbebfe8d437709ad462b5e2ce5f2129b
|
||||
DIST writerperfect-0.8.2.tar.xz 261984 SHA256 12291dd0c7a77b16544905846ce8d6eb328e728bd5153dbdb6ad3003beb49dbc SHA512 4432e9a7cb78d687fd7b1cf287a88bc752d29b0364f8c2615b2a8b3ca8376437ff44800013646af7d4c8904810145752e9eddc8e01f036041ff4de192348ce0b WHIRLPOOL fa529da7535cd6ec7744137af16fdc9166b9b270af5c75b1a13538f3345c61256035272b310e484ed5070677e28ad8b7871d9eb7f1d0d92d5b2943063f7723c7
|
||||
EBUILD writerperfect-0.8.1.ebuild 955 SHA256 46d0aac0c6c23434f2b40c133d9805093eade73facb256a8ee44a4fe6037cac1 SHA512 33e7c8555172d1b29bd1dbd8ef121fee052d9ec11dd9f52dd14ed3c4b55c53a6f8d92068b2d7a3bb7894ebd579fe1c0259ed6c0f29c0f13c12d6b56aa4ecf5c3 WHIRLPOOL 4ba1021b52a6bf2d7f62f1275881e427e7456288794d9b79054b7a4d7d8c8512c32f3aea2a4ea0438fff9362ed1f5dd44a1fd9237cc66086c2361008499aa164
|
||||
EBUILD writerperfect-0.8.2.ebuild 990 SHA256 b4726552df805b5d704bc77de90893b87c1754ed2b30de878a5141606d3ee34d SHA512 0042698f04a0cb27542bf7533667c8b3f64ec9416b73a9136deedcf70ae726abbf0c8b70c097b389bd0bd753a8db37c07698e5f5e4d63164ee3cb08e66743c3c WHIRLPOOL 4f66a0bc32be9eaef4baa505b8cd9925e0766bf443e7f5c7ce2141dffbb18db63bc31c638baf7505373671139e8870bc813e1de6353a223a047ba984ec34252d
|
||||
MISC ChangeLog 1404 SHA256 2bc38c1f5d1116f7ded46e1469d86c365551ddb5d3deb5c34147c4d65002109a SHA512 0c861472cafae01787a41660690b5e7ce3113f3a28ef66e9df8cd7656490692ad738f25fd068860088dfdf9f247e809fe076320d4d971b2dfc88efcae45636f5 WHIRLPOOL acadbd7d226a2736ecd211b67d2f05b08adecd5ce46d2bfb04b4f1efc14fbe19001fa95ca3664357f23598c3b11c3e344c5a88ceb48ae8001f2ec855b5b8d342
|
||||
MISC metadata.xml 711 SHA256 633720d6ce12be5f438cbb8e9ba038551d0cc5b8a100391d42a9faca43dd7d92 SHA512 d30ff2e505c9ac9a60119b5759e40d81b48367ce3eb80fa2df8f7e8509738433c6146b715fc3f5a49868e86bb5a482d95f946ab54cf4eb5bc9483f552f76bc1d WHIRLPOOL 9a2260fbe85eecd3bdd825785e0297c77fd9cc625178e73bd5c309fd410cce788b3ac86ec2e7ad74c0a14cd4fd932eaade9a14849d9089efaa8db29bb09a1855
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJRkNmLAAoJEOSiRoyO7jvoifEQAIiiAfq/byXnr3es1WwIhxuh
|
||||
CnfAX7thqpwGodFrTnoLEeAP+Kx3k+gzO+ilieGz1LtuFbb+HLO0JSqWZpMwSXTZ
|
||||
9BEgXsuryyPOivqT2xyWQpVzMOO5YEnogKHcrXD8hxOrzPP8PXGY3uwpeNWgVDBL
|
||||
F4XVHOxHHc9jfcAJfJ7/56gmen18+bIdTIrkwJsjM548nhU3YKbA5DUiUJTTVlmC
|
||||
JM+5vomjCC8QKiAwER891/9t58LlmvbRNhoZY4sLT7WJWBtpfDs7TU6EorJgAf21
|
||||
/YO26xSPEqmfzUlvri6k3oqWDtog00Vsg/rNHxhJ9Gj0nO0jp17H/dcLStMzfHfO
|
||||
87thtlZKmafNySedrET8PAZNVDaoqENaGjaON0ex9CHDvUh5w/hba59h23lYac+V
|
||||
R6cGIvncueA/D8nGvPaSjmts+JuEAIbWGpZyV3UIrGxryHVnZw83JDUUARgxLzel
|
||||
OevRukU8/gP6pYAMk4mjH+WbGXj9Gocx/v/Fci6/7hcoPj75NWcYOmSIFFYtuk5p
|
||||
nuKGlEqTWSoLRPu4bai+p8Y2vg7WYz0CjnoUVY/T/vJHeA6XYIzLhmcGUoBirqiD
|
||||
ukwo2bkMnlig7TcqWpQypFAW7MjCoo+s6j19vQHtzc62zZrM1HfI6uQ4FtAYdGG0
|
||||
GxPM/0rJeCFk0hN9XFFw
|
||||
=deOW
|
||||
-----END PGP SIGNATURE-----
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/wpd2odt/wpd2odt-0.8.1.ebuild,v 1.6 2012/05/04 03:33:16 jdhore Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/writerperfect/writerperfect-0.8.1.ebuild,v 1.1 2013/05/13 12:16:06 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/writerperfect/writerperfect-0.8.2.ebuild,v 1.1 2013/05/13 12:16:06 scarabeus Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Various formats to Open document format converter"
|
||||
HOMEPAGE="http://libwpd.sf.net"
|
||||
SRC_URI="mirror://sourceforge/libwpd/${P}.tar.xz"
|
||||
|
||||
LICENSE="|| ( LGPL-2.1 MPL-2.0 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-linux ~ppc-macos ~x86-solaris"
|
||||
IUSE="+cdr debug gsf +mspub +mwaw +visio +wps"
|
||||
|
||||
RDEPEND="
|
||||
app-text/libwpd:0.9
|
||||
app-text/libwpg:0.2
|
||||
app-text/libodfgen
|
||||
wps? ( app-text/libwps )
|
||||
visio? ( media-libs/libvisio )
|
||||
gsf? ( gnome-extra/libgsf )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-werror \
|
||||
$(use_enable debug) \
|
||||
$(use_with gsf libgsf) \
|
||||
$(use_with wps libwps) \
|
||||
$(use_with visio libvisio) \
|
||||
$(use_with cdr libcdr) \
|
||||
$(use_with mspub libmspub) \
|
||||
$(use_with mwaw libmwaw)
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
diff -ur libdbi-drivers-0.8.3-1-old/configure.in libdbi-drivers-0.8.3-1/configure.in
|
||||
--- libdbi-drivers-0.8.3-1-old/configure.in 2013-05-14 02:28:23.315926087 +0000
|
||||
+++ libdbi-drivers-0.8.3-1/configure.in 2013-05-14 02:29:05.655762313 +0000
|
||||
@@ -3,7 +3,7 @@
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
AM_INIT_AUTOMAKE(libdbi-drivers, 0.8.3-1)
|
||||
-AM_CONFIG_HEADER(config.h)
|
||||
+AC_CONFIG_HEADERS(config.h)
|
||||
AC_LIBTOOL_WIN32_DLL
|
||||
|
||||
dnl library versioning currently unnecessary...
|
@ -0,0 +1,12 @@
|
||||
diff -ur libdbi-0.8.4-old/configure.in libdbi-0.8.4/configure.in
|
||||
--- libdbi-0.8.4-old/configure.in 2013-05-14 01:45:25.595869576 +0000
|
||||
+++ libdbi-0.8.4/configure.in 2013-05-14 01:47:09.775467777 +0000
|
||||
@@ -3,7 +3,7 @@
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
AM_INIT_AUTOMAKE(libdbi, 0.8.4)
|
||||
-AM_CONFIG_HEADER(config.h)
|
||||
+AC_CONFIG_HEADERS(config.h)
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
dnl Library versioning
|
@ -1,6 +1,17 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX neotools-0.8.2-automake113.patch 308 SHA256 2e0e10a6fa043dc3ee6514c6ecc45b5f9ee9f3937173eec1f076d80857e911dc SHA512 7cc12997de2ac7b74e8cd508a05aa2ac81a752012fff9e04b9933c0d1565fd5ba0796448258105541b65d4cdaf877e15a2b287abf42770e314d59445cfc8b429 WHIRLPOOL 43e4644a973cfb1be1f25cc3899c5ea8b4fe2d4c1f8af46237aa834b970916359561f0794ec9e4ef756ae86e28a005e42044f7718faca7ad299cc421dc9cb81d
|
||||
AUX neotools-0.8.2-errno.patch 221 SHA256 826827311f4b1fefcdeed07ff81f5627e86e9b565c404ed058ed6ebd87ef5072 SHA512 0a04ecc6e205ab0908cf163688bab0c10885e7b7fcf34760c6e2cbe483de2674e57bde5c06c60843485587ad112bebb8ee834801b0d268ad32cf6e55ba577c06 WHIRLPOOL 8908ac12cf785a5e9632aacc9099d1461fbf11a1d27e6f2270c07f931603d318b28474cc01787e7421b165c6c9acdf832d2839439bfd4f3be35e1b8df8b13b99
|
||||
AUX neotools-0.8.2-gcc43.patch 1264 SHA256 2669e548d82b7c4e0fa01ba8faf72bf61b0ca0168007304c47fe386cdf83aae8 SHA512 a432ecac29d01b2e31331cb5213f6a707e65262a6eec7927ad71bd1b45e8b87211dd3388a7d3bcc71681c0cf03df5e545349cd6cbae6aec41fb467094d071880 WHIRLPOOL 661b2ebd5b5d52a01e48690349bb0f0b96034d4431dba5123fa4485a8af9d5a09f9fcf72496b366aa853974e830baa329e3ad46355b5d4b11deaae23f4d2d733
|
||||
DIST neotools-0.8.2.tar.bz2 105475 SHA256 38ca4a1a85bf23064d68649f423efefc377405bac1224a11dd9ce1edf9f165db SHA512 f502dccde4e31ab9e00b50a59fc33cbbc9dbd5dbe3cf3e379523a08ef6a00f211e339ec3645aab9e1a5e35ae0da17b9158ce73d90ab8fffe2cc37f58c7cd3fc1 WHIRLPOOL e77311923bc0a549daec990f5755feefc19afb5958de8375d7bdf57dc60fede33d3e746288ab4c2a0cb67c815a66f42da52b9afec7759894ba0a8f02be09ce48
|
||||
EBUILD neotools-0.8.2-r1.ebuild 1185 SHA256 cd8413d23bc297d23e9ef5e3a8874c885bce8b035766be58ef6ccb329fece879 SHA512 64490a298f5dcd0f844dfdf5c70ab3e2f9036bce569e9f4c9645535cf5ad7384571e0f37da3dd0ad955a05505ba984a363ca7936d9edefa8b56ca65127bc94a2 WHIRLPOOL 39ff3cba1016f3975fcaf5043671d64b648c8dc3c7222d7cc35ed7f33112ad16638a83d94fce7ae716fff264748ffc3abb3f6db1ce4b2f08d6ea6d641c40c552
|
||||
MISC ChangeLog 2302 SHA256 39a61649b5960f8eaca33747081f0a1c05d18a5a5271d4bd0b422f39cf68f808 SHA512 55134578ebaa75ae0c0faa3111f2f9d68a0634de5b36f543e2731a86a11c960b0d170b5ce2d388e818eb23aed112e8f5fc0fc98fa30fbec01981dc5b8922c915 WHIRLPOOL d810d0aee54be05276fdef5727e2e99719f35fe387c30ac2732e1b011f2ce68087e17578878785ba69fab6b6bdda03f10e3062b47db11a2c1e30a9307670c3bc
|
||||
EBUILD neotools-0.8.2-r1.ebuild 1226 SHA256 3c362d6138ef5d398373717c040bd5fec8b8545587e28b4dabca3ff0a5f869a5 SHA512 be33def227f871f02b5e8c3cafd3cfdbfc1377965bbc24bfb93a90ad34a51399ec309064b5628c2b0e6479f3f2d7b3f001f24de73b82e752e1843c92d11a7b46 WHIRLPOOL 2e34721b26b2989e7c57852a39b9cbd75733eea6b213de86d05611cda13e5a18bf0f8e55ee7d2ce0930babf501a0fcfac1e39c961c2094cd020233f0ad7ae2f3
|
||||
MISC ChangeLog 2485 SHA256 c48e63e1ef0d8b61bf8588e07dec42b0f2e29cc88b2f839194babe703a6a178d SHA512 c0e1df4d71c276e963689dbcc87f1924d85c132c47c5a00f9f55539717ed56df959fda663e69f849c663d4092ba9aab2587827fe3489784983598917ec52f416 WHIRLPOOL 0261bcae3a23ce619ac49452d63991ab0ab3f3c231a2bc29aa43206ad593b2d560dcab3d1c7e6fe78b75291b0aafa9746fc3647222fb4a41b4fb0041c0a83a99
|
||||
MISC metadata.xml 400 SHA256 c73a1d09ae225e19b9850a6308a579f47119a30b7d90efffae962d1eea336766 SHA512 b333057a664d519ebe67b43dca12fc295a755be6e147d69015338217d5a8fa49c1df76327a00e9d2cc2acafdac644af2f158007f325ed23777497a2b43c5243b WHIRLPOOL 5756ef0467bd26289cb46472592e3f0dd966b3632ad000a0daef5194e4d0d4297190ca3f9a5236d4cee02ea284b57f366123b52dc45ba7b7e2e35717bbd358c5
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlGQoigACgkQIY77eQFFFC1EWACeJSwrwlmO6Lw5tAAqjUIdquXk
|
||||
yDQAnjk9iyYTmdSjVkK8vurjJFhy4jXL
|
||||
=z9u1
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- configure.in.old 2013-05-13 09:52:34.778345838 +0200
|
||||
+++ configure.in 2013-05-13 10:09:14.830518747 +0200
|
||||
@@ -3,7 +3,7 @@
|
||||
AC_CANONICAL_TARGET
|
||||
AM_INIT_AUTOMAKE(neotools, 0.8.1)
|
||||
AC_CONFIG_SRCDIR(nscemake/main.cpp)
|
||||
-AM_CONFIG_HEADER(config.h)
|
||||
+AC_CONFIG_HEADER(config.h)
|
||||
AC_LANG(C++)
|
||||
AC_PREREQ(2.52)
|
||||
|
@ -0,0 +1,806 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.3.25.ebuild,v 1.1 2013/05/13 09:27:26 olemarkus Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd"
|
||||
|
||||
function php_get_uri ()
|
||||
{
|
||||
case "${1}" in
|
||||
"php-pre")
|
||||
echo "http://downloads.php.net/johannes/${2}"
|
||||
;;
|
||||
"php")
|
||||
echo "http://www.php.net/distributions/${2}"
|
||||
;;
|
||||
"olemarkus")
|
||||
echo "http://dev.gentoo.org/~olemarkus/php/${2}"
|
||||
;;
|
||||
"gentoo")
|
||||
echo "mirror://gentoo/${2}"
|
||||
;;
|
||||
*)
|
||||
die "unhandled case in php_get_uri"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
# alias, so we can handle different types of releases (finals, rcs, alphas,
|
||||
# betas, ...) w/o changing the whole ebuild
|
||||
PHP_PV="${PV/_rc/RC}"
|
||||
PHP_PV="${PHP_PV/_alpha/alpha}"
|
||||
PHP_PV="${PHP_PV/_beta/beta}"
|
||||
PHP_RELEASE="php"
|
||||
[[ ${PV} == ${PV/_alpha/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_beta/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-pre"
|
||||
PHP_P="${PN}-${PHP_PV}"
|
||||
|
||||
PHP_PATCHSET_LOC="olemarkus"
|
||||
|
||||
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
|
||||
|
||||
PHP_PATCHSET="0"
|
||||
PHP_PATCHSET_URI="
|
||||
$(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-${SLOT}-r${PHP_PATCHSET}.tar.bz2")"
|
||||
|
||||
PHP_FPM_INIT_VER="4"
|
||||
PHP_FPM_CONF_VER="1"
|
||||
|
||||
SRC_URI="
|
||||
${PHP_SRC_URI}
|
||||
${PHP_PATCHSET_URI}"
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs."
|
||||
HOMEPAGE="http://php.net/"
|
||||
LICENSE="PHP-3"
|
||||
|
||||
S="${WORKDIR}/${PHP_P}"
|
||||
|
||||
# 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} bcmath berkdb bzip2 calendar cdb cjk
|
||||
crypt +ctype curl curlwrappers debug
|
||||
enchant exif frontbase +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
|
||||
mssql mysql mysqlnd mysqli nls
|
||||
oci8-instant-client odbc pcntl pdo +phar +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite2 sqlite ssl
|
||||
sybase-ct sysvipc tidy +tokenizer truetype unicode wddx
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
|
||||
|
||||
DEPEND="
|
||||
>=app-admin/eselect-php-0.7.0[apache2?,fpm?]
|
||||
>=dev-libs/libpcre-8.32[unicode]
|
||||
apache2? ( www-servers/apache[threads=] )
|
||||
berkdb? ( =sys-libs/db-4* )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg media-libs/libpng:0= sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.2 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[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] )
|
||||
!mysqlnd? (
|
||||
mysql? ( virtual/mysql )
|
||||
mysqli? ( >=virtual/mysql-4.1 )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline )
|
||||
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 )
|
||||
sqlite2? ( =dev-db/sqlite-2* )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.7.1 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.7 )
|
||||
sybase-ct? ( dev-db/freetds )
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
>=media-libs/t1lib-5.0.0
|
||||
!gd? (
|
||||
virtual/jpeg media-libs/libpng:0= sys-libs/zlib )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma )
|
||||
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
|
||||
media-libs/libpng:0= sys-libs/zlib
|
||||
)
|
||||
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/mta
|
||||
"
|
||||
|
||||
php="=${CATEGORY}/${PF}"
|
||||
|
||||
REQUIRED_USE="
|
||||
truetype? ( 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 )
|
||||
mysqlnd? ( || (
|
||||
mysql
|
||||
mysqli
|
||||
pdo
|
||||
) )
|
||||
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysql !mysqli )
|
||||
sharedmem? ( !threads )
|
||||
|
||||
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RDEPEND="${RDEPEND} fpm? ( selinux? ( sec-policy/selinux-phpfpm ) )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# Allow users to install production version if they want to
|
||||
|
||||
case "${PHP_INI_VERSION}" in
|
||||
production|development)
|
||||
;;
|
||||
*)
|
||||
PHP_INI_VERSION="development"
|
||||
;;
|
||||
esac
|
||||
|
||||
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
|
||||
PHP_INI_FILE="php.ini"
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
depend.apache_pkg_setup
|
||||
}
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
|
||||
cp "${PHP_INI_UPSTREAM}" "${phpinisrc}"
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}"
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}"
|
||||
|
||||
# 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}"
|
||||
|
||||
if use_if_iuse opcache; then
|
||||
elog "Adding opcache to ${phpinisrc}"
|
||||
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> ${phpinisrc}
|
||||
fi
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" "${PHP_INI_FILE}"
|
||||
|
||||
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}}"
|
||||
|
||||
# SAPI-specific handling
|
||||
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
[[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0
|
||||
einfo "Installing FPM CGI config file php-fpm.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf
|
||||
|
||||
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
|
||||
[[ -f "${ED}/etc/php-fpm.conf.default" ]] && rm "${ED}/etc/php-fpm.conf.default"
|
||||
fi
|
||||
|
||||
# Install PHP ini files into /usr/share/php
|
||||
|
||||
dodoc php.ini-development
|
||||
dodoc php.ini-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() {
|
||||
# USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
|
||||
# ([empty session.save_path]/session_mm_[sapi][gid].sem)
|
||||
# there is no easy way to circumvent that, all php calls during
|
||||
# install use -n, so no php.ini file will be used.
|
||||
# As such, this is the easiest way to get around
|
||||
addpredict /session_mm_cli250.sem
|
||||
addpredict /session_mm_cli0.sem
|
||||
|
||||
# Change PHP branding
|
||||
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \
|
||||
-i configure.in || die "Unable to change PHP branding"
|
||||
|
||||
# Apply generic PHP patches
|
||||
EPATCH_SOURCE="${WORKDIR}/patches/generic" EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_MULTI_MSG="Applying generic patches and fixes from upstream..." epatch
|
||||
|
||||
#Fix bug 463498
|
||||
epatch "${FILESDIR}/fix-libstdc++-underlinking.patch"
|
||||
|
||||
# Patch for pkg-config-0.28 (Bug 455040)
|
||||
epatch "${FILESDIR}"/missing-openssl-include.patch
|
||||
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
#Add user patches #357637
|
||||
epatch_user
|
||||
|
||||
#force rebuilding aclocal.m4
|
||||
rm aclocal.m4
|
||||
|
||||
# work around divert() issues with newer autoconf, bug #281697
|
||||
if has_version '>=sys-devel/autoconf-2.64' ; then
|
||||
sed -i -r \
|
||||
-e 's:^((m4_)?divert)[(]([0-9]*)[)]:\1(600\3):' \
|
||||
$(grep -l divert $(find . -name '*.m4') configure.in) || die
|
||||
fi
|
||||
eautoreconf --force -W no-cross
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
PHP_DESTDIR="/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# This is a global variable and should be in caps. It isn't because the
|
||||
# phpconfutils eclass relies on exactly this name...
|
||||
# for --with-libdir see bug #327025
|
||||
my_conf="--prefix=${PHP_DESTDIR}
|
||||
--mandir=${PHP_DESTDIR}/man
|
||||
--infodir=${PHP_DESTDIR}/info
|
||||
--libdir=${PHP_DESTDIR}/lib
|
||||
--with-libdir=$(get_libdir)
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)"
|
||||
|
||||
# extension USE flag shared
|
||||
my_conf+="
|
||||
$(use_enable bcmath bcmath )
|
||||
$(use_with bzip2 bz2 )
|
||||
$(use_enable calendar calendar )
|
||||
$(use_enable ctype ctype )
|
||||
$(use_with curl curl )
|
||||
$(use_with curlwrappers curlwrappers )
|
||||
$(use_enable xml dom )
|
||||
$(use_with enchant enchant /usr)
|
||||
$(use_enable exif exif )
|
||||
$(use_enable fileinfo fileinfo )
|
||||
$(use_enable filter filter )
|
||||
$(use_enable ftp ftp )
|
||||
$(use_with nls gettext )
|
||||
$(use_with gmp gmp )
|
||||
$(use_enable hash hash )
|
||||
$(use_with mhash mhash )
|
||||
$(use_with iconv iconv )
|
||||
$(use_enable intl intl )
|
||||
$(use_enable ipv6 ipv6 )
|
||||
$(use_enable json json )
|
||||
$(use_with kerberos kerberos /usr)
|
||||
$(use_enable xml libxml )
|
||||
$(use_enable unicode mbstring )
|
||||
$(use_with crypt mcrypt )
|
||||
$(use_with mssql mssql )
|
||||
$(use_with unicode onig /usr)
|
||||
$(use_with ssl openssl )
|
||||
$(use_with ssl openssl-dir /usr)
|
||||
$(use_enable pcntl pcntl )
|
||||
$(use_enable phar phar )
|
||||
$(use_enable pdo pdo )
|
||||
$(use_with postgres pgsql )
|
||||
$(use_enable posix posix )
|
||||
$(use_with spell pspell )
|
||||
$(use_with recode recode )
|
||||
$(use_enable simplexml simplexml )
|
||||
$(use_enable sharedmem shmop )
|
||||
$(use_with snmp snmp )
|
||||
$(use_enable soap soap )
|
||||
$(use_enable sockets sockets )"
|
||||
if version_is_at_least 5.3.16-r2; then
|
||||
my_conf+=" $(use_with sqlite2 sqlite /usr) "
|
||||
use sqlite2 && my_conf+=" $(use_enable unicode sqlite-utf8)"
|
||||
else
|
||||
my_conf+=" $(use_with sqlite sqlite /usr) "
|
||||
use sqlite && my_conf+=" $(use_enable unicode sqlite-utf8)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with sqlite sqlite3 /usr)
|
||||
$(use_with sybase-ct sybase-ct /usr)
|
||||
$(use_enable sysvipc sysvmsg )
|
||||
$(use_enable sysvipc sysvsem )
|
||||
$(use_enable sysvipc sysvshm )
|
||||
$(use_with tidy tidy )
|
||||
$(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 )
|
||||
$(use_enable zip zip )
|
||||
$(use_with zlib zlib )
|
||||
$(use_enable debug debug )"
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm ; then
|
||||
my_conf="${my_conf} --enable-dba${shared}"
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
my_conf+="
|
||||
$(use_with cdb cdb )
|
||||
$(use_with berkdb db4 )
|
||||
$(use_enable flatfile flatfile )
|
||||
$(use_with gdbm gdbm )
|
||||
$(use_enable inifile inifile )
|
||||
$(use_with qdbm qdbm )"
|
||||
|
||||
# Support for the GD graphics library
|
||||
my_conf+="
|
||||
$(use_with truetype freetype-dir /usr)
|
||||
$(use_with truetype t1lib /usr)
|
||||
$(use_enable cjk gd-jis-conv )
|
||||
$(use_with gd jpeg-dir /usr)
|
||||
$(use_with gd png-dir /usr)
|
||||
$(use_with xpm xpm-dir /usr)"
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
my_conf+="
|
||||
$(use_with gd gd )"
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
my_conf+="
|
||||
$(use_with imap imap )
|
||||
$(use_with ssl imap-ssl )"
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
|
||||
if use firebird ; then
|
||||
my_conf+="
|
||||
$(use_with firebird interbase /usr)"
|
||||
fi
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
my_conf+="
|
||||
$(use_with ldap ldap )
|
||||
$(use_with ldap-sasl ldap-sasl )"
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
if use mysql ; then
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysqlnd mysql mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysql mysql /usr)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with mysql mysql-sock /var/run/mysqld/mysqld.sock)"
|
||||
fi
|
||||
|
||||
# MySQLi support
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysqli mysqli mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysqli mysqli /usr/bin/mysql_config)"
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
if use odbc ; then
|
||||
my_conf+="
|
||||
$(use_with odbc unixODBC /usr)"
|
||||
fi
|
||||
|
||||
if use iodbc ; then
|
||||
my_conf+="
|
||||
$(use_with iodbc iodbc /usr)"
|
||||
fi
|
||||
|
||||
# Oracle support
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client oci8)"
|
||||
fi
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
my_conf+="
|
||||
$(use_with mssql pdo-dblib )"
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysql pdo-mysql mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysql pdo-mysql /usr)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with postgres pdo-pgsql )
|
||||
$(use_with sqlite pdo-sqlite /usr)
|
||||
$(use_with odbc pdo-odbc unixODBC,/usr)"
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client pdo-oci)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
my_conf+="
|
||||
$(use_with readline readline )
|
||||
$(use_with libedit libedit )"
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
my_conf+="
|
||||
$(use_with sharedmem mm )"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_enable session session )"
|
||||
fi
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
my_conf="${my_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
|
||||
my_conf="${my_conf} --with-pcre-regex=/usr --with-pcre-dir=/usr"
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
my_conf="${my_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"
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
cp -r "${S}" "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
|
||||
sapi_conf="${my_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="${sapi_conf} --enable-${sapi}"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --disable-${sapi}"
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --with-apxs2=/usr/sbin/apxs"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --without-apxs2"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
econf ${sapi_conf}
|
||||
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" || "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake || die "emake failed"
|
||||
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"
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs \
|
||||
|| die "emake install failed"
|
||||
|
||||
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}"
|
||||
|
||||
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
|
||||
into "${PHP_DESTDIR#${EPREFIX}}"
|
||||
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}" || die "Unable to install ${sapi} sapi"
|
||||
else
|
||||
dobin "${source}" || die "Unable to install ${sapi} sapi"
|
||||
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_if_iuse opcache ; then
|
||||
dolib.so "modules/opcache$(get_libname)" || die "Unable to install opcache module"
|
||||
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}"
|
||||
sed -e "s|php5|php${SLOT}|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
|
||||
# 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"
|
||||
}
|
||||
|
||||
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
|
||||
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
|
||||
APACHE2_MOD_DEFINE="PHP5"
|
||||
APACHE2_MOD_CONF="70_mod_php5"
|
||||
apache-module_pkg_postinst
|
||||
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}
|
||||
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
|
||||
|
||||
elog "Make sure that PHP_TARGETS in /etc/make.conf includes php${SLOT/./-} in order"
|
||||
elog "to compile extensions for the ${SLOT} ABI"
|
||||
elog
|
||||
if ! use readline && use cli ; then
|
||||
ewarn "Note that in order to use php interactivly, you need to enable"
|
||||
ewarn "the readline USE flag or php -a will hang"
|
||||
fi
|
||||
elog
|
||||
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
|
||||
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
|
||||
elog "'production' or 'development' in /etc/make.conf"
|
||||
ewarn "Both versions of php.ini can be found in /usr/share/doc/${PF}"
|
||||
|
||||
elog
|
||||
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
|
||||
elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
eselect php cleanup
|
||||
}
|
||||
|
@ -0,0 +1,791 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.4.15.ebuild,v 1.1 2013/05/13 09:27:26 olemarkus Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
function php_get_uri ()
|
||||
{
|
||||
case "${1}" in
|
||||
"php-pre")
|
||||
echo "http://downloads.php.net/stas/${2}"
|
||||
;;
|
||||
"php")
|
||||
echo "http://www.php.net/distributions/${2}"
|
||||
;;
|
||||
"olemarkus")
|
||||
echo "http://dev.gentoo.org/~olemarkus/php/${2}"
|
||||
;;
|
||||
"gentoo")
|
||||
echo "mirror://gentoo/${2}"
|
||||
;;
|
||||
*)
|
||||
die "unhandled case in php_get_uri"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
# alias, so we can handle different types of releases (finals, rcs, alphas,
|
||||
# betas, ...) w/o changing the whole ebuild
|
||||
PHP_PV="${PV/_rc/RC}"
|
||||
PHP_PV="${PHP_PV/_alpha/alpha}"
|
||||
PHP_PV="${PHP_PV/_beta/beta}"
|
||||
PHP_RELEASE="php"
|
||||
[[ ${PV} == ${PV/_alpha/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_beta/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-pre"
|
||||
PHP_P="${PN}-${PHP_PV}"
|
||||
|
||||
PHP_PATCHSET_LOC="olemarkus"
|
||||
|
||||
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
|
||||
|
||||
PHP_PATCHSET="2"
|
||||
PHP_PATCHSET_URI="
|
||||
$(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-${SLOT}-r${PHP_PATCHSET}.tar.bz2")"
|
||||
|
||||
PHP_FPM_INIT_VER="4"
|
||||
PHP_FPM_CONF_VER="1"
|
||||
|
||||
SRC_URI="
|
||||
${PHP_SRC_URI}
|
||||
${PHP_PATCHSET_URI}"
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs."
|
||||
HOMEPAGE="http://php.net/"
|
||||
LICENSE="PHP-3"
|
||||
|
||||
S="${WORKDIR}/${PHP_P}"
|
||||
|
||||
# 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} bcmath berkdb bzip2 calendar cdb cjk
|
||||
crypt +ctype curl curlwrappers debug
|
||||
enchant exif frontbase +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
|
||||
mssql mysql mysqlnd mysqli nls
|
||||
oci8-instant-client odbc pcntl pdo +phar +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite ssl
|
||||
sybase-ct sysvipc tidy +tokenizer truetype unicode wddx
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
|
||||
|
||||
DEPEND="
|
||||
>=app-admin/eselect-php-0.7.0[apache2?,fpm?]
|
||||
>=dev-libs/libpcre-8.32[unicode]
|
||||
apache2? ( www-servers/apache[threads=] )
|
||||
berkdb? ( =sys-libs/db-4* )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg media-libs/libpng:0= sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.2 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[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] )
|
||||
!mysqlnd? (
|
||||
mysql? ( virtual/mysql )
|
||||
mysqli? ( >=virtual/mysql-4.1 )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline )
|
||||
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? ( >=dev-libs/openssl-0.9.7 )
|
||||
sybase-ct? ( dev-db/freetds )
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
>=media-libs/t1lib-5.0.0
|
||||
!gd? (
|
||||
virtual/jpeg media-libs/libpng:0= sys-libs/zlib )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma )
|
||||
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
|
||||
media-libs/libpng:0= sys-libs/zlib
|
||||
)
|
||||
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/mta
|
||||
"
|
||||
|
||||
php="=${CATEGORY}/${PF}"
|
||||
|
||||
REQUIRED_USE="
|
||||
truetype? ( 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 )
|
||||
mysqlnd? ( || (
|
||||
mysql
|
||||
mysqli
|
||||
pdo
|
||||
) )
|
||||
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysql !mysqli )
|
||||
sharedmem? ( !threads )
|
||||
|
||||
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RDEPEND="${RDEPEND} fpm? ( selinux? ( sec-policy/selinux-phpfpm ) )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# Allow users to install production version if they want to
|
||||
|
||||
case "${PHP_INI_VERSION}" in
|
||||
production|development)
|
||||
;;
|
||||
*)
|
||||
PHP_INI_VERSION="development"
|
||||
;;
|
||||
esac
|
||||
|
||||
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
|
||||
PHP_INI_FILE="php.ini"
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
depend.apache_pkg_setup
|
||||
}
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
|
||||
cp "${PHP_INI_UPSTREAM}" "${phpinisrc}"
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}"
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}"
|
||||
|
||||
# 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}"
|
||||
|
||||
if use_if_iuse opcache; then
|
||||
elog "Adding opcache to ${phpinisrc}"
|
||||
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> ${phpinisrc}
|
||||
fi
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" "${PHP_INI_FILE}"
|
||||
|
||||
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}}"
|
||||
|
||||
# SAPI-specific handling
|
||||
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
[[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0
|
||||
einfo "Installing FPM CGI config file php-fpm.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf
|
||||
|
||||
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
|
||||
[[ -f "${ED}/etc/php-fpm.conf.default" ]] && rm "${ED}/etc/php-fpm.conf.default"
|
||||
fi
|
||||
|
||||
# Install PHP ini files into /usr/share/php
|
||||
|
||||
dodoc php.ini-development
|
||||
dodoc php.ini-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() {
|
||||
# USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
|
||||
# ([empty session.save_path]/session_mm_[sapi][gid].sem)
|
||||
# there is no easy way to circumvent that, all php calls during
|
||||
# install use -n, so no php.ini file will be used.
|
||||
# As such, this is the easiest way to get around
|
||||
addpredict /session_mm_cli250.sem
|
||||
addpredict /session_mm_cli0.sem
|
||||
|
||||
# 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"
|
||||
|
||||
# Apply generic PHP patches
|
||||
EPATCH_SOURCE="${WORKDIR}/patches/generic" EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_MULTI_MSG="Applying generic patches and fixes from upstream..." epatch
|
||||
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
#Add user patches #357637
|
||||
epatch_user
|
||||
|
||||
#force rebuilding aclocal.m4
|
||||
rm aclocal.m4
|
||||
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}"
|
||||
|
||||
# This is a global variable and should be in caps. It isn't because the
|
||||
# phpconfutils eclass relies on exactly this name...
|
||||
# for --with-libdir see bug #327025
|
||||
my_conf="
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}"/man
|
||||
--infodir="${PHP_DESTDIR}"/info
|
||||
--libdir="${PHP_DESTDIR}"/lib
|
||||
--with-libdir=$(get_libdir)
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)"
|
||||
|
||||
# extension USE flag shared
|
||||
my_conf+="
|
||||
$(use_enable bcmath bcmath )
|
||||
$(use_with bzip2 bz2 "${EPREFIX}"/usr)
|
||||
$(use_enable calendar calendar )
|
||||
$(use_enable ctype ctype )
|
||||
$(use_with curl curl "${EPREFIX}"/usr)
|
||||
$(use_with curlwrappers curlwrappers "${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 || 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_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 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
|
||||
my_conf="${my_conf} --enable-dba${shared}"
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
my_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
|
||||
my_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)"
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
my_conf+="
|
||||
$(use_with gd gd)"
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
my_conf+="
|
||||
$(use_with imap imap ${EPREFIX}/usr)
|
||||
$(use_with ssl imap-ssl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
|
||||
if use firebird ; then
|
||||
my_conf+="
|
||||
$(use_with firebird interbase ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
my_conf+="
|
||||
$(use_with ldap ldap ${EPREFIX}/usr)
|
||||
$(use_with ldap-sasl ldap-sasl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
if use mysql ; then
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysql mysql mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysql mysql ${EPREFIX}/usr)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with mysql mysql-sock ${EPREFIX}/var/run/mysqld/mysqld.sock)"
|
||||
fi
|
||||
|
||||
# MySQLi support
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysqli mysqli mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysqli mysqli ${EPREFIX}/usr/bin/mysql_config)"
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
if use odbc ; then
|
||||
my_conf+="
|
||||
$(use_with odbc unixODBC ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
if use iodbc ; then
|
||||
my_conf+="
|
||||
$(use_with iodbc iodbc ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Oracle support
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client oci8)"
|
||||
fi
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
my_conf+="
|
||||
$(use_with mssql pdo-dblib )"
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysqlnd pdo-mysql mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysql pdo-mysql ${EPREFIX}/usr)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with postgres pdo-pgsql )
|
||||
$(use_with sqlite pdo-sqlite ${EPREFIX}/usr)
|
||||
$(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)"
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client pdo-oci)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
my_conf+="
|
||||
$(use_with readline readline ${EPREFIX}/usr)
|
||||
$(use_with libedit libedit ${EPREFIX}/usr)"
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
my_conf+="
|
||||
$(use_with sharedmem mm ${EPREFIX}/usr)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_enable session session )"
|
||||
fi
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
my_conf="${my_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
|
||||
my_conf="${my_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"
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
my_conf="${my_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"
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
cp -r "${S}" "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
|
||||
sapi_conf="${my_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="${sapi_conf} --enable-${sapi}"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --disable-${sapi}"
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --with-apxs2=${EPREFIX}/usr/sbin/apxs"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --without-apxs2"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
econf ${sapi_conf}
|
||||
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" || "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake || die "emake failed"
|
||||
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"
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs \
|
||||
|| die "emake install failed"
|
||||
|
||||
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}"
|
||||
|
||||
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
|
||||
into "${PHP_DESTDIR#${EPREFIX}}"
|
||||
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}" || die "Unable to install ${sapi} sapi"
|
||||
else
|
||||
dobin "${source}" || die "Unable to install ${sapi} sapi"
|
||||
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_if_iuse opcache ; then
|
||||
dolib.so "modules/opcache$(get_libname)" || die "Unable to install opcache module"
|
||||
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}"
|
||||
sed -e "s|php5|php${SLOT}|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
|
||||
# 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"
|
||||
}
|
||||
|
||||
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
|
||||
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
|
||||
APACHE2_MOD_DEFINE="PHP5"
|
||||
APACHE2_MOD_CONF="70_mod_php5"
|
||||
apache-module_pkg_postinst
|
||||
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}
|
||||
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
|
||||
|
||||
elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order"
|
||||
elog "to compile extensions for the ${SLOT} ABI"
|
||||
elog
|
||||
if ! use readline && use cli ; then
|
||||
ewarn "Note that in order to use php interactivly, you need to enable"
|
||||
ewarn "the readline USE flag or php -a will hang"
|
||||
fi
|
||||
elog
|
||||
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
|
||||
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
|
||||
elog "'production' or 'development' in ${EPREFIX}/etc/make.conf"
|
||||
elog "Both versions of php.ini can be found in ${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
elog
|
||||
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
|
||||
elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
eselect php cleanup
|
||||
}
|
@ -0,0 +1,771 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.5.0_rc1.ebuild,v 1.1 2013/05/13 09:27:26 olemarkus Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
function php_get_uri ()
|
||||
{
|
||||
case "${1}" in
|
||||
"php-pre")
|
||||
echo "http://downloads.php.net/dsp/${2}"
|
||||
;;
|
||||
"php")
|
||||
echo "http://www.php.net/distributions/${2}"
|
||||
;;
|
||||
"olemarkus")
|
||||
echo "http://dev.gentoo.org/~olemarkus/php/${2}"
|
||||
;;
|
||||
"gentoo")
|
||||
echo "mirror://gentoo/${2}"
|
||||
;;
|
||||
*)
|
||||
die "unhandled case in php_get_uri"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
# alias, so we can handle different types of releases (finals, rcs, alphas,
|
||||
# betas, ...) w/o changing the whole ebuild
|
||||
PHP_PV="${PV/_rc/RC}"
|
||||
PHP_PV="${PHP_PV/_alpha/alpha}"
|
||||
PHP_PV="${PHP_PV/_beta/beta}"
|
||||
PHP_RELEASE="php"
|
||||
[[ ${PV} == ${PV/_alpha/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_beta/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-pre"
|
||||
PHP_P="${PN}-${PHP_PV}"
|
||||
|
||||
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
|
||||
|
||||
PHP_FPM_CONF_VER="1"
|
||||
|
||||
SRC_URI="${PHP_SRC_URI}"
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs."
|
||||
HOMEPAGE="http://php.net/"
|
||||
LICENSE="PHP-3"
|
||||
|
||||
S="${WORKDIR}/${PHP_P}"
|
||||
|
||||
# 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} bcmath berkdb bzip2 calendar cdb cjk
|
||||
crypt +ctype curl debug
|
||||
enchant exif frontbase +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit 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 tidy +tokenizer truetype unicode wddx
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
|
||||
|
||||
DEPEND="
|
||||
>=app-admin/eselect-php-0.7.0[apache2?,fpm?]
|
||||
>=dev-libs/libpcre-8.32[unicode]
|
||||
apache2? ( www-servers/apache[threads=] )
|
||||
berkdb? ( =sys-libs/db-4* )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg media-libs/libpng:0= sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.2 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[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/mysql )
|
||||
mysqli? ( >=virtual/mysql-4.1 )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline )
|
||||
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? ( >=dev-libs/openssl-0.9.7 )
|
||||
sybase-ct? ( dev-db/freetds )
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
>=media-libs/t1lib-5.0.0
|
||||
!gd? (
|
||||
virtual/jpeg media-libs/libpng:0= sys-libs/zlib )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma )
|
||||
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
|
||||
media-libs/libpng:0= sys-libs/zlib
|
||||
)
|
||||
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/mta
|
||||
"
|
||||
|
||||
php="=${CATEGORY}/${PF}"
|
||||
|
||||
REQUIRED_USE="
|
||||
truetype? ( 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 )
|
||||
libmysqlclient? ( || (
|
||||
mysql
|
||||
mysqli
|
||||
pdo
|
||||
) )
|
||||
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysql !mysqli )
|
||||
sharedmem? ( !threads )
|
||||
|
||||
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RDEPEND="${RDEPEND} fpm? ( selinux? ( sec-policy/selinux-phpfpm ) )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# Allow users to install production version if they want to
|
||||
|
||||
case "${PHP_INI_VERSION}" in
|
||||
production|development)
|
||||
;;
|
||||
*)
|
||||
PHP_INI_VERSION="development"
|
||||
;;
|
||||
esac
|
||||
|
||||
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
|
||||
PHP_INI_FILE="php.ini"
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
depend.apache_pkg_setup
|
||||
}
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
|
||||
cp "${PHP_INI_UPSTREAM}" "${phpinisrc}"
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}"
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}"
|
||||
|
||||
# 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}"
|
||||
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" "${PHP_INI_FILE}"
|
||||
|
||||
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_if_iuse 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
|
||||
[[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0
|
||||
einfo "Installing FPM CGI config file php-fpm.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf
|
||||
|
||||
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
|
||||
[[ -f "${ED}/etc/php-fpm.conf.default" ]] && rm "${ED}/etc/php-fpm.conf.default"
|
||||
fi
|
||||
|
||||
# Install PHP ini files into /usr/share/php
|
||||
|
||||
dodoc php.ini-development
|
||||
dodoc php.ini-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() {
|
||||
# USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
|
||||
# ([empty session.save_path]/session_mm_[sapi][gid].sem)
|
||||
# there is no easy way to circumvent that, all php calls during
|
||||
# install use -n, so no php.ini file will be used.
|
||||
# As such, this is the easiest way to get around
|
||||
addpredict /session_mm_cli250.sem
|
||||
addpredict /session_mm_cli0.sem
|
||||
|
||||
# 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"
|
||||
|
||||
|
||||
epatch "${FILESDIR}"/iodbc-pkgconfig.patch
|
||||
epatch "${FILESDIR}"/stricter-libc-client-symlink-check.patch
|
||||
epatch "${FILESDIR}"/all_strict_aliasing.patch
|
||||
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
#Add user patches #357637
|
||||
epatch_user
|
||||
|
||||
#force rebuilding aclocal.m4
|
||||
rm aclocal.m4
|
||||
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}"
|
||||
|
||||
# This is a global variable and should be in caps. It isn't because the
|
||||
# phpconfutils eclass relies on exactly this name...
|
||||
# for --with-libdir see bug #327025
|
||||
my_conf="
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}"/man
|
||||
--infodir="${PHP_DESTDIR}"/info
|
||||
--libdir="${PHP_DESTDIR}"/lib
|
||||
--with-libdir=$(get_libdir)
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)"
|
||||
|
||||
# extension USE flag shared
|
||||
my_conf+="
|
||||
$(use_enable bcmath bcmath )
|
||||
$(use_with bzip2 bz2 "${EPREFIX}"/usr)
|
||||
$(use_enable calendar calendar )
|
||||
$(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 || 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 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
|
||||
my_conf="${my_conf} --enable-dba${shared}"
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
my_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
|
||||
my_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)"
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
my_conf+="
|
||||
$(use_with gd gd)"
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
my_conf+="
|
||||
$(use_with imap imap ${EPREFIX}/usr)
|
||||
$(use_with ssl imap-ssl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
|
||||
if use firebird ; then
|
||||
my_conf+="
|
||||
$(use_with firebird interbase ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
my_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"
|
||||
|
||||
my_conf+=" $(use_with mysql mysql $mysqllib)"
|
||||
my_conf+=" $(use_with mysqli mysqli $mysqlilib)"
|
||||
|
||||
local mysqlsock=" $(use_with mysql mysql-sock ${EPREFIX}/var/run/mysqld/mysqld.sock)"
|
||||
if use mysql ; then
|
||||
my_conf+="${mysqlsock}"
|
||||
elif use mysqli ; then
|
||||
my_conf+="${mysqlsock}"
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
if use odbc ; then
|
||||
my_conf+="
|
||||
$(use_with odbc unixODBC ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
if use iodbc ; then
|
||||
my_conf+="
|
||||
$(use_with iodbc iodbc ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Oracle support
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client oci8)"
|
||||
fi
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
my_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 odbc pdo-odbc unixODBC,${EPREFIX}/usr)"
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client pdo-oci)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
my_conf+="
|
||||
$(use_with readline readline ${EPREFIX}/usr)
|
||||
$(use_with libedit libedit ${EPREFIX}/usr)"
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
my_conf+="
|
||||
$(use_with sharedmem mm ${EPREFIX}/usr)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_enable session session )"
|
||||
fi
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
my_conf="${my_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
|
||||
my_conf="${my_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"
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
my_conf="${my_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"
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
cp -r "${S}" "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
|
||||
sapi_conf="${my_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="${sapi_conf} --enable-${sapi}"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --disable-${sapi}"
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --with-apxs2=${EPREFIX}/usr/sbin/apxs"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --without-apxs2"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
econf ${sapi_conf}
|
||||
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" || "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake || die "emake failed"
|
||||
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"
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs \
|
||||
|| die "emake install failed"
|
||||
|
||||
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}"
|
||||
|
||||
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
|
||||
into "${PHP_DESTDIR#${EPREFIX}}"
|
||||
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}" || die "Unable to install ${sapi} sapi"
|
||||
else
|
||||
dobin "${source}" || die "Unable to install ${sapi} sapi"
|
||||
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_if_iuse opcache ; then
|
||||
dolib.so "modules/opcache$(get_libname)" || die "Unable to install opcache module"
|
||||
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}"
|
||||
sed -e "s|php5|php${SLOT}|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
|
||||
# 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"
|
||||
}
|
||||
|
||||
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
|
||||
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
|
||||
APACHE2_MOD_DEFINE="PHP5"
|
||||
APACHE2_MOD_CONF="70_mod_php5"
|
||||
apache-module_pkg_postinst
|
||||
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}
|
||||
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
|
||||
|
||||
elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order"
|
||||
elog "to compile extensions for the ${SLOT} ABI"
|
||||
elog
|
||||
if ! use readline && use cli ; then
|
||||
ewarn "Note that in order to use php interactivly, you need to enable"
|
||||
ewarn "the readline USE flag or php -a will hang"
|
||||
fi
|
||||
elog
|
||||
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
|
||||
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
|
||||
elog "'production' or 'development' in ${EPREFIX}/etc/make.conf"
|
||||
elog "Both versions of php.ini can be found in ${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
elog
|
||||
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
|
||||
elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
eselect php cleanup
|
||||
}
|
@ -1,33 +1,20 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
Hash: SHA256
|
||||
|
||||
AUX dbus-glib-0.100-dbus-glib-sections.txt 5087 SHA256 894c0ad9d9b6ed4c2d2ea51cd14d36a82a61009e24c3c5fb17b3262f7a514b84 SHA512 01be4ec1c6753fe2b4e6ed50fe66ef5ea2cb6d2ae2fbf2606e75ab7bdb36f33ec8322e2f5aae2ff52784e629f89f941eaea06609144aa51934c395b7554f6368 WHIRLPOOL a085eb66dbbbfadb991d297b780c9c1bae00d18602dada4bf79158b284d10f08cf139c028e9859dba66b2bf51d8a74228aefd10421118ee3a3a4933be123c6d1
|
||||
AUX dbus-glib-0.100-fix-tests.patch 1591 SHA256 6cbc8cb71aa702e4a12e52582bb1df9737c3c1f6f0f58177e3097a20ba690e2a SHA512 8e60d56d3db1f063d949abef914791ad6aaa5a1f22f3fed5cd0dc097e5b400ad7299cdae6dc42d8382a04d359c1b1e5f4b34e714ab123c42cbd7691ddd87e89a WHIRLPOOL e62753ec9b4a17fbe88283c7dd9886262375c4f0bee424a2732b673246ebc163bee72ed0cb73711dc49f5fc00c9c7e5159512e3640ca3d0cc5a80f6bb6eb94d2
|
||||
AUX dbus-glib-0.98-glib-2.31.patch 625 SHA256 a987b9411ceee6f52e1f0be64051c57c6819f0acd7c54cca6bf54df5e562dec3 SHA512 ba12dd3abb08adbb77281286e983a1ff53f0696ddb986707709b9ee06fbef0e5e9b5ce9ef33f9cc48998c81112cc78d0476504a0e827aec0adc612984911edb3 WHIRLPOOL 62f26424487befa5947d087ea4a8513f3768f61ff9a5be84bfe0eb58bbb736202b5f8421161602a8c2c3d81c456239280276936305a5ea09391202a7c399ac70
|
||||
DIST dbus-glib-0.100.1.tar.gz 730741 SHA256 1f40d0dce4c6fa8998dbd2d915388d574ae962a20e7016fef4bed6c550767800 SHA512 6ab716335910083f5b0f74c309ea1d6cb650686d5e13b045a50ad3b3e3cd04a019d60b7079ae265f01b049c660c93cd30ba0f15b1db038cf225dc48858ad6b40 WHIRLPOOL 49bba85d7e72f39b922334e75c98521906f1b8efbd84ed013f89e48619d966f0260b09cf73f3c0a7ff793948af464ec7c9a0f8fa3fc031bde83f3470c1937743
|
||||
DIST dbus-glib-0.100.2.tar.gz 748836 SHA256 a5bb42da921f51c28161e0e54a5a8241d94a1c0499a14007150e9ce743da6ac5 SHA512 f7bbbeac189a724b7f95dce42e8adaf533a1d1c038521990d0eb2cb41c3f088a93d432c257a75dcce31419a55020455084d983b9471ace385c497f659a39ef59 WHIRLPOOL f5c23dab0e78fada494c3bf55c7db62bc2993789ad89a26507d499dc654d2ced22522909f191029f796bee181c4d587dad86fd72d727085add759602c3a8a90f
|
||||
DIST dbus-glib-0.100.tar.gz 730875 SHA256 80ddf7584a659590103817798dd95d7e451d666f385e5e95a83abf85c46d4605 SHA512 b1b9687ba0ce60393cd5b7b71804669a95f22b1c659d4bf02cc67c3e85302732b954009e24987c6ce3694eb31eebcc439e1d8222a3d4bd8631106e4015a35228 WHIRLPOOL b1057c92971f9a97ba3dfcc122864341c0afd1b2d0bec089a6202f196eafba9c56e49eb008100ea28ebd3c5a727ccfacc835bbb06a0d84aa4ede6b54e38a8f91
|
||||
EBUILD dbus-glib-0.100-r1.ebuild 2246 SHA256 240bed693a06884ea9db3b3966e3a8a7618d04e9b2c59631f2d483835b90d65a SHA512 ba330b2ad50ca41bbbe4bf2c99eb75f3c2d4b559fa658c76d7427f6a1dabfb99196a607092c84bf037e0350de4579c9d733f6bd8274ccbd214178a46b6acea19 WHIRLPOOL 13b47517fc18286d73c84f0227f7ae38d8d1d63326eccd3838e28a2331976f9aa944279b52e0c62c97f64ba2669455ce789a03d558dace6cd1e9e780624650b0
|
||||
EBUILD dbus-glib-0.100-r2.ebuild 2355 SHA256 3d344edae52efc74b45f99f1838a6442f2c64d93635f4c51ec843ab09cebe222 SHA512 b0e3969d1afe005eb58c2a0b8ff6415e3a01705e2592a90c5a1d848356d529e1e34b8ed384e49e60f83eb900d394f04677753af245a65bb53ca429fe91251daa WHIRLPOOL 8573458f01648eef217a7fbb725db09f2a188b34e241af9cd477a2e7d75eeccd63bbebe31a7f6415052b7453d666bf750e8482e575eae8355ffd585474390d97
|
||||
EBUILD dbus-glib-0.100.1.ebuild 2368 SHA256 d2d7ee842f4d0a1c3ddd62fd9b1d9916ed7235d9ff285e5c4c948649d535aa33 SHA512 65b05dda91fe7440d5d028e50cd919425d052e7c9b504c90d621e280a3555a209a9f1cc5ee93af8c2861ba66b51870332ed18592b711c1ac534f1afb1ebfb3da WHIRLPOOL ccaf6cf08eb61f25e399580ef2e5f59046d14ffc7f7a424f6beaa07001d138c34aacc63e034ccd6c5dd82dc5e5b23e78c1ac0383ec744934f76b317dccd9946e
|
||||
EBUILD dbus-glib-0.100.2.ebuild 2360 SHA256 16b99fa0669235b959f5ec3ea2f725959917a43eaaa26baae8a3e5e3a3851cb5 SHA512 42c2ea91e48102f79b7cab3c249f2199bffb1578b3d505885870d1abf1ee5949528e7406626dcde39418bd8ace4ff3a1a1cd48a08f436cc49fa4c00b730b5f69 WHIRLPOOL 2fcbb4551fba6a7b38fc9ff1a9b73a76a258551df6ebc336b5eae681f0c4966b13b2d1cbfd0ed78c476c1d8006e2d3c3323d4997455149649de27b7f26f3ee2d
|
||||
EBUILD dbus-glib-0.100.ebuild 2085 SHA256 67fb56b3540ab7ac7e1179e59c443c2c43c191ccfb327ea7af0cacbe72510b60 SHA512 609336e352229ba297c9d8ec7492e3c3f4d7037754d06aa95d1f16834bc3dd0159f25d50632aa38279a810c18c16a8ed0ef49ec37547356d9b74aa1c17104fa3 WHIRLPOOL 775bd05478c24f55c17031cf5dcb2cccc0577d75edcd05e779e821459ea49fca5f815be37e0b5c518fa034324d89d5584a99822a03ffd301755014c40319774d
|
||||
MISC ChangeLog 17899 SHA256 8f39f7c42cc639b41d96dee0735260534cfe17cc474c7252dac24ceccf8db0ef SHA512 3805948d579b9419323fe22bbabd2134a7912b1ef0f1091bc4cd44bc4f027497ae3b08a75eb1eb3d4e60e92588cfdf0ea565754fd22af8c0e05b5d354d2d4f5c WHIRLPOOL f225e7587f0ac6321661092d043ff97c15f94be6af9dae990737f8da49285bbca18a7fcdaaa5fd27b0adc5d9059c5d5cafe653e530bb8fe0d0de9fc9183fac6c
|
||||
MISC ChangeLog 18119 SHA256 06443df96c5e300f2d677aa053c490a84bc86768d804afa383dd7af9c530fa7a SHA512 4a6c6a972234f799cc4ec242676121cf810326cb9c4238a8875d3ab0f3b380613b2a142a74a664470a03b7ed69f324368594af8852afabd45766769194a9339f WHIRLPOOL dada78df24b8ecd29f2abeeb153628f00693bf6a2d8d859f07f745d29071bb1bdbc703b55a3e256fa29d2d4244a79892f4e9c1ab18fc02185f91b1c8db354860
|
||||
MISC metadata.xml 244 SHA256 552982cb042dce6d0051aef928f3cca7553e6d7327e0556f97f9e6e52e651b6c SHA512 9f697206cf152d13b2a3e26645959ab3353a34e4158832139689359aad999114afb8ed80e2f82464674f358434a891d74f2e94079c2c57fc7a125d17e735ff71 WHIRLPOOL 47f92e411c189c765f6665e28402aa0411ebe898b306925cf395ed23085738120fb4075682d6c86f5818de5a3d70cfeca2fda163e3eb83764ba0b4d8dce1fb04
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCgAGBQJRNbZlAAoJELp701BxlEWfSqkP/3N2KRGhb1mlts7/fxqhH6A7
|
||||
ln+eDjfj4YGXgmuGT+EbUbkinYhcIlXf9FaSi7lP8hxGtAuye5tEQgOBKC/ViOiM
|
||||
a8gIyfjkyHuP4OUG/9yeSI0LZFBsffSK+QHKbEcTEJKv5ml0eVazmC7H3b4cZS2E
|
||||
FMbrezDQ9CRsMzgCOx0vRaAIAL6ZT4rc/AJGh2LACo1B4FFm668bWa+z3HkRxwA5
|
||||
2WEO0eRTrS//JxFAfSoB1LaNlOVVXN5wvS6SwND009ULxOBxLSSxkURIgHVSA70x
|
||||
L7AxbsKlgFaK/srcZSfdt20KathyizlYWoVrFLKrH1OiuSeJyLSdFBXDasGjPNlW
|
||||
iwHb68/Rq90Kn1vCh4sQV6qguY/WPUv7kH/IF8D3Nv+WsVls6elpZFTjR93/skbC
|
||||
VTH8/VwKY7DYbzTFDtF3Jl7LBuCsl5QIffJBg51pTOOSvq8piNjEwSOZ7HZmiMnL
|
||||
/jjkMAJ4p3o4lgLMmAl9H1wwoFl20SFrdwl7uCw/bSFTPaHM2bZ5KY9My9JpvRCz
|
||||
S6qAi+kZkh7s5Vp6i60yUrtUH52HZtAn3hoFFtQVjgvuNC0ipnkJXLw1N2YNbhny
|
||||
gVZqGoa4lkdu5u4+MgIWfehMMu98+dnFC+PCT9/igUOSAVzTN+VbFA5XTc+8/FNl
|
||||
vIExuEuA2pi4/ahzzrM4
|
||||
=/3WU
|
||||
iQEcBAEBCAAGBQJRkOgaAAoJEEdUh39IaPFNbrMH/1My55oIRyvAvaBizBZaG1z0
|
||||
ZjUsRIR0eMfLtEki4C6N7L7z22oDl2NEXI40b9j1kOhNjP45kNjq/Y+r6HRnLvNY
|
||||
1Evs7ldNFlHNH5iBuQdbV/gxaGERPr6VVOOdK96N/LcY0cz7T4r2dn2K6Pi29GaH
|
||||
pOinsY4JO3q3iNYr9UGtin2Iud5HxdjUkmJMtN3r3Veupneo+S1uXtHMJCDzoXM8
|
||||
T5hFR1h2m5NIlsmFZfvSBI80DoZfbtDbm7vbRqQsT6dI7UNVczqHWt+Bkk/m4ALH
|
||||
dkSBKqn8Wzq1LQl+w3DCAyTA4Y/iAs/1KB/L5sPJOx3wwiNVFx3GzTiZZX1JgV0=
|
||||
=xPhe
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,90 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/dbus-glib-0.100-r1.ebuild,v 1.2 2012/10/14 05:04:03 mattst88 Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit bash-completion-r1 eutils
|
||||
|
||||
DESCRIPTION="D-Bus bindings for glib"
|
||||
HOMEPAGE="http://dbus.freedesktop.org/"
|
||||
SRC_URI="http://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 AFL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="debug doc static-libs test"
|
||||
|
||||
RDEPEND=">=dev-libs/expat-2
|
||||
>=dev-libs/glib-2.26
|
||||
>=sys-apps/dbus-1.6.2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( dev-util/gtk-doc )"
|
||||
|
||||
# out of sources build directory
|
||||
BD=${WORKDIR}/${P}-build
|
||||
# out of sources build dir for make check
|
||||
TBD=${WORKDIR}/${P}-tests-build
|
||||
|
||||
src_prepare() {
|
||||
# Wrong sections.txt file in the tarball; https://bugs.freedesktop.org/show_bug.cgi?id=55830
|
||||
cp "${FILESDIR}/${P}-dbus-glib-sections.txt" doc/reference/dbus-glib-sections.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--localstatedir="${EPREFIX}"/var
|
||||
--enable-bash-completion
|
||||
$(use_enable debug verbose-mode)
|
||||
$(use_enable debug asserts)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable doc gtk-doc)
|
||||
)
|
||||
|
||||
mkdir "${BD}"
|
||||
cd "${BD}"
|
||||
einfo "Running configure in ${BD}"
|
||||
ECONF_SOURCE="${S}" econf "${myconf[@]}"
|
||||
|
||||
if use test; then
|
||||
mkdir "${TBD}"
|
||||
cd "${TBD}"
|
||||
einfo "Running configure in ${TBD}"
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
"${myconf[@]}" \
|
||||
$(use_enable test checks) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable test asserts) \
|
||||
$(use_with test test-socket-dir "${T}"/dbus-test-socket)
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${BD}"
|
||||
einfo "Running make in ${BD}"
|
||||
emake
|
||||
|
||||
if use test; then
|
||||
cd "${TBD}"
|
||||
einfo "Running make in ${TBD}"
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${TBD}"
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# NEWS file is obsolete
|
||||
dodoc AUTHORS ChangeLog HACKING README
|
||||
|
||||
cd "${BD}"
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
newbashcomp "${ED}"/etc/bash_completion.d/dbus-bash-completion.sh dbus
|
||||
rm -rf "${ED}"/etc/bash_completion.d || die
|
||||
|
||||
prune_libtool_files
|
||||
}
|
@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/dbus-glib-0.100-r2.ebuild,v 1.11 2013/02/21 19:27:57 zmedico Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit bash-completion-r1 eutils
|
||||
|
||||
DESCRIPTION="D-Bus bindings for glib"
|
||||
HOMEPAGE="http://dbus.freedesktop.org/"
|
||||
SRC_URI="http://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 AFL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="debug doc static-libs test"
|
||||
|
||||
RDEPEND=">=dev-libs/expat-2
|
||||
>=dev-libs/glib-2.26
|
||||
>=sys-apps/dbus-1.6.2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( >=dev-util/gtk-doc-1.4 )"
|
||||
|
||||
# out of sources build directory
|
||||
BD=${WORKDIR}/${P}-build
|
||||
# out of sources build dir for make check
|
||||
TBD=${WORKDIR}/${P}-tests-build
|
||||
|
||||
src_prepare() {
|
||||
# Fix testsuite, bug #356699 (in next release)
|
||||
epatch "${FILESDIR}"/${PN}-0.100-fix-tests.patch
|
||||
|
||||
# Wrong sections.txt file in the tarball; https://bugs.freedesktop.org/show_bug.cgi?id=55830
|
||||
cp "${FILESDIR}"/${P}-dbus-glib-sections.txt doc/reference/dbus-glib-sections.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--localstatedir="${EPREFIX}"/var
|
||||
--enable-bash-completion
|
||||
$(use_enable debug verbose-mode)
|
||||
$(use_enable debug asserts)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable doc gtk-doc)
|
||||
)
|
||||
|
||||
mkdir "${BD}"
|
||||
cd "${BD}"
|
||||
einfo "Running configure in ${BD}"
|
||||
ECONF_SOURCE="${S}" econf "${myconf[@]}"
|
||||
|
||||
if use test; then
|
||||
mkdir "${TBD}"
|
||||
cd "${TBD}"
|
||||
einfo "Running configure in ${TBD}"
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
"${myconf[@]}" \
|
||||
$(use_enable test checks) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable test asserts) \
|
||||
$(use_with test test-socket-dir "${T}"/dbus-test-socket)
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${BD}"
|
||||
einfo "Running make in ${BD}"
|
||||
emake
|
||||
|
||||
if use test; then
|
||||
cd "${TBD}"
|
||||
einfo "Running make in ${TBD}"
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${TBD}"
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# NEWS file is obsolete
|
||||
dodoc AUTHORS ChangeLog HACKING README
|
||||
|
||||
cd "${BD}"
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
newbashcomp "${ED}"/etc/bash_completion.d/dbus-bash-completion.sh dbus
|
||||
rm -rf "${ED}"/etc/bash_completion.d || die
|
||||
|
||||
prune_libtool_files
|
||||
}
|
@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/dbus-glib-0.100.1.ebuild,v 1.4 2013/02/27 13:45:29 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit bash-completion-r1 eutils
|
||||
|
||||
DESCRIPTION="D-Bus bindings for glib"
|
||||
HOMEPAGE="http://dbus.freedesktop.org/"
|
||||
SRC_URI="http://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 AFL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="debug doc static-libs test"
|
||||
|
||||
RDEPEND=">=dev-libs/expat-2
|
||||
>=dev-libs/glib-2.26:2
|
||||
>=sys-apps/dbus-1.6.2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( >=dev-util/gtk-doc-1.4 )"
|
||||
|
||||
# out of sources build directory
|
||||
BD=${WORKDIR}/${P}-build
|
||||
# out of sources build dir for make check
|
||||
TBD=${WORKDIR}/${P}-tests-build
|
||||
|
||||
src_prepare() {
|
||||
# Fix testsuite, bug #356699 (fixed in git master)
|
||||
epatch "${FILESDIR}"/${PN}-0.100-fix-tests.patch
|
||||
|
||||
# Wrong sections.txt file in the tarball; https://bugs.freedesktop.org/show_bug.cgi?id=55830
|
||||
cp "${FILESDIR}"/${PN}-0.100-dbus-glib-sections.txt doc/reference/dbus-glib-sections.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--localstatedir="${EPREFIX}"/var
|
||||
--enable-bash-completion
|
||||
$(use_enable debug verbose-mode)
|
||||
$(use_enable debug asserts)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable doc gtk-doc)
|
||||
)
|
||||
|
||||
mkdir "${BD}"
|
||||
cd "${BD}"
|
||||
einfo "Running configure in ${BD}"
|
||||
ECONF_SOURCE="${S}" econf "${myconf[@]}"
|
||||
|
||||
if use test; then
|
||||
mkdir "${TBD}"
|
||||
cd "${TBD}"
|
||||
einfo "Running configure in ${TBD}"
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
"${myconf[@]}" \
|
||||
$(use_enable test checks) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable test asserts) \
|
||||
$(use_with test test-socket-dir "${T}"/dbus-test-socket)
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${BD}"
|
||||
einfo "Running make in ${BD}"
|
||||
emake
|
||||
|
||||
if use test; then
|
||||
cd "${TBD}"
|
||||
einfo "Running make in ${TBD}"
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${TBD}"
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# NEWS file is obsolete
|
||||
dodoc AUTHORS ChangeLog HACKING README
|
||||
|
||||
cd "${BD}"
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
newbashcomp "${ED}"/etc/bash_completion.d/dbus-bash-completion.sh dbus
|
||||
rm -rf "${ED}"/etc/bash_completion.d || die
|
||||
|
||||
prune_libtool_files
|
||||
}
|
@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/dbus-glib-0.100.ebuild,v 1.6 2012/10/14 14:58:21 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit bash-completion-r1 eutils
|
||||
|
||||
DESCRIPTION="D-Bus bindings for glib"
|
||||
HOMEPAGE="http://dbus.freedesktop.org/"
|
||||
SRC_URI="http://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 AFL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="debug doc static-libs test"
|
||||
|
||||
RDEPEND=">=dev-libs/expat-2
|
||||
>=dev-libs/glib-2.26
|
||||
>=sys-apps/dbus-1.6.2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( dev-util/gtk-doc )"
|
||||
|
||||
# out of sources build directory
|
||||
BD=${WORKDIR}/${P}-build
|
||||
# out of sources build dir for make check
|
||||
TBD=${WORKDIR}/${P}-tests-build
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--localstatedir="${EPREFIX}"/var
|
||||
--enable-bash-completion
|
||||
$(use_enable debug verbose-mode)
|
||||
$(use_enable debug asserts)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable doc gtk-doc)
|
||||
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html
|
||||
)
|
||||
|
||||
mkdir "${BD}"
|
||||
cd "${BD}"
|
||||
einfo "Running configure in ${BD}"
|
||||
ECONF_SOURCE="${S}" econf "${myconf[@]}"
|
||||
|
||||
if use test; then
|
||||
mkdir "${TBD}"
|
||||
cd "${TBD}"
|
||||
einfo "Running configure in ${TBD}"
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
"${myconf[@]}" \
|
||||
$(use_enable test checks) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable test asserts) \
|
||||
$(use_with test test-socket-dir "${T}"/dbus-test-socket)
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${BD}"
|
||||
einfo "Running make in ${BD}"
|
||||
emake
|
||||
|
||||
if use test; then
|
||||
cd "${TBD}"
|
||||
einfo "Running make in ${TBD}"
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${TBD}"
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# NEWS file is obsolete
|
||||
dodoc AUTHORS ChangeLog HACKING README
|
||||
|
||||
cd "${BD}"
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
newbashcomp "${ED}"/etc/bash_completion.d/dbus-bash-completion.sh dbus
|
||||
rm -rf "${ED}"/etc/bash_completion.d || die
|
||||
|
||||
prune_libtool_files
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
From 51222609f1af2eda0c223881dda3985435c3ad3f Mon Sep 17 00:00:00 2001
|
||||
From: Colin Walters <walters@verbum.org>
|
||||
Date: Sun, 08 Jan 2012 16:29:33 +0000
|
||||
Subject: test-service-glib: Fix build with GLib 2.30
|
||||
|
||||
Only <glib.h> can be included directly.
|
||||
---
|
||||
diff --git a/test/core/test-service-glib.c b/test/core/test-service-glib.c
|
||||
index 3355890..0568e40 100644
|
||||
--- a/test/core/test-service-glib.c
|
||||
+++ b/test/core/test-service-glib.c
|
||||
@@ -11,7 +11,6 @@
|
||||
#include <string.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <glib-object.h>
|
||||
-#include <glib/gquark.h>
|
||||
|
||||
#include "my-object.h"
|
||||
#include "my-object-subclass.h"
|
||||
--
|
||||
cgit v0.9.0.2-2-gbebe
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgweather/libgweather-3.8.2.ebuild,v 1.1 2013/05/13 20:48:14 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Library to access weather information from online services"
|
||||
HOMEPAGE="https://live.gnome.org/LibGWeather"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="2/3-3" # subslot = 3-(libgweather-3 soname suffix)
|
||||
IUSE="+introspection"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
|
||||
# libsoup-gnome is to be used because libsoup[gnome] might not
|
||||
# get libsoup-gnome installed by the time ${P} is built
|
||||
COMMON_DEPEND="
|
||||
>=x11-libs/gtk+-2.90.0:3[introspection?]
|
||||
>=dev-libs/glib-2.35.1:2
|
||||
|| ( >=net-libs/libsoup-2.42:2.4 >=net-libs/libsoup-gnome-2.34:2.4 )
|
||||
>=dev-libs/libxml2-2.6.0
|
||||
>=sys-libs/timezone-data-2010k
|
||||
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<gnome-base/gnome-applets-2.22.0
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-util/gtk-doc-am-1.9
|
||||
>=dev-util/intltool-0.50
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS"
|
||||
# Do not add --disable-all-translations-in-one-xml : it will enable them
|
||||
gnome2_src_configure \
|
||||
--enable-locations-compression \
|
||||
--disable-static \
|
||||
$(use_enable introspection)
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Lab-Measurement/Lab-Measurement-3.11.ebuild,v 1.1 2013/05/13 19:50:58 dilfridge Exp $
|
||||
|
||||
if [[ "${PV}" != "9999" ]]; then
|
||||
MODULE_AUTHOR="AKHUETTEL"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
inherit perl-module
|
||||
else
|
||||
EGIT_REPO_URI="git://gitorious.org/lab-measurement/lab.git"
|
||||
EGIT_BRANCH="master"
|
||||
EGIT_SOURCEDIR=${S}
|
||||
KEYWORDS=""
|
||||
S=${WORKDIR}/${P}/Measurement
|
||||
inherit perl-module git-2
|
||||
fi
|
||||
|
||||
DESCRIPTION="Measurement control and automation with Perl"
|
||||
HOMEPAGE="http://www.labmeasurement.de/"
|
||||
|
||||
# this is perl's license, whatever it means
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/perl
|
||||
dev-perl/Clone
|
||||
dev-perl/Exception-Class
|
||||
dev-perl/TermReadKey
|
||||
dev-perl/TeX-Encode
|
||||
dev-perl/XML-Generator
|
||||
dev-perl/XML-DOM
|
||||
dev-perl/XML-Twig
|
||||
dev-perl/encoding-warnings
|
||||
perl-core/Switch
|
||||
sci-visualization/gnuplot
|
||||
virtual/perl-Data-Dumper
|
||||
virtual/perl-Encode
|
||||
virtual/perl-Switch
|
||||
virtual/perl-Time-HiRes
|
||||
!dev-perl/Lab-Instrument
|
||||
!dev-perl/Lab-Tools
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
virtual/perl-Module-Build
|
||||
"
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You may want to install one or more backend driver modules. Supported are"
|
||||
elog " sci-libs/linuxgpib Open-source GPIB hardware driver"
|
||||
elog " dev-perl/Lab-VISA Bindings for the NI proprietary VISA driver"
|
||||
elog " stack (dilfridge overlay)"
|
||||
}
|
@ -1,10 +1,30 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX autopep8-0.5.2-issue-10.patch 837 SHA256 ec7a48d8163113d0b034c388d12ced60299019b7502d9d4a8561bfbc7ff54908 SHA512 9a30714208645bd4697d5403850f6fec2ca6b5169b406a1c22aa8565f75036190bb6d15e6d19c77540f1b3319c0ec4967646a1c1af3ca34039bc34cca6537b76 WHIRLPOOL 8f3144639993b1525d7f36417d2e87e82fe97a21d420431670840d4521da0ba760b2d491e69f0f83c9aff07fa711fb9b67c53fb1e0d7bc2cdc87b01f2cf47dff
|
||||
DIST autopep8-0.5.2.tar.gz 10049 SHA256 a9a808bac49605036bdeaa4bf5b50a9bbf87088a54b9a2e54e18c85abcecb70f SHA512 9d27a9b2c7cf90a7ea420732ac13675c6bc93435d9d9dc4e437e3e2e121d4b2931b995da77d751e2dbcf4c2c5379fda6c4c3c0f6cc222b461d4daa95e9ec2564 WHIRLPOOL 5b4f6ca08695da516f6579399de1decb3a1be6b2520a636812f1b68cb6ee7e05cb546fe7537513deb3f9a3f914808ffeaa956d1daa2c4e0bcf14f22071e9e7c8
|
||||
DIST autopep8-0.8.6.tar.gz 48048 SHA256 ee3ffd6b6f4484a06aeb8b47c148b74eb7b51d3ca4003c163b4e522bd555c2d6 SHA512 0430bc2c0427816945c0e433736fd4d5515b7842391c7e1dc5680cf3a4752c60d4d37d4331a60c8808f09ed02c3753e851894f86040968af9506ed0d0cef74e4 WHIRLPOOL 2c3d976fb32fe6e0129a2416ff51563e9d007314dfa0ee3d9819df8df4e934ca9a02bbc48d114b1d6374e53851e4fdf54e10f22cc6e4336d1e249dc22e812878
|
||||
DIST autopep8-0.8.7.tar.gz 48884 SHA256 8742d3e5fe19a7926af248bf43016d41600e64e71d15af5158f8cf0e1099263f SHA512 aaa02a6ca93586b2493f915dc145c835214a22470f7fe6c93d21ae6e6c1f56b001f3ae2089fad629099bbf8752c167ca6271ac75d25511458f9d8eb4c6409d8a WHIRLPOOL e16f35cb4dec502103f651893a7ee0c340a595a578da52f08763c8ac6d29842f25b7d18c4cb6387b329d79a3ba51fdeca9015da5f80c9ab72de852c40145e52e
|
||||
DIST autopep8-0.9.tar.gz 52472 SHA256 7494f4a63184dde8313dd2e7e215e4a4053ba874cfa2bb2bc74355d091c88950 SHA512 4a48f87dad75066b962d1421efb8e9158ade3fa72766b4b06c63c4a7c870747ce84f4b3b26c2e6e164fa0e96b420dd2523e7f9f047af475e3ca4bbdb92094b58 WHIRLPOOL de07d19c884135e22d534b571903f84a7fbb8f5d392e9c7b155bac4e224bfaae9d01aae26f897032fc7545b0b79595aea81fcd68945f82950a8bbe7b40bb9246
|
||||
EBUILD autopep8-0.5.2-r1.ebuild 915 SHA256 5403942b748a78ec6c9dece2168ed921930073fa174df92a93fd0f1a931464a0 SHA512 7cdf39b60704c44d4231e15b1d47b1fbed03470601462faa6280c8469fe76508e166776ab4ef3b1ecce2b2053f3b68eaf3058c42d087d66d22132c0214030bdc WHIRLPOOL f1d8663eaeb6312a382115fba3b1690a61db6c030c9a97509b13cbeef59c469f470e16357c52abacf10d0eac56b59ed342895b80c287fa3756c1358cd20094eb
|
||||
EBUILD autopep8-0.8.6-r1.ebuild 1192 SHA256 fde3e2db149f8734a9e4e37413f9bafb34f5fe7756e50bd0f49b0fe726963a2d SHA512 9b258d834f48493816f2deee55a8258b63886f7b5d153266b165c880c5a909408129c5797c7dca8fbf13e5d98108473bf991ab56d62cfa4cdde783e3ba4929df WHIRLPOOL 91c1267dc658cc3f4b2de04f43f8ce209d84733cec73a64b8ce4615f3d3ad62a523224ef20fef0e1877b305a0ce5aa36b7cea0212b0b5b1372b2cc5d773b62f7
|
||||
EBUILD autopep8-0.8.7.ebuild 1186 SHA256 657503b95307c569f3a27e10647531110a6d6f440183fe2cfb2d1392ade0dd20 SHA512 50375e6c0e8ea73a3b3fe7d89549d24eaffef5743917de52f53d5d4569c20d2e5310fd27ded357c81c310846b2c4ef7ddfb39ad50ca429f824b6842810024054 WHIRLPOOL 396c5a170570d250f108fe2adac893a0ee687388f165df5b3255be78fdf75a0e00018fd5fec30a2e94853de5affefcaa05553137de21c1e6092cc84b5bb56bbc
|
||||
EBUILD autopep8-9999.ebuild 1027 SHA256 ac319ccddf48cf4f03d2d0dd9cd92dd557654eaa541f97979c522eba915ef92a SHA512 6a2b2fd4c72f68c2e6de2cab76a6eb86b60c2f3c65d5d61686fe9a1beef4edcdbb87080f46a57c977901693cf1ab995ca8f711103d783d1cfb8ee7c2eb097d0b WHIRLPOOL 7f92ce4b9464b3bfe26a4ae7514f2e2b07b9bb6ed17248fcd528726b52e6a2a75b1d3cd5c2905289afb694c9e95f7fffc68d5d28f20d6e32a5e3f18618f1ea94
|
||||
MISC ChangeLog 5006 SHA256 59e88932bbc2b227a1ad8c9722b1b390f46db45c912eb46872a46ba9217905e9 SHA512 f0c0bbaa630a95a0a1b317e52e2f908d485c54903a90265e343c299c48ddab61f8d9fbcd9c586271a0a069bc2956de6eafa1c0bf408563d0eab02cc50ef1d96e WHIRLPOOL a48f38b9f4b2565a5f14a2cdffc1e9e620389a072da990f629407d2f0360a2eedb1f65a7bfac8123fdd2281d61c0091603a4c1fae873593fc8b67a067549ba96
|
||||
EBUILD autopep8-0.9.ebuild 1204 SHA256 7c42af5e4e4b2643189d8a8f1f6d08c09cee5493d1f0dc11359348ae272816d6 SHA512 d87ab9f11de16f8f94e4607212b952e7d1a5d89e34796541f4dbaabe48c446e970be01b61f5dc643560c1a1cc99d0a70b0032f7e3478582a1e3a20a97561cf9b WHIRLPOOL cb450a9ac7897621dd29a51a3c32576ddb90cfdeec56d1b8bccae266167e908efc98708bfc9a3722e8b7a775fb1fe90d13c8a7e8ae37271d9477cb696084bc07
|
||||
EBUILD autopep8-9999.ebuild 747 SHA256 04732a134b348999f71367804f01cceb31ad85d821198985c895bf899a58914a SHA512 cfb8dd9ab0f6f4992fdeac9d4f1bb87481869e7b14b94c80043d9169b2938e7a57732e2a1036efd887769ca95b67f31c806c63e66269fcdde2a3ecd3c89acfdc WHIRLPOOL b67602067e20c6f6bf7e05e83e0c4952b18f9ce4bc3a2d2da92c647a9fe59fd67e9580c4ffb1def6570f73e47155c3563899907e548ceb201d7e3613766260e4
|
||||
MISC ChangeLog 5191 SHA256 2f864bbf72bc7e575334e906c28ed3b1f2d55cdc67405e02448d1450e201f472 SHA512 ee5f914ea2ad7860ac642adc8aa84e7ff1810c98e2b212e87de9124e0a07f7537550d6ae132cd2b243aeae9f12186d6e9c9a3b63b531b7768f1b40a60bcba7d3 WHIRLPOOL ae25063f70a93c451b3fc30c335639ea57e000b984af7e5f37b5f5b3c6aa2b72395ce1881300dc567c70ae4bf6045ddb445e1ae566b7edc6a5f8f78fa0db059a
|
||||
MISC metadata.xml 530 SHA256 a2f56d83d1c4bdf0768bb33384e0e75d633daf05eecf8f6f2e9bac8fa51345b2 SHA512 9c477975be3c9f8f6ce59b1b37406b2606b598bdbdd16ad4e3afaa8d5adc696047cf8001344afe209f8cea389a29dad7d62832dde6ec9a552568c33c202522e8 WHIRLPOOL e4263d8dbb41d74fd0a01de118a594002120d36ee9abb2b1ea183145dabd28845f9da74e5c11e1cfa66c4bd2c957fe9fdda2f0cce00c42604f15d08a6b93ea1f
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJRkTHeAAoJEF0huFKJUZL5FIMP/jHKceZLdxr3zAT7Y35+x6YM
|
||||
zjwrbZV1ptJTO9Pu4zyfp7zYhygBxACSWafTa+L0lTJH9fwTuwAh4dPoWhZulBdD
|
||||
DDsl4OMIsqnALCeBW6HOCCRYZtfJRWdeNYMseX3CUsL2zw8Gmhjn7weYKN1/5eOW
|
||||
v94vIepCC26ddSKPWgWXK9b2pvIOOySgUeY+VOR8QeAM4u0jd3HbJf2ddUfc1v5y
|
||||
VjJnr9lavplO1Lc9ZPG2URA8mUVPgmW4luBbFPiVocosaIjsVMvtHw0eZ3phQoN1
|
||||
Wh7jvgdJSqtrn9/YIfBh5AnmOtYG2kbROa38zgbdYJ4rWIJM39yky0kfEhNPa1sP
|
||||
+gpgUToocwYnT6PDHcBHTVbGec18b9Eq5DSYlqVLkvJRFlZ97dL5SO5PdYhAF+ku
|
||||
G6eufyeto4bbRHKoNO04xjsfyHa2JPyAGPdCdiHsL0CEFKvn5i5Tww5aLSzDRr+g
|
||||
zyYO2bCmPh/ca4THwTQw6yofXwsWSkJ8UHdRM3zlQIvKDXsQWCj37Dq6i2WN9z+s
|
||||
LKl7wkL1WDtMudLyr/xkGol1R6sOoCjosizzKIf4NecyUnqjFan9nyUOmUpQg2rp
|
||||
hwHAW5zvmZOnjOEEGYtbVUqZxPxHsCXE2W4ZkNg+yvP6IkIi10723qz0HQruohMS
|
||||
cAHUbA5KSu8a3kuBSYU5
|
||||
=FZwe
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,43 +1,26 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/autopep8-9999.ebuild,v 1.5 2012/06/16 14:07:32 sping Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/autopep8-9999.ebuild,v 1.6 2013/05/13 18:32:56 xarthisius Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} )
|
||||
|
||||
PYTHON_DEPEND="*:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.5-cpython"
|
||||
|
||||
if [ "${PV%9999}" != "${PV}" ] ; then
|
||||
SCM=git-2
|
||||
EGIT_REPO_URI="git://github.com/hhatto/${PN}.git"
|
||||
fi
|
||||
|
||||
inherit distutils ${SCM}
|
||||
inherit distutils-r1 git-2
|
||||
|
||||
DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide"
|
||||
HOMEPAGE="https://github.com/hhatto/autopep8 http://pypi.python.org/pypi/autopep8"
|
||||
if [ "${PV%9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="git://github.com/hhatto/${PN}.git"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/pep8-1.3
|
||||
dev-python/setuptools"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PYTHON_MODNAME="${PN}.py"
|
||||
DEPEND=">=dev-python/pep8-1.4.5[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/test_${PN}.py
|
||||
}
|
||||
python_execute_function testing
|
||||
python_test() {
|
||||
"${PYTHON}" setup.py test || die
|
||||
}
|
||||
|
@ -1,29 +1,15 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
Hash: SHA256
|
||||
|
||||
AUX dulwich-0.8.0-darwin.patch 869 SHA256 9d255f480852d56486d9f5f939c77e623bb7e8af661553571e99bc0477720cb7 SHA512 14c40d4a87383a0570370cae219f25f0fdf182944ff1011f6cdf90d90a949d4c925ca62a24f26e5838a0d1146b51a60057e1e13f89e8c4bdf69265104576e981 WHIRLPOOL 0d87bf9117e59a2b757434f6f576f4fb64da9ea8bac6347bfa2bac3bed8468a84f505f7aae2789bc90bcdaccbf759147e186aa179c10da4107e43f3d630d0577
|
||||
DIST dulwich-0.8.5.tar.gz 203727 SHA256 546d2840199500dc270da5bda456df68de4d1733f8b184bf425c5e560f988b6a SHA512 9914b711dc0f699097a65cb4fe137d1b4e0ae9b3c0e1bb75791e891fa0f9a6bd25433523c5d7a70c65697b1e6c12d79bc82a8da3104f513198924fd32373defb WHIRLPOOL 0eb443c9ba6be4f6b6465f49363de0aaa42362ca159287f990e6310ef168c33bcf7adaf3098ce089f0df25c5debb5a82b2611383187870fc4ba570af76472a3c
|
||||
DIST dulwich-0.8.6.tar.gz 208467 SHA256 fd7337656ac304e295771b9fa655e7f417015ad6d071553bc3e5ba876efc35c7 SHA512 fc49dbd468ee67bd8589db246445a4ab636c3c4ba522b50653f69446395b9273279b65691076924572d3615f4cacbfb9e37d2a6c51fdc8dac5aaff52ea209887 WHIRLPOOL 7dac9aa728e27fbff254649d22f1389acac2923fe491354d3df3d3e553a0517d3db0787634ae29d41910f6e69231a96ed0dbc6221b7780e570d00613827392fa
|
||||
DIST dulwich-0.8.7.tar.gz 208639 SHA256 7ba336d0100b90baf843b20d71fedc8a92e36de41c1acdebe4cba12e76b93810 SHA512 0ce47c8c9d9cd386c42d6b1f20e7101810b13efca8902f29b67150ebd2f936768b4db81c35a750624850db72f220eaa224100c534624c2f50f722f5334ba9788 WHIRLPOOL f7afa22cc0f29076954026e2d425df3cb1d7dbfd99f4b32f70e720d42a8c2157b8a7c1379e4fe5a9ded2aa5146c1420426004ad70498dbdbc15ba3f24db7094c
|
||||
EBUILD dulwich-0.8.5.ebuild 1410 SHA256 5dd4b69157744ad3638d4cbdd9672e9f46a80fcaba8e3434101f7e7fb6f28c6b SHA512 8a68bdb38be589e0889b5eb05a5d1414e4f8b0d7c845aad4065a4f890fb4f085180984bc0453b6b0e833c65890e68927989bf9291d4489dfb6c98e9ae15ebfda WHIRLPOOL 10a3b1cd4575ca31b5d26067db7b3397b1342137fd1d835f9f25e4b194705dd5f9b688276d0324458ef4a0ad1f719e4bb47a3a9ece8e7b13f5652a4828929799
|
||||
EBUILD dulwich-0.8.6.ebuild 1412 SHA256 14dbe5175c27ce656b413ffaab9b286697eeae9830cd43f8bb06eaeace486ec7 SHA512 21ea0f7b21264d8661f1e8d84980bf6e0aa6dc83989281b44c1ad565f0411fb807a14d932e226085e340aa678a9a34bef8009a449a0ace6a7bbaf0dc4ae99849 WHIRLPOOL cc2476517c4b01e9e0f381e690e0cda38a5c11f214c349c9bb5abc2aea3bd1a57b53a4e4b48c784bc3de6f87347cc4021ad3e777e3e7c070fd723bb3f5251e32
|
||||
EBUILD dulwich-0.8.7.ebuild 1407 SHA256 a585f639162d36786ca40026cdbb6866569d0fd697ef3562ab632f22ba6f72ed SHA512 2a10385567a31a884431774010f46a8c334c085e1b5acff4f88320c67e02d90118f8da9fee6c324ce3671fe25155d902dd8078d177cf450599c20101072f719e WHIRLPOOL f352e821292798636a634d539766cf354f6876b835f560e618e65973037d8f5b416dec43c8143254c58676e7d96e046dc192ba1a88b4bc063bcfa07b80ee06e2
|
||||
MISC ChangeLog 7311 SHA256 cef7e73200acc700960445fac8bfc8846ea120d5c4de6917106843c2c78e83fc SHA512 640defb2484bd900814b67def0d87acfabecced4c9ddb7be075b6aed48191692efea8ee85cf2e5bac915f4722921d4910ef0650ece0c139ab842ff2972b8d15b WHIRLPOOL c2424929e55dc92ebb65debaa2229056a61116acb713f9488c954ac159c3715fa51a7df3bc541238b6733820bc94f3ee884f73d762ecffe96914833061df0fa4
|
||||
MISC ChangeLog 7431 SHA256 ce4d05c262d358609e0a921cd1ffab13adcb36c7a30543e0310dd84907eaaaaf SHA512 5aeac1de22fe4ff585a67ecad0f1686aab4b023840103dd0e61c312a1e28482d04cdbd217513df026b060be741aa3cdf3e00f29fae3d11bcea1c966bec4d6c17 WHIRLPOOL 6ee3eae2dc8c0c73ec45e147f9abc19dd2daff084dead4ba12d94e4e2d34ffa79b66c1169e450643dc2c5735811d309f3e7d65505d3d2d30cdbe37426f87d55f
|
||||
MISC metadata.xml 360 SHA256 8ce45bf5319217c8027a2f8a0fe3b5814be8851264b969d1b232d446cf9770a7 SHA512 95a27bc5d7fd73d055cf6e42eba1d8f2ba04565908c0e7fa7ff13f9a8e30935cdf08c955c6739a21a0274f7a6be4cdbceaf260fdcd0b31a19ed8d9513bb8d4c9 WHIRLPOOL c229e0c47e9549ba4e97c3b8f4d8a11b69fb3d4002d165a712e7ed2b8550e2a73f729001a2fed789989b779a81b665a7f53dfc9f2e361f7ececfe94bb7c3e7b2
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCgAGBQJRUcS3AAoJELp701BxlEWfXaYQAJwRhhxACv7RFJbMAQtPiHHs
|
||||
Det0Umsn6gG1IQUaudTGppD8O5jPsaONbBx7Lk/zj4EYJgkFDOV99w7lOLyC3cow
|
||||
hcijsXwzLYchGn/LZT2P/ClD79vpHon9HCdSQaaXGbsXSmavgABP3fkgCp2sBe78
|
||||
X7z9IiSK9xWU3EjGRewxeGH5W+uPgoRqKmrfoX8gSBLD29rcgxpUTzFVm29giCgg
|
||||
RmLYzu3sOZDKSyyYTf+b3wqR0suGN2/ovi3G1ehf0f9zp6+wx76fFarewCa4WlKy
|
||||
XzbH5eQs2VMTVzk9sNQxTtBkliamOaMv3eJe0r44Mw7QLHn5b0EycexBPlaFwXoL
|
||||
y8N4zfpGsD+zaPi5+s51phjLRuL1JRJ9bzmSvK1qiU1St8oRKm8UjWK+KkmE4phb
|
||||
7kWegcrDZN2TmJKMqvRue3YNb7Pm+KSYgoys08QZ4xkZoG30etSnveSlgliHDXZs
|
||||
ZXEEKekeAvkXmg8aH+Q92vSOh3uZzVtcQOdZ/+pgia+Gj45Mr/f3tR1JVIx5HOrx
|
||||
TzpAMaAwqL5xqW8OoISjUCjn4xU2rZrKjSeeFI5J/pU/BErwcTQsDY/aOKxwLcqs
|
||||
usBqRj3flrHYW8ZGY9gAuZ+5tpriwtpvI8uZKfgB+MxhlsBpqSDfmuEMiTcgluvH
|
||||
F/y6GM4qM8XoYM0PYVBZ
|
||||
=Li2V
|
||||
iEYEAREIAAYFAlGQqQYACgkQxeMuLWsGW/sr0QCfbYZ0gKHFrXfYKDegBma8ISWX
|
||||
rzkAniMsyccAmQyfxwah7YOndIZES/9O
|
||||
=4kAw
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/dulwich-0.8.5.ebuild,v 1.5 2013/01/06 19:31:54 mgorny Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Dulwich is a pure-Python implementation of the Git file formats and protocols."
|
||||
HOMEPAGE="http://samba.org/~jelmer/dulwich/ http://pypi.python.org/pypi/dulwich"
|
||||
SRC_URI="http://samba.org/~jelmer/dulwich/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools
|
||||
test? ( virtual/python-unittest2 )"
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
sed -e "s/test_fetch_from_dulwich(/_&/" -i dulwich/tests/compat/server_utils.py
|
||||
}
|
||||
|
||||
distutils_src_test_pre_hook() {
|
||||
local module
|
||||
for module in _diff_tree _objects _pack; do
|
||||
ln -fs "../$(ls -d build-${PYTHON_ABI}/lib.*)/dulwich/${module}.so" "dulwich/${module}.so" || die "Symlinking dulwich/${module}.so failed with $(python_get_implementation_and_version)"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
delete_tests() {
|
||||
rm -fr "${ED}$(python_get_sitedir)/dulwich/tests"
|
||||
}
|
||||
python_execute_function -q delete_tests
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/dulwich-0.8.6.ebuild,v 1.2 2013/01/06 19:31:54 mgorny Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Dulwich is a pure-Python implementation of the Git file formats and protocols."
|
||||
HOMEPAGE="http://samba.org/~jelmer/dulwich/ http://pypi.python.org/pypi/dulwich"
|
||||
SRC_URI="http://samba.org/~jelmer/dulwich/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools
|
||||
test? ( virtual/python-unittest2 )"
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
sed -e "s/test_fetch_from_dulwich(/_&/" -i dulwich/tests/compat/server_utils.py
|
||||
}
|
||||
|
||||
distutils_src_test_pre_hook() {
|
||||
local module
|
||||
for module in _diff_tree _objects _pack; do
|
||||
ln -fs "../$(ls -d build-${PYTHON_ABI}/lib.*)/dulwich/${module}.so" "dulwich/${module}.so" || die "Symlinking dulwich/${module}.so failed with $(python_get_implementation_and_version)"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
delete_tests() {
|
||||
rm -fr "${ED}$(python_get_sitedir)/dulwich/tests"
|
||||
}
|
||||
python_execute_function -q delete_tests
|
||||
}
|
@ -1,5 +1,17 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX genshi-0.6-html_test.patch 2000 SHA256 76e1b2f5acc4c90c6f5c7a273b5510474ca0b1226246df382e2f3e6f52bbbb0f SHA512 009e9e2e727cec1dd895dfb36e6cd783f509648d6a8663c8db41258d12f93c5093a90f0d4d3c6671532f018623e505e8cee53cb3cc501cb25ee4d195e96b74fd WHIRLPOOL a8d10385617fae64b3e3d87826b43001ed1d39882cb2affdb336d91d44259e55c23b78f5c61b3d8da8ab348626b9bfa4c21f8b4b6949510aa9991ffe5ce9a0e4
|
||||
DIST Genshi-0.6.tar.gz 433946 SHA256 32aaf76a03f88efa04143bf80700399e6d84eead818fdd19d763fd76af972a4b SHA512 5e19e8cb9078ea587ce1a888bc02108a680a5d30b6b0e36a9280d10bc89142bacaa02532b432ce1c72504fc56d3fca72c5c0537bc98602572cd0f4a90b5f45d7 WHIRLPOOL 263bf8b3a19f3966b504fce200050b56be0b1d816d59f870dead740fb50a06758529ab7140573811201df9d0b56481f2d83a8f1b4bb6b186bc6c15110d905824
|
||||
DIST Genshi-0.7.tar.gz 491579 SHA256 1d154402e68bc444a55bcac101f96cb4e59373100cc7a2da07fbf3e5cc5d7352 SHA512 2d0042d4da4566725ddd80b73c5b7be09f479f5529e4aa69903edc2a98905ff6de42a0d5a6f02986d7962deb7740c4a3acf6955a8b77fdb42d3cf4ca037de6bf WHIRLPOOL 5e1a7af061d28a581c8a028ae7343a2b80697eb8bca01c8609345a3f2146db190a596d3488c0bde5aa132ac930d591ff1babd033ccb532c7cac7d2931751f906
|
||||
EBUILD genshi-0.6.ebuild 2066 SHA256 ac2779dd9376b4fce31104fed54110c63667819f7e0067b81f8d0ec39eea4fa9 SHA512 799783fe77e333e52e34c62e84836553237a9ea6ed91a9a345ee78e137c423baa142d10c87e15b3f0d2cc5261ca644a9c477a080f41ffda6e3fb115c5421d48d WHIRLPOOL 0bda71dcae1107db7b1e6bd06c9bfd942f14b3ffa0c2fd0497895b0e09f4e035c0588760445b18b616a0fa07f2e240cf52195d5b2f02dc5ea41e34e1fddd0869
|
||||
MISC ChangeLog 4172 SHA256 fc7d88112ba5d269a99d1536407b46d0c32a9fe3526aef3d5d8ccae9dd7ed968 SHA512 d6212b4653594a72fb42b9f0a30e3b9b9fb1b8662ecd0b71057c7090c76c3001c87dc10e67c8f8dcb871bc0c593e9bb8a2bff39b43d8c1172be653c56d1995a6 WHIRLPOOL 7fa09c3094dbe45abb11bdbd73016016280052b58211790fc21afbdb6d6f6ea6cb42c1d47679f80448ff32f5daa4a7c7ca61627a8a10bfb9cf617d950eaa72d9
|
||||
EBUILD genshi-0.7.ebuild 959 SHA256 402e066ca8ec9646ac46a5bb419cc6d1304d2e56e30fca58d2f2e556f3c36164 SHA512 2cac54bcf3dc55d2b76de812714ca4ceef1fa36d47a5d92941b829b76e892a83ac1ef8fd28402da59671b4c73f8071df829d0c90fd75bc503994a4a1d030b120 WHIRLPOOL cdd0eae70ef6f27f05b14d056c797b5100109ffc35cd75d08fb05bc43353798b724cc16cd9bba0a8b39a1bd4e22bf82843c770f9b1583233feb1e2ef247ac994
|
||||
MISC ChangeLog 4347 SHA256 f4dbb97d74e6e69548b0473b8ece90b84921584215f8ce6f512389e3103ec764 SHA512 34c7d02e4c2c756e57b192495d3d17cc0c4d905be1f4e96fb81a983a4c5585e9ef21f7a10d9dd8f3384f14715abcb761d537d6a464d8524d2313e732cf37fed0 WHIRLPOOL 31fd955b2400741d25bb2414f8a4aa110f46e8a5969b56567506387b4fd7520d4debd76afd81cd32791761190bae942bf24267aaea079825d4757e557cbff4e0
|
||||
MISC metadata.xml 160 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a SHA512 7c02a1de1ddcb6b7c6378cceff0458da3a15d5381417f7cdf01874e7c372664b8899863f41b3a2fd8d6ad67ceb732dac6da0cc17575bf8e3e6d89480417c6628 WHIRLPOOL ed2795e4466eda8c804d5067c87386e269a59fe959393057ca5ddc36851e00f5210c4da1adf4bbdfdbb7d1d3d5c60aced25727ca12fdc8305d9e263a3aca9b13
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlGQpdEACgkQxeMuLWsGW/v/NgCfQSCvmGqQuOFstH2YdnWzZJJG
|
||||
XFoAoIEZNDzYgfhd0piv4E/g2mBfAoXw
|
||||
=MFSL
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/genshi/genshi-0.7.ebuild,v 1.1 2013/05/13 08:35:24 djc Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P="Genshi-${PV}"
|
||||
|
||||
DESCRIPTION="Python toolkit for stream-based generation of output for the web."
|
||||
HOMEPAGE="http://genshi.edgewall.org/ http://pypi.python.org/pypi/Genshi"
|
||||
SRC_URI="http://ftp.edgewall.com/pub/genshi/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="doc examples"
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" setup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
dodoc doc/*.txt
|
||||
dohtml -r doc/*
|
||||
fi
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue