parent
c502308135
commit
cdc3c33947
@ -1,6 +1,6 @@
|
||||
DIST libvirt-1.0.3-9bf6bec4.tar.xz 7032 SHA256 841f062bd4185ac36a5633103c899d4ef5da6a2092ef1a2f7125298ec336b18b SHA512 7eeba343a27c4dbe5e984641082c6f8c59ba0c04a22c5a3e390c0bf03e65a966e7db15be732c61473d2dfb245bdd53f950d3a848980153b90310439b781bbcdc WHIRLPOOL 8d90ebc9fc17a7c8ac119f34b2e64679322878c0c8dd7eb837f2b5e89047b084ec87e9966841d0aaf7ed19e75548b9d5f5f66d461e2f177a5e817669471a27c8
|
||||
DIST libvirt-1.0.3.tar.gz 23238381 SHA256 f64f4acd7cdcfc6ab5e803195ed58b949f262b54e3659d8c37b33f0fec112757 SHA512 f0002d40a018e22bd05c9bc990db0b14e0ec815613f54d04fc3b631081d87b6659620188da9f0ba376f290206d979467013274ab99b7394c66bde54c82e08fb4 WHIRLPOOL 29dad8e6b1e4d61fe83fc450436c0fdc200b360f93772c2fefe40ab443ec2a7cb6566e634d15290beb4f7ea1f461503b1cd86accddde59659ed46b60b56e3d76
|
||||
DIST libvirt-1.0.5.1-dc200aa8.tar.xz 4796 SHA256 8ef94c68621d06bd915a25db6cfb45b0ee95db7312da278923ec89f4768b176b SHA512 9c21b4e0cef5da74872214a98eeb2bdf0d31376fce7745862b122167ed5f18487cc6c18e0328faefc993ba78abffa01c83262c53401710d62642507b002ae280 WHIRLPOOL bc09f49cda8077230241af0616d0396e9f71bb6d5087010c17084895af583957b7ac3ae2977f3e330d77192c933fea870a19a01e72fb55bc2dc90437c9b7ef63
|
||||
DIST libvirt-1.0.5.1-b8430867.tar.xz 5044 SHA256 9e3cdc94159a97fe2a0fd7ca889abff997443f6ac744841fe175bb586dfee9d4 SHA512 67eef7c25a2e477c4e745dd67602045a0581b3cd28a077f4d5dd230e0a05a9ebd641f3ef4440c69edd56db0ec2acfa81b5c579a4392372d0b87af8125465efe7 WHIRLPOOL c3e463c74acac975c4a2596892825fc79179c4dc75efbe7941845066ce987a6ffa01abe11afe8169dfd7009b7cbfcd81b071e64e1e3fb899ae114a62c8a9635a
|
||||
DIST libvirt-1.0.5.1.tar.gz 23928327 SHA256 38a67d9dc979ed28440791eb3fd63e94e4d04e4efbe7554a83bdf0cc614d0a6e SHA512 8cc3850dcda93b2d4efcd055a91ca9f2a619ccb9585e5b9fd7e2daf6ee8e93c1a0354fbc7fa06f6d5663913f358c2fbd9569a5e307b90e91607b0e049f00c89d WHIRLPOOL 51298d87cddee79f352609306c77d3f1813684c931b11ea577d96560e366b112dfc625553a86fe21c291d7e9bba86024055b236029be56c3c6390cde49875e8b
|
||||
DIST libvirt-1.0.6-9eea7e71.tar.xz 2100 SHA256 27ec140988d6f8a5d6b68fd57ea06e4f3f04ec2e5c93f712826c77c5dc123277 SHA512 cf288715614ccbb247fcc2e73e6953967be56c3ba1d7b2569305a5001e3160c797fdc28697548fa09983bcceea4f181528967ff03ccbe071ce620a0144749c2e WHIRLPOOL c558eead1619bd20390051bd1f0af9db2dfb5012a2521e5868d420499a93324c3d8c8ac13a2ced70ebb1784e90c4797e6d668dccc01e20df018162b52e1c1612
|
||||
DIST libvirt-1.0.6.tar.gz 24056615 SHA256 a188eb2056d7936c4c9605f4d435b9097880ec359e10be6546f2c9fa665de67d SHA512 27948694d80df73de335ccd1dffaff4b4e14345f06d9e4043a7a2402dbede3db441da3ceffe3d54fcf6a34c37ea862b91198dd9b63a131b40aedab95a1646308 WHIRLPOOL 99a37abe34d17ce083ad1f908027ddf79d75a9c2c9ae1d30986ca7c6e112adc326208bd100faacc93d70879f59f2cfc2acd3f274181dac0a9d1b156268d91714
|
||||
|
@ -1 +1,2 @@
|
||||
DIST reptyr-0.4.tar.gz 15654 SHA256 9cc682693d962d78ce1da58720823034ef2fa67d5ef5110144ce78d9c81e7341 SHA512 d3a713eaf338b9750aa8734afb3a88343ba05fe9a3494f129012a7da016c5cce359eddee1931aa0993e285c0eb012d7574026a2c56df9ac6ccae040c5f3f64d0 WHIRLPOOL 3df5aa947575a95e9d1c6d81dc8a6b7dc4b7d0420a4a5cd302d0bc0cf993586c0325a9e3c13861a9e54f1016afd6c4cdc06eca6aa8bed785f7ae3ee56073773e
|
||||
DIST reptyr-0.5.tar.gz 16150 SHA256 b58bff5e06096ce4409983cce85fabc1280ed4115c478c0fec968ce2a4dcec1c SHA512 d38d5986b38c643a2c04429e23d5af0cbd7280ed709c441cf0e217f4fe0e4fd19d7ecb76817aedcf9a2092a8041e22aa77828c07e0cea010478192085b1d8f4b WHIRLPOOL 19fdb5f35b05c2f03ab5af1cc2e2b1510733f1b54d6af6bb14db31185f432df5ff7515b1b36207b976ca5beb2649ca7a1c51d52cb0827280e62bedd05e965726
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/reptyr/reptyr-0.5.ebuild,v 1.1 2013/06/10 03:42:54 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit toolchain-funcs flag-o-matic vcs-snapshot
|
||||
|
||||
DESCRIPTION="A utility to attach a running program to a new terminal"
|
||||
HOMEPAGE="https://github.com/nelhage/reptyr"
|
||||
SRC_URI="https://github.com/nelhage/${PN}/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
src_prepare() {
|
||||
# respect CFLAGS
|
||||
sed -i '/^override/d' Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
append-cppflags -D_GNU_SOURCE
|
||||
emake CC=$(tc-getCC) CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
|
||||
dodoc ChangeLog NOTES README.md
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST higan_v092-source.tar.xz 790136 SHA256 b73a740c6a8a82fe42a3f166df16806a6fbe8c140c82d7f6089ed984d7491168 SHA512 42cf0ed599ab7cd2da3b52c39cc1402d3af7112999ad1db2c625d9fb2b94631a55526177dcfbdbd1d065c971603fc9b1488bdea0b367a266f1740f263c207dbc WHIRLPOOL a6fdd199ef77dcb1cd7b556ab8fa5e1eefd71eb1c51aae8f58ab7f19c25707ba40836741bb10f4cda6026031e43745f637ce3c39cc4288600c10c749cc13899f
|
@ -0,0 +1,11 @@
|
||||
diff --git a/ananke/patch.cpp b/ananke/patch.cpp
|
||||
index a2dc1f9..6692800 100755
|
||||
--- a/ananke/patch.cpp
|
||||
+++ b/ananke/patch.cpp
|
||||
@@ -1,5 +1,5 @@
|
||||
void Ananke::applyBeatPatch(vector<uint8_t> &buffer) {
|
||||
- string name = {nall::basename(information.name), ".bps"};
|
||||
+ string name = {information.path, nall::basename(information.name), ".bps"};
|
||||
if(!file::exists(name)) return;
|
||||
|
||||
bpspatch patch;
|
@ -0,0 +1,20 @@
|
||||
--- higan_v092-source/ananke/Makefile
|
||||
+++ higan_v092-source/ananke/Makefile
|
||||
@@ -2,7 +2,7 @@
|
||||
include phoenix/Makefile
|
||||
|
||||
path := /usr/local/lib
|
||||
-flags := -I. -O3 -fomit-frame-pointer
|
||||
+flags := -I. $(CXXFLAGS)
|
||||
ifeq ($(arch),win32)
|
||||
flags := -m32 $(flags)
|
||||
endif
|
||||
@@ -10,7 +10,7 @@
|
||||
all:
|
||||
$(cpp) $(flags) -fPIC -o ananke.o -c ananke.cpp
|
||||
ifeq ($(platform),x)
|
||||
- $(cpp) $(flags) -shared -Wl,-soname,libananke.so.1 -o libananke.so ananke.o
|
||||
+ $(cpp) $(flags) $(LDFLAGS) -shared -Wl,-soname,libananke.so.1 -o libananke.so ananke.o
|
||||
else ifeq ($(platform),win)
|
||||
$(cpp) $(flags) -fPIC -o phoenix.o -c phoenix/phoenix.cpp $(phoenixflags)
|
||||
$(cpp) $(flags) -shared -o phoenix.dll phoenix.o $(phoenixlink)
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-games/higan-ananke/higan-ananke-092.ebuild,v 1.1 2013/06/09 19:17:24 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
MY_P=higan_v${PV}-source
|
||||
|
||||
DESCRIPTION="A higan helper library needed for extra rom load options"
|
||||
HOMEPAGE="http://byuu.org/higan/"
|
||||
SRC_URI="http://higan.googlecode.com/files/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${MY_P}/ananke
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-makefile.patch \
|
||||
"${FILESDIR}"/${P}-bps-path-fix.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
platform="x" \
|
||||
compiler="$(tc-getCXX)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newlib.so libananke.so libananke.so.1
|
||||
dosym libananke.so.1 /usr/$(get_libdir)/libananke.so
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>games</herd>
|
||||
<maintainer>
|
||||
<email>hasufell@gentoo.org</email>
|
||||
<name>Julian Ospald</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1 +1,2 @@
|
||||
DIST libbsd-0.4.2.tar.gz 442436 SHA256 922b4885e0ccfd64b92fcacdb3fba18024fcab1e0c1b073f5ec0fe76388cbfdc SHA512 973d07b39040d9a0f3ee6b347c23a7a2dee0ec9490532909e8e815679d4bbe6d2f8caedc6f84162cf684bef3819a5ad5883f41e64675c9fb7d8be4db0aa1e619 WHIRLPOOL f273f310679e14f17571314c4f77b4409af2005d3fbeab96bae2fa4ad61b7c86b8734b4d696d5055f1fb61a82eed2dc1bcce06adf3fea22fbc8d8e954f8cb5e3
|
||||
DIST libbsd-0.5.2.tar.xz 311816 SHA256 5340cf67555a8d92e7652d96540a47986a26eeafb9a0a3e22d3b3e5701ebe23f SHA512 bdbbaa94f2add0f50a350a1c1b95de98b6f3ddc2c1aad14a0ec63fd2a7108b57f4ffb6923d9e672052725afc5e5b2a2fd4661eac04f67dce4f3b35a49446551f WHIRLPOOL ae0dd67c84163a5c73dd0632659513255e0735b9db1e191750b9ca078202a3c5b78d7491332fdde7fe6f084fef8a0d232a402c7dddd0dbdc09eda873af49b306
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libbsd/libbsd-0.5.2.ebuild,v 1.1 2013/06/10 04:06:27 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="An library to provide useful functions commonly found on BSD systems"
|
||||
HOMEPAGE="http://libbsd.freedesktop.org/wiki/"
|
||||
SRC_URI="http://${PN}.freedesktop.org/releases/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD BSD-2 BSD-4 ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
DOCS="ChangeLog README TODO"
|
||||
|
||||
pkg_setup() {
|
||||
local f="${ROOT}/usr/$(get_libdir)/${PN}.a"
|
||||
local m="You need to remove ${f} by hand or re-emerge sys-libs/glibc first."
|
||||
if ! has_version ${CATEGORY}/${PN}; then
|
||||
if [[ -e ${f} ]]; then
|
||||
eerror "${m}"
|
||||
die "${m}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST Flask-PyMongo-0.1.3.tar.gz 19400 SHA256 9a729df2c7a69a95e1224d77f9e8f0c8a976e05a791affb623f1798fc5235846 SHA512 a4e182d9575e140be2aff2da4943127a84439955d4b6cc92294020d339df70b2e12242888745c016266726500b3d58ffe974c632432133ade953e396b46b1c0a WHIRLPOOL 33dfe30bd4c251a4a0a654253111db0e6d73ca6253a566c98fd3b87c23dee4ff92e9ac64cea4f6328d887333444946259e9c11dddf9d9d8bc028a637db855e07
|
||||
DIST Flask-PyMongo-0.2.1.tar.gz 19968 SHA256 bc632fb734f048b531126bc5fa9a2f88b16b50d557b68cddc254a19e3f25a953 SHA512 71739f285b75186cb8d65bc8ffe7a8fcbe202c10317370858292609961c52dc0ec112e9ea812ca996d7e2aa03d0ed71707d29b3d447a1fec2a51d9dab15d9f1a WHIRLPOOL c9ca28857514b1c63ac0c25319fadace1dfdd7db80b755d0933fc6a6ef8cee857586b7dd9b54b30c4d60df0cb471158f71da69bf9d8043f1397abd7b1b43ee98
|
||||
DIST flask-pymongo-0.2.1.tar.gz 20573 SHA256 5cb93fba5ffb981b5c78c975ea9f15c4d0cbfd64fc1d4064dfc162ab19dec563 SHA512 1ff661d5dd53612bb62894d36c15797b9cd5be5435b61f96aba2a5359ecbce4c586664885d81e2568f1e4ea900ae3a6712b2c64981ecc760e1211a855942df73 WHIRLPOOL e86d76941461fe3903839905caa3467498b55ab4a4af15d43f6ba870a0b556427592d9a0e344754777d5832f159a6c68a58abde1117fe4ea1a1237717532fba9
|
||||
|
@ -0,0 +1,16 @@
|
||||
Avoid un-needed d'loading
|
||||
diff -ur Flask-PyMongo-0.2.1.orig/docs/conf.py Flask-PyMongo-0.2.1/docs/conf.py
|
||||
--- docs/conf.py 2012-12-23 00:52:16.000000000 +0800
|
||||
+++ docs/conf.py 2013-06-10 01:26:28.430485499 +0800
|
||||
@@ -247,11 +247,3 @@
|
||||
|
||||
# How to display URL addresses: 'footnote', 'no', or 'inline'.
|
||||
#texinfo_show_urls = 'footnote'
|
||||
-
|
||||
-
|
||||
-# Example configuration for intersphinx: refer to the Python standard library.
|
||||
-intersphinx_mapping = {
|
||||
- 'python': ('http://docs.python.org/', None),
|
||||
- 'flask': ('http://flask.pocoo.org/docs/', None),
|
||||
- 'pymongo': ('http://api.mongodb.org/python/current/', None),
|
||||
-}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-pymongo/flask-pymongo-0.2.1-r1.ebuild,v 1.1 2013/06/10 03:46:35 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="Flask-PyMongo"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="PyMongo support for Flask"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/Flask-PyMongo"
|
||||
SRC_URI="https://github.com/dcrosta/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
#SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND=">=dev-python/flask-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymongo-2.4[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/docbuild.patch )
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# fix me
|
||||
nosetests tests/{test_url_converter.py,test_wrappers.py} || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-pymongo/flask-pymongo-0.2.1.ebuild,v 1.1 2013/01/18 09:26:28 ultrabug Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.4 3.*"
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
|
||||
inherit distutils
|
||||
|
||||
MY_PN="Flask-PyMongo"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="PyMongo support for Flask"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/Flask-PyMongo"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND=">=dev-python/flask-0.8
|
||||
>=dev-python/pymongo-2.4"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx )
|
||||
dev-python/setuptools
|
||||
dev-python/nose"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
if use doc; then
|
||||
einfo "Generation of documentation"
|
||||
cd docs
|
||||
PYTHONPATH=".." emake html || die "Generation of documentation failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dohtml -r docs/_build/html/* || die "Installation of documentation failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples || die "Installation of examples failed"
|
||||
fi
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST d-feet-0.1.15.tar.xz 98296 SHA256 1250d353ded2c2635fb97d26a7fb9e68aba0f851a7f2d5608de651fa14f8eb0a SHA512 2b13ad674d6899c95081af9a0dd00766aa7dc3266204f850f1c4e256a9afe0c29b6bd1b3063c110b2308b8185d3a80dc046fc06412300778020a4c0da1a7d339 WHIRLPOOL 2502b5a381a7730473aee6cd9d9930eea71c8c90fda5b3efd2c64d573708dfc146c42029b08a1b14bbebb82d1969bff4941e1dd917510b2227923cdc17581d0d
|
||||
DIST d-feet-0.3.1.tar.xz 94668 SHA256 fb4060015af6ba433c46f20c9a01a05b87a307b585d9a26de69aee1fd5982dce SHA512 4b061d4fc26098b97b43ce6a747f4f7b57d322021c29f4a5d12874df8daf892b059d2020f65f8788e6bd60f3febdcbb22f406143c61c5902c0911ec2225b2a2a WHIRLPOOL fc538b5a32c94d31b76920f26c42d4a4e8f0fa701a7b1c258ed2f1ea8a520e8419b720136d1d05573dcb50670bd08c4af2fb171b7dd4569c2e9efd35eccb07b5
|
||||
DIST d-feet-0.3.3.tar.xz 94844 SHA256 db8186a4809a058f77ef9782a78cb369f67026529d4338e928e013d096f5d068 SHA512 72000e02d2c98c2075c68c91b6c41e1c0dbe7cd46099bdd09f5c2ed487a603e1a3ee78bbbcac372b9fd4e2ab21c765fcad7dad118f02956bf4fab0bb52afbc38 WHIRLPOOL 576defeca70f87f710a7037a3874e70e4af88a2b30429281e9c55bf1087f9cb31cc1f2cdac92a3c390ace9b8d649d06bca73dff2d4a933dc184fb7590ded4a57
|
||||
DIST d-feet-0.3.5.tar.xz 215272 SHA256 7100c62d2ba6205fb2a040e0b2efe8cc7f7ca54e5a14e1e410d070a72544ab8a SHA512 873db4e07d2ef55e972d5f755d277fb4d1a9844e90b652e6964814e9d2ed4628fe38c28dbbc868ebaf46021325086f6dc39315a17b9a967975cf0dba09df65f1 WHIRLPOOL 791a3626782e20025acb11d696b6c9c59d9f756152abed8ec913793090758968ace409a60f381c6fdc31d19faad90602ebc7cc8ef65fcad329bfa1fdf4700679
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.8.ebuild,v 1.1 2013/06/09 23:48:14 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://strace.git.sourceforge.net/gitroot/strace/strace"
|
||||
inherit git-2 autotools
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A useful diagnostic, instructional, and debugging tool"
|
||||
HOMEPAGE="http://sourceforge.net/projects/strace/"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="static aio"
|
||||
|
||||
# strace only uses the header from libaio to decode structs
|
||||
DEPEND="aio? ( >=dev-libs/libaio-0.3.106 )
|
||||
sys-kernel/linux-headers"
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
if epatch_user || [[ ! -e configure ]] ; then
|
||||
# git generation
|
||||
eautoreconf
|
||||
[[ ! -e CREDITS ]] && cp CREDITS{.in,}
|
||||
fi
|
||||
|
||||
filter-lfs-flags # configure handles this sanely
|
||||
use static && append-ldflags -static
|
||||
|
||||
export ac_cv_header_libaio_h=$(usex aio)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc CREDITS
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST higan_v092-source.tar.xz 790136 SHA256 b73a740c6a8a82fe42a3f166df16806a6fbe8c140c82d7f6089ed984d7491168 SHA512 42cf0ed599ab7cd2da3b52c39cc1402d3af7112999ad1db2c625d9fb2b94631a55526177dcfbdbd1d065c971603fc9b1488bdea0b367a266f1740f263c207dbc WHIRLPOOL a6fdd199ef77dcb1cd7b556ab8fa5e1eefd71eb1c51aae8f58ab7f19c25707ba40836741bb10f4cda6026031e43745f637ce3c39cc4288600c10c749cc13899f
|
@ -0,0 +1,48 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Sun Jun 9 10:23:38 UTC 2013
|
||||
Subject:
|
||||
|
||||
--- higan_v092-source/higan/Makefile
|
||||
+++ higan_v092-source/higan/Makefile
|
||||
@@ -16,8 +16,8 @@
|
||||
# compiler
|
||||
c := $(compiler) -std=gnu99
|
||||
cpp := $(subst cc,++,$(compiler)) -std=gnu++0x
|
||||
-flags := -I. -O3 -fomit-frame-pointer
|
||||
-link := -s
|
||||
+flags := -I.
|
||||
+link := $(LDFLAGS)
|
||||
objects := libco
|
||||
|
||||
# profile-guided optimization mode
|
||||
@@ -33,7 +33,6 @@
|
||||
|
||||
# platform
|
||||
ifeq ($(platform),x)
|
||||
- flags += -march=native
|
||||
link += -Wl,-export-dynamic -ldl -lX11 -lXext
|
||||
else ifeq ($(platform),win)
|
||||
ifeq ($(arch),win32)
|
||||
@@ -57,9 +56,9 @@
|
||||
compile = \
|
||||
$(strip \
|
||||
$(if $(filter %.c,$<), \
|
||||
- $(c) $(flags) $1 -c $< -o $@, \
|
||||
+ $(c) $(flags) $(CFLAGS) $1 -c $< -o $@, \
|
||||
$(if $(filter %.cpp,$<), \
|
||||
- $(cpp) $(flags) $1 -c $< -o $@ \
|
||||
+ $(cpp) $(flags) $(CXXFLAGS) $1 -c $< -o $@ \
|
||||
) \
|
||||
) \
|
||||
)
|
||||
--- higan_v092-source/higan/target-ethos/Makefile
|
||||
+++ higan_v092-source/higan/target-ethos/Makefile
|
||||
@@ -67,7 +67,7 @@
|
||||
# targets
|
||||
build: $(objects)
|
||||
ifeq ($(platform),x)
|
||||
- $(strip $(cpp) -o out/$(name) $(objects) $(link))
|
||||
+ $(strip $(cpp) $(CXXFLAGS) -o out/$(name) $(objects) $(link))
|
||||
else ifeq ($(platform),win)
|
||||
$(strip $(cpp) -shared -o out/phoenix.dll obj/phoenix.o $(phoenixlink))
|
||||
$(strip $(cpp) -o out/$(name) $(subst obj/phoenix.o,,$(objects)) $(link) -Lout -lphoenix)
|
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ -e $HOME/.config/ ] || mkdir $HOME/.config/
|
||||
|
||||
cp -ru "%GAMES_DATADIR%/higan" $HOME/.config/
|
||||
|
||||
exec ${0}.bin "$@"
|
@ -0,0 +1,153 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-emulation/higan/higan-092.ebuild,v 1.1 2013/06/09 19:15:58 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils gnome2-utils toolchain-funcs games
|
||||
|
||||
MY_P=${PN}_v${PV}-source
|
||||
|
||||
DESCRIPTION="A Nintendo multi-system emulator formerly known as bsnes"
|
||||
HOMEPAGE="http://byuu.org/higan/ https://code.google.com/p/higan/"
|
||||
SRC_URI="http://higan.googlecode.com/files/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ao +alsa openal opengl oss profile_accuracy +profile_balanced profile_performance pulseaudio qt4 +sdl xv"
|
||||
REQUIRED_USE="|| ( ao openal alsa pulseaudio oss )
|
||||
|| ( xv opengl sdl )
|
||||
|| ( profile_accuracy profile_balanced profile_performance )"
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
ao? ( media-libs/libao )
|
||||
openal? ( media-libs/openal )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
xv? ( x11-libs/libXv )
|
||||
opengl? ( virtual/opengl )
|
||||
sdl? ( media-libs/libsdl[X,joystick,video] )
|
||||
!qt4? ( x11-libs/gtk+:2 )
|
||||
qt4? ( >=dev-qt/qtgui-4.5:4 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
disable_module() {
|
||||
sed -i \
|
||||
-e "s|$1\b||" \
|
||||
"${S}"/${PN}/target-ethos/Makefile || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local i
|
||||
|
||||
epatch "${FILESDIR}"/${P}-QA.patch
|
||||
|
||||
sed -i \
|
||||
-e "/handle/s#/usr/local/lib#/usr/$(get_libdir)#" \
|
||||
${PN}/nall/dl.hpp || die "fixing libdir failed!"
|
||||
|
||||
# audio modules
|
||||
use ao || disable_module audio.ao
|
||||
use openal || disable_module audio.openal
|
||||
use pulseaudio || { disable_module audio.pulseaudio
|
||||
disable_module audio.pulseaudiosimple ;}
|
||||
use oss || disable_module audio.oss
|
||||
use alsa || disable_module audio.alsa
|
||||
|
||||
# video modules
|
||||
use opengl || disable_module video.glx
|
||||
use xv || disable_module video.xv
|
||||
use sdl || disable_module video.sdl
|
||||
|
||||
# input modules
|
||||
use sdl || disable_module input.sdl
|
||||
|
||||
# regenerate .moc if needed
|
||||
if use qt4; then
|
||||
cd ${PN}/phoenix/qt || die
|
||||
moc -i -I. -o platform.moc platform.moc.hpp || die
|
||||
fi
|
||||
|
||||
for i in profile_accuracy profile_balanced profile_performance ; do
|
||||
if use ${i} ; then
|
||||
cp -dRP "${S}/${PN}" "${S}/${PN}_${i}" || die
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local mytoolkit i
|
||||
|
||||
if use qt4; then
|
||||
mytoolkit="qt"
|
||||
else
|
||||
mytoolkit="gtk"
|
||||
fi
|
||||
|
||||
for i in profile_accuracy profile_balanced profile_performance ; do
|
||||
if use ${i} ; then
|
||||
cd "${S}/${PN}_${i}" || die
|
||||
emake \
|
||||
platform="x" \
|
||||
compiler="$(tc-getCXX)" \
|
||||
profile="${i#profile_}" \
|
||||
phoenix="${mytoolkit}"
|
||||
|
||||
sed \
|
||||
-e "s:%GAMES_DATADIR%:${GAMES_DATADIR}:" \
|
||||
< "${FILESDIR}"/${PN}-wrapper \
|
||||
> out/${PN}-wrapper || die "generating wrapper failed!"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i
|
||||
|
||||
for i in profile_accuracy profile_balanced profile_performance ; do
|
||||
if use ${i} ; then
|
||||
# install higan
|
||||
newgamesbin "${S}/${PN}_${i}"/out/${PN} ${PN}-${i#profile_}.bin
|
||||
newgamesbin "${S}/${PN}_${i}"/out/${PN}-wrapper ${PN}-${i#profile_}
|
||||
make_desktop_entry "${PN}-${i#profile_}" "${PN} (${i#profile_})"
|
||||
fi
|
||||
done
|
||||
|
||||
# copy home directory stuff to a global location
|
||||
insinto "${GAMES_DATADIR}"/${PN}
|
||||
doins -r ${PN}/data/cheats.bml ${PN}/profile/*
|
||||
|
||||
# install shaders
|
||||
if use opengl; then
|
||||
insinto "${GAMES_DATADIR}/${PN}/Video Shaders"
|
||||
doins shaders/*OpenGL*.shader
|
||||
fi
|
||||
|
||||
doicon -s 48 ${PN}/data/${PN}.png
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "optional dependencies:"
|
||||
elog " dev-games/higan-ananke (extra rom load options)"
|
||||
elog " games-util/higan-purify (Rom purifier)"
|
||||
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>games</herd>
|
||||
<maintainer>
|
||||
<email>hasufell@gentoo.org</email>
|
||||
<name>Julian Ospald</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name='profile_accuracy'>
|
||||
Compile a binary optimized for accuracy</flag>
|
||||
<flag name='profile_balanced'>
|
||||
Compile a binary with balanced optimization</flag>
|
||||
<flag name='profile_performance'>
|
||||
Compile a binary optimized for performance</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1 @@
|
||||
DIST purify_v03-source.tar.xz 196924 SHA256 2020f0b5a744f08c24085a15a6c2ec1d7c4424bba6727f244e513b95c4247e38 SHA512 095b62013f5a33e720b87c48f32c41239d8cef4c6ddc2b6d119d15b3f8b92bc15d744afa0b2bc8d7a49ef53f8f3fa7f2247be490499a9b194863534f9c1a4b3d WHIRLPOOL 395c6976d19065c23f084aa452286b81db8068ae46a658172b749f3ef2ee879514c1c64ee2e8ac8b1eaa4ed16ebaa540852b355c0ae42855759d9d3337e185ae
|
@ -0,0 +1,13 @@
|
||||
--- purify_v03-source/purify/Makefile
|
||||
+++ purify_v03-source/purify/Makefile
|
||||
@@ -2,8 +2,8 @@
|
||||
include phoenix/Makefile
|
||||
|
||||
path := /usr/local/bin
|
||||
-flags := -I. -O3 -fomit-frame-pointer
|
||||
-link := -s
|
||||
+flags := -I. $(CXXFLAGS)
|
||||
+link := $(LDFLAGS)
|
||||
objects := obj/phoenix.o obj/purify.o
|
||||
|
||||
ifeq ($(platform),x)
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-util/higan-purify/higan-purify-03.ebuild,v 1.1 2013/06/09 19:18:31 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
MY_P=purify_v${PV}-source
|
||||
|
||||
DESCRIPTION="Rom purifier for higan"
|
||||
HOMEPAGE="http://byuu.org/higan/"
|
||||
SRC_URI="http://higan.googlecode.com/files/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="qt4"
|
||||
|
||||
RDEPEND="
|
||||
dev-games/higan-ananke
|
||||
!qt4? ( x11-libs/gtk+:2 )
|
||||
qt4? ( >=dev-qt/qtgui-4.5:4 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/purify
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-QA.patch
|
||||
sed -i \
|
||||
-e "/handle/s#/usr/local/lib#/usr/$(get_libdir)#" \
|
||||
nall/dl.hpp || die
|
||||
|
||||
# regenerate .moc if needed
|
||||
if use qt4; then
|
||||
cd phoenix/qt || die
|
||||
moc -i -I. -o platform.moc platform.moc.hpp || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use qt4; then
|
||||
mytoolkit="qt"
|
||||
else
|
||||
mytoolkit="gtk"
|
||||
fi
|
||||
|
||||
emake \
|
||||
platform="x" \
|
||||
compiler="$(tc-getCXX)" \
|
||||
phoenix="${mytoolkit}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin purify
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>games</herd>
|
||||
<maintainer>
|
||||
<email>hasufell@gentoo.org</email>
|
||||
<name>Julian Ospald</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST gnome-control-center-2.32.1.tar.bz2 2280217 SHA256 7c568b57358e5c08f4d8dd76dbac7df2539135ad081872b60514b7a8ac797e66 SHA512 dc84bd222d1a2db0c4d10c56739e1d9da18945c579ae184f69080aa4b6fa0f0b908c5beafe82a82b6277630d685bed98fe8418421db4275653afbe302d810872 WHIRLPOOL 9b0fe4ed2bb741496642a57e178ca43049d53c71d9a82d311dc5a3ab6dfaf28019a8fa1b41a218b2ede11b4d0ac735034604dd9d952cb215e12327e71d0e69f4
|
||||
DIST gnome-control-center-3.6.3.tar.xz 4877812 SHA256 2ae23972bc64f62b4facd12dd5adce212bda02491eb6e56bbf195332157d21fb SHA512 77cd68349dc7f58714fbd121a34ec73a5c3e67c7a42a08c20a8dfdcfc9cefdec47af0f09130b7e3f0407cb7a786234b2619fdb76462c3bdb2bbc548294bfd444 WHIRLPOOL bf4ba1b6c9cb17f6b5f22003ee89af051ad152dd5671ffe01ba5cc0339d51659a8af7c629755726d305caf75c1fe4629b268fc269862751bc24317d323395697
|
||||
DIST gnome-control-center-3.8.1.5.tar.xz 6809712 SHA256 6756a97eb8e89fe16bd5e50ab85d7f0e4e0fb7fa4e9df5ab49a97de03033d211 SHA512 344fb8a09b04fdf3714e5d3e7e5f52d73283898ebc1f9de059da900010ae6ab9e4bf1219ed57a2f4a83a1505dd0eaac085ab738efeb54c7047c75792a8f1dd0a WHIRLPOOL d9668827b82f95af9db03677ee32fff6a4f17f4b12be784e3ca7a9400ab084c288478409a012444264052a3f3f7819b11996a659c94de6efabbe57c4d79d2ceb
|
||||
DIST gnome-control-center-3.8.2.tar.xz 6827684 SHA256 abf6c1acb0b82631e730cb32762deff905fd4f776b89b475b8e732dc73a9d1fb SHA512 3d3199969205c62a8e6039053675965a7d2b7069cd0ddb26b5568e652227084801c024c2d9c4da80e3f733419ff5159e3e360495355be13d3348755a50deedca WHIRLPOOL f2d829564918c899cf7511127f8ba9b4b77df2b9feb8ab3f2dc1d07c191e12362944547e31be531252f3d3107fa89d5483ddbfe60d001ec3a798bb5dea4e69ac
|
||||
DIST gnome-control-center-3.8.3.tar.xz 6899396 SHA256 e78a5b01692ccfe825e079d795d9e9610fcb94853c0e6d747b2d8d36dead9d84 SHA512 5b4738535e759607b305f6b962917155f949f64c2f18c80cf6cf13b4a18275dba703afca48f5abba46c326fe32248520080f1b838c958bc0a0df011fe07a379f WHIRLPOOL 006bac04738c4617d4f3d761707a97a16e21b95b84c15bef7543688dfd5b737d4c3e78b9f4d58f0a3fe1fe78ab337596f895a36324635655bee27ae402f2e6d4
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST gnome-desktop-2.32.1.tar.bz2 1633847 SHA256 55cbecf67efe1fa1e57ac966520a7c46d799c8ba3c652a1219f60cafccb3739d SHA512 b8084d08366dab661a7ee369cd03ba62beddbdfa9a36b988b7d13d207b33d6916f7fa8691717fba7b6a70d8276779e35360b1dc385e6ec876f30ea7b8b373c28 WHIRLPOOL 0889e79b1b3956b0ef1330f661676b77bdb40e8110657ea7f4035618ea023fc4b35364629d68741f042c0b971db9fa4c7731065717612486f7546e07fe048a0d
|
||||
DIST gnome-desktop-3.6.3.tar.xz 969112 SHA256 4ba7e7db2a65e2cc867e885afa78e29d9a73cfbfc3bed91786198c486a6d1d0e SHA512 801960ab77c58e545cbabd73b3e1727e62c1254d0aa43da621f2a00f173a4ef827f0a846f15f96da209ee88c6a6296f2e827c0c04cf6addffc6b0b159b9e2a66 WHIRLPOOL 2d1a2d538adde84a56ca1edecde47db1160c388fbd3a0319ae169f4ddc854429854e26cf787e6e37ce3d28de380e5f203eed2a7b80df121aff17dd614ac09aaa
|
||||
DIST gnome-desktop-3.8.1.tar.xz 1010712 SHA256 79c4790fdfc58a54ee32b2fd20f498f4d563d11fa40ab6599c757e45bee5b13f SHA512 aa78310a208b180f31f74c1ab7884ab9a0817e42929ff90f84b2e86a391eb9a3ea0372a6eec601bae3a38f58e6a4f99cc1a8e7d46e7018040dc14c36f192eb36 WHIRLPOOL c18e59f6401bd300e92f818ee8bbca2988d0463f19e9ff7f5ae3eeb2cb91563f6c191d466d47d1b680d7507e62da6916794a2382e5427c3b6159b0a00255d120
|
||||
DIST gnome-desktop-3.8.2.tar.xz 1010336 SHA256 af4ec330fa61ee761daf2d5e481e2f9ffbd068d135d5e31a3eaf274524cba33d SHA512 6ea9154692d2a5d5b959a2c172f91c08554b72fb12f8e92a97511978804557a7e28ac743ae6dfd2ae7029f02dc905dfafb21a5177c01cc0051a17290b21aab97 WHIRLPOOL a2caea4ff1c7259dc8a7e7933d15dbac9e23bf79d893533e61c917c7154f02c0a0dc2f94da41d85cde2e4b91e5a0a94efa01af9e3da85d12788f4424af4564f9
|
||||
DIST gnome-desktop-3.8.3.tar.xz 1030240 SHA256 c9c8d1888e28cb30e466be46909efe640fb3cb348909cae2664489508790e5a2 SHA512 f6849c1286b3fc86d94be5955bd18246aa4c2102045b3102f44dbb90c7819f71382cdd3f6330db33d5fff01a438987bb0957f743a05df1c61503f4776c192317 WHIRLPOOL 7fe90a46dcc44f99f24c6f4294959e92c547b3f54ce1affed7c99bd1988b0380a4b4e9cb797d0c049723d3dbfddd34ecc7b6d779cc4f339f239e29f95f37a486
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST gnome-settings-daemon-2.32.1-gst-vol-control-support.patch 26788 SHA256 689f6152d6e27ddc0b8080d5c8c1644b6116075ff505951631af9b7289d2f933 SHA512 a4ee10135e7339fa25412e7b790c0c56b3def826d81a89ca399cfb6f2236da14ec78a729ec5d27d3528cdde3eff8fb70cf3f297ddee756665c1d83fb73d2ca15 WHIRLPOOL f3cc8d7ec7065018b69ee78a9f1cc278c8e37910e9dc5a061d8a57d52def0316fb4bbeb4891b742f54e32e06a8d31617241300e3aa82f5a0c39a79aa829225eb
|
||||
DIST gnome-settings-daemon-2.32.1.tar.bz2 1331850 SHA256 0074b3fec3ad6e3ab91a05dc20906b06101ea8bca0cd2caf394a5cc141b05e86 SHA512 69bceb01e1dd15a75dc3db1e78aebee8c7c4004f217856391a64bc527c6b46146f893e90292441d3c7650df8a1b3aee2078d7cbef33c76e47a8f1904dd8e447a WHIRLPOOL 6608a9470666d943e0f39a4cadb36a1ccffbe8b40bcdae97d93b3d9b676da0c3efb33d5be1accaf2066760de6a4a36db16c94a093965f2f8da29511464ec2071
|
||||
DIST gnome-settings-daemon-3.6.4.tar.xz 1518708 SHA256 3db993f2dbabc0c9d06a309bb12c9a7104b9cdda414ac4b1c301f5114a441c15 SHA512 f8d263f9a22934e015ff642f9ac93c09764b89151260887242d6b946250d50a2400404f61376a34ec903606bf4061c9733ddb42f0ed92ecc42f873fafb766af7 WHIRLPOOL fba7fb4ec0c236584534b75fda3ebab651f67227c4fcc1183c085cba5cf315418f9a178a2c2ac9c96190a3b7b997a166a13172d48d8f068723bd5a0427cdf703
|
||||
DIST gnome-settings-daemon-3.8.0.tar.xz 1586548 SHA256 dff9e725a34158558836843e17079f602522bc30f05acf96cb2712eb4544c9ea SHA512 d79e9f28c04a5d48dcd2687e278f64d71250d8d19962509d2908e0dc40bb68652e385ca48b683440221efc970305745f298185e86d4420cbdbfd26230dd2f793 WHIRLPOOL f0958cb56a6ae2b1e0172c10271549510a3e1f4d5b717d6a0872d104b9da4bd3b3288c41149bc8a6113560f9b00f8766e9c643a76d18cfc4c444fd0daac11814
|
||||
DIST gnome-settings-daemon-3.8.2.tar.xz 1591764 SHA256 e2118024549b1a3b24e338403d3451211b8cde5c68e387d9a0081e137191b0be SHA512 8e7c5b1ca70203bfb0ccf121b099dda7922cf0bfa0a0dc82ac44f035da420f0cbf692ea66f07744cd67c4cc13e4cb1d96e085e10432f38ca522baf379820818e WHIRLPOOL 8457d3238df9ee6882d4ff1449c757fe3aa710448cbf8a14b54be0e86e24e910aa36fd7e9d3b492f4193aebf3721a3547404266c546f15715e36fbbd33a639b0
|
||||
DIST gnome-settings-daemon-3.8.3.tar.xz 1576376 SHA256 00e7f46c9a6fb8b148255adfcdd26bc5f2c1d393b8dfbac69da100c8dcfa1b6c SHA512 e8b02a820f3785dc42b5f82b94804bf7ec761c2d2c797d7eba0f590ed1b8107094d5cb395cdd00c1a7ef7e294cdfb7d54b1e9c14e9584b5bcc03bb8cd61b3515 WHIRLPOOL d692216c13d38bc5cc57a9af6cecfc393460394c20efa97edf609416e03dffe3c55c35d69ad42ad43ac18fd0ad495d52bce57fb4707753ef65cc3016f947defc
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST gnome-shell-3.6.3.1.tar.xz 1408036 SHA256 4e0328d43ac443e7cc0c43bb67895112643952f14cd20fff1109c6cc5849d603 SHA512 62475d1c2da2d3716158ef896214ada3c03a0fb226cd76a550b542d5cd0ce97303316cecf6a1feea7729666de9f29c333a79a6f6822b29245a1d7535a6c4c6b8 WHIRLPOOL 21146084b74372fbee6ff6f1a4a4609c16601ea0a39331a684dcda57a74a965146ca9860e3a170160c720175111c0c0a0c49f3d3c960ee335a39775a4945704b
|
||||
DIST gnome-shell-3.8.2.tar.xz 1512268 SHA256 ffdf42d382d50cd756f1f51a31eaa6877edb51a08f0ca80b6e973f05072416df SHA512 67fac56e9e3ba4ffa2f6e7ef4906e1adc735fbd7c0f25cc8d95e1e6e4a73e2b17885d056677a6d6234e97a826511976a1a17c16b0e529d73682d945f68d6fd77 WHIRLPOOL 1722e23098a6fa3c81c87bf23940d066d0a6b7173a44683a463df51243b009f44418174374b65ff0b302a4725a52c5b3a9366b99b0db9625c1239bfe5cbfb515
|
||||
DIST gnome-shell-3.8.3.tar.xz 1513636 SHA256 145724f21ead9dbe0c39d3ab468b39264c7aaf3f0fa5d152b295d905d8339c22 SHA512 d95a7ce24073046ea196b1f299bef1a1f4581b3357da364162b7e1cc53d051e628625c0b74bcd835d60f77d39874c8e0f86e3f66c0205539179f64cbe983a16b WHIRLPOOL 9ed4566761115346f0db8e35b0da9f5409418e78176b5159a41541a6723e511bbdaa50b0808c387f8339651066452934732c5c384fabaa7a5427be8ab5e9ec9e
|
||||
|
@ -0,0 +1,200 @@
|
||||
* use config.js (and AC_SUBST HAVE_NETWORKMANAGER appropriately);
|
||||
* take care to not import ui.status.network if nm is disabled;
|
||||
* do not try to reassign to const variables;
|
||||
* no point really in fiddling with the list of installed js files;
|
||||
* don't build shell-mobile-providers if nm is disabled;
|
||||
* use "networkmanager" instead of "network_manager" because THE
|
||||
BIKESHED SHOULD BE BLUE, also because the upstream package name is
|
||||
NetworkManager, not Network_Manager.
|
||||
--- a/configure.ac 2013-03-27 17:28:24.000000000 +0100
|
||||
+++ b/configure.ac 2013-04-02 18:47:05.569818375 +0200
|
||||
@@ -94,8 +94,6 @@
|
||||
libcanberra libcanberra-gtk3
|
||||
telepathy-glib >= $TELEPATHY_GLIB_MIN_VERSION
|
||||
polkit-agent-1 >= $POLKIT_MIN_VERSION xfixes
|
||||
- libnm-glib libnm-util >= $NETWORKMANAGER_MIN_VERSION
|
||||
- libnm-gtk >= $NETWORKMANAGER_MIN_VERSION
|
||||
libsecret-unstable gcr-base-3 >= $GCR_MIN_VERSION)
|
||||
|
||||
PKG_CHECK_MODULES(GNOME_SHELL_JS, gio-2.0 gjs-internals-1.0 >= $GJS_MIN_VERSION)
|
||||
@@ -154,6 +157,38 @@
|
||||
[Define if _NL_TIME_FIRST_WEEKDAY is available])
|
||||
fi
|
||||
|
||||
+AC_ARG_ENABLE(networkmanager,
|
||||
+ AS_HELP_STRING([--disable-networkmanager],
|
||||
+ [disable NetworkManager support @<:@default=auto@:>@]),,
|
||||
+ [enable_networkmanager=auto])
|
||||
+
|
||||
+if test "x$enable_networkmanager" != "xno"; then
|
||||
+ PKG_CHECK_MODULES(NETWORKMANAGER,
|
||||
+ [libnm-glib
|
||||
+ libnm-util >= $NETWORKMANAGER_MIN_VERSION
|
||||
+ libnm-gtk >= $NETWORKMANAGER_MIN_VERSION
|
||||
+ gnome-keyring-1],
|
||||
+ [have_networkmanager=yes],
|
||||
+ [have_networkmanager=no])
|
||||
+
|
||||
+ GNOME_SHELL_CFLAGS="$GNOME_SHELL_CFLAGS $NETWORKMANAGER_CFLAGS"
|
||||
+ GNOME_SHELL_LIBS="$GNOME_SHELL_LIBS $NETWORKMANAGER_LIBS"
|
||||
+else
|
||||
+ have_networkmanager="no (disabled)"
|
||||
+fi
|
||||
+
|
||||
+if test "x$have_networkmanager" = "xyes"; then
|
||||
+ AC_DEFINE(HAVE_NETWORKMANAGER, [1], [Define if we have NetworkManager])
|
||||
+ AC_SUBST([HAVE_NETWORKMANAGER], [1])
|
||||
+else
|
||||
+ if test "x$enable_networkmanager" = "xyes"; then
|
||||
+ AC_MSG_ERROR([Couldn't find NetworkManager.])
|
||||
+ fi
|
||||
+ AC_SUBST([HAVE_NETWORKMANAGER], [0])
|
||||
+fi
|
||||
+
|
||||
+AM_CONDITIONAL(HAVE_NETWORKMANAGER, test "$have_networkmanager" = "yes")
|
||||
+
|
||||
# Sets GLIB_GENMARSHAL and GLIB_MKENUMS
|
||||
AM_PATH_GLIB_2_0()
|
||||
|
||||
@@ -199,3 +234,15 @@
|
||||
man/Makefile
|
||||
])
|
||||
AC_OUTPUT
|
||||
+
|
||||
+echo "
|
||||
+Build configuration:
|
||||
+
|
||||
+ Prefix: ${prefix}
|
||||
+ Source code location: ${srcdir}
|
||||
+ Compiler: ${CC}
|
||||
+ Compiler Warnings: $enable_compile_warnings
|
||||
+
|
||||
+ Support for NetworkManager: $have_networkmanager
|
||||
+ Support for GStreamer recording: $build_recorder
|
||||
+"
|
||||
diff --git a/js/Makefile.am b/js/Makefile.am
|
||||
index 323cd1b..d17111a 100644
|
||||
--- a/js/Makefile.am
|
||||
+++ b/js/Makefile.am
|
||||
@@ -8,6 +8,7 @@ misc/config.js: misc/config.js.in Makefile
|
||||
sed -e "s|[@]PACKAGE_NAME@|$(PACKAGE_NAME)|g" \
|
||||
-e "s|[@]PACKAGE_VERSION@|$(PACKAGE_VERSION)|g" \
|
||||
-e "s|[@]HAVE_BLUETOOTH@|$(HAVE_BLUETOOTH)|g" \
|
||||
+ -e "s|[@]HAVE_NETWORKMANAGER@|$(HAVE_NETWORKMANAGER)|g" \
|
||||
-e "s|[@]GETTEXT_PACKAGE@|$(GETTEXT_PACKAGE)|g" \
|
||||
-e "s|[@]datadir@|$(datadir)|g" \
|
||||
-e "s|[@]libexecdir@|$(libexecdir)|g" \
|
||||
diff --git a/js/misc/config.js.in b/js/misc/config.js.in
|
||||
index 9769104..9c4795d 100644
|
||||
--- a/js/misc/config.js.in
|
||||
+++ b/js/misc/config.js.in
|
||||
@@ -6,6 +6,8 @@ const PACKAGE_NAME = '@PACKAGE_NAME@';
|
||||
const PACKAGE_VERSION = '@PACKAGE_VERSION@';
|
||||
/* 1 if gnome-bluetooth is available, 0 otherwise */
|
||||
const HAVE_BLUETOOTH = @HAVE_BLUETOOTH@;
|
||||
+/* 1 if networkmanager is available, 0 otherwise */
|
||||
+const HAVE_NETWORKMANAGER = @HAVE_NETWORKMANAGER@;
|
||||
/* gettext package */
|
||||
const GETTEXT_PACKAGE = '@GETTEXT_PACKAGE@';
|
||||
/* locale dir */
|
||||
diff --git a/js/ui/panel.js b/js/ui/panel.js
|
||||
index cfeb351..3bb13b4 100644
|
||||
--- a/js/ui/panel.js
|
||||
+++ b/js/ui/panel.js
|
||||
@@ -933,11 +933,13 @@ if (Config.HAVE_BLUETOOTH)
|
||||
PANEL_ITEM_IMPLEMENTATIONS['bluetooth'] =
|
||||
imports.ui.status.bluetooth.Indicator;
|
||||
|
||||
-try {
|
||||
- PANEL_ITEM_IMPLEMENTATIONS['network'] =
|
||||
- imports.ui.status.network.NMApplet;
|
||||
-} catch(e) {
|
||||
- log('NMApplet is not supported. It is possible that your NetworkManager version is too old');
|
||||
+if (Config.HAVE_NETWORKMANAGER) {
|
||||
+ try {
|
||||
+ PANEL_ITEM_IMPLEMENTATIONS['network'] =
|
||||
+ imports.ui.status.network.NMApplet;
|
||||
+ } catch(e) {
|
||||
+ log('NMApplet is not supported. It is possible that your NetworkManager version is too old');
|
||||
+ }
|
||||
}
|
||||
|
||||
const Panel = new Lang.Class({
|
||||
diff --git a/js/ui/sessionMode.js b/js/ui/sessionMode.js
|
||||
index f802dbd..eec830b 100644
|
||||
--- a/js/ui/sessionMode.js
|
||||
+++ b/js/ui/sessionMode.js
|
||||
@@ -10,6 +10,8 @@ const FileUtils = imports.misc.fileUtils;
|
||||
const Main = imports.ui.main;
|
||||
const Params = imports.misc.params;
|
||||
|
||||
+const Config = imports.misc.config;
|
||||
+
|
||||
const DEFAULT_MODE = 'restrictive';
|
||||
|
||||
const _modes = {
|
||||
@@ -100,7 +102,10 @@ const _modes = {
|
||||
isLocked: false,
|
||||
isPrimary: true,
|
||||
unlockDialog: imports.ui.unlockDialog.UnlockDialog,
|
||||
- components: ['networkAgent', 'polkitAgent', 'telepathyClient',
|
||||
+ components: Config.HAVE_NETWORKMANAGER ?
|
||||
+ ['networkAgent', 'polkitAgent', 'telepathyClient',
|
||||
+ 'keyring', 'recorder', 'autorunManager', 'automountManager'] :
|
||||
+ ['polkitAgent', 'telepathyClient',
|
||||
'keyring', 'recorder', 'autorunManager', 'automountManager'],
|
||||
panel: {
|
||||
left: ['activities', 'appMenu'],
|
||||
|
||||
--- a/src/Makefile.am.old 2013-03-27 10:35:51.763616888 +0100
|
||||
+++ b/src/Makefile.am 2013-03-27 10:38:09.745425152 +0100
|
||||
@@ -116,7 +116,6 @@
|
||||
shell-invert-lightness-effect.h \
|
||||
shell-keybinding-modes.h \
|
||||
shell-mount-operation.h \
|
||||
- shell-network-agent.h \
|
||||
shell-perf-log.h \
|
||||
shell-screenshot.h \
|
||||
shell-slicer.h \
|
||||
@@ -129,6 +128,10 @@
|
||||
shell-wm.h \
|
||||
shell-xfixes-cursor.h
|
||||
|
||||
+if HAVE_NETWORKMANAGER
|
||||
+shell_public_headers_h += shell-network-agent.h
|
||||
+endif
|
||||
+
|
||||
shell_private_sources = \
|
||||
gactionmuxer.h \
|
||||
gactionmuxer.c \
|
||||
@@ -159,7 +162,6 @@
|
||||
shell-keyring-prompt.h \
|
||||
shell-keyring-prompt.c \
|
||||
shell-mount-operation.c \
|
||||
- shell-network-agent.c \
|
||||
shell-perf-log.c \
|
||||
shell-polkit-authentication-agent.h \
|
||||
shell-polkit-authentication-agent.c \
|
||||
@@ -177,6 +179,10 @@
|
||||
shell-xfixes-cursor.c \
|
||||
$(NULL)
|
||||
|
||||
+if HAVE_NETWORKMANAGER
|
||||
+libgnome_shell_la_SOURCES += shell-network-agent.c
|
||||
+endif
|
||||
+
|
||||
libgnome_shell_la_gir_sources = \
|
||||
$(filter-out %-private.h $(shell_private_sources), $(shell_public_headers_h) $(libgnome_shell_la_SOURCES))
|
||||
|
||||
@@ -287,7 +293,10 @@
|
||||
libgnome_shell_la_CPPFLAGS = $(gnome_shell_cflags)
|
||||
|
||||
Shell-0.1.gir: libgnome-shell.la St-1.0.gir
|
||||
-Shell_0_1_gir_INCLUDES = Clutter-1.0 ClutterX11-1.0 Meta-3.0 TelepathyGLib-0.12 Soup-2.4 GMenu-3.0 NetworkManager-1.0 NMClient-1.0
|
||||
+Shell_0_1_gir_INCLUDES = Clutter-1.0 ClutterX11-1.0 Meta-3.0 TelepathyGLib-0.12 Soup-2.4 GMenu-3.0
|
||||
+if HAVE_NETWORKMANAGER
|
||||
+Shell_0_1_gir_INCLUDES += NetworkManager-1.0 NMClient-1.0
|
||||
+endif
|
||||
Shell_0_1_gir_CFLAGS = $(libgnome_shell_la_CPPFLAGS) -I $(srcdir)
|
||||
Shell_0_1_gir_LIBS = libgnome-shell.la
|
||||
Shell_0_1_gir_FILES = $(libgnome_shell_la_gir_sources)
|
@ -0,0 +1,207 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.8.3.ebuild,v 1.1 2013/06/09 19:27:42 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
|
||||
inherit autotools eutils gnome2 multilib pax-utils python-r1
|
||||
|
||||
DESCRIPTION="Provides core UI functions for the GNOME 3 desktop"
|
||||
HOMEPAGE="http://live.gnome.org/GnomeShell"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="+bluetooth +i18n +networkmanager"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
# libXfixes-5.0 needed for pointer barriers
|
||||
# TODO: gstreamer support is currently automagical:
|
||||
# gstreamer? ( >=media-libs/gstreamer-0.11.92 )
|
||||
#
|
||||
# gnome-shell/gnome-control-center/mutter/gnome-settings-daemon better to be in sync for 3.8.3
|
||||
# https://mail.gnome.org/archives/gnome-announce-list/2013-June/msg00005.html
|
||||
COMMON_DEPEND="
|
||||
>=app-accessibility/at-spi2-atk-2.5.3
|
||||
>=dev-libs/atk-2[introspection]
|
||||
>=app-crypt/gcr-3.7.5[introspection]
|
||||
>=dev-libs/glib-2.35:2
|
||||
>=dev-libs/gjs-1.35.8
|
||||
>=dev-libs/gobject-introspection-0.10.1
|
||||
>=x11-libs/gtk+-3.7.9:3[introspection]
|
||||
>=media-libs/clutter-1.13.4:1.0[introspection]
|
||||
>=dev-libs/json-glib-0.13.2
|
||||
>=dev-libs/libcroco-0.6.2:0.6
|
||||
>=gnome-base/gnome-desktop-3.7.90:3=[introspection]
|
||||
>=gnome-base/gsettings-desktop-schemas-3.7.4
|
||||
>=gnome-base/gnome-keyring-3.3.90
|
||||
>=gnome-base/gnome-menus-3.5.3:3[introspection]
|
||||
gnome-base/libgnome-keyring
|
||||
>=gnome-extra/evolution-data-server-3.5.3:=
|
||||
>=media-libs/gstreamer-0.11.92:1.0
|
||||
>=net-im/telepathy-logger-0.2.4[introspection]
|
||||
>=net-libs/telepathy-glib-0.19[introspection]
|
||||
>=sys-auth/polkit-0.100[introspection]
|
||||
>=x11-libs/libXfixes-5.0
|
||||
>=x11-wm/mutter-3.8.3[introspection]
|
||||
>=x11-libs/startup-notification-0.11
|
||||
|
||||
${PYTHON_DEPS}
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
|
||||
dev-libs/dbus-glib
|
||||
dev-libs/libxml2:2
|
||||
gnome-base/librsvg
|
||||
media-libs/libcanberra[gtk3]
|
||||
media-libs/mesa
|
||||
>=media-sound/pulseaudio-2
|
||||
>=net-libs/libsoup-2.40:2.4[introspection]
|
||||
x11-libs/libX11
|
||||
x11-libs/gdk-pixbuf:2[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
x11-apps/mesa-progs
|
||||
|
||||
bluetooth? ( >=net-wireless/gnome-bluetooth-3.5[introspection] )
|
||||
networkmanager? ( >=net-misc/networkmanager-0.9.6[introspection] )
|
||||
"
|
||||
# Runtime-only deps are probably incomplete and approximate.
|
||||
# Introspection deps generated using:
|
||||
# grep -roe "imports.gi.*" gnome-shell-* | cut -f2 -d: | sort | uniq
|
||||
# Each block:
|
||||
# 1. Pull in polkit-0.101 for pretty authorization dialogs
|
||||
# 2. Introspection stuff needed via imports.gi.*
|
||||
# 3. gnome-session is needed for gnome-session-quit
|
||||
# 4. Control shell settings
|
||||
# 5. xdg-utils needed for xdg-open, used by extension tool
|
||||
# 6. gnome-icon-theme-symbolic and dejavu font neeed for various icons & arrows
|
||||
# 7. IBus is needed for i18n integration
|
||||
# 8. mobile-broadband-provider-info, timezone-data for shell-mobile-providers.c
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=sys-auth/polkit-0.101[introspection]
|
||||
|
||||
>=app-accessibility/caribou-0.4.8
|
||||
>=gnome-base/gdm-3.5[introspection]
|
||||
>=gnome-base/libgnomekbd-2.91.4[introspection]
|
||||
media-libs/cogl[introspection]
|
||||
>=sys-apps/accountsservice-0.6.14[introspection]
|
||||
sys-power/upower[introspection]
|
||||
|
||||
>=gnome-base/gnome-session-2.91.91
|
||||
>=gnome-base/gnome-settings-daemon-3.8.3
|
||||
>=gnome-base/gnome-control-center-3.8.3[bluetooth(+)?]
|
||||
|
||||
x11-misc/xdg-utils
|
||||
|
||||
media-fonts/dejavu
|
||||
x11-themes/gnome-icon-theme-symbolic
|
||||
|
||||
|| ( sys-auth/consolekit >=sys-apps/systemd-31 )
|
||||
i18n? ( >=app-i18n/ibus-1.4.99[dconf,gtk3,introspection] )
|
||||
networkmanager? (
|
||||
net-misc/mobile-broadband-provider-info
|
||||
sys-libs/timezone-data )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-libs/libxslt
|
||||
>=dev-util/gtk-doc-am-1.17
|
||||
>=dev-util/intltool-0.40
|
||||
gnome-base/gnome-common
|
||||
>=sys-devel/gettext-0.17
|
||||
virtual/pkgconfig
|
||||
!!=dev-lang/spidermonkey-1.8.2*
|
||||
"
|
||||
# libmozjs.so is picked up from /usr/lib while compiling, so block at build-time
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=360413
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
src_prepare() {
|
||||
# Fix automagic gnome-bluetooth dep, bug #398145
|
||||
epatch "${FILESDIR}/${PN}-3.7.90-bluetooth-flag.patch"
|
||||
|
||||
# Make networkmanager optional, bug #398593
|
||||
epatch "${FILESDIR}/${PN}-3.8.3-networkmanager-flag.patch"
|
||||
|
||||
# Revert suspend break, upstream bug #693162 (from Debian)
|
||||
epatch "${FILESDIR}/${PN}-3.8.0-suspend.patch"
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Do not error out on warnings
|
||||
gnome2_src_configure \
|
||||
--enable-man \
|
||||
--disable-jhbuild-wrapper-script \
|
||||
$(use_with bluetooth) \
|
||||
$(use_enable networkmanager) \
|
||||
BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
python_replicate_script "${ED}/usr/bin/gnome-shell-extension-tool"
|
||||
python_replicate_script "${ED}/usr/bin/gnome-shell-perf-tool"
|
||||
|
||||
# Required for gnome-shell on hardened/PaX, bug #398941
|
||||
# Future-proof for >=spidermonkey-1.8.7 following polkit's example
|
||||
if has_version '<dev-lang/spidermonkey-1.8.7'; then
|
||||
pax-mark mr "${ED}usr/bin/gnome-shell"
|
||||
elif has_version '>=dev-lang/spidermonkey-1.8.7[jit]'; then
|
||||
pax-mark m "${ED}usr/bin/gnome-shell"
|
||||
fi
|
||||
# Required for gnome-shell on hardened/PaX #457146 and #457194
|
||||
# PaX EMUTRAMP need to be on
|
||||
if has_version '>=dev-libs/libffi-3.0.13[pax_kernel]'; then
|
||||
pax-mark E "${ED}usr/bin/gnome-shell"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
|
||||
if ! has_version 'media-libs/gst-plugins-good:1.0' || \
|
||||
! has_version 'media-plugins/gst-plugins-vpx:1.0'; then
|
||||
ewarn "To make use of GNOME Shell's built-in screen recording utility,"
|
||||
ewarn "you need to either install media-libs/gst-plugins-good:1.0"
|
||||
ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change"
|
||||
ewarn "apps.gnome-shell.recorder/pipeline to what you want to use."
|
||||
fi
|
||||
|
||||
if ! has_version ">=x11-base/xorg-server-1.11"; then
|
||||
ewarn "If you use multiple screens, it is highly recommended that you"
|
||||
ewarn "upgrade to >=x11-base/xorg-server-1.11 to be able to make use of"
|
||||
ewarn "pointer barriers which will make it easier to use hot corners."
|
||||
fi
|
||||
|
||||
if has_version "<x11-drivers/ati-drivers-12"; then
|
||||
ewarn "GNOME Shell has been reported to show graphical corruption under"
|
||||
ewarn "x11-drivers/ati-drivers-11.*; you may want to use GNOME in"
|
||||
ewarn "fallback mode, or switch to open-source drivers."
|
||||
fi
|
||||
|
||||
if has_version "media-libs/mesa[video_cards_radeon]" ||
|
||||
has_version "media-libs/mesa[video_cards_r300]" ||
|
||||
has_version "media-libs/mesa[video_cards_r600]"; then
|
||||
elog "GNOME Shell is unstable under classic-mode r300/r600 mesa drivers."
|
||||
elog "Make sure that gallium architecture for r300 and r600 drivers is"
|
||||
elog "selected using 'eselect mesa'."
|
||||
if ! has_version "media-libs/mesa[gallium]"; then
|
||||
ewarn "You will need to emerge media-libs/mesa with USE=gallium."
|
||||
fi
|
||||
fi
|
||||
|
||||
if has_version "media-libs/mesa[video_cards_intel]" ||
|
||||
has_version "media-libs/mesa[video_cards_i915]" ||
|
||||
has_version "media-libs/mesa[video_cards_i965]"; then
|
||||
elog "GNOME Shell is unstable under gallium-mode i915/i965 mesa drivers."
|
||||
elog "Make sure that classic architecture for i915 and i965 drivers is"
|
||||
elog "selected using 'eselect mesa'."
|
||||
if ! has_version "media-libs/mesa[classic]"; then
|
||||
ewarn "You will need to emerge media-libs/mesa with USE=classic."
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST gnome-shell-extensions-3.6.2.tar.xz 168508 SHA256 e370a15cdc518141714b1e7458b6f37396cf187b1cf7e8ed0c7eb3179a61f889 SHA512 ea4104d148bb378058378597d43b575df08ec6d93ba3eaa0f8d836bc39a954d2bbe64f0ec72b6de3ca2924f16e1bda974244f176bbec30b6ea287b120a4d60b9 WHIRLPOOL 34653d507f186c8f8d8895ab77b9cb3ff04f1505b9a9fbf6079b2ac2549ff31f8b91efa9d8765076db3d593181037a9cb0b018bc51f4e8eb6322d308f6e1d17b
|
||||
DIST gnome-shell-extensions-3.8.1.tar.xz 176216 SHA256 f0c198dd7c185ddf5d20986c698882d39e28837e9fa9230eabd90eb7501c062f SHA512 b5b0451fd777631cd777e63bba5d9c71c1cb00e81ae670f441d3668e3b8b8cbe537b3178c4a780934fa4edf97fa384dee183e86f359e60c2260e16551c7bd492 WHIRLPOOL 0e2529e630b102d1d3e64ac9970cb7776878738815b9a64d9f020776c3e9d8d790171772916ec0ebaafeeabaadc5a9660c2a61c4df1a1d33d143b61be66ffb38
|
||||
DIST gnome-shell-extensions-3.8.2.tar.xz 176432 SHA256 216714d6edd79cb8d5d81fbf0d7d448a199922cf344315f50c1a3f1f1f0b385e SHA512 16c9282c6774e4eeec792cbc8710ec853415be913bf3e370a585c3da50cd12a256293eacc0d5c5729b693b9dccb8e9d3949f86552e32a113041c3f9136cabbf2 WHIRLPOOL 85f8ed5758ec346fa5f5c3305729df69fe29a6c10b3556e7c020ef1fdeea2e5805f8b7c3d4a64013fdec9a8cee5f627dfb113f2fb6c67762e5ea3bb22484808a
|
||||
DIST gnome-shell-extensions-3.8.3.tar.xz 175860 SHA256 53897ebfaf078b46dcffe4b76e91d6441fa00247a103a6c3a58855c796df7c9b SHA512 aefc2243282994b2f862d8db32a0d7af348dff324141d245d5f552e112cf569770f6c5182e135fe47520b901224139c6893047ff018615dee3a2914b222183af WHIRLPOOL 8901908fddcac2dbecdbadf6eae3ed2709e8d40c90861d0019cb075a0f79a1f34363aa395ff0d65994fda9d6f20e0959e18c2215992f1ec88d29f84d17f5e7d2
|
||||
|
@ -0,0 +1,348 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird/thunderbird-17.0.6-r1.ebuild,v 1.1 2013/06/10 04:03:50 anarchy Exp $
|
||||
|
||||
EAPI="3"
|
||||
WANT_AUTOCONF="2.1"
|
||||
MOZ_ESR="1"
|
||||
|
||||
# This list can be updated using scripts/get_langs.sh from the mozilla overlay
|
||||
MOZ_LANGS=(ar ast be bg bn-BD br ca cs da de el en en-GB en-US es-AR
|
||||
es-ES et eu fi fr fy-NL ga-IE gd gl he hr hu hy-AM id is it ja ko lt nb-NO
|
||||
nl nn-NO pa-IN pl pt-BR pt-PT rm ro ru si sk sl sq sr sv-SE ta-LK tr uk vi
|
||||
zh-CN zh-TW )
|
||||
|
||||
# Convert the ebuild version to the upstream mozilla version, used by mozlinguas
|
||||
MOZ_PV="${PV/_beta/b}"
|
||||
# ESR releases have slightly version numbers
|
||||
if [[ ${MOZ_ESR} == 1 ]]; then
|
||||
MOZ_PV="${MOZ_PV}esr"
|
||||
fi
|
||||
MOZ_P="${PN}-${MOZ_PV}"
|
||||
|
||||
# Enigmail version
|
||||
EMVER="1.5.1"
|
||||
# Upstream ftp release URI that's used by mozlinguas.eclass
|
||||
# We don't use the http mirror because it deletes old tarballs.
|
||||
MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/${PN}/releases/"
|
||||
MOZ_HTTP_URI="http://ftp.mozilla.org/pub/${PN}/releases/"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs mozconfig-3 makeedit multilib autotools pax-utils check-reqs nsplugins mozlinguas
|
||||
|
||||
DESCRIPTION="Thunderbird Mail Client"
|
||||
HOMEPAGE="http://www.mozilla.com/en-US/thunderbird/"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
|
||||
IUSE="bindist gconf +crypt +jit +ipc ldap +lightning +minimal mozdom selinux"
|
||||
|
||||
PATCH="thunderbird-17.0-patches-01"
|
||||
PATCHFF="firefox-17.0-patches-0.6"
|
||||
|
||||
SRC_URI="${SRC_URI}
|
||||
${MOZ_FTP_URI}${MOZ_PV}/source/${MOZ_P}.source.tar.bz2
|
||||
${MOZ_HTTP_URI}${MOZ_PV}/source/${MOZ_P}.source.tar.bz2
|
||||
crypt? ( http://www.mozilla-enigmail.org/download/source/enigmail-${EMVER}.tar.gz )
|
||||
http://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCH}.tar.xz
|
||||
http://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCHFF}.tar.xz
|
||||
http://dev.gentoo.org/~nirbheek/mozilla/patchsets/${PATCHFF}.tar.xz
|
||||
http://dev.gentoo.org/~polynomial-c/mozilla/patchsets/${PATCH}.tar.xz"
|
||||
|
||||
ASM_DEPEND=">=dev-lang/yasm-1.1"
|
||||
|
||||
RDEPEND=">=sys-devel/binutils-2.16.1
|
||||
>=dev-libs/nss-3.14.1
|
||||
>=dev-libs/nspr-4.9.4
|
||||
>=dev-libs/glib-2.26
|
||||
gconf? ( >=gnome-base/gconf-1.2.1:2 )
|
||||
>=media-libs/libpng-1.5.11[apng]
|
||||
>=x11-libs/cairo-1.10
|
||||
>=x11-libs/pango-1.14.0
|
||||
>=x11-libs/gtk+-2.14
|
||||
kernel_linux? ( media-libs/alsa-lib )
|
||||
>=media-libs/libvpx-1.0.0
|
||||
virtual/libffi
|
||||
!x11-plugins/enigmail
|
||||
system-sqlite? ( || (
|
||||
>=dev-db/sqlite-3.7.16:3[secure-delete,debug=]
|
||||
=dev-db/sqlite-3.7.15*[fts3,secure-delete,threadsafe,unlock-notify,debug=]
|
||||
=dev-db/sqlite-3.7.14*[fts3,secure-delete,threadsafe,unlock-notify,debug=]
|
||||
=dev-db/sqlite-3.7.13*[fts3,secure-delete,threadsafe,unlock-notify,debug=]
|
||||
) )
|
||||
selinux? ( sec-policy/selinux-thunderbird )
|
||||
crypt? ( || (
|
||||
( >=app-crypt/gnupg-2.0
|
||||
|| (
|
||||
app-crypt/pinentry[gtk]
|
||||
app-crypt/pinentry[qt4]
|
||||
)
|
||||
)
|
||||
=app-crypt/gnupg-1.4*
|
||||
) )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
!elibc_glibc? ( dev-libs/libexecinfo )
|
||||
virtual/pkgconfig
|
||||
amd64? ( ${ASM_DEPEND}
|
||||
virtual/opengl )
|
||||
x86? ( ${ASM_DEPEND}
|
||||
virtual/opengl )"
|
||||
|
||||
if [[ ${PV} =~ beta ]]; then
|
||||
S="${WORKDIR}/comm-beta"
|
||||
elif [[ ${MOZ_ESR} == 1 ]]; then
|
||||
S="${WORKDIR}/comm-esr${PV%%.*}"
|
||||
else
|
||||
S="${WORKDIR}/comm-release"
|
||||
fi
|
||||
|
||||
pkg_setup() {
|
||||
moz_pkgsetup
|
||||
|
||||
export MOZILLA_DIR="${S}/mozilla"
|
||||
|
||||
if ! use bindist ; then
|
||||
elog "You are enabling official branding. You may not redistribute this build"
|
||||
elog "to any users on your network or the internet. Doing so puts yourself into"
|
||||
elog "a legal problem with Mozilla Foundation"
|
||||
elog "You can disable it by emerging ${PN} _with_ the bindist USE-flag"
|
||||
elog
|
||||
fi
|
||||
|
||||
# Ensure we have enough disk space to compile
|
||||
CHECKREQS_DISK_BUILD="4G"
|
||||
check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# Unpack language packs
|
||||
mozlinguas_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Apply our Thunderbird patchset
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}/thunderbird"
|
||||
|
||||
# Apply our patchset from firefox to thunderbird as well
|
||||
pushd "${S}"/mozilla &>/dev/null || die
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}/firefox"
|
||||
popd &>/dev/null || die
|
||||
|
||||
if use crypt ; then
|
||||
mv "${WORKDIR}"/enigmail "${S}"/mailnews/extensions/enigmail
|
||||
cd "${S}"
|
||||
fi
|
||||
|
||||
# Disable gnomevfs extension
|
||||
sed -i -e "s:gnomevfs::" "${S}/"mozilla/browser/confvars.sh \
|
||||
-e "s:gnomevfs::" "${S}/"mozilla/xulrunner/confvars.sh \
|
||||
|| die "Failed to remove gnomevfs extension"
|
||||
|
||||
#Fix compilation with curl-7.21.7 bug 376027
|
||||
sed -e '/#include <curl\/types.h>/d' \
|
||||
-i "${S}"/mozilla/toolkit/crashreporter/google-breakpad/src/common/linux/http_upload.cc \
|
||||
-i "${S}"/mozilla/toolkit/crashreporter/google-breakpad/src/common/linux/libcurl_wrapper.cc \
|
||||
-i "${S}"/mozilla/config/system-headers \
|
||||
-i "${S}"/mozilla/js/src/config/system-headers || die "Sed failed"
|
||||
|
||||
# Don't error out when there's no files to be removed:
|
||||
sed 's@\(xargs rm\)$@\1 -f@' \
|
||||
-i "${S}"/mozilla/toolkit/mozapps/installer/packager.mk || die
|
||||
|
||||
# Shell scripts sometimes contain DOS line endings; bug 391889
|
||||
grep -rlZ --include="*.sh" $'\r$' . |
|
||||
while read -r -d $'\0' file ; do
|
||||
einfo edos2unix "${file}"
|
||||
edos2unix "${file}"
|
||||
done
|
||||
|
||||
# Allow user to apply any additional patches without modifing ebuild
|
||||
epatch_user
|
||||
|
||||
eautoreconf
|
||||
# Ensure we run eautoreconf in mozilla to regenerate configure
|
||||
cd "${S}"/mozilla
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
|
||||
MEXTENSIONS="default"
|
||||
|
||||
####################################
|
||||
#
|
||||
# mozconfig, CFLAGS and CXXFLAGS setup
|
||||
#
|
||||
####################################
|
||||
|
||||
mozconfig_init
|
||||
mozconfig_config
|
||||
|
||||
# It doesn't compile on alpha without this LDFLAGS
|
||||
use alpha && append-ldflags "-Wl,--no-relax"
|
||||
|
||||
# We must force enable jemalloc 3 threw .mozconfig
|
||||
echo "export MOZ_JEMALLOC=1" >> ${S}/.mozconfig
|
||||
|
||||
mozconfig_annotate '' --prefix="${EPREFIX}"/usr
|
||||
mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir)
|
||||
mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
|
||||
mozconfig_annotate '' --with-default-mozilla-five-home="${EPREFIX}${MOZILLA_FIVE_HOME}"
|
||||
mozconfig_annotate '' --with-user-appdir=.thunderbird
|
||||
mozconfig_annotate '' --with-system-png
|
||||
mozconfig_annotate '' --enable-system-ffi
|
||||
mozconfig_annotate '' --target="${CTARGET:-${CHOST}}"
|
||||
mozconfig_annotate '' --build="${CTARGET:-${CHOST}}"
|
||||
|
||||
# Use enable features
|
||||
mozconfig_use_enable lightning calendar
|
||||
mozconfig_use_enable gconf
|
||||
mozconfig_use_enable ldap
|
||||
# Features know to cause problems with hardened.
|
||||
mozconfig_use_enable jit methodjit
|
||||
mozconfig_use_enable jit tracejit
|
||||
|
||||
# Bug #72667
|
||||
if use mozdom; then
|
||||
MEXTENSIONS="${MEXTENSIONS},inspector"
|
||||
fi
|
||||
|
||||
# Use an objdir to keep things organized.
|
||||
echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/tbird" >> "${S}"/.mozconfig
|
||||
|
||||
# Finalize and report settings
|
||||
mozconfig_final
|
||||
|
||||
####################################
|
||||
#
|
||||
# Configure and build
|
||||
#
|
||||
####################################
|
||||
|
||||
# Disable no-print-directory
|
||||
MAKEOPTS=${MAKEOPTS/--no-print-directory/}
|
||||
|
||||
if [[ $(gcc-major-version) -lt 4 ]]; then
|
||||
append-cxxflags -fno-stack-protector
|
||||
elif [[ $(gcc-major-version) -gt 4 || $(gcc-minor-version) -gt 3 ]]; then
|
||||
if use amd64 || use x86; then
|
||||
append-flags -mno-avx
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
|
||||
MOZ_MAKE_FLAGS="${MAKEOPTS}" \
|
||||
emake -f client.mk || die
|
||||
|
||||
# Only build enigmail extension if crypt enabled.
|
||||
if use crypt ; then
|
||||
cd "${S}"/mailnews/extensions/enigmail || die
|
||||
./makemake -r 2&> /dev/null
|
||||
cd "${S}"/tbird/mailnews/extensions/enigmail
|
||||
emake || die "make enigmail failed"
|
||||
emake xpi || die "make enigmail xpi failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
|
||||
declare emid
|
||||
local obj_dir="tbird"
|
||||
cd "${S}/${obj_dir}"
|
||||
|
||||
# Copy our preference before omnijar is created.
|
||||
cp "${FILESDIR}"/thunderbird-gentoo-default-prefs-1.js-1 \
|
||||
"${S}/${obj_dir}/mozilla/dist/bin/defaults/pref/all-gentoo.js" || die
|
||||
|
||||
# Set default path to search for dictionaries.
|
||||
echo "pref(\"spellchecker.dictionary_path\", ${DICTPATH});" \
|
||||
>> "${S}/${obj_dir}/mozilla/dist/bin/defaults/pref/all-gentoo.js" || die
|
||||
|
||||
# Without methodjit and tracejit there's no conflict with PaX
|
||||
if use jit; then
|
||||
# Pax mark xpcshell for hardened support, only used for startupcache creation.
|
||||
pax-mark m "${S}"/${obj_dir}/mozilla/dist/bin/xpcshell
|
||||
fi
|
||||
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
# Install language packs
|
||||
mozlinguas_src_install
|
||||
|
||||
if ! use bindist; then
|
||||
newicon "${S}"/other-licenses/branding/thunderbird/content/icon48.png thunderbird-icon.png
|
||||
domenu "${FILESDIR}"/icon/${PN}.desktop
|
||||
else
|
||||
newicon "${S}"/mail/branding/aurora/content/icon48.png thunderbird-icon-unbranded.png
|
||||
newmenu "${FILESDIR}"/icon/${PN}-unbranded.desktop \
|
||||
${PN}.desktop
|
||||
|
||||
sed -i -e "s:Mozilla\ Thunderbird:EarlyBird:g" \
|
||||
"${ED}"/usr/share/applications/${PN}.desktop
|
||||
fi
|
||||
|
||||
if use crypt ; then
|
||||
cd "${T}" || die
|
||||
unzip "${S}"/${obj_dir}/mozilla/dist/bin/enigmail*.xpi install.rdf || die
|
||||
emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' install.rdf)
|
||||
|
||||
dodir ${MOZILLA_FIVE_HOME}/extensions/${emid} || die
|
||||
cd "${D}"${MOZILLA_FIVE_HOME}/extensions/${emid} || die
|
||||
unzip "${S}"/${obj_dir}/mozilla/dist/bin/enigmail*.xpi || die
|
||||
fi
|
||||
|
||||
if use lightning ; then
|
||||
emid="{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}"
|
||||
dodir ${MOZILLA_FIVE_HOME}/extensions/${emid}
|
||||
cd "${ED}"${MOZILLA_FIVE_HOME}/extensions/${emid}
|
||||
unzip "${S}"/${obj_dir}/mozilla/dist/xpi-stage/gdata-provider.xpi
|
||||
|
||||
emid="calendar-timezones@mozilla.org"
|
||||
dodir ${MOZILLA_FIVE_HOME}/extensions/${emid}
|
||||
cd "${ED}"${MOZILLA_FIVE_HOME}/extensions/${emid}
|
||||
unzip "${S}"/${obj_dir}/mozilla/dist/xpi-stage/calendar-timezones.xpi
|
||||
|
||||
emid="{e2fda1a4-762b-4020-b5ad-a41df1933103}"
|
||||
dodir ${MOZILLA_FIVE_HOME}/extensions/${emid}
|
||||
cd "${ED}"${MOZILLA_FIVE_HOME}/extensions/${emid}
|
||||
unzip "${S}"/${obj_dir}/mozilla/dist/xpi-stage/lightning.xpi
|
||||
|
||||
# Fix mimetype so it shows up as a calendar application in GNOME 3
|
||||
# This requires that the .desktop file was already installed earlier
|
||||
sed -e "s:^\(MimeType=\):\1text/calendar;:" \
|
||||
-e "s:^\(Categories=\):\1Calendar;:" \
|
||||
-i "${ED}"/usr/share/applications/${PN}.desktop
|
||||
fi
|
||||
|
||||
if use jit ; then
|
||||
pax-mark m "${ED}"/${MOZILLA_FIVE_HOME}/{thunderbird-bin,thunderbird}
|
||||
fi
|
||||
|
||||
# Plugin-container needs to be pax-marked for hardened to ensure plugins such as flash
|
||||
# continue to work as expected.
|
||||
pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/plugin-container
|
||||
|
||||
# Plugins dir
|
||||
share_plugins_dir
|
||||
|
||||
if use minimal; then
|
||||
rm -rf "${ED}"/usr/include "${ED}${MOZILLA_FIVE_HOME}"/{idl,include,lib,sdk} || \
|
||||
die "Failed to remove sdk and headers"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "If you are experience problems with plugins please issue the"
|
||||
elog "following command : rm \${HOME}/.thunderbird/*/extensions.sqlite ,"
|
||||
elog "then restart thunderbird"
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST libbmp-0.1.3.tar.bz2 254442 SHA256 57e0101262f3ae9676bd6d9f44e6038d936ffa450cc2ef72295c37f51b072320 SHA512 70eb81832c16b9ebd7005a643efe0362c91389d91ab9a9d5d7456b3bb87f508c3b56f12d4c6a546c60f263f656ff6a00145b31f7bb997921c552664b9bfbbd74 WHIRLPOOL 4d4464062295a463a591a7942cd9c0b64a2bfd389317a6a2c435fd997b1a1687bd49bf47fba6b1c3004cb0aebb3e5abc1f7419ffd114c69b2799b33bcbb4a61b
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libbmp/libbmp-0.1.3.ebuild,v 1.1 2013/06/09 22:54:48 xmw Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="C library for reading, writing, and modifying Windows bitmap image files"
|
||||
HOMEPAGE="http://code.google.com/p/libbmp/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0/2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>xmw@gentoo.org</email>
|
||||
<name>Michael Weber</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
libbmp is a simple, cross-platform, open source (revised LGPL) C library designed for easily reading, writing, and modifying Windows bitmap (BMP) image files. The library is oriented towards the novice programmer with little formal experience, but it is sufficiently capable for anybody who desires to do I/O and pixel operations on uncompressed 1, 4, 8, 16, 24, and 32 bpp (bits per pixel) BMP files.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,2 +1,3 @@
|
||||
DIST wxsvg-1.1.13.tar.bz2 669378 SHA256 ebaecb322bb7fad97a3cd686bed9827b00afe84063cf2784a7e19891dabd805e SHA512 6c8dddbb274d1d9cd32fdec1c4ac6f73d3497fd2a29ecbe2d6640c2a65a290940faa92fba954c3990b32f713dc89de74e31484263bbd9c2718dc436ca19d2397 WHIRLPOOL 643aa93161028436c30014cb3a2e36cfab53b5f9341d1e21c129eab6e86b756150dc491cc4cf2be0ef6ff956eb7a5ff5c67f8ee1d26879b228e8af18459e9601
|
||||
DIST wxsvg-1.1.15.tar.bz2 660392 SHA256 de88b01a827a63dfe1c54d5f4c46a811c78472d6115ae82641cfa117da502b7b SHA512 5ecd7b23d79cbe4f0f254cdeac842d15273a04c7cfd72b0ca2d665b567ef77e599ab3936eb3cf8d7df456f438686035638f30e0e3d032e035b9c0c424ebde128 WHIRLPOOL 1493786cf001065d23f70cea1633c8b048cb7ef4b26dc968503fe9f7b11b09cb1d6b7d48d3120fc0b5ff16edcfb8213157cef8c9579e5b2bba0d5dd63f7f1c05
|
||||
DIST wxsvg-1.1.9.tar.bz2 670397 SHA256 ab3254d86eeec4775fb098c52078bae964b674441a848a1f8b1c47e018b4b5d9 SHA512 36427e85f086aa36d6d3196da86efcc5dac25e82fbdd22a44acba2d05c28c9ec6dfd5151065a5315118ff869a85a1a2dcfc06cd6d291609f4a6d02aecadf06f3 WHIRLPOOL b28a04af996a5d8cc5eefe59b16985bc11e1ad86fd5ec8324fb98352800ad6ebed831d20215a0175444af02c76bf3ee41b5de7cc638d5320f1a00770cdd4d092
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/wxsvg/wxsvg-1.1.15.ebuild,v 1.1 2013/06/10 04:03:02 dirtyepic Exp $
|
||||
|
||||
EAPI="5"
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
inherit eutils wxwidgets
|
||||
|
||||
DESCRIPTION="C++ library to create, manipulate and render SVG files"
|
||||
HOMEPAGE="http://wxsvg.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="wxWinLL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/expat-2
|
||||
>=dev-libs/glib-2.28
|
||||
dev-libs/libxml2
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
x11-libs/cairo
|
||||
x11-libs/pango
|
||||
x11-libs/wxGTK:2.8[X]
|
||||
virtual/ffmpeg"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog TODO )
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--with-wx-config=${WX_CONFIG}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -0,0 +1,129 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythplugins/mythplugins-0.26.0_p20130526.ebuild,v 1.1 2013/06/09 19:48:44 rich0 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
BACKPORTS="7150d64b6cf4d16ca0a0fd31d872ad2ba8dd0589"
|
||||
MY_P=${P%_p*}
|
||||
|
||||
inherit eutils python
|
||||
|
||||
DESCRIPTION="Official MythTV plugins"
|
||||
HOMEPAGE="http://www.mythtv.org"
|
||||
SRC_URI="ftp://ftp.osuosl.org/pub/mythtv/${MY_P}.tar.bz2
|
||||
${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
MYTHPLUGINS="mytharchive mythbrowser mythgallery mythgame \
|
||||
mythmusic mythnetvision mythnews mythweather mythzoneminder"
|
||||
|
||||
IUSE="${MYTHPLUGINS} cdda cdr exif fftw raw"
|
||||
|
||||
DEPEND="!media-plugins/mytharchive
|
||||
!media-plugins/mythbrowser
|
||||
!media-plugins/mythgallery
|
||||
!media-plugins/mythgame
|
||||
!media-plugins/mythmovies
|
||||
!media-plugins/mythmusic
|
||||
!media-plugins/mythnetvision
|
||||
!media-plugins/mythnews
|
||||
!media-plugins/mythweather
|
||||
=media-tv/mythtv-${PV}*[python]
|
||||
mytharchive? (
|
||||
app-cdr/dvd+rw-tools
|
||||
dev-python/imaging
|
||||
media-video/dvdauthor
|
||||
media-video/mjpegtools[png]
|
||||
media-video/transcode
|
||||
virtual/cdrtools
|
||||
)
|
||||
mythgallery? (
|
||||
media-libs/tiff
|
||||
virtual/opengl
|
||||
exif? ( >media-libs/libexif-0.6.9 )
|
||||
raw? ( media-gfx/dcraw )
|
||||
)
|
||||
mythmusic? (
|
||||
>=media-libs/flac-1.1.2
|
||||
>=media-libs/libvorbis-1.0
|
||||
>=media-libs/taglib-1.6
|
||||
media-sound/lame
|
||||
virtual/opengl
|
||||
cdda? (
|
||||
dev-libs/libcdio
|
||||
cdr? ( virtual/cdrtools )
|
||||
)
|
||||
fftw? ( sci-libs/fftw )
|
||||
)
|
||||
mythnetvision? (
|
||||
=dev-lang/python-2*[xml]
|
||||
dev-python/lxml
|
||||
dev-python/mysql-python
|
||||
dev-python/oauth
|
||||
dev-python/pycurl
|
||||
)
|
||||
mythweather? (
|
||||
dev-perl/DateManip
|
||||
dev-perl/DateTime-Format-ISO8601
|
||||
dev-perl/ImageSize
|
||||
dev-perl/JSON
|
||||
dev-perl/SOAP-Lite
|
||||
dev-perl/XML-Simple
|
||||
dev-perl/XML-Parser
|
||||
dev-perl/XML-SAX
|
||||
dev-perl/XML-XPath
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
REQUIRED_USE="
|
||||
cdda? ( mythmusic )
|
||||
cdr? ( mythmusic cdda )
|
||||
exif? ( mythgallery )
|
||||
fftw? ( mythmusic )
|
||||
mythnews? ( mythbrowser )
|
||||
raw? ( mythgallery )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--python=python2 \
|
||||
--enable-opengl \
|
||||
$(use_enable mythzoneminder) \
|
||||
$(use_enable mytharchive) \
|
||||
$(use_enable mythbrowser) \
|
||||
$(use_enable mythgallery) \
|
||||
$(use_enable mythgame) \
|
||||
$(use_enable mythmusic) \
|
||||
$(use_enable mythnetvision) \
|
||||
$(use_enable mythnews) \
|
||||
$(use_enable mythweather) \
|
||||
$(use_enable cdda cdio) \
|
||||
$(use_enable exif) \
|
||||
$(use_enable exif new-exif) \
|
||||
$(use_enable raw dcraw) \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install || die "make install failed"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST lilypond-2.14.2.tar.gz 15224418 SHA256 243a6b3845722a37083d73ed681e69ffde0b3b9c6158af20db3c0926dd982696 SHA512 e2d551eb8cfc08387519c7282c3813072da644c7e503461669fa79621af2805ac63b9924c7bb2894b2413f05e202b426d9ee0f6889e99287cc1941442342232a WHIRLPOOL 3b85ad14214726f13fe6ffda7a2ba42b10c079139c0c44ec380a8ec5c485966f88ba52184ad126957515948a6de77f884fe4e6be7696a39eec8b1aafd682ec05
|
||||
DIST lilypond-2.16.2.tar.gz 16062982 SHA256 1f4326cf8f9363076a83ce3cbe35f747188084f7492000ed3a7ccc3ce60aa1cb SHA512 3ead74ddb7e51be274aa5aa607b776261ae5d0e9863ebe745451875e62a60fac2376f7e80546df66010cdec2752c271e7006275608f30ce9a2d1b88f22dc1d8d WHIRLPOOL a25539dac5e508220e1ddeeaed261b730e76fd26c5dbc0f97683b65bcbc5907ef6bfbe8c16a7f6a15d12950d4a7d547ee1716e25cdfb5b750e235c913a8ef38e
|
||||
DIST lilypond-2.17.19.tar.gz 16307961 SHA256 96db6298da19f965164230ac2e3d398ac3ca000dce61379a2d33e36942651d12 SHA512 0dead3ed9d876ab445a3c8ec020952dcba7346ddb125c4d7932e9a19fd40008cb73d03bbdf54639bf104a642812889f6815741636d2129446b51351eba64dbb1 WHIRLPOOL ab21c740237e71e13e025e7c92dee876f3b8b9fd2364339f3aceb97f345c0cb9eab00a135a56ffa0ad862816635b17e77c8fed328243cc06825bb1ed3ee3f939
|
||||
DIST lilypond-2.17.20.tar.gz 16323282 SHA256 a2138a006a50a4d20af2153f9032f7d132e7e1e12a46d47fb1ce708bafd27b8c SHA512 92cfb58584b0cb622ecd835d4b207e467a25ae7c0ccdcd09e060870cddcdd482a28b0e3555bea59cb0e7d75ced076764025fbefb7f567cda79121d37f96789b1 WHIRLPOOL 106b0cd09641dedd65d86a0e057c4ad5605a829e71a973fc0611b8fd34dea5a3253a52a45724722af131593250ba3dcfa27572a2aa71c246622694eb405a270b
|
||||
|
@ -0,0 +1,109 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/lilypond-2.17.20.ebuild,v 1.1 2013/06/10 04:44:25 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit elisp-common autotools eutils python-single-r1
|
||||
|
||||
DESCRIPTION="GNU Music Typesetter"
|
||||
SRC_URI="http://download.linuxaudio.org/lilypond/sources/v${PV:0:4}/${P}.tar.gz"
|
||||
HOMEPAGE="http://lilypond.org/"
|
||||
|
||||
LICENSE="GPL-3 FDL-1.3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~x86"
|
||||
LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW"
|
||||
IUSE="debug emacs profile vim-syntax ${LANGS// / linguas_}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND=">=app-text/ghostscript-gpl-8.15
|
||||
>=dev-scheme/guile-1.8.2[deprecated,regex]
|
||||
media-fonts/urw-fonts
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
>=x11-libs/pango-1.12.3
|
||||
emacs? ( virtual/emacs )
|
||||
${PYTHON_DEPS}"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/t1utils
|
||||
dev-lang/perl
|
||||
dev-texlive/texlive-metapost
|
||||
virtual/pkgconfig
|
||||
media-gfx/fontforge
|
||||
>=sys-apps/texinfo-4.11
|
||||
>=sys-devel/bison-2.0
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
sys-devel/make"
|
||||
|
||||
# Correct output data for tests isn't bundled with releases
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.17.2-tex-docs.patch
|
||||
|
||||
if ! use vim-syntax ; then
|
||||
sed -i 's/vim//' GNUmakefile.in || die
|
||||
fi
|
||||
|
||||
# respect CFLAGS
|
||||
sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die
|
||||
|
||||
for lang in ${LANGS}; do
|
||||
use linguas_${lang} || rm po/${lang}.po || die
|
||||
done
|
||||
|
||||
# respect AR
|
||||
sed -i "s/^AR=ar/AR=$(tc-getAR)/" stepmake/stepmake/library-vars.make || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# documentation generation currently not supported since it requires a newer
|
||||
# version of texi2html than is currently in the tree
|
||||
|
||||
econf \
|
||||
--with-ncsb-dir=/usr/share/fonts/urw-fonts \
|
||||
--disable-documentation \
|
||||
--disable-optimising \
|
||||
--disable-pipe \
|
||||
$(use_enable debug debugging) \
|
||||
$(use_enable profile profiling)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use emacs ; then
|
||||
elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \
|
||||
|| die "elisp-compile failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install
|
||||
|
||||
# remove elisp files since they are in the wrong directory
|
||||
rm -r "${ED}"/usr/share/emacs || die
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \
|
||||
|| die "elisp-install failed"
|
||||
elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
|
||||
fi
|
||||
|
||||
python_fix_shebang "${ED}"
|
||||
|
||||
dodoc AUTHORS.txt HACKING NEWS.txt README.txt
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,347 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.26.0_p20130526.ebuild,v 1.1 2013/06/09 19:48:58 rich0 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="python? 2:2.6"
|
||||
BACKPORTS="7150d64b6cf4d16ca0a0fd31d872ad2ba8dd0589"
|
||||
MY_P=${P%_p*}
|
||||
|
||||
inherit flag-o-matic multilib eutils python user
|
||||
|
||||
MYTHTV_VERSION="v0.26.0"
|
||||
MYTHTV_BRANCH="fixes/0.26"
|
||||
|
||||
DESCRIPTION="Homebrew PVR project"
|
||||
HOMEPAGE="http://www.mythtv.org"
|
||||
SRC_URI="ftp://ftp.osuosl.org/pub/mythtv/${MY_P}.tar.bz2
|
||||
${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE_INPUT_DEVICES="input_devices_joystick"
|
||||
IUSE="alsa altivec libass autostart bluray cec crystalhd debug dvb dvd \
|
||||
egl fftw +hls ieee1394 jack lcd lirc perl pulseaudio python raop +theora \
|
||||
vaapi vdpau +vorbis +xml xmltv +xvid ${IUSE_INPUT_DEVICES}"
|
||||
|
||||
REQUIRED_USE="
|
||||
bluray? ( xml )
|
||||
theora? ( vorbis )"
|
||||
|
||||
COMMON="
|
||||
>=media-libs/freetype-2.0
|
||||
sys-libs/zlib
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXv
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXxf86vm
|
||||
>=dev-qt/qtcore-4.7.2:4
|
||||
>=dev-qt/qtdbus-4.7.2:4
|
||||
>=dev-qt/qtgui-4.7.2:4
|
||||
>=dev-qt/qtscript-4.7.2:4
|
||||
>=dev-qt/qtsql-4.7.2:4[mysql]
|
||||
>=dev-qt/qtopengl-4.7.2:4[egl?]
|
||||
>=dev-qt/qtwebkit-4.7.2:4
|
||||
x11-misc/wmctrl
|
||||
virtual/mysql
|
||||
virtual/opengl
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.24 )
|
||||
bluray? (
|
||||
dev-libs/libcdio
|
||||
media-libs/libbluray
|
||||
)
|
||||
cec? ( dev-libs/libcec )
|
||||
dvb? (
|
||||
media-libs/libdvb
|
||||
virtual/linuxtv-dvb-headers
|
||||
)
|
||||
dvd? ( dev-libs/libcdio )
|
||||
egl? ( media-libs/mesa[egl] )
|
||||
fftw? ( sci-libs/fftw:3.0 )
|
||||
hls? (
|
||||
media-libs/faac
|
||||
media-libs/libvpx
|
||||
>=media-libs/x264-0.0.20111220
|
||||
>=media-sound/lame-3.93.1
|
||||
)
|
||||
ieee1394? (
|
||||
>=sys-libs/libraw1394-1.2.0
|
||||
>=sys-libs/libavc1394-0.5.3
|
||||
>=media-libs/libiec61883-1.0.0
|
||||
)
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
lcd? ( app-misc/lcdproc )
|
||||
libass? ( >=media-libs/libass-0.9.11 )
|
||||
lirc? ( app-misc/lirc )
|
||||
perl? (
|
||||
dev-perl/DBD-mysql
|
||||
dev-perl/Net-UPnP
|
||||
dev-perl/LWP-Protocol-https
|
||||
dev-perl/HTTP-Message
|
||||
dev-perl/IO-Socket-INET6
|
||||
>=dev-perl/libwww-perl-5
|
||||
)
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
python? (
|
||||
dev-python/mysql-python
|
||||
dev-python/lxml
|
||||
dev-python/urlgrabber
|
||||
)
|
||||
raop? (
|
||||
dev-libs/openssl
|
||||
net-dns/avahi[mdnsresponder-compat]
|
||||
)
|
||||
theora? ( media-libs/libtheora )
|
||||
vaapi? ( x11-libs/libva )
|
||||
vdpau? ( x11-libs/libvdpau )
|
||||
vorbis? ( >=media-libs/libvorbis-1.0 )
|
||||
xml? ( >=dev-libs/libxml2-2.6.0 )
|
||||
xvid? ( >=media-libs/xvid-1.1.0 )
|
||||
!media-tv/mythtv-bindings
|
||||
!x11-themes/mythtv-themes
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON}
|
||||
media-fonts/corefonts
|
||||
media-fonts/dejavu
|
||||
media-fonts/liberation-fonts
|
||||
x11-apps/xinit
|
||||
autostart? (
|
||||
net-dialup/mingetty
|
||||
x11-wm/evilwm
|
||||
x11-apps/xset
|
||||
)
|
||||
dvd? ( media-libs/libdvdcss )
|
||||
xmltv? ( >=media-tv/xmltv-0.5.43 )
|
||||
"
|
||||
|
||||
DEPEND="${COMMON}
|
||||
dev-lang/yasm
|
||||
x11-proto/xineramaproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
MYTHTV_GROUPS="video,audio,tty,uucp"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS}
|
||||
usermod -a -G ${MYTHTV_GROUPS} mythtv
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
# Perl bits need to go into vender_perl and not site_perl
|
||||
sed -e "s:pure_install:pure_install INSTALLDIRS=vendor:" \
|
||||
-i "${S}"/bindings/perl/Makefile
|
||||
|
||||
# Fix up the version info since we are using the fixes/${PV} branch
|
||||
echo "SOURCE_VERSION=\"${MYTHTV_VERSION}\"" > "${S}"/VERSION
|
||||
echo "BRANCH=\"${MYTHTV_BRANCH}\"" >> "${S}"/VERSION
|
||||
|
||||
echo "setting.extra -= -ldconfig" >> "${S}"/programs/mythfrontend/mythfrontend.pro
|
||||
|
||||
epatch "${FILESDIR}/libdir.patch"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=
|
||||
|
||||
# Setup paths
|
||||
myconf="${myconf} --prefix=${EPREFIX}/usr"
|
||||
myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)"
|
||||
myconf="${myconf} --libdir-name=$(get_libdir)"
|
||||
myconf="${myconf} --mandir=${EPREFIX}/usr/share/man"
|
||||
|
||||
# Audio
|
||||
myconf="${myconf} $(use_enable alsa audio-alsa)"
|
||||
myconf="${myconf} $(use_enable jack audio-jack)"
|
||||
use pulseaudio || myconf="${myconf} --disable-audio-pulseoutput"
|
||||
|
||||
use altivec || myconf="${myconf} --disable-altivec"
|
||||
myconf="${myconf} $(use_enable dvb)"
|
||||
myconf="${myconf} $(use_enable ieee1394 firewire)"
|
||||
myconf="${myconf} $(use_enable lirc)"
|
||||
myconf="${myconf} $(use_enable xvid libxvid)"
|
||||
myconf="${myconf} --dvb-path=/usr/include"
|
||||
myconf="${myconf} --enable-xrandr"
|
||||
myconf="${myconf} --enable-xv"
|
||||
myconf="${myconf} --enable-x11"
|
||||
myconf="${myconf} --enable-nonfree"
|
||||
use cec || myconf="${myconf} --disable-libcec"
|
||||
use raop || myconf="${myconf} --disable-libdns-sd"
|
||||
myconf="${myconf} $(use_enable theora libtheora)"
|
||||
myconf="${myconf} $(use_enable vorbis libvorbis)"
|
||||
|
||||
if use hls; then
|
||||
myconf="${myconf} --enable-libmp3lame"
|
||||
myconf="${myconf} --enable-libx264"
|
||||
myconf="${myconf} --enable-libvpx"
|
||||
myconf="${myconf} --enable-libfaac"
|
||||
fi
|
||||
|
||||
if use perl && use python; then
|
||||
myconf="${myconf} --with-bindings=perl,python"
|
||||
elif use perl; then
|
||||
myconf="${myconf} --without-bindings=python"
|
||||
myconf="${myconf} --with-bindings=perl"
|
||||
elif use python; then
|
||||
myconf="${myconf} --without-bindings=perl"
|
||||
myconf="${myconf} --with-bindings=python"
|
||||
else
|
||||
myconf="${myconf} --without-bindings=perl,python"
|
||||
fi
|
||||
|
||||
use python && myconf="${myconf} --python=$(PYTHON)"
|
||||
|
||||
if use debug; then
|
||||
myconf="${myconf} --compile-type=debug"
|
||||
else
|
||||
myconf="${myconf} --compile-type=profile"
|
||||
#myconf="${myconf} --enable-debug" does nothing per sphery
|
||||
#myconf="${myconf} --disable-stripping" does nothing per sphery
|
||||
fi
|
||||
|
||||
# Video
|
||||
use vdpau && myconf="${myconf} --enable-vdpau"
|
||||
use vaapi && myconf="${myconf} --enable-vaapi"
|
||||
use crystalhd && myconf="${myconf} --enable-crystalhd"
|
||||
|
||||
# Input
|
||||
use input_devices_joystick || myconf="${myconf} --disable-joystick-menu"
|
||||
|
||||
# Clean up DSO load times and other compiler bits
|
||||
myconf="${myconf} --enable-symbol-visibility"
|
||||
myconf="${myconf} --enable-pic"
|
||||
|
||||
# CPU settings
|
||||
for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
|
||||
[ "${i}" = "native" ] && i="host"
|
||||
myconf="${myconf} --cpu=${i}"
|
||||
break
|
||||
done
|
||||
|
||||
if tc-is-cross-compiler ; then
|
||||
myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel)"
|
||||
myconf="${myconf} --cross-prefix=${CHOST}-"
|
||||
fi
|
||||
|
||||
# Build boosters
|
||||
has distcc ${FEATURES} || myconf="${myconf} --disable-distcc"
|
||||
has ccache ${FEATURES} || myconf="${myconf} --disable-ccache"
|
||||
|
||||
chmod +x ./external/FFmpeg/version.sh
|
||||
|
||||
einfo "Running ./configure ${myconf}"
|
||||
./configure \
|
||||
--cc="$(tc-getCC)" \
|
||||
--cxx="$(tc-getCXX)" \
|
||||
--ar="$(tc-getAR)" \
|
||||
--extra-cflags="${CFLAGS}" \
|
||||
--extra-cxxflags="${CXXFLAGS}" \
|
||||
--extra-ldflags="${LDFLAGS}" \
|
||||
${myconf} || die "configure died"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install || die "install failed"
|
||||
dodoc AUTHORS UPGRADING README
|
||||
|
||||
insinto /usr/share/mythtv/database
|
||||
doins database/*
|
||||
|
||||
newinitd "${FILESDIR}"/mythbackend.init mythbackend
|
||||
newconfd "${FILESDIR}"/mythbackend.conf mythbackend
|
||||
|
||||
dodoc keys.txt
|
||||
|
||||
keepdir /etc/mythtv
|
||||
chown -R mythtv "${ED}"/etc/mythtv
|
||||
keepdir /var/log/mythtv
|
||||
chown -R mythtv "${ED}"/var/log/mythtv
|
||||
dodir /var/log/mythtv/old
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/mythtv.logrotate.d-r4 mythtv
|
||||
|
||||
insinto /usr/share/mythtv/contrib
|
||||
doins -r contrib/*
|
||||
|
||||
# Install our mythfrontend wrapper which is similar to Mythbuntu's
|
||||
mv "${ED}/usr/bin/mythfrontend" "${ED}/usr/bin/mythfrontend.real"
|
||||
newbin "${FILESDIR}"/mythfrontend.wrapper mythfrontend
|
||||
newconfd "${FILESDIR}"/mythfrontend.conf mythfrontend
|
||||
|
||||
if use autostart; then
|
||||
dodir /etc/env.d/
|
||||
echo 'CONFIG_PROTECT="/home/mythtv/"' > "${ED}"/etc/env.d/95mythtv
|
||||
|
||||
insinto /home/mythtv
|
||||
newins "${FILESDIR}"/bash_profile .bash_profile
|
||||
newins "${FILESDIR}"/xinitrc-r1 .xinitrc
|
||||
fi
|
||||
|
||||
# Make Python files executable
|
||||
find "${ED}/usr/share/mythtv" -type f -name '*.py' | while read file; do
|
||||
if [[ ! "${file##*/}" = "__init__.py" ]]; then
|
||||
chmod a+x "${file}"
|
||||
fi
|
||||
done
|
||||
|
||||
# Ensure that Python scripts are executed by Python 2
|
||||
python_convert_shebangs -q -r 2 "${ED}/usr/share/mythtv"
|
||||
|
||||
# Make shell & perl scripts executable
|
||||
find "${ED}" -type f -name '*.sh' -o -type f -name '*.pl' | \
|
||||
while read file; do
|
||||
chmod a+x "${file}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
export CONFIG_PROTECT="${CONFIG_PROTECT} ${EROOT}/home/mythtv/"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize MythTV
|
||||
|
||||
elog "To have this machine operate as recording host for MythTV, "
|
||||
elog "mythbackend must be running. Run the following:"
|
||||
elog "rc-update add mythbackend default"
|
||||
elog
|
||||
elog "Your recordings folder must be owned 'mythtv'. e.g."
|
||||
elog "chown -R mythtv /var/lib/mythtv"
|
||||
|
||||
elog "Want mythfrontend to start automatically?"
|
||||
elog "Set USE=autostart. Details can be found at:"
|
||||
elog "http://dev.gentoo.org/~cardoe/mythtv/autostart.html"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup MythTV
|
||||
}
|
||||
|
||||
pkg_info() {
|
||||
if [[ -f "${EROOT}"/usr/bin/mythfrontend ]]; then
|
||||
"${EROOT}"/usr/bin/mythfrontend --version
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
echo "Creating mythtv MySQL user and mythconverg database if it does not"
|
||||
echo "already exist. You will be prompted for your MySQL root password."
|
||||
"${EROOT}"/usr/bin/mysql -u root -p < "${EROOT}"/usr/share/mythtv/database/mc.sql
|
||||
}
|
@ -1 +1 @@
|
||||
Sun, 09 Jun 2013 19:06:56 +0000
|
||||
Mon, 10 Jun 2013 05:06:55 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue