[gentoo-commits] repo/gentoo:master commit in: sci-electronics/geda/

2024-03-20 Thread Sam James
commit: 6a42b33476b2ecadc8ac24c32d2570ead5175ce4
Author: Eli Schwartz  gmail  com>
AuthorDate: Thu Mar 21 05:24:18 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 05:57:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a42b334

sci-electronics/geda: remove useless USE conditionals that never fired

For several reasons, this effort to control examples/docs via sed'ing
out Makefile.in did not work:
- the seds didn't apply
- the Makefile.in was ignored because it was regenerated via eautoreconf

... and also useless our outright wrong. The examples are 548kb, and the
docs are 156kb. Small files shouldn't be gated on USE flags.

But also, the docs USE flag was attempting to remove the part of the
build system that caused man pages to be shipped, in addition to the
HTML versions of the man pages. This must never be done, manpages are
too important. See QA Policy Guide 0305.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sci-electronics/geda/geda-1.10.2-r2.ebuild | 9 +
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/sci-electronics/geda/geda-1.10.2-r2.ebuild 
b/sci-electronics/geda/geda-1.10.2-r2.ebuild
index 3ced4354e46f..4d2d3cab6699 100644
--- a/sci-electronics/geda/geda-1.10.2-r2.ebuild
+++ b/sci-electronics/geda/geda-1.10.2-r2.ebuild
@@ -22,7 +22,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ~ppc ~x86"
-IUSE="debug examples fam nls"
+IUSE="debug fam nls"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
@@ -57,13 +57,6 @@ src_prepare() {
default
rm -r xorn || die
 
-   if ! use doc ; then
-   sed -i -e '/^SUBDIRS = /s/docs//' Makefile.in || die
-   fi
-   if ! use examples ; then
-   sed -i -e 's/\texamples$//' Makefile.in || die
-   fi
-
# remove compressed files, compressed by portage in install phase
rm docs/wiki/media/geda/gsch2pcb-libs.tar.gz || die
rm docs/wiki/media/geda/pcb_plugin_template.tar.gz || die



[gentoo-commits] repo/gentoo:master commit in: sci-electronics/geda/

2024-03-20 Thread Sam James
commit: 12bd3b6d3f2239776739e854f01b4dbc02f3c91b
Author: Eli Schwartz  gmail  com>
AuthorDate: Thu Mar 21 05:28:39 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 05:57:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12bd3b6d

sci-electronics/geda: avoid fatal warning for maybe-uninitialized

LTO makes the compiler better able to spot this. But it isn't something
the entire build should fail due to, not for stable release tags of
existing software.

Closes: https://bugs.gentoo.org/862453
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sci-electronics/geda/geda-1.10.2-r2.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/sci-electronics/geda/geda-1.10.2-r2.ebuild 
b/sci-electronics/geda/geda-1.10.2-r2.ebuild
index 4d2d3cab6699..7983738c270b 100644
--- a/sci-electronics/geda/geda-1.10.2-r2.ebuild
+++ b/sci-electronics/geda/geda-1.10.2-r2.ebuild
@@ -62,6 +62,10 @@ src_prepare() {
rm docs/wiki/media/geda/pcb_plugin_template.tar.gz || die
rm docs/wiki/media/pcb/plugin_debug_window.tar.gz || die
 
+   # -Wmaybe-uninitialized is made fatal, which is not ideal for building
+   # releases. Upstream is working on fixing these anyway.
+   sed -i '/Werror_maybe_uninitialized_IF_SUPPORTED/d' configure.ac
+
eautoreconf
 }
 



[gentoo-commits] repo/gentoo:master commit in: sci-biology/qrna/, sci-biology/qrna/files/

2024-03-20 Thread Sam James
commit: c19c464def01a163fc04351c151a98d4048095e3
Author: Eli Schwartz  gmail  com>
AuthorDate: Thu Mar 21 00:25:02 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 05:57:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c19c464d

sci-biology/qrna: add 2.0.4

This is the 2006 edition of the software. It has a bunch of useful
fixes:
- it fixes Modern C porting issues
- it fixes LTO errors
- it incorporates the glibc-2.10 patch

just by upgrading! It's about time we upgrade, since it is 18 years
later.

Along the way we fix up the ebuild a bit:
- bump to EAPI 8
- acquire an actual SRC_URI, not just the gentoo mirror
- update the homepage along with the SRC_URI. The original homepage is
  dead, and the domain redirects to a new domain (whence comes the new
  distfile).

It has some shortcomings too:
- the distfile comes with free .svn directories, which have to be
  pruned.
- the distfile comes without the 80mb demos

To solve this, we use the old distfile (which I think only exists on
Gentoo's mirror network) and gate it behind a USE=examples flag, in case
anyone needs them.

Closes: https://bugs.gentoo.org/862285
Closes: https://bugs.gentoo.org/884283
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sci-biology/qrna/Manifest   |   1 +
 sci-biology/qrna/files/qrna-2.0.4-ldflags.patch | 381 
 sci-biology/qrna/qrna-2.0.4.ebuild  |  61 
 3 files changed, 443 insertions(+)

diff --git a/sci-biology/qrna/Manifest b/sci-biology/qrna/Manifest
index aa10390b4217..9532795cb306 100644
--- a/sci-biology/qrna/Manifest
+++ b/sci-biology/qrna/Manifest
@@ -1 +1,2 @@
 DIST qrna-2.0.3c.tar.bz2 6423705 BLAKE2B 
42bb2f03bac4034da9bcdedcd7c09ce7d1892ceb14d5682745d77c7575a84ae1a6a598406895be2a844ceaffee045ec6357ad08cc0d67a1312458d11b6540fda
 SHA512 
98710bcf8993e2c09ec1eb33632a18ac993ab817dc95a865200b0868f79b95ff61f5f7d3f0c1c33de6d26f674025ea11a8c7d8175b96071e4594daa252fa52b5
+DIST qrna-2.0.4.tar.gz 3220929 BLAKE2B 
77f1272ad9952a3b47142fe996e3838bf13d845e19753e73ad941c2a055e7cc1a714a41543097120d5e96aaa8d5d0394e7083413599f60dac21261b2e4071fd3
 SHA512 
9d2d697d537f9fb0dac374de1b80f6862630cea0bd7cd68f8c3fcf97457d393d2e38e709aac674f4e50d437d5ce11f0bf527c705c2bd28c3017894c11ea17222

diff --git a/sci-biology/qrna/files/qrna-2.0.4-ldflags.patch 
b/sci-biology/qrna/files/qrna-2.0.4-ldflags.patch
new file mode 100644
index ..c53b56b0e935
--- /dev/null
+++ b/sci-biology/qrna/files/qrna-2.0.4-ldflags.patch
@@ -0,0 +1,381 @@
+diff --git a/squid/Makefile b/squid/Makefile
+index fafab4c..8c329b3 100644
+--- a/squid/Makefile
 b/squid/Makefile
+@@ -19,7 +19,6 @@ MANDIR = $(HOME)/man
+ #  On an Alliant, use fxc.
+ #
+ #CC = cc
+-CC = gcc
+ #CC = fxc
+ 
+ ## Any special compiler flags you want.
+@@ -37,7 +36,6 @@ CC = gcc
+ #  for instance. If the code builds cleanly but seg faults, try
+ #  rebuilding without optimization.
+ #
+-CFLAGS = -O -m32
+ #CFLAGS = -g 
+ #CFLAGS = -TARG:exc_max -64 -Ofast=ip27#specific SGI Origin200 compiler#
+ 
+@@ -47,8 +45,6 @@ CFLAGS = -O -m32
+ #  Don't worry. The Makefile tests for ranlib existence and will work
+ #  fine on SGIs even if RANLIB is set.
+ #
+-AR = ar rcv
+-RANLIB = ranlib
+ 
+ ## Machine specific definitions
+ #
+@@ -108,41 +104,41 @@ DIST = $(SRC) $(HDRS) $(READMES) Makefile
+ all: $(LIBTARGET)  
+ 
+ alistat: $(OBJ) alistat_main.o
+-  $(CC) $(CFLAGS) $(MDEFS) -o alistat $(OBJ) alistat_main.o $(LIBS)
++  $(CC) $(CFLAGS) $(LDFLAGS) $(MDEFS) -o alistat $(OBJ) alistat_main.o 
$(LIBS)
+ 
+ compalign: $(OBJ) compalign_main.o
+-  $(CC) $(CFLAGS) $(MDEFS) -o compalign $(OBJ) compalign_main.o $(LIBS)
++  $(CC) $(CFLAGS) $(LDFLAGS) $(MDEFS) -o compalign $(OBJ) 
compalign_main.o $(LIBS)
+ 
+ compstruct: $(OBJ) compstruct_main.o
+-  $(CC) $(CFLAGS) $(MDEFS) -o compstruct $(OBJ) compstruct_main.o $(LIBS)
++  $(CC) $(CFLAGS) $(LDFLAGS) $(MDEFS) -o compstruct $(OBJ) 
compstruct_main.o $(LIBS)
+ 
+ getseq: $(OBJ) getseq_main.o
+-  $(CC) $(CFLAGS) $(MDEFS) -o getseq $(OBJ) getseq_main.o $(LIBS)
++  $(CC) $(CFLAGS) $(LDFLAGS) $(MDEFS) -o getseq $(OBJ) getseq_main.o 
$(LIBS)
+ 
+ reformat: $(OBJ) reformat_main.o
+-  $(CC) $(CFLAGS) $(MDEFS) -o reformat $(OBJ) reformat_main.o $(LIBS)
++  $(CC) $(CFLAGS) $(LDFLAGS) $(MDEFS) -o reformat $(OBJ) reformat_main.o 
$(LIBS)
+ 
+ revcomp: $(OBJ) revcomp_main.o
+-  $(CC) $(CFLAGS) $(MDEFS) -o revcomp $(OBJ) revcomp_main.o $(LIBS)
++  $(CC) $(CFLAGS) $(LDFLAGS) $(MDEFS) -o revcomp $(OBJ) revcomp_main.o 
$(LIBS)
+ 
+ seqstat: $(OBJ) seqstat_main.o
+-  $(CC) $(CFLAGS) $(MDEFS) -o seqstat $(OBJ) seqstat_main.o $(LIBS)
++  $(CC) $(CFLAGS) $(LDFLAGS) $(MDEFS) -o seqstat $(OBJ) seqstat_main.o 
$(LIBS)
+ 
+ seqsplit: $(OBJ) seqsplit_main.o
+-  $(CC) $(CFLAGS) $(MDEFS) -o seqstat $(OBJ) seqsplit_main.o $(LIBS)
++  $(CC) $(CFLAGS) $(LDFLAGS) 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/oc/

2024-03-20 Thread Sam James
commit: e1b5811317b003508b5a6e71590145220c70ec62
Author: Eli Schwartz  gmail  com>
AuthorDate: Thu Mar 21 05:51:02 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 05:57:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1b58113

sci-libs/oc: update EAPI 7 -> 8

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sci-libs/oc/{oc-2.0.ebuild => oc-2.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/oc/oc-2.0.ebuild b/sci-libs/oc/oc-2.0-r1.ebuild
similarity index 99%
rename from sci-libs/oc/oc-2.0.ebuild
rename to sci-libs/oc/oc-2.0-r1.ebuild
index 9dd7413b919e..7928f0b41d15 100644
--- a/sci-libs/oc/oc-2.0.ebuild
+++ b/sci-libs/oc/oc-2.0-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit flag-o-matic
 



[gentoo-commits] repo/gentoo:master commit in: sci-electronics/geda/

2024-03-20 Thread Sam James
commit: ace71b43f1f3f219c51c23ed57ef68cb73c2d2a3
Author: Eli Schwartz  gmail  com>
AuthorDate: Thu Mar 21 05:17:27 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 05:57:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ace71b43

sci-electronics/geda: remove outdated seds

Fixed upstream in 1.10.1 via:
http://git.geda-project.org/geda-gaf/commit/?id=0465d1df75aa9b1f3fa1735e38072ed50390a7f2

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sci-electronics/geda/geda-1.10.2-r2.ebuild | 13 -
 1 file changed, 13 deletions(-)

diff --git a/sci-electronics/geda/geda-1.10.2-r2.ebuild 
b/sci-electronics/geda/geda-1.10.2-r2.ebuild
index b89a89bcae19..3ced4354e46f 100644
--- a/sci-electronics/geda/geda-1.10.2-r2.ebuild
+++ b/sci-electronics/geda/geda-1.10.2-r2.ebuild
@@ -64,19 +64,6 @@ src_prepare() {
sed -i -e 's/\texamples$//' Makefile.in || die
fi
 
-   # add missing GIO_LIB Bug #684870
-   sed -i -e 's/gsymcheck_LDFLAGS =/gsymcheck_LDFLAGS = $(GIO_LIBS)/' \
-   gsymcheck/src/Makefile.am || die
-
-   sed -i -e 's/gnetlist_LDFLAGS =/gnetlist_LDFLAGS = $(GIO_LIBS)/' \
-   gnetlist-legacy/src/Makefile.am || die
-
-   sed -i -e 's/gschlas_LDFLAGS =/gschlas_LDFLAGS = $(GIO_LIBS)/' \
-   utils/gschlas/Makefile.am || die
-
-   sed -i -e 's/sarlacc_schem_LDFLAGS =/sarlacc_schem_LDFLAGS = 
$(GIO_LIBS)/' \
-   contrib/sarlacc_schem/Makefile.am || die
-
# remove compressed files, compressed by portage in install phase
rm docs/wiki/media/geda/gsch2pcb-libs.tar.gz || die
rm docs/wiki/media/geda/pcb_plugin_template.tar.gz || die



[gentoo-commits] repo/gentoo:master commit in: sci-libs/oc/

2024-03-20 Thread Sam James
commit: ec105e48578ab0964c600fcd6cb09d42e349215e
Author: Eli Schwartz  gmail  com>
AuthorDate: Thu Mar 21 05:47:42 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 05:57:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec105e48

sci-libs/oc: mark as LTO-unsafe, strict-aliasing unsafe

Upstream is libdap. They exist. They have lots of maintained software,
it is simply that oc isn't one of them as far as I can tell.

What happened to it? I don't know. Maybe it's legacy abandoned software.
Their distfiles server still has it, but that's it.

Possibly we should delete the package instead...

Closes: https://bugs.gentoo.org/862906
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sci-libs/oc/oc-2.0.ebuild | 13 -
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/sci-libs/oc/oc-2.0.ebuild b/sci-libs/oc/oc-2.0.ebuild
index ee688999d5dd..9dd7413b919e 100644
--- a/sci-libs/oc/oc-2.0.ebuild
+++ b/sci-libs/oc/oc-2.0.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+inherit flag-o-matic
+
 DESCRIPTION="Network Data Access Protocol client C library"
 HOMEPAGE="https://opendap.org/;
 SRC_URI="https://opendap.org/pub/OC/source/${P}.tar.gz;
@@ -18,6 +20,15 @@ RDEPEND="net-misc/curl"
 DEPEND="${RDEPEND}"
 
 src_configure() {
+   # -Werror=strict-aliasing
+   # https://bugs.gentoo.org/862906
+   #
+   # Upstream exists, they just don't seem to mention oc anymore, 
*anywhere*.
+   #
+   # Do not trust with LTO either.
+   append-flags -fno-strict-aliasing
+   filter-lto
+
econf --disable-static
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/grpcio/

2024-03-20 Thread Sam James
commit: 4586f5f9bbc3786a03d316a4a6a06175c66b362d
Author: Eli Schwartz  gmail  com>
AuthorDate: Thu Mar 21 03:43:39 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 05:57:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4586f5f9

dev-python/grpcio: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/856775
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-python/grpcio/grpcio-1.51.0-r1.ebuild | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-python/grpcio/grpcio-1.51.0-r1.ebuild 
b/dev-python/grpcio/grpcio-1.51.0-r1.ebuild
index c913ad233af6..d6ca281e1887 100644
--- a/dev-python/grpcio/grpcio-1.51.0-r1.ebuild
+++ b/dev-python/grpcio/grpcio-1.51.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -7,7 +7,7 @@ DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} )
 
-inherit distutils-r1 multiprocessing prefix pypi
+inherit distutils-r1 flag-o-matic multiprocessing prefix pypi
 
 DESCRIPTION="High-performance RPC framework (python libraries)"
 HOMEPAGE="https://grpc.io;
@@ -38,6 +38,11 @@ python_prepare_all() {
 }
 
 python_configure_all() {
+   # -Werror=odr -Werror=lto-type-mismatch
+   # https://bugs.gentoo.org/856775
+   # https://github.com/grpc/grpc/issues/36158
+   filter-lto
+
# os.environ.get('GRPC_BUILD_WITH_BORING_SSL_ASM', True)
export GRPC_BUILD_WITH_BORING_SSL_ASM=
export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1



[gentoo-commits] repo/gentoo:master commit in: sci-electronics/gsmc/

2024-03-20 Thread Sam James
commit: 1865b28c2a78c25d81aca07fd7def4680b07dc70
Author: Eli Schwartz  gmail  com>
AuthorDate: Thu Mar 21 05:04:12 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 05:57:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1865b28c

sci-electronics/gsmc: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/862456
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sci-electronics/gsmc/gsmc-1.1-r3.ebuild | 14 --
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/sci-electronics/gsmc/gsmc-1.1-r3.ebuild 
b/sci-electronics/gsmc/gsmc-1.1-r3.ebuild
index ebd74cd54aa1..7abf1fbc2832 100644
--- a/sci-electronics/gsmc/gsmc-1.1-r3.ebuild
+++ b/sci-electronics/gsmc/gsmc-1.1-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="A GTK program for doing Smith Chart calculations"
 HOMEPAGE="https://www.qsl.net/ik5nax/;
@@ -30,6 +30,16 @@ src_prepare() {
eautoreconf
 }
 
+src_configure() {
+   # -Werror=lto-type-mismatch
+   # https://bugs.gentoo.org/862456
+   #
+   # Upstream software dates to 2004 with no sign of activity.
+   filter-lto
+
+   default
+}
+
 src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS NEWS README TODO



[gentoo-commits] repo/gentoo:master commit in: sci-libs/mumps/

2024-03-20 Thread Sam James
commit: 3b05cbc43c32d8c519df31a6ccabd17ebd0d6d19
Author: Eli Schwartz  gmail  com>
AuthorDate: Thu Mar 21 03:05:50 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 05:57:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b05cbc4

sci-libs/mumps: mark as LTO-unsafe, strict-aliasing unsafe

I would like to report this upstream. However, the only contact method
is their mailing list. And their mailing list may or may not work -- I
find it hard to tell because I've never seen the interface before, but
it is mostly in French and the bit that I recognized doesn't seem to
have working links to e.g. the archive.

Closes: https://bugs.gentoo.org/862903
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sci-libs/mumps/mumps-5.3.5-r1.ebuild | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/sci-libs/mumps/mumps-5.3.5-r1.ebuild 
b/sci-libs/mumps/mumps-5.3.5-r1.ebuild
index 705a251a15d6..8df93f5e4e8c 100644
--- a/sci-libs/mumps/mumps-5.3.5-r1.ebuild
+++ b/sci-libs/mumps/mumps-5.3.5-r1.ebuild
@@ -63,6 +63,16 @@ static_to_shared() {
 }
 
 src_prepare() {
+   # -Werror=strict-aliasing
+   # https://bugs.gentoo.org/862903
+   #
+   # There is an upstream mailing list but it seems to be broken. I 
*think*,
+   # because it's all in French. I tried and failed to report the bug.
+   #
+   # Do not trust with LTO either.
+   append-flags -fno-strict-aliasing
+   filter-lto
+
# workaround for gcc10 (bug #743442)
append-fflags $(test-flags-FC -fallow-argument-mismatch)
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/clippy/

2024-03-20 Thread Joonas Niilola
commit: 7c0db7cd43c01d18e5d8d1ba128b7966e25a05c2
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Mar 21 05:53:55 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Mar 21 05:53:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c0db7cd

dev-util/clippy: Stabilize 9.0.2 amd64, #923780

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/clippy/clippy-9.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/clippy/clippy-9.0.2.ebuild 
b/dev-util/clippy/clippy-9.0.2.ebuild
index d5221284e33b..5c9ed4fb9169 100644
--- a/dev-util/clippy/clippy-9.0.2.ebuild
+++ b/dev-util/clippy/clippy-9.0.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/frr-${MY_P}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 # standalone clippy does not have any tests



[gentoo-commits] repo/gentoo:master commit in: net-misc/frr/

2024-03-20 Thread Joonas Niilola
commit: 9c810d18f831c31382f7841db770fcbf99a558d3
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Mar 21 05:53:55 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Mar 21 05:53:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c810d18

net-misc/frr: Stabilize 9.0.2 amd64, #923780

Signed-off-by: Joonas Niilola  gentoo.org>

 net-misc/frr/frr-9.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/frr/frr-9.0.2.ebuild b/net-misc/frr/frr-9.0.2.ebuild
index 3ee3c19c8be1..87227382bd64 100644
--- a/net-misc/frr/frr-9.0.2.ebuild
+++ b/net-misc/frr/frr-9.0.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/frr-${P}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 IUSE="doc fpm grpc ipv6 nhrp ospfapi pam rpki snmp test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: app-emacs/flycheck/

2024-03-20 Thread Joonas Niilola
commit: 53565b45fc9ce30b4bf473fd42f89cb76e4e4672
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Mar 21 05:45:07 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Mar 21 05:45:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53565b45

app-emacs/flycheck: Stabilize 34.1 amd64, #927370

Signed-off-by: Joonas Niilola  gentoo.org>

 app-emacs/flycheck/flycheck-34.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/flycheck/flycheck-34.1.ebuild 
b/app-emacs/flycheck/flycheck-34.1.ebuild
index 872e7864b6e2..1d30e9a23b83 100644
--- a/app-emacs/flycheck/flycheck-34.1.ebuild
+++ b/app-emacs/flycheck/flycheck-34.1.ebuild
@@ -17,7 +17,7 @@ else
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz
-> ${P}.tar.gz"
 
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
 fi
 
 LICENSE="GPL-3+"



[gentoo-commits] repo/gentoo:master commit in: dev-python/sqlglot/

2024-03-20 Thread Michał Górny
commit: cea7ca45a9b8d03875203a8d421431a87a7fb1a9
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 21 05:15:52 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 21 05:38:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cea7ca45

dev-python/sqlglot: Bump to 23.0.5

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sqlglot/Manifest  |   1 +
 dev-python/sqlglot/sqlglot-23.0.5.ebuild | 121 +++
 2 files changed, 122 insertions(+)

diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest
index be9f6fb2fe1f..15e54410bdf0 100644
--- a/dev-python/sqlglot/Manifest
+++ b/dev-python/sqlglot/Manifest
@@ -22,6 +22,7 @@ DIST smallvec-1.11.2.crate 34801 BLAKE2B 
58645e99db8f02db64d02c75860c7ea41836c42
 DIST sqlglot-23.0.1.tar.gz 12849655 BLAKE2B 
1c6b9356ab1f46e69f933e5a7dae4e39a49da0e6e01ef4d68458e3e038efe1881840b39de4b28799332435553ebb50cebf8f08bbd898f64fecc36507b101b140
 SHA512 
005310d68d21cefedbeba9eeea15e4edcc73c43e36d14a247814dad862e476c70fe292963f62e993b6b16859752f2c2e62c0d4b73d9cf62f0fb27ae6c78f384f
 DIST sqlglot-23.0.3.tar.gz 12854436 BLAKE2B 
76f25d44a2d098da85d06a2597afc978c2e7d81c75f1b53eb6cf35637bb4a2e0129131f53d15f2817c7cf27727f567ffefcb436b082a80ff6049a188492f9677
 SHA512 
899002c9b4859570fe1753cbda39daecea2bbb76dab837ea284bd756a95e58a20d6d4ced8198532d9bcc1da2ae99e52f81fb3df9f3e2454925e56ea2c2056130
 DIST sqlglot-23.0.4.tar.gz 12857012 BLAKE2B 
94a6263a1638239289a277b6d7a271dcce59606253fda82a55e5bbde67b33f2d3f5b9e1cf487ab4b0200ef7ff496e5675f3d0ded04c281724254692d1df1ffc0
 SHA512 
2d69bc556f06c71aa6d26a1a7c62811a942ddf38068990b0ad5237bbf8649f2aa8faec04a64a4e8176308919bef985f9884ec1590fed76d97f956d4bbb245b14
+DIST sqlglot-23.0.5.tar.gz 12856796 BLAKE2B 
45379016755817b03b2fc62fa4360d3a5f1313cf0d0206996bee5dd996f7fd848409fd613c45539aee027a3b47263aeb1912832f7d7fc219d8c22a4e7874d3f2
 SHA512 
424a7ce4654fc72e02269e5a6976279251dcb24ea17e450bf23641e563e5b5675063d80d38b76b9180c828715c6cae59e1cf4146f3d5a985aa9a7871ddf3ccb2
 DIST syn-2.0.41.crate 246016 BLAKE2B 
9d389f2e2a0acb4c84c309456e8ffcc88c5d4d541535ed136832d7a6054dde45a598bb68e8a6f3062ca2a96e1ceae947d54b3aec9bad65b0c51d6733aa6c80db
 SHA512 
6bbaf69ca783025dfb81ac3612ac60bfbed31b2d87792909b35c12892dadebdaff2ddf9463105e536b671dce5870610ab90fe29471284bbd3014dca8d6993f1a
 DIST target-lexicon-0.12.12.crate 25156 BLAKE2B 
f3803596c75f6c89438592a1176c3748fc2c0524d7d50a20056de1cd26d40c572b05bafcdf6dd702752864bea37c8b4f28f96dadc12a5b3bb1d279b25e489f85
 SHA512 
6147295c43ba1b7b087a3c5ab51534b2985e4e77e5e15687978cfb9d07e21c4fd9bc7191576d6cabd268d08a44dc733c4a957e59dba8b948c2055d8bb433aeca
 DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 
4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac
 SHA512 
bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920

diff --git a/dev-python/sqlglot/sqlglot-23.0.5.ebuild 
b/dev-python/sqlglot/sqlglot-23.0.5.ebuild
new file mode 100644
index ..058fa81df816
--- /dev/null
+++ b/dev-python/sqlglot/sqlglot-23.0.5.ebuild
@@ -0,0 +1,121 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+CARGO_OPTIONAL=1
+CRATES="
+   autocfg@1.1.0
+   bitflags@1.3.2
+   cfg-if@1.0.0
+   heck@0.4.1
+   indoc@2.0.4
+   libc@0.2.150
+   lock_api@0.4.11
+   memoffset@0.9.0
+   once_cell@1.19.0
+   parking_lot@0.12.1
+   parking_lot_core@0.9.9
+   proc-macro2@1.0.70
+   pyo3-build-config@0.20.0
+   pyo3-ffi@0.20.0
+   pyo3-macros-backend@0.20.0
+   pyo3-macros@0.20.0
+   pyo3@0.20.0
+   quote@1.0.33
+   redox_syscall@0.4.1
+   scopeguard@1.2.0
+   smallvec@1.11.2
+   syn@2.0.41
+   target-lexicon@0.12.12
+   unicode-ident@1.0.12
+   unindent@0.2.3
+   windows-targets@0.48.5
+   windows_aarch64_gnullvm@0.48.5
+   windows_aarch64_msvc@0.48.5
+   windows_i686_gnu@0.48.5
+   windows_i686_msvc@0.48.5
+   windows_x86_64_gnu@0.48.5
+   windows_x86_64_gnullvm@0.48.5
+   windows_x86_64_msvc@0.48.5
+"
+
+inherit cargo distutils-r1 pypi optfeature
+
+DESCRIPTION="An easily customizable SQL parser and transpiler"
+HOMEPAGE="
+   https://sqlglot.com/
+   https://github.com/tobymao/sqlglot/
+   https://pypi.org/project/sqlglot/
+"
+SRC_URI+="
+   native-extensions? (
+   ${CARGO_CRATE_URIS}
+   )
+"
+
+LICENSE="MIT"
+LICENSE+=" native-extensions? ("
+# Dependent crate licenses
+LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016"
+LICENSE+=" )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+native-extensions"
+
+BDEPEND="
+   native-extensions? (
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/ubelt/

2024-03-20 Thread Michał Górny
commit: 7f42adba870f08ac29d56653ae5a79aec941908b
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 21 05:19:09 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 21 05:39:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f42adba

dev-python/ubelt: Bump to 1.3.5

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/ubelt/Manifest   |  1 +
 dev-python/ubelt/ubelt-1.3.5.ebuild | 42 +
 2 files changed, 43 insertions(+)

diff --git a/dev-python/ubelt/Manifest b/dev-python/ubelt/Manifest
index 72340f9c33d7..e0e6bfde97e7 100644
--- a/dev-python/ubelt/Manifest
+++ b/dev-python/ubelt/Manifest
@@ -1 +1,2 @@
 DIST ubelt-1.3.4.gh.tar.gz 353041 BLAKE2B 
1de8ad1fc69554570f62c17fa537918b93d913e09db1d7c9b94ac9fa5f7b60a4a408f4c562718b9bbcf13e4307c091cf4ac24caa952233974d37cc6651e4786e
 SHA512 
b3afc832832b28e7ca884c68188d34da9a1c3d5e38b5431cc40d8215fd43875f02cf71068e8b242feca0891f9421d3fba745d4236865beb5cb4f40482a777e13
+DIST ubelt-1.3.5.gh.tar.gz 361497 BLAKE2B 
68887d1147faf44cc6c0b62441362c903d20bf141921c62122bbd846fb5d886f8bc4d7012262e2a146670996fc7c39238534f9d9e768f073d279f6234ea23fd8
 SHA512 
bf54345a1dd8cd737525b91050e587e86fbde29fef7ae787dba8c5dae675ee763e193a460f567d89229592c43c780a65091ffcab008383e06dd1318c7a9f3dd3

diff --git a/dev-python/ubelt/ubelt-1.3.5.ebuild 
b/dev-python/ubelt/ubelt-1.3.5.ebuild
new file mode 100644
index ..4990d2a18424
--- /dev/null
+++ b/dev-python/ubelt/ubelt-1.3.5.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="A stdlib like feel, and extra batteries. Hashing, Caching, 
Timing, Progress"
+HOMEPAGE="
+   https://github.com/Erotemic/ubelt/
+   https://pypi.org/project/ubelt/
+"
+SRC_URI="
+   https://github.com/Erotemic/${PN}/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+BDEPEND="
+   test? (
+   >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}]
+   >=dev-python/pygments-2.2.0[${PYTHON_USEDEP}]
+   >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.25.1[${PYTHON_USEDEP}]
+   dev-python/xdoctest[${PYTHON_USEDEP}]
+   >=dev-python/xxhash-1.0.1[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+   tests/test_editable_modules.py::test_import_of_editable_install
+   # relies on passwd home being equal to ${HOME}
+   ubelt/util_path.py::userhome:0
+)



[gentoo-commits] repo/gentoo:master commit in: dev-python/boto3/

2024-03-20 Thread Michał Górny
commit: 4cbdf84eecba9fef1fb4f9ceefac54b45f452fe1
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 21 04:32:52 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 21 05:38:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cbdf84e

dev-python/boto3: Bump to 1.34.67

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/boto3/Manifest |  1 +
 dev-python/boto3/boto3-1.34.67.ebuild | 58 +++
 2 files changed, 59 insertions(+)

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index aea6ff2f959c..e1a4632423a1 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -3,3 +3,4 @@ DIST boto3-1.34.59.gh.tar.gz 782060 BLAKE2B 
d46f20f101f36380a17cb5c1bd511adde1b9
 DIST boto3-1.34.64.gh.tar.gz 784663 BLAKE2B 
6a4b335dba37ea09d7b2cec152699972b0b1db6c9a538435f565fcf6694d0f7bcff8e1dcec04f3a8a00844582eb8f5b3635b6425404020e760a35809c6d868b8
 SHA512 
39297271578a5766d95dcef540fa9f29831680ae13e618b3aa0890cf888e4e7f8c509d3df15e8003ab94c66c7de1442adf74a1bb38a8d5cb9bbab46f00fbc17a
 DIST boto3-1.34.65.gh.tar.gz 785163 BLAKE2B 
15596df62933b72311f7f6cb7a9c710355ad040e4be8bd8c78481a1a69ccaafbc50ed427466da985c0031d5d1e440ba78fdc751655921d08f15c506d29b2d5d2
 SHA512 
12ded3641b4c18425886d9f017e157e22b587386d17a16914918deb68c5e8b13369e40af1012a8917621fd97c0d076057bf95d3e4a9ae367f9ccec3d88aade96
 DIST boto3-1.34.66.gh.tar.gz 785695 BLAKE2B 
b11aebb785ca7cf93f8eeffef7d96a698a3073e4144131c6e786518a957b5a346f4fb67a306461b25db3821e04ff5687c680a5f816c3c587b9196d77961d501f
 SHA512 
80570ee5a0b7beaac71784a4edca2c5504a7d0e1195c919ddf9a90ae7b0dab30d7798082948678f7bd61e701006c7f35d417e905df5be7027e0341f9c649b724
+DIST boto3-1.34.67.gh.tar.gz 786594 BLAKE2B 
633bcdefdd9753cacd2ca101ed72a544e11b2fa9137320b0c259808369ac017ec65e7d9dcd14daa3ac7e9f6dee23459ed6c119458b8d885efa77f27f2dddb029
 SHA512 
8c10d5ae3498191c2199ea4535b180d0f0cb4ac07c698970a2664ef8837c81ed8e23d1fefefd0ea79135fd0da68a60b92137a382daaff8ba306a977821a623f6

diff --git a/dev-python/boto3/boto3-1.34.67.ebuild 
b/dev-python/boto3/boto3-1.34.67.ebuild
new file mode 100644
index ..b64e7191fd19
--- /dev/null
+++ b/dev-python/boto3/boto3-1.34.67.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="The AWS SDK for Python"
+HOMEPAGE="
+   https://github.com/boto/boto3/
+   https://pypi.org/project/boto3/
+"
+SRC_URI="
+   https://github.com/boto/boto3/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
+
+RDEPEND="
+   >=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
+   >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
+   >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # don't lock versions to narrow ranges
+   sed -e '/botocore/ d' \
+   -e '/jmespath/ d' \
+   -e '/s3transfer/ d' \
+   -i setup.py || die
+
+   # do not rely on bundled deps in botocore (sic!)
+   find -name '*.py' -exec sed -i \
+   -e 's:from botocore[.]vendored import:import:' \
+   -e 's:from botocore[.]vendored[.]:from :' \
+   {} + || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest tests/{functional,unit}
+}



[gentoo-commits] repo/gentoo:master commit in: xfce-extra/xfce4-xkb-plugin/

2024-03-20 Thread Michał Górny
commit: 3a859adacb343b712ba25326ba9dfa0d7a83b6d1
Author: Alexander Kurakin  mail  ru>
AuthorDate: Wed Jul  5 16:07:32 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 21 05:39:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a859ada

xfce-extra/xfce4-xkb-plugin: add dev-libs/glib dependency

GLib dependency introduced in
https://gitlab.xfce.org/panel-plugins/xfce4-xkb-plugin/-/commit/d9ec91258306ba5b22d8248da023b5f041480523.

[mgorny: removed revbump, dev-libs/glib is a dep of GTK+]

Closes: https://bugs.gentoo.org/909737
Signed-off-by: Alexander Kurakin  mail.ru>
Closes: https://github.com/gentoo/gentoo/pull/31767
Signed-off-by: Michał Górny  gentoo.org>

 xfce-extra/xfce4-xkb-plugin/xfce4-xkb-plugin-0.8.3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/xfce-extra/xfce4-xkb-plugin/xfce4-xkb-plugin-0.8.3.ebuild 
b/xfce-extra/xfce4-xkb-plugin/xfce4-xkb-plugin-0.8.3.ebuild
index 189676d4dc45..58acff9b2d21 100644
--- a/xfce-extra/xfce4-xkb-plugin/xfce4-xkb-plugin-0.8.3.ebuild
+++ b/xfce-extra/xfce4-xkb-plugin/xfce4-xkb-plugin-0.8.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,6 +15,7 @@ KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv 
~sparc x86 ~amd64-linux
 IUSE="libnotify"
 
 DEPEND="
+   >=dev-libs/glib-2.50.0
gnome-base/librsvg
x11-libs/gtk+:3
x11-libs/libwnck:3



[gentoo-commits] repo/gentoo:master commit in: xfce-extra/xfce4-kbdleds-plugin/files/, xfce-extra/xfce4-kbdleds-plugin/

2024-03-20 Thread Michał Górny
commit: 34140a9472bc029f0a8e1bc5c3dc1685fe365819
Author: orbea  riseup  net>
AuthorDate: Sun Mar 17 19:48:07 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 21 05:39:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34140a94

xfce-extra/xfce4-kbdleds-plugin: fix undefined references

Closes: https://bugs.gentoo.org/913681
Upstream-PR: https://github.com/oco2000/xfce4-kbdleds-plugin/pull/10
Ustream-Commit: 
https://github.com/oco2000/xfce4-kbdleds-plugin/commit/190434d67843c2ec392aa4a2cab46e8479d2d34d
Signed-off-by: orbea  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/35806
Signed-off-by: Michał Górny  gentoo.org>

 .../xfce4-kbdleds-plugin-0.2.3-x11-libs.patch  | 40 ++
 .../xfce4-kbdleds-plugin-0.2.3.ebuild  | 35 ++-
 2 files changed, 66 insertions(+), 9 deletions(-)

diff --git 
a/xfce-extra/xfce4-kbdleds-plugin/files/xfce4-kbdleds-plugin-0.2.3-x11-libs.patch
 
b/xfce-extra/xfce4-kbdleds-plugin/files/xfce4-kbdleds-plugin-0.2.3-x11-libs.patch
new file mode 100644
index ..37d2940dff2f
--- /dev/null
+++ 
b/xfce-extra/xfce4-kbdleds-plugin/files/xfce4-kbdleds-plugin-0.2.3-x11-libs.patch
@@ -0,0 +1,40 @@
+https://github.com/oco2000/xfce4-kbdleds-plugin/pull/10
+https://github.com/oco2000/xfce4-kbdleds-plugin/commit/190434d67843c2ec392aa4a2cab46e8479d2d34d
+
+From 128f5cd7d042007d91b2ec7cb744e64a81468566 Mon Sep 17 00:00:00 2001
+From: orbea 
+Date: Sun, 17 Mar 2024 08:37:11 -0700
+Subject: [PATCH] panel-plugin: add missing x11 linker flags
+
+The configure.ac.in has XDT_CHECK_LIBX11_REQUIRE, but fails to use the
+provided $(LIBX11_CFLAGS) and $(LIBX11_LIBS) variables in the build.
+
+While the build has -no-undefined GNU libtool will silently ignore that
+flag, but when built with slibtool instead it correctly passes
+-Wl,--no-undefined to the linker revealing this issue.
+
+Gentoo issue: https://bugs.gentoo.org/913681
+---
+ panel-plugin/Makefile.am | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am
+index 5f355fe..bb3b225 100644
+--- a/panel-plugin/Makefile.am
 b/panel-plugin/Makefile.am
+@@ -22,6 +22,7 @@ libkbdleds_la_SOURCES = \
+   kbdleds-dialogs.h
+ 
+ libkbdleds_la_CFLAGS = \
++  $(LIBX11_CFLAGS) \
+   $(LIBXFCE4UTIL_CFLAGS) \
+   $(LIBXFCE4UI_CFLAGS) \
+   $(LIBXFCE4PANEL_CFLAGS) \
+@@ -35,6 +36,7 @@ libkbdleds_la_LDFLAGS = \
+$(PLATFORM_LDFLAGS)
+ 
+ libkbdleds_la_LIBADD = \
++  $(LIBX11_LIBS) \
+   $(LIBXFCE4UTIL_LIBS) \
+   $(LIBXFCE4UI_LIBS) \
+   $(LIBXFCE4PANEL_LIBS)

diff --git a/xfce-extra/xfce4-kbdleds-plugin/xfce4-kbdleds-plugin-0.2.3.ebuild 
b/xfce-extra/xfce4-kbdleds-plugin/xfce4-kbdleds-plugin-0.2.3.ebuild
index 7801acd52904..dc84417ae664 100644
--- a/xfce-extra/xfce4-kbdleds-plugin/xfce4-kbdleds-plugin-0.2.3.ebuild
+++ b/xfce-extra/xfce4-kbdleds-plugin/xfce4-kbdleds-plugin-0.2.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit xdg-utils
+inherit autotools xdg-utils
 
 DESCRIPTION="A panel plug-in to show state of Caps, Num and Scroll Lock keys"
 HOMEPAGE="https://github.com/oco2000/xfce4-kbdleds-plugin;
@@ -13,18 +13,35 @@ LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~riscv ~x86"
 
-RDEPEND="
+DEPEND="
xfce-base/libxfce4ui:=
xfce-base/libxfce4util:=
-   xfce-base/xfce4-panel"
-DEPEND=${RDEPEND}
+   xfce-base/xfce4-panel
+"
+RDEPEND="
+   ${DEPEND}
+"
 BDEPEND="
dev-util/intltool
sys-devel/gettext
-   virtual/pkgconfig"
-
-# https://github.com/oco2000/xfce4-kbdleds-plugin/pull/7
-PATCHES=( "${FILESDIR}/${P}-xfce-4.16.patch" )
+   virtual/pkgconfig
+"
+# for eautoreconf
+BDEPEND+="
+   dev-build/xfce4-dev-tools
+"
+
+PATCHES=(
+   # https://github.com/oco2000/xfce4-kbdleds-plugin/pull/7
+   "${FILESDIR}/${P}-xfce-4.16.patch"
+   # https://github.com/oco2000/xfce4-kbdleds-plugin/pull/10
+   "${FILESDIR}/${P}-x11-libs.patch" #913681
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
 
 src_install() {
default



[gentoo-commits] repo/gentoo:master commit in: dev-python/importlib-metadata/

2024-03-20 Thread Michał Górny
commit: 561292248900bca6ebc80ea3525f787319b59852
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 21 05:16:38 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 21 05:38:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56129224

dev-python/importlib-metadata: Bump to 7.1.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/importlib-metadata/Manifest |  1 +
 .../importlib-metadata-7.1.0.ebuild| 51 ++
 2 files changed, 52 insertions(+)

diff --git a/dev-python/importlib-metadata/Manifest 
b/dev-python/importlib-metadata/Manifest
index 1431a64c3482..1fff621fbd81 100644
--- a/dev-python/importlib-metadata/Manifest
+++ b/dev-python/importlib-metadata/Manifest
@@ -1,2 +1,3 @@
 DIST importlib_metadata-7.0.1.tar.gz 50537 BLAKE2B 
791a5d11e7b52f1563f69e4c6014ca8d29995a673d9f55b5ab809215f8e1f3410ed52e80443d28fa944f460a2d55c6e857bf34533376a05ae677186cfd3916dd
 SHA512 
73cdd72e0e39c34beb357bafd0ece2ebdf7def4c9c34f434f4be6da53c70206e5bc9ec3e6ddf0282e1511ddf14a9a562b09cab822483733802bed19e23716023
 DIST importlib_metadata-7.0.2.tar.gz 51206 BLAKE2B 
74202e7e4097f16c2de0453d7a47ee6f7b1658d07979fd13e34b749d7bf13c668ee5a8e9fd48bbf4220c87216c702ddc17483ecc30a41409d1e7757ecd4c0300
 SHA512 
a672e5b887107f4dac02283bedfe8e545c2eadc92a51df75e5db671707f497c4d441b9c60841e2651d9dc4779b34167b49ad20f4b49e642d848419e303d73aef
+DIST importlib_metadata-7.1.0.tar.gz 52120 BLAKE2B 
a43a1f0724b3197f51c055d36d31700d67b3bcae849fd648c7cd1ac158a410fdf05a27f2c7003a30e566f86ec5dcbf7cf386ebe4e0ed0a1ce2e89e280ab9e1d3
 SHA512 
e75db6da03c251acc690ceef6ab2b668acfcf5499032cff370a574b31a5fd7afcbf9756bc20e44e6e649767c1609c7ebb40203aa6406ec5341f27fba886d208e

diff --git a/dev-python/importlib-metadata/importlib-metadata-7.1.0.ebuild 
b/dev-python/importlib-metadata/importlib-metadata-7.1.0.ebuild
new file mode 100644
index ..45aa526ce45d
--- /dev/null
+++ b/dev-python/importlib-metadata/importlib-metadata-7.1.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+# NB: this package extends beyond built-in importlib stuff in py3.8+
+# new entry_point API not yet included in cpython release
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Read metadata from Python packages"
+HOMEPAGE="
+   https://github.com/python/importlib_metadata/
+   https://pypi.org/project/importlib-metadata/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+
+RDEPEND="
+   dev-python/zipp[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/jaraco-test-5.4[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   dev-python/pyfakefs[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests unittest
+
+src_configure() {
+   grep -q 'build-backend = "setuptools' pyproject.toml ||
+   die "Upstream changed build-backend, recheck"
+   # write a custom pyproject.toml to ease setuptools bootstrap
+   cat > pyproject.toml <<-EOF || die
+   [build-system]
+   requires = ["flit_core >=3.2,<4"]
+   build-backend = "flit_core.buildapi"
+
+   [project]
+   name = "importlib_metadata"
+   version = "${PV}"
+   description = "Read metadata from Python packages"
+   EOF
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgit2/

2024-03-20 Thread Michał Górny
commit: c88742302bc7ebb033fafdd890fcac075fa94380
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 21 05:21:09 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 21 05:39:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8874230

dev-libs/libgit2: Bump to 1.8.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/libgit2/Manifest |  1 +
 dev-libs/libgit2/libgit2-1.8.0.ebuild | 70 +++
 2 files changed, 71 insertions(+)

diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest
index 00024bb1bf19..75342bf140e3 100644
--- a/dev-libs/libgit2/Manifest
+++ b/dev-libs/libgit2/Manifest
@@ -1,2 +1,3 @@
 DIST libgit2-1.7.1.tar.gz 7548081 BLAKE2B 
9c50d3c25d1cc58e5fab60b4c438c91479dd57138a14a48a8b692bb6b43733f59759172043c94198df63fa1e4eb40c548bb78c94bc57fb99682059be57a5c3e2
 SHA512 
08e60dde0cdf57006cf0c5f27a82220aba8d701bf7d6d709ffe312975ffa5dbef009ccb1e7cbe570b9502f4361d06ace44dbfd9a5f5f8ad08e9b0ca05bef765e
 DIST libgit2-1.7.2.tar.gz 7548186 BLAKE2B 
c27870124c7e63a37794014a802a6fce46c577313f3b6081580f920fa842a65305b5bc56aa6ab02cf87c533d6052afdc37317f96aa1fd67387b07f52415ccbe3
 SHA512 
825737e4a1991fba50ea535f15b0e560ebe76ead752e04aeba36925b944d0da77fe9826a70980a1aa3d0bf9afbedfab79dd92e799c9252931384c89ebec9b012
+DIST libgit2-1.8.0.tar.gz 7590126 BLAKE2B 
f3cc5259a5804bb1e319633269a8c488d7195683e39c178fbe5dc43278736bf15f706c1ca8f72b519ef647033ed11426ea40ceb0dd3ffddae3a35839493d6c54
 SHA512 
e5634267bd9c6a594c9a954d09c657e7b8aadf213609bf7dd83b99863d0d0c7109a5277617dd508abc2da54ea3f12c2af1908d1aeb73c000e94056e2f3653144

diff --git a/dev-libs/libgit2/libgit2-1.8.0.ebuild 
b/dev-libs/libgit2/libgit2-1.8.0.ebuild
new file mode 100644
index ..ad67fc2de444
--- /dev/null
+++ b/dev-libs/libgit2/libgit2-1.8.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit cmake python-any-r1
+
+DESCRIPTION="A linkable library for Git"
+HOMEPAGE="https://libgit2.org/;
+SRC_URI="
+   https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+"
+S=${WORKDIR}/${P/_/-}
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 
~ppc-macos"
+IUSE="examples gssapi +ssh test +threads trace"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-libs/libpcre2:=
+   net-libs/http-parser:=
+   sys-libs/zlib
+   dev-libs/openssl:0=
+   gssapi? ( virtual/krb5 )
+   ssh? ( net-libs/libssh2 )
+"
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   virtual/pkgconfig
+"
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTS=$(usex test)
+   -DUSE_SSH=$(usex ssh)
+   -DUSE_GSSAPI=$(usex gssapi ON OFF)
+   -DUSE_HTTP_PARSER=system
+   -DREGEX_BACKEND=pcre2
+   )
+   cmake_src_configure
+}
+
+src_test() {
+   if [[ ${EUID} -eq 0 ]] ; then
+   # repo::iterator::fs_preserves_error fails if run as root
+   # since root can still access dirs with  perms
+   ewarn "Skipping tests: non-root privileges are required for all 
tests to pass"
+   else
+   local TEST_VERBOSE=1
+   cmake_src_test -R offline
+   fi
+}
+
+src_install() {
+   cmake_src_install
+   dodoc docs/*.{md,txt}
+
+   if use examples ; then
+   find examples -name '.gitignore' -delete || die
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytools/

2024-03-20 Thread Michał Górny
commit: 32cf1f6162ba015288d4d26abe4514bd9e7cc97f
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 21 05:18:06 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 21 05:39:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32cf1f61

dev-python/pytools: Bump to 2024.1.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytools/Manifest|  1 +
 dev-python/pytools/pytools-2024.1.1.ebuild | 33 ++
 2 files changed, 34 insertions(+)

diff --git a/dev-python/pytools/Manifest b/dev-python/pytools/Manifest
index 17fdfa7405e5..8f7913f48b4e 100644
--- a/dev-python/pytools/Manifest
+++ b/dev-python/pytools/Manifest
@@ -1 +1,2 @@
 DIST pytools-2023.1.1.tar.gz 75472 BLAKE2B 
a7d83dc55175d17fe7ded758279d236a9cd8f103fe7c9da2994a048799817509fbdd38466468ce4de2e5cd2984f4906f6f5524462cd72760ad32c6ebfab9
 SHA512 
0b8d4ec7145a42d9a679b7e08a05aa126c7d4514faa77e207fb154c84e56233b80dd49f388f261ba29e70e2cff836f6c850ea05af81360da8120756a0db35e6a
+DIST pytools-2024.1.1.tar.gz 77122 BLAKE2B 
38b46a6363c707da90670a28d63dbaf1b77f739a4f7473bda11fa671ad267ee33c48312e3813e05888d3cd48efc60ec3006d57a316053ff2d0160d0b284bca9d
 SHA512 
3b47764ac6f1ea0938c32e42092c0acfe81b2f22eb15c3ded589c5022c8a07ff89420f30ec78779ccb9f07d8611fa9c447539859371d8aade603f302b747cf97

diff --git a/dev-python/pytools/pytools-2024.1.1.ebuild 
b/dev-python/pytools/pytools-2024.1.1.ebuild
new file mode 100644
index ..5b603b0c29b1
--- /dev/null
+++ b/dev-python/pytools/pytools-2024.1.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE='sqlite'
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Collection of tools missing from the Python standard library"
+HOMEPAGE="
+   https://mathema.tician.de/software/pytools/
+   https://github.com/inducer/pytools/
+   https://pypi.org/project/pytools/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+
+# NB: numpy is now an "extra" (optional) dep -- we can remove it from
+# RDEPEND If revdeps don't need it
+RDEPEND="
+   >=dev-python/numpy-1.6.0[${PYTHON_USEDEP}]
+   >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   >=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}]
+   ' 3.10)
+"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: app-admin/awscli/

2024-03-20 Thread Michał Górny
commit: 309291a6f040656ce51561d9837ce63a037a0544
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 21 04:33:04 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 21 05:38:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=309291a6

app-admin/awscli: Bump to 1.32.67

Signed-off-by: Michał Górny  gentoo.org>

 app-admin/awscli/Manifest  |  1 +
 app-admin/awscli/awscli-1.32.67.ebuild | 90 ++
 2 files changed, 91 insertions(+)

diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index bc4c2e211b01..163bebef3e1e 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -3,3 +3,4 @@ DIST aws-cli-1.32.59.gh.tar.gz 2660092 BLAKE2B 
560bd7b69822af18f33e91d7586da20b6
 DIST aws-cli-1.32.64.gh.tar.gz 2672156 BLAKE2B 
6707984b03e004ed8672b35694c9e4be7d2543c040a64778c0ad43a4e011f07506eb5e3f9791a5b0e23bc5bd222b625daa078f9e42cfbf6d71b7887d675c1a5a
 SHA512 
f39472bb1ad75cbfc4bf775aee9a003a884d7423e10d9ff96f90ebe7dbd97c0db4bbd4d52f1d918372ec880d1dea8f5cf82db31118a7c29973d42149064fd8a3
 DIST aws-cli-1.32.65.gh.tar.gz 2672697 BLAKE2B 
209f59887a7b7841ab3e9d502365b47f390516351cb055c8e89e10a1d83e259c9938a0a967d8b436814c637ed88ba853e75813b7ab8d7632d97fe6020392638d
 SHA512 
924bb324ac513d3228d7e287b0a55537a1b0c53615673516edd69f2743d67b7746976c23fe6a455e0b265eee957dceaa750e556ede98f2f530e2a3373713817c
 DIST aws-cli-1.32.66.gh.tar.gz 2674255 BLAKE2B 
a636728892756c9ae0837f470f74fb9a231302962a3ffe3c68ffeafa082342bbab8f4a32268c45a56ba0a34b3d5ca3e1f2e9ec53687515354b20af7accdae142
 SHA512 
f46da9511837956ff9584b25fd563f78fd02865b3f165e3d641bf725305bca4ae78865570c9f4ff92cdf36f9c25bd59f2543278781a09d95d07fb343cb9c535f
+DIST aws-cli-1.32.67.gh.tar.gz 2674997 BLAKE2B 
e852fbb594aad6f3879ffdcbee5135b7cc635a13fc4f12d05f9862cec43bcfe26701171da1baae0e3f8324534cd0bcb8ce7857a9d1add888066a24fc44f8bc02
 SHA512 
f619e46c75efa684219451a5adb89adcaccc88b149b8c240d3405507887ee734779d7097bb80a4f0e1d973f544f8b3743c6900c7e3f19e4b3cf1793da880748f

diff --git a/app-admin/awscli/awscli-1.32.67.ebuild 
b/app-admin/awscli/awscli-1.32.67.ebuild
new file mode 100644
index ..4a677affdbc4
--- /dev/null
+++ b/app-admin/awscli/awscli-1.32.67.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit bash-completion-r1 distutils-r1
+
+MY_P=aws-cli-${PV}
+DESCRIPTION="Universal Command Line Environment for AWS"
+HOMEPAGE="
+   https://github.com/aws/aws-cli/
+   https://pypi.org/project/awscli/
+"
+SRC_URI="
+   https://github.com/aws/aws-cli/archive/${PV}.tar.gz
+   -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+# botocore is x.(y+2).z
+BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
+RDEPEND="
+   >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
+   dev-python/colorama[${PYTHON_USEDEP}]
+   dev-python/docutils[${PYTHON_USEDEP}]
+   dev-python/rsa[${PYTHON_USEDEP}]
+   >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+   !app-admin/awscli-bin
+"
+BDEPEND="
+   test? (
+   dev-python/packaging[${PYTHON_USEDEP}]
+   dev-python/pytest-forked[${PYTHON_USEDEP}]
+   )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+src_prepare() {
+   # do not rely on bundled deps in botocore (sic!)
+   find -name '*.py' -exec sed -i \
+   -e 's:from botocore[.]vendored import:import:' \
+   -e 's:from botocore[.]vendored[.]:from :' \
+   {} + || die
+   # strip overzealous upper bounds on requirements
+   sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   local serial_tests=(
+   
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
+   
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
+   
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_success
+   
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
+   
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
+   
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
+   
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/botocore/

2024-03-20 Thread Michał Górny
commit: ec81ad1f2ebccbcabe1e4b31077debd9db27b16e
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 21 04:32:30 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 21 05:38:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec81ad1f

dev-python/botocore: Bump to 1.34.67

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/botocore/Manifest|  1 +
 dev-python/botocore/botocore-1.34.67.ebuild | 67 +
 2 files changed, 68 insertions(+)

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index adbd5d4c2b09..3bc12ee0d81f 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -3,3 +3,4 @@ DIST botocore-1.34.59.gh.tar.gz 12764223 BLAKE2B 
13347793764afb8ef51502149f490e5
 DIST botocore-1.34.64.gh.tar.gz 12774647 BLAKE2B 
a41493d400b0f4f406a144aa968f0111ef2fa4bd739e43c6db8dddf4b70cfe68c714ec16875b942078a4bf8b9bd3a2dc596ea403c6e7dec6b076dccac7167c4b
 SHA512 
66b7abf68d560ef87c94fbcde2738d8ce2c5bbd265678fab80d04966cdf1559c1ea3401dbcc6ef8e3f183a45ea1c3d31def8f1ce2c39135a3c247e73a18082b3
 DIST botocore-1.34.65.gh.tar.gz 12776587 BLAKE2B 
c2e54d007e910e5fb274655a0b8fcded4a44966b8f35097eed38ce8fe238cf694e0a26305df4e029115ee6e174314beb5d2934a08e36129388ccd8e2ca2903da
 SHA512 
dd76e445f55b44bdf2b3b71aed2c5beec2332311af669dc04f073e885b54da3ccf79fd49bb5f97de71f6b3b7f36c6fd6f431164cde5b75241c7f89264fe0a4d6
 DIST botocore-1.34.66.gh.tar.gz 12780694 BLAKE2B 
004e9e2d60c1b62a730cb9718f7f9b849ede23dfe4d08a138406c801de61b3867f78363167f9c49a64a0d604121d893061c068b1e4e0dda282911a428d88d613
 SHA512 
3731ea08a2868f59839ebdd3a194bc9afdfbc2b5557767846b5a97956ee2a29b454514a5af46dd65ac43ab00ed2d684572b8e3b0599be51349ef52808dc231b8
+DIST botocore-1.34.67.gh.tar.gz 12783869 BLAKE2B 
762c01fc4f79213ace3f2cfe862db9f14a992fdeb884a6c8d7aeb5096bb74319ff29fc72c50717eb5a9a44eae1a55f226c57909f839f6690553d3dd1d8e2e0eb
 SHA512 
18c1e3c2b57c74a4c61ccb66213f8e1108701abfae384732f6782492d4594bc3e754112ccb4aa26736f641baad4a30ec92a620d34bfcbcfd3ecc002d5a702a25

diff --git a/dev-python/botocore/botocore-1.34.67.ebuild 
b/dev-python/botocore/botocore-1.34.67.ebuild
new file mode 100644
index ..ba6cd2a5d2a2
--- /dev/null
+++ b/dev-python/botocore/botocore-1.34.67.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Low-level, data-driven core of boto 3"
+HOMEPAGE="
+   https://github.com/boto/botocore/
+   https://pypi.org/project/botocore/
+"
+SRC_URI="
+   https://github.com/boto/botocore/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
+
+RDEPEND="
+   =dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
+"
+# unbundled packages
+RDEPEND+="
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/jsonschema[${PYTHON_USEDEP}]
+   )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+src_prepare() {
+   # unpin deps
+   sed -i -e "s:>=.*':':" setup.py || die
+
+   # unbundle deps
+   rm -r botocore/vendored || die
+   find -name '*.py' -exec sed -i \
+   -e 's:from botocore[.]vendored import:import:' \
+   -e 's:from botocore[.]vendored[.]:from :' \
+   {} + || die
+
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # rely on bundled six
+   tests/functional/test_six_imports.py::test_no_bare_six_imports
+   tests/functional/test_six_threading.py::test_six_thread_safety
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest tests/{functional,unit}
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/hypothesis/

2024-03-20 Thread Michał Górny
commit: cb18f94f1d42f203cafdba140a8697a9faba39c3
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 21 04:34:35 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 21 05:38:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb18f94f

dev-python/hypothesis: Bump to 6.99.11

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/hypothesis/Manifest  |  1 +
 dev-python/hypothesis/hypothesis-6.99.11.ebuild | 90 +
 2 files changed, 91 insertions(+)

diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
index ce496ed6d0a4..e6c3f0ad8e54 100644
--- a/dev-python/hypothesis/Manifest
+++ b/dev-python/hypothesis/Manifest
@@ -3,6 +3,7 @@ DIST hypothesis-6.98.17.gh.tar.gz 9434016 BLAKE2B 
3c26f8c696bc4a62b9ada8e45dd305
 DIST hypothesis-6.98.18.gh.tar.gz 9434436 BLAKE2B 
45861775caa1657d06469fc8cd0062aee1b408c3b02a58ff4d50b9de9ce62d8fd351c6b8f4b1b7f543fe70d6b8f2c663ad8e9252b833d5c567d3c28449fc3eaf
 SHA512 
cff5cad9308e7b030e38f09a9544ed84f468bc4bd6391a234bb7781b116bd64f41338ad32535d427ebda507ce3f0f5bafc0af5a8179976c17d36762679e9
 DIST hypothesis-6.98.9.gh.tar.gz 9427046 BLAKE2B 
c3705e4c780b6e7f427943231ac056f343e70569e88391f118383e6d6197f72e744306476f2e1994e8a6d95dce73b93dcd49e8fa197149e532b84c91bce79594
 SHA512 
1e8a0dcefb8def8376a0ad6549a58dac66470941e4a3584ba82867f8779fd941c141039f631f15f134f7cdb3beb2ad1a19312d8e56c47db9ace0569f203afaf3
 DIST hypothesis-6.99.0.gh.tar.gz 9439501 BLAKE2B 
9f46cffaede22381a019a4f7c0b158015f245bf25bc3623090c45c177f57c1cb74fd09a0f01e98d06039a641e486e0cf1ccc10da6f79ebff13914c1197f0fbd7
 SHA512 
19500c9e0013d4ef4c6b3991d606860e819eb69e68a6975a0c4d225424fe12f44e05662eac0c94f54c6995b12bb73e48d936fc2342a92f3b26760db8ad279ba3
+DIST hypothesis-6.99.11.gh.tar.gz 9449844 BLAKE2B 
272f794344d9747033ad67af666ba9c807e77239a09a70df713f8c9157ae65d47b7f1756dc57441537dfa367827433ee9464d24fc49e2ed6437df48a0d290bd4
 SHA512 
bac29bec1718b66de9168630db51e73068d44dfa5bae4022f341476fc7838a16e848241035fce292832a9b695066626994f9aee03ffcfabed182154adc4f9a08
 DIST hypothesis-6.99.2.gh.tar.gz 9439856 BLAKE2B 
0e7b99ee43ae84b4536f687324c334d7846766ec3422712cc0e215ebed113a3ed270b2fee70322edd5931e6a57c04092566846846e8a2df8587a2d6bd7f33e34
 SHA512 
ad833e8e4e5a228d06723ba76e80b7e88b849b51b298c2c0b58e82e9409961a212f85530a8e3f06e9e09ca2ebcc8ebd2e1e4992e50a37ba9f692a398aef699fa
 DIST hypothesis-6.99.4.gh.tar.gz 9440865 BLAKE2B 
aa7e37077f59e0aa46c83067d9bda8aa72a9d5129c843fe170799c8bf0debee8bb5ff9a757ee67f6b9a858d186a92b3de978c21209a107d3f5ed44905c2cf2db
 SHA512 
bb1ac9d2881a3577a07cd396c01be5e96bfe45e2a0254a8dc2c51a86718fd225e04943a6e451a015378fe2f813621b2a7e9fd4b757d180bdae5cb3a6d7b7133b
 DIST hypothesis-6.99.5.gh.tar.gz 9441876 BLAKE2B 
ab1cce09dda83a89e63aaf6a995816bc82a8d2126d138626159c2f6263536cb477f8c2cb521034f59557b16de2a16e2e0934da34e21246043ad4374882616a5c
 SHA512 
00f72255a0db863c8beb73cbc2298170f600053f94198cd24c3bf276b580971328d9c1ea62b71a70e411005f4b99f5be20a6ef5f0b53f9e7c84042aa05e26fa6

diff --git a/dev-python/hypothesis/hypothesis-6.99.11.ebuild 
b/dev-python/hypothesis/hypothesis-6.99.11.ebuild
new file mode 100644
index ..f7f366381e4f
--- /dev/null
+++ b/dev-python/hypothesis/hypothesis-6.99.11.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+CLI_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 )
+PYTHON_REQ_USE="threads(+),sqlite"
+
+inherit distutils-r1 multiprocessing optfeature
+
+TAG=hypothesis-python-${PV}
+MY_P=hypothesis-${TAG}
+DESCRIPTION="A library for property based testing"
+HOMEPAGE="
+   https://github.com/HypothesisWorks/hypothesis/
+   https://pypi.org/project/hypothesis/
+"
+SRC_URI="
+   https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+S="${WORKDIR}/${MY_P}/hypothesis-python"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+IUSE="cli"
+
+RDEPEND="
+   >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
+   >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}]
+   ' 3.9 3.10)
+   cli? (
+   $(python_gen_cond_dep '
+   dev-python/black[${PYTHON_USEDEP}]
+   dev-python/click[${PYTHON_USEDEP}]
+   ' "${CLI_COMPAT[@]}")
+   )
+"
+BDEPEND="
+   test? (
+   dev-python/pexpect[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   !!

[gentoo-commits] repo/gentoo:master commit in: dev-python/cfn-lint/

2024-03-20 Thread Michał Górny
commit: 76370902ece10f3ad202e7381834608e91d29ee8
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 21 05:15:19 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 21 05:38:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76370902

dev-python/cfn-lint: Bump to 0.86.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/cfn-lint/Manifest   |  1 +
 dev-python/cfn-lint/cfn-lint-0.86.1.ebuild | 65 ++
 2 files changed, 66 insertions(+)

diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest
index d6e880ac45f3..94ac735877fc 100644
--- a/dev-python/cfn-lint/Manifest
+++ b/dev-python/cfn-lint/Manifest
@@ -1,2 +1,3 @@
 DIST cfn-lint-0.85.3.tar.gz 3878852 BLAKE2B 
4eb804c67b3cdd9686df930b7c9cc565f296a9ed99872b0d6f470c469de61d3ef321a98265c0975b32bfd2866dd66f82d2266dff77d90d31914946cafe5ce1dc
 SHA512 
5f758664a1497b1d5260c6737e203d86ad0cd08a44067b9fdb2c4150cfafc2f96fb025322aa8573d08d6ee44254987fc7f52d6ed336944e9e2a89fc174d8db6c
 DIST cfn-lint-0.86.0.tar.gz 3847186 BLAKE2B 
8edc25b25bd385717f7c1cd7d79cc910ec87c5232daec70cd448659e56cd710524532b66e3392d369b787765613a83bf37180f5f64bd489ec9c32d24cb6a3963
 SHA512 
4dc131c2cfc2d9892c6835a505bc5cc9a3d570cc22750bbb239b577417b010de7cfd0b17caeae44197b2cecbdf163973e447906eae778aba84834ebce3b5d0b3
+DIST cfn-lint-0.86.1.tar.gz 3865324 BLAKE2B 
b5b31d12dde1e0d5d3f8da42cf22bb6cc7c2a6b87f12edc3bdbaed5b51da013f24c58ce4cb2a6e0a412ba153b15f6ac46cce194f9617bd493041d922025ba067
 SHA512 
b396b68a93782e018b0690dc33430d4f013d597f78e66218af3058fd97c766e4c36ab5d78a0b620b0838b55e6197bef66580f1c3cd98320ddd29ec1ff91bd6c2

diff --git a/dev-python/cfn-lint/cfn-lint-0.86.1.ebuild 
b/dev-python/cfn-lint/cfn-lint-0.86.1.ebuild
new file mode 100644
index ..1ace14e6286b
--- /dev/null
+++ b/dev-python/cfn-lint/cfn-lint-0.86.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="CloudFormation Linter"
+HOMEPAGE="
+   https://github.com/aws-cloudformation/cfn-lint/
+   https://pypi.org/project/cfn-lint/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+   >=dev-python/aws-sam-translator-1.86.0[${PYTHON_USEDEP}]
+   dev-python/jsonpatch[${PYTHON_USEDEP}]
+   >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}]
+   =dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
+   dev-python/junit-xml[${PYTHON_USEDEP}]
+   dev-python/pyyaml-5.4[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.15.0[${PYTHON_USEDEP}]
+   >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}]
+   >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}]
+   >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   # unpin the deps
+   sed -e 's:~=[0-9.]*::' -i setup.py || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # TODO
+   
test/unit/module/test_template.py::TestTemplate::test_build_graph
+   # requires git repo
+   
test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs
+   # Internet
+   
test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter
+   
test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3
+   # TODO: it looks as if AWS_DEFAULT_REGION didn't work
+   test/unit/module/core/test_run_cli.py::TestCli::test_bad_config
+   
test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters
+   
test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters
+   
test/unit/module/core/test_run_cli.py::TestCli::test_template_config
+   )
+
+   # from tox.ini
+   local -x AWS_DEFAULT_REGION=us-east-1
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest
+}



[gentoo-commits] repo/gentoo:master commit in: x11-terms/kitty-terminfo/

2024-03-20 Thread Ionen Wolkens
commit: 2f7f8c3225a688f3bb17b43a1dec4a007016fdc7
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Mar 21 05:20:40 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Mar 21 05:26:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f7f8c32

x11-terms/kitty-terminfo: add 0.33.1

Signed-off-by: Ionen Wolkens  gentoo.org>

 x11-terms/kitty-terminfo/Manifest  |  1 +
 .../kitty-terminfo/kitty-terminfo-0.33.1.ebuild| 23 ++
 2 files changed, 24 insertions(+)

diff --git a/x11-terms/kitty-terminfo/Manifest 
b/x11-terms/kitty-terminfo/Manifest
index 27e47a0b7df1..a057acc12417 100644
--- a/x11-terms/kitty-terminfo/Manifest
+++ b/x11-terms/kitty-terminfo/Manifest
@@ -1,2 +1,3 @@
 DIST kitty-0.32.2.tar.xz 8103024 BLAKE2B 
637449eb655973700493f725846263bfba193729725b6f14490fc44872e191c5e47b272bc3955b5ca47d400a497931be0749d338354ae8a5402fd867f7b941d3
 SHA512 
245d399366c0b2174bb80d557c08edf49e96a034a3cf33d2027180ef418581cc9bea2566d9ead9f96094bdc01655aeddd251b07b1bc444e7af59c864eb2bcd01
 DIST kitty-0.33.0.tar.xz 8170952 BLAKE2B 
d98c1070d53b43dacc0aeefa6b0fc46a51528b196b09e875406f30eceddd65256090b6efb2b1b24f485b32db6d36483a9dc725934ad0327412e789e2f01a3574
 SHA512 
5dad29e7ff0f83dd14138fd32ee3d556214251a5617ef9bd0c8a8b4032e26cf8973752d0b4221e06afd745ae4a12967fc1194f3d053b0e8451cb7ca97360fa35
+DIST kitty-0.33.1.tar.xz 8166164 BLAKE2B 
6592ae99f3e05bda5367186096804175f00f21770e7112bf45fa968d161e70d2fdcf956214e29e048e6973ee14457f5eaca753a761824f1c104ba32552122e33
 SHA512 
5fa2421baf9fac41d4a8ff89bb5e44d1820012e8c960e25980d597dcebbb44ffa97c03818e8a91015691321eedb9d9f53139a97cbb6bd673053fbfd73c77739b

diff --git a/x11-terms/kitty-terminfo/kitty-terminfo-0.33.1.ebuild 
b/x11-terms/kitty-terminfo/kitty-terminfo-0.33.1.ebuild
new file mode 100644
index ..b5c7cbc40759
--- /dev/null
+++ b/x11-terms/kitty-terminfo/kitty-terminfo-0.33.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Terminfo for kitty, a GPU-based terminal emulator"
+HOMEPAGE="https://sw.kovidgoyal.net/kitty/;
+SRC_URI="https://github.com/kovidgoyal/kitty/releases/download/v${PV}/kitty-${PV}.tar.xz;
+S="${WORKDIR}/kitty-${PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+RESTRICT="test" # intended to be ran on the full kitty package
+
+BDEPEND="sys-libs/ncurses"
+
+src_compile() { :; }
+
+src_install() {
+   dodir /usr/share/terminfo
+   tic -xo "${ED}"/usr/share/terminfo terminfo/kitty.terminfo || die
+}



[gentoo-commits] repo/gentoo:master commit in: x11-terms/kitty/

2024-03-20 Thread Ionen Wolkens
commit: 44e7cac3a687f8b495d7a8a7a96bac4de5f46aa3
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Mar 21 05:20:49 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Mar 21 05:26:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44e7cac3

x11-terms/kitty: add 0.33.1

Signed-off-by: Ionen Wolkens  gentoo.org>

 x11-terms/kitty/Manifest|   3 +
 x11-terms/kitty/kitty-0.33.1.ebuild | 192 
 2 files changed, 195 insertions(+)

diff --git a/x11-terms/kitty/Manifest b/x11-terms/kitty/Manifest
index 93af838549bd..ff1a6f27a073 100644
--- a/x11-terms/kitty/Manifest
+++ b/x11-terms/kitty/Manifest
@@ -4,3 +4,6 @@ DIST kitty-0.32.2.tar.xz.sig 566 BLAKE2B 
42ac9788a4dc63fdbae22667e301decb195f8f8
 DIST kitty-0.33.0-vendor.tar.xz 1418544 BLAKE2B 
0cb3879637e4c1bf14332252aaec55de720e706fde36606bd4fd3e438e7431e86e95fffbf297d84f60ea028b72ed2f147bbab999022f785402832f3f615e137a
 SHA512 
fa3c996addf4067971a63f70069c9ab41a6655fe107f88eaa97440e7a45a9a9fb609f30acb2f205d9967a48cbb33787969770c1e387b0c6a3bf2d0aea24d2624
 DIST kitty-0.33.0.tar.xz 8170952 BLAKE2B 
d98c1070d53b43dacc0aeefa6b0fc46a51528b196b09e875406f30eceddd65256090b6efb2b1b24f485b32db6d36483a9dc725934ad0327412e789e2f01a3574
 SHA512 
5dad29e7ff0f83dd14138fd32ee3d556214251a5617ef9bd0c8a8b4032e26cf8973752d0b4221e06afd745ae4a12967fc1194f3d053b0e8451cb7ca97360fa35
 DIST kitty-0.33.0.tar.xz.sig 566 BLAKE2B 
218cb43b6dcbc8bdf172e9ff99034ec5f8ced0be2cab3c9cf382801b4cbab28b20c26ab6e0a4d4e981372ee6f1800a257babc73196182c7b7a2d1d66d7b73fc9
 SHA512 
7bdda8c6fbd3ce65fea7e40cb3063776ef0556755c5755b47d1b0b2673e7212aacb3469e3992d6c65c16ffd83e453f2ffa967c94abae5588123f21086575580b
+DIST kitty-0.33.1-vendor.tar.xz 1422996 BLAKE2B 
5ea525c501a3e1d845b7338c9644f3b1ba67b7f7f127950ae4493ddb299ad4a9cbe20cd1df7cd6aa49ca53bfb1236a393296c4e64951f9fa9d46d572e3fef47f
 SHA512 
a764e009fd90df31e9aaf90501855949f7fe3c46a383ece60826ecdcbb41cedac1c34587772a6a7c257b42773516d0f753712f94d71689e738139a7291aa961f
+DIST kitty-0.33.1.tar.xz 8166164 BLAKE2B 
6592ae99f3e05bda5367186096804175f00f21770e7112bf45fa968d161e70d2fdcf956214e29e048e6973ee14457f5eaca753a761824f1c104ba32552122e33
 SHA512 
5fa2421baf9fac41d4a8ff89bb5e44d1820012e8c960e25980d597dcebbb44ffa97c03818e8a91015691321eedb9d9f53139a97cbb6bd673053fbfd73c77739b
+DIST kitty-0.33.1.tar.xz.sig 566 BLAKE2B 
568d54993d6c66670279364c317fa0778594852e8c2e4012175640c1cf377c96b6897c8f1bb9735f9ae2624b4c2ee7681a056f3974666db536a086732d49d128
 SHA512 
aa52d901698ca513c7a996f0a45658a0c23a4c82f365aa782fc24ff075352f69465dfe3d090da1f0fc32ff7522d19324161ff6e7985c97280b99b13bdc41e798

diff --git a/x11-terms/kitty/kitty-0.33.1.ebuild 
b/x11-terms/kitty/kitty-0.33.1.ebuild
new file mode 100644
index ..8b389e6d48bb
--- /dev/null
+++ b/x11-terms/kitty/kitty-0.33.1.ebuild
@@ -0,0 +1,192 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit edo flag-o-matic go-env optfeature multiprocessing
+inherit python-single-r1 toolchain-funcs xdg
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/kovidgoyal/kitty.git;
+else
+   inherit verify-sig
+   SRC_URI="
+   
https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz
+   https://dev.gentoo.org/~ionen/distfiles/${P}-vendor.tar.xz
+   verify-sig? ( 
https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz.sig )
+   "
+   VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kovidgoyal.gpg
+   KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+fi
+
+DESCRIPTION="Fast, feature-rich, GPU-based terminal"
+HOMEPAGE="https://sw.kovidgoyal.net/kitty/;
+
+LICENSE="GPL-3 ZLIB"
+LICENSE+=" Apache-2.0 BSD BSD-2 MIT MPL-2.0" # go
+SLOT="0"
+IUSE="+X test wayland"
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   || ( X wayland )
+   test? ( X wayland )
+"
+RESTRICT="!test? ( test )"
+
+# dlopen: fontconfig,libglvnd
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-libs/openssl:=
+   dev-libs/xxhash
+   media-libs/fontconfig
+   media-libs/harfbuzz:=[truetype]
+   media-libs/lcms:2
+   media-libs/libglvnd[X?]
+   media-libs/libpng:=
+   sys-apps/dbus
+   sys-libs/zlib:=
+   x11-libs/libxkbcommon[X?]
+   x11-misc/xkeyboard-config
+   ~x11-terms/kitty-shell-integration-${PV}
+   ~x11-terms/kitty-terminfo-${PV}
+   X? (
+   x11-libs/libX11
+   x11-libs/libXcursor
+   )
+   wayland? ( dev-libs/wayland )
+   !sci-mathematics/kissat
+"
+DEPEND="
+   ${RDEPEND}
+   amd64? ( dev-libs/simde )
+   arm64? ( dev-libs/simde )
+   x86? ( dev-libs/simde )
+   X? (
+   x11-base/xorg-proto
+   x11-libs/libXi
+   x11-libs/libXinerama
+   x11-libs/libXrandr
+ 

[gentoo-commits] repo/gentoo:master commit in: x11-terms/kitty-shell-integration/

2024-03-20 Thread Ionen Wolkens
commit: dc3048279d1ada55ceeb61c6512ca81357f1f5a0
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Mar 21 05:20:31 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Mar 21 05:26:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc304827

x11-terms/kitty-shell-integration: add 0.33.1

Signed-off-by: Ionen Wolkens  gentoo.org>

 x11-terms/kitty-shell-integration/Manifest |  1 +
 .../kitty-shell-integration-0.33.1.ebuild  | 37 ++
 2 files changed, 38 insertions(+)

diff --git a/x11-terms/kitty-shell-integration/Manifest 
b/x11-terms/kitty-shell-integration/Manifest
index 27e47a0b7df1..a057acc12417 100644
--- a/x11-terms/kitty-shell-integration/Manifest
+++ b/x11-terms/kitty-shell-integration/Manifest
@@ -1,2 +1,3 @@
 DIST kitty-0.32.2.tar.xz 8103024 BLAKE2B 
637449eb655973700493f725846263bfba193729725b6f14490fc44872e191c5e47b272bc3955b5ca47d400a497931be0749d338354ae8a5402fd867f7b941d3
 SHA512 
245d399366c0b2174bb80d557c08edf49e96a034a3cf33d2027180ef418581cc9bea2566d9ead9f96094bdc01655aeddd251b07b1bc444e7af59c864eb2bcd01
 DIST kitty-0.33.0.tar.xz 8170952 BLAKE2B 
d98c1070d53b43dacc0aeefa6b0fc46a51528b196b09e875406f30eceddd65256090b6efb2b1b24f485b32db6d36483a9dc725934ad0327412e789e2f01a3574
 SHA512 
5dad29e7ff0f83dd14138fd32ee3d556214251a5617ef9bd0c8a8b4032e26cf8973752d0b4221e06afd745ae4a12967fc1194f3d053b0e8451cb7ca97360fa35
+DIST kitty-0.33.1.tar.xz 8166164 BLAKE2B 
6592ae99f3e05bda5367186096804175f00f21770e7112bf45fa968d161e70d2fdcf956214e29e048e6973ee14457f5eaca753a761824f1c104ba32552122e33
 SHA512 
5fa2421baf9fac41d4a8ff89bb5e44d1820012e8c960e25980d597dcebbb44ffa97c03818e8a91015691321eedb9d9f53139a97cbb6bd673053fbfd73c77739b

diff --git 
a/x11-terms/kitty-shell-integration/kitty-shell-integration-0.33.1.ebuild 
b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.33.1.ebuild
new file mode 100644
index ..c3b309c79626
--- /dev/null
+++ b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.33.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Shell integration scripts for kitty, a GPU-based terminal 
emulator"
+HOMEPAGE="https://sw.kovidgoyal.net/kitty/;
+SRC_URI="https://github.com/kovidgoyal/kitty/releases/download/v${PV}/kitty-${PV}.tar.xz;
+S="${WORKDIR}/kitty-${PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+RESTRICT="test" # intended to be ran on the full kitty package
+
+src_compile() { :; }
+
+src_install() {
+   # install the whole directory in the upstream suggested location
+   # for consistency (i.e. less variation between distros if someone
+   # ssh into Gentoo), then set symlinks to autoload where possible
+   # (these exit immediately if KITTY_SHELL_INTEGRATION is unset)
+   insinto /usr/share/kitty
+   doins -r shell-integration
+
+   dosym -r 
{/usr/share/kitty/shell-integration/bash,/etc/bash/bashrc.d}/kitty.bash
+
+   dosym -r 
/usr/share/{kitty/shell-integration/fish,fish}/vendor_completions.d/kitty.fish
+   dosym -r 
/usr/share/{kitty/shell-integration/fish,fish}/vendor_conf.d/kitty-shell-integration.fish
+
+   dosym -r 
/usr/share/{kitty/shell-integration/zsh/completions,zsh/site-functions}/_kitty
+   # zsh integration is handled automatically without needing to modify rc 
files,
+   # but may require user intervention depending on zsh invocation or if 
remote
+
+   # this is used internally by the ssh kitten and is not useful there
+   rm -r "${ED}"/usr/share/kitty/shell-integration/ssh || die
+}



[gentoo-commits] repo/gentoo:master commit in: x11-terms/kitty/

2024-03-20 Thread Ionen Wolkens
commit: 32b88cb8a3d93ab933af689b34de5c89b259ddab
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Mar 21 05:21:05 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Mar 21 05:26:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32b88cb8

x11-terms/kitty: sync live

Signed-off-by: Ionen Wolkens  gentoo.org>

 x11-terms/kitty/kitty-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-terms/kitty/kitty-.ebuild 
b/x11-terms/kitty/kitty-.ebuild
index 19f68cbfc354..8b389e6d48bb 100644
--- a/x11-terms/kitty/kitty-.ebuild
+++ b/x11-terms/kitty/kitty-.ebuild
@@ -74,7 +74,7 @@ DEPEND="
 # bug #919751 wrt go subslot
 BDEPEND="
${PYTHON_DEPS}
-   >=dev-lang/go-1.21:=
+   >=dev-lang/go-1.22:=
sys-libs/ncurses
virtual/pkgconfig
test? ( $(python_gen_cond_dep 'dev-python/pillow[${PYTHON_USEDEP}]') )



[gentoo-commits] repo/gentoo:master commit in: www-client/microsoft-edge-beta/

2024-03-20 Thread Matt Jolly
commit: 254e72e9073facd9d478b7d3fb98ca963f0c0260
Author: Matt Jolly  gentoo  org>
AuthorDate: Thu Mar 21 04:43:13 2024 +
Commit: Matt Jolly  gentoo  org>
CommitDate: Thu Mar 21 04:43:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=254e72e9

www-client/microsoft-edge-beta: remove old

Signed-off-by: Matt Jolly  gentoo.org>

 www-client/microsoft-edge-beta/Manifest|   1 -
 .../microsoft-edge-beta-123.0.2420.20.ebuild   | 126 -
 2 files changed, 127 deletions(-)

diff --git a/www-client/microsoft-edge-beta/Manifest 
b/www-client/microsoft-edge-beta/Manifest
index d964bd405be9..30a817ae02c3 100644
--- a/www-client/microsoft-edge-beta/Manifest
+++ b/www-client/microsoft-edge-beta/Manifest
@@ -1,4 +1,3 @@
-DIST microsoft-edge-beta_123.0.2420.20-1_amd64.deb 166135054 BLAKE2B 
62bbd49988d41821a11fafb6e3cedc105449aa432bfe143ab6f850e8d8f89192d5f0413ff81329b1e6fb0c841b454dce92b51984ee577f9292b5636bb2f8b400
 SHA512 
c9c350f0e8bef4b84e39f73a46a24c55edb8901b0043f7b0639ebc433a604d7ff282a4b2b5df09938b0bee9b4e963800c2d11629a368c8d6f7c93a58639d15d1
 DIST microsoft-edge-beta_123.0.2420.32-1_amd64.deb 166189586 BLAKE2B 
ef3955cc354cd8828558d813f46cb8005024f0360269784590809765d5baf763338672c29a51ab7ba9f5644028ed77bd3327b60476700d02b0123090001e469f
 SHA512 
868462dff859a5912d7f6736c7af5655787df6f34aecc925af18cfcf3b40cc172b6e60da115300b6c049a9e4f87a73e17adae14e6266f15d4a5904ee56be2acc
 DIST microsoft-edge-beta_123.0.2420.41-1_amd64.deb 166231134 BLAKE2B 
8c25d627c17d130718729be83f03e610d87ad11f88452d21fab0763e61c61f35782be212fb5e2aac23dde75fc52ed46eb096abbb799bc3e0f35538b58d55fa2f
 SHA512 
3efd954200ed60972f3799d25404adcf73b55fa22430496db8cb35b4c9bd2e5979aae0e34545b000356b3d8f58f85436bb84ec99b39b1551e55010975a5552a6
 DIST microsoft-edge-beta_123.0.2420.51-1_amd64.deb 166236090 BLAKE2B 
1ec2378ce8081ae758158f4b1099fa1008d7aba1c83ebb48d420b0239aa7c810442cdc10f65f89e2ecf6bb8725db4fc02427b0aa003deb11c6e4be962ca74bcf
 SHA512 
1cf05dcc23a48a17962d47d11325f6d825e61fe8e1034cf2214bf3c0f5a2310138a840b1725bbdfe3a2aaf307c8fc91fe412927c8e0c4b8591981f8cedfcc29d

diff --git 
a/www-client/microsoft-edge-beta/microsoft-edge-beta-123.0.2420.20.ebuild 
b/www-client/microsoft-edge-beta/microsoft-edge-beta-123.0.2420.20.ebuild
deleted file mode 100644
index 0ff710cc5ddc..
--- a/www-client/microsoft-edge-beta/microsoft-edge-beta-123.0.2420.20.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 2011-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-inherit chromium-2 desktop pax-utils unpacker xdg
-
-DESCRIPTION="The web browser from Microsoft"
-HOMEPAGE="https://www.microsoft.com/edge;
-
-if [[ ${PN} == microsoft-edge ]]; then
-   MY_PN=${PN}-stable
-else
-   MY_PN=${PN}
-fi
-
-MY_P="${MY_PN}_${PV}-1"
-SRC_URI="https://packages.microsoft.com/repos/edge/pool/main/m/${MY_PN}/${MY_P}_amd64.deb;
-S=${WORKDIR}
-
-LICENSE="microsoft-edge"
-SLOT="0"
-KEYWORDS="-* ~amd64"
-
-IUSE="+mip qt5 qt6"
-RESTRICT="bindist mirror strip"
-
-RDEPEND="
-   >=app-accessibility/at-spi2-core-2.46.0:2
-   app-misc/ca-certificates
-   dev-libs/expat
-   dev-libs/glib:2
-   dev-libs/nspr
-   dev-libs/nss
-   media-fonts/liberation-fonts
-   media-libs/alsa-lib
-   media-libs/mesa[gbm(+)]
-   net-misc/curl[ssl]
-   net-print/cups
-   sys-apps/dbus
-   sys-apps/util-linux
-   sys-libs/glibc
-   x11-libs/cairo
-   x11-libs/gdk-pixbuf:2
-   x11-libs/gtk+:3[X]
-   x11-libs/libdrm
-   x11-libs/libX11
-   x11-libs/libXcomposite
-   x11-libs/libXdamage
-   x11-libs/libXext
-   x11-libs/libXfixes
-   x11-libs/libXrandr
-   x11-libs/libxcb
-   x11-libs/libxkbcommon
-   x11-libs/libxshmfence
-   x11-libs/pango
-   x11-misc/xdg-utils
-   mip? ( app-crypt/libsecret )
-   qt5? (
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5[X]
-   dev-qt/qtwidgets:5
-   )
-   qt6? ( dev-qt/qtbase:6[gui,widgets] )
-"
-
-QA_PREBUILT="*"
-QA_DESKTOP_FILE="usr/share/applications/microsoft-edge.*\\.desktop"
-EDGE_HOME="opt/microsoft/msedge${PN#microsoft-edge}"
-
-pkg_nofetch() {
-   eerror "Please wait 24 hours and sync your tree before reporting a bug 
for microsoft-edge fetch failures."
-}
-
-pkg_pretend() {
-   # Protect against people using autounmask overzealously
-   use amd64 || die "microsoft-edge only works on amd64"
-}
-
-pkg_setup() {
-   chromium_suid_sandbox_check_kernel_config
-}
-
-src_unpack() {
-   :
-}
-
-src_install() {
-   dodir /
-   cd "${ED}" || die
-   unpacker
-
-   rm -f _gpgorigin || die
-
-   rm -r etc usr/share/menu || die
-   mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die
-
-   gzip -d usr/share/doc/${PF}/changelog.gz || die
-   gzip -d usr/share/man/man1/${MY_PN}.1.gz || die
-   if [[ -L 

[gentoo-commits] repo/gentoo:master commit in: www-client/microsoft-edge-beta/

2024-03-20 Thread Matt Jolly
commit: 90667a3d474fedbf742a9fe6f04b9ad5ac679e4b
Author: Matt Jolly  gentoo  org>
AuthorDate: Thu Mar 21 04:42:58 2024 +
Commit: Matt Jolly  gentoo  org>
CommitDate: Thu Mar 21 04:43:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90667a3d

www-client/microsoft-edge-beta: automated bump (123.0.2420.51)

Signed-off-by: Matt Jolly  gentoo.org>

 www-client/microsoft-edge-beta/Manifest|   1 +
 .../microsoft-edge-beta-123.0.2420.51.ebuild   | 126 +
 2 files changed, 127 insertions(+)

diff --git a/www-client/microsoft-edge-beta/Manifest 
b/www-client/microsoft-edge-beta/Manifest
index ef3dd5d27b78..d964bd405be9 100644
--- a/www-client/microsoft-edge-beta/Manifest
+++ b/www-client/microsoft-edge-beta/Manifest
@@ -1,3 +1,4 @@
 DIST microsoft-edge-beta_123.0.2420.20-1_amd64.deb 166135054 BLAKE2B 
62bbd49988d41821a11fafb6e3cedc105449aa432bfe143ab6f850e8d8f89192d5f0413ff81329b1e6fb0c841b454dce92b51984ee577f9292b5636bb2f8b400
 SHA512 
c9c350f0e8bef4b84e39f73a46a24c55edb8901b0043f7b0639ebc433a604d7ff282a4b2b5df09938b0bee9b4e963800c2d11629a368c8d6f7c93a58639d15d1
 DIST microsoft-edge-beta_123.0.2420.32-1_amd64.deb 166189586 BLAKE2B 
ef3955cc354cd8828558d813f46cb8005024f0360269784590809765d5baf763338672c29a51ab7ba9f5644028ed77bd3327b60476700d02b0123090001e469f
 SHA512 
868462dff859a5912d7f6736c7af5655787df6f34aecc925af18cfcf3b40cc172b6e60da115300b6c049a9e4f87a73e17adae14e6266f15d4a5904ee56be2acc
 DIST microsoft-edge-beta_123.0.2420.41-1_amd64.deb 166231134 BLAKE2B 
8c25d627c17d130718729be83f03e610d87ad11f88452d21fab0763e61c61f35782be212fb5e2aac23dde75fc52ed46eb096abbb799bc3e0f35538b58d55fa2f
 SHA512 
3efd954200ed60972f3799d25404adcf73b55fa22430496db8cb35b4c9bd2e5979aae0e34545b000356b3d8f58f85436bb84ec99b39b1551e55010975a5552a6
+DIST microsoft-edge-beta_123.0.2420.51-1_amd64.deb 166236090 BLAKE2B 
1ec2378ce8081ae758158f4b1099fa1008d7aba1c83ebb48d420b0239aa7c810442cdc10f65f89e2ecf6bb8725db4fc02427b0aa003deb11c6e4be962ca74bcf
 SHA512 
1cf05dcc23a48a17962d47d11325f6d825e61fe8e1034cf2214bf3c0f5a2310138a840b1725bbdfe3a2aaf307c8fc91fe412927c8e0c4b8591981f8cedfcc29d

diff --git 
a/www-client/microsoft-edge-beta/microsoft-edge-beta-123.0.2420.51.ebuild 
b/www-client/microsoft-edge-beta/microsoft-edge-beta-123.0.2420.51.ebuild
new file mode 100644
index ..0ff710cc5ddc
--- /dev/null
+++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-123.0.2420.51.ebuild
@@ -0,0 +1,126 @@
+# Copyright 2011-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit chromium-2 desktop pax-utils unpacker xdg
+
+DESCRIPTION="The web browser from Microsoft"
+HOMEPAGE="https://www.microsoft.com/edge;
+
+if [[ ${PN} == microsoft-edge ]]; then
+   MY_PN=${PN}-stable
+else
+   MY_PN=${PN}
+fi
+
+MY_P="${MY_PN}_${PV}-1"
+SRC_URI="https://packages.microsoft.com/repos/edge/pool/main/m/${MY_PN}/${MY_P}_amd64.deb;
+S=${WORKDIR}
+
+LICENSE="microsoft-edge"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+IUSE="+mip qt5 qt6"
+RESTRICT="bindist mirror strip"
+
+RDEPEND="
+   >=app-accessibility/at-spi2-core-2.46.0:2
+   app-misc/ca-certificates
+   dev-libs/expat
+   dev-libs/glib:2
+   dev-libs/nspr
+   dev-libs/nss
+   media-fonts/liberation-fonts
+   media-libs/alsa-lib
+   media-libs/mesa[gbm(+)]
+   net-misc/curl[ssl]
+   net-print/cups
+   sys-apps/dbus
+   sys-apps/util-linux
+   sys-libs/glibc
+   x11-libs/cairo
+   x11-libs/gdk-pixbuf:2
+   x11-libs/gtk+:3[X]
+   x11-libs/libdrm
+   x11-libs/libX11
+   x11-libs/libXcomposite
+   x11-libs/libXdamage
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXrandr
+   x11-libs/libxcb
+   x11-libs/libxkbcommon
+   x11-libs/libxshmfence
+   x11-libs/pango
+   x11-misc/xdg-utils
+   mip? ( app-crypt/libsecret )
+   qt5? (
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5[X]
+   dev-qt/qtwidgets:5
+   )
+   qt6? ( dev-qt/qtbase:6[gui,widgets] )
+"
+
+QA_PREBUILT="*"
+QA_DESKTOP_FILE="usr/share/applications/microsoft-edge.*\\.desktop"
+EDGE_HOME="opt/microsoft/msedge${PN#microsoft-edge}"
+
+pkg_nofetch() {
+   eerror "Please wait 24 hours and sync your tree before reporting a bug 
for microsoft-edge fetch failures."
+}
+
+pkg_pretend() {
+   # Protect against people using autounmask overzealously
+   use amd64 || die "microsoft-edge only works on amd64"
+}
+
+pkg_setup() {
+   chromium_suid_sandbox_check_kernel_config
+}
+
+src_unpack() {
+   :
+}
+
+src_install() {
+   dodir /
+   cd "${ED}" || die
+   unpacker
+
+   rm -f _gpgorigin || die
+
+   rm -r etc usr/share/menu || die
+   mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die
+
+   gzip -d usr/share/doc/${PF}/changelog.gz || die
+   gzip -d usr/share/man/man1/${MY_PN}.1.gz || die
+   if [[ -L 

[gentoo-commits] repo/gentoo:master commit in: net-firewall/firewalld/, net-firewall/firewalld/files/

2024-03-20 Thread Dennis Lamm
commit: 2ee17b4a82ccad13f49f3dcdde94740e53564b3f
Author: Dennis Lamm  gentoo  org>
AuthorDate: Wed Feb 28 08:58:04 2024 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Thu Mar 21 04:10:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ee17b4a

net-firewall/firewalld: improved systemd service

removed environment variable reference from ExecStart

Signed-off-by: Dennis Lamm  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/35562
Signed-off-by: Dennis Lamm  gentoo.org>

 .../firewalld/files/firewalld-systemd-service.patch   | 19 +++
 ...alld-2.1.1-r1.ebuild => firewalld-2.1.1-r2.ebuild} | 11 ---
 2 files changed, 23 insertions(+), 7 deletions(-)

diff --git a/net-firewall/firewalld/files/firewalld-systemd-service.patch 
b/net-firewall/firewalld/files/firewalld-systemd-service.patch
new file mode 100644
index ..66f4c730b66f
--- /dev/null
+++ b/net-firewall/firewalld/files/firewalld-systemd-service.patch
@@ -0,0 +1,19 @@
+Drops the/an obsolete 'conflicts' line with old iptables services bug #833506
+Removes EnvironmentFile and FIREWALLD_ARGS variable
+===
+--- a/config/firewalld.service.in
 b/config/firewalld.service.in
+@@ -4,12 +4,10 @@
+ Wants=network-pre.target
+ After=dbus.service
+ After=polkit.service
+-Conflicts=iptables.service ip6tables.service ebtables.service ipset.service 
nftables.service
+ Documentation=man:firewalld(1)
+
+ [Service]
+-EnvironmentFile=-/etc/sysconfig/firewalld
+-ExecStart=@sbindir@/firewalld --nofork --nopid $FIREWALLD_ARGS
++ExecStart=@sbindir@/firewalld --nofork --nopid
+ ExecReload=/bin/kill -HUP $MAINPID
+ # supress to log debug and error output also to /var/log/messages
+ StandardOutput=null

diff --git a/net-firewall/firewalld/firewalld-2.1.1-r1.ebuild 
b/net-firewall/firewalld/firewalld-2.1.1-r2.ebuild
similarity index 94%
rename from net-firewall/firewalld/firewalld-2.1.1-r1.ebuild
rename to net-firewall/firewalld/firewalld-2.1.1-r2.ebuild
index aac81d88bbee..fbe62a47db37 100644
--- a/net-firewall/firewalld/firewalld-2.1.1-r1.ebuild
+++ b/net-firewall/firewalld/firewalld-2.1.1-r2.ebuild
@@ -55,6 +55,10 @@ QA_AM_MAINTAINER_MODE=".*--run autom4te 
--language=autotest.*"
 
 PLOCALES="ar as ast bg bn_IN ca cs da de el en_GB en_US es et eu fa fi fr gl 
gu hi hr hu ia id it ja ka kn ko lt ml mr nl or pa pl pt pt_BR ro ru si sk sl 
sq sr sr@latin sv ta te tr uk zh_CN zh_TW"
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-systemd-service.patch
+)
+
 pkg_setup() {
# See bug #830132 for the huge list
# We can probably narrow it down a bit but it's rather fragile
@@ -165,13 +169,6 @@ src_prepare() {
 
plocale_find_changes "po" "" ".po" || die
plocale_get_locales | sed -e 's/ /\n/g' > po/LINGUAS
-
-   # Our version drops the/an obsolete 'conflicts' line with old iptables 
services
-   # bug #833506
-   sed -i \
-   -e "/Conflicts=iptables.service ip6tables.service ebtables.service 
ipset.service nftables.service/d" \
-   -e "/EnvironmentFile=-\/etc\/sysconfig\/firewalld/d" \
-   config/firewalld.service.in || die
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: dev-db/sqlite/files/, dev-db/sqlite/

2024-03-20 Thread Sam James
commit: eb8557be3a90a47619ca5510e4376934934eebf3
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 21 03:45:32 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 03:45:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb8557be

dev-db/sqlite: add 3.45.2

Signed-off-by: Sam James  gentoo.org>

 dev-db/sqlite/Manifest |   2 +
 dev-db/sqlite/files/sqlite-3.45.2-tests-x86.patch  | 112 +
 .../{sqlite-.ebuild => sqlite-3.45.2.ebuild}   |  17 +---
 dev-db/sqlite/sqlite-.ebuild   |  12 ---
 4 files changed, 119 insertions(+), 24 deletions(-)

diff --git a/dev-db/sqlite/Manifest b/dev-db/sqlite/Manifest
index 155c537a1dcc..f852d8fd38fa 100644
--- a/dev-db/sqlite/Manifest
+++ b/dev-db/sqlite/Manifest
@@ -1,4 +1,6 @@
 DIST sqlite-doc-3440200.zip 10704552 BLAKE2B 
3d50ac157bd2793c9167328994334a417835e5381e432fd8028e064869b8eab2ab1d213815d2232850d695bc71626e9d89518b201888a43673274cba2a1b345d
 SHA512 
a7c92af0d3a61a2450511cfb507785c7ab64c21c6dbcf5a8bdef509d25a6b3ca35ce93a25ca827497c27abca77d11b794fbbc783e4d8e131981bf1d4b29f83e8
 DIST sqlite-doc-3450100.zip 10746925 BLAKE2B 
6e45a33b41b8fd1e0b5ef3a44febf5ed53a19883441f0eaef6d811190a26cd072a49d254a35d5b90f92255082f91d3f7956a6e574b638b34f156f7297588b57e
 SHA512 
dc036737973a29ea2b6cb4fe7ab4468f449e21eed34a773600570ed2e57ed4d195286c75afec91ab76ac55e25a0cc82e73c3b3119a9c8e7b5918bae8a1a3c8c0
+DIST sqlite-doc-3450200.zip 10755940 BLAKE2B 
5d70100ae972024a44a0dbe3214e0465b819710dc23e7b68e6995d2a8f66286ef4378b7bbb96bfaab2551954aa09f0aa85ebde60b5a672d5a3e2d6c739393a81
 SHA512 
5e80255b0030dd6dfc0f93a1d6863a35dc319c6567300ac5f4e16d15c322f0b3fc2681cae7d27de0d23bf6731069d0060b9edddf3d7e0b105c538beab53979dc
 DIST sqlite-src-3440200.zip 14070781 BLAKE2B 
9d29964ee15da6a104f4857cb5f2621df5b51d043012789793526f34c56097d7b1b1dcaa7672637f2d16bcab4ff775ba2c8415213b79f80636c0ff2aeff883ba
 SHA512 
5c1fed9c399dad75735a1b4451f8f6be474b07652d74500649e60474691923f56156ef6d5bce51b58367c1676371f1184e32584fe9ac4d5dd0c4776fa6f1d9a3
 DIST sqlite-src-3450100.zip 14152147 BLAKE2B 
815fb3e92b080a7c0014b68451f571c174c656ba26c75f76bfca8b2d4c5373e82f4314ad3d9657ee711194019b4534c51bcd3fe71abfec588df2c5e4cdf2f153
 SHA512 
475de1c473d2d828038a2afb98d74d52b5e0fd06a5bfc8516e44084ed38b1438310172905fd4fe0a64a736d699095ed286dfdee059ceeb50dfb9bb49131e2005
+DIST sqlite-src-3450200.zip 14156848 BLAKE2B 
a830dce41fd6c9ef936115460ed4aa9be277688389c50545fcb5e8ee65317d3adaf51873ec789556cf293418f7059868c7ffac229dc30756ba5137431839ec69
 SHA512 
b6e875ab4ed24cd564330e50a87f35aae43c382f88ca86c2eedf5308c7fab683c1880c0053408e864b0cec1feb7ae81aca8a91979a3ee3975f26037a7983011a

diff --git a/dev-db/sqlite/files/sqlite-3.45.2-tests-x86.patch 
b/dev-db/sqlite/files/sqlite-3.45.2-tests-x86.patch
new file mode 100644
index ..153dd82c1e19
--- /dev/null
+++ b/dev-db/sqlite/files/sqlite-3.45.2-tests-x86.patch
@@ -0,0 +1,112 @@
+https://sqlite.org/forum/forumpost/7dfd585ce1
+https://sqlite.org/src/info/d0fbe779bc2460e1
+
+Index: test/func4.test
+==
+--- a/test/func4.test
 b/test/func4.test
+@@ -1,6 +1,6 @@
+-# 2013 March 10
++# 2023-03-10
+ #
+ # The author disclaims copyright to this source code.  In place of
+ # a legal notice, here is a blessing:
+ #
+ #May you do good and not evil.
+@@ -7,11 +7,14 @@
+ #May you find forgiveness for yourself and forgive others.
+ #May you share freely, never taking more than you give.
+ #
+ #***
+ # This file implements regression tests for SQLite library. The focus of
+-# this file is testing the tointeger() and toreal() functions.
++# this file is testing the tointeger() and toreal() functions that are
++# part of the "totype.c" extension.  This file does not test the core
++# SQLite library.  Failures of tests in this file are related to the
++# ext/misc/totype.c extension.
+ #
+ # Several of the toreal() tests are disabled on platforms where floating
+ # point precision is not high enough to represent their constant integer
+ # expression arguments as double precision floating point values.
+ #
+@@ -21,10 +24,24 @@
+ set tcl_precision 0
+ load_static_extension db totype
+ 
+ set highPrecision(1) [expr \
+ {[db eval {SELECT tointeger(9223372036854775807 + 1);}] eq {{}}}]
++set highPrecision(2) [expr \
++{[db eval {SELECT toreal(-9223372036854775808 + 1);}] eq {{}}}]
++
++# highPrecision(3) is only known to be false on i586 with gcc-13 and -O2.
++# It is true on the exact same platform with -O0.  Both results seem
++# reasonable, so we'll just very the expectation accordingly.
++#
++set highPrecision(3) [expr \
++{[db eval {SELECT toreal(9007199254740992 + 1);}] eq {{}}}]
++
++if {!$highPrecision(1) || !$highPrecision(2) || !$highPrecision(3)} {
++  puts "NOTICE: use_long_double: [use_long_double] \
++  

[gentoo-commits] repo/gentoo:master commit in: dev-libs/xapian/

2024-03-20 Thread Sam James
commit: 9cd30d5375b3fbaac8ec00ba9b0210590d0215df
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 21 03:41:51 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 03:41:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cd30d53

dev-libs/xapian: disable output synchronisation for tests

Otherwise it looks like they're hanging.

Signed-off-by: Sam James  gentoo.org>

 dev-libs/xapian/xapian-1.4.25.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-libs/xapian/xapian-1.4.25.ebuild 
b/dev-libs/xapian/xapian-1.4.25.ebuild
index dc4d3f009870..25f4dd84a037 100644
--- a/dev-libs/xapian/xapian-1.4.25.ebuild
+++ b/dev-libs/xapian/xapian-1.4.25.ebuild
@@ -57,6 +57,10 @@ src_configure() {
econf "${myconf[@]}"
 }
 
+src_test() {
+   emake -Onone check
+}
+
 src_install() {
default
find "${ED}" -name "*.la" -type f -delete || die



[gentoo-commits] proj/riscv:master commit in: dev-debug/valgrind/, dev-util/valgrind/, dev-util/valgrind/files/, ...

2024-03-20 Thread Yixun Lan
commit: 5cc28159a5492c2ef147f050a1016e0a6e2cce6f
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Thu Feb 29 07:20:14 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Mar 21 03:25:02 2024 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=5cc28159

dev-debug/valgrind: moved from dev-util

Closes: https://github.com/gentoo/riscv/pull/11
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Signed-off-by: Yixun Lan  gentoo.org>

 .../files/valgrind-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch | 0
 {dev-util => dev-debug}/valgrind/files/valgrind-3.7.0-respect-flags.patch | 0
 {dev-util => dev-debug}/valgrind/metadata.xml | 0
 {dev-util => dev-debug}/valgrind/valgrind-.ebuild | 0
 4 files changed, 0 insertions(+), 0 deletions(-)

diff --git 
a/dev-util/valgrind/files/valgrind-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
 
b/dev-debug/valgrind/files/valgrind-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
similarity index 100%
rename from 
dev-util/valgrind/files/valgrind-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
rename to 
dev-debug/valgrind/files/valgrind-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch

diff --git a/dev-util/valgrind/files/valgrind-3.7.0-respect-flags.patch 
b/dev-debug/valgrind/files/valgrind-3.7.0-respect-flags.patch
similarity index 100%
rename from dev-util/valgrind/files/valgrind-3.7.0-respect-flags.patch
rename to dev-debug/valgrind/files/valgrind-3.7.0-respect-flags.patch

diff --git a/dev-util/valgrind/metadata.xml b/dev-debug/valgrind/metadata.xml
similarity index 100%
rename from dev-util/valgrind/metadata.xml
rename to dev-debug/valgrind/metadata.xml

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-debug/valgrind/valgrind-.ebuild
similarity index 100%
rename from dev-util/valgrind/valgrind-.ebuild
rename to dev-debug/valgrind/valgrind-.ebuild



[gentoo-commits] repo/gentoo:master commit in: app-doc/gimp-help/, app-doc/gimp-help/files/

2024-03-20 Thread Sam James
commit: aba2b486ec0f3c3c66e6405b1b6bd8a5f6f40f0b
Author: Sergey Torokhov  yandex  ru>
AuthorDate: Sun Mar  3 15:09:41 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 03:15:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aba2b486

app-doc/gimp-help: drop old 2.10.0-r2

Signed-off-by: Sergey Torokhov  yandex.ru>
Signed-off-by: Sam James  gentoo.org>

 app-doc/gimp-help/Manifest |   1 -
 .../gimp-help/files/gimp-help-2.10.0-python3.patch | 297 -
 app-doc/gimp-help/gimp-help-2.10.0-r2.ebuild   |  44 ---
 3 files changed, 342 deletions(-)

diff --git a/app-doc/gimp-help/Manifest b/app-doc/gimp-help/Manifest
index b47b3228533e..f364e53f8979 100644
--- a/app-doc/gimp-help/Manifest
+++ b/app-doc/gimp-help/Manifest
@@ -1,2 +1 @@
-DIST gimp-help-2.10.0.tar.bz2 187092180 BLAKE2B 
29a7fbe3fcb6f3210aeda4bc514d7e0eeca05f9fabd3b9022c7ed1e5a9432876cc3bf530632648e2eb50509add4e387106d9705a1c17469e33496daec737d21b
 SHA512 
2f6d5e7cf0c3b4960c92074ef02d51a1d089c148f6453a66e453a3084cdede280f72c6b77d35f66777adbda8aa273ec2a472fb538142e51bb263c3077eec473a
 DIST gimp-help-2.10.34.tar.bz2 165540436 BLAKE2B 
eff5afe87bbddf9166647424ef63399a4ebc4215980dddf42f949e18245c60d1095269592f5a314683f7e1d7b27e2b9130215bda5987e7c8dfcafb5cebb6abbc
 SHA512 
316d558f66c96a0d2d0f17baf700020b76aa221f9e220ddfc3e85b10c82b20b9c1cf36893776a342e90af5170e0102eb743b79663451581444d4f881256cf377

diff --git a/app-doc/gimp-help/files/gimp-help-2.10.0-python3.patch 
b/app-doc/gimp-help/files/gimp-help-2.10.0-python3.patch
deleted file mode 100644
index e42214a0f82b..
--- a/app-doc/gimp-help/files/gimp-help-2.10.0-python3.patch
+++ /dev/null
@@ -1,297 +0,0 @@
-diff -urNp a/tools/xml2po/__init__.py b/tools/xml2po/__init__.py
 a/tools/xml2po/__init__.py 2019-11-28 11:45:00.889048989 +0100
-+++ b/tools/xml2po/__init__.py 2020-01-06 13:24:24.715787902 +0100
-@@ -166,7 +166,7 @@ class XMLDocument(object):
- elif node.isText():
- if node.isBlankNode():
- if self.app.options.get('expand_entities') or \
--  (not (node.prev and not node.prev.isBlankNode() and 
node.next and not node.next.isBlankNode()) ):
-+  (not (node.prev and not node.prev.isBlankNode() and 
node.nextElementSibling() and not node.next.isBlankNode()) ):
- #print >>sys.stderr, "BLANK"
- node.setContent('')
- else:
-@@ -200,7 +200,7 @@ class XMLDocument(object):
- tree = ctxt.doc()
- newnode = tree.getRootElement()
- except:
--print >> sys.stderr, """Error while normalizing string as 
XML:\n"%s"\n""" % (text)
-+print("""Error while normalizing string as XML:\n"%s"\n""" % 
(text), file=sys.stderr)
- return text
- 
- self.normalizeNode(newnode)
-@@ -259,7 +259,7 @@ class XMLDocument(object):
- if not self.expand_entities:
- result += '&' + child.name + ';'
- else:
--result += child.content.decode('utf-8')
-+result += child.content
- else:
- result += self.myAttributeSerialize(child)
- child = child.next
-@@ -326,7 +326,7 @@ class XMLDocument(object):
- pass
- 
- content = '<%s>%s' % (starttag, text, endtag)
--tmp = tmp + content.encode('utf-8')
-+tmp = tmp + content
- 
- newnode = None
- try:
-@@ -338,7 +338,7 @@ class XMLDocument(object):
- pass
- 
- if not newnode:
--print >> sys.stderr, """Error while parsing translation as 
XML:\n"%s"\n""" % (text.encode('utf-8'))
-+print("""Error while parsing translation as XML:\n"%s"\n""" % 
(text), file=sys.stderr)
- return
- 
- newelem = newnode.getRootElement()
-@@ -354,7 +354,7 @@ class XMLDocument(object):
- copy = newelem.copyNodeList()
- next = node.next
- node.replaceNode(newelem.copyNodeList())
--node.next = next
-+node.__next__ = next
- 
- else:
- # In practice, this happens with tags such as "
" (only whitespace in between)
-@@ -406,7 +406,7 @@ class XMLDocument(object):
- translation = self.app.getTranslation(outtxt)  # unicode or None
- if translation is not None:
- self.replaceAttributeContentsWithText(attr,
--  
translation.encode('utf-8'))
-+  translation)
- else:
- self.app.msg.outputMessage(outtxt, node.lineNo(),  "", 
spacepreserve=False,
-   tag = node.name + ":" + attr.name)
-@@ -447,14 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/mumps/

2024-03-20 Thread Sam James
commit: 10940cbcc0a600967ac4937e420632b5ef72867f
Author: Eli Schwartz  gmail  com>
AuthorDate: Thu Mar 21 01:52:39 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 03:16:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10940cbc

sci-libs/mumps: update HOMEPAGE, SRC_URI

The previous upstream website was dead, but in fact it just has a new
domain and the old domain doesn't exist anymore.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sci-libs/mumps/mumps-5.3.5-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-libs/mumps/mumps-5.3.5-r1.ebuild 
b/sci-libs/mumps/mumps-5.3.5-r1.ebuild
index 8e6488b38200..705a251a15d6 100644
--- a/sci-libs/mumps/mumps-5.3.5-r1.ebuild
+++ b/sci-libs/mumps/mumps-5.3.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,8 +8,8 @@ inherit fortran-2 flag-o-matic multilib toolchain-funcs
 MYP=MUMPS_${PV}
 
 DESCRIPTION="MUltifrontal Massively Parallel sparse direct matrix Solver"
-HOMEPAGE="http://mumps.enseeiht.fr/;
-SRC_URI="http://mumps.enseeiht.fr/${MYP}.tar.gz;
+HOMEPAGE="https://mumps-solver.org/;
+SRC_URI="https://mumps-solver.org/${MYP}.tar.gz;
 S="${WORKDIR}/${MYP}"
 
 LICENSE="public-domain"



[gentoo-commits] repo/gentoo:master commit in: net-misc/anydesk/

2024-03-20 Thread Sam James
commit: 3de0e864c698ddcb8b77f0cce3fd2e94553e1f87
Author: Jaco Kroon  uls  co  za>
AuthorDate: Wed Mar 20 10:42:15 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 03:15:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3de0e864

net-misc/anydesk: add 6.3.1, drop 6.3.0

Unfortunately the dep on x11-libs/gtkglext still can't go away.

Closes: https://bugs.gentoo.org/927319
Signed-off-by: Jaco Kroon  uls.co.za>
Closes: https://github.com/gentoo/gentoo/pull/35838
Signed-off-by: Sam James  gentoo.org>

 net-misc/anydesk/Manifest   | 2 +-
 net-misc/anydesk/{anydesk-6.3.0.ebuild => anydesk-6.3.1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/anydesk/Manifest b/net-misc/anydesk/Manifest
index f0a2cd9b4276..fa0304d8712d 100644
--- a/net-misc/anydesk/Manifest
+++ b/net-misc/anydesk/Manifest
@@ -1,2 +1,2 @@
 DIST anydesk-6.2.1-amd64.tar.gz 6634159 BLAKE2B 
03abb9c3a990a8e4b53505896ebef253c386f578a275ccbec55e85cbb27e5c0f140863c6dc407b1d0cc2f2975b63bcd13487e27425b16cd3fdb42fd71a646e97
 SHA512 
2a36eb0698d18d7f779a9c7b8a17b2a9964fc10ba1ce65a68555332e58fd316b8541ef5443c8f8a62a30711e8dd19174d599ac2cdccd581da645c6b6a7e000ae
-DIST anydesk-6.3.0-amd64.tar.gz 7050807 BLAKE2B 
f7a4eddb619d9dca50b97a43f45a7d3f87ac574ed8df0883f050827b2a9c433ca79a4715b9e8ba01f8d992b9adeeaea64743d31ba167c899f69620cba2923b61
 SHA512 
72a6b1a7427780fa33f5927d59485cc1ebdda6d20364cc6dde3eeacdaf7514852ebd6771669fbdfc113a069dd97eec3f2d18290a5cdd3a8d416d30610ef955b2
+DIST anydesk-6.3.1-amd64.tar.gz 7050869 BLAKE2B 
d6cb708817947804a6c58a5d6edf7e49765fc962228c23aa89f37f8276f04f8501ca874190fe55ab4bb2efd9aea4e1f63e7750116e2351a7d452c8800f8c561b
 SHA512 
f8985df5a58b17bf2f442b88b8a9211294c953987aeb267b91029bcc639f2a3679248613562916cef16897b87aab05e715313bd2be182c7929168d90ade2238f

diff --git a/net-misc/anydesk/anydesk-6.3.0.ebuild 
b/net-misc/anydesk/anydesk-6.3.1.ebuild
similarity index 98%
rename from net-misc/anydesk/anydesk-6.3.0.ebuild
rename to net-misc/anydesk/anydesk-6.3.1.ebuild
index 77d78ee0f0c6..8da50cec7b3c 100644
--- a/net-misc/anydesk/anydesk-6.3.0.ebuild
+++ b/net-misc/anydesk/anydesk-6.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"



[gentoo-commits] repo/gentoo:master commit in: app-doc/gimp-help/

2024-03-20 Thread Sam James
commit: bec3e130178e6d7add09abd405cac995712c016c
Author: Sergey Torokhov  yandex  ru>
AuthorDate: Sun Mar  3 15:23:46 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 03:15:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bec3e130

app-doc/gimp-help: add PYTHON_COMPAT 3.12

Signed-off-by: Sergey Torokhov  yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/35611
Signed-off-by: Sam James  gentoo.org>

 app-doc/gimp-help/gimp-help-2.10.34-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-doc/gimp-help/gimp-help-2.10.34-r2.ebuild 
b/app-doc/gimp-help/gimp-help-2.10.34-r2.ebuild
index a1be0ef7b573..496d138224d0 100644
--- a/app-doc/gimp-help/gimp-help-2.10.34-r2.ebuild
+++ b/app-doc/gimp-help/gimp-help-2.10.34-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit python-any-r1
 
 DESCRIPTION="GNU Image Manipulation Program help files"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/scotch/

2024-03-20 Thread Sam James
commit: 598d2aea0a81d5cf3957a7d32ba987bdb81ed3ce
Author: Eli Schwartz  gmail  com>
AuthorDate: Thu Mar 21 01:26:17 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 03:16:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=598d2aea

sci-libs/scotch: remove redundant double sed

Introduced in commit 4af10b0593cbc3fa93b62b3755ba2bed748dbf7d as part of
other changes.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sci-libs/scotch/scotch-7.0.1-r1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sci-libs/scotch/scotch-7.0.1-r1.ebuild 
b/sci-libs/scotch/scotch-7.0.1-r1.ebuild
index 39afc59e85ee..2c9d51f1b1e0 100644
--- a/sci-libs/scotch/scotch-7.0.1-r1.ebuild
+++ b/sci-libs/scotch/scotch-7.0.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -66,7 +66,6 @@ src_prepare() {
-e "s/-O3/${CFLAGS} -pthread/" \
-e "s/= ar$/= $(tc-getAR)/" \
-e "s/= ranlib$/= $(tc-getRANLIB)/" \
-   -e "s/= ranlib$/= $(tc-getRANLIB)/" \
-e "/^LDFLAGS/ s/$/ ${LDFLAGS}/" \
src/Make.inc/Makefile.inc.i686_pc_linux3 > src/Makefile.inc || 
die
 }



[gentoo-commits] repo/gentoo:master commit in: www-client/opera-beta/

2024-03-20 Thread Matt Jolly
commit: 8eaa5ad2bdf808188df02c659d71ed2ed67c7215
Author: Matt Jolly  gentoo  org>
AuthorDate: Thu Mar 21 02:57:24 2024 +
Commit: Matt Jolly  gentoo  org>
CommitDate: Thu Mar 21 03:01:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8eaa5ad2

www-client/opera-beta: update proprietary-codecs USE

Enable the use of media-video/ffmpeg or
media-video/ffmpeg-chromium to provide proprietary codecs
support based on USE=ffmpeg-chromium.

Signed-off-by: Matt Jolly  gentoo.org>

 www-client/opera-beta/Manifest|  1 -
 www-client/opera-beta/metadata.xml|  1 +
 ...97.5.ebuild => opera-beta-108.0.5067.14-r1.ebuild} | 19 ---
 ...7.14.ebuild => opera-beta-109.0.5097.24-r1.ebuild} | 19 ---
 ...97.24.ebuild => opera-beta-109.0.5097.5-r1.ebuild} | 19 ---
 5 files changed, 37 insertions(+), 22 deletions(-)

diff --git a/www-client/opera-beta/Manifest b/www-client/opera-beta/Manifest
index fd6745dc307b..12fb45576186 100644
--- a/www-client/opera-beta/Manifest
+++ b/www-client/opera-beta/Manifest
@@ -1,4 +1,3 @@
 DIST opera-beta_108.0.5067.14_amd64.deb 115510280 BLAKE2B 
01671adad09c457f397ae1f62001ed9cb4f833c7413b719299f307704686ea6d3bf3713582f93b2a417c7e076b5c95b9f9dc37a16bf6d42390116dc9428093ee
 SHA512 
1839af51c996f09aafe777505267f1c6f97334fd02f9840a693540b694761b31a5419687ada78bb3a05783d3315bb3b4e62b55ea9fd86692ec10ccf158026239
 DIST opera-beta_109.0.5097.24_amd64.deb 115266488 BLAKE2B 
02031e0bf755c111efd3e77adf639b5ca27a6325e94f3d43e20419dfa8c93170aa19d839d5d718fd5dfd94d28b1c974f107f2a99c73b3de27bce94c2a66c46cf
 SHA512 
a9b19e07d9cd11bdaaf1fbee1ec765366994304d940711c66f9e041f5e8cca33d29ec158768c659bcf2bbe1b5914c5a67ef86800a4a0ffa27bc06054b55f80ca
 DIST opera-beta_109.0.5097.5_amd64.deb 115139344 BLAKE2B 
ebe2dbc2aecd0a79c1446cafc7fb4195cac2cf927f2e2f43413ec322007efcfcbb037f2377e973a40baf2d0eff7ce76cd88999d6578ff72be695831b20066520
 SHA512 
245bb6d45bf85b2d53f19ea015a2899853e43043f53216d3b7b2a87c8cf45b00a541df92840b357c09328c1ea4aedf70a6303ffce113d88f91d2c8da83763217
-DIST opera-ffmpeg-codecs-114.0.5735.9.tar.xz 1315192 BLAKE2B 
ef9a0cfc8c30ac0a837863644f3c2d5e78059575e2b8f6fda9253304f4815a39d021602e802dac7e1d5a1685aa5015a02019c4a0399f0bdc81136f956cc1d55f
 SHA512 
bdad66bd5d238bdeb81a4e2a956f0a814633360f05c7bed2161df9506d2ccc45ba452cc8974c755fe0d3f46adceb90324a472a5dac72e9c65391ae7a841c

diff --git a/www-client/opera-beta/metadata.xml 
b/www-client/opera-beta/metadata.xml
index b26bda26dc59..43f810908023 100644
--- a/www-client/opera-beta/metadata.xml
+++ b/www-client/opera-beta/metadata.xml
@@ -6,6 +6,7 @@
Chromium in Gentoo Project


+   Use Chromium FFmpeg fork 
(media-video/ffmpeg-chromium) rather than mainline FFmpeg 
(media-video/ffmpeg)
Enable codecs for 
patent-encumbered audio and video formats.

 

diff --git a/www-client/opera-beta/opera-beta-109.0.5097.5.ebuild 
b/www-client/opera-beta/opera-beta-108.0.5067.14-r1.ebuild
similarity index 84%
rename from www-client/opera-beta/opera-beta-109.0.5097.5.ebuild
rename to www-client/opera-beta/opera-beta-108.0.5067.14-r1.ebuild
index 4580a368fd6c..ad276bb735ac 100644
--- a/www-client/opera-beta/opera-beta-109.0.5097.5.ebuild
+++ b/www-client/opera-beta/opera-beta-108.0.5067.14-r1.ebuild
@@ -39,17 +39,17 @@ else
MY_PN=${PN}
 fi
 
-FFMPEG_VERSION="114.0.5735.9"
-SRC_URI="${SRC_URI_BASE[@]/%//${PV}/linux/${MY_PN}_${PV}_amd64.${OPERA_ARCHIVE_EXT}}
-   proprietary-codecs? (
-   
mirror+https://dev.gentoo.org/~sultan/distfiles/www-client/opera/opera-ffmpeg-codecs-${FFMPEG_VERSION}.tar.xz
-   )"
+# Commit ref from `strings libffmpeg.so | grep -F "FFmpeg version"` matches 
this Chromium version
+# used to select the correct ffmpeg-chromium version (corresponds to a major 
version of Chromium)
+# Does not need to be updated for every new version of Opera, only when it 
breaks
+CHROMIUM_VERSION="121"
+SRC_URI="${SRC_URI_BASE[@]/%//${PV}/linux/${MY_PN}_${PV}_amd64.${OPERA_ARCHIVE_EXT}}"
 S=${WORKDIR}
 
 LICENSE="OPERA-2018"
 SLOT="0"
 KEYWORDS="-* ~amd64"
-IUSE="+proprietary-codecs +suid qt5 qt6"
+IUSE="+ffmpeg-chromium +proprietary-codecs +suid qt5 qt6"
 RESTRICT="bindist mirror strip"
 
 RDEPEND="
@@ -79,6 +79,10 @@ RDEPEND="
x11-libs/libXfixes
x11-libs/libXrandr
x11-libs/pango
+   proprietary-codecs? (
+   !ffmpeg-chromium? ( 
>=media-video/ffmpeg-6.1-r1:0/58.60.60[chromium] )
+   ffmpeg-chromium? ( 
media-video/ffmpeg-chromium:${CHROMIUM_VERSION} )
+   )
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5[X]
@@ -151,7 +155,8 @@ src_install() {
# install proprietary codecs
rm "${OPERA_HOME}/resources/ffmpeg_preload_config.json" || die
if use proprietary-codecs; then
-   mv lib_extra "${OPERA_HOME}"
+   dosym 

[gentoo-commits] repo/gentoo:master commit in: www-client/opera/

2024-03-20 Thread Matt Jolly
commit: d93b40b52e42450c939d2f0b08e2981cb2089d1d
Author: Matt Jolly  gentoo  org>
AuthorDate: Thu Mar 21 02:52:55 2024 +
Commit: Matt Jolly  gentoo  org>
CommitDate: Thu Mar 21 03:01:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d93b40b5

www-client/opera: update proprietary codecs support.

Use media-video/ffmpeg-chromium to provide optional decoder
support for H.264 (etc).

Closes: https://bugs.gentoo.org/924391
Signed-off-by: Matt Jolly  gentoo.org>

 www-client/opera/Manifest|  1 -
 ...08.0.5067.29.ebuild => opera-108.0.5067.29-r1.ebuild} | 16 ++--
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index 9f6feae995a4..ed7f69238245 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -1,2 +1 @@
-DIST opera-ffmpeg-codecs-114.0.5735.9.tar.xz 1315192 BLAKE2B 
ef9a0cfc8c30ac0a837863644f3c2d5e78059575e2b8f6fda9253304f4815a39d021602e802dac7e1d5a1685aa5015a02019c4a0399f0bdc81136f956cc1d55f
 SHA512 
bdad66bd5d238bdeb81a4e2a956f0a814633360f05c7bed2161df9506d2ccc45ba452cc8974c755fe0d3f46adceb90324a472a5dac72e9c65391ae7a841c
 DIST opera-stable_108.0.5067.29_amd64.deb 115339860 BLAKE2B 
17b1ce49e2c6eadfe259e453fdf9e40726b61bc6aa9ae69d7f9226d004fd3de585c6d4bc54378d6dcef65654a601eed296835202ef2569de4c23d16d9f7ad0e6
 SHA512 
5e97f53aa87e70efa90ffd87c0a904b2e9b5410d39e1d0549b5018245bb8cbc06ae7a322aa97643b3402bdc7f64fd8525e08a47f9a369396acf889f6727e

diff --git a/www-client/opera/opera-108.0.5067.29.ebuild 
b/www-client/opera/opera-108.0.5067.29-r1.ebuild
similarity index 88%
rename from www-client/opera/opera-108.0.5067.29.ebuild
rename to www-client/opera/opera-108.0.5067.29-r1.ebuild
index 67b029cadff1..a97bb25328be 100644
--- a/www-client/opera/opera-108.0.5067.29.ebuild
+++ b/www-client/opera/opera-108.0.5067.29-r1.ebuild
@@ -39,11 +39,11 @@ else
MY_PN=${PN}
 fi
 
-FFMPEG_VERSION="114.0.5735.9"
-SRC_URI="${SRC_URI_BASE[@]/%//${PV}/linux/${MY_PN}_${PV}_amd64.${OPERA_ARCHIVE_EXT}}
-   proprietary-codecs? (
-   
mirror+https://dev.gentoo.org/~sultan/distfiles/www-client/opera/opera-ffmpeg-codecs-${FFMPEG_VERSION}.tar.xz
-   )"
+# Commit ref from `strings libffmpeg.so | grep -F "FFmpeg version"` matches 
this Chromium version
+# used to select the correct ffmpeg-chromium version (corresponds to a major 
version of Chromium)
+# Does not need to be updated for every new version of Opera, only when it 
breaks
+CHROMIUM_VERSION="121"
+SRC_URI="${SRC_URI_BASE[@]/%//${PV}/linux/${MY_PN}_${PV}_amd64.${OPERA_ARCHIVE_EXT}}"
 S=${WORKDIR}
 
 LICENSE="OPERA-2018"
@@ -79,6 +79,9 @@ RDEPEND="
x11-libs/libXfixes
x11-libs/libXrandr
x11-libs/pango
+   proprietary-codecs? (
+   media-video/ffmpeg-chromium:${CHROMIUM_VERSION}
+   )
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5[X]
@@ -151,7 +154,8 @@ src_install() {
# install proprietary codecs
rm "${OPERA_HOME}/resources/ffmpeg_preload_config.json" || die
if use proprietary-codecs; then
-   mv lib_extra "${OPERA_HOME}"
+   dosym 
../../usr/$(get_libdir)/chromium/libffmpeg.so.${CHROMIUM_VERSION} \
+ /${OPERA_HOME}/libffmpeg.so
fi
 
if ! use qt5; then



[gentoo-commits] repo/gentoo:master commit in: www-client/opera-developer/

2024-03-20 Thread Matt Jolly
commit: b7f6501ae215d528efc8fcd074135b1ab9545528
Author: Matt Jolly  gentoo  org>
AuthorDate: Thu Mar 21 03:00:46 2024 +
Commit: Matt Jolly  gentoo  org>
CommitDate: Thu Mar 21 03:01:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7f6501a

www-client/opera-developer: update proprietary-codecs

Enable the use of media-video/ffmpeg or
media-video/ffmpeg-chromium to provide proprietary codecs
support based on USE=ffmpeg-chromium.

Signed-off-by: Matt Jolly  gentoo.org>

 www-client/opera-developer/Manifest   |  1 -
 www-client/opera-developer/metadata.xml   |  1 +
 ebuild => opera-developer-109.0.5097.0-r1.ebuild} | 19 ---
 ebuild => opera-developer-110.0.5104.0-r1.ebuild} | 19 ---
 ebuild => opera-developer-110.0.5111.0-r1.ebuild} | 19 ---
 5 files changed, 37 insertions(+), 22 deletions(-)

diff --git a/www-client/opera-developer/Manifest 
b/www-client/opera-developer/Manifest
index ffea3fac427c..f7e265913b26 100644
--- a/www-client/opera-developer/Manifest
+++ b/www-client/opera-developer/Manifest
@@ -1,4 +1,3 @@
 DIST opera-developer_109.0.5097.0_amd64.deb 115199092 BLAKE2B 
3fc904daa984bd9732b01176ffb412ecf41d6557ff108689e9327c5ba6b062717f5205423d4d8fe86ad74385f31cc1209bb47bb32fd76b054686512b23d8a35a
 SHA512 
131beba74262ea69f769563704482675248289cba82c400640d019891c356d94f94f8acb6901fb3a8fc6f571b36218dc12f65186d5dae78f45f18e3aa86d1db1
 DIST opera-developer_110.0.5104.0_amd64.deb 115270084 BLAKE2B 
8af1ec0b96e3af184b6cd33e9b87632305c6eb8a318b795a6764cce6a4a5d6813ac6c7d73ea073a930fc6dc1fba53d5f71199f631509261a67fcaccd01f71922
 SHA512 
cd693e512b0b80e0f7a10f2894649e39bdeb26e0a572a2b8d1eb07c0745329229981fc72fe7c0b96f9f9cec48db354e56b9d23cba642b6872fa844bb3ecdeaa0
 DIST opera-developer_110.0.5111.0_amd64.deb 115386872 BLAKE2B 
003a661b543fe13fc39a155d4d1d26af9e08158a65f64d5d6b99857dd6d0889b04bd8eb767fd83fc9fea200fd6f3f501d88602e974dcd04dd1c52fb84103b9ee
 SHA512 
214798e9e5ba6c21c9f8893f29c5745d9315067b262ba6024442dc241bc05f67433c57b6005a2062767dce735142044e03ea290666dc611ba89ce5bb4041b251
-DIST opera-ffmpeg-codecs-114.0.5735.9.tar.xz 1315192 BLAKE2B 
ef9a0cfc8c30ac0a837863644f3c2d5e78059575e2b8f6fda9253304f4815a39d021602e802dac7e1d5a1685aa5015a02019c4a0399f0bdc81136f956cc1d55f
 SHA512 
bdad66bd5d238bdeb81a4e2a956f0a814633360f05c7bed2161df9506d2ccc45ba452cc8974c755fe0d3f46adceb90324a472a5dac72e9c65391ae7a841c

diff --git a/www-client/opera-developer/metadata.xml 
b/www-client/opera-developer/metadata.xml
index b26bda26dc59..43f810908023 100644
--- a/www-client/opera-developer/metadata.xml
+++ b/www-client/opera-developer/metadata.xml
@@ -6,6 +6,7 @@
Chromium in Gentoo Project


+   Use Chromium FFmpeg fork 
(media-video/ffmpeg-chromium) rather than mainline FFmpeg 
(media-video/ffmpeg)
Enable codecs for 
patent-encumbered audio and video formats.

 

diff --git a/www-client/opera-developer/opera-developer-110.0.5111.0.ebuild 
b/www-client/opera-developer/opera-developer-109.0.5097.0-r1.ebuild
similarity index 84%
rename from www-client/opera-developer/opera-developer-110.0.5111.0.ebuild
rename to www-client/opera-developer/opera-developer-109.0.5097.0-r1.ebuild
index 4580a368fd6c..ad276bb735ac 100644
--- a/www-client/opera-developer/opera-developer-110.0.5111.0.ebuild
+++ b/www-client/opera-developer/opera-developer-109.0.5097.0-r1.ebuild
@@ -39,17 +39,17 @@ else
MY_PN=${PN}
 fi
 
-FFMPEG_VERSION="114.0.5735.9"
-SRC_URI="${SRC_URI_BASE[@]/%//${PV}/linux/${MY_PN}_${PV}_amd64.${OPERA_ARCHIVE_EXT}}
-   proprietary-codecs? (
-   
mirror+https://dev.gentoo.org/~sultan/distfiles/www-client/opera/opera-ffmpeg-codecs-${FFMPEG_VERSION}.tar.xz
-   )"
+# Commit ref from `strings libffmpeg.so | grep -F "FFmpeg version"` matches 
this Chromium version
+# used to select the correct ffmpeg-chromium version (corresponds to a major 
version of Chromium)
+# Does not need to be updated for every new version of Opera, only when it 
breaks
+CHROMIUM_VERSION="121"
+SRC_URI="${SRC_URI_BASE[@]/%//${PV}/linux/${MY_PN}_${PV}_amd64.${OPERA_ARCHIVE_EXT}}"
 S=${WORKDIR}
 
 LICENSE="OPERA-2018"
 SLOT="0"
 KEYWORDS="-* ~amd64"
-IUSE="+proprietary-codecs +suid qt5 qt6"
+IUSE="+ffmpeg-chromium +proprietary-codecs +suid qt5 qt6"
 RESTRICT="bindist mirror strip"
 
 RDEPEND="
@@ -79,6 +79,10 @@ RDEPEND="
x11-libs/libXfixes
x11-libs/libXrandr
x11-libs/pango
+   proprietary-codecs? (
+   !ffmpeg-chromium? ( 
>=media-video/ffmpeg-6.1-r1:0/58.60.60[chromium] )
+   ffmpeg-chromium? ( 
media-video/ffmpeg-chromium:${CHROMIUM_VERSION} )
+   )
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5[X]
@@ -151,7 +155,8 @@ src_install() {
# install proprietary codecs
rm "${OPERA_HOME}/resources/ffmpeg_preload_config.json" || die
  

[gentoo-commits] repo/gentoo:master commit in: net-print/libcupsfilters/files/

2024-03-20 Thread Sam James
commit: e3ec58b7f1540e12a70709ab8fec0e6f8a321e65
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 21 02:56:25 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:56:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3ec58b7

net-print/libcupsfilters: add missing references to patch

Bug: https://bugs.gentoo.org/923959
Signed-off-by: Sam James  gentoo.org>

 net-print/libcupsfilters/files/libcupsfilters-2.0.0-r3-c++17.patch | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-print/libcupsfilters/files/libcupsfilters-2.0.0-r3-c++17.patch 
b/net-print/libcupsfilters/files/libcupsfilters-2.0.0-r3-c++17.patch
index 8051718df9f5..be74a216d22a 100644
--- a/net-print/libcupsfilters/files/libcupsfilters-2.0.0-r3-c++17.patch
+++ b/net-print/libcupsfilters/files/libcupsfilters-2.0.0-r3-c++17.patch
@@ -1,3 +1,6 @@
+https://bugs.gentoo.org/923959
+https://github.com/OpenPrinting/libcupsfilters/issues/35
+https://github.com/OpenPrinting/libcupsfilters/commit/668d7dac277c1d44732fc25e5491c79ff82e597d
 --- a/cupsfilters/pdftoraster.cxx
 +++ b/cupsfilters/pdftoraster.cxx
 @@ -2198,7 +2198,11 @@



[gentoo-commits] repo/gentoo:master commit in: dev-util/ebuildtester/

2024-03-20 Thread Sam James
commit: 04dec1d1b6833445274a66bf5efc20c2c8d1d9cb
Author: Alfred Wingate  protonmail  com>
AuthorDate: Wed Feb 21 00:19:21 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:53:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04dec1d1

dev-util/ebuildtester: enable py3.12

Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-util/ebuildtester/ebuildtester-42-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/ebuildtester/ebuildtester-42-r2.ebuild 
b/dev-util/ebuildtester/ebuildtester-42-r2.ebuild
index 0ada5330fef7..189c2d3e57a9 100644
--- a/dev-util/ebuildtester/ebuildtester-42-r2.ebuild
+++ b/dev-util/ebuildtester/ebuildtester-42-r2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9,10,11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit bash-completion-r1 distutils-r1 pypi
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/ebuildtester/

2024-03-20 Thread Sam James
commit: c15823cae00f79c7d3758b0342c421457c32628b
Author: Alfred Wingate  protonmail  com>
AuthorDate: Wed Feb 21 00:29:20 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:53:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c15823ca

dev-util/ebuildtester: correct sphinx dependency

* Sphinx is only needed for building docs, previously the docs weren't
  even built so actually build it conditionally.
* DEPEND -> BDEPEND.

Signed-off-by: Alfred Wingate  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35453
Signed-off-by: Sam James  gentoo.org>

 dev-util/ebuildtester/ebuildtester-42-r3.ebuild | 34 +
 1 file changed, 34 insertions(+)

diff --git a/dev-util/ebuildtester/ebuildtester-42-r3.ebuild 
b/dev-util/ebuildtester/ebuildtester-42-r3.ebuild
new file mode 100644
index ..f15cf5a0fb54
--- /dev/null
+++ b/dev-util/ebuildtester/ebuildtester-42-r3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit bash-completion-r1 distutils-r1 pypi
+
+DESCRIPTION="A dockerized approach to test a Gentoo package within a clean 
stage3 container"
+HOMEPAGE="https://ebuildtester.readthedocs.io/;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   app-containers/docker
+   app-containers/docker-cli
+   sys-fs/fuse
+"
+
+BDEPEND="
+   dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
+distutils_enable_tests unittest
+
+src_install() {
+   distutils-r1_src_install
+   newbashcomp "${PN}.bash-completion" "${PN}"
+}



[gentoo-commits] repo/gentoo:master commit in: net-print/libcupsfilters/files/, net-print/libcupsfilters/

2024-03-20 Thread Sam James
commit: f133f16b27b7e3036eb844ea3842ab6784c50797
Author: Denis Pronin  yandex  ru>
AuthorDate: Mon Feb 19 12:48:00 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:55:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f133f16b

net-print/libcupsfilters: add a patch to fix building with c++17

c++17 does not support dynamic exception specification any longer

Signed-off-by: Denis Pronin  yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/35425
Signed-off-by: Sam James  gentoo.org>

 .../files/libcupsfilters-2.0.0-r3-c++17.patch  | 14 ++
 net-print/libcupsfilters/libcupsfilters-2.0.0-r3.ebuild|  4 
 2 files changed, 18 insertions(+)

diff --git a/net-print/libcupsfilters/files/libcupsfilters-2.0.0-r3-c++17.patch 
b/net-print/libcupsfilters/files/libcupsfilters-2.0.0-r3-c++17.patch
new file mode 100644
index ..8051718df9f5
--- /dev/null
+++ b/net-print/libcupsfilters/files/libcupsfilters-2.0.0-r3-c++17.patch
@@ -0,0 +1,14 @@
+--- a/cupsfilters/pdftoraster.cxx
 b/cupsfilters/pdftoraster.cxx
+@@ -2198,7 +2198,11 @@
+ // For compatibility with g++ >= 4.7 compilers _GLIBCXX_THROW
+ // should be used as a guard, otherwise use traditional definition
+ #ifndef _GLIBCXX_THROW
++#if __cplusplus < 201703L
+ #define _GLIBCXX_THROW throw
++#else
++#define _GLIBCXX_THROW(...) noexcept(false)
++#endif
+ #endif
+ 
+ void * operator new(size_t size) _GLIBCXX_THROW (std::bad_alloc)

diff --git a/net-print/libcupsfilters/libcupsfilters-2.0.0-r3.ebuild 
b/net-print/libcupsfilters/libcupsfilters-2.0.0-r3.ebuild
index af4e7ce42ad6..6a44a004e2a7 100644
--- a/net-print/libcupsfilters/libcupsfilters-2.0.0-r3.ebuild
+++ b/net-print/libcupsfilters/libcupsfilters-2.0.0-r3.ebuild
@@ -39,6 +39,10 @@ BDEPEND="
test? ( media-fonts/dejavu )
 "
 
+PATCHES=(
+   "${FILESDIR}/${P}-r3-c++17.patch"
+)
+
 src_prepare() {
default
 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/sane-airscan/, media-gfx/sane-airscan/files/

2024-03-20 Thread Sam James
commit: e3cba57a199b8e36d204062564b798e1ee8ab83e
Author: Kostadin Shishmanov  tutanota  com>
AuthorDate: Mon Feb 19 21:46:50 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:57:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3cba57a

media-gfx/sane-airscan: Modern C fixes

Fixes building with Modern C compilers. Patches are taken from fedora

https://src.fedoraproject.org/rpms/sane-airscan/c/913879a64e0624df2f09fbdbb058ea0aa9ecb21d

Closes: https://bugs.gentoo.org/924887
Cloes: https://bugs.gentoo.org/926821
Signed-off-by: Kostadin Shishmanov  tutanota.com>
Closes: https://github.com/gentoo/gentoo/pull/35431
Signed-off-by: Sam James  gentoo.org>

 .../files/sane-airscan-0.99.27-c99-fixes.patch | 61 ++
 .../sane-airscan/sane-airscan-0.99.27-r1.ebuild| 43 +++
 2 files changed, 104 insertions(+)

diff --git a/media-gfx/sane-airscan/files/sane-airscan-0.99.27-c99-fixes.patch 
b/media-gfx/sane-airscan/files/sane-airscan-0.99.27-c99-fixes.patch
new file mode 100644
index ..6b4b07d4a9ac
--- /dev/null
+++ b/media-gfx/sane-airscan/files/sane-airscan-0.99.27-c99-fixes.patch
@@ -0,0 +1,61 @@
+From c042a6895fe6f663d4bcb8c27d1c7b34fbd68b48 Mon Sep 17 00:00:00 2001
+From: Alexander Pevzner 
+Date: Sat, 2 Dec 2023 21:49:40 +0300
+Subject: [PATCH 1/2] Fixed missed #include  (see #305)
+
+This code used to compile on everywhere, but explicit #include 
+was actually missed. Seems that sometimes it can cause problems.
+---
+ airscan-xml.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/airscan-xml.c b/airscan-xml.c
+index f376f31..5071ca9 100644
+--- a/airscan-xml.c
 b/airscan-xml.c
+@@ -9,6 +9,7 @@
+ #include "airscan.h"
+ 
+ #include 
++#include 
+ 
+ #include 
+ #include 
+-- 
+2.43.0
+
+From 144e7d4187c73566ffc2780ac91ab7e1826826e0 Mon Sep 17 00:00:00 2001
+From: Alexander Pevzner 
+Date: Sat, 2 Dec 2023 22:29:55 +0300
+Subject: [PATCH 2/2] Fixed build with recent versions of libxml2 (fixes #305)
+
+libxml2 recently changed a prototype of the xmlStructuredErrorFunc callback,
+adding const modifier to the second parameter.
+
+Adding an explicit cast seems to fix the problem (but I will not be surprised, 
if
+this fix will not work equally well on all distros).
+
+Found for a first time and fixed on Arch linux on about 2 Dec 2023 (Arch is 
rolling
+release, so there is no explicit release number)
+---
+ airscan-xml.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/airscan-xml.c b/airscan-xml.c
+index 5071ca9..10f290c 100644
+--- a/airscan-xml.c
 b/airscan-xml.c
+@@ -124,7 +124,7 @@ xml_rd_parse (xmlDoc **doc, const char *xml_text, size_t 
xml_len)
+ goto DONE;
+ }
+
+-ctxt->sax->serror = xml_rd_error_callback;
++ctxt->sax->serror = (xmlStructuredErrorFunc) xml_rd_error_callback;
+
+ /* Parse the document */
+ if (xmlCtxtResetPush(ctxt, xml_text, xml_len, NULL, NULL)) {
+--
+2.43.0
+
+
+

diff --git a/media-gfx/sane-airscan/sane-airscan-0.99.27-r1.ebuild 
b/media-gfx/sane-airscan/sane-airscan-0.99.27-r1.ebuild
new file mode 100644
index ..1b8168dae0cd
--- /dev/null
+++ b/media-gfx/sane-airscan/sane-airscan-0.99.27-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="SANE backend for AirScan (eSCL) and WSD document scanners"
+HOMEPAGE="https://github.com/alexpevzner/sane-airscan;
+SRC_URI="https://github.com/alexpevzner/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+   net-dns/avahi
+   net-libs/gnutls
+   dev-libs/libxml2
+   media-libs/libjpeg-turbo
+   media-libs/libpng
+"
+RDEPEND="${DEPEND}
+   media-gfx/sane-backends
+"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.99.27-makefile-fixes.patch"
+   "${FILESDIR}/${PN}-0.99.27-c99-fixes.patch"
+)
+
+src_compile() {
+   emake \
+   CFLAGS="${CFLAGS}" \
+   CPPFLAGS="${CPPFLAGS}" \
+   LDFLAGS="${LDFLAGS}" \
+   CC="$(tc-getCC)" \
+   AR="$(tc-getAR)"
+}
+
+src_install() {
+   emake DESTDIR="${D}" COMPRESS= STRIP= install
+}



[gentoo-commits] repo/gentoo:master commit in: media-sound/audacity/

2024-03-20 Thread Sam James
commit: cfda6472a0295fea133b45c3ac958c394a66c41c
Author: Matthew White  inventati  org>
AuthorDate: Sun Feb 25 17:00:40 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:51:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfda6472

media-sound/audacity: add myself as maintainer (again)

Adding myself as maintainer again after fixing my bugzilla account's
email address.

See also:
77348568b0bfd1713c2589ef756dae7f3fa0df5c
0709977edc2401e81a05f30dcce909bb855407e1
https://github.com/gentoo/gentoo/pull/32128#pullrequestreview-1651803940
https://github.com/gentoo/gentoo/pull/32128#issuecomment-1742335121
https://github.com/gentoo/gentoo/pull/33155#issuecomment-1745134157

Signed-off-by: Matthew White  inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/35523
Signed-off-by: Sam James  gentoo.org>

 media-sound/audacity/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/media-sound/audacity/metadata.xml 
b/media-sound/audacity/metadata.xml
index b55217fe7ef8..63566f7f9050 100644
--- a/media-sound/audacity/metadata.xml
+++ b/media-sound/audacity/metadata.xml
@@ -10,6 +10,10 @@
 Richard Ash
 Upstream - please CC on bugs that concerns 
upstream
   
+  
+mehw.is...@inventati.org
+Matthew White
+  
   
 audacity/audacity
   



[gentoo-commits] repo/gentoo:master commit in: sys-apps/bleachbit/

2024-03-20 Thread Sam James
commit: 57b8f63be69d860469a304ee6dabf0c77c5f0c23
Author: orbea  riseup  net>
AuthorDate: Sun Feb  4 19:54:42 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:50:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57b8f63b

sys-apps/bleachbit: fix gtk+3 dependency

bleachbit requires gtk+:3[introspection]

ValueError: Namespace Gtk not available

Signed-off-by: orbea  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/35183
Signed-off-by: Sam James  gentoo.org>

 .../bleachbit/{bleachbit-4.6.0.ebuild => bleachbit-4.6.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/bleachbit/bleachbit-4.6.0.ebuild 
b/sys-apps/bleachbit/bleachbit-4.6.0-r1.ebuild
similarity index 98%
rename from sys-apps/bleachbit/bleachbit-4.6.0.ebuild
rename to sys-apps/bleachbit/bleachbit-4.6.0-r1.ebuild
index 2ce3db673047..957436a35baf 100644
--- a/sys-apps/bleachbit/bleachbit-4.6.0.ebuild
+++ b/sys-apps/bleachbit/bleachbit-4.6.0-r1.ebuild
@@ -23,7 +23,7 @@ RDEPEND="
dev-python/chardet[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
')
-   x11-libs/gtk+:3
+   x11-libs/gtk+:3[introspection]
 "
 BDEPEND="
sys-devel/gettext



[gentoo-commits] repo/gentoo:master commit in: media-gfx/gimp/

2024-03-20 Thread Sam James
commit: 64389e0b1c21c2792d52e5d0837f83450ca86cbb
Author: Sergey Torokhov  yandex  ru>
AuthorDate: Sat Feb 24 22:01:16 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:49:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64389e0b

media-gfx/gimp: 2.99.18 version bump

This release adds support of new FITS and Amiga IFF image formats
but appropriate libraries currently are absent in portage tree.
Therefore new options are ignored and left as auto.

Signed-off-by: Sergey Torokhov  yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/35358
Signed-off-by: Sam James  gentoo.org>

 media-gfx/gimp/Manifest|  1 +
 .../gimp/{gimp-.ebuild => gimp-2.99.18.ebuild} | 24 --
 media-gfx/gimp/gimp-.ebuild| 15 ++
 3 files changed, 30 insertions(+), 10 deletions(-)

diff --git a/media-gfx/gimp/Manifest b/media-gfx/gimp/Manifest
index be00f2de364a..58751bcde9e4 100644
--- a/media-gfx/gimp/Manifest
+++ b/media-gfx/gimp/Manifest
@@ -1,3 +1,4 @@
 DIST gimp-2.10.34.tar.bz2 31405329 BLAKE2B 
0b2d3a81abf89684bb90e2101896db3479a25c5da76738543dba8d0378e64608eee9aeb24888e15f5e347f72fa1df3e9b82aa27e503ee61d1c4d45d44fa7bddc
 SHA512 
4802ce3758daba868570f1ac97a3f1cb41e1130fcc6376f9bf4c999441f8fd25937aa71b6f726d82d7c780f4153b11d2595bb76bc2356a42266909fbcc0bd34a
 DIST gimp-2.10.36.tar.bz2 31532334 BLAKE2B 
d033cd1407df3399b5968b7e3f7838d288143080b516476a5dd46599b6a84ac2efca591521368cef7a1c3d9935b45ed3262fb469e1ae36ccf60a1199f5cfa44d
 SHA512 
dbe6152ea6ff99cca59bbf2c88a64fb4ff6b529d98ace7723eadf5dfb0e10d9cbaf2de1e0d5251e9ecf9abca73da9ae1a501f229997802fd4077fb9594f4ba66
 DIST gimp-2.99.16.tar.xz 24969172 BLAKE2B 
45050c0e45e7c9e64ee92ac9b3985c05f528205f74f442979dee8b326f41b35de403a2de93edad090dd87987ef446531e01a67ca857ef03403414fc9ac1464dd
 SHA512 
b0da0529b000a7309c9d601977518cd19a7bf50ab41952fa36b83c027042d6901c39d0a6870c16e8a8ad3318207c93d34ee3d50d0e5f35bcabeaa17d91e060ee
+DIST gimp-2.99.18.tar.xz 25418968 BLAKE2B 
ccb76bb5c375925d4d71505f3e1546f05ba0e20533859b1b6250a4d9054efb6bec4927a5e0c525272fa24d5a6bdf4fb7881d60a1d34b1210ee38b90e661ef707
 SHA512 
151ccd0322601e76ed0198b40832ab0b6c138428f2e75806dd558e29c9b3437d9226a243142bf4a86113fa5ea4f5965b99cf7cd0ab0ecb7bdfc48036de35a9c6

diff --git a/media-gfx/gimp/gimp-.ebuild 
b/media-gfx/gimp/gimp-2.99.18.ebuild
similarity index 91%
copy from media-gfx/gimp/gimp-.ebuild
copy to media-gfx/gimp/gimp-2.99.18.ebuild
index 63d81b476781..9ac105ac99cb 100644
--- a/media-gfx/gimp/gimp-.ebuild
+++ b/media-gfx/gimp/gimp-2.99.18.ebuild
@@ -7,15 +7,16 @@ LUA_COMPAT=( luajit )
 PYTHON_COMPAT=( python3_{10..11} )
 VALA_USE_DEPEND=vapigen
 
-inherit git-r3 lua-single meson python-single-r1 vala xdg
+inherit lua-single meson python-single-r1 toolchain-funcs vala xdg
 
 DESCRIPTION="GNU Image Manipulation Program"
 HOMEPAGE="https://www.gimp.org/;
-EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gimp.git;
+SRC_URI="mirror://gimp/v$(ver_cut 1-2)/${P}.tar.xz"
+
 LICENSE="GPL-3+ LGPL-3+"
 SLOT="0/3"
 
-IUSE="X aalib alsa doc gnome heif javascript jpeg2k jpegxl lua mng openexr 
postscript python test udev unwind vala vector-icons webp wmf xpm"
+IUSE="X aalib alsa doc gnome heif javascript jpeg2k jpegxl lua mng openexr 
openmp postscript python test udev unwind vala vector-icons webp wmf xpm"
 REQUIRED_USE="
lua? ( ${LUA_REQUIRED_USE} )
python? ( ${PYTHON_REQUIRED_USE} )
@@ -34,12 +35,12 @@ COMMON_DEPEND="
>=dev-libs/json-glib-1.4.4
dev-libs/libxml2:2
dev-libs/libxslt
-   >=gnome-base/librsvg-2.40.21:2
+   >=gnome-base/librsvg-2.46.0:2
>=media-gfx/mypaint-brushes-2.0.2:=
>=media-libs/babl-0.1.98[introspection,lcms,vala?]
>=media-libs/fontconfig-2.12.6
>=media-libs/freetype-2.10.2
-   >=media-libs/gegl-0.4.46:0.4[cairo,introspection,lcms,vala?]
+   >=media-libs/gegl-0.4.48:0.4[cairo,introspection,lcms,vala?]
>=media-libs/gexiv2-0.14.0
>=media-libs/harfbuzz-2.6.5:=
>=media-libs/lcms-2.13.1:2
@@ -52,7 +53,7 @@ COMMON_DEPEND="
>=x11-libs/cairo-1.16.0
>=x11-libs/gdk-pixbuf-2.40.0:2[introspection]
>=x11-libs/gtk+-3.24.16:3[introspection]
-   >=x11-libs/pango-1.44.7
+   >=x11-libs/pango-1.50.0
>=x11-libs/libXmu-1.1.4
aalib? ( media-libs/aalib )
alsa? ( >=media-libs/alsa-lib-1.0.0 )
@@ -110,7 +111,17 @@ BDEPEND="
 
 DOCS=( "AUTHORS" "NEWS" "README" "README.i18n" )
 
+PATCHES=(
+   "${FILESDIR}/${PN}-2.10_fix_musl_backtrace_backend_switch.patch" #900148
+)
+
+pkg_pretend() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
 pkg_setup() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+
use lua && lua-single_pkg_setup
 
if use python; then
@@ -174,6 +185,7 @@ src_configure() {
$(meson_feature lua)

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2024-03-20 Thread Sam James
commit: 390386cda93757e3081e710ef8c884a0bd5308ef
Author: Lucio Sauer  posteo  net>
AuthorDate: Wed Feb 28 11:34:56 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:48:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=390386cd

app-misc/anki: add openssl license for ring crate

Signed-off-by: Lucio Sauer  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/35552
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/anki-23.12.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app-misc/anki/anki-23.12.1.ebuild 
b/app-misc/anki/anki-23.12.1.ebuild
index f72a6cf7ef2f..63f7f131ebee 100644
--- a/app-misc/anki/anki-23.12.1.ebuild
+++ b/app-misc/anki/anki-23.12.1.ebuild
@@ -700,6 +700,8 @@ LICENSE+="
Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 ISC MIT
MPL-2.0 Unicode-DFS-2016 ZLIB
 "
+# Manually added crate licenses
+LICENSE+=" openssl"
 # The supermemo importer is licensed under GPL-3+ and 0BSD.
 # - pylib/anki/importing/supermemo_xml.py
 #



[gentoo-commits] repo/gentoo:master commit in: dev-build/samurai/

2024-03-20 Thread Sam James
commit: d69a4d060afbe353f1aaa2cf7591d385d03f648a
Author: orbea  riseup  net>
AuthorDate: Fri Feb 23 16:58:47 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:49:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d69a4d06

dev-build/samurai: update maintainers

Signed-off-by: orbea  riseup.net>
Signed-off-by: Sam James  gentoo.org>

 dev-build/samurai/metadata.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-build/samurai/metadata.xml b/dev-build/samurai/metadata.xml
index f797645e008e..915803b8c390 100644
--- a/dev-build/samurai/metadata.xml
+++ b/dev-build/samurai/metadata.xml
@@ -5,9 +5,9 @@
or...@riseup.net
orbea

-   
-   s...@gentoo.org
-   Sam James
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers


michaelforney/samurai



[gentoo-commits] repo/gentoo:master commit in: dev-build/samurai/files/, dev-build/samurai/

2024-03-20 Thread Sam James
commit: be1ece7a925bfb986e2dcaf7a341d8d01864018b
Author: orbea  riseup  net>
AuthorDate: Fri Feb 23 16:59:20 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:50:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be1ece7a

dev-build/samurai: fix segfault for phony targets

Upstream-Issue: https://github.com/michaelforney/samurai/issues/66
Upstream-Issue: https://github.com/michaelforney/samurai/issues/81
Upstream-Commit: 
https://github.com/michaelforney/samurai/commit/fb61f22c7e690715d309c41812412c4f432ef53a
Signed-off-by: orbea  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/35508
Signed-off-by: Sam James  gentoo.org>

 .../files/samurai-1.2-phony_targets_fix.patch  | 30 ++
 ...samurai-1.2-r2.ebuild => samurai-1.2-r3.ebuild} |  1 +
 2 files changed, 31 insertions(+)

diff --git a/dev-build/samurai/files/samurai-1.2-phony_targets_fix.patch 
b/dev-build/samurai/files/samurai-1.2-phony_targets_fix.patch
new file mode 100644
index ..8794850a7285
--- /dev/null
+++ b/dev-build/samurai/files/samurai-1.2-phony_targets_fix.patch
@@ -0,0 +1,30 @@
+https://github.com/michaelforney/samurai/issues/66
+https://github.com/michaelforney/samurai/issues/81
+https://github.com/michaelforney/samurai/commit/fb61f22c7e690715d309c41812412c4f432ef53a
+
+From fb61f22c7e690715d309c41812412c4f432ef53a Mon Sep 17 00:00:00 2001
+From: Michael Forney 
+Date: Wed, 31 Mar 2021 14:04:29 -0700
+Subject: [PATCH] build: Don't try to print phony edges during dry-run
+
+This causes a segfault since phony edges have no command. It also
+messes up the nstarted/nfinished counts.
+
+Fixes #66.
+---
+ build.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/build.c b/build.c
+index 368e5f9..1cb736f 100644
+--- a/build.c
 b/build.c
+@@ -540,7 +540,7 @@ build(void)
+   while (work && numjobs < buildopts.maxjobs && numfail < 
buildopts.maxfail) {
+   e = work;
+   work = work->worknext;
+-  if (buildopts.dryrun) {
++  if (e->rule !=  && buildopts.dryrun) {
+   ++nstarted;
+   printstatus(e, edgevar(e, "command", true));
+   ++nfinished;

diff --git a/dev-build/samurai/samurai-1.2-r2.ebuild 
b/dev-build/samurai/samurai-1.2-r3.ebuild
similarity index 94%
rename from dev-build/samurai/samurai-1.2-r2.ebuild
rename to dev-build/samurai/samurai-1.2-r3.ebuild
index d6584ed27041..4015659f2356 100644
--- a/dev-build/samurai/samurai-1.2-r2.ebuild
+++ b/dev-build/samurai/samurai-1.2-r3.ebuild
@@ -20,6 +20,7 @@ SLOT="0"
 
 PATCHES=(
"${FILESDIR}/${P}-null_pointer_fix.patch" # 786951
+   "${FILESDIR}/${P}-phony_targets_fix.patch"
 )
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: media-libs/babl/

2024-03-20 Thread Sam James
commit: 32e46d59664e13c9cc08f424ad0ab562e70e7cce
Author: Sergey Torokhov  yandex  ru>
AuthorDate: Thu Feb 15 21:00:55 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:49:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32e46d59

media-libs/babl: 0.1.108 version bump

Signed-off-by: Sergey Torokhov  yandex.ru>
Signed-off-by: Sam James  gentoo.org>

 media-libs/babl/Manifest|  1 +
 media-libs/babl/babl-0.1.108.ebuild | 69 +
 2 files changed, 70 insertions(+)

diff --git a/media-libs/babl/Manifest b/media-libs/babl/Manifest
index 8282857eaa4a..e47de615b455 100644
--- a/media-libs/babl/Manifest
+++ b/media-libs/babl/Manifest
@@ -1,3 +1,4 @@
 DIST babl-0.1.98.tar.xz 312516 BLAKE2B 
c12626e4b8127a5b2e17507e20cf6ce324834a58d64fa54b80fbe00ef2468d3d29c870d44a22f08f7e74404cf6f47321084c854a4ba017cf0c8c199d8210849f
 SHA512 
33b2e3f8fbcd6602bb82d6242dd2911bb2232e69350f7a0e70e14b1472052e27b0e2a1fa6a2b6d0449fc9796353336e311c8d4007c532447cd61f95b684a3120
 DIST babl-0.1.102.tar.xz 313872 BLAKE2B 
b5720b256368c0d1cba5f6da98185bcad3770390e38e0a495b19a51ef3adeb9ab25e9ada8c085fc685261ca5722ee0dd6876091bf366a0a9ef876e096b8cdba9
 SHA512 
7a4cbf011bdac3dbb41e76fbb7fe389b3bfc2c844b58b2f743c0805fac47ea8d8f94997ed3e8f0744d7ed8d9b7d14b807fb959d809cff8f729462fe1b601
 DIST babl-0.1.106.tar.xz 315068 BLAKE2B 
560518beab77ec2f3fc50062bda80839f749992e4c61bef3badd4acfbc2a7bba6dce332ffabe65dcf18e4ba450d0ae1d261b5e34724a1309ea74e50ce3e452c7
 SHA512 
97dc57141754ff64a961f77df50dcd91b32d3cf26efa8ba9f3dd5fcfae41e96f986178a04ba7a8940effb6e6e33ac98b163551f377dc781308c750222efb4943
+DIST babl-0.1.108.tar.xz 317036 BLAKE2B 
a2ece95d7cad33aa70e41ee9c01bd11b7fb1730cb0e0d64df42c4c933a1ac1955b103d75d2ade613ebee0362ade8aaf8ed1257a3cbe307d623243869244f67c1
 SHA512 
3ebdd18b32505e3009ba8f4957ffe892226d83012fbf3217b1761645fdcae943a19bda1a1f93adde78a5dd83fa11b0ba23014118228ca4eab4fd18001f1f4970

diff --git a/media-libs/babl/babl-0.1.108.ebuild 
b/media-libs/babl/babl-0.1.108.ebuild
new file mode 100644
index ..94c8dae39e51
--- /dev/null
+++ b/media-libs/babl/babl-0.1.108.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VALA_USE_DEPEND=vapigen
+
+inherit meson gnome2-utils vala
+
+if [[ ${PV} == ** ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/babl.git;
+   SRC_URI=""
+else
+   SRC_URI="https://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv -sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x64-solaris"
+fi
+
+DESCRIPTION="A dynamic, any to any, pixel format conversion library"
+HOMEPAGE="https://gegl.org/babl/;
+
+LICENSE="LGPL-3"
+SLOT="0"
+IUSE="introspection lcms vala cpu_flags_x86_avx2 cpu_flags_x86_f16c 
cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1"
+REQUIRED_USE="vala? ( introspection )"
+
+BDEPEND="
+   virtual/pkgconfig
+   vala? ( $(vala_depend) )
+"
+RDEPEND="
+   introspection? ( >=dev-libs/gobject-introspection-1.72:= )
+   lcms? ( >=media-libs/lcms-2.13.1:2 )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+   default
+   gnome2_environment_reset
+}
+
+src_configure() {
+   use vala && vala_setup
+
+   # Automagic rsvg support is just for website generation we do not call,
+   # so we don't need to fix it
+   # w3m is used for dist target thus no issue for us that it is 
automagically
+   # detected
+   local emesonargs=(
+   -Dwith-docs=false
+   $(meson_use introspection enable-gir)
+   $(meson_use lcms with-lcms)
+   $(meson_use vala enable-vapi)
+   $(meson_use cpu_flags_x86_avx2 enable-avx2)
+   $(meson_use cpu_flags_x86_f16c enable-f16c)
+   $(meson_use cpu_flags_x86_mmx enable-mmx)
+   $(meson_use cpu_flags_x86_sse enable-sse)
+   $(meson_use cpu_flags_x86_sse2 enable-sse2)
+   $(meson_use cpu_flags_x86_sse4_1 enable-sse4_1)
+   )
+   meson_src_configure
+}
+
+src_install() {
+   meson_src_install
+
+   # Create symlink for backward compatibility. See also bug 871690
+   dosym -r /usr/"$(get_libdir)"/pkgconfig/babl-0.1.pc 
/usr/"$(get_libdir)"/pkgconfig/babl.pc
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/gegl/

2024-03-20 Thread Sam James
commit: c774ad060bec006041793c4867dd07b45d9d119a
Author: Sergey Torokhov  yandex  ru>
AuthorDate: Thu Feb 15 21:16:37 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:49:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c774ad06

media-libs/gegl: 0.4.48 version bump

Still affected by ffmpeg-6.0 upstream issue:
https://gitlab.gnome.org/GNOME/gegl/-/issues/324

Bug: https://bugs.gentoo.org/907412

Signed-off-by: Sergey Torokhov  yandex.ru>
Signed-off-by: Sam James  gentoo.org>

 media-libs/gegl/Manifest   |   1 +
 media-libs/gegl/gegl-0.4.48.ebuild | 167 +
 2 files changed, 168 insertions(+)

diff --git a/media-libs/gegl/Manifest b/media-libs/gegl/Manifest
index 5a5108249928..b65b2acd470b 100644
--- a/media-libs/gegl/Manifest
+++ b/media-libs/gegl/Manifest
@@ -2,3 +2,4 @@ DIST gegl-0.4.40.tar.xz 5784744 BLAKE2B 
c4466a76ec4f7939161e9ead6980b8a701f3fc45
 DIST gegl-0.4.42.tar.xz 5787100 BLAKE2B 
6ae3ec98e72b1057b9d84551f56b675edb511994a73979bfccf559e24d3d636ba915aab10d3b3a1b38989d69c63692d3f312c621819700332c8cc1a4b3e86875
 SHA512 
29ccd93faa6127b6a9b1180eeba47f1b6f9bc06da8a5c9d68315d7474b77ff19d1084a6f4e7b218666b355329b17bc562f5906a334aa2baf93840d7caa0adf57
 DIST gegl-0.4.44.tar.xz 5791844 BLAKE2B 
dbbdca0ff9985025f528fe298df32672069c09dd87e22ab70330f078ca7fc7efb8b78f8f9077bb559eb61c790c5ab50c53853a1032fe00fbea7080d140baa28c
 SHA512 
4dd3fad0c5e391fc1ac3784d4365ffdc483d37b90a24a29eaa632dd337971674999b2e0f8facf255d86852a3899cc51f4d27f9875ab5849f8b38d9ed5bb7413a
 DIST gegl-0.4.46.tar.xz 5799248 BLAKE2B 
2fc9ccd0c711cc901abd50740a24d0f75b162cbb196bdd62ab8430882da3b9ea72c08dd587ecfecaf5e4ba9aca4df51bcd7d98ec197325375b1d954c2995029e
 SHA512 
cd733208da7dc1ec77ca023f03f47e578350e156ad07ece701b39f517a292e9f9c081b3a8a2db846813483b4ddb21f32f9fc8b9c70fea8a6ba27bb97ef8bb847
+DIST gegl-0.4.48.tar.xz 5805488 BLAKE2B 
3a84f166fdbfbd563688bb71c4579bba132380f5f45496e8fb81394b89781320230adf6e0ee49b9bde7db37d81929a8fd42e19e62281e7f8d1ea3bfb
 SHA512 
8f47e6445062894c16d54c4a5532fc49c9fb9be3428a591daaeb21b1a5b8529a68d82613fd75f107bb8c0418c9e5337346bd94da3226e545189c226b

diff --git a/media-libs/gegl/gegl-0.4.48.ebuild 
b/media-libs/gegl/gegl-0.4.48.ebuild
new file mode 100644
index ..7127527cb64e
--- /dev/null
+++ b/media-libs/gegl/gegl-0.4.48.ebuild
@@ -0,0 +1,167 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+# vala and introspection support is broken, bug #468208
+VALA_USE_DEPEND=vapigen
+
+inherit flag-o-matic meson optfeature python-any-r1 toolchain-funcs vala
+
+if [[ ${PV} == ** ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gegl.git;
+   SRC_URI=""
+else
+   SRC_URI="https://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+fi
+
+DESCRIPTION="A graph based image processing framework"
+HOMEPAGE="https://gegl.org/;
+
+LICENSE="|| ( GPL-3+ LGPL-3 )"
+SLOT="0.4"
+
+IUSE="cairo debug ffmpeg introspection lcms lensfun openexr openmp pdf raw sdl 
sdl2 svg test tiff umfpack vala v4l webp"
+REQUIRED_USE="
+   svg? ( cairo )
+   test? ( introspection )
+   vala? ( introspection )
+"
+
+RESTRICT="!test? ( test )"
+
+# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE
+#   so there is no chance to support libav right now (Gentoo bug #567638)
+#   If it returns, please check prior GEGL ebuilds for how libav was 
integrated.  Thanks!
+RDEPEND="
+   >=dev-libs/glib-2.68.2:2
+   >=dev-libs/json-glib-1.2.6
+   >=media-libs/babl-0.1.98[introspection?,lcms?,vala?]
+   media-libs/libjpeg-turbo
+   media-libs/libnsgif
+   >=media-libs/libpng-1.6.0:0=
+   >=sys-libs/zlib-1.2.0
+   >=x11-libs/gdk-pixbuf-2.32:2
+   >=x11-libs/pango-1.38.0
+   cairo? ( >=x11-libs/cairo-1.12.2 )
+   ffmpeg? ( media-video/ffmpeg:0= )
+   introspection? ( >=dev-libs/gobject-introspection-1.32:= )
+   lcms? ( >=media-libs/lcms-2.8:2 )
+   lensfun? ( >=media-libs/lensfun-0.2.5 )
+   openexr? ( >=media-libs/openexr-1.6.1:= )
+   pdf? ( >=app-text/poppler-0.71.0[cairo] )
+   raw? ( >=media-libs/libraw-0.15.4:0= )
+   sdl? ( >=media-libs/libsdl-1.2.0 )
+   sdl2? ( >=media-libs/libsdl2-2.0.20 )
+   svg? ( >=gnome-base/librsvg-2.40.6:2 )
+   tiff? ( >=media-libs/tiff-4:= )
+   umfpack? ( sci-libs/umfpack )
+   v4l? ( >=media-libs/libv4l-1.0.1 )
+   webp? ( >=media-libs/libwebp-0.5.0:= )
+"
+DEPEND="${RDEPEND}
+   x11-base/xorg-proto"
+BDEPEND="
+   ${PYTHON_DEPS}
+   dev-lang/perl
+   >=dev-build/gtk-doc-am-1
+   >=sys-devel/gettext-0.19.8
+   >=dev-build/libtool-2.2
+   virtual/pkgconfig
+  

[gentoo-commits] repo/gentoo:master commit in: dev-build/make/

2024-03-20 Thread Sam James
commit: fe362bcfecccd6c45d7ae1e9a104f31d9d146f76
Author: Marco Sirabella  sirabella  org>
AuthorDate: Tue Feb 20 09:12:01 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:46:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe362bcf

dev-build/make: Add perl dependency for USE=test

Signed-off-by: Marco Sirabella  sirabella.org>
Closes: https://github.com/gentoo/gentoo/pull/35437
Signed-off-by: Sam James  gentoo.org>

 dev-build/make/make-4.4.1-r1.ebuild | 4 +++-
 dev-build/make/make-.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-build/make/make-4.4.1-r1.ebuild 
b/dev-build/make/make-4.4.1-r1.ebuild
index 61fbc91f243f..c2fbdc0dcb2e 100644
--- a/dev-build/make/make-4.4.1-r1.ebuild
+++ b/dev-build/make/make-4.4.1-r1.ebuild
@@ -22,7 +22,8 @@ fi
 
 LICENSE="GPL-3+"
 SLOT="0"
-IUSE="guile nls static"
+IUSE="guile nls static test"
+RESTRICT="!test? ( test )"
 
 DEPEND="guile? ( >=dev-scheme/guile-1.8:= )"
 RDEPEND="
@@ -32,6 +33,7 @@ RDEPEND="
 BDEPEND="
nls? ( sys-devel/gettext )
verify-sig? ( sec-keys/openpgp-keys-make )
+   test? ( dev-lang/perl )
 "
 
 PATCHES=(

diff --git a/dev-build/make/make-.ebuild b/dev-build/make/make-.ebuild
index 2be7d7adb832..b7bd016b9653 100644
--- a/dev-build/make/make-.ebuild
+++ b/dev-build/make/make-.ebuild
@@ -22,7 +22,8 @@ fi
 
 LICENSE="GPL-3+"
 SLOT="0"
-IUSE="guile nls static"
+IUSE="guile nls static test"
+RESTRICT="!test? ( test )"
 
 DEPEND="guile? ( >=dev-scheme/guile-1.8:= )"
 RDEPEND="
@@ -32,6 +33,7 @@ RDEPEND="
 BDEPEND="
nls? ( sys-devel/gettext )
verify-sig? ( sec-keys/openpgp-keys-make )
+   test? ( dev-lang/perl )
 "
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: dev-util/rgbds/

2024-03-20 Thread Sam James
commit: 67f0b56fbfb18e333a75490785862c193630e4fb
Author: orbea  riseup  net>
AuthorDate: Sat Mar  2 02:00:02 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:45:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67f0b56f

dev-util/rgbds: enable tests

Signed-off-by: orbea  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/35594
Signed-off-by: Sam James  gentoo.org>

 dev-util/rgbds/rgbds-0.7.0.ebuild | 9 +
 dev-util/rgbds/rgbds-.ebuild  | 9 +
 2 files changed, 18 insertions(+)

diff --git a/dev-util/rgbds/rgbds-0.7.0.ebuild 
b/dev-util/rgbds/rgbds-0.7.0.ebuild
index 15f4299a0ec4..562335e6e1e6 100644
--- a/dev-util/rgbds/rgbds-0.7.0.ebuild
+++ b/dev-util/rgbds/rgbds-0.7.0.ebuild
@@ -36,3 +36,12 @@ src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr Q= STRIP= install
dodoc README.rst
 }
+
+src_test() {
+   local dir
+   for dir in asm link fix gfx; do
+   pushd "test/${dir}" >/dev/null || die
+   ./test.sh || die
+   popd >/dev/null || die
+   done
+}

diff --git a/dev-util/rgbds/rgbds-.ebuild b/dev-util/rgbds/rgbds-.ebuild
index 01a4fc5c18e6..15028b55d8d2 100644
--- a/dev-util/rgbds/rgbds-.ebuild
+++ b/dev-util/rgbds/rgbds-.ebuild
@@ -36,3 +36,12 @@ src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr Q= STRIP= install
dodoc README.md
 }
+
+src_test() {
+   local dir
+   for dir in asm link fix gfx; do
+   pushd "test/${dir}" >/dev/null || die
+   ./test.sh || die
+   popd >/dev/null || die
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: media-video/mkvtoolnix/

2024-03-20 Thread Sam James
commit: d58120752680b16a1f1aaf64618d4e7bcf3ee040
Author: Alfred Wingate  protonmail  com>
AuthorDate: Wed Mar  6 23:59:36 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:45:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5812075

media-video/mkvtoolnix: add 82.0

Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-video/mkvtoolnix/Manifest   | 2 ++
 .../mkvtoolnix/{mkvtoolnix-.ebuild => mkvtoolnix-82.0.ebuild} | 4 ++--
 media-video/mkvtoolnix/mkvtoolnix-.ebuild | 4 ++--
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/media-video/mkvtoolnix/Manifest b/media-video/mkvtoolnix/Manifest
index 44bec592490f..a2d9dd8cb63b 100644
--- a/media-video/mkvtoolnix/Manifest
+++ b/media-video/mkvtoolnix/Manifest
@@ -5,3 +5,5 @@ DIST mkvtoolnix-80.0.tar.xz 11056764 BLAKE2B 
6178b65ce57b1ab897c91a456fa9887499e
 DIST mkvtoolnix-80.0.tar.xz.sig 833 BLAKE2B 
6c08689419877da7f3f16b8453a44f837792f5e7f3de7fb8574597dee3317ffadf2418cae82949a7585ab53cf1e0a60391ba898fc4607290d678501c3ffd4672
 SHA512 
47df9f0199275873b300b229fc91d14d5ab93c423e4fb8f31055b84619ae00609850ccb77f6d84c8eb3e4afee76acbe3e0779d03f3041d01d598f462788c618d
 DIST mkvtoolnix-81.0.tar.xz 11067288 BLAKE2B 
64bf3cd1872e3b67c6932ed29527e1dff2f913d257464cdca2d54a62bd2154a820d86bce857f55345aba1bcd5701872dbddcb5a029845d0079159358cb154fb0
 SHA512 
d23f6d1819437ba77576852141256698997e49066158903e1cea4086b9c05302d6661780e911fc258c028a84f2ac95140f6ba15d2ffd11c23cb92e422febf7c7
 DIST mkvtoolnix-81.0.tar.xz.sig 833 BLAKE2B 
37e63e92628d3dcb6e9c9129e09dbef1d1d4e80515a05a9a5684d5d542ef54b024e76f1fac50b242e32172ef24493123b6103ae79fa411eefea7704cd63070d5
 SHA512 
3975c0b217318fdd9eeed23694c0e25536c694fa6cef63560b48ed79db7827be41cbe9a2cd8d8c1d2555beb436a5191a5ad21f0e5e73f93f2ca1c09be13826cb
+DIST mkvtoolnix-82.0.tar.xz 11067168 BLAKE2B 
a910898b4097ee8115f3354653d65d913e28fc0271c2869a72d4b0f70a6a17848b28c33ae0aee4d88b42bb911bf6d825211c723c47f7c1eee0f5204705e12223
 SHA512 
fd384bfc4350e972f44e2b488fb066641cf7e73860f179d4423a548f870521ad8414f53a98f67ad8809f261657fe378c5bed96069620a73be511bcd31dfa933f
+DIST mkvtoolnix-82.0.tar.xz.sig 833 BLAKE2B 
53c96149a41a46892cfeb43ca786cd8c166747e508f3fa2aceca9520652741f738adad5f6e8809f97c5086d678bcd15d4f95f1ca964df5465b450679eb18eb2a
 SHA512 
abea27631ea4f08182e86f99f1a8e38769e0ebc5a5d66426da7024348e6d00c0044644c107a982d902142167805c4771d318cc4ec66e4d9cea115a92806e8e95

diff --git a/media-video/mkvtoolnix/mkvtoolnix-.ebuild 
b/media-video/mkvtoolnix/mkvtoolnix-82.0.ebuild
similarity index 97%
copy from media-video/mkvtoolnix/mkvtoolnix-.ebuild
copy to media-video/mkvtoolnix/mkvtoolnix-82.0.ebuild
index 1f14599ac81e..de1b5ed169c7 100644
--- a/media-video/mkvtoolnix/mkvtoolnix-.ebuild
+++ b/media-video/mkvtoolnix/mkvtoolnix-82.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -36,7 +36,7 @@ RDEPEND="
app-text/cmark:0=
dev-libs/boost:=
dev-libs/gmp:=
-   >=dev-libs/libebml-1.4.4:=
+   >=dev-libs/libebml-1.4.5:=
>=dev-libs/libfmt-8.0.1:=
>=dev-libs/pugixml-1.11
>=dev-qt/qtbase-6.2:6[dbus]

diff --git a/media-video/mkvtoolnix/mkvtoolnix-.ebuild 
b/media-video/mkvtoolnix/mkvtoolnix-.ebuild
index 1f14599ac81e..de1b5ed169c7 100644
--- a/media-video/mkvtoolnix/mkvtoolnix-.ebuild
+++ b/media-video/mkvtoolnix/mkvtoolnix-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -36,7 +36,7 @@ RDEPEND="
app-text/cmark:0=
dev-libs/boost:=
dev-libs/gmp:=
-   >=dev-libs/libebml-1.4.4:=
+   >=dev-libs/libebml-1.4.5:=
>=dev-libs/libfmt-8.0.1:=
>=dev-libs/pugixml-1.11
>=dev-qt/qtbase-6.2:6[dbus]



[gentoo-commits] repo/gentoo:master commit in: dev-util/rgbds/

2024-03-20 Thread Sam James
commit: 3b6411d567fe741d9c4ad6a04c81aea8f13fd7cc
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 21 02:44:20 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:45:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b6411d5

dev-util/rgbds: tweak phase order

Signed-off-by: Sam James  gentoo.org>

 dev-util/rgbds/rgbds-0.7.0.ebuild | 10 +-
 dev-util/rgbds/rgbds-.ebuild  | 10 +-
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/dev-util/rgbds/rgbds-0.7.0.ebuild 
b/dev-util/rgbds/rgbds-0.7.0.ebuild
index 562335e6e1e6..dad5871d9c6d 100644
--- a/dev-util/rgbds/rgbds-0.7.0.ebuild
+++ b/dev-util/rgbds/rgbds-0.7.0.ebuild
@@ -32,11 +32,6 @@ src_compile() {
PKG_CONFIG="$(tc-getPKG_CONFIG)"
 }
 
-src_install() {
-   emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr Q= STRIP= install
-   dodoc README.rst
-}
-
 src_test() {
local dir
for dir in asm link fix gfx; do
@@ -45,3 +40,8 @@ src_test() {
popd >/dev/null || die
done
 }
+
+src_install() {
+   emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr Q= STRIP= install
+   dodoc README.rst
+}

diff --git a/dev-util/rgbds/rgbds-.ebuild b/dev-util/rgbds/rgbds-.ebuild
index 15028b55d8d2..1c56a141d6b9 100644
--- a/dev-util/rgbds/rgbds-.ebuild
+++ b/dev-util/rgbds/rgbds-.ebuild
@@ -32,11 +32,6 @@ src_compile() {
PKG_CONFIG="$(tc-getPKG_CONFIG)"
 }
 
-src_install() {
-   emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr Q= STRIP= install
-   dodoc README.md
-}
-
 src_test() {
local dir
for dir in asm link fix gfx; do
@@ -45,3 +40,8 @@ src_test() {
popd >/dev/null || die
done
 }
+
+src_install() {
+   emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr Q= STRIP= install
+   dodoc README.md
+}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/gambatte-jg/

2024-03-20 Thread Sam James
commit: afd7ff992cc509f18baa5f65fe7788ecf4440b58
Author: orbea  riseup  net>
AuthorDate: Sat Mar  2 16:32:05 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:45:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afd7ff99

games-emulation/gambatte-jg: update dependencies

Upstream decided to use the SDL renderer instead of opengl for
gambatte-example.

Upstream-Commit: 
https://gitlab.com/jgemu/gambatte/-/commit/9c11623a72412e821c594772ca335885c34b453b
Upstream-Commit: 
https://gitlab.com/jgemu/gambatte/-/commit/d0932d38f0df4ddc3a18e3465276eea9ff743166
Signed-off-by: orbea  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/35600
Signed-off-by: Sam James  gentoo.org>

 games-emulation/gambatte-jg/gambatte-jg-.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/games-emulation/gambatte-jg/gambatte-jg-.ebuild 
b/games-emulation/gambatte-jg/gambatte-jg-.ebuild
index 7cb90f422adf..f342303e1e39 100644
--- a/games-emulation/gambatte-jg/gambatte-jg-.ebuild
+++ b/games-emulation/gambatte-jg/gambatte-jg-.ebuild
@@ -29,8 +29,7 @@ REQUIRED_USE="|| ( examples jgmodule shared )"
 
 DEPEND="
examples? (
-   media-libs/libglvnd
-   media-libs/libsdl2[opengl,sound,video]
+   media-libs/libsdl2[sound,video]
media-libs/speexdsp
)
jgmodule? (



[gentoo-commits] repo/gentoo:master commit in: media-video/mkvtoolnix/

2024-03-20 Thread Sam James
commit: 48f388d6c36be1da4a135c98bc9bca8656660736
Author: Alfred Wingate  protonmail  com>
AuthorDate: Thu Mar  7 01:01:59 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:45:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48f388d6

media-video/mkvtoolnix: drop 72.0.0, 75.0.0, 80.0

Signed-off-by: Alfred Wingate  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35645
Signed-off-by: Sam James  gentoo.org>

 media-video/mkvtoolnix/Manifest |   4 -
 media-video/mkvtoolnix/mkvtoolnix-72.0.0.ebuild | 132 ---
 media-video/mkvtoolnix/mkvtoolnix-75.0.0.ebuild | 135 ---
 media-video/mkvtoolnix/mkvtoolnix-80.0.ebuild   | 167 
 4 files changed, 438 deletions(-)

diff --git a/media-video/mkvtoolnix/Manifest b/media-video/mkvtoolnix/Manifest
index a2d9dd8cb63b..3f890c6e5ab0 100644
--- a/media-video/mkvtoolnix/Manifest
+++ b/media-video/mkvtoolnix/Manifest
@@ -1,8 +1,4 @@
-DIST mkvtoolnix-72.0.0.tar.xz 10994204 BLAKE2B 
2118837c01d8d31644e0147dfdec9fd619d18ffbab5d317e5dd84788a83cdf162ea7d72e98549bbc2ffc7953e0b80a0e23018658d8c5ad529fc719b291589a97
 SHA512 
dc18c6e63e724181e38753921ec3374752dbb7c4d20650cf0787e9049aaec4f6bb6c744e49b3783921804f192de742fba92826615a1edc8516d2a41621be658c
-DIST mkvtoolnix-75.0.0.tar.xz 11009552 BLAKE2B 
d9c32a453ac1f07e201b99fdcaaa5e553b42c1d17fafdeb1a84808ee572caf00b4b49d04c90d7801564f4856e9b3057a45ef79041e72f76bc829c3b5d9536c58
 SHA512 
eca45828ec3cbb540c67d12d369f3314246d08812933a018e5c4f69e8bd2fa4e17143a33a1841c5a8da3befbc22509fa508e6688ea858980d13c44aaae4ead08
 DIST mkvtoolnix-77.0.tar.xz 11044004 BLAKE2B 
5aa43e155c1318dc6c3fd4418fb59ec498ad488a8459cf0aefa0bc0660ff93dd51f2699642ea633695fbf76ae1b4b6cffca1b0e72e16357b579ce8dbee42
 SHA512 
b310077cfaddef3163c732943f1aaf7e63fb9f7efb19fdb27a35e2d0ad92dfc4536ea29366b44745f3f918703b02e2d52edb63369c23540df1312f3d54c06bb0
-DIST mkvtoolnix-80.0.tar.xz 11056764 BLAKE2B 
6178b65ce57b1ab897c91a456fa9887499e683619654b2a7f8fbcd8b7d98f04dd831d2c875da85a644357ec8c8de3b408394f7b29def9203f35a28ec19513a0d
 SHA512 
066c10a9112ca0cdb59567235aae70e94ccab25b0e2d6156f4ba1090e102614b07c37eb0116a9ee540b2ed8f4b9d58a699f553b974a3f2636c65241915b3b6bc
-DIST mkvtoolnix-80.0.tar.xz.sig 833 BLAKE2B 
6c08689419877da7f3f16b8453a44f837792f5e7f3de7fb8574597dee3317ffadf2418cae82949a7585ab53cf1e0a60391ba898fc4607290d678501c3ffd4672
 SHA512 
47df9f0199275873b300b229fc91d14d5ab93c423e4fb8f31055b84619ae00609850ccb77f6d84c8eb3e4afee76acbe3e0779d03f3041d01d598f462788c618d
 DIST mkvtoolnix-81.0.tar.xz 11067288 BLAKE2B 
64bf3cd1872e3b67c6932ed29527e1dff2f913d257464cdca2d54a62bd2154a820d86bce857f55345aba1bcd5701872dbddcb5a029845d0079159358cb154fb0
 SHA512 
d23f6d1819437ba77576852141256698997e49066158903e1cea4086b9c05302d6661780e911fc258c028a84f2ac95140f6ba15d2ffd11c23cb92e422febf7c7
 DIST mkvtoolnix-81.0.tar.xz.sig 833 BLAKE2B 
37e63e92628d3dcb6e9c9129e09dbef1d1d4e80515a05a9a5684d5d542ef54b024e76f1fac50b242e32172ef24493123b6103ae79fa411eefea7704cd63070d5
 SHA512 
3975c0b217318fdd9eeed23694c0e25536c694fa6cef63560b48ed79db7827be41cbe9a2cd8d8c1d2555beb436a5191a5ad21f0e5e73f93f2ca1c09be13826cb
 DIST mkvtoolnix-82.0.tar.xz 11067168 BLAKE2B 
a910898b4097ee8115f3354653d65d913e28fc0271c2869a72d4b0f70a6a17848b28c33ae0aee4d88b42bb911bf6d825211c723c47f7c1eee0f5204705e12223
 SHA512 
fd384bfc4350e972f44e2b488fb066641cf7e73860f179d4423a548f870521ad8414f53a98f67ad8809f261657fe378c5bed96069620a73be511bcd31dfa933f

diff --git a/media-video/mkvtoolnix/mkvtoolnix-72.0.0.ebuild 
b/media-video/mkvtoolnix/mkvtoolnix-72.0.0.ebuild
deleted file mode 100644
index f04b8591f71a..
--- a/media-video/mkvtoolnix/mkvtoolnix-72.0.0.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic multiprocessing qmake-utils xdg
-
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://gitlab.com/mbunkus/mkvtoolnix.git;
-   EGIT_SUBMODULES=()
-   inherit git-r3
-else
-   SRC_URI="https://mkvtoolnix.download/sources/${P}.tar.xz;
-   KEYWORDS="amd64 ppc ppc64 x86"
-fi
-
-DESCRIPTION="Tools to create, alter, and inspect Matroska files"
-HOMEPAGE="https://mkvtoolnix.download/ https://gitlab.com/mbunkus/mkvtoolnix;
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="dbus debug dvd gui nls pch test"
-RESTRICT="!test? ( test )"
-
-# check NEWS.md for build system changes entries for boost/libebml/libmatroska
-# version requirement updates and other packaging info
-RDEPEND="
-   dev-libs/boost:=
-   dev-libs/gmp:=
-   >=dev-libs/libebml-1.4.4:=
-   >=dev-libs/libfmt-8.0.1:=
-   >=dev-libs/pugixml-1.11:=
-   media-libs/flac:=
-   >=media-libs/libmatroska-1.7.1:=
-   media-libs/libogg:=
-   media-libs/libvorbis:=
-   sys-libs/zlib
-   dvd? ( media-libs/libdvdread:= )
-   dev-qt/qtcore:5
- 

[gentoo-commits] repo/gentoo:master commit in: net-libs/webkit-gtk/files/, net-libs/webkit-gtk/

2024-03-20 Thread Sam James
commit: 387a58172e3864aa412bd5bf8d108da784817255
Author: Branko Grubic  gmail  com>
AuthorDate: Tue Mar  5 18:06:51 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:45:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=387a5817

net-libs/webkit-gtk: Fixes ARM64 non-jumbo build

Closes: https://bugs.gentoo.org/925621
Signed-off-by: Branko Grubic  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35633
Signed-off-by: Sam James  gentoo.org>

 .../files/2.42.3-arm64-non-jumbo-fix-925621.patch  | 29 ++
 net-libs/webkit-gtk/webkit-gtk-2.42.3-r410.ebuild  |  1 +
 net-libs/webkit-gtk/webkit-gtk-2.42.3-r600.ebuild  |  1 +
 net-libs/webkit-gtk/webkit-gtk-2.42.3.ebuild   |  1 +
 net-libs/webkit-gtk/webkit-gtk-2.42.4-r410.ebuild  |  1 +
 net-libs/webkit-gtk/webkit-gtk-2.42.4-r600.ebuild  |  1 +
 net-libs/webkit-gtk/webkit-gtk-2.42.4.ebuild   |  1 +
 net-libs/webkit-gtk/webkit-gtk-2.42.5-r410.ebuild  |  1 +
 net-libs/webkit-gtk/webkit-gtk-2.42.5-r600.ebuild  |  1 +
 net-libs/webkit-gtk/webkit-gtk-2.42.5.ebuild   |  1 +
 10 files changed, 38 insertions(+)

diff --git a/net-libs/webkit-gtk/files/2.42.3-arm64-non-jumbo-fix-925621.patch 
b/net-libs/webkit-gtk/files/2.42.3-arm64-non-jumbo-fix-925621.patch
new file mode 100644
index ..51fc45fa32c4
--- /dev/null
+++ b/net-libs/webkit-gtk/files/2.42.3-arm64-non-jumbo-fix-925621.patch
@@ -0,0 +1,29 @@
+From 56001e951362a5064027b1af81283e523e35559b Mon Sep 17 00:00:00 2001
+From: Dennis Camera 
+Date: Mon, 4 Mar 2024 09:27:54 -0800
+Subject: [PATCH] [JSC] A64DOpcode include 
+ https://bugs.webkit.org/show_bug.cgi?id=270394
+
+Reviewed by Michael Catanzaro.
+
+When UNIFIED_BUILDS are disabled, the build fails due to missing 
std::call_once.
+
+* Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.h: include .
+
+Canonical link: https://commits.webkit.org/275630@main
+---
+ Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.h 
b/Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.h
+index 0392bcb6e20a0..202aa4d1d81de 100644
+--- a/Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.h
 b/Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.h
+@@ -25,6 +25,7 @@
+ 
+ #pragma once
+ 
++#include 
+ #include 
+ #include 
+ #include 

diff --git a/net-libs/webkit-gtk/webkit-gtk-2.42.3-r410.ebuild 
b/net-libs/webkit-gtk/webkit-gtk-2.42.3-r410.ebuild
index 67a6f3ef6fd2..e42873a09ccd 100644
--- a/net-libs/webkit-gtk/webkit-gtk-2.42.3-r410.ebuild
+++ b/net-libs/webkit-gtk/webkit-gtk-2.42.3-r410.ebuild
@@ -153,6 +153,7 @@ src_prepare() {
 
# Fix USE=-jumbo-build compilation on arm64
eapply "${FILESDIR}"/2.42.1-arm64-non-jumbo-fix.patch
+   eapply "${FILESDIR}"/2.42.3-arm64-non-jumbo-fix-925621.patch
 }
 
 src_configure() {

diff --git a/net-libs/webkit-gtk/webkit-gtk-2.42.3-r600.ebuild 
b/net-libs/webkit-gtk/webkit-gtk-2.42.3-r600.ebuild
index 55fb6a6fc4ca..8e47bab09487 100644
--- a/net-libs/webkit-gtk/webkit-gtk-2.42.3-r600.ebuild
+++ b/net-libs/webkit-gtk/webkit-gtk-2.42.3-r600.ebuild
@@ -154,6 +154,7 @@ src_prepare() {
 
# Fix USE=-jumbo-build compilation on arm64
eapply "${FILESDIR}"/2.42.1-arm64-non-jumbo-fix.patch
+   eapply "${FILESDIR}"/2.42.3-arm64-non-jumbo-fix-925621.patch
 }
 
 src_configure() {

diff --git a/net-libs/webkit-gtk/webkit-gtk-2.42.3.ebuild 
b/net-libs/webkit-gtk/webkit-gtk-2.42.3.ebuild
index c2dbd794b679..947457b3bc6d 100644
--- a/net-libs/webkit-gtk/webkit-gtk-2.42.3.ebuild
+++ b/net-libs/webkit-gtk/webkit-gtk-2.42.3.ebuild
@@ -151,6 +151,7 @@ src_prepare() {
 
# Fix USE=-jumbo-build compilation on arm64
eapply "${FILESDIR}"/2.42.1-arm64-non-jumbo-fix.patch
+   eapply "${FILESDIR}"/2.42.3-arm64-non-jumbo-fix-925621.patch
 }
 
 src_configure() {

diff --git a/net-libs/webkit-gtk/webkit-gtk-2.42.4-r410.ebuild 
b/net-libs/webkit-gtk/webkit-gtk-2.42.4-r410.ebuild
index 68f473b5cc83..39b921345132 100644
--- a/net-libs/webkit-gtk/webkit-gtk-2.42.4-r410.ebuild
+++ b/net-libs/webkit-gtk/webkit-gtk-2.42.4-r410.ebuild
@@ -155,6 +155,7 @@ src_prepare() {
 
# Fix USE=-jumbo-build compilation on arm64
eapply "${FILESDIR}"/2.42.1-arm64-non-jumbo-fix.patch
+   eapply "${FILESDIR}"/2.42.3-arm64-non-jumbo-fix-925621.patch
# Fix assert failure on some machines, bug #920704
eapply "${FILESDIR}"/2.42.4-wasm-assert-fix.patch
 }

diff --git a/net-libs/webkit-gtk/webkit-gtk-2.42.4-r600.ebuild 
b/net-libs/webkit-gtk/webkit-gtk-2.42.4-r600.ebuild
index 2d58a29cbfa2..71847398694a 100644
--- a/net-libs/webkit-gtk/webkit-gtk-2.42.4-r600.ebuild
+++ b/net-libs/webkit-gtk/webkit-gtk-2.42.4-r600.ebuild
@@ -156,6 +156,7 @@ src_prepare() {
 
# Fix USE=-jumbo-build compilation on arm64
eapply "${FILESDIR}"/2.42.1-arm64-non-jumbo-fix.patch
+   eapply 

[gentoo-commits] repo/gentoo:master commit in: games-misc/doge/

2024-03-20 Thread Ionen Wolkens
commit: 6bd9e5e6d0e9f0bd470584f4030e0fc61615c2c3
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Mar 21 02:37:10 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Mar 21 02:42:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bd9e5e6

games-misc/doge: very 3.8.0, much bump

...wow

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-misc/doge/Manifest  |  1 +
 games-misc/doge/doge-3.8.0.ebuild | 21 +
 2 files changed, 22 insertions(+)

diff --git a/games-misc/doge/Manifest b/games-misc/doge/Manifest
index deeae8acec13..2bccb2b9e730 100644
--- a/games-misc/doge/Manifest
+++ b/games-misc/doge/Manifest
@@ -1 +1,2 @@
 DIST doge-3.7.0.tar.gz 23977 BLAKE2B 
fdec0fd339c639941e91e8f19452303f181e254183cf38f2f341c2d27b4056196150510e5ddf2516e1510cae300d2cc8c73cafc48b1943f525e7af56e8de7cd6
 SHA512 
c65a150c36ccd200774ede81c4ef7e7d60e700aa75eb9e0d30d459cad1b4343003e972794f0b9f817a17c4651be71dd8c0e87227a32c8ccd4dc895483df93303
+DIST doge-3.8.0.tar.gz 29262 BLAKE2B 
3daf2efd4b49651b0c240e6d3e996830296c38951fced3b4bb68b9b7d159e53fe9a6de418157742429cda5a0b2a5ec7ad071c35473c40db296b549ca26df0dc9
 SHA512 
918c384f4256ccf1bb1c4b66f590ecc885d826676a7aba0f76b8b025cc8b3cf4150a5f75db4627b4c8fc2a14fc6dacd5631db8b06be7a7dba619252789d10fb8

diff --git a/games-misc/doge/doge-3.8.0.ebuild 
b/games-misc/doge/doge-3.8.0.ebuild
new file mode 100644
index ..4c9ec945f2ec
--- /dev/null
+++ b/games-misc/doge/doge-3.8.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1 pypi
+
+DESCRIPTION="wow very terminal doge"
+HOMEPAGE="https://github.com/thiderman/doge/;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   $(python_gen_cond_dep 'dev-python/python-dateutil[${PYTHON_USEDEP}]')
+   sys-process/procps
+"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libsecp256k1/files/, dev-libs/libsecp256k1/

2024-03-20 Thread Sam James
commit: 26a25bce171b96ebdbe4e16f6398ad7769613eef
Author: Matt Whitlock  mattwhitlock  name>
AuthorDate: Thu Mar  7 21:10:22 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:36:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26a25bce

dev-libs/libsecp256k1: fix build when CC is overridden to clang

The libsecp256k1 build system detects compiler flag feature support
using ${CC} but then builds the build-time executables using
${CC_FOR_BUILD}. When CC and CC_FOR_BUILD refer to different brands or
versions of compilers, the feature detection for one will not be
applicable to the other. Previous to this commit, our cross-compilation
support patch attempted to override the flags when building the
build-time executables, but it was doing so in a way that Automake does
not respect. This commit fixes the patch so that Automake will actually
use CFLAGS_FOR_BUILD, CPPFLAGS_FOR_BUILD, and LDFLAGS_FOR_BUILD when
building the build-time executables.

[sam: Add Closes tag for #35652 too.]

Closes: https://bugs.gentoo.org/895048
Signed-off-by: Matt Whitlock  mattwhitlock.name>
Closes: https://github.com/gentoo/gentoo/pull/35652
Closes: https://github.com/gentoo/gentoo/pull/35657
Signed-off-by: Sam James  gentoo.org>

 ...compile.patch => 0.3.0-fix-cross-compile.patch} | 50 +
 ...compile.patch => 0.4.0-fix-cross-compile.patch} | 52 +-
 dev-libs/libsecp256k1/libsecp256k1-0.3.0.ebuild|  2 +-
 dev-libs/libsecp256k1/libsecp256k1-0.3.1.ebuild|  2 +-
 dev-libs/libsecp256k1/libsecp256k1-0.3.2.ebuild|  2 +-
 dev-libs/libsecp256k1/libsecp256k1-0.4.0.ebuild|  2 +-
 dev-libs/libsecp256k1/libsecp256k1-0.4.1.ebuild|  2 +-
 7 files changed, 68 insertions(+), 44 deletions(-)

diff --git a/dev-libs/libsecp256k1/files/0.2.0-fix-cross-compile.patch 
b/dev-libs/libsecp256k1/files/0.3.0-fix-cross-compile.patch
similarity index 61%
copy from dev-libs/libsecp256k1/files/0.2.0-fix-cross-compile.patch
copy to dev-libs/libsecp256k1/files/0.3.0-fix-cross-compile.patch
index a1db0826ebe2..1aec78d36589 100644
--- a/dev-libs/libsecp256k1/files/0.2.0-fix-cross-compile.patch
+++ b/dev-libs/libsecp256k1/files/0.3.0-fix-cross-compile.patch
@@ -1,6 +1,6 @@
 https://github.com/bitcoin-core/secp256k1/pull/1159
 
-From 772e747bd9104d80fe531bed61f23f75342d7d63 Mon Sep 17 00:00:00 2001
+From dc87b08eea757aae95b1efc25fe543e91510df0a Mon Sep 17 00:00:00 2001
 From: Matt Whitlock 
 Date: Sun, 20 Nov 2022 01:46:07 -0500
 Subject: [PATCH] Makefile: build precomp generators using build-system
@@ -11,24 +11,26 @@ files need to be regenerated, then the generators need to 
be built for
 the *build* system, not for the *host* system. Autoconf supports this
 fairly cleanly via the `AX_PROG_CC_FOR_BUILD` macro (from Autoconf
 Archive), but Automake requires some hackery. When building the
-generators, we override the `CC`, `CFLAGS`, `CPPFLAGS`, and `LDFLAGS`
-variables to their build-system counterparts, whose names are suffixed
-with `_FOR_BUILD` and whose values are populated by the aforementioned
-Autoconf macro and may be overridden on the `make` command line. Since
-Automake lacks support for overriding `EXEEXT` on a per-program basis,
-we define a recipe that builds the generator binaries with names
-suffixed with `$(EXEEXT)` and then renames them suffixed with
+generators, we override the `CC` variable to its build-system
+counterpart, `CC_FOR_BUILD`, and we specify Automake per-program
+overrides for `CFLAGS`, `CPPFLAGS`, and `LDFLAGS`, setting their values
+respectively from the `CFLAGS_FOR_BUILD`, `CPPFLAGS_FOR_BUILD`, and
+`LDFLAGS_FOR_BUILD` variables, whose values in turn are populated by the
+aforementioned Autoconf macro and may be overridden on the `make`
+command line. Since Automake lacks support for overriding `EXEEXT` on a
+per-program basis, we define a recipe that builds the generator binaries
+with names suffixed with `$(EXEEXT)` and then renames them suffixed with
 `$(BUILD_EXEEXT)`.
 ---
- Makefile.am  | 30 --
+ Makefile.am  | 35 +++
  configure.ac |  1 +
- 2 files changed, 25 insertions(+), 6 deletions(-)
+ 2 files changed, 28 insertions(+), 8 deletions(-)
 
 diff --git a/Makefile.am b/Makefile.am
-index 30b6a794d0..e929300298 100644
+index e3fdf4da..5e859c91 100644
 --- a/Makefile.am
 +++ b/Makefile.am
-@@ -180,8 +180,26 @@ endif
+@@ -186,15 +186,34 @@ endif
  endif
  
  ### Precomputed tables
@@ -36,9 +38,6 @@ index 30b6a794d0..e929300298 100644
 -CLEANFILES = $(EXTRA_PROGRAMS)
 +PROGRAMS_FOR_BUILD = precompute_ecmult precompute_ecmult_gen
 +$(addsuffix $(BUILD_EXEEXT),$(PROGRAMS_FOR_BUILD)) : override CC = 
$(CC_FOR_BUILD)
-+$(addsuffix $(BUILD_EXEEXT),$(PROGRAMS_FOR_BUILD)) : override CFLAGS = 
$(CFLAGS_FOR_BUILD)
-+$(addsuffix $(BUILD_EXEEXT),$(PROGRAMS_FOR_BUILD)) : override CPPFLAGS = 
$(CPPFLAGS_FOR_BUILD)
-+$(addsuffix $(BUILD_EXEEXT),$(PROGRAMS_FOR_BUILD)) 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/

2024-03-20 Thread Sam James
commit: 78ced104bc8343e704d716b42a6c8a20f2e8dfb7
Author: Holger Hoffstätte  applied-asynchrony  com>
AuthorDate: Tue Jan 30 17:46:20 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:39:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78ced104

net-libs/xdp-tools: add 1.4.2

Signed-off-by: Holger Hoffstätte  applied-asynchrony.com>
Signed-off-by: Sam James  gentoo.org>

 net-libs/xdp-tools/Manifest   |  2 +-
 net-libs/xdp-tools/xdp-tools-1.4.2.ebuild | 96 +++
 2 files changed, 97 insertions(+), 1 deletion(-)

diff --git a/net-libs/xdp-tools/Manifest b/net-libs/xdp-tools/Manifest
index 5f1d1649aacb..dfdf3285fdf0 100644
--- a/net-libs/xdp-tools/Manifest
+++ b/net-libs/xdp-tools/Manifest
@@ -1,2 +1,2 @@
-DIST xdp-tools-1.4.0.tar.gz 337221 BLAKE2B 
008dda0fcfd403e47ab2b8c801fc0a5c4e103fb3b9869f1d1bf5af258fc646dd5a0285d3126c012c9b81805408b9669da886b9fcf2fdf33b256f74bbf898222a
 SHA512 
c17bd6e9e6e4cf59c33f4b9ae4e3e0434863d147abf80f87b425215261b96d4574898fa09cc2b201a427a5e9d49ad64d0c70e50e3f72e3a18c6fbdf7f4cd4a3a
 DIST xdp-tools-1.4.1.tar.gz 339878 BLAKE2B 
30ed245dd0da8404cf67313ea4d5f9a148507d14bd7330bdac3b03c07d1cc0b38eb1a376636551cb8ea14c8a2e77d02527da363733a1059e1c2ebaee9ac90392
 SHA512 
9d2ad42713aa53c10ccbde2c344bf2696524e317544f3693114b343ab74240187699c3802cfc6efa05b3e9f9bfec80fd2537799aa3ae050717bb1f6aab435996
+DIST xdp-tools-1.4.2.tar.gz 340864 BLAKE2B 
c5197330ff917043e03a16346823acab760db5fe903f2e039bd2c178ad34bb04d96a0d6b321fd3565256c39422f3f1f7b475970bd22ab487e30468c96e11c711
 SHA512 
aedf79859872523d514f18e7a6e8b7999bd1942021968dbba9a7e86cde1c193e31b328bc56d6bf2b3fbc7f266c9df8d942d90a70bbd9d514ce38d56c07cd18ca

diff --git a/net-libs/xdp-tools/xdp-tools-1.4.2.ebuild 
b/net-libs/xdp-tools/xdp-tools-1.4.2.ebuild
new file mode 100644
index ..6617263e054b
--- /dev/null
+++ b/net-libs/xdp-tools/xdp-tools-1.4.2.ebuild
@@ -0,0 +1,96 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="The libxdp library and various tools for use with XDP"
+HOMEPAGE="https://github.com/xdp-project/xdp-tools;
+SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1 BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="+tools"
+
+DEPEND="
+   dev-libs/libbpf:=
+   dev-util/bpftool
+   net-libs/libpcap
+   sys-libs/zlib
+   virtual/libelf
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+   sys-apps/grep[pcre]
+   >=sys-devel/clang-11.0.0
+"
+
+# Not prebuilt -- we build them -- but they're not ordinary ELF objects either.
+QA_PREBUILT="usr/lib/bpf/*.o"
+
+MAKEOPTS+=" V=1"
+
+src_prepare() {
+   # remove -Werror: #899744
+   sed -i 's/-Werror//g' lib/Makefile lib/defines.mk || die
+   sed -i '/-Werror/d' lib/common.mk lib/libxdp/Makefile \
+   lib/libxdp/tests/Makefile lib/util/Makefile || die
+
+   default
+}
+
+src_configure() {
+   # filter LTO: #861587
+   filter-lto
+
+   # filter LDFLAGS some more: #916591
+   filter-ldflags -Wl,--{icf,lto}*
+
+   # force ld.bfd: #916591
+   tc-ld-force-bfd
+
+   export CC="$(tc-getCC)"
+   export PREFIX="${EPREFIX}/usr"
+   export LIBDIR="${PREFIX}/$(get_libdir)"
+   export BPF_OBJECT_DIR="${PREFIX}/lib/bpf"
+   export PRODUCTION=1
+   export DYNAMIC_LIBXDP=1
+   export FORCE_SYSTEM_LIBBPF=1
+
+   default
+}
+
+src_test() { :; }
+
+src_install() {
+   default
+
+   # To remove the scripts/testing files that are installed.
+   rm -r "${ED}/usr/share/xdp-tools" || die
+   # We can't control static archive generation yet.
+   rm "${ED}/usr/$(get_libdir)/libxdp.a" || die
+
+   use tools || { rm "${ED}/usr/sbin"/* || die; }
+
+   # These are ELF objects but BPF ones.
+   dostrip -x /usr/lib/bpf
+}
+
+pkg_postinst() {
+   elog
+   elog "Many BPF utilities need access to a mounted bpffs virtual file 
system."
+   elog "Either mount it manually like this:"
+   elog
+   elog "  mount bpffs /sys/fs/bpf -t bpf -o 
nosuid,nodev,noexec,relatime,mode=700"
+   elog
+   elog "or add the following line to your /etc/fstab to always mount it 
at boot time:"
+   elog
+   elog "  bpffs  /sys/fs/bpf  bpf  nosuid,nodev,noexec,relatime,mode=700  
0 0"
+   elog
+   elog "You can verify that bpffs is mounted with:"
+   elog
+   elog "  mount | grep /sys/fs/bpf"
+   elog
+}



[gentoo-commits] repo/gentoo:master commit in: app-antivirus/fangfrisch/files/, app-antivirus/fangfrisch/

2024-03-20 Thread Sam James
commit: f156eefc5d2c6fbae85d0c2472dc80ceef030808
Author: Ralph Seichter  seichter  de>
AuthorDate: Wed Feb 21 15:57:07 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:27:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f156eefc

app-antivirus/fangfrisch: Bump to version 1.9.0

Upstream feature release with improved unit tests. The ebuild now
also performs a subset of these tests, i.e. the ones which don't
require network access.

Closes: https://bugs.gentoo.org/923651
Signed-off-by: Ralph Seichter  seichter.de>
Closes: https://github.com/gentoo/gentoo/pull/35469
Signed-off-by: Sam James  gentoo.org>

 app-antivirus/fangfrisch/Manifest  |  1 +
 app-antivirus/fangfrisch/fangfrisch-1.9.0.ebuild   | 78 
 .../fangfrisch/files/fangfrisch-has-news.sh| 82 ++
 app-antivirus/fangfrisch/files/fangfrisch.conf |  7 ++
 4 files changed, 168 insertions(+)

diff --git a/app-antivirus/fangfrisch/Manifest 
b/app-antivirus/fangfrisch/Manifest
index 0555add138a4..751f0940857e 100644
--- a/app-antivirus/fangfrisch/Manifest
+++ b/app-antivirus/fangfrisch/Manifest
@@ -1 +1,2 @@
 DIST fangfrisch-1.6.1.gh.tar.gz 113497 BLAKE2B 
a37b5b29b31a1d0166112b8939e691acc1721a91bda9e364a90c0c8d4ea7b7d3e1a24b8849c9ef4f0632996ed7bbdfc7985ab04c44c8ca4d57df21294867fd32
 SHA512 
a16b39b6520d80f69c561bc2d56fef28acaca35a9da214be920cdd907f76d3d6674ed4aa1290ad11a9364ede11472594d7e331ecd21924fe23e005ef9501d4ac
+DIST fangfrisch-1.9.0.tar.gz 127572 BLAKE2B 
c05c68f904a6e7c7d9f9c5b82bb63366f86653cd13a94276108f52e9c523280320c8aa55ba94ecf079ba938a77e11ca7dc557f4c8fd1b1c7f37179c087dd8605
 SHA512 
08cc36f20884fedb553de905b8faafce99fcef80e3bce7c0b264691b1a8d83b91a582c095b684f6f7a6af77fd4ed0405fa771a74bbeee3f1b255ff74a161d37e

diff --git a/app-antivirus/fangfrisch/fangfrisch-1.9.0.ebuild 
b/app-antivirus/fangfrisch/fangfrisch-1.9.0.ebuild
new file mode 100644
index ..fa8da097c4c3
--- /dev/null
+++ b/app-antivirus/fangfrisch/fangfrisch-1.9.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 readme.gentoo-r1 systemd
+
+DESCRIPTION="Update and verify unofficial Clam Anti-Virus signatures"
+HOMEPAGE="https://github.com/rseichter/fangfrisch 
https://pypi.org/project/fangfrisch/;
+SRC_URI="https://github.com/rseichter/fangfrisch/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+MY_CONF="/etc/${PN}.conf"
+MY_DBDIR="/var/lib/${PN}"
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="See https://rseichter.github.io/fangfrisch/ for the official
+documentation.
+
+### Fresh installations:
+
+Modify ${MY_CONF} according to your preferences.
+Assuming you place the database into ${MY_DBDIR}
+(recommended), execute the following commands in a root shell:
+
+mkdir -m 0770 ${MY_DBDIR}
+chgrp clamav ${MY_DBDIR}
+sudo -u clamav -- fangfrisch -c ${MY_CONF} initdb
+
+You can now enable /etc/cron.d/${PN} for periodic updates.
+
+### Updating from a previous release:
+
+Either create a fresh database or manually delete all existing
+database tables, then run the initdb command as shown above."
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+   >=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
+   >=dev-python/sqlalchemy-1.4.0[${PYTHON_USEDEP}]
+"
+RDEPEND="${DEPEND}"
+
+distutils_enable_tests unittest
+
+python_prepare_all() {
+   sed -i -e '/SQLAlchemy/d' setup.cfg || die
+   # Mitigate build system warnings, see
+   # 
https://projects.gentoo.org/python/guide/qawarn.html#stray-top-level-files-in-site-packages
+   cat >>setup.cfg <&2 "$@"
+   exit 1
+}
+
+usage() {
+   die "Usage: $(basename "$0") {directory}"
+}
+
+gen_header() {
+   cat <
+To: $MAILTO
+Subject: $SUBJECT
+
+EOT
+# Mail header must end with an empty line!
+}
+
+declare -a NEWSITEMS=()
+
+report_news() {
+   local dir=$1 ni
+   [ -d "$dir" ] || die "$dir is not a directory"
+   while IFS= read -r -d '' ni; do
+   if [ ${#NEWSITEMS[*]} -eq 0 ] && [ "$MAILAPP" != mutt ]; then
+   # Mutt does not need the header, others do.
+   gen_header
+   fi
+   NEWSITEMS+=( "$ni" )
+   echo -e "\n### $(basename "$ni"):\n"
+   cat "$ni"
+   done < <(find "$dir" -maxdepth 1 -type f -name "fangfrisch*.txt" 
-print0)
+}
+
+main() {
+   local t
+   [ -n "$MAILAPP" ] || die "MAILAPP is undefined, exiting."
+   if tty -s; then
+   # Running in a terminal session
+   t=$(mktemp)
+   # shellcheck disable=SC2064
+   trap "rm $t" EXIT
+   report_news "$@" | tee "$t" || exit 1
+   [ ! -s "$t" ] || "$MAILAPP" "${MAILAPP_OPT[@]}" >/dev/null <"$t"
+   else
+   report_news "$@" 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/benchmark/files/, dev-cpp/benchmark/

2024-03-20 Thread Sam James
commit: 49b492cfbba12d2fa7c681e384ea967f5a800937
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Mar 12 19:42:19 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:27:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49b492cf

dev-cpp/benchmark: add patches for alpha architecture

Accepted upstream already.

See: https://github.com/google/benchmark/pull/1753
See: https://github.com/google/benchmark/pull/1756
Bug: https://bugs.gentoo.org/922877
Signed-off-by: Matoro Mahri  matoro.tk>
Closes: https://github.com/gentoo/gentoo/pull/35729
Signed-off-by: Sam James  gentoo.org>

 dev-cpp/benchmark/benchmark-1.8.3-r1.ebuild| 39 +
 .../files/benchmark-1.8.3-backport-pr1753.patch| 94 ++
 .../files/benchmark-1.8.3-backport-pr1756.patch| 89 
 3 files changed, 222 insertions(+)

diff --git a/dev-cpp/benchmark/benchmark-1.8.3-r1.ebuild 
b/dev-cpp/benchmark/benchmark-1.8.3-r1.ebuild
new file mode 100644
index ..5c20bb79f760
--- /dev/null
+++ b/dev-cpp/benchmark/benchmark-1.8.3-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+DESCRIPTION="A microbenchmark support library"
+HOMEPAGE="https://github.com/google/benchmark;
+SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="debug doc test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="doc? ( app-text/doxygen )
+   test? ( >=dev-cpp/gtest-1.11.0 )"
+PATCHES=(
+   "${FILESDIR}/${PN}-1.8.3-fix-32bit-test.patch"
+   "${FILESDIR}/${PN}-1.8.3-backport-pr1753.patch"
+   "${FILESDIR}/${PN}-1.8.3-backport-pr1756.patch"
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DBENCHMARK_ENABLE_ASSEMBLY_TESTS=OFF
+   -DBENCHMARK_ENABLE_DOXYGEN=$(usex doc)
+   -DBENCHMARK_ENABLE_GTEST_TESTS=$(usex test)
+   -DBENCHMARK_ENABLE_TESTING=$(usex test)
+   -DBENCHMARK_ENABLE_WERROR=OFF
+   -DBENCHMARK_USE_BUNDLED_GTEST=OFF
+   )
+
+   use debug || append-cppflags -DNDEBUG
+
+   cmake_src_configure
+}

diff --git a/dev-cpp/benchmark/files/benchmark-1.8.3-backport-pr1753.patch 
b/dev-cpp/benchmark/files/benchmark-1.8.3-backport-pr1753.patch
new file mode 100644
index ..1c2516c38e37
--- /dev/null
+++ b/dev-cpp/benchmark/files/benchmark-1.8.3-backport-pr1753.patch
@@ -0,0 +1,94 @@
+https://bugs.gentoo.org/922877
+https://github.com/google/benchmark/pull/1753
+
+From cdd4a6d48077a78d07e3b7f165383f6d5052108c Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Fri, 2 Feb 2024 21:38:11 -0500
+Subject: [PATCH 1/3] CycleClock: Add support for Alpha architecture
+
+As documented, the real cycle counter is unsafe to use here, because it
+is a 32-bit integer which wraps every ~4s.  Use gettimeofday instead,
+which has a limitation of a low-precision real-time-clock (~1ms), but no
+wrapping.  Passes test suite.
+
+Signed-off-by: Sam James 
+---
+ src/cycleclock.h | 9 +
+ 1 file changed, 9 insertions(+)
+
+diff --git a/src/cycleclock.h b/src/cycleclock.h
+index 931bba146..eff563e7f 100644
+--- a/src/cycleclock.h
 b/src/cycleclock.h
+@@ -218,6 +218,15 @@ inline BENCHMARK_ALWAYS_INLINE int64_t Now() {
+   uint64_t pcycle;
+   asm volatile("%0 = C15:14" : "=r"(pcycle));
+   return static_cast(pcycle);
++#elif defined(__alpha__)
++  // Alpha has a cycle counter, the PCC register, but it is an unsigned 32-bit
++  // integer and thus wraps every ~4s, making using it for tick counts
++  // unreliable beyond this time range.  The real-time clock is low-precision,
++  // roughtly ~1ms, but it is the only option that can reasonable count
++  // indefinitely.
++  struct timeval tv;
++  gettimeofday(, nullptr);
++  return static_cast(tv.tv_sec) * 100 + tv.tv_usec;
+ #else
+   // The soft failover to a generic implementation is automatic only for ARM.
+   // For other platforms the developer is expected to make an attempt to 
create
+
+From b1bec2fa5aed335b5be78720a9812cf27baf9df6 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Fri, 2 Feb 2024 21:46:06 -0500
+Subject: [PATCH 2/3] sysinfo: support parsing /proc/cpuinfo on Alpha
+
+And also, bail out if unable to parse /proc/cpuinfo.  This will
+preemptively alert users on platforms that need custom code for parsing
+/proc/cpuinfo.
+
+Signed-off-by: Sam James 
+---
+ src/sysinfo.cc | 4 
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/sysinfo.cc b/src/sysinfo.cc
+index 04d64dc5b..786bb1b41 100644
+--- a/src/sysinfo.cc
 b/src/sysinfo.cc
+@@ -513,7 +513,11 @@ int GetNumCPUs() {
+ std::cerr << "failed to open /proc/cpuinfo\n";
+ return -1;
+   }
++#if defined(__alpha__)
++  const std::string Key = "cpus detected";
++#else
+   const 

[gentoo-commits] repo/gentoo:master commit in: app-antivirus/fangfrisch/

2024-03-20 Thread Sam James
commit: 0f82e61a00348354cdb6aa7ac28f5514a8a8ed01
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 21 02:40:42 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:40:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f82e61a

app-antivirus/fangfrisch: fix PythonGHDistfileSuffix

Signed-off-by: Sam James  gentoo.org>

 app-antivirus/fangfrisch/Manifest| 2 +-
 app-antivirus/fangfrisch/fangfrisch-1.9.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-antivirus/fangfrisch/Manifest 
b/app-antivirus/fangfrisch/Manifest
index 751f0940857e..f4f50ec94210 100644
--- a/app-antivirus/fangfrisch/Manifest
+++ b/app-antivirus/fangfrisch/Manifest
@@ -1,2 +1,2 @@
 DIST fangfrisch-1.6.1.gh.tar.gz 113497 BLAKE2B 
a37b5b29b31a1d0166112b8939e691acc1721a91bda9e364a90c0c8d4ea7b7d3e1a24b8849c9ef4f0632996ed7bbdfc7985ab04c44c8ca4d57df21294867fd32
 SHA512 
a16b39b6520d80f69c561bc2d56fef28acaca35a9da214be920cdd907f76d3d6674ed4aa1290ad11a9364ede11472594d7e331ecd21924fe23e005ef9501d4ac
-DIST fangfrisch-1.9.0.tar.gz 127572 BLAKE2B 
c05c68f904a6e7c7d9f9c5b82bb63366f86653cd13a94276108f52e9c523280320c8aa55ba94ecf079ba938a77e11ca7dc557f4c8fd1b1c7f37179c087dd8605
 SHA512 
08cc36f20884fedb553de905b8faafce99fcef80e3bce7c0b264691b1a8d83b91a582c095b684f6f7a6af77fd4ed0405fa771a74bbeee3f1b255ff74a161d37e
+DIST fangfrisch-1.9.0.gh.tar.gz 127572 BLAKE2B 
c05c68f904a6e7c7d9f9c5b82bb63366f86653cd13a94276108f52e9c523280320c8aa55ba94ecf079ba938a77e11ca7dc557f4c8fd1b1c7f37179c087dd8605
 SHA512 
08cc36f20884fedb553de905b8faafce99fcef80e3bce7c0b264691b1a8d83b91a582c095b684f6f7a6af77fd4ed0405fa771a74bbeee3f1b255ff74a161d37e

diff --git a/app-antivirus/fangfrisch/fangfrisch-1.9.0.ebuild 
b/app-antivirus/fangfrisch/fangfrisch-1.9.0.ebuild
index fa8da097c4c3..ce305afaca14 100644
--- a/app-antivirus/fangfrisch/fangfrisch-1.9.0.ebuild
+++ b/app-antivirus/fangfrisch/fangfrisch-1.9.0.ebuild
@@ -10,7 +10,7 @@ inherit distutils-r1 readme.gentoo-r1 systemd
 
 DESCRIPTION="Update and verify unofficial Clam Anti-Virus signatures"
 HOMEPAGE="https://github.com/rseichter/fangfrisch 
https://pypi.org/project/fangfrisch/;
-SRC_URI="https://github.com/rseichter/fangfrisch/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="https://github.com/rseichter/fangfrisch/archive/${PV}.tar.gz -> 
${P}.gh.tar.gz"
 
 MY_CONF="/etc/${PN}.conf"
 MY_DBDIR="/var/lib/${PN}"



[gentoo-commits] repo/gentoo:master commit in: net-firewall/firewalld/

2024-03-20 Thread Sam James
commit: 1149e8e7f329caa0e62f88566d005ccbf11ecec5
Author: Cristian Othón Martínez Vera  cfuga  mx>
AuthorDate: Fri Mar 15 22:08:59 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:25:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1149e8e7

net-firewall/firewalld: CONFIG_NFT_OBJREF removed for kernels > 6.1

Closes: https://bugs.gentoo.org/926685
Signed-off-by: Cristian Othón Martínez Vera  cfuga.mx>
Closes: https://github.com/gentoo/gentoo/pull/35774
Signed-off-by: Sam James  gentoo.org>

 net-firewall/firewalld/firewalld-2.0.1.ebuild| 8 ++--
 net-firewall/firewalld/firewalld-2.0.2.ebuild| 6 +-
 net-firewall/firewalld/firewalld-2.1.0.ebuild| 6 +-
 net-firewall/firewalld/firewalld-2.1.1-r1.ebuild | 6 +-
 net-firewall/firewalld/firewalld-2.1.1.ebuild| 6 +-
 5 files changed, 26 insertions(+), 6 deletions(-)

diff --git a/net-firewall/firewalld/firewalld-2.0.1.ebuild 
b/net-firewall/firewalld/firewalld-2.0.1.ebuild
index 59e47ff9b089..47bd3faa6dc2 100644
--- a/net-firewall/firewalld/firewalld-2.0.1.ebuild
+++ b/net-firewall/firewalld/firewalld-2.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -124,7 +124,6 @@ pkg_setup() {
~NFT_LOG
~NFT_MASQ
~NFT_NAT
-   ~NFT_OBJREF
~NFT_QUEUE
~NFT_QUOTA
~NFT_REDIR
@@ -153,6 +152,11 @@ pkg_setup() {
CONFIG_CHECK+=" ~NFT_COUNTER"
fi
 
+   # bug #926685
+   if kernel_is -le 6 1 ; then
+   CONFIG_CHECK+=" ~NFT_OBJREF"
+   fi
+
linux-info_pkg_setup
 }
 

diff --git a/net-firewall/firewalld/firewalld-2.0.2.ebuild 
b/net-firewall/firewalld/firewalld-2.0.2.ebuild
index 020c5b0d43ae..ce1a6e8dd6b7 100644
--- a/net-firewall/firewalld/firewalld-2.0.2.ebuild
+++ b/net-firewall/firewalld/firewalld-2.0.2.ebuild
@@ -124,7 +124,6 @@ pkg_setup() {
~NFT_LOG
~NFT_MASQ
~NFT_NAT
-   ~NFT_OBJREF
~NFT_QUEUE
~NFT_QUOTA
~NFT_REDIR
@@ -153,6 +152,11 @@ pkg_setup() {
CONFIG_CHECK+=" ~NFT_COUNTER"
fi
 
+   # bug #926685
+   if kernel_is -le 6 1 ; then
+   CONFIG_CHECK+=" ~NFT_OBJREF"
+   fi
+
linux-info_pkg_setup
 }
 

diff --git a/net-firewall/firewalld/firewalld-2.1.0.ebuild 
b/net-firewall/firewalld/firewalld-2.1.0.ebuild
index be78261c1989..34c0630c75a7 100644
--- a/net-firewall/firewalld/firewalld-2.1.0.ebuild
+++ b/net-firewall/firewalld/firewalld-2.1.0.ebuild
@@ -124,7 +124,6 @@ pkg_setup() {
~NFT_LOG
~NFT_MASQ
~NFT_NAT
-   ~NFT_OBJREF
~NFT_QUEUE
~NFT_QUOTA
~NFT_REDIR
@@ -153,6 +152,11 @@ pkg_setup() {
CONFIG_CHECK+=" ~NFT_COUNTER"
fi
 
+   # bug #926685
+   if kernel_is -le 6 1 ; then
+   CONFIG_CHECK+=" ~NFT_OBJREF"
+   fi
+
linux-info_pkg_setup
 }
 

diff --git a/net-firewall/firewalld/firewalld-2.1.1-r1.ebuild 
b/net-firewall/firewalld/firewalld-2.1.1-r1.ebuild
index 34709578..aac81d88bbee 100644
--- a/net-firewall/firewalld/firewalld-2.1.1-r1.ebuild
+++ b/net-firewall/firewalld/firewalld-2.1.1-r1.ebuild
@@ -124,7 +124,6 @@ pkg_setup() {
~NFT_LOG
~NFT_MASQ
~NFT_NAT
-   ~NFT_OBJREF
~NFT_QUEUE
~NFT_QUOTA
~NFT_REDIR
@@ -153,6 +152,11 @@ pkg_setup() {
CONFIG_CHECK+=" ~NFT_COUNTER"
fi
 
+   # bug #926685
+   if kernel_is -le 6 1 ; then
+   CONFIG_CHECK+=" ~NFT_OBJREF"
+   fi
+
linux-info_pkg_setup
 }
 

diff --git a/net-firewall/firewalld/firewalld-2.1.1.ebuild 
b/net-firewall/firewalld/firewalld-2.1.1.ebuild
index be78261c1989..34c0630c75a7 100644
--- a/net-firewall/firewalld/firewalld-2.1.1.ebuild
+++ b/net-firewall/firewalld/firewalld-2.1.1.ebuild
@@ -124,7 +124,6 @@ pkg_setup() {
~NFT_LOG
~NFT_MASQ
~NFT_NAT
-   ~NFT_OBJREF
~NFT_QUEUE
~NFT_QUOTA
~NFT_REDIR
@@ -153,6 +152,11 @@ pkg_setup() {
CONFIG_CHECK+=" ~NFT_COUNTER"
fi
 
+   # bug #926685
+   if kernel_is -le 6 1 ; then
+   CONFIG_CHECK+=" ~NFT_OBJREF"
+   fi
+
linux-info_pkg_setup
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/minicoredumper/, sys-process/minicoredumper/files/

2024-03-20 Thread Sam James
commit: c7b368aa276caedcf3b5ffa809a24e23b874
Author: Alfred Wingate  protonmail  com>
AuthorDate: Fri Mar  8 05:16:39 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:38:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7b368aa

sys-process/minicoredumper: drop 2.0.1-r1

Signed-off-by: Alfred Wingate  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35706
Signed-off-by: Sam James  gentoo.org>

 sys-process/minicoredumper/Manifest|  1 -
 .../minicoredumper/files/60-minicoredumper.conf|  1 -
 .../minicoredumper/minicoredumper-2.0.1-r1.ebuild  | 50 --
 3 files changed, 52 deletions(-)

diff --git a/sys-process/minicoredumper/Manifest 
b/sys-process/minicoredumper/Manifest
index ad5fa1c05292..9b9e3b1aae37 100644
--- a/sys-process/minicoredumper/Manifest
+++ b/sys-process/minicoredumper/Manifest
@@ -1,3 +1,2 @@
-DIST minicoredumper-2.0.1.tar.xz 292088 BLAKE2B 
0286004b707b1c9559ef4078dbd1d39ac82123cf3a6ba194210674dff3462db1b922340705f9b5e30e821b84ed91429f6f86cb680d353363b8b6aac92885cba6
 SHA512 
1ffc8e763aa653e443b15d49ac229720afc5d7729d6c1edb728bee55a887cad3b780bca2e4ac7f34c2f36756b02bd15002286f65d8a21ba99778d722e5953bb2
 DIST minicoredumper-2.0.2.tar.xz 303764 BLAKE2B 
50e57aa2928b36cbade64795a2a721345bda1d5b7c9699ff2415c207f5a286560ff1f83b2d9964c69feca8a16323208945315545441fb54f3aebad91f524583d
 SHA512 
1a511229f0784003a52bd54219a305dad72e97f7e1897f9512e38d443c377928657df6eae7383d9127c307c4098eead19de197327a675137d2962eee3b1ba395
 DIST minicoredumper-2.0.7.tar.xz 304304 BLAKE2B 
d59b0e9c7bca8e3638ff0f9e0281c1458f1aa0c64952999a2021b4daf8682a5400ae5f827835703f5da84650bd1784dca3b14ba52266154b7ade4adec2f8b495
 SHA512 
de4b6e79091f16c7e821d8d0ff22cc3d656616b444ee50cd873713963f6ff9c5b42a033f137d65e7ece72b690cbd692393eacad0ae17c00cc43e80fbc67e7308

diff --git a/sys-process/minicoredumper/files/60-minicoredumper.conf 
b/sys-process/minicoredumper/files/60-minicoredumper.conf
deleted file mode 100644
index e862e20e9ccc..
--- a/sys-process/minicoredumper/files/60-minicoredumper.conf
+++ /dev/null
@@ -1 +0,0 @@
-kernel.core_pattern = |/usr/sbin/minicoredumper %P %u %g %s %t %h %e

diff --git a/sys-process/minicoredumper/minicoredumper-2.0.1-r1.ebuild 
b/sys-process/minicoredumper/minicoredumper-2.0.1-r1.ebuild
deleted file mode 100644
index 95f848707730..
--- a/sys-process/minicoredumper/minicoredumper-2.0.1-r1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Core dump file processor"
-HOMEPAGE="https://linutronix.de/minicoredumper;
-SRC_URI="https://linutronix.de/minicoredumper/files/${P}.tar.xz;
-
-LICENSE="BSD BSD-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-IUSE=""
-
-DEPEND="
-   dev-libs/json-c:=
-   virtual/libelf
-"
-
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_configure() {
-   # TODO: regd daemon is disabled as there are no known consumers
-   local myconf=(
-   --enable-static=no
-   --runstatedir="${EPREFIX}/run"
-   --without-werror
-   --without-minicoredumper_trigger
-   --without-minicoredumper_regd
-   MCD_DUMP_PATH="${EPREFIX}/var/lib/${PN}"
-   )
-   econf ${myconf[@]}
-}
-
-src_install() {
-   default
-
-   keepdir /var/lib/minicoredumper
-
-   # systemd-coredump uses /usr/lib/sysctl.d/50-coredump.conf
-   insinto /usr/lib/sysctl.d
-   doins "${FILESDIR}"/60-minicoredumper.conf
-
-   # it installs some files/dirs we don't want
-   rmdir -v "${ED}/run" || die
-   rm -rv "${ED}"/etc/{init.d,default} || die
-
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-process/minicoredumper/

2024-03-20 Thread Sam James
commit: 7b55a97c53158dcedf8e7b8d3fd521c28089549a
Author: Alfred Wingate  protonmail  com>
AuthorDate: Fri Mar  8 05:16:17 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:38:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b55a97c

sys-process/minicoredumper: add 2.0.7

Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 sys-process/minicoredumper/Manifest|  1 +
 .../minicoredumper/minicoredumper-2.0.7.ebuild | 52 ++
 2 files changed, 53 insertions(+)

diff --git a/sys-process/minicoredumper/Manifest 
b/sys-process/minicoredumper/Manifest
index 66c67036523e..ad5fa1c05292 100644
--- a/sys-process/minicoredumper/Manifest
+++ b/sys-process/minicoredumper/Manifest
@@ -1,2 +1,3 @@
 DIST minicoredumper-2.0.1.tar.xz 292088 BLAKE2B 
0286004b707b1c9559ef4078dbd1d39ac82123cf3a6ba194210674dff3462db1b922340705f9b5e30e821b84ed91429f6f86cb680d353363b8b6aac92885cba6
 SHA512 
1ffc8e763aa653e443b15d49ac229720afc5d7729d6c1edb728bee55a887cad3b780bca2e4ac7f34c2f36756b02bd15002286f65d8a21ba99778d722e5953bb2
 DIST minicoredumper-2.0.2.tar.xz 303764 BLAKE2B 
50e57aa2928b36cbade64795a2a721345bda1d5b7c9699ff2415c207f5a286560ff1f83b2d9964c69feca8a16323208945315545441fb54f3aebad91f524583d
 SHA512 
1a511229f0784003a52bd54219a305dad72e97f7e1897f9512e38d443c377928657df6eae7383d9127c307c4098eead19de197327a675137d2962eee3b1ba395
+DIST minicoredumper-2.0.7.tar.xz 304304 BLAKE2B 
d59b0e9c7bca8e3638ff0f9e0281c1458f1aa0c64952999a2021b4daf8682a5400ae5f827835703f5da84650bd1784dca3b14ba52266154b7ade4adec2f8b495
 SHA512 
de4b6e79091f16c7e821d8d0ff22cc3d656616b444ee50cd873713963f6ff9c5b42a033f137d65e7ece72b690cbd692393eacad0ae17c00cc43e80fbc67e7308

diff --git a/sys-process/minicoredumper/minicoredumper-2.0.7.ebuild 
b/sys-process/minicoredumper/minicoredumper-2.0.7.ebuild
new file mode 100644
index ..ccd45d42a61d
--- /dev/null
+++ b/sys-process/minicoredumper/minicoredumper-2.0.7.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Core dump file processor"
+HOMEPAGE="https://linutronix.de/minicoredumper;
+SRC_URI="https://linutronix.de/minicoredumper/files/${P}.tar.xz;
+
+LICENSE="BSD BSD-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+DEPEND="
+   dev-libs/json-c:=
+   virtual/libelf
+"
+
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+   # regd daemon is disabled as there are no known consumers
+   local myconf=(
+   --runstatedir="${EPREFIX}/run"
+   --with-coreinject
+   --with-libminicoredumper
+   --with-minicoredumper
+   --without-minicoredumper_demo
+   --without-minicoredumper_regd
+   --without-minicoredumper_trigger
+   --without-werror
+   MCD_DUMP_PATH="${EPREFIX}/var/lib/${PN}"
+   )
+   econf ${myconf[@]}
+}
+
+src_install() {
+   default
+
+   keepdir /var/lib/minicoredumper
+
+   # systemd-coredump uses /usr/lib/sysctl.d/50-coredump.conf
+   insinto /usr/lib/sysctl.d
+   newins "${FILESDIR}"/60-minicoredumper.conf-r1 60-minicoredumper.conf
+
+   # some files/dirs we don't want
+   rmdir -v "${ED}/run" || die
+   rm -rv "${ED}"/etc/{init.d,default} || die
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/, net-libs/xdp-tools/files/

2024-03-20 Thread Sam James
commit: dac30da69c00eadca3981403b1ef3b31b151d1ba
Author: Holger Hoffstätte  applied-asynchrony  com>
AuthorDate: Tue Jan 30 17:47:43 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:39:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dac30da6

net-libs/xdp-tools: clean up old

Signed-off-by: Holger Hoffstätte  applied-asynchrony.com>
Closes: https://github.com/gentoo/gentoo/pull/35098
Signed-off-by: Sam James  gentoo.org>

 net-libs/xdp-tools/files/1.4.0-no-Werror.patch | 75 --
 net-libs/xdp-tools/files/1.4.0-toolchain.patch | 57 -
 net-libs/xdp-tools/xdp-tools-1.4.0.ebuild  | 87 --
 3 files changed, 219 deletions(-)

diff --git a/net-libs/xdp-tools/files/1.4.0-no-Werror.patch 
b/net-libs/xdp-tools/files/1.4.0-no-Werror.patch
deleted file mode 100644
index fb086f5122b9..
--- a/net-libs/xdp-tools/files/1.4.0-no-Werror.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-
-Bug: https://bugs.gentoo.org/899744
-
-diff --git a/lib/Makefile b/lib/Makefile
-index 5ee035d..5342ab3 100644
 a/lib/Makefile
-+++ b/lib/Makefile
-@@ -1,5 +1,5 @@
- 
--LIBBPF_CFLAGS:=$(if $(CFLAGS),$(CFLAGS),-g -O2 -Werror -Wall) -fPIC
-+LIBBPF_CFLAGS:=$(if $(CFLAGS),$(CFLAGS),-g -O2 -Wall) -fPIC
- 
- LIB_DIR = .
- include defines.mk
-diff --git a/lib/common.mk b/lib/common.mk
-index b680a75..8dbcb39 100644
 a/lib/common.mk
-+++ b/lib/common.mk
-@@ -116,7 +116,6 @@ $(XDP_OBJ): %.o: %.c $(KERN_USER_H) $(EXTRA_DEPS) 
$(BPF_HEADERS) $(LIBMK)
-   -Wno-unused-value \
-   -Wno-pointer-sign \
-   -Wno-compare-distinct-pointer-types \
--  -Werror \
-   -O2 -emit-llvm -c -g -o ${@:.o=.ll} $<
-   $(QUIET_LLC)$(LLC) -march=$(BPF_TARGET) -filetype=obj -o $@ ${@:.o=.ll}
- 
-diff --git a/lib/defines.mk b/lib/defines.mk
-index 54b259f..ed246c0 100644
 a/lib/defines.mk
-+++ b/lib/defines.mk
-@@ -40,7 +40,7 @@ endif
- 
- DEFINES += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
- 
--CFLAGS += -std=gnu11 -Wextra -Werror $(DEFINES)
-+CFLAGS += -std=gnu11 -Wextra $(DEFINES)
- BPF_CFLAGS += $(DEFINES) $(filter -ffile-prefix-map=%,$(CFLAGS))
- 
- CONFIGMK := $(LIB_DIR)/../config.mk
-diff --git a/lib/libxdp/Makefile b/lib/libxdp/Makefile
-index 431932a..a0c625d 100644
 a/lib/libxdp/Makefile
-+++ b/lib/libxdp/Makefile
-@@ -142,7 +142,6 @@ $(XDP_OBJS): %.o: %.c $(BPF_HEADERS) $(LIBMK)
-   -Wno-unused-value \
-   -Wno-pointer-sign \
-   -Wno-compare-distinct-pointer-types \
--  -Werror \
-   -O2 -emit-llvm -c -g -o ${@:.o=.ll} $<
-   $(QUIET_LLC)$(LLC) -march=$(BPF_TARGET) -filetype=obj -o $@ ${@:.o=.ll}
- 
-diff --git a/lib/libxdp/tests/Makefile b/lib/libxdp/tests/Makefile
-index 3c22901..a4463f3 100644
 a/lib/libxdp/tests/Makefile
-+++ b/lib/libxdp/tests/Makefile
-@@ -72,7 +72,6 @@ $(BPF_OBJS): %.o: %.c $(BPF_HEADERS) $(LIBMK) $(EXTRA_DEPS)
-   -Wno-unused-value \
-   -Wno-pointer-sign \
-   -Wno-compare-distinct-pointer-types \
--  -Werror \
-   -O2 -emit-llvm -c -g -o ${@:.o=.ll} $<
-   $(QUIET_LLC)$(LLC) -march=$(BPF_TARGET) -filetype=obj -o $@ ${@:.o=.ll}
- 
-diff --git a/lib/util/Makefile b/lib/util/Makefile
-index 24070f0..37485b3 100644
 a/lib/util/Makefile
-+++ b/lib/util/Makefile
-@@ -26,7 +26,6 @@ $(UTIL_BPF_OBJS): %.o: %.c $(KERN_USER_H) $(BPF_HEADERS) 
$(LIBMK)
-   -Wno-unused-value \
-   -Wno-pointer-sign \
-   -Wno-compare-distinct-pointer-types \
--  -Werror \
-   -O2 -emit-llvm -c -g -o ${@:.o=.ll} $<
-   $(QUIET_LLC)$(LLC) -march=$(BPF_TARGET) -filetype=obj -o $@ ${@:.o=.ll}
- 

diff --git a/net-libs/xdp-tools/files/1.4.0-toolchain.patch 
b/net-libs/xdp-tools/files/1.4.0-toolchain.patch
deleted file mode 100644
index d4bcb511310f..
--- a/net-libs/xdp-tools/files/1.4.0-toolchain.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-
-Patch from: https://github.com/xdp-project/xdp-tools/pull/341
-
-From b1377b35cd05daf4d3afc3d59839e9889a642ffb Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Holger=20Hoffst=C3=A4tte?= 
-Date: Sat, 8 Jul 2023 12:34:20 +0200
-Subject: [PATCH] libxdp: don't use direct call to readelf for symbol table
- comparison
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Gentoo CI previously reported symbol mismatches in libxdp
-(see #302 and https://bugs.gentoo.org/899742). This was
-caused by a direct call to 'readelf' instead of using the
-command injected by the environment/toolchain.
-The fix is simple: use $(READELF).
-
-Signed-off-by: Holger Hoffstätte 

- lib/libxdp/Makefile | 8 
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/lib/libxdp/Makefile b/lib/libxdp/Makefile
-index 43de3e8a..532e0687 100644
 a/lib/libxdp/Makefile
-+++ b/lib/libxdp/Makefile
-@@ -93,12 +93,12 @@ $(SHARED_OBJDIR)/%.o: %.c $(EXTRA_LIB_DEPS) | 
$(SHARED_OBJDIR)
- 

[gentoo-commits] repo/gentoo:master commit in: app-containers/skopeo/

2024-03-20 Thread Sam James
commit: 6f8567f8cc1e6a93342bd804b0af06ecccee3fa3
Author: Rahil Bhimjiani  rahil  rocks>
AuthorDate: Fri Mar 15 06:15:26 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:26:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f8567f8

app-containers/skopeo: add 1.15.0

Closes: https://bugs.gentoo.org/922294
Signed-off-by: Rahil Bhimjiani  rahil.rocks>
Closes: https://github.com/gentoo/gentoo/pull/35767
Signed-off-by: Sam James  gentoo.org>

 app-containers/skopeo/Manifest |  1 +
 app-containers/skopeo/skopeo-1.15.0.ebuild | 69 ++
 2 files changed, 70 insertions(+)

diff --git a/app-containers/skopeo/Manifest b/app-containers/skopeo/Manifest
index 660518567e2d..17b91a05315b 100644
--- a/app-containers/skopeo/Manifest
+++ b/app-containers/skopeo/Manifest
@@ -1,2 +1,3 @@
 DIST skopeo-1.14.0.tar.gz 10548883 BLAKE2B 
6ecf54d236405ce59bedf77acc124fa8b3bb12acefa24a679a1d2d85957ddf585b5a6ba163806b8b7b510485d936adbe1afd6eee8c92b267b948f7d78ac83d05
 SHA512 
59d329036a97cbeca4de20b15d9dd8adacd5201834b26ae5e5c88b05594b2a7101c22da91f22c35c07a98e41afa28f2c7103e660b3847c7f8c9691f27f4c4146
 DIST skopeo-1.14.2.tar.gz 10547979 BLAKE2B 
bca47d82380ad714397dc8e36e365a3e81fc628b47519b022ecb5edd2a03ce8972c066af350cd1f0b5a3d9d6c1585f0729b32a1a829cfc4eaefc1c7fc9dc2667
 SHA512 
ffb3c00cdde05f7a916bd3980c9cec1bb82b3f3bf90058bfff1837d3a9902087ac011828e6164baec18210d4aeee1a5258b75405411fd15ea2470a2522a6da73
+DIST skopeo-1.15.0.tar.gz 10710505 BLAKE2B 
b6804561ec96ce7f987ccdaf5a89aa7f5fd0ed2da1307467b4c1857386508d88e3fd28f066f49b136962e232b89594484610fc4f6b494be6a98b64908900865b
 SHA512 
71fb94fd2cf9937bf2dd969c8b1b74f5b66eb2ac2bd9358e8c8983c3fd6548311ca274ed2f8c3f088c3c9d6032962075da1890449dcd25dcfd49882acbfa20de

diff --git a/app-containers/skopeo/skopeo-1.15.0.ebuild 
b/app-containers/skopeo/skopeo-1.15.0.ebuild
new file mode 100644
index ..ab892d6789a8
--- /dev/null
+++ b/app-containers/skopeo/skopeo-1.15.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module linux-info
+
+DESCRIPTION="Work with remote container images registries"
+HOMEPAGE="https://github.com/containers/skopeo;
+
+if [[ ${PV} == * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/containers/skopeo.git;
+else
+   SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm64"
+fi
+
+# main
+LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
+SLOT="0"
+IUSE="btrfs device-mapper rootless"
+
+COMMON_DEPEND="
+   >=app-crypt/gpgme-1.5.5:=
+   >=dev-libs/libassuan-2.4.3:=
+   btrfs? ( >=sys-fs/btrfs-progs-4.0.1 )
+   device-mapper? ( >=sys-fs/lvm2-2.02.145:= )
+   rootless? ( sys-apps/shadow:= )
+"
+
+# TODO: Is this really needed? cause upstream doesnt mention it 
https://github.com/containers/skopeo/blob/main/install.md#building-from-source
+#  dev-libs/libgpg-error:=
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="
+   ${COMMON_DEPEND}
+   app-containers/containers-common
+"
+BDEPEND="dev-go/go-md2man"
+
+RESTRICT="test"
+
+pkg_setup() {
+   use btrfs && CONFIG_CHECK+=" ~BTRFS_FS"
+   use device-mapper && CONFIG_CHECK+=" ~MD"
+   linux-info_pkg_setup
+}
+
+run_make() {
+   emake \
+   BTRFS_BUILD_TAG="$(usex btrfs '' 'btrfs_noversion 
exclude_graphdriver_btrfs')" \
+   CONTAINERSCONFDIR="${EPREFIX}/etc/containers" \
+   LIBDM_BUILD_TAG="$(usex device-mapper '' 
'libdm_no_deferred_remove exclude_graphdriver_devicemapper')" \
+   LIBSUBID_BUILD_TAG="$(usex rootless 'libsubid' '')" \
+   PREFIX="${EPREFIX}/usr" \
+   $@
+}
+
+src_compile() {
+   run_make all completions
+}
+
+src_install() {
+   # The install target in the Makefile tries to rebuild the binary and
+   # installs things that are already installed by containers-common.
+   dobin bin/skopeo
+   einstalldocs
+   doman docs/*.1
+   run_make "DESTDIR=${D}" install-completions
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/files/, media-libs/libpulse/

2024-03-20 Thread Sam James
commit: 684a97aa82b0b228b7faf21dd1c57dcf48757954
Author: Matoro Mahri  matoro  tk>
AuthorDate: Thu Mar 14 20:25:02 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:26:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=684a97aa

media-libs/libpulse: add patch removing catch2 internal test timeouts

No revbump since this is test-only fix.  See upstream for justification.

See: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/807
Bug: https://bugs.gentoo.org/918447
Signed-off-by: Matoro Mahri  matoro.tk>
Closes: https://github.com/gentoo/gentoo/pull/35755
Signed-off-by: Sam James  gentoo.org>

 .../files/pulseaudio-17.0-backport-pr807.patch | 298 +
 media-libs/libpulse/libpulse-17.0.ebuild   |   1 +
 2 files changed, 299 insertions(+)

diff --git a/media-libs/libpulse/files/pulseaudio-17.0-backport-pr807.patch 
b/media-libs/libpulse/files/pulseaudio-17.0-backport-pr807.patch
new file mode 100644
index ..0506e6b05577
--- /dev/null
+++ b/media-libs/libpulse/files/pulseaudio-17.0-backport-pr807.patch
@@ -0,0 +1,298 @@
+https://bugs.gentoo.org/918447
+https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/807
+
+From 26ccd1167a6188fb28745f3f5c9940657f64343c Mon Sep 17 00:00:00 2001
+From: matoro <75928-mato...@users.noreply.gitlab.freedesktop.org>
+Date: Wed, 24 Jan 2024 12:08:28 -0500
+Subject: [PATCH] tests: remove check2 timeouts in favor of meson
+
+Meson already handles timeouts, configurable on the command line with
+--timeout-multiplier.  They are set to 300s for all tests.
+
+Part-of: 

+---
+ src/tests/alsa-mixer-path-test.c | 1 -
+ src/tests/connect-stress.c   | 1 -
+ src/tests/cpu-mix-test.c | 1 -
+ src/tests/cpu-remap-test.c   | 2 --
+ src/tests/cpu-sconv-test.c   | 1 -
+ src/tests/cpu-volume-test.c  | 1 -
+ src/tests/extended-test.c| 1 -
+ src/tests/interpol-test.c| 1 -
+ src/tests/lfe-filter-test.c  | 1 -
+ src/tests/lo-latency-test.c  | 1 -
+ src/tests/lock-autospawn-test.c  | 4 
+ src/tests/meson.build| 1 +
+ src/tests/mult-s16-test.c| 1 -
+ src/tests/once-test.c| 4 
+ src/tests/passthrough-test.c | 1 -
+ src/tests/rtpoll-test.c  | 4 
+ src/tests/sync-playback.c| 1 -
+ src/tests/thread-mainloop-test.c | 4 
+ src/tests/thread-test.c  | 1 -
+ src/tests/volume-test.c  | 1 -
+ 20 files changed, 1 insertion(+), 32 deletions(-)
+
+diff --git a/src/tests/alsa-mixer-path-test.c 
b/src/tests/alsa-mixer-path-test.c
+index 63b4a4cacb..208d75d475 100644
+--- a/src/tests/alsa-mixer-path-test.c
 b/src/tests/alsa-mixer-path-test.c
+@@ -107,7 +107,6 @@ int main(int argc, char *argv[]) {
+ s = suite_create("Alsa-mixer-path");
+ tc = tcase_create("alsa-mixer-path");
+ tcase_add_test(tc, mixer_path_test);
+-tcase_set_timeout(tc, 30);
+ suite_add_tcase(s, tc);
+ 
+ sr = srunner_create(s);
+diff --git a/src/tests/connect-stress.c b/src/tests/connect-stress.c
+index a243df9ea1..35f8ea9c4a 100644
+--- a/src/tests/connect-stress.c
 b/src/tests/connect-stress.c
+@@ -223,7 +223,6 @@ int main(int argc, char *argv[]) {
+ s = suite_create("Connect Stress");
+ tc = tcase_create("connectstress");
+ tcase_add_test(tc, connect_stress_test);
+-tcase_set_timeout(tc, 20 * 60);
+ suite_add_tcase(s, tc);
+ 
+ sr = srunner_create(s);
+diff --git a/src/tests/cpu-mix-test.c b/src/tests/cpu-mix-test.c
+index 6b5b8e37a6..2190ea4bdf 100644
+--- a/src/tests/cpu-mix-test.c
 b/src/tests/cpu-mix-test.c
+@@ -212,7 +212,6 @@ int main(int argc, char *argv[]) {
+ #if defined (__arm__) && defined (__linux__) && defined (HAVE_NEON)
+ tcase_add_test(tc, mix_neon_test);
+ #endif
+-tcase_set_timeout(tc, 120);
+ suite_add_tcase(s, tc);
+ 
+ sr = srunner_create(s);
+diff --git a/src/tests/cpu-remap-test.c b/src/tests/cpu-remap-test.c
+index 2554688927..21fc5dc9dc 100644
+--- a/src/tests/cpu-remap-test.c
 b/src/tests/cpu-remap-test.c
+@@ -524,7 +524,6 @@ int main(int argc, char *argv[]) {
+ #if defined (__arm__) && defined (__linux__) && defined (HAVE_NEON)
+ tcase_add_test(tc, remap_neon_test);
+ #endif
+-tcase_set_timeout(tc, 120);
+ suite_add_tcase(s, tc);
+ 
+ tc = tcase_create("rearrange");
+@@ -532,7 +531,6 @@ int main(int argc, char *argv[]) {
+ #if defined (__arm__) && defined (__linux__) && defined (HAVE_NEON)
+ tcase_add_test(tc, rearrange_neon_test);
+ #endif
+-tcase_set_timeout(tc, 120);
+ suite_add_tcase(s, tc);
+ 
+ sr = srunner_create(s);
+diff --git a/src/tests/cpu-sconv-test.c b/src/tests/cpu-sconv-test.c
+index 6a84722fd8..5ae939d45b 100644
+--- a/src/tests/cpu-sconv-test.c
 b/src/tests/cpu-sconv-test.c
+@@ -251,7 +251,6 @@ int main(int argc, char *argv[]) {
+ #if defined (__arm__) 

[gentoo-commits] repo/gentoo:master commit in: dev-util/rocm-smi/

2024-03-20 Thread Sam James
commit: 2a7979949568a169a060a6fb4dbf77e68c661244
Author: Yiyang Wu  gmail  com>
AuthorDate: Sun Mar 17 02:47:53 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:24:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a797994

dev-util/rocm-smi: keep the patch for builtin amdgpu in 5.7.1

The patch is still needed when amdgpu builtin kernel module.

Signed-off-by: Yiyang Wu  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35795
Signed-off-by: Sam James  gentoo.org>

 dev-util/rocm-smi/{rocm-smi-5.7.1-r1.ebuild => rocm-smi-5.7.1-r2.ebuild} | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-util/rocm-smi/rocm-smi-5.7.1-r1.ebuild 
b/dev-util/rocm-smi/rocm-smi-5.7.1-r2.ebuild
similarity index 96%
rename from dev-util/rocm-smi/rocm-smi-5.7.1-r1.ebuild
rename to dev-util/rocm-smi/rocm-smi-5.7.1-r2.ebuild
index 86c31040d841..ddbcbee3ba91 100644
--- a/dev-util/rocm-smi/rocm-smi-5.7.1-r1.ebuild
+++ b/dev-util/rocm-smi/rocm-smi-5.7.1-r2.ebuild
@@ -32,6 +32,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-5.7.1-set-soversion.patch
"${FILESDIR}"/${PN}-5.7.1-no-strip.patch
"${FILESDIR}"/${PN}-5.7.1-remove-example.patch
+   "${FILESDIR}"/${PN}-5.4.2-detect-builtin-amdgpu.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-lang/rust/

2024-03-20 Thread Sam James
commit: d7f3dfefc2ab978d5d38b50d1e061c4a530d85f8
Author: Randy Barlow  electronsweatshop  com>
AuthorDate: Sun Mar 17 03:00:43 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:22:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7f3dfef

dev-lang/rust: Disable LTO by default and use thin

We've had a few issues with lto on, and it isn't on by default generally
among Gentoo packages, so this commit flips it to be off by default.

Additionally, in an upstream ticket[0] it was suggested to use thin LTO
rather than fat LTO, so this commit makes that adjustment as well.

[0] https://github.com/rust-lang/rust/issues/121124

[sam: Note that there's a risk of miscompilations with non-thin LTO, per the
upstream bug(s).]

Bug: https://bugs.gentoo.org/924301
Signed-off-by: Randy Barlow  electronsweatshop.com>
Closes: https://github.com/gentoo/gentoo/pull/35796
Signed-off-by: Sam James  gentoo.org>

 dev-lang/rust/{rust-1.76.0.ebuild => rust-1.76.0-r1.ebuild} | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-lang/rust/rust-1.76.0.ebuild 
b/dev-lang/rust/rust-1.76.0-r1.ebuild
similarity index 99%
rename from dev-lang/rust/rust-1.76.0.ebuild
rename to dev-lang/rust/rust-1.76.0-r1.ebuild
index 5c6cef79e27f..eb175488528c 100644
--- a/dev-lang/rust/rust-1.76.0.ebuild
+++ b/dev-lang/rust/rust-1.76.0-r1.ebuild
@@ -42,7 +42,7 @@ LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?}
 
 LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4"
 
-IUSE="big-endian clippy cpu_flags_x86_sse2 debug dist doc llvm-libunwind +lto 
miri nightly parallel-compiler profiler rustfmt rust-analyzer rust-src 
system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
+IUSE="big-endian clippy cpu_flags_x86_sse2 debug dist doc llvm-libunwind lto 
miri nightly parallel-compiler profiler rustfmt rust-analyzer rust-src 
system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
 
 # Please keep the LLVM dependency block separate. Since LLVM is slotted,
 # we need to *really* make sure we're not pulling more than one slot
@@ -469,7 +469,8 @@ src_configure() {
deny-warnings = $(usex wasm $(usex doc false true) true)
backtrace-on-ice = true
jemalloc = false
-   lto = "$(usex lto fat off)"
+   # See https://github.com/rust-lang/rust/issues/121124
+   lto = "$(usex lto thin off)"
[dist]
src-tarball = false
compression-formats = ["xz"]



[gentoo-commits] repo/gentoo:master commit in: media-libs/libopenraw/, media-libs/libopenraw/files/

2024-03-20 Thread Sam James
commit: b1449661e505efe64abd07cf7d8fe42ecba1eaf9
Author: orbea  riseup  net>
AuthorDate: Sat Mar 16 19:09:49 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:22:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1449661

media-libs/libopenraw: remove typo

The libtool flag is '-all-static' and not '--all-static' which causes
slibtool to fail while GNU libtool silently ignores the unknown flag.
Additionally fixing the typo causes the build to fail with undefined
references so just remove it instead.

Upstream already removed it themselves, but their change is not trivial
to backport.

Closes: https://bugs.gentoo.org/913723
Upstream-Commit: 
https://gitlab.freedesktop.org/libopenraw/libopenraw/-/commit/eb873c75b09074d710e3f105b9c988a28058db53
Signed-off-by: orbea  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/35789
Signed-off-by: Sam James  gentoo.org>

 .../libopenraw/files/libopenraw-0.3.7-slibtool.patch | 16 
 media-libs/libopenraw/libopenraw-0.3.7.ebuild| 11 ++-
 2 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/media-libs/libopenraw/files/libopenraw-0.3.7-slibtool.patch 
b/media-libs/libopenraw/files/libopenraw-0.3.7-slibtool.patch
new file mode 100644
index ..1109a332402e
--- /dev/null
+++ b/media-libs/libopenraw/files/libopenraw-0.3.7-slibtool.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/913723
+https://gitlab.freedesktop.org/libopenraw/libopenraw/-/commit/eb873c75b09074d710e3f105b9c988a28058db53
+
+--- a/lib/Makefile.am
 b/lib/Makefile.am
+@@ -118,10 +118,8 @@ clean-local:
+   CARGO_TARGET_DIR=$(CARGO_TARGET_DIR) cargo clean $(CARGO_VERBOSE) 
$(CARGO_RELEASE_ARGS)
+   rm -f $(CARGO_TARGET_DIR)/.rustc_info.json
+ 
+-# The use of --all-static is necesary for the RUST_LIB
+ libopenraw_la_LDFLAGS = \
+   -version-info @LIBOPENRAW_VERSION_INFO@ \
+-  --all-static \
+   -lpthread -ldl
+ libopenraw_la_LIBADD = -ljpeg $(RUST_LIB) libopenraw_internals.la
+ libopenraw_la_SOURCES = \

diff --git a/media-libs/libopenraw/libopenraw-0.3.7.ebuild 
b/media-libs/libopenraw/libopenraw-0.3.7.ebuild
index 51dac50a7387..f31d6215774d 100644
--- a/media-libs/libopenraw/libopenraw-0.3.7.ebuild
+++ b/media-libs/libopenraw/libopenraw-0.3.7.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 CRATES=" "
-inherit cargo gnome2-utils
+inherit autotools cargo gnome2-utils
 
 DESCRIPTION="RAW image formats decoding library"
 HOMEPAGE="https://libopenraw.freedesktop.org/;
@@ -34,6 +34,15 @@ BDEPEND="
test? ( net-misc/curl )
 "
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.3.7-slibtool.patch #913723
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
 src_configure() {
econf \
--with-boost="${EPREFIX}"/usr \



[gentoo-commits] repo/gentoo:master commit in: games-emulation/nestopia-jg/

2024-03-20 Thread Sam James
commit: e3f5c9480a06c0d143b9b0538bd56281d1a9bdab
Author: orbea  riseup  net>
AuthorDate: Mon Mar 18 03:06:34 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:24:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3f5c948

games-emulation/nestopia-jg: drop media-libs/soxr dependency

This was removed upstream.

Signed-off-by: orbea  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/35812
Signed-off-by: Sam James  gentoo.org>

 games-emulation/nestopia-jg/nestopia-jg-.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/games-emulation/nestopia-jg/nestopia-jg-.ebuild 
b/games-emulation/nestopia-jg/nestopia-jg-.ebuild
index dac62fe4856d..0c8527af385d 100644
--- a/games-emulation/nestopia-jg/nestopia-jg-.ebuild
+++ b/games-emulation/nestopia-jg/nestopia-jg-.ebuild
@@ -23,7 +23,6 @@ SLOT="1"
 
 DEPEND="
media-libs/jg:1=
-   media-libs/soxr
 "
 RDEPEND="
${DEPEND}



[gentoo-commits] repo/gentoo:master commit in: net-print/libppd/files/, net-print/libppd/

2024-03-20 Thread Sam James
commit: 7be0a28087faeba8065c639ddc7ea2316fa6
Author: orbea  riseup  net>
AuthorDate: Sat Mar 16 15:10:05 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:23:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be0a280

net-print/libppd: fix undefined references

Closes: https://bugs.gentoo.org/920273
Upstream-PR: https://github.com/OpenPrinting/libppd/pull/32
Upstream-Commit: 
https://github.com/OpenPrinting/libppd/commit/a040f26f3ca103c8ae7706d91ae157dca0974c49
Signed-off-by: orbea  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/35780
Signed-off-by: Sam James  gentoo.org>

 net-print/libppd/files/libppd-2.0.0-slibtool.patch | 64 ++
 net-print/libppd/libppd-2.0.0.ebuild   |  8 ++-
 2 files changed, 70 insertions(+), 2 deletions(-)

diff --git a/net-print/libppd/files/libppd-2.0.0-slibtool.patch 
b/net-print/libppd/files/libppd-2.0.0-slibtool.patch
new file mode 100644
index ..5491ac1fd896
--- /dev/null
+++ b/net-print/libppd/files/libppd-2.0.0-slibtool.patch
@@ -0,0 +1,64 @@
+https://github.com/OpenPrinting/libppd/pull/32
+https://github.com/OpenPrinting/libppd/commit/a040f26f3ca103c8ae7706d91ae157dca0974c49
+
+From e614c21b82a2f85487fe406a8bf4a2c9064501f8 Mon Sep 17 00:00:00 2001
+From: Eli Schwartz 
+Date: Mon, 18 Dec 2023 22:28:21 -0500
+Subject: [PATCH] build: fix failure to correctly link to zlib
+
+Checking for the header is NOT sufficient when utilizing its shared
+library symbols. Look it up with pkg-config explicitly, and explicitly
+add it to ensure that at runtime, libppd has its own DT_NEEDED
+dependency on libz.so; if libppd successfully links at all -- not a
+given, if -Wl,-no-undefined is used -- then it *may* transitively get
+libz.so from its recursive dependencies, but this is no guarantee at
+all.
+
+Fixes failure to build discovered at https://bugs.gentoo.org/920273
+---
+ Makefile.am  | 2 ++
+ configure.ac | 8 +++-
+ 2 files changed, 9 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 7aed422b..c44aa3e0 100644
+--- a/Makefile.am
 b/Makefile.am
+@@ -120,9 +120,11 @@ libppd_la_SOURCES = \
+   $(pkgppddefs_DATA)
+ libppd_la_LIBADD = \
+   $(LIBCUPSFILTERS_LIBS) \
++  $(ZLIB_LIBS) \
+   $(CUPS_LIBS)
+ libppd_la_CFLAGS = \
+   $(LIBCUPSFILTERS_CFLAGS) \
++  $(ZLIB_CFLAGS) \
+   $(CUPS_CFLAGS)
+ libppd_la_CXXFLAGS = \
+   $(libppd_la_CFLAGS)
+diff --git a/configure.ac b/configure.ac
+index 66927d80..7d8a459b 100644
+--- a/configure.ac
 b/configure.ac
+@@ -164,6 +164,13 @@ AC_SUBST(CUPS_STATEDIR)
+ # 
+ PKG_CHECK_MODULES([LIBCUPSFILTERS], [libcupsfilters])
+ 
++# ==
++# Check for zlib
++# ==
++PKG_CHECK_MODULES([ZLIB], [zlib], ,[
++AC_CHECK_HEADER([zlib.h])
++AC_CHECK_LIB([z], [deflateInit])])
++
+ # 
+ # Check for whether we want to install the testppdfile utility
+ # 
+@@ -220,7 +227,6 @@ AC_CHECK_HEADERS([stdlib.h])
+ AC_CHECK_HEADERS([sys/stat.h])
+ AC_CHECK_HEADERS([sys/types.h])
+ AC_CHECK_HEADERS([unistd.h])
+-AC_CHECK_HEADERS([zlib.h])
+ AC_CHECK_HEADERS([endian.h])
+ AC_CHECK_HEADERS([dirent.h])
+ AC_CHECK_HEADERS([sys/ioctl.h])

diff --git a/net-print/libppd/libppd-2.0.0.ebuild 
b/net-print/libppd/libppd-2.0.0.ebuild
index df36f78825c6..763f0c6558a3 100644
--- a/net-print/libppd/libppd-2.0.0.ebuild
+++ b/net-print/libppd/libppd-2.0.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit libtool
+inherit autotools
 
 DESCRIPTION="Legacy library for PPD files, split out of cups-filters"
 HOMEPAGE="https://github.com/OpenPrinting/libppd;
@@ -31,9 +31,13 @@ BDEPEND="
virtual/pkgconfig
 "
 
+PATCHES=(
+   "${FILESDIR}"/${P}-slibtool.patch
+)
+
 src_prepare() {
default
-   elibtoolize
+   eautoreconf
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: media-libs/quirc/

2024-03-20 Thread Sam James
commit: a8bfe44df5f6974ee113d0fce8f57bed123c8c0f
Author: Paul Zander  gmail  com>
AuthorDate: Mon Mar 18 18:43:10 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:20:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8bfe44d

media-libs/quirc: make libsdl non-optional, fix QA

The Makefile indiscriminately injects SDL_CFLAGS into QUIRC_CFLAGS
and QUIRC_CXXFLAGS.
Short of re-writing the whole Makefile we adhere to that dependency for now.

Set a SONAME to please QA.

Export CC and CXX.

Signed-off-by: Paul Zander  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35820
Signed-off-by: Sam James  gentoo.org>

 .../quirc/{quirc-1.2.ebuild => quirc-1.2-r1.ebuild}   | 15 ++-
 media-libs/quirc/quirc-.ebuild| 15 ++-
 2 files changed, 20 insertions(+), 10 deletions(-)

diff --git a/media-libs/quirc/quirc-1.2.ebuild 
b/media-libs/quirc/quirc-1.2-r1.ebuild
similarity index 73%
rename from media-libs/quirc/quirc-1.2.ebuild
rename to media-libs/quirc/quirc-1.2-r1.ebuild
index 3f7560659bd6..6264615597ee 100644
--- a/media-libs/quirc/quirc-1.2.ebuild
+++ b/media-libs/quirc/quirc-1.2-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DESCRIPTION="QR decoder library"
 HOMEPAGE="https://github.com/dlbeer/quirc;
 
-inherit multilib-minimal
+inherit flag-o-matic multilib-minimal toolchain-funcs
 
 if [[ ${PV} = ** ]] ; then
inherit git-r3
@@ -21,6 +21,7 @@ fi
 DEPEND="
media-libs/libjpeg-turbo:=
media-libs/libpng:=
+   media-libs/libsdl:=
opencv? ( media-libs/opencv:= )
sdl? ( media-libs/sdl-gfx:= )
 "
@@ -34,8 +35,9 @@ SLOT="0/${PV}"
 IUSE="opencv sdl tools v4l"
 
 src_prepare() {
+   LIB_VERSION=$(grep '^LIB_VERSION = ' "${S}/Makefile" | cut -d ' ' -f 3 
|| die)
sed -r \
-   -e "s#\.o libquirc.a#.o libquirc.so.${PV}#g" \
+   -e "s#\.o libquirc.a#.o libquirc.so.${LIB_VERSION}#g" \
-e '/^QUIRC_CFLAGS/ s/$/ -fPIC/' \
-i Makefile || die
 
@@ -44,6 +46,8 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+   tc-export CC CXX
+
targets=( libquirc.so )
use opencv && targets+=( opencv )
use sdl && targets+=( sdl )
@@ -52,13 +56,14 @@ multilib_src_configure() {
 }
 
 multilib_src_compile() {
+   append-ldflags "-Wl,-soname,lib${QUIRC}.so.${LIB_VERSION}"
emake V=1 DESTDIR="${D}" PREFIX="${EPREFIX}/usr" "${targets[@]}"
 }
 
 multilib_src_install() {
-   dolib.so "libquirc.so.${PV}"
-   dosym "libquirc.so.${PV}" "${EPREFIX}/usr/$(get_libdir)/libquirc.so"
-   dosym "libquirc.so.${PV}" 
"${EPREFIX}/usr/$(get_libdir)/libquirc.so.$(ver_cut 1)"
+   dolib.so "libquirc.so.${LIB_VERSION}"
+   dosym "libquirc.so.${LIB_VERSION}" 
"${EPREFIX}/usr/$(get_libdir)/libquirc.so"
+   dosym "libquirc.so.${LIB_VERSION}" 
"${EPREFIX}/usr/$(get_libdir)/libquirc.so.$(ver_cut 1 LIB_VERSION)"
 
if multilib_is_native_abi; then
into "/usr/libexec/${PN}"

diff --git a/media-libs/quirc/quirc-.ebuild 
b/media-libs/quirc/quirc-.ebuild
index 3f7560659bd6..6264615597ee 100644
--- a/media-libs/quirc/quirc-.ebuild
+++ b/media-libs/quirc/quirc-.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DESCRIPTION="QR decoder library"
 HOMEPAGE="https://github.com/dlbeer/quirc;
 
-inherit multilib-minimal
+inherit flag-o-matic multilib-minimal toolchain-funcs
 
 if [[ ${PV} = ** ]] ; then
inherit git-r3
@@ -21,6 +21,7 @@ fi
 DEPEND="
media-libs/libjpeg-turbo:=
media-libs/libpng:=
+   media-libs/libsdl:=
opencv? ( media-libs/opencv:= )
sdl? ( media-libs/sdl-gfx:= )
 "
@@ -34,8 +35,9 @@ SLOT="0/${PV}"
 IUSE="opencv sdl tools v4l"
 
 src_prepare() {
+   LIB_VERSION=$(grep '^LIB_VERSION = ' "${S}/Makefile" | cut -d ' ' -f 3 
|| die)
sed -r \
-   -e "s#\.o libquirc.a#.o libquirc.so.${PV}#g" \
+   -e "s#\.o libquirc.a#.o libquirc.so.${LIB_VERSION}#g" \
-e '/^QUIRC_CFLAGS/ s/$/ -fPIC/' \
-i Makefile || die
 
@@ -44,6 +46,8 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+   tc-export CC CXX
+
targets=( libquirc.so )
use opencv && targets+=( opencv )
use sdl && targets+=( sdl )
@@ -52,13 +56,14 @@ multilib_src_configure() {
 }
 
 multilib_src_compile() {
+   append-ldflags "-Wl,-soname,lib${QUIRC}.so.${LIB_VERSION}"
emake V=1 DESTDIR="${D}" PREFIX="${EPREFIX}/usr" "${targets[@]}"
 }
 
 multilib_src_install() {
-   dolib.so "libquirc.so.${PV}"
-   dosym "libquirc.so.${PV}" "${EPREFIX}/usr/$(get_libdir)/libquirc.so"
-   dosym "libquirc.so.${PV}" 
"${EPREFIX}/usr/$(get_libdir)/libquirc.so.$(ver_cut 1)"
+   dolib.so "libquirc.so.${LIB_VERSION}"
+   dosym "libquirc.so.${LIB_VERSION}" 
"${EPREFIX}/usr/$(get_libdir)/libquirc.so"
+   dosym "libquirc.so.${LIB_VERSION}" 

[gentoo-commits] repo/gentoo:master commit in: dev-util/nihtest/

2024-03-20 Thread Sam James
commit: 5043186ac684f33225d26a902f8ed099496497ea
Author: Alexander Miller  gmx  de>
AuthorDate: Wed Mar 20 22:44:58 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:18:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5043186a

dev-util/nihtest: add 1.5.2

Signed-off-by: Alexander Miller  gmx.de>
Closes: https://github.com/gentoo/gentoo/pull/35845
Signed-off-by: Sam James  gentoo.org>

 dev-util/nihtest/Manifest |  1 +
 dev-util/nihtest/nihtest-1.5.2.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/nihtest/Manifest b/dev-util/nihtest/Manifest
index c5e5a38ac74b..ed6ebb3be1fb 100644
--- a/dev-util/nihtest/Manifest
+++ b/dev-util/nihtest/Manifest
@@ -1,2 +1,3 @@
 DIST nihtest-1.5.0.tar.gz 39258 BLAKE2B 
6f2bf228d080a705ac9c7a56e7f73cd6000e03fae09dc9076eb7c9003f8cd9629690ccc2860c7939461edc089f8e73419232ed08bc131f9b526f141b434f33f8
 SHA512 
aac6167c18b5af3f49f5b43b6a218f3f3921d5b0bfe74df546a6808cf826debbe587de44b04baf1d4abd8e0c193da1b86a1f6490cc6bd7888b7707e261a1ebcf
 DIST nihtest-1.5.1.tar.gz 39866 BLAKE2B 
6e499db71d894e6fe3a5bcd2fe42b89c588edbec451b4c580feac1e07fe7b3cfa9e658dd52d21b0bda3a13be305a240698654eba672b22d9593af7a7335081ff
 SHA512 
269b21c6e4baf2c00b01e799394361631f96a7876c5df7f08e8d97ab640312f77251b5024804cb66a3aa5cb5dd0e43f8e54eb4644d985038fe25de24de30f93a
+DIST nihtest-1.5.2.tar.gz 39901 BLAKE2B 
c6b71b457ec7ff2d154061d31f009e44b4208901bfaf7ff16c3b70d4da7e0790238ed21c310651e89ac7a8a335c9d5131b974a945ad41bff74da5ba14ecbf581
 SHA512 
7f7e29e6c1320cb2f1886b6a73c43e11a672bd42471d01a47d0941970b478361b3e463d7d64b4275ed707d87fe27773b34c0f79f398494393330d7091f9f2f53

diff --git a/dev-util/nihtest/nihtest-1.5.2.ebuild 
b/dev-util/nihtest/nihtest-1.5.2.ebuild
new file mode 100644
index ..5dbe563be3c9
--- /dev/null
+++ b/dev-util/nihtest/nihtest-1.5.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit cmake distutils-r1 pypi
+
+DESCRIPTION="A testing tool for command line utilities"
+HOMEPAGE="
+   https://nih.at/nihtest/
+   https://github.com/nih-at/nihtest
+   https://pypi.org/project/nihtest/
+"
+SRC_URI+="
+   https://nih.at/nihtest/${P}.tar.gz
+   https://github.com/nih-at/nihtest/releases/download/v${PV}/${P}.tar.gz
+"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   $(python_gen_cond_dep 'dev-python/python-dateutil[${PYTHON_USEDEP}]')
+"
+BDEPEND="test? ( ${RDEPEND} )"
+
+DOCS=( NEWS.md README.md TODO.md )
+
+src_prepare() {
+   distutils-r1_src_prepare
+   if use test; then
+   CMAKE_USE_DIR=${S}/tests
+   BUILD_DIR=${WORKDIR}/tests_build cmake_src_prepare
+   fi
+}
+
+python_test() {
+   local BUILD_DIR=${WORKDIR}/tests_build
+   local mycmakeargs=( -DNIHTEST=nihtest )
+   cmake_src_configure
+   cmake_src_compile
+   cmake_src_test
+}
+
+src_install() {
+   distutils-r1_src_install
+   newman manpages/nihtest.man nihtest.1
+   newman manpages/nihtest.conf.man nihtest.conf.5
+   newman manpages/nihtest-case.man nihtest-case.5
+}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/sameboy-jg/

2024-03-20 Thread Sam James
commit: b7fab67b675ac1be6b7e4647bf4bc4b2c242450b
Author: orbea  riseup  net>
AuthorDate: Thu Mar 21 01:37:07 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:15:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7fab67b

games-emulation/sameboy-jg: drop 0.15.8

Signed-off-by: orbea  riseup.net>
Signed-off-by: Sam James  gentoo.org>

 games-emulation/sameboy-jg/Manifest|  1 -
 .../sameboy-jg/sameboy-jg-0.15.8.ebuild| 49 --
 2 files changed, 50 deletions(-)

diff --git a/games-emulation/sameboy-jg/Manifest 
b/games-emulation/sameboy-jg/Manifest
index af96d59b4360..a7466bb9989a 100644
--- a/games-emulation/sameboy-jg/Manifest
+++ b/games-emulation/sameboy-jg/Manifest
@@ -1,2 +1 @@
-DIST sameboy-0.15.8.tar.bz2 3002961 BLAKE2B 
5eacbc82d8c93ee85b774c554b3d3750088e8a4219d5b04daa9e6db0c70923ef823befc12831382a27ee007f117fddcfe35ff3549d7684b8587db9ffc486ccd6
 SHA512 
9074dfcbf400fe51e605ef0200f6ea8483650d605ab19177089c0e60f9996c15f265c5dec5fd0e6651392c9a9515e8380499e00bac837bb645220cd6ffa9c870
 DIST sameboy-0.16.2.tar.bz2 3556441 BLAKE2B 
0972cb8ba200d8ac95a3d66e3b671c1adeeea71eebb4202b1985f7f72edebd42886aac48040bf034dab8d93fd52d15165551ee8dfaf6870a59ca7f574fc99e0f
 SHA512 
bd456e248ec2d6ea0e8b017b705c829c6a94b1f7fe734769a86774c4b6983278cc5b4d61fdf8164844545bbd250b3c4f1fe725046ac7edb301268291d907f39f

diff --git a/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild 
b/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
deleted file mode 100644
index c41503e9640a..
--- a/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-MY_PN=${PN%-*}
-MY_P=${MY_PN}-${PV}
-DESCRIPTION="Jolly Good Port of SameBoy"
-HOMEPAGE="https://gitlab.com/jgemu/sameboy;
-if [[ "${PV}" == * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://gitlab.com/jgemu/${MY_PN}.git;
-else
-   
SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2;
-   S="${WORKDIR}/${MY_P}"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="1"
-
-DEPEND="
-   media-libs/jg:1=
-"
-RDEPEND="
-   ${DEPEND}
-   games-emulation/jgrf
-"
-BDEPEND="
-   >=dev-util/rgbds-0.6.0
-   virtual/pkgconfig
-"
-
-src_compile() {
-   emake -C jollygood \
-   CC="$(tc-getCC)" \
-   CC_FOR_BUILD="$(tc-getBUILD_CC)" \
-   PKG_CONFIG="$(tc-getPKG_CONFIG)"
-}
-
-src_install() {
-   emake -C jollygood install \
-   DESTDIR="${D}" \
-   PREFIX="${EPREFIX}"/usr \
-   DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
-   LIBDIR="${EPREFIX}/usr/$(get_libdir)"
-}



[gentoo-commits] repo/gentoo:master commit in: net-nntp/suck/files/, net-nntp/suck/

2024-03-20 Thread Sam James
commit: f08f1ea1039f7bf1d785b5a0dbd79e57b6d4be4f
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Fri Mar 15 18:06:04 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:17:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f08f1ea1

net-nntp/suck: drop 4.3.3-r1

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>
Signed-off-by: Sam James  gentoo.org>

 net-nntp/suck/Manifest|  1 -
 net-nntp/suck/files/4.3.3-fputs.patch | 25 ---
 net-nntp/suck/suck-4.3.3-r1.ebuild| 60 ---
 3 files changed, 86 deletions(-)

diff --git a/net-nntp/suck/Manifest b/net-nntp/suck/Manifest
index b155621ede47..86e5bad5072b 100644
--- a/net-nntp/suck/Manifest
+++ b/net-nntp/suck/Manifest
@@ -1,2 +1 @@
-DIST suck-4.3.3.tar.gz 153624 BLAKE2B 
434bdb21ba37deefcba4c0fa9ec3cdf14bc49e1295533ae3c7fb298f49819113ad05e26b3ca72e20ebdd498b0514155f8d79e7c82e95f423521586de889c2371
 SHA512 
629ecbd7e8d070fc9c1175be6dd10d49fe71b59b8694f32a81cc2dd5ec46e32d64463d221052922a7e21fcac1c9a330f56399bad7c64fa653d68127cd16dbfdc
 DIST suck-4.3.4.tar.gz 153774 BLAKE2B 
dc7943af43a305386872995a27b6e2faf34949813960314cbf85c4f2ad1658107480cdf77241394aa031270afc3faab5fbd30ec19559fb3d4d261fd8fa5e3416
 SHA512 
79892cfce1b569bbd5fb6468a919d77bce82a533c1b70369ab88a2066dc3d4396480b9a56b25e960d6e49cd0f9abad605d841693f086c9d07913798d7ac99730

diff --git a/net-nntp/suck/files/4.3.3-fputs.patch 
b/net-nntp/suck/files/4.3.3-fputs.patch
deleted file mode 100644
index df38f1d4316a..
--- a/net-nntp/suck/files/4.3.3-fputs.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 440c3c39c51c89c0a5bc53850e9b75b142a39bd2 Mon Sep 17 00:00:00 2001
-From: Michael Vetter 
-Date: Wed, 14 Feb 2018 15:02:22 +0100
-Subject: [PATCH] Use fputs instead of fput
-
-fput() seems to be non-standard.
-See commit cb0aadd0a2f16a09bc972d648b864a1fd541e75f
-Now we have the original patch.

- lpost.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lpost.c b/lpost.c
-index a2c0d29..39bb17e 100644
 a/lpost.c
-+++ b/lpost.c
-@@ -42,7 +42,7 @@ int main(int argc,char *argv[]) {
-   }
-   }
-   else {
--  (void) fput(line, pfp);
-+  (void) fputs(line, pfp);
-   }
-   } /* end while */
-   exit(retval);

diff --git a/net-nntp/suck/suck-4.3.3-r1.ebuild 
b/net-nntp/suck/suck-4.3.3-r1.ebuild
deleted file mode 100644
index 264c898d7d64..
--- a/net-nntp/suck/suck-4.3.3-r1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools
-
-DESCRIPTION="Grab news from a remote NNTP server and feed them to another"
-HOMEPAGE="https://lazarus-pkgs.github.io/lazarus-pkgs/suck.html;
-SRC_URI="https://github.com/lazarus-pkgs/suck/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="perl ssl"
-
-RDEPEND="
-   sys-libs/gdbm:=
-   ssl? ( dev-libs/openssl:0= )
-"
-DEPEND="${RDEPEND}
-   sys-libs/db
-   perl? ( dev-lang/perl )
-"
-
-PATCHES=( "${FILESDIR}/${PV}-fputs.patch" )
-
-src_prepare() {
-   default
-
-   # Fix paths to the locations in Gentoo
-   sed -i \
-   -e 's:/usr/bin/rnews:/usr/$(get_libdir)/news/bin/rnews:' \
-   -e 's:/var/lib/news/history:/var/spool/news/db/history:' \
-   suck_config.h || die "path adaption sed failed"
-
-   eautoreconf
-}
-
-src_configure() {
-   use ssl || sed -i -e 's/^SSL_/#SSL_/' Makefile.in || die "ssl sed 
failed"
-   use perl || sed -i -e 's/^PERL_/#PERL_/' Makefile.in || die "perl sed 
failed"
-
-   econf --without-inn-lib --without-inn-include
-}
-
-src_compile() {
-   emake phrases.h
-   emake all lpost
-}
-
-src_install() {
-   dobin lmove lpost rpost suck testhost
-   doman man/*
-   dodoc CHANGELOG CONTENTS README*
-   docinto java
-   dodoc java/*
-   docinto perl
-   dodoc perl/*
-   docinto sample
-   dodoc sample/*
-}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/sameboy-jg/, games-emulation/sameboy-jg/files/

2024-03-20 Thread Sam James
commit: 0d3e1ba523906f345fe1c646bc7323448ec46c77
Author: orbea  riseup  net>
AuthorDate: Thu Mar 21 01:35:23 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:15:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d3e1ba5

games-emulation/sameboy-jg: fix strict aliasing

Bug: https://bugs.gentoo.org/926077
Upstream-PR: https://github.com/LIJI32/SameBoy/pull/593
Upstream-Commit: 
https://github.com/LIJI32/SameBoy/commit/8739da61c013e20e1cc94f0619c622a65c713408
Upstream-PR: https://gitlab.com/jgemu/sameboy/-/merge_requests/50
Upstream-Commit: 
https://gitlab.com/jgemu/sameboy/-/commit/6a283f65cc4b9ee4896942afde745fa67e612fd3
Upstream-Commit: 
https://gitlab.com/jgemu/sameboy/-/commit/9067678fe0160fe5c2f10a7f6271f8293d5150d1
Signed-off-by: orbea  riseup.net>
Signed-off-by: Sam James  gentoo.org>

 .../files/sameboy-jg-0.16.2-strict-aliasing.patch  | 115 +
 .../sameboy-jg/sameboy-jg-0.16.2-r1.ebuild |  54 ++
 2 files changed, 169 insertions(+)

diff --git 
a/games-emulation/sameboy-jg/files/sameboy-jg-0.16.2-strict-aliasing.patch 
b/games-emulation/sameboy-jg/files/sameboy-jg-0.16.2-strict-aliasing.patch
new file mode 100644
index ..f1c82ef78ea6
--- /dev/null
+++ b/games-emulation/sameboy-jg/files/sameboy-jg-0.16.2-strict-aliasing.patch
@@ -0,0 +1,115 @@
+https://bugs.gentoo.org/926077
+https://github.com/LIJI32/SameBoy/pull/593
+https://gitlab.com/jgemu/sameboy/-/merge_requests/50
+https://gitlab.com/jgemu/sameboy/-/commit/6a283f65cc4b9ee4896942afde745fa67e612fd3
+https://gitlab.com/jgemu/sameboy/-/commit/9067678fe0160fe5c2f10a7f6271f8293d5150d1
+
+From 6a283f65cc4b9ee4896942afde745fa67e612fd3 Mon Sep 17 00:00:00 2001
+From: Lior Halphon 
+Date: Sat, 9 Mar 2024 11:08:01 -0800
+Subject: [PATCH 1/2] Avoid strict aliasing violations. Closes #593
+
+Backported from:
+
+https://github.com/LIJI32/SameBoy/commit/8739da61c013e20e1cc94f0619c622a65c713408
+---
+ Core/apu.c |  4 ++--
+ Core/apu.h | 11 +++
+ Makefile   |  2 +-
+ 3 files changed, 14 insertions(+), 3 deletions(-)
+
+diff --git a/Core/apu.c b/Core/apu.c
+index e621e82a..0f0ed16b 100644
+--- a/Core/apu.c
 b/Core/apu.c
+@@ -100,7 +100,7 @@ static void update_sample(GB_gameboy_t *gb, GB_channel_t 
index, int8_t value, un
+ output.left = output.right = 0;
+ }
+ 
+-if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != 
*(uint32_t *)) {
++if (gb->apu_output.current_sample[index].packed != output.packed) 
{
+ refresh_channel(gb, index, cycles_offset);
+ gb->apu_output.current_sample[index] = output;
+ }
+@@ -131,7 +131,7 @@ static void update_sample(GB_gameboy_t *gb, GB_channel_t 
index, int8_t value, un
+ if (likely(!gb->apu_output.channel_muted[index])) {
+ output = (GB_sample_t){(0xF - value * 2) * left_volume, (0xF - 
value * 2) * right_volume};
+ }
+-if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != 
*(uint32_t *)) {
++if (gb->apu_output.current_sample[index].packed != output.packed) {
+ refresh_channel(gb, index, cycles_offset);
+ gb->apu_output.current_sample[index] = output;
+ }
+diff --git a/Core/apu.h b/Core/apu.h
+index c8700c80..15b54a87 100644
+--- a/Core/apu.h
 b/Core/apu.h
+@@ -25,11 +25,22 @@
+ 
+ /* APU ticks are 2MHz, triggered by an internal APU clock. */
+ 
++#ifdef GB_INTERNAL
++typedef union
++{
++struct {
++int16_t left;
++int16_t right;
++};
++uint32_t packed;
++} GB_sample_t;
++#else
+ typedef struct
+ {
+ int16_t left;
+ int16_t right;
+ } GB_sample_t;
++#endif
+ 
+ typedef struct
+ {
+diff --git a/Makefile b/Makefile
+index c25f38b2..bc239893 100644
+--- a/Makefile
 b/Makefile
+@@ -164,7 +164,7 @@ endif
+ 
+ # These must come before the -Wno- flags
+ WARNINGS += -Werror -Wall -Wno-unknown-warning -Wno-unknown-warning-option 
-Wno-missing-braces
+-WARNINGS += -Wno-nonnull -Wno-unused-result -Wno-strict-aliasing 
-Wno-multichar -Wno-int-in-bool-context -Wno-format-truncation
++WARNINGS += -Wno-nonnull -Wno-unused-result -Wno-multichar 
-Wno-int-in-bool-context -Wno-format-truncation
+ 
+ # Only add this flag if the compiler supports it
+ ifeq ($(shell $(CC) -x c -c $(NULL) -o $(NULL) -Werror -Wpartial-availability 
2> $(NULL); echo $$?),0)
+-- 
+GitLab
+
+
+From 9067678fe0160fe5c2f10a7f6271f8293d5150d1 Mon Sep 17 00:00:00 2001
+From: orbea 
+Date: Sat, 9 Mar 2024 11:08:57 -0800
+Subject: [PATCH 2/2] build: remove -Wno-strict-aliasing + add
+ -Wno-missing-braces
+
+Upstream also uses -Wno-missing-braces
+
+See: https://github.com/LIJI32/SameBoy/pull/597
+---
+ jollygood/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/jollygood/Makefile b/jollygood/Makefile
+index a0bd24b3..b1c22384 100644
+--- a/jollygood/Makefile
 b/jollygood/Makefile
+@@ -17,7 

[gentoo-commits] repo/gentoo:master commit in: net-nntp/suck/

2024-03-20 Thread Sam James
commit: 9c0c78c41756c4c7d0c6d709ae81d0b952fbc21f
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Fri Mar 15 18:26:46 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:17:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c0c78c4

net-nntp/suck: add 4.3.5

Closes: https://bugs.gentoo.org/875035
Closes: https://bugs.gentoo.org/927069
Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/35770
Signed-off-by: Sam James  gentoo.org>

 net-nntp/suck/Manifest  |  1 +
 net-nntp/suck/suck-4.3.5.ebuild | 68 +
 2 files changed, 69 insertions(+)

diff --git a/net-nntp/suck/Manifest b/net-nntp/suck/Manifest
index 86e5bad5072b..1cc682475499 100644
--- a/net-nntp/suck/Manifest
+++ b/net-nntp/suck/Manifest
@@ -1 +1,2 @@
 DIST suck-4.3.4.tar.gz 153774 BLAKE2B 
dc7943af43a305386872995a27b6e2faf34949813960314cbf85c4f2ad1658107480cdf77241394aa031270afc3faab5fbd30ec19559fb3d4d261fd8fa5e3416
 SHA512 
79892cfce1b569bbd5fb6468a919d77bce82a533c1b70369ab88a2066dc3d4396480b9a56b25e960d6e49cd0f9abad605d841693f086c9d07913798d7ac99730
+DIST suck-4.3.5.tar.gz 153874 BLAKE2B 
ecc7d20f8844890acae94bb154583ace66b02c594514e925500cb9337aa1678622622286aaefedda066e73236d136e2383a846f0013f7e65f657757ae6cee818
 SHA512 
7bf7196db62416800c040ff9afd545c8a62e50a7f8dcb914aef1105d4bdc57ec4c198b1a42d5ad4e3c9455ddca3d516a55ca9cc62c88e010e8ba8eb4fcbeb275

diff --git a/net-nntp/suck/suck-4.3.5.ebuild b/net-nntp/suck/suck-4.3.5.ebuild
new file mode 100644
index ..37cd11cf40b4
--- /dev/null
+++ b/net-nntp/suck/suck-4.3.5.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Grab news from a remote NNTP server and feed them to another"
+HOMEPAGE="https://lazarus-pkgs.github.io/lazarus-pkgs/suck.html;
+SRC_URI="https://github.com/lazarus-pkgs/suck/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="perl ssl"
+
+RDEPEND="
+   sys-libs/gdbm:=
+   ssl? (
+   dev-libs/openssl:0=
+   )
+"
+DEPEND="${RDEPEND}
+   sys-libs/db
+   perl? ( dev-lang/perl )
+"
+
+src_prepare() {
+   default
+
+   rm java/*.class || die
+
+   # Fix paths to the locations in Gentoo
+   sed -i \
+   -e 's:/usr/bin/rnews:/usr/$(get_libdir)/news/bin/rnews:' \
+   -e 's:/var/lib/news/history:/var/spool/news/db/history:' \
+   suck_config.h || die "path adaption sed failed"
+
+   eautoreconf
+}
+
+src_configure() {
+   if use ssl; then
+   sed -i -e 's/^SSL_/#SSL_/' Makefile.in || die "ssl sed failed"
+   fi
+
+   if use perl; then
+   sed -i -e 's/^PERL_/#PERL_/' Makefile.in || die "perl sed 
failed"
+   fi
+
+   econf --without-inn-lib --without-inn-include
+}
+
+src_compile() {
+   emake phrases.h
+   emake all lpost
+}
+
+src_install() {
+   dobin lmove lpost rpost suck testhost
+   doman man/*
+   dodoc CHANGELOG CONTENTS README*
+   docinto java
+   dodoc java/*
+   docinto perl
+   dodoc perl/*
+   docinto sample
+   dodoc sample/*
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/passt/files/, net-misc/passt/

2024-03-20 Thread Sam James
commit: edfeb8763ac56112c59248c62c9cda13e5d01c97
Author: Rahil Bhimjiani  rahil  rocks>
AuthorDate: Thu Feb 22 21:32:14 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:18:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edfeb876

net-misc/passt: add 2024.03.20 and bug fixes

Closes: https://bugs.gentoo.org/920795
Closes: https://bugs.gentoo.org/924494
Signed-off-by: Rahil Bhimjiani  rahil.rocks>
Closes: https://github.com/gentoo/gentoo/pull/35500
Signed-off-by: Sam James  gentoo.org>

 net-misc/passt/Manifest   |  1 +
 net-misc/passt/files/Makefile-2024.03.20.patch| 13 +
 .../passt/{passt-.ebuild => passt-2024.03.20.ebuild}  | 15 +--
 net-misc/passt/passt-.ebuild  | 15 +--
 4 files changed, 40 insertions(+), 4 deletions(-)

diff --git a/net-misc/passt/Manifest b/net-misc/passt/Manifest
index a8aab82353a4..2a3c232940c4 100644
--- a/net-misc/passt/Manifest
+++ b/net-misc/passt/Manifest
@@ -1,2 +1,3 @@
 DIST passt-2023.12.04.tar.xz 188136 BLAKE2B 
f1d72fbb4bbb25f6a11e9ff87a91cf9bac06e047b8cb9a8b40402ced1422c23b105fa7e64646698d38ad747efa449c34cfdaecf492a3e4984114cbcf60656cdc
 SHA512 
febd9fa22363438b52b2688481183d81c22966e1775139fc559dbfa50437c9b00ba09800db867738d25fcea8ac05d4589b75dcd2d0c88eeffefc0598d4236001
 DIST passt-2023.12.30.tar.xz 188596 BLAKE2B 
75712a7cb7a00fea20427979153090d938b8c7b0e3da61c83cabb3751786034df35ebbe8afbd991d582a680f55b12792547b68efa931a5576dc181040b31e5fd
 SHA512 
4b19d191e2526bacc61bb8ab2964f5da4e0535656b094a7592f91d6b437c855a586fc772e2abd89138ff4f89aae12ade494c6e0fe7bee1502fe319215200d8f0
+DIST passt-2024.03.20.tar.xz 195332 BLAKE2B 
1bed740ddd235f300a4233fb2024f155758809589f1fdd2174ab99a8a93dd16044ab41814b215d12eb1e557966a73a3754bbff2b9acd752b45b385edd88ba3c7
 SHA512 
3701820e539545771d0f867fe0b8977cb5967e7501413f717fed08d2d2c141f17d86ed7238177b4fb4cf4cfc01c6c9d07e3c218c34b48e0a5a1f2b2ce8a5b903

diff --git a/net-misc/passt/files/Makefile-2024.03.20.patch 
b/net-misc/passt/files/Makefile-2024.03.20.patch
new file mode 100644
index ..30f36d1f084d
--- /dev/null
+++ b/net-misc/passt/files/Makefile-2024.03.20.patch
@@ -0,0 +1,13 @@
+Addressing following bugs:
+https://bugs.gentoo.org/924494
+--- a/Makefile
 b/Makefile
+@@ -35,7 +35,7 @@
+ 
+ FLAGS := -Wall -Wextra -Wno-format-zero-length
+ FLAGS += -pedantic -std=c11 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
+-FLAGS += -D_FORTIFY_SOURCE=2 -O2 -pie -fPIE
++FLAGS += -O2 -pie -fPIE
+ FLAGS += -DPAGE_SIZE=$(shell getconf PAGE_SIZE)
+ FLAGS += -DNETNS_RUN_DIR=\"/run/netns\"
+ FLAGS += -DPASST_AUDIT_ARCH=AUDIT_ARCH_$(AUDIT_ARCH)

diff --git a/net-misc/passt/passt-.ebuild 
b/net-misc/passt/passt-2024.03.20.ebuild
similarity index 77%
copy from net-misc/passt/passt-.ebuild
copy to net-misc/passt/passt-2024.03.20.ebuild
index 5683bd6f8693..effdc66105d0 100644
--- a/net-misc/passt/passt-.ebuild
+++ b/net-misc/passt/passt-2024.03.20.ebuild
@@ -1,12 +1,14 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
+inherit toolchain-funcs
+
 DESCRIPTION="User-mode networking daemons for VMs and namespaces, replacement 
for Slirp"
 HOMEPAGE="https://passt.top/;
 
-RELEASE_COMMIT="b86afe3"
+RELEASE_COMMIT="71dd405"
 
 if [[ ${PV} == * ]]; then
inherit git-r3
@@ -21,6 +23,15 @@ LICENSE="BSD GPL-2+"
 SLOT="0"
 IUSE="static"
 
+PATCHES=(
+   "${FILESDIR}"/Makefile-2024.03.20.patch
+)
+
+src_prepare() {
+   default
+   tc-export CC
+}
+
 src_compile() {
[[ ${PV} != * ]] && export VERSION="${PV}"
export prefix="${EPREFIX}/usr" docdir="${EPREFIX}/usr/share/doc/${P}"

diff --git a/net-misc/passt/passt-.ebuild b/net-misc/passt/passt-.ebuild
index 5683bd6f8693..effdc66105d0 100644
--- a/net-misc/passt/passt-.ebuild
+++ b/net-misc/passt/passt-.ebuild
@@ -1,12 +1,14 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
+inherit toolchain-funcs
+
 DESCRIPTION="User-mode networking daemons for VMs and namespaces, replacement 
for Slirp"
 HOMEPAGE="https://passt.top/;
 
-RELEASE_COMMIT="b86afe3"
+RELEASE_COMMIT="71dd405"
 
 if [[ ${PV} == * ]]; then
inherit git-r3
@@ -21,6 +23,15 @@ LICENSE="BSD GPL-2+"
 SLOT="0"
 IUSE="static"
 
+PATCHES=(
+   "${FILESDIR}"/Makefile-2024.03.20.patch
+)
+
+src_prepare() {
+   default
+   tc-export CC
+}
+
 src_compile() {
[[ ${PV} != * ]] && export VERSION="${PV}"
export prefix="${EPREFIX}/usr" docdir="${EPREFIX}/usr/share/doc/${P}"



[gentoo-commits] repo/gentoo:master commit in: games-emulation/bsnes-jg/files/, games-emulation/bsnes-jg/

2024-03-20 Thread Sam James
commit: 7d3a275c4d3a648219cf757d3ec160e082557c2e
Author: orbea  riseup  net>
AuthorDate: Thu Mar 21 01:41:04 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:15:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d3a275c

games-emulation/bsnes-jg: fix strict aliasing

Closes: https://bugs.gentoo.org/926077
Upstream-PR: https://github.com/LIJI32/SameBoy/pull/593
Upstream-Commit: 
https://github.com/LIJI32/SameBoy/commit/8739da61c013e20e1cc94f0619c622a65c713408
Upstream-PR: https://gitlab.com/jgemu/bsnes/-/merge_requests/419
Upstream-Commit: 
https://gitlab.com/jgemu/bsnes/-/commit/966545bb79cc9810fbcedbe34fd52f7b9b5ef04e
Signed-off-by: orbea  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/35847
Signed-off-by: Sam James  gentoo.org>

 games-emulation/bsnes-jg/bsnes-jg-1.1.2-r2.ebuild  | 53 +
 .../files/bsnes-jg-1.1.2-strict-aliasing.patch | 67 ++
 2 files changed, 120 insertions(+)

diff --git a/games-emulation/bsnes-jg/bsnes-jg-1.1.2-r2.ebuild 
b/games-emulation/bsnes-jg/bsnes-jg-1.1.2-r2.ebuild
new file mode 100644
index ..fe035e7a3b86
--- /dev/null
+++ b/games-emulation/bsnes-jg/bsnes-jg-1.1.2-r2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_PN=${PN%-*}
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Jolly Good Fork of bsnes"
+HOMEPAGE="https://gitlab.com/jgemu/bsnes;
+if [[ "${PV}" == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.com/jgemu/${MY_PN}.git;
+else
+   
SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2;
+   S="${WORKDIR}/${MY_P}"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="ISC GPL-3+ LGPL-2.1+ MIT ZLIB"
+SLOT="1"
+
+DEPEND="
+   media-libs/jg:1=
+   media-libs/libsamplerate
+"
+RDEPEND="
+   ${DEPEND}
+   games-emulation/jgrf
+"
+BDEPEND="
+   virtual/pkgconfig
+"
+
+PATCHES=(
+   # https://bugs.gentoo.org/891201#c9
+   "${FILESDIR}"/${P}-endianness.patch
+   # https://bugs.gentoo.org/926077
+   "${FILESDIR}"/${P}-strict-aliasing.patch
+)
+
+src_compile() {
+   emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" 
PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+   emake install \
+   DESTDIR="${D}" \
+   PREFIX="${EPREFIX}"/usr \
+   DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+   LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}

diff --git 
a/games-emulation/bsnes-jg/files/bsnes-jg-1.1.2-strict-aliasing.patch 
b/games-emulation/bsnes-jg/files/bsnes-jg-1.1.2-strict-aliasing.patch
new file mode 100644
index ..106ea27730da
--- /dev/null
+++ b/games-emulation/bsnes-jg/files/bsnes-jg-1.1.2-strict-aliasing.patch
@@ -0,0 +1,67 @@
+https://bugs.gentoo.org/926077
+https://github.com/LIJI32/SameBoy/pull/593
+https://gitlab.com/jgemu/bsnes/-/merge_requests/419
+https://gitlab.com/jgemu/bsnes/-/commit/966545bb79cc9810fbcedbe34fd52f7b9b5ef04e
+
+From 966545bb79cc9810fbcedbe34fd52f7b9b5ef04e Mon Sep 17 00:00:00 2001
+From: Lior Halphon 
+Date: Sat, 9 Mar 2024 11:08:01 -0800
+Subject: [PATCH 1/2] Avoid strict aliasing violations. Closes #593
+
+Backported from:
+
+https://github.com/LIJI32/SameBoy/commit/8739da61c013e20e1cc94f0619c622a65c713408
+---
+ deps/gb/apu.c |  4 ++--
+ deps/gb/apu.h | 11 +++
+ 2 files changed, 13 insertions(+), 2 deletions(-)
+
+diff --git a/deps/gb/apu.c b/deps/gb/apu.c
+index e621e82a..0f0ed16b 100644
+--- a/deps/gb/apu.c
 b/deps/gb/apu.c
+@@ -100,7 +100,7 @@ static void update_sample(GB_gameboy_t *gb, GB_channel_t 
index, int8_t value, un
+ output.left = output.right = 0;
+ }
+ 
+-if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != 
*(uint32_t *)) {
++if (gb->apu_output.current_sample[index].packed != output.packed) 
{
+ refresh_channel(gb, index, cycles_offset);
+ gb->apu_output.current_sample[index] = output;
+ }
+@@ -131,7 +131,7 @@ static void update_sample(GB_gameboy_t *gb, GB_channel_t 
index, int8_t value, un
+ if (likely(!gb->apu_output.channel_muted[index])) {
+ output = (GB_sample_t){(0xF - value * 2) * left_volume, (0xF - 
value * 2) * right_volume};
+ }
+-if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != 
*(uint32_t *)) {
++if (gb->apu_output.current_sample[index].packed != output.packed) {
+ refresh_channel(gb, index, cycles_offset);
+ gb->apu_output.current_sample[index] = output;
+ }
+diff --git a/deps/gb/apu.h b/deps/gb/apu.h
+index c8700c80..15b54a87 100644
+--- a/deps/gb/apu.h
 b/deps/gb/apu.h
+@@ -25,11 +25,22 @@
+ 
+ /* APU ticks are 2MHz, triggered by an internal APU clock. */
+ 
++#ifdef GB_INTERNAL
++typedef union
++{
++struct 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/magic_enum/, dev-cpp/magic_enum/files/

2024-03-20 Thread Sam James
commit: 8273eeaba4ab6cfa57fee50b9547c4704fd40069
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 21 02:15:25 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:15:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8273eeab

dev-cpp/magic_enum: don't use -Werror

Closes: https://bugs.gentoo.org/890206
Signed-off-by: Sam James  gentoo.org>

 .../magic_enum/files/magic_enum-0.9.5-werror.patch | 22 ++
 dev-cpp/magic_enum/magic_enum-0.9.5.ebuild |  4 
 2 files changed, 26 insertions(+)

diff --git a/dev-cpp/magic_enum/files/magic_enum-0.9.5-werror.patch 
b/dev-cpp/magic_enum/files/magic_enum-0.9.5-werror.patch
new file mode 100644
index ..6f28fa7ef704
--- /dev/null
+++ b/dev-cpp/magic_enum/files/magic_enum-0.9.5-werror.patch
@@ -0,0 +1,22 @@
+--- a/example/CMakeLists.txt
 b/example/CMakeLists.txt
+@@ -2,7 +2,7 @@ include(CheckCXXCompilerFlag)
+ 
+ set(CMAKE_CXX_STANDARD 17)
+ if((CMAKE_CXX_COMPILER_ID MATCHES "GNU") OR (CMAKE_CXX_COMPILER_ID MATCHES 
"Clang"))
+-set(OPTIONS -Wall -Wextra -pedantic-errors -Werror)
++set(OPTIONS -Wall -Wextra)
+ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
+ set(OPTIONS /W4 /WX)
+ if(HAS_PERMISSIVE_FLAG)
+--- a/test/CMakeLists.txt
 b/test/CMakeLists.txt
+@@ -12,7 +12,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
+ check_cxx_compiler_flag(/std:c++latest HAS_CPPLATEST_FLAG)
+ elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
+ set(CMAKE_VERBOSE_MAKEFILE ON)
+-set(OPTIONS -Wall -Wextra -pedantic-errors -Werror)
++set(OPTIONS -Wall -Wextra)
+ 
+ check_cxx_compiler_flag(-std=c++20 HAS_CPP20_FLAG)
+ check_cxx_compiler_flag(-std=c++23 HAS_CPP23_FLAG)

diff --git a/dev-cpp/magic_enum/magic_enum-0.9.5.ebuild 
b/dev-cpp/magic_enum/magic_enum-0.9.5.ebuild
index 6dea37219253..1077c351e165 100644
--- a/dev-cpp/magic_enum/magic_enum-0.9.5.ebuild
+++ b/dev-cpp/magic_enum/magic_enum-0.9.5.ebuild
@@ -17,6 +17,10 @@ KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.9.5-werror.patch
+)
+
 src_configure() {
local mycmakeargs=(
-DMAGIC_ENUM_OPT_BUILD_TESTS=$(usex test)



[gentoo-commits] repo/gentoo:master commit in: net-misc/streamlink/

2024-03-20 Thread Sam James
commit: 473e734fcd8134efa0067a8cfc6a2f23400697ba
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 21 02:11:04 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:11:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=473e734f

net-misc/streamlink: add 6.7.1

Bit awkward as we have to require brand new trio and still-masked pytest
(=> skip the relevant tests for now on the latter).

Closes: https://bugs.gentoo.org/927330
Signed-off-by: Sam James  gentoo.org>

 net-misc/streamlink/Manifest   |  1 +
 ...eamlink-.ebuild => streamlink-6.7.1.ebuild} | 28 --
 net-misc/streamlink/streamlink-.ebuild | 28 --
 3 files changed, 53 insertions(+), 4 deletions(-)

diff --git a/net-misc/streamlink/Manifest b/net-misc/streamlink/Manifest
index 21d6469dd326..e2148eb0a7f3 100644
--- a/net-misc/streamlink/Manifest
+++ b/net-misc/streamlink/Manifest
@@ -1,3 +1,4 @@
 DIST streamlink-6.5.1.tar.gz 717297 BLAKE2B 
7f24a9ac2e62ff08d2126e4aceda75cbd46d78de08784336dd3b4d7608cd7885a5dca28bd9dda9f8c217b9cc428f8f50f09d0c45e470e0d3534ecd3effb2a95f
 SHA512 
b31b34a2ef510d47d396b12b770c042bed24ff61835db6a654722803ae94e8371aa547f30bf20d7cf34d737ed9bd59bcea1bb1810e926cfc7ae3fa72f38881d8
 DIST streamlink-6.6.2.tar.gz 737076 BLAKE2B 
f1603c292cbb1135534d34b89bad3d859194a9d9b602aafc05e38d901071b77a92fc054387081a4579a4504642d33454427ee239def80a8ec0b50f901dab05ab
 SHA512 
727fbd6bbf03a55a468b625984abe3d7f1792aaab11b2a55d5b0526454cc1959d7bfb3579526eb9e7493a44277302e6f40556f3ad99509751f950d49605b60db
 DIST streamlink-6.7.0.tar.gz 738338 BLAKE2B 
2ef297c8c96716d71b1e8148397e2a9f079062a83d9533568eabf9777e832dfc56eb4d4ec0ef361250af80be66c7e4680fe7c72d070ee85da85f74917cf0d88b
 SHA512 
df2f69cdd4de9deca41d7dca2b8b38dabcda9f4722de28a96fca0b011cb528751e40895cbe68724c3222615c6e317983d8937bd2c161640d3a8c6db17273cafd
+DIST streamlink-6.7.1.tar.gz 740537 BLAKE2B 
676f9e64d80c45edbca89a7fad0f91efd8c3528ec8c8a3143aa7f277a2b882237c65b4d6c50752e3d4ca60f179012b7bb1db0b7555a95459b423adea9f982919
 SHA512 
2a76d819b15efbe7b7bf4912b5117ab6c2a0fb49a7aac74559c0fc9bb7ac989cb589bcdfb84d8908a6b6c163080bdb2211d53b8e5de7840cde1a38eea45bcfac

diff --git a/net-misc/streamlink/streamlink-.ebuild 
b/net-misc/streamlink/streamlink-6.7.1.ebuild
similarity index 59%
copy from net-misc/streamlink/streamlink-.ebuild
copy to net-misc/streamlink/streamlink-6.7.1.ebuild
index d73952536218..726f048e9ad9 100644
--- a/net-misc/streamlink/streamlink-.ebuild
+++ b/net-misc/streamlink/streamlink-6.7.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -30,6 +30,7 @@ if [[ ${PV} != * ]]; then
 fi
 
 # See 
https://github.com/streamlink/streamlink/commit/9d8156dd794ee0919297cd90d85bcc11b8a28358
 for chardet/charset-normalizer dep
+# See https://github.com/streamlink/streamlink/pull/5895 re exceptiongroup dep
 RDEPEND="
media-video/ffmpeg
$(python_gen_cond_dep '
@@ -38,6 +39,7 @@ RDEPEND="
dev-python/chardet[${PYTHON_USEDEP}]
dev-python/charset-normalizer[${PYTHON_USEDEP}]
)
+   dev-python/exceptiongroup[${PYTHON_USEDEP}]
>=dev-python/requests-2.26.0[${PYTHON_USEDEP}]
dev-python/isodate[${PYTHON_USEDEP}]
>=dev-python/lxml-4.6.4[${PYTHON_USEDEP}]
@@ -45,7 +47,7 @@ RDEPEND="
dev-python/pycountry[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.4.3[${PYTHON_USEDEP}]
>dev-python/PySocks-1.5.7[${PYTHON_USEDEP}]
-   >=dev-python/trio-0.22.0[${PYTHON_USEDEP}]
+   >=dev-python/trio-0.25.0[${PYTHON_USEDEP}]
>=dev-python/trio-websocket-0.9.0[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}]
')
@@ -72,3 +74,25 @@ if [[ ${PV} == * ]]; then
 fi
 
 distutils_enable_tests pytest
+
+python_test() {
+   # Skip tests requiring https://github.com/streamlink/streamlink/pull/5901
+   EPYTEST_DESELECT+=(
+   
tests/webbrowser/cdp/test_client.py::TestEvaluate::test_exception
+   tests/webbrowser/cdp/test_client.py::TestEvaluate::test_error
+   tests/webbrowser/cdp/test_client.py::TestNavigate::test_detach
+   tests/webbrowser/cdp/test_client.py::TestNavigate::test_error
+   
tests/webbrowser/cdp/test_connection.py::TestCreateConnection::test_failure
+   
tests/webbrowser/cdp/test_connection.py::TestReaderError::test_invalid_json
+   
tests/webbrowser/cdp/test_connection.py::TestReaderError::test_unknown_session_id
+   
'tests/webbrowser/cdp/test_connection.py::TestSend::test_timeout[Default 
timeout, response not in time]'
+   

[gentoo-commits] repo/proj/guru:dev commit in: sys-libs/gcompat/

2024-03-20 Thread Haelwenn Monnier
commit: fad92656cc1913f661fb47d44fb53ef26c1dd765
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Thu Mar 21 01:25:00 2024 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Thu Mar 21 01:25:00 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fad92656

sys-libs/gcompat/metadata.xml: ucontext -> libucontext

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 sys-libs/gcompat/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/gcompat/metadata.xml b/sys-libs/gcompat/metadata.xml
index d1cb64b2a6..fbf4214c6a 100644
--- a/sys-libs/gcompat/metadata.xml
+++ b/sys-libs/gcompat/metadata.xml
@@ -7,6 +7,6 @@


Use sys-libs/obstack-standalone 
for greater compatibility
-   Add support for ucontext functions via 
sys-libs/libucontext
+   Add support for ucontext functions via 
sys-libs/libucontext

 



[gentoo-commits] repo/proj/guru:dev commit in: dev-games/surgescript/

2024-03-20 Thread Haelwenn Monnier
commit: f13b20416fbf1f4a2b3a9b45d39b38df0571a19e
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Thu Mar 21 01:22:46 2024 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Thu Mar 21 01:23:02 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f13b2041

dev-games/surgescript: enable py3.12

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 dev-games/surgescript/surgescript-0.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-games/surgescript/surgescript-0.5.5.ebuild 
b/dev-games/surgescript/surgescript-0.5.5.ebuild
index 05291be2f5..e4642d0718 100644
--- a/dev-games/surgescript/surgescript-0.5.5.ebuild
+++ b/dev-games/surgescript/surgescript-0.5.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="dev-python/mkdocs-material"
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-03-20 Thread Matt Turner
commit: e0a388f510240997ec4c1c9c75a746c607f9ba2c
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Mar 21 01:19:24 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Mar 21 01:19:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0a388f5

dev-util/intel_clc: Keyword  x86, #926226

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/intel_clc-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/intel_clc/intel_clc-.ebuild 
b/dev-util/intel_clc/intel_clc-.ebuild
index 8bc3bb53f6ba..09970ccf3189 100644
--- a/dev-util/intel_clc/intel_clc-.ebuild
+++ b/dev-util/intel_clc/intel_clc-.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} ==  ]]; then
 else
S="${WORKDIR}/mesa-${MY_PV}"
SRC_URI="https://archive.mesa3d.org/mesa-${MY_PV}.tar.xz;
-   KEYWORDS="~amd64"
+   KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-misc/passt/

2024-03-20 Thread Yixun Lan
commit: 19b1281287a412d2e05c3520817fc3caf9c8815e
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Mar 21 00:04:15 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Mar 21 00:04:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19b12812

net-misc/passt: Keyword 2023.12.30 riscv, #927372

Signed-off-by: Yixun Lan  gentoo.org>

 net-misc/passt/passt-2023.12.30.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/passt/passt-2023.12.30.ebuild 
b/net-misc/passt/passt-2023.12.30.ebuild
index cd584dee8e46..cf2c6784ce85 100644
--- a/net-misc/passt/passt-2023.12.30.ebuild
+++ b/net-misc/passt/passt-2023.12.30.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == * ]]; then
 else

SRC_URI="https://passt.top/passt/snapshot/passt-${RELEASE_COMMIT}.tar.xz -> 
${P}.tar.xz"
S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
-   KEYWORDS="~amd64"
+   KEYWORDS="~amd64 ~riscv"
 fi
 
 LICENSE="BSD GPL-2+"



[gentoo-commits] repo/gentoo:master commit in: net-misc/gallery-dl/

2024-03-20 Thread Sam James
commit: 8aabf848068b4eac1fcc93304a4ae34e927970e4
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 20 23:47:06 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 20 23:47:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aabf848

net-misc/gallery-dl: Stabilize 1.26.8 ALLARCHES, #927367

Signed-off-by: Sam James  gentoo.org>

 net-misc/gallery-dl/gallery-dl-1.26.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/gallery-dl/gallery-dl-1.26.8.ebuild 
b/net-misc/gallery-dl/gallery-dl-1.26.8.ebuild
index 7f31c8680987..736c8bce293d 100644
--- a/net-misc/gallery-dl/gallery-dl-1.26.8.ebuild
+++ b/net-misc/gallery-dl/gallery-dl-1.26.8.ebuild
@@ -20,7 +20,7 @@ else
SRC_URI="https://github.com/mikf/${PN}/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz"
 
-   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
+   KEYWORDS="amd64 arm arm64 hppa ppc ppc64 ~riscv x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: sci-biology/t-coffee/

2024-03-20 Thread Sam James
commit: 86e4c6c3cfd2420dab5aae7c13f05e78e686d073
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Mar 20 20:10:01 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 20 23:46:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86e4c6c3

sci-biology/t-coffee: mark as LTO-unsafe, strict-aliasing unsafe

Closes: https://bugs.gentoo.org/862327
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sci-biology/t-coffee/t-coffee-11.00-r3.ebuild | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/sci-biology/t-coffee/t-coffee-11.00-r3.ebuild 
b/sci-biology/t-coffee/t-coffee-11.00-r3.ebuild
index 0064cc319f47..89966a0580d2 100644
--- a/sci-biology/t-coffee/t-coffee-11.00-r3.ebuild
+++ b/sci-biology/t-coffee/t-coffee-11.00-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -31,6 +31,14 @@ PATCHES=(
 )
 
 src_configure() {
+   # -Werror=strict-aliasing
+   # https://bugs.gentoo.org/862327
+   # https://github.com/cbcrg/tcoffee/issues/60
+   #
+   # Do not trust with LTO either
+   append-flags -fno-strict-aliasing
+   filter-lto
+
tc-export CXX
append-cxxflags -Wno-write-strings -Wno-unused-result
 }



[gentoo-commits] repo/gentoo:master commit in: app-text/pandoc-bin/

2024-03-20 Thread Sam James
commit: 990e97e208fc30f20361ee0a81198882e6abb65c
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 20 23:47:07 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 20 23:47:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=990e97e2

app-text/pandoc-bin: Stabilize 3.1.12.1 arm64, #927368

Signed-off-by: Sam James  gentoo.org>

 app-text/pandoc-bin/pandoc-bin-3.1.12.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/pandoc-bin/pandoc-bin-3.1.12.1.ebuild 
b/app-text/pandoc-bin/pandoc-bin-3.1.12.1.ebuild
index 6c205a599708..5cb067c242ee 100644
--- a/app-text/pandoc-bin/pandoc-bin-3.1.12.1.ebuild
+++ b/app-text/pandoc-bin/pandoc-bin-3.1.12.1.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}"/${MY_P}
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="-* ~amd64 ~arm64"
+KEYWORDS="-* ~amd64 arm64"
 IUSE="+pandoc-symlink"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-emacs/flycheck/

2024-03-20 Thread Sam James
commit: f54b24530e6e2fb9f73e02f095f9ad3fcdf3f173
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 20 23:47:08 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 20 23:47:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f54b2453

app-emacs/flycheck: Stabilize 34.1 arm64, #927370

Signed-off-by: Sam James  gentoo.org>

 app-emacs/flycheck/flycheck-34.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/flycheck/flycheck-34.1.ebuild 
b/app-emacs/flycheck/flycheck-34.1.ebuild
index 708fd07b50d8..872e7864b6e2 100644
--- a/app-emacs/flycheck/flycheck-34.1.ebuild
+++ b/app-emacs/flycheck/flycheck-34.1.ebuild
@@ -17,7 +17,7 @@ else
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz
-> ${P}.tar.gz"
 
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
 fi
 
 LICENSE="GPL-3+"



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/grass/

2024-03-20 Thread Andrew Ammerlaan
commit: 83a3f963eb5b843e8c8f41d7c7970952d76dcfcb
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Thu Mar  7 10:12:46 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Mar 20 22:12:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83a3f963

sci-geosciences/grass: add 8.3.2

Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/35478
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-geosciences/grass/Manifest   |   1 +
 sci-geosciences/grass/grass-8.3.2.ebuild | 276 +++
 2 files changed, 277 insertions(+)

diff --git a/sci-geosciences/grass/Manifest b/sci-geosciences/grass/Manifest
index 1e6dbe195903..bc17e20a6fdd 100644
--- a/sci-geosciences/grass/Manifest
+++ b/sci-geosciences/grass/Manifest
@@ -1 +1,2 @@
 DIST grass-8.3.1.tar.gz 68491177 BLAKE2B 
58513c8c273b55831bca764c9e61e54b92c075ea2f4ff3c2f059ebcce98f25694ee03a25bef7a3e1c443165dd9493d3ce469233be3b65596dc28da166c12d174
 SHA512 
416a1b3eccb71f63576b36b963b7ddd8063ae73cefb8aa94431ade0ad74d699beb28635de8ba3a73cbd28304e5049dde2e75fb0f4c2747c81cb62c86b25c3793
+DIST grass-8.3.2.tar.gz 68662576 BLAKE2B 
214bc6aea6904e88339e7f2d80f5dbc1c549928eed08ae0734789165af9e4cd7d8a882c67607c2670f2fdd4584615eac95c1ada9e5312abc6b59e0cb48124615
 SHA512 
6523e2c0eae183fddeaa015e63283febfbae4953e809ff41bcc4ab95aa1055162b08c65365f973124608ff7b01aa907a1a0ec96c9f31884c657f236e56c0eab0

diff --git a/sci-geosciences/grass/grass-8.3.2.ebuild 
b/sci-geosciences/grass/grass-8.3.2.ebuild
new file mode 100644
index ..b719d57f438c
--- /dev/null
+++ b/sci-geosciences/grass/grass-8.3.2.ebuild
@@ -0,0 +1,276 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_REQ_USE="sqlite"  # bug 572440
+
+inherit desktop flag-o-matic python-single-r1 toolchain-funcs xdg
+
+DESCRIPTION="A free GIS with raster and vector functionality, as well as 3D 
vizualization"
+HOMEPAGE="https://grass.osgeo.org/;
+
+LICENSE="GPL-2"
+
+if [[ ${PV} =~ "" ]]; then
+   SLOT="0/8.3"
+else
+   SLOT="0/$(ver_cut 1-2 ${PV})"
+fi
+
+GVERSION=${SLOT#*/}
+MY_PM="${PN}${GVERSION}"
+MY_PM="${MY_PM/.}"
+
+if [[ ${PV} =~ "" ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/OSGeo/grass.git;
+else
+   MY_P="${P/_rc/RC}"
+   SRC_URI="https://grass.osgeo.org/${MY_PM}/source/${MY_P}.tar.gz;
+   if [[ ${PV} != *_rc* ]] ; then
+   KEYWORDS="~amd64 ~ppc ~x86"
+   fi
+
+   S="${WORKDIR}/${MY_P}"
+fi
+
+IUSE="blas bzip2 cxx fftw geos lapack las mysql netcdf nls odbc opencl opengl 
openmp pdal png postgres readline sqlite threads tiff truetype X zstd"
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   opengl? ( X )"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   >=app-admin/eselect-1.2
+   $(python_gen_cond_dep '
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/ply[${PYTHON_USEDEP}]
+   dev-python/python-dateutil[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   ')
+   sci-libs/gdal:=
+   sys-libs/gdbm:=
+   sys-libs/ncurses:=
+   sci-libs/proj:=
+   sys-libs/zlib
+   media-libs/libglvnd
+   media-libs/glu
+   blas? (
+   virtual/cblas[eselect-ldso(+)]
+   virtual/blas[eselect-ldso(+)]
+   )
+   bzip2? ( app-arch/bzip2:= )
+   fftw? ( sci-libs/fftw:3.0= )
+   geos? ( sci-libs/geos:= )
+   lapack? ( virtual/lapack[eselect-ldso(+)] )
+   las? ( sci-geosciences/liblas )
+   mysql? ( dev-db/mysql-connector-c:= )
+   netcdf? ( sci-libs/netcdf:= )
+   odbc? ( dev-db/unixODBC )
+   opencl? ( virtual/opencl )
+   opengl? ( virtual/opengl )
+   pdal? ( >=sci-libs/pdal-2.0.0:= )
+   png? ( media-libs/libpng:= )
+   postgres? ( >=dev-db/postgresql-8.4:= )
+   readline? ( sys-libs/readline:= )
+   sqlite? ( dev-db/sqlite:3 )
+   tiff? ( media-libs/tiff:= )
+   truetype? ( media-libs/freetype:2 )
+   X? (
+   $(python_gen_cond_dep '
+   >=dev-python/matplotlib-1.2[wxwidgets,${PYTHON_USEDEP}]
+   dev-python/pillow[${PYTHON_USEDEP}]
+   >=dev-python/wxpython-4.1:4.0[${PYTHON_USEDEP}]
+   ')
+   x11-libs/cairo[X]
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXext
+   x11-libs/libXt
+   )
+   zstd? ( app-arch/zstd:= )"
+DEPEND="${RDEPEND}
+   X? ( x11-base/xorg-proto )"
+BDEPEND="
+   app-alternatives/yacc
+   app-alternatives/lex
+   sys-devel/gettext
+   virtual/pkgconfig
+   X? ( dev-lang/swig )"
+
+PATCHES=(
+   # bug 746590
+   "${FILESDIR}/${PN}-flock.patch"
+)
+
+pkg_setup() {
+   if use 

[gentoo-commits] repo/gentoo:master commit in: app-emacs/scala-ts-mode/

2024-03-20 Thread Florian Schmaus
commit: e83b8d1d845bb31518d83e0926d09f0d1e700f84
Author: Florian Schmaus  gentoo  org>
AuthorDate: Wed Mar 20 22:07:36 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Wed Mar 20 22:08:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e83b8d1d

app-emacs/scala-ts-mode: add gnu-emacs@ as maintainer

Signed-off-by: Florian Schmaus  gentoo.org>

 app-emacs/scala-ts-mode/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/app-emacs/scala-ts-mode/metadata.xml 
b/app-emacs/scala-ts-mode/metadata.xml
index 7e270e83dac9..6dac1c0f961b 100644
--- a/app-emacs/scala-ts-mode/metadata.xml
+++ b/app-emacs/scala-ts-mode/metadata.xml
@@ -5,6 +5,10 @@
Florian Schmaus
f...@gentoo.org

+   
+   gnu-em...@gentoo.org
+   Gentoo GNU Emacs project
+   

KaranAhlawat/scala-ts-mode




[gentoo-commits] repo/proj/guru:dev commit in: games-strategy/armies-of-exigo-demo/

2024-03-20 Thread Vitaly Zdanevich
commit: ef766f85eb1de1b41e895ac52285d5d3a4506f90
Author: Vitaly Zdanevich  ya  ru>
AuthorDate: Wed Mar 20 22:05:01 2024 +
Commit: Vitaly Zdanevich  ya  ru>
CommitDate: Wed Mar 20 22:05:01 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ef766f85

games-strategy/armies-of-exigo-demo: einfo typo

Signed-off-by: Vitaly Zdanevich  ya.ru>

 games-strategy/armies-of-exigo-demo/armies-of-exigo-demo-1.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/games-strategy/armies-of-exigo-demo/armies-of-exigo-demo-1.0.ebuild 
b/games-strategy/armies-of-exigo-demo/armies-of-exigo-demo-1.0.ebuild
index c8c0125fd8..10323aecaa 100644
--- a/games-strategy/armies-of-exigo-demo/armies-of-exigo-demo-1.0.ebuild
+++ b/games-strategy/armies-of-exigo-demo/armies-of-exigo-demo-1.0.ebuild
@@ -5,7 +5,8 @@ EAPI=8
 
 inherit wrapper
 
-DESCRIPTION="Single and multiplayer demo of Armies of Exigo (like WarCraft 
III), Windows"
+# DESCRIPTION="Single and multiplayer demo of Armies of Exigo (like WarCraft 
III), Windows"
+DESCRIPTION="Singleplayer demo of Armies of Exigo (like WarCraft III), Windows"
 HOMEPAGE="https://en.wikipedia.org/wiki/Armies_of_Exigo;
 
 
SRC_URI="https://archive.org/download/armies-of-exigo--single-player-demo--portable-without-installer.tar/armies-of-exigo--single-player-demo--portable-without-installer.tar.xz;
@@ -52,5 +53,5 @@ pkg_postinst() {
einfo "List of creators: 
https://www.mobygames.com/game/16100/armies-of-exigo/credits/windows/;
einfo "If you want - please try to communicate with authors about 
making Armies of Exigo free and open source,"
einfo "or Intellectual Property holder can make a remake - add more 
display resolutions, improve the AI,"
-   einfo "make in runnable on modern Windows"
+   einfo "make it runnable on modern Windows"
 }



  1   2   3   >