Sync with portage [Wed Jul 1 08:50:42 MSK 2015].

mhiretskiy
root 9 years ago
parent 21c023d65b
commit a82f46ab8a

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/xarchiver/xarchiver-0.5.4.ebuild,v 1.1 2015/04/21 04:04:46 calchan Exp $
# $Header: /var/cvsroot/gentoo-x86/app-arch/xarchiver/xarchiver-0.5.4.ebuild,v 1.2 2015/07/01 04:43:04 jer Exp $
EAPI=5
inherit xfconf
@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
IUSE="debug"
RDEPEND=">=dev-libs/glib-2

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/qca-2.1.0.3.ebuild,v 1.10 2015/06/29 00:55:26 pesa Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/qca-2.1.0.3.ebuild,v 1.12 2015/06/30 21:48:14 pesa Exp $
EAPI=5
@ -99,7 +99,12 @@ src_compile() {
}
src_test() {
multibuild_foreach_variant cmake-utils_src_test
mytest() {
local -x QCA_PLUGIN_PATH="${BUILD_DIR}/lib/qca"
cmake-utils_src_test
}
multibuild_foreach_variant mytest
}
src_install() {
@ -108,12 +113,11 @@ src_install() {
if use doc; then
pushd "${BUILD_DIR}" >/dev/null || die
doxygen Doxyfile.in || die
dohtml apidocs/html/*
dodoc -r apidocs/html
popd >/dev/null || die
fi
if use examples; then
insinto /usr/share/doc/${PF}
doins -r "${S}"/examples
dodoc -r "${S}"/examples
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/docker/docker-1.6.1.ebuild,v 1.2 2015/06/07 07:54:35 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/docker/docker-1.6.1.ebuild,v 1.3 2015/06/30 18:14:22 mrueg Exp $
EAPI=5
@ -27,7 +27,7 @@ inherit bash-completion-r1 eutils linux-info multilib systemd udev user
LICENSE="Apache-2.0"
SLOT="0"
IUSE="aufs btrfs +contrib +device-mapper doc lxc overlay vim-syntax zsh-completion"
IUSE="aufs btrfs +contrib +device-mapper doc lxc overlay vim-syntax"
# https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#build-dependencies
CDEPEND="
@ -211,10 +211,8 @@ src_install() {
dobashcomp contrib/completion/bash/*
if use zsh-completion; then
insinto /usr/share/zsh/site-functions
doins contrib/completion/zsh/*
fi
insinto /usr/share/zsh/site-functions
doins contrib/completion/zsh/*
if use vim-syntax; then
insinto /usr/share/vim/vimfiles

@ -1,3 +1,2 @@
DIST vice-2.4.16.tar.gz 14779876 SHA256 90a5d6cbfa621ecb67b5bff43030bf5d5da5fee2c1933efe44ad036c3945d4ec SHA512 0f6cda3233f43c98bc14153144f0ebf41f4dc452446a842985f0ec235232580121a1b580ab834aa54fbfb15f610316764948e4db56b93bcfbfbb4320b5089ec0 WHIRLPOOL 079367e36f2358ebe233de25ed29dfa2d21a52dfbc6c3bc880ebbe3f89b6b409ed0f778aac2dc89418bd07cdf819a5bf70b98156a3dd5c7364228efee8235022
DIST vice-2.4.20.tar.gz 25156408 SHA256 e5d3d125940f0fafe409aabeec9de4e3ae8d9c19a731aa7ec6a57f6d2b897c5f SHA512 a27b1672ca356d0e8f2890c91e449b78ef76512f6d81bdf25350b90c1f472d57ae6d23646d0176c5544c47d81023aa3deb172e3a02eeb0022ea32a13311b5a76 WHIRLPOOL 5f25bfa72ade54dbe09699b5932df2c37017c3993daba048eb09f723a4351300b6722cf06ceb264202459051780a775f45b787b6ea60db78560d5c65da684541
DIST vice-2.4.tar.gz 13656511 SHA256 ff8b8d5f0f497d1f8e75b95bbc4204993a789284a08a8a59ba727ad81dcace10 SHA512 ad197fc35eb80c9738b7f4f551d350dbb4440c7c8103e5d472b7f7ea5106c1356e9d6e3f481552a028a313129ef233833d3147e03f6f00b9890229d5708e3ebb WHIRLPOOL 80f89f7c144fe1ef2305e109049b49e47dfa4af9b69d0d848bf7b06bd0f2d210669acece363b550abad1c50f53dd45a30397eb1bfacfaa443c9e865c686d0823

@ -1,11 +0,0 @@
--- vice-2.4.7.orig/configure.ac
+++ vice-2.4.7/configure.ac
@@ -124,7 +118,7 @@
AC_SUBST(VICE_VERSION)
AM_INIT_AUTOMAKE(vice, $VICE_VERSION)
-AM_CONFIG_HEADER(src/config.h)
+AC_CONFIG_HEADERS(src/config.h)
if test x"$VICE_VERSION_BUILD" = "x" -o x"$VICE_VERSION_BUILD" = "x0" ; then
VERSION_RC=$VICE_VERSION_MAJOR","$VICE_VERSION_MINOR",0,0"

@ -6,7 +6,6 @@
<flag name="ethernet">Enable ethernet emulation</flag>
<flag name="fullscreen">Enable the ability to run fullscreen</flag>
<flag name="gtk2">Use GTK+2 for GUI instead of GTK+3</flag>
<flag name="gtk3">Use GTK+3for GUI instead of GTK+2</flag>
<flag name="memmap">Enable extra monitor features</flag>
<flag name="sdlsound">Use <pkg>media-libs/libsdl</pkg> for sound support</flag>
<flag name="vte">Enable support for <pkg>x11-libs/vte</pkg> in the GTK+ interface</flag>

@ -1,157 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vice/vice-2.4.16-r1.ebuild,v 1.1 2015/02/11 03:05:43 mr_bones_ Exp $
EAPI=5
inherit autotools eutils toolchain-funcs flag-o-matic games
DESCRIPTION="The Versatile Commodore 8-bit Emulator"
HOMEPAGE="http://vice-emu.sourceforge.net/"
SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="Xaw3d alsa ethernet ffmpeg fullscreen gtk gtk3 ipv6 lame nls oss png pulseaudio readline sdl threads vte zlib"
RDEPEND="
virtual/jpeg
virtual/opengl
media-libs/giflib
alsa? ( media-libs/alsa-lib )
ethernet? (
>=net-libs/libpcap-0.9.8
>=net-libs/libnet-1.1.2.1
)
ffmpeg? ( virtual/ffmpeg )
lame? ( media-sound/lame )
nls? ( virtual/libintl )
png? ( media-libs/libpng:0 )
zlib? ( sys-libs/zlib )
sdl? (
media-libs/libsdl[joystick,sound,video]
)
!sdl? (
x11-libs/libX11
x11-libs/libXext
fullscreen? (
x11-libs/libXrandr
x11-libs/libXxf86vm )
readline? ( sys-libs/readline )
gtk? (
!gtk3? (
x11-libs/gtk+:2
vte? ( x11-libs/vte:0 )
)
gtk3? (
x11-libs/gtk+:3
vte? ( x11-libs/vte:2.90 )
)
x11-libs/pango
x11-libs/cairo
x11-libs/gtkglext
)
!gtk? (
x11-libs/libX11
x11-libs/libXmu
x11-libs/libXpm
x11-libs/libXt
x11-libs/libXv
sys-libs/readline
Xaw3d? ( x11-libs/libXaw3d )
!Xaw3d? ( x11-libs/libXaw )
)
)"
DEPEND="${RDEPEND}
virtual/pkgconfig
!sdl? (
!gtk? (
x11-libs/libICE
x11-libs/libSM
)
x11-apps/bdftopcf
x11-apps/mkfontdir
x11-proto/xproto
fullscreen? ( x11-proto/xf86vidmodeproto )
x11-proto/xextproto
media-libs/fontconfig
x11-proto/videoproto
)
nls? ( sys-devel/gettext )"
pkg_pretend() {
if use gtk || use gtk3 && use sdl ; then
eerror "gtk (2 or 3) and sdl USE flags can't both be set. Pick one and mask the other one in /etc/portage/package.use"
die "Please pick one gui option."
fi
}
src_prepare() {
epatch \
"${FILESDIR}"/${P}-autotools.patch
sed -i \
-e "s:/usr/local/lib/VICE:$(games_get_libdir)/${PN}:" \
man/vice.1 \
$(grep -rl --exclude="*texi" /usr/local/lib doc) \
|| die
sed -i \
-e "/VICEDIR=/s:=.*:=\"$(games_get_libdir)/${PN}\";:" \
configure.ac || die
sed -i \
-e "s:\(#define LIBDIR \).*:\1\"$(games_get_libdir)/${PN}\":" \
-e "s:\(#define DOCDIR \).*:\1\"/usr/share/doc/${PF}\":" \
src/arch/unix/archdep.h \
src/arch/sdl/archdep_unix.h
AT_NO_RECURSIVE=1 eautoreconf
}
src_configure() {
local gui_arg
if use sdl ; then
gui_arg="--enable-sdlui"
elif use gtk || use gtk3 ; then
# The gtk UI code has raw calls to XOpenDisplay and
# is missing -lX11 if vte doesn't pull it in.
if ! use vte ; then
append-libs -lX11
fi
gui_arg="--enable-gnomeui"
if use gtk3 ; then
gui_arg="--enable-gnomeui3"
fi
fi
# don't try to actually run fc-cache (bug #280976)
FCCACHE=/bin/true \
PKG_CONFIG=$(tc-getPKG_CONFIG) \
egamesconf \
--enable-parsid \
--with-resid \
--without-arts \
--without-midas \
$(use_enable ethernet) \
$(use_enable ffmpeg) \
$(use_enable fullscreen) \
$(use_enable ipv6) \
$(use_enable lame) \
$(use_enable nls) \
$(use_enable vte) \
$(use_with Xaw3d xaw3d) \
$(use_with alsa) \
$(use_with oss) \
$(use_with png) \
$(use_with pulseaudio pulse) \
$(use_with readline) \
$(use_with sdl sdlsound) \
$(use_with threads uithreads) \
$(use_with zlib) \
${gui_arg} \
--disable-option-checking
# --disable-option-checking has to be last
}
src_install() {
DOCS="AUTHORS ChangeLog FEEDBACK README" \
default
prepgamesdirs
}

@ -4,6 +4,5 @@ DIST newlib-1.16.0.tar.gz 12024353 SHA256 db426394965c48c1d29023e1cc6d965ea6b9a9
DIST pciutils-2.2.9.tar.bz2 212265 SHA256 f60ae61cfbd5da1d849d0beaa21f593c38dac9359f0b3ddc612f447408265b24 SHA512 2b3d98d027e46d8c08037366dde6f0781ca03c610ef2b380984639e4ef39899ed8d8b8e4cd9c9dc54df101279b95879bd66bfd4d04ad07fef41e847ea7ae32b5 WHIRLPOOL ce801947fcf7ba0b56710029f25e746d3e03a80699af9d3570efcd417b12b546264f286b2e78b1402cca766c08e35bdd0ff0a692ab4ad419295f00bcfe91130e
DIST polarssl-1.1.4-gpl.tgz 611340 SHA256 2d29fd04a0d0ba29dae6bd29fb418944c08d3916665dcca74afb297ef37584b6 SHA512 88da614e4d3f4409c4fd3bb3e44c7587ba051e3fed4e33d526069a67e8180212e1ea22da984656f50e290049f60ddca65383e5983c0f8884f648d71f698303ad WHIRLPOOL 39448c00dda142a836a78381b446c7b586272a44d8afc867a7ea702228f105bb2adffe757bd6c23af090cff64ef32e7af0c373dccc5145ff4c11552cf3f28383
DIST xen-4.2.5.tar.gz 15671925 SHA256 3cf440866315e8085050eb0586f0447b6b47a08dbed6a72226bf5ed5d89ec567 SHA512 42c0fc241952fc55fc44480fb6752b004b54ae40e946159ec047adf229b65cbfbd810271d01b064ad8fdbddb73c640dcdcb6bc19f91e8968829889c129920dac WHIRLPOOL 762a91c0111892b33e6bd3e7f7714709b04697ad7c2b0919fef6cc9570a343a77fd5a2b82833e75dac9d12d4e41acdcf0743b0d593595910ddd326f5cd721368
DIST xen-4.4.2.tar.gz 18137195 SHA256 cd53592e86669e5e8c4d4a731b0199e8af17d8eadbb8f26dbb69f1b751259204 SHA512 7dae2a1d601d5c65c350ea9fe9870551ec53dff47b6ebe56e99285fd1112aa1cba3a2594e294b871defcf43fb7fccace9f18910e69f02dfce162d7bf453eb07b WHIRLPOOL 2dfe3de5fd800d2172ad2c95117e0646c6b2045cfcb9fa5eccc46b695f1c58aa861bf2a591f78db5baf5a89894b3fa26dc1ba63cb0d57f87be4df5c445c82a94
DIST xen-4.5.0.tar.gz 18404933 SHA256 5bdb40e2b28d2eeb541bd71a9777f40cbe2ae444b987521d33f099541a006f3b SHA512 31621fbaf621ad350125d03366ecff4dec5d810b0c1242ca0e28788f7556ac1443d7ee9247e1f76dec07e148e0b4ae16d08a7c10101bb78d6529375f3e40998e WHIRLPOOL 4a77588a4aa4846cfbf9493ab20bd2f293c55a941a5639fdd166a43f284cc0cc7218969def755a1acd89e640181bdd862fff0b566cfb8e628d73deeb6369c924
DIST zlib-1.2.3.tar.gz 496597 SHA256 1795c7d067a43174113fdf03447532f373e1c6c57c08d61d9e4e9be5e244b05e SHA512 021b958fcd0d346c4ba761bcf0cc40f3522de6186cf5a0a6ea34a70504ce9622b1c2626fce40675bc8282cf5f5ade18473656abc38050f72f5d6480507a2106e WHIRLPOOL 8fd7010faf6a48a9c7ff4bcfe3ce4fe9061eb541259e0a2d0def214e8c4becf2b22e8d6f96f65ca827abffeaa9d96e95ed2402844f99835f7b079fc9f3e84276

@ -1,136 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-pvgrub/xen-pvgrub-4.4.2.ebuild,v 1.3 2015/04/08 07:30:31 mgorny Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE='xml,threads'
inherit flag-o-matic eutils multilib python-single-r1 toolchain-funcs
XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles"
LIBPCI_URL=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
GRUB_URL=mirror://gnu-alpha/grub
SRC_URI="
http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
$GRUB_URL/grub-0.97.tar.gz
$XEN_EXTFILES_URL/zlib-1.2.3.tar.gz
$LIBPCI_URL/pciutils-2.2.9.tar.bz2
$XEN_EXTFILES_URL/lwip-1.3.0.tar.gz
$XEN_EXTFILES_URL/newlib/newlib-1.16.0.tar.gz
$XEN_EXTFILES_URL/polarssl-1.1.4-gpl.tgz"
S="${WORKDIR}/xen-${PV}"
DESCRIPTION="allows to boot Xen domU kernels from a menu.lst laying inside guest filesystem"
HOMEPAGE="http://xen.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 -x86"
IUSE="custom-cflags"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="sys-devel/gettext
sys-devel/bin86
sys-apps/texinfo"
RDEPEND=">=app-emulation/xen-4.2.1"
pkg_setup() {
python-single-r1_pkg_setup
}
retar-externals() {
# Purely to unclutter src_prepare
local set="grub-0.97.tar.gz lwip-1.3.0.tar.gz newlib-1.16.0.tar.gz polarssl-1.1.4-gpl.tgz zlib-1.2.3.tar.gz"
# epatch can't patch in $WORKDIR, requires a sed; Bug #455194. Patchable, but sed informative
sed -e s':AR=${AR-"ar rc"}:AR=${AR-"ar"}:' \
-i "${WORKDIR}"/zlib-1.2.3/configure
sed -e 's:^AR=ar rc:AR=ar:' \
-e s':$(AR) $@:$(AR) rc $@:' \
-i "${WORKDIR}"/zlib-1.2.3/{Makefile,Makefile.in}
einfo "zlib Makefile edited"
cd "${WORKDIR}"
tar czp zlib-1.2.3 -f zlib-1.2.3.tar.gz
tar czp grub-0.97 -f grub-0.97.tar.gz
tar czp lwip -f lwip-1.3.0.tar.gz
tar czp newlib-1.16.0 -f newlib-1.16.0.tar.gz
tar czp polarssl-1.1.4 -f polarssl-1.1.4-gpl.tgz
mv $set "${S}"/stubdom/
einfo "tarballs moved to source"
}
src_prepare() {
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default custom-cflags
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} \;
fi
# Patch the unmergeable newlib, fix most of the leftover gcc QA issues
cp "${FILESDIR}"/newlib-implicits.patch stubdom || die
# Patch stubdom/Makefile to patch insource newlib & prevent internal downloading
epatch "${FILESDIR}"/${PN/-pvgrub/}-4.3-externals.patch
# Drop .config and Fix gcc-4.6
epatch "${FILESDIR}"/${PN/-pvgrub/}-4.4-fix_dotconfig-gcc.patch
# fix jobserver in Makefile
epatch "${FILESDIR}"/${PN}-4.2-jserver.patch
#Substitute for internal downloading. pciutils copied only due to the only .bz2
cp "${DISTDIR}"/pciutils-2.2.9.tar.bz2 ./stubdom/ || die "pciutils not copied to stubdom"
retar-externals || die "re-tar procedure failed"
}
src_compile() {
use custom-cflags || unset CFLAGS
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" -C tools/include
if use x86; then
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
elif use amd64; then
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub
if has_multilib_profile; then
multilib_toolchain_setup x86
emake CC="$(tc-getCC)" AR="$(tc-getAR)" \
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
fi
fi
}
src_install() {
if use x86; then
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
fi
if use amd64; then
emake XEN_TARGET_ARCH="x86_64" DESTDIR="${D}" -C stubdom install-grub
if has_multilib_profile; then
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
fi
fi
}
pkg_postinst() {
elog "Official Xen Guide and the offical wiki page:"
elog "https://wiki.gentoo.org/wiki/Xen"
elog "http://wiki.xen.org/wiki/Main_Page"
}

@ -1,18 +1,11 @@
DIST ovmf-20131208.tar.bz2 32493270 SHA256 73363666b9e1b906905812347ec1d3bebec1375cb72160ee9edcebed188d1b39 SHA512 2ef53456d409d0e97973da5e2267b3ba2d49fbedcbdd86c3e1b87fa44f98f5f8d154ee5179ee325f1b3f9dca95eee373977b7c146a4e5cd9d1e2267a199ce82d WHIRLPOOL 4883ca2f960a65f846cec96861a124524f9f6c19916148cef7c93277b8b4c8984761b04b6372422e5c14b7ebfd1832a3368f7417aa5c49b81704f48f26b6aa3d
DIST seabios-1.6.3.2.tar.gz 422376 SHA256 888aafe37ef3d1f502a73518a5e4dd0e9373ce4cd41681c354771314f1e41dd7 SHA512 c54431d8e81d25b74427696da689e90d3ab68c7c1be1dec05c81658d28b650f53daa34dcee2da826c1cf5d5d39396b12b0b16ea20ed6fd89de8f732163c8cca5 WHIRLPOOL 826c0e034ca46291661faa363189ee6cf56098cabc39f8fc84d2c442cc2da2174c2fa027cc11e11a7c3fed619f2e524f2aee804d9836d256448cdad28631d69a
DIST seabios-1.7.3.1.tar.gz 463801 SHA256 e1f5845c3fa01a9280421d587dcd866273d5d6c0002b9fe70a6736e56ef5c36f SHA512 6b2c376f6c2644e1ecad687079fc8ec63eb064b82ec3ac2d24f4ec7b56432c7ed69d41539e7b212aa134368272198bdaf50fed23637a29fcf1e653db008b2009 WHIRLPOOL 8e37ef66722580b9db67c5b98282e23074847eadbdd2db5ed8b999d25c1ce7cbe9ab54fbbb15d2985f403e18e6b2fa2ea36d87ce46ec30b0e5bbbc0f69623007
DIST seabios-1.7.5.tar.gz 537566 SHA256 858d9eda4ad91efa1c45a5a401d560ef9ca8dd172f03b0a106f06661c252dc51 SHA512 ecf5fb9ac44dde6e4ac00baa6c920dde51b923f23dd74e62c5a02eceaf235e57b885975c5a8bd0927e268115c72bd1143a080fdfd4eff4e168ebeaa30436280e WHIRLPOOL 5e1e99b3bd82a8607c5986fde4592c7437bec4bd78abd5873710f6c431d075436725e8d0d32e9f0dd2921c9d84b8613108b21d31c5309a73e337ead7adf35e90
DIST xen-4.2.5-upstream-patches-8.tar.xz 22468 SHA256 611257c09593cd125dd5c822e44f493f8b64baf3c4a2b7c9a9d092c53f8e0595 SHA512 bb2ec5f3ec8a7f32a5017b586d31d368fcbc400d394a77b427efc08b9802bd8280d61df597755624837326addaf957c8715d585653fd6faa64f6abe7c2507b01 WHIRLPOOL 26412d7ba5703180ae20fe5423a313cada4903f3236389854fb13cb9d193d5d137f8bbb71db2bc4b1397a57bf4e66538445dc63cc708b537b0f247026bc38b7d
DIST xen-4.2.5-upstream-patches-9.tar.xz 23208 SHA256 2206e9a8aeeed207abbae995c5d2baa14d5f0da4120ae44f2de733ecf7ea5af1 SHA512 8a2edaba48002449a521edf2ae078ffe1b3db4f491a85b063886a147a0be3ec7fdb819ce84c90cdae80ed34c10ab2d637506700be10052a67be6ef128fa40fb1 WHIRLPOOL 037820e0fad60d1f7ed054efa797585c992d08f1ffd533705c515ad289f8cdddc72b97f2a3d75ebd683c6bb6988d7285452b4f3cebbe9a879f701156e387ff3b
DIST xen-4.2.5.tar.gz 15671925 SHA256 3cf440866315e8085050eb0586f0447b6b47a08dbed6a72226bf5ed5d89ec567 SHA512 42c0fc241952fc55fc44480fb6752b004b54ae40e946159ec047adf229b65cbfbd810271d01b064ad8fdbddb73c640dcdcb6bc19f91e8968829889c129920dac WHIRLPOOL 762a91c0111892b33e6bd3e7f7714709b04697ad7c2b0919fef6cc9570a343a77fd5a2b82833e75dac9d12d4e41acdcf0743b0d593595910ddd326f5cd721368
DIST xen-4.4.2-upstream-patches-1.tar.xz 20156 SHA256 2680f5015477f132b308ad77de9a2eb5ec1c696debd5584c8e3f9358a6bf348f SHA512 ea14def52e865e35b75ffea2a8233919f7cb97d1832e258e2b9d78642ceb089fa8bcc46bca757407ade744d9c55669daaa55a7a896aa9223bd5f57aa242fc330 WHIRLPOOL bf8351ac9f098a9ca48e158751b505e8bec4ea2fe163790850ddba24cd29f00616dc984f16ef2514c45aa6d8a46030caf71fa8e01412e8f05dbb0f3dd008efe5
DIST xen-4.4.2-upstream-patches-2.tar.xz 21064 SHA256 39ba1235c4e87b43fc979a939f7f2bab9436d517c9d22fa372c549ae7a92e35f SHA512 e3ffe41431c35382d67a874e1af919f93c47cfb8b85500b2812a64b630ff5a96dae177245c1e2c00f121bb55ff067e4356b016596c8cd6f6d49cde8816fd7e5e WHIRLPOOL 518a7490e741e0fce64329e4e78cae5ebc1d2a1facf4547977b2770de8c68fc003db7ccd1192bee3c0f1e50abec36f85f70b26b31c85f4e17006792571550c1b
DIST xen-4.4.2.tar.gz 18137195 SHA256 cd53592e86669e5e8c4d4a731b0199e8af17d8eadbb8f26dbb69f1b751259204 SHA512 7dae2a1d601d5c65c350ea9fe9870551ec53dff47b6ebe56e99285fd1112aa1cba3a2594e294b871defcf43fb7fccace9f18910e69f02dfce162d7bf453eb07b WHIRLPOOL 2dfe3de5fd800d2172ad2c95117e0646c6b2045cfcb9fa5eccc46b695f1c58aa861bf2a591f78db5baf5a89894b3fa26dc1ba63cb0d57f87be4df5c445c82a94
DIST xen-4.5.0-upstream-patches-5.tar.xz 63804 SHA256 b6f1f1fb799a8480d2fa17625d5d43b143f54722152978fdfdd13b0dfa7db33f SHA512 a234b97ddb63bfb72a5a34ad13a5d6f694d35d4efd6ed0c20380c240022eb3e7c7f12451ecc24f32bf7fe7578cfe3da8ccd4718bd9d445d120e4c5d65bb7a2ad WHIRLPOOL ff50b5c0ce237b88d56a535070d89b8c8d10bce4a1feddf0698b4112cdd9ff76bc4bf33bc7f1c4cb719e4090560b437342ec18b6f517dacb3ed0432f3ec68f08
DIST xen-4.5.0-upstream-patches-6.tar.xz 67084 SHA256 de1d331b18c0d15a1d438e29da27e48e6fa2b34282079710ddc2c36693ac897d SHA512 7f9f128e6aaf9002065acb1985fb29e36ac3c3cdc75625bad0f0719995dc99b421ae080ab3c401c3a5fb6f3de400f15d01817760312151df5eb3724ac5e0540a WHIRLPOOL b9ae4e184e5d3f2ca7eadef8914b6c7af13761da21d5a72fdc035db8193b1984fed76a38c4d90f0df42570f91f4b15f77c095b89d4bea525984adb74ece2631e
DIST xen-4.5.0.tar.gz 18404933 SHA256 5bdb40e2b28d2eeb541bd71a9777f40cbe2ae444b987521d33f099541a006f3b SHA512 31621fbaf621ad350125d03366ecff4dec5d810b0c1242ca0e28788f7556ac1443d7ee9247e1f76dec07e148e0b4ae16d08a7c10101bb78d6529375f3e40998e WHIRLPOOL 4a77588a4aa4846cfbf9493ab20bd2f293c55a941a5639fdd166a43f284cc0cc7218969def755a1acd89e640181bdd862fff0b566cfb8e628d73deeb6369c924
DIST xen-gentoo-patches-1.tar.xz 23044 SHA256 dcff35bbc4b6946473c9b55ad595a5fea88e8dac1bd977cbe18a644b2cced2e0 SHA512 a4c66382d44112e7be09711e3ecf0f8ebd9a30b29e04d8aca536430172bdd111ab8bab7700433e0dc35165f876eb7e9cd2e554d74ce2a166fb2dfd4de482cb7a WHIRLPOOL d0443e1501ac813ac3226df32a6b050c03302c3d74e3b3bd1293ab4ad929b5c314cc0eac13505ce8a826ee357117e8eeaf0713fd8b9c55f40296966fda082c2e
DIST xen-gentoo-patches-4.tar.xz 23632 SHA256 5cdb0f93ee32d0a5fc4fc7282270ace73acfdc4df694f7b29c1135180d902049 SHA512 3006ce4cd67e80a9f79d9ba3814a64704b0d762159a439a140b1ec0a2699473cd5537950f0913b55f8f7e3d0fd2e9861f3199793120d8d2502aa3f8ef7816c8f WHIRLPOOL 4a921103df2825ccd8b0481708e7cd692fa45d5aadae286c1522c144a1576920e7d3567648565bb9af85bb6bb597ea9d0ec04ea6abd2115db4caf7e739717b1a
DIST xen-ovmf-patches-0.tar.xz 4356 SHA256 cd192a98114e534ce7454dc7ea45a42cea7ca83899d01fc8d695e2b110fdeaaf SHA512 03b844040ebad1a18d759418b0107d56feb9b8095291b7da1d36eb3409041764ad4bfd87679176b820221180e1038f6fad4314e8ad877096c052505de6339cf8 WHIRLPOOL e5c0aca3c786d905ad13f4d58a3b9b78260350df3dbe769ea6b66ac409e25ea0a368f9554c9da9b1a3f6f01ea1540038893b496fa5e637b18007076f8d305ee6
DIST xen-security-patches-2.tar.xz 15272 SHA256 361e828275e3c32333ae6e6e7fce3bd926334f0d89103d762b3a75ac7a4ec3c0 SHA512 3942ec23adc8e28ed2a4162a591da16a96cf7890534558cfcaf4c1530c1dd2324a0417735b6f05843f904c5bb6e5ccb443381e5b9a6647af79d5eec2380453b3 WHIRLPOOL 77106b93e8ccdfcf0d67d6eaf97ecc22e30664878c7a85b03f986ac565e23749408ab1de93dd9bbea154c05dc209cc63b48cd9d9da9074ed4fbb53eff506c4fb
DIST xen-security-patches-3.tar.xz 17028 SHA256 fb6301beb9a5c2d1e5d4de8783d8670e382b1bef48ec61e73d2d9be6901d289f SHA512 787fee8f7822577c6de91c4cf4d56d0e73ce46bac5524537ff66a718b6d7eae9d362265515743e8577b2c75f2841baed9837f71467b3b7b91a3111220da5f236 WHIRLPOOL 5c136289e654776bf918fe125fbecba7dac0929b236f7ae8158026a6bd6be12bc786a5ec96cb4022c18a5e7ffde82155deb57eb9639600e4c42c9c209f4a2ed6

@ -1,370 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.5-r6.ebuild,v 1.3 2015/06/03 14:31:52 ago Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE='xml,threads'
if [[ $PV == *9999 ]]; then
KEYWORDS=""
REPO="xen-unstable.hg"
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
S="${WORKDIR}/${REPO}"
live_eclass="mercurial"
else
KEYWORDS="amd64 x86"
UPSTREAM_VER=8
SECURITY_VER=2
# xen-tools's gentoo patches tarball
GENTOO_VER=1
# xen-tools's gentoo patches version which apply to this specific ebuild
GENTOO_GPV=0
SEABIOS_VER=1.6.3.2
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
[[ -n ${SECURITY_VER} ]] && \
SECURITY_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz"
[[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
${UPSTREAM_PATCHSET_URI}
${SECURITY_PATCHSET_URI}
${GENTOO_PATCHSET_URI}"
S="${WORKDIR}/xen-${PV}"
fi
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
DESCRIPTION="Xend daemon and tools"
HOMEPAGE="http://xen.org/"
DOCS=( README docs/README.xen-bugtool )
LICENSE="GPL-2"
SLOT="0"
IUSE="api custom-cflags debug doc flask hvm qemu ocaml pygrub screen static-libs system-seabios"
REQUIRED_USE="hvm? ( qemu )
${PYTHON_REQUIRED_USE}"
DEPEND="dev-libs/lzo:2
dev-libs/glib:2
dev-libs/yajl
dev-libs/libgcrypt:0
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/pypam[${PYTHON_USEDEP}]
sys-libs/zlib
sys-power/iasl
system-seabios? ( sys-firmware/seabios )
sys-firmware/ipxe
dev-ml/findlib
hvm? ( media-libs/libsdl )
${PYTHON_DEPS}
api? ( dev-libs/libxml2
net-misc/curl )
${PYTHON_DEPS}
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
sys-devel/bin86
sys-devel/dev86
dev-lang/perl
app-misc/pax-utils
doc? (
app-doc/doxygen
dev-tex/latex2html[png,gif]
media-gfx/transfig
media-gfx/graphviz
dev-tex/xcolor
dev-texlive/texlive-latexextra
virtual/latex-base
dev-tex/latexmk
dev-texlive/texlive-latex
dev-texlive/texlive-pictures
dev-texlive/texlive-latexrecommended
)
hvm? ( x11-proto/xproto
!net-libs/libiscsi )"
RDEPEND="sys-apps/iproute2
net-misc/bridge-utils
ocaml? ( >=dev-lang/ocaml-4 )
screen? (
app-misc/screen
app-admin/logrotate
)
virtual/udev"
# hvmloader is used to bootstrap a fully virtualized kernel
# Approved by QA team in bug #144032
QA_WX_LOAD="usr/lib/xen/boot/hvmloader"
RESTRICT="test"
pkg_setup() {
python-single-r1_pkg_setup
export "CONFIG_LOMOUNT=y"
#bug 522642, disable compile tools/tests
export "CONFIG_TESTS=n"
if has_version dev-libs/libgcrypt:0; then
export "CONFIG_GCRYPT=y"
fi
if use qemu; then
export "CONFIG_IOEMU=y"
else
export "CONFIG_IOEMU=n"
fi
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64 ; then
export XEN_TARGET_ARCH="x86_64"
else
die "Unsupported architecture!"
fi
fi
use api && export "LIBXENAPI_BINDINGS=y"
use flask && export "FLASK_ENABLE=y"
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
einfo "Try to apply Xen Upstream patcheset"
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream
fi
# Security patchset
if [[ -n ${SECURITY_VER} ]]; then
einfo "Try to apply Xen Security patcheset"
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}/patches-security/${PV}"
fi
# Gentoo's patchset
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
einfo "Try to apply Gentoo specific patcheset"
source "${FILESDIR}"/gentoo-patches.conf
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
for i in ${!_gpv}; do
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches-gentoo/$i
done
fi
use system-seabios && epatch "${WORKDIR}"/patches-gentoo/${PN}-4-unbundle-seabios.patch
if gcc-specs-pie; then
epatch "${WORKDIR}"/patches-gentoo/ipxe-nopie.patch
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default cflags
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
fi
if ! use pygrub; then
sed -e '/^SUBDIRS-$(PYTHON_TOOLS) += pygrub$/d' -i tools/Makefile || die
fi
# Disable hvm support on systems that don't support x86_32 binaries.
if ! use hvm; then
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
# Bug 351648
elif ! use x86 && ! has x86 $(get_all_abis); then
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
export CPATH="${WORKDIR}"/extra-headers
fi
# Don't bother with qemu, only needed for fully virtualised guests
if ! use qemu; then
sed -e "/^CONFIG_IOEMU := y$/d" -i config/*.mk || die
sed -e "s:install-tools\: tools/ioemu-dir:install-tools\: :g" -i Makefile || die
fi
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
pushd tools/firmware/ > /dev/null
ln -s seabios-dir-remote seabios-dir || die
popd > /dev/null
# Reset bash completion dir; Bug 472438
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
-i Config.mk || die
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
# Bug 445986
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' -i tools/firmware/Makefile || die
# fix QA warning, create /var/run/, /var/lock dynamically
sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \
tools/libxl/Makefile || die
sed -i -e "/\/var\/run\//d" \
tools/xenstore/Makefile \
tools/pygrub/Makefile || die
sed -i -e "/\/var\/lock\/subsys/d" \
tools/Makefile || die
# xencommons, Bug #492332, sed lighter weight than patching
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
-i tools/hotplug/Linux/init.d/xencommons || die
epatch_user
}
src_compile() {
export VARTEXFONTS="${T}/fonts"
local myopt
use debug && myopt="${myopt} debug=y"
use custom-cflags || unset CFLAGS
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
unset LDFLAGS
unset CFLAGS
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
use doc && emake -C docs txt html
emake -C docs man-pages
}
src_install() {
# Override auto-detection in the build system, bug #382573
export INITD_DIR=/tmp/init.d
export CONFIG_LEAF_DIR=../tmp/default
# Let the build system compile installed Python modules.
local PYTHONDONTWRITEBYTECODE
export PYTHONDONTWRITEBYTECODE
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" install-tools \
XEN_PYTHON_NATIVE_INSTALL=y install-tools
# Fix the remaining Python shebangs.
python_fix_shebang "${ED}"
# Remove RedHat-specific stuff
rm -rf "${D}"tmp || die
# uncomment lines in xl.conf
sed -e 's:^#autoballoon=1:autoballoon=1:' \
-e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \
-e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \
-i tools/examples/xl.conf || die
if use doc; then
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
dohtml -r docs/
docinto pdf
dodoc ${DOCS[@]}
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
fi
rm -rf "${D}"/usr/share/doc/xen/
doman docs/man?/*
newconfd "${FILESDIR}"/xendomains.confd xendomains
newconfd "${FILESDIR}"/xenstored.confd xenstored
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
newinitd "${FILESDIR}"/xenstored.initd xenstored
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
newinitd "${FILESDIR}"/xencommons.initd xencommons
newconfd "${FILESDIR}"/xencommons.confd xencommons
if use screen; then
cat "${FILESDIR}"/xendomains-screen.confd >> "${ED}"/etc/conf.d/xendomains || die
cp "${FILESDIR}"/xen-consoles.logrotate "${ED}"/etc/xen/ || die
keepdir /var/log/xen-consoles
fi
if [[ "${ARCH}" == 'amd64' ]] && use qemu; then
mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die
mv "${D}"usr/lib/xen/bin/qemu* "${D}"usr/$(get_libdir)/xen/bin/ || die
fi
# For -static-libs wrt Bug 384355
if ! use static-libs; then
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
fi
# xend expects these to exist
keepdir /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
# for xendomains
keepdir /etc/xen/auto
# Temp QA workaround
dodir "$(get_udevdir)"
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
rm -rf "${D}"/etc/udev
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
}
pkg_postinst() {
elog "Official Xen Guide and the offical wiki page:"
elog "http://www.gentoo.org/doc/en/xen-gu"${D}"usr/ide.xml"
elog "http://wiki.xen.org/wiki/Main_Page"
elog ""
elog "Recommended to utilise the xencommons script to config sytem at boot."
elog "Add by use of rc-update on completion of the install"
# TODO: we need to have the current Python slot here.
if ! has_version "dev-lang/python[ncurses]"; then
echo
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
fi
if has_version "sys-apps/iproute2[minimal]"; then
echo
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
ewarn "will not work until you rebuild iproute2 without USE=minimal."
fi
if ! use hvm; then
echo
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
elog "support enable the hvm use flag."
elog "An x86 or amd64 system is required to build HVM support."
fi
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
echo
elog "xensv is broken upstream (Gentoo bug #142011)."
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
fi
}

@ -1,447 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.4.2-r3.ebuild,v 1.3 2015/06/03 14:31:52 ago Exp $
EAPI=5
MY_PV=${PV/_/-}
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE='xml,threads'
if [[ $PV == *9999 ]]; then
KEYWORDS=""
REPO="xen-unstable.hg"
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
S="${WORKDIR}/${REPO}"
live_eclass="mercurial"
else
KEYWORDS="amd64 ~arm x86"
UPSTREAM_VER=1
SECURITY_VER=2
# xen-tools's gentoo patches tarball
GENTOO_VER=4
# xen-tools's gentoo patches version which apply to this specific ebuild
GENTOO_GPV=1
# xen-tools ovmf's patches
OVMF_VER=0
SEABIOS_VER=1.7.3.1
OVMF_PV=20131208
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
[[ -n ${SECURITY_VER} ]] && \
SECURITY_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz"
[[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-gentoo-patches-${GENTOO_VER}.tar.xz"
[[ -n ${OVMF_VER} ]] && \
OVMF_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-ovmf-patches-${OVMF_VER}.tar.xz"
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/xen-${MY_PV}.tar.gz
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
ovmf? ( http://dev.gentoo.org/~dlan/distfiles/ovmf-${OVMF_PV}.tar.bz2
${OVMF_PATCHSET_URI} )
${UPSTREAM_PATCHSET_URI}
${SECURITY_PATCHSET_URI}
${GENTOO_PATCHSET_URI}"
S="${WORKDIR}/xen-${MY_PV}"
fi
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
DESCRIPTION="Xend daemon and tools"
HOMEPAGE="http://xen.org/"
DOCS=( README docs/README.xen-bugtool )
LICENSE="GPL-2"
SLOT="0"
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
# >=dev-lang/ocaml-4 stable
# Masked in profiles/eapi-5-files instead
IUSE="api custom-cflags debug doc flask hvm qemu ocaml ovmf +pam python pygrub screen static-libs system-qemu system-seabios"
REQUIRED_USE="hvm? ( || ( qemu system-qemu ) )
${PYTHON_REQUIRED_USE}
pygrub? ( python )
ovmf? ( hvm )
qemu? ( !system-qemu )"
COMMON_DEPEND="
dev-libs/lzo:2
dev-libs/glib:2
dev-libs/yajl
dev-libs/libaio
dev-libs/libgcrypt:0
sys-libs/zlib
"
DEPEND="${COMMON_DEPEND}
dev-python/lxml[${PYTHON_USEDEP}]
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
hvm? ( media-libs/libsdl )
${PYTHON_DEPS}
api? ( dev-libs/libxml2
net-misc/curl )
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
ovmf? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/sqlite} )
arm? ( >=sys-apps/dtc-1.4.0 )
!arm? ( sys-devel/bin86
system-seabios? ( sys-firmware/seabios )
sys-firmware/ipxe
sys-devel/dev86
sys-power/iasl )
dev-lang/perl
app-misc/pax-utils
dev-python/markdown[${PYTHON_USEDEP}]
doc? (
app-doc/doxygen
dev-tex/latex2html[png,gif]
media-gfx/graphviz
dev-tex/xcolor
media-gfx/transfig
dev-texlive/texlive-latexextra
virtual/latex-base
dev-tex/latexmk
dev-texlive/texlive-latex
dev-texlive/texlive-pictures
dev-texlive/texlive-latexrecommended
)
hvm? ( x11-proto/xproto
!net-libs/libiscsi )
qemu? ( x11-libs/pixman )
system-qemu? ( app-emulation/qemu[xen] )
ocaml? ( dev-ml/findlib
>=dev-lang/ocaml-4 )"
RDEPEND="${COMMON_DEPEND}
sys-apps/iproute2
net-misc/bridge-utils
screen? (
app-misc/screen
app-admin/logrotate
)
virtual/udev"
# hvmloader is used to bootstrap a fully virtualized kernel
# Approved by QA team in bug #144032
QA_WX_LOAD="usr/lib/xen/boot/hvmloader
usr/share/qemu-xen/qemu/s390-ccw.img"
RESTRICT="test"
pkg_setup() {
python-single-r1_pkg_setup
export "CONFIG_LOMOUNT=y"
#bug 522642, disable compile tools/tests
export "CONFIG_TESTS=n"
if has_version dev-libs/libgcrypt:0; then
export "CONFIG_GCRYPT=y"
fi
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64 ; then
export XEN_TARGET_ARCH="x86_64"
elif use arm; then
export XEN_TARGET_ARCH="arm32"
else
die "Unsupported architecture!"
fi
fi
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
einfo "Try to apply Xen Upstream patcheset"
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream
fi
# Security patchset
if [[ -n ${SECURITY_VER} ]]; then
einfo "Try to apply Xen Security patcheset"
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}/patches-security/${PV}"
fi
# move before Gentoo patch, one patch should apply to seabios, to fix gcc-4.5.x build err
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
pushd tools/firmware/ > /dev/null
ln -s seabios-dir-remote seabios-dir || die
popd > /dev/null
# Gentoo's patchset
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
einfo "Try to apply Gentoo specific patcheset"
source "${FILESDIR}"/gentoo-patches.conf
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
for i in ${!_gpv}; do
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches-gentoo/$i
done
fi
# Ovmf's patchset
if [[ -n ${OVMF_VER} ]] && use ovmf; then
einfo "Try to apply Ovmf patcheset"
pushd "${WORKDIR}"/ovmf-*/ > /dev/null
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-ovmf
popd > /dev/null
mv ../ovmf-${OVMF_PV} tools/firmware/ovmf-dir-remote || die
fi
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
# Fix texi2html build error with new texi2html, qemu.doc.html
sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
-i tools/firmware/Makefile || die
# Drop .config, fixes to gcc-4.6
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default cflags
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
fi
if ! use pygrub; then
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
fi
if ! use python; then
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
fi
if ! use hvm; then
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
# Bug 351648
elif ! use x86 && ! has x86 $(get_all_abis); then
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
export CPATH="${WORKDIR}"/extra-headers
fi
# Don't bother with qemu, only needed for fully virtualised guests
if ! use qemu; then
sed -e "s:install-tools\: tools/qemu-xen-traditional-dir:install-tools\: :g" -i Makefile || die
fi
# Reset bash completion dir; Bug 472438
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
-i Config.mk || die
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
# xencommons, Bug #492332, sed lighter weight than patching
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
-i tools/hotplug/Linux/init.d/xencommons || die
# respect multilib, usr/lib/libcacard.so.0.0.0
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
-i tools/qemu-xen/configure || die
#bug 518136, don't build 32bit exactuable for nomultilib profile
if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
fi
# Bug 477884, 518136
if [[ "${ARCH}" == 'amd64' ]]; then
sed -i -e "/LIBEXEC =/s|/lib/xen/bin|/$(get_libdir)/xen/bin|" config/StdGNU.mk || die
fi
# fix QA warning, create /var/run/, /var/lock dynamically
sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \
tools/libxl/Makefile || die
sed -i -e "/\/var\/run\//d" \
tools/xenstore/Makefile \
tools/pygrub/Makefile || die
sed -i -e "/\/var\/lock\/subsys/d" \
tools/Makefile || die
epatch_user
}
src_configure() {
local myconf="--prefix=/usr \
--libdir=/usr/$(get_libdir) \
--disable-werror \
--disable-xen \
--enable-tools \
--enable-docs \
$(use_with system-qemu) \
$(use_enable pam) \
$(use_enable api xenapi) \
$(use_enable ovmf) \
$(use_enable ocaml ocamltools) \
"
# disable qemu-traditional for arm, fail to build
use arm || myconf+=" --enable-qemu-traditional"
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
use qemu || myconf+=" --with-system-qemu"
econf ${myconf}
}
src_compile() {
export VARTEXFONTS="${T}/fonts"
local myopt
use debug && myopt="${myopt} debug=y"
use custom-cflags || unset CFLAGS
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
unset LDFLAGS
unset CFLAGS
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
use doc && emake -C docs txt html
emake -C docs man-pages
}
src_install() {
# Override auto-detection in the build system, bug #382573
export INITD_DIR=/tmp/init.d
export CONFIG_LEAF_DIR=../tmp/default
# Let the build system compile installed Python modules.
local PYTHONDONTWRITEBYTECODE
export PYTHONDONTWRITEBYTECODE
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
XEN_PYTHON_NATIVE_INSTALL=y install-tools
# Fix the remaining Python shebangs.
python_fix_shebang "${D}"
# Remove RedHat-specific stuff
rm -rf "${D}"tmp || die
# uncomment lines in xl.conf
sed -e 's:^#autoballoon=1:autoballoon=1:' \
-e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \
-e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \
-i tools/examples/xl.conf || die
if use doc; then
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
dohtml -r docs/
docinto pdf
dodoc ${DOCS[@]}
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
fi
rm -rf "${D}"/usr/share/doc/xen/
doman docs/man?/*
newconfd "${FILESDIR}"/xendomains.confd xendomains
newconfd "${FILESDIR}"/xenstored.confd xenstored
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
newinitd "${FILESDIR}"/xenstored.initd xenstored
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
newinitd "${FILESDIR}"/xencommons.initd xencommons
newconfd "${FILESDIR}"/xencommons.confd xencommons
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
if use screen; then
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
keepdir /var/log/xen-consoles
fi
# For -static-libs wrt Bug 384355
if ! use static-libs; then
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
fi
# xend expects these to exist
keepdir /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
# for xendomains
keepdir /etc/xen/auto
# Temp QA workaround
dodir "$(get_udevdir)"
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
rm -rf "${D}"/etc/udev
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
}
pkg_postinst() {
elog "Official Xen Guide and the offical wiki page:"
elog "https://wiki.gentoo.org/wiki/Xen"
elog "http://wiki.xen.org/wiki/Main_Page"
elog ""
elog "Recommended to utilise the xencommons script to config sytem At boot"
elog "Add by use of rc-update on completion of the install"
# TODO: we need to have the current Python slot here.
if ! has_version "dev-lang/python[ncurses]"; then
echo
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
fi
if has_version "sys-apps/iproute2[minimal]"; then
echo
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
ewarn "will not work until you rebuild iproute2 without USE=minimal."
fi
if ! use hvm; then
echo
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
elog "support enable the hvm use flag."
elog "An x86 or amd64 system is required to build HVM support."
fi
if use qemu; then
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
fi
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
echo
elog "xensv is broken upstream (Gentoo bug #142011)."
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
fi
}

@ -1,447 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.4.2-r4.ebuild,v 1.1 2015/06/15 08:52:11 dlan Exp $
EAPI=5
MY_PV=${PV/_/-}
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE='xml,threads'
if [[ $PV == *9999 ]]; then
KEYWORDS=""
REPO="xen-unstable.hg"
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
S="${WORKDIR}/${REPO}"
live_eclass="mercurial"
else
KEYWORDS="~amd64 ~arm ~x86"
UPSTREAM_VER=2
SECURITY_VER=3
# xen-tools's gentoo patches tarball
GENTOO_VER=4
# xen-tools's gentoo patches version which apply to this specific ebuild
GENTOO_GPV=1
# xen-tools ovmf's patches
OVMF_VER=0
SEABIOS_VER=1.7.3.1
OVMF_PV=20131208
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
[[ -n ${SECURITY_VER} ]] && \
SECURITY_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz"
[[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-gentoo-patches-${GENTOO_VER}.tar.xz"
[[ -n ${OVMF_VER} ]] && \
OVMF_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-ovmf-patches-${OVMF_VER}.tar.xz"
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/xen-${MY_PV}.tar.gz
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
ovmf? ( http://dev.gentoo.org/~dlan/distfiles/ovmf-${OVMF_PV}.tar.bz2
${OVMF_PATCHSET_URI} )
${UPSTREAM_PATCHSET_URI}
${SECURITY_PATCHSET_URI}
${GENTOO_PATCHSET_URI}"
S="${WORKDIR}/xen-${MY_PV}"
fi
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
DESCRIPTION="Xend daemon and tools"
HOMEPAGE="http://xen.org/"
DOCS=( README docs/README.xen-bugtool )
LICENSE="GPL-2"
SLOT="0"
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
# >=dev-lang/ocaml-4 stable
# Masked in profiles/eapi-5-files instead
IUSE="api custom-cflags debug doc flask hvm qemu ocaml ovmf +pam python pygrub screen static-libs system-qemu system-seabios"
REQUIRED_USE="hvm? ( || ( qemu system-qemu ) )
${PYTHON_REQUIRED_USE}
pygrub? ( python )
ovmf? ( hvm )
qemu? ( !system-qemu )"
COMMON_DEPEND="
dev-libs/lzo:2
dev-libs/glib:2
dev-libs/yajl
dev-libs/libaio
dev-libs/libgcrypt:0
sys-libs/zlib
"
DEPEND="${COMMON_DEPEND}
dev-python/lxml[${PYTHON_USEDEP}]
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
hvm? ( media-libs/libsdl )
${PYTHON_DEPS}
api? ( dev-libs/libxml2
net-misc/curl )
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
ovmf? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/sqlite} )
arm? ( >=sys-apps/dtc-1.4.0 )
!arm? ( sys-devel/bin86
system-seabios? ( sys-firmware/seabios )
sys-firmware/ipxe
sys-devel/dev86
sys-power/iasl )
dev-lang/perl
app-misc/pax-utils
dev-python/markdown[${PYTHON_USEDEP}]
doc? (
app-doc/doxygen
dev-tex/latex2html[png,gif]
media-gfx/graphviz
dev-tex/xcolor
media-gfx/transfig
dev-texlive/texlive-latexextra
virtual/latex-base
dev-tex/latexmk
dev-texlive/texlive-latex
dev-texlive/texlive-pictures
dev-texlive/texlive-latexrecommended
)
hvm? ( x11-proto/xproto
!net-libs/libiscsi )
qemu? ( x11-libs/pixman )
system-qemu? ( app-emulation/qemu[xen] )
ocaml? ( dev-ml/findlib
>=dev-lang/ocaml-4 )"
RDEPEND="${COMMON_DEPEND}
sys-apps/iproute2
net-misc/bridge-utils
screen? (
app-misc/screen
app-admin/logrotate
)
virtual/udev"
# hvmloader is used to bootstrap a fully virtualized kernel
# Approved by QA team in bug #144032
QA_WX_LOAD="usr/lib/xen/boot/hvmloader
usr/share/qemu-xen/qemu/s390-ccw.img"
RESTRICT="test"
pkg_setup() {
python-single-r1_pkg_setup
export "CONFIG_LOMOUNT=y"
#bug 522642, disable compile tools/tests
export "CONFIG_TESTS=n"
if has_version dev-libs/libgcrypt:0; then
export "CONFIG_GCRYPT=y"
fi
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64 ; then
export XEN_TARGET_ARCH="x86_64"
elif use arm; then
export XEN_TARGET_ARCH="arm32"
else
die "Unsupported architecture!"
fi
fi
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
einfo "Try to apply Xen Upstream patcheset"
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream
fi
# Security patchset
if [[ -n ${SECURITY_VER} ]]; then
einfo "Try to apply Xen Security patcheset"
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}/patches-security/${PV}"
fi
# move before Gentoo patch, one patch should apply to seabios, to fix gcc-4.5.x build err
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
pushd tools/firmware/ > /dev/null
ln -s seabios-dir-remote seabios-dir || die
popd > /dev/null
# Gentoo's patchset
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
einfo "Try to apply Gentoo specific patcheset"
source "${FILESDIR}"/gentoo-patches.conf
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
for i in ${!_gpv}; do
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches-gentoo/$i
done
fi
# Ovmf's patchset
if [[ -n ${OVMF_VER} ]] && use ovmf; then
einfo "Try to apply Ovmf patcheset"
pushd "${WORKDIR}"/ovmf-*/ > /dev/null
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-ovmf
popd > /dev/null
mv ../ovmf-${OVMF_PV} tools/firmware/ovmf-dir-remote || die
fi
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
# Fix texi2html build error with new texi2html, qemu.doc.html
sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
-i tools/firmware/Makefile || die
# Drop .config, fixes to gcc-4.6
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default cflags
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
fi
if ! use pygrub; then
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
fi
if ! use python; then
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
fi
if ! use hvm; then
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
# Bug 351648
elif ! use x86 && ! has x86 $(get_all_abis); then
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
export CPATH="${WORKDIR}"/extra-headers
fi
# Don't bother with qemu, only needed for fully virtualised guests
if ! use qemu; then
sed -e "s:install-tools\: tools/qemu-xen-traditional-dir:install-tools\: :g" -i Makefile || die
fi
# Reset bash completion dir; Bug 472438
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
-i Config.mk || die
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
# xencommons, Bug #492332, sed lighter weight than patching
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
-i tools/hotplug/Linux/init.d/xencommons || die
# respect multilib, usr/lib/libcacard.so.0.0.0
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
-i tools/qemu-xen/configure || die
#bug 518136, don't build 32bit exactuable for nomultilib profile
if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
fi
# Bug 477884, 518136
if [[ "${ARCH}" == 'amd64' ]]; then
sed -i -e "/LIBEXEC =/s|/lib/xen/bin|/$(get_libdir)/xen/bin|" config/StdGNU.mk || die
fi
# fix QA warning, create /var/run/, /var/lock dynamically
sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \
tools/libxl/Makefile || die
sed -i -e "/\/var\/run\//d" \
tools/xenstore/Makefile \
tools/pygrub/Makefile || die
sed -i -e "/\/var\/lock\/subsys/d" \
tools/Makefile || die
epatch_user
}
src_configure() {
local myconf="--prefix=/usr \
--libdir=/usr/$(get_libdir) \
--disable-werror \
--disable-xen \
--enable-tools \
--enable-docs \
$(use_with system-qemu) \
$(use_enable pam) \
$(use_enable api xenapi) \
$(use_enable ovmf) \
$(use_enable ocaml ocamltools) \
"
# disable qemu-traditional for arm, fail to build
use arm || myconf+=" --enable-qemu-traditional"
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
use qemu || myconf+=" --with-system-qemu"
econf ${myconf}
}
src_compile() {
export VARTEXFONTS="${T}/fonts"
local myopt
use debug && myopt="${myopt} debug=y"
use custom-cflags || unset CFLAGS
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
unset LDFLAGS
unset CFLAGS
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
use doc && emake -C docs txt html
emake -C docs man-pages
}
src_install() {
# Override auto-detection in the build system, bug #382573
export INITD_DIR=/tmp/init.d
export CONFIG_LEAF_DIR=../tmp/default
# Let the build system compile installed Python modules.
local PYTHONDONTWRITEBYTECODE
export PYTHONDONTWRITEBYTECODE
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
XEN_PYTHON_NATIVE_INSTALL=y install-tools
# Fix the remaining Python shebangs.
python_fix_shebang "${D}"
# Remove RedHat-specific stuff
rm -rf "${D}"tmp || die
# uncomment lines in xl.conf
sed -e 's:^#autoballoon=1:autoballoon=1:' \
-e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \
-e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \
-i tools/examples/xl.conf || die
if use doc; then
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
dohtml -r docs/
docinto pdf
dodoc ${DOCS[@]}
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
fi
rm -rf "${D}"/usr/share/doc/xen/
doman docs/man?/*
newconfd "${FILESDIR}"/xendomains.confd xendomains
newconfd "${FILESDIR}"/xenstored.confd xenstored
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
newinitd "${FILESDIR}"/xenstored.initd xenstored
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
newinitd "${FILESDIR}"/xencommons.initd xencommons
newconfd "${FILESDIR}"/xencommons.confd xencommons
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
if use screen; then
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
keepdir /var/log/xen-consoles
fi
# For -static-libs wrt Bug 384355
if ! use static-libs; then
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
fi
# xend expects these to exist
keepdir /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
# for xendomains
keepdir /etc/xen/auto
# Temp QA workaround
dodir "$(get_udevdir)"
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
rm -rf "${D}"/etc/udev
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
}
pkg_postinst() {
elog "Official Xen Guide and the offical wiki page:"
elog "https://wiki.gentoo.org/wiki/Xen"
elog "http://wiki.xen.org/wiki/Main_Page"
elog ""
elog "Recommended to utilise the xencommons script to config sytem At boot"
elog "Add by use of rc-update on completion of the install"
# TODO: we need to have the current Python slot here.
if ! has_version "dev-lang/python[ncurses]"; then
echo
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
fi
if has_version "sys-apps/iproute2[minimal]"; then
echo
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
ewarn "will not work until you rebuild iproute2 without USE=minimal."
fi
if ! use hvm; then
echo
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
elog "support enable the hvm use flag."
elog "An x86 or amd64 system is required to build HVM support."
fi
if use qemu; then
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
fi
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
echo
elog "xensv is broken upstream (Gentoo bug #142011)."
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
fi
}

@ -1,437 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.5.0-r5.ebuild,v 1.3 2015/06/09 07:22:39 ago Exp $
EAPI=5
MY_PV=${PV/_/-}
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE='xml,threads'
if [[ $PV == *9999 ]]; then
KEYWORDS=""
REPO="xen-unstable.hg"
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
S="${WORKDIR}/${REPO}"
live_eclass="mercurial"
else
KEYWORDS="amd64 ~arm ~arm64 x86"
UPSTREAM_VER=5
SECURITY_VER=2
# xen-tools's gentoo patches tarball
GENTOO_VER=4
# xen-tools's gentoo patches version which apply to this specific ebuild
GENTOO_GPV=1
# xen-tools ovmf's patches
OVMF_VER=0
SEABIOS_VER=1.7.5
OVMF_PV=20131208
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
[[ -n ${SECURITY_VER} ]] && \
SECURITY_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz"
[[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-gentoo-patches-${GENTOO_VER}.tar.xz"
[[ -n ${OVMF_VER} ]] && \
OVMF_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-ovmf-patches-${OVMF_VER}.tar.xz"
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/xen-${MY_PV}.tar.gz
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
ovmf? ( http://dev.gentoo.org/~dlan/distfiles/ovmf-${OVMF_PV}.tar.bz2
${OVMF_PATCHSET_URI} )
${UPSTREAM_PATCHSET_URI}
${SECURITY_PATCHSET_URI}
${GENTOO_PATCHSET_URI}"
S="${WORKDIR}/xen-${MY_PV}"
fi
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
DESCRIPTION="Xend daemon and tools"
HOMEPAGE="http://xen.org/"
DOCS=( README docs/README.xen-bugtool )
LICENSE="GPL-2"
SLOT="0"
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
# >=dev-lang/ocaml-4 stable
# Masked in profiles/eapi-5-files instead
IUSE="api custom-cflags debug doc flask hvm qemu ocaml ovmf +pam python pygrub screen static-libs system-qemu system-seabios"
REQUIRED_USE="hvm? ( || ( qemu system-qemu ) )
${PYTHON_REQUIRED_USE}
pygrub? ( python )
ovmf? ( hvm )
qemu? ( !system-qemu )"
COMMON_DEPEND="
dev-libs/lzo:2
dev-libs/glib:2
dev-libs/yajl
dev-libs/libaio
dev-libs/libgcrypt:0
sys-libs/zlib
"
DEPEND="${COMMON_DEPEND}
dev-python/lxml[${PYTHON_USEDEP}]
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
hvm? ( media-libs/libsdl )
${PYTHON_DEPS}
api? ( dev-libs/libxml2
net-misc/curl )
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
ovmf? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/sqlite} )
!amd64? ( >=sys-apps/dtc-1.4.0 )
amd64? ( sys-devel/bin86
system-seabios? ( sys-firmware/seabios )
sys-firmware/ipxe
sys-devel/dev86
sys-power/iasl )
dev-lang/perl
app-misc/pax-utils
dev-python/markdown[${PYTHON_USEDEP}]
doc? (
app-doc/doxygen
dev-tex/latex2html[png,gif]
media-gfx/graphviz
dev-tex/xcolor
media-gfx/transfig
dev-texlive/texlive-latexextra
virtual/latex-base
dev-tex/latexmk
dev-texlive/texlive-latex
dev-texlive/texlive-pictures
dev-texlive/texlive-latexrecommended
)
hvm? ( x11-proto/xproto
!net-libs/libiscsi )
qemu? ( x11-libs/pixman )
system-qemu? ( app-emulation/qemu[xen] )
ocaml? ( dev-ml/findlib
>=dev-lang/ocaml-4 )"
RDEPEND="${COMMON_DEPEND}
sys-apps/iproute2
net-misc/bridge-utils
screen? (
app-misc/screen
app-admin/logrotate
)
virtual/udev"
# hvmloader is used to bootstrap a fully virtualized kernel
# Approved by QA team in bug #144032
QA_WX_LOAD="usr/lib/xen/boot/hvmloader
usr/share/qemu-xen/qemu/s390-ccw.img"
RESTRICT="test"
pkg_setup() {
python-single-r1_pkg_setup
export "CONFIG_LOMOUNT=y"
#bug 522642, disable compile tools/tests
export "CONFIG_TESTS=n"
if has_version dev-libs/libgcrypt:0; then
export "CONFIG_GCRYPT=y"
fi
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64 ; then
export XEN_TARGET_ARCH="x86_64"
elif use arm; then
export XEN_TARGET_ARCH="arm32"
elif use arm64; then
export XEN_TARGET_ARCH="arm64"
else
die "Unsupported architecture!"
fi
fi
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
einfo "Try to apply Xen Upstream patcheset"
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream
fi
# Security patchset
if [[ -n ${SECURITY_VER} ]]; then
einfo "Try to apply Xen Security patcheset"
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}/patches-security/${PV}"
fi
# move before Gentoo patch, one patch should apply to seabios, to fix gcc-4.5.x build err
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
pushd tools/firmware/ > /dev/null
ln -s seabios-dir-remote seabios-dir || die
popd > /dev/null
# Gentoo's patchset
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
einfo "Try to apply Gentoo specific patcheset"
source "${FILESDIR}"/gentoo-patches.conf
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
for i in ${!_gpv}; do
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches-gentoo/$i
done
fi
# Ovmf's patchset
if [[ -n ${OVMF_VER} ]] && use ovmf; then
einfo "Try to apply Ovmf patcheset"
pushd "${WORKDIR}"/ovmf-*/ > /dev/null
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-ovmf
popd > /dev/null
mv ../ovmf-${OVMF_PV} tools/firmware/ovmf-dir-remote || die
fi
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
# Fix texi2html build error with new texi2html, qemu.doc.html
sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
-i tools/firmware/Makefile || die
# Drop .config, fixes to gcc-4.6
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default cflags
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
fi
if ! use pygrub; then
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
fi
if ! use python; then
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
fi
if ! use hvm; then
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
# Bug 351648
elif ! use x86 && ! has x86 $(get_all_abis); then
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
export CPATH="${WORKDIR}"/extra-headers
fi
# Don't bother with qemu, only needed for fully virtualised guests
if ! use qemu; then
sed -e "s:install-tools\: tools/qemu-xen-traditional-dir:install-tools\: :g" -i Makefile || die
fi
# Reset bash completion dir; Bug 472438
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
-i Config.mk || die
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
# xencommons, Bug #492332, sed lighter weight than patching
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
-i tools/hotplug/Linux/init.d/xencommons.in || die
# respect multilib, usr/lib/libcacard.so.0.0.0
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
-i tools/qemu-xen/configure || die
#bug 518136, don't build 32bit exactuable for nomultilib profile
if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
fi
# use /var instead of /var/lib, consistat with previous ebuild
sed -i -e "/XEN_LOCK_DIR=/s/\$localstatedir/\/var/g" \
m4/paths.m4 configure tools/configure || die
# use /run instead of /var/run
sed -i -e "/XEN_RUN_DIR=/s/\$localstatedir//g" \
m4/paths.m4 configure tools/configure || die
# uncomment lines in xl.conf
sed -e 's:^#autoballoon=:autoballoon=:' \
-e 's:^#lockfile=:lockfile=:' \
-e 's:^#vif.default.script=:vif.default.script=:' \
-i tools/examples/xl.conf || die
epatch_user
}
src_configure() {
local myconf="--prefix=${PREFIX}/usr \
--libdir=${PREFIX}/usr/$(get_libdir) \
--libexecdir=${PREFIX}/usr/libexec \
--disable-werror \
--disable-xen \
--enable-tools \
--enable-docs \
$(use_with system-qemu) \
$(use_enable pam) \
$(use_enable api xenapi) \
$(use_enable ovmf) \
$(use_enable ocaml ocamltools) \
"
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
use qemu || myconf+=" --with-system-qemu"
use amd64 && myconf+=" --enable-qemu-traditional"
econf ${myconf}
}
src_compile() {
export VARTEXFONTS="${T}/fonts"
local myopt
use debug && myopt="${myopt} debug=y"
use custom-cflags || unset CFLAGS
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
unset LDFLAGS
unset CFLAGS
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
use doc && emake -C docs txt html
emake -C docs man-pages
}
src_install() {
# Override auto-detection in the build system, bug #382573
export INITD_DIR=/tmp/init.d
export CONFIG_LEAF_DIR=../tmp/default
# Let the build system compile installed Python modules.
local PYTHONDONTWRITEBYTECODE
export PYTHONDONTWRITEBYTECODE
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
XEN_PYTHON_NATIVE_INSTALL=y install-tools
# Fix the remaining Python shebangs.
python_fix_shebang "${D}"
# Remove RedHat-specific stuff
rm -rf "${D}"tmp || die
if use doc; then
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
dohtml -r docs/
docinto pdf
dodoc ${DOCS[@]}
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
fi
rm -rf "${D}"/usr/share/doc/xen/
doman docs/man?/*
newconfd "${FILESDIR}"/xendomains.confd xendomains
newconfd "${FILESDIR}"/xenstored.confd xenstored
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
newinitd "${FILESDIR}"/xenstored.initd xenstored
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
newinitd "${FILESDIR}"/xencommons.initd xencommons
newconfd "${FILESDIR}"/xencommons.confd xencommons
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
if use screen; then
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
keepdir /var/log/xen-consoles
fi
# For -static-libs wrt Bug 384355
if ! use static-libs; then
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
fi
# for xendomains
keepdir /etc/xen/auto
# Temp QA workaround
dodir "$(get_udevdir)"
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
rm -rf "${D}"/etc/udev
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
}
pkg_postinst() {
elog "Official Xen Guide and the offical wiki page:"
elog "https://wiki.gentoo.org/wiki/Xen"
elog "http://wiki.xen.org/wiki/Main_Page"
elog ""
elog "Recommended to utilise the xencommons script to config sytem At boot"
elog "Add by use of rc-update on completion of the install"
# TODO: we need to have the current Python slot here.
if ! has_version "dev-lang/python[ncurses]"; then
echo
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
fi
if has_version "sys-apps/iproute2[minimal]"; then
echo
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
ewarn "will not work until you rebuild iproute2 without USE=minimal."
fi
if ! use hvm; then
echo
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
elog "support enable the hvm use flag."
elog "An x86 or amd64 system is required to build HVM support."
fi
if use qemu; then
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
fi
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
echo
elog "xensv is broken upstream (Gentoo bug #142011)."
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
fi
}

@ -1,11 +1,5 @@
DIST xen-4.2.5-upstream-patches-7.tar.xz 22492 SHA256 d672bd1be49f9312eef7229d6ab199b21423df6d99ee99732d0386d8c5239dba SHA512 c7c917b8333073646680f66a5e5395a65f40d28bd1ceefaa327a391f4bf8b3569f763754db14beff1c0c975076f9393cb61869ff9d9bfa9d7942406d411b01d1 WHIRLPOOL 8ffd11a7fe4c6113a76fc06434a778da8375b741b9ffe4371c4ceb3ea50b07fe3e545752db5f4340f243432a6fd250590b08895975111d80f791e5daa76b590d
DIST xen-4.2.5-upstream-patches-9.tar.xz 23208 SHA256 2206e9a8aeeed207abbae995c5d2baa14d5f0da4120ae44f2de733ecf7ea5af1 SHA512 8a2edaba48002449a521edf2ae078ffe1b3db4f491a85b063886a147a0be3ec7fdb819ce84c90cdae80ed34c10ab2d637506700be10052a67be6ef128fa40fb1 WHIRLPOOL 037820e0fad60d1f7ed054efa797585c992d08f1ffd533705c515ad289f8cdddc72b97f2a3d75ebd683c6bb6988d7285452b4f3cebbe9a879f701156e387ff3b
DIST xen-4.2.5.tar.gz 15671925 SHA256 3cf440866315e8085050eb0586f0447b6b47a08dbed6a72226bf5ed5d89ec567 SHA512 42c0fc241952fc55fc44480fb6752b004b54ae40e946159ec047adf229b65cbfbd810271d01b064ad8fdbddb73c640dcdcb6bc19f91e8968829889c129920dac WHIRLPOOL 762a91c0111892b33e6bd3e7f7714709b04697ad7c2b0919fef6cc9570a343a77fd5a2b82833e75dac9d12d4e41acdcf0743b0d593595910ddd326f5cd721368
DIST xen-4.4.2-upstream-patches-0.tar.xz 16468 SHA256 1a05c1555f9e868e0e9358cb94ed23afbde170c346977fe8f515dc090107fec9 SHA512 8ff91288d6852219061ca6961fd6e156b313af4e0ce8903eb08b1f4dc7312ac549843cccb5f8b6cba7172f55163de407a98925ed6254a52a29f7c275c180bec5 WHIRLPOOL 9b83edb137edcfd5b530a115afcf28e8b0a2a460291728646cb83ebca79c7280ffd4de45ac1523771b703dab0024dcc35044b40cb7249f13ef954d018b512216
DIST xen-4.4.2-upstream-patches-2.tar.xz 21064 SHA256 39ba1235c4e87b43fc979a939f7f2bab9436d517c9d22fa372c549ae7a92e35f SHA512 e3ffe41431c35382d67a874e1af919f93c47cfb8b85500b2812a64b630ff5a96dae177245c1e2c00f121bb55ff067e4356b016596c8cd6f6d49cde8816fd7e5e WHIRLPOOL 518a7490e741e0fce64329e4e78cae5ebc1d2a1facf4547977b2770de8c68fc003db7ccd1192bee3c0f1e50abec36f85f70b26b31c85f4e17006792571550c1b
DIST xen-4.4.2.tar.gz 18137195 SHA256 cd53592e86669e5e8c4d4a731b0199e8af17d8eadbb8f26dbb69f1b751259204 SHA512 7dae2a1d601d5c65c350ea9fe9870551ec53dff47b6ebe56e99285fd1112aa1cba3a2594e294b871defcf43fb7fccace9f18910e69f02dfce162d7bf453eb07b WHIRLPOOL 2dfe3de5fd800d2172ad2c95117e0646c6b2045cfcb9fa5eccc46b695f1c58aa861bf2a591f78db5baf5a89894b3fa26dc1ba63cb0d57f87be4df5c445c82a94
DIST xen-4.5.0-upstream-patches-4.tar.xz 48856 SHA256 91957fdc53a69e09deba5b307c9c9aa400793267eab2a7ad45d7fe8f69310f47 SHA512 15ae3df9cdaf76c8029a7c39fbc6a2614bf6ef5398518ee9624055a56b4b4293dcfc746f9fdbde11fdb57f5fa3a51d2d51ef30c14e0c5c37134ae9254a244c41 WHIRLPOOL 35a9a0919a466b4129d089ad6742ccf2ced91f249146c127c847a04cda413f8f7c94c89ad27f983d2d7c93a225185fd28054a422ac7879144ebbbe26b6e6103b
DIST xen-4.5.0-upstream-patches-6.tar.xz 67084 SHA256 de1d331b18c0d15a1d438e29da27e48e6fa2b34282079710ddc2c36693ac897d SHA512 7f9f128e6aaf9002065acb1985fb29e36ac3c3cdc75625bad0f0719995dc99b421ae080ab3c401c3a5fb6f3de400f15d01817760312151df5eb3724ac5e0540a WHIRLPOOL b9ae4e184e5d3f2ca7eadef8914b6c7af13761da21d5a72fdc035db8193b1984fed76a38c4d90f0df42570f91f4b15f77c095b89d4bea525984adb74ece2631e
DIST xen-4.5.0.tar.gz 18404933 SHA256 5bdb40e2b28d2eeb541bd71a9777f40cbe2ae444b987521d33f099541a006f3b SHA512 31621fbaf621ad350125d03366ecff4dec5d810b0c1242ca0e28788f7556ac1443d7ee9247e1f76dec07e148e0b4ae16d08a7c10101bb78d6529375f3e40998e WHIRLPOOL 4a77588a4aa4846cfbf9493ab20bd2f293c55a941a5639fdd166a43f284cc0cc7218969def755a1acd89e640181bdd862fff0b566cfb8e628d73deeb6369c924
DIST xen-security-patches-1.tar.xz 4228 SHA256 0a8bbc3eae72b908801b3445a4513d2fc976ec181c7f02d1a70f76026490dcfe SHA512 7a2271b4d0bd7dcdf2ebaf692157ed69c4c49b7251f7917100d5a22db780a9c7eb66e67dc52261d1d1438d290366f2a6d1cd72f56637cd5b130c22580f47b4d0 WHIRLPOOL 390c649e3ab9335518bbc492335e820f70c0d69bf75963485925b7671c936db5040a01e28f02dd67630ebd49735b2a228670f1db5817d83c578e7611e37c86f9
DIST xen-security-patches-3.tar.xz 17028 SHA256 fb6301beb9a5c2d1e5d4de8783d8670e382b1bef48ec61e73d2d9be6901d289f SHA512 787fee8f7822577c6de91c4cf4d56d0e73ce46bac5524537ff66a718b6d7eae9d362265515743e8577b2c75f2841baed9837f71467b3b7b91a3111220da5f236 WHIRLPOOL 5c136289e654776bf918fe125fbecba7dac0929b236f7ae8158026a6bd6be12bc786a5ec96cb4022c18a5e7ffde82155deb57eb9639600e4c42c9c209f4a2ed6

@ -1,167 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.2.5-r9.ebuild,v 1.3 2015/05/14 08:54:41 ago Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
if [[ $PV == *9999 ]]; then
KEYWORDS=""
REPO="xen-unstable.hg"
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
S="${WORKDIR}/${REPO}"
live_eclass="mercurial"
else
KEYWORDS="amd64 x86"
UPSTREAM_VER=7
SECURITY_VER=1
GENTOO_VER=
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
[[ -n ${SECURITY_VER} ]] && \
SECURITY_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN}-security-patches-${SECURITY_VER}.tar.xz"
[[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN}-gentoo-patches-${GENTOO_VER}.tar.xz"
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
${UPSTREAM_PATCHSET_URI}
${SECURITY_PATCHSET_URI}
${GENTOO_PATCHSET_URI}"
fi
inherit mount-boot flag-o-matic python-any-r1 toolchain-funcs eutils ${live_eclass}
DESCRIPTION="The Xen virtual machine monitor"
HOMEPAGE="http://xen.org/"
LICENSE="GPL-2"
SLOT="0"
IUSE="custom-cflags debug efi flask pae xsm"
DEPEND="${PYTHON_DEPS}
efi? ( >=sys-devel/binutils-2.22[multitarget] )
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
RDEPEND=""
PDEPEND="~app-emulation/xen-tools-${PV}"
RESTRICT="test"
# Approved by QA team in bug #144032
QA_WX_LOAD="boot/xen-syms-${PV}"
REQUIRED_USE="
flask? ( xsm )
"
pkg_setup() {
python-any-r1_pkg_setup
if [[ -z ${XEN_TARGET_ARCH} ]]; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64; then
export XEN_TARGET_ARCH="x86_64"
else
die "Unsupported architecture!"
fi
fi
if use flask ; then
export "XSM_ENABLE=y"
export "FLASK_ENABLE=y"
elif use xsm ; then
export "XSM_ENABLE=y"
fi
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream
fi
# Security patchset
if [[ -n ${SECURITY_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}/patches-security/${PV}"
fi
# Gentoo's patchset
if [[ -n ${GENTOO_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches-gentoo
fi
# Drop .config and fix gcc-4.6
epatch "${FILESDIR}"/${PN/-pvgrub/}-4-fix_dotconfig-gcc.patch
if use efi; then
epatch "${FILESDIR}"/${PN}-4.2-efi.patch
export EFI_VENDOR="gentoo"
export EFI_MOUNTPOINT="boot"
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default custom-cflags
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} \; || die "failed to re-set custom-cflags"
fi
# not strictly necessary to fix this
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
epatch_user
}
src_configure() {
use debug && myopt="${myopt} debug=y"
use pae && myopt="${myopt} pae=y"
if use custom-cflags; then
filter-flags -fPIE -fstack-protector
replace-flags -O3 -O2
else
unset CFLAGS
fi
}
src_compile() {
# Send raw LDFLAGS so that --as-needed works
emake CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
}
src_install() {
local myopt
use debug && myopt="${myopt} debug=y"
use pae && myopt="${myopt} pae=y"
# The 'make install' doesn't 'mkdir -p' the subdirs
if use efi; then
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
fi
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
}
pkg_postinst() {
elog "Official Xen Guide and the unoffical wiki page:"
elog " https://wiki.gentoo.org/wiki/Xen"
elog " http://en.gentoo-wiki.com/wiki/Xen/"
use pae && ewarn "This is a PAE build of Xen. It will *only* boot PAE kernels!"
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
}

@ -1,174 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.4.2-r2.ebuild,v 1.2 2015/05/14 08:54:05 ago Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
MY_PV=${PV/_/-}
MY_P=${PN}-${PV/_/-}
if [[ $PV == *9999 ]]; then
KEYWORDS=""
EGIT_REPO_URI="git://xenbits.xen.org/${PN}.git"
live_eclass="git-2"
else
KEYWORDS="amd64 ~arm -x86"
UPSTREAM_VER=0
SECURITY_VER=1
GENTOO_VER=
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
[[ -n ${SECURITY_VER} ]] && \
SECURITY_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN}-security-patches-${SECURITY_VER}.tar.xz"
[[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN}-gentoo-patches-${GENTOO_VER}.tar.xz"
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/${MY_P}.tar.gz
${UPSTREAM_PATCHSET_URI}
${SECURITY_PATCHSET_URI}
${GENTOO_PATCHSET_URI}"
fi
inherit mount-boot flag-o-matic python-any-r1 toolchain-funcs eutils ${live_eclass}
DESCRIPTION="The Xen virtual machine monitor"
HOMEPAGE="http://xen.org/"
LICENSE="GPL-2"
SLOT="0"
IUSE="custom-cflags debug efi flask xsm"
DEPEND="${PYTHON_DEPS}
efi? ( >=sys-devel/binutils-2.22[multitarget] )
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
RDEPEND=""
PDEPEND="~app-emulation/xen-tools-${PV}"
RESTRICT="test"
# Approved by QA team in bug #144032
QA_WX_LOAD="boot/xen-syms-${PV}"
REQUIRED_USE="flask? ( xsm )
arm? ( debug )"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
python-any-r1_pkg_setup
if [[ -z ${XEN_TARGET_ARCH} ]]; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64; then
export XEN_TARGET_ARCH="x86_64"
elif use arm; then
export XEN_TARGET_ARCH="arm32"
else
die "Unsupported architecture!"
fi
fi
if use flask ; then
export "XSM_ENABLE=y"
export "FLASK_ENABLE=y"
elif use xsm ; then
export "XSM_ENABLE=y"
fi
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream
fi
# Security patchset
if [[ -n ${SECURITY_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}/patches-security/${PV}"
fi
# Gentoo's patchset
if [[ -n ${GENTOO_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches-gentoo
fi
# Drop .config
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
if use efi; then
epatch "${FILESDIR}"/${PN}-4.4-efi.patch
export EFI_VENDOR="gentoo"
export EFI_MOUNTPOINT="boot"
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default custom-cflags
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} \; || die "failed to re-set custom-cflags"
fi
# remove -Werror for gcc-4.6's sake
find "${S}" -name 'Makefile*' -o -name '*.mk' -o -name 'common.make' | \
xargs sed -i 's/ *-Werror */ /'
# not strictly necessary to fix this
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
epatch_user
}
src_configure() {
use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
use debug && myopt="${myopt} debug=y"
if use custom-cflags; then
filter-flags -fPIE -fstack-protector
replace-flags -O3 -O2
else
unset CFLAGS
fi
}
src_compile() {
# Send raw LDFLAGS so that --as-needed works
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
}
src_install() {
local myopt
use debug && myopt="${myopt} debug=y"
# The 'make install' doesn't 'mkdir -p' the subdirs
if use efi; then
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
fi
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
}
pkg_postinst() {
elog "Official Xen Guide and the unoffical wiki page:"
elog " https://wiki.gentoo.org/wiki/Xen"
elog " http://en.gentoo-wiki.com/wiki/Xen/"
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
}

@ -1,174 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.4.2-r4.ebuild,v 1.1 2015/06/15 08:47:07 dlan Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
MY_PV=${PV/_/-}
MY_P=${PN}-${PV/_/-}
if [[ $PV == *9999 ]]; then
KEYWORDS=""
EGIT_REPO_URI="git://xenbits.xen.org/${PN}.git"
live_eclass="git-2"
else
KEYWORDS="~amd64 ~arm -x86"
UPSTREAM_VER=2
SECURITY_VER=3
GENTOO_VER=
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
[[ -n ${SECURITY_VER} ]] && \
SECURITY_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN}-security-patches-${SECURITY_VER}.tar.xz"
[[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN}-gentoo-patches-${GENTOO_VER}.tar.xz"
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/${MY_P}.tar.gz
${UPSTREAM_PATCHSET_URI}
${SECURITY_PATCHSET_URI}
${GENTOO_PATCHSET_URI}"
fi
inherit mount-boot flag-o-matic python-any-r1 toolchain-funcs eutils ${live_eclass}
DESCRIPTION="The Xen virtual machine monitor"
HOMEPAGE="http://xen.org/"
LICENSE="GPL-2"
SLOT="0"
IUSE="custom-cflags debug efi flask xsm"
DEPEND="${PYTHON_DEPS}
efi? ( >=sys-devel/binutils-2.22[multitarget] )
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
RDEPEND=""
PDEPEND="~app-emulation/xen-tools-${PV}"
RESTRICT="test"
# Approved by QA team in bug #144032
QA_WX_LOAD="boot/xen-syms-${PV}"
REQUIRED_USE="flask? ( xsm )
arm? ( debug )"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
python-any-r1_pkg_setup
if [[ -z ${XEN_TARGET_ARCH} ]]; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64; then
export XEN_TARGET_ARCH="x86_64"
elif use arm; then
export XEN_TARGET_ARCH="arm32"
else
die "Unsupported architecture!"
fi
fi
if use flask ; then
export "XSM_ENABLE=y"
export "FLASK_ENABLE=y"
elif use xsm ; then
export "XSM_ENABLE=y"
fi
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream
fi
# Security patchset
if [[ -n ${SECURITY_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}/patches-security/${PV}"
fi
# Gentoo's patchset
if [[ -n ${GENTOO_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches-gentoo
fi
# Drop .config
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
if use efi; then
epatch "${FILESDIR}"/${PN}-4.4-efi.patch
export EFI_VENDOR="gentoo"
export EFI_MOUNTPOINT="boot"
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default custom-cflags
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} \; || die "failed to re-set custom-cflags"
fi
# remove -Werror for gcc-4.6's sake
find "${S}" -name 'Makefile*' -o -name '*.mk' -o -name 'common.make' | \
xargs sed -i 's/ *-Werror */ /'
# not strictly necessary to fix this
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
epatch_user
}
src_configure() {
use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
use debug && myopt="${myopt} debug=y"
if use custom-cflags; then
filter-flags -fPIE -fstack-protector
replace-flags -O3 -O2
else
unset CFLAGS
fi
}
src_compile() {
# Send raw LDFLAGS so that --as-needed works
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
}
src_install() {
local myopt
use debug && myopt="${myopt} debug=y"
# The 'make install' doesn't 'mkdir -p' the subdirs
if use efi; then
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
fi
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
}
pkg_postinst() {
elog "Official Xen Guide and the unoffical wiki page:"
elog " https://wiki.gentoo.org/wiki/Xen"
elog " http://en.gentoo-wiki.com/wiki/Xen/"
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
}

@ -1,176 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.5.0-r6.ebuild,v 1.4 2015/06/15 08:47:07 dlan Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
MY_PV=${PV/_/-}
MY_P=${PN}-${PV/_/-}
if [[ $PV == *9999 ]]; then
KEYWORDS=""
EGIT_REPO_URI="git://xenbits.xen.org/${PN}.git"
live_eclass="git-2"
else
KEYWORDS="amd64 ~arm ~arm64 -x86"
UPSTREAM_VER=4
SECURITY_VER=1
GENTOO_VER=
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
[[ -n ${SECURITY_VER} ]] && \
SECURITY_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN}-security-patches-${SECURITY_VER}.tar.xz"
[[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN}-gentoo-patches-${GENTOO_VER}.tar.xz"
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/${MY_P}.tar.gz
${UPSTREAM_PATCHSET_URI}
${SECURITY_PATCHSET_URI}
${GENTOO_PATCHSET_URI}"
fi
inherit mount-boot flag-o-matic python-any-r1 toolchain-funcs eutils ${live_eclass}
DESCRIPTION="The Xen virtual machine monitor"
HOMEPAGE="http://xen.org/"
LICENSE="GPL-2"
SLOT="0"
IUSE="custom-cflags debug efi flask xsm"
DEPEND="${PYTHON_DEPS}
efi? ( >=sys-devel/binutils-2.22[multitarget] )
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
RDEPEND=""
PDEPEND="~app-emulation/xen-tools-${PV}"
RESTRICT="test"
# Approved by QA team in bug #144032
QA_WX_LOAD="boot/xen-syms-${PV}"
REQUIRED_USE="flask? ( xsm )
arm? ( debug )"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
python-any-r1_pkg_setup
if [[ -z ${XEN_TARGET_ARCH} ]]; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64; then
export XEN_TARGET_ARCH="x86_64"
elif use arm; then
export XEN_TARGET_ARCH="arm32"
elif use arm64; then
export XEN_TARGET_ARCH="arm64"
else
die "Unsupported architecture!"
fi
fi
if use flask ; then
export "XSM_ENABLE=y"
export "FLASK_ENABLE=y"
elif use xsm ; then
export "XSM_ENABLE=y"
fi
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream
fi
# Security patchset
if [[ -n ${SECURITY_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}/patches-security/${PV}"
fi
# Gentoo's patchset
if [[ -n ${GENTOO_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches-gentoo
fi
# Drop .config
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
if use efi; then
epatch "${FILESDIR}"/${PN}-4.5-efi.patch
export EFI_VENDOR="gentoo"
export EFI_MOUNTPOINT="boot"
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default custom-cflags
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} \; || die "failed to re-set custom-cflags"
fi
# remove -Werror for gcc-4.6's sake
find "${S}" -name 'Makefile*' -o -name '*.mk' -o -name 'common.make' | \
xargs sed -i 's/ *-Werror */ /'
# not strictly necessary to fix this
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
epatch_user
}
src_configure() {
use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
use debug && myopt="${myopt} debug=y"
if use custom-cflags; then
filter-flags -fPIE -fstack-protector
replace-flags -O3 -O2
else
unset CFLAGS
fi
}
src_compile() {
# Send raw LDFLAGS so that --as-needed works
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
}
src_install() {
local myopt
use debug && myopt="${myopt} debug=y"
# The 'make install' doesn't 'mkdir -p' the subdirs
if use efi; then
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
fi
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
}
pkg_postinst() {
elog "Official Xen Guide and the unoffical wiki page:"
elog " https://wiki.gentoo.org/wiki/Xen"
elog " http://en.gentoo-wiki.com/wiki/Xen/"
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
}

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.5.0-r8.ebuild,v 1.2 2015/06/16 07:07:46 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.5.0-r8.ebuild,v 1.3 2015/06/30 09:32:00 dlan Exp $
EAPI=5
@ -14,7 +14,7 @@ if [[ $PV == *9999 ]]; then
EGIT_REPO_URI="git://xenbits.xen.org/${PN}.git"
live_eclass="git-2"
else
KEYWORDS="amd64 ~arm ~arm64"
KEYWORDS="amd64 ~arm ~arm64 -x86"
UPSTREAM_VER=6
SECURITY_VER=3
GENTOO_VER=

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh-completions/zsh-completions-0.12.0-r1.ebuild,v 1.1 2014/11/23 19:15:14 mrueg Exp $
# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh-completions/zsh-completions-0.12.0-r2.ebuild,v 1.1 2015/06/30 18:12:51 mrueg Exp $
EAPI=5
@ -23,6 +23,8 @@ RDEPEND="app-shells/zsh"
src_prepare() {
# File collision with dev-python/pip
rm src/_pip || die
# File collision with app-emulation/docker
rm src/_docker || die
}
src_install() {

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh-completions/zsh-completions-9999.ebuild,v 1.1 2014/11/21 10:28:13 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh-completions/zsh-completions-9999.ebuild,v 1.2 2015/06/30 18:12:51 mrueg Exp $
EAPI=5

@ -0,0 +1,25 @@
--- build.xml.orig 2015-06-30 21:07:56.621000000 +0000
+++ build.xml 2015-06-30 21:10:19.060000000 +0000
@@ -99,6 +99,7 @@
<classpath>
<pathelement path="${output.generator_classes}"/>
</classpath>
+ <sysproperty key="java.io.tmpdir" value="${output.tmp}" />
</java>
</target>
@@ -339,6 +340,7 @@
<mkdir dir="${output.generated}/gnu"/>
<mkdir dir="${output.generated}/gnu/trove"/>
<mkdir dir="${output.lib}"/>
+ <mkdir dir="${output.tmp}"/>
<mkdir dir="${dist.root}"/>
</target>
@@ -442,4 +444,4 @@
<format property="fullVersion" pattern="'build time' yyMMddHHmmss"/>
</tstamp>
</target>
-</project>
\ No newline at end of file
+</project>

@ -0,0 +1,38 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/trove/trove-3.0.2-r1.ebuild,v 1.1 2015/06/30 20:34:22 monsieurp Exp $
EAPI="5"
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="GNU Trove: High performance collections for Java"
SRC_URI="mirror://sourceforge/trove4j/${P}.tar.gz"
HOMEPAGE="http://trove4j.sourceforge.net"
LICENSE="LGPL-2.1"
IUSE=""
SLOT="3"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
RDEPEND=">=virtual/jre-1.5"
DEPEND=">=virtual/jdk-1.5"
S="${WORKDIR}/${PV}"
java_prepare() {
# See bug 553652
epatch "${FILESDIR}"/${P}-java.io.tmpdir.patch
rm -v lib/*.jar
rm -fr javadocs/*
}
src_compile() {
java-pkg-2_src_compile
}
src_install() {
java-pkg_newjar output/lib/*.jar
dodoc *.txt || die
use doc && java-pkg_dojavadoc output/javadocs
use source && java-pkg_dosrc src/* output/gen_src/*
}

@ -1 +1,2 @@
DIST xalan-j_2_7_1-src.tar.gz 6284437 SHA256 fa52aa629bb882335d45d67401d270c3f21b5131aaea005ac0d4590f2ce8b043 SHA512 f02f684cc5fa178d093286ac3a98156b8f293501d5e53240a79d47a9f3ec6ac895683f80f266c1baebca371cecd547957dcf71ce31ff71d31585b65c7f6ac2dd WHIRLPOOL 1574a03116773c664a45a3f2597b19ade54ba33f373d5f872d53565611100f8732255d9701bf789c8af32339c0935ea24106dd0b2662fa642deb5ca03d243234
DIST xalan-j_2_7_2-src.tar.gz 8416261 SHA256 5c184ad2984973cc19783c7f9339c28a210cca724b25b0d706f1e310627adb98 SHA512 2f1fa105b3cb8082594e3121a245464e1b7c15464b1ead2d10e306e51ef61ded5d7fcd70c034fa46f41c4a8c14316e376cc14d8045c8aadfce80f2e4bd1b61d8 WHIRLPOOL 388545a97f230183c91896738bef3f9ae8bbf2beb24f02bece79a8e76351b8c2f16edf83fd6084896262cdfbc412a550695579c4b3b4a07d17714eb26a94fbb0

@ -0,0 +1,44 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/xalan-serializer/xalan-serializer-2.7.2.ebuild,v 1.2 2015/06/30 14:34:29 chewi Exp $
EAPI=5
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2 versionator
MY_PN="xalan-j"
MY_PV="$(replace_all_version_separators _)"
MY_P="${MY_PN}_${MY_PV}"
DESCRIPTION="DOM Level 3 serializer from Apache Xalan, shared by Xalan and Xerces"
HOMEPAGE="http://xalan.apache.org/"
SRC_URI="mirror://apache/xalan/${MY_PN}/source/${MY_P}-src.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
RDEPEND=">=virtual/jre-1.3"
DEPEND=">=virtual/jdk-1.3"
EANT_BUILD_TARGET="serializer.jar"
EANT_DOC_TARGET="serializer.javadocs"
S="${WORKDIR}/${MY_P}"
java_prepare() {
# kill all non-serializer sources to ease javadocs and dosrc
find src/org/ -type f ! -path "src/org/apache/xml/serializer/*" -delete || die
# remove bundled jars
find -name "*.jar" -delete || die
rm src/*.tar.gz || die
}
src_install() {
java-pkg_dojar build/serializer.jar
use doc && java-pkg_dojavadoc build/docs/apidocs
use source && java-pkg_dosrc src/org
}

@ -1,2 +1,4 @@
DIST xalan-j_2_7_1-bin.zip 17336979 SHA256 725620850d990f23009619471341c2beb2c97065b46321a3b08c0cebb8dffcb1 SHA512 3a29aea5b0444b33535ada7f3be3b468d22089d269689f9fd5ec4c1c80a3fcf831b5c9fb5aaa6830762309152aaf44b1b6e26efadb7d8b549d63fccfaa6240f4 WHIRLPOOL 9e37c2743cb63372db5580554b334ce39d9b7969c8118e5d44c1cf9eb46b133c7329c15514d6ee0c96152ffca39016386483d115beefcd7a4a20914109784561
DIST xalan-j_2_7_1-src.tar.gz 6284437 SHA256 fa52aa629bb882335d45d67401d270c3f21b5131aaea005ac0d4590f2ce8b043 SHA512 f02f684cc5fa178d093286ac3a98156b8f293501d5e53240a79d47a9f3ec6ac895683f80f266c1baebca371cecd547957dcf71ce31ff71d31585b65c7f6ac2dd WHIRLPOOL 1574a03116773c664a45a3f2597b19ade54ba33f373d5f872d53565611100f8732255d9701bf789c8af32339c0935ea24106dd0b2662fa642deb5ca03d243234
DIST xalan-j_2_7_2-bin.zip 17740075 SHA256 6d20d522c2a7f5ee8baa65d43934a47a4aaadd604b9020275c76030df171aae5 SHA512 ae2be0bfc5e794b159c2d16718275a6ce6e8f63d681e2d13875f233d334a37aba872206c6c1f70565698ceaf4c66261c7df6db6c524e6e8da5dafe2f17cefddf WHIRLPOOL 8a4265e305b49526eddb71e522f2b5d1a64580d44915f920bf8be29fa48fd436a518229c01339c2f34bb92f6e9076d9050809f04485ded16eafd69b8f7b93095
DIST xalan-j_2_7_2-src.tar.gz 8416261 SHA256 5c184ad2984973cc19783c7f9339c28a210cca724b25b0d706f1e310627adb98 SHA512 2f1fa105b3cb8082594e3121a245464e1b7c15464b1ead2d10e306e51ef61ded5d7fcd70c034fa46f41c4a8c14316e376cc14d8045c8aadfce80f2e4bd1b61d8 WHIRLPOOL 388545a97f230183c91896738bef3f9ae8bbf2beb24f02bece79a8e76351b8c2f16edf83fd6084896262cdfbc412a550695579c4b3b4a07d17714eb26a94fbb0

@ -0,0 +1,65 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/xalan/xalan-2.7.2.ebuild,v 1.1 2015/06/30 11:04:04 chewi Exp $
EAPI=5
# NOTE: Building the docs is much more hassle than it's worth. It
# requires com.sun.image.codec, which has long gone from JDKs, and
# Apache StyleBook, which is long dead though it is bundled here.
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2 versionator
MY_PN="${PN}-j"
MY_PV="$(replace_all_version_separators _)"
MY_P="${MY_PN}_${MY_PV}"
SRC_DIST="${MY_P}-src.tar.gz"
BIN_DIST="${MY_P}-bin.zip"
DESCRIPTION="Apache's XSLT processor for transforming XML documents into HTML, text, or other XML document types"
HOMEPAGE="http://xalan.apache.org/"
SRC_URI="mirror://apache/${PN}/${MY_PN}/source/${SRC_DIST}
doc? ( mirror://apache/${PN}/${MY_PN}/binaries/${BIN_DIST} )"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
CDEPEND="dev-java/javacup:0
dev-java/bcel:0"
RDEPEND="${CDEPEND}
>=virtual/jre-1.3
~dev-java/xalan-serializer-${PV}:${SLOT}"
DEPEND="${CDEPEND}
>=virtual/jdk-1.3
doc? ( app-arch/unzip )"
EANT_GENTOO_CLASSPATH="bcel,javacup"
EANT_BUILD_TARGET="unbundledjar"
EANT_DOC_TARGET=""
JAVA_ANT_REWRITE_CLASSPATH="true"
S="${WORKDIR}/${MY_P}"
java_prepare() {
# disable building of serializer.jar
sed -i -e 's/depends="prepare,serializer.jar"/depends="prepare"/' \
build.xml || die "sed build.xml failed"
# remove bundled jars
find -name "*.jar" -delete || die
rm src/*.tar.gz || die
}
src_install() {
java-pkg_newjar build/${PN}-unbundled.jar
java-pkg_dolauncher ${PN} --main org.apache.xalan.xslt.Process
java-pkg_register-dependency ${PN}-serializer
dodoc NOTICE.txt readme.html
use doc && java-pkg_dohtml -r docs/*
use source && java-pkg_dosrc src/org
}

@ -1,4 +1 @@
DIST ekopath-2015-05-19-installer.run 55419050 SHA256 689f35cf49738ddb2f4c0bb0a089fc3984242fdee422b6a1462e090beee5b15d SHA512 531d05bf53867ab77c99b8c6769c5c6b5be8ae76388762f2373c42c528ce9ab38c2f951e3ffa7d9ad7405ffa3976878311f4ca2a3ee6738f0bd8c0ca3a09e802 WHIRLPOOL 9167fab113de824f4cbdaba465f6abccf5a119656f60af43b9f29fdad8cfaf10ec7ba744fe52f6e707fafe67540efb987686a190ed9fad79922188c85b044b99
DIST ekopath-2015-06-05-installer.run 61589381 SHA256 014e6b161a4305ca3241b5ab328bb2b7e132dc6a4e68333aaa9eb3b494b38d17 SHA512 4a8eda3f2ceaf76d5302135c85e5662b08409152d00e86ebb117c7d6a732a9ccf9e674b81446d4c4a3c55d58a937eba14901dc6f9080baad57e2c2bc8a49e717 WHIRLPOOL 985db7a5063cae72ccec2af795a2bb48dd9d12369b409e13e5eade03bcc4be630c5f1155f4f7a2cf2f654c0864f4c075b053ff620d16d587e753aba4026aa760
DIST ekopath-5.0.1_pre20131115.run 49693707 SHA256 8db9733adb8a60626f7fce806a943743485cd4e733e284bdb557b384c519c3f2 SHA512 306664b1874801d89d9add46b13d63f4d0f26e008c71091ba25ab9cec78f559be438d8089e5df6df3ede553e2178fdc17150b9b26a7dcddfbeb3975e8b04a2d8 WHIRLPOOL 78705fadecd0990b98582394dce5494728e3a56ff8f20f43dad9da2cd6ae5e97ef435e13dae62da5e127df4ef6a5ae923b95243d2d240e5fc579eccd6abdf390
DIST ekopath-5.0.5_pre20150226.run 46800428 SHA256 aa5f5f4124338631b92ef4067539305c354a537369e07ed72e84977d5ff558c4 SHA512 d4871287fa65d65404246a3524640bf479897b5faa87452b570312a6e2231d1d8ce56f741e944d9fb500c1e787a4622d48027dff86c58f32bde0504d2c8649d4 WHIRLPOOL 9fcddafe0b06ffe85c6bf98ae35e331de70a01f93bdd0c6506be8dec2549adbb6804ac135b27a32603028af263e3d2088aaef8afaab3eff095ee0bf869d0f9b5
DIST ekopath-2015-06-29-installer.run 61567050 SHA256 b98b2b686a7a9624b81838a37b64d8bbfc450b40c7fdfd9957c8a1690a68d4a8 SHA512 e56a9436f837df8d7acd3b9789d50316002ff42b0139b9aa7025f63ad27d98c586715277f3818a10a443d28653a1afd52f69b7101b36afd40beb4594ecbd8f91 WHIRLPOOL 42fe5fc00e83990bcf7c05a76e861d86626d54249da58608d6925323a522f7f2dc5806807aa56deceacce701386163eb34d96344fda4c49bd9b71bedc029ae3b

@ -1,86 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ekopath-5.0.1_pre20131115.ebuild,v 1.4 2015/04/02 18:35:06 mr_bones_ Exp $
EAPI=5
inherit versionator multilib pax-utils
MY_PV=$(get_version_component_range 1-3)
DATE=$(get_version_component_range 4)
DATE=${DATE/pre}
DATE=${DATE:0:4}-${DATE:4:2}-${DATE:6}
DESCRIPTION="PathScale EKOPath Compiler Suite"
HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
SRC_URI="http://c591116.r16.cf2.rackcdn.com/${PN}/nightly/Linux/${PN}-${DATE}-installer.run
-> ${P}.run"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~amd64-linux"
IUSE=""
DEPEND="!!app-arch/rpm"
RDEPEND=""
RESTRICT="mirror"
S="${WORKDIR}"
QA_PREBUILT="
opt/${PN}/lib/${MY_PV}/x8664/*
opt/${PN}/bin/path*
opt/${PN}/bin/funclookup
opt/${PN}/bin/doctool
opt/${PN}/bin/subclient
opt/${PN}/bin/subserver
opt/${PN}/bin/assign"
src_unpack() {
cp "${DISTDIR}"/${A} "${S}" || die
chmod +x "${S}"/${P}.run
}
src_prepare() {
cat > 99${PN} <<-EOF
PATH=${EROOT%/}/opt/${PN}/bin
ROOTPATH=${EROOT%/}/opt/${PN}/bin
LDPATH=${EROOT%/}/opt/${PN}/lib:${EROOT%/}/opt/${PN}/lib/${MY_PV}/x8664/64
MANPATH=${EROOT%/}/opt/${PN}/docs/man
EOF
}
src_install() {
# sad stuff bug #511016
addpredict /$(get_libdir)/libpthread.so.0
addpredict /$(get_libdir)/libc.so.6
addpredict /$(get_libdir)/ld-linux-x86-64.so.2
addpredict /usr/$(get_libdir)/libpthread_nonshared.a
addpredict /usr/$(get_libdir)/libc_nonshared.a
addpredict /usr/$(get_libdir)/libdl.so
addpredict /usr/$(get_libdir)/libm.so
addpredict /usr/$(get_libdir)/crti.o
addpredict /usr/$(get_libdir)/crt1.o
addpredict /usr/$(get_libdir)/crtn.o
# EI_PAX marking is obsolete and PT_PAX breaks the binary.
# We must use XT_PAX to run the installer.
if [[ ${PAX_MARKINGS} == "XT" ]]; then
pax-mark m ${P}.run
fi
./${P}.run \
--prefix "${ED%/}/opt/${PN}" \
--mode unattended || die
# This is a temporary/partial fix to remove a RWX GNU STACK header
# from libstl.so. It still leaves libstl.a in bad shape.
# The correct fix is in the assembly atomic-cxx.S, which we don't get
# See http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
# Section 6. How to fix the stack (in practice)
scanelf -Xe "${ED}/opt/ekopath/lib/${MY_PV}/x8664/64/libstl.so"
rm -r "${ED}"/opt/${PN}/uninstall || die
doenvd 99${PN}
}

@ -1,88 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ekopath-5.0.5_pre20150226.ebuild,v 1.2 2015/04/02 18:35:06 mr_bones_ Exp $
EAPI=5
inherit versionator multilib pax-utils
MY_PV=$(get_version_component_range 1-3)
DATE=$(get_version_component_range 4)
DATE=${DATE/pre}
DATE=${DATE:0:4}-${DATE:4:2}-${DATE:6}
DESCRIPTION="PathScale EKOPath Compiler Suite"
HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
SRC_URI="http://c591116.r16.cf2.rackcdn.com/${PN}/nightly/Linux/${PN}-${DATE}-installer.run
-> ${P}.run"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="!!app-arch/rpm"
RDEPEND=""
RESTRICT="mirror"
QA_PREBUILT="
opt/${PN}/lib/${MY_PV}/x8664/*
opt/${PN}/bin/*"
S="${WORKDIR}"
src_unpack() {
cp "${DISTDIR}"/${A} "${S}" || die
chmod +x "${S}"/${P}.run
}
src_prepare() {
cat > 99${PN} <<-EOF
PATH=${EROOT%/}/opt/${PN}/bin
ROOTPATH=${EROOT%/}/opt/${PN}/bin
LDPATH=${EROOT%/}/opt/${PN}/lib:${EROOT%/}/opt/${PN}/lib/${MY_PV}/x8664/64
MANPATH=${EROOT%/}/opt/${PN}/docs/man
EOF
}
src_install() {
# sad stuff bug #511016
# local libdir
# for libdir in $(get_all_libdirs); do
# addpredict /${libdir}/libpthread.so.0
# addpredict /${libdir}/libc.so.6
# addpredict /${libdir}/ld-linux-x86-64.so.2
# addpredict /usr/${libdir}/libpthread.a
# addpredict /usr/${libdir}/libc.a
# addpredict /usr/${libdir}/libpthread_nonshared.a
# addpredict /usr/${libdir}/libc_nonshared.a
# addpredict /usr/${libdir}/libdl.a
# addpredict /usr/${libdir}/libm.a
# addpredict /usr/${libdir}/libdl.so
# addpredict /usr/${libdir}/libm.so
# addpredict /usr/${libdir}/crti.o
# addpredict /usr/${libdir}/crt1.o
# addpredict /usr/${libdir}/crtn.o
# done
# EI_PAX marking is obsolete and PT_PAX breaks the binary.
# We must use XT_PAX to run the installer.
if [[ ${PAX_MARKINGS} == "XT" ]]; then
pax-mark m ${P}.run
fi
./${P}.run \
--prefix "${ED%/}/opt/${PN}" \
--mode unattended || die
# This is a temporary/partial fix to remove a RWX GNU STACK header
# from libstl.so. It still leaves libstl.a in bad shape.
# The correct fix is in the assembly atomic-cxx.S, which we don't get
# See http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
# Section 6. How to fix the stack (in practice)
# scanelf -Xe "${ED}/opt/ekopath/lib/${MY_PV}/x8664/64/libstl.so"
rm -r "${ED}"/opt/${PN}/uninstall || die
doenvd 99${PN}
}

@ -1,64 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ekopath-6.0.373_p20150519.ebuild,v 1.1 2015/05/23 21:32:10 mgorny Exp $
EAPI=5
inherit versionator multilib pax-utils
MY_PV=$(get_version_component_range 1-3)
DATE=$(get_version_component_range 4)
DATE=${DATE#p}
DATE=${DATE:0:4}-${DATE:4:2}-${DATE:6}
INSTALLER=${PN}-${DATE}-installer.run
DESCRIPTION="PathScale EKOPath Compiler Suite"
HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
SRC_URI="http://c591116.r16.cf2.rackcdn.com/${PN}/nightly/Linux/${INSTALLER}"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="!!app-arch/rpm"
RDEPEND=""
RESTRICT="bindist mirror"
QA_PREBUILT="
opt/${PN}/lib/${MY_PV}/x8664/*
opt/${PN}/bin/*"
S="${WORKDIR}"
src_unpack() {
cp "${DISTDIR}/${INSTALLER}" "${S}/" || die
chmod +x "${S}/${INSTALLER}" || die
}
src_prepare() {
cat > 99${PN} <<-EOF
PATH=${EROOT%/}/opt/${PN}/bin
ROOTPATH=${EROOT%/}/opt/${PN}/bin
LDPATH=${EROOT%/}/opt/${PN}/lib:${EROOT%/}/opt/${PN}/lib/${MY_PV}/x8664/64
MANPATH=${EROOT%/}/opt/${PN}/docs/man
EOF
}
src_install() {
# EI_PAX marking is obsolete and PT_PAX breaks the binary.
# We must use XT_PAX to run the installer.
if [[ ${PAX_MARKINGS} == "XT" ]]; then
pax-mark m "${INSTALLER}"
fi
./"${INSTALLER}" \
--prefix "${ED%/}/opt/${PN}" \
--mode unattended || die
[[ -d ${ED%/}/opt/${PN}/lib/${MY_PV} ]] || die "Incorrect release version in PV"
rm -r "${ED}/opt/${PN}"/uninstall* || die
doenvd 99${PN}
}

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ekopath-6.0.396_p20150605.ebuild,v 1.1 2015/06/06 11:46:50 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ekopath-6.0.430_p20150629.ebuild,v 1.1 2015/06/30 14:27:39 mgorny Exp $
EAPI=5

@ -1,3 +1 @@
DIST geoip-1.6.3.tar.gz 164218 SHA256 17d39b73432a3e0792128a440760bf3eba92e17f7514d2aee7fd311843f573f4 SHA512 40ce99b8bda44720f34d42f677fcd29f4e54ebb76d8034fdf972a3a2ca04fc03ad0bb6c70c127dad5c1d61916edd17dd2343fc3038d3dfc3a683046f18115412 WHIRLPOOL 35d452a536c85bf3c7e662743eb4c0ed02f68bee5f9ec62db5d40d94a846ec8e0d8ee92058ec078d8d10b2758488f3589f68a22bec0a15c40a44a9efeaa1312d
DIST geoip-1.6.4.tar.gz 156429 SHA256 46a992e59de26ffac6a985f2622807d97c7bc5090c6ec93abb51186160163b70 SHA512 9535a6d93b7e12e8bc7e9d9af4c02f6630b023c5af7e535defd257e494a4b592d46618afa20d768833bd96ec5b344759aa83d279c15ef3e0f99bd5a1d5c2ab5d WHIRLPOOL c97ea0108a516a589a0d303fbd2e1307adb1facf373fab8e3e6406fe635fa5ce2fbd475755e62a7b4b962b50891ed9eba4ecbb83d1c58161442728d681ace7e0
DIST geoip-1.6.5.tar.gz 156441 SHA256 4a151b35e9d9db976b82645c758662a6cb778c669b2c65635d5834e4f885942e SHA512 1ed223a51d238b6bd8d247e1dcb20f6eb9e3f19d39bd262f7cbefb587ea029ed0abac540208916f3ca06bb86f9ea1e99614484fd1c32535892029e945471e702 WHIRLPOOL ca8cd55e16c9981b443fad9f788dc8f28a64dba86980740efeffaa9c4a9d5da84df8a23fb3710ef13741bb40bec0704ca80991e25d3b11fe10acd5a360c02d77

@ -1,52 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/geoip-1.6.3.ebuild,v 1.12 2015/02/28 13:33:48 ago Exp $
EAPI=5
inherit autotools eutils
DESCRIPTION="easily lookup countries by IP addresses, even when Reverse DNS entries don't exist"
HOMEPAGE="https://github.com/maxmind/geoip-api-c"
SRC_URI="
https://github.com/maxmind/${PN}-api-c/archive/v${PV}.tar.gz -> ${P}.tar.gz
"
# GPL-2 for md5.c - part of libGeoIPUpdate, MaxMind for GeoLite Country db
LICENSE="LGPL-2.1 GPL-2 MaxMind2"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
IUSE="static-libs"
RESTRICT="test"
DEPEND="net-misc/wget"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}-api-c-${PV}"
src_prepare() {
eautoreconf
}
src_configure() {
econf $(use_enable static-libs static)
sed -e "s|@PREFIX@|${ROOT}|g" "${FILESDIR}"/geoipupdate-r5.sh > geoipupdate.sh || die
}
src_install() {
default
dodoc AUTHORS ChangeLog README* TODO
prune_libtool_files
keepdir /usr/share/GeoIP
dosbin geoipupdate.sh
}
pkg_postinst() {
ewarn "WARNING: Databases are no longer installed by this ebuild."
elog "Don't forget to run 'geoipupdate.sh -f' (or geoipupdate from"
elog "net-misc/geoipupdate) to populate ${ROOT}/usr/share/GeoIP/"
elog "with geo-located IP address databases."
}

@ -1,52 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/geoip-1.6.4.ebuild,v 1.1 2015/01/13 07:31:30 jer Exp $
EAPI=5
inherit autotools eutils
DESCRIPTION="easily lookup countries by IP addresses, even when Reverse DNS entries don't exist"
HOMEPAGE="https://github.com/maxmind/geoip-api-c"
SRC_URI="
https://github.com/maxmind/${PN}-api-c/archive/v${PV}.tar.gz -> ${P}.tar.gz
"
# GPL-2 for md5.c - part of libGeoIPUpdate, MaxMind for GeoLite Country db
LICENSE="LGPL-2.1 GPL-2 MaxMind2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
IUSE="static-libs"
RESTRICT="test"
DEPEND="net-misc/wget"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}-api-c-${PV}"
src_prepare() {
eautoreconf
}
src_configure() {
econf $(use_enable static-libs static)
sed -e "s|@PREFIX@|${ROOT}|g" "${FILESDIR}"/geoipupdate-r5.sh > geoipupdate.sh || die
}
src_install() {
default
dodoc AUTHORS ChangeLog NEWS.md README*
prune_libtool_files
keepdir /usr/share/GeoIP
dosbin geoipupdate.sh
}
pkg_postinst() {
ewarn "WARNING: Databases are no longer installed by this ebuild."
elog "Don't forget to run 'geoipupdate.sh -f' (or geoipupdate from"
elog "net-misc/geoipupdate) to populate ${ROOT}/usr/share/GeoIP/"
elog "with geo-located IP address databases."
}

@ -1 +1,2 @@
DIST handystats-1.11.0.zip 141871 SHA256 e4a875495fede9401b916418efc079d42cb028d85af33bc30b21540de32f3c29 SHA512 e6d5fa200c3ca006adc9601c6f200dd7fc4dd57cff45c530990781880536aefdad7eb2fa266df24802f44b9f838ea5ddfd8a60fbeaef4e3b83002fdbd556f4ec WHIRLPOOL 76d8a83373ce3a08b01a438660af7ae128be25d3f10a44caf07f4d9929d719dc6bdf388563a5d241227ff6bd443481adc18d9876946a12d4e89fdec2ced0dc6b
DIST handystats-1.11.1.zip 142005 SHA256 34ca57a183d101b027889ecac99d93575d69f03d446c3fa9f59572d2dc014723 SHA512 cfb8cdc7e528ef6bb92ef94099081f77f2407bf85477e7bcc8ef92abc69e8e14a8f1de3d2df26f1a7f8103247a133abb47c5a2771a60b9cf589c292d43ace712 WHIRLPOOL ec76b8cd6f89f55dcc1d3e3f753378afde777ea03da75c144504e8a70cf7f11861f496c95d3de987ad381f7f6f0085fac17d2d86df2fe7bb18d04eadac81941e

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/handystats/handystats-1.11.0.ebuild,v 1.1 2015/03/11 03:46:39 patrick Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/handystats/handystats-1.11.0.ebuild,v 1.2 2015/06/30 05:45:32 patrick Exp $
EAPI=5
@ -18,4 +18,5 @@ IUSE=""
RDEPEND=""
DEPEND="${DEPEND}
dev-cpp/gtest"
dev-cpp/gtest
dev-libs/boost"

@ -0,0 +1,22 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/handystats/handystats-1.11.1.ebuild,v 1.1 2015/06/30 05:45:32 patrick Exp $
EAPI=5
RESTRICT="test"
inherit cmake-utils
DESCRIPTION="C++ library for collecting user-defined in-process runtime statistics with low overhead."
HOMEPAGE="https://github.com/shindo/handystats"
SRC_URI="https://github.com/shindo/${PN}/archive/${PV}.zip -> ${P}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=""
DEPEND="${DEPEND}
dev-cpp/gtest
dev-libs/boost"

@ -1,3 +1,4 @@
DIST libgaminggear-0.10.0.tar.bz2 101299 SHA256 d1c3728eef924e17e6d940d1c5246c54e9bb947caa3792a21ba6ce94c45306ab SHA512 5d87b09feb610798096f62bc643f09bb0305756c26c8a3e893957d94611ad9e4bce1961c31b2493e6325dbaa30e3581be8867e01ddda0547e9ef2718367b50b6 WHIRLPOOL 28c022d29b379f47aa927d5aa132de72e6c96f5ed2475b8356dcd918926c35717c11f58c0697d15a9f79ab4569060eded664a972f9473aabe3cf079d6677c0a7
DIST libgaminggear-0.5.0.tar.bz2 84866 SHA256 56d6408ff57d0aa1bb20427e7fb8e790bfa52f0fa6d578ebcfa6ebb2728c2b37 SHA512 e4371697fb797c45cc37a6937e805a78f8958bf206ff0d4e7999fbc96612516939d88bae67386661559163e0ca982b4b251ecc4f693315949acbf019b353cca1 WHIRLPOOL 144d1a370c651ec595767e9bb423ce003148fadc783279cf6e34fbc0bef804992a048fa01d533f4687ca0c6cabfee3d26410ca5581818ed73b299c091517bc14
DIST libgaminggear-0.6.0.tar.bz2 84776 SHA256 01521236bdb377cffcd6cec24fb65748f92bd6b1d0628efe40b000220f627e11 SHA512 4bfe0752f3af307cbd47f8589a7150e6643d974df696fe641a13f781692b810a753a84447bce2275cfc9b3aefb4f6c83fd436d4f7f777574360547b9a6987a1f WHIRLPOOL 6ee7e50173c9f2e8af8aa3c253d59b5bd8e1f7514c9ff2ef316c16504d2f40629542437bb8e002a978fa7b3d28cfabc527a01ef0983fbd3eaf44c548f78c065f
DIST libgaminggear-0.7.0.tar.bz2 88548 SHA256 683573b75874d3d876f2567c298d316c6fb3632bac1dbe8db4a9fe3200b7fd8d SHA512 741ba0ad6b8a2235721baefce94182ad57c9868397f4332a74b7f4d089422157440c6defb7ce91e23469a09ca9cefd45eee903c8e3b0447c54255c7139673e42 WHIRLPOOL caf698c7a80abaa64584861753205d52c631a9bcc731adad762cb70247ec816f757063177c54612d161df7a89c39aec3782d77ce4939743366f619cbf02a9f38

@ -0,0 +1,15 @@
Set install of the docs to DOCDIR
--- libgaminggear-0.10.0.orig/include/gaminggear/CMakeLists.txt 2015-06-28 12:46:22.615985840 +0100
+++ libgaminggear-0.10.0/include/gaminggear/CMakeLists.txt 2015-06-28 13:01:35.511970664 +0100
@@ -14,10 +14,10 @@ IF(WITH_DOC)
DEPENDS
${CMAKE_CURRENT_BINARY_DIR}/html/index.html
)
-
+
INSTALL(
DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
- DESTINATION share/doc/libgaminggear
+ DESTINATION ${DOCDIR}
)
ENDIF()

@ -0,0 +1,56 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgaminggear/libgaminggear-0.10.0.ebuild,v 1.1 2015/06/30 14:41:23 idella4 Exp $
EAPI=5
inherit cmake-utils gnome2-utils
DESCRIPTION="Provides functionality for gaming input devices"
HOMEPAGE="http://sourceforge.net/projects/libgaminggear/"
SRC_URI="mirror://sourceforge/libgaminggear/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="
x11-libs/gtk+:2
x11-libs/libnotify
media-libs/libcanberra
virtual/libusb:1
dev-libs/dbus-glib
"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.10.0-doc.patch
}
src_configure() {
mycmakeargs=(
-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
-DDOCDIR=share/doc/${PF}
$(cmake-utils_use_with doc DOC)
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

@ -1,3 +1,2 @@
DIST FormEncode-1.2.4.tar.gz 240034 SHA256 8270840ee832055463b3d3328f8ae4b881e1fbe84353c97af1d913df3401feb9 SHA512 493c7b40bef72de9587633a46d01feed0d711dfc8a63dc610c706c50673c3201d1eb737f29b3ce2464c5c5d228d03415ceca48472f5baffc548db2604ba4a2f9 WHIRLPOOL aefd1dd670bc54f7775c3e6b59bf032014b992494ced70a8e891de256ad9ded5c3277c35e8794153194ab539d4e46a36b99d23bbd293fd35cad6dc355e395da0
DIST FormEncode-1.2.6.zip 318441 SHA256 70fc1d2cf8022b1cc7fcebb5d87cc984dde799e587f05c0a0fe509b374221b0c SHA512 107f43fc86882dc0e3898a805b93e8d0139815390d06d5f5798e6fe7d6278bc423c8232f5a5c0752cbb92a1e8a33bd9f6818b7f462bec0fcc4e0b81254191285 WHIRLPOOL 6813f2a07f97c040a49bd100cb724e4f86e4339c18126c371ffe8182c13f8ff55a78058e8629cf44b08a570e71177f8390426b2e869d890d0b8d5fdf8182e3fa
DIST FormEncode-1.3.0.zip 347674 SHA256 e6757280244a0d04e9cef51beeeafb4124087c27b7944c7d41341d0a30f7af78 SHA512 12c7c9fa36173c209682a6e1d68a074c64c9a5bd30e4f6b6b851b55d43c350ce1f79f666a9176add65f6bde554bc5deeb82ac965005f9457c4c2b0447af0cea9 WHIRLPOOL b2fa93f0f2eb2c417da43f22f41cb27edf18346560468927fc320aa93c1f6614ec7b76860427f843e3b50017a907c110a05269d281c76f99415b76480d395645

@ -1,35 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/formencode-1.2.6-r1.ebuild,v 1.6 2015/04/08 08:05:27 mgorny Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 pypy )
inherit distutils-r1
MY_PN="FormEncode"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="HTML form validation, generation, and conversion package"
HOMEPAGE="http://formencode.org/ http://pypi.python.org/pypi/FormEncode"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip"
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="doc test"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
# https://bugs.gentoo.org/show_bug.cgi?id=473154
# test? ( dev-python/nose[${PYTHON_USEDEP}]
# dev-python/pycountry[${PYTHON_USEDEP}]
# dev-python/pydns[${PYTHON_USEDEP}] )"
RDEPEND=""
RESTRICT="test"
DOCS=( docs/{index.txt,modules.txt} )
S="${WORKDIR}/${MY_P}"
python_test() {
esetup.py test
}

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/formencode-1.3.0.ebuild,v 1.2 2015/03/11 04:28:40 idella4 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/formencode-1.3.0-r1.ebuild,v 1.1 2015/06/30 13:09:16 jlec Exp $
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
@ -26,11 +26,16 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
RDEPEND=""
RESTRICT="test"
DOCS=( docs/{index.txt,modules.txt} )
DOCS=( docs/. )
S="${WORKDIR}/${MY_P}"
DISTUTILS_IN_SOURCE_BUILD=1
python_prepare_all() {
sed -e '/package_data.*..docs/d' -i setup.py || die
distutils-r1_python_prepare_all
}
python_test() {
# https://github.com/formencode/formencode/issues/78
# 5 failures under py2.7. Although the package claims to cater to py3, the suite fails horribly

@ -1,3 +1,2 @@
DIST natsort-3.4.0.tar.gz 16113 SHA256 a58ea2410eedf587adda3f2a4ef93a820a99028b253b510c79ef5b4a11cd1dbb SHA512 5aa91f2cbdec3e97081cc7248e7d596437f5c0b53151eb59a95c161b35d331c80737f5ffe39c74a0233a0c20ffec7d244d9e70d6fb7263880270c8379c81bc44 WHIRLPOOL 792034fe0e266db6a508ddb9faf7a557a0e38aa8c3f10dec3c3debda917fe1f5c86f097199f42f83fe422fbbc6770c4d39adb1cff9a811fdd5dcad4dcec07002
DIST natsort-3.5.2.tar.gz 42534 SHA256 f8129379aeb5a99ec6fbbb57acbcabeb0b0996db6a8bea3f9feb6766650ce642 SHA512 cc9004f12e3097812045da5cf7bd7ea146875044e43bea21f0ca5afe8487d7a7c399d46c14e89366fa126b9b517e43561d08bd12cdd2a58de7a6b261b71d1eaf WHIRLPOOL 3ce656c514e62dc83c10d282eb9adfc660108d12cb656d09bb8f118ebecf653eca3a5d719f1824e76f396f09cd52f3187d08f21850b5609560be0397b451942e
DIST natsort-4.0.1.tar.gz 58968 SHA256 48fde822e66a7f08de8ecf29367f4007c625f6d6260c9ce17f41d0f0c6aac687 SHA512 4b3cd0a6756cf1b55f5a23d6e461e7a4e998870f6eb9039260977b5aa2a7ec6827276d8675da49f1eb71d33f6854e1be6abc347c638564a5e949a01446d28e3f WHIRLPOOL 63be3f76ee518b1bd1ed815b5828e42d8c7261cc75ea789e1238106ae9559df8c26d4e1d3a723490b642fcf53733a88d5efe439db1b746215fb5bb6a58190115
DIST natsort-4.0.3.tar.gz 60736 SHA256 283bfc8ce4c4d03f0a04b8d1908c747eff858d3774161074eb5b052972263b9f SHA512 abefb9226888679649fd1f4441a5016bfcbb79cf215c7be887cf1f67976ca6701f0f35424bb4ad405e9376fe3f3c38740a6f249cd233b92d7275f94e483b0b4a WHIRLPOOL afb1c78f2909128ccdb6b68c1bb2d54f400c87a1b293a06a29126db3732f9baa1bfd16d40f45097a45a3fd6be87b73973da0f3da34ff58e8967092a642128ab8

@ -1,42 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/natsort/natsort-4.0.1.ebuild,v 1.1 2015/06/27 09:57:16 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
inherit distutils-r1
DESCRIPTION="Natural sorting for Python"
HOMEPAGE="https://pypi.python.org/pypi/natsort"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/pytest[${PYTHON_USEDEP}]
dev-python/hypothesis[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
)"
python_prepare_all() {
# Skip troublesome test that require a setting of LC_ALL-C
sed -e 's:test_locale_convert_transforms_float_string_to_float_with_de_locale:_&:g' \
-i test_natsort/test_locale_help.py || die
sed -e 's:test_natsorted_with_LOCALE_and_de_setting_returns_results_sorted_by_de_language:_&:' \
-i test_natsort/test_natsort.py || die
distutils-r1_python_prepare_all
}
python_test() {
# https://github.com/SethMMorton/natsort/issues/31
# For now elect to run the testsuite with a msg reporting cause of breakage by upstream
einfo "Testsuite fails reporting no module slow_splitters"
einfo "The tarball form upstream is missing 1 folder and 4 files"
py.test || die "Tests failed under ${EPYTHON}"
}

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/natsort/natsort-3.5.2.ebuild,v 1.1 2015/01/31 09:37:34 yngwin Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/natsort/natsort-4.0.3.ebuild,v 1.1 2015/06/30 07:37:33 idella4 Exp $
EAPI=5
@ -14,11 +14,15 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~x86"
KEYWORDS="~amd64 ~x86"
IUSE="test"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
test? ( dev-python/pytest[${PYTHON_USEDEP}]
dev-python/hypothesis[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
)"
python_test() {
py.test || die "Tests failed under ${EPYTHON}"

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pykerberos/pykerberos-1.1.5.ebuild,v 1.6 2015/06/30 02:19:37 idella4 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/pykerberos/pykerberos-1.1.5.ebuild,v 1.7 2015/06/30 05:26:10 patrick Exp $
EAPI=5
@ -18,5 +18,5 @@ KEYWORDS="amd64 ~hppa x86"
IUSE=""
DEPEND="app-crypt/mit-krb5
dev-python/setuptools[${PYTHON_USEDEP}]"
dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"

@ -1,6 +1,7 @@
DIST python-keystoneclient-1.0.0.tar.gz 314308 SHA256 6d960d2196efc7a181519a77f757a27ceeeac71f41f624318ae7f1088d2e6db4 SHA512 331d1f634c06f142628c6c641e49a75ca721eb6a37e11827b12db293eeef3e39e9565b38db27d9e39464ef80f5a6d1da2b4e0365dc2eba2b22f63abe0b2992fc WHIRLPOOL abd1173e4caf31ffdef01e7a5f13869dcea4d8c053805ec995b675a46350f2c2a8d5c6d692127a048690b018c3785dc005d6c752df86277dc04873a4daa19525
DIST python-keystoneclient-1.1.1.tar.gz 324552 SHA256 60fe8347f2a30a2e22f7a8cba9aed5c6f4a2ee78955d0a1cfdcd529a12ff9a05 SHA512 0dd4f346b2a9a434213f7d0cf971b2d156b25b66c8fa1b5213861158cc928c30f9328753f4ea63ee2f46a331db7281bbc98d0cc6d06fdb0204e5e2bb0a9d384d WHIRLPOOL 2a778d5debfd59bac5e0a0992473dac695765b8aec6d687087cc173b43a691a60424a8a054a2e9ca292898ac40dc9a1c55bfd15b76043e98762e4aa07e46c338
DIST python-keystoneclient-1.3.1.tar.gz 338187 SHA256 8a421dbdf01251119164bf6baa0ef78b261e5dd4d3508748e47b77d7652e7e92 SHA512 d11825b717d0aeec67d4dfb0382173ee834fe3dea2097b8ff9505b86bb08a5579d6fe87509d65022d4436a3a1b4d20f2a877ece3160b53979999495b77df0f08 WHIRLPOOL 9aa0af722f56eb4d98d7efb8a35b1db95207970fba0b32496a9ae4593a16471f976efe1e9bb3690106ec0f5a76b5a744e9177cc7c03d9ffe9ed54111e3bb138c
DIST python-keystoneclient-1.3.2.tar.gz 342434 SHA256 1b2fd5ceeefd8d75ee749acd2c3dd8805c833c89828075b814392069cd5ae1eb SHA512 4cd986c42256fbc366b81c07ab637fe81358dde530a8e9a5b3f59f4deef5d56fb1799fc82d35a3f04d3e3b810c94bfc21235e93a77c925d235322aeaa20e420c WHIRLPOOL 65b776c928126f92108c1585658a10b89e6563ff8e71f8f249fdb86e11b29811de12b17ddddb39845d66ff9533ae44d93148bd811d1e31577092c3b598348c03
DIST python-keystoneclient-1.4.0.tar.gz 347743 SHA256 f525fc2431dc3eb863490d4d026d4dfb24e3b5a57496557cb6b5e7ebe9a7f9b0 SHA512 0a044235b5c9da2c9854e5e612ce1ae1c859119f661c226d8da53879b52d3e484d481a57e5daa6b1cf3e4f65ac1d47a4c24d720fe450b791f5752a44906d53d5 WHIRLPOOL bdc7c07fbc625c15baf12278d00c75ee40b3d240e62833d818fa9085a960d75d62a681b5e8965d5c968b0d1ed4bb21eddb29c141cf7100f2af86cae9d2e9834e
DIST python-keystoneclient-1.5.0.tar.gz 344611 SHA256 7e2da00b5f65b60a84b5891b8070a5e3ff12f76da8e6be23cc4d97287325cff7 SHA512 26bdda147549b3ca9c46aff20451c5b9ad7eea6b39eea8f5cf4b682c2f62eebfba64cfa82569993979299c7af20e0fa9652db5fbd51969dc97fe744cb1d0452d WHIRLPOOL 2fa31b1c05cb7c9dfa01302878edb470c36ebd6c65cd6bc9deeb8f87228e8125c1fa3a395df22d68d51fb411ca37deb5b35dac1df4b828ba867d3c52c53e45a2
DIST python-keystoneclient-1.6.0.tar.gz 346719 SHA256 45ac3b13b8b63ab62cb3fbfcaf46a2241d8053dfe17961db911c45c1f23d06ff SHA512 72447f53afb1b32285077865511cc5a5fa472d27d04b88570eee5cae9a8ed689e7ebe65ab5576ce170b89bb3be3cf9cfa4e8cc79d5337659f93479a37ec09659 WHIRLPOOL 8dff45331be9267f2a1935008c5b2d5391ff2698060619ab0b1dc3036d21d8dae1cf226b750e83314512e0626d569149d85dea68781c7a9e39663f1bd7b34e18

@ -0,0 +1,101 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-keystoneclient/python-keystoneclient-1.3.2.ebuild,v 1.1 2015/06/30 18:34:52 prometheanfire Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
inherit distutils-r1
DESCRIPTION="Client Library for OpenStack Identity"
HOMEPAGE="http://www.openstack.org/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~amd64-linux ~x86 ~x86-linux"
IUSE="doc examples test"
# Note: blacklist version not in portage:
#doc? ( !~dev-python/sphinx-1.3_preb1[${PYTHON_USEDEP}] )
TCDEPEND="
>=dev-python/lxml-2.3[${PYTHON_USEDEP}]
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
>=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
>=dev-python/requests-mock-0.5.1[${PYTHON_USEDEP}]
>=dev-python/tempest-lib-0.4.0[${PYTHON_USEDEP}]
<dev-python/tempest-lib-0.5.0[${PYTHON_USEDEP}]
>=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/pbr-0.8[${PYTHON_USEDEP}]
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
test? (
${TCDEPEND}
>=dev-python/hacking-0.10.0[${PYTHON_USEDEP}]
<dev-python/hacking-0.11[${PYTHON_USEDEP}]
>=dev-python/keyring-2.1[${PYTHON_USEDEP}]
!~dev-python/keyring-3.3[${PYTHON_USEDEP}]
>=dev-python/oauthlib-0.6[${PYTHON_USEDEP}]
>=dev-python/oslotest-1.5.1[${PYTHON_USEDEP}]
<dev-python/oslotest-1.6.0[${PYTHON_USEDEP}]
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
>=dev-python/requests-mock-0.6.0[${PYTHON_USEDEP}]
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
>=dev-python/testtools-0.9.36[${PYTHON_USEDEP}]
!~dev-python/testtools-1.2.0[${PYTHON_USEDEP}]
)
doc? (
${TCDEPEND}
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
<dev-python/oslo-sphinx-2.6.0[${PYTHON_USEDEP}]
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
)
"
RDEPEND="
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
>=dev-python/netaddr-0.7.12[${PYTHON_USEDEP}]
>=dev-python/oslo-config-1.9.3[${PYTHON_USEDEP}]
<dev-python/oslo-config-1.10.0[${PYTHON_USEDEP}]
>=dev-python/oslo-i18n-1.5.0[${PYTHON_USEDEP}]
<dev-python/oslo-i18n-1.6.0[${PYTHON_USEDEP}]
>=dev-python/oslo-serialization-1.4.0[${PYTHON_USEDEP}]
<dev-python/oslo-serialization-1.5.0[${PYTHON_USEDEP}]
>=dev-python/oslo-utils-1.4.0[${PYTHON_USEDEP}]
<dev-python/oslo-utils-1.5.0[${PYTHON_USEDEP}]
>=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]
>=dev-python/requests-2.2.0[${PYTHON_USEDEP}]
!~dev-python/requests-2.4.0[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
>=dev-python/stevedore-1.3.0[${PYTHON_USEDEP}]
<dev-python/stevedore-1.4.0[${PYTHON_USEDEP}]
"
PATCHES=(
)
python_prepare_all() {
use doc && esetup.py build_sphinx
distutils-r1_python_prepare_all
}
python_test() {
rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
testr init || die "testr init failed under ${EPYTHON}"
testr run || die "testr run failed under ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( doc/build/html/. )
use examples && local EXAMPLES=( examples/. )
distutils-r1_python_install_all
}

@ -1,3 +1 @@
DIST SQLObject-2.0.0.tar.gz 885752 SHA256 07246e9888736a0486e44d8254bf83f5d11a4588aa7fddbd1340eaa94f0561ff SHA512 3a439c1ebf6b30fd1589fca1d45e0e4aafcf279d80a96f56ec4a9ca759fcaca95ac3a828027a3c84938cf50c4b5a1c3560ba680086af7df85af20694bb74e1ee WHIRLPOOL aad14cf9a7c1c422816fc99e2b954d8bed49a1c4ac7d9a3d1b1a2692f5704e555a5bfeefdeaecabf18f520d6aee597484f1380c500bdabd8a3ffeb35de4d72df
DIST SQLObject-2.1.0.tar.gz 886819 SHA256 7c3b996592a0ed88359ec11fd6668e46874ae030b5903d7b2364d48f2758c4cc SHA512 9129abda2310620819f07de9b32a94be172fa371d5f20e550f3dd5ba777554e3d562101c8014e4332d427a7df22f1ffef55c0cc1a889bda7f7196e9bacf436b5 WHIRLPOOL 2b98838d96ee0ba1189b96456689782612fb4ca0d6de6a752316081b5d15a8f3c3356c1152852bd2560e45f3ef19d3b21e608b535042c4d5b92a37852f7cd0cd
DIST SQLObject-2.1.1.tar.gz 888532 SHA256 35675d9c6c5a373b68c1e597a51c2723e1a8471911f89b7ec9ab3cc380064874 SHA512 9f51452afb728b3eaa0b113aca7086af6cd858d3b6e84c557af56a086d9a04c7e061f1b45179d0c74ef6a175e593376e1ea3ce561a337d71df6eea0f7bd09fee WHIRLPOOL 0526d02b1815281724b1c5ad1fadf16a5dc3e765bb6c9e6b59db83e95a1f3bfa20134acad459e19583694739a38b3dece3bdc328ad7f57f09c95094759143a50

@ -1,37 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlobject/sqlobject-2.0.0.ebuild,v 1.1 2015/01/02 23:00:16 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="sqlite?"
inherit distutils-r1
MY_PN="SQLObject"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Object-Relational Manager, aka database wrapper"
HOMEPAGE="http://sqlobject.org/ http://pypi.python.org/pypi/SQLObject"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc mysql postgres sqlite"
RDEPEND=">=dev-python/formencode-1.1.1[${PYTHON_USEDEP}]
mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
postgres? ( dev-python/psycopg[${PYTHON_USEDEP}] )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
S="${WORKDIR}/${MY_P}"
python_install_all() {
if use doc; then
HTML_DOCS=( docs/html/. )
insinto /usr/share/doc/${PF}
doins -r docs/europython
fi
distutils-r1_python_install_all
}

@ -1,37 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlobject/sqlobject-2.1.0.ebuild,v 1.1 2015/02/28 08:21:38 patrick Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="sqlite?"
inherit distutils-r1
MY_PN="SQLObject"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Object-Relational Manager, aka database wrapper"
HOMEPAGE="http://sqlobject.org/ http://pypi.python.org/pypi/SQLObject"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc mysql postgres sqlite"
RDEPEND=">=dev-python/formencode-1.1.1[${PYTHON_USEDEP}]
mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
postgres? ( dev-python/psycopg[${PYTHON_USEDEP}] )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
S="${WORKDIR}/${MY_P}"
python_install_all() {
if use doc; then
HTML_DOCS=( docs/html/. )
insinto /usr/share/doc/${PF}
doins -r docs/europython
fi
distutils-r1_python_install_all
}

@ -1,10 +1,12 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlobject/sqlobject-2.1.1.ebuild,v 1.1 2015/03/26 04:46:04 idella4 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlobject/sqlobject-2.1.1-r1.ebuild,v 1.1 2015/06/30 13:02:01 jlec Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="sqlite?"
inherit distutils-r1
MY_PN="SQLObject"
@ -19,18 +21,23 @@ SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc mysql postgres sqlite"
RDEPEND=">=dev-python/formencode-1.1.1[${PYTHON_USEDEP}]
RDEPEND="
>=dev-python/formencode-1.1.1[${PYTHON_USEDEP}]
mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
postgres? ( dev-python/psycopg[${PYTHON_USEDEP}] )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
S="${WORKDIR}/${MY_P}"
python_prepare_all() {
sed -e '/..docs/d' -i setup.py || die
distutils-r1_python_prepare_all
}
python_install_all() {
if use doc; then
HTML_DOCS=( docs/html/. )
insinto /usr/share/doc/${PF}
doins -r docs/europython
DOCS=( docs/europython/. )
fi
distutils-r1_python_install_all

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-2.2.5.ebuild,v 1.3 2015/06/29 06:31:46 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-2.2.5.ebuild,v 1.5 2015/06/30 10:07:56 ago Exp $
EAPI=5
@ -14,7 +14,7 @@ LICENSE="|| ( Ruby MIT )"
SRC_URI="http://production.cf.rubygems.org/rubygems/${P}.tgz"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~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 ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SLOT="0"
IUSE="server test"

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/test-unit-3.1.2.ebuild,v 1.2 2015/06/28 07:20:31 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/test-unit-3.1.2.ebuild,v 1.3 2015/06/30 05:07:22 graaff Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
@ -16,6 +16,7 @@ inherit ruby-fakegem
# bootstrapping ruby22 won't be possible due to the yard dependency
# tree.
#USE_RUBY="${USE_RUBY/ruby22/}" ruby_add_bdepend "doc? ( dev-ruby/yard )"
ruby_add_bdepend "doc? ( dev-ruby/yard )"
DESCRIPTION="An xUnit family unit testing framework for Ruby"
HOMEPAGE="https://rubygems.org/gems/test-unit"

@ -1,2 +1,3 @@
DIST ninja-1.5.1.tar.gz 163437 SHA256 fba77b9ed4b4dd0e86c4513776938dc64bd4508dc2055b04c0c6df68bcfa397d SHA512 ab82389ee88bd68ec57e720dabb47494371990dca581cf9bb35650177164f04bf41c81ab3e5019a370eeacc7f5f49ae81d41d8b21e1b07cc8abedce37e00da61 WHIRLPOOL 3fdd76505aa39a3960c8d47fc04e7fb12f613561ecf8f29d88329c06b78a0ef47fda02226d6ebb12718676c2ea9dc6bf7352564150de8b92f1b0c189bcf21e3a
DIST ninja-1.5.3.tar.gz 168829 SHA256 7c953b5a7c26cfcd082882e3f3e2cd08fee8848ad228bb47223b18ea18777ec0 SHA512 6d8cba5838d796bf50a17ca760498309477342422d1ad971e8fd030d4dd06aa9095ce27c2a02f89504cdf3aa5a8ba5af395a2c805b5c45e266a8250985212eea WHIRLPOOL 6b6116e4bf8a2c622559cee7f2f9c48f4f896e878eacb880d9bad483eaa2f18fe9b6a11210ca396679177850b0df5377de52110c47ac22e6fd8641cbd7ccabe3
DIST ninja-1.6.0.tar.gz 174501 SHA256 b43e88fb068fe4d92a3dfd9eb4d19755dae5c33415db2e9b7b61b4659009cde7 SHA512 551a9e14b95c2d2ddad6bee0f939a45614cce86719748dc580192dd122f3671e3d95fd6a6fb3facb2d314ba100d61a004af4df77f59df119b1b95c6fe8c38875 WHIRLPOOL 74d10df3d112c6cbd524f802978f1a56d2643767d947cff33a276a29f89485576f7d6b40597f9eac1db1446ae22c7f2c73c9d1f7795132e0254fa970df37063b

@ -0,0 +1,123 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/ninja/ninja-1.6.0.ebuild,v 1.1 2015/06/30 05:18:23 phajdan.jr Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit bash-completion-r1 elisp-common python-any-r1 toolchain-funcs
SRC_URI="https://github.com/martine/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
DESCRIPTION="A small build system similar to make"
HOMEPAGE="http://github.com/martine/ninja"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="doc emacs test vim-syntax zsh-completion"
DEPEND="
${PYTHON_DEPS}
dev-util/re2c
doc? (
app-text/asciidoc
app-doc/doxygen
dev-libs/libxslt
)
test? ( dev-cpp/gtest )
"
RDEPEND="
emacs? ( virtual/emacs )
vim-syntax? (
|| (
app-editors/vim
app-editors/gvim
)
)
zsh-completion? ( app-shells/zsh )
!<net-irc/ninja-1.5.9_pre14-r1" #436804
run_for_build() {
if tc-is-cross-compiler; then
local -x AR=$(tc-getBUILD_AR)
local -x CXX=$(tc-getBUILD_CXX)
local -x CFLAGS=${BUILD_CXXFLAGS}
local -x LDFLAGS=${BUILD_LDFLAGS}
fi
"$@"
}
src_compile() {
tc-export AR CXX
# configure.py uses CFLAGS instead of CXXFLAGS
export CFLAGS=${CXXFLAGS}
run_for_build "${PYTHON}" bootstrap.py --verbose || die
if tc-is-cross-compiler; then
mv ninja ninja-build || die
"${PYTHON}" configure.py || die
./ninja-build -v ninja || die
else
ln ninja ninja-build || die
fi
if use doc; then
./ninja-build -v doxygen manual || die
fi
if use emacs; then
elisp-compile misc/ninja-mode.el || die
fi
}
src_test() {
if ! tc-is-cross-compiler; then
# Bug 485772
ulimit -n 2048
./ninja-build -v ninja_test || die
./ninja_test || die
fi
}
src_install() {
dodoc README HACKING.md
if use doc; then
dohtml -r doc/doxygen/html/*
dohtml doc/manual.html
fi
dobin ninja
newbashcomp misc/bash-completion "${PN}"
if use vim-syntax; then
insinto /usr/share/vim/vimfiles/syntax/
doins misc/"${PN}".vim
echo 'au BufNewFile,BufRead *.ninja set ft=ninja' > "${T}/${PN}.vim"
insinto /usr/share/vim/vimfiles/ftdetect
doins "${T}/${PN}.vim"
fi
if use zsh-completion; then
insinto /usr/share/zsh/site-functions
newins misc/zsh-completion _ninja
fi
if use emacs; then
cd misc || die
elisp-install ${PN} ninja-mode.el* || die
fi
}
pkg_postinst() {
use emacs && elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
}

@ -1 +1,2 @@
DIST scanmem-0.13.tar.gz 240515 SHA256 092ffe9969d4f972972d4ef31716aec6968d2acc99339346dacfcdff7ab370f5 SHA512 6222a4ddc9630be6d94a538b2efdc0fe4dd79e78bbdf3cd6e32d69f3dd2608f4f21e839162b18b04c48f2cef4b0f16a0f215a3ec7e28b58ad955a3e25e851cf7 WHIRLPOOL 1bcd4947885b6a8399956d8dacd6cdd9bf2a41ac5b78af5f6202996f0f5ebbf47e494a9bf456d8368f91dd09200f91165ba45dc6395dfbe9d5130fca4cd3acc0
DIST scanmem-0.15.2.tar.gz 243439 SHA256 37abf8f4e4992d2c0816670f0c9f2bf68f0e261e04604df67a52acdcc721dca5 SHA512 9d1211b10b30962e35821895d7dd7d5a179e64b3f539b6dd2585a3f6b0ade7cd092fe377454b2582ec66e2c7a7676f8c7f04e8aff5c9e6e449a9eb6fb0498501 WHIRLPOOL efefba182a891b792c32370d99de1e9f0d76dbfa5c3050eb96d66ecc64460a7960a861ec0ad0b41671d83c6dd1ba4a1202cea6dedd498806a7f6721a35003401

@ -0,0 +1,53 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/scanmem/scanmem-0.15.2.ebuild,v 1.1 2015/06/30 15:57:21 polynomial-c Exp $
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
inherit autotools eutils python-single-r1
DESCRIPTION="Locate and modify variables in executing processes"
HOMEPAGE="https://github.com/scanmem/scanmem"
SRC_URI="https://github.com/scanmem/scanmem/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gui"
DEPEND="sys-libs/readline:="
RDEPEND="${DEPEND}
gui? (
${PYTHON_DEPS}
dev-python/pygobject:3
sys-auth/polkit
)"
REQUIRED_USE="gui? ( ${PYTHON_REQUIRED_USE} )"
pkg_setup() {
use gui && python-single-r1_pkg_setup
}
src_prepare() {
sed -i "/CFLAGS/d" Makefile.am || die
eautoreconf
}
src_configure() {
econf \
--docdir="/usr/share/doc/${PF}" \
$(use_enable gui)
}
src_install() {
default
if use gui ; then
docinto gui
dodoc gui/{README,TODO}
python_fix_shebang "${D}"
fi
}

@ -1,4 +1,3 @@
DIST gdm-3.14.1.tar.xz 1503232 SHA256 ed83498131bcea69ce60f882783c669c24b007d2b7e1219b4bdde18f6c94deb1 SHA512 73a9490aec122b3240d2e6c0b106821c10635e55c1a5f2570771b2504007a4ca3172d1378e102bd42105514e702441d6baa6a5edfd30fc7bd5f85d2707e7d911 WHIRLPOOL 87f206199a45413979f8d198774d96dd897b4969e13acde0ff19aee189fc464f1cf0276888215b74cc9a7b1140f0161ec68191dd756bc344de76fdcc9d75771a
DIST gdm-3.14.2.tar.xz 1490544 SHA256 e20eb61496161ad95b1058dbf8aea9b7b004df4d0ea6b0fab4401397d9db5930 SHA512 c9c0785a197da3313dc1879e325d5728ebec16934fa9adbe969beb09bea76666bcadfb3d1e9e56cfc614f553a2f23d258621463c0f97123a2b632c7d696dd866 WHIRLPOOL ba13de133df37c9858d01af43d551fa535921b656d31816e7bf4a45ffe11bea0c04adcef34d861e00a9071511fd737d0aa711036d1f5ac625fa3576d7008991c
DIST gdm-3.16.1.1.tar.xz 1538676 SHA256 2d2409fdc0a53b080377730a7775bc3239f8584829ff327d3465def0b20433db SHA512 188fb1babdeb65790fb44a11f93f5606d08aafb0c2c66f9188d6408684054e88a098caa38724c4c3d58387f45bd3952c30a4d5498032481103acc11a228ff3d3 WHIRLPOOL 7c2003c895727268fe028c38581859f0fa9dea2197508cbaa606ab2becbfde1afa048cd33f2f291b323d7cbc2543b640448e84105e15d2c0610e59999ac02c4b
DIST tango-gentoo-v1.1.tar.gz 29322 SHA256 518efa4257c8e689488399db23397a89f4dcd5990ce537ef6215860ad5606eb0 SHA512 87d47ddab68361db6d99866c51705dcb3e198f8345a1096859acf2c6cca5099dd23c7fb30d124f52c4933ea38fd45fadffbbe6ecbdfa84f5b60938a4824f9045 WHIRLPOOL 9e1635a505ea48f4fe8bdb3b8b3b43cfb9cf99e3204194c51361b198886e719921cfacbc15f9f6407aa7d0c4af178e24c74b998fc370fa2329040e5be1baf153

@ -1,224 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-3.14.1-r1.ebuild,v 1.3 2015/03/15 13:22:01 pacho Exp $
EAPI="5"
GCONF_DEBUG="yes"
GNOME2_LA_PUNT="yes"
inherit autotools eutils gnome2 pam readme.gentoo systemd user
DESCRIPTION="GNOME Display Manager for managing graphical display servers and user logins"
HOMEPAGE="https://wiki.gnome.org/Projects/GDM"
SRC_URI="${SRC_URI}
branding? ( http://www.mail-archive.com/tango-artists@lists.freedesktop.org/msg00043/tango-gentoo-v1.1.tar.gz )
"
LICENSE="
GPL-2+
branding? ( CC-Sampling-Plus-1.0 )
"
SLOT="0"
IUSE="accessibility audit branding fprint +introspection ipv6 plymouth selinux smartcard +systemd tcpd test wayland xinerama"
REQUIRED_USE="wayland? ( systemd )"
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc x86"
# NOTE: x11-base/xorg-server dep is for X_SERVER_PATH etc, bug #295686
# nspr used by smartcard extension
# dconf, dbus and g-s-d are needed at install time for dconf update
# We need either systemd or >=openrc-0.12 to restart gdm properly, bug #463784
COMMON_DEPEND="
app-text/iso-codes
>=dev-libs/glib-2.36:2
>=x11-libs/gtk+-2.91.1:3
>=gnome-base/dconf-0.20
>=gnome-base/gnome-settings-daemon-3.1.4
gnome-base/gsettings-desktop-schemas
>=media-libs/fontconfig-2.5.0
>=media-libs/libcanberra-0.4[gtk3]
sys-apps/dbus
>=sys-apps/accountsservice-0.6.12
x11-apps/sessreg
x11-base/xorg-server
x11-libs/libXi
x11-libs/libXau
x11-libs/libX11
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXft
x11-libs/libXrandr
>=x11-misc/xdg-utils-1.0.2-r3
virtual/pam
systemd? ( >=sys-apps/systemd-186:0=[pam] )
!systemd? (
>=x11-base/xorg-server-1.14.3-r1
>=sys-auth/consolekit-0.4.5_p20120320-r2
!<sys-apps/openrc-0.12
)
sys-auth/pambase[systemd?]
audit? ( sys-process/audit )
introspection? ( >=dev-libs/gobject-introspection-0.9.12 )
plymouth? ( sys-boot/plymouth )
selinux? ( sys-libs/libselinux )
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
xinerama? ( x11-libs/libXinerama )
"
# XXX: These deps are from session and desktop files in data/ directory
# fprintd is used via dbus by gdm-fingerprint-extension
# gnome-session-3.6 needed to avoid freezing with orca
RDEPEND="${COMMON_DEPEND}
>=gnome-base/gnome-session-3.6
>=gnome-base/gnome-shell-3.1.90
gnome-extra/polkit-gnome:0
x11-apps/xhost
x11-themes/gnome-icon-theme-symbolic
accessibility? (
>=app-accessibility/orca-3.10
app-accessibility/caribou
gnome-extra/mousetweaks )
fprint? (
sys-auth/fprintd
sys-auth/pam_fprint )
!gnome-extra/fast-user-switch-applet
"
DEPEND="${COMMON_DEPEND}
app-text/docbook-xml-dtd:4.1.2
dev-util/gdbus-codegen
>=dev-util/intltool-0.40.0
virtual/pkgconfig
x11-proto/inputproto
x11-proto/randrproto
test? ( >=dev-libs/check-0.9.4 )
xinerama? ( x11-proto/xineramaproto )
"
DOC_CONTENTS="
To make GDM start at boot, run:\n
# systemctl enable gdm.service\n
\n
For passwordless login to unlock your keyring, you need to install
sys-auth/pambase with USE=gnome-keyring and set an empty password
on your keyring. Use app-crypt/seahorse for that.\n
\n
You may need to install app-crypt/coolkey and sys-auth/pam_pkcs11
for smartcard support
"
pkg_setup() {
enewgroup gdm
enewgroup video # Just in case it hasn't been created yet
enewuser gdm -1 -1 /var/lib/gdm gdm,video
# For compatibility with certain versions of nvidia-drivers, etc., need to
# ensure that gdm user is in the video group
if ! egetent group video | grep -q gdm; then
# FIXME XXX: is this at all portable, ldap-safe, etc.?
# XXX: egetent does not have a 1-argument form, so we can't use it to
# get the list of gdm's groups
local g=$(groups gdm)
elog "Adding user gdm to video group"
usermod -G video,${g// /,} gdm || die "Adding user gdm to video group failed"
fi
}
src_prepare() {
# make custom session work, bug #216984, upstream bug #737578
epatch "${FILESDIR}/${PN}-3.2.1.1-custom-session.patch"
# ssh-agent handling must be done at xinitrc.d, bug #220603
epatch "${FILESDIR}/${PN}-2.32.0-xinitrc-ssh-agent.patch"
# Gentoo does not have a fingerprint-auth pam stack
epatch "${FILESDIR}/${PN}-3.8.4-fingerprint-auth.patch"
# Show logo when branding is enabled
use branding && epatch "${FILESDIR}/${PN}-3.8.4-logo.patch"
eautoreconf
gnome2_src_prepare
}
src_configure() {
local myconf
# PAM is the only auth scheme supported
# even though configure lists shadow and crypt
# they don't have any corresponding code.
# --with-at-spi-registryd-directory= needs to be passed explicitly because
# of https://bugzilla.gnome.org/show_bug.cgi?id=607643#c4
# Xevie is obsolete, bug #482304
# --with-initial-vt=7 conflicts with plymouth, bug #453392
! use plymouth && myconf="${myconf} --with-initial-vt=7"
gnome2_src_configure \
--with-run-dir=/run/gdm \
--localstatedir="${EPREFIX}"/var \
--disable-static \
--with-xdmcp=yes \
--enable-authentication-scheme=pam \
--with-default-pam-config=exherbo \
--with-at-spi-registryd-directory="${EPREFIX}"/usr/libexec \
--with-consolekit-directory="${EPREFIX}"/usr/lib/ConsoleKit \
--without-xevie \
$(use_with audit libaudit) \
$(use_enable ipv6) \
$(use_with plymouth) \
$(use_with selinux) \
$(use_with systemd) \
$(use_with !systemd console-kit) \
$(use_enable systemd systemd-journal) \
$(systemd_with_unitdir) \
$(use_with tcpd tcp-wrappers) \
$(use_enable wayland wayland-support) \
$(use_with xinerama) \
ITSTOOL=$(type -P true) \
${myconf}
}
src_install() {
gnome2_src_install
if ! use accessibility ; then
rm "${ED}"/usr/share/gdm/greeter/autostart/orca-autostart.desktop || die
fi
exeinto /etc/X11/xinit/xinitrc.d
newexe "${FILESDIR}/49-keychain-r1" 49-keychain
newexe "${FILESDIR}/50-ssh-agent-r1" 50-ssh-agent
# gdm user's home directory
keepdir /var/lib/gdm
fowners gdm:gdm /var/lib/gdm
# install XDG_DATA_DIRS gdm changes
echo 'XDG_DATA_DIRS="/usr/share/gdm"' > 99xdg-gdm
doenvd 99xdg-gdm
use branding && newicon "${WORKDIR}/tango-gentoo-v1.1/scalable/gentoo.svg" gentoo-gdm.svg
readme.gentoo_create_doc
}
pkg_postinst() {
local d ret
gnome2_pkg_postinst
# bug #436456; gdm crashes if /var/lib/gdm subdirs are not owned by gdm:gdm
ret=0
ebegin "Fixing "${EROOT}"var/lib/gdm ownership"
chown gdm:gdm "${EROOT}var/lib/gdm" || ret=1
for d in "${EROOT}var/lib/gdm/"{.cache,.config,.local}; do
[[ ! -e "${d}" ]] || chown -R gdm:gdm "${d}" || ret=1
done
eend ${ret}
readme.gentoo_print_elog
}

@ -1,12 +1,12 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-3.16.1.1.ebuild,v 1.1 2015/06/09 15:26:22 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-3.16.1.1.ebuild,v 1.2 2015/06/30 18:55:26 pacho Exp $
EAPI="5"
GCONF_DEBUG="yes"
GNOME2_LA_PUNT="yes"
inherit autotools eutils gnome2 pam readme.gentoo systemd user
inherit autotools eutils gnome2 pam readme.gentoo systemd user versionator
DESCRIPTION="GNOME Display Manager for managing graphical display servers and user logins"
HOMEPAGE="https://wiki.gnome.org/Projects/GDM"
@ -21,8 +21,10 @@ LICENSE="
"
SLOT="0"
IUSE="accessibility audit branding fprint +introspection ipv6 plymouth selinux smartcard +systemd tcpd test wayland xinerama"
REQUIRED_USE="wayland? ( systemd )"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
# NOTE: x11-base/xorg-server dep is for X_SERVER_PATH etc, bug #295686
@ -31,7 +33,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
# We need either systemd or >=openrc-0.12 to restart gdm properly, bug #463784
COMMON_DEPEND="
app-text/iso-codes
>=dev-libs/glib-2.36:2
>=dev-libs/glib-2.36:2[dbus]
>=x11-libs/gtk+-2.91.1:3
>=gnome-base/dconf-0.20
>=gnome-base/gnome-settings-daemon-3.1.4
@ -61,7 +63,7 @@ COMMON_DEPEND="
sys-auth/pambase[systemd?]
audit? ( sys-process/audit )
introspection? ( >=dev-libs/gobject-introspection-0.9.12 )
introspection? ( >=dev-libs/gobject-introspection-0.9.12:= )
plymouth? ( sys-boot/plymouth )
selinux? ( sys-libs/libselinux )
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
@ -90,6 +92,7 @@ DEPEND="${COMMON_DEPEND}
app-text/docbook-xml-dtd:4.1.2
dev-util/gdbus-codegen
>=dev-util/intltool-0.40.0
dev-util/itstool
virtual/pkgconfig
x11-proto/inputproto
x11-proto/randrproto
@ -176,7 +179,6 @@ src_configure() {
$(use_with tcpd tcp-wrappers) \
$(use_enable wayland wayland-support) \
$(use_with xinerama) \
ITSTOOL=$(type -P true) \
${myconf}
}
@ -219,4 +221,9 @@ pkg_postinst() {
eend ${ret}
readme.gentoo_print_elog
if ! version_is_at_least 3.16.0 ${REPLACING_VERSIONS}; then
ewarn "GDM will now use a new TTY per logged user as explained at:"
ewarn "https://wiki.gentoo.org/wiki/Project:GNOME/GNOME3-Troubleshooting#GDM_.3E.3D_3.16_opens_one_graphical_session_per_user"
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.16.2.ebuild,v 1.3 2015/06/19 17:20:31 pacho Exp $
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.16.2.ebuild,v 1.4 2015/06/30 19:15:14 pacho Exp $
EAPI="5"
GCONF_DEBUG="no"
@ -191,17 +191,6 @@ pkg_postinst() {
ewarn "drivers."
fi
if has_version "media-libs/mesa[video_cards_radeon]" ||
has_version "media-libs/mesa[video_cards_r300]" ||
has_version "media-libs/mesa[video_cards_r600]"; then
elog "GNOME Shell is unstable under classic-mode r300/r600 mesa drivers."
elog "Make sure that gallium architecture for r300 and r600 drivers is"
elog "selected using 'eselect mesa'."
if ! has_version "media-libs/mesa[gallium]"; then
ewarn "You will need to emerge media-libs/mesa with USE=gallium."
fi
fi
if ! has_version "media-libs/mesa[llvm]"; then
elog "llvmpipe is used as fallback when no 3D acceleration"
elog "is available. You will need to enable llvm USE for"

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/cinnamon-2.6.8.ebuild,v 1.2 2015/06/20 02:32:11 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/cinnamon-2.6.8.ebuild,v 1.3 2015/06/30 19:15:53 pacho Exp $
EAPI="5"
GCONF_DEBUG="no"
@ -253,15 +253,4 @@ pkg_postinst() {
ewarn "x11-drivers/ati-drivers-11.*; you may want to switch to"
ewarn "open-source drivers."
fi
if has_version "media-libs/mesa[video_cards_radeon]" ||
has_version "media-libs/mesa[video_cards_r300]" ||
has_version "media-libs/mesa[video_cards_r600]"; then
elog "Cinnamon is unstable under classic-mode r300/r600 mesa drivers."
elog "Make sure that gallium architecture for r300 and r600 drivers is"
elog "selected using 'eselect mesa'."
if ! has_version "media-libs/mesa[gallium]"; then
ewarn "You will need to emerge media-libs/mesa with USE=gallium."
fi
fi
}

@ -0,0 +1,11 @@
--- krusader/Panel/panelfunc.cpp
+++ krusader/Panel/panelfunc.cpp
@@ -100,7 +100,7 @@
{
public:
virtual State validate(QString &input, int &pos) const {
- return input.isEmpty() ? Invalid : Acceptable;
+ return input.isEmpty() ? Intermediate : Acceptable;
}
};

@ -0,0 +1,35 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/krusader/krusader-2.4.0_beta3-r2.ebuild,v 1.1 2015/06/30 18:25:05 johu Exp $
EAPI=5
KDE_HANDBOOK="optional"
KDE_LINGUAS="bg bs ca ca@valencia cs da de el en_GB eo es et fi fr ga
gl hr hu it ja ko lt mai nb nds nl pa pl pt pt_BR ro ru sk sl sr
sr@ijekavian sr@ijekavianlatin sr@latin sv tr ug uk zh_CN zh_TW"
inherit kde4-base
MY_P="${P/_/-}"
DESCRIPTION="An advanced twin-panel (commander-style) file-manager for KDE with many extras"
HOMEPAGE="http://www.krusader.org/"
SRC_URI="mirror://sourceforge/krusader/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="4"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="+bookmarks debug"
RDEPEND="
$(add_kdeapps_dep libkonq)
sys-libs/zlib
bookmarks? ( $(add_kdeapps_dep keditbookmarks) )
"
DEPEND="${RDEPEND}
sys-devel/gettext
"
PATCHES=( "${FILESDIR}/${P}-new-folder.patch" )
S="${WORKDIR}/${MY_P}"

@ -1 +1,2 @@
DIST baloo-5.9.1.tar.xz 144028 SHA256 f6d03957c502d56590014c2c62f4874803d11ecc0ac605776b2b0647e8b0a973 SHA512 6c48522217e4b1a16418904142ae78a77b00aa2b87c5fd4b07990477a8b8af593347e707e3da646dffb05780a755e438b3a62c6481fcf52efabcea1f79983d91 WHIRLPOOL c8394d23b66384f9ffbdb16bd7c591ce381f337d8f9affcb2768e6abc1eb1323634ddd67f7a68185ba3bf6573fb8c1b3c4360097f5149c0acf238887d49083b0
DIST baloo-5.9.2.tar.xz 144124 SHA256 1ca97763c136d3b7762cdc04f6e76fb9d314ba38db8ad48778647590626e19e6 SHA512 fad46714ba03349f6b12599fff2b304aab957d183601b252c0a44423b7cd626d552511ee4432190e09b10437af023152fd6538523bfcd570d0f126ce02d10e11 WHIRLPOOL 24ed3281faafd5a890293359667769cebd61f56c87dc400ee07249719d26deaef842676170787c40c73e26a65a03f72ba5ba27465b8023758a68af2eb879f5bc

@ -0,0 +1,44 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-plasma/baloo/baloo-5.9.2.ebuild,v 1.1 2015/06/30 20:50:13 johu Exp $
EAPI=5
KDE_PUNT_BOGUS_DEPS="true"
inherit kde5
# version scheme fail by upstream
if [[ ${KDE_BUILD_TYPE} = release ]]; then
PLASMA_VERSION=5.3.2
SRC_URI="mirror://kde/stable/plasma/${PLASMA_VERSION}/${PN}-${PV}.tar.xz"
fi
DESCRIPTION="Framework for searching and managing metadata"
KEYWORDS=" ~amd64"
IUSE=""
DEPEND="
$(add_frameworks_dep kauth)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kcrash)
$(add_frameworks_dep kdbusaddons)
$(add_frameworks_dep kdelibs4support)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kidletime)
$(add_frameworks_dep kio)
$(add_frameworks_dep solid)
$(add_plasma_dep kfilemetadata)
=dev-libs/xapian-1.2*[chert]
dev-qt/qtdbus:5
dev-qt/qtdeclarative:5
dev-qt/qtgui:5
dev-qt/qtsql:5
dev-qt/qtwidgets:5
sys-apps/attr
!<kde-base/nepomuk-4.12.50
"
RDEPEND="${DEPEND}
!kde-base/baloo:4[-minimal(-)]
!kde-base/baloo:5
"

@ -1 +1,2 @@
DIST bluedevil-5.3.1.tar.xz 123440 SHA256 f4e2a536ebd4a9f1978a8984f2676404b8c6acb3ea88b2d4dfa2c2ec62bc1014 SHA512 1302cd8bd0ebc300974d7e68f5c599c766ad8f141d419c723815e8de3328eb3a5ed03d9c801274fa8d0b77dad8942987e8740c273e49fa51a23384a007110055 WHIRLPOOL 4f36c23b03bcfe05036d6e660f440051400098f0cf36872c6113ef10e71c47db212b55e093db31f657eab80e159739b4ac51c654032a7a6c17bfde9325419ced
DIST bluedevil-5.3.2.tar.xz 124584 SHA256 c8721922777f8de95880ebe1935bf2e69315e91ddb2f2b4ac32a5e92af23b55d SHA512 caf996d72068f59b1bd87d40d6e9a56f6be0f4311d916536121dfcfaa6de5b9891717bbb90c60a196e9036e2cac63dbde4b989fca61de67b320e503fba555c80 WHIRLPOOL 230f9215ddfea8081795cc0d589a7c7aefc16fcca754d11cd33c71f4b665eef681439fca86c42bcd7aa1c379668e34d9289341bc963115babdc42792247840cb

@ -0,0 +1,54 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-plasma/bluedevil/bluedevil-5.3.2.ebuild,v 1.1 2015/06/30 20:50:14 johu Exp $
EAPI=5
inherit fdo-mime kde5
DESCRIPTION="Bluetooth stack for KDE"
HOMEPAGE="http://projects.kde.org/projects/extragear/base/bluedevil"
KEYWORDS="~amd64"
IUSE=""
COMMON_DEPEND="
$(add_frameworks_dep bluez-qt)
$(add_frameworks_dep kcompletion)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kded)
$(add_frameworks_dep kdbusaddons)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kiconthemes)
$(add_frameworks_dep kio)
$(add_frameworks_dep knotifications)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep plasma)
dev-qt/qtdbus:5
dev-qt/qtdeclarative:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
"
DEPEND="${COMMON_DEPEND}
x11-misc/shared-mime-info
"
RDEPEND="${COMMON_DEPEND}
$(add_plasma_dep kde-cli-tools)
!app-mobilephone/obexd
!app-mobilephone/obex-data-server
!net-wireless/bluedevil
!net-wireless/kbluetooth
"
PATCHES=("${FILESDIR}"/${PN}-5.3.1-frameworks-fix.patch)
pkg_postinst() {
kde5_pkg_postinst
fdo-mime_mime_database_update
}
pkg_postrm() {
kde5_pkg_postinst
fdo-mime_mime_database_update
}

@ -1 +1,2 @@
DIST breeze-5.3.1.tar.xz 29051588 SHA256 25673c9ffad176d749ad04b60daa64943c5cf8f383118dabd10cfc36dedb076a SHA512 6064c752b5a7c2637eeef119f3d72267a85e6790ebeff17c3a5c05e0d858c02aee3b0f1befd21b9bc8e837eea72e12ffc361372b021114c497503e0da73eb42c WHIRLPOOL 7511c8afccbf6d261d3422dcc53f48373be267680eab353cf1228aa53e10bcf1ff3b429cdd1253255e28e0218b4d13797f08ff72fc775e52b3c05fa97d358bf6
DIST breeze-5.3.2.tar.xz 29060332 SHA256 3e12fcd285c92466405efa053c27ed6266ba40e65c746349672d9b4f172bdc66 SHA512 21aa0d043b39cbcf89b806f80c337e73f3a3bdc7ffe0adf4adc7014dfe1a327bf70bd90f61558e278abef4f9fca6c8891a512a73fd7f9766f3ba77adcd7d563b WHIRLPOOL 788ead359b9a26d06524a8692773ab69a3d22f8bb4ba66c2ed1e917f50e8d43e21a6d71f3eb9bd8da6e616d4f9325bbf0a6eea5269aa6e7befa341463474a6ac

@ -0,0 +1,64 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-plasma/breeze/breeze-5.3.2.ebuild,v 1.1 2015/06/30 20:50:14 johu Exp $
EAPI=5
inherit kde5 multibuild
DESCRIPTION="Breeze visual style for the Plasma desktop"
HOMEPAGE="https://projects.kde.org/projects/kde/workspace/breeze"
KEYWORDS="~amd64"
IUSE="qt4"
DEPEND="
$(add_frameworks_dep frameworkintegration)
$(add_frameworks_dep kcmutils)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kguiaddons)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kwindowsystem)
$(add_plasma_dep kdecoration)
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
x11-libs/libxcb
qt4? (
kde-base/kdelibs:4
x11-libs/libX11
)
"
RDEPEND="${DEPEND}
$(add_plasma_dep kde-cli-tools)
!kde-base/breeze
"
pkg_setup() {
kde5_pkg_setup
MULTIBUILD_VARIANTS=( kf5 $(usev qt4) )
}
src_configure() {
myconfigure() {
local mycmakeargs=()
if [[ ${MULTIBUILD_VARIANT} = qt4 ]] ; then
mycmakeargs+=( -DUSE_KDE4=true )
fi
kde5_src_configure
}
multibuild_foreach_variant myconfigure
}
src_compile() {
multibuild_foreach_variant kde5_src_compile
}
src_install() {
multibuild_foreach_variant kde5_src_install
}

@ -1 +1,2 @@
DIST kde-cli-tools-5.3.1.tar.xz 483872 SHA256 812d79a40d54620056e320a2ae39d564eec860a4aa1c15c9759b314ca21f9374 SHA512 a5586e92be5fb6cab75a7fd0c730348849a4d7eb48e08c378be6d4f429dfccf7dadf5c030b1528d93e011d1889e6cb504f16a773cceea9f15769f46e22d35ed2 WHIRLPOOL c67c6998744309156dc4a9a666033cacbcff7deba8ceae467d424dda667d45536ea4d52592f0a60da9e8437c36a48e2aa3eedf115b126c1184bc7671dbb86584
DIST kde-cli-tools-5.3.2.tar.xz 484504 SHA256 7dacbe8d90c5d2a966de80c42eb3370f08e9090d125732d9f70571e7603683a9 SHA512 c4e23b8bc2241e2c840705785b5e05f1ac9823ecd18a0fba4832962dda7bb01662effca7756c0e0be97b40965bebbed5089511c9ffa076199c0751473b4645f5 WHIRLPOOL 9fad35ef91080d54b4f78807204dc8af639ddb7d321fd1ffa0b314173e88cbcc0811703fc1e0076a6561ed5e9299966ab0a5353be1b093733f50b1983251f3e3

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-plasma/kde-cli-tools/kde-cli-tools-5.3.1.ebuild,v 1.1 2015/05/31 22:06:17 johu Exp $
# $Header: /var/cvsroot/gentoo-x86/kde-plasma/kde-cli-tools/kde-cli-tools-5.3.1.ebuild,v 1.2 2015/06/30 18:40:18 johu Exp $
EAPI=5
@ -38,7 +38,7 @@ DEPEND="
)
"
RDEPEND="${DEPEND}
handbook? ( !kde-base/kdesu[handbook] )
handbook? ( !kde-apps/kdesu[handbook] )
!kde-base/kde-cli-tools
"

@ -0,0 +1,54 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-plasma/kde-cli-tools/kde-cli-tools-5.3.2.ebuild,v 1.1 2015/06/30 20:50:13 johu Exp $
EAPI=5
KDE_HANDBOOK="true"
KDE_TEST="true"
VIRTUALX_REQUIRED="test"
inherit kde5
DESCRIPTION="Tools based on KDE Frameworks 5 to better interact with the system"
HOMEPAGE="https://projects.kde.org/projects/kde/workspace/kde-cli-tools"
KEYWORDS="~amd64"
IUSE="X"
DEPEND="
$(add_frameworks_dep kcmutils)
$(add_frameworks_dep kcompletion)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kdelibs4support)
$(add_frameworks_dep kdesu)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kiconthemes)
$(add_frameworks_dep kio)
$(add_frameworks_dep kservice)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kwindowsystem)
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
X? (
dev-qt/qtx11extras:5
x11-libs/libX11
)
"
RDEPEND="${DEPEND}
handbook? ( !kde-apps/kdesu[handbook] )
!kde-base/kde-cli-tools
"
# requires running kde environment
RESTRICT="test"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package X Qt5X11Extras)
)
kde5_src_configure
}

@ -1 +1,2 @@
DIST kde-gtk-config-5.3.1.tar.xz 143584 SHA256 b42c8905f0d417b3ac363c18f2c677375774a1d97236a8a58fcbe537599b3ebb SHA512 36731f85345d0e426aeee9d1acceb53005f77cb1be3b14d4d8fdc434800c77bcd0a1644d3c341da90d56439e01e4744898cf0e2a9facde34569b17770c5c187b WHIRLPOOL d960f52b502b7095e3eaf531754046ec070766116f92298ee3f055f4bc6493cec78cb91405531485890f7b6cdf625a700e243045d712fdf577c937f5b8b5236f
DIST kde-gtk-config-5.3.2.tar.xz 143520 SHA256 55bc964dda26620bfe64731435f72a87dedd530d486d7c0dd856aeadd1f68467 SHA512 007ffe8f6ba7675eb827a82dd2cb7e501d6833fb83e636ed120d2c32248c3a7fdc35807e6dcd5adc7476506814e2c02e6cbb6e7d7123c1158780be39504e7236 WHIRLPOOL cfd3dcc652b1bc07bcbe8d090b73e7c266d03e6d2707debea02b0223b9858081b6a053503df440f05355d3cb32478aaa617db555b21ff3601fc1282ced765ba2

@ -0,0 +1,52 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-plasma/kde-gtk-config/kde-gtk-config-5.3.2.ebuild,v 1.1 2015/06/30 20:50:14 johu Exp $
EAPI=5
KDE_PUNT_BOGUS_DEPS="true"
inherit kde5
DESCRIPTION="KDE systemsettings kcm to set GTK application look&feel"
HOMEPAGE="http://projects.kde.org/kde-gtk-config"
LICENSE="GPL-3"
KEYWORDS="~amd64"
DEPEND="
$(add_frameworks_dep karchive)
$(add_frameworks_dep kcmutils)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kiconthemes)
$(add_frameworks_dep kio)
$(add_frameworks_dep knewstuff)
$(add_frameworks_dep kwidgetsaddons)
dev-libs/glib:2
dev-qt/qtgui:5
dev-qt/qtwidgets:5
x11-libs/gtk+:2
x11-libs/gtk+:3
"
RDEPEND="${DEPEND}
$(add_plasma_dep kde-cli-tools)
!kde-base/kde-gtk-config
!kde-misc/kde-gtk-config
"
src_configure() {
local mycmakeargs=(
-DDATA_INSTALL_DIR="${EPREFIX}/usr/share"
)
kde5_src_configure
}
pkg_postinst() {
kde5_pkg_postinst
einfo
elog "If you notice missing icons in your GTK applications, you may have to install"
elog "the corresponding themes for GTK. A good guess would be x11-themes/oxygen-gtk"
elog "for example."
einfo
}

@ -1 +1,2 @@
DIST kdecoration-5.3.1.tar.xz 33496 SHA256 56c33a824fc2f5b0e871569843c77867ec94818db29e09755009cbbc63f91da7 SHA512 44b5006e283f991d373386687d0ab150544482e7a8e25a9a51b3f3c122718b64fce88e57d54dc581ccb5ff2d6ce5d4da9475d4a1c83d91aa42f3c5e2c85ffe8d WHIRLPOOL a1a666137c005aa19ddab999e4cf7584ddc45339010cc9fd74f09f92afb8f9f7784dc62b9e7f3b71fec947fce33c2899adae7bf4f0ea14fd6eff75adf685a513
DIST kdecoration-5.3.2.tar.xz 33540 SHA256 fb3099994c907cbc863a92d7d5c9b3fb1723dedacc211fb91c2d138da4b351a4 SHA512 4b68d5b608c3b01f45a61cc3be6db6c855b71021a531332eab2eae8d1c279e2de32a92d9b6b7de957fa5ddf8166116a0e42b722229fcaa7aff05fc24ed6911fe WHIRLPOOL 6fe640b6527f28617e16ade81b3e94c635cbcd1e166a81445989babf520709ecddff259688813f6c197ba2a2521db0f35c48afb617853bfa5d661db31d05e28e

@ -0,0 +1,15 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-plasma/kdecoration/kdecoration-5.3.2.ebuild,v 1.1 2015/06/30 20:50:13 johu Exp $
EAPI=5
KDE_PUNT_BOGUS_DEPS="true"
inherit kde5
DESCRIPTION="Plugin based library to create window decorations"
KEYWORDS="~amd64"
IUSE=""
DEPEND="dev-qt/qtgui:5"
RDEPEND="${DEPEND}"

@ -1 +1,2 @@
DIST kdeplasma-addons-5.3.1.tar.xz 2061676 SHA256 db720b84a6ef72cf89cbf134ab37dcf73a55700b9de6a0b0a7ea61894019d3d7 SHA512 2fdbe7b73bc39d79771c262cb602e85fa45055a51a78533bc1c2dbdbbd0277c24a0c9a5c13aac2f350295d66f115917959fa2ae11d17ac82a7d1e0dbac156359 WHIRLPOOL e28d6e23d36db6669ca08538114721c77462ddcfd3117e100766d63d3fedc3d828913accf0484af646f7011ef26e1d2e01ab316f2f7f7fe9fec80de777fb4093
DIST kdeplasma-addons-5.3.2.tar.xz 2065372 SHA256 c46e0c6962a6fe055d160c177cf2843c50515c5bc60d7f460e2447adcd386322 SHA512 5dc03d5e258e5844ef9c85f23e451c1315c3ededa97543344e233a87956132f467a91fc92577ce2528e0e94f9ba80135cdb6b483a087b91469ebdd337a29631e WHIRLPOOL dfcadec857ea437c955ccc6c35a67730c21aa2add42fbdfd1389b8fff2b1d7eb507bfc9d780a4dbec3a08cf530357b7713fc088f8aeeff73409fedbcc577d595

@ -0,0 +1,60 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.3.2.ebuild,v 1.1 2015/06/30 20:50:13 johu Exp $
EAPI=5
inherit kde5
DESCRIPTION="Extra Plasma applets and engines"
LICENSE="GPL-2 LGPL-2"
KEYWORDS="~amd64"
IUSE="ibus scim"
DEPEND="
$(add_frameworks_dep karchive)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcmutils)
$(add_frameworks_dep kcompletion)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kdelibs4support)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kio)
$(add_frameworks_dep knewstuff)
$(add_frameworks_dep knotifications)
$(add_frameworks_dep kpackage)
$(add_frameworks_dep kross)
$(add_frameworks_dep krunner)
$(add_frameworks_dep kservice)
$(add_frameworks_dep kunitconversion)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kwindowsystem)
$(add_frameworks_dep kxmlgui)
$(add_frameworks_dep plasma)
$(add_frameworks_dep sonnet)
dev-qt/qtdbus:5
dev-qt/qtdeclarative:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
ibus? (
app-i18n/ibus
dev-libs/glib:2
x11-libs/libxcb
x11-libs/xcb-util-keysyms
)
scim? ( app-i18n/scim )
"
RDEPEND="${DEPEND}
!kde-base/kdeplasma-addons
"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package ibus IBus)
$(cmake-utils_use_find_package scim)
)
kde5_src_configure
}

@ -1 +1,2 @@
DIST kfilemetadata-5.9.1.tar.xz 120212 SHA256 1a229cf7db0fc2ec865203910755626c707a3f63625c3bdb4790b0b8f873ee09 SHA512 d58b9dede1cfcbd1a28111f86d450b24a9a733fe52ff4086c18d690b07a2938d9914437e382349eb68ba269004c2ba89a511efdae428c2c5a0dafa2a1a2317ea WHIRLPOOL dab1766160014c6e1eab06c8681ed084ceacd961728f4080e02bc1b229b28346cf672e9d6d4c9cae8dd815a0896c235525dc84a58cd17c277f0b35ecaa702f98
DIST kfilemetadata-5.9.2.tar.xz 120600 SHA256 0959a19591180216472c9c7845d180d2b16501b266c6ca10e438c745ca2e151c SHA512 f7c31b576c4473d7cb8a1edaf535682226eb1da3e84a44cee806b1b5abb1fc39f02930747debc64d92891335c53b5d49dd8f99e9d9516295eadda3a25a74efac WHIRLPOOL 80993f093721697cce37527ec7aa9ae72e686872f2ec18204347794d51ba62d2c7d45aeecf2d59c4b37a16e53d331bb0ca1430db10dc7fd6cef5577309263377

@ -0,0 +1,48 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-plasma/kfilemetadata/kfilemetadata-5.9.2.ebuild,v 1.1 2015/06/30 20:50:14 johu Exp $
EAPI=5
KDE_TEST="true"
inherit kde5
# version scheme fail by upstream
if [[ ${KDE_BUILD_TYPE} = release ]]; then
PLASMA_VERSION=5.3.2
SRC_URI="mirror://kde/stable/plasma/${PLASMA_VERSION}/${PN}-${PV}.tar.xz"
fi
DESCRIPTION="Library for extracting file metadata"
KEYWORDS=" ~amd64"
IUSE="epub exif ffmpeg libav pdf taglib"
# TODO: mobi? ( $(add_plasma_dep kdegraphics-mobipocket) ) NOTE: not integrated upstream
DEPEND="
$(add_frameworks_dep karchive)
$(add_frameworks_dep ki18n)
dev-qt/qtxml:5
epub? ( app-text/ebook-tools )
exif? ( media-gfx/exiv2:= )
ffmpeg? (
libav? ( media-video/libav:= )
!libav? ( media-video/ffmpeg:0= )
)
pdf? ( app-text/poppler[qt5] )
taglib? ( media-libs/taglib )
"
RDEPEND="${DEPEND}
!kde-base/kfilemetadata:5
"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package epub EPub)
$(cmake-utils_use_find_package exif Exiv2)
$(cmake-utils_use_find_package ffmpeg FFmpeg)
$(cmake-utils_use_find_package pdf PopplerQt5)
$(cmake-utils_use_find_package taglib Taglib)
)
kde5_src_configure
}

@ -1 +1,2 @@
DIST khelpcenter-5.3.1.tar.xz 1730144 SHA256 c2fd45fa386d3d10a91045eaf017fda974a3762f7bfcb9a7ab2666c347193336 SHA512 51925910b90dbb65416d34a5518bdcdd9607a23f671af7b94e62e57d42d0a31b2c14dd089c42587149e8fec15044cbba2e864b9a7abf1260e652b4c93adbb771 WHIRLPOOL 7c4c258aee46fc2c60677a79502b3689577d6040ebbf4eab1e74f505a59d2e2c1095c1a2de4e233942838982a245fe3da4b6984af6ba227ad4263c993aa851e7
DIST khelpcenter-5.3.2.tar.xz 1732004 SHA256 63f1c405d2aaf1e29339cb015e54ac49989e05e7357b239ba34170f8899ca4d9 SHA512 adbf7f5180ed8562769994a59d496c5bc3f8ed280117959c486f38ed543e634f1d5b9c73182a31fc707b573a1388948746ce8e4726add39c43fc00be44819517 WHIRLPOOL 096299a9eaad32f3ccb72c697aa088c99632d4b982aaee3da64c71e182d80d6a50103a4f20a05a562acd3b8a5ed2bb929017d29a68990b94f236786fce0ee36c

@ -0,0 +1,42 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-plasma/khelpcenter/khelpcenter-5.3.2.ebuild,v 1.1 2015/06/30 20:50:14 johu Exp $
EAPI=5
KDE_HANDBOOK="true"
inherit kde5
DESCRIPTION="The KDE Help Center"
HOMEPAGE+=" http://userbase.kde.org/KHelpCenter"
KEYWORDS="~amd64"
IUSE=""
DEPEND="
$(add_frameworks_dep kcmutils)
$(add_frameworks_dep kcodecs)
$(add_frameworks_dep kcompletion)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kdbusaddons)
$(add_frameworks_dep kdelibs4support)
$(add_frameworks_dep khtml)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kiconthemes)
$(add_frameworks_dep kinit)
$(add_frameworks_dep kio)
$(add_frameworks_dep kparts)
$(add_frameworks_dep kservice)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kwindowsystem)
$(add_frameworks_dep kxmlgui)
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
"
RDEPEND="${DEPEND}
$(add_plasma_dep kde-cli-tools)
!kde-base/khelpcenter
"

@ -1 +1,2 @@
DIST khotkeys-5.3.1.tar.xz 608756 SHA256 bb6a42028ef92da96105e1e8ee32b03192950255a29df3aa183d4931bfccbf86 SHA512 f74d62b61c6d5d8eb18e13aef2580980b04cbf812c286459802d0abcfdc4787b9a55b9d6872b5686f1a41166a3aa88238b36dec443f04576c4fd40d7f1969ea8 WHIRLPOOL 4a9068084a7b966da60cf4a7b32832acd315dea09082d87f2dfcabc877c0cafa65163dfb32ffbfa5f1a408b4dbfbda6fec2e874897b238b801df2bb95bfee47d
DIST khotkeys-5.3.2.tar.xz 608756 SHA256 6a06e3fc62a4fdc349736a481873e5f205b86bb0dd3fbcf792a4c43af936ff38 SHA512 477a78d56745f9021aef6d0b508f5ebb5fc9759a4139714557278a3cb3952e22ec346d4cba36ed6528f9c59238160c54887e60300d649297c31864d329034574 WHIRLPOOL d20d48113d9f1b23a06054dbad28d42584c4bc8b79c0bbf973b825c5ca72e4840071e560f19809e8d2e3dffb03210035fd161b0984c5e066fe594d3e344d301a

@ -0,0 +1,46 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-plasma/khotkeys/khotkeys-5.3.2.ebuild,v 1.1 2015/06/30 20:50:13 johu Exp $
EAPI=5
KDE_HANDBOOK="true"
inherit kde5
DESCRIPTION="KDE workspace hotkey module"
KEYWORDS="~amd64"
IUSE=""
COMMON_DEPEND="
$(add_frameworks_dep kcompletion)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kdbusaddons)
$(add_frameworks_dep kdelibs4support X)
$(add_frameworks_dep kglobalaccel)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kio)
$(add_frameworks_dep kservice)
$(add_frameworks_dep ktextwidgets)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kwindowsystem)
$(add_frameworks_dep kxmlgui)
$(add_plasma_dep plasma-workspace)
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
x11-libs/libX11
"
RDEPEND="${COMMON_DEPEND}
$(add_frameworks_dep kded)
$(add_plasma_dep kde-cli-tools)
!kde-base/khotkeys
!kde-base/systemsettings
"
DEPEND="${COMMON_DEPEND}
x11-libs/libxcb
x11-libs/libXtst
x11-proto/xproto
"

@ -1,2 +1,3 @@
DIST glogo-small.png 24583 SHA256 0afc3eca084c327f8059166b86769f03c9c23e1e765bb47dc3229505abbac0c6 SHA512 648be463ec3812a2edcdab54d7a230bf2bd7e6895f4ffe72321d8fca28a5e1e0980f6e3b9a32f369c8369943ceb802a65a94b9dad820dcf2c81d4581d814cb48 WHIRLPOOL e161bf40c5e16180fa65217cb49314fb230c45329f4c518d6014083bd71da82d4aa048811ee814fde7fa300105cef16c182688445164ae84d0d700e23641b342
DIST kinfocenter-5.3.1.tar.xz 1008376 SHA256 2adcc747a0346b76368333b268b2188b8d2f6f8bb62b08371169dd045ba4f809 SHA512 87fc710fc1b3a284f58393f69d3964914a8f151c53dfa728040da77fffa39a7faabad4f5fd5ee982713a78b0faf47d11ab81616bcd7d8b4518d6bcda98e0ef25 WHIRLPOOL fc2f3dc9fb133fb0fa147dfc795b6afee082063b8d42637d85367f70afb7757cfb0555706051076563e76b19ba05c328b2a8bf8cea303df20c80bdb271442d8f
DIST kinfocenter-5.3.2.tar.xz 1073160 SHA256 79c6ac792c330142f66b1ab01f32e010aa44303bf4d8e3ba422fd02c704f18f1 SHA512 b415e810081f474045ed951e2d20ba9fb75279adfb60a83e0525404449542c707a58f403bbdc37e890957662a3a5e5001b226532bbf4e2f34136819e3df265cc WHIRLPOOL 4d31741943f789803a3c1d401c96a83fc219bcadd1e6c6f86376df2854697f3f2fa273dd7ae277f27ec8954b3434be1bba33a922efcfb0c45142f95661bfb729

@ -0,0 +1,85 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-plasma/kinfocenter/kinfocenter-5.3.2.ebuild,v 1.1 2015/06/30 20:50:13 johu Exp $
EAPI=5
KDE_HANDBOOK="true"
inherit kde5
DESCRIPTION="A utility that provides information about a computer system"
HOMEPAGE="http://www.kde.org/applications/system/kinfocenter/"
SRC_URI+=" https://www.gentoo.org/assets/img/logo/gentoo-3d-small.png -> glogo-small.png"
KEYWORDS="~amd64"
IUSE="egl gles ieee1394 +opengl +pci samba nfs wayland X"
REQUIRED_USE="egl? ( || ( gles opengl ) )"
COMMON_DEPEND="
$(add_frameworks_dep kcmutils)
$(add_frameworks_dep kcompletion)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kdbusaddons)
$(add_frameworks_dep kdelibs4support)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kiconthemes)
$(add_frameworks_dep kio)
$(add_frameworks_dep kservice)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kxmlgui)
$(add_frameworks_dep solid)
dev-qt/qtgui:5[opengl(+)]
dev-qt/qtwidgets:5
gles? (
dev-qt/qtgui:5[gles2]
|| (
media-libs/mesa[egl,gles1]
media-libs/mesa[egl,gles2]
)
)
ieee1394? ( sys-libs/libraw1394 )
nfs? ( net-fs/nfs-utils )
opengl? (
virtual/glu
virtual/opengl
)
pci? ( sys-apps/pciutils )
samba? ( net-fs/samba[server(+)] )
wayland? ( $(add_plasma_dep kwayland) )
X? ( x11-libs/libX11 )
!kde-base/kcontrol
!kde-base/kinfocenter
!kde-misc/about-distro
"
RDEPEND="${COMMON_DEPEND}
$(add_plasma_dep kde-cli-tools)
"
DEPEND="${COMMON_DEPEND}
$(add_frameworks_dep plasma)
"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package egl EGL)
$(cmake-utils_use_find_package gles OpenGLES)
$(cmake-utils_use_find_package ieee1394 RAW1394)
$(cmake-utils_use_find_package opengl OpenGL)
$(cmake-utils_use_find_package pci PCIUTILS)
$(cmake-utils_use_find_package wayland KF5Wayland)
$(cmake-utils_use_find_package X X11)
)
kde5_src_configure
}
src_install() {
kde5_src_install
insinto /etc/xdg
doins "${FILESDIR}"/kcm-about-distrorc
insinto /usr/share/${PN}
doins "${DISTDIR}"/glogo-small.png
}

@ -1 +1,2 @@
DIST kio-extras-5.3.1.tar.xz 613632 SHA256 07b1b58f8261a5345f8fe93024df9b9f517ff54856b31821b357c19e2a602fd4 SHA512 0cbe689368003495055bb78319d7f4d393aadfbdece047a5e0b6efb5f64bc89acdf374f0530573a6cd09151cdfbfb7b6f08611355cb29154363bba34f493ecae WHIRLPOOL ae5ba9776505ada20e0396baa09d529f05f19538c34b87fde058a15240d057b91930b23e518f672ac1a11de900e6c93884bc53d89d1d09c3c16a8c9ba464c7c2
DIST kio-extras-5.3.2.tar.xz 613172 SHA256 7cc90553fc6a003e776ee5417e437007cc97d37f774edc92e21bdf5a0710d7ed SHA512 6019d70141528fbf57618305edde0feff9158ea7d7319ff01b7f1a6cccccc0dc5813b5dbd53d77b5d7046960007181a92ceed5b5f53d29df29edfa071eea1cde WHIRLPOOL bd73ef3b013e2948894c5cc98f452faee5309f1d1ef10b31bd3d5a5045c6a417cf92e9b22f29f5c3edfc912349a3ba53b6761814ac05bc8f81d2f608fda6ba49

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-plasma/kio-extras/kio-extras-5.3.1.ebuild,v 1.1 2015/05/31 22:06:17 johu Exp $
# $Header: /var/cvsroot/gentoo-x86/kde-plasma/kio-extras/kio-extras-5.3.1.ebuild,v 1.2 2015/06/30 18:49:24 johu Exp $
EAPI=5
@ -51,7 +51,7 @@ COMMON_DEPEND="
RDEPEND="${COMMON_DEPEND}
$(add_frameworks_dep kded)
!kde-apps/kdebase-kioslaves:4[-minimal(-)]
!kde-base/kcontrol:4
!kde-apps/kcontrol:4
!kde-base/kdebase-kioslaves:4[-minimal(-)]
!kde-base/kio-extras
"

@ -0,0 +1,86 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-plasma/kio-extras/kio-extras-5.3.2.ebuild,v 1.1 2015/06/30 20:50:15 johu Exp $
EAPI=5
KDE_HANDBOOK="true"
KDE_TEST="true"
VIRTUALX_REQUIRED="test"
inherit fdo-mime kde5
DESCRIPTION="KIO plugins present a filesystem-like view of arbitrary data"
HOMEPAGE="https://projects.kde.org/projects/kde/workspace/kio-extras"
KEYWORDS="~amd64"
IUSE="exif mtp phonon samba +sftp slp"
COMMON_DEPEND="
$(add_frameworks_dep karchive 'bzip2,lzma')
$(add_frameworks_dep kbookmarks)
$(add_frameworks_dep kcodecs)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kdbusaddons)
$(add_frameworks_dep kdelibs4support)
$(add_frameworks_dep kdnssd)
$(add_frameworks_dep kguiaddons)
$(add_frameworks_dep khtml)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kiconthemes)
$(add_frameworks_dep kio)
$(add_frameworks_dep kparts)
$(add_frameworks_dep kpty)
$(add_frameworks_dep kservice)
$(add_frameworks_dep kxmlgui)
$(add_frameworks_dep solid)
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
virtual/jpeg:0
exif? ( media-gfx/exiv2:= )
mtp? ( media-libs/libmtp:= )
phonon? ( media-libs/phonon[qt5] )
samba? ( || ( <net-fs/samba-4.0.0_alpha1[smbclient] >=net-fs/samba-4.0.0_alpha1[client] ) )
sftp? ( >=net-libs/libssh-0.6.0:=[sftp] )
slp? ( net-libs/openslp )
"
RDEPEND="${COMMON_DEPEND}
$(add_frameworks_dep kded)
!kde-apps/kdebase-kioslaves:4[-minimal(-)]
!kde-apps/kcontrol:4
!kde-base/kdebase-kioslaves:4[-minimal(-)]
!kde-base/kio-extras
"
DEPEND="${COMMON_DEPEND}
x11-misc/shared-mime-info
"
# requires running kde environment
RESTRICT="test"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package exif Exiv2)
$(cmake-utils_use_find_package mtp)
$(cmake-utils_use_find_package phonon Phonon4Qt5)
$(cmake-utils_use_find_package samba)
$(cmake-utils_use_find_package sftp LibSSH)
$(cmake-utils_use_find_package slp)
)
kde5_src_configure
}
pkg_postinst() {
kde5_pkg_postinst
fdo-mime_mime_database_update
}
pkg_postrm() {
kde5_pkg_postinst
fdo-mime_mime_database_update
}

@ -1 +1,2 @@
DIST kmenuedit-5.3.1.tar.xz 309768 SHA256 1fff2deaf3aac69f895dcc7afe8056cf4c66e9cf79e3b15dc7625931561fde6f SHA512 973028565e12c12674272c6a11a6a492491d6c72454a79d111a3b593a04d2a6e0e62fa24ffa5dda4b16be09ec21a9c2423c3727fea30352128fe484486514b15 WHIRLPOOL 0122cdf7589f09930f4c58f51de67468c3e09353279543bcb672011e075b05f8e62cc713de53881d909a8980754db19811f09546469c96a1a9d45dbafa752429
DIST kmenuedit-5.3.2.tar.xz 441832 SHA256 b199a0c8214bac0b6833ab2c0018daaecf49a1881fe5b34c540940940c94da8e SHA512 b050a938ae1ae72eb62192f41a905120b94fc2b3f42345c6934849f5b2dd2faacdd6424b0b9877812350d036ff433727ecce1109c536b7bbe3d439d51c610221 WHIRLPOOL 0cfe1f07cecd359e07c5e9a655e576f9074a6716eab56912ecd028bf1e65ac58ca51f6ef485cb8dcb57081bfb450c63ad9f9dfa6c7b53a278040c6946fad5fca

@ -0,0 +1,45 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-plasma/kmenuedit/kmenuedit-5.3.2.ebuild,v 1.1 2015/06/30 20:50:15 johu Exp $
EAPI=5
KDE_HANDBOOK="true"
inherit kde5
DESCRIPTION="KDE menu editor"
HOMEPAGE="https://projects.kde.org/projects/kde/workspace/kmenuedit"
KEYWORDS="~amd64"
IUSE="+hotkeys"
DEPEND="
$(add_frameworks_dep kcompletion)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kdbusaddons)
$(add_frameworks_dep kdelibs4support)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kiconthemes)
$(add_frameworks_dep kio)
$(add_frameworks_dep kservice)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kxmlgui)
$(add_frameworks_dep sonnet)
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
hotkeys? ( $(add_plasma_dep khotkeys) )
"
RDEPEND="${DEPEND}
!kde-base/kmenuedit
"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package hotkeys KHotKeysDBusInterface)
)
kde5_src_configure
}

@ -1 +1,2 @@
DIST kscreen-5.3.1.tar.xz 94428 SHA256 d99f5f6666bb05fdc9a78216662bd738e111ead0f4097ba0dcecee4bdfd01e01 SHA512 226bbeee5010a14efa7e638e6110b123cda4a8f76020c00e91add7d90010b16b3e08a39782275804659326251737647e2a2eb4e85c2e472bd67c32259693eb13 WHIRLPOOL b04371103f705be5890c0c22280f2e3a227e34c72a5b0cf974f8898caa49750cc6262682423bd94c13e020052176a8511847cd0341ec58edd8dc1af9d74ce94f
DIST kscreen-5.3.2.tar.xz 94444 SHA256 8d43e503b983f9b3dd4dc21662ad8f92f092ac81435a843ecbc5eab195cab695 SHA512 35cb11d7def3f043ccc1780f6b8a260bd61ae483e80ef96563ebc0f30f6e70fcd778f8a3c410c516b324e8c08fa7b7e115ebfe49ef2bacaba5f737acc6239dd0 WHIRLPOOL dfbb1b5abdff4b7f7e7aea18d637a06729c0ca81aa5ecfb17a3626e8b47edd3e6726f720db42bf534ec1034846ec3cf008d5240d72910e97d68159009a9c7f56

@ -0,0 +1,34 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-plasma/kscreen/kscreen-5.3.2.ebuild,v 1.1 2015/06/30 20:50:14 johu Exp $
EAPI=5
KDE_PUNT_BOGUS_DEPS="true"
inherit kde5
DESCRIPTION="KDE screen management"
HOMEPAGE="https://projects.kde.org/projects/extragear/base/kscreen"
KEYWORDS="~amd64"
IUSE=""
DEPEND="
$(add_plasma_dep libkscreen)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kdbusaddons)
$(add_frameworks_dep kglobalaccel)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kxmlgui)
dev-qt/qtdbus:5
dev-qt/qtdeclarative:5[widgets]
dev-qt/qtgui:5
dev-qt/qtwidgets:5
"
RDEPEND="${DEPEND}
$(add_plasma_dep kde-cli-tools)
dev-qt/qtgraphicaleffects:5
!kde-misc/kscreen
"

@ -1 +1,2 @@
DIST ksshaskpass-5.3.1.tar.xz 18648 SHA256 a2a916b04808aaad781e79174bef1c60bb4cb6e3603fb95a696d1912d73eba45 SHA512 a5077fc6c447b39d0dda556a4b97a0c3f06c99d45c555c099534e5c6b96d8b6c4656b95ae9e49f9f37f1f59e726f60c786df193416d76aee84f29cd97795c755 WHIRLPOOL 0d542c4469bcc342d335a7a948f751206447a50a7d16b30bacd6b46d22c8e3bba6fdb43f26ab0a7bc1331fe52af2c51fd3a780725837a711321fe339f4aed43c
DIST ksshaskpass-5.3.2.tar.xz 18664 SHA256 e78d5d0540f9a206d2da03b62f62ceb3a0511c3d0ed6eefceca7dd40820097ec SHA512 570fc945ce869bc880207887af2025ff6f87613d5a50ce882715a2307938ee6993f4e6bc095a9d4c5aacbf5ea0c08fc8b103265aeb204c190abc269ea0602dd1 WHIRLPOOL e229e79bfdfdbbd8bb03181c990bc7595a52086b8e0286721bb9d9240f32ab9ce9c65ad51e322def3b55e564760cc85063eff6a588c756415fdda573c2aca5ee

@ -0,0 +1,24 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-plasma/ksshaskpass/ksshaskpass-5.3.2.ebuild,v 1.1 2015/06/30 20:50:15 johu Exp $
EAPI=5
inherit kde5
DESCRIPTION="KDE implementation of ssh-askpass with Kwallet integration"
HOMEPAGE="https://projects.kde.org/projects/kde/workspace/ksshaskpass"
KEYWORDS="~amd64"
IUSE=""
DEPEND="
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kwallet)
$(add_frameworks_dep kwidgetsaddons)
dev-qt/qtwidgets:5
"
RDEPEND="
${DEPEND}
!net-misc/ksshaskpass
"

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

Loading…
Cancel
Save