parent
157077953c
commit
39f8518966
@ -0,0 +1 @@
|
||||
DIST mate-system-tools-1.6.0.tar.xz 4330780 SHA256 3e545ae4462332cd4e4b1c0b2f0e41a7fbacbb86be3e95254155e92ed249a14a SHA512 8da16d5f92d5bae9dae4cdeb8b3aebc76a795167f02e4b3c82c1da94278b5915a029edf9cea56079342eefe9353e25dd11f487da3befe5d802066134691efae0 WHIRLPOOL c761749aa91f2b55e5dbcf9ce3cc52eeb7ca94af7146336dfc266457932acaf29defe95a841f7a4c6bf7dd8814882b07be2bf9d14232c1018e3fe26a7d6b3b09
|
@ -0,0 +1,32 @@
|
||||
From 0dc126ba76d32a66c73daa5c2a93980efbc1264e Mon Sep 17 00:00:00 2001
|
||||
From: Stefano Karapetsas <stefano@karapetsas.com>
|
||||
Date: Sat, 25 Jan 2014 12:29:44 +0100
|
||||
Subject: [PATCH] Update POTFILES.skip
|
||||
|
||||
---
|
||||
po/POTFILES.skip | 10 +++++-----
|
||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
|
||||
index a6a3e9f..d54118d 100644
|
||||
--- a/po/POTFILES.skip
|
||||
+++ b/po/POTFILES.skip
|
||||
@@ -6,11 +6,11 @@ interfaces/services.glade
|
||||
interfaces/shares.glade
|
||||
interfaces/time.glade
|
||||
interfaces/users.glade
|
||||
-src/network/network.desktop.in
|
||||
-src/services/services.desktop.in
|
||||
-src/shares/shares.desktop.in
|
||||
-src/time/time.desktop.in
|
||||
-src/users/users.desktop.in
|
||||
+src/network/mate-network.desktop.in
|
||||
+src/services/mate-services.desktop.in
|
||||
+src/shares/mate-shares.desktop.in
|
||||
+src/time/mate-time.desktop.in
|
||||
+src/users/mate-users.desktop.in
|
||||
interfaces/disks.glade.in
|
||||
src/disks/callbacks.c
|
||||
src/disks/disks-cdrom-disc.c
|
||||
--
|
||||
1.8.5.5
|
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/mate-system-tools/mate-system-tools-1.6.0.ebuild,v 1.1 2014/03/22 19:00:12 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit autotools eutils gnome2 versionator
|
||||
|
||||
MATE_BRANCH="$(get_version_component_range 1-2)"
|
||||
|
||||
SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz"
|
||||
DESCRIPTION="Tools aimed to make easy the administration of UNIX systems"
|
||||
HOMEPAGE="http://mate-desktop.org"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="caja nfs policykit samba"
|
||||
|
||||
RDEPEND="app-text/rarian:0
|
||||
>=app-admin/system-tools-backends-2.10.1:0
|
||||
dev-libs/atk:0
|
||||
dev-libs/dbus-glib:0
|
||||
>=dev-libs/glib-2.25.3:2
|
||||
>=dev-libs/liboobs-1.1:0
|
||||
>=sys-apps/dbus-0.32:0
|
||||
sys-libs/cracklib:0
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/pango:0
|
||||
>=x11-libs/gtk+-2.19.7:2
|
||||
virtual/libintl:0
|
||||
caja? ( mate-base/mate-file-manager:0 )
|
||||
nfs? ( net-fs/nfs-utils:0 )
|
||||
policykit? (
|
||||
mate-extra/mate-polkit:0
|
||||
>=sys-auth/polkit-0.92:0
|
||||
)
|
||||
samba? ( >=net-fs/samba-3:0 )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
>=app-text/scrollkeeper-dtd-1:1.0
|
||||
app-text/mate-doc-utils:0
|
||||
sys-devel/gettext:*
|
||||
virtual/pkgconfig:*
|
||||
>=dev-util/intltool-0.35.0:*"
|
||||
|
||||
src_prepare() {
|
||||
# add -lm to linker, fixed upstream
|
||||
sed -i 's:DBUS_LIBS):DBUS_LIBS) -lm:' \
|
||||
src/time/Makefile.am || die
|
||||
|
||||
find "${WORKDIR}" -name "*.desktop*" -exec sed -i \
|
||||
-e 's:Categories=MATE;:Categories=:g' {} \; || die
|
||||
|
||||
epatch "${FILESDIR}"/${P}-Update-POTFILES-skip.patch
|
||||
|
||||
# Tarball has no proper build system, should be fixed on next release.
|
||||
mkdir m4 || die
|
||||
autotools_run_tool mate-doc-prepare --force --copy || die
|
||||
autotools_run_tool mate-doc-common --copy || die
|
||||
eautoreconf
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
if ! use nfs && ! use samba; then
|
||||
myconf="--disable-shares"
|
||||
fi
|
||||
|
||||
gnome2_src_configure \
|
||||
${myconf} \
|
||||
--disable-static \
|
||||
$(use_enable policykit polkit-gtk-mate) \
|
||||
$(use_enable caja)
|
||||
}
|
||||
|
||||
DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO"
|
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>TomWij@gentoo.org</email>
|
||||
<name>Tom Wijsman</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Formerly known as the Ximian Setup Tools, the GST are a fully
|
||||
integrated set of tools aimed to make easy the job that means the
|
||||
computer administration on an UNIX or Linux system. They're
|
||||
thought to help from the new Linux or UNIX user to the system
|
||||
administrators.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="nfs">Adds support for NFS shares</flag>
|
||||
<flag name="caja">Adds support for the Caja file manager</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/procinfo/procinfo-18-r1.ebuild,v 1.12 2010/01/20 17:04:03 cla Exp $
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="A utility to prettyprint /proc/*"
|
||||
HOMEPAGE="http://www.kozmix.org/src/"
|
||||
SRC_URI="http://www.kozmix.org/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 s390 sh sparc x86"
|
||||
IUSE=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
epatch "${FILESDIR}"/kernel-2.6.patch
|
||||
epatch "${FILESDIR}"/cpu-usage-fix.patch
|
||||
epatch "${FILESDIR}"/${PN}-flags.patch
|
||||
epatch "${FILESDIR}"/${P}-stat.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# -ltermcap is default and isn't available in gentoo
|
||||
# but -lncurses works just as good
|
||||
emake CC=$(tc-getCC) LDLIBS=-lncurses || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin procinfo || die
|
||||
newbin lsdev.pl lsdev || die
|
||||
newbin socklist.pl socklist || die
|
||||
|
||||
doman *.8
|
||||
dodoc README CHANGES
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST lzma465.tar.bz2 288122 SHA256 c935fd04dd8e0e8c688a3078f3675d699679a90be81c12686837e0880aa0fa1e SHA512 690f005cfa9d3a65db03baddad57cf8dd79f861ac72d2e1bc18a151f3673d5f8043e3331f5dc3fba713dfd7b01ebf0817a2c0b6a1b22e1f7d8255a42b85ea4ac WHIRLPOOL 34a08888ac6874c1ac4ff181774b02eec993cc90a28531596122183c975c2e29fd9852d066acd24c0fe1f213ae9e03e7daf3fc9417c587043e968d973551027f
|
||||
DIST upx-3.08-src.tar.bz2 877691 SHA256 c6d873925ef0d5422b9320c7075ef9be5981a6f99418469ce067becd68de65eb SHA512 21d327cf130d41d239d8727df8c11c8f7778455d13aa5a9973fdae95733204001430de723ad36788cbc20d822b1891ad0a5a0aa5c57af79bbf8e01468576a8f5 WHIRLPOOL 90580ad24e23b687dcfceecfc48796188c45cdcb821fcd44845f15bfd2e655183730b8e5ec8fdc36af1f55ea70f42322c55948378dcad75d9e28fe24a4ceddd8
|
||||
DIST upx-3.09-src.tar.bz2 884001 SHA256 f61a95694d9b8f8c486ee25c9cceab483b9262a29d6ed31c8d3ae4aca0f55c9a SHA512 5dfc4587cb6e0c1f668f7363eccbda0a329e5438837c22afe5b66e1b7d6a2502ec911013efc1ceb91186b6af2e0a590df2de5260fefde7fba49544ded3e66a25 WHIRLPOOL 760edbbeba8874dbae85d893e2f7b944ea2d3a8862a6c3f21e3a6c27f557f12ed12998a9f6f29c108849ce830e882d51447739365bb033c14c24fa7dad4df972
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-ucl/upx-ucl-3.08.ebuild,v 1.1 2012/03/14 04:43:07 patrick Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils toolchain-funcs flag-o-matic
|
||||
|
||||
LZMA_VER=465
|
||||
#LZMA_VER=920
|
||||
MY_P="${P/-ucl}-src"
|
||||
DESCRIPTION="Ultimate Packer for eXecutables (free version using UCL compression and not NRV)"
|
||||
HOMEPAGE="http://upx.sourceforge.net/"
|
||||
SRC_URI="http://upx.sourceforge.net/download/${MY_P}.tar.bz2
|
||||
lzma? ( mirror://sourceforge/sevenzip/lzma${LZMA_VER}.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="lzma zlib"
|
||||
|
||||
RDEPEND=">=dev-libs/ucl-1.02
|
||||
!app-arch/upx
|
||||
!app-arch/upx-bin"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
use zlib && append-cppflags -DWITH_ZLIB=1
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CXX
|
||||
emake UPX_LZMADIR="${WORKDIR}" all || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin src/upx.out upx || die
|
||||
dodoc BUGS NEWS PROJECTS README* THANKS TODO doc/*.txt
|
||||
dohtml doc/upx.html || die
|
||||
doman doc/upx.1 || die
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST Vero_pt_BR_V211AOC.oxt 1371061 SHA256 51e2f133dc6bb90bac39bf4f4c83bbedc16c16ddaec3215c7e269155c1a15f90 SHA512 6e1632b094105d891c22f30baf46a62ae59828846b57e4de56a3f3b6f5bb7a02c624ffa85775a120a56df844bda9aebff248f847dac751883b5ea59a59669e2c WHIRLPOOL dc1bb7933865e05d3c0ab93d45e330b29faf4aafc9eef0321b5fd999fdec946adaf8c0b93837aacb05eee8a04d7548d9813be508398b9479528df4eb32393da3
|
||||
DIST VeroptBRV300AOG.oxt 1834826 SHA256 1be503ae9a81621192a6e3ef8f2bd62dd316c63eb6d07daf94da37c686917f5e SHA512 1211af8aba9d9d9eae2ec9885a922d2ad70097d55c3628080754e00f30d46c061eb3eead634c7c4729837c96d722a6f3b615fd85f12b57afe417151c0e332351 WHIRLPOOL 439baa73f0a7d683be3e97f7e94f6ff7d7f2a0429f193ccf7b623bf3466883cc47729bd5faa6a622e3492fa356f9ac5cae156ae1823c8685a177453ba68b076d
|
||||
DIST myspell-pt-br-2.1.1-thes.oxt 4561516 SHA256 0663f9ba720647499ef7d6960e5c7d3b2ee022cc47a933b121dbdbefd2abc2f4 SHA512 194e8b547ca65a1b7d3c8fbffe6674f539e116840dc546e3ebba03a58d67d6ae649d0387f1addcc05e8df1a80f7941b036580acaa984df016b1ba55c7597a260 WHIRLPOOL ff549c9f10ebe4ee6fc4c93a85be444d57b09300b80e0c3162928523ebc9a3df24f8be75f72d5cf00c326c8c9f9f7ca92753aff646e4dfd39fa0adf89b41681c
|
||||
DIST myspell-pt-br-3.0.0-thes.oxt 4561516 SHA256 0663f9ba720647499ef7d6960e5c7d3b2ee022cc47a933b121dbdbefd2abc2f4 SHA512 194e8b547ca65a1b7d3c8fbffe6674f539e116840dc546e3ebba03a58d67d6ae649d0387f1addcc05e8df1a80f7941b036580acaa984df016b1ba55c7597a260 WHIRLPOOL ff549c9f10ebe4ee6fc4c93a85be444d57b09300b80e0c3162928523ebc9a3df24f8be75f72d5cf00c326c8c9f9f7ca92753aff646e4dfd39fa0adf89b41681c
|
||||
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-pt-br/myspell-pt-br-2.1.1.ebuild,v 1.2 2012/07/25 15:43:18 mr_bones_ Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MYSPELL_DICT=(
|
||||
"pt_BR.aff"
|
||||
"pt_BR.dic"
|
||||
)
|
||||
|
||||
MYSPELL_HYPH=(
|
||||
"hyph_pt_BR.dic"
|
||||
)
|
||||
|
||||
MYSPELL_THES=(
|
||||
"th_pt_BR.dat"
|
||||
"th_pt_BR.idx"
|
||||
)
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="Brazilian dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="http://www.broffice.org/verortografico/"
|
||||
# dicsin.com.br is dead; so no upstream for thesarus :-/
|
||||
SRC_URI="
|
||||
http://www.broffice.org/files/Vero_pt_BR_V${PV//./}AOC.oxt
|
||||
http://wiki.documentfoundation.org/images/f/ff/DicSin-BR.oxt -> ${P}-thes.oxt
|
||||
"
|
||||
|
||||
LICENSE="LGPL-3 MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
@ -1,6 +1,3 @@
|
||||
DIST myspell-sv-2.13-hyph.oxt 44382 SHA256 cd7cc138f736c97a5580d46223d39893279bcc6dc6d01527f397caebe57fdd47 SHA512 0f71809d2d401bb917037bb50a2fa88ffe825cac081cb14e9378ffeebc447144b733a9d4fd99cc5bc1f1a37835cc880210512ccc79341a4ba8c6cb5dcc38fc40 WHIRLPOOL fd245716f11566cce3de29267c97feada5a7c440d4a85b62e6b8b924de80c3de14a2213deb166e5792fb99588f0b7815c155b02cd7f927ff7c46c4396005fab9
|
||||
DIST myspell-sv-2.13-thes.oxt 306542 SHA256 58de0797f5dca60b7dd5e2355c381eb4ced72aff7a726861a2512ebc2e97ad55 SHA512 e637dc92bfc9bc86ccf10710fac1b036a99b0abc2888d30ea7dbdaca1c3cbec57fd7a184648d922b120a26f7c151b7cc043f783fb35b7e121ae22458f0a72103 WHIRLPOOL 9a17cb528cd5b2bc201a93429e83cfaf6f83acd8afa430ca2a7446e224684c877edcbc743af9c9a7f75a4342bb9fe3a15479ceabae3401b1218fa8b7b5723149
|
||||
DIST myspell-sv-2.14-hyph.oxt 44382 SHA256 cd7cc138f736c97a5580d46223d39893279bcc6dc6d01527f397caebe57fdd47 SHA512 0f71809d2d401bb917037bb50a2fa88ffe825cac081cb14e9378ffeebc447144b733a9d4fd99cc5bc1f1a37835cc880210512ccc79341a4ba8c6cb5dcc38fc40 WHIRLPOOL fd245716f11566cce3de29267c97feada5a7c440d4a85b62e6b8b924de80c3de14a2213deb166e5792fb99588f0b7815c155b02cd7f927ff7c46c4396005fab9
|
||||
DIST myspell-sv-2.14-thes.oxt 306542 SHA256 58de0797f5dca60b7dd5e2355c381eb4ced72aff7a726861a2512ebc2e97ad55 SHA512 e637dc92bfc9bc86ccf10710fac1b036a99b0abc2888d30ea7dbdaca1c3cbec57fd7a184648d922b120a26f7c151b7cc043f783fb35b7e121ae22458f0a72103 WHIRLPOOL 9a17cb528cd5b2bc201a93429e83cfaf6f83acd8afa430ca2a7446e224684c877edcbc743af9c9a7f75a4342bb9fe3a15479ceabae3401b1218fa8b7b5723149
|
||||
DIST ooo_swedish_dict_2.13.oxt 1288042 SHA256 16919babab61391eb873b1341603f82fab81371d075b10117324550678c6b20d SHA512 fa88ef84f8d0d6433409ead7ea53c56b863489360a8f4da1f0ab6a023d4ce5b9d1784e94e242168b8acb7278d49a05b23b1c75a5b4fbd980e250be2aad0e7ae0 WHIRLPOOL 7756bc4d8adcc2dea83dd44411a079806370d7339638711a1c694507367529d5f3d236e0605da7f31e8164f4c954e3d54776ae7f95a1360bdd585eeb28f95023
|
||||
DIST ooo_swedish_dict_2.14.oxt 1288382 SHA256 88af1cd933dba882b4fde82b83d825bd1569212a2984a284e75039493a332e1f SHA512 77ab715ccb66c7e14ed84189dd0847c809824a3cf0881ee39d08f6d4ef89eccfeafcdbde1759bfa8224650b1907760d9a48f40e464211ae12593ed5525d6372b WHIRLPOOL 4e9ae9d5ef1be73ab66f836d0b37b6082b019b67cd69dd3cdfc8002ad82d495e61bde62c18ad795d1cf532174c4095536995ee9f3adb4debfbd3744b2b619114
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-sv/myspell-sv-2.13.ebuild,v 1.2 2013/03/25 07:37:19 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MYSPELL_DICT=(
|
||||
"sv_FI.aff"
|
||||
"sv_FI.dic"
|
||||
"sv_SE.aff"
|
||||
"sv_SE.dic"
|
||||
)
|
||||
|
||||
MYSPELL_HYPH=(
|
||||
"hyph_sv_SE.dic"
|
||||
)
|
||||
|
||||
MYSPELL_THES=(
|
||||
"th_sv_SE.dat"
|
||||
"th_sv_SE.idx"
|
||||
)
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="Swedish dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="
|
||||
http://extensions.libreoffice.org/extension-center/swedish-spelling-dictionary-den-stora-svenska-ordlistan
|
||||
http://extensions.libreoffice.org/extension-center/swedish-hyphenation
|
||||
http://extensions.libreoffice.org/extension-center/swedish-thesaurus-based-on-synlex
|
||||
"
|
||||
SRC_URI="
|
||||
http://extensions.libreoffice.org/extension-center/swedish-spelling-dictionary-den-stora-svenska-ordlistan/releases/${PV}/ooo_swedish_dict_${PV}.oxt
|
||||
http://extensions.libreoffice.org/extension-center/swedish-hyphenation/releases/1.10/hyph_sv_se.oxt -> ${P}-hyph.oxt
|
||||
http://extensions.libreoffice.org/extension-center/swedish-thesaurus-based-on-synlex/releases/1.3/swedishthesaurus.oxt -> ${P}-thes.oxt
|
||||
"
|
||||
|
||||
LICENSE="CC-BY-SA-3.0 GPL-2 LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/wordnet/wordnet-3.0-r2.ebuild,v 1.6 2012/05/31 03:36:03 zmedico Exp $
|
||||
|
||||
inherit eutils flag-o-matic autotools
|
||||
|
||||
DESCRIPTION="A lexical database for the English language"
|
||||
HOMEPAGE="http://wordnet.princeton.edu/"
|
||||
SRC_URI="ftp://ftp.cogsci.princeton.edu/pub/wordnet/${PV}/WordNet-${PV}.tar.gz
|
||||
mirror://gentoo/${P}-patchset-1.tar.bz2"
|
||||
LICENSE="Princeton"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc x86"
|
||||
IUSE="doc"
|
||||
|
||||
# In contrast to what the configure script seems to imply, Tcl/Tk is NOT optional.
|
||||
# cf. bug 163478 for details. (Yes, it's about 2.1 but it's still the same here.)
|
||||
DEPEND="dev-lang/tcl
|
||||
dev-lang/tk"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/WordNet-${PV}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
# Don't install into PREFIX/dict but PREFIX/share/wordnet/dict
|
||||
epatch "${WORKDIR}/${P}-dict-location.patch"
|
||||
# Fixes bug 130024, make an additional shared lib
|
||||
epatch "${WORKDIR}/${P}-shared-lib.patch"
|
||||
# Don't install the docs directly into PREFIX/doc but PREFIX/doc/PN
|
||||
epatch "${WORKDIR}/${P}-docs-path.patch"
|
||||
epatch "${WORKDIR}"/${P}-CVE-2008-3908.patch #211491
|
||||
epatch "${WORKDIR}"/${P}-CVE-2008-2149.patch #211491
|
||||
|
||||
# Don't install all the extra docs (html, pdf, ps) without doc USE flag.
|
||||
use doc || sed -i -e "s:SUBDIRS =.*:SUBDIRS = man:" doc/Makefile.am
|
||||
|
||||
rm -f configure
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
append-flags -DUNIX -I"${T}"/usr/include
|
||||
|
||||
PLATFORM=linux WN_ROOT="${T}/usr" \
|
||||
WN_DICTDIR="${T}/usr/share/wordnet/dict" \
|
||||
WN_MANDIR="${T}/usr/share/man" \
|
||||
WN_DOCDIR="${T}/usr/share/doc/wordnet-${PV}" \
|
||||
WNHOME="/usr/share/wordnet" \
|
||||
econf
|
||||
emake -e || die "emake Failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "install failed"
|
||||
dodoc AUTHORS ChangeLog INSTALL README || die "dodoc failed"
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/elscreen/elscreen-1.4.6.ebuild,v 1.5 2009/07/02 17:07:35 jer Exp $
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Frame configuration management for GNU Emacs modelled after GNU Screen"
|
||||
HOMEPAGE="http://www.morishima.net/~naoto/j/software/elscreen/"
|
||||
SRC_URI="ftp://ftp.morishima.net/pub/morishima.net/naoto/ElScreen/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 hppa ~ia64 ~ppc ~ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-emacs/apel"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
DOCS="ChangeLog README"
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
|
||||
echo
|
||||
elog "ElScreen modifies standard Emacs keybindings and is therefore"
|
||||
elog "no longer loaded from site-gentoo.el. Add the line"
|
||||
elog " (require 'elscreen)"
|
||||
elog "to your ~/.emacs file to enable it on Emacs startup."
|
||||
}
|
@ -1,4 +1 @@
|
||||
|
||||
;;; elscreen site-lisp configuration
|
||||
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
|
@ -1,2 +1 @@
|
||||
DIST evil-1.0.5.tar.xz 427692 SHA256 7af98dc0f0bad92967fc4a537ad056cd669f5703a0334874a0505a031e59767b SHA512 c67ccb5de678a566fa317be72d0896cff82909cfb06cdccc148f68098d78ba7fc2f87f5d423774a7080f668fff8bb0d0b93c4b6695363dc89f15945e962f1768 WHIRLPOOL 13081ceaf9b2c13c5d7198df25aca118da7b14dbf007a2304937a5e92e0eeaa6040616fb1f125f5b28b9df300f7b6e8bffa7a655391c38b2628b01162fe548d0
|
||||
DIST evil-1.0.8.tar.xz 427884 SHA256 f88760b93fd9c918a1ed567e1ce23ce7fa6709b1f603137df3397a005c2800bf SHA512 d827ff8856c0240c334088f4c61226c93994a4c5afdd775a7170233add884af134b22cdc8bfa6432d3f44d3e6cf3cea89501a4ebfdc37ed5c70b3c712ad2ea86 WHIRLPOOL 81c8f6fc175103ab05e993fff516fa17c82d22ed5409eb59c8640f9bab1914746a47acba8f80d4a31482031086c7da70efa7977ea22b521469b95f9808f797c0
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/evil/evil-1.0.5.ebuild,v 1.1 2013/07/03 18:41:38 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Extensible vi layer for Emacs"
|
||||
HOMEPAGE="http://gitorious.org/evil"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=">=app-emacs/undo-tree-0.5.2"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
ELISP_REMOVE="evil-pkg.el evil-tests.el"
|
||||
ELISP_TEXINFO="doc/evil.texi"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
DOCS="CHANGES.org"
|
@ -1,5 +0,0 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(setq gnuserv-program "/usr/libexec/emacs/gnuserv")
|
||||
;; necessary for FSF GNU Emacs only
|
||||
(autoload 'gnuserv-start "gnuserv-compat"
|
||||
"Allow this Emacs process to be a server for client processes." t)
|
@ -1,4 +1,5 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(setq gnuserv-program "/usr/libexec/emacs/gnuserv")
|
||||
;; necessary for FSF GNU Emacs only
|
||||
(autoload 'gnuserv-start "gnuserv-compat"
|
||||
"Allow this Emacs process to be a server for client processes." t)
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- gnuserv.el~ 2004-10-19 10:50:01.000000000 +0200
|
||||
+++ gnuserv.el 2007-05-25 22:49:01.000000000 +0200
|
||||
@@ -733,7 +733,16 @@
|
||||
(unless leave-dead
|
||||
(setq gnuserv-string ""
|
||||
gnuserv-current-client nil)
|
||||
- (let ((process-connection-type t))
|
||||
+ (let* ((process-connection-type t)
|
||||
+ (xe-sysconf
|
||||
+ ;; XEmacs uses i*86-pc-linux instead of i*86-pc-linux-gnu
|
||||
+ ;; Do they want to be deliberately incompatible? :-(
|
||||
+ (replace-regexp-in-string
|
||||
+ "^\\([^-]+-[^-]+-[^-]+\\)-.*$" "\\1" system-configuration))
|
||||
+ (exec-path
|
||||
+ (append exec-path
|
||||
+ (file-expand-wildcards
|
||||
+ (concat "/usr/lib/xemacs-*/" xe-sysconf)))))
|
||||
(setq gnuserv-process
|
||||
(start-process "gnuserv" nil gnuserv-program)))
|
||||
(set-process-sentinel gnuserv-process 'gnuserv-sentinel)
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/gnuserv/gnuserv-3.12.8.ebuild,v 1.7 2010/04/30 14:15:19 grobian Exp $
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Attach to an already running Emacs"
|
||||
HOMEPAGE="http://meltin.net/hacks/emacs/"
|
||||
SRC_URI="http://meltin.net/hacks/emacs/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86 ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="|| ( ~app-emacs/gnuserv-programs-${PV} app-editors/xemacs )"
|
||||
|
||||
DOCS="ChangeLog README README.orig"
|
||||
ELISP_PATCHES="${PN}-3.12.7-path-xemacs.patch"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
@ -1 +0,0 @@
|
||||
DIST http-emacs-1.1.tar.gz 11030 SHA256 f3b7f22bab59461d90c749e444d90eb97c7e419001d1e0877e1d43def9cccf20 SHA512 5814ad312629cc929a545d1b83c54e339c47262d87539d7f969f16d386a5548de081171c930e75f2d899c91d7d0a817f52a76f7da74a603a82aace6fe615d3a6 WHIRLPOOL 39b7667b25ad688dbdf85a5380470d39cd5213d27ad36099409267fbb9c6d08838f7bdc70d44dc0154ab42a88dfa9d40868ce0bdb143659f0e04a4a442092250
|
@ -1,14 +0,0 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(autoload 'http-get "http-get"
|
||||
"Get URL in a buffer, and return the process." t)
|
||||
(autoload 'http-post "http-post"
|
||||
"Post to a URL in a buffer using HTTP 1.1, and return the process." t)
|
||||
(autoload 'swc-emacswiki-browse "simple-wiki-completion" nil t)
|
||||
(autoload 'simple-wiki-edit "simple-wiki-edit")
|
||||
|
||||
;;; The following are an attempt at some reasonable defaults based on
|
||||
;;; the EmacsWiki page:
|
||||
;;; http://emacswiki.org/cgi-bin/wiki.pl?SimpleWikiEditMode
|
||||
|
||||
;; (add-hook 'simple-wiki-edit-mode-hooks 'pcomplete-simple-wiki-setup)
|
||||
;; (add-hook 'simple-wiki-edit-mode-hooks 'turn-off-auto-fill)
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/http-emacs/http-emacs-1.1-r1.ebuild,v 1.3 2011/12/09 00:40:08 ulm Exp $
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Fetch, render and post html pages and edit wiki pages via Emacs"
|
||||
HOMEPAGE="http://emacswiki.org/cgi-bin/wiki.pl?SimpleWikiEditMode"
|
||||
SRC_URI="http://savannah.nongnu.org/download/http-emacs/http-emacs.pkg/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
DOCS="CONTRIBUTORS"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>emacs</herd>
|
||||
<longdescription>
|
||||
http-emacs includes http-post and http-get which allows you to fetch,
|
||||
render and post html pages via emacs. It also includes simple-wiki-*
|
||||
modules, which allow you to edit remote (and local) wikis via emacs,
|
||||
and also includes a major-mode for the same.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST mairix-el_0.2.tar.gz 14670 SHA256 7dc166ddf857e8cae03cd55a877f3135531a7ead7b160daa80209dbbb64601dc SHA512 b63300574cd4248cbf98c628fa8267203d9359b63f33af64ddfad1e05549d1edd1a4b24eff6112cfbac3319f6e51ab1ff34d346517f72f9ebc350baafa2f9af3 WHIRLPOOL ebf5db1fd13c430c3fc5ea46eca0b242524f58ce06d6918533c78f5cacefe66d10f45ad4595fbee8e575df5d91f81797fb8fbf95c28237b5aa233dffdb165b49
|
@ -1,11 +0,0 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(mapc (function (lambda (f) (autoload f "mairix" nil t)))
|
||||
'(mairix-search
|
||||
mairix-widget-search
|
||||
mairix-update-database
|
||||
mairix-search-from-this-article
|
||||
mairix-search-thread-this-article
|
||||
mairix-widget-search-based-on-article
|
||||
mairix-save-search
|
||||
mairix-use-saved-search
|
||||
mairix-edit-saved-searches))
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/mairix/mairix-0.2.ebuild,v 1.1 2009/04/08 11:03:45 ulm Exp $
|
||||
|
||||
inherit elisp
|
||||
|
||||
MY_P=${PN}-el_${PV}
|
||||
DESCRIPTION="Mairix interface for Emacs"
|
||||
HOMEPAGE="http://randomsample.de/mairix-el-doc/"
|
||||
SRC_URI="http://randomsample.de/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 FDL-1.2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="net-mail/mairix"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
doinfo mairix-el.info || die
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST undo-tree-0.5.2.el.bz2 27985 SHA256 35b3bef32c39a99656fb46d9ca7b2eccde4287ca2d226a93c90d8fd12f5354dc SHA512 62b355cbebd4e17a59b70acdae69bdddc9a6fd57d5c684d0560eb03dfac69121bc63941ef6520853b174a6de0a5ae54dc4f240a55f0623312a86e799ea3785d0 WHIRLPOOL 41aef615a8aadd29b5012bf3b3adbdbffdee75d0ce8fa1b50fa78371ed2c2a40ae932e8f50fe870be5541ae2e67f2271071645623589587b36b42533856823c3
|
||||
DIST undo-tree-0.6.3.el.bz2 30745 SHA256 03ca2e1a46ae6edfadcde89e9e5f06a86401a1bc994af88fb36931a7587cb084 SHA512 4d9461a9a074ec670fdebaa27310d350a8554e24ab8fba12a17ca1e339e6bc2ca616545dad1a374b20d0d427e735a3dc342373b12a56acc4553180ee6044bb04 WHIRLPOOL 433f28d49fb870db7c4e69b3e00304c68b38d6f1e0bbeba803aff84dc0b1b2ef67414185af586149a1d68e31511d9496e142134cb377778b605811643f3ff89f
|
||||
DIST undo-tree-0.6.4.el.xz 31124 SHA256 1d84f368a2a4c60c4f2d05e30c61bfa01a7f0804dab6eeb5744e1cc1ee400183 SHA512 e7017b23cceaf544de855bb21059959df539f5380db9c15b62f171d037b6ebb2d31f86f7ab3b724b048dafddfc3d2ace65dfac84c3eb0f6847489afb7f4b99cc WHIRLPOOL 949d6403a568e161ab09db0ab8974cdcc58f0e93bb4f1f3c48e897a57d6d20193644433ca7a3352462d0a0b70545eb6e7e52c163dac3a20f5c536a23df5d882a
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/undo-tree/undo-tree-0.6.3.ebuild,v 1.2 2013/07/19 17:17:07 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
NEED_EMACS=22
|
||||
|
||||
inherit readme.gentoo elisp
|
||||
|
||||
DESCRIPTION="Undo trees and visualization"
|
||||
HOMEPAGE="http://www.dr-qubit.org/emacs.php#undo-tree"
|
||||
SRC_URI="mirror://gentoo/${P}.el.bz2"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
DOC_CONTENTS="To enable undo trees globally, place '(global-undo-tree-mode)'
|
||||
in your .emacs file."
|
@ -1,2 +1 @@
|
||||
DIST ganeti-instance-image-0.5.1.tar.gz 75216 SHA256 ece17b683140d11816f2cdf0ebe1f10ac285433b93d1f7623433a3d9fd6350d0 SHA512 febe00379ec106a895734a4ab480f178d71bd46a5a4622477770993c741a43020ef11bd0e96e3e1e7f02a202ddfaad3f26d64d89c425a46c07649173df1d13ee WHIRLPOOL 03d0feee8d571de1fd9aff01d1bc8d9f63e8af78fb545b9abd3f9be70de94a6becd50c33ec56c1e57793c7b29517f1aafa5e3f03458353a4be01daae81558356
|
||||
DIST ganeti-instance-image-0.6.tar.gz 82534 SHA256 eb8cd0a26acc5b2bd651a1e014688a9f395cef35b4f6393df6a53aeadae1d2fc SHA512 92b5048fe8c40692e8e7c4cb73b21e764660d7cb5f585a8489fc4338eef7df8aae1147d38a849103585a884a0216a0bfb42473d5c1922130e5aada31f5d580c3 WHIRLPOOL d4b04066ad3d11ff995710a7f8932a203a8bc5acb22abe2b202b0e5a84c1075f4f0c7a9d8a18111915abc04a7f67630590edf9f1c520ea6f5960c9e920aa294a
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti-instance-image/ganeti-instance-image-0.5.1.ebuild,v 1.4 2012/10/09 21:15:25 cardoe Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="git://git.osuosl.org/${PN}.git"
|
||||
EGIT_BRANCH="master"
|
||||
inherit git autotools
|
||||
else
|
||||
SRC_URI="http://ftp.osuosl.org/pub/osl/ganeti-instance-image/${P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Scripts to build out CD or image based VMs using Ganeti"
|
||||
HOMEPAGE="http://code.osuosl.org/projects/ganeti-image"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-arch/dump
|
||||
>=app-emulation/ganeti-2.0.3
|
||||
|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp )
|
||||
app-emulation/qemu
|
||||
sys-apps/util-linux
|
||||
sys-fs/multipath-tools
|
||||
sys-fs/e2fsprogs"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --with-default-dir=/etc/ganeti
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
|
||||
rm -rf "${D}"/usr/share/doc/${PN}
|
||||
dodoc README NEWS ChangeLog
|
||||
insinto /etc/ganeti
|
||||
newins defaults ${PN}
|
||||
}
|
@ -0,0 +1,445 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.7.15.ebuild,v 1.1 2014/03/23 05:30:35 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
||||
PLOCALE_BACKUP="en"
|
||||
|
||||
inherit autotools-multilib eutils fdo-mime flag-o-matic gnome2-utils l10n multilib pax-utils toolchain-funcs virtualx
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MY_P="${PN}-${PV/_/-}"
|
||||
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
GV="2.24"
|
||||
MV="4.5.2"
|
||||
PULSE_PATCHES="winepulse-patches-1.7.12"
|
||||
WINE_GENTOO="wine-gentoo-2013.06.24"
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
gecko? (
|
||||
abi_x86_32? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi )
|
||||
abi_x86_64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
|
||||
)
|
||||
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
|
||||
pulseaudio? ( http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2 )
|
||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc +fontconfig +gecko gphoto2 gsm gstreamer +jpeg lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl +png +prelink pulseaudio +realtime +run-exes samba scanner selinux +ssl test +threads +truetype +udisks v4l +X xcomposite xinerama +xml"
|
||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||
test? ( abi_x86_32 )
|
||||
elibc_glibc? ( threads )
|
||||
mono? ( abi_x86_32 )
|
||||
osmesa? ( opengl )" #286560
|
||||
|
||||
# FIXME: the test suite is unsuitable for us; many tests require net access
|
||||
# or fail due to Xvfb's opengl limitations.
|
||||
RESTRICT="test"
|
||||
|
||||
NATIVE_DEPEND="
|
||||
truetype? ( >=media-libs/freetype-2.0.0 )
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
||||
udisks? ( sys-apps/dbus )
|
||||
fontconfig? ( media-libs/fontconfig:= )
|
||||
gphoto2? ( media-libs/libgphoto2:= )
|
||||
openal? ( media-libs/openal:= )
|
||||
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
|
||||
X? (
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXi
|
||||
x11-libs/libXxf86vm
|
||||
)
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups:= )
|
||||
opencl? ( virtual/opencl )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
gsm? ( media-sound/gsm:= )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
ldap? ( net-nds/openldap:= )
|
||||
lcms? ( media-libs/lcms:2= )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
||||
netapi? ( net-fs/samba[netapi(+)] )
|
||||
nls? ( sys-devel/gettext )
|
||||
odbc? ( dev-db/unixODBC:= )
|
||||
osmesa? ( media-libs/mesa[osmesa] )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
scanner? ( media-gfx/sane-backends:= )
|
||||
ssl? ( net-libs/gnutls:= )
|
||||
png? ( media-libs/libpng:0= )
|
||||
v4l? ( media-libs/libv4l )
|
||||
xcomposite? ( x11-libs/libXcomposite )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
!amd64? ( ${NATIVE_DEPEND} )
|
||||
amd64? (
|
||||
abi_x86_64? ( ${NATIVE_DEPEND} )
|
||||
abi_x86_32? (
|
||||
truetype? ( || (
|
||||
>=app-emulation/emul-linux-x86-xlibs-2.1[development]
|
||||
>=media-libs/freetype-2.0.0[abi_x86_32]
|
||||
) )
|
||||
ncurses? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development]
|
||||
sys-libs/ncurses[abi_x86_32]
|
||||
) )
|
||||
udisks? ( || (
|
||||
>=app-emulation/emul-linux-x86-baselibs-20130224[development]
|
||||
sys-apps/dbus[abi_x86_32]
|
||||
) )
|
||||
fontconfig? ( || (
|
||||
app-emulation/emul-linux-x86-xlibs[development]
|
||||
media-libs/fontconfig[abi_x86_32]
|
||||
) )
|
||||
gphoto2? (
|
||||
app-emulation/emul-linux-x86-medialibs[development]
|
||||
)
|
||||
openal? ( || (
|
||||
app-emulation/emul-linux-x86-sdl[development]
|
||||
media-libs/openal[abi_x86_32]
|
||||
) )
|
||||
gstreamer? (
|
||||
app-emulation/emul-linux-x86-gstplugins
|
||||
app-emulation/emul-linux-x86-medialibs[development]
|
||||
)
|
||||
X? ( || (
|
||||
app-emulation/emul-linux-x86-xlibs[development]
|
||||
(
|
||||
x11-libs/libXcursor[abi_x86_32]
|
||||
x11-libs/libXext[abi_x86_32]
|
||||
x11-libs/libXrandr[abi_x86_32]
|
||||
x11-libs/libXi[abi_x86_32]
|
||||
x11-libs/libXxf86vm[abi_x86_32]
|
||||
)
|
||||
) )
|
||||
xinerama? ( || (
|
||||
app-emulation/emul-linux-x86-xlibs[development]
|
||||
x11-libs/libXinerama[abi_x86_32]
|
||||
) )
|
||||
alsa? ( || (
|
||||
app-emulation/emul-linux-x86-soundlibs[alsa,development]
|
||||
media-libs/alsa-lib[abi_x86_32]
|
||||
) )
|
||||
cups? ( app-emulation/emul-linux-x86-baselibs )
|
||||
opencl? ( virtual/opencl[abi_x86_32] )
|
||||
opengl? ( || (
|
||||
app-emulation/emul-linux-x86-opengl[development]
|
||||
(
|
||||
virtual/glu[abi_x86_32]
|
||||
virtual/opengl[abi_x86_32]
|
||||
)
|
||||
) )
|
||||
gsm? ( || (
|
||||
app-emulation/emul-linux-x86-soundlibs[development]
|
||||
media-sound/gsm[abi_x86_32]
|
||||
) )
|
||||
jpeg? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development]
|
||||
virtual/jpeg:0[abi_x86_32]
|
||||
) )
|
||||
ldap? ( app-emulation/emul-linux-x86-baselibs[development] )
|
||||
lcms? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development]
|
||||
media-libs/lcms:2[abi_x86_32]
|
||||
) )
|
||||
mp3? ( || (
|
||||
app-emulation/emul-linux-x86-soundlibs[development]
|
||||
>=media-sound/mpg123-1.5.0[abi_x86_32]
|
||||
) )
|
||||
nls? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development]
|
||||
sys-devel/gettext[abi_x86_32]
|
||||
) )
|
||||
odbc? ( app-emulation/emul-linux-x86-db[development] )
|
||||
osmesa? ( || (
|
||||
>=app-emulation/emul-linux-x86-opengl-20121028[development]
|
||||
media-libs/mesa[osmesa,abi_x86_32]
|
||||
) )
|
||||
pulseaudio? ( || (
|
||||
app-emulation/emul-linux-x86-soundlibs[development]
|
||||
>=media-sound/pulseaudio-4.0-r1[abi_x86_32]
|
||||
) )
|
||||
xml? ( || (
|
||||
>=app-emulation/emul-linux-x86-baselibs-20131008[development]
|
||||
(
|
||||
dev-libs/libxml2[abi_x86_32]
|
||||
dev-libs/libxslt[abi_x86_32]
|
||||
)
|
||||
) )
|
||||
scanner? ( app-emulation/emul-linux-x86-medialibs[development] )
|
||||
ssl? ( app-emulation/emul-linux-x86-baselibs[development] )
|
||||
png? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development]
|
||||
media-libs/libpng:0[abi_x86_32]
|
||||
) )
|
||||
v4l? ( || (
|
||||
app-emulation/emul-linux-x86-medialibs[development]
|
||||
media-libs/libv4l[abi_x86_32]
|
||||
) )
|
||||
xcomposite? ( || (
|
||||
app-emulation/emul-linux-x86-xlibs[development]
|
||||
x11-libs/libXcomposite[abi_x86_32]
|
||||
) )
|
||||
)
|
||||
)"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dos? ( games-emulation/dosbox )
|
||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
||||
samba? ( >=net-fs/samba-3.0.25 )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )
|
||||
pulseaudio? ( realtime? ( sys-auth/rtkit ) )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
amd64? ( abi_x86_32? ( !abi_x86_64? ( ${NATIVE_DEPEND} ) ) )
|
||||
X? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
prelink? ( sys-devel/prelink )
|
||||
>=sys-kernel/linux-headers-2.6
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
sys-devel/flex"
|
||||
|
||||
# These use a non-standard "Wine" category, which is provided by
|
||||
# /etc/xdg/applications-merged/wine.menu
|
||||
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
||||
usr/share/applications/wine-notepad.desktop
|
||||
usr/share/applications/wine-uninstaller.desktop
|
||||
usr/share/applications/wine-winecfg.desktop"
|
||||
|
||||
wine_build_environment_check() {
|
||||
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||
|
||||
if use abi_x86_64 && [[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]]; then
|
||||
eerror "You need gcc-4.4+ to build 64-bit wine"
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
|
||||
if use abi_x86_32 && use opencl && [[ x$(eselect opencl show 2> /dev/null) = "xintel" ]]; then
|
||||
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
||||
eerror "See https://bugs.gentoo.org/487864 for more details."
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
wine_build_environment_check || die
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
wine_build_environment_check || die
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
git-2_src_unpack
|
||||
else
|
||||
unpack ${MY_P}.tar.bz2
|
||||
fi
|
||||
|
||||
use pulseaudio && unpack "${PULSE_PATCHES}.tar.bz2"
|
||||
unpack "${WINE_GENTOO}.tar.bz2"
|
||||
|
||||
l10n_find_plocales_changes "${S}/po" "" ".po"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local md5="$(md5sum server/protocol.def)"
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5.26-winegcc.patch #260726
|
||||
"${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
|
||||
"${FILESDIR}"/${PN}-1.7.12-osmesa-check.patch #429386
|
||||
"${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508
|
||||
)
|
||||
use pulseaudio && PATCHES+=(
|
||||
"../${PULSE_PATCHES}"/*.patch #421365
|
||||
)
|
||||
|
||||
autotools-utils_src_prepare
|
||||
|
||||
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||
tools/make_requests || die #432348
|
||||
fi
|
||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||
if ! use run-exes; then
|
||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
||||
fi
|
||||
|
||||
# hi-res default icon, #472990, http://bugs.winehq.org/show_bug.cgi?id=24652
|
||||
cp "${WORKDIR}"/${WINE_GENTOO}/icons/oic_winlogo.ico dlls/user32/resources/ || die
|
||||
|
||||
l10n_get_locales > po/LINGUAS # otherwise wine doesn't respect LINGUAS
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
local myeconfargs=( "${myeconfargs[@]}" )
|
||||
|
||||
if use amd64; then
|
||||
if [[ ${ABI} == amd64 ]]; then
|
||||
myeconfargs+=( --enable-win64 )
|
||||
else
|
||||
use netapi && ewarn "Disabling netapi in wine32; see https://bugs.gentoo.org/494394"
|
||||
# We currently don't have 32-bit libnetapi on amd64; #494394
|
||||
myeconfargs+=(
|
||||
--without-netapi
|
||||
--disable-win64
|
||||
)
|
||||
fi
|
||||
|
||||
# Note: using --with-wine64 results in problems with multilib.eclass
|
||||
# CC/LD hackery. We're using separate tools instead.
|
||||
fi
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
local myeconfargs=( # common
|
||||
--sysconfdir=/etc/wine
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with lcms cms)
|
||||
$(use_with cups)
|
||||
$(use_with ncurses curses)
|
||||
$(use_with udisks dbus)
|
||||
$(use_with fontconfig)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gsm)
|
||||
$(use_with gstreamer)
|
||||
--without-hal
|
||||
$(use_with jpeg)
|
||||
$(use_with ldap)
|
||||
$(use_with mp3 mpg123)
|
||||
$(use_with netapi)
|
||||
$(use_with nls gettext)
|
||||
$(use_with openal)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
$(use_with oss)
|
||||
$(use_with png)
|
||||
$(use_with threads pthread)
|
||||
$(use_with scanner sane)
|
||||
$(use_enable test tests)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with v4l)
|
||||
$(use_with X x)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
$(use_with xml)
|
||||
$(use_with xml xslt)
|
||||
)
|
||||
|
||||
use pulseaudio && myeconfargs+=( --with-pulse )
|
||||
|
||||
if use amd64 && use abi_x86_32; then
|
||||
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
||||
# set AR and RANLIB to make QA scripts happy; #483342
|
||||
tc-export PKG_CONFIG AR RANLIB
|
||||
fi
|
||||
|
||||
multilib_parallel_foreach_abi do_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-multilib_src_compile depend
|
||||
autotools-multilib_src_compile all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ $(id -u) == 0 ]]; then
|
||||
ewarn "Skipping tests since they cannot be run under the root user."
|
||||
ewarn "To run the test ${PN} suite, add userpriv to FEATURES in make.conf"
|
||||
return
|
||||
fi
|
||||
|
||||
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
||||
multilib_toolchain_setup x86
|
||||
local BUILD_DIR="${S}-${ABI}"
|
||||
cd "${BUILD_DIR}" || die
|
||||
WINEPREFIX="${T}/.wine-${ABI}" Xemake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( ANNOUNCE AUTHORS README )
|
||||
add_locale_docs() {
|
||||
local locale_doc="documentation/README.$1"
|
||||
[[ ! -e ${locale_doc} ]] || DOCS=( "${DOCS[@]}" ${locale_doc} )
|
||||
}
|
||||
l10n_for_each_locale_do add_locale_docs
|
||||
autotools-multilib_src_install
|
||||
|
||||
emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}"
|
||||
if use gecko ; then
|
||||
insinto /usr/share/wine/gecko
|
||||
use abi_x86_32 && doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
||||
use abi_x86_64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
||||
fi
|
||||
if use mono ; then
|
||||
insinto /usr/share/wine/mono
|
||||
doins "${DISTDIR}"/wine-mono-${MV}.msi
|
||||
fi
|
||||
if ! use perl ; then
|
||||
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
|
||||
use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
|
||||
use abi_x86_64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
|
||||
|
||||
if use abi_x86_64 && ! use abi_x86_32; then
|
||||
dosym /usr/bin/wine{64,} # 404331
|
||||
dosym /usr/bin/wine{64,}-preloader
|
||||
fi
|
||||
|
||||
# respect LINGUAS when installing man pages, #469418
|
||||
for l in de fr pl; do
|
||||
use linguas_${l} || rm -r "${D}"usr/share/man/${l}*
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,171 @@
|
||||
diff -ur xen-4.4.0.orig/Config.mk xen-4.4.0/Config.mk
|
||||
--- xen-4.4.0.orig/Config.mk 2014-03-10 18:47:38.000000000 +0800
|
||||
+++ xen-4.4.0/Config.mk 2014-03-23 21:54:07.327717400 +0800
|
||||
@@ -13,8 +13,6 @@
|
||||
# fallback for older make
|
||||
realpath = $(wildcard $(foreach file,$(1),$(shell cd -P $(dir $(file)) && echo "$$PWD/$(notdir $(file))")))
|
||||
|
||||
--include $(XEN_ROOT)/.config
|
||||
-
|
||||
# A debug build of Xen and tools?
|
||||
debug ?= n
|
||||
debug_symbols ?= $(debug)
|
||||
@@ -36,7 +34,7 @@
|
||||
|
||||
# Tools to run on system hosting the build
|
||||
HOSTCC = gcc
|
||||
-HOSTCFLAGS = -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer
|
||||
+HOSTCFLAGS = -Wstrict-prototypes -O2 -fomit-frame-pointer
|
||||
HOSTCFLAGS += -fno-strict-aliasing
|
||||
|
||||
DISTDIR ?= $(XEN_ROOT)/dist
|
||||
@@ -187,7 +185,7 @@
|
||||
|
||||
CFLAGS += -std=gnu99
|
||||
|
||||
-CFLAGS += -Wall -Wstrict-prototypes
|
||||
+CFLAGS += -Wstrict-prototypes
|
||||
|
||||
# Clang complains about macros that expand to 'if ( ( foo == bar ) ) ...'
|
||||
# and is over-zealous with the printf format lint
|
||||
diff -ur xen-4.4.0.orig/extras/mini-os/minios.mk xen-4.4.0/extras/mini-os/minios.mk
|
||||
--- xen-4.4.0.orig/extras/mini-os/minios.mk 2014-03-10 18:43:57.000000000 +0800
|
||||
+++ xen-4.4.0/extras/mini-os/minios.mk 2014-03-23 21:48:41.110722054 +0800
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
# Define some default flags.
|
||||
# NB. '-Wcast-qual' is nasty, so I omitted it.
|
||||
-DEF_CFLAGS += -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format -Wno-redundant-decls
|
||||
+DEF_CFLAGS += -fno-builtin -Wall -Wredundant-decls -Wno-format -Wno-redundant-decls
|
||||
DEF_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
|
||||
DEF_CFLAGS += $(call cc-option,$(CC),-fgnu89-inline)
|
||||
DEF_CFLAGS += -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline
|
||||
diff -ur xen-4.4.0.orig/tools/blktap2/drivers/Makefile xen-4.4.0/tools/blktap2/drivers/Makefile
|
||||
--- xen-4.4.0.orig/tools/blktap2/drivers/Makefile 2014-03-10 18:43:57.000000000 +0800
|
||||
+++ xen-4.4.0/tools/blktap2/drivers/Makefile 2014-03-23 21:55:52.215715903 +0800
|
||||
@@ -9,7 +9,7 @@
|
||||
LOCK_UTIL = lock-util
|
||||
INST_DIR = $(SBINDIR)
|
||||
|
||||
-CFLAGS += -Werror -g
|
||||
+CFLAGS += -g
|
||||
CFLAGS += -Wno-unused
|
||||
CFLAGS += -fno-strict-aliasing
|
||||
CFLAGS += -I$(BLKTAP_ROOT)/include -I$(BLKTAP_ROOT)/drivers
|
||||
diff -ur xen-4.4.0.orig/tools/debugger/gdbsx/Rules.mk xen-4.4.0/tools/debugger/gdbsx/Rules.mk
|
||||
--- xen-4.4.0.orig/tools/debugger/gdbsx/Rules.mk 2014-03-10 18:43:57.000000000 +0800
|
||||
+++ xen-4.4.0/tools/debugger/gdbsx/Rules.mk 2014-03-23 21:56:21.399715487 +0800
|
||||
@@ -1,4 +1,4 @@
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
-CFLAGS += -Werror -Wmissing-prototypes
|
||||
+CFLAGS += -Wmissing-prototypes
|
||||
# (gcc 4.3x and later) -Wconversion -Wno-sign-conversion
|
||||
diff -ur xen-4.4.0.orig/tools/firmware/Rules.mk xen-4.4.0/tools/firmware/Rules.mk
|
||||
--- xen-4.4.0.orig/tools/firmware/Rules.mk 2014-03-10 18:43:57.000000000 +0800
|
||||
+++ xen-4.4.0/tools/firmware/Rules.mk 2014-03-23 22:30:36.056686174 +0800
|
||||
@@ -11,7 +11,7 @@
|
||||
CFLAGS += -DNDEBUG
|
||||
endif
|
||||
|
||||
-CFLAGS += -Werror
|
||||
+CFLAGS +=
|
||||
|
||||
$(call cc-options-add,CFLAGS,CC,$(EMBEDDED_EXTRA_CFLAGS))
|
||||
|
||||
diff -ur xen-4.4.0.orig/tools/libfsimage/Rules.mk xen-4.4.0/tools/libfsimage/Rules.mk
|
||||
--- xen-4.4.0.orig/tools/libfsimage/Rules.mk 2014-03-10 18:43:57.000000000 +0800
|
||||
+++ xen-4.4.0/tools/libfsimage/Rules.mk 2014-03-23 21:57:21.767714626 +0800
|
||||
@@ -1,7 +1,7 @@
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
CFLAGS += -Wno-unknown-pragmas -I$(XEN_ROOT)/tools/libfsimage/common/ -DFSIMAGE_FSDIR=\"$(FSDIR)\"
|
||||
-CFLAGS += -Werror -D_GNU_SOURCE
|
||||
+CFLAGS += -D_GNU_SOURCE
|
||||
LDFLAGS += -L../common/
|
||||
|
||||
PIC_OBJS := $(patsubst %.c,%.opic,$(LIB_SRCS-y))
|
||||
diff -ur xen-4.4.0.orig/tools/libxc/Makefile xen-4.4.0/tools/libxc/Makefile
|
||||
--- xen-4.4.0.orig/tools/libxc/Makefile 2014-03-10 18:43:57.000000000 +0800
|
||||
+++ xen-4.4.0/tools/libxc/Makefile 2014-03-23 21:49:37.919721243 +0800
|
||||
@@ -87,7 +87,7 @@
|
||||
|
||||
-include $(XEN_TARGET_ARCH)/Makefile
|
||||
|
||||
-CFLAGS += -Werror -Wmissing-prototypes
|
||||
+CFLAGS += -Wmissing-prototypes
|
||||
CFLAGS += -I. $(CFLAGS_xeninclude)
|
||||
|
||||
# Needed for posix_fadvise64() in xc_linux.c
|
||||
diff -ur xen-4.4.0.orig/tools/libxl/Makefile xen-4.4.0/tools/libxl/Makefile
|
||||
--- xen-4.4.0.orig/tools/libxl/Makefile 2014-03-10 18:43:57.000000000 +0800
|
||||
+++ xen-4.4.0/tools/libxl/Makefile 2014-03-23 21:58:09.983713938 +0800
|
||||
@@ -11,7 +11,7 @@
|
||||
XLUMAJOR = 4.3
|
||||
XLUMINOR = 0
|
||||
|
||||
-CFLAGS += -Werror -Wno-format-zero-length -Wmissing-declarations \
|
||||
+CFLAGS += -Wno-format-zero-length -Wmissing-declarations \
|
||||
-Wno-declaration-after-statement -Wformat-nonliteral
|
||||
CFLAGS += -I. -fPIC
|
||||
|
||||
diff -ur xen-4.4.0.orig/tools/qemu-xen/pc-bios/optionrom/Makefile xen-4.4.0/tools/qemu-xen/pc-bios/optionrom/Makefile
|
||||
--- xen-4.4.0.orig/tools/qemu-xen/pc-bios/optionrom/Makefile 2014-02-06 00:59:14.000000000 +0800
|
||||
+++ xen-4.4.0/tools/qemu-xen/pc-bios/optionrom/Makefile 2014-03-23 21:59:13.175713036 +0800
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
.PHONY : all clean build-all
|
||||
|
||||
-CFLAGS := -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin
|
||||
+CFLAGS := -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-builtin
|
||||
CFLAGS += -I$(SRC_PATH)
|
||||
CFLAGS += $(call cc-option, $(CFLAGS), -fno-stack-protector)
|
||||
QEMU_CFLAGS = $(CFLAGS)
|
||||
diff -ur xen-4.4.0.orig/tools/tests/mce-test/tools/Makefile xen-4.4.0/tools/tests/mce-test/tools/Makefile
|
||||
--- xen-4.4.0.orig/tools/tests/mce-test/tools/Makefile 2014-03-10 18:43:57.000000000 +0800
|
||||
+++ xen-4.4.0/tools/tests/mce-test/tools/Makefile 2014-03-23 22:28:45.160687756 +0800
|
||||
@@ -1,7 +1,7 @@
|
||||
XEN_ROOT=$(CURDIR)/../../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
-CFLAGS += -Werror
|
||||
+CFLAGS +=
|
||||
CFLAGS += $(CFLAGS_libxenctrl)
|
||||
CFLAGS += $(CFLAGS_libxenguest)
|
||||
CFLAGS += $(CFLAGS_libxenstore)
|
||||
diff -ur xen-4.4.0.orig/tools/tests/mem-sharing/Makefile xen-4.4.0/tools/tests/mem-sharing/Makefile
|
||||
--- xen-4.4.0.orig/tools/tests/mem-sharing/Makefile 2014-03-10 18:43:57.000000000 +0800
|
||||
+++ xen-4.4.0/tools/tests/mem-sharing/Makefile 2014-03-23 22:29:15.472687324 +0800
|
||||
@@ -1,7 +1,7 @@
|
||||
XEN_ROOT=$(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
-CFLAGS += -Werror
|
||||
+CFLAGS +=
|
||||
|
||||
CFLAGS += $(CFLAGS_libxenctrl)
|
||||
CFLAGS += $(CFLAGS_xeninclude)
|
||||
diff -ur xen-4.4.0.orig/tools/tests/xen-access/Makefile xen-4.4.0/tools/tests/xen-access/Makefile
|
||||
--- xen-4.4.0.orig/tools/tests/xen-access/Makefile 2014-03-10 18:43:57.000000000 +0800
|
||||
+++ xen-4.4.0/tools/tests/xen-access/Makefile 2014-03-23 22:30:02.064686659 +0800
|
||||
@@ -1,8 +1,6 @@
|
||||
XEN_ROOT=$(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
-CFLAGS += -Werror
|
||||
-
|
||||
CFLAGS += $(CFLAGS_libxenctrl)
|
||||
CFLAGS += $(CFLAGS_libxenguest)
|
||||
CFLAGS += $(CFLAGS_xeninclude)
|
||||
diff -ur xen-4.4.0.orig/tools/xenstat/xentop/Makefile xen-4.4.0/tools/xenstat/xentop/Makefile
|
||||
--- xen-4.4.0.orig/tools/xenstat/xentop/Makefile 2014-03-10 18:43:57.000000000 +0800
|
||||
+++ xen-4.4.0/tools/xenstat/xentop/Makefile 2014-03-23 22:23:59.944691825 +0800
|
||||
@@ -18,7 +18,7 @@
|
||||
all install xentop:
|
||||
else
|
||||
|
||||
-CFLAGS += -DGCC_PRINTF -Wall -Werror $(CFLAGS_libxenstat)
|
||||
+CFLAGS += -DGCC_PRINTF -Wall $(CFLAGS_libxenstat)
|
||||
LDLIBS += $(LDLIBS_libxenstat) $(CURSES_LIBS) $(SOCKET_LIBS)
|
||||
CFLAGS += -DHOST_$(XEN_OS)
|
||||
|
@ -0,0 +1,135 @@
|
||||
# Copyright 1999-2014 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.0.ebuild,v 1.1 2014/03/23 14:59:41 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_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-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"
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
diff -ur xen-4.2.0.orig/tools/qemu-xen/Makefile.target xen-4.2.0/tools/qemu-xen/Makefile.target
|
||||
--- tools/qemu-xen/Makefile.target 2012-09-11 02:10:52.000000000 +0800
|
||||
+++ tools/qemu-xen/Makefile.target 2012-11-22 07:13:38.894263291 +0800
|
||||
@@ -437,9 +437,6 @@
|
||||
install: all
|
||||
ifneq ($(PROGS),)
|
||||
$(INSTALL) -m 755 $(PROGS) "$(DESTDIR)$(bindir)"
|
||||
-ifneq ($(STRIP),)
|
||||
- $(STRIP) $(patsubst %,"$(DESTDIR)$(bindir)/%",$(PROGS))
|
||||
-endif
|
||||
endif
|
||||
ifdef CONFIG_TRACE_SYSTEMTAP
|
||||
ifdef CONFIG_TRACE_SYSTEMTAP
|
@ -0,0 +1,79 @@
|
||||
diff --git a/tools/qemu-xen/Makefile b/tools/qemu-xen/Makefile
|
||||
index 4d257f1..db2c2ad 100644
|
||||
--- a/tools/qemu-xen/Makefile
|
||||
+++ b/tools/qemu-xen/Makefile
|
||||
@@ -62,7 +62,7 @@ $(call set-vpath, $(SRC_PATH))
|
||||
|
||||
LIBS+=-lz $(LIBS_TOOLS)
|
||||
|
||||
-HELPERS-$(CONFIG_LINUX) = qemu-bridge-helper$(EXESUF)
|
||||
+HELPERS-$(CONFIG_LINUX) = xen-bridge-helper$(EXESUF)
|
||||
|
||||
ifdef BUILD_DOCS
|
||||
DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8 QMP/qmp-commands.txt
|
||||
@@ -186,7 +186,7 @@ qemu-img$(EXESUF): qemu-img.o $(block-obj-y) libqemuutil.a libqemustub.a
|
||||
qemu-nbd$(EXESUF): qemu-nbd.o $(block-obj-y) libqemuutil.a libqemustub.a
|
||||
qemu-io$(EXESUF): qemu-io.o $(block-obj-y) libqemuutil.a libqemustub.a
|
||||
|
||||
-qemu-bridge-helper$(EXESUF): qemu-bridge-helper.o
|
||||
+xen-bridge-helper$(EXESUF): xen-bridge-helper.o
|
||||
|
||||
fsdev/virtfs-proxy-helper$(EXESUF): fsdev/virtfs-proxy-helper.o fsdev/virtio-9p-marshal.o libqemuutil.a libqemustub.a
|
||||
fsdev/virtfs-proxy-helper$(EXESUF): LIBS += -lcap
|
||||
diff --git a/tools/qemu-xen/include/net/net.h b/tools/qemu-xen/include/net/net.h
|
||||
index 30e4b04..6691ff0 100644
|
||||
--- a/tools/qemu-xen/include/net/net.h
|
||||
+++ b/tools/qemu-xen/include/net/net.h
|
||||
@@ -178,7 +178,7 @@ NetClientState *net_hub_port_find(int hub_id);
|
||||
|
||||
#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
|
||||
#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
|
||||
-#define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper"
|
||||
+#define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/xen-bridge-helper"
|
||||
#define DEFAULT_BRIDGE_INTERFACE "br0"
|
||||
|
||||
void qdev_set_nic_properties(DeviceState *dev, NICInfo *nd);
|
||||
diff --git a/tools/qemu-xen/qemu-bridge-helper.c b/tools/qemu-xen/qemu-bridge-helper.c
|
||||
index 6a0974e..74b4635 100644
|
||||
--- a/tools/qemu-xen/qemu-bridge-helper.c
|
||||
+++ b/tools/qemu-xen/qemu-bridge-helper.c
|
||||
@@ -67,7 +67,7 @@ typedef QSIMPLEQ_HEAD(ACLList, ACLRule) ACLList;
|
||||
static void usage(void)
|
||||
{
|
||||
fprintf(stderr,
|
||||
- "Usage: qemu-bridge-helper [--use-vnet] --br=bridge --fd=unixfd\n");
|
||||
+ "Usage: xen-bridge-helper [--use-vnet] --br=bridge --fd=unixfd\n");
|
||||
}
|
||||
|
||||
static int parse_acl_file(const char *filename, ACLList *acl_list)
|
||||
diff --git a/tools/qemu-xen/qemu-options.hx b/tools/qemu-xen/qemu-options.hx
|
||||
index d15338e..f7104f1 100644
|
||||
--- a/tools/qemu-xen/qemu-options.hx
|
||||
+++ b/tools/qemu-xen/qemu-options.hx
|
||||
@@ -1601,7 +1601,7 @@ to disable script execution.
|
||||
|
||||
If running QEMU as an unprivileged user, use the network helper
|
||||
@var{helper} to configure the TAP interface. The default network
|
||||
-helper executable is @file{/usr/local/libexec/qemu-bridge-helper}.
|
||||
+helper executable is @file{/usr/local/libexec/xen-bridge-helper}.
|
||||
|
||||
@option{fd}=@var{h} can be used to specify the handle of an already
|
||||
opened host TAP interface.
|
||||
@@ -1625,7 +1625,7 @@ qemu-system-i386 linux.img \
|
||||
#launch a QEMU instance with the default network helper to
|
||||
#connect a TAP device to bridge br0
|
||||
qemu-system-i386 linux.img \
|
||||
- -net nic -net tap,"helper=/usr/local/libexec/qemu-bridge-helper"
|
||||
+ -net nic -net tap,"helper=/usr/local/libexec/xen-bridge-helper"
|
||||
@end example
|
||||
|
||||
@item -netdev bridge,id=@var{id}[,br=@var{bridge}][,helper=@var{helper}]
|
||||
@@ -1634,7 +1634,7 @@ Connect a host TAP network interface to a host bridge device.
|
||||
|
||||
Use the network helper @var{helper} to configure the TAP interface and
|
||||
attach it to the bridge. The default network helper executable is
|
||||
-@file{/usr/local/libexec/qemu-bridge-helper} and the default bridge
|
||||
+@file{/usr/local/libexec/xen-bridge-helper} and the default bridge
|
||||
device is @file{br0}.
|
||||
|
||||
Examples:
|
@ -0,0 +1,48 @@
|
||||
diff --git a/tools/configure b/tools/configure
|
||||
index afc3000..6187468 100755
|
||||
--- a/tools/configure
|
||||
+++ b/tools/configure
|
||||
@@ -4615,7 +4615,7 @@ if test x"${PERL}" = x"no"
|
||||
then
|
||||
as_fn_error $? "Unable to find perl, please install perl" "$LINENO" 5
|
||||
fi
|
||||
-if test "x$xapi" = "xy"; then :
|
||||
+if test "x$xenapi" = "xy"; then :
|
||||
|
||||
# Extract the first word of "curl-config", so it can be a program name with args.
|
||||
set dummy curl-config; ac_word=$2
|
||||
diff --git a/tools/configure.ac b/tools/configure.ac
|
||||
index 0754f0e..cc884f7 100644
|
||||
--- a/tools/configure.ac
|
||||
+++ b/tools/configure.ac
|
||||
@@ -150,7 +150,7 @@ AC_PROG_INSTALL
|
||||
AC_PATH_PROG([BISON], [bison])
|
||||
AC_PATH_PROG([FLEX], [flex])
|
||||
AX_PATH_PROG_OR_FAIL([PERL], [perl])
|
||||
-AS_IF([test "x$xapi" = "xy"], [
|
||||
+AS_IF([test "x$xenapi" = "xy"], [
|
||||
AX_PATH_PROG_OR_FAIL([CURL], [curl-config])
|
||||
AX_PATH_PROG_OR_FAIL([XML], [xml2-config])
|
||||
])
|
||||
diff --git a/tools/libxen/Makefile b/tools/libxen/Makefile
|
||||
index b66f0bc..94b854b 100644
|
||||
--- a/tools/libxen/Makefile
|
||||
+++ b/tools/libxen/Makefile
|
||||
@@ -22,12 +22,15 @@ MAJOR = 1.0
|
||||
MINOR = 0
|
||||
|
||||
CFLAGS += -Iinclude \
|
||||
- $(shell $(XML2_CONFIG) --cflags) \
|
||||
- $(shell $(CURL_CONFIG) --cflags) \
|
||||
-fPIC
|
||||
|
||||
+ifeq ($(LIBXENAPI_BINDINGS),y)
|
||||
+CFLAGS += $(shell $(XML2_CONFIG) --cflags) \
|
||||
+ $(shell $(CURL_CONFIG) --cflags)
|
||||
+
|
||||
LDFLAGS += $(shell $(XML2_CONFIG) --libs) \
|
||||
$(shell $(CURL_CONFIG) --libs)
|
||||
+endif
|
||||
|
||||
LIBXENAPI_HDRS = $(wildcard include/xen/api/*.h) include/xen/api/xen_all.h
|
||||
LIBXENAPI_OBJS = $(patsubst %.c, %.o, $(wildcard src/*.c))
|
@ -0,0 +1,430 @@
|
||||
# Copyright 1999-2014 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.0.ebuild,v 1.1 2014/03/23 02:37:26 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=
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTRAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/xen-${MY_PV}.tar.gz
|
||||
${UPSTRAM_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 +pam python pygrub screen static-libs"
|
||||
|
||||
REQUIRED_USE="hvm? ( qemu )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
pygrub? ( python )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/lzo:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/yajl
|
||||
dev-libs/libaio
|
||||
dev-libs/libgcrypt
|
||||
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} )
|
||||
arm? ( >=sys-apps/dtc-1.4.0 )
|
||||
!arm? ( sys-devel/bin86
|
||||
sys-firmware/ipxe
|
||||
sys-firmware/seabios
|
||||
sys-devel/dev86
|
||||
sys-power/iasl )
|
||||
dev-lang/perl
|
||||
app-misc/pax-utils
|
||||
dev-python/markdown
|
||||
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 )
|
||||
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"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
export "CONFIG_LOMOUNT=y"
|
||||
|
||||
if has_version dev-libs/libgcrypt; then
|
||||
export "CONFIG_GCRYPT=y"
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
export "CONFIG_IOEMU=y"
|
||||
else
|
||||
export "CONFIG_IOEMU=n"
|
||||
fi
|
||||
|
||||
if ! use x86 && ! has x86 $(get_all_abis) && use hvm; then
|
||||
eerror "HVM (VT-x and AMD-v) cannot be built on this system. An x86 or"
|
||||
eerror "an amd64 multilib profile is required. Remove the hvm use flag"
|
||||
eerror "to build xen-tools on your current profile."
|
||||
die "USE=hvm is unsupported on this system."
|
||||
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
|
||||
#bug 472438
|
||||
export BASH_COMPLETION_DIR=/usr/share/bash-completion
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
# Fix texi2html build error with new texi2html, qemu.doc.html
|
||||
epatch "${FILESDIR}"/${PN}-4-docfix.patch
|
||||
|
||||
# Fix network broadcast on bridged networks
|
||||
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
|
||||
|
||||
# Bug 496708
|
||||
epatch "${FILESDIR}"/${PN}-4-unbundle-ipxe.patch
|
||||
|
||||
# Fix bridge by idella4, bug #362575
|
||||
epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch"
|
||||
|
||||
# Prevent double stripping of files at install
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.4-nostrip.patch
|
||||
|
||||
# fix jobserver in Makefile
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.3-jserver.patch
|
||||
|
||||
# Set dom0-min-mem to kb; Bug #472982
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch
|
||||
|
||||
# Bug 477676
|
||||
epatch "${FILESDIR}"/${PN}-4.3-ar-cc.patch
|
||||
|
||||
# Bug 379537
|
||||
epatch "${FILESDIR}"/fix-gold-ld.patch
|
||||
|
||||
# Prevent file collision with qemu package Bug 478064
|
||||
epatch "${FILESDIR}"/xen-4.4-qemu-bridge.patch
|
||||
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.4-api-fix.patch
|
||||
|
||||
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
|
||||
|
||||
# Disable hvm support on systems that don't support x86_32 binaries.
|
||||
if ! use hvm; then
|
||||
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
|
||||
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
|
||||
|
||||
# Bug 472438
|
||||
sed -e 's:^BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(SHARE_DIR)/bash-completion:' \
|
||||
-i Config.mk || 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
|
||||
|
||||
# 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 \
|
||||
--with-system-seabios=/usr/share/seabios/bios.bin \
|
||||
--disable-xen \
|
||||
--enable-tools \
|
||||
--enable-docs \
|
||||
$(use_enable pam) \
|
||||
$(use_enable api xenapi) \
|
||||
$(use_enable ocaml ocamltools) \
|
||||
"
|
||||
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
|
||||
|
||||
# Reset bash completion dir; Bug 472438
|
||||
mv "${D}"bash-completion "${D}"usr/share/ || 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
|
||||
|
||||
# Move files built with use qemu, Bug #477884
|
||||
if [[ "${ARCH}" == 'amd64' ]] && use qemu; then
|
||||
mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die
|
||||
mv "${D}"usr/lib/xen/bin/* "${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 "$(udev_get_udevdir)"
|
||||
mv "${D}"/etc/udev/* "${D}/$(udev_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"
|
||||
|
||||
if [[ "$(scanelf -s __guard -q "${PYTHON}")" ]] ; then
|
||||
echo
|
||||
ewarn "xend may not work when python is built with stack smashing protection (ssp)."
|
||||
ewarn "If 'xm create' fails with '<ProtocolError for /RPC2: -1 >', see bug #141866"
|
||||
ewarn "This problem may be resolved as of Xen 3.0.4, if not post in the bug."
|
||||
fi
|
||||
|
||||
# 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 multilib system is required to build HVM support."
|
||||
fi
|
||||
|
||||
if use xend; then
|
||||
elog"";elog "xend capability has been enabled and installed"
|
||||
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
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
diff --git a/xen/Makefile b/xen/Makefile
|
||||
index 39839a3..d2603f0 100644
|
||||
--- a/xen/Makefile
|
||||
+++ b/xen/Makefile
|
||||
@@ -38,9 +38,15 @@ _install: Z=$(CONFIG_XEN_INSTALL_SUFFIX)
|
||||
_install: $(TARGET)$(CONFIG_XEN_INSTALL_SUFFIX)
|
||||
[ -d $(D)/boot ] || $(INSTALL_DIR) $(D)/boot
|
||||
$(INSTALL_DATA) $(TARGET)$(Z) $(D)/boot/$(T)-$(XEN_FULLVERSION)$(Z)
|
||||
- ln -f -s $(T)-$(XEN_FULLVERSION)$(Z) $(D)/boot/$(T)-$(XEN_VERSION).$(XEN_SUBVERSION)$(Z)
|
||||
- ln -f -s $(T)-$(XEN_FULLVERSION)$(Z) $(D)/boot/$(T)-$(XEN_VERSION)$(Z)
|
||||
- ln -f -s $(T)-$(XEN_FULLVERSION)$(Z) $(D)/boot/$(T)$(Z)
|
||||
+ if [ 'x$(EFI_VENDOR)' == 'x' ]; then \
|
||||
+ ln -f -s $(T)-$(XEN_FULLVERSION)$(Z) $(D)/boot/$(T)-$(XEN_VERSION).$(XEN_SUBVERSION)$(Z); \
|
||||
+ ln -f -s $(T)-$(XEN_FULLVERSION)$(Z) $(D)/boot/$(T)-$(XEN_VERSION)$(Z);\
|
||||
+ ln -f -s $(T)-$(XEN_FULLVERSION)$(Z) $(D)/boot/$(T)$(Z); \
|
||||
+ else \
|
||||
+ $(INSTALL_DATA) $(TARGET)$(Z) $(D)/boot/$(T)-$(XEN_VERSION).$(XEN_SUBVERSION)$(Z); \
|
||||
+ $(INSTALL_DATA) $(TARGET)$(Z) $(D)/boot/$(T)-$(XEN_VERSION)$(Z);\
|
||||
+ $(INSTALL_DATA) $(TARGET)$(Z) $(D)/boot/$(T)$(Z); \
|
||||
+ fi; \
|
||||
$(INSTALL_DATA) $(TARGET)-syms $(D)/boot/$(T)-syms-$(XEN_FULLVERSION)
|
||||
if [ -r $(TARGET).efi -a -n '$(EFI_DIR)' ]; then \
|
||||
[ -d $(D)$(EFI_DIR) ] || $(INSTALL_DIR) $(D)$(EFI_DIR); \
|
@ -0,0 +1,161 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.4.0.ebuild,v 1.1 2014/03/23 02:15:34 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=
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/${MY_P}.tar.gz
|
||||
${UPSTREAM_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 "${WORKDIR}"/patches-upstream
|
||||
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 " http://www.gentoo.org/doc/en/xen-guide.xml"
|
||||
elog " http://en.gentoo-wiki.com/wiki/Xen/"
|
||||
|
||||
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST samsung-tools-2.0.tar.gz 435233 SHA256 e9f5bc07e58004665d3496d9d5048015c62c2997600b6d446d7d60be2f86ab0d SHA512 93104b09abc95e2cd47ba02e3f6bc415c45111d8a1fae4bfac1ea7600839f00aac31a3fb31c0f18769a4c3ffd20b2a8053c1d312c9b09245763b8c47a4d570b5 WHIRLPOOL 8269409d2ed1f3861c867614f7562f6aca0731249827ea87a7fd0bdb70429d68910097832d5bfc42971394dd3f6792e3b5cd9962d1f4e513c893cd5a1e77f98d
|
||||
DIST samsung-tools-2.1.tar.gz 415254 SHA256 dc5a4d7f24e621785ca9c73f07d18e88cacf0e4b9d77e0f798f7abd9290d6ab9 SHA512 c7e60ef9accd5707913951d37442f9cf1c2363ca4150f0058c1345ea0a8027ddc32b9cf6da386e2c001c75d163034a48dbe16bf0936ade03e7067082257d42bd WHIRLPOOL b629ed0bc7a891148e3c1e9df5d3591a1391ed350d5373b52c44a443d156226dbf02d65afb5c1dcd7270ace3a84365813fccfb87bc84e565f9032e7a6b800673
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/samsung-tools/samsung-tools-2.0.ebuild,v 1.2 2013/07/02 22:00:21 vincent Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit fdo-mime python-r1
|
||||
|
||||
DESCRIPTION="Tools for Samsung laptops"
|
||||
HOMEPAGE="http://launchpad.net/samsung-tools"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-laptop/easy-slow-down-manager
|
||||
dev-python/dbus-python
|
||||
dev-python/notify-python
|
||||
dev-python/pygtk
|
||||
net-wireless/rfkill
|
||||
sys-power/pm-utils
|
||||
x11-misc/xbindkeys"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
return
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
newinitd "${FILESDIR}"/${PN}.init ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST tp_smapi-0.40.tgz 39002 SHA256 ccb0965684cad076160750f2ac380f99373fa73f0bcc1091ffce2492f56349ab SHA512 c275f5bfe54a86bf4a204ec302cb4c5ae69f625b3d71a2bea32e7088b1077211f201f62ea8f92a2c886f614a4db8506bd3387f31536b6a603578a5485ffa3202 WHIRLPOOL 2188f0aff156cde4eafda7bf27ad2c8e01bde6e7fb4e61a4d449b30e85ac0bda0a6a1738c2364504a2b14d526c8b713f01bebc63c440eb9204598ce7ad381a90
|
||||
DIST tp_smapi-0.41.tar.gz 38852 SHA256 6aef02b92d10360ac9be0db29ae390636be55017990063a092a285c70b54e666 SHA512 924a11cdf64bc151d069d4f61ca476cf006773291f363b21a80ce091f560a78c4828d2e522e646a5b133c58149a37cb5c2432a165e92e6980eb510b9488c728e WHIRLPOOL 10c74811148934a49b2d2b65cd65d366c58de03682c02d6b82694b4831634a25f2da9986b0493e28b372abf7ada692ee8ea85b2881b823b0cb7b35b73f348d6e
|
||||
|
@ -1,19 +0,0 @@
|
||||
*** Makefile.orig Mon Nov 23 08:55:42 2009
|
||||
--- Makefile Mon Nov 23 08:57:48 2009
|
||||
***************
|
||||
*** 27,33 ****
|
||||
|
||||
DEBUG := 0
|
||||
|
||||
! ifneq ($(shell [ -f $(KBUILD)/include/linux/aio_abi.h ] && echo 1),1)
|
||||
$(warning Building tp_smapi requires Linux kernel 2.6.19 or newer, and matching kernel headers.)
|
||||
$(warning You may need to override the following Make variables:)
|
||||
$(warning . KVER=$(KVER))
|
||||
--- 27,33 ----
|
||||
|
||||
DEBUG := 0
|
||||
|
||||
! ifneq ($(shell [ -f $(KSRC)/include/linux/aio_abi.h ] && echo 1),1)
|
||||
$(warning Building tp_smapi requires Linux kernel 2.6.19 or newer, and matching kernel headers.)
|
||||
$(warning You may need to override the following Make variables:)
|
||||
$(warning . KVER=$(KVER))
|
@ -1,30 +0,0 @@
|
||||
diff -urN tp_smapi-0.40.orig/thinkpad_ec.c tp_smapi-0.40/thinkpad_ec.c
|
||||
--- tp_smapi-0.40.orig/thinkpad_ec.c 2008-12-16 08:03:06.000000000 +0300
|
||||
+++ tp_smapi-0.40/thinkpad_ec.c 2010-11-22 18:16:54.000000000 +0300
|
||||
@@ -88,7 +88,11 @@
|
||||
#define TPC_PREFETCH_JUNK (INITIAL_JIFFIES+1) /* Ignore prefetch */
|
||||
|
||||
/* Locking: */
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37)
|
||||
static DECLARE_MUTEX(thinkpad_ec_mutex);
|
||||
+#else
|
||||
+static DEFINE_SEMAPHORE(thinkpad_ec_mutex);
|
||||
+#endif
|
||||
|
||||
/* Kludge in case the ACPI DSDT reserves the ports we need. */
|
||||
static int force_io; /* Willing to do IO to ports we couldn't reserve? */
|
||||
diff -urN tp_smapi-0.40.orig/tp_smapi.c tp_smapi-0.40/tp_smapi.c
|
||||
--- tp_smapi-0.40.orig/tp_smapi.c 2008-12-16 08:03:06.000000000 +0300
|
||||
+++ tp_smapi-0.40/tp_smapi.c 2010-11-22 18:17:29.000000000 +0300
|
||||
@@ -109,7 +109,11 @@
|
||||
#define SMAPI_PORT2 0x4F /* fixed port, meaning unclear */
|
||||
static unsigned short smapi_port; /* APM control port, normally 0xB2 */
|
||||
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37)
|
||||
static DECLARE_MUTEX(smapi_mutex);
|
||||
+#else
|
||||
+static DEFINE_SEMAPHORE(smapi_mutex);
|
||||
+#endif
|
||||
|
||||
/**
|
||||
* find_smapi_port - read SMAPI port from NVRAM
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/tp_smapi-0.40-r1.ebuild,v 1.5 2012/04/12 12:23:54 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils linux-mod
|
||||
|
||||
DESCRIPTION="IBM ThinkPad SMAPI BIOS driver"
|
||||
HOMEPAGE="http://tpctl.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/tpctl/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
IUSE="hdaps"
|
||||
|
||||
RESTRICT="userpriv"
|
||||
|
||||
# We need dmideode if the kernel does not support DMI_DEV_TYPE_OEM_STRING
|
||||
# in dmi.h
|
||||
DEPEND="sys-apps/dmidecode"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
|
||||
if kernel_is lt 2 6 19; then
|
||||
eerror
|
||||
eerror "${P} requires Linux kernel 2.6.19 or above."
|
||||
eerror
|
||||
die "Unsupported kernel version"
|
||||
fi
|
||||
|
||||
MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)"
|
||||
BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_OUT_DIR}"
|
||||
BUILD_TARGETS="default"
|
||||
|
||||
if use hdaps; then
|
||||
|
||||
CONFIG_CHECK="~INPUT_UINPUT"
|
||||
WARNING_INPUT_UINPUT="Your kernel needs uinput for the hdaps module to perform better"
|
||||
linux-info_pkg_setup
|
||||
|
||||
MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)"
|
||||
BUILD_PARAMS="${BUILD_PARAMS} HDAPS=1"
|
||||
|
||||
CONFIG_CHECK="~!SENSORS_HDAPS"
|
||||
ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)"
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-2.6.37.patch"
|
||||
epatch "${FILESDIR}"/fix_header_check.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
dodoc CHANGES README
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-leechcraft/lc-certmgr/lc-certmgr-9999.ebuild,v 1.1 2014/03/23 14:42:19 maksbotan Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit leechcraft
|
||||
|
||||
DESCRIPTION="SSL certificates manager for LeechCraft"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="~app-leechcraft/lc-core-${PV}"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>emacs</herd>
|
||||
<herd>leechcraft</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-leechcraft/lc-cpuload/lc-cpuload-9999.ebuild,v 1.1 2014/03/23 14:42:19 maksbotan Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit leechcraft
|
||||
|
||||
DESCRIPTION="CPU load graph quark"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="~app-leechcraft/lc-core-${PV}"
|
||||
RDEPEND="${DEPEND}
|
||||
virtual/leechcraft-quark-sideprovider
|
||||
"
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>leechcraft</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-leechcraft/lc-ooronee/lc-ooronee-9999.ebuild,v 1.1 2014/03/23 14:42:19 maksbotan Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit leechcraft
|
||||
|
||||
DESCRIPTION="Quark handling text and images droppend onto it"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="~app-leechcraft/lc-core-${PV}"
|
||||
RDEPEND="${DEPEND}
|
||||
virtual/leechcraft-quark-sideprovider
|
||||
"
|
||||
|
||||
# Grabbed from net-misc/netctl ebuild.
|
||||
optfeature() {
|
||||
local desc=$1
|
||||
shift
|
||||
while (( $# )); do
|
||||
if has_version "$1"; then
|
||||
elog " [I] $1 to ${desc}"
|
||||
else
|
||||
elog " [ ] $1 to ${desc}"
|
||||
fi
|
||||
shift
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Install at least some of the following additional LeechCraft modules for Ooronee to be useful:"
|
||||
optfeature "upload images" app-leechcraft/lc-imgaste app-leechcraft/lc-blasq
|
||||
optfeature "search via OpenSearch" app-leechcraft/lc-seekthru
|
||||
optfeature "search via Google" app-leechcraft/lc-pogooglue
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>leechcraft</herd>
|
||||
</pkgmetadata>
|
@ -1,2 +1 @@
|
||||
DIST grabcartoons-2.1.tar.gz 19586 SHA256 cb8c8312bf4dd6e8189d17fdea7a3f6c70aacb8b6b85cae3af1dfde400033811 SHA512 b70797dea0d66b45096c01a9baf64d3ad88ceb0b0485e26eb1fc8963828548817c0bf88912c39bbdaf0c6c12f675923c35ff2d782605028f984e34a81b5a1b4d WHIRLPOOL ad4172ec4223c888308ddbab7ec63a4e14cf2adbe61ca8d763a706dc70f127615f86917cee944af1cedb9c5679888333bd2a7079dbac48aed25dc63750d891e0
|
||||
DIST grabcartoons-2.4.tar.gz 24779 SHA256 9dbd099d43bcf7b09cf6295318d1c85c42c24e47640babdfb24295c8fc18b4fd SHA512 015229a48a5b146a2a334749305bff6cbf69dd3097ae047650d7f814ab88e1d9f6c6c752434d385a8f3aa6f122585390a72e51e3d0374b3a8e37a709bf091e0c WHIRLPOOL fbb2e3a538c6e950880930c54f9d7d59625c104ac62b336442051c95e827264c32502e764b6cedfacc53665f38338765d5ea7a41a6e307406a74335476a77dcc
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/grabcartoons/grabcartoons-2.1.ebuild,v 1.2 2012/10/29 08:27:51 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="comic-summarizing utility"
|
||||
HOMEPAGE="http://grabcartoons.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-lang/perl"
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${D}"/usr install
|
||||
dodoc ChangeLog README
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
Description: Fix build with gcc4.8 and -fpermissive
|
||||
Bug-Debian: http://bugs.debian.org/701292
|
||||
Last-Update: 2013-08-11
|
||||
|
||||
--- granule-1.4.0-7.orig/src/Granule.cpp
|
||||
+++ granule-1.4.0-7/src/Granule.cpp
|
||||
@@ -56,7 +56,7 @@ ASSA_DECL_SINGLETON(Granule);
|
||||
|
||||
static const int TIMEOUT = 2000; // 2 seconds (1,000 mls = 1 sec).
|
||||
|
||||
-template <> xmlExternalEntityLoader Granule::m_default_entity_loader = 0;
|
||||
+xmlExternalEntityLoader Granule::m_default_entity_loader = 0;
|
||||
|
||||
/*******************************************************************************
|
||||
Member Functions
|
@ -1,2 +1,3 @@
|
||||
DIST ktoblzcheck-1.33.tar.gz 579013 SHA256 ecebd9713f0ed9a81df7d77d32625d6955ca8323a8ea4e7aac639fbc7696ec6e SHA512 d2cdbd8d6760c03c8b43f30cadd0226c46b1efe71c57e6f7d1de661f1a09a7af860bdc082aab6ae8ce88c2f09b67baf6c13cf214048ef22fcae248633683dfaf WHIRLPOOL 3bac64a20c1ef7103b5ba84fdbf29c8b394be9f69002bf0fec32e4abd1f64cda333893ab24827f4cf454be31861286abec43ef864192c846fffa452d5562d6be
|
||||
DIST ktoblzcheck-1.39.tar.gz 547649 SHA256 c7017be79b58d0b6c2e919877b7d320da5dcba92d558f36f437da34d9b2dcb41 SHA512 d393fef7aba5af7a0f3901b9a646f5869e66116c1ac065f091d0c6d10bb8fd305ade2acdc1ad64c3f4cecd1ed4162a0b1b5ddc92cd557aa0f9bdfa3dd6225734 WHIRLPOOL 33fd63878ff88c15090aa4eceed30c8edc4021a7bed851068fe6d244b6ce26714616c75ab8821568e13b27a5dec4e4ed8b2b2be8834b24c7ce8c2b42f930496e
|
||||
DIST ktoblzcheck-1.45.tar.gz 572929 SHA256 f5be987c7f7c6935ad8ef80349beea6852f16dd9e16fd1494c9864ce3394a289 SHA512 07c8ed763961c245f55e739d6d821d09d7fe8965365dd74f1e14d5a634eb55dcb8e7abc50700a905450510c2491a1776cc03bf343391147e373e238d30fbb5d8 WHIRLPOOL 2a9304e4052c79d76708823bfdd21b90d7c5206ca6612b6e3b79b5965612d6b4eb7f25b6a45284aafe8b7ac860e6185f3bedd1df4b195cbc7c135d1faf317fba
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/ktoblzcheck/ktoblzcheck-1.45.ebuild,v 1.1 2014/03/22 17:39:47 hanno Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND="python? 2:2.6"
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="Library to check account numbers and bank codes of German banks"
|
||||
HOMEPAGE="http://ktoblzcheck.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="python"
|
||||
|
||||
RDEPEND="app-text/recode
|
||||
virtual/awk
|
||||
sys-apps/grep
|
||||
sys-apps/sed
|
||||
|| ( net-misc/wget www-client/lynx )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/libtool-2.2.6b"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
>py-compile
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable python)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize ktoblzcheck.py
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup ktoblzcheck.py
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST smart-live-rebuild-1.3.2.tar.bz2 16083 SHA256 d2524cfd7fc73a744b495b78763ba40ddca342d0454a92549cfa6ccce18cb992 SHA512 6ebd1f6098d51cd7970af249e38da08e85d8eaa067697266c0ad668e94420ef03e9e6196ab913a5d6e6a635472253b7f2c262681283980f98132c44f490079c0 WHIRLPOOL 359e3a6038b00b2d5cc18a134356d6703fb8e6845a28836e225fd80ff9ddf4befd44177283f5c6c8210cb877539d8fe94b19f0e3b005eb5c3d3203f2ca44f19c
|
||||
DIST smart-live-rebuild-1.3.3.tar.bz2 16270 SHA256 7ec74e796695dfb8ee34c3172b6abe20d77d5523679cc3890f02e06384eb716a SHA512 e06105e7cca91151e37b501de258ddce15ccd3afb356391485bbbe37021cea6fe6a04140b29526547cf52503fc9272c15e621b84deba2e04cde07539b61268f2 WHIRLPOOL 6bdb5415b477b334d47c9046816251f7f7bae1731d49b93e7b67baee12aaa7355d3a6602a5fc804b6372bc777eceaf4e225e252c6c1d0e23d1277564c16967d6
|
||||
DIST smart-live-rebuild-1.3.tar.bz2 16020 SHA256 7eb2a181f8a4191906a6848df512cbd5b8a5692dc7831995f3aadfb35d517499 SHA512 14bbc3ba44706a698c4287e841531081e5c7f95147f052d08b8060b700fe48d8cdab8b9d7486e7f52c8f23be496eadcbcafb5c407ef4937181a2a6a96ef86ed7 WHIRLPOOL d796e81f9b9a71e6c663a9bbff5b87c97eb50f27d24333568646ab7aa82054930cd3aeb022574408d03ca5f447870ad2003edede4fa006ec5eb8842f406aa326
|
||||
DIST smart-live-rebuild-1.3.4.tar.bz2 16022 SHA256 1d949b91a925faaae70b46c88b5af8d4b72a1a435abd85845dd8adadae5f3d92 SHA512 4dc50b226b8bd2dc2ce8f7d41eccff2d788cc5c4caa779d22a40d53a491726153419c6678e3bac764238cf9e7adf0dc4c1631a4e11df9b88deb0f9dc7c0e7cd7 WHIRLPOOL 39d8732aee4b09b464e45e990e26ce49989280e0734f27fccdbb5044b0a1d983a9e1cf25529a650feb7faab13ec63c1c116e535897c6c2845af0efcc1a8f079b
|
||||
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/smart-live-rebuild/smart-live-rebuild-1.3.ebuild,v 1.8 2013/09/05 18:24:59 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python2_6 python2_7 python3_2 python3_3)
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Check live packages for updates and emerge them as necessary"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/smart-live-rebuild/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ~mips x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-portage/gentoopm-0.2.1[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" setup.py test || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
insinto /etc/portage
|
||||
newins smart-live-rebuild.conf{.example,}
|
||||
insinto /usr/share/portage/config/sets
|
||||
newins sets.conf.example ${PN}.conf
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/shish/shish-0.7_pre3.ebuild,v 1.3 2008/03/14 20:45:42 hollow Exp $
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="The diet shell"
|
||||
HOMEPAGE="http://www.blah.ch/shish/"
|
||||
SRC_URI="http://www.blah.ch/${PN}/pkg/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
IUSE="debug diet"
|
||||
|
||||
DEPEND="diet? ( dev-libs/dietlibc )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
use diet && export CC="diet $(tc-getCC) -nostdinc"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf $(use_enable debug) || die "econf failed"
|
||||
|
||||
# parallel make is b0rked
|
||||
emake -j1 || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
doman doc/man/shish.1
|
||||
dodoc AUTHORS BUGS README TODO ChangeLog
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Updating ${ROOT}etc/shells"
|
||||
( grep -v "^/bin/shish$" "${ROOT}"etc/shells; echo "/bin/shish" ) > "${T}"/shells
|
||||
mv -f "${T}"/shells "${ROOT}"etc/shells
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST hnb-1.9.17.tar.gz 143700 SHA256 c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4 SHA512 48ca89336027b54ddec31064294595498f10927d9b69a115bfbdecf79ebc720873c0cc70dc646422f196cff7aa4fda68fc2f68f4ddacfac53d4363ed295d2e7a WHIRLPOOL 4b1e6aa7c002dbf12d6e9385b594a18c5677c365dfed840b018869336e66c0dfc3128edf6c95b364ec23d874880888c1cd29051421263247cc2d1572c47c33df
|
||||
DIST hnb-1.9.18.tar.gz 166043 SHA256 b9a1e567d904dc9d3eb262e4f6fd46a4494339452333c35d77e154c7b0d5031f SHA512 9919a5d6512b6da3d19cc8efbed21d4452a2f6a343a38758c36728f73415b6e8ad57e24ff3eec17eb4e1e53b458d579c165ae1ad906f5b75f2fd42897159a30f WHIRLPOOL 713bb592a3122e7fcaad0a6378134dbf6055d41004020bef4ddff0d1ac59ff596337b41b54792726cb170c8155ac4bf2ce4e9d0ebddb1ea5f403c0802e45330e
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/hnb/hnb-1.9.17.ebuild,v 1.12 2009/07/23 22:31:07 vostorga Exp $
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A program to organize many kinds of data in one place."
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
HOMEPAGE="http://hnb.sourceforge.net/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="x86 ppc ~sparc"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README doc/hnbrc
|
||||
doman doc/hnb.1
|
||||
dobin src/hnb
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST libxmlpatch-0.3.1.tar.gz 356298 SHA256 6af1168118b12bb90b74483aaaceb80154fb9f4f9294abca0505208c6fbb6edb SHA512 2beb865d123bd74aca944b7ce478d6edf3636c3ca4fcdea402efc4abe123f2fbbf6b55bd824be2df2ef9d0e95df2573d2ed7e82f21e08555ea879c5f03c3e34e WHIRLPOOL 9873247f42b6028c665e0955d4d18290d04ff91b21eb9191c405cb982330c42fe6e27a2b8ea7f17ad0f7714be3ceb13c47f09cfefbb15b56410114ddef8c9e7b
|
||||
DIST libxmlpatch-0.3.3.tar.gz 405496 SHA256 7236eec7bc450580c99c2d465ce2573687bb0229aa469e961bcbb0ffcb029d55 SHA512 2eb305ddd6aa1778bc9c9e7b8cae5f82ee05c0ed0a47bbb651209c496fff68f4e527b7d6ad1808bc8bf1f72aaa0172a12ddb140622ce87e3cd150a0ec4d35571 WHIRLPOOL 4a65435573490a7d07279ee7d7c6701ba3942c7b2340523af91481d46a1dbd4131cf19ccdcb6be0506735fe260be93e772839808b6c455781d81b8f79ec65def
|
||||
|
@ -1,12 +0,0 @@
|
||||
Index: libxmlpatch-0.3.1/diff/Makefile.am
|
||||
===================================================================
|
||||
--- libxmlpatch-0.3.1.orig/diff/Makefile.am
|
||||
+++ libxmlpatch-0.3.1/diff/Makefile.am
|
||||
@@ -29,6 +29,7 @@ INCLUDES = $(DEPS_XML_CFLAGS) $(DEPS_GLI
|
||||
lib_LTLIBRARIES = libxmldiff.la
|
||||
|
||||
libxmldiff_la_SOURCES = xml_diff.c
|
||||
+libxmldiff_la_LIBADD = $(DEPS_GLIB_LIBS)
|
||||
|
||||
libxmldiff_includedir = $(includedir)/libxmldiff
|
||||
libxmldiff_include_HEADERS = xml_diff.h
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/libxmlpatch/libxmlpatch-0.3.1.ebuild,v 1.3 2012/05/04 03:33:13 jdhore Exp $
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="A set of tools to create and apply patch to XML files using XPath"
|
||||
HOMEPAGE="http://xmlpatch.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN/lib}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/glib"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}/${P}-asneeded.patch"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc LEGAL_NOTICE README TODO AUTHORS NEWS ChangeLog
|
||||
}
|
@ -1,104 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/openjade/openjade-1.3.2-r3.ebuild,v 1.12 2013/01/02 21:38:35 floppym Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit libtool sgml-catalog eutils flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="Jade is an implementation of DSSSL - an ISO standard for formatting SGML and XML documents"
|
||||
HOMEPAGE="http://openjade.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/openjade/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="app-text/sgml-common
|
||||
>=app-text/opensp-1.5.1"
|
||||
DEPEND="dev-lang/perl
|
||||
${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-deplibs.patch \
|
||||
"${FILESDIR}"/${P}-ldflags.patch \
|
||||
"${FILESDIR}"/${P}-msggen.pl.patch \
|
||||
"${FILESDIR}"/${P}-respect-ldflags.patch \
|
||||
"${FILESDIR}"/${P}-libosp-la.patch \
|
||||
"${FILESDIR}"/${P}-gcc46.patch
|
||||
|
||||
# Please note! Opts are disabled. If you know what you're doing
|
||||
# feel free to remove this line. It may cause problems with
|
||||
# docbook-sgml-utils among other things.
|
||||
ALLOWED_FLAGS="-O -O1 -O2 -pipe -g -march"
|
||||
strip-flags
|
||||
|
||||
# Default CFLAGS and CXXFLAGS is -O2 but this make openjade segfault
|
||||
# on hppa. Using -O1 works fine. So I force it here.
|
||||
use hppa && replace-flags -O2 -O1
|
||||
|
||||
ln -s config/configure.in configure.ac
|
||||
#eautoreconf
|
||||
elibtoolize
|
||||
|
||||
SGML_PREFIX=/usr/share/sgml
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-http \
|
||||
--enable-default-catalog=/etc/sgml/catalog \
|
||||
--enable-default-search-path=/usr/share/sgml \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--datadir=/usr/share/sgml/${P} \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 SHELL=/bin/bash || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)
|
||||
|
||||
make DESTDIR="${D}" \
|
||||
libdir=/usr/$(get_libdir) \
|
||||
SHELL=/bin/bash \
|
||||
install install-man || die "make install failed"
|
||||
|
||||
dosym openjade /usr/bin/jade
|
||||
dosym onsgmls /usr/bin/nsgmls
|
||||
dosym osgmlnorm /usr/bin/sgmlnorm
|
||||
dosym ospam /usr/bin/spam
|
||||
dosym ospent /usr/bin/spent
|
||||
dosym osx /usr/bin/sgml2xml
|
||||
|
||||
insinto /usr/share/sgml/${P}/
|
||||
doins dsssl/builtins.dsl
|
||||
|
||||
echo 'SYSTEM "builtins.dsl" "builtins.dsl"' > ${D}/usr/share/sgml/${P}/catalog
|
||||
insinto /usr/share/sgml/${P}/dsssl
|
||||
doins dsssl/{dsssl.dtd,style-sheet.dtd,fot.dtd}
|
||||
newins "${FILESDIR}"/${P}.dsssl-catalog catalog
|
||||
# Breaks sgml2xml among other things
|
||||
# insinto /usr/share/sgml/${P}/unicode
|
||||
# doins unicode/{catalog,unicode.sd,unicode.syn,gensyntax.pl}
|
||||
insinto /usr/share/sgml/${P}/pubtext
|
||||
doins pubtext/*
|
||||
|
||||
dodoc NEWS README VERSION
|
||||
dohtml doc/*.htm
|
||||
|
||||
insinto /usr/share/doc/${PF}/jadedoc
|
||||
doins jadedoc/*.htm
|
||||
insinto /usr/share/doc/${PF}/jadedoc/images
|
||||
doins jadedoc/images/*
|
||||
}
|
||||
|
||||
sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
|
||||
"/usr/share/sgml/openjade-${PV}/catalog"
|
||||
sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
|
||||
"/usr/share/sgml/openjade-${PV}/dsssl/catalog"
|
||||
sgml-catalog_cat_include "/etc/sgml/sgml-docbook.cat" \
|
||||
"/etc/sgml/${P}.cat"
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/ots/ots-0.5.0.ebuild,v 1.11 2012/08/05 20:51:32 blueness Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Open source Text Summarizer, as used in newer releases of abiword and kword."
|
||||
HOMEPAGE="http://libots.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/libots/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ~mips ppc ppc64 ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="=dev-libs/glib-2*
|
||||
>=dev-libs/libxml2-2.4.23
|
||||
>=dev-libs/popt-1.5"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-math.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# bug 97448
|
||||
econf --disable-gtk-doc || die
|
||||
|
||||
# ugly ugly hack, kick upstream to fix its packaging
|
||||
touch "${S}"/gtk-doc.make
|
||||
|
||||
# parallel make fails, bug 112932
|
||||
emake -j1 || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
rm -rf "${D}"/usr/share/doc/libots
|
||||
dodoc AUTHORS BUGS ChangeLog HACKING NEWS README TODO
|
||||
cd "${S}"/doc/html
|
||||
dohtml -r ./
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/zpspell/zpspell-0.4.3.ebuild,v 1.5 2013/06/17 11:11:08 pinkbyte Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Zemberek-Pardus spell checker interface."
|
||||
HOMEPAGE="http://www.pardus.org.tr/projeler/masaustu/zemberek-pardus"
|
||||
SRC_URI="http://cekirdek.uludag.org.tr/~baris/zpspell/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/dbus-glib"
|
||||
RDEPEND="${DEPEND}
|
||||
app-text/zemberek-server"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/add-gobject-linkage-11566.diff
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
dodoc AUTHORS README || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please visit ${HOMEPAGE} for"
|
||||
elog "documentation on how to configure and run Zemberek spellchecker for KDE."
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue