From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- .../App-XML-DocBook-Builder-0.100.300-r1.ebuild | 2 +- app-text/App-XML-DocBook-Builder/Manifest | 2 +- app-text/Manifest.gz | Bin 48422 -> 48403 bytes app-text/ansifilter/Manifest | 2 +- app-text/ansifilter/ansifilter-2.18.ebuild | 5 +- app-text/antiword/Manifest | 1 - app-text/antiword/antiword-0.37-r1.ebuild | 50 --- app-text/asciidoc/Manifest | 4 +- app-text/asciidoc/asciidoc-10.1.3.ebuild | 48 +++ app-text/asciidoc/asciidoc-9.1.0.ebuild | 2 +- app-text/aspell/Manifest | 2 +- app-text/aspell/aspell-0.60.8-r3.ebuild | 113 ------- app-text/aspell/aspell-0.60.8-r4.ebuild | 113 +++++++ app-text/calibre/Manifest | 8 +- app-text/calibre/calibre-5.33.2.ebuild | 315 ------------------- app-text/calibre/calibre-5.35.0.ebuild | 315 ------------------- app-text/calibre/calibre-5.38.0.ebuild | 316 +++++++++++++++++++ app-text/calibre/calibre-5.39.0.ebuild | 316 +++++++++++++++++++ app-text/crf++/Manifest | 2 +- app-text/crf++/crf++-0.58.ebuild | 8 +- app-text/evince/Manifest | 4 +- app-text/evince/evince-40.4.ebuild | 127 -------- app-text/evince/evince-41.3.ebuild | 6 +- app-text/expander/Manifest | 2 +- app-text/expander/expander-2.0.5-r2.ebuild | 4 +- app-text/foliate/Manifest | 4 +- app-text/foliate/foliate-2.6.2.ebuild | 51 --- app-text/foliate/foliate-2.6.4-r1.ebuild | 52 +++ app-text/foliate/foliate-2.6.4.ebuild | 51 --- app-text/grip/Manifest | 2 + app-text/grip/grip-4.6.0.ebuild | 27 ++ app-text/highlight/Manifest | 6 +- app-text/highlight/highlight-3.57-r100.ebuild | 22 +- app-text/highlight/highlight-3.60.ebuild | 22 +- app-text/highlight/highlight-4.1.ebuild | 22 +- app-text/jabref/Manifest | 5 + .../files/jabref-2.10-javax.swing-java-9+.patch | 313 ++++++++++++++++++ .../files/jabref-2.10-skip-failing-tests.patch | 349 +++++++++++++++++++++ .../files/jabref-2.10-test-jvm-props-args.patch | 49 +++ app-text/jabref/files/jabref-2.10-test-prefs.xml | 19 ++ app-text/jabref/jabref-2.10-r7.ebuild | 132 ++++++++ app-text/kramdown-rfc2629/Manifest | 4 + .../kramdown-rfc2629-1.5.26.ebuild | 30 ++ .../kramdown-rfc2629/kramdown-rfc2629-1.6.5.ebuild | 30 ++ app-text/languagetool/Manifest | 4 - app-text/languagetool/languagetool-4.5.ebuild | 66 ---- app-text/languagetool/languagetool-4.6.ebuild | 77 ----- app-text/lesspipe/Manifest | 10 +- app-text/lesspipe/lesspipe-1.91.ebuild | 5 +- app-text/lesspipe/lesspipe-2.01.ebuild | 43 --- app-text/lesspipe/lesspipe-2.02.ebuild | 43 --- app-text/lesspipe/lesspipe-2.03.ebuild | 42 +++ app-text/lesspipe/lesspipe-2.04-r1.ebuild | 47 +++ app-text/libetonyek/Manifest | 4 +- app-text/libetonyek/libetonyek-0.1.10.ebuild | 4 +- app-text/libetonyek/libetonyek-9999.ebuild | 8 +- app-text/libmspub/Manifest | 4 +- app-text/libmspub/libmspub-0.1.4.ebuild | 10 +- app-text/libmspub/libmspub-9999.ebuild | 10 +- app-text/libnumbertext/Manifest | 4 +- app-text/libnumbertext/libnumbertext-1.0.7.ebuild | 24 -- app-text/libnumbertext/libnumbertext-1.0.8.ebuild | 2 +- app-text/lowdown/Manifest | 8 +- .../lowdown/files/lowdown-0.10.0-linking.patch | 7 +- .../files/lowdown-0.10.0-pkgconfig-libmd.patch | 11 + .../lowdown/files/lowdown-0.11.1-linking.patch | 37 +++ app-text/lowdown/lowdown-0.10.0-r1.ebuild | 47 +++ app-text/lowdown/lowdown-0.10.0.ebuild | 46 --- app-text/lowdown/lowdown-0.11.1-r1.ebuild | 45 +++ app-text/master-pdf-editor/Manifest | 6 +- .../master-pdf-editor-5.8.06.ebuild | 42 --- .../master-pdf-editor-5.8.20-r1.ebuild | 44 +++ .../master-pdf-editor-5.8.20.ebuild | 43 --- .../master-pdf-editor-5.8.33.ebuild | 44 +++ app-text/mdbook/Manifest | 2 +- app-text/mdbook/mdbook-0.4.15.ebuild | 2 +- app-text/msort/Manifest | 2 +- app-text/msort/msort-8.53-r1.ebuild | 46 +++ app-text/msort/msort-8.53.ebuild | 46 --- app-text/mupdf/Manifest | 2 +- app-text/mupdf/mupdf-1.19.0.ebuild | 2 +- app-text/nuspell/Manifest | 2 + app-text/nuspell/nuspell-5.1.0.ebuild | 51 +++ app-text/openpaperwork-core/Manifest | 6 +- .../openpaperwork-core-2.0.2.ebuild | 20 -- .../openpaperwork-core-2.0.3.ebuild | 20 -- .../openpaperwork-core-2.1.1.ebuild | 20 ++ app-text/openpaperwork-gtk/Manifest | 6 +- .../openpaperwork-gtk-2.0.2.ebuild | 23 -- .../openpaperwork-gtk-2.0.3.ebuild | 23 -- .../openpaperwork-gtk-2.1.1.ebuild | 24 ++ app-text/opensp/Manifest | 2 +- app-text/opensp/opensp-1.5.2-r7.ebuild | 2 +- app-text/paperwork-backend/Manifest | 6 +- .../paperwork-backend-2.0.2-r1.ebuild | 32 -- .../paperwork-backend-2.0.3.ebuild | 32 -- .../paperwork-backend-2.1.1.ebuild | 32 ++ app-text/paperwork/Manifest | 7 +- .../files/paperwork-2.0.3-desktop_file.patch | 12 - app-text/paperwork/paperwork-2.0.2.ebuild | 32 -- app-text/paperwork/paperwork-2.0.3.ebuild | 46 --- app-text/paperwork/paperwork-2.1.1.ebuild | 43 +++ app-text/pdfarranger/Manifest | 6 +- app-text/pdfarranger/pdfarranger-1.7.1.ebuild | 51 --- app-text/pdfarranger/pdfarranger-1.8.1.ebuild | 51 --- app-text/pdfarranger/pdfarranger-1.8.2.ebuild | 2 +- app-text/po4a/Manifest | 2 + app-text/po4a/po4a-0.66.ebuild | 53 ++++ app-text/podofo/Manifest | 2 + app-text/podofo/podofo-0.9.7.ebuild | 114 +++++++ app-text/poppler-data/Manifest | 2 +- app-text/poppler-data/poppler-data-0.4.11.ebuild | 4 +- app-text/poppler/Manifest | 13 +- .../files/poppler-21.12.0-include-csetjmp.patch | 27 -- app-text/poppler/poppler-21.11.0.ebuild | 126 -------- app-text/poppler/poppler-21.12.0.ebuild | 127 -------- app-text/poppler/poppler-22.01.0.ebuild | 2 +- app-text/poppler/poppler-22.02.0.ebuild | 126 ++++++++ app-text/poppler/poppler-22.03.0.ebuild | 126 ++++++++ app-text/poppler/poppler-9999.ebuild | 2 +- app-text/pspresent/Manifest | 2 +- app-text/pspresent/pspresent-1.3-r1.ebuild | 4 +- app-text/qpdf/Manifest | 8 +- app-text/qpdf/qpdf-10.5.0.ebuild | 4 +- app-text/qpdf/qpdf-10.6.1.ebuild | 88 ++++++ app-text/qpdf/qpdf-10.6.2.ebuild | 89 ++++++ app-text/recode/Manifest | 2 + app-text/recode/recode-3.7.12.ebuild | 59 ++++ app-text/ronn-ng/Manifest | 4 +- app-text/ronn-ng/ronn-ng-0.9.1-r1.ebuild | 4 +- app-text/ronn-ng/ronn-ng-0.9.1.ebuild | 4 +- app-text/ronn/Manifest | 2 +- app-text/ronn/ronn-0.7.3-r4.ebuild | 4 +- app-text/sigil/Manifest | 2 +- app-text/sigil/sigil-1.8.0.ebuild | 4 +- app-text/stardict/Manifest | 4 +- app-text/stardict/stardict-3.0.6-r4.ebuild | 12 +- .../stardict/stardict-4.0.0_pre20170304-r1.ebuild | 12 +- app-text/tesseract/Manifest | 4 +- app-text/tesseract/tesseract-5.0.0.ebuild | 92 ------ app-text/tesseract/tesseract-5.1.0.ebuild | 92 ++++++ app-text/trang/Manifest | 4 +- app-text/trang/trang-20151127.ebuild | 79 ----- app-text/trang/trang-20181222.ebuild | 2 +- app-text/tree/Manifest | 2 + app-text/tree/tree-2.0.1.ebuild | 41 +++ app-text/ttf2pk2/Manifest | 2 +- app-text/ttf2pk2/ttf2pk2-2.0_p20210325.ebuild | 4 +- app-text/unpaper/Manifest | 2 +- app-text/unpaper/unpaper-6.1-r1.ebuild | 4 +- app-text/webgen/Manifest | 2 - app-text/webgen/webgen-1.7.1.ebuild | 52 --- app-text/wv2/Manifest | 2 +- app-text/wv2/wv2-0.4.2-r2.ebuild | 39 --- app-text/wv2/wv2-0.4.2-r3.ebuild | 39 +++ app-text/xchm/Manifest | 5 +- app-text/xchm/xchm-1.32.ebuild | 47 --- app-text/xchm/xchm-1.33.ebuild | 2 +- app-text/xchm/xchm-9999.ebuild | 58 ---- app-text/xmlstarlet/Manifest | 2 +- app-text/xmlstarlet/xmlstarlet-1.6.1.ebuild | 4 +- app-text/xmlto/Manifest | 2 +- app-text/xmlto/xmlto-0.0.28-r8.ebuild | 4 +- app-text/xournalpp/Manifest | 7 +- .../files/xournalpp-1.1.1-nocompress.patch | 53 ++++ .../xournalpp/files/xournalpp-1.1.1-nostrip.patch | 31 ++ app-text/xournalpp/xournalpp-1.1.1-r1.ebuild | 52 +++ app-text/xournalpp/xournalpp-1.1.1.ebuild | 46 +++ app-text/xournalpp/xournalpp-9999.ebuild | 15 +- app-text/yelp-tools/Manifest | 4 +- app-text/yelp-tools/yelp-tools-40.0.ebuild | 36 --- app-text/yelp-tools/yelp-tools-41.0.ebuild | 4 +- app-text/zathura-cb/Manifest | 2 + app-text/zathura-cb/zathura-cb-0.1.9.ebuild | 43 +++ app-text/zathura-pdf-mupdf/Manifest | 10 +- app-text/zathura-pdf-mupdf/metadata.xml | 5 +- .../zathura-pdf-mupdf-0.3.6.ebuild | 4 +- .../zathura-pdf-mupdf-0.3.7-r1.ebuild | 2 +- .../zathura-pdf-mupdf-0.3.8.ebuild | 40 +++ .../zathura-pdf-mupdf-9999.ebuild | 15 +- app-text/zathura-ps/Manifest | 2 + app-text/zathura-ps/zathura-ps-0.2.7.ebuild | 39 +++ 182 files changed, 3714 insertions(+), 2713 deletions(-) delete mode 100644 app-text/antiword/antiword-0.37-r1.ebuild create mode 100644 app-text/asciidoc/asciidoc-10.1.3.ebuild delete mode 100644 app-text/aspell/aspell-0.60.8-r3.ebuild create mode 100644 app-text/aspell/aspell-0.60.8-r4.ebuild delete mode 100644 app-text/calibre/calibre-5.33.2.ebuild delete mode 100644 app-text/calibre/calibre-5.35.0.ebuild create mode 100644 app-text/calibre/calibre-5.38.0.ebuild create mode 100644 app-text/calibre/calibre-5.39.0.ebuild delete mode 100644 app-text/evince/evince-40.4.ebuild delete mode 100644 app-text/foliate/foliate-2.6.2.ebuild create mode 100644 app-text/foliate/foliate-2.6.4-r1.ebuild delete mode 100644 app-text/foliate/foliate-2.6.4.ebuild create mode 100644 app-text/grip/grip-4.6.0.ebuild create mode 100644 app-text/jabref/files/jabref-2.10-javax.swing-java-9+.patch create mode 100644 app-text/jabref/files/jabref-2.10-skip-failing-tests.patch create mode 100644 app-text/jabref/files/jabref-2.10-test-jvm-props-args.patch create mode 100644 app-text/jabref/files/jabref-2.10-test-prefs.xml create mode 100644 app-text/jabref/jabref-2.10-r7.ebuild create mode 100644 app-text/kramdown-rfc2629/kramdown-rfc2629-1.5.26.ebuild create mode 100644 app-text/kramdown-rfc2629/kramdown-rfc2629-1.6.5.ebuild delete mode 100644 app-text/languagetool/languagetool-4.5.ebuild delete mode 100644 app-text/languagetool/languagetool-4.6.ebuild delete mode 100644 app-text/lesspipe/lesspipe-2.01.ebuild delete mode 100644 app-text/lesspipe/lesspipe-2.02.ebuild create mode 100644 app-text/lesspipe/lesspipe-2.03.ebuild create mode 100644 app-text/lesspipe/lesspipe-2.04-r1.ebuild delete mode 100644 app-text/libnumbertext/libnumbertext-1.0.7.ebuild create mode 100644 app-text/lowdown/files/lowdown-0.10.0-pkgconfig-libmd.patch create mode 100644 app-text/lowdown/files/lowdown-0.11.1-linking.patch create mode 100644 app-text/lowdown/lowdown-0.10.0-r1.ebuild delete mode 100644 app-text/lowdown/lowdown-0.10.0.ebuild create mode 100644 app-text/lowdown/lowdown-0.11.1-r1.ebuild delete mode 100644 app-text/master-pdf-editor/master-pdf-editor-5.8.06.ebuild create mode 100644 app-text/master-pdf-editor/master-pdf-editor-5.8.20-r1.ebuild delete mode 100644 app-text/master-pdf-editor/master-pdf-editor-5.8.20.ebuild create mode 100644 app-text/master-pdf-editor/master-pdf-editor-5.8.33.ebuild create mode 100644 app-text/msort/msort-8.53-r1.ebuild delete mode 100644 app-text/msort/msort-8.53.ebuild create mode 100644 app-text/nuspell/nuspell-5.1.0.ebuild delete mode 100644 app-text/openpaperwork-core/openpaperwork-core-2.0.2.ebuild delete mode 100644 app-text/openpaperwork-core/openpaperwork-core-2.0.3.ebuild create mode 100644 app-text/openpaperwork-core/openpaperwork-core-2.1.1.ebuild delete mode 100644 app-text/openpaperwork-gtk/openpaperwork-gtk-2.0.2.ebuild delete mode 100644 app-text/openpaperwork-gtk/openpaperwork-gtk-2.0.3.ebuild create mode 100644 app-text/openpaperwork-gtk/openpaperwork-gtk-2.1.1.ebuild delete mode 100644 app-text/paperwork-backend/paperwork-backend-2.0.2-r1.ebuild delete mode 100644 app-text/paperwork-backend/paperwork-backend-2.0.3.ebuild create mode 100644 app-text/paperwork-backend/paperwork-backend-2.1.1.ebuild delete mode 100644 app-text/paperwork/files/paperwork-2.0.3-desktop_file.patch delete mode 100644 app-text/paperwork/paperwork-2.0.2.ebuild delete mode 100644 app-text/paperwork/paperwork-2.0.3.ebuild create mode 100644 app-text/paperwork/paperwork-2.1.1.ebuild delete mode 100644 app-text/pdfarranger/pdfarranger-1.7.1.ebuild delete mode 100644 app-text/pdfarranger/pdfarranger-1.8.1.ebuild create mode 100644 app-text/po4a/po4a-0.66.ebuild create mode 100644 app-text/podofo/podofo-0.9.7.ebuild delete mode 100644 app-text/poppler/files/poppler-21.12.0-include-csetjmp.patch delete mode 100644 app-text/poppler/poppler-21.11.0.ebuild delete mode 100644 app-text/poppler/poppler-21.12.0.ebuild create mode 100644 app-text/poppler/poppler-22.02.0.ebuild create mode 100644 app-text/poppler/poppler-22.03.0.ebuild create mode 100644 app-text/qpdf/qpdf-10.6.1.ebuild create mode 100644 app-text/qpdf/qpdf-10.6.2.ebuild create mode 100644 app-text/recode/recode-3.7.12.ebuild delete mode 100644 app-text/tesseract/tesseract-5.0.0.ebuild create mode 100644 app-text/tesseract/tesseract-5.1.0.ebuild delete mode 100644 app-text/trang/trang-20151127.ebuild create mode 100644 app-text/tree/tree-2.0.1.ebuild delete mode 100644 app-text/webgen/webgen-1.7.1.ebuild delete mode 100644 app-text/wv2/wv2-0.4.2-r2.ebuild create mode 100644 app-text/wv2/wv2-0.4.2-r3.ebuild delete mode 100644 app-text/xchm/xchm-1.32.ebuild delete mode 100644 app-text/xchm/xchm-9999.ebuild create mode 100644 app-text/xournalpp/files/xournalpp-1.1.1-nocompress.patch create mode 100644 app-text/xournalpp/files/xournalpp-1.1.1-nostrip.patch create mode 100644 app-text/xournalpp/xournalpp-1.1.1-r1.ebuild create mode 100644 app-text/xournalpp/xournalpp-1.1.1.ebuild delete mode 100644 app-text/yelp-tools/yelp-tools-40.0.ebuild create mode 100644 app-text/zathura-cb/zathura-cb-0.1.9.ebuild create mode 100644 app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.8.ebuild create mode 100644 app-text/zathura-ps/zathura-ps-0.2.7.ebuild (limited to 'app-text') diff --git a/app-text/App-XML-DocBook-Builder/App-XML-DocBook-Builder-0.100.300-r1.ebuild b/app-text/App-XML-DocBook-Builder/App-XML-DocBook-Builder-0.100.300-r1.ebuild index b7cdf2082ead..1bc0e918f218 100644 --- a/app-text/App-XML-DocBook-Builder/App-XML-DocBook-Builder-0.100.300-r1.ebuild +++ b/app-text/App-XML-DocBook-Builder/App-XML-DocBook-Builder-0.100.300-r1.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://www.shlomifish.org/open-source/projects/docmake/" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~riscv ~sparc ~x86" RDEPEND="dev-perl/Class-XSAccessor virtual/perl-Getopt-Long diff --git a/app-text/App-XML-DocBook-Builder/Manifest b/app-text/App-XML-DocBook-Builder/Manifest index b9b816c6d3a0..c596a8598fbf 100644 --- a/app-text/App-XML-DocBook-Builder/Manifest +++ b/app-text/App-XML-DocBook-Builder/Manifest @@ -1,3 +1,3 @@ DIST App-XML-DocBook-Builder-0.1003.tar.gz 18414 BLAKE2B d9a9442c46e171fdd8cd11cb997b8f1dd6ddd92c1ca03f0430be01828c0b46439a3aa14f6d68c2550f21bdee17871a8b314c2f1712b7810344d3a8385e9fea8d SHA512 421fdb84c2d9373ccdefa6b490bba1a78660414d27f470fbad48ac48178e3cb383345cd63a232bcf4ce13561e6775ff97397f5ab06c6142e1d8da34a92d6dcbb -EBUILD App-XML-DocBook-Builder-0.100.300-r1.ebuild 594 BLAKE2B 7a769cb00bcc11dae9c83aded3cf588e399ad63c3040e7c1585017de6cfe24afb13bfed79fee447fd557674f6751f6a0c29544ef339c844fa9453eefaf25a9a8 SHA512 6c70262a35de8cc8b8410964de98f4cf5a6e21205010e1cc27e5bd409b659ee27a2cb94f2713bcc64db8f2045117c4501d933d06cae679143ea54d055d3f586a +EBUILD App-XML-DocBook-Builder-0.100.300-r1.ebuild 601 BLAKE2B 0a99b53cbf8dbcc5aca5fa7bdfc251a2e67639c4d4f1aef88cff79293d28baba87d8ee71196e9c4da5684d3f81ed5dafbd65e15b4d9f2bb1b528c7ea3c3c667c SHA512 6fcad5e55c16ab130e4fbe1a458474fa61b798eaafe8c64e424bf9cfbc533d3d5fff212e52f8a3fdd344db8499f0545262461c53554b637289753c7b5b8692e3 MISC metadata.xml 375 BLAKE2B 7b6956381a455fffbe920a0706a91819fd70eac409a10a32c7c609a85dfef6bf97a64d2781dcac0bb624fa64be2b56b8f1e2f2dc9d42b728c019e514839f6492 SHA512 dd707b431ec91e6cb9da5dc0e2b21937739e480d0e3f2fb42f8236d7f9c1bbe1f8e2f3d95b506c49c3a982b4769eb441eb306310b82cb425a4550b51728f6a1c diff --git a/app-text/Manifest.gz b/app-text/Manifest.gz index 52dfca186322..bec273c14803 100644 Binary files a/app-text/Manifest.gz and b/app-text/Manifest.gz differ diff --git a/app-text/ansifilter/Manifest b/app-text/ansifilter/Manifest index 9f96feb71acf..fb50dc768431 100644 --- a/app-text/ansifilter/Manifest +++ b/app-text/ansifilter/Manifest @@ -1,3 +1,3 @@ DIST ansifilter-2.18.tar.bz2 436432 BLAKE2B 43c592e83a967ee86404332a464d57d202a73651b2e29da2d1d21163d295b6efba96ecb5861dacfa89b8f567c0367f7a32b8e658f8cefad82c5982f2f2bf70bb SHA512 ef7febed1fc31f5c7503648e4fc0a7aefc3da8e30ea649bd6f03eac2904667fb779049106ccb77ad16fbf655e979f6651b25b84ab126c940c66bedee115a28e2 -EBUILD ansifilter-2.18.ebuild 1129 BLAKE2B 269f9616cb0092cf02bb95b40e6b06e8b5ae03142ce7d1782801f0be3036571141791d9c224217e07d1c1e716ed2b9901f989f8b1f27afc6365d27f607e15a4d SHA512 0dbc53979d988ca1fefb3fe811290dbfcf94b8000dbd30db2f98321e5ed7a0eff7395d766d2aa2bd9118ceec545171fd2e55e5fd6032ddc728ecc5cbd9af1bc0 +EBUILD ansifilter-2.18.ebuild 1104 BLAKE2B 0ea12120d3091076273db9c7d056bb36b902e464c525bfd832186688169ee9ac779ed787041e9dabbe96c2fb1f29366a1e4c2c2c1424331a956fc48d6c88284b SHA512 03834a0796df4733241ea1f329f2e783b7056d18a069f584a3c5f593aff797dc6717ccf50ce9e3f11c1da3aa841092c7990155d4dcd61a3706da83004277de59 MISC metadata.xml 222 BLAKE2B b5daf033ea46a708411a54d1b465effb557d4f48cef8f0f4b6872917da7e8efbc9b69db6e04f6331c7a27b473d1ea83e2bdf54247e7c6b427c94c492e62ef21d SHA512 52f592a4e8342cae9f7a982302b75c68af50523b23b4d8a13b5434b150d3c0e812ba66a13b8d5d093e59b64ccbb550640064aabd9748a200e63d170d0b6f327d diff --git a/app-text/ansifilter/ansifilter-2.18.ebuild b/app-text/ansifilter/ansifilter-2.18.ebuild index 521a408a2afd..d93cd18e002d 100644 --- a/app-text/ansifilter/ansifilter-2.18.ebuild +++ b/app-text/ansifilter/ansifilter-2.18.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit toolchain-funcs qmake-utils +inherit desktop toolchain-funcs qmake-utils DESCRIPTION="Handles text files containing ANSI terminal escape codes" HOMEPAGE="http://www.andre-simon.de/" @@ -55,8 +55,7 @@ src_install() { dobin src/${PN} if use qt5 ; then dobin src/qt-gui/${PN}-gui - insinto /usr/share/applications - doins ${PN}.desktop + domenu ${PN}.desktop fi doman man/${PN}.1 diff --git a/app-text/antiword/Manifest b/app-text/antiword/Manifest index 5c26e056022b..3861ff385411 100644 --- a/app-text/antiword/Manifest +++ b/app-text/antiword/Manifest @@ -1,6 +1,5 @@ AUX antiword-0.37-CVE-2014-8123.patch 528 BLAKE2B 612718b3af9f3e91b5b755401a124c65268c482075b4f96ea71260f63e43d8fc5a1e009dce5a6ec527a56e013e4627855ea20259a6d72154e51ca0abf870554b SHA512 412884a236abb5ee75e5c707581c7e0158614d0e168cd9a8fe02dd8dcb8c0963ae2269c9575cd9cb9f4876efb3bec6bef7934fec5c7738530012495637a2d694 DIST antiword-0.37.tar.gz 317884 BLAKE2B f47c815e2c6a1ddb33fefa33b3579fa5ba6e3900d3b9339350d28ebd0223853ad60ed717a1bccf4960c835427ebacc4de944548f9b354cd34889f0742de4e74a SHA512 6cd8fb9137238417544cf8754829a2d5296055d730ea62a8a025236baa79516190317d146401ff40cde73e1ee2c3c374a2ea01b2e5d24e149310bcabb8bfdce8 DIST antiword-gentoo-patches-r2.tar.bz2 1747 BLAKE2B c01aa7c02539fb5148cb1ec01983a8406315bc3cb2f909118c022c2f218660919e6862582cda34dbd4c08a21beb02c928f685273853d1ff3350548957ae30cde SHA512 45ed3ee1c514a9ee78bc8963e56be18426b47ea628f02934dbcec83c2d632162e458f75f998da438daae4794fcce36fd8922a172804c0fc83c6f32c9a8092ffe -EBUILD antiword-0.37-r1.ebuild 1359 BLAKE2B 439002b6ce33a663b68c282770dbb3b43f86bb8e3255a8e15027c5a480f0642cfa71359be9628a5ca0a77520d1aa45ff337aa7c00902a77ed198941b0b06f6f5 SHA512 5ec8979802319c426e7899a56700bed2beecc656a5469b86f86cb353efe172cd221e0940f65457894b1af607b511459e947a02eb488b55ca27a8b2089df9e544 EBUILD antiword-0.37-r2.ebuild 1331 BLAKE2B f42119acb912de393b39f19df9815b8b00a2fc2a808400e53f16939eb089e7e69ea901e73252782ca8cef6719afae2cc8f5c3a03ac5990215bc0ce1317cab4be SHA512 a0a417107e6c9443308aaf715f1f369b91dce63b1f32eae49a7cabd330ef5791bd16d2cd585fa29b8ea9bc87d3120cc2297aaccbc158ef404ab14a723e2e7190 MISC metadata.xml 343 BLAKE2B 43a8dd808338ef2c570ac118c0600029bb805033af3f7e70d8b3afd7e9c685949c4b4e006e1c5bc51b72f9b8ab54104a0f9c731223d73dd5909f04a5bd964526 SHA512 184ff7031a9864c1ee3daa6c3714d148216f556fd112a62c1c2e352f3eef08bd6a1813dbb46dde3a163cc69f59f06ff99570460e4af1c2d4a31085b9aa7043ce diff --git a/app-text/antiword/antiword-0.37-r1.ebuild b/app-text/antiword/antiword-0.37-r1.ebuild deleted file mode 100644 index b9ae5e10151d..000000000000 --- a/app-text/antiword/antiword-0.37-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit epatch toolchain-funcs - -IUSE="kde" -PATCHVER="r2" -DESCRIPTION="free MS Word reader" -HOMEPAGE="http://www.winfield.demon.nl" -SRC_URI="http://www.winfield.demon.nl/linux/${P}.tar.gz - https://dev.gentoo.org/~grobian/distfiles/${PN}-gentoo-patches-${PATCHVER}.tar.bz2" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" - -src_prepare() { - # Makefile is a symlink to Makefile.Linux, avoid that we patch it by - # accident using patch <2.7, see bug #435492 - rm Makefile || die - - EPATCH_SUFFIX="patch" epatch "${WORKDIR}/${PN}-gentoo-patches-${PATCHVER}" - - # Re-add convenience symlink, see above - ln -s Makefile.Linux Makefile - - epatch "${FILESDIR}"/${P}-CVE-2014-8123.patch -} - -src_configure() { :; } - -src_compile() { - emake PREFIX="${EPREFIX}" OPT="${CFLAGS}" CC="$(tc-getCC)" LD="$(tc-getCC)" \ - LDFLAGS="${LDFLAGS}" -} - -src_install() { - emake -j1 PREFIX="${EPREFIX}" DESTDIR="${D}" global_install - - use kde || rm -f "${ED}"/usr/bin/kantiword - - insinto /usr/share/${PN}/examples - doins Docs/testdoc.doc Docs/antiword.php - - cd Docs - doman antiword.1 - dodoc ChangeLog Exmh Emacs FAQ History Netscape QandA ReadMe Mozilla Mutt -} diff --git a/app-text/asciidoc/Manifest b/app-text/asciidoc/Manifest index 0d18a9dd2520..6c50914c6468 100644 --- a/app-text/asciidoc/Manifest +++ b/app-text/asciidoc/Manifest @@ -1,9 +1,11 @@ DIST asciidoc-10.1.1.tar.gz 214619 BLAKE2B b7dc12d57cc3ad72301335ea84aea45db1a1e98f13aebf17fac6cf86657c509daa48ce1755817076c1c82f0a61c68fa7b178bc78bc6fda7274708bfde619491a SHA512 7b2b1ed9ea32b7336c271faf1e40e3a24d3b3af803c87f9d5d32c2b40cadaed682fbbedc6ec67bbe5a51377812d18180128c27779d7190898446266adee92842 +DIST asciidoc-10.1.3.tar.gz 215537 BLAKE2B 61613ded3f0b6b08b097534d88a14ff4b3820077dac14d9136462fe01727ea3134f05b0ddd3d81b31f9a6c2654cc8b775d6e4eb85b9edf8812a16191a43f587f SHA512 b060cb547e008dc2d4ca4646826c0968a0907ac0a2c13d8503e68be69e0ecef12d9a2f742e4614411202b6ea5fff6975bed0dbc07931b0b07a1462841d19c9ab DIST asciidoc-9.0.5.new.tar.gz 1225334 BLAKE2B c3e428098dc4d71704ed13b54fd5f640b9de81d12939facb5faaf38a3123794e57201ecd9c312a22c220a2ec6b06c88a76ab47f05ffa972fc8751089b3471cfc SHA512 9125631fdee464f96f7e3c76a60fe37331905e9e55a81db27aece4065b246dc05a35db4c157dc7dbb2345eb95c153b474251d6a447d65774bf1b3f57e1883895 DIST asciidoc-9.1.0.new.tar.gz 1249958 BLAKE2B 0a98f58f7604f84d704092313c38563634bad5d697d60d02760f3be1d2a78a97ee2488dda3a9918b02e0062710175c6513d600f3fbd850fe700bf3fa917a3980 SHA512 c30854a936228fe5bcf2f9305741fbc4b17ef088b2fa637d5f3b19c7803306085634fb71146f0b089c2fad01f986da71a4fae364139f520c0906525317c0c4a6 DIST asciidoc-9.1.1.new.tar.gz 1259206 BLAKE2B da274d3a9389ee2e42ad1be70467f11d0164df3e6f9102e6ef1be6a802dbeb12898786fa1fe37a95755d0db8c9df5d5dd3faf000dfb73b701a83af3cc0261606 SHA512 74b83e8c8904fd761783c2f572d353656fc0794c6cb427f61e9179c9f80b6fc3b3ee8d028baba4e25eafe5f8cf5318f9984a5828849a793a7520f83e6fe50d66 EBUILD asciidoc-10.1.1-r2.ebuild 1654 BLAKE2B 870db651ec6e6f6c2992eb18fbeb48f07df484bb16a0b70333a82a6bd1b374abca87dac6e8229c9898f753550547f734ea7288bb893d69b352d721084bcb15b8 SHA512 228c9778988ac516d182a143073f8208ad83012a056c88bdff1905eb22037cc46ba08aadb033cf23e3229762185ecbef1aaf6a7dddeebfee53dc5a396fff7e21 +EBUILD asciidoc-10.1.3.ebuild 1685 BLAKE2B 56b8bfdec5d77ff72cc4c6fe808a6367e0e53fbd248218670a65600522b58e69e93fe2d6d1df9bb68e83bd04c24901bcf8e7c2098f569f1638792b961b80cb43 SHA512 b35e06a0692f33085a45879867aef7699f82152006b7dae00041865500a259093a8f05007f736fea68b7e4d1abaeca4e38c209173a0327737240aac1ebb6e735 EBUILD asciidoc-9.0.5-r1.ebuild 2329 BLAKE2B 61dd6902f330bff8023c6bb92d221ec7ea664332ce198380371ca16e4e08272d9f8ef16d3ef7e6e190545d8524a78123d06fbb49fe2baba0a818c71cc053e054 SHA512 dd4208ebd95a7f788ca93c8d3c4a7eec25aca0c8d09cd3182c53f1f5a63ba0808b2c661cea3bb92926b0ffc5629d71c59142991eef17ec1bd42054386aab822b -EBUILD asciidoc-9.1.0.ebuild 2335 BLAKE2B abb52d1e593b9bcf266b65a27e62823d1fb9573c88b6104a48f1ea6d53b271e4099825217eca27f010e9323d4f0fe7d6be61792263b89ec14949dc87d6c632b2 SHA512 bd2cbea0a31aadd05784ba20d57c2f812a771c68323e4c3de88f8e4b3c5c94a9dab0c4906911e72e8b37d8be21398b030e3aa4af93eca34848864485dea2ba39 +EBUILD asciidoc-9.1.0.ebuild 2334 BLAKE2B 17cf7c01cdec7a9b24f82a82446e8dfb7033396efdd4941660a47fc9d87938a52e18b20ce739797ba0409c8a2f27fff3db131a56c6f45a93d36062a166ea0fef SHA512 e3fdf9af5fc2ddfbf935616ac49a13691952fc2f6fefb16b1bfd7b2c35428ad4730ea01a8eda7402a80982e5d4d98b15e71fb1aa172b74b758916939188b774b EBUILD asciidoc-9.1.1.ebuild 2342 BLAKE2B e5c950868bcb3d5e185540c588433deda3ad4d1197cc3062002d66fd8af18471552ad59bc4c6b48203bfc1d22e292bb83ae5e42001f300eb785b424e439e3837 SHA512 b4c7e2232546238a9a4b46b2a59036e64aa13eb46e39747d06f1b55d2a3345f0670a8039f68c463d395053945b14b7144f70e511d66fdabd579707501533dcd7 MISC metadata.xml 380 BLAKE2B b305117b6bc883045d912377e57fde1a62e33ae3194b722d88e3afa0c062d913c1c3ccdc62d789ee97db89fb4fc1b02edc0dd97d2dfdc1a112b71962d35ee819 SHA512 027c6862485a219997037b8d418a03fbb7da9f4a50cfefac573c3f87d7f1c23cc7e82206e0b3c3ee000a7e05dfc446c340c068ca089bc1af16ed9ddeeb378aa4 diff --git a/app-text/asciidoc/asciidoc-10.1.3.ebuild b/app-text/asciidoc/asciidoc-10.1.3.ebuild new file mode 100644 index 000000000000..705aa07cc25d --- /dev/null +++ b/app-text/asciidoc/asciidoc-10.1.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +inherit distutils-r1 optfeature readme.gentoo-r1 + +DESCRIPTION="A plain text human readable/writable document format" +HOMEPAGE="https://asciidoc.org/ https://github.com/asciidoc-py/asciidoc-py/" +# Could use the github tarball but we need autotools then +#SRC_URI="https://github.com/asciidoc-py/asciidoc-py/releases/download/${PV}/${P}.tar.gz" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND="app-text/docbook-xml-dtd:4.5 + >=app-text/docbook-xsl-stylesheets-1.75 + dev-libs/libxslt + dev-libs/libxml2:2" + +DOC_CONTENTS=" +If you are going to use a2x, please also look at a2x(1) under +REQUISITES for a list of runtime dependencies. +" + +src_install() { + distutils-r1_src_install + + # TODO: Consider using Debian patch to allow /usr/share? + insinto /usr/share/asciidoc + doins -r asciidoc/resources/. + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + + optfeature "music filter support" "media-sound/lilypond virtual/imagemagick-tools" + optfeature "source filter support" "dev-util/source-highlight dev-python/pygments app-text/highlight" + optfeature "latex filter support" "dev-texlive/texlive-latex app-text/dvipng" "dev-texlive/texlive-latex app-text/dvisvgm" + optfeature "graphviz filter support" "media-gfx/graphviz" +} diff --git a/app-text/asciidoc/asciidoc-9.1.0.ebuild b/app-text/asciidoc/asciidoc-9.1.0.ebuild index ecac9b882fd4..437f83acac43 100644 --- a/app-text/asciidoc/asciidoc-9.1.0.ebuild +++ b/app-text/asciidoc/asciidoc-9.1.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/asciidoc-py/asciidoc-py/releases/download/${PV}/${P} LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="doc test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/app-text/aspell/Manifest b/app-text/aspell/Manifest index 4f7b0ae50aa3..2a02e715dc69 100644 --- a/app-text/aspell/Manifest +++ b/app-text/aspell/Manifest @@ -5,5 +5,5 @@ AUX aspell-0.60.6.1-clang.patch 1288 BLAKE2B fa2da2471f3ec3c6d5c9a98c0afd000bd86 AUX aspell-0.60.6.1-unicode.patch 8273 BLAKE2B ceadde03ffb1904e58c76074444013d2517a20dafeb5847963b6d8e3dbd4ab7fb00fe0d13fd26d3381edeb4e68b2feefb2c8b44186336bdfe197d483920dd509 SHA512 8601183d2e84801c193f5a4412e021ff79ccd27e031c0e8ec85a879619868d13389cb60fb0f4fa971114da64645dd4fc5cbe480f49e88d575826cf429a533b98 AUX aspell-0.60.8-cve-2019-25051.patch 2880 BLAKE2B b181caf27feae7eae908c92496a5f05f7e7f1f1a089c460b757c2f745b97f5339d4c8e13cf851e704cff7952c5dcd5ad0a8496ec1ae45c1e83fb1fa577134c63 SHA512 529f3f4737d2e19f7571f4c8666b1cd089cc4e9dfdaa52dc468919f01ce9f8f8112d8fe8afda295b3dfb92f5e0c2bbd79bf1ec69f06c163c32eb28f0168ab263 DIST aspell-0.60.8.tar.gz 3486448 BLAKE2B a72e70af65749059a576740377f93b20ab283f73fa7919894f6af189b5aa73581fa0410800851c9396e7d13f4cbc2f7edc23c53d46874d0389ffdb2432ff08c2 SHA512 8ef4952c553b6234dfe777240d2d97beb13ef9201e18d56bee3b5068d13525db3625b7130d9f5122f7c529da0ccb0c70eb852a81472a7d15fb7c4ee5ba21cd29 -EBUILD aspell-0.60.8-r3.ebuild 2836 BLAKE2B f263110d907b5d3906863e2196f873073b209662d4a885fd5d2dd0d58e2f4fc81f743f0b7b9d28506656ac350ff4a37419229870897de24308eb465ada95c32d SHA512 f2275e2d87c00600d7ad265db2a6822f3ac7af84b0474fb500acdf70ed152cb48969e8d41c0e5703e3a6a2aaa4f26e6be6b17c03cb1a71f9cb8770410dbd33d2 +EBUILD aspell-0.60.8-r4.ebuild 2836 BLAKE2B 5553d8ec37b515b00e56d229a7e53b0a24bcccc775b77559b43324486968acaa048507336733085866c0ae44bc3a25341e94b807e8f371cc240ac6ca7b5ddf61 SHA512 94d920384d06b497dd0113a6473b17d3adbc8222386cabd474da167ef2a1e043d4af2b7f097751fdac9cca91e4a9f201d5b00dc4efab42c570d7951c7ad6764b MISC metadata.xml 251 BLAKE2B ba937d5724c861b8bfd1d287a325357d6a63656cf5c2314185a486be769eb22b39fa780b38c05407bce5f0707585d499a849a28e15a2fde9eebba6f529e686a3 SHA512 0fb5b55fc7db96153970767478727504fd0e87c1c8a77593f1f30720064e95776b92e4993f9aed076c983eee5cebca446fe8894e36fbcc02802bb1c158747dd3 diff --git a/app-text/aspell/aspell-0.60.8-r3.ebuild b/app-text/aspell/aspell-0.60.8-r3.ebuild deleted file mode 100644 index 499e003d437d..000000000000 --- a/app-text/aspell/aspell-0.60.8-r3.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools flag-o-matic libtool toolchain-funcs - -MY_P="${P/_/-}" - -DESCRIPTION="Free and Open Source spell checker designed to replace Ispell" -HOMEPAGE="http://aspell.net/" -SRC_URI="mirror://gnu/aspell/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" -IUSE="nls unicode" - -# All available language app-dicts/aspell-* packages. -LANGUAGES=( af am ar ast az be bg bn br ca cs csb cy da de de-1901 el en eo es et fa - fi fo fr fy ga gd gl grc gu gv he hi hil hr hsb hu hus hy ia id is it kn ku - ky la lt lv mg mi mk ml mn mr ms mt nb nds nl nn no ny or pa pl pt-PT pt-BR - qu ro ru rw sc sk sl sr sv sw ta te tet tk tl tn tr uk uz vi wa yi zu -) - -for LANG in ${LANGUAGES[@]}; do - IUSE+=" l10n_${LANG}" - - case ${LANG} in - de-1901) - DICT="de-alt" - ;; - pt-BR) - DICT="pt-br" - ;; - pt-PT) - DICT="pt" - ;; - *) - DICT="${LANG}" - ;; - esac - - PDEPEND+=" l10n_${LANG}? ( app-dicts/aspell-${DICT} )" -done -unset DICT LANG LANGUAGES - -RDEPEND=" - sys-libs/ncurses:=[unicode(+)?] - nls? ( virtual/libintl ) -" - -DEPEND="${RDEPEND}" - -BDEPEND=" - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" - -HTML_DOCS=( manual/aspell{,-dev}.html ) - -PATCHES=( - "${FILESDIR}/${PN}-0.60.5-nls.patch" - "${FILESDIR}/${PN}-0.60.5-solaris.patch" - "${FILESDIR}/${PN}-0.60.6-darwin-bundles.patch" - "${FILESDIR}/${PN}-0.60.6.1-clang.patch" - "${FILESDIR}/${PN}-0.60.6.1-unicode.patch" - "${FILESDIR}/${PN}-0.60.8-cve-2019-25051.patch" -) - -src_prepare() { - default - - rm m4/lt* m4/libtool.m4 || die - eautoreconf - elibtoolize --reverse-deps - - # Parallel install of libtool libraries doesn't always work. - # https://lists.gnu.org/archive/html/libtool/2011-03/msg00003.html - # This has to be after automake has run so that we don't clobber - # the default target that automake creates for us. - echo 'install-filterLTLIBRARIES: install-libLTLIBRARIES' >> Makefile.in || die - - # The unicode patch breaks on Darwin as NCURSES_WIDECHAR won't get set any more. - [[ ${CHOST} == *-darwin* ]] || [[ ${CHOST} == *-musl* ]] && use unicode && append-cppflags -DNCURSES_WIDECHAR=1 -} - -src_configure() { - local myeconfargs=( - --disable-static - $(use_enable nls) - $(use_enable unicode) - --sysconfdir="${EPREFIX}"/etc/aspell - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - docinto examples - dodoc "${S}"/examples/*.c - - # Install Aspell/Ispell compatibility scripts. - newbin scripts/ispell ispell-aspell - newbin scripts/spell spell-aspell - - # As static build has been disabled, - # all .la files can be deleted unconditionally. - find "${ED}" -type f -name '*.la' -delete || die -} diff --git a/app-text/aspell/aspell-0.60.8-r4.ebuild b/app-text/aspell/aspell-0.60.8-r4.ebuild new file mode 100644 index 000000000000..605340fb6230 --- /dev/null +++ b/app-text/aspell/aspell-0.60.8-r4.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic libtool toolchain-funcs + +MY_P="${P/_/-}" + +DESCRIPTION="Free and Open Source spell checker designed to replace Ispell" +HOMEPAGE="http://aspell.net/" +SRC_URI="mirror://gnu/aspell/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" +IUSE="nls unicode" + +# All available language app-dicts/aspell-* packages. +LANGUAGES=( af am ar ast az be bg bn br ca cs csb cy da de de-1901 el en eo es et fa + fi fo fr fy ga gd gl grc gu gv he hi hil hr hsb hu hus hy ia id is it kn ku + ky la lt lv mg mi mk ml mn mr ms mt nb nds nl nn no ny or pa pl pt-PT pt-BR + qu ro ru rw sc sk sl sr sv sw ta te tet tk tl tn tr uk uz vi wa yi zu +) + +for LANG in ${LANGUAGES[@]}; do + IUSE+=" l10n_${LANG}" + + case ${LANG} in + de-1901) + DICT="de-alt" + ;; + pt-BR) + DICT="pt-br" + ;; + pt-PT) + DICT="pt" + ;; + *) + DICT="${LANG}" + ;; + esac + + PDEPEND+=" l10n_${LANG}? ( app-dicts/aspell-${DICT} )" +done +unset DICT LANG LANGUAGES + +RDEPEND=" + sys-libs/ncurses:=[unicode(+)?] + nls? ( virtual/libintl ) +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +HTML_DOCS=( manual/aspell{,-dev}.html ) + +PATCHES=( + "${FILESDIR}/${PN}-0.60.5-nls.patch" + "${FILESDIR}/${PN}-0.60.5-solaris.patch" + "${FILESDIR}/${PN}-0.60.6-darwin-bundles.patch" + "${FILESDIR}/${PN}-0.60.6.1-clang.patch" + "${FILESDIR}/${PN}-0.60.6.1-unicode.patch" + "${FILESDIR}/${PN}-0.60.8-cve-2019-25051.patch" +) + +src_prepare() { + default + + rm m4/lt* m4/libtool.m4 || die + eautoreconf + elibtoolize --reverse-deps + + # Parallel install of libtool libraries doesn't always work. + # https://lists.gnu.org/archive/html/libtool/2011-03/msg00003.html + # This has to be after automake has run so that we don't clobber + # the default target that automake creates for us. + echo 'install-filterLTLIBRARIES: install-libLTLIBRARIES' >> Makefile.in || die + + # The unicode patch breaks on Darwin as NCURSES_WIDECHAR won't get set any more. + [[ ${CHOST} == *-darwin* ]] || [[ ${CHOST} == *-musl* ]] && use unicode && append-cppflags -DNCURSES_WIDECHAR=1 +} + +src_configure() { + local myeconfargs=( + --disable-static + $(use_enable nls) + $(use_enable unicode) + --sysconfdir="${EPREFIX}"/etc/aspell + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + docinto examples + dodoc "${S}"/examples/*.c + + # Install Aspell/Ispell compatibility scripts. + newbin scripts/ispell ispell-aspell + newbin scripts/spell spell-aspell + + # As static build has been disabled, + # all .la files can be deleted unconditionally. + find "${ED}" -type f -name '*.la' -delete || die +} diff --git a/app-text/calibre/Manifest b/app-text/calibre/Manifest index 0df2ef48f422..8be175c439e8 100644 --- a/app-text/calibre/Manifest +++ b/app-text/calibre/Manifest @@ -8,9 +8,9 @@ AUX calibre-server-3.conf 541 BLAKE2B 06593633721e6adf2cf2077dffa83953eea46ccdcd AUX calibre-server-3.init 1796 BLAKE2B f87d785d6f6fc10fa648d40944ec8538027854bb872d9a3be6b5b35b0abf3cda1e4e93874a9422914da5eb4287f193459733956e3f1e25e61bec0c214c552c99 SHA512 88110ded1b9c6cf8d3bfc3d5889654f77578f9d299e88daea9023767b930082e00fbddbb92a6e43c46d900248f3684232d93396ec1d0e784c7ec14b44783f98a DIST calibre-5.16.0-SIP-v4.patch.xz 6768 BLAKE2B b939233266c7cab0fa71ccdeb748bbcffbf16248081ccf0ab313420fe3898954da71e0796b3d6c44e93c636113221f95fa6affc6be97bf41f4086a909b2849f9 SHA512 eb19e6bb328f60eb4af2c38d54c3d2a09989d41d71d27de10ab5ae443af902c3c12fc70042d4735dd785573cb63bb7d7a10ae5f7ed72afc1e1a9c6aacaf64aec DIST calibre-5.16.1.tar.xz 36757204 BLAKE2B 71114eed723180142f5428a680d8c5ceabcd007acbc6a70a9298e45a9f21fc793f0ef86bf60b36c96bbd15e9e3f8d8638d179872fb6ff1f9b9f5e31a93e65ba1 SHA512 41cf29cc32c7af08215baf80609f8f099d44f2b82d34181451cbf3ed1648e07d64712dba9ff0ddec5bad3d342c7d8bde40bb822f6bd5fb93a4b29d25cf188aae -DIST calibre-5.33.2.tar.xz 37081104 BLAKE2B 7ef40e39d47b10378918dcdefbec5925d9a43f47c345ccb6fd8811b99a2c417923467724f3ba92152b0951e473af7dd20dcb779e1fc6ad7970ac527fc06fe09c SHA512 5886730000005f4e36373ef6d0b3da4e4f06941886f05d1703420720c16aa913dcfca9358c33e4fcec764f0e4bd24e0223ff35421b41f1cc3f818d6d53896d64 -DIST calibre-5.35.0.tar.xz 37801424 BLAKE2B fcef3dfc3fa09d3a6324b3b9a860a3f0eb4cfe1311df84aea39beed9c0f42e620bfe3ec1a33c89e0e701b955fe44cf9b15f1e4b0f24529847c9b28d2eb7b2fa2 SHA512 b99a5c86a48d29bcc6f6188f9e4a20fe8ac1c4115147a964596e2bc3635d20c2556ae0be90c7deac95d4ef430b6ce6c7b712510358f71a22817c9360203b1f11 +DIST calibre-5.38.0.tar.xz 38365980 BLAKE2B 1c6939e69abde52426d32ab56a91f9b31f687f1d20792c5b360bf5563d72384db395b29e63d8becc1e196f54522a8643588109891943eb1fa525a5395873bb3e SHA512 2744e9d0d3f6daa578360ffb8334adbc49b4dc41100fbe0820b73e4a5a1e24c70c1e75bf1f03b9590f2a64d6c0c7710b26884356567f51200d5c00fe23ed5772 +DIST calibre-5.39.0.tar.xz 38372008 BLAKE2B e56513c918d7ac3e7f1b28e98dc82c29170577991714185791b0723daa4adbd404a6fac6584c7d2ad7ceafc19ab6aee519ab0c2d5f0bcc66f4de6236d7096b68 SHA512 ea6c739339603abea890a06f43c16522746352bde3abaebd6f2fa64771ec63800a62bd7f0cd47d1c7fb865a6cd73f9ff7522d71d7f4f593247f8eeb93a9263f6 EBUILD calibre-5.16.1-r1.ebuild 8515 BLAKE2B c9dc7b66d93d6020cde09a360b0aa92894eafab75e7ca4f18a1a9a9286c6eb4f2af17fb162583fcc05088775abd0fa28ff849888775d964a396ab09cfcc02eea SHA512 cd76c560e8acfeb4e41de7ae8cce3fd4294b54ac7bee585ed562a596791054a7ad2918f09105b86587271002f7690b681ac9bc3e53bf1e5657b80f94aa37cbe9 -EBUILD calibre-5.33.2.ebuild 10358 BLAKE2B 5a45a111ce35949075dd77b7f3113456f22613fb4957f031cce2878eb5706c47393b09cdc75846ab89047f87a4f644df6f723b577663a0f8b0c06043590b4009 SHA512 95f4c46743d61ce1deef6f32e4eb7bc703da29e35064703e1a9d7b5990b3147bfa7c6f3a445746a2eff1712f77ec9940bc278b7d0a409ec3953149384a657337 -EBUILD calibre-5.35.0.ebuild 10358 BLAKE2B 24d8c5fb1ce51010fe59b35b38f6935b19604c05dac80b146f26b0ba470c3ca8dfa1ced3321c864cc5f90314b4f25dd14151511e01cacd41830a5d53f58f685d SHA512 9e6c9112a25ddbdc922fb204c6d9735d82cbfdbf13bfdee68501ec1db38512e08ba94459737ca54680505766e744eaf1fc71eac19df17341da8d6c8f8cebbbdb +EBUILD calibre-5.38.0.ebuild 10398 BLAKE2B 4d0a5485c6d720e270adb31cbc442106c0289a3807d6a18fb0f0c24e519d6f7e15af5ebf978d3f947ccc44703fbea8d2b942117640daab29456241897d1cdf9e SHA512 c8af58ae4cf0a8d7895444eb044fe68fb69919efb0324ea6b4c6fb94ed3b66349deeb60bd03959f10139be3b639b7ce7939de37bd0dded54dd932e1d2cfc9660 +EBUILD calibre-5.39.0.ebuild 10398 BLAKE2B 4d0a5485c6d720e270adb31cbc442106c0289a3807d6a18fb0f0c24e519d6f7e15af5ebf978d3f947ccc44703fbea8d2b942117640daab29456241897d1cdf9e SHA512 c8af58ae4cf0a8d7895444eb044fe68fb69919efb0324ea6b4c6fb94ed3b66349deeb60bd03959f10139be3b639b7ce7939de37bd0dded54dd932e1d2cfc9660 MISC metadata.xml 304 BLAKE2B 0d93b1c7606c37cb8b7308b507a1d2988a05f780a93ae80c98e021f5af75128954d57b102afc1d96728872c81bf0adc40e32b31197dfa825cd040af3a8739fb7 SHA512 e193c0b78ed4140b695c44d273310207c9f2f745bf31589c69e81230a9eed68fa1c361c1e3f68a60e135ef0628aa480002229871f4a50f4000aea6df7e5f067d diff --git a/app-text/calibre/calibre-5.33.2.ebuild b/app-text/calibre/calibre-5.33.2.ebuild deleted file mode 100644 index 7b6a8c3a07b4..000000000000 --- a/app-text/calibre/calibre-5.33.2.ebuild +++ /dev/null @@ -1,315 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..9} ) -PYTHON_REQ_USE="ipv6(+),sqlite,ssl" - -inherit 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/glib:2= - dev-libs/hyphen:= - >=dev-libs/icu-57.1:= - dev-libs/libinput:= - >=dev-libs/dbus-glib-0.106 - dev-libs/snowball-stemmer:= - >=sys-apps/dbus-1.10.8 - $(python_gen_cond_dep ' - app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}] - >=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}] - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/cchardet[${PYTHON_USEDEP}] - >=dev-python/chardet-3.0.3[${PYTHON_USEDEP}] - >=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}] - >=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}] - >=dev-python/dbus-python-1.2.4[${PYTHON_USEDEP}] - dev-python/dnspython[${PYTHON_USEDEP}] - >=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}] - >=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}] - >=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}] - dev-python/jeepney[${PYTHON_USEDEP}] - >=dev-python/lxml-3.8.0[${PYTHON_USEDEP}] - >=dev-python/markdown-3.0.1[${PYTHON_USEDEP}] - >=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}] - >=dev-python/msgpack-0.6.2[${PYTHON_USEDEP}] - >=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}] - >=dev-python/pillow-3.2.0[${PYTHON_USEDEP}] - >=dev-python/psutil-4.3.0[${PYTHON_USEDEP}] - >=dev-python/pychm-0.8.6[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - >=dev-python/pygments-2.3.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}] - >=dev-python/PyQt5-5.15.5_pre2107091435[gui,svg,widgets,network,printsupport,${PYTHON_USEDEP}] - >=dev-python/PyQt-builder-1.10.3[${PYTHON_USEDEP}] - >=dev-python/PyQtWebEngine-5.15.5_pre2108100905[${PYTHON_USEDEP}] - dev-python/regex[${PYTHON_USEDEP}] - dev-python/zeroconf[${PYTHON_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}" -BDEPEND="$(python_gen_cond_dep ' - >=dev-python/setuptools-23.1.0[${PYTHON_USEDEP}] - >=dev-python/sip-5[${PYTHON_USEDEP}] - ') - >=virtual/podofo-build-0.9.6_pre20171027 - virtual/pkgconfig" - -PATCHES=( - # Don't prompt the user for updates - they've installed via - # an ebuild. - "${FILESDIR}/${PN}-2.9.0-no_updates_dialog.patch" - - # Skip calling a binary (JxrDecApp) from libjxr which is used for tests - # We don't (yet?) package libjxr and it seems to be dead upstream - # (last commit in 2017) - "${FILESDIR}/${PN}-5.31.0-jxr-test.patch" - - # TODO: - # test_qt tries to load a bunch of images using Qt and it currently fails - # due to some presumably missing dependencies. This is important and - # we need to look into it, but at time of writing, none of the tests - # are even bring run, so I'd like to return to this later. - # We don't want to skip test_qt entirely, so just skip this particular - # assert for now. - "${FILESDIR}/${PN}-5.31.0-qt-image-test.patch" -) - -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() { - default - - # Warning: - # - # While it might be rather tempting to add yet another sed here, - # please don't. There have been several bugs in Gentoo's packaging - # of calibre from seds-which-become-stale. Please consider - # creating a patch instead, but in any case, run the test suite - # and ensure it passes. - # - # If in doubt about a problem, checking Fedora or Arch Linux's packaging - # is recommended, as Arch Linux's PKGBUILD is maintained by a Calibre - # contributor. Or just ask them. - - # 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 "/^ os.chdir(os.path.join(src_dir, 'build'))$/a\ -\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \ -'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \ -'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \ -'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \ -'-i', os.path.join(os.path.basename(src_dir), 'Makefile')])" \ - -e "s|open(self.j(bdir, '.qmake.conf'), 'wb').close()|open(self.j(bdir, '.qmake.conf'), 'wb').write(b'QMAKE_LFLAGS += ${LDFLAGS}')|" \ - -i setup/build.py || die "sed failed to patch build.py" -} - -src_compile() { - # TODO: get qmake called by setup.py to respect CC and CXX too - tc-export CC CXX - - # bug 821871 - local MY_LIBDIR="${ESYSROOT}/usr/$(get_libdir)" - export FT_LIB_DIR="${MY_LIBDIR}" HUNSPELL_LIB_DIR="${MY_LIBDIR}" PODOFO_LIB_DIR="${MY_LIBDIR}" - - PATH="${T}/bin:${PATH}" ${EPYTHON} setup.py build || die -} - -src_test() { - # Skipped tests: - # - 7z (unpackaged Python dependency: py7zr) - # - test_unrar (unpackaged Python dependency: unrardll) - # - # Note that we currently have a hack to skip one part of test_qt! - # See PATCHES for more. - CALIBRE_PY3_PORT=1 ${PYTHON} setup.py test \ - --exclude-test-name 7z \ - --exclude-test-name test_searching \ - --exclude-test-name test_unrar || die -} - -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. - mkdir "${T}/bin" || die - cat - > "${T}/bin/kbuildsycoca" <<-EOF - #!${BASH} - echo $0 : $@ - exit 0 - EOF - - cp "${T}"/bin/{kbuildsycoca,update-mime-database} || die - chmod +x "${T}"/bin/{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}/bin:${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 - - 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/$(get_libdir)/calibre "${D}/$(python_get_sitedir)" - - newinitd "${FILESDIR}"/calibre-server-3.init calibre-server - newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server -} - -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 -} diff --git a/app-text/calibre/calibre-5.35.0.ebuild b/app-text/calibre/calibre-5.35.0.ebuild deleted file mode 100644 index 59a9f2a0e0b8..000000000000 --- a/app-text/calibre/calibre-5.35.0.ebuild +++ /dev/null @@ -1,315 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..9} ) -PYTHON_REQ_USE="ipv6(+),sqlite,ssl" - -inherit 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/glib:2= - dev-libs/hyphen:= - >=dev-libs/icu-57.1:= - dev-libs/libinput:= - >=dev-libs/dbus-glib-0.106 - dev-libs/snowball-stemmer:= - >=sys-apps/dbus-1.10.8 - $(python_gen_cond_dep ' - app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}] - >=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}] - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/cchardet[${PYTHON_USEDEP}] - >=dev-python/chardet-3.0.3[${PYTHON_USEDEP}] - >=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}] - >=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}] - >=dev-python/dbus-python-1.2.4[${PYTHON_USEDEP}] - dev-python/dnspython[${PYTHON_USEDEP}] - >=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}] - >=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}] - >=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}] - dev-python/jeepney[${PYTHON_USEDEP}] - >=dev-python/lxml-3.8.0[${PYTHON_USEDEP}] - >=dev-python/markdown-3.0.1[${PYTHON_USEDEP}] - >=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}] - >=dev-python/msgpack-0.6.2[${PYTHON_USEDEP}] - >=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}] - >=dev-python/pillow-3.2.0[${PYTHON_USEDEP}] - >=dev-python/psutil-4.3.0[${PYTHON_USEDEP}] - >=dev-python/pychm-0.8.6[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - >=dev-python/pygments-2.3.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}] - >=dev-python/PyQt5-5.15.5_pre2107091435[gui,svg,widgets,network,printsupport,${PYTHON_USEDEP}] - >=dev-python/PyQt-builder-1.10.3[${PYTHON_USEDEP}] - >=dev-python/PyQtWebEngine-5.15.5_pre2108100905[${PYTHON_USEDEP}] - dev-python/regex[${PYTHON_USEDEP}] - dev-python/zeroconf[${PYTHON_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}" -BDEPEND="$(python_gen_cond_dep ' - >=dev-python/setuptools-23.1.0[${PYTHON_USEDEP}] - >=dev-python/sip-5[${PYTHON_USEDEP}] - ') - >=virtual/podofo-build-0.9.6_pre20171027 - virtual/pkgconfig" - -PATCHES=( - # Don't prompt the user for updates - they've installed via - # an ebuild. - "${FILESDIR}/${PN}-2.9.0-no_updates_dialog.patch" - - # Skip calling a binary (JxrDecApp) from libjxr which is used for tests - # We don't (yet?) package libjxr and it seems to be dead upstream - # (last commit in 2017) - "${FILESDIR}/${PN}-5.35.0-jxr-test.patch" - - # TODO: - # test_qt tries to load a bunch of images using Qt and it currently fails - # due to some presumably missing dependencies. This is important and - # we need to look into it, but at time of writing, none of the tests - # are even bring run, so I'd like to return to this later. - # We don't want to skip test_qt entirely, so just skip this particular - # assert for now. - "${FILESDIR}/${PN}-5.31.0-qt-image-test.patch" -) - -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() { - default - - # Warning: - # - # While it might be rather tempting to add yet another sed here, - # please don't. There have been several bugs in Gentoo's packaging - # of calibre from seds-which-become-stale. Please consider - # creating a patch instead, but in any case, run the test suite - # and ensure it passes. - # - # If in doubt about a problem, checking Fedora or Arch Linux's packaging - # is recommended, as Arch Linux's PKGBUILD is maintained by a Calibre - # contributor. Or just ask them. - - # 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 "/^ os.chdir(os.path.join(src_dir, 'build'))$/a\ -\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \ -'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \ -'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \ -'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \ -'-i', os.path.join(os.path.basename(src_dir), 'Makefile')])" \ - -e "s|open(self.j(bdir, '.qmake.conf'), 'wb').close()|open(self.j(bdir, '.qmake.conf'), 'wb').write(b'QMAKE_LFLAGS += ${LDFLAGS}')|" \ - -i setup/build.py || die "sed failed to patch build.py" -} - -src_compile() { - # TODO: get qmake called by setup.py to respect CC and CXX too - tc-export CC CXX - - # bug 821871 - local MY_LIBDIR="${ESYSROOT}/usr/$(get_libdir)" - export FT_LIB_DIR="${MY_LIBDIR}" HUNSPELL_LIB_DIR="${MY_LIBDIR}" PODOFO_LIB_DIR="${MY_LIBDIR}" - - PATH="${T}/bin:${PATH}" ${EPYTHON} setup.py build || die -} - -src_test() { - # Skipped tests: - # - 7z (unpackaged Python dependency: py7zr) - # - test_unrar (unpackaged Python dependency: unrardll) - # - # Note that we currently have a hack to skip one part of test_qt! - # See PATCHES for more. - CALIBRE_PY3_PORT=1 ${PYTHON} setup.py test \ - --exclude-test-name 7z \ - --exclude-test-name test_searching \ - --exclude-test-name test_unrar || die -} - -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. - mkdir "${T}/bin" || die - cat - > "${T}/bin/kbuildsycoca" <<-EOF - #!${BASH} - echo $0 : $@ - exit 0 - EOF - - cp "${T}"/bin/{kbuildsycoca,update-mime-database} || die - chmod +x "${T}"/bin/{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}/bin:${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 - - 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/$(get_libdir)/calibre "${D}/$(python_get_sitedir)" - - newinitd "${FILESDIR}"/calibre-server-3.init calibre-server - newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server -} - -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 -} diff --git a/app-text/calibre/calibre-5.38.0.ebuild b/app-text/calibre/calibre-5.38.0.ebuild new file mode 100644 index 000000000000..a9f64cfe2e57 --- /dev/null +++ b/app-text/calibre/calibre-5.38.0.ebuild @@ -0,0 +1,316 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_REQ_USE="ipv6(+),sqlite,ssl" + +inherit 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/glib:2= + dev-libs/hyphen:= + >=dev-libs/icu-57.1:= + dev-libs/libinput:= + >=dev-libs/dbus-glib-0.106 + dev-libs/snowball-stemmer:= + >=sys-apps/dbus-1.10.8 + $(python_gen_cond_dep ' + app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}] + >=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}] + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/cchardet[${PYTHON_USEDEP}] + >=dev-python/chardet-3.0.3[${PYTHON_USEDEP}] + >=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}] + >=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}] + >=dev-python/dbus-python-1.2.4[${PYTHON_USEDEP}] + dev-python/dnspython[${PYTHON_USEDEP}] + >=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}] + >=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}] + >=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}] + dev-python/jeepney[${PYTHON_USEDEP}] + >=dev-python/lxml-3.8.0[${PYTHON_USEDEP}] + >=dev-python/markdown-3.0.1[${PYTHON_USEDEP}] + >=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}] + >=dev-python/msgpack-0.6.2[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}] + >=dev-python/pillow-3.2.0[${PYTHON_USEDEP}] + >=dev-python/psutil-4.3.0[${PYTHON_USEDEP}] + >=dev-python/pychm-0.8.6[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + >=dev-python/pygments-2.3.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}] + >=dev-python/PyQt5-5.15.5_pre2107091435[gui,svg,widgets,network,printsupport,${PYTHON_USEDEP}] + >=dev-python/PyQt-builder-1.10.3[${PYTHON_USEDEP}] + >=dev-python/PyQtWebEngine-5.15.5_pre2108100905[${PYTHON_USEDEP}] + dev-python/regex[${PYTHON_USEDEP}] + dev-python/zeroconf[${PYTHON_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}" +BDEPEND="$(python_gen_cond_dep ' + >=dev-python/setuptools-23.1.0[${PYTHON_USEDEP}] + >=dev-python/sip-5[${PYTHON_USEDEP}] + ') + >=virtual/podofo-build-0.9.6_pre20171027 + virtual/pkgconfig" + +PATCHES=( + # Don't prompt the user for updates - they've installed via + # an ebuild. + "${FILESDIR}/${PN}-2.9.0-no_updates_dialog.patch" + + # Skip calling a binary (JxrDecApp) from libjxr which is used for tests + # We don't (yet?) package libjxr and it seems to be dead upstream + # (last commit in 2017) + "${FILESDIR}/${PN}-5.35.0-jxr-test.patch" + + # TODO: + # test_qt tries to load a bunch of images using Qt and it currently fails + # due to some presumably missing dependencies. This is important and + # we need to look into it, but at time of writing, none of the tests + # are even bring run, so I'd like to return to this later. + # We don't want to skip test_qt entirely, so just skip this particular + # assert for now. + "${FILESDIR}/${PN}-5.31.0-qt-image-test.patch" +) + +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() { + default + + # Warning: + # + # While it might be rather tempting to add yet another sed here, + # please don't. There have been several bugs in Gentoo's packaging + # of calibre from seds-which-become-stale. Please consider + # creating a patch instead, but in any case, run the test suite + # and ensure it passes. + # + # If in doubt about a problem, checking Fedora or Arch Linux's packaging + # is recommended, as Arch Linux's PKGBUILD is maintained by a Calibre + # contributor. Or just ask them. + + # 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 "/^ os.chdir(os.path.join(src_dir, 'build'))$/a\ +\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \ +'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \ +'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \ +'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \ +'-i', os.path.join(os.path.basename(src_dir), 'Makefile')])" \ + -e "s|open(self.j(bdir, '.qmake.conf'), 'wb').close()|open(self.j(bdir, '.qmake.conf'), 'wb').write(b'QMAKE_LFLAGS += ${LDFLAGS}')|" \ + -i setup/build.py || die "sed failed to patch build.py" +} + +src_compile() { + # TODO: get qmake called by setup.py to respect CC and CXX too + tc-export CC CXX + + # bug 821871 + local MY_LIBDIR="${ESYSROOT}/usr/$(get_libdir)" + export FT_LIB_DIR="${MY_LIBDIR}" HUNSPELL_LIB_DIR="${MY_LIBDIR}" PODOFO_LIB_DIR="${MY_LIBDIR}" + + PATH="${T}/bin:${PATH}" ${EPYTHON} setup.py build || die +} + +src_test() { + # Skipped tests: + # - 7z (unpackaged Python dependency: py7zr) + # - test_unrar (unpackaged Python dependency: unrardll) + # + # Note that we currently have a hack to skip one part of test_qt! + # See PATCHES for more. + CALIBRE_PY3_PORT=1 ${PYTHON} setup.py test \ + --exclude-test-name 7z \ + --exclude-test-name test_mem_leaks \ + --exclude-test-name test_searching \ + --exclude-test-name test_unrar || die +} + +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. + mkdir "${T}/bin" || die + cat - > "${T}/bin/kbuildsycoca" <<-EOF + #!${BASH} + echo $0 : $@ + exit 0 + EOF + + cp "${T}"/bin/{kbuildsycoca,update-mime-database} || die + chmod +x "${T}"/bin/{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}/bin:${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 + + 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/$(get_libdir)/calibre "${D}/$(python_get_sitedir)" + + newinitd "${FILESDIR}"/calibre-server-3.init calibre-server + newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server +} + +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 +} diff --git a/app-text/calibre/calibre-5.39.0.ebuild b/app-text/calibre/calibre-5.39.0.ebuild new file mode 100644 index 000000000000..a9f64cfe2e57 --- /dev/null +++ b/app-text/calibre/calibre-5.39.0.ebuild @@ -0,0 +1,316 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_REQ_USE="ipv6(+),sqlite,ssl" + +inherit 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/glib:2= + dev-libs/hyphen:= + >=dev-libs/icu-57.1:= + dev-libs/libinput:= + >=dev-libs/dbus-glib-0.106 + dev-libs/snowball-stemmer:= + >=sys-apps/dbus-1.10.8 + $(python_gen_cond_dep ' + app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}] + >=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}] + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/cchardet[${PYTHON_USEDEP}] + >=dev-python/chardet-3.0.3[${PYTHON_USEDEP}] + >=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}] + >=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}] + >=dev-python/dbus-python-1.2.4[${PYTHON_USEDEP}] + dev-python/dnspython[${PYTHON_USEDEP}] + >=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}] + >=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}] + >=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}] + dev-python/jeepney[${PYTHON_USEDEP}] + >=dev-python/lxml-3.8.0[${PYTHON_USEDEP}] + >=dev-python/markdown-3.0.1[${PYTHON_USEDEP}] + >=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}] + >=dev-python/msgpack-0.6.2[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}] + >=dev-python/pillow-3.2.0[${PYTHON_USEDEP}] + >=dev-python/psutil-4.3.0[${PYTHON_USEDEP}] + >=dev-python/pychm-0.8.6[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + >=dev-python/pygments-2.3.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}] + >=dev-python/PyQt5-5.15.5_pre2107091435[gui,svg,widgets,network,printsupport,${PYTHON_USEDEP}] + >=dev-python/PyQt-builder-1.10.3[${PYTHON_USEDEP}] + >=dev-python/PyQtWebEngine-5.15.5_pre2108100905[${PYTHON_USEDEP}] + dev-python/regex[${PYTHON_USEDEP}] + dev-python/zeroconf[${PYTHON_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}" +BDEPEND="$(python_gen_cond_dep ' + >=dev-python/setuptools-23.1.0[${PYTHON_USEDEP}] + >=dev-python/sip-5[${PYTHON_USEDEP}] + ') + >=virtual/podofo-build-0.9.6_pre20171027 + virtual/pkgconfig" + +PATCHES=( + # Don't prompt the user for updates - they've installed via + # an ebuild. + "${FILESDIR}/${PN}-2.9.0-no_updates_dialog.patch" + + # Skip calling a binary (JxrDecApp) from libjxr which is used for tests + # We don't (yet?) package libjxr and it seems to be dead upstream + # (last commit in 2017) + "${FILESDIR}/${PN}-5.35.0-jxr-test.patch" + + # TODO: + # test_qt tries to load a bunch of images using Qt and it currently fails + # due to some presumably missing dependencies. This is important and + # we need to look into it, but at time of writing, none of the tests + # are even bring run, so I'd like to return to this later. + # We don't want to skip test_qt entirely, so just skip this particular + # assert for now. + "${FILESDIR}/${PN}-5.31.0-qt-image-test.patch" +) + +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() { + default + + # Warning: + # + # While it might be rather tempting to add yet another sed here, + # please don't. There have been several bugs in Gentoo's packaging + # of calibre from seds-which-become-stale. Please consider + # creating a patch instead, but in any case, run the test suite + # and ensure it passes. + # + # If in doubt about a problem, checking Fedora or Arch Linux's packaging + # is recommended, as Arch Linux's PKGBUILD is maintained by a Calibre + # contributor. Or just ask them. + + # 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 "/^ os.chdir(os.path.join(src_dir, 'build'))$/a\ +\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \ +'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \ +'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \ +'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \ +'-i', os.path.join(os.path.basename(src_dir), 'Makefile')])" \ + -e "s|open(self.j(bdir, '.qmake.conf'), 'wb').close()|open(self.j(bdir, '.qmake.conf'), 'wb').write(b'QMAKE_LFLAGS += ${LDFLAGS}')|" \ + -i setup/build.py || die "sed failed to patch build.py" +} + +src_compile() { + # TODO: get qmake called by setup.py to respect CC and CXX too + tc-export CC CXX + + # bug 821871 + local MY_LIBDIR="${ESYSROOT}/usr/$(get_libdir)" + export FT_LIB_DIR="${MY_LIBDIR}" HUNSPELL_LIB_DIR="${MY_LIBDIR}" PODOFO_LIB_DIR="${MY_LIBDIR}" + + PATH="${T}/bin:${PATH}" ${EPYTHON} setup.py build || die +} + +src_test() { + # Skipped tests: + # - 7z (unpackaged Python dependency: py7zr) + # - test_unrar (unpackaged Python dependency: unrardll) + # + # Note that we currently have a hack to skip one part of test_qt! + # See PATCHES for more. + CALIBRE_PY3_PORT=1 ${PYTHON} setup.py test \ + --exclude-test-name 7z \ + --exclude-test-name test_mem_leaks \ + --exclude-test-name test_searching \ + --exclude-test-name test_unrar || die +} + +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. + mkdir "${T}/bin" || die + cat - > "${T}/bin/kbuildsycoca" <<-EOF + #!${BASH} + echo $0 : $@ + exit 0 + EOF + + cp "${T}"/bin/{kbuildsycoca,update-mime-database} || die + chmod +x "${T}"/bin/{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}/bin:${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 + + 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/$(get_libdir)/calibre "${D}/$(python_get_sitedir)" + + newinitd "${FILESDIR}"/calibre-server-3.init calibre-server + newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server +} + +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 +} diff --git a/app-text/crf++/Manifest b/app-text/crf++/Manifest index b9561fa7de28..aa19d972b17f 100644 --- a/app-text/crf++/Manifest +++ b/app-text/crf++/Manifest @@ -1,4 +1,4 @@ AUX crf++-automake-1.13.patch 216 BLAKE2B 129027abc820acf499b9fd49ea152f0d404c458af0584c0f7acc3dde6a02c46f1f14f96321b0ea7e2d00e9345276e8bdefb2206cc475772e5c23890143c78d0d SHA512 5bd02a0d3f67e37d544255984341beda8c958e5f76ce51521fd2157eb7dc70dfb1d43d30913e4d02e7dfe21526f04520f6539e28a58beed6e577a31b5d4a16ca DIST CRF++-0.58.tar.gz 790570 BLAKE2B 8fdd3fea3e30f4196560e2e265519c961739aabbad75e9805040a8f7da0f501620d6bb2c4f589c6d0c8bb79af5c8f46bbe27b610a4ec6a0db632fef219ea5b46 SHA512 676b3e9ed89b5fb2f246175b58c384f10cab09fff8329c07311fed3832f55dbad26a25d2946c9efaa75cd8026517cb9e1742bb70ca26187367747852073e4eb9 -EBUILD crf++-0.58.ebuild 1129 BLAKE2B 03f4411757b8e2bdac0c7b0589babe60d0ec61a51b9af072be4cb6339ebcd4c7ebf7b8c6fbcc957ea8065a1ae65865ca94db2fff489ba1c7f67e00799eb0edef SHA512 0c867ebdd6e85e31e02b0f3d145226b9804f33e7eb3128c9902ba5dc43d29a0ec5937ac759e9c6d51234329c701a38a93ac75e34435d2b8735ae50612077515f +EBUILD crf++-0.58.ebuild 1097 BLAKE2B afc590d65d22590d2bc02bb523953097f681875f8034adccbdb1ac5e79b12f7cea8865eccbf6340b7b1e9fe799d64e7ec8aee47b1106542bef574c782c6122f6 SHA512 a5f6db965938aee9d8ddf2079e1d996dbea715f87beeaff24fee2be0a47fad105eb8766958c84d8608d21b9eb6b1fc517a6a9400f5af9e57b2af983dcb0ef36f MISC metadata.xml 670 BLAKE2B c37096e57c935e0d90c1434e509857577275165424fecbc8fe3a836c1330ff4fa4dffa174dd8004e3c923fd890dbbd370f8269b2ebe0b1538fec41ca25edeeed SHA512 e42bf715ac69cc4d61ee289a8ab14bc3e15bad7d4002b826fc9d5ca8bbf79998e4f79d76d0b698c30602d6dbd4dd64553085bbb354a30c466a3b1ab6ce62ca9c diff --git a/app-text/crf++/crf++-0.58.ebuild b/app-text/crf++/crf++-0.58.ebuild index 006c97d4b825..f14ffbc4defd 100644 --- a/app-text/crf++/crf++-0.58.ebuild +++ b/app-text/crf++/crf++-0.58.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -10,14 +10,13 @@ MY_P="${P^^[crf]}" DESCRIPTION="Yet Another CRF toolkit for segmenting/labelling sequential data" HOMEPAGE="https://taku910.github.io/crfpp/" SRC_URI="mirror://gentoo/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="|| ( BSD LGPL-2.1 )" SLOT="0" KEYWORDS="amd64 x86" IUSE="examples static-libs" -S="${WORKDIR}/${MY_P}" - PATCHES=( "${FILESDIR}"/${PN}-automake-1.13.patch ) HTML_DOCS=( doc/. ) @@ -50,9 +49,8 @@ src_install() { einstalldocs if use examples; then + dodoc -r example docompress -x /usr/share/doc/${PF}/example - insinto /usr/share/doc/${PF} - doins -r example fi if ! use static-libs; then diff --git a/app-text/evince/Manifest b/app-text/evince/Manifest index 3e8d63daa3f6..3c8d542749b6 100644 --- a/app-text/evince/Manifest +++ b/app-text/evince/Manifest @@ -1,7 +1,5 @@ AUX 40.0-internal-synctex.patch 921 BLAKE2B d970afe7dd3ac16d7f285baeb157bba0271a6816326a17527d91b68d481d23ed3ad982211c07c412a61157d17cecafa591cc80482ec22abad3ce29101068bbd5 SHA512 703d9b5ca4e718660fe5af2d59a60b3187beda965e3a7b6eeaf1f7bf61013f3acde54b0ba89c8b493b1f0b1950cd52893ff1fb00a74c6d97645df29a1829902c AUX 41.3-fix-build-with-meson-0.61.1.patch 1385 BLAKE2B 70740f1424234b056537cd2781aed5c9b114aa6eaa629d48a24022de0a6ec789630a8ab32b8451655b049e3b55db88895654cdd78cee89d4d91858cb60237a47 SHA512 588b93f599b31cd80ada5b599b267ba9eced928b3b9597c43dc1319f41996df056704860cbf7ebe1815b0e91ffd467fb019d7ec64eb09f08d1a969fbea55f46e -DIST evince-40.4.tar.xz 2928100 BLAKE2B 491b2333e21093b032ec9c4f24c61cdaa31e4a46ee058b0f109b0998fb7216ada2c933e6202eae1d6193caad0cfa94a77434ef042555bab7cf4aeed959be759b SHA512 dbec3828f1e8f0b9b48dd90ce605ce83312e53cbeb8f8e7358c1318f1701680a69a9bcd26b7cf1da4b53679ae11e334ce514f5df4c5bbcc976581441e0d654cd DIST evince-41.3.tar.xz 2889368 BLAKE2B c6ef9b4c126f938ef8b50aa65d8591e0ce02e7404dd1984bce27e0acce6e62462d42665ad19992cb2fa22afd09d6da49ecdbbb51eb209518d415966824523628 SHA512 b00422ef0fd752e5afacea2db852ad71d8d16514945a9a54c54967cecd2b1f5058b762ec53eb9057b8f583d5e1e3363c2b7ae1f4434fa6637ad45c5217f082cd -EBUILD evince-40.4.ebuild 3156 BLAKE2B 73037ed0f0b38c1cc0e0ae2d8609d543b120de95c94a9d73ba85c1c8d8a7dcf8f1446d5fc8c23badb791c2e273f8b45c4dc43f011e7773c79a47d3c2d7df8813 SHA512 2c50a03f52775b4d43cf75b05d850e6948bba51107d4e367fbff1024f23367b3f854462722f11231de3de201b746829546999bb32086cc79e112535b699b83cd -EBUILD evince-41.3.ebuild 3097 BLAKE2B 7c1a45a85dd0e95cb8be16edd96d3d52f1e6a4461d1c84cbceaba7dfc750ca7674a935bb805ae0e71011adebfa93d184adce810f98b3b551127de0b07e19a29f SHA512 4306ed1b6232731acd0e8dbd7e77f3815353027acaf68714d07ca7984b67de05a2b2c15547f97fd65d62d179347f3a85028dd999d0a3cf62074923bc288da596 +EBUILD evince-41.3.ebuild 3094 BLAKE2B fe2c2043c253f814971a5b969362ee476888cf84d77aa3c2c3fbe9739f5c0bbca71fa4e299443b37b3cd50a915a0cb23dc515ab9f589f36c3669283d810250e5 SHA512 8e433656bb0a3a0906a70e76face51562382024dabb7354114010517e6134cd25fe46f1a0def22d748445730273c58db2ba22f8c57731cb12a95cdb264cc7950 MISC metadata.xml 882 BLAKE2B 5a52fc8a3986b5a07774f6b157e0c13b3c29a6f5d9bbbedba6367a0dce8a057c6c43ac9b2864a98ec4413e66365971935e4f111ae2be0d2430769f3fcb2b5047 SHA512 73a18d8f42a94322d8292b4ace3bc256dd170af87f160f9e33c12c3b5c76c2032beebbb7eaf9facd2f9d9ee8d669f0f5f805dfeef5c406f75f13f90105521f9f diff --git a/app-text/evince/evince-40.4.ebuild b/app-text/evince/evince-40.4.ebuild deleted file mode 100644 index 043cb0568ad4..000000000000 --- a/app-text/evince/evince-40.4.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit gnome.org gnome2-utils meson systemd xdg - -DESCRIPTION="Simple document viewer for GNOME" -HOMEPAGE="https://wiki.gnome.org/Apps/Evince" - -LICENSE="GPL-2+ CC-BY-SA-3.0" -# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3) -SLOT="0/evd3.4-evv3.3" -IUSE="cups djvu dvi gstreamer gnome gnome-keyring gtk-doc +introspection nautilus nsplugin postscript spell t1lib tiff xps" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris" - -# atk used in libview -# bundles unarr -DEPEND=" - dev-libs/atk - >=dev-libs/glib-2.44.0:2 - >=gui-libs/libhandy-1.0:1= - >=dev-libs/libxml2-2.5:2 - sys-libs/zlib:= - >=x11-libs/gdk-pixbuf-2.40:2 - >=x11-libs/gtk+-3.22.0:3[cups?,introspection?] - gnome-base/gsettings-desktop-schemas - >=x11-libs/cairo-1.10:= - >=app-text/poppler-0.76.0[cairo] - >=app-arch/libarchive-3.2.0 - djvu? ( >=app-text/djvu-3.5.22:= ) - dvi? ( - >=app-text/libspectre-0.2:= - dev-libs/kpathsea:= - t1lib? ( >=media-libs/t1lib-5:= ) ) - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 - media-libs/gst-plugins-good:1.0 ) - gnome? ( gnome-base/gnome-desktop:3= ) - gnome-keyring? ( >=app-crypt/libsecret-0.5 ) - introspection? ( >=dev-libs/gobject-introspection-1:= ) - nautilus? ( >=gnome-base/nautilus-3.28.0 ) - postscript? ( >=app-text/libspectre-0.2:= ) - spell? ( >=app-text/gspell-1.6.0:= ) - tiff? ( >=media-libs/tiff-3.6:0= ) - xps? ( >=app-text/libgxps-0.2.1:= ) -" -RDEPEND="${DEPEND} - gnome-base/gvfs - gnome-base/librsvg - || ( - >=x11-themes/adwaita-icon-theme-2.17.1 - >=x11-themes/hicolor-icon-theme-0.10 - ) -" -BDEPEND=" - gtk-doc? ( - >=dev-util/gtk-doc-1.33 - app-text/docbook-xml-dtd:4.3 - ) - dev-libs/appstream-glib - dev-util/gdbus-codegen - dev-util/glib-utils - dev-util/itstool - >=sys-devel/gettext-0.19.8 - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}"/40.0-internal-synctex.patch -) - -src_prepare() { - xdg_src_prepare - - # Do not depend on adwaita-icon-theme, bug #326855, #391859 - # https://gitlab.freedesktop.org/xdg/default-icon-theme/issues/7 - sed -i '/adwaita_icon_theme_dep/d' meson.build shell/meson.build || die -} - -src_configure() { - local emesonargs=( - -Dplatform=gnome - - -Dviewer=true - -Dpreviewer=true - -Dthumbnailer=true - $(meson_use nsplugin browser_plugin) - $(meson_use nautilus) - - -Dcomics=enabled - $(meson_feature djvu) - $(meson_feature dvi) - -Dpdf=enabled - $(meson_feature postscript ps) - $(meson_feature tiff) - $(meson_feature xps) - - $(meson_use gtk-doc gtk_doc) - -Duser_doc=true - $(meson_use introspection) - -Ddbus=true - $(meson_feature gnome-keyring keyring) - $(meson_feature cups gtk_unix_print) - $(meson_feature gnome thumbnail_cache) - $(meson_feature gstreamer multimedia) - $(meson_feature spell gspell) - - $(meson_feature t1lib) - - -Dbrowser_plugin_dir="${EPREFIX}/usr/$(get_libdir)/nsbrowser/plugins" - -Dsystemduserunitdir="$(systemd_get_userunitdir)" - - ) - meson_src_configure -} - -pkg_postinst() { - xdg_pkg_postinst - gnome2_schemas_update -} - -pkg_postrm() { - xdg_pkg_postrm - gnome2_schemas_update -} diff --git a/app-text/evince/evince-41.3.ebuild b/app-text/evince/evince-41.3.ebuild index 75e615774832..59de9f043515 100644 --- a/app-text/evince/evince-41.3.ebuild +++ b/app-text/evince/evince-41.3.ebuild @@ -12,7 +12,7 @@ LICENSE="GPL-2+ CC-BY-SA-3.0" # subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3) SLOT="0/evd3.4-evv3.3" IUSE="cups djvu dvi gstreamer gnome gnome-keyring gtk-doc +introspection nautilus postscript spell t1lib tiff xps" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris" # atk used in libview # bundles unarr @@ -26,7 +26,7 @@ DEPEND=" >=x11-libs/gtk+-3.22.0:3[cups?,introspection?] gnome-base/gsettings-desktop-schemas >=x11-libs/cairo-1.10:= - >=app-text/poppler-0.76.0[cairo] + >=app-text/poppler-0.86.0[cairo] >=app-arch/libarchive-3.2.0 djvu? ( >=app-text/djvu-3.5.22:= ) dvi? ( @@ -43,7 +43,7 @@ DEPEND=" nautilus? ( >=gnome-base/nautilus-3.28.0 ) postscript? ( >=app-text/libspectre-0.2:= ) spell? ( >=app-text/gspell-1.6.0:= ) - tiff? ( >=media-libs/tiff-3.6:0= ) + tiff? ( >=media-libs/tiff-4.0:0= ) xps? ( >=app-text/libgxps-0.2.1:= ) " RDEPEND="${DEPEND} diff --git a/app-text/expander/Manifest b/app-text/expander/Manifest index 756259310988..65ffaeeead58 100644 --- a/app-text/expander/Manifest +++ b/app-text/expander/Manifest @@ -1,4 +1,4 @@ AUX expander-2.0.5-gentoo.patch 1971 BLAKE2B 16459adb991e28472c569ef77bd4f688110e0d2a99970ed65e5332736a1a90a82afa6a04aaec38ba53b16b3303efbe8706324ffe1a37d6b00637550802d23960 SHA512 f81577c3ee11d2e13b59258a59e02a3ec26b265ee2206fde5585f75c21db015907835ade2db88a19ab1afd778a3a7d146d99d1dfb891237d04b2e6a052f49f57 DIST nedit_expander_kit_2.05.tar.gz 92571 BLAKE2B 0b77640b87372003e873a9e9146aeec82220dfc86b4f6d57220807443c007b6f4f99da8da505d7b6d2f1350150698deed84c8cb710297c6d8646ed192d3ee04a SHA512 a9d5e97db95eec9f98d71360c6af5a6908f31f59221ac1f509ae4f661b0614610b9591b9e2f58bba1175a6b609407d720369ba99cecb5496133d889bf93788ee -EBUILD expander-2.0.5-r2.ebuild 950 BLAKE2B 2e75ea39d52d7518fbb632422083e3f760f8bc5bd1a67a4476aef16c271128c9db793a55abe2999677f085ba236ece498e22fd7fdec526a02bcfa697ffc4d35c SHA512 f1e4f13b0e24ed43fe61eebb6cbd557c3bf369a8baf9a8aba4bb9b55c33052132722a31e9c2e0d94aee8c502ae4118d9aa803c9ce171786cdf4ed272df892b0a +EBUILD expander-2.0.5-r2.ebuild 952 BLAKE2B 44e941c8817d949c5ab0832f6f9e3b64a590c1a55563844428469daba0540a06e48c85edae474c3693de0f93c44af4f8cbf73efba18b1223e3d9a419feba4ec4 SHA512 86365e5dbc02dbc8a57a67884e256e50ab8c74b3a61c1648a814599cac2ef6d77ec5fbe33b323ca26d90a4b5efd74e16d52603fb4e6317e45baaa277c24295a9 MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a diff --git a/app-text/expander/expander-2.0.5-r2.ebuild b/app-text/expander/expander-2.0.5-r2.ebuild index c1ddd2ee423e..6684a72038d5 100644 --- a/app-text/expander/expander-2.0.5-r2.ebuild +++ b/app-text/expander/expander-2.0.5-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,7 +18,7 @@ S="${WORKDIR}/${PN}" PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) src_compile() { - emake -C src CC=$(tc-getCC) + emake -C src CC="$(tc-getCC)" } src_install() { diff --git a/app-text/foliate/Manifest b/app-text/foliate/Manifest index 765543d2818c..4af649e22e97 100644 --- a/app-text/foliate/Manifest +++ b/app-text/foliate/Manifest @@ -1,7 +1,5 @@ -DIST foliate-2.6.2.tar.gz 4760966 BLAKE2B 299dd8ab9f489772d18b85749cb312c8ddd4b21855452f87176ddfe068ff9e1e78cb5465fec97dbf70de22e7a773cf0910c11c3be7d0adb19279f4d9813249a1 SHA512 30bff00c34f90bfbd26b9e2b567a7cbcb1243cc5da17ff060762b7f1aafa4159daacee615de7f9bfef7d29d8209c8191094a154564f04321280037d2ec76a63e DIST foliate-2.6.3.tar.gz 4822251 BLAKE2B c6cedf4f5ae4e728ab2a7fc35a9fa1e9c69f9d2f8af92060b5363675d5e3fc5cb90698f4b184e792852d66a51e90c361b14d38034149304d10cdacc94100dda7 SHA512 b3dd5bc5a02d3f2210b0c7376426a7ea1668a81fa64fea179da2ab1d852778414cce45171143814d2010d6c03b0287dbbc512884107774ec211e24c6ed8127cb DIST foliate-2.6.4.tar.gz 4824560 BLAKE2B fd109d76a7cd0cfbff3fb7273b232a7c749922c5e4d782ed4b7dcb63e914a7cc0bd6e7623a509c3117e45ead5c1d7538c57f322742e4e826b88bddc6182abdf1 SHA512 af58efa2c33451617dbf7327b56551557d762ac80f1b489d5da1c5a46ebbfe329052149deb8b2f4c7729a7fd46deccd5500fd96c0a662b731c871c1ad8061cd3 -EBUILD foliate-2.6.2.ebuild 1217 BLAKE2B bad2c61ebe50ad2780fcf432273ce882f04eefb16119d6627b185db713717ef68d408e08cd18b5af63db2d94971291744b734fbad43ae2e20ba66e3ae78aec9a SHA512 253edf5d06def6414bc22ae06a834260609b065a292dadc5a038fd8e0a44116f7ed68372be55b731a97f1bc4c12a002a247a6886d1bbc0723f923cc3748cff7a EBUILD foliate-2.6.3.ebuild 1202 BLAKE2B c3e662e2218eb04cb4be8090eedeea2325c49d586e52040f5dcf976cfbdd9f029e0c9d41fd5b9165d9d760d46d3afcba116b85063b76187e816017f81148f9c9 SHA512 4e2c3de331b47ae613dd90d5fba956a4c7ed80788737a321e9a91612004328cf1f6cb6c286964431bbf8d88712c98fc219aa91efad5fa6ca358a5f4a70c5d6b7 -EBUILD foliate-2.6.4.ebuild 1202 BLAKE2B 5393135b4883f5cd16ca754cfd1ad41f53606118c44469d5fb03788ed1069d7dab0890628cc80aad692be1f4a345558eaad8bf1f95c4993290bb6f572a9b88b5 SHA512 e5b91817a3abac0ad25b54b0adaa0450937383a7f5bfba879c62c072658e38632218fc1fc9ee9345228d8266418de8e4fca43de4f3771e5af20dfd3be8b5e760 +EBUILD foliate-2.6.4-r1.ebuild 1210 BLAKE2B 8fa95a0d012751c378194e284391d30f0f4dec8e13ab8bc299cd3bbc4633a9385528dc0cb5576172a9e91abeec157ccc564492c1402b0009cc50ecac5a692ea0 SHA512 01d4b52af39728a8cfe02810c8c154c99451aafb90eae8791be2bd70f4cb7fdc9111b0bcaf51109b9e5b38bc83abf9b383f5a8c61354116c94f169e39e61ada7 MISC metadata.xml 607 BLAKE2B ab5cffaca496e55fe6c7cce465104fe2c0010d4ef6110c816575944d7f48ae94d834ac61430e1c722daca0ceb739fdb4e2ad35b2afef010675726aea967d2ea2 SHA512 7e1d53bcd78408d6ef3803871d131beced46b118555d7daf0ccc0abf6233d3892568ca3264f1b123f20524d56600cb162c53057fb38a0811571a98ca0051573b diff --git a/app-text/foliate/foliate-2.6.2.ebuild b/app-text/foliate/foliate-2.6.2.ebuild deleted file mode 100644 index 685d66123a4f..000000000000 --- a/app-text/foliate/foliate-2.6.2.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PLOCALES="cs_CS de_DE es eu fr_FR id_ID ie it ko nb nl nn pt_BR ru_RU sv tr uk zh_CN zh_TW" -inherit meson plocale xdg-utils gnome2-utils -SRC_URI="https://github.com/johnfactotum/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -DESCRIPTION="gtk ebook reader built with gjs" -HOMEPAGE="https://github.com/johnfactotum/foliate/" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64" -IUSE="handy spell" - -BDEPEND="${MESON_DEPEND} - sys-devel/gettext" -RDEPEND="dev-libs/gjs - x11-libs/gtk+:3[introspection] - x11-libs/pango[introspection] - x11-libs/gdk-pixbuf:2[introspection] - net-libs/webkit-gtk:4[introspection] - handy? ( gui-libs/libhandy:=[introspection] ) - spell? ( app-text/gspell[introspection] )" - -src_prepare() { - default - - plocale_find_changes "${S}"/po '' '.po' - - rm_po() { - rm po/${1}.po - sed -e "/^${1}/d" -i po/LINGUAS - } - - plocale_for_each_disabled_locale rm_po -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - xdg_icon_cache_update - gnome2_schemas_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - xdg_icon_cache_update - gnome2_schemas_update -} diff --git a/app-text/foliate/foliate-2.6.4-r1.ebuild b/app-text/foliate/foliate-2.6.4-r1.ebuild new file mode 100644 index 000000000000..f6ded40f0ee6 --- /dev/null +++ b/app-text/foliate/foliate-2.6.4-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PLOCALES="cs de es eu fr id ie it ko nb nl nn pt_BR ru sv tr uk zh_CN zh_TW" +PYTHON_COMPAT=( python3_{8..10} ) +inherit meson python-any-r1 plocale xdg gnome2-utils +SRC_URI="https://github.com/johnfactotum/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="gtk ebook reader built with gjs" +HOMEPAGE="https://github.com/johnfactotum/foliate/" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="handy spell" + +BDEPEND="${MESON_DEPEND} + ${PYTHON_DEPS} + sys-devel/gettext" +RDEPEND="dev-libs/gjs + x11-libs/gtk+:3[introspection] + x11-libs/pango[introspection] + x11-libs/gdk-pixbuf:2[introspection] + net-libs/webkit-gtk:4[introspection] + sys-devel/gettext + handy? ( gui-libs/libhandy:=[introspection] ) + spell? ( app-text/gspell[introspection] )" + +src_prepare() { + default + python_fix_shebang build-aux/meson + xdg_environment_reset + + plocale_find_changes "${S}"/po '' '.po' + + rm_po() { + rm po/${1}.po + sed -e "/^${1}/d" -i po/LINGUAS + } + + plocale_for_each_disabled_locale rm_po +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postinst + gnome2_schemas_update +} diff --git a/app-text/foliate/foliate-2.6.4.ebuild b/app-text/foliate/foliate-2.6.4.ebuild deleted file mode 100644 index e884210fcfef..000000000000 --- a/app-text/foliate/foliate-2.6.4.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PLOCALES="cs de es eu fr id ie it ko nb nl nn pt_BR ru sv tr uk zh_CN zh_TW" -inherit meson plocale xdg-utils gnome2-utils -SRC_URI="https://github.com/johnfactotum/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -DESCRIPTION="gtk ebook reader built with gjs" -HOMEPAGE="https://github.com/johnfactotum/foliate/" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64" -IUSE="handy spell" - -BDEPEND="${MESON_DEPEND} - sys-devel/gettext" -RDEPEND="dev-libs/gjs - x11-libs/gtk+:3[introspection] - x11-libs/pango[introspection] - x11-libs/gdk-pixbuf:2[introspection] - net-libs/webkit-gtk:4[introspection] - handy? ( gui-libs/libhandy:=[introspection] ) - spell? ( app-text/gspell[introspection] )" - -src_prepare() { - default - - plocale_find_changes "${S}"/po '' '.po' - - rm_po() { - rm po/${1}.po - sed -e "/^${1}/d" -i po/LINGUAS - } - - plocale_for_each_disabled_locale rm_po -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - xdg_icon_cache_update - gnome2_schemas_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - xdg_icon_cache_update - gnome2_schemas_update -} diff --git a/app-text/grip/Manifest b/app-text/grip/Manifest index 056a59faca59..4b3fd18d112d 100644 --- a/app-text/grip/Manifest +++ b/app-text/grip/Manifest @@ -1,3 +1,5 @@ DIST grip-4.5.2.tar.gz 145644 BLAKE2B a353a74d55d6496f3dad362b74e434ff22c8130368f6773ab2bfdf66e43c62e8dcba0e3a786157d37b81d7c7e49d0c83a60c847100169684ede9c09f4eb06c3f SHA512 a8937d8ba3633a2d47587eb5c1b0583df7e8a8cacebb87fd50dab3fd2deb91981b38a83a3ed182f4e5e7435c8e2c8d87829e45fa9d32d8823c821f6217c7ccc9 +DIST grip-4.6.0.tar.gz 147222 BLAKE2B ee5c10ca47ca0e9089d2618dc765a4ca01f4927da8c4256a251a9cf90ee15d63eb6136848cef0005d5f3af1f12b603f6f0fd55b65840bf542dcb9cd29ff35518 SHA512 483170996e593593781b684986dcb8eec20afb02dca84a9f5baeb3917220706332037f7b18f504aba8aa7d1d1c3587a1af18d6d5628f1e96517511c0be40a6ac EBUILD grip-4.5.2-r2.ebuild 764 BLAKE2B a6052b65931aa1ba8fa8d1943a6621dcf749aef2e26830026347d69936615809dd163c073dde46389cd81269ac45a68cb9871ce6e2bd62c5fdaaf1395c2f7f18 SHA512 2330d10a8f6186414dc77bf85a19e4069aac540fb2de217cda68f06fad313b740b0f5547238dd801b6ae748de9bb4dae82e0a1ed15da2e61cabf13c365a738ce +EBUILD grip-4.6.0.ebuild 765 BLAKE2B c416b4bad1593370f9811d2b587487b2a809955016f2688fab75ba1ee90ea3e0c8362067adb91e3b095b78ed987353a53f888935e312c22804134616f79b59d1 SHA512 a23265346713fd6cdf9dc7a4d7ca8961608122970575c80d429b288776f72864ecceab87f860cb47939b56cef38440e2b3523c6e153497b6eabb9d23f6bd6b21 MISC metadata.xml 365 BLAKE2B e01f58764eda42b4e6d7ece18b3f2996fe55e640d91cdba317f1f9677a59b114d7caab6c2ea7556f1962e30b8e2b453814179d7e978b52c4c07fe6e89d9a4978 SHA512 286ffe7168abf8d980ad5e713a31751241901246c6b2fe8372942e50bef53a70b3ff17045e99cb951c968309fcab5c9776a1fb26222c0ea4edfa467e8209eb4b diff --git a/app-text/grip/grip-4.6.0.ebuild b/app-text/grip/grip-4.6.0.ebuild new file mode 100644 index 000000000000..224d3078f628 --- /dev/null +++ b/app-text/grip/grip-4.6.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Preview GitHub Markdown files like Readme locally before committing them" +HOMEPAGE="https://github.com/joeyespo/grip" +LICENSE="MIT" + +SLOT="0" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +KEYWORDS="amd64" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND=" + !media-sound/grip + >=dev-python/docopt-0.4.0[${PYTHON_USEDEP}] + >=dev-python/flask-0.10.1[${PYTHON_USEDEP}] + >=dev-python/markdown-2.5.1[${PYTHON_USEDEP}] + >=dev-python/path-and-address-2.0.1[${PYTHON_USEDEP}] + >=dev-python/pygments-1.6[${PYTHON_USEDEP}] + >=dev-python/requests-2.4.1[${PYTHON_USEDEP}] +" diff --git a/app-text/highlight/Manifest b/app-text/highlight/Manifest index 0b8c3d0d57e1..76ce9fa0c611 100644 --- a/app-text/highlight/Manifest +++ b/app-text/highlight/Manifest @@ -2,7 +2,7 @@ AUX highlight-3.57-qt_libs_lua.patch 334 BLAKE2B 6cd387009986ef29f309dc52668f08c DIST highlight-3.57.tar.bz2 1412857 BLAKE2B c0ee8189294feac3b5e8c6d356634d8074a8960f2010918de52f23515ad4a13626971e9106ecc6d2adbdb45e0ebb66ff60eb3cbe86d2449666e3424f1c0dc3a6 SHA512 a086f6b8c4a4fc0b6651d456b178350a6c59a32cd613451d81b53fe3294eb0f80d673cb64fb615ef91d6c4d4bbc8a57413aec2490d2a5ad67e695ec6e92b3d99 DIST highlight-3.60.tar.bz2 1412486 BLAKE2B 3651a44c7e492ce02de04d21ed2e25afb40e871e21eacef88416f98226046e99a2a0a27c3354119715f320df1653ad7065c1c9a4a23b3081971df4d72c6fa19c SHA512 e4d0822592675115c7c2121d6ed066f997d315fecea384caeb506de1933f6bd60fd0dea57dcdafba85465f9f6b922ed168db57ce725bd7f19689d30624412f1b DIST highlight-4.1.tar.bz2 1469115 BLAKE2B 9ee4c61ea5ebdfd04c2bb341838cc66a755d5deb6dfb5d863d22dbb86be9b5d08999f22bb184053126bdaf8858777eb2ac504fed8998dc51bd6e1cd64f911ad8 SHA512 6e3ba72b2109f1b33fcebd1a426a8d4b3e12ee224b8a2069e7aab1391473594ccf9b35303bca5ca1339d2ce42bc6db2d16c1da7b1cdd451f5fabe672ca388731 -EBUILD highlight-3.57-r100.ebuild 2392 BLAKE2B a3de7dd2b7c503d9f2231d0e2850d673e338eb10ed49c01bc43fd4520577c148b4d566515f143a1e23ce081e17529185db960f882e6457fa2a7b921f452a9bf0 SHA512 d8cf9752b5a3127bbc3a3db03a9473ba7fc551135eca0c7d61ac33aae0f496c1ddc756c0ff02df33455e4c46ec308232966288f3954085dc0224f70e66746eea -EBUILD highlight-3.60.ebuild 2392 BLAKE2B a3de7dd2b7c503d9f2231d0e2850d673e338eb10ed49c01bc43fd4520577c148b4d566515f143a1e23ce081e17529185db960f882e6457fa2a7b921f452a9bf0 SHA512 d8cf9752b5a3127bbc3a3db03a9473ba7fc551135eca0c7d61ac33aae0f496c1ddc756c0ff02df33455e4c46ec308232966288f3954085dc0224f70e66746eea -EBUILD highlight-4.1.ebuild 2405 BLAKE2B 3514f6ce607909e7446ce97f23c8b44ab04ad75ef328863e17f4719b9af2b0fdf6e01611774a00d38fc6721823fb58c517b246eb441de67e12a7cadea6be17ca SHA512 50c808d2081d2bb3b276890a1c1e0f7f067465650c2df376ceaa839273fe1e9085d1df9f6df1005c8f6dfe5eb53d62d651b6514389de75188b443a6fb0d74f4b +EBUILD highlight-3.57-r100.ebuild 2392 BLAKE2B ea840d9f56ac50e22d0a21c0339b696a6b1de4f82f281e0afab93b54e199239b986a70e1795e146ef469d8108a2ff179deef726f646d6f7b6f1053e791f8aeb6 SHA512 e50889e2b8a1b62c8706f399c2fddb04fe405ca824e4d3291c99620a604d3f1bc5aa1f730a6a7985029b93a92d5f210ad37f2d4aca945907f95cd120f02b6f47 +EBUILD highlight-3.60.ebuild 2392 BLAKE2B ea840d9f56ac50e22d0a21c0339b696a6b1de4f82f281e0afab93b54e199239b986a70e1795e146ef469d8108a2ff179deef726f646d6f7b6f1053e791f8aeb6 SHA512 e50889e2b8a1b62c8706f399c2fddb04fe405ca824e4d3291c99620a604d3f1bc5aa1f730a6a7985029b93a92d5f210ad37f2d4aca945907f95cd120f02b6f47 +EBUILD highlight-4.1.ebuild 2405 BLAKE2B d7945a424f4f958f15c384973acbe0192b473bf913a9bfcb7b01ea3684e5eabc5bcc0f981c9922db2851944a7851239e0dca672f75558763f1911b05e7edfd7b SHA512 b4354913bfde963192077d2f5824b29806dbb8498b4630f30e688169697fe2ddaecd00ab6d9dac021c201d20f874343f161e6b918d21cfcf32e5ed7e8ab89939 MISC metadata.xml 331 BLAKE2B 3c864f08058c451342b7f7799f36e901f392207b36114dd123bb3faa59f04fe3b00d8e65cee4ad3bbbe44606bdafbd246c64d5fce03cd54fc64cd40cfde59788 SHA512 eb96ee44971855de0b12f9e230d58714acb54de1b0a814c0681f8c31124a5c3e39290e2fd17523b2b52b65efaf30f64580f00777a8e9c908779b582577897906 diff --git a/app-text/highlight/highlight-3.57-r100.ebuild b/app-text/highlight/highlight-3.57-r100.ebuild index b302b8a2f602..8b9689954ce7 100644 --- a/app-text/highlight/highlight-3.57-r100.ebuild +++ b/app-text/highlight/highlight-3.57-r100.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -39,16 +39,16 @@ PATCHES=( ) myhlopts=( - "CXX=$(tc-getCXX)" - "AR=$(tc-getAR)" - "LDFLAGS=${LDFLAGS}" - "CFLAGS=${CXXFLAGS} -DNDEBUG" - "DESTDIR=${D}" - "PREFIX=${EPREFIX}/usr" - "HL_CONFIG_DIR=${EPREFIX}/etc/highlight/" - "HL_DATA_DIR=${EPREFIX}/usr/share/highlight/" - "doc_dir=${EPREFIX}/usr/share/doc/${PF}/" - "conf_dir=${EPREFIX}/etc/highlight/" + CXX="$(tc-getCXX)" + AR="$(tc-getAR)" + LDFLAGS="${LDFLAGS}" + CFLAGS="${CXXFLAGS} -DNDEBUG" + DESTDIR="${D}" + PREFIX="${EPREFIX}/usr" + HL_CONFIG_DIR="${EPREFIX}/etc/highlight/" + HL_DATA_DIR="${EPREFIX}/usr/share/highlight/" + doc_dir="${EPREFIX}/usr/share/doc/${PF}/" + conf_dir="${EPREFIX}/etc/highlight/" ) src_prepare() { diff --git a/app-text/highlight/highlight-3.60.ebuild b/app-text/highlight/highlight-3.60.ebuild index b302b8a2f602..8b9689954ce7 100644 --- a/app-text/highlight/highlight-3.60.ebuild +++ b/app-text/highlight/highlight-3.60.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -39,16 +39,16 @@ PATCHES=( ) myhlopts=( - "CXX=$(tc-getCXX)" - "AR=$(tc-getAR)" - "LDFLAGS=${LDFLAGS}" - "CFLAGS=${CXXFLAGS} -DNDEBUG" - "DESTDIR=${D}" - "PREFIX=${EPREFIX}/usr" - "HL_CONFIG_DIR=${EPREFIX}/etc/highlight/" - "HL_DATA_DIR=${EPREFIX}/usr/share/highlight/" - "doc_dir=${EPREFIX}/usr/share/doc/${PF}/" - "conf_dir=${EPREFIX}/etc/highlight/" + CXX="$(tc-getCXX)" + AR="$(tc-getAR)" + LDFLAGS="${LDFLAGS}" + CFLAGS="${CXXFLAGS} -DNDEBUG" + DESTDIR="${D}" + PREFIX="${EPREFIX}/usr" + HL_CONFIG_DIR="${EPREFIX}/etc/highlight/" + HL_DATA_DIR="${EPREFIX}/usr/share/highlight/" + doc_dir="${EPREFIX}/usr/share/doc/${PF}/" + conf_dir="${EPREFIX}/etc/highlight/" ) src_prepare() { diff --git a/app-text/highlight/highlight-4.1.ebuild b/app-text/highlight/highlight-4.1.ebuild index c9571abe99d0..bf1c828666e9 100644 --- a/app-text/highlight/highlight-4.1.ebuild +++ b/app-text/highlight/highlight-4.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -39,16 +39,16 @@ PATCHES=( ) myhlopts=( - "CXX=$(tc-getCXX)" - "AR=$(tc-getAR)" - "LDFLAGS=${LDFLAGS}" - "CFLAGS=${CXXFLAGS} -DNDEBUG" - "DESTDIR=${D}" - "PREFIX=${EPREFIX}/usr" - "HL_CONFIG_DIR=${EPREFIX}/etc/highlight/" - "HL_DATA_DIR=${EPREFIX}/usr/share/highlight/" - "doc_dir=${EPREFIX}/usr/share/doc/${PF}/" - "conf_dir=${EPREFIX}/etc/highlight/" + CXX="$(tc-getCXX)" + AR="$(tc-getAR)" + LDFLAGS="${LDFLAGS}" + CFLAGS="${CXXFLAGS} -DNDEBUG" + DESTDIR="${D}" + PREFIX="${EPREFIX}/usr" + HL_CONFIG_DIR="${EPREFIX}/etc/highlight/" + HL_DATA_DIR="${EPREFIX}/usr/share/highlight/" + doc_dir="${EPREFIX}/usr/share/doc/${PF}/" + conf_dir="${EPREFIX}/etc/highlight/" ) src_prepare() { diff --git a/app-text/jabref/Manifest b/app-text/jabref/Manifest index 2fa1503d2222..aa8a06300919 100644 --- a/app-text/jabref/Manifest +++ b/app-text/jabref/Manifest @@ -1,3 +1,8 @@ +AUX jabref-2.10-javax.swing-java-9+.patch 14266 BLAKE2B cfd504d6258b3318865996fdeb2e19fe1712b713d80e73af2f813b2854e26e769e18a8e7ee70d28ac47f889c1c84ddd27c7a40dcf01bcfa219ed310130230b3f SHA512 e01ddaaf8ca0d4d6cf78f1a4a367164173decb345e400f16f2ea5eef78f80970ddaa75a8c23f2552b48d33c3989d21ff6701c0631c72d3000a28716257eca40d +AUX jabref-2.10-skip-failing-tests.patch 14972 BLAKE2B bbe4e6b4b94890cfe0db1c03ce6823a782ad93ffd0ccb9b1f23f218152ad556db92db25a9ab96c46d0cb47e2d288fe854d72932675ced23c7add01a25c448801 SHA512 d3669dd6520c6ac18e1d8be7966acdccd429de00f814ba71623f7abb183ccc933dc46c39ba90744ad301918140eafaf5adc17ae78281dcccc96dea2e1b8697dd +AUX jabref-2.10-test-jvm-props-args.patch 1846 BLAKE2B 1d278c20ecfea4923d4e28bb8ceb1af35b23b8ca7324d68a1852f289bc29ecf8bed44a483b13d87e9e9d48162ac56d6d09f5cdb42e41b25d7ddedfa20b0cf3fc SHA512 b81aa6b7e2c65409180dedcf4e0e1bdd65f32b64a72ec2588b9fcda1caa31d3dfd82690c975ef1ca39a2040f549b97267643a5b1633812bcddc0a428f9330429 +AUX jabref-2.10-test-prefs.xml 935 BLAKE2B 6429d261893c8388d4f2f5ee8328a649ded5d9756f48187d77a317a97bf20ef4d3c9da5c29a754e40548a774ab59bb9dfc2ef3e2e0d1708f1b9fbd7b3d15fd90 SHA512 e9ab3bb2faa4eda9e2fe8f282c9b669934d94d0461baa0cfbfddfffd3a7abf5c75f7d164ef6d5ad46f54aa7783c560c87ccfba82ec8cc98dc6dc0c6aded029f9 DIST JabRef-2.10-src.tar.bz2 16769469 BLAKE2B adb0acabd1872d5b9b054e8c4c7e85a0cf0425ad748408e248a66dceef7ba3eca0af8a8d2cc1ef0828bc930cab7e48e8f1800c8e55902af19b4827ae4480fe16 SHA512 72eee8fb08040fc7bfd395729d3c74f0a8841c90d5aa6e6e8d8e68ddcc1ffe1f6659a045aa951d51deffe266ee0b1ff844c4fdf36537d5463de6b361803bb942 EBUILD jabref-2.10-r6.ebuild 1998 BLAKE2B bdc1a0ed3328e781f096fdf6cbceca743b44adefd551386d05d6c2f2ffaae4640fc3f2ce42228f4928bbb51aa4e896d0248a97fb88823dcd605f1c12efedd533 SHA512 ed531c193206bbbd19313b5baafa9942db8e9a9fe9e05abfc12931ea9b23c430fe240875f889bbf9b3e9df8610a72e63740b730db5de9cf72c877ab13e8e0a65 +EBUILD jabref-2.10-r7.ebuild 3936 BLAKE2B b028c2117e2c2981244e69e74e2bd0541509cb2a4bf0b038917698ebac17e195714e88dd41a15483df9cbbd1b58883059ecf90d1a3e8625ffc2c6eb10bfaca62 SHA512 7822d3e1ca3b43e493811dfe6d5ad713912f48658fbc775ace264c3cfa34915c244f61a419c5712de117f61fb1c835d6bd7e9c1ca8f895c6da83fa8a20ce7101 MISC metadata.xml 538 BLAKE2B 42838a006f22851a46a0327962db710293807bf0a88ada771d14a55109d4b304a3c128547d9e9fcbf98c7d7f4807ce40310f32040109d7531f22c5f2cf93e050 SHA512 6023ce4d2b7ce8165511cc356dc99fcfb2b6f6c16064ea64558c96d83973ae8dd826b8b4a0fedac134f4609739d15fa981a444900b4b281d2f4c85affc5a8087 diff --git a/app-text/jabref/files/jabref-2.10-javax.swing-java-9+.patch b/app-text/jabref/files/jabref-2.10-javax.swing-java-9+.patch new file mode 100644 index 000000000000..30dbe53e9725 --- /dev/null +++ b/app-text/jabref/files/jabref-2.10-javax.swing-java-9+.patch @@ -0,0 +1,313 @@ +From bd03f07b5bcc5feb558caec4fbfd556947630fb9 Mon Sep 17 00:00:00 2001 +From: Yuan Liao +Date: Sat, 19 Feb 2022 08:25:21 -0800 +Subject: [PATCH] Update uses of javax.swing API members for Java 9+ + +These changes are backward compatible with Java 8. + +Signed-off-by: Yuan Liao +--- + .../sf/jabref/FindUnlinkedFilesDialog.java | 9 ++++----- + .../net/sf/jabref/collab/EntryChange.java | 6 +++--- + .../sf/jabref/groups/AddToGroupAction.java | 5 +++-- + .../net/sf/jabref/groups/GroupSelector.java | 9 +++++---- + .../net/sf/jabref/groups/GroupTreeNode.java | 20 ++++++++----------- + src/java/net/sf/jabref/groups/GroupsTree.java | 17 ++++++++-------- + .../jabref/imports/AppendDatabaseAction.java | 5 +++-- + .../sf/jabref/sql/exporter/DBExporter.java | 9 +++++---- + 8 files changed, 40 insertions(+), 40 deletions(-) + +diff --git a/src/java/net/sf/jabref/FindUnlinkedFilesDialog.java b/src/java/net/sf/jabref/FindUnlinkedFilesDialog.java +index 4bcbd73..5f7473d 100644 +--- a/src/java/net/sf/jabref/FindUnlinkedFilesDialog.java ++++ b/src/java/net/sf/jabref/FindUnlinkedFilesDialog.java +@@ -669,13 +669,12 @@ public class FindUnlinkedFilesDialog extends JDialog { + * The root node representing a tree structure. + * @return A list of files of all checked leaf nodes. + */ +- @SuppressWarnings("unchecked") + private List getFileListFromNode(CheckableTreeNode node) { + List filesList = new ArrayList(); +- Enumeration childs = node.depthFirstEnumeration(); ++ Enumeration childs = node.depthFirstEnumeration(); + ArrayList nodesToRemove = new ArrayList(); + while (childs.hasMoreElements()) { +- CheckableTreeNode child = childs.nextElement(); ++ CheckableTreeNode child = (CheckableTreeNode) childs.nextElement(); + if (child.isLeaf() && child.getSelected()) { + File nodeFile = ((FileNodeWrapper) child.getUserObject()).file; + if (nodeFile != null && nodeFile.isFile()) { +@@ -1105,9 +1104,9 @@ public class FindUnlinkedFilesDialog extends JDialog { + @SuppressWarnings("unchecked") + public void setSelected(boolean bSelected) { + isSelected = bSelected; +- Enumeration children = this.children(); ++ Enumeration children = this.children(); + while (children.hasMoreElements()) { +- CheckableTreeNode child = children.nextElement(); ++ CheckableTreeNode child = (CheckableTreeNode) children.nextElement(); + child.setSelected(bSelected); + } + +diff --git a/src/java/net/sf/jabref/collab/EntryChange.java b/src/java/net/sf/jabref/collab/EntryChange.java +index 924fd25..d479995 100644 +--- a/src/java/net/sf/jabref/collab/EntryChange.java ++++ b/src/java/net/sf/jabref/collab/EntryChange.java +@@ -21,6 +21,7 @@ import java.util.TreeSet; + import javax.swing.JComponent; + import javax.swing.JLabel; + import javax.swing.JScrollPane; ++import javax.swing.tree.TreeNode; + + import net.sf.jabref.*; + import net.sf.jabref.undo.NamedCompound; +@@ -83,11 +84,10 @@ public class EntryChange extends Change { + + + public boolean makeChange(BasePanel panel, BibtexDatabase secondary, NamedCompound undoEdit) { +- @SuppressWarnings("unchecked") + boolean allAccepted = true; +- Enumeration e = children(); ++ Enumeration e = children(); + for (; e.hasMoreElements();) { +- Change c = e.nextElement(); ++ Change c = (Change) e.nextElement(); + if (c.isAcceptable() && c.isAccepted()) + c.makeChange(panel, secondary, undoEdit); + else allAccepted = false; +diff --git a/src/java/net/sf/jabref/groups/AddToGroupAction.java b/src/java/net/sf/jabref/groups/AddToGroupAction.java +index 30d57c8..1840e32 100644 +--- a/src/java/net/sf/jabref/groups/AddToGroupAction.java ++++ b/src/java/net/sf/jabref/groups/AddToGroupAction.java +@@ -20,6 +20,7 @@ import java.util.Enumeration; + import java.util.Vector; + + import javax.swing.AbstractAction; ++import javax.swing.tree.TreeNode; + import javax.swing.undo.AbstractUndoableEdit; + + import net.sf.jabref.BasePanel; +@@ -59,10 +60,10 @@ public class AddToGroupAction extends AbstractAction { + + if (m_move) { + // collect warnings for removal +- Enumeration e = ((GroupTreeNode) m_node.getRoot()).preorderEnumeration(); ++ Enumeration e = ((GroupTreeNode) m_node.getRoot()).preorderEnumeration(); + GroupTreeNode node; + while (e.hasMoreElements()) { +- node = e.nextElement(); ++ node = (GroupTreeNode) e.nextElement(); + if (!node.getGroup().supportsRemove()) + continue; + for (int i = 0; i < entries.length; ++i) { +diff --git a/src/java/net/sf/jabref/groups/GroupSelector.java b/src/java/net/sf/jabref/groups/GroupSelector.java +index 4700d13..4813f12 100644 +--- a/src/java/net/sf/jabref/groups/GroupSelector.java ++++ b/src/java/net/sf/jabref/groups/GroupSelector.java +@@ -60,6 +60,7 @@ import javax.swing.event.PopupMenuListener; + import javax.swing.event.TreeSelectionEvent; + import javax.swing.event.TreeSelectionListener; + import javax.swing.tree.DefaultTreeModel; ++import javax.swing.tree.TreeNode; + import javax.swing.tree.TreePath; + import javax.swing.undo.AbstractUndoableEdit; + import javax.swing.undo.CompoundEdit; +@@ -1498,8 +1499,8 @@ public class GroupSelector extends SidePaneComponent implements + GroupTreeNode node; + AbstractGroup group; + Vector vec = new Vector(); +- for (Enumeration e = groupsRoot.preorderEnumeration(); e.hasMoreElements();) { +- node = e.nextElement(); ++ for (Enumeration e = groupsRoot.preorderEnumeration(); e.hasMoreElements();) { ++ node = (GroupTreeNode) e.nextElement(); + group = node.getGroup(); + int i; + for (i = 0; i < entries.length; ++i) { +@@ -1537,8 +1538,8 @@ public class GroupSelector extends SidePaneComponent implements + BibtexEntry entry; + Vector vec = new Vector(); + Map dummyMap = new HashMap(); // just because I don't want to use null... +- for (Enumeration e = groupsRoot.depthFirstEnumeration(); e.hasMoreElements();) { +- node = e.nextElement(); ++ for (Enumeration e = groupsRoot.depthFirstEnumeration(); e.hasMoreElements();) { ++ node = (GroupTreeNode) e.nextElement(); + rule = node.getSearchRule(); + for (Iterator it = matches.iterator(); it.hasNext();) { + entry = it.next(); +diff --git a/src/java/net/sf/jabref/groups/GroupTreeNode.java b/src/java/net/sf/jabref/groups/GroupTreeNode.java +index 9013af4..c55c7cf 100644 +--- a/src/java/net/sf/jabref/groups/GroupTreeNode.java ++++ b/src/java/net/sf/jabref/groups/GroupTreeNode.java +@@ -81,10 +81,10 @@ public class GroupTreeNode extends DefaultMutableTreeNode implements + */ + public String getTreeAsString() { + StringBuffer sb = new StringBuffer(); +- Enumeration e = preorderEnumeration(); ++ Enumeration e = preorderEnumeration(); + GroupTreeNode cursor; + while (e.hasMoreElements()) { +- cursor = e.nextElement(); ++ cursor = (GroupTreeNode) e.nextElement(); + sb.append(cursor.getLevel()).append(" ").append(cursor.getGroup().toString()).append("\n"); + } + return sb.toString(); +@@ -194,26 +194,22 @@ public class GroupTreeNode extends DefaultMutableTreeNode implements + } + + @Override +- @SuppressWarnings("unchecked") +- public Enumeration preorderEnumeration(){ ++ public Enumeration preorderEnumeration(){ + return super.preorderEnumeration(); + } + + @Override +- @SuppressWarnings("unchecked") +- public Enumeration depthFirstEnumeration(){ ++ public Enumeration depthFirstEnumeration(){ + return super.depthFirstEnumeration(); + } + + @Override +- @SuppressWarnings("unchecked") +- public Enumeration breadthFirstEnumeration(){ ++ public Enumeration breadthFirstEnumeration(){ + return super.breadthFirstEnumeration(); + } + + @Override +- @SuppressWarnings("unchecked") +- public Enumeration children(){ ++ public Enumeration children(){ + return super.children(); + } + +@@ -224,10 +220,10 @@ public class GroupTreeNode extends DefaultMutableTreeNode implements + */ + public AbstractGroup[] getMatchingGroups(BibtexEntry entry) { + Vector matchingGroups = new Vector(); +- Enumeration e = preorderEnumeration(); ++ Enumeration e = preorderEnumeration(); + AbstractGroup group; + while (e.hasMoreElements()) { +- group = (e.nextElement()).getGroup(); ++ group = ((GroupTreeNode) e.nextElement()).getGroup(); + if (group.contains(null, entry)) // first argument is never used + matchingGroups.add(group); + } +diff --git a/src/java/net/sf/jabref/groups/GroupsTree.java b/src/java/net/sf/jabref/groups/GroupsTree.java +index e58a567..c3daf94 100644 +--- a/src/java/net/sf/jabref/groups/GroupsTree.java ++++ b/src/java/net/sf/jabref/groups/GroupsTree.java +@@ -31,6 +31,7 @@ import javax.swing.JTree; + import javax.swing.SwingUtilities; + import javax.swing.ToolTipManager; + import javax.swing.tree.DefaultMutableTreeNode; ++import javax.swing.tree.TreeNode; + import javax.swing.tree.TreePath; + import javax.swing.tree.TreeSelectionModel; + import javax.swing.undo.AbstractUndoableEdit; +@@ -415,14 +416,14 @@ public class GroupsTree extends JTree implements DragSourceListener, + + /** Expand this node and all its children. */ + public void expandSubtree(GroupTreeNode node) { +- for (Enumeration e = node.depthFirstEnumeration(); e.hasMoreElements();) +- expandPath(new TreePath(e.nextElement().getPath())); ++ for (Enumeration e = node.depthFirstEnumeration(); e.hasMoreElements();) ++ expandPath(new TreePath(((GroupTreeNode) e.nextElement()).getPath())); + } + + /** Collapse this node and all its children. */ + public void collapseSubtree(GroupTreeNode node) { +- for (Enumeration e = node.depthFirstEnumeration(); e.hasMoreElements();) +- collapsePath(new TreePath((e.nextElement()) ++ for (Enumeration e = node.depthFirstEnumeration(); e.hasMoreElements();) ++ collapsePath(new TreePath(((GroupTreeNode) e.nextElement()) + .getPath())); + } + +@@ -432,8 +433,8 @@ public class GroupsTree extends JTree implements DragSourceListener, + */ + public boolean hasExpandedDescendant(TreePath path) { + GroupTreeNode node = (GroupTreeNode) path.getLastPathComponent(); +- for (Enumeration e = node.children(); e.hasMoreElements();) { +- GroupTreeNode child = e.nextElement(); ++ for (Enumeration e = node.children(); e.hasMoreElements();) { ++ GroupTreeNode child = (GroupTreeNode) e.nextElement(); + if (child.isLeaf()) + continue; // don't care about this case + TreePath pathToChild = path.pathByAddingChild(child); +@@ -449,8 +450,8 @@ public class GroupsTree extends JTree implements DragSourceListener, + */ + public boolean hasCollapsedDescendant(TreePath path) { + GroupTreeNode node = (GroupTreeNode) path.getLastPathComponent(); +- for (Enumeration e = node.children(); e.hasMoreElements();) { +- GroupTreeNode child = e.nextElement(); ++ for (Enumeration e = node.children(); e.hasMoreElements();) { ++ GroupTreeNode child = (GroupTreeNode) e.nextElement(); + if (child.isLeaf()) + continue; // don't care about this case + TreePath pathToChild = path.pathByAddingChild(child); +diff --git a/src/java/net/sf/jabref/imports/AppendDatabaseAction.java b/src/java/net/sf/jabref/imports/AppendDatabaseAction.java +index ad84bbc..5fdce20 100644 +--- a/src/java/net/sf/jabref/imports/AppendDatabaseAction.java ++++ b/src/java/net/sf/jabref/imports/AppendDatabaseAction.java +@@ -22,6 +22,7 @@ import java.util.Iterator; + import java.util.List; + + import javax.swing.JOptionPane; ++import javax.swing.tree.TreeNode; + + import net.sf.jabref.BaseAction; + import net.sf.jabref.BasePanel; +@@ -175,9 +176,9 @@ public class AppendDatabaseAction extends BaseAction { + ExplicitGroup group; + BibtexEntry entry; + +- for (Enumeration e = newGroups ++ for (Enumeration e = newGroups + .preorderEnumeration(); e.hasMoreElements();) { +- node = e.nextElement(); ++ node = (GroupTreeNode) e.nextElement(); + if (!(node.getGroup() instanceof ExplicitGroup)) + continue; + group = (ExplicitGroup) node.getGroup(); +diff --git a/src/java/net/sf/jabref/sql/exporter/DBExporter.java b/src/java/net/sf/jabref/sql/exporter/DBExporter.java +index deb9126..1518e0b 100644 +--- a/src/java/net/sf/jabref/sql/exporter/DBExporter.java ++++ b/src/java/net/sf/jabref/sql/exporter/DBExporter.java +@@ -32,6 +32,7 @@ import java.util.Set; + import java.util.Vector; + + import javax.swing.JOptionPane; ++import javax.swing.tree.TreeNode; + + import net.sf.jabref.BibtexDatabase; + import net.sf.jabref.BibtexEntry; +@@ -201,9 +202,9 @@ public abstract class DBExporter extends DBImporterExporter{ + rs.next(); + myID = rs.getInt("groups_id"); + } +- for (Enumeration e = cursor.children(); e ++ for (Enumeration e = cursor.children(); e + .hasMoreElements();) +- currentID = populateEntryGroupsTable(e.nextElement(), myID, ++ currentID = populateEntryGroupsTable((GroupTreeNode) e.nextElement(), myID, + currentID, out, database_id); + return currentID; + } +@@ -338,9 +339,9 @@ public abstract class DBExporter extends DBImporterExporter{ + rs.next(); + myID = rs.getInt("groups_id"); + } +- for (Enumeration e = cursor.children(); e ++ for (Enumeration e = cursor.children(); e + .hasMoreElements();) +- currentID = populateGroupsTable(e.nextElement(), myID, ++currentID, ++ currentID = populateGroupsTable((GroupTreeNode) e.nextElement(), myID, ++currentID, + out, database_id); + return currentID; + } +-- +2.34.1 + diff --git a/app-text/jabref/files/jabref-2.10-skip-failing-tests.patch b/app-text/jabref/files/jabref-2.10-skip-failing-tests.patch new file mode 100644 index 000000000000..95a2e7310fe6 --- /dev/null +++ b/app-text/jabref/files/jabref-2.10-skip-failing-tests.patch @@ -0,0 +1,349 @@ +From 0791be415c4104a4c7ff79487823a9f0a7a1d2ec Mon Sep 17 00:00:00 2001 +From: Yuan Liao +Date: Sat, 19 Feb 2022 10:47:42 -0800 +Subject: [PATCH] Skip tests that fail when run directly outside Portage + +Because the tests are JUnit 3 tests, to skip them, each test's method +name needs to be changed to something that does not start with 'test'. + +Signed-off-by: Yuan Liao +--- + .../tests/net/sf/jabref/UtilFindFileTest.java | 4 ++-- + src/java/tests/net/sf/jabref/UtilTest.java | 10 +++++----- + .../jabref/export/layout/LayoutEntryTest.java | 19 ++++++++++++++----- + .../sf/jabref/export/layout/LayoutTest.java | 4 ++-- + .../sf/jabref/export/layout/RTFCharsTest.java | 4 ++-- + .../AuthorLastFirstAbbreviatorTester.java | 2 +- + .../export/layout/format/DOICheckTest.java | 10 +++++++++- + .../sf/jabref/imports/BibtexParserTest.java | 4 ++-- + .../sf/jabref/imports/CopacImporterTest.java | 4 ++-- + .../sf/jabref/imports/IsiImporterTest.java | 4 ++-- + .../net/sf/jabref/imports/OAI2ImportTest.java | 2 +- + .../tests/net/sf/jabref/util/XMPUtilTest.java | 6 +++--- + 12 files changed, 45 insertions(+), 28 deletions(-) + +diff --git a/src/java/tests/net/sf/jabref/UtilFindFileTest.java b/src/java/tests/net/sf/jabref/UtilFindFileTest.java +index 7718c2c..b82360b 100644 +--- a/src/java/tests/net/sf/jabref/UtilFindFileTest.java ++++ b/src/java/tests/net/sf/jabref/UtilFindFileTest.java +@@ -27,7 +27,7 @@ public class UtilFindFileTest extends FileBasedTestCase { + * + * @throws IOException + */ +- public void testFindFileRelative() throws IOException { ++ public void skipTestFindFileRelative() throws IOException { + + // Most basic case + assertEqualPaths("HipKro03.pdf", findFile(root.getAbsolutePath() + "/test/", +@@ -144,7 +144,7 @@ public class UtilFindFileTest extends FileBasedTestCase { + + } + +- public void testFindFile() throws IOException { ++ public void skipTestFindFile() throws IOException { + + // Simple case + assertEqualPaths("HipKro03.pdf", Util.findFile(entry, database, root.getAbsolutePath() +diff --git a/src/java/tests/net/sf/jabref/UtilTest.java b/src/java/tests/net/sf/jabref/UtilTest.java +index a2e4ac6..50a6cad 100644 +--- a/src/java/tests/net/sf/jabref/UtilTest.java ++++ b/src/java/tests/net/sf/jabref/UtilTest.java +@@ -65,7 +65,7 @@ public class UtilTest extends TestCase { + + } + +- public void testPlaceDialog() { ++ public void skipTestPlaceDialog() { + Dialog d = new JDialog(); + d.setSize(50, 50); + Container c = new JWindow(); +@@ -111,7 +111,7 @@ public class UtilTest extends TestCase { + assertEquals("\"{a\"}", Util.shaveString(" \"{a\"} ")); + } + +- public void testCheckLegalKey() { ++ public void skipTestCheckLegalKey() { + + assertEquals("AAAA", Util.checkLegalKey("AA AA")); + assertEquals("SPECIALCHARS", Util.checkLegalKey("SPECIAL CHARS#{\\\"}~,^")); +@@ -119,7 +119,7 @@ public class UtilTest extends TestCase { + assertEquals("", Util.checkLegalKey("\n\t\r")); + } + +- public void testReplaceSpecialCharacters() { ++ public void skipTestReplaceSpecialCharacters() { + // Shouldn't German � be resolved to Ae + assertEquals("AeaeaAAA", Util.replaceSpecialCharacters("������")); + assertEquals("Hallo Arger", Util.replaceSpecialCharacters("Hallo Arger")); +@@ -221,7 +221,7 @@ public class UtilTest extends TestCase { + } + + +- public void testFieldAndFormat(){ ++ public void skipTestFieldAndFormat(){ + assertEquals("Eric von Hippel and Georg von Krogh", Util.getFieldAndFormat("[author]", entry, database)); + + assertEquals("Eric von Hippel and Georg von Krogh", Util.getFieldAndFormat("author", entry, database)); +@@ -239,7 +239,7 @@ public class UtilTest extends TestCase { + assertEquals("HipKro03", Util.getFieldAndFormat("[bibtexkey:]", entry, database)); + } + +- public void testUserFieldAndFormat(){ ++ public void skipTestUserFieldAndFormat(){ + + String[] names = Globals.prefs.getStringArray(NameFormatterTab.NAME_FORMATER_KEY); + if (names == null) +diff --git a/src/java/tests/net/sf/jabref/export/layout/LayoutEntryTest.java b/src/java/tests/net/sf/jabref/export/layout/LayoutEntryTest.java +index 8d6cea9..3197bf0 100644 +--- a/src/java/tests/net/sf/jabref/export/layout/LayoutEntryTest.java ++++ b/src/java/tests/net/sf/jabref/export/layout/LayoutEntryTest.java +@@ -92,11 +92,20 @@ public class LayoutEntryTest extends TestCase + /*************************/ + /****** tests Cases ******/ + /*************************/ ++ ++ /* ++ * An empty test case to avoid "No tests found" failure: ++ * ++ * warning(junit.framework.TestSuite$1)junit.framework.AssertionFailedError: ++ * No tests found in tests.net.sf.jabref.export.layout.LayoutEntryTest ++ */ ++ public void testDummy() { ++ } + + /** + * @throws Exception + */ +- public void testNoHighlighting() throws Exception ++ public void skipTestNoHighlighting() throws Exception + { + // say that this bibtex object was found + mBTE.setSearchHit(true); +@@ -113,7 +122,7 @@ public class LayoutEntryTest extends TestCase + /** + * @throws Exception + */ +- public void testHighlightingOneWordCaseInsesitive() throws Exception ++ public void skipTestHighlightingOneWordCaseInsesitive() throws Exception + { + // say that this bibtex object was found + mBTE.setSearchHit(true); +@@ -135,7 +144,7 @@ public class LayoutEntryTest extends TestCase + /** + * @throws Exception + */ +- public void testHighlightingTwoWordsCaseInsesitive() throws Exception ++ public void skipTestHighlightingTwoWordsCaseInsesitive() throws Exception + { + // say that this bibtex object was found + mBTE.setSearchHit(true); +@@ -162,7 +171,7 @@ public class LayoutEntryTest extends TestCase + /** + * @throws Exception + */ +- public void testHighlightingOneWordCaseSesitive() throws Exception ++ public void skipTestHighlightingOneWordCaseSesitive() throws Exception + { + // say that this bibtex object was found + mBTE.setSearchHit(true); +@@ -184,7 +193,7 @@ public class LayoutEntryTest extends TestCase + /** + * @throws Exception + */ +- public void testHighlightingMoreWordsCaseSesitive() throws Exception ++ public void skipTestHighlightingMoreWordsCaseSesitive() throws Exception + { + // say that this bibtex object was found + mBTE.setSearchHit(true); +diff --git a/src/java/tests/net/sf/jabref/export/layout/LayoutTest.java b/src/java/tests/net/sf/jabref/export/layout/LayoutTest.java +index cb98fe3..e54a9b8 100644 +--- a/src/java/tests/net/sf/jabref/export/layout/LayoutTest.java ++++ b/src/java/tests/net/sf/jabref/export/layout/LayoutTest.java +@@ -66,7 +66,7 @@ public class LayoutTest extends TestCase { + assertEquals("Misc", layout("\\bibtextype", "@misc{bla, author={This\nis\na\ntext}}")); + } + +- public void testHTMLChar() throws Exception { ++ public void skipTestHTMLChar() throws Exception { + String layoutText = layout("\\begin{author}\\format[HTMLChars]{\\author}\\end{author} ", + "@other{bla, author={This\nis\na\ntext}}"); + +@@ -95,7 +95,7 @@ public class LayoutTest extends TestCase { + * + * @throws Exception + */ +- public void testLayout() throws Exception { ++ public void skipTestLayout() throws Exception { + + String layoutText = layout( + "\\begin{abstract}

Abstract: \\format[HTMLChars]{\\abstract}\\end{abstract}
", +diff --git a/src/java/tests/net/sf/jabref/export/layout/RTFCharsTest.java b/src/java/tests/net/sf/jabref/export/layout/RTFCharsTest.java +index 43627ba..e977614 100644 +--- a/src/java/tests/net/sf/jabref/export/layout/RTFCharsTest.java ++++ b/src/java/tests/net/sf/jabref/export/layout/RTFCharsTest.java +@@ -35,7 +35,7 @@ public class RTFCharsTest extends TestCase { + assertEquals("{\\b hallo}", layout.format("{\\textbf hallo}")); + } + +- public void testComplicated() { ++ public void skipTestComplicated() { + LayoutFormatter layout = new RTFChars(); + + assertEquals("R\\u233eflexions sur le timing de la quantit\\u233e \\u230ae should be \\u230ae", layout.format("Réflexions sur le timing de la quantité \\ae should be æ")); +@@ -43,7 +43,7 @@ public class RTFCharsTest extends TestCase { + assertEquals("h\\u225all{\\uc2\\u339oe}", layout.format("h\\'all\\oe ")); + } + +- public void testSpecialCharacters() { ++ public void skipTestSpecialCharacters() { + + LayoutFormatter layout = new RTFChars(); + +diff --git a/src/java/tests/net/sf/jabref/export/layout/format/AuthorLastFirstAbbreviatorTester.java b/src/java/tests/net/sf/jabref/export/layout/format/AuthorLastFirstAbbreviatorTester.java +index 446a89c..496f18b 100644 +--- a/src/java/tests/net/sf/jabref/export/layout/format/AuthorLastFirstAbbreviatorTester.java ++++ b/src/java/tests/net/sf/jabref/export/layout/format/AuthorLastFirstAbbreviatorTester.java +@@ -76,7 +76,7 @@ public class AuthorLastFirstAbbreviatorTester extends TestCase { + * Testcase for + * http://sourceforge.net/tracker/index.php?func=detail&aid=1466924&group_id=92314&atid=600306 + */ +- public void testJrAuthor(){ ++ public void skipTestJrAuthor(){ + String name = "Other, Jr., Anthony N."; + assertEquals("Other, A. N.", abbreviate(name)); + } +diff --git a/src/java/tests/net/sf/jabref/export/layout/format/DOICheckTest.java b/src/java/tests/net/sf/jabref/export/layout/format/DOICheckTest.java +index dceb88c..d0680e3 100644 +--- a/src/java/tests/net/sf/jabref/export/layout/format/DOICheckTest.java ++++ b/src/java/tests/net/sf/jabref/export/layout/format/DOICheckTest.java +@@ -5,8 +5,16 @@ import net.sf.jabref.export.layout.LayoutFormatter; + import net.sf.jabref.export.layout.format.DOICheck; + + public class DOICheckTest extends TestCase { ++ /* ++ * An empty test case to avoid "No tests found" failure: ++ * ++ * warning(junit.framework.TestSuite$1)junit.framework.AssertionFailedError: ++ * No tests found in tests.net.sf.jabref.export.layout.format.DOICheckTest ++ */ ++ public void testDummy() { ++ } + +- public void testFormat() { ++ public void skipTestFormat() { + LayoutFormatter lf = new DOICheck(); + + assertEquals("", lf.format("")); +diff --git a/src/java/tests/net/sf/jabref/imports/BibtexParserTest.java b/src/java/tests/net/sf/jabref/imports/BibtexParserTest.java +index f8bc3dc..ad4899b 100644 +--- a/src/java/tests/net/sf/jabref/imports/BibtexParserTest.java ++++ b/src/java/tests/net/sf/jabref/imports/BibtexParserTest.java +@@ -257,7 +257,7 @@ public class BibtexParserTest extends TestCase { + assertEquals("2002", e.getField("year")); + } + +- public void testNewlineHandling() throws IOException { ++ public void skipTestNewlineHandling() throws IOException { + + BibtexEntry e = BibtexParser.singleFromString("@article{canh05," + + "a = {a\nb}," + +@@ -320,7 +320,7 @@ public class BibtexParserTest extends TestCase { + * @author Uwe Kuehn + * @author Andrei Haralevich + */ +- public void testFileNaming3(){ ++ public void skipTestFileNaming3(){ + BibtexEntry e = BibtexParser.singleFromString("@article{canh05," + + "title = {\nHallo \nWorld \nthis \n is\n\nnot \n\nan \n\n exercise \n \n.\n \n\n},\n" + + "tabs = {\nHallo \tWorld \tthis \t is\t\tnot \t\tan \t\n exercise \t \n.\t \n\t},\n" +diff --git a/src/java/tests/net/sf/jabref/imports/CopacImporterTest.java b/src/java/tests/net/sf/jabref/imports/CopacImporterTest.java +index 558ebb7..20f6c02 100644 +--- a/src/java/tests/net/sf/jabref/imports/CopacImporterTest.java ++++ b/src/java/tests/net/sf/jabref/imports/CopacImporterTest.java +@@ -24,7 +24,7 @@ public class CopacImporterTest extends TestCase { + super.tearDown(); + } + +- public void testIsRecognizedFormat() throws IOException { ++ public void skipTestIsRecognizedFormat() throws IOException { + + CopacImporter importer = new CopacImporter(); + assertTrue(importer.isRecognizedFormat(CopacImporterTest.class +@@ -46,7 +46,7 @@ public class CopacImporterTest extends TestCase { + .getResourceAsStream("IsiImporterTestMedline.isi"))); + } + +- public void testImportEntries() throws IOException { ++ public void skipTestImportEntries() throws IOException { + CopacImporter importer = new CopacImporter(); + + List entries = importer.importEntries(CopacImporterTest.class +diff --git a/src/java/tests/net/sf/jabref/imports/IsiImporterTest.java b/src/java/tests/net/sf/jabref/imports/IsiImporterTest.java +index 041a31e..ee89a2b 100644 +--- a/src/java/tests/net/sf/jabref/imports/IsiImporterTest.java ++++ b/src/java/tests/net/sf/jabref/imports/IsiImporterTest.java +@@ -33,7 +33,7 @@ public class IsiImporterTest extends TestCase { + super.tearDown(); + } + +- public void testIsRecognizedFormat() throws IOException { ++ public void skipTestIsRecognizedFormat() throws IOException { + + IsiImporter importer = new IsiImporter(); + assertTrue(importer.isRecognizedFormat(IsiImporterTest.class +@@ -201,7 +201,7 @@ public class IsiImporterTest extends TestCase { + assertEquals(BibtexEntryType.ARTICLE, b.getType()); + } + +- public void testImportEntriesWOS() throws IOException { ++ public void skipTestImportEntriesWOS() throws IOException { + IsiImporter importer = new IsiImporter(); + + List entries = importer.importEntries(IsiImporterTest.class +diff --git a/src/java/tests/net/sf/jabref/imports/OAI2ImportTest.java b/src/java/tests/net/sf/jabref/imports/OAI2ImportTest.java +index 9e7e73f..e0bfdf5 100644 +--- a/src/java/tests/net/sf/jabref/imports/OAI2ImportTest.java ++++ b/src/java/tests/net/sf/jabref/imports/OAI2ImportTest.java +@@ -112,7 +112,7 @@ public class OAI2ImportTest extends TestCase { + assertEquals("", OAI2Fetcher.fixKey("arXiv:")); + } + +- public void testOnline() throws InterruptedException { ++ public void skipTestOnline() throws InterruptedException { + + { + OAI2Fetcher fetcher = new OAI2Fetcher(); +diff --git a/src/java/tests/net/sf/jabref/util/XMPUtilTest.java b/src/java/tests/net/sf/jabref/util/XMPUtilTest.java +index 74571f5..5b74057 100644 +--- a/src/java/tests/net/sf/jabref/util/XMPUtilTest.java ++++ b/src/java/tests/net/sf/jabref/util/XMPUtilTest.java +@@ -345,7 +345,7 @@ public class XMPUtilTest extends TestCase { + * @throws TransformerException + * Should not happen. + */ +- public void testPrivacyFilter() throws IOException, TransformerException { ++ public void skipTestPrivacyFilter() throws IOException, TransformerException { + + { // First set: + prefs.putBoolean("useXmpPrivacyFilter", true); +@@ -1023,7 +1023,7 @@ public class XMPUtilTest extends TestCase { + assertEquals(t3BibtexEntry(), b); + } + +- public void testReadWriteDC() throws IOException, TransformerException { ++ public void skipTestReadWriteDC() throws IOException, TransformerException { + List l = new LinkedList(); + l.add(t3BibtexEntry()); + +@@ -1103,7 +1103,7 @@ public class XMPUtilTest extends TestCase { + + } + +- public void testWriteSingleUpdatesDCAndInfo() throws IOException, ++ public void skipTestWriteSingleUpdatesDCAndInfo() throws IOException, + TransformerException { + List l = new LinkedList(); + l.add(t3BibtexEntry()); +-- +2.34.1 + diff --git a/app-text/jabref/files/jabref-2.10-test-jvm-props-args.patch b/app-text/jabref/files/jabref-2.10-test-jvm-props-args.patch new file mode 100644 index 000000000000..d3e413e9b0fd --- /dev/null +++ b/app-text/jabref/files/jabref-2.10-test-jvm-props-args.patch @@ -0,0 +1,49 @@ +From f24492bff17f728bcf2b5a50069669ae08b8b372 Mon Sep 17 00:00:00 2001 +From: Yuan Liao +Date: Sat, 19 Feb 2022 10:21:04 -0800 +Subject: [PATCH] Add JVM system properties and argument for tests + +The changes to system properties ensure that all paths the application +may write to during the tests are not protected by the Portage sandbox. + +The extra argument added is required on Java 17+, but it should also be +compatible with all Java versions that support the Java Platform Module +System (JPMS), namely Java 9+. On older Java versions, it is optional. +On Java 8, however, including it in JVM arguments would cause an error. + +Signed-off-by: Yuan Liao +--- + build.xml | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +diff --git a/build.xml b/build.xml +index d13a9f3..788a4d1 100644 +--- a/build.xml ++++ b/build.xml +@@ -28,7 +28,7 @@ + + +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--> + +- ++ + +