Sync with portage [Fri Jul 31 13:23:38 MSK 2020].

develop 1733
root 4 years ago
parent c014457f53
commit 5c6a94565b

Binary file not shown.

Binary file not shown.

@ -1,5 +1,4 @@
DIST sysstat-12.2.1.tar.gz 1227707 BLAKE2B 566382d83a0230517d22e2630a9cb1aa631d761c914188a4e7fb15eddaedbd25b8a3dffa9893b1b2bbcc31d87a37cbe11b2b50ab0ec94a28f84018685d1b35c8 SHA512 a19d0978eb11071c228462cda496a59721541e57a1d15cb2d0964f287ac2d50b5587fa5bc2b8fe6be2a1f00cbf2e7c3bc59db6494e3e8c1906aa81437b30d073
DIST sysstat-12.2.2.tar.gz 1227793 BLAKE2B 7dcfe904aa60e9c61af516e718668a3f8fb9e4274c51a2c9d44b5e56dc6cf27ffb18d44641970f75abe1c1f8a2c5df8b7a7874da8745757f937ccc2ffbfa03d4 SHA512 82f4fb1e78a26275bdc6f6939dd2c75d7822e930992e74c1eaeda65c0e873d88e777a7f315c7b073aaacb6956281b2119448af2ca22ae6e7f1d20c370b01e3e4
DIST sysstat-12.3.1.tar.gz 1245248 BLAKE2B 69848c452642be992c7b4af33268c0d6b30f16e5ea44ec13b00ab57e6ec3b498d92b707a53757de9066138a9ee92b995765f44f75f692e1b3c68d829519d53ca SHA512 f67a2dac22748217687bd7f58521c0719754f13298fb5faed8a6d58c2bb1f8620428191d0415e816eea07bb3ca81453e057d03c7db0096430ad7d6ba6b7b611e
DIST sysstat-12.3.2.tar.gz 1335057 BLAKE2B e075d0def13cd786dd0c3c49d0770cfe3e946a6b6f500e4364bc30d79fdec08ee8b4c4a2ef3b0188da3435f5921e0b27c8dbd8845a6c6116cba88f8684992674 SHA512 e78feb082a6ccd634f1f1565769b56a6b7aee95853334e73395489445f6f0d96d2b5bdfeacec16f4530be8383ebc3b6b126e7df93abc3e67c409b3791d02e275
DIST sysstat-12.3.3.tar.gz 1365214 BLAKE2B bd7969bbade8e4d00fd1c918ee59222d136908d932caabdc042b0ff09fcf9b4462aece256969736b68b0bd0f0138692c1af446000cbe1d0e2d294105b7da7658 SHA512 9bebb36c6bc8d8a105921b43cf458cd4691d2dd29d9534b9bf9b00e2d1dd907e99c4aefb928da75b31c057784be59d0c6fb4420ad8c97b3c2600f5493094ca9a
DIST sysstat-12.2.3.tar.gz 1227666 BLAKE2B e78cba586eb8e5f5a971f608ee0df39a20e3af9f02db1778c52bbb09eb4565e29ffb79d68ed00af0142ccbf1120b97825c638b323b53e0b210c96bf808db4aa1 SHA512 d837193b59840b1b1a87f927a4416ba4c688f3b470be00e9ab013b62b2f11e7b963ef4cf521bc42a0a041ea8923e176922ee5b6df56c0612b6646054b048f067
DIST sysstat-12.4.0.tar.gz 1375207 BLAKE2B 66a9c15bb4e3b349158c9f7ab37d00c77844f0fd654df1b613141d906d3c89477e581d7143c77ba6952dd2cc7296f0611bc99aeec8e55e8090a488d5a286ee8b SHA512 156cb38bc4cedb68278d9054ce5b477cbdc84d2480ca302988c0fb5427b9f1f823f0939f2bc1c91fa7657b00b29d02d1f58aeafd342eef83b07d79c3f4141be4

@ -1,81 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils flag-o-matic systemd toolchain-funcs
DESCRIPTION="System performance tools for Linux"
HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="debug nls lm-sensors selinux static"
CDEPEND="
nls? ( virtual/libintl )
lm-sensors? ( sys-apps/lm-sensors:= )
"
DEPEND="
${CDEPEND}
nls? ( sys-devel/gettext )
"
RDEPEND="
${CDEPEND}
selinux? ( sec-policy/selinux-sysstat )
"
PATCHES=(
"${FILESDIR}"/${PN}-11.0.4-cron.patch
"${FILESDIR}"/${PN}-11.7.3-flags.patch
)
src_prepare() {
if use nls; then
strip-linguas -i nls/
local lingua pofile
for pofile in nls/*.po; do
lingua=${pofile/nls\/}
lingua=${lingua/.po}
if ! has ${lingua} ${LINGUAS}; then
rm "nls/${lingua}.po" || die
fi
done
fi
default
}
src_configure() {
tc-export AR
use static && append-ldflags -static
sa_lib_dir=/usr/lib/sa \
conf_dir=/etc \
econf \
$(use_enable lm-sensors sensors) \
$(use_enable nls) \
$(usex debug --enable-debuginfo '') \
--enable-copy-only \
--enable-documentation \
--enable-install-cron \
--with-systemdsystemunitdir=$(systemd_get_systemunitdir)
}
src_install() {
keepdir /var/log/sa
emake \
CHOWN=true \
DESTDIR="${D}" \
DOC_DIR=/usr/share/doc/${PF} \
MANGRPARG='' \
install
dodoc -r contrib/
newinitd "${FILESDIR}"/${PN}.init.d ${PN}
systemd_dounit ${PN}.service
rm "${D}"/usr/share/doc/${PF}/COPYING || die
}

@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="debug nls lm-sensors selinux static"
IUSE="debug nls lm-sensors selinux static systemd"
CDEPEND="
nls? ( virtual/libintl )
@ -26,7 +26,6 @@ RDEPEND="
selinux? ( sec-policy/selinux-sysstat )
"
PATCHES=(
"${FILESDIR}"/${PN}-11.0.4-cron.patch
"${FILESDIR}"/${PN}-11.7.3-flags.patch
)
@ -50,12 +49,15 @@ src_configure() {
tc-export AR
use static && append-ldflags -static
# --enable-compress-manpg <= Yes, that is inverted.
sa_lib_dir=/usr/lib/sa \
conf_dir=/etc \
econf \
$(use_enable !systemd use-crond) \
$(use_enable lm-sensors sensors) \
$(use_enable nls) \
$(usex debug --enable-debuginfo '') \
--enable-compress-manpg \
--enable-copy-only \
--enable-documentation \
--enable-install-cron \

Binary file not shown.

@ -11,3 +11,5 @@ DESCRIPTION="Eusebian Numbers"
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=Eusebian_num"
LICENSE="public-domain"
KEYWORDS="~amd64 ~ppc ~x86"
RDEPEND="!app-dicts/sword-Eusebian_vs"

@ -11,3 +11,5 @@ DESCRIPTION="Eusebian Numbers By Verse"
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=Eusebian_vs"
LICENSE="public-domain"
KEYWORDS="~amd64 ~ppc ~x86"
RDEPEND="!app-dicts/sword-Eusebian_num"

@ -1 +1 @@
DIST FinBiblia-1.1.zip 1484005 BLAKE2B 57ff18669847b161a35ac377983cf6fc18df3a724395e160b0563de50d5e21cce8cfb749ea622554690b195c0e51b623d31caa50eefbfcb2cffe01e3a1ee98e1 SHA512 dd6c384651b3f526e54b1da097205c5ea8c74a697c5b7fa0cbdf2d4d771b140468bc2823bbe886544c484f8f0135162b49fe7184ec1eb4476d1f05f5c834d6db
DIST FinBiblia-2.0.zip 1885484 BLAKE2B 53222880dbaa7a34ebdaf19ae1b6478b8b8fd1cf76056425705719456b1b59e14497ff36766a35bfb7feb44e9ed2697e33d81219a0ab70f6b779067fe2a4be19 SHA512 93ebc3b8bd8babaa165cb7767e917434655c1726c3dc4c4cd96dff46f8e845b9ea36cb372f65372493464132a0fee15a6e5f8fdb4d142e2f830540c8b70167f6

@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="FinBiblia"
SWORD_MINIMUM_VERSION="1.6.0"
inherit sword-module

@ -1 +1 @@
DIST FinPR-1.2.zip 1514588 BLAKE2B 6858560320280b3d9e043ba7b8778dbcb52c0e9bc0e8aa998c1f999fa729ae80a2d088279b3bb50a27d83bb9a1ef060a4f117130206d35ba336a8f2fdc87d35c SHA512 f0cf531a1f27275e597cfb62a19ea2e88b0098366dc5d1bad564e1bce77a47e41f2806c66e226e3dde877a505a7a7e490bbc76f3a9335b270e04120d65c4cbae
DIST FinPR-1.2.2.zip 1514653 BLAKE2B 7fd6f786bf4512851306093f90fc26ee16d3e307e8809353e3fb2e86c2db19098054555a5b60efa4933488929a3d75f0d71d2e94c4ad999d1497ea1cc8bfb838 SHA512 e3796c39cb2a500c2e94c53979c1bab11ba7a60104e67440a2a6b2458775677cdc319198ced5af4b5398fb3e97fd503b372389e687eeffcc2ad23e90ffaa3227

@ -2,11 +2,12 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="FinPR"
SWORD_MINIMUM_VERSION="1.5.2"
inherit sword-module
DESCRIPTION="Finnish Pyh, Raamattu (1933/1938)"
DESCRIPTION="Finnish Pyhä Raamattu (1933/1938)"
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=FinPR"
LICENSE="public-domain"
KEYWORDS="~amd64 ~ppc ~x86"

@ -1 +1 @@
DIST FreBBB-1.1.zip 1535395 BLAKE2B 8a9a9d1b60488064e862c58bbd393c2faed1ac3e65f59512fe76fcb8ff7024550575b7d1b429975ec5fcea719231423907cfda2f41765e6429c63f8036cdc42f SHA512 d97227362dad68a40006b07e717abc3aaffdded14bdd950f17ffc42abb20bf6645e2e6e1adb92b372d62edc4218c43ccecdb16c221c60d29a5490d55c29e0066
DIST FreBBB-1.3.zip 1578363 BLAKE2B 5175ac1cf66fda314b3e01d72717e35d16f9476315f5f37afcf074734412d4f5a6b71f9154496b1cca410c725af9aead97f10575b1f10823383c3f1ab565d0ae SHA512 71f947a6e78a1edbfc3e59cd045ec06b50767fde5a55d1868d0a3619d7d0506c23aaad9d69586f4327e3793fb02c615ecd29005d416c8b262aceff331ba0447c

@ -5,4 +5,12 @@
<email>marecki@gentoo.org</email>
<name>Marek Szuba</name>
</maintainer>
<longdescription lang="en">
This Sword Bible module provides the french translation of the OT by Félix Bovet (1824-1903), and of the NT by Louis Bonnet (1805-1892). They both are extracted from a well known commentary in France and Switzerland, still very appreciated today : "La Bible annotée".
For practical reasons the verses reference have been modified to match the KJV one.
</longdescription>
<longdescription lang="fr">
Ce module Sword FreBBB est composé de la traduction française de Félix Bovet (1824-1903) pour l'Ancien Testament, et de Louis Bonnet pour le Nouveau. Elles sont extraites de l'ouvrage bien connu : "La Bible annotée". Toutes les deux réunissent des qualités d'exactitude et d'expression qui les rendent agréables à lire par elles-mêmes, indépendamment de leurs notes.
Afin de faciliter l'intégration aux logiciels bibliques, la numération des versets est celle de la King James. Claude Royère claude.royere@gmail.com http://epelorient.free.fr
</longdescription>
</pkgmetadata>

@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="FreBBB"
SWORD_MINIMUM_VERSION="1.5.1a"
inherit sword-module

@ -1 +1 @@
DIST FreCrampon-1.1.zip 1572977 BLAKE2B 81d710ba5404bc52306c25d714bc7dafce8f8d5d1f71e67a886f1a2322962c6dc3e4b13e62e198637622bafa163e1ca29c033a5d12374ab5ad7ca3d2d7165dfc SHA512 41853b727ed3807527135c83b3f1b9c0e7284cd74cf4bb7841d30712eac4405063b98c1d92cf31d97998982ac5a7b659e77e65d150e31bf017b3290be1e9f20a
DIST FreCrampon-3.0.zip 2097817 BLAKE2B 22c47da09251b3f5f187347e8d3f07d63a49232268e1bb2765189d045d5e22b31b570582248ed213079c4ceb602582410b64ea3f76d8c5aec981a3644829a3e5 SHA512 24337f7b718c3aefe7c38ebc44aa98666c5748f493bbf80314a73fa885606f89ee08a48b8cfaa475b32e8ec68eec375c41e91ed61637186bf080e41927655799

@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="FreCrampon"
SWORD_MINIMUM_VERSION="1.6.2"
inherit sword-module

@ -1 +1 @@
DIST Geneva1599-1.1.zip 1449107 BLAKE2B fb316611c5b8af0f702615197d3532a463930331b27d581f28b4863b92be65961542ea06b004a968fa066bfc60a28f5d84108fc5cb9cd21e5df92256f044132a SHA512 d89e8616ff06c9f6c1c39ecb7542568e9b3bcdc3c7de1aa38a6ea53a3eb87a9279b1a05f6804c2f3f00e5b47e68be6b01a8a768eac52b21f3c5a99fefe3ab8d5
DIST Geneva1599-2.0.zip 1535614 BLAKE2B 16805bc79979363440855f4178f580e8bb48281eee15e480051e770a423e2d147aaa0b3cc391a4eee71fbbe6e34a684efb57cf98b1573ef6a794ca7d47d2a1b5 SHA512 d33af875c7e06074d1ceb5777e863097df0c8b3df9b1637975e5e3e0310dac3ee0e9ec51a3deb82da92ddb154808ad7902db7c1d22aeee68bb5201d1b2a6fc99

@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="Geneva1599"
SWORD_MINIMUM_VERSION="1.6.0"
inherit sword-module

@ -1 +1 @@
DIST GerElb1871-1.1.zip 1733446 BLAKE2B 19f682151450fd65cee999aa2c9cc5f9a66fb4923755c11bab819dbf1ef11aa4d969f2c233020892bd8e8f3ba9a645eed88d70f0db40bc5a5f1651992b6d2260 SHA512 293d97bebf074de8cfad1b1cc0d62c47d29378b07c91ece870ab6a0c235a8c36572324d181a014c0b1ce46d56f67935bb17724a5ac4e9b7cf95aa0219a411d1c
DIST GerElb1871-1.2.zip 1749307 BLAKE2B b699eec36f3f8294a372d2c23b8dce3e2055b1840b1f57fe2dd9e30ab99531c05046586dead63bb7b7a1c0e68c8b81af40b438d8f3f4860b73a640553d1877e3 SHA512 f5ea9ed51884166f4fcb11d597faa6783040717012c29750d0ac823aa73fb7ac69848404837e5b8e99cde68e57cd202322f40d8557da2b45fc39d4bb52c5815b

@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="GerElb1871"
SWORD_MINIMUM_VERSION="1.5.9"
inherit sword-module

@ -1 +1 @@
DIST GerLut1545-1.2.zip 1463147 BLAKE2B 42c144540398634c71731e5277d167c0fe66fbcfd41e198c57709cd7883b3318b862804c061ece2847926d0b72eb18b29c176184be7211e0e502ddb99ecaf844 SHA512 bc58a7661f68936ee035bf89c580da7ee9f0ea678f81f859956f0c7074df39894a91bee4e5032db8d1e6bf4c05744de876e4890b9a85ca8f18a4c33144103fed
DIST GerLut1545-2.0.1.zip 1517287 BLAKE2B a33cd85262d0b5900418d72e88e37ec77537e28c41adcabd130c86893f9d88f7a21983685c11b8552e798388bc6787c8482c33d433d76782fdb390915162623e SHA512 d247080dafbc24d57a14becfbef6c3fab8c43bea42085e9bc861bf02cc53e6f13ac0fe03b59e3ca26101b976db6edeaa096cd2941f80fd905cddd18eb362acc5

@ -2,11 +2,12 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="GerLut1545"
SWORD_MINIMUM_VERSION="1.7.0"
inherit sword-module
DESCRIPTION="German Unrevidierte Luther Ubersetzung von 1545"
DESCRIPTION="German Luther Übersetzung von 1545 (moderne Rechtschreibung)"
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=GerLut1545"
LICENSE="public-domain"
KEYWORDS="~amd64 ~ppc ~x86"

@ -1 +1 @@
DIST GerSch-1.1.zip 1573735 BLAKE2B d94aea6674c5c4cd7c59803b14c547abe6fd3c877b8cd2e71460b0358068a1516691f80ab783b9d3bad67a2b426ea169eeab1f7b3a92eacd5f82d453c0154b3e SHA512 483647dc8c7b2d691cc18ff58de6709894e04b50a6d9971bf8c2e5924677a73cd0fd4b7131793b9530cbeef6fb7e4456e1161d6861a1e500f9734c3f2160c396
DIST GerSch-1.1.1.zip 1573777 BLAKE2B c11422e778ec199c16340c3191b08588ec6e6e25b95563a391da13d32a1aed50e9a6b4eac9519ade2969e850a0ee30ec9754312b0b2877a912f9a2e505b8636e SHA512 68b0a0b1bd084539f22123916c535ce09c3440dafcfd34e5363401294023f026d7246fcafb51b82d5b0b8114aef5b42db6dcb7dc80c5210f6b4b3749a95e60af

@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="GerSch"
SWORD_MINIMUM_VERSION="1.5.1a"
inherit sword-module

@ -1 +1 @@
DIST ItaDio-1.0.zip 1530887 BLAKE2B caef079a979f10dcefc5b3b63f4d3c2455dbcf89241b6afd8186306120f30ed9da51212739d765b98c354038b115be15e3074f6960927762f89a7b5d2cea0868 SHA512 7e2338fa743cd98437015bbd0c52df27999bc70563d7b923b2d23eb60e6f18baa5e272170838662c4f4c20c0d6bb97e4eef4f2460bbedd400ba4be1467ce59a8
DIST ItaDio-1.1.zip 1579402 BLAKE2B 604b61130c8b24621ba05c040df61fd2555798c17cd859b248ecc3075a6646059a8f4b2e7f747c5208af81e7fd8ba0f5d53fc0cec8bda4b7b87937e789f5deed SHA512 560f19983f51d80e995e01abefe19455ebe3ae00b461930d58385621d1836f39e93bb9da973043f81fa3608cce48832cba556c337936e7c41ade01968d045c70

@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="ItaDio"
SWORD_MINIMUM_VERSION="1.5.9"
inherit sword-module

@ -1 +1 @@
DIST ItaRive-1.0.zip 1528624 BLAKE2B a1dabd9a299b89b2b4bbc1449a807de407610b50c893abf8ae6945322171b23b1247557735f54f281dc7b6dd4a2589a6a492f2dc5c98f9eec35931ae04e2f197 SHA512 8dbbd97f4a35ec5493dc335ff280ae18054c539d5fe30096b857dd61ab566768f945176c013d57658851826d3874ae944fde111d4c9e89c875dfc55dbd569dc6
DIST ItaRive-1.1.zip 1575958 BLAKE2B 7f5071ddf807e37c9b3f4264ce6d2e5936dd09a0e22a07984773c8850d5b059197c402b8d8bf6a074e38f856904d03de6fef3f6097ea523fed6b4a15ab706cf6 SHA512 7f845fc9a2d8b248df22de2590971804944e2c6dd17ad5c1a711037ec200e95ae1b1b13cdc7433bb9630c91c04af605465169c9b2cd5b06adee4cfce92656162

@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="ItaRive"
SWORD_MINIMUM_VERSION="1.5.9"
inherit sword-module

@ -1 +1 @@
DIST JPS-1.2.zip 1086344 BLAKE2B 0d9875acda95a2fc204b9b21ee8828c89bf3d915f7d65543eef27f4ab17d3aa9ba3deb9b909601a6e4ba92aeb4a4e6fa7e9299cbdd4ac323e3692370206ffbb3 SHA512 fcc9dc8b552aa5074aab74086d2e3dd8f12b5419d1d9208bb3ea4bc86117bac5d69e3d3ef118d507317aa076ae1480774973d30904234cc6d478822b324c1844
DIST JPS-2.1.zip 1157711 BLAKE2B 888d81775a0f933dec64ee83b204dd70b3ee94261cb0387475bd564521445ce75db74e2708ea04d3772a13caad3d95d01e4e588bb7fa60669bdb8e50691fb226 SHA512 78ee5dda684a2617b5749a4dbc9174cffc59addfe6ff988504de711e1b66da9c74bb0084b9c02e40f525c86a7dfc44a187d17b2ed7e68b769b81e941e17e3f7d

@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="JPS"
SWORD_MINIMUM_VERSION="1.6.0"
inherit sword-module

@ -1 +1 @@
DIST LITV-1.3.zip 1435344 BLAKE2B c60241f414a5cc9b747029d65dd79fae0634cf616f5a0af5d0213b9ba171b5677870bf52b4a529b3d59c1193783551f465efd72ff22cee35005e0f59d92fb943 SHA512 9aea030c96277bc591dac7bb45230c2ea006dbd241b2ada7be086a350ab0c5de8face5153c99d46ed35ecb00956f327cb1c7db0ed6f6d4c8ae0334085e6974b2
DIST LITV-1.4.zip 1449901 BLAKE2B 34cc315144dd09f4b850fc5b1414fe20bc44d0880d08681435c6a6049d450853f06b5a7bb16789c52747706bea8b2ae1a0d05d95d3f32623ee8d2e640709a187 SHA512 fd1a70df91d08c048c8689ccd77e9f77dc53300543aa2a9ae6c413b04c31724dd8b088008b9f7087600200d881397a7b82ac9af5813becd53eb5041d6979de5b

@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="LITV"
SWORD_MINIMUM_VERSION="1.5.9"
inherit sword-module

@ -1 +1 @@
DIST MKJV-1.3.zip 1429038 BLAKE2B 50b781f6d6cf9a792eb353c8022a454a3da3cfe0e14facc4fda53f6e4b619f0f07e341258bcd258f9b3291ea7e67542f23c82ff1b9b08950272b80bf41f2b5d5 SHA512 2a6efa4f270cb783e122a73f1c66795237edd73da030b00654ae2e4ad43dc11ed4b9c59fbc0f64a9c3528bbc5f87ecdab207b24406a77714c7fd642e9e0613b4
DIST MKJV-1.4.zip 1443590 BLAKE2B e4650b622ba7dccfa1443e2bcdd40933290fb670ddb32ddd84f4ecca89adc9edd06ca4b0a805ae462ee1c7e6ed10b312cabd8e8643c7911ee11758be43605934 SHA512 7f0c88f76b28f03c705f122289e574a3906a11847fde0f0737cfb7f7adc04cbe68cb9d501c854734fb4fc949528c5136aa75a68eda7ed3e8c3807e10ee09cfd6

@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="MKJV"
SWORD_MINIMUM_VERSION="1.5.9"
inherit sword-module

@ -1 +1 @@
DIST Norsk-1.5.zip 1418861 BLAKE2B e915b99acbc957b07a1a562c4eb6fee50e9ac3f5a81564676b18693ab43ef494c355e9a150955d0ec3d83df9618dda41e94e4691b80200d0d159d89ead79fe77 SHA512 8244cffd408f286d6b7cac59b1f40d208aabc50b1728c993bc95dab0808b0d866f30710b13b63dd70cc1e8f36cb6fd4a8ba787688b4eb632784139cf25542c43
DIST Norsk-2.0.zip 1509279 BLAKE2B e6819ad66b3925b8844061a60989b8d17e0dfd85807f9042fcd0db610f57aadf5442511fa5e494bb7c31253c49e03f5e087eeb9e2b76b907864b30abbe1fc97c SHA512 5793934f37deb1ee8fe9a6916741f99ce24dfd8bb6d1d3cba851b2d7e9882949a6548fcdd8f7a6add0002ce93f7c0f0fd4e0b8b6eec7959df43e7aa7b0caf27b

@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="Norsk"
SWORD_MINIMUM_VERSION="1.5.9"
inherit sword-module

@ -1 +1 @@
DIST Peshitta-1.1.zip 308669 BLAKE2B 7a66088615c3180f45300d2ed7ede4dd1b26d0e6c542981b002e8f18982afdbb74463bb37df88cc7b483ca95dd3584364d0953aea44e25cdd3964018ea5a3a8e SHA512 0d25a25c65421f5538be69991d56c0cad3ac749dc3e85dd4004b029827a3d6796c5e713975c2af88820f97d672925443ebe05ca61c0f2f379f6dc3dd4271b5b0
DIST Peshitta-2.0.zip 324100 BLAKE2B ba109b5fbb1ab09c34d8667bd1a0deda3669096f84bcee394ac438517f80ba9f223c4744b9acd851c8ffc6d1690f803bbc198e17525852b1fb1e1ef8e4731fa7 SHA512 af21f0e6fe15a585f82bbc5b29d659612bda5cacbc32739a708a986733c913b70f1197b03d0d97b9e5c0a5f13aefd0d4f932259776511fc9a4a87c6d757f70a0

@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="Peshitta"
SWORD_MINIMUM_VERSION="1.5.9"
inherit sword-module

@ -1 +1 @@
DIST Rotherham-1.6.zip 1579317 BLAKE2B d1d1bb11fd28a55c39dd211c5f15387d9512ef33bf95eec226e634d1a2bc59aff6fa024993c1e93409d1dc8b3ef07cb233527a88da5a5aa699cfb1d4d019151d SHA512 6a5122884fade9bfa8ce4430a35da5cf0593cafd1d6ed380b9c6455ea6033345d06a99e770cf1d823b3f88dc294550b52063ebc660bad10f1c8211675ac424e6
DIST Rotherham-1.7.zip 1682887 BLAKE2B bfa0399059943adefefa442b00005e197c4bb9595c9868e48f3d2c5124e179a97bd7e6462debe86c24b1869af0ebc18c54af54265ef9676eab5a1b12e78f342b SHA512 bb192b47eaee4a81e1f643c3e29c5b94664beb5e7eb794f148f52a951425198fc41183dedd526a40d1854967f37cbebb264946b158227749509e55ad69dec2b8

@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="Rotherham"
SWORD_MINIMUM_VERSION="1.7.2"
inherit sword-module

@ -1 +1 @@
DIST RusMakarij-1.1.zip 308240 BLAKE2B e3b4a6aebec982e27d7da3af7d378cfbe3657e8796eedcc6c4551e425fef647acf284d86b227c1c3cda7df8728025d188793d9432101b60a434fde3195419c3c SHA512 88446e27cf2a8a4533a55692a0bdf4b8560be8124190a85f39a460b09927f8150ff773ea81c3429528f8012f6369ab8e4de4f1cabc2a9836f2a3376d9288e000
DIST RusMakarij-2.0.zip 312568 BLAKE2B d60b79beacbbe98ce28f008030c03ccb09b18102171af206f1f5794edfa78ae84cc81f9da140989e7d267d264400074412b18807fb194c7035def6ad813a30a5 SHA512 0b3bc4d40df6af1d8d3a23785df396c7d784b6895735e215b3428156f3edc28bada41539d9d2c8b2816fa63c1e4ba57b6bf501cabda2a30e8cda2ecd7083fdb1

@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="RusMakarij"
SWORD_MINIMUM_VERSION="1.5.9"
inherit sword-module

@ -1 +1 @@
DIST SpaRV-1.5.zip 1469089 BLAKE2B baec9ee474723ff6ff8c9ae7c8c31c6dcd7d6e055f149a93d9cb73bd0d469e2ac31c7c2290a3fccea317679d6263a900d5a4a487f1a06d32e5da84cbf0451f2c SHA512 99fbd0021e1e3a335068f786631bd173d7bc8f21430f7f04bba08e27f9734e0cbbedbcc7c6971368d0e009f1e2fd82536201fce686f9e4bb77d1e44fb3caad1c
DIST SpaRV-1.6.zip 1548827 BLAKE2B cc1c3f5dd366e9e7bf33f4d15bd5b5e561ce9d1b5bb7b9d6d95f9759c9566fdde7a74fe8522312f4f24f5c1544913677827edc7effd983fe681600c744db9668 SHA512 f6674d42f01a02b8593bf293c334bc10736c77ba6a4e2671bfa69fd7c92524f61591b62f831aa615216c7a1a195f926a8b811688fc2daac7432c87861ada5913

@ -2,11 +2,12 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="SpaRV"
SWORD_MINIMUM_VERSION="1.5.9"
inherit sword-module
DESCRIPTION="Spanish Reina-Valera"
DESCRIPTION="Spanish Biblia Reina-Valera (1909)"
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=SpaRV"
LICENSE="public-domain"
KEYWORDS="~amd64 ~ppc ~x86"

@ -1 +1 @@
DIST SpaVNT-1.2.zip 367883 BLAKE2B 1efcfee3c84064b0c73e428650051c973cc45dd0663f185305a05151e41b14f8b3483a91521ce77919aeb7b71c17a6490045b8e31447ff4032a10f228805df4f SHA512 5dc5449963060216dac25bcd947ee50b3141e512e608868f427ef09001e82b5bd55a457e494a29e38cf73580ab2e188cf674fe4a4a26b4308be092c7faf2cd24
DIST SpaVNT-1.2.1.zip 367945 BLAKE2B 322cd91b9520c1d0e89d6a2f5500a7fbcf9bfa608e1d927f94d9c83d9eabdb222d733eff9e6762be7081928f680af7814586252fa610364c3197404f752bbe29 SHA512 5341edd4427899d57413e8d595cb22fd4d29f21864d2a41a1a4285f26e26b0bef7b0ba257c8ca2514d5ed84dcb0b72edf5d3222fc00b2ae63aaeaf8dd8e20e01

@ -2,11 +2,12 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="SpaVNT"
SWORD_MINIMUM_VERSION="1.5.1a"
inherit sword-module
DESCRIPTION="Spanish Valera New Testament (1858)"
DESCRIPTION="Spanish 1858 Reina Valera New Testament"
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=SpaVNT"
LICENSE="public-domain"
KEYWORDS="~amd64 ~ppc ~x86"

@ -1 +1 @@
DIST TR-1.2.zip 1273411 BLAKE2B 6e1705522b53d76ef35f45e7e6159342138f34e9c855da64bc4add705a67aac7431035f93f7717d437214b4c9418b4516c2d9fbf347eafd9f0e03e3a5f12f0f8 SHA512 0bae1092a1afadd2a3d7d65cd1d981be4bcca4e6e4e3f6323a9abd337e006d65893a9735e013a906c63a94473ca4028eeecfe26b16942d4fb1a128c8540684f1
DIST TR-2.4.zip 968375 BLAKE2B b24326bca58bc0adb0f10071f278ffc3b08a4d4197eacdbf00c2cfc34d3511d99daf3b78b0e964fdda204d897a5fd50eadb4ec865f5d858ed3e365d581eac9d1 SHA512 3b2527e66148b6d115259e6c84253c6b883b0cc7081f9ba53cf7584af21e72bb5e091f1bcc270229b4bb717273eebd0cb10572ab732e907509faa62e2ba7a238

@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="TR"
SWORD_MINIMUM_VERSION="1.7.2"
inherit sword-module

@ -1 +1 @@
DIST Tisch-1.3.zip 394774 BLAKE2B 6339167ed661c75120dcbd8608c2aa77535ca8f2c8f582754cc28a5f50016789efc6903791630a3160313899418c6bc00084fc7660bcae7529964a4955e4b7e7 SHA512 0c6e83f9c392fb32c23660012e23229d15be079808679c3bd2d8985bba06af22ecd8297e796e095c0590f8b4894c9900f3daabb4061562ab62d4516878eb556a
DIST Tisch-2.5.zip 1480224 BLAKE2B 8fcc55bf16bf383bae2ae61d5b7021470fe5770f669ac6efbb5aff2b894d4cfe1710f5883b3445ee9292dae0ee460f96270ece80e8e54effdd1de683999e744f SHA512 48037098f556694fd0ad0fbc103039df529d984672faca77e8fad4e4abec0cb61bde4cad3c6a8e0f0297b3d2fad184491671d6427b07047c757c5cabc8d1943a

@ -2,11 +2,12 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="Tisch"
SWORD_MINIMUM_VERSION="1.5.11"
inherit sword-module
DESCRIPTION="Tischendorf's Eighth Edition GNT"
DESCRIPTION="Tischendorf's 8th edition GNT"
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=Tisch"
LICENSE="public-domain"
KEYWORDS="~amd64 ~ppc ~x86"

@ -1 +1 @@
DIST UKJV-1.1.zip 1584221 BLAKE2B cd9dd0cef2416ca4a871807d71de5096f9fecb42cfdfd228f09ec1fd05f7c193cd972e67f6c5d3bc8b981d082c88aaa3d535ccf3c82045127c574896a2a2fc14 SHA512 1869a1b165d187bf0f1a11dd1ee032553576dcb7cd0f13707e6aa1956e0b9122b404751cded28be5d4a23c62420bdafeeb0c4af7426f5142a74246f28337614e
DIST UKJV-1.1.1.zip 1584279 BLAKE2B e9fcad269272293a3f43d58b74fe10c9693e2bc4734bf6dd7e904b8b908fcf0974ccdbf12a080059f07501c3d0daf7e139f4101439893818f355af1e0806ab4e SHA512 d3dbbb07545f039637705062533a8c9fe68d6b06f4f175b6b435c63f8778fc30dc46ddc4036a58477a55934bedcd55695478fe93b1650f0786461a92d2b7d133

@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="UKJV"
SWORD_MINIMUM_VERSION="1.5.6"
inherit sword-module

@ -1 +1 @@
DIST Ukrainian-1.3.zip 1719068 BLAKE2B 28370fb5295cd686810a42a5dde13060bec4ab9ec7e4d44016115db2b2ef1650d1a092d0d34a69a44783de3890311aa5d46e85497ddfb300dc0f000caa0b8cc5 SHA512 de2f5ce9096a6d7f33a38a88976db064a318960000c0e1540c3857c872ca5d902e8cca354014ec83167e9d7b1c89c468dff5359635b1e72b70366ab1b5e61c15
DIST Ukrainian-1.4.zip 1763758 BLAKE2B dcc12d53abf7fd98f31a244aed9f49c7016fc8eb0dec53c2afe0fcbe5acf3933c66509c5c7eacb7900c06242ff7c5e8ff338f2d5060564d5215734238b1f6c0b SHA512 fa78ecbf167364fb79b6fe1afc74974c5248a6a0d16799ebbb65f954e9e6e6d5340ffff534d66ddd358b1386dc74cfd59c117bc979a198ff04383ea031fb3968

@ -2,11 +2,12 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="Ukrainian"
SWORD_MINIMUM_VERSION="1.5.9"
inherit sword-module
DESCRIPTION="Ukrainian Bible"
DESCRIPTION="Ivan Ogienko Ukrainian Bible, 1930"
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=Ukrainian"
LICENSE="public-domain"
KEYWORDS="~amd64 ~ppc ~x86"

@ -1 +1 @@
DIST WHNU-1.10.zip 1281295 BLAKE2B 46e097d1c5de75565f1af3291bf47c8deb915da8338a56ef302dfa53c62780886e595210309b349da1e849301065836d7f737c23570794b8c67898b49b9e9ffc SHA512 c241ef99837c0e09e9b5192b134b2d61bc2fa6bbe8dd06661ec56fc7a9bc236adffe4fdad894db966884296f254858d92dc7b0bfcede19d902becf54dc1a6949
DIST WHNU-2.4.zip 975858 BLAKE2B 870b87b3250a5aa8aed4c9a26f11f78460177e1ac49c399580747c9ec459ac76cd7a51266ca68d6cfa879c5435ab393bd0414660cfaf876ae1527bed625a32d5 SHA512 46390bf6c2a9344b98cfb43f096d3d476d6fa4d40e66bc070e8cb5a5efee71e7265c8ff9c42a1eaee458e912618fc843a4b28ebb239d2f09e3ba9f51353d2ad5

@ -2,11 +2,12 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="WHNU"
SWORD_MINIMUM_VERSION="1.7.2"
inherit sword-module
DESCRIPTION="Westcott-Hort with NA27/UBS4 variants (1881)"
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=WHNU"
LICENSE="public-domain"
LICENSE="CC-BY-NC-SA-4.0"
KEYWORDS="~amd64 ~ppc ~x86"

@ -1 +1 @@
DIST WLC-1.4.zip 2017282 BLAKE2B faccf4c8cacdbe60fe8bbfbef254ff2b5e5469c78b0390d6a6f1d2b1b45ec171d1dfc6055aae200c811d384c8683abc2f33d663cc40bb42510ae31d23c3df75e SHA512 71c45b2d5d30fb50ceda827464fe5d50350827b37b23b439341f61895f759de86edd1d77ffa26fc6e3acf0cf7759e7ae28645c360a2b14deeb9442e51aa9184a
DIST WLC-1.9.zip 2165983 BLAKE2B 5373681d2935a3ecf750efca110b53d4764dff3bbc972f20d26ae2f31de816e90363051ffee425e79b3c63a1f73901533befe01e3292739938b8faf1d3843074 SHA512 c5c35a39b27b23684448840c2605964fa201b718e018c7c7ef26276679b06f57a77f062596d95a60d86ac4ac4f87fa8e55c65c1cd635a640aa7d79c6fbe2e725

@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="WLC"
SWORD_MINIMUM_VERSION="1.7.0"
inherit sword-module

@ -1 +1 @@
DIST Wulfila-1.0.zip 238923 BLAKE2B 3c496bc16881ecd1164678bc6cf4bcbc8bc2185af1cea961138e01fead350d31e076047d846d0b1ef23971ae934cc2f292c69bf454e0254fe41321817f5d553f SHA512 fcec30f54bdd95c77d2737f270909354fc1500196dd05d6a8aa02bf4b1b6ba61eef946ebbe523b90b1d5fb2c77ddd6f9b1e101949b7050bc4068cd9e2a9f8067
DIST Wulfila-1.0.1.zip 239022 BLAKE2B a085ad5d8ddc4d2101cc582fb6f1e860bd00fe362b7db5d378c0dbcbf0e3691117e9b5737b40eeb3cf4a5662fb184ff0ccecdccfd115be775050d14d502f7901 SHA512 84ab398110546c31e8743cb99b310e35ffc26e022ce385dc54642b31838b4bd01ea586e40dcb5325cc21b408ed723ed49f0b0effab5e4c3342412bda23941326

@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="Wulfila"
SWORD_MINIMUM_VERSION="1.5.1a"
inherit sword-module

@ -1 +1 @@
DIST Wycliffe-1.0.zip 421695 BLAKE2B d73da0fdef44c07265361d595a9c5d1464a3e3cc63d8857347f4aebd93b8d8ef73b9472af3b56ff9aa45ff250342556cfac82501085d31955880dad655faf70a SHA512 b67518357da85f64822f0ebd9a70a1f8a59363701d26ac808e3c745ec40eb3fb092848acad41ef2757d3de27ad06815ebd2a865ae991e563f07283e41e7fc9c4
DIST Wycliffe-2.3.zip 1724021 BLAKE2B 3f9792967beba5af842a10f2eb375bd772dd2b5a0eadaed28d5d1d6ea4bf88fe3aa508624ae7a77892d0d15cf755e4feafbb73146548848e5df92af5d6185aa5 SHA512 1d4a4fbbb1f593cbb4d7bcc2beb216f3f832483dd371677114e63727bffb5d826084cb3b1d4de70c82d1518a260871b50a9991165d4e27c22bfbe0c7f6be0ae9

@ -2,11 +2,12 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SWORD_MODULE="Wycliffe"
SWORD_MINIMUM_VERSION="1.6.1"
inherit sword-module
DESCRIPTION="John Wycliffe Bible (1395)"
DESCRIPTION="John Wycliffe Bible (c. 1395)"
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=Wycliffe"
LICENSE="public-domain"
LICENSE="CC-BY-SA-4.0"
KEYWORDS="~amd64 ~ppc ~x86"

Binary file not shown.

@ -0,0 +1,342 @@
From 4b7f7a30c9ec593d68186b1dfef44d4e2bda735b Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@telfort.nl>
Date: Mon, 22 Jun 2020 08:39:59 +0200
Subject: [PATCH] build: fix compilation when configured with
--disable-speller
Move two functions that are used by the formatter too
to between the proper #ifdef.
Problem existed since commit 8089f5ad from a month ago.
Backported to v4.9.3
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
---
src/text.c | 302 ++++++++++++++++++++++++++---------------------------
1 file changed, 151 insertions(+), 151 deletions(-)
diff --git a/src/text.c b/src/text.c
index 93ad3704..c7690fd0 100644
--- a/src/text.c
+++ b/src/text.c
@@ -2011,8 +2011,159 @@ void construct_argument_list(char ***arguments, char *command, char *filename)
(*arguments)[count - 2] = filename;
(*arguments)[count - 1] = NULL;
}
+
+/* Open the specified file, and if that succeeds, remove the text of the marked
+ * region or of the entire buffer and read the file contents into its place. */
+bool replace_buffer(const char *filename, undo_type action, const char *operation)
+{
+ linestruct *was_cutbuffer = cutbuffer;
+ int descriptor;
+ FILE *stream;
+
+ descriptor = open_file(filename, FALSE, &stream);
+
+ if (descriptor < 0)
+ return FALSE;
+
+ cutbuffer = NULL;
+
+#ifndef NANO_TINY
+ add_undo(COUPLE_BEGIN, operation);
+
+ /* Cut either the marked region or the whole buffer. */
+ add_undo(action, NULL);
+#endif
+ do_snip(FALSE, openfile->mark, openfile->mark == NULL, FALSE);
+#ifndef NANO_TINY
+ update_undo(action);
#endif
+ /* Discard what was cut. */
+ free_lines(cutbuffer);
+ cutbuffer = was_cutbuffer;
+
+ /* Insert the spell-checked file into the cleared area. */
+ read_file(stream, descriptor, filename, TRUE);
+
+#ifndef NANO_TINY
+ add_undo(COUPLE_END, operation);
+#endif
+ return TRUE;
+}
+
+/* Execute the given program, with the given temp file as last argument. */
+const char *treat(char *tempfile_name, char *theprogram, bool spelling)
+{
+ ssize_t lineno_save = openfile->current->lineno;
+ size_t current_x_save = openfile->current_x;
+ size_t pww_save = openfile->placewewant;
+ bool was_at_eol = (openfile->current->data[openfile->current_x] == '\0');
+ struct stat fileinfo;
+ long timestamp_sec, timestamp_nsec;
+ static char **arguments = NULL;
+ pid_t thepid;
+ int program_status;
+ bool replaced = FALSE;
+
+ /* Get the timestamp and the size of the temporary file. */
+ stat(tempfile_name, &fileinfo);
+ timestamp_sec = (long)fileinfo.st_mtim.tv_sec;
+ timestamp_nsec = (long)fileinfo.st_mtim.tv_nsec;
+
+ /* If the number of bytes to check is zero, get out. */
+ if (fileinfo.st_size == 0)
+ return NULL;
+
+ /* Exit from curses mode to give the program control of the terminal. */
+ endwin();
+
+ construct_argument_list(&arguments, theprogram, tempfile_name);
+
+ /* Fork a child process and run the given program in it. */
+ if ((thepid = fork()) == 0) {
+ execvp(arguments[0], arguments);
+
+ /* Terminate the child if the program is not found. */
+ exit(9);
+ } else if (thepid < 0)
+ return _("Could not fork");
+
+ /* Block SIGWINCHes while waiting for the program to end,
+ * so nano doesn't get pushed past the wait(). */
+ block_sigwinch(TRUE);
+ wait(&program_status);
+ block_sigwinch(FALSE);
+
+ /* Restore the terminal state and reenter curses mode. */
+ terminal_init();
+ doupdate();
+
+ if (!WIFEXITED(program_status) || WEXITSTATUS(program_status) > 2) {
+ statusline(ALERT, _("Error invoking '%s'"), arguments[0]);
+ return NULL;
+ } else if (WEXITSTATUS(program_status) != 0)
+ statusline(ALERT, _("Program '%s' complained"), arguments[0]);
+
+ /* Stat the temporary file again. */
+ stat(tempfile_name, &fileinfo);
+
+ /* When the temporary file wasn't touched, say so and leave. */
+ if ((long)fileinfo.st_mtim.tv_sec == timestamp_sec &&
+ (long)fileinfo.st_mtim.tv_nsec == timestamp_nsec) {
+ statusbar(_("Nothing changed"));
+ return NULL;
+ }
+
+#ifndef NANO_TINY
+ /* Replace the marked text (or entire text) with the corrected text. */
+ if (spelling && openfile->mark) {
+ ssize_t was_mark_lineno = openfile->mark->lineno;
+ bool upright = mark_is_before_cursor();
+
+ replaced = replace_buffer(tempfile_name, CUT, "spelling correction");
+
+ /* Adjust the end point of the marked region for any change in
+ * length of the region's last line. */
+ if (upright)
+ current_x_save = openfile->current_x;
+ else
+ openfile->mark_x = openfile->current_x;
+
+ /* Restore the mark. */
+ openfile->mark = line_from_number(was_mark_lineno);
+ } else
+#endif
+ {
+ openfile->current = openfile->filetop;
+ openfile->current_x = 0;
+
+ replaced = replace_buffer(tempfile_name, CUT_TO_EOF,
+ /* TRANSLATORS: The next two go with Undid/Redid messages. */
+ (spelling ? N_("spelling correction") : N_("formatting")));
+ }
+
+ /* Go back to the old position. */
+ goto_line_posx(lineno_save, current_x_save);
+ if (was_at_eol || openfile->current_x > strlen(openfile->current->data))
+ openfile->current_x = strlen(openfile->current->data);
+
+#ifndef NANO_TINY
+ if (replaced)
+ update_undo(COUPLE_END);
+#endif
+
+ openfile->placewewant = pww_save;
+ adjust_viewport(STATIONARY);
+
+ if (spelling)
+ statusbar(_("Finished checking spelling"));
+ else
+ statusbar(_("Buffer has been processed"));
+
+ return NULL;
+}
+#endif /* ENABLE_SPELLER || ENABLE_COLOR */
+
#ifdef ENABLE_SPELLER
/* Let the user edit the misspelled word. Return FALSE if the user cancels. */
bool fix_spello(const char *word)
@@ -2307,157 +2458,6 @@ const char *do_int_speller(const char *tempfile_name)
return NULL;
}
-/* Open the specified file, and if that succeeds, remove the text of the marked
- * region or of the entire buffer and read the file contents into its place. */
-bool replace_buffer(const char *filename, undo_type action, const char *operation)
-{
- linestruct *was_cutbuffer = cutbuffer;
- int descriptor;
- FILE *stream;
-
- descriptor = open_file(filename, FALSE, &stream);
-
- if (descriptor < 0)
- return FALSE;
-
- cutbuffer = NULL;
-
-#ifndef NANO_TINY
- add_undo(COUPLE_BEGIN, operation);
-
- /* Cut either the marked region or the whole buffer. */
- add_undo(action, NULL);
-#endif
- do_snip(FALSE, openfile->mark, openfile->mark == NULL, FALSE);
-#ifndef NANO_TINY
- update_undo(action);
-#endif
-
- /* Discard what was cut. */
- free_lines(cutbuffer);
- cutbuffer = was_cutbuffer;
-
- /* Insert the spell-checked file into the cleared area. */
- read_file(stream, descriptor, filename, TRUE);
-
-#ifndef NANO_TINY
- add_undo(COUPLE_END, operation);
-#endif
- return TRUE;
-}
-
-/* Execute the given program, with the given temp file as last argument. */
-const char *treat(char *tempfile_name, char *theprogram, bool spelling)
-{
- ssize_t lineno_save = openfile->current->lineno;
- size_t current_x_save = openfile->current_x;
- size_t pww_save = openfile->placewewant;
- bool was_at_eol = (openfile->current->data[openfile->current_x] == '\0');
- struct stat fileinfo;
- long timestamp_sec, timestamp_nsec;
- static char **arguments = NULL;
- pid_t thepid;
- int program_status;
- bool replaced = FALSE;
-
- /* Get the timestamp and the size of the temporary file. */
- stat(tempfile_name, &fileinfo);
- timestamp_sec = (long)fileinfo.st_mtim.tv_sec;
- timestamp_nsec = (long)fileinfo.st_mtim.tv_nsec;
-
- /* If the number of bytes to check is zero, get out. */
- if (fileinfo.st_size == 0)
- return NULL;
-
- /* Exit from curses mode to give the program control of the terminal. */
- endwin();
-
- construct_argument_list(&arguments, theprogram, tempfile_name);
-
- /* Fork a child process and run the given program in it. */
- if ((thepid = fork()) == 0) {
- execvp(arguments[0], arguments);
-
- /* Terminate the child if the program is not found. */
- exit(9);
- } else if (thepid < 0)
- return _("Could not fork");
-
- /* Block SIGWINCHes while waiting for the program to end,
- * so nano doesn't get pushed past the wait(). */
- block_sigwinch(TRUE);
- wait(&program_status);
- block_sigwinch(FALSE);
-
- /* Restore the terminal state and reenter curses mode. */
- terminal_init();
- doupdate();
-
- if (!WIFEXITED(program_status) || WEXITSTATUS(program_status) > 2) {
- statusline(ALERT, _("Error invoking '%s'"), arguments[0]);
- return NULL;
- } else if (WEXITSTATUS(program_status) != 0)
- statusline(ALERT, _("Program '%s' complained"), arguments[0]);
-
- /* Stat the temporary file again. */
- stat(tempfile_name, &fileinfo);
-
- /* When the temporary file wasn't touched, say so and leave. */
- if ((long)fileinfo.st_mtim.tv_sec == timestamp_sec &&
- (long)fileinfo.st_mtim.tv_nsec == timestamp_nsec) {
- statusbar(_("Nothing changed"));
- return NULL;
- }
-
-#ifndef NANO_TINY
- /* Replace the marked text (or entire text) with the corrected text. */
- if (spelling && openfile->mark) {
- ssize_t was_mark_lineno = openfile->mark->lineno;
- bool upright = mark_is_before_cursor();
-
- replaced = replace_buffer(tempfile_name, CUT, "spelling correction");
-
- /* Adjust the end point of the marked region for any change in
- * length of the region's last line. */
- if (upright)
- current_x_save = openfile->current_x;
- else
- openfile->mark_x = openfile->current_x;
-
- /* Restore the mark. */
- openfile->mark = line_from_number(was_mark_lineno);
- } else
-#endif
- {
- openfile->current = openfile->filetop;
- openfile->current_x = 0;
-
- replaced = replace_buffer(tempfile_name, CUT_TO_EOF,
- /* TRANSLATORS: The next two go with Undid/Redid messages. */
- (spelling ? N_("spelling correction") : N_("formatting")));
- }
-
- /* Go back to the old position. */
- goto_line_posx(lineno_save, current_x_save);
- if (was_at_eol || openfile->current_x > strlen(openfile->current->data))
- openfile->current_x = strlen(openfile->current->data);
-
-#ifndef NANO_TINY
- if (replaced)
- update_undo(COUPLE_END);
-#endif
-
- openfile->placewewant = pww_save;
- adjust_viewport(STATIONARY);
-
- if (spelling)
- statusbar(_("Finished checking spelling"));
- else
- statusbar(_("Buffer has been processed"));
-
- return NULL;
-}
-
/* Spell check the current file. If an alternate spell checker is
* specified, use it. Otherwise, use the internal spell checker. */
void do_spell(void)
--
2.28.0

@ -0,0 +1,46 @@
From a98f48b4e82db7d30aa04925fb28344f5bce8c7c Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@telfort.nl>
Date: Mon, 22 Jun 2020 14:00:23 +0200
Subject: [PATCH] build: fix compilation for --enable-tiny --enable-color
--enable-nanorc
Backported to v4.9.3
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
---
src/nano.c | 2 +-
src/text.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/nano.c b/src/nano.c
index be80a073..3ac81ba4 100644
--- a/src/nano.c
+++ b/src/nano.c
@@ -1079,7 +1079,7 @@ RETSIGTYPE do_continue(int signal)
ungetch(KEY_FLUSH);
}
-#if !defined(NANO_TINY) || defined(ENABLE_SPELLER)
+#if !defined(NANO_TINY) || defined(ENABLE_SPELLER) || defined(ENABLE_COLOR)
/* Block or unblock the SIGWINCH signal, depending on the blockit parameter. */
void block_sigwinch(bool blockit)
{
diff --git a/src/text.c b/src/text.c
index c7690fd0..32727946 100644
--- a/src/text.c
+++ b/src/text.c
@@ -2032,10 +2032,10 @@ bool replace_buffer(const char *filename, undo_type action, const char *operatio
/* Cut either the marked region or the whole buffer. */
add_undo(action, NULL);
-#endif
do_snip(FALSE, openfile->mark, openfile->mark == NULL, FALSE);
-#ifndef NANO_TINY
update_undo(action);
+#else
+ do_snip(FALSE, TRUE, FALSE, FALSE);
#endif
/* Discard what was cut. */
--
2.28.0

@ -10,7 +10,7 @@ if [[ ${PV} == "9999" ]] ; then
else
MY_P="${PN}-${PV/_}"
SRC_URI="https://www.nano-editor.org/dist/v${PV:0:1}/${MY_P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
DESCRIPTION="GNU GPL'd Pico clone with more functionality"
@ -32,6 +32,14 @@ BDEPEND="
nls? ( sys-devel/gettext )
virtual/pkgconfig
"
REQUIRED_USE="!ncurses? ( slang? ( minimal ) )"
PATCHES=(
"${FILESDIR}/${P}-disable-speller_build_fix.patch"
"${FILESDIR}/${P}-minimal_build_fix.patch" #734856
)
src_prepare() {
default
if [[ ${PV} == "9999" ]] ; then

@ -32,6 +32,9 @@ BDEPEND="
nls? ( sys-devel/gettext )
virtual/pkgconfig
"
REQUIRED_USE="!ncurses? ( slang? ( minimal ) )"
src_prepare() {
default
if [[ ${PV} == "9999" ]] ; then

@ -32,6 +32,9 @@ BDEPEND="
nls? ( sys-devel/gettext )
virtual/pkgconfig
"
REQUIRED_USE="!ncurses? ( slang? ( minimal ) )"
src_prepare() {
default
if [[ ${PV} == "9999" ]] ; then

Binary file not shown.

@ -1,22 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
DESCRIPTION="Manages the /bin/sh (POSIX shell) symlink"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND="app-eselect/eselect-lib-bin-symlink"
S=${FILESDIR}
src_install() {
insinto /usr/share/eselect/modules
newins sh.eselect-${PVR} sh.eselect
}

@ -10,7 +10,7 @@ S=${WORKDIR}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND="app-eselect/eselect-lib-bin-symlink"

@ -1,13 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
DESCRIPTION="Manage /bin/sh (POSIX shell) implementations"
MAINTAINER="mgorny@gentoo.org"
VERSION="0.4"
SYMLINK_PATH=/bin/sh
SYMLINK_TARGETS=( bash dash posh mksh )
SYMLINK_DESCRIPTION='POSIX shell'
SYMLINK_CRUCIAL=1
inherit bin-symlink

Binary file not shown.

@ -1,2 +1,3 @@
DIST ddcutil-0.9.1.tar.gz 656853 BLAKE2B e4f11253176587cb5ee3c9647a01ab04d5a92ce4ca7a4098378318fc069e635e43c3716ace316498f64ceaaa00aa90db3b5f409b74b8d7089a7c25254c0e360d SHA512 b2d5866606a4bc081d89180e910822f2a2a653a2782e3df582536ddc86c7d3dc02309dbb41f8d566f6ebdc5d82d3aa11792a04c28b3d83552b024dfd59891fda
DIST ddcutil-0.9.5.tar.gz 681534 BLAKE2B 6746c239738d4f8eb7fe56323816fadee9b8fa9ad2b66a8242782e0b2688182c0140b40b9eddb3b54ad32c7ff7d1f0cf9a28c5477a48d90cc39431ed82f5d443 SHA512 6249ebdbb398ad5a6c32f3891be8bf5328114b1ed08afd75adf4b67f10a40f19451e188ce5cd88b3153a18f317e394146a34258a7d2298f126be227d7e1c25e8
DIST ddcutil-0.9.9.tar.gz 725207 BLAKE2B ad7b0b35ad4c2dae21da066e4194209579d774ded10f2dc0d8d7d3d94e70d5893c3d1f772b86ea01be510cfb8d51a657178228d028ca34ab20d344e86e0581d2 SHA512 f7b2b961c6b76ef59f336290b494cdd331556848de881d57e5240075d50733030df4c47131070f1276907d712a45f60dad6bebaa052a66621b8b5517ff293c21

@ -0,0 +1,114 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools flag-o-matic linux-info udev user
DESCRIPTION="Program for querying and changing monitor settings"
HOMEPAGE="http://www.ddcutil.com/"
SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
IUSE="drm introspection usb-monitor user-permissions video_cards_nvidia X"
REQUIRED_USE="drm? ( X )"
RDEPEND="dev-libs/glib:2
sys-apps/i2c-tools
virtual/udev
drm? ( x11-libs/libdrm )
introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
usb-monitor? (
dev-libs/hidapi
virtual/libusb:1
sys-apps/usbutils
)
X? (
x11-libs/libXrandr
x11-libs/libX11
)"
DEPEND="${RDEPEND}
virtual/pkgconfig"
pkg_pretend() {
# This program needs /dev/ic2-* devices to communicate with the monitor.
CONFIG_CHECK="~I2C_CHARDEV"
ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
if use usb-monitor; then
CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
fi
# Now do the actual checks setup above
check_extra_config
}
src_prepare() {
default
eautoreconf
sed -i -e "s#usr/local/bin#usr/bin#" data/etc/udev/rules.d/45-ddcutil-usb.rules || die
}
src_configure() {
# Bug 607818.
replace-flags -O3 -O2
local myeconfargs=(
$(use_enable drm)
$(use_enable usb-monitor usb)
$(use_enable X x11)
--enable-lib
# Please read upstream's note about the original purpose of these flags before re-enabling them:
# https://github.com/rockowitz/ddcutil/issues/128
# As of 0.9.9 the following no longer compile:
# Python3 & CFFI is already broken as of Python 3.7, with future removal;
# SWIG : Python3.7 breakage as well PyFileObject vs PyCodeObject
--disable-cffi
--disable-cython
--disable-swig
$(use_enable introspection)
)
econf "${myeconfargs[@]}"
}
src_install() {
default
if use user-permissions; then
udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
if use usb-monitor; then
udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
fi
fi
}
pkg_postinst() {
if use user-permissions; then
enewgroup i2c
einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
einfo "users to the i2c group: usermod -aG i2c user"
einfo "Restart the computer or reload the i2c-dev module to activate"
einfo "the new udev rule."
einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
if use usb-monitor; then
enewgroup video
einfo "To allow non-root users access to USB monitors, add those users"
einfo "to the video group: usermod -aG video user"
einfo "Restart the computer, reload the hiddev and hidraw modules, or replug"
einfo "the monitor to activate the new udev rule."
einfo "For more information read: http://www.ddcutil.com/usb/"
fi
udev_reload
fi
if use video_cards_nvidia; then
ewarn "Please read the following webpage on proper usage with the nVidia "
ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
fi
}

@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<maintainer type="person">
<email>robbat2@gentoo.org</email>
<name>Robin H. Johnson</name>
</maintainer>
<longdescription>
ddcutil primarily uses DDC/CI (Display Data Channel Command Interface)
to communicate with monitors implementing MCCS (Monitor Control Command

@ -12,7 +12,7 @@ SRC_URI="https://projects.vdr-developer.org/git/${PN}.git/snapshot/${P}.tar.bz2"
KEYWORDS="amd64 x86"
SLOT="0"
LICENSE="GPL-2"
IUSE="fontconfig freetype g15 graphicsmagick imagemagick lcd_devices_ax206dpf lcd_devices_picolcd_256x64 lcd_devices_vnc"
IUSE="fontconfig freetype graphicsmagick imagemagick lcd_devices_ax206dpf lcd_devices_picolcd_256x64 lcd_devices_vnc"
REQUIRED_USE="?? ( graphicsmagick imagemagick )"
RDEPEND="
@ -73,9 +73,9 @@ src_configure() {
}
src_install() {
default
emake DESTDIR="${D}" UDEVRULESDIR="/lib/udev/rules.d" install
udev_dorules 99-graphlcd-base.rules
einstalldocs
}
pkg_postinst() {

@ -20,7 +20,6 @@
<use>
<flag name="fontconfig">Add support for <pkg>media-libs/fontconfig</pkg> font names.</flag>
<flag name="freetype">Add support for <pkg>media-libs/freetype</pkg>.</flag>
<flag name="g15">Add support for <pkg>app-misc/g15daemon</pkg>, used by the Logitech G15 keyboard.</flag>
<flag name="graphicsmagick">Add support for <pkg>media-gfx/graphicsmagick</pkg>.</flag>
<flag name="imagemagick">Add support for <pkg>media-gfx/imagemagick</pkg>.</flag>
</use>

@ -14,7 +14,7 @@ if [[ "${PV}" == 9999 ]] ; then
else
SRC_URI="https://github.com/tmux/tmux/releases/download/${PV}/${P/_/-}.tar.gz"
[[ "${PV}" == *_rc* ]] || \
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
S="${WORKDIR}/${P/_/-}"
fi

@ -13,7 +13,7 @@ SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
IUSE="test"
RDEPEND="

Binary file not shown.

@ -11,7 +11,7 @@ SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="debug doc nls sqlite"
BOTHDEPEND="nls? ( virtual/libintl )

@ -1,2 +1 @@
DIST gemato-14.3.tar.gz 71325 BLAKE2B d42a5182c12bcc0281df47ddb6b933bb332b9b842b2a5c874c3fa4030ab5a8a16759ee289609d428a3fc1338078cd73d234060354513be88c184d5a6bbec545d SHA512 99904b1a38b8a05ff7bf7c265aa463a56ea3aa6c77dd844dc2d154faae5460e3535f4e9799e8863fda256ee6cd374e051ed98193c9b1fc52dc30c9c2655010cd
DIST gemato-14.4.tar.gz 72630 BLAKE2B c8956b979d7c8629e245ba339e8ee707cd51ffe545a85c712c31b97ee2aaabef7a4964cac46c9cd8c4954c33529623293a94a26ae40b578a6b640aab15d47835 SHA512 0b514e4ff7773eefd2d9adc063a4fbc6a1e7d9ea3dfa783b1d5a8e6ec1e482533a8c70cd5e200a8b9671161d77e14254ad14aee6659e3c96eb9be3bbedcf11af

@ -1,33 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python{3_6,3_7,3_8} pypy3 )
PYTHON_REQ_USE='threads(+)'
inherit distutils-r1
DESCRIPTION="Stand-alone Manifest generation & verification tool"
HOMEPAGE="https://github.com/mgorny/gemato"
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux"
IUSE="+gpg tools"
RDEPEND="
gpg? ( app-crypt/gnupg )"
distutils_enable_tests setup.py
python_install_all() {
distutils-r1_python_install_all
if use tools; then
exeinto /usr/share/gemato
doexe utils/*.{bash,py}
fi
}

@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux"
IUSE="+gpg tools"
RDEPEND="

Binary file not shown.

@ -14,7 +14,6 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
# Some tests fail due to being unable to find an icon directory relative
# to ${WORKDIR}, some others segfault. Needs work.
@ -40,13 +39,13 @@ DEPEND="${RDEPEND}
net-misc/curl
sys-libs/zlib
"
BDEPEND="test? (
app-dicts/sword-Josephus
app-dicts/sword-KJV
app-dicts/sword-KJVA
app-dicts/sword-Scofield
app-dicts/sword-StrongsGreek
)"
#BDEPEND="test? (
# app-dicts/sword-Josephus
# app-dicts/sword-KJV
# app-dicts/sword-KJVA
# app-dicts/sword-Scofield
# app-dicts/sword-StrongsGreek
#)"
DOCS=( ChangeLog README.md )

@ -1,5 +1,6 @@
DIST calibre-4.17.0-qt-5.15-fontconfig-bug-725020.patch 1222 BLAKE2B 14038b4ea5f87d9a8f645b5af8342da90337202b0247b07dccd8995f55bb965b5c2bbdddc24b55b6e92e899f91d5dec19c10ddea8fcc42c8ed3d74ee90eb09d6 SHA512 b0652c3277b8390f47039366380fceacfd3cd9014fe42306a947f6749c6192657b77e3d832044828bea06c43f1f5e745e6b4ff8dd24efc73d9ad5261c4c73a5e
DIST calibre-4.20.0.tar.xz 36997620 BLAKE2B 28ee9539eda96809004f4c276c8dceba119122379867f4b9235ad52a3ec68337330c4cbc2e715462f27ea0c3a0c8470609a50273db49a69f69a60e7fbcef11a5 SHA512 97e33c0a4a53c0b799ed76fde6327570d3e6356a812836d204ce0e6f5273715e274fdf2e987a0446b61ce6aceb4ce5cfda9c0cb8a2f2871efd83b76acbc43820
DIST calibre-4.21.0.tar.xz 36937392 BLAKE2B 7797e1b99eefa795a84a1ce913b7739ce6961d58ea28c68e3f5a1b756bbec20c206bd7cab25f1ffacc33f39fed2cc4acf99b5bb90ba88b0607987801770d8b30 SHA512 d2e711d2dec77b41a7930cfd39a7597d1b56fdd57bad44686efdf4be66321565622f42e20dfd844c90cc5f2d6625c17b4e8997b9b4592648af1664fda341bf27
DIST calibre-4.22.0.tar.xz 36924876 BLAKE2B 19576d5cfc1a4ed6a505ef46656675980b6736be01f55874951a9a0c81a70c82e23e723db1d81d13917eaf615e65752a100fbc1cb43bdca0b3c4543e3b17cf43 SHA512 b9db1c72cf010c25563e3f86a75478ac872249034b3c8b09bb8f0c2519487bb78dea821c9e45564fb645d17431bbee96459a28ee036e57830faedea4cd94b423
DIST calibre-4.9.1-bug-731786.patch 1069 BLAKE2B 8b57fb89c9ec2d3a435fbc90f514d45468ceb96b46428efd5d2084cc9bb6137b49dd90dc2f7e574b6d8b8d536728392863046b068c39c8f9bcc3ae23678ac590 SHA512 acd158923bb369270155b3032b033a8387bcb53d1b0ea3e2c0724a40ec0cff6add5fca85649caaf37db0a0878fc3dafacc98b2b641cf10a8d58dc719642c6be5
DIST calibre-4.9.1.tar.xz 37529656 BLAKE2B 5d703ca0c398b43cc26a54e0628d0fe938c6a5027a4fd0c9cac83944e5143eb08439bf79b2098182be7727eaa042748f17866788b02c7744178dce131f6b1d1e SHA512 bf06aa3cbc8d255934f3f7f3ce20b4798edf107ed9f822943d2b4ae7d95473842928ed79f8ba7571f7e0ebdc267c441916d543d5b7630aae5cb151bcc3184b71

@ -0,0 +1,274 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6..8} )
PYTHON_REQ_USE="sqlite,ssl"
inherit bash-completion-r1 desktop toolchain-funcs python-single-r1 xdg-utils
DESCRIPTION="Ebook management application"
HOMEPAGE="https://calibre-ebook.com/"
SRC_URI="https://download.calibre-ebook.com/${PV}/${P}.tar.xz"
LICENSE="
GPL-3+
GPL-3
GPL-2+
GPL-2
GPL-1+
LGPL-3+
LGPL-2.1+
LGPL-2.1
BSD
MIT
Old-MIT
Apache-2.0
public-domain
|| ( Artistic GPL-1+ )
CC-BY-3.0
OFL-1.1
PSF-2
"
KEYWORDS="~amd64 ~arm ~x86"
SLOT="0"
IUSE="ios +udisks"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
COMMON_DEPEND="${PYTHON_DEPS}
>=app-text/hunspell-1.7:=
>=app-text/podofo-0.9.6_pre20171027:=
>=app-text/poppler-0.26.5[qt5]
>=dev-libs/chmlib-0.40:=
dev-libs/glib:2=
dev-libs/hyphen:=
>=dev-libs/icu-57.1:=
dev-libs/libinput:=
>=dev-libs/dbus-glib-0.106
>=sys-apps/dbus-1.10.8
$(python_gen_cond_dep '
>=dev-python/apsw-3.25.2_p1[${PYTHON_MULTI_USEDEP}]
dev-python/beautifulsoup:4[${PYTHON_MULTI_USEDEP}]
>=dev-python/chardet-3.0.3[${PYTHON_MULTI_USEDEP}]
>=dev-python/cssselect-0.7.1[${PYTHON_MULTI_USEDEP}]
>=dev-python/css-parser-1.0.4[${PYTHON_MULTI_USEDEP}]
>=dev-python/dbus-python-1.2.4[${PYTHON_MULTI_USEDEP}]
dev-python/dnspython[${PYTHON_MULTI_USEDEP}]
>=dev-python/feedparser-5.2.1[${PYTHON_MULTI_USEDEP}]
>=dev-python/html2text-2019.8.11[${PYTHON_MULTI_USEDEP}]
>=dev-python/html5-parser-0.4.9[${PYTHON_MULTI_USEDEP}]
>=dev-python/lxml-3.8.0[${PYTHON_MULTI_USEDEP}]
>=dev-python/markdown-3.0.1[${PYTHON_MULTI_USEDEP}]
>=dev-python/mechanize-0.3.5[${PYTHON_MULTI_USEDEP}]
>=dev-python/msgpack-0.6.2[${PYTHON_MULTI_USEDEP}]
>=dev-python/netifaces-0.10.5[${PYTHON_MULTI_USEDEP}]
>=dev-python/pillow-3.2.0[${PYTHON_MULTI_USEDEP}]
>=dev-python/psutil-4.3.0[${PYTHON_MULTI_USEDEP}]
>=dev-python/pygments-2.3.1[${PYTHON_MULTI_USEDEP}]
>=dev-python/python-dateutil-2.5.3[${PYTHON_MULTI_USEDEP}]
>=dev-python/PyQt5-5.12[gui,svg,widgets,network,printsupport,${PYTHON_MULTI_USEDEP}]
>=dev-python/PyQtWebEngine-5.12[${PYTHON_MULTI_USEDEP}]
dev-python/regex[${PYTHON_MULTI_USEDEP}]
dev-python/zeroconf[${PYTHON_MULTI_USEDEP}]
')
dev-qt/qtcore:5=
dev-qt/qtdbus:5=
dev-qt/qtgui:5=[jpeg]
>=dev-qt/qtwebengine-5.12
dev-qt/qtwidgets:5=
dev-util/desktop-file-utils
dev-util/gtk-update-icon-cache
media-fonts/liberation-fonts
media-libs/fontconfig:=
>=media-libs/freetype-2:=
>=media-libs/libmtp-1.1.11:=
>=media-libs/libwmf-0.2.8
>=media-gfx/optipng-0.7.6
>=sys-libs/zlib-1.2.11:=
virtual/libusb:1=
x11-libs/libxkbcommon:=
x11-libs/libX11:=
x11-libs/libXext:=
x11-libs/libXrender:=
x11-misc/shared-mime-info
>=x11-misc/xdg-utils-1.0.2-r2
ios? (
>=app-pda/usbmuxd-1.0.8
>=app-pda/libimobiledevice-1.2.0
)
udisks? ( virtual/libudev )"
RDEPEND="${COMMON_DEPEND}
udisks? ( sys-fs/udisks:2 )"
DEPEND="${COMMON_DEPEND}
$(python_gen_cond_dep '
>=dev-python/setuptools-23.1.0[${PYTHON_MULTI_USEDEP}]
dev-python/sip[${PYTHON_MULTI_USEDEP}]
')
>=virtual/podofo-build-0.9.6_pre20171027
virtual/pkgconfig"
pkg_pretend() {
if [[ ${MERGE_TYPE} != binary ]] && tc-is-gcc && [[ $(gcc-major-version) -lt 6 ]]; then
eerror "Calibre cannot be built with this version of gcc."
eerror "You need at least gcc-6.0"
die "Your C compiler is too old for this package."
fi
}
src_prepare() {
# no_updates: do not annoy user with "new version is availible all the time
# disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
eapply \
"${FILESDIR}/${PN}-2.9.0-no_updates_dialog.patch" \
"${FILESDIR}/${PN}-disable_plugins.patch"
eapply_user
# Fix outdated version constant.
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
# -i src/calibre/constants.py || \
# die "sed failed to patch constants.py"
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py
# calls xdg-* (bug #258938).
sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
-e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
-e "s|, PreserveMIMEDefaults():|:|" \
-e "s|'xdg-icon-resource', 'install'|\\0, '--mode', 'user'|" \
-e "s|cmd\[2\]|cmd[4]|" \
-e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \
-i src/calibre/linux.py || die "sed failed to patch linux.py"
# Disable unnecessary privilege dropping for bug #287067.
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
-i setup/install.py || die "sed failed to patch install.py"
sed -e "/^ self.check_call(\\[QMAKE\\] + qmc + \\[proname\\])$/a\
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
'-i', 'Makefile'])" \
-i setup/build.py || die "sed failed to patch build.py"
}
src_install() {
# calibre works with python 3, so remove the python 2 constraint
export CALIBRE_PY3_PORT=1
# Bypass kbuildsycoca and update-mime-database in order to
# avoid sandbox violations if xdg-mime tries to call them.
cat - > "${T}/kbuildsycoca" <<-EOF
#!${BASH}
echo $0 : $@
exit 0
EOF
cp "${T}"/{kbuildsycoca,update-mime-database} || die
chmod +x "${T}"/{kbuildsycoca,update-mime-database} || die
export QMAKE="${EPREFIX}/usr/$(get_libdir)/qt5/bin/qmake"
# Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
# violation with kbuildsycoca as in bug #287067, comment #13.
export -n DISPLAY
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
# return _parse_localename(localename)
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
# raise ValueError, 'unknown locale: %s' % localename
#ValueError: unknown locale: 46
export -n LANG LANGUAGE ${!LC_*}
export LC_ALL=C.utf8 #709682
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
# variables to point to our fake temporary $HOME.
export HOME="${T}/fake_homedir"
export XDG_CONFIG_HOME="${HOME}/.config"
export XDG_DATA_HOME="${HOME}/.local/share"
export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
mkdir -p "${XDG_DATA_HOME}" "${CALIBRE_CONFIG_DIRECTORY}" || die
tc-export CC CXX
# Bug #334243 - respect LDFLAGS when building extensions
export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
local libdir=$(get_libdir)
[[ -n $libdir ]] || die "get_libdir returned an empty string"
addpredict /dev/dri #665310
PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
"${PYTHON}" setup.py install \
--root="${D}" \
--prefix="${EPREFIX}/usr" \
--libdir="${EPREFIX}/usr/${libdir}" \
--staging-root="${ED}/usr" \
--staging-libdir="${ED}/usr/${libdir}" || die
rm "${ED}/usr/share/applications/defaults.list" || die
find "${ED}"/usr/share -type d -empty -delete
cd "${ED}"/usr/share/calibre/fonts/liberation || die
local x
for x in * ; do
[[ -f ${EPREFIX}/usr/share/fonts/liberation-fonts/${x} ]] || continue
ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
done
einfo "Converting python shebangs"
python_fix_shebang --force "${ED}"
einfo "Compiling python modules"
python_optimize "${ED}"/usr/lib/calibre
newinitd "${FILESDIR}"/calibre-server-3.init calibre-server
newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server
bashcomp_alias calibre \
lrfviewer \
calibre-debug \
ebook-meta \
calibre-server \
ebook-viewer \
ebook-polish \
fetch-ebook-metadata \
lrf2lrs \
ebook-convert \
ebook-edit \
calibre-smtp \
ebook-device
}
pkg_preinst() {
# Indentify stray directories from upstream's "Binary install"
# method (see bug 622728).
CALIBRE_LIB_DIR=/usr/$(get_libdir)/calibre
CALIBRE_LIB_CONTENT=$(for x in "${ED}${CALIBRE_LIB_DIR}"/*; do
printf -- "${x##*/} "; done) || die "Failed to list ${ED}${CALIBRE_LIB_DIR}"
}
pkg_postinst() {
[[ -n ${CALIBRE_LIB_DIR} ]] || die "CALIBRE_LIB_DIR is unset"
local x
for x in "${EROOT}${CALIBRE_LIB_DIR}"/*; do
if [[ " ${CALIBRE_LIB_CONTENT} " != *" ${x##*/} "* ]]; then
elog "Purging '${x}'"
rm -rf "${x}"
fi
done
xdg_desktop_database_update
xdg_mimeinfo_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
xdg_icon_cache_update
}

Binary file not shown.

@ -12,7 +12,7 @@ HOMEPAGE="http://vim-latex.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="vim"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

Binary file not shown.

@ -22,7 +22,7 @@ fi
LICENSE="public-domain"
SLOT="3"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="debug doc icu +readline secure-delete static-libs tcl test tools"
if [[ "${PV}" == "9999" ]]; then
PROPERTIES="live"

Binary file not shown.

@ -10,7 +10,10 @@ DIST OpenJDK8U-jdk_aarch64_linux_hotspot_8u252b09.tar.gz 102238546 BLAKE2B ffa0a
DIST OpenJDK8U-jdk_aarch64_linux_hotspot_8u262b10.tar.gz 103188555 BLAKE2B 2d1c8add4d0a3939a423dd24b2ade8a7e7240597d1d49a6194e768f8262977aa7b8c8f8a3f564c88bfe3e4bac74cbd3f2cdd17fafcbaf7b9b50ad3cade34e21b SHA512 86f24cd72ac398b606006dc64fb0f5d335bb633d87c7a7f96f2efb26a9abc6486ea1f803ccb33e74efc9e8f48ef3c723516dc690479a6e67d9161d67a5b8e94c
DIST OpenJDK8U-jdk_arm_linux_hotspot_8u252b09.tar.gz 96925784 BLAKE2B 3e294a9a38729e453dd74d691bad4abd043fefd2a850a1d8fa142e5e5c2b908a1c7a0d9f2ebf1760ecf065cb615a59a930c84e86e86a339da01a794f1f3319ed SHA512 a361cb07b43ebaf7d1aa277c15ee41493fb25ff78dcad1801436ef68a54c4a89f2361c3f57ce328c507b9f36c81a301d95d9315d32aa888163d533d7d741effd
DIST OpenJDK8U-jdk_arm_linux_hotspot_8u262b10.tar.gz 97642302 BLAKE2B 0bc6d676eaa4efb1ff2b9358f8ddf2b578223d390f59a2deb1269dc55d2be4e39104680c8cc5608c7d8ba1350a289cc5d5673d1df5f6b495739df0cdac563ebd SHA512 7abb787dce0d5ed8c0a6f4cb0c7036e2c341b90b1a967e3c2b45d1c33bf88bb08a6cccecde1579edf811f304d5dc287816becd60ab429dda6a913f37511f4c68
DIST OpenJDK8U-jdk_arm_linux_hotspot_8u265b01.tar.gz 97641656 BLAKE2B 76d24e975c2ec173b6b4806d145f79d02828e12e2dd412b60a921648fba20920b3b69b03630ece8d5cefeaf408dad01573b15db7f4a7bbdd024806a7b01bd6ae SHA512 8f96d73038579d2873b84d19bfbcc7f481b031a91c35d86d35e127951b6c743a6a1d5230a61ebcacddf854b73c55b18cc53112b9a2759b283254bf93fd691459
DIST OpenJDK8U-jdk_ppc64le_linux_hotspot_8u252b09.tar.gz 99444051 BLAKE2B 87f691298c7335c0adb285db6eff8ecb3897bb7b229bc6491b992375bd63c93eef126702ee461609b3a781240747d3f1372b4ed711a420cca1248878a82a2b6f SHA512 875d0d74088744a0a56a4706cd86a78ef2c5eb1a5792ba94ef2f51bf894a94123e761ab8fa0e5e74272c2f350a881073e4054e9f1c504421f43bb93b837d26a4
DIST OpenJDK8U-jdk_ppc64le_linux_hotspot_8u262b10.tar.gz 100454023 BLAKE2B aa76a05f981b72b0e5a976c1fc50e857ebbab731cc97c4e1f1f91bbd81ea305a6c85ab88ffa78fe4f3e6da3c2e197817aecbf2f52104ab9fa8b0d27de0e61509 SHA512 656da319bccaeaed88e60618e17d2efc5e1b0de89d50c5214710ef0b1257eec9607574b3b4df28d42ca3cb4f63e06efedf338de2abd2392e9195ef2054fe712c
DIST OpenJDK8U-jdk_ppc64le_linux_hotspot_8u265b01.tar.gz 100453105 BLAKE2B e57230d5f90821cb8f4c35baf0e5a9580164ad7df10ac67a528b959154317ea14b7bc0dd5c530a2b826ab6322611ddf2387617bc8dd1f444039b00a778a30025 SHA512 6de5694d0415e905848cc99ec6863e96640fca3ded4e851528c794dad82a0961e097f64f8338304d9325357729ae9ea5bc5d2eceecefebdad69a14bc7b50194a
DIST OpenJDK8U-jdk_x64_linux_hotspot_8u252b09.tar.gz 102170196 BLAKE2B 529630d67553064d302a81079eb61f10da8fc7fbcb69375020f5572fa4e9a46a679e6b0de99b7f67d9f40305a5347e9337cb6dec1c3cac5576671f52866beb2e SHA512 923a3122aa15db27f1605d1f988efa4a5bc920ad132121ba906f9d4cea11b8bfdcfe5b777ea7f37f5789e0be85135f24f1ddf7cbdff40594336fde7fc0474a6d
DIST OpenJDK8U-jdk_x64_linux_hotspot_8u262b10.tar.gz 103200089 BLAKE2B 8d747c7ebcf29690dafb7e87a45c602077e22ed626a8b88843c8fcf080a691328aea244f7a4f499d824954a4758ced5e5255521e8b81b238afd19cd5bc741d5d SHA512 3ea2c2638c858a05e520d38493dfe240ee67195fd831a216e28a030ccaa17f890f64f1c723cefca1cead412c602a8cbe42f845345ab01e6d5ab1bde9825980fc
DIST OpenJDK8U-jdk_x64_linux_hotspot_8u265b01.tar.gz 103157351 BLAKE2B efd8a4bcab5472c9775997713b09ab9e94ef4636564f07392263d6963850e07dc07569b2c066856846c16229f1641c169eecedcbb61533067af330262f07b927 SHA512 932fe2702aa3575bcb08d01e384fbd6a49768280931fdc1fb56314656343dc2f8e5b2650c8d72369d0294ac6024df0a142fd14cb0768f9aa7831aa986679e9ae

@ -0,0 +1,94 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eapi7-ver java-vm-2
abi_uri() {
echo "${2-$1}? (
https://github.com/AdoptOpenJDK/openjdk${SLOT}-binaries/releases/download/jdk${MY_PV}/OpenJDK8U-jdk_${1}_linux_hotspot_${MY_PV/-/}.tar.gz
)"
}
MY_PV=$(ver_rs 1 'u' 2 '-' ${PV//p/b})
SLOT="$(ver_cut 1)"
DESCRIPTION="Prebuilt Java JDK binaries provided by AdoptOpenJDK"
HOMEPAGE="https://adoptopenjdk.net"
SRC_URI="
$(abi_uri arm)
$(abi_uri ppc64le ppc64)
$(abi_uri x64 amd64)
"
LICENSE="GPL-2-with-classpath-exception"
KEYWORDS="~amd64 ~arm ~ppc64"
IUSE="alsa cups examples headless-awt nsplugin selinux source webstart"
RDEPEND="
media-libs/fontconfig:1.0
media-libs/freetype:2
>=sys-apps/baselayout-java-0.1.0-r1
>=sys-libs/glibc-2.2.5:*
sys-libs/zlib
alsa? ( media-libs/alsa-lib )
arm? ( dev-libs/libffi-compat:6 )
cups? ( net-print/cups )
selinux? ( sec-policy/selinux-java )
!headless-awt? (
x11-libs/libX11
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrender
x11-libs/libXtst
)
"
PDEPEND="webstart? ( >=dev-java/icedtea-web-1.6.1:0 )
nsplugin? ( >=dev-java/icedtea-web-1.6.1:0[nsplugin] )"
RESTRICT="preserve-libs strip"
QA_PREBUILT="*"
S="${WORKDIR}/jdk${MY_PV}"
src_install() {
local dest="/opt/${P}"
local ddest="${ED%/}/${dest#/}"
rm ASSEMBLY_EXCEPTION LICENSE THIRD_PARTY_README || die
# this does not exist on arm64 hence -f
rm -fv jre/lib/*/libfreetype.so* || die
if ! use alsa ; then
rm -v jre/lib/*/libjsoundalsa.so* || die
fi
if ! use examples ; then
rm -vr sample || die
fi
if use headless-awt ; then
rm -fvr {,jre/}lib/*/lib*{[jx]awt,splashscreen}* \
{,jre/}bin/policytool bin/appletviewer || die
fi
if ! use source ; then
rm -v src.zip || die
fi
rm -v jre/lib/security/cacerts || die
dosym ../../../../../etc/ssl/certs/java/cacerts \
"${dest}"/jre/lib/security/cacerts
dodir "${dest}"
cp -pPR * "${ddest}" || die
java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
java-vm_set-pax-markings "${ddest}"
java-vm_revdep-mask
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
}

@ -2,17 +2,25 @@ DIST openjdk-11.0.7_p10.tar.bz2 91317054 BLAKE2B 113f6d0b1ea97aa6c3a619a3f4183b7
DIST openjdk-11.0.8_p10.tar.bz2 91141175 BLAKE2B eeef0f6b6a8f804e043cde01de256c86ed35d5a391588100caea49c8c2b617c3f06aa37df894feaa89734e68c32fe28d8bc5337755050c457d657cf88fcff7f3 SHA512 f8fd26a11cb044197d3b04a1347e27e177e79cb58436e67116f63025a2a5c39c0083ac17362e7d2234caf89df530422ead088e3fc4546f8d9f68482fc75eb7a0
DIST openjdk-8.252_p09.tar.bz2 454656 BLAKE2B 7132af72a09da9ded1759ccf92da6237a24e3fd15209b8d5aecb7011b890cd3484b4724f6b6a144e4bc5cb41931076985f75a9089c178938be62ac1a1d2a7f07 SHA512 0f03f1549dea1577cb01895d4e34721d16443977c5e7b3f0744af9cf2c0b09e60cb6d91b35a5e474c593d518d5610fb4c14fc4b9a907a7e13bb2351cea51bd06
DIST openjdk-8.262_p10.tar.bz2 455868 BLAKE2B 22637a8ecd2af97b8cdc335fff5d4a14c56f53a26f0fe1ccb61f7f6542961126f4a2dadfc596ae561ea27cfdbc5f23fb10350d1533f43f1740540367565cb160 SHA512 196e201cbbd53132a78f276df7407346ba611798d813272c68cd3d654f34b84874009cda1df62e51fd5e33c5bc4aa4bdda6bd0ef7cac9857c609fcdb3fa3fd53
DIST openjdk-8.265_p01.tar.bz2 456095 BLAKE2B 8de4d0293f3062583654da99a29d5be02197c323772f663d37ab21bdfdf32a723412d301094e6f70cbba99883241f52406a799a91c3d7c2a69ab7b35932c0a38 SHA512 686b869f9278462c6cb52036c4c9261e1689b917ce0afd4e6b47bb3d3207b2e79b2d03c2d3808a5853ab2fa070ac2206877849f5837282cb6deb80f610ba67f5
DIST openjdk-corba-8.252_p09.tar.bz2 1034367 BLAKE2B d281a0b2e092c637adae4a206ac4b3f7beeb65f0fce5862f996ac71a814c5c3ee3261dd1145660cb50fde0398e42ca1e8c86d6aad07e43b44aa1f903c204b21c SHA512 08f348849eeadefee3dce9658b519091a14b9f972a1ee1dc51c37a3cd766e5265faed1931b967410ebff2132dd18cedf8840277d804b402ee43a862e37575ab1
DIST openjdk-corba-8.262_p10.tar.bz2 1033428 BLAKE2B 979f86546dc4c558c8615e4cc1887bcc4a0b82845cf6474ef3802321cb205037c2c753c55f0c219cba3e0771bc2e1a7096b6ad93ce8582e45ef6b5815c0c593b SHA512 4b91cbcc55b983719aa1e0fb683bf2d169b908eb4d4e24857dfd918f4f086e6ce1317f980ba89ff911673131c71c27149091ee114deb75e6f98f31b0922bc04f
DIST openjdk-corba-8.265_p01.tar.bz2 1034140 BLAKE2B 4b176bf2d9ff461b5682ad7f4b994091acf017df2caabf292dcda9baa34abd7d8016f56f2aff0866508eac565f4079e6f8ba8cbd8167abf1e38cd1fac727e141 SHA512 d92b69ab33176c29c5b7c0a5a21947d5d28dafa32a5933414bea5d16d4e68e1a381b2a73114952d507e7ee76c132e70dc8234175edfd3a086c4775417eaa7d9a
DIST openjdk-hotspot-8.252_p09.tar.bz2 7954548 BLAKE2B a791d3c3385be3c8543bea1fc8d5bee9b3de873122ec850c3ad0082430083ec9dff2aa7c0cae33e628047a18a76fca8146b68aa52f32845cf7a61a45fdc8d9eb SHA512 53079cc255f75f246a67937bdf2b7715882f9baf8bcbc46ab2963c259359b1008642aeeae7ba7705c39f7a04e69ba286421a83b90294e81071f8e630db48ba7c
DIST openjdk-hotspot-8.262_p10.tar.bz2 8204485 BLAKE2B dd4411fdceb36c378d15fce45dc75ea6b2e19c219a6b46e10de3864407d9eff0a4fcb7fcf2f5f0bc613b68cd54766404f25c76346c7500e7a2018c0001ad4981 SHA512 11880562cebbdc4abd59cd2ac234ca697316c1ec78ad291fa41d69fe8f5f01f30db0c3e224226521afcaf798619a5afc9055ea12fcd41f5da179a353351dff2a
DIST openjdk-hotspot-8.265_p01.tar.bz2 8204133 BLAKE2B 3c574da38c9c787e2b40dafa6d7885f9632804a158de26fb4e6f9b5266c955adad8adb1917043eecba97fbb1e53c063da08231e806f5ba8f6c0ef762e88c45b6 SHA512 a3fbc527456aeb8566db24f910e6a64f976e3434fe3717058ee91e66e88d03d77641d342801002f7fa35fb8bb94ce397c95ac2abb86c0616ff25f167878b478b
DIST openjdk-jaxp-8.252_p09.tar.bz2 2736174 BLAKE2B c198f144be7d0e7439e2184768db8649973f9e6869e67d3a950abd4872584160f4aaec1f4bec727f0d38830d34a4be7bd2f3e897b8ca10c758212262fa1672c3 SHA512 8027676e2928087a7d396c4f1edd3366336aaf8e3f201e2006cb7ddf91e518c9258d7ab6cc1c4fcc27e3e87bcecd96c55b2550d49f28b98beabf7553ea54ba3f
DIST openjdk-jaxp-8.262_p10.tar.bz2 2735942 BLAKE2B 0445bffe29772968775d4ef5c516e16e53564a27828487ac69224591f008659548bf561eb5e8ac90d1c6129c52e5b91da142b66eb3c4117504752d8a151202ba SHA512 6ff35eaf23a21376643252a0cdcf7d82588c49f9e231e069b14c930d0379f1ef5973996918ae964729d2038d677f2afeec094af904df7e294c3c81a09f12c0b1
DIST openjdk-jaxp-8.265_p01.tar.bz2 2735823 BLAKE2B 84a1248b4eb56f4afff62c5dc0f3517c98a6dc5c7e434012c667d59f05a1719372f68594d9d6b13c04e98887913a01b05eefcdadb3a028275555b2a9720502ba SHA512 d0f9da699d4141fa5535abbdf244b4da0fd466b8b5eca3fcaa7cc739326d79a5aa5ffac90988f8bedb39f80d7d4f1feaac3cf5fb1b019203cc96eae9746d9bbc
DIST openjdk-jaxws-8.252_p09.tar.bz2 2542417 BLAKE2B cf898e0c56269ea1f468c6b9e6cfbdf552caea562f833ade234d207f05be6f39f86d9d6794cc8b365ed3fde4bac5df41949e76cbaef61553f5557ec86dd593e6 SHA512 cadeec8825073db1fea13f1d83903ba2799324cfa8e25012c5dc98ec31976bd91b22526f98fc871d0ee01156943f4fc4ec115f7a81feb10e9f7d96f3f39a9313
DIST openjdk-jaxws-8.262_p10.tar.bz2 2543114 BLAKE2B 1329a7157335374e6a61572843c067fbb8125ccdc425ce54a5fc723750d2efdde255390393dfbdb3993fe21943bc9c18bb0aa22a177d7095bbe1343cd4fed1b4 SHA512 d229dea6d1feb0f404f438e8e2fe7760866965db3d0dfe2c3be52122723a915b502114716b99a243029f4377ea701918568dfe7a8426922e7186addb2ea9a36a
DIST openjdk-jaxws-8.265_p01.tar.bz2 2543597 BLAKE2B c83256ab68837cc44d65414343d4bfa7d908926b1a092416cb16551593ed58eb4e28333a6e0417fdad7426ea2b648cffe9e8ef9531f76b7ff9a29851cb27918b SHA512 3a23ae92cbc1f5f47a1f2dffaaef1999acc34125176f67139040f17c3b6fe4cf78ee8c506a73c8fd38ddbb59bfb22c61f2e45ebf8739be7eb7df83cc65303433
DIST openjdk-jdk-8.252_p09.tar.bz2 47507382 BLAKE2B 4638256df52aa48a1ccace15fe65b284cb2a1e3a3c45f32ae69a807ae4bd9b9ce3cf9f464a9b8a87d07c49f2d7c48c8516b43d9d4372f578ad1cd4dfa17abb80 SHA512 96188acc8078c312c7118abfbc39874429f71e63c2e282fef2da9df29731ee13396bda28a8a1041b17b50da4bb00b1fe88404d682b0a850e5db10e59e39994f2
DIST openjdk-jdk-8.262_p10.tar.bz2 48030557 BLAKE2B 5aba38969729686718527acbf469086afc241c65667a69ddd2a71af4250dd2d931ea267a0c956a1ab342eea032a981ff66a31875f3d7ccca9dcdff82e02df10e SHA512 120b0f613ed9b13c07e68cfc074a1d812567edbc209cbc14d15b477fb7e67a779139f620bc7c65423e420c7b240211727760ca69b532d2f009452f7bfbecacd4
DIST openjdk-jdk-8.265_p01.tar.bz2 48017864 BLAKE2B b30a573a79a06abfe98e5963521f762e3517bda2bf6849af758285b7ea61cc57d89290ec47538b1082eea99646d3dd6295b98ad65edd62d1b1fd2480c0928a74 SHA512 44ad75bf3b3c6fd6b782ee5383edfa60fb49ac2e40493b18487bcb8a4dac926ffcf5b663adbb8d3267021bd47d5b60652771a88257fbaff77aa2e1f627252418
DIST openjdk-langtools-8.252_p09.tar.bz2 2399354 BLAKE2B aa3f0cb647986490612b9574fb0c78955f5ffb8969dbd06dfae5406436d6fecdbbb09896bdb0acc18d56f51bcd4ad1eadb19cc544185762ad623a47fde2e4a85 SHA512 d84ff97294ac612cd4e49deb2d7470026a564208c0e1fa23d5692db45efaaf564483966921ce642506a97aa90a2a8593617f944ebc6d18c9db5a808fd3946864
DIST openjdk-langtools-8.262_p10.tar.bz2 2398186 BLAKE2B 874461ecd6655edab66541ca681e60eb1f0dd3331d26ad806f59c486658fb7cdf26a65869316ae7e1ba04aa1a4b45f1bc2848b695e89a87b878f399b08b12bb4 SHA512 a109d8dd94c83b0caddd1527c2467c12f05c344c1916a5af7bac0127a5694107d6a902679bf609a48aad434b3c623d42cce6ece83b205051435d3e3aab1824f7
DIST openjdk-langtools-8.265_p01.tar.bz2 2399426 BLAKE2B 550a3dcee38b41feaf8c5b6b88f700c52f870ed0c3f25fa23f34bb3f40c333965e911ac126f4b038057472acea2b684917692a6881e46e4aa68b05cd7e4346da SHA512 24d0978a8e6254a96a5399420831d320ea2b2f5b7055ceba030802b85fcb9630031499504ca72305361fa3a386c2ca0a8c38082ee2b15b8569fdf7e815730be6
DIST openjdk-nashorn-8.252_p09.tar.bz2 2852104 BLAKE2B 570fbe605ed27c4b3a5db5f6e9dbb4269ad2c895654a989d366a4a6f238ea06fec398140563ca2700303856dfa795ae40dbf9485dd9e9a46ef438f5418fd8b8b SHA512 996e7068d8c6f8ca192e6037eaf7f98ff94188c02670caadf1042e4e0909a3d51835a8cd2250d1f0a8bbdedb107f3713b614466ba4d2915b955e19fdcc2cbb91
DIST openjdk-nashorn-8.262_p10.tar.bz2 2852351 BLAKE2B f7c4650981e6193f5e7495971b1a1777e086d734befe79ef53bc20382cc738f14ea95e6bd1baa51e128a071c96ca3885eac93494fe1db92de4eb2820f1392ebd SHA512 55119e12a7dc2f1acc31c655f5b3fb9f417b06310c99d4e93c355bd638950f839e62137509f784dafd7f402940dddefc4c0952a5e182d4801f46d78830086e97
DIST openjdk-nashorn-8.265_p01.tar.bz2 2852124 BLAKE2B 380202d487e62e08784b7fd5cb720c22a2b93d802898b90bf2686bac803fe2bc41d8d4b3d56b45bfb45686a2976d208359818b17b96ccce73fd55b389f4d04af SHA512 12522a06f16f1c63d6b6df525011d01ff91ba05f06ee7ade239faa31527ca9aaa9fa609c1ad261f0ae8d75cc195fe1af66e026815bdc0669fb6a286a49f86a5e

@ -0,0 +1,226 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit check-reqs eapi7-ver flag-o-matic java-pkg-2 java-vm-2 multiprocessing pax-utils toolchain-funcs
# we need latest -ga tag from hg, but want to keep build number as well
# as _p component of the gentoo version string.
MY_PV=$(ver_rs 1 'u' 2 '-' ${PV%_p*}-ga)
BASE_URI="https://hg.${PN}.java.net/jdk8u/jdk8u"
DESCRIPTION="Open source implementation of the Java programming language"
HOMEPAGE="https://openjdk.java.net"
SRC_URI="
${BASE_URI}/archive/jdk${MY_PV}.tar.bz2 -> ${P}.tar.bz2
${BASE_URI}/corba/archive/jdk${MY_PV}.tar.bz2 -> ${PN}-corba-${PV}.tar.bz2
${BASE_URI}/hotspot/archive/jdk${MY_PV}.tar.bz2 -> ${PN}-hotspot-${PV}.tar.bz2
${BASE_URI}/jaxp/archive/jdk${MY_PV}.tar.bz2 -> ${PN}-jaxp-${PV}.tar.bz2
${BASE_URI}/jaxws/archive/jdk${MY_PV}.tar.bz2 -> ${PN}-jaxws-${PV}.tar.bz2
${BASE_URI}/jdk/archive/jdk${MY_PV}.tar.bz2 -> ${PN}-jdk-${PV}.tar.bz2
${BASE_URI}/langtools/archive/jdk${MY_PV}.tar.bz2 -> ${PN}-langtools-${PV}.tar.bz2
${BASE_URI}/nashorn/archive/jdk${MY_PV}.tar.bz2 -> ${PN}-nashorn-${PV}.tar.bz2
"
LICENSE="GPL-2"
SLOT="$(ver_cut 1)"
KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE="alsa debug cups doc examples headless-awt +jbootstrap nsplugin +pch selinux source webstart"
COMMON_DEPEND="
media-libs/freetype:2=
media-libs/giflib:0/7
sys-libs/zlib
"
# Many libs are required to build, but not to run, make is possible to remove
# by listing conditionally in RDEPEND unconditionally in DEPEND
RDEPEND="
${COMMON_DEPEND}
>=sys-apps/baselayout-java-0.1.0-r1
!headless-awt? (
x11-libs/libX11
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrender
x11-libs/libXt
x11-libs/libXtst
)
alsa? ( media-libs/alsa-lib )
cups? ( net-print/cups )
selinux? ( sec-policy/selinux-java )
"
DEPEND="
${COMMON_DEPEND}
app-arch/zip
media-libs/alsa-lib
net-print/cups
x11-base/xorg-proto
x11-libs/libX11
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrender
x11-libs/libXt
x11-libs/libXtst
|| (
dev-java/openjdk-bin:${SLOT}
dev-java/icedtea-bin:${SLOT}
dev-java/openjdk:${SLOT}
dev-java/icedtea:${SLOT}
)
"
PDEPEND="
webstart? ( >=dev-java/icedtea-web-1.6.1:0 )
nsplugin? ( >=dev-java/icedtea-web-1.6.1:0[nsplugin] )
"
S="${WORKDIR}/jdk${SLOT}u-jdk${MY_PV}"
# The space required to build varies wildly depending on USE flags,
# ranging from 2GB to 16GB. This function is certainly not exact but
# should be close enough to be useful.
openjdk_check_requirements() {
local M
M=2048
M=$(( $(usex debug 3 1) * $M ))
M=$(( $(usex jbootstrap 2 1) * $M ))
M=$(( $(usex doc 320 0) + $(usex source 128 0) + 192 + $M ))
CHECKREQS_DISK_BUILD=${M}M check-reqs_pkg_${EBUILD_PHASE}
}
pkg_pretend() {
openjdk_check_requirements
if [[ ${MERGE_TYPE} != binary ]]; then
has ccache ${FEATURES} && die "FEATURES=ccache doesn't work with ${PN}"
fi
}
pkg_setup() {
openjdk_check_requirements
JAVA_PKG_WANT_BUILD_VM="openjdk-${SLOT} openjdk-bin-${SLOT} icedtea-${SLOT} icedtea-bin-${SLOT}"
JAVA_PKG_WANT_SOURCE="${SLOT}"
JAVA_PKG_WANT_TARGET="${SLOT}"
java-vm-2_pkg_setup
java-pkg-2_pkg_setup
}
src_prepare() {
default
chmod +x configure || die
local repo
for repo in corba hotspot jdk jaxp jaxws langtools nashorn; do
ln -s ../"${repo}-jdk${MY_PV}" "${repo}" || die
done
# new warnings in new gcc https://bugs.gentoo.org/685426
sed -i '/^WARNINGS_ARE_ERRORS/ s/-Werror/-Wno-error/' \
hotspot/make/linux/makefiles/gcc.make || die
}
src_configure() {
# general build info found here:
#https://hg.openjdk.java.net/jdk8/jdk8/raw-file/tip/README-builds.html
# Work around stack alignment issue, bug #647954.
use x86 && append-flags -mincoming-stack-boundary=2
# Work around -fno-common ( GCC10 default ), bug #706638
append-flags -fcommon
local myconf=(
--disable-ccache
--enable-unlimited-crypto
--with-boot-jdk="${JDK_HOME}"
--with-extra-cflags="${CFLAGS}"
--with-extra-cxxflags="${CXXFLAGS}"
--with-extra-ldflags="${LDFLAGS}"
--with-giflib=system
--with-jtreg=no
--with-jobs=1
--with-num-cores=1
--with-update-version="$(ver_cut 2)"
--with-build-number="b$(ver_cut 4)"
--with-milestone="fcs" # magic variable that means "release version"
--with-vendor-name="Gentoo"
--with-vendor-url="https://gentoo.org"
--with-vendor-bug-url="https://bugs.gentoo.org"
--with-vendor-vm-bug-url="https://bugs.openjdk.java.net"
--with-zlib=system
--with-native-debug-symbols=$(usex debug internal none)
$(usex headless-awt --disable-headful '')
)
# PaX breaks pch, bug #601016
if use pch && ! host-is-pax; then
myconf+=( --enable-precompiled-headers )
else
myconf+=( --disable-precompiled-headers )
fi
(
unset _JAVA_OPTIONS JAVA JAVA_TOOL_OPTIONS JAVAC XARGS
CFLAGS= CXXFLAGS= LDFLAGS= \
CONFIG_SITE=/dev/null \
econf "${myconf[@]}"
)
}
src_compile() {
local myemakeargs=(
JOBS=$(makeopts_jobs)
LOG=debug
$(usex doc docs '')
$(usex jbootstrap bootcycle-images images)
)
emake "${myemakeargs[@]}" -j1 #nowarn
}
src_install() {
local dest="/usr/$(get_libdir)/${PN}-${SLOT}"
local ddest="${ED%/}/${dest#/}"
cd "${S}"/build/*-release/images/j2sdk-image || die
if ! use alsa; then
rm -v jre/lib/$(get_system_arch)/libjsoundalsa.* || die
fi
# stupid build system does not remove that
if use headless-awt ; then
rm -fvr jre/lib/$(get_system_arch)/lib*{[jx]awt,splashscreen}* \
{,jre/}bin/policytool bin/appletviewer || die
fi
if ! use examples ; then
rm -vr demo/ || die
fi
if ! use source ; then
rm -v src.zip || die
fi
dodir "${dest}"
cp -pPR * "${ddest}" || die
dosym ../../../../../../etc/ssl/certs/java/cacerts "${dest}"/jre/lib/security/cacerts
java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
java-vm_set-pax-markings "${ddest}"
java-vm_revdep-mask
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
if use doc ; then
docinto html
dodoc -r "${S}"/build/*-release/docs/*
fi
}
pkg_postinst() {
java-vm-2_pkg_postinst
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save