parent
859a7f35dc
commit
25b0fe22bb
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29314 BLAKE2B ef2b5757f442ebe5f36b409b123985985600900c48890a842596431d86bc494910eb361aa291217a27eb852cd14c03054e41d81226efd7546f30e5c5dcd9a5ba SHA512 fe961b1db91e4ec5db1118b65cfc361ed33bf5729d52c1fd6ada815dbb0d4fbfab15401d2d3c9cbadb8f66f619b5fa51fd4eedd0520f8e47093457ec37a65702
|
||||
TIMESTAMP 2019-04-10T08:08:46Z
|
||||
MANIFEST Manifest.files.gz 29315 BLAKE2B e990b28f6870a38379306645a07a7b34596849a75a074755d71d56fd69d8c461828e86c27b840ba241f62a2ff07a8c84db5e7fdc45542cbf091665e9ea4780d5 SHA512 35ed29054a42be4eae0e919053d6767a753cac43dad0accbf588349576be4c750063408ac529e95da6b5c4e9ab053c6486fd84feb0ab0f1c34faa845fbc2154e
|
||||
TIMESTAMP 2019-04-11T21:08:47Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlytpI5fFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlyvrN9fFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAjiBAAnMNzkbvmfI/7zTquXDWIkkTKjlgrFQuAeJRvhqcytrC9MF0v+fixlcyg
|
||||
rWodw2qm5+gonmX+i4KKrUJWyoYu2L/8eb2qHo5xGDkR65FaIL6O7VpUrZIuEiSw
|
||||
yy5UtwVv70/XcslVY+H2A1v7Wy03O5kQy7Rp5BWjd7hIEWgUDueykFZPjCz1w+mP
|
||||
3gAjZxbp+9YG7oBZGb0R86h8EHyVA35nssdRSNNu2YWdzjqYSB1r3ZiCL8faPO1k
|
||||
HZs9TOEJKHmfBETZhl2vPBWfhhpQOG7Aycw912PUi5EJb2m1pmZA6y5Gbwwk0jPt
|
||||
EWez17f0qDkbQqg4+aTRBdaQf4OMXEgk8a/ROwIIWfT1Sx1sBFOsdVZNFi3KgoUa
|
||||
a3PgaBNKXXQU/kgy3st9hfsx1LXgvvQW+MP5memiNufxecQo/dDNaqnO1K4rWnfE
|
||||
KPG8xdwfwjj1kis81UyrKw1skuBvrSzGYDpACAIjNycUxf40tJqTI4HYvyj/pLP9
|
||||
5QcWBdv7/4EVuupzkj1mCaH+zMyQA+uY+LNIMVaJiLBYREvjgRcv8KtgMZQLsQ05
|
||||
oep3u2b5VYfqTZqDjDqoMw8V/bOk0IaX6k1MY0GfdbU1BtL1f2zPWLT2dcOS89Hc
|
||||
O9iIKbaXoZwpoTkOt33CUp0lsPNcIq+fUg8hF+sNyolvmsoZ2HI=
|
||||
=Q3ng
|
||||
klByrg//RfUqtid+kAEgO8JwPWN/1iJiOeUXH5+qUQgkQdrcM9xakyX2753JcNUj
|
||||
jI2b522jPYrDAxaeOHav6MkFPMTWxBY/nhXM/NoCfrgcz9ORVP2adW2S/JNnj5fa
|
||||
YD2v/Hwrv4bHm9cgE8Q7Te5vyhKzqgB5npYmnXA9IJJr+oT0hITTwgA4wpNxunYv
|
||||
azNrD5Wk9EDmdUanHN04NeoLKhkDYroTuBrP+8B1gLDEueRufkdc4O+PeH1rhASc
|
||||
FD1+hnUX0yOScp06kU9xh5eA7iAd75z+p0ja6KeumaBeqhE9q9WIH+ujBIX11OlB
|
||||
kFJV1gBkD5G5HbcYEOg+Qav2pwmo3IKl0un268OaXXqnh7Vlo5n9/sJgx1MdGley
|
||||
Nx8hNdQSWVzQ3wctm2O+u68CIb7z9HuBdpp82LbZJLEDD+zEII9qDcMsdYGR+wjo
|
||||
Xlvg8gji50nzD+MPpdUA4NlXMr0cyghNwfcNZo329svEcv6a8KdV35ptJGszHcPT
|
||||
4dIAahyixTDG4QNKZZt3emYB3fJxa0yNMEcpqrEz/xRIsZB5py8Cl+ao8xL9QWgj
|
||||
r18fwsOFe3dv//R7jSefhgQn5g4SVZhgNfKrVQ67WpEXRSgQE5z5d9BfHMc2FMr3
|
||||
X9nl0W2bGAleYoTxwp6NA3mmC1+LJUP6wbqjwaxuqqgKwnLALJU=
|
||||
=JYiw
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,6 +1,8 @@
|
||||
AUX glance.initd 375 BLAKE2B 3d061f0357b8782e6abb0e2f6c779d8901fc7211238b877f3078cea66bc6086e80a530729b6484f110c02e23375fddde7f0ddfd22a6451ef84d9ec3caaa9d6cc SHA512 c6c433334bb337c708e31fac7869bf29e89516b857800d7cb77d264766483f54976dda6d83460078eed0dee14f0770a31adce344ec7fca04c2040b21dcf239b5
|
||||
DIST glance-17.0.0.tar.gz 1961137 BLAKE2B ff649ce366739320bcc5073cb60cc24ab09e098bd6808374007f89808d6caf020a77f711a714b34f8a1ef5b0754220aab7c35c02fbdc0d3d0f44e24185a8cdc4 SHA512 cd10bd2d3e98ab1a80ec4f09b5954dbc334079a36d3dfc0d27c5a4f40e5920e0a6fb91c0fc5430c9e625a375e44a8d886568f2a712190dc0f80df10b4998e9af
|
||||
DIST glance-18.0.0.tar.gz 1987182 BLAKE2B 1e30d1897b360a8691e79e5e4eda290148146dd55103ea44c5f2cc96990dde0d2cf6bdf785913b5712dc0dda4a79ff0a2cf9bac1a58f5195fe5f5cc22116cae6 SHA512 79129c6ee1cce0fec0c5e656a97278ae275aa8ba33690ac62959f317c4e6b2f548ab0c97f0905dcda2500594acb3f5c05644064bdd3cccb443c593513522d274
|
||||
EBUILD glance-17.0.0.ebuild 4935 BLAKE2B 06082f3229cf0c8f1af11de8481734748fc783130567e14a19f6bce50b5aceeef6baffe378251ba0591cabfb701906de6ebff5524deb67c6767f3849ab28e829 SHA512 75bad0550a099f7b404dc364c5b01c7190d9c64392414b42f7a50de475959c99f9557aec951c435f59870aae1621c5d6b4f529042b18aa3a2ef7936e47454d0e
|
||||
EBUILD glance-18.0.0.ebuild 5068 BLAKE2B c330360d9683189e8aa025e973bef6f5dbc62ee9f7dcc589b4821efdae4a7a45e42654649f2fba70246d75d64ce63a04f39e9c0481e1679a69322e51740a6b23 SHA512 0c4bab3c4ad64ab7800bc8afbc65a6338e959a57452270bb267239d50d816e27911dbbd6c49e66181e9ddf24ce72c1c266108f7c1e4eaf65be7e657d7bf3c353
|
||||
EBUILD glance-2018.2.9999.ebuild 4940 BLAKE2B 5fc2e5aee453fb29c78f196870208abbde718bbe2a7e33a513aacc121317430b82370a683d5bcad57b2400aff6cf9e973d4f6a956df67f33784035ff78897e07 SHA512 81178ab2a70ce97fba1e3baa4c63f09f0d5898a4057ad428c536b4b8c20daee16eb4698a44276bc23b71a5d20604415435cacb5e0558a53add156b29894be711
|
||||
EBUILD glance-2019.1.9999.ebuild 5068 BLAKE2B c330360d9683189e8aa025e973bef6f5dbc62ee9f7dcc589b4821efdae4a7a45e42654649f2fba70246d75d64ce63a04f39e9c0481e1679a69322e51740a6b23 SHA512 0c4bab3c4ad64ab7800bc8afbc65a6338e959a57452270bb267239d50d816e27911dbbd6c49e66181e9ddf24ce72c1c266108f7c1e4eaf65be7e657d7bf3c353
|
||||
MISC metadata.xml 786 BLAKE2B 2d0d8d4d270200eafcb2570528bfc0fb0f3932295550186f9cf930c05d7ade06faf004d159047fe347716249166cf9f595c2512cea86aa86fc2c604582380106 SHA512 eed1ca2a7e15b1844de0a3a35453ab5890622cf161407df5ccb9d21ab2634691c94237496ddc8ab02881a687e16f8378f37817b20705112e11ee55d2a813f99a
|
||||
|
@ -0,0 +1,146 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
|
||||
|
||||
inherit distutils-r1 user
|
||||
|
||||
DESCRIPTION="Services for discovering, registering, and retrieving VM images"
|
||||
HOMEPAGE="https://launchpad.net/glance"
|
||||
|
||||
if [[ ${PV} == *9999 ]];then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/openstack/glance.git"
|
||||
EGIT_BRANCH="stable/stein"
|
||||
else
|
||||
SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="doc mysql postgres +sqlite +swift"
|
||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||
|
||||
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/pbr-2.1.0"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}"
|
||||
|
||||
#note to self, wsgiref is a python builtin, no need to package it
|
||||
#>=dev-python/wsgiref-0.1.2[${PYTHON_USEDEP}]
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-python/defusedxml-0.5.0[${PYTHON_USEDEP}]
|
||||
sqlite? (
|
||||
>=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}]
|
||||
)
|
||||
mysql? (
|
||||
>=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
|
||||
!~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
|
||||
)
|
||||
postgres? (
|
||||
>=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}]
|
||||
!~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/routes-2.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.8.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-sqlparse-0.2.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/alembic-0.8.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-upgradecheck-0.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/futurist-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/taskflow-2.16.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/keystonemiddleware-4.17.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/WSME-0.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/prettytable-0.7.0[${PYTHON_USEDEP}]
|
||||
<dev-python/prettytable-0.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/paste-2.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-17.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-db-4.27.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-messaging-5.29.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-messaging-9.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-policy-1.30.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/retrying-1.2.3[${PYTHON_USEDEP}]
|
||||
!~dev-python/retrying-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/glance_store-0.26.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/cursive-0.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/os-win-3.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
#PATCHES=(
|
||||
#)
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup glance
|
||||
enewuser glance -1 -1 /var/lib/glance glance
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i '/xattr/d' test-requirements.txt || die
|
||||
sed -i '/pysendfile/d' test-requirements.txt || die
|
||||
sed -i '/^hacking/d' test-requirements.txt || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && "${PYTHON}" setup.py build_sphinx
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
newinitd "${FILESDIR}/glance.initd" glance-api
|
||||
|
||||
diropts -m 0750 -o glance -g glance
|
||||
dodir /var/log/glance /var/lib/glance/images /var/lib/glance/scrubber
|
||||
keepdir /etc/glance
|
||||
keepdir /var/log/glance
|
||||
keepdir /var/lib/glance/images
|
||||
keepdir /var/lib/glance/scrubber
|
||||
|
||||
insinto /etc/glance
|
||||
insopts -m 0640 -o glance -g glance
|
||||
doins -r etc/*.ini etc/*.conf etc/*.sample etc/*.json etc/meta*
|
||||
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
rm -r ${ED}/usr/etc
|
||||
}
|
@ -1,9 +1,11 @@
|
||||
AUX keepassxc-2.3.3-qt-5.11-edit-entry-widget-includes.patch 249 BLAKE2B 52875492ce10a1ee9c33d213a4c72ac72ffbe9fb9ba46cfb57d7de9d97011643ad9bcf4b106a7cc909c81e55542740c5ad3626789f3d0de12ba48493b43cb955 SHA512 8734ddcbe9f5432939d6d0c1a9c16ef9a192b00efab20bb5f50a1dab12b475090d4028625194978872dd801a0b7ceb6bac4102401b054eeca15054667b9aa9b9
|
||||
AUX keepassxc-2.4.0-build_fix.patch 1419 BLAKE2B b5661c75008c9031598ee704b21e0581a6e3859addb9b4e642cca415b06f26cb7e6a984fb942f648f7d4082c17e198644230ddf711696971df6754cf4c6eb119 SHA512 3e659b5048089528c2055f9481119e66f655b2531a4347d4ca6e439bcc82566f2e658bdf4442e6c678d19811ca494533e7ce08e14dab3148c841084f2f5ab898
|
||||
AUX keepassxc-2.4.0-update_checker_toggle.patch 18616 BLAKE2B 5b13c5ab493b955dc31e7f928c471ec11095f26a2d2f76a5145318e0e35dc751187eae11f9467a78c0455ae8ab0a6a0045c6b4670a701f13e56910ac1b484808 SHA512 138f0de9bd862423a4764fcc61c133ef98d800ce6ab3cde0fe304352866266bbd8d8acd8dabd131e8189e8cbc551f92464f03c199f9f02861534c17b30a94ea2
|
||||
AUX keepassxc-dont_call_mandb.patch 792 BLAKE2B 3154b6624a2e5923a3b3ad9edfbaedd5c0bba77f47108913d8eece63cbc4df571f516a41d72db0287a7a4d8741ab309cc7e09c8fcddaec0bf39ed09479607329 SHA512 21bd27e713357f5aa522a2263a1d03b8a595fb0d51ea10c034358169cb2f72c70585b04dde8f0d8e9af30c9ecf055b528b975a9701372d4f726a8f50b347d8f4
|
||||
DIST keepassxc-2.3.4-src.tar.xz 4137176 BLAKE2B bbf8dbef5fb365f3c0d9332454b2b3bce7d4e411f43939ae683428ca669a459f1662bb8b1a1da228bc9447ee15349a5cd558e4fdfcc5194f22401f56003fd0f0 SHA512 edca22ef9d7c553d21d8ea6115a5635265176acc56fdf055f1961a3e65046de49ed5b67eb68ecf4f925226fb5bca140d5d473a5082301168f6a8bb7979f562a8
|
||||
DIST keepassxc-2.4.0-src.tar.xz 3252104 BLAKE2B 7c82822f6fb0eaf6b5d086aebdf4927af215339f92e7f52104e05d5ff301461a1ad816d8a39b377c717e975001c9295ec6d8b2f2003a2215c05931eb9acb5c73 SHA512 b7295f5983237606efd236955dc73d477992d944e547eeb2c3a267d846e70ce6f83e489f58e3bd9b5bb21decabd9052a4ea7b98bd98e8283abbb678ae19e5559
|
||||
EBUILD keepassxc-2.3.4-r1.ebuild 1847 BLAKE2B 4de124b498c9d101b56a9c966170d6bfef024ac8853b166c82e42244a209956f062ebe3f1cfa99d6b62fc2ce3569b884ede3cda338bfd6d92ca5575f18a30f33 SHA512 bbcaea1ebd466a585375cb29688761202bdff37fa4ec18f40134e933d8fa7036d8be422b822b3dbc307ca16fbc8a509f04d6f29c2e7b442143fcedd7b662eb6f
|
||||
EBUILD keepassxc-2.4.0-r1.ebuild 2163 BLAKE2B 5dd1a135a8c3eb1dbebbf9424f85955449196bd86bfbf9c6fe00a07fc5d166158d9c75c1dab87c611fe4f3420133976d5e5f25517677f74148ac09571906d9c5 SHA512 e77ea5b046d744c59d3d1cb6fa9328697eae8c9a6a0a0acdc13990f6871b74484fe9f69c9b3a62b575d170b0df756c7db631c4804228e29d9445308291817129
|
||||
EBUILD keepassxc-2.4.0.ebuild 2087 BLAKE2B 95aa54e8b74d315affb3300c0384faeea4861b79fdf52037c15b1c2beb3da15a9de9bd58f70debdd21f3bd5417ccadb5b8d001787a253f482c6e0edae58afd68 SHA512 9e97dbc7d7182a3d1ad53de47403baf7b0026271241e936d60039238869faf0b6b48fe1d463f2effb45498d822067352e2bc238efaad4260e1996ec9ac9750fd
|
||||
EBUILD keepassxc-9999.ebuild 1995 BLAKE2B 6b883c1cc942e330d437707367e9e6e416432ac5c932360fb561eac3ff4af72e70b50ea58084aad0082255d0f1528168e96ac8e9faff96fcea8814760f4893c8 SHA512 75d6f738836de30ace55d71c8d69b0bb4837542be721fb4663bfaef595f1b0d7c8d15bf1211549c2219f98ec45c49e2ddec772956d0347a470dd3ef55b8b5bd1
|
||||
MISC metadata.xml 891 BLAKE2B 0c279d26b8f00d816d92a8fdd428629cf92a0ee7c0789ac60c9b5ea9b491dbd495a09815785fa99427ae8f5701dff0da8a06065059b1a6f05f1cdadbdde88192 SHA512 ec6fe12b1b508784947b55bb562a9e99632481ce06289b4dd7325f0834789fa4df99a15792ab7e91bab169c89a0a5a4c99ccd3372f1a2ff84cece49c4acd1779
|
||||
|
@ -0,0 +1,445 @@
|
||||
From 28994fef0d2c04690490f34b5da87c42e60a6b5e Mon Sep 17 00:00:00 2001
|
||||
From: Jonathan White <support@dmapps.us>
|
||||
Date: Tue, 9 Apr 2019 21:06:13 -0400
|
||||
Subject: [PATCH] Enhance update checker
|
||||
|
||||
* Reduce initial update check notification to 500 ms to prevent inappropriately stealing focus from user
|
||||
* Add build flag WITH_XC_UPDATECHECK which defaults to ON
|
||||
* Update checks are resolved every 7 days instead of every time the application is started
|
||||
* Better checks for beta builds; ignore snapshots
|
||||
* Increase test cases
|
||||
---
|
||||
CMakeLists.txt | 5 ++
|
||||
src/CMakeLists.txt | 1 +
|
||||
src/config-keepassx.h.cmake | 1 +
|
||||
src/core/Clock.cpp | 1 +
|
||||
src/gui/ApplicationSettingsWidget.cpp | 25 ++++++-
|
||||
src/gui/ApplicationSettingsWidget.h | 2 +
|
||||
src/gui/ApplicationSettingsWidgetGeneral.ui | 39 +++++++---
|
||||
src/gui/MainWindow.cpp | 12 ++--
|
||||
src/updatecheck/UpdateChecker.cpp | 79 +++++++++++++--------
|
||||
src/updatecheck/UpdateChecker.h | 2 +-
|
||||
tests/TestUpdateCheck.cpp | 35 ++++++---
|
||||
11 files changed, 147 insertions(+), 55 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 658548f7..4f8a419c 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -49,6 +49,7 @@ option(WITH_XC_YUBIKEY "Include YubiKey support." OFF)
|
||||
option(WITH_XC_SSHAGENT "Include SSH agent support." OFF)
|
||||
option(WITH_XC_KEESHARE "Sharing integration with KeeShare" OFF)
|
||||
option(WITH_XC_KEESHARE_SECURE "Sharing integration with secured KeeShare containers" OFF)
|
||||
+option(WITH_XC_UPDATECHECK "Include automatic update checks; disable for controlled distributions" ON)
|
||||
if(APPLE)
|
||||
option(WITH_XC_TOUCHID "Include TouchID support for macOS." OFF)
|
||||
endif()
|
||||
@@ -76,6 +77,10 @@ else()
|
||||
set(WITH_XC_CRYPTO_SSH OFF)
|
||||
endif()
|
||||
|
||||
+if(WITH_XC_UPDATECHECK)
|
||||
+ set(WITH_XC_NETWORKING ON)
|
||||
+endif()
|
||||
+
|
||||
set(KEEPASSXC_VERSION_MAJOR "2")
|
||||
set(KEEPASSXC_VERSION_MINOR "4")
|
||||
set(KEEPASSXC_VERSION_PATCH "0")
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index 110dc606..31f29033 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -195,6 +195,7 @@ add_feature_info(SSHAgent WITH_XC_SSHAGENT "SSH agent integration compatible wit
|
||||
add_feature_info(KeeShare WITH_XC_KEESHARE "Sharing integration with KeeShare")
|
||||
add_feature_info(KeeShare-Secure WITH_XC_KEESHARE_SECURE "Sharing integration with KeeShare with secure sources")
|
||||
add_feature_info(YubiKey WITH_XC_YUBIKEY "YubiKey HMAC-SHA1 challenge-response")
|
||||
+add_feature_info(UpdateCheck WITH_XC_UPDATECHECK "Automatic update checking")
|
||||
if(APPLE)
|
||||
add_feature_info(TouchID WITH_XC_TOUCHID "TouchID integration")
|
||||
endif()
|
||||
diff --git a/src/config-keepassx.h.cmake b/src/config-keepassx.h.cmake
|
||||
index 7d701886..2acff446 100644
|
||||
--- a/src/config-keepassx.h.cmake
|
||||
+++ b/src/config-keepassx.h.cmake
|
||||
@@ -20,6 +20,7 @@
|
||||
#cmakedefine WITH_XC_KEESHARE
|
||||
#cmakedefine WITH_XC_KEESHARE_INSECURE
|
||||
#cmakedefine WITH_XC_KEESHARE_SECURE
|
||||
+#cmakedefine WITH_XC_UPDATECHECK
|
||||
#cmakedefine WITH_XC_TOUCHID
|
||||
|
||||
#cmakedefine KEEPASSXC_BUILD_TYPE "@KEEPASSXC_BUILD_TYPE@"
|
||||
diff --git a/src/core/Clock.cpp b/src/core/Clock.cpp
|
||||
index 88ac4fb7..be9e91dc 100644
|
||||
--- a/src/core/Clock.cpp
|
||||
+++ b/src/core/Clock.cpp
|
||||
@@ -30,6 +30,7 @@ QDateTime Clock::currentDateTime()
|
||||
|
||||
uint Clock::currentSecondsSinceEpoch()
|
||||
{
|
||||
+ // TODO: change to toSecsSinceEpoch() when min Qt >= 5.8
|
||||
return instance().currentDateTimeImpl().toTime_t();
|
||||
}
|
||||
|
||||
diff --git a/src/gui/ApplicationSettingsWidget.cpp b/src/gui/ApplicationSettingsWidget.cpp
|
||||
index 90b851bd..e6a7068d 100644
|
||||
--- a/src/gui/ApplicationSettingsWidget.cpp
|
||||
+++ b/src/gui/ApplicationSettingsWidget.cpp
|
||||
@@ -91,8 +91,15 @@ ApplicationSettingsWidget::ApplicationSettingsWidget(QWidget* parent)
|
||||
m_secUi->touchIDResetSpinBox, SLOT(setEnabled(bool)));
|
||||
// clang-format on
|
||||
|
||||
-#ifndef WITH_XC_NETWORKING
|
||||
+#ifdef WITH_XC_UPDATECHECK
|
||||
+ connect(m_generalUi->checkForUpdatesOnStartupCheckBox, SIGNAL(toggled(bool)), SLOT(checkUpdatesToggled(bool)));
|
||||
+#else
|
||||
m_generalUi->checkForUpdatesOnStartupCheckBox->setVisible(false);
|
||||
+ m_generalUi->checkForUpdatesIncludeBetasCheckBox->setVisible(false);
|
||||
+ m_generalUi->checkUpdatesSpacer->changeSize(0,0, QSizePolicy::Fixed, QSizePolicy::Fixed);
|
||||
+#endif
|
||||
+
|
||||
+#ifndef WITH_XC_NETWORKING
|
||||
m_secUi->privacy->setVisible(false);
|
||||
#endif
|
||||
|
||||
@@ -336,3 +343,19 @@ void ApplicationSettingsWidget::enableToolbarSettings(bool checked)
|
||||
m_generalUi->toolButtonStyleComboBox->setEnabled(!checked);
|
||||
m_generalUi->toolButtonStyleLabel->setEnabled(!checked);
|
||||
}
|
||||
+
|
||||
+void ApplicationSettingsWidget::rememberDatabasesToggled(bool checked)
|
||||
+{
|
||||
+ if (!checked) {
|
||||
+ m_generalUi->rememberLastKeyFilesCheckBox->setChecked(false);
|
||||
+ m_generalUi->openPreviousDatabasesOnStartupCheckBox->setChecked(false);
|
||||
+ }
|
||||
+
|
||||
+ m_generalUi->rememberLastKeyFilesCheckBox->setEnabled(checked);
|
||||
+ m_generalUi->openPreviousDatabasesOnStartupCheckBox->setEnabled(checked);
|
||||
+}
|
||||
+
|
||||
+void ApplicationSettingsWidget::checkUpdatesToggled(bool checked)
|
||||
+{
|
||||
+ m_generalUi->checkForUpdatesIncludeBetasCheckBox->setEnabled(checked);
|
||||
+}
|
||||
diff --git a/src/gui/ApplicationSettingsWidget.h b/src/gui/ApplicationSettingsWidget.h
|
||||
index ffcfea2b..86688b70 100644
|
||||
--- a/src/gui/ApplicationSettingsWidget.h
|
||||
+++ b/src/gui/ApplicationSettingsWidget.h
|
||||
@@ -56,6 +56,8 @@ private slots:
|
||||
void autoSaveToggled(bool checked);
|
||||
void systrayToggled(bool checked);
|
||||
void enableToolbarSettings(bool checked);
|
||||
+ void rememberDatabasesToggled(bool checked);
|
||||
+ void checkUpdatesToggled(bool checked);
|
||||
|
||||
private:
|
||||
QWidget* const m_secWidget;
|
||||
diff --git a/src/gui/ApplicationSettingsWidgetGeneral.ui b/src/gui/ApplicationSettingsWidgetGeneral.ui
|
||||
index 798971bf..678b55fa 100644
|
||||
--- a/src/gui/ApplicationSettingsWidgetGeneral.ui
|
||||
+++ b/src/gui/ApplicationSettingsWidgetGeneral.ui
|
||||
@@ -86,10 +86,40 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="checkForUpdatesOnStartupCheckBox">
|
||||
<property name="text">
|
||||
- <string>Check for updates at application startup</string>
|
||||
+ <string>Check for updates at application startup once per week</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
+ <item>
|
||||
+ <layout class="QHBoxLayout" name="checkUpdatesSubLayout">
|
||||
+ <property name="spacing">
|
||||
+ <number>0</number>
|
||||
+ </property>
|
||||
+ <item>
|
||||
+ <spacer name="checkUpdatesSpacer">
|
||||
+ <property name="orientation">
|
||||
+ <enum>Qt::Horizontal</enum>
|
||||
+ </property>
|
||||
+ <property name="sizeType">
|
||||
+ <enum>QSizePolicy::Fixed</enum>
|
||||
+ </property>
|
||||
+ <property name="sizeHint" stdset="0">
|
||||
+ <size>
|
||||
+ <width>20</width>
|
||||
+ <height>20</height>
|
||||
+ </size>
|
||||
+ </property>
|
||||
+ </spacer>
|
||||
+ </item>
|
||||
+ <item>
|
||||
+ <widget class="QCheckBox" name="checkForUpdatesIncludeBetasCheckBox">
|
||||
+ <property name="text">
|
||||
+ <string>Include beta releases when checking for updates</string>
|
||||
+ </property>
|
||||
+ </widget>
|
||||
+ </item>
|
||||
+ </layout>
|
||||
+ </item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -186,13 +216,6 @@
|
||||
<string>General</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_7">
|
||||
- <item>
|
||||
- <widget class="QCheckBox" name="checkForUpdatesIncludeBetasCheckBox">
|
||||
- <property name="text">
|
||||
- <string>Include pre-releases when checking for updates</string>
|
||||
- </property>
|
||||
- </widget>
|
||||
- </item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="toolbarHideCheckBox">
|
||||
<property name="text">
|
||||
diff --git a/src/gui/MainWindow.cpp b/src/gui/MainWindow.cpp
|
||||
index 6e3c96af..6776a59d 100644
|
||||
--- a/src/gui/MainWindow.cpp
|
||||
+++ b/src/gui/MainWindow.cpp
|
||||
@@ -41,7 +41,7 @@
|
||||
#include "keys/FileKey.h"
|
||||
#include "keys/PasswordKey.h"
|
||||
|
||||
-#ifdef WITH_XC_NETWORKING
|
||||
+#ifdef WITH_XC_UPDATECHECK
|
||||
#include "gui/MessageBox.h"
|
||||
#include "gui/UpdateCheckDialog.h"
|
||||
#include "updatecheck/UpdateChecker.h"
|
||||
@@ -372,12 +372,12 @@ MainWindow::MainWindow()
|
||||
setUnifiedTitleAndToolBarOnMac(true);
|
||||
#endif
|
||||
|
||||
-#ifdef WITH_XC_NETWORKING
|
||||
+#ifdef WITH_XC_UPDATECHECK
|
||||
connect(m_ui->actionCheckForUpdates, SIGNAL(triggered()), SLOT(showUpdateCheckDialog()));
|
||||
connect(UpdateChecker::instance(),
|
||||
SIGNAL(updateCheckFinished(bool, QString, bool)),
|
||||
SLOT(hasUpdateAvailable(bool, QString, bool)));
|
||||
- QTimer::singleShot(3000, this, SLOT(showUpdateCheckStartup()));
|
||||
+ QTimer::singleShot(500, this, SLOT(showUpdateCheckStartup()));
|
||||
#else
|
||||
m_ui->actionCheckForUpdates->setVisible(false);
|
||||
#endif
|
||||
@@ -687,7 +687,7 @@ void MainWindow::showAboutDialog()
|
||||
|
||||
void MainWindow::showUpdateCheckStartup()
|
||||
{
|
||||
-#ifdef WITH_XC_NETWORKING
|
||||
+#ifdef WITH_XC_UPDATECHECK
|
||||
if (!config()->get("UpdateCheckMessageShown", false).toBool()) {
|
||||
auto result =
|
||||
MessageBox::question(this,
|
||||
@@ -710,7 +710,7 @@ void MainWindow::showUpdateCheckStartup()
|
||||
|
||||
void MainWindow::hasUpdateAvailable(bool hasUpdate, const QString& version, bool isManuallyRequested)
|
||||
{
|
||||
-#ifdef WITH_XC_NETWORKING
|
||||
+#ifdef WITH_XC_UPDATECHECK
|
||||
if (hasUpdate && !isManuallyRequested) {
|
||||
auto* updateCheckDialog = new UpdateCheckDialog(this);
|
||||
updateCheckDialog->showUpdateCheckResponse(hasUpdate, version);
|
||||
@@ -725,7 +725,7 @@ void MainWindow::hasUpdateAvailable(bool hasUpdate, const QString& version, bool
|
||||
|
||||
void MainWindow::showUpdateCheckDialog()
|
||||
{
|
||||
-#ifdef WITH_XC_NETWORKING
|
||||
+#ifdef WITH_XC_UPDATECHECK
|
||||
updateCheck()->checkForUpdates(true);
|
||||
auto* updateCheckDialog = new UpdateCheckDialog(this);
|
||||
updateCheckDialog->show();
|
||||
diff --git a/src/updatecheck/UpdateChecker.cpp b/src/updatecheck/UpdateChecker.cpp
|
||||
index 4272410b..14531290 100644
|
||||
--- a/src/updatecheck/UpdateChecker.cpp
|
||||
+++ b/src/updatecheck/UpdateChecker.cpp
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
#include "UpdateChecker.h"
|
||||
#include "config-keepassx.h"
|
||||
+#include "core/Clock.h"
|
||||
#include "core/Config.h"
|
||||
#include <QJsonObject>
|
||||
#include <QNetworkAccessManager>
|
||||
@@ -38,24 +39,28 @@ UpdateChecker::~UpdateChecker()
|
||||
|
||||
void UpdateChecker::checkForUpdates(bool manuallyRequested)
|
||||
{
|
||||
+ auto nextCheck = config()->get("GUI/CheckForUpdatesNextCheck", 0).toULongLong();
|
||||
m_isManuallyRequested = manuallyRequested;
|
||||
- m_bytesReceived.clear();
|
||||
|
||||
- QString apiUrlStr = QString("https://api.github.com/repos/keepassxreboot/keepassxc/releases");
|
||||
+ if (m_isManuallyRequested || Clock::currentSecondsSinceEpoch() >= nextCheck) {
|
||||
+ m_bytesReceived.clear();
|
||||
|
||||
- if (!config()->get("GUI/CheckForUpdatesIncludeBetas", false).toBool()) {
|
||||
- apiUrlStr += "/latest";
|
||||
- }
|
||||
+ QString apiUrlStr = QString("https://api.github.com/repos/keepassxreboot/keepassxc/releases");
|
||||
+
|
||||
+ if (!config()->get("GUI/CheckForUpdatesIncludeBetas", false).toBool()) {
|
||||
+ apiUrlStr += "/latest";
|
||||
+ }
|
||||
|
||||
- QUrl apiUrl = QUrl(apiUrlStr);
|
||||
+ QUrl apiUrl = QUrl(apiUrlStr);
|
||||
|
||||
- QNetworkRequest request(apiUrl);
|
||||
- request.setRawHeader("Accept", "application/json");
|
||||
+ QNetworkRequest request(apiUrl);
|
||||
+ request.setRawHeader("Accept", "application/json");
|
||||
|
||||
- m_reply = m_netMgr->get(request);
|
||||
+ m_reply = m_netMgr->get(request);
|
||||
|
||||
- connect(m_reply, &QNetworkReply::finished, this, &UpdateChecker::fetchFinished);
|
||||
- connect(m_reply, &QIODevice::readyRead, this, &UpdateChecker::fetchReadyRead);
|
||||
+ connect(m_reply, &QNetworkReply::finished, this, &UpdateChecker::fetchFinished);
|
||||
+ connect(m_reply, &QIODevice::readyRead, this, &UpdateChecker::fetchReadyRead);
|
||||
+ }
|
||||
}
|
||||
|
||||
void UpdateChecker::fetchReadyRead()
|
||||
@@ -84,8 +89,12 @@ void UpdateChecker::fetchFinished()
|
||||
|
||||
if (!jsonObject.value("tag_name").isUndefined()) {
|
||||
version = jsonObject.value("tag_name").toString();
|
||||
- hasNewVersion = compareVersions(version, QString(KEEPASSXC_VERSION));
|
||||
+ hasNewVersion = compareVersions(QString(KEEPASSXC_VERSION), version);
|
||||
}
|
||||
+
|
||||
+ // Check again in 7 days
|
||||
+ // TODO: change to toSecsSinceEpoch() when min Qt >= 5.8
|
||||
+ config()->set("GUI/CheckForUpdatesNextCheck", Clock::currentDateTime().addDays(7).toTime_t());
|
||||
} else {
|
||||
version = "error";
|
||||
}
|
||||
@@ -93,38 +102,46 @@ void UpdateChecker::fetchFinished()
|
||||
emit updateCheckFinished(hasNewVersion, version, m_isManuallyRequested);
|
||||
}
|
||||
|
||||
-bool UpdateChecker::compareVersions(const QString& remoteVersion, const QString& localVersion)
|
||||
+bool UpdateChecker::compareVersions(const QString& localVersion, const QString& remoteVersion)
|
||||
{
|
||||
+ // Quick full-string equivalence check
|
||||
if (localVersion == remoteVersion) {
|
||||
- return false; // Currently using updated version
|
||||
+ return false;
|
||||
}
|
||||
|
||||
- QRegularExpression verRegex("^(\\d+(\\.\\d+){0,2})(-\\w+)?$", QRegularExpression::CaseInsensitiveOption);
|
||||
+ QRegularExpression verRegex(R"(^((?:\d+\.){2}\d+)(?:-(\w+?)(\d+)?)?$)");
|
||||
|
||||
- QRegularExpressionMatch lmatch = verRegex.match(localVersion);
|
||||
- QRegularExpressionMatch rmatch = verRegex.match(remoteVersion);
|
||||
+ auto lmatch = verRegex.match(localVersion);
|
||||
+ auto rmatch = verRegex.match(remoteVersion);
|
||||
|
||||
- if (!lmatch.captured(1).isNull() && !rmatch.captured(1).isNull()) {
|
||||
- if (lmatch.captured(1) == rmatch.captured(1) && !lmatch.captured(3).isNull()) {
|
||||
- // Same version, but installed version has snapshot/beta suffix and should be updated to stable
|
||||
- return true;
|
||||
- }
|
||||
+ auto lVersion = lmatch.captured(1).split(".");
|
||||
+ auto lSuffix = lmatch.captured(2);
|
||||
+ auto lBetaNum = lmatch.captured(3);
|
||||
|
||||
- QStringList lparts = lmatch.captured(1).split(".");
|
||||
- QStringList rparts = rmatch.captured(1).split(".");
|
||||
+ auto rVersion = rmatch.captured(1).split(".");
|
||||
+ auto rSuffix = rmatch.captured(2);
|
||||
+ auto rBetaNum = rmatch.captured(3);
|
||||
|
||||
- if (lparts.length() < 3)
|
||||
- lparts << "0";
|
||||
+ if (!lVersion.isEmpty() && !rVersion.isEmpty()) {
|
||||
+ if (lSuffix.compare("snapshot", Qt::CaseInsensitive) == 0) {
|
||||
+ // Snapshots are not checked for version updates
|
||||
+ return false;
|
||||
+ }
|
||||
|
||||
- if (rparts.length() < 3)
|
||||
- rparts << "0";
|
||||
+ // Check "-beta[X]" versions
|
||||
+ if (lVersion == rVersion && !lSuffix.isEmpty()) {
|
||||
+ // Check if stable version has been released or new beta is available
|
||||
+ // otherwise the version numbers are equal
|
||||
+ return rSuffix.isEmpty() || lBetaNum.toInt() < rBetaNum.toInt();
|
||||
+ }
|
||||
|
||||
for (int i = 0; i < 3; i++) {
|
||||
- int l = lparts[i].toInt();
|
||||
- int r = rparts[i].toInt();
|
||||
+ int l = lVersion[i].toInt();
|
||||
+ int r = rVersion[i].toInt();
|
||||
|
||||
- if (l == r)
|
||||
+ if (l == r) {
|
||||
continue;
|
||||
+ }
|
||||
|
||||
if (l > r) {
|
||||
return false; // Installed version is newer than release
|
||||
diff --git a/src/updatecheck/UpdateChecker.h b/src/updatecheck/UpdateChecker.h
|
||||
index ac6471d6..64430bda 100644
|
||||
--- a/src/updatecheck/UpdateChecker.h
|
||||
+++ b/src/updatecheck/UpdateChecker.h
|
||||
@@ -31,7 +31,7 @@ public:
|
||||
~UpdateChecker() override;
|
||||
|
||||
void checkForUpdates(bool manuallyRequested);
|
||||
- static bool compareVersions(const QString& remoteVersion, const QString& localVersion);
|
||||
+ static bool compareVersions(const QString& localVersion, const QString& remoteVersion);
|
||||
static UpdateChecker* instance();
|
||||
|
||||
signals:
|
||||
diff --git a/tests/TestUpdateCheck.cpp b/tests/TestUpdateCheck.cpp
|
||||
index 8cba43b1..ff709cd5 100644
|
||||
--- a/tests/TestUpdateCheck.cpp
|
||||
+++ b/tests/TestUpdateCheck.cpp
|
||||
@@ -29,13 +29,32 @@ void TestUpdateCheck::initTestCase()
|
||||
|
||||
void TestUpdateCheck::testCompareVersion()
|
||||
{
|
||||
- // Remote Version , Installed Version
|
||||
- QCOMPARE(UpdateChecker::compareVersions(QString("2.4.0"), QString("2.3.4")), true);
|
||||
- QCOMPARE(UpdateChecker::compareVersions(QString("2.3.0"), QString("2.4.0")), false);
|
||||
+ // No upgrade
|
||||
QCOMPARE(UpdateChecker::compareVersions(QString("2.3.0"), QString("2.3.0")), false);
|
||||
- QCOMPARE(UpdateChecker::compareVersions(QString("2.3.0"), QString("2.3.0-beta1")), true);
|
||||
- QCOMPARE(UpdateChecker::compareVersions(QString("2.3.0-beta2"), QString("2.3.0-beta1")), true);
|
||||
- QCOMPARE(UpdateChecker::compareVersions(QString("2.3.4"), QString("2.4.0-snapshot")), false);
|
||||
- QCOMPARE(UpdateChecker::compareVersions(QString("invalid"), QString("2.4.0")), false);
|
||||
- QCOMPARE(UpdateChecker::compareVersions(QString(""), QString("2.4.0")), false);
|
||||
+
|
||||
+ // First digit upgrade
|
||||
+ QCOMPARE(UpdateChecker::compareVersions(QString("2.4.0"), QString("3.0.0")), true);
|
||||
+ QCOMPARE(UpdateChecker::compareVersions(QString("3.0.0"), QString("2.4.0")), false);
|
||||
+
|
||||
+ // Second digit upgrade
|
||||
+ QCOMPARE(UpdateChecker::compareVersions(QString("2.3.4"), QString("2.4.0")), true);
|
||||
+ QCOMPARE(UpdateChecker::compareVersions(QString("2.4.0"), QString("2.3.4")), false);
|
||||
+
|
||||
+ // Third digit upgrade
|
||||
+ QCOMPARE(UpdateChecker::compareVersions(QString("2.3.0"), QString("2.3.1")), true);
|
||||
+ QCOMPARE(UpdateChecker::compareVersions(QString("2.3.1"), QString("2.3.0")), false);
|
||||
+
|
||||
+ // Beta builds
|
||||
+ QCOMPARE(UpdateChecker::compareVersions(QString("2.3.0"), QString("2.3.0-beta1")), false);
|
||||
+ QCOMPARE(UpdateChecker::compareVersions(QString("2.3.0"), QString("2.3.1-beta1")), true);
|
||||
+ QCOMPARE(UpdateChecker::compareVersions(QString("2.3.0-beta1"), QString("2.3.0")), true);
|
||||
+ QCOMPARE(UpdateChecker::compareVersions(QString("2.3.0-beta"), QString("2.3.0-beta1")), true);
|
||||
+ QCOMPARE(UpdateChecker::compareVersions(QString("2.3.0-beta1"), QString("2.3.0-beta")), false);
|
||||
+ QCOMPARE(UpdateChecker::compareVersions(QString("2.3.0-beta1"), QString("2.3.0-beta2")), true);
|
||||
+ QCOMPARE(UpdateChecker::compareVersions(QString("2.3.0-beta2"), QString("2.3.0-beta1")), false);
|
||||
+
|
||||
+ // Snapshot and invalid data
|
||||
+ QCOMPARE(UpdateChecker::compareVersions(QString("2.3.4-snapshot"), QString("2.4.0")), false);
|
||||
+ QCOMPARE(UpdateChecker::compareVersions(QString("2.4.0"), QString("invalid")), false);
|
||||
+ QCOMPARE(UpdateChecker::compareVersions(QString("2.4.0"), QString("")), false);
|
||||
}
|
||||
--
|
||||
2.21.0
|
||||
|
@ -0,0 +1,102 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils xdg
|
||||
|
||||
DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition"
|
||||
HOMEPAGE="https://keepassxc.org"
|
||||
|
||||
if [[ "${PV}" != 9999 ]] ; then
|
||||
if [[ "${PV}" == *_beta* ]] ; then
|
||||
SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${P/_/-}"
|
||||
else
|
||||
#SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/keepassxreboot/keepassxc/releases/download/${PV}/${P}-src.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
else
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1 GPL-2 GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="autotype browser debug network test yubikey"
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/argon2:=
|
||||
dev-libs/libgcrypt:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5
|
||||
media-gfx/qrencode:=
|
||||
sys-libs/zlib
|
||||
autotype? (
|
||||
dev-qt/qtx11extras:5
|
||||
x11-libs/libX11
|
||||
x11-libs/libXi
|
||||
x11-libs/libXtst
|
||||
)
|
||||
browser? ( >=dev-libs/libsodium-1.0.12 )
|
||||
yubikey? ( sys-auth/ykpers )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-qt/linguist-tools:5
|
||||
dev-qt/qttest:5
|
||||
dev-qt/qtconcurrent:5
|
||||
"
|
||||
|
||||
# Not a runtime dependency but still needed (see bug #667092)
|
||||
PDEPEND="
|
||||
x11-misc/xsel
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-dont_call_mandb.patch"
|
||||
"${FILESDIR}/${P}-build_fix.patch"
|
||||
"${FILESDIR}/${P}-update_checker_toggle.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
use test || \
|
||||
sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_GUI_TESTS=OFF
|
||||
-DWITH_TESTS="$(usex test)"
|
||||
-DWITH_XC_AUTOTYPE="$(usex autotype)"
|
||||
-DWITH_XC_BROWSER="$(usex browser)"
|
||||
-DWITH_XC_NETWORKING="$(usex network)"
|
||||
-DWITH_XC_SSHAGENT=ON
|
||||
-DWITH_XC_UPDATECHECK=OFF
|
||||
-DWITH_XC_YUBIKEY="$(usex yubikey)"
|
||||
)
|
||||
if [[ "${PV}" == *_beta* ]] ; then
|
||||
mycmakeargs+=( -DOVERRIDE_VERSION="${PV/_/-}" )
|
||||
fi
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
xdg_pkg_preinst
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST su-exec-0.2.tar.gz 2426 BLAKE2B 79eda06463a238371e35dcc7acf2df9e8a7696a531a5dc9d0e9650219a5c72d71cf0e368f2178f83e949cf0f05fbc01e7023085fa2cffebcd8b78e82ab9756e2 SHA512 68155a06c716b362aee1214f22cd325b3e934c05b653d3b084a720458fb04207c0681d218b72adfd5ae8fab0262f7ab90e49eb2e218d1b0d7d7af7911715d4e1
|
||||
EBUILD su-exec-0.2.ebuild 595 BLAKE2B 44e9e1e201b74506b2d1bdd0d25f8e957ba5b7dd4db859de6708bd33d2c122d046a51122f7096936621c7e60dd0e5d44e565295cba4de4b055b3d2e7f8244f9d SHA512 2a008451f0277ac2bf5e97cca68078e4f333f0b488ca8750b22e75dc6424d45ce34c214e5b6513835b8faba6c40caab1506ec8e208ea231f2144ea2fb0d6a4cf
|
||||
MISC metadata.xml 323 BLAKE2B 56dfb262d3d2714721cbd8436aaaa6628ca11013bc801a7d9a18fa5a87d4e20e41d98584f344a98b8f697ad6427f6641bba7090b562594b08995e8b31d4d2292 SHA512 3eadc250f3acadea3d3b3f29ef78380ed153b12b34b5e752dd088470949dec3590889b8daa6db37472ed043a10f14f5bf2e8c280fae7efd3ee398fa5d88b0caf
|
||||
MISC metadata.xml 245 BLAKE2B 7ec08f969d0cd84a8313e515dd84440cd6417c661672f00be444ebd11b79f3ef4ead9f7318088ecc6717147a9428d9de024441825264f545e71e1fbd2aea5210 SHA512 5378ab531062e61d8cbb78d685c8c343bf5339e8f3c5462bc5447adfaf7015d1c1e2eee787b258ef90203f42a0ff94180ca57579316774dd9e5f5ec2f07b6669
|
||||
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
|
||||
# xml.etree.ElementTree module required.
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit distutils-r1 systemd user
|
||||
|
||||
MY_PV="${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="A system for controlling process state under UNIX"
|
||||
HOMEPAGE="http://supervisord.org/ https://pypi.org/project/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="doc test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/meld3-1.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
emake -C docs html
|
||||
HTML_DOCS=( docs/.build/html/. )
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
newinitd "${FILESDIR}/init.d-r2" supervisord
|
||||
newconfd "${FILESDIR}/conf.d-r1" supervisord
|
||||
dodoc supervisor/skel/sample.conf
|
||||
keepdir /etc/supervisord.d
|
||||
insinto /etc
|
||||
doins "${FILESDIR}/supervisord.conf"
|
||||
keepdir /var/log/supervisor
|
||||
systemd_dounit "${FILESDIR}/supervisord.service"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
enewgroup supervisor
|
||||
fowners :supervisor /var/log/supervisor
|
||||
fperms 750 /var/log/supervisor
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
# This is a new installation
|
||||
elog "You may install your configuration files in ${EROOT%/}/etc/supervisord.d"
|
||||
elog "For config examples, see ${EROOT%/}/usr/share/doc/${PF}/sample.conf.bz2"
|
||||
elog ""
|
||||
elog "By default, only members of the supervisor group can run supervisorctl."
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
DIST lzip-1.20.tar.gz 103426 BLAKE2B 1d72b2132e9ceb67339a10bfdb728be2e5057df571306c698fb06b97c8fc310ce6cceca1a9fd6470fe34f4f6c3b63ee28d791d293418ffe302c84219cb92d35d SHA512 0349b4c6c0b41e601b7ee381c3254d741397beb3ef9354c08162f346f131f4f48f6613ee0a610cdc6d827530df634f884ecfeee35215b10045a40fee76f8e938
|
||||
DIST lzip-1.21.tar.gz 105558 BLAKE2B 07658ec901bdfc255fef5af24b62614b2db9821b9a2820daa5137fd47ede0b68bbf3eac340ad5484d2ef7011d15c2eaccf19abc9e33b5c96273fc9b9d323083e SHA512 02e31a8fc9431e88edbb0fd467e9dd0947203e693e6581be1a8d25d96c74d9c3794f1fef9e4c993553ba74330c8f5851cad6315b49f263fe9cf2444225af4362
|
||||
EBUILD lzip-1.20.ebuild 864 BLAKE2B d5f269e36be04a09fb683e522d08e2e49948b3a3af59a59dddaa26b0a0f33a8526e24bf1a5acdb02121b54ceb3c134c0300a290f1714a91b0d9b0cfddeee8147 SHA512 08a914e9d8d44246005f4bfc1c676d47a331bb0ba9969d9f917b0505a46915edbad6c351b34f65e7f61e9fb68c3379c442ccc8e71c98269998c9f137d509a6c3
|
||||
EBUILD lzip-1.21.ebuild 861 BLAKE2B 3774236197625b01fc21762d208433ed3af023fb3e5c447ff676d0e8869551121a04ae39d688c37554457987913927f1108a1f48eff6b00b8b4fb8f591db3f2e SHA512 0eed8b58844b8a6c62ebc5f2f51f9b0aeb53bfcbde0fdf6e8b5cac51876ed7cfaa4113b618ce5d412e53737fe53ff64c029e1c46ad284c1c135a56e6c906a562
|
||||
MISC metadata.xml 357 BLAKE2B baa377044f421ed8bc913a5bbdc72e49e026bf0529190f07aa2d0081208870453f140af7ce3d3a97121b563891b4a4b36196db233a3fdb6a98b6eee34af9e9ba SHA512 e5f560cf4a71e085f50e0710d39e81aeddff8fb72fb07126f86a080970dc2b79acef11522b2ca471fccbf4e20e34ea57712b0b178eaaaed7c9ab5df9910542e9
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="lossless data compressor based on the LZMA algorithm"
|
||||
HOMEPAGE="https://www.nongnu.org/lzip/lzip.html"
|
||||
SRC_URI="https://download.savannah.gnu.org/releases-noredirect/${PN}/${P/_/-}.tar.gz
|
||||
https://download.savannah.gnu.org/releases/${PN}/${P/_/-}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
S="${WORKDIR}/${P/_/-}"
|
||||
|
||||
src_configure() {
|
||||
# not autotools-based
|
||||
./configure \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
CXX="$(tc-getCXX)" \
|
||||
CPPFLAGS="${CPPFLAGS}" \
|
||||
CXXFLAGS="${CXXFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" || die
|
||||
}
|
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
DIST cdemu-daemon-3.2.1.tar.bz2 82426 BLAKE2B 282b1a62ca3a770e709ff31ee7b72ed9f5e102c5f318a765a99421c93881e9ecacfdc5867af494e69dddda40603c8eb6cc8904a7c82fec004a6d5644a28a9f87 SHA512 399dbb818de8a550bd31784a5a7f0adb9d2e35d922ba71f341df81d20fd7e5ebaba5f31db1554caca17919325773f9ec6bb3d5ae99afa5d6eaf5b22142e010ee
|
||||
DIST cdemu-daemon-3.2.2.tar.bz2 82366 BLAKE2B d21436a5dbf1c6d953aa7ceb58e5d4580931391ea407c45de8f7c7154c181aef76535833bf02999d77d3a9e0c624db1124a9d333d028e206844a1256b3c5dde0 SHA512 4010bad27d5f595d20e1666700d32c2fb3f943f2e50645317bcc8fbbbba58cd61b3f6d3276e91fff55f449e44291abc776a56ded7c4f0bb7901ac247da72d7fe
|
||||
EBUILD cdemu-daemon-3.2.1.ebuild 1140 BLAKE2B 3a9168913ac901d268b46137fe8f705866df375172dce36e67a8302d9191ec2c991804a264972260b0f2c59f66d15adffb4fab1cd0132211a34d2926b0d50b21 SHA512 747f5c96c441723873e147f6111d12dca95be0da67dc7658b7fe2a395e524f6af24369b4b932c3de328c46bd4b4a73f258c935e285ee8d9d47398cd68d911f3e
|
||||
EBUILD cdemu-daemon-3.2.2.ebuild 1140 BLAKE2B 37bf7e266dcbf187004b9e6184176791873d8a6ef29d11e2a0348d606affd72ae5fe8a0ced71e44c460ec218cdb41dd4073539000920fc290adfa7a7a10c2383 SHA512 2e05466f5bdec9615e5bc03343706b2abd1c310532364fb09454170aa2389f70bb490a1538e2097dadb73131907f2820e4b9ca8f774f12c1a94d1e922e322adf
|
||||
MISC metadata.xml 332 BLAKE2B 0be8fdf09b872003fbd913a72966a059ad2d0870b281e6b86b19cf52f8c32b113d392dd71c85281f2f1abcb0933b592fb2112c18fe70359af7c7aacc9ff3a011 SHA512 d8bf249636b4dfda07c67e935bdd4b7392543fe31e2bf8c153954f4d680db45b0090f9bd89399f0241554a311b604185737c2bb7e64df43ea25adda9ee7468a0
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Daemon of the CDEmu optical media image mounting suite"
|
||||
HOMEPAGE="http://cdemu.org"
|
||||
SRC_URI="mirror://sourceforge/cdemu/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0/7" # subslot = CDEMU_DAEMON_INTERFACE_VERSION_MAJOR in CMakeLists.txt
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND=">=dev-libs/glib-2.32:2
|
||||
>=dev-libs/libmirage-3.2.0:=
|
||||
>=media-libs/libao-0.8.0:="
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
sys-apps/dbus
|
||||
>=sys-fs/vhba-20130607"
|
||||
|
||||
DOCS=( AUTHORS README )
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You will need to load the vhba module to use cdemu devices:"
|
||||
elog " # modprobe vhba"
|
||||
elog "To automatically load the vhba module at boot time, edit your"
|
||||
elog "/etc/conf.d/modules file."
|
||||
|
||||
if [[ -e "${ROOT}etc/conf.d/cdemud" ]]; then
|
||||
elog
|
||||
elog "${PN} no longer installs an init.d service; instead, it is"
|
||||
elog "automatically activated when needed via dbus."
|
||||
elog "You can therefore remove ${ROOT%/}/etc/conf.d/cdemud"
|
||||
fi
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST cdemu-client-3.2.0.tar.bz2 43588 BLAKE2B 0f75bed1ce2a715bb7acf227ebd3da8b80cf6418e28b0d352f294121c1f67acb8c6bab5f5dc5c768150ad46830b823d66f1940887c66225d20b41827c1377d31 SHA512 778f2ecac828ba278d0ded875c7bab2415f1c1acb62f4030eaf161376869939c48bc16a6d660326d9aacd2af745ef9dc9158f922a72aa8ccbd47f05ce41b8cd7
|
||||
DIST cdemu-client-3.2.1.tar.bz2 43584 BLAKE2B d34c09203b7b4e70161d62aee48d531b083952174fd2357bf0fc7b69a0fd59200bedb9ca87fe2d2c18c953979c84e9db3fec4d5fb500375f0bcc155dcaf5cedb SHA512 913c26754d16c339d7ddb4e00cc7d5b754ad6cc7f1a156c9448b51ed09468cf9e8a2bc74ed123a621278d2ad281e447d33ee06c3416bc1d0d2e6c2becd539154
|
||||
EBUILD cdemu-3.2.0.ebuild 1083 BLAKE2B e1909cc305fc2b5e1ea3b17dc9db089c9495a537a677eb17a007b19cf993b1d34b9d633bbdf1bc4329532708f3c196bc31127a243498a15941ef0de2059ce13c SHA512 e1054fda4e2a1cd8edb3f2691c766a4aa90f775ae57e6aba26c95d7f6df9b320930b506baead99577bb7e6d5482912e4b5878a67fb45c859e3d28c09834e66b2
|
||||
EBUILD cdemu-3.2.1.ebuild 1083 BLAKE2B e1909cc305fc2b5e1ea3b17dc9db089c9495a537a677eb17a007b19cf993b1d34b9d633bbdf1bc4329532708f3c196bc31127a243498a15941ef0de2059ce13c SHA512 e1054fda4e2a1cd8edb3f2691c766a4aa90f775ae57e6aba26c95d7f6df9b320930b506baead99577bb7e6d5482912e4b5878a67fb45c859e3d28c09834e66b2
|
||||
MISC metadata.xml 529 BLAKE2B 88d72a301708901597eb11c475ae67d8477381c77d430b49042cb4a8658aa44b88273858f87cbbaa1fc16ae222b604fa9ff81f6f791d39c39d5c76b58b9d0d81 SHA512 27850929d16910038f7b406c0ec4c22648c91a6f8a8f9cd56c0a3ea8e4e772de9b77598514c5a621eb71386635a327829251a90128ba33073ac34485a3b60a92
|
||||
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=( python3_{4,5,6,7} )
|
||||
|
||||
inherit bash-completion-r1 cmake-utils python-single-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="Command-line tool for controlling cdemu-daemon"
|
||||
HOMEPAGE="http://cdemu.org"
|
||||
SRC_URI="mirror://sourceforge/cdemu/cdemu-client-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+cdemu-daemon"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
cdemu-daemon? ( app-cdr/cdemu-daemon:0/7 )"
|
||||
DEPEND="
|
||||
dev-util/desktop-file-utils
|
||||
>=dev-util/intltool-0.21
|
||||
>=sys-devel/gettext-0.18
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/cdemu-client-${PV}
|
||||
|
||||
DOCS=( AUTHORS README )
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
python_fix_shebang src/cdemu
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DPOST_INSTALL_HOOKS=OFF
|
||||
-DCMAKE_INSTALL_COMPLETIONSDIR="$(get_bashcompdir)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST gcdemu-3.2.0.tar.bz2 52144 BLAKE2B f349e4482905b0ac59bce5d6af74000e05ff9b7257c7ec8755106ac8fe316d59d19de8b72705fd9cccfa888d170776667ee07fe90311a81e78f251fee85601ee SHA512 61a1775c874c9c3604ce88758039ef80b262463ae180e791eb545811fa2176e4bf07c4dbcd3be5f17d446fdef92317a0ff64ce8d27f26aeaeee9d8134b6a95ea
|
||||
DIST gcdemu-3.2.1.tar.bz2 52231 BLAKE2B f6b0025f6c5e79fe7312bf15b467327152e561db33f6190847e4e702cb98ff8005b37fe997c721b5c76cd64d64bafef1c015a9151c0ee200c52efcb849c93dba SHA512 c2da75d985981ccd0b44f210745670501fecd0ae7c60bde783fc5f91ab4c629c6eab9e8b35df906b5669b6518d3bdf36c5814b513c0f3e2d703659d23df1c82e
|
||||
EBUILD gcdemu-3.2.0.ebuild 1129 BLAKE2B 4af93d2a9f88cce37cc032ece75a76b4a6462df0a2226fe5c67c5fddc84351374af74b0b00ee76624af339bb847c178b4e1317355142261722e16fbe90d34814 SHA512 8c5494ce53fd55b5fa97d339ed46840eb7d873fd71e14c255588d5fc038f0f4786cacd865151f8e425cfe48cf3208d6b5d479adb0cf283f22f0144178d5b2897
|
||||
EBUILD gcdemu-3.2.1.ebuild 1126 BLAKE2B 83d124dbff92ee58cbb98462a4e3c5f27c3768126080c92acc4c583b394a7a22061a5572c1e9e0ef2b4dafd4e8a2fa2371a451bab83ae41c263f17707160cb74 SHA512 12f655a59b792b7562eadc9a76959ac599b823d1bbef7a3c218c8d7286a1c5df939a11828a219ac9f92c2dfb4462199c6ca4c2233503625959f0a9a0eb18cad9
|
||||
MISC metadata.xml 332 BLAKE2B 0be8fdf09b872003fbd913a72966a059ad2d0870b281e6b86b19cf52f8c32b113d392dd71c85281f2f1abcb0933b592fb2112c18fe70359af7c7aacc9ff3a011 SHA512 d8bf249636b4dfda07c67e935bdd4b7392543fe31e2bf8c153954f4d680db45b0090f9bd89399f0241554a311b604185737c2bb7e64df43ea25adda9ee7468a0
|
||||
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=( python3_{4,5,6,7} )
|
||||
|
||||
inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="Gtk+ GUI for controlling cdemu-daemon"
|
||||
HOMEPAGE="http://cdemu.org/"
|
||||
SRC_URI="mirror://sourceforge/cdemu/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# librsvg for pixbuf-loader
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
app-cdr/cdemu-daemon:0/7
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
gnome-base/librsvg:2
|
||||
x11-libs/gdk-pixbuf[introspection]
|
||||
x11-libs/gtk+:3[introspection]
|
||||
x11-libs/libnotify[introspection]"
|
||||
DEPEND="
|
||||
dev-util/desktop-file-utils
|
||||
>=dev-util/intltool-0.21
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( AUTHORS README )
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
python_fix_shebang src/gcdemu
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=( -DPOST_INSTALL_HOOKS=OFF )
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
gnome2_schemas_update
|
||||
}
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST signing-party_2.7.orig.tar.gz 201320 BLAKE2B 4fe5781b610dc8acd5166fc7ce7daa1b856f6617952d5eb226cae0c8c6fcaa196b88ffe313b2d71b8f11423a81e84f2124d9adea86edbfb0d22808473d1c36fe SHA512 d1599ca0cb2dd554b4688bc8c77f4a1dd907d00539bb11abe147300dd2184f8548ebe9fdf793e83e2956a220b1c4bf9e19bd543b77f724b0c8ea4794ac945985
|
||||
DIST signing-party_2.9.orig.tar.gz 222606 BLAKE2B 5c7fd8fdb4945f3155d5dc146716ae402c72ec3cc728feb5b3d009878d88313ed26dbf4461820346bd3340ec84d9a439dfd52950452ad796bf1fbc98a342ff6a SHA512 31a0f15f679c0339753bafbac645609e9e16f3da2c5105c33e87e0f258453b3101f188398a7c1509fe5c005339289ac5465ccb18631a526d231c714f9ed61d96
|
||||
EBUILD signing-party-2.7.ebuild 2968 BLAKE2B df347287636b0bfa29282094950cf6e5f0d95b205bac4882183a66608c5a92591479fda6fa2a9d5cc62c3127049f56f4bde99f5c105320e0d196624ad389ab81 SHA512 0762ee598cfeddbbb39a41d7b718bc1e3b03f2d5f6a347453b95ae15ea39736e9fd45ac217e05d10c8382037112a11ac7d7026a663b35797c26093a4ff06f67b
|
||||
EBUILD signing-party-2.9.ebuild 2715 BLAKE2B 87224f5404fbb5b53afc6c3058820459644e85438ba15984144b089a60550e3390a95844b2b9d61e7e474a21db7e617af2aaf57a7604f5a7c871d86682a3019d SHA512 c3c9be2ad0a1d856b40df972a94575683fcd7bf026e9414844e6e5e5a71bc4f60179f87ae6da8c85cb601df2af2ab1c28af173dfe3a14fdb950e57e64a5218e9
|
||||
MISC metadata.xml 236 BLAKE2B a7bb92e6d53f7252ee56a885bf098930e228a76a75bca119358ca860901ceeecccc43efe5279c54250ebda58f77ae9c97d2ae540d8b399283cb3aa348111fcd2 SHA512 5f6cd6a85527534d5de7118de5af212ee3044c8c5530a7f7087a28074a2d4ab7be1728325bd985adc063dc795d3cf2b1c4e58a4c4c4ec02d739bd4bbc544ef08
|
||||
|
@ -0,0 +1,113 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs autotools
|
||||
|
||||
DESCRIPTION="A collection of several tools related to OpenPGP"
|
||||
HOMEPAGE="http://pgp-tools.alioth.debian.org/"
|
||||
SRC_URI="mirror://debian/pool/main/s/signing-party/${PN}_${PV}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
DEPEND="dev-lang/perl
|
||||
app-crypt/libmd"
|
||||
RDEPEND="${DEPEND}
|
||||
>=app-crypt/gnupg-1.3.92
|
||||
dev-perl/GnuPG-Interface
|
||||
dev-perl/Text-Template
|
||||
dev-perl/MIME-tools
|
||||
net-mail/qprint
|
||||
>=dev-perl/MailTools-1.62
|
||||
dev-perl/Net-IDN-Encode
|
||||
virtual/mailx
|
||||
virtual/mta
|
||||
|| (
|
||||
dev-perl/libintl-perl
|
||||
dev-perl/Text-Iconv
|
||||
app-text/recode
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# app-crypt/keylookup
|
||||
rm -r keylookup || die
|
||||
sed -i -e 's#keylookup/keylookup##' Makefile || die
|
||||
|
||||
# media-gfx/springgraph
|
||||
rm -r springgraph || die
|
||||
|
||||
find . -name Makefile | xargs sed -i -e 's/CFLAGS:=/CFLAGS=/' -e 's/CPPFLAGS:=/CPPFLAGS=/' -e 's/LDFLAGS:=/LDFLAGS=/'
|
||||
|
||||
sed -i -e 's/autoreconf/true/g' keyanalyze/Makefile || die
|
||||
pushd keyanalyze/pgpring
|
||||
eautoreconf
|
||||
popd
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
CPPFLAGS="${CPPFLAGS}" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
STRIP=true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
|
||||
# Check Makefile when a new tool is introduced to this package.
|
||||
# caff
|
||||
dobin caff/caff caff/pgp-clean caff/pgp-fixkey
|
||||
docinto caff
|
||||
dodoc caff/{README*,THANKS,TODO,caffrc.sample}
|
||||
# gpgdir
|
||||
dobin gpgdir/gpgdir
|
||||
docinto gpgdir
|
||||
dodoc gpgdir/{VERSION,LICENSE,README,INSTALL,CREDITS,ChangeLog*}
|
||||
# gpg-key2ps
|
||||
dobin gpg-key2ps/gpg-key2ps
|
||||
docinto gpg-key2ps
|
||||
dodoc gpg-key2ps/README
|
||||
# gpglist
|
||||
dobin gpglist/gpglist
|
||||
# gpg-mailkeys
|
||||
dobin gpg-mailkeys/gpg-mailkeys
|
||||
docinto gpg-mailkeys
|
||||
dodoc gpg-mailkeys/{example.gpg-mailkeysrc,README}
|
||||
# gpgparticipants
|
||||
dobin gpgparticipants/gpgparticipants
|
||||
# gpgwrap
|
||||
dobin gpgwrap/bin/gpgwrap
|
||||
docinto gpgwrap
|
||||
dodoc gpgwrap/{LICENSE,NEWS,README}
|
||||
doman gpgwrap/doc/gpgwrap.1
|
||||
# gpgsigs
|
||||
dobin gpgsigs/gpgsigs
|
||||
insinto /usr/share/signing-party
|
||||
# keyanalyze
|
||||
# TODO: some of the scripts are intended for webpages, and not really
|
||||
# packaging, so they are NOT installed yet.
|
||||
newbin keyanalyze/pgpring/pgpring pgpring-keyanalyze
|
||||
dobin keyanalyze/{keyanalyze,process_keys}
|
||||
docinto keyanalyze
|
||||
dodoc keyanalyze/{README,Changelog}
|
||||
# See app-crypt/keylookup instead
|
||||
#dobin keylookup/keylookup
|
||||
#docinto keylookup
|
||||
#dodoc keylookup/NEWS
|
||||
# sig2dot
|
||||
dobin sig2dot/sig2dot
|
||||
dodoc sig2dot/README.sig2dot
|
||||
# See media-gfx/springgraph instead
|
||||
#dobin springgraph/springgraph
|
||||
#dodoc springgraph/README.springgraph
|
||||
# all other manpages, and the root doc
|
||||
doman */*.1
|
||||
dodoc README
|
||||
}
|
Binary file not shown.
@ -1,7 +1,9 @@
|
||||
DIST gnucash-docs-3.2.tar.gz 92387447 BLAKE2B dac502975f885b777c1e91a7ea574789947e1dddfd3239c05973ce57fec41a6d78e605ef37aaf721db4aa4d2bc8f2dda7ed76cc4dc97dd49e30618414e262f15 SHA512 a58a583a457377f529223ced083fb64460b3b0c75a423db08c7f9542711be98fd59bd776bf77309ff91d1c46f22a5ae882d8c0a8ec3fc834d7a8028a95028aad
|
||||
DIST gnucash-docs-3.3.tar.gz 92417386 BLAKE2B 200f9b8d3006589eac5f0d66300d658f69f5c55078371c5b416e34784835350de9bd40fc5d85e59116022874294f74e259a034d6ebcaf315b1ea9942b8350c7b SHA512 5887171cbe95f545eb6e647aee2d04a26ab9102643acd8d3e5754000613a7fb08e4470777f7dfbfd0d1ed7609de7a6241cd82f5c7d62f632b2e3751b005bc01e
|
||||
DIST gnucash-docs-3.4.tar.gz 92762652 BLAKE2B 1aad3f1e7fe5b6ec11b38dc778e8994544d50f9549450b4632e5fcbd370332f05c7c68f9f6bf0e274b654dee6304924d17089b61318e0e4356bf01133ad47508 SHA512 0a64c8fcc88988a08d5b2f7c472356c580dff17b1a2a37b66a6bed790fba9d7bb437955050656656a0be399b2ce1635902f4548f44b62233c1fcd1d75fbb38ec
|
||||
DIST gnucash-docs-3.5.tar.gz 97187415 BLAKE2B f35a3a25a120d3807771d74ee1c97713e21617f7ac7b4fdc1f58b9d12f7c0cc899a9af6abca21bd4f91a0978ebf5b93604deaae29f39c8ab86bd83ec93e32642 SHA512 aa832a1929ae91b9fe2a6a4ada0c7dbd8c1a4cf76086ec3ab0b82c7396d45aabbb6971f2db788bbdde71a68c8faca5f4621429819ef6c0d1156bcefdc5d289b5
|
||||
EBUILD gnucash-docs-3.2-r1.ebuild 1665 BLAKE2B 16ad7acf14b9e37dafded93957de6c3246be6902ccea2198832b6dc5409f93ae06bcaf52e091f88d6df6b8327a77198140b67671b0f7a242a0e2bdccfb510222 SHA512 e95eab369275cfac0b5944ae8a0659e5743f44e76c650b78c055246d66c0b953ff8398070b87c3e1f341722b7d51ceaa6896b27b2dc8e424bc9a5e5ae40c3406
|
||||
EBUILD gnucash-docs-3.3.ebuild 1666 BLAKE2B 83ab7ebba3c17425df70be4e85f9c26032faf67bd88d16f42dc65cee0486ede8bf50b8bd8eecfbbb5a2d7e2d552cea6ec48370edf8b8c3ed0505abad0cb9e544 SHA512 38f8145072110b0611563ad592113d5f60a96a43986c8ec819ad3a66f6064406f5e929e37090e9bfcd3dae4ffe387ac6fb7dbf2e4610bde6b80a7bc14f6d4e8c
|
||||
EBUILD gnucash-docs-3.4.ebuild 1667 BLAKE2B c232b46024f80a9ff86833431ff983722a72d3f9953dff610cc5e86e8a9c22174d168a5d5ae32d5ff942bc2b7c8f1424c04f3012e83765af02446a2fe3266194 SHA512 026d7aae62cb09b435de0c50e4e3b1decf32a863fee0c11791a098e5847795b4467a63cfd80fa2bf52c1659bcf63d3426b1e4f3e160d7e13bdb54c7c4adb7ab0
|
||||
EBUILD gnucash-docs-3.5.ebuild 1667 BLAKE2B c232b46024f80a9ff86833431ff983722a72d3f9953dff610cc5e86e8a9c22174d168a5d5ae32d5ff942bc2b7c8f1424c04f3012e83765af02446a2fe3266194 SHA512 026d7aae62cb09b435de0c50e4e3b1decf32a863fee0c11791a098e5847795b4467a63cfd80fa2bf52c1659bcf63d3426b1e4f3e160d7e13bdb54c7c4adb7ab0
|
||||
MISC metadata.xml 496 BLAKE2B a668cda0f44d550b086c539edbd5eeb93092fee992621cbd655b5c30e3bfd658fcd0a65d4140f2f9ba4d368438c224bac887e86e6d36b730afd4a24c195fc448 SHA512 19e5631659fe0153e6f2de3bcc8dc5eb1615dc3e6a3493d71ea0d5e18df48fe64fef31819883add93cd1da425ebea0aa82f62b0052bdc328773b8a3c0bfca26a
|
||||
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PLOCALES="C de it ja pt ru"
|
||||
PLOCALE_BACKUP="C"
|
||||
|
||||
inherit autotools gnome2 l10n
|
||||
|
||||
DESCRIPTION="Documentation package for GnuCash"
|
||||
HOMEPAGE="http://www.gnucash.org/"
|
||||
SRC_URI="https://github.com/Gnucash/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 FDL-1.1"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
for my_locale in ${PLOCALES}; do
|
||||
IUSE+=" l10n_${my_locale}"
|
||||
done
|
||||
|
||||
DEPEND="
|
||||
app-text/docbook-xml-dtd
|
||||
app-text/docbook-xsl-stylesheets
|
||||
app-text/rarian
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
"
|
||||
|
||||
my_l10n_get_locales() {
|
||||
local l locales
|
||||
for l in ${PLOCALES[@]}; do
|
||||
use "l10n_${l}" && locales+=( $l )
|
||||
done
|
||||
if [[ ${#locales[@]} -gt 0 ]]; then
|
||||
echo ${locales[@]}
|
||||
else
|
||||
echo $PLOCALE_BACKUP
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local doc_type my_lang
|
||||
|
||||
for doc_type in help guide; do
|
||||
for my_lang in $(my_l10n_get_locales); do
|
||||
case $my_lang in
|
||||
# Both help and guides translated
|
||||
C|de|it|pt) ;;
|
||||
ru|ja) # Only guides translated
|
||||
if [[ ${doc_type} = "help" ]] ; then
|
||||
elog "Help documentation hasn't been translated for $my_lang"
|
||||
elog "Will do English instead."
|
||||
my_lang=C
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
die "Invalid locale: $my_lang"
|
||||
;;
|
||||
esac
|
||||
|
||||
cd "${S}/${doc_type}/${my_lang}" || die
|
||||
emake DESTDIR="${D}" install
|
||||
done
|
||||
done
|
||||
|
||||
cd "${S}" || die
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
optfeature "You need dev-java/fop to generate pdf files." dev-java/fop
|
||||
optfeature "You need gnome-extra/yelp to view the docs." gnome-extra/yelp
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EGO_PN="github.com/containerd/${PN}"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit golang-vcs
|
||||
else
|
||||
MY_PV="${PV/_rc/-rc.}"
|
||||
EGIT_COMMIT="v${MY_PV}"
|
||||
CONTAINERD_COMMIT="894b81a4b802e4eb2a91d1ce216b8817763c29fb"
|
||||
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64"
|
||||
inherit golang-vcs-snapshot
|
||||
fi
|
||||
|
||||
DESCRIPTION="A daemon to control runC"
|
||||
HOMEPAGE="https://containerd.tools"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="apparmor +btrfs +cri hardened +seccomp"
|
||||
|
||||
DEPEND="btrfs? ( sys-fs/btrfs-progs )
|
||||
seccomp? ( sys-libs/libseccomp )"
|
||||
RDEPEND=">=app-emulation/runc-1.0.0_rc6
|
||||
seccomp? ( sys-libs/libseccomp )"
|
||||
|
||||
S=${WORKDIR}/${P}/src/${EGO_PN}
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
sed -i -e "s/git describe --match.*$/echo ${PV})/"\
|
||||
-e "s/git rev-parse HEAD.*$/echo $CONTAINERD_COMMIT)/"\
|
||||
-e "s/-s -w//" \
|
||||
Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local options=( $(usex btrfs "" "no_btrfs") $(usex cri "" "no_cri") $(usex seccomp "seccomp" "") $(usex apparmor "apparmor" "") )
|
||||
export GOPATH="${WORKDIR}/${P}" # ${PWD}/vendor
|
||||
LDFLAGS=$(usex hardened '-extldflags -fno-PIC' '') BUILDTAGS="${options[@]}" emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
keepdir /var/lib/containerd
|
||||
dobin bin/*
|
||||
}
|
@ -0,0 +1,170 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="threads"
|
||||
|
||||
inherit python-single-r1 unpacker
|
||||
|
||||
DESCRIPTION="Commercial version of app-emulation/wine with paid support."
|
||||
HOMEPAGE="http://www.codeweavers.com/products/crossover/"
|
||||
SRC_URI="https://media.codeweavers.com/pub/crossover/cxlinux/demo/install-crossover-${PV}.bin"
|
||||
|
||||
LICENSE="CROSSOVER-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="+capi +cups doc +gphoto2 +gsm +jpeg +lcms +ldap +mp3 +nls +openal +opencl +opengl +png +scanner +ssl +v4l"
|
||||
RESTRICT="bindist test"
|
||||
|
||||
QA_FLAGS_IGNORED="opt/cxoffice/.*"
|
||||
QA_PRESTRIPPED="
|
||||
opt/cxoffice/lib/.*
|
||||
opt/cxoffice/lib64/.*
|
||||
opt/cxoffice/bin/cxburner
|
||||
opt/cxoffice/bin/cxntlm_auth
|
||||
opt/cxoffice/bin/wineserver
|
||||
opt/cxoffice/bin/wineserver32
|
||||
opt/cxoffice/bin/wineserver64
|
||||
opt/cxoffice/bin/wine64-preloader
|
||||
opt/cxoffice/bin/unrar
|
||||
opt/cxoffice/bin/wine-preloader
|
||||
opt/cxoffice/bin/cxdiag
|
||||
opt/cxoffice/bin/cxdiag64
|
||||
opt/cxoffice/bin/cxgettext
|
||||
opt/cxoffice/bin/wineloader
|
||||
opt/cxoffice/bin/wineloader64
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
DEPEND=""
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
dev-lang/perl
|
||||
app-arch/unzip
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
!prefix? ( sys-libs/glibc )
|
||||
>=dev-python/pygtk-2.10:2[${PYTHON_USEDEP}]
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-util/desktop-file-utils
|
||||
!app-emulation/crossover-office-pro-bin
|
||||
!app-emulation/crossover-office-bin
|
||||
capi? ( net-libs/libcapi[abi_x86_32(-)] )
|
||||
cups? ( net-print/cups[abi_x86_32(-)] )
|
||||
gsm? ( media-sound/gsm[abi_x86_32(-)] )
|
||||
jpeg? ( virtual/jpeg:0[abi_x86_32(-)] )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
ldap? ( net-nds/openldap[abi_x86_32(-)] )
|
||||
gphoto2? ( media-libs/libgphoto2[abi_x86_32(-)] )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0[abi_x86_32(-)] )
|
||||
nls? ( sys-devel/gettext[abi_x86_32(-)] )
|
||||
openal? ( media-libs/openal[abi_x86_32(-)] )
|
||||
opencl? ( virtual/opencl[abi_x86_32(-)] )
|
||||
opengl? (
|
||||
virtual/glu[abi_x86_32(-)]
|
||||
virtual/opengl[abi_x86_32(-)]
|
||||
)
|
||||
png? ( media-libs/libpng:0[abi_x86_32(-)] )
|
||||
scanner? ( media-gfx/sane-backends[abi_x86_32(-)] )
|
||||
ssl? ( dev-libs/openssl:0[abi_x86_32(-)] )
|
||||
v4l? ( media-libs/libv4l[abi_x86_32(-)] )
|
||||
media-libs/alsa-lib[abi_x86_32(-)]
|
||||
media-libs/freetype:2[abi_x86_32(-)]
|
||||
media-libs/mesa[abi_x86_32(-)]
|
||||
sys-auth/nss-mdns[abi_x86_32(-)]
|
||||
sys-apps/util-linux[abi_x86_32(-)]
|
||||
sys-libs/ncurses:5/5[abi_x86_32(-)]
|
||||
sys-libs/zlib[abi_x86_32(-)]
|
||||
x11-libs/libICE[abi_x86_32(-)]
|
||||
x11-libs/libSM[abi_x86_32(-)]
|
||||
x11-libs/libX11[abi_x86_32(-)]
|
||||
x11-libs/libXau[abi_x86_32(-)]
|
||||
x11-libs/libXdmcp[abi_x86_32(-)]
|
||||
x11-libs/libXext[abi_x86_32(-)]
|
||||
x11-libs/libXi[abi_x86_32(-)]
|
||||
x11-libs/libXrandr[abi_x86_32(-)]
|
||||
x11-libs/libXxf86vm[abi_x86_32(-)]
|
||||
x11-libs/libxcb[abi_x86_32(-)]
|
||||
"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please visit ${HOMEPAGE}"
|
||||
einfo "and place ${A} into your DISTDIR directory"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# self unpacking zip archive; unzip warns about the exe stuff
|
||||
unpack_zip ${A}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang .
|
||||
|
||||
sed -i \
|
||||
-e "s:xdg_install_icons(:&\"${ED}\".:" \
|
||||
-e "s:\"\(.*\)/applications:\"${ED}\1/applications:" \
|
||||
-e "s:\"\(.*\)/desktop-directories:\"${ED}\1/desktop-directories:" \
|
||||
"${S}/lib/perl/CXMenuXDG.pm"
|
||||
|
||||
# Remove unnecessary files
|
||||
rm -r license.txt guis/ || die "Could not remove files"
|
||||
use doc || rm -r doc/ || die "Could not remove files"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Install crossover symlink, bug #476314
|
||||
dosym ../cxoffice/bin/crossover /opt/bin/crossover
|
||||
|
||||
# Install documentation
|
||||
dodoc README changelog.txt
|
||||
rm README changelog.txt || die "Could not remove README and changelog.txt"
|
||||
|
||||
# Install files
|
||||
dodir /opt/cxoffice
|
||||
#cp -r ./* "${ED}opt/cxoffice" \
|
||||
find . | cpio -dumpl "${ED}/opt/cxoffice" 2>/dev/null \
|
||||
|| die "Could not install into ${ED}/opt/cxoffice"
|
||||
|
||||
# Install configuration file
|
||||
insinto /opt/cxoffice/etc
|
||||
doins share/crossover/data/cxoffice.conf
|
||||
|
||||
# Konqueror in its infinite wisdom decides to try opening things for
|
||||
# writing, which are sandbox violations. This breaks the install process if
|
||||
# it is installed, so we ninja edit it to false so it so doesn't run.
|
||||
sed -i -e 's/cxwhich konqueror/false &/' "${ED}/opt/cxoffice/bin/locate_gui.sh" \
|
||||
|| die "Could not apply workaround for konqueror"
|
||||
|
||||
# Install menus
|
||||
# XXX: locate_gui.sh automatically detects *-application-merged directories
|
||||
# This means what we install will vary depending on the contents of
|
||||
# /etc/xdg, which is a QA violation. It is not clear how to resolve this.
|
||||
XDG_DATA_HOME="/usr/share" XDG_CONFIG_HOME="/etc/xdg" \
|
||||
"${ED}/opt/cxoffice/bin/cxmenu" --destdir="${ED}" --crossover --install \
|
||||
|| die "Could not install menus"
|
||||
|
||||
# Revert ninja edit
|
||||
sed -i -e 's/false \(cxwhich konqueror\)/\1/' "${ED}/opt/cxoffice/bin/locate_gui.sh" \
|
||||
|| die "Could not apply workaround for konqueror"
|
||||
|
||||
rm "${ED}/usr/share/applications/"*"Uninstall CrossOver Linux.desktop" \
|
||||
|| die "Could not remove uninstall menus"
|
||||
sed -i \
|
||||
-e "s:\"${ED}\".::" \
|
||||
-e "s:${ED}::" \
|
||||
"${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm" \
|
||||
|| die "Could not fix paths in ${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm"
|
||||
sed -i -e "s:${ED}:/:" \
|
||||
"${ED}/usr/share/applications/"*"CrossOver.desktop" \
|
||||
|| die "Could not fix paths of *.desktop files"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "${P} is open source software with the exception of the GUI."
|
||||
einfo "Source code can be obtained from:"
|
||||
einfo
|
||||
einfo "https://media.codeweavers.com/pub/crossover/source/crossover-sources-${PV}.tar.gz"
|
||||
}
|
@ -0,0 +1,170 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="threads"
|
||||
|
||||
inherit python-single-r1 unpacker
|
||||
|
||||
DESCRIPTION="Commercial version of app-emulation/wine with paid support."
|
||||
HOMEPAGE="http://www.codeweavers.com/products/crossover/"
|
||||
SRC_URI="https://media.codeweavers.com/pub/crossover/cxlinux/demo/install-crossover-${PV}.bin"
|
||||
|
||||
LICENSE="CROSSOVER-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="+capi +cups doc +gphoto2 +gsm +jpeg +lcms +ldap +mp3 +nls +openal +opencl +opengl +png +scanner +ssl +v4l"
|
||||
RESTRICT="bindist test"
|
||||
|
||||
QA_FLAGS_IGNORED="opt/cxoffice/.*"
|
||||
QA_PRESTRIPPED="
|
||||
opt/cxoffice/lib/.*
|
||||
opt/cxoffice/lib64/.*
|
||||
opt/cxoffice/bin/cxburner
|
||||
opt/cxoffice/bin/cxntlm_auth
|
||||
opt/cxoffice/bin/wineserver
|
||||
opt/cxoffice/bin/wineserver32
|
||||
opt/cxoffice/bin/wineserver64
|
||||
opt/cxoffice/bin/wine64-preloader
|
||||
opt/cxoffice/bin/unrar
|
||||
opt/cxoffice/bin/wine-preloader
|
||||
opt/cxoffice/bin/cxdiag
|
||||
opt/cxoffice/bin/cxdiag64
|
||||
opt/cxoffice/bin/cxgettext
|
||||
opt/cxoffice/bin/wineloader
|
||||
opt/cxoffice/bin/wineloader64
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
DEPEND=""
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
dev-lang/perl
|
||||
app-arch/unzip
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
!prefix? ( sys-libs/glibc )
|
||||
>=dev-python/pygtk-2.10:2[${PYTHON_USEDEP}]
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-util/desktop-file-utils
|
||||
!app-emulation/crossover-office-pro-bin
|
||||
!app-emulation/crossover-office-bin
|
||||
capi? ( net-libs/libcapi[abi_x86_32(-)] )
|
||||
cups? ( net-print/cups[abi_x86_32(-)] )
|
||||
gsm? ( media-sound/gsm[abi_x86_32(-)] )
|
||||
jpeg? ( virtual/jpeg:0[abi_x86_32(-)] )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
ldap? ( net-nds/openldap[abi_x86_32(-)] )
|
||||
gphoto2? ( media-libs/libgphoto2[abi_x86_32(-)] )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0[abi_x86_32(-)] )
|
||||
nls? ( sys-devel/gettext[abi_x86_32(-)] )
|
||||
openal? ( media-libs/openal[abi_x86_32(-)] )
|
||||
opencl? ( virtual/opencl[abi_x86_32(-)] )
|
||||
opengl? (
|
||||
virtual/glu[abi_x86_32(-)]
|
||||
virtual/opengl[abi_x86_32(-)]
|
||||
)
|
||||
png? ( media-libs/libpng:0[abi_x86_32(-)] )
|
||||
scanner? ( media-gfx/sane-backends[abi_x86_32(-)] )
|
||||
ssl? ( dev-libs/openssl:0[abi_x86_32(-)] )
|
||||
v4l? ( media-libs/libv4l[abi_x86_32(-)] )
|
||||
media-libs/alsa-lib[abi_x86_32(-)]
|
||||
media-libs/freetype:2[abi_x86_32(-)]
|
||||
media-libs/mesa[abi_x86_32(-)]
|
||||
sys-auth/nss-mdns[abi_x86_32(-)]
|
||||
sys-apps/util-linux[abi_x86_32(-)]
|
||||
sys-libs/ncurses:5/5[abi_x86_32(-)]
|
||||
sys-libs/zlib[abi_x86_32(-)]
|
||||
x11-libs/libICE[abi_x86_32(-)]
|
||||
x11-libs/libSM[abi_x86_32(-)]
|
||||
x11-libs/libX11[abi_x86_32(-)]
|
||||
x11-libs/libXau[abi_x86_32(-)]
|
||||
x11-libs/libXdmcp[abi_x86_32(-)]
|
||||
x11-libs/libXext[abi_x86_32(-)]
|
||||
x11-libs/libXi[abi_x86_32(-)]
|
||||
x11-libs/libXrandr[abi_x86_32(-)]
|
||||
x11-libs/libXxf86vm[abi_x86_32(-)]
|
||||
x11-libs/libxcb[abi_x86_32(-)]
|
||||
"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please visit ${HOMEPAGE}"
|
||||
einfo "and place ${A} into your DISTDIR directory"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# self unpacking zip archive; unzip warns about the exe stuff
|
||||
unpack_zip ${A}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang .
|
||||
|
||||
sed -i \
|
||||
-e "s:xdg_install_icons(:&\"${ED}\".:" \
|
||||
-e "s:\"\(.*\)/applications:\"${ED}\1/applications:" \
|
||||
-e "s:\"\(.*\)/desktop-directories:\"${ED}\1/desktop-directories:" \
|
||||
"${S}/lib/perl/CXMenuXDG.pm"
|
||||
|
||||
# Remove unnecessary files
|
||||
rm -r license.txt guis/ || die "Could not remove files"
|
||||
use doc || rm -r doc/ || die "Could not remove files"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Install crossover symlink, bug #476314
|
||||
dosym ../cxoffice/bin/crossover /opt/bin/crossover
|
||||
|
||||
# Install documentation
|
||||
dodoc README changelog.txt
|
||||
rm README changelog.txt || die "Could not remove README and changelog.txt"
|
||||
|
||||
# Install files
|
||||
dodir /opt/cxoffice
|
||||
#cp -r ./* "${ED}opt/cxoffice" \
|
||||
find . | cpio -dumpl "${ED}/opt/cxoffice" 2>/dev/null \
|
||||
|| die "Could not install into ${ED}/opt/cxoffice"
|
||||
|
||||
# Install configuration file
|
||||
insinto /opt/cxoffice/etc
|
||||
doins share/crossover/data/cxoffice.conf
|
||||
|
||||
# Konqueror in its infinite wisdom decides to try opening things for
|
||||
# writing, which are sandbox violations. This breaks the install process if
|
||||
# it is installed, so we ninja edit it to false so it so doesn't run.
|
||||
sed -i -e 's/cxwhich konqueror/false &/' "${ED}/opt/cxoffice/bin/locate_gui.sh" \
|
||||
|| die "Could not apply workaround for konqueror"
|
||||
|
||||
# Install menus
|
||||
# XXX: locate_gui.sh automatically detects *-application-merged directories
|
||||
# This means what we install will vary depending on the contents of
|
||||
# /etc/xdg, which is a QA violation. It is not clear how to resolve this.
|
||||
XDG_DATA_HOME="/usr/share" XDG_CONFIG_HOME="/etc/xdg" \
|
||||
"${ED}/opt/cxoffice/bin/cxmenu" --destdir="${ED}" --crossover --install \
|
||||
|| die "Could not install menus"
|
||||
|
||||
# Revert ninja edit
|
||||
sed -i -e 's/false \(cxwhich konqueror\)/\1/' "${ED}/opt/cxoffice/bin/locate_gui.sh" \
|
||||
|| die "Could not apply workaround for konqueror"
|
||||
|
||||
rm "${ED}/usr/share/applications/"*"Uninstall CrossOver Linux.desktop" \
|
||||
|| die "Could not remove uninstall menus"
|
||||
sed -i \
|
||||
-e "s:\"${ED}\".::" \
|
||||
-e "s:${ED}::" \
|
||||
"${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm" \
|
||||
|| die "Could not fix paths in ${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm"
|
||||
sed -i -e "s:${ED}:/:" \
|
||||
"${ED}/usr/share/applications/"*"CrossOver.desktop" \
|
||||
|| die "Could not fix paths of *.desktop files"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "${P} is open source software with the exception of the GUI."
|
||||
einfo "Source code can be obtained from:"
|
||||
einfo
|
||||
einfo "https://media.codeweavers.com/pub/crossover/source/crossover-sources-${PV}.tar.gz"
|
||||
}
|
@ -0,0 +1,170 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="threads"
|
||||
|
||||
inherit python-single-r1 unpacker
|
||||
|
||||
DESCRIPTION="Commercial version of app-emulation/wine with paid support."
|
||||
HOMEPAGE="http://www.codeweavers.com/products/crossover/"
|
||||
SRC_URI="https://media.codeweavers.com/pub/crossover/cxlinux/demo/install-crossover-${PV}.bin"
|
||||
|
||||
LICENSE="CROSSOVER-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="+capi +cups doc +gphoto2 +gsm +jpeg +lcms +ldap +mp3 +nls +openal +opencl +opengl +png +scanner +ssl +v4l"
|
||||
RESTRICT="bindist test"
|
||||
|
||||
QA_FLAGS_IGNORED="opt/cxoffice/.*"
|
||||
QA_PRESTRIPPED="
|
||||
opt/cxoffice/lib/.*
|
||||
opt/cxoffice/lib64/.*
|
||||
opt/cxoffice/bin/cxburner
|
||||
opt/cxoffice/bin/cxntlm_auth
|
||||
opt/cxoffice/bin/wineserver
|
||||
opt/cxoffice/bin/wineserver32
|
||||
opt/cxoffice/bin/wineserver64
|
||||
opt/cxoffice/bin/wine64-preloader
|
||||
opt/cxoffice/bin/unrar
|
||||
opt/cxoffice/bin/wine-preloader
|
||||
opt/cxoffice/bin/cxdiag
|
||||
opt/cxoffice/bin/cxdiag64
|
||||
opt/cxoffice/bin/cxgettext
|
||||
opt/cxoffice/bin/wineloader
|
||||
opt/cxoffice/bin/wineloader64
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
DEPEND=""
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
dev-lang/perl
|
||||
app-arch/unzip
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
!prefix? ( sys-libs/glibc )
|
||||
>=dev-python/pygtk-2.10:2[${PYTHON_USEDEP}]
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-util/desktop-file-utils
|
||||
!app-emulation/crossover-office-pro-bin
|
||||
!app-emulation/crossover-office-bin
|
||||
capi? ( net-libs/libcapi[abi_x86_32(-)] )
|
||||
cups? ( net-print/cups[abi_x86_32(-)] )
|
||||
gsm? ( media-sound/gsm[abi_x86_32(-)] )
|
||||
jpeg? ( virtual/jpeg:0[abi_x86_32(-)] )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
ldap? ( net-nds/openldap[abi_x86_32(-)] )
|
||||
gphoto2? ( media-libs/libgphoto2[abi_x86_32(-)] )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0[abi_x86_32(-)] )
|
||||
nls? ( sys-devel/gettext[abi_x86_32(-)] )
|
||||
openal? ( media-libs/openal[abi_x86_32(-)] )
|
||||
opencl? ( virtual/opencl[abi_x86_32(-)] )
|
||||
opengl? (
|
||||
virtual/glu[abi_x86_32(-)]
|
||||
virtual/opengl[abi_x86_32(-)]
|
||||
)
|
||||
png? ( media-libs/libpng:0[abi_x86_32(-)] )
|
||||
scanner? ( media-gfx/sane-backends[abi_x86_32(-)] )
|
||||
ssl? ( dev-libs/openssl:0[abi_x86_32(-)] )
|
||||
v4l? ( media-libs/libv4l[abi_x86_32(-)] )
|
||||
media-libs/alsa-lib[abi_x86_32(-)]
|
||||
media-libs/freetype:2[abi_x86_32(-)]
|
||||
media-libs/mesa[abi_x86_32(-)]
|
||||
sys-auth/nss-mdns[abi_x86_32(-)]
|
||||
sys-apps/util-linux[abi_x86_32(-)]
|
||||
sys-libs/ncurses:5/5[abi_x86_32(-)]
|
||||
sys-libs/zlib[abi_x86_32(-)]
|
||||
x11-libs/libICE[abi_x86_32(-)]
|
||||
x11-libs/libSM[abi_x86_32(-)]
|
||||
x11-libs/libX11[abi_x86_32(-)]
|
||||
x11-libs/libXau[abi_x86_32(-)]
|
||||
x11-libs/libXdmcp[abi_x86_32(-)]
|
||||
x11-libs/libXext[abi_x86_32(-)]
|
||||
x11-libs/libXi[abi_x86_32(-)]
|
||||
x11-libs/libXrandr[abi_x86_32(-)]
|
||||
x11-libs/libXxf86vm[abi_x86_32(-)]
|
||||
x11-libs/libxcb[abi_x86_32(-)]
|
||||
"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please visit ${HOMEPAGE}"
|
||||
einfo "and place ${A} into your DISTDIR directory"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# self unpacking zip archive; unzip warns about the exe stuff
|
||||
unpack_zip ${A}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang .
|
||||
|
||||
sed -i \
|
||||
-e "s:xdg_install_icons(:&\"${ED}\".:" \
|
||||
-e "s:\"\(.*\)/applications:\"${ED}\1/applications:" \
|
||||
-e "s:\"\(.*\)/desktop-directories:\"${ED}\1/desktop-directories:" \
|
||||
"${S}/lib/perl/CXMenuXDG.pm"
|
||||
|
||||
# Remove unnecessary files
|
||||
rm -r license.txt guis/ || die "Could not remove files"
|
||||
use doc || rm -r doc/ || die "Could not remove files"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Install crossover symlink, bug #476314
|
||||
dosym ../cxoffice/bin/crossover /opt/bin/crossover
|
||||
|
||||
# Install documentation
|
||||
dodoc README changelog.txt
|
||||
rm README changelog.txt || die "Could not remove README and changelog.txt"
|
||||
|
||||
# Install files
|
||||
dodir /opt/cxoffice
|
||||
#cp -r ./* "${ED}opt/cxoffice" \
|
||||
find . | cpio -dumpl "${ED}/opt/cxoffice" 2>/dev/null \
|
||||
|| die "Could not install into ${ED}/opt/cxoffice"
|
||||
|
||||
# Install configuration file
|
||||
insinto /opt/cxoffice/etc
|
||||
doins share/crossover/data/cxoffice.conf
|
||||
|
||||
# Konqueror in its infinite wisdom decides to try opening things for
|
||||
# writing, which are sandbox violations. This breaks the install process if
|
||||
# it is installed, so we ninja edit it to false so it so doesn't run.
|
||||
sed -i -e 's/cxwhich konqueror/false &/' "${ED}/opt/cxoffice/bin/locate_gui.sh" \
|
||||
|| die "Could not apply workaround for konqueror"
|
||||
|
||||
# Install menus
|
||||
# XXX: locate_gui.sh automatically detects *-application-merged directories
|
||||
# This means what we install will vary depending on the contents of
|
||||
# /etc/xdg, which is a QA violation. It is not clear how to resolve this.
|
||||
XDG_DATA_HOME="/usr/share" XDG_CONFIG_HOME="/etc/xdg" \
|
||||
"${ED}/opt/cxoffice/bin/cxmenu" --destdir="${ED}" --crossover --install \
|
||||
|| die "Could not install menus"
|
||||
|
||||
# Revert ninja edit
|
||||
sed -i -e 's/false \(cxwhich konqueror\)/\1/' "${ED}/opt/cxoffice/bin/locate_gui.sh" \
|
||||
|| die "Could not apply workaround for konqueror"
|
||||
|
||||
rm "${ED}/usr/share/applications/"*"Uninstall CrossOver Linux.desktop" \
|
||||
|| die "Could not remove uninstall menus"
|
||||
sed -i \
|
||||
-e "s:\"${ED}\".::" \
|
||||
-e "s:${ED}::" \
|
||||
"${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm" \
|
||||
|| die "Could not fix paths in ${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm"
|
||||
sed -i -e "s:${ED}:/:" \
|
||||
"${ED}/usr/share/applications/"*"CrossOver.desktop" \
|
||||
|| die "Could not fix paths of *.desktop files"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "${P} is open source software with the exception of the GUI."
|
||||
einfo "Source code can be obtained from:"
|
||||
einfo
|
||||
einfo "https://media.codeweavers.com/pub/crossover/source/crossover-sources-${PV}.tar.gz"
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EGO_PN="github.com/docker/libnetwork"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit golang-vcs
|
||||
else
|
||||
EGIT_COMMIT="c9029898e32f7c89bbb81511fbb721df252ce61a"
|
||||
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64"
|
||||
inherit golang-vcs-snapshot
|
||||
fi
|
||||
|
||||
DESCRIPTION="Docker container networking"
|
||||
HOMEPAGE="https://github.com/docker/libnetwork"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${P}/src/${EGO_PN}
|
||||
|
||||
RESTRICT="test" # needs dockerd
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${WORKDIR}/${P}" go build -o "bin/docker-proxy" ./cmd/proxy || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc ROADMAP.md README.md CHANGELOG.md
|
||||
dobin bin/docker-proxy
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST docker-runc-1.0.0_rc4_p20180122.tar.gz 1184954 BLAKE2B faf07c06c12301588d9adb1bfd31d562b31cd1119f1247b06afb2d6eba077c37a8871bd32d48e20b79f1b91fd052ec54fe6da5ac8c51713c9757e1967db563c3 SHA512 c7b24ca6212ce500d1d4c3a1776be5ca116d4f005d71e5fe8f2228c26f039058f3dd1071e9e39aa9c93272a49f7ff2ac86e2fbbcf6115cc3de65a370127d8ea5
|
||||
EBUILD docker-runc-1.0.0_rc4_p20180122.ebuild 1384 BLAKE2B 26d60b88bbe9531176778c5fefe93a1e85ff16daff027e62bc4d145bf420f4541beee801e2daee2b96fc7aab92f234678d792be36741061be31acfaa1ac31300 SHA512 b485d24d174207b511afb878056564922f9c3fbfe0b18967dccd705930f3dd1f43b4f615abd325f30a7cde3d663d16546d5edb48d45748e953b929350504ac90
|
||||
MISC metadata.xml 627 BLAKE2B af677935e5cb5c43d3b0e4d8a204bcfb14f4b77dc386fd2a756923457ae88cdc33fd85a84879b7908662c3c1b20ce0ba5598ae708d764bd36a071e32d9beb2c8 SHA512 1038519441e238a48dafd9a0827d931cc3ca2618e57f7f1300bdc138e6bc2b768ae47f936456bf2aa5c434e617b628344aa4071fe805e698671d5f74ffb10163
|
||||
MISC metadata.xml 549 BLAKE2B 3abe771305fac3d044ccc50d495dcbe54c1023870dd3047e83cf750a658303fda48d4944202785f37fa1b40cb568acdb92872b5f97358d2025ccb3a87c91df15 SHA512 be3fbad66b2d519eb71fb8d2902eed883a40f087d3d4b48d908ea250b55f59865d3f6f2554189f8d7372cd0b4310fdfa37f1202e7f2e781f70299fed0dad2c96
|
||||
|
@ -1,7 +1,8 @@
|
||||
AUX bsc1073877-docker-apparmor-add-signal-r2.patch 2931 BLAKE2B 92737eb582f5c2b3bc548952e20f8b9512ea3abab785280a351202878a77fc5e7c00267498ac38cd13dfb5b21a891f5be827f8f4ed234ca34bb90523cd2ebacf SHA512 f1c57585146d89be987b19ebd99a0da69d75309885e3b2a098c1b5f339aafa360c3726fe5e99a2580c98c3f036d83eabd3d2d72461d97e8a0cbb4dbc27f895d4
|
||||
DIST docker-18.06.2.tar.gz 13675733 BLAKE2B 1b0852851a9c0412d7098b114f8ff62a7fc624f1bd77ba72629009c5b2afbbbacd79f93cdb4287bdb5a58c9b09ff76c9fb5b9ea40933686b62c78ebdc61d1a1b SHA512 78ab030555501071eee47964894798847d7a60ac826479215a2d0a74c75bac88ad212b7f5ab0f29444407456a3914c263c04a1398dc895586026440f203b50a4
|
||||
DIST docker-18.09.4.tar.gz 15254594 BLAKE2B 9dec1752d58e874abf13a5d6285d4318af3d147f6ae989691ce4c1df577d79b1e4b7fdb673f979d5e4be2359debeaf766018d96ac17866d656d754575411c646 SHA512 139d09829b92319f66dea692bac0664decc666d9bc13f0a85b275e3fe2cf3b7e71b7e608a519c7a7baa40626309e2d4da880bee84da19f5eb3107af55d072ddf
|
||||
DIST docker-18.09.5.tar.gz 15256899 BLAKE2B c55ef822b3e655b0bec9585de6ee346e73d48d388225141097768db9f5ddaeca2d1937274a7131e3e301686e2214a9ed2051dd72c07893bcfccb00424d02df73 SHA512 a6012d202761d6449e347b03759d92f5f45309e72562fd4a619b2a21c62b3f50b1256d2e4820317aa6b412f1eecda66dbd960d322293699433417a5f7ee73486
|
||||
EBUILD docker-18.06.2.ebuild 8489 BLAKE2B cd1ce26e248cf86bbb31f5b2c023fd73df41010f0f0953bf677df2c0c823d6ab0520ac9dc6309ad5a66de879901e6968376f3956f7d79e7c28f3b2e6b2d2eed9 SHA512 a1a2be3fc79751bd93090d128ae1f3c29a3b6cc7f887e40738c566235faa741a777a7bd0778d29e40b9fb32a78899e2f19a008ef75f0a9df5f9a89bd8bda20c2
|
||||
EBUILD docker-18.09.4.ebuild 8295 BLAKE2B 94f91564ec07f1807c3fde22d43c7f7d82a39ffc644295477fc11a5060ff1a42888a5e773dba6684b997a05f3c7cc2d8feebff8251a99b4669446adbf0524947 SHA512 0f8493f2dc08d8d4de2dd911f577c0ac57e89e01e3f337efc47d7c5de518b9f0ce0fc9c9d513bc4b54b6d8695462c6b7952575da3c8d3809588f651a8fc37bad
|
||||
EBUILD docker-9999.ebuild 8168 BLAKE2B d1111f0132aa330f95f8f9dcd5c49aee0c8a0eaa5ee3cbd567be89f0d2f4b8c230c80d817fe14272d7c2765f1877ad070ebe98107575ec0f43d10e2f6f6b089b SHA512 e629feee1e546a0ea4570692446697899199248334fc00337963eda8857fadde618fc42ad23288f4239cb7f6f71ad52a61a2d275e54a7694fd79fa1fc1610df3
|
||||
EBUILD docker-18.09.5.ebuild 8296 BLAKE2B 3f906ec2ad2fa3100d4b37bbaeb843f790bd620f8b083e3a4099a909a7c83e9bb1df1899db2e6a91e354d1db240f7ba81fc3b16c812ac306c0d8d3420464ffc7 SHA512 01b0b23ec67da9e90d79f4f5cbd62cca4d8f82488911f958226e3262017443a6c8da68e5c6e16bd4e557baf7a5e856ccfabdbd813594fa3410f9d1b53815d476
|
||||
MISC metadata.xml 1637 BLAKE2B 14c56a84e41ebd76827cf37c27fe21259ca06e00d8c7fe318bd5eca609a77a9e23fc5ea13caba1616e47d17978402f715e6a8bc40643ce0cfb3ee87494ee6858 SHA512 bdaea32036a7f65f7015634d45bdf4f13322f3266cda389b49d2c57ad86e9811731194af5786e312d5ea40dab8b8eb78fc7b79a2ffee186b8eaabae9cc3c7a1b
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
DIST bijiben-3.26.1.tar.xz 864676 BLAKE2B 8c15939d356af70ed30c8bf7dcb9cb8d81ac6f1ad5969b0b6e9fefd08efd267c65454f582e368d5183425d3cfba9fe6d2d227d1825f1c7be52fbdc5ff53ef0ff SHA512 a057fcd0400eecff90bd8feb67c775ca036d0f40e92b44cc1f35fe418288ad9aec5cfb080c8c47ba862bfbecfd94ec69a0bbd811e0364d2e273901b7d4a8b2f9
|
||||
DIST bijiben-3.26.2.tar.xz 865148 BLAKE2B 77bb78745295d414153e18491fd16faad29defabaff4ad979db7cc6e6fe075e042dd8b04d321282fbfbf163541818019bc2cbda0f8562010dfc32f275f3f54e8 SHA512 1db8c5e605b5c6a0fcd8743365a53b6ab2d986a18d501a3f02e892bcfc8ba91e9ca933b6f2a4318f71724b40f190d0ebc18eabfe1332de6765b9bca09d36718e
|
||||
EBUILD bijiben-3.26.1.ebuild 708 BLAKE2B ac47bec8f3827f1fdd307de3b2ef447572cee4902e42cb00f850d609ad3579197f81113795a5e043f7a5a21193c166a3465dd0178f059e90fcda7076659cce60 SHA512 525c17f986bb609e8e7efc51faee217ac1799ecfbb8afb5681c9f0e40f12dd22e32ae195d851e6f57a4d35c342465c13d1a72d9ef9341ebba984169162c021b4
|
||||
EBUILD bijiben-3.26.2.ebuild 704 BLAKE2B e65c95e57d73b6186faa1f357b2e1142d81b4a83b17e25d18dca179d2878f2bc5082addc7961c18934ce8e295e8d785ff4851cc113b3572d2844bcf64b224224 SHA512 2f53ede5cbfc0bc5b79ed43fbb8a7bb42194f2c5d8dc2a932b701879b2641bbfd807428cd15ca888a82095b36a28a0824955ccc8c1882cf4ed68059e4fa77959
|
||||
MISC metadata.xml 249 BLAKE2B e71e1b95fee768c696704acbf7e3cf0e599ed2bc8de92bae0141d1194ef9e842bdc292798904487a9b90ddfda9b0e84abd3b76b1518576c1d288240e4e46f110 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Note editor designed to remain simple to use"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Bijiben"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.53.4:2
|
||||
>=x11-libs/gtk+-3.11.4:3
|
||||
>=gnome-extra/evolution-data-server-3.13.90:=
|
||||
>=net-libs/webkit-gtk-2.10.0:4
|
||||
net-libs/gnome-online-accounts:=
|
||||
dev-libs/libxml2:2
|
||||
app-misc/tracker:0/100
|
||||
sys-apps/util-linux
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/appstream-glib
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/glib-utils
|
||||
>=dev-util/intltool-0.50.1
|
||||
dev-util/itstool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
@ -1,246 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit autotools bash-completion-r1 eutils gnome2 linux-info multilib python-any-r1 vala versionator virtualx
|
||||
|
||||
DESCRIPTION="A tagging metadata database, search tool and indexer"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/Tracker"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0/100"
|
||||
IUSE="cue elibc_glibc exif ffmpeg firefox-bookmarks flac gif gsf gstreamer gtk iptc +iso +jpeg libav +miner-fs mp3 networkmanager pdf playlist rss seccomp stemmer test thunderbird +tiff upnp-av upower +vorbis +xml xmp xps"
|
||||
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
|
||||
|
||||
REQUIRED_USE="
|
||||
?? ( gstreamer ffmpeg )
|
||||
cue? ( gstreamer )
|
||||
upnp-av? ( gstreamer )
|
||||
!miner-fs? ( !cue !exif !flac !gif !gsf !iptc !iso !jpeg !mp3 !pdf !playlist !tiff !vorbis !xml !xmp !xps )
|
||||
"
|
||||
|
||||
# According to NEWS, introspection is non-optional
|
||||
# glibc-2.12 needed for SCHED_IDLE (see bug #385003)
|
||||
# seccomp is automagic, though we want to use it whenever possible (linux)
|
||||
# >=media-libs/libmediaart-1.9:2.0 is suggested to be disabled for 1.10 for security;
|
||||
# It is disable in configure in 1.12; revisit for 1.14/2 (configure flag)
|
||||
RDEPEND="
|
||||
>=app-i18n/enca-1.9
|
||||
>=dev-db/sqlite-3.20:=
|
||||
>=dev-libs/glib-2.44:2
|
||||
>=dev-libs/gobject-introspection-0.9.5:=
|
||||
>=dev-libs/icu-4.8.1.1:=
|
||||
>=dev-libs/json-glib-1.0
|
||||
>=media-libs/libpng-1.2:0=
|
||||
>=net-libs/libsoup-2.40:2.4
|
||||
>=x11-libs/pango-1:=
|
||||
sys-apps/util-linux
|
||||
virtual/imagemagick-tools[png,jpeg?]
|
||||
|
||||
cue? ( media-libs/libcue )
|
||||
elibc_glibc? ( >=sys-libs/glibc-2.12 )
|
||||
exif? ( >=media-libs/libexif-0.6 )
|
||||
ffmpeg? (
|
||||
libav? ( media-video/libav:= )
|
||||
!libav? ( media-video/ffmpeg:0= )
|
||||
)
|
||||
firefox-bookmarks? ( || (
|
||||
>=www-client/firefox-4.0
|
||||
>=www-client/firefox-bin-4.0 ) )
|
||||
flac? ( >=media-libs/flac-1.2.1 )
|
||||
gif? ( media-libs/giflib:= )
|
||||
gsf? ( >=gnome-extra/libgsf-1.14.24 )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0 )
|
||||
gtk? (
|
||||
>=x11-libs/gtk+-3:3 )
|
||||
iptc? ( media-libs/libiptcdata )
|
||||
iso? ( >=sys-libs/libosinfo-0.2.9:= )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
upower? ( >=sys-power/upower-0.9 )
|
||||
mp3? ( >=media-libs/taglib-1.6 )
|
||||
networkmanager? ( >=net-misc/networkmanager-0.8:= )
|
||||
pdf? (
|
||||
>=x11-libs/cairo-1:=
|
||||
>=app-text/poppler-0.16[cairo,utils]
|
||||
>=x11-libs/gtk+-2.12:2 )
|
||||
playlist? ( >=dev-libs/totem-pl-parser-3 )
|
||||
rss? ( >=net-libs/libgrss-0.7:0 )
|
||||
stemmer? ( dev-libs/snowball-stemmer )
|
||||
thunderbird? ( || (
|
||||
>=mail-client/thunderbird-5.0
|
||||
>=mail-client/thunderbird-bin-5.0 ) )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
upnp-av? ( >=media-libs/gupnp-dlna-0.9.4:2.0 )
|
||||
vorbis? ( >=media-libs/libvorbis-0.22 )
|
||||
xml? ( >=dev-libs/libxml2-2.6 )
|
||||
xmp? ( >=media-libs/exempi-2.1 )
|
||||
xps? ( app-text/libgxps )
|
||||
!gstreamer? ( !ffmpeg? ( || ( media-video/totem media-video/mplayer ) ) )
|
||||
seccomp? ( >=sys-libs/libseccomp-2.0 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
$(vala_depend)
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/glib-utils
|
||||
>=dev-util/gtk-doc-am-1.8
|
||||
>=dev-util/intltool-0.40.0
|
||||
>=sys-devel/gettext-0.17
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
>=dev-libs/dbus-glib-0.82-r1
|
||||
>=sys-apps/dbus-1.3.1[X] )
|
||||
"
|
||||
|
||||
function inotify_enabled() {
|
||||
if linux_config_exists; then
|
||||
if ! linux_chkconfig_present INOTIFY_USER; then
|
||||
ewarn "You should enable the INOTIFY support in your kernel."
|
||||
ewarn "Check the 'Inotify support for userland' under the 'File systems'"
|
||||
ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config"
|
||||
die 'missing CONFIG_INOTIFY'
|
||||
fi
|
||||
else
|
||||
einfo "Could not check for INOTIFY support in your kernel."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
inotify_enabled
|
||||
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Don't run 'firefox --version' or 'thunderbird --version'; it results in
|
||||
# access violations on some setups (bug #385347, #385495).
|
||||
create_version_script "www-client/firefox" "Mozilla Firefox" firefox-version.sh
|
||||
create_version_script "mail-client/thunderbird" "Mozilla Thunderbird" thunderbird-version.sh
|
||||
|
||||
eautoreconf # See bug #367975
|
||||
gnome2_src_prepare
|
||||
vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
if use gstreamer ; then
|
||||
myconf="${myconf} --enable-generic-media-extractor=gstreamer"
|
||||
if use upnp-av; then
|
||||
myconf="${myconf} --with-gstreamer-backend=gupnp-dlna"
|
||||
else
|
||||
myconf="${myconf} --with-gstreamer-backend=discoverer"
|
||||
fi
|
||||
elif use ffmpeg ; then
|
||||
myconf="${myconf} --enable-generic-media-extractor=libav"
|
||||
else
|
||||
myconf="${myconf} --enable-generic-media-extractor=external"
|
||||
fi
|
||||
|
||||
# unicode-support: libunistring, libicu or glib ?
|
||||
# According to NEWS, introspection is required
|
||||
# is not being generated
|
||||
# miner-evolution disabled as it's incompatible with current eds
|
||||
gnome2_src_configure \
|
||||
--disable-hal \
|
||||
--disable-miner-evolution \
|
||||
--disable-nautilus-extension \
|
||||
--disable-static \
|
||||
--enable-abiword \
|
||||
--enable-artwork \
|
||||
--enable-dvi \
|
||||
--enable-enca \
|
||||
--enable-guarantee-metadata \
|
||||
--enable-icon \
|
||||
--enable-introspection \
|
||||
--disable-libmediaart \
|
||||
--enable-libpng \
|
||||
--enable-miner-apps \
|
||||
--enable-miner-user-guides \
|
||||
--enable-ps \
|
||||
--enable-text \
|
||||
--enable-tracker-fts \
|
||||
--enable-tracker-writeback \
|
||||
--with-unicode-support=libicu \
|
||||
--with-bash-completion-dir="$(get_bashcompdir)" \
|
||||
$(use_enable cue libcue) \
|
||||
$(use_enable exif libexif) \
|
||||
$(use_enable firefox-bookmarks miner-firefox) \
|
||||
$(use_with firefox-bookmarks firefox-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/firefox/extensions) \
|
||||
FIREFOX="${S}"/firefox-version.sh \
|
||||
$(use_enable flac libflac) \
|
||||
$(use_enable gif libgif) \
|
||||
$(use_enable gsf libgsf) \
|
||||
$(use_enable gtk tracker-needle) \
|
||||
$(use_enable gtk tracker-preferences) \
|
||||
$(use_enable iptc libiptcdata) \
|
||||
$(use_enable iso libosinfo) \
|
||||
$(use_enable jpeg libjpeg) \
|
||||
$(use_enable upower upower) \
|
||||
$(use_enable miner-fs) \
|
||||
$(use_enable mp3 taglib) \
|
||||
$(use_enable mp3) \
|
||||
$(use_enable networkmanager network-manager) \
|
||||
$(use_enable pdf poppler) \
|
||||
$(use_enable playlist) \
|
||||
$(use_enable rss miner-rss) \
|
||||
$(use_enable stemmer libstemmer) \
|
||||
$(use_enable test functional-tests) \
|
||||
$(use_enable test unit-tests) \
|
||||
$(use_enable thunderbird miner-thunderbird) \
|
||||
$(use_with thunderbird thunderbird-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/thunderbird/extensions) \
|
||||
THUNDERBIRD="${S}"/thunderbird-version.sh \
|
||||
$(use_enable tiff libtiff) \
|
||||
$(use_enable vorbis libvorbis) \
|
||||
$(use_enable xml libxml2) \
|
||||
$(use_enable xmp exempi) \
|
||||
$(use_enable xps libgxps) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# G_MESSAGES_DEBUG, upstream bug #699401#c1
|
||||
virtx emake check TESTS_ENVIRONMENT="dbus-run-session" G_MESSAGES_DEBUG="all"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
# Manually symlink extensions for {firefox,thunderbird}-bin
|
||||
if use firefox-bookmarks; then
|
||||
dosym ../../../share/xul-ext/trackerfox \
|
||||
/usr/$(get_libdir)/firefox-bin/extensions/trackerfox@bustany.org
|
||||
fi
|
||||
|
||||
if use thunderbird; then
|
||||
dosym ../../../share/xul-ext/trackerbird \
|
||||
/usr/$(get_libdir)/thunderbird-bin/extensions/trackerbird@bustany.org
|
||||
fi
|
||||
}
|
||||
|
||||
create_version_script() {
|
||||
# Create script $3 that prints "$2 MAX(VERSION($1), VERSION($1-bin))"
|
||||
|
||||
local v=$(best_version ${1})
|
||||
v=${v#${1}-}
|
||||
local vbin=$(best_version ${1}-bin)
|
||||
vbin=${vbin#${1}-bin-}
|
||||
|
||||
if [[ -z ${v} ]]; then
|
||||
v=${vbin}
|
||||
else
|
||||
version_compare ${v} ${vbin}
|
||||
[[ $? -eq 1 ]] && v=${vbin}
|
||||
fi
|
||||
|
||||
echo -e "#!/bin/sh\necho $2 $v" > "$3" || die
|
||||
chmod +x "$3" || die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,176 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# google{test,mock} version
|
||||
GV="1.8.0"
|
||||
PYTHON_COMPAT=( python3_{4,5,6} )
|
||||
|
||||
inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="A personal finance manager"
|
||||
HOMEPAGE="http://www.gnucash.org/"
|
||||
SRC_URI="https://github.com/Gnucash/${PN}/releases/download/${PV}/${P}.tar.bz2
|
||||
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> gtest-${GV}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
IUSE="aqbanking chipcard debug doc examples gnome-keyring +gui mysql nls ofx
|
||||
postgres python quotes -register2 sqlite"
|
||||
|
||||
REQUIRED_USE="
|
||||
chipcard? ( aqbanking )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
# libdbi version requirement for sqlite taken from bug #455134
|
||||
#
|
||||
# dev-libs/boost must always be built with nls enabled.
|
||||
# guile[deprecated] because of SCM_LIST*() use
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.46.0:2
|
||||
>=dev-libs/libxml2-2.7.0:2
|
||||
>=sys-libs/zlib-1.1.4
|
||||
>=dev-scheme/guile-2.2.0:12=[deprecated,regex]
|
||||
dev-libs/boost:=[icu,nls]
|
||||
dev-libs/icu:=
|
||||
dev-libs/libxslt
|
||||
aqbanking? (
|
||||
>=net-libs/aqbanking-5[gtk,ofx?]
|
||||
sys-libs/gwenhywfar[gtk]
|
||||
chipcard? ( sys-libs/libchipcard )
|
||||
)
|
||||
gnome-keyring? ( >=app-crypt/libsecret-0.18 )
|
||||
gui? (
|
||||
gnome-base/dconf
|
||||
net-libs/webkit-gtk:4=
|
||||
>=x11-libs/gtk+-3.14.0:3
|
||||
)
|
||||
mysql? (
|
||||
dev-db/libdbi
|
||||
dev-db/libdbi-drivers[mysql]
|
||||
)
|
||||
ofx? ( >=dev-libs/libofx-0.9.1 )
|
||||
postgres? (
|
||||
dev-db/libdbi
|
||||
dev-db/libdbi-drivers[postgres]
|
||||
)
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
quotes? (
|
||||
>=dev-perl/Finance-Quote-1.11
|
||||
dev-perl/Date-Manip
|
||||
dev-perl/HTML-TableExtract
|
||||
)
|
||||
sqlite? (
|
||||
>=dev-db/libdbi-0.9.0
|
||||
>=dev-db/libdbi-drivers-0.9.0[sqlite]
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
~dev-cpp/gtest-${GV}
|
||||
>=sys-devel/gettext-0.19.6
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Parser
|
||||
sys-devel/libtool
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PDEPEND="doc? (
|
||||
~app-doc/gnucash-docs-${PV}
|
||||
gnome-extra/yelp
|
||||
)"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-3.2-no-gui.patch )
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
cp "${FILESDIR}"/gnucash-3.4-test-stress-options.scm \
|
||||
${PN}-${PV}/${PN}/report/standard-reports/test/test-stress-options.scm \
|
||||
|| die "Failed copying scm"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local sql_on_off="OFF"
|
||||
if use mysql || use postgres || use sqlite ; then
|
||||
sql_on_off="ON"
|
||||
fi
|
||||
|
||||
local mycmakeargs=(
|
||||
-DGMOCK_ROOT="${WORKDIR}"/googletest-release-${GV}/googlemock
|
||||
-DGTEST_ROOT="${WORKDIR}"/googletest-release-${GV}/googletest
|
||||
# Disable fallback to guile-2.0
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_GUILE2=ON
|
||||
-DCOMPILE_GSCHEMAS=OFF
|
||||
-DDISABLE_NLS=$(usex !nls)
|
||||
-DENABLE_REGISTER2=$(usex register2)
|
||||
-DWITH_AQBANKING=$(usex aqbanking)
|
||||
-DWITH_OFX=$(usex ofx)
|
||||
-DWITH_PYTHON=$(usex python)
|
||||
-DWITH_SQL=${sql_on_off}
|
||||
-DWITH_GNUCASH=$(usex gui)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use python ; then
|
||||
cp common/test-core/unittest_support.py \
|
||||
"${BUILD_DIR}"/common/test-core/ || die
|
||||
fi
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
XDG_DATA_HOME="${T}/$(whoami)" emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
rm "${ED%/}"/usr/share/doc/${PF}/README.dependencies || die
|
||||
|
||||
if use examples ; then
|
||||
mv "${ED%/}"/usr/share/doc/gnucash \
|
||||
"${ED%/}"/usr/share/doc/${PF}/examples || die
|
||||
pushd "${ED%/}"/usr/share/doc/${PF}/examples/ > /dev/null || die
|
||||
rm AUTHORS DOCUMENTERS LICENSE NEWS projects.html ChangeLog* \
|
||||
*win32-bin.txt || die
|
||||
popd > /dev/null || die
|
||||
docompress -x /usr/share/doc/${PF}/examples/
|
||||
else
|
||||
rm -r "${ED%/}"/usr/share/doc/gnucash || die
|
||||
fi
|
||||
|
||||
use aqbanking && dodoc doc/README.HBCI
|
||||
use ofx && dodoc doc/README.OFX
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use gui ; then
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
|
||||
ewarn "Backup all financial files or databases before using GnuCash >=2.7.0!"
|
||||
ewarn
|
||||
ewarn "GnuCash 2.7.0 introduced large changes in its file format and database"
|
||||
ewarn "schema that WILL prevent you from reverting back to GnuCash 2.6."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use gui ; then
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,113 +0,0 @@
|
||||
From d622be2d6bcfcc2c7260421e0eaa09c76ce15da2 Mon Sep 17 00:00:00 2001
|
||||
From: Aleksei Nikiforov <darktemplar@basealt.ru>
|
||||
Date: Wed, 6 Mar 2019 16:10:17 +0300
|
||||
Subject: tdf#123406 KDE5: Update delayed frame destruction
|
||||
|
||||
Move deleteLater() call to the different event loop.
|
||||
This fixes issue with frames not being disposed of
|
||||
deterministically, and previously opened window
|
||||
not reactivating.
|
||||
|
||||
Also hide modal dialog window before unsetting modal mode.
|
||||
Unsetting modal mode may require to toggle window visibility.
|
||||
Window will be hidden soon anyway,
|
||||
and additional generated events might make finding correct
|
||||
focused window harder.
|
||||
|
||||
Change-Id: Id7839f817075785287b09f6ac79eb3fb211726aa
|
||||
Reviewed-on: https://gerrit.libreoffice.org/68852
|
||||
Tested-by: Jenkins
|
||||
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
|
||||
Reviewed-on: https://gerrit.libreoffice.org/70078
|
||||
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
|
||||
---
|
||||
vcl/inc/qt5/Qt5Instance.hxx | 2 ++
|
||||
vcl/qt5/Qt5Instance.cxx | 12 ++++++++++--
|
||||
vcl/source/window/dialog.cxx | 4 ++--
|
||||
3 files changed, 14 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/vcl/inc/qt5/Qt5Instance.hxx b/vcl/inc/qt5/Qt5Instance.hxx
|
||||
index 91682bd..cece484 100644
|
||||
--- a/vcl/inc/qt5/Qt5Instance.hxx
|
||||
+++ b/vcl/inc/qt5/Qt5Instance.hxx
|
||||
@@ -50,10 +50,12 @@ public:
|
||||
|
||||
private Q_SLOTS:
|
||||
bool ImplYield(bool bWait, bool bHandleAllCurrentEvents);
|
||||
+ static void deleteObjectLater(QObject* pObject);
|
||||
|
||||
Q_SIGNALS:
|
||||
bool ImplYieldSignal(bool bWait, bool bHandleAllCurrentEvents);
|
||||
std::unique_ptr<SalMenu> createMenuSignal(bool, Menu*);
|
||||
+ void deleteObjectLaterSignal(QObject* pObject);
|
||||
|
||||
public:
|
||||
explicit Qt5Instance(bool bUseCairo = false);
|
||||
diff --git a/vcl/qt5/Qt5Instance.cxx b/vcl/qt5/Qt5Instance.cxx
|
||||
index 8de9fc7..58f93fe 100644
|
||||
--- a/vcl/qt5/Qt5Instance.cxx
|
||||
+++ b/vcl/qt5/Qt5Instance.cxx
|
||||
@@ -67,6 +67,12 @@ Qt5Instance::Qt5Instance(bool bUseCairo)
|
||||
Qt::BlockingQueuedConnection);
|
||||
connect(this, &Qt5Instance::createMenuSignal, this, &Qt5Instance::CreateMenu,
|
||||
Qt::BlockingQueuedConnection);
|
||||
+
|
||||
+ // this one needs to be queued non-blocking
|
||||
+ // in order to have this event arriving to correct event processing loop
|
||||
+ connect(this, &Qt5Instance::deleteObjectLaterSignal, this,
|
||||
+ [](QObject* pObject) { Qt5Instance::deleteObjectLater(pObject); },
|
||||
+ Qt::QueuedConnection);
|
||||
}
|
||||
|
||||
Qt5Instance::~Qt5Instance()
|
||||
@@ -78,6 +84,8 @@ Qt5Instance::~Qt5Instance()
|
||||
free(m_pFakeArgvFreeable[i]);
|
||||
}
|
||||
|
||||
+void Qt5Instance::deleteObjectLater(QObject* pObject) { pObject->deleteLater(); }
|
||||
+
|
||||
SalFrame* Qt5Instance::CreateChildFrame(SystemParentData* /*pParent*/, SalFrameStyleFlags nStyle)
|
||||
{
|
||||
return new Qt5Frame(nullptr, nStyle, m_bUseCairo);
|
||||
@@ -94,7 +102,7 @@ void Qt5Instance::DestroyFrame(SalFrame* pFrame)
|
||||
if (pFrame)
|
||||
{
|
||||
assert(dynamic_cast<Qt5Frame*>(pFrame));
|
||||
- static_cast<Qt5Frame*>(pFrame)->deleteLater();
|
||||
+ Q_EMIT deleteObjectLaterSignal(static_cast<Qt5Frame*>(pFrame));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -109,7 +117,7 @@ void Qt5Instance::DestroyObject(SalObject* pObject)
|
||||
if (pObject)
|
||||
{
|
||||
assert(dynamic_cast<Qt5Object*>(pObject));
|
||||
- static_cast<Qt5Object*>(pObject)->deleteLater();
|
||||
+ Q_EMIT deleteObjectLaterSignal(static_cast<Qt5Object*>(pObject));
|
||||
}
|
||||
}
|
||||
|
||||
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
|
||||
index 0c75f85..1688163 100644
|
||||
--- a/vcl/source/window/dialog.cxx
|
||||
+++ b/vcl/source/window/dialog.cxx
|
||||
@@ -1097,6 +1097,8 @@ void Dialog::EndDialog( long nResult )
|
||||
|
||||
const bool bModal = GetType() != WindowType::MODELESSDIALOG;
|
||||
|
||||
+ Hide();
|
||||
+
|
||||
if (bModal)
|
||||
{
|
||||
SetModalInputMode(false);
|
||||
@@ -1121,8 +1123,6 @@ void Dialog::EndDialog( long nResult )
|
||||
}
|
||||
}
|
||||
|
||||
- Hide();
|
||||
-
|
||||
if (bModal && GetParent())
|
||||
{
|
||||
NotifyEvent aNEvt( MouseNotifyEvent::ENDEXECUTEDIALOG, this );
|
||||
--
|
||||
cgit v1.1
|
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
DIST eix-0.33.5.tar.xz 626628 BLAKE2B 2bb102279084f6bb6871bb4bbe55100708866337501c6043508ee13bdb92064c3a4a41d067b9d4c03af1a5ffbece53d9c66cf89639adf0c555a9511cae3d702f SHA512 7a71a411d4428ee491b9aee0f414e038a08f2195db58466db9b96f0d80edca7eaa153e63534c832c71e1b488e21fbd869a96bd10a21e06a93ce7eba1f808b684
|
||||
DIST eix-0.33.7.tar.xz 626008 BLAKE2B 13d1f5b3096ec1ced13435f3680454c5b6f035ddbaa7877c7d2898b044fcc673f2c30b5ad25b8a3aa01354c726cf6ebf6483dc49f102145957dad95437931f63 SHA512 a6f2f553a05351c642c5ad5dcb8dc804585e1476d35dbe2c056ed493d1e37576e5e57fe0317f4fe4f6310c5439d23cbbe7384da8fbe9761eddca10e463950077
|
||||
EBUILD eix-0.33.5.ebuild 2643 BLAKE2B 2a9c179699e2df18328b1a1ff78927f8f0c5f8f476d3715b14fd10eaf1cd22c19895b4ebe46d5c05b618263b604ba73e903dac3838342ef5d23faf847bbd7071 SHA512 829d144019b1ee4beb72b66d51a42f007b9b09d122deed5f0990582de5012d0128ecc584010034ee1ab52b8f15edf939cdafbe3527b2ae7c651c4fa1e87f1c11
|
||||
EBUILD eix-0.33.7.ebuild 2650 BLAKE2B a911806af70ce176d43c7a2fce3b562da57b20195735819d5f068e10de2c867e179bdaeef45785e27eba68cf81e001159e6dabf02130d4b1144f0079f2dea41a SHA512 d9e3f091871b136d504e988826a20bc9f0fc5640ff3043953c2055378cdb3595d3248ccf978eb000358ddfed3276b4cdc359e79a498709dd1f05b9f2ae10135b
|
||||
EBUILD eix-0.33.7.ebuild 2644 BLAKE2B 1301d187411f980b58416fcdb0e69557e803fcd730046e11a420dc3fcd42a0b3ad5e95f009259125b0ac2c975eacbf113ab1c3c9e7e2c019abe2a678f16890f1 SHA512 8fe4859a67bcec7afa4b100cfda6e114c4038f112df91f97a3c8bdad6c7ca8b81b1b2b198d8391cbbc9fdc22fa94a374d2e57b9075afdea4608c98f13ab948cc
|
||||
MISC metadata.xml 1051 BLAKE2B b77439c3a8d8eab9fc711c96ce2b2ccaf307f2eca4cfee32bfb75279ff4da31fd05b3319136af38e70d274c28cb2f1c2567916390d81425b7b7daf956815c7e4 SHA512 208b3db2b2e5afb5667a29e6b18538f3cea5e3fb2758d3c9b30823d7b2a22f31f150d6a01abec6a6c8ca62486c975b47002de9e1bac89ded31eb7013bdbb38c6
|
||||
|
@ -1,104 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools bash-completion-r1 flag-o-matic tmpfiles
|
||||
|
||||
DESCRIPTION="Search and query ebuilds"
|
||||
HOMEPAGE="https://github.com/vaeth/eix/"
|
||||
SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug doc nls sqlite"
|
||||
|
||||
BOTHDEPEND="nls? ( virtual/libintl )
|
||||
sqlite? ( >=dev-db/sqlite-3:= )"
|
||||
RDEPEND="${BOTHDEPEND}
|
||||
>=app-shells/push-2.0-r1
|
||||
>=app-shells/quoter-3.0_p2-r1"
|
||||
DEPEND="${BOTHDEPEND}
|
||||
app-arch/xz-utils
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
# remove stale cache file to prevent collisions
|
||||
local old_cache=${EROOT%/}/var/cache/${PN}
|
||||
if [[ -f ${old_cache} ]]; then
|
||||
rm "${old_cache}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die
|
||||
|
||||
sed -e "/eixf_source=/s:push.sh:cat \"${EROOT}usr/share/push/push.sh\":" \
|
||||
-e "/eixf_source=/s:quoter_pipe.sh:cat \"${EROOT}usr/share/quoter/quoter_pipe.sh\":" \
|
||||
-i src/eix-functions.sh.in || die
|
||||
sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EROOT}usr/share/eix/eix-functions\\\\\":" \
|
||||
-i src/Makefile.am || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable debug paranoic-asserts)
|
||||
$(use_enable nls)
|
||||
$(use_with doc extra-doc)
|
||||
$(use_with sqlite)
|
||||
|
||||
# default configuration
|
||||
$(use_with prefix always-accept-keywords)
|
||||
--with-dep-default
|
||||
--with-required-use-default
|
||||
|
||||
# paths
|
||||
--with-portage-rootpath="${ROOTPATH}"
|
||||
--with-eprefix-default="${EPREFIX}"
|
||||
|
||||
# build a single executable with symlinks
|
||||
--disable-separate-binaries
|
||||
--disable-separate-tools
|
||||
|
||||
# used purely to control/disrespect *FLAGS
|
||||
--disable-debugging
|
||||
--disable-new_dialect
|
||||
--disable-optimization
|
||||
--disable-strong-optimization
|
||||
--disable-security
|
||||
--disable-nopie-security
|
||||
--disable-strong-security
|
||||
)
|
||||
|
||||
# https://github.com/vaeth/eix/issues/35
|
||||
append-cxxflags -std=c++14
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dobashcomp bash/eix
|
||||
dotmpfiles tmpfiles.d/eix.conf
|
||||
|
||||
rm -r "${ED%/}"/usr/bin/eix-functions.sh || die
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process eix.conf
|
||||
|
||||
local obs=${EROOT%/}/var/cache/eix.previous
|
||||
if [[ -f ${obs} ]]; then
|
||||
ewarn "Found obsolete ${obs}, please remove it"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if [[ ! -n ${REPLACED_BY_VERSION} ]]; then
|
||||
rm -rf "${EROOT%/}/var/cache/${PN}" || die
|
||||
fi
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST pram-2.tar.gz 4255 BLAKE2B 43d72f5602325490642ac8209a1b15f06ed5ffd160ce42c99ac0f46082459e2b6bbba5c4bc50b80f9e2cb1d263fc43b62f725ac924858e773b3b8af317a12bd5 SHA512 5e28fd63efc68f5b27b74712a49bb865fc32b1ad30515b8be74ae5a61f8fc9ba45c785b3a6ffef5e606e56d2db815b1038798fe44ed572ca6f5e5e6b42330476
|
||||
DIST pram-3.tar.gz 4334 BLAKE2B f06f9cfe938f83702baaa8f8bee06937e8790e533e14ab419251934d0f4300ee75d5377a4f4e0e47a774bd3c25ef31236d7e451b929cfbfe8343d226a311ca2d SHA512 526149523b748b57095ecb3eb23f6808ab57ee1d8dc60e27067931d269ce3465ad8a0e54e8edaa3a1f74fd0a8dd135fe4a92779382ba6e367112016bc254fc98
|
||||
EBUILD pram-2-r1.ebuild 495 BLAKE2B 564ab559666243a00b0484e74608cec8d1cbe75fed20c86b7532ba1b2563af221e1dc9600ee4cda700093cd7291d62734e4ae8fa86b9c36c209eb14f15bce8fc SHA512 a5c13b3f07a9b4190c14f4c2ab23d28a060a6e48feaa1d0775aa950232489bb4343a35df91bcc1aa1e31d87f93c4f69d56977dcad7f86cbbbd35536c5177ed33
|
||||
EBUILD pram-3.ebuild 495 BLAKE2B 564ab559666243a00b0484e74608cec8d1cbe75fed20c86b7532ba1b2563af221e1dc9600ee4cda700093cd7291d62734e4ae8fa86b9c36c209eb14f15bce8fc SHA512 a5c13b3f07a9b4190c14f4c2ab23d28a060a6e48feaa1d0775aa950232489bb4343a35df91bcc1aa1e31d87f93c4f69d56977dcad7f86cbbbd35536c5177ed33
|
||||
MISC metadata.xml 497 BLAKE2B ed7f60c0693229da828921bfcf6e0a579a7ac07fda8bfa47124677d83e288a738a9c237a71070bacdaadce91708827ca7bc2ecf1755cec249945fe6fae752a9f SHA512 5588a6d5c641976a95b0696de4343cf3f96ef67515339e33f22a6f1255d05c6675a5f440a32354513f96fea7c57ae15230f02610f0650a400a2ef25815a5400c
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Tool to ease merging Pull Requests and git patches"
|
||||
HOMEPAGE="https://github.com/mgorny/pram"
|
||||
SRC_URI="https://github.com/mgorny/pram/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-vcs/git
|
||||
net-misc/wget[ssl]
|
||||
virtual/editor
|
||||
!dev-perl/Gentoo-App-Pram"
|
||||
|
||||
src_install() {
|
||||
dobin pram
|
||||
doman pram.1
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue