From 799096ee3e63d7892ad431fbeccda01110cbb243 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Fri, 27 Sep 2024 08:46:43 +0300 Subject: [PATCH 01/36] net-print/cups: Stabilize 2.4.10-r1 arm64, #940015 Signed-off-by: Arthur Zamarin --- net-print/cups/cups-2.4.10-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-print/cups/cups-2.4.10-r1.ebuild b/net-print/cups/cups-2.4.10-r1.ebuild index aaee6a4e6a722..0c536334a8abe 100644 --- a/net-print/cups/cups-2.4.10-r1.ebuild +++ b/net-print/cups/cups-2.4.10-r1.ebuild @@ -18,7 +18,7 @@ else SRC_URI="https://github.com/OpenPrinting/cups/releases/download/v${MY_PV}/cups-${MY_PV}-source.tar.gz" SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-patches.tar.xz" if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then - KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86" + KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86" fi fi From 4e69927258b20ab6b8b52b72b12db2f21e12d02d Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Fri, 27 Sep 2024 08:46:44 +0300 Subject: [PATCH 02/36] net-print/cups-browsed: Stabilize 2.0.1 arm64, #940015 Signed-off-by: Arthur Zamarin --- net-print/cups-browsed/cups-browsed-2.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-print/cups-browsed/cups-browsed-2.0.1.ebuild b/net-print/cups-browsed/cups-browsed-2.0.1.ebuild index b6bafb7d62e3d..7f50d55fe7f8b 100644 --- a/net-print/cups-browsed/cups-browsed-2.0.1.ebuild +++ b/net-print/cups-browsed/cups-browsed-2.0.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/OpenPrinting/cups-browsed/releases/download/${PV}/${ LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86" IUSE="ldap test zeroconf" RDEPEND=" From 24f82db70956c10910d39e5c76c204292ef687e9 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Fri, 27 Sep 2024 08:46:44 +0300 Subject: [PATCH 03/36] net-print/cups-filters: Stabilize 2.0.1 arm64, #940015 Signed-off-by: Arthur Zamarin --- net-print/cups-filters/cups-filters-2.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-print/cups-filters/cups-filters-2.0.1.ebuild b/net-print/cups-filters/cups-filters-2.0.1.ebuild index ead847f704446..edbc48565bc68 100644 --- a/net-print/cups-filters/cups-filters-2.0.1.ebuild +++ b/net-print/cups-filters/cups-filters-2.0.1.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/OpenPrinting/cups-filters/releases/download/${PV}/${ LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86" IUSE="+foomatic" RDEPEND=" From ce4b576f3083a932d27f615522ade516a80847d2 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Fri, 27 Sep 2024 08:46:45 +0300 Subject: [PATCH 04/36] net-print/libppd: Stabilize 2.1_beta1-r1 arm64, #940015 Signed-off-by: Arthur Zamarin --- net-print/libppd/libppd-2.1_beta1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-print/libppd/libppd-2.1_beta1-r1.ebuild b/net-print/libppd/libppd-2.1_beta1-r1.ebuild index 84dea7f197a5e..b747e2a9db47d 100644 --- a/net-print/libppd/libppd-2.1_beta1-r1.ebuild +++ b/net-print/libppd/libppd-2.1_beta1-r1.ebuild @@ -10,7 +10,7 @@ S="${WORKDIR}"/${P/_beta/b} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86" IUSE="+postscript +poppler" # pdftops has various possible implementations, but the default From c8ea0ef66d91ef19355e6ac2eae5d5894a1aeda8 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Fri, 27 Sep 2024 08:46:45 +0300 Subject: [PATCH 05/36] net-print/libcupsfilters: Stabilize 2.1_beta1 arm64, #940015 Signed-off-by: Arthur Zamarin --- net-print/libcupsfilters/libcupsfilters-2.1_beta1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-print/libcupsfilters/libcupsfilters-2.1_beta1.ebuild b/net-print/libcupsfilters/libcupsfilters-2.1_beta1.ebuild index f2af577e08f1d..561be5c1a8026 100644 --- a/net-print/libcupsfilters/libcupsfilters-2.1_beta1.ebuild +++ b/net-print/libcupsfilters/libcupsfilters-2.1_beta1.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}"/${P/_beta/b} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86" IUSE="dbus exif jpeg pdf +poppler +postscript png test tiff" RESTRICT="!test? ( test )" From 507412d6cd7d4cbac93af74e198cb65150646fe9 Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Fri, 27 Sep 2024 05:47:07 +0000 Subject: [PATCH 06/36] dev-db/postgresql: Fix USE=-server Closes: https://bugs.gentoo.org/940319 Signed-off-by: Patrick Lauer --- .../files/postgresql-17.0-no-server.patch | 146 ++++++++++++++++++ ...-17.0.ebuild => postgresql-17.0-r1.ebuild} | 2 +- 2 files changed, 147 insertions(+), 1 deletion(-) create mode 100644 dev-db/postgresql/files/postgresql-17.0-no-server.patch rename dev-db/postgresql/{postgresql-17.0.ebuild => postgresql-17.0-r1.ebuild} (99%) diff --git a/dev-db/postgresql/files/postgresql-17.0-no-server.patch b/dev-db/postgresql/files/postgresql-17.0-no-server.patch new file mode 100644 index 0000000000000..a32ca2dbe4482 --- /dev/null +++ b/dev-db/postgresql/files/postgresql-17.0-no-server.patch @@ -0,0 +1,146 @@ +--- a/contrib/Makefile ++++ b/contrib/Makefile +@@ -5,57 +5,9 @@ + include $(top_builddir)/src/Makefile.global + + SUBDIRS = \ +- amcheck \ +- auth_delay \ +- auto_explain \ +- basic_archive \ +- basebackup_to_shell \ +- bloom \ +- btree_gin \ +- btree_gist \ +- citext \ +- cube \ +- dblink \ +- dict_int \ +- dict_xsyn \ +- earthdistance \ +- file_fdw \ +- fuzzystrmatch \ +- hstore \ +- intagg \ +- intarray \ +- isn \ +- lo \ +- ltree \ + oid2name \ +- pageinspect \ +- passwordcheck \ +- pg_buffercache \ +- pg_freespacemap \ +- pg_prewarm \ +- pg_stat_statements \ +- pg_surgery \ +- pg_trgm \ +- pgrowlocks \ +- pgstattuple \ +- pg_visibility \ +- pg_walinspect \ +- postgres_fdw \ +- seg \ +- spi \ +- tablefunc \ +- tcn \ +- test_decoding \ +- tsm_system_rows \ +- tsm_system_time \ +- unaccent \ + vacuumlo + +-ifeq ($(with_ssl),openssl) +-SUBDIRS += pgcrypto sslinfo +-else +-ALWAYS_SUBDIRS += pgcrypto sslinfo +-endif + + ifneq ($(with_uuid),no) + SUBDIRS += uuid-ossp +--- a/src/backend/Makefile ++++ b/src/backend/Makefile +@@ -56,7 +56,7 @@ + + ########################################################################## + +-all: submake-libpgport submake-catalog-headers submake-utils-headers postgres $(POSTGRES_IMP) ++all: generated-headers + + ifneq ($(PORTNAME), cygwin) + ifneq ($(PORTNAME), win32) +@@ -194,23 +194,7 @@ + + ########################################################################## + +-install: all installdirs install-bin +-ifeq ($(PORTNAME), cygwin) +-ifeq ($(MAKE_DLL), true) +- $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a' +-endif +-endif +-ifeq ($(PORTNAME), win32) +-ifeq ($(MAKE_DLL), true) +- $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a' +-endif +-endif +- $(MAKE) -C catalog install-data +- $(MAKE) -C tsearch install-data +- $(MAKE) -C utils install-data +- $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample '$(DESTDIR)$(datadir)/pg_hba.conf.sample' +- $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample '$(DESTDIR)$(datadir)/pg_ident.conf.sample' +- $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample '$(DESTDIR)$(datadir)/postgresql.conf.sample' ++install: + + ifeq ($(with_llvm), yes) + install-bin: install-postgres-bitcode +--- a/src/bin/Makefile ++++ b/src/bin/Makefile +@@ -14,24 +14,8 @@ + include $(top_builddir)/src/Makefile.global + + SUBDIRS = \ +- initdb \ +- pg_amcheck \ +- pg_archivecleanup \ +- pg_basebackup \ +- pg_checksums \ +- pg_combinebackup \ + pg_config \ +- pg_controldata \ +- pg_ctl \ + pg_dump \ +- pg_resetwal \ +- pg_rewind \ +- pg_test_fsync \ +- pg_test_timing \ +- pg_upgrade \ +- pg_verifybackup \ +- pg_waldump \ +- pg_walsummary \ + pgbench \ + psql \ + scripts +--- a/src/Makefile ++++ b/src/Makefile +@@ -17,19 +17,11 @@ + port \ + timezone \ + backend \ +- backend/utils/mb/conversion_procs \ +- backend/snowball \ + include \ + interfaces \ +- backend/replication/libpqwalreceiver \ +- backend/replication/pgoutput \ + fe_utils \ + bin \ +- pl \ +- makefiles \ +- test/regress \ +- test/isolation \ +- test/perl ++ makefiles + + ifeq ($(with_llvm), yes) + SUBDIRS += backend/jit/llvm diff --git a/dev-db/postgresql/postgresql-17.0.ebuild b/dev-db/postgresql/postgresql-17.0-r1.ebuild similarity index 99% rename from dev-db/postgresql/postgresql-17.0.ebuild rename to dev-db/postgresql/postgresql-17.0-r1.ebuild index 733d45e16d002..1ad58bcafb276 100644 --- a/dev-db/postgresql/postgresql-17.0.ebuild +++ b/dev-db/postgresql/postgresql-17.0-r1.ebuild @@ -116,7 +116,7 @@ src_prepare() { # hardened and non-hardened environments. (Bug #528786) sed 's/@install_bin@/install -c/' -i src/Makefile.global.in || die - use server || eapply "${FILESDIR}/${PN}-15_beta3-no-server.patch" + use server || eapply "${FILESDIR}/${PN}-17.0-no-server.patch" if use pam ; then sed "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \ From 382d508259d8d87de085f1fe242b3ec7b7b680e2 Mon Sep 17 00:00:00 2001 From: Henning Schild Date: Thu, 26 Sep 2024 13:56:00 +0200 Subject: [PATCH 07/36] sci-geosciences/josm-bin: switch to upstream desktop file and add mime The desktop entry from upstream is much more elaborate and offers more features to users. Use it and the mime-type definitions but keep changing the name from "josm" to "josm-bin" where needed. Closes: https://bugs.gentoo.org/940259 Signed-off-by: Henning Schild Closes: https://github.com/gentoo/gentoo/pull/38778 Signed-off-by: Eli Schwartz --- sci-geosciences/josm-bin/Manifest | 2 + .../josm-bin/josm-bin-19207-r1.ebuild | 57 +++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 sci-geosciences/josm-bin/josm-bin-19207-r1.ebuild diff --git a/sci-geosciences/josm-bin/Manifest b/sci-geosciences/josm-bin/Manifest index 1883e5e4ae666..8fff06e9ecf14 100644 --- a/sci-geosciences/josm-bin/Manifest +++ b/sci-geosciences/josm-bin/Manifest @@ -1,2 +1,4 @@ +DIST josm-bin-19207.desktop 638 BLAKE2B d3a5e0204d0188e72eed65e71edd079b5aa025b82f13c515605f7d5bb9f96fc93e4a24c9eea76c6c4027f54f1c449cda811f5c59e0f2ab54975ab3b1bf221ee7 SHA512 328bc131d5985cd164e3ffa27f61241098329ac01954e1cdde1dcab92261eb3e84d69c9b158f2bb944b02f373c3868bea1850ae335f9dabe3c2314d16d651394 +DIST josm-bin-19207.mime.xml 831 BLAKE2B cc37da2b38a38481e00df0b72dcb9699a4dddb6777a4e71d83bb26f3d48a62e6b4abcc5b6fe8b45624eb3ecfeb231feefa714655e5911eeba203d103a7ab17d6 SHA512 7828c6f281f2701ce0f9e5cfbb57e75ecffab7936ce508c97a796ca820d237c7599bea9fc784825a8006e8fc07ebdd7b091d4d20d6767f9de6ca4e1cf42b58b0 DIST josm-snapshot-19160.jar 18236258 BLAKE2B c0650ed766476aca4ff05fc07e1630e8a524f01a3c154233e4fba76db2998a7b18b18618815c6c44c091409f3dd922cbda61ea801974e0103adbfcb7e11bf378 SHA512 a8ba54e729b3699b0a380087ba1986cfd4061380c6fe2554e950751cf4a41803c1c92b480b93b0e17a41aedf789047f67494ef0a2495b9f360963a4f9508137a DIST josm-snapshot-19207.jar 18348268 BLAKE2B 35d8a35b6f2ba4553784d44c6928b2d179d82fae65a98c71c859fd7bb8ce5a26510cfa784318b83f21c38e944685fec2e83e3138f5c7a6cf47229e505ab80ad3 SHA512 7de9b9f4a70cd3b4788254d4b1ab979df311362671d47ec53d8abf5324b32ecb8577ffc1b7619d51df8f8e901cbd4710bfa25e01cba3d8495fd741e53a7966af diff --git a/sci-geosciences/josm-bin/josm-bin-19207-r1.ebuild b/sci-geosciences/josm-bin/josm-bin-19207-r1.ebuild new file mode 100644 index 0000000000000..e7e8259415b61 --- /dev/null +++ b/sci-geosciences/josm-bin/josm-bin-19207-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop java-utils-2 xdg + +DESCRIPTION="Java-based editor for the OpenStreetMap project" +HOMEPAGE="https://josm.openstreetmap.de/" +# PV should be stable here https://josm.openstreetmap.de/wiki/StartupPage +SRC_URI=" + https://josm.openstreetmap.de/download/josm-snapshot-${PV}.jar + https://josm.openstreetmap.de/export/${PV}/josm/trunk/native/linux/tested/usr/share/applications/org.openstreetmap.josm.desktop -> ${P}.desktop + https://josm.openstreetmap.de/export/${PV}/josm/trunk/native/linux/tested/usr/share/mime/packages/josm.xml \ + -> ${P}.mime.xml +" +S="${WORKDIR}" + +LICENSE="Apache-2.0 GPL-2+ GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=virtual/jre-1.8" +BDEPEND="app-arch/unzip" + +src_unpack() { + default + + cp "${DISTDIR}/${P}.desktop" "org.openstreetmap.${PN}.desktop" || die +} + +src_prepare() { + default + + sed -i -e 's/^Exec=josm/Exec=josm-bin/' "org.openstreetmap.${PN}.desktop" || die + sed -i -e 's/^Icon=org.openstreetmap.josm/Icon=org.openstreetmap.josm-bin/' "org.openstreetmap.${PN}.desktop" || die +} + +src_install() { + java-pkg_newjar "${DISTDIR}/josm-snapshot-${PV}.jar" ${PN}.jar + java-pkg_dolauncher ${PN} --jar ${PN}.jar \ + --java_args "\ + --add-exports=java.base/sun.security.action=ALL-UNNAMED \ + --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED \ + --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED" + + local icon_size + for icon_size in 16 32 48; do + newicon -s ${icon_size} -t hicolor \ + images/logo_${icon_size}x${icon_size}x32.png "org.openstreetmap.${PN}.png" + newicon -s ${icon_size} -t locolor \ + images/logo_${icon_size}x${icon_size}x8.png "org.openstreetmap.${PN}.png" + done + domenu "${WORKDIR}/org.openstreetmap.${PN}.desktop" + insinto /usr/share/mime/packages + newins "${DISTDIR}/${P}.mime.xml" "${PN}.xml" +} From 887b4f9a9304757a9e8d4653433884746976998c Mon Sep 17 00:00:00 2001 From: "Gavin D. Howard" Date: Mon, 23 Sep 2024 22:04:43 -0600 Subject: [PATCH 08/36] sci-calculators/bc-gh: add 7.0.3 This fixes a compiler warning with Clang and musl, so it is possible that some Gentoo configs need it. Signed-off-by: Gavin D. Howard Signed-off-by: Eli Schwartz --- sci-calculators/bc-gh/Manifest | 1 + sci-calculators/bc-gh/bc-gh-7.0.3.ebuild | 77 ++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 sci-calculators/bc-gh/bc-gh-7.0.3.ebuild diff --git a/sci-calculators/bc-gh/Manifest b/sci-calculators/bc-gh/Manifest index f4ff0def93f35..a83b1811a427b 100644 --- a/sci-calculators/bc-gh/Manifest +++ b/sci-calculators/bc-gh/Manifest @@ -3,3 +3,4 @@ DIST bc-6.7.5.tar.xz 468572 BLAKE2B 3942cfbbc2b8a307bc24b9f7c3e037bce374bd17332b DIST bc-7.0.0.tar.xz 474468 BLAKE2B 2905f96639558a7f1203a0f63207f26b5e4cb75a91c4b848a4ef7f0313dfaa698499f948eb7ecdbc5eb3fcd0bd3ecf8c2f005256e48a58615fa8b69ec19932ae SHA512 ef89525eea8773dddb7efd3dd33f589de287ac807b772480e884bd666f29b2b0b362c999029cc6d82733f830195ca3f6fd867f15190fbcbf807ddbc4b24abb65 DIST bc-7.0.1.tar.xz 474272 BLAKE2B ed83854828a917c5e5cdfcb46d2b0a2769f937c45cb454533ad42c3037331fcf4a668acaffb11acde733f587270d121ed3f6677f50b751de25835bd9b267f63a SHA512 376ef1b4a72a64ee114ee5a835ea36ad4f26fdd06662df2db387e645c7ab86b49b019461928e891455daeae9afddb496959c4b2aebeafb1b37051c379c62a888 DIST bc-7.0.2.tar.xz 475084 BLAKE2B f4d17f9669eb941e0314a174b17dfde46040eafc31fc0f45930a78920a92aee306031e57ff310e2485a1d77074760c992587ed0251a20e084a1e4df14060a46a SHA512 deac1ffa11562b71ec9c238d375e16d46b63b7330092ef43e38f087fc5f9c813adb6fa352aab45cb96a17206de3d2d2e62825aef19ff9aed72ea63fc3b9ea603 +DIST bc-7.0.3.tar.xz 474800 BLAKE2B 928d5d37b987887d0a300b2b03aadaa6d4378dddfcda0375274873df6ae28ef3d8c2ffc7c821911785c31bd1fe1969dbdfba36af5bf402025597f6c52da7ec2e SHA512 40bd059eda5df30fe41a4683a51727af7c9d0df48eb795c3c0afff0740cb4b4e719a6135203ebacb27617d9721a78c24f3ec3107c676aafa2808f73313084cd7 diff --git a/sci-calculators/bc-gh/bc-gh-7.0.3.ebuild b/sci-calculators/bc-gh/bc-gh-7.0.3.ebuild new file mode 100644 index 0000000000000..9617ad8ff871d --- /dev/null +++ b/sci-calculators/bc-gh/bc-gh-7.0.3.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo + +MY_P="bc-${PV}" +DESCRIPTION="Implementation of POSIX bc with GNU extensions" +HOMEPAGE=" + https://git.gavinhoward.com/gavin/bc/ + https://github.com/gavinhoward/bc/ +" +SRC_URI=" + https://github.com/gavinhoward/bc/releases/download/${PV}/${MY_P}.tar.xz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="libedit readline" + +DEPEND=" + !readline? ( + libedit? ( dev-libs/libedit:= ) + ) + readline? ( + sys-libs/readline:= + sys-libs/ncurses:= + ) +" +RDEPEND=" + ${DEPEND} +" + +src_configure() { + local myconf=( + # GNU and BSD bc's have slightly different behavior. This bc can act + # like both, changing at runtime with environment variables, but it + # needs defaults, which can be set at compile time. This option sets all + # of the defaults to match the GNU bc/dc since it's common on Linux. + -pGNU + # A lot of test results are generated first by a bc compatible with the + # GNU bc. If there is no GNU bc installed, then those tests should be + # skipped. That's what this option does. Without it, we would have a + # dependency cycle. Those tests are super long, anyway. + -G + # Disables the automatic stripping of binaries. + -T + # Enables installing all locales, which is important for packages. + -l + # Disables some "problematic" tests that need specific options on Linux + # to not trigger the OOM killer because malloc() lies. + -P + ) + if use readline ; then + myconf+=( -r ) + elif use libedit ; then + myconf+=( -e ) + fi + + local -x EXECSUFFIX="-gh" + local -x PREFIX="${EPREFIX}/usr" + edo ./configure.sh "${myconf[@]}" +} + +src_test() { + # This is to fix a bug encountered on Arch. It is to ensure we don't get + # segfaults on `make check` when the error messages change because the error + # messages are passed to printf(); they have format specifiers. With these + # env vars, the internal error messages are used, instead of the installed + # locales, which might be different since the new locale files are not + # installed yet. (It is impossible to use uninstalled locales because of the + # poor design of POSIX locales.) + env LANG=C LC_ALL=C emake check +} From 61846a5c2941cc70881d7ea03c27310abab2b607 Mon Sep 17 00:00:00 2001 From: "Gavin D. Howard" Date: Mon, 23 Sep 2024 22:08:18 -0600 Subject: [PATCH 09/36] sci-calculators/bc-gh: remove old unstable versions Signed-off-by: Gavin D. Howard Closes: https://github.com/gentoo/gentoo/pull/38753 Signed-off-by: Eli Schwartz --- sci-calculators/bc-gh/Manifest | 3 - sci-calculators/bc-gh/bc-gh-7.0.0.ebuild | 77 ------------------------ sci-calculators/bc-gh/bc-gh-7.0.1.ebuild | 77 ------------------------ sci-calculators/bc-gh/bc-gh-7.0.2.ebuild | 77 ------------------------ 4 files changed, 234 deletions(-) delete mode 100644 sci-calculators/bc-gh/bc-gh-7.0.0.ebuild delete mode 100644 sci-calculators/bc-gh/bc-gh-7.0.1.ebuild delete mode 100644 sci-calculators/bc-gh/bc-gh-7.0.2.ebuild diff --git a/sci-calculators/bc-gh/Manifest b/sci-calculators/bc-gh/Manifest index a83b1811a427b..06760e0266845 100644 --- a/sci-calculators/bc-gh/Manifest +++ b/sci-calculators/bc-gh/Manifest @@ -1,6 +1,3 @@ DIST bc-6.5.0.tar.xz 461380 BLAKE2B e4aa633162d03fc5723e967ba81f985ab1b16e47b3c9a3ca1c32e9a717db682ce88cc6ba453d5e9b09539dcb8ddbb258b7b7dbdd2e27279355e3c35028d56130 SHA512 1cb03038d828a0b10734c29931777add8b22f194c507b8ff538ec1aa52a2a97a4ac2733d72cdb0710fdc6937807074e929f7918c56aaf5be8fbe908ea7c5a401 DIST bc-6.7.5.tar.xz 468572 BLAKE2B 3942cfbbc2b8a307bc24b9f7c3e037bce374bd17332b236a8c76ccacef1177e36669b7f61944a5c5791b0a436dec171991cfc821526865a816fba91e65aa1f04 SHA512 5f689fd20801ea7ede725ae5dc4e8744bdf2d72424bffef99c53193a950f4bd83b6eb4c5a07556576d0b3f5b6cd7f9fc7cbcb41d27891f488bb2e97a186f76a4 -DIST bc-7.0.0.tar.xz 474468 BLAKE2B 2905f96639558a7f1203a0f63207f26b5e4cb75a91c4b848a4ef7f0313dfaa698499f948eb7ecdbc5eb3fcd0bd3ecf8c2f005256e48a58615fa8b69ec19932ae SHA512 ef89525eea8773dddb7efd3dd33f589de287ac807b772480e884bd666f29b2b0b362c999029cc6d82733f830195ca3f6fd867f15190fbcbf807ddbc4b24abb65 -DIST bc-7.0.1.tar.xz 474272 BLAKE2B ed83854828a917c5e5cdfcb46d2b0a2769f937c45cb454533ad42c3037331fcf4a668acaffb11acde733f587270d121ed3f6677f50b751de25835bd9b267f63a SHA512 376ef1b4a72a64ee114ee5a835ea36ad4f26fdd06662df2db387e645c7ab86b49b019461928e891455daeae9afddb496959c4b2aebeafb1b37051c379c62a888 -DIST bc-7.0.2.tar.xz 475084 BLAKE2B f4d17f9669eb941e0314a174b17dfde46040eafc31fc0f45930a78920a92aee306031e57ff310e2485a1d77074760c992587ed0251a20e084a1e4df14060a46a SHA512 deac1ffa11562b71ec9c238d375e16d46b63b7330092ef43e38f087fc5f9c813adb6fa352aab45cb96a17206de3d2d2e62825aef19ff9aed72ea63fc3b9ea603 DIST bc-7.0.3.tar.xz 474800 BLAKE2B 928d5d37b987887d0a300b2b03aadaa6d4378dddfcda0375274873df6ae28ef3d8c2ffc7c821911785c31bd1fe1969dbdfba36af5bf402025597f6c52da7ec2e SHA512 40bd059eda5df30fe41a4683a51727af7c9d0df48eb795c3c0afff0740cb4b4e719a6135203ebacb27617d9721a78c24f3ec3107c676aafa2808f73313084cd7 diff --git a/sci-calculators/bc-gh/bc-gh-7.0.0.ebuild b/sci-calculators/bc-gh/bc-gh-7.0.0.ebuild deleted file mode 100644 index 9617ad8ff871d..0000000000000 --- a/sci-calculators/bc-gh/bc-gh-7.0.0.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit edo - -MY_P="bc-${PV}" -DESCRIPTION="Implementation of POSIX bc with GNU extensions" -HOMEPAGE=" - https://git.gavinhoward.com/gavin/bc/ - https://github.com/gavinhoward/bc/ -" -SRC_URI=" - https://github.com/gavinhoward/bc/releases/download/${PV}/${MY_P}.tar.xz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="libedit readline" - -DEPEND=" - !readline? ( - libedit? ( dev-libs/libedit:= ) - ) - readline? ( - sys-libs/readline:= - sys-libs/ncurses:= - ) -" -RDEPEND=" - ${DEPEND} -" - -src_configure() { - local myconf=( - # GNU and BSD bc's have slightly different behavior. This bc can act - # like both, changing at runtime with environment variables, but it - # needs defaults, which can be set at compile time. This option sets all - # of the defaults to match the GNU bc/dc since it's common on Linux. - -pGNU - # A lot of test results are generated first by a bc compatible with the - # GNU bc. If there is no GNU bc installed, then those tests should be - # skipped. That's what this option does. Without it, we would have a - # dependency cycle. Those tests are super long, anyway. - -G - # Disables the automatic stripping of binaries. - -T - # Enables installing all locales, which is important for packages. - -l - # Disables some "problematic" tests that need specific options on Linux - # to not trigger the OOM killer because malloc() lies. - -P - ) - if use readline ; then - myconf+=( -r ) - elif use libedit ; then - myconf+=( -e ) - fi - - local -x EXECSUFFIX="-gh" - local -x PREFIX="${EPREFIX}/usr" - edo ./configure.sh "${myconf[@]}" -} - -src_test() { - # This is to fix a bug encountered on Arch. It is to ensure we don't get - # segfaults on `make check` when the error messages change because the error - # messages are passed to printf(); they have format specifiers. With these - # env vars, the internal error messages are used, instead of the installed - # locales, which might be different since the new locale files are not - # installed yet. (It is impossible to use uninstalled locales because of the - # poor design of POSIX locales.) - env LANG=C LC_ALL=C emake check -} diff --git a/sci-calculators/bc-gh/bc-gh-7.0.1.ebuild b/sci-calculators/bc-gh/bc-gh-7.0.1.ebuild deleted file mode 100644 index 9617ad8ff871d..0000000000000 --- a/sci-calculators/bc-gh/bc-gh-7.0.1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit edo - -MY_P="bc-${PV}" -DESCRIPTION="Implementation of POSIX bc with GNU extensions" -HOMEPAGE=" - https://git.gavinhoward.com/gavin/bc/ - https://github.com/gavinhoward/bc/ -" -SRC_URI=" - https://github.com/gavinhoward/bc/releases/download/${PV}/${MY_P}.tar.xz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="libedit readline" - -DEPEND=" - !readline? ( - libedit? ( dev-libs/libedit:= ) - ) - readline? ( - sys-libs/readline:= - sys-libs/ncurses:= - ) -" -RDEPEND=" - ${DEPEND} -" - -src_configure() { - local myconf=( - # GNU and BSD bc's have slightly different behavior. This bc can act - # like both, changing at runtime with environment variables, but it - # needs defaults, which can be set at compile time. This option sets all - # of the defaults to match the GNU bc/dc since it's common on Linux. - -pGNU - # A lot of test results are generated first by a bc compatible with the - # GNU bc. If there is no GNU bc installed, then those tests should be - # skipped. That's what this option does. Without it, we would have a - # dependency cycle. Those tests are super long, anyway. - -G - # Disables the automatic stripping of binaries. - -T - # Enables installing all locales, which is important for packages. - -l - # Disables some "problematic" tests that need specific options on Linux - # to not trigger the OOM killer because malloc() lies. - -P - ) - if use readline ; then - myconf+=( -r ) - elif use libedit ; then - myconf+=( -e ) - fi - - local -x EXECSUFFIX="-gh" - local -x PREFIX="${EPREFIX}/usr" - edo ./configure.sh "${myconf[@]}" -} - -src_test() { - # This is to fix a bug encountered on Arch. It is to ensure we don't get - # segfaults on `make check` when the error messages change because the error - # messages are passed to printf(); they have format specifiers. With these - # env vars, the internal error messages are used, instead of the installed - # locales, which might be different since the new locale files are not - # installed yet. (It is impossible to use uninstalled locales because of the - # poor design of POSIX locales.) - env LANG=C LC_ALL=C emake check -} diff --git a/sci-calculators/bc-gh/bc-gh-7.0.2.ebuild b/sci-calculators/bc-gh/bc-gh-7.0.2.ebuild deleted file mode 100644 index 9617ad8ff871d..0000000000000 --- a/sci-calculators/bc-gh/bc-gh-7.0.2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit edo - -MY_P="bc-${PV}" -DESCRIPTION="Implementation of POSIX bc with GNU extensions" -HOMEPAGE=" - https://git.gavinhoward.com/gavin/bc/ - https://github.com/gavinhoward/bc/ -" -SRC_URI=" - https://github.com/gavinhoward/bc/releases/download/${PV}/${MY_P}.tar.xz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="libedit readline" - -DEPEND=" - !readline? ( - libedit? ( dev-libs/libedit:= ) - ) - readline? ( - sys-libs/readline:= - sys-libs/ncurses:= - ) -" -RDEPEND=" - ${DEPEND} -" - -src_configure() { - local myconf=( - # GNU and BSD bc's have slightly different behavior. This bc can act - # like both, changing at runtime with environment variables, but it - # needs defaults, which can be set at compile time. This option sets all - # of the defaults to match the GNU bc/dc since it's common on Linux. - -pGNU - # A lot of test results are generated first by a bc compatible with the - # GNU bc. If there is no GNU bc installed, then those tests should be - # skipped. That's what this option does. Without it, we would have a - # dependency cycle. Those tests are super long, anyway. - -G - # Disables the automatic stripping of binaries. - -T - # Enables installing all locales, which is important for packages. - -l - # Disables some "problematic" tests that need specific options on Linux - # to not trigger the OOM killer because malloc() lies. - -P - ) - if use readline ; then - myconf+=( -r ) - elif use libedit ; then - myconf+=( -e ) - fi - - local -x EXECSUFFIX="-gh" - local -x PREFIX="${EPREFIX}/usr" - edo ./configure.sh "${myconf[@]}" -} - -src_test() { - # This is to fix a bug encountered on Arch. It is to ensure we don't get - # segfaults on `make check` when the error messages change because the error - # messages are passed to printf(); they have format specifiers. With these - # env vars, the internal error messages are used, instead of the installed - # locales, which might be different since the new locale files are not - # installed yet. (It is impossible to use uninstalled locales because of the - # poor design of POSIX locales.) - env LANG=C LC_ALL=C emake check -} From fad769c057ef2f2aa877f2ba93d08f233063ea3d Mon Sep 17 00:00:00 2001 From: Robert Siebeck Date: Thu, 26 Sep 2024 09:43:04 +0200 Subject: [PATCH 10/36] net-im/signal-desktop-bin: add 7.26.0 Signed-off-by: Robert Siebeck Signed-off-by: Eli Schwartz --- net-im/signal-desktop-bin/Manifest | 1 + .../signal-desktop-bin-7.26.0.ebuild | 96 +++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 net-im/signal-desktop-bin/signal-desktop-bin-7.26.0.ebuild diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest index b31fb96ff2dec..ff7845500287c 100644 --- a/net-im/signal-desktop-bin/Manifest +++ b/net-im/signal-desktop-bin/Manifest @@ -1 +1,2 @@ DIST signal-desktop_7.24.1_amd64.deb 121651214 BLAKE2B 8332fa49818d5ace38e2216b3bb806a116cf2a1c11b3fc4130701e73050952ab1296f82f0117ce51974f35f7052f43a6b15d356405bc2e6fd667c6211ee74f5c SHA512 14aaaf24aca074480d857540113d6630b3597887f0beeac732b1aa22a8a0dc6915bc84276e706a143c421732b1fffd7912021b02d1e955be7e79ef9910680352 +DIST signal-desktop_7.26.0_amd64.deb 121949138 BLAKE2B a3be264be788a47c09cbfd487cce58d5b43cb7982be2cb3d481e0d2dd70c075eb9cb66722ad6fdeec477b97eb38187e581a94638180d977111d15535a29483cf SHA512 f43781f2e61e08595dc2297fe879d601f791d65bb97f879ddf6b7914f1e49295fddbaa4fc3d9dea0bc66811c150e39d6d26d04924f36a3629d3b97994e937aa2 diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-7.26.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-7.26.0.ebuild new file mode 100644 index 0000000000000..4ddfe8d854e57 --- /dev/null +++ b/net-im/signal-desktop-bin/signal-desktop-bin-7.26.0.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN/-bin/}" + +inherit pax-utils unpacker xdg + +DESCRIPTION="Allows you to send and receive messages of Signal Messenger on your computer" +HOMEPAGE="https://signal.org/ + https://github.com/signalapp/Signal-Desktop" +SRC_URI="https://updates.signal.org/desktop/apt/pool/s/${MY_PN}/${MY_PN}_${PV}_amd64.deb" +S="${WORKDIR}" + +LICENSE="GPL-3 MIT MIT-with-advertising BSD-1 BSD-2 BSD Apache-2.0 ISC openssl ZLIB APSL-2 icu Artistic-2 LGPL-2.1" +SLOT="0" +KEYWORDS="-* amd64" +IUSE="+sound" +RESTRICT="splitdebug" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + >=media-fonts/noto-emoji-20231130 + media-libs/alsa-lib + media-libs/mesa[X(+)] + net-print/cups + sys-apps/dbus[X] + x11-libs/cairo + x11-libs/gtk+:3[X] + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/pango + sound? ( + || ( + media-libs/libpulse + media-sound/apulse + ) + ) +" + +QA_PREBUILT=" + opt/Signal/chrome_crashpad_handler + opt/Signal/chrome-sandbox + opt/Signal/libEGL.so + opt/Signal/libGLESv2.so + opt/Signal/libffmpeg.so + opt/Signal/libvk_swiftshader.so + opt/Signal/libvulkan.so.1 + opt/Signal/resources/app.asar.unpacked/node_modules/* + opt/Signal/signal-desktop + opt/Signal/swiftshader/libEGL.so + opt/Signal/swiftshader/libGLESv2.so" + +src_prepare() { + default + sed -e 's| --no-sandbox||g' \ + -i usr/share/applications/signal-desktop.desktop || die + unpack usr/share/doc/signal-desktop/changelog.gz +} + +src_install() { + insinto / + dodoc changelog + doins -r opt + insinto /usr/share + + if has_version media-sound/apulse[-sdk] && ! has_version media-sound/pulseaudio; then + sed -i 's/Exec=/Exec=apulse /g' usr/share/applications/signal-desktop.desktop || die + fi + + doins -r usr/share/applications + doins -r usr/share/icons + fperms +x /opt/Signal/signal-desktop /opt/Signal/chrome-sandbox /opt/Signal/chrome_crashpad_handler + fperms u+s /opt/Signal/chrome-sandbox + pax-mark m opt/Signal/signal-desktop opt/Signal/chrome-sandbox opt/Signal/chrome_crashpad_handler + + dosym -r /opt/Signal/${MY_PN} /usr/bin/${MY_PN} +} + +pkg_postinst() { + xdg_pkg_postinst + elog "For using the tray icon on compatible desktop environments, start Signal with" + elog " '--start-in-tray' or '--use-tray-icon'." +} From eacf58adeae67ea773f88147e8540c9e7aa4efff Mon Sep 17 00:00:00 2001 From: Robert Siebeck Date: Thu, 26 Sep 2024 09:43:05 +0200 Subject: [PATCH 11/36] net-im/signal-desktop-bin: remove 7.24.1 Signed-off-by: Robert Siebeck Closes: https://github.com/gentoo/gentoo/pull/38699 Signed-off-by: Eli Schwartz --- net-im/signal-desktop-bin/Manifest | 1 - .../signal-desktop-bin-7.24.1.ebuild | 96 ------------------- 2 files changed, 97 deletions(-) delete mode 100644 net-im/signal-desktop-bin/signal-desktop-bin-7.24.1.ebuild diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest index ff7845500287c..0c2992cee8632 100644 --- a/net-im/signal-desktop-bin/Manifest +++ b/net-im/signal-desktop-bin/Manifest @@ -1,2 +1 @@ -DIST signal-desktop_7.24.1_amd64.deb 121651214 BLAKE2B 8332fa49818d5ace38e2216b3bb806a116cf2a1c11b3fc4130701e73050952ab1296f82f0117ce51974f35f7052f43a6b15d356405bc2e6fd667c6211ee74f5c SHA512 14aaaf24aca074480d857540113d6630b3597887f0beeac732b1aa22a8a0dc6915bc84276e706a143c421732b1fffd7912021b02d1e955be7e79ef9910680352 DIST signal-desktop_7.26.0_amd64.deb 121949138 BLAKE2B a3be264be788a47c09cbfd487cce58d5b43cb7982be2cb3d481e0d2dd70c075eb9cb66722ad6fdeec477b97eb38187e581a94638180d977111d15535a29483cf SHA512 f43781f2e61e08595dc2297fe879d601f791d65bb97f879ddf6b7914f1e49295fddbaa4fc3d9dea0bc66811c150e39d6d26d04924f36a3629d3b97994e937aa2 diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-7.24.1.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-7.24.1.ebuild deleted file mode 100644 index 4ddfe8d854e57..0000000000000 --- a/net-im/signal-desktop-bin/signal-desktop-bin-7.24.1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="${PN/-bin/}" - -inherit pax-utils unpacker xdg - -DESCRIPTION="Allows you to send and receive messages of Signal Messenger on your computer" -HOMEPAGE="https://signal.org/ - https://github.com/signalapp/Signal-Desktop" -SRC_URI="https://updates.signal.org/desktop/apt/pool/s/${MY_PN}/${MY_PN}_${PV}_amd64.deb" -S="${WORKDIR}" - -LICENSE="GPL-3 MIT MIT-with-advertising BSD-1 BSD-2 BSD Apache-2.0 ISC openssl ZLIB APSL-2 icu Artistic-2 LGPL-2.1" -SLOT="0" -KEYWORDS="-* amd64" -IUSE="+sound" -RESTRICT="splitdebug" - -RDEPEND=" - >=app-accessibility/at-spi2-core-2.46.0:2 - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - >=media-fonts/noto-emoji-20231130 - media-libs/alsa-lib - media-libs/mesa[X(+)] - net-print/cups - sys-apps/dbus[X] - x11-libs/cairo - x11-libs/gtk+:3[X] - x11-libs/libdrm - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libxkbcommon - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/pango - sound? ( - || ( - media-libs/libpulse - media-sound/apulse - ) - ) -" - -QA_PREBUILT=" - opt/Signal/chrome_crashpad_handler - opt/Signal/chrome-sandbox - opt/Signal/libEGL.so - opt/Signal/libGLESv2.so - opt/Signal/libffmpeg.so - opt/Signal/libvk_swiftshader.so - opt/Signal/libvulkan.so.1 - opt/Signal/resources/app.asar.unpacked/node_modules/* - opt/Signal/signal-desktop - opt/Signal/swiftshader/libEGL.so - opt/Signal/swiftshader/libGLESv2.so" - -src_prepare() { - default - sed -e 's| --no-sandbox||g' \ - -i usr/share/applications/signal-desktop.desktop || die - unpack usr/share/doc/signal-desktop/changelog.gz -} - -src_install() { - insinto / - dodoc changelog - doins -r opt - insinto /usr/share - - if has_version media-sound/apulse[-sdk] && ! has_version media-sound/pulseaudio; then - sed -i 's/Exec=/Exec=apulse /g' usr/share/applications/signal-desktop.desktop || die - fi - - doins -r usr/share/applications - doins -r usr/share/icons - fperms +x /opt/Signal/signal-desktop /opt/Signal/chrome-sandbox /opt/Signal/chrome_crashpad_handler - fperms u+s /opt/Signal/chrome-sandbox - pax-mark m opt/Signal/signal-desktop opt/Signal/chrome-sandbox opt/Signal/chrome_crashpad_handler - - dosym -r /opt/Signal/${MY_PN} /usr/bin/${MY_PN} -} - -pkg_postinst() { - xdg_pkg_postinst - elog "For using the tray icon on compatible desktop environments, start Signal with" - elog " '--start-in-tray' or '--use-tray-icon'." -} From e3d362096aeb54c0e7e2c86b3c421fb8713892d9 Mon Sep 17 00:00:00 2001 From: Robert Siebeck Date: Thu, 19 Sep 2024 23:08:06 +0200 Subject: [PATCH 12/36] mail-client/alpine: remove 2.26-r1 Signed-off-by: Robert Siebeck Closes: https://github.com/gentoo/gentoo/pull/38697 Signed-off-by: Eli Schwartz --- mail-client/alpine/alpine-2.26-r1.ebuild | 90 ------------------------ 1 file changed, 90 deletions(-) delete mode 100644 mail-client/alpine/alpine-2.26-r1.ebuild diff --git a/mail-client/alpine/alpine-2.26-r1.ebuild b/mail-client/alpine/alpine-2.26-r1.ebuild deleted file mode 100644 index 96c12f499d091..0000000000000 --- a/mail-client/alpine/alpine-2.26-r1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools optfeature toolchain-funcs - -DESCRIPTION="An easy to use text-based based mail and news client" -HOMEPAGE="https://alpineapp.email/ https://repo.or.cz/alpine.git/" -CHAPPA_PATCH_NAME="${P}-chappa-5.patch" -SRC_URI="https://alpineapp.email/alpine/release/src/${P}.tar.xz - chappa? ( https://alpineapp.email/alpine/patches/${P}/all.patch.gz -> ${CHAPPA_PATCH_NAME}.gz ) " - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 ppc ~ppc64 ~sparc x86" -IUSE="+chappa ipv6 kerberos ldap nls onlyalpine passfile smime ssl" - -DEPEND="sys-libs/ncurses:= - virtual/libcrypt:= - kerberos? ( app-crypt/mit-krb5 ) - ldap? ( net-nds/openldap:= ) - ssl? ( dev-libs/openssl:0= ) -" -RDEPEND="${DEPEND} - app-misc/mime-types -" - -src_prepare() { - default - use chappa && eapply "${WORKDIR}/${CHAPPA_PATCH_NAME}" - eautoreconf - tc-export CC RANLIB AR - export CC_FOR_BUILD="$(tc-getBUILD_CC)" -} - -src_configure() { - myconf=( - --without-tcl - --with-pthread - --with-system-pinerc="${EPREFIX}"/etc/pine.conf - --with-system-fixed-pinerc="${EPREFIX}"/etc/pine.conf.fixed - $(use_with ldap) - $(use_with ssl) - $(use_with passfile passfile .pinepwd) - $(use_with kerberos krb5) - $(use_enable nls) - $(use_with ipv6) - $(use_with smime) - ) - - if has_version "app-text/hunspell"; then - myconf+=( --with-interactive-spellcheck=/usr/bin/hunspell ) - elif has_version "app-text/aspell"; then - myconf+=( --with-interactive-spellcheck=/usr/bin/aspell ) - fi - - if use ssl; then - myconf+=( - --with-ssl-include-dir="${EPREFIX}"/usr/include/openssl - --with-ssl-lib-dir="${EPREFIX}"/usr/$(get_libdir) - --with-ssl-certs-dir="${EPREFIX}"/etc/ssl/certs - ) - fi - econf "${myconf[@]}" -} - -src_compile() { - emake -j1 AR="$(tc-getAR)" -} - -src_install() { - if use onlyalpine ; then - dobin alpine/alpine - doman doc/man1/alpine.1 - else - emake -j1 DESTDIR="${D}" install - doman doc/man1/*.1 - fi - dodoc NOTICE README* - dodoc doc/brochure.txt - dodoc -r doc/tech-notes/ - newdoc "${S}/doc/mailcap.unx" mailcap.unx.sample - newdoc "${S}/doc/mime.types" mime.types.sample - docompress -x /usr/share/doc/${PF}/mailcap.unx.sample /usr/share/doc/${PF}/mime.types.sample -} - -pkg_postinst() { - optfeature "Spell checking" app-text/hunspell app-text/aspell -} From bccc6dcf709527e9a38e2f186d6b4fc3f2a1e1ec Mon Sep 17 00:00:00 2001 From: Harald Judt Date: Thu, 26 Sep 2024 12:54:37 +0200 Subject: [PATCH 13/36] dev-lisp/c2ffi: Bump version to c2ffi-18.1.0 Signed-off-by: Harald Judt Signed-off-by: Eli Schwartz --- dev-lisp/c2ffi/Manifest | 1 + dev-lisp/c2ffi/c2ffi-18.1.0.20240926.ebuild | 22 +++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 dev-lisp/c2ffi/c2ffi-18.1.0.20240926.ebuild diff --git a/dev-lisp/c2ffi/Manifest b/dev-lisp/c2ffi/Manifest index e9698afaafd07..9e1fe9b3a237a 100644 --- a/dev-lisp/c2ffi/Manifest +++ b/dev-lisp/c2ffi/Manifest @@ -1 +1,2 @@ DIST c2ffi-17.0.0.20240314.tar.gz 44258 BLAKE2B 522fcf2671f5ce6bc0a8bef533da806954cb6083f54ba27455903f618fea2b20eda7a2b7a8fe0f56c8d4904181c84db1031ee824301ff9004aeb1f149b48baf5 SHA512 6e5e8a5809592873edae95c117cf1e5494cc62ecae5ecee6dd4a0928b138f33e60baa2e918aaa6a779e6d89e592f651bb8914795257c6abfe51ee7a56eb70788 +DIST c2ffi-18.1.0.20240926.tar.gz 44577 BLAKE2B 53017254fe51ec55d23ebc658679cec405783255cc29b65aea5bf4c447d9dd6658aa5834bb7757de1bc50832eabdb2ee3bc7a07edd64b78a5d1aa9d41c5155e9 SHA512 1b5c5260e855bf9d6bd4b1b222ed1ac4405151cdff63623cbe72211b33c2f1bd33f40ef6e4877b0f75eaccc1eaa4ac93fd97a3b0469f05aa59f710bab804340c diff --git a/dev-lisp/c2ffi/c2ffi-18.1.0.20240926.ebuild b/dev-lisp/c2ffi/c2ffi-18.1.0.20240926.ebuild new file mode 100644 index 0000000000000..9a88c30ee22e1 --- /dev/null +++ b/dev-lisp/c2ffi/c2ffi-18.1.0.20240926.ebuild @@ -0,0 +1,22 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_MAX_SLOT=18 +inherit cmake llvm + +MY_COMMIT="0de81efb64acc82c08c5eee4a7108ddcb1b00d86" + +DESCRIPTION="Clang-based FFI wrapper generator for Common Lisp" +HOMEPAGE="https://github.com/rpav/c2ffi" +SRC_URI="https://github.com/rpav/c2ffi/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/c2ffi-${MY_COMMIT}" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="sys-devel/clang:${LLVM_MAX_SLOT} + sys-devel/llvm:${LLVM_MAX_SLOT}" +RDEPEND="${DEPEND}" From e7a162d387d64d1b639e135a3f0e0be00128ee66 Mon Sep 17 00:00:00 2001 From: Harald Judt Date: Thu, 26 Sep 2024 12:55:17 +0200 Subject: [PATCH 14/36] dev-lisp/c2ffi: Remove c2ffi-17.0.0 Signed-off-by: Harald Judt Closes: https://github.com/gentoo/gentoo/pull/38777 Signed-off-by: Eli Schwartz --- dev-lisp/c2ffi/Manifest | 1 - dev-lisp/c2ffi/c2ffi-17.0.0.20240314.ebuild | 22 --------------------- 2 files changed, 23 deletions(-) delete mode 100644 dev-lisp/c2ffi/c2ffi-17.0.0.20240314.ebuild diff --git a/dev-lisp/c2ffi/Manifest b/dev-lisp/c2ffi/Manifest index 9e1fe9b3a237a..dd258cee2dd09 100644 --- a/dev-lisp/c2ffi/Manifest +++ b/dev-lisp/c2ffi/Manifest @@ -1,2 +1 @@ -DIST c2ffi-17.0.0.20240314.tar.gz 44258 BLAKE2B 522fcf2671f5ce6bc0a8bef533da806954cb6083f54ba27455903f618fea2b20eda7a2b7a8fe0f56c8d4904181c84db1031ee824301ff9004aeb1f149b48baf5 SHA512 6e5e8a5809592873edae95c117cf1e5494cc62ecae5ecee6dd4a0928b138f33e60baa2e918aaa6a779e6d89e592f651bb8914795257c6abfe51ee7a56eb70788 DIST c2ffi-18.1.0.20240926.tar.gz 44577 BLAKE2B 53017254fe51ec55d23ebc658679cec405783255cc29b65aea5bf4c447d9dd6658aa5834bb7757de1bc50832eabdb2ee3bc7a07edd64b78a5d1aa9d41c5155e9 SHA512 1b5c5260e855bf9d6bd4b1b222ed1ac4405151cdff63623cbe72211b33c2f1bd33f40ef6e4877b0f75eaccc1eaa4ac93fd97a3b0469f05aa59f710bab804340c diff --git a/dev-lisp/c2ffi/c2ffi-17.0.0.20240314.ebuild b/dev-lisp/c2ffi/c2ffi-17.0.0.20240314.ebuild deleted file mode 100644 index f9d9ec225c5e6..0000000000000 --- a/dev-lisp/c2ffi/c2ffi-17.0.0.20240314.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 2019-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LLVM_MAX_SLOT=17 -inherit cmake llvm - -MY_COMMIT="164637979127b2f995930b352d06dea5e9572064" - -DESCRIPTION="Clang-based FFI wrapper generator for Common Lisp" -HOMEPAGE="https://github.com/rpav/c2ffi" -SRC_URI="https://github.com/rpav/c2ffi/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/c2ffi-${MY_COMMIT}" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND="sys-devel/clang:${LLVM_MAX_SLOT} - sys-devel/llvm:${LLVM_MAX_SLOT}" -RDEPEND="${DEPEND}" From c27039a646adb87f512c6117218bd3d50051520b Mon Sep 17 00:00:00 2001 From: "Matthew S. Turnbull" Date: Thu, 26 Sep 2024 18:32:34 -0400 Subject: [PATCH 15/36] gnome-extra/cinnamon-screensaver: add 6.2.1 Signed-off-by: Matthew S. Turnbull Signed-off-by: Eli Schwartz --- gnome-extra/cinnamon-screensaver/Manifest | 1 + .../cinnamon-screensaver-6.2.1.ebuild | 78 +++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 gnome-extra/cinnamon-screensaver/cinnamon-screensaver-6.2.1.ebuild diff --git a/gnome-extra/cinnamon-screensaver/Manifest b/gnome-extra/cinnamon-screensaver/Manifest index 48c95d5a04a68..d8e55ede1be8b 100644 --- a/gnome-extra/cinnamon-screensaver/Manifest +++ b/gnome-extra/cinnamon-screensaver/Manifest @@ -1,2 +1,3 @@ DIST cinnamon-screensaver-6.0.3.tar.gz 161006 BLAKE2B 4f88cf0ca72384fbff2ce1f55047b6d53704bf55b2a3bfd5c942c19bcfbe9249c07e9fc1f08246c0e55c6b2110f543157ec87028789e58d752ff21d54d347ae2 SHA512 556b8eeac280001273460e5f1f5d1e5dbdf003ff95ad1ec9c3217316a6197520a32cd05d61a395daef066f13c8c9c89ebb9057779dd845bd597c207492fd91ef DIST cinnamon-screensaver-6.2.0.tar.gz 161045 BLAKE2B c0afe57912ed9cfc579defa4ea450c5ab79c0761f4babc9ad9c745d1c71c24ba9bcd77cd952d8e7c1ebd317025d3cf3bacc24c87e2757a94582337dc4645c814 SHA512 a7a6163be7de5fd7b58ed1aeb76610476f872f5372489a8ce724c92fa2a26ce418546ca9ae39a97dac9cf922ef13e5faf34bcbc087382db1e6fc50c02d6c8b21 +DIST cinnamon-screensaver-6.2.1.tar.gz 161088 BLAKE2B 86159f06e44bd58ca443457109c1345ba3021d1b8aa339d315da45fad994e8fccf59fffdc8bef3edefebf42a6ea4ab632354ef5a8f7c10f6d4d70ab517fce3bb SHA512 4033d1170b4ef359dc8a6d529b40e40fa5bb630f4900eaf5d45c73d7caadde00345811bc5b8f347bfc184f16abbdb232ebf71bb911c713bb00ced557115fd300 diff --git a/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-6.2.1.ebuild b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-6.2.1.ebuild new file mode 100644 index 0000000000000..f5dfaf26eca76 --- /dev/null +++ b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-6.2.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit meson python-single-r1 xdg + +DESCRIPTION="Screensaver for Cinnamon" +HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-screensaver" +SRC_URI="https://github.com/linuxmint/cinnamon-screensaver/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+ LGPL-2+ MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="systemd xinerama" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND=" + ${PYTHON_DEPS} + >=dev-libs/glib-2.37.3:2[dbus] + >=gnome-extra/cinnamon-desktop-6.2 + sys-libs/pam + >=x11-libs/gtk+-3.22:3[introspection] + x11-libs/cairo + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrandr + x11-libs/pango + x11-misc/xdotool + x11-themes/adwaita-icon-theme + + xinerama? ( x11-libs/libXinerama ) +" +RDEPEND=" + ${COMMON_DEPEND} + >=app-accessibility/caribou-0.3 + sys-apps/accountsservice + sys-process/procps + x11-apps/xprop + $(python_gen_cond_dep ' + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/setproctitle[${PYTHON_USEDEP}] + >=dev-python/python3-xapp-2.4.2[${PYTHON_USEDEP}] + ') + + systemd? ( >=sys-apps/systemd-31 ) + !systemd? ( sys-auth/elogind ) +" +DEPEND=" + ${COMMON_DEPEND} + x11-base/xorg-proto +" +BDEPEND=" + dev-util/gdbus-codegen + sys-apps/dbus + sys-devel/gettext + virtual/pkgconfig +" + +src_prepare() { + default + python_fix_shebang install-scripts src +} + +src_configure() { + local emesonargs=( + $(meson_use xinerama) + ) + meson_src_configure +} + +src_install() { + meson_src_install + python_optimize "${ED}"/usr/share/cinnamon-screensaver/ +} From bd4cb2ad8e232461252231c5805d2599d7e908d7 Mon Sep 17 00:00:00 2001 From: "Matthew S. Turnbull" Date: Thu, 26 Sep 2024 18:37:04 -0400 Subject: [PATCH 16/36] gnome-extra/cinnamon: drop 6.0.4 Signed-off-by: Matthew S. Turnbull Signed-off-by: Eli Schwartz --- gnome-extra/cinnamon/Manifest | 1 - gnome-extra/cinnamon/cinnamon-6.0.4.ebuild | 199 --------------------- gnome-extra/cinnamon/metadata.xml | 1 - 3 files changed, 201 deletions(-) delete mode 100644 gnome-extra/cinnamon/cinnamon-6.0.4.ebuild diff --git a/gnome-extra/cinnamon/Manifest b/gnome-extra/cinnamon/Manifest index 7fc49774105e2..6712e17aa1d10 100644 --- a/gnome-extra/cinnamon/Manifest +++ b/gnome-extra/cinnamon/Manifest @@ -1,2 +1 @@ -DIST cinnamon-6.0.4.tar.gz 2538844 BLAKE2B de67c2e465d04dd4ed269172b4b58cfe0391446466e32e15410b5a847248566c075823d0a2fb87d7a693033b3e4e1fc21a18c7b9f45dca89ce8968a0be71eaba SHA512 357dd44f40b195a4a3ca3e88c5c9e55f1c06d36b4cec812a001c54ffb784b0d67bb9f41c1ae74fec590184b3480c9cd21ae54f7ee01e31f80eab0297b0d18a9c DIST cinnamon-6.2.9.tar.gz 2547804 BLAKE2B 13a03e5f521d79f6929c16802629fb99b86d7e7f09ea65df76505b8216aa54ca37471a59ed68437bc470df34ca6b5b79e1b66df33721736e2a2c802b8a7755d8 SHA512 8226dedfa26069fd86e6e52daa5bfd46b54de58865cd98e07715caf8843ec1981b28fa2c8195ab153e127156eee6d6b6cd7e94eb715a66c206c0a7e9452fed11 diff --git a/gnome-extra/cinnamon/cinnamon-6.0.4.ebuild b/gnome-extra/cinnamon/cinnamon-6.0.4.ebuild deleted file mode 100644 index 7b90986510209..0000000000000 --- a/gnome-extra/cinnamon/cinnamon-6.0.4.ebuild +++ /dev/null @@ -1,199 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{10..12} ) -PYTHON_REQ_USE="xml(+)" - -inherit meson gnome2-utils pax-utils python-single-r1 xdg - -DESCRIPTION="A fork of GNOME Shell with layout similar to GNOME 2" -HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon" -SRC_URI="https://github.com/linuxmint/cinnamon/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD GPL-2+ GPL-3+ GPL-3-with-openssl-exception LGPL-2+ LGPL-2.1 LGPL-2.1+ MIT" -SLOT="0" -IUSE="+desktop-portal +eds +gstreamer gtk-doc +nls +networkmanager wayland" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -KEYWORDS="amd64 ~arm64 ~loong ~riscv x86" - -DEPEND=" - ${PYTHON_DEPS} - >=app-accessibility/at-spi2-core-2.46.0:2 - >=dev-libs/glib-2.52.0:2[dbus] - >=dev-libs/gobject-introspection-1.29.15:= - dev-libs/libxml2:2 - >=gnome-extra/cinnamon-desktop-6.0:0= - >=gnome-extra/cinnamon-menus-6.0 - >=gnome-extra/cjs-6.0[cairo] - sys-apps/dbus - >=sys-auth/polkit-0.100[introspection] - virtual/opengl - x11-libs/cairo - x11-libs/gdk-pixbuf:2[introspection] - >=x11-libs/gtk+-3.12.0:3[introspection,wayland?] - >=x11-libs/libnotify-0.7.3:0=[introspection] - x11-libs/libX11 - >=x11-libs/libXfixes-5.0 - x11-libs/pango[introspection] - >=x11-libs/xapp-2.8.2[introspection] - >=x11-wm/muffin-6.0[introspection,wayland?] - - eds? ( - gnome-extra/evolution-data-server - ) - gstreamer? ( - media-libs/gst-plugins-base:1.0 - media-libs/gstreamer:1.0 - ) - networkmanager? ( - net-misc/networkmanager[introspection] - ) -" -# caribou used by onscreen keyboard -# libtimezonemap used by datetime settings -# iso-flag-png (unpackaged) used by keyboard layout settings -RDEPEND=" - ${DEPEND} - >=app-accessibility/caribou-0.3 - dev-libs/keybinder:3[introspection] - dev-libs/libtimezonemap - $(python_gen_cond_dep ' - dev-python/dbus-python[${PYTHON_USEDEP}] - dev-python/distro[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pycairo[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/pyinotify[${PYTHON_USEDEP}] - dev-python/python-pam[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/setproctitle[${PYTHON_USEDEP}] - dev-python/tinycss2[${PYTHON_USEDEP}] - >=dev-python/python3-xapp-2.4.1-r2[${PYTHON_USEDEP}] - ') - >=gnome-base/dconf-0.4.1 - >=gnome-base/gsettings-desktop-schemas-2.91.91 - >=gnome-base/libgnomekbd-2.91.4 - >=gnome-extra/cinnamon-control-center-6.0[networkmanager=,wayland?] - >=gnome-extra/cinnamon-screensaver-6.0 - >=gnome-extra/cinnamon-session-6.0 - >=gnome-extra/cinnamon-settings-daemon-6.0[wayland?] - >=gnome-extra/nemo-6.0[wayland?] - gnome-extra/polkit-gnome - media-libs/gsound - net-libs/libsoup:3.0[introspection] - net-misc/wget - sys-apps/accountsservice[introspection] - sys-apps/coreutils - sys-apps/pciutils - sys-apps/util-linux - sys-power/upower[introspection] - x11-misc/xdg-utils - x11-themes/adwaita-icon-theme - x11-themes/gnome-themes-standard - - desktop-portal? ( - sys-apps/xdg-desktop-portal-gtk - sys-apps/xdg-desktop-portal-xapp - ) - nls? ( - >=gnome-extra/cinnamon-translations-6.0 - ) -" -BDEPEND=" - >=dev-util/intltool-0.40 - >=sys-devel/gettext-0.17 - virtual/pkgconfig - - gtk-doc? ( dev-util/gtk-doc ) -" - -PATCHES=( - # Fix backgrounds path as cinnamon doesn't provide them - # https://github.com/linuxmint/Cinnamon/issues/3575 - "${FILESDIR}"/${PN}-3.8.0-gnome-background-compatibility.patch - - # Use wheel group instead of sudo (from Fedora/Arch) - # https://github.com/linuxmint/Cinnamon/issues/3576 - "${FILESDIR}"/${PN}-3.6.6-wheel-sudo.patch -) - -src_prepare() { - xdg_src_prepare - - # Add polkit agent to required components - # https://github.com/linuxmint/Cinnamon/issues/3579 - sed -i "s/'REQUIRED', '/&polkit-cinnamon-authentication-agent-1;/" meson.build || die - - # shebang fixing craziness - local p - for p in $(grep -rl '#!.*python3' || die); do - python_fix_shebang "${p}" - done - - if ! use desktop-portal; then - sed -i "s/subdir('xdg-portal')/#&/" data/meson.build || die - fi - - if ! use wayland; then - sed -i "s/, 'cinnamon-wayland.session'//" meson.build || die - sed -i "s/'cinnamon-wayland.desktop',//" data/meson.build || die - sed -i "s/subdir('wayland_sessions')/#&/" data/meson.build || die - sed -i "s/exec cinnamon-session --session cinnamon-wayland/echo 'wayland support disabled'; exit 1/" \ - files/usr/bin/cinnamon-session-cinnamon || die - fi -} - -src_configure() { - local emesonargs=( - $(meson_use gstreamer build_recorder) - $(meson_use gtk-doc docs) - -Ddisable_networkmanager=$(usex networkmanager false true) - -Dpy3modules_dir="$(python_get_sitedir)" - ) - meson_src_configure -} - -src_install() { - meson_src_install - - python_optimize "${D}$(python_get_sitedir)" - python_optimize "${ED}"/usr/share/cinnamon/ - - # Required for gnome-shell on hardened/PaX, bug #398941 - pax-mark mr "${ED}"/usr/bin/cinnamon - - # Doesn't exist on Gentoo, causing this to be a dead symlink - rm "${ED}/etc/xdg/menus/cinnamon-applications-merged" || die - - # Ensure authentication-agent is started, bug #523958 - # https://github.com/linuxmint/Cinnamon/issues/3579 - insinto /etc/xdg/autostart/ - doins "${FILESDIR}"/polkit-cinnamon-authentication-agent-1.desktop -} - -pkg_postinst() { - xdg_pkg_postinst - gnome2_schemas_update - - if use gstreamer; then - if ! has_version 'media-libs/gst-plugins-good:1.0' || \ - ! has_version 'media-plugins/gst-plugins-vpx:1.0'; then - ewarn "To make use of Cinnamon's built-in screen recording utility," - ewarn "you need to either install media-libs/gst-plugins-good:1.0" - ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change" - ewarn "org.cinnamon.recorder/pipeline to what you want to use." - fi - else - ewarn "Cinnamon's built-in screen recording utility is not installed" - ewarn "because gstreamer support is disabled." - fi -} - -pkg_postrm() { - xdg_pkg_postinst - gnome2_schemas_update -} diff --git a/gnome-extra/cinnamon/metadata.xml b/gnome-extra/cinnamon/metadata.xml index 3eaadcd0d9a08..5170275f61aa8 100644 --- a/gnome-extra/cinnamon/metadata.xml +++ b/gnome-extra/cinnamon/metadata.xml @@ -13,7 +13,6 @@ linuxmint/Cinnamon - Enable sys-apps/xdg-desktop-portal backend implementation for Cinnamon Use Cinnamon's internal polkit agent instead of gnome-extra/polkit-gnome. This does not currently support multi-user fast switching. From 79ba3fec32c1ff1a2dd6766daafea3c32752f78c Mon Sep 17 00:00:00 2001 From: "Matthew S. Turnbull" Date: Thu, 26 Sep 2024 20:34:53 -0400 Subject: [PATCH 17/36] x11-wm/muffin: drop 6.0.1-r2 Signed-off-by: Matthew S. Turnbull Signed-off-by: Eli Schwartz --- x11-wm/muffin/Manifest | 1 - ...9a88b2b8381f5b24b69742d1b9db32029c61.patch | 23 --- x11-wm/muffin/muffin-6.0.1-r2.ebuild | 188 ------------------ 3 files changed, 212 deletions(-) delete mode 100644 x11-wm/muffin/files/38919a88b2b8381f5b24b69742d1b9db32029c61.patch delete mode 100644 x11-wm/muffin/muffin-6.0.1-r2.ebuild diff --git a/x11-wm/muffin/Manifest b/x11-wm/muffin/Manifest index c428d17130ec9..71f919aa76ca4 100644 --- a/x11-wm/muffin/Manifest +++ b/x11-wm/muffin/Manifest @@ -1,2 +1 @@ -DIST muffin-6.0.1.tar.gz 4521556 BLAKE2B e3f28dea9f66b30805f9b98bc79f2e4a08e9e5eb6501f455f0e3c42c5d9ed14c48be75b07a97da7b671156d14ed61f3b882d8ede4f9b83dac5496fac5a0f0348 SHA512 94aa767db3677116094cb0d9a63d1a446b6ec426b4b38576fcdb17259ef92d81f1a14c0e93dadd2bc4dfaca522531ed177bb0af895b3df7abf20d0e9a77d71af DIST muffin-6.2.0.tar.gz 4522979 BLAKE2B d2cf508eeea77e22c79c65404e90beced72b9eca87542dc38abbf8a411464b4afce4d48e73cddf284a4cb86d9eca420edf95e3cb0ad7a0bc6b2c93a4bd1df257 SHA512 0711370323cd29627f312fbd2208daa5bca3be391f9454524f34447dc31f6e8dae63617af790843a2d84fd63340a6db476783b5eadb27b95fe2503f51323d193 diff --git a/x11-wm/muffin/files/38919a88b2b8381f5b24b69742d1b9db32029c61.patch b/x11-wm/muffin/files/38919a88b2b8381f5b24b69742d1b9db32029c61.patch deleted file mode 100644 index a2472ec9f212f..0000000000000 --- a/x11-wm/muffin/files/38919a88b2b8381f5b24b69742d1b9db32029c61.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 38919a88b2b8381f5b24b69742d1b9db32029c61 Mon Sep 17 00:00:00 2001 -From: Leigh Scott -Date: Mon, 5 Feb 2024 16:06:14 +0000 -Subject: [PATCH] Fix compile issue (#683) - -(warning becomes an error due to gcc 14 changes.) ---- - src/core/prefs.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/core/prefs.c b/src/core/prefs.c -index c07359abc..3161e4be9 100644 ---- a/src/core/prefs.c -+++ b/src/core/prefs.c -@@ -2258,7 +2258,7 @@ meta_prefs_add_keybinding (const char *name, - } - else - { -- strokes = g_strdupv (bindings); -+ strokes = g_strdupv((gchar **)bindings); - } - - queue_changed (META_PREF_KEYBINDINGS); diff --git a/x11-wm/muffin/muffin-6.0.1-r2.ebuild b/x11-wm/muffin/muffin-6.0.1-r2.ebuild deleted file mode 100644 index 881c52c194a29..0000000000000 --- a/x11-wm/muffin/muffin-6.0.1-r2.ebuild +++ /dev/null @@ -1,188 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit flag-o-matic gnome2-utils meson python-any-r1 virtualx - -DESCRIPTION="Compositing window manager forked from Mutter for use with Cinnamon" -HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/muffin" -SRC_URI="https://github.com/linuxmint/muffin/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD GPL-2+ LGPL-2+ LGPL-2.1+ MIT SGI-B-2.0" -SLOT="0" -IUSE="input_devices_wacom +introspection screencast sysprof systemd test udev wayland video_cards_nvidia" -KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86" -REQUIRED_USE="wayland? ( udev )" - -# Dependencies listed in meson order -COMDEPEND=" - x11-libs/libX11 - >=media-libs/graphene-1.9.3[introspection?] - >=x11-libs/gtk+-3.19.8:3[X,introspection?] - x11-libs/gdk-pixbuf:2[introspection?] - >=x11-libs/pango-1.20.0[introspection?] - >=x11-libs/cairo-1.10.0[X] - >=dev-libs/fribidi-1.0.0 - >=dev-libs/glib-2.61.1:2 - >=dev-libs/json-glib-0.12.0[introspection?] - >=gnome-extra/cinnamon-desktop-5.8:0= - >=x11-libs/libXcomposite-0.4 - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - >=x11-libs/libXfixes-3 - >=x11-libs/libXi-1.7.4 - x11-libs/libXtst - x11-libs/libxkbfile - x11-misc/xkeyboard-config - >=x11-libs/libxkbcommon-0.4.3[X] - x11-libs/libXrender - >=x11-libs/libXrandr-1.5.0 - x11-libs/libxcb:= - x11-libs/libXinerama - x11-libs/libXau - x11-libs/libICE - >=app-accessibility/at-spi2-core-2.46.0:2[introspection?] - >=media-libs/libcanberra-0.26 - sys-apps/dbus - media-libs/libglvnd[X] - media-libs/mesa[X(+),egl(+)] - x11-libs/libSM - >=x11-libs/startup-notification-0.7 - media-libs/fontconfig - - input_devices_wacom? ( - >=dev-libs/libwacom-0.13:= - ) - introspection? ( - >=dev-libs/gobject-introspection-1.41.3:= - ) - screencast? ( - >=media-video/pipewire-0.3.0:= - ) - sysprof? ( - >=dev-util/sysprof-capture-3.35.2:3 - ) - udev? ( - >=virtual/libudev-228:= - >=dev-libs/libgudev-232 - ) - wayland? ( - >=dev-libs/libinput-1.7:= - >=dev-libs/wayland-1.13.0 - >=dev-libs/wayland-protocols-1.19 - || ( - >=media-libs/mesa-24.1.0_rc1[opengl] - Date: Thu, 26 Sep 2024 18:48:53 -0400 Subject: [PATCH 18/36] gnome-extra/cjs: drop 6.0.0 Signed-off-by: Matthew S. Turnbull Signed-off-by: Eli Schwartz --- gnome-extra/cjs/Manifest | 1 - gnome-extra/cjs/cjs-6.0.0.ebuild | 91 -------------------------------- 2 files changed, 92 deletions(-) delete mode 100644 gnome-extra/cjs/cjs-6.0.0.ebuild diff --git a/gnome-extra/cjs/Manifest b/gnome-extra/cjs/Manifest index 3e700cf4706e6..a05f8ff9e71e9 100644 --- a/gnome-extra/cjs/Manifest +++ b/gnome-extra/cjs/Manifest @@ -1,2 +1 @@ -DIST cjs-6.0.0.tar.gz 877404 BLAKE2B 4290f0801f715aab1387da2ce0724376912db8ff3ad16fa8ad7eff03538dfc53ecbff2b7df0e70e52d16295b23ce51024da735d0e618b995fd3d3dfe297f9e26 SHA512 4cb359bf817d22a727683fd451ad6bde19aff4409e9033a97ef9cb204b3bd4c5e86421d7c01a267c3b4d42feb9b3bc5effb6fd970b3baf733242868c09536d95 DIST cjs-6.2.0.tar.gz 874457 BLAKE2B 7b1afda55bc0b5da165a20afa7be58382b8f03f1421bde960f6a3f134d7bdb2bdd44320b0b613f4f710258379da6666383a20d92556a1172971ca8340ae6d348 SHA512 5f7ce7f1ba648db834d7703e909ef65cf369d47147ca02e90b8844c31b4360dcc0fb94bbd3265632c3de8ef2b026934dd799b94a2ff3895442a2f9fc469f53db diff --git a/gnome-extra/cjs/cjs-6.0.0.ebuild b/gnome-extra/cjs/cjs-6.0.0.ebuild deleted file mode 100644 index 73c12443341d7..0000000000000 --- a/gnome-extra/cjs/cjs-6.0.0.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit flag-o-matic meson pax-utils python-any-r1 virtualx - -DESCRIPTION="Linux Mint's fork of gjs for Cinnamon" -HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cjs" -SRC_URI="https://github.com/linuxmint/cjs/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD CC0-1.0 MIT MPL-2.0 || ( MPL-1.1 GPL-2+ LGPL-2.1+ )" -SLOT="0" -IUSE="+cairo examples readline sysprof test" -KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86" - -RDEPEND=" - dev-lang/spidermonkey:102 - >=dev-libs/glib-2.66.0:2 - >=dev-libs/gobject-introspection-1.71.0:= - >=dev-libs/libffi-3.3:0= - - cairo? ( - x11-libs/cairo[glib,svg(+),X] - x11-libs/libX11 - ) - readline? ( sys-libs/readline:0= ) -" -DEPEND=" - ${RDEPEND} - sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 ) - test? ( - sys-apps/dbus - x11-libs/gtk+:3[introspection] - ) -" -BDEPEND=" - ${PYTHON_DEPS} - virtual/pkgconfig -" - -src_prepare() { - default - python_fix_shebang build -} - -src_configure() { - append-cppflags -DG_DISABLE_CAST_CHECKS - - # On musl, it's required that either gjs, pixman or gnome-shell to be built - # with a larger stack otherwise librsvg fails to render a particular SVG, as - # a result we fail to get gdm or gnome-shell running (greeted with a fail - # whale screen). The bug has been reported to librsvg. This is ideally just - # a temporary workaround until we understand what exactly needs a larger - # stack size, as it's not sufficient to do just librsvg. - # - # Please refer to: - # https://gitlab.gnome.org/GNOME/librsvg/-/issues/686 - # https://gitlab.gnome.org/GNOME/librsvg/-/issues/874 - # - # TODO: Find an actual fix instead of increasing the stack - use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 - - local emesonargs=( - $(meson_feature cairo) - $(meson_feature readline) - $(meson_feature sysprof profiler) - -Dinstalled_tests=false - $(meson_use !test skip_dbus_tests) - $(meson_use !test skip_gtk_tests) - ) - meson_src_configure -} - -src_test() { - virtx meson_src_test -} - -src_install() { - meson_src_install - - if use examples; then - docinto examples - dodoc "${S}"/examples/* - fi - - # Required for cjs-console to run correctly on PaX systems - pax-mark mr "${ED}/usr/bin/cjs-console" -} From 1bb70e58b9a7cd018f01ae4fdaae0d443253fa5e Mon Sep 17 00:00:00 2001 From: "Matthew S. Turnbull" Date: Thu, 26 Sep 2024 18:46:09 -0400 Subject: [PATCH 19/36] gnome-extra/nemo-fileroller: drop 6.0.1 Signed-off-by: Matthew S. Turnbull Signed-off-by: Eli Schwartz --- gnome-extra/nemo-fileroller/Manifest | 1 - .../nemo-fileroller-6.0.1.ebuild | 25 ------------------- 2 files changed, 26 deletions(-) delete mode 100644 gnome-extra/nemo-fileroller/nemo-fileroller-6.0.1.ebuild diff --git a/gnome-extra/nemo-fileroller/Manifest b/gnome-extra/nemo-fileroller/Manifest index 6786b2e3576ba..b08cdd8776c59 100644 --- a/gnome-extra/nemo-fileroller/Manifest +++ b/gnome-extra/nemo-fileroller/Manifest @@ -1,2 +1 @@ -DIST nemo-fileroller-6.0.1.tar.gz 448422 BLAKE2B b4cf28839e9feecdc6716327e432c862c962c5a12bce79317096054a2be7beb2b932e5efd3f31241afed58bead533a085580999da8da3a08b97d76445fee0f8e SHA512 49b1bad2f1bcbd5f299ba9c0f4a1547e6297c5bfc49a959ad87cae6a50d8bb69a4b0e93c9b865e07299cadec71613920ea4f98efde1532d1e4e8ed264d88b8e4 DIST nemo-fileroller-6.2.0.tar.gz 449642 BLAKE2B 762133790dd565b159a7a6310d2660b417c811a2d19fd2898b3e91a3eff875fa8ddb3e36b24768948da0c8438be949ce57dd18d36ea703ddb9deb978b4418a8f SHA512 b93d19820169b7e3fb3888b3bee7c5047616f1675cde3ca769663eda21d1884c3bafb1de7d22d92246f884a8484dca08075726dd70685f753b18ba97e8a6afc3 diff --git a/gnome-extra/nemo-fileroller/nemo-fileroller-6.0.1.ebuild b/gnome-extra/nemo-fileroller/nemo-fileroller-6.0.1.ebuild deleted file mode 100644 index 3beb37b48e4e4..0000000000000 --- a/gnome-extra/nemo-fileroller/nemo-fileroller-6.0.1.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit meson - -DESCRIPTION="Nemo file-roller integration" -HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/nemo-extensions" -SRC_URI="https://github.com/linuxmint/nemo-extensions/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv x86" - -DEPEND=" - >=dev-libs/glib-2.14.0:2 - >=gnome-extra/nemo-2.0.0 -" -RDEPEND=" - ${DEPEND} - app-arch/file-roller -" - -S="${WORKDIR}/nemo-extensions-${PV}/${PN}" From d82515e7fa1ecbe16c0767b0e5c40662b63e7f08 Mon Sep 17 00:00:00 2001 From: "Matthew S. Turnbull" Date: Thu, 26 Sep 2024 18:48:00 -0400 Subject: [PATCH 20/36] gnome-extra/nemo: drop 6.0.2 Signed-off-by: Matthew S. Turnbull Signed-off-by: Eli Schwartz --- gnome-extra/nemo/Manifest | 1 - .../nemo-6.0.0-fix-optional-wayland.patch | 61 -------- gnome-extra/nemo/nemo-6.0.2.ebuild | 146 ------------------ 3 files changed, 208 deletions(-) delete mode 100644 gnome-extra/nemo/files/nemo-6.0.0-fix-optional-wayland.patch delete mode 100644 gnome-extra/nemo/nemo-6.0.2.ebuild diff --git a/gnome-extra/nemo/Manifest b/gnome-extra/nemo/Manifest index 33b802ff76843..25d478fa71031 100644 --- a/gnome-extra/nemo/Manifest +++ b/gnome-extra/nemo/Manifest @@ -1,2 +1 @@ -DIST nemo-6.0.2.tar.gz 1480887 BLAKE2B d1e3892938cb81bcb676626a9ef54362939d522a6d09befe25dd77a236a7eee3e06461da1855317bff2a5f201bc142903ce085bfbafdbddca0700a177221ccdf SHA512 05e8a6ab785f527ad61c1fe57d372ae8ea8f77d27ec8608d38e99f5f0f9065aecef4b84d1b016b682d14320d7099806d5672a101c0a370429d1c3f2a341fed1c DIST nemo-6.2.8.tar.gz 1505198 BLAKE2B fc74ab19e5aef65ba279f212f505cab91aa0dc92b19d31d4ae2f44b3222bd2278fbdf0df0bc36fa3973b91c9c06fab2c211b58c8d840deef5e60d5dbcbfa4dd7 SHA512 cd943603cfb14cc9d50466872607d191a3af7ff61f05549407caa5d9dfe606e080d6eb40d17bbcdf3a9e810bcc493f3be087b1eac6c8272746cd72c9751822af diff --git a/gnome-extra/nemo/files/nemo-6.0.0-fix-optional-wayland.patch b/gnome-extra/nemo/files/nemo-6.0.0-fix-optional-wayland.patch deleted file mode 100644 index 559abbde0a47b..0000000000000 --- a/gnome-extra/nemo/files/nemo-6.0.0-fix-optional-wayland.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 1d74919f2657bdb0414d5bf631f6fb1207b261a9 Mon Sep 17 00:00:00 2001 -From: Sparky Bluefang -Date: Sun, 7 Jan 2024 18:14:22 -0500 -Subject: [PATCH] Make wayland dependency optional - ---- - eel/eel-gtk-extensions.c | 5 ++++- - meson.build | 2 +- - 2 files changed, 5 insertions(+), 2 deletions(-) - -diff --git a/eel/eel-gtk-extensions.c b/eel/eel-gtk-extensions.c -index c4fcc942a..643a51726 100644 ---- a/eel/eel-gtk-extensions.c -+++ b/eel/eel-gtk-extensions.c -@@ -38,7 +38,9 @@ - #include - #include - #include -+#ifdef GDK_WINDOWING_WAYLAND - #include -+#endif - #include - #include - #include -@@ -253,6 +255,7 @@ gboolean - eel_check_is_wayland (void) - { - static gboolean using_wayland = FALSE; -+#ifdef GDK_WINDOWING_WAYLAND - static gsize once_init = 0; - - if (g_once_init_enter (&once_init)) { -@@ -260,7 +263,7 @@ eel_check_is_wayland (void) - - g_once_init_leave (&once_init, 1); - } -- -+#endif - return using_wayland; - } - -diff --git a/meson.build b/meson.build -index bba97ee31..998229620 100644 ---- a/meson.build -+++ b/meson.build -@@ -72,7 +72,6 @@ glib_version = '>=2.45.7' - math = cc.find_library('m', required: true) - - gtk = dependency('gtk+-3.0', version: '>=3.10.0') --gtk_wl = dependency('gtk+-wayland-3.0', version: '>=3.10.0') - gio = dependency('gio-2.0', version: glib_version) - gio_unix= dependency('gio-unix-2.0', version: glib_version) - glib = dependency('glib-2.0', version: glib_version) -@@ -201,6 +200,7 @@ message('\n'.join(['', - ' libexif support: @0@'.format(libexif_enabled), - ' exempi support: @0@'.format(exempi_enabled), - ' Tracker support: @0@'.format(tracker_enabled), -+' Wayland support: @0@'.format(cc.has_header('gdk/gdkwayland.h', dependencies: gtk)), - '', - ' nemo-extension documentation: @0@'.format(gtkdoc_enabled), - ' nemo-extension introspection: @0@'.format(true), diff --git a/gnome-extra/nemo/nemo-6.0.2.ebuild b/gnome-extra/nemo/nemo-6.0.2.ebuild deleted file mode 100644 index c6bdeac5f1a2e..0000000000000 --- a/gnome-extra/nemo/nemo-6.0.2.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit meson gnome2-utils python-single-r1 readme.gentoo-r1 virtualx xdg - -DESCRIPTION="A file manager for Cinnamon, forked from Nautilus" -HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/nemo" -SRC_URI="https://github.com/linuxmint/nemo/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+ FDL-1.1" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86" -IUSE="exif gtk-doc +nls selinux test tracker wayland xmp" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# https://github.com/linuxmint/nemo/issues/2501 -RESTRICT="test" - -COMMON_DEPEND=" - ${PYTHON_DEPS} - >=app-accessibility/at-spi2-core-2.46.0:2 - >=dev-libs/glib-2.45.7:2[dbus] - >=dev-libs/gobject-introspection-0.9.12:= - >=dev-libs/libxml2-2.7.8:2 - >=gnome-extra/cinnamon-desktop-6.0:0= - gnome-extra/libgsf:= - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - >=x11-libs/gtk+-3.10.0:3[introspection,wayland=] - x11-libs/libX11 - >=x11-libs/pango-1.40.0 - >=x11-libs/xapp-2.8.2 - - exif? ( - >=media-libs/libexif-0.6.20 - ) - selinux? ( - sys-libs/libselinux - ) - tracker? ( - app-misc/tracker:3 - ) - xmp? ( - >=media-libs/exempi-2.2.0:= - ) -" -RDEPEND=" - ${COMMON_DEPEND} - $(python_gen_cond_dep ' - dev-python/pygobject:3[${PYTHON_USEDEP}] - ') - x11-themes/adwaita-icon-theme - - nls? ( - >=gnome-extra/cinnamon-translations-6.0 - ) -" -PDEPEND=" - >=gnome-base/gvfs-0.1.2 -" -DEPEND=" - ${COMMON_DEPEND} - x11-base/xorg-proto -" -BDEPEND=" - >=dev-util/gdbus-codegen-2.31.0 - >=dev-util/intltool-0.40.1 - sys-devel/gettext - virtual/pkgconfig - - gtk-doc? ( - dev-util/gtk-doc - ) -" - -PATCHES=( - # Undo the switch to untex as it's not packaged. - "${FILESDIR}/${PN}-5.0.3-use-detex.patch" - - # Fix optional wayland - # https://github.com/linuxmint/nemo/pull/3347 - "${FILESDIR}/${PN}-6.0.0-fix-optional-wayland.patch" -) - -DISABLE_AUTOFORMATTING="yes" -FORCE_PRINT_ELOG="yes" -DOC_CONTENTS=" -${PN} functionality can be extended by installing other packages. - -sys-apps/gnome-disk-utility - Mount archive files -gnome-extra/nemo-fileroller - Extract/Create archive files - -${PN} search capabilities can be extended through external -helpers. Install any of the following packages to make -their associated file types searchable. - -epub - app-arch/unzip and app-text/html2text -Image metadata - media-gfx/exif -MP3 tags - media-sound/id3 -Microsoft Office .doc - app-text/catdoc -Microsoft Office .xls - dev-python/xlrd -OpenDocument/LibreOffice - app-text/odt2txt or app-office/unoconv -PDF - app-text/poppler[utils] -PostScript - app-text/ghostscript-gpl -TeX - app-text/texlive-core -" - -src_prepare() { - default - python_fix_shebang files/usr/share/nemo/actions install-scripts -} - -src_configure() { - local emesonargs=( - $(meson_use exif) - $(meson_use xmp) - $(meson_use selinux) - $(meson_use tracker) - $(meson_use gtk-doc gtk_doc) - ) - meson_src_configure -} - -src_install() { - meson_src_install - readme.gentoo_create_doc -} - -src_test() { - virtx meson_src_test -} - -pkg_postinst() { - xdg_pkg_postinst - gnome2_schemas_update - readme.gentoo_print_elog -} - -pkg_postrm() { - xdg_pkg_postrm - gnome2_schemas_update -} From 6ec588504e60f2112ee7498887ab014e3e8f213d Mon Sep 17 00:00:00 2001 From: "Matthew S. Turnbull" Date: Thu, 26 Sep 2024 18:41:35 -0400 Subject: [PATCH 21/36] gnome-extra/cinnamon-control-center: drop 6.0.0-r1 Signed-off-by: Matthew S. Turnbull Signed-off-by: Eli Schwartz --- gnome-extra/cinnamon-control-center/Manifest | 1 - .../cinnamon-control-center-6.0.0-r1.ebuild | 123 ------------------ .../cinnamon-control-center-6.0.0-c99.patch | 21 --- ...ol-center-6.0.0-fix-optional-wayland.patch | 48 ------- .../cinnamon-control-center/metadata.xml | 1 - 5 files changed, 194 deletions(-) delete mode 100644 gnome-extra/cinnamon-control-center/cinnamon-control-center-6.0.0-r1.ebuild delete mode 100644 gnome-extra/cinnamon-control-center/files/cinnamon-control-center-6.0.0-c99.patch delete mode 100644 gnome-extra/cinnamon-control-center/files/cinnamon-control-center-6.0.0-fix-optional-wayland.patch diff --git a/gnome-extra/cinnamon-control-center/Manifest b/gnome-extra/cinnamon-control-center/Manifest index d035bb584cf36..acff82b0bbb79 100644 --- a/gnome-extra/cinnamon-control-center/Manifest +++ b/gnome-extra/cinnamon-control-center/Manifest @@ -1,2 +1 @@ -DIST cinnamon-control-center-6.0.0.tar.gz 3821056 BLAKE2B b856e4c258a76aa5e558cca53ac333df81ae135d731a5de65470282e741a95f2c179fbd9f28e8bb26824de5ee1f9b9fcb0143fee1760800149a345085c45f11b SHA512 e49b72590418da63c6db9c4224e6a32f9014bf4a4810e3a89babaa21d211ade135912e7be1a356c57328d85774517e0f696c724e62b2d3581c5f73c8a88cf486 DIST cinnamon-control-center-6.2.0.tar.gz 3813695 BLAKE2B 4ddc97e600b2643ee16477165171f5251f7004d53524a77ec5d363717b84cec61c5bd83334a6dbb261d6ef40bd927fcdf6ef779953ad549881871f2f0e70471e SHA512 815158d057267956470d858cfb62e527c3655adce08e1f9b928f3d8b8b43ffc15d04ab1b11d5603dc75e7347925067e9627cc199f0328ccacd0421112de3b7b4 diff --git a/gnome-extra/cinnamon-control-center/cinnamon-control-center-6.0.0-r1.ebuild b/gnome-extra/cinnamon-control-center/cinnamon-control-center-6.0.0-r1.ebuild deleted file mode 100644 index 26f3280b84124..0000000000000 --- a/gnome-extra/cinnamon-control-center/cinnamon-control-center-6.0.0-r1.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit meson gnome2-utils python-any-r1 xdg virtualx - -DESCRIPTION="Cinnamons's main interface to configure various aspects of the desktop" -HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-control-center" -SRC_URI="https://github.com/linuxmint/cinnamon-control-center/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+ MIT" -SLOT="0" -IUSE="+colord input_devices_wacom +networkmanager +modemmanager gnome-online-accounts systemd test wayland" -REQUIRED_USE="modemmanager? ( networkmanager )" -KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86" -RESTRICT="test" - -COMMON_DEPEND=" - app-accessibility/at-spi2-core:2 - >=dev-libs/glib-2.44.0:2 - >=gnome-base/libgnomekbd-3.0.0:0= - >=gnome-extra/cinnamon-desktop-6.0:0= - >=gnome-extra/cinnamon-menus-6.0 - media-libs/fontconfig - >=sys-auth/polkit-0.103 - >=sys-power/upower-0.99.8:= - >=x11-libs/gdk-pixbuf-2.23.0:2 - >=x11-libs/gtk+-3.16.0:3[wayland=] - >=dev-libs/libgudev-232 - >=x11-libs/libnotify-0.7.3 - x11-libs/cairo - x11-libs/libX11 - >=x11-libs/libxklavier-5.1:= - x11-libs/pango - - colord? ( - >=x11-misc/colord-0.1.14:0= - ) - input_devices_wacom? ( - >=dev-libs/libwacom-0.7:= - >=x11-libs/libXi-1.2 - ) - networkmanager? ( - >=gnome-extra/nm-applet-1.2.0 - >=net-libs/libnma-1.8.34 - >=net-misc/networkmanager-1.2.0[modemmanager?] - - modemmanager? ( - >=net-misc/modemmanager-0.7:= - ) - ) - gnome-online-accounts? ( - >=net-libs/gnome-online-accounts-3.18.0:= - ) -" -RDEPEND=" - ${COMMON_DEPEND} - x11-themes/adwaita-icon-theme - - colord? ( - >=gnome-extra/gnome-color-manager-3 - ) - input_devices_wacom? ( - gnome-extra/cinnamon-settings-daemon[input_devices_wacom] - ) - systemd? ( - >=sys-apps/systemd-31 - ) - !systemd? ( - app-admin/openrc-settingsd - ) -" -DEPEND=" - ${COMMON_DEPEND} - app-text/iso-codes - x11-base/xorg-proto -" -BDEPEND=" - ${PYTHON_DEPS} - dev-util/glib-utils - >=sys-devel/gettext-0.17 - virtual/pkgconfig -" - -PATCHES=( - # Fix optional wayland - # https://github.com/linuxmint/cinnamon-control-center/pull/323 - "${FILESDIR}/${PN}-6.0.0-fix-optional-wayland.patch" - "${FILESDIR}/${PN}-6.0.0-c99.patch" -) - -src_prepare() { - default - python_fix_shebang meson_install_schemas.py -} - -src_configure() { - local emesonargs=( - $(meson_use colord color) - $(meson_use modemmanager) - $(meson_use networkmanager) - $(meson_use gnome-online-accounts onlineaccounts) - $(meson_use input_devices_wacom wacom) - ) - meson_src_configure -} - -src_test() { - virtx meson_src_test -} - -pkg_postinst() { - xdg_pkg_postinst - gnome2_schemas_update -} - -pkg_postrm() { - xdg_pkg_postinst - gnome2_schemas_update -} diff --git a/gnome-extra/cinnamon-control-center/files/cinnamon-control-center-6.0.0-c99.patch b/gnome-extra/cinnamon-control-center/files/cinnamon-control-center-6.0.0-c99.patch deleted file mode 100644 index b5a73ae3186df..0000000000000 --- a/gnome-extra/cinnamon-control-center/files/cinnamon-control-center-6.0.0-c99.patch +++ /dev/null @@ -1,21 +0,0 @@ -https://bugs.gentoo.org/919085 -https://github.com/linuxmint/cinnamon-control-center/commit/0361ff2974eb4741f3cd8b6db00dbe1ab56c8a59 - -From 0361ff2974eb4741f3cd8b6db00dbe1ab56c8a59 Mon Sep 17 00:00:00 2001 -From: Leigh Scott -Date: Thu, 18 Jan 2024 21:30:28 +0000 -Subject: [PATCH] network: Fix warning about missing cast to GtkWidget* (#324) - -Based on https://github.com/GNOME/gnome-control-center/commit/167d11e2107e46b4621cf6fc370c5b191b4b7732 ---- a/panels/network/connection-editor/net-connection-editor.c -+++ b/panels/network/connection-editor/net-connection-editor.c -@@ -845,7 +845,7 @@ net_connection_editor_new (GtkWindow *parent_window, - editor = g_object_new (NET_TYPE_CONNECTION_EDITOR, NULL); - - if (parent_window) { -- editor->parent_window = g_object_ref (parent_window); -+ editor->parent_window = GTK_WIDGET (g_object_ref (parent_window)); - gtk_window_set_transient_for (GTK_WINDOW (editor->window), - parent_window); - } - diff --git a/gnome-extra/cinnamon-control-center/files/cinnamon-control-center-6.0.0-fix-optional-wayland.patch b/gnome-extra/cinnamon-control-center/files/cinnamon-control-center-6.0.0-fix-optional-wayland.patch deleted file mode 100644 index 2aab3af021468..0000000000000 --- a/gnome-extra/cinnamon-control-center/files/cinnamon-control-center-6.0.0-fix-optional-wayland.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 1f90a561e4ba0e7431aeb64602e293b05a09be15 Mon Sep 17 00:00:00 2001 -From: Sparky Bluefang -Date: Sun, 7 Jan 2024 21:46:36 -0500 -Subject: [PATCH] Fix optional wayland handling in cc-display-panel - ---- - meson.build | 1 + - panels/display/cc-display-panel.c | 6 ++++++ - 2 files changed, 7 insertions(+) - -diff --git a/meson.build b/meson.build -index 6c3d5e3..11aafd5 100644 ---- a/meson.build -+++ b/meson.build -@@ -196,6 +196,7 @@ final_message = [ '', - '** Colord support (Color management panel) : @0@'.format(colord.found()), - '** Wacom support (Wacom panel) : @0@'.format(libwacom.found()), - '** Online-Accounts support (Online-Accounts panel) : @0@'.format(goa.found()), -+ '** Wayland support : @0@'.format(cc.has_header('gdk/gdkwayland.h', dependencies: gtk)), - '', - ] - message('\n'.join(final_message)) -diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c -index 5a513b4..0676f66 100644 ---- a/panels/display/cc-display-panel.c -+++ b/panels/display/cc-display-panel.c -@@ -28,7 +28,9 @@ - - #include - #include -+#ifdef GDK_WINDOWING_WAYLAND - #include -+#endif - - #include - -@@ -114,7 +116,11 @@ struct _CcDisplayPanel - - CC_PANEL_REGISTER (CcDisplayPanel, cc_display_panel) - -+#ifdef GDK_WINDOWING_WAYLAND - #define WAYLAND_SESSION() (GDK_IS_WAYLAND_DISPLAY (gdk_display_get_default())) -+#else -+#define WAYLAND_SESSION() (FALSE) -+#endif - - static void update_bottom_buttons (CcDisplayPanel *panel); - static void apply_current_configuration (CcDisplayPanel *self); diff --git a/gnome-extra/cinnamon-control-center/metadata.xml b/gnome-extra/cinnamon-control-center/metadata.xml index 05d588225e680..10edebb3fffb6 100644 --- a/gnome-extra/cinnamon-control-center/metadata.xml +++ b/gnome-extra/cinnamon-control-center/metadata.xml @@ -13,7 +13,6 @@ linuxmint/cinnamon-control-center - Enable configuration panel for net-libs/gnome-online-accounts accounts Enable support for mobile broadband devices using net-misc/modemmanager From ea5975f28744e79cc270a6d5ec78dea99db00259 Mon Sep 17 00:00:00 2001 From: "Matthew S. Turnbull" Date: Thu, 26 Sep 2024 18:45:06 -0400 Subject: [PATCH 22/36] gnome-extra/cinnamon-session: drop 6.0.4 Signed-off-by: Matthew S. Turnbull Signed-off-by: Eli Schwartz --- gnome-extra/cinnamon-session/Manifest | 1 - .../cinnamon-session-6.0.4.ebuild | 94 ------ ...ence.c-Fix-CsmPresence-idle-handling.patch | 303 ------------------ ...n-session-6.0.0-fix-optional-systemd.patch | 21 -- 4 files changed, 419 deletions(-) delete mode 100644 gnome-extra/cinnamon-session/cinnamon-session-6.0.4.ebuild delete mode 100644 gnome-extra/cinnamon-session/files/0001-cs-presence.c-Fix-CsmPresence-idle-handling.patch delete mode 100644 gnome-extra/cinnamon-session/files/cinnamon-session-6.0.0-fix-optional-systemd.patch diff --git a/gnome-extra/cinnamon-session/Manifest b/gnome-extra/cinnamon-session/Manifest index 9eef2a91b9e42..0e36ea5d0ff14 100644 --- a/gnome-extra/cinnamon-session/Manifest +++ b/gnome-extra/cinnamon-session/Manifest @@ -1,2 +1 @@ -DIST cinnamon-session-6.0.4.tar.gz 165520 BLAKE2B fa608de433a4d47db102b1f11c716da8afeabd5772b7e957449297629e39bc215124acd2f0f94afe91763590ab92b06a3bce8dd1a6bad3997b9496b4114a36fa SHA512 cd8ac8579f9311f5234dad17fb32d40a1c58da2292734e58c4832d94a8b0687e4909f5886c2db0dab1e0c396f12c3495a8d966e76373ac26f3bd9795efcd1f1f DIST cinnamon-session-6.2.1.tar.gz 166106 BLAKE2B ef7bb345f6c32f5402d9ff5dca152455a861e41e4fc5a77d1184f75ef17b70ab78bd3cfc9f63265703153d86217b5cd0a679f50add722110c47f7246050ca68f SHA512 bc0e69b938920149c26e2470aab9c2290b3b7ecea8a6e8249683402eb07af0c3a88c42cb86723d422dd14442246e841469010a05e808e675ff0e7ff1cc834224 diff --git a/gnome-extra/cinnamon-session/cinnamon-session-6.0.4.ebuild b/gnome-extra/cinnamon-session/cinnamon-session-6.0.4.ebuild deleted file mode 100644 index a970f6adc9cef..0000000000000 --- a/gnome-extra/cinnamon-session/cinnamon-session-6.0.4.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit meson gnome2-utils python-single-r1 xdg-utils - -DESCRIPTION="Cinnamon session manager" -HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-session" -SRC_URI="https://github.com/linuxmint/cinnamon-session/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+ LGPL-2+" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86" -IUSE="systemd" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -COMMON_DEPEND=" - >=dev-libs/glib-2.37.3:2 - >=gnome-extra/cinnamon-desktop-6.0:0= - media-libs/libcanberra[pulseaudio] - virtual/opengl - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - >=x11-libs/gtk+-3:3[introspection] - x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libXau - x11-libs/libXcomposite - x11-libs/libXext - x11-libs/libXrender - x11-libs/libXtst - x11-libs/pango[X] - >=x11-libs/xapp-2.8.1[introspection] - - systemd? ( - >=sys-apps/systemd-183 - ) - !systemd? ( - sys-auth/elogind[policykit] - ) -" -DEPEND=" - ${COMMON_DEPEND} - x11-libs/xtrans -" -RDEPEND=" - ${COMMON_DEPEND} - ${PYTHON_DEPS} - dev-libs/gobject-introspection - $(python_gen_cond_dep ' - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/setproctitle[${PYTHON_USEDEP}] - ') -" -BDEPEND=" - ${PYTHON_DEPS} - dev-util/gdbus-codegen - virtual/pkgconfig -" - -PATCHES=( - # Fix bad systemd include - # https://github.com/linuxmint/cinnamon-session/pull/164 - "${FILESDIR}/${PN}-6.0.0-fix-optional-systemd.patch" - # fix crash on idle - "${FILESDIR}"/0001-cs-presence.c-Fix-CsmPresence-idle-handling.patch -) - -src_prepare() { - default - python_fix_shebang data cinnamon-session-quit -} - -src_configure() { - local emesonargs=( - -Dipv6=true - -Dxtrans=true - ) - meson_src_configure -} - -pkg_postinst() { - xdg_icon_cache_update - gnome2_schemas_update -} - -pkg_postrm() { - xdg_icon_cache_update - gnome2_schemas_update -} diff --git a/gnome-extra/cinnamon-session/files/0001-cs-presence.c-Fix-CsmPresence-idle-handling.patch b/gnome-extra/cinnamon-session/files/0001-cs-presence.c-Fix-CsmPresence-idle-handling.patch deleted file mode 100644 index 01a194f7cb7be..0000000000000 --- a/gnome-extra/cinnamon-session/files/0001-cs-presence.c-Fix-CsmPresence-idle-handling.patch +++ /dev/null @@ -1,303 +0,0 @@ -From 55e9291629cc028793e22b738214ecababe65c4b Mon Sep 17 00:00:00 2001 -From: Michael Webster -Date: Wed, 24 Jan 2024 09:14:01 -0500 -Subject: [PATCH] cs-presence.c: Fix CsmPresence idle handling. - -Idle detection was broken since 5.4, as gnome-idle-monitor (in -libcinnamon-desktop) was looking for the wrong muffin interface -names. - -This file was also adapted incompletely to the new idle-monitor -API. - -requires: -linuxmint/cinnamon-desktop@d0f8c74a7864786cf04 ---- - cinnamon-session/csm-presence.c | 130 +++++++++++++++++++------------- - cinnamon-session/csm-presence.h | 6 -- - 2 files changed, 77 insertions(+), 59 deletions(-) - -diff --git a/cinnamon-session/csm-presence.c b/cinnamon-session/csm-presence.c -index 1fd3d7c..69da703 100644 ---- a/cinnamon-session/csm-presence.c -+++ b/cinnamon-session/csm-presence.c -@@ -64,16 +64,12 @@ struct CsmPresencePrivate - - enum { - PROP_0, -- PROP_STATUS, -- PROP_STATUS_TEXT, - PROP_IDLE_ENABLED, - PROP_IDLE_TIMEOUT, - }; - -- - enum { - STATUS_CHANGED, -- STATUS_TEXT_CHANGED, - LAST_SIGNAL - }; - -@@ -99,6 +95,10 @@ csm_presence_error_quark (void) - return quark_volatile; - } - -+static void idle_became_active_cb (GnomeIdleMonitor *idle_monitor, -+ guint id, -+ gpointer user_data); -+ - static gboolean - csm_presence_set_status_text (CsmPresence *presence, - const char *status_text, -@@ -120,6 +120,8 @@ csm_presence_set_status_text (CsmPresence *presence, - - if (status_text != NULL) { - presence->priv->status_text = g_strdup (status_text); -+ } else { -+ presence->priv->status_text = g_strdup (""); - } - - csm_exported_presence_set_status_text (presence->priv->skeleton, presence->priv->status_text); -@@ -128,11 +130,11 @@ csm_presence_set_status_text (CsmPresence *presence, - return TRUE; - } - --static gboolean -+static void - csm_presence_set_status (CsmPresence *presence, - guint status) - { -- g_return_val_if_fail (CSM_IS_PRESENCE (presence), FALSE); -+ g_return_if_fail (CSM_IS_PRESENCE (presence)); - - if (status != presence->priv->status) { - presence->priv->status = status; -@@ -140,7 +142,6 @@ csm_presence_set_status (CsmPresence *presence, - csm_exported_presence_emit_status_changed (presence->priv->skeleton, presence->priv->status); - g_signal_emit (presence, signals[STATUS_CHANGED], 0, presence->priv->status); - } -- return TRUE; - } - - static void -@@ -158,6 +159,11 @@ set_session_idle (CsmPresence *presence, - /* save current status */ - presence->priv->saved_status = presence->priv->status; - csm_presence_set_status (presence, CSM_PRESENCE_STATUS_IDLE); -+ -+ gnome_idle_monitor_add_user_active_watch (presence->priv->idle_monitor, -+ idle_became_active_cb, -+ presence, -+ NULL); - } else { - if (presence->priv->status != CSM_PRESENCE_STATUS_IDLE) { - g_debug ("CsmPresence: already not idle, ignoring"); -@@ -171,27 +177,27 @@ set_session_idle (CsmPresence *presence, - } - } - --static gboolean --on_idle_timeout (GnomeIdleMonitor *monitor, -- guint id, -- gboolean condition, -- CsmPresence *presence) -+static void -+idle_became_idle_cb (GnomeIdleMonitor *idle_monitor, -+ guint id, -+ gpointer user_data) - { -- gboolean handled; -- -- handled = TRUE; -- set_session_idle (presence, condition); -+ CsmPresence *presence = user_data; -+ set_session_idle (presence, TRUE); -+} - -- return handled; -+static void -+idle_became_active_cb (GnomeIdleMonitor *idle_monitor, -+ guint id, -+ gpointer user_data) -+{ -+ CsmPresence *presence = user_data; -+ set_session_idle (presence, FALSE); - } - - static void - reset_idle_watch (CsmPresence *presence) - { -- if (presence->priv->idle_monitor == NULL) { -- return; -- } -- - if (presence->priv->idle_watch_id > 0) { - g_debug ("CsmPresence: removing idle watch (%i)", presence->priv->idle_watch_id); - gnome_idle_monitor_remove_watch (presence->priv->idle_monitor, -@@ -199,12 +205,11 @@ reset_idle_watch (CsmPresence *presence) - presence->priv->idle_watch_id = 0; - } - -- if (! presence->priv->screensaver_active -- && presence->priv->idle_enabled -+ if (presence->priv->idle_enabled - && presence->priv->idle_timeout > 0) { - presence->priv->idle_watch_id = gnome_idle_monitor_add_idle_watch (presence->priv->idle_monitor, - presence->priv->idle_timeout, -- (GnomeIdleMonitorWatchFunc) on_idle_timeout, -+ idle_became_idle_cb, - presence, - NULL); - g_debug ("CsmPresence: adding idle watch (%i) for %d secs", -@@ -229,11 +234,36 @@ on_screensaver_g_signal (GDBusProxy *proxy, - g_variant_get (parameters, - "(b)", &is_active); - -- g_debug ("screensaver status changed: %d", is_active); -+ if (presence->priv->screensaver_active != is_active) { -+ presence->priv->screensaver_active = is_active; -+ set_session_idle (presence, is_active); -+ } -+} -+ -+static void -+screensaver_get_active_cb (GDBusProxy *screensaver_proxy, -+ GAsyncResult *res, -+ CsmPresence *presence) -+{ -+ g_autoptr(GVariant) data = NULL; -+ g_autoptr(GError) error = NULL; -+ gboolean is_active; - -+ data = g_dbus_proxy_call_finish (screensaver_proxy, res, &error); -+ if (!data) { -+ if (error) { -+ g_warning ("Could not retrieve current screensaver active state: %s", -+ error->message); -+ } else { -+ g_warning ("Could not retrieve current screensaver active state!"); -+ } -+ -+ return; -+ } -+ -+ g_variant_get (data, "(b)", &is_active); - if (presence->priv->screensaver_active != is_active) { - presence->priv->screensaver_active = is_active; -- reset_idle_watch (presence); - set_session_idle (presence, is_active); - } - } -@@ -248,14 +278,25 @@ on_screensaver_name_owner_changed (GDBusProxy *proxy, - - presence = CSM_PRESENCE (user_data); - name_owner = g_dbus_proxy_get_name_owner (proxy); -+ if (name_owner == NULL) { -+ g_debug ("Detected that screensaver has left the bus"); - -- if (name_owner && g_strcmp0 (name_owner, CS_NAME)) { -- g_warning ("Detected that screensaver has appeared on the bus"); -- } else { -- g_warning ("Detected that screensaver has left the bus"); -+ presence->priv->screensaver_active = FALSE; - set_session_idle (presence, FALSE); -- reset_idle_watch (presence); -+ } else { -+ g_debug ("Detected that screensaver has aquired the bus"); -+ -+ g_dbus_proxy_call (presence->priv->screensaver_proxy, -+ "GetActive", -+ NULL, -+ G_DBUS_CALL_FLAGS_NO_AUTO_START, -+ 1000, -+ NULL, -+ (GAsyncReadyCallback) screensaver_get_active_cb, -+ presence); - } -+ -+ g_free (name_owner); - } - - static gboolean -@@ -352,7 +393,8 @@ csm_presence_constructor (GType type, - } - - presence->priv->screensaver_proxy = g_dbus_proxy_new_sync (presence->priv->connection, -- G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START, -+ G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START | -+ G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES, - NULL, - CS_NAME, - CS_PATH, -@@ -424,12 +466,6 @@ csm_presence_set_property (GObject *object, - self = CSM_PRESENCE (object); - - switch (prop_id) { -- case PROP_STATUS: -- csm_presence_set_status (self, g_value_get_uint (value)); -- break; -- case PROP_STATUS_TEXT: -- csm_presence_set_status_text (self, g_value_get_string (value), NULL); -- break; - case PROP_IDLE_ENABLED: - csm_presence_set_idle_enabled (self, g_value_get_boolean (value)); - break; -@@ -453,12 +489,6 @@ csm_presence_get_property (GObject *object, - self = CSM_PRESENCE (object); - - switch (prop_id) { -- case PROP_STATUS: -- g_value_set_uint (value, self->priv->status); -- break; -- case PROP_STATUS_TEXT: -- g_value_set_string (value, self->priv->status_text ? self->priv->status_text : ""); -- break; - case PROP_IDLE_ENABLED: - g_value_set_boolean (value, self->priv->idle_enabled); - break; -@@ -482,15 +512,9 @@ csm_presence_finalize (GObject *object) - presence->priv->idle_watch_id = 0; - } - -- if (presence->priv->status_text != NULL) { -- g_free (presence->priv->status_text); -- presence->priv->status_text = NULL; -- } -- -- if (presence->priv->idle_monitor != NULL) { -- g_object_unref (presence->priv->idle_monitor); -- presence->priv->idle_monitor = NULL; -- } -+ g_clear_pointer (&presence->priv->status_text, g_free); -+ g_clear_object (&presence->priv->idle_monitor); -+ g_clear_object (&presence->priv->screensaver_proxy); - - G_OBJECT_CLASS (csm_presence_parent_class)->finalize (object); - } -diff --git a/cinnamon-session/csm-presence.h b/cinnamon-session/csm-presence.h -index 41de5aa..d2713ab 100644 ---- a/cinnamon-session/csm-presence.h -+++ b/cinnamon-session/csm-presence.h -@@ -50,9 +50,6 @@ struct _CsmPresenceClass - - void (* status_changed) (CsmPresence *presence, - guint status); -- void (* status_text_changed) (CsmPresence *presence, -- const char *status_text); -- - }; - - typedef enum { -@@ -69,9 +66,6 @@ typedef enum - } CsmPresenceError; - - #define CSM_PRESENCE_ERROR csm_presence_error_quark () --GType csm_presence_error_get_type (void); --#define CSM_PRESENCE_TYPE_ERROR (csm_presence_error_get_type ()) -- - GQuark csm_presence_error_quark (void); - - GType csm_presence_get_type (void) G_GNUC_CONST; --- -2.44.2 - diff --git a/gnome-extra/cinnamon-session/files/cinnamon-session-6.0.0-fix-optional-systemd.patch b/gnome-extra/cinnamon-session/files/cinnamon-session-6.0.0-fix-optional-systemd.patch deleted file mode 100644 index cee6e14b8fe12..0000000000000 --- a/gnome-extra/cinnamon-session/files/cinnamon-session-6.0.0-fix-optional-systemd.patch +++ /dev/null @@ -1,21 +0,0 @@ -From 44ac74ea7e771a35a41235b4e7d2539d4521b626 Mon Sep 17 00:00:00 2001 -From: Sparky Bluefang -Date: Tue, 2 Jan 2024 23:26:20 -0500 -Subject: [PATCH] Remove orphaned include - ---- - cinnamon-session/main.c | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/cinnamon-session/main.c b/cinnamon-session/main.c -index 49d1e32..802a1ae 100644 ---- a/cinnamon-session/main.c -+++ b/cinnamon-session/main.c -@@ -40,7 +40,6 @@ - #include "csm-session-fill.h" - #include "csm-store.h" - #include "csm-system.h" --#include - - #define CSM_DBUS_NAME "org.gnome.SessionManager" - From e90cea631f3a2d3c3c3c72f1098c119bb3d3a966 Mon Sep 17 00:00:00 2001 From: "Matthew S. Turnbull" Date: Thu, 26 Sep 2024 18:38:55 -0400 Subject: [PATCH 23/36] gnome-extra/cinnamon-screensaver: drop 6.0.3 Signed-off-by: Matthew S. Turnbull Signed-off-by: Eli Schwartz --- gnome-extra/cinnamon-screensaver/Manifest | 1 - .../cinnamon-screensaver-6.0.3.ebuild | 78 ------------------- 2 files changed, 79 deletions(-) delete mode 100644 gnome-extra/cinnamon-screensaver/cinnamon-screensaver-6.0.3.ebuild diff --git a/gnome-extra/cinnamon-screensaver/Manifest b/gnome-extra/cinnamon-screensaver/Manifest index d8e55ede1be8b..515b307943f56 100644 --- a/gnome-extra/cinnamon-screensaver/Manifest +++ b/gnome-extra/cinnamon-screensaver/Manifest @@ -1,3 +1,2 @@ -DIST cinnamon-screensaver-6.0.3.tar.gz 161006 BLAKE2B 4f88cf0ca72384fbff2ce1f55047b6d53704bf55b2a3bfd5c942c19bcfbe9249c07e9fc1f08246c0e55c6b2110f543157ec87028789e58d752ff21d54d347ae2 SHA512 556b8eeac280001273460e5f1f5d1e5dbdf003ff95ad1ec9c3217316a6197520a32cd05d61a395daef066f13c8c9c89ebb9057779dd845bd597c207492fd91ef DIST cinnamon-screensaver-6.2.0.tar.gz 161045 BLAKE2B c0afe57912ed9cfc579defa4ea450c5ab79c0761f4babc9ad9c745d1c71c24ba9bcd77cd952d8e7c1ebd317025d3cf3bacc24c87e2757a94582337dc4645c814 SHA512 a7a6163be7de5fd7b58ed1aeb76610476f872f5372489a8ce724c92fa2a26ce418546ca9ae39a97dac9cf922ef13e5faf34bcbc087382db1e6fc50c02d6c8b21 DIST cinnamon-screensaver-6.2.1.tar.gz 161088 BLAKE2B 86159f06e44bd58ca443457109c1345ba3021d1b8aa339d315da45fad994e8fccf59fffdc8bef3edefebf42a6ea4ab632354ef5a8f7c10f6d4d70ab517fce3bb SHA512 4033d1170b4ef359dc8a6d529b40e40fa5bb630f4900eaf5d45c73d7caadde00345811bc5b8f347bfc184f16abbdb232ebf71bb911c713bb00ced557115fd300 diff --git a/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-6.0.3.ebuild b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-6.0.3.ebuild deleted file mode 100644 index 5e0bcc771c40b..0000000000000 --- a/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-6.0.3.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit meson python-single-r1 xdg - -DESCRIPTION="Screensaver for Cinnamon" -HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-screensaver" -SRC_URI="https://github.com/linuxmint/cinnamon-screensaver/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+ LGPL-2+ MIT" -SLOT="0" -IUSE="systemd xinerama" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86" - -COMMON_DEPEND=" - ${PYTHON_DEPS} - >=dev-libs/glib-2.37.3:2[dbus] - >=gnome-extra/cinnamon-desktop-6.0 - sys-libs/pam - >=x11-libs/gtk+-3.22:3[introspection] - x11-libs/cairo - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXrandr - x11-libs/pango - x11-misc/xdotool - x11-themes/adwaita-icon-theme - - xinerama? ( x11-libs/libXinerama ) -" -RDEPEND=" - ${COMMON_DEPEND} - >=app-accessibility/caribou-0.3 - sys-apps/accountsservice - sys-process/procps - x11-apps/xprop - $(python_gen_cond_dep ' - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/setproctitle[${PYTHON_USEDEP}] - >=dev-python/python3-xapp-2.4.1[${PYTHON_USEDEP}] - ') - - systemd? ( >=sys-apps/systemd-31 ) - !systemd? ( sys-auth/elogind ) -" -DEPEND=" - ${COMMON_DEPEND} - x11-base/xorg-proto -" -BDEPEND=" - dev-util/gdbus-codegen - sys-apps/dbus - sys-devel/gettext - virtual/pkgconfig -" - -src_prepare() { - default - python_fix_shebang install-scripts src -} - -src_configure() { - local emesonargs=( - $(meson_use xinerama) - ) - meson_src_configure -} - -src_install() { - meson_src_install - python_optimize "${ED}"/usr/share/cinnamon-screensaver/ -} From 9241024ec5416abe4559b0305cbc151a783d9020 Mon Sep 17 00:00:00 2001 From: "Matthew S. Turnbull" Date: Thu, 26 Sep 2024 18:42:58 -0400 Subject: [PATCH 24/36] gnome-extra/cinnamon-settings-daemon: drop 6.0.0-r1 Signed-off-by: Matthew S. Turnbull Signed-off-by: Eli Schwartz --- gnome-extra/cinnamon-settings-daemon/Manifest | 1 - .../cinnamon-settings-daemon-6.0.0-r1.ebuild | 99 ------------------- .../cinnamon-settings-daemon-6.0.0-c99.patch | 26 ----- 3 files changed, 126 deletions(-) delete mode 100644 gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-6.0.0-r1.ebuild delete mode 100644 gnome-extra/cinnamon-settings-daemon/files/cinnamon-settings-daemon-6.0.0-c99.patch diff --git a/gnome-extra/cinnamon-settings-daemon/Manifest b/gnome-extra/cinnamon-settings-daemon/Manifest index 4feffe546d514..39a55c895ccda 100644 --- a/gnome-extra/cinnamon-settings-daemon/Manifest +++ b/gnome-extra/cinnamon-settings-daemon/Manifest @@ -1,2 +1 @@ -DIST cinnamon-settings-daemon-6.0.0.tar.gz 578061 BLAKE2B f05e14e9d3c15bc94df5435b0f317e1924993fbf4908491ea5a825b623c6a6f127ce20f5c31f54bfbd547a70ad645c3dbe71d9c55f790a3e0730d55bc58d6316 SHA512 44348765bf8c0cb941d177a6765aef10796d72f5c215dbffa4b514523956e257128d6bbbb0dcd9c3f0b2bcde24745e082ad82a7cee149125903e13b349c07200 DIST cinnamon-settings-daemon-6.2.0.tar.gz 578907 BLAKE2B 24b9591f5e6bbacd92f564bfb4f1960c14bca78194dd00746ff4b31f2a6b99d09a701ca939aa39b932141c7c13d998b1a061185bd7b751815dbd8b43d1fceec2 SHA512 c2102ace141448694a4d22331f1b039ccdca41988165f0e1af4446c527be89f8ae2f87e0555a0cf4fa5bbb31e5c866f0c9c7a52174a1664183695695b5eed7be diff --git a/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-6.0.0-r1.ebuild b/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-6.0.0-r1.ebuild deleted file mode 100644 index 4f9a1ab66101d..0000000000000 --- a/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-6.0.0-r1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit meson gnome2-utils python-any-r1 xdg - -DESCRIPTION="Cinnamon's settings daemon" -HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-settings-daemon" -SRC_URI="https://github.com/linuxmint/cinnamon-settings-daemon/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+ LGPL-2+ LGPL-2.1 LGPL-2.1+ MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86" -IUSE="+colord cups input_devices_wacom smartcard systemd wayland" - -RDEPEND=" - >=dev-libs/glib-2.40.0:2[dbus] - dev-libs/libgudev - >=gnome-base/libgnomekbd-3.6:= - >=gnome-extra/cinnamon-desktop-6.0:0= - media-libs/fontconfig - >=media-libs/lcms-2.2:2 - media-libs/libcanberra[gtk3,pulseaudio] - >=media-libs/libpulse-0.9.16[glib] - >=sys-auth/polkit-0.97 - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - >=x11-libs/gtk+-3.14.0:3[wayland=] - >=x11-libs/libnotify-0.7.3 - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - >=x11-libs/libxklavier-5.0:= - >=x11-libs/pango-1.20.0 - >=sys-power/upower-0.9.11:= - - colord? ( >=x11-misc/colord-0.1.27:= ) - cups? ( - >=net-print/cups-1.4[dbus] - app-admin/system-config-printer - net-print/cups-pk-helper ) - input_devices_wacom? ( - >=dev-libs/libwacom-0.7:= - >=gnome-base/librsvg-2.36.2 ) - smartcard? ( - dev-libs/nspr - >=dev-libs/nss-3.11.2 - ) - systemd? ( sys-apps/systemd:0= ) - !systemd? ( sys-auth/elogind ) -" -DEPEND=" - ${RDEPEND} - dev-libs/libxml2:2 - x11-base/xorg-proto -" -BDEPEND=" - ${PYTHON_DEPS} - dev-util/glib-utils - dev-util/gdbus-codegen - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.0.0-c99.patch -) - -src_prepare() { - default - python_fix_shebang install-scripts -} - -src_configure() { - # gudev not optional on Linux platforms - local emesonargs=( - -Duse_gudev=enabled - -Duse_polkit=enabled - -Duse_logind=enabled - $(meson_feature colord use_color) - $(meson_feature cups use_cups) - $(meson_feature smartcard use_smartcard) - $(meson_feature input_devices_wacom use_wacom) - ) - meson_src_configure -} - -pkg_postinst() { - xdg_pkg_postinst - gnome2_schemas_update -} - -pkg_postrm() { - xdg_pkg_postrm - gnome2_schemas_update -} diff --git a/gnome-extra/cinnamon-settings-daemon/files/cinnamon-settings-daemon-6.0.0-c99.patch b/gnome-extra/cinnamon-settings-daemon/files/cinnamon-settings-daemon-6.0.0-c99.patch deleted file mode 100644 index 36ce9365a5549..0000000000000 --- a/gnome-extra/cinnamon-settings-daemon/files/cinnamon-settings-daemon-6.0.0-c99.patch +++ /dev/null @@ -1,26 +0,0 @@ -https://bugs.gentoo.org/919084 -https://github.com/linuxmint/cinnamon-settings-daemon/commit/48da3c4763bea93ea3e1d2ba2e2dfdb7f41d8afc - -From 48da3c4763bea93ea3e1d2ba2e2dfdb7f41d8afc Mon Sep 17 00:00:00 2001 -From: Leigh Scott -Date: Mon, 5 Feb 2024 16:07:03 +0000 -Subject: [PATCH] Fix compile issue (#386) - -(Warning becomes an error due to gcc 14 changes) ---- a/plugins/keyboard/gkbd-configuration.c -+++ b/plugins/keyboard/gkbd-configuration.c -@@ -340,11 +340,11 @@ gkbd_configuration_get_xkl_engine (GkbdConfiguration *configuration) - const char * const * - gkbd_configuration_get_group_names (GkbdConfiguration *configuration) - { -- return configuration->priv->full_group_names; -+ return (const char * const *)configuration->priv->full_group_names; - } - - const char * const * - gkbd_configuration_get_short_group_names (GkbdConfiguration *configuration) - { -- return configuration->priv->short_group_names; -+ return (const char * const *)configuration->priv->short_group_names; - } - From 94170692a1ab16655f3062741a97ba1527051590 Mon Sep 17 00:00:00 2001 From: "Matthew S. Turnbull" Date: Thu, 26 Sep 2024 18:50:33 -0400 Subject: [PATCH 25/36] gnome-extra/cinnamon-translations: drop 6.0.2 Signed-off-by: Matthew S. Turnbull Signed-off-by: Eli Schwartz --- gnome-extra/cinnamon-translations/Manifest | 1 - .../cinnamon-translations-6.0.2.ebuild | 31 ------------------- 2 files changed, 32 deletions(-) delete mode 100644 gnome-extra/cinnamon-translations/cinnamon-translations-6.0.2.ebuild diff --git a/gnome-extra/cinnamon-translations/Manifest b/gnome-extra/cinnamon-translations/Manifest index eb9d2c9b021d5..9248b9ce7cc28 100644 --- a/gnome-extra/cinnamon-translations/Manifest +++ b/gnome-extra/cinnamon-translations/Manifest @@ -1,2 +1 @@ -DIST cinnamon-translations-6.0.2.tar.gz 13436254 BLAKE2B 50b9813c608935830c772466ad01f5818d7775467127c486c1543e2c51f4b828b536436939cd50cb68adb562aa043edaed4d10839b8e17038668e0cd87253197 SHA512 e23fe7f7da8856f3794c970671242bfdda1d84fee7357a7d30e09de15f988b9293b49dcbb44687ba4c495708b4fe067d6e8b851fac190b7f1f123ae19745f375 DIST cinnamon-translations-6.2.2.tar.gz 13640380 BLAKE2B 336b64c305e1b6f04a9cfb54283d006f171fc8dbaa112412f5f1300439e8b58ae429e8aa11ccbcf223ef008e9f7b2943180c2989b3eeac8cfafda7902bdc04aa SHA512 58f7aa285c786678fdcdbbbc4195a9c3cc7d0134535b693c6e517bda6d1afe3bd4de36eb32e75630e773d1de5a2733e069f9277daa3083572929a05190097c35 diff --git a/gnome-extra/cinnamon-translations/cinnamon-translations-6.0.2.ebuild b/gnome-extra/cinnamon-translations/cinnamon-translations-6.0.2.ebuild deleted file mode 100644 index 399bfe23a99ab..0000000000000 --- a/gnome-extra/cinnamon-translations/cinnamon-translations-6.0.2.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PLOCALES="aa af am an ar ary as ast ay az be be@latin ber bg bn bn_IN br bs ca ca@valencia crh cs csb cy da de dz el en@shaw en_AU en_CA en_GB en_IE en_NZ en_ZA eo es es_AR et eu fa fi fil fo fr fr_CA frp fur fy ga gd gl gu ha he hi hr hsb hu hy ia id ie ig is it ja jv ka kab kk km kn ko ksw ku ky la li lmo lo lt lv mai mg mi mk ml mn mnw mo mr ms my nap nb nds ne nl nn no nso oc om or pa pap pl ps pt pt_BR qu ro ru rue rw sa sc sco shn si sk sl so sq sr sr@ijekavian sr@ijekavianlatin sr@latin sv sw szl ta te tg th tk tl tlh tpi tr ts tt ug uk ur uz uz@cyrillic vi wa xh yi yo zgh zh_CN zh_HK zh_TW zu" - -inherit plocale - -DESCRIPTION="Translation data for Cinnamon" -HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-translations" -SRC_URI="https://github.com/linuxmint/cinnamon-translations/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86" - -BDEPEND="sys-devel/gettext" - -src_configure() { :; } - -src_install() { - # Cannot run before since locales are not in the expected place for this to work - plocale_find_changes "${S}"/usr/share/locale "" "" - - install_locale() { - insinto /usr/share/locale - doins -r usr/share/locale/${1} - } - plocale_for_each_locale install_locale -} From 7beecef0bbf05d39cdacb50d881b8c3ea5e34988 Mon Sep 17 00:00:00 2001 From: "Matthew S. Turnbull" Date: Thu, 26 Sep 2024 18:49:41 -0400 Subject: [PATCH 26/36] gnome-extra/cinnamon-menus: drop 6.0.0 Signed-off-by: Matthew S. Turnbull Signed-off-by: Eli Schwartz --- gnome-extra/cinnamon-menus/Manifest | 1 - .../cinnamon-menus-6.0.0.ebuild | 37 ------------------- 2 files changed, 38 deletions(-) delete mode 100644 gnome-extra/cinnamon-menus/cinnamon-menus-6.0.0.ebuild diff --git a/gnome-extra/cinnamon-menus/Manifest b/gnome-extra/cinnamon-menus/Manifest index 9934b554b1eda..a03d36ad78f97 100644 --- a/gnome-extra/cinnamon-menus/Manifest +++ b/gnome-extra/cinnamon-menus/Manifest @@ -1,2 +1 @@ -DIST cinnamon-menus-6.0.0.tar.gz 96411 BLAKE2B 08394d32e66a8e3e8f1e13a97128099c1fcfe868a52c6bdbdd9ad1c98508c441d8b354d37856dd645db8a9e8f33c3f1ad3c6033bd2f22ea33d7644594cc1559f SHA512 9b7e1f92ef451e80aebc95a2fdd0e94e352c634a09474878fb12cf0ba8a06e3b4ca522ab6b6c768b7b194cb262bad0bfd5b81557d77cb9075506de11d9de56a7 DIST cinnamon-menus-6.2.0.tar.gz 96496 BLAKE2B 151ccc6baa1d3bda7269b71d0c9d28666553a4248d4bc1dded9f669d4fe33ac6c7785b84a7f8239636c9f84a21378843e22b40d20415e009b039b53ee3b677d2 SHA512 b7132a6cabd6f4ff0d5e247585029af18712a2cb220aba93e609ffb569b79cbaf72caf1d70d22dbae576c2634be092c430f702c3bb25d6fa2768aba98900e5b9 diff --git a/gnome-extra/cinnamon-menus/cinnamon-menus-6.0.0.ebuild b/gnome-extra/cinnamon-menus/cinnamon-menus-6.0.0.ebuild deleted file mode 100644 index 9af1b5f927337..0000000000000 --- a/gnome-extra/cinnamon-menus/cinnamon-menus-6.0.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit meson xdg - -DESCRIPTION="Cinnamon's library for the Desktop Menu fd.o specification" -HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-menus" -SRC_URI="https://github.com/linuxmint/cinnamon-menus/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+ LGPL-2+" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86" -IUSE="gtk-doc" - -RDEPEND=" - >=dev-libs/glib-2.29.15:2 - >=dev-libs/gobject-introspection-1.58.3:= -" -DEPEND=" - ${RDEPEND} - dev-libs/gobject-introspection-common -" -BDEPEND=" - sys-devel/gettext - virtual/pkgconfig - - gtk-doc? ( dev-util/gtk-doc ) -" - -src_configure() { - local emesonargs=( - $(meson_use gtk-doc enable_docs) - ) - meson_src_configure -} From 9e07d03499d06bab1f6d4e9e6b19a7b030980e3d Mon Sep 17 00:00:00 2001 From: "Matthew S. Turnbull" Date: Thu, 26 Sep 2024 18:53:54 -0400 Subject: [PATCH 27/36] gnome-extra/cinnamon-desktop: drop 6.0.0 Signed-off-by: Matthew S. Turnbull Signed-off-by: Eli Schwartz --- gnome-extra/cinnamon-desktop/Manifest | 1 - .../cinnamon-desktop-6.0.0.ebuild | 74 ----------------- ...-desktop-6.0.0-fix-idle-monitor-dbus.patch | 80 ------------------- 3 files changed, 155 deletions(-) delete mode 100644 gnome-extra/cinnamon-desktop/cinnamon-desktop-6.0.0.ebuild delete mode 100644 gnome-extra/cinnamon-desktop/files/cinnamon-desktop-6.0.0-fix-idle-monitor-dbus.patch diff --git a/gnome-extra/cinnamon-desktop/Manifest b/gnome-extra/cinnamon-desktop/Manifest index 0f1af609e90cc..0d3a16060ba0c 100644 --- a/gnome-extra/cinnamon-desktop/Manifest +++ b/gnome-extra/cinnamon-desktop/Manifest @@ -1,2 +1 @@ -DIST cinnamon-desktop-6.0.0.tar.gz 509871 BLAKE2B 908b53445327cdbb5560655700e6dfa829934714167f02dda2d9d31a02ae85fcf6565704e791f67f0725e9eb76ed65ef26944d3fac2a58e3091b2afd10bb70af SHA512 35c09c6c3b9563c27561624bb731f17dd4f07b4e5aca5af39ffd56f72fa271babb4fd2cfe7080ac078b0d9141fcbc904036f3f156c547d64e68ba53eea14a471 DIST cinnamon-desktop-6.2.0.tar.gz 510369 BLAKE2B e91cc5de64cfa2b936dd224727a493f7ca9049272d7cead88f6e6682b3e11505798d340e245816386e8427712dc3159c416bc51ac6b8cdf937649f34afa247f7 SHA512 be7e4fe206fb4fa62cacf7190b5702035313346ae51a3ef985ec2046d30e0ae5b1e1d314f82d362a363c3949deab02e4d2a4ea910ffe7f279111563c224f75f7 diff --git a/gnome-extra/cinnamon-desktop/cinnamon-desktop-6.0.0.ebuild b/gnome-extra/cinnamon-desktop/cinnamon-desktop-6.0.0.ebuild deleted file mode 100644 index dad0b54da90f2..0000000000000 --- a/gnome-extra/cinnamon-desktop/cinnamon-desktop-6.0.0.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit meson gnome2-utils python-any-r1 - -DESCRIPTION="A collection of libraries and utilites used by Cinnamon" -HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-desktop" -SRC_URI="https://github.com/linuxmint/cinnamon-desktop/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-1 GPL-2+ LGPL-2+ LGPL-2.1+ MIT" -SLOT="0/4" # subslot = libcinnamon-desktop soname version -KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86" -IUSE="systemd" - -RDEPEND=" - >=dev-libs/glib-2.37.3:2[dbus] - >=dev-libs/gobject-introspection-0.10.2:= - >=gnome-base/gsettings-desktop-schemas-3.5.91 - >=media-libs/libpulse-12.99.3[glib] - sys-apps/accountsservice - sys-apps/hwdata - x11-libs/cairo[X] - >=x11-libs/gdk-pixbuf-2.22:2[introspection] - >=x11-libs/gtk+-3.3.16:3[introspection] - x11-libs/libX11 - >=x11-libs/libXext-1.1 - x11-libs/libxkbfile - >=x11-libs/libXrandr-1.3 - x11-misc/xkeyboard-config - systemd? ( - sys-apps/systemd - ) -" -DEPEND=" - ${RDEPEND} - x11-base/xorg-proto -" -BDEPEND=" - ${PYTHON_DEPS} - dev-util/gdbus-codegen - dev-util/glib-utils - sys-devel/gettext - virtual/pkgconfig -" - -PATCHES=( - # https://github.com/linuxmint/cinnamon-desktop/commit/d0f8c74a7864786cf040da31c7db83d8d2fcc5e4 - "${FILESDIR}/${PN}-6.0.0-fix-idle-monitor-dbus.patch" -) - -src_prepare() { - default - python_fix_shebang install-scripts -} - -src_configure() { - local emesonargs=( - -Dpnp_ids="${EPREFIX}/usr/share/hwdata/pnp.ids" - $(meson_feature systemd) - ) - meson_src_configure -} - -pkg_postinst() { - gnome2_schemas_update -} - -pkg_postrm() { - gnome2_schemas_update -} diff --git a/gnome-extra/cinnamon-desktop/files/cinnamon-desktop-6.0.0-fix-idle-monitor-dbus.patch b/gnome-extra/cinnamon-desktop/files/cinnamon-desktop-6.0.0-fix-idle-monitor-dbus.patch deleted file mode 100644 index 76fa5c53cde63..0000000000000 --- a/gnome-extra/cinnamon-desktop/files/cinnamon-desktop-6.0.0-fix-idle-monitor-dbus.patch +++ /dev/null @@ -1,80 +0,0 @@ -From d0f8c74a7864786cf040da31c7db83d8d2fcc5e4 Mon Sep 17 00:00:00 2001 -From: Michael Webster -Date: Mon, 15 Jan 2024 15:16:08 -0500 -Subject: [PATCH] gnome-idle-monitor.c: Fix some dbus names Mutter->Muffin. - -The session manager uses this to get notifications about idle -state changes now - instead of its own idle-monitor code (which -only worked with x11), it now relies on muffin to notify on -changes from various sources (xorg, wayland, upower). ---- - libcinnamon-desktop/gnome-idle-monitor.c | 6 +++--- - libcinnamon-desktop/idle-monitor.xml | 4 ++-- - libcinnamon-desktop/meson.build | 2 +- - 3 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/libcinnamon-desktop/gnome-idle-monitor.c b/libcinnamon-desktop/gnome-idle-monitor.c -index 71d8918..81aaaab 100644 ---- a/libcinnamon-desktop/gnome-idle-monitor.c -+++ b/libcinnamon-desktop/gnome-idle-monitor.c -@@ -67,7 +67,7 @@ G_DEFINE_TYPE_WITH_CODE (GnomeIdleMonitor, gnome_idle_monitor, G_TYPE_OBJECT, - G_IMPLEMENT_INTERFACE (G_TYPE_INITABLE, - gnome_idle_monitor_initable_iface_init)) - --#define IDLE_MONITOR_PATH "/org/gnome/Mutter/IdleMonitor/Core" -+#define IDLE_MONITOR_PATH "/org/cinnamon/Muffin/IdleMonitor/Core" - - static void - on_watch_fired (MetaDBusIdleMonitor *proxy, -@@ -256,7 +256,7 @@ on_name_appeared (GDBusConnection *connection, - meta_dbus_object_manager_client_new (connection, - G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE, - name_owner, -- "/org/gnome/Mutter/IdleMonitor", -+ "/org/cinnamon/Muffin/IdleMonitor", - monitor->priv->cancellable, - on_object_manager_ready, - monitor); -@@ -296,7 +296,7 @@ gnome_idle_monitor_initable_init (GInitable *initable, - monitor = GNOME_IDLE_MONITOR (initable); - - monitor->priv->name_watch_id = g_bus_watch_name (G_BUS_TYPE_SESSION, -- "org.gnome.Mutter.IdleMonitor", -+ "org.cinnamon.Muffin.IdleMonitor", - G_BUS_NAME_WATCHER_FLAGS_NONE, - on_name_appeared, - on_name_vanished, -diff --git a/libcinnamon-desktop/idle-monitor.xml b/libcinnamon-desktop/idle-monitor.xml -index 4bd69cb..5203883 100644 ---- a/libcinnamon-desktop/idle-monitor.xml -+++ b/libcinnamon-desktop/idle-monitor.xml -@@ -3,14 +3,14 @@ - 'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'> - - - -- -+ - - - -diff --git a/libcinnamon-desktop/meson.build b/libcinnamon-desktop/meson.build -index fbab37a..61976c9 100644 ---- a/libcinnamon-desktop/meson.build -+++ b/libcinnamon-desktop/meson.build -@@ -1,7 +1,7 @@ - dbus_idle_built_sources = gnome.gdbus_codegen('meta-dbus-idle-monitor', - 'idle-monitor.xml', - namespace: 'MetaDBus', -- interface_prefix: 'org.gnome.Muffin', -+ interface_prefix: 'org.cinnamon.Muffin', - object_manager: true - ) - From 6d732c90e308b5a832271dccc06482585af93bbc Mon Sep 17 00:00:00 2001 From: "Matthew S. Turnbull" Date: Thu, 26 Sep 2024 20:38:53 -0400 Subject: [PATCH 28/36] sys-apps/xdg-desktop-portal-xapp: drop 1.0.4 Signed-off-by: Matthew S. Turnbull Signed-off-by: Eli Schwartz --- sys-apps/xdg-desktop-portal-xapp/Manifest | 1 - .../xdg-desktop-portal-xapp-1.0.4.ebuild | 36 ------------------- 2 files changed, 37 deletions(-) delete mode 100644 sys-apps/xdg-desktop-portal-xapp/xdg-desktop-portal-xapp-1.0.4.ebuild diff --git a/sys-apps/xdg-desktop-portal-xapp/Manifest b/sys-apps/xdg-desktop-portal-xapp/Manifest index 8676234b34c76..1f3393b0b1799 100644 --- a/sys-apps/xdg-desktop-portal-xapp/Manifest +++ b/sys-apps/xdg-desktop-portal-xapp/Manifest @@ -1,2 +1 @@ -DIST xdg-desktop-portal-xapp-1.0.4.tar.gz 88429 BLAKE2B 7f45a252a5c0dd433238a58012c65369240e7974a93d3d2b5b73bdbc91509480977ad1ce381a6f4ee3a0c87bfabd11ce87bf99839018811a84378e54be1ef36f SHA512 3f861473a763c37a1af95e3beb13c3364a04f557310d5a6520845bc754941149eb3d80a4e2893699715ff11b135edb2859f6349b6aa6fbe0aa1e173263e22dba DIST xdg-desktop-portal-xapp-1.0.9.tar.gz 90661 BLAKE2B dc7ec9ff18516a892bdbf184ae8d3730a4f2c38ba091830c55500fdf61d6bb87abcfc56638c51e42374e29957e47c3090addaad7d7167a119bfb3cd43d3d5d57 SHA512 7badd5e41e610647dcece7c5344be03816ed08a226a6667d9484e8e4560396eb8dab2140edf977d7038bf3f21ce8b8d6516bf041af9c92bf024274faf35e2037 diff --git a/sys-apps/xdg-desktop-portal-xapp/xdg-desktop-portal-xapp-1.0.4.ebuild b/sys-apps/xdg-desktop-portal-xapp/xdg-desktop-portal-xapp-1.0.4.ebuild deleted file mode 100644 index 3bc1d0baddad6..0000000000000 --- a/sys-apps/xdg-desktop-portal-xapp/xdg-desktop-portal-xapp-1.0.4.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson systemd - -DESCRIPTION="Backend implementation for xdg-desktop-portal using Cinnamon/MATE/Xfce" -HOMEPAGE="https://github.com/linuxmint/xdg-desktop-portal-xapp/" -SRC_URI="https://github.com/linuxmint/xdg-desktop-portal-xapp/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86" - -DEPEND=" - >=dev-libs/glib-2.44:2 - >=sys-apps/xdg-desktop-portal-1.5 -" -RDEPEND=" - ${DEPEND} - sys-apps/xdg-desktop-portal-gtk - >=x11-libs/xapp-2.8.1 -" -BDEPEND=" - dev-util/gdbus-codegen - sys-devel/gettext - virtual/pkgconfig -" - -src_configure() { - local emesonargs=( - -Dsystemduserunitdir="$(systemd_get_userunitdir)" - ) - meson_src_configure -} From c34ecee32660d80cb2401f8f141c3dafea65b6d7 Mon Sep 17 00:00:00 2001 From: "Matthew S. Turnbull" Date: Thu, 26 Sep 2024 20:29:11 -0400 Subject: [PATCH 29/36] x11-libs/xapp: drop 2.8.2-r1 Closes: https://bugs.gentoo.org/926946 Signed-off-by: Matthew S. Turnbull Signed-off-by: Eli Schwartz --- x11-libs/xapp/Manifest | 1 - .../xapp/files/xapp-optional-de-options.patch | 106 ------------------ x11-libs/xapp/xapp-2.8.2-r1.ebuild | 104 ----------------- 3 files changed, 211 deletions(-) delete mode 100644 x11-libs/xapp/files/xapp-optional-de-options.patch delete mode 100644 x11-libs/xapp/xapp-2.8.2-r1.ebuild diff --git a/x11-libs/xapp/Manifest b/x11-libs/xapp/Manifest index 5c3011c04a8f8..14e89dfa9c391 100644 --- a/x11-libs/xapp/Manifest +++ b/x11-libs/xapp/Manifest @@ -1,2 +1 @@ -DIST xapp-2.8.2.tar.gz 272539 BLAKE2B 1e2fb92b976196c2e9f36e322656ee40252e4c358a13361a054ead88e6fa3df35a53f1b0ee594df4189a68c1739c4a040558fac533ace095536fcc1dca76954b SHA512 97d19b95626a37fc08a0a159be741de5d9bcc034484e977bd739b91bd37122fcf2f3479285d544282a92c8fa180b116db1ad5e96fe19284c62287d3c5b135163 DIST xapp-2.8.5.tar.gz 274241 BLAKE2B 86b38dcab542e934f65e2fb11a5c1e7a5e26e8c725c5c91fed7bec6e0676f40ab6fd85b0421378e4860271ef1c9954d8c5a42b465232670d3d695dcda0734e0b SHA512 133a01309f0bc33a0aa73ee86eb8900573b4ab5b84e9e503b04b246448bce0b05880403288a739c5e252a2276311afba86c9c687887dd6e8c528734e328c6ee7 diff --git a/x11-libs/xapp/files/xapp-optional-de-options.patch b/x11-libs/xapp/files/xapp-optional-de-options.patch deleted file mode 100644 index 1d054f3dc6633..0000000000000 --- a/x11-libs/xapp/files/xapp-optional-de-options.patch +++ /dev/null @@ -1,106 +0,0 @@ -From fda9544509c1b3c2c5417a4b27490e7a07e480ec Mon Sep 17 00:00:00 2001 -From: Sparky Bluefang -Date: Tue, 27 Jun 2023 21:54:08 -0400 -Subject: [PATCH 1/2] Remove unused meson scripts - ---- - libxapp/install_generated_header.py | 12 ------------ - meson-scripts/install_generated_header.py | 12 ------------ - 2 files changed, 24 deletions(-) - delete mode 100644 libxapp/install_generated_header.py - delete mode 100644 meson-scripts/install_generated_header.py - -diff --git a/libxapp/install_generated_header.py b/libxapp/install_generated_header.py -deleted file mode 100644 -index d487ad9..0000000 ---- a/libxapp/install_generated_header.py -+++ /dev/null -@@ -1,12 +0,0 @@ --#!/usr/bin/python3 -- --import os --import sys --import subprocess -- --install_dir = os.path.join(os.environ['MESON_INSTALL_DESTDIR_PREFIX'], 'include', 'xapp', 'libxapp') --header_path = os.path.join(os.environ['MESON_BUILD_ROOT'], 'libxapp', sys.argv[1]) -- --print("\nInstalling generated header '%s' to %s\n" % (sys.argv[1], install_dir)) -- --subprocess.call(['cp', header_path, install_dir]) -diff --git a/meson-scripts/install_generated_header.py b/meson-scripts/install_generated_header.py -deleted file mode 100644 -index d487ad9..0000000 ---- a/meson-scripts/install_generated_header.py -+++ /dev/null -@@ -1,12 +0,0 @@ --#!/usr/bin/python3 -- --import os --import sys --import subprocess -- --install_dir = os.path.join(os.environ['MESON_INSTALL_DESTDIR_PREFIX'], 'include', 'xapp', 'libxapp') --header_path = os.path.join(os.environ['MESON_BUILD_ROOT'], 'libxapp', sys.argv[1]) -- --print("\nInstalling generated header '%s' to %s\n" % (sys.argv[1], install_dir)) -- --subprocess.call(['cp', header_path, install_dir]) - -From dac2e1ab74c3eb109b928ccba66b805e9a40aaee Mon Sep 17 00:00:00 2001 -From: Sparky Bluefang -Date: Tue, 2 Jan 2024 23:46:57 -0500 -Subject: [PATCH 2/2] Add confiure options for environment specific - integrations - ---- - meson_options.txt | 10 ++++++++++ - scripts/meson.build | 7 +++++-- - status-applets/meson.build | 4 +++- - 3 files changed, 18 insertions(+), 3 deletions(-) - -diff --git a/meson_options.txt b/meson_options.txt -index a36933a..3ea5310 100644 ---- a/meson_options.txt -+++ b/meson_options.txt -@@ -28,3 +28,13 @@ option('debian_derivative', - value: false, - description: 'Use paths specific to Debian and derivatives.' - ) -+option('mate', -+ type: 'boolean', -+ value: true, -+ description: 'Install mate specific items.' -+) -+option('xfce', -+ type: 'boolean', -+ value: true, -+ description: 'Install xfce specific items.' -+) -diff --git a/scripts/meson.build b/scripts/meson.build -index b210f45..7b1c1bc 100644 ---- a/scripts/meson.build -+++ b/scripts/meson.build -@@ -1,8 +1,11 @@ - scripts = files( - 'pastebin', - 'upload-system-info', -- 'xapp-gpu-offload', -- 'xfce4-set-wallpaper') -+ 'xapp-gpu-offload') -+ -+if get_option('xfce') -+ scripts += files('xfce4-set-wallpaper') -+endif - - install_data(scripts, - install_dir: join_paths(get_option('prefix'), get_option('bindir')), -diff --git a/status-applets/meson.build b/status-applets/meson.build -index 979682e..b464d49 100644 ---- a/status-applets/meson.build -+++ b/status-applets/meson.build -@@ -1 +1,3 @@ --subdir('mate') -+if get_option('mate') -+ subdir('mate') -+endif diff --git a/x11-libs/xapp/xapp-2.8.2-r1.ebuild b/x11-libs/xapp/xapp-2.8.2-r1.ebuild deleted file mode 100644 index e98da20b7e9c1..0000000000000 --- a/x11-libs/xapp/xapp-2.8.2-r1.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{10..12} ) -VALA_USE_DEPEND="vapigen" - -inherit gnome2-utils vala meson python-r1 - -DESCRIPTION="Cross-desktop libraries and common resources" -HOMEPAGE="https://github.com/linuxmint/xapp/" -LICENSE="LGPL-3 xfce? ( GPL-3 )" - -SRC_URI="https://github.com/linuxmint/xapp/archive/${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86" - -SLOT="0" -IUSE="gtk-doc introspection mate xfce" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND=" - >=dev-libs/glib-2.44.0:2 - dev-libs/libdbusmenu[gtk3] - gnome-base/libgnomekbd:= - x11-libs/cairo - >=x11-libs/gdk-pixbuf-2.22.0:2[introspection?] - >=x11-libs/gtk+-3.22.0:3[introspection?] - x11-libs/libxkbfile - x11-libs/libX11 - x11-libs/pango -" -RDEPEND=" - ${PYTHON_DEPS} - ${DEPEND} - dev-python/pygobject:3[${PYTHON_USEDEP}] -" -BDEPEND=" - ${PYTHON_DEPS} - $(vala_depend) - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-util/gdbus-codegen - dev-util/glib-utils - sys-apps/dbus - sys-devel/gettext - - gtk-doc? ( - dev-util/gtk-doc - ) -" - -PATCHES=( - # Make desktop environment integrations optional - # https://github.com/linuxmint/xapp/pull/176 - "${FILESDIR}"/${PN}-optional-de-options.patch - - # don't install pastebin upload wrapper - "${FILESDIR}"/0001-don-t-install-pastebin-upload-wrapper.patch -) - -src_prepare() { - vala_src_prepare - default - - # Fix meson helpers - python_setup - python_fix_shebang . -} - -src_configure() { - local emesonargs=( - $(meson_use gtk-doc docs) - $(meson_use mate) - $(meson_use xfce) - -Dpy-overrides-dir="/pygobject" - ) - meson_src_configure -} - -src_install() { - meson_src_install - - # copy pygobject files to each active python target - # work-around for "py-overrides-dir" only supporting a single target - install_pygobject_override() { - PYTHON_GI_OVERRIDESDIR=$("${EPYTHON}" -c 'import gi;print(gi._overridesdir)' || die) - einfo "gobject overrides directory: ${PYTHON_GI_OVERRIDESDIR}" - mkdir -p "${D}/${PYTHON_GI_OVERRIDESDIR}/" || die - cp -r "${D}"/pygobject/* "${D}/${PYTHON_GI_OVERRIDESDIR}/" || die - python_optimize "${D}/${PYTHON_GI_OVERRIDESDIR}/" - } - python_foreach_impl install_pygobject_override - rm -r "${D}/pygobject" || die -} - -pkg_postinst() { - xdg_icon_cache_update - gnome2_schemas_update -} - -pkg_postrm() { - xdg_icon_cache_update - gnome2_schemas_update -} From 5d2289ddad812e045a3fd0e02a6725c03139e449 Mon Sep 17 00:00:00 2001 From: "Matthew S. Turnbull" Date: Thu, 26 Sep 2024 20:53:43 -0400 Subject: [PATCH 30/36] app-accessibility/caribou: drop 0.4.21-r6 Signed-off-by: Matthew S. Turnbull Closes: https://github.com/gentoo/gentoo/pull/38791 Signed-off-by: Eli Schwartz --- .../caribou/caribou-0.4.21-r6.ebuild | 99 ------------------- 1 file changed, 99 deletions(-) delete mode 100644 app-accessibility/caribou/caribou-0.4.21-r6.ebuild diff --git a/app-accessibility/caribou/caribou-0.4.21-r6.ebuild b/app-accessibility/caribou/caribou-0.4.21-r6.ebuild deleted file mode 100644 index 92fb8a5cc26ed..0000000000000 --- a/app-accessibility/caribou/caribou-0.4.21-r6.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..11} ) -PYTHON_REQ_USE="xml(+)" - -inherit autotools gnome.org gnome2-utils python-single-r1 vala - -DESCRIPTION="Input assistive technology intended for switch and pointer users" -HOMEPAGE="https://wiki.gnome.org/Projects/Caribou" - -LICENSE="LGPL-2.1" -SLOT="0" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86" - -COMMON_DEPEND=" - ${PYTHON_DEPS} - app-accessibility/at-spi2-core - $(python_gen_cond_dep ' - >=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}] - ') - >=dev-libs/gobject-introspection-0.10.7:= - dev-libs/libgee:0.8 - dev-libs/libxml2 - >=media-libs/clutter-1.5.11:1.0[introspection] - >=x11-libs/gtk+-3:3[introspection] - x11-libs/libX11 - x11-libs/libxklavier - x11-libs/libXtst -" -# gsettings-desktop-schemas is needed for the 'toolkit-accessibility' key -# pyatspi-2.1.90 needed to run caribou if pygobject:3 is installed -# librsvg needed to load svg images in css styles -RDEPEND=" - ${COMMON_DEPEND} - dev-libs/glib[dbus] - $(python_gen_cond_dep ' - >=dev-python/pyatspi-2.1.90[${PYTHON_USEDEP}] - ') - >=gnome-base/gsettings-desktop-schemas-3 - gnome-base/librsvg:2 - sys-apps/dbus - ! Date: Sat, 14 Sep 2024 23:24:12 +0200 Subject: [PATCH 31/36] dev-python/pipenv: add 2024.0.2 Signed-off-by: Oz Tiram Signed-off-by: Eli Schwartz --- dev-python/pipenv/Manifest | 1 + dev-python/pipenv/pipenv-2024.0.2.ebuild | 124 +++++++++++++++++++++++ 2 files changed, 125 insertions(+) create mode 100644 dev-python/pipenv/pipenv-2024.0.2.ebuild diff --git a/dev-python/pipenv/Manifest b/dev-python/pipenv/Manifest index 97e0316f1459d..3a4818d0c72a0 100644 --- a/dev-python/pipenv/Manifest +++ b/dev-python/pipenv/Manifest @@ -1 +1,2 @@ DIST pipenv-2024.0.1.gh.tar.gz 10805446 BLAKE2B d9fc964cc3a204bb45c299595c238e3d37368e53b39d8be0cdbcadcec3ca395adbb03bf7abaa7d5d729ed47443c40b908f74abbff475e4a99c7e6d4436f04ee8 SHA512 67acff8e4c40e18a60e824420752cd2e5633e50c138b64131ca19cce15e97a1e36b9e685b92fed7378eeccce8154d3d36701134854d60b0fbc47e341b18f945e +DIST pipenv-2024.0.2.gh.tar.gz 10812462 BLAKE2B 450c8027b2720188edf284a2644a705a3004ee481553871781d8906f415af56ef87d6cdb5ebb00df96bd36fd4dce8dad29cfc2480d9afe3be6ed6891458c188d SHA512 a414727d6ce5a1af565870cb75dfd57731a0513b97c818f304654867b87cf3d89e857fed45a898d19acc37d272d32897f838328fcd7b780fb4ba3e235c77bbb5 diff --git a/dev-python/pipenv/pipenv-2024.0.2.ebuild b/dev-python/pipenv/pipenv-2024.0.2.ebuild new file mode 100644 index 0000000000000..92b2a35830566 --- /dev/null +++ b/dev-python/pipenv/pipenv-2024.0.2.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 multiprocessing + +MY_PV=${PV/_beta/b} +DESCRIPTION="Python Development Workflow for Humans" +HOMEPAGE="https://github.com/pypa/pipenv https://pypi.org/project/pipenv/" +SRC_URI="https://github.com/pypa/pipenv/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}"/${PN}-${MY_PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +PATCHES=( + "${FILESDIR}/pipenv-2023.9.8-inject-system-packages.patch" + "${FILESDIR}/pipenv-2023.9.8-append-always-install-to-pip-extra-args.patch" +) + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + dev-python/click-didyoumean[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.4[${PYTHON_USEDEP}] + dev-python/dparse[${PYTHON_USEDEP}] + >=dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.8.0[${PYTHON_USEDEP}] + ~dev-python/pipdeptree-2.18.1[${PYTHON_USEDEP}] + ~dev-python/plette-0.4.4[${PYTHON_USEDEP}] + >=dev-python/ptyprocess-0.7.0[${PYTHON_USEDEP}] + dev-python/pyparsing[${PYTHON_USEDEP}] + ~dev-python/pythonfinder-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] ' python3_{9..10}) + >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] + >=dev-python/python-dotenv-0.21.0[${PYTHON_USEDEP}] + ~dev-python/importlib-metadata-8.4.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.0.35[${PYTHON_USEDEP}] + >=dev-python/requests-2.26.0[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] +" + +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +# IMPORTANT: The following sed command patches the vendor direcotry +# in the pipenv source. Attempts to simply bump the version of the +# package without checking that it works is likely to fail +# The vendored packages should eventually all be removed +# see: https://bugs.gentoo.org/717666 +src_prepare() { + sed --in-place -e "s/import click, plette, tomlkit/import click\n\import tomlkit\nfrom pipenv.vendor import plette/g" pipenv/project.py || die "Failed patching pipenv/project.py" + + local pkgName + local jobs=$(makeopts_jobs) + local packages=( cerberus colorama click click_didyoumean dotenv dparse markupsafe \ + pexpect pep517 pipdeptree plette ptyprocess pydantic pyparsing pythonfinder \ + requests urllib3 shellingham tomli tomlkit importlib_metadata ) + for pkgName in ${packages[@]}; do + find ./ -type f -print0 | \ + xargs --max-procs="${jobs}" --null \ + sed --in-place \ + -e "s/from pipenv.vendor import ${pkgName}/import ${pkgName}/g" \ + -e "s/from pipenv.vendor.${pkgName}\(.*\) import \(\w*\)/from ${pkgName}\1 import \2/g"\ + -e "s/import pipenv.vendor.${pkgName} as ${pkgName}/import ${pkgName}/g" \ + -e "s/from .vendor import ${pkgName}/import ${pkgName}/g" \ + -e "s/from .vendor.${pkgName}/from ${pkgName}/g" || die "Failed to sed for ${pkgName}" + done + + distutils-r1_src_prepare + + # remove vendored versions + for pkgName in ${packages[@]}; do + find ./pipenv/vendor -regextype posix-extended -regex ".*${pkgName}$" -prune -exec rm -rvf {} + || die + # package names can be foo-bar, their module will be however foo_bar + find ./pipenv/vendor -regextype posix-extended -regex ".*${pkgName/_/-}" -prune -exec rm -rvf {} + || die + done + + find ./pipenv/vendor -regextype posix-extended -regex '.*cached[_-]property.*' -prune -exec rm -rvf {} + || die + + find ./ -type f -print0 | \ + xargs --max-procs="${jobs}" --null \ + sed --in-place \ + -e "s/from pipenv\.vendor import plette, toml, tomlkit, vistir/from pipenv\.vendor import plette, toml, vistir\\nimport tomlkit/g" + + # remove python ruaml yaml + sed --in-place -e \ + "s/from pipenv\.vendor\.ruamel\.yaml import YAML/from ruamel\.yaml import YAML/g" \ + pipenv/patched/safety/util.py || die "Failed sed in ruaml-yaml" + sed --in-place -e \ + "s/from pipenv\.vendor\.ruamel\.yaml\.error import MarkedYAMLError/from ruamel\.yaml\.error import MarkedYAMLError/g" \ + pipenv/patched/safety/util.py || die "Failed sed in ruamel-yaml" + + rm -vR pipenv/vendor/ruamel || die "Failed removing ruamel-yaml from vendor" + + for fname in Makefile README.md ruamel.*.LICENSE vendor.txt; do + rm -v pipenv/vendor/$fname || die "Failed removing pipenv/vendor/${fname}" + done + + sed --in-place -e "s/pipenv.vendor.pythonfinder.utils.get_python_version/pythonfinder.utils.get_python_version/g" tests/unit/test_utils.py || die "Failed patching tests" + + rm -Rfv pipenv/vendor || die "Could not vendor" + rm -Rfv examples || die "Could not remove examples" + rm -Rfv docs || die "Could not remove docs" +} + +python_test() { + epytest -m "not cli and not needs_internet" tests/unit/ +} From 7494f7eea2c9a8694d841c36646189b7275cf20e Mon Sep 17 00:00:00 2001 From: Oz Tiram Date: Sat, 14 Sep 2024 23:27:49 +0200 Subject: [PATCH 32/36] dev-python/pipenv: bump importlib-metadata-8.4.0 Closes: https://bugs.gentoo.org/939277 Signed-off-by: Oz Tiram Closes: https://github.com/gentoo/gentoo/pull/38607 Signed-off-by: Eli Schwartz --- dev-python/pipenv/pipenv-2024.0.1-r1.ebuild | 124 ++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 dev-python/pipenv/pipenv-2024.0.1-r1.ebuild diff --git a/dev-python/pipenv/pipenv-2024.0.1-r1.ebuild b/dev-python/pipenv/pipenv-2024.0.1-r1.ebuild new file mode 100644 index 0000000000000..92b2a35830566 --- /dev/null +++ b/dev-python/pipenv/pipenv-2024.0.1-r1.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 multiprocessing + +MY_PV=${PV/_beta/b} +DESCRIPTION="Python Development Workflow for Humans" +HOMEPAGE="https://github.com/pypa/pipenv https://pypi.org/project/pipenv/" +SRC_URI="https://github.com/pypa/pipenv/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}"/${PN}-${MY_PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +PATCHES=( + "${FILESDIR}/pipenv-2023.9.8-inject-system-packages.patch" + "${FILESDIR}/pipenv-2023.9.8-append-always-install-to-pip-extra-args.patch" +) + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + dev-python/click-didyoumean[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.4[${PYTHON_USEDEP}] + dev-python/dparse[${PYTHON_USEDEP}] + >=dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.8.0[${PYTHON_USEDEP}] + ~dev-python/pipdeptree-2.18.1[${PYTHON_USEDEP}] + ~dev-python/plette-0.4.4[${PYTHON_USEDEP}] + >=dev-python/ptyprocess-0.7.0[${PYTHON_USEDEP}] + dev-python/pyparsing[${PYTHON_USEDEP}] + ~dev-python/pythonfinder-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] ' python3_{9..10}) + >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] + >=dev-python/python-dotenv-0.21.0[${PYTHON_USEDEP}] + ~dev-python/importlib-metadata-8.4.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.0.35[${PYTHON_USEDEP}] + >=dev-python/requests-2.26.0[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] +" + +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +# IMPORTANT: The following sed command patches the vendor direcotry +# in the pipenv source. Attempts to simply bump the version of the +# package without checking that it works is likely to fail +# The vendored packages should eventually all be removed +# see: https://bugs.gentoo.org/717666 +src_prepare() { + sed --in-place -e "s/import click, plette, tomlkit/import click\n\import tomlkit\nfrom pipenv.vendor import plette/g" pipenv/project.py || die "Failed patching pipenv/project.py" + + local pkgName + local jobs=$(makeopts_jobs) + local packages=( cerberus colorama click click_didyoumean dotenv dparse markupsafe \ + pexpect pep517 pipdeptree plette ptyprocess pydantic pyparsing pythonfinder \ + requests urllib3 shellingham tomli tomlkit importlib_metadata ) + for pkgName in ${packages[@]}; do + find ./ -type f -print0 | \ + xargs --max-procs="${jobs}" --null \ + sed --in-place \ + -e "s/from pipenv.vendor import ${pkgName}/import ${pkgName}/g" \ + -e "s/from pipenv.vendor.${pkgName}\(.*\) import \(\w*\)/from ${pkgName}\1 import \2/g"\ + -e "s/import pipenv.vendor.${pkgName} as ${pkgName}/import ${pkgName}/g" \ + -e "s/from .vendor import ${pkgName}/import ${pkgName}/g" \ + -e "s/from .vendor.${pkgName}/from ${pkgName}/g" || die "Failed to sed for ${pkgName}" + done + + distutils-r1_src_prepare + + # remove vendored versions + for pkgName in ${packages[@]}; do + find ./pipenv/vendor -regextype posix-extended -regex ".*${pkgName}$" -prune -exec rm -rvf {} + || die + # package names can be foo-bar, their module will be however foo_bar + find ./pipenv/vendor -regextype posix-extended -regex ".*${pkgName/_/-}" -prune -exec rm -rvf {} + || die + done + + find ./pipenv/vendor -regextype posix-extended -regex '.*cached[_-]property.*' -prune -exec rm -rvf {} + || die + + find ./ -type f -print0 | \ + xargs --max-procs="${jobs}" --null \ + sed --in-place \ + -e "s/from pipenv\.vendor import plette, toml, tomlkit, vistir/from pipenv\.vendor import plette, toml, vistir\\nimport tomlkit/g" + + # remove python ruaml yaml + sed --in-place -e \ + "s/from pipenv\.vendor\.ruamel\.yaml import YAML/from ruamel\.yaml import YAML/g" \ + pipenv/patched/safety/util.py || die "Failed sed in ruaml-yaml" + sed --in-place -e \ + "s/from pipenv\.vendor\.ruamel\.yaml\.error import MarkedYAMLError/from ruamel\.yaml\.error import MarkedYAMLError/g" \ + pipenv/patched/safety/util.py || die "Failed sed in ruamel-yaml" + + rm -vR pipenv/vendor/ruamel || die "Failed removing ruamel-yaml from vendor" + + for fname in Makefile README.md ruamel.*.LICENSE vendor.txt; do + rm -v pipenv/vendor/$fname || die "Failed removing pipenv/vendor/${fname}" + done + + sed --in-place -e "s/pipenv.vendor.pythonfinder.utils.get_python_version/pythonfinder.utils.get_python_version/g" tests/unit/test_utils.py || die "Failed patching tests" + + rm -Rfv pipenv/vendor || die "Could not vendor" + rm -Rfv examples || die "Could not remove examples" + rm -Rfv docs || die "Could not remove docs" +} + +python_test() { + epytest -m "not cli and not needs_internet" tests/unit/ +} From e0ac30fe0272fb658e789296af34a44891e644d3 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Fri, 27 Sep 2024 01:32:02 -0400 Subject: [PATCH 33/36] app-text/calibre: add 7.19.0 Includes the new text-to-speech backend work, now stable, which means new USE dependencies. Signed-off-by: Eli Schwartz --- app-text/calibre/Manifest | 2 + app-text/calibre/calibre-7.19.0.ebuild | 252 +++++++++++++++++++++++++ 2 files changed, 254 insertions(+) create mode 100644 app-text/calibre/calibre-7.19.0.ebuild diff --git a/app-text/calibre/Manifest b/app-text/calibre/Manifest index db0341d892c8c..f4f7bb5c619b9 100644 --- a/app-text/calibre/Manifest +++ b/app-text/calibre/Manifest @@ -4,3 +4,5 @@ DIST calibre-7.16.0.tar.xz 44833684 BLAKE2B 2b609a0d014d43998f693a69c10f6d8b0165 DIST calibre-7.16.0.tar.xz.sig 566 BLAKE2B 1d09e8dd49ad53c88632dc23573fa9cd5403d45a308598ac4ed7d4f2dd5a84cc3ae6812ac652ff4a98fc5d67589ad1584411f7746b6b98468bf03a35a0585de6 SHA512 91f3897d95d234a8d673006273974d32cb6c5aa4953d247700d6d89d511c9b1450dc8e222eabf5d1e4d82de206e425ee440defaff38d1ca83efdbf4bcada7c7c DIST calibre-7.17.0.tar.xz 45053400 BLAKE2B 93149c4fab7a25e1239c4b8c72b766e5ffc71eb27d1206225bc8436f26d2c76f9323e0f0f63d8444291f02a5a7e94d4500715398a71df4ab2a5b16e325e7be73 SHA512 916337dc425916110528828bac0fbdc24db9496362c1e8dad67eafdfda42b90174fb6a4352400cd34af0f11268aabed82b166b3e4875f59e317359079e10bf3b DIST calibre-7.17.0.tar.xz.sig 566 BLAKE2B c041904919ef300f51ba7363daf7d2bc70fc8bb819ffef157e53c28f91b9716be56b1e95465180ecd67069241a5810b70ac08027f4837426a5426792fab05e49 SHA512 af88bcbf394ac6ec68c40d661545a17e956b31dd7797d1cc8490e090437206902a64c7a642cf1e34184e379c79066843959e1459eb1836bddbd615febbc85c07 +DIST calibre-7.19.0.tar.xz 45057708 BLAKE2B 888ddf4292b8c8931c811eb78d6e9b003139545947f2b7bf63fcd96d96caa050a0f93a30ed0313ccf9b4ebfb25c2df1be7f2806d5117a870d1ac34ad29669e39 SHA512 b1225d6d403a8c4dca321c108d270aa79cf65a450f7db90a4e4df5525e8c1c6eb06b4a2492de7b691f6a1a85ce09361dc3796311c46fa082d6e82829827022a7 +DIST calibre-7.19.0.tar.xz.sig 566 BLAKE2B 35a9f8987f0dfad0a14843f3db61f8b3442692dafdf9d253ed13c2071b7e8d9d4cec8012dad4b59b30013fdda790967cf42594a29c6a9a2a668bccda72ac2e72 SHA512 836a0138ed46b179fefe78bc678f6f8146fe5d8a1eb9111f02bcc804d96253281c918cc4ad7a3a860a3177babac9c6fd4b2e417361e59b7245d19bfa50f3f739 diff --git a/app-text/calibre/calibre-7.19.0.ebuild b/app-text/calibre/calibre-7.19.0.ebuild new file mode 100644 index 0000000000000..1983e85be666a --- /dev/null +++ b/app-text/calibre/calibre-7.19.0.ebuild @@ -0,0 +1,252 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="sqlite,ssl" + +inherit edo toolchain-funcs python-single-r1 qmake-utils verify-sig xdg + +DESCRIPTION="Ebook management application" +HOMEPAGE="https://calibre-ebook.com/" +SRC_URI=" + https://download.calibre-ebook.com/${PV}/${P}.tar.xz + verify-sig? ( https://calibre-ebook.com/signatures/${P}.tar.xz.sig ) +" +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kovidgoyal.gpg + +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 +" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="+font-subsetting ios speech +system-mathjax test +udisks unrar" + +RESTRICT="!test? ( test )" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# Qt slotted dependencies are used because the libheadless.so plugin links to +# QT_*_PRIVATE_ABI. It only uses core/gui/dbus. +COMMON_DEPEND="${PYTHON_DEPS} + app-i18n/uchardet + >=app-text/hunspell-1.7:= + >=app-text/podofo-0.10.0:= + app-text/poppler[utils] + dev-libs/hyphen:= + >=dev-libs/icu-57.1:= + dev-libs/openssl:= + dev-libs/snowball-stemmer:= + $(python_gen_cond_dep ' + >=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}] + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + >=dev-python/css-parser-1.0.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/lxml-html-clean[${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[jpeg,truetype,webp,zlib,${PYTHON_USEDEP}] + >=dev-python/psutil-4.3.0[${PYTHON_USEDEP}] + >=dev-python/pychm-0.8.6[${PYTHON_USEDEP}] + >=dev-python/pygments-2.3.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}] + dev-python/PyQt6[gui,network,opengl,printsupport,quick,svg,widgets,${PYTHON_USEDEP}] + dev-python/PyQt6-WebEngine[widgets,${PYTHON_USEDEP}] + dev-python/regex[${PYTHON_USEDEP}] + dev-python/xxhash[${PYTHON_USEDEP}] + >=dev-python/zeroconf-0.75.0[${PYTHON_USEDEP}] + ') + dev-qt/qtbase:6=[gui,widgets] + dev-qt/qtimageformats:6 + 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-gfx/optipng-0.7.6 + virtual/libusb:1= + x11-misc/shared-mime-info + >=x11-misc/xdg-utils-1.0.2-r2 + font-subsetting? ( $(python_gen_cond_dep 'dev-python/fonttools[${PYTHON_USEDEP}]') ) + ios? ( + >=app-pda/usbmuxd-1.0.8 + >=app-pda/libimobiledevice-1.2.0 + ) + speech? ( + $(python_gen_cond_dep 'app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}]') + dev-python/PyQt6[multimedia,speech] + ) + system-mathjax? ( >=dev-libs/mathjax-3:= ) + udisks? ( virtual/libudev ) + unrar? ( dev-python/unrardll ) +" +RDEPEND="${COMMON_DEPEND} + udisks? ( sys-fs/udisks:2 )" +DEPEND="${COMMON_DEPEND} + test? ( $(python_gen_cond_dep '>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}]') ) +" +BDEPEND="$(python_gen_cond_dep ' + >=dev-python/PyQt-builder-1.10.3[${PYTHON_USEDEP}] + >=dev-python/sip-5[${PYTHON_USEDEP}] + ') + virtual/pkgconfig + system-mathjax? ( dev-lang/rapydscript-ng ) + verify-sig? ( sec-keys/openpgp-keys-kovidgoyal ) +" + +PATCHES=( + # 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}-7.0.0-jxr-test.patch" +) + +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's packaging is recommended. + + # 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" + + # This is only ever used at build time. It contains a small embedded copy + # of the rapydscript-ng compiler usable inside of qtwebengine, if you don't + # have rapydscript-ng (a nodejs package) itself installed. Its only purpose + # is to build some resources that come bundled in dist tarballs already... + # and which we may also need to regenerate e.g. to use system-mathjax. + # + # However, running qtwebengine violates the portage sandbox (among other + # things, it tries to create directories in /usr! amazing) so this is a + # wash anyway. The only real solution here is to package rapydscript-ng. + # + # We do not need it at build time, and *no one* needs it at install time. + # Delete the cruft. + rm -r resources/rapydscript/ || die +} + +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}" + export QMAKE="$(qt6_get_bindir)/qmake" + + edo ${EPYTHON} setup.py build + edo ${EPYTHON} setup.py gui + + # A few different resources are bundled in the distfile by default, because + # not all systems necessarily have them. We un-vendor them, using the + # upstream integrated approach if possible. See setup/revendor.py and + # consider migrating other resources to this if they do not use it, in + # *preference* over manual rm'ing. + edo ${EPYTHON} setup.py liberation_fonts \ + --path-to-liberation_fonts "${EPREFIX}"/usr/share/fonts/liberation-fonts \ + --system-liberation_fonts + if use system-mathjax; then + edo ${EPYTHON} setup.py mathjax --path-to-mathjax "${EPREFIX}"/usr/share/mathjax --system-mathjax + edo ${EPYTHON} setup.py rapydscript + fi +} + +src_test() { + # Skipped tests: + local _test_excludes=( + # unpackaged Python dependency: py7zr + 7z + # unpackaged Python dependency: pyzstd + test_zstd + # unpackaged TTS backend (optional at runtime): https://github.com/rhasspy/piper + piper + # tests if a completely unused module is bundled + pycryptodome + + $(usev !speech speech_dispatcher) + $(usev !unrar test_unrar) + + # undocumented reasons + test_mem_leaks + test_searching + ) + + # Some of these tests weren't practical to split out into distinct tests, so + # have a different control mechanism + use speech || export SKIP_SPEECH_TESTS=1 + + edo ${PYTHON} setup.py test "${_test_excludes[@]/#/--exclude-test-name=}" +} + +src_install() { + # 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 # bug #709682 + + # Bug #295672 - Avoid sandbox violation in ~/.config by forcing + # variables to point to our fake temporary $HOME. + export HOME="${T}/fake_homedir" + export CALIBRE_CONFIG_DIRECTORY="${HOME}/.config/calibre" + mkdir -p "${CALIBRE_CONFIG_DIRECTORY}" || die + + addpredict /dev/dri #665310 + + # If this directory doesn't exist, zsh completion won't install + dodir /usr/share/zsh/site-functions + + edo "${PYTHON}" setup.py install \ + --staging-root="${ED}/usr" \ + --prefix="${EPREFIX}/usr" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --staging-libdir="${ED}/usr/$(get_libdir)" \ + --system-plugins-location="${EPREFIX}/usr/share/calibre/system-plugins" + + cp -r man-pages/ "${ED}"/usr/share/man || die + + find "${ED}"/usr/share -type d -empty -delete || die + + python_fix_shebang "${ED}/usr/bin" + + 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 +} From 3e58277c953cdde9bbdb321af088f9a40d946b58 Mon Sep 17 00:00:00 2001 From: Jaco Kroon Date: Fri, 6 Sep 2024 08:19:41 +0200 Subject: [PATCH 34/36] net-misc/asterisk: add 18.24.3 (security) See-also: https://github.com/asterisk/asterisk/security/advisories/GHSA-v428-g3cw-7hv9 Bug: https://bugs.gentoo.org/939159 Signed-off-by: Jaco Kroon Signed-off-by: Eli Schwartz --- net-misc/asterisk/Manifest | 1 + net-misc/asterisk/asterisk-18.24.3.ebuild | 371 ++++++++++++++++++++++ 2 files changed, 372 insertions(+) create mode 100644 net-misc/asterisk/asterisk-18.24.3.ebuild diff --git a/net-misc/asterisk/Manifest b/net-misc/asterisk/Manifest index 7637c1d52a09a..225e78554bea7 100644 --- a/net-misc/asterisk/Manifest +++ b/net-misc/asterisk/Manifest @@ -1,4 +1,5 @@ DIST asterisk-16.30.1.tar.gz 28234979 BLAKE2B a9cd732feb00408876f90328d7f14dbfe426829e607f9b8e812ff25823c8dc1facab1ecd423e1d4f33c1623f3769197fa3b1fe3181efad0b231c96c0afb1dd16 SHA512 1624d207e80351f976c084344d09d67fe37b526a42970da007f5407be006d107e951093209415a68c891e2bd9cb142421e7acd1ac9fba2c1b1c064aee2224cb6 DIST asterisk-18.24.2.tar.gz 28530320 BLAKE2B a2597effb6e5b10588fe34ebd9b91cedb80605d9ccabd2a8bfe3f2d1e66cd1599be87d4124cc34a7492fc39fd5345b3080e3669b0aa810a9220395d0aba845f2 SHA512 e81dd3819daae82b217164d9026f6f626400b6623092169b2300248f6c2be9cb80bb74157cc4eff38eb6da645f491da2e47712f8b9f4d7a12af5c6703eafcd85 +DIST asterisk-18.24.3.tar.gz 28531091 BLAKE2B 002210daa4091bed3ebc0ccd14eb3cd2f2648ef7440276ef0d7b74d493a41034358a034ddda8faad4ca0df4a944ef32efd6c820c161b619b3a6a7a5936e72524 SHA512 a1223965b2375c25e736b84d99ac5ce96d27c5bfc9c14e936429643f595e04caff4e159e091b26ff2452249875cd3a37a760e6a23c74269e401805e406492742 DIST asterisk-20.9.2.tar.gz 28293235 BLAKE2B f5d165b53e019435d760a49eeb2a31dc4550625ec13eca04251edeb3ffc7ce0b61adbf7580356340a949e49096bfe369da59e8a0aea8a5527c1398aab7f2c801 SHA512 0061e19140ff6737d89a64078c2fa50d6de554777324128dcc50494bffdd21e676af3a1b6fc9d3eee4a02e3d2fb9e24c3460e3062db9df9fdad480244bc2c829 DIST asterisk-21.4.2.tar.gz 26346837 BLAKE2B d90654671751438598a8d15df8caee092ff6be173b24eec22be49962f867eb3264aae1e1f747b4c08aa51d50a8d7a70cb5b91b89edd944efb46c2807c582d935 SHA512 01dc6452b4cea64fa3bd7d0aa38dd07ad2008b491ec7f2d64ee2eb47583731066bac1fa86d3b3e781b6ee7454a69bb585f77b3fd51a75a1dfd9b0541c31b12b4 diff --git a/net-misc/asterisk/asterisk-18.24.3.ebuild b/net-misc/asterisk/asterisk-18.24.3.ebuild new file mode 100644 index 0000000000000..369526ee8599d --- /dev/null +++ b/net-misc/asterisk/asterisk-18.24.3.ebuild @@ -0,0 +1,371 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} ) + +inherit autotools linux-info lua-single toolchain-funcs + +DESCRIPTION="Asterisk: A Modular Open Source PBX System" +HOMEPAGE="https://www.asterisk.org/" +SRC_URI="https://downloads.asterisk.org/pub/telephony/asterisk/releases/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0/${PV%%.*}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" + +IUSE_VOICEMAIL_STORAGE=( + voicemail_storage_odbc + voicemail_storage_imap +) +IUSE="${IUSE_VOICEMAIL_STORAGE[*]} alsa blocks bluetooth calendar +caps cluster codec2 curl debug deprecated doc freetds gtalk http iconv ilbc ldap lua mysql newt odbc oss pjproject portaudio postgres radius selinux snmp span speex srtp +ssl static statsd syslog systemd unbound vorbis xmpp" +IUSE_EXPAND="VOICEMAIL_STORAGE" +REQUIRED_USE="gtalk? ( xmpp ) + lua? ( ${LUA_REQUIRED_USE} ) + voicemail_storage_odbc? ( odbc ) +" + +PATCHES=( + "${FILESDIR}/asterisk-16.16.2-no-var-run-install.patch" +) + +DEPEND="acct-user/asterisk + acct-group/asterisk + dev-db/sqlite:3 + dev-libs/popt + >=dev-libs/jansson-2.11:= + dev-libs/libedit + dev-libs/libxml2:2 + dev-libs/libxslt + sys-apps/util-linux + sys-libs/zlib + virtual/libcrypt:= + alsa? ( media-libs/alsa-lib ) + bluetooth? ( net-wireless/bluez:= ) + calendar? ( + net-libs/neon:= + dev-libs/libical:= + dev-libs/iksemel + ) + caps? ( sys-libs/libcap ) + blocks? ( sys-libs/blocksruntime ) + cluster? ( sys-cluster/corosync ) + codec2? ( media-libs/codec2:= ) + curl? ( net-misc/curl ) + freetds? ( dev-db/freetds ) + gtalk? ( dev-libs/iksemel ) + http? ( dev-libs/gmime:2.6 ) + iconv? ( virtual/libiconv ) + ilbc? ( media-libs/libilbc ) + ldap? ( net-nds/openldap:= ) + lua? ( ${LUA_DEPS} ) + mysql? ( dev-db/mysql-connector-c:= ) + newt? ( dev-libs/newt ) + odbc? ( dev-db/unixODBC ) + pjproject? ( >=net-libs/pjproject-2.12:= ) + portaudio? ( media-libs/portaudio ) + postgres? ( dev-db/postgresql:* ) + radius? ( net-dialup/freeradius-client ) + snmp? ( net-analyzer/net-snmp:= ) + span? ( media-libs/spandsp ) + speex? ( + media-libs/libogg + media-libs/speex + media-libs/speexdsp + ) + srtp? ( net-libs/libsrtp:0 ) + ssl? ( + dev-libs/openssl:0= + ) + systemd? ( sys-apps/systemd ) + !systemd? ( !sys-apps/systemd ) + unbound? ( net-dns/unbound ) + vorbis? ( + media-libs/libogg + media-libs/libvorbis + ) + voicemail_storage_imap? ( net-libs/c-client[ssl=] ) + xmpp? ( dev-libs/iksemel ) +" + +RDEPEND="${DEPEND} + net-misc/asterisk-core-sounds + net-misc/asterisk-extra-sounds + net-misc/asterisk-moh-opsound + selinux? ( sec-policy/selinux-asterisk ) + syslog? ( virtual/logger )" +PDEPEND="net-misc/asterisk-base" + +BDEPEND="dev-libs/libxml2:2 + virtual/pkgconfig" + +QA_DT_NEEDED="/usr/lib.*/libasteriskssl[.]so[.][0-9]\+" + +ast_make() { + local make_args=( + "NOISY_BUILD=yes" + "ASTDBDIR=\$(ASTDATADIR)/astdb" + "ASTVARRUNDIR=/run/asterisk" + "ASTCACHEDIR=/var/cache/asterisk" + "OPTIMIZE=" + "DEBUG=" + "CONFIG_SRC=configs/samples" + "CONFIG_EXTEN=.sample" + "AST_FORTIFY_SOURCE=" + ) + + emake "${make_args[@]}" "$@" +} + +pkg_pretend() { + CONFIG_CHECK="~!NF_CONNTRACK_SIP" + local WARNING_NF_CONNTRACK_SIP="SIP (NAT) connection tracking is enabled. Some users + have reported that this module dropped critical SIP packets in their deployments. You + may want to disable it if you see such problems." + check_extra_config + + [[ "${MERGE_TYPE}" == binary ]] && return + + if tc-is-clang; then + use blocks || die "CC=clang requires USE=blocks" + else + use blocks && die "USE=blocks can only be used with CC=clang" + fi +} + +pkg_setup() { + use lua && lua-single_pkg_setup +} + +src_prepare() { + default + AT_M4DIR="autoconf third-party third-party/pjproject third-party/jansson third-party/libjwt" \ + AC_CONFIG_SUBDIRS=menuselect eautoreconf +} + +src_configure() { + local vmst + local copt cstate + local myconf=( + LUA_VERSION="${ELUA#lua}" + --localstatedir="/var" + --with-crypto + --with-gsm=internal + --with-popt + --with-z + --with-libedit + --without-jansson-bundled + --without-pjproject-bundled + $(use_with caps cap) + $(use_with codec2) + $(use_with lua lua) + $(use_with http gmime) + $(use_with newt) + $(use_with pjproject) + $(use_with portaudio) + $(use_with ssl) + $(use_with unbound) + ) + econf "${myconf[@]}" + + ast_menuselect() { + menuselect/menuselect "$@" menuselect.makeopts || die "menuselect $* failed." + } + + _use_select() { + local state=$(use "$1" && echo enable || echo disable) + local x + shift # remove use from parameters + + for x; do + ast_menuselect --${state} "$x" + done + } + + # Blank out sounds/sounds.xml file to prevent + # asterisk from installing sounds files (we pull them in via + # asterisk-{core,extra}-sounds and asterisk-moh-opsound. + >sounds/sounds.xml || die "Unable to blank out sounds/sounds.xml" + + # That NATIVE_ARCH chatter really is quite bothersome + sed -i 's/NATIVE_ARCH=/&0/' build_tools/menuselect-deps || die "Unable to squelch noisy build system" + + # Compile menuselect binary for optional components + ast_make menuselect.makeopts + + # Disable astdb2* tools. We've been on sqlite long enough + # that this should really no longer be a problem (bug #https://bugs.gentoo.org/872194) + ast_menuselect --disable astdb2sqlite3 + ast_menuselect --disable astdb2bdb + + # Disable BUILD_NATIVE (bug #667498) + ast_menuselect --disable build_native + + # Broken functionality is forcibly disabled (bug #360143) + ast_menuselect --disable chan_misdn + ast_menuselect --disable chan_ooh323 + + # Utility set is forcibly enabled (bug #358001) + ast_menuselect --enable smsq + ast_menuselect --enable streamplayer + ast_menuselect --enable aelparse + ast_menuselect --enable astman + + # this is connected, otherwise it would not find + # ast_pktccops_gate_alloc symbol + ast_menuselect --enable chan_mgcp + ast_menuselect --enable res_pktccops + + # SSL is forcibly enabled, IAX2 & DUNDI are expected to be available + ast_menuselect --enable pbx_dundi + ast_menuselect --enable func_aes + ast_menuselect --enable chan_iax2 + + # SQlite3 is now the main database backend, enable related features + ast_menuselect --enable cdr_sqlite3_custom + ast_menuselect --enable cel_sqlite3_custom + + # Disable conversion tools (which fails to compile in some cases). + ast_menuselect --disable astdb2bdb + + # The others are based on USE-flag settings + _use_select alsa chan_alsa + _use_select bluetooth chan_mobile + _use_select calendar res_calendar res_calendar_{caldav,ews,exchange,icalendar} + _use_select cluster res_corosync + _use_select codec2 codec_codec2 + _use_select curl func_curl res_config_curl res_curl + _use_select deprecated app_macro + _use_select freetds {cdr,cel}_tds + _use_select gtalk chan_motif + _use_select http res_http_post + _use_select iconv func_iconv + _use_select ilbc codec_ilbc format_ilbc + _use_select ldap res_config_ldap + _use_select lua pbx_lua + _use_select mysql app_mysql cdr_mysql res_config_mysql + _use_select odbc cdr_adaptive_odbc res_config_odbc {cdr,cel,res,func}_odbc + _use_select oss chan_oss + _use_select postgres {cdr,cel}_pgsql res_config_pgsql + _use_select radius {cdr,cel}_radius + _use_select snmp res_snmp + _use_select span res_fax_spandsp + _use_select speex {codec,func}_speex + _use_select speex format_ogg_speex + _use_select srtp res_srtp + _use_select statsd res_statsd res_{endpoint,chan}_stats + _use_select syslog cdr_syslog + _use_select vorbis format_ogg_vorbis + _use_select xmpp res_xmpp + + # Voicemail storage ... + ast_menuselect --enable app_voicemail + for vmst in "${IUSE_VOICEMAIL_STORAGE[@]}"; do + if use "${vmst#+}"; then + ast_menuselect --enable "app_voicemail_${vmst##*_}" + fi + done + + if use debug; then + for o in DONT_OPTIMIZE DEBUG_FD_LEAKS MALLOC_DEBUG BETTER_BACKTRACES; do + ast_menuselect --enable "${o}" + done + fi + + if [[ -n "${GENTOO_ASTERISK_CUSTOM_MENUSELECT:+yes}" ]]; then + for copt in ${GENTOO_ASTERISK_CUSTOM_MENUSELECT}; do + cstate=--enable + [[ "${copt}" == -* ]] && cstate=--disable + ebegin "Custom option ${copt#[-+]} ${cstate:2}d" + ast_menuselect ${cstate} "${copt#[-+]}" + eend $? + done + fi +} + +src_compile() { + ast_make +} + +src_install() { + local d + + dodir "/usr/$(get_libdir)/pkgconfig" + + diropts -m 0750 -o root -g asterisk + dodir /etc/asterisk + + ast_make install install-headers install-configs "DESTDIR=${D}" + + fowners asterisk: /var/lib/asterisk/astdb + + if use radius; then + insinto /etc/radiusclient/ + doins contrib/dictionary.digium + fi + + # keep directories + diropts -m 0750 -o asterisk -g root + keepdir /var/spool/asterisk/{system,tmp,meetme,monitor,dictate,voicemail,recording,outgoing} + diropts -m 0750 -o asterisk -g asterisk + keepdir /var/log/asterisk/{cdr-csv,cdr-custom} + + # Reset diropts else dodoc uses it for doc installations. + diropts -m0755 + + # install the upgrade documentation + dodoc README* BUGS CREDITS + + # install extra documentation + use doc && dodoc doc/*.{txt,pdf} + + # Asterisk installs a few folders that's empty by design, + # but still required. This finds them, and marks them for + # portage. + while read d <&3; do + keepdir "${d#${ED}}" + done 3< <(find "${ED}"/var -type d -empty || die "Find failed.") +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "Asterisk Wiki: https://wiki.asterisk.org/wiki/" + elog "Gentoo VoIP IRC Channel: #gentoo-voip @ irc.libera.chat" + else + local my_replacing=() x + for x in ${REPLACING_VERSIONS}; do + [[ $(ver_cut 1 ${x}) != $(ver_cut 1) ]] && + my_replacing+=( $(ver_cut 1 ${x}) ) + done + if [[ "${#my_replacing}" -gt 0 ]]; then + my_replacing="${my_replacing[*]}" + my_replacing="${my_replacing// /, }" + [[ "${my_replacing}" = *", "* ]] && + my_replacing="${my_replacing%, *} or ${my_replacing##*, }" + elog "You are updating from Asterisk ${my_replacing}, you should reference the upgrade document:" + elog "https://wiki.asterisk.org/wiki/display/AST/Upgrading+to+Asterisk+$(ver_cut 1)" + elog "Assistance also available on Gentoo VoIP IRC Channel: #gentoo-voip @ irc.libera.chat" + fi + fi + + if use deprecated; then + ewarn "You really aught to port whatever code you have that depends on this since these are going to go away." + ewarn "Refer: https://wiki.asterisk.org/wiki/display/AST/Module+Deprecation" + fi + + if [[ -n "${GENTOO_ASTERISK_CUSTOM_MENUSELECT:+yes}" ]]; then + ewarn "You are using GENTOO_ASTERISK_CUSTOM_MENUSELECT, this should only be used" + ewarn "for debugging, for anything else, please file a bug on https://bugs.gentoo.org" + fi + + if [[ -f /var/lib/asterisk/astdb.sqlite3 ]]; then + ewarn "Default astdb location has changed from /var/lib/asterisk to /var/lib/asterisk/astdb" + ewarn "You still have a /var/lib/asterisk/astdb.sqlite file. You need to either set" + ewarn "astdbdir in /etc/asterisk/asterisk.conf to /var/lib/asterisk or follow these" + ewarn "steps to migrate:" + ewarn "1. /etc/init.d/asterisk stop" + ewarn "2. mv /var/lib/asterisk/astdb.sqlite /var/lib/asterisk/astdb/" + ewarn "3. /etc/init.d/asterisk start" + ewarn "This update was done partly for security reasons so that /var/lib/asterisk can be root owned." + fi +} From 3e20fe91ef242dcf70bf3ed0bf9af684011c34b7 Mon Sep 17 00:00:00 2001 From: Jaco Kroon Date: Fri, 6 Sep 2024 08:40:14 +0200 Subject: [PATCH 35/36] net-misc/asterisk: add 20.9.3, drop 20.9.2 (security) See-also: https://github.com/asterisk/asterisk/security/advisories/GHSA-v428-g3cw-7hv9 Bug: https://bugs.gentoo.org/939159 Signed-off-by: Jaco Kroon Signed-off-by: Eli Schwartz --- net-misc/asterisk/Manifest | 2 +- .../asterisk/{asterisk-20.9.2.ebuild => asterisk-20.9.3.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename net-misc/asterisk/{asterisk-20.9.2.ebuild => asterisk-20.9.3.ebuild} (100%) diff --git a/net-misc/asterisk/Manifest b/net-misc/asterisk/Manifest index 225e78554bea7..c87279b7c889a 100644 --- a/net-misc/asterisk/Manifest +++ b/net-misc/asterisk/Manifest @@ -1,5 +1,5 @@ DIST asterisk-16.30.1.tar.gz 28234979 BLAKE2B a9cd732feb00408876f90328d7f14dbfe426829e607f9b8e812ff25823c8dc1facab1ecd423e1d4f33c1623f3769197fa3b1fe3181efad0b231c96c0afb1dd16 SHA512 1624d207e80351f976c084344d09d67fe37b526a42970da007f5407be006d107e951093209415a68c891e2bd9cb142421e7acd1ac9fba2c1b1c064aee2224cb6 DIST asterisk-18.24.2.tar.gz 28530320 BLAKE2B a2597effb6e5b10588fe34ebd9b91cedb80605d9ccabd2a8bfe3f2d1e66cd1599be87d4124cc34a7492fc39fd5345b3080e3669b0aa810a9220395d0aba845f2 SHA512 e81dd3819daae82b217164d9026f6f626400b6623092169b2300248f6c2be9cb80bb74157cc4eff38eb6da645f491da2e47712f8b9f4d7a12af5c6703eafcd85 DIST asterisk-18.24.3.tar.gz 28531091 BLAKE2B 002210daa4091bed3ebc0ccd14eb3cd2f2648ef7440276ef0d7b74d493a41034358a034ddda8faad4ca0df4a944ef32efd6c820c161b619b3a6a7a5936e72524 SHA512 a1223965b2375c25e736b84d99ac5ce96d27c5bfc9c14e936429643f595e04caff4e159e091b26ff2452249875cd3a37a760e6a23c74269e401805e406492742 -DIST asterisk-20.9.2.tar.gz 28293235 BLAKE2B f5d165b53e019435d760a49eeb2a31dc4550625ec13eca04251edeb3ffc7ce0b61adbf7580356340a949e49096bfe369da59e8a0aea8a5527c1398aab7f2c801 SHA512 0061e19140ff6737d89a64078c2fa50d6de554777324128dcc50494bffdd21e676af3a1b6fc9d3eee4a02e3d2fb9e24c3460e3062db9df9fdad480244bc2c829 +DIST asterisk-20.9.3.tar.gz 28294773 BLAKE2B 1bc452126d1f56d3e6833d988bf2df095b0c28eea4a1922a80461beb5c8a2e54f24ae82dcc18c55a5e5c22b539a0d7652e99fbc759561e03000bfa6e2b6790b7 SHA512 e4b0ff569034a6635f695909b334b7c07da2ced99c47895977e5a25e17dbd43bc83e32b33ad21059d44325010894a154787f26dbe19482a12ce0ed4e6f77a35d DIST asterisk-21.4.2.tar.gz 26346837 BLAKE2B d90654671751438598a8d15df8caee092ff6be173b24eec22be49962f867eb3264aae1e1f747b4c08aa51d50a8d7a70cb5b91b89edd944efb46c2807c582d935 SHA512 01dc6452b4cea64fa3bd7d0aa38dd07ad2008b491ec7f2d64ee2eb47583731066bac1fa86d3b3e781b6ee7454a69bb585f77b3fd51a75a1dfd9b0541c31b12b4 diff --git a/net-misc/asterisk/asterisk-20.9.2.ebuild b/net-misc/asterisk/asterisk-20.9.3.ebuild similarity index 100% rename from net-misc/asterisk/asterisk-20.9.2.ebuild rename to net-misc/asterisk/asterisk-20.9.3.ebuild From f8939f531f32cf666ad9f07ec75a695e228f9913 Mon Sep 17 00:00:00 2001 From: Jaco Kroon Date: Fri, 6 Sep 2024 08:41:18 +0200 Subject: [PATCH 36/36] net-misc/asterisk: add 21.4.3, drop 21.4.2 (security) See-also: https://github.com/asterisk/asterisk/security/advisories/GHSA-v428-g3cw-7hv9 Bug: https://bugs.gentoo.org/939159 Signed-off-by: Jaco Kroon Closes: https://github.com/gentoo/gentoo/pull/38476 Signed-off-by: Eli Schwartz --- net-misc/asterisk/Manifest | 2 +- .../asterisk/{asterisk-21.4.2.ebuild => asterisk-21.4.3.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename net-misc/asterisk/{asterisk-21.4.2.ebuild => asterisk-21.4.3.ebuild} (100%) diff --git a/net-misc/asterisk/Manifest b/net-misc/asterisk/Manifest index c87279b7c889a..e6bb273cdbd4a 100644 --- a/net-misc/asterisk/Manifest +++ b/net-misc/asterisk/Manifest @@ -2,4 +2,4 @@ DIST asterisk-16.30.1.tar.gz 28234979 BLAKE2B a9cd732feb00408876f90328d7f14dbfe4 DIST asterisk-18.24.2.tar.gz 28530320 BLAKE2B a2597effb6e5b10588fe34ebd9b91cedb80605d9ccabd2a8bfe3f2d1e66cd1599be87d4124cc34a7492fc39fd5345b3080e3669b0aa810a9220395d0aba845f2 SHA512 e81dd3819daae82b217164d9026f6f626400b6623092169b2300248f6c2be9cb80bb74157cc4eff38eb6da645f491da2e47712f8b9f4d7a12af5c6703eafcd85 DIST asterisk-18.24.3.tar.gz 28531091 BLAKE2B 002210daa4091bed3ebc0ccd14eb3cd2f2648ef7440276ef0d7b74d493a41034358a034ddda8faad4ca0df4a944ef32efd6c820c161b619b3a6a7a5936e72524 SHA512 a1223965b2375c25e736b84d99ac5ce96d27c5bfc9c14e936429643f595e04caff4e159e091b26ff2452249875cd3a37a760e6a23c74269e401805e406492742 DIST asterisk-20.9.3.tar.gz 28294773 BLAKE2B 1bc452126d1f56d3e6833d988bf2df095b0c28eea4a1922a80461beb5c8a2e54f24ae82dcc18c55a5e5c22b539a0d7652e99fbc759561e03000bfa6e2b6790b7 SHA512 e4b0ff569034a6635f695909b334b7c07da2ced99c47895977e5a25e17dbd43bc83e32b33ad21059d44325010894a154787f26dbe19482a12ce0ed4e6f77a35d -DIST asterisk-21.4.2.tar.gz 26346837 BLAKE2B d90654671751438598a8d15df8caee092ff6be173b24eec22be49962f867eb3264aae1e1f747b4c08aa51d50a8d7a70cb5b91b89edd944efb46c2807c582d935 SHA512 01dc6452b4cea64fa3bd7d0aa38dd07ad2008b491ec7f2d64ee2eb47583731066bac1fa86d3b3e781b6ee7454a69bb585f77b3fd51a75a1dfd9b0541c31b12b4 +DIST asterisk-21.4.3.tar.gz 26347018 BLAKE2B 0e7a4c524a0771b159e18361472ffe4f4a8dc455e95e6bd735d50cbd4b574de9e75829b1e713dc255fd049e63d96dd53c12378f66e94ef1d470483588eb5646c SHA512 c037958c80510e4dbfca8a8f181be9485b3361bc34f12d7f0cf377c999fef763a336929f934fddaee356c85db6c1e006638112d22123a6dab4620b86f3d7c58a diff --git a/net-misc/asterisk/asterisk-21.4.2.ebuild b/net-misc/asterisk/asterisk-21.4.3.ebuild similarity index 100% rename from net-misc/asterisk/asterisk-21.4.2.ebuild rename to net-misc/asterisk/asterisk-21.4.3.ebuild