parent
5296fa11c7
commit
6a8eb2de06
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnome-phone-manager/gnome-phone-manager-0.69.ebuild,v 1.5 2014/02/22 21:00:57 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="yes"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit autotools eutils gnome2
|
||||
|
||||
DESCRIPTION="A program created to allow you to control aspects of your mobile phone from your GNOME desktop"
|
||||
HOMEPAGE="http://live.gnome.org/PhoneManager"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
IUSE="gnome"
|
||||
# telepathy support is considered experimental
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.31.0:2
|
||||
>=x11-libs/gtk+-3:3
|
||||
>=gnome-base/orbit-2
|
||||
>=gnome-base/gconf-2:2
|
||||
>=gnome-extra/evolution-data-server-3.6
|
||||
media-libs/libcanberra[gtk3]
|
||||
>=app-mobilephone/gnokii-0.6.28[bluetooth]
|
||||
net-wireless/bluez
|
||||
dev-libs/dbus-glib
|
||||
dev-libs/openobex
|
||||
media-libs/libcanberra[gtk]
|
||||
>=x11-themes/gnome-icon-theme-2.19.1
|
||||
>=net-wireless/gnome-bluetooth-3.3:2"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/intltool-0.35.5
|
||||
virtual/pkgconfig
|
||||
gnome-base/gnome-common"
|
||||
# gnome-common needed for eautoreconf
|
||||
|
||||
src_prepare() {
|
||||
# Fix eds-3.6 building, upstream bug #680927
|
||||
epatch "${FILESDIR}"/0001-Adapt-to-Evolution-Data-Server-API-changes.patch
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
$(use_enable gnome bluetooth-plugin) \
|
||||
--disable-telepathy \
|
||||
--disable-static
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST gentoo-zsh-completions-20141115.tar.xz 19672 SHA256 8da688b38065728056a0557971894668657c029bf1127521eb088268c421bc27 SHA512 23debde6227574285ba123ad312db535d40813de686ef4c89f1e4cd9acb3c1ab63f5094194a50e6d272ad9ce3fa1ec6ef0bf4cf93424e2ec7adcb4c74572e420 WHIRLPOOL d22a5e897d4eb48e7191172f9da40c23b84f9fade10fb383e251562522b7b96c918af2de047a1a88ac385e13a6d0dc86fc1292dc9b7d5ad42696d48b618f6c21
|
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh-completion/zsh-completion-99999999.ebuild,v 1.1 2013/02/07 20:54:33 radhermit Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/gentoo-zsh-completions/gentoo-zsh-completions-99999999.ebuild,v 1.2 2014/11/21 09:50:20 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit git-2
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/zsh-completion.git"
|
||||
|
@ -1,2 +0,0 @@
|
||||
DIST zsh-completion-20080310.tar.bz2 18625 SHA256 3de95b5af52f24c21b77f7baf3c6515d908beae02141b26ffd02d9afb2ea4b64 SHA512 021e963aa3569e9b5243967aa726e981e9f516df768afab15e548a27c934525977f55bea50c7d2a036770b9f00bf4b85ffaae5f9b8cba8bb936c32fd6efc719e WHIRLPOOL e68a8270b391fdb51c927eeb0890e1b1950462b9241d4020efdc6bc470d709e391382c1ce170de3b090227788f8a3e60eb7a0a18007f1a19dd15b788cc9065b2
|
||||
DIST zsh-completion-20130808.tar.bz2 15076 SHA256 9954f35bfbf5afa7aa312fb9f5850280e0ee57881157f5119a25de9536f23f40 SHA512 c36a488cb2c886b5835b8de149e0c3c4578b88d8637132a8bb12a6f72120a984b1bddb956cc92aaeb163cb793a0317d19b248d7541f23f7b34c1e4651fda072a WHIRLPOOL 7e05a42615bb68d0ddf77e1bb391fe64389b9c9a72639ad16816a1390dbf53357a94a70bb4d5049e1d674869c3293e578c12db8bd760c8fef61f237caa86b15c
|
@ -1,63 +0,0 @@
|
||||
diff -Naur zsh-completion-20080310.old/_eix zsh-completion-20080310/_eix
|
||||
--- zsh-completion-20080310.old/_eix 2008-03-10 14:25:10.000000000 +0100
|
||||
+++ zsh-completion-20080310/_eix 2009-12-04 01:15:05.000000000 +0100
|
||||
@@ -19,6 +19,14 @@
|
||||
'--dump[dump variables to stdout]'
|
||||
'--dump-defaults[dump default values of variables]'
|
||||
'--print[print the expanded value of a variable]'
|
||||
+ '--print-all-useflags[print all IUSE words used in some version]'
|
||||
+ '--print-all-keywords[print all KEYWORDS used in some version]'
|
||||
+ '--print-all-slots[print all SLOT strings used in some version]'
|
||||
+ '--print-all-provides[print all PROVIDE strings used in some package]'
|
||||
+ '--print-all-licenses[print all LICENSE strings used in some package]'
|
||||
+ '--print-world-sets[print the world sets]'
|
||||
+ '--print-overlay-path[print the path of specified overlay]'
|
||||
+ '--print-overlay-label[print label of specified overlay]'
|
||||
)
|
||||
|
||||
global_special=(
|
||||
@@ -55,6 +63,12 @@
|
||||
'--testing[Match packages with a testing or stable version]'
|
||||
'--non-masked[Match packages with a non-masked version]'
|
||||
'--system[Match system packages]'
|
||||
+ '--installed-unstable[Match packages with a non-stable installed version]'
|
||||
+ '--installed-testing[Match packages with a testing installed version]'
|
||||
+ '--installed-masked[Match packages with a masked installed version]'
|
||||
+ '--world[Match world packages]'
|
||||
+ '--world-all[Match packages of world or of a world set]'
|
||||
+ '--world-set[Match packages of a world set]'
|
||||
{'(--overlay)-O','(-O)--overlay'}'[Match packages from overlays]'
|
||||
'--in-overlay[OVERLAY Match packages from OVERLAY]'
|
||||
'--only-in-overlay[OVERLAY Match packages only in OVERLAY]'
|
||||
@@ -62,8 +76,19 @@
|
||||
'--installed-from-overlay[OVERLAY Packages installed from OVERLAY]'
|
||||
'--installed-in-some-overlay[Packages with an installed version provided by some overlay]'
|
||||
'--installed-in-overlay[OVERLAY Packages with an installed version provided from OVERLAY]'
|
||||
- '--fetch[Match packages with a fetch restriction]'
|
||||
- '--mirror[Match packages with a mirror restriction]'
|
||||
+ '--restrict-fetch[Match packages with a fetch restriction]'
|
||||
+ '--restrict-mirror[Match packages with a mirror restriction]'
|
||||
+ '--restrict-primaryuri[Match packages with RESTRICT=primaryuri]'
|
||||
+ '--restrict-binchecks[Match packages with RESTRICT=binchecks]'
|
||||
+ '--restrict-strip[Match packages with RESTRICT=strip]'
|
||||
+ '--restrict-test[Match packages with RESTRICT=test]'
|
||||
+ '--restrict-userpriv[Match packages with RESTRICT=userpriv]'
|
||||
+ '--restrict-installsources[Match packages with RESTRICT=installsources]'
|
||||
+ '--restrict-bindist[Match packages with RESTRICT=bindist]'
|
||||
+ '--properties-interactive[Match packages with PROPERTIES=interactive]'
|
||||
+ '--properties-live[Match packages with PROPERTIES=live]'
|
||||
+ '--properties-virtual[ Match packages with PROPERTIES=virtual]'
|
||||
+ '--properties-set[Match packages with PROPERTIES=set]'
|
||||
{'(--test-obsolete)-T','(-T)--test-obsolete'}'[Match packages with obsolete entries in /etc/portage/package.*]'
|
||||
{'(--not)-!','(-!)--not'}'[(toggle) Invert the expression]'
|
||||
{'(--pipe)-\\|','(-\\|)--pipe'}'[Use input from pipe of emerge -pv]'
|
||||
@@ -85,6 +110,9 @@
|
||||
local_type_of_pattern=(
|
||||
{'(--regex)-r','(-r)--regex'}'[Pattern is a regexp (default)]'
|
||||
{'(--exact)-e','(-e)--exact'}'[Pattern is the exact string]'
|
||||
+ {'(--substring)-z','(-z)--substring'}'[Pattern is a substring]'
|
||||
+ {'(--begin)-b','(-b)--begin'}'[Pattern is the beginning of the string]'
|
||||
+ '--end[Pattern is the end of the string]'
|
||||
{'(--pattern)-p','(-p)--pattern'}'[Pattern is a wildcards-pattern]'
|
||||
{'(--fuzzy)-f','(-f)--fuzzy'}'[Use fuzzy-search with a max. levenshtein-distance m (default: 2)]'
|
||||
)
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh-completion/zsh-completion-20091203-r1.ebuild,v 1.5 2012/06/04 22:17:40 alexxy Exp $
|
||||
|
||||
MY_PV="20080310"
|
||||
DESCRIPTION="Programmable Completion for zsh (includes emerge and ebuild commands)"
|
||||
HOMEPAGE="http://gentoo.org"
|
||||
SRC_URI="mirror://gentoo/${PN}-${MY_PV}.tar.bz2"
|
||||
|
||||
LICENSE="ZSH"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=app-shells/zsh-4.3.5"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${PN}-${MY_PV}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
rm _eix
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins _*
|
||||
|
||||
dodoc AUTHORS
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "If you happen to compile your functions, you may need to delete"
|
||||
elog "~/.zcompdump{,.zwc} and recompile to make zsh-completion available"
|
||||
elog "to your shell."
|
||||
elog
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST zsh-completions-0.12.0.tar.gz 193410 SHA256 770d92749b11b22192595b207208508f8bfa319d5d03210a71bc44c8b9cfa0d5 SHA512 3c6b19f10d9598f40cf37ca5c5828e5652b0cad144d48ca681f5a16c1921c308f8cd3d9b8a2dd1c50ddbf167d4bb2e2e5299d1e30591971f4c7d9b28c2250feb WHIRLPOOL 7c5a1cb45d2e045fb0f8eb64deb8d87cab506f11b94996b9ff6cb169fd20672040bdc624de78a58ab5908d2222130de93a179a8e00d5aa75365af0ab0566852a
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>radhermit@gentoo.org</email>
|
||||
<name>Tim Harder</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>mrueg@gentoo.org</email>
|
||||
<name>Manuel Rüger</name>
|
||||
<description>CC on bugs</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh-completions/zsh-completions-0.12.0.ebuild,v 1.1 2014/11/21 10:28:13 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/zsh-users/zsh-completions.git"
|
||||
else
|
||||
SRC_URI="https://github.com/zsh-users/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Additional completion definitions for Zsh"
|
||||
HOMEPAGE="https://github.com/zsh-users/zsh-completions"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="app-shells/zsh"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins src/_*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "If you happen to compile your functions, you may need to delete"
|
||||
elog "~/.zcompdump{,.zwc} and recompile to make the new completions available"
|
||||
elog "to your shell."
|
||||
elog
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh-completions/zsh-completions-9999.ebuild,v 1.1 2014/11/21 10:28:13 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/zsh-users/zsh-completions.git"
|
||||
else
|
||||
SRC_URI="https://github.com/zsh-users/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Additional completion definitions for Zsh"
|
||||
HOMEPAGE="https://github.com/zsh-users/zsh-completions"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="app-shells/zsh"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins src/_*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "If you happen to compile your functions, you may need to delete"
|
||||
elog "~/.zcompdump{,.zwc} and recompile to make the new completions available"
|
||||
elog "to your shell."
|
||||
elog
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libgnomeuimm/libgnomeuimm-2.28.0.ebuild,v 1.8 2012/05/04 03:44:58 jdhore Exp $
|
||||
|
||||
inherit gnome2 eutils
|
||||
|
||||
DESCRIPTION="C++ bindings for libgnomeui"
|
||||
HOMEPAGE="http://www.gtkmm.org"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="2.6"
|
||||
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=gnome-base/libgnomeui-2.7.1
|
||||
>=dev-cpp/libgnomemm-2.16.0
|
||||
>=dev-cpp/libgnomecanvasmm-2.6
|
||||
>=dev-cpp/gconfmm-2.6
|
||||
>=dev-cpp/libglademm-2.4
|
||||
>=dev-cpp/gnome-vfsmm-2.16"
|
||||
|
||||
DEPEND="virtual/pkgconfig
|
||||
${RDEPEND}"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS INSTALL TODO"
|
@ -0,0 +1,168 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.4_rc1.ebuild,v 1.1 2014/11/21 05:46:43 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_{6,7},3_{2,3,4}} )
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib prefix python-single-r1 versionator
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
S="${WORKDIR}/postgresql-${MY_PV}"
|
||||
SRC_URI="mirror://postgresql/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2
|
||||
http://dev.gentoo.org/~patrick/postgresql-patches-${SLOT}.tbz2"
|
||||
|
||||
LICENSE="POSTGRESQL"
|
||||
DESCRIPTION="PostgreSQL libraries and clients"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
|
||||
# No tests to be done for clients and libraries
|
||||
RESTRICT="test"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
|
||||
IUSE="doc kerberos ldap nls pam pg_legacytimestamp python readline ssl threads zlib"
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
RDEPEND="
|
||||
>=app-admin/eselect-postgresql-1.2.0
|
||||
sys-apps/less
|
||||
virtual/libintl
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline )
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1 )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/autoconf.patch" \
|
||||
"${WORKDIR}/base.patch" \
|
||||
"${WORKDIR}/bool.patch" \
|
||||
"${WORKDIR}/run-dir.patch"
|
||||
|
||||
eprefixify src/include/pg_config_manual.h
|
||||
|
||||
# to avoid collision - it only should be installed by server
|
||||
rm "${S}/src/backend/nls.mk"
|
||||
|
||||
# because psql/help.c includes the file
|
||||
ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die
|
||||
|
||||
if use pam ; then
|
||||
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
|
||||
-i src/backend/libpq/auth.c \
|
||||
|| die 'PGSQL_PAM_SERVICE rename failed.'
|
||||
fi
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
econf \
|
||||
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--without-tcl \
|
||||
--without-perl \
|
||||
$(use_with readline) \
|
||||
$(use_with kerberos gssapi) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")" \
|
||||
$(use_with pam) \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_with python) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with zlib) \
|
||||
$(use_with ldap)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
cd "${S}/contrib"
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
insinto /usr/include/postgresql-${SLOT}/postmaster
|
||||
doins "${S}"/src/include/postmaster/*.h
|
||||
|
||||
dodir /usr/share/postgresql-${SLOT}/man/
|
||||
cp -r "${S}"/doc/src/sgml/man{1,7} "${ED}"/usr/share/postgresql-${SLOT}/man/ || die
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}.1
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,7}
|
||||
|
||||
# Don't use ${PF} here as three packages
|
||||
# (dev-db/postgresql-{docs,base,server}) have the same set of docs.
|
||||
insinto /usr/share/doc/postgresql-${SLOT}
|
||||
doins README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
cd "${S}/contrib"
|
||||
emake DESTDIR="${D}" install
|
||||
cd "${S}"
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
keepdir /etc/postgresql-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.4_rc1.ebuild,v 1.1 2014/11/21 05:47:30 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit versionator
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DESCRIPTION="PostgreSQL documentation"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
LICENSE="POSTGRESQL"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
# Comment the following four lines when not a beta or rc.
|
||||
MY_PV="${PV//_}"
|
||||
#MY_FILE_PV="${SLOT}$(get_version_component_range 4)"
|
||||
S="${WORKDIR}/postgresql-${MY_PV}"
|
||||
SRC_URI="mirror://postgresql/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2"
|
||||
|
||||
# Comment the following two lines when a beta or rc.
|
||||
#S="${WORKDIR}/postgresql-${PV}"
|
||||
#SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
tar xjf "${DISTDIR}/${A}" -C "${WORKDIR}" "${A%.tar.bz2}/doc"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Don't use ${PF} here as three packages
|
||||
# (dev-db/postgresql-{docs,base,server}) have the same set of docs.
|
||||
local mypath=/usr/share/doc/postgresql-${SLOT}
|
||||
|
||||
cd "${S}/doc"
|
||||
|
||||
insinto ${mypath}/html
|
||||
doins src/sgml/html/*
|
||||
|
||||
insinto ${mypath}/sgml
|
||||
doins src/sgml/*.{sgml,dsl}
|
||||
|
||||
insinto ${mypath}/sgml/ref
|
||||
doins src/sgml/ref/*.sgml
|
||||
|
||||
fowners root:0 -R ${mypath}
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/docs"
|
||||
}
|
@ -0,0 +1,360 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.4_rc1.ebuild,v 1.1 2014/11/21 05:48:23 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
PYTHON_COMPAT=( python{2_{6,7},3_{2,3,4}} )
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib pam prefix python-single-r1 systemd user versionator
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
S="${WORKDIR}/postgresql-${MY_PV}"
|
||||
SRC_URI="mirror://postgresql/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2
|
||||
http://dev.gentoo.org/~patrick/postgresql-patches-${SLOT}-r1.tbz2
|
||||
http://dev.gentoo.org/~floppym/dist/postgresql-initscript-2.7.tbz2"
|
||||
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
DESCRIPTION="PostgreSQL server"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
|
||||
IUSE="doc kerberos kernel_linux nls pam perl -pg_legacytimestamp python selinux tcl test uuid xml"
|
||||
|
||||
for lingua in ${LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
CDEPEND="
|
||||
~dev-db/postgresql-base-${PV}[kerberos?,pam?,pg_legacytimestamp=,python=,nls=]
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
tcl? ( >=dev-lang/tcl-8 )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
sys-devel/flex
|
||||
xml? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
"
|
||||
|
||||
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/autoconf.patch" \
|
||||
"${WORKDIR}/bool.patch" \
|
||||
"${WORKDIR}/server.patch" \
|
||||
"${WORKDIR}/run-dir.patch"
|
||||
|
||||
eprefixify src/include/pg_config_manual.h
|
||||
|
||||
if use pam ; then
|
||||
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
|
||||
-i src/backend/libpq/auth.c \
|
||||
|| die 'PGSQL_PAM_SERVICE rename failed.'
|
||||
fi
|
||||
|
||||
if use perl ; then
|
||||
sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
|
||||
-i "${S}/src/pl/plperl/GNUmakefile" || die 'sed plperl failed'
|
||||
fi
|
||||
|
||||
if use test ; then
|
||||
sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress{,_main}.c \
|
||||
|| die 'Failed regress sed'
|
||||
else
|
||||
echo "all install:" > "${S}/src/test/regress/GNUmakefile"
|
||||
fi
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
-i "${WORKDIR}"/postgresql{.{init,confd,service},-check-db-dir} ||
|
||||
die "SLOT/LIBDIR sed failed"
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
# eval is needed to get along with pg_config quotation of space-rich entities.
|
||||
eval econf "$(${PO}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
|
||||
$(use_with perl) \
|
||||
$(use_with tcl) \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with uuid ossp-uuid) \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
--with-includes="${PO}/usr/include/postgresql-${SLOT}/" \
|
||||
--with-libraries="${PO}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)" \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bd
|
||||
for bd in . contrib $(use xml && echo contrib/xml2); do
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
|
||||
emake -C $bd || die "emake in $bd failed"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local bd
|
||||
for bd in . contrib $(use xml && echo contrib/xml2) ; do
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
|
||||
emake install -C $bd DESTDIR="${D}" || die "emake install in $bd failed"
|
||||
done
|
||||
|
||||
# Avoid file collision with -base.
|
||||
rm "${ED}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)/libpgcommon.a"
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/server"
|
||||
|
||||
newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT}
|
||||
newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT}
|
||||
|
||||
systemd_newunit "${WORKDIR}"/postgresql.service postgresql-${SLOT}.service
|
||||
systemd_newtmpfilesd "${WORKDIR}"/postgresql.tmpfilesd postgresql-${SLOT}.conf
|
||||
|
||||
insinto /usr/bin/
|
||||
newbin "${WORKDIR}"/postgresql-check-db-dir postgresql-${SLOT}-check-db-dir
|
||||
|
||||
use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir /run/postgresql
|
||||
fperms 0775 /run/postgresql
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "http://www.gentoo.org/doc/en/postgres-howto.xml"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}/run/postgresql/"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttp://www.gentoo.org/doc/en/postgres-howto.xml#doc_chap5"
|
||||
|
||||
ebegin "Resuming removal in 10 seconds (Control-C to cancel)"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
[[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] && source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z "${DATA_DIR}" ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source "${EROOT%/}/etc/env.d/02locale"
|
||||
[ -n "${LANG}" ] && export LANG
|
||||
[ -n "${LC_CTYPE}" ] && export LC_CTYPE
|
||||
[ -n "${LC_NUMERIC}" ] && export LC_NUMERIC
|
||||
[ -n "${LC_TIME}" ] && export LC_TIME
|
||||
[ -n "${LC_COLLATE}" ] && export LC_COLLATE
|
||||
[ -n "${LC_MONETARY}" ] && export LC_MONETARY
|
||||
[ -n "${LC_MESSAGES}" ] && export LC_MESSAGES
|
||||
[ -n "${LC_ALL}" ] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [ "$correct" != "true" ] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
[ -z "${PG_MAX_CONNECTIONS}" ] && PG_MAX_CONNECTIONS="128"
|
||||
einfo "Checking system parameters..."
|
||||
|
||||
if ! use kernel_linux ; then
|
||||
einfo "Skipped."
|
||||
einfo " Tests not supported on this OS (yet)"
|
||||
else
|
||||
if [ -z ${SKIP_SYSTEM_TESTS} ] ; then
|
||||
einfo "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections..."
|
||||
|
||||
local SEMMSL=$(sysctl -n kernel.sem | cut -f1)
|
||||
local SEMMNS=$(sysctl -n kernel.sem | cut -f2)
|
||||
local SEMMNI=$(sysctl -n kernel.sem | cut -f4)
|
||||
local SHMMAX=$(sysctl -n kernel.shmmax)
|
||||
|
||||
local SEMMSL_MIN=17
|
||||
local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 ))
|
||||
local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 ))
|
||||
local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) ))
|
||||
|
||||
for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do
|
||||
if [ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ] ; then
|
||||
eerror "The value for ${p} $(eval echo \$$p) is below the recommended value $(eval echo \$${p}_MIN)"
|
||||
eerror "You have now several options:"
|
||||
eerror " - Change the mentioned system parameter"
|
||||
eerror " - Lower the number of max.connections by setting PG_MAX_CONNECTIONS to a"
|
||||
eerror " value lower than ${PG_MAX_CONNECTIONS}"
|
||||
eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test completely"
|
||||
eerror "More information can be found here:"
|
||||
eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html"
|
||||
die "System test failed."
|
||||
fi
|
||||
done
|
||||
einfo "Passed."
|
||||
else
|
||||
ewarn "SKIP_SYSTEM_TESTS set, so skipping."
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Creating the data directory ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
|
||||
mv "${DATA_DIR%/}"/*.conf "${PGDATA}"
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
|
||||
einfo "by default. You can disable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo "mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
if [ ${UID} -ne 0 ] ; then
|
||||
emake check
|
||||
|
||||
einfo "If you think other tests besides the regression tests are necessary, please"
|
||||
einfo "submit a bug including a patch for this ebuild to enable them."
|
||||
else
|
||||
ewarn "Tests cannot be run as root. Skipping."
|
||||
ewarn "HINT: FEATURES=\"userpriv\""
|
||||
fi
|
||||
}
|
@ -0,0 +1,409 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-9.4_rc1.ebuild,v 1.1 2014/11/21 05:45:52 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_{6,7},3_{2,3,4}} )
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib pam prefix python-single-r1 systemd user versionator
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~ppc-macos ~sparc-fbsd ~x86-fbsd ~x86-solaris"
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
S="${WORKDIR}/postgresql-${MY_PV}"
|
||||
SRC_URI="mirror://postgresql/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2"
|
||||
|
||||
# Add patch and initscript source.
|
||||
SRC_URI+=" http://dev.gentoo.org/~floppym/dist/postgresql-initscript-2.7.tbz2"
|
||||
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
|
||||
IUSE="doc kerberos kernel_linux ldap nls pam perl -pg_legacytimestamp python +readline selinux server ssl static-libs tcl threads uuid xml zlib"
|
||||
|
||||
for lingua in ${LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
CDEPEND="
|
||||
>=app-admin/eselect-postgresql-1.2.0
|
||||
sys-apps/less
|
||||
virtual/libintl
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline )
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1 )
|
||||
tcl? ( >=dev-lang/tcl-8 )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
xml? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
!dev-db/postgresql-docs:${SLOT}
|
||||
!dev-db/postgresql-base:${SLOT}
|
||||
!dev-db/postgresql-server:${SLOT}
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Eliminate autotools version check
|
||||
sed '/m4_PACKAGE_VERSION/,+3d' -i configure.in || die
|
||||
|
||||
# Work around PPC{,64} compilation bug where bool is already defined
|
||||
sed '/#ifndef __cplusplus/a #undef bool' -i src/include/c.h || die
|
||||
|
||||
# Set proper run directory
|
||||
sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \
|
||||
-i src/include/pg_config_manual.h || die
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
-i "${WORKDIR}"/postgresql{.{init,confd,service},-check-db-dir} || \
|
||||
die "SLOT/LIBDIR sed failed"
|
||||
|
||||
use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
|
||||
|
||||
if use pam ; then
|
||||
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
|
||||
-i src/backend/libpq/auth.c || \
|
||||
die 'PGSQL_PAM_SERVICE rename failed.'
|
||||
fi
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
econf \
|
||||
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tcl) \
|
||||
$(use_with uuid ossp-uuid) \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with zlib) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
emake -C contrib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" install -C contrib
|
||||
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
# man pages are already built, but if we have the target make them,
|
||||
# they'll be generated from source before being installed so we
|
||||
# manually install man pages.
|
||||
# We use ${SLOT} instead of doman for postgresql.eselect
|
||||
insinto /usr/share/postgresql-${SLOT}/man/
|
||||
doins -r doc/src/sgml/man{1,3,7}
|
||||
if ! use server; then
|
||||
# Remove man pages for non-existent binaries
|
||||
for m in {initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}; do
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1"
|
||||
done
|
||||
fi
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7}
|
||||
|
||||
insinto /etc/postgresql-${SLOT}
|
||||
newins src/bin/psql/psqlrc.sample psqlrc
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
use static-libs || find "${ED}" -name '*.a' -delete
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc doc/src/sgml/html/*
|
||||
|
||||
docinto sgml
|
||||
dodoc doc/src/sgml/*.{sgml,dsl}
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT}
|
||||
newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT}
|
||||
|
||||
systemd_newunit "${WORKDIR}"/postgresql.service postgresql-${SLOT}.service
|
||||
systemd_newtmpfilesd "${WORKDIR}"/postgresql.tmpfilesd postgresql-${SLOT}.conf
|
||||
newbin "${WORKDIR}"/postgresql-check-db-dir postgresql-${SLOT}-check-db-dir
|
||||
|
||||
use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir /run/postgresql
|
||||
fperms 0775 /run/postgresql
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
|
||||
if use server ; then
|
||||
elog
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "https://wiki.gentoo.org/wiki/PostgreSQL"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}/run/postgresql/"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL#doc_chap5"
|
||||
|
||||
ebegin "Resuming removal in 10 seconds (Control-C to cancel)"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
use server || die "USE flag 'server' not enabled. Nothing to configure."
|
||||
|
||||
[[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] && source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z "${DATA_DIR}" ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source "${EROOT%/}/etc/env.d/02locale"
|
||||
[ -n "${LANG}" ] && export LANG
|
||||
[ -n "${LC_CTYPE}" ] && export LC_CTYPE
|
||||
[ -n "${LC_NUMERIC}" ] && export LC_NUMERIC
|
||||
[ -n "${LC_TIME}" ] && export LC_TIME
|
||||
[ -n "${LC_COLLATE}" ] && export LC_COLLATE
|
||||
[ -n "${LC_MONETARY}" ] && export LC_MONETARY
|
||||
[ -n "${LC_MESSAGES}" ] && export LC_MESSAGES
|
||||
[ -n "${LC_ALL}" ] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [ "$correct" != "true" ] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
[ -z "${PG_MAX_CONNECTIONS}" ] && PG_MAX_CONNECTIONS="128"
|
||||
einfo "Checking system parameters..."
|
||||
|
||||
if ! use kernel_linux ; then
|
||||
einfo "Skipped."
|
||||
einfo " Tests not supported on this OS (yet)"
|
||||
else
|
||||
if [ -z ${SKIP_SYSTEM_TESTS} ] ; then
|
||||
einfo "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections..."
|
||||
|
||||
local SEMMSL=$(sysctl -n kernel.sem | cut -f1)
|
||||
local SEMMNS=$(sysctl -n kernel.sem | cut -f2)
|
||||
local SEMMNI=$(sysctl -n kernel.sem | cut -f4)
|
||||
local SHMMAX=$(sysctl -n kernel.shmmax)
|
||||
|
||||
local SEMMSL_MIN=17
|
||||
local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 ))
|
||||
local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 ))
|
||||
local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) ))
|
||||
|
||||
for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do
|
||||
if [ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ] ; then
|
||||
eerror "The value for ${p} $(eval echo \$$p) is below the recommended value $(eval echo \$${p}_MIN)"
|
||||
eerror "You have now several options:"
|
||||
eerror " - Change the mentioned system parameter"
|
||||
eerror " - Lower the number of max.connections by setting PG_MAX_CONNECTIONS to a"
|
||||
eerror " value lower than ${PG_MAX_CONNECTIONS}"
|
||||
eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test completely"
|
||||
eerror "More information can be found here:"
|
||||
eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html"
|
||||
die "System test failed."
|
||||
fi
|
||||
done
|
||||
einfo "Passed."
|
||||
else
|
||||
ewarn "SKIP_SYSTEM_TESTS set, so skipping."
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Creating the data directory ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
|
||||
mv "${DATA_DIR%/}"/*.conf "${PGDATA}"
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
|
||||
einfo "by default. You can disable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo "mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
if use server && [[ ${UID} -ne 0 ]] ; then
|
||||
emake check
|
||||
|
||||
einfo "If you think other tests besides the regression tests are necessary, please"
|
||||
einfo "submit a bug including a patch for this ebuild to enable them."
|
||||
else
|
||||
use server || \
|
||||
ewarn 'Tests cannot be run without the "server" use flag enabled.'
|
||||
[[ ${UID} -eq 0 ]] || \
|
||||
ewarn 'Tests cannot be run as root. Enable "userpriv" in FEATURES.'
|
||||
|
||||
ewarn 'Skipping.'
|
||||
fi
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild,v 1.1 2014/11/21 11:42:50 blueness Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGIT_REPO_URI="https://github.com/bitcoin/secp256k1.git"
|
||||
inherit git-2 autotools
|
||||
|
||||
DESCRIPTION="Optimized C library for EC operations on curve secp256k1"
|
||||
HOMEPAGE="https://github.com/bitcoin/secp256k1"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="asm doc endomorphism test"
|
||||
|
||||
REQUIRED_USE="
|
||||
asm? ( amd64 )
|
||||
"
|
||||
RDEPEND="
|
||||
dev-libs/gmp
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/gcc-4.7
|
||||
asm? ( dev-lang/yasm )
|
||||
test? ( dev-libs/openssl )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-benchmark \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable endomorphism) \
|
||||
--with-field=$(usex asm 64bit_asm $(usex amd64 64bit gmp)) \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use doc; then
|
||||
dodoc README.md
|
||||
fi
|
||||
|
||||
emake DESTDIR="${D}" install
|
||||
prune_libtool_files
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>proxy-maintainers</herd>
|
||||
<maintainer>
|
||||
<email>blueness@gentoo.org</email>
|
||||
<name>Anthony G. Basile</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>luke-jr+gentoobugs@utopios.org</email>
|
||||
<name>Luke Dashjr</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name='asm'>Enable x86_64 assembly optimisation</flag>
|
||||
<flag name='endomorphism'>Enable endomorphism</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,41 +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/egg-python/egg-python-2.25.3.ebuild,v 1.11 2013/05/04 22:09:22 jlec Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
# We don't support the egg.recent bindings that are also provided - they are
|
||||
# deprecated, have deps we don't really want and there are no users in-tree.
|
||||
G_PY_PN="gnome-python-extras"
|
||||
G_PY_BINDINGS="eggtray"
|
||||
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
PYTHON_DEPEND="2"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit autotools eutils gnome-python-common
|
||||
|
||||
PVP="$(get_version_component_range 1-2)"
|
||||
SRC_URI="mirror://gnome/sources/${G_PY_PN}/${PVP}/${G_PY_PN}-${PV}.tar.bz2"
|
||||
|
||||
DESCRIPTION="EggTrayIcon bindings for Python"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND=">=dev-python/libbonobo-python-2.22.1
|
||||
>=dev-python/libgnome-python-2.22.1"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
gnome-base/gnome-common"
|
||||
# eautoreconf needs gnome-base/gnome-common
|
||||
|
||||
EXAMPLES="examples/egg/tray*"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-python-libs.patch" #344231
|
||||
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die
|
||||
eautoreconf
|
||||
gnome-python-common_src_prepare
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-keyring-python/gnome-keyring-python-2.32.0.ebuild,v 1.7 2011/03/22 18:57:45 ranger Exp $
|
||||
|
||||
EAPI="3"
|
||||
GCONF_DEBUG="no"
|
||||
G_PY_PN="gnome-python-desktop"
|
||||
G_PY_BINDINGS="gnomekeyring"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
PYTHON_DEPEND="2"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit gnome-python-common
|
||||
|
||||
DESCRIPTION="Python bindings for the interfacing with the GNOME keyring"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND=">=gnome-base/gnome-keyring-0.5.0
|
||||
!<dev-python/gnome-python-desktop-2.22.0-r10"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
EXAMPLES="examples/keyring*"
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-python-base/gnome-python-base-2.28.1.ebuild,v 1.12 2014/01/16 15:56:36 blueness Exp $
|
||||
|
||||
EAPI="3"
|
||||
GCONF_DEBUG="no"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit versionator eutils gnome2 python
|
||||
|
||||
# This ebuild does nothing -- we just want to get the pkgconfig file installed
|
||||
|
||||
MY_PN="gnome-python"
|
||||
DESCRIPTION="Provides the base files for the gnome-python bindings"
|
||||
HOMEPAGE="http://pygtk.org/"
|
||||
PVP="$(get_version_component_range 1-2)"
|
||||
SRC_URI="mirror://gnome/sources/${MY_PN}/${PVP}/${MY_PN}-${PV}.tar.bz2"
|
||||
|
||||
IUSE=""
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="2"
|
||||
RESTRICT="${RESTRICT} test"
|
||||
|
||||
# From the gnome-python eclass
|
||||
RDEPEND=">=x11-libs/gtk+-2.6:2
|
||||
>=dev-libs/glib-2.6:2
|
||||
>=dev-python/pygtk-2.14.0:2
|
||||
>=dev-python/pygobject-2.17:2
|
||||
!<dev-python/gnome-python-2.22.1"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF} --disable-allbindings"
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
@ -1,49 +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/gnome-python-extras-base/gnome-python-extras-base-2.25.3.ebuild,v 1.12 2013/04/26 02:14:32 patrick Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit versionator autotools eutils gnome2 python
|
||||
|
||||
# This ebuild does nothing -- we just want to get the pkgconfig file installed
|
||||
MY_PN="gnome-python-extras"
|
||||
DESCRIPTION="Provides python the base files for the Gnome Python Desktop bindings"
|
||||
HOMEPAGE="http://pygtk.org/"
|
||||
PVP="$(get_version_component_range 1-2)"
|
||||
SRC_URI="mirror://gnome/sources/${MY_PN}/${PVP}/${MY_PN}-${PV}.tar.bz2"
|
||||
|
||||
IUSE=""
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
RESTRICT="test"
|
||||
|
||||
# From the gnome-python-extras eclass
|
||||
RDEPEND=">=x11-libs/gtk+-2.4:2
|
||||
>=dev-libs/glib-2.6:2
|
||||
>=dev-python/pygtk-2.10.3:2
|
||||
!<=dev-python/gnome-python-extras-2.19.1-r2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
gnome-base/gnome-common"
|
||||
# eautoreconf needs gnome-base/gnome-common
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
DOCS="AUTHORS COPYING* ChangeLog INSTALL NEWS README"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF} --disable-allbindings"
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-python-libs.patch" #344231
|
||||
sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gtkspell-python/gtkspell-python-2.25.3.ebuild,v 1.11 2013/04/26 02:58:00 patrick Exp $
|
||||
|
||||
EAPI="2"
|
||||
G_PY_PN="gnome-python-extras"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
PYTHON_DEPEND="2"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit autotools eutils gnome-python-common
|
||||
|
||||
PVP="$(get_version_component_range 1-2)"
|
||||
SRC_URI="mirror://gnome/sources/${G_PY_PN}/${PVP}/${G_PY_PN}-${PV}.tar.bz2"
|
||||
|
||||
DESCRIPTION="GtkSpell bindings for Python"
|
||||
# The LICENSE with gtkspell-3 is LGPL and there is no way to express this in
|
||||
# an ebuild, currently. Punt till we actually have to face the issue.
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="app-text/gtkspell:2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
gnome-base/gnome-common"
|
||||
# eautoreconf needs gnome-base/gnome-common
|
||||
|
||||
EXAMPLES="examples/gtkspell/*"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-python-libs.patch" #344231
|
||||
sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
|
||||
eautoreconf
|
||||
gnome-python-common_src_prepare
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/librsvg-python/librsvg-python-2.32.0.ebuild,v 1.9 2012/02/24 09:08:15 patrick Exp $
|
||||
|
||||
EAPI="3"
|
||||
GCONF_DEBUG="no"
|
||||
G_PY_PN="gnome-python-desktop"
|
||||
G_PY_BINDINGS="rsvg"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
|
||||
inherit gnome-python-common
|
||||
|
||||
DESCRIPTION="Python bindings for the librsvg library"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND=">=gnome-base/librsvg-2.13.93:2
|
||||
dev-python/pycairo
|
||||
!<dev-python/gnome-python-desktop-2.22.0-r10"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
EXAMPLES="examples/rsvg/*"
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/libwnck-python/libwnck-python-2.32.0.ebuild,v 1.8 2011/03/22 19:01:54 ranger Exp $
|
||||
|
||||
EAPI="3"
|
||||
GCONF_DEBUG="no"
|
||||
G_PY_PN="gnome-python-desktop"
|
||||
G_PY_BINDINGS="wnck"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
PYTHON_DEPEND="2"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit gnome-python-common eutils
|
||||
|
||||
DESCRIPTION="Python bindings for the libwnck library"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND=">=x11-libs/libwnck-2.19.3:1
|
||||
!<dev-python/gnome-python-desktop-2.22.0-r10"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
EXAMPLES="examples/wnck_example.py"
|
||||
|
||||
src_prepare() {
|
||||
# Fix three enum items that should be flags, upstream bug #616306
|
||||
epatch "${FILESDIR}/${PN}-2.30.2-flagsfix.patch"
|
||||
gnome-python-common_src_prepare
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST lxml-3.3.5.tar.gz 3467344 SHA256 6ad6949dc7eea744a30fba77a968dd5910f545220e58bcc813b9df5c793e318a SHA512 b6692565e95ae8856347a2cbef4d1a1614cbc34aa47fbea10cfb49f5d5690a21e577e53e7cfbe73db18190a6919a1055fe5ee5ccaf1d03dc2bc0c5cf2c81ef2e WHIRLPOOL f9e875085701264128d37458f5c03a1e6dfb0a6d3e49f88cfc90031a40f17dfb06ff57151729bb03f96d2959b1bae40b0617076ace7d695433fcd857d13ec697
|
||||
DIST lxml-3.3.6.tar.gz 3476093 SHA256 c46a72c529398d34eabd05e12948868d9d958caede12f1a37e86d00efc423c92 SHA512 d3335d89e1b0f429c9e28181a36e090e714008d059319a51db883aadf747d87fb67d360359cefcf948d3deaa6a55bff6a9a861c1832c47b6075f0d616e9d6817 WHIRLPOOL b7a977bdd453723ef8ab6a674ac2a8811a5ae3aa44d65fcdd7cb60e5bb00e9296daa3693ae8c5ed47983442366645c4e763ffc55e46321d20efd271ce1e50d25
|
||||
DIST lxml-3.4.0.tar.gz 3522134 SHA256 714a68bf567fdec2bb7959560dc8376c0bfc688cfceb135f43b9bd87af7a956a SHA512 742faf0d266c6bb91f6af28c8d771c4c9a9ef7ab4267226989c2bfd26cf705de75d7c37f96e2580eddd3f3cdf4776f8026d176f4e456bdfa756792daf1d1fea5 WHIRLPOOL 8291688e2fd5e40878d57b79ad0ebef55e829b46a576eb8ddbce63916cd91942f2d456ac54e1f2a4056347f9314882a5b82fbb0b3874143556fec06883ff8028
|
||||
DIST lxml-3.4.1.tar.gz 3524523 SHA256 069594837d0376a1bacf5cc42aa9a1be2e1c1396dc62f7d07f7358afecd34adf SHA512 ab669d1f9833e43b43ece4ef2481eebe22e9084ab07139f5c5c1fa6ea478177069d6ce96ece7eddef86982da418ec55a3785c4b78958f49f6ed415dc63af45ed WHIRLPOOL 5390f23aec3b7c07b9541f85ee5c674f267b99a9ef035cc5024d5f6defe6ee8ded500703b97b3f742f7630d25dbc538534654c8a3cddafb1ff37f5c5494bffb5
|
||||
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-3.4.1.ebuild,v 1.1 2014/11/21 07:54:01 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
|
||||
HOMEPAGE="http://lxml.de/ http://pypi.python.org/pypi/lxml/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD ElementTree GPL-2 PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="beautifulsoup3 doc examples +threads"
|
||||
|
||||
# Note: lib{xml2,xslt} are used as C libraries, not Python modules.
|
||||
RDEPEND="
|
||||
>=dev-libs/libxml2-2.7.2
|
||||
>=dev-libs/libxslt-1.1.23
|
||||
beautifulsoup3? (
|
||||
python_targets_python2_7? ( dev-python/beautifulsoup:python-2[python_targets_python2_7] )
|
||||
python_targets_python3_3? ( dev-python/beautifulsoup:python-3[python_targets_python3_3] )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
# lxml tarball contains files pregenerated by Cython.
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
# avoid replacing PYTHONPATH in tests.
|
||||
sed -i '/sys\.path/d' test.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} != python3* ]]; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die
|
||||
cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die
|
||||
ln -s "${S}"/doc "${BUILD_DIR}"/ || die
|
||||
|
||||
local test
|
||||
for test in test.py selftest.py selftest2.py; do
|
||||
einfo "Running ${test}"
|
||||
"${PYTHON}" ${test} || die "Test ${test} fails with ${EPYTHON}"
|
||||
done
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
local DOCS=( *.txt doc/*.txt )
|
||||
local HTML_DOCS=( doc/html/. )
|
||||
fi
|
||||
use examples && local EXAMPLES=( samples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pyelftools-0.21.tar.gz 283250 SHA256 a9a10d894c698ab3a2d909c3df1c3d88d0ab03811351c278b3f520204f33d834 SHA512 adddfe10756a26d694bb4a048104b04958337dc7a1ab023e4bb50b7fbf5d66fc5b6c4a077699757adb26bd6ffd8885a1908f3daae3d0acd65a704a11499308d3 WHIRLPOOL 1607c311e7b3ec463afe53b239f84f7b47878a613365c2f8809a15df4e5096d7d702a8dcbc91c357b3d5f28297106abaa16540842ad09a4dc2bdd1a648589389
|
||||
DIST pyelftools-0.22.tar.gz 395525 SHA256 9f7dd617b8a577a3834e7dd7f34f49df21c0670e67a48b21add19abe1adffb60 SHA512 10a84d9d0e28cb609f252990fbc05747e0840c5efeeb6890e13076aa2d59780c7d1a5bd6036dee6f8b252a984796a3834183ccab1c1988473bc69646fe56867b WHIRLPOOL eac57cef3f4159deac907394995655e227aa1d034a3b4ec54728531d08ef1b4f8edee33d971a3423b32d08efba621496bb5e778ba090bc264db6d006da4f8842
|
||||
DIST pyelftools-0.23.tar.gz 401363 SHA256 fc57aadd096e8f9b9b03f1a9578f673ee645e1513a5ff0192ef439e77eab21de SHA512 47102b2b0c69f357ba1c6af8e45157cd5395a74aaaf10fcccbf5b2d584a494aa16b1f6d08599459ae036f45888cb0fe422cb3241458e6ee0f1e8e1f32b3ae5d0 WHIRLPOOL 1492b08020bb7a106b939c8691f9910949a9d36241a8379f5358832b7b79a6ac1fdac4aaa928d65cd25fe466cb96bb38ef383bd9e79ae5fe0417aad53a1387a4
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyelftools/pyelftools-0.23.ebuild,v 1.1 2014/11/21 07:59:53 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="pure-Python library for parsing and analyzing ELF files and DWARF debugging information"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/pyelftools https://github.com/eliben/pyelftools"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="examples"
|
||||
|
||||
python_test() {
|
||||
# readelf_tests often fails due to host `readelf` changing output format
|
||||
local t
|
||||
for t in all_unittests examples_test ; do
|
||||
"${PYTHON}" ./test/run_${t}.py || die "Tests fail with ${EPYTHON}"
|
||||
done
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyorbit/pyorbit-2.24.0.ebuild,v 1.17 2012/05/04 15:12:14 patrick Exp $
|
||||
|
||||
EAPI="3"
|
||||
GCONF_DEBUG="no"
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
|
||||
inherit gnome2 multilib python
|
||||
|
||||
DESCRIPTION="ORBit2 bindings for Python"
|
||||
HOMEPAGE="http://www.pygtk.org/"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=gnome-base/orbit-2.12"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS="AUTHORS ChangeLog INSTALL NEWS README TODO"
|
||||
|
||||
src_prepare() {
|
||||
# disable pyc compiling
|
||||
mv "${S}"/py-compile "${S}"/py-compile.orig
|
||||
ln -s $(type -P true) "${S}"/py-compile
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_execute_function -s gnome2_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_execute_function -s gnome2_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
python_execute_function -s -d
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
gnome2_src_install
|
||||
|
||||
mv "${ED}"$(python_get_sitedir)/{CORBA.py,pyorbit_CORBA.py}
|
||||
mv "${ED}"$(python_get_sitedir)/{PortableServer.py,pyorbit_PortableServer.py}
|
||||
}
|
||||
python_execute_function -s installation
|
||||
python_clean_installation_image
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize pyorbit_CORBA.py pyorbit_PortableServer.py
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup pyorbit_CORBA.py pyorbit_PortableServer.py
|
||||
}
|
@ -1,10 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>proxy-maintainers</herd>
|
||||
<maintainer>
|
||||
<email>gentoo@perfinion.com</email>
|
||||
<name>Jason Zaman</name>
|
||||
<description>Proxy-Maintainer. Assign bugs to him</description>
|
||||
<email>perfinion@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1 +1,2 @@
|
||||
DIST git-crypt-0.3.tar.gz 20660 SHA256 6b2a03d28240c06ce4c06c3fc73ecd88f61b638e42f8534a9f2d1dbd17132755 SHA512 526630e58a2e74bffe954bc2f489311fb2261337092a1c4462788d9412b7fa7b1aa744402558bba39fe776cfa6333700c4e0ad651d262a7ca14d920485192adc WHIRLPOOL 80a2c9129a0c6bba05418469163a6c32242e84fff1bef4179cf8b60b2bea3f01c6921fa97459e23c3bd08223cfe18f6cf1363f01b5244f0f94689d55954cfa90
|
||||
DIST git-crypt-0.4.tar.gz 44146 SHA256 8825200a353ba9fe5f972c67e2ca4f1e7194cd3ad369ba14fddb1ba840dc2140 SHA512 aa146d922258c4a68ad1a211b58e3b1e1b1135661ebecf3ede1b344fc93401eb9d0aa51cfa068f76fab3ab7c936ad6cf46e61e0e9505aaf4f338e54826ae88f6 WHIRLPOOL 8bd32cc735416a2eb3df1f144ccf7e86b09bcdd475f766df4d83885f47ead097614641df95d52e8afbb8c5935bffa7716eeab67b4ee73134c790745bc45d1027
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-crypt/git-crypt-0.4.ebuild,v 1.1 2014/11/21 05:33:36 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="transparent file encryption in git"
|
||||
HOMEPAGE="https://www.agwa.name/projects/git-crypt/"
|
||||
SRC_URI="https://github.com/AGWA/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="dev-vcs/git"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${D}"/usr/bin
|
||||
emake PREFIX="${D}"/usr install
|
||||
}
|
@ -1 +1 @@
|
||||
DIST skoosh-2.5.0.tar.gz 209945 RMD160 662b0acfedc43e40695e7d28795a9d88d19f49e9 SHA1 c90d24ae025d554ea09425e0be8426726cae5621 SHA256 827a6c365bc1771f3ef7ad390cceec76427113f4b33979c9a6dc2286fe1d916a
|
||||
DIST skoosh-2.5.0.tar.gz 209945 SHA256 827a6c365bc1771f3ef7ad390cceec76427113f4b33979c9a6dc2286fe1d916a SHA512 e67f0036f09890af62bcfe0fe895d899a76efb2901c5fbdd9fb97951553a4b9f35dfddd0a3e24937b53a1c8d3686caee8b83d35e0327d4bbdaeb4c1e0ab58736 WHIRLPOOL a4fe55be01326410dfd6492a29e1d98d22aa95edcc9b5cfb14466d60b98deff72332bda4a8d3e157ef73910837e545147731793dd03e936632b6a270fd3e5aaf
|
||||
|
@ -0,0 +1,17 @@
|
||||
--- skoosh.desktop.old 2014-11-21 09:54:37.000861347 +0100
|
||||
+++ skoosh.desktop 2014-11-21 09:54:47.898132607 +0100
|
||||
@@ -1,12 +1,11 @@
|
||||
[Desktop Entry]
|
||||
-Encoding=UTF-8
|
||||
-Icon=skoosh.png
|
||||
+Icon=skoosh
|
||||
Name=Fifteen
|
||||
Comment=Slide tiles to reveal a picture
|
||||
Comment[fr]=Déplacez les tuiles pour révéler un dessin
|
||||
Exec=skoosh
|
||||
Terminal=false
|
||||
Type=Application
|
||||
-Categories=GNOME;Application;Game;PuzzleGame;
|
||||
+Categories=Game;
|
||||
StartupNotify=true
|
||||
X-GNOME-DocPath=skoosh/skoosh.xml
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/skoosh/skoosh-2.5.0-r1.ebuild,v 1.1 2014/11/21 08:58:56 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
GCONF_DEBUG="yes"
|
||||
|
||||
inherit eutils gnome2
|
||||
|
||||
DESCRIPTION="Sliding tile puzzle for Gnome 2"
|
||||
HOMEPAGE="http://homepages.ihug.co.nz/~trmusson/programs.html"
|
||||
SRC_URI="http://homepages.ihug.co.nz/~trmusson/stuff/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="
|
||||
>=gnome-base/gconf-2:2
|
||||
gnome-base/libgnome-keyring
|
||||
>=gnome-base/libgnomeui-2
|
||||
nls? ( virtual/libintl )
|
||||
"
|
||||
# needs scrollkeeper-preinstall from rarian to build
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/rarian
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Fix .desktop file
|
||||
epatch "${FILESDIR}/${PN}-2.5.0-desktop.patch"
|
||||
|
||||
# Need to apply omf fix or else we get access
|
||||
# violation errors related to sandbox.
|
||||
gnome2_omf_fix "${S}/help/C/Makefile.in"
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
@ -1,136 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-vfs/gnome-vfs-2.24.4-r1.ebuild,v 1.8 2013/05/06 03:50:08 patrick Exp $
|
||||
|
||||
EAPI="3"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit autotools eutils gnome2 virtualx
|
||||
|
||||
DESCRIPTION="Gnome Virtual Filesystem"
|
||||
HOMEPAGE="http://www.gnome.org/"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="acl avahi doc fam gnutls ipv6 kerberos samba ssl"
|
||||
|
||||
RDEPEND=">=gnome-base/gconf-2
|
||||
>=dev-libs/glib-2.9.3
|
||||
>=dev-libs/libxml2-2.6
|
||||
app-arch/bzip2
|
||||
gnome-base/gnome-mime-data
|
||||
>=x11-misc/shared-mime-info-0.14
|
||||
>=dev-libs/dbus-glib-0.71
|
||||
acl? (
|
||||
sys-apps/acl
|
||||
sys-apps/attr )
|
||||
avahi? ( >=net-dns/avahi-0.6 )
|
||||
kerberos? ( virtual/krb5 )
|
||||
fam? ( virtual/fam )
|
||||
samba? ( >=net-fs/samba-3 )
|
||||
ssl? (
|
||||
gnutls? (
|
||||
net-libs/gnutls
|
||||
!gnome-extra/gnome-vfs-sftp )
|
||||
!gnutls? (
|
||||
>=dev-libs/openssl-0.9.5
|
||||
!gnome-extra/gnome-vfs-sftp ) )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
gnome-base/gnome-common
|
||||
>=dev-util/intltool-0.40
|
||||
virtual/pkgconfig
|
||||
>=dev-util/gtk-doc-am-1.13
|
||||
doc? ( >=dev-util/gtk-doc-1 )"
|
||||
|
||||
DOCS="AUTHORS ChangeLog HACKING NEWS README TODO"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF}
|
||||
--disable-schemas-install
|
||||
--disable-static
|
||||
--disable-cdda
|
||||
--disable-howl
|
||||
$(use_enable acl)
|
||||
$(use_enable avahi)
|
||||
$(use_enable fam)
|
||||
$(use_enable gnutls)
|
||||
--disable-hal
|
||||
$(use_enable ipv6)
|
||||
$(use_enable kerberos krb5)
|
||||
$(use_enable samba)
|
||||
$(use_enable ssl openssl)"
|
||||
# Useless ? --enable-http-neon
|
||||
|
||||
# this works because of the order of configure parsing
|
||||
# so should always be behind the use_enable options
|
||||
# foser <foser@gentoo.org 19 Apr 2004
|
||||
use gnutls && use ssl && G2CONF="${G2CONF} --disable-openssl"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Allow the Trash on afs filesystems (#106118)
|
||||
epatch "${FILESDIR}"/${PN}-2.12.0-afs.patch
|
||||
|
||||
# Fix compiling with headers missing
|
||||
epatch "${FILESDIR}"/${PN}-2.15.2-headers-define.patch
|
||||
|
||||
# Fix for crashes running programs via sudo
|
||||
epatch "${FILESDIR}"/${PN}-2.16.0-no-dbus-crash.patch
|
||||
|
||||
# Fix automagic dependencies, upstream bug #493475
|
||||
epatch "${FILESDIR}"/${PN}-2.20.0-automagic-deps.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.20.1-automagic-deps.patch
|
||||
|
||||
# Fix to identify ${HOME} (#200897)
|
||||
# thanks to debian folks
|
||||
epatch "${FILESDIR}"/${PN}-2.24.4-home_dir_fakeroot.patch
|
||||
|
||||
# Configure with gnutls-2.7, bug #253729
|
||||
# Fix building with gnutls-2.12, bug #388895
|
||||
epatch "${FILESDIR}"/${PN}-2.24.4-gnutls27.patch
|
||||
|
||||
# Prevent duplicated volumes, bug #193083
|
||||
epatch "${FILESDIR}"/${PN}-2.24.0-uuid-mount.patch
|
||||
|
||||
# Do not build tests with FEATURES="-test", bug #226221
|
||||
epatch "${FILESDIR}"/${PN}-2.24.4-build-tests-asneeded.patch
|
||||
|
||||
# Disable broken test, bug #285706
|
||||
epatch "${FILESDIR}"/${PN}-2.24.4-disable-test-async-cancel.patch
|
||||
|
||||
# Fix for automake-1.13 compatibility, #466944
|
||||
epatch "${FILESDIR}"/${P}-automake-1.13.patch
|
||||
|
||||
# Fix deprecated API disabling in used libraries - this is not future-proof, bug 212163
|
||||
# upstream bug #519632
|
||||
sed -i -e '/DISABLE_DEPRECATED/d' \
|
||||
daemon/Makefile.am daemon/Makefile.in \
|
||||
libgnomevfs/Makefile.am libgnomevfs/Makefile.in \
|
||||
modules/Makefile.am modules/Makefile.in \
|
||||
test/Makefile.am test/Makefile.in || die
|
||||
sed -i -e 's:-DG_DISABLE_DEPRECATED:$(NULL):g' \
|
||||
programs/Makefile.am programs/Makefile.in || die
|
||||
|
||||
intltoolize --force --copy --automake || die "intltoolize failed"
|
||||
|
||||
sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.in || die
|
||||
|
||||
eautoreconf
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DISPLAY
|
||||
# Fix bug #285706
|
||||
unset XAUTHORITY
|
||||
Xemake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
find "${ED}/usr/$(get_libdir)/gnome-vfs-2.0/modules/" -name "*.la" -delete || die
|
||||
}
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-base/libglade/libglade-2.6.4-r1.ebuild,v 1.11 2014/06/20 14:45:10 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
GCONF_DEBUG="no"
|
||||
GNOME_TARBALL_SUFFIX="bz2"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 pypy )
|
||||
PYTHON_REQ_USE='xml(+)'
|
||||
|
||||
inherit autotools eutils gnome2 python-single-r1 virtualx
|
||||
|
||||
DESCRIPTION="Library to construct graphical interfaces at runtime"
|
||||
HOMEPAGE="http://library.gnome.org/devel/libglade/stable/"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="2.0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc static-libs test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.10:2
|
||||
>=x11-libs/gtk+-2.8.10:2
|
||||
>=dev-libs/atk-1.9
|
||||
>=dev-libs/libxml2-2.4.10
|
||||
${PYTHON_DEPS}"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( >=dev-util/gtk-doc-1 )"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF} $(use_enable static-libs static)"
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# patch to stop make install installing the xml catalog
|
||||
# because we do it ourselves in postinst()
|
||||
epatch "${FILESDIR}"/Makefile.in.am-2.4.2-xmlcatalog.patch
|
||||
|
||||
# patch to not throw a warning with gtk+-2.14 during tests, as it triggers abort
|
||||
epatch "${FILESDIR}/${PN}-2.6.3-fix_tests-page_size.patch"
|
||||
|
||||
# Fails with gold due to recent changes in glib-2.32's pkg-config files
|
||||
epatch "${FILESDIR}/${P}-gold-glib-2.32.patch"
|
||||
|
||||
# Needed for solaris, else gcc finds a syntax error in /usr/include/signal.h
|
||||
epatch "${FILESDIR}/${P}-enable-extensions.patch"
|
||||
|
||||
sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
|
||||
glade/Makefile.am glade/Makefile.in || die
|
||||
|
||||
if ! use test; then
|
||||
sed 's/ tests//' -i Makefile.am Makefile.in || die "sed failed"
|
||||
fi
|
||||
|
||||
gnome2_src_prepare
|
||||
AT_NOELIBTOOLIZE=yes eautoreconf
|
||||
}
|
||||
|
||||
src_test() {
|
||||
Xemake check || die "make check failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /etc/xml
|
||||
gnome2_src_install
|
||||
|
||||
# /usr/bin/libglade-convert is the only Python thing in it
|
||||
python_fix_shebang "${ED}"/usr/bin/libglade-convert
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo ">>> Updating XML catalog"
|
||||
"${EPREFIX}"/usr/bin/xmlcatalog --noout --add "system" \
|
||||
"http://glade.gnome.org/glade-2.0.dtd" \
|
||||
"${EPREFIX}"/usr/share/xml/libglade/glade-2.0.dtd /etc/xml/catalog
|
||||
gnome2_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_pkg_postrm
|
||||
echo ">>> removing entries from the XML catalog"
|
||||
"${EPREFIX}"/usr/bin/xmlcatalog --noout --del \
|
||||
"${EPREFIX}"/usr/share/xml/libglade/glade-2.0.dtd /etc/xml/catalog
|
||||
}
|
@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-base/libglade/libglade-2.6.4.ebuild,v 1.17 2013/02/23 02:19:26 zmedico Exp $
|
||||
|
||||
EAPI="3"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit autotools eutils gnome2 python virtualx
|
||||
|
||||
DESCRIPTION="Library to construct graphical interfaces at runtime"
|
||||
HOMEPAGE="http://library.gnome.org/devel/libglade/stable/"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="2.0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc static-libs test"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.10:2
|
||||
>=x11-libs/gtk+-2.8.10:2
|
||||
>=dev-libs/atk-1.9
|
||||
>=dev-libs/libxml2-2.4.10"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( >=dev-util/gtk-doc-1 )"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF} $(use_enable static-libs static)"
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
python_set_active_version 2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# patch to stop make install installing the xml catalog
|
||||
# because we do it ourselves in postinst()
|
||||
epatch "${FILESDIR}"/Makefile.in.am-2.4.2-xmlcatalog.patch
|
||||
|
||||
# patch to not throw a warning with gtk+-2.14 during tests, as it triggers abort
|
||||
epatch "${FILESDIR}/${PN}-2.6.3-fix_tests-page_size.patch"
|
||||
|
||||
# Fails with gold due to recent changes in glib-2.32's pkg-config files
|
||||
epatch "${FILESDIR}/${P}-gold-glib-2.32.patch"
|
||||
|
||||
# Needed for solaris, else gcc finds a syntax error in /usr/include/signal.h
|
||||
epatch "${FILESDIR}/${P}-enable-extensions.patch"
|
||||
|
||||
sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
|
||||
glade/Makefile.am glade/Makefile.in || die
|
||||
|
||||
if ! use test; then
|
||||
sed 's/ tests//' -i Makefile.am Makefile.in || die "sed failed"
|
||||
fi
|
||||
|
||||
gnome2_src_prepare
|
||||
AT_NOELIBTOOLIZE=yes eautoreconf
|
||||
}
|
||||
|
||||
src_test() {
|
||||
Xemake check || die "make check failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /etc/xml
|
||||
gnome2_src_install
|
||||
python_convert_shebangs 2 "${ED}"/usr/bin/libglade-convert
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo ">>> Updating XML catalog"
|
||||
"${EPREFIX}"/usr/bin/xmlcatalog --noout --add "system" \
|
||||
"http://glade.gnome.org/glade-2.0.dtd" \
|
||||
"${EPREFIX}"/usr/share/xml/libglade/glade-2.0.dtd /etc/xml/catalog
|
||||
gnome2_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_pkg_postrm
|
||||
echo ">>> removing entries from the XML catalog"
|
||||
"${EPREFIX}"/usr/bin/xmlcatalog --noout --del \
|
||||
"${EPREFIX}"/usr/share/xml/libglade/glade-2.0.dtd /etc/xml/catalog
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-base/libgnomecanvas/libgnomecanvas-2.30.3.ebuild,v 1.13 2012/05/15 23:32:53 aballier Exp $
|
||||
|
||||
EAPI="3"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit gnome2 multilib virtualx
|
||||
|
||||
DESCRIPTION="The Gnome 2 Canvas library"
|
||||
HOMEPAGE="http://library.gnome.org/devel/libgnomecanvas/stable/"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc glade"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.10:2
|
||||
>=x11-libs/gtk+-2.13:2
|
||||
>=media-libs/libart_lgpl-2.3.8
|
||||
>=x11-libs/pango-1.0.1
|
||||
glade? ( >=gnome-base/libglade-2:2.0 )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-lang/perl-5
|
||||
sys-devel/gettext
|
||||
>=dev-util/intltool-0.35
|
||||
virtual/pkgconfig
|
||||
doc? ( >=dev-util/gtk-doc-1 )"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
G2CONF="${G2CONF} $(use_enable glade) --disable-static"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
# Fix intltoolize broken file, see upstream #577133
|
||||
sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \
|
||||
|| die "sed failed"
|
||||
|
||||
# Don't build demos that are not even installed, bug #226299
|
||||
sed 's/^\(SUBDIRS =.*\)demos\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
|
||||
|| die "sed 2 failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
||||
|
||||
src_test() {
|
||||
Xemake check || die "Test phase failed"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue