parent
b68b6b03d2
commit
ff9ed3828c
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/deja-dup/deja-dup-21.2-r1.ebuild,v 1.2 2012/02/11 08:31:03 tetromino Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit autotools eutils gnome2
|
||||
|
||||
DESCRIPTION="Simple backup tool using duplicity back-end"
|
||||
HOMEPAGE="https://launchpad.net/deja-dup/"
|
||||
SRC_URI="http://launchpad.net/${PN}/22/${PV}/+download/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nautilus"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.26:2
|
||||
x11-libs/gtk+:3
|
||||
>=x11-libs/libnotify-0.7.1
|
||||
|
||||
app-backup/duplicity
|
||||
dev-libs/dbus-glib
|
||||
dev-libs/libunique:1
|
||||
gnome-base/gnome-keyring
|
||||
|
||||
nautilus? ( gnome-base/nautilus )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gnome-base/gvfs[fuse]"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/yelp-tools
|
||||
dev-lang/vala:0.14
|
||||
dev-perl/Locale-gettext
|
||||
dev-util/pkgconfig
|
||||
>=dev-util/intltool-0.40
|
||||
>=sys-devel/gettext-0.17"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="NEWS AUTHORS"
|
||||
G2CONF="${G2CONF}
|
||||
$(use_with nautilus)
|
||||
--without-ccpanel
|
||||
--without-unity
|
||||
--disable-schemas-compile
|
||||
--disable-static"
|
||||
export VALAC=$(type -p valac-0.14)
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-prll.patch \
|
||||
"${FILESDIR}"/${P}-test.patch \
|
||||
"${FILESDIR}"/${P}-linguas.patch
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
domenu data/deja-dup.desktop
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
From 45e4b91bc7a987dc784c18564c9f8d2585befb0d Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
Date: Sat, 11 Feb 2012 02:43:18 -0500
|
||||
Subject: [PATCH] Use intltool's LINGUAS handling code for man pages
|
||||
|
||||
LINGUAS needs to be handled the same way in man/ and po/.
|
||||
|
||||
Otherwise, if building with LINGUAS set, the build system tries to
|
||||
generate man pages for languages for which localization messages
|
||||
had not been generated, resulting in build failure:
|
||||
|
||||
make[2]: Entering directory
|
||||
`/var/tmp/portage/app-backup/deja-dup-21.2-r1/work/deja-dup-21.2/man'
|
||||
make[2]: Nothing to be done for `install-exec-am'.
|
||||
make[2]: *** No rule to make target `ar/stamp', needed by `man'. Stop.
|
||||
---
|
||||
man/Makefile.am | 17 +++++++++++++----
|
||||
1 files changed, 13 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/man/Makefile.am b/man/Makefile.am
|
||||
index 4aab2b1..cd837ed 100644
|
||||
--- a/man/Makefile.am
|
||||
+++ b/man/Makefile.am
|
||||
@@ -17,9 +17,18 @@
|
||||
# along with Déjà Dup. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Here's a bunch of translation support. Some stolen from dpkg
|
||||
+# and intltool.
|
||||
+
|
||||
+ALL_LINGUAS = @ALL_LINGUAS@
|
||||
+
|
||||
+PO_LINGUAS=$(shell if test -r $(top_srcdir)/po/LINGUAS; then grep -v "^\#" $(top_srcdir)/po/LINGUAS; else echo "$(ALL_LINGUAS)"; fi)
|
||||
+
|
||||
+USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(top_srcdir)/po/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi)
|
||||
+
|
||||
+USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done)
|
||||
+
|
||||
+MAN_LINGUAS = C $(USE_LINGUAS)
|
||||
|
||||
-POLINGUAS = $(shell grep -v "^\#" $(top_srcdir)/po/LINGUAS)
|
||||
-MAN_LINGUAS = C $(POLINGUAS)
|
||||
|
||||
PAGES = deja-dup.1 deja-dup-preferences.1
|
||||
|
||||
@@ -52,7 +61,7 @@ clean-local-yes:
|
||||
install-data-local: install-data-local-@USE_NLS@
|
||||
install-data-local-no:
|
||||
install-data-local-yes: man
|
||||
- for lang in $(POLINGUAS); do \
|
||||
+ for lang in $(USE_LINGUAS); do \
|
||||
$(mkinstalldirs) "$(DESTDIR)$(mandir)/$$lang/man1"; \
|
||||
$(INSTALL_DATA) $$lang/*.1 "$(DESTDIR)$(mandir)/$$lang/man1"; \
|
||||
done
|
||||
@@ -62,7 +71,7 @@ install-data-local-yes: man
|
||||
uninstall-local: uninstall-local-@USE_NLS@
|
||||
uninstall-local-no:
|
||||
uninstall-local-yes: man
|
||||
- for lang in $(POLINGUAS); do \
|
||||
+ for lang in $(USE_LINGUAS); do \
|
||||
for file in $(PAGES); do \
|
||||
rm -f "$(DESTDIR)$(mandir)/$$lang/man1/$$file"; \
|
||||
done \
|
||||
--
|
||||
1.7.8.4
|
||||
|
@ -1,3 +1 @@
|
||||
DIST duplicity-0.6.06.tar.gz 274888 RMD160 7867fba4fc5a250a0030034dd89fef74df3dfbbd SHA1 45bc382f5d1b05960d3b45492b3e2c44a0ea7688 SHA256 0f9cdda2fe6f5827d37435bc0315e4961dbd8f2edda0a15fcc331840842748bc
|
||||
DIST duplicity-0.6.16.tar.gz 524358 RMD160 1e8f4967113e55ad64d770cbe9f882dc0f2fddc0 SHA1 d134e56150969030ac391851cbe3d8b1a4ebfcee SHA256 488c5de5ff0495409e2d92ee07e42a4daf336e2bc1dc934c3cd862ae4f41c358
|
||||
DIST duplicity-0.6.17.tar.gz 1119945 RMD160 e88bb833f7ed21f0b742caed9c28402c2b0601a5 SHA1 cee8f4793f3b2990447bb26c9131202930adf096 SHA256 891e56061ab15127e67c93b9b462760b055eb48636c177b56400925d0a77a458
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/duplicity/duplicity-0.6.06.ebuild,v 1.6 2011/04/09 17:00:40 jer Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="duplicity is a secure backup system using gnupg to encrypt data"
|
||||
HOMEPAGE="http://www.nongnu.org/duplicity/"
|
||||
SRC_URI="http://savannah.nongnu.org/download/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="s3"
|
||||
|
||||
DEPEND=">=dev-lang/python-2.3
|
||||
>=net-libs/librsync-0.9.6
|
||||
app-crypt/gnupg"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-python/py-gnupg-0.3.2
|
||||
>=dev-python/pexpect-2.1
|
||||
s3? ( dev-python/boto )"
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
rm "${ED}"/usr/share/doc/${P}/COPYING
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/duplicity/duplicity-0.6.16.ebuild,v 1.1 2011/11/12 09:08:41 hanno Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="duplicity is a secure backup system using gnupg to encrypt data"
|
||||
HOMEPAGE="http://www.nongnu.org/duplicity/"
|
||||
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"
|
||||
IUSE="s3"
|
||||
|
||||
DEPEND="
|
||||
>=net-libs/librsync-0.9.6
|
||||
app-crypt/gnupg
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-python/py-gnupg-0.3.2
|
||||
>=dev-python/pexpect-2.1
|
||||
s3? ( dev-python/boto )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
sed -i -r "s/'COPYING',//" setup.py || die "Couldn't remove unnecessary COPYING file."
|
||||
}
|
@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/elvis/elvis-2.2.0-r4.ebuild,v 1.1 2012/02/10 17:39:52 grobian Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils versionator
|
||||
|
||||
MY_PV=$(replace_version_separator 2 '_')
|
||||
|
||||
DESCRIPTION="A vi/ex clone"
|
||||
HOMEPAGE="ftp://ftp.cs.pdx.edu/pub/elvis/"
|
||||
SRC_URI="ftp://ftp.cs.pdx.edu/pub/elvis/${PN}-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="Artistic"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~ppc-macos ~x86-macos ~m68k-mint ~sparc-solaris"
|
||||
IUSE="X"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2
|
||||
X? ( >=x11-proto/xproto-7.0.4
|
||||
>=x11-libs/libX11-1.0.0
|
||||
>=x11-libs/libXt-1.0.0
|
||||
>=x11-libs/libXpm-3.5.4.2
|
||||
>=x11-libs/libXft-2.1.8.2 )
|
||||
app-admin/eselect-vi"
|
||||
|
||||
S=${WORKDIR}/${PN}-${MY_PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/ft2.3-symbol-collision-fix.patch \
|
||||
"${FILESDIR}"/${P}-glibc-2.10.patch
|
||||
epatch "${FILESDIR}"/${P}-interix.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./configure \
|
||||
--libs="-lncurses" \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--bindir="${EPREFIX}"/usr/bin \
|
||||
--datadir="${EPREFIX}"/usr/share/elvis \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/"${PF}" \
|
||||
$(use_with X x) \
|
||||
|| die "configure failed"
|
||||
|
||||
# Some Makefile fixups (must happen after configure)
|
||||
# Use our CFLAGS
|
||||
sed -i -e "s:gcc -O2:$(tc-getCC) ${CFLAGS}:" Makefile || die "sed 1 failed"
|
||||
|
||||
# We'll install the man-pages ourselves
|
||||
sed -i -e '/^ sh instman.sh/d' Makefile || die "sed 2 failed"
|
||||
|
||||
# Don't try to write to /etc
|
||||
sed -i -e 's,/etc/elvis,${ED}/etc/elvis,g' Makefile || die "sed 3 failed"
|
||||
|
||||
# Use LDFLAGS
|
||||
sed -i -e "s#\$(CC) \$(CFLAGS)#\$(CC) \$(CFLAGS) ${LDFLAGS}#" Makefile || \
|
||||
die "sed 4 failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin
|
||||
dodir /usr/share/man/man1
|
||||
dodir /usr/share/elvis
|
||||
dodir /usr/share/doc/"${PF}"
|
||||
dodir /etc
|
||||
make install \
|
||||
PREFIX="${ED}"/usr \
|
||||
BINDIR="${ED}"/usr/bin \
|
||||
DATADIR="${ED}"/usr/share/elvis \
|
||||
DOCDIR="${ED}"/usr/share/doc/"${PF}" || die 'make install failed'
|
||||
|
||||
# Install the man-pages
|
||||
mv doc/elvis.man doc/elvis.1
|
||||
mv doc/elvtags.man doc/elvtags.1
|
||||
mv doc/ref.man doc/ref.1
|
||||
doman doc/*.1 || die 'doman failed'
|
||||
|
||||
# Fixup some READMEs
|
||||
sed -i -e "s,${ED},,g" "${ED}"/etc/elvis/README \
|
||||
|| die 'sed /etc/elvis/README failed'
|
||||
sed -i -e "s,${ED},,g" "${ED}"/usr/share/elvis/README \
|
||||
|| die 'sed /usr/share/elvis/README failed'
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Setting /usr/bin/vi symlink"
|
||||
eselect vi set "${PN}"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
einfo "Updating /usr/bin/vi symlink"
|
||||
eselect vi update
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
diff -ru -x '*.Po' -x '*.Plo' elvis-2.2_0.orig/osunix/osblock.c elvis-2.2_0/osunix/osblock.c
|
||||
--- elvis-2.2_0.orig/osunix/osblock.c 2008-04-03 12:00:26 +0200
|
||||
+++ elvis-2.2_0/osunix/osblock.c 2008-04-03 12:01:53 +0200
|
||||
@@ -293,5 +293,7 @@
|
||||
return;
|
||||
#endif
|
||||
|
||||
+#ifndef __INTERIX
|
||||
sync();
|
||||
+#endif
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST emacs-23.3-patches-4.tar.bz2 19275 RMD160 9a5d61bcf60422efd44efc5f206d9baf8e742bd6 SHA1 695d786f1d43ddbc0c269c780a43cfed9aeb35f0 SHA256 0d4393e221b78bd97c39a10f6e4206d2dbbcee7062e9626d37a3a45c72b34636
|
||||
DIST emacs-24.0.92.tar.gz 50996706 RMD160 4530f9208765ef168bfb55831371cecc089e2433 SHA1 6d876d3f187be67c210242e8106e8f38c314f77d SHA256 861369d3006e59837bd2daac9931b17148d60cc16d074fb532b51ef9c5d1975f
|
||||
DIST emacs-24.0.93.tar.gz 51257120 RMD160 6a3b6ae0ecab96a53828856de6db0c016cc5d47f SHA1 0b98ecf3e9f44497bfaf4203c2afc81252c4bafe SHA256 4a100accb2f76231aed4dddb32d3725dec131280ad3bdf1b39b52ce337a210fe
|
||||
|
@ -1,355 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.0.92-r1.ebuild,v 1.1 2012/01/09 12:59:24 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib
|
||||
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
EBZR_PROJECT="emacs"
|
||||
EBZR_BRANCH="trunk"
|
||||
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
|
||||
# emacs-23.3 patchball added for EDE security fix #398227
|
||||
SRC_URI="mirror://gentoo/emacs-${PV}.tar.gz
|
||||
ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-${PV}.tar.gz
|
||||
mirror://gentoo/emacs-23.3-patches-4.tar.bz2"
|
||||
# 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="24"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="alsa athena dbus gconf gif gnutls gpm gsettings gtk gtk3 gzip-el hesiod imagemagick jpeg kerberos libxml2 m17n-lib motif png selinux sound source svg tiff toolkit-scroll-bars wide-int 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 )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
||||
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 )
|
||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
|
||||
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? (
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
!gtk3? ( 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 )
|
||||
gnutls? ( dev-util/pkgconfig )
|
||||
libxml2? ( 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}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
FULL_VERSION=$(sed -n 's/^AC_INIT(emacs,[ \t]*\([^ \t,)]*\).*/\1/p' \
|
||||
configure.in)
|
||||
[[ ${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
|
||||
|
||||
epatch "${WORKDIR}"/patch/08_all_ede_security_fix.patch #398227
|
||||
|
||||
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
|
||||
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
ALLOWED_FLAGS=""
|
||||
strip-flags
|
||||
|
||||
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 gsettings)"
|
||||
myconf="${myconf} $(use_with toolkit-scroll-bars)"
|
||||
myconf="${myconf} $(use_with wide-int)"
|
||||
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)"
|
||||
myconf="${myconf} $(use_with imagemagick)"
|
||||
|
||||
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
|
||||
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf="${myconf} --with-x-toolkit=$(usev gtk3 || echo 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}" \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
--without-compress-info \
|
||||
--disable-maintainer-mode \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with gpm) \
|
||||
$(use_with dbus) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with selinux) \
|
||||
${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/{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_USER_DED:-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
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
--- emacs-24.0.92-orig/Makefile.in
|
||||
+++ emacs-24.0.92/Makefile.in
|
||||
@@ -469,21 +469,6 @@
|
||||
-chmod 1755 $(DESTDIR)${bindir}/$(EMACSFULL)
|
||||
rm -f $(DESTDIR)${bindir}/$(EMACS)
|
||||
-ln $(DESTDIR)${bindir}/$(EMACSFULL) $(DESTDIR)${bindir}/$(EMACS)
|
||||
- if test "${ns_appresdir}" != ""; then \
|
||||
- ( cd ${ns_appresdir} ; \
|
||||
- if test -d share/emacs ; then dir=share/emacs/*/*; $(MV_DIRS); fi;\
|
||||
- if test -d share/info ; then dir=share/info; $(MV_DIRS) ; fi ; \
|
||||
- rm -fr share ) ; \
|
||||
- ( cd ${ns_appbindir} ; \
|
||||
- if cd libexec ; then dir=emacs/*/*/* ; $(MV_DIRS); \
|
||||
- rm -fr emacs; if cd ../bin; then rm -f emacs emacs-24*; \
|
||||
- ln -sf ../libexec/* . ; fi ; fi ) ; \
|
||||
- else true ; fi
|
||||
-
|
||||
-## FIXME is the emacs-24* bit above really necessary and correct?
|
||||
-## What if I have 24.1 and 24.2 installed at the same time?
|
||||
-## In any case, it should use something like echo $version | sed 's/\..*//'
|
||||
-## instead of hard-coding a version.
|
||||
|
||||
## http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg01672.html
|
||||
## Needs to be the user running install, so configure can't set it.
|
||||
--- emacs-24.0.92-orig/leim/Makefile.in
|
||||
+++ emacs-24.0.92/leim/Makefile.in
|
||||
@@ -259,11 +259,6 @@
|
||||
[ -n "$${installuser}" ] && break ; \
|
||||
done ; \
|
||||
find ${INSTALLDIR} -exec chown $${installuser} '{}' ';'
|
||||
- if [ "${ns_appresdir}" != "" ]; then \
|
||||
- ( cd ${ns_appresdir} ; \
|
||||
- if test -d share/emacs ; then dir=share/emacs/*/*; $(MV_DIRS); fi;\
|
||||
- rm -fr share ) ; \
|
||||
- else true ; fi
|
||||
|
||||
clean mostlyclean:
|
||||
rm -f ${TIT_MISC} ${TIT_MISC:.elc=.el} \
|
@ -1,335 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.4.ebuild,v 1.1 2012/01/28 12:00:53 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
SRC_URI="mirror://gnu/emacs/${P}.tar.bz2
|
||||
mirror://gentoo/${P}-patches-1.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"
|
||||
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 )"
|
||||
|
||||
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-editors/emacs-vcs-${PV}
|
||||
>=app-emacs/emacs-common-gentoo-1.3[X?]"
|
||||
|
||||
EMACS_SUFFIX="emacs-${SLOT}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
# 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}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX=patch epatch
|
||||
epatch_user
|
||||
|
||||
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 --without-ns"
|
||||
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"
|
||||
local f
|
||||
for f in athena Xaw3d motif; do
|
||||
use ${f} && ewarn "USE flag \"${f}\" ignored" \
|
||||
"(superseded by \"gtk\")"
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
use motif && ewarn "USE flag \"motif\" ignored" \
|
||||
"(superseded by \"athena\" or \"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
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Cocoa support"
|
||||
myconf="${myconf} --with-ns --disable-ns-self-contained"
|
||||
myconf="${myconf} --without-x"
|
||||
else
|
||||
myconf="${myconf} --without-x --without-ns"
|
||||
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}" \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
$(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
|
||||
# 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
|
||||
|
||||
if use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||
elog "Emacs${EMACS_SUFFIX#emacs}.app is in ${EPREFIX}/Applications/Gentoo."
|
||||
elog "You may want to copy or symlink it into /Applications by yourself."
|
||||
fi
|
||||
}
|
||||
|
||||
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_USER_DED:-games}" "${EROOT}"/var/lib/games/emacs
|
||||
|
||||
elisp-site-regen
|
||||
|
||||
if use livecd; then
|
||||
# force an update of the emacs symlink for the livecd/dvd,
|
||||
# because some microemacs packages set it with USE=livecd
|
||||
eselect emacs update
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
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."
|
||||
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
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
injecting random paths breaks random on Prefix platforms
|
||||
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -23,14 +23,6 @@
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_LN_S
|
||||
|
||||
-case "$host" in
|
||||
- *-*-solaris*)
|
||||
- CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
||||
- LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
|
||||
- ;;
|
||||
- *) ;;
|
||||
-esac
|
||||
-
|
||||
search_libs="$search_libs m"
|
||||
|
||||
# Checks for libraries.
|
||||
--- configure
|
||||
+++ configure
|
||||
@@ -4071,14 +4071,6 @@
|
||||
fi
|
||||
|
||||
|
||||
-case "$host" in
|
||||
- *-*-solaris*)
|
||||
- CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
||||
- LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
|
||||
- ;;
|
||||
- *) ;;
|
||||
-esac
|
||||
-
|
||||
search_libs="$search_libs m"
|
||||
|
||||
# Checks for libraries.
|
@ -0,0 +1,2 @@
|
||||
DIST evtest-1.29-mans.tar.xz 2108 RMD160 5ca7166d23e3f681c1d99a8520ead9145d201fa9 SHA1 ab26291d10758f2c580d93162d3cc4462ed4acd3 SHA256 8f5c92bb15671fd1acc3a4e66c8218115ff8f6365c4fc3ca491a728bdeff3231
|
||||
DIST evtest-1.29.tar.bz2 21930 RMD160 130b21fd87c8024e8c4e689bf00a830eefad9980 SHA1 6c57202d9a794c423ef07ad4f516edab80257215 SHA256 6373c66e72cd461879f9fc6ee19b5b508ae1d6d365660a00cb8bcee7f415bb90
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/evtest/evtest-1.29.ebuild,v 1.1 2012/02/10 20:26:06 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="test program for capturing input device events"
|
||||
HOMEPAGE="http://cgit.freedesktop.org/evtest/"
|
||||
SRC_URI="http://cgit.freedesktop.org/evtest/snapshot/${P}.tar.bz2
|
||||
mirror://gentoo/${P}-mans.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="+xml"
|
||||
|
||||
# We bundled the man pages ourselves to avoid xmlto/asciidoc.
|
||||
# We need libxml2 for the capture tool. While at runtime,
|
||||
# we have a file that can be used with xsltproc, we don't
|
||||
# directly need it ourselves, so don't depend on libxslt.
|
||||
RDEPEND="xml? ( dev-libs/libxml2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
# No pretty configure flag :/
|
||||
sed -i -r \
|
||||
-e "s:HAVE_LIBXML=(yes|no):HAVE_LIBXML=$(usex xml):g" \
|
||||
configure.ac || die
|
||||
|
||||
# We pre-compile the man pages.
|
||||
export XMLTO=/bin/true ASCIIDOC=/bin/true
|
||||
|
||||
eautoreconf
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>vapier@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST libplist-1.4.tar.bz2 68176 RMD160 a00366f0fe164d7bd5d516092e2731b3233ac075 SHA1 82e98d13cdff1a62ad1184d515d71e8898866ee4 SHA256 2ad226abe1131a72e7ecbb2b921ad92f54b8e787c2281c89b00145b519479a71
|
||||
DIST libplist-1.8.tar.bz2 81278 RMD160 b8da55db4bec34e4c8b9126da0ea46e79f36ccf1 SHA1 dea18ac31cc497dba959bdb459a2a49fb41664c3 SHA256 a418da3880308199b74766deef2a760a9b169b81a868a6a9032f7614e20500ec
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/libplist-1.8.ebuild,v 1.1 2012/02/10 21:07:28 pesa Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils python
|
||||
|
||||
DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
|
||||
HOMEPAGE="http://www.libimobiledevice.org/"
|
||||
SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE="cython python"
|
||||
|
||||
RDEPEND="dev-libs/libxml2
|
||||
cython? ( =dev-lang/python-2* )
|
||||
python? ( =dev-lang/python-2* )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
cython? ( dev-python/cython )
|
||||
python? ( dev-lang/swig )
|
||||
"
|
||||
|
||||
DOCS=(AUTHORS NEWS README)
|
||||
|
||||
pkg_setup() {
|
||||
if use cython || use python; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's:-Werror::' swig/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_SKIP_RPATH=ON
|
||||
$(cmake-utils_use_enable cython)
|
||||
$(cmake-utils_use_enable python SWIG)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${CMAKE_BUILD_DIR}"
|
||||
|
||||
local testfile
|
||||
for testfile in "${S}"/test/data/*; do
|
||||
LD_LIBRARY_PATH=src ./test/plist_test "${testfile}" || die
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize plist
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup plist
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-2.0.19.ebuild,v 1.1 2012/02/10 16:05:19 mpagano Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="*:2.7"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files"
|
||||
HOMEPAGE="http://www.mpagano.com/blog/?page_id=3"
|
||||
SRC_URI="http://www.mpagano.com/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=app-portage/gentoolkit-0.3.0.4-r5
|
||||
>=sys-apps/portage-2.1.10.41"
|
||||
|
||||
src_install() {
|
||||
dobin ${PN} || die "dobin failed"
|
||||
doman *.[0-9]
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST ctemplate-1.0.tar.gz 837995 RMD160 ca1fdc571a869280d0395f919191a0773505c9d0 SHA1 313e3ee7f9e28adb537c08212eb509bdb848de56 SHA256 731279f1717527cf85ff79ed19b8674f91c3768d8bc20b09440e8dd1ca1b5bf8
|
||||
DIST ctemplate-2.0.tar.gz 874846 RMD160 f2138b9996951d786c3cb97db81f46b087baade7 SHA1 c577432a9bdc7169ae420e50998d955f5cf85a0c SHA256 ca2dfe9474b1fb1a20f92d934a6b47cbaf170a08b201335594c93b7417c68d69
|
||||
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ctemplate-2.0.ebuild,v 1.1 2012/02/11 08:21:33 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit elisp-common python
|
||||
|
||||
DESCRIPTION="A simple but powerful template language for C++"
|
||||
HOMEPAGE="http://code.google.com/p/ctemplate/"
|
||||
SRC_URI="http://ctemplate.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc emacs vim-syntax static-libs test"
|
||||
|
||||
DEPEND="test? ( =dev-lang/python-2* )"
|
||||
RDEPEND="vim-syntax? ( >=app-editors/vim-core-7 )
|
||||
emacs? ( virtual/emacs )"
|
||||
|
||||
SITEFILE="70ctemplate-gentoo.el"
|
||||
|
||||
pkg_setup() {
|
||||
if use test ; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-shared \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use emacs ; then
|
||||
elisp-compile contrib/tpl-mode.el || die "elisp-compile failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# Installs just every piece
|
||||
rm -rf "${ED}/usr/share/doc"
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README
|
||||
use doc && dohtml doc/*
|
||||
|
||||
if use vim-syntax ; then
|
||||
cd "${S}/contrib"
|
||||
sh highlighting.vim || die "unpacking vim scripts failed"
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r .vim/*
|
||||
fi
|
||||
|
||||
if use emacs ; then
|
||||
cd "${S}/contrib"
|
||||
elisp-install ${PN} tpl-mode.el tpl-mode.elc || die "elisp-install failed"
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-5.0.4.ebuild,v 1.1 2012/02/10 17:26:19 vapier Exp $
|
||||
|
||||
inherit flag-o-matic eutils libtool unpacker toolchain-funcs
|
||||
|
||||
MY_PV=${PV/_p*}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
PLEVEL=${PV/*p}
|
||||
DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers"
|
||||
HOMEPAGE="http://gmplib.org/"
|
||||
SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz
|
||||
doc? ( http://gmplib.org/${PN}-man-${MY_PV}.pdf )"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="doc cxx static-libs"
|
||||
|
||||
DEPEND="sys-devel/m4
|
||||
app-arch/xz-utils"
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_unpack() {
|
||||
unpacker_src_unpack
|
||||
cd "${S}"
|
||||
[[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV}
|
||||
epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch
|
||||
epatch "${FILESDIR}"/${PN}-5.0.2-x32-support.patch
|
||||
|
||||
# disable -fPIE -pie in the tests for x86 #236054
|
||||
if use x86 && gcc-specs-pie ; then
|
||||
epatch "${FILESDIR}"/${PN}-5.0.1-x86-nopie-tests.patch
|
||||
fi
|
||||
|
||||
# note: we cannot run autotools here as gcc depends on this package
|
||||
elibtoolize
|
||||
|
||||
# GMP uses the "ABI" env var during configure as does Gentoo (econf).
|
||||
# So, to avoid patching the source constantly, wrap things up.
|
||||
mv configure configure.wrapped || die
|
||||
cat <<-\EOF > configure
|
||||
#!/bin/sh
|
||||
exec env ABI="$GMPABI" "${0}.wrapped" "$@"
|
||||
EOF
|
||||
chmod a+rx configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Because of our 32-bit userland, 1.0 is the only HPPA ABI that works
|
||||
# http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613)
|
||||
if [[ ${CHOST} == hppa2.0-* ]] ; then
|
||||
export GMPABI="1.0"
|
||||
fi
|
||||
|
||||
# ABI mappings (needs all architectures supported)
|
||||
case ${ABI} in
|
||||
32|x86) GMPABI=32;;
|
||||
64|amd64|n64) GMPABI=64;;
|
||||
[onx]32) GMPABI=${ABI};;
|
||||
esac
|
||||
export GMPABI
|
||||
|
||||
tc-export CC
|
||||
econf \
|
||||
--localstatedir=/var/state/gmp \
|
||||
--disable-mpbsd \
|
||||
$(use_enable cxx) \
|
||||
$(use_enable static-libs static) \
|
||||
|| die
|
||||
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
# should be a standalone lib
|
||||
rm -f "${D}"/usr/$(get_libdir)/libgmp.la
|
||||
# this requires libgmp
|
||||
local la="${D}/usr/$(get_libdir)/libgmpxx.la"
|
||||
use static-libs \
|
||||
&& sed -i 's:/[^ ]*/libgmp.la:-lgmp:' "${la}" \
|
||||
|| rm -f "${la}"
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README
|
||||
dodoc doc/configuration doc/isa_abi_headache
|
||||
dohtml -r doc
|
||||
|
||||
use doc && cp "${DISTDIR}"/gmp-man-${MY_PV}.pdf "${D}"/usr/share/doc/${PF}/
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserve_old_lib /usr/$(get_libdir)/libgmp.so.3
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/libgmp.so.3
|
||||
}
|
@ -1,6 +1,2 @@
|
||||
DIST libical-0.26-7.aurore.tar.bz2 565801 RMD160 59e11f2532dedee039cf8157ef71e4ade13f0615 SHA1 91c2fa4dec3c41021ae755b5ad3f2805682ed152 SHA256 7dee07613d5c17f2067e4f7e2b6198c3ea2200ff28261d56f217b246f822bddd
|
||||
DIST libical-0.27.tar.gz 1143879 RMD160 fffaf075bbde7cec4126541e451071426439dd00 SHA1 c28980f852c196bb60dd41e9f1b389c458b43111 SHA256 7f1fa404e5540c880cc747c4a680a89d88b87b10a1c77655f512780fcb0ca5d0
|
||||
DIST libical-0.33.tar.gz 1169470 RMD160 dcdb99af00fc6a9923e0b73c25a36f10743b2a88 SHA1 01d48562355d43c64b23b1bbb6a3e6628c445b8e SHA256 f7fbc78368a3435b29028f5892d671fd338b2161f24a91e135eb4edc2d9a82b4
|
||||
DIST libical-0.43.tar.gz 1145724 RMD160 a0a79aec38970c5d694a3e9065a4cb7746b31fea SHA1 a972fa876b3b9834a6e8102b7e2a670f73091cdf SHA256 099f3e29a864de324477983eefaf17a4ef3b4ec8f075f95384db1ac67b6663a6
|
||||
DIST libical-0.44.tar.gz 1149067 RMD160 5640ffd3ff01807e49d9090000510c4959218c39 SHA1 f781150e2d98806e91b7e0bee02abdc6baf9ac7d SHA256 20a4750df8f4dedd718b55117b8351989e0dfa4ad2c966a383550ed43e6a72d8
|
||||
DIST libical-0.48.tar.gz 1173620 RMD160 03000b40bdd08e19ceb6b5833fa93727ed58705f SHA1 4693cd0438be9f3727146ac1a46aa5b1b93b8c86 SHA256 2ae78b0757f0dd13431acf42a9a8d038339fd4767fd5134e650bf60ee0b4dff0
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libical/libical-0.26.7.ebuild,v 1.9 2007/10/06 04:53:20 tgall Exp $
|
||||
|
||||
inherit versionator
|
||||
|
||||
MY_VER=$(replace_version_separator 2 -)
|
||||
|
||||
DESCRIPTION="libical is an implementation of basic iCAL protocols"
|
||||
HOMEPAGE="http://www.aurore.net/projects/libical/"
|
||||
SRC_URI="http://www.aurore.net/projects/libical/${PN}-${MY_VER}.aurore.tar.bz2"
|
||||
SLOT="0"
|
||||
LICENSE="|| ( MPL-1.1 LGPL-2 )"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/bison-1.875d
|
||||
>=sys-devel/flex-2.5.4a-r6
|
||||
>=sys-apps/gawk-3.1.4-r4
|
||||
>=dev-lang/perl-5.8.7-r3"
|
||||
|
||||
S="${WORKDIR}"/libical-${PV%.*}
|
||||
|
||||
src_compile() {
|
||||
# Fix 66377
|
||||
LDFLAGS="${LDFLAGS} -lpthread" econf || die "Configuration failed"
|
||||
emake || die "Compilation failed"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
einstall || die "Installation failed..."
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libical/libical-0.27-r1.ebuild,v 1.1 2008/10/03 09:07:01 s4t4n Exp $
|
||||
|
||||
DESCRIPTION="a implementation of basic iCAL protocols from citadel, previously known as aurore."
|
||||
HOMEPAGE="http://www.citadel.org"
|
||||
SRC_URI="http://easyinstall.citadel.org/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MPL-1.1 LGPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
src_compile() {
|
||||
# Fix 66377
|
||||
LDFLAGS="${LDFLAGS} -lpthread" econf || die "Configuration failed"
|
||||
emake || die "Compilation failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed."
|
||||
dodoc AUTHORS ChangeLog NEWS README TEST THANKS TODO doc/*.txt
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libical/libical-0.33-r1.ebuild,v 1.2 2009/04/28 13:44:30 s4t4n Exp $
|
||||
|
||||
DESCRIPTION="a implementation of basic iCAL protocols from citadel, previously known as aurore."
|
||||
HOMEPAGE="http://www.citadel.org"
|
||||
SRC_URI="http://easyinstall.citadel.org/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MPL-1.1 LGPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
# Fix 66377
|
||||
LDFLAGS="${LDFLAGS} -lpthread" econf || die "Configuration failed"
|
||||
emake || die "Compilation failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed."
|
||||
dodoc AUTHORS ChangeLog NEWS README TEST THANKS TODO doc/*.txt
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST wayland-0.85.0.tar.xz 224496 RMD160 450d4ff30b7de30b7842bf69cff10395028b0a87 SHA1 8114f244603a106fbf28ffd92e537acdd0b29a8b SHA256 9e3d4579916e963a77a59c90b4524c1d28aca2654ec76907c7cd58cf4c5cbc30
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>x11</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/wayland/wayland-0.85.0.ebuild,v 1.1 2012/02/10 17:15:56 mattst88 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/git/${PN}/${PN}"
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
GIT_ECLASS="git-2"
|
||||
EXPERIMENTAL="true"
|
||||
fi
|
||||
|
||||
inherit autotools toolchain-funcs $GIT_ECLASS
|
||||
|
||||
DESCRIPTION="Wayland protocol libraries"
|
||||
HOMEPAGE="http://wayland.freedesktop.org/"
|
||||
|
||||
if [[ $PV = 9999* ]]; then
|
||||
SRC_URI="${SRC_PATCHES}"
|
||||
else
|
||||
SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="CCPL-Attribution-ShareAlike-3.0 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="dev-libs/expat
|
||||
dev-libs/libffi"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if tc-is-cross-compiler ; then
|
||||
econf $(use_enable static-libs static) --disable-scanner
|
||||
else
|
||||
econf $(use_enable static-libs static)
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST Structures_Graph-1.0.2.tgz 30947 RMD160 8eb53f6da109b90bab5d8101e99183a1ae116404 SHA1 300aa0a2effb0b39c4fa8a63a834748ae99c2855 SHA256 d30e72fcb888d17d01d211dd0cdc8bdde8c87554fc4d7de438a4cf0b490a8697
|
||||
DIST Structures_Graph-1.0.4.tgz 30318 RMD160 d236ddff4a31cafa6fa750b4ec4a0849c48ad3f6 SHA1 00f5c2aefad0c3f6490e5ca95da87828e64ebc57 SHA256 3619ac17892855117283e3555b1a156df0eb4d175e70e63d9c6d27d2c31a2e4f
|
||||
|
@ -1,32 +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-Structures_Graph/PEAR-Structures_Graph-1.0.2.ebuild,v 1.7 2010/10/01 01:01:05 ranger Exp $
|
||||
|
||||
MY_PN="${PN/PEAR-/}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
inherit depend.php
|
||||
|
||||
DESCRIPTION="Graph datastructure manipulation library"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 s390 sh sparc x86"
|
||||
IUSE=""
|
||||
SRC_URI="http://pear.php.net/get/${MY_P}.tgz"
|
||||
DEPEND=">=dev-php/PEAR-PEAR-1.8.1"
|
||||
PDEPEND="dev-php/pear"
|
||||
HOMEPAGE="http://pear.php.net/package/Structures_Graph"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
require_php_with_use pcre
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/php
|
||||
doins -r Structures
|
||||
|
||||
dohtml -r docs/html/*
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST gearman-0.7.0.tgz 29258 RMD160 5b5d548444d9bb0b2d6d388cf11b9a1c58f99c83 SHA1 adc9077cb1d8cb0e9b2cd37bba76fe6708da3662 SHA256 6972538e7ac7b5f9ef5c1639efee37f5b605a73cd20b877a38e4dcd4acce602a
|
||||
DIST gearman-0.8.0.tgz 29750 RMD160 ff51aaf09ff06eaa772f5a0748b9ca77ddcb3718 SHA1 dc9f50df28a385ba64e294f236bafa73c772d455 SHA256 df1bd73f521a6055a50501112a03045401f66647fcf17c3ef7e3a98a43226c7c
|
||||
DIST gearman-1.0.1.tgz 30387 RMD160 f9cf33bbd87216ba61bd7785dbaea8e8a28e7262 SHA1 47fe75f39c5d8b25c653c90bd5fc95cfd29b95a6 SHA256 387faddf76b3c45c7fc5774d393a6ef655ad613d22e05236351f8a3653da0b1a
|
||||
|
@ -1 +1,2 @@
|
||||
DIST itstool-1.1.1.tar.bz2 78824 RMD160 199939e180d838708bea2adb7f4a06d79b3ac28b SHA1 4b60216c50363e2f56ddbb8e9c457f92853e8e6f SHA256 0fffba8f7249dbfadf0182aedf0ce210cd409b4240021c4c8693e3dd1f7b90c9
|
||||
DIST itstool-1.1.2.tar.bz2 79291 RMD160 4d9b901c861b3c2961497d04cbaa2ff609405bbd SHA1 09e1c85c2231f05087ff63f89b8e98e33b8c49b1 SHA256 49235f63b536f95927e26d093bfe4513e2be042d0dd8be9c84a0d58c70262514
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/itstool/itstool-1.1.2.ebuild,v 1.1 2012/02/11 04:11:50 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_USE_WITH="xml"
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="Translation tool for XML documents that uses gettext files and ITS rules"
|
||||
HOMEPAGE="http://itstool.org/"
|
||||
SRC_URI="http://files.itstool.org/itstool/${P}.tar.bz2"
|
||||
|
||||
# files in /usr/share/itstool/its are as-is
|
||||
LICENSE="GPL-3 as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/libxml2[python]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS=(ChangeLog NEWS) # AUTHORS, README are empty
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs -r 2 .
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST git-deploy-20120202.tar.bz2 35850 RMD160 927051257fcc4a0193b23e874e50c571739fe732 SHA1 0f97f251fcfe94617a8bf4822abe107185c1f051 SHA256 815cded39620838c0e25c6f51d58c74456ebb6ae424efb7ad7e3dd2272b41184
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-deploy/git-deploy-20120202.ebuild,v 1.1 2012/02/10 20:27:25 idl0r Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit perl-app
|
||||
|
||||
DESCRIPTION="make deployments so easy that you'll let new hires do them on their
|
||||
first day"
|
||||
HOMEPAGE="https://github.com/git-deploy/git-deploy"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-lang/perl
|
||||
test? (
|
||||
dev-vcs/git
|
||||
virtual/perl-File-Temp
|
||||
perl-core/File-Spec
|
||||
)"
|
||||
RDEPEND="dev-lang/perl
|
||||
dev-vcs/git
|
||||
perl-core/File-Spec
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-Term-ANSIColor
|
||||
virtual/perl-Time-HiRes"
|
||||
|
||||
src_prepare() {
|
||||
pod2man -n git-deploy README.pod > git-deploy.1 || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local testdir=${TMPDIR}/git-deploy-test
|
||||
|
||||
# Prepare for tests
|
||||
cp -a "${S}/" $testdir || die
|
||||
cd $testdir || die
|
||||
|
||||
git config --global user.name "git-deploy" || die
|
||||
git config --global user.email "git-deploy@localhost" || die
|
||||
|
||||
git init . || die
|
||||
git add . || die
|
||||
git commit -a -m 'git-deploy testing' || die
|
||||
|
||||
USER="git-deploy" perl t/run.t || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin git-deploy
|
||||
|
||||
insinto $VENDOR_LIB
|
||||
doins -r lib/Git
|
||||
|
||||
doman git-deploy.1
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>idl0r@gentoo.org</email>
|
||||
<name>Christian Ruppert</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1 +1,2 @@
|
||||
DIST hgview-1.2.1.tar.gz 99673 RMD160 1be2b973c0ed3225dd2e87e5c7040a90ab4b5d15 SHA1 f6f8ca278c16e93887a91e4900655c385b2d10dc SHA256 a80fc2e53ddc715d74e3d9ff0bdb57890e7989364f06c40bab65aaf0d797d974
|
||||
DIST hgview-1.5.0.tar.gz 220706 RMD160 9b405b5da6600c80d9edbb83a01c96aa4042f97e SHA1 574630e3ed8d048125b7a3b7cd2797d645fc9666 SHA256 411c7a795616263d16a4f9178c0c50f9078f047d1e601d80e035d36c565d7715
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hgview/hgview-1.5.0.ebuild,v 1.1 2012/02/10 22:57:03 hwoarang Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.4 3.* *-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="PyQt4-based Mercurial log navigator"
|
||||
HOMEPAGE="http://www.logilab.org/project/hgview http://pypi.python.org/pypi/hgview"
|
||||
SRC_URI="http://ftp.logilab.org/pub/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="dev-python/docutils
|
||||
dev-python/egenix-mx-base
|
||||
dev-python/PyQt4[X]
|
||||
dev-python/qscintilla-python
|
||||
dev-vcs/mercurial
|
||||
doc? ( app-text/asciidoc )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PYTHON_MODNAME="hgext/hgview.py hgviewlib"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
|
||||
# Fix mercurial extension install path.
|
||||
if ! use doc; then
|
||||
sed -e '/make -C doc/d' -i setup.py || die "sed failed"
|
||||
sed -e '/share\/man\/man1/,+1 d' -i hgviewlib/__pkginfo__.py || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
# Install the mercurial extension config.
|
||||
insinto /etc/mercurial/hgrc.d || die "insinto failed"
|
||||
doins "${FILESDIR}/hgview.rc" || die "doins failed"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST simsu-1.2.1-src.tar.bz2 61990 RMD160 543bbdee3a47b10d92a5130dd02297e05299c5f3 SHA1 e83d3f418c3cd3b08b11d8a80731a841ba0c9f5a SHA256 933913b8c550ba339fe24eb5b5f1ad04c31326894116d263b02145c787733428
|
||||
DIST simsu-1.2.2-src.tar.bz2 295584 RMD160 ce95fcfa63d2f28179bbb192d4a474b1af2cf468 SHA1 26d05bf03f5bc0a22cab18634697fb896fcd9831 SHA256 86c18e7c05659ce3e9363b38941fe6f5024943bd2a7b24532bc56ab6a669dddd
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-board/simsu/simsu-1.2.2.ebuild,v 1.1 2012/02/10 17:30:24 mr_bones_ Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils qt4-r2 games
|
||||
|
||||
DESCRIPTION="A basic sudoku game"
|
||||
HOMEPAGE="http://gottcode.org/simsu/"
|
||||
SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="x11-libs/qt-gui:4"
|
||||
|
||||
src_configure() {
|
||||
eqmake4
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dogamesbin ${PN} || die
|
||||
dodoc ChangeLog
|
||||
doicon icons/hicolor/scalable/apps/${PN}.svg
|
||||
domenu icons/${PN}.desktop
|
||||
prepgamesdirs
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST activity-log-manager-0.9.0.1.tar.gz 424851 RMD160 164fe769d172d82fc179933591c1ce4756572bbe SHA1 2dad79ddd6d9932bdbd6fa7f91928507c23191d3 SHA256 7c2c84ae663f540d12ac7407337b79bfef4547b3eaa118fb227b21819a8762df
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/activity-log-manager/activity-log-manager-0.9.0.1.ebuild,v 1.1 2012/02/10 17:34:53 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools gnome2 versionator
|
||||
|
||||
DESCRIPTION="GUI which lets you easily control what gets logged by Zeitgeist"
|
||||
HOMEPAGE="https://launchpad.net/activity-log-manager/"
|
||||
SRC_URI="http://launchpad.net/history-manager/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
VALASLOT="0.10"
|
||||
|
||||
RDEPEND="
|
||||
gnome-extra/zeitgeist
|
||||
x11-libs/gtk+:3
|
||||
dev-libs/libgee:0
|
||||
dev-libs/glib:2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/vala:${VALASLOT}
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
"
|
||||
|
||||
#S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="README NEWS INSTALL ChangeLog AUTHORS"
|
||||
# no without possible
|
||||
# G2CONF="${G2CONF}
|
||||
# --without-ccpanel"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-gold.patch \
|
||||
"${FILESDIR}"/${P}-ccpanel.patch
|
||||
sed \
|
||||
-e "/^almdocdir/s:=.*$:= \${prefix}/usr/share/doc:g" \
|
||||
-i Makefile.am || die
|
||||
sed \
|
||||
-e 's:-g::g' \
|
||||
-i src/Makefile.am || die
|
||||
eautoreconf
|
||||
export VALAC="$(type -p valac-${VALASLOT})"
|
||||
gnome2_src_prepare
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
data/Makefile.am | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/data/Makefile.am b/data/Makefile.am
|
||||
index 41a1bf0..1b90451 100644
|
||||
--- a/data/Makefile.am
|
||||
+++ b/data/Makefile.am
|
||||
@@ -21,7 +21,7 @@ nobase_dist_data_DATA = \
|
||||
icons/hicolor/48x48/apps/alm.svg
|
||||
|
||||
desktopdir = $(datadir)/applications
|
||||
-desktop_in_files = alm.desktop.in alm-ccpanel.desktop.in
|
||||
+desktop_in_files = alm.desktop.in
|
||||
|
||||
if HAVE_CCPANEL
|
||||
desktop_in_files+ = alm-ccpanel.desktop.in
|
@ -0,0 +1,16 @@
|
||||
src/Makefile.am | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index eaf039f..05c1393 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -50,7 +50,7 @@ SHARED_LIBS = \
|
||||
$(GEE_LIBS) \
|
||||
$(GIO_UNIX_LIBS)
|
||||
activity_log_manager_LDADD = \
|
||||
- $(SHARED_LIBS)
|
||||
+ $(SHARED_LIBS) -lm
|
||||
libactivity_log_manager_la_LIBADD = \
|
||||
$(SHARED_LIBS) \
|
||||
$(CCPANEL_LIBS)
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>gnome</herd>
|
||||
<maintainer>
|
||||
<email>jlec@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,3 +1,4 @@
|
||||
DIST gentoo-logo.svg 13764 RMD160 62b740f670377486eb1350c4f180d9f0ab63948c SHA1 a81d7fb4be541547be78d648bbeb0d3c51f1a41e SHA256 ad81a212991cd24faaddbc260c806c805fd7a67f65b24655908a8971fa10794e
|
||||
DIST gnome-screensaver-2.30.2.tar.bz2 4814653 RMD160 1b13722f3bebca709b9f44c45e995d07ed6c2044 SHA1 f9d7c0df0efaa6916099ca56078da8b36f4c4935 SHA256 dd52ef278b23ec5abe5974548c2d576eeaeb5294c85e9f2efd6231ecc9ca09fa
|
||||
DIST gnome-screensaver-3.2.0.tar.xz 566084 RMD160 cb21d95961763fcb831a9b1293569c04bc3deacb SHA1 69c87cd60f76a3a6626970c3dd3fd8f72fda542f SHA256 305f4a5be8736c4cf5e55b8288b7e177907bafa26e39273d1bb65ad1862295ed
|
||||
DIST gnome-screensaver-3.2.1.tar.xz 563292 RMD160 dd87cf7accf048897b23cdcbd0122d0c8c6f5eb6 SHA1 247031a20ec7010d7c9116eff6bf26b6e2fe9643 SHA256 a5beea3e854c27369eb10a2987ab6673101416f56f1c616075cefae2458f5411
|
||||
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-screensaver/gnome-screensaver-3.2.1.ebuild,v 1.1 2012/02/11 03:01:16 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Replaces xscreensaver, integrating with the desktop."
|
||||
HOMEPAGE="http://live.gnome.org/GnomeScreensaver"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="debug doc pam systemd"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.25.6:2
|
||||
>=x11-libs/gtk+-2.99.3:3
|
||||
>=gnome-base/gnome-desktop-3.1.91:3
|
||||
>=gnome-base/gsettings-desktop-schemas-0.1.7
|
||||
>=gnome-base/libgnomekbd-0.1
|
||||
>=dev-libs/dbus-glib-0.71
|
||||
|
||||
sys-apps/dbus
|
||||
x11-libs/libxklavier
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXxf86misc
|
||||
x11-libs/libXxf86vm
|
||||
|
||||
pam? ( virtual/pam )
|
||||
systemd? ( >=sys-apps/systemd-31 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/pkgconfig-0.9
|
||||
>=dev-util/intltool-0.35
|
||||
sys-devel/gettext
|
||||
doc? (
|
||||
app-text/xmlto
|
||||
~app-text/docbook-xml-dtd-4.1.2
|
||||
~app-text/docbook-xml-dtd-4.4 )
|
||||
x11-proto/xextproto
|
||||
x11-proto/randrproto
|
||||
x11-proto/scrnsaverproto
|
||||
x11-proto/xf86miscproto
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS ChangeLog HACKING NEWS README"
|
||||
G2CONF="${G2CONF}
|
||||
$(use_enable doc docbook-docs)
|
||||
$(use_enable pam locking)
|
||||
$(use_with systemd)
|
||||
--with-mit-ext
|
||||
--with-pam-prefix=/etc
|
||||
--with-xf86gamma-ext
|
||||
--with-kbd-layout-indicator
|
||||
--disable-schemas-compile"
|
||||
# Do not use --without-console-kit, it would provide no benefit: there is
|
||||
# no build-time or run-time check for consolekit, $PN merely listens to
|
||||
# consolekit's messages over dbus.
|
||||
# xscreensaver and custom screensaver capability removed
|
||||
# poke and inhibit commands were also removed, bug 579430
|
||||
}
|
@ -0,0 +1,141 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-6.7.5.3.ebuild,v 1.3 2012/02/11 04:43:04 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit multilib toolchain-funcs versionator
|
||||
|
||||
MY_P=ImageMagick-$(replace_version_separator 3 '-')
|
||||
|
||||
DESCRIPTION="A collection of tools and libraries for many image formats"
|
||||
HOMEPAGE="http://www.imagemagick.org/"
|
||||
SRC_URI="mirror://${PN}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="imagemagick"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="autotrace bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz gs hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png q32 q64 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib"
|
||||
|
||||
RDEPEND=">=sys-devel/libtool-2.2.6b
|
||||
autotrace? ( >=media-gfx/autotrace-0.31.1 )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
corefonts? ( media-fonts/corefonts )
|
||||
djvu? ( app-text/djvu )
|
||||
fftw? ( sci-libs/fftw:3.0 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
fpx? ( >=media-libs/libfpx-1.3.0-r1 )
|
||||
graphviz? ( >=media-gfx/graphviz-2.6 )
|
||||
gs? ( app-text/ghostscript-gpl )
|
||||
jbig? ( media-libs/jbigkit )
|
||||
jpeg? ( virtual/jpeg )
|
||||
jpeg2k? ( media-libs/jasper )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
lqr? ( >=media-libs/liblqr-0.1.0 )
|
||||
opencl? ( virtual/opencl )
|
||||
openexr? ( media-libs/openexr )
|
||||
pango? ( x11-libs/pango )
|
||||
perl? ( >=dev-lang/perl-5.8.6-r6 )
|
||||
png? ( media-libs/libpng:0 )
|
||||
raw? ( media-gfx/ufraw )
|
||||
svg? ( >=gnome-base/librsvg-2.9.0 )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
webp? ( media-libs/libwebp )
|
||||
wmf? ( >=media-libs/libwmf-0.2.8 )
|
||||
X? (
|
||||
x11-libs/libXext
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
)
|
||||
xml? ( >=dev-libs/libxml2-2.4.10 )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
!media-gfx/graphicsmagick[imagemagick]
|
||||
app-arch/xz-utils
|
||||
dev-util/pkgconfig
|
||||
>=sys-apps/sed-4
|
||||
X? ( x11-proto/xextproto )"
|
||||
|
||||
REQUIRED_USE="corefonts? ( truetype )
|
||||
test? ( corefonts )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
RESTRICT="perl? ( userpriv )"
|
||||
|
||||
DOCS="AUTHORS.txt ChangeLog NEWS.txt README.txt"
|
||||
|
||||
src_configure() {
|
||||
local depth=16
|
||||
use q8 && depth=8
|
||||
use q32 && depth=32
|
||||
use q64 && depth=64
|
||||
|
||||
local openmp=disable
|
||||
if use openmp && tc-has-openmp; then
|
||||
openmp=enable
|
||||
fi
|
||||
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable hdri) \
|
||||
$(use_enable opencl) \
|
||||
--with-threads \
|
||||
--without-included-ltdl \
|
||||
--with-ltdl-include="${EPREFIX}/usr/include" \
|
||||
--with-ltdl-lib="${EPREFIX}/usr/$(get_libdir)" \
|
||||
--with-modules \
|
||||
--with-quantum-depth=${depth} \
|
||||
$(use_with cxx magick-plus-plus) \
|
||||
$(use_with perl) \
|
||||
--with-perl-options='INSTALLDIRS=vendor' \
|
||||
--with-gs-font-dir="${EPREFIX}/usr/share/fonts/default/ghostscript" \
|
||||
$(use_with bzip2 bzlib) \
|
||||
$(use_with X x) \
|
||||
$(use_with zlib) \
|
||||
$(use_with autotrace) \
|
||||
$(use_with gs dps) \
|
||||
$(use_with djvu) \
|
||||
--with-dejavu-font-dir="${EPREFIX}/usr/share/fonts/dejavu" \
|
||||
$(use_with fftw) \
|
||||
$(use_with fpx) \
|
||||
$(use_with fontconfig) \
|
||||
$(use_with truetype freetype) \
|
||||
$(use_with gs gslib) \
|
||||
$(use_with graphviz gvc) \
|
||||
$(use_with jbig) \
|
||||
$(use_with jpeg) \
|
||||
$(use_with jpeg2k jp2) \
|
||||
--without-lcms \
|
||||
$(use_with lcms lcms2) \
|
||||
$(use_with lqr) \
|
||||
$(use_with lzma) \
|
||||
$(use_with openexr) \
|
||||
$(use_with pango) \
|
||||
$(use_with png) \
|
||||
$(use_with svg rsvg) \
|
||||
$(use_with tiff) \
|
||||
$(use_with webp) \
|
||||
$(use_with corefonts windows-font-dir /usr/share/fonts/corefonts) \
|
||||
$(use_with wmf) \
|
||||
$(use_with xml) \
|
||||
--${openmp}-openmp
|
||||
}
|
||||
|
||||
src_test() {
|
||||
has_version media-gfx/imagemagick || emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use perl; then
|
||||
find "${ED}" -type f -name perllocal.pod -exec rm -f {} +
|
||||
find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} +
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST glyr-0_pre20111118.tar.xz 117128 RMD160 9319903ae91d5795dcd961e6dc15ceec254ea924 SHA1 e3103d767e1a291a5db2d339443a46f88d63e12d SHA256 5b0eb3290633893b95fc9d28a12b0533a859fb77c390dd12bb969dc5b304e725
|
||||
DIST glyr-0_pre20120109.tar.xz 114896 RMD160 2d683e31d36d9c4b1aab06b0e6439a897d6f9646 SHA1 18bccda3acda504dc3f9284d420ccc93951561f0 SHA256 6c0f4e89e16b66dcabd004ab54e8eac664021bcadddc5fb54cfddb407e897257
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/glyr/glyr-0_pre20111118.ebuild,v 1.2 2012/01/09 15:29:33 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="A music related metadata searchengine, both with commandline interface and C API"
|
||||
HOMEPAGE="http://github.com/sahib/glyr"
|
||||
SRC_URI="http://dev.gentoo.org/~ssuominen/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-db/sqlite:3
|
||||
>=dev-libs/glib-2.10
|
||||
net-misc/curl"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
DOCS="AUTHORS CHANGELOG README* TODO"
|
@ -1,3 +1 @@
|
||||
DIST libquvi-scripts-0.4.0.tar.xz 91116 RMD160 adfc03311a88b7e1be444a91e4c2b8f3bcd7077a SHA1 f2705fbcd13e989af83235d5e99b5a73c1e78a71 SHA256 2d072fce46853bc7e122d141921e386e9eff5a48baaed93de3db67088834df1c
|
||||
DIST libquvi-scripts-0.4.1.tar.xz 92200 RMD160 a98f1857ad11fe929f22b6e5e37c19bfc18b1b98 SHA1 a9d1426e847518a4f5efd65004f8712e23a7f46a SHA256 55a8c7920b149d17574ceaf61816c1203b6ca0adb6d5a32bed2e019517ff6383
|
||||
DIST libquvi-scripts-0.4.2.tar.xz 93568 RMD160 1e72fefcde19754f3d7e700934c4cf8910b5c495 SHA1 ce8a6448e049ff34fc114145908d492c51385214 SHA256 44eaf1c1a1613914b26d4ffc09b84d4df0ee952286c607784fb19dd2352d583d
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libquvi-scripts/libquvi-scripts-0.4.0.ebuild,v 1.1 2011/10/10 07:25:27 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Embedded lua scripts for libquvi"
|
||||
HOMEPAGE="http://quvi.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/quvi/${PV:0:3}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="offensive"
|
||||
|
||||
DEPEND="app-arch/xz-utils"
|
||||
|
||||
# tests fetch data from live websites, so it's rather normal that they
|
||||
# will fail
|
||||
RESTRICT="test"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-manual \
|
||||
$(use_with offensive nsfw)
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libquvi-scripts/libquvi-scripts-0.4.1.ebuild,v 1.1 2011/11/08 02:05:47 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Embedded lua scripts for libquvi"
|
||||
HOMEPAGE="http://quvi.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/quvi/${PV:0:3}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="offensive"
|
||||
|
||||
DEPEND="app-arch/xz-utils"
|
||||
|
||||
# tests fetch data from live websites, so it's rather normal that they
|
||||
# will fail
|
||||
RESTRICT="test"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-manual \
|
||||
$(use_with offensive nsfw)
|
||||
}
|
@ -1,9 +1,3 @@
|
||||
DIST LibRaw-0.14.3.tar.gz 1354720 RMD160 1350305184ba88572e176952631332ffb4528183 SHA1 f67f9ae27281b9b8fd8f228e97dc8969ae8bb7b0 SHA256 80ae0c1bd8267aa6f0fe8d83131a16ff7667485536cdbcedd28e4f2b590e6bda
|
||||
DIST LibRaw-0.14.4.tar.gz 1357445 RMD160 8fc44d6a36b88145fb368817e136cbb4a33cd7d4 SHA1 885149e25e4afcc90bcaae316ff4aa60b3f8b9ea SHA256 795a8615381868942b27636ea83d741d7c8d17afa9f00b5b7fe26212c42ee59c
|
||||
DIST LibRaw-0.14.5.tar.gz 1357903 RMD160 052f850f22ea1aa675b1ef1f4c3020c46856c162 SHA1 5f53787177add7322aa19b926dff34fa28265e16 SHA256 f8b17f5fd0c2801f05dfb7cdee7c55e399094cdb53d521be0cd6d5317291f080
|
||||
DIST LibRaw-demosaic-pack-GPL2-0.14.3.tar.gz 30856 RMD160 62cf3d8392f245b409aa3930c09ca92781b18c59 SHA1 7de834d00690b82c88b0bdb7984f82690e69f451 SHA256 9463ad56bd0014f23efec98921daf289a3c1d9d2a739c957603e251cb2cf2db7
|
||||
DIST LibRaw-demosaic-pack-GPL2-0.14.4.tar.gz 32164 RMD160 90098dd2a0caf7ad20a4f5e6229acccf80cdb64e SHA1 f15c53f26369dd0f4ec731e752c583c06a7f6801 SHA256 a74a92af73299905e3311e64df1538ed013a8ae76382c4735b8f1314988cdbc8
|
||||
DIST LibRaw-demosaic-pack-GPL2-0.14.5.tar.gz 31525 RMD160 e14da610000864cbe3ce9c34ac54b2c7104e9256 SHA1 ad7e7f090f925a17dc5167c57f051cd090ed17ae SHA256 0f29f0895f55295a834158ef3246f7862187098090b70707aa68fe729f775d34
|
||||
DIST LibRaw-demosaic-pack-GPL3-0.14.3.tar.gz 38525 RMD160 9292ae65746165f1a10fff2388f0bf24c044738e SHA1 94ef4a53587d8dda04cb73743511f51f352a5d2f SHA256 43831b44e4e467be01836985b4d1623f4faf88ce0300d24486b70e64ffa2444f
|
||||
DIST LibRaw-demosaic-pack-GPL3-0.14.4.tar.gz 38722 RMD160 b6c459c140fe8ab06f3e8aa4e7e5f1a1f9c0ddee SHA1 9a2fb41bd15229fca2c04d85a760c01b4f1b3b60 SHA256 d70c89db133139d7212a8b89fd9be8fb5569f733eeafb2b63293087c87b193bb
|
||||
DIST LibRaw-demosaic-pack-GPL3-0.14.5.tar.gz 38599 RMD160 60ca7473eb0deb0d10ed9aeb81866ed5cf79af62 SHA1 7911e658119e98e3b56203f209fb27b18ec75fd9 SHA256 a4ed8d2277bf61abc01e71c9670517975db596a81e7971c608feae2bd938c007
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/libraw-0.14.3.ebuild,v 1.3 2011/11/28 06:50:56 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
MY_P="LibRaw-${PV}"
|
||||
DESCRIPTION="LibRaw is a library for reading RAW files obtained from digital photo cameras"
|
||||
HOMEPAGE="http://www.libraw.org/"
|
||||
SRC_URI="http://www.libraw.org/data/${MY_P}.tar.gz
|
||||
demosaic? ( http://www.libraw.org/data/LibRaw-demosaic-pack-GPL2-${PV}.tar.gz
|
||||
http://www.libraw.org/data/LibRaw-demosaic-pack-GPL3-${PV}.tar.gz )"
|
||||
|
||||
# Libraw also has it's own license, which is a pdf file and
|
||||
# can be obtained from here:
|
||||
# http://www.libraw.org/data/LICENSE.LibRaw.pdf
|
||||
LICENSE="LGPL-2.1 CDDL GPL-2 GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="demosaic examples jpeg2k +lcms +openmp static-libs"
|
||||
|
||||
RDEPEND="jpeg2k? ( media-libs/jasper )
|
||||
lcms? ( media-libs/lcms:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
openmp? ( sys-devel/gcc[openmp] )
|
||||
dev-util/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS=( Changelog.txt README )
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.13.4-docs.patch )
|
||||
|
||||
src_prepare() {
|
||||
autotools-utils_src_prepare
|
||||
eautomake
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable demosaic demosaic-pack-gpl2)
|
||||
$(use_enable demosaic demosaic-pack-gpl3)
|
||||
$(use_enable examples)
|
||||
$(use_enable jpeg2k jasper)
|
||||
$(use_enable lcms)
|
||||
$(use_enable openmp)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/libraw-0.14.4.ebuild,v 1.1 2011/12/13 22:29:11 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
MY_P="LibRaw-${PV}"
|
||||
DESCRIPTION="LibRaw is a library for reading RAW files obtained from digital photo cameras"
|
||||
HOMEPAGE="http://www.libraw.org/"
|
||||
SRC_URI="http://www.libraw.org/data/${MY_P}.tar.gz
|
||||
demosaic? ( http://www.libraw.org/data/LibRaw-demosaic-pack-GPL2-${PV}.tar.gz
|
||||
http://www.libraw.org/data/LibRaw-demosaic-pack-GPL3-${PV}.tar.gz )"
|
||||
|
||||
# Libraw also has it's own license, which is a pdf file and
|
||||
# can be obtained from here:
|
||||
# http://www.libraw.org/data/LICENSE.LibRaw.pdf
|
||||
LICENSE="LGPL-2.1 CDDL GPL-2 GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="demosaic examples jpeg2k +lcms +openmp static-libs"
|
||||
|
||||
RDEPEND="jpeg2k? ( media-libs/jasper )
|
||||
lcms? ( media-libs/lcms:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
openmp? ( sys-devel/gcc[openmp] )
|
||||
dev-util/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS=( Changelog.txt README )
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.13.4-docs.patch )
|
||||
|
||||
src_prepare() {
|
||||
autotools-utils_src_prepare
|
||||
eautomake
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable demosaic demosaic-pack-gpl2)
|
||||
$(use_enable demosaic demosaic-pack-gpl3)
|
||||
$(use_enable examples)
|
||||
$(use_enable jpeg2k jasper)
|
||||
$(use_enable lcms)
|
||||
$(use_enable openmp)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# mesa classic/gallium implementations in this release
|
||||
|
||||
# Syntax description:
|
||||
# * MESA_IMPLEMENTATIONS contains a space-delimited list of switchable
|
||||
# classic/gallium implementations.
|
||||
# * MESA_DRIVERS is an associative array, for each member "foo" of
|
||||
# MESA_IMPLEMENTATIONS it contains the following elements:
|
||||
# foo,description - Human-readable description of the driver
|
||||
# foo,classicdriver - Filename of the classic driver
|
||||
# foo,galliumdriver - Filename of the gallium driver
|
||||
# foo,default - which of classic or gallium is chosen by default
|
||||
|
||||
MESA_IMPLEMENTATIONS="i915 i965 r300 r600 sw"
|
||||
declare -A MESA_DRIVERS || die "MESA_DRIVERS already in environment and not associative."
|
||||
|
||||
MESA_DRIVERS[i915,description]="i915 (Intel 915, 945)"
|
||||
MESA_DRIVERS[i915,classicdriver]="i915_dri.so"
|
||||
MESA_DRIVERS[i915,galliumdriver]="i915g_dri.so"
|
||||
MESA_DRIVERS[i915,default]="gallium"
|
||||
|
||||
MESA_DRIVERS[i965,description]="i965 (Intel 965, G/Q3x, G/Q4x)"
|
||||
MESA_DRIVERS[i965,classicdriver]="i965_dri.so"
|
||||
MESA_DRIVERS[i965,default]="classic"
|
||||
|
||||
MESA_DRIVERS[r300,description]="r300 (Radeon R300-R500)"
|
||||
MESA_DRIVERS[r300,galliumdriver]="r300g_dri.so"
|
||||
MESA_DRIVERS[r300,default]="gallium"
|
||||
|
||||
MESA_DRIVERS[r600,description]="r600 (Radeon R600-R700, Evergreen, Northern Islands)"
|
||||
MESA_DRIVERS[r600,galliumdriver]="r600g_dri.so"
|
||||
MESA_DRIVERS[r600,default]="gallium"
|
||||
|
||||
MESA_DRIVERS[sw,description]="sw (Software renderer)"
|
||||
MESA_DRIVERS[sw,classicdriver]="swrast_dri.so"
|
||||
MESA_DRIVERS[sw,galliumdriver]="swrastg_dri.so"
|
||||
MESA_DRIVERS[sw,default]="gallium"
|
@ -0,0 +1,27 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 846b623..fbd05c1 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1839,14 +1839,6 @@ gallium_check_st() {
|
||||
fi
|
||||
}
|
||||
|
||||
-gallium_require_llvm() {
|
||||
- if test "x$MESA_LLVM" = x0; then
|
||||
- case "$host_cpu" in
|
||||
- i*86|x86_64) AC_MSG_ERROR([LLVM is required to build $1 on x86 and x86_64]);;
|
||||
- esac
|
||||
- fi
|
||||
-}
|
||||
-
|
||||
dnl Gallium drivers
|
||||
dnl Duplicates in GALLIUM_DRIVERS_DIRS are removed by sorting it after this block
|
||||
if test "x$with_gallium_drivers" != x; then
|
||||
@@ -1868,7 +1860,6 @@ if test "x$with_gallium_drivers" != x; then
|
||||
gallium_check_st "i915/drm" "dri-i915" "xorg-i915"
|
||||
;;
|
||||
xr300)
|
||||
- gallium_require_llvm "Gallium R300"
|
||||
GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS r300"
|
||||
gallium_check_st "radeon/drm" "dri-r300" "xorg-r300" "" "xvmc-r300" "vdpau-r300" "va-r300"
|
||||
;;
|
@ -0,0 +1,398 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-8.0.ebuild,v 1.2 2012/02/11 04:38:37 chithanh Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/mesa/mesa"
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
GIT_ECLASS="git-2"
|
||||
EXPERIMENTAL="true"
|
||||
fi
|
||||
|
||||
inherit base autotools multilib flag-o-matic toolchain-funcs ${GIT_ECLASS}
|
||||
|
||||
OPENGL_DIR="xorg-x11"
|
||||
|
||||
MY_PN="${PN/m/M}"
|
||||
MY_P="${MY_PN}-${PV/_/-}"
|
||||
MY_SRC_P="${MY_PN}Lib-${PV/_/-}"
|
||||
|
||||
FOLDER="${PV/_rc*/}"
|
||||
|
||||
DESCRIPTION="OpenGL-like graphic library for Linux"
|
||||
HOMEPAGE="http://mesa3d.sourceforge.net/"
|
||||
|
||||
#SRC_PATCHES="mirror://gentoo/${P}-gentoo-patches-01.tar.bz2"
|
||||
if [[ $PV = 9999* ]]; then
|
||||
SRC_URI="${SRC_PATCHES}"
|
||||
else
|
||||
SRC_URI="ftp://ftp.freedesktop.org/pub/mesa/${FOLDER}/${MY_SRC_P}.tar.bz2
|
||||
${SRC_PATCHES}"
|
||||
fi
|
||||
|
||||
# Most of the code is MIT/X11.
|
||||
# ralloc is LGPL-3
|
||||
# GLES[2]/gl[2]{,ext,platform}.h are SGI-B-2.0
|
||||
LICENSE="MIT LGPL-3 SGI-B-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
INTEL_CARDS="i915 i965 intel"
|
||||
RADEON_CARDS="r100 r200 r300 r600 radeon"
|
||||
VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} nouveau vmware"
|
||||
for card in ${VIDEO_CARDS}; do
|
||||
IUSE_VIDEO_CARDS+=" video_cards_${card}"
|
||||
done
|
||||
|
||||
IUSE="${IUSE_VIDEO_CARDS}
|
||||
bindist +classic d3d debug +egl g3dvl +gallium gbm gles1 gles2 +llvm +nptl openvg osmesa pax_kernel pic selinux shared-dricore +shared-glapi vdpau wayland xvmc kernel_FreeBSD"
|
||||
|
||||
REQUIRED_USE="
|
||||
d3d? ( gallium )
|
||||
g3dvl? ( gallium )
|
||||
llvm? ( gallium )
|
||||
openvg? ( egl gallium )
|
||||
gbm? ( shared-glapi )
|
||||
g3dvl? ( || ( vdpau xvmc ) )
|
||||
vdpau? ( g3dvl )
|
||||
xvmc? ( g3dvl )
|
||||
video_cards_intel? ( || ( classic gallium ) )
|
||||
video_cards_i915? ( || ( classic gallium ) )
|
||||
video_cards_i965? ( classic )
|
||||
video_cards_nouveau? ( || ( classic gallium ) )
|
||||
video_cards_radeon? ( || ( classic gallium ) )
|
||||
video_cards_r100? ( classic )
|
||||
video_cards_r200? ( classic )
|
||||
video_cards_r300? ( gallium )
|
||||
video_cards_r600? ( gallium )
|
||||
video_cards_vmware? ( gallium )
|
||||
"
|
||||
|
||||
LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.31"
|
||||
# not a runtime dependency of this package, but dependency of packages which
|
||||
# depend on this package, bug #342393
|
||||
EXTERNAL_DEPEND="
|
||||
>=x11-proto/dri2proto-2.6
|
||||
>=x11-proto/glproto-1.4.15
|
||||
"
|
||||
# keep correct libdrm and dri2proto dep
|
||||
# keep blocks in rdepend for binpkg
|
||||
RDEPEND="${EXTERNAL_DEPEND}
|
||||
!<x11-base/xorg-server-1.7
|
||||
!<=x11-proto/xf86driproto-2.0.3
|
||||
classic? ( app-admin/eselect-mesa )
|
||||
gallium? ( app-admin/eselect-mesa )
|
||||
>=app-admin/eselect-opengl-1.2.2
|
||||
dev-libs/expat
|
||||
gbm? ( sys-fs/udev )
|
||||
>=x11-libs/libX11-1.3.99.901
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXxf86vm
|
||||
>=x11-libs/libxcb-1.8
|
||||
d3d? ( app-emulation/wine )
|
||||
vdpau? ( >=x11-libs/libvdpau-0.4.1 )
|
||||
wayland? ( dev-libs/wayland )
|
||||
xvmc? ( x11-libs/libXvMC )
|
||||
${LIBDRM_DEPSTRING}[video_cards_nouveau?,video_cards_vmware?]
|
||||
"
|
||||
for card in ${INTEL_CARDS}; do
|
||||
RDEPEND="${RDEPEND}
|
||||
video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_intel] )
|
||||
"
|
||||
done
|
||||
|
||||
for card in ${RADEON_CARDS}; do
|
||||
RDEPEND="${RDEPEND}
|
||||
video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_radeon] )
|
||||
"
|
||||
done
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
llvm? ( >=sys-devel/llvm-2.9 )
|
||||
=dev-lang/python-2*
|
||||
dev-libs/libxml2[python]
|
||||
dev-util/pkgconfig
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
x11-misc/makedepend
|
||||
>=x11-proto/xextproto-7.0.99.1
|
||||
x11-proto/xf86driproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# It is slow without texrels, if someone wants slow
|
||||
# mesa without texrels +pic use is worth the shot
|
||||
QA_EXECSTACK="usr/lib*/opengl/xorg-x11/lib/libGL.so*"
|
||||
QA_WX_LOAD="usr/lib*/opengl/xorg-x11/lib/libGL.so*"
|
||||
|
||||
# Think about: ggi, fbcon, no-X configs
|
||||
|
||||
pkg_setup() {
|
||||
# workaround toc-issue wrt #386545
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
[[ $PV = 9999* ]] && git-2_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# apply patches
|
||||
if [[ ${PV} != 9999* && -n ${SRC_PATCHES} ]]; then
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_SOURCE="${WORKDIR}/patches" \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
epatch
|
||||
fi
|
||||
|
||||
# relax the requirement that r300 must have llvm, bug 380303
|
||||
epatch "${FILESDIR}"/${P}-dont-require-llvm-for-r300.patch
|
||||
|
||||
# fix for hardened pax_kernel, bug 240956
|
||||
[[ ${PV} != 9999* ]] && epatch "${FILESDIR}"/glx_ro_text_segm.patch
|
||||
|
||||
# Solaris needs some recent POSIX stuff in our case
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
sed -i -e "s/-DSVR4/-D_POSIX_C_SOURCE=200112L/" configure.ac || die
|
||||
fi
|
||||
|
||||
base_src_prepare
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
if use classic; then
|
||||
# Configurable DRI drivers
|
||||
driver_enable swrast
|
||||
|
||||
# Intel code
|
||||
driver_enable video_cards_i915 i915
|
||||
driver_enable video_cards_i965 i965
|
||||
if ! use video_cards_i915 && \
|
||||
! use video_cards_i965; then
|
||||
driver_enable video_cards_intel i915 i965
|
||||
fi
|
||||
|
||||
# Nouveau code
|
||||
driver_enable video_cards_nouveau nouveau
|
||||
|
||||
# ATI code
|
||||
driver_enable video_cards_r100 radeon
|
||||
driver_enable video_cards_r200 r200
|
||||
if ! use video_cards_r100 && \
|
||||
! use video_cards_r200; then
|
||||
driver_enable video_cards_radeon radeon r200
|
||||
fi
|
||||
fi
|
||||
|
||||
if use egl; then
|
||||
myconf+="
|
||||
--with-egl-platforms=x11$(use wayland && echo ",wayland")$(use gbm && echo ",drm")
|
||||
$(use_enable gallium gallium-egl)
|
||||
"
|
||||
fi
|
||||
|
||||
if use gallium; then
|
||||
myconf+="
|
||||
$(use_enable d3d d3d1x)
|
||||
$(use_enable g3dvl gallium-g3dvl)
|
||||
$(use_enable llvm gallium-llvm)
|
||||
$(use_enable openvg)
|
||||
$(use_enable vdpau)
|
||||
$(use_enable xvmc)
|
||||
"
|
||||
gallium_enable swrast
|
||||
gallium_enable video_cards_vmware svga
|
||||
gallium_enable video_cards_nouveau nouveau
|
||||
gallium_enable video_cards_i915 i915
|
||||
if ! use video_cards_i915; then
|
||||
gallium_enable video_cards_intel i915
|
||||
fi
|
||||
|
||||
gallium_enable video_cards_r300 r300
|
||||
gallium_enable video_cards_r600 r600
|
||||
if ! use video_cards_r300 && \
|
||||
! use video_cards_r600; then
|
||||
gallium_enable video_cards_radeon r300 r600
|
||||
fi
|
||||
fi
|
||||
|
||||
# x86 hardened pax_kernel needs glx-rts, bug 240956
|
||||
if use pax_kernel; then
|
||||
myconf+="
|
||||
$(use_enable x86 glx-rts)
|
||||
"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--enable-dri \
|
||||
--enable-glx \
|
||||
$(use_enable !bindist texture-float) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable egl) \
|
||||
$(use_enable gbm) \
|
||||
$(use_enable gles1) \
|
||||
$(use_enable gles2) \
|
||||
$(use_enable nptl glx-tls) \
|
||||
$(use_enable osmesa) \
|
||||
$(use_enable !pic asm) \
|
||||
$(use_enable shared-dricore) \
|
||||
$(use_enable shared-glapi) \
|
||||
--with-dri-drivers=${DRI_DRIVERS} \
|
||||
--with-gallium-drivers=${GALLIUM_DRIVERS} \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
base_src_install
|
||||
|
||||
if use !bindist; then
|
||||
dodoc docs/patents.txt
|
||||
fi
|
||||
|
||||
# Save the glsl-compiler for later use
|
||||
if ! tc-is-cross-compiler; then
|
||||
dobin "${S}"/src/glsl/glsl_compiler
|
||||
fi
|
||||
|
||||
# Install config file for eselect mesa
|
||||
insinto /usr/share/mesa
|
||||
newins "${FILESDIR}/eselect-mesa.conf.8.0" eselect-mesa.conf
|
||||
|
||||
# Move libGL and others from /usr/lib to /usr/lib/opengl/blah/lib
|
||||
# because user can eselect desired GL provider.
|
||||
ebegin "Moving libGL and friends for dynamic switching"
|
||||
dodir /usr/$(get_libdir)/opengl/${OPENGL_DIR}/{lib,extensions,include}
|
||||
local x
|
||||
for x in "${ED}"/usr/$(get_libdir)/lib{EGL,GL,OpenVG}.{la,a,so*}; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
mv -f "${x}" "${ED}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/lib \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
for x in "${ED}"/usr/include/GL/{gl.h,glx.h,glext.h,glxext.h}; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
mv -f "${x}" "${ED}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/include \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
eend $?
|
||||
|
||||
if use classic || use gallium; then
|
||||
ebegin "Moving DRI/Gallium drivers for dynamic switching"
|
||||
local gallium_drivers=( i915_dri.so i965_dri.so r300_dri.so r600_dri.so swrast_dri.so )
|
||||
keepdir /usr/$(get_libdir)/dri
|
||||
dodir /usr/$(get_libdir)/mesa
|
||||
for x in ${gallium_drivers[@]}; do
|
||||
if [ -f "${S}/$(get_libdir)/gallium/${x}" ]; then
|
||||
mv -f "${ED}/usr/$(get_libdir)/dri/${x}" "${ED}/usr/$(get_libdir)/dri/${x/_dri.so/g_dri.so}" \
|
||||
|| die "Failed to move ${x}"
|
||||
insinto "/usr/$(get_libdir)/dri/"
|
||||
if [ -f "${S}/$(get_libdir)/${x}" ]; then
|
||||
insopts -m0755
|
||||
doins "${S}/$(get_libdir)/${x}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
for x in "${ED}"/usr/$(get_libdir)/dri/*.so; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
mv -f "${x}" "${x/dri/mesa}" \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
pushd "${ED}"/usr/$(get_libdir)/dri || die "pushd failed"
|
||||
ln -s ../mesa/*.so . || die "Creating symlink failed"
|
||||
# remove symlinks to drivers known to eselect
|
||||
for x in ${gallium_drivers[@]}; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
rm "${x}" || die "Failed to remove ${x}"
|
||||
fi
|
||||
done
|
||||
popd
|
||||
eend $?
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Switch to the xorg implementation.
|
||||
echo
|
||||
eselect opengl set --use-old ${OPENGL_DIR}
|
||||
|
||||
# switch to xorg-x11 and back if necessary, bug #374647 comment 11
|
||||
OLD_IMPLEM="$(eselect opengl show)"
|
||||
if [[ ${OPENGL_DIR}x != ${OLD_IMPLEM}x ]]; then
|
||||
eselect opengl set ${OPENGL_DIR}
|
||||
eselect opengl set ${OLD_IMPLEM}
|
||||
fi
|
||||
|
||||
# Select classic/gallium drivers
|
||||
if use classic || use gallium; then
|
||||
eselect mesa set --auto
|
||||
fi
|
||||
|
||||
# warn about patent encumbered texture-float
|
||||
if use !bindist; then
|
||||
elog "USE=\"bindist\" was not set. Potentially patent encumbered code was"
|
||||
elog "enabled. Please see patents.txt for an explanation."
|
||||
fi
|
||||
|
||||
local using_radeon r_flag
|
||||
for r_flag in ${RADEON_CARDS}; do
|
||||
if use video_cards_${r_flag}; then
|
||||
using_radeon=1
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ${using_radeon} = 1 ]] && ! has_version media-libs/libtxc_dxtn; then
|
||||
elog "Note that in order to have full S3TC support, it is necessary to install"
|
||||
elog "media-libs/libtxc_dxtn as well. This may be necessary to get nice"
|
||||
elog "textures in some apps, and some others even require this to run."
|
||||
fi
|
||||
}
|
||||
|
||||
# $1 - VIDEO_CARDS flag
|
||||
# other args - names of DRI drivers to enable
|
||||
# TODO: avoid code duplication for a more elegant implementation
|
||||
driver_enable() {
|
||||
case $# in
|
||||
# for enabling unconditionally
|
||||
1)
|
||||
DRI_DRIVERS+=",$1"
|
||||
;;
|
||||
*)
|
||||
if use $1; then
|
||||
shift
|
||||
for i in $@; do
|
||||
DRI_DRIVERS+=",${i}"
|
||||
done
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
gallium_enable() {
|
||||
case $# in
|
||||
# for enabling unconditionally
|
||||
1)
|
||||
GALLIUM_DRIVERS+=",$1"
|
||||
;;
|
||||
*)
|
||||
if use $1; then
|
||||
shift
|
||||
for i in $@; do
|
||||
GALLIUM_DRIVERS+=",${i}"
|
||||
done
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue