parent
36befbc0ba
commit
aa3ea77d08
@ -1,2 +1 @@
|
||||
DIST Parse-Evtx-1.1.0.zip 70268 SHA256 24de63b28699433998904785cd28b92972c86e558cabe03851f89203de4ef6e1 SHA512 ec1d717b3b49c9409bc41c135bdb0f1590f388e6060d8ca8ed4e658bdad8c3d9a32c27dc6411b868449a184af287477c5713d25c079840696812d7ad0915e9d1 WHIRLPOOL c66b4ad16bcb2c1ec927176bfa454e4194bd1cbce720baf5469bd72dd72f647dd16218e527a956763e6fb704d0fbfe4e27440a44f11d08b6d82f3cc5522948d5
|
||||
DIST Parse-Evtx-1.1.1.zip 71351 SHA256 a1909810bedc709e2fa87f6603e52c62e60086bf1ce064bd839fc5873abf8512 SHA512 308fc3da4e9291f5f84cfbb0a2a17f92d45a2314d6b1806acb59e1a2d521041487a51a6e88e70c03a683df5a9442a30d8dc2483cf684cb96bb86f0a05f27e752 WHIRLPOOL 7f63774477d8497a7e54480341c6c51753c36173acb29d660f99225a9942a0ce77f279f61c63ac3cc8009afa721352daa32e647850e251466887fd8bbb98d07b
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/evtxtools/evtxtools-1.1.0.ebuild,v 1.4 2013/06/09 12:05:25 zlogene Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit perl-app perl-module
|
||||
|
||||
MY_PN="Parse-Evtx"
|
||||
DESCRIPTION="Read, decode and dump Windows Vista/2008/7 event log file "
|
||||
HOMEPAGE="http://computer.forensikblog.de/en/topics/windows/vista_event_log"
|
||||
SRC_URI="http://computer.forensikblog.de/files/evtx/${MY_PN}-${PV}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
dev-perl/DateTime
|
||||
dev-perl/Digest-CRC
|
||||
dev-perl/DateTime
|
||||
dev-perl/Carp-Assert
|
||||
dev-perl/Data-Hexify"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Consider the following as how-to:"
|
||||
einfo "http://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-guestfish/"
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/evtxtools/evtxtools-1.1.1.ebuild,v 1.4 2013/06/09 12:05:25 zlogene Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit perl-app perl-module
|
||||
|
||||
MY_PN="Parse-Evtx"
|
||||
DESCRIPTION="Read, decode and dump Windows Vista/2008/7 event log file "
|
||||
HOMEPAGE="http://computer.forensikblog.de/en/topics/windows/vista_event_log"
|
||||
SRC_URI="http://computer.forensikblog.de/files/evtx/${MY_PN}-${PV}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
dev-perl/DateTime
|
||||
dev-perl/Digest-CRC
|
||||
dev-perl/DateTime
|
||||
dev-perl/Carp-Assert
|
||||
dev-perl/Data-Hexify"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Consider the following as how-to:"
|
||||
einfo "http://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-guestfish/"
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST tea-33.3.0.tar.bz2 310901 SHA256 14d540cd6825b94bd22e655b2626458fd5c611e7c4cc3124fd7d9af3eb7f5ea8 SHA512 fab95bbb961b79e2b002f583a9a338fa4ad5e2952bd3b95a3a8158b7f79b73e2486d8971603db8463b8442ff4545cd82b09a46c096e4290b6ee629d2f6341e41 WHIRLPOOL 87fccb72f5a1c8c7de257919a09ccdb9320807808aa131f1f4cddd637e2003df2b508b8df9da6e71013290ccd31f6b8af5d77f35083549b1c5f211e6ee6bca15
|
||||
DIST tea-36.0.1.tar.bz2 316905 SHA256 472d7db0a814b4398564d77ccfcdfb6d8dd78452faca73079f6513e624942048 SHA512 db2fccd077a866b7ff841ce57ff118244f00a046fbe408db81229536d700dc49c25388cadd7550db4e2fb70c12a05a69aee84b438054cddcebdc8d126ac86469 WHIRLPOOL 77d16acc84d4de14d8e10544f679dbc5e0f66df9eaa3e002c2a075ed02ae9073b1bb03c9ddad192684e56d7045d6d06d62ba72f2edfd30b82979a61e289740ae
|
||||
DIST tea-36.0.2.tar.bz2 315046 SHA256 6541b645451de3f6eefce58b55a302224b925bdbdb9efcfa1491bcf867baad6f SHA512 e04df49e8381c69f0e2fb6900d6f095b0eb15bdc2d8fb935230129b2fef7560fd91936d66a2440d1922a6fc6c2e7d07e40fe1106b5cf22dd495bba667cf5def8 WHIRLPOOL 1da79f26126c98876ff6bfef04c799f476a204294466cbd47834748a12e8c59d10f7c2e36d4ebc089fcef21caca1beeab1293acee13da9af341466c117873e1f
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST libwpd-0.9.7.tar.xz 542608 SHA256 30bb9c982399cb11d5d7181388409a2e7a73e8ae5221cb9d3ef5d62ec7dc373e SHA512 c268adf6ff5712b448500e64dedf15dc135b15a10a90b64fe6b213e8c3d938bc474ef8aed0901a6ddb5841c951667509d24837021580f5822eff2cdb822e7388 WHIRLPOOL 254ad7af08716eb6af170dab0c333580f68758b33b4172d7c29fcad6e9d78a0b4ac5a03ff94832bb51b98f1eeabfd6ecfc67099c3148e77ca958b89d1d5a09b3
|
||||
DIST libwpd-0.9.8.tar.xz 543916 SHA256 f5d189f9a004a20d85727da2b9adc060ddb447fd53dc2482527b44ab1751df2f SHA512 1c74c386cb783932568ed421d114ff61c235fae4b285b62acb4efffe7cc982969bf3d9ccceaba8cbff8aaaa6784ad9dc5955a9fbff3531ee9bf817dd8f32d794 WHIRLPOOL e2ad5cbb3a20bd7bc8207ed85ff4a435650a2c8ffe3577d67bec7de5105af7b3bec4fe8b1d7588ef189e2797573fb9b05b479ff8b68f4c3a1d85d2d9aed83b4d
|
||||
DIST libwpd-0.9.9.tar.xz 541608 SHA256 b91df4ca0ef0f456be9531c9ee07cf6a5e50a16b52002abb99e8ebef13fac2b2 SHA512 a71b4990670446270518e1318066e714c02c4a0752fba0be03037ea7bd434c5dd0219d61687448faabf7e31bc40e4e4a9d4b67d01fd362dae96322db513d79ac WHIRLPOOL c51155a0a88047abe856d0a83b05721b1629c4e5c24e68de65905ce8c735fd0144290c2739971d0118dfcf24eff47aea0f6b8b260c7eaa9af2a36cf8325d3c0a
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/libwpd/libwpd-0.9.9.ebuild,v 1.1 2013/08/21 08:13:44 scarabeus Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit alternatives eutils
|
||||
|
||||
DESCRIPTION="WordPerfect Document import/export library"
|
||||
HOMEPAGE="http://libwpd.sf.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="|| ( LGPL-2.1 MPL-2.0 )"
|
||||
SLOT="0.9"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc test +tools"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
test? ( dev-util/cppunit )
|
||||
"
|
||||
RDEPEND="${RDEPEND}
|
||||
!<app-text/libwpd-0.8.14-r1"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
--disable-werror \
|
||||
$(use_with doc docs) \
|
||||
$(use_with tools stream) \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--program-suffix=-${SLOT}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use tools; then
|
||||
alternatives_auto_makesym /usr/bin/wpd2html "/usr/bin/wpd2html-[0-9].[0-9]"
|
||||
alternatives_auto_makesym /usr/bin/wpd2raw "/usr/bin/wpd2raw-[0-9].[0-9]"
|
||||
alternatives_auto_makesym /usr/bin/wpd2text "/usr/bin/wpd2text-[0-9].[0-9]"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use tools; then
|
||||
alternatives_auto_makesym /usr/bin/wpd2html "/usr/bin/wpd2html-[0-9].[0-9]"
|
||||
alternatives_auto_makesym /usr/bin/wpd2raw "/usr/bin/wpd2raw-[0-9].[0-9]"
|
||||
alternatives_auto_makesym /usr/bin/wpd2text "/usr/bin/wpd2text-[0-9].[0-9]"
|
||||
fi
|
||||
}
|
@ -1,10 +1,3 @@
|
||||
DIST 20120514-10gen-mms-agent.zip 30130 SHA256 a305434e79ba97f1bac6a8942ee5fccb8fde11dedc9ae4bd8eb5f6ad2beaef88 SHA512 8faab37d31fa681d6abe0f969996426041fe7dfd3a5991f46b3a48fe2b000fe073eec17ea7fdc8aab6d55df9b9f2486c10c80675ec1090a59c1b9c5e94b605e3 WHIRLPOOL 53cb78049aab3f6f1866840aaf2eba84d772d75a13183767db62efefedf86d37b944944fee7a7cc897b753c1211df89c20614b2aba3beb07b4705dedf159628f
|
||||
DIST 20120830-10gen-mms-agent.zip 30259 SHA256 9232813052f05376670724ae3da7ccff2a0515e8342d07c520cf6b9ae3e781d6 SHA512 84a7c07ffb18a34c5fc21e73b99f0b42a7b28a8aa33d56156c93a34c5cc9fba545788903117f3bfbe35d7b3a0f50e01c4ff8c9053cbf23317c84d739440878c8 WHIRLPOOL 61e89b7608f90b1994471f856aeae34e8cc1ec6d8168e804f5b3c2207702ac2334dc9ee18cf4e31facb212380a4956b008a3b296424d13e15178c65e868073ce
|
||||
DIST 20121128-10gen-mms-agent.zip 31408 SHA256 be5314dcf2dbfe22b6acd6901fa7d436c336884738cf59f8a4aacf2ccf331052 SHA512 7077c8212089b335710319ba83255c676cbafa415b5adbfdd323f46c66129efd8b561fcdc2cbf892a9d43cb22b1ae7685bb2c427b3b0c001ffe910874fa9d817 WHIRLPOOL 90cc005441acff46a83a899c7e33852799b45a31d790c25642636fdd8ddda50e1e8e58835d4cb1eca89244a9f2622cff10a1d0e20d1f4d5c3509b0de6baf276b
|
||||
DIST 20130605-10gen-mms-agent.zip 31780 SHA256 31580a8fd95a603334a1e903896709fe0f311a8a118fee7da1b9cf8e91aad6c3 SHA512 671b10c93b0b43ee60e4e0ca0e5553fe8503cc1690a86686215eabc1f5e2005048c6d35d786d7b0196e1382690b5696d64aed79a563d3ef5b373568cac420f4e WHIRLPOOL 6e95b20158eda465b859ce2266f7344796c4bc4dce71410e9ef045085d614c33a49f29ff1747be8111cf34d948e8310d5bb972915aa63e2a9428a1e976174e08
|
||||
DIST mongodb-src-r2.0.7.tar.gz 2982999 SHA256 b204d94bc912692bdc154402fbfc2e5c4bd60b09dcbe244f3b2b7657f0a82736 SHA512 4c92d99433388f6829e990f3a065b7d897c0ef83a8b41e99613b1b7fbccd8d1797a048c4340d6dafed956dcb06785ac9784a4b68990020c5052b11368ec98806 WHIRLPOOL 159952c811eae62cdb6b4ad577351a8f6537b8fae1b2d2ad5e4dbdf07e14944aebff765ee896f48ce53cbd7d53b6bb0fc2da470226488f2957b5c6e6df07f3e4
|
||||
DIST mongodb-src-r2.0.8.tar.gz 2983263 SHA256 882f0880609c9658793702af4da5183f49d85331600ae4d8997018367f4ae827 SHA512 f79ecc75bcf574886681b27198263cc9128ab6d865b71ae3a32ea366e9125f3c636fa45a7e94d8ee7acc04adb8da655f940da03e8a285d11d6b62b0c1cad23f5 WHIRLPOOL 21525830a69a8c734bdc39d979cd3abd3e7092ffa5b1e98392ca5e013e0bd7dd2e298792ba876e5c6098204fc73f35d5cf6186cb58e12f933de46fa903938c65
|
||||
DIST mongodb-src-r2.2.0.tar.gz 10150762 SHA256 084626e476ac747dfae143889c24a10f739cd54480af9bf253f50999f065608b SHA512 b040efe01457703d14d63f69b3fff79a09d6068a89b17d52ad7eb430f81d3f60fdba711cee628d55456a772d7e36fde7c683d4d71fa7d95225e436e28ccac163 WHIRLPOOL 43d12039aff75bdb12c41721ccf259b379245a655aba72472f2a973dad921d9a384f79356d6bfa9795b609f2011324b1e7100ff94b8b92f2834c40a3a9bbe653
|
||||
DIST mongodb-src-r2.2.4.tar.gz 10190863 SHA256 d2bdeb5e9b93681b5a55e6b947777debd7473a80ecc230682e4b25b6e59ccb60 SHA512 93f81d6edc9900c24ef2780df2199e4445e9f23aff4c7970e05320641c9b00473a73d1b7c7424e5744c501e4b1c9e9858efe1d03caf875f2f04e5222f8ae0e2e WHIRLPOOL 1b1013b4dc1e3c219fa1e5db8cfc0e477a321988fe19a5938709e2ee4554c2e3f7e7ddf04bdea37ac72a28954773d31f5dd13ee7aa45986f06bce6c6b6b9223b
|
||||
DIST mongodb-src-r2.4.5.tar.gz 14128847 SHA256 b576cbc2c813144b8a8774a7232b78bd0b005e2e6fa7428e7fa1e426c7a28705 SHA512 07a46770c5acc0e046750e0299e669b934f6093705f5979bc5fa8bb56e73761f9602a5bdbaaad688700e4dde32d1e5f48a6cf3763ffab4d80a47f0158d8fb89e WHIRLPOOL 407cec63e9f304be887a5f2ab90f08b15d2295f809c36b30faafb0290146d9b99b3b8b8f0226768982555a39cce7944baca3fd98503f965bfb3bfb09a7e2160d
|
||||
DIST mongodb-src-r2.4.6-rc1.tar.gz 14142361 SHA256 3e1b88bbff7e526dd1dff6527ec7d899596e2ff24d123546c2b388db948c5c7d SHA512 2c2910fd49c01dbc8d7c4e8a7609ca73d3b578f2f78c1a6220daee12dfe618d30886b5faa6a22be81217c97721ca9d8d3f04bb240d572bba2f93aca73ce45390 WHIRLPOOL 708079731b38f41b65ba848f3a283c5a08d5c738870abf57aac4f9f338b9e65fd159e169b37ede422f3bf70ea4eb6c1c24e396bee8d447eeef364abf9c5b56ab
|
||||
DIST 20130821-10gen-mms-agent.zip 31918 SHA256 b48f35fe2ad058dc4ebcab01dad1229c0597e78a9011b57cd1030a05cdd16e7c SHA512 9467d229829076733a023d81e377479e1e4c71c4d2c1d163928abf7215bc87809a304768f83b531b6f585d19b18585f9d0d35fd74762cf180586be11536eb1a8 WHIRLPOOL d632c1761d1f47f2139a046d58af09641a0c8d9f3168d7ebc99dac5c6a3b5b0846cba8eac581b67d35c5e7580c6910759503b85e7ca74e5930c0e0dac3d77c97
|
||||
DIST mongodb-src-r2.2.6.tar.gz 10190712 SHA256 e6864ac5fe7dabee055abc5c5d1074fa826f53715211227aaac64abaf55bf6ee SHA512 5d2be83dedfac4ce3c01c048480fcd4b67848b7e12b1f7854cf54477319ecbee0636e2a969e4dea33aea90514dba89ab9dda356a77426143ac9b60d1c07fb4da WHIRLPOOL a11fe32101717c6e287848c34c05a91e50d92d3e99bf9bb8f52957b3b145931fc51de34a8858b647e48841ef3b1111d3511dbf14033ae78d6a27af7f267a8ebd
|
||||
DIST mongodb-src-r2.4.6.tar.gz 14141660 SHA256 b5f397abc92d36d84a85753d15fb5d7dab6545ce9dfd9fb7685c630e6b050acb SHA512 73921d439f1bc2b6c1f358ab96f05f5f082db7b2c09f8964f2e3cc2d3cfd059e0c923d228a77fbfb8c8613eee1fbf16a35d5347b6316219aed3b0357dec97eae WHIRLPOOL 4c5c9b8b7530a58f5fab62c414054939014a38cb49429ff619059b7305b29eb41c8ec3977a3b4490391afe963384d4560097a7ef536679c42c9d0ecc1677c958
|
||||
|
@ -1,43 +0,0 @@
|
||||
--- a/SConstruct 2011-04-13 18:25:01.436551679 +0200
|
||||
+++ b/SConstruct 2011-04-13 18:25:45.387832601 +0200
|
||||
@@ -668,12 +668,13 @@
|
||||
if has_option( "distcc" ):
|
||||
env["CXX"] = "distcc " + env["CXX"]
|
||||
|
||||
- env.Append( CPPFLAGS="-fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch" )
|
||||
+ env.Append( CPPFLAGS="-fPIC -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch" )
|
||||
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet
|
||||
if linux:
|
||||
- env.Append( CPPFLAGS=" -Werror " )
|
||||
env.Append( CPPFLAGS=" -fno-builtin-memcmp " ) # glibc's memcmp is faster than gcc's
|
||||
+ env.Append( CXXFLAGS=os.environ['CXXFLAGS'])
|
||||
env.Append( CXXFLAGS=" -Wnon-virtual-dtor " )
|
||||
+ env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
|
||||
env.Append( LINKFLAGS=" -fPIC -pthread -rdynamic" )
|
||||
env.Append( LIBS=[] )
|
||||
|
||||
@@ -683,12 +684,11 @@
|
||||
|
||||
if linux and has_option( "sharedclient" ):
|
||||
env.Append( LINKFLAGS=" -Wl,--as-needed -Wl,-zdefs " )
|
||||
+ env.Append( SHLINKFLAGS=" -Wl,-soname=libmongoclient.so " )
|
||||
|
||||
if debugBuild:
|
||||
env.Append( CPPFLAGS=" -O0 -fstack-protector " );
|
||||
env['ENV']['GLIBCXX_FORCE_NEW'] = 1; # play nice with valgrind
|
||||
- else:
|
||||
- env.Append( CPPFLAGS=" -O3" )
|
||||
#env.Append( CPPFLAGS=" -fprofile-generate" )
|
||||
#env.Append( LINKFLAGS=" -fprofile-generate" )
|
||||
# then:
|
||||
@@ -911,8 +911,8 @@
|
||||
|
||||
myCheckLib( J , True )
|
||||
mozHeader = "js"
|
||||
- if bigLibString(myenv).find( "mozjs" ) >= 0:
|
||||
- mozHeader = "mozjs"
|
||||
+ env.Append( CPPPATH=["/usr/include/nspr"] )
|
||||
+ env.Append( CPPDEFINES=[ "XULRUNNER" ] )
|
||||
|
||||
if not conf.CheckHeader( mozHeader + "/jsapi.h" ):
|
||||
if conf.CheckHeader( "jsapi.h" ):
|
@ -1,24 +0,0 @@
|
||||
--- a/SConstruct 2012-08-20 10:26:51.484835418 +0200
|
||||
+++ b/SConstruct 2012-08-20 10:27:49.855374497 +0200
|
||||
@@ -765,11 +765,16 @@
|
||||
binaries = ['python', 'python2.5', 'python2.6', 'python2.7', 'python25', 'python26', 'python27']
|
||||
for binary in binaries:
|
||||
try:
|
||||
- # py-2.4 compatible replacement for shell backticks
|
||||
- output = subprocess.Popen([binary, '--version'], stdout=subprocess.PIPE).communicate()[0]
|
||||
- match = version.search(output)
|
||||
- if match and float(match.group(1)) >= 2.5:
|
||||
- return binary
|
||||
+ for path in smokeEnv['ENV']['PATH'].split(':'):
|
||||
+ if os.path.isfile( '%s/%s' % (path, binary) ):
|
||||
+ # py-2.4 compatible replacement for shell backticks
|
||||
+ out, err = subprocess.Popen([binary, '-V'], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
|
||||
+ for stream in (out, err):
|
||||
+ match = version.search(stream)
|
||||
+ if match:
|
||||
+ versiontuple = tuple(map(int, match.group(1).split('.')))
|
||||
+ if versiontuple >= (2, 5):
|
||||
+ return binary
|
||||
except:
|
||||
pass
|
||||
|
@ -1,46 +0,0 @@
|
||||
--- a/SConstruct 2012-08-29 16:21:35.107094792 +0200
|
||||
+++ b/SConstruct 2012-08-29 19:09:16.964893217 +0200
|
||||
@@ -677,7 +677,6 @@
|
||||
# -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used.
|
||||
env.Append( CCFLAGS=["-fPIC",
|
||||
"-fno-strict-aliasing",
|
||||
- "-ggdb",
|
||||
"-pthread",
|
||||
"-Wall",
|
||||
"-Wsign-compare",
|
||||
@@ -685,14 +684,15 @@
|
||||
"-Winvalid-pch"] )
|
||||
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet
|
||||
if linux:
|
||||
- env.Append( CCFLAGS=["-Werror", "-pipe"] )
|
||||
+ env.Append( CPPDEFINES=["XP_UNIX=1"] )
|
||||
if not has_option('clang'):
|
||||
env.Append( CCFLAGS=["-fno-builtin-memcmp"] ) # glibc's memcmp is faster than gcc's
|
||||
|
||||
env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] )
|
||||
- env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )
|
||||
+ env.Append( CXXFLAGS=os.environ['CXXFLAGS'])
|
||||
+ env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
|
||||
env.Append( LINKFLAGS=["-fPIC", "-pthread", "-rdynamic"] )
|
||||
- env.Append( LIBS=[] )
|
||||
+ env.Append( LIBS=['js', 'pcre', 'pcrecpp', 'snappy'] )
|
||||
|
||||
#make scons colorgcc friendly
|
||||
for key in ('HOME', 'TERM'):
|
||||
@@ -703,6 +703,7 @@
|
||||
|
||||
if linux and has_option( "sharedclient" ):
|
||||
env.Append( LINKFLAGS=" -Wl,--as-needed -Wl,-zdefs " )
|
||||
+ env.Append( SHLINKFLAGS=" -Wl,-soname=libmongoclient.so " )
|
||||
|
||||
if linux and has_option( "gcov" ):
|
||||
env.Append( CXXFLAGS=" -fprofile-arcs -ftest-coverage " )
|
||||
@@ -712,7 +713,7 @@
|
||||
env.Append( CCFLAGS=["-O0", "-fstack-protector"] )
|
||||
env['ENV']['GLIBCXX_FORCE_NEW'] = 1; # play nice with valgrind
|
||||
else:
|
||||
- env.Append( CCFLAGS=["-O3"] )
|
||||
+ env.Append( CXXFLAGS=["-O3"] )
|
||||
|
||||
if debugLogging:
|
||||
env.Append( CPPDEFINES=["_DEBUG"] );
|
@ -1,11 +0,0 @@
|
||||
--- a/src/mongo/SConscript 2012-08-29 16:21:35.077094498 +0200
|
||||
+++ b/src/mongo/SConscript 2012-08-29 17:13:55.199620421 +0200
|
||||
@@ -170,7 +170,7 @@
|
||||
|
||||
if usesm:
|
||||
env.StaticLibrary('scripting', scripting_common_files + ['scripting/engine_spidermonkey.cpp'],
|
||||
- LIBDEPS=['$BUILD_DIR/third_party/js-1.7/js', 'bson_template_evaluator'])
|
||||
+ LIBDEPS=['bson_template_evaluator'])
|
||||
elif usev8:
|
||||
env.StaticLibrary('scripting', scripting_common_files + ['scripting/engine_v8.cpp',
|
||||
'scripting/v8_db.cpp',
|
@ -1,107 +0,0 @@
|
||||
diff --git a/src/mongo/SConscript b/src/mongo/SConscript
|
||||
index c026ce9..bbd900c 100644
|
||||
--- a/src/mongo/SConscript
|
||||
+++ b/src/mongo/SConscript
|
||||
@@ -452,7 +452,7 @@
|
||||
env.Library('stacktrace', 'util/stacktrace.cpp')
|
||||
|
||||
env.Program('lame_stacktrace_test', 'util/lame_stacktrace_test.cpp',
|
||||
- LIBDEPS=['stacktrace',
|
||||
+ LIBDEPS=['stacktrace', 'foundation', 'mongocommon', 'alltools',
|
||||
'$BUILD_DIR/mongo/base/base'])
|
||||
|
||||
serverOnlyFiles += mmapFiles
|
||||
@@ -654,10 +654,6 @@
|
||||
"defaultversion",
|
||||
"gridfs",
|
||||
"notmongodormongos"])
|
||||
-env.Library("allclient", "client/clientOnly.cpp", LIBDEPS=["clientandshell"])
|
||||
-
|
||||
-if has_option( "sharedclient" ):
|
||||
- sharedClientLibName = str( env.SharedLibrary( "mongoclient", [], LIBDEPS=["allclient"] )[0] )
|
||||
|
||||
# dbtests test binary
|
||||
env.StaticLibrary('testframework', ['dbtests/framework.cpp'], LIBDEPS=['unittest/unittest'])
|
||||
@@ -806,12 +802,6 @@
|
||||
env.Install( "$INSTALL_DIR/include/" + id, Glob( id + "*.h" ) )
|
||||
env.Install( "$INSTALL_DIR/include/" + id, Glob( id + "*.hpp" ) )
|
||||
|
||||
-#lib
|
||||
-if installSetup.libraries:
|
||||
- env.Install('$INSTALL_DIR/$NIX_LIB_DIR', '#${LIBPREFIX}mongoclient${LIBSUFFIX}')
|
||||
- if has_option( "sharedclient" ):
|
||||
- env.Install( "$INSTALL_DIR/$NIX_LIB_DIR", '#${SHLIBPREFIX}mongoclient${SHLIBSUFFIX}')
|
||||
-
|
||||
# Stage the top-level mongodb banners
|
||||
distsrc = env.Dir('#distsrc')
|
||||
env.Append(MODULE_BANNERS = [distsrc.File('README'),
|
||||
diff --git a/src/SConscript.client b/src/SConscript.client
|
||||
index b88a54f..a15bbb3 100644
|
||||
--- a/src/SConscript.client
|
||||
+++ b/src/SConscript.client
|
||||
@@ -4,6 +4,7 @@
|
||||
# programs.
|
||||
|
||||
Import('env clientEnv')
|
||||
+Import("has_option")
|
||||
|
||||
env.Command(['mongo/base/error_codes.h', 'mongo/base/error_codes.cpp',],
|
||||
['mongo/base/generate_error_codes.py', 'mongo/base/error_codes.err'],
|
||||
@@ -36,7 +37,6 @@ clientSourceBasic = [
|
||||
'mongo/client/dbclient.cpp',
|
||||
'mongo/client/dbclient_rs.cpp',
|
||||
'mongo/client/dbclientcursor.cpp',
|
||||
- 'mongo/client/distlock.cpp',
|
||||
'mongo/client/gridfs.cpp',
|
||||
'mongo/client/model.cpp',
|
||||
'mongo/client/sasl_client_authenticate.cpp',
|
||||
@@ -83,7 +83,6 @@ clientSourceBasic = [
|
||||
'mongo/util/timer.cpp',
|
||||
'mongo/util/trace.cpp',
|
||||
'mongo/util/util.cpp',
|
||||
- 'mongo/util/version.cpp',
|
||||
]
|
||||
|
||||
clientSourceSasl = ['mongo/client/sasl_client_authenticate_impl.cpp',
|
||||
@@ -93,6 +92,7 @@ clientSourceAll = clientSourceBasic + clientSourceSasl
|
||||
|
||||
if env['MONGO_BUILD_SASL_CLIENT']:
|
||||
clientSource = clientSourceAll
|
||||
+ env.Append(LIBS="sasl2")
|
||||
else:
|
||||
clientSource = clientSourceBasic
|
||||
|
||||
@@ -133,16 +133,18 @@ for path in clientHeaderDirectories:
|
||||
clientHeaders.extend(Glob('mongo/%s/*.h' % path))
|
||||
clientHeaders.extend(Glob('mongo/%s/*.hpp' % path))
|
||||
|
||||
-mongoclient_lib = env.Library('mongoclient', clientSource),
|
||||
-mongoclient_install = env.Install('#/', [
|
||||
- mongoclient_lib,
|
||||
- #env.SharedLibrary('mongoclient', clientSource),
|
||||
- ])
|
||||
+
|
||||
+mongoclient_libs = [ env.Library('mongoclient', clientSource) ]
|
||||
+if has_option( "sharedclient" ):
|
||||
+ mongoclient_libs.append( env.SharedLibrary('mongoclient', clientSource) )
|
||||
+
|
||||
+mongoclient_install = env.Install('#/', mongoclient_libs)
|
||||
+
|
||||
env.Alias('mongoclient', mongoclient_install)
|
||||
|
||||
clientTests = clientEnv.Install('#/', [
|
||||
clientEnv.Program(target,
|
||||
- [source, mongoclient_lib]) for (target, source) in exampleSourceMap])
|
||||
+ [source, mongoclient_libs[-1]]) for (target, source) in exampleSourceMap])
|
||||
|
||||
clientTests.append(
|
||||
clientEnv.Install('#/', clientEnv.Program('bsondemo', 'mongo/bson/bsondemo/bsondemo.cpp')))
|
||||
@@ -177,6 +179,8 @@ env.Install(
|
||||
prefix = GetOption("prefix")
|
||||
|
||||
env.Install(prefix + "/lib", '${LIBPREFIX}mongoclient${LIBSUFFIX}')
|
||||
+if has_option( "sharedclient" ):
|
||||
+ env.Install(prefix + "/lib", '${SHLIBPREFIX}mongoclient${SHLIBSUFFIX}')
|
||||
|
||||
for x in clientHeaderDirectories:
|
||||
inst = env.Install(prefix + "/include/mongo/" + x,
|
@ -1,48 +0,0 @@
|
||||
From b1ec2058673f8ca582a490c2dd4a8405698221ae Mon Sep 17 00:00:00 2001
|
||||
From: Eliot Horowitz <eliot@10gen.com>
|
||||
Date: Thu, 28 Jul 2011 19:54:51 -0400
|
||||
Subject: [PATCH] compile on linux3 SERVER-3457
|
||||
|
||||
---
|
||||
SConstruct | 4 +++-
|
||||
distsrc/client/SConstruct | 2 +-
|
||||
2 files changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/SConstruct b/SConstruct
|
||||
index 55d34d5..c47d3f6 100644
|
||||
--- a/SConstruct
|
||||
+++ b/SConstruct
|
||||
@@ -343,6 +343,8 @@ processInfoFiles = [ "util/processinfo.cpp" ]
|
||||
|
||||
if os.path.exists( "util/processinfo_" + os.sys.platform + ".cpp" ):
|
||||
processInfoFiles += [ "util/processinfo_" + os.sys.platform + ".cpp" ]
|
||||
+elif os.sys.platform == "linux3":
|
||||
+ processInfoFiles += [ "util/processinfo_linux2.cpp" ]
|
||||
else:
|
||||
processInfoFiles += [ "util/processinfo_none.cpp" ]
|
||||
|
||||
@@ -474,7 +476,7 @@ if "darwin" == os.sys.platform:
|
||||
env.Append( CPPPATH=filterExists(["/sw/include" , "/opt/local/include"]) )
|
||||
env.Append( LIBPATH=filterExists(["/sw/lib/", "/opt/local/lib"]) )
|
||||
|
||||
-elif "linux2" == os.sys.platform:
|
||||
+elif "linux2" == os.sys.platform or "linux3" == os.sys.platform:
|
||||
linux = True
|
||||
platform = "linux"
|
||||
|
||||
diff --git a/distsrc/client/SConstruct b/distsrc/client/SConstruct
|
||||
index c2d309a..54fc943 100755
|
||||
--- a/distsrc/client/SConstruct
|
||||
+++ b/distsrc/client/SConstruct
|
||||
@@ -41,7 +41,7 @@ linux = False
|
||||
if "darwin" == os.sys.platform:
|
||||
addExtraLibs( "/opt/local/" )
|
||||
nix = True
|
||||
-elif "linux2" == os.sys.platform:
|
||||
+elif "linux2" == os.sys.platform or "linux3" == os.sys.platform:
|
||||
nix = True
|
||||
linux = True
|
||||
|
||||
--
|
||||
1.7.5.4
|
||||
|
@ -1,40 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongodb.initd,v 1.5 2013/01/18 11:19:27 ultrabug Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
checkpath -d -m 0750 -o "${MONGODB_USER}":mongodb "${MONGODB_RUN}"
|
||||
|
||||
# Listen to MONGODB_IP if configured
|
||||
[ -z "${MONGODB_IP}" ] || MONGODB_OPTIONS="--bind_ip ${MONGODB_IP} ${MONGODB_OPTIONS}"
|
||||
|
||||
# Baselayout-1 user should use --chuid instead of --user
|
||||
local USEROPT="--user"
|
||||
if [ ! -f /etc/init.d/sysfs ]; then
|
||||
USEROPT="--chuid"
|
||||
fi
|
||||
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
start-stop-daemon --background --start --make-pidfile \
|
||||
--pidfile ${MONGODB_RUN:-/var/run/mongodb}/${SVCNAME}.pid \
|
||||
${USEROPT} ${MONGODB_USER:-mongodb} \
|
||||
--exec ${MONGODB_EXEC:-/usr/bin/mongod} \
|
||||
-- \
|
||||
--port ${MONGODB_PORT:-27017} \
|
||||
--dbpath ${MONGODB_DATA:-/var/lib/mongodb} \
|
||||
--unixSocketPrefix ${MONGODB_RUN:-/var/run/mongodb} \
|
||||
--logappend --logpath /var/log/mongodb/${SVCNAME}.log \
|
||||
${MONGODB_OPTIONS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
start-stop-daemon --stop --pidfile ${MONGODB_RUN:-/var/run/mongodb}/${SVCNAME}.pid
|
||||
eend $?
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongos.initd,v 1.3 2013/01/18 11:19:27 ultrabug Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
if [ -z "${MONGOS_CONFIGDB}" ]; then
|
||||
eerror "MONGOS_CONFIGDB is not defined, check your configuration file !"
|
||||
return 1
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig || return 1
|
||||
|
||||
checkpath -d -m 0750 -o "${MONGOS_USER}":mongodb "${MONGOS_RUN}"
|
||||
|
||||
# Listen to MONGOS_IP if configured
|
||||
[ -z "${MONGOS_IP}" ] || MONGOS_OPTIONS="--bind_ip ${MONGOS_IP} ${MONGOS_OPTIONS}"
|
||||
|
||||
# Baselayout-1 user should use --chuid instead of --user
|
||||
local USEROPT="--user"
|
||||
if [ ! -f /etc/init.d/sysfs ]; then
|
||||
USEROPT="--chuid"
|
||||
fi
|
||||
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
start-stop-daemon --background --start --make-pidfile \
|
||||
--pidfile ${MONGOS_RUN:-/var/run/mongodb}/${SVCNAME}.pid \
|
||||
${USEROPT} ${MONGOS_USER:-mongodb} \
|
||||
--exec ${MONGOS_EXEC:-/usr/bin/mongos} \
|
||||
-- \
|
||||
--port ${MONGOS_PORT:-27018} \
|
||||
--unixSocketPrefix ${MONGOS_RUN:-/var/run/mongodb} \
|
||||
--logappend --logpath /var/log/mongodb/${SVCNAME}.log \
|
||||
--configdb ${MONGOS_CONFIGDB} \
|
||||
${MONGOS_OPTIONS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
start-stop-daemon --stop --pidfile ${MONGOS_RUN:-/var/run/mongodb}/${SVCNAME}.pid
|
||||
eend $?
|
||||
}
|
@ -1,107 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.0.7-r1.ebuild,v 1.3 2013/03/05 14:08:39 ultrabug Exp $
|
||||
|
||||
EAPI=4
|
||||
SCONS_MIN_VERSION="1.2.0"
|
||||
|
||||
inherit eutils flag-o-matic multilib pax-utils scons-utils user versionator
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz
|
||||
mms-agent? ( http://dev.gentoo.org/~ultrabug/20120514-10gen-mms-agent.zip )"
|
||||
|
||||
LICENSE="AGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="mms-agent static-libs v8"
|
||||
|
||||
PDEPEND="mms-agent? ( dev-python/pymongo )"
|
||||
RDEPEND="
|
||||
v8? ( dev-lang/v8 )
|
||||
<dev-libs/boost-1.50
|
||||
dev-libs/libpcre[cxx]
|
||||
net-libs/libpcap
|
||||
app-arch/snappy"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-libs/readline
|
||||
sys-libs/ncurses"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup mongodb
|
||||
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
|
||||
|
||||
scons_opts=" --cc=$(tc-getCC) --cxx=$(tc-getCXX) --sharedclient"
|
||||
scons_opts+=" --use-system-pcre"
|
||||
scons_opts+=" --use-system-snappy"
|
||||
|
||||
if use v8; then
|
||||
scons_opts+=" --usev8"
|
||||
else
|
||||
scons_opts+=" --usesm"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.0-fix-scons.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.2-r1-fix-boost.patch"
|
||||
|
||||
# drop -Werror
|
||||
sed -i -e '/Werror/d' SConstruct || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
escons ${scons_opts} all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons ${scons_opts} --full --nostrip install --prefix="${D}"/usr
|
||||
|
||||
use static-libs || rm "${D}/usr/$(get_libdir)/libmongoclient.a"
|
||||
|
||||
use v8 && pax-mark m "${D}"/usr/bin/{mongo,mongod}
|
||||
|
||||
for x in /var/{lib,log,run}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners mongodb:mongodb "${x}"
|
||||
done
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${PN/db/s}.initd" ${PN/db/s}
|
||||
newconfd "${FILESDIR}/${PN/db/s}.confd" ${PN/db/s}
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
if use mms-agent; then
|
||||
local MY_PN="mms-agent"
|
||||
local MY_D="/opt/${MY_PN}"
|
||||
insinto ${MY_D}
|
||||
doins "${WORKDIR}/${MY_PN}/"*
|
||||
fowners -R mongodb:mongodb ${MY_D}
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
|
||||
newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN}
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
escons ${scons_opts} test
|
||||
"${S}"/test --dbpath=unittest || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${REPLACING_VERSIONS} < 1.8 ]]; then
|
||||
ewarn "You just upgraded from a previous version of mongodb !"
|
||||
ewarn "Make sure you run 'mongod --upgrade' before using this version."
|
||||
fi
|
||||
elog "Journaling is now enabled by default, see /etc/conf.d/${PN}"
|
||||
}
|
@ -1,108 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.0.7-r2.ebuild,v 1.3 2013/03/05 14:08:39 ultrabug Exp $
|
||||
|
||||
EAPI=4
|
||||
SCONS_MIN_VERSION="1.2.0"
|
||||
|
||||
inherit eutils flag-o-matic multilib pax-utils scons-utils user versionator
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz
|
||||
mms-agent? ( http://dev.gentoo.org/~ultrabug/20120514-10gen-mms-agent.zip )"
|
||||
|
||||
LICENSE="AGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="mms-agent static-libs v8"
|
||||
|
||||
PDEPEND="mms-agent? ( dev-python/pymongo )"
|
||||
RDEPEND="
|
||||
v8? ( dev-lang/v8 )
|
||||
>=dev-libs/boost-1.50
|
||||
dev-libs/libpcre[cxx]
|
||||
net-libs/libpcap
|
||||
app-arch/snappy"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-libs/readline
|
||||
sys-libs/ncurses"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup mongodb
|
||||
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
|
||||
|
||||
scons_opts=" --cc=$(tc-getCC) --cxx=$(tc-getCXX) --sharedclient"
|
||||
scons_opts+=" --use-system-pcre"
|
||||
scons_opts+=" --use-system-snappy"
|
||||
|
||||
if use v8; then
|
||||
scons_opts+=" --usev8"
|
||||
else
|
||||
scons_opts+=" --usesm"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.0-fix-scons.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.2-r1-fix-boost.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.0-r1-boost-1.50.patch"
|
||||
|
||||
# drop -Werror
|
||||
sed -i -e '/Werror/d' SConstruct || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
escons ${scons_opts} all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons ${scons_opts} --full --nostrip install --prefix="${D}"/usr
|
||||
|
||||
use static-libs || rm "${D}/usr/$(get_libdir)/libmongoclient.a"
|
||||
|
||||
use v8 && pax-mark m "${D}"/usr/bin/{mongo,mongod}
|
||||
|
||||
for x in /var/{lib,log,run}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners mongodb:mongodb "${x}"
|
||||
done
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${PN/db/s}.initd" ${PN/db/s}
|
||||
newconfd "${FILESDIR}/${PN/db/s}.confd" ${PN/db/s}
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
if use mms-agent; then
|
||||
local MY_PN="mms-agent"
|
||||
local MY_D="/opt/${MY_PN}"
|
||||
insinto ${MY_D}
|
||||
doins "${WORKDIR}/${MY_PN}/"*
|
||||
fowners -R mongodb:mongodb ${MY_D}
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
|
||||
newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN}
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
escons ${scons_opts} test
|
||||
"${S}"/test --dbpath=unittest || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${REPLACING_VERSIONS} < 1.8 ]]; then
|
||||
ewarn "You just upgraded from a previous version of mongodb !"
|
||||
ewarn "Make sure you run 'mongod --upgrade' before using this version."
|
||||
fi
|
||||
elog "Journaling is now enabled by default, see /etc/conf.d/${PN}"
|
||||
}
|
@ -1,107 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.0.8-r1.ebuild,v 1.2 2013/03/05 14:08:39 ultrabug Exp $
|
||||
|
||||
EAPI=4
|
||||
SCONS_MIN_VERSION="1.2.0"
|
||||
|
||||
inherit eutils flag-o-matic multilib pax-utils scons-utils user versionator
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz
|
||||
mms-agent? ( http://dev.gentoo.org/~ultrabug/20120514-10gen-mms-agent.zip )"
|
||||
|
||||
LICENSE="AGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="mms-agent static-libs v8"
|
||||
|
||||
PDEPEND="mms-agent? ( dev-python/pymongo )"
|
||||
RDEPEND="
|
||||
v8? ( dev-lang/v8 )
|
||||
<dev-libs/boost-1.50
|
||||
dev-libs/libpcre[cxx]
|
||||
net-libs/libpcap
|
||||
app-arch/snappy"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-libs/readline
|
||||
sys-libs/ncurses"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup mongodb
|
||||
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
|
||||
|
||||
scons_opts=" --cc=$(tc-getCC) --cxx=$(tc-getCXX) --sharedclient"
|
||||
scons_opts+=" --use-system-pcre"
|
||||
scons_opts+=" --use-system-snappy"
|
||||
|
||||
if use v8; then
|
||||
scons_opts+=" --usev8"
|
||||
else
|
||||
scons_opts+=" --usesm"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.0-fix-scons.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.2-r1-fix-boost.patch"
|
||||
|
||||
# drop -Werror
|
||||
sed -i -e '/Werror/d' SConstruct || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
escons ${scons_opts} all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons ${scons_opts} --full --nostrip install --prefix="${D}"/usr
|
||||
|
||||
use static-libs || rm "${D}/usr/$(get_libdir)/libmongoclient.a"
|
||||
|
||||
use v8 && pax-mark m "${D}"/usr/bin/{mongo,mongod}
|
||||
|
||||
for x in /var/{lib,log,run}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners mongodb:mongodb "${x}"
|
||||
done
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${PN/db/s}.initd" ${PN/db/s}
|
||||
newconfd "${FILESDIR}/${PN/db/s}.confd" ${PN/db/s}
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
if use mms-agent; then
|
||||
local MY_PN="mms-agent"
|
||||
local MY_D="/opt/${MY_PN}"
|
||||
insinto ${MY_D}
|
||||
doins "${WORKDIR}/${MY_PN}/"*
|
||||
fowners -R mongodb:mongodb ${MY_D}
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
|
||||
newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN}
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
escons ${scons_opts} test
|
||||
"${S}"/test --dbpath=unittest || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${REPLACING_VERSIONS} < 1.8 ]]; then
|
||||
ewarn "You just upgraded from a previous version of mongodb !"
|
||||
ewarn "Make sure you run 'mongod --upgrade' before using this version."
|
||||
fi
|
||||
elog "Journaling is now enabled by default, see /etc/conf.d/${PN}"
|
||||
}
|
@ -1,108 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.0.8-r2.ebuild,v 1.2 2013/03/05 14:08:39 ultrabug Exp $
|
||||
|
||||
EAPI=4
|
||||
SCONS_MIN_VERSION="1.2.0"
|
||||
|
||||
inherit eutils flag-o-matic multilib pax-utils scons-utils user versionator
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz
|
||||
mms-agent? ( http://dev.gentoo.org/~ultrabug/20120514-10gen-mms-agent.zip )"
|
||||
|
||||
LICENSE="AGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="mms-agent static-libs v8"
|
||||
|
||||
PDEPEND="mms-agent? ( dev-python/pymongo )"
|
||||
RDEPEND="
|
||||
v8? ( dev-lang/v8 )
|
||||
>=dev-libs/boost-1.50
|
||||
dev-libs/libpcre[cxx]
|
||||
net-libs/libpcap
|
||||
app-arch/snappy"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-libs/readline
|
||||
sys-libs/ncurses"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup mongodb
|
||||
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
|
||||
|
||||
scons_opts=" --cc=$(tc-getCC) --cxx=$(tc-getCXX) --sharedclient"
|
||||
scons_opts+=" --use-system-pcre"
|
||||
scons_opts+=" --use-system-snappy"
|
||||
|
||||
if use v8; then
|
||||
scons_opts+=" --usev8"
|
||||
else
|
||||
scons_opts+=" --usesm"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.0-fix-scons.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.2-r1-fix-boost.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.0-r1-boost-1.50.patch"
|
||||
|
||||
# drop -Werror
|
||||
sed -i -e '/Werror/d' SConstruct || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
escons ${scons_opts} all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons ${scons_opts} --full --nostrip install --prefix="${D}"/usr
|
||||
|
||||
use static-libs || rm "${D}/usr/$(get_libdir)/libmongoclient.a"
|
||||
|
||||
use v8 && pax-mark m "${D}"/usr/bin/{mongo,mongod}
|
||||
|
||||
for x in /var/{lib,log,run}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners mongodb:mongodb "${x}"
|
||||
done
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${PN/db/s}.initd" ${PN/db/s}
|
||||
newconfd "${FILESDIR}/${PN/db/s}.confd" ${PN/db/s}
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
if use mms-agent; then
|
||||
local MY_PN="mms-agent"
|
||||
local MY_D="/opt/${MY_PN}"
|
||||
insinto ${MY_D}
|
||||
doins "${WORKDIR}/${MY_PN}/"*
|
||||
fowners -R mongodb:mongodb ${MY_D}
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
|
||||
newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN}
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
escons ${scons_opts} test
|
||||
"${S}"/test --dbpath=unittest || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${REPLACING_VERSIONS} < 1.8 ]]; then
|
||||
ewarn "You just upgraded from a previous version of mongodb !"
|
||||
ewarn "Make sure you run 'mongod --upgrade' before using this version."
|
||||
fi
|
||||
elog "Journaling is now enabled by default, see /etc/conf.d/${PN}"
|
||||
}
|
@ -1,116 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.2.0-r1.ebuild,v 1.3 2013/03/11 10:12:04 ultrabug Exp $
|
||||
|
||||
EAPI=4
|
||||
SCONS_MIN_VERSION="1.2.0"
|
||||
BOOST_MAX_SLOT="1.49"
|
||||
inherit eutils flag-o-matic multilib pax-utils scons-utils user versionator
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz
|
||||
mms-agent? ( http://dev.gentoo.org/~ultrabug/20120830-10gen-mms-agent.zip )"
|
||||
|
||||
LICENSE="AGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="mms-agent static-libs v8"
|
||||
|
||||
PDEPEND="mms-agent? ( dev-python/pymongo )"
|
||||
RDEPEND="
|
||||
v8? ( dev-lang/v8 )
|
||||
<dev-libs/boost-1.50
|
||||
dev-libs/libpcre[cxx]
|
||||
dev-util/google-perftools
|
||||
net-libs/libpcap
|
||||
app-arch/snappy"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-libs/readline
|
||||
sys-libs/ncurses"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup mongodb
|
||||
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
|
||||
|
||||
scons_opts=" --cc=$(tc-getCC) --cxx=$(tc-getCXX) --sharedclient"
|
||||
scons_opts+=" --use-system-tcmalloc"
|
||||
scons_opts+=" --use-system-pcre"
|
||||
scons_opts+=" --use-system-snappy"
|
||||
scons_opts+=" --use-system-boost"
|
||||
|
||||
if use v8; then
|
||||
scons_opts+=" --usev8"
|
||||
else
|
||||
scons_opts+=" --usesm"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.2-r1-fix-scons.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.2-r1-fix-boost.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.2-fix-sharedclient.patch"
|
||||
|
||||
# FIXME: apply only this fix [1] on x86 boxes as it breaks /usr/lib symlink
|
||||
# on amd64 machines [2].
|
||||
# [1] https://jira.mongodb.org/browse/SERVER-5575
|
||||
# [2] https://bugs.gentoo.org/show_bug.cgi?id=434664
|
||||
if use !prefix && [[ "$(get_libdir)" == "lib" ]]; then
|
||||
epatch "${FILESDIR}/${PN}-2.2-fix-x86client.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
escons ${scons_opts} all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons ${scons_opts} --full --nostrip install --prefix="${ED}"/usr
|
||||
|
||||
use static-libs || rm "${ED}/usr/$(get_libdir)/libmongoclient.a"
|
||||
|
||||
use v8 && pax-mark m "${ED}"/usr/bin/{mongo,mongod}
|
||||
|
||||
for x in /var/{lib,log,run}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners mongodb:mongodb "${x}"
|
||||
done
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${PN/db/s}.initd" ${PN/db/s}
|
||||
newconfd "${FILESDIR}/${PN/db/s}.confd" ${PN/db/s}
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
if use mms-agent; then
|
||||
local MY_PN="mms-agent"
|
||||
local MY_D="/opt/${MY_PN}"
|
||||
insinto ${MY_D}
|
||||
doins "${WORKDIR}/${MY_PN}/"*
|
||||
fowners -R mongodb:mongodb ${MY_D}
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
|
||||
newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN}
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
escons ${scons_opts} test
|
||||
"${S}"/test --dbpath=unittest || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${REPLACING_VERSIONS} < 1.8 ]]; then
|
||||
ewarn "You just upgraded from a previous version of mongodb !"
|
||||
ewarn "Make sure you run 'mongod --upgrade' before using this version."
|
||||
fi
|
||||
elog "Journaling is now enabled by default, see /etc/conf.d/${PN}"
|
||||
}
|
@ -1,117 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.2.0-r2.ebuild,v 1.3 2013/03/11 10:12:04 ultrabug Exp $
|
||||
|
||||
EAPI=4
|
||||
SCONS_MIN_VERSION="1.2.0"
|
||||
|
||||
inherit eutils flag-o-matic multilib pax-utils scons-utils user versionator
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz
|
||||
mms-agent? ( http://dev.gentoo.org/~ultrabug/20120830-10gen-mms-agent.zip )"
|
||||
|
||||
LICENSE="AGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="mms-agent static-libs v8"
|
||||
|
||||
PDEPEND="mms-agent? ( dev-python/pymongo )"
|
||||
RDEPEND="
|
||||
v8? ( dev-lang/v8 )
|
||||
>=dev-libs/boost-1.50
|
||||
dev-libs/libpcre[cxx]
|
||||
dev-util/google-perftools
|
||||
net-libs/libpcap
|
||||
app-arch/snappy"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-libs/readline
|
||||
sys-libs/ncurses"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup mongodb
|
||||
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
|
||||
|
||||
scons_opts=" --cc=$(tc-getCC) --cxx=$(tc-getCXX) --sharedclient"
|
||||
scons_opts+=" --use-system-tcmalloc"
|
||||
scons_opts+=" --use-system-pcre"
|
||||
scons_opts+=" --use-system-snappy"
|
||||
scons_opts+=" --use-system-boost"
|
||||
|
||||
if use v8; then
|
||||
scons_opts+=" --usev8"
|
||||
else
|
||||
scons_opts+=" --usesm"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.2-r1-fix-scons.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.2-r1-fix-boost.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.2-r2-boost-1.50.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.2-fix-sharedclient.patch"
|
||||
|
||||
# FIXME: apply only this fix [1] on x86 boxes as it breaks /usr/lib symlink
|
||||
# on amd64 machines [2].
|
||||
# [1] https://jira.mongodb.org/browse/SERVER-5575
|
||||
# [2] https://bugs.gentoo.org/show_bug.cgi?id=434664
|
||||
if use !prefix && [[ "$(get_libdir)" == "lib" ]]; then
|
||||
epatch "${FILESDIR}/${PN}-2.2-fix-x86client.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
escons ${scons_opts} all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons ${scons_opts} --full --nostrip install --prefix="${ED}"/usr
|
||||
|
||||
use static-libs || rm "${ED}/usr/$(get_libdir)/libmongoclient.a"
|
||||
|
||||
use v8 && pax-mark m "${ED}"/usr/bin/{mongo,mongod}
|
||||
|
||||
for x in /var/{lib,log,run}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners mongodb:mongodb "${x}"
|
||||
done
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${PN/db/s}.initd" ${PN/db/s}
|
||||
newconfd "${FILESDIR}/${PN/db/s}.confd" ${PN/db/s}
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
if use mms-agent; then
|
||||
local MY_PN="mms-agent"
|
||||
local MY_D="/opt/${MY_PN}"
|
||||
insinto ${MY_D}
|
||||
doins "${WORKDIR}/${MY_PN}/"*
|
||||
fowners -R mongodb:mongodb ${MY_D}
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
|
||||
newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN}
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
escons ${scons_opts} test
|
||||
"${S}"/test --dbpath=unittest || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${REPLACING_VERSIONS} < 1.8 ]]; then
|
||||
ewarn "You just upgraded from a previous version of mongodb !"
|
||||
ewarn "Make sure you run 'mongod --upgrade' before using this version."
|
||||
fi
|
||||
elog "Journaling is now enabled by default, see /etc/conf.d/${PN}"
|
||||
}
|
@ -1,133 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.4.5.ebuild,v 1.3 2013/07/18 16:34:32 ultrabug Exp $
|
||||
|
||||
EAPI=4
|
||||
SCONS_MIN_VERSION="1.2.0"
|
||||
|
||||
inherit eutils flag-o-matic multilib pax-utils scons-utils user versionator
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz
|
||||
mms-agent? ( http://dev.gentoo.org/~ultrabug/20130605-10gen-mms-agent.zip )"
|
||||
|
||||
LICENSE="AGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="kerberos mms-agent sharedclient spidermonkey ssl static-libs"
|
||||
|
||||
PDEPEND="mms-agent? ( dev-python/pymongo app-arch/unzip )"
|
||||
RDEPEND="
|
||||
<dev-lang/v8-3.19
|
||||
>=dev-libs/boost-1.50[threads(+)]
|
||||
dev-libs/libpcre[cxx]
|
||||
dev-util/google-perftools
|
||||
net-libs/libpcap
|
||||
app-arch/snappy
|
||||
ssl? ( >=dev-libs/openssl-1.0.1c )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
kerberos? ( dev-libs/cyrus-sasl[kerberos] )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup mongodb
|
||||
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
|
||||
|
||||
scons_opts=" --cc=$(tc-getCC) --cxx=$(tc-getCXX)"
|
||||
scons_opts+=" --use-system-tcmalloc"
|
||||
scons_opts+=" --use-system-pcre"
|
||||
scons_opts+=" --use-system-snappy"
|
||||
scons_opts+=" --use-system-boost"
|
||||
|
||||
if use kerberos; then
|
||||
scons_opts+=" --use-sasl-client"
|
||||
fi
|
||||
|
||||
if use sharedclient; then
|
||||
scons_opts+=" --sharedclient"
|
||||
fi
|
||||
|
||||
if use spidermonkey; then
|
||||
scons_opts+=" --usesm"
|
||||
else
|
||||
scons_opts+=" --use-system-v8"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
scons_opts+=" --ssl"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.4.5-fix-scons.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.2-r1-fix-boost.patch"
|
||||
|
||||
# bug #462606
|
||||
sed -i -e "s@\$INSTALL_DIR/lib@\$INSTALL_DIR/$(get_libdir)@g" src/SConscript.client || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
escons ${scons_opts} all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons ${scons_opts} --full --nostrip install --prefix="${ED}"/usr
|
||||
|
||||
use static-libs || find "${ED}"/usr/ -type f -name "*.a" -delete
|
||||
|
||||
if ! use spidermonkey; then
|
||||
pax-mark m "${ED}"/usr/bin/{mongo,mongod}
|
||||
fi
|
||||
|
||||
for x in /var/{lib,log}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners mongodb:mongodb "${x}"
|
||||
done
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${PN/db/s}.initd" ${PN/db/s}
|
||||
newconfd "${FILESDIR}/${PN/db/s}.confd" ${PN/db/s}
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
if use mms-agent; then
|
||||
local MY_PN="mms-agent"
|
||||
local MY_D="/opt/${MY_PN}"
|
||||
insinto ${MY_D}
|
||||
doins "${WORKDIR}/${MY_PN}/"*
|
||||
fowners -R mongodb:mongodb ${MY_D}
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
|
||||
newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# wrt bug #461466
|
||||
if [[ "$(get_libdir)" == "lib64" ]]; then
|
||||
rmdir "${ED}"/usr/lib/ &>/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
escons ${scons_opts} test
|
||||
"${S}"/test --dbpath=unittest || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${REPLACING_VERSIONS} < 2.4 ]]; then
|
||||
ewarn "You just upgraded from a previous version of mongodb !"
|
||||
ewarn "Make sure you run 'mongod --upgrade' before using this version."
|
||||
fi
|
||||
elog "Journaling is now enabled by default, see /etc/conf.d/${PN}"
|
||||
}
|
@ -0,0 +1,121 @@
|
||||
Program.launch will first attempt to open files using libgio and then fallback
|
||||
to gnome-vfs. gio_launch uses g_file_new_for_path which fails when passed a
|
||||
URI. If swt was built with USE="-gnome" then the fallback fails as well,
|
||||
making it appear that a package has a dependency on swt[gnome] when it does
|
||||
not.
|
||||
|
||||
Caused by: java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
|
||||
no swt-gnome-gtk-3740 in java.library.path
|
||||
no swt-gnome-gtk in java.library.path
|
||||
Can't load library: /home/xxx/.swt/lib/linux/x86_64/libswt-gnome-gtk-3740.so
|
||||
Can't load library: /home/xxx/.swt/lib/linux/x86_64/libswt-gnome-gtk.so
|
||||
|
||||
Use g_file_new_for_commandline_arg instead.
|
||||
|
||||
https://bugs.gentoo.org/424151
|
||||
|
||||
|
||||
--- a/os.c
|
||||
+++ b/os.c
|
||||
@@ -3059,6 +3059,30 @@ fail:
|
||||
}
|
||||
#endif
|
||||
|
||||
+#ifndef NO__1g_1file_1new_1for_1commandline_1arg
|
||||
+JNIEXPORT jintLong JNICALL OS_NATIVE(_1g_1file_1new_1for_1commandline_1arg)
|
||||
+ (JNIEnv *env, jclass that, jbyteArray arg0)
|
||||
+{
|
||||
+ jbyte *lparg0=NULL;
|
||||
+ jintLong rc = 0;
|
||||
+ OS_NATIVE_ENTER(env, that, _1g_1file_1new_1for_1commandline_1arg_FUNC);
|
||||
+ if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail;
|
||||
+/*
|
||||
+ rc = (jintLong)g_file_new_for_commandline_arg(lparg0);
|
||||
+*/
|
||||
+ {
|
||||
+ LOAD_FUNCTION(fp, g_file_new_for_commandline_arg)
|
||||
+ if (fp) {
|
||||
+ rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jbyte *))fp)(lparg0);
|
||||
+ }
|
||||
+ }
|
||||
+fail:
|
||||
+ if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
|
||||
+ OS_NATIVE_EXIT(env, that, _1g_1file_1new_1for_1commandline_1arg_FUNC);
|
||||
+ return rc;
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
#ifndef NO__1g_1file_1new_1for_1path
|
||||
JNIEXPORT jintLong JNICALL OS_NATIVE(_1g_1file_1new_1for_1path)
|
||||
(JNIEnv *env, jclass that, jbyteArray arg0)
|
||||
--- a/os_custom.h
|
||||
+++ b/os_custom.h
|
||||
@@ -280,6 +280,7 @@
|
||||
#define g_file_icon_get_file_LIB LIB_GIO
|
||||
#define g_file_info_get_content_type_LIB LIB_GIO
|
||||
#define g_file_info_get_modification_time_LIB LIB_GIO
|
||||
+#define g_file_new_for_commandline_arg_LIB LIB_GIO
|
||||
#define g_file_new_for_path_LIB LIB_GIO
|
||||
#define g_file_new_for_uri_LIB LIB_GIO
|
||||
#define g_file_read_LIB LIB_GIO
|
||||
--- a/os_stats.c
|
||||
+++ b/os_stats.c
|
||||
@@ -18,8 +18,8 @@
|
||||
|
||||
#ifdef NATIVE_STATS
|
||||
|
||||
-int OS_nativeFunctionCount = 1396;
|
||||
-int OS_nativeFunctionCallCount[1396];
|
||||
+int OS_nativeFunctionCount = 1397;
|
||||
+int OS_nativeFunctionCallCount[1397];
|
||||
char * OS_nativeFunctionNames[] = {
|
||||
#ifndef JNI64
|
||||
"Call__IIII",
|
||||
@@ -250,6 +250,7 @@ char * OS_nativeFunctionNames[] = {
|
||||
"_1g_1file_1icon_1get_1file",
|
||||
"_1g_1file_1info_1get_1content_1type",
|
||||
"_1g_1file_1info_1get_1modification_1time",
|
||||
+ "_1g_1file_1new_1for_1commandline_1arg",
|
||||
"_1g_1file_1new_1for_1path",
|
||||
"_1g_1file_1new_1for_1uri",
|
||||
"_1g_1file_1query_1info",
|
||||
--- a/os_stats.h
|
||||
+++ b/os_stats.h
|
||||
@@ -258,6 +258,7 @@ typedef enum {
|
||||
_1g_1file_1icon_1get_1file_FUNC,
|
||||
_1g_1file_1info_1get_1content_1type_FUNC,
|
||||
_1g_1file_1info_1get_1modification_1time_FUNC,
|
||||
+ _1g_1file_1new_1for_1commandline_1arg_FUNC,
|
||||
_1g_1file_1new_1for_1path_FUNC,
|
||||
_1g_1file_1new_1for_1uri_FUNC,
|
||||
_1g_1file_1query_1info_FUNC,
|
||||
--- a/src/org/eclipse/swt/internal/gtk/OS.java
|
||||
+++ b/src/org/eclipse/swt/internal/gtk/OS.java
|
||||
@@ -2113,6 +2113,16 @@ public static final long /*int*/ g_file_new_for_path(byte[] fileName) {
|
||||
}
|
||||
}
|
||||
/** @method flags=dynamic */
|
||||
+public static final native long /*int*/ _g_file_new_for_commandline_arg(byte[] fileName);
|
||||
+public static final long /*int*/ g_file_new_for_commandline_arg(byte[] fileName) {
|
||||
+ lock.lock();
|
||||
+ try {
|
||||
+ return _g_file_new_for_commandline_arg(fileName);
|
||||
+ } finally {
|
||||
+ lock.unlock();
|
||||
+ }
|
||||
+}
|
||||
+/** @method flags=dynamic */
|
||||
public static final native long /*int*/ _g_file_new_for_uri(byte[] fileName);
|
||||
public static final long /*int*/ g_file_new_for_uri(byte[] fileName) {
|
||||
lock.lock();
|
||||
--- a/src/org/eclipse/swt/program/Program.java
|
||||
+++ b/src/org/eclipse/swt/program/Program.java
|
||||
@@ -954,7 +954,7 @@ static boolean gio_isExecutable(String fileName) {
|
||||
static boolean gio_launch(String fileName) {
|
||||
boolean result = false;
|
||||
byte[] fileNameBuffer = Converter.wcsToMbcs (null, fileName, true);
|
||||
- long /*int*/ file = OS.g_file_new_for_path (fileNameBuffer);
|
||||
+ long /*int*/ file = OS.g_file_new_for_commandline_arg (fileNameBuffer);
|
||||
if (file != 0) {
|
||||
long /*int*/ uri = OS.g_file_get_uri (file);
|
||||
if (uri != 0) {
|
@ -0,0 +1,182 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/swt/swt-3.7.2-r1.ebuild,v 1.1 2013/08/21 06:02:06 dirtyepic Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2 toolchain-funcs java-osgi
|
||||
|
||||
MY_PV="${PV/_rc/RC}"
|
||||
MY_DMF="download.eclipse.org/eclipse/downloads/drops/R-${MY_PV}-201202080800"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="GTK based SWT Library"
|
||||
HOMEPAGE="http://www.eclipse.org/"
|
||||
SRC_URI="x86? (
|
||||
http://${MY_DMF}/${MY_P}-gtk-linux-x86.zip
|
||||
)
|
||||
x86-fbsd? (
|
||||
http://${MY_DMF}/${MY_P}-gtk-linux-x86.zip
|
||||
)
|
||||
amd64? (
|
||||
http://${MY_DMF}/${MY_P}-gtk-linux-x86_64.zip
|
||||
)
|
||||
ppc? (
|
||||
http://${MY_DMF}/${MY_P}-gtk-linux-x86.zip
|
||||
)
|
||||
ppc64? (
|
||||
http://${MY_DMF}/${MY_P}-gtk-linux-ppc64.zip
|
||||
)"
|
||||
|
||||
SLOT="3.7"
|
||||
LICENSE="CPL-1.0 LGPL-2.1 MPL-1.1"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
IUSE="cairo gnome opengl webkit"
|
||||
COMMON=">=dev-libs/glib-2.6
|
||||
>=x11-libs/gtk+-2.6.8:2
|
||||
>=dev-libs/atk-1.10.2
|
||||
cairo? ( >=x11-libs/cairo-1.4.14 )
|
||||
gnome? (
|
||||
=gnome-base/libgnome-2*
|
||||
=gnome-base/gnome-vfs-2*
|
||||
=gnome-base/libgnomeui-2*
|
||||
)
|
||||
opengl? (
|
||||
virtual/opengl
|
||||
virtual/glu
|
||||
)
|
||||
webkit? ( >=net-libs/webkit-gtk-1.2:2 )
|
||||
x11-libs/libXtst"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
app-arch/unzip
|
||||
x11-libs/libX11
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
>=x11-libs/libXtst-1.1.0
|
||||
x11-proto/inputproto
|
||||
virtual/pkgconfig
|
||||
${COMMON}"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
# JNI libraries don't need SONAME, bug #253756
|
||||
QA_SONAME="usr/$(get_libdir)/libswt-.*.so"
|
||||
|
||||
src_unpack() {
|
||||
local DISTFILE=${A}
|
||||
unzip -jq "${DISTDIR}"/${DISTFILE} "*src.zip" || die "Unable to extract distfile"
|
||||
unpack "./src.zip"
|
||||
|
||||
# Cleanup the redirtied directory structure
|
||||
rm -rf about_files/ || die
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# Replace the build.xml to allow compilation without Eclipse tasks
|
||||
cp "${FILESDIR}/build.xml" "${S}/build.xml" || die "Unable to update build.xml"
|
||||
mkdir "${S}/src" && mv "${S}/org" "${S}/src" || die "Unable to restructure SWT sources"
|
||||
|
||||
# Fix Makefiles to respect flags and work with --as-needed
|
||||
epatch "${FILESDIR}"/as-needed-and-flag-fixes-3.6.patch
|
||||
epatch "${FILESDIR}"/${P}-gio_launch-URI.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Drop jikes support as it seems to be unfriendly with SWT
|
||||
java-pkg_filter-compiler jikes
|
||||
|
||||
local AWT_ARCH
|
||||
local JAWTSO="libjawt.so"
|
||||
if [[ $(tc-arch) == 'x86' ]] ; then
|
||||
AWT_ARCH="i386"
|
||||
elif [[ $(tc-arch) == 'ppc' ]] ; then
|
||||
AWT_ARCH="ppc"
|
||||
elif [[ $(tc-arch) == 'ppc64' ]] ; then
|
||||
AWT_ARCH="ppc64"
|
||||
else
|
||||
AWT_ARCH="amd64"
|
||||
fi
|
||||
if [[ -f "${JAVA_HOME}/jre/lib/${AWT_ARCH}/${JAWTSO}" ]]; then
|
||||
export AWT_LIB_PATH="${JAVA_HOME}/jre/lib/${AWT_ARCH}"
|
||||
elif [[ -f "${JAVA_HOME}/jre/bin/${JAWTSO}" ]]; then
|
||||
export AWT_LIB_PATH="${JAVA_HOME}/jre/bin"
|
||||
elif [[ -f "${JAVA_HOME}/$(get_libdir)/${JAWTSO}" ]] ; then
|
||||
export AWT_LIB_PATH="${JAVA_HOME}/$(get_libdir)"
|
||||
else
|
||||
eerror "${JAWTSO} not found in the JDK being used for compilation!"
|
||||
die "cannot build AWT library"
|
||||
fi
|
||||
|
||||
# Fix the pointer size for AMD64
|
||||
[[ ${ARCH} == "amd64" || ${ARCH} == "ppc64" ]] && export SWT_PTR_CFLAGS=-DJNI64
|
||||
|
||||
local platform="linux"
|
||||
|
||||
use elibc_FreeBSD && platform="freebsd"
|
||||
|
||||
local make="emake -f make_${platform}.mak NO_STRIP=y CC=$(tc-getCC) CXX=$(tc-getCXX)"
|
||||
|
||||
einfo "Building AWT library"
|
||||
${make} make_awt
|
||||
|
||||
einfo "Building SWT library"
|
||||
${make} make_swt
|
||||
|
||||
einfo "Building JAVA-AT-SPI bridge"
|
||||
${make} make_atk
|
||||
|
||||
if use gnome ; then
|
||||
einfo "Building GNOME VFS support"
|
||||
${make} make_gnome
|
||||
fi
|
||||
|
||||
if use cairo ; then
|
||||
einfo "Building CAIRO support"
|
||||
${make} make_cairo
|
||||
fi
|
||||
|
||||
if use opengl ; then
|
||||
einfo "Building OpenGL component"
|
||||
${make} make_glx
|
||||
fi
|
||||
|
||||
if use webkit ; then
|
||||
einfo "Building the WebKitGTK+ component"
|
||||
|
||||
${make} make_webkit
|
||||
fi
|
||||
|
||||
einfo "Building JNI libraries"
|
||||
eant compile
|
||||
|
||||
einfo "Copying missing files"
|
||||
cp -i "${S}/version.txt" "${S}/build/version.txt"
|
||||
cp -i "${S}/src/org/eclipse/swt/internal/SWTMessages.properties" \
|
||||
"${S}/build/org/eclipse/swt/internal/" || die
|
||||
|
||||
einfo "Packing JNI libraries"
|
||||
eant jar
|
||||
}
|
||||
|
||||
src_install() {
|
||||
swtArch=${ARCH}
|
||||
use amd64 && swtArch=x86_64
|
||||
use x86-fbsd && swtArch=x86
|
||||
|
||||
sed "s/SWT_ARCH/${swtArch}/" "${FILESDIR}/${PN}-${SLOT}-manifest" > "MANIFEST_TMP.MF" || die
|
||||
use cairo || sed -i -e "/ org.eclipse.swt.internal.cairo; x-internal:=true,/d" "MANIFEST_TMP.MF"
|
||||
use gnome || sed -i -e "/ org.eclipse.swt.internal.gnome; x-internal:=true,/d" "MANIFEST_TMP.MF"
|
||||
use opengl || sed -i -e "/ org.eclipse.swt.internal.opengl.glx; x-internal:=true,/d" "MANIFEST_TMP.MF"
|
||||
use webkit || sed -i -e "/ org.eclipse.swt.internal.webkit; x-internal:=true,/d" "MANIFEST_TMP.MF"
|
||||
java-osgi_newjar-fromfile "swt.jar" "MANIFEST_TMP.MF" "Standard Widget Toolkit for GTK 2.0"
|
||||
|
||||
java-pkg_sointo /usr/$(get_libdir)
|
||||
java-pkg_doso *.so
|
||||
|
||||
dohtml about.html || die
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST Module-Signature-0.68.tar.gz 76485 SHA256 623d7d8d26dceac49b043f5bc2d83eea95d6dd75bf09200a6631180774c8eb5f SHA512 67dc6fdcceb60c1694a27ed315bef9e87ed0a2ae74919bde9dabf559e3582cb38463d7d4c4657be314033433713f9475b5c1540e43478c0736aa43773e00e563 WHIRLPOOL 561d93f103bfc193362facc3a986818eb91300093bb81a550448e28b660766256bcf7bd0ba20e89956ae760a245cfc319bc39550e04ddb4ceb04074da7d66178
|
||||
DIST Module-Signature-0.70.tar.gz 77049 SHA256 713273a082629dde8f415516aebcece404922521e1b47279c3f6d6078d68cb44 SHA512 0f1e2d57c9f94ba06f0bef4224a3425835e85d63896485875618ac9207f8b0015a17c6ea9e5f06c153743445eafe07eb99528819757e936fac6ce16dfeb2de15 WHIRLPOOL bcbc814ba4bb4b1a4b894b64a21273a3c8711e457c2080352c8dcbe3072267326f9a4e670b1099d706969ad54e0731150d61ca52d0df10d2af832af28bb69838
|
||||
DIST Module-Signature-0.73.tar.gz 77407 SHA256 718520721888ac4a7d930e26c4cd628ca24d60b2b18bddb081b331731a94bbc5 SHA512 dd43923aa2bd21ec4025360d8ba27936d1e8d9906799b91d0386887c14326fd40e3e684afdffa37d36665a7c64bc4e582a83b3bb3b366bb49f76d2b28cb5eb41 WHIRLPOOL efc65433b52044d99bd6c89230bedc98fa849c5f1158022fbb80d4cdb94f2fed76d37e3b574e51d12cc1ce156b7f0cd716dc9f7cf6e7132bce8d8cacb6916a65
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Module-Signature/Module-Signature-0.680.0.ebuild,v 1.4 2013/02/07 21:53:50 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=FLORA
|
||||
MODULE_VERSION=0.68
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Module signature file manipulation "
|
||||
|
||||
LICENSE="CC0-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="virtual/perl-MIME-Base64
|
||||
dev-perl/PAR-Dist
|
||||
virtual/perl-IO-Compress
|
||||
dev-perl/crypt-cbc
|
||||
dev-perl/Crypt-DES
|
||||
dev-perl/Crypt-Blowfish
|
||||
dev-perl/Crypt-RIPEMD160
|
||||
dev-perl/class-loader
|
||||
dev-perl/tie-encryptedhash
|
||||
dev-perl/convert-ascii-armour
|
||||
dev-perl/data-buffer
|
||||
dev-perl/digest-md2
|
||||
>=dev-perl/math-pari-2.010603
|
||||
dev-perl/crypt-random
|
||||
dev-perl/crypt-primes
|
||||
dev-perl/crypt-des-ede3
|
||||
dev-perl/crypt-dsa
|
||||
dev-perl/crypt-rsa
|
||||
dev-perl/Convert-ASN1
|
||||
dev-perl/convert-pem
|
||||
dev-perl/Crypt-OpenPGP"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-perl/IPC-Run
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
src_test() {
|
||||
export TEST_SIGNATURE="1"
|
||||
perl-module_src_test
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Module-Signature/Module-Signature-0.700.0.ebuild,v 1.4 2013/03/25 20:49:01 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=AUDREYT
|
||||
MODULE_VERSION=0.70
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Module signature file manipulation "
|
||||
|
||||
LICENSE="CC0-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-MIME-Base64
|
||||
dev-perl/PAR-Dist
|
||||
virtual/perl-IO-Compress
|
||||
dev-perl/crypt-cbc
|
||||
dev-perl/Crypt-DES
|
||||
dev-perl/Crypt-Blowfish
|
||||
dev-perl/Crypt-RIPEMD160
|
||||
dev-perl/class-loader
|
||||
dev-perl/tie-encryptedhash
|
||||
dev-perl/convert-ascii-armour
|
||||
dev-perl/data-buffer
|
||||
dev-perl/digest-md2
|
||||
>=dev-perl/math-pari-2.010603
|
||||
dev-perl/crypt-random
|
||||
dev-perl/crypt-primes
|
||||
dev-perl/crypt-des-ede3
|
||||
dev-perl/crypt-dsa
|
||||
dev-perl/crypt-rsa
|
||||
dev-perl/Convert-ASN1
|
||||
dev-perl/convert-pem
|
||||
dev-perl/Crypt-OpenPGP
|
||||
app-crypt/gnupg
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-perl/IPC-Run
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
src_test() {
|
||||
export TEST_SIGNATURE="1"
|
||||
perl-module_src_test
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST Mako-0.7.0.tar.gz 398315 SHA256 2a0acef46ab00d355c668addac08b51712e26741c21f7329de6ce8e8fc229f8e SHA512 e399624ebe131134b45d665793a5dfe07725c6127394502010e17a05cd7f2baae6be967fb9d6dce2f6db03821705571f97b3df225c0ab7ac71387ca364a4d96a WHIRLPOOL 09f5fe178913bbcc838113abe83bb571b6625e1de0502eb1056afc8f3199e977cb5bb3c240d658786eec411e15c9cfdbb78aca5c7d31c53ae85c407c5034f85d
|
||||
DIST Mako-0.7.1.tar.gz 400847 SHA256 e6eb92c5429bc8ec901ea059cbbc97c03a245ad566ee33e2c894f98869d231ee SHA512 b6a3ddfbe0300671bd8d55cdadb161a2bc9fd89d3cb4c79ebb7dbd7c42ecead3d5ae0023b98b7e599e8a57e375573e6715f379d55df8d351bf18f177f88782e0 WHIRLPOOL 4bdc342a82a62e8b06002dda3fe47593c1e6fc93d3405922f797f47961898a0df109f6c4d59f0561d833d4b6aed5047c7c6400a5035e260b53582251c9e231be
|
||||
DIST Mako-0.7.2.tar.gz 401114 SHA256 fe8698e845035586bd711a6748e4e40a208a58de276b9138026164700494b68f SHA512 5fe8ca01be4e439aff264a661fad5d006adeaf494366c1c842209aad7da138f0cd33d44581b9e7d0b9e3af410c0260efc0819e46fb7ff785de570af79da9e8f3 WHIRLPOOL 441f9228820135d40ec4da912af495de6fdd017a8b8373166cac2268a628f3ec9dee614193ddbb495645e1d9f65c272d4bdf147a7ff307bec06d46d5178c7b3c
|
||||
DIST Mako-0.7.3.tar.gz 401787 SHA256 5e1d17fbd1aed57ebeea74ee3809015b121e142d73069066a113a125a4ec2ef5 SHA512 3134a05fcacb5d8e41ebab3bedb6c1a31eec94afb56f2c8319fee4b749930fcc7df5ed86e0de26cafbaea966b920921e29788f1c6ba5810eedb4d98f322085f9 WHIRLPOOL 8d3011b472a4bd04c4ef0ddad4767357bd1c570228702e900c956582c2e1e7e668765a34e4e450e18b8a1e0562d9b024ee1ae8b82efc891023154cf442f16d8a
|
||||
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/mako-0.7.1.ebuild,v 1.2 2012/10/13 19:08:41 armin76 Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
MY_P="Mako-${PV}"
|
||||
|
||||
DESCRIPTION="A Python templating language"
|
||||
HOMEPAGE="http://www.makotemplates.org/ http://pypi.python.org/pypi/Mako"
|
||||
SRC_URI="http://www.makotemplates.org/downloads/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-python/beaker-1.1
|
||||
>=dev-python/markupsafe-0.9.2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
epatch "${FILESDIR}/test-fix.patch"
|
||||
|
||||
2to3_conversion() {
|
||||
[[ "${PYTHON_ABI}" == 2.* ]] && return
|
||||
2to3-${PYTHON_ABI} -nw --no-diffs test
|
||||
}
|
||||
python_execute_function -s 2to3_conversion
|
||||
}
|
||||
|
||||
src_test() {
|
||||
distutils_src_test -P -w test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
pushd doc > /dev/null
|
||||
rm -fr build
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r [a-z]* _static || die "Installation of documentation failed"
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/mako-0.7.2.ebuild,v 1.3 2012/10/17 04:20:16 mattst88 Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
MY_P="Mako-${PV}"
|
||||
|
||||
DESCRIPTION="A Python templating language"
|
||||
HOMEPAGE="http://www.makotemplates.org/ http://pypi.python.org/pypi/Mako"
|
||||
SRC_URI="http://www.makotemplates.org/downloads/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-python/beaker-1.1
|
||||
>=dev-python/markupsafe-0.9.2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
epatch "${FILESDIR}/test-fix.patch"
|
||||
|
||||
2to3_conversion() {
|
||||
[[ "${PYTHON_ABI}" == 2.* ]] && return
|
||||
2to3-${PYTHON_ABI} -nw --no-diffs test
|
||||
}
|
||||
python_execute_function -s 2to3_conversion
|
||||
}
|
||||
|
||||
src_test() {
|
||||
distutils_src_test -P -w test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
pushd doc > /dev/null
|
||||
rm -fr build
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r [a-z]* _static || die "Installation of documentation failed"
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/mako-0.7.3.ebuild,v 1.2 2012/11/16 13:36:31 blueness Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
MY_P="Mako-${PV}"
|
||||
|
||||
DESCRIPTION="A Python templating language"
|
||||
HOMEPAGE="http://www.makotemplates.org/ http://pypi.python.org/pypi/Mako"
|
||||
SRC_URI="http://www.makotemplates.org/downloads/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-python/beaker-1.1
|
||||
>=dev-python/markupsafe-0.9.2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
epatch "${FILESDIR}/test-fix.patch"
|
||||
|
||||
2to3_conversion() {
|
||||
[[ "${PYTHON_ABI}" == 2.* ]] && return
|
||||
2to3-${PYTHON_ABI} -nw --no-diffs test
|
||||
}
|
||||
python_execute_function -s 2to3_conversion
|
||||
}
|
||||
|
||||
src_test() {
|
||||
distutils_src_test -P -w test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
pushd doc > /dev/null
|
||||
rm -fr build
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r [a-z]* _static || die "Installation of documentation failed"
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
@ -1,25 +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/manifestdestiny/manifestdestiny-0.5.7.ebuild,v 1.1 2013/08/17 08:58:14 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="ManifestDestiny"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Universal manifests for Mozilla test harnesses"
|
||||
HOMEPAGE="https://wiki.mozilla.org/Auto-tools/Projects/ManifestDestiny http://pypi.python.org/pypi/ManifestDestiny"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
@ -1,7 +1,2 @@
|
||||
DIST pylint-0.23.0.tar.gz 200192 SHA256 cdb093d15abe2f1cd2f7d949ad3bb29149aeead7740d5722396309c6b60a091c SHA512 7433165417f6d8159debdf142090d3c4a80bbce0d468d8d426236c317228f31a3c2c92e4a2721ee1d69460f591b8d7c0a0327b43b7eb577df72a3043ee9fcaff WHIRLPOOL 87ef6973c30ffd4208df7f64245ccbba4227ae5794afeb9aa72afbd30ed9ca879280a20d86f8e80425a2d28c6ce53def53e7f05b7a19a3b6da4fed8c6d82f00a
|
||||
DIST pylint-0.25.0.tar.gz 205462 SHA256 433a9c8089a2212d99c4ef954f96b70af6ff3d2acd13d21791fe909e2966d21f SHA512 0184eafccfc0a8cc26335fa4ccaad4cf6223e3ac9c76d3b0b8c481750158691eaffb57e51d82c68ed9ccd009e006318ed005681976b03bcc5afd22cc336ec70e WHIRLPOOL 25632bd58de92cb3d029ee4885034e698649f8d1f38e624202ef4795a0fa9ac0610ddcefaae49f2330c748afa0f32ef91e16661fe27eb712da0c0150437d06ea
|
||||
DIST pylint-0.25.1.tar.gz 211562 SHA256 5991744c9247bf355a531651fca35f9fd67506892081574677aadd175ec94a00 SHA512 46eafc1b39b20ba5362b3c8e20a835e3524df9da0a5707c1c6df75b15aaa846120d99e7cac13e0d6e888b540b2ca72a5a8e0cbb188ac00c9cbfbea7e634df2ef WHIRLPOOL 06733b38acca2d7cbffb9f97fa0772d3e47a432b31e52d41e040bca51d65273f9ba8cfceb1f8f58117ffa1803606ccf86a20320270ec09169b1625ee598fda72
|
||||
DIST pylint-0.25.2.tar.gz 214769 SHA256 08c2a0ccf2d715cdc9a2a0478200c54aac5b4f6d521e10c5b27db65d5787ff07 SHA512 eea1a783ca52623fa2a026fe82939b8a5920b3b6be21b808388bb9336ba85aeded157198a436fcf3ab8735df6cfcf94c352b695db1131490dda2e26305be68d0 WHIRLPOOL b6a4595e14a350c9156ebb6fce3c9c35ada304f0c33659c55266534c4539f871102dfb6c601bd4e0b4a067a5695da28dcefda7e911d7d11325f4672b38dc7ecd
|
||||
DIST pylint-0.26.0.tar.gz 222738 SHA256 1f4eadcf65aff81873f77bd5d3ebd23809adc4fbb035049bdef416e7728e0738 SHA512 c341d302d0810d313ac941f3b32154cbe7f73ef3badbf4e0c1433b8ef6f7614a0c17cd27cf752146f3addbf5a682d409a51b5d7444eefd80a4afb9e14d2d0da9 WHIRLPOOL 1036871038b21f9542bd19e2bd287328229bf8d5226881c446b9f0bc915d9703e60fa119e1a3e825e51d6db466145adce7e3088a463fdd379dcd58880443271c
|
||||
DIST pylint-0.27.0.tar.gz 224168 SHA256 64506cf00d441fdbc8b9871ca70b8cbe5a8f546ca07fba9ec07890e8ec39cf9e SHA512 fba9351932003bb6c8c3e4d2d600da103857660a1fde5faa5c8ca00251c221f06f5ef9d7fa2b794727cde944b37151fca0aafc69a5b1b58809edf30dd2016c2d WHIRLPOOL d3298a8acfb8f2a99fc6dda101aaed882f805880fbfde568b178b4857cab35a9efac34106d8fa97f6d60cd6bb5f66391bb41816c3ae3ce34f6b734955b1b112b
|
||||
DIST pylint-0.28.0.tar.gz 198903 SHA256 310a03c37148e53521cb4ab704bdba0a2a59af091261c89dde3239320f8fa458 SHA512 52ff88adf3548375832887ea22bf50080de81277740d1485cb86a84b772bf5e78193f27144586a52e3d7c4b1de42e62339bcc8778bd5f52167c7642856fdcc8e WHIRLPOOL 0237b7e48b3021d3439e949f8650c65687ed5ba39aa639a3e8885195e8a71374bfa2eff448f2760fc5817926e5352069437455b40578945a7117bfec4464e0b7
|
||||
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-0.25.0.ebuild,v 1.2 2012/08/27 15:24:56 floppym Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="*:2.5"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.4"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python code static checker"
|
||||
HOMEPAGE="http://www.logilab.org/project/pylint http://pypi.python.org/pypi/pylint"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/${PN}/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="examples"
|
||||
|
||||
# Versions specified in __pkginfo__.py.
|
||||
RDEPEND=">=dev-python/logilab-common-0.53.0
|
||||
>=dev-python/astng-0.21.1"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
|
||||
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
|
||||
DOCS="doc/*.txt"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
# Test suite broken with Python 3.
|
||||
[[ "${PYTHON_ABI}" == 3.* ]] && return
|
||||
|
||||
PYTHONPATH="build/lib" pytest -v
|
||||
}
|
||||
python_execute_function -s testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
doman man/{pylint,pyreverse}.1 || die "doman failed"
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/* || die "dodoc failed"
|
||||
fi
|
||||
|
||||
delete_tests() {
|
||||
rm -fr "${ED}$(python_get_sitedir)/pylint/test"
|
||||
}
|
||||
python_execute_function -q delete_tests
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
# Optional dependency on "tk" USE flag would break support for Jython.
|
||||
elog "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled."
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-0.25.1.ebuild,v 1.2 2012/08/27 15:24:56 floppym Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="*:2.5"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.4"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python code static checker"
|
||||
HOMEPAGE="http://www.logilab.org/project/pylint http://pypi.python.org/pypi/pylint"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/${PN}/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="examples"
|
||||
|
||||
# Versions specified in __pkginfo__.py.
|
||||
RDEPEND=">=dev-python/logilab-common-0.53.0
|
||||
>=dev-python/astng-0.21.1"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
|
||||
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
|
||||
DOCS="doc/*.txt"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
# Test suite broken with Python 3.
|
||||
[[ "${PYTHON_ABI}" == 3.* ]] && return
|
||||
|
||||
PYTHONPATH="build/lib" pytest -v
|
||||
}
|
||||
python_execute_function -s testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
doman man/{pylint,pyreverse}.1 || die "doman failed"
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/* || die "dodoc failed"
|
||||
fi
|
||||
|
||||
delete_tests() {
|
||||
rm -fr "${ED}$(python_get_sitedir)/pylint/test"
|
||||
}
|
||||
python_execute_function -q delete_tests
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
# Optional dependency on "tk" USE flag would break support for Jython.
|
||||
elog "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled."
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-0.25.2.ebuild,v 1.2 2012/08/27 15:24:56 floppym Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="*:2.5"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.4"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python code static checker"
|
||||
HOMEPAGE="http://www.logilab.org/project/pylint http://pypi.python.org/pypi/pylint"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/${PN}/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="examples"
|
||||
|
||||
# Versions specified in __pkginfo__.py.
|
||||
RDEPEND=">=dev-python/logilab-common-0.53.0
|
||||
>=dev-python/astng-0.21.1"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
|
||||
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
|
||||
DOCS="doc/*.txt"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
# Test suite broken with Python 3.
|
||||
[[ "${PYTHON_ABI}" == 3.* ]] && return
|
||||
|
||||
PYTHONPATH="build/lib" pytest -v
|
||||
}
|
||||
python_execute_function -s testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
doman man/{pylint,pyreverse}.1 || die "doman failed"
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/* || die "dodoc failed"
|
||||
fi
|
||||
|
||||
delete_tests() {
|
||||
rm -fr "${ED}$(python_get_sitedir)/pylint/test"
|
||||
}
|
||||
python_execute_function -q delete_tests
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
# Optional dependency on "tk" USE flag would break support for Jython.
|
||||
elog "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled."
|
||||
}
|
@ -1,66 +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/pylint/pylint-0.26.0.ebuild,v 1.5 2013/02/02 22:29:36 ago Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="*:2.5"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.7-pypy-*"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="Python code static checker"
|
||||
HOMEPAGE="http://www.logilab.org/project/pylint http://pypi.python.org/pypi/pylint"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/${PN}/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="examples"
|
||||
|
||||
# Versions specified in __pkginfo__.py.
|
||||
RDEPEND=">=dev-python/logilab-common-0.53.0
|
||||
>=dev-python/astng-0.21.1"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
|
||||
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
|
||||
DOCS="doc/*.txt"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-gtktest.patch
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
# Test suite broken with Python 3.
|
||||
[[ "${PYTHON_ABI}" == 3.* ]] && return
|
||||
|
||||
PYTHONPATH="build/lib" pytest -v
|
||||
}
|
||||
python_execute_function -s testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
doman man/{pylint,pyreverse}.1 || die "doman failed"
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/* || die "dodoc failed"
|
||||
fi
|
||||
|
||||
delete_tests() {
|
||||
rm -fr "${ED}$(python_get_sitedir)/pylint/test"
|
||||
}
|
||||
python_execute_function -q delete_tests
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
# Optional dependency on "tk" USE flag would break support for Jython.
|
||||
elog "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled."
|
||||
}
|
@ -1,53 +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/pylint/pylint-0.27.0-r1.ebuild,v 1.7 2013/06/25 03:11:25 floppym Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2} )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Python code static checker"
|
||||
HOMEPAGE="http://www.logilab.org/project/pylint http://pypi.python.org/pypi/pylint"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/${PN}/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="examples"
|
||||
|
||||
# Versions specified in __pkginfo__.py.
|
||||
RDEPEND=">=dev-python/logilab-common-0.53.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/astng-0.24.3[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
|
||||
DOCS=( doc/FAQ.txt doc/features.txt doc/manual.txt doc/quickstart.txt )
|
||||
|
||||
python_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.26.0-gtktest.patch
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local msg="Test suite broken with ${EPYTHON}"
|
||||
if [[ "${EPYTHON}" == python3* || "${EPYTHON}" == 'python2.5' ]]; then
|
||||
einfo "${msg}"
|
||||
else
|
||||
pytest || die " Testsuite failed under ${EPYTHON}"
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
doman man/{pylint,pyreverse}.1 || die "doman failed"
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/* || die "dodoc failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Optional dependency on "tk" USE flag would break support for Jython.
|
||||
elog "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled."
|
||||
}
|
@ -1,66 +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/pylint/pylint-0.27.0.ebuild,v 1.1 2013/03/11 06:14:51 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="*:2.5"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.7-pypy-*"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="Python code static checker"
|
||||
HOMEPAGE="http://www.logilab.org/project/pylint http://pypi.python.org/pypi/pylint"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/${PN}/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="examples"
|
||||
|
||||
# Versions specified in __pkginfo__.py.
|
||||
RDEPEND=">=dev-python/logilab-common-0.53.0
|
||||
>=dev-python/astng-0.21.1"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
|
||||
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
|
||||
DOCS="doc/*.txt"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.26.0-gtktest.patch
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
# Test suite broken with Python 3.
|
||||
[[ "${PYTHON_ABI}" == 3.* ]] && return
|
||||
|
||||
PYTHONPATH="build/lib" pytest -v
|
||||
}
|
||||
python_execute_function -s testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
doman man/{pylint,pyreverse}.1 || die "doman failed"
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/* || die "dodoc failed"
|
||||
fi
|
||||
|
||||
delete_tests() {
|
||||
rm -fr "${ED}$(python_get_sitedir)/pylint/test"
|
||||
}
|
||||
python_execute_function -q delete_tests
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
# Optional dependency on "tk" USE flag would break support for Jython.
|
||||
elog "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled."
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST pymongo-2.4.2.tar.gz 283269 SHA256 6862c85844f1766c261a39022ec7a6b631988cb5528a31f8d20e78181398aa5f SHA512 c29da74eecd1e75cd5649dad23d51e848e20d082fce5c5f620e46f257caa9044d821daaa2895bbdab79039fb29fa0ada9a244f8905bb9f0180bd714220e55f0f WHIRLPOOL 93111b01ec2635bd61a830b3287644994d916ae06b9eb09cc13fbb0ccda82ac5966be8f4f9283d03531ec8c1dc8736655b26e49a4ede96e68bfe1da12c6ff30b
|
||||
DIST pymongo-2.5.2.tar.gz 303234 SHA256 84ac1da67d0dabc711fa8259324d4e94b26a85411bcf0c12dc80a427d9f93ecc SHA512 6137bfcd60776b819a4ca4eb09ba3058a62696ab3533646c5f735ec4d336aa888cf0b8b1975acf1522bbd04416ff4337bf8481a0506421730dfdf712232c75c7 WHIRLPOOL 65c9ef69dd75af13ec7e05e77d2f9afc19c32723901bdf28488121770f53dec340721cb6e891d8cd9009547d95957f61dbf9bef72e725f79bcab38a41d94fba7
|
||||
DIST pymongo-2.6.tar.gz 322457 SHA256 0397584348e5b9efa678878ef686ea3bb77f9b83e634480033ce67467d43675a SHA512 63f4b2f7c696eff300a01b4eab68ded6a94bb453eca88bba4ff0b2893e7e0c8c459e3fa8ea8a91c5bccd7dc743ae9b717f639d31a4a520b0f584d093c72cc671 WHIRLPOOL 1e3fc05c6fd0e19de064a46bcf6d4797a50d88348648ce66b2eb1df93a97dbf216bf26a462e5e7fea8f11dd3d1de28af05bb298e1f07be669e2054f6811c9e00
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>jlec@gentoo.org</email>
|
||||
</maintainer>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>jlec@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>jlec@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="google-code">python-sqlparse</remote-id>
|
||||
</upstream>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>jlec@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="google-code">python-sqlparse</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-sqlparse/python-sqlparse-0.1.5-r1.ebuild,v 1.1 2013/08/21 13:53:14 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A non-validating SQL parser module for Python"
|
||||
HOMEPAGE="http://code.google.com/p/python-sqlparse/ https://github.com/andialbrecht/sqlparse"
|
||||
SRC_URI="http://python-sqlparse.googlecode.com/files/${P#python-}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
LICENSE="BSD-2"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"/${P#python-}
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
${PYTHON} tests/run_tests.py || die
|
||||
nosetests --with-coverage --cover-inclusive --cover-package=sqlparse
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">virtualenv</remote-id>
|
||||
</upstream>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">virtualenv</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST debhelper_9.20120909.tar.gz 464785 SHA256 fabcdb9c41975ea0a1ccc66d6e065e424ed7a2119f6f1a6f7bfb7d06701370af SHA512 f1c417f0610b703d1b6ad9989078f03c67b11f45b1aa61f7d3f2fe8578dbc4d060da955c872c8e6326553ab4e7bbc21a1d9bebd9237e54d74c97f1297981384e WHIRLPOOL 72440752da24e29e5bb2e142d02b18b77472bf373b9c5a79ced790a5e6bb6e1cdec7521eb6e76b8833295441bd1062b9a94170d92dd9e9d5ed984e1ec6d9c88e
|
||||
DIST debhelper_9.20130630.tar.gz 474476 SHA256 fca28ff0dac3fdb21eb6ed154acc3cc39588211c395be3c3e7f684a7b8d11d46 SHA512 e6bff3582b6ea6b84fd71782ff9fd8584f1ef545ee9c42118aa61e2025f64bf7fb136241b809055a2aaf889e621764b1512c62e781abcbf8d8c0f0508f818712 WHIRLPOOL df2328dd62d44197229bdb9803842843d4e5bb7c9b1a58cc8c4b2db981d9cb21d72a3354881b6e4d97ade0d1cd8802073b05a917fa62772bfdbc75dd6a3ffbcd
|
||||
DIST debhelper_9.20130720.tar.gz 471494 SHA256 4128575e19c2a6dbe8bfe2af591976b6bc737bb9b5d89e91492c6d72c487b01f SHA512 3eebd766b22e28b0491e7f849a7f7b9cff323f6ab70fec97f62d5e3651aab199c3ecab7f5cc6543d024dcca55b99245db0085169d2bacb71169c984132f5155b WHIRLPOOL b339fc8a30bad83dbcf6137d419e9950a5dec823986e712a5b5cc8a19a379265d07e97b1ecde7b6a339cccf42522416ac88b0aa737db2b563f91c5093de33aa3
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/debhelper/debhelper-9.20130720.ebuild,v 1.1 2013/08/21 07:48:29 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Collection of programs that can be used to automate common tasks in debian/rules"
|
||||
HOMEPAGE="http://packages.qa.debian.org/d/debhelper.html http://joeyh.name/code/debhelper/"
|
||||
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux"
|
||||
IUSE="test"
|
||||
DH_LINGUAS=( de es fr )
|
||||
IUSE+=" ${DH_LINGUAS[@]/#/linguas_}"
|
||||
|
||||
NLS_DEPEND=$(
|
||||
printf "linguas_%s? ( >=app-text/po4a-0.24 )\n" ${DH_LINGUAS[@]}
|
||||
)
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/perl-5.10
|
||||
app-arch/dpkg
|
||||
dev-perl/TimeDate
|
||||
virtual/perl-Getopt-Long
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
${NLS_DEPEND}
|
||||
test? ( dev-perl/Test-Pod )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
|
||||
local LANGS="" USE_NLS=no lingua
|
||||
for lingua in ${DH_LINGUAS[@]}; do
|
||||
if use linguas_${lingua}; then
|
||||
LANGS+=" ${lingua}"
|
||||
USE_NLS=yes
|
||||
fi
|
||||
done
|
||||
|
||||
emake USE_NLS="${USE_NLS}" LANGS="${LANGS}" build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
dodoc doc/* debian/changelog
|
||||
docinto examples
|
||||
dodoc examples/*
|
||||
local lingua
|
||||
for manfile in *.1 *.7 ; do
|
||||
for lingua in ${DH_LINGUAS[@]}; do
|
||||
case ${manfile} in
|
||||
*.${lingua}.?)
|
||||
use linguas_${lingua} \
|
||||
&& cp ${manfile} "${T}"/${manfile/.${lingua}/} \
|
||||
&& doman -i18n=${lingua} "${T}"/${manfile/.${lingua}/}
|
||||
;;
|
||||
*)
|
||||
doman ${manfile}
|
||||
;;
|
||||
esac
|
||||
done
|
||||
done
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST kdevelop-php-docs-1.4.1.tar.bz2 32024 SHA256 24600e66ccd1298640106d02b02b71ddd27e14b6c013f78a6d2b2404c63d66c9 SHA512 ed6a2a4822f0109271bebb3eb7abb473273c7f25e41612510cca5a7776fb774c578a097a0edd40400442bf011305c55b62536f058cdbfd49a8665416bfe00101 WHIRLPOOL d81e38d97fba9d0a8161c013889eb658d118fc89a47e58273d336829bc47d5fee4a74349cc706f27591d2dd39ce7ccf147815e93a3547a6573b0a10311ad5871
|
||||
DIST kdevelop-php-docs-1.5.1.tar.bz2 34694 SHA256 09ecb47f44db0f47dd43c7bec1c06a8d303b870677b44e15b4da124f6a72dd16 SHA512 07d79203dfbb00508bae74a24314bd05ab1a1c449d55aa1606268f3773b0fe0f50f10ef20a145054bedf57327ba74622ac43c0bb6be4f8f420a0ddba642099ac WHIRLPOOL 71d59d7d87bca8f0ea1a0d0590527ee53eae60fec3bd0921118f59ab2dafb3115f60a1e1f52ad8b6f474bed5cd4a75553861d68b15f2d26187bae4155ada03ac
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop-php-docs/kdevelop-php-docs-1.4.1.ebuild,v 1.3 2012/12/14 12:54:57 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_LINGUAS="ca ca@valencia da de en_GB es et fi fr gl hu it nb nds nl pl pt
|
||||
pt_BR ru sk sv uk zh_CN zh_TW"
|
||||
KMNAME="kdevelop"
|
||||
EGIT_REPONAME="kdev-php-docs"
|
||||
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="PHP documentation plugin for KDevelop 4"
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
IUSE="debug"
|
||||
|
||||
if [[ $PV == *9999* ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
!=dev-util/kdevelop-plugins-1.0.0
|
||||
"
|
@ -1,2 +1 @@
|
||||
DIST kdevelop-php-1.4.1.tar.bz2 672834 SHA256 40e52e7f52b11ed6196dadf5b181985e4a7dbc4027632632cfded326453b4bfe SHA512 dabfdf8960db1a50c79585dc20c10561de37b62e503a238b75d6fa81833ea382d5063e14de11941e8c40845c76635857a55f4ef08e22551862c2e80a9f5e7fe9 WHIRLPOOL a54bab5bdce2ec1545164badec35e9a5ff52d10c6d79870785b61ceb35f9c536d006576148a55f68b65a944faaa20877953c99556e065b50e6529df278124a4a
|
||||
DIST kdevelop-php-1.5.1.tar.bz2 678171 SHA256 27a2ddab1ae8ff8f35b6f18a8591f5dd138f6f469c9ebe3035177f0268c8e4bb SHA512 40ccb78a4557b1f4f62df76cdb6dd1b07e0c0e09c92c2eda6b07a1ade180d7227e04b331d50f857aa8718625b47d69dc74d3754bf7165b7f863480bc310fe341 WHIRLPOOL 2a57a486797d5fda736e605747ffe22aff94e01f336c8308d0a1579aa806a6f111d850445756b708e8096248ea59cedd802da86fe899d2e02e8dfee220125783
|
||||
|
@ -1,98 +0,0 @@
|
||||
diff -ruN kdevelop-php-1.2.0.orig/completion/tests/CMakeLists.txt kdevelop-php-1.2.0/completion/tests/CMakeLists.txt
|
||||
--- kdevelop-php-1.2.0.orig/completion/tests/CMakeLists.txt 2011-01-23 20:42:54.000000000 +0100
|
||||
+++ kdevelop-php-1.2.0/completion/tests/CMakeLists.txt 2011-03-05 18:01:34.000000000 +0100
|
||||
@@ -8,24 +8,6 @@
|
||||
|
||||
set(completiontest_SRCS test_completion.cpp
|
||||
../../duchain/tests/duchaintestbase.cpp)
|
||||
-kde4_add_unit_test(completiontest ${completiontest_SRCS})
|
||||
-target_link_libraries(completiontest
|
||||
- kdev4phpcompletion
|
||||
- kdev4phpduchain
|
||||
- kdev4phpparser
|
||||
- ${QT_QTTEST_LIBRARY}
|
||||
- ${KDEVPLATFORM_TESTS_LIBRARIES}
|
||||
- ${KDEVPLATFORM_LANGUAGE_LIBRARIES}
|
||||
-)
|
||||
|
||||
set(completionbench_SRCS bench_completion.cpp
|
||||
../../duchain/tests/duchaintestbase.cpp)
|
||||
-kde4_add_unit_test(completionbenchmark ${completionbench_SRCS})
|
||||
-target_link_libraries(completionbenchmark
|
||||
- kdev4phpcompletion
|
||||
- kdev4phpduchain
|
||||
- kdev4phpparser
|
||||
- ${QT_QTTEST_LIBRARY}
|
||||
- ${KDEVPLATFORM_TESTS_LIBRARIES}
|
||||
- ${KDEVPLATFORM_LANGUAGE_LIBRARIES}
|
||||
-)
|
||||
diff -ruN kdevelop-php-1.2.0.orig/duchain/tests/CMakeLists.txt kdevelop-php-1.2.0/duchain/tests/CMakeLists.txt
|
||||
--- kdevelop-php-1.2.0.orig/duchain/tests/CMakeLists.txt 2011-01-23 20:42:54.000000000 +0100
|
||||
+++ kdevelop-php-1.2.0/duchain/tests/CMakeLists.txt 2011-03-05 17:54:27.000000000 +0100
|
||||
@@ -9,66 +9,21 @@
|
||||
set(duchain_SRCS
|
||||
duchain.cpp
|
||||
duchaintestbase.cpp)
|
||||
-kde4_add_unit_test(duchain ${duchain_SRCS})
|
||||
-target_link_libraries(duchain
|
||||
- kdev4phpduchain
|
||||
- kdev4phpparser
|
||||
- ${QT_QTTEST_LIBRARY}
|
||||
- ${KDEVPLATFORM_TESTS_LIBRARIES}
|
||||
- ${KDEVPLATFORM_LANGUAGE_LIBRARIES}
|
||||
-)
|
||||
-
|
||||
|
||||
set(expressionparser_SRCS
|
||||
expressionparser.cpp
|
||||
duchaintestbase.cpp)
|
||||
-kde4_add_unit_test(expressionparser ${expressionparser_SRCS})
|
||||
-target_link_libraries(expressionparser
|
||||
- kdev4phpduchain
|
||||
- kdev4phpparser
|
||||
- ${QT_QTTEST_LIBRARY}
|
||||
- ${KDEVPLATFORM_TESTS_LIBRARIES}
|
||||
- ${KDEVPLATFORM_LANGUAGE_LIBRARIES}
|
||||
-)
|
||||
|
||||
set(uses_SRCS
|
||||
uses.cpp
|
||||
duchaintestbase.cpp)
|
||||
-kde4_add_unit_test(uses ${uses_SRCS})
|
||||
-target_link_libraries(uses
|
||||
- kdev4phpduchain
|
||||
- kdev4phpparser
|
||||
- ${QT_QTTEST_LIBRARY}
|
||||
- ${KDEVPLATFORM_INTERFACES_LIBRARIES}
|
||||
- ${KDEVPLATFORM_TESTS_LIBRARIES}
|
||||
- ${KDEVPLATFORM_LANGUAGE_LIBRARIES}
|
||||
-)
|
||||
|
||||
set(benchmarks_SRCS
|
||||
benchmarks.cpp
|
||||
duchaintestbase.cpp
|
||||
)
|
||||
-kde4_add_unit_test(benchmarks ${benchmarks_SRCS})
|
||||
-target_link_libraries(benchmarks
|
||||
- kdev4phpduchain
|
||||
- kdev4phpparser
|
||||
- ${QT_QTTEST_LIBRARY}
|
||||
- ${KDEVPLATFORM_INTERFACES_LIBRARIES}
|
||||
- ${KDEVPLATFORM_TESTS_LIBRARIES}
|
||||
- ${KDEVPLATFORM_LANGUAGE_LIBRARIES}
|
||||
-)
|
||||
-
|
||||
|
||||
set(duchain_multiplefiles_SRCS
|
||||
duchain_multiplefiles.cpp
|
||||
duchaintestbase.cpp
|
||||
)
|
||||
-kde4_add_unit_test(duchain_multiplefiles ${duchain_multiplefiles_SRCS})
|
||||
-target_link_libraries(duchain_multiplefiles
|
||||
- kdev4phpduchain
|
||||
- kdev4phpparser
|
||||
- ${QT_QTTEST_LIBRARY}
|
||||
- ${KDEVPLATFORM_INTERFACES_LIBRARIES}
|
||||
- ${KDEVPLATFORM_TESTS_LIBRARIES}
|
||||
- ${KDEVPLATFORM_LANGUAGE_LIBRARIES}
|
||||
-)
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop-php/kdevelop-php-1.4.1.ebuild,v 1.3 2012/12/14 12:54:43 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_LINGUAS="ca ca@valencia da de el en_GB es et fi fr gl it nb nds nl pl pt
|
||||
pt_BR sv th uk zh_CN zh_TW"
|
||||
VIRTUALX_REQUIRED=test
|
||||
KMNAME="kdevelop"
|
||||
EGIT_REPONAME="kdev-php"
|
||||
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="PHP plugin for KDevelop 4"
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
IUSE="debug doc"
|
||||
|
||||
if [[ $PV == *9999* ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
|
||||
DEPEND="
|
||||
>=dev-util/kdevelop-pg-qt-1.0.0
|
||||
"
|
||||
RDEPEND="
|
||||
dev-util/kdevelop
|
||||
doc? ( >=dev-util/kdevelop-php-docs-${PV}:${SLOT} )
|
||||
"
|
||||
# Bug 330051
|
||||
# RESTRICT="test"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}"-1.2.0-{dbustests,parmake}.patch )
|
@ -1,2 +1 @@
|
||||
DIST kdev-python-v1.4.1.tar.bz2 4700296 SHA256 8743844c6bcf09b3f9db05891539973633049470eb7c046b75b3cfe4542da1e2 SHA512 537bfb1c0691c8c001a2061e1137593321936fcbc49cfe4f4188088954d7e9e6abb6fd57c646125a61994d20f741fb1e8d24f66316fcb867c40c30dd763d5213 WHIRLPOOL 779884a458850517745f573bcdc695faf0c04b9e063dd40a96e8580d6c163bdb79edec68ff81f0cbc1064e3cc2d1e3c917cd2b92ea8b51dce72cf50383f1087d
|
||||
DIST kdev-python-v1.5.1.tar.bz2 4697774 SHA256 d9b68bd2dd9361961e264254d2acfebc9ce0ea4b47ea2689d2f01a3ed81f7c47 SHA512 c76a54523076d692ec55043efb7842ef3fe884d9459d355af1c32ea1a3c69921bc1046bc6a793a5fe002a5bf5c393dd681379b8fff0fe7a7cc26a912465062df WHIRLPOOL a02037665bd2620dea9eaa5663d42ce08589b0507dfba5fa78bca5bd93d3c95f4fa0ce2eba646f2d1c66d6a2a8f24f40f6fac3d38a7c142bc0d527796358cfb5
|
||||
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop-python/kdevelop-python-1.4.1.ebuild,v 1.2 2012/12/12 12:26:18 dastergon Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_SCM="git"
|
||||
KMNAME="kdev-python"
|
||||
KDEVPLATFORM_VERSION="1.3.60"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit kde4-base python
|
||||
|
||||
MY_PN="kdev-python"
|
||||
MY_PV="v${PV}"
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
|
||||
if [[ $PV != *9999* ]]; then
|
||||
SRC_URI="mirror://kde/stable/kdevelop/${MY_PN}/${PV}/src/${MY_P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
else
|
||||
EGIT_REPO_URI="git://anongit.kde.org/kdev-python.git"
|
||||
KEYWORDS=""
|
||||
fi
|
||||
|
||||
DESCRIPTION="Python plugin for KDevelop 4"
|
||||
HOMEPAGE="http://www.kdevelop.org"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
>=dev-util/kdevelop-pg-qt-1.0.0
|
||||
>=dev-util/kdevplatform-1.3.60
|
||||
dev-util/kdevelop
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
kde4-base_pkg_setup
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd "${WORKDIR}"/${P}_build
|
||||
emake parser
|
||||
popd
|
||||
|
||||
kde4-base_src_compile
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST kdevelop-4.4.1.tar.bz2 6228685 SHA256 7efac56e0390910247e8d3c4a80ce215a1dc4c75b0a1ecc5b594d8de35acde0c SHA512 790bf87b36402ebd0778a019f49d7161324e888d02e07e0d73c22755eea862f5699fc4190e3cdfd9c4055f3e5994bb2800fe3223caf144c801e4ac2105d41d0b WHIRLPOOL d41d68a50abbaf7406d8a359afbdefc43e4e01d41aa16eb9dc0092bb180296a71ef55f97dc5208f90ebd3cdef833f0f973238a14a37b668104d14445ec9c08d9
|
||||
DIST kdevelop-4.5.1.tar.bz2 5342081 SHA256 36b559b0c0aff13370e27dda57383605e719b55e4b95abd932e513183fcb46ee SHA512 99d3ab71058c745ee65f6ecc9c1afa7ba1bbb052d78198cd7ebdfb062c27b0fbcd56a7880fe19093de535a8b5b121493e8ae00e736f1f3f7836f155834aedb47 WHIRLPOOL 395b58f0f625d4dfb19c54a6979298cbfa5542d58bd5f95fa09b32e1ba994f0d2b7ad98d7b8a2f2b1a3ccbf9d29c691771c0ea4eef345243f0130a2e966b4c17
|
||||
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/kdevelop-4.4.1.ebuild,v 1.7 2013/03/02 21:05:40 hwoarang Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_LINGUAS="bs ca ca@valencia da de el en_GB es et fi fr gl it nb nds nl pl pt
|
||||
pt_BR ru sl sv th uk zh_CN zh_TW"
|
||||
VIRTUALX_REQUIRED=test
|
||||
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Integrated Development Environment for Unix, supporting KDE/Qt, C/C++ and many other languages."
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
IUSE="+cmake +cxx debug okteta qthelp"
|
||||
|
||||
if [[ $PV == *9999* ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
fi
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep ksysguard)
|
||||
$(add_kdebase_dep libkworkspace)
|
||||
okteta? ( $(add_kdebase_dep okteta) )
|
||||
qthelp? ( dev-qt/qthelp:4 )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(add_kdebase_dep kapptemplate)
|
||||
dev-qt/qtdeclarative:4[webkit]
|
||||
cxx? ( >=sys-devel/gdb-7.0[python] )
|
||||
"
|
||||
RESTRICT="test"
|
||||
# see bug 366471
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_build cmake)
|
||||
$(cmake-utils_use_build cmake cmakebuilder)
|
||||
$(cmake-utils_use_build cxx cpp)
|
||||
$(cmake-utils_use_with okteta LibKasten)
|
||||
$(cmake-utils_use_with okteta LibOkteta)
|
||||
$(cmake-utils_use_with okteta LibOktetaKasten)
|
||||
$(cmake-utils_use_build qthelp)
|
||||
)
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST kdevplatform-1.4.1.tar.bz2 2029442 SHA256 d48dba12cc61e006d1ed63c664a1cfa0d6c86a241b633565cda034cd42a78033 SHA512 4858c8d1a76138abde6f060301979822de57c1c94888536ed536e4e5ce1a5aeb1cb1c8c5a651151df9eb2f632c48080be1170b00ca47d391f71df5aa22c57ee5 WHIRLPOOL 81b9aa0d01075de4b3a11d374a0f7308424cd21bcc9448ee778f989400489e119c743da741d9c74f43430466ccfd6ca6e21ca507df6ad3460076d7bb218f45f3
|
||||
DIST kdevplatform-1.5.1.tar.bz2 2272743 SHA256 37bc8985ca855673dce085722ae3cfd3703b9155eb5d0b31e60b975c976a410f SHA512 383fac594123eae861df6944397b695d51461dbf4e6057ed264dc5554548ed283f7aa510b0f6a1b4dbe49da52680d40628ae92f2e131f1d8897667cefd988a98 WHIRLPOOL 25068d23501a2c006267009da623e8daf0879acfe361299b62f91ac5ad0ffd59116fe80490ff54a75cab55de3729c4d5215ddf13ea295168864ec6074d3263da
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevplatform/kdevplatform-1.4.1.ebuild,v 1.5 2012/12/22 13:54:43 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KMNAME="kdevelop"
|
||||
KDE_MINIMAL="4.7"
|
||||
KDE_LINGUAS="bs ca ca@valencia da de el en_GB es et fi fr gl it nb nds nl pl pt
|
||||
pt_BR sl sv th uk zh_CN zh_TW"
|
||||
VIRTUALDBUS_TEST="true"
|
||||
VIRTUALX_REQUIRED="test"
|
||||
EGIT_REPONAME="${PN}"
|
||||
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE development support libraries and apps"
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
IUSE="cvs debug reviewboard subversion"
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
fi
|
||||
|
||||
DEPEND="
|
||||
dev-libs/boost
|
||||
reviewboard? ( dev-libs/qjson )
|
||||
subversion? (
|
||||
dev-libs/apr
|
||||
dev-libs/apr-util
|
||||
dev-vcs/subversion
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!<dev-util/kdevelop-${KDEVELOP_VERSION}:4
|
||||
$(add_kdebase_dep konsole)
|
||||
cvs? ( dev-vcs/cvs )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_build cvs)
|
||||
$(cmake-utils_use_build reviewboard)
|
||||
$(cmake-utils_use_build subversion)
|
||||
)
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
DIST fontconfig-2.10.2.tar.bz2 1412488 SHA256 8ea8ef56738fd95f0be611015f89614fd4dec79ddac6b3ff26bc4a8338569952 SHA512 817ce375f987abb6ea01294c22754e194a9b795697e9fe01d454af87010665b22a416d0c857ceac6aab17351cc85fd0915f51d2a8702a00f851e08f65dd840bf WHIRLPOOL a213c2af9ef1e0ccf19ba8c7119cb1d85e06ec048cf66c933fc9c552b7c642b42636714d214dcbd9794024af123189fcbb73dc4968ba2135b66b6191c05d919e
|
||||
DIST fontconfig-2.10.91.tar.bz2 1507887 SHA256 a4727954e950c0b8ae71580e2328bf54457d835ff3023ae4bd7221f9073e63ee SHA512 a239b33c4404db2db769cd294e672a7c8577266252eb2828f1838e1a2952a6fbb1646d7946ac5f299e9399b0428c8333ab0bf984b855188ee2c244f16a844b6d WHIRLPOOL 1db43a01c772aaedf1d0402a38fa51035c7b269bb419bde864a219869d231b11a0b1f0e44d62c5153927b047949b2c91f08622d2ca03466b9a76226e23e3d63a
|
||||
DIST fontconfig-2.10.92.tar.bz2 1525585 SHA256 1162059927120f2321f12917189b524e6b2f09e11ac643278d0bb82634035b22 SHA512 b09996f1715a1d563cfc95a986847d0895fff96fb8a5db4b006a560764654db749675ed5d4ca2369296c0f6d2c21581e63892df2883d021ff6b92ede04788a1b WHIRLPOOL 75164908ce454c26583afde9575e4dac2985dd947f8abaf3a5173777fc738c11430c72674c342ae9445f2a749d0414b7d291032203f62e2cb5d6db5b119f14f5
|
||||
DIST fontconfig-2.10.93.tar.bz2 1526089 SHA256 ea901f278848829ed9937d76fb0ce63ad362d7d5b9e75aa6a6b78bfef42e529c SHA512 5339ac2db160b672a4c9be09f019120c003d90ff6ad7d99894c4ffef7aefb7f3913d886090e4248c33a93481b522561b6057e45243842c8c830e1608e7e5d83f WHIRLPOOL 3f15a0f3e35318a692b895ea50e4a46be70951523853dbc6b2a7e6320bf93de1548d46ac732595d1aa3daaf94a7a4437796ec372021cf9dc7443ba1d885651f5
|
||||
DIST fontconfig-2.8.0.tar.gz 1548409 SHA256 fa2a1c6eea654d9fce7a4b1220f10c99cdec848dccaf1625c01f076b31382335 SHA512 a110e72cc631f1e374324a02f6ba9526b89a547cafe2ae27b9913938b19018843b2940084d62f0dfaf38a6919dea6974fb98422d3908026f6873d5fba17c55a0 WHIRLPOOL cb7c5c461bcb0a0f6ef93d24a10506512beb99233a1f81d904321577c4023e38c7090806c616b8224689400fc4e2209e26aa20aa1f0ad84b2fcad5477061a003
|
||||
DIST fontconfig-2.9.0.tar.gz 1682774 SHA256 ca7e25071cf044bdcdaf7c48845243c115b9269b4e369c6bd78a29e71f01b41a SHA512 1e91132141756c7455b97fb4d7773b8c0812d98d0c0f5f137c728d6f03cb4601a7f2857c246bd63619d47a8d9aeceb475a16dd625bfc085e235e85b04d29014f WHIRLPOOL a3814b4b2a1b86cedde702545defbcfbca7d3d61ecf512f37a09b5c4041ebb317aadcde1553be534e70d30c212729f547b50cbcd3102226fa92a7c75a7e55620
|
||||
|
@ -1,133 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/fontconfig-2.10.2-r1.ebuild,v 1.4 2013/07/30 18:59:51 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
inherit autotools-multilib readme.gentoo
|
||||
|
||||
DESCRIPTION="A library for configuring and customizing font access"
|
||||
HOMEPAGE="http://fontconfig.org/"
|
||||
SRC_URI="http://fontconfig.org/release/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="1.0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
# Purposefully dropped the xml USE flag and libxml2 support. Expat is the
|
||||
# default and used by every distro. See bug #283191.
|
||||
|
||||
# Note: replace emul-linux dep when expat becomes multilib-aware
|
||||
# (and add [${MULTILIB_USEDEP}] on it then!)
|
||||
RDEPEND=">=media-libs/freetype-2.2.1[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/expat-1.95.3
|
||||
abi_x86_32? (
|
||||
amd64? ( app-emulation/emul-linux-x86-baselibs[development] )
|
||||
!app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-text/docbook-sgml-utils[jadetex]
|
||||
=app-text/docbook-sgml-dtd-3.1*
|
||||
)"
|
||||
PDEPEND="app-admin/eselect-fontconfig
|
||||
virtual/ttf-fonts"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.7.1-latin-reorder.patch # 130466
|
||||
"${FILESDIR}"/${PN}-2.10.2-docbook.patch # 310157
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
DOC_CONTENTS="Please make fontconfig configuration changes using
|
||||
\`eselect fontconfig\`. Any changes made to /etc/fonts/fonts.conf will be
|
||||
overwritten. If you need to reset your configuration to upstream defaults,
|
||||
delete the directory ${EROOT}etc/fonts/conf.d/ and re-emerge fontconfig."
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable doc docbook)
|
||||
# always enable docs to install manpages
|
||||
--enable-docs
|
||||
--localstatedir="${EPREFIX}"/var
|
||||
--with-default-fonts="${EPREFIX}"/usr/share/fonts
|
||||
--with-add-fonts="${EPREFIX}"/usr/local/share/fonts
|
||||
--with-templatedir="${EPREFIX}"/etc/fonts/conf.avail
|
||||
)
|
||||
|
||||
autotools-multilib_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-multilib_src_install
|
||||
|
||||
# XXX: avoid calling this multiple times, bug #459210
|
||||
install_others() {
|
||||
# stuff installed from build-dir
|
||||
autotools-utils_src_compile \
|
||||
DESTDIR="${D}" -C doc install-man
|
||||
|
||||
insinto /etc/fonts
|
||||
doins "${BUILD_DIR}"/fonts.conf
|
||||
}
|
||||
multilib_foreach_abi install_others
|
||||
|
||||
#fc-lang directory contains language coverage datafiles
|
||||
#which are needed to test the coverage of fonts.
|
||||
insinto /usr/share/fc-lang
|
||||
doins fc-lang/*.orth
|
||||
|
||||
dodoc doc/fontconfig-user.{txt,pdf}
|
||||
|
||||
if [[ -e ${ED}usr/share/doc/fontconfig/ ]]; then
|
||||
mv "${ED}"usr/share/doc/fontconfig/* "${ED}"/usr/share/doc/${P}
|
||||
rm -rf "${ED}"usr/share/doc/fontconfig
|
||||
fi
|
||||
|
||||
# Changes should be made to /etc/fonts/local.conf, and as we had
|
||||
# too much problems with broken fonts.conf we force update it ...
|
||||
echo 'CONFIG_PROTECT_MASK="/etc/fonts/fonts.conf"' > "${T}"/37fontconfig
|
||||
doenvd "${T}"/37fontconfig
|
||||
|
||||
# As of fontconfig 2.7, everything sticks their noses in here.
|
||||
dodir /etc/sandbox.d
|
||||
echo 'SANDBOX_PREDICT="/var/cache/fontconfig"' > "${ED}"/etc/sandbox.d/37fontconfig
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Bug #193476
|
||||
# /etc/fonts/conf.d/ contains symlinks to ../conf.avail/ to include various
|
||||
# config files. If we install as-is, we'll blow away user settings.
|
||||
ebegin "Syncing fontconfig configuration to system"
|
||||
if [[ -e ${EROOT}/etc/fonts/conf.d ]]; then
|
||||
for file in "${EROOT}"/etc/fonts/conf.avail/*; do
|
||||
f=${file##*/}
|
||||
if [[ -L ${EROOT}/etc/fonts/conf.d/${f} ]]; then
|
||||
[[ -f ${ED}etc/fonts/conf.avail/${f} ]] \
|
||||
&& ln -sf ../conf.avail/"${f}" "${ED}"etc/fonts/conf.d/ &>/dev/null
|
||||
else
|
||||
[[ -f ${ED}etc/fonts/conf.avail/${f} ]] \
|
||||
&& rm "${ED}"etc/fonts/conf.d/"${f}" &>/dev/null
|
||||
fi
|
||||
done
|
||||
fi
|
||||
eend $?
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Cleaning broken symlinks in "${EROOT}"etc/fonts/conf.d/"
|
||||
find -L "${EROOT}"etc/fonts/conf.d/ -type l -delete
|
||||
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if [[ ${ROOT} = / ]]; then
|
||||
ebegin "Creating global font cache"
|
||||
"${EPREFIX}"/usr/bin/fc-cache -srf
|
||||
eend $?
|
||||
fi
|
||||
}
|
@ -1,125 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/fontconfig-2.10.2.ebuild,v 1.3 2013/03/09 07:26:03 zmedico Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils libtool readme.gentoo
|
||||
|
||||
DESCRIPTION="A library for configuring and customizing font access"
|
||||
HOMEPAGE="http://fontconfig.org/"
|
||||
SRC_URI="http://fontconfig.org/release/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="1.0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
# Purposefully dropped the xml USE flag and libxml2 support. Expat is the
|
||||
# default and used by every distro. See bug #283191.
|
||||
|
||||
RDEPEND=">=media-libs/freetype-2.2.1
|
||||
>=dev-libs/expat-1.95.3"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-text/docbook-sgml-utils[jadetex]
|
||||
=app-text/docbook-sgml-dtd-3.1*
|
||||
)"
|
||||
PDEPEND="app-admin/eselect-fontconfig
|
||||
virtual/ttf-fonts"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.7.1-latin-reorder.patch # 130466
|
||||
epatch "${FILESDIR}"/${PN}-2.10.2-docbook.patch # 310157
|
||||
epatch_user
|
||||
eautoreconf
|
||||
|
||||
# Needed to get a sane .so versioning on fbsd, please dont drop.
|
||||
# If you have to run eautoreconf, you can also leave the elibtoolize
|
||||
# call as it will be a no-op.
|
||||
elibtoolize
|
||||
|
||||
DOC_CONTENTS="Please make fontconfig configuration changes using
|
||||
\`eselect fontconfig\`. Any changes made to /etc/fonts/fonts.conf will be
|
||||
overwritten. If you need to reset your configuration to upstream defaults,
|
||||
delete the directory ${EROOT}etc/fonts/conf.d/ and re-emerge fontconfig."
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# always enable docs to install manpages
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable doc docbook) \
|
||||
--enable-docs \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--with-default-fonts="${EPREFIX}"/usr/share/fonts \
|
||||
--with-add-fonts="${EPREFIX}"/usr/local/share/fonts \
|
||||
--with-templatedir="${EPREFIX}"/etc/fonts/conf.avail
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" -C doc install-man
|
||||
|
||||
find "${ED}" -name '*.la' -delete
|
||||
|
||||
#fc-lang directory contains language coverage datafiles
|
||||
#which are needed to test the coverage of fonts.
|
||||
insinto /usr/share/fc-lang
|
||||
doins fc-lang/*.orth
|
||||
|
||||
insinto /etc/fonts
|
||||
doins "${S}"/fonts.conf
|
||||
|
||||
dodoc doc/fontconfig-user.{txt,pdf}
|
||||
dodoc AUTHORS ChangeLog README
|
||||
|
||||
if [[ -e ${ED}usr/share/doc/fontconfig/ ]]; then
|
||||
mv "${ED}"usr/share/doc/fontconfig/* "${ED}"/usr/share/doc/${P}
|
||||
rm -rf "${ED}"usr/share/doc/fontconfig
|
||||
fi
|
||||
|
||||
# Changes should be made to /etc/fonts/local.conf, and as we had
|
||||
# too much problems with broken fonts.conf we force update it ...
|
||||
echo 'CONFIG_PROTECT_MASK="/etc/fonts/fonts.conf"' > "${T}"/37fontconfig
|
||||
doenvd "${T}"/37fontconfig
|
||||
|
||||
# As of fontconfig 2.7, everything sticks their noses in here.
|
||||
dodir /etc/sandbox.d
|
||||
echo 'SANDBOX_PREDICT="/var/cache/fontconfig"' > "${ED}"/etc/sandbox.d/37fontconfig
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Bug #193476
|
||||
# /etc/fonts/conf.d/ contains symlinks to ../conf.avail/ to include various
|
||||
# config files. If we install as-is, we'll blow away user settings.
|
||||
ebegin "Syncing fontconfig configuration to system"
|
||||
if [[ -e ${EROOT}/etc/fonts/conf.d ]]; then
|
||||
for file in "${EROOT}"/etc/fonts/conf.avail/*; do
|
||||
f=${file##*/}
|
||||
if [[ -L ${EROOT}/etc/fonts/conf.d/${f} ]]; then
|
||||
[[ -f ${ED}etc/fonts/conf.avail/${f} ]] \
|
||||
&& ln -sf ../conf.avail/"${f}" "${ED}"etc/fonts/conf.d/ &>/dev/null
|
||||
else
|
||||
[[ -f ${ED}etc/fonts/conf.avail/${f} ]] \
|
||||
&& rm "${ED}"etc/fonts/conf.d/"${f}" &>/dev/null
|
||||
fi
|
||||
done
|
||||
fi
|
||||
eend $?
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Cleaning broken symlinks in "${EROOT}"etc/fonts/conf.d/"
|
||||
find -L "${EROOT}"etc/fonts/conf.d/ -type l -delete
|
||||
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if [[ ${ROOT} = / ]]; then
|
||||
ebegin "Creating global font cache"
|
||||
"${EPREFIX}"/usr/bin/fc-cache -srf
|
||||
eend $?
|
||||
fi
|
||||
}
|
@ -1,132 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/fontconfig-2.8.0-r2.ebuild,v 1.4 2012/05/05 08:02:34 jdhore Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils libtool toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="A library for configuring and customizing font access"
|
||||
HOMEPAGE="http://fontconfig.org/"
|
||||
SRC_URI="http://fontconfig.org/release/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="1.0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
# Purposefully dropped the xml USE flag and libxml2 support. Expat is the
|
||||
# default and used by every distro. See bug #283191.
|
||||
|
||||
RDEPEND=">=media-libs/freetype-2.2.1
|
||||
>=dev-libs/expat-1.95.3"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-text/docbook-sgml-utils[jadetex]
|
||||
=app-text/docbook-sgml-dtd-3.1*
|
||||
)"
|
||||
PDEPEND="app-admin/eselect-fontconfig
|
||||
virtual/ttf-fonts"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.7.1-latin-reorder.patch # 130466
|
||||
epatch "${FILESDIR}"/${PN}-2.3.2-docbook.patch # 310157
|
||||
epatch "${FILESDIR}"/${PN}-2.8.0-urw-aliases.patch # 303591
|
||||
|
||||
eautoreconf
|
||||
|
||||
# Needed to get a sane .so versioning on fbsd, please dont drop
|
||||
# If you have to run eautoreconf, you can also leave the elibtoolize call as
|
||||
# it will be a no-op.
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
if tc-is-cross-compiler; then
|
||||
myconf="--with-arch=${ARCH}"
|
||||
replace-flags -mtune=* -DMTUNE_CENSORED
|
||||
replace-flags -march=* -DMARCH_CENSORED
|
||||
fi
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable doc docbook) \
|
||||
--localstatedir=/var \
|
||||
--with-default-fonts=/usr/share/fonts \
|
||||
--with-add-fonts=/usr/local/share/fonts \
|
||||
${myconf} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install"
|
||||
emake DESTDIR="${D}" -C doc install-man || die "emake install-man"
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
|
||||
#fc-lang directory contains language coverage datafiles
|
||||
#which are needed to test the coverage of fonts.
|
||||
insinto /usr/share/fc-lang
|
||||
doins fc-lang/*.orth
|
||||
|
||||
insinto /etc/fonts
|
||||
doins "${S}"/fonts.conf
|
||||
|
||||
dodoc doc/fontconfig-user.{txt,pdf}
|
||||
dodoc AUTHORS ChangeLog README
|
||||
|
||||
if [[ -e ${D}usr/share/doc/fontconfig/ ]]; then
|
||||
mv "${D}"usr/share/doc/fontconfig/* "${D}"/usr/share/doc/${P}
|
||||
rm -rf "${D}"usr/share/doc/fontconfig
|
||||
fi
|
||||
|
||||
# Changes should be made to /etc/fonts/local.conf, and as we had
|
||||
# too much problems with broken fonts.conf, we force update it ...
|
||||
# <azarah@gentoo.org> (11 Dec 2002)
|
||||
echo 'CONFIG_PROTECT_MASK="/etc/fonts/fonts.conf"' > "${T}"/37fontconfig
|
||||
doenvd "${T}"/37fontconfig
|
||||
|
||||
# As of fontconfig 2.7, everything sticks their noses in here.
|
||||
dodir /etc/sandbox.d
|
||||
echo 'SANDBOX_PREDICT="/var/cache/fontconfig"' > "${D}"/etc/sandbox.d/37fontconfig
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Bug #193476
|
||||
# /etc/fonts/conf.d/ contains symlinks to ../conf.avail/ to include various
|
||||
# config files. If we install as-is, we'll blow away user settings.
|
||||
ebegin "Syncing fontconfig configuration to system"
|
||||
if [[ -e ${ROOT}/etc/fonts/conf.d ]]; then
|
||||
for file in "${ROOT}"/etc/fonts/conf.avail/*; do
|
||||
f=${file##*/}
|
||||
if [[ -L ${ROOT}/etc/fonts/conf.d/${f} ]]; then
|
||||
[[ -f ${D}etc/fonts/conf.avail/${f} ]] \
|
||||
&& ln -sf ../conf.avail/"${f}" "${D}"etc/fonts/conf.d/ &>/dev/null
|
||||
else
|
||||
[[ -f ${D}etc/fonts/conf.avail/${f} ]] \
|
||||
&& rm "${D}"etc/fonts/conf.d/"${f}" &>/dev/null
|
||||
fi
|
||||
done
|
||||
fi
|
||||
eend $?
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Cleaning broken symlinks in "${ROOT}"etc/fonts/conf.d/"
|
||||
find -L "${ROOT}"etc/fonts/conf.d/ -type l -delete
|
||||
|
||||
echo
|
||||
ewarn "Please make fontconfig configuration changes using \`eselect fontconfig\`"
|
||||
ewarn "Any changes made to /etc/fonts/fonts.conf will be overwritten."
|
||||
ewarn
|
||||
ewarn "If you need to reset your configuration to upstream defaults, delete"
|
||||
ewarn "the directory ${ROOT}etc/fonts/conf.d/ and re-emerge fontconfig."
|
||||
echo
|
||||
|
||||
if [[ ${ROOT} = / ]]; then
|
||||
ebegin "Creating global font cache"
|
||||
/usr/bin/fc-cache -srf
|
||||
eend $?
|
||||
fi
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/gexiv2/gexiv2-0.6.1.ebuild,v 1.1 2013/08/21 12:59:33 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit eutils multilib python-r1 toolchain-funcs versionator
|
||||
|
||||
MY_PV=$(get_version_component_range 1-2)
|
||||
|
||||
DESCRIPTION="GObject-based wrapper around the Exiv2 library"
|
||||
HOMEPAGE="http://trac.yorba.org/wiki/gexiv2/"
|
||||
SRC_URI="http://www.yorba.org/download/${PN}/${MY_PV}/lib${PN}_${PV}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="introspection static-libs"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/glib:2
|
||||
>=media-gfx/exiv2-0.21"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/lib${P}
|
||||
|
||||
src_prepare() {
|
||||
tc-export CXX
|
||||
sed -e 's:CFLAGS:CXXFLAGS:g' -i Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
$(use_enable introspection) \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIB="$(get_libdir)" install
|
||||
dodoc AUTHORS NEWS README THANKS
|
||||
|
||||
python_moduleinto gi/overrides/
|
||||
python_foreach_impl python_domodule GExiv2.py
|
||||
|
||||
use static-libs || find "${D}" \( -name '*.a' -or -name '*.la' \) -delete
|
||||
}
|
@ -1,5 +1,2 @@
|
||||
DIST amarok-2.5.0.tar.bz2 46607238 SHA256 1ed191db290fdede7c910c322cff2aba8ecfc1c4af891508d9ee410db3768849 SHA512 ac195f627ed0b1daba4b3a2896048d445caa85310b3373b373cabc76c36f424a60f2a3a439012363f3022c0ddb85a6770f2debd5b1a6e009e067bc5329d284c6 WHIRLPOOL e2256ae5dc941016afc9c3798b8f4ee4275dd23085b520067d6f24fa682ce465254d251c3494208a679441058771226668d5b500cb84851ccdd5b48584bb73bc
|
||||
DIST amarok-2.6.0.tar.bz2 42331208 SHA256 a91280e588181cf9363d7146f339ef527220fe0c8057f26f010f592b01fdd2c0 SHA512 da67876dfc41dcc3e1f3087698d36dabb43a339cef1669ca0518de191e2d9dd2e3e72122ffe76ecfd763e83547e46c55bba8606c095d35c85058df77bf35fb4a WHIRLPOOL 70fadaff2565fc2e9d8cb628942ec8107c6f4fcea0bd3e898f4ba6a72231ebaca8cb1d924f1413ced7c82940790438c9dcbe2fba7760e356b100eb832d8a2edc
|
||||
DIST amarok-2.7.0.tar.bz2 15499004 SHA256 b3138400d946511f6fddd8f1fea383a1e744ca76094f1f9e407fb40d3db6d2f3 SHA512 0c2ed7e2c9e84bd19994f2adbea8e628ae50fcf8347406544a10f88e513312f6cee12708182f79e0d7e1fc531a32ec35f12725fac5e9a3755dd8403f3ac32a3e WHIRLPOOL b710a3eb8840c779f61e4a1dbcff54833cd71cde69ef4abc1e31fa3d890f7cda499582aa73a3bafd6ce902cd410e6de7ece3bc2b4707ec50cfd15dabff63c2c2
|
||||
DIST amarok-2.7.1.tar.bz2 42872919 SHA256 9e0dc6653096179ee6bd1538da95964efd6e69ef247d6de29a3e5a69bac5bb89 SHA512 7e398a52a2aee67fa36f8e550ef9929af0b36ad118cd22e75bf1420a2db67f657478fecddaacd42f6ce6be4221fbe93c4ba5e0b979359253f06065836f1860b8 WHIRLPOOL 7ad8bae556739dc48973749f3c99ed640136d918084100492f8acae93de6025a1807753b3ea0c7504d0179e4847399b2b520dfcc27c609b033e8f0394d7e3464
|
||||
DIST amarok-2.8.0.tar.bz2 39950028 SHA256 f4b89b28f217a6d947e55fb0890de22fad8c404794c6beeb2dcaf2711b4f8ec6 SHA512 09f7f675f1223d36fb9df2f8c88923c6616524e022ad83b12bcb770dfbf60cb6b191e4035633f2ea2eee5fb7b38e6d5092cf69fe222ef9c3f3c46ba8f157a62d WHIRLPOOL 108cfd95d65e74f28f85a846f605bc349e5b2962b7f9a357415225f3e48ff87148d7f50a642665cc3c809bb2cb4c22f339ad049cdeb4659bb7c0a48e798833ad
|
||||
|
@ -1,137 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-2.5.0-r4.ebuild,v 1.8 2013/05/30 12:09:02 kensington Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_LINGUAS="af ar ast be bg bs ca ca@valencia cs csb da de el en_GB eo es et
|
||||
eu fa fi fr ga gl he hr hu is it ja km ko ku lt lv mai ml ms nb nds ne nl nn
|
||||
oc pa pl pt pt_BR ro ru se si sk sl sq sr sr@ijekavian sr@ijekavianlatin
|
||||
sr@Latn sv tg th tr ug uk wa zh_CN zh_TW"
|
||||
KDE_SCM="git"
|
||||
KDE_REQUIRED="never"
|
||||
inherit flag-o-matic kde4-base
|
||||
|
||||
DESCRIPTION="Advanced audio player based on KDE framework."
|
||||
HOMEPAGE="http://amarok.kde.org/"
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.bz2"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
else
|
||||
KEYWORDS=""
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
IUSE="cdda daap debug +embedded ipod lastfm mp3tunes mtp ofa opengl semantic-desktop +utils"
|
||||
|
||||
# Tests require gmock - http://code.google.com/p/gmock/
|
||||
# It's not in the tree yet
|
||||
RESTRICT="test"
|
||||
|
||||
# ipod requires gdk enabled and also gtk compiled in libgpod
|
||||
COMMONDEPEND="
|
||||
app-crypt/qca:2
|
||||
>=app-misc/strigi-0.5.7
|
||||
$(add_kdebase_dep kdelibs 'opengl?,semantic-desktop(+)?')
|
||||
$(add_kdebase_dep kdebase-kioslaves)
|
||||
>=media-libs/taglib-1.6.1[asf,mp4]
|
||||
>=media-libs/taglib-extras-1.0.1
|
||||
sys-libs/zlib
|
||||
>=virtual/mysql-5.1[embedded?]
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtdbus:4
|
||||
dev-qt/qtscript:4
|
||||
>=x11-libs/qtscriptgenerator-0.1.0
|
||||
cdda? (
|
||||
$(add_kdebase_dep libkcddb)
|
||||
$(add_kdebase_dep libkcompactdisc)
|
||||
|| (
|
||||
$(add_kdebase_dep audiocd-kio)
|
||||
$(add_kdebase_dep kdemultimedia-kioslaves)
|
||||
)
|
||||
)
|
||||
ipod? ( >=media-libs/libgpod-0.7.0[gtk] )
|
||||
lastfm? ( =media-libs/liblastfm-0.3* )
|
||||
mp3tunes? (
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2
|
||||
dev-libs/openssl
|
||||
net-libs/loudmouth
|
||||
net-misc/curl
|
||||
dev-qt/qtcore:4[glib]
|
||||
)
|
||||
mtp? ( >=media-libs/libmtp-1.0.0 )
|
||||
ofa? ( >=media-libs/libofa-0.9.0 )
|
||||
opengl? ( virtual/opengl )
|
||||
"
|
||||
DEPEND="${COMMONDEPEND}
|
||||
dev-util/automoc
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
!media-sound/amarok-utils
|
||||
$(add_kdebase_dep phonon-kde)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.5.0-kde48.patch"
|
||||
"${FILESDIR}/${PN}-2.5.0-qtdebug.patch"
|
||||
"${FILESDIR}/${PN}-2.5.0-fix-context-view-on-startup.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
# Append minimal-toc cflag for ppc64, see bug 280552 and 292707
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
local mycmakeargs
|
||||
|
||||
# Mygpo-qt not yet in portage, add IUSE when available
|
||||
mycmakeargs=(
|
||||
-DWITH_PLAYER=ON
|
||||
-DWITH_Libgcrypt=OFF
|
||||
-DWITH_Mygpo-qt=OFF
|
||||
$(cmake-utils_use embedded WITH_MYSQL_EMBEDDED)
|
||||
$(cmake-utils_use_with ipod)
|
||||
$(cmake-utils_use_with ipod Gdk)
|
||||
$(cmake-utils_use_with lastfm LibLastFm)
|
||||
$(cmake-utils_use_with mtp)
|
||||
$(cmake-utils_use_with mp3tunes MP3Tunes)
|
||||
$(cmake-utils_use_with ofa LibOFA)
|
||||
)
|
||||
|
||||
mycmakeargs+=(
|
||||
$(cmake-utils_use_with utils UTILITIES)
|
||||
)
|
||||
|
||||
# $(cmake-utils_use_with semantic-desktop Nepomuk)
|
||||
# $(cmake-utils_use_with semantic-desktop Soprano)
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
|
||||
if use daap; then
|
||||
echo
|
||||
elog "You have installed amarok with daap support."
|
||||
elog "You may be interested in installing www-servers/mongrel as well."
|
||||
echo
|
||||
fi
|
||||
|
||||
if ! use embedded; then
|
||||
echo
|
||||
elog "You've disabled the amarok support for embedded mysql DBs."
|
||||
elog "You'll have to configure amarok to use an external db server."
|
||||
echo
|
||||
elog "Please read http://amarok.kde.org/wiki/MySQL_Server for details on how"
|
||||
elog "to configure the external db and migrate your data from the embedded database."
|
||||
echo
|
||||
|
||||
if has_version "virtual/mysql[minimal]"; then
|
||||
elog "You built mysql with the minimal use flag, so it doesn't include the server."
|
||||
elog "You won't be able to use the local mysql installation to store your amarok collection."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,128 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-2.6.0.ebuild,v 1.8 2013/05/30 12:09:02 kensington Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_LINGUAS="bs ca cs da de el en_GB es et eu fi ga gl hu it ja lt lv nb nl pa
|
||||
pl pt pt_BR ru sl sr sr@latin sv uk zh_TW"
|
||||
KDE_SCM="git"
|
||||
KDE_REQUIRED="never"
|
||||
inherit flag-o-matic kde4-base
|
||||
|
||||
DESCRIPTION="Advanced audio player based on KDE framework."
|
||||
HOMEPAGE="http://amarok.kde.org/"
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.bz2"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
else
|
||||
KEYWORDS=""
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
IUSE="cdda daap debug +embedded ipod lastfm mp3tunes mtp ofa opengl semantic-desktop +utils"
|
||||
|
||||
# Tests require gmock - http://code.google.com/p/gmock/
|
||||
# It's not in the tree yet
|
||||
RESTRICT="test"
|
||||
|
||||
# ipod requires gdk enabled and also gtk compiled in libgpod
|
||||
COMMONDEPEND="
|
||||
app-crypt/qca:2
|
||||
>=app-misc/strigi-0.5.7
|
||||
$(add_kdebase_dep kdelibs 'opengl?,semantic-desktop(+)?')
|
||||
$(add_kdebase_dep kdebase-kioslaves)
|
||||
>=media-libs/taglib-1.7[asf,mp4]
|
||||
>=media-libs/taglib-extras-1.0.1
|
||||
sys-libs/zlib
|
||||
>=virtual/mysql-5.1[embedded?]
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtdbus:4
|
||||
dev-qt/qtscript:4
|
||||
>=x11-libs/qtscriptgenerator-0.1.0
|
||||
cdda? (
|
||||
$(add_kdebase_dep libkcddb)
|
||||
$(add_kdebase_dep libkcompactdisc)
|
||||
|| (
|
||||
$(add_kdebase_dep audiocd-kio)
|
||||
$(add_kdebase_dep kdemultimedia-kioslaves)
|
||||
)
|
||||
)
|
||||
ipod? ( >=media-libs/libgpod-0.7.0[gtk] )
|
||||
lastfm? ( =media-libs/liblastfm-0.3* )
|
||||
mp3tunes? (
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2
|
||||
dev-libs/openssl
|
||||
net-libs/loudmouth
|
||||
net-misc/curl
|
||||
dev-qt/qtcore:4[glib]
|
||||
)
|
||||
mtp? ( >=media-libs/libmtp-1.0.0 )
|
||||
ofa? ( >=media-libs/libofa-0.9.0 )
|
||||
opengl? ( virtual/opengl )
|
||||
"
|
||||
DEPEND="${COMMONDEPEND}
|
||||
dev-util/automoc
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
!media-sound/amarok-utils
|
||||
$(add_kdebase_dep phonon-kde)
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
# Append minimal-toc cflag for ppc64, see bug 280552 and 292707
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
local mycmakeargs
|
||||
|
||||
mycmakeargs=(
|
||||
-DWITH_PLAYER=ON
|
||||
-DWITH_Libgcrypt=OFF
|
||||
-DWITH_SPECTRUM_ANALYZER=ON
|
||||
$(cmake-utils_use embedded WITH_MYSQL_EMBEDDED)
|
||||
$(cmake-utils_use_with ipod)
|
||||
$(cmake-utils_use_with ipod Gdk)
|
||||
$(cmake-utils_use_with lastfm LibLastFm)
|
||||
$(cmake-utils_use_with mtp)
|
||||
$(cmake-utils_use_with mp3tunes MP3Tunes)
|
||||
$(cmake-utils_use_with ofa LibOFA)
|
||||
)
|
||||
|
||||
mycmakeargs+=(
|
||||
$(cmake-utils_use_with utils UTILITIES)
|
||||
)
|
||||
|
||||
# $(cmake-utils_use_with semantic-desktop Nepomuk)
|
||||
# $(cmake-utils_use_with semantic-desktop Soprano)
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
|
||||
if use daap; then
|
||||
echo
|
||||
elog "You have installed amarok with daap support."
|
||||
elog "You may be interested in installing www-servers/mongrel as well."
|
||||
echo
|
||||
fi
|
||||
|
||||
if ! use embedded; then
|
||||
echo
|
||||
elog "You've disabled the amarok support for embedded mysql DBs."
|
||||
elog "You'll have to configure amarok to use an external db server."
|
||||
echo
|
||||
elog "Please read http://amarok.kde.org/wiki/MySQL_Server for details on how"
|
||||
elog "to configure the external db and migrate your data from the embedded database."
|
||||
echo
|
||||
|
||||
if has_version "virtual/mysql[minimal]"; then
|
||||
elog "You built mysql with the minimal use flag, so it doesn't include the server."
|
||||
elog "You won't be able to use the local mysql installation to store your amarok collection."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,127 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-2.7.0.ebuild,v 1.8 2013/05/30 12:09:02 kensington Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_LINGUAS="bs ca ca@valencia cs da de el en_GB es et eu fi fr
|
||||
ga gl hu it ja lt lv nb nl pa pl pt pt_BR ru sl sr sr@ijekavian
|
||||
sr@ijekavianlatin sr@latin sv uk zh_CN zh_TW"
|
||||
KDE_REQUIRED="never"
|
||||
VIRTUALX_REQUIRED=test
|
||||
inherit flag-o-matic kde4-base
|
||||
|
||||
DESCRIPTION="Advanced audio player based on KDE framework."
|
||||
HOMEPAGE="http://amarok.kde.org/"
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.bz2"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
else
|
||||
KEYWORDS=""
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
IUSE="cdda daap debug +embedded ipod lastfm mp3tunes mtp ofa opengl semantic-desktop test +utils"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
RESTRICT="test"
|
||||
fi
|
||||
|
||||
# ipod requires gdk enabled and also gtk compiled in libgpod
|
||||
COMMONDEPEND="
|
||||
app-crypt/qca:2
|
||||
>=app-misc/strigi-0.5.7
|
||||
$(add_kdebase_dep kdelibs 'opengl?,semantic-desktop(+)?' 4.8.4)
|
||||
$(add_kdebase_dep kdebase-kioslaves)
|
||||
>=media-libs/taglib-1.7[asf,mp4]
|
||||
>=media-libs/taglib-extras-1.0.1
|
||||
sys-libs/zlib
|
||||
>=virtual/mysql-5.1[embedded?]
|
||||
>=dev-qt/qtcore-4.8:4
|
||||
>=dev-qt/qtdbus-4.8:4
|
||||
>=dev-qt/qtscript-4.8:4
|
||||
>=x11-libs/qtscriptgenerator-0.1.0
|
||||
cdda? (
|
||||
$(add_kdebase_dep libkcddb)
|
||||
$(add_kdebase_dep libkcompactdisc)
|
||||
$(add_kdebase_dep audiocd-kio)
|
||||
)
|
||||
ipod? ( >=media-libs/libgpod-0.7.0[gtk] )
|
||||
lastfm? ( >=media-libs/liblastfm-1.0.3 )
|
||||
mp3tunes? (
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2
|
||||
dev-libs/openssl
|
||||
net-libs/loudmouth
|
||||
net-misc/curl
|
||||
>=dev-qt/qtcore-4.8.4:4[glib]
|
||||
)
|
||||
mtp? ( >=media-libs/libmtp-1.0.0 )
|
||||
ofa? ( >=media-libs/libofa-0.9.0 )
|
||||
opengl? ( virtual/opengl )
|
||||
semantic-desktop? ( >=kde-base/nepomuk-core-4.9.0 )
|
||||
"
|
||||
DEPEND="${COMMONDEPEND}
|
||||
dev-util/automoc
|
||||
virtual/pkgconfig
|
||||
test? ( dev-cpp/gmock )
|
||||
"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
!media-sound/amarok-utils
|
||||
$(add_kdebase_dep phonon-kde)
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
# Append minimal-toc cflag for ppc64, see bug 280552 and 292707
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
local mycmakeargs
|
||||
|
||||
mycmakeargs=(
|
||||
-DWITH_PLAYER=ON
|
||||
-DWITH_Libgcrypt=OFF
|
||||
-DWITH_SPECTRUM_ANALYZER=OFF
|
||||
$(cmake-utils_use embedded WITH_MYSQL_EMBEDDED)
|
||||
$(cmake-utils_use_with ipod)
|
||||
$(cmake-utils_use_with ipod Gdk)
|
||||
$(cmake-utils_use_with lastfm LibLastFm)
|
||||
$(cmake-utils_use_with mtp)
|
||||
$(cmake-utils_use_with mp3tunes MP3Tunes)
|
||||
$(cmake-utils_use_with ofa LibOFA)
|
||||
$(cmake-utils_use_with semantic-desktop Nepomuk)
|
||||
$(cmake-utils_use_with semantic-desktop Soprano)
|
||||
)
|
||||
|
||||
mycmakeargs+=(
|
||||
$(cmake-utils_use_with utils UTILITIES)
|
||||
)
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
|
||||
if use daap; then
|
||||
echo
|
||||
elog "You have installed amarok with daap support."
|
||||
elog "You may be interested in installing www-servers/mongrel as well."
|
||||
echo
|
||||
fi
|
||||
|
||||
if ! use embedded; then
|
||||
echo
|
||||
elog "You've disabled the amarok support for embedded mysql DBs."
|
||||
elog "You'll have to configure amarok to use an external db server."
|
||||
echo
|
||||
elog "Please read http://amarok.kde.org/wiki/MySQL_Server for details on how"
|
||||
elog "to configure the external db and migrate your data from the embedded database."
|
||||
echo
|
||||
|
||||
if has_version "virtual/mysql[minimal]"; then
|
||||
elog "You built mysql with the minimal use flag, so it doesn't include the server."
|
||||
elog "You won't be able to use the local mysql installation to store your amarok collection."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue