Sync with portage [Mon Jan 16 10:32:40 MSK 2012].
This commit is contained in:
parent
b3e3db043c
commit
a665ef8e21
573 changed files with 2980 additions and 4522 deletions
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-ecj/eselect-ecj-0.7.ebuild,v 1.2 2011/12/31 11:04:15 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-ecj/eselect-ecj-0.7.ebuild,v 1.3 2012/01/15 15:44:15 phajdan.jr Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
|
@ -10,7 +10,7 @@ SRC_URI=""
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2.3"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-oodict/eselect-oodict-20100228.ebuild,v 1.1 2010/03/01 00:03:03 abcd Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-oodict/eselect-oodict-20100228.ebuild,v 1.2 2012/01/15 15:37:56 phajdan.jr Exp $
|
||||
|
||||
DESCRIPTION="Manages configuration of dictionaries for OpenOffice.Org."
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
|
@ -9,7 +9,7 @@ SRC_URI="mirror://gentoo/oodict.eselect-${PVR}.bz2"
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/fam/fam-2.7.0-r6.ebuild,v 1.7 2012/01/12 20:57:45 maekke Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/fam/fam-2.7.0-r6.ebuild,v 1.8 2012/01/15 15:52:45 phajdan.jr Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
|
@ -14,7 +14,7 @@ SRC_URI="ftp://oss.sgi.com/projects/fam/download/stable/${P}.tar.gz
|
|||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND="|| ( net-nds/rpcbind >=net-nds/portmap-5b-r6 )
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/grubconfig/grubconfig-1.28-r1.ebuild,v 1.2 2012/01/07 18:11:50 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/grubconfig/grubconfig-1.28-r1.ebuild,v 1.3 2012/01/15 15:31:16 phajdan.jr Exp $
|
||||
|
||||
inherit multilib
|
||||
|
||||
|
@ -10,7 +10,7 @@ SRC_URI="http://www.tux.org/pub/people/kent-robotti/looplinux/${P}.tar.gz"
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 ~x86"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-util/dialog-0.7"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/sshguard/sshguard-1.5-r1.ebuild,v 1.2 2012/01/07 18:09:22 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/sshguard/sshguard-1.5-r1.ebuild,v 1.3 2012/01/15 15:41:08 phajdan.jr Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
|
@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
|||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86 ~x86-fbsd"
|
||||
KEYWORDS="amd64 x86 ~x86-fbsd"
|
||||
IUSE="ipfilter kernel_FreeBSD kernel_linux"
|
||||
|
||||
CDEPEND="kernel_linux? ( net-firewall/iptables )
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/dump/dump-0.4.44-r1.ebuild,v 1.4 2012/01/05 13:09:59 ranger Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/dump/dump-0.4.44-r1.ebuild,v 1.5 2012/01/15 18:56:09 armin76 Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit eutils autotools
|
||||
|
@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
|
|||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~ppc64 ~sparc x86"
|
||||
KEYWORDS="alpha amd64 ~hppa ia64 ppc ~ppc64 sparc x86"
|
||||
IUSE="debug ermt readline selinux static"
|
||||
|
||||
RDEPEND=">=sys-fs/e2fsprogs-1.27
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/lzip/lzip-1.12.ebuild,v 1.3 2012/01/04 18:34:11 ranger Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/lzip/lzip-1.12.ebuild,v 1.4 2012/01/15 15:42:14 phajdan.jr Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
|
@ -12,7 +12,7 @@ SRC_URI="http://download.savannah.gnu.org/releases-noredirect/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~hppa ppc ~ppc64 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 ~hppa ppc ~ppc64 ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
DIST par2cmdline-0.4.tar.gz 239312 RMD160 e98dc84fa7a4304b8d71c1d373fdce0bca1e6290 SHA1 2fcdc932b5d7b4b1c68c4a4ca855ca913d464d2f SHA256 9e32b7dbcf7bca8249f98824757d4868714156fe2276516504cd26f736e9f677
|
||||
DIST par2cmdline-0.5.tar.xz 197820 RMD160 238f2963103b52af2221d93769299dbb895add49 SHA1 cc5130190754363a053ac5f3c0b230e6bc4e8ddf SHA256 44a54d81959d802af767e0c530a89c448fffd98921245e27652e5a0faff366aa
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
--- par2cmdline-0.4.orig/par2creatorsourcefile.cpp 2004-04-15 14:45:23.000000000 +0100
|
||||
+++ par2cmdline-0.4/par2creatorsourcefile.cpp 2005-09-29 02:27:43.000000000 +0100
|
||||
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=299658
|
||||
http://bugs.gentoo.org/144410
|
||||
|
||||
--- par2creatorsourcefile.cpp
|
||||
+++ par2creatorsourcefile.cpp
|
||||
@@ -213,11 +213,12 @@
|
||||
}
|
||||
}
|
||||
|
|
24
app-arch/par2cmdline/par2cmdline-0.5.ebuild
Normal file
24
app-arch/par2cmdline/par2cmdline-0.5.ebuild
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/par2cmdline/par2cmdline-0.5.ebuild,v 1.1 2012/01/15 16:39:01 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="A PAR-2.0 file verification and repair tool"
|
||||
HOMEPAGE="http://parchive.sourceforge.net/ http://github.com/eMPee584/par2cmdline"
|
||||
SRC_URI="mirror://github/eMPee584/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README )
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.4-offset.patch
|
||||
eautoreconf
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/sharutils-4.11.1.ebuild,v 1.3 2012/01/12 21:00:38 maekke Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/sharutils-4.11.1.ebuild,v 1.4 2012/01/15 15:42:48 phajdan.jr Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
|
@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
|
|||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="nls"
|
||||
|
||||
DEPEND="sys-apps/texinfo
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/unmakeself/unmakeself-1.1.ebuild,v 1.2 2012/01/04 16:54:46 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/unmakeself/unmakeself-1.1.ebuild,v 1.3 2012/01/15 15:43:13 phajdan.jr Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit toolchain-funcs
|
||||
|
@ -11,7 +11,7 @@ SRC_URI="mirror://gentoo/${P}.tar.gz"
|
|||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/libarchive[bzip2,zlib]"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/duplicity/duplicity-0.6.17.ebuild,v 1.2 2011/12/31 12:41:23 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/duplicity/duplicity-0.6.17.ebuild,v 1.3 2012/01/15 15:45:19 phajdan.jr Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
|
@ -16,7 +16,7 @@ SRC_URI="http://code.launchpad.net/${PN}/0.6-series/${PV}/+download/${P}.tar.gz"
|
|||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
KEYWORDS="amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="s3"
|
||||
|
||||
DEPEND="
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-3.9.1.ebuild,v 1.2 2012/01/04 16:51:32 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-3.9.1.ebuild,v 1.3 2012/01/15 15:52:13 phajdan.jr Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
|
@ -10,5 +10,5 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="public-domain GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
KEYWORDS="amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
DIST emacs-23.3-patches-4.tar.bz2 19275 RMD160 9a5d61bcf60422efd44efc5f206d9baf8e742bd6 SHA1 695d786f1d43ddbc0c269c780a43cfed9aeb35f0 SHA256 0d4393e221b78bd97c39a10f6e4206d2dbbcee7062e9626d37a3a45c72b34636
|
||||
DIST emacs-23.3.90.tar.gz 47721559 RMD160 0e816014a6dd0339caaf81415eceb7b0dcc52ef1 SHA1 9074a972df9fa03c03fc3d8fb759304691d7cb3a SHA256 d32bef9b9660e6e59c4b63a86ccb56b7ddffb71d22d9d016b6869655e513649c
|
||||
DIST emacs-24.0.92.tar.gz 50996706 RMD160 4530f9208765ef168bfb55831371cecc089e2433 SHA1 6d876d3f187be67c210242e8106e8f38c314f77d SHA256 861369d3006e59837bd2daac9931b17148d60cc16d074fb532b51ef9c5d1975f
|
||||
|
|
344
app-editors/emacs-vcs/emacs-vcs-23.3.90.ebuild
Normal file
344
app-editors/emacs-vcs/emacs-vcs-23.3.90.ebuild
Normal file
|
@ -0,0 +1,344 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-23.3.90.ebuild,v 1.1 2012/01/15 19:49:25 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib
|
||||
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
EBZR_PROJECT="emacs"
|
||||
EBZR_BRANCH="emacs-23"
|
||||
EBZR_REPO_URI="bzr://bzr.savannah.gnu.org/emacs/${EBZR_BRANCH}/"
|
||||
# "Nosmart" is much faster for initial branching.
|
||||
EBZR_INITIAL_URI="nosmart+${EBZR_REPO_URI}"
|
||||
inherit bzr
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="mirror://gentoo/emacs-${PV}.tar.gz
|
||||
ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-${PV}.tar.gz"
|
||||
# FULL_VERSION keeps the full version number, which is needed in
|
||||
# order to determine some path information correctly for copy/move
|
||||
# operations later on
|
||||
FULL_VERSION="${PV%%_*}"
|
||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
|
||||
LICENSE="GPL-3 FDL-1.3 BSD as-is MIT W3C unicode PSF-2"
|
||||
SLOT="23"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="alsa athena dbus gconf gif gpm gtk gzip-el hesiod jpeg kerberos m17n-lib motif png sound source svg tiff toolkit-scroll-bars X Xaw3d xft +xpm"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.2
|
||||
net-libs/liblockfile
|
||||
hesiod? ( net-dns/hesiod )
|
||||
kerberos? ( virtual/krb5 )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
gpm? ( sys-libs/gpm )
|
||||
dbus? ( sys-apps/dbus )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gif? ( media-libs/giflib )
|
||||
jpeg? ( virtual/jpeg )
|
||||
png? ( >=media-libs/libpng-1.4:0 )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
!gtk? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? (
|
||||
athena? ( x11-libs/libXaw )
|
||||
!athena? ( motif? ( >=x11-libs/openmotif-2.3:0 ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
alsa? ( dev-util/pkgconfig )
|
||||
dbus? ( dev-util/pkgconfig )
|
||||
X? ( dev-util/pkgconfig )
|
||||
gzip-el? ( app-arch/gzip )"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
>=app-emacs/emacs-common-gentoo-1.3[X?]"
|
||||
|
||||
EMACS_SUFFIX="emacs-${SLOT}-vcs"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
FULL_VERSION=$(grep 'defconst[ ]*emacs-version' lisp/version.el \
|
||||
| sed -e 's/^[^"]*"\([^"]*\)".*$/\1/')
|
||||
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
|
||||
einfo "Emacs branch: ${EBZR_BRANCH}"
|
||||
einfo "Revision: ${EBZR_REVISION:-${EBZR_REVNO}}"
|
||||
einfo "Emacs version number: ${FULL_VERSION}"
|
||||
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
||||
|| die "Upstream version number changed to ${FULL_VERSION}"
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
-e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \
|
||||
-e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \
|
||||
"${S}"/src/s/freebsd.h || die "unable to sed freebsd.h settings"
|
||||
|
||||
if ! use alsa; then
|
||||
# ALSA is detected even if not requested by its USE flag.
|
||||
# Suppress it by supplying pkg-config with a wrong library name.
|
||||
sed -i -e "/ALSA_MODULES=/s/alsa/DiSaBlEaLsA/" configure.in \
|
||||
|| die "unable to sed configure.in"
|
||||
fi
|
||||
if ! use gzip-el; then
|
||||
# Emacs' build system automatically detects the gzip binary and
|
||||
# compresses el files. We don't want that so confuse it with a
|
||||
# wrong binary name
|
||||
sed -i -e "s/ gzip/ PrEvEnTcOmPrEsSiOn/" configure.in \
|
||||
|| die "unable to sed configure.in"
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
ALLOWED_FLAGS=""
|
||||
strip-flags
|
||||
filter-flags -fstrict-aliasing
|
||||
append-flags $(test-flags -fno-strict-aliasing)
|
||||
|
||||
if use sh; then
|
||||
replace-flags -O[1-9] -O0 #262359
|
||||
elif use ia64; then
|
||||
replace-flags -O[2-9] -O1 #325373
|
||||
else
|
||||
replace-flags -O[3-9] -O2
|
||||
fi
|
||||
|
||||
local myconf
|
||||
|
||||
if use alsa && ! use sound; then
|
||||
einfo "Although sound USE flag is disabled you chose to have alsa,"
|
||||
einfo "so sound is switched on anyway."
|
||||
myconf="${myconf} --with-sound"
|
||||
else
|
||||
myconf="${myconf} $(use_with sound)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf="${myconf} --with-x"
|
||||
myconf="${myconf} $(use_with gconf)"
|
||||
myconf="${myconf} $(use_with toolkit-scroll-bars)"
|
||||
myconf="${myconf} $(use_with gif) $(use_with jpeg)"
|
||||
myconf="${myconf} $(use_with png) $(use_with svg rsvg)"
|
||||
myconf="${myconf} $(use_with tiff) $(use_with xpm)"
|
||||
|
||||
if use xft; then
|
||||
myconf="${myconf} --with-xft"
|
||||
myconf="${myconf} $(use_with m17n-lib libotf)"
|
||||
myconf="${myconf} $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf="${myconf} --without-xft"
|
||||
myconf="${myconf} --without-libotf --without-m17n-flt"
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
# GTK+ is the default toolkit if USE=gtk is chosen with other
|
||||
# possibilities. Emacs upstream thinks this should be standard
|
||||
# policy on all distributions
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf="${myconf} --with-x-toolkit=gtk"
|
||||
elif use Xaw3d || use athena; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=motif"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=no"
|
||||
fi
|
||||
|
||||
local f tk=
|
||||
for f in gtk Xaw3d athena motif; do
|
||||
use ${f} || continue
|
||||
[[ ${tk} ]] \
|
||||
&& ewarn "USE flag \"${f}\" ignored (superseded by \"${tk}\")"
|
||||
tk="${tk}${tk:+ }${f}"
|
||||
done
|
||||
else
|
||||
myconf="${myconf} --without-x"
|
||||
fi
|
||||
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
# These variables are not needed for building. We add them to
|
||||
# configure options because they are stored in the Emacs binary
|
||||
# and available in variable "system-configuration-options".
|
||||
myconf="${myconf} EBZR_BRANCH=${EBZR_BRANCH} EBZR_REVNO=${EBZR_REVNO}"
|
||||
fi
|
||||
|
||||
# According to configure, this option is only used for GNU/Linux
|
||||
# (x86_64 and s390). For Gentoo Prefix we have to explicitly spell
|
||||
# out the location because $(get_libdir) does not necessarily return
|
||||
# something that matches the host OS's libdir naming (e.g. RHEL).
|
||||
local crtdir=$($(tc-getCC) -print-file-name=crt1.o)
|
||||
crtdir=${crtdir%/*}
|
||||
|
||||
econf \
|
||||
--program-suffix=-${EMACS_SUFFIX} \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--with-crt-dir="${crtdir}" \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with gpm) \
|
||||
$(use_with dbus) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
emake CC="$(tc-getCC)" bootstrap
|
||||
# cleanup, otherwise emacs will be dumped again in src_install
|
||||
(cd src; emake versionclean)
|
||||
fi
|
||||
# set last component of emacs-version to (package revision + 1)
|
||||
touch src/emacs-${FULL_VERSION}.${PR#r}
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
local i m
|
||||
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
rm "${ED}"/usr/bin/emacs-${FULL_VERSION}-${EMACS_SUFFIX} \
|
||||
|| die "removing duplicate emacs executable failed"
|
||||
mv "${ED}"/usr/bin/emacs-${EMACS_SUFFIX} "${ED}"/usr/bin/${EMACS_SUFFIX} \
|
||||
|| die "moving Emacs executable failed"
|
||||
|
||||
# move man pages to the correct place
|
||||
for m in "${ED}"/usr/share/man/man1/* ; do
|
||||
mv "${m}" "${m%.1}-${EMACS_SUFFIX}.1" || die "mv man failed"
|
||||
done
|
||||
|
||||
# move info dir to avoid collisions with the dir file generated by portage
|
||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|
||||
|| die "moving info dir failed"
|
||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
||||
|
||||
# avoid collision between slots, see bug #169033 e.g.
|
||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
rm -rf "${ED}"/usr/share/{applications,icons}
|
||||
rm "${ED}"/var/lib/games/emacs/{snake,tetris}-scores
|
||||
keepdir /var/lib/games/emacs
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
local c=";;"
|
||||
if use source; then
|
||||
insinto /usr/share/emacs/${FULL_VERSION}/src
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
doins -r src/{m,s}
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/src/Makefile.c
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/src/{m,s}/README
|
||||
c=""
|
||||
fi
|
||||
|
||||
sed 's/^X//' >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
X ${c}(setq find-function-C-source-directory
|
||||
X ${c} "${EPREFIX}/usr/share/emacs/${FULL_VERSION}/src")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
else
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${ED}"${infodir}/dir{,.*}
|
||||
for f in "${ED}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local f
|
||||
for f in "${EROOT}"/var/lib/games/emacs/{snake,tetris}-scores; do
|
||||
[[ -e ${f} ]] || touch "${f}"
|
||||
done
|
||||
chown games "${EROOT}"/var/lib/games/emacs
|
||||
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
|
||||
if use X; then
|
||||
elog "You need to install some fonts for Emacs."
|
||||
elog "Installing media-fonts/font-adobe-{75,100}dpi on the X server's"
|
||||
elog "machine would satisfy basic Emacs requirements under X11."
|
||||
elog "See also http://www.gentoo.org/proj/en/lisp/emacs/xft.xml"
|
||||
elog "for how to enable anti-aliased fonts."
|
||||
elog
|
||||
fi
|
||||
|
||||
elog "You can set the version to be started by /usr/bin/emacs through"
|
||||
elog "the Emacs eselect module, which also redirects man and info pages."
|
||||
elog "Therefore, several Emacs versions can be installed at the same time."
|
||||
elog "\"man emacs.eselect\" for details."
|
||||
elog
|
||||
elog "If you upgrade from a previous major version of Emacs, then it is"
|
||||
elog "strongly recommended that you use app-admin/emacs-updater to rebuild"
|
||||
elog "all byte-compiled elisp files of the installed Emacs packages."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
|
@ -1,182 +0,0 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-21.4-r23.ebuild,v 1.5 2011/12/06 13:44:27 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit flag-o-matic eutils toolchain-funcs autotools
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
SRC_URI="mirror://gnu/emacs/${P}a.tar.gz
|
||||
mirror://gentoo/${P}-patches-12.tar.bz2
|
||||
leim? ( mirror://gnu/emacs/leim-${PV}.tar.gz )"
|
||||
|
||||
LICENSE="GPL-2 FDL-1.1 BSD as-is MIT"
|
||||
SLOT="21"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="X Xaw3d leim motif sendmail"
|
||||
|
||||
DEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.2
|
||||
X? (
|
||||
x11-libs/libXext
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXpm
|
||||
x11-misc/xbitmaps
|
||||
>=media-libs/giflib-4.1.0.1b
|
||||
virtual/jpeg
|
||||
>=media-libs/tiff-3.5.5-r3
|
||||
>=media-libs/libpng-1.4:0
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( motif? ( >=x11-libs/openmotif-2.3:0 ) )
|
||||
)"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
>=app-emacs/emacs-common-gentoo-1[X?]
|
||||
sendmail? ( virtual/mta )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX=patch epatch
|
||||
|
||||
sed -i \
|
||||
-e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \
|
||||
-e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \
|
||||
"${S}"/src/s/freebsd.h || die "unable to sed freebsd.h settings"
|
||||
|
||||
# This will need to be updated for X-Compilation
|
||||
sed -i -e "s:/usr/lib/\([^ ]*\).o:/usr/$(get_libdir)/\1.o:g" \
|
||||
"${S}/src/s/gnu-linux.h" || die
|
||||
|
||||
# custom aclocal.m4 was only needed for autoconf 2.13 and earlier
|
||||
rm aclocal.m4
|
||||
eaclocal
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -fstack-protector gets internal compiler error at xterm.c (bug 33265)
|
||||
filter-flags -fstack-protector -fstack-protector-all
|
||||
|
||||
# emacs doesn't handle LDFLAGS properly (bug #77430 and bug #65002)
|
||||
unset LDFLAGS
|
||||
|
||||
# ever since GCC 3.2
|
||||
replace-flags -O[3-9] -O2
|
||||
|
||||
# -march is known to cause signal 6 on some environment
|
||||
filter-flags "-march=*"
|
||||
|
||||
local myconf
|
||||
if use X ; then
|
||||
myconf="${myconf}
|
||||
--with-x
|
||||
--with-xpm
|
||||
--with-jpeg
|
||||
--with-tiff
|
||||
--with-gif
|
||||
--with-png"
|
||||
|
||||
if use Xaw3d ; then
|
||||
einfo "Configuring to build with Xaw3d (Athena/Lucid) toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=athena"
|
||||
use motif \
|
||||
&& ewarn "USE flag \"motif\" ignored (superseded by \"Xaw3d\")"
|
||||
elif use motif ; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=motif"
|
||||
else
|
||||
# do not build emacs with any toolkit, bug 35300
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=no"
|
||||
fi
|
||||
else
|
||||
myconf="${myconf} --without-x"
|
||||
fi
|
||||
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0
|
||||
emake CC="$(tc-getCC)"
|
||||
|
||||
einfo "Recompiling patched lisp files..."
|
||||
(cd lisp; emake recompile)
|
||||
(cd src; emake versionclean)
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i m
|
||||
|
||||
einstall infodir="${D}/usr/share/info/emacs-${SLOT}"
|
||||
|
||||
for i in "${D}"/usr/bin/* ; do
|
||||
mv "${i}" "${i}-emacs-${SLOT}" || die "mv ${i} failed"
|
||||
done
|
||||
mv "${D}"/usr/bin/emacs{-emacs,}-${SLOT} || die "mv emacs failed"
|
||||
rm "${D}"/usr/bin/emacs-${PV}-emacs-${SLOT}
|
||||
|
||||
# move man pages to the correct place
|
||||
for m in "${D}"/usr/share/man/man1/* ; do
|
||||
mv "${m}" "${m%.1}-emacs-${SLOT}.1" || die "mv ${m} failed"
|
||||
done
|
||||
|
||||
# move info dir to avoid collisions with the dir file generated by portage
|
||||
mv "${D}"/usr/share/info/emacs-${SLOT}/dir{,.orig} \
|
||||
|| die "moving info dir failed"
|
||||
touch "${D}"/usr/share/info/emacs-${SLOT}/.keepinfodir
|
||||
docompress -x /usr/share/info/emacs-${SLOT}/dir.orig
|
||||
|
||||
# avoid collision between slots
|
||||
rm "${D}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
|
||||
# fix permissions
|
||||
find "${D}" -perm 664 |xargs chmod -f 644 2>/dev/null
|
||||
find "${D}" -type d |xargs chmod -f 755 2>/dev/null
|
||||
|
||||
keepdir /usr/share/emacs/${PV}/leim
|
||||
|
||||
dodoc BUGS ChangeLog README
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/emacs-${SLOT} f
|
||||
if [ -f "${D}"${infodir}/dir.orig ]; then
|
||||
mv "${D}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
else
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${D}"${infodir}/dir{,.*}
|
||||
for f in "${D}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *[0-9].info* && -e ${f} ]]; then
|
||||
install-info --info-dir="${D}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect emacs update ifunset
|
||||
|
||||
if ! use sendmail && ! has_version "virtual/mta"; then
|
||||
elog "You disabled sendmail support for Emacs. If you later install"
|
||||
elog "a MTA then you will need to recompile Emacs. See Bug #11104."
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
elog "You need to install some fonts for Emacs."
|
||||
elog "Installing media-fonts/font-adobe-{75,100}dpi on the X server's"
|
||||
elog "machine would satisfy basic Emacs requirements under X11."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect emacs update ifunset
|
||||
}
|
|
@ -1,253 +0,0 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-22.3-r8.ebuild,v 1.4 2011/12/06 13:44:27 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
SRC_URI="mirror://gnu/emacs/${P}.tar.gz
|
||||
mirror://gentoo/${P}-patches-8.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3 FDL-1.2 BSD as-is MIT"
|
||||
SLOT="22"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="alsa gif gtk gzip-el hesiod jpeg kerberos motif png sound source tiff toolkit-scroll-bars X Xaw3d +xpm"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.2
|
||||
net-libs/liblockfile
|
||||
hesiod? ( net-dns/hesiod )
|
||||
kerberos? ( virtual/krb5 )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gif? ( media-libs/giflib )
|
||||
jpeg? ( virtual/jpeg )
|
||||
png? ( >=media-libs/libpng-1.4:0 )
|
||||
tiff? ( media-libs/tiff )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
!gtk? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( motif? ( >=x11-libs/openmotif-2.3:0 ) )
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
alsa? ( dev-util/pkgconfig )
|
||||
X? ( gtk? ( dev-util/pkgconfig ) )
|
||||
gzip-el? ( app-arch/gzip )"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
>=app-emacs/emacs-common-gentoo-1[X?]"
|
||||
|
||||
# FULL_VERSION keeps the full version number, which is needed in order to
|
||||
# determine some path information correctly for copy/move operations later on
|
||||
FULL_VERSION="${PV}"
|
||||
EMACS_SUFFIX="emacs-${SLOT}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX=patch epatch
|
||||
|
||||
sed -i \
|
||||
-e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \
|
||||
-e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \
|
||||
"${S}"/src/s/freebsd.h || die "unable to sed freebsd.h settings"
|
||||
|
||||
if ! use alsa; then
|
||||
# ALSA is detected even if not requested by its USE flag.
|
||||
# Suppress it by supplying pkg-config with a wrong library name.
|
||||
sed -i -e "/ALSA_MODULES=/s/alsa/DiSaBlEaLsA/" configure.in \
|
||||
|| die "unable to sed configure.in"
|
||||
fi
|
||||
if ! use gzip-el; then
|
||||
# Emacs' build system automatically detects the gzip binary and
|
||||
# compresses el files. We don't want that so confuse it with a
|
||||
# wrong binary name
|
||||
sed -i -e "s/ gzip/ PrEvEnTcOmPrEsSiOn/" configure.in \
|
||||
|| die "unable to sed configure.in"
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
ALLOWED_FLAGS=""
|
||||
strip-flags
|
||||
filter-flags -fstack-protector -fstack-protector-all #285778
|
||||
replace-flags -O[3-9] -O2
|
||||
sed -i -e "s/-lungif/-lgif/g" configure* src/Makefile* || die
|
||||
|
||||
local myconf
|
||||
|
||||
if use alsa && ! use sound; then
|
||||
einfo "Although sound USE flag is disabled you chose to have alsa,"
|
||||
einfo "so sound is switched on anyway."
|
||||
myconf="${myconf} --with-sound"
|
||||
else
|
||||
myconf="${myconf} $(use_with sound)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf="${myconf} --with-x"
|
||||
myconf="${myconf} $(use_with toolkit-scroll-bars)"
|
||||
myconf="${myconf} $(use_with gif) $(use_with jpeg)"
|
||||
myconf="${myconf} $(use_with png) $(use_with tiff)"
|
||||
myconf="${myconf} $(use_with xpm)"
|
||||
|
||||
# GTK+ is the default toolkit if USE=gtk is chosen with other
|
||||
# possibilities. Emacs upstream thinks this should be standard
|
||||
# policy on all distributions
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf="${myconf} --with-x-toolkit=gtk"
|
||||
elif use Xaw3d; then
|
||||
einfo "Configuring to build with Xaw3d (Athena/Lucid) toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=athena"
|
||||
myconf="${myconf} --without-gtk"
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=motif"
|
||||
myconf="${myconf} --without-gtk"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=no"
|
||||
myconf="${myconf} --without-gtk"
|
||||
fi
|
||||
|
||||
local f tk=
|
||||
for f in gtk Xaw3d motif; do
|
||||
use ${f} || continue
|
||||
[ "${tk}" ] \
|
||||
&& ewarn "USE flag \"${f}\" ignored (superseded by \"${tk}\")"
|
||||
tk="${tk}${tk:+ }${f}"
|
||||
done
|
||||
else
|
||||
myconf="${myconf} --without-x"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--program-suffix=-${EMACS_SUFFIX} \
|
||||
--infodir=/usr/share/info/${EMACS_SUFFIX} \
|
||||
--without-carbon \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
local i m
|
||||
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
rm "${D}"/usr/bin/emacs-${FULL_VERSION}-${EMACS_SUFFIX} \
|
||||
|| die "removing duplicate emacs executable failed"
|
||||
mv "${D}"/usr/bin/emacs-${EMACS_SUFFIX} "${D}"/usr/bin/${EMACS_SUFFIX} \
|
||||
|| die "moving Emacs executable failed"
|
||||
|
||||
# move man pages to the correct place
|
||||
for m in "${D}"/usr/share/man/man1/* ; do
|
||||
mv "${m}" "${m%.1}-${EMACS_SUFFIX}.1" || die "mv man failed"
|
||||
done
|
||||
|
||||
# move info dir to avoid collisions with the dir file generated by portage
|
||||
mv "${D}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|
||||
|| die "moving info dir failed"
|
||||
touch "${D}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
||||
|
||||
# avoid collision between slots, see bug #169033 e.g.
|
||||
rm "${D}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
rm "${D}"/var/lib/games/emacs/{snake,tetris}-scores
|
||||
keepdir /var/lib/games/emacs
|
||||
|
||||
local c=";;"
|
||||
if use source; then
|
||||
insinto /usr/share/emacs/${FULL_VERSION}/src
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.[ch]
|
||||
c=""
|
||||
fi
|
||||
|
||||
sed 's/^X//' >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
X ${c}(setq find-function-C-source-directory
|
||||
X ${c} "/usr/share/emacs/${FULL_VERSION}/src")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`/usr/share/info\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc AUTHORS BUGS CONTRIBUTE README
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [ -f "${D}"${infodir}/dir.orig ]; then
|
||||
mv "${D}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
else
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${D}"${infodir}/dir{,.*}
|
||||
for f in "${D}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${D}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local f
|
||||
for f in "${ROOT}"/var/lib/games/emacs/{snake,tetris}-scores; do
|
||||
[ -e "${f}" ] || touch "${f}"
|
||||
done
|
||||
chown "${GAMES_USER_DED:-games}" "${ROOT}"/var/lib/games/emacs
|
||||
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
|
||||
if use X; then
|
||||
elog "You need to install some fonts for Emacs."
|
||||
elog "Installing media-fonts/font-adobe-{75,100}dpi on the X server's"
|
||||
elog "machine would satisfy basic Emacs requirements under X11."
|
||||
elog
|
||||
fi
|
||||
|
||||
elog "You can set the version to be started by /usr/bin/emacs through"
|
||||
elog "the Emacs eselect module, which also redirects man and info pages."
|
||||
elog "Therefore, several Emacs versions can be installed at the same time."
|
||||
elog "\"man emacs.eselect\" for details."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.3-r4.ebuild,v 1.4 2012/01/15 14:17:58 tomka Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.3-r4.ebuild,v 1.5 2012/01/15 19:14:09 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
WANT_AUTOMAKE="none"
|
||||
|
@ -14,7 +14,7 @@ SRC_URI="mirror://gnu/emacs/${P}a.tar.bz2
|
|||
|
||||
LICENSE="GPL-3 FDL-1.3 BSD as-is MIT W3C unicode PSF-2"
|
||||
SLOT="23"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="alsa aqua athena dbus gconf gif gpm gtk gzip-el hesiod jpeg kerberos livecd m17n-lib motif png sound source svg tiff toolkit-scroll-bars X Xaw3d xft +xpm"
|
||||
REQUIRED_USE="aqua? ( !X )"
|
||||
|
||||
|
|
|
@ -1,80 +0,0 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/cedet/cedet-1.0-r1.ebuild,v 1.3 2012/01/14 18:34:22 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
NEED_EMACS=22
|
||||
|
||||
inherit elisp
|
||||
|
||||
MY_P=${P/_}
|
||||
DESCRIPTION="CEDET: Collection of Emacs Development Environment Tools"
|
||||
HOMEPAGE="http://cedet.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/cedet/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 FDL-1.2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
ELISP_PATCHES="${P}-ede_security_fix.patch"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
EMACSFLAGS="${EMACSFLAGS} -L ${S}/eieio -L ${S}/semantic -L ${S}/srecode \
|
||||
-L ${S}/ede -L ${S}/speedbar -L ${S}/cogre"
|
||||
|
||||
src_compile() {
|
||||
emake -j1 \
|
||||
EMACS="${EMACS}" \
|
||||
EMACSFLAGS="${EMACSFLAGS}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 \
|
||||
EMACS="${EMACS}" \
|
||||
EMACSFLAGS="${EMACSFLAGS}" \
|
||||
utest
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local target file dir
|
||||
find . -type d -name tests -prune -o -type f -print | while read target
|
||||
do
|
||||
file=${target##*/}
|
||||
dir=${target%/*}; dir=${dir#./}
|
||||
case "${file}" in
|
||||
*~ | Makefile | *.texi | *-script | PRERELEASE_CHECKLIST \
|
||||
| Project.ede | USING_CEDET_FROM_CVS | grammar-fw-ov.txt)
|
||||
;;
|
||||
ChangeLog | README | AUTHORS | *NEWS | INSTALL \
|
||||
| renamelist.txt | semanticdb.sh)
|
||||
docinto "${dir}"
|
||||
dodoc "${target}" ;;
|
||||
*.el | *.by | *.wy)
|
||||
# install grammar sources along with the elisp files, since
|
||||
# the location where semantic expects them is not configurable
|
||||
insinto "${SITELISP}/${PN}/${dir}"
|
||||
doins "${target}" ;;
|
||||
*.elc)
|
||||
# we are in a subshell, so collecting in a variable won't work
|
||||
echo "${target}" >>"${T}/elc-list.txt" ;;
|
||||
*.srt | *.xpm)
|
||||
insinto "${SITEETC}/${PN}/${dir}"
|
||||
doins "${target}" ;;
|
||||
*.info* | grammar-fw-ov.png)
|
||||
doinfo "${target}" ;;
|
||||
*)
|
||||
die "Unrecognised file ${target}" ;;
|
||||
esac
|
||||
done
|
||||
|
||||
# make sure that the compiled elisp files have a later time stamp than
|
||||
# the corresponding sources, in order to suppress warnings at run time
|
||||
while read target; do
|
||||
dir=${target%/*}; dir=${dir#./}
|
||||
insinto "${SITELISP}/${PN}/${dir}"
|
||||
doins "${target}"
|
||||
done <"${T}/elc-list.txt"
|
||||
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
|
||||
}
|
|
@ -1,379 +0,0 @@
|
|||
http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00387.html
|
||||
https://bugs.gentoo.org/398227
|
||||
|
||||
--- cedet-1.0-orig/ede/ede-auto.el
|
||||
+++ cedet-1.0/ede/ede-auto.el
|
||||
@@ -57,6 +57,13 @@
|
||||
:initform t
|
||||
:documentation
|
||||
"Non-nil if this is an option when a user creates a project.")
|
||||
+ (safe-p :initarg :safe-p
|
||||
+ :initform t
|
||||
+ :documentation
|
||||
+ "Non-nil if the project load files are \"safe\".
|
||||
+An unsafe project is one that loads project variables via Emacs
|
||||
+Lisp code. A safe project is one that loads project variables by
|
||||
+scanning files without loading Lisp code from them.")
|
||||
)
|
||||
"Class representing minimal knowledge set to run preliminary EDE functions.
|
||||
When more advanced functionality is needed from a project type, that projects
|
||||
@@ -68,13 +75,15 @@
|
||||
:name "Make" :file 'ede-proj
|
||||
:proj-file "Project.ede"
|
||||
:load-type 'ede-proj-load
|
||||
- :class-sym 'ede-proj-project)
|
||||
+ :class-sym 'ede-proj-project
|
||||
+ :safe-p nil)
|
||||
(ede-project-autoload "edeproject-automake"
|
||||
:name "Automake" :file 'ede-proj
|
||||
:proj-file "Project.ede"
|
||||
:initializers '(:makefile-type Makefile.am)
|
||||
:load-type 'ede-proj-load
|
||||
- :class-sym 'ede-proj-project)
|
||||
+ :class-sym 'ede-proj-project
|
||||
+ :safe-p nil)
|
||||
(ede-project-autoload "automake"
|
||||
:name "automake" :file 'project-am
|
||||
:proj-file "Makefile.am"
|
||||
@@ -84,6 +93,8 @@
|
||||
)
|
||||
"List of vectors defining how to determine what type of projects exist.")
|
||||
|
||||
+(put 'ede-project-class-files 'risky-local-variable t)
|
||||
+
|
||||
;;; EDE project-autoload methods
|
||||
;;
|
||||
(defmethod ede-project-root ((this ede-project-autoload))
|
||||
@@ -122,6 +133,19 @@
|
||||
(when (and f (file-exists-p f))
|
||||
f)))
|
||||
|
||||
+(defmethod ede-auto-load-project ((this ede-project-autoload) dir)
|
||||
+ "Load in the project associated with THIS project autoload description.
|
||||
+THIS project description should be valid for DIR, where the project will
|
||||
+be loaded."
|
||||
+ ;; Last line of defense: don't load unsafe projects.
|
||||
+ (when (not (or (oref this :safe-p)
|
||||
+ (ede-directory-safe-p dir)))
|
||||
+ (error "Attempt to load an unsafe project (bug elsewhere in EDE)"))
|
||||
+ ;; Things are good - so load the project.
|
||||
+ (let ((o (funcall (oref this load-type) dir)))
|
||||
+ (when (not o)
|
||||
+ (error "Project type error: :load-type failed to create a project"))
|
||||
+ (ede-add-project-to-global-list o)))
|
||||
|
||||
(provide 'ede-auto)
|
||||
|
||||
--- cedet-1.0-orig/ede/ede-simple.el
|
||||
+++ cedet-1.0/ede/ede-simple.el
|
||||
@@ -51,7 +51,8 @@
|
||||
:name "Simple" :file 'ede-simple
|
||||
:proj-file 'ede-simple-projectfile-for-dir
|
||||
:load-type 'ede-simple-load
|
||||
- :class-sym 'ede-simple-project)
|
||||
+ :class-sym 'ede-simple-project
|
||||
+ :safe-p nil)
|
||||
t)
|
||||
|
||||
(defcustom ede-simple-save-directory "~/.ede"
|
||||
--- cedet-1.0-orig/ede/ede.el
|
||||
+++ cedet-1.0/ede/ede.el
|
||||
@@ -81,6 +81,42 @@
|
||||
(require 'ede-auto)
|
||||
(require 'ede-base)
|
||||
|
||||
+(defcustom ede-project-directories nil
|
||||
+ "Directories in which EDE may search for project files.
|
||||
+If the value is t, EDE may search in any directory.
|
||||
+
|
||||
+If the value is a function, EDE calls that function with one
|
||||
+argument, the directory name; the function should return t iff
|
||||
+EDE should look for project files in the directory.
|
||||
+
|
||||
+Otherwise, the value should be a list of fully-expanded directory
|
||||
+names. EDE searches for project files only in those directories.
|
||||
+If you invoke the commands \\[ede] or \\[ede-new] on a directory
|
||||
+that is not listed, Emacs will offer to add it to the list.
|
||||
+
|
||||
+Any other value disables searching for EDE project files."
|
||||
+ :group 'ede
|
||||
+ :type '(choice (const :tag "Any directory" t)
|
||||
+ (repeat :tag "List of directories"
|
||||
+ (directory))
|
||||
+ (function :tag "Predicate"))
|
||||
+ :version "23.4"
|
||||
+ :risky t)
|
||||
+
|
||||
+(defun ede-directory-safe-p (dir)
|
||||
+ "Return non-nil if DIR is a safe directory to load projects from.
|
||||
+Projects that do not load a project definition as Emacs Lisp code
|
||||
+are safe, and can be loaded automatically. Other project types,
|
||||
+such as those created with Project.ede files, are safe only if
|
||||
+specified by `ede-project-directories'."
|
||||
+ (setq dir (directory-file-name (expand-file-name dir)))
|
||||
+ ;; Load only if allowed by `ede-project-directories'.
|
||||
+ (or (eq ede-project-directories t)
|
||||
+ (and (functionp ede-project-directories)
|
||||
+ (funcall ede-project-directories dir))
|
||||
+ (and (listp ede-project-directories)
|
||||
+ (member dir ede-project-directories))))
|
||||
+
|
||||
|
||||
;;; Management variables
|
||||
;;
|
||||
@@ -408,24 +444,42 @@
|
||||
Sets buffer local variables for EDE."
|
||||
(let* ((ROOT nil)
|
||||
(proj (ede-directory-get-open-project default-directory
|
||||
- 'ROOT)))
|
||||
+ 'ROOT))
|
||||
+ (projauto nil))
|
||||
+
|
||||
(when (or proj ROOT
|
||||
- (ede-directory-project-p default-directory t))
|
||||
+ ;; If there is no open project, look up the project
|
||||
+ ;; autoloader to see if we should initialize.
|
||||
+ (setq projauto (ede-directory-project-p default-directory t)))
|
||||
+
|
||||
+ (when (and (not proj) projauto)
|
||||
+
|
||||
+ ;; No project was loaded, but we have a project description
|
||||
+ ;; object. This means that we can check if it is a safe
|
||||
+ ;; project to load before requesting it to be loaded.
|
||||
+
|
||||
+ (when (or (oref projauto safe-p)
|
||||
+ ;; The project style is not safe, so check if it is
|
||||
+ ;; in `ede-project-directories'.
|
||||
+ (let ((top (ede-toplevel-project default-directory)))
|
||||
+ (ede-directory-safe-p top)))
|
||||
+
|
||||
+ ;; The project is safe, so load it in.
|
||||
+ (setq proj (ede-load-project-file default-directory 'ROOT))))
|
||||
|
||||
- (when (not proj)
|
||||
- ;; @todo - this could be wasteful.
|
||||
- (setq proj (ede-load-project-file default-directory 'ROOT)))
|
||||
+ ;; Only initialize EDE state in this buffer if we found a project.
|
||||
+ (when proj
|
||||
|
||||
- (setq ede-object (ede-buffer-object (current-buffer)
|
||||
+ (setq ede-object (ede-buffer-object (current-buffer)
|
||||
'ede-object-project))
|
||||
|
||||
- (setq ede-object-root-project
|
||||
- (or ROOT (ede-project-root ede-object-project)))
|
||||
+ (setq ede-object-root-project
|
||||
+ (or ROOT (ede-project-root ede-object-project)))
|
||||
|
||||
- (if (and (not ede-object) ede-object-project)
|
||||
- (ede-auto-add-to-target))
|
||||
+ (if (and (not ede-object) ede-object-project)
|
||||
+ (ede-auto-add-to-target))
|
||||
|
||||
- (ede-apply-target-options))))
|
||||
+ (ede-apply-target-options)))))
|
||||
|
||||
(defun ede-reset-all-buffers (onoff)
|
||||
"Reset all the buffers due to change in EDE.
|
||||
@@ -534,13 +588,73 @@
|
||||
|
||||
;;; Interactive method invocations
|
||||
;;
|
||||
-(defun ede (file)
|
||||
- "Start up EDE on something.
|
||||
-Argument FILE is the file or directory to load a project from."
|
||||
- (interactive "fProject File: ")
|
||||
- (if (not (file-exists-p file))
|
||||
- (ede-new file)
|
||||
- (ede-load-project-file (file-name-directory file))))
|
||||
+(defun ede (dir)
|
||||
+ "Start up EDE for directory DIR.
|
||||
+If DIR has an existing project file, load it.
|
||||
+Otherwise, create a new project for DIR."
|
||||
+ (interactive
|
||||
+ ;; When choosing a directory to turn on, and we see some directory here,
|
||||
+ ;; provide that as the default.
|
||||
+ (let* ((top (ede-toplevel-project default-directory))
|
||||
+ (promptdflt (or top default-directory)))
|
||||
+ (list (read-directory-name "Project directory: "
|
||||
+ promptdflt promptdflt t))))
|
||||
+ (unless (file-directory-p dir)
|
||||
+ (error "%s is not a directory" dir))
|
||||
+ (when (ede-directory-get-open-project dir)
|
||||
+ (error "%s already has an open project associated with it" dir))
|
||||
+
|
||||
+ ;; Check if the directory has been added to the list of safe
|
||||
+ ;; directories. It can also add the directory to the safe list if
|
||||
+ ;; the user chooses.
|
||||
+ (if (ede-check-project-directory dir)
|
||||
+ (progn
|
||||
+ ;; If there is a project in DIR, load it, otherwise do
|
||||
+ ;; nothing.
|
||||
+ (ede-load-project-file dir)
|
||||
+
|
||||
+ ;; Check if we loaded anything on the previous line.
|
||||
+ (if (ede-current-project dir)
|
||||
+
|
||||
+ ;; We successfully opened an existing project. Some open
|
||||
+ ;; buffers may also be referring to this project.
|
||||
+ ;; Resetting all the buffers will get them to also point
|
||||
+ ;; at this new open project.
|
||||
+ (ede-reset-all-buffers 1)
|
||||
+
|
||||
+ ;; ELSE
|
||||
+ ;; There was no project, so switch to `ede-new' which is how
|
||||
+ ;; a user can select a new kind of project to create.
|
||||
+ (let ((default-directory (expand-file-name dir)))
|
||||
+ (call-interactively 'ede-new))))
|
||||
+
|
||||
+ ;; If the proposed directory isn't safe, then say so.
|
||||
+ (error "%s is not an allowed project directory in `ede-project-directories'"
|
||||
+ dir)))
|
||||
+
|
||||
+(defun ede-check-project-directory (dir)
|
||||
+ "Check if DIR should be in `ede-project-directories'.
|
||||
+If it is not, try asking the user if it should be added; if so,
|
||||
+add it and save `ede-project-directories' via Customize.
|
||||
+Return nil iff DIR should not be in `ede-project-directories'."
|
||||
+ (setq dir (directory-file-name (expand-file-name dir))) ; strip trailing /
|
||||
+ (or (eq ede-project-directories t)
|
||||
+ (and (functionp ede-project-directories)
|
||||
+ (funcall ede-project-directories dir))
|
||||
+ ;; If `ede-project-directories' is a list, maybe add it.
|
||||
+ (when (listp ede-project-directories)
|
||||
+ (or (member dir ede-project-directories)
|
||||
+ (when (y-or-n-p (format "`%s' is not listed in `ede-project-directories'.
|
||||
+Add it to the list of allowed project directories? "
|
||||
+ dir))
|
||||
+ (push dir ede-project-directories)
|
||||
+ ;; If possible, save `ede-project-directories'.
|
||||
+ (if (or custom-file user-init-file)
|
||||
+ (let ((coding-system-for-read nil))
|
||||
+ (customize-save-variable
|
||||
+ 'ede-project-directories
|
||||
+ ede-project-directories)))
|
||||
+ t)))))
|
||||
|
||||
(defun ede-new (type &optional name)
|
||||
"Create a new project starting of project type TYPE.
|
||||
@@ -574,6 +688,11 @@
|
||||
(error "Cannot create project in non-existent directory %s" default-directory))
|
||||
(when (not (file-writable-p default-directory))
|
||||
(error "No write permissions for %s" default-directory))
|
||||
+ (unless (ede-check-project-directory default-directory)
|
||||
+ (error "%s is not an allowed project directory in `ede-project-directories'"
|
||||
+ default-directory))
|
||||
+ ;; Make sure the project directory is loadable in the future.
|
||||
+ (ede-check-project-directory default-directory)
|
||||
;; Create the project
|
||||
(let* ((obj (object-assoc type 'name ede-project-class-files))
|
||||
(nobj (let ((f (oref obj file))
|
||||
@@ -607,6 +726,10 @@
|
||||
(ede-add-subproject pp nobj)
|
||||
(ede-commit-project pp)))
|
||||
(ede-commit-project nobj))
|
||||
+ ;; Once the project is created, load it again. This used to happen
|
||||
+ ;; lazily, but with project loading occurring less often and with
|
||||
+ ;; security in mind, this is now the safe time to reload.
|
||||
+ (ede-load-project-file default-directory)
|
||||
;; Have the menu appear
|
||||
(setq ede-minor-mode t)
|
||||
;; Allert the user
|
||||
@@ -629,11 +752,16 @@
|
||||
(defun ede-rescan-toplevel ()
|
||||
"Rescan all project files."
|
||||
(interactive)
|
||||
- (let ((toppath (ede-toplevel-project default-directory))
|
||||
- (ede-deep-rescan t))
|
||||
- (project-rescan (ede-load-project-file toppath))
|
||||
- (ede-reset-all-buffers 1)
|
||||
- ))
|
||||
+ (if (not (ede-directory-get-open-project default-directory))
|
||||
+ ;; This directory isn't open. Can't rescan.
|
||||
+ (error "Attempt to rescan a project that isn't open")
|
||||
+
|
||||
+ ;; Continue
|
||||
+ (let ((toppath (ede-toplevel-project default-directory))
|
||||
+ (ede-deep-rescan t))
|
||||
+
|
||||
+ (project-rescan (ede-load-project-file toppath))
|
||||
+ (ede-reset-all-buffers 1))))
|
||||
|
||||
(defun ede-new-target (&rest args)
|
||||
"Create a new target specific to this type of project file.
|
||||
@@ -877,7 +1005,7 @@
|
||||
;; Do the load
|
||||
;;(message "EDE LOAD : %S" file)
|
||||
(let* ((file dir)
|
||||
- (path (expand-file-name (file-name-directory file)))
|
||||
+ (path (file-name-as-directory (expand-file-name dir)))
|
||||
(pfc (ede-directory-project-p path))
|
||||
(toppath nil)
|
||||
(o nil))
|
||||
@@ -906,13 +1034,11 @@
|
||||
;; See if its been loaded before
|
||||
(setq o (object-assoc (ede-dir-to-projectfile pfc toppath) 'file
|
||||
ede-projects))
|
||||
- (if (not o)
|
||||
- ;; If not, get it now.
|
||||
- (let ((ede-constructing pfc))
|
||||
- (setq o (funcall (oref pfc load-type) toppath))
|
||||
- (when (not o)
|
||||
- (error "Project type error: :load-type failed to create a project"))
|
||||
- (ede-add-project-to-global-list o)))
|
||||
+
|
||||
+ ;; If not open yet, load it.
|
||||
+ (unless o
|
||||
+ (let ((ede-constructing pfc))
|
||||
+ (setq o (ede-auto-load-project pfc toppath))))
|
||||
|
||||
;; Return the found root project.
|
||||
(when rootreturn (set rootreturn o))
|
||||
@@ -967,13 +1093,7 @@
|
||||
(and root
|
||||
(ede-find-subproject-for-directory root updir))
|
||||
;; Try the all structure based search.
|
||||
- (ede-directory-get-open-project updir)
|
||||
- ;; Load up the project file as a last resort.
|
||||
- ;; Last resort since it uses file-truename, and other
|
||||
- ;; slow features.
|
||||
- (and (ede-directory-project-p updir)
|
||||
- (ede-load-project-file
|
||||
- (file-name-as-directory updir))))))))))
|
||||
+ (ede-directory-get-open-project updir))))))))
|
||||
|
||||
(defun ede-current-project (&optional dir)
|
||||
"Return the current project file.
|
||||
@@ -987,11 +1107,7 @@
|
||||
;; No current project.
|
||||
(when (not ans)
|
||||
(let* ((ldir (or dir default-directory)))
|
||||
- (setq ans (ede-directory-get-open-project ldir))
|
||||
- (or ans
|
||||
- ;; No open project, if this dir pass project-p, then load.
|
||||
- (when (ede-directory-project-p ldir)
|
||||
- (setq ans (ede-load-project-file ldir))))))
|
||||
+ (setq ans (ede-directory-get-open-project ldir))))
|
||||
;; Return what we found.
|
||||
ans))
|
||||
|
||||
@@ -1047,12 +1163,13 @@
|
||||
"Return the project which is the parent of TARGET.
|
||||
It is recommended you track the project a different way as this function
|
||||
could become slow in time."
|
||||
- ;; @todo - use ede-object-project as a starting point.
|
||||
- (let ((ans nil) (projs ede-projects))
|
||||
- (while (and (not ans) projs)
|
||||
- (setq ans (ede-target-in-project-p (car projs) target)
|
||||
- projs (cdr projs)))
|
||||
- ans))
|
||||
+ (or ede-object-project
|
||||
+ ;; If not cached, derive it from the current directory of the target.
|
||||
+ (let ((ans nil) (projs ede-projects))
|
||||
+ (while (and (not ans) projs)
|
||||
+ (setq ans (ede-target-in-project-p (car projs) target)
|
||||
+ projs (cdr projs)))
|
||||
+ ans)))
|
||||
|
||||
(defmethod ede-find-target ((proj ede-project) buffer)
|
||||
"Fetch the target in PROJ belonging to BUFFER or nil."
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/elib/elib-1.0-r1.ebuild,v 1.3 2012/01/06 16:47:49 ranger Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/elib/elib-1.0-r1.ebuild,v 1.4 2012/01/15 15:53:12 phajdan.jr Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
|
@ -12,7 +12,7 @@ SRC_URI="http://jdee.sunsite.dk/${P}.tar.gz"
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE=""
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/elib/elib-1.0.ebuild,v 1.15 2008/01/25 12:10:09 opfer Exp $
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="The Emacs Lisp Library"
|
||||
HOMEPAGE="http://jdee.sourceforge.net"
|
||||
SRC_URI="http://jdee.sunsite.dk/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
SITEFILE=50elib-gentoo.el
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
sed -i 's:--infodir:--info-dir:g' Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir "${SITELISP}/elib"
|
||||
dodir /usr/share/info
|
||||
emake prefix="${D}/usr" infodir="${D}/usr/share/info" install || die "emake install failed"
|
||||
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
|
||||
dodoc ChangeLog INSTALL NEWS README RELEASING TODO
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.3.ebuild,v 1.5 2012/01/15 14:18:40 tomka Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.3.ebuild,v 1.6 2012/01/15 19:11:55 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
|
@ -12,7 +12,7 @@ SRC_URI="mirror://gentoo/${P}.tar.gz"
|
|||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="X emacs22icons"
|
||||
|
||||
PDEPEND="virtual/emacs"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/howm/howm-1.3.9.1.ebuild,v 1.3 2012/01/06 16:49:15 ranger Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/howm/howm-1.3.9.1.ebuild,v 1.4 2012/01/15 15:54:15 phajdan.jr Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
|
@ -12,7 +12,7 @@ SRC_URI="http://howm.sourceforge.jp/a/${P}.tar.gz"
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ocaml-mode/ocaml-mode-3.12.1.ebuild,v 1.6 2012/01/08 21:04:22 maekke Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ocaml-mode/ocaml-mode-3.12.1.ebuild,v 1.7 2012/01/15 19:00:40 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
|
@ -14,7 +14,7 @@ SRC_URI="http://caml.inria.fr/distrib/${MY_P%.*}/${MY_P}.tar.bz2"
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ~ppc64 ~sparc x86 ~x86-fbsd"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ~ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}/emacs"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/q4wine/q4wine-0.121.ebuild,v 1.2 2012/01/09 16:31:56 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/q4wine/q4wine-0.121.ebuild,v 1.3 2012/01/15 15:16:06 phajdan.jr Exp $
|
||||
|
||||
EAPI="2"
|
||||
inherit cmake-utils
|
||||
|
@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${PF}.tar.bz2"
|
|||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug +icoutils +wineappdb -dbus gnome kde"
|
||||
|
||||
DEPEND="x11-libs/qt-gui:4
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/sbin/runscript
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header:
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-7.initd,v 1.2 2012/01/15 19:42:39 tove Exp $
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/dvtm/dvtm-0.7.ebuild,v 1.3 2012/01/04 05:39:25 vapier Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/dvtm/dvtm-0.7.ebuild,v 1.4 2012/01/15 15:55:06 phajdan.jr Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
|
@ -12,7 +12,7 @@ SRC_URI="http://www.brain-dump.org/projects/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="unicode"
|
||||
|
||||
DEPEND="sys-libs/ncurses[unicode?]"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/gentoo/gentoo-0.19.12.ebuild,v 1.5 2012/01/04 17:47:46 phajdan.jr Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/gentoo/gentoo-0.19.12.ebuild,v 1.6 2012/01/15 16:04:40 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
|
@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ~ppc ~ppc64 sparc x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-2.24:2
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/hatools/hatools-2.14.ebuild,v 1.2 2012/01/02 09:57:41 jlec Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/hatools/hatools-2.14.ebuild,v 1.3 2012/01/15 15:21:39 phajdan.jr Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
|
@ -10,7 +10,7 @@ SRC_URI="http://www.fatalmind.com/software/hatools/${P}.tar.gz"
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
KEYWORDS="~mips ~ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
src_prepare() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-2.0.1.ebuild,v 1.7 2011/12/28 16:25:17 halcy0n Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-2.0.1.ebuild,v 1.8 2012/01/15 15:53:14 armin76 Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
|
@ -21,7 +21,7 @@ SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/${P}.tar.xz"
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 ~sparc x86"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
|
||||
IUSE="cups debug nls +latex xetex luatex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant"
|
||||
|
||||
LANGS="ar ca cs de da el en es eu fi fr gl he hu ia id it ja nb nn pl pt ro ru sk sr sv tr uk zh_CN zh_TW"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/dvipdfmx-20110311.ebuild,v 1.4 2012/01/04 17:16:52 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/dvipdfmx-20110311.ebuild,v 1.5 2012/01/15 15:25:42 phajdan.jr Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit autotools eutils texlive-common
|
||||
|
@ -11,7 +11,7 @@ SRC_URI="http://project.ktug.or.kr/${PN}/snapshot/latest/${P}.tar.gz"
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-text/libpaper
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/hd2u/hd2u-1.0.3.ebuild,v 1.3 2012/01/02 14:24:05 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/hd2u/hd2u-1.0.3.ebuild,v 1.4 2012/01/15 15:26:19 phajdan.jr Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
|
@ -10,7 +10,7 @@ DESCRIPTION="Dos2Unix like text file converter"
|
|||
HOMEPAGE="http://www.megaloman.com/~hany/software/hd2u/"
|
||||
SRC_URI="http://www.megaloman.com/~hany/_data/hd2u/${P}.tgz"
|
||||
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
IUSE=""
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/htag/htag-0.0.24.ebuild,v 1.3 2012/01/04 17:07:54 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/htag/htag-0.0.24.ebuild,v 1.4 2012/01/15 15:27:21 phajdan.jr Exp $
|
||||
|
||||
inherit perl-app
|
||||
|
||||
|
@ -10,7 +10,7 @@ SRC_URI="http://www.earth.li/projectpurple/files/${P}.tar.gz"
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~mips ~ppc ~sparc ~x86"
|
||||
KEYWORDS="amd64 ~mips ~ppc ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/perl"
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/lcdf-typetools/lcdf-typetools-2.91.ebuild,v 1.4 2012/01/12 21:03:04 maekke Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/lcdf-typetools/lcdf-typetools-2.91.ebuild,v 1.5 2012/01/15 15:27:57 phajdan.jr Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
DESCRIPTION="Font utilities for eg manipulating OTF"
|
||||
SRC_URI="http://www.lcdf.org/type/${P}.tar.gz"
|
||||
HOMEPAGE="http://www.lcdf.org/type/#typetools"
|
||||
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
IUSE="+kpathsea"
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/selinux-syntax/selinux-syntax-20041225.ebuild,v 1.2 2012/01/06 15:01:14 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/selinux-syntax/selinux-syntax-20041225.ebuild,v 1.3 2012/01/15 15:30:53 phajdan.jr Exp $
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: SELinux type enforcement policy syntax"
|
||||
HOMEPAGE="http://www.cip.ifi.lmu.de/~bleher/selinux/"
|
||||
LICENSE="vim"
|
||||
KEYWORDS="~alpha amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
VIM_PLUGIN_HELPTEXT=\
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-2.0.4-r1.ebuild,v 1.7 2012/01/08 21:02:00 maekke Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-2.0.4-r1.ebuild,v 1.8 2012/01/15 19:03:48 armin76 Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
|
@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="GPL-3 as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 s390 sh sparc x86 ~ppc-aix ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="ccache doc pcre"
|
||||
RESTRICT="test"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/tuprolog-2.3.1_beta.ebuild,v 1.3 2012/01/14 20:53:35 keri Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/tuprolog-2.3.1_beta.ebuild,v 1.4 2012/01/15 17:44:38 mr_bones_ Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
|
@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/tuprolog/${MY_P}.zip"
|
|||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="doc"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND=">=virtual/jdk-1.5
|
||||
>=dev-java/javassist-3"
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
DIST libbsd-0.2.0.tar.gz 81824 RMD160 e0038f00313ab07e7185ce180bcd3e624b0c7d97 SHA1 048f8522d15df9f160c17e43a45485bcd617bb0d SHA256 5c7920d4d3d0e253f4698b42b7b67130295d59df61c5a0e04e2d1787d543f0f1
|
||||
DIST libbsd-0.3.0.tar.gz 102409 RMD160 bb7aeecafcfc9a9ad250df45e5381e26b558b366 SHA1 cb294a6123fb1dd173369144adfcaccb278db310 SHA256 fbf36ed40443e1d0d795adbae8d461952509e610c3ccf0866ae160b723f7fe38
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
Add missing prototypes for arc4random_buf and arc4random_uniform
|
||||
|
||||
Patch by Kevin McCarthy <signals@gentoo.org>
|
||||
|
||||
--- include/bsd/stdlib.h
|
||||
+++ include/bsd/stdlib.h
|
||||
@@ -45,6 +45,8 @@
|
||||
u_int32_t arc4random();
|
||||
void arc4random_stir();
|
||||
void arc4random_addrandom(u_char *dat, int datlen);
|
||||
+void arc4random_buf(void *_buf, size_t n);
|
||||
+u_int32_t arc4random_uniform(u_int32_t upper_bound);
|
||||
|
||||
int dehumanize_number(const char *str, int64_t *size);
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
Update Makefile to use bsd/nlist.h instead of nlist.h so it won't
|
||||
conflict with dev-libs/elfutils
|
||||
|
||||
Patch by Kevin McCarthy <signals@gentoo.org>
|
||||
|
||||
--- Makefile
|
||||
+++ Makefile
|
||||
@@ -65,7 +65,7 @@
|
||||
bsd/stdlib.h \
|
||||
bsd/readpassphrase.h \
|
||||
bsd/unistd.h \
|
||||
- nlist.h \
|
||||
+ bsd/nlist.h \
|
||||
vis.h \
|
||||
libutil.h
|
||||
|
|
@ -1,79 +0,0 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libbsd/libbsd-0.2.0.ebuild,v 1.3 2011/10/24 20:21:18 maekke Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="A BSD compatibility library"
|
||||
HOMEPAGE="http://libbsd.freedesktop.org/wiki/"
|
||||
SRC_URI="http://libbsd.freedesktop.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD BSD-2 BSD-4 ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
pkg_setup() {
|
||||
mylibbsdconf=(
|
||||
libdir=/usr/$(get_libdir)
|
||||
usrlibdir=/usr/$(get_libdir)
|
||||
pkgconfigdir=/usr/$(get_libdir)/pkgconfig
|
||||
)
|
||||
if ! has_version "dev-libs/libbsd"; then
|
||||
if [[ -e ${ROOT}/usr/$(get_libdir)/libbsd.a ]]; then
|
||||
eerror
|
||||
eerror "Sorry, you will need to rebuild sys-libs/glibc before"
|
||||
eerror "installing dev-libs/libbsd. (emerge -1 sys-libs/glibc)"
|
||||
eerror
|
||||
die "Unable to install until glibc rebuilt."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
mv include/nlist.h include/bsd/nlist.h
|
||||
epatch "${FILESDIR}"/${P}-arc4random-prototypes.patch \
|
||||
"${FILESDIR}"/${P}-move-nlist.patch
|
||||
sed -i \
|
||||
-e 's/gcc /$(CC) ${LDFLAGS} /' \
|
||||
-e 's/^ ar / $(AR) /' \
|
||||
Makefile || die "Fix Makefile"
|
||||
# Fix header paths in manpages. Has to be done in steps because
|
||||
# not every reference in every man page is wrong.
|
||||
sed -i \
|
||||
-e 's^\.In stdio.h^.In bsd/stdio.h^' \
|
||||
src/fgetln.3 \
|
||||
src/fmtcheck.3 || die "Fix stdio.h man pages"
|
||||
sed -i \
|
||||
-e 's^\.In stdlib.h^.In bsd/stdlib.h^' \
|
||||
src/humanize_number.3 \
|
||||
src/strtonum.3 \
|
||||
src/arc4random.3 || die "Fix stdlib.h man pages"
|
||||
sed -i \
|
||||
-e 's^\.In unistd.h^.In bsd/unistd.h^' \
|
||||
src/setmode.3 || die "Fix unistd.h man pages"
|
||||
sed -i \
|
||||
-e 's^\.In string.h^.In bsd/string.h^' \
|
||||
src/strlcpy.3 \
|
||||
src/strmode.3 || die "Fix string.h man pages"
|
||||
sed -i \
|
||||
-e 's^\.Fd #include <mdX.h>^.Fd #include <bsd/mdX.h>^' \
|
||||
src/mdX.3 || die "Fix md5.h man pages"
|
||||
sed -i \
|
||||
-e 's^\.Fd #include <readpassphrase.h>^.Fd #include <bsd/readpassphrase.h>^' \
|
||||
src/readpassphrase.3 || die "Fix readpassphrase man page"
|
||||
sed -i \
|
||||
-e 's^\.In nlist.h^.In bsd/nlist.h^' \
|
||||
src/nlist.3
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC AR
|
||||
emake ${mylibbsdconf[@]}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" ${mylibbsdconf[@]} install
|
||||
dodoc ChangeLog README TODO Versions
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libbsd/libbsd-0.3.0.ebuild,v 1.1 2011/11/18 17:16:38 ssuominen Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libbsd/libbsd-0.3.0-r1.ebuild,v 1.2 2012/01/15 17:11:50 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit multilib toolchain-funcs
|
||||
|
@ -11,7 +11,7 @@ SRC_URI="http://libbsd.freedesktop.org/releases/${P}.tar.gz"
|
|||
|
||||
LICENSE="BSD BSD-2 BSD-4 ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
pkg_setup() {
|
||||
|
@ -51,6 +51,6 @@ src_install() {
|
|||
emake DESTDIR="${D}" "${mylibbsdconf[@]}" install
|
||||
dodoc ChangeLog README TODO
|
||||
|
||||
# Fix file collision with dev-libs/elfutils by removing deprecated include
|
||||
rm -f "${ED}"usr/include/nlist.h
|
||||
# File collision with dev-libs/elfutils and dev-lang/perl build problem wrt #399001
|
||||
rm -f "${ED}"usr/include/{libutil,nlist,vis}.h
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libofx/libofx-0.9.4.ebuild,v 1.2 2012/01/07 13:18:13 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libofx/libofx-0.9.4.ebuild,v 1.3 2012/01/15 18:49:07 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
|
@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
KEYWORDS="alpha amd64 ~hppa ia64 ~ppc ~ppc64 sparc x86"
|
||||
IUSE="static-libs test"
|
||||
|
||||
RDEPEND=">=app-text/opensp-1.5
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/libpqxx-4.0.ebuild,v 1.4 2012/01/04 18:03:26 phajdan.jr Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/libpqxx-4.0.ebuild,v 1.5 2012/01/15 16:34:13 armin76 Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils
|
||||
|
||||
KEYWORDS="~alpha amd64 hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd"
|
||||
|
||||
DESCRIPTION="C++ client API for PostgreSQL. The standard front-end for writing C++ programs that use PostgreSQL."
|
||||
SRC_URI="http://pqxx.org/download/software/${PN}/${P}.tar.gz"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libzip/libzip-0.10-r1.ebuild,v 1.5 2012/01/07 15:34:10 johu Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libzip/libzip-0.10-r1.ebuild,v 1.6 2012/01/15 15:48:45 phajdan.jr Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
|
@ -13,7 +13,7 @@ SRC_URI="http://www.nih.at/libzip/${MY_P}.tar.gz"
|
|||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND="sys-libs/zlib"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ppl/ppl-0.11.2-r1.ebuild,v 1.3 2012/01/14 16:46:08 maekke Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ppl/ppl-0.11.2-r1.ebuild,v 1.4 2012/01/15 15:41:43 phajdan.jr Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
|
@ -12,7 +12,7 @@ SRC_URI="http://www.cs.unipr.it/ppl/Download/ftp/releases/${PV}/${P}.tar.bz2"
|
|||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~sparc-solaris"
|
||||
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~sparc-solaris"
|
||||
IUSE="doc lpsol pch static-libs test watchdog"
|
||||
|
||||
RDEPEND=">=dev-libs/gmp-4.1.3[cxx]
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
DIST stfl-0.21.tar.gz 41093 RMD160 d8b56cc97b4d76adba8034ce9bbae631e6e9d17e SHA1 0313eafa1fe4dcfea1f2edd34d453baaa46df277 SHA256 bf0ead0a66b635602222bc9089414b99f99081b956c92baf77699d283bcc88eb
|
||||
DIST stfl-0.22.tar.gz 41412 RMD160 d76a0ef7a86efcf7c4b25033958f161a7dcc3220 SHA1 226488be2b33867dfb233f0fa2dde2d066e494bd SHA256 2dddafd331e61ad04baf1251ccecb3a69feaf99880dd75155be8423c1cc55418
|
||||
|
|
|
@ -1,117 +0,0 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/stfl-0.21.ebuild,v 1.6 2010/09/19 19:27:30 arfrever Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit eutils multilib perl-module python toolchain-funcs
|
||||
|
||||
DESCRIPTION="A library which implements a curses-based widget set for text terminals"
|
||||
HOMEPAGE="http://www.clifford.at/stfl/"
|
||||
SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
|
||||
IUSE="examples perl python ruby"
|
||||
|
||||
COMMON_DEPEND="sys-libs/ncurses[unicode]
|
||||
perl? ( dev-lang/perl )
|
||||
ruby? ( dev-lang/ruby )
|
||||
python? ( dev-lang/python )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
perl? ( dev-lang/swig )
|
||||
python? ( >=dev-lang/swig-1.3.40 )
|
||||
ruby? ( dev-lang/swig )"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's/-Os -ggdb//' \
|
||||
-e 's/^\(all:.*\) example/\1/' \
|
||||
-e 's/$(CC) -shared/$(CC) $(LDFLAGS) -shared/' \
|
||||
Makefile || die "sed failed"
|
||||
|
||||
epatch "${FILESDIR}/${P}-python.patch"
|
||||
|
||||
if use perl; then
|
||||
echo "FOUND_PERL5=1" >> Makefile.cfg
|
||||
else
|
||||
echo "FOUND_PERL5=0" >> Makefile.cfg
|
||||
fi
|
||||
|
||||
if use ruby; then
|
||||
echo "FOUND_RUBY=1" >> Makefile.cfg
|
||||
else
|
||||
echo "FOUND_RUBY=0" >> Makefile.cfg
|
||||
fi
|
||||
|
||||
echo "FOUND_PYTHON=0" >> Makefile.cfg
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" || die "make failed"
|
||||
|
||||
if use python; then
|
||||
python_copy_sources python
|
||||
|
||||
# Based on code from python/Makefile.snippet.
|
||||
building() {
|
||||
echo swig -python -threads stfl.i
|
||||
swig -python -threads stfl.i
|
||||
echo "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared -pthread -fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} -lncursesw -o _stfl.so
|
||||
"$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared -pthread -fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} -lncursesw -o _stfl.so
|
||||
}
|
||||
python_execute_function -s --source-dir python building
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake prefix="/usr" DESTDIR="${D}" libdir="$(get_libdir)" install || die "make install failed"
|
||||
|
||||
if use python; then
|
||||
installation() {
|
||||
insinto $(python_get_sitedir)
|
||||
doins stfl.py _stfl.so
|
||||
}
|
||||
python_execute_function -s --source-dir python installation
|
||||
fi
|
||||
|
||||
dodoc README
|
||||
|
||||
local exdir="/usr/share/doc/${PF}/examples"
|
||||
if use examples; then
|
||||
insinto ${exdir}
|
||||
doins example.{c,stfl}
|
||||
insinto ${exdir}/python
|
||||
doins python/example.py
|
||||
if use perl; then
|
||||
insinto ${exdir}/perl
|
||||
doins perl5/example.pl
|
||||
fi
|
||||
if use ruby; then
|
||||
insinto ${exdir}/ruby
|
||||
doins ruby/example.rb
|
||||
fi
|
||||
fi
|
||||
|
||||
fixlocalpod
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize stfl.py
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup stfl.py
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/stfl-0.22.ebuild,v 1.4 2012/01/11 17:08:07 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/stfl-0.22.ebuild,v 1.5 2012/01/15 15:30:04 phajdan.jr Exp $
|
||||
|
||||
EAPI="4"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
@ -13,7 +13,7 @@ SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~x86"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
|
||||
IUSE="examples perl python ruby static-libs"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlsdl/ocamlsdl-0.8.0.ebuild,v 1.1 2011/04/19 18:51:53 aballier Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlsdl/ocamlsdl-0.8.0.ebuild,v 1.2 2012/01/15 15:50:06 phajdan.jr Exp $
|
||||
|
||||
inherit findlib
|
||||
|
||||
|
@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/ocamlsdl/${P}.tar.gz"
|
|||
LICENSE="LGPL-2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc x86"
|
||||
IUSE="doc opengl truetype" #noimage nomixer
|
||||
|
||||
DEPEND=">=dev-lang/ocaml-3.04
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/pxp/pxp-1.2.2.ebuild,v 1.2 2012/01/04 17:24:38 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/pxp/pxp-1.2.2.ebuild,v 1.3 2012/01/15 15:50:34 phajdan.jr Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
|
@ -13,7 +13,7 @@ HOMEPAGE="http://projects.camlcity.org/projects/pxp.html"
|
|||
SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="as-is"
|
||||
KEYWORDS="amd64 ~ppc ~x86"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
|
||||
SLOT="0"
|
||||
DEPEND=">=dev-ml/pcre-ocaml-4.31
|
||||
|
|
24
dev-ml/xml-light/files/01_installopt.dpatch
Normal file
24
dev-ml/xml-light/files/01_installopt.dpatch
Normal file
|
@ -0,0 +1,24 @@
|
|||
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||
## 01_installopt.dpatch by Sylvain Le Gall <gildor@debian.org>
|
||||
##
|
||||
## All lines beginning with `## DP:' are a description of the patch.
|
||||
## DP: No description.
|
||||
|
||||
@DPATCH@
|
||||
diff -urNad xml-light-2.2~/Makefile xml-light-2.2/Makefile
|
||||
--- xml-light-2.2~/Makefile 2005-10-11 23:26:41.000000000 +0200
|
||||
+++ xml-light-2.2/Makefile 2005-10-11 23:28:00.000000000 +0200
|
||||
@@ -11,8 +11,11 @@
|
||||
|
||||
opt: xml-light.cmxa test_opt.exe
|
||||
|
||||
-install: all opt
|
||||
- cp xml-light.cmxa xml-light.a xml-light.cma xml.mli xmlParser.mli dtd.mli xml.cmi xmlParser.cmi dtd.cmi xml.cmx dtd.cmx xmlParser.cmx $(INSTALLDIR)
|
||||
+install: all
|
||||
+ cp xml-light.cma xml.mli xmlParser.mli dtd.mli xml.cmi xmlParser.cmi dtd.cmi $(INSTALLDIR)
|
||||
+
|
||||
+installopt: opt all
|
||||
+ cp xml-light.a xml-light.cmxa xml.cmx dtd.cmx xmlParser.cmx $(INSTALLDIR)
|
||||
|
||||
doc:
|
||||
mkdir doc
|
18
dev-ml/xml-light/files/02_cmi_depends.dpatch
Normal file
18
dev-ml/xml-light/files/02_cmi_depends.dpatch
Normal file
|
@ -0,0 +1,18 @@
|
|||
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||
## 02_cmi_depends.dpatch by Sylvain Le Gall <gildor@debian.org>
|
||||
##
|
||||
## All lines beginning with `## DP:' are a description of the patch.
|
||||
## DP: No description.
|
||||
|
||||
@DPATCH@
|
||||
diff -urNad xml-light-2.2~/Makefile xml-light-2.2/Makefile
|
||||
--- xml-light-2.2~/Makefile 2006-01-03 17:34:23.000000000 +0100
|
||||
+++ xml-light-2.2/Makefile 2006-01-03 17:35:04.000000000 +0100
|
||||
@@ -82,6 +82,6 @@
|
||||
.mll.ml:
|
||||
ocamllex $<
|
||||
|
||||
-.mly.ml:
|
||||
+%.mli %.ml: %.mly
|
||||
ocamlyacc $<
|
||||
|
51
dev-ml/xml-light/files/03_cflags.dpatch
Normal file
51
dev-ml/xml-light/files/03_cflags.dpatch
Normal file
|
@ -0,0 +1,51 @@
|
|||
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||
## 03_cflags.dpatch by Sylvain Le Gall <gildor@debian.org>
|
||||
##
|
||||
## All lines beginning with `## DP:' are a description of the patch.
|
||||
## DP: No description.
|
||||
|
||||
@DPATCH@
|
||||
diff -urNad xml-light-2.2~/Makefile xml-light-2.2/Makefile
|
||||
--- xml-light-2.2~/Makefile 2006-10-26 00:22:41.000000000 +0200
|
||||
+++ xml-light-2.2/Makefile 2006-10-26 00:24:45.000000000 +0200
|
||||
@@ -3,8 +3,8 @@
|
||||
.SUFFIXES : .ml .mli .cmo .cmx .cmi .mll .mly
|
||||
|
||||
INSTALLDIR=`ocamlc -where`
|
||||
-CFLAGS=
|
||||
-LFLAGS= -a
|
||||
+XML_LIGHT_OCAML_CFLAGS= $(OCAML_CFLAGS)
|
||||
+XML_LIGHT_OCAML_LFLAGS= $(OCAML_LFLAGS) -a
|
||||
LIBS=
|
||||
|
||||
all: xml-light.cma test.exe doc
|
||||
@@ -28,10 +28,10 @@
|
||||
ocamlopt xml-light.cmxa test.ml -o test_opt.exe
|
||||
|
||||
xml-light.cma: xml_parser.cmo xml_lexer.cmo dtd.cmo xmlParser.cmo xml.cmo
|
||||
- ocamlc -o xml-light.cma $(LFLAGS) $(LIBS) xml_parser.cmo xml_lexer.cmo dtd.cmo xmlParser.cmo xml.cmo
|
||||
+ ocamlc -o xml-light.cma $(XML_LIGHT_OCAML_LFLAGS) $(LIBS) xml_parser.cmo xml_lexer.cmo dtd.cmo xmlParser.cmo xml.cmo
|
||||
|
||||
xml-light.cmxa: xml_parser.cmx xml_lexer.cmx dtd.cmx xmlParser.cmx xml.cmx
|
||||
- ocamlopt -o xml-light.cmxa $(LFLAGS) $(LIBS) xml_parser.cmx xml_lexer.cmx dtd.cmx xmlParser.cmx xml.cmx
|
||||
+ ocamlopt -o xml-light.cmxa $(XML_LIGHT_OCAML_LFLAGS) $(LIBS) xml_parser.cmx xml_lexer.cmx dtd.cmx xmlParser.cmx xml.cmx
|
||||
|
||||
dtd.cmo: xml.cmi xml_lexer.cmi dtd.cmi
|
||||
|
||||
@@ -71,13 +71,13 @@
|
||||
|
||||
# SUFFIXES
|
||||
.ml.cmo:
|
||||
- ocamlc $(CFLAGS) -c $<
|
||||
+ ocamlc $(XML_LIGHT_OCAML_CFLAGS) -c $<
|
||||
|
||||
.ml.cmx:
|
||||
- ocamlopt $(CFLAGS) -c $<
|
||||
+ ocamlopt $(XML_LIGHT_OCAML_CFLAGS) -c $<
|
||||
|
||||
.mli.cmi:
|
||||
- ocamlc $(CFLAGS) $<
|
||||
+ ocamlc $(XML_LIGHT_OCAML_CFLAGS) $<
|
||||
|
||||
.mll.ml:
|
||||
ocamllex $<
|
26
dev-ml/xml-light/files/04_dtd_trace.dpatch
Normal file
26
dev-ml/xml-light/files/04_dtd_trace.dpatch
Normal file
|
@ -0,0 +1,26 @@
|
|||
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||
## 04_dtd_trace.dpatch by Sylvain Le Gall <gildor@debian.org>
|
||||
##
|
||||
## All lines beginning with `## DP:' are a description of the patch.
|
||||
## DP: No description.
|
||||
|
||||
@DPATCH@
|
||||
diff -urNad xml-light-2.2~/dtd.ml xml-light-2.2/dtd.ml
|
||||
--- xml-light-2.2~/dtd.ml 2005-02-18 10:01:54.000000000 +0100
|
||||
+++ xml-light-2.2/dtd.ml 2006-10-26 23:22:25.000000000 +0200
|
||||
@@ -267,7 +267,7 @@
|
||||
exception TmpResult of dtd_result
|
||||
|
||||
let prove_child dtd tag =
|
||||
- trace dtd tag;
|
||||
+ (*trace dtd tag;*)
|
||||
match dtd.current with
|
||||
| DTDEmpty -> raise (Prove_error EmptyExpected)
|
||||
| DTDAny -> ()
|
||||
@@ -505,4 +505,4 @@
|
||||
sprintf "<!ELEMENT %s %s>" tag (etype_to_string etype)
|
||||
|
||||
;;
|
||||
-to_string_ref := to_string
|
||||
\ No newline at end of file
|
||||
+to_string_ref := to_string
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/xml-light/xml-light-2.2.ebuild,v 1.1 2011/12/11 18:58:07 maksbotan Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/xml-light/xml-light-2.2-r1.ebuild,v 1.1 2012/01/15 20:13:26 maksbotan Exp $
|
||||
|
||||
EAPI=3
|
||||
EAPI=4
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
|
@ -21,14 +21,22 @@ RDEPEND="dev-lang/ocaml"
|
|||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX=dpatch EPATCH_SOURCE="${FILESDIR}" \
|
||||
epatch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die
|
||||
emake
|
||||
if use doc;then
|
||||
emake doc
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/$(get_libdir)/ocaml
|
||||
emake INSTALLDIR="${D}"/usr/$(get_libdir)/ocaml install || die
|
||||
dodoc README
|
||||
emake INSTALLDIR="${D}"/usr/$(get_libdir)/ocaml install
|
||||
dodoc README
|
||||
if use doc; then
|
||||
emake doc
|
||||
dohtml doc/*
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/GD/GD-2.460.0.ebuild,v 1.5 2012/01/04 18:10:41 phajdan.jr Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/GD/GD-2.460.0.ebuild,v 1.6 2012/01/15 16:37:26 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
|
@ -12,7 +12,7 @@ DESCRIPTION="interface to Thomas Boutell's gd library"
|
|||
|
||||
LICENSE="|| ( Artistic-2 GPL-1 GPL-2 GPL-3 )" # Artistic-2 or GPL1+
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~x86-solaris"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ~ppc ~ppc64 sparc x86 ~x86-fbsd ~x86-solaris"
|
||||
IUSE="animgif gif jpeg png truetype xpm"
|
||||
|
||||
RDEPEND=">=media-libs/gd-2.0.33
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/JSON/JSON-2.530.0.ebuild,v 1.4 2011/12/22 22:33:03 maekke Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/JSON/JSON-2.530.0.ebuild,v 1.5 2012/01/15 18:11:32 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
|
@ -11,7 +11,7 @@ inherit perl-module
|
|||
DESCRIPTION="parse and convert to JSON (JavaScript Object Notation)"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x64-macos ~x86-solaris"
|
||||
KEYWORDS="alpha amd64 ia64 ~ppc ~ppc64 sparc x86 ~x64-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
SRC_TEST="do"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header:
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Search-Xapian/Search-Xapian-1.2.8.ebuild,v 1.2 2012/01/15 19:13:08 tove Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-RSS/XML-RSS-1.490.0.ebuild,v 1.1 2011/04/08 09:22:39 tove Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-RSS/XML-RSS-1.490.0.ebuild,v 1.3 2012/01/15 17:46:51 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
|
@ -12,7 +12,7 @@ DESCRIPTION="a basic framework for creating and maintaining RSS files"
|
|||
HOMEPAGE="http://perl-rss.sourceforge.net/"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-solaris"
|
||||
KEYWORDS="alpha ~amd64 ~arm ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
DIST Net_IMAP-1.1.0.tgz 37107 RMD160 5a745187b229c0f85d403de34ed99fd9655c6148 SHA1 6ab2796a578daa1c95f429177d6c3ddf20a85620 SHA256 b47cdb241004aa1c120b5e4504dca2d58bfd1f212dbc96bcd727ef77bd6bf26b
|
||||
DIST Net_IMAP-1.1.0beta1.tgz 35776 RMD160 0d98086f7946cf1ef4ecf4413f77bbf50336ac7f SHA1 66561bd673be48da20dcfbbf75f12d77c01df47b SHA256 7ffe6985881258fc66dc22d1fca87727b1b69ebf38594fe578265243d2093631
|
||||
DIST Net_IMAP-1.1.0beta2.tgz 36895 RMD160 80bb649f267acb0f9211a7b617524f0fca69ad3e SHA1 f40b2874043c1d46fce8274970e79399ab4ec977 SHA256 75625178ba7b7acd5a5ae8edbccea0bf0b30ad8d99ba5f51dad5cbc7a5cc42f9
|
||||
DIST Net_IMAP-1.1.1.tgz 37891 RMD160 d6d0649365fdc88297a13b4ba559f28b8c9a7c7d SHA1 d3ea3e4f157d558ee1cccaa795fc77c1fc4d8e73 SHA256 168328c83116ba2d6891e54cf2b8de55a18f7d1a8831fa6e8ac5f6ef9cc2b5fd
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_IMAP/PEAR-Net_IMAP-1.1.0_beta2.ebuild,v 1.1 2008/03/17 12:48:23 jokey Exp $
|
||||
|
||||
PEAR_PV="${PV/_/}"
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Provides an implementation of the IMAP protocol."
|
||||
|
||||
LICENSE="PHP-2.02"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="minimal"
|
||||
RDEPEND=">=dev-php/PEAR-Net_Socket-1.0.8
|
||||
!minimal? ( >=dev-php/PEAR-Auth_SASL-1.0.2 )"
|
|
@ -1,14 +1,14 @@
|
|||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_IMAP/PEAR-Net_IMAP-1.1.0.ebuild,v 1.1 2009/08/22 19:36:26 beandog Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_IMAP/PEAR-Net_IMAP-1.1.1.ebuild,v 1.1 2012/01/15 15:03:40 mabi Exp $
|
||||
|
||||
PEAR_PV="${PV/_/}"
|
||||
EAPI="4"
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Provides an implementation of the IMAP protocol."
|
||||
|
||||
LICENSE="PHP-2.02"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="sasl"
|
|
@ -1,2 +1,2 @@
|
|||
DIST Net_POP3-1.3.6.tgz 10076 RMD160 b56ef8ed899a751743d8446731a43e787d8d0e65 SHA1 f2c485f9e2b306f5f75c7c71d373a26cad09667b SHA256 b17c74c0b08f300c07e94b426cd36fbbfc3cb12d076cb06d350c94e50434ee3b
|
||||
DIST Net_POP3-1.3.7.tgz 9568 RMD160 6d7c6443486460de40503c178e5f48e9b6d55b43 SHA1 32454b62d984d63c1323801be4509cd3d79df8dd SHA256 883ae2f1025ca886aaeb8a0f076489b37d6bbc18a01e00e76738e7c56250b010
|
||||
DIST Net_POP3-1.3.8.tgz 9657 RMD160 b9f3f2aab75df9e1cf131333dbff852451e8f5de SHA1 ffce93a26c83dcaab83418269f4a28c6fc7a3c52 SHA256 766d6d539c6c6b1dd448f1dd479b77266338f2ea1fd712af551dfe8e7cedf726
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_POP3/PEAR-Net_POP3-1.3.7.ebuild,v 1.1 2009/08/22 19:32:14 beandog Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_POP3/PEAR-Net_POP3-1.3.8.ebuild,v 1.1 2012/01/15 15:07:27 mabi Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
|
@ -1,5 +1,2 @@
|
|||
DIST Net_Sieve-1.1.1.tgz 9750 RMD160 b6c53c75c256040142ba60b5c157d8911eb66721 SHA1 083be056ba65679c2126811701490ead716e0656 SHA256 4ac7ef99bd874bf7fe82a1d0f04da50e6f470bb63158445be57a2ef7571eefa0
|
||||
DIST Net_Sieve-1.1.5.tgz 13492 RMD160 8a4c681eb0e8d3dbbe0c6477d4271a01c0355dea SHA1 ca48c015415fbc5ee4523f0cb49be5beef5f2bc8 SHA256 64906ddbe966def8c91b995662929aa9233a6207b0a8c9c5da0d369cd1bd2768
|
||||
DIST Net_Sieve-1.1.6.tgz 13599 RMD160 132d9cd314abf0bced72f4672e14cce4c7f0d80b SHA1 ac4ce2a0ab94a6356ea2c4eed5fe56034dd13c3a SHA256 532aa3c076ba31cd922e7e35767573c5accdaa81a167fb42bab978b5ce4c4f3b
|
||||
DIST Net_Sieve-1.1.7.tgz 13855 RMD160 dac2c7048acb7e721b6b2808feb484519f9f9e72 SHA1 0182585a225976c1ed7737a1551d093d6c9e1e55 SHA256 6d6b824c699ad1da583e70a4f11a1761dda10ac2495a5a323e8908b7e65683b7
|
||||
DIST Net_Sieve-1.2.0b1.tgz 13818 RMD160 e9dc7477d2ad928913d5b1f8df6160f3b4c67e32 SHA1 389f8bb829dc2c652f27281a9fec6731d45c47c4 SHA256 89d75f90d4700826f0e73a8a47a520457c4e3dc3c557d9395536e8e55a8661ec
|
||||
DIST Net_Sieve-1.3.2.tgz 14895 RMD160 57744fb3264f3e062b36a480b7a00ac28fa3cd6a SHA1 c818253435a10b3865db7a2c383f97a46bee4851 SHA256 dd2bca102e9cbc8dad42d32f6799894e065e91eacb0d186546abf3de644d776c
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_Sieve/PEAR-Net_Sieve-1.1.1-r1.ebuild,v 1.19 2008/01/10 10:06:29 vapier Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Provides an API to talk to the timsieved server that comes with Cyrus IMAPd. Can be used to install, remove, mark active etc sieve scripts."
|
||||
LICENSE="PHP-2.02 BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
|
||||
IUSE=""
|
||||
RDEPEND=">=dev-php/PEAR-Net_Socket-1.0.6-r1"
|
|
@ -1,14 +0,0 @@
|
|||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_Sieve/PEAR-Net_Sieve-1.1.5.ebuild,v 1.10 2008/01/10 10:06:29 vapier Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Provides an API to talk to the timsieved server that comes with Cyrus IMAPd"
|
||||
|
||||
LICENSE="BSD BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-php/PEAR-Net_Socket-1.0.6-r1"
|
|
@ -1,15 +0,0 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_Sieve/PEAR-Net_Sieve-1.2.0_beta1.ebuild,v 1.1 2010/02/16 04:53:06 beandog Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Provides an API to talk to the timsieved server that comes with Cyrus IMAPd"
|
||||
|
||||
LICENSE="BSD BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="sasl"
|
||||
|
||||
RDEPEND=">=dev-php/PEAR-Net_Socket-1.0.6-r1
|
||||
sasl? ( dev-php/PEAR-Auth_SASL )"
|
|
@ -1,6 +1,8 @@
|
|||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_Sieve/PEAR-Net_Sieve-1.1.7.ebuild,v 1.1 2009/08/22 19:29:42 beandog Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_Sieve/PEAR-Net_Sieve-1.3.2.ebuild,v 1.1 2012/01/15 15:12:47 mabi Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit php-pear-r1
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Text_Password/PEAR-Text_Password-1.1.1.ebuild,v 1.2 2012/01/02 14:17:42 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Text_Password/PEAR-Text_Password-1.1.1.ebuild,v 1.3 2012/01/15 15:35:58 phajdan.jr Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
|
@ -8,5 +8,5 @@ DESCRIPTION="Creating passwords with PHP."
|
|||
|
||||
LICENSE="PHP-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
|
||||
IUSE=""
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-XML_Beautifier/PEAR-XML_Beautifier-1.2.2.ebuild,v 1.2 2012/01/04 17:05:53 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-XML_Beautifier/PEAR-XML_Beautifier-1.2.2.ebuild,v 1.3 2012/01/15 15:36:30 phajdan.jr Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="XML_Beautifier will add indentation and linebreaks to you XML files, replace all entities, format your comments and makes your document easier to read."
|
||||
LICENSE="PHP-2.02"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
|
||||
IUSE=""
|
||||
RDEPEND="dev-php/PEAR-XML_Util
|
||||
dev-php/PEAR-XML_Parser"
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/igbinary/igbinary-1.1.1.ebuild,v 1.1 2011/02/07 10:20:45 olemarkus Exp $
|
||||
|
||||
EAPI="2"
|
||||
PHP_EXT_NAME="igbinary"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="README"
|
||||
|
||||
USE_PHP="php5-2 php5-3"
|
||||
|
||||
inherit php-ext-source-r2
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="A fast drop in replacement for the standard PHP serialize"
|
||||
HOMEPAGE="http://opensource.dynamoid.com/"
|
||||
SRC_URI="http://opensource.dynamoid.com/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
my_conf="--enable-igbinary"
|
||||
php-ext-source-r2_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env ${slot}
|
||||
NO_INTERACTION="yes" emake test || die "emake test failed for slot ${slot}"
|
||||
done
|
||||
}
|
|
@ -1,11 +1,10 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/libvirt-php/libvirt-php-0.4.1.ebuild,v 1.1 2011/12/14 22:30:25 mabi Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/libvirt-php/libvirt-php-0.4.1.ebuild,v 1.2 2012/01/15 17:14:31 olemarkus Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PHP_EXT_NAME="php-libvirt"
|
||||
USE_PHP="php5-3 php5-2"
|
||||
|
||||
inherit php-ext-source-r2 eutils
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/libvirt-php/libvirt-php-9999.ebuild,v 1.1 2011/12/14 22:30:25 mabi Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/libvirt-php/libvirt-php-9999.ebuild,v 1.2 2012/01/15 17:14:31 olemarkus Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
DIST bbcode-1.0.2.tgz 46961 RMD160 55f3c8aa5876a24e5fdf289eaab20c057f540511 SHA1 64c21dd9c954664a0f8dd920c1e5af2841b527a6 SHA256 ba0af8d5015531170a04456e57561881f2e2bfbdc149ce522867ed6a5f03f23c
|
||||
DIST bbcode-1.0.3b1.tgz 47205 RMD160 2006e5ef2a1531d714fada2deb9f3abcd9641b8e SHA1 93a2befcae3798eebc5da3e73800addf44ce2a56 SHA256 c588adbc08b0d5b0df68d14e719202d3d4c22a8a0201b786927bec471ed61da7
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-bbcode/pecl-bbcode-1.0.2-r1.ebuild,v 1.1 2011/12/14 22:31:08 mabi Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
PHP_EXT_NAME="bbcode"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="TODO"
|
||||
|
||||
USE_PHP="php5-2"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="A quick and efficient BBCode Parsing Library."
|
||||
LICENSE="PHP-3.01 BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-bbcode/pecl-bbcode-1.0.3_beta1.ebuild,v 1.1 2011/12/14 22:31:08 mabi Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-bbcode/pecl-bbcode-1.0.3_beta1.ebuild,v 1.2 2012/01/15 17:03:12 olemarkus Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
|
@ -9,8 +9,6 @@ PHP_EXT_INI="yes"
|
|||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="TODO"
|
||||
|
||||
USE_PHP="php5-2 php5-3"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
|
|
@ -1 +1 @@
|
|||
DIST dbx-1.1.0.tgz 30872 RMD160 6f62aaf6dfc7dca0252a871e04318af697c5b137 SHA1 ffc71c6eb76bec115d98b8ad07be24922d0897a0 SHA256 39d04b2da9f56d126c906d8e53591a634da21126efd7e0490684e512b47f5b0b
|
||||
DIST dbx-1.1.2.tgz 31348 RMD160 a7c7cf7a8489b66b94177e1b4ef293b1db645e3d SHA1 c006d976f63a166ae0f7c0f238008f06b4334aed SHA256 a13b79c112e040bc2bb1596c0eb832496b01b5322e13f78092c2cba583655165
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-dbx/pecl-dbx-1.1.0-r1.ebuild,v 1.1 2011/12/14 22:33:12 mabi Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-dbx/pecl-dbx-1.1.2.ebuild,v 1.1 2012/01/15 16:51:30 olemarkus Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
|
@ -9,7 +9,7 @@ PHP_EXT_INI="yes"
|
|||
PHP_EXT_ZENDEXT="no"
|
||||
|
||||
# package does not support php5.3, version 1.1.1 will
|
||||
USE_PHP="php5-2"
|
||||
USE_PHP="php5-3 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
|
@ -1 +0,0 @@
|
|||
DIST Fileinfo-1.0.4.tgz 5835 RMD160 fedf7f72b1b2dca30f138ef31f507084d1392dbe SHA1 60a146cf58357ab59f42061d35c0aa4bff8fb170 SHA256 df35ee00fce6483c58b2f37dbded33831ba84fdae92829dbe03f7331bec0aa3f
|
|
@ -1,11 +0,0 @@
|
|||
--- Fileinfo-1.0.4/config.m4.old 2009-10-16 19:45:10.000000000 +0200
|
||||
+++ Fileinfo-1.0.4/config.m4 2009-10-16 19:45:24.000000000 +0200
|
||||
@@ -48,7 +48,7 @@
|
||||
])
|
||||
|
||||
MAGIC_MIME_DIRS="/usr/local/share/file /usr/share/file /usr/share/misc/file /etc /usr/share/misc"
|
||||
- MAGIC_MIME_FILENAMES="magic magic.mime"
|
||||
+ MAGIC_MIME_FILENAMES="magic magic.mime magic.mgc"
|
||||
|
||||
for i in $MAGIC_MIME_DIRS; do
|
||||
for j in $MAGIC_MIME_FILENAMES; do
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>php</herd>
|
||||
</pkgmetadata>
|
|
@ -1,33 +0,0 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-fileinfo/pecl-fileinfo-1.0.4-r2.ebuild,v 1.1 2011/12/14 22:35:12 mabi Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
PHP_EXT_NAME="fileinfo"
|
||||
PHP_EXT_PECL_PKG="Fileinfo"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
|
||||
# fileinfo is bundled with php5.3
|
||||
USE_PHP="php5-2"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="amd64 hppa x86"
|
||||
|
||||
DESCRIPTION="libmagic bindings for PHP."
|
||||
LICENSE="PHP-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-apps/file"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
for slot in $(php_get_slots) ; do
|
||||
cd "${WORKDIR}/${slot}"
|
||||
epatch "${FILESDIR}"/fileinfo-1.0.4-file-5.0-compat.patch
|
||||
done
|
||||
php-ext-source-r2_src_prepare
|
||||
}
|
|
@ -1,2 +1 @@
|
|||
DIST htscanner-0.9.0.tgz 8896 RMD160 2dc035d98d3caa0054fafbe3fc12b04caed6b7dc SHA1 7aacd63b56df54a1b465fe1e0e30a91ede91f3af SHA256 d9bdc4772c3167003a47b5d3a5a3680d99b8513d44f7ff790955ae023a971a19
|
||||
DIST htscanner-1.0.0.tgz 9904 RMD160 c781c09fd1bd4a803a3f79c41b107dfe221cfc55 SHA1 d57e68827d8f1a82d91d1db4871e40023b4bb753 SHA256 14d4294c26d8e3976589e7bbffa5609b8111f6e88c9b55f8cd102ea3a820f1b7
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-htscanner/pecl-htscanner-0.9.0-r1.ebuild,v 1.1 2011/12/14 22:37:55 mabi Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
PHP_EXT_NAME="htscanner"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="README"
|
||||
PHPSAPILIST="cgi"
|
||||
|
||||
# functionality is included in >=php-5.3
|
||||
USE_PHP="php5-2"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DESCRIPTION="Enables .htaccess options for php-scripts running as cgi."
|
||||
LICENSE="PHP-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/php[cgi]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
my_conf="--enable-htscanner"
|
||||
|
||||
src_install() {
|
||||
php-ext-pecl-r2_src_install
|
||||
|
||||
php-ext-source-r2_addtoinifiles "config_file" ".htaccess"
|
||||
php-ext-source-r2_addtoinifiles "default_docroot" "/"
|
||||
php-ext-source-r2_addtoinifiles "default_ttl" "300"
|
||||
php-ext-source-r2_addtoinifiles "stop_on_error" "0"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-memcached/pecl-memcached-1.0.2-r1.ebuild,v 1.1 2011/12/14 22:42:40 mabi Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-memcached/pecl-memcached-1.0.2-r1.ebuild,v 1.2 2012/01/15 17:02:13 olemarkus Exp $
|
||||
|
||||
EAPI="2"
|
||||
PHP_EXT_NAME="memcached"
|
||||
|
@ -8,8 +8,6 @@ PHP_EXT_INI="yes"
|
|||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="README"
|
||||
|
||||
USE_PHP="php5-2 php5-3"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="amd64 x86"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-memcached/pecl-memcached-2.0.0_beta2.ebuild,v 1.1 2011/12/14 22:42:40 mabi Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-memcached/pecl-memcached-2.0.0_beta2.ebuild,v 1.2 2012/01/15 17:02:15 olemarkus Exp $
|
||||
|
||||
EAPI="2"
|
||||
PHP_EXT_NAME="memcached"
|
||||
|
@ -8,8 +8,6 @@ PHP_EXT_INI="yes"
|
|||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="README"
|
||||
|
||||
USE_PHP="php5-2 php5-3"
|
||||
|
||||
MY_PV="2.0.0b2"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
|
|
@ -1 +1 @@
|
|||
DIST mogilefs-0.8.1.tgz 15265 RMD160 62954e4d1add1c4fbb099a1b92a6525ae4cd9cd7 SHA1 f5ced93753762410425d2caeca009d2caa150713 SHA256 688d651d0af3789f49f159ec9e7f2f43671d630c02818a98cffbc20c1556d7ca
|
||||
DIST mogilefs-0.9.1.tgz 16875 RMD160 7d5201d37dfe346e8df918573a7eded8ae574af7 SHA1 8c0368b7001d6114e4bdfea816cb265ef5959b4a SHA256 cb20771e144cc969eb43483786fd6c6668f27ba50d7e0dea34965245e4eedfa9
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-mogilefs/pecl-mogilefs-0.8.1.ebuild,v 1.1 2011/12/14 22:43:21 mabi Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-mogilefs/pecl-mogilefs-0.9.1.ebuild,v 1.1 2012/01/15 17:00:26 olemarkus Exp $
|
||||
|
||||
EAPI="2"
|
||||
EAPI="4"
|
||||
PHP_EXT_NAME="mogilefs"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="README"
|
||||
|
||||
USE_PHP="php5-2 php5-3"
|
||||
USE_PHP="php5-3 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-mysqlnd_ms/pecl-mysqlnd_ms-1.1.2.ebuild,v 1.2 2012/01/15 19:50:03 tove Exp $
|
||||
|
||||
PHP_EXT_NAME="mysqlnd_ms"
|
||||
PHP_EXT_INI="yes"
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
DIST php-gtk-2.0.1.tar.gz 1254316 RMD160 2e305f45d95a2c1abbe8cd551c794823dfc3d919 SHA1 a4f42c715b51554c1322de4beb3054012ec58696 SHA256 996c79892f168e5f6b50ca2aaa1e925ec4ba4de8ad6d3b86dd2722ad4662cc0b
|
||||
DIST php_gtk_manual-20071130_bg.tar.bz2 871540 RMD160 5d2499ecc023ecff37d72bd32cbc3c5c6511926f SHA1 0f3c3d5aaf2596832a60b8aa6c2bbae137cdd9b4 SHA256 480a79abf3fda29f5bb22deca71110dc9be0ceedf7688df1bc4ba94254b23cbe
|
||||
DIST php_gtk_manual-20071130_en.tar.bz2 922621 RMD160 b654f1ee83a3608208005d60a8bd8480449855fa SHA1 f9e36b5f77020cfba97386e0439d4ebf34eac9e4 SHA256 9095b3205c2b411fe3b8f65cad00cb8648dec6581fcd678569e8cae09ceb17fc
|
||||
DIST php_gtk_manual-20071130_ja.tar.bz2 873089 RMD160 f34e2887a4890877b1582113fd07b399b0b72ceb SHA1 e01128053e96147a25b44a0aea24bef0023f2280 SHA256 3a990b8e156e88a06c70a6eab450600304132fc3670f4240a8a152413d333ccc
|
||||
DIST php_gtk_manual-20071130_pt_BR.tar.bz2 940444 RMD160 37fd4a08f8aadeec338481fd61d4f8c2bc831adc SHA1 b3cd5ce5e9e9c4ec5ab6db7b55063ce8f8ffd7eb SHA256 7dfecfafbc2f3e796f5deafbce5e389eba2877e453b3fd9fd69e3fc5c33df083
|
||||
DIST php_gtk_manual-20071130_zh_CN.tar.bz2 869165 RMD160 3b3b51f3c4e1ca9827fc238e86e59a2b64d40d9e SHA1 091215691890cf8b51c2fea962fca18f8c845e05 SHA256 2c242e78b0de5253edafdc0df852cc32b2c9fa49878fa494dfe5e1df10790ae2
|
|
@ -1,14 +0,0 @@
|
|||
--- config.m4.old 2007-06-17 09:27:39.000000000 +0530
|
||||
+++ config.m4 2007-06-17 09:27:47.000000000 +0530
|
||||
@@ -27,11 +27,6 @@
|
||||
AC_MSG_ERROR(Could not locate PHP executable)
|
||||
fi
|
||||
|
||||
- PHP_SAPI=`$PHP --version | sed -n 's/.*(\(...\)).*/\1/p'`
|
||||
- if test "$PHP_SAPI" != "cli" ; then
|
||||
- AC_MSG_ERROR(PHP CLI version is required[,] $PHP_SAPI found)
|
||||
- fi
|
||||
-
|
||||
AC_PROG_AWK
|
||||
PHP_SUBST(AWK)
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
--- config.m4.orig 2008-02-13 06:05:27.000000000 +0100
|
||||
+++ config.m4 2008-03-03 23:38:00.000000000 +0100
|
||||
@@ -27,11 +27,6 @@
|
||||
AC_MSG_ERROR(Could not locate PHP executable)
|
||||
fi
|
||||
|
||||
- PHP_SAPI=`$PHP --version | head -1 | sed -n 's/.*(\(...\)).*/\1/p'`
|
||||
- if test "$PHP_SAPI" != "cli" ; then
|
||||
- AC_MSG_ERROR(PHP CLI version is required[,] $PHP_SAPI found)
|
||||
- fi
|
||||
-
|
||||
AC_PROG_AWK
|
||||
PHP_SUBST(AWK)
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
--- a/ext/html/html.defs 2008-08-17 16:40:39.000000000 +0200
|
||||
+++ b/ext/html/html.defs 2008-08-17 16:41:10.000000000 +0200
|
||||
@@ -103,18 +103,6 @@
|
||||
(return-type "none")
|
||||
)
|
||||
|
||||
-(define-method request_paste
|
||||
- (of-object "GtkHTML")
|
||||
- (c-name "gtk_html_request_paste")
|
||||
- (return-type "int")
|
||||
- (parameters
|
||||
- '("GdkAtom" "selection")
|
||||
- '("gint" "type")
|
||||
- '("gint32" "time")
|
||||
- '("gboolean" "as_cite")
|
||||
- )
|
||||
-)
|
||||
-
|
||||
(define-method begin
|
||||
(of-object "GtkHTML")
|
||||
(c-name "gtk_html_begin")
|
||||
--- a/ext/html/config.m4 2008-08-17 16:44:57.000000000 +0200
|
||||
+++ b/ext/html/config.m4 2008-08-17 16:45:05.000000000 +0200
|
||||
@@ -7,7 +7,7 @@
|
||||
[ --with-html Enable GtkHtml support],no)
|
||||
|
||||
if test "$PHP_GTK_HTML" != "no"; then
|
||||
- PKG_CHECK_MODULES(HTML, [libgtkhtml-3.8 >= html_required_version],
|
||||
+ PKG_CHECK_MODULES(HTML, [libgtkhtml-3.14 >= html_required_version],
|
||||
have_html=yes, have_html=no)
|
||||
if test "$have_html" != "yes"; then
|
||||
AC_MSG_RESULT([Unable to locate libgtkhtml version html_required_version or higher: not building])
|
|
@ -1,15 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>php</herd>
|
||||
<longdescription>
|
||||
This PHP5 extension wraps the Gtk+ 2 library thereby
|
||||
providing the ability to write GUI applications in PHP.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="glade">Enable libglade support</flag>
|
||||
<flag name="libsexy">Enable libsexy support</flag>
|
||||
<flag name="mozembed">Enable GtkMozembed support</flag>
|
||||
<flag name="scintilla">Enable Scintilla support</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
|
@ -1,127 +0,0 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/php-gtk/php-gtk-2.0.1-r4.ebuild,v 1.1 2011/12/14 22:53:28 mabi Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
PHP_EXT_NAME="php_gtk2"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
PHPSAPILIST="cli"
|
||||
USE_PHP="php5-2"
|
||||
|
||||
DOCS="AUTHORS ChangeLog INSTALL NEWS README README.KNOWN-ISSUES TODO2"
|
||||
|
||||
inherit php-ext-source-r2 virtualx
|
||||
|
||||
DESCRIPTION="PHP 5 bindings for the Gtk+ 2 library."
|
||||
HOMEPAGE="http://gtk.php.net/"
|
||||
SRC_URI="http://gtk.php.net/distributions/${P}.tar.gz"
|
||||
IUSE="debug doc examples +glade gtkhtml libsexy mozembed scintilla spell"
|
||||
LICENSE="PHP-2.02 PHP-3 PHP-3.01 LGPL-2.1 public-domain Scintilla"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
MYDOC_PN="php_gtk_manual"
|
||||
MYDOC_PV="20071130"
|
||||
|
||||
LANGS="bg en ja pt_BR zh_CN"
|
||||
for lang in ${LANGS} ; do
|
||||
IUSE="${IUSE} linguas_${lang}"
|
||||
SRC_URI="${SRC_URI}
|
||||
doc? ( linguas_${lang}? ( http://dev.gentooexperimental.org/~jakub/distfiles/${MYDOC_PN}-${MYDOC_PV}_${lang}.tar.bz2
|
||||
mirror://gentoo/${MYDOC_PN}-${MYDOC_PV}_${lang}.tar.bz2 ) )"
|
||||
done
|
||||
|
||||
RDEPEND=">=dev-lang/php-5.1.2
|
||||
<dev-lang/php-5.3[pcre,cli,debug=]
|
||||
>=x11-libs/gtk+-2.6.0:2
|
||||
>=dev-libs/glib-2.6.0
|
||||
>=x11-libs/pango-1.8.0
|
||||
>=dev-libs/atk-1.9.0
|
||||
glade? ( >=gnome-base/libglade-2.5.0 )
|
||||
libsexy? ( >=x11-libs/libsexy-0.1.10 )
|
||||
gtkhtml? ( gnome-extra/gtkhtml:3.14 )
|
||||
mozembed? ( >=www-client/firefox-1.5.0 )
|
||||
spell? ( >=app-text/gtkspell-2.0.0:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/pkgconfig-0.9"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
for slot in $(php_get_slots) ; do
|
||||
cp -r "${S}" "${WORKDIR}/${slot}"
|
||||
done
|
||||
|
||||
cd "${WORKDIR}"
|
||||
for lang in ${LANGS} ; do
|
||||
if use doc && use linguas_${lang} ; then
|
||||
mkdir ${lang}
|
||||
pushd ${lang} >/dev/null
|
||||
unpack ${MYDOC_PN}-${MYDOC_PV}_${lang}.tar.bz2
|
||||
popd >/dev/null
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
for slot in $(php_get_slots) ; do
|
||||
php_init_slot_env ${slot}
|
||||
|
||||
# we already check for CLI and built-in check creates trouble
|
||||
# on suhosin-based installations, so we remove it
|
||||
epatch "${FILESDIR}"/${PN}-2.0.0-no-cli-check.patch
|
||||
|
||||
# depends on newer gtkhtml
|
||||
epatch "${FILESDIR}"/${PN}-2.0.1-gtkhtml314.patch
|
||||
|
||||
# see bug 232538 for details:
|
||||
# this is needed so that autoconf can find the m4 gtk files (non-standard
|
||||
# location)
|
||||
export AT_M4DIR="${WORKDIR}/${slot}"
|
||||
# phpize will invoke autoconf/autoheader (which will fail); we are replacing
|
||||
# these calls with dummies as we call eautoreconf shortly afterwards
|
||||
# anyway
|
||||
export PHP_AUTOCONF="true"
|
||||
export PHP_AUTOHEADER="true"
|
||||
php-ext-source-r2_phpize
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
my_conf="--without-extra \
|
||||
$(use_with gtkhtml html) \
|
||||
$(use_with libsexy) \
|
||||
$(use_with mozembed) \
|
||||
$(use_with spell) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable scintilla) \
|
||||
--without-sourceview \
|
||||
$(use glade || echo '--without-libglade')"
|
||||
php-ext-source-r2_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# call virtualmake to setup an virtual x environment
|
||||
VIRTUALX_COMMAND="php-ext-source-r2_src_compile" virtualmake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
php-ext-source-r2_src_install
|
||||
|
||||
if use doc; then
|
||||
for lang in ${LANGS} ; do
|
||||
if use linguas_${lang} ; then
|
||||
ebegin "Installing ${lang} manual, will take a while"
|
||||
insinto /usr/share/doc/${CATEGORY}/${PF}/manual-${lang}
|
||||
doins -r "${WORKDIR}"/${lang}/html/*
|
||||
eend $?
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${CATEGORY}/${PF}/examples
|
||||
doins -r "${S}"/demos/*
|
||||
fi
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
DIST dbg-2.15.5.tar.gz 252533 RMD160 396e9658ffa4adc3b3669a7185f79444264cd932 SHA1 4994b2b45c6b7681785286265aae7f3b50f87401 SHA256 84dc46495610cd6ca96ff32578ee5df75aad672228cb63d593e72796bd11d77a
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue