parent
3fa2a8d1d3
commit
31ebdf2fae
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
PYTHON_COMPAT=( python3_4 )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit gnome2 python-r1
|
||||
|
||||
DESCRIPTION="Interactive Python accessibility explorer"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Accerciser"
|
||||
|
||||
LICENSE="BSD CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=app-accessibility/at-spi2-core-2.5.2:2
|
||||
>=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}]
|
||||
>=x11-libs/gtk+-3.1.13:3[introspection]
|
||||
|
||||
dev-libs/atk[introspection]
|
||||
>=dev-libs/glib-2.28:2
|
||||
dev-libs/gobject-introspection
|
||||
>=dev-python/ipython-0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyatspi-2.1.5[${PYTHON_USEDEP}]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
x11-libs/gdk-pixbuf[introspection]
|
||||
x11-libs/libwnck:3[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/yelp-tools
|
||||
>=dev-util/intltool-0.35
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
# Leave shebang alone
|
||||
sed 's:@PYTHON@:/usr/bin/python:' -i src/accerciser.in || die
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_foreach_impl run_in_build_dir gnome2_src_configure \
|
||||
ITSTOOL=$(type -P true)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir gnome2_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installing() {
|
||||
gnome2_src_install
|
||||
python_doscript src/accerciser
|
||||
}
|
||||
python_foreach_impl run_in_build_dir installing
|
||||
}
|
@ -0,0 +1,118 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
|
||||
# PackageKit supports 3.2+, but entropy and portage backends are untested
|
||||
# Future note: use --enable-python3
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit bash-completion-r1 multilib python-single-r1 systemd vala xdg
|
||||
|
||||
MY_PN="PackageKit"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Manage packages in a secure way using a cross-distro and cross-architecture API"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI="https://www.freedesktop.org/software/${MY_PN}/releases/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/18"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
|
||||
IUSE="connman cron command-not-found +introspection networkmanager entropy systemd test vala"
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
vala? ( introspection )
|
||||
"
|
||||
|
||||
# While not strictly needed, consolekit is the alternative to systemd-login
|
||||
# to get current session's user.
|
||||
COMMON_DEPEND="
|
||||
>=app-shells/bash-completion-2
|
||||
dev-db/sqlite:3
|
||||
>=dev-libs/dbus-glib-0.74
|
||||
>=dev-libs/glib-2.46.0:2[${PYTHON_USEDEP}]
|
||||
>=sys-auth/polkit-0.98
|
||||
>=sys-apps/dbus-1.3.0
|
||||
${PYTHON_DEPS}
|
||||
connman? ( net-misc/connman )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.9:= )
|
||||
networkmanager? ( >=net-misc/networkmanager-0.6.4:= )
|
||||
systemd? ( >=sys-apps/systemd-204 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-cpp/glibmm-2.4
|
||||
dev-libs/libxslt[${PYTHON_USEDEP}]
|
||||
>=dev-util/gtk-doc-am-1.11
|
||||
>=dev-util/intltool-0.35.0
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=app-portage/layman-2[${PYTHON_USEDEP}]
|
||||
>=sys-apps/portage-2.2[${PYTHON_USEDEP}]
|
||||
entropy? ( >=sys-apps/entropy-234[${PYTHON_USEDEP}] )
|
||||
!systemd? ( sys-auth/consolekit )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# Fixes QA Notices:
|
||||
# - https://github.com/gentoo/gentoo/pull/1760
|
||||
# - https://github.com/hughsie/PackageKit/issues/143
|
||||
eapply "${FILESDIR}"/${PN}-1.1.1-cache-qafix.patch
|
||||
|
||||
# Disable unittests not working with portage backend
|
||||
# console: requires terminal input
|
||||
sed -e 's:^\(.*/packagekit-glib2/control\)://\1:' \
|
||||
-e 's:^\(.*/packagekit-glib2/transaction-list\)://\1:' \
|
||||
-e 's:^\(.*/packagekit-glib2/client"\)://\1:' \
|
||||
-e 's:^\(.*/packagekit-glib2/package-sack\)://\1:' \
|
||||
-e 's:^\(.*/packagekit-glib2/task\)://\1:' \
|
||||
-e 's:^\(.*/packagekit-glib2/console\)://\1:' \
|
||||
-i lib/packagekit-glib2/pk-test-daemon.c || die
|
||||
sed -e 's:^\(.*/packagekit/spawn\)://\1:' \
|
||||
-e 's:^\(.*/packagekit/transaction-db\)://\1:' \
|
||||
-e 's:^\(.*/packagekit/backend\)://\1:' \
|
||||
-i src/pk-self-test.c || die
|
||||
|
||||
eapply_user
|
||||
use vala && vala_src_prepare
|
||||
xdg_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-gstreamer-plugin \
|
||||
--disable-gtk-doc \
|
||||
--disable-gtk-module \
|
||||
--disable-schemas-compile \
|
||||
--disable-static \
|
||||
--enable-bash-completion \
|
||||
--enable-man-pages \
|
||||
--enable-nls \
|
||||
--enable-portage \
|
||||
--localstatedir=/var \
|
||||
$(use_enable command-not-found) \
|
||||
$(use_enable connman) \
|
||||
$(use_enable cron) \
|
||||
$(use_enable entropy) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable networkmanager) \
|
||||
$(use_enable systemd) \
|
||||
$(use_enable test daemon-tests) \
|
||||
$(use_enable test local) \
|
||||
$(use_enable vala) \
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
prune_libtool_files --all
|
||||
|
||||
dodoc AUTHORS ChangeLog MAINTAINERS NEWS README
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_PN="PackageKit"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Gtk3 PackageKit backend library"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI="http://www.packagekit.org/releases/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.46:2
|
||||
media-libs/fontconfig
|
||||
>=x11-libs/gtk+-2:2
|
||||
>=x11-libs/gtk+-3:3
|
||||
x11-libs/pango
|
||||
~app-admin/packagekit-base-${PV}[introspection]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-bash-completion \
|
||||
--disable-command-not-found \
|
||||
--disable-cron \
|
||||
--disable-gstreamer-plugin \
|
||||
--disable-gtk-doc \
|
||||
--disable-local \
|
||||
--disable-man-pages \
|
||||
--disable-networkmanager \
|
||||
--disable-static \
|
||||
--disable-systemd \
|
||||
--disable-vala \
|
||||
--enable-dummy \
|
||||
--enable-gtk-module \
|
||||
--enable-introspection=yes \
|
||||
--localstatedir=/var
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C contrib/gtk-module
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C contrib/gtk-module DESTDIR="${D}" install
|
||||
prune_libtool_files --all
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="PackageKit Package Manager interface (meta package)"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="metapackage"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="gtk qt5"
|
||||
|
||||
RDEPEND="gtk? ( ~app-admin/packagekit-gtk-${PV} )
|
||||
qt5? ( >=app-admin/packagekit-qt-0.9.6 )"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
@ -1,3 +1,2 @@
|
||||
DIST certbot-0.8.1.tar.gz 698305 SHA256 1fb4834eba306a656f26257f86ed298df354cdecb1b0bde316a9d23a1e19db01 SHA512 8b21d270b5ee847086369b956b3346fdddd50ab0e4490d988e7ca535f4d4101e2859e99bc5f77ac920afd3a6a9210e407b155c89c28d282dc0544735a27e3eaa WHIRLPOOL 909a3f6f63fac84bf6fe8fb35b9aba46c06912af01d5f702eee5b6aeab49d4f2a92fa05e4f060da11ac6cbc89047e92457f626d6c82aa0de0f1127ca79924fc7
|
||||
DIST certbot-0.9.3.tar.gz 794146 SHA256 5c40cfcf3a17624e34dcb733148bd247c4f0cee189766fe0fb6d29571d4068bb SHA512 a951e639515fc037721d8b086e53100dcc86974a96c61c7173b2a9c0582bb59380efe219caf3fd1517fcdf28dde4a1f66bba84b51e2a2027df114818ff4d7565 WHIRLPOOL 45c7b17cffc971acf3b6998c5702abd91c067e095acd9a4264109e711b869ac1db9e7d2a4ff9d86d680f5579b6a2fbca610a6905c81e549f72a10adf17f19da2
|
||||
DIST certbot-0.10.1.tar.gz 823669 SHA256 c91b5fddb50dfd46545c12c1e96d1bb5e2794652c11421a6f5d9dad2bbca4d52 SHA512 4e45280b9cb6db3f8dcecfbf0cf64c990ea58d8607ed1aea9853c7248f8830301cc8685126eeb0d0c2ef0e23298c9070b291110d733e72867967bc9506900702 WHIRLPOOL ae08a9236adf69915c4a141106aa104563b1298f9fd3a32491ed8c45fddc9f32243154ba5bde9af7a8b74a95a1d2b7d337e4cbcc37f35ba997a7a50eb2f15200
|
||||
DIST letsencrypt-0.1.0.tar.gz 524821 SHA256 1c1ac7b41e5e0fc0e41a7ef159ac9147a4aafff54453d57b519eb05bf52ade14 SHA512 6a786290362741ac97dcb4b59bc4cba56f3e8b5193bbc10be19086d462f76e6124259c42bac36afe9eb818f4bb9edec34f8e2a02bd8c855e3b35404f4ee81f96 WHIRLPOOL cdc41a3466de54ab8ddfeedea9935205d78383028769dcfbc876be0c2ef80c2d14f5d0e4a9c56a751163718f5ababb07848822989a060de7031ea8ebdf6424a0
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python{2_7,3_4,3_5})
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
inherit git-r3
|
||||
KEYWORDS="~x86"
|
||||
S=${WORKDIR}/${P}/${PN}
|
||||
else
|
||||
SRC_URI="https://github.com/certbot/certbot/archive/v${PV}.tar.gz -> certbot-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
S=${WORKDIR}/certbot-${PV}/acme
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An implementation of the ACME protocol"
|
||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/cryptography-0.8[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
>=dev-python/ndg-httpsclient-0.4[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.15[${PYTHON_USEDEP}]
|
||||
dev-python/pyrfc3339[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]"
|
||||
DEPEND="test? ( ${RDEPEND} dev-python/nose[${PYTHON_USEDEP}] )
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
nosetests -w ${PN} || die
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST ccid-1.4.18.tar.bz2 492113 SHA256 5fdba97a2d2eb1c652b7dd4aa0bb8cee4814bab0cf61aecb84b32b57272541aa SHA512 ff7e331431909fe9fffd4f7aae0a2395b3b755da9c898aa6a6b629f7f516c240b820669146791deb443c646dc8fc56f9100c9f987b3e7d13c24f24f81f06b1f0 WHIRLPOOL 86107ac379e5523c31aa1499e1ecd5a1f6dab5b7f748800b5a22ff2b6470e9bb590407cb8a98ad65870a832149fe8835aa42dff9a30027f0bce843640439ce1e
|
||||
DIST ccid-1.4.24.tar.bz2 594507 SHA256 62cb73c6c009c9799c526f05a05e25f00f0ad86d50f82a714dedcfbf4a7e4176 SHA512 4904165fdd089cd6f28b1c27130119d3433641a9cea5d6700afd1daa2722f763e2b348a42af4a292fdd08da45c7b17b2804b32b1fbe0ff19dccf58ec3310b09f WHIRLPOOL b2f88557ae0e6fb838432eaf0d13be1f7631c7d7f4b4a0c20014b060f0368fb5acba0c15eba7fdf6d9e31dc115a9c0bec5fe1e83468943522c94b8a89e93932c
|
||||
DIST ccid-1.4.25.tar.bz2 627456 SHA256 6b062b4ce0f04d6838d58e6faa255ba05222bd8ecb57a2d1116fdbe22f253609 SHA512 97ca4009e5b4522e3db913ab147bd32bd24490c798d31be6614d3b337e0ab47e93a1ae0c1dfe1cf47a41145b3b37f5a10bbbafec980c180b407b511f18f9ac2c WHIRLPOOL bad411d2a8731a8a2e8318df8f4774d1c2c124516ecbd81cd804b3bb1f504c28bd9fa74fb5c33252e9f1c2202dfe7fe952ee7eceeae1acadbae06e0e7ce84b7a
|
||||
DIST ccid-1.4.26.tar.bz2 628038 SHA256 3267bf708ab780c02f01f6241b7c7277cb892d30fd1179a9926a8cc0ca40be2f SHA512 4a2e5e9412f2aa4870e14114e54da96fd8b3418ea6d3a236b83e19d6349adb20a94ef7f48628c108f8459f008c10b0606bbf4d797ae4be9183e1acde032c618c WHIRLPOOL 7118e57ca9a394de3b37166bb2c4f4d398fdf744caa0803ef9f1470db7020d999f795ca816a5a70db2b59b64db7225df2dd9366fd329ca34d52b5e4611fd5d21
|
||||
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
STUPID_NUM="4111"
|
||||
|
||||
inherit eutils toolchain-funcs udev autotools-utils
|
||||
|
||||
DESCRIPTION="CCID free software driver"
|
||||
HOMEPAGE="http://pcsclite.alioth.debian.org/ccid.html"
|
||||
SRC_URI="http://alioth.debian.org/frs/download.php/file/${STUPID_NUM}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~sparc x86"
|
||||
IUSE="twinserial +usb"
|
||||
|
||||
RDEPEND=">=sys-apps/pcsc-lite-1.8.3
|
||||
usb? ( virtual/libusb:1 )"
|
||||
DEPEND="${RDEPEND}
|
||||
kernel_linux? ( virtual/pkgconfig )"
|
||||
|
||||
DOCS=( README AUTHORS )
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
LEX=:
|
||||
$(use_enable twinserial)
|
||||
$(use_enable usb libusb)
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
if use kernel_linux; then
|
||||
# note: for eudev support, rules probably will always need to be
|
||||
# installed to /usr
|
||||
|
||||
# ccid >=1.4.11 version changed the rules drastically in a minor
|
||||
# release to no longer use the pcscd group. Using the old ones in
|
||||
# the mean time.
|
||||
udev_newrules "${FILESDIR}"/92_pcscd_ccid-2.rules 92-pcsc-ccid.rules
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST certbot-0.10.1.tar.gz 823669 SHA256 c91b5fddb50dfd46545c12c1e96d1bb5e2794652c11421a6f5d9dad2bbca4d52 SHA512 4e45280b9cb6db3f8dcecfbf0cf64c990ea58d8607ed1aea9853c7248f8830301cc8685126eeb0d0c2ef0e23298c9070b291110d733e72867967bc9506900702 WHIRLPOOL ae08a9236adf69915c4a141106aa104563b1298f9fd3a32491ed8c45fddc9f32243154ba5bde9af7a8b74a95a1d2b7d337e4cbcc37f35ba997a7a50eb2f15200
|
@ -0,0 +1 @@
|
||||
DIST certbot-nginx-0.10.1.tar.gz 823669 SHA256 c91b5fddb50dfd46545c12c1e96d1bb5e2794652c11421a6f5d9dad2bbca4d52 SHA512 4e45280b9cb6db3f8dcecfbf0cf64c990ea58d8607ed1aea9853c7248f8830301cc8685126eeb0d0c2ef0e23298c9070b291110d733e72867967bc9506900702 WHIRLPOOL ae08a9236adf69915c4a141106aa104563b1298f9fd3a32491ed8c45fddc9f32243154ba5bde9af7a8b74a95a1d2b7d337e4cbcc37f35ba997a7a50eb2f15200
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
inherit git-r3
|
||||
S=${WORKDIR}/${P}/${PN}
|
||||
else
|
||||
SRC_URI="https://github.com/${PN%-nginx}/${PN%-nginx}/archive/v${PV}.tar.gz -> ${PN%-ngin}-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
S=${WORKDIR}/${PN%-nginx}-${PV}/${PN}
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Nginx plugin for certbot (Let's Encrypt Client)"
|
||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND=">=dev-python/setuptools-1.0[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${CDEPEND}
|
||||
~app-crypt/certbot-${PV}[${PYTHON_USEDEP}]
|
||||
~app-crypt/acme-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/zope-interface[${PYTHON_USEDEP}]"
|
||||
DEPEND="${CDEPEND}"
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
inherit git-r3
|
||||
S=${WORKDIR}/${P}/${PN}
|
||||
else
|
||||
SRC_URI="https://github.com/${PN%-nginx}/${PN%-nginx}/archive/v${PV}.tar.gz -> ${PN%-ngin}-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
S=${WORKDIR}/${PN%-nginx}-${PV}/${PN}
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Nginx plugin for certbot (Let's Encrypt Client)"
|
||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND=">=dev-python/setuptools-1.0[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${CDEPEND}
|
||||
~app-crypt/certbot-${PV}[${PYTHON_USEDEP}]
|
||||
~app-crypt/acme-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/zope-interface[${PYTHON_USEDEP}]"
|
||||
DEPEND="${CDEPEND}"
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>mrueg@gentoo.org</email>
|
||||
<name>Manuel Rüger</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,2 +1 @@
|
||||
DIST certbot-0.8.1.tar.gz 698305 SHA256 1fb4834eba306a656f26257f86ed298df354cdecb1b0bde316a9d23a1e19db01 SHA512 8b21d270b5ee847086369b956b3346fdddd50ab0e4490d988e7ca535f4d4101e2859e99bc5f77ac920afd3a6a9210e407b155c89c28d282dc0544735a27e3eaa WHIRLPOOL 909a3f6f63fac84bf6fe8fb35b9aba46c06912af01d5f702eee5b6aeab49d4f2a92fa05e4f060da11ac6cbc89047e92457f626d6c82aa0de0f1127ca79924fc7
|
||||
DIST certbot-0.9.3.tar.gz 794146 SHA256 5c40cfcf3a17624e34dcb733148bd247c4f0cee189766fe0fb6d29571d4068bb SHA512 a951e639515fc037721d8b086e53100dcc86974a96c61c7173b2a9c0582bb59380efe219caf3fd1517fcdf28dde4a1f66bba84b51e2a2027df114818ff4d7565 WHIRLPOOL 45c7b17cffc971acf3b6998c5702abd91c067e095acd9a4264109e711b869ac1db9e7d2a4ff9d86d680f5579b6a2fbca610a6905c81e549f72a10adf17f19da2
|
||||
DIST certbot-0.10.1.tar.gz 823669 SHA256 c91b5fddb50dfd46545c12c1e96d1bb5e2794652c11421a6f5d9dad2bbca4d52 SHA512 4e45280b9cb6db3f8dcecfbf0cf64c990ea58d8607ed1aea9853c7248f8830301cc8685126eeb0d0c2ef0e23298c9070b291110d733e72867967bc9506900702 WHIRLPOOL ae08a9236adf69915c4a141106aa104563b1298f9fd3a32491ed8c45fddc9f32243154ba5bde9af7a8b74a95a1d2b7d337e4cbcc37f35ba997a7a50eb2f15200
|
||||
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Let's encrypt client to automate deployment of X.509 certificates"
|
||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/configargparse-0.9.3[${PYTHON_USEDEP}]
|
||||
dev-python/configobj[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-0.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/parsedatetime-1.3[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/pyrfc3339[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-2.2.1[${PYTHON_USEDEP}]
|
||||
dev-python/zope-component[${PYTHON_USEDEP}]
|
||||
dev-python/zope-interface[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/pythondialog-3.2.2:python-2' python2_7)
|
||||
dev-python/mock[${PYTHON_USEDEP}]"
|
||||
# for when py3 support is added
|
||||
# $(python_gen_cond_dep '>=dev-python/pythondialog-3.2.2:0' python3_*)
|
||||
DEPEND="
|
||||
>=dev-python/setuptools-1.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/astroid-1.3.5[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pep8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pylint-1.4.2[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests -w ${PN}/tests || die
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Let's encrypt client to automate deployment of X.509 certificates"
|
||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/configargparse-0.10.0[${PYTHON_USEDEP}]
|
||||
dev-python/configobj[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-1.3[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
>=dev-python/parsedatetime-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-3.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.15[${PYTHON_USEDEP}]
|
||||
dev-python/pyrfc3339[${PYTHON_USEDEP}]
|
||||
>=dev-python/pythondialog-3.2.2:python-2[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/zope-component[${PYTHON_USEDEP}]
|
||||
dev-python/zope-interface[${PYTHON_USEDEP}]"
|
||||
DEPEND="test? ( ${RDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}] )
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
nosetests -w ${PN}/tests || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST navi2ch-1.8.3.tar.gz 477433 SHA256 671091f831e97ad05a1d106697fdbb7447201df209af550bf60ea6a71f7b4b05 SHA512 cbc180d9ed895c19519e8fd891dc3487b89ce90f139cc8f7bfeebd1d563740254d963ea38e588f05e42f86901eadfefab9f37040d2798bb15ac4ba7f3d693b81 WHIRLPOOL 1bd3219a4816be8a093d047f3605a175a9fee6f7d9dc9ee4648fb31ea5e9709b415d36813aa1d83327aa2ec4a8d14ce8e8acceed4b5752ca712a4f2dda709728
|
||||
DIST navi2ch-1.8.4.tar.gz 470499 SHA256 a2647881d1c20539148f8a01fcfa6f230d59582331ffd2d930effcbba307c603 SHA512 3028ea05c1e264f734f5a7578a0eb7e7aa5f23dbe33ccf9b0659344dbbb36c140842100923bb77e82614307e9793fb73e2bff42d6308438410d80102e33a3184 WHIRLPOOL 66b73d26e4b161d65a3720f6d16aca576c3ac9a7585d6bffd9e1e29d4082ed750f83ea625bad87fa6ef81265103514c13b7c031965ab22d309cdd5c482ff52f4
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="A navigator for the Japanese textboard 2ch"
|
||||
HOMEPAGE="http://navi2ch.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/navi2ch/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
|
||||
--with-icondir="${EPREFIX}${SITEETC}/${PN}"
|
||||
}
|
||||
|
||||
# This is NOT redundant, elisp.eclass redefines src_compile
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
elisp-install ${PN} contrib/*.el || die
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
|
||||
dodoc ChangeLog* NEWS README TODO || die
|
||||
newdoc contrib/README README.contrib || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
elog
|
||||
elog "Please add to your ~/.emacs"
|
||||
elog "If you use mona-font,"
|
||||
elog "\t(setq navi2ch-mona-enable t)"
|
||||
elog "If you use izonmoji-mode,"
|
||||
elog "\t(require 'izonmoji-mode)"
|
||||
elog "\t(add-hook 'navi2ch-bm-mode-hook 'izonmoji-mode-on)"
|
||||
elog "\t(add-hook 'navi2ch-article-mode-hook 'izonmoji-mode-on)"
|
||||
elog "\t(add-hook 'navi2ch-popup-article-mode-hook 'izonmoji-mode-on)"
|
||||
elog
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
Important: The openrc libvirtd init script is now broken up into two
|
||||
separate services: libvirtd, that solely handles the daemon, and
|
||||
libvirt-guests, that takes care of clients during shutdown/restart of the
|
||||
host. In order to reenable client handling, edit /etc/conf.d/libvirt-guests
|
||||
and enable the service and start it:
|
||||
|
||||
$ rc-update add libvirt-guests
|
||||
$ service libvirt-guests start
|
||||
|
||||
|
||||
For the basic networking support (bridged and routed networks) you don't
|
||||
need any extra software. For more complex network modes including but not
|
||||
limited to NATed network, you can enable the 'virt-network' USE flag. It
|
||||
will pull in required runtime dependencies
|
||||
|
||||
|
||||
If you are using dnsmasq on your system, you will have to configure
|
||||
/etc/dnsmasq.conf to enable the following settings:
|
||||
|
||||
bind-interfaces
|
||||
interface or except-interface
|
||||
|
||||
Otherwise you might have issues with your existing DNS server.
|
||||
|
||||
|
||||
For openrc users:
|
||||
|
||||
Please use /etc/conf.d/libvirtd to control the '--listen' parameter for
|
||||
libvirtd.
|
||||
|
||||
Use /etc/init.d/libvirt-guests to manage clients on restart/shutdown of
|
||||
the host. The default configuration will suspend and resume running kvm
|
||||
guests with 'managedsave'. This behavior can be changed under
|
||||
/etc/conf.d/libvirt-guests
|
||||
|
||||
|
||||
For systemd users:
|
||||
|
||||
Please use /etc/systemd/system/libvirtd.service.d/00gentoo.conf
|
||||
to control the '--listen' parameter for libvirtd.
|
||||
|
||||
The configuration for the 'libvirt-guests.service' is found under
|
||||
/etc/libvirt/libvirt-guests.conf"
|
||||
|
||||
|
||||
If you have built libvirt with policykit support, a new group "libvirt" has
|
||||
been created. Simply add a user to the libvirt group in order to grant
|
||||
administrative access to libvirtd. Alternatively, drop a custom policykit
|
||||
rule into /etc/polkit-1/rules.d.
|
||||
|
||||
If you have built libvirt without policykit support (USE=-policykit), you
|
||||
must change the unix sock group and/or perms in /etc/libvirt/libvirtd.conf
|
||||
in order to allow normal users to connect to libvirtd.
|
||||
|
||||
|
||||
If libvirtd is built with USE=caps, libvirt will now start qemu/kvm VMs
|
||||
with non-root privileges. Ensure any resources your VMs use are accessible
|
||||
by qemu:qemu.
|
@ -0,0 +1,34 @@
|
||||
From ec9c065d405a129d3d33abd3d10d8a7ff1a49420 Mon Sep 17 00:00:00 2001
|
||||
From: "Daniel P. Berrange" <berrange@redhat.com>
|
||||
Date: Wed, 18 Jan 2017 10:48:12 +0000
|
||||
Subject: [PATCH] Disable use of namespaces by default
|
||||
|
||||
When namespaces are enabled there is currently breakage when
|
||||
using disk hotplug and when using AppArmor
|
||||
|
||||
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
|
||||
---
|
||||
src/qemu/qemu_conf.c | 7 -------
|
||||
1 file changed, 7 deletions(-)
|
||||
|
||||
diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
|
||||
index 6613d59..aa05b46 100644
|
||||
--- a/src/qemu/qemu_conf.c
|
||||
+++ b/src/qemu/qemu_conf.c
|
||||
@@ -317,13 +317,6 @@ virQEMUDriverConfigPtr virQEMUDriverConfigNew(bool privileged)
|
||||
if (!(cfg->namespaces = virBitmapNew(QEMU_DOMAIN_NS_LAST)))
|
||||
goto error;
|
||||
|
||||
-#if defined(__linux__)
|
||||
- if (privileged &&
|
||||
- virProcessNamespaceAvailable(VIR_PROCESS_NAMESPACE_MNT) == 0 &&
|
||||
- virBitmapSetBit(cfg->namespaces, QEMU_DOMAIN_NS_MOUNT) < 0)
|
||||
- goto error;
|
||||
-#endif /* defined(__linux__) */
|
||||
-
|
||||
#ifdef DEFAULT_LOADER_NVRAM
|
||||
if (virFirmwareParseList(DEFAULT_LOADER_NVRAM,
|
||||
&cfg->firmwares,
|
||||
--
|
||||
2.10.2
|
||||
|
@ -0,0 +1,79 @@
|
||||
From baad1483ed0a699509f66abac6708797f370f888 Mon Sep 17 00:00:00 2001
|
||||
From: Matthias Maier <tamiko@kyomu.43-1.org>
|
||||
Date: Sun, 22 Jan 2017 09:07:57 -0600
|
||||
Subject: [PATCH] Update paths to Gentoo layout
|
||||
|
||||
---
|
||||
examples/Makefile.am | 4 ++--
|
||||
.../{usr.lib.libvirt.virt-aa-helper => usr.libexec.virt-aa-helper} | 4 ++--
|
||||
examples/apparmor/usr.sbin.libvirtd | 6 ++++--
|
||||
3 files changed, 8 insertions(+), 6 deletions(-)
|
||||
rename examples/apparmor/{usr.lib.libvirt.virt-aa-helper => usr.libexec.virt-aa-helper} (90%)
|
||||
|
||||
diff --git a/examples/Makefile.am b/examples/Makefile.am
|
||||
index 2956e14..d81e34b 100644
|
||||
--- a/examples/Makefile.am
|
||||
+++ b/examples/Makefile.am
|
||||
@@ -23,7 +23,7 @@ EXTRA_DIST = \
|
||||
apparmor/TEMPLATE.lxc \
|
||||
apparmor/libvirt-qemu \
|
||||
apparmor/libvirt-lxc \
|
||||
- apparmor/usr.lib.libvirt.virt-aa-helper \
|
||||
+ apparmor/usr.libexec.virt-aa-helper \
|
||||
apparmor/usr.sbin.libvirtd \
|
||||
lxcconvert/virt-lxc-convert \
|
||||
polkit/libvirt-acl.rules \
|
||||
@@ -70,7 +70,7 @@ admin_logging_SOURCES = admin/logging.c
|
||||
if WITH_APPARMOR_PROFILES
|
||||
apparmordir = $(sysconfdir)/apparmor.d/
|
||||
apparmor_DATA = \
|
||||
- apparmor/usr.lib.libvirt.virt-aa-helper \
|
||||
+ apparmor/usr.libexec.virt-aa-helper \
|
||||
apparmor/usr.sbin.libvirtd \
|
||||
$(NULL)
|
||||
|
||||
diff --git a/examples/apparmor/usr.lib.libvirt.virt-aa-helper b/examples/apparmor/usr.libexec.virt-aa-helper
|
||||
similarity index 90%
|
||||
rename from examples/apparmor/usr.lib.libvirt.virt-aa-helper
|
||||
rename to examples/apparmor/usr.libexec.virt-aa-helper
|
||||
index 4a8f197..a6072f1 100644
|
||||
--- a/examples/apparmor/usr.lib.libvirt.virt-aa-helper
|
||||
+++ b/examples/apparmor/usr.libexec.virt-aa-helper
|
||||
@@ -1,7 +1,7 @@
|
||||
# Last Modified: Mon Apr 5 15:10:27 2010
|
||||
#include <tunables/global>
|
||||
|
||||
-profile virt-aa-helper /usr/{lib,lib64}/libvirt/virt-aa-helper {
|
||||
+profile virt-aa-helper /usr/libexec/virt-aa-helper {
|
||||
#include <abstractions/base>
|
||||
|
||||
# needed for searching directories
|
||||
@@ -20,7 +20,7 @@ profile virt-aa-helper /usr/{lib,lib64}/libvirt/virt-aa-helper {
|
||||
/sys/devices/ r,
|
||||
/sys/devices/** r,
|
||||
|
||||
- /usr/{lib,lib64}/libvirt/virt-aa-helper mr,
|
||||
+ /usr/libexec/virt-aa-helper mr,
|
||||
/{usr/,}sbin/apparmor_parser Ux,
|
||||
|
||||
/etc/apparmor.d/libvirt/* r,
|
||||
diff --git a/examples/apparmor/usr.sbin.libvirtd b/examples/apparmor/usr.sbin.libvirtd
|
||||
index 8893e75..f0b471c 100644
|
||||
--- a/examples/apparmor/usr.sbin.libvirtd
|
||||
+++ b/examples/apparmor/usr.sbin.libvirtd
|
||||
@@ -59,8 +59,10 @@
|
||||
audit deny /sys/kernel/security/apparmor/.* rwxl,
|
||||
/sys/kernel/security/apparmor/profiles r,
|
||||
/usr/{lib,lib64}/libvirt/* PUxr,
|
||||
- /usr/{lib,lib64}/libvirt/libvirt_parthelper ix,
|
||||
- /usr/{lib,lib64}/libvirt/libvirt_iohelper ix,
|
||||
+ /usr/libexec/virt-aa-helper PUxr,
|
||||
+ /usr/libexec/libvirt_lxc PUxr,
|
||||
+ /usr/libexec/libvirt_parthelper ix,
|
||||
+ /usr/libexec/libvirt_iohelper ix,
|
||||
/etc/libvirt/hooks/** rmix,
|
||||
/etc/xen/scripts/** rmix,
|
||||
|
||||
--
|
||||
2.10.2
|
||||
|
@ -0,0 +1,388 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils user linux-info systemd readme.gentoo-r1
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
SLOT="0"
|
||||
else
|
||||
# Versions with 4 numbers are stable updates:
|
||||
if [[ ${PV} =~ ^[0-9]+(\.[0-9]+){3} ]]; then
|
||||
SRC_URI="http://libvirt.org/sources/stable_updates/${P}.tar.xz"
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${P}.tar.xz"
|
||||
fi
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0/${PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
IUSE="
|
||||
apparmor audit +caps +dbus firewalld fuse glusterfs iscsi +libvirtd lvm
|
||||
libssh lxc +macvtap nfs nls numa openvz parted pcap phyp policykit
|
||||
+qemu rbd sasl selinux +udev uml +vepa virtualbox virt-network
|
||||
wireshark-plugins xen zeroconf zfs elibc_glibc
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
firewalld? ( virt-network )
|
||||
libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
policykit? ( dbus )
|
||||
qemu? ( libvirtd )
|
||||
uml? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virt-network? ( libvirtd )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="
|
||||
app-misc/scrub
|
||||
dev-libs/libgcrypt:0
|
||||
dev-libs/libnl:3
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
|| ( >=net-analyzer/netcat6-1.0-r2 >=net-analyzer/openbsd-netcat-1.105-r1 )
|
||||
>=net-libs/gnutls-1.0.25:0=
|
||||
net-libs/libssh2
|
||||
>=net-misc/curl-7.18.0
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/readline:=
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
audit? ( sys-process/audit )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
dbus? ( sys-apps/dbus )
|
||||
elibc_glibc? ( sys-libs/glibc[rpc(+)] )
|
||||
firewalld? ( net-firewall/firewalld )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6 )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
libssh? ( net-libs/libssh )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2[-device-mapper-only(-)] )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
openvz? ( sys-kernel/openvz-sources:* )
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2[-device-mapper-only(-)]
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-0.13.0
|
||||
dev-libs/yajl
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virt-network? (
|
||||
net-dns/dnsmasq[script]
|
||||
net-firewall/ebtables
|
||||
>=net-firewall/iptables-1.4.10[ipv6]
|
||||
net-misc/radvd
|
||||
sys-apps/iproute2[-minimal]
|
||||
)
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
wireshark-plugins? ( net-analyzer/wireshark:= )
|
||||
xen? (
|
||||
app-emulation/xen
|
||||
app-emulation/xen-tools:=
|
||||
)
|
||||
udev? (
|
||||
virtual/udev
|
||||
>=x11-libs/libpciaccess-0.10.9
|
||||
)
|
||||
zeroconf? ( >=net-dns/avahi-0.6[dbus] )
|
||||
zfs? ( sys-fs/zfs )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/xhtml1
|
||||
dev-lang/perl
|
||||
dev-libs/libxslt
|
||||
dev-perl/XML-XPath
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.3.0-do_not_use_sysconf.patch
|
||||
"${FILESDIR}"/${PN}-1.2.16-fix_paths_in_libvirt-guests_sh.patch
|
||||
"${FILESDIR}"/${PN}-3.0.0-fix_paths_for_apparmor.patch
|
||||
"${FILESDIR}"/${PN}-1.3.4-glibc-2.23.patch
|
||||
|
||||
"${FILESDIR}"/${P}-Disable-use-of-namespaces-by-default.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
if use qemu; then
|
||||
enewgroup qemu 77
|
||||
enewuser qemu 77 -1 -1 "qemu,kvm"
|
||||
fi
|
||||
|
||||
use policykit && enewgroup libvirt
|
||||
|
||||
# Check kernel configuration:
|
||||
CONFIG_CHECK=""
|
||||
use fuse && CONFIG_CHECK+="
|
||||
~FUSE_FS"
|
||||
|
||||
use lvm && CONFIG_CHECK+="
|
||||
~BLK_DEV_DM
|
||||
~DM_MULTIPATH
|
||||
~DM_SNAPSHOT"
|
||||
|
||||
use lxc && CONFIG_CHECK+="
|
||||
~BLK_CGROUP
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_NET_PRIO
|
||||
~CGROUP_PERF
|
||||
~CGROUPS
|
||||
~CGROUP_SCHED
|
||||
~CPUSETS
|
||||
~IPC_NS
|
||||
~MACVLAN
|
||||
~NAMESPACES
|
||||
~NET_CLS_CGROUP
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
~POSIX_MQUEUE
|
||||
~SECURITYFS
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
~VETH
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS"
|
||||
|
||||
kernel_is lt 4 7 && use lxc && CONFIG_CHECK+="
|
||||
~DEVPTS_MULTIPLE_INSTANCES"
|
||||
|
||||
use macvtap && CONFIG_CHECK+="
|
||||
~MACVTAP"
|
||||
|
||||
use virt-network && CONFIG_CHECK+="
|
||||
~BRIDGE_EBT_MARK_T
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_CONNMARK
|
||||
~NETFILTER_XT_MARK
|
||||
~NETFILTER_XT_TARGET_CHECKSUM"
|
||||
# Bandwidth Limiting Support
|
||||
use virt-network && CONFIG_CHECK+="
|
||||
~BRIDGE_EBT_T_NAT
|
||||
~NET_ACT_POLICE
|
||||
~NET_CLS_FW
|
||||
~NET_CLS_U32
|
||||
~NET_SCH_HTB
|
||||
~NET_SCH_INGRESS
|
||||
~NET_SCH_SFQ"
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 6 && CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
||||
if kernel_is ge 3 6; then
|
||||
CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP "
|
||||
kernel_is lt 4 5 && CONFIG_CHECK+=" ~MEMCG_KMEM "
|
||||
fi
|
||||
|
||||
ERROR_USER_NS="Optional depending on LXC configuration."
|
||||
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
|
||||
default
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||
git hash-object bootstrap.conf
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
# Tweak the init script:
|
||||
cp "${FILESDIR}/libvirtd.init-r16" "${S}/libvirtd.init" || die
|
||||
sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
|
||||
-e "s/USE_FLAG_AVAHI/$(usex zeroconf 'use avahi-daemon' '')/" \
|
||||
-e "s/USE_FLAG_ISCSI/$(usex iscsi 'use iscsid' '')/" \
|
||||
-e "s/USE_FLAG_RBD/$(usex rbd 'use ceph' '')/" \
|
||||
-i "${S}/libvirtd.init" || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_with apparmor)
|
||||
$(use_with apparmor apparmor-profiles)
|
||||
$(use_with audit)
|
||||
$(use_with caps capng)
|
||||
$(use_with dbus)
|
||||
$(use_with firewalld)
|
||||
$(use_with fuse)
|
||||
$(use_with glusterfs)
|
||||
$(use_with glusterfs storage-gluster)
|
||||
$(use_with iscsi storage-iscsi)
|
||||
$(use_with libvirtd)
|
||||
$(use_with libssh)
|
||||
$(use_with lvm storage-lvm)
|
||||
$(use_with lvm storage-mpath)
|
||||
$(use_with lxc)
|
||||
$(use_with macvtap)
|
||||
$(use_enable nls)
|
||||
$(use_with numa numactl)
|
||||
$(use_with numa numad)
|
||||
$(use_with openvz)
|
||||
$(use_with parted storage-disk)
|
||||
$(use_with pcap libpcap)
|
||||
$(use_with phyp)
|
||||
$(use_with policykit polkit)
|
||||
$(use_with qemu)
|
||||
$(use_with qemu yajl)
|
||||
$(use_with rbd storage-rbd)
|
||||
$(use_with sasl)
|
||||
$(use_with selinux)
|
||||
$(use_with udev)
|
||||
$(use_with uml)
|
||||
$(use_with vepa virtualport)
|
||||
$(use_with virt-network network)
|
||||
$(use_with wireshark-plugins wireshark-dissector)
|
||||
$(use_with xen)
|
||||
$(use_with xen xen-inotify)
|
||||
$(use_with xen libxl)
|
||||
$(use_with zeroconf avahi)
|
||||
$(use_with zfs storage-zfs)
|
||||
|
||||
--without-hal
|
||||
--without-netcf
|
||||
--without-sanlock
|
||||
--without-xenapi
|
||||
|
||||
--with-esx
|
||||
--with-init-script=systemd
|
||||
--with-qemu-group=$(usex caps qemu root)
|
||||
--with-qemu-user=$(usex caps qemu root)
|
||||
--with-remote
|
||||
--with-storage-fs
|
||||
--with-vmware
|
||||
|
||||
--disable-static
|
||||
--disable-werror
|
||||
|
||||
--with-html-subdir=${PF}/html
|
||||
--localstatedir=/var
|
||||
)
|
||||
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myeconfargs+=( --with-vbox=/usr/lib/virtualbox-ose/ )
|
||||
else
|
||||
myeconfargs+=( $(use_with virtualbox vbox) )
|
||||
fi
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${BUILD_DIR}"
|
||||
|
||||
# remove problematic tests, bug #591416, bug #591418
|
||||
sed -i -e 's#commandtest$(EXEEXT) # #' \
|
||||
-e 's#virfirewalltest$(EXEEXT) # #' \
|
||||
-e 's#nwfilterebiptablestest$(EXEEXT) # #' \
|
||||
-e 's#nwfilterxml2firewalltest$(EXEEXT)$##' \
|
||||
tests/Makefile
|
||||
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
SYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)" install
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
# Remove bogus, empty directories. They are either not used, or
|
||||
# libvirtd is able to create them on demand
|
||||
rm -rf "${D}"/etc/sysconfig
|
||||
rm -rf "${D}"/var/cache
|
||||
rm -rf "${D}"/var/run
|
||||
rm -rf "${D}"/var/log
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
systemd_install_serviced \
|
||||
"${FILESDIR}"/libvirtd.service.conf libvirtd.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r2" libvirt-guests || die
|
||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd || die
|
||||
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd || die
|
||||
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests || die
|
||||
|
||||
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r2")
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
|
||||
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r2")
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
FORCE_PRINT_ELOG=1 # remove for next version bump
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -1,5 +1,2 @@
|
||||
DIST eselect-python-20111108.tar.bz2 64959 SHA256 34d7618808a3c1d22e6763bc6c67d5ae47a1fa371f5e91de95a911da9aceba5e SHA512 59a493128753ae968c6fa30eb870f52198de7bb5090213ef0b8c0d3d8b1f552ac514174dd1e97e54dd9434432be1a68ad01853d1ffb21e53d28d08f623199dac WHIRLPOOL 605730de7fee70cf5a33e15c8e16a938807c5ed32f80ff0435a196f03cb38ce397092626c88df598b1b88dab7ee3b8c7f3105b9f3b88acb13fe532f964b8aced
|
||||
DIST eselect-python-20140125.tar.bz2 72102 SHA256 ee7b470f7facc42285bab7f4b947280741515a85c9067339511c219248f8fdfb SHA512 94d4eb5a1af365c6f56a6fc2b75298018267cd4f6004f30b2e4d0c4744d3e82b33f6c82e6f0ea0f15132d5157c3ace99fa167bbf3ebada46edd2e005ca96eb51 WHIRLPOOL 70d5f9af2929507d26e56080ce934066d2de5f16030dfd63b016215465ad5fc89eb952d64cc545c7058d146108e26925741d2c8fbaba08abba1a5cae7b0c23b6
|
||||
DIST eselect-python-20151117.tar.bz2 62793 SHA256 6f2912ae4d4fc12949ae0c9bb8b93b3a3a8c372336c2138c758f042f91484561 SHA512 3e680f8c851251176d6bb916d003e421e4b414aa9cc59e20cb15d454a3251cdf1e587828e9b2a5db461641f277e3b764ca172f4466fe3f6ef9679a9a05a71732 WHIRLPOOL a2e4ca676ead692b08a6194fb4bf5dabdd383ad158f45a17cb21c59022af139b0646fe39b0f4c9b540c80c4c2a04362c75f90e3c7f1506056b7b0f01e5e51474
|
||||
DIST eselect-python-20160222.tar.bz2 48584 SHA256 be266ed02c60d4c44d07b575af87e4f9d3f952e387d8edb98edabbb72e855b75 SHA512 d0e424887594a1ffc0ce4f141e5c7d73763a49a2ec209b55ac2978a0bf82db9eaa3f07cc1c6650f609e6003f8292a260ce802c89f973b94c8a9a7c1d1ca84e3c WHIRLPOOL ba52a724fd3478b891d0c6a495885601bcc7f3bda713a5fd2e1c07ca1230d8a542ceb627329675f9935c07735e4de4a43d3d64d44771434cc4bbe9fb1cec6003
|
||||
DIST eselect-python-20160516.tar.bz2 46549 SHA256 bea0a39d9e5afb7513be47955a82efa636b983de6388965df517cb1eb7615fd2 SHA512 0ac310e13bca9e3cdfdd55820cc2956cacf28ade99c1b5048edadd48c6a04c2ae1037207aaac74fcd75e809cf993f88b52e463979b68bd123fe925e491a7030a WHIRLPOOL 66782323a455af7536592cf76c9fd9f57c8adf8a67b374c4e6bb96fdc21dfb8add4f74697139643c47561357a451d50b777f3e2e73db850176fc05d61ae6e54c
|
||||
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
# Keep the EAPI low here because everything else depends on it.
|
||||
# We want to make upgrading simpler.
|
||||
|
||||
ESVN_PROJECT="eselect-python"
|
||||
ESVN_REPO_URI="https://overlays.gentoo.org/svn/proj/python/projects/eselect-python/trunk"
|
||||
|
||||
if [[ ${PV} == "99999999" ]] ; then
|
||||
inherit autotools subversion
|
||||
else
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Eselect module for management of multiple Python versions"
|
||||
HOMEPAGE="https://www.gentoo.org/proj/en/Python/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2.3"
|
||||
# Avoid autotool deps for released versions for circ dep issues.
|
||||
if [[ ${PV} == "99999999" ]] ; then
|
||||
DEPEND="sys-devel/autoconf"
|
||||
else
|
||||
DEPEND=""
|
||||
fi
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
[[ -x configure ]] || eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /etc/env.d/python
|
||||
emake DESTDIR="${D}" install || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-20090804" || ! has_version "${CATEGORY}/${PN}"; then
|
||||
run_eselect_python_update="1"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ "${run_eselect_python_update}" == "1" ]]; then
|
||||
ebegin "Running \`eselect python update\`"
|
||||
eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2 > /dev/null
|
||||
eend "$?"
|
||||
fi
|
||||
}
|
@ -1,83 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} == "99999999" ]] ; then
|
||||
inherit autotools git-r3
|
||||
EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Eselect module for management of multiple Python versions"
|
||||
HOMEPAGE="https://www.gentoo.org/proj/en/Python/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2.3
|
||||
>=dev-lang/python-exec-2.1:2
|
||||
!<dev-lang/python-2.7.10-r4:2.7
|
||||
!<dev-lang/python-3.3.5-r4:3.3
|
||||
!<dev-lang/python-3.4.3-r4:3.4
|
||||
!<dev-lang/python-3.5.0-r3:3.5"
|
||||
|
||||
src_prepare() {
|
||||
[[ ${PV} == "99999999" ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /etc/env.d/python
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
local f
|
||||
for f in python{,2,3}; do
|
||||
# can't use symlinks here since random stuff
|
||||
# loves to do readlink on sys.executable...
|
||||
newbin "${EPREFIX}/usr/lib/python-exec/python-exec2" "${f}"
|
||||
done
|
||||
for f in python{,2,3}-config 2to3 idle pydoc pyvenv; do
|
||||
dosym ../lib/python-exec/python-exec2 /usr/bin/"${f}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
local py
|
||||
|
||||
# Copy python[23] selection from the old format (symlink)
|
||||
for py in 2 3; do
|
||||
# default to none
|
||||
declare -g "PREV_PYTHON${py}"=
|
||||
|
||||
if [[ -L ${EROOT}/usr/bin/python${py} ]]; then
|
||||
local target=$(readlink "${EROOT}/usr/bin/python${py}")
|
||||
|
||||
# check if it's actually old eselect symlink
|
||||
if [[ ${target} == python?.? ]]; then
|
||||
declare -g "PREV_PYTHON${py}=${target}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local py
|
||||
|
||||
if has_version 'dev-lang/python'; then
|
||||
eselect python update --if-unset
|
||||
fi
|
||||
|
||||
for py in 2 3; do
|
||||
local pyvar=PREV_PYTHON${py}
|
||||
if [[ -n ${!pyvar} ]]; then
|
||||
einfo "Setting Python${py} to ${!pyvar}"
|
||||
eselect python set "--python${py}" "${!pyvar}"
|
||||
elif has_version "=dev-lang/python-${py}*"; then
|
||||
eselect python update "--python${py}" --if-unset
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} == "99999999" ]] ; then
|
||||
inherit autotools git-r3
|
||||
EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Eselect module for management of multiple Python versions"
|
||||
HOMEPAGE="https://www.gentoo.org/proj/en/Python/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
# python-exec-2.4.2 for working -l option
|
||||
RDEPEND=">=app-admin/eselect-1.2.3
|
||||
>=dev-lang/python-exec-2.4.2"
|
||||
|
||||
src_prepare() {
|
||||
[[ ${PV} == "99999999" ]] && eautoreconf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local py
|
||||
|
||||
if has_version 'dev-lang/python'; then
|
||||
eselect python update --if-unset
|
||||
fi
|
||||
|
||||
if has_version "=dev-lang/python-3*"; then
|
||||
eselect python update "--python3" --if-unset
|
||||
fi
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST ruby.eselect-20131227.bz2 1920 SHA256 b425962f9898ceb8bcdbb55d9648f3d98b82a916c4afa95b2fb1ddcd39cc3689 SHA512 9f13d4a6dc45923f88b145984f9c537846d4cb937b73c2be916792c70ff3c751f1e12b76f33686e35053bf6af1392e6c7e276f06dfb728e6a20f6335f739b784 WHIRLPOOL 38135af69952aff7cf874608365029947733733d33a3c586367ccf6fceb1bf2236781c9fe554a5654f720c19ef0fb0bd3dd5773a108386c6185a2fc2d94ac37b
|
||||
DIST ruby.eselect-20141227.bz2 1926 SHA256 eef9af23d4990f6a1b8b0b921ec7de9087143486b6a0faf076bdc90e093dd83a SHA512 f8fb92c171cf653da22402785d80a671e4b4c7eeea9f41c33a70475264aa2d7e5f62c998e5f63ff011f9f4e1953d75022c23e1dfc3ef81041168167fa301560c WHIRLPOOL 5f6be4dcba75fd7f252b9037417be707f0528c14075f01ad644f9ebcac7032ae96278ba1bcbd79b6d9b265699f9cfaf532fe58ae10e057ebfeb89de34c6be3be
|
||||
DIST ruby.eselect-20151229.xz 1900 SHA256 29d6ae00efc58c0a60b0b3d429b4933a059cd25063b9e6f07aa6113a9d2f2b81 SHA512 a11b0d0694278b231fa07aa0dc2f1cb252faed7a70c26f8ded51ee922ce0c50076f748f9acd38e02394ccdbeaf2722d2f53ed335cab539faa19d943548c2d89b WHIRLPOOL 227d279c95e15d741c8347ec9abf652680a528998c7800599db9c7bb31a16f97733b110baa96bcf94c6d4910288af36e62e400787f3a3f3ab6661b42198db1b2
|
||||
DIST ruby.eselect-20161226.xz 1900 SHA256 55e1c16e92748c2853620780fbd9db8a28a88cb5e2dd1bfe92d104be8b60397f SHA512 69cf17e42d9908fdfc9b08a3ca2c1f406a5968fc1c22663cc4b2388ad29d3bdb8aec4f0210ce9d5c118514aea81a4465a299347dd702f859ba8660fcb3882f17 WHIRLPOOL e09a8964e77cd8293ca3fac41cf6bd819004bd62f4cdec0eae35b331073b175bd4085631660bcead0e93510bc7ada051070d2316aad3de6bd17d8cb0156fd6e3
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DESCRIPTION="Manages multiple Ruby versions"
|
||||
HOMEPAGE="https://www.gentoo.org"
|
||||
SRC_URI="https://dev.gentoo.org/~mrueg/distfiles/ruby.eselect-${PVR}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.0.2"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${WORKDIR}/ruby.eselect-${PVR}" ruby.eselect || die
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST geoclue-0.12.99.tar.gz 608074 SHA256 fe396c91cb52de4219281f4d9223156338fc03670d34700281e86d1399b80a72 SHA512 32f946c9ee66cff2a6564b275d5f7bdf0d42832166c9fbeccb0aa55f3c3370fd8de114ad26477df6a2ee9d22250a5b104ec384032b28c3a62c356baea05d1bc2 WHIRLPOOL fc7e96d6646a7fa527807db2a3375a714243fb935f064b9acbb84f8652cc64e19d2655979c053e2f1b433c69a47a393123bc4bb2f8f16395a3ecbba668c9f1bd
|
||||
DIST geoclue-2.4.3.tar.xz 389260 SHA256 ada9dba870dd79e1b21923aeda4d82b66cbda39e57978fbe3d83d356cc3c605e SHA512 6e6fba4e04458d486e098898f13d3a5319d3bb185a9ac2801cac710639bae46b6512c82c61b2a666fa920abf664446d937e00018ff078a55ce05b8ebc026a01d WHIRLPOOL 5658c1b0e89d9f7dbceaf149db06973d809e1ecdf88fbca2f484568353c1fd2539150f4b04081189dc14f941bd179135fa3d5bfd795e0714ee92d412968da656
|
||||
DIST geoclue-2.4.4.tar.xz 392340 SHA256 9c43fb9d0c12067ea64400500abb0640194947d4c2c55e38545afe5d9c5c315c SHA512 46995aa261ff5c391eb1e933088e24e40e595a98563b541675cbfab38e69f410cd3ad7a3c1f4126e4eb62eea0be9a77f8e3c37af89b4aaad81e07c150b003f7a WHIRLPOOL 42691170b0e9097fb4caef656cd79c0861f61cd0bbf811a74653799848184f98f960e5294375b5632c30de29e798318443706ff803ae46d19ca422abe3caaac4
|
||||
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit gnome2 systemd user versionator
|
||||
|
||||
MY_PV=$(get_version_component_range 1-2)
|
||||
DESCRIPTION="A geoinformation D-Bus service"
|
||||
HOMEPAGE="https://freedesktop.org/wiki/Software/GeoClue"
|
||||
SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${MY_PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="2.0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd"
|
||||
IUSE="+introspection +modemmanager zeroconf"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.34:2
|
||||
>=dev-libs/json-glib-0.14
|
||||
>=net-libs/libsoup-2.42:2.4
|
||||
sys-apps/dbus
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.6:= )
|
||||
modemmanager? ( >=net-misc/modemmanager-1 )
|
||||
zeroconf? ( >=net-dns/avahi-0.6.10 )
|
||||
!<sci-geosciences/geocode-glib-3.10.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gdbus-codegen
|
||||
>=dev-util/gtk-doc-am-1
|
||||
>=dev-util/intltool-0.40
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.4.1-fix-GLIBC-features.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# debug only affects CFLAGS
|
||||
gnome2_src_configure \
|
||||
--enable-backend \
|
||||
--with-dbus-service-user=geoclue \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable modemmanager 3g-source) \
|
||||
$(use_enable modemmanager cdma-source) \
|
||||
$(use_enable modemmanager modem-gps-source) \
|
||||
$(use_enable zeroconf nmea-source) \
|
||||
$(systemd_with_unitdir)
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
enewgroup geoclue
|
||||
enewuser geoclue -1 -1 /var/lib/geoclue geoclue
|
||||
gnome2_pkg_preinst
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pax-utils-1.1.6.tar.xz 647308 SHA256 f5436c517bea40f7035ec29a6f34034c739b943f2e3a080d76df5dfd7fd41b12 SHA512 c5bdb3ee076c5f4d026f811a59329014c539e3bb3ab45aec92564dcc4abcedaebc50bec55c37aeccfe9e31c554ec7789426fcb3d6f67a8d805843f32c5993f94 WHIRLPOOL 6addfc63dd821a3a0f1ebb2f0545bf81b933bed7aa4950efc51c4af3c8a9dd2263fe09c469bb371a5cb7ae239db646876548a2c21b08c1ed87dd974228eb2679
|
||||
DIST pax-utils-1.1.7.tar.xz 648376 SHA256 bb9bdbf0888de9444b53b78f7b8069af9832bac7cef0588030b8ce49e8ebad10 SHA512 cec176cf5863b15acc058cbd99639f5f456346136d0551ce5875cb66c28dd0f6e7f5077b0c06751a3a68984b5c4386c232d3db8b76aa4f4b326b0b692835fdeb WHIRLPOOL 07972470889ff3f4a85f1528bc6c49ae11c3161dfe0df4ab0c3ea83affdc36d0fce36f4db5a0811290958d51e477da99476a12bf35108c4a3b147004a0584541
|
||||
DIST pax-utils-1.2.tar.xz 656068 SHA256 99cd71603507dcb65f512c8be87fb3248545113918d6d416e5fb99be73aa81b5 SHA512 c873b21bf9cf24038ca0f01a75a5d768c4a4f41c380e03db5ee2605d9fab78b672be1170b4d8dd97798bf36b0bf3726769e13ca32471c86d57c314f4059ef360 WHIRLPOOL b8b884fdf141b8d4784f5dcaf356aa005883e2a940501b7deb28707560d80346a3787a4c9bb675da8dffda9ae9ba6c086cdc04ca5be77a89ccfd65310db0071d
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils toolchain-funcs unpacker
|
||||
|
||||
DESCRIPTION="ELF utils that can check files for security relevant properties"
|
||||
HOMEPAGE="https://wiki.gentoo.org/index.php?title=Project:Hardened/PaX_Utilities"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz
|
||||
https://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="caps debug python seccomp"
|
||||
|
||||
RDEPEND="caps? ( >=sys-libs/libcap-2.24 )
|
||||
python? ( dev-python/pyelftools )
|
||||
seccomp? ( sys-libs/libseccomp )"
|
||||
DEPEND="${RDEPEND}
|
||||
caps? ( virtual/pkgconfig )
|
||||
seccomp? ( virtual/pkgconfig )
|
||||
app-arch/xz-utils"
|
||||
|
||||
_emake() {
|
||||
emake \
|
||||
USE_CAP=$(usex caps) \
|
||||
USE_DEBUG=$(usex debug) \
|
||||
USE_PYTHON=$(usex python) \
|
||||
USE_SECCOMP=$(usex seccomp) \
|
||||
"$@"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Avoid slow configure+gnulib+make if on an up-to-date Linux system
|
||||
if use prefix || ! use kernel_linux || \
|
||||
has_version '<sys-libs/glibc-2.10'
|
||||
then
|
||||
econf $(use_with caps) $(use_with debug) $(use_with python) $(use_with seccomp)
|
||||
else
|
||||
tc-export CC PKG_CONFIG
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
_emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
_emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
_emake DESTDIR="${D}" PKGDOCDIR='$(DOCDIR)'/${PF} install
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST abiword-docs-3.0.0.tar.gz 1482576 SHA256 11bb83cacbead8dd91e14f8dc49473843c683ee997e3974ec3167e7665bc89ad SHA512 13ca23026e162e7e50ef5f287507ea850f15fb1668bec31ea3c7bb90b8c11abff6bebfdadffb53856c895ba286fbe37aa625d241d908e702603c758b1e4ed12d WHIRLPOOL 5d3fb67aa2640d8d5a63a17a14d8d86260747b53a768bfcd0ec8713ee736870949bad203380d5950aaff2630694924b6a1c02f64ca4829100a0bd02f3424eb70
|
||||
DIST abiword-docs-3.0.1.tar.gz 1484463 SHA256 d0d20d73dae7dfc5471484914dc80b4e7190f07c55c4ad8ba5ed9601e5eba8c5 SHA512 6e7b7b76560279f7af9da8a88c1f493f2c5570e5a862222861cf8d6d71fd7c55e8a92ba8f52c4c5254538c2daf7b1f489360cd5ab742a199039bb9cb6209d841 WHIRLPOOL d459455ed5371c3a0fbc73e05c318b1b944bd284b50651283117452c52c3b373085557df147a0135143e4e0eba06f482e9f676a0f5b560976684ae8f70dd6d0f
|
||||
DIST abiword-docs-3.0.2.tar.gz 1488624 SHA256 56f225e423506a2e93c456c05b21b546c3d00a4e866bee332f9f2058f1a09943 SHA512 8d6e5987fd2b58019aebe000d6ab1f10943a53cbbeb01fa53bbcf1a90904eed42182d09862070278ecace187d2510a889e763fe493bf2e2fa381b224e17c98e5 WHIRLPOOL 6bdf40a6d1717eec261a56a2d9c443a7e7828fc6fadb32d3d9a28327adc4ad6f7b75ddc8d00f0ab6a801bb48699f5e779084e240236fac03df8f6130505ec297
|
||||
|
@ -0,0 +1,152 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
GNOME2_EAUTORECONF="yes"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Fully featured yet light and fast cross platform word processor"
|
||||
HOMEPAGE="http://www.abisource.com/"
|
||||
SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/source/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~mips ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
IUSE="calendar collab cups debug eds +goffice grammar +introspection latex map math ots +plugins readline redland spell wordperfect wmf thesaurus"
|
||||
# You need 'plugins' enabled if want to enable the extra plugins
|
||||
REQUIRED_USE="!plugins? ( !collab !grammar !latex !math !ots !readline !thesaurus !wordperfect !wmf )"
|
||||
|
||||
RDEPEND="
|
||||
>=app-text/wv-1.2
|
||||
>=dev-libs/fribidi-0.10.4
|
||||
>=dev-libs/glib-2.16:2
|
||||
>=dev-libs/libgcrypt-1.4.5:0=
|
||||
dev-libs/libxslt
|
||||
>=gnome-base/librsvg-2.16:2
|
||||
>=gnome-extra/libgsf-1.14.18:=
|
||||
>=media-libs/libpng-1.2:0=
|
||||
virtual/jpeg:0
|
||||
>=x11-libs/cairo-1.10[X]
|
||||
>=x11-libs/gtk+-3.0.8:3[cups?]
|
||||
calendar? ( >=dev-libs/libical-0.46:= )
|
||||
eds? ( >=gnome-extra/evolution-data-server-3.6.0:= )
|
||||
goffice? ( >=x11-libs/goffice-0.10.2:0.10 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.0.0:= )
|
||||
map? ( >=media-libs/libchamplain-0.12:0.12 )
|
||||
plugins? (
|
||||
collab? (
|
||||
>=dev-libs/libxml2-2.4:2
|
||||
>=net-libs/loudmouth-1
|
||||
net-libs/libsoup:2.4
|
||||
net-libs/gnutls:= )
|
||||
grammar? ( >=dev-libs/link-grammar-4.2.1 )
|
||||
math? ( >=x11-libs/gtkmathview-0.7.5 )
|
||||
ots? ( >=app-text/ots-0.5-r1 )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
thesaurus? ( >=app-text/aiksaurus-1.2[gtk] )
|
||||
wordperfect? (
|
||||
app-text/libwpd:0.10
|
||||
app-text/libwpg:0.3 )
|
||||
wmf? ( >=media-libs/libwmf-0.2.8 )
|
||||
)
|
||||
redland? (
|
||||
>=dev-libs/redland-1.0.10
|
||||
>=dev-libs/rasqal-0.9.17 )
|
||||
spell? ( >=app-text/enchant-1.2 )
|
||||
!<app-office/abiword-plugins-2.8
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
>=dev-libs/boost-1.40.0
|
||||
virtual/pkgconfig
|
||||
collab? ( dev-cpp/asio )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# http://bugzilla.abisource.com/show_bug.cgi?id=13842
|
||||
"${FILESDIR}"/${PN}-2.8.3-desktop.patch
|
||||
|
||||
# http://bugzilla.abisource.com/show_bug.cgi?id=13843
|
||||
"${FILESDIR}"/${PN}-2.6.0-boolean.patch
|
||||
|
||||
# http://bugzilla.abisource.com/show_bug.cgi?id=13844
|
||||
"${FILESDIR}"/${PN}-3.0.0-librevenge.patch
|
||||
|
||||
# http://bugzilla.abisource.com/show_bug.cgi?id=13845
|
||||
"${FILESDIR}"/${PN}-3.0.0-link-grammar-5-second.patch
|
||||
|
||||
# http://bugzilla.abisource.com/show_bug.cgi?id=13846
|
||||
"${FILESDIR}"/${PN}-3.0.0-libwp.patch
|
||||
"${FILESDIR}"/${PN}-3.0.1-libwps-0.4.patch
|
||||
"${FILESDIR}"/${PN}-3.0.1-fixwps.patch
|
||||
|
||||
# http://bugzilla.abisource.com/show_bug.cgi?id=13847
|
||||
"${FILESDIR}"/${PN}-3.0.2-fix-installing-readme.patch
|
||||
|
||||
# http://bugzilla.abisource.com/show_bug.cgi?id=13841
|
||||
"${FILESDIR}"/${PN}-3.0.2-fix-nullptr-c++98.patch
|
||||
|
||||
# http://bugzilla.abisource.com/show_bug.cgi?id=13815
|
||||
"${FILESDIR}"/${PN}-3.0.2-fix-black-drawing-regression.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local plugins=()
|
||||
|
||||
if use plugins; then
|
||||
# Plugins depending on libgsf
|
||||
plugins=(t602 docbook clarisworks wml kword hancom openwriter pdf
|
||||
loadbindings mswrite garble pdb applix opendocument sdw xslfo)
|
||||
|
||||
# Plugins depending on librsvg
|
||||
plugins+=(svg)
|
||||
|
||||
# Plugins not depending on anything
|
||||
plugins+=(gimp bmp freetranslation iscii s5 babelfish opml eml wikipedia
|
||||
gdict passepartout google presentation urldict hrtext mif openxml)
|
||||
|
||||
# inter7eps: eps.h
|
||||
# libtidy: gsf + tidy.h
|
||||
# paint: windows only ?
|
||||
use collab && plugins+=(collab)
|
||||
use goffice && plugins+=(goffice)
|
||||
use latex && plugins+=(latex)
|
||||
use math && plugins+=(mathview)
|
||||
use ots && plugins+=(ots)
|
||||
# psion: >=psiconv-0.9.4
|
||||
use readline && plugins+=(command)
|
||||
use thesaurus && plugins+=(aiksaurus)
|
||||
use wmf && plugins+=(wmf)
|
||||
# wordperfect: >=wpd-0.9 >=wpg-0.2
|
||||
use wordperfect && plugins+=(wpg)
|
||||
fi
|
||||
|
||||
gnome2_src_configure \
|
||||
--enable-plugins="${plugins[*]}" \
|
||||
--disable-static \
|
||||
--disable-default-plugins \
|
||||
--disable-builtin-plugins \
|
||||
--disable-collab-backend-telepathy \
|
||||
--enable-clipart \
|
||||
--enable-statusbar \
|
||||
--enable-templates \
|
||||
--with-gio \
|
||||
--without-gnomevfs \
|
||||
--without-gtk2 \
|
||||
$(use_enable debug) \
|
||||
$(use_with goffice goffice) \
|
||||
$(use_with calendar libical) \
|
||||
$(use_enable cups print) \
|
||||
$(use_enable collab collab-backend-xmpp) \
|
||||
$(use_enable collab collab-backend-tcp) \
|
||||
$(use_enable collab collab-backend-service) \
|
||||
$(use_with eds evolution-data-server) \
|
||||
$(use_enable introspection) \
|
||||
$(use_with map champlain) \
|
||||
$(use_with redland) \
|
||||
$(use_enable spell)
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
From cec2fda355b67b5b814a803c5ed128c425cbb030 Mon Sep 17 00:00:00 2001
|
||||
From: Hubert Figuiere <hub@figuiere.net>
|
||||
Date: Thu, 8 Dec 2016 02:03:10 +0000
|
||||
Subject: [PATCH] Bug 13815 - draw event should return TRUE
|
||||
|
||||
This fix the black drawing regression with Gtk3.22
|
||||
|
||||
git-svn-id: svn+ssh://svn.abisource.com/svnroot/abiword/branches/ABI-3-0-0-STABLE@35394 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
|
||||
---
|
||||
src/af/xap/gtk/xap_UnixFrameImpl.cpp | 6 +++---
|
||||
src/af/xap/gtk/xap_UnixFrameImpl.h | 4 ++--
|
||||
2 files changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/src/af/xap/gtk/xap_UnixFrameImpl.cpp b/src/af/xap/gtk/xap_UnixFrameImpl.cpp
|
||||
index 780000e..10f8e00 100644
|
||||
--- a/src/af/xap/gtk/xap_UnixFrameImpl.cpp
|
||||
+++ b/src/af/xap/gtk/xap_UnixFrameImpl.cpp
|
||||
@@ -1208,9 +1208,9 @@ gint XAP_UnixFrameImpl::_fe::delete_event(GtkWidget * w, GdkEvent * /*event*/, g
|
||||
}
|
||||
|
||||
#if GTK_CHECK_VERSION(3,0,0)
|
||||
-gint XAP_UnixFrameImpl::_fe::draw(GtkWidget * w, cairo_t * cr)
|
||||
+gboolean XAP_UnixFrameImpl::_fe::draw(GtkWidget * w, cairo_t * cr)
|
||||
#else
|
||||
-gint XAP_UnixFrameImpl::_fe::expose(GtkWidget * w, GdkEventExpose* pExposeEvent)
|
||||
+gboolean XAP_UnixFrameImpl::_fe::expose(GtkWidget * w, GdkEventExpose* pExposeEvent)
|
||||
#endif
|
||||
{
|
||||
XAP_UnixFrameImpl * pUnixFrameImpl = static_cast<XAP_UnixFrameImpl *>(g_object_get_data(G_OBJECT(w), "user_data"));
|
||||
@@ -1243,7 +1243,7 @@ gint XAP_UnixFrameImpl::_fe::expose(GtkWidget * w, GdkEventExpose* pExposeEvent)
|
||||
pView->draw(&rClip);
|
||||
#endif
|
||||
}
|
||||
- return FALSE;
|
||||
+ return TRUE;
|
||||
}
|
||||
|
||||
static bool bScrollWait = false;
|
||||
diff --git a/src/af/xap/gtk/xap_UnixFrameImpl.h b/src/af/xap/gtk/xap_UnixFrameImpl.h
|
||||
index 30ee5d8..a0ff57f 100644
|
||||
--- a/src/af/xap/gtk/xap_UnixFrameImpl.h
|
||||
+++ b/src/af/xap/gtk/xap_UnixFrameImpl.h
|
||||
@@ -152,9 +152,9 @@ class XAP_UnixFrameImpl : public XAP_FrameImpl
|
||||
static gint key_release_event(GtkWidget* w, GdkEventKey* e);
|
||||
static gint delete_event(GtkWidget * w, GdkEvent * /*event*/, gpointer /*data*/);
|
||||
#if GTK_CHECK_VERSION(3,0,0)
|
||||
- static gint draw(GtkWidget * w, cairo_t * cr);
|
||||
+ static gboolean draw(GtkWidget * w, cairo_t * cr);
|
||||
#else
|
||||
- static gint expose(GtkWidget * w, GdkEventExpose* pExposeEvent);
|
||||
+ static gboolean expose(GtkWidget * w, GdkEventExpose* pExposeEvent);
|
||||
#endif
|
||||
static gint do_ZoomUpdate( gpointer /* xap_UnixFrame * */ p);
|
||||
static void vScrollChanged(GtkAdjustment * w, gpointer /*data*/);
|
@ -1,2 +1 @@
|
||||
DIST dia2code-0.8.7.tar.gz 173733 SHA256 bebeeea56370bea416241128502144736d54d560b32d875174c5927089843adf SHA512 b02eea93488ab388aa6560ed62aef68d8d0f33e8ebf0237122d5038fd007dd1035180bcfe818edbdeb825d7767553d5c8f115acf57fce8085676cfbf6cb821e3 WHIRLPOOL 43e68f100ceca7acbd062847150086fa7c25edd5c0a819970d5e676ed6037d5d3140807cd57a0784d45cc863178521d721015b253bd745d37c73cb037fbbfa7b
|
||||
DIST dia2code-0.8.8.tar.gz 480548 SHA256 b7431a3f8a9f703397e4b849f304897a2c7150a378fe6069ae17cd2bfc1e6294 SHA512 15dfbad66fc7855f0ccc31cfd32488de13380653dcd72a7a47cfcec60727aea265373da3b829f2bb62c4aade5cb06b0cb884fa29b197545a5268b03c75e717a2 WHIRLPOOL 2cbdfaab1e733c4752ca7457a2763b539a1ed48eb351e6bd62264757fa862a11dc1f012a8d957cd05d3e199e88649b2b9c68cf8058e1da52ddc070053e35d6ba
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Convert UML diagrams produced with Dia to various source code flavours"
|
||||
HOMEPAGE="http://dia2code.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ia64 ~ppc ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/libxml2"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
doman dia2code.1
|
||||
}
|
@ -1 +1 @@
|
||||
DIST psh-1.8.1.tar.gz 120036 SHA256 9c6d276f98a3e62086bda76e1eddc0eaba6b003b903c94261bd53e80700ef88f SHA512 20ac6d6d39ff0820eee6314e73c02f18b9362ef3dde6e2c6cd68094d1ebc435d26bf3528e858042b95372916821077e5a4e5d4b376aac68caf6d8fc629a61c07 WHIRLPOOL 10d2005aa0a551823d82e475bb10d7619dfde21fc39dbee37989e08c4f8fd59b0a44ba3ea70157e55db80388ff4af099afe073c91bf0f3e95065e62f97539c95
|
||||
DIST psh-1.8.1-r3.tar.gz 120552 SHA256 c8414c4381a6a715800a7b59c39276d1f19087bf2e0b6a9b950af4feaf7701a8 SHA512 01e9def98fa89f347ad540cbb0584773de4b7e11595432d7b8e1f1a563725004b898a5fd30f39b01de661ac6ec3274b6cfecdbd7f0bec3fe175119493163ca9a WHIRLPOOL 378aba28927a747560fa8cf6513900f93e473d1d2e5bcff4e87ed2d8c9c84daab1a86887aa2d774d3616ef541e23607bc59123d4adc584b66fbdfa4e75fa4d2d
|
||||
|
@ -0,0 +1,37 @@
|
||||
From fec038344e05b4fe1b369a979b9ab224343297dd Mon Sep 17 00:00:00 2001
|
||||
From: r <rocky@gnu.org>
|
||||
Date: Sun, 25 Mar 2012 18:17:45 -0400
|
||||
Subject: [PATCH] Get rid of 'Using an array as a reference is deprecated in
|
||||
Psh/StrategyBunch.pm'
|
||||
|
||||
---
|
||||
lib/Psh/Strategy/Darwin_apps.pm | 2 +-
|
||||
lib/Psh/Strategy/Executable.pm | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/lib/Psh/Strategy/Darwin_apps.pm b/lib/Psh/Strategy/Darwin_apps.pm
|
||||
index cbcbb1d..8c4879e 100644
|
||||
--- a/lib/Psh/Strategy/Darwin_apps.pm
|
||||
+++ b/lib/Psh/Strategy/Darwin_apps.pm
|
||||
@@ -44,7 +44,7 @@ sub _recursive_search {
|
||||
|
||||
|
||||
sub applies {
|
||||
- my $com= @{$_[2]}->[0];
|
||||
+ my $com= $_[2]->[0];
|
||||
if ($com !~ m/$Psh::which_regexp/) { return ''; }
|
||||
my $path=$ENV{APP_PATH}||'/Applications';
|
||||
my @path= split /:/, $path;
|
||||
diff --git a/lib/Psh/Strategy/Executable.pm b/lib/Psh/Strategy/Executable.pm
|
||||
index 7d09119..7767082 100644
|
||||
--- a/lib/Psh/Strategy/Executable.pm
|
||||
+++ b/lib/Psh/Strategy/Executable.pm
|
||||
@@ -24,7 +24,7 @@ sub runs_before {
|
||||
}
|
||||
|
||||
sub applies {
|
||||
- my $com= @{$_[2]}->[0];
|
||||
+ my $com= $_[2]->[0];
|
||||
my $executable= Psh::Util::which($com);
|
||||
return $executable if defined $executable;
|
||||
return '';
|
@ -1,5 +1,5 @@
|
||||
--- lib/Psh.pm 2007-07-21 16:40:44.000000000 +1200
|
||||
+++ lib/Psh.pm 2015-07-18 05:30:29.840928282 +1200
|
||||
--- a/lib/Psh.pm 2007-07-21 16:40:44.000000000 +1200
|
||||
+++ b/lib/Psh.pm 2015-07-18 05:30:29.840928282 +1200
|
||||
@@ -367,7 +367,7 @@
|
||||
|
||||
sub defined_and_nonempty
|
@ -1,5 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">gnp/psh</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Combines the interactive nature of a Unix shell with the power of Perl"
|
||||
HOMEPAGE="http://www.focusresearch.com/gregor/sw/psh/"
|
||||
SRC_URI="http://www.focusresearch.com/gregor/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
# Package warrants USE doc & examples
|
||||
IUSE="readline"
|
||||
|
||||
DEPEND="<dev-lang/perl-5.22.0"
|
||||
RDEPEND="<dev-lang/perl-5.22.0
|
||||
readline? (
|
||||
dev-perl/Term-ReadLine-Gnu
|
||||
dev-perl/TermReadKey )"
|
||||
|
||||
SRC_TEST="do parallel"
|
||||
myinst="SITEPREFIX=${D}/usr"
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
dodoc examples/complete-examples doc/*
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST convmv-1.15.tar.gz 27180 SHA256 c315aec78490b588000467d1c51081b36e629de0537c5a17fd48b1acaf8a5135 SHA512 b809f103da48d43f9c7fb6cb3e08a88e1c9b2a2ad691f9fcc4422b4e597c247b86fd0446c777e4c9911b4fad551cdc9fc88eff3a1d8cb4b001e164cc8387b900 WHIRLPOOL d7c3e3fbe918472d96f1cbc40b70f280a179a3c99cef07953c0723dfcba0e81ff383d918382b196d0525724dde650c4a480e5cc91c07f9452308a3eebd1567cc
|
||||
DIST convmv-2.0.tar.gz 29534 SHA256 170cf675be1fca77868ff472e9340ca828b1463865a63d4f4b7b3bf4053db93f SHA512 9f452551ab4ea7a45ec4e5d4e4d3c4fdb60cae49f048953d16df9ecd9ee3271c2d6748704f010af6ef312d7ce2079ae9c502e04d936419e29257f68596fc4f58 WHIRLPOOL c907bf99805e2afa7590043a291c7eaa19b681fecf9eb38314d41952edcea381f7e8bf1442226bd9c72122c3b0840e4c376f3947c4b2f65495287155a1353026
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="convert filenames to utf8 or any other charset"
|
||||
HOMEPAGE="http://j3e.de/linux/convmv"
|
||||
SRC_URI="http://j3e.de/linux/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/perl"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "1s|#!/usr|#!${EPREFIX}/usr|" convmv || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
|
||||
dodoc CREDITS Changes TODO VERSION
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unpack ./testsuite.tar
|
||||
|
||||
cd "${S}"/suite
|
||||
./dotests.sh || die "Tests failed"
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="convert filenames to utf8 or any other charset"
|
||||
HOMEPAGE="http://j3e.de/linux/convmv"
|
||||
SRC_URI="http://j3e.de/linux/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/perl"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "1s|#!/usr|#!${EPREFIX}/usr|" convmv || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install \
|
||||
|| die "einstall failed"
|
||||
dodoc CREDITS Changes TODO VERSION
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unpack ./testsuite.tar
|
||||
|
||||
cd "${S}"/suite
|
||||
./dotests.sh || die "Tests failed"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST iso-codes-3.63.tar.xz 3773672 SHA256 60600e56952dc92b3a8cd8a7044348f7cfa35be528bab2491c3c18582fb5277f SHA512 31b5142611e2050a9bfb95cd12d962b8cbe01824f1202e70ca40d9cd178a5fd17557eac3fcc59dd0b94baf2656caeef09c50332cd2a8d0e1bb14c82c154e06ae WHIRLPOOL bbe3c5474ba3fc22243a9b6bea9c6b43dccd5a2230ee59b07e4484e06ccba4be977dfa1e16014b18d4cae5393a50099e3a12b13747e9970c4e605df8b4e002be
|
||||
DIST iso-codes-3.68.tar.xz 3448584 SHA256 5881cf7caa5adfffb14ade99138949324c28a277babe8d07dafbff521acef9d1 SHA512 77abd3437fe66635cf52dbe065def9ff229a4bce20eb1167ccc825c934db57b4acc8112f99bdca6313324d850549cd9ead7556e0540c2b4e80cad9715613cec2 WHIRLPOOL 5b905d4711ea5f3af29418829bcfbb94172336f548e125005a15f5e8963bee55f21d6c44542037d006bee06748db13f8a30b8474163c0bfa816dca9fa9e46ed5
|
||||
DIST iso-codes-3.70.tar.xz 3452288 SHA256 41e2fbaec2ed57e767b94f175d0dcd31b627aeb23b75cd604605a6fb6109d61f SHA512 59238008b320a739afd1cdf689f2c163d233e3fadfe9ab038bdad2502e866185867edab9f46fd078a6d46f4431267e614d0dd3b597ba17fdda95004bbaf5dd4a WHIRLPOOL e9a5dab29699386be3c3a2b16e925aa4741c260a782b2fbb88ef180682feb9f05dc6f0b88920a00c299f671677de0f5d19e61a88c9b0299c7e566a732125ab79
|
||||
DIST iso-codes-3.74.tar.xz 3455148 SHA256 21f4f3cea8fe09f5b53784522303a0e1e7d083964ecaf1c75b1441d4d9ec6aee SHA512 b4d583a6aee331c2cdf7cdd68a0ef5e7c3b291c4afa9a9a636e9fe2aef54e784cec070f5b8fafb31e8c84b278e1a9b08d7f925187882f7382378b66778e0d9cb WHIRLPOOL 0e83c3c7fcc3f21b1b5aacd003c65550dc896cb3bb4eff0fc8a5719870a7ce4ce3fe2da8ea6e3a5ab47512d3137a1b331c2880999534d82c34b5bbf1a91d3663
|
||||
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_{4,5} )
|
||||
PLOCALES="af am ar as ast az be bg bn bn_IN br bs byn ca crh cs cy da de dz el en eo es et eu fa fi fo fr ga gez gl gu haw he hi hr hu hy ia id is it ja ka kk km kn ko kok ku lt lv mi mk ml mn mr ms mt nb ne nl nn nso oc or pa pl ps pt pt_BR ro ru rw si sk sl so sq sr sr@latin sv sw ta te th ti tig tk tl tr tt tt@iqtelif ug uk ve vi wa wal wo xh zh_CN zh_HK zh_TW zu"
|
||||
|
||||
inherit eutils l10n python-any-r1
|
||||
|
||||
DESCRIPTION="ISO language, territory, currency, script codes and their translations"
|
||||
HOMEPAGE="http://pkg-isocodes.alioth.debian.org/"
|
||||
SRC_URI="http://pkg-isocodes.alioth.debian.org/downloads/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
app-arch/xz-utils
|
||||
sys-devel/gettext
|
||||
"
|
||||
|
||||
# This ebuild does not install any binaries.
|
||||
RESTRICT="binchecks strip"
|
||||
|
||||
# l10n_find_plocales_changes doesn't support multiple directories,
|
||||
# so need to do the update scan ourselves.
|
||||
check_existing_locales() {
|
||||
local std loc all_locales=()
|
||||
|
||||
ebegin "Looking for new locales"
|
||||
for std in "${all_stds[@]}"; do
|
||||
pushd "${std}" >/dev/null || die
|
||||
for loc in *.po; do
|
||||
all_locales+=( "${loc%.po}" )
|
||||
done
|
||||
popd >/dev/null
|
||||
done
|
||||
|
||||
all_locales=$(echo $(printf '%s\n' "${all_locales[@]}" | LC_COLLATE=C sort -u))
|
||||
if [[ ${PLOCALES} != "${all_locales}" ]]; then
|
||||
eend 1
|
||||
eerror "There are changes in locales! This ebuild should be updated to:"
|
||||
eerror "PLOCALES=\"${all_locales}\""
|
||||
die "Update PLOCALES in the ebuild"
|
||||
else
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local std loc mylinguas
|
||||
local all_stds=( iso_15924 iso_3166-{1,2,3} iso_4217 iso_639-{2,3,5} )
|
||||
|
||||
check_existing_locales
|
||||
|
||||
# Modify the Makefiles so they only install requested locales.
|
||||
for std in "${all_stds[@]}"; do
|
||||
einfo "Preparing ${std} ..."
|
||||
pushd "${std}" >/dev/null || die
|
||||
mylinguas=()
|
||||
for loc in *.po; do
|
||||
if use "linguas_${loc%.po}"; then
|
||||
mylinguas+=( "${loc}" )
|
||||
fi
|
||||
done
|
||||
|
||||
sed \
|
||||
-e "/^pofiles =/s:=.*:= ${mylinguas[*]}:" \
|
||||
-e "/^mofiles =/s:=.*:= ${mylinguas[*]/%.po/.mo}:" \
|
||||
-i Makefile.am Makefile.in || die "sed in ${std} folder failed"
|
||||
popd >/dev/null
|
||||
done
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
# JadeTeX
|
||||
jadetex pdftex language.dat -translate-file=cp227.tcx &latex jadetex.ini
|
||||
pdfjadetex pdftex language.dat -translate-file=cp227.tcx &pdflatex pdfjadetex.ini
|
||||
jadetex pdftex language.dat -translate-file=cp227.tcx \&latex jadetex.ini
|
||||
pdfjadetex pdftex language.dat -translate-file=cp227.tcx \&pdflatex pdfjadetex.ini
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils fdo-mime
|
||||
|
||||
MY_PV=${PV/%[[:alpha:]]/}
|
||||
|
||||
DESCRIPTION="LaTeX editor based on Bluefish"
|
||||
HOMEPAGE="http://winefish.berlios.de/"
|
||||
#SRC_URI="mirror://berlios/${PN}/${P}.tgz"
|
||||
SRC_URI="mirror://gentoo/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="spell"
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-2.4:2
|
||||
>=dev-libs/libpcre-6.3
|
||||
spell? ( app-text/aspell )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-nostrip.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --disable-update-databases
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" docdir=/usr/share/doc/${PF}/html || die "emake install failed"
|
||||
dodoc AUTHORS CHANGES README ROADMAP THANKS TODO
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
elog "You need to emerge a TeX distribution to gain winefish's full capacity"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue