Sync with portage [Mon Jan 9 21:31:19 MSK 2012].

mhiretskiy
root 13 years ago
parent 8d3f5db2ef
commit 7979f98bb9

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.5.1-r1.ebuild,v 1.6 2012/01/04 18:16:06 phajdan.jr Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.5.1-r1.ebuild,v 1.7 2012/01/08 17:01:22 armin76 Exp $
EAPI=2
# PYTHON_BDEPEND="2"
@ -15,7 +15,7 @@ SRC_URI="http://www.h5l.org/dist/src/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86"
KEYWORDS="alpha amd64 arm ~hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
IUSE="afs +berkdb caps hdb-ldap ipv6 otp +pkinit ssl static-libs threads test X"
RDEPEND="ssl? ( dev-libs/openssl )

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.2-r1.ebuild,v 1.6 2012/01/04 17:26:41 phajdan.jr Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.2-r1.ebuild,v 1.7 2012/01/08 15:58:41 armin76 Exp $
EAPI=4
@ -14,7 +14,7 @@ SRC_URI="http://web.mit.edu/kerberos/dist/krb5-appl/${MAJOR_MINOR}/${MY_P}-signe
LICENSE="as-is"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
IUSE=""
RDEPEND=">=app-crypt/mit-krb5-1.8.0

@ -1,6 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-dicts/ydpdict/ydpdict-1.0.0.ebuild,v 1.2 2009/10/18 09:10:23 spock Exp $
# $Header: /var/cvsroot/gentoo-x86/app-dicts/ydpdict/ydpdict-1.0.0.ebuild,v 1.4 2012/01/08 22:10:50 spock Exp $
EAPI=2
DESCRIPTION="Interface for the Collins Dictionary."
HOMEPAGE="http://toxygen.net/ydpdict/"
@ -12,6 +14,7 @@ KEYWORDS="~amd64 ~x86"
IUSE="ao"
RDEPEND=">=app-dicts/libydpdict-${PV}
sys-libs/ncurses[unicode]
ao? ( media-libs/libao )"
DEPEND="${RDEPEND}

@ -1,2 +1,2 @@
DIST emacs-24.0.91.tar.gz 50973768 RMD160 6479b85929c98f18d7ffeb4d288677ee8d744a72 SHA1 7eda9e9861638cfc328582e27831ece799ba9929 SHA256 1850909dccde9a331b4585bdc3d26a30b90a81a7d2469536fddd6ba61d246bbe
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

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-23.3.9999.ebuild,v 1.18 2012/01/05 23:43:15 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-23.3.9999-r1.ebuild,v 1.1 2012/01/09 12:59:24 ulm Exp $
EAPI=4
WANT_AUTOMAKE="none"
@ -293,8 +293,20 @@ src_install () {
pkg_preinst() {
# move Info dir file to correct name
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{.orig,} \
|| die "moving info dir failed"
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() {

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.0.91.ebuild,v 1.7 2012/01/05 23:43:15 ulm Exp $
# $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
@ -15,8 +15,10 @@ if [[ ${PV##*.} = 9999 ]]; then
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"
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
@ -104,6 +106,8 @@ src_prepare() {
|| 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.
@ -300,8 +304,20 @@ src_install () {
pkg_preinst() {
# move Info dir file to correct name
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{.orig,} \
|| die "moving info dir failed"
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() {

@ -1,339 +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.ebuild,v 1.5 2012/01/05 23:43:15 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
SRC_URI="mirror://gentoo/emacs-${PV}.tar.gz
ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-${PV}.tar.gz"
# FULL_VERSION keeps the full version number, which is needed in
# order to determine some path information correctly for copy/move
# operations later on
FULL_VERSION="${PV%%_*}"
S="${WORKDIR}/emacs-${FULL_VERSION}"
fi
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
HOMEPAGE="http://www.gnu.org/software/emacs/"
LICENSE="GPL-3 FDL-1.3 BSD as-is MIT W3C unicode PSF-2"
SLOT="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
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
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{.orig,} \
|| die "moving info dir failed"
}
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
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.0.9999-r2.ebuild,v 1.3 2012/01/05 23:43:15 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.0.9999-r2.ebuild,v 1.4 2012/01/08 21:29:32 ulm Exp $
EAPI=4
@ -300,8 +300,20 @@ src_install () {
pkg_preinst() {
# move Info dir file to correct name
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{.orig,} \
|| die "moving info dir failed"
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() {

@ -6,6 +6,6 @@ DIST emacs-21.4a.tar.gz 20403483 RMD160 c312e739935b56d08783bbfe97992297a363cb8a
DIST emacs-22.3-patches-8.tar.bz2 5974 RMD160 a17c6e291b6c0d246d30a27baceaa882b12a1250 SHA1 fbb03538973be5f416edbffebc567f6346caef4b SHA256 72a68bd14ce2efd52b0425c56649d735f4b3c0e630de73e0eb51ddf947d56ff7
DIST emacs-22.3.tar.gz 39587396 RMD160 a7eed5099d0cab25f34152f1b18b5c1b4e2e0746 SHA1 5e9b3e0205099a83be7198fd43ba1c9442a3feb0 SHA256 7bd9b719db8ee20c75ee0d256737f7fd2c0e2ea30a285a3afbfc32c856420d16
DIST emacs-23.3-patches-2.tar.bz2 1936 RMD160 c1cbe26f05e68efe0768445a3918892e995a59dd SHA1 3f55305dab83084b01f8958371d4e0fd4114b88b SHA256 403f88c0b814817734f275e6ee6ff4c8f27858a2429ea7d0a029c2d89ebaa5de
DIST emacs-23.3-patches-3.tar.bz2 14783 RMD160 5a609bfded363d63f6146c482881d63ea6fe8b08 SHA1 da25e5ab9e5c10d36fdffe17ee3825822f8618b7 SHA256 1c8b404d52a5f66861e1533c785642c5c0a371d55287b5df7d9c2587a24d1bbd
DIST emacs-23.3-patches-4.tar.bz2 19275 RMD160 9a5d61bcf60422efd44efc5f206d9baf8e742bd6 SHA1 695d786f1d43ddbc0c269c780a43cfed9aeb35f0 SHA256 0d4393e221b78bd97c39a10f6e4206d2dbbcee7062e9626d37a3a45c72b34636
DIST emacs-23.3a.tar.bz2 38748283 RMD160 21f201714bca420c3a8fed8c92058cec786e724e SHA1 795bdfa372e42b9589a80f6dcb2ad8fed65b90e4 SHA256 9f4beee3bf4987914d57851c0aac017cb92a1410c2b31ba313265c64a38cc6ba
DIST leim-21.4.tar.gz 3291433 RMD160 89e1108bfe06425a0d6b4d941f9c297551bafcca SHA1 dd63f9aca1a58d40d9d426dd410fb627230974f7 SHA256 db24946985dd644bfed18815d6e991dad27f8ab1fd5823dd6dc4eb8dcd04333b

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.3-r3.ebuild,v 1.4 2012/01/05 23:51:53 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.3-r4.ebuild,v 1.1 2012/01/09 10:14:52 ulm Exp $
EAPI=4
WANT_AUTOMAKE="none"
@ -10,7 +10,7 @@ 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}a.tar.bz2
mirror://gentoo/${P}-patches-3.tar.bz2"
mirror://gentoo/${P}-patches-4.tar.bz2"
LICENSE="GPL-3 FDL-1.3 BSD as-is MIT W3C unicode PSF-2"
SLOT="23"
@ -278,8 +278,20 @@ src_install () {
pkg_preinst() {
# move Info dir file to correct name
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{.orig,} \
|| die "moving info dir failed"
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() {

@ -0,0 +1,80 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/cedet/cedet-1.0-r1.ebuild,v 1.1 2012/01/09 11:09:29 ulm Exp $
EAPI=4
NEED_EMACS=22
inherit elisp
MY_P=${P/_}
DESCRIPTION="CEDET: Collection of Emacs Development Environment Tools"
HOMEPAGE="http://cedet.sourceforge.net/"
SRC_URI="mirror://sourceforge/cedet/${MY_P}.tar.gz"
LICENSE="GPL-2 FDL-1.2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris"
IUSE=""
S="${WORKDIR}/${MY_P}"
ELISP_PATCHES="${P}-ede_security_fix.patch"
SITEFILE="50${PN}-gentoo.el"
EMACSFLAGS="${EMACSFLAGS} -L ${S}/eieio -L ${S}/semantic -L ${S}/srecode \
-L ${S}/ede -L ${S}/speedbar -L ${S}/cogre"
src_compile() {
emake -j1 \
EMACS="${EMACS}" \
EMACSFLAGS="${EMACSFLAGS}"
}
src_test() {
emake -j1 \
EMACS="${EMACS}" \
EMACSFLAGS="${EMACSFLAGS}" \
utest
}
src_install() {
local target file dir
find . -type d -name tests -prune -o -type f -print | while read target
do
file=${target##*/}
dir=${target%/*}; dir=${dir#./}
case "${file}" in
*~ | Makefile | *.texi | *-script | PRERELEASE_CHECKLIST \
| Project.ede | USING_CEDET_FROM_CVS | grammar-fw-ov.txt)
;;
ChangeLog | README | AUTHORS | *NEWS | INSTALL \
| renamelist.txt | semanticdb.sh)
docinto "${dir}"
dodoc "${target}" ;;
*.el | *.by | *.wy)
# install grammar sources along with the elisp files, since
# the location where semantic expects them is not configurable
insinto "${SITELISP}/${PN}/${dir}"
doins "${target}" ;;
*.elc)
# we are in a subshell, so collecting in a variable won't work
echo "${target}" >>"${T}/elc-list.txt" ;;
*.srt | *.xpm)
insinto "${SITEETC}/${PN}/${dir}"
doins "${target}" ;;
*.info* | grammar-fw-ov.png)
doinfo "${target}" ;;
*)
die "Unrecognised file ${target}" ;;
esac
done
# make sure that the compiled elisp files have a later time stamp than
# the corresponding sources, in order to suppress warnings at run time
while read target; do
dir=${target%/*}; dir=${dir#./}
insinto "${SITELISP}/${PN}/${dir}"
doins "${target}"
done <"${T}/elc-list.txt"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
}

@ -0,0 +1,379 @@
http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00387.html
https://bugs.gentoo.org/398227
--- cedet-1.0-orig/ede/ede-auto.el
+++ cedet-1.0/ede/ede-auto.el
@@ -57,6 +57,13 @@
:initform t
:documentation
"Non-nil if this is an option when a user creates a project.")
+ (safe-p :initarg :safe-p
+ :initform t
+ :documentation
+ "Non-nil if the project load files are \"safe\".
+An unsafe project is one that loads project variables via Emacs
+Lisp code. A safe project is one that loads project variables by
+scanning files without loading Lisp code from them.")
)
"Class representing minimal knowledge set to run preliminary EDE functions.
When more advanced functionality is needed from a project type, that projects
@@ -68,13 +75,15 @@
:name "Make" :file 'ede-proj
:proj-file "Project.ede"
:load-type 'ede-proj-load
- :class-sym 'ede-proj-project)
+ :class-sym 'ede-proj-project
+ :safe-p nil)
(ede-project-autoload "edeproject-automake"
:name "Automake" :file 'ede-proj
:proj-file "Project.ede"
:initializers '(:makefile-type Makefile.am)
:load-type 'ede-proj-load
- :class-sym 'ede-proj-project)
+ :class-sym 'ede-proj-project
+ :safe-p nil)
(ede-project-autoload "automake"
:name "automake" :file 'project-am
:proj-file "Makefile.am"
@@ -84,6 +93,8 @@
)
"List of vectors defining how to determine what type of projects exist.")
+(put 'ede-project-class-files 'risky-local-variable t)
+
;;; EDE project-autoload methods
;;
(defmethod ede-project-root ((this ede-project-autoload))
@@ -122,6 +133,19 @@
(when (and f (file-exists-p f))
f)))
+(defmethod ede-auto-load-project ((this ede-project-autoload) dir)
+ "Load in the project associated with THIS project autoload description.
+THIS project description should be valid for DIR, where the project will
+be loaded."
+ ;; Last line of defense: don't load unsafe projects.
+ (when (not (or (oref this :safe-p)
+ (ede-directory-safe-p dir)))
+ (error "Attempt to load an unsafe project (bug elsewhere in EDE)"))
+ ;; Things are good - so load the project.
+ (let ((o (funcall (oref this load-type) dir)))
+ (when (not o)
+ (error "Project type error: :load-type failed to create a project"))
+ (ede-add-project-to-global-list o)))
(provide 'ede-auto)
--- cedet-1.0-orig/ede/ede-simple.el
+++ cedet-1.0/ede/ede-simple.el
@@ -51,7 +51,8 @@
:name "Simple" :file 'ede-simple
:proj-file 'ede-simple-projectfile-for-dir
:load-type 'ede-simple-load
- :class-sym 'ede-simple-project)
+ :class-sym 'ede-simple-project
+ :safe-p nil)
t)
(defcustom ede-simple-save-directory "~/.ede"
--- cedet-1.0-orig/ede/ede.el
+++ cedet-1.0/ede/ede.el
@@ -81,6 +81,42 @@
(require 'ede-auto)
(require 'ede-base)
+(defcustom ede-project-directories nil
+ "Directories in which EDE may search for project files.
+If the value is t, EDE may search in any directory.
+
+If the value is a function, EDE calls that function with one
+argument, the directory name; the function should return t iff
+EDE should look for project files in the directory.
+
+Otherwise, the value should be a list of fully-expanded directory
+names. EDE searches for project files only in those directories.
+If you invoke the commands \\[ede] or \\[ede-new] on a directory
+that is not listed, Emacs will offer to add it to the list.
+
+Any other value disables searching for EDE project files."
+ :group 'ede
+ :type '(choice (const :tag "Any directory" t)
+ (repeat :tag "List of directories"
+ (directory))
+ (function :tag "Predicate"))
+ :version "23.4"
+ :risky t)
+
+(defun ede-directory-safe-p (dir)
+ "Return non-nil if DIR is a safe directory to load projects from.
+Projects that do not load a project definition as Emacs Lisp code
+are safe, and can be loaded automatically. Other project types,
+such as those created with Project.ede files, are safe only if
+specified by `ede-project-directories'."
+ (setq dir (directory-file-name (expand-file-name dir)))
+ ;; Load only if allowed by `ede-project-directories'.
+ (or (eq ede-project-directories t)
+ (and (functionp ede-project-directories)
+ (funcall ede-project-directories dir))
+ (and (listp ede-project-directories)
+ (member dir ede-project-directories))))
+
;;; Management variables
;;
@@ -408,24 +444,42 @@
Sets buffer local variables for EDE."
(let* ((ROOT nil)
(proj (ede-directory-get-open-project default-directory
- 'ROOT)))
+ 'ROOT))
+ (projauto nil))
+
(when (or proj ROOT
- (ede-directory-project-p default-directory t))
+ ;; If there is no open project, look up the project
+ ;; autoloader to see if we should initialize.
+ (setq projauto (ede-directory-project-p default-directory t)))
+
+ (when (and (not proj) projauto)
+
+ ;; No project was loaded, but we have a project description
+ ;; object. This means that we can check if it is a safe
+ ;; project to load before requesting it to be loaded.
+
+ (when (or (oref projauto safe-p)
+ ;; The project style is not safe, so check if it is
+ ;; in `ede-project-directories'.
+ (let ((top (ede-toplevel-project default-directory)))
+ (ede-directory-safe-p top)))
+
+ ;; The project is safe, so load it in.
+ (setq proj (ede-load-project-file default-directory 'ROOT))))
- (when (not proj)
- ;; @todo - this could be wasteful.
- (setq proj (ede-load-project-file default-directory 'ROOT)))
+ ;; Only initialize EDE state in this buffer if we found a project.
+ (when proj
- (setq ede-object (ede-buffer-object (current-buffer)
+ (setq ede-object (ede-buffer-object (current-buffer)
'ede-object-project))
- (setq ede-object-root-project
- (or ROOT (ede-project-root ede-object-project)))
+ (setq ede-object-root-project
+ (or ROOT (ede-project-root ede-object-project)))
- (if (and (not ede-object) ede-object-project)
- (ede-auto-add-to-target))
+ (if (and (not ede-object) ede-object-project)
+ (ede-auto-add-to-target))
- (ede-apply-target-options))))
+ (ede-apply-target-options)))))
(defun ede-reset-all-buffers (onoff)
"Reset all the buffers due to change in EDE.
@@ -534,13 +588,73 @@
;;; Interactive method invocations
;;
-(defun ede (file)
- "Start up EDE on something.
-Argument FILE is the file or directory to load a project from."
- (interactive "fProject File: ")
- (if (not (file-exists-p file))
- (ede-new file)
- (ede-load-project-file (file-name-directory file))))
+(defun ede (dir)
+ "Start up EDE for directory DIR.
+If DIR has an existing project file, load it.
+Otherwise, create a new project for DIR."
+ (interactive
+ ;; When choosing a directory to turn on, and we see some directory here,
+ ;; provide that as the default.
+ (let* ((top (ede-toplevel-project default-directory))
+ (promptdflt (or top default-directory)))
+ (list (read-directory-name "Project directory: "
+ promptdflt promptdflt t))))
+ (unless (file-directory-p dir)
+ (error "%s is not a directory" dir))
+ (when (ede-directory-get-open-project dir)
+ (error "%s already has an open project associated with it" dir))
+
+ ;; Check if the directory has been added to the list of safe
+ ;; directories. It can also add the directory to the safe list if
+ ;; the user chooses.
+ (if (ede-check-project-directory dir)
+ (progn
+ ;; If there is a project in DIR, load it, otherwise do
+ ;; nothing.
+ (ede-load-project-file dir)
+
+ ;; Check if we loaded anything on the previous line.
+ (if (ede-current-project dir)
+
+ ;; We successfully opened an existing project. Some open
+ ;; buffers may also be referring to this project.
+ ;; Resetting all the buffers will get them to also point
+ ;; at this new open project.
+ (ede-reset-all-buffers 1)
+
+ ;; ELSE
+ ;; There was no project, so switch to `ede-new' which is how
+ ;; a user can select a new kind of project to create.
+ (let ((default-directory (expand-file-name dir)))
+ (call-interactively 'ede-new))))
+
+ ;; If the proposed directory isn't safe, then say so.
+ (error "%s is not an allowed project directory in `ede-project-directories'"
+ dir)))
+
+(defun ede-check-project-directory (dir)
+ "Check if DIR should be in `ede-project-directories'.
+If it is not, try asking the user if it should be added; if so,
+add it and save `ede-project-directories' via Customize.
+Return nil iff DIR should not be in `ede-project-directories'."
+ (setq dir (directory-file-name (expand-file-name dir))) ; strip trailing /
+ (or (eq ede-project-directories t)
+ (and (functionp ede-project-directories)
+ (funcall ede-project-directories dir))
+ ;; If `ede-project-directories' is a list, maybe add it.
+ (when (listp ede-project-directories)
+ (or (member dir ede-project-directories)
+ (when (y-or-n-p (format "`%s' is not listed in `ede-project-directories'.
+Add it to the list of allowed project directories? "
+ dir))
+ (push dir ede-project-directories)
+ ;; If possible, save `ede-project-directories'.
+ (if (or custom-file user-init-file)
+ (let ((coding-system-for-read nil))
+ (customize-save-variable
+ 'ede-project-directories
+ ede-project-directories)))
+ t)))))
(defun ede-new (type &optional name)
"Create a new project starting of project type TYPE.
@@ -574,6 +688,11 @@
(error "Cannot create project in non-existent directory %s" default-directory))
(when (not (file-writable-p default-directory))
(error "No write permissions for %s" default-directory))
+ (unless (ede-check-project-directory default-directory)
+ (error "%s is not an allowed project directory in `ede-project-directories'"
+ default-directory))
+ ;; Make sure the project directory is loadable in the future.
+ (ede-check-project-directory default-directory)
;; Create the project
(let* ((obj (object-assoc type 'name ede-project-class-files))
(nobj (let ((f (oref obj file))
@@ -607,6 +726,10 @@
(ede-add-subproject pp nobj)
(ede-commit-project pp)))
(ede-commit-project nobj))
+ ;; Once the project is created, load it again. This used to happen
+ ;; lazily, but with project loading occurring less often and with
+ ;; security in mind, this is now the safe time to reload.
+ (ede-load-project-file default-directory)
;; Have the menu appear
(setq ede-minor-mode t)
;; Allert the user
@@ -629,11 +752,16 @@
(defun ede-rescan-toplevel ()
"Rescan all project files."
(interactive)
- (let ((toppath (ede-toplevel-project default-directory))
- (ede-deep-rescan t))
- (project-rescan (ede-load-project-file toppath))
- (ede-reset-all-buffers 1)
- ))
+ (if (not (ede-directory-get-open-project default-directory))
+ ;; This directory isn't open. Can't rescan.
+ (error "Attempt to rescan a project that isn't open")
+
+ ;; Continue
+ (let ((toppath (ede-toplevel-project default-directory))
+ (ede-deep-rescan t))
+
+ (project-rescan (ede-load-project-file toppath))
+ (ede-reset-all-buffers 1))))
(defun ede-new-target (&rest args)
"Create a new target specific to this type of project file.
@@ -877,7 +1005,7 @@
;; Do the load
;;(message "EDE LOAD : %S" file)
(let* ((file dir)
- (path (expand-file-name (file-name-directory file)))
+ (path (file-name-as-directory (expand-file-name dir)))
(pfc (ede-directory-project-p path))
(toppath nil)
(o nil))
@@ -906,13 +1034,11 @@
;; See if its been loaded before
(setq o (object-assoc (ede-dir-to-projectfile pfc toppath) 'file
ede-projects))
- (if (not o)
- ;; If not, get it now.
- (let ((ede-constructing pfc))
- (setq o (funcall (oref pfc load-type) toppath))
- (when (not o)
- (error "Project type error: :load-type failed to create a project"))
- (ede-add-project-to-global-list o)))
+
+ ;; If not open yet, load it.
+ (unless o
+ (let ((ede-constructing pfc))
+ (setq o (ede-auto-load-project pfc toppath))))
;; Return the found root project.
(when rootreturn (set rootreturn o))
@@ -967,13 +1093,7 @@
(and root
(ede-find-subproject-for-directory root updir))
;; Try the all structure based search.
- (ede-directory-get-open-project updir)
- ;; Load up the project file as a last resort.
- ;; Last resort since it uses file-truename, and other
- ;; slow features.
- (and (ede-directory-project-p updir)
- (ede-load-project-file
- (file-name-as-directory updir))))))))))
+ (ede-directory-get-open-project updir))))))))
(defun ede-current-project (&optional dir)
"Return the current project file.
@@ -987,11 +1107,7 @@
;; No current project.
(when (not ans)
(let* ((ldir (or dir default-directory)))
- (setq ans (ede-directory-get-open-project ldir))
- (or ans
- ;; No open project, if this dir pass project-p, then load.
- (when (ede-directory-project-p ldir)
- (setq ans (ede-load-project-file ldir))))))
+ (setq ans (ede-directory-get-open-project ldir))))
;; Return what we found.
ans))
@@ -1047,12 +1163,13 @@
"Return the project which is the parent of TARGET.
It is recommended you track the project a different way as this function
could become slow in time."
- ;; @todo - use ede-object-project as a starting point.
- (let ((ans nil) (projs ede-projects))
- (while (and (not ans) projs)
- (setq ans (ede-target-in-project-p (car projs) target)
- projs (cdr projs)))
- ans))
+ (or ede-object-project
+ ;; If not cached, derive it from the current directory of the target.
+ (let ((ans nil) (projs ede-projects))
+ (while (and (not ans) projs)
+ (setq ans (ede-target-in-project-p (car projs) target)
+ projs (cdr projs)))
+ ans)))
(defmethod ede-find-target ((proj ede-project) buffer)
"Fetch the target in PROJ belonging to BUFFER or nil."

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ocaml-mode/ocaml-mode-3.12.1.ebuild,v 1.5 2012/01/06 16:46:18 ranger Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ocaml-mode/ocaml-mode-3.12.1.ebuild,v 1.6 2012/01/08 21:04:22 maekke Exp $
EAPI=4
@ -14,7 +14,7 @@ SRC_URI="http://caml.inria.fr/distrib/${MY_P%.*}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ppc ~ppc64 ~sparc x86 ~x86-fbsd"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ~ppc64 ~sparc x86 ~x86-fbsd"
IUSE=""
S="${WORKDIR}/${MY_P}/emacs"

@ -1,6 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/digitemp/digitemp-3.3.2.ebuild,v 1.7 2007/04/12 20:42:47 opfer Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/digitemp/digitemp-3.3.2.ebuild,v 1.8 2012/01/09 07:15:10 ssuominen Exp $
EAPI=1
DESCRIPTION="Temperature logging and reporting using Dallas Semiconductor's iButtons and 1-Wire protocol"
HOMEPAGE="http://www.digitemp.com http://www.ibutton.com"
@ -11,7 +13,7 @@ SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
DEPEND="ds2490? ( >=dev-libs/libusb-0.1.10a )"
DEPEND="ds2490? ( virtual/libusb:0 )"
targets() {
# default is to compile to the ds9097u.

@ -1,6 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/digitemp/digitemp-3.5.0-r1.ebuild,v 1.1 2010/07/19 00:25:42 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/digitemp/digitemp-3.5.0-r1.ebuild,v 1.2 2012/01/09 07:15:10 ssuominen Exp $
EAPI=1
inherit toolchain-funcs
@ -13,7 +15,7 @@ SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
DEPEND="ds2490? ( >=dev-libs/libusb-0.1.10a )"
DEPEND="ds2490? ( virtual/libusb:0 )"
targets() {
# default is to compile to the ds9097u.

@ -1,6 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/digitemp/digitemp-3.5.0.ebuild,v 1.1 2007/12/07 11:03:41 wschlich Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/digitemp/digitemp-3.5.0.ebuild,v 1.2 2012/01/09 07:15:10 ssuominen Exp $
EAPI=1
DESCRIPTION="Temperature logging and reporting using Dallas Semiconductor's iButtons and 1-Wire protocol"
HOMEPAGE="http://www.digitemp.com/ http://www.ibutton.com/"
@ -11,7 +13,7 @@ SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
DEPEND="ds2490? ( >=dev-libs/libusb-0.1.10a )"
DEPEND="ds2490? ( virtual/libusb:0 )"
targets() {
# default is to compile to the ds9097u.

@ -1,6 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.5.ebuild,v 1.10 2010/11/01 09:00:14 fauli Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.5.ebuild,v 1.11 2012/01/09 07:19:17 ssuominen Exp $
EAPI=1
inherit eutils linux-mod flag-o-matic autotools
@ -77,7 +79,7 @@ LIBFTDI_USED_BY_DEV="
ftdi usbirboy userspace"
for dev in ${LIBUSB_USED_BY_DEV}; do
DEPEND="${DEPEND} lirc_devices_${dev}? ( dev-libs/libusb )"
DEPEND="${DEPEND} lirc_devices_${dev}? ( virtual/libusb:0 )"
done
for dev in ${LIBFTDI_USED_BY_DEV}; do

@ -1,6 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.7.ebuild,v 1.4 2012/01/05 23:32:23 xmw Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.7.ebuild,v 1.5 2012/01/09 07:19:17 ssuominen Exp $
EAPI=1
inherit eutils linux-mod flag-o-matic autotools
@ -75,7 +77,7 @@ LIBUSB_USED_BY_DEV="
imon_rsc streamzap mceusb xboxusb irlink commandir"
for dev in ${LIBUSB_USED_BY_DEV}; do
DEPEND="${DEPEND} lirc_devices_${dev}? ( dev-libs/libusb )"
DEPEND="${DEPEND} lirc_devices_${dev}? ( virtual/libusb:0 )"
done
# adding only compile-time depends

@ -1,6 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.7_pre1.ebuild,v 1.2 2010/11/01 09:00:14 fauli Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.7_pre1.ebuild,v 1.3 2012/01/09 07:19:17 ssuominen Exp $
EAPI=1
inherit eutils linux-mod flag-o-matic autotools
@ -75,7 +77,7 @@ LIBUSB_USED_BY_DEV="
imon_rsc streamzap mceusb xboxusb irlink commandir"
for dev in ${LIBUSB_USED_BY_DEV}; do
DEPEND="${DEPEND} lirc_devices_${dev}? ( dev-libs/libusb )"
DEPEND="${DEPEND} lirc_devices_${dev}? ( virtual/libusb:0 )"
done
# adding only compile-time depends

@ -1,6 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.9.0.ebuild,v 1.2 2011/06/13 12:30:21 fauli Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.9.0.ebuild,v 1.3 2012/01/09 07:19:17 ssuominen Exp $
EAPI=1
inherit eutils linux-mod flag-o-matic autotools
@ -75,7 +77,7 @@ LIBUSB_USED_BY_DEV="
imon_rsc streamzap xboxusb irlink commandir"
for dev in ${LIBUSB_USED_BY_DEV}; do
DEPEND="${DEPEND} lirc_devices_${dev}? ( dev-libs/libusb )"
DEPEND="${DEPEND} lirc_devices_${dev}? ( virtual/libusb:0 )"
done
# adding only compile-time depends

@ -1,6 +1,3 @@
;;; noweb site-lisp configuration
(add-to-list 'load-path "@SITELISP@")
(autoload 'noweb-mode "noweb-mode"
"Minor meta mode for editing noweb files." t)

@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/noweb/noweb-2.11b-r1.ebuild,v 1.6 2010/01/06 20:35:30 ranger Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/noweb/noweb-2.11b-r1.ebuild,v 1.7 2012/01/08 22:43:06 ulm Exp $
inherit eutils toolchain-funcs elisp-common
@ -8,7 +8,7 @@ DESCRIPTION="a literate programming tool, lighter than web"
HOMEPAGE="http://www.eecs.harvard.edu/~nr/noweb/"
SRC_URI="http://www.eecs.harvard.edu/~nr/noweb/dist/${P}.tgz"
LICENSE="freedist emacs? ( GPL-2 )"
LICENSE="noweb emacs? ( GPL-2 )"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
IUSE="emacs examples"

@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/noweb/noweb-2.11b-r2.ebuild,v 1.1 2010/10/30 22:23:22 aballier Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/noweb/noweb-2.11b-r2.ebuild,v 1.2 2012/01/08 22:43:06 ulm Exp $
inherit eutils toolchain-funcs elisp-common
@ -8,7 +8,7 @@ DESCRIPTION="a literate programming tool, lighter than web"
HOMEPAGE="http://www.eecs.harvard.edu/~nr/noweb/"
SRC_URI="http://www.eecs.harvard.edu/~nr/noweb/dist/${P}.tgz"
LICENSE="freedist emacs? ( GPL-2 )"
LICENSE="noweb emacs? ( GPL-2 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="emacs examples"

@ -1,2 +1 @@
DIST qpdf-2.3.0.tar.gz 4725892 RMD160 2be42fff3b849d75797c78b21faa1693411d6ef5 SHA1 a11b5e9b8a591b44098400ffe3a6114fd6d94b3f SHA256 36824387cebd324c908d97bac13a8169b04fea7593e7c9c7314c8fd6cf9045bb
DIST qpdf-2.3.1.tar.gz 4725246 RMD160 e348f5507a917db007f3f86c6bada76f8cc58d48 SHA1 043cceeb74a702d4e6a6a83b0211d99f28383655 SHA256 e1e687bbc0137e296c702daa5e2d804efce37c4edb48f2c27ae0dd0b43f99a40

@ -1,48 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/qpdf/qpdf-2.3.0.ebuild,v 1.1 2011/12/20 18:19:31 radhermit Exp $
EAPI="4"
DESCRIPTION="A command-line program that does structural, content-preserving transformations on PDF files"
HOMEPAGE="http://qpdf.sourceforge.net/"
SRC_URI="mirror://sourceforge/qpdf/${P}.tar.gz"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples static-libs test"
RDEPEND="dev-libs/libpcre
sys-libs/zlib
>=dev-lang/perl-5.8"
DEPEND="${RDEPEND}
test? ( sys-apps/diffutils )"
DOCS=( ChangeLog README TODO )
src_prepare() {
# Manually install docs
sed -i -e "/docdir/d" make/libtool.mk || die
}
src_configure() {
# Disable tests that use ghostscript until they are fixed
econf \
--disable-test-compare-images
}
src_install() {
default
use static-libs || rm -f "${ED}"/usr/lib*/libqpdf.a
if use doc ; then
dodoc doc/qpdf-manual.pdf
dohtml doc/*
fi
if use examples ; then
dobin examples/build/.libs/*
fi
}

@ -1,3 +1,4 @@
DIST QQWry.Dat.bz2 4114875 RMD160 646916f7ac234a95526f9e43cfca674c2b4b7bd1 SHA1 de7ff7208da0f889ec08911119948780d7ee4738 SHA256 3eda90ee8ea13ec88767336b078d2dfe2c971d6a31df60f409d526e3e29a4f83
DIST WyabdcRealPeopleTTS.tar.bz2 84329208 RMD160 9c9bd37cf85aaed8d5b090b2014c3122e98ba8e4 SHA1 056609ec9743bda105ff6db956b321436ae50b90 SHA256 96a398eaef3e84f6f23e61683e6439913a4d44055e695dd4a1936f9340d64870
DIST stardict-3.0.1.tar.bz2 1964195 RMD160 296d73bd9acdbb53c21a4fb17e608a25f01b76de SHA1 a0357e88105eaf7d6a4aa4803bf8617759bf0315 SHA256 504b3a7748933b9bd998cb85f37d4fa0a8575306643ffe6a9742450e66cd556f
DIST stardict-3.0.3.tar.bz2 9147947 RMD160 4c63f3cf439a7c34829b371e75c16db97fb35fd1 SHA1 5043c0918963cd4d40e6d6289353f295766ec74f SHA256 9ba10a5b3dcdd02b81c7a138dac15903a6bc2355856f60338f3775e371472b73

@ -0,0 +1,19 @@
This patch is from OpenSUSE .src.rpm for the following crash on startup:
ERROR:compositelookup.cpp:53:void CompositeLookup::send_net_dict_request(const string&, const string&): assertion failed: (NetDictRequests.end() == std::find(NetDictRequests.begin(), NetDictRequests.end(), request))
--- dict/src/lib/compositelookup.cpp
+++ dict/src/lib/compositelookup.cpp
@@ -50,8 +50,10 @@
void CompositeLookup::send_net_dict_request(const std::string& dict_id, const std::string& key)
{
NetDictRequest request(dict_id, key);
- g_assert(NetDictRequests.end() == std::find(NetDictRequests.begin(), NetDictRequests.end(), request));
- NetDictRequests.push_back(request);
+ if(NetDictRequests.end() == std::find(NetDictRequests.begin(), NetDictRequests.end(), request))
+ {
+ NetDictRequests.push_back(request);
+ }
}
/* returns true if got expected response */

@ -0,0 +1,13 @@
http://bugs.gentoo.org/396219
--- dict/src/tomboykeybinder.h
+++ dict/src/tomboykeybinder.h
@@ -21,7 +21,7 @@
#ifndef __TOMBOY_KEY_BINDER_H__
#define __TOMBOY_KEY_BINDER_H__
-#include <glib/gtypes.h>
+#include <glib.h>
G_BEGIN_DECLS

@ -0,0 +1,20 @@
warning: key "Encoding" in group "Desktop Entry" is deprecated
error: value "stardict.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension
error: value "Dictionary" in key "Categories" in group "Desktop Entry" requires another category to be present among the following categories: Office;TextTools
--- dict/data/stardict.desktop.in
+++ dict/data/stardict.desktop.in
@@ -1,11 +1,10 @@
[Desktop Entry]
-Encoding=UTF-8
_Name=StarDict
_Comment=Lookup words
Exec=stardict
Terminal=false
Type=Application
-Icon=stardict.png
+Icon=stardict
StartupNotify=true
-Categories=Utility;Dictionary;
+Categories=Utility;Office;TextTools;Dictionary;
X-GNOME-DocPath=stardict/stardict.xml

@ -0,0 +1,13 @@
http://bugs.gentoo.org/362299
--- dict/stardict-plugins/stardict-wordnet-plugin/scene.h
+++ dict/stardict-plugins/stardict-wordnet-plugin/scene.h
@@ -25,6 +25,8 @@
#ifndef __PHYSICS_H__
#define __PHYSICS_H__
+#include <cstddef>
+
#include "partic.h"
#include "spring.h"

@ -0,0 +1,26 @@
This patch is stardict-tools-3.0.3-destbufferoverflow.patch from OpenSUSE .src.rpm for:
warning: call to __fgets_chk_warn declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
--- tools/src/myspell2dic.c
+++ tools/src/myspell2dic.c
@@ -132,7 +132,7 @@ if (argc<3)
fprintf(stderr, "Enter grammar language [Spanish]: ");
fflush(stderr);
-fgets(lang, 100, stdin);
+fgets(lang, 50, stdin);
if ((p=strchr(lang, '\n'))!=NULL) *p=0;
if (*lang==0) strcpy(lang, "Spanish");
--- tools/src/ooo2dict.c
+++ tools/src/ooo2dict.c
@@ -71,7 +71,7 @@ current2=malloc(10000);
fprintf(stderr, "Enter thesaurus language [WordNet_English]: ");
fflush(stderr);
-fgets(lang, 100, stdin);
+fgets(lang, 50, stdin);
if ((p=strchr(lang, '\n'))!=NULL) *p=0;
if (*lang==0) strcpy(lang, "WordNet_English");
F=fopen((argc>1)? argv[1]: "/usr/share/myspell/dicts/th_en_US_v2.dat", "rt");

@ -9,6 +9,7 @@
as Full-text translation, Net Dict.
</longdescription>
<use>
<flag name='editor'>Build and install the stardict-editor utility</flag>
<flag name='espeak'>Enable text to speech synthesizer using espeak
engine</flag>
<flag name='festival'>Enable text to speech synthesizer using festival

@ -0,0 +1,115 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/stardict-3.0.3-r1.ebuild,v 1.1 2012/01/08 18:53:52 ssuominen Exp $
# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files,
# their indexes seem to be in a different format. So we'll keep them
# seperate for now.
# NOTE: Festival plugin crashes, bug 188684. Disable for now.
EAPI=4
GNOME2_LA_PUNT=yes
GCONF_DEBUG=no
inherit eutils gnome2
DESCRIPTION="A international dictionary supporting fuzzy and glob style matching"
HOMEPAGE="http://code.google.com/p/stardict-3/"
SRC_URI="http://${PN}-3.googlecode.com/files/${P}.tar.bz2
pronounce? ( http://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 )
qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )"
LICENSE="CPL-1.0 GPL-3 LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="editor espeak gnome gucharmap qqwry pronounce spell"
COMMON_DEPEND=">=dev-libs/glib-2.16
dev-libs/libsigc++:2
sys-libs/zlib
>=x11-libs/gtk+-2.20:2
editor? (
dev-libs/libpcre
dev-libs/libxml2
virtual/mysql
)
gnome? (
>=gnome-base/libbonobo-2
>=gnome-base/libgnome-2
>=gnome-base/libgnomeui-2
>=gnome-base/gconf-2
>=gnome-base/orbit-2
)
gucharmap? ( >=gnome-extra/gucharmap-2.22.1:0 )
spell? ( >=app-text/enchant-1.2 )"
RDEPEND="${COMMON_DEPEND}
espeak? ( >=app-accessibility/espeak-1.29 )"
DEPEND="${COMMON_DEPEND}
app-text/docbook-xml-dtd:4.3
app-text/gnome-doc-utils
dev-libs/libxslt
dev-util/intltool
dev-util/pkgconfig
sys-devel/gettext"
RESTRICT="test"
pkg_setup() {
G2CONF="$(use_enable editor tools)
--disable-scrollkeeper
$(use_enable spell)
$(use_enable gucharmap)
--disable-festival
$(use_enable espeak)
$(use_enable qqwry)
--disable-updateinfo
$(use_enable gnome gnome-support)
--disable-gpe-support
--disable-schemas-install"
}
src_prepare() {
epatch \
"${FILESDIR}"/${P}-correct-glib-include.patch \
"${FILESDIR}"/${P}-entry.patch \
"${FILESDIR}"/${P}-gcc46.patch \
"${FILESDIR}"/${P}-compositelookup_cpp.patch \
"${FILESDIR}"/${P}-overflow.patch
gnome2_src_prepare
}
src_install() {
gnome2_src_install
dodoc dict/doc/{Documentation,FAQ,HACKING,HowToCreateDictionary,Skins,StarDictFileFormat,Translation}
if use qqwry; then
insinto /usr/share/stardict/data
doins ../QQWry.Dat
fi
if use pronounce; then
docinto WyabdcRealPeopleTTS
dodoc ../WyabdcRealPeopleTTS/{README,readme.txt}
rm -f ../WyabdcRealPeopleTTS/{README,readme.txt}
insinto /usr/share
doins -r ../WyabdcRealPeopleTTS
fi
}
pkg_postinst() {
elog "Note: festival text to speech (TTS) plugin is not built. To use festival"
elog 'TTS plugin, please, emerge festival and enable "Use TTS program." at:'
elog '"Preferences -> Dictionary -> Sound" and fill in "Commandline" with:'
elog '"echo %s | festival --tts"'
elog
elog "You will now need to install stardict dictionary files. If"
elog "you have not, execute the below to get a list of dictionaries:"
elog
elog " emerge -s stardict-"
gnome2_pkg_postinst
}

@ -0,0 +1,113 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/stardict-3.0.3.ebuild,v 1.5 2012/01/08 18:31:37 ssuominen Exp $
# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files,
# their indexes seem to be in a different format. So we'll keep them
# seperate for now.
# NOTE: Festival plugin crashes, bug 188684. Disable for now.
EAPI=4
GNOME2_LA_PUNT=yes
GCONF_DEBUG=no
inherit eutils gnome2
DESCRIPTION="A international dictionary supporting fuzzy and glob style matching"
HOMEPAGE="http://code.google.com/p/stardict-3/"
SRC_URI="http://${PN}-3.googlecode.com/files/${P}.tar.bz2
pronounce? ( http://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 )
qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )"
LICENSE="CPL-1.0 GPL-3 LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="editor espeak gnome gucharmap qqwry pronounce spell"
COMMON_DEPEND=">=dev-libs/glib-2.16
dev-libs/libsigc++:2
sys-libs/zlib
>=x11-libs/gtk+-2.20:2
editor? (
dev-libs/libpcre
dev-libs/libxml2
virtual/mysql
)
gnome? (
>=gnome-base/libbonobo-2
>=gnome-base/libgnome-2
>=gnome-base/libgnomeui-2
>=gnome-base/gconf-2
>=gnome-base/orbit-2
)
gucharmap? ( >=gnome-extra/gucharmap-2.22.1:0 )
spell? ( >=app-text/enchant-1.2 )"
RDEPEND="${COMMON_DEPEND}
espeak? ( >=app-accessibility/espeak-1.29 )"
DEPEND="${COMMON_DEPEND}
app-text/docbook-xml-dtd:4.3
app-text/gnome-doc-utils
dev-libs/libxslt
dev-util/intltool
dev-util/pkgconfig
sys-devel/gettext"
RESTRICT="test"
pkg_setup() {
G2CONF="$(use_enable editor tools)
--disable-scrollkeeper
$(use_enable spell)
$(use_enable gucharmap)
--disable-festival
$(use_enable espeak)
$(use_enable qqwry)
--disable-updateinfo
$(use_enable gnome gnome-support)
--disable-gpe-support
--disable-schemas-install"
}
src_prepare() {
epatch \
"${FILESDIR}"/${P}-correct-glib-include.patch \
"${FILESDIR}"/${P}-entry.patch \
"${FILESDIR}"/${P}-gcc46.patch
gnome2_src_prepare
}
src_install() {
gnome2_src_install
dodoc dict/doc/{Documentation,FAQ,HACKING,HowToCreateDictionary,Skins,StarDictFileFormat,Translation}
if use qqwry; then
insinto /usr/share/stardict/data
doins ../QQWry.Dat
fi
if use pronounce; then
docinto WyabdcRealPeopleTTS
dodoc ../WyabdcRealPeopleTTS/{README,readme.txt}
rm -f ../WyabdcRealPeopleTTS/{README,readme.txt}
insinto /usr/share
doins -r ../WyabdcRealPeopleTTS
fi
}
pkg_postinst() {
elog "Note: festival text to speech (TTS) plugin is not built. To use festival"
elog 'TTS plugin, please, emerge festival and enable "Use TTS program." at:'
elog '"Preferences -> Dictionary -> Sound" and fill in "Commandline" with:'
elog '"echo %s | festival --tts"'
elog
elog "You will now need to install stardict dictionary files. If"
elog "you have not, execute the below to get a list of dictionaries:"
elog
elog " emerge -s stardict-"
gnome2_pkg_postinst
}

@ -1,9 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.1.42-r1.ebuild,v 1.2 2010/04/01 20:33:40 robbat2 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.1.42-r1.ebuild,v 1.3 2012/01/08 23:55:47 jmbsvicetto Exp $
MY_EXTRAS_VER="20100324-0235Z"
EAPI=2
EAPI="4"
inherit toolchain-funcs mysql
# only to make repoman happy. it is really set in the eclass

@ -1,9 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.1.42.ebuild,v 1.6 2010/04/01 20:33:40 robbat2 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.1.42.ebuild,v 1.7 2012/01/08 23:55:47 jmbsvicetto Exp $
MY_EXTRAS_VER="20100324-0235Z"
EAPI=2
EAPI="4"
inherit toolchain-funcs mysql
# only to make repoman happy. it is really set in the eclass

@ -1,9 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.1.50.ebuild,v 1.2 2010/10/07 19:05:47 robbat2 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.1.50.ebuild,v 1.3 2012/01/08 23:55:47 jmbsvicetto Exp $
MY_EXTRAS_VER="20101006-0004Z"
EAPI=2
EAPI="4"
inherit toolchain-funcs mysql
# only to make repoman happy. it is really set in the eclass

@ -1,6 +1,6 @@
DIST mysql-3.23.58.tar.gz 12039843 RMD160 b7d436ac7aaa9238e724bf3c62c5f837bef676b6 SHA1 f3383e41e8926c040a295173881414a1e96e0266 SHA256 8dcc6a613820701221b787419c32c1c717562194cfd296187da0e87454252acc
DIST mysql-4.0.27.tar.gz 11152643 RMD160 00cf895eab192e3e0ab526587ccab3e81c6c9070 SHA1 9cce3b92c47d17bf58ec6cdefebfdf953b5ce2c4 SHA256 c79f83bed7c1ea98e018b8829375b55c1de838d21a526d7f679becc75de00d0f
DIST mysql-4.1.22.tar.gz 17761101 RMD160 bfcf5058e4247cf4d7d1550ea54c64ebc8bc615e SHA1 857e942cc3207caf56e2aa48961fc1ed66d932e6 SHA256 6bd2436fd0f233bb1518e15975cb4e9fa4434acb53c3c3cd7d4648219abf58e9
DIST mysql-5.0.91.tar.gz 22340514 RMD160 3aaa638172f6916d3698c5421b24a01647f7e9db SHA1 14a79138a1296ce6ebb681fceba622d870feba3e SHA256 4669abf059bcf97c2fc1f3ce678e83f738ffe2299bd893e1a3d31afbc682c754
DIST mysql-5.0.92.tar.gz 22440590 RMD160 24a373a1b124acf39d0c0726e5cb6f47dc1bef08 SHA1 10fffc7672a469af4a7fd980922b04d7ba0143ba SHA256 223530c4cd6d45e2906e6c7d33615c5824816dfdb772d104f4165a483ea78a55
DIST mysql-5.1.51.tar.gz 23830456 RMD160 033fc88fba226caf2ec6a34ac3875deab3006f42 SHA1 45aa05a6a70d67b379272ec19ad3023230c94079 SHA256 39d962222f068c426d4616950f0e8451d947a132f0c42af17a2fc8b3b5a42882
DIST mysql-5.1.52.tar.gz 23841760 RMD160 5809c7a5932a014fe412ddc5b9f15632c7367c27 SHA1 5ed4a3c12662b0329df870f4dcebea6903e94265 SHA256 b1c458b68aaf7b7745453c27b615ffc59cd213453ee78bc6b477b0f40df83917
@ -10,9 +10,9 @@ DIST mysql-5.1.57.tar.gz 23660514 RMD160 9ca7f79d14525fef2c1badf8410fecd238ee283
DIST mysql-5.1.58.tar.gz 24333490 RMD160 199729c701c764cd22584c2b952230c07d0f31a6 SHA1 cfd70bee07ad99576eecde01785b7b2a74ec87ab SHA256 3c69562399655fc62d1424437e6ef59ef7c1ed225f940f81558f549b803f3fd7
DIST mysql-5.1.59.tar.gz 24325443 RMD160 bbc54a2fc0eb3657f297ac097e9374c98e90442e SHA1 1d425a421edc94fba616f1986a16bdc9d0b5c193 SHA256 f87b99b73c0d936ed892326ebd4c90b1d5c7d5d2ac8832fc62f538db99fb04f7
DIST mysql-5.5.19.tar.gz 24296942 RMD160 cae5bbea6d527ffb899eeeced8fc411375c285ae SHA1 f6a3b5fb5a10f8110fd85463e1a25fb314e60c24 SHA256 7f3643b378101de19205d133e6fb5ce03d8394e183f4e9ac2b0de59ba57fc34f
DIST mysql-extras-20061210.tar.bz2 51115 RMD160 52355e608d5048c91b7960aa5be0c030ecb0e5d8 SHA1 c9d035ac73d29fe2d1274760ca70b8c6b882fec6 SHA256 46505a8b54ae7cafdc610465edfdfde1cd74f101071f71cf1f5c1c02e92790eb
DIST mysql-extras-20070105.tar.bz2 50005 RMD160 abf1f8ebab8ecdfdb5ebe9ca55076f39ab492acb SHA1 7f4dbc3d6c20fe953bf6e936a58343a229398ca0 SHA256 17697bf70acffd0eeefd976b5ef06dd36080273bf7e805b51a31d72f5f2c5172
DIST mysql-extras-20090228-2228Z.tar.bz2 254048 RMD160 d71ed448d9fbe61ecc9e4113bd0a7721e8321acb SHA1 9fd9370193e7038067e11cc8a26bfe4013eb6bac SHA256 03a986a5c5ae57f1436553565239613e978ae11e12834fcb275ec6457b12b6fb
DIST mysql-extras-20100809-0452Z.tar.bz2 1228458 RMD160 baedaa994165ec17cfc31357d91212c8350be310 SHA1 e464adc36d96b76a5c6ac74856060d05ff0bba3d SHA256 2ba39a87dd5ea2c819193d1b25c6e2abbd4506d63c1e8b845846b7b33d64e52b
DIST mysql-extras-20101006-0004Z.tar.bz2 1251792 RMD160 ee333704688e4e9f07f5e7fb68961d3ffaff0755 SHA1 c1633295abb7f3d2ff463938f85e1bc8ed708b4f SHA256 a42c4988a25113bef5cc727fb24c994502f4d02469246ff839f8ea2a08c07bb7
DIST mysql-extras-20101104-1842Z.tar.bz2 1255196 RMD160 712cc8d8c4f84dc5419e0c69cee1ebd5e14c11d9 SHA1 9080b25248bc7a17b51b049c35d87a220db4dca2 SHA256 64a1f9c29b955eec52f3b45b2cd50bbcc286982290c36c5eb87fe9b160be6cc2
DIST mysql-extras-20101128-2122Z.tar.bz2 1237793 RMD160 43b536c060d3a1bafa993ec4c55c1b13a78926cc SHA1 409b47603948bceea3531414af42b74915e698b8 SHA256 a804e4418fff742a72fc4cc8c83f1107a86f95b2fafde96002436905a9b5f729

@ -1,213 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-3.23.58-r1.ebuild,v 1.28 2012/01/06 19:27:22 jmbsvicetto Exp $
inherit flag-o-matic eutils
SVER=${PV%.*}
#normal releases:
SDIR=MySQL-${SVER}
#for a pre-release:
#SDIR=MySQL-${SVER}-Pre
DESCRIPTION="A fast, multi-threaded, multi-user SQL database server."
HOMEPAGE="http://www.mysql.com/"
SRC_URI="ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/${SDIR}/${P}.tar.gz
ftp://mysql.valueclick.com/pub/mysql/Downloads/${SDIR}/${P}.tar.gz
mirror://gentoo/mysql-extras-20061210.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha hppa ppc sparc x86"
IUSE="berkdb debug innodb perl readline ssl static tcpd"
DEPEND="readline? ( >=sys-libs/readline-4.1 )
berkdb? ( sys-apps/ed )
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
ssl? ( >=dev-libs/openssl-0.9.6d )
>=sys-libs/zlib-1.2.3
dev-lang/perl
sys-process/procps"
PDEPEND="perl? ( dev-perl/DBI dev-perl/DBD-mysql )"
pkg_setup() {
enewgroup mysql 60 || die "problem adding 'mysql' group"
enewuser mysql 60 -1 /var/lib/mysql mysql || die "problem adding 'mysql' user"
}
src_unpack() {
use innodb || ewarn "InnoDB support is not selected to be compiled in."
unpack ${A} || die
cd "${S}" || die
local MY_PATCH_SOURCE="${WORKDIR}/mysql-extras"
# required for qmail-mysql
epatch ${MY_PATCH_SOURCE}/mysql-3.23-nisam.h.diff || die
# zap startup script messages
epatch ${MY_PATCH_SOURCE}/mysql-3.23.52-install-db-sh.diff || die
# zap binary distribution stuff
epatch ${MY_PATCH_SOURCE}/mysql-3.23-safe-mysqld-sh.diff || die
# for correct hardcoded sysconf directory
epatch ${MY_PATCH_SOURCE}/mysql-3.23-my-print-defaults.diff || die
#patch -p1 < ${MY_PATCH_SOURCE}/mysql-3.23.51-tcpd.patch || die
#epatch ${MY_PATCH_SOURCE}/mysql-4.0.14-security-28394.patch
epatch ${MY_PATCH_SOURCE}/020_all_gentoo-nptl.patch || die
sed -e "s|res=.grep Linuxthreads|res=1 #\`grep Linuxthreads|" \
-i "${S}"/configure
# security fix from http://lists.mysql.com/internals/15185
# gentoo bug #60744
EPATCH_OPTS="-p1 -d ${S}" \
epatch ${MY_PATCH_SOURCE}/${PN}-4.0-mysqlhotcopy-security.patch || die
# upstream bug http://bugs.mysql.com/bug.php?id=7971
# names conflict with stuff in 2.6.10 kernel headers
echo "${S}"/client/mysqltest.c "${S}"/extra/replace.c | xargs -n1 \
sed -i \
-e "s/set_bit/my__set_bit/g" \
-e "s/clear_bit/my__clear_bit/g" \
|| die "Failed to fix bitops"
}
src_compile() {
# bug #11681; get b0rked code when using -march=k6 with this package.
replace-cpu-flags k6 k6-2 k6-3 i586
local myconf
# The following fix is due to a bug with berkdb on sparc's. See:
# http://www.geocrawler.com/mail/msg.php3?msg_id=4754814&list=8
# same for alpha (see http://www.mysql.com/doc/en/BDB_portability.html)
# thanks to peter@icebear.net for noticing this.
if use sparc || use alpha || use hppa
then
myconf="${myconf} --without-berkeley-db"
else
use berkdb && myconf="${myconf} --with-berkeley-db=./bdb" \
|| myconf="${myconf} --without-berkeley-db"
fi
#readline pair reads backwards on purpose, DONT change it around, Ok?
use readline && myconf="${myconf} --without-readline"
use readline || myconf="${myconf} --with-readline"
use static && myconf="${myconf} --with-mysqld-ldflags=-all-static --disable-shared"
use static || myconf="${myconf} --enable-shared --enable-static"
use tcpd && myconf="${myconf} --with-libwrap"
use tcpd || myconf="${myconf} --without-libwrap"
use innodb && myconf="${myconf} --with-innodb"
use innodb || myconf="${myconf} --without-innodb"
use ssl && myconf="${myconf} --with-vio --with-openssl"
use ssl || myconf="${myconf} --without-openssl"
myconf="${myconf} `use_with debug`"
#glibc-2.3.2_pre fix; bug #16496
export CFLAGS="${CFLAGS} -DHAVE_ERRNO_AS_DEFINE=1"
export CXXFLAGS="${CXXFLAGS} -DHAVE_ERRNO_AS_DEFINE=1"
# the compiler flags are as per their "official" spec ;-)
einfo "\$myconf is $myconf"
CFLAGS="${CFLAGS/-O?/} -O3" \
CXXFLAGS="${CXXFLAGS/-O?/} -O3 -felide-constructors -fno-exceptions -fno-rtti" \
econf \
--libexecdir=/usr/sbin \
--sysconfdir=/etc/mysql \
--localstatedir=/var/lib/mysql \
--with-raid \
--with-low-memory \
--enable-assembler \
--with-charset=latin1 \
--enable-local-infile \
--with-mysqld-user=mysql \
--with-extra-charsets=all \
--enable-thread-safe-client \
--with-client-ldflags=-lstdc++ \
--with-comment="Gentoo Linux ${PF}" \
--with-unix-socket-path=/var/run/mysqld/mysqld.sock \
${myconf} || die "bad ./configure"
make || die "compile problem"
}
src_install() {
make install DESTDIR="${D}" benchdir_root=/usr/share/mysql || die
# eeek, not sure whats going on here.. are these needed by anything?
#use innodb && insinto /usr/lib/mysql && doins ${WORKDIR}/../libs/*
# move client libs, install a couple of missing headers
mv "${D}"/usr/lib/mysql/libmysqlclient*.so* "${D}"/usr/lib
dosym ../libmysqlclient.so /usr/lib/mysql/libmysqlclient.so
dosym ../libmysqlclient_r.so /usr/lib/mysql/libmysqlclient_r.so
insinto /usr/include/mysql ; doins include/{my_config.h,my_dir.h}
# convenience links
dosym /usr/bin/mysqlcheck /usr/bin/mysqlanalyze
dosym /usr/bin/mysqlcheck /usr/bin/mysqlrepair
dosym /usr/bin/mysqlcheck /usr/bin/mysqloptimize
# various junk
rm -f "${D}"/usr/share/mysql/binary-configure
rm -f "${D}"/usr/share/mysql/mysql.server
rm -f "${D}"/usr/share/mysql/make_binary_distribution
rm -f "${D}"/usr/share/mysql/mi_test_all*
rm -f "${D}"/usr/share/mysql/mysql-log-rotate
rm -f "${D}"/usr/share/mysql/mysql*.spec
rm -f "${D}"/usr/share/mysql/my-*.cnf
#hmm what about all the very nice benchmark/test scripts
#in /usr/share/mysql/sql-bench
if ! use perl; then
rm -f "${D}"/usr/bin/mysql_setpermission
fi
dodoc README MIRRORS Docs/{manual.ps,manual.txt}
dohtml -r Docs/*
docinto conf-samples
dodoc support-files/my-*.cnf
insinto /etc/mysql
doins "${FILESDIR}"/my.cnf scripts/mysqlaccess.conf
newinitd "${FILESDIR}"/mysql.init mysql
}
pkg_config() {
if [ ! -d "${ROOT}"/var/lib/mysql/mysql ] ; then
einfo "Press ENTER to create the mysql database and set proper"
einfo "permissions on it, or Control-C to abort now..."
read
"${ROOT}"/usr/bin/mysql_install_db #>>/var/log/mysql/mysql.err 2>&1
else
einfo "Hmm, it appears as though you already have the mysql"
einfo "database in place. If you are having problems trying"
einfo "to start mysqld, perhaps you need to manually run"
einfo "/usr/bin/mysql_install_db and/or check your config"
einfo "file(s) and/or database(s) and/or logfile(s)."
fi
}
pkg_preinst() {
enewgroup mysql 60 || die "problem adding 'mysql' group"
enewuser mysql 60 -1 /var/lib/mysql mysql || die "problem adding 'mysql' user"
}
pkg_postinst() {
# empty dirs...
install -d -m0755 -o mysql -g mysql "${ROOT}"/var/lib/mysql
install -d -m0755 -o mysql -g mysql "${ROOT}"/var/run/mysqld
install -d -m0755 -o mysql -g mysql "${ROOT}"/var/log/mysql
# secure the logfiles... does this bother anybody?
touch "${ROOT}"/var/log/mysql/mysql.{log,err}
chown mysql:mysql "${ROOT}"/var/log/mysql/mysql.{log,err}
chmod 0660 "${ROOT}"/var/log/mysql/mysql.{log,err}
# your friendly public service announcement...
elog
elog "You might want to run:"
elog "\"emerge --config =${PF}\""
elog "if this is a new install."
elog
use innodb || ewarn "InnoDB support is not selected to be compiled in."
}

@ -0,0 +1,198 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.91.ebuild,v 1.8 2012/01/09 02:22:40 jmbsvicetto Exp $
MY_EXTRAS_VER="20100809-0452Z"
EAPI=2
# 5.0.91 tarball has wrong version number in the directory.
#MY_SOURCEDIR='mysql-5.0.90'
inherit toolchain-funcs mysql
# only to make repoman happy. it is really set in the eclass
IUSE="$IUSE"
# REMEMBER: also update eclass/mysql*.eclass before committing!
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
EPATCH_EXCLUDE=''
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
RDEPEND=""
# Please do not add a naive src_unpack to this ebuild
# If you want to add a single patch, copy the ebuild to an overlay
# and create your own mysql-extras tarball, looking at 000_index.txt
# Official test instructions:
# USE='berkdb -cluster embedded extraengine perl ssl community' \
# FEATURES='test userpriv -usersandbox' \
# ebuild mysql-X.X.XX.ebuild \
# digest clean package
src_test() {
# Bug #213475 - MySQL _will_ object strenously if your machine is named
# localhost. Also causes weird failures.
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
emake check || die "make check failed"
if ! use "minimal" ; then
if [[ $UID -eq 0 ]]; then
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
fi
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
cd "${S}"
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
local retstatus_ns
local retstatus_ps
local t
addpredict /this-dir-does-not-exist/t9.MYI
# Ensure that parallel runs don't die
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
# archive_gis really sucks a lot, but it's only relevant for the
# USE=extraengines case
case ${PV} in
5.0.42)
mysql_disable_test "archive_gis" "Totally broken in 5.0.42"
;;
5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87)
[ "$(tc-endian)" == "big" ] && \
mysql_disable_test \
"archive_gis" \
"Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only"
;;
esac
# This was a slight testcase breakage when the read_only security issue
# was fixed.
case ${PV} in
5.0.54|5.0.51*)
mysql_disable_test \
"read_only" \
"Broken in 5.0.51-54, output in wrong order"
;;
esac
# Ditto to read_only
[ "${PV}" == "5.0.51a" ] && \
mysql_disable_test \
"view" \
"Broken in 5.0.51, output in wrong order"
# x86-specific, OOM issue with some subselects on low memory servers
[ "${PV}" == "5.0.54" ] && \
[ "${ARCH/x86}" != "${ARCH}" ] && \
mysql_disable_test \
"subselect" \
"Testcase needs tuning on x86 for oom condition"
# Broke with the YaSSL security issue that didn't affect Gentoo.
[ "${PV}" == "5.0.56" ] && \
for t in openssl_1 rpl_openssl rpl_ssl ssl \
ssl_8k_key ssl_compress ssl_connect ; do \
mysql_disable_test \
"$t" \
"OpenSSL tests broken on 5.0.56"
done
# New test was broken in first time
# Upstream bug 41066
# http://bugs.mysql.com/bug.php?id=41066
[ "${PV}" == "5.0.72" ] && \
mysql_disable_test \
"status2" \
"Broken in 5.0.72, new test is broken, upstream bug #41066"
# The entire 5.0 series has pre-generated SSL certificates, they have
# mostly expired now. ${S}/mysql-tests/std-data/*.pem
# The certs really SHOULD be generated for the tests, so that they are
# not expiring like this. We cannot do so ourselves as the tests look
# closely as the cert path data, and we do not have the CA key to regen
# ourselves. Alternatively, upstream should generate them with at least
# 50-year validity.
#
# Known expiry points:
# 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09
# 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27
# 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28
#
# mysql-test/std_data/untrusted-cacert.pem is MEANT to be
# expired/invalid.
case ${PV} in
5.0.*|5.1.*)
for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \
ssl_compress ssl_connect ; do \
mysql_disable_test \
"$t" \
"These OpenSSL tests break due to expired certificates"
done
;;
esac
# These are also failing in MySQL 5.0 for now, and are believed to be
# false positives:
#
# main.mysql_comment, main.mysql_upgrade:
# fails due to USE=-latin1 / utf8 default
#
# main.mysql_client_test:
# segfaults at random under Portage only, suspect resource limits.
case ${PV} in
5.0.*)
for t in main.mysql_client_test main.mysql_comments main.mysql_upgrade; do
mysql_disable_test "$t" "False positives in Gentoo"
done
;;
esac
use profiling && use community \
|| mysql_disable_test main.profiling \
"Profiling test needs profiling support"
if [ "${PN}" == "mariadb" ]; then
for t in \
parts.part_supported_sql_func_ndb \
parts.partition_auto_increment_ndb ; do
mysql_disable_test $t "ndb not supported in mariadb"
done
fi
case $PV in
5.0.91)
for t in archive archive_gis archive-big \
federated_archive mysqldump-max \
; do
mysql_disable_test $t "Broken in 5.0.91"
done
;;
esac
# create directories because mysqladmin might make out of order
mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log}
# We run the test protocols seperately
emake test-ns force="--force --vardir=${S}/mysql-test/var-ns"
retstatus_ns=$?
[[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed"
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
emake test-ps force="--force --vardir=${S}/mysql-test/var-ps"
retstatus_ps=$?
[[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed"
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
# Cleanup is important for these testcases.
pkill -9 -f "${S}/ndb" 2>/dev/null
pkill -9 -f "${S}/sql" 2>/dev/null
failures=""
[[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns"
[[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps"
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
[[ -z "$failures" ]] || die "Test failures: $failures"
einfo "Tests successfully completed"
else
einfo "Skipping server tests due to minimal build."
fi
}

@ -1,11 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.92.ebuild,v 1.1 2011/07/13 07:45:33 robbat2 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.92.ebuild,v 1.2 2012/01/08 23:40:20 jmbsvicetto Exp $
MY_EXTRAS_VER="20110713-0702Z"
EAPI=2
# 5.0.91 tarball has wrong version number in the directory.
#MY_SOURCEDIR='mysql-5.0.90'
EAPI="4"
inherit toolchain-funcs mysql
# only to make repoman happy. it is really set in the eclass

@ -1,9 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.51.ebuild,v 1.9 2010/11/13 19:21:44 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.51.ebuild,v 1.10 2012/01/08 23:40:20 jmbsvicetto Exp $
MY_EXTRAS_VER="20101006-0004Z"
EAPI=2
EAPI="4"
# PBXT
PBXT_VERSION='1.0.11-6-pre-ga'

@ -1,9 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.52-r1.ebuild,v 1.1 2010/11/29 00:22:28 robbat2 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.52-r1.ebuild,v 1.2 2012/01/08 23:40:20 jmbsvicetto Exp $
MY_EXTRAS_VER="20101128-2122Z"
EAPI=2
EAPI="4"
# PBXT
PBXT_VERSION='1.0.11-6-pre-ga'

@ -1,9 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.52.ebuild,v 1.2 2010/11/06 19:18:29 leio Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.52.ebuild,v 1.3 2012/01/08 23:40:20 jmbsvicetto Exp $
MY_EXTRAS_VER="20101104-1842Z"
EAPI=2
EAPI="4"
# PBXT
PBXT_VERSION='1.0.11-6-pre-ga'

@ -1,9 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.53.ebuild,v 1.2 2011/03/13 15:09:15 grobian Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.53.ebuild,v 1.3 2012/01/08 23:40:20 jmbsvicetto Exp $
MY_EXTRAS_VER="20101128-2122Z"
EAPI=2
EAPI="4"
# PBXT
PBXT_VERSION='1.0.11-6-pre-ga'

@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.56.ebuild,v 1.8 2011/05/14 19:21:51 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.56.ebuild,v 1.9 2012/01/08 23:40:20 jmbsvicetto Exp $
EAPI="2"
EAPI="4"
MY_EXTRAS_VER="20110426-1046Z"
# PBXT

@ -0,0 +1,19 @@
http://bugs.gentoo.org/397643
--- src/osgPlugins/xine/video_out_rgb.c
+++ src/osgPlugins/xine/video_out_rgb.c
@@ -2769,8 +2769,14 @@ init_class(xine_t* xine, void* vo_visual
clear(rgb_class, sizeof(rgbout_class_t));
rgb_class->driver_class.open_plugin = open_plugin;
+#if XINE_MAJOR_VERSION < 1 || (XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION < 2)
rgb_class->driver_class.get_identifier = get_identifier;
rgb_class->driver_class.get_description = get_description;
+#else
+ rgb_class->driver_class.identifier = get_identifier(NULL);
+ rgb_class->driver_class.description = get_description(NULL);
+#endif
+
rgb_class->driver_class.dispose = dispose_class;
return(rgb_class);

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-games/openscenegraph/openscenegraph-3.0.1.ebuild,v 1.2 2011/11/17 18:57:24 reavertm Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-games/openscenegraph/openscenegraph-3.0.1.ebuild,v 1.3 2012/01/09 06:06:19 ssuominen Exp $
EAPI=3
@ -83,8 +83,9 @@ S=${WORKDIR}/${MY_P}
DOCS=(AUTHORS.txt ChangeLog NEWS.txt)
PATCHES=(
"${FILESDIR}/${P}-cmake.patch"
"${FILESDIR}/${PN}-3.0.1-libav-0.7.patch"
"${FILESDIR}"/${PN}-3.0.1-cmake.patch
"${FILESDIR}"/${PN}-3.0.1-libav-0.7.patch
"${FILESDIR}"/${PN}-3.0.1-xinelib12x.patch
)
src_configure() {

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-2.9.4.ebuild,v 1.6 2011/12/19 11:35:15 sera Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-2.9.4.ebuild,v 1.7 2012/01/09 13:18:04 xmw Exp $
EAPI="3"
JAVA_PKG_IUSE="doc source test"
@ -16,7 +16,7 @@ HOMEPAGE="http://lucene.apache.org"
SRC_URI="mirror://apache/lucene/java/${P}-src.tar.gz"
LICENSE="Apache-2.0"
SLOT="2.9"
KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
IUSE=""
DEPEND=">=virtual/jdk-1.5
dev-java/ant-nodeps:0

@ -1,4 +1,6 @@
DIST mercury-extras-11.01-gentoo-patchset-2.tar.gz 5005 RMD160 4621a6c46793b414404d67a96ca32c4037c189b2 SHA1 c646f0624f31444d5367116dabe06df11217b8d4 SHA256 68e8a358a75527823a7c7f119ac0104acb0702263178f27be659c6b1d09cb46c
DIST mercury-extras-11.01.tar.gz 777185 RMD160 992446a01d81d26d06ff60ed7f98d47e897c59fc SHA1 b82bdeded6ebcd843202ad2b4649edb3e2a402c3 SHA256 52eb6758e2136eb288329917d4c352da98e9ce0e951d6a5c884919bf8e85b1b1
DIST mercury-extras-11.07-beta-2011-06-28-unstable.tar.gz 777409 RMD160 f889ec5b921415d50aa573dca30a86db489d8467 SHA1 5fe0b52ef45df8c00ab09b0f292ed1fd16a5a51f SHA256 e93e2c8116927d30ac70158a95dd0a2833f20fcf6dea7cca57119ef39daef613
DIST mercury-extras-11.07-gentoo-patchset-0.tar.gz 4886 RMD160 ebddab77c2a89cf8d2dcdcc667c9c2c546720ee4 SHA1 7230e5be75f89a4957d3de976df547e365398217 SHA256 25452b2489ac260084735d738972c5d286c63e54ecd1a14cc26890f902714966
DIST mercury-extras-11.07.tar.gz 776589 RMD160 e6b53c3b9021530f55ae3000a610afe3700bafc6 SHA1 17490d93be8ec5c013736ed246e14e260bb15636 SHA256 25eaf999666ceb4217cfe0f9fbcb38b892c57fb36efaa16099a471287a7a9019
DIST mercury-extras-11.07_beta1-gentoo-patchset-0.tar.gz 5011 RMD160 5a9588d154d0a4ffa03b2eb8434842d6691cdf5c SHA1 c6033c23a29f1afc415711f55ead7ec65bbc5547 SHA256 c90f601e2ab05c9bf3d3a606cf106d3bcfe552773286c0860e84ab179df0f2a6

@ -0,0 +1,194 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury-extras/mercury-extras-11.07.ebuild,v 1.1 2012/01/09 08:30:13 keri Exp $
EAPI=2
inherit eutils
PATCHSET_VER="0"
MY_P=${PN}-${PV}
DESCRIPTION="Additional libraries and tools that are not part of the Mercury standard library"
HOMEPAGE="http://www.cs.mu.oz.au/research/mercury/index.html"
SRC_URI="http://www.mercury.cs.mu.oz.au/download/files/${MY_P}.tar.gz
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X cairo examples glut iodbc ncurses odbc opengl ssl tcl tk xml"
RDEPEND="~dev-lang/mercury-${PV}
cairo? ( >=x11-libs/cairo-1.10.0 )
glut? ( media-libs/freeglut )
odbc? ( dev-db/unixODBC )
iodbc? ( !odbc? ( dev-db/libiodbc ) )
ncurses? ( sys-libs/ncurses )
opengl? ( virtual/opengl )
tcl? ( tk? (
dev-lang/tcl
dev-lang/tk
x11-libs/libX11
x11-libs/libXmu ) )"
DEPEND="${RDEPEND}"
S="${WORKDIR}"/${MY_P}
src_prepare() {
cd "${WORKDIR}"
EPATCH_FORCE=yes
EPATCH_SUFFIX=patch
epatch "${WORKDIR}"/${PV}
if use odbc; then
epatch "${WORKDIR}"/${PV}-odbc/${P}-odbc.patch
elif use iodbc; then
epatch "${WORKDIR}"/${PV}-odbc/${P}-iodbc.patch
fi
cd "${S}"
sed -i -e "s:references:references solver_types/library:" \
-e "s:windows_installer_generator::" \
Mmakefile || die "sed default packages failed"
if use cairo; then
sed -i -e "s:lex[ \t]*\\\\:graphics/mercury_cairo lex \\\\:" Mmakefile \
|| die "sed cairo failed"
fi
if use glut; then
sed -i -e "s:lex[ \t]*\\\\:graphics/mercury_glut lex \\\\:" Mmakefile \
|| die "sed glut failed"
fi
if use opengl; then
sed -i -e "s:lex[ \t]*\\\\:graphics/mercury_opengl lex \\\\:" Mmakefile \
|| die "sed opengl failed"
fi
if use tcl && use tk; then
sed -i -e "s:lex[ \t]*\\\\:graphics/mercury_tcltk lex \\\\:" Mmakefile \
|| die "sed tcltk failed"
fi
if use odbc || use iodbc; then
sed -i -e "s:moose:moose odbc:" Mmakefile \
|| die "sed odbc failed"
fi
if use ncurses; then
sed -i -e "s:complex_numbers:complex_numbers curs curses:" Mmakefile \
|| die "sed ncurses failed"
fi
if ! use xml; then
sed -i -e "s:xml::" Mmakefile \
|| die "sed xml failed"
fi
sed -i -e "s:@libdir@:$(get_libdir):" \
dynamic_linking/Mmakefile posix/Mmakefile \
|| die "sed libdir failed"
# disable broken packages
sed -i -e "s:references::" Mmakefile \
|| die "sed broken packages failed"
}
src_compile() {
# Mercury dependency generation must be run single-threaded
mmake \
-j1 depend || die "mmake depend failed"
mmake \
MMAKEFLAGS="${MAKEOPTS}" \
EXTRA_MLFLAGS=--no-strip \
EXTRA_LDFLAGS="${LDFLAGS}" \
EXTRA_LD_LIBFLAGS="${LDFLAGS}" \
|| die "mmake failed"
}
src_install() {
mmake \
MMAKEFLAGS="${MAKEOPTS}" \
EXTRA_LD_LIBFLAGS="${LDFLAGS}" \
INSTALL_PREFIX="${D}"/usr \
install || die "mmake install failed"
find "${D}"/usr/$(get_libdir)/mercury -type l | xargs rm
cd "${S}"
if use examples; then
insinto /usr/share/doc/${PF}/samples/base64
doins base64/*.m || die
insinto /usr/share/doc/${PF}/samples/complex_numbers
doins complex_numbers/samples/* || die
insinto /usr/share/doc/${PF}/samples/dynamic_linking
doins dynamic_linking/hello.m || die
insinto /usr/share/doc/${PF}/samples/error
doins error/* || die
insinto /usr/share/doc/${PF}/samples/fixed
doins fixed/*.m || die
insinto /usr/share/doc/${PF}/samples/gator
doins -r gator/* || die
insinto /usr/share/doc/${PF}/samples/lex
doins lex/samples/* || die
insinto /usr/share/doc/${PF}/samples/log4m
doins log4m/*.m || die
insinto /usr/share/doc/${PF}/samples/monte
doins monte/*.m || die
insinto /usr/share/doc/${PF}/samples/moose
doins moose/samples/* || die
insinto /usr/share/doc/${PF}/samples/net
doins net/*.m || die
if use ncurses; then
insinto /usr/share/doc/${PF}/samples/curs
doins curs/samples/* || die
insinto /usr/share/doc/${PF}/samples/curses
doins curses/sample/* || die
fi
if use X; then
insinto /usr/share/doc/${PF}/samples/graphics
doins graphics/easyx/samples/*.m || die
fi
if use glut && use opengl; then
insinto /usr/share/doc/${PF}/samples/graphics
doins graphics/samples/calc/* || die
doins graphics/samples/gears/* || die
doins graphics/samples/maze/* || die
doins graphics/samples/pent/* || die
fi
if use opengl && use tcl && use tk; then
insinto /usr/share/doc/${PF}/samples/graphics
doins graphics/samples/pent/*.m || die
fi
if use ssl; then
insinto /usr/share/doc/${PF}/samples/mopenssl
doins mopenssl/*.m || die
fi
rm -rf $(find "${D}"/usr/share/doc/${PF}/samples -name CVS)
fi
dodoc README || die
}

@ -1,6 +1,9 @@
DIST mercury-11.01-gentoo-patchset-1.tar.gz 7129 RMD160 cfb89fa798724744ea7f1912b0015affdb1ea63c SHA1 d23e615b81cfd259e369cfcd1c5cd9965780f946 SHA256 43dbcb63add22b24da7515b7d42d8b4ad119d9923f80dbb29767d756436d0fa4
DIST mercury-11.07-gentoo-patchset-0.tar.gz 6889 RMD160 38152c3e6e10524fdc3c6911adda90ad384ad8c4 SHA1 e2f95ce3384ea8618ce86f65512b79154640f1cf SHA256 2fce2c95b6cb8b5819fb576de8ce184293a926c52f120027e3195d14f0552d78
DIST mercury-11.07_beta1-gentoo-patchset-1.tar.gz 7157 RMD160 c82f9937fb1fce9a76a402fded8abfc254cfaf5a SHA1 37d4861d991962d37c2e25c4da2dc9834491511c SHA256 9e07bd3232463eb6bb679a86202bae0edb41385551b9dc5d01eac054880263f5
DIST mercury-compiler-11.01.tar.gz 25122699 RMD160 bee82b6037fa1f14f27b43d6f7d751d232941bc7 SHA1 508f9fbebdf061f706a44db5c77868cb4e769066 SHA256 2d12dc9bfaed46b1b30689b0592177bc871b21cf8852c8326c86371258bb18b0
DIST mercury-compiler-11.07-beta-2011-06-28-unstable.tar.gz 25281973 RMD160 87a7ce5d4840521c033de59330756eb2a30e388e SHA1 14e494716717a21989e17219c540a14c79d7a415 SHA256 54e2327f247f6ae795d9963622ffd8ca00e8e3e85519eb7896ac39f1000c3793
DIST mercury-compiler-11.07.tar.gz 25298643 RMD160 1573be5c26415c6fac96f85ff9558db736890b83 SHA1 d27541f5fcd5ec6b8ca2fc39f72ed74c833f243a SHA256 77940d03834a3967e4505c4a92253c19aaea0fed4650ee94e772078abd6be6a2
DIST mercury-tests-11.01.tar.gz 1351134 RMD160 4568a0b1044a116ab59b2f0d98002e20c6819461 SHA1 180741461386f7a2b0fd526e0d4c761cd7b0c3ff SHA256 862b70a589eb2d36c9fd82dbd2e0490dc4556f6edff604a54dfd6fc0ad6cccad
DIST mercury-tests-11.07-beta-2011-06-28-unstable.tar.gz 1641484 RMD160 4a6db1128b13b24042626a99b4f89c21759605fd SHA1 da86df499f0ea46ec430a3233055396e0b8eec71 SHA256 6ee6131fb20e8b0fa6ad2a8947f234d768f95a3e0dc71ebdcff4583d99833bee
DIST mercury-tests-11.07.tar.gz 1647435 RMD160 146fd0a87a6e70d817c39e15fda660f747330a5d SHA1 2e41846f2e0020e3f9a27caf5b30d8217fa787b2 SHA256 9206c7ffaace2357367bb6f8c3efe9aeb05ccac6a02946f6579c6001f953501b

@ -0,0 +1,216 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/mercury-11.07.ebuild,v 1.1 2012/01/09 08:26:49 keri Exp $
EAPI=2
inherit autotools elisp-common eutils flag-o-matic java-pkg-opt-2 multilib
PATCHSET_VER="0"
MY_P=${PN}-compiler-${PV}
DESCRIPTION="Mercury is a modern general-purpose logic/functional programming language"
HOMEPAGE="http://www.cs.mu.oz.au/research/mercury/index.html"
SRC_URI="http://www.mercury.csse.unimelb.edu.au/download/files/${MY_P}.tar.gz
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz
test? ( http://www.mercury.csse.unimelb.edu.au/download/files/mercury-tests-${PV}.tar.gz )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug emacs erlang examples java minimal readline test threads"
DEPEND="!dev-libs/mpatrol
!dev-util/mono-debugger
readline? ( sys-libs/readline )
erlang? ( dev-lang/erlang )
java? ( >=virtual/jdk-1.5 )"
RDEPEND="${DEPEND}
emacs? ( virtual/emacs )"
S="${WORKDIR}"/${MY_P}
TESTDIR="${WORKDIR}"/${PN}-tests-${PV}
SITEFILE=50${PN}-gentoo.el
src_prepare() {
cd "${WORKDIR}"
EPATCH_FORCE=yes
EPATCH_SUFFIX=patch
epatch "${WORKDIR}"/${PV}
sed -i -e "s/@libdir@/$(get_libdir)/" \
"${S}"/scripts/Mmake.vars.in \
|| die "sed libdir failed"
if use test; then
epatch "${WORKDIR}"/${PV}-tests
fi
cd "${S}"
eautoconf
}
src_configure() {
strip-flags
local myconf
myconf="--libdir=/usr/$(get_libdir) \
--disable-gcc-back-end \
--disable-deep-profiler \
--disable-dotnet-grades \
$(use_enable erlang erlang-grade) \
$(use_enable java java-grade) \
$(use_enable debug debug-grades) \
$(use_enable threads par-grades) \
$(use_enable !minimal most-grades) \
$(use_with readline)"
econf ${myconf}
}
src_compile() {
# Generate Mercury .m dependencies. This step will vacuously
# succeed if we do not have a bootstrappable instance of mmc
# already installed. This step is required as mmc does not wait
# for all dependencies to be generated before compiling .m files.
emake \
PARALLEL=${MAKEOPTS} \
bootstrap_depend || die "emake depend failed"
# Build Mercury using base llds grade
emake \
PARALLEL=${MAKEOPTS} \
EXTRA_MLFLAGS=--no-strip \
EXTRA_LDFLAGS="${LDFLAGS}" \
EXTRA_LD_LIBFLAGS="${LDFLAGS}" \
|| die "emake failed"
# We can now patch .m Mercury compiler files since we
# have just built mercury_compiler.
EPATCH_FORCE=yes
EPATCH_SUFFIX=patch
epatch "${WORKDIR}"/${PV}-mmc
sed -i -e "s/@libdir@/$(get_libdir)/" \
"${S}"/compiler/file_util.m \
"${S}"/compiler/make.program_target.m \
|| die "sed libdir failed"
# Rebuild Mercury compiler using the just built mercury_compiler
emake \
PARALLEL=${MAKEOPTS} \
EXTRA_MLFLAGS=--no-strip \
EXTRA_LDFLAGS="${LDFLAGS}" \
EXTRA_LD_LIBFLAGS="${LDFLAGS}" \
MERCURY_COMPILER="${S}"/compiler/mercury_compile \
compiler || die "emake compiler failed"
# The default Mercury grade may not be the same as the grade used to
# compile the llds base grade. Since src_test() is run before
# src_install() we compile the default grade now
emake \
PARALLEL=${MAKEOPTS} \
EXTRA_MLFLAGS=--no-strip \
EXTRA_LDFLAGS="${LDFLAGS}" \
EXTRA_LD_LIBFLAGS="${LDFLAGS}" \
MERCURY_COMPILER="${S}"/compiler/mercury_compile \
default_grade || die "emake default_grade failed"
}
src_test() {
TEST_GRADE=`scripts/ml --print-grade`
if [ -d "${S}"/install_grade_dir.${TEST_GRADE} ] ; then
TWS="${S}"/install_grade_dir.${TEST_GRADE}
cp browser/mer_browser.init "${TWS}"/browser/
cp mdbcomp/mer_mdbcomp.init "${TWS}"/mdbcomp/
cp runtime/mer_rt.init "${TWS}"/runtime/
cp ssdb/mer_ssdb.init "${TWS}"/ssdb/
else
TWS="${S}"
fi
cd "${TESTDIR}"
sed -i -e "s:@WORKSPACE@:${TWS}:" WS_FLAGS.ws \
|| die "sed WORKSPACE failed"
# Mercury tests must be run in C locale since Mercury output is
# compared to hard-coded warnings/errors
LC_ALL="C" \
PATH="${TWS}"/scripts:"${TWS}"/util:"${TWS}"/slice:"${PATH}" \
TERM="" \
WORKSPACE="${TWS}" \
MERCURY_COMPILER="${TWS}"/compiler/mercury_compile \
MERCURY_CONFIG_DIR="${TWS}" \
MMAKE_DIR="${TWS}"/scripts \
MERCURY_SUPPRESS_STACK_TRACE=yes \
GRADE=${TEST_GRADE} \
MERCURY_ALL_LOCAL_C_INCL_DIRS=" -I${TWS}/boehm_gc \
-I${TWS}/boehm_gc/include \
-I${TWS}/runtime \
-I${TWS}/library \
-I${TWS}/mdbcomp \
-I${TWS}/browser \
-I${TWS}/trace" \
mmake || die "mmake test failed"
}
src_install() {
emake \
PARALLEL=${MAKEOPTS} \
EXTRA_LDFLAGS="${LDFLAGS}" \
EXTRA_LD_LIBFLAGS="${LDFLAGS}" \
MERCURY_COMPILER="${S}"/compiler/mercury_compile \
INSTALL_PREFIX="${D}"/usr \
INSTALL_MAN_DIR="${D}"/usr/share/man \
INSTALL_INFO_DIR="${D}"/usr/share/info \
INSTALL_HTML_DIR="${D}"/usr/share/doc/${PF}/html \
INSTALL_ELISP_DIR="${D}/${SITELISP}"/${PN} \
install || die "make install failed"
if use emacs; then
elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
|| die "elisp-site-file-install failed"
fi
dodoc \
BUGS HISTORY LIMITATIONS NEWS README README.Linux \
README.Linux-Alpha README.Linux-m68k README.Linux-PPC \
RELEASE_NOTES TODO VERSION WORK_IN_PROGRESS || die
if use erlang; then
dodoc README.Erlang || die
fi
if use java; then
dodoc README.Java || die
fi
if use examples; then
insinto /usr/share/doc/${PF}/samples
doins samples/{*.m,README,Mmakefile} || die
doins -r samples/c_interface \
samples/diff \
samples/muz \
samples/rot13 \
samples/solutions \
samples/solver_types || die
if use java; then
doins -r samples/java_interface || die
fi
rm -rf $(find "${D}"/usr/share/doc/${PF}/samples \
-name CVS -o -name .cvsignore)
fi
}
pkg_postinst() {
use emacs && elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
}

@ -0,0 +1,11 @@
--- polyml.5.4.1-orig/configure.ac 2010-09-03 21:22:40.000000000 +1000
+++ polyml.5.4.1/configure.ac 2012-01-09 22:44:04.153668402 +1100
@@ -321,7 +321,7 @@
AC_ARG_WITH([portable],
[AS_HELP_STRING([--with-portable],
[Build the portable interpreter version of Poly/ML instead of native @<:@default=no@:>@])], [
- ac_cv_with_portable=yes], [
+ ac_cv_with_portable="$withval"], [
ac_cv_with_portable=no])
case "${host_cpu}" in

@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/polyml/polyml-5.4.1.ebuild,v 1.1 2012/01/08 10:24:08 gienah Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/polyml/polyml-5.4.1.ebuild,v 1.3 2012/01/09 12:46:58 gienah Exp $
EAPI="4"
inherit base
inherit base autotools
MY_P=${PN}.${PV}
@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X +gmp -portable +threads"
IUSE="X +gmp portable test +threads"
RDEPEND="X? ( x11-libs/openmotif )
gmp? ( >=dev-libs/gmp-5 )
@ -24,19 +24,22 @@ DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
PATCHES=("${FILESDIR}/${PN}-5.4.1-asm.patch")
PATCHES=("${FILESDIR}/${PN}-5.4.1-configure.patch"
"${FILESDIR}/${PN}-5.4.1-asm.patch")
src_configure() {
econf $(use_with X x)
econf $(use_with gmp)
econf $(use_with portable)
econf $(use_with threads)
src_prepare() {
base_src_prepare
eautoreconf
}
src_compile() {
emake
src_configure() {
econf \
$(use_with X x) \
$(use_with gmp) \
$(use_with portable) \
$(use_with threads)
}
src_install() {
emake DESTDIR="${D}" install
src_test() {
emake tests || die "tests failed"
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p357.ebuild,v 1.5 2012/01/04 17:37:30 phajdan.jr Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p357.ebuild,v 1.6 2012/01/08 15:36:01 armin76 Exp $
EAPI=2
@ -30,7 +30,7 @@ SRC_URI="mirror://ruby/${SLOT}/${MY_P}.tar.bz2
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
LICENSE="|| ( Ruby GPL-2 )"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
IUSE="+berkdb debug doc examples +gdbm ipv6 rubytests socks5 ssl threads tk xemacs ncurses +readline libedit"
RDEPEND="

@ -2,8 +2,10 @@ DIST pl-5.10.4.tar.gz 13242637 RMD160 5891908606a3676a2c6c6008f8cb2f6724cd211f S
DIST pl-5.10.5.tar.gz 13329752 RMD160 1ed3594b46efead1fd66b232ff8bdd765d749200 SHA1 bc27e997e20120aed9be68af2fdccfb093ff16eb SHA256 38d938d6a64e894685aa44bf9ea34b5505764cd084e07e6b4c21a9dd89b579d5
DIST pl-5.11.34.tar.gz 13460186 RMD160 1f7ee32e7a0b85163c0501754d0d00b661950189 SHA1 9c933db1d3587ea35bfcd342595ede94ce8db7a9 SHA256 0cc7a7e58eb98914175992b06b8e4f73c976b952edb3c7061f1056e7882e67ec
DIST pl-5.11.35.tar.gz 13461875 RMD160 4f8e6738eabda36f325c507a8dafb73cc6a24382 SHA1 4e06f6ba717b7c8e40e3363dbaba149ac641b865 SHA256 ebc212f629e536b4076a83107d4e1601531c50df155e6f379c5801a21a8e8bfa
DIST pl-5.11.36.tar.gz 13459439 RMD160 ddcf1487b44f6f5f85c7c74da93ff90a38cfbd8e SHA1 6d5c4ac0658fdea6065035a19e25afe2eec2a1f8 SHA256 cfec85653a2acf24d6f19ebd841a5885ab0034ddb409e64702a53384776f8f7f
DIST swi-prolog-5.10.4-gentoo-patchset-3.tar.gz 9770 RMD160 6bf3af5c57da54407f260db9ee5203ee6fa8c032 SHA1 3fc7483226a7ea5363ee083105bcf1d81d645b1e SHA256 8745a67d34f83afdbb1ed852606d40fadfe7de7bca00c8a88690efb65aace21b
DIST swi-prolog-5.10.5-gentoo-patchset-0.tar.gz 5860 RMD160 ec0c8237fecf838101602875a9e4eb64a1c84271 SHA1 57b97c3284158e0fad2c0371479284bf79e85654 SHA256 a20cb42ed5385076a2ba759898f44b82fe0d40b5f2f16063535f1635763c6aa6
DIST swi-prolog-5.10.5-gentoo-patchset-4.tar.gz 9587 RMD160 1867f6320810bfb7f356716e6006c40e77507006 SHA1 79a27dc241e6fe1c6e86c5769eba16a5b984f6cd SHA256 0f00bb91ed0039fc861c7f60251a752a836b8ef18d2fdd920bb5fcb88f64f653
DIST swi-prolog-5.11.34-gentoo-patchset-0.tar.gz 4126 RMD160 5dd7a6d95a90fe87886b9c52f59a0b1a9acd6ed9 SHA1 4003e2101d148ed70a516dee079ab25c956231cb SHA256 a902e81d819055e365916a6c5e01b13b9bbc2477f00de192f6b751b0efc2cc99
DIST swi-prolog-5.11.35-gentoo-patchset-0.tar.gz 5009 RMD160 11bf91da332023963625d9951b742c0412603aee SHA1 1479822638cdeed72387b768aa34c9daec651aae SHA256 13feae1275699fdd8b644f5eddf6f5ba058febb23400825e2e60eee4b91ba417
DIST swi-prolog-5.11.36-gentoo-patchset-0.tar.gz 4098 RMD160 7851a7a1d53a5e548280da1ea2d6a1782d2748bd SHA1 c1ace0ffe8c0840d898185fca257a89f6243cb8b SHA256 867f437055dfc91a3b27ebbb349842874b9d40bf9f05f112b646ced90dac21f7

@ -0,0 +1,125 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.11.36.ebuild,v 1.1 2012/01/09 05:09:50 keri Exp $
EAPI=2
inherit eutils flag-o-matic java-pkg-opt-2
PATCHSET_VER="0"
DESCRIPTION="free, small, and standard compliant Prolog compiler"
HOMEPAGE="http://www.swi-prolog.org/"
SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
RDEPEND="sys-libs/ncurses
zlib? ( sys-libs/zlib )
odbc? ( dev-db/unixODBC )
readline? ( sys-libs/readline )
gmp? ( dev-libs/gmp )
ssl? ( dev-libs/openssl )
java? ( >=virtual/jdk-1.4 )
X? (
virtual/jpeg
x11-libs/libX11
x11-libs/libXft
x11-libs/libXpm
x11-libs/libXt
x11-libs/libICE
x11-libs/libSM )"
DEPEND="${RDEPEND}
X? ( x11-proto/xproto )
java? ( test? ( =dev-java/junit-3.8* ) )"
S="${WORKDIR}/pl-${PV}"
src_prepare() {
EPATCH_FORCE=yes
EPATCH_SUFFIX=patch
epatch "${WORKDIR}"/${PV}
}
src_configure() {
append-flags -fno-strict-aliasing
use ppc && append-flags -mno-altivec
use hardened && append-flags -fno-unit-at-a-time
use debug && append-flags -DO_DEBUG
cd "${S}"/src
econf \
--libdir=/usr/$(get_libdir) \
$(use_enable gmp) \
$(use_enable readline) \
$(use_enable !static shared) \
--enable-custom-flags COFLAGS="${CFLAGS}"
}
src_compile() {
cd "${S}"/src
emake || die "emake failed"
if ! use minimal ; then
local jpltestconf
if use java && use test ; then
jpltestconf="--with-junit=$(java-config --classpath junit)"
fi
cd "${S}/packages"
econf \
--libdir=/usr/$(get_libdir) \
--with-chr \
--with-clib \
--with-clpqr \
--with-cpp \
--with-http \
$(use_with java jpl) \
${jpltestconf} \
--with-nlp \
$(use_with odbc) \
--with-pldoc \
--with-plunit \
--with-protobufs \
--with-R \
--with-RDF \
--with-semweb \
--with-sgml \
$(use_with ssl) \
--with-table \
--with-tipc \
$(use_with X xpce) \
$(use_with zlib) \
COFLAGS='"${CFLAGS}"'
emake || die "packages emake failed"
fi
}
src_test() {
cd "${S}/src"
emake check || die "make check failed. See above for details."
if ! use minimal ; then
cd "${S}/packages"
emake check || die "make check failed. See above for details."
fi
}
src_install() {
emake -C src DESTDIR="${D}" install || die "install src failed"
if ! use minimal ; then
emake -C packages DESTDIR="${D}" install || die "install packages failed"
if use doc ; then
emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
fi
fi
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION || die
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-2.0.4-r1.ebuild,v 1.6 2012/01/06 18:18:59 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-2.0.4-r1.ebuild,v 1.7 2012/01/08 21:02:00 maekke Exp $
EAPI="3"
@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-3 as-is"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="ccache doc pcre"
RESTRICT="test"

@ -0,0 +1,92 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.30.0-r2.ebuild,v 1.2 2012/01/08 23:57:10 tetromino Exp $
EAPI="4"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
PYTHON_DEPEND="2:2.5"
inherit gnome2 python
DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages"
HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
SRC_URI="${SRC_URI} mirror://gentoo/${P}-patches-1.tar.xz"
LICENSE="LGPL-2 GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc test"
RDEPEND=">=dev-libs/glib-2.29.7:2
virtual/libffi"
DEPEND="${RDEPEND}
dev-util/pkgconfig
sys-devel/flex
virtual/yacc
doc? ( >=dev-util/gtk-doc-1.15 )"
# PDEPEND to avoid circular dependencies, bug #391213
PDEPEND="x11-libs/cairo[glib]"
pkg_setup() {
DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO"
G2CONF="${G2CONF}
--disable-static
YACC=$(type -p yacc)
$(use_enable test tests)"
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
# Useful upstream patches, will be in 1.31
epatch ../patches/*.patch
# https://bugzilla.gnome.org/show_bug.cgi?id=659824
sed -i -e '/^TAGS/s/[{}]//g' "${S}/giscanner/docbookdescription.py" || die
# FIXME: Parallel compilation failure with USE=doc
use doc && MAKEOPTS="-j1"
# Don't pre-compile .py
echo > py-compile
echo > build-aux/py-compile
gnome2_src_prepare
skip_tests=
if ! has_version "x11-libs/cairo[glib]"; then
# Bug #391213: enable cairo-gobject support even if it's not installed
# We only PDEPEND on cairo to avoid circular dependencies
export CAIRO_LIBS="-lcairo"
export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo"
export CAIRO_GOBJECT_LIBS="-lcairo-gobject"
export CAIRO_GOBJECT_CFLAGS="-I${EPREFIX}/usr/include/cairo"
if use test; then
G2CONF="${G2CONF} --disable-tests"
skip_tests=yes
ewarn "Tests will be skipped because x11-libs/cairo[glib] is not present"
ewarn "on your system. Consider installing it to get tests to run."
fi
fi
}
src_test() {
[[ -z ${skip_tests} ]] && default
}
src_install() {
gnome2_src_install
python_convert_shebangs 2 "${ED}"usr/bin/g-ir-{annotation-tool,doc-tool,scanner}
}
pkg_postinst() {
python_mod_optimize /usr/$(get_libdir)/${PN}/giscanner
python_need_rebuild
}
pkg_postrm() {
python_mod_cleanup /usr/lib*/${PN}/giscanner
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-2.0.16.ebuild,v 1.4 2012/01/08 02:00:14 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-2.0.16.ebuild,v 1.5 2012/01/09 03:40:03 jer Exp $
EAPI="2"
@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/levent/files/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
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 ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="+ssl static-libs test"
DEPEND="ssl? ( dev-libs/openssl )"

@ -1,2 +1,3 @@
DIST libusb-0.1.12.tar.gz 389343 RMD160 63848df717e00fff67ab30ba86a85466370d4e8e SHA1 599a5168590f66bc6f1f9a299579fd8500614807 SHA256 37f6f7d9de74196eb5fc0bbe0aea9b5c939de7f500acba3af6fd643f3b538b44
DIST libusb-1.0.8.tar.bz2 331820 RMD160 5a413a77e240a15480ef1437d5f5393badbae985 SHA1 5484397860f709c9b51611d224819f8ed5994063 SHA256 21d0d3a5710f7f4211c595102c6b9eccb42435a17a4f5bd2c3f4166ab1badba9
DIST libusb-1.0_1.0.9~rc3.orig.tar.gz 187629 RMD160 0494d54a036a3ebdebc38bc423dfe5246cbe02d4 SHA1 b42f95eb8e98bfd78255a6d0072dbd151da2011f SHA256 044331270ef3e79f0b4edfa442156fc9aa3fc60cf59e6a45a0d0e170885e6057

@ -1,50 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.12-r5.ebuild,v 1.10 2011/12/06 19:33:32 robbat2 Exp $
inherit eutils libtool autotools toolchain-funcs
DESCRIPTION="Userspace access to USB devices"
HOMEPAGE="http://libusb.sourceforge.net/"
SRC_URI="mirror://sourceforge/libusb/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="debug doc nocxx"
RESTRICT="test"
RDEPEND="!dev-libs/libusb-compat"
DEPEND="${RDEPEND}
doc? ( app-text/openjade
app-text/docbook-dsssl-stylesheets
app-text/docbook-sgml-utils
~app-text/docbook-sgml-dtd-4.2 )"
src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e 's:-Werror::' Makefile.am
sed -i 's:AC_LANG_CPLUSPLUS:AC_PROG_CXX:' configure.in #213800
epatch "${FILESDIR}"/${PV}-fbsd.patch
use nocxx && epatch "${FILESDIR}"/${PN}-0.1.12-nocpp.patch
epatch "${FILESDIR}"/${PN}-0.1.12-no-infinite-bulk.patch
eautoreconf
elibtoolize
}
src_compile() {
econf \
$(use_enable debug debug all) \
$(use_enable doc build-docs)
emake || die "emake failed"
}
src_install() {
emake -j1 DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS NEWS README
use doc && dohtml doc/html/*.html
gen_usr_ldscript -a usb
use nocxx && rm -f "${D}"/usr/include/usbpp.h
}

@ -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/dev-libs/libusb/libusb-0.1.12-r6.ebuild,v 1.2 2011/12/06 19:33:32 robbat2 Exp $
inherit eutils libtool autotools toolchain-funcs
DESCRIPTION="Userspace access to USB devices"
HOMEPAGE="http://libusb.sourceforge.net/"
SRC_URI="mirror://sourceforge/libusb/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="debug doc nocxx"
RESTRICT="test"
RDEPEND="!dev-libs/libusb-compat"
DEPEND="${RDEPEND}
doc? ( app-text/openjade
app-text/docbook-dsssl-stylesheets
app-text/docbook-sgml-utils
~app-text/docbook-sgml-dtd-4.2 )"
src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e 's:-Werror::' Makefile.am
sed -i 's:AC_LANG_CPLUSPLUS:AC_PROG_CXX:' configure.in #213800
epatch "${FILESDIR}"/${PV}-fbsd.patch
use nocxx && epatch "${FILESDIR}"/${PN}-0.1.12-nocpp.patch
epatch "${FILESDIR}"/${PN}-0.1.12-no-infinite-bulk.patch
epatch "${FILESDIR}"/${PN}-0.1-ansi.patch # 273752
eautoreconf
elibtoolize
}
src_compile() {
econf \
$(use_enable debug debug all) \
$(use_enable doc build-docs)
emake || die "emake failed"
}
src_install() {
emake -j1 DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS NEWS README
use doc && dohtml doc/html/*.html
gen_usr_ldscript -a usb
use nocxx && rm -f "${D}"/usr/include/usbpp.h
}

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.12-r7.ebuild,v 1.11 2011/12/06 19:33:32 robbat2 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.12-r7.ebuild,v 1.12 2012/01/09 06:53:36 ssuominen Exp $
EAPI="3"
@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/libusb/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ~ppc ~ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="debug doc +cxx static-libs"
RESTRICT="test"

@ -0,0 +1,55 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-1.0.9_rc3.ebuild,v 1.1 2012/01/09 07:11:08 ssuominen Exp $
EAPI=4
inherit autotools
DESCRIPTION="Userspace access to USB devices"
HOMEPAGE="http://libusb.org/"
SRC_URI="mirror://debian/pool/main/libu/${PN}-${PV%.*}/${PN}-${PV%.*}_${PV/_/~}.orig.tar.gz"
#SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="1"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 -x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="debug doc static-libs"
RDEPEND=""
DEPEND="doc? ( app-doc/doxygen )"
DOCS="AUTHORS NEWS PORTING README THANKS TODO"
S=${WORKDIR}/${P/_/-}
src_prepare() {
# aclocal: couldn't open directory `m4': No such file or directory
mkdir m4
eautoreconf
}
src_configure() {
econf \
$(use_enable static-libs static) \
$(use_enable debug debug-log)
}
src_compile() {
default
use doc && emake -C doc docs
}
src_install() {
default
if use doc; then
insinto /usr/share/doc/${PF}/examples
doins examples/*.c
dohtml doc/html/*
fi
rm -f "${ED}"usr/lib*/libusb*.la
}

@ -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/dev-perl/Cairo/Cairo-1.82.0.ebuild,v 1.1 2012/01/08 20:25:59 tove Exp $
EAPI=4
MODULE_AUTHOR=XAOC
MODULE_VERSION=1.082
inherit perl-module
DESCRIPTION="Perl interface to the cairo library"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="test"
RDEPEND=">=x11-libs/cairo-1.0.0"
DEPEND="${RDEPEND}
>=dev-perl/extutils-depends-0.205.0
>=dev-perl/extutils-pkgconfig-1.70.0
test? ( dev-perl/Test-Number-Delta )"
SRC_TEST="do"
src_prepare() {
perl-module_src_prepare
sed -i -e 's,exit 0,exit 1,' "${S}"/Makefile.PL || die
}

@ -1,3 +1,4 @@
DIST Cairo-1.060.tar.gz 90111 RMD160 f514f5065b53ca740ea415ec97f0d45f5208b637 SHA1 af0334d7732f991509c0b90e509040d4bbd2b939 SHA256 34e738467ad3517dd061202617245f03431059b3980476c43d8e06bf2ce7bfca
DIST Cairo-1.062.tar.gz 95044 RMD160 e383fe798ec08d65df3318186dd9b1b0ad8307f6 SHA1 9e18187157911fda065795892b14f0ec9947a778 SHA256 9ddf01809d5246269713648eae6cc9cd20a370c613f1c26acd6759228800029e
DIST Cairo-1.081.tar.gz 106643 RMD160 ccbd89212e5b59ab6ccca9c0ceb901b5c43d4d37 SHA1 4fa4db3a21ed10439ba10a215b5c7d583e517d09 SHA256 2ef23a32ecd16c0b4b383accd2452ec324c54fa3498d870e083523ef60871582
DIST Cairo-1.082.tar.gz 104974 RMD160 836bad8acbf61a595a1b27d28b8d76d58bf2a3bc SHA1 1f83c4d1153f2bf933d3da4bff1993a04baeaab5 SHA256 0625896ab5f48fc2561cd7472a200a48ffb1d9aa5ded3f3eed4b9992a51fd473

@ -0,0 +1,24 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Class-Accessor-Grouped/Class-Accessor-Grouped-0.100.60.ebuild,v 1.1 2012/01/08 17:19:25 tove Exp $
EAPI=4
MODULE_AUTHOR=CLACO
MODULE_VERSION=0.10006
inherit perl-module
DESCRIPTION="Lets you build groups of accessors"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~ppc-macos ~x86-solaris"
IUSE="test"
RDEPEND="dev-perl/Class-Inspector
>=dev-perl/Class-XSAccessor-1.130
>=dev-perl/Sub-Name-0.05"
DEPEND="${RDEPEND}
test? ( >=dev-perl/Test-Exception-0.31
>=virtual/perl-Test-Simple-0.94 )"
SRC_TEST=do

@ -1,2 +1,3 @@
DIST Class-Accessor-Grouped-0.10003.tar.gz 39885 RMD160 9837ed0df58e89d9ac4118e0239ddc3caa4d0221 SHA1 a17b29f8b17099705132d393e51d091fedf1958f SHA256 3d56247cc4458ebb3cf0b881859706465f33b18f6189176df1e83746cef5cc0c
DIST Class-Accessor-Grouped-0.10004.tar.gz 40985 RMD160 3a8763bc47b5f8b7c90f52802c686b4dfe0816dd SHA1 90f90f654a30fd0ecc2b099611ae9c1db38209b2 SHA256 4c4f44283b8399e3aeafe8a05649dc75a630d574e236166bb47fad850c84899b
DIST Class-Accessor-Grouped-0.10006.tar.gz 42420 RMD160 89570f6351519e5d4b6edb73d436bc48e357fdaf SHA1 42e1dedbde44f0ca1de68c6601fd92e9baa943e7 SHA256 735d4251dbca4f0f55e04ebb1c0a0f071b1583d9ac942d21434e6856ce4a9788

@ -0,0 +1,28 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/DateTime-Format-Flexible/DateTime-Format-Flexible-0.210.0.ebuild,v 1.1 2012/01/08 19:28:32 tove Exp $
EAPI=4
MODULE_AUTHOR=THINC
MODULE_VERSION=0.21
inherit perl-module
DESCRIPTION="Flexibly parse strings and turn them into DateTime objects"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="dev-perl/DateTime
>=dev-perl/DateTime-Format-Builder-0.74
dev-perl/DateTime-TimeZone
virtual/perl-Module-Pluggable"
DEPEND="${RDEPEND}
test? (
dev-perl/Test-MockTime
)"
# dev-perl/Test-Pod
# dev-perl/Test-Pod-Coverage
SRC_TEST=do

@ -1,2 +1,3 @@
DIST DateTime-Format-Flexible-0.19.tar.gz 67626 RMD160 95e87b9fc2884d620181e049f1183fb7914ebc6f SHA1 0da37260225d5873e37e89ac2e14f13221cddad2 SHA256 0876b6d87cb78e7a031171799bf242d6b18292613feb491bf38f82658dca0632
DIST DateTime-Format-Flexible-0.20.tar.gz 67676 RMD160 b03d98a02e4b4b11fed77dce7eefe7059f4243c3 SHA1 cfabbaeb004ba63d44141f81eca16fb0498a8b55 SHA256 de21094b61f53782d8cd164a3deb9d98e6f9a983311863adfc6c8cabafa51984
DIST DateTime-Format-Flexible-0.21.tar.gz 68245 RMD160 a3f1640871d5a621e9a90f715050c9189fe33dfc SHA1 5e0a3ab7e221ec2780c5d64dfb720a325d19fb73 SHA256 1f7daf1aa1bafbe247082f49a292958f78384d648c9d763d8c8b1425c088c085

@ -0,0 +1,31 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/DateTime/DateTime-0.720.0.ebuild,v 1.1 2012/01/08 20:22:17 tove Exp $
EAPI=4
MODULE_AUTHOR=DROLSKY
MODULE_VERSION=0.72
inherit perl-module
DESCRIPTION="A date and time object"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
IUSE="test"
RDEPEND=">=dev-perl/Params-Validate-0.76
>=virtual/perl-Time-Local-1.04
>=dev-perl/DateTime-TimeZone-1.09
>=dev-perl/DateTime-Locale-0.44
dev-perl/Math-Round
"
DEPEND="${RDEPEND}
virtual/perl-Module-Build
test? (
dev-perl/Test-Fatal
)
"
SRC_TEST="do"

@ -1,2 +1,3 @@
DIST DateTime-0.55.tar.gz 198203 RMD160 5049db8b9ce3526caa87c8ed6f3b5411f0b97d82 SHA1 c76eca4ce862be5168da83c4245180c0dd3c3911 SHA256 be3e8fb530b57b55313b93c2d30fcd4724f6d1c52cd6130b160010c18123c187
DIST DateTime-0.70.tar.gz 177418 RMD160 2f407f04e924efe8ceb3de08901aad28da404f8b SHA1 016bd671ea2f135a8bd4f6a8ad06fa2ceaf585be SHA256 26084f067b2055e6286cd27c97e8a7298fbec251bfeee55df8886c835ff5e779
DIST DateTime-0.72.tar.gz 170910 RMD160 3dbed542212e1b2176976c758942a53027bdb1bd SHA1 0fb0179a3d689ce7da703f13180083ccd12b6228 SHA256 b05a90f2010cd97f2c6dcb3c58b54c792f703390073787319d9a4db91e940459

@ -0,0 +1,25 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Email-Address/Email-Address-1.893.0.ebuild,v 1.1 2012/01/08 19:32:38 tove Exp $
EAPI=4
MODULE_AUTHOR=RJBS
MODULE_VERSION=1.893
inherit perl-module
DESCRIPTION="RFC 2822 Address Parsing and Creation"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}
test? (
virtual/perl-Test-Simple
>=dev-perl/Test-Pod-1.14
>=dev-perl/Test-Pod-Coverage-1.08
)"
SRC_TEST="do"

@ -1,2 +1,3 @@
DIST Email-Address-1.889.tar.gz 33491 RMD160 b21f515eca9e2ad69601a6114ff40fea9777f45f SHA1 83feda3b28f590de2930227bc662266057ae9f67 SHA256 b65b606bf0a379706097d4fcb0d6d958808bd6e7e469bc68e9a800cd88a59745
DIST Email-Address-1.892.tar.gz 33300 RMD160 f9dcd11d98f9932cd0b2372fae423cb80a5ac497 SHA1 508aec815e8abb94e65bad452c5f5661bf26385f SHA256 3689fe6d76c9215b1dd94b7f938e44cbe21d5de798d79a6f5b64f75e7dbf050a
DIST Email-Address-1.893.tar.gz 33914 RMD160 50b01427e95fb07bfb5793fe2336bfcec745d20d SHA1 e4fb41e2619b4993ce834aa94d2a47a24a37a104 SHA256 ee59b5e7b3630172444de3f916f94b5ae49015eb9a835c15a145f2d67ad6d3fd

@ -0,0 +1,31 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/File-MimeInfo/File-MimeInfo-0.160.0.ebuild,v 1.1 2012/01/08 19:38:19 tove Exp $
EAPI=4
MODULE_AUTHOR=PARDUS
MODULE_SECTION=File-MimeInfo
MODULE_VERSION=0.16
inherit perl-module
DESCRIPTION="Determine file type"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris"
IUSE="test"
RDEPEND="
>=dev-perl/File-BaseDir-0.03
>=dev-perl/File-DesktopEntry-0.04
x11-misc/shared-mime-info
"
DEPEND="${RDEPEND}
virtual/perl-Module-Build
test? (
dev-perl/Test-Pod
dev-perl/Test-Pod-Coverage
)
"
SRC_TEST="do"

@ -1 +1,2 @@
DIST File-MimeInfo-0.15.tar.gz 29269 RMD160 5914f6e737108f9fd01031b0224a76098bcb261a SHA1 e185dd52769ec3c77cbb1eb983e49b843e5e38e5 SHA256 b5486311ca5c7bae065060425af209157fc8ae5899ddb85197d2e27e1c18dc25
DIST File-MimeInfo-0.16.tar.gz 34844 RMD160 0487a3fa3682e4b43d5160ab87c3ed669f3be313 SHA1 8b906fa584b7fe0a0e210df9298fab60885ba6a8 SHA256 fcab0cdd47960e4ff7c6ac2cc121b62e507688e6b43b47c85ec890734d95e082

@ -0,0 +1,36 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/GraphViz/GraphViz-2.90.0.ebuild,v 1.1 2012/01/08 20:16:31 tove Exp $
EAPI=4
MODULE_AUTHOR=RSAVAGE
MODULE_VERSION=2.09
MODULE_A_EXT=tgz
inherit perl-module
DESCRIPTION="GraphViz - Interface to the GraphViz graphing tool"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE="test"
RDEPEND="media-gfx/graphviz
dev-perl/IPC-Run"
#dev-perl/XML-Twig #used in GraphViz::XML
DEPEND="${RDEPEND}
virtual/perl-Module-Build
test? (
virtual/perl-Test-Simple
>=dev-perl/Test-Pod-1.440.0
)
"
SRC_TEST="do"
src_install() {
perl-module_src_install
insinto /usr/share/doc/${PF}/examples
doins "${S}"/examples/* || die
}

@ -1,2 +1,3 @@
DIST GraphViz-2.02.tar.gz 84348 RMD160 cd0cad4cd687198a9a8c1cd02e10320c1f07b268 SHA1 02d5771ef4c24d30c20083e8f86d52606e5706a2 SHA256 44b6b7c2866c417c78d6448a77f8aa68acb5edbaadf813dd87b859e70b969345
DIST GraphViz-2.04.tar.gz 84690 RMD160 abf855ea910b25e8d8aed40b8477d838bf330da3 SHA1 4ddaead304bf0eba715398a2e6ff573bc4a753e4 SHA256 ad0b63af14224968a6cd2abeecebb856235fcf2105dba366e269dd449a54b7bf
DIST GraphViz-2.09.tgz 116001 RMD160 d30fd756690c382b737e597f040ba1e2e4dfa210 SHA1 cd9069041c1f5c98e371d81e2b707fccfbe8b13a SHA256 0361ef8f9c16dc039ea45b85e5b979754d648e1ae4a62d556fe04ebef31e5d35

@ -0,0 +1,25 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/HTTP-BrowserDetect/HTTP-BrowserDetect-1.400.0.ebuild,v 1.1 2012/01/08 19:40:53 tove Exp $
EAPI=4
MODULE_AUTHOR=OALDERS
MODULE_VERSION=1.40
inherit perl-module
DESCRIPTION="Detect browser, version, OS from UserAgent"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
IUSE="test"
RDEPEND=""
DEPEND="virtual/perl-Module-Build
test? (
dev-perl/Data-Dump
dev-perl/File-Slurp
virtual/perl-JSON-PP
)"
SRC_TEST="do"

@ -7,3 +7,4 @@ DIST HTTP-BrowserDetect-1.35.tar.gz 37435 RMD160 24cf3923779263e78597bc8b4435e03
DIST HTTP-BrowserDetect-1.36.tar.gz 37572 RMD160 cf61e4c7cf2be0409eba6c04445c69e228dfc03b SHA1 01cd36c194f69b66c50608f0f914223761865d7f SHA256 11a72d60ac16c26320cf6ef207ecdffdd24901fc0e606bac92943ad368c83416
DIST HTTP-BrowserDetect-1.37.tar.gz 37807 RMD160 63599916e3755c111a41dd6066d9c3dbd3de7df9 SHA1 6933f4f39efe40227832ee804a54364baef106e2 SHA256 897a8bb05f5b32d41d1399c8fab6cdf249552993406fadda16e1d33526940758
DIST HTTP-BrowserDetect-1.39.tar.gz 38345 RMD160 6f557ce9ecf4cd5eba2b7ee4a2d7dba82c52b2cc SHA1 27a591e08997ce35cecaaf4b23c9ec8604ed917d SHA256 7fed0b1ae2d0938182a0ff8d1af706bcea96bc526ff89b5441085737fb200060
DIST HTTP-BrowserDetect-1.40.tar.gz 38606 RMD160 a4f48751c6a0e19868eb5106910b04b2001a36d5 SHA1 da50cd731f0c4e060852f84d1190c9dfbbe827c4 SHA256 a6d97db3878ea7b9065ad038ffcd2c82201cc13cd971745a29704050d17a2947

@ -1 +1,2 @@
DIST MooseX-StrictConstructor-0.16.tar.gz 10765 RMD160 ab68222c47023e9cea1423e3a5154b3c99418fb8 SHA1 42f15291eea08a1f5c02fa2bf4a534452518d778 SHA256 01c5f364f5d0fa030eeaf0dad99d9d58d9db3f6010784a733d8e54ce1b0d51f3
DIST MooseX-StrictConstructor-0.17.tar.gz 10157 RMD160 617535d8250378b2d56869e0498a607995dd432d SHA1 9121f785356e8bfecd18970f230899fd3f7be9d4 SHA256 cea7a1b670aaff91f1908f7c9d28c9531da69cfec9a7b8886d3a58ce573b0a38

@ -0,0 +1,24 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/MooseX-StrictConstructor/MooseX-StrictConstructor-0.170.0.ebuild,v 1.1 2012/01/08 17:23:04 tove Exp $
EAPI=4
MODULE_AUTHOR=DROLSKY
MODULE_VERSION=0.17
inherit perl-module
DESCRIPTION="Make your object constructors blow up on unknown attributes"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=">=dev-perl/Moose-0.94
dev-perl/namespace-autoclean"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.31
test? ( dev-perl/Test-Fatal )"
SRC_TEST=do

@ -1 +1,2 @@
DIST Net-OAuth-0.27.tar.gz 39113 RMD160 6a864891bd877a399af8c0868478393c9d1bbe5d SHA1 b425e4888140327de43b941442d1a2edf4c319b1 SHA256 eab8d43c12b5891f9ec1f70f5aa1783a017eb68a36b16732d50bfe13e08000e4
DIST Net-OAuth-0.28.tar.gz 29063 RMD160 223a7bc41fc12c69cbd30305c2e48bbef4162c86 SHA1 8222036a9faf68baed2ea0549a738bcbc8db1269 SHA256 7bfc319da0ac578e00962f35a350cf51110a3a313016d1fdc30722028a22904c

@ -0,0 +1,33 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-OAuth/Net-OAuth-0.280.0.ebuild,v 1.1 2012/01/08 19:20:33 tove Exp $
EAPI=4
MODULE_AUTHOR=KGRENNAN
MODULE_VERSION=0.28
inherit perl-module
DESCRIPTION="OAuth protocol support"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x64-macos"
IUSE="test"
RDEPEND="
>=dev-perl/Class-Accessor-0.31
>=dev-perl/Class-Data-Inheritable-0.06
dev-perl/Digest-HMAC
dev-perl/URI
virtual/perl-Digest-SHA
>=virtual/perl-Encode-2.35
dev-perl/libwww-perl
"
DEPEND="${RDEPEND}
virtual/perl-Module-Build
test? (
>=virtual/perl-Test-Simple-0.66
>=dev-perl/Test-Warn-0.21
)"
SRC_TEST=do

@ -1,3 +1,4 @@
DIST Sys-Virt-0.2.4.tar.gz 54780 RMD160 8d584622e3e1fc60070a64a171a939492a2f1ac0 SHA1 dd03539544c7a3ab6f0c9253167c923eef3a6819 SHA256 d51b6e7de3a59d87457bd7673e936905a3863cd737de03b24537129622a6d979
DIST Sys-Virt-0.9.5.tar.gz 68881 RMD160 3cd1381499d871d917b7fbf201cbe7d3e9a21f93 SHA1 40710f596ab467492feefc4034355d84243ddbb6 SHA256 f8fd38e790a3a4a2aa79c79914f6def5d2f2ad37f9855ad524b331191e5d56b8
DIST Sys-Virt-0.9.7.tar.gz 70840 RMD160 7a809a20b720fb66617229641a17db1b1938ab2c SHA1 ff6a7f3c0cc70a186d2ba80b05cd73b34de402a1 SHA256 3d498566b87c1c147f45afe316db41d78a526b8ecbbf30ee4da5ac92a8ad8e57
DIST Sys-Virt-0.9.8.tar.gz 71964 RMD160 04dc385372d3ea0439f98cdcbc5adbaff5178d2a SHA1 5ee995f612fbc4fab7f319042f7c5d6d7a0c77af SHA256 8c229b0178eaea493a9a74c5624306f26a88fa66089515a3ceb9210ed1542e1f

@ -0,0 +1,31 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Sys-Virt/Sys-Virt-0.9.8.ebuild,v 1.1 2012/01/08 18:02:59 tove Exp $
EAPI=4
MODULE_AUTHOR=DANBERR
MODULE_VERSION=0.9.8
inherit perl-module
DESCRIPTION="Sys::Virt provides an API for using the libvirt library from Perl"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=">=app-emulation/libvirt-${PV}"
DEPEND="${RDEPEND}
dev-util/pkgconfig
test? (
dev-perl/Test-Pod
dev-perl/Test-Pod-Coverage
dev-perl/XML-XPath
virtual/perl-Time-HiRes
)"
SRC_TEST="do"
src_compile() {
MAKEOPTS+=" -j1" perl-module_src_compile
}

@ -1 +1,2 @@
DIST Term-ANSIScreen-1.42.tar.gz 15870 RMD160 7fc5a32407bd6c23e59d6b8c1848cdc1a7bc26e8 SHA1 d42a27237521d28870f3bdd9737e2885610130c8 SHA256 c942592f5127e649811113659625f4c94209a41950cc209c1c4d67fb25fc61b8
DIST Term-ANSIScreen-1.50.tar.gz 32174 RMD160 38e022c34f32c9a06312e1d5544d2aed73632ae9 SHA1 8fff99355e10593accdb39656c8d349edb189914 SHA256 e8d458f6827a27f60c404502447d0a635f72090a4b2c5f6a4fb4c5dc721f52b3

@ -0,0 +1,18 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Term-ANSIScreen/Term-ANSIScreen-1.500.0.ebuild,v 1.1 2012/01/09 14:59:44 tove Exp $
EAPI=4
MODULE_AUTHOR=AUDREYT
MODULE_VERSION=1.50
inherit perl-module
DESCRIPTION="Terminal control using ANSI escape sequences"
LICENSE="CC0-1.0-Universal"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
IUSE=""
SRC_TEST="do"

@ -1,2 +1,3 @@
DIST XML-Writer-0.611.tar.gz 26495 RMD160 d668e4abcff4e8afbfb44f7cb5cd5caabbca0d9e SHA1 a31d4a01875aeb5b9b9e4880a99b273492b4d521 SHA256 9f83022e7e52422c1c8feac3b650669f1e71c959bcc9ad659fcd29deb8124e10
DIST XML-Writer-0.612.tar.gz 26988 RMD160 5e58538056022d4876dff5acf2ee7fed3baa249b SHA1 73a71255f8b931daa2a52dc1ec41ed5005d2ee11 SHA256 53a66551790d824da386c3c1110a01346e59e35aee771c0c30af5bdfe57a3bdf
DIST XML-Writer-0.614.tar.gz 27390 RMD160 ad478d92ada464cdd27b3fa2960ca3dc9a4c8a57 SHA1 0c89dfee92b58b6c4e8a697aa71fb66695b4adac SHA256 58e6b602b7749ae1d4ef9220b94a577cb3d5d9373f71145a1b28e299135e9dbc

@ -0,0 +1,23 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-Writer/XML-Writer-0.614.0.ebuild,v 1.1 2012/01/08 17:04:48 tove Exp $
EAPI=4
MODULE_AUTHOR=JOSEPHW
MODULE_VERSION=0.614
inherit perl-module
DESCRIPTION="XML Writer Perl Module"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-solaris"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}
test? ( dev-perl/Test-Pod
dev-perl/Test-Pod-Coverage )"
SRC_TEST="do"

@ -1,2 +1,3 @@
DIST Gtk2-Spell-1.03.tar.gz 15812 RMD160 5dac58c30bc7baec225b9af3aeeabc3fbd83a4f3 SHA1 89f2ee70e7ac2aa8334942a72ccab11059f6507b SHA256 5dfe1307a10d931b13477722434672940594e34799a8094dbdb1607b8ec4438e
DIST Gtk2-Spell-1.04.tar.gz 17512 RMD160 6c016413c685123b1eb1e70d3be167bcecceac97 SHA1 c4c042bbdf8e247b6c8a7f8fa8f27f295bc3adb1 SHA256 33017b5f510020f0a04cfcc9dfe149db2e613369506df3a2961a5b0fb21b3911
DIST gtk2-spell-1.03-caa0ef46.patch.gz 625 RMD160 20c34a47f8aacac2ec7befc981331bf1083a71e1 SHA1 21b139d4654b86b4e8cea6c4c71c76db6b498d2e SHA256 8848ed405ef4e8a39a7d23f1ee121766d48bedcbc433971df31127f512705d9a

@ -0,0 +1,30 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk2-spell/gtk2-spell-1.40.0.ebuild,v 1.1 2012/01/08 19:13:53 tove Exp $
EAPI=4
MY_PN=Gtk2-Spell
MODULE_AUTHOR=TSCH
MODULE_VERSION=1.04
inherit perl-module
DESCRIPTION="Bindings for GtkSpell with Gtk2.x"
HOMEPAGE="http://gtk2-perl.sf.net/ ${HOMEPAGE}"
SLOT="0"
LICENSE="LGPL-2.1"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
IUSE=""
RDEPEND="
x11-libs/gtk+:2
>=app-text/gtkspell-2:2
>=dev-perl/glib-perl-1.240.0
>=dev-perl/gtk2-perl-1.012
"
DEPEND="${RDEPEND}
dev-perl/extutils-depends
dev-perl/extutils-pkgconfig
dev-util/pkgconfig
"

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/ffmpeg-php/ffmpeg-php-0.6.0-r1.ebuild,v 1.1 2011/12/14 22:29:48 mabi Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-php/ffmpeg-php/ffmpeg-php-0.6.0-r1.ebuild,v 1.2 2012/01/09 14:53:06 aballier Exp $
EAPI="3"
@ -34,6 +34,7 @@ src_prepare() {
for slot in $(php_get_slots) ; do
cd "${WORKDIR}/${slot}"
epatch "${FILESDIR}/${P}-avutil50.patch"
epatch "${FILESDIR}/${P}-ffmpeg.patch"
done
php-ext-source-r2_src_prepare
}

@ -0,0 +1,350 @@
Index: work/php5.3/ffmpeg_movie.c
===================================================================
--- work.orig/php5.3/ffmpeg_movie.c
+++ work/php5.3/ffmpeg_movie.c
@@ -36,6 +36,7 @@
#include <avcodec.h>
#include <avformat.h>
+#include <pixdesc.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -67,6 +68,9 @@
#define GET_CODEC_FIELD(codec, field) codec.field
#define GET_CODEC_PTR(codec) &codec
#endif
+#ifndef MAX_STREAMS
+#define MAX_STREAMS 20
+#endif
typedef struct {
AVFormatContext *fmt_ctx;
@@ -149,7 +153,7 @@ static int _php_get_stream_index(AVForma
*/
static AVStream *_php_get_video_stream(AVFormatContext *fmt_ctx)
{
- int i = _php_get_stream_index(fmt_ctx, CODEC_TYPE_VIDEO);
+ int i = _php_get_stream_index(fmt_ctx, AVMEDIA_TYPE_VIDEO);
return i < 0 ? NULL : fmt_ctx->streams[i];
}
@@ -162,7 +166,7 @@ static AVStream *_php_get_video_stream(A
*/
static AVStream *_php_get_audio_stream(AVFormatContext *fmt_ctx)
{
- int i = _php_get_stream_index(fmt_ctx, CODEC_TYPE_AUDIO);
+ int i = _php_get_stream_index(fmt_ctx, AVMEDIA_TYPE_AUDIO);
return i < 0 ? NULL : fmt_ctx->streams[i];
}
@@ -481,7 +485,7 @@ static AVCodecContext* _php_get_decoder_
stream_index = _php_get_stream_index(ffmovie_ctx->fmt_ctx, stream_type);
if (stream_index < 0) {
// FIXME: factor out the conditional.
- if (stream_type == CODEC_TYPE_VIDEO) {
+ if (stream_type == AVMEDIA_TYPE_VIDEO) {
zend_error(E_WARNING, "Can't find video stream in %s",
_php_get_filename(ffmovie_ctx));
return NULL;
@@ -519,17 +523,26 @@ static AVCodecContext* _php_get_decoder_
}
/* }}} */
+static const char* get_metadata(AVDictionary *metadata, const char* val){
+ AVDictionaryEntry *ade;
+ ade = av_dict_get(metadata, val, NULL, 0 );
+ if(ade == NULL) return "";
+ return ade->value;
+}
+
/* {{{ proto string getComment()
*/
FFMPEG_PHP_METHOD(ffmpeg_movie, getComment)
{
ff_movie_context *ffmovie_ctx;
+ const char* val;
GET_MOVIE_RESOURCE(ffmovie_ctx);
+
+ val = get_metadata(ffmovie_ctx->fmt_ctx->metadata, "COMMENT");
- RETURN_STRINGL(ffmovie_ctx->fmt_ctx->comment,
- strlen(ffmovie_ctx->fmt_ctx->comment), 1);
+ RETURN_STRINGL(val, strlen(val), 1);
}
/* }}} */
@@ -540,11 +553,12 @@ FFMPEG_PHP_METHOD(ffmpeg_movie, getComme
FFMPEG_PHP_METHOD(ffmpeg_movie, getTitle)
{
ff_movie_context *ffmovie_ctx;
+ const char* val;
GET_MOVIE_RESOURCE(ffmovie_ctx);
- RETURN_STRINGL(ffmovie_ctx->fmt_ctx->title,
- strlen(ffmovie_ctx->fmt_ctx->title), 1);
+ val = get_metadata(ffmovie_ctx->fmt_ctx->metadata, "TITLE");
+ RETURN_STRINGL(val, strlen(val), 1);
}
/* }}} */
@@ -555,11 +569,12 @@ FFMPEG_PHP_METHOD(ffmpeg_movie, getTitle
FFMPEG_PHP_METHOD(ffmpeg_movie, getAuthor)
{
ff_movie_context *ffmovie_ctx;
+ const char* val;
GET_MOVIE_RESOURCE(ffmovie_ctx);
- RETURN_STRINGL(ffmovie_ctx->fmt_ctx->author,
- strlen(ffmovie_ctx->fmt_ctx->author), 1);
+ val = get_metadata(ffmovie_ctx->fmt_ctx->metadata, "ARTIST");
+ RETURN_STRINGL(val, strlen(val), 1);
}
/* }}} */
@@ -569,11 +584,12 @@ FFMPEG_PHP_METHOD(ffmpeg_movie, getAutho
FFMPEG_PHP_METHOD(ffmpeg_movie, getCopyright)
{
ff_movie_context *ffmovie_ctx;
+ const char* val;
GET_MOVIE_RESOURCE(ffmovie_ctx);
- RETURN_STRINGL(ffmovie_ctx->fmt_ctx->copyright,
- strlen(ffmovie_ctx->fmt_ctx->copyright), 1);
+ val = get_metadata(ffmovie_ctx->fmt_ctx->metadata, "COPYRIGHT");
+ RETURN_STRINGL(val, strlen(val), 1);
}
/* }}} */
@@ -584,11 +600,12 @@ FFMPEG_PHP_METHOD(ffmpeg_movie, getCopyr
FFMPEG_PHP_METHOD(ffmpeg_movie, getAlbum)
{
ff_movie_context *ffmovie_ctx;
+ const char* val;
GET_MOVIE_RESOURCE(ffmovie_ctx);
- RETURN_STRINGL(ffmovie_ctx->fmt_ctx->album,
- strlen(ffmovie_ctx->fmt_ctx->album), 1);
+ val = get_metadata(ffmovie_ctx->fmt_ctx->metadata, "ALBUMTITLE");
+ RETURN_STRINGL(val, strlen(val), 1);
}
/* }}} */
@@ -598,11 +615,12 @@ FFMPEG_PHP_METHOD(ffmpeg_movie, getAlbum
FFMPEG_PHP_METHOD(ffmpeg_movie, getGenre)
{
ff_movie_context *ffmovie_ctx;
+ const char* val;
GET_MOVIE_RESOURCE(ffmovie_ctx);
- RETURN_STRINGL(ffmovie_ctx->fmt_ctx->genre,
- strlen(ffmovie_ctx->fmt_ctx->genre), 1);
+ val = get_metadata(ffmovie_ctx->fmt_ctx->metadata, "GENRE");
+ RETURN_STRINGL(val, strlen(val), 1);
}
/* }}} */
@@ -613,10 +631,12 @@ FFMPEG_PHP_METHOD(ffmpeg_movie, getGenre
FFMPEG_PHP_METHOD(ffmpeg_movie, getTrackNumber)
{
ff_movie_context *ffmovie_ctx;
+ const char* val;
GET_MOVIE_RESOURCE(ffmovie_ctx);
- RETURN_LONG(ffmovie_ctx->fmt_ctx->track);
+ val = get_metadata(ffmovie_ctx->fmt_ctx->metadata, "TRACK");
+ RETURN_STRINGL(val, strlen(val), 1);
}
/* }}} */
@@ -626,10 +646,12 @@ FFMPEG_PHP_METHOD(ffmpeg_movie, getTrack
FFMPEG_PHP_METHOD(ffmpeg_movie, getYear)
{
ff_movie_context *ffmovie_ctx;
+ const char* val;
GET_MOVIE_RESOURCE(ffmovie_ctx);
- RETURN_LONG(ffmovie_ctx->fmt_ctx->year);
+ val = get_metadata(ffmovie_ctx->fmt_ctx->metadata, "YEAR");
+ RETURN_STRINGL(val, strlen(val), 1);
}
/* }}} */
@@ -675,7 +697,7 @@ static float _php_get_framerate(ff_movie
}
#if LIBAVCODEC_BUILD > 4753
- if (GET_CODEC_FIELD(st->codec, codec_type) == CODEC_TYPE_VIDEO){
+ if (GET_CODEC_FIELD(st->codec, codec_type) == AVMEDIA_TYPE_VIDEO){
if (st->r_frame_rate.den && st->r_frame_rate.num) {
rate = av_q2d(st->r_frame_rate);
} else {
@@ -807,7 +829,7 @@ static long _php_get_framenumber(ff_movi
{
AVCodecContext *decoder_ctx = NULL;
- decoder_ctx = _php_get_decoder_context(ffmovie_ctx, CODEC_TYPE_VIDEO);
+ decoder_ctx = _php_get_decoder_context(ffmovie_ctx, AVMEDIA_TYPE_VIDEO);
if (!decoder_ctx) {
return 0;
}
@@ -847,7 +869,7 @@ static int _php_get_pixelformat(ff_movie
{
AVCodecContext *decoder_ctx;
- decoder_ctx = _php_get_decoder_context(ffmovie_ctx, CODEC_TYPE_VIDEO);
+ decoder_ctx = _php_get_decoder_context(ffmovie_ctx, AVMEDIA_TYPE_VIDEO);
return decoder_ctx ? decoder_ctx->pix_fmt : 0;
}
@@ -865,7 +887,7 @@ FFMPEG_PHP_METHOD(ffmpeg_movie, getPixel
GET_MOVIE_RESOURCE(ffmovie_ctx);
pix_fmt = _php_get_pixelformat(ffmovie_ctx);
- fmt = avcodec_get_pix_fmt_name(pix_fmt);
+ fmt = av_get_pix_fmt_name(pix_fmt);
if (fmt) {
/* cast const to non-const to keep compiler from complaining,
@@ -960,7 +982,7 @@ static const char* _php_get_codec_name(f
codec_name = decoder_ctx->codec_name;
} else {
/* output avi tags */
- if (decoder_ctx->codec_type == CODEC_TYPE_VIDEO) {
+ if (decoder_ctx->codec_type == AVMEDIA_TYPE_VIDEO) {
snprintf(buf1, sizeof(buf1), "%c%c%c%c",
decoder_ctx->codec_tag & 0xff,
(decoder_ctx->codec_tag >> 8) & 0xff,
@@ -986,7 +1008,7 @@ FFMPEG_PHP_METHOD(ffmpeg_movie, getVideo
GET_MOVIE_RESOURCE(ffmovie_ctx);
- codec_name = (char*)_php_get_codec_name(ffmovie_ctx, CODEC_TYPE_VIDEO);
+ codec_name = (char*)_php_get_codec_name(ffmovie_ctx, AVMEDIA_TYPE_VIDEO);
if (codec_name) {
RETURN_STRINGL(codec_name, strlen(codec_name), 1);
@@ -1006,7 +1028,7 @@ FFMPEG_PHP_METHOD(ffmpeg_movie, getAudio
GET_MOVIE_RESOURCE(ffmovie_ctx);
- codec_name = (char*)_php_get_codec_name(ffmovie_ctx, CODEC_TYPE_AUDIO);
+ codec_name = (char*)_php_get_codec_name(ffmovie_ctx, AVMEDIA_TYPE_AUDIO);
if (codec_name) {
RETURN_STRINGL(codec_name, strlen(codec_name), 1);
@@ -1026,7 +1048,7 @@ FFMPEG_PHP_METHOD(ffmpeg_movie, getVideo
GET_MOVIE_RESOURCE(ffmovie_ctx);
- stream_id= _php_get_stream_index(ffmovie_ctx->fmt_ctx, CODEC_TYPE_VIDEO);
+ stream_id= _php_get_stream_index(ffmovie_ctx->fmt_ctx, AVMEDIA_TYPE_VIDEO);
if( stream_id == -1 )
{
@@ -1048,7 +1070,7 @@ FFMPEG_PHP_METHOD(ffmpeg_movie, getAudio
GET_MOVIE_RESOURCE(ffmovie_ctx);
- stream_id= _php_get_stream_index(ffmovie_ctx->fmt_ctx, CODEC_TYPE_AUDIO);
+ stream_id= _php_get_stream_index(ffmovie_ctx->fmt_ctx, AVMEDIA_TYPE_AUDIO);
if( stream_id == -1 )
{
@@ -1086,7 +1108,7 @@ FFMPEG_PHP_METHOD(ffmpeg_movie, getAudio
GET_MOVIE_RESOURCE(ffmovie_ctx);
- channels = _php_get_codec_channels(ffmovie_ctx, CODEC_TYPE_AUDIO);
+ channels = _php_get_codec_channels(ffmovie_ctx, AVMEDIA_TYPE_AUDIO);
if (channels) {
RETURN_LONG(channels);
@@ -1122,7 +1144,7 @@ FFMPEG_PHP_METHOD(ffmpeg_movie, getAudio
GET_MOVIE_RESOURCE(ffmovie_ctx);
- sample_rate = _php_get_codec_sample_rate(ffmovie_ctx, CODEC_TYPE_AUDIO);
+ sample_rate = _php_get_codec_sample_rate(ffmovie_ctx, AVMEDIA_TYPE_AUDIO);
if (sample_rate) {
RETURN_LONG(sample_rate);
@@ -1158,7 +1180,7 @@ FFMPEG_PHP_METHOD(ffmpeg_movie, getAudio
GET_MOVIE_RESOURCE(ffmovie_ctx);
- bit_rate = _php_get_codec_bit_rate(ffmovie_ctx, CODEC_TYPE_AUDIO);
+ bit_rate = _php_get_codec_bit_rate(ffmovie_ctx, AVMEDIA_TYPE_AUDIO);
if (bit_rate) {
RETURN_LONG(bit_rate);
@@ -1178,7 +1200,7 @@ FFMPEG_PHP_METHOD(ffmpeg_movie, getVideo
GET_MOVIE_RESOURCE(ffmovie_ctx);
- bit_rate = _php_get_codec_bit_rate(ffmovie_ctx, CODEC_TYPE_VIDEO);
+ bit_rate = _php_get_codec_bit_rate(ffmovie_ctx, AVMEDIA_TYPE_VIDEO);
if (bit_rate) {
RETURN_LONG(bit_rate);
@@ -1201,7 +1223,7 @@ static AVFrame* _php_read_av_frame(ff_mo
int got_frame;
video_stream = _php_get_stream_index(ffmovie_ctx->fmt_ctx,
- CODEC_TYPE_VIDEO);
+ AVMEDIA_TYPE_VIDEO);
if (video_stream < 0) {
return NULL;
}
@@ -1212,11 +1234,10 @@ static AVFrame* _php_read_av_frame(ff_mo
while (av_read_frame(ffmovie_ctx->fmt_ctx, &packet) >= 0) {
if (packet.stream_index == video_stream) {
- avcodec_decode_video(decoder_ctx, frame, &got_frame,
- packet.data, packet.size);
+ avcodec_decode_video2(decoder_ctx, frame, &got_frame, &packet);
if (got_frame) {
- *is_keyframe = (packet.flags & PKT_FLAG_KEY);
+ *is_keyframe = (packet.flags & AV_PKT_FLAG_KEY);
*pts = packet.pts;
av_free_packet(&packet);
return frame;
@@ -1243,7 +1264,7 @@ static AVFrame* _php_get_av_frame(ff_mov
AVCodecContext *decoder_ctx = NULL;
AVFrame *frame = NULL;
- decoder_ctx = _php_get_decoder_context(ffmovie_ctx, CODEC_TYPE_VIDEO);
+ decoder_ctx = _php_get_decoder_context(ffmovie_ctx, AVMEDIA_TYPE_VIDEO);
if (decoder_ctx == NULL) {
return NULL;
}
@@ -1279,9 +1300,7 @@ static AVFrame* _php_get_av_frame(ff_mov
wanted_frame != GETFRAME_NEXTFRAME &&
wanted_frame - ffmovie_ctx->frame_number >
decoder_ctx->gop_size + 1) {
- decoder_ctx->hurry_up = 1;
- } else {
- decoder_ctx->hurry_up = 0;
+ decoder_ctx->skip_frame = AVDISCARD_BIDIR;
}
ffmovie_ctx->frame_number++;
@@ -1440,7 +1459,7 @@ static double _php_get_sample_aspect_rat
AVCodecContext *decoder_ctx;
- decoder_ctx = _php_get_decoder_context(ffmovie_ctx, CODEC_TYPE_VIDEO);
+ decoder_ctx = _php_get_decoder_context(ffmovie_ctx, AVMEDIA_TYPE_VIDEO);
if (!decoder_ctx) {
return -1;
}

@ -1,3 +1,4 @@
DIST ipython-0.10.1.tar.gz 5837840 RMD160 c4f0177f466f6bfb32d98e73b5235885bc470871 SHA1 1e5cfde5ba6d704e0ccd414e633116e4199d0d7a SHA256 227607ce3768ff84c2d7a272e50200f7ad180267bf735633e1e2d85fc4cbfca3
DIST ipython-0.10.2.tar.gz 5842688 RMD160 365a4eb9b534df1a9aa8717f173e9a032224ea01 SHA1 d45b97b0f458fd517cb2bfa9ebb3c671c46a21c0 SHA256 9ed5fe693d92e6ba9ecc3e367ae5607b80d66db53b0a636fa39fe15ae3df8c47
DIST ipython-0.10.tar.gz 5829939 RMD160 819609298bb000aa01c3af6ad2717d91d46e39d8 SHA1 175bbacf74d94336e3fe06e390e04ad2bfff6fd4 SHA256 60d602637dc5f078b083a4ca5ab64364ba816bd72439844012ed11a30f88228c
DIST ipython-0.12.tar.gz 9316219 RMD160 7086a8a5ebb5717091d1868907f6ae80abc9c7ab SHA1 49f6397d2957bb0a4492d0b35f3898dc161871de SHA256 261fb1ad6e8e60b19efbcde76636b71dd83cf894096c49b84f303963a60f95d8

@ -0,0 +1,89 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.12.ebuild,v 1.1 2012/01/08 22:07:39 bicatali Exp $
EAPI=4
# python eclass cruft
PYTHON_USE_DEPEND="readline sqlite"
PYTHON_MODNAME="IPython"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.[45]"
inherit distutils elisp-common eutils
DESCRIPTION="Advanced interactive shell for Python"
HOMEPAGE="http://ipython.org/"
SRC_URI="http://archive.ipython.org/release/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc emacs examples notebook +smp qt4 test wxwidgets"
CDEPEND="dev-python/pexpect
emacs? ( app-emacs/python-mode virtual/emacs )
smp? ( dev-python/pyzmq )
wxwidgets? ( dev-python/wxpython )"
RDEPEND="${CDEPEND}
notebook? ( www-servers/tornado
dev-python/pygments
dev-python/pyzmq )
qt4? ( || ( dev-python/PyQt4 dev-python/pyside )
dev-python/pygments
dev-python/pyzmq )"
DEPEND="${CDEPEND}
test? ( dev-python/nose )"
SITEFILE="62ipython-gentoo.el"
src_prepare() {
sed -i \
-e "/docdirbase/s:ipython:${PF}:" \
setupbase.py || die "sed failed"
if ! use doc; then
sed -i \
-e 's/+ manual_files//' \
setupbase.py || die "sed failed"
fi
if ! use examples; then
sed -i \
-e 's/+ example_files//' \
setupbase.py || die "sed failed"
fi
}
src_compile() {
distutils_src_compile
use emacs && elisp-compile docs/emacs/ipython.el
}
src_test() {
testing() {
pushd build-${PYTHON_ABI} > /dev/null
PYTHONPATH=lib PATH="scripts-${PYTHON_ABI}:${PTHONPATH}" \
iptest"$([[ ${PYTHON_ABI} == 3.* ]] && echo 3)"
popd > /dev/null
}
python_execute_function testing
}
src_install() {
distutils_src_install
if use emacs; then
pushd docs/emacs > /dev/null
elisp-install ${PN} ${PN}.el*
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
popd > /dev/null
fi
}
pkg_postinst() {
distutils_pkg_postinst
use emacs && elisp-site-regen
}
pkg_postrm() {
distutils_pkg_postrm
use emacs && elisp-site-regen
}

@ -40,4 +40,7 @@ Main features:
* 他のPython言語プログラムを組み込むのが簡単。
* pdbデバッガとprofilerへの統合アクセス。
</longdescription>
<use>
<flag name="notebook">Install requirements for the web notebook based on <pkg>www-servers/tornado</pkg></flag>
</use>
</pkgmetadata>

@ -1,2 +1 @@
DIST numexpr-1.4.2.tar.gz 64172 RMD160 30528db9e097632fe4350d0eb677298317ba72fa SHA1 9874be16e404d1d8550c2fd14b61a4520a387153 SHA256 38f73f0402bca52566186dbeca586989617c02f8f23a31085cf27eb5fd654967
DIST numexpr-2.0.tar.gz 67696 RMD160 a9cd0b593b7a6959984ed254880aeb316c835078 SHA1 a3bd3e5bd61fbf7fde1a4fc917fc6658864f6a11 SHA256 4f28224db3c308ef80f2aa4346dc920047514e461d004db68efd103e8f3e2c40
DIST numexpr-2.0.1.tar.gz 68549 RMD160 afc9e460954ebf9040830e70c6ff3167a2fec259 SHA1 71121246f550290d98e23e93a3ebe140c01aea2a SHA256 29492a08d5137c9a3a369527a899680ef7c1908cd4851ad2827b6c1d3767b092

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save