From 290844d409ace33d948956aec3c542ea6f4a7b13 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 1 Oct 2022 01:09:37 +0100 Subject: gentoo auto-resync : 01:10:2022 - 01:09:37 --- app-text/Manifest.gz | Bin 48554 -> 48560 bytes app-text/iso-codes/Manifest | 2 +- app-text/iso-codes/iso-codes-4.11.0.ebuild | 2 +- app-text/pep/Manifest | 3 +- app-text/pep/files/pep-2.8-Fix-Wimplicit-int.patch | 18 +++++ app-text/pep/pep-2.8-r2.ebuild | 9 ++- app-text/zotero-bin/Manifest | 10 +-- app-text/zotero-bin/zotero-bin-6.0.10.ebuild | 72 ----------------- app-text/zotero-bin/zotero-bin-6.0.13.ebuild | 87 --------------------- app-text/zotero-bin/zotero-bin-6.0.14.ebuild | 87 +++++++++++++++++++++ app-text/zotero-bin/zotero-bin-6.0.9.ebuild | 72 ----------------- 11 files changed, 117 insertions(+), 245 deletions(-) create mode 100644 app-text/pep/files/pep-2.8-Fix-Wimplicit-int.patch delete mode 100644 app-text/zotero-bin/zotero-bin-6.0.10.ebuild delete mode 100644 app-text/zotero-bin/zotero-bin-6.0.13.ebuild create mode 100644 app-text/zotero-bin/zotero-bin-6.0.14.ebuild delete mode 100644 app-text/zotero-bin/zotero-bin-6.0.9.ebuild (limited to 'app-text') diff --git a/app-text/Manifest.gz b/app-text/Manifest.gz index abfe32391146..3465816b5cda 100644 Binary files a/app-text/Manifest.gz and b/app-text/Manifest.gz differ diff --git a/app-text/iso-codes/Manifest b/app-text/iso-codes/Manifest index c4e3552299e7..54fcd87e4a3f 100644 --- a/app-text/iso-codes/Manifest +++ b/app-text/iso-codes/Manifest @@ -1,5 +1,5 @@ DIST iso-codes-v4.10.0.tar.gz 14624397 BLAKE2B a797db4cad381ae92bdeebf2b771059b5033a763dd1dc4ec85ac9eb81448482b20fc2c7293605816ad59ca6f5559221c72e22b6c0cd2c167af77b4f40dece4e3 SHA512 f77568fd803c32d8f28fc123c64c3122859f51c4c8f2f9cc4dc857e51d6fd6d1dfa42a4531f699b1f4b4b89adecb541a56e2cce0aac81ebf83f9c063dd79c86e DIST iso-codes-v4.11.0.tar.gz 14756251 BLAKE2B dd3bc5bae4def6338527a9c7c41f0ef9603eb2a2a7e4e2a95399bc4891a0d66fa323bb1f960263662cd6b4a42902defede64ad732f4a894d3073a7a68b5b9f80 SHA512 524be572c2505b0b2d55a7a0dd8d6bdff68edbc89c569652b11070cc6412881c98ea66a001193f1540153d44d6b41d921444a1d1a2bde6929bbe445eb369ea3e EBUILD iso-codes-4.10.0.ebuild 2644 BLAKE2B 553b3e2e087900b73225a27feeb22671704ee8c193982c74b3e81a1e14e3aad7753531a9f28cd7228cb122939b3ea5d12e6266099ccea85961a54e6ed883d731 SHA512 6abffc569b59f98750c220af0666c1a2b27cd533ce687f0205307c3a946cddb3d7fad8a1f9e3e4a1e2573d055b0800b2e8b0375e4f99a094aa82024a7b175705 -EBUILD iso-codes-4.11.0.ebuild 2645 BLAKE2B 82fdc4be858e7b9813cb8c9a388f9641a6b8a6f622cd83f5d6d6a2e0f04aa1dde8be0474ab91f62c9b0e007ff01efac17ef5c0bc091458e190ceb6498e1c8d39 SHA512 98cb64b0fa4c2c450085b1de93d5678110346271feff5b621e35de36460ca2c3d99a7348189191ec4a71fed4f97f4e0cf67ea3acd0efa6fd7b029a29a13af833 +EBUILD iso-codes-4.11.0.ebuild 2644 BLAKE2B c8b95785c6ae2a195514e3fe98dd1118da05d82b1a9293b53117cbc13206dca1e1809286dae55acfd7d901779c4b0ba9f1720f599eddff56e04fc8a03d7195be SHA512 047f704e4a96c72e9f8b96a65af3119806f4dba691f5b55902381d250b07b32a6d54c252b41f42677b9135fc36040563424ef288703bb32f573fc16a31d7647d MISC metadata.xml 481 BLAKE2B e19ee7de8b2de3aa09f97bb7eb4247ba2979614d768c0dd92a8cc131269e46a560baa1c0ea8fcceb49073efb1b890cd54d939c16ac7412413983a19083f05337 SHA512 f1e20f870fabd59d97ca612c3db3443a6a1544de3b03f12fe0c9c44a1740b06bf38c394b489738e60b22fa0797379d24c0ec8371efa067873910ba39fe30f194 diff --git a/app-text/iso-codes/iso-codes-4.11.0.ebuild b/app-text/iso-codes/iso-codes-4.11.0.ebuild index 51740681c572..9b99e0d3bc5b 100644 --- a/app-text/iso-codes/iso-codes-4.11.0.ebuild +++ b/app-text/iso-codes/iso-codes-4.11.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://salsa.debian.org/${PN}-team/${PN}/-/archive/v${PV}/${PN}-v${PV} LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" BDEPEND="${PYTHON_DEPS} sys-devel/gettext diff --git a/app-text/pep/Manifest b/app-text/pep/Manifest index f8e8e1a1f451..cc96a74be28a 100644 --- a/app-text/pep/Manifest +++ b/app-text/pep/Manifest @@ -1,5 +1,6 @@ +AUX pep-2.8-Fix-Wimplicit-int.patch 449 BLAKE2B cf6f3d26ecc607cbcfca9fa74ee87dd26d13fbc4a9aa1f53959e41cd23f3f04e88e453c8a2c52787a4a0ccfd3a271c2965b61515256dcf39e9a956e0cec4b4d7 SHA512 3e31533dd7fc723c7284158b3ba5574f97b7e6fbc23fe8d4381b526017c488be6752c02af6ca38b1091434d5529e807dd058f4b2f34d7df41181ae615dfd3abc AUX pep-2.8-gentoo.patch 521 BLAKE2B f5dd34e1e46c40986b74e0707ce88fc2d98b6ffb8361af44c50f025696ee28fd60883faf0016b92b7f9dfab0eae0870a62a6e611ec1f727578944fee0241eba6 SHA512 f25ee35964b158dfaa22721f28f01ebcd90bca963a8564926c6050014c4104f9aaea5cf6594028d7700d8a13c95c336dbd95ea05fff9ba05245937a725d09ccc AUX pep-2.8-include.patch 239 BLAKE2B fd411d4e3753314ae93634bd24093524f364b1603671149722d31fb42e70977e3c97a76a2902a891aebd4e0f69632c5cd6da7996732195cf4a2d5005f5996fd4 SHA512 980ac8e710b2c0213c9ab6cb298274ca3eef21fdf9cd980e62530b98e913784cb5346fc13613b9723eaa6352383d31079d74749e21ac322edde86863344eff80 DIST pep-2.8.zip 84665 BLAKE2B 529ce27e819e1f4aa683516b71e1b391169647dc477980db5e6f334559f265f6427d20043edf42047286c46724cba578a961a305bfecd24cd72692ebca061e6a SHA512 553efb3f6ca113d96313cfaa7efc7142e3f87d1eb746478aa5f112bb09d6e5d863cd8fa2a34d866777d6724b525d9b94a0978842afc6198fa70fe59c2a8d1169 -EBUILD pep-2.8-r2.ebuild 1029 BLAKE2B 269e6616d63e54a4123ee3fa50e4286eb620757b2c68ef9a4f477b11913d49f20aeb5d3b036688a7ce47614011e353557432d17a1b94ebc53d5893610d762807 SHA512 eaf5362b5d8c46dcc0fd122a4e8677a31a592f2054388f48f68d48d433bd1f9c60629bedbf4d292e47fa02e36cf3df7eb767a8bd4001e7d3a6f74e5a0c915565 +EBUILD pep-2.8-r2.ebuild 1075 BLAKE2B ca4ce980f3d94c098b54f45d75a48df6beb5c3d2135417a7967b4e41fa3938cb8860761f9d6035c07994139038f76033b8793dd1c0f400220d598f0e10ae1bc7 SHA512 8bcce6649517b522d95a502f6b0b0d01a193e3d275b7a88d2834ea0bdcd328c3758fe4638e418dcd7ef290460302246a5c2a17fec5d7340ad1820e7b99c2b8ea MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a diff --git a/app-text/pep/files/pep-2.8-Fix-Wimplicit-int.patch b/app-text/pep/files/pep-2.8-Fix-Wimplicit-int.patch new file mode 100644 index 000000000000..724873090c1c --- /dev/null +++ b/app-text/pep/files/pep-2.8-Fix-Wimplicit-int.patch @@ -0,0 +1,18 @@ +From: Sam James +Date: Fri, 30 Sep 2022 21:51:17 +0100 +Subject: [PATCH] Fix -Wimplicit-int + +Fixes build with Clang 16. + +Bug: https://bugs.gentoo.org/871081 +--- a/main.c ++++ b/main.c +@@ -410,7 +410,7 @@ static void dofile(int eflage) + + /*---( main )---------------------------------------------------------------*/ + +-main(int argc, char **argv) ++int main(int argc, char **argv) + { + struct stat statbuf; + unsigned int statype; diff --git a/app-text/pep/pep-2.8-r2.ebuild b/app-text/pep/pep-2.8-r2.ebuild index 288dacb2649b..6ef0fb385c28 100644 --- a/app-text/pep/pep-2.8-r2.ebuild +++ b/app-text/pep/pep-2.8-r2.ebuild @@ -1,13 +1,14 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit toolchain-funcs flag-o-matic DESCRIPTION="General purpose filter and file cleaning program" HOMEPAGE="https://hannemyr.com/enjoy/pep.html" SRC_URI="https://hannemyr.com/enjoy/${PN}${PV//./}.zip -> ${P}.zip" +S="${WORKDIR}" LICENSE="GPL-2" SLOT="0" @@ -15,17 +16,17 @@ KEYWORDS="amd64 ~mips ppc x86 ~x86-linux ~ppc-macos" BDEPEND="app-arch/unzip" -S=${WORKDIR} - # pep does not come with autoconf so here's a patch to configure # Makefile with the correct path PATCHES=( "${FILESDIR}"/${P}-gentoo.patch "${FILESDIR}"/${P}-include.patch + "${FILESDIR}"/${P}-Fix-Wimplicit-int.patch ) src_prepare() { default + # Darwin lacks stricmp and DIRCHAR if [[ ${CHOST} == *-darwin* ]] ; then sed -i -e '/^OBJS/s/^\(.*\)$/\1 bdmg.o/' Makefile || die diff --git a/app-text/zotero-bin/Manifest b/app-text/zotero-bin/Manifest index f964403a118c..4a49f9f918ad 100644 --- a/app-text/zotero-bin/Manifest +++ b/app-text/zotero-bin/Manifest @@ -1,8 +1,4 @@ -DIST zotero-bin-6.0.10.tar.bz2 68712203 BLAKE2B 45e4ff33de1cf84c9c6bf9177de4096eb52abfaeb3347153376598d1dd8ad0d90a11383a4a1c62f77e8234f167cf0950fbfa4f58b74d33f48ec073a22a8bc832 SHA512 06ac2a21f8ec7576c759b6375a66e7e9370ac81f6e8832b7ca4850311a2d7e208d17b5fe2cda372763f80756fbaccaffc75afc828014611723931ace2958f19a -DIST zotero-bin-6.0.13-amd64.tar.bz2 68738437 BLAKE2B d70dd479b8f9517f7eb0017c9be891df39e74b919719f4308e6fb8cea064920f41717377ab8072af3ed2b60c28deeb75fba918e7a2b03f7d40eef08c15c38446 SHA512 150ad3f213ad7289e09f79422f4840a4a288d80bfe661a9c06d330198c52018efe01bc68629485fd822647902df59ec5862bee5df13d1de106a2ccd84b647944 -DIST zotero-bin-6.0.13-x86.tar.bz2 70376898 BLAKE2B dc16790081cdf9fbb35febd537b180192f43a28dabd8ee012ef721ebeabd516f422bd04e2bb8820571dabfd26a5039d72822e07b9df7f457be0834762ec75eb4 SHA512 4bf71e788cb97497e4acb18150dc7865fe4d2e90a2d658e660c54b2312ec3939365226f30bc65f736c0b38316a238b97ddde0555ccf12b95c449d396d7872c1d -DIST zotero-bin-6.0.9.tar.bz2 68609695 BLAKE2B a921b6558d53b162ef2d3ef23db73dfd20f9f87f2fa533b28d95fe33f5e20c1c9d341b72d7a51f4780f3081f6f925991b40193ae5287565f3de0a4d937ec9333 SHA512 4610d0e7ae8fe228ffe6ceff9cd9724bc47b8fa7b6b0d0cdac3e539b67af037aeaaeb5d7f0935306f2e6bb719ca16bcad266a576e6389674f6717b15d610643c -EBUILD zotero-bin-6.0.10.ebuild 1771 BLAKE2B 259f08a7adcfa1545bb1426def80c19ab0d6250cf4e3bcba43a703e8bf72a15fbebbc82316bee18f193d6b4649e429118c51f86f39e4f98bd4334cfef2e6f6bb SHA512 a7b57e4234c04ec3f365296436f4eb1b348488f96e65bd460533139c5c13463f2a008bfaa6ecbefced8ba408e00d3648c39914433d884c1c861d859c209ee163 -EBUILD zotero-bin-6.0.13.ebuild 2105 BLAKE2B 3eb875757ddbf49859ea57e0f6df765f21456b591dac1225c6b6bf1070d79dda3a9e23bde8ba2dbbfdffdc320531f55a8f7fa2ef2fcdc34263b993e426a90d39 SHA512 e6fbd89999df5e3c31503f822e61fd6641864fbefba2068000b6a52a8bf8565d82593edb61bcec4267f55af51a344c692edf37f94700cfe79752fbe1a293a0d8 -EBUILD zotero-bin-6.0.9.ebuild 1771 BLAKE2B 259f08a7adcfa1545bb1426def80c19ab0d6250cf4e3bcba43a703e8bf72a15fbebbc82316bee18f193d6b4649e429118c51f86f39e4f98bd4334cfef2e6f6bb SHA512 a7b57e4234c04ec3f365296436f4eb1b348488f96e65bd460533139c5c13463f2a008bfaa6ecbefced8ba408e00d3648c39914433d884c1c861d859c209ee163 +DIST zotero-bin-6.0.14-amd64.tar.bz2 69149210 BLAKE2B 8979e00f2bb80c97aa65fde5b247198628544202682d1ed754135279c8001658e6aea68bf55ed3051f0e6dd4a27c60f1fe633a4310dc9d53de597048cd937ac3 SHA512 6d3604ed3eb7821316ea378b92bf3bdc3e89e077fa1ccfef7e2baa4d26455f8b04d68aee3036711bf85ef97a79e6f97cc37cb9e1156320b11c6c8fe9156f5526 +DIST zotero-bin-6.0.14-x86.tar.bz2 70825827 BLAKE2B e4f2ed26997feac6a3214dd06fc91f5555afd583ce835a4f34bb84c659a38ed2fbdc59692a5fdf2423c7d480d0c7e6b0dbf361a462661bd9fb05955532e15a15 SHA512 3c26ce57570946c2a62eb3631fa95c0130372144ab3d2a5ba795290031f247939d25c541c6f7e9a2f31a3478e09e2196771299bce1683232a476e31836c6bb7a +EBUILD zotero-bin-6.0.14.ebuild 2105 BLAKE2B 3eb875757ddbf49859ea57e0f6df765f21456b591dac1225c6b6bf1070d79dda3a9e23bde8ba2dbbfdffdc320531f55a8f7fa2ef2fcdc34263b993e426a90d39 SHA512 e6fbd89999df5e3c31503f822e61fd6641864fbefba2068000b6a52a8bf8565d82593edb61bcec4267f55af51a344c692edf37f94700cfe79752fbe1a293a0d8 MISC metadata.xml 398 BLAKE2B ef8965041b1ddb5dafacd8d3b913c2c272b50460607018468446993062620044b77ee4033d9811979768aafba6def9b3e06775d48f8f194f7ca95ec6ad048c5c SHA512 5a67ca8cbadcfa83e38f983b3e448073970e71f2d2a3c0756d8cbbe54050382095df564bdd5e52b0976a9588f882d814a71179957e09e429a2881a7f48041e53 diff --git a/app-text/zotero-bin/zotero-bin-6.0.10.ebuild b/app-text/zotero-bin/zotero-bin-6.0.10.ebuild deleted file mode 100644 index b9f2fd5004e0..000000000000 --- a/app-text/zotero-bin/zotero-bin-6.0.10.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop xdg - -DESCRIPTION="Helps you collect, organize, cite, and share your research sources" -HOMEPAGE="https://www.zotero.org" -SRC_URI="https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64&version=${PV} -> ${P}.tar.bz2" -S="${WORKDIR}/Zotero_linux-x86_64" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="-* ~amd64" - -RDEPEND=" - dev-libs/atk - dev-libs/dbus-glib - dev-libs/glib - dev-libs/nspr - dev-libs/nss - media-libs/fontconfig - media-libs/freetype - sys-apps/dbus - sys-libs/glibc - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/gtk+:2 - x11-libs/gtk+:3 - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libXcomposite - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - x11-libs/libXrender - x11-libs/libXt - x11-libs/pango -" - -QA_PREBUILT="opt/zotero/*" - -src_prepare() { - # disable auto-update - sed -i -e 's/\(pref("app.update.enabled"\).*/\1, false);/' defaults/preferences/prefs.js || die - - # disable default oo installation questions - manual installation is still possible - sed -i -e 's/\(pref("extensions.zoteroOpenOfficeIntegration.skipInstallation"\).*/\1, true);/' \ - extensions/zoteroOpenOfficeIntegration@zotero.org/defaults/preferences/zoteroOpenOfficeIntegration.js || die - - # fix desktop-file - sed -i -e 's#^Exec=.*#Exec=zotero#' zotero.desktop || die - sed -i -e 's#Icon=zotero.*#Icon=zotero#' zotero.desktop || die - - default -} - -src_install() { - dodir opt/zotero - cp -a "${S}"/* "${ED}/opt/zotero" || die - - dosym ../../opt/zotero/zotero usr/bin/zotero - - domenu zotero.desktop - - for size in 16 32 48 256; do - newicon -s ${size} chrome/icons/default/default${size}.png zotero.png - done -} diff --git a/app-text/zotero-bin/zotero-bin-6.0.13.ebuild b/app-text/zotero-bin/zotero-bin-6.0.13.ebuild deleted file mode 100644 index a31cabce92e9..000000000000 --- a/app-text/zotero-bin/zotero-bin-6.0.13.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop xdg - -DESCRIPTION="Helps you collect, organize, cite, and share your research sources" -HOMEPAGE="https://www.zotero.org" -SRC_URI=" - amd64? ( https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64&version=${PV} -> ${P}-amd64.tar.bz2 ) - x86? ( https://www.zotero.org/download/client/dl?channel=release&platform=linux-i686&version=${PV} -> ${P}-x86.tar.bz2 ) -" -S="${WORKDIR}" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" - -RDEPEND=" - dev-libs/atk - dev-libs/dbus-glib - dev-libs/glib - dev-libs/nspr - dev-libs/nss - media-libs/fontconfig - media-libs/freetype - sys-apps/dbus - sys-libs/glibc - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/gtk+:2 - x11-libs/gtk+:3 - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libXcomposite - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - x11-libs/libXrender - x11-libs/libXt - x11-libs/pango -" - -QA_PREBUILT="opt/zotero/*" - -src_prepare() { - if use amd64; then - cd Zotero_linux-x86_64 || die - elif use x86; then - cd Zotero_linux-i686 || die - fi - - # disable auto-update - sed -i -e 's/\(pref("app.update.enabled"\).*/\1, false);/' defaults/preferences/prefs.js || die - - # disable default oo installation questions - manual installation is still possible - sed -i -e 's/\(pref("extensions.zoteroOpenOfficeIntegration.skipInstallation"\).*/\1, true);/' \ - extensions/zoteroOpenOfficeIntegration@zotero.org/defaults/preferences/zoteroOpenOfficeIntegration.js || die - - # fix desktop-file - sed -i -e 's#^Exec=.*#Exec=zotero#' zotero.desktop || die - sed -i -e 's#Icon=zotero.*#Icon=zotero#' zotero.desktop || die - - default -} - -src_install() { - if use amd64; then - cd Zotero_linux-x86_64 || die - elif use x86; then - cd Zotero_linux-i686 || die - fi - - dodir opt/zotero - cp -a * "${ED}/opt/zotero" || die - - dosym ../../opt/zotero/zotero usr/bin/zotero - - domenu zotero.desktop - - for size in 16 32 48 256; do - newicon -s ${size} chrome/icons/default/default${size}.png zotero.png - done -} diff --git a/app-text/zotero-bin/zotero-bin-6.0.14.ebuild b/app-text/zotero-bin/zotero-bin-6.0.14.ebuild new file mode 100644 index 000000000000..a31cabce92e9 --- /dev/null +++ b/app-text/zotero-bin/zotero-bin-6.0.14.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop xdg + +DESCRIPTION="Helps you collect, organize, cite, and share your research sources" +HOMEPAGE="https://www.zotero.org" +SRC_URI=" + amd64? ( https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64&version=${PV} -> ${P}-amd64.tar.bz2 ) + x86? ( https://www.zotero.org/download/client/dl?channel=release&platform=linux-i686&version=${PV} -> ${P}-x86.tar.bz2 ) +" +S="${WORKDIR}" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +RDEPEND=" + dev-libs/atk + dev-libs/dbus-glib + dev-libs/glib + dev-libs/nspr + dev-libs/nss + media-libs/fontconfig + media-libs/freetype + sys-apps/dbus + sys-libs/glibc + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrender + x11-libs/libXt + x11-libs/pango +" + +QA_PREBUILT="opt/zotero/*" + +src_prepare() { + if use amd64; then + cd Zotero_linux-x86_64 || die + elif use x86; then + cd Zotero_linux-i686 || die + fi + + # disable auto-update + sed -i -e 's/\(pref("app.update.enabled"\).*/\1, false);/' defaults/preferences/prefs.js || die + + # disable default oo installation questions - manual installation is still possible + sed -i -e 's/\(pref("extensions.zoteroOpenOfficeIntegration.skipInstallation"\).*/\1, true);/' \ + extensions/zoteroOpenOfficeIntegration@zotero.org/defaults/preferences/zoteroOpenOfficeIntegration.js || die + + # fix desktop-file + sed -i -e 's#^Exec=.*#Exec=zotero#' zotero.desktop || die + sed -i -e 's#Icon=zotero.*#Icon=zotero#' zotero.desktop || die + + default +} + +src_install() { + if use amd64; then + cd Zotero_linux-x86_64 || die + elif use x86; then + cd Zotero_linux-i686 || die + fi + + dodir opt/zotero + cp -a * "${ED}/opt/zotero" || die + + dosym ../../opt/zotero/zotero usr/bin/zotero + + domenu zotero.desktop + + for size in 16 32 48 256; do + newicon -s ${size} chrome/icons/default/default${size}.png zotero.png + done +} diff --git a/app-text/zotero-bin/zotero-bin-6.0.9.ebuild b/app-text/zotero-bin/zotero-bin-6.0.9.ebuild deleted file mode 100644 index b9f2fd5004e0..000000000000 --- a/app-text/zotero-bin/zotero-bin-6.0.9.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop xdg - -DESCRIPTION="Helps you collect, organize, cite, and share your research sources" -HOMEPAGE="https://www.zotero.org" -SRC_URI="https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64&version=${PV} -> ${P}.tar.bz2" -S="${WORKDIR}/Zotero_linux-x86_64" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="-* ~amd64" - -RDEPEND=" - dev-libs/atk - dev-libs/dbus-glib - dev-libs/glib - dev-libs/nspr - dev-libs/nss - media-libs/fontconfig - media-libs/freetype - sys-apps/dbus - sys-libs/glibc - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/gtk+:2 - x11-libs/gtk+:3 - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libXcomposite - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - x11-libs/libXrender - x11-libs/libXt - x11-libs/pango -" - -QA_PREBUILT="opt/zotero/*" - -src_prepare() { - # disable auto-update - sed -i -e 's/\(pref("app.update.enabled"\).*/\1, false);/' defaults/preferences/prefs.js || die - - # disable default oo installation questions - manual installation is still possible - sed -i -e 's/\(pref("extensions.zoteroOpenOfficeIntegration.skipInstallation"\).*/\1, true);/' \ - extensions/zoteroOpenOfficeIntegration@zotero.org/defaults/preferences/zoteroOpenOfficeIntegration.js || die - - # fix desktop-file - sed -i -e 's#^Exec=.*#Exec=zotero#' zotero.desktop || die - sed -i -e 's#Icon=zotero.*#Icon=zotero#' zotero.desktop || die - - default -} - -src_install() { - dodir opt/zotero - cp -a "${S}"/* "${ED}/opt/zotero" || die - - dosym ../../opt/zotero/zotero usr/bin/zotero - - domenu zotero.desktop - - for size in 16 32 48 256; do - newicon -s ${size} chrome/icons/default/default${size}.png zotero.png - done -} -- cgit v1.2.3