parent
8d3f5db2ef
commit
7979f98bb9
@ -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,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
|
||||
}
|
@ -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
|
||||
}
|
@ -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,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,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
|
||||
}
|
@ -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,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
|
@ -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
|
||||
}
|
@ -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,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
|
||||
}
|
@ -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"
|
@ -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
|
||||
"
|
@ -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
|
||||
}
|
@ -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…
Reference in new issue