parent
2f88eec7cd
commit
f301fa5d21
@ -1,30 +1,19 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX 3.0_alpha8-no-docs.patch 607 SHA256 ec3fa157556714133fe0c2590855d0de3a6ae8cbf1426725c95f1396c485c9b8 SHA512 714012db8d7616d688dea98e9e7669e35009102ce2a931e53a3791b7b3046742a16a0e6e76ebe9ef3d1017a83e421e453fb582a2dcaa4a1b55cc68c537844c23 WHIRLPOOL af7adcc474e10f25deb6a0b3f91fb627f8b13025c2cbb3691f930efa90181e286032d530d2b0e0d34ae67fde984782ff32a35ab7224a4ebfbb89171480072f94
|
||||
AUX conf.d 85 SHA256 312ec20f53a96a4daf6f49c2928c4d1243a527ac8e32ecd882ec1a7a3d6b72eb SHA512 73a831b1d5b30686fa8120cbb3317ca2291da72f8217e1402791eee1dee7d232b26b9146e8eee5ce75c69a4c1c7993bb29eeb5de758cf731f1c093ecb340fcc2 WHIRLPOOL dc5cc98cecd01b5b3853782263b329651520f47399f3c9eadc88e706bb724aa17af46476111e746f8362fa9603f76acf03fbd4a902a563701c6c58337ceb4aba
|
||||
AUX init.d 734 SHA256 089fab0a143af0b1d68b3edd442ec4c1267129585f30250261adfd0839f78506 SHA512 67b3f2c98bdf32a4d43f70444e7d57fb1e287f8491d2c4ecf6f5641f604d30282703811f546c98bc54ba3d7250e02ceb6917a2c5beca8081dfbd68a5de590dba WHIRLPOOL 85dc5730ccc9b0b83836dc927b99fec1e27eb11bd2051507e563841485cee18fac9c46b011cbcd91666fb91c4dd24ff1fc5d2f2c873b252ae7165e3978047695
|
||||
AUX init.d-r1 564 SHA256 9def805f02710cb5966169bfc605fce9626a1be5677e2cce468e9bca33a1d0dd SHA512 ac7ede641a9ca5d6af402f3caca1acae222897fcf76c46b44dd43a20d607789947624c664378d03b52e08d248d6caaa21679661ff0f6bd101342341df331e8ae WHIRLPOOL 7c29dcde84a0c2442e2be3dae08b512ef36152477f6c7f69b26cec1623cca7b1baf3068653e62bd1355f49242b6f34dc50439671953783ce25ac5896c5c9ef46
|
||||
DIST supervisor-3.0.tar.gz 459820 SHA256 82aac54c5760b6a4f4c28dda203714e362a68b4a9ba8549fa65955998e3a2212 SHA512 6a6398ef89bb7e44b4482170e10bd95c27bd1f56efc78c6d7093020190149523b7364277af9c3d065366bfe8673c13c13747bc58326d49be3496129cc5340056 WHIRLPOOL 8932e808ad9fdf0cd1dee7ea48842472be6c090c32884f81cefba4c0f1b6cb1a9a54f24663f722932bd25c93e3a789a35040aa99b453145cc3a5ca7f0dd9940d
|
||||
DIST supervisor-3.0a10.tar.gz 438362 SHA256 63620d0431bafff6f346fb4df5d9a7745588b5dee1ca5fec2ddff2298107d69f SHA512 57239e23ff6bd0896f97591b4e80f57e36fc1858b15c43161d4205753cd346c2d7d343179ef0fd435001f14bfcff5881bf68f299cd5537d80a49126e8a116607 WHIRLPOOL 37c91a0184c3f7e4130f14ad0fa14787452a78789719637b5419473ef7ab4658600c55cb08e397356d38676fe120e1cc4c86c81c2ce9083f3ab3d493d3908cb3
|
||||
DIST supervisor-3.0a12.tar.gz 438901 SHA256 de60eee3c460b379aa8493083b59d31b29f2c4267730db29b6f9dea22642b3b4 SHA512 e60efdf26361940402c8d1b5fafe9f04fa2354c5bde29a404bd1d167557b14492297d011c5d73d8a58e6c6fe7c6cb3d70876383a58bfdcd9fc1c1d7eda04c3a7 WHIRLPOOL 8e56d50d24b912cc92c18fb3ad9643a6e1c973430d64ce7518b081eac948e7ccc8dc202da4a8a579b82a8b879a9d17abd35b2f7807146c0f9c9c8c5370e4a8ff
|
||||
DIST supervisor-3.0b1.tar.gz 452676 SHA256 7361e224871257534cac3bc035e90571c35b9fa9245ec46207de9d89191a7d0c SHA512 3e2e2eed32abb6b443321aff8b973a4d25d6cbd2107c02b91ea4713b950483fb24c730be839c22d920671a808c63676af061fbd368706d6331cad6f8f924bf09 WHIRLPOOL 03eaa49d3809edfce47fdd50c75392dd76ce1d8323f13bc83f1a21b195ca2fbe37d827bd369153da0f8c20f05ce869d68e840ccbb0daa4e7c90e11e0c6e77ebd
|
||||
DIST supervisor-3.0b2.tar.gz 458264 SHA256 3cb0e1d8ce4e4feb8c27923ca996ad7ba725f9d6300b8f8dfd2dbac4998575ed SHA512 162032b737b1ac8d8904f71e1e7a31539a2701da57183ada4144730de86c803fc8dafdac6c81f634d989e38dd25ee28a3502b38a5b18dbdb2cf3b5520b938181 WHIRLPOOL 77102b537230c5e2f06bab4fcb331bdd59547eeb8d3a319772d6cf3d09e12e17b7136b832b5f832ed762fdbddcd345fe23ba8eda1724b53c9e2f51a94b3a7c2b
|
||||
DIST supervisor-3.1.0.tar.gz 408995 SHA256 f0add8a9096cb662c1e233947b954125e38db26d40c8148fb76a7c83564518cc SHA512 8b64885ade496d69a80faee21bc7aba879d3696079ec7e49f8270666e45e749dbf0042a582829415be429bb93048ce1a365983d486cbc753e27f9e8cf8f876f1 WHIRLPOOL 804ab4f1b9b0b1a5f125bad1a5e0ec171869b7f3a0a2e2ddfb9cd0c5ab6e6f932efbd2f153fd890fce7afa75d6e78ec4ced4eccf7b3003f706420d5d91f1bac8
|
||||
DIST supervisor-3.1.1.tar.gz 416845 SHA256 e3c3b35804c24b6325b5ba462553ebee80d5f4d1766274737b5c532cd4a11d59 SHA512 bcd4841185b3eb51c59e0252ec2b825fe2799fec4f81eb4c27ac28103cae6b54819938c57d2c2dfb0d90291a3938b8bd6e033aa7dd75af501224ed94b9a92c13 WHIRLPOOL babd603034fb2ed406d5073da0b17e7e0739898199b4ed8a18ac7a85fa74e8172d182fb4501c43bd190ea58da4fff93d93ee8fd28b6eb014791130c8c7a77594
|
||||
EBUILD supervisor-3.0.ebuild 1464 SHA256 7fa3529b8a34e8b432a52c2266fbbd5f114998d1f82fb60aa6542efed37a0192 SHA512 eb4d4767917091ff147f8a4853be2a875d3ad21861de942aa97aebc0a52a54b22f39e06a7e746b38b5d9e8442ef82313b0f9d24038aa4188f24a6fe3741956f3 WHIRLPOOL 773ed5d793a7e2496d4805286c4481af5e21ca54d4335ce8c6e1b7869008bb5d5c3d14007e7eb801aff7735a77aed972320854a3b6e292dc38c1f478971924c4
|
||||
EBUILD supervisor-3.0_alpha10.ebuild 1179 SHA256 1b19ee056b64b8f7662815e0cadd4a1b91456c975c81cefd021fdc2382a23dd1 SHA512 a34f01d5d0dd15ed96bb6ee51b6a3d6c8f98ad5bfb877c91d823d5066afad7e75c3950da1c335d9fd8a31ca411c94ff1b39ab2b20a8a85de1cbfb08d0351433f WHIRLPOOL 1180d52fc9cf3388a767ea6de7d74f7c417c814ad16a305adf3052d2a6a0a704f907d4995b6b45f81c2ea920e627dc8d2c4e90e7f1db123c7d364d4ebc22fe56
|
||||
EBUILD supervisor-3.0_alpha12.ebuild 1079 SHA256 2b6db4adfa3f3c16144aa65a833c62917945348a52ab7a68c1e18b56a1b49e3b SHA512 0d3ab07e022859b915630cb375a7e6703beb51c3743e150f8035b68bb0416b4ce67ab30a4260249cd16f80ae4b82b7f8322c597d81fac6cf1c9da9db5d85aa12 WHIRLPOOL 359a367baa77bb3af975b0e2f6c03dbd4e2c5d3f6599bf2d179fcfbac60ea4567f00a3cdf1574d59673472851c33172bbb8901af16c353c5546136e854999aaa
|
||||
EBUILD supervisor-3.0_beta1.ebuild 1076 SHA256 509fb9c7c3042bdd03f6e113ad49db382ab3b4ace59938467763c0c34bcc8658 SHA512 47c6267fd4b3aef09ca623611209d4e06c4d0d6fdcad2df096a51c154e0158b03f059d33ccddcf00736f6046efbecd9201f31b1f58cdf54d3422eb07d8240601 WHIRLPOOL f8ca069c914bbdfdfb4c316d6f4ae342dc2dceb3ad59586e9f6a2128319e2fa83b9471b012ba43bb74f69eeb0dbcc5e1d4318d5cf397d2ad36854b2ed4b9a04c
|
||||
EBUILD supervisor-3.0_beta2-r1.ebuild 1473 SHA256 d0cd8a8725eccb22d15c57256e739ca98ceddcb507907e6427822530f44972b6 SHA512 e988a7091e27073d49ffd32fbc964f2cda21079e6bd878012d7a86e662c8a088cf0d32de2a26006779382976f5b57ad97a61e6a6adbd6b13cd7d425a25a2b58f WHIRLPOOL 6bc823334c385a3f1984696abaa4e5e42188c2398d452bff7b16d6a792c19532d2a72e55d97bd67ec8b7d105cf9487a8476314be6f3507d9c32529daceccc201
|
||||
EBUILD supervisor-3.1.0.ebuild 1412 SHA256 a9d7ec2a8a83226db880567faf45876ebea6937d122d86b3d409cdd221604ece SHA512 3bf750b074aa0157b5da961d600d7e6d9e65f9aef7d78a4f27501451c1a78c18906e05983c9939f6da4e601cc8eb8b54477ca2c5ca95814732a9d66f8e2b288d WHIRLPOOL e13ffd9d576429c91d76b9d6252a939dfa444141498fd46b88818c862828cc8727ca6b18c68261889f69b6c5c882a00c4cf4d17454722442d973a0750cc0c80b
|
||||
EBUILD supervisor-3.1.1.ebuild 1315 SHA256 16297adf99ed8d8c2375f402150764292d803c915510c58287ff23d8535b2c5f SHA512 394b91d8065ddc03d5bebec44b480855fd651753f05323180122f906c70a64d036d9598d115b0a39bf8d889ed08b7e44f9a229261569bc3d0695aa0381c09bdb WHIRLPOOL 967f39512a3bbd0f033e583e707b4922f300825cb8d09bef16e46ba12a97eb15b7abd499f31465c44ab6b09facee11c0e4f6947a7720cf509eff2d18cd6160bf
|
||||
MISC ChangeLog 2735 SHA256 0970551b97bdee6e789a65d61b35ab8ccf27b0c6a68d9dfa7d03e9e5c00d4257 SHA512 411077ac135668e395476971ba1e3c8003ab5cb11336e36e9bf76b19dea6bca7a6b66d31bcd4c8334518cd7165c4e52ce14b870e62d9921cbb2acdcaa963d7ea WHIRLPOOL 49c4119bfe92034431980b77f09f8b5fb04914b72892319707984ca0b62eadf347497edd2b4223b228bb44a4bc1f942eee4b8a7d3ec078415b0af62087a3b9df
|
||||
MISC metadata.xml 233 SHA256 4648fd89895b550207e07472060dad480e2207e1730cc6e22631a2f261548057 SHA512 b7609ca1ebeaf92718eeacab6b6a35a2464c8e247f007fe3bc2d30af9c6452086f994f1b5b04e0beac0d1f6674082d4445e161d447e2536e2827d59a90fb17ab WHIRLPOOL 96cefd214077304e1841c82d72d6281744099c22917d0fd23b58d92eb9ff98b5bd6aa2924ac11f61ebe237ad7536246d8df054b35e36556ba60adb072cb37634
|
||||
DIST supervisor-3.1.2.tar.gz 390925 SHA256 cb608b4735522ccd370254bb3b2bea683dc0f6ce723dd8c5b60c600b00b03961 SHA512 e0eeedc325bf1bcbb838844a801557b9cd650aa26f491931a9eb8b64de678f5e7864bac858e3e4ba12f6ec986ab7979164a11e2583752ca188b0a7d54a7b4884 WHIRLPOOL c1cf5f305fd88472308fdbc13925ada0f50af6a94d9e83925264a58f90eaace1a6f391201dad64ad66faf71104e378f7a16a1f3ce5af2b8d92219cadb811b496
|
||||
EBUILD supervisor-3.1.1.ebuild 1350 SHA256 2a56665adc223e3c9f1f50d724b1e1366202ec2e9b2604f283e48e8369c59f76 SHA512 fdb84f589811db77c237e2e1b4c7ff51bb13f97c0036a9bfeb7c0d743c1eedbf753a11ac6ff24181da9bb7e39ed6d28530d3205eba0c7a90b3d7e0e2ecdbc520 WHIRLPOOL de748daf1ac7adf0945502b003cf5f2985f21ec0bea3ea50b0ccd61ffcf874dc2a4f7f51bbd276be691df51ef34136e153cc4faa5c6dcfbbb1ac0e0a0694bebf
|
||||
EBUILD supervisor-3.1.2.ebuild 1426 SHA256 126914822ca338cf31f09a43cfa09648ebfd62862b0be77b636f98232f7dbefb SHA512 08d0422fe73dbee41dcaa18c3f58f75f43b24fb737722d01dd58e60e7ed7bc1bf9d0d621f33ac5dfcaaa0bb5878125f08b78d302174b43506bc911f04a2de796 WHIRLPOOL f7d82c85a4b237ef1cee03dde26f3040dae43b5129a55c91680850f411a67aea55629e21cdc093c4df92566f8048ef2913fafd89608b3aeb3e814516a3e859e9
|
||||
MISC ChangeLog 3224 SHA256 f2f31cbaa19dc7d6627df67c312fd05e2cd7c151a0f23fbb1b4b2477f8ff2663 SHA512 9466fbfa9b80d2347ba84a46cc14a05e6ae6914264e58338569866061dd5fedd040728214be4b6c322a640beda29f2adc14a7cd61a7ab760c680980c647e2226 WHIRLPOOL 4ce78da1c1d9d83919f3dc4fe872b42e287bfc12f726623a03a12578d63ef17709d5fe5c9e86c9531623d4a6eff277972798fc50af4d78883779e4351e1d82f7
|
||||
MISC metadata.xml 352 SHA256 44caa553e828060accc24d74b790740381df195406f456278946287bef379b7b SHA512 fd63687db144fb5e525082559975f50311e7230f4ba410ea15c1fa313f2f9a2956c1ba6ca0a1294eda7ed8e8919c318bb7f673392613c4b5fb043d283de95c1c WHIRLPOOL 827a252fecbdf345f4ae01837bc35b652a22e3921831fc816f0da5997b1f4cbe0810d4c2e29fc432f64507c3bf7977f2a75e1656fec86367197527a5cc1bdfb0
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlP60zYACgkQso7CE7gHKw3+dgCgyYqN5/PiYpGhyRyZK9veab9S
|
||||
BNkAoNTIIy6zkBfwRtt6EIZgpI3S003O
|
||||
=aInr
|
||||
iEYEAREIAAYFAlQYT9QACgkQso7CE7gHKw1X2QCeOaDL8HGHMX/kwCYdhmJVxcWS
|
||||
kkEAoIIdfNdK9QDzlnm2cNBXERum4ad1
|
||||
=HG3S
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,18 +0,0 @@
|
||||
--- setup.py.old 2010-06-07 11:48:30.000000000 +0200
|
||||
+++ setup.py 2010-06-07 11:48:40.000000000 +0200
|
||||
@@ -73,15 +73,6 @@
|
||||
maintainer_email = "chrism@plope.com",
|
||||
package_dir = {'':'src'},
|
||||
packages = find_packages(os.path.join(here, 'src')),
|
||||
- # put data files in egg 'doc' dir
|
||||
- data_files=[ ('doc', [
|
||||
- 'README.txt',
|
||||
- 'CHANGES.txt',
|
||||
- 'TODO.txt',
|
||||
- 'LICENSES.txt',
|
||||
- 'COPYRIGHT.txt'
|
||||
- ]
|
||||
- )],
|
||||
install_requires = requires,
|
||||
extras_require = {'iterparse':['cElementTree >= 1.0.2']},
|
||||
tests_require = requires + ['mock >= 0.5.0'],
|
@ -1,54 +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/supervisor/supervisor-3.0.ebuild,v 1.2 2013/09/05 18:15:49 mgorny Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
# xml.etree.ElementTree module required.
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
MY_PV="${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="A system for controlling process state under UNIX"
|
||||
HOMEPAGE="http://supervisord.org/ http://pypi.python.org/pypi/supervisor"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="repoze ZPL BSD HPND GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/meld3-0.6.10-r1[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/mock[${PYTHON_USEDEP}] )"
|
||||
|
||||
# package uses namespaces which makes tests use installed packages
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
DOCS=( CHANGES.txt TODO.txt )
|
||||
|
||||
python_prepare_all() {
|
||||
# write missing MANIFEST.in file, otherwise required files get lost due to
|
||||
# egg_info being passed to setup.py
|
||||
cat > MANIFEST.in << EOF
|
||||
include supervisor/*.txt
|
||||
recursive-include supervisor/skel *.conf
|
||||
recursive-include supervisor/ui *.html *.css *.gif *.png
|
||||
recursive-include supervisor/tests *.conf *.txt
|
||||
EOF
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newinitd "${FILESDIR}/init.d-r1" supervisord
|
||||
newconfd "${FILESDIR}/conf.d" supervisord
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/supervisor/supervisor-3.0_alpha10.ebuild,v 1.3 2012/12/07 19:10:36 ulm Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
PYTHON_USE_WITH="xml(+)"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
# xml.etree.ElementTree module required.
|
||||
RESTRICT_PYTHON_ABIS="2.4 3.*"
|
||||
DISTUTILS_SRC_TEST="setup.py"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
MY_PV="${PV/_alpha/a}"
|
||||
|
||||
DESCRIPTION="A system for controlling process state under UNIX"
|
||||
HOMEPAGE="http://supervisord.org/ http://pypi.python.org/pypi/supervisor"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="repoze ZPL BSD HPND GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/meld3
|
||||
dev-python/setuptools"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/mock )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
DOCS="CHANGES.txt README.txt TODO.txt"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
epatch "${FILESDIR}/3.0_alpha8-no-docs.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
newinitd "${FILESDIR}/init.d" supervisord || die "newinitd failed"
|
||||
newconfd "${FILESDIR}/conf.d" supervisord || die "newconfd failed"
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/supervisor/supervisor-3.0_alpha12.ebuild,v 1.3 2012/12/07 19:10:36 ulm Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
PYTHON_USE_WITH="xml(+)"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
# xml.etree.ElementTree module required.
|
||||
RESTRICT_PYTHON_ABIS="2.4 3.*"
|
||||
DISTUTILS_SRC_TEST="setup.py"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
MY_PV="${PV/_alpha/a}"
|
||||
|
||||
DESCRIPTION="A system for controlling process state under UNIX"
|
||||
HOMEPAGE="http://supervisord.org/ http://pypi.python.org/pypi/supervisor"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="repoze ZPL BSD HPND GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/meld3
|
||||
dev-python/setuptools"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/mock )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
DOCS="CHANGES.txt TODO.txt"
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
newinitd "${FILESDIR}/init.d" supervisord || die "newinitd failed"
|
||||
newconfd "${FILESDIR}/conf.d" supervisord || die "newconfd failed"
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/supervisor/supervisor-3.0_beta1.ebuild,v 1.2 2012/12/07 19:10:36 ulm Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
PYTHON_USE_WITH="xml(+)"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
# xml.etree.ElementTree module required.
|
||||
RESTRICT_PYTHON_ABIS="2.4 3.*"
|
||||
DISTUTILS_SRC_TEST="setup.py"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
MY_PV="${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="A system for controlling process state under UNIX"
|
||||
HOMEPAGE="http://supervisord.org/ http://pypi.python.org/pypi/supervisor"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="repoze ZPL BSD HPND GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/meld3
|
||||
dev-python/setuptools"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/mock )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
DOCS="CHANGES.txt TODO.txt"
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
newinitd "${FILESDIR}/init.d" supervisord || die "newinitd failed"
|
||||
newconfd "${FILESDIR}/conf.d" supervisord || die "newconfd failed"
|
||||
}
|
@ -1,54 +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/supervisor/supervisor-3.0_beta2-r1.ebuild,v 1.2 2013/09/05 18:15:49 mgorny Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
# xml.etree.ElementTree module required.
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
MY_PV="${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="A system for controlling process state under UNIX"
|
||||
HOMEPAGE="http://supervisord.org/ http://pypi.python.org/pypi/supervisor"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="repoze ZPL BSD HPND GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/meld3-0.6.10-r1[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/mock[${PYTHON_USEDEP}] )"
|
||||
|
||||
# package uses namespaces which makes tests use installed packages
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
DOCS=( CHANGES.txt TODO.txt )
|
||||
|
||||
python_prepare_all() {
|
||||
# write missing MANIFEST.in file, otherwise required files get lost due to
|
||||
# egg_info being passed to setup.py
|
||||
cat > MANIFEST.in << EOF
|
||||
include supervisor/*.txt
|
||||
recursive-include supervisor/skel *.conf
|
||||
recursive-include supervisor/ui *.html *.css *.gif *.png
|
||||
recursive-include supervisor/tests *.conf *.txt
|
||||
EOF
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newinitd "${FILESDIR}/init.d-r1" supervisord
|
||||
newconfd "${FILESDIR}/conf.d" supervisord
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/xz-utils/xz-utils-5.0.6.ebuild,v 1.1 2014/09/15 15:31:22 polynomial-c Exp $
|
||||
|
||||
# Remember: we cannot leverage autotools in this ebuild in order
|
||||
# to avoid circular deps with autotools
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils multilib toolchain-funcs libtool multilib-minimal
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="http://git.tukaani.org/xz.git"
|
||||
inherit git-2 autotools
|
||||
SRC_URI=""
|
||||
EXTRA_DEPEND="sys-devel/gettext dev-vcs/cvs >=sys-devel/libtool-2" #272880 286068
|
||||
else
|
||||
MY_P="${PN/-utils}-${PV/_}"
|
||||
SRC_URI="http://tukaani.org/xz/${MY_P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
EXTRA_DEPEND=
|
||||
fi
|
||||
|
||||
DESCRIPTION="utils for managing LZMA compressed files"
|
||||
HOMEPAGE="http://tukaani.org/xz/"
|
||||
|
||||
# See top-level COPYING file as it outlines the various pieces and their licenses.
|
||||
LICENSE="public-domain LGPL-2.1+ GPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="nls static-libs +threads"
|
||||
|
||||
RDEPEND="!<app-arch/lzma-4.63
|
||||
!app-arch/lzma-utils
|
||||
!<app-arch/p7zip-4.57"
|
||||
DEPEND="${RDEPEND}
|
||||
${EXTRA_DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
eautopoint
|
||||
eautoreconf
|
||||
else
|
||||
elibtoolize # to allow building shared libs on Solaris/x64
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable threads) \
|
||||
$(use_enable static-libs static) \
|
||||
$(multilib_is_native_abi || echo --disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts})
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
multilib_is_native_abi && gen_usr_ldscript -a lzma
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
prune_libtool_files --all
|
||||
rm "${ED}"/usr/share/doc/xz/COPYING* || die
|
||||
mv "${ED}"/usr/share/doc/{xz,${PF}} || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0)
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/xz-utils/xz-utils-5.1.4_beta.ebuild,v 1.1 2014/09/15 15:31:22 polynomial-c Exp $
|
||||
|
||||
# Remember: we cannot leverage autotools in this ebuild in order
|
||||
# to avoid circular deps with autotools
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils multilib toolchain-funcs libtool multilib-minimal
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="http://git.tukaani.org/xz.git"
|
||||
inherit git-2 autotools
|
||||
SRC_URI=""
|
||||
EXTRA_DEPEND="sys-devel/gettext dev-vcs/cvs >=sys-devel/libtool-2" #272880 286068
|
||||
else
|
||||
MY_P="${PN/-utils}-${PV/_}"
|
||||
SRC_URI="http://tukaani.org/xz/${MY_P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
EXTRA_DEPEND=
|
||||
fi
|
||||
|
||||
DESCRIPTION="utils for managing LZMA compressed files"
|
||||
HOMEPAGE="http://tukaani.org/xz/"
|
||||
|
||||
# See top-level COPYING file as it outlines the various pieces and their licenses.
|
||||
LICENSE="public-domain LGPL-2.1+ GPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="nls static-libs +threads"
|
||||
|
||||
RDEPEND="!<app-arch/lzma-4.63
|
||||
!app-arch/lzma-utils
|
||||
!<app-arch/p7zip-4.57"
|
||||
DEPEND="${RDEPEND}
|
||||
${EXTRA_DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
eautopoint
|
||||
eautoreconf
|
||||
else
|
||||
elibtoolize # to allow building shared libs on Solaris/x64
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable threads) \
|
||||
$(use_enable static-libs static) \
|
||||
$(multilib_is_native_abi || echo --disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts})
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
multilib_is_native_abi && gen_usr_ldscript -a lzma
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
prune_libtool_files --all
|
||||
rm "${ED}"/usr/share/doc/xz/COPYING* || die
|
||||
mv "${ED}"/usr/share/doc/{xz,${PF}} || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0)
|
||||
}
|
@ -1,9 +1,33 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
DIST duply_1.7.3.tgz 34684 SHA256 e0ae298b06125bb6665a3f4822828d36e9f56c93755b45e2240fd1643e7f05d3 SHA512 e71d4bd03828a47cb7b5af164d9f49c911a837c1a016efe8832a56f9ec9913a5237bee0c89cd4a1aece6db454873e8c39e70224ab4c725e7a5ce5eae73e556ff WHIRLPOOL 6881a80c62537ed77e877fbe9c6700aa16e4efe14d4d851c12c31411f2c332ef7d79f85a6815aafbc57e27e6a397d9fa54360e7783bd12435e961b1f4f211bde
|
||||
DIST duply_1.7.4.tgz 34887 SHA256 2bbcd6e55fcaa7ae2c416a6ce2d3ae0bc219dd05049d8708ff0e79a3349599e7 SHA512 82b722af95d48e231c6540254fe659fc2ed2cdee5ebde3b1f7b192feac0b88ae44c834dde34417324ae0113bf5f8d621602f9587d1356347d606892da7b46405 WHIRLPOOL 6fbe7e1524feb482b796b2db5d39d7276f291f7107ea26db735716f3cbfedd9613b450dd2f06907a54b156d82140584ece2e58a850bca82fe2a7831cac90cc8b
|
||||
DIST duply_1.8.0.tgz 35252 SHA256 6642d812a741186d2e995289a682ba5f45149127f957da4c8ebd54fb5ac1f5e5 SHA512 8bb10fc98c44ce325f738fea8b46fd7c03132b681d1e98f8efc2e0b985b895a255a884ce5c99fcb9d1591fb37b5a7f2994ec309ef5ca9b9d2116816641d05d9b WHIRLPOOL 5281b624261aa586a8fc156ea498c3ab3579ccf47588af47d0c0678610b960cb29390359e5870e9817a7ac459e47eebc1fa555d1f1aae29d0cb4ad96914310e0
|
||||
DIST duply_1.9.0.tgz 35692 SHA256 28dd73f7987507a11abdec4f89698f059d7165e8519b9c26f542fec43060b492 SHA512 fa78661992822fc4639bba1e3f86f1542366d07d7aa08b8bff1b5b18b3e3cba3f97b9344792db4cc3ca06881fdb215f934cecfea774d8394dc2451f23aa8e19a WHIRLPOOL 28c5cccdff1488e2e02a08a1b6380e93d7d1b9091b4fe62a58aba4dbd04af132e93a26c67520700c37040baeb729d2d612b8cc8fb70e13bd8422b3794123fbc0
|
||||
EBUILD duply-1.7.3-r1.ebuild 807 SHA256 16633158661b5ac1666ed518a95b0c257573b06d9fd7e667a4e4ed6825499761 SHA512 40c5aedef94c739f8fb2e9de9e20698eb60f1933e199e90f47d00be530da5585a2dffc2413bb4cb6b61f99208b0e63ea6986017ad47cdea81aeae142505644a9 WHIRLPOOL 32e7685e52b7fa60540eb23c5f3d374c7ee486f7b436ee5956093b6f615c1e99afa08fc20a6edb227d4e702fa5d3505d037e91ddb6982a49693c4681e8a59ba8
|
||||
EBUILD duply-1.7.3.ebuild 751 SHA256 cbd32375f8e35b9ffd91f9d30e31f5b0a0d17b161e45bc7cb022a390b6cc3829 SHA512 8c2e3b9c17f1f2e0f43c42046d9fd6d1145a2ea276db327acb2e71a98eae80af54663cf8dba501285bda3f5dc82c8024b21f7c4bf3535ba1dc93b7d7700cd4df WHIRLPOOL 49d08ff62c9feae15cd0398260688dbe0dc099a8da1a1bbcaa52fbe4e00178b2bda27648fa1368528509721275edf0c9e5b5c229a03cff8099371c8874ddf32f
|
||||
EBUILD duply-1.7.4.ebuild 805 SHA256 4789de79ca14957ea607fb14d08096ce5ed767ffb70f46d78804f1fc6bf40094 SHA512 c141ffa062daa6b753b55788ff491f83cb9dc7a8265432d1f0041cfc642300b8e6983b4a7ead73ad090d6086ce1d7ca3551add4d952e39aa6ff47da87e3b9c1f WHIRLPOOL 890da050eaea04405e4d2f4606163ebc8f4073aad8e2dfff3d87f18c2a541c270da0cd603cdd437263e6c3d906906fb8ae3626eb4e4db3dcf04fc1d1b0fcd7b9
|
||||
EBUILD duply-1.8.0.ebuild 805 SHA256 bab914ac6ff3cc43e05e829c5046e6e4be56195d1fbb0e16cb9eef439bd85600 SHA512 13eb5aeb81973c38bd7cf34546dbbdc08bd8252e1ee0540c09780f3ee2ce58da446532765bfa6ae560e0be3a59eb3fed02a3060e3a8640436968d15a2b4d10ee WHIRLPOOL b25af675312c0cfd17e88a0741ea9924f3b0d27854f8d2aae1c96e9425a845f69ce8694e45ae68a955aae76f7dce0fef200ba6bc08c13096b4e4d17913b12873
|
||||
MISC ChangeLog 824 SHA256 e8f7dc49402ceb11279efebaaf59bff1044fb9b1d2b6fcaea6602cdffa57e614 SHA512 195bb324fd78c4f25bcf412d64f9c5800ff534aa662fbd11bbd6a8208b218a36131754e4cfe0390b6a8077ff66b91bb8eaf99196825b59a18f1960931e05f264 WHIRLPOOL f22487b3742c61b096718652f147270e133d39f3352c09e0f7885ad0847ef5cd1ba8554261f108a05dfaa1a97f75d4dddab7be7b932c4d78743131acebe91ec7
|
||||
EBUILD duply-1.9.0.ebuild 803 SHA256 7a2ce4738b1ceb18089f225bac4b1322dfa3a0f61ae5650bbc58b4eb1f765192 SHA512 71eee638df2e59925c98eb2487f9cb381cfa16172cc219b15ffd92dff0713ef9d10c2d395fd8315e9c22bd819c39451305479311ecce891ec44b8c717f518fb7 WHIRLPOOL 8aea2f2abfdafeda267d3242e71523f86894e1f14d387990682fe8153f5a7bff856517fe054b5fb4def61af1758604da849e5cfaf9f28119001ccdd434a647d7
|
||||
MISC ChangeLog 945 SHA256 b6c505fd03a47ff34e5c81a0c4793cae333736d90c3a7edd1f4cf62e63ede558 SHA512 483b24aef193698a108eafff01dd8b7c067d3ef0a2f06a7e539f654c560a625cfa7e055e0eb5f31b0859036adb4344865da9f35a7c6f7b7b0b3c26953a46d209 WHIRLPOOL f7c1158c6c9b39bfab6e8a94e02f51684490378366677aa7ebef55ffb0f562477a71d290d948d16296886699debd84c719c8a690732baa5f6e508d27a46c0f4b
|
||||
MISC metadata.xml 459 SHA256 8cd5ffacecfa849f2b8ff1deecf7b657a4f54fba048f33e46266406371377045 SHA512 947aba5b24b2bf83d7912a3a123118e320e30c59551bafb8105e530d811bf8a7533899896a1f61599a83bc325000a4afa783404e48af910774b05e93de01e725 WHIRLPOOL f7291ef19bb013c92ebf579a713a7d5ef12417c949e15fb3885c7e88bae0395b2555a01252b132eab5b3e181887d238f5dc8c271ca4e0b016efa4110181fbadb
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0
|
||||
|
||||
iQJ8BAEBCgBmBQJUFzJgXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC
|
||||
OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVir9S8P/jco33G+A98s3/lIBD73Bmp7
|
||||
Tg9r9zoRhN/2+50tH12xM3KMMSAmcwJ18WqLEeRuXZ+FzJln4Mp4BoiBaxg5YUqB
|
||||
EwzJDcR7zx39A6z7hA/JHMOq9/RUfiKb8eaTEvlh6u97FHCzjsc7s26qZR3CEE7h
|
||||
zwWUyrYuG0F+WcAKjeh1ytRZaAqHM76ZVoINglrFnhGNZHCSeTQRVhETpFON3wUz
|
||||
sf/YoVmzn6B5BajUCzby53djoJHm4zDQs0p+n+u9vyDY/wLaHS9jl9JN3MF9x3Rd
|
||||
UFgXb1mRo1GI2lgiMsYKuPmv7WQhW2SaPOvHA8/BrPZs9V0eM6xgY/cCs70iFxgD
|
||||
o0heARQMuoFIuN7ljp5pnKGNVLR7kliIwzspIaJOlZ5eRBLangyxWmJzWwNOfW/O
|
||||
BVxW9/wQ/t97533GXBIzppVvFKOpph8yZ+6svDD/uzuoo1ivSqNI61y0NGgF/az4
|
||||
J2mFvDw0wYyQbFFifWw5KJ5SbG2pELG+xaZBYy9o+zEcOW4PxAxnC3wEGhBj04bF
|
||||
EtARiohNaIvGd7dfmu2GVgk5lGnjpdMffazfxMN/z45m2kYqEKvZ5YbyjPp4lRcm
|
||||
kA4h3gcL7BHCoqGBm73qp8FDKuOP5X/EVU6zR1hRObpxk7x6ApUFszgTED9AhBnD
|
||||
HTyZTqlEElReszIpkMG6
|
||||
=5orz
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/duply/duply-1.9.0.ebuild,v 1.1 2014/09/15 18:39:41 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit readme.gentoo
|
||||
|
||||
DESCRIPTION="A shell frontend for duplicity"
|
||||
HOMEPAGE="http://duply.net"
|
||||
SRC_URI="mirror://sourceforge/ftplicity/${PN}_${PV}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-text/txt2man"
|
||||
RDEPEND="app-backup/duplicity"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
DOC_CONTENTS="
|
||||
If you use ${PN} at the first time please have a
|
||||
look at the the usage help text \"${PN} usage\"
|
||||
for further information."
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
./${PN} txt2man > ${PN}.1
|
||||
doman ${PN}.1
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -0,0 +1,318 @@
|
||||
Description: Fix potential race condition when building in parallel mode
|
||||
Origin: upstream, http://cvs.sourceforge.jp/cvs/view/freewnn/FreeWnn/Wnn/pubdicplus/Makefile.in?r1=1.7&r2=1.8&view=patch
|
||||
Bug-Debian: http://bugs.debian.org/724058
|
||||
|
||||
--- a/Wnn/pubdicplus/Makefile.in 2010/02/22 17:06:54 1.7
|
||||
+++ b/Wnn/pubdicplus/Makefile.in 2013/11/08 18:54:44 1.8
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
-# $Id: freewnn-1.1.1_alpha22-parallel-build.patch,v 1.1 2014/09/15 23:05:14 naota Exp $
|
||||
+# $Id: freewnn-1.1.1_alpha22-parallel-build.patch,v 1.1 2014/09/15 23:05:14 naota Exp $
|
||||
#
|
||||
|
||||
#
|
||||
@@ -10,7 +10,7 @@
|
||||
# 1987, 1988, 1989, 1990, 1991, 1992
|
||||
# Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
|
||||
# Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
|
||||
-# Copyright FreeWnn Project 1999, 2000, 2001, 2002, 2004, 2010
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2002, 2004, 2010, 2013
|
||||
#
|
||||
# Maintainer: FreeWnn Project
|
||||
#
|
||||
@@ -42,13 +42,12 @@
|
||||
ATOF = $(WNNJUTILOBJ)/atof
|
||||
WNNTOUCH = $(WNNJUTILOBJ)/wnntouch
|
||||
HINSI = @HINSI_DATA@
|
||||
- FZK_FLAG =
|
||||
|
||||
LINKS = Version bio.hd chimei.hd computer.hd fzk.attr fzk.con fzk.fzkattr fzk.jirattr fzk.jircon fzk.master fzk.shuutan jinmei.hd kihon.hd koyuu.hd setsuji.hd special.hd special.u symbol.hd tankan.hd
|
||||
|
||||
WNNDICS = bio.u chimei.u computer.u jinmei.u kihon.u koyuu.u setsuji.u symbol.u tankan.u
|
||||
|
||||
-FZK_SRC= fzk.master fzk.attr fzk.jirattr fzk.fzkattr fzk.jircon fzk.con fzk.shuutan
|
||||
+FZK_SRC= fzk.master-.c fzk.attr fzk.jirattr fzk.fzkattr fzk.jircon fzk.con fzk.shuutan
|
||||
|
||||
DIC= bio.dic chimei.dic computer.dic jinmei.dic kihon.dic koyuu.dic setsuji.dic special.dic symbol.dic tankan.dic
|
||||
|
||||
@@ -68,24 +67,14 @@
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-includes:: Version
|
||||
-
|
||||
depend:: Version
|
||||
|
||||
-clean::
|
||||
- $(RM) Version
|
||||
-
|
||||
bio.hd: $(PUBDICPLUSSRC)/bio.hd
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-includes:: bio.hd
|
||||
-
|
||||
depend:: bio.hd
|
||||
|
||||
-clean::
|
||||
- $(RM) bio.hd
|
||||
-
|
||||
# bio.u: $(PUBDICPLUSSRC)/bio.u
|
||||
# $(RM) $@
|
||||
# $(LN) $? $@
|
||||
@@ -101,13 +90,8 @@
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-includes:: chimei.hd
|
||||
-
|
||||
depend:: chimei.hd
|
||||
|
||||
-clean::
|
||||
- $(RM) chimei.hd
|
||||
-
|
||||
# chimei.u: $(PUBDICPLUSSRC)/chimei.u
|
||||
# $(RM) $@
|
||||
# $(LN) $? $@
|
||||
@@ -123,13 +107,8 @@
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-includes:: computer.hd
|
||||
-
|
||||
depend:: computer.hd
|
||||
|
||||
-clean::
|
||||
- $(RM) computer.hd
|
||||
-
|
||||
# computer.u: $(PUBDICPLUSSRC)/computer.u
|
||||
# $(RM) $@
|
||||
# $(LN) $? $@
|
||||
@@ -145,90 +124,50 @@
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-includes:: fzk.attr
|
||||
-
|
||||
depend:: fzk.attr
|
||||
|
||||
-clean::
|
||||
- $(RM) fzk.attr
|
||||
-
|
||||
fzk.con: $(PUBDICPLUSSRC)/fzk.con
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-includes:: fzk.con
|
||||
-
|
||||
depend:: fzk.con
|
||||
|
||||
-clean::
|
||||
- $(RM) fzk.con
|
||||
-
|
||||
fzk.fzkattr: $(PUBDICPLUSSRC)/fzk.fzkattr
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-includes:: fzk.fzkattr
|
||||
-
|
||||
depend:: fzk.fzkattr
|
||||
|
||||
-clean::
|
||||
- $(RM) fzk.fzkattr
|
||||
-
|
||||
fzk.jirattr: $(PUBDICPLUSSRC)/fzk.jirattr
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-includes:: fzk.jirattr
|
||||
-
|
||||
depend:: fzk.jirattr
|
||||
|
||||
-clean::
|
||||
- $(RM) fzk.jirattr
|
||||
-
|
||||
fzk.jircon: $(PUBDICPLUSSRC)/fzk.jircon
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-includes:: fzk.jircon
|
||||
-
|
||||
depend:: fzk.jircon
|
||||
|
||||
-clean::
|
||||
- $(RM) fzk.jircon
|
||||
-
|
||||
fzk.master: $(PUBDICPLUSSRC)/fzk.master
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-includes:: fzk.master
|
||||
-
|
||||
depend:: fzk.master
|
||||
|
||||
-clean::
|
||||
- $(RM) fzk.master
|
||||
-
|
||||
fzk.shuutan: $(PUBDICPLUSSRC)/fzk.shuutan
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-includes:: fzk.shuutan
|
||||
-
|
||||
depend:: fzk.shuutan
|
||||
|
||||
-clean::
|
||||
- $(RM) fzk.shuutan
|
||||
-
|
||||
jinmei.hd: $(PUBDICPLUSSRC)/jinmei.hd
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-includes:: jinmei.hd
|
||||
-
|
||||
depend:: jinmei.hd
|
||||
|
||||
-clean::
|
||||
- $(RM) jinmei.hd
|
||||
-
|
||||
# jinmei.u: $(PUBDICPLUSSRC)/jinmei.u
|
||||
# $(RM) $@
|
||||
# $(LN) $? $@
|
||||
@@ -244,13 +183,8 @@
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-includes:: kihon.hd
|
||||
-
|
||||
depend:: kihon.hd
|
||||
|
||||
-clean::
|
||||
- $(RM) kihon.hd
|
||||
-
|
||||
# kihon.u: $(PUBDICPLUSSRC)/kihon.u
|
||||
# $(RM) $@
|
||||
# $(LN) $? $@
|
||||
@@ -266,13 +200,8 @@
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-includes:: koyuu.hd
|
||||
-
|
||||
depend:: koyuu.hd
|
||||
|
||||
-clean::
|
||||
- $(RM) koyuu.hd
|
||||
-
|
||||
# koyuu.u: $(PUBDICPLUSSRC)/koyuu.u
|
||||
# $(RM) $@
|
||||
# $(LN) $? $@
|
||||
@@ -288,13 +217,8 @@
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-includes:: setsuji.hd
|
||||
-
|
||||
depend:: setsuji.hd
|
||||
|
||||
-clean::
|
||||
- $(RM) setsuji.hd
|
||||
-
|
||||
# setsuji.u: $(PUBDICPLUSSRC)/setsuji.u
|
||||
# $(RM) $@
|
||||
# $(LN) $? $@
|
||||
@@ -310,35 +234,20 @@
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-includes:: special.hd
|
||||
-
|
||||
depend:: special.hd
|
||||
|
||||
-clean::
|
||||
- $(RM) special.hd
|
||||
-
|
||||
special.u: $(PUBDICPLUSSRC)/special.u
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-includes:: special.u
|
||||
-
|
||||
depend:: special.u
|
||||
|
||||
-clean::
|
||||
- $(RM) special.u
|
||||
-
|
||||
symbol.hd: $(PUBDICPLUSSRC)/symbol.hd
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-includes:: symbol.hd
|
||||
-
|
||||
depend:: symbol.hd
|
||||
|
||||
-clean::
|
||||
- $(RM) symbol.hd
|
||||
-
|
||||
# symbol.u: $(PUBDICPLUSSRC)/symbol.u
|
||||
# $(RM) $@
|
||||
# $(LN) $? $@
|
||||
@@ -354,13 +263,8 @@
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-includes:: tankan.hd
|
||||
-
|
||||
depend:: tankan.hd
|
||||
|
||||
-clean::
|
||||
- $(RM) tankan.hd
|
||||
-
|
||||
# tankan.u: $(PUBDICPLUSSRC)/tankan.u
|
||||
# $(RM) $@
|
||||
# $(LN) $? $@
|
||||
@@ -421,16 +325,14 @@
|
||||
$(RM) $@
|
||||
$(LN) $? $@
|
||||
|
||||
-std.fzk: fzk.master-.c $(FZK_SRC)
|
||||
- $(FZK_PP) $(FZK_FLAG) fzk.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
|
||||
+std.fsrc: $(FZK_SRC)
|
||||
+ $(FZK_PP) fzk.master-.c > $@
|
||||
+
|
||||
+full.fsrc: $(FZK_SRC)
|
||||
+ $(FZK_PP) -DKANSAI fzk.master-.c > $@
|
||||
|
||||
-full.fzk: $(FZK_SRC)
|
||||
- $(MAKE) FZK_FLAG=-DKANSAI std.fzk
|
||||
- $(MV) std.fzk $@
|
||||
-
|
||||
-kougo.fzk: $(FZK_SRC)
|
||||
- $(MAKE) FZK_FLAG=-DKOUGO std.fzk
|
||||
- $(MV) std.fzk $@
|
||||
+kougo.fsrc: $(FZK_SRC)
|
||||
+ $(FZK_PP) -DKOUGO fzk.master-.c > $@
|
||||
|
||||
# additional rule from PubdicPlus/Makefile.in : by aono
|
||||
pod.o: $(PUBDICPLUSSRC)/pod.c
|
||||
@@ -442,7 +344,7 @@
|
||||
$(WNNDICS): pod $(PUBDICPLUSSRC)/pubdic.p
|
||||
./pod $(PUBDICPLUSSRC)/pubdic.p -w -1 -k `basename $@ .u` > $@
|
||||
|
||||
-.SUFFIXES: .hd .u .dic .more
|
||||
+.SUFFIXES: .hd .u .dic .more .fsrc .fzk
|
||||
|
||||
.u.dic:
|
||||
cat $*.hd $< | $(ATOD) -p $(VERSION) -P $(VERSION) -h $(HINSI) $@
|
||||
@@ -450,7 +352,10 @@
|
||||
.hd.more:
|
||||
$(ATOD) -h $(HINSI) $@ < $<
|
||||
|
||||
+.fsrc.fzk:
|
||||
+ egrep -v '^(# |#line |#pragma |$$)' $< | $(ATOF) -h $(HINSI) $@
|
||||
+
|
||||
$(DIC): $(HINSI)
|
||||
|
||||
clean::
|
||||
- $(RM) -f *.fzk *.dic *.more fzk.master-.c pod $(LINKS)
|
||||
+ $(RM) -f *.fsrc *.dic *.more fzk.master-.c pod $(LINKS) $(FZKDATA)
|
@ -1,28 +1,26 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA512
|
||||
|
||||
DIST unfoo-1.0.6.sh 3083 SHA256 d74bf03d39378d6b5071af83f955fc48c2208d93410f45f1882c77061d952bfa SHA512 184b72909bed3f3c7a1f9768f4146b8cbc88f1cdfeb17576a88c114e73ae13e5e712cff51c1a40076b37541d16d9df9573667ec9a0b25abb84fb8f588cabe9e0 WHIRLPOOL eb4ef194245930caa766f177ff23867614fe23c43afdf556f9f41790a02db74121fb272ab842469aed10ac7fec9c632bbb7f5e2b0d318e0316d7f5037b0767b5
|
||||
DIST unfoo-1.0.7.tar.gz 31808 SHA256 0c0c1692c66a78ef673a5b1b5248184923782e375184a1d532330501e512f6ff SHA512 113126ead9a704c3efcd7f93ab2aa61536e6b5981e3a9f72d17d2e75f1f88d33b05976f6cf54b3ec4257b3f5e5f49b645643c2223e1f10cd499dcd272c4cb1f0 WHIRLPOOL 492536b29c2e0986e2fb1071cde7485807ba63456f3b3d9bb8426abf700347323a0d6d9ad013164895a7f88b90c858853f03e7229e394be4179a3fb3b3048242
|
||||
DIST unfoo-1.0.8.tar.gz 31862 SHA256 badc62603f1f7293032b36a1a3f1051b715b31895700d116d74cba4cb68af1e5 SHA512 b4a2489ca4ae5a81feacc57aa7c9c6437e3fbb0cec997d1b5e182e9ea7e19c13998968f23094e78908e6d41e699d50a1353ae475ec32146c63298eff06182281 WHIRLPOOL a6ab9fe60f73d07753760cba5d6d9d9ed7694fc1fba233c0510b823e1ad6f8e539207815543c690072545178841336d853ae6378fa88dc63e7668d1c3d266205
|
||||
EBUILD unfoo-1.0.6.ebuild 812 SHA256 210318b7b6aa6eb594924bff2abbaa7504522e6731d1a2529591a87293fd4dbb SHA512 08bab19de17a5c4863881bf92d330179b6e3e18685041455ffe15f95efdfcf976a04cb38a9cdce8bc2118bfc598b614233971459cd84d73571b95f216e78df28 WHIRLPOOL 09d889a857779c0fb4c627760ff3da2829af1253bf9f3b4d37c6cfeacd7b92031884a9b2d89cfe7666f9554b12a7f2a4f924809b415973a5e8a80d0363563792
|
||||
EBUILD unfoo-1.0.7.ebuild 1396 SHA256 9ed0b5a627b027aba3b1f64663233ded4f068156f4af791de2e29ed319944e9f SHA512 16a9f8f6daa75a2335de98f8e3eea88bbd3d7ac7ca9a75d973094a6553a31cf073a40395f2676dcd034d4a40ef9e7a346ebdcb2d606d7af2c1f8b605e2127cd7 WHIRLPOOL e2b52661e4f619f32e6eaf02d7cf208bf03748c2d0a7cabafcac23c4415e0f8fb9d060d92aeb8ad56940f015262cdfc1da4186f485e3d9e35a3d145cd7cca89c
|
||||
EBUILD unfoo-1.0.8.ebuild 1383 SHA256 a36fd79c2c5ca0840a43d12b229047e63ab0c88f6e2641bd1bd1dd77f58da378 SHA512 730d10b5b1e7892faa0a018fccbaab092f4f107ab750e45a98ccbe1c0194d42ff43278c963c8e648ba561350a5dcc25e2dce11a36acbbb7da6524ec86064c990 WHIRLPOOL c290ea9a3713f311859a6cf822b96039e9084f0f06ce175fc0dd97af2b9f5cb72d065b355af8c2b5fb641da614ef3fc67c00a1b9789d4c20853af67b3a9457bd
|
||||
MISC ChangeLog 4093 SHA256 9c23fccd31ba493eaa289006c675a1129d92d5b400d9e77a6d7d91f2731f7fa6 SHA512 dd5f6664d687e67ed79b2b30fee5086c81390529a657b45954423bf9b77c64dc8fe5e23958844bbd102d74fb7588cdef10214a5851de79ee3b8cd486fb44b6c5 WHIRLPOOL 98873dcc2804acd19f324ccf4283bde9e728b34ac1106934b2b5b53b1c7f74a7db572882717ee2974eae78c24f6348a23d22a8c1e99e4765bfde14da76d56799
|
||||
MISC ChangeLog 4197 SHA256 b6fa3f4c5bd2798a11b3c94994eb87bbd8846f81763c5eb476288befb621fb44 SHA512 229cc235c15de195969c8341cb411a673bea4d808876cb88d04074975734b0a68f7a1eeae902355da37bd47a828118129bba342b189e4766ed97b1cccffaf4f3 WHIRLPOOL 28c47ba7b1ec79b3e9d389c19fda6b899d68eaad44d1a57961c4d7587429c274601830be8364ff0a4e44ec19b35c4f5b3c7ad857f88d4aa93c835d192fd3f61b
|
||||
MISC metadata.xml 259 SHA256 c519bd9d0612279cbdc08a3c8e6e65e02cf74eb53fb554e207c953c15218e121 SHA512 de298bfa954e1dbde8c28005626dec82b44851a0ee2b569f41ace4c4841e7c87918eff032cb4e8ed89952c2a34f3f59f597d19f14f0e104796b9b7865f3e2e4a WHIRLPOOL 5fa17fdbe4b4e3657380bbd69ca8748de985b925932ff0b06777bd284fc64e3ccdcbf5cccc5e02a3ef26182d9243da94086fc3269cb667871c9210c2d8ed940a
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
Version: GnuPG v2.0
|
||||
|
||||
iQIcBAEBCAAGBQJUFUPUAAoJELp701BxlEWfGGoQAI4IAK4CQpFCjXp7E0fKedgL
|
||||
YDrG5d0tlxme4vw0hv5nqyvFypU+iyWKUgFe5lxFSFR9l7ASSjbtURENEzRyZGo9
|
||||
sTW/QHdtLS7Wkyw8liIWe2/oV83b+fbxo+fp2NT1FT5ySPrm8kUXkm7cLwjZqO/X
|
||||
RN6j1wCemtSFszjcQHoAcIWwu16Jd+DLff9mZyyMiFrGHTCCvUGdBlRWE6k54QO6
|
||||
wa6RfX5KGgb2NZ1v3N3EJkwNBPLKOL9+W71wTOUCE1GSj0lfo2v+d3T9rmGMAcXO
|
||||
H0fkpoO7YLXjS3CgB/8y4ymqnS4rF4LTNymZim5MZv8B45pYCP70jGOGWE/+curL
|
||||
bB5Ln7G2n9R13uFy4css8HY1otGBP9jfTIuvcf4DD7oJ8+CbOsPRPbfyijvLizDe
|
||||
0Cl5NLb0b788pPJ/LK6X/IPqekwQ6wAmPhtqb9yVMm6InlVLzdbhn/WX/2gCsK0q
|
||||
LKK35C0rWlwWrh1IpX0DQez9zNB9deKxLoJsq/luJTN2y9Y8lKGG2lvvoBdJn7Go
|
||||
qQfwyDXF00mJp4TFauIlpyYlKxHsw5hr8VC3ylwmHN6LV+c64CHsUIbQ2sKvoY+k
|
||||
I7SjB2UAmQf00o3xKNiaPoBd8gci1R3IFtxYPmKyX+zPv3Z/ZS9dcn1mOI5DMkJG
|
||||
nvoRcZ/4FuCcOZjPHRY5
|
||||
=mchd
|
||||
iQJ8BAEBCgBmBQJUFzuVXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC
|
||||
OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirupQP/3q8qZ++6YStPFDGuJtemxQa
|
||||
JwVt+HebzZ6Ereql/uD57mbLU6l1YS8UlxEHpw7hQrqGzXMXFb1cCoKv55kww5Do
|
||||
2XXSAEb3Dd6AFaCffIfC7AihAkuBoQiT+PCFXOJWZGUB7E/GvLvh5TuKMWgt+r23
|
||||
gOcdtvrZEG+QtP2l1fXRYyLYCp17K6r5vOpiYB/SG4KiEXi9Su8mVqHJg/sGPa4n
|
||||
8I03/7aJG5aeLpJ5mJaFcKBL4JgWHTmeBuUwyJnv+7zF6g3HmLeoun6DMJWAC3XB
|
||||
VzzcrhP6YV9fpbsoVVGwOHvZcvSJzV15ZXSopxIFkWWCl9FGHKgyY9nPWM8v4hal
|
||||
cJFwF3R1piwuZY6K0xgWmxrFY5QjlsWf7C6AEMRRA0CiUeCaZK3mCLYIX+PRjX+y
|
||||
1gbPcPpVCY/LENkagzuB5K90tV06ipQeT6OfiU0TRdWbLPLc3Ar0MQY86x81Bh73
|
||||
R70wkCWluWN1lWFPkr6npivAhCvB6rTS9XsBu8I5GoNE4h1KlPBOwKvkK0fexv0A
|
||||
jEOLbLaN590DWYdagq2cQclk7Vh1bXMvYRD4v5UBcBD9k9U6UKmuE/8HO0P7VKYc
|
||||
F6BnDC5ZPRAk4RKmZDY89W2Fzc1a/wEoIGQUE4IYtRASE0AUSE/ufw47ft9HYX2W
|
||||
qK0PHHxdDKDxCs29hYbj
|
||||
=3xxY
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/unfoo/unfoo-1.0.6.ebuild,v 1.10 2014/08/05 11:33:16 armin76 Exp $
|
||||
|
||||
DESCRIPTION="A simple bash driven frontend to simplify decompression of files"
|
||||
HOMEPAGE="http://obsoleet.org/code/unfoo"
|
||||
SRC_URI="${HOMEPAGE}/${P}.sh"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS=" amd64 ppc ppc64 s390 x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}"/${A} "${WORKDIR}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin ${P}.sh unfoo || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "unfoo can handle far more than just .tar*, but it requires some"
|
||||
elog "optional packages to do so. For a list, either consult the source"
|
||||
elog "(less /usr/bin/unfoo), or see http://obsoleet.org/code/unfoo"
|
||||
echo
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/unfoo/unfoo-1.0.7.ebuild,v 1.3 2013/03/28 04:16:32 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="A simple bash driven frontend to simplify decompression of files"
|
||||
HOMEPAGE="http://obsoleet.org/code/unfoo"
|
||||
SRC_URI="https://github.com/vitaminmoo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+minimal test"
|
||||
|
||||
COMMON_DEPS="
|
||||
|| (
|
||||
app-arch/bzip2
|
||||
app-arch/lbzip2[symlink]
|
||||
app-arch/pbzip2[symlink] )
|
||||
|| (
|
||||
app-arch/gzip
|
||||
app-arch/pigz[symlink] )
|
||||
app-arch/p7zip
|
||||
|| (
|
||||
app-arch/rar
|
||||
app-arch/unrar-gpl
|
||||
app-arch/unrar )
|
||||
app-arch/unace
|
||||
app-arch/unzip
|
||||
app-arch/xz-utils"
|
||||
RDEPEND="!minimal? ( ${COMMON_DEPS} )"
|
||||
DEPEND="test? ( ${COMMON_DEPS} )"
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodoc README*
|
||||
dobin ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
echo
|
||||
elog "unfoo can handle far more than just .tar*, but it requires some"
|
||||
elog "optional packages to do so. For a list, either consult the source"
|
||||
elog "(less /usr/bin/unfoo), or see http://obsoleet.org/code/unfoo"
|
||||
elog "To get full support please use USE=-minimal"
|
||||
elif [[ ${REPLACING_VERSIONS} < 1.0.7 ]]; then
|
||||
elog "To get full support please use USE=-minimal"
|
||||
fi
|
||||
}
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-4.3.1.2.ebuild,v 1.1 2014/09/16 09:08:38 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit rpm eutils multilib versionator
|
||||
|
||||
MY_PV=$(get_version_component_range 1-3)
|
||||
|
||||
DESCRIPTION="Translations for the Libreoffice suite"
|
||||
HOMEPAGE="http://www.libreoffice.org"
|
||||
BASE_SRC_URI="http://download.documentfoundation.org/${PN/-l10n/}/stable/${MY_PV}/rpm"
|
||||
|
||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="offlinehelp"
|
||||
|
||||
#
|
||||
# when changing the language lists, please be careful to preserve the spaces (bug 491728)
|
||||
#
|
||||
LANGUAGES_HELP=" am ast bg bn_IN bn bo bs ca_valencia ca cs da de dz el en_GB en en_ZA eo es et eu fi fr gl gu he hi hr hu id is it ja ka km ko mk nb ne nl nn om pl pt_BR pt ru si sk sl sq sv tg tr ug uk vi zh_CN zh_TW "
|
||||
LANGUAGES="${LANGUAGES_HELP}af ar as be br brx cy dgo fa ga gd kk kmr_Latn kn kok ks lb lo lt lv mai ml mn mni mr my nr nso oc or pa_IN ro rw sa_IN sat sd sid sr_Latn sr ss st sw_TZ ta te th tn ts tt uz ve xh zu "
|
||||
|
||||
for lang in ${LANGUAGES_HELP}; do
|
||||
helppack=""
|
||||
[[ ${lang} == en ]] && lang2=${lang/en/en_US} || lang2=${lang}
|
||||
helppack="offlinehelp? ( ${BASE_SRC_URI}/x86/LibreOffice_${MY_PV}_Linux_x86_rpm_helppack_${lang2/_/-}.tar.gz )"
|
||||
SRC_URI+=" linguas_${lang}? ( ${helppack} )"
|
||||
done
|
||||
for lang in ${LANGUAGES}; do
|
||||
langpack=""
|
||||
[[ ${lang} == en ]] \
|
||||
|| langpack="${BASE_SRC_URI}/x86/LibreOffice_${MY_PV}_Linux_x86_rpm_langpack_${lang/_/-}.tar.gz"
|
||||
[[ -z ${langpack} ]] || SRC_URI+=" linguas_${lang}? ( ${langpack} )"
|
||||
IUSE+=" linguas_${lang}"
|
||||
done
|
||||
unset lang helppack langpack lang2
|
||||
|
||||
RDEPEND+="app-text/hunspell"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
local lang dir rpmdir i
|
||||
local ooextused=()
|
||||
|
||||
for lang in ${LANGUAGES}; do
|
||||
# break away if not enabled; paludis support
|
||||
use_if_iuse linguas_${lang} || continue
|
||||
|
||||
dir=${lang/_/-}
|
||||
|
||||
# for english we provide just helppack, as translation is always there
|
||||
if [[ ${lang} != en ]]; then
|
||||
rpmdir="LibreOffice_${PV}_Linux_x86_rpm_langpack_${dir}/RPMS/"
|
||||
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\""
|
||||
# First remove dictionaries, we want to use system ones.
|
||||
rm -rf "${S}/${rpmdir}/"*dict*.rpm
|
||||
rpm_unpack "./${rpmdir}/"*.rpm
|
||||
fi
|
||||
if [[ "${LANGUAGES_HELP}" =~ " ${lang} " ]] && use offlinehelp; then
|
||||
[[ ${lang} == en ]] && dir="en-US"
|
||||
rpmdir="LibreOffice_${PV}_Linux_x86_rpm_helppack_${dir}/RPMS/"
|
||||
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\""
|
||||
rpm_unpack ./"${rpmdir}/"*.rpm
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() { :; }
|
||||
src_configure() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
local dir="${S}"/opt/${PN/-l10n/}$(get_version_component_range 1-2)/
|
||||
# Condition required for people that do not install anything eg no linguas
|
||||
# or just english with no offlinehelp.
|
||||
if [[ -d "${dir}" ]] ; then
|
||||
insinto /usr/$(get_libdir)/${PN/-l10n/}/
|
||||
doins -r "${dir}"/*
|
||||
fi
|
||||
# remove extensions that are in the l10n for some weird reason
|
||||
rm -rf "${ED}"/usr/$(get_libdir)/${PN/-l10n/}/share/extensions/
|
||||
}
|
@ -0,0 +1,228 @@
|
||||
From 6d239ee19a4b1d9068fbd04b5a692c859142f613 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Zolnai=20Tam=C3=A1s?= <tamas.zolnai@collabora.com>
|
||||
Date: Fri, 29 Aug 2014 14:14:31 +0200
|
||||
Subject: [PATCH] Handle collada libraries seperately: --disable-collada
|
||||
|
||||
Depends on gltf support.
|
||||
|
||||
(cherry picked from commit 191f0944fd8fc30493eda58c7adfdfa0b538f507)
|
||||
|
||||
Conflicts:
|
||||
config_host.mk.in
|
||||
sd/source/ui/func/fuinsert.cxx
|
||||
|
||||
Change-Id: Ief0452da3d03b0ddbca45272e5f5cd268691aeca
|
||||
Reviewed-on: https://gerrit.libreoffice.org/11193
|
||||
Tested-by: Rene Engelhard <rene@debian.org>
|
||||
Reviewed-by: Rene Engelhard <rene@debian.org>
|
||||
---
|
||||
RepositoryExternal.mk | 6 +++++-
|
||||
avmedia/Library_avmedia.mk | 5 +----
|
||||
avmedia/source/framework/modeltools.cxx | 9 ++++++---
|
||||
config_host.mk.in | 1 +
|
||||
config_host/config_features.h.in | 5 +++++
|
||||
configure.ac | 23 +++++++++++++++++++----
|
||||
include/avmedia/modeltools.hxx | 4 ++++
|
||||
sd/source/ui/func/fuinsert.cxx | 9 +++++++++
|
||||
8 files changed, 50 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
|
||||
index b42dce2..cd99108 100644
|
||||
--- a/RepositoryExternal.mk
|
||||
+++ b/RepositoryExternal.mk
|
||||
@@ -3324,6 +3324,8 @@ endef
|
||||
|
||||
endif # SYSTEN_LIBGLTF
|
||||
|
||||
+ifeq ($(ENABLE_COLLADA),TRUE)
|
||||
+
|
||||
define gb_LinkTarget__use_opencollada_parser
|
||||
$(call gb_LinkTarget_set_include,$(1),\
|
||||
-I$(call gb_UnpackedTarball_get_dir,opencollada)/COLLADABaseUtils/include \
|
||||
@@ -3354,7 +3356,9 @@ $(call gb_LinkTarget_use_static_libraries,$(1),\
|
||||
)
|
||||
endef
|
||||
|
||||
-endif
|
||||
+endif # ENABLE_COLLADA
|
||||
+
|
||||
+endif # ENABLE_GLTF
|
||||
|
||||
### Jars ############################################################
|
||||
|
||||
diff --git a/avmedia/Library_avmedia.mk b/avmedia/Library_avmedia.mk
|
||||
index 184c66c..7cc08fa 100644
|
||||
--- a/avmedia/Library_avmedia.mk
|
||||
+++ b/avmedia/Library_avmedia.mk
|
||||
@@ -52,7 +52,7 @@ $(eval $(call gb_Library_add_exception_objects,avmedia,\
|
||||
))
|
||||
endif
|
||||
|
||||
-ifneq (,$(filter COLLADA2GLTF,$(BUILD_TYPE)))
|
||||
+ifeq ($(ENABLE_COLLADA),TRUE)
|
||||
$(eval $(call gb_Library_set_warnings_not_errors,avmedia))
|
||||
|
||||
ifeq ($(OS),LINUX)
|
||||
@@ -68,9 +68,6 @@ $(eval $(call gb_Library_use_externals,avmedia,\
|
||||
png \
|
||||
))
|
||||
|
||||
-$(eval $(call gb_Library_add_defs,avmedia,\
|
||||
- -DENABLE_COLLADA2GLTF \
|
||||
-))
|
||||
endif
|
||||
|
||||
$(eval $(call gb_Library_add_exception_objects,avmedia,\
|
||||
diff --git a/avmedia/source/framework/modeltools.cxx b/avmedia/source/framework/modeltools.cxx
|
||||
index 6119cb7..8c4251e 100644
|
||||
--- a/avmedia/source/framework/modeltools.cxx
|
||||
+++ b/avmedia/source/framework/modeltools.cxx
|
||||
@@ -29,7 +29,9 @@
|
||||
#include <boost/foreach.hpp>
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
-#ifdef ENABLE_COLLADA2GLTF
|
||||
+#include <config_features.h>
|
||||
+
|
||||
+#if HAVE_FEATURE_COLLADA
|
||||
#include <COLLADA2GLTFWriter.h>
|
||||
#include <GLTFAsset.h>
|
||||
#endif
|
||||
@@ -42,7 +44,7 @@ using namespace boost::property_tree;
|
||||
|
||||
namespace avmedia {
|
||||
|
||||
-#ifdef ENABLE_COLLADA2GLTF
|
||||
+#if HAVE_FEATURE_COLLADA
|
||||
|
||||
static void lcl_UnzipKmz(const OUString& rSourceURL, const OUString& rOutputFolderURL, OUString& o_rDaeFileURL)
|
||||
{
|
||||
@@ -242,7 +244,8 @@ bool Embed3DModel( const uno::Reference<frame::XModel>& xModel,
|
||||
const OUString& rSourceURL, OUString& o_rEmbeddedURL)
|
||||
{
|
||||
OUString sSource = rSourceURL;
|
||||
-#ifdef ENABLE_COLLADA2GLTF
|
||||
+
|
||||
+#if HAVE_FEATURE_COLLADA
|
||||
if( !rSourceURL.endsWithIgnoreAsciiCase(".json") )
|
||||
KmzDae2Gltf(rSourceURL, sSource);
|
||||
#endif
|
||||
diff --git a/config_host.mk.in b/config_host.mk.in
|
||||
index aec0fa5..36a6866 100644
|
||||
--- a/config_host.mk.in
|
||||
+++ b/config_host.mk.in
|
||||
@@ -109,6 +109,7 @@ export ENABLE_CAIRO_CANVAS=@ENABLE_CAIRO_CANVAS@
|
||||
export ENABLE_CHART_TESTS=@ENABLE_CHART_TESTS@
|
||||
export ENABLE_CMIS=@ENABLE_CMIS@
|
||||
export ENABLE_COINMP=@ENABLE_COINMP@
|
||||
+export ENABLE_COLLADA=@ENABLE_COLLADA@
|
||||
export ENABLE_CRASHDUMP=@ENABLE_CRASHDUMP@
|
||||
export ENABLE_CUPS=@ENABLE_CUPS@
|
||||
export ENABLE_CURL=@ENABLE_CURL@
|
||||
diff --git a/config_host/config_features.h.in b/config_host/config_features.h.in
|
||||
index 3fd1da5..f87ee27 100644
|
||||
--- a/config_host/config_features.h.in
|
||||
+++ b/config_host/config_features.h.in
|
||||
@@ -142,4 +142,9 @@
|
||||
*/
|
||||
#define HAVE_FEATURE_GLTF 0
|
||||
|
||||
+/*
|
||||
+ * Whether we have COLLADA support.
|
||||
+ */
|
||||
+#define HAVE_FEATURE_COLLADA 0
|
||||
+
|
||||
#endif
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 63e067b..b6e8124 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1395,6 +1395,10 @@ AC_ARG_ENABLE(gltf,
|
||||
AS_HELP_STRING([--disable-gltf],
|
||||
[Determines whether to build libraries related to glTF 3D model rendering.]))
|
||||
|
||||
+AC_ARG_ENABLE(collada,
|
||||
+ AS_HELP_STRING([--disable-collada],
|
||||
+ [Disable collada support (Rendering 3D models stored in *.dae and *.kmz format).]))
|
||||
+
|
||||
dnl ===================================================================
|
||||
dnl Optional Packages (--with/without-)
|
||||
dnl ===================================================================
|
||||
@@ -10572,10 +10576,6 @@ if test "x$enable_gltf" != "xno" -a $_os != Darwin -a $_os != iOS -a $_os != And
|
||||
else
|
||||
BUILD_TYPE="$BUILD_TYPE LIBGLTF"
|
||||
fi
|
||||
- # otherwise build fails in collada2gltf external because of std::shared_ptr
|
||||
- if test "$have_std_shared_ptr" = "yes"; then
|
||||
- BUILD_TYPE="$BUILD_TYPE COLLADA2GLTF"
|
||||
- fi
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
@@ -10584,6 +10584,21 @@ AC_SUBST(SYSTEM_LIBGLTF)
|
||||
AC_SUBST(LIBGLTF_CFLAGS)
|
||||
AC_SUBST(LIBGLTF_LIBS)
|
||||
|
||||
+dnl ===================================================================
|
||||
+dnl Check whether to enable COLLADA support
|
||||
+dnl ===================================================================
|
||||
+AC_MSG_CHECKING([whether to enable COLLADA support])
|
||||
+ENABLE_COLLADA=
|
||||
+if test "$enable_collada" != "no" -a "$ENABLE_GLTF" = "TRUE" -a "$have_std_shared_ptr" = "yes"; then
|
||||
+ AC_MSG_RESULT([yes])
|
||||
+ ENABLE_COLLADA=TRUE
|
||||
+ AC_DEFINE(HAVE_FEATURE_COLLADA,1)
|
||||
+ BUILD_TYPE="$BUILD_TYPE COLLADA2GLTF"
|
||||
+else
|
||||
+ AC_MSG_RESULT([no])
|
||||
+fi
|
||||
+AC_SUBST(ENABLE_COLLADA)
|
||||
+
|
||||
# pdf import?
|
||||
AC_MSG_CHECKING([whether to build the PDF import feature])
|
||||
ENABLE_PDFIMPORT=
|
||||
diff --git a/include/avmedia/modeltools.hxx b/include/avmedia/modeltools.hxx
|
||||
index ed2de44..526b240 100644
|
||||
--- a/include/avmedia/modeltools.hxx
|
||||
+++ b/include/avmedia/modeltools.hxx
|
||||
@@ -11,9 +11,13 @@
|
||||
#include <com/sun/star/frame/XModel.hpp>
|
||||
#include <avmedia/avmediadllapi.h>
|
||||
|
||||
+#include <config_features.h>
|
||||
+
|
||||
namespace avmedia {
|
||||
|
||||
+#if HAVE_FEATURE_COLLADA
|
||||
bool KmzDae2Gltf(const OUString& rSourceURL, OUString& o_rOutput);
|
||||
+#endif
|
||||
|
||||
bool AVMEDIA_DLLPUBLIC Embed3DModel(
|
||||
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel>& xModel,
|
||||
diff --git a/sd/source/ui/func/fuinsert.cxx b/sd/source/ui/func/fuinsert.cxx
|
||||
index cd03700..9c1c4ad 100644
|
||||
--- a/sd/source/ui/func/fuinsert.cxx
|
||||
+++ b/sd/source/ui/func/fuinsert.cxx
|
||||
@@ -789,10 +789,19 @@ void FuInsert3DModel::DoExecute( SfxRequest& )
|
||||
sfx2::FileDialogHelper aDlg( ui::dialogs::TemplateDescription::FILEOPEN_SIMPLE, 0 );
|
||||
|
||||
aDlg.SetTitle( "Insert 3D Model" );
|
||||
+
|
||||
+#if HAVE_FEATURE_COLLADA
|
||||
aDlg.AddFilter( "All supported formats", "*.json;*.dae;*.kmz" );
|
||||
+#else
|
||||
+ aDlg.AddFilter( "All supported formats", "*.json" );
|
||||
+#endif
|
||||
+
|
||||
aDlg.AddFilter( "JSON - GL Transmission Format", "*.json" );
|
||||
+
|
||||
+#if HAVE_FEATURE_COLLADA
|
||||
aDlg.AddFilter( "DAE - COLLADA", "*.dae" );
|
||||
aDlg.AddFilter( "KMZ - Keyhole Markup language Zipped", "*.kmz" );
|
||||
+#endif
|
||||
|
||||
OUString sURL;
|
||||
if( aDlg.Execute() == ERRCODE_NONE )
|
||||
--
|
||||
2.1.0
|
||||
|
@ -0,0 +1,98 @@
|
||||
From d85f513934bb5735a2c0c343fbe7dc2b9c11af3e Mon Sep 17 00:00:00 2001
|
||||
From: Rene Engelhard <rene@debian.org>
|
||||
Date: Wed, 6 Aug 2014 00:03:21 +0200
|
||||
Subject: [PATCH] implement --with-system-coinmp
|
||||
|
||||
Change-Id: I02928097f049e8f3cbefbc872b570b2d2b072658
|
||||
---
|
||||
RepositoryExternal.mk | 15 +++++++++++++++
|
||||
config_host.mk.in | 3 +++
|
||||
configure.ac | 16 ++++++++++++++--
|
||||
3 files changed, 32 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
|
||||
index a9c9e53..1961829 100644
|
||||
--- a/RepositoryExternal.mk
|
||||
+++ b/RepositoryExternal.mk
|
||||
@@ -2250,6 +2250,8 @@ endif # ENABLE_LPSOLVE
|
||||
|
||||
ifneq ($(ENABLE_COINMP),)
|
||||
|
||||
+ifneq ($(SYSTEM_COINMP),TRUE)
|
||||
+
|
||||
define gb_LinkTarget__use_coinmp
|
||||
$(call gb_LinkTarget_use_package,$(1),coinmp)
|
||||
ifeq ($(COM),MSC)
|
||||
@@ -2279,6 +2281,19 @@ $(eval $(call gb_Helper_register_packages_for_install,ooo,\
|
||||
coinmp \
|
||||
))
|
||||
|
||||
+else # SYSTEM_COINMP
|
||||
+
|
||||
+define gb_LinkTarget__use_coinmp
|
||||
+$(call gb_LinkTarget_set_include,$(1),\
|
||||
+ $$(INCLUDE) \
|
||||
+ $(COINMP_CFLAGS) \
|
||||
+)
|
||||
+$(call gb_LinkTarget_add_libs,$(1),$(COINMP_LIBS))
|
||||
+
|
||||
+endef
|
||||
+
|
||||
+endif
|
||||
+
|
||||
else
|
||||
|
||||
gb_LinkTarget__use_coinmp :=
|
||||
diff --git a/config_host.mk.in b/config_host.mk.in
|
||||
--- a/config_host.mk.in
|
||||
+++ b/config_host.mk.in
|
||||
@@ -109,6 +109,9 @@ export ENABLE_CAIRO_CANVAS=@ENABLE_CAIRO_CANVAS@
|
||||
export ENABLE_CHART_TESTS=@ENABLE_CHART_TESTS@
|
||||
export ENABLE_CMIS=@ENABLE_CMIS@
|
||||
export ENABLE_COINMP=@ENABLE_COINMP@
|
||||
+export SYSTEM_COINMP=@SYSTEM_COINMP@
|
||||
+export COINMP_CFLAGS=@COINMP_CFLAGS@
|
||||
+export COINMP_LIBS=@COINMP_LIBS@
|
||||
export ENABLE_COLLADA=@ENABLE_COLLADA@
|
||||
export ENABLE_CRASHDUMP=@ENABLE_CRASHDUMP@
|
||||
export ENABLE_CUPS=@ENABLE_CUPS@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index e91773f..3aadd12 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1867,6 +1867,11 @@ AC_ARG_WITH(system-lpsolve,
|
||||
[Use lpsolve already on system.]),,
|
||||
[with_system_lpsolve="$with_system_libs"])
|
||||
|
||||
+AC_ARG_WITH(system-coinmp,
|
||||
+ AS_HELP_STRING([--with-system-coinmp],
|
||||
+ [Use CoinMP already on system.]),,
|
||||
+ [with_system_coinmp="$with_system_libs"])
|
||||
+
|
||||
AC_ARG_WITH(system-liblangtag,
|
||||
AS_HELP_STRING([--with-system-liblangtag],
|
||||
[Use liblangtag library already on system.]),,
|
||||
@@ -9661,12 +9666,19 @@ AC_MSG_CHECKING([whether to build with CoinMP])
|
||||
if test "$enable_coinmp" != "no"; then
|
||||
ENABLE_COINMP=TRUE
|
||||
AC_MSG_RESULT([yes])
|
||||
- # Should we check for system CoinMP ? How to do that ?
|
||||
- BUILD_TYPE="$BUILD_TYPE COINMP"
|
||||
+ if test "$with_system_coinmp" = "yes"; then
|
||||
+ SYSTEM_COINMP=TRUE
|
||||
+ PKG_CHECK_MODULES( COINMP, coinmp )
|
||||
+ else
|
||||
+ BUILD_TYPE="$BUILD_TYPE COINMP"
|
||||
+ fi
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
AC_SUBST(ENABLE_COINMP)
|
||||
+AC_SUBST(SYSTEM_COINMP)
|
||||
+AC_SUBST(COINMP_CFLAGS)
|
||||
+AC_SUBST(COINMP_LIBS)
|
||||
|
||||
ENABLE_LPSOLVE=
|
||||
AC_MSG_CHECKING([whether to build with lpsolve])
|
||||
--
|
||||
1.7.1
|
@ -0,0 +1,157 @@
|
||||
From 2378f45d70c9ce4a093fd6b09216c1cd4563ebe2 Mon Sep 17 00:00:00 2001
|
||||
From: Rene Engelhard <rene@debian.org>
|
||||
Date: Tue, 5 Aug 2014 20:05:35 +0200
|
||||
Subject: [PATCH] implement --with-system-gltf
|
||||
|
||||
Change-Id: Ic842006b28f8043bcbbaa81ab5a20e15aa52ac82
|
||||
(cherry picked from commit 97bda8e081fd746e9ef743b165b5bf621fc21fbb)
|
||||
---
|
||||
RepositoryExternal.mk | 18 ++++++++++++++++++
|
||||
avmedia/source/opengl/oglframegrabber.hxx | 4 ++++
|
||||
avmedia/source/opengl/oglplayer.hxx | 4 ++++
|
||||
avmedia/source/opengl/oglwindow.hxx | 4 ++++
|
||||
config_host.mk.in | 3 +++
|
||||
configure.ac | 15 ++++++++++++++-
|
||||
6 files changed, 47 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
|
||||
index ff50598..b42dce2 100644
|
||||
--- a/RepositoryExternal.mk
|
||||
+++ b/RepositoryExternal.mk
|
||||
@@ -3281,6 +3281,8 @@ endif # DESKTOP
|
||||
|
||||
ifeq ($(ENABLE_GLTF),TRUE)
|
||||
|
||||
+ifneq ($(SYSTEM_LIBGLTF),TRUE)
|
||||
+
|
||||
define gb_LinkTarget__use_libgltf
|
||||
$(call gb_LinkTarget_set_include,$(1),\
|
||||
-I$(call gb_UnpackedTarball_get_dir,libgltf)/inc \
|
||||
@@ -3306,6 +3308,22 @@ $(call gb_ExternalProject_use_external_project,$(1),libgltf)
|
||||
|
||||
endef
|
||||
|
||||
+else # SYSTEM_LIBGLTF
|
||||
+
|
||||
+define gb_LinkTarget__use_libgltf
|
||||
+$(call gb_LinkTarget_set_include,$(1),\
|
||||
+ $$(INCLUDE) \
|
||||
+ $(LIBGLTF_CFLAGS) \
|
||||
+)
|
||||
+$(call gb_LinkTarget_add_libs,$(1),$(LIBGLTF_LIBS))
|
||||
+$(call gb_LinkTarget_add_defs,$(1),\
|
||||
+ -DSYSTEM_LIBGLTF \
|
||||
+)
|
||||
+
|
||||
+endef
|
||||
+
|
||||
+endif # SYSTEN_LIBGLTF
|
||||
+
|
||||
define gb_LinkTarget__use_opencollada_parser
|
||||
$(call gb_LinkTarget_set_include,$(1),\
|
||||
-I$(call gb_UnpackedTarball_get_dir,opencollada)/COLLADABaseUtils/include \
|
||||
diff --git a/avmedia/source/opengl/oglframegrabber.hxx b/avmedia/source/opengl/oglframegrabber.hxx
|
||||
index 5beb15b..0d38224 100644
|
||||
--- a/avmedia/source/opengl/oglframegrabber.hxx
|
||||
+++ b/avmedia/source/opengl/oglframegrabber.hxx
|
||||
@@ -14,7 +14,11 @@
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <com/sun/star/media/XFrameGrabber.hpp>
|
||||
|
||||
+#ifdef SYSTEM_LIBGLTF
|
||||
+#include <libgltf/libgltf.h>
|
||||
+#else
|
||||
#include <libgltf.h>
|
||||
+#endif
|
||||
|
||||
namespace avmedia { namespace ogl {
|
||||
|
||||
diff --git a/avmedia/source/opengl/oglplayer.hxx b/avmedia/source/opengl/oglplayer.hxx
|
||||
index 03ad515..52aa395 100644
|
||||
--- a/avmedia/source/opengl/oglplayer.hxx
|
||||
+++ b/avmedia/source/opengl/oglplayer.hxx
|
||||
@@ -14,7 +14,11 @@
|
||||
#include <cppuhelper/basemutex.hxx>
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <com/sun/star/media/XPlayer.hpp>
|
||||
+#ifdef SYSTEM_LIBGLTF
|
||||
+#include <libgltf/libgltf.h>
|
||||
+#else
|
||||
#include <libgltf.h>
|
||||
+#endif
|
||||
#include <vcl/opengl/OpenGLContext.hxx>
|
||||
#include <vcl/timer.hxx>
|
||||
|
||||
diff --git a/avmedia/source/opengl/oglwindow.hxx b/avmedia/source/opengl/oglwindow.hxx
|
||||
index a68f667..ae86083 100644
|
||||
--- a/avmedia/source/opengl/oglwindow.hxx
|
||||
+++ b/avmedia/source/opengl/oglwindow.hxx
|
||||
@@ -17,7 +17,11 @@
|
||||
#include <com/sun/star/media/XPlayerWindow.hpp>
|
||||
#include <com/sun/star/media/ZoomLevel.hpp>
|
||||
|
||||
+#ifdef SYSTEM_LIBGLTF
|
||||
+#include <libgltf/libgltf.h>
|
||||
+#else
|
||||
#include <libgltf.h>
|
||||
+#endif
|
||||
#include <vcl/opengl/OpenGLContext.hxx>
|
||||
#include <vcl/syschild.hxx>
|
||||
|
||||
diff --git a/config_host.mk.in b/config_host.mk.in
|
||||
index b7e5b6c..aec0fa5 100644
|
||||
--- a/config_host.mk.in
|
||||
+++ b/config_host.mk.in
|
||||
@@ -127,6 +127,9 @@ export ENABLE_GRAPHITE=@ENABLE_GRAPHITE@
|
||||
export ENABLE_ORCUS=@ENABLE_ORCUS@
|
||||
export ENABLE_HARFBUZZ=@ENABLE_HARFBUZZ@
|
||||
export ENABLE_GLTF=@ENABLE_GLTF@
|
||||
+export SYSTEM_LIBGLTF=@SYSTEM_LIBGLTF@
|
||||
+export LIBGLTF_CFLAGS=@LIBGLTF_CFLAGS@
|
||||
+export LIBGLTF_LIBS=@LIBGLTF_LIBS@
|
||||
export ENABLE_GSTREAMER=@ENABLE_GSTREAMER@
|
||||
export ENABLE_GSTREAMER_0_10=@ENABLE_GSTREAMER_0_10@
|
||||
export ENABLE_GTK3=@ENABLE_GTK3@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 02791ca..63e067b 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1552,6 +1552,11 @@ AC_ARG_WITH(system-jpeg,
|
||||
[Use jpeg already on system.]),,
|
||||
[with_system_jpeg=auto])
|
||||
|
||||
+AC_ARG_WITH(system-libgltf,
|
||||
+ AS_HELP_STRING([--with-system-libgltf],
|
||||
+ [Use libgltf already on system.]),,
|
||||
+ [with_system_libgltf=auto])
|
||||
+
|
||||
AC_ARG_WITH(system-clucene,
|
||||
AS_HELP_STRING([--with-system-clucene],
|
||||
[Use clucene already on system.]),,
|
||||
@@ -10561,7 +10566,12 @@ if test "x$enable_gltf" != "xno" -a $_os != Darwin -a $_os != iOS -a $_os != And
|
||||
ENABLE_GLTF=TRUE
|
||||
AC_MSG_RESULT([yes])
|
||||
AC_DEFINE(HAVE_FEATURE_GLTF,1)
|
||||
- BUILD_TYPE="$BUILD_TYPE LIBGLTF"
|
||||
+ if test "$with_system_libgltf" = "yes"; then
|
||||
+ SYSTEM_LIBGLTF=TRUE
|
||||
+ PKG_CHECK_MODULES( LIBGLTF, libgltf-0.0 )
|
||||
+ else
|
||||
+ BUILD_TYPE="$BUILD_TYPE LIBGLTF"
|
||||
+ fi
|
||||
# otherwise build fails in collada2gltf external because of std::shared_ptr
|
||||
if test "$have_std_shared_ptr" = "yes"; then
|
||||
BUILD_TYPE="$BUILD_TYPE COLLADA2GLTF"
|
||||
@@ -10570,6 +10580,9 @@ else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
AC_SUBST(ENABLE_GLTF)
|
||||
+AC_SUBST(SYSTEM_LIBGLTF)
|
||||
+AC_SUBST(LIBGLTF_CFLAGS)
|
||||
+AC_SUBST(LIBGLTF_LIBS)
|
||||
|
||||
# pdf import?
|
||||
AC_MSG_CHECKING([whether to build the PDF import feature])
|
||||
--
|
||||
2.1.0
|
||||
|
@ -0,0 +1,400 @@
|
||||
From d431986bd49081581e86444af124d1d2ce90a407 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Zolnai=20Tam=C3=A1s?= <tamas.zolnai@collabora.com>
|
||||
Date: Fri, 29 Aug 2014 22:41:26 +0200
|
||||
Subject: [PATCH] Upgrade libgltf to 0.0.1
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
News in this version:
|
||||
- Solve some limitations of walkthrough mode (fdo#81425)
|
||||
- Multisampling (better rendering quality, mainly at the edges)
|
||||
- Better error handling (no crash in case of invalid input file)
|
||||
|
||||
Reviewed-on: https://gerrit.libreoffice.org/11179
|
||||
Reviewed-by: Zolnai Tamás <tamas.zolnai@collabora.com>
|
||||
Tested-by: Zolnai Tamás <tamas.zolnai@collabora.com>
|
||||
|
||||
Conflicts:
|
||||
download.lst
|
||||
external/libgltf/UnpackedTarball_libgltf.mk
|
||||
external/libgltf/pathces/append_shader_version.patch
|
||||
external/libgltf/pathces/missing_include.patch
|
||||
vcl/source/opengl/OpenGLContext.cxx
|
||||
|
||||
Change-Id: I46fdf56b00476614487fbcc04178e43e33a01794
|
||||
Reviewed-on: https://gerrit.libreoffice.org/11194
|
||||
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
|
||||
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
|
||||
---
|
||||
RepositoryExternal.mk | 8 -----
|
||||
avmedia/source/opengl/oglframegrabber.hxx | 4 ---
|
||||
avmedia/source/opengl/oglplayer.cxx | 16 ++++++++--
|
||||
avmedia/source/opengl/oglplayer.hxx | 6 ++--
|
||||
avmedia/source/opengl/oglwindow.cxx | 36 +++++++++++----------
|
||||
avmedia/source/opengl/oglwindow.hxx | 6 +---
|
||||
configure.ac | 2 +-
|
||||
download.lst | 4 +--
|
||||
external/libgltf/ExternalProject_libgltf.mk | 2 ++
|
||||
external/libgltf/UnpackedTarball_libgltf.mk | 2 --
|
||||
.../libgltf/pathces/append_shader_version.patch | 37 ----------------------
|
||||
external/libgltf/pathces/missing_include.patch | 11 -------
|
||||
include/vcl/opengl/OpenGLContext.hxx | 2 ++
|
||||
vcl/source/opengl/OpenGLContext.cxx | 5 +++
|
||||
14 files changed, 48 insertions(+), 93 deletions(-)
|
||||
delete mode 100644 external/libgltf/pathces/append_shader_version.patch
|
||||
delete mode 100644 external/libgltf/pathces/missing_include.patch
|
||||
|
||||
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
|
||||
index cd99108..f194fcb 100644
|
||||
--- a/RepositoryExternal.mk
|
||||
+++ b/RepositoryExternal.mk
|
||||
@@ -3303,11 +3303,6 @@ $(call gb_LinkTarget_use_external_project,$(1),libgltf)
|
||||
|
||||
endef
|
||||
|
||||
-define gb_ExternalProject__use_libgltf
|
||||
-$(call gb_ExternalProject_use_external_project,$(1),libgltf)
|
||||
-
|
||||
-endef
|
||||
-
|
||||
else # SYSTEM_LIBGLTF
|
||||
|
||||
define gb_LinkTarget__use_libgltf
|
||||
@@ -3316,9 +3311,6 @@ $(call gb_LinkTarget_set_include,$(1),\
|
||||
$(LIBGLTF_CFLAGS) \
|
||||
)
|
||||
$(call gb_LinkTarget_add_libs,$(1),$(LIBGLTF_LIBS))
|
||||
-$(call gb_LinkTarget_add_defs,$(1),\
|
||||
- -DSYSTEM_LIBGLTF \
|
||||
-)
|
||||
|
||||
endef
|
||||
|
||||
diff --git a/avmedia/source/opengl/oglframegrabber.hxx b/avmedia/source/opengl/oglframegrabber.hxx
|
||||
index 0d38224..5beb15b 100644
|
||||
--- a/avmedia/source/opengl/oglframegrabber.hxx
|
||||
+++ b/avmedia/source/opengl/oglframegrabber.hxx
|
||||
@@ -14,11 +14,7 @@
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <com/sun/star/media/XFrameGrabber.hpp>
|
||||
|
||||
-#ifdef SYSTEM_LIBGLTF
|
||||
-#include <libgltf/libgltf.h>
|
||||
-#else
|
||||
#include <libgltf.h>
|
||||
-#endif
|
||||
|
||||
namespace avmedia { namespace ogl {
|
||||
|
||||
diff --git a/avmedia/source/opengl/oglplayer.cxx b/avmedia/source/opengl/oglplayer.cxx
|
||||
index a052dc9..d2e600b 100644
|
||||
--- a/avmedia/source/opengl/oglplayer.cxx
|
||||
+++ b/avmedia/source/opengl/oglplayer.cxx
|
||||
@@ -269,6 +269,12 @@ uno::Reference< media::XPlayerWindow > SAL_CALL OGLPlayer::createPlayerWindow( c
|
||||
return uno::Reference< media::XPlayerWindow >();
|
||||
}
|
||||
|
||||
+ if( !m_aContext.supportMultiSampling() )
|
||||
+ {
|
||||
+ SAL_WARN("avmedia.opengl", "Context does not support multisampling!");
|
||||
+ return uno::Reference< media::XPlayerWindow >();
|
||||
+ }
|
||||
+
|
||||
if( !lcl_CheckOpenGLRequirements() )
|
||||
{
|
||||
SAL_WARN("avmedia.opengl", "Your platform does not have the minimal OpenGL requiremenets!");
|
||||
@@ -287,7 +293,7 @@ uno::Reference< media::XPlayerWindow > SAL_CALL OGLPlayer::createPlayerWindow( c
|
||||
releaseInputFiles();
|
||||
if( nRet != 0 )
|
||||
{
|
||||
- SAL_WARN("avmedia.opengl", "Error occured while parsing *.json file! Error code: " << nRet);
|
||||
+ SAL_WARN("avmedia.opengl", "Error occured while setting up the scene! Error code: " << nRet);
|
||||
return uno::Reference< media::XPlayerWindow >();
|
||||
}
|
||||
// The background color is white by default, but we need to separate the
|
||||
@@ -309,6 +315,12 @@ uno::Reference< media::XFrameGrabber > SAL_CALL OGLPlayer::createFrameGrabber()
|
||||
return uno::Reference< media::XFrameGrabber >();
|
||||
}
|
||||
|
||||
+ if( !m_aContext.supportMultiSampling() )
|
||||
+ {
|
||||
+ SAL_WARN("avmedia.opengl", "Context does not support multisampling!");
|
||||
+ return uno::Reference< media::XFrameGrabber >();
|
||||
+ }
|
||||
+
|
||||
if( !lcl_CheckOpenGLRequirements() )
|
||||
{
|
||||
SAL_WARN("avmedia.opengl", "Your platform does not have the minimal OpenGL requiremenets!");
|
||||
@@ -324,7 +336,7 @@ uno::Reference< media::XFrameGrabber > SAL_CALL OGLPlayer::createFrameGrabber()
|
||||
releaseInputFiles();
|
||||
if( nRet != 0 )
|
||||
{
|
||||
- SAL_WARN("avmedia.opengl", "Error occured while parsing *.json file! Error code: " << nRet);
|
||||
+ SAL_WARN("avmedia.opengl", "Error occured while setting up the scene! Error code: " << nRet);
|
||||
return uno::Reference< media::XFrameGrabber >();
|
||||
}
|
||||
glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
|
||||
diff --git a/avmedia/source/opengl/oglplayer.hxx b/avmedia/source/opengl/oglplayer.hxx
|
||||
index 52aa395..465ed6b 100644
|
||||
--- a/avmedia/source/opengl/oglplayer.hxx
|
||||
+++ b/avmedia/source/opengl/oglplayer.hxx
|
||||
@@ -14,11 +14,9 @@
|
||||
#include <cppuhelper/basemutex.hxx>
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <com/sun/star/media/XPlayer.hpp>
|
||||
-#ifdef SYSTEM_LIBGLTF
|
||||
-#include <libgltf/libgltf.h>
|
||||
-#else
|
||||
+
|
||||
#include <libgltf.h>
|
||||
-#endif
|
||||
+
|
||||
#include <vcl/opengl/OpenGLContext.hxx>
|
||||
#include <vcl/timer.hxx>
|
||||
|
||||
diff --git a/avmedia/source/opengl/oglwindow.cxx b/avmedia/source/opengl/oglwindow.cxx
|
||||
index a770ff5..1092483 100644
|
||||
--- a/avmedia/source/opengl/oglwindow.cxx
|
||||
+++ b/avmedia/source/opengl/oglwindow.cxx
|
||||
@@ -23,7 +23,6 @@ OGLWindow::OGLWindow( glTFHandle& rHandle, OpenGLContext& rContext, Window& rEve
|
||||
, meZoomLevel( media::ZoomLevel_ORIGINAL )
|
||||
, m_aLastMousePos(Point(0,0))
|
||||
, m_bIsOrbitMode( false )
|
||||
- , m_fCameraDistance(0.0)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -267,15 +266,15 @@ IMPL_LINK(OGLWindow, CameraHandler, VclWindowEvent*, pEvent)
|
||||
glm::vec3 vMove = vView-vEye;
|
||||
vMove = glm::normalize(vMove);
|
||||
vMove *= 25.0f;
|
||||
- glm::vec3 vStrafe = glm::cross(vView-vEye, vUp);
|
||||
+ glm::vec3 vStrafe = glm::cross(vMove, vUp);
|
||||
vStrafe = glm::normalize(vStrafe);
|
||||
vStrafe *= 25.0f;
|
||||
- glm::vec3 vMup = glm::cross(vView-vEye,glm::vec3(1.0f,0.0f,0.0f) );
|
||||
- vMup = glm::normalize(vMup);
|
||||
- vMup *= 25.0f;
|
||||
+ glm::vec3 vMup = vUp * 25.0f;
|
||||
|
||||
if( !m_bIsOrbitMode )
|
||||
{
|
||||
+ if(nCode == KEY_E)vMoveBy += vMup*(0.0005f*fModelSize);
|
||||
+ if(nCode == KEY_Q)vMoveBy -= vMup*(0.0005f*fModelSize);
|
||||
if(nCode == KEY_W)vMoveBy += vMove*(0.0005f*fModelSize);
|
||||
if(nCode == KEY_S)vMoveBy -= vMove*(0.0005f*fModelSize);
|
||||
if(nCode == KEY_A)vMoveBy -= vStrafe*(0.0005f*fModelSize);
|
||||
@@ -283,15 +282,24 @@ IMPL_LINK(OGLWindow, CameraHandler, VclWindowEvent*, pEvent)
|
||||
}
|
||||
else
|
||||
{
|
||||
- if(nCode == KEY_E)vMoveBy += vMove*(0.0005f*fModelSize);
|
||||
- if(nCode == KEY_Q)vMoveBy -= vMove*(0.0005f*fModelSize);
|
||||
+ bool bZoomIn = false;
|
||||
+ bool bZoomOut = false;
|
||||
+ if(nCode == KEY_E)
|
||||
+ {
|
||||
+ vMoveBy += vMove*(0.0005f*fModelSize);
|
||||
+ bZoomIn = true;
|
||||
+ }
|
||||
+ if(nCode == KEY_Q)
|
||||
+ {
|
||||
+ vMoveBy -= vMove*(0.0005f*fModelSize);
|
||||
+ bZoomOut = true;
|
||||
+ }
|
||||
|
||||
// Limit zooming in orbit mode
|
||||
- m_fCameraDistance += vMoveBy.z;
|
||||
- if ((m_fCameraDistance < 0.5 * fModelSize && vMoveBy.z < 0.0 ) ||
|
||||
- (m_fCameraDistance > 2 * fModelSize && vMoveBy.z > 0.0 ))
|
||||
+ float fCameraDistFromModelGlobe = glm::length(vEye + vMoveBy - vView) - fModelSize / 2.0f;
|
||||
+ if ((fCameraDistFromModelGlobe < 0.5 * fModelSize && bZoomIn ) ||
|
||||
+ (fCameraDistFromModelGlobe > 2 * fModelSize && bZoomOut ))
|
||||
{
|
||||
- m_fCameraDistance -= vMoveBy.z;
|
||||
vMoveBy = glm::vec3(0.0);
|
||||
}
|
||||
}
|
||||
@@ -333,12 +341,6 @@ IMPL_LINK(OGLWindow, CameraHandler, VclWindowEvent*, pEvent)
|
||||
{
|
||||
gltf_orbit_mode_start(&m_rHandle);
|
||||
m_bIsOrbitMode = true;
|
||||
- // Set default camera distance
|
||||
- glm::vec3 vEye;
|
||||
- glm::vec3 vView;
|
||||
- glm::vec3 vUp;
|
||||
- gltf_get_camera_pos(&m_rHandle, &vEye,&vView,&vUp);
|
||||
- m_fCameraDistance = vEye.z - gltf_get_model_center_pos(&m_rHandle)->z - (gltf_get_model_size(&m_rHandle)/2.0);
|
||||
}
|
||||
}
|
||||
else if(nCode == KEY_F)
|
||||
diff --git a/avmedia/source/opengl/oglwindow.hxx b/avmedia/source/opengl/oglwindow.hxx
|
||||
index ae86083..8b15813 100644
|
||||
--- a/avmedia/source/opengl/oglwindow.hxx
|
||||
+++ b/avmedia/source/opengl/oglwindow.hxx
|
||||
@@ -17,11 +17,8 @@
|
||||
#include <com/sun/star/media/XPlayerWindow.hpp>
|
||||
#include <com/sun/star/media/ZoomLevel.hpp>
|
||||
|
||||
-#ifdef SYSTEM_LIBGLTF
|
||||
-#include <libgltf/libgltf.h>
|
||||
-#else
|
||||
#include <libgltf.h>
|
||||
-#endif
|
||||
+
|
||||
#include <vcl/opengl/OpenGLContext.hxx>
|
||||
#include <vcl/syschild.hxx>
|
||||
|
||||
@@ -77,7 +74,6 @@ private:
|
||||
com::sun::star::media::ZoomLevel meZoomLevel;
|
||||
Point m_aLastMousePos;
|
||||
bool m_bIsOrbitMode;
|
||||
- double m_fCameraDistance;
|
||||
};
|
||||
|
||||
} // namespace ogl
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index b6e8124..9cd589b 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -10572,7 +10572,7 @@ if test "x$enable_gltf" != "xno" -a $_os != Darwin -a $_os != iOS -a $_os != And
|
||||
AC_DEFINE(HAVE_FEATURE_GLTF,1)
|
||||
if test "$with_system_libgltf" = "yes"; then
|
||||
SYSTEM_LIBGLTF=TRUE
|
||||
- PKG_CHECK_MODULES( LIBGLTF, libgltf-0.0 )
|
||||
+ PKG_CHECK_MODULES( LIBGLTF, [libgltf-0.0 >= 0.0.1] )
|
||||
else
|
||||
BUILD_TYPE="$BUILD_TYPE LIBGLTF"
|
||||
fi
|
||||
diff --git a/download.lst b/download.lst
|
||||
index bc2b383..f413a57 100644
|
||||
--- a/download.lst
|
||||
+++ b/download.lst
|
||||
@@ -87,8 +87,8 @@ export LIBATOMIC_OPS_TARBALL := libatomic_ops-7_2d.zip
|
||||
export LIBEOT_MD5SUM := aa24f5dd2a2992f4a116aa72af817548
|
||||
export LIBEOT_TARBALL := libeot-0.01.tar.bz2
|
||||
export LIBEXTTEXTCAT_TARBALL := ae330b9493bd4503ac390106ff6060d7-libexttextcat-3.4.3.tar.bz2
|
||||
-export LIBGLTF_MD5SUM := ca5436e916bfe70694adfe2607782786
|
||||
-export LIBGLTF_TARBALL := libgltf-0.0.0.tar.bz2
|
||||
+export LIBGLTF_MD5SUM := 03821c9c827e647fb5fedb12496e0067
|
||||
+export LIBGLTF_TARBALL := libgltf-0.0.1.tar.bz2
|
||||
export LIBLANGTAG_TARBALL := 36271d3fa0d9dec1632029b6d7aac925-liblangtag-0.5.1.tar.bz2
|
||||
export LIBXMLSEC_TARBALL := 1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz
|
||||
export LIBXML_TARBALL := 9c0cfef285d5c4a5c80d00904ddab380-libxml2-2.9.1.tar.gz
|
||||
diff --git a/external/libgltf/ExternalProject_libgltf.mk b/external/libgltf/ExternalProject_libgltf.mk
|
||||
index 548487b..62e25a3 100644
|
||||
--- a/external/libgltf/ExternalProject_libgltf.mk
|
||||
+++ b/external/libgltf/ExternalProject_libgltf.mk
|
||||
@@ -63,6 +63,8 @@ $(call gb_ExternalProject_get_state_target,libgltf,build) :
|
||||
export CPPFLAGS='$(libgltf_CPPFLAGS)' \
|
||||
&& export PKG_CONFIG="" \
|
||||
&& ./configure \
|
||||
+ --disable-shared \
|
||||
+ --enable-static \
|
||||
--with-pic \
|
||||
--disable-debug \
|
||||
--disable-werror \
|
||||
diff --git a/external/libgltf/UnpackedTarball_libgltf.mk b/external/libgltf/UnpackedTarball_libgltf.mk
|
||||
index 42c821b..176c1d1 100644
|
||||
--- a/external/libgltf/UnpackedTarball_libgltf.mk
|
||||
+++ b/external/libgltf/UnpackedTarball_libgltf.mk
|
||||
@@ -16,8 +16,6 @@ $(eval $(call gb_UnpackedTarball_set_patchflags,libgltf,--binary))
|
||||
$(eval $(call gb_UnpackedTarball_set_patchlevel,libgltf,1))
|
||||
|
||||
$(eval $(call gb_UnpackedTarball_add_patches,libgltf,\
|
||||
- external/libgltf/pathces/missing_include.patch \
|
||||
- external/libgltf/pathces/append_shader_version.patch \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
diff --git a/external/libgltf/pathces/append_shader_version.patch b/external/libgltf/pathces/append_shader_version.patch
|
||||
deleted file mode 100644
|
||||
index 27f0cc6..0000000
|
||||
--- a/external/libgltf/pathces/append_shader_version.patch
|
||||
+++ /dev/null
|
||||
@@ -1,37 +0,0 @@
|
||||
-diff -ur libgltf.org/src/Shaders.cpp libgltf/src/Shaders.cpp
|
||||
---- libgltf.org/src/Shaders.cpp 2014-08-18 09:19:48.323955939 +0200
|
||||
-+++ libgltf/src/Shaders.cpp 2014-08-18 09:20:46.711953465 +0200
|
||||
-@@ -11,6 +11,7 @@
|
||||
-
|
||||
- #include <GL/glew.h>
|
||||
- #include <cstdio>
|
||||
-+#include <cstring>
|
||||
-
|
||||
- namespace libgltf
|
||||
- {
|
||||
-@@ -166,7 +167,24 @@
|
||||
- unsigned int shaderId)
|
||||
- {
|
||||
- GLint iGLSize = iSize;
|
||||
-- glShaderSource(shaderId, 1, &pShader, &iGLSize);
|
||||
-+ if( strstr(pShader,"#version") == 0 )
|
||||
-+ {
|
||||
-+ const GLchar* aSources[] = {
|
||||
-+ "#version 130\n",
|
||||
-+ pShader,
|
||||
-+ };
|
||||
-+
|
||||
-+ const GLint aSizes[] = {
|
||||
-+ strlen("#version 130\n"),
|
||||
-+ iGLSize,
|
||||
-+ };
|
||||
-+
|
||||
-+ glShaderSource(shaderId, 2, &aSources[0], &aSizes[0]);
|
||||
-+ }
|
||||
-+ else
|
||||
-+ {
|
||||
-+ glShaderSource(shaderId, 1, &pShader, &iGLSize);
|
||||
-+ }
|
||||
- glCompileShader(shaderId);
|
||||
- int iStatus = 0;
|
||||
- glGetShaderiv(shaderId, GL_COMPILE_STATUS, &iStatus);
|
||||
diff --git a/external/libgltf/pathces/missing_include.patch b/external/libgltf/pathces/missing_include.patch
|
||||
deleted file mode 100644
|
||||
index 8b05224..0000000
|
||||
--- a/external/libgltf/pathces/missing_include.patch
|
||||
+++ /dev/null
|
||||
@@ -1,11 +0,0 @@
|
||||
-diff -ur libgltf.org/src/Shaders.cpp libgltf/src/Shaders.cpp
|
||||
---- libgltf.org/src/Shaders.cpp 2014-08-05 11:40:30.387537876 +0200
|
||||
-+++ libgltf/src/Shaders.cpp 2014-08-05 11:41:13.887536123 +0200
|
||||
-@@ -10,6 +10,7 @@
|
||||
- #include "Shaders.h"
|
||||
-
|
||||
- #include <GL/glew.h>
|
||||
-+#include <cstdio>
|
||||
-
|
||||
- namespace libgltf
|
||||
- {
|
||||
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
|
||||
index 8a7eb55..f1e0bd2 100644
|
||||
--- a/include/vcl/opengl/OpenGLContext.hxx
|
||||
+++ b/include/vcl/opengl/OpenGLContext.hxx
|
||||
@@ -166,6 +166,8 @@ public:
|
||||
return mbInitialized;
|
||||
}
|
||||
|
||||
+ bool supportMultiSampling() const;
|
||||
+
|
||||
static SystemWindowData generateWinData(Window* pParent);
|
||||
private:
|
||||
SAL_DLLPRIVATE bool initWindow();
|
||||
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
|
||||
index 974f913..338edc3 100644
|
||||
--- a/vcl/source/opengl/OpenGLContext.cxx
|
||||
+++ b/vcl/source/opengl/OpenGLContext.cxx
|
||||
@@ -833,4 +833,9 @@ void OpenGLContext::show()
|
||||
m_pWindow->Show();
|
||||
}
|
||||
|
||||
+bool OpenGLContext::supportMultiSampling() const
|
||||
+{
|
||||
+ return m_aGLWin.bMultiSampleSupported;
|
||||
+}
|
||||
+
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
--
|
||||
2.1.0
|
||||
|
@ -0,0 +1,606 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-4.3.1.2.ebuild,v 1.1 2014/09/16 09:14:01 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_REQUIRED="optional"
|
||||
QT_MINIMAL="4.7.4"
|
||||
KDE_SCM="git"
|
||||
CMAKE_REQUIRED="never"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
PYTHON_REQ_USE="threads,xml"
|
||||
|
||||
# experimental ; release ; old
|
||||
# Usually the tarballs are moved a lot so this should make
|
||||
# everyone happy.
|
||||
DEV_URI="
|
||||
http://dev-builds.libreoffice.org/pre-releases/src
|
||||
http://download.documentfoundation.org/libreoffice/src/${PV:0:5}/
|
||||
http://download.documentfoundation.org/libreoffice/old/${PV}/
|
||||
"
|
||||
EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice"
|
||||
ADDONS_URI="http://dev-www.libreoffice.org/src/"
|
||||
|
||||
BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
|
||||
# PATCHSET="${P}-patchset-01.tar.xz"
|
||||
|
||||
[[ ${PV} == *9999* ]] && SCM_ECLASS="git-2"
|
||||
inherit base autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic nsplugins ${SCM_ECLASS}
|
||||
unset SCM_ECLASS
|
||||
|
||||
DESCRIPTION="LibreOffice, a full office productivity suite"
|
||||
HOMEPAGE="http://www.libreoffice.org"
|
||||
SRC_URI="branding? ( http://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
|
||||
[[ -n ${PATCHSET} ]] && SRC_URI+=" http://dev.gentooexperimental.org/~scarabeus/${PATCHSET}"
|
||||
|
||||
# Split modules following git/tarballs
|
||||
# Core MUST be first!
|
||||
# Help is used for the image generator
|
||||
MODULES="core help"
|
||||
# Only release has the tarballs
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
for i in ${DEV_URI}; do
|
||||
for mod in ${MODULES}; do
|
||||
if [[ ${mod} == core ]]; then
|
||||
SRC_URI+=" ${i}/${P}.tar.xz"
|
||||
else
|
||||
SRC_URI+=" ${i}/${PN}-${mod}-${PV}.tar.xz"
|
||||
fi
|
||||
done
|
||||
unset mod
|
||||
done
|
||||
unset i
|
||||
fi
|
||||
unset DEV_URI
|
||||
|
||||
# Really required addons
|
||||
# These are bundles that can't be removed for now due to huge patchsets.
|
||||
# If you want them gone, patches are welcome.
|
||||
ADDONS_SRC+=" ${ADDONS_URI}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz"
|
||||
ADDONS_SRC+=" ${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code
|
||||
ADDONS_SRC+=" collada? ( ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 )"
|
||||
ADDONS_SRC+=" collada? ( ${ADDONS_URI}/OpenCOLLADA-master-6509aa13af.tar.bz2 )"
|
||||
ADDONS_SRC+=" java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
||||
ADDONS_SRC+=" libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" # no release for 8 years, should we package it?
|
||||
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )" # Does not build with 1.6 rhino at all
|
||||
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )" # requirement of rhino
|
||||
ADDONS_SRC+=" odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )" # not packageable
|
||||
SRC_URI+=" ${ADDONS_SRC}"
|
||||
|
||||
unset ADDONS_URI
|
||||
unset EXT_URI
|
||||
unset ADDONS_SRC
|
||||
|
||||
IUSE="bluetooth +branding coinmp collada +cups dbus debug eds firebird gltf gnome gstreamer
|
||||
+gtk gtk3 jemalloc kde mysql odk opengl postgres telepathy test +vba vlc +webdav"
|
||||
|
||||
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
|
||||
# Unpackaged separate extensions:
|
||||
# diagram: lo has 0.9.5 upstream is weirdly patched 0.9.4 -> wtf?
|
||||
# hunart: only on ooo extensions -> fubared download path somewhere on sf
|
||||
# numbertext, typo, validator, watch-window: ^^
|
||||
# oooblogger: no homepage or anything
|
||||
# Extensions that need extra work:
|
||||
for lo_xt in ${LO_EXTS}; do
|
||||
IUSE+=" libreoffice_extensions_${lo_xt}"
|
||||
done
|
||||
unset lo_xt
|
||||
|
||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
||||
SLOT="0"
|
||||
[[ ${PV} == *9999* ]] || \
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
COMMON_DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
app-arch/zip
|
||||
app-arch/unzip
|
||||
>=app-text/hunspell-1.3.2-r3
|
||||
app-text/mythes
|
||||
>=app-text/libabw-0.1.0
|
||||
>=app-text/libexttextcat-3.2
|
||||
>=app-text/libebook-0.1.1
|
||||
>=app-text/libetonyek-0.1.1
|
||||
app-text/liblangtag
|
||||
>=app-text/libmspub-0.1.0
|
||||
>=app-text/libmwaw-0.3.1
|
||||
>=app-text/libodfgen-0.1.0
|
||||
app-text/libwpd:0.10[tools]
|
||||
app-text/libwpg:0.3
|
||||
>=app-text/libwps-0.3.0
|
||||
>=app-text/poppler-0.16:=[xpdf-headers(+),cxx]
|
||||
>=dev-cpp/clucene-2.3.3.4-r2
|
||||
dev-cpp/libcmis:0.4
|
||||
dev-db/unixODBC
|
||||
>=dev-libs/boost-1.46:=
|
||||
dev-libs/expat
|
||||
>=dev-libs/hyphen-2.7.1
|
||||
>=dev-libs/icu-4.8.1.1:=
|
||||
>=dev-libs/libatomic_ops-7.2d
|
||||
>=dev-libs/liborcus-0.7.0
|
||||
>=dev-libs/librevenge-0.0.1
|
||||
>=dev-libs/nspr-4.8.8
|
||||
>=dev-libs/nss-3.12.9
|
||||
>=dev-lang/perl-5.0
|
||||
>=dev-libs/openssl-1.0.0d:0
|
||||
>=dev-libs/redland-1.0.16
|
||||
media-gfx/graphite2
|
||||
>=media-libs/fontconfig-2.8.0
|
||||
media-libs/freetype:2
|
||||
>=media-libs/glew-1.10
|
||||
>=media-libs/harfbuzz-0.9.18:=[icu(+)]
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libpng-1.4
|
||||
>=media-libs/libcdr-0.1.0
|
||||
>=media-libs/libfreehand-0.1.0
|
||||
>=media-libs/libvisio-0.1.0
|
||||
>=net-misc/curl-7.21.4
|
||||
net-nds/openldap
|
||||
sci-mathematics/lpsolve
|
||||
virtual/jpeg:0
|
||||
>=x11-libs/cairo-1.10.0[X]
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
coinmp? ( sci-libs/coinor-mp )
|
||||
cups? ( net-print/cups )
|
||||
dbus? ( >=dev-libs/dbus-glib-0.92 )
|
||||
eds? ( gnome-extra/evolution-data-server )
|
||||
firebird? ( >=dev-db/firebird-2.5 )
|
||||
gltf? ( media-libs/libgltf )
|
||||
gnome? ( gnome-base/gconf:2 )
|
||||
gtk? (
|
||||
x11-libs/gdk-pixbuf[X]
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
)
|
||||
gtk3? ( >=x11-libs/gtk+-3.2:3 )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
jemalloc? ( dev-libs/jemalloc )
|
||||
libreoffice_extensions_scripting-beanshell? ( >=dev-java/bsh-2.0_beta4 )
|
||||
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
|
||||
libreoffice_extensions_wiki-publisher? (
|
||||
dev-java/commons-codec:0
|
||||
dev-java/commons-httpclient:3
|
||||
dev-java/commons-lang:2.1
|
||||
dev-java/commons-logging:0
|
||||
dev-java/tomcat-servlet-api:3.0
|
||||
)
|
||||
mysql? ( >=dev-db/mysql-connector-c++-1.1.0 )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
postgres? ( >=dev-db/postgresql-base-9.0[kerberos] )
|
||||
telepathy? (
|
||||
dev-libs/glib:2
|
||||
>=net-libs/telepathy-glib-0.18.0
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
)
|
||||
webdav? ( net-libs/neon )
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!app-office/libreoffice-bin
|
||||
!app-office/libreoffice-bin-debug
|
||||
!<app-office/openoffice-bin-3.4.0-r1
|
||||
!app-office/openoffice
|
||||
media-fonts/libertine-ttf
|
||||
media-fonts/liberation-fonts
|
||||
media-fonts/urw-fonts
|
||||
java? ( >=virtual/jre-1.6 )
|
||||
vlc? ( media-video/vlc )
|
||||
"
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
PDEPEND="~app-office/libreoffice-l10n-${PV}"
|
||||
else
|
||||
# Translations are not reliable on live ebuilds
|
||||
# rather force people to use english only.
|
||||
PDEPEND="!app-office/libreoffice-l10n"
|
||||
fi
|
||||
|
||||
# FIXME: cppunit should be moved to test conditional
|
||||
# after everything upstream is under gbuild
|
||||
# as dmake execute tests right away
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-libs/libxml2-2.7.8
|
||||
dev-libs/libxslt
|
||||
dev-perl/Archive-Zip
|
||||
dev-util/cppunit
|
||||
>=dev-util/gperf-3
|
||||
dev-util/intltool
|
||||
>=dev-util/mdds-0.10.3:=
|
||||
media-libs/glm
|
||||
net-misc/npapi-sdk
|
||||
>=sys-apps/findutils-4.4.2
|
||||
sys-devel/bison
|
||||
sys-apps/coreutils
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
>=sys-devel/make-3.82
|
||||
sys-devel/ucpp
|
||||
sys-libs/zlib
|
||||
virtual/pkgconfig
|
||||
x11-libs/libXt
|
||||
x11-libs/libXtst
|
||||
x11-proto/randrproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xineramaproto
|
||||
x11-proto/xproto
|
||||
java? (
|
||||
>=virtual/jdk-1.6
|
||||
>=dev-java/ant-core-1.7
|
||||
)
|
||||
odk? ( >=app-doc/doxygen-1.8.4 )
|
||||
test? ( dev-util/cppunit )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# not upstreamable stuff
|
||||
"${FILESDIR}/${PN}-3.7-system-pyuno.patch"
|
||||
|
||||
# from libreoffice-4-3 branch
|
||||
"${FILESDIR}/${PN}-4.3.1.2-implement--with-system-gltf.patch"
|
||||
"${FILESDIR}/${PN}-4.3.1.2-handle-collada-libs-seperately.patch"
|
||||
"${FILESDIR}/${PN}-4.3.1.2-upgrade-to-libgltf-0.0.1.patch"
|
||||
|
||||
# from master branch
|
||||
"${FILESDIR}/${PN}-4.3.1.2-implement--with-system-coinmp.patch"
|
||||
)
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
bluetooth? ( dbus )
|
||||
collada? ( gltf )
|
||||
gnome? ( gtk )
|
||||
eds? ( gnome )
|
||||
telepathy? ( gtk )
|
||||
libreoffice_extensions_nlpsolver? ( java )
|
||||
libreoffice_extensions_scripting-beanshell? ( java )
|
||||
libreoffice_extensions_scripting-javascript? ( java )
|
||||
libreoffice_extensions_wiki-publisher? ( java )
|
||||
"
|
||||
|
||||
CHECKREQS_MEMORY="512M"
|
||||
CHECKREQS_DISK_BUILD="6G"
|
||||
|
||||
pkg_pretend() {
|
||||
local pgslot
|
||||
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
check-reqs_pkg_pretend
|
||||
|
||||
if [[ $(gcc-major-version) -lt 4 ]] || \
|
||||
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) \
|
||||
; then
|
||||
eerror "Compilation with gcc older than 4.6 is not supported"
|
||||
die "Too old gcc found."
|
||||
fi
|
||||
fi
|
||||
|
||||
# Ensure pg version but we have to be sure the pg is installed (first
|
||||
# install on clean system)
|
||||
if use postgres && has_version dev-db/postgresql-base; then
|
||||
pgslot=$(postgresql-config show)
|
||||
if [[ ${pgslot//.} < 90 ]] ; then
|
||||
eerror "PostgreSQL slot must be set to 9.0 or higher."
|
||||
eerror " postgresql-config set 9.0"
|
||||
die "PostgreSQL slot is not set to 9.0 or higher."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
kde4-base_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
|
||||
[[ ${MERGE_TYPE} != binary ]] && check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local mod mod2 dest tmplfile tmplname mypv
|
||||
|
||||
[[ -n ${PATCHSET} ]] && unpack ${PATCHSET}
|
||||
use branding && unpack "${BRANDING}"
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
unpack "${P}.tar.xz"
|
||||
for mod in ${MODULES}; do
|
||||
[[ ${mod} == core ]] && continue
|
||||
unpack "${PN}-${mod}-${PV}.tar.xz"
|
||||
done
|
||||
else
|
||||
for mod in ${MODULES}; do
|
||||
mypv=${PV/.9999}
|
||||
[[ ${mypv} != ${PV} ]] && EGIT_BRANCH="${PN}-${mypv/./-}"
|
||||
EGIT_PROJECT="${PN}/${mod}"
|
||||
EGIT_SOURCEDIR="${WORKDIR}/${P}"
|
||||
[[ ${mod} != core ]] && EGIT_SOURCEDIR="${WORKDIR}/${PN}-${mod}-${PV}"
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}/${mod}"
|
||||
EGIT_NOUNPACK="true"
|
||||
git-2_src_unpack
|
||||
if [[ ${mod} != core ]]; then
|
||||
mod2=${mod}
|
||||
# mapping does not match on help
|
||||
[[ ${mod} == help ]] && mod2="helpcontent2"
|
||||
mkdir -p "${S}/${mod2}/" || die
|
||||
mv -n "${WORKDIR}/${PN}-${mod}-${PV}"/* "${S}/${mod2}" || die
|
||||
rm -rf "${WORKDIR}/${PN}-${mod}-${PV}"
|
||||
fi
|
||||
done
|
||||
unset EGIT_PROJECT EGIT_SOURCEDIR EGIT_REPO_URI EGIT_BRANCH
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# optimization flags
|
||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
||||
# System python 2.7 enablement:
|
||||
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
||||
export PYTHON_LIBS=$(python_get_LIBS)
|
||||
|
||||
# patchset
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_SOURCE="${WORKDIR}/${PATCHSET/.tar.xz/}" \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
epatch
|
||||
fi
|
||||
|
||||
base_src_prepare
|
||||
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
# hack in the autogen.sh
|
||||
touch autogen.lastrun
|
||||
|
||||
# system pyuno mess
|
||||
sed \
|
||||
-e "s:%eprefix%:${EPREFIX}:g" \
|
||||
-e "s:%libdir%:$(get_libdir):g" \
|
||||
-i pyuno/source/module/uno.py \
|
||||
-i scripting/source/pyprov/officehelper.py || die
|
||||
# sed in the tests
|
||||
sed -i \
|
||||
-e 's#all : build unitcheck#all : build#g' \
|
||||
solenv/gbuild/Module.mk || die
|
||||
sed -i \
|
||||
-e 's#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g' \
|
||||
-e 's#Makefile.gbuild all slowcheck#Makefile.gbuild all#g' \
|
||||
Makefile.in || die
|
||||
|
||||
if use branding; then
|
||||
# hack...
|
||||
mv -v "${WORKDIR}/branding-intro.png" "${S}/icon-themes/galaxy/brand/intro.png" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local java_opts
|
||||
local internal_libs
|
||||
local lo_ext
|
||||
local ext_opts
|
||||
local jbs=$(sed -ne 's/.*\(-j[[:space:]]*\|--jobs=\)\([[:digit:]]\+\).*/\2/;T;p' <<< "${MAKEOPTS}")
|
||||
|
||||
# recheck that there is some value in jobs
|
||||
[[ -z ${jbs} ]] && jbs="1"
|
||||
|
||||
# sane: just sane.h header that is used for scan in writer, not
|
||||
# linked or anything else, worthless to depend on
|
||||
# vigra: just uses templates from there
|
||||
# it is serious pain in the ass for packaging
|
||||
# should be replaced by boost::gil if someone interested
|
||||
internal_libs+="
|
||||
--without-system-sane
|
||||
--without-system-vigra
|
||||
"
|
||||
|
||||
# libreoffice extensions handling
|
||||
for lo_xt in ${LO_EXTS}; do
|
||||
if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" == "scripting-javascript" ]]; then
|
||||
ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ${lo_xt})"
|
||||
else
|
||||
ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt})"
|
||||
fi
|
||||
done
|
||||
|
||||
if use java; then
|
||||
# hsqldb: system one is too new
|
||||
java_opts="
|
||||
--without-junit
|
||||
--without-system-hsqldb
|
||||
--with-ant-home="${ANT_HOME}"
|
||||
--with-jdk-home=$(java-config --jdk-home 2>/dev/null)
|
||||
--with-jvm-path="${EPREFIX}/usr/lib/"
|
||||
"
|
||||
|
||||
use libreoffice_extensions_scripting-beanshell && \
|
||||
java_opts+=" --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar)"
|
||||
|
||||
use libreoffice_extensions_scripting-javascript && \
|
||||
java_opts+=" --with-rhino-jar=$(java-pkg_getjar rhino-1.6 js.jar)"
|
||||
|
||||
if use libreoffice_extensions_wiki-publisher; then
|
||||
java_opts+="
|
||||
--with-commons-codec-jar=$(java-pkg_getjar commons-codec commons-codec.jar)
|
||||
--with-commons-httpclient-jar=$(java-pkg_getjar commons-httpclient-3 commons-httpclient.jar)
|
||||
--with-commons-lang-jar=$(java-pkg_getjar commons-lang-2.1 commons-lang.jar)
|
||||
--with-commons-logging-jar=$(java-pkg_getjar commons-logging commons-logging.jar)
|
||||
--with-servlet-api-jar=$(java-pkg_getjar tomcat-servlet-api-3.0 servlet-api.jar)
|
||||
"
|
||||
fi
|
||||
fi
|
||||
|
||||
# system headers/libs/...: enforce using system packages
|
||||
# --enable-cairo: ensure that cairo is always required
|
||||
# --enable-graphite: disabling causes build breakages
|
||||
# --enable-*-link: link to the library rather than just dlopen on runtime
|
||||
# --enable-release-build: build the libreoffice as release
|
||||
# --disable-fetch-external: prevent dowloading during compile phase
|
||||
# --disable-gnome-vfs: old gnome virtual fs support
|
||||
# --disable-kdeab: kde3 adressbook
|
||||
# --disable-kde: kde3 support
|
||||
# --disable-systray: quickstarter does not actually work at all so do not
|
||||
# promote it
|
||||
# --enable-extension-integration: enable any extension integration support
|
||||
# --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs
|
||||
# --disable-report-builder: too much java packages pulled in without pkgs
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}/" \
|
||||
--with-system-headers \
|
||||
--with-system-libs \
|
||||
--with-system-jars \
|
||||
--with-system-dicts \
|
||||
--enable-cairo-canvas \
|
||||
--enable-graphite \
|
||||
--enable-largefile \
|
||||
--enable-python=system \
|
||||
--enable-randr \
|
||||
--enable-randr-link \
|
||||
--enable-release-build \
|
||||
--disable-hardlink-deliver \
|
||||
--disable-ccache \
|
||||
--disable-crashdump \
|
||||
--disable-dependency-tracking \
|
||||
--disable-epm \
|
||||
--disable-fetch-external \
|
||||
--disable-gnome-vfs \
|
||||
--disable-gstreamer-0-10 \
|
||||
--disable-report-builder \
|
||||
--disable-kdeab \
|
||||
--disable-kde \
|
||||
--disable-mergelibs \
|
||||
--disable-online-update \
|
||||
--disable-systray \
|
||||
--with-alloc=$(use jemalloc && echo "jemalloc" || echo "system") \
|
||||
--with-build-version="Gentoo official package" \
|
||||
--enable-extension-integration \
|
||||
--with-external-dict-dir="${EPREFIX}/usr/share/myspell" \
|
||||
--with-external-hyph-dir="${EPREFIX}/usr/share/myspell" \
|
||||
--with-external-thes-dir="${EPREFIX}/usr/share/myspell" \
|
||||
--with-external-tar="${DISTDIR}" \
|
||||
--with-lang="" \
|
||||
--with-parallelism=${jbs} \
|
||||
--with-system-ucpp \
|
||||
--with-vendor="Gentoo Foundation" \
|
||||
--with-x \
|
||||
--without-fonts \
|
||||
--without-myspell-dicts \
|
||||
--without-help \
|
||||
--with-helppack-integration \
|
||||
--without-sun-templates \
|
||||
$(use_enable bluetooth sdremote-bluetooth) \
|
||||
$(use_enable coinmp) \
|
||||
$(use_enable collada) \
|
||||
$(use_enable cups) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable dbus) \
|
||||
$(use_enable eds evolution2) \
|
||||
$(use_enable firebird firebird-sdbc) \
|
||||
$(use_enable gltf) \
|
||||
$(use_enable gnome gconf) \
|
||||
$(use_enable gnome gio) \
|
||||
$(use_enable gnome lockdown) \
|
||||
$(use_enable gstreamer) \
|
||||
$(use_enable gtk) \
|
||||
$(use_enable gtk3) \
|
||||
$(use_enable kde kde4) \
|
||||
$(use_enable mysql ext-mariadb-connector) \
|
||||
$(use_enable odk) \
|
||||
$(use_enable opengl) \
|
||||
$(use_enable postgres postgresql-sdbc) \
|
||||
$(use_enable telepathy) \
|
||||
$(use_enable vba) \
|
||||
$(use_enable vlc) \
|
||||
$(use_enable webdav neon) \
|
||||
$(use_with coinmp system-coinmp) \
|
||||
$(use_with gltf system-libgltf) \
|
||||
$(use_with java) \
|
||||
$(use_with mysql system-mysql-cppconn) \
|
||||
$(use_with odk doxygen) \
|
||||
${internal_libs} \
|
||||
${java_opts} \
|
||||
${ext_opts}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# hack for offlinehelp, this needs fixing upstream at some point
|
||||
# it is broken because we send --without-help
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
|
||||
(
|
||||
grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk"
|
||||
source "${T}/config_host.mk" 2&> /dev/null
|
||||
|
||||
local path="${WORKDIR}/helpcontent2/source/auxiliary/"
|
||||
mkdir -p "${path}" || die
|
||||
|
||||
echo "perl \"${S}/helpcontent2/helpers/create_ilst.pl\" -dir=icon-themes/galaxy/res/helpimg > \"${path}/helpimg.ilst\""
|
||||
perl "${S}/helpcontent2/helpers/create_ilst.pl" \
|
||||
-dir=icon-themes/galaxy/res/helpimg \
|
||||
> "${path}/helpimg.ilst"
|
||||
[[ -s "${path}/helpimg.ilst" ]] || ewarn "The help images list is empty, something is fishy, report a bug."
|
||||
)
|
||||
|
||||
local target
|
||||
use test && target="build" || target="build-nocheck"
|
||||
|
||||
# this is not a proper make script
|
||||
make ${target} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
make unitcheck || die
|
||||
make slowcheck || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# This is not Makefile so no buildserver
|
||||
make DESTDIR="${D}" distro-pack-install -o build -o check || die
|
||||
|
||||
# Fix bash completion placement
|
||||
newbashcomp "${ED}"/etc/bash_completion.d/libreoffice.sh ${PN}
|
||||
rm -rf "${ED}"/etc/
|
||||
|
||||
if use branding; then
|
||||
insinto /usr/$(get_libdir)/${PN}/program
|
||||
newins "${WORKDIR}/branding-sofficerc" sofficerc
|
||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN}
|
||||
fi
|
||||
|
||||
# symlink the nsplugin to proper location
|
||||
# use gtk && inst_plugin /usr/$(get_libdir)/libreoffice/program/libnpsoplugin.so
|
||||
|
||||
# Hack for offlinehelp, this needs fixing upstream at some point.
|
||||
# It is broken because we send --without-help
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
|
||||
insinto /usr/$(get_libdir)/libreoffice/help
|
||||
doins xmlhelp/util/*.xsl
|
||||
|
||||
# Remove desktop files for support to old installs that can't parse mime
|
||||
rm -rf "${ED}"/usr/share/mimelnk/
|
||||
|
||||
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
|
||||
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Cache updates - all handled by kde eclass for all environments
|
||||
kde4-base_pkg_preinst
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
|
||||
use java || \
|
||||
ewarn 'If you plan to use lbase application you should enable java or you will get various crashes.'
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
kde4-base_pkg_postrm
|
||||
}
|
@ -0,0 +1,601 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-4.3.9999.ebuild,v 1.1 2014/09/16 09:14:01 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_REQUIRED="optional"
|
||||
QT_MINIMAL="4.7.4"
|
||||
KDE_SCM="git"
|
||||
CMAKE_REQUIRED="never"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
PYTHON_REQ_USE="threads,xml"
|
||||
|
||||
# experimental ; release ; old
|
||||
# Usually the tarballs are moved a lot so this should make
|
||||
# everyone happy.
|
||||
DEV_URI="
|
||||
http://dev-builds.libreoffice.org/pre-releases/src
|
||||
http://download.documentfoundation.org/libreoffice/src/${PV:0:5}/
|
||||
http://download.documentfoundation.org/libreoffice/old/${PV}/
|
||||
"
|
||||
EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice"
|
||||
ADDONS_URI="http://dev-www.libreoffice.org/src/"
|
||||
|
||||
BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
|
||||
# PATCHSET="${P}-patchset-01.tar.xz"
|
||||
|
||||
[[ ${PV} == *9999* ]] && SCM_ECLASS="git-2"
|
||||
inherit base autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic nsplugins ${SCM_ECLASS}
|
||||
unset SCM_ECLASS
|
||||
|
||||
DESCRIPTION="LibreOffice, a full office productivity suite"
|
||||
HOMEPAGE="http://www.libreoffice.org"
|
||||
SRC_URI="branding? ( http://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
|
||||
[[ -n ${PATCHSET} ]] && SRC_URI+=" http://dev.gentooexperimental.org/~scarabeus/${PATCHSET}"
|
||||
|
||||
# Split modules following git/tarballs
|
||||
# Core MUST be first!
|
||||
# Help is used for the image generator
|
||||
MODULES="core help"
|
||||
# Only release has the tarballs
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
for i in ${DEV_URI}; do
|
||||
for mod in ${MODULES}; do
|
||||
if [[ ${mod} == core ]]; then
|
||||
SRC_URI+=" ${i}/${P}.tar.xz"
|
||||
else
|
||||
SRC_URI+=" ${i}/${PN}-${mod}-${PV}.tar.xz"
|
||||
fi
|
||||
done
|
||||
unset mod
|
||||
done
|
||||
unset i
|
||||
fi
|
||||
unset DEV_URI
|
||||
|
||||
# Really required addons
|
||||
# These are bundles that can't be removed for now due to huge patchsets.
|
||||
# If you want them gone, patches are welcome.
|
||||
ADDONS_SRC+=" ${ADDONS_URI}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz"
|
||||
ADDONS_SRC+=" ${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code
|
||||
ADDONS_SRC+=" collada? ( ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 )"
|
||||
ADDONS_SRC+=" collada? ( ${ADDONS_URI}/OpenCOLLADA-master-6509aa13af.tar.bz2 )"
|
||||
ADDONS_SRC+=" java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
||||
ADDONS_SRC+=" libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" # no release for 8 years, should we package it?
|
||||
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )" # Does not build with 1.6 rhino at all
|
||||
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )" # requirement of rhino
|
||||
ADDONS_SRC+=" odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )" # not packageable
|
||||
SRC_URI+=" ${ADDONS_SRC}"
|
||||
|
||||
unset ADDONS_URI
|
||||
unset EXT_URI
|
||||
unset ADDONS_SRC
|
||||
|
||||
IUSE="bluetooth +branding coinmp collada +cups dbus debug eds firebird gltf gnome gstreamer
|
||||
+gtk gtk3 jemalloc kde mysql odk opengl postgres telepathy test +vba vlc +webdav"
|
||||
|
||||
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
|
||||
# Unpackaged separate extensions:
|
||||
# diagram: lo has 0.9.5 upstream is weirdly patched 0.9.4 -> wtf?
|
||||
# hunart: only on ooo extensions -> fubared download path somewhere on sf
|
||||
# numbertext, typo, validator, watch-window: ^^
|
||||
# oooblogger: no homepage or anything
|
||||
# Extensions that need extra work:
|
||||
for lo_xt in ${LO_EXTS}; do
|
||||
IUSE+=" libreoffice_extensions_${lo_xt}"
|
||||
done
|
||||
unset lo_xt
|
||||
|
||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
||||
SLOT="0"
|
||||
[[ ${PV} == *9999* ]] || \
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
COMMON_DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
app-arch/zip
|
||||
app-arch/unzip
|
||||
>=app-text/hunspell-1.3.2-r3
|
||||
app-text/mythes
|
||||
>=app-text/libabw-0.1.0
|
||||
>=app-text/libexttextcat-3.2
|
||||
>=app-text/libebook-0.1.1
|
||||
>=app-text/libetonyek-0.1.1
|
||||
app-text/liblangtag
|
||||
>=app-text/libmspub-0.1.0
|
||||
>=app-text/libmwaw-0.3.1
|
||||
>=app-text/libodfgen-0.1.0
|
||||
app-text/libwpd:0.10[tools]
|
||||
app-text/libwpg:0.3
|
||||
>=app-text/libwps-0.3.0
|
||||
>=app-text/poppler-0.16:=[xpdf-headers(+),cxx]
|
||||
>=dev-cpp/clucene-2.3.3.4-r2
|
||||
dev-cpp/libcmis:0.4
|
||||
dev-db/unixODBC
|
||||
>=dev-libs/boost-1.46:=
|
||||
dev-libs/expat
|
||||
>=dev-libs/hyphen-2.7.1
|
||||
>=dev-libs/icu-4.8.1.1:=
|
||||
>=dev-libs/libatomic_ops-7.2d
|
||||
>=dev-libs/liborcus-0.7.0
|
||||
>=dev-libs/librevenge-0.0.1
|
||||
>=dev-libs/nspr-4.8.8
|
||||
>=dev-libs/nss-3.12.9
|
||||
>=dev-lang/perl-5.0
|
||||
>=dev-libs/openssl-1.0.0d:0
|
||||
>=dev-libs/redland-1.0.16
|
||||
media-gfx/graphite2
|
||||
>=media-libs/fontconfig-2.8.0
|
||||
media-libs/freetype:2
|
||||
>=media-libs/glew-1.10
|
||||
>=media-libs/harfbuzz-0.9.18:=[icu(+)]
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libpng-1.4
|
||||
>=media-libs/libcdr-0.1.0
|
||||
>=media-libs/libfreehand-0.1.0
|
||||
>=media-libs/libvisio-0.1.0
|
||||
>=net-misc/curl-7.21.4
|
||||
net-nds/openldap
|
||||
sci-mathematics/lpsolve
|
||||
virtual/jpeg:0
|
||||
>=x11-libs/cairo-1.10.0[X]
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
coinmp? ( sci-libs/coinor-mp )
|
||||
cups? ( net-print/cups )
|
||||
dbus? ( >=dev-libs/dbus-glib-0.92 )
|
||||
eds? ( gnome-extra/evolution-data-server )
|
||||
firebird? ( >=dev-db/firebird-2.5 )
|
||||
gltf? ( media-libs/libgltf )
|
||||
gnome? ( gnome-base/gconf:2 )
|
||||
gtk? (
|
||||
x11-libs/gdk-pixbuf[X]
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
)
|
||||
gtk3? ( >=x11-libs/gtk+-3.2:3 )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
jemalloc? ( dev-libs/jemalloc )
|
||||
libreoffice_extensions_scripting-beanshell? ( >=dev-java/bsh-2.0_beta4 )
|
||||
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
|
||||
libreoffice_extensions_wiki-publisher? (
|
||||
dev-java/commons-codec:0
|
||||
dev-java/commons-httpclient:3
|
||||
dev-java/commons-lang:2.1
|
||||
dev-java/commons-logging:0
|
||||
dev-java/tomcat-servlet-api:3.0
|
||||
)
|
||||
mysql? ( >=dev-db/mysql-connector-c++-1.1.0 )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
postgres? ( >=dev-db/postgresql-base-9.0[kerberos] )
|
||||
telepathy? (
|
||||
dev-libs/glib:2
|
||||
>=net-libs/telepathy-glib-0.18.0
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
)
|
||||
webdav? ( net-libs/neon )
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!app-office/libreoffice-bin
|
||||
!app-office/libreoffice-bin-debug
|
||||
!<app-office/openoffice-bin-3.4.0-r1
|
||||
!app-office/openoffice
|
||||
media-fonts/libertine-ttf
|
||||
media-fonts/liberation-fonts
|
||||
media-fonts/urw-fonts
|
||||
java? ( >=virtual/jre-1.6 )
|
||||
vlc? ( media-video/vlc )
|
||||
"
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
PDEPEND="~app-office/libreoffice-l10n-${PV}"
|
||||
else
|
||||
# Translations are not reliable on live ebuilds
|
||||
# rather force people to use english only.
|
||||
PDEPEND="!app-office/libreoffice-l10n"
|
||||
fi
|
||||
|
||||
# FIXME: cppunit should be moved to test conditional
|
||||
# after everything upstream is under gbuild
|
||||
# as dmake execute tests right away
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-libs/libxml2-2.7.8
|
||||
dev-libs/libxslt
|
||||
dev-perl/Archive-Zip
|
||||
dev-util/cppunit
|
||||
>=dev-util/gperf-3
|
||||
dev-util/intltool
|
||||
>=dev-util/mdds-0.10.3:=
|
||||
media-libs/glm
|
||||
net-misc/npapi-sdk
|
||||
>=sys-apps/findutils-4.4.2
|
||||
sys-devel/bison
|
||||
sys-apps/coreutils
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
>=sys-devel/make-3.82
|
||||
sys-devel/ucpp
|
||||
sys-libs/zlib
|
||||
virtual/pkgconfig
|
||||
x11-libs/libXt
|
||||
x11-libs/libXtst
|
||||
x11-proto/randrproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xineramaproto
|
||||
x11-proto/xproto
|
||||
java? (
|
||||
>=virtual/jdk-1.6
|
||||
>=dev-java/ant-core-1.7
|
||||
)
|
||||
odk? ( >=app-doc/doxygen-1.8.4 )
|
||||
test? ( dev-util/cppunit )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# not upstreamable stuff
|
||||
"${FILESDIR}/${PN}-3.7-system-pyuno.patch"
|
||||
|
||||
# from master branch
|
||||
"${FILESDIR}/${PN}-4.3.1.2-implement--with-system-coinmp.patch"
|
||||
)
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
bluetooth? ( dbus )
|
||||
collada? ( gltf )
|
||||
gnome? ( gtk )
|
||||
eds? ( gnome )
|
||||
telepathy? ( gtk )
|
||||
libreoffice_extensions_nlpsolver? ( java )
|
||||
libreoffice_extensions_scripting-beanshell? ( java )
|
||||
libreoffice_extensions_scripting-javascript? ( java )
|
||||
libreoffice_extensions_wiki-publisher? ( java )
|
||||
"
|
||||
|
||||
CHECKREQS_MEMORY="512M"
|
||||
CHECKREQS_DISK_BUILD="6G"
|
||||
|
||||
pkg_pretend() {
|
||||
local pgslot
|
||||
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
check-reqs_pkg_pretend
|
||||
|
||||
if [[ $(gcc-major-version) -lt 4 ]] || \
|
||||
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) \
|
||||
; then
|
||||
eerror "Compilation with gcc older than 4.6 is not supported"
|
||||
die "Too old gcc found."
|
||||
fi
|
||||
fi
|
||||
|
||||
# Ensure pg version but we have to be sure the pg is installed (first
|
||||
# install on clean system)
|
||||
if use postgres && has_version dev-db/postgresql-base; then
|
||||
pgslot=$(postgresql-config show)
|
||||
if [[ ${pgslot//.} < 90 ]] ; then
|
||||
eerror "PostgreSQL slot must be set to 9.0 or higher."
|
||||
eerror " postgresql-config set 9.0"
|
||||
die "PostgreSQL slot is not set to 9.0 or higher."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
kde4-base_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
|
||||
[[ ${MERGE_TYPE} != binary ]] && check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local mod mod2 dest tmplfile tmplname mypv
|
||||
|
||||
[[ -n ${PATCHSET} ]] && unpack ${PATCHSET}
|
||||
use branding && unpack "${BRANDING}"
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
unpack "${P}.tar.xz"
|
||||
for mod in ${MODULES}; do
|
||||
[[ ${mod} == core ]] && continue
|
||||
unpack "${PN}-${mod}-${PV}.tar.xz"
|
||||
done
|
||||
else
|
||||
for mod in ${MODULES}; do
|
||||
mypv=${PV/.9999}
|
||||
[[ ${mypv} != ${PV} ]] && EGIT_BRANCH="${PN}-${mypv/./-}"
|
||||
EGIT_PROJECT="${PN}/${mod}"
|
||||
EGIT_SOURCEDIR="${WORKDIR}/${P}"
|
||||
[[ ${mod} != core ]] && EGIT_SOURCEDIR="${WORKDIR}/${PN}-${mod}-${PV}"
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}/${mod}"
|
||||
EGIT_NOUNPACK="true"
|
||||
git-2_src_unpack
|
||||
if [[ ${mod} != core ]]; then
|
||||
mod2=${mod}
|
||||
# mapping does not match on help
|
||||
[[ ${mod} == help ]] && mod2="helpcontent2"
|
||||
mkdir -p "${S}/${mod2}/" || die
|
||||
mv -n "${WORKDIR}/${PN}-${mod}-${PV}"/* "${S}/${mod2}" || die
|
||||
rm -rf "${WORKDIR}/${PN}-${mod}-${PV}"
|
||||
fi
|
||||
done
|
||||
unset EGIT_PROJECT EGIT_SOURCEDIR EGIT_REPO_URI EGIT_BRANCH
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# optimization flags
|
||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
||||
# System python 2.7 enablement:
|
||||
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
||||
export PYTHON_LIBS=$(python_get_LIBS)
|
||||
|
||||
# patchset
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_SOURCE="${WORKDIR}/${PATCHSET/.tar.xz/}" \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
epatch
|
||||
fi
|
||||
|
||||
base_src_prepare
|
||||
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
# hack in the autogen.sh
|
||||
touch autogen.lastrun
|
||||
|
||||
# system pyuno mess
|
||||
sed \
|
||||
-e "s:%eprefix%:${EPREFIX}:g" \
|
||||
-e "s:%libdir%:$(get_libdir):g" \
|
||||
-i pyuno/source/module/uno.py \
|
||||
-i scripting/source/pyprov/officehelper.py || die
|
||||
# sed in the tests
|
||||
sed -i \
|
||||
-e 's#all : build unitcheck#all : build#g' \
|
||||
solenv/gbuild/Module.mk || die
|
||||
sed -i \
|
||||
-e 's#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g' \
|
||||
-e 's#Makefile.gbuild all slowcheck#Makefile.gbuild all#g' \
|
||||
Makefile.in || die
|
||||
|
||||
if use branding; then
|
||||
# hack...
|
||||
mv -v "${WORKDIR}/branding-intro.png" "${S}/icon-themes/galaxy/brand/intro.png" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local java_opts
|
||||
local internal_libs
|
||||
local lo_ext
|
||||
local ext_opts
|
||||
local jbs=$(sed -ne 's/.*\(-j[[:space:]]*\|--jobs=\)\([[:digit:]]\+\).*/\2/;T;p' <<< "${MAKEOPTS}")
|
||||
|
||||
# recheck that there is some value in jobs
|
||||
[[ -z ${jbs} ]] && jbs="1"
|
||||
|
||||
# sane: just sane.h header that is used for scan in writer, not
|
||||
# linked or anything else, worthless to depend on
|
||||
# vigra: just uses templates from there
|
||||
# it is serious pain in the ass for packaging
|
||||
# should be replaced by boost::gil if someone interested
|
||||
internal_libs+="
|
||||
--without-system-sane
|
||||
--without-system-vigra
|
||||
"
|
||||
|
||||
# libreoffice extensions handling
|
||||
for lo_xt in ${LO_EXTS}; do
|
||||
if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" == "scripting-javascript" ]]; then
|
||||
ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ${lo_xt})"
|
||||
else
|
||||
ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt})"
|
||||
fi
|
||||
done
|
||||
|
||||
if use java; then
|
||||
# hsqldb: system one is too new
|
||||
java_opts="
|
||||
--without-junit
|
||||
--without-system-hsqldb
|
||||
--with-ant-home="${ANT_HOME}"
|
||||
--with-jdk-home=$(java-config --jdk-home 2>/dev/null)
|
||||
--with-jvm-path="${EPREFIX}/usr/lib/"
|
||||
"
|
||||
|
||||
use libreoffice_extensions_scripting-beanshell && \
|
||||
java_opts+=" --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar)"
|
||||
|
||||
use libreoffice_extensions_scripting-javascript && \
|
||||
java_opts+=" --with-rhino-jar=$(java-pkg_getjar rhino-1.6 js.jar)"
|
||||
|
||||
if use libreoffice_extensions_wiki-publisher; then
|
||||
java_opts+="
|
||||
--with-commons-codec-jar=$(java-pkg_getjar commons-codec commons-codec.jar)
|
||||
--with-commons-httpclient-jar=$(java-pkg_getjar commons-httpclient-3 commons-httpclient.jar)
|
||||
--with-commons-lang-jar=$(java-pkg_getjar commons-lang-2.1 commons-lang.jar)
|
||||
--with-commons-logging-jar=$(java-pkg_getjar commons-logging commons-logging.jar)
|
||||
--with-servlet-api-jar=$(java-pkg_getjar tomcat-servlet-api-3.0 servlet-api.jar)
|
||||
"
|
||||
fi
|
||||
fi
|
||||
|
||||
# system headers/libs/...: enforce using system packages
|
||||
# --enable-cairo: ensure that cairo is always required
|
||||
# --enable-graphite: disabling causes build breakages
|
||||
# --enable-*-link: link to the library rather than just dlopen on runtime
|
||||
# --enable-release-build: build the libreoffice as release
|
||||
# --disable-fetch-external: prevent dowloading during compile phase
|
||||
# --disable-gnome-vfs: old gnome virtual fs support
|
||||
# --disable-kdeab: kde3 adressbook
|
||||
# --disable-kde: kde3 support
|
||||
# --disable-systray: quickstarter does not actually work at all so do not
|
||||
# promote it
|
||||
# --enable-extension-integration: enable any extension integration support
|
||||
# --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs
|
||||
# --disable-report-builder: too much java packages pulled in without pkgs
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}/" \
|
||||
--with-system-headers \
|
||||
--with-system-libs \
|
||||
--with-system-jars \
|
||||
--with-system-dicts \
|
||||
--enable-cairo-canvas \
|
||||
--enable-graphite \
|
||||
--enable-largefile \
|
||||
--enable-python=system \
|
||||
--enable-randr \
|
||||
--enable-randr-link \
|
||||
--enable-release-build \
|
||||
--disable-hardlink-deliver \
|
||||
--disable-ccache \
|
||||
--disable-crashdump \
|
||||
--disable-dependency-tracking \
|
||||
--disable-epm \
|
||||
--disable-fetch-external \
|
||||
--disable-gnome-vfs \
|
||||
--disable-gstreamer-0-10 \
|
||||
--disable-report-builder \
|
||||
--disable-kdeab \
|
||||
--disable-kde \
|
||||
--disable-mergelibs \
|
||||
--disable-online-update \
|
||||
--disable-systray \
|
||||
--with-alloc=$(use jemalloc && echo "jemalloc" || echo "system") \
|
||||
--with-build-version="Gentoo official package" \
|
||||
--enable-extension-integration \
|
||||
--with-external-dict-dir="${EPREFIX}/usr/share/myspell" \
|
||||
--with-external-hyph-dir="${EPREFIX}/usr/share/myspell" \
|
||||
--with-external-thes-dir="${EPREFIX}/usr/share/myspell" \
|
||||
--with-external-tar="${DISTDIR}" \
|
||||
--with-lang="" \
|
||||
--with-parallelism=${jbs} \
|
||||
--with-system-ucpp \
|
||||
--with-vendor="Gentoo Foundation" \
|
||||
--with-x \
|
||||
--without-fonts \
|
||||
--without-myspell-dicts \
|
||||
--without-help \
|
||||
--with-helppack-integration \
|
||||
--without-sun-templates \
|
||||
$(use_enable bluetooth sdremote-bluetooth) \
|
||||
$(use_enable coinmp) \
|
||||
$(use_enable collada) \
|
||||
$(use_enable cups) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable dbus) \
|
||||
$(use_enable eds evolution2) \
|
||||
$(use_enable firebird firebird-sdbc) \
|
||||
$(use_enable gltf) \
|
||||
$(use_enable gnome gconf) \
|
||||
$(use_enable gnome gio) \
|
||||
$(use_enable gnome lockdown) \
|
||||
$(use_enable gstreamer) \
|
||||
$(use_enable gtk) \
|
||||
$(use_enable gtk3) \
|
||||
$(use_enable kde kde4) \
|
||||
$(use_enable mysql ext-mariadb-connector) \
|
||||
$(use_enable odk) \
|
||||
$(use_enable opengl) \
|
||||
$(use_enable postgres postgresql-sdbc) \
|
||||
$(use_enable telepathy) \
|
||||
$(use_enable vba) \
|
||||
$(use_enable vlc) \
|
||||
$(use_enable webdav neon) \
|
||||
$(use_with coinmp system-coinmp) \
|
||||
$(use_with gltf system-libgltf) \
|
||||
$(use_with java) \
|
||||
$(use_with mysql system-mysql-cppconn) \
|
||||
$(use_with odk doxygen) \
|
||||
${internal_libs} \
|
||||
${java_opts} \
|
||||
${ext_opts}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# hack for offlinehelp, this needs fixing upstream at some point
|
||||
# it is broken because we send --without-help
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
|
||||
(
|
||||
grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk"
|
||||
source "${T}/config_host.mk" 2&> /dev/null
|
||||
|
||||
local path="${WORKDIR}/helpcontent2/source/auxiliary/"
|
||||
mkdir -p "${path}" || die
|
||||
|
||||
echo "perl \"${S}/helpcontent2/helpers/create_ilst.pl\" -dir=icon-themes/galaxy/res/helpimg > \"${path}/helpimg.ilst\""
|
||||
perl "${S}/helpcontent2/helpers/create_ilst.pl" \
|
||||
-dir=icon-themes/galaxy/res/helpimg \
|
||||
> "${path}/helpimg.ilst"
|
||||
[[ -s "${path}/helpimg.ilst" ]] || ewarn "The help images list is empty, something is fishy, report a bug."
|
||||
)
|
||||
|
||||
local target
|
||||
use test && target="build" || target="build-nocheck"
|
||||
|
||||
# this is not a proper make script
|
||||
make ${target} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
make unitcheck || die
|
||||
make slowcheck || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# This is not Makefile so no buildserver
|
||||
make DESTDIR="${D}" distro-pack-install -o build -o check || die
|
||||
|
||||
# Fix bash completion placement
|
||||
newbashcomp "${ED}"/etc/bash_completion.d/libreoffice.sh ${PN}
|
||||
rm -rf "${ED}"/etc/
|
||||
|
||||
if use branding; then
|
||||
insinto /usr/$(get_libdir)/${PN}/program
|
||||
newins "${WORKDIR}/branding-sofficerc" sofficerc
|
||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN}
|
||||
fi
|
||||
|
||||
# symlink the nsplugin to proper location
|
||||
# use gtk && inst_plugin /usr/$(get_libdir)/libreoffice/program/libnpsoplugin.so
|
||||
|
||||
# Hack for offlinehelp, this needs fixing upstream at some point.
|
||||
# It is broken because we send --without-help
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
|
||||
insinto /usr/$(get_libdir)/libreoffice/help
|
||||
doins xmlhelp/util/*.xsl
|
||||
|
||||
# Remove desktop files for support to old installs that can't parse mime
|
||||
rm -rf "${ED}"/usr/share/mimelnk/
|
||||
|
||||
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
|
||||
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Cache updates - all handled by kde eclass for all environments
|
||||
kde4-base_pkg_preinst
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
|
||||
use java || \
|
||||
ewarn 'If you plan to use lbase application you should enable java or you will get various crashes.'
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
kde4-base_pkg_postrm
|
||||
}
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/texstudio/texstudio-2.6.2.ebuild,v 1.3 2013/08/26 14:31:34 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit base fdo-mime qt4-r2
|
||||
|
||||
DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
|
||||
HOMEPAGE="http://texstudio.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
IUSE="video"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-text/hunspell
|
||||
app-text/poppler:=[qt4]
|
||||
dev-libs/quazip
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
|| ( ( >=dev-qt/qtgui-4.8.5:4 dev-qt/designer:4 ) <dev-qt/qtgui-4.8.5:4 )
|
||||
>=dev-qt/qtcore-4.6.1:4
|
||||
>=dev-qt/qtscript-4.6.1:4
|
||||
>=dev-qt/qtsvg-4.6.1:4
|
||||
>=dev-qt/qttest-4.6.1:4
|
||||
video? ( media-libs/phonon )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/latex-base
|
||||
app-text/psutils
|
||||
app-text/ghostscript-gpl
|
||||
media-libs/netpbm"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}"/${P/-/}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.6.0-hunspell-quazip.patch
|
||||
# 441914
|
||||
# "${FILESDIR}"/${P}-qtsingle.patch
|
||||
"${FILESDIR}"/${PN}-2.6.0-desktop.patch
|
||||
# Get it from fedora
|
||||
"${FILESDIR}"/${PN}-2.5-viewers-use-xdg-open.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
find hunspell quazip utilities/poppler-data -delete || die
|
||||
if use video; then
|
||||
sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
|
||||
fi
|
||||
|
||||
if use ppc || use ppc64; then
|
||||
cat > texmakerx_my.pri <<- EOF
|
||||
NO_CRASH_HANDLER=true
|
||||
EOF
|
||||
fi
|
||||
|
||||
qt4-r2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i
|
||||
for i in 16x16 22x22 32x32 48x48 64x64; do
|
||||
insinto /usr/share/icons/hicolor/${i}
|
||||
newins utilities/${PN}${i}.png ${PN}.png
|
||||
done
|
||||
qt4-r2_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/texstudio/texstudio-2.6.4.ebuild,v 1.1 2013/10/22 11:34:23 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit base fdo-mime prefix qt4-r2
|
||||
|
||||
DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
|
||||
HOMEPAGE="http://texstudio.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
|
||||
IUSE="video"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-text/hunspell
|
||||
app-text/poppler:=[qt4]
|
||||
dev-libs/quazip
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
|| ( ( >=dev-qt/qtgui-4.8.5:4 dev-qt/designer:4 ) <dev-qt/qtgui-4.8.5:4 )
|
||||
>=dev-qt/qtcore-4.6.1:4
|
||||
>=dev-qt/qtscript-4.6.1:4
|
||||
dev-qt/qtsingleapplication
|
||||
>=dev-qt/qtsvg-4.6.1:4
|
||||
>=dev-qt/qttest-4.6.1:4
|
||||
video? ( media-libs/phonon )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/latex-base
|
||||
app-text/psutils
|
||||
app-text/ghostscript-gpl
|
||||
media-libs/netpbm"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}"/${P/-/}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-hunspell-quazip.patch
|
||||
"${FILESDIR}"/${PN}-2.6.0-desktop.patch
|
||||
# Get it from fedora
|
||||
"${FILESDIR}"/${PN}-2.5-viewers-use-xdg-open.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
|
||||
|
||||
if use video; then
|
||||
sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e '/hunspell.pri/d' \
|
||||
-e '/quazip.pri/d' \
|
||||
-e '/qtsingleapplication.pri/d' \
|
||||
-e '/QUAZIP_STATIC/d' \
|
||||
-i ${PN}.pro || die
|
||||
|
||||
cp "${FILESDIR}"/texmakerx_my.pri . || die
|
||||
eprefixify texmakerx_my.pri
|
||||
|
||||
qt4-r2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i
|
||||
for i in 16x16 22x22 32x32 48x48 64x64; do
|
||||
insinto /usr/share/icons/hicolor/${i}
|
||||
newins utilities/${PN}${i}.png ${PN}.png
|
||||
done
|
||||
qt4-r2_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/texstudio/texstudio-2.6.6.ebuild,v 1.1 2013/11/06 12:39:25 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit base fdo-mime prefix qt4-r2
|
||||
|
||||
DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
|
||||
HOMEPAGE="http://texstudio.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
|
||||
IUSE="video"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-text/hunspell
|
||||
app-text/poppler:=[qt4]
|
||||
dev-libs/quazip
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
|| ( ( >=dev-qt/qtgui-4.8.5:4 dev-qt/designer:4 ) <dev-qt/qtgui-4.8.5:4 )
|
||||
>=dev-qt/qtcore-4.6.1:4
|
||||
>=dev-qt/qtscript-4.6.1:4
|
||||
dev-qt/qtsingleapplication
|
||||
>=dev-qt/qtsvg-4.6.1:4
|
||||
>=dev-qt/qttest-4.6.1:4
|
||||
video? ( media-libs/phonon )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/latex-base
|
||||
app-text/psutils
|
||||
app-text/ghostscript-gpl
|
||||
media-libs/netpbm"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}"/${P/-/}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.6.4-hunspell-quazip.patch
|
||||
"${FILESDIR}"/${PN}-2.6.0-desktop.patch
|
||||
# Get it from fedora
|
||||
"${FILESDIR}"/${PN}-2.5-viewers-use-xdg-open.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
|
||||
|
||||
if use video; then
|
||||
sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e '/hunspell.pri/d' \
|
||||
-e '/quazip.pri/d' \
|
||||
-e '/qtsingleapplication.pri/d' \
|
||||
-e '/QUAZIP_STATIC/d' \
|
||||
-i ${PN}.pro || die
|
||||
|
||||
cp "${FILESDIR}"/texmakerx_my.pri . || die
|
||||
eprefixify texmakerx_my.pri
|
||||
|
||||
qt4-r2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i
|
||||
for i in 16x16 22x22 32x32 48x48 64x64; do
|
||||
insinto /usr/share/icons/hicolor/${i}
|
||||
newins utilities/${PN}${i}.png ${PN}.png
|
||||
done
|
||||
qt4-r2_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,83 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/texstudio/texstudio-2.7.0.ebuild,v 1.1 2014/03/20 15:37:43 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit base fdo-mime prefix qt4-r2
|
||||
|
||||
DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
|
||||
HOMEPAGE="http://texstudio.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
|
||||
IUSE="video"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-text/hunspell
|
||||
app-text/poppler:=[qt4]
|
||||
dev-libs/quazip
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
|| ( ( >=dev-qt/qtgui-4.8.5:4 dev-qt/designer:4 ) <dev-qt/qtgui-4.8.5:4 )
|
||||
>=dev-qt/qtcore-4.6.1:4
|
||||
>=dev-qt/qtscript-4.6.1:4
|
||||
dev-qt/qtsingleapplication
|
||||
>=dev-qt/qtsvg-4.6.1:4
|
||||
>=dev-qt/qttest-4.6.1:4
|
||||
video? ( media-libs/phonon )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/latex-base
|
||||
app-text/psutils
|
||||
app-text/ghostscript-gpl
|
||||
media-libs/netpbm"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}"/${P/-/}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.6.4-hunspell-quazip.patch
|
||||
"${FILESDIR}"/${PN}-2.6.0-desktop.patch
|
||||
# Get it from fedora
|
||||
"${FILESDIR}"/${PN}-2.5-viewers-use-xdg-open.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
|
||||
|
||||
if use video; then
|
||||
sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e '/hunspell.pri/d' \
|
||||
-e '/quazip.pri/d' \
|
||||
-e '/qtsingleapplication.pri/d' \
|
||||
-e '/QUAZIP_STATIC/d' \
|
||||
-i ${PN}.pro || die
|
||||
|
||||
cat >> ${PN}.pro <<- EOF
|
||||
exists(texmakerx_my.pri):include(texmakerx_my.pri)
|
||||
EOF
|
||||
|
||||
cp "${FILESDIR}"/texmakerx_my.pri . || die
|
||||
eprefixify texmakerx_my.pri
|
||||
|
||||
qt4-r2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i
|
||||
for i in 16x16 22x22 32x32 48x48 64x64; do
|
||||
insinto /usr/share/icons/hicolor/${i}
|
||||
newins utilities/${PN}${i}.png ${PN}.png
|
||||
done
|
||||
qt4-r2_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-init-scripts/mysql-init-scripts-2.0.ebuild,v 1.1 2014/08/21 03:08:13 grknight Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-init-scripts/mysql-init-scripts-2.0-r1.ebuild,v 1.1 2014/09/15 14:17:12 grknight Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgagent/pgagent-3.4.0.ebuild,v 1.1 2014/09/15 18:31:46 titanofold Exp $
|
||||
|
||||
EAPI="5"
|
||||
CMAKE_IN_SOURCE_BUILD=1
|
||||
inherit cmake-utils eutils wxwidgets
|
||||
|
||||
MY_PN=${PN/a/A}
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="${MY_PN} is a job scheduler for PostgreSQL"
|
||||
HOMEPAGE="http://www.pgadmin.org/download/pgagent.php"
|
||||
SRC_URI="mirror://postgresql/pgadmin3/release/${PN}/${MY_PN}-${PV}-Source.tar.gz"
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-db/postgresql-base-9.0.0
|
||||
x11-libs/wxGTK:2.8
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/cmake-2.6
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}-Source"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s:share):share/${P}):" \
|
||||
-i CMakeLists.txt || die "Couldn't patch CMakeLists.txt"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
WX_GTK_VER="2.8"
|
||||
if has_version "x11-libs/wxGTK[X]"; then
|
||||
need-wxwidgets unicode
|
||||
else
|
||||
need-wxwidgets base-unicode
|
||||
fi
|
||||
mycmakeargs="-DSTATIC_BUILD:BOOLEAN=FALSE"
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
newinitd "${FILESDIR}/pgagent.initd" ${PN}
|
||||
newconfd "${FILESDIR}/pgagent.confd" ${PN}
|
||||
|
||||
rm "${ED}"/usr/{LICENSE,README} || die "Failed to remove useless docs"
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgmemcache/pgmemcache-2.2.0.ebuild,v 1.1 2014/09/16 02:53:10 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="A PostgreSQL API based on libmemcached to interface with memcached"
|
||||
HOMEPAGE="http://pgfoundry.org/projects/pgmemcache https://github.com/ohmu/pgmemcache"
|
||||
SRC_URI="https://github.com/ohmu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-db/postgresql-base
|
||||
dev-libs/cyrus-sasl
|
||||
>=dev-libs/libmemcached-1.0.18[sasl]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( NEWS README TODO )
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-15.0.0.090.ebuild,v 1.1 2014/09/15 16:47:25 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
INTEL_DPN=parallel_studio_xe
|
||||
INTEL_DID=4584
|
||||
INTEL_DPV=2015
|
||||
INTEL_SUBDIR=composerxe
|
||||
INTEL_SINGLE_ARCH=false
|
||||
|
||||
inherit intel-sdp
|
||||
|
||||
DESCRIPTION="Intel C/C++ Compiler"
|
||||
HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
|
||||
|
||||
IUSE="eclipse linguas_ja"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
DEPEND="
|
||||
!dev-lang/ifc[linguas_ja]
|
||||
eclipse? ( dev-util/eclipse-sdk )"
|
||||
RDEPEND="${DEPEND}
|
||||
~dev-libs/intel-common-${PV}[compiler,multilib=]"
|
||||
|
||||
INTEL_BIN_RPMS="compilerproc compilerproc-devel"
|
||||
INTEL_DAT_RPMS="compilerproc-common compilerproc-vars"
|
||||
|
||||
CHECKREQS_DISK_BUILD=325M
|
||||
|
||||
src_install() {
|
||||
if ! use linguas_ja; then
|
||||
find "${S}" -type d -name ja_JP -exec rm -rf '{}' + || die
|
||||
fi
|
||||
intel-sdp_src_install
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ifc-15.0.0.090.ebuild,v 1.1 2014/09/15 14:01:45 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
INTEL_DPN=parallel_studio_xe
|
||||
INTEL_DID=4584
|
||||
INTEL_DPV=2015
|
||||
INTEL_SUBDIR=composerxe
|
||||
INTEL_SINGLE_ARCH=false
|
||||
|
||||
inherit intel-sdp
|
||||
|
||||
DESCRIPTION="Intel FORTRAN Compiler"
|
||||
HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
|
||||
|
||||
IUSE="linguas_ja"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
DEPEND="!dev-lang/ifc[linguas_jp]"
|
||||
RDEPEND="${DEPEND}
|
||||
~dev-libs/intel-common-${PV}[compiler,multilib=]"
|
||||
|
||||
INTEL_BIN_RPMS="compilerprof compilerprof-devel"
|
||||
INTEL_DAT_RPMS="compilerprof-common compilerprof-vars"
|
||||
|
||||
CHECKREQS_DISK_BUILD=375M
|
||||
|
||||
src_install() {
|
||||
if ! use linguas_ja; then
|
||||
find "${S}" -type d -name ja_JP -exec rm -rf '{}' + || die
|
||||
fi
|
||||
intel-sdp_src_install
|
||||
}
|
@ -0,0 +1,111 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.5.16.ebuild,v 1.1 2014/09/15 18:28:56 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib toolchain-funcs versionator multilib-minimal
|
||||
|
||||
MY_P="${PN}${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="Tool Command Language"
|
||||
HOMEPAGE="http://www.tcl.tk/"
|
||||
SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz"
|
||||
|
||||
LICENSE="tcltk"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE="debug threads"
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SPARENT="${WORKDIR}/${MY_P}"
|
||||
S="${SPARENT}"/unix
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-8.5.13-multilib.patch
|
||||
|
||||
# Bug 125971
|
||||
epatch "${FILESDIR}"/${PN}-8.5.14-conf.patch
|
||||
|
||||
# workaround stack check issues, bug #280934
|
||||
use hppa && append-cflags "-DTCL_NO_STACK_CHECK=1"
|
||||
|
||||
tc-export CC
|
||||
|
||||
eautoconf
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# We went ahead and deleted the whole compat/ subdir which means
|
||||
# the configure tests to detect broken versions need to pass (else
|
||||
# we'll fail to build). This comes up when cross-compiling, but
|
||||
# might as well get a minor configure speed up normally.
|
||||
export ac_cv_func_memcmp_working="yes"
|
||||
export tcl_cv_str{str,toul,tod}_unbroken="ok"
|
||||
export tcl_cv_strtod_buggy="no"
|
||||
|
||||
econf \
|
||||
$(use_enable threads) \
|
||||
$(use_enable debug symbols)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
#short version number
|
||||
local v1=$(get_version_component_range 1-2)
|
||||
local mylibdir=$(get_libdir)
|
||||
|
||||
S= default
|
||||
|
||||
# fix the tclConfig.sh to eliminate refs to the build directory
|
||||
# and drop unnecessary -L inclusion to default system libdir
|
||||
|
||||
sed \
|
||||
-e "/^TCL_BUILD_LIB_SPEC=/s:-L$(pwd) *::g" \
|
||||
-e "/^TCL_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
|
||||
-e "/^TCL_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tcl${v1}/include:g" \
|
||||
-e "/^TCL_BUILD_STUB_LIB_SPEC=/s:-L$(pwd) *::g" \
|
||||
-e "/^TCL_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
|
||||
-e "/^TCL_BUILD_STUB_LIB_PATH=/s:$(pwd):${EPREFIX}/usr/${mylibdir}:g" \
|
||||
-e "/^TCL_LIB_FILE=/s:'libtcl${v1}..TCL_DBGX..so':\"libtcl${v1}\$\{TCL_DBGX\}.so\":g" \
|
||||
-i "${ED}"/usr/${mylibdir}/tclConfig.sh || die
|
||||
if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then
|
||||
sed \
|
||||
-e "/^TCL_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \
|
||||
-e "/^TCL_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \
|
||||
-i "${ED}"/usr/${mylibdir}/tclConfig.sh || die
|
||||
fi
|
||||
|
||||
# install private headers
|
||||
insinto /usr/${mylibdir}/tcl${v1}/include/unix
|
||||
doins *.h
|
||||
insinto /usr/${mylibdir}/tcl${v1}/include/generic
|
||||
doins "${SPARENT}"/generic/*.h
|
||||
rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/{tcl,tclDecls,tclPlatDecls}.h || die
|
||||
|
||||
# install symlink for libraries
|
||||
dosym libtcl${v1}$(get_libname) /usr/${mylibdir}/libtcl$(get_libname)
|
||||
dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
dosym tclsh${v1} /usr/bin/tclsh
|
||||
dodoc "${SPARENT}"/{ChangeLog*,README,changes}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
for version in ${REPLACING_VERSIONS}; do
|
||||
if ! version_is_at_least 8.5 ${version}; then
|
||||
echo
|
||||
ewarn "You're upgrading from <${P}, you must recompile the other"
|
||||
ewarn "packages on your system that link with tcl after the upgrade"
|
||||
ewarn "completes. To perform this action, please run revdep-rebuild"
|
||||
ewarn "in package app-portage/gentoolkit."
|
||||
ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
|
||||
ewarn "upgrade them before this recompilation, too,"
|
||||
echo
|
||||
fi
|
||||
done
|
||||
}
|
@ -0,0 +1,120 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.6.2.ebuild,v 1.1 2014/09/15 18:28:56 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib toolchain-funcs versionator multilib-minimal
|
||||
|
||||
MY_P="${PN}${PV}"
|
||||
|
||||
DESCRIPTION="Tool Command Language"
|
||||
HOMEPAGE="http://www.tcl.tk/"
|
||||
SRC_URI="mirror://sourceforge/tcl/${PN}-core${PV}-src.tar.gz"
|
||||
|
||||
LICENSE="tcltk"
|
||||
SLOT="0/8.6"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE="debug +threads"
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SPARENT="${WORKDIR}/${MY_P}"
|
||||
S="${SPARENT}"/unix
|
||||
|
||||
src_prepare() {
|
||||
find \
|
||||
"${SPARENT}"/compat/* \
|
||||
"${SPARENT}"/doc/try.n \
|
||||
-delete || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-8.5.13-multilib.patch
|
||||
|
||||
# Bug 125971
|
||||
epatch "${FILESDIR}"/${PN}-8.6.1-conf.patch
|
||||
|
||||
# workaround stack check issues, bug #280934
|
||||
use hppa && append-cflags "-DTCL_NO_STACK_CHECK=1"
|
||||
|
||||
tc-export CC
|
||||
|
||||
sed \
|
||||
-e 's:-O[2s]\?::g' \
|
||||
-i tcl.m4 || die
|
||||
|
||||
eautoconf
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# We went ahead and deleted the whole compat/ subdir which means
|
||||
# the configure tests to detect broken versions need to pass (else
|
||||
# we'll fail to build). This comes up when cross-compiling, but
|
||||
# might as well get a minor configure speed up normally.
|
||||
export ac_cv_func_memcmp_working="yes"
|
||||
export tcl_cv_str{str,toul,tod}_unbroken="ok"
|
||||
export tcl_cv_strtod_buggy="no"
|
||||
|
||||
econf \
|
||||
$(use_enable threads) \
|
||||
$(use_enable debug symbols)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
#short version number
|
||||
local v1=$(get_version_component_range 1-2)
|
||||
local mylibdir=$(get_libdir)
|
||||
|
||||
S= default
|
||||
# fix the tclConfig.sh to eliminate refs to the build directory
|
||||
# and drop unnecessary -L inclusion to default system libdir
|
||||
|
||||
sed \
|
||||
-e "/^TCL_BUILD_LIB_SPEC=/s:-L$(pwd) *::g" \
|
||||
-e "/^TCL_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
|
||||
-e "/^TCL_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tcl${v1}/include:g" \
|
||||
-e "/^TCL_BUILD_STUB_LIB_SPEC=/s:-L$(pwd) *::g" \
|
||||
-e "/^TCL_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
|
||||
-e "/^TCL_BUILD_STUB_LIB_PATH=/s:$(pwd):${EPREFIX}/usr/${mylibdir}:g" \
|
||||
-e "/^TCL_LIB_FILE=/s:'libtcl${v1}..TCL_DBGX..so':\"libtcl${v1}\$\{TCL_DBGX\}.so\":g" \
|
||||
-i "${ED}"/usr/${mylibdir}/tclConfig.sh || die
|
||||
if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then
|
||||
sed \
|
||||
-e "/^TCL_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \
|
||||
-e "/^TCL_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \
|
||||
-i "${ED}"/usr/${mylibdir}/tclConfig.sh || die
|
||||
fi
|
||||
|
||||
# install private headers
|
||||
insinto /usr/${mylibdir}/tcl${v1}/include/unix
|
||||
doins *.h
|
||||
insinto /usr/${mylibdir}/tcl${v1}/include/generic
|
||||
doins "${SPARENT}"/generic/*.h
|
||||
rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/{tcl,tclDecls,tclPlatDecls}.h || die
|
||||
|
||||
# install symlink for libraries
|
||||
dosym libtcl${v1}$(get_libname) /usr/${mylibdir}/libtcl$(get_libname)
|
||||
dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
dosym tclsh${v1} /usr/bin/tclsh
|
||||
dodoc "${SPARENT}"/{ChangeLog*,README,changes}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
for version in ${REPLACING_VERSIONS}; do
|
||||
if ! version_is_at_least 8.6 ${version}; then
|
||||
echo
|
||||
ewarn "You're upgrading from <${P}, you must recompile the other"
|
||||
ewarn "packages on your system that link with tcl after the upgrade"
|
||||
ewarn "completes. To perform this action, please run revdep-rebuild"
|
||||
ewarn "in package app-portage/gentoolkit."
|
||||
ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
|
||||
ewarn "upgrade them before this recompilation, too,"
|
||||
echo
|
||||
fi
|
||||
done
|
||||
}
|
@ -0,0 +1,120 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.5.16.ebuild,v 1.1 2014/09/15 18:31:13 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils multilib prefix toolchain-funcs versionator virtualx
|
||||
|
||||
MY_P="${PN}${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="Tk Widget Set"
|
||||
HOMEPAGE="http://www.tcl.tk/"
|
||||
SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz"
|
||||
|
||||
LICENSE="tcltk"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug threads truetype aqua xscreensaver"
|
||||
|
||||
RDEPEND="
|
||||
!aqua? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt
|
||||
truetype? ( x11-libs/libXft )
|
||||
xscreensaver? ( x11-libs/libXScrnSaver )
|
||||
)
|
||||
~dev-lang/tcl-${PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
!aqua? ( x11-proto/xproto )"
|
||||
|
||||
SPARENT="${WORKDIR}/${MY_P}"
|
||||
S="${SPARENT}"/unix
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-8.5.11-fedora-xft.patch \
|
||||
"${FILESDIR}"/${PN}-8.5.13-multilib.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-8.4.15-aqua.patch
|
||||
eprefixify Makefile.in
|
||||
|
||||
# Bug 125971
|
||||
epatch "${FILESDIR}"/${PN}-8.5.14-conf.patch
|
||||
|
||||
# Make sure we use the right pkg-config, and link against fontconfig
|
||||
# (since the code base uses Fc* functions).
|
||||
sed \
|
||||
-e 's/FT_New_Face/XftFontOpen/g' \
|
||||
-e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \
|
||||
-e 's:xft freetype2:xft freetype2 fontconfig:' \
|
||||
-i configure.in || die
|
||||
rm -f configure || die
|
||||
|
||||
tc-export CC
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mylibdir=$(get_libdir)
|
||||
|
||||
econf \
|
||||
--with-tcl="${EPREFIX}/usr/${mylibdir}" \
|
||||
$(use_enable threads) \
|
||||
$(use_enable aqua) \
|
||||
$(use_enable truetype xft) \
|
||||
$(use_enable xscreensaver xss) \
|
||||
$(use_enable debug symbols)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
Xemake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#short version number
|
||||
local v1=$(get_version_component_range 1-2)
|
||||
local mylibdir=$(get_libdir)
|
||||
|
||||
S= default
|
||||
|
||||
# normalize $S path, bug #280766 (pkgcore)
|
||||
local nS="$(cd "${S}"; pwd)"
|
||||
|
||||
# fix the tkConfig.sh to eliminate refs to the build directory
|
||||
# and drop unnecessary -L inclusion to default system libdir
|
||||
|
||||
sed \
|
||||
-e "/^TK_BUILD_LIB_SPEC=/s:-L${SPARENT}.*unix *::g" \
|
||||
-e "/^TK_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
|
||||
-e "/^TK_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tk${v1}/include:g" \
|
||||
-e "/^TK_BUILD_STUB_LIB_SPEC=/s:-L${SPARENT}.*unix *::g" \
|
||||
-e "/^TK_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
|
||||
-e "/^TK_BUILD_STUB_LIB_PATH=/s:${SPARENT}.*unix:${EPREFIX}/usr/${mylibdir}:g" \
|
||||
-e "/^TK_LIB_FILE=/s:'libtk${v1}..TK_DBGX..so':\"libk${v1}\$\{TK_DBGX\}.so\":g" \
|
||||
-i "${ED}"/usr/${mylibdir}/tkConfig.sh || die
|
||||
if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then
|
||||
sed \
|
||||
-e "/^TK_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \
|
||||
-e "/^TK_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \
|
||||
-i "${ED}"/usr/${mylibdir}/tkConfig.sh || die
|
||||
fi
|
||||
|
||||
# install private headers
|
||||
insinto /usr/${mylibdir}/tk${v1}/include/unix
|
||||
doins "${S}"/*.h
|
||||
insinto /usr/${mylibdir}/tk${v1}/include/generic
|
||||
doins "${SPARENT}"/generic/*.h
|
||||
rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/{tk,tkDecls,tkPlatDecls}.h || die
|
||||
|
||||
# install symlink for libraries
|
||||
dosym libtk${v1}$(get_libname) /usr/${mylibdir}/libtk$(get_libname)
|
||||
dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a
|
||||
|
||||
dosym wish${v1} /usr/bin/wish
|
||||
|
||||
dodoc "${SPARENT}"/{ChangeLog*,README,changes}
|
||||
}
|
@ -0,0 +1,130 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.6.2.ebuild,v 1.1 2014/09/15 18:31:13 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils multilib prefix toolchain-funcs versionator virtualx
|
||||
|
||||
MY_P="${PN}${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="Tk Widget Set"
|
||||
HOMEPAGE="http://www.tcl.tk/"
|
||||
SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz"
|
||||
|
||||
LICENSE="tcltk"
|
||||
SLOT="0/8.6"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug +threads truetype aqua xscreensaver"
|
||||
|
||||
RDEPEND="
|
||||
!aqua? (
|
||||
media-libs/fontconfig
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt
|
||||
truetype? ( x11-libs/libXft )
|
||||
xscreensaver? ( x11-libs/libXScrnSaver )
|
||||
)
|
||||
~dev-lang/tcl-${PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
!aqua? ( x11-proto/xproto )"
|
||||
|
||||
# Not bumped to 8.6
|
||||
#RESTRICT=test
|
||||
|
||||
SPARENT="${WORKDIR}/${MY_P}"
|
||||
S="${SPARENT}"/unix
|
||||
|
||||
src_prepare() {
|
||||
find \
|
||||
"${SPARENT}"/compat/* \
|
||||
-delete || die
|
||||
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-8.5.11-fedora-xft.patch \
|
||||
"${FILESDIR}"/${PN}-8.5.13-multilib.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-8.4.15-aqua.patch
|
||||
eprefixify Makefile.in
|
||||
|
||||
# Bug 125971
|
||||
epatch "${FILESDIR}"/${PN}-8.5.14-conf.patch
|
||||
|
||||
# Make sure we use the right pkg-config, and link against fontconfig
|
||||
# (since the code base uses Fc* functions).
|
||||
sed \
|
||||
-e 's/FT_New_Face/XftFontOpen/g' \
|
||||
-e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \
|
||||
-e 's:xft freetype2:xft freetype2 fontconfig:' \
|
||||
-i configure.in || die
|
||||
rm -f configure || die
|
||||
|
||||
tc-export CC
|
||||
|
||||
sed \
|
||||
-e 's:-O[2s]\?::g' \
|
||||
-i tcl.m4 || die
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mylibdir=$(get_libdir)
|
||||
|
||||
econf \
|
||||
--with-tcl="${EPREFIX}/usr/${mylibdir}" \
|
||||
$(use_enable threads) \
|
||||
$(use_enable aqua) \
|
||||
$(use_enable truetype xft) \
|
||||
$(use_enable xscreensaver xss) \
|
||||
$(use_enable debug symbols)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
Xemake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#short version number
|
||||
local v1=$(get_version_component_range 1-2)
|
||||
local mylibdir=$(get_libdir)
|
||||
|
||||
S= default
|
||||
|
||||
# normalize $S path, bug #280766 (pkgcore)
|
||||
local nS="$(cd "${S}"; pwd)"
|
||||
|
||||
# fix the tkConfig.sh to eliminate refs to the build directory
|
||||
# and drop unnecessary -L inclusion to default system libdir
|
||||
|
||||
sed \
|
||||
-e "/^TK_BUILD_LIB_SPEC=/s:-L${SPARENT}.*unix *::g" \
|
||||
-e "/^TK_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
|
||||
-e "/^TK_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tk${v1}/include:g" \
|
||||
-e "/^TK_BUILD_STUB_LIB_SPEC=/s:-L${SPARENT}.*unix *::g" \
|
||||
-e "/^TK_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
|
||||
-e "/^TK_BUILD_STUB_LIB_PATH=/s:${SPARENT}.*unix:${EPREFIX}/usr/${mylibdir}:g" \
|
||||
-e "/^TK_LIB_FILE=/s:'libtk${v1}..TK_DBGX..so':\"libk${v1}\$\{TK_DBGX\}.so\":g" \
|
||||
-i "${ED}"/usr/${mylibdir}/tkConfig.sh || die
|
||||
if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then
|
||||
sed \
|
||||
-e "/^TK_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \
|
||||
-e "/^TK_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \
|
||||
-i "${ED}"/usr/${mylibdir}/tkConfig.sh || die
|
||||
fi
|
||||
|
||||
# install private headers
|
||||
insinto /usr/${mylibdir}/tk${v1}/include/unix
|
||||
doins "${S}"/*.h
|
||||
insinto /usr/${mylibdir}/tk${v1}/include/generic
|
||||
doins "${SPARENT}"/generic/*.h
|
||||
rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/{tk,tkDecls,tkPlatDecls}.h || die
|
||||
|
||||
# install symlink for libraries
|
||||
dosym libtk${v1}$(get_libname) /usr/${mylibdir}/libtk$(get_libname)
|
||||
dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a
|
||||
|
||||
dosym wish${v1} /usr/bin/wish
|
||||
|
||||
dodoc "${SPARENT}"/{ChangeLog*,README,changes}
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/intel-common/intel-common-15.0.0.090-r1.ebuild,v 1.1 2014/09/15 12:34:28 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
INTEL_DPN=parallel_studio_xe
|
||||
INTEL_DID=4584
|
||||
INTEL_DPV=2015
|
||||
INTEL_SUBDIR=composerxe
|
||||
INTEL_SINGLE_ARCH=false
|
||||
|
||||
inherit intel-sdp
|
||||
|
||||
DESCRIPTION="Common libraries and utilities needed for Intel compilers and libraries"
|
||||
HOMEPAGE="http://software.intel.com/en-us/articles/intel-compilers/"
|
||||
|
||||
IUSE="+compiler"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
CHECKREQS_DISK_BUILD=375M
|
||||
|
||||
pkg_setup() {
|
||||
einfo ${INTEL_SDP_EDIR}
|
||||
INTEL_BIN_RPMS="openmp openmp-devel"
|
||||
INTEL_DAT_RPMS="compilerpro-common compilerpro-common-pset"
|
||||
if use compiler; then
|
||||
INTEL_BIN_RPMS+=" compilerpro-devel sourcechecker-devel"
|
||||
INTEL_DAT_RPMS+=" compilerpro-vars sourcechecker-common ccompxe compxe fcompxe"
|
||||
fi
|
||||
intel-sdp_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
intel-sdp_src_install
|
||||
local path rootpath ldpath arch fenv=35intelsdp
|
||||
cat > ${fenv} <<-EOF
|
||||
NLSPATH=${INTEL_SDP_EDIR}/lib/locale/en_US/%N
|
||||
INTEL_LICENSE_FILE="${INTEL_SDP_EDIR}"/licenses:"${EPREFIX}/opt/intel/license"
|
||||
EOF
|
||||
for arch in ${INTEL_ARCH}; do
|
||||
path=${path}:${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_EDIR}/mpirt/bin/${arch}
|
||||
rootpath=${rootpath}:${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_EDIR}/mpirt/bin/${arch}
|
||||
ldpath=${ldpath}:${INTEL_SDP_EDIR}/compiler/lib/${arch}:${INTEL_SDP_EDIR}/mpirt/lib/${arch}
|
||||
done
|
||||
cat >> ${fenv} <<-EOF
|
||||
PATH=${path#:}
|
||||
ROOTPATH=${rootpath#:}
|
||||
LDPATH=${ldpath#:}
|
||||
EOF
|
||||
|
||||
doenvd ${fenv}
|
||||
|
||||
cat >> "${T}"/40-${PN} <<- EOF
|
||||
SEARCH_DIRS_MASK="${INTEL_SDP_EDIR}"
|
||||
EOF
|
||||
insinto /etc/revdep-rebuild/
|
||||
doins "${T}"/40-${PN}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
# ChangeLog for dev-libs/libbase58
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libbase58/ChangeLog,v 1.1 2014/09/15 23:20:35 blueness Exp $
|
||||
|
||||
*libbase58-0.1.1 (15 Sep 2014)
|
||||
*libbase58-0.1.0 (15 Sep 2014)
|
||||
|
||||
15 Sep 2014; Anthony G. Basile <blueness@gentoo.org> +libbase58-0.1.0.ebuild,
|
||||
+libbase58-0.1.1.ebuild, +metadata.xml:
|
||||
Initial commited, needed for bfgminer-4.8 and above
|
||||
|
@ -0,0 +1,26 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST libbase58-0.1.1.tar.gz 6564 SHA256 51f665b52efc99b7a8205101569a0580a7d7defda1c4597e6e467c164f86a206 SHA512 c47cb7f891c54a8b07a01f033312baa97b7722965cc0c5003fb8591dedc304dd3ff408e8b31ee4b0634b58f6a7f0be55bee039a1fd8e24fdb62f7a72c4be7c3b WHIRLPOOL ec72557af9269a47a33c4d75260821b606b75a644ded2f4f30f02657fc3a6586240f91d76718b219e7cbde8a636987f5145405faa9603c2c19022aeeac1be878
|
||||
DIST v0.1.0.tar.gz 5807 SHA256 43ac21173353c3d284406986501d15972f589b6d9247f61766b7acbf1f5a7a4a SHA512 8bfeeb194736cae291308b281f23f49774943dc0151863ddf99b92b657c0151a9873a110f79679e81f14bf0ecf3cf00bf43f517a24d5e89d032a0a5ebed1a358 WHIRLPOOL ba3baed348e4e7265ad14c04f7fca9b728ebd026a61275e4aaa852268f2513bc001610f013159b72c0367255a4c2d3d69b18c7b693c5e6eab6269c4894b6667c
|
||||
EBUILD libbase58-0.1.0.ebuild 690 SHA256 226ca5a889e08ad9e812c8a61f19fcbdb1b229080bd0003985e402c9be32fc1a SHA512 16146c7168a2fa1efd6c8d3995c9a1f22310a9fa1af8beed8768bb8e76ec4744b8bc6276f2b04397f67943e70bc8ac6269924ac1951ad51458cc71c2759ee4b2 WHIRLPOOL a3e313fad6eef9f82d67e58e46a86ba0bd55430869083cd980c5e8062ab7f0615ec984f35e321f7e0192957c24a7536faf3e56d6a89848d304cb2c463887cd06
|
||||
EBUILD libbase58-0.1.1.ebuild 705 SHA256 533cde16eadf99c07f14dab8903f8c98540ad883b28ffbdd814dd2d309385f46 SHA512 90e79991dbc11e5fe1012d4c757abfcc0f1d9f927192a2e3d8197da9fcad1339bc1ab29f62a71be4761076309e47f1f33e8e2fe3ea9f6389ed7108528b501f41 WHIRLPOOL 9f1ce91f4ca85e1ac0e6628366b4ab6732ada022b49c4d1d6829a3e64fd7ddc6a1df637256d82b3fd0a77606ff0bb83e2518a6ec109e090355991b97cc1c9929
|
||||
MISC ChangeLog 451 SHA256 d087f33c78805c5a5cb0389e1443f8d25a8f19c11cb23da3d6dbb54ff0cc1980 SHA512 e54892e402a04ca775f8e1f6fe15e54611f3ecbc8b8b2512aa7e73a7184533856961af4a3aee09d270885ad88f20951293ad80b48b1319bb9de7b0773520632f WHIRLPOOL ff4c95e1a7af70a3fcfc4a165d83411de2c36ec18eeaba64c9a9a6c643ccb5e90adbccb0a1bf48fa662d325bcfa92936f300327ac72114cab63a7e8bd77b9735
|
||||
MISC metadata.xml 416 SHA256 7a17fe3e520141d8ada473e83478be6323255112816f735b77ef6744a982a2df SHA512 831d9b71c9092d2011f0a1c8021fcd30b790f6345ed191a459529bd0fc1700430e58284e8da07017cdd7801462f18a6b2b8aa668f7608ae85df0ae2c705cf756 WHIRLPOOL 56d83daa2b351c05ea4f81b2c05c0357866a55a7d3fd279f9be6352dc4759c50366b2d08116039dc419ca4bf88c48ea0b656e4b29d274145ed1517ab90bf9194
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iQIcBAEBCAAGBQJUF3TuAAoJEJOE+m71LUu6jVEP/iXx5SDj1kFXexitBJuyapCn
|
||||
BeHgajnusAbMAe0c/aMhiBee9PfKzcPo3RquPgezE4jbXOwKGen6EXiMid6kNMwb
|
||||
11XMNbY75d32VNtZP6e9hzz3J8AzLhr91/f1O/y2tiHST9zCBjoO1blIvKEwCEpE
|
||||
h/+oHcCNPkLMx34u2XKwP2TJUJ+1hghOH8At3+giVxTh41cOK5V47KjF7abINZFz
|
||||
tjl732/rzbnmVtbZbi2heouC9HdswhBPBHgqJM1vAl5YsOh9NkK3zCMtem4c5iwP
|
||||
XZs3Z7/QBN63LWAXZmNvUTuoD6PnSdtppXFqr3R/n8096TkhP8Jx+tIO8Xk1sbLF
|
||||
1SXBTYft2W4gRleXbuKeZatBvkeQ+fMEnTp/tRAB6zq4l635KEGBqhPDgTZArbBU
|
||||
jq2JPVWlekh+D51jN/rY5ZP+AyutNaetRbs+twVnmNoh5IdZ5M+fJR+a9nzjtO1b
|
||||
lOok2DLpeDh7MqEtLm34PaVdK3O24bObWHkSU0rEYF4D7kq63RkwM7uTo2VCi8ch
|
||||
SFTwCJ2et/ogzmGTy6VxTity4k1ktHdum+8cFXgnOkJL301bEsC7VTLPacECSqwe
|
||||
/NnUKJqc+zewIys7wdAH+NTK9eA+Hm2jpY/9ueaOFfc/WiKIlhFNz5iVK3AtBMuc
|
||||
Lua5FhNYkWe5F4QkMlMQ
|
||||
=y0J1
|
||||
-----END PGP SIGNATURE-----
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libbase58/libbase58-0.1.0.ebuild,v 1.1 2014/09/15 23:20:35 blueness Exp $
|
||||
|
||||
EAPI=5
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="C implementation of Bitcoin's base58 encoding"
|
||||
HOMEPAGE="https://github.com/luke-jr/libbase58"
|
||||
LICENSE="MIT"
|
||||
|
||||
SRC_URI="https://github.com/luke-jr/${PN}/archive/v${PV}.tar.gz"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
|
||||
IUSE="tools"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-static
|
||||
$(use_enable tools tool)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libbase58/libbase58-0.1.1.ebuild,v 1.1 2014/09/15 23:20:35 blueness Exp $
|
||||
|
||||
EAPI=5
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="C implementation of Bitcoin's base58 encoding"
|
||||
HOMEPAGE="https://github.com/luke-jr/libbase58"
|
||||
LICENSE="MIT"
|
||||
|
||||
SRC_URI="https://github.com/luke-jr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
|
||||
IUSE="tools"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-static
|
||||
$(use_enable tools tool)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>blueness@gentoo.org</email>
|
||||
<name>Anthony G. Basile</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>luke_gentoo_bitcoin@dashjr.org</email>
|
||||
<name>Luke Dashjr</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name='tools'>Build command line base58 tool</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtasn1/libtasn1-4.2.ebuild,v 1.1 2014/09/15 19:16:32 alonbl Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools-multilib
|
||||
|
||||
DESCRIPTION="ASN.1 library"
|
||||
HOMEPAGE="http://www.gnu.org/software/libtasn1/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 LGPL-2.1"
|
||||
SLOT="0/6" # subslot = libtasn1 soname version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
DEPEND=">=dev-lang/perl-5.6
|
||||
sys-apps/help2man
|
||||
virtual/yacc"
|
||||
RDEPEND="
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20131008-r16
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS )
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs
|
||||
[[ "${VALGRIND_TESTS}" == "0" ]] && myeconfargs+=( --disable-valgrind-tests )
|
||||
autotools-multilib_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-multilib_src_install
|
||||
|
||||
if use doc ; then
|
||||
dodoc doc/libtasn1.pdf
|
||||
dohtml doc/reference/html/*
|
||||
fi
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue