diff options
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/Manifest.gz | bin | 8090 -> 8086 bytes | |||
-rw-r--r-- | app-office/gnumeric/Manifest | 4 | ||||
-rw-r--r-- | app-office/gnumeric/gnumeric-1.12.57.ebuild | 4 | ||||
-rw-r--r-- | app-office/gnumeric/gnumeric-1.12.59.ebuild | 93 | ||||
-rw-r--r-- | app-office/naps2/Manifest | 5 | ||||
-rw-r--r-- | app-office/naps2/naps2-8.1.4.ebuild | 279 |
6 files changed, 382 insertions, 3 deletions
diff --git a/app-office/Manifest.gz b/app-office/Manifest.gz Binary files differindex d0fc78c41f5a..4984425a646e 100644 --- a/app-office/Manifest.gz +++ b/app-office/Manifest.gz diff --git a/app-office/gnumeric/Manifest b/app-office/gnumeric/Manifest index 5aa1515c2c18..ce175bfdf7cc 100644 --- a/app-office/gnumeric/Manifest +++ b/app-office/gnumeric/Manifest @@ -1,3 +1,5 @@ DIST gnumeric-1.12.57.tar.xz 18149400 BLAKE2B d268cd2ac260e13be51bca53f4456b9db4d67376c34d15dd6483c1c697f6418120fc31630894fe037979a46277d557fd7b66f226d92d8ab414d87c9c5e27b53f SHA512 67886aff17338c41997cb71d2ee8fcac0f3b9dfc4ef1897b50866844e002ba7867f263daa3aadcaa10ba29746795fad0a4f852bdc22cdd4bc41293c952b69e9d -EBUILD gnumeric-1.12.57.ebuild 2323 BLAKE2B a24da116c253873ea3e12eb98bb4ddf1f61d8d4ddf5b6c3a0c000151d8e4cd44a9b2f0313280454983dd7c1d99bfe9cd478e947b5f65dfcd0e87a0bebfcd5acb SHA512 6cafd1acf267c931a31d593397db970945f8571a3210c5e8ab57d1e305e38dccee6a233c2d4445257e67496e396b7768c7acd8b76749d892f413b86e4dbf6522 +DIST gnumeric-1.12.59.tar.xz 17773992 BLAKE2B be227ae70e4861ab1a7a1864ebcb57eed7f99052756f56cf29825a98682933f9ec7bbecd68e933043665065865466881ca1431b5e8b3b6a216461cc5e6495388 SHA512 51b4fc23166d75788bcb86260c5e17fa4bb48f8920a0f9bc001609417be75f707650f057c58d480e9ded1dc8460407629329c19154c65d273a6edc7682d3428f +EBUILD gnumeric-1.12.57.ebuild 2323 BLAKE2B 9513a498449667c2e7a6f7784a676393b375e98ae641a3b7ac8247c7fe502145eacf12efa73cf74ace4120a366f4c5e703abdc95297d56d103f2b20aa01cdfe9 SHA512 a0ae2d96e2b6ebd85385e92c5d0d1d64d8df52768be23efe4d9824a214a899d96047774a8aa94ee6f7b730979140e091379f7c136da4ad01f43c1754882ded4d +EBUILD gnumeric-1.12.59.ebuild 2324 BLAKE2B ac0a1f97627f9d4252a1cb4503857386037837e4622273da9829bfbd91862e454d0cb081f2df169957f26b6e6857ba519627ddcb7315c61dd692131271a7cd08 SHA512 7bf3f8618ec7c9d069e4587de410643ca3373a2c1be9ac7011d0ee904ae1bed05b9a1047fb51fa70f15617f6eb1326f633d8b62dc89f3fa547619c5a9f90b4f9 MISC metadata.xml 627 BLAKE2B 6704cf7889bf073ee97e1af9145395462f326aa44ad6fa04f4cc4908bbde8a486518c0f11e3a9ab887835c0af862868b8a86ca29191ac1bdf179aa060c621020 SHA512 451313a3c0d62af5f647bcdce0ac76bf1948189bb70c555f6aa871245bf3ce62b0ad306c8835a7c42b24333c3e9ce449a209d3d6967e487ec061792969092107 diff --git a/app-office/gnumeric/gnumeric-1.12.57.ebuild b/app-office/gnumeric/gnumeric-1.12.57.ebuild index 30a6af66d5b1..11b930b58595 100644 --- a/app-office/gnumeric/gnumeric-1.12.57.ebuild +++ b/app-office/gnumeric/gnumeric-1.12.57.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit gnome.org libtool python-r1 xdg diff --git a/app-office/gnumeric/gnumeric-1.12.59.ebuild b/app-office/gnumeric/gnumeric-1.12.59.ebuild new file mode 100644 index 000000000000..e7e4a942b8df --- /dev/null +++ b/app-office/gnumeric/gnumeric-1.12.59.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..13} ) + +inherit gnome.org libtool python-r1 xdg + +DESCRIPTION="The GNOME Spreadsheet" +HOMEPAGE="http://www.gnumeric.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="+introspection libgda perl" +REQUIRED_USE="introspection? ( ${PYTHON_REQUIRED_USE} )" + +# Missing gnome-extra/libgnomedb required version in tree +# but its upstream is dead and will be dropped soon. + +# lots of missing files, also fails tests due to 80-bit long story +# upstream bug #721556 +RESTRICT="test" + +# Gnumeric has two python components +# 1. The python loader for loading python-based plugins. +# This component is pure python 2 and a port "is not currently being worked on". +# 2. The python gobject-based introspection API. This component is compatible +# with python 3. +# Component 1. can only be re-enabled once someone has ported the upstream +# codebase to python 3. +# https://gitlab.gnome.org/GNOME/gnumeric/issues/419#note_618852 +RDEPEND=" + app-arch/bzip2 + sys-libs/zlib + >=dev-libs/glib-2.40.0:2 + >=gnome-extra/libgsf-1.14.33:= + >=x11-libs/goffice-0.10.57:0.10[introspection?] + >=dev-libs/libxml2-2.4.12:2 + >=x11-libs/pango-1.46.0:= + + >=x11-libs/gtk+-3.8.7:3 + x11-libs/cairo:=[svg(+)] + + introspection? ( + ${PYTHON_DEPS} + >=dev-libs/gobject-introspection-1:= + ) + perl? ( dev-lang/perl:= ) + libgda? ( gnome-extra/libgda:5[gtk] )" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/docbook-xml-dtd:4.5 + app-text/yelp-tools + dev-build/gtk-doc-am + >=dev-util/intltool-0.35.0 + virtual/pkgconfig" + +src_prepare() { + default + + # Manage gi overrides ourselves + sed '/SUBDIRS/ s/introspection//' -i Makefile.{am,in} || die + + elibtoolize +} + +src_configure() { + econf \ + --disable-gtk-doc \ + --disable-maintainer-mode \ + --disable-schemas-compile \ + --disable-static \ + --without-psiconv \ + --without-python \ + --with-zlib \ + $(use_with libgda gda) \ + $(use_enable introspection) \ + $(use_with perl) +} + +src_install() { + default + dodoc HACKING MAINTAINERS + + if use introspection; then + python_moduleinto gi.overrides + python_foreach_impl python_domodule introspection/gi/overrides/Gnm.py + fi + + # no static archives + find "${ED}" -name '*.la' -delete || die +} diff --git a/app-office/naps2/Manifest b/app-office/naps2/Manifest index 00cba06b32bf..a6764381dfc6 100644 --- a/app-office/naps2/Manifest +++ b/app-office/naps2/Manifest @@ -67,11 +67,13 @@ DIST microsoft.testplatform.testhost.17.10.0.nupkg 2879677 BLAKE2B 5828346a430b8 DIST microsoft.win32.primitives.4.3.0.nupkg 63333 BLAKE2B 132ec29940d4b716110980c4f9a06ba15183d29de638379d09998124605165e51652b2727e3892b57dbc7cacfdc71f9e1b59c9dd5463a524657351f5385d896d SHA512 366f07a79d72f6d61c2b7c43eaa938dd68dfb6b83599d1f6e02089b136fa82bec74b6d54d6e03e08a3c612d51c5596e3535cbc2b29f39b97a827b3e7c79826f0 DIST microsoft.win32.systemevents.4.7.0.nupkg 148460 BLAKE2B 07615e6811f9fbfb65b22f70e266ac3af25117bf0e57803c1e19f452ceb71b5feed2d6bd78caae7b0dd87e2a752442ff25e639fbc02831d3c02f6377a1c2913a SHA512 3dc95211fd597cbeb7b8498e79d58c8dc373767d129252f1858f223fe9228bef56c4dd48e613694581fd197e8c1ec428ec8788a451b9c248e2073c7603c994d4 DIST microsoft.win32.systemevents.8.0.0.nupkg 233719 BLAKE2B 7d8cad3d5cad9646167ac7b6c9784e080bbc3033fa010d6ebf795d8c38aa1e8e6c75a612c769137a19dfcbc14c88b4d00e3ce50eff4070ee011ef7f2a9c8ffb4 SHA512 25016c508653fbf463c52d8fc3d2773b7c211c2402c4ea7b4aa987fb29c851d3f80c5e7abbcace2d4d5e061ae290524e8029afbc49a37d7e5186fe06aa4609b2 +DIST microsoft.win32.systemevents.9.0.3.nupkg 184464 BLAKE2B ec83c8f5834e6716f1e45279de108ecb5937af8b74537133e14d250d4f0fabfd4c4b97023f13c990151c567b8f68bcad2f9772e03998bc3943e876e4980dd1ed SHA512 1dac0e903ae7aa73ea1ac46665f8bbddd7d82a1d79ca6d331ff34d13ecb3e9f546168472f5da96e5db028191e8bb40110d969117e81977bdd4d1bb4874633590 DIST microsoft.windowsdesktop.app.ref.6.0.32.nupkg 3854138 BLAKE2B b36cf8f3165db48106bb68447e39c8dd86eae2fc1be0a448ace8ecae77d30a74e3113f08b9115b1116201d71e883ebe9b1b43ca8ffab990d8ab9576140744477 SHA512 0a569b52b1d2ba44e4414988ec03ec0fa4e9fb047d891e3eaf9f69a03d89460b03da410be8fd7f17444f5015bfb284cf19cb2bbf9ffb081b95ce3bb3ba362507 DIST microsoft.windowsdesktop.app.ref.8.0.7.nupkg 4466896 BLAKE2B 25772a98070145ec2567f703514cf2f7d6b01af5d531af90670d51fe818c7e5c2a36d16b603840725ad631e97c4f29589703f8a262aa70dbd28965e4f205edd0 SHA512 eb4abc341ba790836c744acce8d9c422d5b544f385bf4d28eecca8573831563ba723bf4bcddcd0e06cb05690d45c15f846ceaad2889bb3316c77b3ba8ff5ade2 DIST mimekitlite.4.7.1.nupkg 4782334 BLAKE2B dd066cde8b8f09a9aa0c44881a703d2e96b569d313cd6803be4ed568fc30360e7556c1e01baf61ab497880a46ba9304c3d9152787e3e460c273b2d92e801c23a SHA512 cfc5608a058c98f5e5771554f6b46dba0a77265137cdd82549d733e2efc54ac0dfdb24d578243cc4024b3bf272d4cf2ed6b589df88786f7c68a38e73a7569ba0 DIST naps2-7.5.3.tar.gz 41114628 BLAKE2B d3c6d50415345fd34a953742852e4f62a8ed8093b9036a0f221a9d3c92dbf05df14156d1067695765e3a50d703340f7e12eddd91b6799a70997213806c4426a1 SHA512 33ac3d7fbd394f8cab0b594928320b3c1b16cd6453d1b4446de85aef7f211e95587a3d05ccfa878adbebd8ae72a008dc3a0ac2b96102bd3cc8b2d7bbe01a2033 DIST naps2-8.1.1.tar.gz 41386991 BLAKE2B 278717c9509c6b522e2460527eba6ea2bee4116b90b5aca5fb7a780dee0d574d6f7e3463b314ad35a76bb9fd6c61b235f31048a667330656884ccc5b7020c0f8 SHA512 7ac03b1de44cd2273d98402e9b10720f8c9c58acdd39872ae5222f1c42b9ab0b6b12b7f6bd3051c3f3a2c18c438c75ec80a5c56377c024eda63e269eac992b9a +DIST naps2-8.1.4.tar.gz 42103096 BLAKE2B 228b41b6e34d17efd38e4043b87b28fa18fbb182648a90eb9b25b0c0e69099d6afac1a8c3bcbc907285c5cce94143b893c560e8929a6465a004561df93905370 SHA512 4ee8913c3d33cea7e07a0cd0e7b34314991b14df53ba18b1e185c3dbb7a27b100cf180608e21d8e7c4d4bd9272b59ff189d419e4fb8b3913e19cba027036bd53 DIST naps2.mdns.1.0.1.nupkg 86085 BLAKE2B 85c41ed205c155ebf618b09ab09fa6c405a528dafa5f435e55a7a59a4d8831ab8efd68c2e08ab2eb61c79869ce6dab8a72b9d3851285a57488043c3876b97cd4 SHA512 0415de3d8758b301df93f89019ea096f554c7e4760658f387da5c2e25c895fcbb1d905ecdb89ee894cbac19580bb7948b0be57174f9823c338d57243d8fcf650 DIST naps2.ntwain.1.0.0.nupkg 490706 BLAKE2B 8208a15d6c9ec65eda196cff2141d9349c1278d6536dbb02552462e1c53fdebb68ecabd84c73150e4848ab80a537e25db15c6fca27d264f7dbfd904f65eb0560 SHA512 83ae07decef61c55fb3dc11212f335264288881be2014e194e104da1892c0d58ab71c1e32832d219cf9618b4f9485d2ad79668bcd0cffdbad9790f6d0798c6d2 DIST naps2.pdfium.binaries.1.1.0.nupkg 15878385 BLAKE2B 891bca3725934a7e0f86165f3f8665a24d552682c0dae726d75954008c850fdad22f9c388d956de8af7b85ef01ca3baed5aacaea13e3d8e502bddac3c055ad53 SHA512 b2b747628a2dd9fb9626c1ce977622b2a40079ddd506a845e39bff4264ac06406234b6a4b4b16c5c394dc5487b7a3b414b86370844c94a5245b594eaa1b5a761 @@ -79,6 +81,7 @@ DIST naps2.pdfsharp.1.0.1.nupkg 668676 BLAKE2B d060b00b9c4fb6be89bfc69b9be2a3b64 DIST naps2.sane.binaries.1.1.0.nupkg 10280612 BLAKE2B 9787f72851ac8e0e32190065ef12bae7940fdc1c5ec6313c0938a8bdbfa2cf4ff40a39da46a4afe17d955aa0e0b56a5a9c6f6b4a43d1b692b8a48643499c7648 SHA512 e6802adec2cc2f3939ba7bb5f725b08bba8c123d29603183761c67fdbb98008f318760b2177adb832222675c1c8b1c6310d45bfe2751f3238194909f42ab9e38 DIST naps2.tesseract.binaries.1.2.0.nupkg 12374829 BLAKE2B 1018b72c517cabc2e56941860c305b30b3c9ae3f8ca2b128961954078c290fe6afb10b6e75797174891140118300b9ce5f1a9536dffe8e3068c033d1764aa8e3 SHA512 3c1f8bced2878eecb1a18268829fa98b3a31ef808357eb50d00533345f4c4ae8e770e0bc62104661cf0429bcbc736c280883a58ada73e350f1df2dde0859f376 DIST naps2.tesseract.binaries.1.3.0.nupkg 13268867 BLAKE2B 1e5f724d442b9b4366a14ca53a2fe780a9d27e2ab2195c1f6fe0ed16fb56a1d5df50d74909a39c4e21bfe719807f69e60f28cde47a5dd2332164019ccdc4bc6a SHA512 88f314359cf7318436174472d7265384d44dcb93e41b730d7529e1ee80068801d2cae8ad0a5e6a6faa27608519b432dffadb49287b7b7f1eb78d9ad98dcbcefd +DIST naps2.tesseract.binaries.1.3.1.nupkg 13267508 BLAKE2B 49ae23d1ff589851a4c7d5e93baa4988071ff9b48f44ceff91a82f58f6828c62d916c676ca54fd67c0f4b6728ac110088e65a23f84c261c26351c6f1c81fa33e SHA512 e3935cad23d840adf617f49bfb796072a6b07aba5fe7291b000ad7572ef1ed6c70d7c102d18f4681ebe485f782aa34dd1fce3511557241d82aa884c2f034d114 DIST naps2.wia.2.0.3.nupkg 81720 BLAKE2B 19658f6ecfd47a21d88955c89968e111f06504246790f779078f47f9d4d947d692df19713e6422b7fcb75608d4ee999872f78729fd80ae58d9b9e612a8f2d0ae SHA512 0eede4a6c57e76c87fd44aa56aca8181e39ea3f2bce782027ae6161781deb7b7c9b060966a31a6d22202fc75648f744e1fa0aefa27a8550fc13d04454a9b0743 DIST netstandard.library.1.6.1.nupkg 17360 BLAKE2B 02badd3473451f83997f0b66d05f1541c741e65b9127b8b27ab391260df7939f235eb6648b11c7c11cc5400489ddf1cd26820b7bdf6fd9f1d8f0dfdfeef96acc SHA512 0972dc2dbb4925e896f62bce2e59d4e48639320ee38ad3016dcd485fbd6936a0ed08073ad5eef2a612dff05dfc390f3930fff9e79d87a06070eeb8128277cbd0 DIST netstandard.library.2.0.0.nupkg 3143842 BLAKE2B 7e3fc865e7893fb531b21e2ca791b788af01481316e49a79c4676050c2b8ad413fd8a4ef9890557582ec8b9741c8aa01b080b8d2caa16e02bfff2a7b38777989 SHA512 e3d64072b9cd9f9e86209c06a22688ecda7070427c9a35327d2a9560824c0e1381ccf7bc1d21d2ef8b301761f4bfc7f38fba712df7188d2f4fe4f748aac4d0c7 @@ -198,6 +201,7 @@ DIST system.diagnostics.tracesource.4.3.0.nupkg 227705 BLAKE2B a94d8a907a729dd4a DIST system.diagnostics.tracing.4.3.0.nupkg 581864 BLAKE2B e09e616dff7879932b358746a62b530499aa61726c4490c56d2d7a0bf888db5b42d75d89cc5befc9fdb6af231beff998b6b243c2b2a08084da089709e0c82a75 SHA512 d0a5d30e261cd45b7dfab02b7ffbd76b64e0c9b892ed826ea61481c983c0208b05b69981cd79e91cd4e5811e1cd4c3cea06a1afce05811ece58be5e4c20169ea DIST system.drawing.common.4.7.2.nupkg 1218622 BLAKE2B 6ead80743aedd6def2af97699cc35b48b86cd0af021517550486fcdf5cd2a5ad4ffa430c8472cbdfb754629e2008b5ada8e3ecea37abbdc63de9125788b211e7 SHA512 5510e9093f9b0655fb140ec173fa8c3944e9cb1661939763ab7ee66005507c7a37ef90422f18f4e609e27334a962f9a1b47474387941eb77c665a0f72d82a7d9 DIST system.drawing.common.8.0.7.nupkg 1568177 BLAKE2B 31993b92e50f7b39499d04839b8ac2c6308dbd2c9af6871e2ee20be605d78f754848e2edaa6fb1529a38bfba2a925faa4a96228d271013dec46510c64a9866b1 SHA512 1a527afac8c5dc6c622f98f6f2e9815734da515e3a11428b69fcd0a4726883918c0942b2a54653ba1381bdd1cb5985eba5090c81e9be3087d72e51308d40e7fd +DIST system.drawing.common.9.0.3.nupkg 2049689 BLAKE2B 1c9fd7db77510718c0362a8eb07f7c09c153adf21e4e4bf4fa48008b3a44a90e408466d806670df4118f721229f1c1340cd6dee5f690bc4879e95c16fa3d429b SHA512 07f63f1645a3aa30fbaf87f302c111071b908cee8bfcf19922a929d8a0a64ab379824822ebc6e13229cfe94c17c636c8aafc3ed1ff59bfc0bf2284d3df23bcb5 DIST system.dynamic.runtime.4.3.0.nupkg 548103 BLAKE2B 42ac34ffe9b9b6fe69c984aa2b22f0715f7979685730de048490ca05feefd800349df39aeb2bc6b4c3608cd042abc018714fbdc49475a11b46077a2638824c8b SHA512 54446fee94f432cb8fd38ec10c929a87b307a76f152a2e9da11ba99c41ceb0f65913cf218944990f0e122d4f858945091e9806c84c0285ada1fcc939337d30ea DIST system.globalization.4.3.0.nupkg 589136 BLAKE2B 7b07f9b68f0744ddcfa3f0db6190c1a0696c2f89f8c5e92922ac20fc4155e22d97e7191bf7866c9b58acec056bff08531b0adacccaec7d4301e1d4b149fa511f SHA512 823d2ba308cb073b40a3146ecccd0d9fd7b1615ac3fbefb16f73d873e411fd81c3bdc87df206d3dc7e2f14c9cd53aafca684a3570c25471280aada8de805ece2 DIST system.globalization.calendars.4.3.0.nupkg 177689 BLAKE2B b70b5d9e545835e5a3fe4c703b2bd7c857968ba1fcae5299c9c41d550338914f2ad9d168948018fa7da7271d62a3b9d2ad1e696d334ee7d3fdaefd25395aa64c SHA512 e97190231402b393774b925efc02a2bfa41d1d117a17fb87da6e399f5234546962767e9cd8f39970efa408e4f453cd1e6751a2a61e366bc97406e1b0b8a4be86 @@ -286,4 +290,5 @@ DIST xunit.runner.visualstudio.2.8.2.nupkg 595969 BLAKE2B d1ef775c4234177fcca64d DIST zxing.net.0.16.9.nupkg 9657500 BLAKE2B a23c04e26bc09fccfec0a1e6f810ad2d3fae8e733fd5a3bd7ca17acc1010a7410657ae57576af6e66238999dcf945ca97f7e7b85abeee0b69b1b67692fa8332f SHA512 145f8e6bcf29b6c19ca336b4ec6063d0d35393f8fb613046cf40fcf68e9c1b7bb97341baece18ff3d37fc1cf31a227ff9da5266b994d6196dad592a43acfb567 EBUILD naps2-7.5.3.ebuild 12474 BLAKE2B 295bdafde3e3a000efde020ee9f412366da60415cda5fa705eac330c41fc10c911a3eb34b47541199cf60d999819015ccfdc93ce98aa2e7a302315fdd626085d SHA512 ebad301824c8f180ed97243e8e21a66aa81fe9ae062e7bcccead06417be6547c2f5e94dfeae66d85d7593555959ae52fb899b5e73b5e2de69eaaca56b54bd69d EBUILD naps2-8.1.1-r1.ebuild 9460 BLAKE2B e490bc1757c9c5d5c003fc6f0939938b07dc02c219ff24e09435c09016ad75c7ef2450baea73cad1d090da7b240c2c1737c31195531088324f1e86860609f16e SHA512 d9fa12b3c1431129d0b0c793c5b8ce57bf16350d3869e6b61e78814e073edb29330dbff6f4789e64d1906a09b1dfeb5d0415cd46c5b6b507596cc439f0db4550 +EBUILD naps2-8.1.4.ebuild 8153 BLAKE2B 08f26da7cd71713d707fd79ede52a7c05fc078c7141d7cadad0f6f27926f370ce40deb3f9e73c1416be529128df5ff2a171d1a7d56fee7c378d2b83dfc6cddef SHA512 2c7b565dc4d26c964a1511a90d3fe543da8bf320a4735148e6e7a48295ccc9384d8dfc091f5900a74783742e81eb44cee7f76d68a06c5f1872063098e59d7808 MISC metadata.xml 1133 BLAKE2B 580656b19030f09df98a6dc493ccf97807fee8301643dad864a00f7b889989f75df7465173ef77538d62d14c74048bd009a73032995a581e82b6989dd988949e SHA512 b1753810c95191f97a04857519cdccee7f18567b0db3c531c0e1c48f93a6103e257248467ebf6908ba311ffc97a8ff4da0a3fe1d98279087fbc974287a884bb4 diff --git a/app-office/naps2/naps2-8.1.4.ebuild b/app-office/naps2/naps2-8.1.4.ebuild new file mode 100644 index 000000000000..f268e5d49315 --- /dev/null +++ b/app-office/naps2/naps2-8.1.4.ebuild @@ -0,0 +1,279 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOTNET_PKG_COMPAT="9.0" + +# Generated via "gdmt restore", but the *.Mac projects had to be removed from +# the sln manually first. Later they are removed via "DOTNET_PKG_BAD_PROJECTS". +NUGETS=" +atksharp@3.24.24.95 +autofac@8.0.0 +ben.demystifier@0.4.1 +cairosharp@3.24.24.95 +commandlineparser@2.9.1 +embedio@3.5.2 +eto.forms@2.8.3 +eto.platform.gtk@2.8.3 +gdksharp@3.24.24.95 +giosharp@3.24.24.95 +glibsharp@3.24.24.95 +google.protobuf@3.25.1 +grpc.core.api@2.59.0 +grpc.tools@2.65.0 +grpcdotnetnamedpipes@3.0.0 +gtksharp@3.24.24.95 +isexternalinit@1.0.3 +libusbdotnet@3.0.102-alpha +makaretu.dns@2.0.1 +microsoft.bcl.asyncinterfaces@6.0.0 +microsoft.bcl.asyncinterfaces@8.0.0 +microsoft.extensions.configuration.abstractions@8.0.0 +microsoft.extensions.dependencyinjection.abstractions@8.0.0 +microsoft.extensions.dependencyinjection.abstractions@8.0.1 +microsoft.extensions.dependencyinjection@8.0.0 +microsoft.extensions.logging.abstractions@8.0.0 +microsoft.extensions.logging.abstractions@8.0.1 +microsoft.extensions.logging@8.0.0 +microsoft.extensions.options@8.0.0 +microsoft.extensions.primitives@8.0.0 +microsoft.netcore.platforms@1.1.0 +microsoft.netcore.platforms@1.1.1 +microsoft.netcore.targets@1.1.0 +microsoft.netcore.targets@1.1.3 +microsoft.netframework.referenceassemblies.net462@1.0.3 +microsoft.netframework.referenceassemblies@1.0.3 +microsoft.win32.primitives@4.3.0 +microsoft.win32.systemevents@8.0.0 +microsoft.win32.systemevents@9.0.3 +mimekitlite@4.7.1 +naps2.mdns@1.0.1 +naps2.ntwain@1.0.0 +naps2.pdfium.binaries@1.1.0 +naps2.pdfsharp@1.0.1 +naps2.tesseract.binaries@1.3.1 +naps2.wia@2.0.3 +netstandard.library@2.0.0 +netstandard.library@2.0.3 +newtonsoft.json@13.0.3 +nlog.extensions.logging@5.3.11 +nlog@5.3.2 +pangosharp@3.24.24.95 +polyfill@4.9.0 +runtime.any.system.collections@4.3.0 +runtime.any.system.diagnostics.tracing@4.3.0 +runtime.any.system.globalization.calendars@4.3.0 +runtime.any.system.globalization@4.3.0 +runtime.any.system.io@4.3.0 +runtime.any.system.reflection.primitives@4.3.0 +runtime.any.system.reflection@4.3.0 +runtime.any.system.resources.resourcemanager@4.3.0 +runtime.any.system.runtime.handles@4.3.0 +runtime.any.system.runtime.interopservices@4.3.0 +runtime.any.system.runtime@4.3.0 +runtime.any.system.text.encoding.extensions@4.3.0 +runtime.any.system.text.encoding@4.3.0 +runtime.any.system.threading.tasks@4.3.0 +runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.native.system.net.http@4.3.0 +runtime.native.system.security.cryptography.apple@4.3.0 +runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.native.system@4.3.0 +runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple@4.3.0 +runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.unix.microsoft.win32.primitives@4.3.0 +runtime.unix.system.diagnostics.debug@4.3.0 +runtime.unix.system.io.filesystem@4.3.0 +runtime.unix.system.net.primitives@4.3.0 +runtime.unix.system.private.uri@4.3.0 +runtime.unix.system.runtime.extensions@4.3.0 +sharpziplib@1.3.3 +sharpziplib@1.4.2 +simplebase@1.3.1 +sixlabors.fonts@1.0.0-beta17 +sixlabors.fonts@1.0.1 +sixlabors.imagesharp@3.1.7 +standardsocketshttphandler@2.2.0.8 +system.buffers@4.3.0 +system.buffers@4.4.0 +system.buffers@4.5.1 +system.collections.concurrent@4.3.0 +system.collections.immutable@8.0.0 +system.collections@4.3.0 +system.diagnostics.debug@4.3.0 +system.diagnostics.diagnosticsource@4.3.0 +system.diagnostics.diagnosticsource@7.0.2 +system.diagnostics.tracing@4.3.0 +system.drawing.common@8.0.7 +system.drawing.common@9.0.3 +system.globalization.calendars@4.3.0 +system.globalization.extensions@4.3.0 +system.globalization@4.3.0 +system.io.filesystem.primitives@4.3.0 +system.io.filesystem@4.3.0 +system.io@4.3.0 +system.linq.async@6.0.1 +system.linq@4.3.0 +system.memory@4.5.1 +system.memory@4.5.3 +system.memory@4.5.4 +system.memory@4.5.5 +system.net.http@4.3.4 +system.net.primitives@4.3.0 +system.numerics.vectors@4.4.0 +system.numerics.vectors@4.5.0 +system.private.uri@4.3.0 +system.private.uri@4.3.2 +system.reflection.metadata@5.0.0 +system.reflection.primitives@4.3.0 +system.reflection@4.3.0 +system.resources.extensions@8.0.0 +system.resources.resourcemanager@4.3.0 +system.runtime.compilerservices.unsafe@4.5.0 +system.runtime.compilerservices.unsafe@4.5.2 +system.runtime.compilerservices.unsafe@4.5.3 +system.runtime.compilerservices.unsafe@4.7.0 +system.runtime.compilerservices.unsafe@6.0.0 +system.runtime.extensions@4.3.0 +system.runtime.handles@4.3.0 +system.runtime.interopservices@4.3.0 +system.runtime.numerics@4.3.0 +system.runtime@4.3.0 +system.security.cryptography.algorithms@4.3.0 +system.security.cryptography.cng@4.3.0 +system.security.cryptography.csp@4.3.0 +system.security.cryptography.encoding@4.3.0 +system.security.cryptography.openssl@4.3.0 +system.security.cryptography.primitives@4.3.0 +system.security.cryptography.protecteddata@8.0.0 +system.security.cryptography.x509certificates@4.3.0 +system.text.encoding.extensions@4.3.0 +system.text.encoding@4.3.0 +system.threading.tasks.dataflow@8.0.1 +system.threading.tasks.extensions@4.5.2 +system.threading.tasks.extensions@4.5.4 +system.threading.tasks@4.3.0 +system.threading@4.3.0 +system.valuetuple@4.5.0 +unosquare.swan.lite@3.1.0 +zxing.net@0.16.9 +" + +inherit dotnet-pkg desktop xdg + +DESCRIPTION="Document scanning application with a focus on simplicity and ease of use" +HOMEPAGE="https://www.naps2.com/ + https://github.com/cyanfish/naps2/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/cyanfish/${PN}.git" +else + SRC_URI="https://github.com/cyanfish/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64" +fi + +SRC_URI+=" ${NUGET_URIS} " + +LICENSE="AGPL-3+ Apache-2.0 BSD BSD-2 GPL-2+ LGPL-3+ MIT" +SLOT="0" +RESTRICT="test" + +RDEPEND=" + app-text/tesseract + media-fonts/liberation-fonts + media-fonts/noto + media-fonts/noto-cjk + media-gfx/sane-backends + x11-libs/gtk+:3 +" + +DOTNET_PKG_PROJECTS=( NAPS2.App.Gtk ) +DOTNET_PKG_BAD_PROJECTS=( + # For MacOS. + NAPS2.App.Mac + NAPS2.Images.Mac + NAPS2.Lib.Mac + + # For Windows. + NAPS2.App.Console + NAPS2.App.WinForms + NAPS2.App.Worker + NAPS2.Images.Wpf + NAPS2.Lib.WinForms + + # Failing tests: + NAPS2.App.Tests + NAPS2.Escl.Tests + NAPS2.Lib.Tests + NAPS2.Sdk.ScannerTests + NAPS2.Sdk.Tests +) + +DOCS=( CHANGELOG.md README.md ) + +src_unpack() { + dotnet-pkg_src_unpack + + if [[ -n "${EGIT_REPO_URI}" ]] ; then + git-r3_src_unpack + fi +} + +src_prepare() { + dotnet-pkg_src_prepare + + # Having this package reference in a proj file will make dotnet copy + # the host's libhostpolicy.so and break the Gentoo's mechanism of handling + # dotnet executables. + sed -e "/.*NETCore.App.*/d" -i NAPS2.App.Gtk/NAPS2.App.Gtk.csproj || die +} + +src_install() { + dotnet-pkg_src_install + + local linux_dir="" + case "${ARCH}" in + arm* ) + linux_dir="/usr/share/${P}/_linuxarm" + ;; + * ) + linux_dir="/usr/share/${P}/_linux" + ;; + esac + + # Use system tesseract. + rm -f "${ED}/${linux_dir}/tesseract" || die + dosym -r /usr/bin/tesseract "${linux_dir}/tesseract" + + find "${ED}/${linux_dir}" -type f -exec chmod a+rx {} + || die + + newicon --size 128 ./NAPS2.Lib/Icons/scanner-128.png com.naps2.Naps2.png + domenu ./NAPS2.Setup/config/linux/com.naps2.Naps2.desktop + + insinto /usr/share/metainfo + doins ./NAPS2.Setup/config/linux/com.naps2.Naps2.metainfo.xml + + einstalldocs +} + +pkg_postinst() { + xdg_pkg_postinst +} + +pkg_postrm() { + xdg_pkg_postrm +} |