Sync with portage [Sun Jun 1 23:18:47 MSK 2014].
This commit is contained in:
parent
0630bc4342
commit
141f3500d9
815 changed files with 9005 additions and 6490 deletions
|
@ -1 +1,2 @@
|
|||
DIST md5deep-4.3.tar.gz 1416180 SHA256 905bcf8bddf0e7e2650b280d5e7af8cb8cd41dad4f299751dfec397dcb4f8d54 SHA512 fe1240e6ae039b18d35a9de0cf15fb77eaac9d5505b6b550eb32858bf6d603f8186de06114d40325d5071640f46cec70795e9c192fa7b6ca9022a12c212a9b14 WHIRLPOOL 89fe1f5a5a9502660f823608b7fc5c752d3b71acbb210a4ce7c9349e02bbbc131b26df29f69cbae2ba234685cf0db38014d71f2b019f8189bd0e05e6c2b81e52
|
||||
DIST md5deep-4.4.tar.gz 4534687 SHA256 dbda8ab42a9c788d4566adcae980d022d8c3d52ee732f1cbfa126c551c8fcc46 SHA512 c37ec85ed04d4452f9038f43434c02e064cf9e17c4eaa233867dba0236443922a14ccb8ec76c68820087751c2ca3db014d3f17dd8fcd2c2bde84d620aae50de1 WHIRLPOOL 2b85d77c6108b012dcca632b54a55b1fc7c942e7efbf6be26ffdf6ed17ce66909fbeae397f139f494385856f7acfaebf4041677c24e0b4ef9e5803f776fee1f3
|
||||
|
|
22
app-crypt/md5deep/md5deep-4.4.ebuild
Normal file
22
app-crypt/md5deep/md5deep-4.4.ebuild
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-4.4.ebuild,v 1.1 2014/06/01 12:57:02 tristan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="Expanded md5sum program with recursive and comparison options"
|
||||
HOMEPAGE="http://md5deep.sourceforge.net/"
|
||||
SRC_URI="https://github.com/jessek/hashdeep/archive/release-${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/hashdeep-release-${PV}
|
||||
|
||||
DOCS=( AUTHORS ChangeLog FILEFORMAT NEWS README.md TODO )
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/verbiste/verbiste-0.1.38-r1.ebuild,v 1.1 2014/05/18 18:18:03 pacho Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/verbiste/verbiste-0.1.38-r1.ebuild,v 1.2 2014/05/31 19:14:07 nimiux Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
|
@ -12,7 +12,7 @@ SRC_URI="http://sarrazip.com/dev/${P}.tar.gz"
|
|||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
KEYWORDS="amd64 ~ppc ~x86"
|
||||
|
||||
IUSE="gtk"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/pms/pms-5-r2.ebuild,v 1.11 2014/01/15 19:31:57 ulm Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/pms/pms-5-r2.ebuild,v 1.12 2014/06/01 14:43:14 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -11,7 +11,7 @@ SRC_URI="!binary? ( http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz )
|
|||
|
||||
LICENSE="CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="binary html"
|
||||
|
||||
DEPEND="!binary? (
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
DIST emacs-24.3.91.tar.xz 39423508 SHA256 40cee18cecd3a54b6b14dd2d9d46bf3de625a1649c39fa8826be42ad47dd217a SHA512 e944755ed464d269b535125f154127215ece9413e369286fe9d572bd32d9ef6160627a19644a9d80593c30d58412c55bb0559d06a7332d9090cb5fea718e1395 WHIRLPOOL f6b31889faa64a359969a33d319461865183d2a40ca61bab3398f07b9a939ac9f6ac8c9f84277e13682032a3f3efdcaf64c6dedf482a05c6c382373e8a27e826
|
||||
DIST emacs-24.4.50_pre20140512.tar.xz 24025212 SHA256 6df0c15aa736de7836b0f6124cfd82bc9c6b730e9fa8e7a696b9c09d15f1c2a9 SHA512 5cf1c192948447a30f364ec0ded15a4e543e0315f7be29107ced7f399afdfc4d45faab5da9c3c06e9ccd17845bc8de3aa53d059fc4453337bbe2c8abb4a5dd9e WHIRLPOOL 2ac765473d09f14064875e7e6d7677492230c353cef2d3fcb2f53eb31e1a31ecac385932e079111a3bdf76acd5010a71e66dbe28059d1c13f46910124828f87f
|
||||
DIST emacs-24.4.50_pre20140531.tar.xz 24040952 SHA256 9697cedafa3259d472481b368dd04986ee35ca7923341da4d415c62e4f6e5983 SHA512 c48f7f0f737a126a82f20a2230bdc433959b2d9548fd1c9c993a6c6d26218e75dc10835f7b0b7d421a989fee7507683ab1efd356170d9c5eadcae484b5fda6e3 WHIRLPOOL 54e4ec7dd75af36594eb340d16e450a2786615035134aa159dc0c113f77a65813b125542d957193fe64f25b37e2289955ef2abf8e492b6775fbd314e22c4c059
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 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.4.50_pre20140512.ebuild,v 1.2 2014/05/16 20:10:42 ulm Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.4.50_pre20140512.ebuild,v 1.3 2014/06/01 09:20:29 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -32,7 +32,6 @@ HOMEPAGE="http://www.gnu.org/software/emacs/"
|
|||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||
SLOT="24"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="acl alsa aqua athena dbus games gconf gfile gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
|
|
362
app-editors/emacs-vcs/emacs-vcs-24.4.50_pre20140531.ebuild
Normal file
362
app-editors/emacs-vcs/emacs-vcs-24.4.50_pre20140531.ebuild
Normal file
|
@ -0,0 +1,362 @@
|
|||
# Copyright 1999-2014 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.4.50_pre20140531.ebuild,v 1.1 2014/06/01 09:20:29 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
|
||||
|
||||
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}"
|
||||
EBZR_UNPACK_DIR="${WORKDIR}/emacs"
|
||||
EBZR_WORKDIR_CHECKOUT="t" #434746
|
||||
inherit bzr
|
||||
S="${EBZR_UNPACK_DIR}"
|
||||
else
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/distfiles/emacs-${PV}.tar.xz
|
||||
mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.xz"
|
||||
# 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}"
|
||||
S="${WORKDIR}/emacs"
|
||||
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 HPND MIT W3C unicode PSF-2"
|
||||
SLOT="24"
|
||||
IUSE="acl alsa aqua athena dbus games gconf gfile gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.16
|
||||
>=app-emacs/emacs-common-gentoo-1.4-r1[games?,X?]
|
||||
net-libs/liblockfile
|
||||
acl? ( virtual/acl )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
dbus? ( sys-apps/dbus )
|
||||
gfile? ( >=dev-libs/glib-2.28.6 )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
gpm? ( sys-libs/gpm )
|
||||
hesiod? ( net-dns/hesiod )
|
||||
kerberos? ( virtual/krb5 )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
zlib? ( sys-libs/zlib )
|
||||
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:0= )
|
||||
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? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( athena? ( x11-libs/libXaw ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? (
|
||||
sys-apps/attr
|
||||
sys-apps/paxctl
|
||||
)"
|
||||
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
DEPEND="${DEPEND}
|
||||
sys-apps/texinfo"
|
||||
fi
|
||||
|
||||
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[ \t]*\([^ \t,)]*\).*/\1/p' \
|
||||
configure.ac)
|
||||
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
|
||||
einfo "Emacs branch: ${EBZR_BRANCH}"
|
||||
einfo "Revision: ${EBZR_REVISION:-${EBZR_REVNO}}"
|
||||
einfo "Emacs version number: ${FULL_VERSION}"
|
||||
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
||||
|| die "Upstream version number changed to ${FULL_VERSION}"
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
# Fix filename reference in redirected man page
|
||||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|
||||
|| die "unable to sed ctags.1"
|
||||
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
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; then
|
||||
use sound || ewarn \
|
||||
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
||||
myconf+=" --with-sound=alsa"
|
||||
else
|
||||
myconf+=" --with-sound=$(usex sound oss)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf+=" --with-x --without-ns"
|
||||
myconf+=" $(use_with gconf)"
|
||||
myconf+=" $(use_with gsettings)"
|
||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
||||
myconf+=" $(use_with gif)"
|
||||
myconf+=" $(use_with jpeg)"
|
||||
myconf+=" $(use_with png)"
|
||||
myconf+=" $(use_with svg rsvg)"
|
||||
myconf+=" $(use_with tiff)"
|
||||
myconf+=" $(use_with xpm)"
|
||||
myconf+=" $(use_with imagemagick)"
|
||||
|
||||
if use xft; then
|
||||
myconf+=" --with-xft"
|
||||
myconf+=" $(use_with m17n-lib libotf)"
|
||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf+=" --without-xft"
|
||||
myconf+=" --without-libotf --without-m17n-flt"
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
local f
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
|
||||
for f in motif Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
||||
done
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf+=" --with-x-toolkit=motif"
|
||||
for f in Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf+=" --with-x-toolkit=no"
|
||||
fi
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Nextstep (Cocoa) support"
|
||||
myconf+=" --with-ns --disable-ns-self-contained"
|
||||
myconf+=" --without-x"
|
||||
else
|
||||
myconf+=" --without-x --without-ns"
|
||||
fi
|
||||
|
||||
# Save version information in the Emacs binary. It will be available
|
||||
# in variable "system-configuration-options".
|
||||
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
myconf+=" EBZR_BRANCH=${EBZR_BRANCH} EBZR_REVNO=${EBZR_REVNO}"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--program-suffix="-${EMACS_SUFFIX}" \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
--without-compress-install \
|
||||
--with-file-notification=$(usev gfile || usev inotify || echo no) \
|
||||
$(use_enable acl) \
|
||||
$(use_with dbus) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with gpm) \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with selinux) \
|
||||
$(use_with wide-int) \
|
||||
$(use_with zlib) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
emake
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" NO_BIN_LINK=t install
|
||||
|
||||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \
|
||||
|| die "moving emacs executable failed"
|
||||
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \
|
||||
|| die "moving emacs man page failed"
|
||||
|
||||
# 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 -rf "${ED}"/var
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
if use gzip-el; then
|
||||
# compress .el files when a corresponding .elc exists
|
||||
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
||||
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
||||
assert "gzip .el failed"
|
||||
fi
|
||||
|
||||
local cdir
|
||||
if use source; then
|
||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||
insinto "${cdir}"
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
elif has installsources ${FEATURES}; then
|
||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||
fi
|
||||
|
||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
Y (setq find-function-C-source-directory
|
||||
Y "${EPREFIX}${cdir}")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS
|
||||
|
||||
if use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||
fi
|
||||
|
||||
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
|
||||
through the Emacs eselect module, which also redirects man and info
|
||||
pages. Therefore, several Emacs versions can be installed at the
|
||||
same time. \"man emacs.eselect\" for details.
|
||||
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
|
||||
strongly recommended that you use app-admin/emacs-updater to rebuild
|
||||
all byte-compiled elisp files of the installed Emacs packages."
|
||||
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
||||
machine would satisfy basic Emacs requirements under X11.
|
||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
||||
for how to enable anti-aliased fonts."
|
||||
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
|
||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
|
||||
it into /Applications by yourself."
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
elif [[ -d "${ED}"${infodir} ]]; then
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${ED}"${infodir}/dir{,.*}
|
||||
for f in "${ED}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
|
||||
local pvr
|
||||
for pvr in ${REPLACING_VERSIONS}; do
|
||||
[[ ${pvr%%[-_]*} = 24.[12] ]] && FORCE_PRINT_ELOG=1
|
||||
done
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use livecd; then
|
||||
# force an update of the emacs symlink for the livecd/dvd,
|
||||
# because some microemacs packages set it with USE=livecd
|
||||
eselect emacs update
|
||||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
||||
# refresh symlinks in case any installed files have changed
|
||||
eselect emacs set ${EMACS_SUFFIX}
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/color-theme/color-theme-6.6.0-r1.ebuild,v 1.8 2014/02/18 20:12:15 ulm Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/color-theme/color-theme-6.6.0-r1.ebuild,v 1.9 2014/06/01 10:39:50 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -12,7 +12,7 @@ SRC_URI="http://download.savannah.gnu.org/releases-noredirect/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
|
||||
ELISP_PATCHES="${P}-replace-in-string.patch"
|
||||
ELISP_REMOVE="color-theme-autoloads.*"
|
||||
|
|
40
app-emulation/qemu/files/qemu-2.0.0-CVE-2013-4541.patch
Normal file
40
app-emulation/qemu/files/qemu-2.0.0-CVE-2013-4541.patch
Normal file
|
@ -0,0 +1,40 @@
|
|||
From 9f8e9895c504149d7048e9fc5eb5cbb34b16e49a Mon Sep 17 00:00:00 2001
|
||||
From: "Michael S. Tsirkin" <mst@redhat.com>
|
||||
Date: Thu, 3 Apr 2014 19:52:25 +0300
|
||||
Subject: [PATCH] usb: sanity check setup_index+setup_len in post_load
|
||||
|
||||
CVE-2013-4541
|
||||
|
||||
s->setup_len and s->setup_index are fed into usb_packet_copy as
|
||||
size/offset into s->data_buf, it's possible for invalid state to exploit
|
||||
this to load arbitrary data.
|
||||
|
||||
setup_len and setup_index should be checked to make sure
|
||||
they are not negative.
|
||||
|
||||
Cc: Gerd Hoffmann <kraxel@redhat.com>
|
||||
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
||||
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
|
||||
Signed-off-by: Juan Quintela <quintela@redhat.com>
|
||||
---
|
||||
hw/usb/bus.c | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/hw/usb/bus.c b/hw/usb/bus.c
|
||||
index fe70429..e48b19f 100644
|
||||
--- a/hw/usb/bus.c
|
||||
+++ b/hw/usb/bus.c
|
||||
@@ -49,7 +49,9 @@ static int usb_device_post_load(void *opaque, int version_id)
|
||||
} else {
|
||||
dev->attached = 1;
|
||||
}
|
||||
- if (dev->setup_index >= sizeof(dev->data_buf) ||
|
||||
+ if (dev->setup_index < 0 ||
|
||||
+ dev->setup_len < 0 ||
|
||||
+ dev->setup_index >= sizeof(dev->data_buf) ||
|
||||
dev->setup_len >= sizeof(dev->data_buf)) {
|
||||
return -EINVAL;
|
||||
}
|
||||
--
|
||||
1.9.3
|
||||
|
48
app-emulation/qemu/files/qemu-2.0.0-CVE-2014-0222.patch
Normal file
48
app-emulation/qemu/files/qemu-2.0.0-CVE-2014-0222.patch
Normal file
|
@ -0,0 +1,48 @@
|
|||
From 42eb58179b3b215bb507da3262b682b8a2ec10b5 Mon Sep 17 00:00:00 2001
|
||||
From: Kevin Wolf <kwolf@redhat.com>
|
||||
Date: Thu, 15 May 2014 16:10:11 +0200
|
||||
Subject: [PATCH] qcow1: Validate L2 table size (CVE-2014-0222)
|
||||
|
||||
Too large L2 table sizes cause unbounded allocations. Images actually
|
||||
created by qemu-img only have 512 byte or 4k L2 tables.
|
||||
|
||||
To keep things consistent with cluster sizes, allow ranges between 512
|
||||
bytes and 64k (in fact, down to 1 entry = 8 bytes is technically
|
||||
working, but L2 table sizes smaller than a cluster don't make a lot of
|
||||
sense).
|
||||
|
||||
This also means that the number of bytes on the virtual disk that are
|
||||
described by the same L2 table is limited to at most 8k * 64k or 2^29,
|
||||
preventively avoiding any integer overflows.
|
||||
|
||||
Cc: qemu-stable@nongnu.org
|
||||
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
||||
Reviewed-by: Benoit Canet <benoit@irqsave.net>
|
||||
---
|
||||
block/qcow.c | 8 ++++++++
|
||||
tests/qemu-iotests/092 | 15 +++++++++++++++
|
||||
tests/qemu-iotests/092.out | 11 +++++++++++
|
||||
3 files changed, 34 insertions(+)
|
||||
|
||||
diff --git a/block/qcow.c b/block/qcow.c
|
||||
index e60df23..e8038e5 100644
|
||||
--- a/block/qcow.c
|
||||
+++ b/block/qcow.c
|
||||
@@ -139,6 +139,14 @@ static int qcow_open(BlockDriverState *bs, QDict *options, int flags,
|
||||
goto fail;
|
||||
}
|
||||
|
||||
+ /* l2_bits specifies number of entries; storing a uint64_t in each entry,
|
||||
+ * so bytes = num_entries << 3. */
|
||||
+ if (header.l2_bits < 9 - 3 || header.l2_bits > 16 - 3) {
|
||||
+ error_setg(errp, "L2 table size must be between 512 and 64k");
|
||||
+ ret = -EINVAL;
|
||||
+ goto fail;
|
||||
+ }
|
||||
+
|
||||
if (header.crypt_method > QCOW_CRYPT_AES) {
|
||||
error_setg(errp, "invalid encryption method in qcow header");
|
||||
ret = -EINVAL;
|
||||
--
|
||||
1.9.3
|
||||
|
57
app-emulation/qemu/files/qemu-2.0.0-CVE-2014-0223.patch
Normal file
57
app-emulation/qemu/files/qemu-2.0.0-CVE-2014-0223.patch
Normal file
|
@ -0,0 +1,57 @@
|
|||
From 46485de0cb357b57373e1ca895adedf1f3ed46ec Mon Sep 17 00:00:00 2001
|
||||
From: Kevin Wolf <kwolf@redhat.com>
|
||||
Date: Thu, 8 May 2014 13:08:20 +0200
|
||||
Subject: [PATCH] qcow1: Validate image size (CVE-2014-0223)
|
||||
|
||||
A huge image size could cause s->l1_size to overflow. Make sure that
|
||||
images never require a L1 table larger than what fits in s->l1_size.
|
||||
|
||||
This cannot only cause unbounded allocations, but also the allocation of
|
||||
a too small L1 table, resulting in out-of-bounds array accesses (both
|
||||
reads and writes).
|
||||
|
||||
Cc: qemu-stable@nongnu.org
|
||||
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
||||
---
|
||||
block/qcow.c | 16 ++++++++++++++--
|
||||
tests/qemu-iotests/092 | 9 +++++++++
|
||||
tests/qemu-iotests/092.out | 7 +++++++
|
||||
3 files changed, 30 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/block/qcow.c b/block/qcow.c
|
||||
index e8038e5..3566c05 100644
|
||||
--- a/block/qcow.c
|
||||
+++ b/block/qcow.c
|
||||
@@ -61,7 +61,7 @@ typedef struct BDRVQcowState {
|
||||
int cluster_sectors;
|
||||
int l2_bits;
|
||||
int l2_size;
|
||||
- int l1_size;
|
||||
+ unsigned int l1_size;
|
||||
uint64_t cluster_offset_mask;
|
||||
uint64_t l1_table_offset;
|
||||
uint64_t *l1_table;
|
||||
@@ -166,7 +166,19 @@ static int qcow_open(BlockDriverState *bs, QDict *options, int flags,
|
||||
|
||||
/* read the level 1 table */
|
||||
shift = s->cluster_bits + s->l2_bits;
|
||||
- s->l1_size = (header.size + (1LL << shift) - 1) >> shift;
|
||||
+ if (header.size > UINT64_MAX - (1LL << shift)) {
|
||||
+ error_setg(errp, "Image too large");
|
||||
+ ret = -EINVAL;
|
||||
+ goto fail;
|
||||
+ } else {
|
||||
+ uint64_t l1_size = (header.size + (1LL << shift) - 1) >> shift;
|
||||
+ if (l1_size > INT_MAX / sizeof(uint64_t)) {
|
||||
+ error_setg(errp, "Image too large");
|
||||
+ ret = -EINVAL;
|
||||
+ goto fail;
|
||||
+ }
|
||||
+ s->l1_size = l1_size;
|
||||
+ }
|
||||
|
||||
s->l1_table_offset = header.l1_table_offset;
|
||||
s->l1_table = g_malloc(s->l1_size * sizeof(uint64_t));
|
||||
--
|
||||
1.9.3
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
From 7159a45b2bf2dcb9f49f1e27d1d3d135a0247a2f Mon Sep 17 00:00:00 2001
|
||||
From: Kevin Wolf <kwolf@redhat.com>
|
||||
Date: Wed, 7 May 2014 17:30:30 +0200
|
||||
Subject: [PATCH] qcow1: Check maximum cluster size
|
||||
|
||||
Huge values for header.cluster_bits cause unbounded allocations (e.g.
|
||||
for s->cluster_cache) and crash qemu this way. Less huge values may
|
||||
survive those allocations, but can cause integer overflows later on.
|
||||
|
||||
The only cluster sizes that qemu can create are 4k (for standalone
|
||||
images) and 512 (for images with backing files), so we can limit it
|
||||
to 64k.
|
||||
|
||||
Cc: qemu-stable@nongnu.org
|
||||
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
||||
Reviewed-by: Benoit Canet <benoit@irqsave.net>
|
||||
---
|
||||
block/qcow.c | 10 ++++++--
|
||||
tests/qemu-iotests/092 | 63 ++++++++++++++++++++++++++++++++++++++++++++++
|
||||
tests/qemu-iotests/092.out | 13 ++++++++++
|
||||
tests/qemu-iotests/group | 1 +
|
||||
4 files changed, 85 insertions(+), 2 deletions(-)
|
||||
create mode 100755 tests/qemu-iotests/092
|
||||
create mode 100644 tests/qemu-iotests/092.out
|
||||
|
||||
diff --git a/block/qcow.c b/block/qcow.c
|
||||
index 3684794..e60df23 100644
|
||||
--- a/block/qcow.c
|
||||
+++ b/block/qcow.c
|
||||
@@ -128,11 +128,17 @@ static int qcow_open(BlockDriverState *bs, QDict *options, int flags,
|
||||
goto fail;
|
||||
}
|
||||
|
||||
- if (header.size <= 1 || header.cluster_bits < 9) {
|
||||
- error_setg(errp, "invalid value in qcow header");
|
||||
+ if (header.size <= 1) {
|
||||
+ error_setg(errp, "Image size is too small (must be at least 2 bytes)");
|
||||
ret = -EINVAL;
|
||||
goto fail;
|
||||
}
|
||||
+ if (header.cluster_bits < 9 || header.cluster_bits > 16) {
|
||||
+ error_setg(errp, "Cluster size must be between 512 and 64k");
|
||||
+ ret = -EINVAL;
|
||||
+ goto fail;
|
||||
+ }
|
||||
+
|
||||
if (header.crypt_method > QCOW_CRYPT_AES) {
|
||||
error_setg(errp, "invalid encryption method in qcow header");
|
||||
ret = -EINVAL;
|
||||
--
|
||||
1.9.3
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
https://bugs.gentoo.org/510208
|
||||
|
||||
From 719ffe1f5f72b1c7ace4afe9ba2815bcb53a829e Mon Sep 17 00:00:00 2001
|
||||
From: "Michael S. Tsirkin" <mst@redhat.com>
|
||||
Date: Tue, 13 May 2014 12:33:16 +0300
|
||||
Subject: [PATCH] usb: fix up post load checks
|
||||
|
||||
Correct post load checks:
|
||||
1. dev->setup_len == sizeof(dev->data_buf)
|
||||
seems fine, no need to fail migration
|
||||
2. When state is DATA, passing index > len
|
||||
will cause memcpy with negative length,
|
||||
resulting in heap overflow
|
||||
|
||||
First of the issues was reported by dgilbert.
|
||||
|
||||
Reported-by: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
|
||||
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
||||
Signed-off-by: Juan Quintela <quintela@redhat.com>
|
||||
---
|
||||
hw/usb/bus.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/hw/usb/bus.c b/hw/usb/bus.c
|
||||
index 699aa10..927a47b 100644
|
||||
--- a/hw/usb/bus.c
|
||||
+++ b/hw/usb/bus.c
|
||||
@@ -51,8 +51,8 @@ static int usb_device_post_load(void *opaque, int version_id)
|
||||
}
|
||||
if (dev->setup_index < 0 ||
|
||||
dev->setup_len < 0 ||
|
||||
- dev->setup_index >= sizeof(dev->data_buf) ||
|
||||
- dev->setup_len >= sizeof(dev->data_buf)) {
|
||||
+ dev->setup_index > dev->setup_len ||
|
||||
+ dev->setup_len > sizeof(dev->data_buf)) {
|
||||
return -EINVAL;
|
||||
}
|
||||
return 0;
|
||||
--
|
||||
1.9.3
|
||||
|
554
app-emulation/qemu/qemu-2.0.0-r1.ebuild
Normal file
554
app-emulation/qemu/qemu-2.0.0-r1.ebuild
Normal file
|
@ -0,0 +1,554 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-2.0.0-r1.ebuild,v 1.2 2014/05/31 16:14:44 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="ncurses,readline"
|
||||
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
|
||||
user udev fcaps readme.gentoo
|
||||
|
||||
BACKPORTS=
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="accessibility +aio alsa bluetooth +caps +curl debug +fdt glusterfs \
|
||||
gtk iscsi +jpeg \
|
||||
kernel_linux kernel_FreeBSD ncurses opengl +png pulseaudio python \
|
||||
rbd sasl +seccomp sdl selinux smartcard spice ssh static static-softmmu \
|
||||
static-user systemtap tci test +threads tls usb usbredir +uuid vde +vhost-net \
|
||||
virtfs +vnc xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="aarch64 alpha arm cris i386 m68k microblaze microblazeel mips
|
||||
mips64 mips64el mipsel or32 ppc ppc64 s390x sh4 sh4eb sparc sparc64 unicore32
|
||||
x86_64"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 moxie ppcemb xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 sparc32plus"
|
||||
|
||||
use_targets="
|
||||
$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
|
||||
$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
|
||||
"
|
||||
IUSE+=" ${use_targets}"
|
||||
|
||||
# Require at least one softmmu or user target.
|
||||
# Block USE flag configurations known to not work.
|
||||
REQUIRED_USE="|| ( ${use_targets} )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
qemu_softmmu_targets_arm? ( fdt )
|
||||
qemu_softmmu_targets_microblaze? ( fdt )
|
||||
qemu_softmmu_targets_ppc? ( fdt )
|
||||
qemu_softmmu_targets_ppc64? ( fdt )
|
||||
static? ( static-softmmu static-user )
|
||||
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk )
|
||||
virtfs? ( xattr )"
|
||||
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
COMMON_LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]"
|
||||
SOFTMMU_LIB_DEPEND="${COMMON_LIB_DEPEND}
|
||||
>=x11-libs/pixman-0.28.0[static-libs(+)]
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
|
||||
jpeg? ( virtual/jpeg[static-libs(+)] )
|
||||
ncurses? ( sys-libs/ncurses[static-libs(+)] )
|
||||
png? ( media-libs/libpng[static-libs(+)] )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
|
||||
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
|
||||
spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] )
|
||||
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
|
||||
tls? ( net-libs/gnutls[static-libs(+)] )
|
||||
usb? ( >=dev-libs/libusb-1.0.18[static-libs(+)] )
|
||||
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
USER_LIB_DEPEND="${COMMON_LIB_DEPEND}"
|
||||
RDEPEND="!static-softmmu? ( ${SOFTMMU_LIB_DEPEND//\[static-libs(+)]} )
|
||||
!static-user? ( ${USER_LIB_DEPEND//\[static-libs(+)]} )
|
||||
qemu_softmmu_targets_i386? (
|
||||
>=sys-firmware/ipxe-1.0.0_p20130624
|
||||
~sys-firmware/seabios-1.7.4
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
qemu_softmmu_targets_x86_64? (
|
||||
>=sys-firmware/ipxe-1.0.0_p20130624
|
||||
~sys-firmware/seabios-1.7.4
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
accessibility? ( app-accessibility/brltty )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
gtk? (
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/vte:2.90
|
||||
)
|
||||
iscsi? ( net-libs/libiscsi )
|
||||
opengl? ( virtual/opengl )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
sdl? ( media-libs/libsdl[X] )
|
||||
selinux? ( sec-policy/selinux-qemu )
|
||||
smartcard? ( dev-libs/nss !app-emulation/libcacard )
|
||||
spice? ( >=app-emulation/spice-protocol-0.12.3 )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
usbredir? ( >=sys-apps/usbredir-0.6 )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xen? ( app-emulation/xen-tools )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
=dev-lang/python-2*
|
||||
sys-apps/texinfo
|
||||
virtual/pkgconfig
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
static-softmmu? ( ${SOFTMMU_LIB_DEPEND} )
|
||||
static-user? ( ${USER_LIB_DEPEND} )
|
||||
test? (
|
||||
dev-libs/glib[utils]
|
||||
sys-devel/bc
|
||||
)"
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper
|
||||
usr/share/qemu/s390-ccw.img"
|
||||
|
||||
QA_WX_LOAD="usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-microblazeel
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-or32
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus
|
||||
usr/bin/qemu-s390x
|
||||
usr/bin/qemu-unicore32"
|
||||
|
||||
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure
|
||||
you have the kernel module loaded before running kvm. The easiest way to
|
||||
ensure that the kernel module is loaded is to load it on boot.\n
|
||||
For AMD CPUs the module is called 'kvm-amd'\n
|
||||
For Intel CPUs the module is called 'kvm-intel'\n
|
||||
Please review /etc/conf.d/modules for how to load these\n\n
|
||||
Make sure your user is in the 'kvm' group\n
|
||||
Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
|
||||
|
||||
qemu_support_kvm() {
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
|
||||
use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \
|
||||
use qemu_softmmu_targets_s390x; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_TUN+=" virtual network device if using -net tap."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||
ERROR_VHOST_NET+=" support"
|
||||
|
||||
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
|
||||
fi
|
||||
|
||||
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup kvm 78
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i -r \
|
||||
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
epatch "${FILESDIR}"/qemu-1.7.0-cflags.patch
|
||||
epatch "${FILESDIR}"/qemu-9999-virtfs-proxy-helper-accept.patch #486714
|
||||
epatch "${FILESDIR}"/${P}-CVE-2013-4541.patch #510208
|
||||
epatch "${FILESDIR}"/${P}-usb-post-load-checks.patch #510208
|
||||
epatch "${FILESDIR}"/${P}-qcow-check-max-sizes.patch #510234
|
||||
epatch "${FILESDIR}"/${P}-CVE-2014-0222.patch #510234
|
||||
epatch "${FILESDIR}"/${P}-CVE-2014-0223.patch #510234
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
# Fix ld and objcopy being called directly
|
||||
tc-export AR LD OBJCOPY
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
##
|
||||
# configures qemu based on the build directory and the build type
|
||||
# we are using.
|
||||
#
|
||||
qemu_src_configure() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
local buildtype=$1
|
||||
local builddir=$2
|
||||
local static_flag="static-${buildtype}"
|
||||
|
||||
# audio options
|
||||
local audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
|
||||
local conf_opts=(
|
||||
--prefix=/usr
|
||||
--sysconfdir=/etc
|
||||
--libdir=/usr/$(get_libdir)
|
||||
--docdir=/usr/share/doc/${PF}/html
|
||||
--disable-bsd-user
|
||||
--disable-guest-agent
|
||||
--disable-strip
|
||||
--disable-werror
|
||||
--python="${PYTHON}"
|
||||
--cc="$(tc-getCC)"
|
||||
--cxx="$(tc-getCXX)"
|
||||
--host-cc="$(tc-getBUILD_CC)"
|
||||
$(use_enable debug debug-info)
|
||||
$(use_enable debug debug-tcg)
|
||||
--enable-docs
|
||||
$(use_enable tci tcg-interpreter)
|
||||
)
|
||||
|
||||
case ${buildtype} in
|
||||
user)
|
||||
conf_opts+=(
|
||||
--enable-linux-user
|
||||
--disable-system
|
||||
--target-list="${user_targets}"
|
||||
--disable-blobs
|
||||
--disable-bluez
|
||||
--disable-curses
|
||||
--disable-kvm
|
||||
--disable-libiscsi
|
||||
--disable-glusterfs
|
||||
--disable-seccomp
|
||||
--disable-sdl
|
||||
--disable-smartcard-nss
|
||||
--disable-tools
|
||||
--disable-vde
|
||||
--disable-libssh2
|
||||
--disable-libusb
|
||||
)
|
||||
;;
|
||||
softmmu)
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--enable-system
|
||||
--with-system-pixman
|
||||
--target-list="${softmmu_targets}"
|
||||
$(use_enable bluetooth bluez)
|
||||
$(use_enable gtk)
|
||||
$(use_enable sdl)
|
||||
$(use_enable aio linux-aio)
|
||||
$(use_enable accessibility brlapi)
|
||||
$(use_enable caps cap-ng)
|
||||
$(use_enable curl)
|
||||
$(use_enable fdt)
|
||||
$(use_enable glusterfs)
|
||||
$(use_enable iscsi libiscsi)
|
||||
$(use_enable jpeg vnc-jpeg)
|
||||
$(use_enable kernel_linux kvm)
|
||||
$(use_enable ncurses curses)
|
||||
$(use_enable opengl glx)
|
||||
$(use_enable png vnc-png)
|
||||
$(use_enable rbd)
|
||||
$(use_enable sasl vnc-sasl)
|
||||
$(use_enable seccomp)
|
||||
$(use_enable smartcard smartcard-nss)
|
||||
$(use_enable spice)
|
||||
$(use_enable ssh libssh2)
|
||||
$(use_enable tls vnc-tls)
|
||||
$(use_enable tls vnc-ws)
|
||||
$(use_enable usb libusb)
|
||||
$(use_enable usbredir usb-redir)
|
||||
$(use_enable uuid)
|
||||
$(use_enable vde)
|
||||
$(use_enable vhost-net)
|
||||
$(use_enable virtfs)
|
||||
$(use_enable vnc)
|
||||
$(use_enable xattr attr)
|
||||
$(use_enable xen)
|
||||
$(use_enable xen xen-pci-passthrough)
|
||||
$(use_enable xfs xfsctl)
|
||||
--audio-drv-list="${audio_opts}"
|
||||
)
|
||||
use gtk && conf_opts+=( --with-gtkabi=3.0 )
|
||||
;;
|
||||
esac
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts+=( --enable-trace-backend=dtrace )
|
||||
|
||||
# We always want to attempt to build with PIE support as it results
|
||||
# in a more secure binary. But it doesn't work with static or if
|
||||
# the current GCC doesn't have PIE support.
|
||||
if use ${static_flag}; then
|
||||
conf_opts+=( --static --disable-pie )
|
||||
else
|
||||
gcc-specs-pie && conf_opts+=( --enable-pie )
|
||||
fi
|
||||
|
||||
einfo "./configure ${conf_opts[*]}"
|
||||
cd "${builddir}"
|
||||
../configure "${conf_opts[@]}" || die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -i -E -e "s|^(HOST_USB=)bsd|\1stub|" "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local target
|
||||
|
||||
python_export_best
|
||||
|
||||
softmmu_targets=
|
||||
user_targets=
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
use "qemu_softmmu_targets_${target}" && softmmu_targets+=",${target}-softmmu"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
use "qemu_user_targets_${target}" && user_targets+=",${target}-linux-user"
|
||||
done
|
||||
|
||||
[[ -n ${softmmu_targets} ]] && \
|
||||
einfo "Building the following softmmu targets: ${softmmu_targets}"
|
||||
|
||||
[[ -n ${user_targets} ]] && \
|
||||
einfo "Building the following user targets: ${user_targets}"
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
mkdir "${S}/softmmu-build"
|
||||
qemu_src_configure "softmmu" "${S}/softmmu-build"
|
||||
fi
|
||||
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
mkdir "${S}/user-build"
|
||||
qemu_src_configure "user" "${S}/user-build"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/softmmu-build"
|
||||
emake -j1 check
|
||||
emake -j1 check-report.html
|
||||
}
|
||||
|
||||
qemu_python_install() {
|
||||
python_domodule "${S}/scripts/qmp/qmp.py"
|
||||
|
||||
python_doscript "${S}/scripts/kvm/kvm_stat"
|
||||
python_doscript "${S}/scripts/kvm/vmxcap"
|
||||
python_doscript "${S}/scripts/qmp/qmp-shell"
|
||||
python_doscript "${S}/scripts/qmp/qemu-ga-client"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Install binfmt handler init script for user targets
|
||||
newinitd "${FILESDIR}/qemu-binfmt.initd-r1" qemu-binfmt
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
if use test; then
|
||||
dohtml check-report.html
|
||||
fi
|
||||
|
||||
if use kernel_linux; then
|
||||
udev_dorules "${FILESDIR}"/65-kvm.rules
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl qemu_python_install
|
||||
fi
|
||||
fi
|
||||
|
||||
# Install config file example for qemu-bridge-helper
|
||||
insinto "/etc/qemu"
|
||||
doins "${FILESDIR}/bridge.conf"
|
||||
|
||||
# Remove the docdir placed qmp-commands.txt
|
||||
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/docs/qmp/"
|
||||
|
||||
cd "${S}"
|
||||
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
dodoc docs/qmp/*.txt
|
||||
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
fi
|
||||
|
||||
# Remove vgabios since we're using the vgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
fi
|
||||
|
||||
# Remove sgabios since we're using the sgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/sgabios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
fi
|
||||
|
||||
# Remove iPXE since we're using the iPXE packaged one
|
||||
rm "${ED}"/usr/share/qemu/pxe-*.rom
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
|
||||
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
|
||||
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
|
||||
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
|
||||
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
|
||||
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
|
||||
fi
|
||||
|
||||
qemu_support_kvm && readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local virtfs_caps=
|
||||
|
||||
if qemu_support_kvm; then
|
||||
readme.gentoo_print_elog
|
||||
ewarn "Migration from qemu-kvm instances and loading qemu-kvm created"
|
||||
ewarn "save states has been removed starting with the 1.6.2 release"
|
||||
ewarn
|
||||
ewarn "It is recommended that you migrate any VMs that may be running"
|
||||
ewarn "on qemu-kvm to a host with a newer qemu and regenerate"
|
||||
ewarn "any saved states with a newer qemu."
|
||||
ewarn
|
||||
ewarn "qemu-kvm was the primary qemu provider in Gentoo through 1.2.x"
|
||||
|
||||
if use x86 || use amd64; then
|
||||
ewarn
|
||||
ewarn "The /usr/bin/kvm and /usr/bin/qemu-kvm wrappers are no longer"
|
||||
ewarn "installed. In order to use kvm acceleration, pass the flag"
|
||||
ewarn "-enable-kvm when running your system target."
|
||||
fi
|
||||
fi
|
||||
|
||||
virtfs_caps+="cap_chown,cap_dac_override,cap_fowner,cap_fsetid,"
|
||||
virtfs_caps+="cap_setgid,cap_mknod,cap_setuid"
|
||||
|
||||
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
|
||||
use virtfs && fcaps ${virtfs_caps} /usr/bin/virtfs-proxy-helper
|
||||
}
|
||||
|
||||
pkg_info() {
|
||||
echo "Using:"
|
||||
echo " $(best_version app-emulation/spice-protocol)"
|
||||
echo " $(best_version sys-firmware/ipxe)"
|
||||
echo " $(best_version sys-firmware/seabios)"
|
||||
if has_version sys-firmware/seabios[binary]; then
|
||||
echo " USE=binary"
|
||||
else
|
||||
echo " USE=''"
|
||||
fi
|
||||
echo " $(best_version sys-firmware/vgabios)"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-2.0.0.ebuild,v 1.6 2014/05/18 18:01:59 vapier Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-2.0.0.ebuild,v 1.8 2014/05/31 16:14:44 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -90,13 +90,13 @@ RDEPEND="!static-softmmu? ( ${SOFTMMU_LIB_DEPEND//\[static-libs(+)]} )
|
|||
!static-user? ( ${USER_LIB_DEPEND//\[static-libs(+)]} )
|
||||
qemu_softmmu_targets_i386? (
|
||||
>=sys-firmware/ipxe-1.0.0_p20130624
|
||||
~sys-firmware/seabios-1.7.3.2
|
||||
~sys-firmware/seabios-1.7.4
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
qemu_softmmu_targets_x86_64? (
|
||||
>=sys-firmware/ipxe-1.0.0_p20130624
|
||||
~sys-firmware/seabios-1.7.3.2
|
||||
~sys-firmware/seabios-1.7.4
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
|
@ -449,16 +449,6 @@ src_install() {
|
|||
udev_dorules "${FILESDIR}"/65-kvm.rules
|
||||
fi
|
||||
|
||||
if use qemu_softmmu_targets_x86_64 ; then
|
||||
newbin "${FILESDIR}/qemu-kvm-1.4" qemu-kvm
|
||||
ewarn "The deprecated '/usr/bin/kvm' symlink is no longer installed"
|
||||
ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
|
||||
ewarn "your libvirt configs or other wrappers for ${PN}"
|
||||
elif use x86 || use amd64; then
|
||||
elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
|
||||
elog "of the /usr/bin/qemu-kvm script."
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl qemu_python_install
|
||||
fi
|
||||
|
@ -529,6 +519,13 @@ pkg_postinst() {
|
|||
ewarn "any saved states with a newer qemu."
|
||||
ewarn
|
||||
ewarn "qemu-kvm was the primary qemu provider in Gentoo through 1.2.x"
|
||||
|
||||
if use x86 || use amd64; then
|
||||
ewarn
|
||||
ewarn "The /usr/bin/kvm and /usr/bin/qemu-kvm wrappers are no longer"
|
||||
ewarn "installed. In order to use kvm acceleration, pass the flag"
|
||||
ewarn "-enable-kvm when running your system target."
|
||||
fi
|
||||
fi
|
||||
|
||||
virtfs_caps+="cap_chown,cap_dac_override,cap_fowner,cap_fsetid,"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-9999.ebuild,v 1.71 2014/05/25 17:34:03 vapier Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-9999.ebuild,v 1.72 2014/05/31 16:02:42 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -448,16 +448,6 @@ src_install() {
|
|||
udev_dorules "${FILESDIR}"/65-kvm.rules
|
||||
fi
|
||||
|
||||
if use qemu_softmmu_targets_x86_64 ; then
|
||||
newbin "${FILESDIR}/qemu-kvm-1.4" qemu-kvm
|
||||
ewarn "The deprecated '/usr/bin/kvm' symlink is no longer installed"
|
||||
ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
|
||||
ewarn "your libvirt configs or other wrappers for ${PN}"
|
||||
elif use x86 || use amd64; then
|
||||
elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
|
||||
elog "of the /usr/bin/qemu-kvm script."
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl qemu_python_install
|
||||
fi
|
||||
|
@ -528,6 +518,13 @@ pkg_postinst() {
|
|||
ewarn "any saved states with a newer qemu."
|
||||
ewarn
|
||||
ewarn "qemu-kvm was the primary qemu provider in Gentoo through 1.2.x"
|
||||
|
||||
if use x86 || use amd64; then
|
||||
ewarn
|
||||
ewarn "The /usr/bin/kvm and /usr/bin/qemu-kvm wrappers are no longer"
|
||||
ewarn "installed. In order to use kvm acceleration, pass the flag"
|
||||
ewarn "-enable-kvm when running your system target."
|
||||
fi
|
||||
fi
|
||||
|
||||
virtfs_caps+="cap_chown,cap_dac_override,cap_fowner,cap_fsetid,"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/batti/batti-0.3.8-r1.ebuild,v 1.5 2013/02/09 18:57:10 idl0r Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/batti/batti-0.3.8-r1.ebuild,v 1.6 2014/05/31 18:19:54 pacho Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
|
@ -21,7 +21,7 @@ IUSE="libnotify"
|
|||
|
||||
RDEPEND="dev-python/pygtk
|
||||
dev-python/dbus-python
|
||||
sys-power/upower
|
||||
|| ( <sys-power/upower-0.99 sys-power/upower-pm-utils )
|
||||
x11-themes/gnome-icon-theme
|
||||
libnotify? ( x11-libs/libnotify )"
|
||||
DEPEND=""
|
||||
|
|
47
app-laptop/batti/batti-0.3.8-r2.ebuild
Normal file
47
app-laptop/batti/batti-0.3.8-r2.ebuild
Normal file
|
@ -0,0 +1,47 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/batti/batti-0.3.8-r2.ebuild,v 1.3 2014/05/31 18:22:41 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
PYTHON_DEPEND="2"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit python distutils gnome2-utils eutils
|
||||
|
||||
DESCRIPTION="A upower based battery monitor for the system tray, similar to batterymon"
|
||||
HOMEPAGE="http://code.google.com/p/batti-gtk/"
|
||||
SRC_URI="http://batti-gtk.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="libnotify"
|
||||
|
||||
RDEPEND="dev-python/pygtk
|
||||
dev-python/dbus-python
|
||||
|| ( sys-power/upower:= sys-power/upower-pm-utils )
|
||||
x11-themes/gnome-icon-theme
|
||||
libnotify? ( x11-libs/libnotify )"
|
||||
DEPEND=""
|
||||
|
||||
DOCS="AUTHORS"
|
||||
|
||||
src_prepare() {
|
||||
has_version ">=sys-power/upower-0.99" && epatch "${FILESDIR}/${P}-upower-0.99.patch"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
distutils_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
distutils_pkg_postrm
|
||||
}
|
34
app-laptop/batti/files/batti-0.3.8-upower-0.99.patch
Normal file
34
app-laptop/batti/files/batti-0.3.8-upower-0.99.patch
Normal file
|
@ -0,0 +1,34 @@
|
|||
diff -Naur batti-0.3.8.orig/src/PowerBackend.py batti-0.3.8/src/PowerBackend.py
|
||||
--- batti-0.3.8.orig/src/PowerBackend.py 2014-04-15 19:30:34.123260000 +0200
|
||||
+++ batti-0.3.8/src/PowerBackend.py 2014-04-15 19:32:11.859168509 +0200
|
||||
@@ -180,17 +180,6 @@
|
||||
|
||||
properties = dbus.Interface(iface, 'org.freedesktop.DBus.Properties')
|
||||
|
||||
- if properties.Get(self.dbus_interface, 'CanSuspend'):
|
||||
- self.__can_suspend = True
|
||||
- else:
|
||||
- self.__can_suspend = False
|
||||
-
|
||||
- if properties.Get(self.dbus_interface, 'CanHibernate'):
|
||||
- self.__can_hibernate = True
|
||||
- else:
|
||||
- self.__can_hibernate = False
|
||||
-
|
||||
-
|
||||
def __get_interface(self):
|
||||
dkit_obj = self.__bus.get_object(self.dbus_service, self.dbus_object)
|
||||
return dbus.Interface(dkit_obj, self.dbus_interface)
|
||||
@@ -201,12 +190,6 @@
|
||||
self.__mc_action(widget, event, data)
|
||||
|
||||
|
||||
- def can_suspend(self):
|
||||
- return self.__can_suspend and self.__get_interface().SuspendAllowed()
|
||||
-
|
||||
- def can_hibernate(self):
|
||||
- return self.__can_hibernate and self.__get_interface().HibernateAllowed()
|
||||
-
|
||||
def suspend(self):
|
||||
self.__get_interface().Suspend()
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-leechcraft/lc-liznoo/lc-liznoo-0.6.60.ebuild,v 1.3 2014/04/03 08:28:47 zlogene Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-leechcraft/lc-liznoo/lc-liznoo-0.6.60.ebuild,v 1.4 2014/06/01 10:36:10 pacho Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
|
@ -13,7 +13,7 @@ KEYWORDS="amd64 x86"
|
|||
IUSE="debug"
|
||||
|
||||
DEPEND="~app-leechcraft/lc-core-${PV}
|
||||
sys-power/upower
|
||||
|| ( sys-power/upower sys-power/upower-pm-utils )
|
||||
x11-libs/qwt:6
|
||||
dev-qt/qtdbus:4
|
||||
virtual/leechcraft-trayarea"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-leechcraft/lc-liznoo/lc-liznoo-0.6.65.ebuild,v 1.1 2014/04/10 17:58:03 maksbotan Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-leechcraft/lc-liznoo/lc-liznoo-0.6.65.ebuild,v 1.2 2014/05/31 18:48:38 pacho Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
|
@ -13,7 +13,7 @@ KEYWORDS=" ~amd64 ~x86"
|
|||
IUSE="debug"
|
||||
|
||||
DEPEND="~app-leechcraft/lc-core-${PV}
|
||||
sys-power/upower
|
||||
|| ( sys-power/upower sys-power/upower-pm-utils )
|
||||
x11-libs/qwt:6
|
||||
dev-qt/qtdbus:4
|
||||
virtual/leechcraft-trayarea"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-leechcraft/lc-liznoo/lc-liznoo-9999.ebuild,v 1.1 2013/03/08 22:01:46 maksbotan Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-leechcraft/lc-liznoo/lc-liznoo-9999.ebuild,v 1.3 2014/05/31 20:41:19 ssuominen Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
|
@ -13,7 +13,7 @@ KEYWORDS=""
|
|||
IUSE="debug"
|
||||
|
||||
DEPEND="~app-leechcraft/lc-core-${PV}
|
||||
sys-power/upower
|
||||
|| ( sys-power/upower sys-power/upower-pm-utils )
|
||||
x11-libs/qwt:6
|
||||
dev-qt/qtdbus:4
|
||||
virtual/leechcraft-trayarea"
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
DIST livecd-tools-2.0.3.tar.bz2 11343 SHA256 72ade5e5f2a28dc46008ae206309f6c797f5b005caea583d20ba13e2434dd728 SHA512 dde8972e164335046d5b7755b97e4ec53e5f18b96c85a3f79825e6ac659039ad96d16c1189761611d1c49ba97de2d96b7fd629e78d20c680a879881a678ce889 WHIRLPOOL 369e5082d4416e0ee5376f76a4187141120946e176543d02cfba7a9f6c047cc8f2198940fe14750b7314a87db9b73881ba1684330a5e1ae1ad6716a6910f2ee3
|
||||
DIST livecd-tools-2.0.4.tar.xz 10580 SHA256 a819344ce79c9d0dce4a8339fe09b485b169b42063dbe1f6d2245ef57c867e51 SHA512 242d0d27d141af7c4a0c9be390d4faf9fc97b840a55f76e0a804838b98ba95a644be8a4f2ff1353bf7782b8db24b72b8f24a2fe01f60449c9687efbbfad4d6f3 WHIRLPOOL 591457dd46190b72a2f8fc50bc3869163c604f6850944fdf74bad4d145c0c214c89336547f3daaa2942088b83c86254c7289cd34a897da79130888248c661283
|
||||
|
|
44
app-misc/livecd-tools/livecd-tools-2.0.4.ebuild
Normal file
44
app-misc/livecd-tools/livecd-tools-2.0.4.ebuild
Normal file
|
@ -0,0 +1,44 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/livecd-tools/livecd-tools-2.0.4.ebuild,v 1.1 2014/05/31 20:19:28 zerochaos Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/livecd-tools.git"
|
||||
inherit git-2
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
|
||||
fi
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Gentoo LiveCD tools for autoconfiguration of hardware"
|
||||
HOMEPAGE="http://wolf31o2.org/projects/livecd-tools"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-util/dialog
|
||||
net-dialup/mingetty
|
||||
>=sys-apps/baselayout-2
|
||||
>=sys-apps/openrc-0.8.2-r1
|
||||
sys-apps/pciutils
|
||||
sys-apps/gawk
|
||||
sys-apps/sed"
|
||||
|
||||
pkg_setup() {
|
||||
ewarn "This package is designed for use on the LiveCD only and will do"
|
||||
ewarn "unspeakably horrible and unexpected things on a normal system."
|
||||
ewarn "YOU HAVE BEEN WARNED!!!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doconfd conf.d/*
|
||||
doinitd init.d/*
|
||||
dosbin net-setup
|
||||
into /
|
||||
dosbin livecd-functions.sh
|
||||
}
|
|
@ -1,3 +1,2 @@
|
|||
DIST tracker-0.16.4.tar.xz 5745592 SHA256 9c2f50839c2b8b352ab9a022597ef985c1900e6286c0c3bcb7a64da39dbb3580 SHA512 82cc63f5a89e70e5d7d3c306005c9119b7f52a244cc453b789f19f56ec4858fd4c02421e07ab392dc1198b3352e99022986dfff043f9b4757e59723c038ffda0 WHIRLPOOL 07ec3cb39f619b930fba194c8cb5843786d9b0afa0d759498f72b35305ad06e1b9aba53fee64dad73186d74b7207c80ffa892adc9b5b350a108d882eaead9d9a
|
||||
DIST tracker-1.0.0.tar.xz 6172700 SHA256 a1d033faf2c78f0e239f3c2c961b96623c9a7dabd938c08e3f5660bd70f54ba2 SHA512 0a0e452e84d2746f3e340f25ffb2f09c91927a4c0cf2953bba65f21fc8e42add0cacae331bb184346b115fbafcc6f9c93421872daf10df0bf2663981ac5c51d4 WHIRLPOOL 7d2ae59efe46fea6b978d13f6ef0e42cdf0706b238ffa9f3484742e12beaf9506346e7fdf38325c97dbf17c866b1848aa69dd542f6691a4f8fa343f2aee2b319
|
||||
DIST tracker-1.0.1.tar.xz 6060276 SHA256 76e7918e62526a8209f9c9226f82abe592a6332826ac7c12e6e405063181e889 SHA512 b41908756e10a1019901ad9313d795958eff40b7025d72e1c6670810b14f2968e05fa7f35451a53c354ba70d938aeb49e1ee9ab81d88531d1dfd75037b5e38eb WHIRLPOOL 08b46212e7ba5be97044bed416d5966ed5e1ec3ebe134827253fd20b3463f37f13449b82d8e705cb02dd5d29fd8d059911562c159e8ae5012454063f7265b826
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.16.4.ebuild,v 1.3 2013/12/08 17:42:54 pacho Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.16.4.ebuild,v 1.4 2014/06/01 07:55:46 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
|
@ -64,7 +64,7 @@ RDEPEND="
|
|||
iptc? ( media-libs/libiptcdata )
|
||||
iso? ( >=sys-libs/libosinfo-0.0.2:= )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
laptop? ( >=sys-power/upower-0.9 )
|
||||
laptop? ( || ( <sys-power/upower-0.99 sys-power/upower-pm-utils ) )
|
||||
libsecret? ( >=app-crypt/libsecret-0.5 )
|
||||
mp3? (
|
||||
>=media-libs/taglib-1.6
|
||||
|
|
|
@ -1,256 +0,0 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-1.0.0.ebuild,v 1.1 2014/04/27 15:53:15 eva Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
VALA_MIN_API_VERSION="0.14"
|
||||
|
||||
inherit autotools gnome2 linux-info multilib python-any-r1 vala versionator virtualx
|
||||
|
||||
DESCRIPTION="A tagging metadata database, search tool and indexer"
|
||||
HOMEPAGE="http://projects.gnome.org/tracker/"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0/100"
|
||||
IUSE="cue eds elibc_glibc exif ffmpeg firefox-bookmarks flac gif gsf gstreamer gtk iptc +iso +jpeg laptop +miner-fs mp3 nautilus networkmanager pdf playlist rss test thunderbird +tiff upnp-av +vorbis +xml xmp xps"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
REQUIRED_USE="
|
||||
?? ( gstreamer ffmpeg )
|
||||
cue? ( gstreamer )
|
||||
upnp-av? ( gstreamer )
|
||||
!miner-fs? ( !cue !exif !flac !gif !gsf !iptc !iso !jpeg !mp3 !pdf !playlist !tiff !vorbis !xml !xmp !xps )
|
||||
"
|
||||
|
||||
# According to NEWS, introspection is non-optional
|
||||
# glibc-2.12 needed for SCHED_IDLE (see bug #385003)
|
||||
# sqlite-3.7.16 for FTS4 support
|
||||
RDEPEND="
|
||||
>=app-i18n/enca-1.9
|
||||
>=dev-db/sqlite-3.7.16:=
|
||||
>=dev-libs/glib-2.38:2
|
||||
>=dev-libs/gobject-introspection-0.9.5
|
||||
>=dev-libs/icu-4.8.1.1:=
|
||||
|| (
|
||||
>=media-gfx/imagemagick-5.2.1[png,jpeg=]
|
||||
media-gfx/graphicsmagick[imagemagick,png,jpeg=] )
|
||||
>=media-libs/libpng-1.2:0=
|
||||
>=media-libs/libmediaart-0.1:1.0
|
||||
>=x11-libs/pango-1:=
|
||||
sys-apps/util-linux
|
||||
|
||||
cue? ( media-libs/libcue )
|
||||
eds? (
|
||||
>=mail-client/evolution-3.3.5:=
|
||||
>=gnome-extra/evolution-data-server-3.3.5:=
|
||||
<mail-client/evolution-3.5.3
|
||||
<gnome-extra/evolution-data-server-3.5.3 )
|
||||
elibc_glibc? ( >=sys-libs/glibc-2.12 )
|
||||
exif? ( >=media-libs/libexif-0.6 )
|
||||
ffmpeg? ( >=virtual/ffmpeg-9 )
|
||||
firefox-bookmarks? ( || (
|
||||
>=www-client/firefox-4.0
|
||||
>=www-client/firefox-bin-4.0 ) )
|
||||
flac? ( >=media-libs/flac-1.2.1 )
|
||||
gif? ( media-libs/giflib )
|
||||
gsf? ( >=gnome-extra/libgsf-1.14.24 )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0 )
|
||||
gtk? (
|
||||
>=dev-libs/libgee-0.3:0.8
|
||||
>=x11-libs/gtk+-3:3 )
|
||||
iptc? ( media-libs/libiptcdata )
|
||||
iso? ( >=sys-libs/libosinfo-0.2.9:= )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
laptop? ( >=sys-power/upower-0.9 )
|
||||
mp3? ( >=media-libs/taglib-1.6 )
|
||||
networkmanager? ( >=net-misc/networkmanager-0.8 )
|
||||
pdf? (
|
||||
>=x11-libs/cairo-1:=
|
||||
>=app-text/poppler-0.16:=[cairo,utils]
|
||||
>=x11-libs/gtk+-2.12:2 )
|
||||
playlist? ( >=dev-libs/totem-pl-parser-3 )
|
||||
rss? ( net-libs/libgrss:0.5 )
|
||||
thunderbird? ( || (
|
||||
>=mail-client/thunderbird-5.0
|
||||
>=mail-client/thunderbird-bin-5.0 ) )
|
||||
tiff? ( media-libs/tiff )
|
||||
upnp-av? ( >=media-libs/gupnp-dlna-0.9.4:2.0 )
|
||||
vorbis? ( >=media-libs/libvorbis-0.22 )
|
||||
xml? ( >=dev-libs/libxml2-2.6 )
|
||||
xmp? ( >=media-libs/exempi-2.1 )
|
||||
xps? ( app-text/libgxps )
|
||||
!gstreamer? ( !ffmpeg? ( || ( media-video/totem media-video/mplayer ) ) )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
$(vala_depend)
|
||||
>=dev-util/gtk-doc-am-1.8
|
||||
>=dev-util/intltool-0.40
|
||||
>=sys-devel/gettext-0.17
|
||||
virtual/pkgconfig
|
||||
gtk? ( >=dev-libs/libgee-0.3 )
|
||||
test? (
|
||||
>=dev-libs/dbus-glib-0.82-r1
|
||||
>=sys-apps/dbus-1.3.1[X] )
|
||||
"
|
||||
PDEPEND="nautilus? ( ~gnome-extra/nautilus-tracker-tags-${PV} )"
|
||||
|
||||
# configure mixes enable-compile-warnings and with-compile-warnings
|
||||
# See upstream bug #705315
|
||||
QA_CONFIGURE_OPTIONS="--enable-compile-warnings"
|
||||
|
||||
function inotify_enabled() {
|
||||
if linux_config_exists; then
|
||||
if ! linux_chkconfig_present INOTIFY_USER; then
|
||||
ewarn "You should enable the INOTIFY support in your kernel."
|
||||
ewarn "Check the 'Inotify support for userland' under the 'File systems'"
|
||||
ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config"
|
||||
die 'missing CONFIG_INOTIFY'
|
||||
fi
|
||||
else
|
||||
einfo "Could not check for INOTIFY support in your kernel."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
inotify_enabled
|
||||
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Don't run 'firefox --version' or 'thunderbird --version'; it results in
|
||||
# access violations on some setups (bug #385347, #385495).
|
||||
create_version_script "www-client/firefox" "Mozilla Firefox" firefox-version.sh
|
||||
create_version_script "mail-client/thunderbird" "Mozilla Thunderbird" thunderbird-version.sh
|
||||
|
||||
# Skip broken tests
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=699408
|
||||
sed -e '\%/libtracker-common/file-utils/has_write_access_or_was_created%,+1 d' \
|
||||
-i tests/libtracker-common/tracker-file-utils-test.c || die
|
||||
# Fails inside portage, not outside
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=699413
|
||||
sed -e '\%/steroids/tracker/tracker_sparql_update_async%,+3 d' \
|
||||
-i tests/tracker-steroids/tracker-test.c || die
|
||||
|
||||
eautoreconf # See bug #367975
|
||||
gnome2_src_prepare
|
||||
vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
if use gstreamer ; then
|
||||
myconf="${myconf} --enable-generic-media-extractor=gstreamer"
|
||||
if use upnp-av; then
|
||||
myconf="${myconf} --with-gstreamer-backend=gupnp-dlna"
|
||||
else
|
||||
myconf="${myconf} --with-gstreamer-backend=discoverer"
|
||||
fi
|
||||
elif use ffmpeg ; then
|
||||
myconf="${myconf} --enable-generic-media-extractor=libav"
|
||||
else
|
||||
myconf="${myconf} --enable-generic-media-extractor=external"
|
||||
fi
|
||||
|
||||
# unicode-support: libunistring, libicu or glib ?
|
||||
# According to NEWS, introspection is required
|
||||
# is not being generated
|
||||
# nautilus extension is in a separate package, nautilus-tracker-tags
|
||||
gnome2_src_configure \
|
||||
--disable-hal \
|
||||
--disable-nautilus-extension \
|
||||
--enable-abiword \
|
||||
--enable-artwork \
|
||||
--enable-dvi \
|
||||
--enable-icon \
|
||||
--enable-ps \
|
||||
--enable-text \
|
||||
--enable-guarantee-metadata \
|
||||
--enable-introspection \
|
||||
--enable-libpng \
|
||||
--enable-libmediaart \
|
||||
--enable-tracker-fts \
|
||||
--with-enca \
|
||||
--with-unicode-support=libicu \
|
||||
$(use_enable cue libcue) \
|
||||
$(use_enable eds miner-evolution) \
|
||||
$(use_enable exif libexif) \
|
||||
$(use_enable firefox-bookmarks miner-firefox) \
|
||||
$(use_with firefox-bookmarks firefox-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/firefox/extensions) \
|
||||
FIREFOX="${S}"/firefox-version.sh \
|
||||
$(use_enable flac libflac) \
|
||||
$(use_enable gif libgif) \
|
||||
$(use_enable gsf libgsf) \
|
||||
$(use_enable gtk tracker-needle) \
|
||||
$(use_enable gtk tracker-preferences) \
|
||||
$(use_enable iptc libiptcdata) \
|
||||
$(use_enable iso libosinfo) \
|
||||
$(use_enable jpeg libjpeg) \
|
||||
$(use_enable laptop upower) \
|
||||
$(use_enable miner-fs) \
|
||||
$(use_enable mp3 taglib) \
|
||||
$(use_enable mp3) \
|
||||
$(use_enable networkmanager network-manager) \
|
||||
$(use_enable pdf poppler) \
|
||||
$(use_enable playlist) \
|
||||
$(use_enable rss miner-rss) \
|
||||
$(use_enable test functional-tests) \
|
||||
$(use_enable test unit-tests) \
|
||||
$(use_enable thunderbird miner-thunderbird) \
|
||||
$(use_with thunderbird thunderbird-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/thunderbird/extensions) \
|
||||
THUNDERBIRD="${S}"/thunderbird-version.sh \
|
||||
$(use_enable tiff libtiff) \
|
||||
$(use_enable vorbis libvorbis) \
|
||||
$(use_enable xml libxml2) \
|
||||
$(use_enable xmp exempi) \
|
||||
$(use_enable xps libgxps) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export G_MESSAGES_DEBUG=all # upstream bug #699401#c1
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
Xemake check XDG_DATA_HOME="${T}" XDG_CONFIG_HOME="${T}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
# Manually symlink extensions for {firefox,thunderbird}-bin
|
||||
if use firefox-bookmarks; then
|
||||
dosym /usr/share/xul-ext/trackerfox \
|
||||
/usr/$(get_libdir)/firefox-bin/extensions/trackerfox@bustany.org
|
||||
fi
|
||||
|
||||
if use thunderbird; then
|
||||
dosym /usr/share/xul-ext/trackerbird \
|
||||
/usr/$(get_libdir)/thunderbird-bin/extensions/trackerbird@bustany.org
|
||||
fi
|
||||
}
|
||||
|
||||
create_version_script() {
|
||||
# Create script $3 that prints "$2 MAX(VERSION($1), VERSION($1-bin))"
|
||||
|
||||
local v=$(best_version ${1})
|
||||
v=${v#${1}-}
|
||||
local vbin=$(best_version ${1}-bin)
|
||||
vbin=${vbin#${1}-bin-}
|
||||
|
||||
if [[ -z ${v} ]]; then
|
||||
v=${vbin}
|
||||
else
|
||||
version_compare ${v} ${vbin}
|
||||
[[ $? -eq 1 ]] && v=${vbin}
|
||||
fi
|
||||
|
||||
echo -e "#!/bin/sh\necho $2 $v" > "$3" || die
|
||||
chmod +x "$3" || die
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-1.0.1.ebuild,v 1.1 2014/05/29 19:28:02 pacho Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-1.0.1.ebuild,v 1.2 2014/05/31 18:43:44 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
|
@ -66,7 +66,7 @@ RDEPEND="
|
|||
iptc? ( media-libs/libiptcdata )
|
||||
iso? ( >=sys-libs/libosinfo-0.2.9:= )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
laptop? ( >=sys-power/upower-0.9 )
|
||||
laptop? ( || ( >=sys-power/upower-0.9 sys-power/upower-pm-utils ) )
|
||||
mp3? ( >=media-libs/taglib-1.6 )
|
||||
networkmanager? ( >=net-misc/networkmanager-0.8 )
|
||||
pdf? (
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/pilot-link-0.12.5-r1.ebuild,v 1.1 2013/09/10 09:23:57 idella4 Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/pilot-link-0.12.5-r1.ebuild,v 1.2 2014/05/31 16:24:24 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -41,6 +41,8 @@ src_prepare() {
|
|||
"${FILESDIR}"/${PN}-0.12.3-libusb-compat-usb_open.patch \
|
||||
"${FILESDIR}"/${PN}-0.12.5-perl514.patch
|
||||
|
||||
sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #467600
|
||||
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/pytextile/pytextile-2.1.8.ebuild,v 1.1 2014/05/29 15:32:47 idella4 Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/pytextile/pytextile-2.1.8.ebuild,v 1.2 2014/05/31 13:55:42 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
@ -28,7 +28,9 @@ S="${WORKDIR}/${MY_P}"
|
|||
|
||||
python_prepare_all() {
|
||||
# https://github.com/ikirudennis/python-textile/issues/6
|
||||
sed -e s':testSanitize:_&:' -i textile/tests/__init__.py || die
|
||||
sed -e 's:testSanitize:_&:' -i textile/tests/__init__.py || die
|
||||
# This resolves a nasty race condition noted and observed by Arfrever
|
||||
sed -e 's:with-id = 1::' -i setup.cfg || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
DIST commons-compress-1.1-src.tar.gz 398593 SHA256 1d22ea33d50fa5cafdf3ce86136021b3c66ea02d6d66ff5223b60799fd37ed34 SHA512 46e8b2bb0a1e9907180c95e89a118459f3bb539f35eaefd4de9cc01347a96fed90d5b3dd260f6511468792319e3e3ab94586059e4f658e3e2d1187df0c3c1f53 WHIRLPOOL 99534b6119c843b40e09f7de8dc8db8643acdaa54076ae7a8493c60b854b56a0656ef836c895a5c761f7288ddfc6bcd7cbdc77b8a3b34e25cd887f7ce941b769
|
||||
DIST commons-compress-1.3-src.tar.gz 3155838 SHA256 b7dd13a74818e0a8f6d75e5f3f99573292b79c9b6a553d89bc4aa5128a88d3c7 SHA512 7b018c18b0eacd5baa7b1cd2cdc69ce284fb8c953bd759acb30709d6076dea6eb2b78d9b10e206a0833468add420ea81bcabb197a0288db5568594f924fefd4a WHIRLPOOL d1e5716baf2a88835d09821e29720d800476a752d6011206834c69b711a9c12d49862eeb593500f775b3ac98454bc65cc4cbfa3364c1034d2646312d12cad3f9
|
||||
DIST commons-compress-1.4.1-src.tar.gz 3228776 SHA256 b4f34aa03df917b785479e147381eea86c5c17e9067ddf8c27301ff6cd0aa91c SHA512 e1d327f084a79924938698ae16fa6edaaa73072b083109bbd8ccaa636268c05c387e7c2117b5df8f6b91b143495add9cc7da17c1bd3c989f91c910a9d68f6bdb WHIRLPOOL 50565e7342fa363814ed2f347d1daa1ee59dd28cefcd9e494850edcf47899b8684312996dd60b90236a4f2aacce8a920ace37cca5d1d22ad9f63f6696c8e7452
|
||||
DIST commons-compress-1.8.1-src.tar.gz 8476056 SHA256 aa1221643331d9de5c8155b032c7fde23fc8cf3d962155092de89c44d4978412 SHA512 4e4f9633cc3c470970a8da41344a819ff63430a46e219e93896dbe2374738349f78942cff93ad8d348599cfc2dd7d014ae4ff3b09d76a924bb11ca1c4a2c05ea WHIRLPOOL 2d7f3230f47186a72b4b31efd10c5dfd68488d263e26d97b6e715b2b2eab3e22ae3e5946d232ca014aa2a3d14f3abf87ce97bf2e70c7c06788c4093df4156aef
|
||||
|
|
|
@ -1,49 +0,0 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-compress/commons-compress-1.1.ebuild,v 1.1 2011/07/31 14:21:09 tommy Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Commons Compress defines an API for working with ar, cpio, tar, zip, gzip and bzip2 files."
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
test? ( dev-java/ant-junit:0 )"
|
||||
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
JAVA_ANT_BSFIX_EXTRA_ARGS="--maven-cleaning"
|
||||
EANT_BUILD_TARGET="compile package"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/build.xml . || die "Failed to copy build.xml"
|
||||
|
||||
# osgi stuff mvn ant:ant doesn't handle
|
||||
mkdir -p target/osgi || die "Failed to create target dir"
|
||||
cp "${FILESDIR}"/MANIFEST.MF target/osgi/ || die "Failed to copy manifest"
|
||||
|
||||
if ! use test; then
|
||||
find -name "*.jar" -delete || die "Failed to remove test resources"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg_jarfrom junit
|
||||
EANT_TEST_TARGET="compile-tests test"
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/${P}.jar
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/*
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-compress/commons-compress-1.3.ebuild,v 1.4 2012/03/24 17:23:46 phajdan.jr Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-compress/commons-compress-1.8.1.ebuild,v 1.1 2014/06/01 09:20:08 tommy Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
|
@ -12,11 +12,15 @@ DESCRIPTION="Commons Compress defines an API for working with ar, cpio, tar, zip
|
|||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
COMMON_DEPEND="dev-java/xz-java"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${COMMON_DEPEND}
|
||||
test? ( dev-java/junit:4
|
||||
dev-java/hamcrest-core
|
||||
dev-java/ant-junit:0 )"
|
||||
|
@ -24,8 +28,9 @@ DEPEND=">=virtual/jdk-1.5
|
|||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
JAVA_ANT_BSFIX_EXTRA_ARGS="--maven-cleaning"
|
||||
EANT_GENTOO_CLASSPATH="xz-java"
|
||||
EANT_BUILD_TARGET="compile package"
|
||||
EANT_TEST_GENTOO_CLASSPATH="junit-4 hamcrest-core"
|
||||
EANT_TEST_GENTOO_CLASSPATH="junit-4 hamcrest-core xz-java"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/build.xml . || die "Failed to copy build.xml"
|
|
@ -1,11 +1,16 @@
|
|||
DIST icedtea-bin-core-6.1.12.7-amd64.tar.bz2 38971833 SHA256 1e8f88a34db9ca9966fb38e60216d8609a02fcad07948f7bc950308ea3e6291d SHA512 9fe3ff1e52d7532e9bc28ea50e43e03fff8e5415819ad3d0eaf0396e459a3cb98049e922611a498d8f1e77a2c048412b1f85e3c8e400bec74c138bf2ec1aa1fb WHIRLPOOL d92df55444e8f5dcda61dcc457712f878babd417baa92adb260c37a61f2172374fa4856d0693423840621d312b32fc9fb0b23813b62e718a2caad5e0d0fbd7a4
|
||||
DIST icedtea-bin-core-6.1.12.7-x86.tar.bz2 39666989 SHA256 53dc7bc4cf615dcd8d9e5048c870c10ff9111b909cb37d3240fab20746c54241 SHA512 ee38b3616f6a6c3ef601818275193253ff7ccb6bd6a041fd1c131529486cb3af81e9f679911d76a4a5f09bc23050ae115a3a5bf567e09dec8444b873470f1a81 WHIRLPOOL 9c07981bbcc18563d69ef70c4151a261a46ba0a6e1f009f3f0829c45a05eff05aab6a2ddad340aebfd4d360a8a534183de99dbba0dd3baa37b82f865d7850f25
|
||||
DIST icedtea-bin-core-6.1.13.3-amd64.tar.bz2 52302259 SHA256 71001e89b1ad4808108e533f3c089f6357569e7e9401b8588483a1cd71bf5a6f SHA512 5dbd92b6322bb8fe6131e01062ab9b0fa955093c11138a5107f89fd715e9010c41591893d0ba59f91b08e087644d54be40c893e29a47ccd7ea4b4c321821508f WHIRLPOOL c63085bd06047402268ed0a58f5df9ab382efb0eb0539734a18b18eb8acd9743514fd9d8bae68ab1444c2e94dca6ebffe226c55bbba82fde9527a815c11e88ea
|
||||
DIST icedtea-bin-core-6.1.13.3-x86.tar.bz2 53179290 SHA256 d76614481985dd35818bd269157e08d8eb1e2e7749048005b8cd3cbcb5f63474 SHA512 f93e63421f3d2e61629df4f15d0bc9dc972fa60d5607d764a1e9fa7ba2826dfbdd05e25b8ee04d49b21721fc7333c2a37270ffaba12417a94cbf14cc7fdbc73f WHIRLPOOL 92520d35af88f0f9ba1f758abf9f25893912e8982bfe2791b623b22a1037625ffb834ed637771dd642291ccc81b130fa02d21d5d101aecee0c4d971b3bdcb19d
|
||||
DIST icedtea-bin-core-7.2.4.3-amd64.tar.bz2 55422804 SHA256 ca7718a23a71c9dfb545b7823f571e3fc3e1beaa71765dc393ead9083a26397f SHA512 f5cda0d975d44b4f3d4e6d9014a509d2e2efc4e4615246db36bde564f8c30cb22dea728bba3b6e1f7fe875341e28d1707b3912ac813a4271b2740c22c82b740c WHIRLPOOL 123e5ddefddaf4e1e628a630efbc37cdf8d84df4119b324fb62738cb372eda417dbb469bbba846f930c1b1a8904f1eac0bbddaf4fc9447f5e665c2283ca57d0a
|
||||
DIST icedtea-bin-core-7.2.4.3-x86.tar.bz2 56381315 SHA256 ca1534b55d0116ddd1d67ac28c817768a92c4f1cad108bb930c2d424180e7c14 SHA512 9ce6c476e07d84ee9a6cb065d31d94dfb8f95575df87194f038351a4443ba8d32edb0e8ea450bb1cd573581fc9beaa56908076486250d5d45ce6d16223e641b9 WHIRLPOOL 204dea72b422d00e9de04248296340662a373598e52b40b343d2a2ddb7c3a3c758da9e9005b3148cf2bcba668d1f9a98933f56a05783e6a135df21f5d46da595
|
||||
DIST icedtea-bin-doc-6.1.12.7.tar.bz2 11508419 SHA256 34d0691a6c1012988c86c2704f7df9641d2dc6daadbbbc1f8bc100c043798127 SHA512 607349a9f533f51434ad9d54c6e9bcf17edc2eb05a593f627164067430d4dba3e8bfd7f983e39e2132a264a66cc200eb393edce3f19516d1a286c9988176617e WHIRLPOOL 2a67b4fc41822a9895c1325c7fe8208a3e71d90e76ca074238bb608f6cdf60d7afc65c4611fe7b44226ce78f61d76c299f9822ede446fc8b9df71bd9d6fcd76d
|
||||
DIST icedtea-bin-doc-6.1.13.3.tar.bz2 11511333 SHA256 3d84a2e524844ff894d69c652e4a5514c001c8a2542c2bd54c7f26bc8bbedcd3 SHA512 f690220ab69938528df9dde37375a4ad86ba2cef01220137b6f146f2d19ad9490e08387c001738e2c371b0e09cea1f32f184fa59e6e230daf4edfe9883fb2181 WHIRLPOOL 674f6e9f575bddeb1a1a679e69f06cc593d467881e882ee0bae9403b51ef26ed0010a46c5e22f38246cf617b2c05e5b69c54efff6f532941edf8621ca9eb593d
|
||||
DIST icedtea-bin-doc-7.2.4.3.tar.bz2 12537197 SHA256 0224d2c77cb7e7c4ad6c347e2fec45f33c1f5284292e049f8ba5c4997e653feb SHA512 7f89c5b505fdf2b9660b07f75a1cb78c9f65800fedf5cd82871da48cd2c581ee9a01c3b11da226211571f51d9f00e73a9c97157305c3c757255eb28b7fc9abbd WHIRLPOOL 174ac81168c3bbafce848f6fe013dae2ea4716f43f5cceec8145b2905eb054cd619999722920d1d1c98850badf7b2c38c22c21f1b238bccbfeb6d1f426f52309
|
||||
DIST icedtea-bin-examples-6.1.12.7-amd64.tar.bz2 2168381 SHA256 c205526e52628af3337786ba0f6e168069a319636e9861a7edbe0e72070c0515 SHA512 9c4a84951df5412bfb62e80dc48c838fcf45afc1f57cb831bb1fd7937609b67e2455496fcb6dd3e330d43f04d155f158a067a69c75285cec03314aa1e6d2b8ee WHIRLPOOL 87f4b104ac741e75c3034f718842dac586cb4858de2cd460e24ee3747a4e615183d6561e7eccdf5c65396a393e4391425d83e9b2827fed9293462391a4edc001
|
||||
DIST icedtea-bin-examples-6.1.12.7-x86.tar.bz2 2134521 SHA256 fb5a51910b04f25c37e71f02e9af35ca81e597b3de68d78c91bcdb16fdf1f1ac SHA512 e64419a06bbd185e9fc66242b97b002c8f60457b6270a1f529ba93548c0bd416f312c55e48b3e2445696c40c7bfe18d9b2b917f96b50bcf9551bc1cecc637435 WHIRLPOOL d82c9ff67bc14e796da7add3e67c7f1de18cd6faa4f77f6def46ef689048fa218ad5ee633268698aa4ee36445b566c981d242f03623254edaa9d136f09ad1199
|
||||
DIST icedtea-bin-examples-6.1.13.3-amd64.tar.bz2 2168205 SHA256 6756045cb018acf3af506b06a48934857daafcc1d01799bc25a6d9609eadf628 SHA512 a2f72a508946a0b8afbc11d6d06600a3548c0f1f6bf46b6e3518fae429b5b7f2dc8d3484af522057b1d2eb8841db97cbfb5123563fd7f930ff8a931849dea586 WHIRLPOOL 9ec5aa3a89529a6e4ed818370447a3993f5026e416c8313fa1203c4dd1472cf028d6206dcf4ba0420c6767fdccac722b29c538b4296ac04551e130d1270e5a5f
|
||||
DIST icedtea-bin-examples-6.1.13.3-x86.tar.bz2 2134637 SHA256 82ebbc95be9a5648682282d76ebac2dd16bf51812c42baf48ef162b2da091461 SHA512 09c507c9359e28e5fa9fa03ab5759d86fcae26f3516a27cefc391cbc28338bf5fb6270f4cbef06cb3c9225618bc9d5c8fcdef7302d7cca1ec29787767036c44c WHIRLPOOL fd50454ad4a0f9a2e453a34dc1871cc1cdbdc569d1044fe0187327379da7b0f7230442a74dbbb6505ad58970a56955ab53b839f96dbf1fd4aade737a2a5df797
|
||||
DIST icedtea-bin-examples-7.2.4.3-amd64.tar.bz2 2337892 SHA256 17d9f0f9a9c7708f18276e826b153c6dc81fd26395f74ffad95f12b40eea9c5b SHA512 49631f1c51eb4e166066fbc1f5cd731ae86f2fc8711c0251ced127fcbdc6305e7f95ecb109face22609aa610397c096f272065012791ac06549254f1317fb2b4 WHIRLPOOL 32189faf1db2740bff49f569a1823aa4d339d0892adc0bd5b84f418907089e1675dc030266a237a05021913480e9bc006c335533468fc1e38fd3bc6f512875a5
|
||||
DIST icedtea-bin-examples-7.2.4.3-x86.tar.bz2 2316272 SHA256 157eedd1d3f1099361dfac766031b04b4196f49fa67868d5853e1718f0bbea44 SHA512 1ee7bfee0fbe22916f233ef9249e235b8cd3875947148a0c4899d59a845c1b1a9484bdb5c07c7252233d2d45d5d9a4da63e72550fbaae3b46f9ec4c81cbb5163 WHIRLPOOL 669ea44dd6f6565158a2d49c676fc8fe40a32cecc190db32178a170eab4d535ed5a44d8cbea6eb5bd6b4f91e4e65d340f8152f8f9a5971399e428f2f1b032267
|
||||
DIST icedtea-bin-libpng15-6.1.12.7-amd64.tar.bz2 19179 SHA256 7a817004abe0c79f2dffbf71fedddda217a195da97dd29ee50f5a22b1bb93004 SHA512 72e101e562965febc8f4b79c9f2ca8b550b6a44cd3213efbe9f869b11aa8113638de164edeeda0f3370beb9c0d7e4407a8430527cdd36b2dc5bce7d93830da22 WHIRLPOOL 25b2fc5c02491c5638b0446a64a03fe4ed95c4d385244cba10183e566060a8bf2e4ebda59b05902305e3d94e972ec048bd7daf2e314d17d5e2d7d1737a2ea03c
|
||||
|
@ -14,5 +19,8 @@ DIST icedtea-bin-libpng15-7.2.4.3-amd64.tar.bz2 19296 SHA256 2e70c3a8e6bdeb99a6c
|
|||
DIST icedtea-bin-libpng15-7.2.4.3-x86.tar.bz2 17595 SHA256 fc24cf5b78c15ddc11cf6eabeb6b8a0cf31afc643d8f89a30ce975c5ecbe415b SHA512 19b027d4ffdea84af41fab2a1b579b013974314b929f4d100096247a3a7e1649ec018efa5890dedd7d0596da6baf3cd545b76e8886638c5f1697c7374269e557 WHIRLPOOL 411ed66355f564196a693734ded8c687903222790f256b4b6b784232dd73e9cb32075de6f60e54fa7469be244c9eac1379f92e52bc0f95647b020804d90e298b
|
||||
DIST icedtea-bin-nsplugin-6.1.12.7-amd64.tar.bz2 1021916 SHA256 9393839b33b5fd432640ed24b7bd5c2705915405c90e255baed2f5585e11c479 SHA512 4f87a509709991e26a26c9e66bba4b603a9742afc7d38bf7bc6c7c926e513a66c6a73eb51dd2ced419808364f2a080741a8bf1767ac1145c355d70f14d2b166f WHIRLPOOL ab7df3e9a48cfa1494f5a7c3970f614bfc4ad1f513ebd440eaea3804b422fd9f524ff2ef473d315fb6d385279dedc6f7179b421b743195168d2df5ea5a005339
|
||||
DIST icedtea-bin-nsplugin-6.1.12.7-x86.tar.bz2 1017578 SHA256 b6816b7e7d896a00d33c5d23c86ff5ab0719d2b88a047d9fbebe2058a5a1c993 SHA512 ebb458d32ad04a8093cb7a6f8adb55355cf9ae6871ded869d4bdecb95e04ee610603009f7cf14d3c3e5e28d08611a69d0f052f1043ef9c82bd174870dd748c1f WHIRLPOOL 935af01db7ea1454af94d6aae3cd2ae271df861b75e64d777f2c1c57342aee2bd7bdebc385dcb0594575d720056127edc4530b368c80dd3b451be3d095157912
|
||||
DIST icedtea-bin-nsplugin-6.1.13.3-amd64.tar.bz2 1021983 SHA256 43842371bca084a09214d1315dad3068c7e751338f054fecb76978881f19ef28 SHA512 df78a640067b04ea99883c65d84b052f09eec8ec6528d0cbf6e64485342ef94abca6c96bc5d6058eae459855ae3dcf5c7b45ae7a8db820ceadbdae188c89876b WHIRLPOOL 814196b7e4518d002ccdbc0061527f32ea4e715bc44855e5fc9a16d3274476f640d14f00fc464c6d0a4f1205dffff008591141727aaaf2099b30b335415dd2d1
|
||||
DIST icedtea-bin-nsplugin-6.1.13.3-x86.tar.bz2 1017653 SHA256 e64016b4fe16ed4fad08eac393557e07a25682b030953f33d4b753c1c1320586 SHA512 8561e3f0933c46b3093a61bec1ff65da1c9659a90e1d11d318c71f2bb5ca934cc53abc318f307de1841ac170b67e6dd8ff2ce955c4e84833f6d25ce8f0411d00 WHIRLPOOL 407659f02b9062f482f45706241eb2d418fea1a90813b214b32ada9db0ee1dbfbc2630ec1e72fc4b025fc9951245137c35186f1ef3837d0936f20d66d63dc28f
|
||||
DIST icedtea-bin-src-6.1.12.7.tar.bz2 41151777 SHA256 6559da164ed557aab7b5952932f58e3d948d9a298361f40955d401b950d09f0c SHA512 e8b0a4b756f38e249f4dbc27f12676f6714b86a018d014e777d1f5c7b5ef50cb42bec396822b70db6483bc988e9afecdbbbf20ae42acddc37e95ab19ea2f2f97 WHIRLPOOL 36a5617a83ebaca4711d04ce87a9a72b85f0a3d6b2dcdb4acb926b41054ef6b548c809f87a5b1e4677c3d8358c10b40b235c22262581ce02c574e1844cc23482
|
||||
DIST icedtea-bin-src-6.1.13.3.tar.bz2 41192099 SHA256 801380a78185d0b2b4035d876e9e73f4d6c073732c8b369f191638a55df563bb SHA512 d368bdeace6cf364db6394bc5dfe5b0081f9209ad98c057a5fe2096d227b82baca2317b2b5cc885cd210b1d1b4ee8fe44aa25678ee875340a94e11de76643c71 WHIRLPOOL 71003e4f84311260da1c814ee07e7a531ae98c287c77936b3f35379b3e49fc50782d9f8c2f6ac57dd92bb66374d7f6b58ae4088d2cea570bd7ccacdb330feb38
|
||||
DIST icedtea-bin-src-7.2.4.3.tar.bz2 41348380 SHA256 e9944fac46c7333c4c5065f346f0e181591c5f38031cae50cc4668118721f823 SHA512 ca7e7e07c8f942de9129e9c8cb613bb634cee95ff6a490bdd12d953aeb7fea1096b3cf827cceff345194f7059f777c38e39c9d2a4ab72391f1c938391fd39058 WHIRLPOOL 142ff86fcdbc3c3a0d3ed6b8d74956e774390bf424c24b0a150e3ee167351b017338802e6a45713156799e341821c65b2bbefeaf19a73c04d860594c4facf7c2
|
||||
|
|
152
dev-java/icedtea-bin/icedtea-bin-6.1.13.3.ebuild
Normal file
152
dev-java/icedtea-bin/icedtea-bin-6.1.13.3.ebuild
Normal file
|
@ -0,0 +1,152 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-bin/icedtea-bin-6.1.13.3.ebuild,v 1.1 2014/05/31 20:51:01 caster Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit java-vm-2 multilib prefix
|
||||
|
||||
dist="http://dev.gentoo.org/~caster/distfiles/"
|
||||
TARBALL_VERSION="${PVR}"
|
||||
PLUGIN_VERSION="${PVR}"
|
||||
|
||||
DESCRIPTION="A Gentoo-made binary build of the IcedTea JDK"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_URI="
|
||||
amd64? ( ${dist}/${PN}-core-${TARBALL_VERSION}-amd64.tar.bz2 )
|
||||
x86? ( ${dist}/${PN}-core-${TARBALL_VERSION}-x86.tar.bz2 )
|
||||
doc? ( ${dist}/${PN}-doc-${TARBALL_VERSION}.tar.bz2 )
|
||||
examples? (
|
||||
amd64? ( ${dist}/${PN}-examples-${TARBALL_VERSION}-amd64.tar.bz2 )
|
||||
x86? ( ${dist}/${PN}-examples-${TARBALL_VERSION}-x86.tar.bz2 )
|
||||
)
|
||||
nsplugin? (
|
||||
amd64? ( ${dist}/${PN}-nsplugin-${PLUGIN_VERSION}-amd64.tar.bz2 )
|
||||
x86? ( ${dist}/${PN}-nsplugin-${PLUGIN_VERSION}-x86.tar.bz2 )
|
||||
)
|
||||
source? ( ${dist}/${PN}-src-${TARBALL_VERSION}.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2-with-linking-exception"
|
||||
SLOT="6"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
|
||||
IUSE="+X +alsa cjk +cups doc examples nsplugin selinux source"
|
||||
REQUIRED_USE="nsplugin? ( X )"
|
||||
RESTRICT="strip"
|
||||
|
||||
# 423161
|
||||
QA_PREBUILT="opt/.*"
|
||||
|
||||
ALSA_COMMON_DEP="
|
||||
>=media-libs/alsa-lib-1.0.20"
|
||||
CUPS_COMMON_DEP="
|
||||
>=net-print/cups-1.4"
|
||||
X_COMMON_DEP="
|
||||
>=dev-libs/glib-2.32:2
|
||||
>=media-libs/freetype-2.4.9:2
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
>=x11-libs/libX11-1.4
|
||||
>=x11-libs/libXext-1.3
|
||||
>=x11-libs/libXi-1.6
|
||||
>=x11-libs/libXtst-1.2"
|
||||
|
||||
COMMON_DEP="
|
||||
>=media-libs/giflib-4.1.6-r1
|
||||
>=media-libs/libpng-1.6:0=
|
||||
>=sys-devel/gcc-4.5.4
|
||||
>=sys-libs/glibc-2.15
|
||||
>=sys-libs/zlib-1.2.3-r1
|
||||
|| ( virtual/jpeg:62 media-libs/jpeg:62 )
|
||||
nsplugin? (
|
||||
>=dev-libs/atk-1.30.0
|
||||
>=dev-libs/nspr-4.8
|
||||
>=x11-libs/cairo-1.8.8
|
||||
>=x11-libs/pango-1.24.5
|
||||
|
||||
)
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
|
||||
RDEPEND="${COMMON_DEP}
|
||||
X? (
|
||||
${X_COMMON_DEP}
|
||||
media-fonts/dejavu
|
||||
cjk? (
|
||||
media-fonts/arphicfonts
|
||||
media-fonts/baekmuk-fonts
|
||||
media-fonts/lklug
|
||||
media-fonts/lohit-fonts
|
||||
media-fonts/sazanami
|
||||
)
|
||||
)
|
||||
alsa? ( ${ALSA_COMMON_DEP} )
|
||||
cups? ( ${CUPS_COMMON_DEP} )"
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED}/${dest}"
|
||||
dodir "${dest}"
|
||||
|
||||
# Ensures HeadlessGraphicsEnvironment is used.
|
||||
if ! use X; then
|
||||
rm -r jre/lib/$(get_system_arch)/xawt || die
|
||||
fi
|
||||
|
||||
# doins can't handle symlinks.
|
||||
cp -pRP bin include jre lib man "${ddest}" || die
|
||||
|
||||
# Remove on next bump as the needed marks are already set by icedtea ebuild.
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
dodoc ../doc/{ASSEMBLY_EXCEPTION,THIRD_PARTY_README}
|
||||
|
||||
if use doc; then
|
||||
dohtml -r ../doc/html/*
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
cp -pRP share/{demo,sample} "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use nsplugin; then
|
||||
cp -pPR ../icedtea-web-bin-${SLOT} "${ddest}"/.. || die
|
||||
install_mozilla_plugin "/opt/icedtea-web-bin-${SLOT}/$(get_libdir)/IcedTeaPlugin.so"
|
||||
docinto icedtea-web
|
||||
dodoc ../doc/icedtea-web/*
|
||||
fi
|
||||
|
||||
# Remove after next bump, handled by icedtea ebuild. Bug 390663
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
|
||||
eprefixify "${T}"/fontconfig.Gentoo.properties
|
||||
insinto "${dest}"/jre/lib
|
||||
doins "${T}"/fontconfig.Gentoo.properties
|
||||
|
||||
set_java_env
|
||||
java-vm_revdep-mask "${dest}"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<=dev-java/icedtea-bin-1.10.4:${SLOT}"; then
|
||||
# portage would preserve the symlink otherwise, related to bug #384397
|
||||
rm -f "${EROOT}/usr/lib/jvm/icedtea6-bin"
|
||||
elog "To unify the layout and simplify scripts, the identifier of Icedtea-bin-6*"
|
||||
elog "has changed from 'icedtea6-bin' to 'icedtea-bin-6' starting from version 6.1.10.4"
|
||||
elog "If you had icedtea6-bin as system VM, the change should be automatic, however"
|
||||
elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
|
||||
elog "and the same holds for any user VM settings. Sorry for the inconvenience."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Set as default VM if none exists
|
||||
java-vm-2_pkg_postinst
|
||||
|
||||
if use nsplugin && [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "The icedtea-bin-${SLOT} browser plugin can be enabled using eselect java-nsplugin"
|
||||
elog "Note that the plugin works only in browsers based on xulrunner-1.9.1+"
|
||||
elog "such as Firefox 3.5+ and recent Chromium versions."
|
||||
fi
|
||||
}
|
|
@ -1 +1,2 @@
|
|||
DIST jboss-modules-1.3.0.tar.gz 187838 SHA256 d30783899f3399ff69d8a0bb86702a5788d68d3c24b25095dbff19ca17fdea73 SHA512 407858cec3a82ad81262ef1feb28e3c3c259b23f3ed768f8714b28dcb8e2cc6bd68a47f82c8422d2c40ee9d0777a14c968c432a5f10f852bbd08ae434e249e56 WHIRLPOOL c205a754943bf19631de1a5accd20c17f1c6f9813f6abbb0d1ae0282d3c83365a17900477daadfe1c0085ddabc1f6b7d56d5dd475e4991fada96c386b4e2d31c
|
||||
DIST jboss-modules-1.3.3.tar.gz 189899 SHA256 ed288523f78ce3ea529114aeed35fee2e2e9c30e90126d0efe50168df5a8ca4f SHA512 2d95d8f2661250fe3458feed9d1edc810abc5741ef0b631336927817820ec92b8f5b4ee0a329392c6ad82c68f67c5f831b294ca44dbf66bb9ca866e8ad70b535 WHIRLPOOL 3a0d04e2416bd75eff19a4784afebdf564cecffa9b19e2379a2729c90fc427592b54a7dd2a422243df0e7baf4e9133f037ba36ac9b18cce1206b9c8f96b15a5e
|
||||
|
|
31
dev-java/jboss-modules/jboss-modules-1.3.3.ebuild
Normal file
31
dev-java/jboss-modules/jboss-modules-1.3.3.ebuild
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jboss-modules/jboss-modules-1.3.3.ebuild,v 1.1 2014/05/31 19:38:55 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="source" # doc (needs APIviz)
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="JBoss modular classloading system"
|
||||
HOMEPAGE="http://www.jboss.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.Final.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.7"
|
||||
DEPEND=">=virtual/jdk-1.7"
|
||||
|
||||
S="${WORKDIR}/${P}.Final/"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
|
||||
java_prepare() {
|
||||
rm pom.xml || die
|
||||
mkdir -p target/classes || die
|
||||
cp -vr "${S}"/src/main/resources/* target/classes/ || die
|
||||
}
|
|
@ -1,3 +1 @@
|
|||
DIST e_dbus-1.7.10.tar.bz2 439191 SHA256 b93f778a4bf50ce044b4798e08a03f62e9b890c47305f9d5839989481f38ddd4 SHA512 db3e3106cd3f66699dd59433beb8592115a8970982c7dc49f04458bc162acbbece5c6ec08bea994cc7eca04fe786ad45961bb555d2dfd364d07d3673d144b3c4 WHIRLPOOL 2f351946be4e47722fb6c027641d0054aed5fcd1523a02d20758763423100086e4c5bcf129f448c764a39ce8b4748c62b58c5e8dc9d3e676077866879b219f04
|
||||
DIST e_dbus-1.7.8.tar.bz2 439067 SHA256 69de464ed89c701df2ee90baa3ca2d9d0d51f731c8fd495cb8c2dcaeb1d4fa16 SHA512 e03cc5c14a2d9b541ee2892e488698b0e3d932b6f3a6139ebb5090f5ee403c2b697cae1729535a5c3a8c4dc6258f6becc327ec808696a3b95fda600f38a103e2 WHIRLPOOL 7b72080fd652d4b9a05370d59a128d4dc6ec434a2d24ebca4f398f08bdce2e581b008e319b859e9a1d7197e571001327f582f201146fff5e0a41456d9e53ab9a
|
||||
DIST e_dbus-1.7.9.tar.bz2 438685 SHA256 c6d9ce7bf75a70cc777473c61837e676c978a6280be2cb925c4090d17cd89678 SHA512 72e78a99b3a6509432123a978ff8447084d90c6c10f6485226f467e12056ea3a205e5c906f07e59a219952a36d341bc1a37003f9573eba78ae31cbd2dd6f4c95 WHIRLPOOL b1d93d59c290cde2c01b9aec276b8501f5e4a53574f868b2dd8ed7a0aa7e2c87adbd29eacfa9667495f02fa5dd63d18448133dea24d387dc628eb3391aed2b67
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/e_dbus/e_dbus-1.7.10.ebuild,v 1.4 2014/05/04 08:30:03 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/e_dbus/e_dbus-1.7.10.ebuild,v 1.5 2014/05/31 19:02:27 pacho Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
|
@ -16,7 +16,7 @@ IUSE="bluetooth +connman +libnotify ofono static-libs test-binaries +udev"
|
|||
RDEPEND=">=dev-libs/efl-1.8.4
|
||||
sys-apps/dbus
|
||||
connman? ( >=net-misc/connman-0.75 )
|
||||
udev? ( sys-power/upower sys-fs/udisks:0 )
|
||||
udev? ( || ( sys-power/upower sys-power/upower-pm-utils ) sys-fs/udisks:0 )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
|
|
|
@ -1,59 +0,0 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/e_dbus/e_dbus-1.7.8.ebuild,v 1.1 2013/08/28 03:03:03 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit enlightenment
|
||||
|
||||
DESCRIPTION="Enlightenment's (Ecore) integration to DBus"
|
||||
SRC_URI="http://download.enlightenment.org/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="bluetooth +connman +libnotify ofono static-libs test-binaries +udev"
|
||||
|
||||
RDEPEND=">=dev-libs/eina-1.7.8
|
||||
>=dev-libs/ecore-1.7.8
|
||||
sys-apps/dbus
|
||||
connman? ( >=net-misc/connman-0.75 )
|
||||
libnotify? ( >=media-libs/evas-1.7.8 )
|
||||
udev? ( sys-power/upower sys-fs/udisks:0 )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
E_ECONF+=(
|
||||
$(use_enable bluetooth ebluez)
|
||||
$(use_enable connman econnman0_7x)
|
||||
$(use_enable doc)
|
||||
--disable-ehal
|
||||
$(use_enable libnotify enotify)
|
||||
$(use_enable ofono eofono)
|
||||
$(use_enable test-binaries edbus-test)
|
||||
$(use_enable test-binaries edbus-test-client)
|
||||
$(use_enable udev eukit)
|
||||
)
|
||||
if use test-binaries ; then
|
||||
E_ECONF+=(
|
||||
$(use_enable bluetooth edbus-bluez-test)
|
||||
$(use_enable connman edbus-connman0_7x-test)
|
||||
$(use_enable libnotify edbus-notification-daemon-test)
|
||||
$(use_enable libnotify edbus-notify-test)
|
||||
$(use_enable ofono edbus-ofono-test)
|
||||
$(use_enable udev edbus-ukit-test)
|
||||
)
|
||||
else
|
||||
E_ECONF+=(
|
||||
--disable-edbus-bluez-test
|
||||
--disable-edbus-connman0_7x-test
|
||||
--disable-edbus-notification-daemon-test
|
||||
--disable-edbus-notify-test
|
||||
--disable-edbus-ofono-test
|
||||
--disable-edbus-ukit-test
|
||||
--disable-edbus-async-test
|
||||
--disable-edbus-performance-test
|
||||
)
|
||||
fi
|
||||
enlightenment_src_configure
|
||||
}
|
|
@ -1,59 +0,0 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/e_dbus/e_dbus-1.7.9.ebuild,v 1.1 2013/11/12 18:26:39 tommy Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit enlightenment
|
||||
|
||||
DESCRIPTION="Enlightenment's (Ecore) integration to DBus"
|
||||
SRC_URI="http://download.enlightenment.org/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="bluetooth +connman +libnotify ofono static-libs test-binaries +udev"
|
||||
|
||||
RDEPEND=">=dev-libs/eina-1.7.9
|
||||
>=dev-libs/ecore-1.7.9
|
||||
sys-apps/dbus
|
||||
connman? ( >=net-misc/connman-0.75 )
|
||||
libnotify? ( >=media-libs/evas-1.7.9 )
|
||||
udev? ( sys-power/upower sys-fs/udisks:0 )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
E_ECONF+=(
|
||||
$(use_enable bluetooth ebluez)
|
||||
$(use_enable connman econnman0_7x)
|
||||
$(use_enable doc)
|
||||
--disable-ehal
|
||||
$(use_enable libnotify enotify)
|
||||
$(use_enable ofono eofono)
|
||||
$(use_enable test-binaries edbus-test)
|
||||
$(use_enable test-binaries edbus-test-client)
|
||||
$(use_enable udev eukit)
|
||||
)
|
||||
if use test-binaries ; then
|
||||
E_ECONF+=(
|
||||
$(use_enable bluetooth edbus-bluez-test)
|
||||
$(use_enable connman edbus-connman0_7x-test)
|
||||
$(use_enable libnotify edbus-notification-daemon-test)
|
||||
$(use_enable libnotify edbus-notify-test)
|
||||
$(use_enable ofono edbus-ofono-test)
|
||||
$(use_enable udev edbus-ukit-test)
|
||||
)
|
||||
else
|
||||
E_ECONF+=(
|
||||
--disable-edbus-bluez-test
|
||||
--disable-edbus-connman0_7x-test
|
||||
--disable-edbus-notification-daemon-test
|
||||
--disable-edbus-notify-test
|
||||
--disable-edbus-ofono-test
|
||||
--disable-edbus-ukit-test
|
||||
--disable-edbus-async-test
|
||||
--disable-edbus-performance-test
|
||||
)
|
||||
fi
|
||||
enlightenment_src_configure
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
DIST efl-1.8.5.tar.bz2 28175735 SHA256 4456ce34bdc8294336c451a44e12f2f928ac9b857040da6d72c10432611646de SHA512 155542aa900980c59745dd2b25244d52b38de0de400b8432f9183c53c9770efdbca9d6e31f3305cf16d19357660ff8383447442d6a08c9ddec2e83a5b054e6df WHIRLPOOL d8efbc474a6d62837ab94c7ab6a060c1440fa16a2e798c2d722d6029ac17421afb8b07b3cf614c94fa9fed9f55fad8994377bc7a37b1e024fcf28423b45221a0
|
||||
DIST efl-1.8.6.tar.bz2 28101148 SHA256 0cc0a559ee7b249000771734e4c037695284d4980839436b57ac3afbaffb2089 SHA512 8bd02faa155500cdeab5dab878e7884c05829c5e6e7c645cd4802ffe597bb4abca8e783e771595be56a72ba2a10c8e361626b51f94292a05a8747985dbba064e WHIRLPOOL 35353c081872fb316e61f4a379a650be18bd61c213872715c4b363d3664afc92bdb2f90d454862b31e0523739071a716d1e4bbe7d25482ff82ba2681f611e098
|
||||
DIST efl-1.9.2.tar.bz2 28193583 SHA256 5dbeb99e1d26ccc74c9d054de5607a7e1020052b313c4b60c9a9794b45307501 SHA512 d93ae726bf814e8e21e6584ad1d38c1733f7f1782aa6ca7d0ccedfbdbe6455bc62f965d5dcb85e55a1041ccb6b997395bb4ba433345cfa089280d3a293d59751 WHIRLPOOL b2eaefdf8a9e2f548255e222ef087ae9857308ac0dc3d1e712b1fa0db59a7736f16b1aee3985a1b4a911374fd3103d0e5be9ccc718fb8a37cb9cb690e058cd38
|
||||
DIST efl-1.9.3.tar.bz2 28181470 SHA256 1a911ababb7786969a361628f972db1158c25dc0b62ca55e12a00d6c290b6e15 SHA512 7920010ef736ab041ea71584e6767420cff8b4bd5f1cfecfff90768ce37f7b137aa7ebe1b6b3fa0d4a3b5cdda0ac44d510320a3f654e0777072cd9bb862d36da WHIRLPOOL 47119accab0ca8eb0fcec5efa65afacc63096dec5b0c0ae50488e496c48f4a5006b2e06d237ea526a924cd583147ee292e4f87d9c2b86bf46d1e8ad09181eb09
|
||||
DIST efl-1.9.4.tar.bz2 28180009 SHA256 39a285488dbc32f9c90514615ca8b9c13b7e47cd207d64a569ed524eeb0cd0c1 SHA512 7fa6edc141e630ed9419a668adc59f6ebfd551bfa1b77410985b0f08d23769efe9a21254c4d9ac95c2dee7f66e831a99744510110f413a7d987d72a7b71171d8 WHIRLPOOL c6cce0ad2bd3f149b07ed6a297453afcc63dd194b7236f3e1ccb4839e5117dc10e7dcb4951e70bf613c2e7eb19393508c1d99ea7ab3b8846f83e11f3f6061d6b
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/efl/efl-1.9.2.ebuild,v 1.2 2014/05/15 18:06:01 ulm Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/efl/efl-1.9.4.ebuild,v 1.1 2014/06/01 13:03:12 tommy Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
|
@ -57,7 +57,7 @@ RDEPEND="
|
|||
jpeg? ( virtual/jpeg )
|
||||
!oldlua? ( >=dev-lang/luajit-2.0.0 )
|
||||
oldlua? ( dev-lang/lua )
|
||||
physics? ( sci-physics/bullet )
|
||||
physics? ( >=sci-physics/bullet-2.80 )
|
||||
pixman? ( x11-libs/pixman )
|
||||
png? ( media-libs/libpng:0= )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.40.0.ebuild,v 1.1 2014/04/27 16:17:10 eva Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.40.0.ebuild,v 1.2 2014/06/01 15:15:59 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
|
@ -128,10 +128,13 @@ src_prepare() {
|
|||
|
||||
# Test relies on /usr/bin/true, but we have /bin/true, upstream bug #698655
|
||||
sed -i -e "s:/usr/bin/true:/bin/true:" gio/tests/desktop-app-info.c || die
|
||||
fi
|
||||
|
||||
# thread test fails, upstream bug #679306
|
||||
epatch "${FILESDIR}/${PN}-2.34.0-testsuite-skip-thread4.patch"
|
||||
# thread test fails, upstream bug #679306
|
||||
epatch "${FILESDIR}/${PN}-2.34.0-testsuite-skip-thread4.patch"
|
||||
else
|
||||
# Don't build tests, also prevents extra deps, bug #512022
|
||||
sed -i -e 's/ tests//' {.,gio,glib}/Makefile.am || die
|
||||
fi
|
||||
|
||||
# gdbus-codegen is a separate package
|
||||
epatch "${FILESDIR}/${PN}-2.40.0-external-gdbus-codegen.patch"
|
||||
|
|
1
dev-libs/grok/Manifest
Normal file
1
dev-libs/grok/Manifest
Normal file
|
@ -0,0 +1 @@
|
|||
DIST grok-0.9.2.tar.gz 243554 SHA256 40edbdba488ff9145832c7adb04b27630ca2617384fbef2af014d0e5a76ef636 SHA512 91d410259e89de6fbab011691cf56497158bc7a508194e6d17a2b32c8b70650be3b40c4792390589929b0f553a92b81cd3981e84ddcbe6a6ea80ab8fcdb38b2e WHIRLPOOL 90d0fb5418491435b57335792626d633edc50f348ba4a211a53f3c9acd46f5633b19b9d77642e787dd50e5feed57c2a5bbc78aeea1288c1b146a47e32c62317c
|
30
dev-libs/grok/files/0.9.2-Makefile.patch
Normal file
30
dev-libs/grok/files/0.9.2-Makefile.patch
Normal file
|
@ -0,0 +1,30 @@
|
|||
diff --git a/grok-0.9.2/Makefile b/grok-0.9.2/Makefile
|
||||
index adfe869..d5531b2 100644
|
||||
--- a/grok-0.9.2/Makefile
|
||||
+++ b/grok-0.9.2/Makefile
|
||||
@@ -97,6 +97,7 @@ install: libgrok.$(LIBSUFFIX) grok discogrok $(GROKHEADER)
|
||||
install -m 755 grok $(DESTDIR)$(PREFIX)/bin
|
||||
install -m 755 discogrok $(DESTDIR)$(PREFIX)/bin
|
||||
install -m 644 libgrok.$(LIBSUFFIX) $(DESTDIR)$(PREFIX)/lib
|
||||
+ ln -s libgrok.$(LIBSUFFIX) $(DESTDIR)$(PREFIX)/lib/libgrok.$(LIBSUFFIX).1
|
||||
for header in $(GROKHEADER); do \
|
||||
install -m 644 $$header $(DESTDIR)$(PREFIX)/include; \
|
||||
done
|
||||
@@ -162,14 +163,14 @@ cleanver:
|
||||
# Binary creation
|
||||
grok: LDFLAGS+=-levent
|
||||
grok: $(GROKOBJ) conf.tab.o conf.yy.o main.o grok_config.o
|
||||
- $(CC) $(LDFLAGS) $^ -o $@
|
||||
+ $(CC) $^ $(LDFLAGS) -o $@
|
||||
|
||||
discogrok: $(GROKOBJ) discover_main.o
|
||||
- $(CC) $(LDFLAGS) $^ -o $@
|
||||
+ $(CC) $^ $(LDFLAGS) -o $@
|
||||
|
||||
libgrok.$(LIBSUFFIX):
|
||||
libgrok.$(LIBSUFFIX): $(GROKOBJ)
|
||||
- $(CC) $(LDFLAGS) -fPIC $(DYNLIBFLAG) $(LIBNAMEFLAG) $^ -o $@
|
||||
+ $(CC) $^ $(LDFLAGS) -fPIC $(DYNLIBFLAG) $(LIBNAMEFLAG) -o $@
|
||||
|
||||
libgrok.$(VERLIBSUFFIX): libgrok.$(LIBSUFFIX);
|
||||
ln -s $< $@
|
27
dev-libs/grok/grok-0.9.2.ebuild
Normal file
27
dev-libs/grok/grok-0.9.2.ebuild
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/grok/grok-0.9.2.ebuild,v 1.1 2014/05/31 12:59:08 ercpe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="DRY and RAD for regular expressions"
|
||||
HOMEPAGE="https://github.com/jordansissel/grok http://code.google.com/p/semicomplete/wiki/Grok"
|
||||
SRC_URI="https://github.com/jordansissel/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-db/tokyocabinet
|
||||
>=dev-libs/libevent-1.3
|
||||
>=dev-libs/libpcre-7.6"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV}-*.patch
|
||||
}
|
9
dev-libs/grok/metadata.xml
Normal file
9
dev-libs/grok/metadata.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>ercpe@gentoo.org</email>
|
||||
<name>Johann Schmitz (ercpe)</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
|
@ -1 +1,2 @@
|
|||
DIST Text-Format-0.58.tar.gz 16444 SHA256 a26fde0832f27c2fb9e520c4377b24d86ea9de233a49ed88ce96165488d06003 SHA512 1baa05733e47d553b77c529d6f59ca1d47176752cf16e2abdfd55f8b3e01121202ee8aab1e3e892eb02311af3a1f0da562e7a46eef1e540de0681164c83cadd8 WHIRLPOOL c30fb5a87eb4920c87382f8383d7cdf46dddfcaf3e7c05c8d26d5367a53181be06b603bb0187210293c58d9cf42a864253971dff27100711d3560170203eb0e9
|
||||
DIST Text-Format-0.59.tar.gz 25850 SHA256 06ddf77b109c17115a3e1942eb92eb1728ee97f1a7cf61a501d2457cc51de8c9 SHA512 030fc38853f96d64f359af1ad9f776e7c797f564f11207de32477b3b716da665dbce3b91d988241ba1fbd2b884aa85b0ce0b7b473aaf0efd23839f8422a52fcd WHIRLPOOL 1148ca81be7f32bd014678405746dd32e77ab58261d49a9158b13dc9428c6f7984bf73824a7bda410593181503fdf0335e7a7d2ebea978c0116df614ea4d2d9f
|
||||
|
|
25
dev-perl/Text-Format/Text-Format-0.590.0.ebuild
Normal file
25
dev-perl/Text-Format/Text-Format-0.590.0.ebuild
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Text-Format/Text-Format-0.590.0.ebuild,v 1.2 2014/05/31 15:33:33 zlogene Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=SHLOMIF
|
||||
MODULE_VERSION=0.59
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Various subroutines to format text"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="virtual/perl-Module-Build
|
||||
test? (
|
||||
dev-perl/Test-Pod
|
||||
dev-perl/Test-Pod-Coverage
|
||||
)"
|
||||
|
||||
SRC_TEST="do parallel"
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/amqplib/amqplib-1.0.2-r1.ebuild,v 1.3 2014/03/31 20:47:12 mgorny Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/amqplib/amqplib-1.0.2-r1.ebuild,v 1.4 2014/06/01 11:33:29 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 )
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/anyjson/anyjson-0.3.3-r1.ebuild,v 1.5 2014/03/31 20:50:55 mgorny Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/anyjson/anyjson-0.3.3-r1.ebuild,v 1.6 2014/06/01 11:28:48 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 )
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-extensions/django-extensions-1.3.3.ebuild,v 1.1 2014/03/26 03:38:36 idella4 Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-extensions/django-extensions-1.3.3.ebuild,v 1.2 2014/06/01 02:06:38 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -30,8 +30,7 @@ RDEPEND=">=dev-python/django-1.5.4[${PYTHON_USEDEP},mysql?,postgres?,sqlite?]
|
|||
s3? ( dev-python/boto[${PY2_USEDEP}] )
|
||||
vcard? ( dev-python/vobject[${PY2_USEDEP}] )"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}] )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( ${RDEPEND} )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PN}-${GIT_HASH_TAG}"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-extensions/django-extensions-1.3.7.ebuild,v 1.1 2014/05/27 06:21:23 ercpe Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-extensions/django-extensions-1.3.7.ebuild,v 1.2 2014/06/01 02:06:38 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -30,8 +30,7 @@ RDEPEND=">=dev-python/django-1.5.4[${PYTHON_USEDEP},mysql?,postgres?,sqlite?]
|
|||
s3? ( dev-python/boto[${PY2_USEDEP}] )
|
||||
vcard? ( dev-python/vobject[${PY2_USEDEP}] )"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}] )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( ${RDEPEND}
|
||||
dev-python/shortuuid[${PYTHON_USEDEP}] )"
|
||||
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
DIST gst-python-0.10.22.tar.bz2 632651 SHA256 8f26f519a5bccd770864317e098e5e307fc5ad1201eb96329634b6508b253178 SHA512 bbbd6b661778cca990da0e216294d86da31a6e472049905989a3311459dd1227bf8f2ae3699a3cdbb66a16288569764352f1e1b93e696d3db4b0728bc38e5b12 WHIRLPOOL c6902554bc8f390b5d295d05598ee60fd6b2637d290125d83a48fc40bbd4e6e261a711430259831c96a30fee4c5ec5c89aea444424b117fb5d62c946b0263454
|
||||
DIST gst-python-1.2.0.tar.bz2 410330 SHA256 81ae1eb4fadef1934b4107ec1b6c0faa0bb7e188fd64d96ae475dd8834f58625 SHA512 c8c5e45c25bad073cd1627008690a91697fdda87982a0a47e0cea8349895a47a1565b87f717c3188743a2fc1b2a06b2e85c36829ba9fd8b5a31af87f16428dee WHIRLPOOL f1d10bd1bdcfbf99679701d0d408db74c3bde10aab2d51183b20aba839fd7a2fe93cd4227917049f499903920fc84deab807187602c51f289d3a27b81c9965d3
|
||||
DIST gst-python-1.2.1.tar.bz2 410887 SHA256 8823e5a9ffc51212df412652da44dc3f2a0e23295da769de2d111c770280efd4 SHA512 ed318d94831d34687224d82b84735984b946c6f33704e6bda56847b633af06212f394b709257007cec5d3a3597b200fbe6b19eade6b76e7855e8668c5ebc270e WHIRLPOOL 959e976c5a481367eb298d24eed4b3bf125d173662ff30cf02506906c88cd369259e0f5cb2bbd31bae31c39934b4a894d2eae13a5e411301f055aef030dcebbb
|
||||
|
|
|
@ -1,63 +0,0 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/gst-python-0.10.22.ebuild,v 1.13 2012/11/07 20:10:53 tetromino Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython"
|
||||
PYTHON_EXPORT_PHASE_FUNCTIONS="1"
|
||||
|
||||
inherit autotools eutils python
|
||||
|
||||
DESCRIPTION="A Python Interface to GStreamer"
|
||||
HOMEPAGE="http://gstreamer.freedesktop.org/"
|
||||
SRC_URI="http://gstreamer.freedesktop.org/src/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0.10"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="examples test"
|
||||
|
||||
RDEPEND="dev-libs/libxml2
|
||||
>=dev-python/pygobject-2.28:2
|
||||
>=media-libs/gstreamer-0.10.32:0.10
|
||||
>=media-libs/gst-plugins-base-0.10.32:0.10"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
media-plugins/gst-plugins-ogg:0.10
|
||||
media-plugins/gst-plugins-vorbis:0.10
|
||||
)" # tests a "audiotestsrc ! vorbisenc ! oggmux ! fakesink" pipeline
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.10.9-lazy.patch
|
||||
python_clean_py-compile_files #396689
|
||||
AT_M4DIR="common/m4" eautoreconf
|
||||
python_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_src_install
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/*
|
||||
fi
|
||||
|
||||
python_clean_installation_image
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LC_ALL="C" python_src_test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize pygst.py gst-0.10
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup pygst.py gst-0.10
|
||||
}
|
58
dev-python/gst-python/gst-python-1.2.1.ebuild
Normal file
58
dev-python/gst-python/gst-python-1.2.1.ebuild
Normal file
|
@ -0,0 +1,58 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/gst-python-1.2.1.ebuild,v 1.1 2014/05/31 13:40:54 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3} )
|
||||
|
||||
inherit python-r1
|
||||
|
||||
DESCRIPTION="A Python Interface to GStreamer"
|
||||
HOMEPAGE="http://gstreamer.freedesktop.org/"
|
||||
SRC_URI="http://gstreamer.freedesktop.org/src/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="1.0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="test" #examples , bug #506962
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libxml2
|
||||
>=dev-python/pygobject-3:3[${PYTHON_USEDEP}]
|
||||
>=media-libs/gstreamer-1.2:1.0
|
||||
>=media-libs/gst-plugins-base-1.2:1.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# XXX: unittests are not ported to 1.0 yet.
|
||||
|
||||
src_prepare() {
|
||||
# Leave examples alone
|
||||
sed -e 's/\(SUBDIRS = .*\)examples/\1/' \
|
||||
-i Makefile.am Makefile.in || die
|
||||
|
||||
prepare_gst() {
|
||||
mkdir -p "${BUILD_DIR}" || die
|
||||
}
|
||||
python_foreach_impl prepare_gst
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir econf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
prune_libtool_files --modules
|
||||
einstalldocs
|
||||
|
||||
# if use examples; then
|
||||
# docinto examples
|
||||
# dodoc examples/*
|
||||
# fi
|
||||
}
|
|
@ -3,3 +3,4 @@ DIST joblib-0.6.4.tar.gz 250885 SHA256 d501942991228c8deb7d10230f2109dc19a1f9d8b
|
|||
DIST joblib-0.6.5.tar.gz 274834 SHA256 24fab9628f27b908ed9cdfc58154cdba4501c8cd8a0bbb85ee26415a0c5e6c54 SHA512 08cff63a5bb3a4fa71947abf519a4c5d4497bbd91e7e7ce8bf4dc921704c14cbd89fb35d9c13fd37553f2b42436f438f65f4fa697c3591395835475fceb5c9b7 WHIRLPOOL 1a16ebe450444ad4ba35fa9b423d3659f5083427ad7b42a228df8089405e88ab2abc175ac7f8fd8b957ee9a0d06a15259f1df27b34cd1d7f17b27a98d229da37
|
||||
DIST joblib-0.7.0d.tar.gz 296118 SHA256 1eef2ff1a8dff32f4204e9ae2bd6c2348e1e4dfdef12baf26b3f5fa0eb933c27 SHA512 b046cf842afbe8dc1cdd56077fa2bd72e6c4137e43dc5896b0b94311be09bc499c069b71d6743075a012858052a7afcd79d654e811c0673d3d474bac455a2abe WHIRLPOOL af7614a2c18b4c1c853b0309614ca38b97788f0f089e79f6be6c0f1b4f17be307e4dbe69316f5e3aefc98d1011a536f836d46ad26f88f616bdf49cda7d7f379e
|
||||
DIST joblib-0.7.1.tar.gz 302746 SHA256 e57eead7aff9cdfa0d961b11e73f9934af692ef3c4db861ec8cfce56e26fd3b5 SHA512 6f3ff0a167ad587fbb31d7d8360bb2f19d3a2be92bfc443e286d6e79a5e77d786623c9c835d801e8e42de832d4139ad46f4a21932cbf011db373688a24bfa5f2 WHIRLPOOL d59205fbf15d4ac0be7dc9875b74938a656e955d611b19b369add430e173813fb8f967911a9db8513dc4a1a82783d4019564c4a50bba2e22c890242903c97a0a
|
||||
DIST joblib-0.8.0.tar.gz 309866 SHA256 b0f628f878ee808cb8987ac7fd82abdb7a2a6e3252c65d7ed28e26b806d82a45 SHA512 5dc5f89bea0204975765d88ef5e1f1faac6541a71845a74865e10c23ca3363ee8f39f62eb35b7cd944b0768a85f44f5d9d7deb02a17df80bec36f9e75f071aba WHIRLPOOL 15f65fdd838287c130da28c27989c998b4eccdc2dc899cecb277cf829345ad56a3e7fa39e61e4669e3afcc2ba96ca6624a50d1f5fd10ed7a7d60d96b510e3fd4
|
||||
|
|
45
dev-python/joblib/joblib-0.8.0.ebuild
Normal file
45
dev-python/joblib/joblib-0.8.0.ebuild
Normal file
|
@ -0,0 +1,45 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/joblib/joblib-0.8.0.ebuild,v 1.2 2014/06/01 09:18:46 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Tools to provide lightweight pipelining in Python"
|
||||
HOMEPAGE="http://pythonhosted.org/joblib/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="${DEPEND}"
|
||||
# Usual; req'd for testsuite
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
sphinx-build -b html -c doc/ doc/ doc/html || die "docs failed installation"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# https://github.com/joblib/joblib/issues/143
|
||||
if [[ "${EPYTHON}" == pypy ]]; then
|
||||
sed -e 's:test_func_inspect_errors:_&:' -i ${PN}/test/test_func_inspect.py || die
|
||||
sed -e 's:test_parallel_pickling:_&:' -i ${PN}/test/test_parallel.py || die
|
||||
fi
|
||||
|
||||
nosetests -w ${PN}/test || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
|
@ -4,3 +4,4 @@ DIST kombu-2.5.4.tar.gz 300506 SHA256 92cfb82af1d3e8753258d660003769461b75abe0f1
|
|||
DIST kombu-2.5.6.tar.gz 301670 SHA256 01c0ba72782535df913b519d6509835f8210b4dbfde652d3a1c6f545d737beb9 SHA512 f67354d71ce5f187aa7e914e3e1336ec7b1deb2cba376784b7c9998eb5d12daf4510d0071670f4d3039e8b0b570fed772558b28a37d1680af29721e7aafa7791 WHIRLPOOL 3057c8835cab3dc6ac3ecce8cd36279c61d1b1a40b44cf506fc61d82b41d5d0c3b57cb514d33640010ca313a8d5a4efa60f4bb4a326e0e2b2effed44738d8571
|
||||
DIST kombu-3.0.14.tar.gz 340310 SHA256 e64812539ffa1d6f1c6c15aa60721203a102284e30bd8938c0bdd4da6091cf41 SHA512 f56c383230a22e3842f6ce379f385112cc5cff6bbbabe1c36a503e3fa20cb6122d28bc564c347974c79110bb45f5be0c4c469ed45b2e54be76a0d0ad99431121 WHIRLPOOL 3cf0fd5c2494fe95ce01e7d90a58520ea8f99280de27e4403d31774f5c33ddf86a7c924b5fd36b5fc7f06fb7f0f3bd0ad80faa4cefa3d371e0f4b2b11e6b57b6
|
||||
DIST kombu-3.0.15.tar.gz 342092 SHA256 8872a52e42f9e08c2c135cc67dbe8eb9f2707a714cb6719f6900c4af66bc5500 SHA512 cb8b19253cdc43d896af7b26301a9fcf0ba4c85aadcd21cffa535702ab72a56ea997e646f708b5f94a08fcdc535d4a31cb0930e82a6c55b973b0228e61cd44da WHIRLPOOL 0c8a9c366bdd2f4f8a61084799422edb80a00d97e3b9b04bc9119ad92388958127df0c0cba8fe95d92fea7d27ea800290fca6f40d536c0a1e1eb867419c0beb7
|
||||
DIST kombu-3.0.16.tar.gz 342440 SHA256 c1e0a1146ef109b85a35cc5f7f8e4b652211aa4d666efba5d727c554e25e2957 SHA512 3d7a7f960a95376e59cf1040924aa3cfbf538e5bb57524b7172e253b20ee7829e81c881f21476a80a9a47dfd6b9c6a23b8731e21f5d47f9fa8a1e19591a70a59 WHIRLPOOL 575f69f54296e208a206f0cd060e3d6d26f01ac62c921f1ff92bde5050c5bb781e0c7d35d830099d2ad84b162d175405afaca6633d51ba1a4ba541333fc09c60
|
||||
|
|
82
dev-python/kombu/kombu-3.0.16.ebuild
Normal file
82
dev-python/kombu/kombu-3.0.16.ebuild
Normal file
|
@ -0,0 +1,82 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/kombu/kombu-3.0.16.ebuild,v 1.1 2014/06/01 14:40:08 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="AMQP Messaging Framework for Python"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/kombu https://github.com/celery/kombu"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="amqplib doc examples msgpack sqs test"
|
||||
|
||||
PY27_GEN_USEDEP=$(python_gen_usedep python2_7)
|
||||
RDEPEND=">=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/py-amqp-1.4.5[${PYTHON_USEDEP}]
|
||||
<dev-python/py-amqp-2.0[${PYTHON_USEDEP}]
|
||||
amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] )
|
||||
sqs? ( >=dev-python/boto-2.13.3[${PY27_GEN_USEDEP}] )
|
||||
msgpack? ( >=dev-python/msgpack-0.2.0[${PYTHON_USEDEP}] )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/nose-cover3[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-0.7[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/redis-py[${PYTHON_USEDEP}]
|
||||
dev-python/pymongo[${PYTHON_USEDEP}]
|
||||
>=dev-python/unittest2-0.5.0[${PYTHON_USEDEP}] )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/beanstalkc[${PY27_GEN_USEDEP}]
|
||||
dev-python/couchdb-python[${PY27_GEN_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )"
|
||||
# pyyaml is an optional package for tests, refrain for now
|
||||
# Req'd for test phase
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
PY27_REQUSE="$(python_gen_useflags 'python2.7')"
|
||||
REQUIRED_USE="sqs? ( ${PY27_REQUSE} )
|
||||
doc? ( ${PY27_REQUSE} amqplib sqs )" # 2 deps in doc build are only py2 capable
|
||||
|
||||
python_prepare_all() {
|
||||
https://github.com/celery/kombu/issues/246
|
||||
sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# Doc build must be done by py2.7
|
||||
# Doc build misses and skips only content re librabbitmq which is not in portage
|
||||
if use doc; then
|
||||
emake -C docs html || die "kombu docs failed installation"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
export DJANGO_SETTINGS_MODULE="django.conf"
|
||||
if python_is_python3; then
|
||||
2to3 --no-diffs -w build/lib/kombu/transport/
|
||||
nosetests --py3where=build/lib kombu/tests || die "Tests failed under ${EPYTHON}"
|
||||
else
|
||||
# funtests appears to be coded only for py2, a kind of 2nd tier.
|
||||
nosetests "${S}"/kombu/tests || die "Tests failed under ${EPYTHON}"
|
||||
pushd funtests > /dev/null
|
||||
esetup.py test
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
use doc && local HTML_DOCS=( docs/.build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
|
@ -1,10 +1,10 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-2.7-r1.ebuild,v 1.1 2014/04/15 15:18:18 ultrabug Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-2.7-r1.ebuild,v 1.2 2014/06/01 13:58:45 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 )
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
|
||||
|
||||
inherit check-reqs distutils-r1
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/restkit/restkit-4.2.2.ebuild,v 1.1 2014/04/23 08:27:32 idella4 Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/restkit/restkit-4.2.2.ebuild,v 1.2 2014/05/31 13:07:34 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -18,8 +18,7 @@ KEYWORDS="~amd64 ~arm ~x86"
|
|||
IUSE="+cli doc examples test"
|
||||
|
||||
PY27_USEDEP="$(python_gen_usedep 'python2*')"
|
||||
RDEPEND="cli? ( dev-python/ipython[${PY27_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}] )
|
||||
RDEPEND="cli? ( dev-python/ipython[${PY27_USEDEP}] )
|
||||
dev-python/webob[${PYTHON_USEDEP}]
|
||||
>=dev-python/socketpool-0.5.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/http-parser-0.8.3[${PYTHON_USEDEP}]"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtgui/qtgui-4.8.5-r2.ebuild,v 1.5 2014/05/28 19:52:07 zlogene Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtgui/qtgui-4.8.5-r2.ebuild,v 1.6 2014/06/01 12:58:04 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -11,7 +11,7 @@ SLOT="4"
|
|||
if [[ ${QT4_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
IUSE="+accessibility cups egl +glib gtkstyle mng nas nis qt3support tiff trace xinerama +xv"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/blankslate/blankslate-2.1.2.4.ebuild,v 1.2 2014/05/03 20:33:44 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/blankslate/blankslate-2.1.2.4.ebuild,v 1.3 2014/05/31 14:04:11 ercpe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -18,6 +18,6 @@ HOMEPAGE="https://rubygems.org/gems/blankslate"
|
|||
IUSE=""
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RESTRICT="test"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bluecloth/bluecloth-2.2.0-r1.ebuild,v 1.4 2014/05/15 01:05:38 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bluecloth/bluecloth-2.2.0-r1.ebuild,v 1.5 2014/06/01 12:52:27 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
@ -18,7 +18,7 @@ HOMEPAGE="http://www.deveiate.org/projects/BlueCloth"
|
|||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND+=" doc? ( dev-lang/perl )"
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
DIST mongo-ruby-driver-1.6.2.tar.gz 15485515 SHA256 ef6885ba66fce2df619d5543ef1699b584362fe37931e9e2121d974a67cb4a58 SHA512 ce537f2b819c072fddcb12dac66d81e9dc23a739b43211b65239d3264be9d4ac586813a18ca674abf75078639e3ee22dced8e88061e7c263b2381ea0d4e97b28 WHIRLPOOL ceb3ad9cb7b5cd1372d27a7962b60242166a37d31320e54f28c51b5f18e3a53cc08194dc2ec293c953a12a0936b1d8869f9338f4ca3a84fa09a847558acc361e
|
||||
DIST v2.0.0.tar.gz 49381 SHA256 bfeed5cd135e57a046e3e6dfb74d896850b45d0fcca6fcb6e2cfaf0c46cab2d7 SHA512 63dc5ff7332772d53ed9fb78414485f116c9d19f1227db803c982f06f829eaa7e3b6cf23906ae2743a6422ba01a442965b304bb51ebbf781510c6647b773626d WHIRLPOOL cb5e2e5bcb5cbaa4481db1904c01c7e796cf2bcfc63cbabd8b0ae2bbc0d302d676a459be37cc7cf2c59c4d1ffc5a8094ec70d2f876fb6559d3b80611e19d9971
|
||||
DIST v2.2.4.tar.gz 48155 SHA256 422e271bd7e903da1ae581554139b9ce6e385ecc85761fcdae259ce2b6e5b463 SHA512 1dfb7dbd1f8482e5b402897f2232f1e0409682c406e08c4a971edf8d4092dfc52d1465ca2cda0514cadb3c32bdfbbbe5286c017891b63ef90e70b836d5ba3307 WHIRLPOOL ec1e7f706274ef1dc82c3d685cd2c69e929bf64d296399143bb40738e177e245e2b25fbddd6f2a5eee9cacdb485c71d5b2def9f8bbbe60d0788334a9de3fa1d2
|
||||
|
|
69
dev-ruby/bson/bson-2.2.4.ebuild
Normal file
69
dev-ruby/bson/bson-2.2.4.ebuild
Normal file
|
@ -0,0 +1,69 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bson/bson-2.2.4.ebuild,v 1.1 2014/06/01 06:46:43 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
# jruby → support needs to be written properly
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
GITHUB_USER="mongodb"
|
||||
GITHUB_PROJECT="bson-ruby"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby BSON implementation for MongoDB. (Includes binary C-based extension.)"
|
||||
HOMEPAGE="http://www.mongodb.org/"
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz"
|
||||
RUBY_S="bson-ruby-${PV}"
|
||||
|
||||
LICENSE="APSL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test doc"
|
||||
|
||||
ruby_add_bdepend \
|
||||
"test? (
|
||||
dev-ruby/rake
|
||||
dev-ruby/shoulda
|
||||
dev-ruby/mocha
|
||||
dev-ruby/test-unit:2
|
||||
)
|
||||
doc? ( virtual/ruby-rdoc )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundler support
|
||||
sed -i -e '/bundler/I s:^:#:' Rakefile || die
|
||||
|
||||
# Remove project-specific rspec options
|
||||
rm .rspec || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
case ${RUBY} in
|
||||
*/ruby19|*/ruby20|*/ruby21)
|
||||
${RUBY} -C ext/bson extconf.rb || die "extconf.rb failed"
|
||||
;;
|
||||
*/jruby)
|
||||
${RUBY} -S rake build:java || die "rake build:java failed"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
case ${RUBY} in
|
||||
*/ruby19|*/ruby20|*/ruby21)
|
||||
emake -C ext/bson V=1 CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
|
||||
cp ext/bson/*$(get_modname) lib/ || die
|
||||
;;
|
||||
*/jruby)
|
||||
die "missing in ebuild"
|
||||
;;
|
||||
esac
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/diff-lcs/diff-lcs-1.2.5.ebuild,v 1.4 2014/04/27 12:58:10 jer Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/diff-lcs/diff-lcs-1.2.5.ebuild,v 1.5 2014/06/01 12:47:07 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 jruby"
|
||||
|
@ -17,5 +17,5 @@ HOMEPAGE="https://github.com/halostatue/diff-lcs"
|
|||
|
||||
LICENSE="|| ( MIT Ruby GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/locale/locale-2.1.0-r1.ebuild,v 1.5 2014/05/27 06:13:43 graaff Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/locale/locale-2.1.0-r1.ebuild,v 1.6 2014/06/01 12:56:24 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -19,7 +19,7 @@ HOMEPAGE="https://github.com/ruby-gettext/locale"
|
|||
LICENSE="|| ( Ruby GPL-2 )"
|
||||
SRC_URI="https://github.com/ruby-gettext/locale/archive/${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~x86-macos"
|
||||
KEYWORDS="~amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~x86-macos"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/minitest/minitest-5.3.3.ebuild,v 1.2 2014/04/27 23:47:17 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/minitest/minitest-5.3.3.ebuild,v 1.3 2014/06/01 12:50:51 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 jruby"
|
||||
|
@ -17,7 +17,7 @@ HOMEPAGE="https://github.com/seattlerb/minitest"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="5"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc test"
|
||||
|
||||
each_ruby_prepare() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/nokogiri/nokogiri-1.5.10.ebuild,v 1.4 2014/05/07 19:24:11 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/nokogiri/nokogiri-1.5.10.ebuild,v 1.5 2014/06/01 12:49:42 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -17,7 +17,7 @@ HOMEPAGE="http://nokogiri.rubyforge.org/"
|
|||
LICENSE="MIT"
|
||||
SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/parslet/parslet-1.5.0-r1.ebuild,v 1.1 2013/12/13 02:12:17 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/parslet/parslet-1.5.0-r1.ebuild,v 1.2 2014/05/31 14:11:11 ercpe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -19,7 +19,7 @@ SRC_URI="https://github.com/kschiess/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|||
IUSE=""
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/blankslate:2"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/parslet/parslet-1.6.0.ebuild,v 1.1 2014/05/03 20:36:34 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/parslet/parslet-1.6.0.ebuild,v 1.2 2014/05/31 14:11:12 ercpe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -19,7 +19,7 @@ SRC_URI="https://github.com/kschiess/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|||
IUSE=""
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/blankslate:2"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/parslet/parslet-1.6.1.ebuild,v 1.1 2014/05/23 05:16:53 graaff Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/parslet/parslet-1.6.1.ebuild,v 1.2 2014/05/31 14:11:11 ercpe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -19,7 +19,7 @@ SRC_URI="https://github.com/kschiess/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|||
IUSE=""
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/blankslate:2"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/rake-compiler-0.9.2.ebuild,v 1.6 2014/04/27 23:49:57 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/rake-compiler-0.9.2.ebuild,v 1.7 2014/06/01 12:49:19 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 jruby"
|
||||
|
@ -19,7 +19,7 @@ LICENSE="MIT"
|
|||
SRC_URI="http://github.com/luislavena/${PN}/tarball/v${PV} -> ${P}.tar.gz"
|
||||
RUBY_S="luislavena-${PN}-*"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rr/rr-1.1.2.ebuild,v 1.2 2014/04/05 15:01:42 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rr/rr-1.1.2.ebuild,v 1.3 2014/06/01 12:55:38 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -19,7 +19,7 @@ SRC_URI="http://github.com/rr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.14.8.ebuild,v 1.2 2014/04/05 22:56:33 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.14.8.ebuild,v 1.3 2014/06/01 12:50:05 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 jruby"
|
||||
|
@ -23,7 +23,7 @@ SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-expectations/rspec-expectations-2.14.5.ebuild,v 1.4 2014/04/27 12:56:34 jer Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-expectations/rspec-expectations-2.14.5.ebuild,v 1.5 2014/06/01 12:48:17 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 jruby"
|
||||
|
@ -20,7 +20,7 @@ SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/diff-lcs-1.1.3"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-mocks/rspec-mocks-2.14.6.ebuild,v 1.4 2014/04/27 12:56:47 jer Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-mocks/rspec-mocks-2.14.6.ebuild,v 1.5 2014/06/01 12:47:54 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 jruby"
|
||||
|
@ -18,7 +18,7 @@ SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec/rspec-2.14.1.ebuild,v 1.3 2014/04/05 22:55:08 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec/rspec-2.14.1.ebuild,v 1.4 2014/06/01 12:50:28 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 jruby"
|
||||
|
@ -17,7 +17,7 @@ HOMEPAGE="http://rspec.rubyforge.org/"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
SUBVERSION="$(get_version_component_range 1-2)"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gettext/ruby-gettext-3.1.1.ebuild,v 1.1 2014/02/25 09:17:33 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gettext/ruby-gettext-3.1.1.ebuild,v 1.2 2014/06/01 12:56:47 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -21,7 +21,7 @@ inherit ruby-fakegem
|
|||
DESCRIPTION="Ruby GetText Package is Native Language Support Library and Tools modeled after GNU gettext package"
|
||||
HOMEPAGE="http://www.yotabanana.com/hiki/ruby-gettext.html"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64"
|
||||
KEYWORDS="~amd64 arm ~hppa ~ia64"
|
||||
IUSE="doc test"
|
||||
SLOT="0"
|
||||
LICENSE="Ruby"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/session/session-3.1.2.ebuild,v 1.3 2014/05/27 06:19:35 graaff Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/session/session-3.1.2.ebuild,v 1.4 2014/06/01 12:55:15 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -21,7 +21,7 @@ HOMEPAGE="http://codeforpeople.com/lib/ruby/session/"
|
|||
# by author.
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND+=" test? ( || ( sys-apps/coreutils sys-freebsd/freebsd-bin ) )"
|
||||
|
|
1
dev-ruby/sshkit/Manifest
Normal file
1
dev-ruby/sshkit/Manifest
Normal file
|
@ -0,0 +1 @@
|
|||
DIST sshkit-1.5.1.gem 135168 SHA256 be1510b4936ee23174a4152a6b0e382a2b8244aa0d47d4e94908b641d639cd53 SHA512 d590568216366c7171e9364a260ec92e7d1ecfb00c28f0238aaa4ef40b51d21b9121ce710e627f0161b095d2a105f660e2ccaf523cc2b48557aea0f35c2ce1fe WHIRLPOOL cd004fcbfcd83bf1fb49352e1968746b40e4733fa2c2fac25a41f3179be667c71062c8d0f181ec877c708959bbe28a0a3423c89261ea91199a3318c4c21b53e1
|
5
dev-ruby/sshkit/metadata.xml
Normal file
5
dev-ruby/sshkit/metadata.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
35
dev-ruby/sshkit/sshkit-1.5.1.ebuild
Normal file
35
dev-ruby/sshkit/sshkit-1.5.1.ebuild
Normal file
|
@ -0,0 +1,35 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sshkit/sshkit-1.5.1.ebuild,v 1.1 2014/06/01 07:13:58 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
# There are functional tests that require vagrant boxes to be set up.
|
||||
RUBY_FAKEGEM_TASK_TEST="test:units"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="SSHKit makes it easy to write structured, testable SSH commands in Ruby"
|
||||
HOMEPAGE="http://github.com/capistrano/sshkit"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/net-ssh-2.8.0
|
||||
>=dev-ruby/net-scp-1.1.2
|
||||
dev-ruby/colorize
|
||||
"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/minitest dev-ruby/mocha )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/bundler/I s:^:#:' Rakefile test/helper.rb || die
|
||||
sed -i -e '/\(turn\|unindent\)/I s:^:#:' test/helper.rb || die
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit-rr/test-unit-rr-1.0.3.ebuild,v 1.2 2014/04/05 14:56:49 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit-rr/test-unit-rr-1.0.3.ebuild,v 1.3 2014/06/01 12:56:01 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -18,7 +18,7 @@ HOMEPAGE="http://rubyforge.org/projects/test-unit/"
|
|||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/rr-1.1.1 >=dev-ruby/test-unit-2.5.2"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/text/text-1.2.3-r1.ebuild,v 1.6 2014/05/27 06:22:24 graaff Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/text/text-1.2.3-r1.ebuild,v 1.7 2014/06/01 12:53:48 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 jruby"
|
||||
|
@ -16,5 +16,5 @@ HOMEPAGE="https://github.com/threedaymonk/text"
|
|||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64"
|
||||
KEYWORDS="~amd64 arm ~hppa ~ia64"
|
||||
IUSE=""
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tidy-ext/tidy-ext-0.1.14-r1.ebuild,v 1.3 2014/04/05 16:04:53 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tidy-ext/tidy-ext-0.1.14-r1.ebuild,v 1.4 2014/06/01 12:52:04 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
@ -16,7 +16,7 @@ HOMEPAGE="http://github.com/carld/tidy"
|
|||
|
||||
LICENSE="HTML-Tidy"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
all_ruby_prepare() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/yard-0.8.7.3.ebuild,v 1.4 2014/04/12 23:37:53 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/yard-0.8.7.3.ebuild,v 1.5 2014/06/01 12:57:10 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
|
@ -24,7 +24,7 @@ SRC_URI="https://github.com/lsegal/yard/archive/${PV}.tar.gz -> ${P}-git.tgz"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "doc? ( || ( dev-ruby/bluecloth dev-ruby/maruku dev-ruby/rdiscount dev-ruby/kramdown ) )
|
||||
|
|
644
dev-vcs/git/git-2.0.0-r1.ebuild
Normal file
644
dev-vcs/git/git-2.0.0-r1.ebuild
Normal file
|
@ -0,0 +1,644 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-2.0.0-r1.ebuild,v 1.1 2014/06/01 06:20:08 robbat2 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
GENTOO_DEPEND_ON_PERL=no
|
||||
|
||||
# bug #329479: git-remote-testgit is not multiple-version aware
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
[[ ${PV} == *9999 ]] && SCM="git-2"
|
||||
EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git"
|
||||
EGIT_MASTER=pu
|
||||
|
||||
inherit toolchain-funcs eutils elisp-common perl-module bash-completion-r1 python-single-r1 systemd ${SCM}
|
||||
|
||||
MY_PV="${PV/_rc/.rc}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DOC_VER=${MY_PV}
|
||||
|
||||
DESCRIPTION="GIT - the stupid content tracker, the revision control system heavily used by the Linux kernel team"
|
||||
HOMEPAGE="http://www.git-scm.com/"
|
||||
if [[ ${PV} != *9999 ]]; then
|
||||
SRC_URI_SUFFIX="gz"
|
||||
SRC_URI_GOOG="http://git-core.googlecode.com/files"
|
||||
SRC_URI_KORG="mirror://kernel/software/scm/git"
|
||||
SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_GOOG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_KORG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
doc? (
|
||||
${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_GOOG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
else
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg gtk highlight +iconv mediawiki +nls +pcre +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test"
|
||||
|
||||
# Common to both DEPEND and RDEPEND
|
||||
CDEPEND="
|
||||
dev-libs/openssl
|
||||
sys-libs/zlib
|
||||
pcre? ( dev-libs/libpcre )
|
||||
perl? ( dev-lang/perl:=[-build(-)] )
|
||||
tk? ( dev-lang/tk )
|
||||
curl? (
|
||||
net-misc/curl
|
||||
webdav? ( dev-libs/expat )
|
||||
)
|
||||
emacs? ( virtual/emacs )
|
||||
gnome-keyring? ( gnome-base/gnome-keyring )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
gpg? ( app-crypt/gnupg )
|
||||
mediawiki? (
|
||||
dev-perl/HTML-Tree
|
||||
dev-perl/MediaWiki-API
|
||||
)
|
||||
perl? ( dev-perl/Error
|
||||
dev-perl/Net-SMTP-SSL
|
||||
dev-perl/Authen-SASL
|
||||
cgi? ( virtual/perl-CGI highlight? ( app-text/highlight ) )
|
||||
cvs? ( >=dev-vcs/cvsps-2.1 dev-perl/DBI dev-perl/DBD-SQLite )
|
||||
subversion? ( dev-vcs/subversion[-dso,perl] dev-perl/libwww-perl dev-perl/TermReadKey )
|
||||
)
|
||||
python? ( gtk?
|
||||
(
|
||||
>=dev-python/pygtk-2.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygtksourceview-2.10.1-r1:2[${PYTHON_USEDEP}]
|
||||
)
|
||||
${PYTHON_DEPS} )"
|
||||
|
||||
# This is how info docs are created with Git:
|
||||
# .txt/asciidoc --(asciidoc)---------> .xml/docbook
|
||||
# .xml/docbook --(docbook2texi.pl)--> .texi
|
||||
# .texi --(makeinfo)---------> .info
|
||||
DEPEND="${CDEPEND}
|
||||
app-arch/cpio
|
||||
doc? (
|
||||
app-text/asciidoc
|
||||
app-text/docbook2X
|
||||
sys-apps/texinfo
|
||||
app-text/xmlto
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( app-crypt/gnupg )"
|
||||
|
||||
# Live ebuild builds man pages and HTML docs, additionally
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
DEPEND="${DEPEND}
|
||||
app-text/asciidoc"
|
||||
fi
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
REQUIRED_USE="
|
||||
cgi? ( perl )
|
||||
cvs? ( perl )
|
||||
mediawiki? ( perl )
|
||||
subversion? ( perl )
|
||||
webdav? ( curl )
|
||||
gtk? ( python )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if use subversion && has_version "dev-vcs/subversion[dso]"; then
|
||||
ewarn "Per Gentoo bugs #223747, #238586, when subversion is built"
|
||||
ewarn "with USE=dso, there may be weird crashes in git-svn. You"
|
||||
ewarn "have been warned."
|
||||
fi
|
||||
if use python ; then
|
||||
python-single-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
# This is needed because for some obscure reasons future calls to make don't
|
||||
# pick up these exports if we export them in src_unpack()
|
||||
exportmakeopts() {
|
||||
local myopts
|
||||
|
||||
if use blksha1 ; then
|
||||
myopts="${myopts} BLK_SHA1=YesPlease"
|
||||
elif use ppcsha1 ; then
|
||||
myopts="${myopts} PPC_SHA1=YesPlease"
|
||||
fi
|
||||
|
||||
if use curl ; then
|
||||
use webdav || myopts="${myopts} NO_EXPAT=YesPlease"
|
||||
else
|
||||
myopts="${myopts} NO_CURL=YesPlease"
|
||||
fi
|
||||
|
||||
# broken assumptions, because of broken build system ...
|
||||
myopts="${myopts} NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease"
|
||||
myopts="${myopts} INSTALL=install TAR=tar"
|
||||
myopts="${myopts} SHELL_PATH=${EPREFIX}/bin/sh"
|
||||
myopts="${myopts} SANE_TOOL_PATH="
|
||||
myopts="${myopts} OLD_ICONV="
|
||||
myopts="${myopts} NO_EXTERNAL_GREP="
|
||||
|
||||
# For svn-fe
|
||||
extlibs="-lz -lssl ${S}/xdiff/lib.a $(usex threads -lpthread '')"
|
||||
|
||||
# can't define this to null, since the entire makefile depends on it
|
||||
sed -i -e '/\/usr\/local/s/BASIC_/#BASIC_/' Makefile
|
||||
|
||||
use iconv \
|
||||
|| myopts="${myopts} NO_ICONV=YesPlease"
|
||||
use nls \
|
||||
|| myopts="${myopts} NO_GETTEXT=YesPlease"
|
||||
use tk \
|
||||
|| myopts="${myopts} NO_TCLTK=YesPlease"
|
||||
use pcre \
|
||||
&& myopts="${myopts} USE_LIBPCRE=yes" \
|
||||
&& extlibs="${extlibs} -lpcre"
|
||||
use perl \
|
||||
&& myopts="${myopts} INSTALLDIRS=vendor" \
|
||||
|| myopts="${myopts} NO_PERL=YesPlease"
|
||||
use python \
|
||||
|| myopts="${myopts} NO_PYTHON=YesPlease"
|
||||
use subversion \
|
||||
|| myopts="${myopts} NO_SVN_TESTS=YesPlease"
|
||||
use threads \
|
||||
&& myopts="${myopts} THREADED_DELTA_SEARCH=YesPlease" \
|
||||
|| myopts="${myopts} NO_PTHREADS=YesPlease"
|
||||
use cvs \
|
||||
|| myopts="${myopts} NO_CVS=YesPlease"
|
||||
# Disabled until ~m68k-mint can be keyworded again
|
||||
# if [[ ${CHOST} == *-mint* ]] ; then
|
||||
# myopts="${myopts} NO_MMAP=YesPlease"
|
||||
# myopts="${myopts} NO_IPV6=YesPlease"
|
||||
# myopts="${myopts} NO_STRLCPY=YesPlease"
|
||||
# myopts="${myopts} NO_MEMMEM=YesPlease"
|
||||
# myopts="${myopts} NO_MKDTEMP=YesPlease"
|
||||
# myopts="${myopts} NO_MKSTEMPS=YesPlease"
|
||||
# fi
|
||||
if [[ ${CHOST} == ia64-*-hpux* ]]; then
|
||||
myopts="${myopts} NO_NSEC=YesPlease"
|
||||
fi
|
||||
if [[ ${CHOST} == *-*-aix* ]]; then
|
||||
myopts="${myopts} NO_FNMATCH_CASEFOLD=YesPlease"
|
||||
fi
|
||||
if [[ ${CHOST} == *-solaris* ]]; then
|
||||
myopts="${myopts} NEEDS_LIBICONV=YesPlease"
|
||||
fi
|
||||
|
||||
has_version '>=app-text/asciidoc-8.0' \
|
||||
&& myopts="${myopts} ASCIIDOC8=YesPlease"
|
||||
myopts="${myopts} ASCIIDOC_NO_ROFF=YesPlease"
|
||||
|
||||
# Bug 290465:
|
||||
# builtin-fetch-pack.c:816: error: 'struct stat' has no member named 'st_mtim'
|
||||
[[ "${CHOST}" == *-uclibc* ]] && \
|
||||
myopts="${myopts} NO_NSEC=YesPlease"
|
||||
|
||||
export MY_MAKEOPTS="${myopts}"
|
||||
export EXTLIBS="${extlibs}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} != *9999 ]]; then
|
||||
unpack ${MY_P}.tar.${SRC_URI_SUFFIX}
|
||||
cd "${S}"
|
||||
unpack ${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
use doc && \
|
||||
cd "${S}"/Documentation && \
|
||||
unpack ${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
cd "${S}"
|
||||
else
|
||||
git-2_src_unpack
|
||||
cd "${S}"
|
||||
#cp "${FILESDIR}"/GIT-VERSION-GEN .
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# bug #350330 - automagic CVS when we don't want it is bad.
|
||||
epatch "${FILESDIR}"/git-2.0.0-optional-cvs.patch
|
||||
|
||||
# install mediawiki perl modules also in vendor_dir
|
||||
# hack, needs better upstream solution
|
||||
epatch "${FILESDIR}"/git-1.8.5-mw-vendor.patch
|
||||
|
||||
epatch_user
|
||||
|
||||
sed -i \
|
||||
-e 's:^\(CFLAGS[[:space:]]*=\).*$:\1 $(OPTCFLAGS) -Wall:' \
|
||||
-e 's:^\(LDFLAGS[[:space:]]*=\).*$:\1 $(OPTLDFLAGS):' \
|
||||
-e 's:^\(CC[[:space:]]* =\).*$:\1$(OPTCC):' \
|
||||
-e 's:^\(AR[[:space:]]* =\).*$:\1$(OPTAR):' \
|
||||
-e "s:\(PYTHON_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \
|
||||
-e "s:\(PERL_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \
|
||||
Makefile contrib/svn-fe/Makefile || die "sed failed"
|
||||
|
||||
# Never install the private copy of Error.pm (bug #296310)
|
||||
sed -i \
|
||||
-e '/private-Error.pm/s,^,#,' \
|
||||
perl/Makefile.PL
|
||||
|
||||
# Fix docbook2texi command
|
||||
sed -r -i 's/DOCBOOK2X_TEXI[[:space:]]*=[[:space:]]*docbook2x-texi/DOCBOOK2X_TEXI = docbook2texi.pl/' \
|
||||
Documentation/Makefile || die "sed failed"
|
||||
|
||||
# Fix git-subtree missing DESTDIR
|
||||
sed -i \
|
||||
-e '/$(INSTALL)/s/ $(libexecdir)/ $(DESTDIR)$(libexecdir)/g' \
|
||||
-e '/$(INSTALL)/s/ $(man1dir)/ $(DESTDIR)$(man1dir)/g' \
|
||||
contrib/subtree/Makefile
|
||||
}
|
||||
|
||||
git_emake() {
|
||||
# bug #326625: PERL_PATH, PERL_MM_OPT
|
||||
# bug #320647: PYTHON_PATH
|
||||
PYTHON_PATH=""
|
||||
use python && PYTHON_PATH="${PYTHON}"
|
||||
emake ${MY_MAKEOPTS} \
|
||||
DESTDIR="${D}" \
|
||||
OPTCFLAGS="${CFLAGS}" \
|
||||
OPTLDFLAGS="${LDFLAGS}" \
|
||||
OPTCC="$(tc-getCC)" \
|
||||
OPTAR="$(tc-getAR)" \
|
||||
prefix="${EPREFIX}"/usr \
|
||||
htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
|
||||
sysconfdir="${EPREFIX}"/etc \
|
||||
PYTHON_PATH="${PYTHON_PATH}" \
|
||||
PERL_MM_OPT="" \
|
||||
GIT_TEST_OPTS="--no-color" \
|
||||
V=1 \
|
||||
"$@"
|
||||
# This is the fix for bug #326625, but it also causes breakage, see bug
|
||||
# #352693.
|
||||
# PERL_PATH="${EPREFIX}/usr/bin/env perl" \
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
exportmakeopts
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use perl ; then
|
||||
git_emake perl/PM.stamp || die "emake perl/PM.stamp failed"
|
||||
git_emake perl/perl.mak || die "emake perl/perl.mak failed"
|
||||
fi
|
||||
git_emake || die "emake failed"
|
||||
|
||||
if use emacs ; then
|
||||
elisp-compile contrib/emacs/git{,-blame}.el
|
||||
fi
|
||||
|
||||
if use perl && use cgi ; then
|
||||
git_emake \
|
||||
gitweb/gitweb.cgi \
|
||||
|| die "emake gitweb/gitweb.cgi failed"
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
cd "${S}"/contrib/credential/osxkeychain || die "cd credential/osxkeychain"
|
||||
git_emake || die "emake credential-osxkeychain"
|
||||
fi
|
||||
|
||||
cd "${S}"/Documentation
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
git_emake man \
|
||||
|| die "emake man failed"
|
||||
if use doc ; then
|
||||
git_emake info html \
|
||||
|| die "emake info html failed"
|
||||
fi
|
||||
else
|
||||
if use doc ; then
|
||||
git_emake info \
|
||||
|| die "emake info html failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use subversion ; then
|
||||
cd "${S}"/contrib/svn-fe
|
||||
git_emake EXTLIBS="${EXTLIBS}" || die "emake svn-fe failed"
|
||||
if use doc ; then
|
||||
git_emake svn-fe.{1,html} || die "emake svn-fe.1 svn-fe.html failed"
|
||||
fi
|
||||
cd "${S}"
|
||||
fi
|
||||
|
||||
if use gnome-keyring ; then
|
||||
cd "${S}"/contrib/credential/gnome-keyring
|
||||
git_emake || die "emake git-credential-gnome-keyring failed"
|
||||
fi
|
||||
|
||||
cd "${S}"/contrib/subtree
|
||||
git_emake
|
||||
use doc && git_emake doc
|
||||
|
||||
if use mediawiki ; then
|
||||
cd "${S}"/contrib/mw-to-git
|
||||
git_emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
git_emake \
|
||||
install || \
|
||||
die "make install failed"
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
dobin contrib/credential/osxkeychain/git-credential-osxkeychain
|
||||
fi
|
||||
|
||||
# Depending on the tarball and manual rebuild of the documentation, the
|
||||
# manpages may exist in either OR both of these directories.
|
||||
find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157]
|
||||
find Documentation/*.[157] >/dev/null 2>&1 && doman Documentation/*.[157]
|
||||
|
||||
dodoc README Documentation/{SubmittingPatches,CodingGuidelines}
|
||||
use doc && dodir /usr/share/doc/${PF}/html
|
||||
for d in / /howto/ /technical/ ; do
|
||||
docinto ${d}
|
||||
dodoc Documentation${d}*.txt
|
||||
use doc && dohtml -p ${d} Documentation${d}*.html
|
||||
done
|
||||
docinto /
|
||||
# Upstream does not ship this pre-built :-(
|
||||
use doc && doinfo Documentation/{git,gitman}.info
|
||||
|
||||
newbashcomp contrib/completion/git-completion.bash ${PN}
|
||||
# Not really a bash-completion file (bug #477920)
|
||||
# but still needed uncompressed (bug #507480)
|
||||
insinto /usr/share/${PN}
|
||||
doins contrib/completion/git-prompt.sh
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} contrib/emacs/git.{el,elc}
|
||||
elisp-install ${PN} contrib/emacs/git-blame.{el,elc}
|
||||
#elisp-install ${PN}/compat contrib/emacs/vc-git.{el,elc}
|
||||
# don't add automatically to the load-path, so the sitefile
|
||||
# can do a conditional loading
|
||||
touch "${ED}${SITELISP}/${PN}/compat/.nosearch"
|
||||
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
|
||||
fi
|
||||
|
||||
if use python && use gtk ; then
|
||||
python_doscript "${S}"/contrib/gitview/gitview
|
||||
dodoc "${S}"/contrib/gitview/gitview.txt
|
||||
fi
|
||||
|
||||
#dobin contrib/fast-import/git-p4 # Moved upstream
|
||||
#dodoc contrib/fast-import/git-p4.txt # Moved upstream
|
||||
newbin contrib/fast-import/import-tars.perl import-tars
|
||||
exeinto /usr/libexec/git-core/
|
||||
newexe contrib/git-resurrect.sh git-resurrect
|
||||
|
||||
# git-subtree
|
||||
cd "${S}"/contrib/subtree
|
||||
git_emake install || die "Failed to emake install git-subtree"
|
||||
if use doc ; then
|
||||
git_emake install-man install-doc || die "Failed to emake install-doc install-mangit-subtree"
|
||||
fi
|
||||
newdoc README README.git-subtree
|
||||
dodoc git-subtree.txt
|
||||
cd "${S}"
|
||||
|
||||
if use mediawiki ; then
|
||||
cd "${S}"/contrib/mw-to-git
|
||||
git_emake install
|
||||
cd "${S}"
|
||||
fi
|
||||
|
||||
# git-diffall
|
||||
dobin contrib/diffall/git-diffall
|
||||
newdoc contrib/diffall/README git-diffall.txt
|
||||
|
||||
# diff-highlight
|
||||
dobin contrib/diff-highlight/diff-highlight
|
||||
newdoc contrib/diff-highlight/README README.diff-highlight
|
||||
|
||||
# git-jump
|
||||
exeinto /usr/libexec/git-core/
|
||||
doexe contrib/git-jump/git-jump
|
||||
newdoc contrib/git-jump/README git-jump.txt
|
||||
|
||||
# git-contacts
|
||||
exeinto /usr/libexec/git-core/
|
||||
doexe contrib/contacts/git-contacts
|
||||
dodoc contrib/contacts/git-contacts.txt
|
||||
|
||||
if use gnome-keyring ; then
|
||||
cd "${S}"/contrib/credential/gnome-keyring
|
||||
dobin git-credential-gnome-keyring
|
||||
fi
|
||||
|
||||
if use subversion ; then
|
||||
cd "${S}"/contrib/svn-fe
|
||||
dobin svn-fe
|
||||
dodoc svn-fe.txt
|
||||
use doc && doman svn-fe.1 && dohtml svn-fe.html
|
||||
cd "${S}"
|
||||
fi
|
||||
|
||||
# remote-helpers
|
||||
if use python ; then
|
||||
python_scriptinto /usr/libexec/git-core/
|
||||
python_doscript "${S}"/contrib/remote-helpers/git-remote-{bzr,hg}
|
||||
python_optimize
|
||||
fi
|
||||
|
||||
dodir /usr/share/${PN}/contrib
|
||||
# The following are excluded:
|
||||
# completion - installed above
|
||||
# credential/gnome-keyring TODO
|
||||
# diff-highlight - done above
|
||||
# diffall - done above
|
||||
# emacs - installed above
|
||||
# examples - these are stuff that is not used in Git anymore actually
|
||||
# git-jump - done above
|
||||
# gitview - installed above
|
||||
# p4import - excluded because fast-import has a better one
|
||||
# patches - stuff the Git guys made to go upstream to other places
|
||||
# persistent-https - TODO
|
||||
# mw-to-git - TODO
|
||||
# subtree - build seperately
|
||||
# svnimport - use git-svn
|
||||
# thunderbird-patch-inline - fixes thunderbird
|
||||
for i in \
|
||||
buildsystems convert-objects fast-import \
|
||||
hg-to-git hooks remotes2config.sh rerere-train.sh \
|
||||
stats vim workdir \
|
||||
; do
|
||||
cp -rf \
|
||||
"${S}"/contrib/${i} \
|
||||
"${ED}"/usr/share/${PN}/contrib \
|
||||
|| die "Failed contrib ${i}"
|
||||
done
|
||||
|
||||
if use perl && use cgi ; then
|
||||
# We used to install in /usr/share/${PN}/gitweb
|
||||
# but upstream installs in /usr/share/gitweb
|
||||
# so we will install a symlink and use their location for compat with other
|
||||
# distros
|
||||
dosym /usr/share/gitweb /usr/share/${PN}/gitweb
|
||||
|
||||
# INSTALL discusses configuration issues, not just installation
|
||||
docinto /
|
||||
newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb
|
||||
newdoc "${S}"/gitweb/README README.gitweb
|
||||
|
||||
find "${ED}"/usr/lib64/perl5/ \
|
||||
-name .packlist \
|
||||
-exec rm \{\} \;
|
||||
else
|
||||
rm -rf "${ED}"/usr/share/gitweb
|
||||
fi
|
||||
|
||||
if ! use subversion ; then
|
||||
rm -f "${ED}"/usr/libexec/git-core/git-svn \
|
||||
"${ED}"/usr/share/man/man1/git-svn.1*
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}"/git-daemon.xinetd git-daemon
|
||||
fi
|
||||
|
||||
if use !prefix ; then
|
||||
newinitd "${FILESDIR}"/git-daemon-r1.initd git-daemon
|
||||
newconfd "${FILESDIR}"/git-daemon.confd git-daemon
|
||||
systemd_newunit "${FILESDIR}/git-daemon_at.service" "git-daemon@.service"
|
||||
systemd_dounit "${FILESDIR}/git-daemon.socket"
|
||||
fi
|
||||
|
||||
fixlocalpod
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local disabled=""
|
||||
local tests_cvs="t9200-git-cvsexportcommit.sh \
|
||||
t9400-git-cvsserver-server.sh \
|
||||
t9401-git-cvsserver-crlf.sh \
|
||||
t9402-git-cvsserver-refs.sh \
|
||||
t9600-cvsimport.sh \
|
||||
t9601-cvsimport-vendor-branch.sh \
|
||||
t9602-cvsimport-branches-tags.sh \
|
||||
t9603-cvsimport-patchsets.sh \
|
||||
t9604-cvsimport-timestamps.sh"
|
||||
local tests_perl="t3701-add-interactive.sh \
|
||||
t5502-quickfetch.sh \
|
||||
t5512-ls-remote.sh \
|
||||
t5520-pull.sh \
|
||||
t7106-reset-unborn-branch.sh \
|
||||
t7501-commit.sh"
|
||||
# Bug #225601 - t0004 is not suitable for root perm
|
||||
# Bug #219839 - t1004 is not suitable for root perm
|
||||
# t0001-init.sh - check for init notices EPERM* fails
|
||||
local tests_nonroot="t0001-init.sh \
|
||||
t0004-unwritable.sh \
|
||||
t0070-fundamental.sh \
|
||||
t1004-read-tree-m-u-wf.sh \
|
||||
t3700-add.sh \
|
||||
t7300-clean.sh"
|
||||
# t9100 still fails with symlinks in SVN 1.7
|
||||
local test_svn="t9100-git-svn-basic.sh"
|
||||
|
||||
# Unzip is used only for the testcase code, not by any normal parts of Git.
|
||||
if ! has_version app-arch/unzip ; then
|
||||
einfo "Disabling tar-tree tests"
|
||||
disabled="${disabled} t5000-tar-tree.sh"
|
||||
fi
|
||||
|
||||
cvs=0
|
||||
use cvs && let cvs=$cvs+1
|
||||
if [[ ${EUID} -eq 0 ]]; then
|
||||
if [[ $cvs -eq 1 ]]; then
|
||||
ewarn "Skipping CVS tests because CVS does not work as root!"
|
||||
ewarn "You should retest with FEATURES=userpriv!"
|
||||
disabled="${disabled} ${tests_cvs}"
|
||||
fi
|
||||
einfo "Skipping other tests that require being non-root"
|
||||
disabled="${disabled} ${tests_nonroot}"
|
||||
else
|
||||
[[ $cvs -gt 0 ]] && \
|
||||
has_version dev-vcs/cvs && \
|
||||
let cvs=$cvs+1
|
||||
[[ $cvs -gt 1 ]] && \
|
||||
has_version "dev-vcs/cvs[server]" && \
|
||||
let cvs=$cvs+1
|
||||
if [[ $cvs -lt 3 ]]; then
|
||||
einfo "Disabling CVS tests (needs dev-vcs/cvs[USE=server])"
|
||||
disabled="${disabled} ${tests_cvs}"
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! use perl ; then
|
||||
einfo "Disabling tests that need Perl"
|
||||
disabled="${disabled} ${tests_perl}"
|
||||
fi
|
||||
|
||||
einfo "Disabling tests that fail with SVN 1.7"
|
||||
disabled="${disabled} ${test_svn}"
|
||||
|
||||
# Reset all previously disabled tests
|
||||
cd "${S}/t"
|
||||
for i in *.sh.DISABLED ; do
|
||||
[[ -f "${i}" ]] && mv -f "${i}" "${i%.DISABLED}"
|
||||
done
|
||||
einfo "Disabled tests:"
|
||||
for i in ${disabled} ; do
|
||||
[[ -f "${i}" ]] && mv -f "${i}" "${i}.DISABLED" && einfo "Disabled $i"
|
||||
done
|
||||
|
||||
# Avoid the test system removing the results because we want them ourselves
|
||||
sed -e '/^[[:space:]]*$(MAKE) clean/s,^,#,g' \
|
||||
-i "${S}"/t/Makefile
|
||||
|
||||
# Clean old results first, must always run
|
||||
cd "${S}/t"
|
||||
nonfatal git_emake clean
|
||||
|
||||
# Now run the tests, keep going if we hit an error, and don't terminate on
|
||||
# failure
|
||||
cd "${S}"
|
||||
einfo "Start test run"
|
||||
#MAKEOPTS=-j1
|
||||
nonfatal git_emake --keep-going test
|
||||
rc=$?
|
||||
|
||||
# Display nice results, now print the results
|
||||
cd "${S}/t"
|
||||
nonfatal git_emake aggregate-results
|
||||
|
||||
# And bail if there was a problem
|
||||
[ $rc -eq 0 ] || die "tests failed. Please file a bug."
|
||||
}
|
||||
|
||||
showpkgdeps() {
|
||||
local pkg=$1
|
||||
shift
|
||||
elog " $(printf "%-17s:" ${pkg}) ${@}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
einfo "Please read /usr/share/bash-completion/git for Git bash command completion"
|
||||
einfo "Please read /usr/share/git/git-prompt.sh for Git bash prompt"
|
||||
einfo "Note that the prompt bash code is now in that separate script"
|
||||
elog "These additional scripts need some dependencies:"
|
||||
echo
|
||||
showpkgdeps git-quiltimport "dev-util/quilt"
|
||||
showpkgdeps git-instaweb \
|
||||
"|| ( www-servers/lighttpd www-servers/apache www-servers/nginx )"
|
||||
echo
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
|
@ -1,3 +1,4 @@
|
|||
DIST subversion-1.7.14.tar.bz2 6045932 SHA256 c4ac8f37eb0ebd38901bfa6f1c7e4d7716d32d7460ee0cee520381ca2f5b120d SHA512 cc7df3a2d258cda65a3fefc1fb9bcc91f78ec817c8d32e561eae7cf59de3d1d5c843594150b63c60c724e4b3df88da319763f814f418d106461adcc78b323840 WHIRLPOOL 21d879775ed0bed15d17b83070eb26269f8d3cc0420be54e0d326b7b6f410b9fee11d2f8d2926f930c66c66a47a6396275ddf20120436b978c0a318bb963f0e0
|
||||
DIST subversion-1.7.17.tar.bz2 6008028 SHA256 2a66e4c5d2a8a919914a2e75f76467ef5457d0f96efc1e1c080fa02675867be3 SHA512 60760d9c2d01dcb664b545611e5ac5bb400154568eb811392c7903b223296d8f4e52d5154cfcb5b2e91d39de262c2ad958385190b87458f387fb38e5f3d2eaea WHIRLPOOL 20604f31589aa2fa2eff1869d7af7e80c4cf4fccd40c9d9bd1af8d1628171a381452796d38bc86ccafbf38232a6194d747b6c271f49064f2a361101edb73de00
|
||||
DIST subversion-1.8.8.tar.bz2 6821200 SHA256 1569931cd85ae27052895554bc14125e0795d7a17d3e4a7c2aceb7289be71db3 SHA512 9cb3fc05a432336f7df5c81864dcc0b4c4154e61207b636f2e6715e132d436962bb6def70e5b7c45bfea58ead5e328f8db3abd98176c9400c31483262e72819d WHIRLPOOL 2b2880ff00d3cb6f76ca8954a03522510ff8b32e31090b61ccb037d108b1457b5b17b9063cd817c611fe6772953b937331f1a81f9f1481a240353beb3c51ac0b
|
||||
DIST subversion-1.8.9.tar.bz2 6828921 SHA256 45d708a5c3ffbef4b2a1044c4716a053e680763743d1f7ba99d0369f6da49e33 SHA512 61f0181605cdaf2c87f89f022073dca00f667515ac1702adec4f83af0aeb807a4eb2c65d8186414db4c5a19a3ccc01fc5fdf03c8bfb5f0fa578a45944af0becc WHIRLPOOL 1a850d7c1cc91eb9fddcd15cc9aeb744e28cbf124affc0363af3df3e69765fb97be5d0a6001bdabcead2bd4972d6444238e09a123084907ac38f535605b55fdf
|
||||
|
|
475
dev-vcs/subversion/subversion-1.7.17.ebuild
Normal file
475
dev-vcs/subversion/subversion-1.7.17.ebuild
Normal file
|
@ -0,0 +1,475 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.7.17.ebuild,v 1.1 2014/06/01 14:44:15 tommy Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
DISTUTILS_OPTIONAL=1
|
||||
WANT_AUTOMAKE="none"
|
||||
MY_P="${P/_/-}"
|
||||
GENTOO_DEPEND_ON_PERL="no"
|
||||
|
||||
inherit autotools bash-completion-r1 db-use depend.apache distutils-r1 elisp-common flag-o-matic java-pkg-opt-2 libtool multilib perl-module eutils
|
||||
|
||||
DESCRIPTION="Advanced version control system"
|
||||
HOMEPAGE="http://subversion.apache.org/"
|
||||
SRC_URI="mirror://apache/${PN}/${MY_P}.tar.bz2"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="Subversion GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="apache2 berkdb ctypes-python debug doc +dso extras gnome-keyring java kde nls perl python ruby sasl test vim-syntax +webdav-neon webdav-serf"
|
||||
|
||||
COMMON_DEPEND=">=dev-db/sqlite-3.6.18[threadsafe(+)]
|
||||
>=dev-libs/apr-1.3:1
|
||||
>=dev-libs/apr-util-1.3:1
|
||||
dev-libs/expat
|
||||
sys-libs/zlib
|
||||
berkdb? ( >=sys-libs/db-4.0.14 )
|
||||
ctypes-python? ( ${PYTHON_DEPS} )
|
||||
gnome-keyring? ( dev-libs/glib:2 sys-apps/dbus gnome-base/gnome-keyring )
|
||||
kde? ( sys-apps/dbus dev-qt/qtcore:4 dev-qt/qtdbus:4 dev-qt/qtgui:4 >=kde-base/kdelibs-4:4 )
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
ruby? ( >=dev-lang/ruby-1.8.2:1.8
|
||||
dev-ruby/rubygems[ruby_targets_ruby18] )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
webdav-neon? ( >=net-libs/neon-0.28 )
|
||||
webdav-serf? ( >=net-libs/serf-0.3.0 )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
apache2? ( www-servers/apache[apache2_modules_dav] )
|
||||
java? ( >=virtual/jre-1.5 )
|
||||
kde? ( kde-base/kwalletd )
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-perl/URI )"
|
||||
# Note: ctypesgen doesn't need PYTHON_USEDEP, it's used once
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
test? ( ${PYTHON_DEPS} )
|
||||
!!<sys-apps/sandbox-1.6
|
||||
ctypes-python? ( dev-python/ctypesgen )
|
||||
doc? ( app-doc/doxygen )
|
||||
gnome-keyring? ( virtual/pkgconfig )
|
||||
java? ( >=virtual/jdk-1.5 )
|
||||
kde? ( virtual/pkgconfig )
|
||||
nls? ( sys-devel/gettext )
|
||||
webdav-neon? ( virtual/pkgconfig )"
|
||||
|
||||
REQUIRED_USE="
|
||||
ctypes-python? ( ${PYTHON_REQUIRED_USE} )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
test? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
if use berkdb; then
|
||||
local apu_bdb_version="$(${EPREFIX}/usr/bin/apu-1-config --includes \
|
||||
| grep -Eoe '-I${EPREFIX}/usr/include/db[[:digit:]]\.[[:digit:]]' \
|
||||
| sed 's:.*b::')"
|
||||
einfo
|
||||
if [[ -z "${SVN_BDB_VERSION}" ]]; then
|
||||
if [[ -n "${apu_bdb_version}" ]]; then
|
||||
SVN_BDB_VERSION="${apu_bdb_version}"
|
||||
einfo "Matching db version to apr-util"
|
||||
else
|
||||
SVN_BDB_VERSION="$(db_ver_to_slot "$(db_findver sys-libs/db 2>/dev/null)")"
|
||||
einfo "SVN_BDB_VERSION variable isn't set. You can set it to enforce using of specific version of Berkeley DB."
|
||||
fi
|
||||
fi
|
||||
einfo "Using: Berkeley DB ${SVN_BDB_VERSION}"
|
||||
einfo
|
||||
|
||||
if [[ -n "${apu_bdb_version}" && "${SVN_BDB_VERSION}" != "${apu_bdb_version}" ]]; then
|
||||
eerror "APR-Util is linked against Berkeley DB ${apu_bdb_version}, but you are trying"
|
||||
eerror "to build Subversion with support for Berkeley DB ${SVN_BDB_VERSION}."
|
||||
eerror "Rebuild dev-libs/apr-util or set SVN_BDB_VERSION=\"${apu_bdb_version}\"."
|
||||
eerror "Aborting to avoid possible run-time crashes."
|
||||
die "Berkeley DB version mismatch"
|
||||
fi
|
||||
fi
|
||||
|
||||
depend.apache_pkg_setup
|
||||
|
||||
java-pkg-opt-2_pkg_setup
|
||||
|
||||
if ! use webdav-neon && ! use webdav-serf; then
|
||||
ewarn "WebDAV support is disabled. You need WebDAV to"
|
||||
ewarn "access repositories through the HTTP protocol."
|
||||
ewarn "Consider enabling one of the following USE-flags:"
|
||||
ewarn " webdav-neon webdav-serf"
|
||||
echo -ne "\a"
|
||||
fi
|
||||
|
||||
if use debug; then
|
||||
append-cppflags -DSVN_DEBUG -DAP_DEBUG
|
||||
fi
|
||||
|
||||
# Allow for custom repository locations.
|
||||
SVN_REPOS_LOC="${SVN_REPOS_LOC:-${EPREFIX}/var/svn}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.5.4-interix.patch \
|
||||
"${FILESDIR}"/${PN}-1.5.6-aix-dso.patch \
|
||||
"${FILESDIR}"/${PN}-1.6.3-hpux-dso.patch \
|
||||
"${FILESDIR}"/${PN}-fix-parallel-build-support-for-perl-bindings.patch
|
||||
epatch_user
|
||||
|
||||
fperms +x build/transform_libtool_scripts.sh
|
||||
|
||||
sed -i \
|
||||
-e "s/\(BUILD_RULES=.*\) bdb-test\(.*\)/\1\2/g" \
|
||||
-e "s/\(BUILD_RULES=.*\) test\(.*\)/\1\2/g" configure.ac
|
||||
|
||||
# this bites us in particular on Solaris
|
||||
sed -i -e '1c\#!/usr/bin/env sh' build/transform_libtool_scripts.sh || \
|
||||
die "/bin/sh is not POSIX shell!"
|
||||
|
||||
eautoconf
|
||||
elibtoolize
|
||||
|
||||
sed -e 's/\(libsvn_swig_py\)-\(1\.la\)/\1-$(EPYTHON)-\2/g' \
|
||||
-i build-outputs.mk || die "sed failed"
|
||||
|
||||
if use python; then
|
||||
# XXX: make python_copy_sources accept path
|
||||
S=${S}/subversion/bindings/swig/python python_copy_sources
|
||||
rm -r "${S}"/subversion/bindings/swig/python || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
if use python || use perl || use ruby; then
|
||||
myconf+=" --with-swig"
|
||||
else
|
||||
myconf+=" --without-swig"
|
||||
fi
|
||||
|
||||
if use java; then
|
||||
myconf+=" --without-junit"
|
||||
fi
|
||||
|
||||
if use kde || use nls; then
|
||||
myconf+=" --enable-nls"
|
||||
else
|
||||
myconf+=" --disable-nls"
|
||||
fi
|
||||
|
||||
case ${CHOST} in
|
||||
*-aix*)
|
||||
# avoid recording immediate path to sharedlibs into executables
|
||||
append-ldflags -Wl,-bnoipath
|
||||
;;
|
||||
*-interix*)
|
||||
# loader crashes on the LD_PRELOADs...
|
||||
myconf+=" --disable-local-library-preloading"
|
||||
;;
|
||||
*-solaris*)
|
||||
# need -lintl to link
|
||||
use nls && append-libs intl
|
||||
# this breaks installation, on x64 echo replacement is 32-bits
|
||||
myconf+=" --disable-local-library-preloading"
|
||||
;;
|
||||
*-mint*)
|
||||
myconf+=" --enable-all-static --disable-local-library-preloading"
|
||||
;;
|
||||
*)
|
||||
# inject LD_PRELOAD entries for easy in-tree development
|
||||
myconf+=" --enable-local-library-preloading"
|
||||
;;
|
||||
esac
|
||||
|
||||
#workaround for bug 387057
|
||||
has_version =dev-vcs/subversion-1.6* && myconf+=" --disable-disallowing-of-undefined-references"
|
||||
|
||||
#version 1.7.7 again tries to link against the older installed version and fails, when trying to
|
||||
#compile for x86 on amd64, so workaround this issue again
|
||||
#check newer versions, if this is still/again needed
|
||||
myconf+=" --disable-disallowing-of-undefined-references"
|
||||
|
||||
# for build-time scripts
|
||||
if use ctypes-python || use python || use test; then
|
||||
python_export_best
|
||||
fi
|
||||
|
||||
#force ruby-1.8 for bug 399105
|
||||
#allow overriding Python include directory
|
||||
ac_cv_path_RUBY="${EPREFIX}"/usr/bin/ruby18 ac_cv_path_RDOC="${EPREFIX}"/usr/bin/rdoc18 \
|
||||
ac_cv_python_includes='-I$(PYTHON_INCLUDEDIR)' \
|
||||
econf --libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
$(use_with apache2 apxs "${APXS}") \
|
||||
$(use_with berkdb berkeley-db "db.h:${EPREFIX}/usr/include/db${SVN_BDB_VERSION}::db-${SVN_BDB_VERSION}") \
|
||||
$(use_with ctypes-python ctypesgen "${EPREFIX}/usr") \
|
||||
$(use_enable dso runtime-module-search) \
|
||||
$(use_with gnome-keyring) \
|
||||
$(use_enable java javahl) \
|
||||
$(use_with java jdk "${JAVA_HOME}") \
|
||||
$(use_with kde kwallet) \
|
||||
$(use_with sasl) \
|
||||
$(use_with webdav-neon neon) \
|
||||
$(use_with webdav-serf serf "${EPREFIX}/usr") \
|
||||
${myconf} \
|
||||
--with-apr="${EPREFIX}/usr/bin/apr-1-config" \
|
||||
--with-apr-util="${EPREFIX}/usr/bin/apu-1-config" \
|
||||
--disable-experimental-libtool \
|
||||
--without-jikes \
|
||||
--disable-mod-activation \
|
||||
--disable-neon-version-check \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake local-all
|
||||
|
||||
if use ctypes-python; then
|
||||
# pre-generate .py files
|
||||
use ctypes-python && emake ctypes-python
|
||||
|
||||
pushd subversion/bindings/ctypes-python >/dev/null || die
|
||||
distutils-r1_src_compile
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
swig_py_compile() {
|
||||
local p=subversion/bindings/swig/python
|
||||
rm -f ${p} || die
|
||||
ln -s "${BUILD_DIR}" ${p} || die
|
||||
|
||||
python_export PYTHON_INCLUDEDIR
|
||||
emake swig-py \
|
||||
swig_pydir="$(python_get_sitedir)/libsvn" \
|
||||
swig_pydir_extra="$(python_get_sitedir)/svn"
|
||||
}
|
||||
|
||||
# this will give us proper BUILD_DIR for symlinking
|
||||
BUILD_DIR=python \
|
||||
python_foreach_impl swig_py_compile
|
||||
fi
|
||||
|
||||
if use perl; then
|
||||
emake swig-pl
|
||||
fi
|
||||
|
||||
if use ruby; then
|
||||
emake swig-rb
|
||||
fi
|
||||
|
||||
if use java; then
|
||||
emake -j1 JAVAC_FLAGS="$(java-pkg_javac-args) -encoding iso8859-1" javahl
|
||||
fi
|
||||
|
||||
if use extras; then
|
||||
emake tools
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
doxygen doc/doxygen.conf || die "Building of Subversion HTML documentation failed"
|
||||
|
||||
if use java; then
|
||||
emake doc-javahl
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
|
||||
if use ctypes-python; then
|
||||
python_test() {
|
||||
"${PYTHON}" subversion/bindings/ctypes-python/test/run_all.py \
|
||||
|| die "ctypes-python tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
distutils-r1_src_test
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
swig_py_test() {
|
||||
pushd "${BUILD_DIR}" >/dev/null || die
|
||||
"${PYTHON}" tests/run_all.py || die "swig-py tests fail with ${EPYTHON}"
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
BUILD_DIR=subversion/bindings/swig/python \
|
||||
python_foreach_impl swig_py_test
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${D}" local-install
|
||||
|
||||
if use ctypes-python; then
|
||||
pushd subversion/bindings/ctypes-python >/dev/null || die
|
||||
distutils-r1_src_install
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
swig_py_install() {
|
||||
local p=subversion/bindings/swig/python
|
||||
rm -f ${p} || die
|
||||
ln -s "${BUILD_DIR}" ${p} || die
|
||||
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
swig_pydir="$(python_get_sitedir)/libsvn" \
|
||||
swig_pydir_extra="$(python_get_sitedir)/svn" \
|
||||
install-swig-py
|
||||
}
|
||||
|
||||
BUILD_DIR=python \
|
||||
python_foreach_impl swig_py_install
|
||||
fi
|
||||
|
||||
if use perl; then
|
||||
emake DESTDIR="${D}" INSTALLDIRS="vendor" install-swig-pl
|
||||
fixlocalpod
|
||||
find "${ED}" "(" -name .packlist -o -name "*.bs" ")" -delete
|
||||
fi
|
||||
|
||||
if use ruby; then
|
||||
emake DESTDIR="${D}" install-swig-rb
|
||||
fi
|
||||
|
||||
if use java; then
|
||||
emake DESTDIR="${D}" install-javahl
|
||||
java-pkg_regso "${ED}"usr/$(get_libdir)/libsvnjavahl*$(get_libname)
|
||||
java-pkg_dojar "${ED}"usr/$(get_libdir)/svn-javahl/svn-javahl.jar
|
||||
rm -fr "${ED}"usr/$(get_libdir)/svn-javahl/*.jar
|
||||
fi
|
||||
|
||||
# Install Apache module configuration.
|
||||
if use apache2; then
|
||||
keepdir "${APACHE_MODULES_CONFDIR}"
|
||||
insinto "${APACHE_MODULES_CONFDIR}"
|
||||
doins "${FILESDIR}/47_mod_dav_svn.conf"
|
||||
fi
|
||||
|
||||
# Install Bash Completion, bug 43179.
|
||||
newbashcomp tools/client-side/bash_completion subversion
|
||||
rm -f tools/client-side/bash_completion
|
||||
|
||||
# Install hot backup script, bug 54304.
|
||||
newbin tools/backup/hot-backup.py svn-hot-backup
|
||||
rm -fr tools/backup
|
||||
|
||||
# Install svnserve init-script and xinet.d snippet, bug 43245.
|
||||
newinitd "${FILESDIR}"/svnserve.initd2 svnserve
|
||||
newconfd "${FILESDIR}"/svnserve.confd svnserve
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}"/svnserve.xinetd svnserve
|
||||
|
||||
#adjust default user and group with disabled apache2 USE flag, bug 381385
|
||||
use apache2 || sed -e "s\USER:-apache\USER:-svn\g" \
|
||||
-e "s\GROUP:-apache\GROUP:-svnusers\g" \
|
||||
-i "${ED}"etc/init.d/svnserve || die
|
||||
use apache2 || sed -e "0,/apache/s//svn/" \
|
||||
-e "s:apache:svnusers:" \
|
||||
-i "${ED}"etc/xinetd.d/svnserve || die
|
||||
|
||||
# Install documentation.
|
||||
dodoc CHANGES COMMITTERS README
|
||||
dodoc tools/xslt/svnindex.{css,xsl}
|
||||
rm -fr tools/xslt
|
||||
|
||||
# Install extra files.
|
||||
if use extras; then
|
||||
cat << EOF > 80subversion-extras
|
||||
PATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
|
||||
ROOTPATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
|
||||
EOF
|
||||
doenvd 80subversion-extras
|
||||
|
||||
emake DESTDIR="${D}" toolsdir="/usr/$(get_libdir)/subversion/bin" install-tools || die "Installation of tools failed"
|
||||
|
||||
find tools "(" -name "*.bat" -o -name "*.in" -o -name ".libs" ")" -print0 | xargs -0 rm -fr
|
||||
rm -fr tools/client-side/svnmucc
|
||||
rm -fr tools/server-side/{svn-populate-node-origins-index,svnauthz-validate}*
|
||||
rm -fr tools/{buildbot,dev,diff,po}
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
find tools -name '*.py' -exec sed -i -e '1s:python:&2:' {} + || die
|
||||
doins -r tools
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/doxygen/html/*
|
||||
|
||||
if use java; then
|
||||
java-pkg_dojavadoc doc/javadoc
|
||||
fi
|
||||
fi
|
||||
|
||||
find "${ED}" '(' -name '*.la' ')' -print0 | xargs -0 rm -f
|
||||
|
||||
cd "${ED}"usr/share/locale
|
||||
for i in * ; do
|
||||
[[ $i == *$LINGUAS* ]] || { rm -r $i || die ; }
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Compare versions of Berkeley DB, bug 122877.
|
||||
if use berkdb && [[ -f "${EROOT}usr/bin/svn" ]]; then
|
||||
OLD_BDB_VERSION="$(scanelf -nq "${EROOT}usr/$(get_libdir)/libsvn_subr-1$(get_libname 0)" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
|
||||
NEW_BDB_VERSION="$(scanelf -nq "${ED}usr/$(get_libdir)/libsvn_subr-1$(get_libname 0)" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
|
||||
if [[ "${OLD_BDB_VERSION}" != "${NEW_BDB_VERSION}" ]]; then
|
||||
CHANGED_BDB_VERSION="1"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use perl && perl-module_pkg_postinst
|
||||
|
||||
if [[ -n "${CHANGED_BDB_VERSION}" ]]; then
|
||||
ewarn "You upgraded from an older version of Berkeley DB and may experience"
|
||||
ewarn "problems with your repository. Run the following commands as root to fix it:"
|
||||
ewarn " db4_recover -h ${SVN_REPOS_LOC}/repos"
|
||||
ewarn " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos"
|
||||
fi
|
||||
|
||||
ewarn "If you run subversion as a daemon, you will need to restart it to avoid module mismatches."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use perl && perl-module_pkg_postrm
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
# Remember: Don't use ${EROOT}${SVN_REPOS_LOC} since ${SVN_REPOS_LOC}
|
||||
# already has EPREFIX in it
|
||||
einfo "Initializing the database in ${SVN_REPOS_LOC}..."
|
||||
if [[ -e "${SVN_REPOS_LOC}/repos" ]]; then
|
||||
echo "A Subversion repository already exists and I will not overwrite it."
|
||||
echo "Delete \"${SVN_REPOS_LOC}/repos\" first if you're sure you want to have a clean version."
|
||||
else
|
||||
mkdir -p "${SVN_REPOS_LOC}/conf"
|
||||
|
||||
einfo "Populating repository directory..."
|
||||
# Create initial repository.
|
||||
"${EROOT}usr/bin/svnadmin" create "${SVN_REPOS_LOC}/repos"
|
||||
|
||||
einfo "Setting repository permissions..."
|
||||
SVNSERVE_USER="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_USER}")"
|
||||
SVNSERVE_GROUP="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_GROUP}")"
|
||||
if use apache2; then
|
||||
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="apache"
|
||||
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="apache"
|
||||
else
|
||||
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="svn"
|
||||
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="svnusers"
|
||||
fi
|
||||
chmod -Rf go-rwx "${SVN_REPOS_LOC}/conf"
|
||||
chmod -Rf o-rwx "${SVN_REPOS_LOC}/repos"
|
||||
echo "Please create \"${SVNSERVE_GROUP}\" group if it does not exist yet."
|
||||
echo "Afterwards please create \"${SVNSERVE_USER}\" user with homedir \"${SVN_REPOS_LOC}\""
|
||||
echo "and as part of the \"${SVNSERVE_GROUP}\" group if it does not exist yet."
|
||||
echo "Finally, execute \"chown -Rf ${SVNSERVE_USER}:${SVNSERVE_GROUP} ${SVN_REPOS_LOC}/repos\""
|
||||
echo "to finish the configuration."
|
||||
fi
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.630 2014/05/21 21:30:26 rhill Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.631 2014/06/01 17:29:42 vapier Exp $
|
||||
|
||||
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
|
||||
|
||||
|
@ -619,7 +619,6 @@ do_gcc_PIE_patches() {
|
|||
|
||||
# configure to build with the hardened GCC specs as the default
|
||||
make_gcc_hard() {
|
||||
|
||||
# we want to be able to control the pie patch logic via something other
|
||||
# than ALL_CFLAGS...
|
||||
sed -e '/^ALL_CFLAGS/iHARD_CFLAGS = ' \
|
||||
|
@ -1222,8 +1221,8 @@ downgrade_arch_flags() {
|
|||
# If -march=native isn't supported we have to tease out the actual arch
|
||||
if [[ ${myarch} == native || ${mytune} == native ]] ; then
|
||||
if [[ ${bver} < 4.2 ]] ; then
|
||||
arch=$(echo "" | $(tc-getCC) -march=native -v -E - 2>&1 \
|
||||
| grep cc1 | sed -e 's:.*-march=\([^ ]*\).*:\1:')
|
||||
arch=$($(tc-getCC) -march=native -v -E -P - </dev/null 2>&1 \
|
||||
| sed -rn "/cc1.*-march/s:.*-march=([^ ']*).*:\1:p")
|
||||
replace-cpu-flags native ${arch}
|
||||
fi
|
||||
fi
|
||||
|
@ -1234,55 +1233,56 @@ downgrade_arch_flags() {
|
|||
[[ ${mytune} == x86-64 ]] && filter-flags '-mtune=*'
|
||||
[[ ${bver} < 3.4 ]] && filter-flags '-mtune=*'
|
||||
|
||||
declare -a archlist
|
||||
# "arch" "added" "replacement"
|
||||
archlist=("bdver4 4.9 bdver3")
|
||||
archlist+=("bonnell 4.9 atom")
|
||||
archlist+=("broadwell 4.9 core-avx2")
|
||||
archlist+=("haswell 4.9 core-avx2")
|
||||
archlist+=("ivybridge 4.9 core-avx-i")
|
||||
archlist+=("nehalem 4.9 corei7")
|
||||
archlist+=("sandybridge 4.9 corei7-avx")
|
||||
archlist+=("silvermont 4.9 corei7")
|
||||
archlist+=("westmere 4.9 corei7")
|
||||
archlist+=("bdver3 4.8 bdver2")
|
||||
archlist+=("btver2 4.8 btver1")
|
||||
archlist+=("bdver2 4.7 bdver1")
|
||||
archlist+=("core-avx2 4.7 core-avx-i")
|
||||
archlist+=("bdver1 4.6 amdfam10")
|
||||
archlist+=("btver1 4.6 amdfam10")
|
||||
archlist+=("core-avx-i 4.6 core2")
|
||||
archlist+=("corei7 4.6 core2")
|
||||
archlist+=("corei7-avx 4.6 core2")
|
||||
archlist+=("atom 4.5 core2")
|
||||
archlist+=("amdfam10 4.3 k8")
|
||||
archlist+=("athlon64-sse3 4.3 k8")
|
||||
archlist+=("barcelona 4.3 k8")
|
||||
archlist+=("core2 4.3 nocona")
|
||||
archlist+=("geode 4.3 k6-2") # gcc.gnu.org/PR41989#c22
|
||||
archlist+=("k8-sse3 4.3 k8")
|
||||
archlist+=("opteron-sse3 4.3 k8")
|
||||
archlist+=("athlon-fx 3.4 x86-64")
|
||||
archlist+=("athlon64 3.4 x86-64")
|
||||
archlist+=("c3-2 3.4 c3")
|
||||
archlist+=("k8 3.4 x86-64")
|
||||
archlist+=("opteron 3.4 x86-64")
|
||||
archlist+=("pentium-m 3.4 pentium3")
|
||||
archlist+=("pentium3m 3.4 pentium3")
|
||||
archlist+=("pentium4m 3.4 pentium4")
|
||||
local archlist=(
|
||||
# "added" "arch" "replacement"
|
||||
4.9 bdver4 bdver3
|
||||
4.9 bonnell atom
|
||||
4.9 broadwell core-avx2
|
||||
4.9 haswell core-avx2
|
||||
4.9 ivybridge core-avx-i
|
||||
4.9 nehalem corei7
|
||||
4.9 sandybridge corei7-avx
|
||||
4.9 silvermont corei7
|
||||
4.9 westmere corei7
|
||||
4.8 bdver3 bdver2
|
||||
4.8 btver2 btver1
|
||||
4.7 bdver2 bdver1
|
||||
4.7 core-avx2 core-avx-i
|
||||
4.6 bdver1 amdfam10
|
||||
4.6 btver1 amdfam10
|
||||
4.6 core-avx-i core2
|
||||
4.6 corei7 core2
|
||||
4.6 corei7-avx core2
|
||||
4.5 atom core2
|
||||
4.3 amdfam10 k8
|
||||
4.3 athlon64-sse3 k8
|
||||
4.3 barcelona k8
|
||||
4.3 core2 nocona
|
||||
4.3 geode k6-2 # gcc.gnu.org/PR41989#c22
|
||||
4.3 k8-sse3 k8
|
||||
4.3 opteron-sse3 k8
|
||||
3.4 athlon-fx x86-64
|
||||
3.4 athlon64 x86-64
|
||||
3.4 c3-2 c3
|
||||
3.4 k8 x86-64
|
||||
3.4 opteron x86-64
|
||||
3.4 pentium-m pentium3
|
||||
3.4 pentium3m pentium3
|
||||
3.4 pentium4m pentium4
|
||||
)
|
||||
|
||||
myarch=$(get-flag march)
|
||||
mytune=$(get-flag mtune)
|
||||
|
||||
for ((i=0; i < ${#archlist[@]}; i++)) ; do
|
||||
arch=${archlist[i]%% *}
|
||||
ver=${archlist[i]#* } ver=${ver% *}
|
||||
rep=${archlist[i]##* }
|
||||
for ((i = 0; i < ${#archlist[@]}; i += 3)) ; do
|
||||
ver=${archlist[i]}
|
||||
arch=${archlist[i + 1]}
|
||||
rep=${archlist[i + 2]}
|
||||
|
||||
[[ ${myarch} != ${arch} && ${mytune} != ${arch} ]] && continue
|
||||
|
||||
|
||||
if [[ ${ver} > ${bver} ]] ; then
|
||||
einfo "Replacing ${myarch} (added in ${ver}) with ${rep}..."
|
||||
einfo "Replacing ${myarch} (added in gcc ${ver}) with ${rep}..."
|
||||
[[ ${myarch} == ${arch} ]] && replace-cpu-flags ${myarch} ${rep}
|
||||
[[ ${mytune} == ${arch} ]] && replace-cpu-flags ${mytune} ${rep}
|
||||
downgrade_arch_flags ${1:-${GCC_BRANCH_VER}}
|
||||
|
@ -1292,45 +1292,46 @@ downgrade_arch_flags() {
|
|||
fi
|
||||
done
|
||||
|
||||
declare -a isalist
|
||||
# we only check -mno* here since -m* get removed by strip-flags later on
|
||||
isalist=("-mno-sha 4.9")
|
||||
isalist+=("-mno-avx512pf 4.9")
|
||||
isalist+=("-mno-avx512f 4.9")
|
||||
isalist+=("-mno-avx512er 4.9")
|
||||
isalist+=("-mno-avx512cd 4.9")
|
||||
isalist+=("-mno-xsaveopt 4.8")
|
||||
isalist+=("-mno-xsave 4.8")
|
||||
isalist+=("-mno-rtm 4.8")
|
||||
isalist+=("-mno-fxsr 4.8")
|
||||
isalist+=("-mno-lzcnt 4.7")
|
||||
isalist+=("-mno-bmi2 4.7")
|
||||
isalist+=("-mno-avx2 4.7")
|
||||
isalist+=("-mno-tbm 4.6")
|
||||
isalist+=("-mno-rdrnd 4.6")
|
||||
isalist+=("-mno-fsgsbase 4.6")
|
||||
isalist+=("-mno-f16c 4.6")
|
||||
isalist+=("-mno-bmi 4.6")
|
||||
isalist+=("-mno-xop 4.5")
|
||||
isalist+=("-mno-movbe 4.5")
|
||||
isalist+=("-mno-lwp 4.5")
|
||||
isalist+=("-mno-fma4 4.5")
|
||||
isalist+=("-mno-pclmul 4.4")
|
||||
isalist+=("-mno-fma 4.4")
|
||||
isalist+=("-mno-avx 4.4")
|
||||
isalist+=("-mno-aes 4.4")
|
||||
isalist+=("-mno-ssse3 4.3")
|
||||
isalist+=("-mno-sse4a 4.3")
|
||||
isalist+=("-mno-sse4 4.3")
|
||||
isalist+=("-mno-sse4.2 4.3")
|
||||
isalist+=("-mno-sse4.1 4.3")
|
||||
isalist+=("-mno-popcnt 4.3")
|
||||
isalist+=("-mno-abm 4.3")
|
||||
local isalist=(
|
||||
# we only check -mno* here since -m* get removed by strip-flags later on
|
||||
4.9 -mno-sha
|
||||
4.9 -mno-avx512pf
|
||||
4.9 -mno-avx512f
|
||||
4.9 -mno-avx512er
|
||||
4.9 -mno-avx512cd
|
||||
4.8 -mno-xsaveopt
|
||||
4.8 -mno-xsave
|
||||
4.8 -mno-rtm
|
||||
4.8 -mno-fxsr
|
||||
4.7 -mno-lzcnt
|
||||
4.7 -mno-bmi2
|
||||
4.7 -mno-avx2
|
||||
4.6 -mno-tbm
|
||||
4.6 -mno-rdrnd
|
||||
4.6 -mno-fsgsbase
|
||||
4.6 -mno-f16c
|
||||
4.6 -mno-bmi
|
||||
4.5 -mno-xop
|
||||
4.5 -mno-movbe
|
||||
4.5 -mno-lwp
|
||||
4.5 -mno-fma4
|
||||
4.4 -mno-pclmul
|
||||
4.4 -mno-fma
|
||||
4.4 -mno-avx
|
||||
4.4 -mno-aes
|
||||
4.3 -mno-ssse3
|
||||
4.3 -mno-sse4a
|
||||
4.3 -mno-sse4
|
||||
4.3 -mno-sse4.2
|
||||
4.3 -mno-sse4.1
|
||||
4.3 -mno-popcnt
|
||||
4.3 -mno-abm
|
||||
)
|
||||
|
||||
for ((i=0; i < ${#isalist[@]}; i++)) ; do
|
||||
isa=${isalist[i]%% *}
|
||||
ver=${isalist[i]##* }
|
||||
[[ ${ver} > ${bver} ]] && filter-flags ${isa}
|
||||
for ((i = 0; i < ${#isalist[@]}; i += 2)) ; do
|
||||
ver=${isalist[i]}
|
||||
isa=${isalist[i + 1]}
|
||||
[[ ${ver} > ${bver} ]] && filter-flags ${isa} ${isa/-m/-mno-}
|
||||
done
|
||||
}
|
||||
|
||||
|
@ -1361,9 +1362,9 @@ gcc_do_filter_flags() {
|
|||
case $(tc-arch) in
|
||||
amd64|x86)
|
||||
filter-flags '-mcpu=*'
|
||||
|
||||
|
||||
tc_version_is_between 4.4 4.5 && append-flags -mno-avx # 357287
|
||||
|
||||
|
||||
if tc_version_is_between 4.6 4.7 ; then
|
||||
# https://bugs.gentoo.org/411333
|
||||
# https://bugs.gentoo.org/466454
|
||||
|
@ -1485,7 +1486,7 @@ gcc_do_make() {
|
|||
# gcc_do_make all-target-libstdc++-v3
|
||||
|
||||
[[ -n ${1} ]] && GCC_MAKE_TARGET=${1}
|
||||
|
||||
|
||||
# default target
|
||||
if is_crosscompile || tc-is-cross-compiler ; then
|
||||
# 3 stage bootstrapping doesnt quite work when you cant run the
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
DIST gemrb-0.7.2.tar.gz 2066407 SHA256 a649f21a353f1acb52a7dc5e336fcc0669815c99a4e294416945e5661e81a540 SHA512 5d646003da6fd04971eeacb5195dc0253e7a5054ce13cbab681fc785ddaace92aaaa4f9787e1f5b3e9367bc300148b84ca53d4d48e06cdb4df590bdd4561bae3 WHIRLPOOL ea4006c1c2ef44310d35aef5c41e8b6f7ad165a6b852f6900a967d345ce60ef6cbab895bfc71cc36aef0ac485b330d2d5b7fd22a747abfeba6f9fdbf14332750
|
||||
DIST gemrb-0.8.0.1.tar.gz 12303524 SHA256 4d4fb00b09789c6de7e0959e7d7a1ccf6fc2aa6d0c86c4a6b35c45a2e9f5316d SHA512 94971d4b5fdc6c5c4300782cd0998d845ac862d24aea01100b3f140fb761ec55bcd9a7a7d39e903c935c28aa2c082c2a5896f862b03058b858c4239de5fcb6dc WHIRLPOOL 9dd7c83b2dd668f50aa937ad8ba0826042766d09bac266c8b98e4bf5ed09cf2ddd22a8f0d538ac2cb986bd79bb73e76bde5927c4620b6e6ba77436c3d294f6b6
|
||||
DIST gemrb-0.8.1.tar.gz 12278911 SHA256 7426022f52faf8e8d41e3b456dd2c126f989c11b011d5fea37fe2bd201bbc8bc SHA512 3b8f6280172d5871b397f262fe34cfd307425f85c78c2fb5708dbea6f5557ff8508f86589956c2b7d60410a03ad6979841511ea09e749ffcd9ddbacaa6410c26 WHIRLPOOL 48664536feec8522f4aa815b758becccfdd8860a91d5c81416e22f9347b8f173444b66bcf62c0e069b7e335f797b00a2a8531af8ef4a35c28fb19f032ace0ea3
|
||||
|
|
78
games-engines/gemrb/gemrb-0.8.1.ebuild
Normal file
78
games-engines/gemrb/gemrb-0.8.1.ebuild
Normal file
|
@ -0,0 +1,78 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-engines/gemrb/gemrb-0.8.1.ebuild,v 1.1 2014/06/01 07:30:38 mr_bones_ Exp $
|
||||
|
||||
EAPI=3
|
||||
PYTHON_DEPEND="2"
|
||||
WANT_CMAKE=always
|
||||
inherit eutils python cmake-utils gnome2-utils games
|
||||
|
||||
DESCRIPTION="Reimplementation of the Infinity engine"
|
||||
HOMEPAGE="http://gemrb.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/gemrb/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-libs/freetype
|
||||
media-libs/libpng:0
|
||||
>=media-libs/libsdl-1.2[video]
|
||||
media-libs/libvorbis
|
||||
media-libs/openal
|
||||
media-libs/sdl-mixer
|
||||
sys-libs/zlib"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
games_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e '/COPYING/d' \
|
||||
CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}"
|
||||
-DBIN_DIR="${GAMES_BINDIR}"
|
||||
-DDATA_DIR="${GAMES_DATADIR}/gemrb"
|
||||
-DSYSCONF_DIR="${GAMES_SYSCONFDIR}/gemrb"
|
||||
-DLIB_DIR="$(games_get_libdir)"
|
||||
-DMAN_DIR=/usr/share/man/man6
|
||||
-DICON_DIR=/usr/share/pixmaps
|
||||
-DMENU_DIR=/usr/share/applications
|
||||
-DDOC_DIR="/usr/share/doc/${PF}"
|
||||
-DSVG_DIR=/usr/share/icons/hicolor/scalable/apps
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
dodoc README NEWS AUTHORS
|
||||
prepgamesdirs
|
||||
prepalldocs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
--- server/Makefile.am.old 2014-05-24 02:44:17.956898224 +0300
|
||||
+++ server/Makefile.am 2014-05-24 02:44:51.666659234 +0300
|
||||
@@ -133,7 +133,7 @@
|
||||
--- server/Makefile.in
|
||||
+++ server/Makefile.in
|
||||
@@ -610,7 +610,7 @@
|
||||
$(top_builddir)/server/scripting/libscripting_server.la
|
||||
|
||||
libfreeciv_srv_la_LIBADD = \
|
||||
|
@ -8,4 +8,4 @@
|
|||
+ $(srvlibs) $(SERVER_LIBS)
|
||||
|
||||
freeciv_server_LDFLAGS = $(GGZDMOD_LDFLAGS)
|
||||
|
||||
freeciv_server_LDADD = \
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/freeciv-2.4.2.ebuild,v 1.3 2014/05/24 15:16:41 hasufell Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/freeciv-2.4.2.ebuild,v 1.4 2014/05/31 12:04:25 hasufell Exp $
|
||||
|
||||
# FIXME: gtk3 support breaks ggz support
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils gnome2-utils games-ggz games
|
||||
inherit eutils gnome2-utils games-ggz games
|
||||
|
||||
DESCRIPTION="multiplayer strategy game (Civilization Clone)"
|
||||
HOMEPAGE="http://www.freeciv.org/"
|
||||
|
@ -70,7 +70,6 @@ pkg_setup() {
|
|||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-as-needed.patch
|
||||
eautoreconf
|
||||
|
||||
# install the .desktop in /usr/share/applications
|
||||
# install the icons in /usr/share/pixmaps
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-control-center/gnome-control-center-3.10.3.ebuild,v 1.5 2014/05/01 02:40:13 tetromino Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-control-center/gnome-control-center-3.10.3.ebuild,v 1.7 2014/06/01 07:59:51 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="yes"
|
||||
|
@ -44,7 +44,7 @@ COMMON_DEPEND="
|
|||
>=media-libs/libcanberra-0.13[gtk3]
|
||||
>=media-sound/pulseaudio-2[glib]
|
||||
>=sys-auth/polkit-0.97
|
||||
>=sys-power/upower-0.9.1
|
||||
|| ( <sys-power/upower-0.99 sys-power/upower-pm-utils )
|
||||
>=x11-libs/libnotify-0.7.3:0=
|
||||
|
||||
>=gnome-extra/nm-applet-0.9.7.995
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-session/gnome-session-2.32.1-r3.ebuild,v 1.11 2013/01/22 05:40:33 tetromino Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-session/gnome-session-2.32.1-r3.ebuild,v 1.13 2014/06/01 08:03:47 pacho Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="yes"
|
||||
|
@ -26,7 +26,7 @@ RDEPEND=">=dev-libs/glib-2.16:2
|
|||
>=dev-libs/dbus-glib-0.76
|
||||
>=gnome-base/gconf-2:2[gtk(+)]
|
||||
<gnome-base/gconf-3.2.6
|
||||
>=sys-power/upower-0.9.0
|
||||
|| ( <sys-power/upower-0.99 sys-power/upower-pm-utils )
|
||||
elibc_FreeBSD? ( dev-libs/libexecinfo )
|
||||
|
||||
x11-libs/libSM
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue