parent
2252b907ee
commit
cf373836e2
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29482 BLAKE2B 76e778e8e5814f4349c9a4014a6835573271a700d8556463068bb1d36cd41cd257eccaa2f33888e9473e4c388e332429f14855c7398b81a93851cc9e822b0a26 SHA512 2dcb8e56876ce520bcb3ed85ea98010cf0793e7ac274bbfc67fb0a07ff81590d9ee27e78d59d0e89c96f7dc6e18ec2b6196c8b49134b2bfda1cbaa0f8b41b4fc
|
||||
TIMESTAMP 2023-05-13T20:10:02Z
|
||||
MANIFEST Manifest.files.gz 29429 BLAKE2B c85ac742fdb23e88d361f21957409506c0291ff16e590097d239591d6ebd13629e27b1af037a244a38ed2630eb9f2ddad21ea3e596c45a716be92f43157fa27f SHA512 2828850aec0926b7f7300225b7590436c4665222ff02a4a9d5388a72dc71461ac2a182a09f741ec4078a42606d12b06a7fd1603e95a948283630093dc5b07da6
|
||||
TIMESTAMP 2023-05-15T12:40:03Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmRf7ppfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmRiKCNfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klCJTA//eEw986ICxVP4DKLz3sf2HpohcAggErrV97+CmLmHFAFxYwP/Wk3ZeDCJ
|
||||
ZE7Vy0iZQDWGfW/l7XwvibaqV1bv6x2CSCdbdGBXni9e2qIGc2QoKn+KNtJJnIAQ
|
||||
hQx+vtGSSeD0NJRQ5V+hfN/WNvP2LSMR8drPuU2/II3YyOwS7twAoG2/oBfOxN1m
|
||||
fd/qhoxJyqJNFKgRhD83VEWy0TQSK3pDwBT/2IFVuw8tcEgdjphC9GV08uPkySMx
|
||||
kguNe6G5O1yaWu0WQIpYEonTo/5MQuoQbUwig/wo2VAVRW6FSJ+RmNQ3yAQhSKN6
|
||||
+oiaco2nfuPaVkfA2/bF2ANa6VmFRd4e2EKvMv0EZJX1R7km/uAgutUWthbMKquP
|
||||
PHkMfAwds0jHCAj03T2TJk6OVqPjM4ShiNFJyOMLIJ3sskQIjjwwlU/RNWKrWrke
|
||||
HOt5TaORsXwkITXxXX4Oygn2XXzzmgQBjvL9UVBuELASIgLp3giVx8lFRuzMt5+q
|
||||
SeljnohcEhZvLDGZPGW4/ds2RDlH0fKJv+i8QhoCMpvz8lRHRbdF9uHg+5icaPcJ
|
||||
xGNSONGktMDqSAQe9bW3ge51HeRdJSaTHJi/oauQDlGpAj2y8IEOKOUAEXMfVsa3
|
||||
6twrvUCQ+as35HKbzXgcXTM7go+t9j2iEZ7lY+r+9Cine6eMCJs=
|
||||
=RO9E
|
||||
klCjsxAApvTFPzZLy30mr7BL7T29t6zgtJ5LU31zEcmrEP9hoHzLM+/fr/v5Svfs
|
||||
QijH78e7Rhm/9RLxY28XJ1ceQf62M1I3GSk3xCcsL/2NuZTAHEUK/DpBg0eNROR1
|
||||
YN1ZMOEv7GBcrOi2LPdJGFK5OvBn9YZNKqznpg02uAhvrgXnNFRhrHGXWmgAbvBz
|
||||
Mh4HjXXRRmdbbz8jKrl3r4gKqAtBlagJbR+L4+B7yMBFyfgHCgfX0GUpDSEcusHP
|
||||
e9sbloqhE4BhoPPwkn1Kix8Sls48I/UTajSUVm4BoXLZs0u7oikToes7TgiXR0P+
|
||||
N9b7umGV0nG9+JlElCtx4wnbICupFJh79hqtoQ0Xjzu3TWotQUQxN6l/xyEdg2j5
|
||||
8dsQdjFaHhh+bwsR1lWUdWmNdb+Pg9AsMdP6dDyOTTAM1JC0XbbulIdnFPLH875J
|
||||
h7NxpkqnV9dNn7QUL4QHEXxD5zB1Thuj6ij95zxnmCRhndWKE5Pt/Kv3O8idWYmi
|
||||
YziS/q35e/7LSAMOVnpEBpl7oAt107cJjFx+Wntpf1aCEhJSLF8n8WIXLFzflbVs
|
||||
J2VGm3t+SM9IELUZkWo0WgIYak97tY+HPbyNmQAai72Bu1P+GDTJGr0MPIjDZ5rA
|
||||
BON+XndbRxcqjMue+knMAlQ3nlyzeQnVOrRn3gh8H5T07TelRR8=
|
||||
=hnso
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
EBUILD frr-0.ebuild 146 BLAKE2B c8b31ac7cef83700f2a53720ce136a55c23f56dd109c4e886240500dc95097ca103a8831dea79e35a02760b939af21ae55f94d1220ce0e09c2994def873f4340 SHA512 b477506df227d06df4e0e062699c95be22dc88c9d401b37ab5bca51c0a23a540f1d2fb3b9fb87f63b07ef49f5c3b5392f25121f16d6e89a3f3923722ad1f8fa7
|
||||
MISC metadata.xml 248 BLAKE2B fd21949fececb0d5e6c7f79a86eed6068dab718ef24fc84755a5c491eacd38700b910fc4163821fd8400d4705e343c94317495a686b427fd7b56b31e71fdff2a SHA512 0e76a0871fdfebfb515bf8935fd0e3df7dcf098cee801a0dfd3a82bdeeeb7cdaffc931f240dd1f2d20dd75cefd892c0105b6a5e873e165f40021a806ddc00779
|
||||
MISC metadata.xml 248 BLAKE2B 8635d7e87f0f2de85f967cadf3324aecfe013decb6f6dbc4338f2bdbb3fad5b61b5a58780f4c6d4759ec51a1b89af067b689b716ad34c71b6f09887536da1493 SHA512 fb771f3d411fc1ab3e5600af41fc51d254b7c2c4d057e80e582fcf2f355f35204e7f61dba852bed35f21c87f2063d7ee0d3a5628395e4ed945955a818deeb37c
|
||||
|
@ -1,2 +1,2 @@
|
||||
EBUILD iroffer-0.ebuild 146 BLAKE2B 95628d12f14db67ebe2dd4cbd882f38fa7d0112518b03b86b380ade1f6e7aa37d066790cd7b6952da2e5e31d9fb43b7462320dc3bbffb2cd6b48554d5bd49b51 SHA512 b0f34f3ab3be14e0eafd1a363396628b2148c468702f6400c0cfbcd06b9ce0eaee62edb4a0a25ff376cc7c8ea765269b55e0af1c10c49cc686dfd4026ba80f19
|
||||
MISC metadata.xml 248 BLAKE2B fd21949fececb0d5e6c7f79a86eed6068dab718ef24fc84755a5c491eacd38700b910fc4163821fd8400d4705e343c94317495a686b427fd7b56b31e71fdff2a SHA512 0e76a0871fdfebfb515bf8935fd0e3df7dcf098cee801a0dfd3a82bdeeeb7cdaffc931f240dd1f2d20dd75cefd892c0105b6a5e873e165f40021a806ddc00779
|
||||
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3
|
||||
|
@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Sergey Popov</name>
|
||||
<email>pinkbyte@gentoo.org</email>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +1,2 @@
|
||||
EBUILD quagga-0-r1.ebuild 151 BLAKE2B 0b546c65e580136e175fd27025e2d6e09b5c896baea3f3340364e13d99eedc263c0ea2d8cc611e312a4994399dc202be710eccbdc5e65818d3a520eafe529952 SHA512 3673808d5bf2e47aefb8d8c93e3ff3f0468d30564eba07941e63ed6cafa55b50f10edd272a065cac9d581f25affacbf6fb24054c84f0fde4f19f3df6fad498fe
|
||||
MISC metadata.xml 248 BLAKE2B fd21949fececb0d5e6c7f79a86eed6068dab718ef24fc84755a5c491eacd38700b910fc4163821fd8400d4705e343c94317495a686b427fd7b56b31e71fdff2a SHA512 0e76a0871fdfebfb515bf8935fd0e3df7dcf098cee801a0dfd3a82bdeeeb7cdaffc931f240dd1f2d20dd75cefd892c0105b6a5e873e165f40021a806ddc00779
|
||||
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3
|
||||
|
@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Sergey Popov</name>
|
||||
<email>pinkbyte@gentoo.org</email>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
EBUILD frr-0.ebuild 189 BLAKE2B b8fe6ba343a800458a6fe2fcdbe2c9392abbfc71505a0103f1b99969a9317ea7f4a6f03e6a0ada98d43ac20b76fd51a7a4c97a7f34487835ea82b6da5ba949d8 SHA512 a126acd028c3b83081ab1a9f3e7f6ca65ee9bcba9eefefffa37a02d09e2be491681cbb0764e27b6beeec3af4e9ebdf7abbf26a2e33ffca57f32b602f9cd07a79
|
||||
MISC metadata.xml 248 BLAKE2B fd21949fececb0d5e6c7f79a86eed6068dab718ef24fc84755a5c491eacd38700b910fc4163821fd8400d4705e343c94317495a686b427fd7b56b31e71fdff2a SHA512 0e76a0871fdfebfb515bf8935fd0e3df7dcf098cee801a0dfd3a82bdeeeb7cdaffc931f240dd1f2d20dd75cefd892c0105b6a5e873e165f40021a806ddc00779
|
||||
MISC metadata.xml 248 BLAKE2B 8635d7e87f0f2de85f967cadf3324aecfe013decb6f6dbc4338f2bdbb3fad5b61b5a58780f4c6d4759ec51a1b89af067b689b716ad34c71b6f09887536da1493 SHA512 fb771f3d411fc1ab3e5600af41fc51d254b7c2c4d057e80e582fcf2f355f35204e7f61dba852bed35f21c87f2063d7ee0d3a5628395e4ed945955a818deeb37c
|
||||
|
@ -1,2 +1,2 @@
|
||||
EBUILD iroffer-0.ebuild 193 BLAKE2B 1c86216a35e18b8abc44fdd070666909d7155edd4a16c471c20e4e7a7cc74b8749e9d4f81471a63c3218a8447bbc8e65d908c343c035f3228788b1b4f990e8f6 SHA512 7b43394e0d1b41d30b3ef33e3811ad87b2ea1e40f7118024ffa9ceb86a08274261a16f031786df547669141aa183d8c0f74984aef6015b169a8b5bf603e8c982
|
||||
MISC metadata.xml 248 BLAKE2B fd21949fececb0d5e6c7f79a86eed6068dab718ef24fc84755a5c491eacd38700b910fc4163821fd8400d4705e343c94317495a686b427fd7b56b31e71fdff2a SHA512 0e76a0871fdfebfb515bf8935fd0e3df7dcf098cee801a0dfd3a82bdeeeb7cdaffc931f240dd1f2d20dd75cefd892c0105b6a5e873e165f40021a806ddc00779
|
||||
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3
|
||||
|
@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Sergey Popov</name>
|
||||
<email>pinkbyte@gentoo.org</email>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +1,2 @@
|
||||
EBUILD quagga-0-r1.ebuild 197 BLAKE2B 66b6c1993a236ce6f91fe66d99dc04cc07b733b12c060fec82b49e1c1eec732447e7f94e495b389407c82d7644917a521ba143e797665a142ed2cb6607d91d08 SHA512 8d7475f057fa8bdf94aeb91d3495815f5994f026215b1cf7a2ee5b8434216d0f849e63d59f30b548c007b463fcb9a4f719b27d6fd095629c083d450c7e872a3a
|
||||
MISC metadata.xml 248 BLAKE2B fd21949fececb0d5e6c7f79a86eed6068dab718ef24fc84755a5c491eacd38700b910fc4163821fd8400d4705e343c94317495a686b427fd7b56b31e71fdff2a SHA512 0e76a0871fdfebfb515bf8935fd0e3df7dcf098cee801a0dfd3a82bdeeeb7cdaffc931f240dd1f2d20dd75cefd892c0105b6a5e873e165f40021a806ddc00779
|
||||
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3
|
||||
|
@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Sergey Popov</name>
|
||||
<email>pinkbyte@gentoo.org</email>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST exo-1.68.0.gh.tar.gz 5673687 BLAKE2B 7e1b8a03d902e21052dbbdc0e1fb7bc0316061d021fb0dae901fcefcd3cf5560113c3ac068353de9039c8b672fb75e483a3be886702920431cf1cb040c4ad38e SHA512 01663f651348cbb43d5c382b57904792bfa1b954dbe7c8661084c95133828372c643c52db8b66f36a8b791330c80f922a324b359b6b920fcccec41e85e1b1e1b
|
||||
EBUILD exo-1.68.0.ebuild 763 BLAKE2B e97494f3d636b940f860bd553a141b5c1cae0ba8dac343789774c8d3adc96b3ed3bacb5479e3bc4d418a66658e5b30ddb9c9339b21402633d374ab8ccb066d80 SHA512 23cc94f4feb80958e40fe21a469a65ed65a497b3c472930df8597cc62694aa4b117fc08d054dfc93ede708662a83509005c43c3bceabad902ef31c9e558660d8
|
||||
DIST exo-1.69.0.gh.tar.gz 5679426 BLAKE2B 583a1bb405ec707b371c67f59240e7fc192b07c94698c86a0acb652bd946c817d581597b9dffe0d2276585e462cc67de840005e337c228d0fe779ce002c5e3b5 SHA512 79f8a54ff9baa09e2bfd3dd2cedfa605eec958838036c368394fd684f12eb805373fe44c5931a3c419bd829447736d94fdba3e14f71f3a4bbe9fc0e4e7c7cdad
|
||||
EBUILD exo-1.69.0.ebuild 770 BLAKE2B 33fa5e52b29f045f689de97183789123f68f215f9b5905f2ab6c99478ef7c81c3415a94aace608c97e422a5276209640d6ca6a58ab8f5b378adf78064a75a3bd SHA512 a8c2d547293445003f724bc5cc874116f9fb789f1ada82e5456df5f43d06203327d478a9c606f36f502ad4e6f2668ae49f8d27053b827d4b15c721a5768e0b28
|
||||
MISC metadata.xml 334 BLAKE2B 230d1a47a3e39f796c16a9e9a622fbc27560c951da0c49adf7aca135970c0c944f42da7eb624c7193d44830c72cf95da9d69d977562853de6a00fd8fb6408977 SHA512 cd1366d99abc260c6f2899000e2a517be9a4c43e921078764fdc996871df34c1827e512087c3eb6f95bf3b685c2f34cbc1f1462eaa303a948640a362b4501b01
|
||||
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST stenc-1.1.1.tar.gz 161761 BLAKE2B 865d36befd53e1db00245688e2aac429546b29f7b039cbd04aaafb47fcc55f02ba01e7f13c7814ae4daf102372eded1f069c1b9ecfb2b2e7aaf009bfa2855ae4 SHA512 89eb1da2391be207e23d4e3cc6563405272eeb456b59360e92fbeca063badcfcf4c37fc814af59803707006e5c04e43e18755e1d30b0f3b3020a7645396db1a6
|
||||
DIST stenc-2.0.0.tar.gz 166547 BLAKE2B d5a5b8794887f7ba1353b573d4aad41abd719067ab7256f0f90101a960847707ce47d63618d7b406726841114e8495aba2a0c5053c3e11f9c118859ab8573a89 SHA512 9dcdcff547d8f0d1fd99eaaf54812e47ca5a3f4e56befe11d7e32919bc7caa968476f0f082925c86be1e9892369cec26125be089bf11f29c87ca63b3614ebffe
|
||||
EBUILD stenc-1.1.1.ebuild 563 BLAKE2B f3873315738c232b12733ccb851e2dfd40b7d7e5674e983751165b2decd7064d943dce6b1e058abede1e8180809b8879a6cf85c4662922b635e899fdfb65ada1 SHA512 40deae722da2c0b06ee57126153a4f8841ef069eb4cab7224fd01ad946691b674051d275202633119c4bbc5f578c829a8bfec0a132f72570dd28c566edef5c8e
|
||||
EBUILD stenc-2.0.0.ebuild 612 BLAKE2B ba56dc6e14fb407343940738c2f4aaaf5b091b006ba78e972046973df243d39fd59f17adb576e8302b9a9a1974cad609b28ad7691e4629b6f0caa7561147f72f SHA512 ee3c20891fdbd48821fbd4fffba56f51e814163ebcd957fa410be36439621ce3698319861e818904f3582609d70f9d87de043a4051b0c8fa2bc5211627c8d108
|
||||
MISC metadata.xml 671 BLAKE2B 0b3c581b011dff8e93244f1630e44237ad342dc5b3658da56831c598e6419e6e91b6e9efdcba51b7809593cdaef8be721768ae7ff25ae513d3c56a14c84d669c SHA512 af54957f3e928fbbfabe4bd22f1f106cd6ecf1af38a763e3f490afdfbff3e1297187d20913d52c330b53bba253a56080402b6155c501db033a230a89e237c7e9
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/scsitape/stenc.git"
|
||||
S="${WORKDIR}/${P}/src"
|
||||
else
|
||||
SRC_URI="https://github.com/scsitape/stenc/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="SCSI Tape Encryption Manager enables AES support for LTO drives"
|
||||
HOMEPAGE="https://github.com/scsitape/stenc/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
BDEPEND="
|
||||
app-text/pandoc
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
@ -1,6 +1,3 @@
|
||||
AUX unshield-1.4.3-mandir.patch 776 BLAKE2B 6d0c23a3cf0457ffb03f8f6a08667bfec7bd2fe1744867febfd9ce9a786a0e7b84408cbd5a2c23eb94c68d33a17d2c638ab7e44ea6ae0d95d5c0cc280b0ed585 SHA512 4acc69f49e3828f1dac5448b22d6015cd1c4f551c22c9d824d0650790ec509d02e7ef13f18b58bc338d25d7e93bf334d2ae1bbf198b2b831c183707b22bceceb
|
||||
DIST unshield-1.4.3.tar.gz 58822 BLAKE2B 89e23462610d7ffd25358cb1d9f234b5c80a580deb60e85610ddacc8e3aa92420cb0e885e80375089e93786565824813f23c54f7c4d60b7773f23d174c98e5d7 SHA512 2f058e0a28d0497e2afe231ded1b1bb16745401398eb1035e628d263351b10a1343c9664f3937b8912755db9dc5236a1b43e9bcba596affb7aa8b036f49382aa
|
||||
DIST unshield-1.5.1.tar.gz 67454 BLAKE2B 7def714e8d74312de8b822b0add92a803fadda0394252587219c7379791ec33680bf9430c6811e71354fd2e9ccc91e28697e31a2377ecc16aa43edea1ce30e57 SHA512 acb130c461bed66dc3804394be067a68aea96a7cd20b348e713f64a11bf642b74f68fc172f220a9790b44573abbe01ed4585191158f27c40e863918a7342c1ca
|
||||
EBUILD unshield-1.4.3.ebuild 839 BLAKE2B 3a26eb3a131f4a1a50c8588927da2078f342bc6cefdc33584f1593c05bd77670d5c6ffb19e5ac35a8a602d416775fc90aa52031b9925c4cffb721c0c852b525c SHA512 e062f76ae2e56c9728b1373feacef51dd31e48ddae09fcaa29331f6e78a9a81e804a9ffda8ec90dc3b188d340af31e189fceb7ffc0667059acc39ba47f587063
|
||||
EBUILD unshield-1.5.1.ebuild 796 BLAKE2B bf3826c73f9f05e13ec286f7dfd85f19735f44cd638b02eb2aa022e6580ff47fcc1f1c5b964e094d27e1573e8d725284f7e5d37f7d158d15db1fbb1af30958e4 SHA512 07302ff5b8df686c2451cc46d3c52dc952f6b085d9270967c09385691e87854d77c736677fa175d5adf8cd1f26f3fb06fc3b24c42ab62ca0a5e8e6bbb4f3f8ea
|
||||
EBUILD unshield-1.5.1.ebuild 794 BLAKE2B fc1e14bbdd4a9933e24f51a2e38be281ee6874aba409ea8b43086bc5b37030bee15e096faa7d889f70d3bda167869ee1863a77abbd0a602875fedaac859f9510 SHA512 148781bf6de94b083db2fee1fb99439a87492bc8aa0270f6524f52f79a1ef9387aca29877645d5972be930b8116a19de10f8fc863dbcd6924341c347e8d7be2d
|
||||
MISC metadata.xml 252 BLAKE2B 53cb03dc869146a76fb5fcdf82fbff2de9d5ba3089698bbd483e0e0042e2c762aa4fb847c8c7013470b3e87d7e2006ced995489e58261709025a8b2e7fcfdb5e SHA512 cb1ad379f1fb78be79dff6b6562a8adde061767668bc05859b11cba5a244977c5f28e10c2c30dd0aa9a26607c3f6bafbc72a29a268ce67101a7519aeebefd06b
|
||||
|
@ -1,21 +0,0 @@
|
||||
From cf53f87fae324e1a4c5d9ebd49b88947a9b02267 Mon Sep 17 00:00:00 2001
|
||||
From: Dan Church <amphetamachine@gmail.com>
|
||||
Date: Fri, 2 Nov 2018 11:00:20 -0500
|
||||
Subject: [PATCH] Fix man page install path
|
||||
|
||||
Use the standard CMake variable to determine location.
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index e0c20d3..0aeecb5 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -87,5 +87,5 @@ endif ()
|
||||
add_subdirectory(lib)
|
||||
add_subdirectory(src)
|
||||
|
||||
-install(FILES man/unshield.1 DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/man/man1)
|
||||
+install(FILES man/unshield.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libunshield.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="InstallShield CAB file extractor"
|
||||
HOMEPAGE="https://github.com/twogood/unshield"
|
||||
SRC_URI="https://github.com/twogood/unshield/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv x86"
|
||||
|
||||
# OpenSSL is detected at build time, and used to determine
|
||||
# whether or not a hand-rolled md5 implementation is used. The build
|
||||
# system prefers OpenSSL's implementation if it's available, and OpenSSL
|
||||
# is common enough, so we prefer it too. Since the dependency is
|
||||
# automagic (there's no way to hide it), we require OpenSSL
|
||||
# unconditionally.
|
||||
|
||||
DEPEND="
|
||||
dev-libs/openssl:0=
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-mandir.patch" )
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST borgbackup-1.2.4.tar.gz 4056513 BLAKE2B 90c4d7ce43acaa4512a5cce3d0c96c883699b293efb1e5d5b516b803cf4d03bcece85b026bfa6e47ccccb1f5ec1b115e2c70ccb081d01accfde0d8b080cb4ea8 SHA512 9326a58605a085f521ba75a2eecfb4bdb790d3da18c77076bddaeae641678cc08171d997a758182a739ec6b145bb04d982f8314ae60f93c3ff093eca15515dfd
|
||||
EBUILD borgbackup-1.2.4-r1.ebuild 1288 BLAKE2B 51e4c04c1f2a0819556fd3700c03e5b54b97e8a6c9fb5d08d8015f5d7680e26b5b409aad15cb505e7b1e388c95f5a8be68a6dc205a65e942424398cbfc2feac5 SHA512 63bbdb10c4559291c3ec21ff6c8689eb967b6ccafa5b6efd6970002bc1bfe68b8d74fb732d59ee60e1e91725502ce403df30fdd635fd98ee87cbe324634a1e86
|
||||
EBUILD borgbackup-1.2.4-r3.ebuild 1345 BLAKE2B 2cf361dbb2160712d5ba074083af6d664a900fbc83e5a22902d50fc9a6bf4f53de3ca4eb8b02ac68dc4a7bcc81253a815efcb662d91e3b5e68ed99da587349d9 SHA512 85fc8f632eb8e91bea8ee755acbeed80e9a9ff8874cd2ae2133743505c9b0eb6d63815c97b42fd7121a9a2e44d1a96f06f61297f40ffade1a22bf48ec46453a1
|
||||
EBUILD borgbackup-1.2.4.ebuild 1254 BLAKE2B 4b35a27b9166351b899f69d6380923b4eb0058ff86b442ca0506146c3f24a68b8694295bdb1842e09c57c9c4e9baf80083dad9641994c6c753111b45840b4da8 SHA512 390075e91617cd8250fad3621b44e2f8b657474787ec463b2e71d3daf8ffcbc741397ddb341792d42ae9204bf8fdf2ef6fb843354e908fc36b227b40d9e9f01b
|
||||
MISC metadata.xml 381 BLAKE2B 7d88d921d297d20ca4340b7592601ca13c6fbb1bf6117c922d992f18ca94c4007af6083e652ee9df39331d5ce759ee4b10bfb0624f15ca3c424c8b7531b9eb93 SHA512 66382cf5e3c189410fd97bb4b19e24b8302aa25a15db9b47191a19cf5a27f7ca3be80e053e49ae8f8e6b85b4151e1219b87f0ed1b23b4ce302ad05d41f306797
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYPI_NO_NORMALIZE=1
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Local/remote mirroring+incremental backup"
|
||||
HOMEPAGE="https://github.com/rdiff-backup/rdiff-backup"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
# Tests use a tox environment and separate steps for test env preparation
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="dev-python/pylibacl[${PYTHON_USEDEP}]
|
||||
dev-python/pyxattr[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
>=net-libs/librsync-1.0:0="
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s#share/doc/${PN}#share/doc/${PF}#" -i setup.py || die
|
||||
default
|
||||
}
|
Binary file not shown.
@ -0,0 +1,566 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools elisp-common flag-o-matic readme.gentoo-r1 toolchain-funcs
|
||||
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/emacs.git"
|
||||
EGIT_BRANCH="emacs-29"
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/emacs"
|
||||
S="${EGIT_CHECKOUT_DIR}"
|
||||
SLOT="${PV%%.*}-vcs"
|
||||
else
|
||||
# FULL_VERSION keeps the full version number, which is needed in
|
||||
# order to determine some path information correctly for copy/move
|
||||
# operations later on
|
||||
FULL_VERSION="${PV%%_*}"
|
||||
SRC_URI="mirror://gnu/emacs/${P}.tar.xz"
|
||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||
# PV can be in any of the following formats:
|
||||
# 27.1 released version (slot 27)
|
||||
# 27.1_rc1 upstream release candidate (27)
|
||||
# 27.0.9999 live ebuild (slot 27-vcs)
|
||||
# 27.0.90 upstream prerelease snapshot (27-vcs)
|
||||
# 27.0.50_pre20191223 snapshot by Gentoo developer (27-vcs)
|
||||
if [[ ${PV} == *_pre* ]]; then
|
||||
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
|
||||
S="${WORKDIR}/emacs"
|
||||
elif [[ ${PV//[0-9]} != "." ]]; then
|
||||
SRC_URI="https://alpha.gnu.org/gnu/emacs/pretest/${PN}-${PV/_/-}.tar.xz"
|
||||
fi
|
||||
SLOT="${PV%%.*}"
|
||||
[[ ${PV} == *.*.* ]] && SLOT+="-vcs"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="https://www.gnu.org/software/emacs/"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||
IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gfile gif +gmp gpm gsettings gtk gui gzip-el harfbuzz imagemagick +inotify jit jpeg json kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source sqlite ssl svg systemd +threads tiff toolkit-scroll-bars tree-sitter valgrind webp wide-int +X Xaw3d xft +xpm xwidgets zlib"
|
||||
|
||||
X_DEPEND="x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libxcb
|
||||
x11-misc/xbitmaps
|
||||
xpm? ( x11-libs/libXpm )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
x11-libs/libXrender
|
||||
cairo? ( >=x11-libs/cairo-1.12.18[X] )
|
||||
harfbuzz? ( media-libs/harfbuzz:0= )
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? (
|
||||
x11-libs/gtk+:3
|
||||
xwidgets? (
|
||||
net-libs/webkit-gtk:4.1=
|
||||
x11-libs/libXcomposite
|
||||
)
|
||||
)
|
||||
!gtk? (
|
||||
motif? (
|
||||
>=x11-libs/motif-2.3:0
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
)
|
||||
!motif? (
|
||||
Xaw3d? (
|
||||
x11-libs/libXaw3d
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
)
|
||||
!Xaw3d? ( athena? (
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
) )
|
||||
)
|
||||
)"
|
||||
|
||||
RDEPEND="app-emacs/emacs-common[games?,gui(-)?]
|
||||
sys-libs/ncurses:0=
|
||||
acl? ( virtual/acl )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
dbus? ( sys-apps/dbus )
|
||||
games? ( acct-group/gamestat )
|
||||
gmp? ( dev-libs/gmp:0= )
|
||||
gpm? ( sys-libs/gpm )
|
||||
!inotify? ( gfile? ( >=dev-libs/glib-2.28.6 ) )
|
||||
jit? (
|
||||
sys-devel/gcc:=[jit(-)]
|
||||
sys-libs/zlib
|
||||
)
|
||||
json? ( dev-libs/jansson:= )
|
||||
kerberos? ( virtual/krb5 )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
mailutils? ( net-mail/mailutils[clients] )
|
||||
!mailutils? ( acct-group/mail net-libs/liblockfile )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
ssl? ( net-libs/gnutls:0= )
|
||||
systemd? ( sys-apps/systemd )
|
||||
tree-sitter? ( dev-libs/tree-sitter )
|
||||
valgrind? ( dev-util/valgrind )
|
||||
zlib? ( sys-libs/zlib )
|
||||
gui? (
|
||||
gif? ( media-libs/giflib:0= )
|
||||
jpeg? ( media-libs/libjpeg-turbo:0= )
|
||||
png? ( >=media-libs/libpng-1.4:0= )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff:= )
|
||||
webp? ( media-libs/libwebp:0= )
|
||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2:0= )
|
||||
!aqua? (
|
||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
||||
gtk? ( !X? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
>=x11-libs/cairo-1.12.18
|
||||
x11-libs/gtk+:3
|
||||
harfbuzz? ( media-libs/harfbuzz:0= )
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
xwidgets? ( net-libs/webkit-gtk:4.1= )
|
||||
) )
|
||||
!gtk? ( ${X_DEPEND} )
|
||||
X? ( ${X_DEPEND} )
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
gui? ( !aqua? (
|
||||
!gtk? ( x11-base/xorg-proto )
|
||||
X? ( x11-base/xorg-proto )
|
||||
) )"
|
||||
|
||||
BDEPEND="sys-apps/texinfo
|
||||
virtual/pkgconfig
|
||||
gzip-el? ( app-arch/gzip )"
|
||||
|
||||
IDEPEND="app-eselect/eselect-emacs"
|
||||
|
||||
RDEPEND+=" ${IDEPEND}"
|
||||
|
||||
EMACS_SUFFIX="emacs-${SLOT}"
|
||||
SITEFILE="20${EMACS_SUFFIX}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[^0-9.]*\([0-9.]*\).*/\1/p' \
|
||||
configure.ac)
|
||||
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
|
||||
einfo "Emacs branch: ${EGIT_BRANCH}"
|
||||
einfo "Commit: ${EGIT_VERSION}"
|
||||
einfo "Emacs version number: ${FULL_VERSION}"
|
||||
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
||||
|| die "Upstream version number changed to ${FULL_VERSION}"
|
||||
fi
|
||||
|
||||
if use jit; then
|
||||
find lisp -type f -name "*.elc" -delete || die
|
||||
|
||||
# These files ignore LDFLAGS. We assign the variable here, because
|
||||
# for live ebuilds FULL_VERSION doesn't exist in global scope
|
||||
QA_FLAGS_IGNORED="usr/$(get_libdir)/emacs/${FULL_VERSION}/native-lisp/.*"
|
||||
|
||||
# gccjit doesn't play well with ccache or distcc #801580
|
||||
# For now, work around the problem with an explicit LIBRARY_PATH
|
||||
has ccache ${FEATURES} || has distcc ${FEATURES} && tc-is-gcc \
|
||||
&& export LIBRARY_PATH=$("$(tc-getCC)" -print-search-dirs \
|
||||
| sed -n '/^libraries:/{s:^[^/]*::;p}')
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
# Fix filename reference in redirected man page
|
||||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 || die
|
||||
|
||||
# libseccomp is detected by configure but doesn't appear to have any
|
||||
# effect on the installed image. Suppress it by supplying pkg-config
|
||||
# with a wrong library name.
|
||||
sed -i -e "/CHECK_MODULES/s/libseccomp/DiSaBlE&/" configure.ac || die
|
||||
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Prevents e.g. tests interfering with running Emacs.
|
||||
unset EMACS_SOCKET_NAME
|
||||
|
||||
if use alsa; then
|
||||
use sound || ewarn \
|
||||
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
||||
myconf+=" --with-sound=alsa"
|
||||
else
|
||||
myconf+=" --with-sound=$(usex sound oss)"
|
||||
fi
|
||||
|
||||
if use jit; then
|
||||
use zlib || ewarn \
|
||||
"USE flag \"jit\" overrides \"-zlib\"; enabling zlib support."
|
||||
myconf+=" --with-zlib"
|
||||
else
|
||||
myconf+=" $(use_with zlib)"
|
||||
fi
|
||||
|
||||
# Emacs supports these window systems:
|
||||
# X11, pure GTK (without X11), or Nextstep (Aqua/Cocoa).
|
||||
# General GUI support is enabled by the "gui" USE flag, then
|
||||
# the window system is selected as follows:
|
||||
# "aqua" -> Nextstep
|
||||
# "gtk -X" -> pure GTK
|
||||
# otherwise -> X11
|
||||
# For X11 there is the further choice of toolkits GTK, Motif,
|
||||
# Athena (Lucid), or no toolkit. They are enabled (in order of
|
||||
# preference) with the "gtk", "motif", "Xaw3d", and "athena" flags.
|
||||
|
||||
if ! use gui; then
|
||||
einfo "Configuring to build without window system support"
|
||||
myconf+=" --without-x --without-pgtk --without-ns"
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Nextstep (Macintosh Cocoa) support"
|
||||
myconf+=" --with-ns --disable-ns-self-contained"
|
||||
myconf+=" --without-x --without-pgtk"
|
||||
elif use gtk && ! use X; then
|
||||
einfo "Configuring to build with pure GTK (without X11) support"
|
||||
myconf+=" --with-pgtk --without-x --without-ns"
|
||||
myconf+=" --with-toolkit-scroll-bars" #836392
|
||||
myconf+=" --without-gconf"
|
||||
myconf+=" $(use_with gsettings)"
|
||||
myconf+=" $(use_with harfbuzz)"
|
||||
myconf+=" $(use_with m17n-lib libotf)"
|
||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||
myconf+=" $(use_with xwidgets)"
|
||||
else
|
||||
# X11
|
||||
myconf+=" --with-x --without-pgtk --without-ns"
|
||||
myconf+=" --without-gconf"
|
||||
myconf+=" $(use_with gsettings)"
|
||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
||||
myconf+=" $(use_with xpm)"
|
||||
|
||||
if use xft; then
|
||||
myconf+=" --with-xft"
|
||||
myconf+=" $(use_with cairo)"
|
||||
myconf+=" $(use_with harfbuzz)"
|
||||
myconf+=" $(use_with m17n-lib libotf)"
|
||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf+=" --without-xft"
|
||||
myconf+=" --without-cairo"
|
||||
myconf+=" --without-libotf --without-m17n-flt"
|
||||
use cairo && ewarn \
|
||||
"USE flag \"cairo\" has no effect if \"xft\" is not set."
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
local f line
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
while read line; do ewarn "${line}"; done <<-EOF
|
||||
Your version of GTK+ will have problems with closing open
|
||||
displays. This is no problem if you just use one display, but
|
||||
if you use more than one and close one of them Emacs may crash.
|
||||
See <https://gitlab.gnome.org/GNOME/gtk/-/issues/221> and
|
||||
<https://gitlab.gnome.org/GNOME/gtk/-/issues/2315>.
|
||||
If you intend to use more than one display, then it is strongly
|
||||
recommended that you compile Emacs with the Athena/Lucid or the
|
||||
Motif toolkit instead.
|
||||
EOF
|
||||
myconf+=" --with-x-toolkit=gtk3 $(use_with xwidgets)"
|
||||
for f in motif Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
||||
done
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf+=" --with-x-toolkit=motif"
|
||||
for f in Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf+=" --with-x-toolkit=no"
|
||||
fi
|
||||
! use gtk && use xwidgets && ewarn \
|
||||
"USE flag \"xwidgets\" has no effect if \"gtk\" is not set."
|
||||
fi
|
||||
|
||||
if use gui; then
|
||||
# Common flags recognised for all GUIs
|
||||
myconf+=" $(use_with gif)"
|
||||
myconf+=" $(use_with jpeg)"
|
||||
myconf+=" $(use_with png)"
|
||||
myconf+=" $(use_with svg rsvg)"
|
||||
myconf+=" $(use_with tiff)"
|
||||
myconf+=" $(use_with webp)"
|
||||
myconf+=" $(use_with imagemagick)"
|
||||
fi
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
# Configure a CBUILD directory when cross-compiling to make tools
|
||||
mkdir "${S}-build" && pushd "${S}-build" >/dev/null || die
|
||||
ECONF_SOURCE="${S}" econf_build --without-all --without-x-toolkit
|
||||
popd >/dev/null || die
|
||||
# Don't try to execute the binary for dumping during the build
|
||||
myconf+=" --with-dumping=none"
|
||||
elif use m68k; then
|
||||
# Workaround for https://debbugs.gnu.org/44531
|
||||
myconf+=" --with-dumping=unexec"
|
||||
else
|
||||
myconf+=" --with-dumping=pdumper"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--program-suffix="-${EMACS_SUFFIX}" \
|
||||
--includedir="${EPREFIX}"/usr/include/${EMACS_SUFFIX} \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--without-compress-install \
|
||||
--without-hesiod \
|
||||
--without-pop \
|
||||
--with-file-notification=$(usev inotify || usev gfile || echo no) \
|
||||
--with-pdumper \
|
||||
$(use_enable acl) \
|
||||
$(use_with dbus) \
|
||||
$(use_with dynamic-loading modules) \
|
||||
$(use_with games gameuser ":gamestat") \
|
||||
$(use_with gmp libgmp) \
|
||||
$(use_with gpm) \
|
||||
$(use_with jit native-compilation aot) \
|
||||
$(use_with json) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with lcms lcms2) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with mailutils) \
|
||||
$(use_with selinux) \
|
||||
$(use_with sqlite sqlite3) \
|
||||
$(use_with ssl gnutls) \
|
||||
$(use_with systemd libsystemd) \
|
||||
$(use_with threads) \
|
||||
$(use_with tree-sitter) \
|
||||
$(use_with wide-int) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export ac_cv_header_valgrind_valgrind_h=$(usex valgrind)
|
||||
append-cppflags -DUSE_VALGRIND=$(usex valgrind)
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
# Build native tools for compiling lisp etc.
|
||||
emake -C "${S}-build" src
|
||||
emake lib # Cross-compile dependencies first for timestamps
|
||||
# Save native build tools in the cross-directory
|
||||
cp "${S}-build"/lib-src/make-{docfile,fingerprint} lib-src || die
|
||||
# Specify the native Emacs to compile lisp
|
||||
emake -C lisp all EMACS="${S}-build/src/emacs"
|
||||
fi
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# List .el test files with a comment above listing the exact
|
||||
# subtests which caused failure. Elements should begin with a %.
|
||||
# e.g. %lisp/gnus/mml-sec-tests.el.
|
||||
local exclude_tests=(
|
||||
# Reason: not yet known
|
||||
# mml-secure-en-decrypt-{1,2,3,4}
|
||||
# mml-secure-find-usable-keys-{1,2}
|
||||
# mml-secure-key-checks
|
||||
# mml-secure-select-preferred-keys-4
|
||||
# mml-secure-sign-verify-1
|
||||
%lisp/gnus/mml-sec-tests.el
|
||||
|
||||
# Reason: permission denied on /nonexistent
|
||||
# (vc-*-bzr only fails if breezy is installed, as they
|
||||
# try to access cache dirs under /nonexistent)
|
||||
#
|
||||
# rmail-undigest-test-multipart-mixed-digest
|
||||
# rmail-undigest-test-rfc1153-less-strict-digest
|
||||
# rmail-undigest-test-rfc1153-sloppy-digest
|
||||
# rmail-undigest-test-rfc934-digest
|
||||
# vc-test-bzr02-state
|
||||
# vc-test-bzr05-rename-file
|
||||
# vc-test-bzr06-version-diff
|
||||
# vc-bzr-test-bug9781
|
||||
%lisp/mail/undigest-tests.el
|
||||
%lisp/vc/vc-tests.el
|
||||
%lisp/vc/vc-bzr-tests.el
|
||||
|
||||
# Reason: fails if bubblewrap (bwrap) is installed
|
||||
# "bwrap: setting up uid map: Permission denied"
|
||||
#
|
||||
# bytecomp-tests--dest-mountpoint
|
||||
%lisp/emacs-lisp/bytecomp-tests.el
|
||||
)
|
||||
|
||||
# See test/README for possible options
|
||||
emake \
|
||||
EMACS_TEST_VERBOSE=1 \
|
||||
EXCLUDE_TESTS="${exclude_tests[*]}" \
|
||||
TEST_BACKTRACE_LINE_LENGTH=nil \
|
||||
check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" NO_BIN_LINK=t BLESSMAIL_TARGET= install
|
||||
|
||||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} || die
|
||||
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 || die
|
||||
mv "${ED}"/usr/share/metainfo/{emacs-,}${EMACS_SUFFIX}.metainfo.xml || die
|
||||
|
||||
# dissuade Portage from removing our dir file #257260
|
||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir
|
||||
|
||||
# movemail must be setgid mail
|
||||
if ! use mailutils; then
|
||||
fowners root:mail /usr/libexec/emacs/${FULL_VERSION}/${CHOST}/movemail
|
||||
fperms 2751 /usr/libexec/emacs/${FULL_VERSION}/${CHOST}/movemail
|
||||
fi
|
||||
|
||||
# avoid collision between slots, see bug #169033 e.g.
|
||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el || die
|
||||
rm -rf "${ED}"/usr/share/{applications,icons} || die
|
||||
rm -rf "${ED}/usr/$(get_libdir)/systemd" || die
|
||||
rm -rf "${ED}"/var || die
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp || die
|
||||
|
||||
# remove COPYING file (except for etc/COPYING used by describe-copying)
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING || die
|
||||
|
||||
if use systemd; then
|
||||
insinto /usr/lib/systemd/user
|
||||
sed -e "/^##/d" \
|
||||
-e "/^ExecStart/s,emacs,${EPREFIX}/usr/bin/${EMACS_SUFFIX}," \
|
||||
-e "/^ExecStop/s,emacsclient,${EPREFIX}/usr/bin/&-${EMACS_SUFFIX}," \
|
||||
etc/emacs.service | newins - ${EMACS_SUFFIX}.service
|
||||
assert
|
||||
fi
|
||||
|
||||
if use gzip-el; then
|
||||
# compress .el files when a corresponding .elc exists
|
||||
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
||||
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
||||
assert "gzip .el failed"
|
||||
fi
|
||||
|
||||
local cdir
|
||||
if use source; then
|
||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||
insinto "${cdir}"
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
elif has installsources ${FEATURES}; then
|
||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||
fi
|
||||
|
||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF || die
|
||||
X
|
||||
;;; ${EMACS_SUFFIX} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
Y (setq find-function-C-source-directory
|
||||
Y "${EPREFIX}${cdir}")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setenv "INFOPATH" (mapconcat 'identity (cdr p) ":"))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS CONTRIBUTE
|
||||
|
||||
if use gui && use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
|
||||
fi
|
||||
|
||||
local DOC_CONTENTS="You can set the version to be started by
|
||||
/usr/bin/emacs through the Emacs eselect module, which also
|
||||
redirects man and info pages. Therefore, several Emacs versions can
|
||||
be installed at the same time. \"man emacs.eselect\" for details.
|
||||
\\n\\nIf you upgrade from a previous major version of Emacs, then
|
||||
it is strongly recommended that you use app-admin/emacs-updater
|
||||
to rebuild all byte-compiled elisp files of the installed Emacs
|
||||
packages."
|
||||
if use gui; then
|
||||
DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
||||
machine would satisfy basic Emacs requirements under X11.
|
||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
||||
for how to enable anti-aliased fonts."
|
||||
use aqua && DOC_CONTENTS+="\\n\\n${EMACS_SUFFIX^}.app is in
|
||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or
|
||||
symlink it into /Applications by yourself."
|
||||
fi
|
||||
tc-is-cross-compiler && DOC_CONTENTS+="\\n\\nEmacs did not write
|
||||
a portable dump file due to being cross-compiled.
|
||||
To create this file at run time, execute the following command:
|
||||
\\n${EMACS_SUFFIX} --batch -Q --eval='(dump-emacs-portable
|
||||
\"/usr/libexec/emacs/${FULL_VERSION}/${CHOST}/emacs.pdmp\")'"
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# verify that the PM hasn't removed our Info directory index #257260
|
||||
local infodir="${ED}/usr/share/info/${EMACS_SUFFIX}"
|
||||
[[ -f ${infodir}/dir || ! -d ${infodir} ]] || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use livecd; then
|
||||
# force an update of the emacs symlink for the livecd/dvd,
|
||||
# because some microemacs packages set it with USE=livecd
|
||||
eselect emacs update
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
Binary file not shown.
@ -1,6 +1,4 @@
|
||||
AUX 50libegit2-gentoo.el 199 BLAKE2B f9f7b6d2c6d8a70d37e698dd71a40b0ccb4224c1276393adfe2eb546313cc3bea29136820f98d3579f6cdeafd0559e1739150be503233de44dddefd3f97b66b6 SHA512 067030b050715f80251b28a179c0b4779efd311c4d5c1e0bb2bdd10f95442cd8f243c45c81f004ad8362740aa0139667324ef9c829abec7291ddfe801ea4c67a
|
||||
DIST libegit2-0.0.20200515.tar.gz 132122 BLAKE2B 2e8e06fb833e5ea2ee0f4e1fa760d30e91235a9b9c4a465de6d8a12d6c8431bdc85204546ba36c36f206e2788d9f1cda00d578c1c40057ccfb3f2117e8302013 SHA512 f604591ba272ea1cef8c428f644c0cfcc4ba2438a55c2b7a0dd1cdcb15836c755c0c6bdc6c42bd6da05935bba7fdac30efe65f26307599b07e591f4efdd1e897
|
||||
DIST libegit2-0.0.20230129.tar.gz 132237 BLAKE2B 339c11eaa5b231d33a3b23780b625798d47ab6725fede240ae95307cc0034a61a39d84075be271fff2ae8b1ff5143fb61ef243671f8ac927b07e931824c8c55d SHA512 9384e9118b29429aaa8ee7608712bcc1c9f006a35fb46332f9b999be909ac18c4753af58cd1c91c37a6b24ca9a08f7103f22d53a242296d0dc6a509a2c5e27fb
|
||||
EBUILD libegit2-0.0.20200515-r1.ebuild 1054 BLAKE2B 9ada2156b66eed269f4c42616b007666052a10ad4352373377ed63a43187cda7f21ab70612e160e8c250ce5d36b77e0550cea53dbb81a02b770dd4a526548dc8 SHA512 38afc5dc2897eca226a1673df70f5f2de14b63f2f530842dd284052857da1dbd8fab7c79020040be4dcc7d26876158fb1ff4fecbc5adde4f75f52c65c177b865
|
||||
EBUILD libegit2-0.0.20230129.ebuild 1057 BLAKE2B 327ed004dfc3dd337416c656577159e43bb2f0a70dde6e090e2f2b99da304845f94f8192378adae21ee505b3b7f988a4265ee08203e68d8938fb4f4b9b7e1e63 SHA512 4a71333571b658b6e3d18d41028bad50565aef9f970ac19bdfce7afc4d6f291a56aa3dcdd1f51befe350ca0694f697a70a7f0c7fc2efa91b2b464ac742a4bb1c
|
||||
MISC metadata.xml 482 BLAKE2B 5217eaebb982cc094497ae980263833be6110d28c97ae7ef2324cc7bbeb400b942317973deee3617bfc607781318bd23f05904140324f064f1ccee1b9ab97f15 SHA512 13f73bd327d202c87f7e3ed27de50c3f6be1eb1941b4a753ba391f1ba3f4140eb3bcdfe1be5179ea1168ad1cedb963cb85f64b6f72ad1c112e8ea708b4a0ac9b
|
||||
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
NEED_EMACS=26
|
||||
COMMIT="0ef8b13aef011a98b7da756e4f1ce3bb18e4d55a"
|
||||
|
||||
BUILD_DIR=.
|
||||
|
||||
inherit cmake elisp
|
||||
|
||||
DESCRIPTION="Emacs bindings for libgit2"
|
||||
HOMEPAGE="https://github.com/magit/libegit2"
|
||||
SRC_URI="https://github.com/magit/libegit2/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND=">=dev-libs/libgit2-1.0.0:="
|
||||
RDEPEND="${DEPEND}
|
||||
>=app-editors/emacs-26:*[dynamic-loading]"
|
||||
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
DOCS="README.md"
|
||||
|
||||
# The tests seem to be written specifically for the libegit2 git
|
||||
# repository.
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
# Don't build against the bundled submodule
|
||||
sed -i -e '/subdirectory.*libgit2/ s/^/#/' CMakeLists.txt || die
|
||||
|
||||
rm -f test.el || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
elisp_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
elisp-modules-install ${PN} libegit2.so
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
AUX 50transient-gentoo.el 38 BLAKE2B e96c6cf48d1522d89450e11d339c76210c672377208b56951791b83c6ef22b2c872d313084e199dd5d7b533a99106a87dbc7f15b5ee6126f71bf5f2e84165ffa SHA512 5c00bcabe2d7cc03013dc7a54b2c653940c08098ca5646d7c73624cb1ca04376ae9dcf88a7166b1925c69f0c5d192d90f6bd790fdef8ed8c3b0f9d163c987da5
|
||||
DIST transient-0.3.6.tar.gz 100905 BLAKE2B cc7a78104b77a7ff49d2ee686a780db7509744b1f737e4f995d5e5f8ada18828ccf1b6ae5d995fb8aa09e9fc16895226e5e8cf3cf50a79c246c5d07d5f467ce0 SHA512 c1b43046f07f9efce1720f6e151d8223922574262d4e5436b0c81453b0a21a404f1c555a5bc92a201c71beb1b2f95aafb38b88203cd08c1d3a9d80f45ed0d0c9
|
||||
DIST transient-0.3.7.tar.gz 103105 BLAKE2B 3253529af82116881b6fdbb5465d3e0ffa8246e017a266fe0868d31e9c576a3927ed7b8d968d95f7e84e31859705f08582260d074f7f55cf10e535177df761f4 SHA512 93d1e00db3f483d830c9e636de1ae752c43bada580209c4839e89941507be5fd7ebbd31cf597436f13448b29085453742a0623dad9dcc1d343e29a5d47d76987
|
||||
DIST transient-0.3.7_p20220918.tar.gz 125422 BLAKE2B 19d1e2e4ea24076856a1816042d63964527b4c98d5727805058e5bfd829c708afa277d88b46e0e4da64b8a21fc4c012b410399f7bc71d877c285edda6b9e7d8e SHA512 9dd61f6eb69bdcd9a582e34261f9b6806d048df3d009aefe5f3a5a8f36e733187140b933f8e4af02c6e6f35fac6a3d5d13665ac108fa74299b1555c485be87c3
|
||||
EBUILD transient-0.3.6.ebuild 618 BLAKE2B 7f8f2d71e2e1d1446b0b7d8ffa2e0c1c26f90a2c3ca95a59e74e9ace834c8dcfc322ddda58452e39423577049aaa580f93fcd54ad88bb13565fab92ff4c770e5 SHA512 dc8b36bec36a55f61d5c9bae86fb67a8c4dd4c32c7e644164ae59f06a1f467813c0384a5c2df31ac8a98432988380de0d2a43dd93767c00f67c8940540a033a4
|
||||
DIST transient-0.4.0.tar.gz 128429 BLAKE2B cd97b5fcef5d7d4bb14677ab1fa4a49f16af527cfaf92c17d97de9073a6662067195822a6e25ff6cefdb8278c806ceee996f6552e4616a52cd16390a1baa8459 SHA512 b7946983828ed2d5cc9884b08fead22fffa4d3fa2f10b0797df54f4260ae0d41e27aa3804dce12ae61d6e60d245484e68ad269a5bbe98cfde7a6a154eed7a3db
|
||||
EBUILD transient-0.3.7.ebuild 618 BLAKE2B caa55a263afc6fb555886e6511ab0502e20a3135a1a60ab2fc5311ef92a8ec506f1a44d967eb8318008c263c34322b381a9a9dc816955a73c0764e9f5baf1398 SHA512 1a9aa9bf670f7c0084c70a52d9782e1e759e0aaf0c79bb81fc25fd03fa41c00c932053c622ad681591d31c07af5955c0512f56a47a3b70d7eb1f7d5ac93c584a
|
||||
EBUILD transient-0.3.7_p20220918-r1.ebuild 719 BLAKE2B c64dfa62198be34fac7e1b153d07b68e67e544b26f41c4b84f87bfe49c4b62b21fc32b7f203604c3425ad1e734c76c11b76883457d491f36eea0967f7cf156a9 SHA512 6840921d56497567a0ce9a5d3ebe0c6ccfce46c13816e13458d832da5fdef81ef807b56fbb2293c898adb923409f6aa20427be20d3cf36baf11502328913eaac
|
||||
EBUILD transient-0.4.0.ebuild 686 BLAKE2B d6390ae4054e664299978683bcf1f869171f013e8c7a72843f732a2769deb501526dfcde187a9d5c8c6d501ae612c35caa15a37a1037b92fccfdc65a50fcba15 SHA512 5bd586bd6a3f8f6629f8befaa9bc9242b74fd06cf8ec761bb8eb97e3f97e3a2830b20416349177aa22e43e52c22664a2976575e52650589d8a61476f191e42d6
|
||||
MISC metadata.xml 1434 BLAKE2B 6f7f91e2cd8c87559f15552d6fbe920e5262a50f21919a096af55df037726eb380a774cfba8be73b588ba9aa2c39da5caf6ad64a31106b843c6bd308fe7aa40e SHA512 3316d9ac21d2a2aa0a5824f2c8ded736ad1bfcd7319a9c4cb8b02f0ffec5f440820bfe48e4f4d4264fbc3864bd7959875f1396285b6a7eb2ad3333a6a062a14f
|
||||
|
@ -1,25 +1,29 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Transient commands abstraction for GNU Emacs"
|
||||
HOMEPAGE="https://magit.vc/manual/transient"
|
||||
SRC_URI="https://github.com/magit/transient/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
HOMEPAGE="https://magit.vc/manual/transient/
|
||||
https://github.com/magit/transient/"
|
||||
SRC_URI="https://github.com/magit/transient/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
DOCS=( CHANGELOG README.org docs/${PN}.org )
|
||||
ELISP_TEXINFO="docs/${PN}.texi"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
ELISP_TEXINFO="docs/*.texi"
|
||||
DOCS="README.md docs/transient.org"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
DEPEND="${DEPEND} sys-apps/texinfo"
|
||||
RDEPEND=">=app-emacs/compat-29.1.4.1"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
sys-apps/texinfo
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
mv lisp/*.el . || die
|
@ -1,5 +1,5 @@
|
||||
AUX 50ts-gentoo.el 38 BLAKE2B e96c6cf48d1522d89450e11d339c76210c672377208b56951791b83c6ef22b2c872d313084e199dd5d7b533a99106a87dbc7f15b5ee6126f71bf5f2e84165ffa SHA512 5c00bcabe2d7cc03013dc7a54b2c653940c08098ca5646d7c73624cb1ca04376ae9dcf88a7166b1925c69f0c5d192d90f6bd790fdef8ed8c3b0f9d163c987da5
|
||||
AUX ts-0.3-test.patch 650 BLAKE2B 174a01b8035a677e2ae742931ac9b9d9f7eadd9a0bd02ffda69867c950239c32e948b952d6a16ffcd4ea423b84b8eec4d20a8000bddc4ef64e072e29fccfa203 SHA512 0276582170693f476c448dc6154b4930a52734ddf8325a903b018f3aca8e7d16ba150d1ef50f61e541ed234b2097c2b9f7d048f74cf058a6c088070c3722e2de
|
||||
AUX ts-0.3-test.patch 4234 BLAKE2B 5ecaa201c552f899a30998e3d2d313368a9f8d850ee42b8ba774ab695fac1057f5f4133e1da5dea777a60d0001e722860f856a8eddb789f4a6e17aa87178eb0b SHA512 b57f760adf3c3eeef0c227956ea273eedd6b3492ab1b4347b64738cd1d5c1e8fb94b4cc4903022cb44fc9688791209a67e09c8ccdf3c256f58d4e4bfad2ed565
|
||||
DIST ts-0.3.tar.gz 50790 BLAKE2B 99708218584764776d6f93565b7da83e266a1ea2588aba614151a9cffaddd69983a0dd897b9a59247e73992b1611dc761f250f189e179d72c36dc417f5f60aa2 SHA512 8e31543ffb69214c2daf3a26b8f2a76c9933e13f699575678c3262b1524da6615d34ec3fe9d30c62c354ba7139e7a96ac5a894850569688e75ba64959bded61c
|
||||
EBUILD ts-0.3.ebuild 855 BLAKE2B 75054d6ba86495a1bad1c8badb0a73e0e51c6043dc16afc4168920c9292fcbf7dc42432da4ae56674fcb41b2d25bf784f80d3ff8c5e824aa60765538d17f3b25 SHA512 d9551b5b1ada56b9581bcacaa85b9458e0dc27988f970d6f08c9c51a3b664ebe6bba798e7c54261f1f69568ad0bc3f6159bf4a088d978879febda7ee2f45b7f5
|
||||
MISC metadata.xml 1017 BLAKE2B bd37ba7901c48fef2cbfd665f2785a83b4bb2a3c0ff96177f7e6e4248efbc4698347fbce7f14e1ef6f77de3d4d9b0d267bcbef5d1a396f1dfd82a634b2c6ddee SHA512 a3b39642f71c692f2e68e96b96dbe2cf25cb014734c0ade0026a839eb15a2265d69203e76b3c707763f7710de9f93b3df822e1ca141d5ce86c8c3056f8ad5a9b
|
||||
|
@ -1,13 +1,100 @@
|
||||
--- a/test/test.el
|
||||
+++ b/test/test.el
|
||||
@@ -259,10 +259,8 @@
|
||||
;; machine's local timezone affecting results.
|
||||
(let ((ts (make-ts :year 2019 :month 7 :day 27 :hour 20 :minute 48 :second 08 :tz-offset "-0400")))
|
||||
;; Following the pattern in the function:
|
||||
@@ -254,24 +254,6 @@
|
||||
|
||||
;;;;; Formatting
|
||||
|
||||
-(ert-deftest ts-format ()
|
||||
- ;; We test two timestamps to help avoid problems with the test
|
||||
- ;; machine's local timezone affecting results.
|
||||
- (let ((ts (make-ts :year 2019 :month 7 :day 27 :hour 20 :minute 48 :second 08 :tz-offset "-0400")))
|
||||
- ;; Following the pattern in the function:
|
||||
- (should (equal (ts-format ts) "2019-07-27 20:48:08 -0400"))
|
||||
(should (equal (ts-format "%Y" ts) "2019"))
|
||||
(should (ts-format "%Y"))
|
||||
- (should (equal (ts-format "%Y" ts) "2019"))
|
||||
- (should (ts-format "%Y"))
|
||||
- (should (equal (ts-format nil ts) "2019-07-27 20:48:08 -0400"))
|
||||
(should (ts-format)))
|
||||
(let ((ts (make-ts :year 2019 :month 7 :day 27 :hour 19 :minute 48 :second 08 :tz-offset "-0500")))
|
||||
;; Following the pattern in the function:
|
||||
- (should (ts-format)))
|
||||
- (let ((ts (make-ts :year 2019 :month 7 :day 27 :hour 19 :minute 48 :second 08 :tz-offset "-0500")))
|
||||
- ;; Following the pattern in the function:
|
||||
- (should (equal (ts-format ts) "2019-07-27 19:48:08 -0500"))
|
||||
- (should (equal (ts-format "%Y" ts) "2019"))
|
||||
- (should (ts-format "%Y"))
|
||||
- (should (equal (ts-format nil ts) "2019-07-27 19:48:08 -0500"))
|
||||
- (should (ts-format))))
|
||||
-
|
||||
;;;;; Parsing
|
||||
|
||||
(ert-deftest ts-parse ()
|
||||
@@ -355,13 +337,6 @@
|
||||
;; 12:12, which means 0 seconds.
|
||||
(should (eq (ts-S ts) 0))))
|
||||
|
||||
-(ert-deftest ts-parse-org ()
|
||||
- ;; NOTE: Not sure how to best handle loading `org-parse-time-string'. Calling (require 'ts)
|
||||
- ;; shouldn't cause Org to be loaded, so the user will probably have to do that.
|
||||
- (require 'org)
|
||||
- (let* ((org-ts-string "<2015-09-24 Thu .+1d>"))
|
||||
- (should (equal 1443070800.0 (ts-unix (ts-parse-org org-ts-string))))))
|
||||
-
|
||||
(ert-deftest ts-parse-org-fill ()
|
||||
(should-error (ts-parse-org-fill nil "<2015-09-24 Thu .+1d>"))
|
||||
(let ((ts (ts-parse-org-fill 'begin "<2015-09-24 Thu .+1d>")))
|
||||
@@ -413,27 +388,6 @@
|
||||
(should (eq (ts-M ts) 12))
|
||||
(should (eq (ts-S ts) 0))))
|
||||
|
||||
-(ert-deftest ts-parse-org-element ()
|
||||
- (let ((org-ts '(timestamp (:type active
|
||||
- :raw-value "<2015-09-24 Thu .+1d>"
|
||||
- :year-start 2015 :month-start 9 :day-start 24
|
||||
- :hour-start nil :minute-start nil
|
||||
- :year-end 2015 :month-end 9 :day-end 24
|
||||
- :hour-end nil :minute-end nil
|
||||
- :begin 230314 :end 230335 :post-blank 0
|
||||
- :repeater-type restart :repeater-value 1 :repeater-unit day))))
|
||||
- (should (equal 1443070800.0 (ts-unix (ts-parse-org-element org-ts)))))
|
||||
- (let ((org-ts-string "<2015-09-24 Thu .+1d>"))
|
||||
- (with-temp-buffer
|
||||
- (delay-mode-hooks
|
||||
- (org-mode)
|
||||
- (save-excursion
|
||||
- (insert org-ts-string))
|
||||
- (should (->> (org-element-context)
|
||||
- (ts-parse-org-element)
|
||||
- (ts-unix)
|
||||
- (equal 1443070800.0)))))))
|
||||
-
|
||||
;;;;; Other
|
||||
|
||||
(ert-deftest ts-apply ()
|
||||
@@ -443,30 +397,6 @@
|
||||
(should (= (- (ts-year now) (ts-year then))
|
||||
expected-difference))))
|
||||
|
||||
-(ert-deftest ts-fill ()
|
||||
- (let ((zones '("America/Chicago" (-18000 "CDT")))
|
||||
- ts)
|
||||
- (dolist (zone zones)
|
||||
- (setf ts (ts-fill (make-ts :unix 1625426636.7569551) zone))
|
||||
- (should (equal (ts-year ts) 2021))
|
||||
- (should (equal (ts-month-num ts) 7))
|
||||
- (should (equal (ts-day-of-month-num ts) 4))
|
||||
- (should (equal (ts-day-of-week-num ts) 0))
|
||||
- (should (equal (ts-hour ts) 14))
|
||||
- (should (equal (ts-minute ts) 23))
|
||||
- (should (equal (ts-second ts) 56))
|
||||
- (should (equal (ts-month-name ts) "July"))
|
||||
- (should (equal (ts-month-abbr ts) "Jul"))
|
||||
- (should (equal (ts-day-abbr ts) "Sun"))
|
||||
- (should (equal (ts-day-name ts) "Sunday"))
|
||||
- (should (equal (ts-day-of-year ts) 185))
|
||||
- (should (equal (ts-week-of-year ts) 26))
|
||||
- (should (equal (ts-tz-abbr ts) "CDT"))
|
||||
- (should (equal (ts-tz-offset ts) "-0500"))))
|
||||
- ;; If ZONE is the plain integer -18000, the tz-abbr ("%z" to `format-time-string')
|
||||
- ;; is "-05" rather than the zone abbreviation, so we test it separately.
|
||||
- (should (equal (ts-tz-abbr (ts-fill (make-ts :unix 1625426636.7569551) -18000)) "-05")))
|
||||
-
|
||||
(ert-deftest ts-now ()
|
||||
"Ensure `ts-now' returns what appears to be the current time."
|
||||
(should (equal (floor (ts-unix (ts-now)))
|
||||
|
@ -1,9 +1,7 @@
|
||||
AUX 50vterm-gentoo.el 213 BLAKE2B adb1452d0bf816beceec4367a33176034f90c46b1649178cce093160117d14c01d1ccebefa57bebbf276d01e812223876a766567fbbb95589851b51db2456db2 SHA512 2847b924a1e3218d433391396681642a88192396a60f25f5da6824a9546a0f155d068b1bfc2115f0698b87e07ca50845ebbdc0a71de2ff8203fdf14b7e43ef0d
|
||||
AUX vterm-0.0.1_pre20210618-dont-compile.patch 772 BLAKE2B 235f1050ccf434663da28794f8b04b8f7e02e824373a75ba214c3ad213dc598f5390c22d3ad068fa2c8b041232664ff5170b08d21c8e9d60b8ea1eb3dae44a48 SHA512 8787887ec2d7c2ee09710ca8683bf90e3ab81d930288e66d74a926f3619f4bea2e37f1bdec0021192b85dc3dbcf778b4e4f5ad82805b35033b212cb43fcbe5e6
|
||||
DIST vterm-0.0.1_pre20210618.tar.gz 58389 BLAKE2B 71221d470e01d647093e3a3af0c57b416ef23e81ff4d783d032613e19f1d467752fea0d242ea0f72092e3cdabbdb88ba15a840d9e4116cf5aa95d54a020efe0d SHA512 9e23eff1c9c5d2cc8e970bb4d9910b3e0258987d09b765ece188641ff5e2696e30d59a409f45253f243162b8e71c0ea301049ff37c93ffec1e1c25206ca9c5d2
|
||||
DIST vterm-0.0.2_p20221118.tar.gz 60288 BLAKE2B a86e2a79457eb02212402a3054bd867af38caf2c52e1d2fd21cbd7a665f2383909ef99fa6291c9e0a6d9841d65dfbda175937bf219ec7e1e8fb8bd1c5add300e SHA512 1825ef38afc2d4144611b81c49c64b5271bc58cd96f6d3bdc6869d2d9c7cc7785864621035e3e787f7c2c0634672806ba217f3c3d589dfc342d59bd5480f96a1
|
||||
DIST vterm-0.0.2_p20230217.tar.gz 61049 BLAKE2B d974e8873b2f3074c23f797eb862734ed6af2caca2213c0cb972b92180567ea87e25a2d435d592dd7a2f236380fce0180b161490e506cffef24f11d25b38fbc6 SHA512 c13b79054d305e2ee73725d323a1409c8d0f9529b13c659a3e7d273dbaa79f09cde5d4e3097ed2b40b106b4fad0c5f465381e1a8337e9ffc21be0515e376c42a
|
||||
EBUILD vterm-0.0.1_pre20210618.ebuild 1242 BLAKE2B 9ccf5d930934d0b3fe78ef29c21ec51e2785ae9077b6d6f81d0f887b4c1eec87019ae1701b4c84021436bb6feea19b211574242ae7dddb5015a25449127e5637 SHA512 2a2c915c097b7f5eb2c4691dedfcf976dfbfd94d9540aeba5829db3c2f10852aa39f36550e84e825cb05e657e592fc19394a073d49a4ce5d7031b6ca41840d64
|
||||
EBUILD vterm-0.0.2_p20221118.ebuild 1387 BLAKE2B 2170bfb0df4e8c5bd23c23be18fe2297cd9c74871581fc0bca04fbee6c2f69f25f71d22bb617cc4505c5ed4df25a311eb24980a01796131e0eb94aa86a52ee0d SHA512 794fda5744e6738fb6bc060fcd8d20054f490623775f067e4a93c0858ced6b8a5c2831f11fba1b2196bf369c9b915a825b7058ac594d4111aa4af8ecd45515ab
|
||||
EBUILD vterm-0.0.2_p20230217.ebuild 1642 BLAKE2B 9a456716c3c937b685d9c1f2147d40c6fb9889e0e3b4ccd95d969db344d656baa2eedf64089cfc1f8886b08acde6de466a46a545c7f3324190a3e11ddd5e8f74 SHA512 c2d2dd21e7bf6016428878f8286242795743da9ca4776ec45385d2f7a8793a2aef02c95185505012ffd2e7d0c38657ab7393e5a80a32cba4a5f076697292b0fe
|
||||
MISC metadata.xml 634 BLAKE2B 09ec6e8f2b00735c5fc3dbca525205b0b98a580feecfea36a1c2b435bfd6de2e4b5e85c47c07f4830da1b3ddc8793d06e4e6ec3a02e5df19c876e0251226f5c7 SHA512 09d9be89b4275192c5048eb3a7fc3729d6d4923861bc5ab075c8097e7bb1f6776649e82440e53b1d0236dc669a4580aa2da31da5cdc5994b59eabaffdeeedc61
|
||||
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
NEED_EMACS=26
|
||||
COMMIT="d9dfa624679afdd5db6ad25429ef86d3dd91401e"
|
||||
|
||||
inherit cmake elisp
|
||||
|
||||
MY_PN="emacs-libvterm"
|
||||
DESCRIPTION="Fully-featured terminal emulator based on libvterm"
|
||||
HOMEPAGE="https://github.com/akermu/emacs-libvterm"
|
||||
SRC_URI="https://github.com/akermu/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
DEPEND="dev-libs/libvterm"
|
||||
RDEPEND="${DEPEND}
|
||||
>=app-editors/emacs-26:*[dynamic-loading]"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${COMMIT}"
|
||||
PATCHES=("${FILESDIR}"/${PN}-0.0.1_pre20210618-dont-compile.patch)
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
DOCS="README.md"
|
||||
|
||||
src_prepare() {
|
||||
if [[ -e ${ESYSROOT}/usr/include/emacs-module.h ]]; then
|
||||
# Use system header file instead of bundled one
|
||||
rm emacs-module.h || die
|
||||
else
|
||||
ewarn "${ESYSROOT}/usr/include/emacs-module.h does not exist"
|
||||
ewarn "Falling back to bundled header file"
|
||||
fi
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=("-DUSE_SYSTEM_LIBVTERM=ON")
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
elisp_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
elisp-modules-install ${PN} vterm-module.so
|
||||
}
|
Binary file not shown.
@ -1,12 +1,8 @@
|
||||
DIST diskimage-builder-3.26.0.tar.gz 515778 BLAKE2B ac57ddb043f08052c337093e74255e7a4a01d6469e26387dd3c968dabb840db2323c8bb6cb4d4758c62c4b6e659873d2c6228312d6798a4101a3792ce760d067 SHA512 06b949f7561e2d60397b27f905ebd997356537091b39a9a2ec26c14da9d7ebcf44f79c97895cfd3b4dde576407840b6f407b9009fbea3def40bcc218589a034f
|
||||
DIST diskimage-builder-3.27.0.tar.gz 515925 BLAKE2B 5a064098542bf5a9936868622e8cb90f975b8e23df5ba868689e2f27b4168de40aa12678c643674f127076268f8103fc02f126486efceb5456a5b21ec14e7304 SHA512 25966991ad81eb500a5573b15fc37c0ec1ea55b0f8b9f418a14e30652adaa6e8cb817fb017f4af83343a66300a5d10739b5e99729e947ef27aee45965a3a147f
|
||||
DIST diskimage-builder-3.28.0.tar.gz 526274 BLAKE2B 2fd6ed897fb550597ec6ec50d8ecefb8b1ca807acf18fd00e4d7f883f3fd7aca040f1f51a790ed326762eac3d333f59fcc5e917b9f536bfdd36f68ca35cbb724 SHA512 e61a1815bff9416d47b5019f8aa771b94f01353e400660dc837921323bd2045635695ca7a1c658ee0db5308683fefa140925217747555efcb0ee94fa56d37c3a
|
||||
DIST diskimage-builder-3.29.0.tar.gz 526544 BLAKE2B a5b52e8ec5f46e4aa1ec27a9194381e5f47ede8a2428b8e43e8d200174cc39654cf55f7f44ee46a3b03a846b665fb635c06f413878dd30e8ba4aa020f5c6f7d0 SHA512 f35650481168c52066c6ec9818e08fe5d20732899676fe1a1961a71d522b045539da06a0d1bd366e5a2e6ebc07d6e609b9bfbcaa83ca50086fe2c17936f27ba7
|
||||
DIST diskimage-builder-3.30.0.tar.gz 527303 BLAKE2B ef364ad61932e56579c150935d247ba83a5d8bacf4aee196404f71304b560081fed5089129c74f4d3b3d6054165438dbf150a6fba41aaf4065b79cdf747e08f9 SHA512 aa9580878a4606069262022117abea6e1e4f9d1fb0f5951ea2b47486e844b2bfa330033e627c6a5bd8d50d97bf595a3380ec5b084199192c6b34849c41fd2d5a
|
||||
EBUILD diskimage-builder-3.26.0.ebuild 1102 BLAKE2B 36bc5a7a5f52fd813c25e76a83c6689129698f692e2a2c4b1dfe09877a6e89ff5b0977daae4aa65afefd0629e663a847a36db546b611ae3d9879fc5b5272084f SHA512 8e9e11a64270cc9321974f2cdc36d6566880b47a3a44c580d2a0ac05fea7dd3ab1fe367964fcd0ac38a60f6fb19a0778824edbd42eb1376c9a3e2032e6e67b6e
|
||||
EBUILD diskimage-builder-3.27.0.ebuild 1102 BLAKE2B 36bc5a7a5f52fd813c25e76a83c6689129698f692e2a2c4b1dfe09877a6e89ff5b0977daae4aa65afefd0629e663a847a36db546b611ae3d9879fc5b5272084f SHA512 8e9e11a64270cc9321974f2cdc36d6566880b47a3a44c580d2a0ac05fea7dd3ab1fe367964fcd0ac38a60f6fb19a0778824edbd42eb1376c9a3e2032e6e67b6e
|
||||
EBUILD diskimage-builder-3.28.0.ebuild 1102 BLAKE2B 36bc5a7a5f52fd813c25e76a83c6689129698f692e2a2c4b1dfe09877a6e89ff5b0977daae4aa65afefd0629e663a847a36db546b611ae3d9879fc5b5272084f SHA512 8e9e11a64270cc9321974f2cdc36d6566880b47a3a44c580d2a0ac05fea7dd3ab1fe367964fcd0ac38a60f6fb19a0778824edbd42eb1376c9a3e2032e6e67b6e
|
||||
EBUILD diskimage-builder-3.29.0.ebuild 1104 BLAKE2B f877866ce37f63920a57ce4dde025e070409a4829717ff953c1b1bdf740fd52d02c31767cb4115c3e3f60be51099b61591a085732a8357728630958ecc91e51a SHA512 85470183d0484a39229bebfed182050d7007457468150b70c649c87bde38299f52e951fdcc1bcfa7e0dfa9508fa3e5dee4b36c46f39a885af6b544615e626552
|
||||
EBUILD diskimage-builder-3.29.0.ebuild 1102 BLAKE2B 36bc5a7a5f52fd813c25e76a83c6689129698f692e2a2c4b1dfe09877a6e89ff5b0977daae4aa65afefd0629e663a847a36db546b611ae3d9879fc5b5272084f SHA512 8e9e11a64270cc9321974f2cdc36d6566880b47a3a44c580d2a0ac05fea7dd3ab1fe367964fcd0ac38a60f6fb19a0778824edbd42eb1376c9a3e2032e6e67b6e
|
||||
EBUILD diskimage-builder-3.30.0.ebuild 1107 BLAKE2B ad3df486c212c27651e378622ba558ba17732dd028467a8264d4d07da821c9ce810366f402853bafb30822d9c89b70ec869fe9a8b99b4f92d5c6b01ac7cb1ac6 SHA512 beabcbaae1bdcb72dfb145fb9781bc677f18042733b60c271d3163bccb2f5730f6dc3b5be2d950cf21938138bfaa6be6d7a21e4b911ae7a6f522d9e912e0f75b
|
||||
EBUILD diskimage-builder-9999.ebuild 1107 BLAKE2B ad3df486c212c27651e378622ba558ba17732dd028467a8264d4d07da821c9ce810366f402853bafb30822d9c89b70ec869fe9a8b99b4f92d5c6b01ac7cb1ac6 SHA512 beabcbaae1bdcb72dfb145fb9781bc677f18042733b60c271d3163bccb2f5730f6dc3b5be2d950cf21938138bfaa6be6d7a21e4b911ae7a6f522d9e912e0f75b
|
||||
MISC metadata.xml 719 BLAKE2B 872a4d37e8ddb2a28eb85d18cd88990934327bc23194f3be9e5dea03627a6169987b246a93b50754cbe5e331f8c854a808bf307b70521c481d83b846f7385606 SHA512 d151fd95659211b2057ef0a61a6020e2f9efebebf3d7c5e1392ddb9954e3627e1040f2a9fe84ea4caeb65a745411fefebf2d896bbddbe0ddbb56acf42d2fedc3
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9,10} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYPI_NO_NORMALIZE=1
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Golden Disk Image builder"
|
||||
HOMEPAGE="http://docs.openstack.org/developer/diskimage-builder/"
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://opendev.org/openstack/diskimage-builder.git"
|
||||
else
|
||||
inherit pypi
|
||||
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${CDEPEND}"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
|
||||
!~dev-python/Babel-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/networkx-1.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
|
||||
app-emulation/qemu
|
||||
sys-block/parted
|
||||
sys-fs/multipath-tools
|
||||
sys-fs/dosfstools
|
||||
sys-apps/gptfdisk
|
||||
!dev-python/dib-utils[${PYTHON_USEDEP}]"
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9,10} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYPI_NO_NORMALIZE=1
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Golden Disk Image builder"
|
||||
HOMEPAGE="http://docs.openstack.org/developer/diskimage-builder/"
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://opendev.org/openstack/diskimage-builder.git"
|
||||
else
|
||||
inherit pypi
|
||||
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${CDEPEND}"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
|
||||
!~dev-python/Babel-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/networkx-1.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
|
||||
app-emulation/qemu
|
||||
sys-block/parted
|
||||
sys-fs/multipath-tools
|
||||
sys-fs/dosfstools
|
||||
sys-apps/gptfdisk
|
||||
!dev-python/dib-utils[${PYTHON_USEDEP}]"
|
@ -1,4 +1,4 @@
|
||||
AUX env.file 47 BLAKE2B 2b9034e60acea9f2300ec234a7ccdd6b438d2370808f8c30c8470c735287d1ed5ee6f75f0c1fa05423a39e558ca5daa258de44b1125999ac47e289c7c4df332d SHA512 74b5c63ab4421238b4e2c54dfc9579dea719101c0b9066341ddf3aa64ff1ed739e6d38e837b388ded1f741bc57c47a52772bf22ee52318acc5cb34908f1df1fd
|
||||
DIST appliance-1.46.0.tar.xz 145436856 BLAKE2B d9ed31f533a2772b0f506176b39bfdfdec1421fe4ff7934ccdb1db0cb2644d477211ec1a2d372d7e5dd0a8f278f47a39bff813b7bc4c9a038258a5f6358b4e91 SHA512 842119bdf95dbbd61328891e9bd0b557bed90ba79c6419ee18d1a79cd4a301ea6922339b9e80ac314ff3e16498e9d3c594861aebe8e0fc2db41d285eb8e5d578
|
||||
EBUILD libguestfs-appliance-1.46.0.ebuild 1276 BLAKE2B 15a836f9fdc727488040c1ac088c783774bfc7bbadb92acd68c2d2e6a09f40454ee2f20833243776c6284ea675cf8c38c148b6972bd8455387569339d2396e62 SHA512 f2ec240206b089e97838c5a0389f1da6e016ccb20435e677591a0371767d2bb44373bb52550df380f14d13914b4d4f045b786b2a177d240b5936709a798f8156
|
||||
EBUILD libguestfs-appliance-1.46.0.ebuild 1276 BLAKE2B 345f96a34bba44962bde9a5519ae48b31efee8a5dc20c47a31241cc1d438f9492a844e6cf959b28a62b49fae6805fc87ef520dc9cdd526ac52067c72030566cc SHA512 b78dfdce10db4ea0a7cdcddcdcccdc6e341f6b05223fa7831be8c45e015280383d8e8336ae0ddece18fc1214b9b8d9faa3b0dee12619bbfc702abf6fa6f9ae73
|
||||
MISC metadata.xml 290 BLAKE2B 8084923ecdcdc254e65a614e963d9f97d1e22855e69c30f8843ae7e1fdc2d983efbc70a9165a4113e0dd6a14aaade55cd260cc58b3823895effaed2d26d98951 SHA512 c727a188cfcc8f4c475518d79c44c4d0b9c2b37061a13a9e62121b564228ee3923c696800080cba3e4549ce0cba5efc59fd71cba9917ce79d40444b670ad7ad7
|
||||
|
@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
inherit meson python-any-r1 readme.gentoo-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="SPICE server"
|
||||
HOMEPAGE="https://www.spice-space.org/"
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/spice/spice.git"
|
||||
inherit git-r3
|
||||
|
||||
DEPEND="~app-emulation/spice-protocol-9999"
|
||||
else
|
||||
SRC_URI="https://www.spice-space.org/download/releases/spice-server/${P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="gstreamer lz4 sasl smartcard static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# The libspice-server only uses the headers of libcacard
|
||||
RDEPEND="
|
||||
dev-lang/orc[static-libs(+)?]
|
||||
>=dev-libs/glib-2.38:2[static-libs(+)?]
|
||||
dev-libs/openssl:0=[static-libs(+)?]
|
||||
media-libs/opus[static-libs(+)?]
|
||||
media-libs/libjpeg-turbo:0=[static-libs(+)?]
|
||||
sys-libs/zlib[static-libs(+)?]
|
||||
>=x11-libs/pixman-0.17.7[static-libs(+)?]
|
||||
lz4? ( app-arch/lz4:0=[static-libs(+)?] )
|
||||
smartcard? ( >=app-emulation/libcacard-2.5.1 )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)?] )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
"
|
||||
DEPEND+="
|
||||
${RDEPEND}
|
||||
>=app-emulation/spice-protocol-0.14.3
|
||||
smartcard? ( app-emulation/qemu[smartcard] )
|
||||
test? ( net-libs/glib-networking )
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
virtual/pkgconfig
|
||||
$(python_gen_any_dep '
|
||||
>=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version -b ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
|
||||
python_has_version -b "dev-python/six[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Prevent sandbox violations, bug #586560
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=744134
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=744135
|
||||
use gstreamer && addpredict /dev
|
||||
|
||||
xdg_environment_reset
|
||||
|
||||
local emesonargs=(
|
||||
-Ddefault_library=$(usex static-libs both shared)
|
||||
-Dgstreamer=$(usex gstreamer 1.0 no)
|
||||
-Dopus=enabled
|
||||
-Dmanual=false
|
||||
$(meson_use lz4)
|
||||
$(meson_use sasl)
|
||||
$(meson_feature smartcard)
|
||||
$(meson_use test tests)
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -0,0 +1,376 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_{32,64} )
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
inherit autotools edo flag-o-matic multilib multilib-build
|
||||
inherit python-any-r1 toolchain-funcs wrapper
|
||||
|
||||
WINE_GECKO=2.47.4
|
||||
WINE_MONO=7.4.0
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine-staging.git"
|
||||
WINE_EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine.git"
|
||||
else
|
||||
(( $(ver_cut 2) )) && WINE_SDIR=$(ver_cut 1).x || WINE_SDIR=$(ver_cut 1).0
|
||||
SRC_URI="
|
||||
https://dl.winehq.org/wine/source/${WINE_SDIR}/wine-${PV}.tar.xz
|
||||
https://github.com/wine-staging/wine-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
fi
|
||||
S="${WORKDIR}/wine-${PV}"
|
||||
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix, with Wine-Staging patchset"
|
||||
HOMEPAGE="
|
||||
https://wiki.winehq.org/Wine-Staging
|
||||
https://gitlab.winehq.org/wine/wine-staging/"
|
||||
|
||||
LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff"
|
||||
SLOT="${PV}"
|
||||
IUSE="
|
||||
+X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos
|
||||
llvm-libunwind debug custom-cflags +fontconfig +gecko gphoto2
|
||||
+gstreamer kerberos +mingw +mono netapi nls opencl +opengl osmesa
|
||||
pcap perl pulseaudio samba scanner +sdl selinux smartcard +ssl
|
||||
+truetype udev udisks +unwind usb v4l +vulkan wayland +xcomposite
|
||||
xinerama"
|
||||
REQUIRED_USE="
|
||||
X? ( truetype )
|
||||
crossdev-mingw? ( mingw )" # bug #551124 for truetype
|
||||
|
||||
# tests are non-trivial to run, can hang easily, don't play well with
|
||||
# sandbox, and several need real opengl/vulkan or network access
|
||||
RESTRICT="test"
|
||||
|
||||
# `grep WINE_CHECK_SONAME configure.ac` + if not directly linked
|
||||
WINE_DLOPEN_DEPEND="
|
||||
X? (
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrender[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||
opengl? (
|
||||
media-libs/libglvnd[X,${MULTILIB_USEDEP}]
|
||||
osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] )
|
||||
)
|
||||
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
cups? ( net-print/cups[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( media-libs/fontconfig[${MULTILIB_USEDEP}] )
|
||||
kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||
netapi? ( net-fs/samba[${MULTILIB_USEDEP}] )
|
||||
sdl? ( media-libs/libsdl2[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||
truetype? ( media-libs/freetype[${MULTILIB_USEDEP}] )
|
||||
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||
vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )"
|
||||
WINE_COMMON_DEPEND="
|
||||
${WINE_DLOPEN_DEPEND}
|
||||
X? (
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||
capi? ( net-libs/libcapi:=[${MULTILIB_USEDEP}] )
|
||||
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||
gstreamer? (
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
|
||||
scanner? ( media-gfx/sane-backends[${MULTILIB_USEDEP}] )
|
||||
smartcard? ( sys-apps/pcsc-lite[${MULTILIB_USEDEP}] )
|
||||
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||
unwind? (
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] )
|
||||
wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
app-emulation/wine-desktop-common
|
||||
dos? (
|
||||
|| (
|
||||
games-emulation/dosbox
|
||||
games-emulation/dosbox-staging
|
||||
)
|
||||
)
|
||||
gecko? ( app-emulation/wine-gecko:${WINE_GECKO}[${MULTILIB_USEDEP}] )
|
||||
gstreamer? ( media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] )
|
||||
mono? ( app-emulation/wine-mono:${WINE_MONO} )
|
||||
perl? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-LibXML
|
||||
)
|
||||
samba? ( net-fs/samba[winbind] )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )"
|
||||
DEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
sys-kernel/linux-headers
|
||||
X? ( x11-base/xorg-proto )"
|
||||
# gitapply.sh prefers git but can fallback to patch+extras
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
|| (
|
||||
dev-vcs/git
|
||||
(
|
||||
sys-apps/gawk
|
||||
sys-apps/util-linux
|
||||
)
|
||||
)
|
||||
dev-lang/perl
|
||||
sys-devel/binutils
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
mingw? ( !crossdev-mingw? (
|
||||
>=dev-util/mingw64-toolchain-10.0.0_p1-r2[${MULTILIB_USEDEP}]
|
||||
) )
|
||||
nls? ( sys-devel/gettext )
|
||||
wayland? ( dev-util/wayland-scanner )"
|
||||
IDEPEND=">=app-eselect/eselect-wine-2"
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
__clear_cache # unused on amd64+x86 (bug #900334)
|
||||
res_getservers # false positive
|
||||
)
|
||||
QA_FLAGS_IGNORED="usr/lib/.*/wine/.*-unix/odbc32.so" # has no compiled objects
|
||||
QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-7.17-noexecstack.patch
|
||||
"${FILESDIR}"/${PN}-7.20-unwind.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then
|
||||
local mingw=-w64-mingw32
|
||||
for mingw in $(usev abi_x86_64 x86_64${mingw}) $(usev abi_x86_32 i686${mingw}); do
|
||||
if ! type -P ${mingw}-gcc >/dev/null; then
|
||||
eerror "With USE=crossdev-mingw, you must prepare the MinGW toolchain"
|
||||
eerror "yourself by installing sys-devel/crossdev then running:"
|
||||
eerror
|
||||
eerror " crossdev --target ${mingw}"
|
||||
eerror
|
||||
eerror "For more information, please see: https://wiki.gentoo.org/wiki/Mingw"
|
||||
die "USE=crossdev-mingw is enabled, but ${mingw}-gcc was not found"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
EGIT_CHECKOUT_DIR=${WORKDIR}/${P}
|
||||
git-r3_src_unpack
|
||||
|
||||
EGIT_COMMIT=$(<"${EGIT_CHECKOUT_DIR}"/staging/upstream-commit) || die
|
||||
EGIT_REPO_URI=${WINE_EGIT_REPO_URI}
|
||||
EGIT_CHECKOUT_DIR=${S}
|
||||
einfo "Fetching Wine commit matching the current patchset by default (${EGIT_COMMIT})"
|
||||
git-r3_src_unpack
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local patchinstallargs=(
|
||||
--all
|
||||
--no-autoconf
|
||||
-W winemenubuilder-Desktop_Icon_Path #652176
|
||||
${MY_WINE_STAGING_CONF}
|
||||
)
|
||||
|
||||
edo "${PYTHON}" ../${P}/staging/patchinstall.py "${patchinstallargs[@]}"
|
||||
|
||||
# sanity check, bumping these has a history of oversights
|
||||
local geckomono=$(sed -En '/^#define (GECKO|MONO)_VER/{s/[^0-9.]//gp}' \
|
||||
dlls/appwiz.cpl/addons.c || die)
|
||||
if [[ ${WINE_GECKO}$'\n'${WINE_MONO} != "${geckomono}" ]]; then
|
||||
local gmfatal=
|
||||
[[ ${PV} == *9999 ]] && gmfatal=nonfatal
|
||||
${gmfatal} die -n "gecko/mono mismatch in ebuild, has: " ${geckomono} " (please file a bug)"
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
# ensure .desktop calls this variant + slot
|
||||
sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
|
||||
|
||||
# always update for patches (including user's wrt #432348)
|
||||
eautoreconf
|
||||
tools/make_requests || die # perl
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
WINE_PREFIX=/usr/lib/${P}
|
||||
WINE_DATADIR=/usr/share/${P}
|
||||
|
||||
local conf=(
|
||||
--prefix="${EPREFIX}"${WINE_PREFIX}
|
||||
--datadir="${EPREFIX}"${WINE_DATADIR}
|
||||
--includedir="${EPREFIX}"/usr/include/${P}
|
||||
--libdir="${EPREFIX}"${WINE_PREFIX}
|
||||
--mandir="${EPREFIX}"${WINE_DATADIR}/man
|
||||
$(use_enable gecko mshtml)
|
||||
$(use_enable mono mscoree)
|
||||
--disable-tests
|
||||
$(use_with X x)
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with cups)
|
||||
$(use_with fontconfig)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gstreamer)
|
||||
$(use_with kerberos gssapi)
|
||||
$(use_with kerberos krb5)
|
||||
$(use_with mingw)
|
||||
$(use_with netapi)
|
||||
$(use_with nls gettext)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
--without-oss # media-sound/oss is not packaged (OSSv4)
|
||||
$(use_with pcap)
|
||||
$(use_with pulseaudio pulse)
|
||||
$(use_with scanner sane)
|
||||
$(use_with sdl)
|
||||
$(use_with smartcard pcsclite)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with udev)
|
||||
$(use_with udisks dbus) # dbus is only used for udisks
|
||||
$(use_with unwind)
|
||||
$(use_with usb)
|
||||
$(use_with v4l v4l2)
|
||||
$(use_with vulkan)
|
||||
$(use_with wayland)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
)
|
||||
|
||||
tc-ld-force-bfd # builds with non-bfd but broken at runtime (bug #867097)
|
||||
filter-lto # build failure
|
||||
use mingw || filter-flags -fno-plt # build failure
|
||||
use custom-cflags || strip-flags # can break in obscure ways at runtime
|
||||
use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}
|
||||
|
||||
# temporary workaround for tc-ld-force-bfd not yet enforcing with mold
|
||||
# https://github.com/gentoo/gentoo/pull/28355
|
||||
[[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] &&
|
||||
append-ldflags -fuse-ld=bfd
|
||||
|
||||
# build using upstream's way (--with-wine64)
|
||||
# order matters: configure+compile 64->32, install 32->64
|
||||
local -i bits
|
||||
for bits in $(usev abi_x86_64 64) $(usev abi_x86_32 32); do
|
||||
(
|
||||
einfo "Configuring ${PN} for ${bits}bits in ${WORKDIR}/build${bits} ..."
|
||||
|
||||
mkdir ../build${bits} || die
|
||||
cd ../build${bits} || die
|
||||
|
||||
pe_arch=i386
|
||||
if (( bits == 64 )); then
|
||||
pe_arch=x86_64
|
||||
: "${CROSSCC:=${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}"
|
||||
conf+=( --enable-win64 )
|
||||
elif use amd64; then
|
||||
conf+=(
|
||||
$(usev abi_x86_64 --with-wine64=../build64)
|
||||
TARGETFLAGS=-m32 # for widl
|
||||
)
|
||||
# _setup is optional, but use over Wine's auto-detect (+#472038)
|
||||
multilib_toolchain_setup x86
|
||||
fi
|
||||
: "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}"
|
||||
|
||||
if use mingw; then
|
||||
# CROSSCC is no longer recognized by Wine, but still use for now
|
||||
# (future handling for CROSS* variables is subject to changes)
|
||||
conf+=( ac_cv_prog_${pe_arch}_CC="${CROSSCC}" )
|
||||
|
||||
# use *FLAGS for mingw, but strip unsupported
|
||||
: "${CROSSCFLAGS:=$(
|
||||
# >=wine-7.21 configure.ac no longer adds -fno-strict by mistake
|
||||
append-cflags '-fno-strict-aliasing'
|
||||
filter-flags '-fstack-protector*' #870136
|
||||
filter-flags '-mfunction-return=thunk*' #878849
|
||||
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}"
|
||||
: "${CROSSLDFLAGS:=$(
|
||||
filter-flags '-fuse-ld=*'
|
||||
CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}"
|
||||
export CROSS{C,LD}FLAGS
|
||||
fi
|
||||
|
||||
ECONF_SOURCE=${S} econf "${conf[@]}"
|
||||
)
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use abi_x86_64 && emake -C ../build64 # do first
|
||||
use abi_x86_32 && emake -C ../build32
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use abi_x86_32 && emake DESTDIR="${D}" -C ../build32 install
|
||||
use abi_x86_64 && emake DESTDIR="${D}" -C ../build64 install # do last
|
||||
|
||||
# symlink for plain 'wine' and install its man pages if 64bit-only #404331
|
||||
if use abi_x86_64 && use !abi_x86_32; then
|
||||
dosym wine64 ${WINE_PREFIX}/bin/wine
|
||||
dosym wine64-preloader ${WINE_PREFIX}/bin/wine-preloader
|
||||
local man
|
||||
for man in ../build64/loader/wine.*man; do
|
||||
: "${man##*/wine}"
|
||||
: "${_%.*}"
|
||||
insinto ${WINE_DATADIR}/man/${_:+${_#.}/}man1
|
||||
newins ${man} wine.1
|
||||
done
|
||||
fi
|
||||
|
||||
use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \
|
||||
"${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} || die
|
||||
|
||||
# create variant wrappers for eselect-wine
|
||||
local bin
|
||||
for bin in "${ED}"${WINE_PREFIX}/bin/*; do
|
||||
make_wrapper "${bin##*/}-${P#wine-}" "${bin#"${ED}"}"
|
||||
done
|
||||
|
||||
# don't let portage try to strip PE files with the wrong
|
||||
# strip executable and instead handle it here (saves ~120MB)
|
||||
if use mingw; then
|
||||
dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows
|
||||
use debug ||
|
||||
find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \
|
||||
-exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} + || die
|
||||
fi
|
||||
|
||||
dodoc ANNOUNCE AUTHORS README* documentation/README*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect wine update --if-unset || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect wine update --if-unset || die
|
||||
}
|
Binary file not shown.
@ -1,5 +1,6 @@
|
||||
AUX ibus-libpinyin-1.13.1_sqlite3.41_fix_quotes.patch 1244 BLAKE2B 79dbfb0b5803277a47c444955277fd55ccaf575cdbd5f648a0d8e389cfe5841494b5b1842132c1921578c4f70df831ab8d01dc8265d57fe595247087d6ed6d3a SHA512 be17fe4e1b92a45cd101e633079feba729330bc8324acc2aa01c5272d2d1ef730d1110a0b839411549f813970ed9fb8b41b3f74a9c0374358ab3f0fafa4e044c
|
||||
DIST ibus-libpinyin-1.13.1.tar.gz 1726900 BLAKE2B 2540b5ca6657fe421f6f2986f32fba1b8840cafcc37b3ec5402705cb0edc0aac6b12d972b5da0326339a04c875dbd8f8cce902f613558f3f9d21b4a0cace31a3 SHA512 ee3a8c95e091992acb0558ff297743eb49bd8c73fbb9cd1f2b56db75137573dda2c677b1b25eb213fbd8779be004b06f95cded04273d7a469cf49f45cc27813a
|
||||
DIST ibus-libpinyin-1.15.2.tar.gz 1728300 BLAKE2B a7699fe7f4d7360d09b8c311919630c87fcf2250929f42be2adf1b29a16e60bef2df46539e0fb75ee27700ec7262eb175e6a4d56bedeb895a6272e097a636d00 SHA512 be7525221c4a95df885d1c8c60716c32ad0cfa0a13ca5f9034d06efebf18ab1c207383b30c017da28c1078724b4d9943fc82def68c94bb4e2a0a1e6273c7ad7f
|
||||
EBUILD ibus-libpinyin-1.13.1-r1.ebuild 1515 BLAKE2B 6c38fd0ba68aef1d9bfcb006d66c38df4b75313b1743ed8168caa90cace3b5f4caeca479ecdc67a8580880b3f2d92f8534e89ec5d33994c891f89f0df0edffaf SHA512 d5c33143e57b6ade1341b79d4720e2991c16c7bfb439382b3928b8ed983942a68b26c2088b5f983e4cc3522a4daa68b5955f59a0e6fce05e9d08f18faec71ebb
|
||||
EBUILD ibus-libpinyin-1.13.1.ebuild 1454 BLAKE2B 0c639322d06f32c51b3c8432016ec9c7fd4191eb5ac4b45253e47b94cec659cf1fc6fe1c548b4f065e2f12d864a8d26b0c392540f76d61d02af5424fac3136ae SHA512 81a2d5dc8f41331339a59d0780f91b1a0f2a21181d342ff5db6be7816ccd5c6543b720ad7cd8f80ab077d1dd13a2b4462d37a71ac61394b1ddbf679a88abdbbc
|
||||
EBUILD ibus-libpinyin-1.15.2.ebuild 1456 BLAKE2B d667a47e5460c3302300c3b7c33cdd751596e76308e5313900ee2c14e913df06259b8cdb9d58c8fba614d91478f0fbae7e862e83a07ff47e8ea8fd7353088b6e SHA512 52ac72f7b497c3348967006b33f353f05a4e0198046ce030d566c577bd74c68d373827803fcc76fde24b62f18a8462de1d29fbdc99d414c8f7607d2a4e2f95fa
|
||||
MISC metadata.xml 834 BLAKE2B ac644e5ceced4364c282f0766cfc5d85dfc14fc19fff46e96dee2aa8ff48c1c5d84dd496e3f83951983f311cbab0ea84652fab3e3a87e870dab999cf46821452 SHA512 dd1629baeddeb1ee4ab1670a4e29af865a75e40b7c6b58e9029af5900d5de9bfb98f71ccaf7eae508f0849ac85f4530d8770cc392d9bb8c31a881f8154ac5761
|
||||
|
@ -1,5 +1,7 @@
|
||||
DIST libpinyin-2.6.2.tar.gz 260101 BLAKE2B 7ba61c5bfe68991866112bbb63383bd7062164f92d63150b42c30f39d383f62a339a13eafa1596d1988d8e308c93ccc0f45cceeb557ce329788da507eed3e2ab SHA512 839907bed9bc796185fbe7d7b30ab84bc9bd45212797c75081475791aa62ad3465509ecc5fabe6ea27d02be9d2ca61764a472684b011b0c211bd5f4f26a0f9ca
|
||||
DIST libpinyin-2.8.1.tar.gz 264751 BLAKE2B a05236513ebb39ec309a045f76582fd872db3b1a5a539fce1eec7e18cecb75b2a6228d0685d4a3069fea9855c52e1ede7d735645a2f61bd567401ea32685e6cb SHA512 b9b4f183ab8351bbbb0d9582a65d62b22c049261d21098df8ee3bf9f78b6b67e511221d4590692c137d20a334db5eaee12586a83b2d317c75be196107b28595f
|
||||
DIST libpinyin-model19.text.tar.gz 20279012 BLAKE2B d8721d106235ef6fb99ad8dd4f4911bb23bf66f0259b01c39fd8ee829f0a63f326894802d62e51531a10f453dff1f4bb6e3e1648cf4aeac8213dccd10fc8ca4d SHA512 93c70423ba14faa3402bce775f82769dd4ee3a49083beddc540825f88facbd847328e9d01d99473adb7cf26de0f853e2b2e14fe849b1c49531134d1ca4ed2ef2
|
||||
EBUILD libpinyin-2.6.2.ebuild 1401 BLAKE2B f33b7c29cb746ce02099aec945dbc25dc1aea5c21d80019c09d91b10d2875d5904a24249bd4ad64f9fd1a2a2e3a9591f4908672c0993dde64d17d3460f710425 SHA512 7ac8c8b4eceece7f4e0b65cef9d130126cef0b9908081110184b638ad2eab3a6bc50737740e09950dcc556a4e98364e389c37ec6346ee8eb4cd6680cd29a29fa
|
||||
EBUILD libpinyin-9999.ebuild 1371 BLAKE2B 387ed25199ff3c1d8e38ac48a270266e238b40caeb67a54517ba4106b031874efe9fd1775d1b0fc82eb8ba3bc4af773e41d0ffaed51d1082aa530ebb775d57aa SHA512 7d9a872d32124a3541643a04ecaff43d5a6215dce70aadf95f3e5d775dcb690be73ae2bda40baf17c75b2c9097ecc546206847234b4061ddb4f2595f5e4e60ef
|
||||
EBUILD libpinyin-2.8.1.ebuild 1405 BLAKE2B d7218ffa7543c309c98499327ea04f39b5594ce6c1d202bbb33fe4995b4cc025acb16503fd1b3c272402f57fe2149bcd89b231347eb611c1a6e0be3c49898cfc SHA512 fb471002d8b06bb8bbc025c26358be71cbcca9c9e9e0d3b964d17fa1bfbec04de13e8dc992ddbc340de126e6cf11aa053bfe780dbec840005055b2130a9fb2a1
|
||||
EBUILD libpinyin-9999.ebuild 1368 BLAKE2B 2d567f5ea88257aea77013dc17245fdbded267b75e87d8e6ce772d2301e69df0bf236719d748753c1ba676afb3011134e762fcdcb63e67bd598744e93c066a1a SHA512 3e78120c44adf4d240b1b61e02fa8a52e2e09c247e7db2cdeaa90c262ddb27646f7bf2d9d46f4c4235a7d001c8498a947dc1e176c22add3867aa1c0c9d13ace2
|
||||
MISC metadata.xml 521 BLAKE2B 829486b393163e4b4ac78807b37a57199f3fd07e94db186ba5a067b8a641412d8d83b95c56a4e0a56295b3c74f10277f1f4aa1a8be908596cb1252e13123341e SHA512 d93c02e8293534ca8a627e0504e5a0d69bd0c4b45b9395331183a35f4f4c81b267b80eb10d0c81a64628277e4770002e61c27e28c50fe84a6c390c473b73f41e
|
||||
|
@ -0,0 +1,61 @@
|
||||
# Copyright 2012-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/libpinyin/libpinyin"
|
||||
fi
|
||||
|
||||
LIBPINYIN_MODEL_VERSION="19"
|
||||
|
||||
DESCRIPTION="Libraries for handling of Hanyu Pinyin and Zhuyin Fuhao"
|
||||
HOMEPAGE="https://github.com/libpinyin/libpinyin https://sourceforge.net/projects/libpinyin/"
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://github.com/libpinyin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
SRC_URI+=" mirror://sourceforge/${PN}/models/model${LIBPINYIN_MODEL_VERSION}.text.tar.gz -> ${PN}-model${LIBPINYIN_MODEL_VERSION}.text.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0/13"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE=""
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
DEPEND="dev-libs/glib:2
|
||||
sys-libs/db:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
unpack ${P}.tar.gz
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e "/^\twget .*\/model${LIBPINYIN_MODEL_VERSION}\.text\.tar\.gz$/d" -i data/Makefile.am || die
|
||||
ln -s "${DISTDIR}/${PN}-model${LIBPINYIN_MODEL_VERSION}.text.tar.gz" "data/model${LIBPINYIN_MODEL_VERSION}.text.tar.gz" || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-libzhuyin \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${D}" -name "*.la" -delete || die
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST datovka-4.20.0.tar.xz 2992736 BLAKE2B ec963a1099f3aabc83c78a86d843aafa98e6f55bc970c5a973b81b7c9f67f092213e2a4fe50e527315301cc52785b7dd730927cf4e745debeb68d53851776e14 SHA512 67d805d08df839d3dd1300b48a51e65578b4de7ba556560b768189b44ef3ea02ceb9359503928b3a735c54776947669c04e64f01944942586a0036703a1ec09d
|
||||
DIST datovka-4.21.0.tar.xz 3119488 BLAKE2B 61baa13db4452398df2004aa650d309b2b67403b5b770a02b969f635e680d4ba2fe9f3920f8ba59520130440a9132fca4e5cd731e35ac73e30deecdb4422b986 SHA512 86254c8cbf093aa1c908d4aeec94390a71841b5818e3db879024b70f76b7d59b8dab8bb635b3448c9507ede2cb2c5e3ea5c829798b128572731d9a4cec28fb18
|
||||
EBUILD datovka-4.20.0-r1.ebuild 1151 BLAKE2B 80767579124707c2f2fbc3b9d91d644fe7d7065ab2b8829f14418a13c5eb45461a4bfde5e12ca9f965f3ae4b5fb4c6ce0e3a4670a67af790f01fa0a08311d4a5 SHA512 d3be3bab8e7f718d7ea8d472e8e5c074bfb6c697d595445cdb9395fc92169b458526a42a10e3d942ffd8d4eb21c43d8b1f4bae8aad1a9d98d0d73886b4cccffa
|
||||
DIST datovka-4.22.0.tar.xz 3132780 BLAKE2B 6aa94a4ae37fe4ff12738902c3f721058ce2bb86946f7150cbdda1b9b38b4e14ae43a10252e9d10784a1549c2ab508291e7323635da0aa8b1d7d5d2338946ff3 SHA512 43ea3eb7b1f06596f7babedaaff3a7950f6e893b71cdcb8482fb5a7c11861369e080ca2058c39c0ca362c8917ae90e4058f614958057e87039b186b3ba5d5863
|
||||
EBUILD datovka-4.21.0.ebuild 1228 BLAKE2B 0bc462d589d4e5d4da7ba2a407efabef9c37cda1bea70383ad52d421c7fcd5a823640482bd2983152e9a52948159faba4d3a541d3508de1298255a396aa85f67 SHA512 f007a9d9e8efbccb37bd2d4d7fd1ebcfd0008cf4f6ce42a7c971f9449283cde50066f34bb5cc194f097ddbd34dbc93c41861e3c49c8512bcc37bd866059abed2
|
||||
EBUILD datovka-4.22.0.ebuild 1203 BLAKE2B 3e3829c4dc118732b291e30122ffed6ae124f7a6eed2dea568204ad7d1f78f941852b91b0cb551afe4dc315a0948f85486daf2487c9436aa812e9d92a5073e7a SHA512 4d04e62991ddb27ceed4dda45b86236eb9503e11b662c35b80c4c398ec9619a4ff3f346a867872e63d212759a4dbcea931e173c427d46432394f4b85d97dfe6e
|
||||
MISC metadata.xml 446 BLAKE2B 44b5b1a612879e7159269411acbcbbe6993c0d80bf765d3eed6aeccccae8c1cbccf7223c4073f0a7d57a09605fff0e5c11ba0673f99ce5aa14aeecd4c2e66450 SHA512 012ad05c78078e2f6f055526971d080b370dcbf90d9ce1a3eec90336c8dbedd5140d8a96af67829c22d4fddd9c7e522701d12d99724e13fabb102573464e034e
|
||||
|
@ -1,7 +1,5 @@
|
||||
DIST libdatovka-0.1.2.tar.xz 672348 BLAKE2B 34fd0e3651fd468c96c99d261b199cb25b5d6ac46ae19f96b29c62037acdd7a0a053a5098f317da2dc31b27df7879839163dfe1a109877ed61880723b429a626 SHA512 2c9bf9f7a2166582d8757b1811031cc3501872baad1ec901799253036bbf5e33a059cd3310e6798e4e248b41c92f4775ab3fad90a97648eee5afece8203bc827
|
||||
DIST libdatovka-0.2.0.tar.xz 677232 BLAKE2B f5545d28095d5c32a389293a5ef3e8e22f475ffcf3268ecb210271ab857b813aa1e710f853b6ded9b5b1dc60c57ff9c10e1b28b132f516f31921b213d16f496f SHA512 3e321afa4a64edcdc3bb112ceebcb6736efad547aa6c033af767e40dc962114a8b4c9ccec8e9fb5cce82a6c5f3e251012f1db355d4b4b9e5e519ab8466b884e0
|
||||
DIST libdatovka-0.2.1.tar.xz 683476 BLAKE2B f50c3da050e37e29d8a2bbedd8c5c15bb9317b6edf299a2e5d5b7b87e91c2489296f70bdbc8072ff318ba0082bb050a26d6d8f9161de4e5202df25d6eb3930ad SHA512 18fdc08392e2b96b1895f528e827dcaddb81089b7f08b70110b1fb3ce7e7961ca9851f33de4565ef7363da9659977127abf2508a2d83d44a693f8c5f3090f878
|
||||
EBUILD libdatovka-0.1.2-r1.ebuild 1161 BLAKE2B 5b20b5d7138ae68edf53bfbb12af83a9b95e82ac28c37022c46d992192e391b84f2c876709a087bd21478356e62cfdd56b8686e1533c0eeced48955e1845d57a SHA512 a59639786d06cc18bd8257cdfd9d7aecc9ca869134a899fdd8520108047508fe634106b11b3aeb871cdc6f1e9f086429cc32336c678294badfd0e82b4b9bdb46
|
||||
EBUILD libdatovka-0.2.0-r1.ebuild 1161 BLAKE2B 5b20b5d7138ae68edf53bfbb12af83a9b95e82ac28c37022c46d992192e391b84f2c876709a087bd21478356e62cfdd56b8686e1533c0eeced48955e1845d57a SHA512 a59639786d06cc18bd8257cdfd9d7aecc9ca869134a899fdd8520108047508fe634106b11b3aeb871cdc6f1e9f086429cc32336c678294badfd0e82b4b9bdb46
|
||||
DIST libdatovka-0.3.0.tar.xz 689000 BLAKE2B 6e3e8dcbc20a3ce181766e572727104c09584078411f07b627a0b0789328f6000a5b780ea1fbd4eb16d6f6b149351c732385f3e27adb31af7999dd74b183635d SHA512 4d82905c0a0d07251bec267cfc52319de3b3bfac537b98832059360174f4ab228d791df88a7d16bcd041343dcf5dfd00fd759881eae212a033ec47c3c9684fa0
|
||||
EBUILD libdatovka-0.2.1.ebuild 1161 BLAKE2B 5b20b5d7138ae68edf53bfbb12af83a9b95e82ac28c37022c46d992192e391b84f2c876709a087bd21478356e62cfdd56b8686e1533c0eeced48955e1845d57a SHA512 a59639786d06cc18bd8257cdfd9d7aecc9ca869134a899fdd8520108047508fe634106b11b3aeb871cdc6f1e9f086429cc32336c678294badfd0e82b4b9bdb46
|
||||
EBUILD libdatovka-0.3.0.ebuild 1161 BLAKE2B 22149c411ec5a6780a20a144c61a63d631b05bfac82d11ba1fd9350fdccebf3ed9101763e199a72eed16025b675ff7f426762e31c7bdc7cd78ab356a25f04e34 SHA512 ed34e10bf79bcf32540af38d98b5973bc9a3f0944af028bf4c3aba13948c5ac1b7e366a221636e75abce211d4e1e3bb410480478156d2915df51796edd7bc350
|
||||
MISC metadata.xml 283 BLAKE2B e0f9c46128c92324ac7754a52fdc84b315d8bf7ed78a0205dc9ffafc274894bcf1282177b247fbc6e674fe48209c0998924ff4af13eb056c1e5fab0f72561319 SHA512 e9b567c2eb410bdc39bdbf57b1eb8632938884468a7e3f267c5c28f994ff275e31558ffdd6fd2166f8c7e9abf518750d7b44b203f3b8c652764e6d95eab0544e
|
||||
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Client library for accessing ISDS SOAP services"
|
||||
HOMEPAGE="https://www.datovka.cz/cs/pages/libdatovka.html"
|
||||
SRC_URI="https://secure.nic.cz/files/datove_schranky/${PN}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="+curl debug doc nls openssl test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/expat
|
||||
dev-libs/libxml2
|
||||
curl? ( net-misc/curl[ssl] )
|
||||
doc? (
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
)
|
||||
openssl? ( dev-libs/openssl:= )
|
||||
!openssl? (
|
||||
app-crypt/gnupg
|
||||
app-crypt/gpgme:=
|
||||
dev-libs/libgcrypt:=
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( net-libs/gnutls )"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-fatalwarnings
|
||||
--disable-static
|
||||
$(use_with curl libcurl)
|
||||
$(use_enable curl curlreauthorizationbug)
|
||||
$(use_enable doc)
|
||||
$(use_enable debug)
|
||||
$(use_enable nls)
|
||||
$(use_enable openssl openssl-backend)
|
||||
$(use_enable test)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
Binary file not shown.
@ -1,21 +1,31 @@
|
||||
DIST amd64-debug-libreoffice-7.4.6.2-r1.tar.xz 1537083264 BLAKE2B 96a3ec7dc44b1952e7b197bbc02a74547d9dd77d364d450c9e9115db0e800147430b9cd09a8e8249f7b253aaf2becd36f34a5cc947b7e382f5145098f534950f SHA512 06494eecb543b657111e0f1d8253ef50e0cc5afc7bce354424bd375cd8f2cb46fe9a71c28632740f52b54380a1e3c24baddeff977c35832504e3bdf223f7814c
|
||||
DIST amd64-debug-libreoffice-7.4.6.2.tar.xz 1539083164 BLAKE2B 9fbfb50c2fdd26b4d8d70119ab015c54fe271df01c98ae1a880edae3a1fcc6f4fdbe09203afe612bbbc038d256f15ee791e9c566a75bece143f3d994077d24e8 SHA512 3e1f63890c5bd7b8aba20f0b16c7da8fdf3cde46c187b790f88f1fde979855b750432383fe0e7e26c3bbca0d6e7d7758c89c5f9f7e3f0ff07ce23941d2052b67
|
||||
DIST amd64-debug-libreoffice-7.5.3.2.tar.xz 1438237360 BLAKE2B 928b352b148a796bd7dbd20800e33da79190bb9c70201c3fb40b1d2886695d32af8bed55889b5f3680f478029cd86b83b0fc74c167e691e10a445c1a7abe89af SHA512 41363fbe153968c643071e2d6330b5b18b42f5c8d163a3a31180250b5626bccecacff4db60c9c260e441c0e70f4b3629a6686579f830b05199a53042f5757c39
|
||||
DIST amd64-debug-libreoffice-gnome-7.4.6.2-r1.xd3 1435537 BLAKE2B 5309bd30fd7208cf1ab02033208fc6b6bd7ad2b2932c68a46e7d62176d79bc78ac05fbba4eff65fdca53535f4eb0c46ac5c73931d3e7f8d0f8fea0f6ca6649f6 SHA512 53da17002c28865acaed3a54cce75f3f52c40f88fefc66e09b54d4809011515db1bc0ba42a9aba8dd3677a6069da219862e79873c0ac8b5be3420040662ae56d
|
||||
DIST amd64-debug-libreoffice-gnome-7.4.6.2.xd3 1439342 BLAKE2B 19fa4ac46d2c59eb15ff434b3f33263c68889dd26009d7ea67ff574a68fea5a4d8226cff457926fecf907162b10e913c5e572b4994642acebd8b7d5cea839829 SHA512 20cca2d38b78eb9c5edc50c27760751c0f56bd831c0bb5b46095c16b0e46bee4998705384cf924aed72a648305934dc5078515f286e9ad5a189f5112cf28f7c5
|
||||
DIST amd64-debug-libreoffice-gnome-7.5.3.2.xd3 292160961 BLAKE2B bd2575ec62967c0b330d43c3ade71236c255bc54c0d89855e7c4c48974b8c0c04cecd4afd7468b9583e823414dcfb46df8734a3dfe3a56d9235bb25e4f5f7f2b SHA512 d066cab66d722828ff8135bc2d53a575fa3485c3227373ec890103eba237d95c296a77dda27e62a480cf6aaf88d0aa7df600dc256852c711a9fd9d99a4c14f8c
|
||||
DIST amd64-debug-libreoffice-gnome-java-7.4.6.2-r1.xd3 789863525 BLAKE2B 47e487a0df97005f38a4198de7cc64831c8514278865062427bd7c124a6d69b014e85d61b94d7db6dcffe9d3a3d56c0d6b81a88f685aace8a8c30ee3f1da1548 SHA512 5dc565e560755f3b02639bf202344327e52c997a777c0fd86ae2fb7557c8193af85b61e944f06418cdf98dac2ce732764826386dd21ce44cf129464521b64a03
|
||||
DIST amd64-debug-libreoffice-gnome-java-7.4.6.2.xd3 789537145 BLAKE2B 5821ac0aac4de9cf21702c36fdea1421ca22ef2a0357af152850344e63cfc687774c88b4b45e4bcd100d9148e4c72619f7b9dae6d2ff048f4bf48de8a53923d2 SHA512 fba03563aa0d297120b2b6a930dd45431e0b7c6a1ef0f1b31d57ae030136aa251c119660612b49525cac1064650bb2e61166c8cc65a4ce1dc0e0309884dcea19
|
||||
DIST amd64-debug-libreoffice-gnome-java-7.5.3.2.xd3 744201123 BLAKE2B b401019add0b903e4883665e080396f1b9815f5eb17dfbe6fb4194a2602ed23470feda86ec4d7fd6289378c0f77f3578dbd73eba58215ce281f422483e4fcc22 SHA512 f4e427fedbd62b8a73cd8c6f3298ad65078b59dcf00dc3327b04f3085d615071246e242f99999b424133a4ed3fdbd72d9c9706bfe7af8f55aa3585977891f0c1
|
||||
DIST amd64-debug-libreoffice-java-7.4.6.2-r1.xd3 788420818 BLAKE2B 6445598a1a793508e1630bdf0c25aefb10a05fed786806d5d56ea94a60cb572ae45ba9b79e8545c2414d2e0ab697e2a87e7cc272fb35631a1432f394616514b5 SHA512 30f602db799369bfbfc5bf7af570b74dd317add1aeee82888ad21626d96e73f51559bd3362619e9df513b4c31009e7d03111a265c55e2c47aeb0cc8a61a0a2e2
|
||||
DIST amd64-debug-libreoffice-java-7.4.6.2.xd3 788080379 BLAKE2B 4e4524eb5040fff153b6b961572eb8e3f82b107fc176bb974eb680a0d640d939f63c37a96460c22b7650d5c7307148cf54472434cee0f4a77feef0042cf6982d SHA512 63e146988c4ed6744e97a6f9b1dae7e8b977f341089dbb6f4a4ca30b4bb5ca0e0adc8e3a6a0d2eb1cf62818dcd3e1e6f79f956889b6d79472a5cb5226a576e2e
|
||||
DIST amd64-debug-libreoffice-java-7.5.3.2.xd3 742863493 BLAKE2B 992ce90e57ba7adfc551fda26b7ef43dbcea4969fbb7ba8372f1ad96956b0dab8795968c552e8248f52fd650e824dbe34989cf8122a2171ed0e4a997c0ba9d9b SHA512 5e39ad81360bf064de743e99cdecbd1ec004707f7ef423a46eb129fd0cde90bcfd42dbdcd6d2e7f20ac9a910783331a21a6baee7d76db51f7393a1f39cf2ba5d
|
||||
DIST amd64-debug-libreoffice-kde-7.4.6.2-r1.xd3 483468319 BLAKE2B 7a31392728c48fc8882b9fed70d667b9c575b4bd01ba6b6c66341631007d31cda817ebfba5b97567cc81ef8bb8c9c9b69334176a8fdbc35848d9658ed9d5d04d SHA512 35b32de8f2450ba13e4c64a081a8f6b65a56c66b1e0920c4f9da1bfddc701773f71ec35711e240d8170f9d9a053c2244aad785c4c89625a7c1f99bd81af03896
|
||||
DIST amd64-debug-libreoffice-kde-7.4.6.2.xd3 484349149 BLAKE2B 3e72807deaf6d4fff8c43f14a78ae3ce10f6da0a3b13c1784c1f8c2890bf0378f0c943ba507c1244970a4f21ecb5af3a7c241ed94807f01074123206daf73b4e SHA512 45dc37ae22ce619bd8bafd7013f16f2194479c0cb1e2404f9a0a8404f00ea82aa50ee87c46eebb104296d152a55f6c58c4938553094c4df41904c81819037c23
|
||||
DIST amd64-debug-libreoffice-kde-7.5.3.2.xd3 436624127 BLAKE2B e3c8f7ed73d674896fa0e1ea1d9ba3e718ea0da9460ad2367b5dfdd85d1fd409cf97d0de56f3260310623c536ccd317856b0357bc614c97d26aa2ce99b2f40da SHA512 36417733de834ba50560bf0295720ad7a2835772a2900649231c885a7148d7bf468feb02f1eca073c65cc278c80433de9f2e96cbcd239d683b7a0990de7865f5
|
||||
DIST amd64-debug-libreoffice-kde-java-7.4.6.2-r1.xd3 797248933 BLAKE2B 6066055a6a12eb747df6ad005eea649407c46383027c207962c50fc6eff4de8252e56c915c5b985aae885e0ee39e41c257a803943fe9166410be01eced769233 SHA512 85b5446707bf95384654ccbcc4d7cee41c5816cbe81c8117349df407ea13b3551e2cb1bab1368df2ee0f6eba3e5342fb30a4ad2d5d169842b82d00fe23752f53
|
||||
DIST amd64-debug-libreoffice-kde-java-7.4.6.2.xd3 797166654 BLAKE2B 10e7e1dcde798a804128fa9f5fb240029a3199f60a03a8f2429b389cab0bda99d6d6393a96e6da117a4f7d84e6bdb5f191752643a8c74f367cb39c15829c4c3e SHA512 b4202f14390906761fb421aeacef586194018a119d5838ccdfe6287cce2c72fb71ab82029c99ab3804b3a8104d3d893317588b48f200efd32110e7695bbc088e
|
||||
DIST amd64-debug-libreoffice-kde-java-7.5.3.2.xd3 747089491 BLAKE2B 7569d67c9796473c4822bd185aa52c3124d47c70f94da886ebc9c2aa673f465dddea4028b4ef491a69317beeea646abbfbb7ef942c044d4a7e4a1e3abad693e4 SHA512 6d63c11d3a7a458e8fbbbdcb4c78f9cf1fa69c032f47a958935bd0d2a6b9b6aac993983d77b0f0296356a448151f443bea8d8abdff64fd52b645887fe01f08fe
|
||||
DIST x86-debug-libreoffice-7.4.6.2-r1.tar.xz 8033940 BLAKE2B e49ce9b13a7880614edda845b623b0e111a077ab70ad2fa1800a5d152409e0a71304526b31adc026376b820216a0288a912e58540aa90875df25574a27a7bf9b SHA512 7eef12e5ac215ce4ff85f1176275e1ba11cf9f3d60fdca1e70ee70400436f54f8e609bcb8e05570e92e7070aafab2ffdc2da417c5ecb721bf8f89ec9a88a154b
|
||||
DIST x86-debug-libreoffice-7.4.6.2.tar.xz 8035536 BLAKE2B 972bdd33fa6ba802e2e682c63285a0219a1a65619c9e311a1df210c8162fd57f60897fa2ed9f09dbb507d8fa3860792d63196b5192100ff77b7d7326a2288a23 SHA512 9c61a9d29e77cffe5c438db86ba38423e46a719fa6842e05ec94344606a408177cc8df5bd633fd744188570acf57210ff57efdbbf5e23aa7b7ae228edc1a4b48
|
||||
DIST x86-debug-libreoffice-7.5.3.2.tar.xz 8094076 BLAKE2B 46a9a808cdbb58c95a5543c709b2891cd533c8900d63e06940583372c6cad415266bc319a590312b333f58f9aa2f4f1c8b3677cbd7a3215e81500adad6d21ebe SHA512 8b08e39535b4bb5a4aff35bb7e508192908907d7cbc9ce2712e0de4e3982643f0c22c2cd117046a5fa408b667e90d2889b47cac2e825a977aec966447fbe41da
|
||||
DIST x86-debug-libreoffice-gnome-7.4.6.2-r1.xd3 39137 BLAKE2B f0b80b64f07664ab47d3ee638344e9f62aa9ddc8e6e11fbbc5de61f00837ad7b008f407e093979b2dfb86f4eea30134fa289a3e19199c401d1bfdd7539dcde7f SHA512 bf53d16e504e97cf614e6e75d2eda320d77db80139fcc9b26df833af68051edeaf2771f25c1a339340d10a9954fabd71ee47c1c151da8eebc88c05e2466d0bb0
|
||||
DIST x86-debug-libreoffice-gnome-7.4.6.2.xd3 39249 BLAKE2B 346be25f8c1476829cb59408b4e8768540979c53b72549b8a7a08e1484aecc9397b15fc6777f313be4d168747ffc36effb940a6b787595e8b98506a25fe014b7 SHA512 360549e6220b7165a0999a61f0213c94ecb09d08fa8a09bc2705b87dcf6d5626d927bee9aeec5748f1c0db0c1fed166453d28b0d86678425855a599841e21c83
|
||||
DIST x86-debug-libreoffice-gnome-7.5.3.2.xd3 39572 BLAKE2B 674527dff6fe98c3d9ddecb62d41aba70ddd9013929f41fb7bbf50d1a846938e02b766b97532fddec8d8cc7cd05cd81af308f3ff29483dd7a384c08700fd228d SHA512 0791892e25c217a6ea6a89ecc66205605c228e142b2ee1dceb70b61a4177a7a23c327165b8bec9a0627c412f6436206c2ba0856df0edae0cd59aae6d9288694f
|
||||
DIST x86-debug-libreoffice-kde-7.4.6.2-r1.xd3 2737886 BLAKE2B cceb6db83e86b8e8fe59b36f852b9b95cdbfb37e9c9528b2b7bf4ab4e6824fdb8da2d4e8b8b23eff1464f7dc1ec829bc43853be8d729863e35fb752223fb97d7 SHA512 50a8669fb1c39fea343e6f9827a027371ae123d1c20767113e334c242d88b5abb31824cffcd836341e17249a15645a1d2507e739b38bcebdf38ef2c3e8836458
|
||||
DIST x86-debug-libreoffice-kde-7.4.6.2.xd3 2738141 BLAKE2B 9e872a15d8f9f387ee91e74d7acea7bbe0e04a109795c4fff87572d1c6e6f9845b78a406075bc7ccd90f364922d1e068ac6addbd8f5d7a6b73295593a265c4c8 SHA512 9f780682182b21b0e321dfc168cc7b6f6a41ccc0e669d703295c68811569774e8a923a53dc554ee2a3c0931f3653fc1b9036ea768f6d83b5046efac647590534
|
||||
DIST x86-debug-libreoffice-kde-7.5.3.2.xd3 2757424 BLAKE2B bf17f632bbd5d142ff3ca8dce14bab0775c016dc0d8803735162ac88e71d7ade8013ba7d9f0762a77c2fa0e8110aa10039d8b364e1faf7ff04cb41b47e164223 SHA512 015e224bcf27a7ea7e4493bbfa4bd3cce7756fd85ebe7bb91c73a5ca162701d6c331460ecb88a1ff3523568f3e608af9cac2acba8125e39ba7eff43b9556e89c
|
||||
EBUILD libreoffice-bin-debug-7.4.6.2-r1.ebuild 2536 BLAKE2B 4968d66bb8a4ad759c964896992ae58d89058c3c318aba1562ee1b4991ae9ea5a98fc12361e6201d2b0d8a8bbc708944a7115d49222618529e9865536bf112d5 SHA512 a9e7d0bc18d0856af77b97e42b8f40a36d6cf54697c1d6cf4f31f0465c852365faa745d40aa5215577a1861979d37fb4a770e91a6c5e4ab0f6ad5b3b8bc01b50
|
||||
EBUILD libreoffice-bin-debug-7.4.6.2.ebuild 2536 BLAKE2B 4968d66bb8a4ad759c964896992ae58d89058c3c318aba1562ee1b4991ae9ea5a98fc12361e6201d2b0d8a8bbc708944a7115d49222618529e9865536bf112d5 SHA512 a9e7d0bc18d0856af77b97e42b8f40a36d6cf54697c1d6cf4f31f0465c852365faa745d40aa5215577a1861979d37fb4a770e91a6c5e4ab0f6ad5b3b8bc01b50
|
||||
EBUILD libreoffice-bin-debug-7.5.3.2.ebuild 2538 BLAKE2B 6a0441250755a90e493461cb4ccc99ce4e2a5c0e0ccf74ff9e6ecc10e00b3b01c8a0b59c25ff0a2273139fffbb7efaa6376fb6a7f9f9eed7ac899bc6b951c3b1 SHA512 2c46d13509111ec32c2964b46fdc010d5cb827547e54424db4c34fe798bc0992e4ecc4dc49fc7b65e874c593c21077586e8c4e898b32fc7f06dacbefbf06e42f
|
||||
MISC metadata.xml 482 BLAKE2B 94bf0468867227f0b085d6ca86359e9ae852fb874ed95ffa6d9926cfcdc7173d5db4dfe1a0ed86daec746a4f867d42534465bb03402c5bd4d9ac6bb8101932d7 SHA512 d4f6a8f90659676fa509690059e462c1755e22792efeff0a571d8f04f9f167cbed22d5ce34928a4afbf2fc01bf7ea2b5e8f1a70d4a652a3df9153ed0ccbe1905
|
||||
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
BASE_PACKAGENAME="debug"
|
||||
BASE_AMD64_URI="https://tamiko.43-1.org/distfiles/amd64-${BASE_PACKAGENAME}-"
|
||||
BASE_X86_URI="https://tamiko.43-1.org/distfiles/x86-${BASE_PACKAGENAME}-"
|
||||
|
||||
DESCRIPTION="LibreOffice, a full office productivity suite. Binary package, debug info"
|
||||
HOMEPAGE="https://www.libreoffice.org"
|
||||
SRC_URI_AMD64="
|
||||
${BASE_AMD64_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-kde-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PVR}.xd3 )
|
||||
)
|
||||
gnome? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PVR}.xd3 )
|
||||
)
|
||||
!kde? ( !gnome? (
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-java-${PVR}.xd3 )
|
||||
) )
|
||||
"
|
||||
SRC_URI_X86="
|
||||
${BASE_X86_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
${BASE_X86_URI}libreoffice-kde-${PVR}.xd3
|
||||
)
|
||||
gnome? (
|
||||
${BASE_X86_URI}libreoffice-gnome-${PVR}.xd3
|
||||
)
|
||||
"
|
||||
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_URI_AMD64} )
|
||||
x86? ( ${SRC_URI_X86} )
|
||||
"
|
||||
|
||||
IUSE="gnome java kde"
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
|
||||
# the = is correct, the debug info needs to fit the exact binary
|
||||
RDEPEND="=app-office/${PN/-debug}-${PVR}[gnome=,java=,kde=]"
|
||||
|
||||
DEPEND="dev-util/xdelta:3"
|
||||
|
||||
RESTRICT="test strip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PREBUILT="/usr/*"
|
||||
|
||||
src_unpack() {
|
||||
einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz"
|
||||
xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
|
||||
use x86 && use java && die "There is no build for x86 with Java support."
|
||||
|
||||
local patchname
|
||||
use kde && patchname="-kde"
|
||||
use gnome && patchname="-gnome"
|
||||
use java && patchname="${patchname}-java"
|
||||
|
||||
if [[ -n "${patchname}" ]]; then
|
||||
einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3"
|
||||
xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die
|
||||
mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
fi
|
||||
|
||||
einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodir /usr
|
||||
cp -aR "${S}"/usr/* "${ED}"/usr/ || die
|
||||
}
|
@ -1,22 +1,32 @@
|
||||
AUX 50-libreoffice-bin 158 BLAKE2B 2091698f80fbe097785c60b20f636150a2ee65bf52639fa1bb4a92341d050146040ad8912c5f5e3ca22e48ac3d819053c9948e256fb1d0e0901f7645934bfb89 SHA512 2d1158f48ac80f9212578d020e5659e777ff494adc3abc94438cec6890b88741f92ea2ed3bb4585ffdabe531d55c6938ca9408e9ece5a438e67d480eb406ed50
|
||||
DIST amd64-bin-libreoffice-7.4.6.2-r1.tar.xz 146899000 BLAKE2B 8ba568744ffc0cac43b32c5f2ab7eb702a995eab091e407dba1641c202f481451adcc20f51c19c5e85bd8e2aec7517404bca4c732a93bdaf716c759aad6e4d73 SHA512 0eb87b4f47fbda8848e943153bf1025ff8b723902615f6de9da57c427c4d0e3cb107094dc228495c7eaf833bec2b0dbb3eea50371ed5212136728613f2b0c65a
|
||||
DIST amd64-bin-libreoffice-7.4.6.2.tar.xz 146854072 BLAKE2B 29e89876ed6cd6b76c25163b934dd5a647c5314dc9a4968111e91afa75bf7551ec078334af8529d209287def46a2dea9e4e7704f7a71aa9a0288ce9265ae95ca SHA512 3089455406af2d5f6ed7a1e716a741ce0920c3475ce9b0161c0492eb4c19c9fa03c798a0ce6cda7a61bc653ee2fa324c3930551994b884de628fe45513ad717c
|
||||
DIST amd64-bin-libreoffice-7.5.3.2.tar.xz 148541304 BLAKE2B 8bddc855788229cc2f986b1bdeda1c3e1feb2233d1778b382dd839fee5b0c5e1d7f7dbf70927fe4e5a5e45aef480c9563f6bb41304708f9bb7ba31f2e61bbdf3 SHA512 719e09dc8ab3775152c3d80ae820d189a538769869795308875b3961f4ed70db496498a006364f222e6273e642ac57614e085f9a886cea485a35dbff78c824ed
|
||||
DIST amd64-bin-libreoffice-gnome-7.4.6.2-r1.xd3 1533312 BLAKE2B 0e6753977b39de0e3bed8907e55a86d64fa5040982fec93ddd05f2f053497227f2ca80bcd60c080d1eb13d09a301e6f10eece1dfdab2fb693f7b944b5de54e5e SHA512 7c903d2ef7c66017727a774ac9974a07688326b9a86ea941769ed2a19a6dba01f1e55ef3e553a890a83fff4591c82fa36ba33f72f7861c07e25a4145784f392c
|
||||
DIST amd64-bin-libreoffice-gnome-7.4.6.2.xd3 1539785 BLAKE2B 262962089f76d2f1cec1fb412432561c0645127ddb3656ca0517b58846134ad95a8d8863bed21b52a05dfcb34705ea2b8f017b5d45232adc879d9a218e0f84f1 SHA512 40de33e533590fe71ec957d7852ef196cb4e285f64b261a5e02edbeae67d7bf40a436e3730c992ee6697b70bcf5f8c8ee788d9198a3f5f10ed4f592d61da718a
|
||||
DIST amd64-bin-libreoffice-gnome-7.5.3.2.xd3 1807491 BLAKE2B 27be2b48c2838929f31f9e600b46cf5d58cbd5593c16cc0b476b1cda368701acc3405bb1ba4cfa3095fe05361fd234a373aab59824cbfb7f9901080c4e79af70 SHA512 640a3526e2c12deaa41fda7141c3c30646b9f073975cc073bf28354919dcdb87550c7e0f5530ac38b6b1830eae34794ff04483ad4d21b51eadd3bafbe0709892
|
||||
DIST amd64-bin-libreoffice-gnome-java-7.4.6.2-r1.xd3 31491604 BLAKE2B b0307d9b611948181cfb865fa1f121b7cadac3f494aca18333c6aeb1ed64c0cbe44766178484bc1a6632cfd8babd7b88b90f892318c6d218573981228d35c99b SHA512 7fb89ab0c0e13ab0f530b388e39cee4d21b0345a6f89fb8ef22dcf0c6b9f242fa89fc5026c58658a2ae8623ce49766fc62d17cc817b75a5653a95fdb2a2ee4c8
|
||||
DIST amd64-bin-libreoffice-gnome-java-7.4.6.2.xd3 31563743 BLAKE2B c2414806ace6e642dd618ebce863339627b993f7d6d074290b6a3af1aa4884b3dfa520957ad3726471f57b8d1bacba40ee378722508607e83c5a63193f89d8fb SHA512 dde7dca009f9117af54b011ce78fa52072eb6d5b241f110861cef28b3279d5e3f3ff74b92a1b05be6b9e13d4efa88a65c31db0e814aa7ab6a9de252f1ff5d004
|
||||
DIST amd64-bin-libreoffice-gnome-java-7.5.3.2.xd3 30946222 BLAKE2B 2d969c129f9073e6ce47c9ca23a33513dddc1adad8c958910e2aba157c978e9d7f7f0c7f94f18637a9a55be84c679ae3722a125f3eafb1ab1a477a2085417563 SHA512 a349d22f7c9ac0b7fd24d6a98ed5ff221758e35daa4869aeb56f821c84b15ad9f31e642506ffcdf1754b046410af4eeae156c5e13b6d362c7f8dbfacef4add97
|
||||
DIST amd64-bin-libreoffice-java-7.4.6.2-r1.xd3 31442564 BLAKE2B 13bc3fce200c38cd668f6600d1fd892c3b07732ac0f59b8ab97d8bf6975d2a1d3d9b9a4c1659bc33a225c8926170d3b3faa47d31b5f6280114cb4b4f02704777 SHA512 60e76dfbe86573fada99240117384da072cc76a5610d4f4abbefb01c45d41d8a518da84f9c6e64391f9e28eb9bb0414a8d5839f05bd0ed1cde854002b9e21d7d
|
||||
DIST amd64-bin-libreoffice-java-7.4.6.2.xd3 31446539 BLAKE2B a78fc1cdf252e6eda76f753cfef275984a4cfe61437f8fd60dcbf8be91748d3f85488930fc28586fffb776513b90eb256c91b5118ef65320db548d60b427dc40 SHA512 aaa691a5faa2a5f95256f3fedaeaaead60ec1d4d456bcc9f44fd9a2886e01acde114c8556ca6decf96ae3b63b7bacd0400b45b3aabd26edd7880456f21d2c886
|
||||
DIST amd64-bin-libreoffice-java-7.5.3.2.xd3 30773858 BLAKE2B 63f4e099f829c56950c20e236dd3c11748b4e33dc6d04506602eeff5224e77e210f224f4b663beeca3ccdd2c7f121066851cf4fc93560460650520b955a47be3 SHA512 afa39292e3a4b6c115ca8005244e4ff7fb04eb5c96609e1c7acb940a15e2b3a1bc0ec659abb73be6c623a7943d402c35386d95a06336c30eea98f5fd706ec353
|
||||
DIST amd64-bin-libreoffice-kde-7.4.6.2-r1.xd3 21615543 BLAKE2B 1ac20a6e04161cc87d07319ffad89d286a9002a12d696bae98ed790dd88f722a3a9942333a09485790f3faea5edad4beb92bd1b7ec76ebe774241281e19c0b7f SHA512 0e84bbc3a7786ab9eb8eea0d6406a2e0d0b5a986406e7a175ddb24cdecc870a659f2e2b2b139b2f242579b9ddff2c1d58e547ed05194f7f0b57ebb7002ba9b84
|
||||
DIST amd64-bin-libreoffice-kde-7.4.6.2.xd3 21625101 BLAKE2B da27e7a9274d5ed16a14d3a11333d695d77ea07a4bf078f52002da8c6a29105ac748fa03523ff2b9789573214f83123b4c13a1c54a60c1641609b7877d64a1e8 SHA512 7afafdcb90c1a31affdcba98e3f36a4823fd11b4de8ade5ea66b1a112729680eb3da88e8025caaae7896848ce78e18bbe14e2ee52f06f4154292b0310765b8ef
|
||||
DIST amd64-bin-libreoffice-kde-7.5.3.2.xd3 20280507 BLAKE2B 93dce73d02fde3afa094332ee936ebaf582f095225de6e7b6e812f2fe8a0fd9c762148009540c2c97c4757f93c73be24ab7407670a479360f6a9642cb49aab90 SHA512 465339b53ced60a652ee4c252145de0366fda42015c853420ebd5a18748e7e9e744b8a504a543ef71cc4e4353957065dd6044c872708f2c079de621f9588ee36
|
||||
DIST amd64-bin-libreoffice-kde-java-7.4.6.2-r1.xd3 32246133 BLAKE2B d6ed1f861781fbc16897e8e2f5b71116afc484b54d81deac216a9b7bca8262807b815796db57062492894cd9948d031e954cb794df4415979081511e9bcb514b SHA512 454fa85837dd6607be221146a20346689af89a691b1a997c0703d7b3b888a0dcb4c8f668b1a70eaa82433cf993045e4c8483fb2744ef273dc9c7e69b1ef29dad
|
||||
DIST amd64-bin-libreoffice-kde-java-7.4.6.2.xd3 32196626 BLAKE2B 3c85f884a11b57ad134ea5a5d1849a1b9f4b17962e734f4a1ec5b6920f323f24776db96527c8f59afaf2573388cfbde10fb36221ffcfc8190b10a6bdfed64802 SHA512 951dde7f83f283a50f68ee0b22d4ae95a1656920a07e6e34a4747cff7da672ade09058986163f5b9c21c6888c4b6e5e13cd55b91face31c588f0d5759c244f1e
|
||||
DIST amd64-bin-libreoffice-kde-java-7.5.3.2.xd3 31316714 BLAKE2B 571a44144b2c2adeab25db77461eae11b897a69be12e10dfc53aae9b0b24f9f5f2c56161c8e5e3997ab6e469770ff7d8b8a7b0591da471a4ce3fa89db3d4b2e6 SHA512 3e7e972da16d87c1c14073137f782c9fb5719f7d55f6b94a1cf9102a87ac22d43d3fcd6d45f70802011dffc31aeda1fa15dbb59df9d84c065c4da3e590b6dcb6
|
||||
DIST x86-bin-libreoffice-7.4.6.2-r1.tar.xz 147948148 BLAKE2B fdb9cb33a19ff7962faaff345dbe629f07834b568ca5bf29afbcf89928602fab85e17ed979340fb72ee70b0f8729f4760d6a221631b92c6947fa8625117b94df SHA512 4cfb49ac4c4209d1f0293dba83fe444aeaaa4e764d48d41ac500d2a3e5dbf9c0f338a537184fb869a327ce3785262103dde86efd3f3d1d9a9cd80150f5db1fa0
|
||||
DIST x86-bin-libreoffice-7.4.6.2.tar.xz 147928192 BLAKE2B 450ddd4ff96d96ec03102ef88cd20442213ebb83fac1bf5f4ba5637459dd318530767798b26566cd694b7a229f96d5a5346da5ddc06366e20ec1498068645911 SHA512 b5f636f4444ab79572c31ab2cd3de026ddc96c7daf431617de05b9e8b08d2b988a4c521c593e16b7f665032de89c710b164226f7a0461b077877c8add874db46
|
||||
DIST x86-bin-libreoffice-7.5.3.2.tar.xz 150673172 BLAKE2B 90d69a066ac9f7705bd5fd2067de89faa346b1cb7536d0f22658554318b34353cebc570b9507e542bb6160f9e295c48739a490965bbca2f85871ce79037c1d17 SHA512 cba8321696740404e9c2e81c05a1de8e471db24cd2961cb8f5eda241aeee17d4675eb109819d5ba9363268c646c2028e8c7b495d4a6e29383316e40d3e3c6a06
|
||||
DIST x86-bin-libreoffice-gnome-7.4.6.2-r1.xd3 1515008 BLAKE2B cae5b8f417b61ea29e0952dacb6391b308154ca55961f5f06a7683ada7296e2c88a805dd8b5d70a8adf5d021ae821ea63c318defb269cd7b6db5759cd1b1340c SHA512 2adf137fd8807a99c3ee42f4bb79d1b8cb276d1fc1259420b62886edf888b43bfdc83bd954e8428c2b7c1c17469bced31cdc452a987774bf0e9b3f521d6425d1
|
||||
DIST x86-bin-libreoffice-gnome-7.4.6.2.xd3 1533290 BLAKE2B dd9efb55044ed4d15ed000ef0edd0bcdff65b87e9abdd38a624dd7ce188e9c2b42a3320305eac048f60be0c5e05480b8771d0dbf11166a47c6dc8caf3793708c SHA512 0b86b364768a232b2eb14d9e4e84cd7201cc16064a3b0108f9605ffa5585007fd2a3eeb1e7b8ba69e7fc9d30564d63aa095a8d60043f60364edd6bf4fae99815
|
||||
DIST x86-bin-libreoffice-gnome-7.5.3.2.xd3 1749063 BLAKE2B 4cec2c2e7551443850e0a858b0ac7f1d0888f329d8bf402f28bdd15f861ea8c2e8a1fa4c8e0ac01731bc7069c95f89d08f147108fecc219cb470a3e1b66c8b3e SHA512 f196808233dc18ed42aae0328209876c61b9b556d6ea3ebe87a674e46bff4aab8d1f5ad2f4b0b8e3de05fe0b6aa2c6244dcad677e41d7b510e63d0d032216855
|
||||
DIST x86-bin-libreoffice-kde-7.4.6.2-r1.xd3 19581148 BLAKE2B a24c7f6c6fc4a89ca8c6597079b17294eb2b77519482b8659a55a65753efcca63f74facf98941abc69f5249e88432ce68d0f85c87b439ca5ed80f1e44fa58e84 SHA512 6c4481ecd02cc4364ed276669711040bf8a6f9b0c7fce13dc7bd72466f0b4aee087c6fc55a8d0b1943ae11e1714c058e3a714b38363ab1bae54d23a1495ebe64
|
||||
DIST x86-bin-libreoffice-kde-7.4.6.2.xd3 20590446 BLAKE2B c09ea5c79402ddb5db668ac950f2497ed390c55f30660c06359db73da397f85433fc5cdf4bd716d2326d9727b1c49dcf0785c4c58a794a91f6a7cbf48ebb51ab SHA512 facc20e34da248e8a6dd94caeb27587aa9236594f299cb46bbee9353e64a478198f0077e5f9a4c66b379cce0b6551de010f0dd927a056a8650937b34870ab386
|
||||
DIST x86-bin-libreoffice-kde-7.5.3.2.xd3 19989837 BLAKE2B cc1844c9312b47b397823af3a8860b03ab3690f3e5e38190df6ab5f0a9ce537d961a309aa4ec99fd7ef65a0bf99a505cc8eb414dcc958c73d8b1dde80b543a77 SHA512 b0c1a6906b322831c39c248c816e5b203ed2c5a17dae9cf4e25a0d7361818f2a466860d4e9eeb04132ac797c5d7798a8f3651d97d25a5c64c4c135297f092f4e
|
||||
EBUILD libreoffice-bin-7.4.6.2-r1.ebuild 6400 BLAKE2B 81cd630863031778631f914a841a723ec22ab1f9f3baee17f7b2eeb00c9780dd31099189b0bd03aca3d73d27a9e0c4932413a3bc96312f29f98ae3068752aa25 SHA512 8b01333c8c8c9732e25ac1b899f3ad8cea0e8632abe5bd4f8d47577ed9af82d0bff45f45197f30892109480651c264e7b53755eea5feb664e568b7d781aba2d8
|
||||
EBUILD libreoffice-bin-7.4.6.2.ebuild 6400 BLAKE2B e38037fb48f6d1aed68e45887d700e00fac41aab75acf2227961fe732bb6384c950af2afa87d2e9dabc2bcd9b6f13ad08d2e1f9b7ef61f8f0d1f541defc8d784 SHA512 ef5b4b84899becc8b81e798ebd21b60f65f695e0d5a33fd37938d01b7a72bd151b057cd809323e2e571964ef16a9d9be3a4abbe10df5d50e0beb0339c673bc9d
|
||||
EBUILD libreoffice-bin-7.5.3.2.ebuild 6422 BLAKE2B 647fcca6610533aef5502d3ae39fb3f8896b0aa3a4e00a64b7666a6f43e22976a44085b69375599d72743eb5132fdff1788ed3814beb23ff5bb2e020cd663dc2 SHA512 298fdb35f4a348370f81d675a4b708e9177241adcc94aff4a0ce40eb935046e88c32d551fee7bd68508280e0840274b694d0273f9eb5f00c3905ca5a68387e53
|
||||
MISC metadata.xml 529 BLAKE2B a789c063d4ee905fd36dd0192d0f2769e0eeff96e69b9f27a2e75ca47a7bcb0ec841e68cd0d5299152df2b9b626bcf301066aa251e1b4ca2b74290d57c448c8e SHA512 b98d77cf995e824efcc392c185e616219d35976f43c343a1cfb1737fb44556edbd47b13d47924e3195159d0ec06e40f4909d0e7cd9deed7a8fa10928bc47becf
|
||||
|
@ -0,0 +1,261 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
BASE_PACKAGENAME="bin"
|
||||
BASE_AMD64_URI="https://tamiko.43-1.org/distfiles/amd64-${BASE_PACKAGENAME}-"
|
||||
BASE_X86_URI="https://tamiko.43-1.org/distfiles/x86-${BASE_PACKAGENAME}-"
|
||||
|
||||
PYTHON_COMPAT=( python3_11 )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit java-pkg-opt-2 python-single-r1 prefix toolchain-funcs xdg-utils
|
||||
|
||||
DESCRIPTION="A full office productivity suite. Binary package"
|
||||
HOMEPAGE="https://www.libreoffice.org"
|
||||
SRC_URI_AMD64="
|
||||
${BASE_AMD64_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-kde-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PVR}.xd3 )
|
||||
)
|
||||
gnome? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PVR}.xd3 )
|
||||
)
|
||||
!kde? ( !gnome? (
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-java-${PVR}.xd3 )
|
||||
) )
|
||||
"
|
||||
SRC_URI_X86="
|
||||
${BASE_X86_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
${BASE_X86_URI}libreoffice-kde-${PVR}.xd3
|
||||
)
|
||||
gnome? (
|
||||
${BASE_X86_URI}libreoffice-gnome-${PVR}.xd3
|
||||
)
|
||||
"
|
||||
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_URI_AMD64} )
|
||||
x86? ( ${SRC_URI_X86} )
|
||||
"
|
||||
|
||||
IUSE="gnome java kde"
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
|
||||
BIN_COMMON_DEPEND="
|
||||
app-text/hunspell:0/1.7
|
||||
=app-text/libexttextcat-3.4*
|
||||
=app-text/libmwaw-0.3*
|
||||
dev-cpp/abseil-cpp:0/20230125
|
||||
dev-libs/boost:0/1.82.0
|
||||
dev-libs/icu:0/73.1
|
||||
dev-libs/liborcus:0/0.17
|
||||
dev-libs/xmlsec:0/1.3
|
||||
>=media-gfx/graphite2-1.3.10
|
||||
media-libs/harfbuzz:0/6.0.0[icu]
|
||||
media-libs/libjpeg-turbo:0/0.2
|
||||
media-libs/libpng:0/16
|
||||
media-libs/openjpeg:2/7
|
||||
media-libs/zxing-cpp:0/3
|
||||
sci-mathematics/lpsolve:0/55
|
||||
>=sys-devel/gcc-12.2.1
|
||||
>=sys-libs/glibc-2.36
|
||||
"
|
||||
|
||||
# PLEASE place any restrictions that are specific to the binary builds
|
||||
# into the BIN_COMMON_DEPEND block above.
|
||||
# All dependencies below this point should remain identical to those in
|
||||
# the source ebuilds.
|
||||
|
||||
COMMON_DEPEND="
|
||||
${BIN_COMMON_DEPEND}
|
||||
${PYTHON_DEPS}
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-crypt/gpgme[cxx]
|
||||
app-text/hunspell:=
|
||||
>=app-text/libabw-0.1.0
|
||||
>=app-text/libebook-0.1
|
||||
app-text/libepubgen
|
||||
>=app-text/libetonyek-0.1
|
||||
app-text/libexttextcat
|
||||
app-text/liblangtag
|
||||
>=app-text/libmspub-0.1.0
|
||||
>=app-text/libmwaw-0.3.21
|
||||
>=app-text/libnumbertext-1.0.6
|
||||
>=app-text/libodfgen-0.1.0
|
||||
app-text/libqxp
|
||||
app-text/libstaroffice
|
||||
app-text/libwpd:0.10[tools]
|
||||
app-text/libwpg:0.3
|
||||
>=app-text/libwps-0.4
|
||||
app-text/mythes
|
||||
dev-cpp/abseil-cpp:=
|
||||
>=dev-cpp/clucene-2.3.3.4-r2
|
||||
>=dev-cpp/libcmis-0.5.2-r2
|
||||
dev-db/unixODBC
|
||||
>=games-engines/box2d-2.4.1:0
|
||||
dev-lang/perl
|
||||
dev-libs/boost:=[nls]
|
||||
dev-libs/expat
|
||||
dev-libs/hyphen
|
||||
dev-libs/icu:=
|
||||
dev-libs/libassuan
|
||||
dev-libs/libgpg-error
|
||||
>=dev-libs/liborcus-0.17.2:0/0.17
|
||||
dev-libs/librevenge
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
>=dev-libs/redland-1.0.16
|
||||
>=dev-libs/xmlsec-1.2.35[nss]
|
||||
media-gfx/fontforge
|
||||
media-gfx/graphite2
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2.11.0-r1:2
|
||||
>=media-libs/harfbuzz-5.1.0:=[graphite,icu]
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libcdr-0.1.0
|
||||
>=media-libs/libepoxy-1.3.1[X]
|
||||
>=media-libs/libfreehand-0.1.0
|
||||
media-libs/libjpeg-turbo:=
|
||||
media-libs/libpagemaker
|
||||
>=media-libs/libpng-1.4:0=
|
||||
>=media-libs/libvisio-0.1.0
|
||||
media-libs/libwebp:=
|
||||
media-libs/libzmf
|
||||
media-libs/openjpeg:=
|
||||
media-libs/tiff:=
|
||||
media-libs/zxing-cpp:=
|
||||
net-misc/curl
|
||||
sci-mathematics/lpsolve
|
||||
sys-libs/zlib
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
x11-libs/cairo[X]
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
gnome? (
|
||||
dev-libs/glib:2
|
||||
gnome-base/dconf
|
||||
gnome-extra/evolution-data-server
|
||||
)
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
!kde? (
|
||||
app-accessibility/at-spi2-core:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/gobject-introspection
|
||||
gnome-base/dconf
|
||||
media-libs/mesa[egl(+)]
|
||||
x11-libs/gtk+:3[X]
|
||||
x11-libs/pango
|
||||
)
|
||||
kde? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
kde-frameworks/kconfig:5
|
||||
kde-frameworks/kcoreaddons:5
|
||||
kde-frameworks/ki18n:5
|
||||
kde-frameworks/kio:5
|
||||
kde-frameworks/kwindowsystem:5
|
||||
)
|
||||
dev-db/mariadb-connector-c
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
acct-group/libreoffice
|
||||
acct-user/libreoffice
|
||||
!app-office/libreoffice
|
||||
!app-office/openoffice
|
||||
media-fonts/liberation-fonts
|
||||
|| ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
|
||||
java? ( virtual/jre:11 )
|
||||
kde? ( kde-frameworks/breeze-icons:* )
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
=app-office/libreoffice-l10n-$(ver_cut 1-4)*
|
||||
"
|
||||
|
||||
DEPEND="dev-util/xdelta:3"
|
||||
|
||||
# only one flavor at a time
|
||||
REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde ) ${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RESTRICT="test strip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
PYTHON_UPDATER_IGNORE="1"
|
||||
|
||||
QA_PREBUILT="/usr/*"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz"
|
||||
xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
|
||||
use x86 && use java && die "There is no build for x86 with Java support."
|
||||
|
||||
local patchname
|
||||
use kde && patchname="-kde"
|
||||
use gnome && patchname="-gnome"
|
||||
use java && patchname="${patchname}-java"
|
||||
|
||||
if [[ -n "${patchname}" ]]; then
|
||||
einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3"
|
||||
xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die
|
||||
mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
fi
|
||||
|
||||
einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/50-${PN} "${T}"
|
||||
eprefixify "${T}"/50-${PN}
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodir /usr
|
||||
cp -aR "${S}"/usr/* "${ED}"/usr/
|
||||
|
||||
# prevent revdep-rebuild from attempting to rebuild all the time
|
||||
insinto /etc/revdep-rebuild && doins "${T}/50-${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
|
||||
ewarn 'If you plan to use the Base application you should use a source build and enable java and firebird.'
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit rpm
|
||||
|
||||
BASE_PV=$(ver_cut 1-3)
|
||||
MY_PV="${PV/_alpha/.alpha}"
|
||||
MY_PV="${MY_PV/_beta/.beta}"
|
||||
[[ ${PV} == *alpha* || ${PV} == *beta* ]] && PN_DEV="Dev"
|
||||
|
||||
DESCRIPTION="Translations for the Libreoffice suite"
|
||||
HOMEPAGE="https://www.libreoffice.org"
|
||||
BASE_SRC_URI_TESTING="https://download.documentfoundation.org/${PN/-l10n/}/testing/${BASE_PV}/rpm"
|
||||
BASE_SRC_URI_STABLE="https://download.documentfoundation.org/${PN/-l10n/}/stable/${BASE_PV}/rpm"
|
||||
|
||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 x86 ~amd64-linux"
|
||||
IUSE="offlinehelp"
|
||||
|
||||
#
|
||||
# when changing the language lists, please be careful to preserve the spaces (bug 491728)
|
||||
#
|
||||
# "en:en-US" for mapping from Gentoo "en" to upstream "en-US" etc.
|
||||
LANGUAGES_HELP=" am ar ast bg bn-IN bn bo bs ca-valencia ca cs da de dz el en-GB en:en-US en-ZA eo es et eu fi fr gl gu he hi hr hu id is it ja ka km ko lo lt lv mk nb ne nl nn om pl pt-BR pt ro ru si sid sk sl sq sv ta tg tr ug uk vi zh-CN zh-TW "
|
||||
LANGUAGES="${LANGUAGES_HELP}af as be br brx ckb cy dgo dsb fa fur fy ga gd gug hsb kab kk kmr-Latn kn kok ks lb mai ml mn mni mr my nr nso oc or pa:pa-IN rw sa:sa-IN sat sd sr-Latn sr ss st sw-TZ szl te th tn ts tt uz ve vec xh zu "
|
||||
|
||||
for lang in ${LANGUAGES_HELP}; do
|
||||
helppack="offlinehelp? ( ${BASE_SRC_URI_STABLE}/x86_64/LibreOffice${PN_DEV}_${BASE_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz ${BASE_SRC_URI_TESTING}/x86_64/LibreOffice${PN_DEV}_${MY_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz )"
|
||||
SRC_URI+=" l10n_${lang%:*}? ( ${helppack} )"
|
||||
done
|
||||
for lang in ${LANGUAGES}; do
|
||||
if [[ ${lang%:*} != en ]]; then
|
||||
langpack="${BASE_SRC_URI_STABLE}/x86_64/LibreOffice${PN_DEV}_${BASE_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz ${BASE_SRC_URI_TESTING}/x86_64/LibreOffice${PN_DEV}_${MY_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz"
|
||||
SRC_URI+=" l10n_${lang%:*}? ( ${langpack} )"
|
||||
fi
|
||||
IUSE+=" l10n_${lang%:*}"
|
||||
done
|
||||
unset lang helppack langpack
|
||||
|
||||
RDEPEND+="app-text/hunspell"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local lang dir rpmdir
|
||||
|
||||
# First remove dictionaries, we want to use system ones.
|
||||
find "${S}" -name *dict*.rpm -delete || die "Failed to remove dictionaries"
|
||||
|
||||
for lang in ${LANGUAGES}; do
|
||||
# break away if not enabled
|
||||
use l10n_${lang%:*} || continue
|
||||
|
||||
dir=${lang#*:}
|
||||
|
||||
# for english we provide just helppack, as translation is always there
|
||||
if [[ ${lang%:*} != en ]]; then
|
||||
rpmdir="LibreOffice_${MY_PV}_Linux_x86-64_rpm_langpack_${dir}/RPMS/"
|
||||
[[ -d ${rpmdir} ]] || die "Missing directory: ${rpmdir}"
|
||||
rpm_unpack ./${rpmdir}/*.rpm
|
||||
fi
|
||||
if [[ "${LANGUAGES_HELP}" =~ " ${lang} " ]] && use offlinehelp; then
|
||||
rpmdir="LibreOffice_${MY_PV}_Linux_x86-64_rpm_helppack_${dir}/RPMS/"
|
||||
[[ -d ${rpmdir} ]] || die "Missing directory: ${rpmdir}"
|
||||
rpm_unpack ./${rpmdir}/*.rpm
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
local dir="${S}"/opt/${PN/-l10n/}$(ver_cut 1-2)/
|
||||
# Condition required for people who do not install anything e.g. no l10n
|
||||
# or just english with no offlinehelp.
|
||||
if [[ -d "${dir}" ]] ; then
|
||||
insinto /usr/$(get_libdir)/${PN/-l10n/}/
|
||||
doins -r "${dir}"/*
|
||||
fi
|
||||
# remove extensions that are in l10n for some weird reason
|
||||
rm -rf "${ED}"/usr/$(get_libdir)/${PN/-l10n/}/share/extensions/ || \
|
||||
die "Failed to remove extensions"
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
https://bugs.gentoo.org/865321
|
||||
https://lists.freedesktop.org/archives/libreoffice/2022-August/089261.html
|
||||
https://github.com/LibreOffice/core/commit/aa0b2b756c17d43d2e8c828a909ee2815e332377
|
||||
|
||||
From: Rene Engelhard <rene@debian.org>
|
||||
Date: Wed, 24 Aug 2022 09:55:33 +0200
|
||||
Subject: [PATCH] Make configure work with gpgme >= 1.18
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Sam James wrote:
|
||||
> gpgme-1.18.0 dropped a bunch of internal symbols,
|
||||
> including progress_callback (see e.g. callbacks.h
|
||||
> which has a comment at the top saying it's internal).
|
||||
|
||||
Plausibly the workaround to not link against older KDE-specific distro
|
||||
packages is not needed anymore.
|
||||
|
||||
Check for main as a workaround as we do for other C++ libraries, too.
|
||||
|
||||
Change-Id: I57065a5b5b23b9eadb73b01e4f3a289552c3bde4
|
||||
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138667
|
||||
Tested-by: Jenkins
|
||||
Reviewed-by: Sam James <sam@gentoo.org>
|
||||
Reviewed-by: René Engelhard <rene@debian.org>
|
||||
(cherry picked from commit b4a94d681a99a6a3eeb6aaa4d2f4dfab8f7c000b)
|
||||
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138553
|
||||
Tested-by: René Engelhard <rene@debian.org>
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -12537,12 +12537,11 @@ elif test \( \( "$_os" = "Linux" -o "$_os" = "Darwin" \) -a "$ENABLE_NSS" = TRUE
|
||||
# C++ library doesn't come with fancy gpgmepp-config, check for headers the old-fashioned way
|
||||
AC_CHECK_HEADER(gpgme++/gpgmepp_version.h, [ GPGMEPP_CFLAGS=-I/usr/include/gpgme++ ],
|
||||
[AC_MSG_ERROR([gpgmepp headers not found, install gpgmepp >= 1.14 development package])], [])
|
||||
- # progress_callback is the only func with plain C linkage
|
||||
- # checking for it also filters out older, KDE-dependent libgpgmepp versions
|
||||
- AC_CHECK_LIB(gpgmepp, progress_callback, [ GPGMEPP_LIBS=-lgpgmepp ],
|
||||
- [AC_MSG_ERROR(gpgmepp not found or not functional)], [])
|
||||
AC_CHECK_HEADER(gpgme.h, [],
|
||||
[AC_MSG_ERROR([gpgme headers not found, install gpgme development package])], [])
|
||||
+ AC_CHECK_LIB(gpgmepp, main, [],
|
||||
+ [AC_MSG_ERROR(gpgmepp not found or not functional)], [])
|
||||
+ GPGMEPP_LIBS=-lgpgmepp
|
||||
else
|
||||
AC_MSG_RESULT([internal])
|
||||
BUILD_TYPE="$BUILD_TYPE LIBGPGERROR LIBASSUAN GPGMEPP"
|
||||
|
@ -1,663 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_REQ_USE="threads(+),xml(+)"
|
||||
|
||||
MY_PV="${PV/_alpha/.alpha}"
|
||||
MY_PV="${MY_PV/_beta/.beta}"
|
||||
# experimental ; release ; old
|
||||
# Usually the tarballs are moved a lot so this should make everyone happy.
|
||||
DEV_URI="
|
||||
https://dev-builds.libreoffice.org/pre-releases/src
|
||||
https://download.documentfoundation.org/libreoffice/src/${MY_PV:0:5}/
|
||||
https://downloadarchive.documentfoundation.org/libreoffice/old/${MY_PV}/src
|
||||
"
|
||||
ADDONS_URI="https://dev-www.libreoffice.org/src/"
|
||||
|
||||
BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
|
||||
PATCHSET="${PN}-7.3.5.2-patchset-01.tar.xz"
|
||||
|
||||
[[ ${MY_PV} == *9999* ]] && inherit git-r3
|
||||
inherit autotools bash-completion-r1 check-reqs flag-o-matic java-pkg-opt-2 multiprocessing python-single-r1 qmake-utils toolchain-funcs xdg-utils
|
||||
|
||||
DESCRIPTION="A full office productivity suite"
|
||||
HOMEPAGE="https://www.libreoffice.org"
|
||||
SRC_URI="branding? ( https://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
|
||||
[[ -n ${PATCHSET} ]] && SRC_URI+=" https://dev.gentoo.org/~xen0n/distfiles/app-office/libreoffice/${PATCHSET}"
|
||||
|
||||
# Split modules following git/tarballs; Core MUST be first!
|
||||
# Help is used for the image generator
|
||||
# Only release has the tarballs
|
||||
if [[ ${MY_PV} != *9999* ]]; then
|
||||
for i in ${DEV_URI}; do
|
||||
SRC_URI+=" ${i}/${PN}-${MY_PV}.tar.xz"
|
||||
SRC_URI+=" ${i}/${PN}-help-${MY_PV}.tar.xz"
|
||||
done
|
||||
unset i
|
||||
fi
|
||||
unset DEV_URI
|
||||
|
||||
# Really required addons
|
||||
# These are bundles that can't be removed for now due to huge patchsets.
|
||||
# If you want them gone, patches are welcome.
|
||||
ADDONS_SRC=(
|
||||
# broken against latest upstream release, too many patches on top:
|
||||
# https://github.com/tdf/libcmis/pull/43
|
||||
"${ADDONS_URI}/libcmis-0.5.2.tar.xz"
|
||||
# not packaged in Gentoo, https://www.netlib.org/fp/dtoa.c
|
||||
"${ADDONS_URI}/dtoa-20180411.tgz"
|
||||
# not packaged in Gentoo, https://skia.org/
|
||||
"${ADDONS_URI}/skia-m97-a7230803d64ae9d44f4e1282444801119a3ae967.tar.xz"
|
||||
"base? (
|
||||
${ADDONS_URI}/commons-logging-1.2-src.tar.gz
|
||||
${ADDONS_URI}/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
|
||||
${ADDONS_URI}/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip
|
||||
${ADDONS_URI}/eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip
|
||||
${ADDONS_URI}/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip
|
||||
${ADDONS_URI}/3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip
|
||||
${ADDONS_URI}/db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip
|
||||
${ADDONS_URI}/97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip
|
||||
${ADDONS_URI}/8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip
|
||||
${ADDONS_URI}/f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip
|
||||
${ADDONS_URI}/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip
|
||||
${ADDONS_URI}/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip
|
||||
)"
|
||||
"java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
||||
# no release for 8 years, should we package it?
|
||||
"libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )"
|
||||
# Does not build with 1.6 rhino at all
|
||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )"
|
||||
# requirement of rhino
|
||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )"
|
||||
# not packageable
|
||||
"odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )"
|
||||
)
|
||||
SRC_URI+=" ${ADDONS_SRC[*]}"
|
||||
|
||||
unset ADDONS_URI
|
||||
unset ADDONS_SRC
|
||||
|
||||
# Extensions that need extra work:
|
||||
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
|
||||
|
||||
IUSE="accessibility base bluetooth +branding clang coinmp +cups custom-cflags +dbus debug eds firebird
|
||||
googledrive gstreamer +gtk kde ldap +mariadb odk pdfimport postgres test vulkan
|
||||
$(printf 'libreoffice_extensions_%s ' ${LO_EXTS})"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
base? ( firebird java )
|
||||
bluetooth? ( dbus )
|
||||
libreoffice_extensions_nlpsolver? ( java )
|
||||
libreoffice_extensions_scripting-beanshell? ( java )
|
||||
libreoffice_extensions_scripting-javascript? ( java )
|
||||
libreoffice_extensions_wiki-publisher? ( java )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
||||
SLOT="0"
|
||||
|
||||
[[ ${MY_PV} == *9999* ]] || \
|
||||
KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 x86 ~amd64-linux"
|
||||
|
||||
# xmlsec version cap for bug #904387
|
||||
COMMON_DEPEND="${PYTHON_DEPS}
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-crypt/gpgme:=[cxx]
|
||||
app-text/hunspell:=
|
||||
>=app-text/libabw-0.1.0
|
||||
>=app-text/libebook-0.1
|
||||
app-text/libepubgen
|
||||
>=app-text/libetonyek-0.1
|
||||
app-text/libexttextcat
|
||||
app-text/liblangtag
|
||||
>=app-text/libmspub-0.1.0
|
||||
>=app-text/libmwaw-0.3.1
|
||||
>=app-text/libnumbertext-1.0.6
|
||||
>=app-text/libodfgen-0.1.0
|
||||
app-text/libqxp
|
||||
app-text/libstaroffice
|
||||
app-text/libwpd:0.10[tools]
|
||||
app-text/libwpg:0.3
|
||||
>=app-text/libwps-0.4
|
||||
app-text/mythes
|
||||
dev-cpp/abseil-cpp:=
|
||||
>=dev-cpp/clucene-2.3.3.4-r2
|
||||
>=dev-cpp/libcmis-0.5.2
|
||||
dev-db/unixODBC
|
||||
dev-lang/perl
|
||||
dev-libs/boost:=[nls]
|
||||
dev-libs/expat
|
||||
dev-libs/hyphen
|
||||
dev-libs/icu:=
|
||||
dev-libs/libassuan
|
||||
dev-libs/libgpg-error
|
||||
>=dev-libs/liborcus-0.17.2:0/0.17
|
||||
dev-libs/librevenge
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
>=dev-libs/redland-1.0.16
|
||||
>=dev-libs/xmlsec-1.2.28:=[nss]
|
||||
<dev-libs/xmlsec-1.3.0
|
||||
>=games-engines/box2d-2.4.1:0
|
||||
media-gfx/fontforge
|
||||
media-gfx/graphite2
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2.11.0-r1:2
|
||||
>=media-libs/harfbuzz-0.9.42:=[graphite,icu]
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libcdr-0.1.0
|
||||
>=media-libs/libepoxy-1.3.1[X]
|
||||
>=media-libs/libfreehand-0.1.0
|
||||
media-libs/libjpeg-turbo:=
|
||||
media-libs/libpagemaker
|
||||
>=media-libs/libpng-1.4:0=
|
||||
>=media-libs/libvisio-0.1.0
|
||||
media-libs/libzmf
|
||||
media-libs/openjpeg:=
|
||||
media-libs/zxing-cpp:=
|
||||
>=net-libs/neon-0.31.1:=
|
||||
net-misc/curl
|
||||
sci-mathematics/lpsolve:=
|
||||
sys-libs/zlib
|
||||
virtual/opengl
|
||||
x11-libs/cairo[X]
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
accessibility? (
|
||||
$(python_gen_cond_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
|
||||
)
|
||||
bluetooth? (
|
||||
dev-libs/glib:2
|
||||
net-wireless/bluez
|
||||
)
|
||||
coinmp? ( sci-libs/coinor-mp )
|
||||
cups? ( net-print/cups )
|
||||
dbus? ( sys-apps/dbus[X] )
|
||||
eds? (
|
||||
dev-libs/glib:2
|
||||
gnome-base/dconf
|
||||
gnome-extra/evolution-data-server
|
||||
)
|
||||
firebird? ( >=dev-db/firebird-3.0.2.32703.0-r1[server] )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
gtk? (
|
||||
dev-libs/glib:2
|
||||
dev-libs/gobject-introspection
|
||||
gnome-base/dconf
|
||||
media-libs/mesa[egl(+)]
|
||||
x11-libs/gtk+:3[X]
|
||||
x11-libs/pango
|
||||
)
|
||||
kde? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
kde-frameworks/kconfig:5
|
||||
kde-frameworks/kcoreaddons:5
|
||||
kde-frameworks/ki18n:5
|
||||
kde-frameworks/kio:5
|
||||
kde-frameworks/kwindowsystem:5
|
||||
)
|
||||
ldap? ( net-nds/openldap:= )
|
||||
libreoffice_extensions_scripting-beanshell? ( dev-java/bsh )
|
||||
libreoffice_extensions_scripting-javascript? ( >=dev-java/rhino-1.7.14:1.6 )
|
||||
mariadb? ( dev-db/mariadb-connector-c:= )
|
||||
!mariadb? ( dev-db/mysql-connector-c:= )
|
||||
pdfimport? ( >=app-text/poppler-22.06:=[cxx] )
|
||||
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] )
|
||||
"
|
||||
# FIXME: cppunit should be moved to test conditional
|
||||
# after everything upstream is under gbuild
|
||||
# as dmake execute tests right away
|
||||
# tests apparently also need google-carlito-fonts (not packaged)
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-libs/libatomic_ops-7.2d
|
||||
dev-perl/Archive-Zip
|
||||
>=dev-util/cppunit-1.14.0
|
||||
>=dev-util/gperf-3.1
|
||||
dev-util/mdds:1/2.0
|
||||
media-libs/glm
|
||||
sys-devel/ucpp
|
||||
x11-base/xorg-proto
|
||||
x11-libs/libXt
|
||||
x11-libs/libXtst
|
||||
java? (
|
||||
dev-java/ant-core
|
||||
>=virtual/jdk-11
|
||||
)
|
||||
test? (
|
||||
app-crypt/gnupg
|
||||
dev-util/cppunit
|
||||
media-fonts/dejavu
|
||||
media-fonts/liberation-fonts
|
||||
)
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
acct-group/libreoffice
|
||||
acct-user/libreoffice
|
||||
!app-office/libreoffice-bin
|
||||
!app-office/libreoffice-bin-debug
|
||||
media-fonts/liberation-fonts
|
||||
|| ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
|
||||
java? ( >=virtual/jre-11 )
|
||||
kde? ( kde-frameworks/breeze-icons:* )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/intltool
|
||||
sys-apps/which
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
clang? (
|
||||
|| (
|
||||
( sys-devel/clang:15
|
||||
sys-devel/llvm:15
|
||||
=sys-devel/lld-15* )
|
||||
( sys-devel/clang:14
|
||||
sys-devel/llvm:14
|
||||
=sys-devel/lld-14* )
|
||||
( sys-devel/clang:13
|
||||
sys-devel/llvm:13
|
||||
=sys-devel/lld-13* )
|
||||
)
|
||||
)
|
||||
odk? ( >=app-doc/doxygen-1.8.4 )
|
||||
"
|
||||
if [[ ${MY_PV} != *9999* ]] && [[ ${PV} != *_* ]]; then
|
||||
PDEPEND="=app-office/libreoffice-l10n-$(ver_cut 1-2)*"
|
||||
else
|
||||
# Translations are not reliable on live ebuilds
|
||||
# rather force people to use english only.
|
||||
PDEPEND="!app-office/libreoffice-l10n"
|
||||
fi
|
||||
|
||||
PATCHES=(
|
||||
"${WORKDIR}"/${PATCHSET/.tar.xz/}
|
||||
|
||||
# not upstreamable stuff
|
||||
"${FILESDIR}/${PN}-5.3.4.2-kioclient5.patch"
|
||||
"${FILESDIR}/${PN}-6.1-nomancompress.patch"
|
||||
"${FILESDIR}/${PN}-7.2.0.4-qt5detect.patch"
|
||||
|
||||
# 7.4 branch
|
||||
"${FILESDIR}/${PN}-7.3.5.2-gpgme-1.18.0.patch"
|
||||
|
||||
# 7.5 branch
|
||||
"${FILESDIR}/${P}-boost-1.81-locale.patch"
|
||||
"${FILESDIR}/${P}-zxing-cpp-1.4.0.patch"
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
_check_reqs() {
|
||||
CHECKREQS_MEMORY="512M"
|
||||
if is-flagq "-g*" && ! is-flagq "-g*0" ; then
|
||||
CHECKREQS_DISK_BUILD="22G"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="6G"
|
||||
fi
|
||||
check-reqs_$1
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
use base ||
|
||||
ewarn "If you plan to use Base application you must enable USE base."
|
||||
use java ||
|
||||
ewarn "Without USE java, several wizards are not going to be available."
|
||||
|
||||
[[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
xdg_environment_reset
|
||||
|
||||
[[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
if [[ ${MY_PV} = *9999* ]]; then
|
||||
local base_uri branch mypv
|
||||
base_uri="https://anongit.freedesktop.org/git"
|
||||
branch="master"
|
||||
mypv=${MY_PV/.9999}
|
||||
[[ ${mypv} != ${MY_PV} ]] && branch="${PN}-${mypv/./-}"
|
||||
git-r3_fetch "${base_uri}/${PN}/core" "refs/heads/${branch}"
|
||||
git-r3_checkout "${base_uri}/${PN}/core"
|
||||
LOCOREGIT_VERSION=${EGIT_VERSION}
|
||||
|
||||
git-r3_fetch "${base_uri}/${PN}/help" "refs/heads/master"
|
||||
git-r3_checkout "${base_uri}/${PN}/help" "helpcontent2" # doesn't match on help
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# sandbox violations on many systems, we don't need it. Bug #646406
|
||||
sed -i \
|
||||
-e "/KF5_CONFIG/s/kf5-config/no/" \
|
||||
configure.ac || die "Failed to disable kf5-config"
|
||||
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
# hack in the autogen.sh
|
||||
touch autogen.lastrun
|
||||
|
||||
# sed in the tests
|
||||
sed -i \
|
||||
-e "s#all : build unitcheck#all : build#g" \
|
||||
solenv/gbuild/Module.mk || die
|
||||
sed -i \
|
||||
-e "s#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g" \
|
||||
-e "s#Makefile.gbuild all slowcheck#Makefile.gbuild all#g" \
|
||||
Makefile.in || die
|
||||
|
||||
sed -i \
|
||||
-e "s,/usr/share/bash-completion/completions,$(get_bashcompdir)," \
|
||||
-e "s,\$INSTALLDIRNAME.sh,${PN}," \
|
||||
bin/distro-install-desktop-integration || die
|
||||
|
||||
if use branding; then
|
||||
# hack...
|
||||
mv -v "${WORKDIR}/branding-intro.png" "icon-themes/colibre/brand/intro.png" || die
|
||||
fi
|
||||
|
||||
# Don't list pdfimport support in desktop when built with none, bug # 605464
|
||||
if ! use pdfimport; then
|
||||
sed -i \
|
||||
-e ":MimeType: s:application/pdf;::" \
|
||||
-e ":Keywords: s:pdf;::" \
|
||||
sysui/desktop/menus/draw.desktop || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Set up Google API keys, see https://www.chromium.org/developers/how-tos/api-keys
|
||||
# Note: these are for Gentoo use ONLY. For your own distribution, please get
|
||||
# your own set of keys. Feel free to contact chromium@gentoo.org for more info.
|
||||
local google_default_client_id="329227923882.apps.googleusercontent.com"
|
||||
local google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu"
|
||||
|
||||
# Show flags set at the beginning
|
||||
einfo "Preset CFLAGS: ${CFLAGS}"
|
||||
einfo "Preset LDFLAGS: ${LDFLAGS}"
|
||||
|
||||
if use clang ; then
|
||||
# Force clang
|
||||
einfo "Enforcing the use of clang due to USE=clang ..."
|
||||
AR=llvm-ar
|
||||
CC=${CHOST}-clang
|
||||
CXX=${CHOST}-clang++
|
||||
NM=llvm-nm
|
||||
RANLIB=llvm-ranlib
|
||||
LDFLAGS+=" -fuse-ld=lld"
|
||||
|
||||
# Not implemented by Clang, bug #903889
|
||||
filter-flags -Wlto-type-mismatch -Werror=lto-type-mismatch
|
||||
else
|
||||
# Force gcc
|
||||
einfo "Enforcing the use of gcc due to USE=-clang ..."
|
||||
AR=gcc-ar
|
||||
CC=${CHOST}-gcc
|
||||
CXX=${CHOST}-g++
|
||||
NM=gcc-nm
|
||||
RANLIB=gcc-ranlib
|
||||
|
||||
# Apparently the Clang flags get used even for GCC builds sometimes.
|
||||
# bug #838115
|
||||
sed -i -e "s/-flto=thin/-flto/" solenv/gbuild/platform/com_GCC_defs.mk || die
|
||||
fi
|
||||
|
||||
if use custom-cflags ; then
|
||||
elog "USE=custom-cflags has been selected. You are on your own to make sure that"
|
||||
elog "the build succeeds. Good luck!"
|
||||
else
|
||||
strip-flags
|
||||
fi
|
||||
|
||||
export LO_CLANG_CC=${CC}
|
||||
export LO_CLANG_CXX=${CXX}
|
||||
|
||||
# Show flags set at the end
|
||||
einfo " Used CFLAGS: ${CFLAGS}"
|
||||
einfo " Used LDFLAGS: ${LDFLAGS}"
|
||||
|
||||
# Ensure we use correct toolchain
|
||||
tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
|
||||
|
||||
if use vulkan && ! use clang ; then
|
||||
ewarn "Building skia with gcc may lead to performance issues. Disable vulkan or enable clang."
|
||||
fi
|
||||
|
||||
# optimization flags
|
||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
||||
# System python enablement:
|
||||
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
||||
export PYTHON_LIBS=$(python_get_LIBS)
|
||||
|
||||
use kde && export QT5DIR="$(qt5_get_bindir)/.."
|
||||
|
||||
local gentoo_buildid="Gentoo official package"
|
||||
if [[ -n ${LOCOREGIT_VERSION} ]]; then
|
||||
gentoo_buildid+=" (from git: ${LOCOREGIT_VERSION})"
|
||||
fi
|
||||
|
||||
# system headers/libs/...: enforce using system packages
|
||||
# --disable-breakpad: requires not-yet-in-tree dev-utils/breakpad
|
||||
# --enable-cairo: ensure that cairo is always required
|
||||
# --enable-*-link: link to the library rather than just dlopen on runtime
|
||||
# --enable-release-build: build the libreoffice as release
|
||||
# --disable-fetch-external: prevent dowloading during compile phase
|
||||
# --enable-extension-integration: enable any extension integration support
|
||||
# --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs
|
||||
# --disable-report-builder: too much java packages pulled in without pkgs
|
||||
# --without-system-sane: just sane.h header that is used for scan in writer,
|
||||
# not linked or anything else, worthless to depend on
|
||||
# --disable-pdfium: not yet packaged
|
||||
local myeconfargs=(
|
||||
--with-system-dicts
|
||||
--with-system-epoxy
|
||||
--with-system-headers
|
||||
--with-system-jars
|
||||
--with-system-libs
|
||||
--enable-build-opensymbol
|
||||
--enable-cairo-canvas
|
||||
--enable-largefile
|
||||
--enable-mergelibs
|
||||
--enable-python=system
|
||||
--enable-randr
|
||||
--enable-release-build
|
||||
--disable-breakpad
|
||||
--disable-bundle-mariadb
|
||||
--disable-ccache
|
||||
--disable-epm
|
||||
--disable-fetch-external
|
||||
--disable-gtk3-kde5
|
||||
--disable-online-update
|
||||
--disable-openssl
|
||||
--disable-pdfium
|
||||
--disable-qt6
|
||||
--with-extra-buildid="${gentoo_buildid}"
|
||||
--enable-extension-integration
|
||||
--with-external-dict-dir="${EPREFIX}/usr/share/myspell"
|
||||
--with-external-hyph-dir="${EPREFIX}/usr/share/myspell"
|
||||
--with-external-thes-dir="${EPREFIX}/usr/share/myspell"
|
||||
--with-external-tar="${DISTDIR}"
|
||||
--with-lang=""
|
||||
--with-parallelism=$(makeopts_jobs)
|
||||
--with-system-abseil
|
||||
--with-system-openjpeg
|
||||
--with-system-ucpp
|
||||
--with-tls=nss
|
||||
--with-vendor="Gentoo Foundation"
|
||||
--with-webdav="neon"
|
||||
--with-x
|
||||
--without-fonts
|
||||
--without-myspell-dicts
|
||||
--with-help="html"
|
||||
--without-helppack-integration
|
||||
--with-system-gpgmepp
|
||||
--without-system-jfreereport
|
||||
--without-system-libcmis
|
||||
--without-system-sane
|
||||
$(use_enable base report-builder)
|
||||
$(use_enable bluetooth sdremote-bluetooth)
|
||||
$(use_enable coinmp)
|
||||
$(use_enable cups)
|
||||
$(use_enable dbus)
|
||||
$(use_enable debug)
|
||||
$(use_enable eds evolution2)
|
||||
$(use_enable firebird firebird-sdbc)
|
||||
$(use_enable gstreamer gstreamer-1-0)
|
||||
$(use_enable gtk gtk3)
|
||||
$(use_enable kde kf5)
|
||||
$(use_enable kde qt5)
|
||||
$(use_enable ldap)
|
||||
$(use_enable odk)
|
||||
$(use_enable pdfimport)
|
||||
$(use_enable postgres postgresql-sdbc)
|
||||
$(use_enable vulkan skia)
|
||||
$(use_with accessibility lxml)
|
||||
$(use_with coinmp system-coinmp)
|
||||
$(use_with googledrive gdrive-client-id ${google_default_client_id})
|
||||
$(use_with googledrive gdrive-client-secret ${google_default_client_secret})
|
||||
$(use_with java)
|
||||
$(use_with odk doxygen)
|
||||
)
|
||||
|
||||
if use eds || use gtk; then
|
||||
myeconfargs+=( --enable-dconf --enable-gio )
|
||||
else
|
||||
myeconfargs+=( --disable-dconf --disable-gio )
|
||||
fi
|
||||
|
||||
# libreoffice extensions handling
|
||||
for lo_xt in ${LO_EXTS}; do
|
||||
if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" == "scripting-javascript" ]]; then
|
||||
myeconfargs+=( $(use_enable libreoffice_extensions_${lo_xt} ${lo_xt}) )
|
||||
else
|
||||
myeconfargs+=( $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt}) )
|
||||
fi
|
||||
done
|
||||
|
||||
if use java; then
|
||||
# hsqldb: system one is too new
|
||||
myeconfargs+=(
|
||||
--without-junit
|
||||
--without-system-hsqldb
|
||||
--with-ant-home="${ANT_HOME}"
|
||||
--with-jdk-home="${JAVA_HOME}"
|
||||
)
|
||||
|
||||
use libreoffice_extensions_scripting-beanshell && \
|
||||
myeconfargs+=( --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar) )
|
||||
|
||||
use libreoffice_extensions_scripting-javascript && \
|
||||
myeconfargs+=( --with-rhino-jar=$(java-pkg_getjar rhino-1.6 rhino.jar) )
|
||||
fi
|
||||
|
||||
is-flagq "-flto*" && myeconfargs+=( --enable-lto )
|
||||
|
||||
MARIADBCONFIG="$(type -p $(usex mariadb mariadb mysql)_config)" \
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# more and more LO stuff tries to use OpenGL, including tests during build
|
||||
# bug 501508, bug 540624, bug 545974 and probably more
|
||||
addpredict /dev/dri
|
||||
addpredict /dev/ati
|
||||
addpredict /dev/nvidiactl
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake unitcheck
|
||||
emake slowcheck
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" distro-pack-install -o build -o check
|
||||
|
||||
# bug 593514
|
||||
if use gtk; then
|
||||
dosym libreoffice/program/liblibreofficekitgtk.so \
|
||||
/usr/$(get_libdir)/liblibreofficekitgtk.so
|
||||
fi
|
||||
|
||||
# bash completion aliases
|
||||
bashcomp_alias \
|
||||
libreoffice \
|
||||
unopkg loimpress lobase localc lodraw lomath lowriter lofromtemplate loweb loffice
|
||||
|
||||
if use branding; then
|
||||
insinto /usr/$(get_libdir)/${PN}/program
|
||||
newins "${WORKDIR}/branding-sofficerc" sofficerc
|
||||
dodir /etc/env.d
|
||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN} || die
|
||||
fi
|
||||
|
||||
# bug 703474
|
||||
insinto /usr/include
|
||||
doins -r include/LibreOfficeKit
|
||||
|
||||
local lodir=/usr/$(get_libdir)/libreoffice
|
||||
# patching this would break tests
|
||||
cat <<-EOF > "${T}"/uno.py
|
||||
import sys, os
|
||||
sys.path.append('${EPREFIX}${lodir}/program')
|
||||
os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:${EPREFIX}${lodir}/program/fundamentalrc')
|
||||
EOF
|
||||
sed -e "/^import sys/d" -e "/^import os/d" \
|
||||
-i "${D}"${lodir}/program/uno.py || die "cleanup dupl imports failed"
|
||||
cat "${D}"${lodir}/program/uno.py >> "${T}"/uno.py || die
|
||||
cp "${T}"/uno.py "${D}"${lodir}/program/uno.py || die
|
||||
|
||||
# more system pyuno mess
|
||||
sed -e "/sOffice = \"\" # lets hope for the best/s:\"\":\"${EPREFIX}${lodir}/program\":" \
|
||||
-i "${D}"${lodir}/program/officehelper.py || die
|
||||
|
||||
python_optimize "${D}"${lodir}/program
|
||||
# link python bridge in site-packages, bug 667802
|
||||
local py pyc loprogdir=/usr/$(get_libdir)/libreoffice/program
|
||||
for py in uno.py unohelper.py officehelper.py; do
|
||||
dosym -r ${loprogdir}/${py} $(python_get_sitedir)/${py}
|
||||
while IFS="" read -d $'\0' -r pyc; do
|
||||
pyc=${pyc//*\/}
|
||||
dosym -r ${loprogdir}/__pycache__/${pyc} $(python_get_sitedir)/__pycache__/${pyc}
|
||||
done < <(find "${D}"${lodir}/program -type f -name ${py/.py/*.pyc} -print0)
|
||||
done
|
||||
|
||||
newinitd "${FILESDIR}/libreoffice.initd" libreoffice
|
||||
newconfd "${FILESDIR}/libreoffice.confd" libreoffice
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,658 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_REQ_USE="threads(+),xml(+)"
|
||||
|
||||
MY_PV="${PV/_alpha/.alpha}"
|
||||
MY_PV="${MY_PV/_beta/.beta}"
|
||||
# experimental ; release ; old
|
||||
# Usually the tarballs are moved a lot so this should make everyone happy.
|
||||
DEV_URI="
|
||||
https://dev-builds.libreoffice.org/pre-releases/src
|
||||
https://download.documentfoundation.org/libreoffice/src/${MY_PV:0:5}/
|
||||
https://downloadarchive.documentfoundation.org/libreoffice/old/${MY_PV}/src
|
||||
"
|
||||
ADDONS_URI="https://dev-www.libreoffice.org/src/"
|
||||
|
||||
BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
|
||||
# PATCHSET="${P}-patchset-01.tar.xz"
|
||||
|
||||
[[ ${MY_PV} == *9999* ]] && inherit git-r3
|
||||
inherit autotools bash-completion-r1 check-reqs flag-o-matic java-pkg-opt-2 multiprocessing python-single-r1 qmake-utils toolchain-funcs xdg-utils
|
||||
|
||||
DESCRIPTION="A full office productivity suite"
|
||||
HOMEPAGE="https://www.libreoffice.org"
|
||||
SRC_URI="branding? ( https://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
|
||||
[[ -n ${PATCHSET} ]] && SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}"
|
||||
|
||||
# Split modules following git/tarballs; Core MUST be first!
|
||||
# Help is used for the image generator
|
||||
# Only release has the tarballs
|
||||
if [[ ${MY_PV} != *9999* ]]; then
|
||||
for i in ${DEV_URI}; do
|
||||
SRC_URI+=" ${i}/${PN}-${MY_PV}.tar.xz"
|
||||
SRC_URI+=" ${i}/${PN}-help-${MY_PV}.tar.xz"
|
||||
done
|
||||
unset i
|
||||
fi
|
||||
unset DEV_URI
|
||||
|
||||
# Really required addons
|
||||
# These are bundles that can't be removed for now due to huge patchsets.
|
||||
# If you want them gone, patches are welcome.
|
||||
ADDONS_SRC=(
|
||||
# not packaged in Gentoo
|
||||
"${ADDONS_URI}/dragonbox-1.1.3.tar.gz"
|
||||
# not packaged in Gentoo, https://www.netlib.org/fp/dtoa.c
|
||||
"${ADDONS_URI}/dtoa-20180411.tgz"
|
||||
# not packaged in Gentoo, https://skia.org/
|
||||
"${ADDONS_URI}/skia-m103-b301ff025004c9cd82816c86c547588e6c24b466.tar.xz"
|
||||
"base? (
|
||||
${ADDONS_URI}/commons-logging-1.2-src.tar.gz
|
||||
${ADDONS_URI}/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
|
||||
${ADDONS_URI}/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip
|
||||
${ADDONS_URI}/eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip
|
||||
${ADDONS_URI}/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip
|
||||
${ADDONS_URI}/3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip
|
||||
${ADDONS_URI}/db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip
|
||||
${ADDONS_URI}/97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip
|
||||
${ADDONS_URI}/8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip
|
||||
${ADDONS_URI}/f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip
|
||||
${ADDONS_URI}/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip
|
||||
${ADDONS_URI}/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip
|
||||
)"
|
||||
"java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
||||
# no release for 8 years, should we package it?
|
||||
"libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )"
|
||||
# Does not build with 1.6 rhino at all
|
||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )"
|
||||
# requirement of rhino
|
||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )"
|
||||
# not packageable
|
||||
"odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )"
|
||||
)
|
||||
SRC_URI+=" ${ADDONS_SRC[*]}"
|
||||
|
||||
unset ADDONS_URI
|
||||
unset ADDONS_SRC
|
||||
|
||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
||||
SLOT="0"
|
||||
|
||||
[[ ${MY_PV} == *9999* ]] || \
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux"
|
||||
|
||||
# Extensions that need extra work:
|
||||
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
|
||||
|
||||
IUSE="accessibility base bluetooth +branding clang coinmp +cups custom-cflags +dbus debug eds firebird
|
||||
googledrive gstreamer +gtk kde ldap +mariadb odk pdfimport postgres test vulkan
|
||||
$(printf 'libreoffice_extensions_%s ' ${LO_EXTS})"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
base? ( firebird java )
|
||||
bluetooth? ( dbus )
|
||||
libreoffice_extensions_nlpsolver? ( java )
|
||||
libreoffice_extensions_scripting-beanshell? ( java )
|
||||
libreoffice_extensions_scripting-javascript? ( java )
|
||||
libreoffice_extensions_wiki-publisher? ( java )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# xmlsec version cap for bug #904387
|
||||
COMMON_DEPEND="${PYTHON_DEPS}
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-crypt/gpgme:=[cxx]
|
||||
app-text/hunspell:=
|
||||
>=app-text/libabw-0.1.0
|
||||
>=app-text/libebook-0.1
|
||||
app-text/libepubgen
|
||||
>=app-text/libetonyek-0.1
|
||||
app-text/libexttextcat
|
||||
app-text/liblangtag
|
||||
>=app-text/libmspub-0.1.0
|
||||
>=app-text/libmwaw-0.3.21
|
||||
>=app-text/libnumbertext-1.0.6
|
||||
>=app-text/libodfgen-0.1.0
|
||||
app-text/libqxp
|
||||
app-text/libstaroffice
|
||||
app-text/libwpd:0.10[tools]
|
||||
app-text/libwpg:0.3
|
||||
>=app-text/libwps-0.4
|
||||
app-text/mythes
|
||||
dev-cpp/abseil-cpp:=
|
||||
>=dev-cpp/clucene-2.3.3.4-r2
|
||||
>=dev-cpp/libcmis-0.5.2-r2
|
||||
dev-db/unixODBC
|
||||
dev-lang/perl
|
||||
dev-libs/boost:=[nls]
|
||||
dev-libs/expat
|
||||
dev-libs/hyphen
|
||||
dev-libs/icu:=
|
||||
dev-libs/libassuan
|
||||
dev-libs/libgpg-error
|
||||
>=dev-libs/liborcus-0.17.2:0/0.17
|
||||
dev-libs/librevenge
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
>=dev-libs/redland-1.0.16
|
||||
>=dev-libs/xmlsec-1.2.28:=[nss]
|
||||
<dev-libs/xmlsec-1.3.0
|
||||
>=games-engines/box2d-2.4.1:0
|
||||
media-gfx/fontforge
|
||||
media-gfx/graphite2
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2.11.0-r1:2
|
||||
>=media-libs/harfbuzz-2.6.0:=[graphite,icu]
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libcdr-0.1.0
|
||||
>=media-libs/libepoxy-1.3.1[X]
|
||||
>=media-libs/libfreehand-0.1.0
|
||||
media-libs/libjpeg-turbo:=
|
||||
media-libs/libpagemaker
|
||||
>=media-libs/libpng-1.4:0=
|
||||
>=media-libs/libvisio-0.1.0
|
||||
media-libs/libwebp:=
|
||||
media-libs/libzmf
|
||||
media-libs/openjpeg:=
|
||||
media-libs/tiff:=
|
||||
media-libs/zxing-cpp:=
|
||||
net-misc/curl
|
||||
sci-mathematics/lpsolve:=
|
||||
sys-libs/zlib
|
||||
virtual/opengl
|
||||
x11-libs/cairo[X]
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
accessibility? (
|
||||
$(python_gen_cond_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
|
||||
)
|
||||
bluetooth? (
|
||||
dev-libs/glib:2
|
||||
net-wireless/bluez
|
||||
)
|
||||
coinmp? ( sci-libs/coinor-mp )
|
||||
cups? ( net-print/cups )
|
||||
dbus? ( sys-apps/dbus )
|
||||
eds? (
|
||||
dev-libs/glib:2
|
||||
gnome-base/dconf
|
||||
gnome-extra/evolution-data-server
|
||||
)
|
||||
firebird? ( >=dev-db/firebird-3.0.2.32703.0-r1[server] )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
gtk? (
|
||||
app-accessibility/at-spi2-core:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/gobject-introspection
|
||||
gnome-base/dconf
|
||||
media-libs/mesa[egl(+)]
|
||||
x11-libs/gtk+:3[X]
|
||||
x11-libs/pango
|
||||
)
|
||||
kde? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
kde-frameworks/kconfig:5
|
||||
kde-frameworks/kcoreaddons:5
|
||||
kde-frameworks/ki18n:5
|
||||
kde-frameworks/kio:5
|
||||
kde-frameworks/kwindowsystem:5
|
||||
)
|
||||
ldap? ( net-nds/openldap:= )
|
||||
libreoffice_extensions_scripting-beanshell? ( dev-java/bsh )
|
||||
libreoffice_extensions_scripting-javascript? ( >=dev-java/rhino-1.7.14:1.6 )
|
||||
mariadb? ( dev-db/mariadb-connector-c:= )
|
||||
!mariadb? ( dev-db/mysql-connector-c:= )
|
||||
pdfimport? ( >=app-text/poppler-22.06:=[cxx] )
|
||||
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] )
|
||||
"
|
||||
# FIXME: cppunit should be moved to test conditional
|
||||
# after everything upstream is under gbuild
|
||||
# as dmake execute tests right away
|
||||
# tests apparently also need google-carlito-fonts (not packaged)
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-libs/libatomic_ops-7.2d
|
||||
dev-perl/Archive-Zip
|
||||
>=dev-util/cppunit-1.14.0
|
||||
>=dev-util/gperf-3.1
|
||||
dev-util/mdds:1/2.0
|
||||
media-libs/glm
|
||||
sys-devel/ucpp
|
||||
x11-base/xorg-proto
|
||||
x11-libs/libXt
|
||||
x11-libs/libXtst
|
||||
java? (
|
||||
dev-java/ant-core
|
||||
>=virtual/jdk-11
|
||||
)
|
||||
test? (
|
||||
app-crypt/gnupg
|
||||
dev-util/cppunit
|
||||
media-fonts/dejavu
|
||||
media-fonts/liberation-fonts
|
||||
)
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
acct-group/libreoffice
|
||||
acct-user/libreoffice
|
||||
!app-office/libreoffice-bin
|
||||
!app-office/libreoffice-bin-debug
|
||||
media-fonts/liberation-fonts
|
||||
|| ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
|
||||
java? ( >=virtual/jre-11 )
|
||||
kde? ( kde-frameworks/breeze-icons:* )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/intltool
|
||||
sys-apps/which
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
clang? (
|
||||
|| (
|
||||
( sys-devel/clang:15
|
||||
sys-devel/llvm:15
|
||||
=sys-devel/lld-15* )
|
||||
( sys-devel/clang:14
|
||||
sys-devel/llvm:14
|
||||
=sys-devel/lld-14* )
|
||||
)
|
||||
)
|
||||
odk? ( >=app-doc/doxygen-1.8.4 )
|
||||
"
|
||||
if [[ ${MY_PV} != *9999* ]] && [[ ${PV} != *_* ]]; then
|
||||
PDEPEND="=app-office/libreoffice-l10n-$(ver_cut 1-2)*"
|
||||
else
|
||||
# Translations are not reliable on live ebuilds
|
||||
# rather force people to use english only.
|
||||
RDEPEND+=" !app-office/libreoffice-l10n"
|
||||
fi
|
||||
|
||||
PATCHES=(
|
||||
# "${WORKDIR}"/${PATCHSET/.tar.xz/}
|
||||
|
||||
# not upstreamable stuff
|
||||
"${FILESDIR}/${PN}-5.3.4.2-kioclient5.patch"
|
||||
"${FILESDIR}/${PN}-6.1-nomancompress.patch"
|
||||
"${FILESDIR}/${PN}-7.2.0.4-qt5detect.patch"
|
||||
|
||||
# 7.5 branch
|
||||
"${FILESDIR}/${PN}-7.3.7.2-boost-1.81-locale.patch"
|
||||
"${FILESDIR}/${PN}-7.3.7.2-zxing-cpp-1.4.0.patch"
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
_check_reqs() {
|
||||
CHECKREQS_MEMORY="512M"
|
||||
if is-flagq "-g*" && ! is-flagq "-g*0" ; then
|
||||
CHECKREQS_DISK_BUILD="22G"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="6G"
|
||||
fi
|
||||
check-reqs_$1
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
use base ||
|
||||
ewarn "If you plan to use Base application you must enable USE base."
|
||||
use java ||
|
||||
ewarn "Without USE java, several wizards are not going to be available."
|
||||
|
||||
[[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
xdg_environment_reset
|
||||
|
||||
[[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
if [[ ${MY_PV} = *9999* ]]; then
|
||||
local base_uri branch mypv
|
||||
base_uri="https://anongit.freedesktop.org/git"
|
||||
branch="master"
|
||||
mypv=${MY_PV/.9999}
|
||||
[[ ${mypv} != ${MY_PV} ]] && branch="${PN}-${mypv/./-}"
|
||||
git-r3_fetch "${base_uri}/${PN}/core" "refs/heads/${branch}"
|
||||
git-r3_checkout "${base_uri}/${PN}/core"
|
||||
LOCOREGIT_VERSION=${EGIT_VERSION}
|
||||
|
||||
git-r3_fetch "${base_uri}/${PN}/help" "refs/heads/master"
|
||||
git-r3_checkout "${base_uri}/${PN}/help" "helpcontent2" # doesn't match on help
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# sandbox violations on many systems, we don't need it. Bug #646406
|
||||
sed -i \
|
||||
-e "/KF5_CONFIG/s/kf5-config/no/" \
|
||||
configure.ac || die "Failed to disable kf5-config"
|
||||
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
# hack in the autogen.sh
|
||||
touch autogen.lastrun
|
||||
|
||||
# sed in the tests
|
||||
sed -i \
|
||||
-e "s#all : build unitcheck#all : build#g" \
|
||||
solenv/gbuild/Module.mk || die
|
||||
sed -i \
|
||||
-e "s#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g" \
|
||||
-e "s#Makefile.gbuild all slowcheck#Makefile.gbuild all#g" \
|
||||
Makefile.in || die
|
||||
|
||||
sed -i \
|
||||
-e "s,/usr/share/bash-completion/completions,$(get_bashcompdir)," \
|
||||
-e "s,\$INSTALLDIRNAME.sh,${PN}," \
|
||||
bin/distro-install-desktop-integration || die
|
||||
|
||||
if use branding; then
|
||||
# hack...
|
||||
mv -v "${WORKDIR}/branding-intro.png" "icon-themes/colibre/brand/intro.png" || die
|
||||
fi
|
||||
|
||||
# Don't list pdfimport support in desktop when built with none, bug # 605464
|
||||
if ! use pdfimport; then
|
||||
sed -i \
|
||||
-e ":MimeType: s:application/pdf;::" \
|
||||
-e ":Keywords: s:pdf;::" \
|
||||
sysui/desktop/menus/draw.desktop || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Set up Google API keys, see https://www.chromium.org/developers/how-tos/api-keys
|
||||
# Note: these are for Gentoo use ONLY. For your own distribution, please get
|
||||
# your own set of keys. Feel free to contact chromium@gentoo.org for more info.
|
||||
local google_default_client_id="329227923882.apps.googleusercontent.com"
|
||||
local google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu"
|
||||
|
||||
# Show flags set at the beginning
|
||||
einfo "Preset CFLAGS: ${CFLAGS}"
|
||||
einfo "Preset LDFLAGS: ${LDFLAGS}"
|
||||
|
||||
if use clang ; then
|
||||
# Force clang
|
||||
einfo "Enforcing the use of clang due to USE=clang ..."
|
||||
AR=llvm-ar
|
||||
CC=${CHOST}-clang
|
||||
CXX=${CHOST}-clang++
|
||||
NM=llvm-nm
|
||||
RANLIB=llvm-ranlib
|
||||
LDFLAGS+=" -fuse-ld=lld"
|
||||
|
||||
# Not implemented by Clang, bug #903889
|
||||
filter-flags -Wlto-type-mismatch -Werror=lto-type-mismatch
|
||||
else
|
||||
# Force gcc
|
||||
einfo "Enforcing the use of gcc due to USE=-clang ..."
|
||||
AR=gcc-ar
|
||||
CC=${CHOST}-gcc
|
||||
CXX=${CHOST}-g++
|
||||
NM=gcc-nm
|
||||
RANLIB=gcc-ranlib
|
||||
|
||||
# Apparently the Clang flags get used even for GCC builds sometimes.
|
||||
# bug #838115
|
||||
sed -i -e "s/-flto=thin/-flto/" solenv/gbuild/platform/com_GCC_defs.mk || die
|
||||
fi
|
||||
|
||||
if use custom-cflags ; then
|
||||
elog "USE=custom-cflags has been selected. You are on your own to make sure that"
|
||||
elog "the build succeeds. Good luck!"
|
||||
else
|
||||
strip-flags
|
||||
fi
|
||||
|
||||
export LO_CLANG_CC=${CC}
|
||||
export LO_CLANG_CXX=${CXX}
|
||||
|
||||
# Show flags set at the end
|
||||
einfo " Used CFLAGS: ${CFLAGS}"
|
||||
einfo " Used LDFLAGS: ${LDFLAGS}"
|
||||
|
||||
# Ensure we use correct toolchain
|
||||
tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
|
||||
|
||||
if use vulkan && ! use clang ; then
|
||||
ewarn "Building skia with gcc may lead to performance issues. Disable vulkan or enable clang."
|
||||
fi
|
||||
|
||||
# optimization flags
|
||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
||||
# System python enablement:
|
||||
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
||||
export PYTHON_LIBS=$(python_get_LIBS)
|
||||
|
||||
use kde && export QT5DIR="$(qt5_get_bindir)/.."
|
||||
|
||||
local gentoo_buildid="Gentoo official package"
|
||||
if [[ -n ${LOCOREGIT_VERSION} ]]; then
|
||||
gentoo_buildid+=" (from git: ${LOCOREGIT_VERSION})"
|
||||
fi
|
||||
|
||||
# system headers/libs/...: enforce using system packages
|
||||
# --disable-breakpad: requires not-yet-in-tree dev-utils/breakpad
|
||||
# --enable-cairo: ensure that cairo is always required
|
||||
# --enable-*-link: link to the library rather than just dlopen on runtime
|
||||
# --enable-release-build: build the libreoffice as release
|
||||
# --disable-fetch-external: prevent dowloading during compile phase
|
||||
# --enable-extension-integration: enable any extension integration support
|
||||
# --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs
|
||||
# --disable-report-builder: too much java packages pulled in without pkgs
|
||||
# --without-system-sane: just sane.h header that is used for scan in writer,
|
||||
# not linked or anything else, worthless to depend on
|
||||
# --disable-pdfium: not yet packaged
|
||||
local myeconfargs=(
|
||||
--with-system-dicts
|
||||
--with-system-epoxy
|
||||
--with-system-headers
|
||||
--with-system-jars
|
||||
--with-system-libs
|
||||
--enable-build-opensymbol
|
||||
--enable-cairo-canvas
|
||||
--enable-largefile
|
||||
--enable-mergelibs
|
||||
--enable-python=system
|
||||
--enable-randr
|
||||
--enable-release-build
|
||||
--disable-breakpad
|
||||
--disable-bundle-mariadb
|
||||
--disable-ccache
|
||||
--disable-epm
|
||||
--disable-fetch-external
|
||||
--disable-gtk3-kde5
|
||||
--disable-online-update
|
||||
--disable-openssl
|
||||
--disable-pdfium
|
||||
--disable-qt6
|
||||
--with-extra-buildid="${gentoo_buildid}"
|
||||
--enable-extension-integration
|
||||
--with-external-dict-dir="${EPREFIX}/usr/share/myspell"
|
||||
--with-external-hyph-dir="${EPREFIX}/usr/share/myspell"
|
||||
--with-external-thes-dir="${EPREFIX}/usr/share/myspell"
|
||||
--with-external-tar="${DISTDIR}"
|
||||
--with-lang=""
|
||||
--with-parallelism=$(makeopts_jobs)
|
||||
--with-system-abseil
|
||||
--with-system-openjpeg
|
||||
--with-system-ucpp
|
||||
--with-tls=nss
|
||||
--with-vendor="Gentoo Foundation"
|
||||
--with-x
|
||||
--without-fonts
|
||||
--without-myspell-dicts
|
||||
--with-help="html"
|
||||
--without-helppack-integration
|
||||
--with-system-gpgmepp
|
||||
--without-system-dragonbox
|
||||
--without-system-jfreereport
|
||||
--without-system-libfixmath
|
||||
--without-system-sane
|
||||
$(use_enable base report-builder)
|
||||
$(use_enable bluetooth sdremote-bluetooth)
|
||||
$(use_enable coinmp)
|
||||
$(use_enable cups)
|
||||
$(use_enable dbus)
|
||||
$(use_enable debug)
|
||||
$(use_enable eds evolution2)
|
||||
$(use_enable firebird firebird-sdbc)
|
||||
$(use_enable gstreamer gstreamer-1-0)
|
||||
$(use_enable gtk gtk3)
|
||||
$(use_enable kde kf5)
|
||||
$(use_enable kde qt5)
|
||||
$(use_enable ldap)
|
||||
$(use_enable odk)
|
||||
$(use_enable pdfimport)
|
||||
$(use_enable postgres postgresql-sdbc)
|
||||
$(use_enable vulkan skia)
|
||||
$(use_with accessibility lxml)
|
||||
$(use_with coinmp system-coinmp)
|
||||
$(use_with googledrive gdrive-client-id ${google_default_client_id})
|
||||
$(use_with googledrive gdrive-client-secret ${google_default_client_secret})
|
||||
$(use_with java)
|
||||
$(use_with odk doxygen)
|
||||
)
|
||||
|
||||
if use eds || use gtk; then
|
||||
myeconfargs+=( --enable-dconf --enable-gio )
|
||||
else
|
||||
myeconfargs+=( --disable-dconf --disable-gio )
|
||||
fi
|
||||
|
||||
# libreoffice extensions handling
|
||||
for lo_xt in ${LO_EXTS}; do
|
||||
if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" == "scripting-javascript" ]]; then
|
||||
myeconfargs+=( $(use_enable libreoffice_extensions_${lo_xt} ${lo_xt}) )
|
||||
else
|
||||
myeconfargs+=( $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt}) )
|
||||
fi
|
||||
done
|
||||
|
||||
if use java; then
|
||||
# hsqldb: system one is too new
|
||||
myeconfargs+=(
|
||||
--without-junit
|
||||
--without-system-hsqldb
|
||||
--with-ant-home="${ANT_HOME}"
|
||||
--with-jdk-home="${JAVA_HOME}"
|
||||
)
|
||||
|
||||
use libreoffice_extensions_scripting-beanshell && \
|
||||
myeconfargs+=( --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar) )
|
||||
|
||||
use libreoffice_extensions_scripting-javascript && \
|
||||
myeconfargs+=( --with-rhino-jar=$(java-pkg_getjar rhino-1.6 rhino.jar) )
|
||||
fi
|
||||
|
||||
is-flagq "-flto*" && myeconfargs+=( --enable-lto )
|
||||
|
||||
MARIADBCONFIG="$(type -p $(usex mariadb mariadb mysql)_config)" \
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# more and more LO stuff tries to use OpenGL, including tests during build
|
||||
# bug 501508, bug 540624, bug 545974 and probably more
|
||||
addpredict /dev/dri
|
||||
addpredict /dev/ati
|
||||
addpredict /dev/nvidiactl
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake unitcheck
|
||||
emake slowcheck
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" distro-pack-install -o build -o check
|
||||
|
||||
# bug 593514
|
||||
if use gtk; then
|
||||
dosym libreoffice/program/liblibreofficekitgtk.so \
|
||||
/usr/$(get_libdir)/liblibreofficekitgtk.so
|
||||
fi
|
||||
|
||||
# bash completion aliases
|
||||
bashcomp_alias \
|
||||
libreoffice \
|
||||
unopkg loimpress lobase localc lodraw lomath lowriter lofromtemplate loweb loffice
|
||||
|
||||
if use branding; then
|
||||
insinto /usr/$(get_libdir)/${PN}/program
|
||||
newins "${WORKDIR}/branding-sofficerc" sofficerc
|
||||
dodir /etc/env.d
|
||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN} || die
|
||||
fi
|
||||
|
||||
# bug 703474
|
||||
insinto /usr/include
|
||||
doins -r include/LibreOfficeKit
|
||||
|
||||
local lodir=/usr/$(get_libdir)/libreoffice
|
||||
# patching this would break tests
|
||||
cat <<-EOF > "${T}"/uno.py
|
||||
import sys, os
|
||||
sys.path.append('${EPREFIX}${lodir}/program')
|
||||
os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:${EPREFIX}${lodir}/program/fundamentalrc')
|
||||
EOF
|
||||
sed -e "/^import sys/d" -e "/^import os/d" \
|
||||
-i "${D}"${lodir}/program/uno.py || die "cleanup dupl imports failed"
|
||||
cat "${D}"${lodir}/program/uno.py >> "${T}"/uno.py || die
|
||||
cp "${T}"/uno.py "${D}"${lodir}/program/uno.py || die
|
||||
|
||||
# more system pyuno mess
|
||||
sed -e "/sOffice = \"\" # lets hope for the best/s:\"\":\"${EPREFIX}${lodir}/program\":" \
|
||||
-i "${D}"${lodir}/program/officehelper.py || die
|
||||
|
||||
python_optimize "${D}"${lodir}/program
|
||||
# link python bridge in site-packages, bug 667802
|
||||
local py pyc loprogdir=/usr/$(get_libdir)/libreoffice/program
|
||||
for py in uno.py unohelper.py officehelper.py; do
|
||||
dosym -r ${loprogdir}/${py} $(python_get_sitedir)/${py}
|
||||
while IFS="" read -d $'\0' -r pyc; do
|
||||
pyc=${pyc//*\/}
|
||||
dosym -r ${loprogdir}/__pycache__/${pyc} $(python_get_sitedir)/__pycache__/${pyc}
|
||||
done < <(find "${D}"${lodir}/program -type f -name ${py/.py/*.pyc} -print0)
|
||||
done
|
||||
|
||||
newinitd "${FILESDIR}/libreoffice.initd" libreoffice
|
||||
newconfd "${FILESDIR}/libreoffice.confd" libreoffice
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -0,0 +1,188 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
MY_P="${P/_}"
|
||||
inherit desktop font optfeature python-single-r1 qmake-utils toolchain-funcs xdg-utils
|
||||
|
||||
DESCRIPTION="WYSIWYM (What You See Is What You Mean) document processor based on LaTeX"
|
||||
HOMEPAGE="https://www.lyx.org/"
|
||||
SRC_URI="http://ftp.lyx.org/pub/lyx/stable/$(ver_cut 1-2).x/${MY_P}-1.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
|
||||
IUSE="aspell cups debug dia dot enchant gnumeric html +hunspell +latex monolithic-build nls rcs rtf svg l10n_he"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# bc needed http://comments.gmane.org/gmane.editors.lyx.devel/137498 and bug #787839
|
||||
BDEPEND="
|
||||
sys-devel/bc
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
app-text/mythes
|
||||
dev-libs/boost:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
sys-apps/file
|
||||
sys-libs/zlib
|
||||
virtual/imagemagick-tools[png,svg?]
|
||||
|
||||
x11-misc/xdg-utils
|
||||
|
||||
aspell? ( app-text/aspell )
|
||||
cups? ( net-print/cups )
|
||||
dia? ( app-office/dia )
|
||||
dot? ( media-gfx/graphviz )
|
||||
enchant? ( app-text/enchant:2 )
|
||||
gnumeric? ( app-office/gnumeric )
|
||||
html? ( dev-tex/html2latex )
|
||||
hunspell? ( app-text/hunspell )
|
||||
l10n_he? ( dev-tex/culmus-latex )
|
||||
latex? (
|
||||
app-text/dvipng
|
||||
app-text/ghostscript-gpl
|
||||
app-text/ps2eps
|
||||
app-text/texlive
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-mathscience
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-plaingeneric
|
||||
|| (
|
||||
dev-tex/hevea
|
||||
dev-tex/latex2html
|
||||
dev-tex/tex4ht[java]
|
||||
dev-tex/tth
|
||||
)
|
||||
)
|
||||
rcs? ( dev-vcs/rcs )
|
||||
rtf? (
|
||||
app-text/unrtf
|
||||
dev-tex/html2latex
|
||||
dev-tex/latex2rtf
|
||||
)
|
||||
svg? ( || ( gnome-base/librsvg media-gfx/inkscape ) )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-qt/qtconcurrent:5
|
||||
"
|
||||
|
||||
DOCS=( ANNOUNCE NEWS README RELEASE-NOTES UPGRADING )
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
FONT_S="${S}/lib/fonts"
|
||||
FONT_SUFFIX="ttf"
|
||||
|
||||
PATCHES=(
|
||||
# Try first with xdg-open before hardcoded commands
|
||||
# Patch from Debian using a similar approach to Fedora
|
||||
"${FILESDIR}"/${PN}-prefer-xdg-open.patch
|
||||
|
||||
# Already part of 2.4.x (from Fedora)
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1965118
|
||||
"${FILESDIR}"/${PN}-2.3.6.1-python.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
font_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed "s:python -tt:${EPYTHON} -tt:g" -i lib/configure.py || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CXX
|
||||
#bug 221921
|
||||
export VARTEXFONTS="${T}"/fonts
|
||||
|
||||
econf \
|
||||
$(use_with aspell) \
|
||||
$(use_enable debug) \
|
||||
$(use_with enchant) \
|
||||
$(use_with hunspell) \
|
||||
$(use_enable monolithic-build) \
|
||||
$(use_enable nls) \
|
||||
--enable-qt5 \
|
||||
--with-qt-dir=$(qt5_get_libdir)/qt5 \
|
||||
--disable-stdlib-debug \
|
||||
--without-included-boost \
|
||||
--with-packaging=posix
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use l10n_he ; then
|
||||
echo "\bind_file cua" > "${T}"/hebrew.bind || die
|
||||
echo "\bind \"F12\" \"language hebrew\"" >> "${T}"/hebrew.bind || die
|
||||
|
||||
insinto /usr/share/lyx/bind
|
||||
doins "${T}"/hebrew.bind
|
||||
fi
|
||||
|
||||
newicon -s 32 "development/Win32/packaging/icons/lyx_32x32.png" ${PN}.png
|
||||
doicon -s 48 "lib/images/lyx.png"
|
||||
doicon -s scalable "lib/images/lyx.svg"
|
||||
|
||||
# fix for bug 91108
|
||||
if use latex ; then
|
||||
dosym ../../../lyx/tex /usr/share/texmf-site/tex/latex/lyx
|
||||
fi
|
||||
|
||||
# fonts needed for proper math display, see also bug #15629
|
||||
font_src_install
|
||||
|
||||
python_fix_shebang "${ED}"/usr/share/${PN}
|
||||
|
||||
if use hunspell ; then
|
||||
dosym ../myspell /usr/share/lyx/dicts
|
||||
dosym ../myspell /usr/share/lyx/thes
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
font_pkg_postinst
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
|
||||
# fix for bug 91108
|
||||
if use latex ; then
|
||||
texhash || die
|
||||
fi
|
||||
|
||||
# instructions for RTL support. See also bug 168331.
|
||||
if use l10n_he || has he ${LINGUAS} || has ar ${LINGUAS} ; then
|
||||
elog
|
||||
elog "Enabling RTL support in LyX:"
|
||||
elog "If you intend to use a RTL language (such as Hebrew or Arabic)"
|
||||
elog "You must enable RTL support in LyX. To do so start LyX and go to"
|
||||
elog "Tools->Preferences->Language settings->Language"
|
||||
elog "and make sure the \"Right-to-left language support\" is checked"
|
||||
elog
|
||||
fi
|
||||
|
||||
optfeature "handling more fonts" dev-texlive/texlive-fontsextra
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
|
||||
if use latex ; then
|
||||
texhash || die
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST nattka-0.4.1.gh.tar.gz 95941 BLAKE2B 4037c2b364c091e10f4684e8c1e59c26c7af943c6cf230058b115d4518f9b7589ca845a5174f6f99280b2cb1655544afe3ba727ef6276570a00fcd3e6117c382 SHA512 d490999b6a4b4938f85081750c9b67f3876b666c99f6b36eada32a66c0111fc2f1be231b49b08754b1213b616b854d5bb4865ea8e3540e2d48b504fdb7047d2f
|
||||
EBUILD nattka-0.4.1.ebuild 1004 BLAKE2B 7b289c05b97eaf687d128376554fa8466a69de268517c25a2c51db4ec8c97607e2d7e5dae95f13cd7561d9dfb61c44ed67f267c01d7fa19956ff4f39d66c1640 SHA512 f65d1efeb9c66b67584c3edf88e613146dedd6569a99747ecfc56359691aea9417f7e6e820822d74d25d16b215d6b82c1ac01429ec21a194860fe151785a5af4
|
||||
EBUILD nattka-0.4.1.ebuild 1004 BLAKE2B d2ad6c5f1d5c3b651edbbab47bf74f7f2ad623e5ee77b2c57ba9546f345b15cc57398e1f5e1cee3de540632ba93d6fa12815fdf111f0a46485c66ec949720a22 SHA512 709d550b154c334d042edb4fdb02a2a37c86abc37b2b9af3872f1e08a1858befef563bf21c09e4f8b5b83dacbd2e9a1b61c25c0f43077b230744435ea61ee249
|
||||
MISC metadata.xml 507 BLAKE2B 8a1c2cdea4e8af36c498cdcab09ce144df070f082ed18a7fae9b6efdc51a62ed47d6afe77de4a416811e1d29bdb8989f4a470a012c6e08db757a34ecd60871c7 SHA512 82acdc10588aaae42fe818de37bc2ba23464e46847d8e9ee83240a6555e1b7d94a3495fa8df964b142977f9b42a404d5cf01ca2e345a4a2a36594a1039a76e70
|
||||
|
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