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

2024-02-03 Thread Jason Zaman
commit: ff18a544a0a2ab7413c4ab395b7253f5ca2ceab9
Author: wangjiezhe  gmail  com>
AuthorDate: Fri Jan 19 10:27:06 2024 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sat Feb  3 19:32:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff18a544

dev-libs/protobuf: add 22.5

dependency tree:
- tensorflow-2.13.1
  - net-libs/grpc-1.55.1
- dev-libs/protobuf-22.5
- dev-cpp/abseil-cpp-20230125.2

Signed-off-by: wangjiezhe  gmail.com>
Signed-off-by: Jason Zaman  gentoo.org>

 dev-libs/protobuf/Manifest |   1 +
 ...e-ABI-for-static-and-shared-libraries-on-.patch |  71 +
 ...issing-PROTOBUF_EXPORT-for-public-symbols.patch |  32 ++
 dev-libs/protobuf/protobuf-22.5.ebuild | 117 +
 4 files changed, 221 insertions(+)

diff --git a/dev-libs/protobuf/Manifest b/dev-libs/protobuf/Manifest
index 20e1338a9868..8695f23be04a 100644
--- a/dev-libs/protobuf/Manifest
+++ b/dev-libs/protobuf/Manifest
@@ -1,3 +1,4 @@
 DIST protobuf-21.12.tar.gz 5141166 BLAKE2B 
33500612d103afb817062486a741e8e5503f82c42c70054d47d1899e6bb79f3fdde2666cad5b8eff6e1bc539c3b0cdf9f2b125ce7e5d3a459a69e84d67ab535e
 SHA512 
2dc8f552388438268d8b9f7a9e84c6abf1736be3d5031438c789c317410c9f4b5cedd25bf7da6d67b3ba32ca890869f9ddaab2284d6ac0e734a5b135ffbb1346
 DIST protobuf-21.9.tar.gz 5110670 BLAKE2B 
a4f5b7f58e1c5904ca990b100a72992f6f56177b28773f8de8c99e4158391d33cfb8aa8575915887fc9ae4294faf81d4ff6b470bc07b394bfd5885a09ba0fafe
 SHA512 
6954b42d21921e630173b7848c056ab95635627d8eddec960f3db2ddda13eedde00520a9b350722e76e2998649eb8ebe10758e1db938b6a91e38ff3295b1b7c1
+DIST protobuf-22.5.tar.gz 4924661 BLAKE2B 
d69c73f4ebfddf45fd94b4f5f898faf00256fe674f2cbc0443c60a88d7a0f47fb96f2f6262879927c6da88095b4ea3ee7fd4c471c100bf42a2bae9edf48c07f1
 SHA512 
058ab2fec5b11007972e6043071056d1944c3b6fe1d31246cddba8eb57686e3b5280f6ad3d58e78940ca63005e74a8de3c72237f9f7c5066548c5a2513ddc584
 DIST protobuf-23.3.tar.gz 5043803 BLAKE2B 
ee2edee230969555c9ef95069c7b1d6c23c3d1f8ea1b2249fb3e9f6fcf63312c6e10e9da65b80629fb08d5fb08d05a19bb9c752c25b892c1e3fd6f18b9279eb3
 SHA512 
646af367dbc61b42e322cf0b335f360e428b272e2b1f5361b2f17c18d3dc9615e1279436028b1a42275a0beadda37c2c934fc27d6c892131cc8d526d8b3b

diff --git 
a/dev-libs/protobuf/files/protobuf-22.5-Use-the-same-ABI-for-static-and-shared-libraries-on-.patch
 
b/dev-libs/protobuf/files/protobuf-22.5-Use-the-same-ABI-for-static-and-shared-libraries-on-.patch
new file mode 100644
index ..4bbed7ecbaf5
--- /dev/null
+++ 
b/dev-libs/protobuf/files/protobuf-22.5-Use-the-same-ABI-for-static-and-shared-libraries-on-.patch
@@ -0,0 +1,71 @@
+From 4329fde9cf3fab7d1b3a9abe0fbeee1ad8a8b111 Mon Sep 17 00:00:00 2001
+From: "Romain Geissler @ Amadeus" 
+Date: Tue, 6 Jun 2023 10:49:55 -0700
+Subject: [PATCH] Use the same ABI for static and shared libraries on
+ non-Windows platforms (#12983)
+
+Hi,
+
+It seems that until last year, the logic behind `PROTOBUF_USE_DLLS` was for 
Windows (MSCV) only. It was changed to all platforms here in 
https://github.com/protocolbuffers/protobuf/commit/5a0887fc6529596eff5c0f72febc602a9d494cc2
+
+Last month, the generated pkg config files were updated to reflect the 
protobuf build-time value of `PROTOBUF_USE_DLLS` as it was indeed noted that it 
changes the ABI. This was done in 
https://github.com/protocolbuffers/protobuf/pull/12700 In the commit message it 
is mentionned that most likely we shall rather have a stable ABI.
+
+Finally in https://github.com/protocolbuffers/protobuf/issues/12746 which at 
some point mentions https://issuetracker.google.com/issues/283987730#comment7 
where a Google employee hits the linker issue:
+```
+undefined reference to 
`google::protobuf::internal::ThreadSafeArena::thread_cache_'
+```
+which denotes a mix of some .o or libs built `PROTOBUF_USE_DLLS` defined and 
some others build with `PROTOBUF_USE_DLLS` undefined, resulting in ABI 
incompatibilities.
+
+I also hit this issue while trying to include protobuf in a corporate 
environment using it's own proprietary build system in which it is expected 
that .a and .so use a compatible ABI.
+
+From my own understanding, ideally we should always use `thread_local` 
variables, but experience has shown that:
+ - old iOS (iOS < 9) didn't seem to accept `thread_local`, leading to the 
`GOOGLE_PROTOBUF_NO_THREADLOCAL` macro later renamed `PROTOBUF_NO_THREADLOCAL` 
which allowed to disable this, but it is not set anywhere in the protobuf code 
base. Also I doubt you still want to support such old iOS now, so maybe you 
should consider removing all `PROTOBUF_NO_THREADLOCAL` related code paths (this 
pull request doesn't do this).
+  - MSVC's DLL interface doesn't seem to accept exporting thread local 
variables (at least from what I understood, I know absolutely nothing about the 
Windows ecosystem), yet we can "hide" a thread local variable in a static 
function using a thread local variable. However in that case 

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

2023-11-29 Thread Arthur Zamarin
commit: 13f8734348829273ba08e8d1c2085ed65e762892
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Nov 29 19:05:13 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Nov 29 19:05:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13f87343

dev-libs/protobuf: Stabilize 21.12 arm, #915948

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf/protobuf-21.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-21.12.ebuild 
b/dev-libs/protobuf/protobuf-21.12.ebuild
index b197ed46c9b8..3672570cf101 100644
--- a/dev-libs/protobuf/protobuf-21.12.ebuild
+++ b/dev-libs/protobuf/protobuf-21.12.ebuild
@@ -12,7 +12,7 @@ if [[ "${PV}" == * ]]; then
EGIT_SUBMODULES=()
 else

SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~mips ppc64 ~riscv x86 
~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc64 ~riscv x86 
~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing 
structured data"



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

2023-10-26 Thread Sam James
commit: dfeab993fab2d0e02239d3ed37a1fe017d4c5b34
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 27 02:32:19 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 27 02:32:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfeab993

dev-libs/protobuf: Stabilize 21.12 ppc64, #915948

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

 dev-libs/protobuf/protobuf-21.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-21.12.ebuild 
b/dev-libs/protobuf/protobuf-21.12.ebuild
index cccdda2b9a03..b197ed46c9b8 100644
--- a/dev-libs/protobuf/protobuf-21.12.ebuild
+++ b/dev-libs/protobuf/protobuf-21.12.ebuild
@@ -12,7 +12,7 @@ if [[ "${PV}" == * ]]; then
EGIT_SUBMODULES=()
 else

SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~mips ~ppc64 ~riscv x86 
~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~mips ppc64 ~riscv x86 
~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing 
structured data"



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

2023-10-18 Thread Arthur Zamarin
commit: d674a844b38ef779323f6b445f58db22c6586c19
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Oct 18 15:43:56 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Oct 18 15:43:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d674a844

dev-libs/protobuf: Stabilize 21.12 x86, #915948

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf/protobuf-21.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-21.12.ebuild 
b/dev-libs/protobuf/protobuf-21.12.ebuild
index bcd4a64e75a9..cccdda2b9a03 100644
--- a/dev-libs/protobuf/protobuf-21.12.ebuild
+++ b/dev-libs/protobuf/protobuf-21.12.ebuild
@@ -12,7 +12,7 @@ if [[ "${PV}" == * ]]; then
EGIT_SUBMODULES=()
 else

SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~mips ~ppc64 ~riscv ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~mips ~ppc64 ~riscv x86 
~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing 
structured data"



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

2023-10-18 Thread Sam James
commit: 5e628a91763632cc05e42ac9b02f35ea4e800b53
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 18 14:08:10 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 18 14:08:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e628a91

dev-libs/protobuf: Stabilize 21.12 amd64, #915948

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

 dev-libs/protobuf/protobuf-21.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-21.12.ebuild 
b/dev-libs/protobuf/protobuf-21.12.ebuild
index 5346985c252e..bcd4a64e75a9 100644
--- a/dev-libs/protobuf/protobuf-21.12.ebuild
+++ b/dev-libs/protobuf/protobuf-21.12.ebuild
@@ -12,7 +12,7 @@ if [[ "${PV}" == * ]]; then
EGIT_SUBMODULES=()
 else

SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~loong ~mips ~ppc64 ~riscv ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~mips ~ppc64 ~riscv ~x86 
~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing 
structured data"



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

2023-10-18 Thread Sam James
commit: 26d9ebc5d3936f344aa6d8eed201f1175cfa9eab
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 18 10:13:51 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 18 10:13:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26d9ebc5

dev-libs/protobuf: Stabilize 21.12 arm64, #915948

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

 dev-libs/protobuf/protobuf-21.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-21.12.ebuild 
b/dev-libs/protobuf/protobuf-21.12.ebuild
index 6fe34f584e4c..5346985c252e 100644
--- a/dev-libs/protobuf/protobuf-21.12.ebuild
+++ b/dev-libs/protobuf/protobuf-21.12.ebuild
@@ -12,7 +12,7 @@ if [[ "${PV}" == * ]]; then
EGIT_SUBMODULES=()
 else

SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~loong ~mips ~ppc64 ~riscv ~x86 
~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing 
structured data"



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

2023-10-14 Thread Arthur Zamarin
commit: 8563c2e9c539e761128ba73554b00141f18f4994
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Oct 14 16:52:56 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Oct 14 16:52:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8563c2e9

dev-libs/protobuf: Keyword 23.3-r2 sparc, #912773

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf/protobuf-23.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-23.3-r2.ebuild 
b/dev-libs/protobuf/protobuf-23.3-r2.ebuild
index 0007fbe3cbca..c9721bfd61ce 100644
--- a/dev-libs/protobuf/protobuf-23.3-r2.ebuild
+++ b/dev-libs/protobuf/protobuf-23.3-r2.ebuild
@@ -12,7 +12,7 @@ if [[ "${PV}" == * ]]; then
EGIT_SUBMODULES=()
 else

SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing 
structured data"



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

2023-10-09 Thread Sam James
commit: 49332be146a1c02b19bab3df6761e8cc0ae1ed4a
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct  9 21:45:07 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct  9 21:45:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49332be1

dev-libs/protobuf-c: Stabilize 1.4.1-r1 amd64, #915412

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

 dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild
index f73ff3ea7730..b7000c160efc 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2023-10-09 Thread Sam James
commit: 75ce610127949ad777287a64fdcfa9f64ca9565a
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct  9 07:04:23 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct  9 07:04:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75ce6101

dev-libs/protobuf-c: Stabilize 1.4.1-r1 ppc64, #915412

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

 dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild
index 05b6fbf6e197..2145fb125497 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc ~x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2023-10-08 Thread Sam James
commit: 60774c7ab980c9abb58dc9ad4cdbac2cac7810e6
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct  9 04:36:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct  9 04:36:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60774c7a

dev-libs/protobuf-c: Stabilize 1.4.1-r1 sparc, #915412

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

 dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild
index b41bc50791b2..05b6fbf6e197 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2023-10-08 Thread Sam James
commit: 2d687536e5a47411d673c4b180a66e2fe75e04f5
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct  9 04:27:21 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct  9 04:27:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d687536

dev-libs/protobuf-c: Stabilize 1.4.1-r1 arm64, #915412

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

 dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild
index 50c6fdbc2e60..b41bc50791b2 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2023-10-08 Thread Sam James
commit: 588622da83810d9adc9cd1a35bbed52bcf0a1ce8
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct  9 04:23:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct  9 04:23:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=588622da

dev-libs/protobuf-c: Stabilize 1.4.1-r1 arm, #915412

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

 dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild
index edb57577cfd9..50c6fdbc2e60 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2023-10-02 Thread Hans de Graaff
commit: 18f7c3dc5579906aceb8ba0426c9d913519709e9
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Oct  2 16:52:43 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Oct  2 16:53:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18f7c3dc

dev-libs/protobuf-c: drop 1.4.0-r1

Bug: https://bugs.gentoo.org/904423
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-libs/protobuf-c/Manifest   |  1 -
 dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild | 53 --
 2 files changed, 54 deletions(-)

diff --git a/dev-libs/protobuf-c/Manifest b/dev-libs/protobuf-c/Manifest
index 0044b4089538..9e824fc64956 100644
--- a/dev-libs/protobuf-c/Manifest
+++ b/dev-libs/protobuf-c/Manifest
@@ -1,2 +1 @@
-DIST protobuf-c-1.4.0.tar.gz 505251 BLAKE2B 
5f53238c064f82de87012eb739bf6a44c202d0dbf2fc5af394accdc52a9934d1fb9cea2bb4a4d529fdf98959546aaa672c1c991a9a7016803d16f65accc907cd
 SHA512 
6a2e5031b85b5986e863661437dea002eba217257a50a27db88d29fa1a3db1014ed6ec7c21d89df700d181b18e169d1037146cb6475c10cd5a068a91e522e3c3
 DIST protobuf-c-1.4.1.tar.gz 513596 BLAKE2B 
b5e87a3154863581b81790a26b6b522c2b3ad138e966053f20c6264b4a7677d6c5bff8e27faa7c6cfa9e982b72b06e2f518a3def9f6db13241c3cb3ee9afc8f6
 SHA512 
190a4aa5c607853e6bf860b0974deb21e4f7f6209e810251eaca9612b59ea676779b0ca217fb1572914ffb8de3315a7d24f162b14d447ee671a9adc5b1271e41

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
deleted file mode 100644
index 8e8ab4e49d70..
--- a/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools multilib-minimal
-
-MY_PV="${PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="Protocol Buffers implementation in C"
-HOMEPAGE="https://github.com/protobuf-c/protobuf-c;
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.gz;
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="BSD-2"
-# Subslot == SONAME version
-SLOT="0/1.0.0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
-IUSE="static-libs test"
-RESTRICT="!test? ( test )"
-
-BDEPEND=">=dev-libs/protobuf-3:0
-   virtual/pkgconfig"
-DEPEND=">=dev-libs/protobuf-3:0=[${MULTILIB_USEDEP}]"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.4.0-include-path.patch
-)
-
-src_prepare() {
-   default
-
-   if ! use test; then
-   eapply "${FILESDIR}"/${PN}-1.3.0-no-build-tests.patch
-   fi
-
-   eautoreconf
-}
-
-multilib_src_configure() {
-   local myeconfargs=(
-   $(use_enable static-libs static)
-   )
-
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_install_all() {
-   find "${ED}" -name '*.la' -type f -delete || die
-   einstalldocs
-}



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

2023-08-22 Thread Sam James
commit: 79bf402140741157a301a70ef9f89fecdbd646e7
Author: Alfred Wingate  protonmail  com>
AuthorDate: Tue Aug 22 04:38:53 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 22 10:22:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79bf4021

dev-libs/protobuf: add minimum abseil-cpp version requirement

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

 .../protobuf/{protobuf-23.3-r1.ebuild => protobuf-23.3-r2.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/protobuf/protobuf-23.3-r1.ebuild 
b/dev-libs/protobuf/protobuf-23.3-r2.ebuild
similarity index 95%
rename from dev-libs/protobuf/protobuf-23.3-r1.ebuild
rename to dev-libs/protobuf/protobuf-23.3-r2.ebuild
index 409cace39f18..0007fbe3cbca 100644
--- a/dev-libs/protobuf/protobuf-23.3-r1.ebuild
+++ b/dev-libs/protobuf/protobuf-23.3-r2.ebuild
@@ -25,12 +25,12 @@ RESTRICT="!test? ( test )"
 
 BDEPEND="emacs? ( app-editors/emacs:* )"
 DEPEND="
-   dev-cpp/abseil-cpp:=[${MULTILIB_USEDEP}]
+   >=dev-cpp/abseil-cpp-20230125.3:=[${MULTILIB_USEDEP}]
zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
test? ( >=dev-cpp/gtest-1.9[${MULTILIB_USEDEP}] )
 "
 RDEPEND="
-   dev-cpp/abseil-cpp:=[${MULTILIB_USEDEP}]
+   >=dev-cpp/abseil-cpp-20230125.3:=[${MULTILIB_USEDEP}]
emacs? ( app-editors/emacs:* )
zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
 "



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

2023-08-21 Thread Sam James
commit: 08cd4cb67131e6cbd177a05b3a908f5b00716f33
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 21 19:57:26 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 21 19:57:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08cd4cb6

dev-libs/protobuf-c: fix build w/ new protobuf

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

 .../files/protobuf-c-1.4.1-protobuf-22.patch   | 501 +
 dev-libs/protobuf-c/protobuf-c-1.4.1-r1.ebuild |  56 +++
 2 files changed, 557 insertions(+)

diff --git a/dev-libs/protobuf-c/files/protobuf-c-1.4.1-protobuf-22.patch 
b/dev-libs/protobuf-c/files/protobuf-c-1.4.1-protobuf-22.patch
new file mode 100644
index ..5e53899aee3d
--- /dev/null
+++ b/dev-libs/protobuf-c/files/protobuf-c-1.4.1-protobuf-22.patch
@@ -0,0 +1,501 @@
+https://bugs.gentoo.org/912775
+https://github.com/protobuf-c/protobuf-c/issues/679
+https://github.com/protobuf-c/protobuf-c/issues/544
+https://github.com/protobuf-c/protobuf-c/pull/673
+
+From ad48868dfe77592c4bacf936ade208f384a26b09 Mon Sep 17 00:00:00 2001
+From: Robert Edmonds 
+Date: Sun, 2 Jul 2023 17:48:18 -0400
+Subject: [PATCH 1/7] protoc-c: Remove GOOGLE_DISALLOW_EVIL_CONSTRUCTORS macro
+ invocations
+
+protobuf has removed the definition of this macro as of commit
+1595417dd3859bbff7d3d61ad0b6e39044d47489, so the invocation of this
+macro in protobuf-c breaks the build when building agaist the protobuf
+22.x or 23.x series.
+
+Simply removing the macro invocations seems to be safe and doesn't break
+the build on Debian's protobuf 3.21.12 nor Debian's protobuf 3.6.1.3.
+---
+ protoc-c/c_bytes_field.h | 2 --
+ protoc-c/c_enum.h| 2 --
+ protoc-c/c_enum_field.h  | 2 --
+ protoc-c/c_extension.h   | 2 --
+ protoc-c/c_field.h   | 5 -
+ protoc-c/c_file.h| 2 --
+ protoc-c/c_generator.h   | 3 ---
+ protoc-c/c_message.h | 2 --
+ protoc-c/c_message_field.h   | 4 
+ protoc-c/c_primitive_field.h | 4 
+ protoc-c/c_service.h | 2 --
+ protoc-c/c_string_field.h| 2 --
+ 12 files changed, 32 deletions(-)
+
+diff --git a/protoc-c/c_bytes_field.h b/protoc-c/c_bytes_field.h
+index bf873f0f..df91ef73 100644
+--- a/protoc-c/c_bytes_field.h
 b/protoc-c/c_bytes_field.h
+@@ -87,8 +87,6 @@ class BytesFieldGenerator : public FieldGenerator {
+ 
+  private:
+   std::map variables_;
+-
+-  GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(BytesFieldGenerator);
+ };
+ 
+ 
+diff --git a/protoc-c/c_enum.h b/protoc-c/c_enum.h
+index 9c34b697..089c3366 100644
+--- a/protoc-c/c_enum.h
 b/protoc-c/c_enum.h
+@@ -106,8 +106,6 @@ class EnumGenerator {
+  private:
+   const EnumDescriptor* descriptor_;
+   std::string dllexport_decl_;
+-
+-  GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(EnumGenerator);
+ };
+ 
+ }  // namespace c
+diff --git a/protoc-c/c_enum_field.h b/protoc-c/c_enum_field.h
+index 3f8c005d..e0c96adf 100644
+--- a/protoc-c/c_enum_field.h
 b/protoc-c/c_enum_field.h
+@@ -85,8 +85,6 @@ class EnumFieldGenerator : public FieldGenerator {
+ 
+  private:
+   std::map variables_;
+-
+-  GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(EnumFieldGenerator);
+ };
+ 
+ 
+diff --git a/protoc-c/c_extension.h b/protoc-c/c_extension.h
+index 95413885..bda0bc55 100644
+--- a/protoc-c/c_extension.h
 b/protoc-c/c_extension.h
+@@ -98,8 +98,6 @@ class ExtensionGenerator {
+   const FieldDescriptor* descriptor_;
+   std::string type_traits_;
+   std::string dllexport_decl_;
+-
+-  GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ExtensionGenerator);
+ };
+ 
+ }  // namespace c
+diff --git a/protoc-c/c_field.h b/protoc-c/c_field.h
+index 3cad35d3..623a872e 100644
+--- a/protoc-c/c_field.h
 b/protoc-c/c_field.h
+@@ -103,9 +103,6 @@ class FieldGenerator {
+ const std::string _macro,
+ const std::string 
_addr) const;
+   const FieldDescriptor *descriptor_;
+-
+- private:
+-  GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FieldGenerator);
+ };
+ 
+ // Convenience class which constructs FieldGenerators for a Descriptor.
+@@ -121,8 +118,6 @@ class FieldGeneratorMap {
+   std::unique_ptr[]> field_generators_;
+ 
+   static FieldGenerator* MakeGenerator(const FieldDescriptor* field);
+-
+-  GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FieldGeneratorMap);
+ };
+ 
+ }  // namespace c
+diff --git a/protoc-c/c_file.h b/protoc-c/c_file.h
+index 8dfd8ba0..db1866cd 100644
+--- a/protoc-c/c_file.h
 b/protoc-c/c_file.h
+@@ -103,8 +103,6 @@ class FileGenerator {
+   std::unique_ptr[]> enum_generators_;
+   std::unique_ptr[]> service_generators_;
+   std::unique_ptr[]> 
extension_generators_;
+-
+-  GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FileGenerator);
+ };
+ 
+ }  // namespace c
+diff --git a/protoc-c/c_generator.h b/protoc-c/c_generator.h
+index ac1ffafe..b8b44aaa 100644
+--- a/protoc-c/c_generator.h
 b/protoc-c/c_generator.h
+@@ -93,9 +93,6 @@ class PROTOC_C_EXPORT CGenerator : 

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

2023-08-21 Thread Sam James
commit: 6d36321cc3abc3241af6f44a4f61cf1eea189aaa
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 21 18:09:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 21 18:22:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d36321c

dev-libs/protobuf: fix RDEPEND

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

 dev-libs/protobuf/{protobuf-23.3.ebuild => protobuf-23.3-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-libs/protobuf/protobuf-23.3.ebuild 
b/dev-libs/protobuf/protobuf-23.3-r1.ebuild
similarity index 98%
rename from dev-libs/protobuf/protobuf-23.3.ebuild
rename to dev-libs/protobuf/protobuf-23.3-r1.ebuild
index 1f8c83bb436e..409cace39f18 100644
--- a/dev-libs/protobuf/protobuf-23.3.ebuild
+++ b/dev-libs/protobuf/protobuf-23.3-r1.ebuild
@@ -30,6 +30,7 @@ DEPEND="
test? ( >=dev-cpp/gtest-1.9[${MULTILIB_USEDEP}] )
 "
 RDEPEND="
+   dev-cpp/abseil-cpp:=[${MULTILIB_USEDEP}]
emacs? ( app-editors/emacs:* )
zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
 "



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

2023-08-21 Thread Sam James
commit: 1bb07c91ec18d88372147c4da436b7788ee84df6
Author: Mark Conway  themobiusproject  com>
AuthorDate: Mon Jun 26 00:46:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 21 17:29:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bb07c91

dev-libs/protobuf: version bump to 23.3

Upstream's versioning has change which messes with slot numbers.

Closes: https://bugs.gentoo.org/906811
Signed-off-by: Mark Conway  themobiusproject.com>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/protobuf/Manifest |   1 +
 .../files/protobuf-23.3-disable-32-bit-tests.patch |  34 +++
 .../protobuf-23.3-static_assert-failure.patch  |  11 +++
 dev-libs/protobuf/protobuf-23.3.ebuild | 107 +
 4 files changed, 153 insertions(+)

diff --git a/dev-libs/protobuf/Manifest b/dev-libs/protobuf/Manifest
index 85bcbb4bda71..5c1352c6 100644
--- a/dev-libs/protobuf/Manifest
+++ b/dev-libs/protobuf/Manifest
@@ -1 +1,2 @@
 DIST protobuf-21.9.tar.gz 5110670 BLAKE2B 
a4f5b7f58e1c5904ca990b100a72992f6f56177b28773f8de8c99e4158391d33cfb8aa8575915887fc9ae4294faf81d4ff6b470bc07b394bfd5885a09ba0fafe
 SHA512 
6954b42d21921e630173b7848c056ab95635627d8eddec960f3db2ddda13eedde00520a9b350722e76e2998649eb8ebe10758e1db938b6a91e38ff3295b1b7c1
+DIST protobuf-23.3.tar.gz 5043803 BLAKE2B 
ee2edee230969555c9ef95069c7b1d6c23c3d1f8ea1b2249fb3e9f6fcf63312c6e10e9da65b80629fb08d5fb08d05a19bb9c752c25b892c1e3fd6f18b9279eb3
 SHA512 
646af367dbc61b42e322cf0b335f360e428b272e2b1f5361b2f17c18d3dc9615e1279436028b1a42275a0beadda37c2c934fc27d6c892131cc8d526d8b3b

diff --git a/dev-libs/protobuf/files/protobuf-23.3-disable-32-bit-tests.patch 
b/dev-libs/protobuf/files/protobuf-23.3-disable-32-bit-tests.patch
new file mode 100644
index ..1e49bc981d8e
--- /dev/null
+++ b/dev-libs/protobuf/files/protobuf-23.3-disable-32-bit-tests.patch
@@ -0,0 +1,34 @@
+https://github.com/protocolbuffers/protobuf/issues/8460
+--- a/src/google/protobuf/any_test.cc
 b/src/google/protobuf/any_test.cc
+@@ -63,6 +63,8 @@ TEST(AnyTest, TestPackAndUnpack) {
+ }
+ 
+ TEST(AnyTest, TestPackFromSerializationExceedsSizeLimit) {
++  // Filter out this test on 32-bit architectures.
++  if(sizeof(void*) < 8) return;
+   protobuf_unittest::TestAny submessage;
+   submessage.mutable_text()->resize(INT_MAX, 'a');
+   protobuf_unittest::TestAny message;
+
+https://github.com/protocolbuffers/protobuf/issues/8459
+--- a/src/google/protobuf/arena_unittest.cc
 b/src/google/protobuf/arena_unittest.cc
+@@ -1373,6 +1373,8 @@ TEST(ArenaTest, MessageLiteOnArena) {
+ uint64_t Align8(uint64_t n) { return (n + 7) & -8; }
+ 
+ TEST(ArenaTest, SpaceAllocated_and_Used) {
++  // Filter out this test on 32-bit architectures.
++  if(sizeof(void*) < 8) return;
+   Arena arena_1;
+   EXPECT_EQ(0, arena_1.SpaceAllocated());
+   EXPECT_EQ(0, arena_1.SpaceUsed());
+@@ -1453,6 +1455,8 @@ TEST(ArenaTest, Alignment) {
+ }
+ 
+ TEST(ArenaTest, BlockSizeSmallerThanAllocation) {
++  // Filter out this test on 32-bit architectures.
++  if(sizeof(void*) < 8) return;
+   for (size_t i = 0; i <= 8; ++i) {
+ ArenaOptions opt;
+ opt.start_block_size = opt.max_block_size = i;

diff --git a/dev-libs/protobuf/files/protobuf-23.3-static_assert-failure.patch 
b/dev-libs/protobuf/files/protobuf-23.3-static_assert-failure.patch
new file mode 100644
index ..53ca65814251
--- /dev/null
+++ b/dev-libs/protobuf/files/protobuf-23.3-static_assert-failure.patch
@@ -0,0 +1,11 @@
+https://github.com/protocolbuffers/protobuf/issues/9433
+--- a/src/google/protobuf/descriptor.cc
 b/src/google/protobuf/descriptor.cc
+@@ -384,7 +384,6 @@ class FlatAllocatorImpl {
+ ABSL_CHECK(!has_allocated());
+ if (std::is_trivially_destructible::value) {
+   // Trivial types are aligned to 8 bytes.
+-  static_assert(alignof(U) <= 8, "");
+   total_.template Get() += RoundUpTo<8>(array_size * sizeof(U));
+ } else {
+   // Since we can't use `if constexpr`, just make the expression compile

diff --git a/dev-libs/protobuf/protobuf-23.3.ebuild 
b/dev-libs/protobuf/protobuf-23.3.ebuild
new file mode 100644
index ..d4664ca777c0
--- /dev/null
+++ b/dev-libs/protobuf/protobuf-23.3.ebuild
@@ -0,0 +1,107 @@
+# Copyright 2008-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib elisp-common toolchain-funcs
+
+if [[ "${PV}" == * ]]; then
+   inherit git-r3
+
+   EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf.git;
+   EGIT_SUBMODULES=()
+else
+   
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+fi
+
+DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing 
structured data"
+HOMEPAGE="https://protobuf.dev/;
+

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

2023-08-21 Thread Sam James
commit: 6d231d90376246566071cd3bd91ada45d8f57abc
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 13 11:49:50 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 21 17:29:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d231d90

dev-libs/protobuf: add 21.12

Bug: https://bugs.gentoo.org/909081
Closes: https://bugs.gentoo.org/906811
Signed-off-by: Sam James  gentoo.org>

 dev-libs/protobuf/Manifest| 1 +
 dev-libs/protobuf/{protobuf-23.3.ebuild => protobuf-21.12.ebuild} | 4 +---
 dev-libs/protobuf/protobuf-23.3.ebuild| 2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/dev-libs/protobuf/Manifest b/dev-libs/protobuf/Manifest
index 5c1352c6..20e1338a9868 100644
--- a/dev-libs/protobuf/Manifest
+++ b/dev-libs/protobuf/Manifest
@@ -1,2 +1,3 @@
+DIST protobuf-21.12.tar.gz 5141166 BLAKE2B 
33500612d103afb817062486a741e8e5503f82c42c70054d47d1899e6bb79f3fdde2666cad5b8eff6e1bc539c3b0cdf9f2b125ce7e5d3a459a69e84d67ab535e
 SHA512 
2dc8f552388438268d8b9f7a9e84c6abf1736be3d5031438c789c317410c9f4b5cedd25bf7da6d67b3ba32ca890869f9ddaab2284d6ac0e734a5b135ffbb1346
 DIST protobuf-21.9.tar.gz 5110670 BLAKE2B 
a4f5b7f58e1c5904ca990b100a72992f6f56177b28773f8de8c99e4158391d33cfb8aa8575915887fc9ae4294faf81d4ff6b470bc07b394bfd5885a09ba0fafe
 SHA512 
6954b42d21921e630173b7848c056ab95635627d8eddec960f3db2ddda13eedde00520a9b350722e76e2998649eb8ebe10758e1db938b6a91e38ff3295b1b7c1
 DIST protobuf-23.3.tar.gz 5043803 BLAKE2B 
ee2edee230969555c9ef95069c7b1d6c23c3d1f8ea1b2249fb3e9f6fcf63312c6e10e9da65b80629fb08d5fb08d05a19bb9c752c25b892c1e3fd6f18b9279eb3
 SHA512 
646af367dbc61b42e322cf0b335f360e428b272e2b1f5361b2f17c18d3dc9615e1279436028b1a42275a0beadda37c2c934fc27d6c892131cc8d526d8b3b

diff --git a/dev-libs/protobuf/protobuf-23.3.ebuild 
b/dev-libs/protobuf/protobuf-21.12.ebuild
similarity index 96%
copy from dev-libs/protobuf/protobuf-23.3.ebuild
copy to dev-libs/protobuf/protobuf-21.12.ebuild
index d4664ca777c0..6fe34f584e4c 100644
--- a/dev-libs/protobuf/protobuf-23.3.ebuild
+++ b/dev-libs/protobuf/protobuf-21.12.ebuild
@@ -19,13 +19,12 @@ DESCRIPTION="Google's Protocol Buffers - Extensible 
mechanism for serializing st
 HOMEPAGE="https://protobuf.dev/;
 
 LICENSE="BSD"
-SLOT="0/$(ver_cut 1-2)"
+SLOT="0/3.$(ver_cut 1-2).0"
 IUSE="emacs examples test zlib"
 RESTRICT="!test? ( test )"
 
 BDEPEND="emacs? ( app-editors/emacs:* )"
 DEPEND="
-   dev-cpp/abseil-cpp:=[${MULTILIB_USEDEP}]
zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
test? ( >=dev-cpp/gtest-1.9[${MULTILIB_USEDEP}] )
 "
@@ -56,7 +55,6 @@ multilib_src_configure() {
-Dprotobuf_BUILD_EXAMPLES=$(usex examples)
-Dprotobuf_WITH_ZLIB=$(usex zlib)
-Dprotobuf_BUILD_TESTS=$(usex test)
-   -Dprotobuf_ABSL_PROVIDER=package
)
use test && mycmakeargs+=(-Dprotobuf_USE_EXTERNAL_GTEST=ON)
 

diff --git a/dev-libs/protobuf/protobuf-23.3.ebuild 
b/dev-libs/protobuf/protobuf-23.3.ebuild
index d4664ca777c0..1f8c83bb436e 100644
--- a/dev-libs/protobuf/protobuf-23.3.ebuild
+++ b/dev-libs/protobuf/protobuf-23.3.ebuild
@@ -19,7 +19,7 @@ DESCRIPTION="Google's Protocol Buffers - Extensible mechanism 
for serializing st
 HOMEPAGE="https://protobuf.dev/;
 
 LICENSE="BSD"
-SLOT="0/$(ver_cut 1-2)"
+SLOT="0/$(ver_cut 1-2).0"
 IUSE="emacs examples test zlib"
 RESTRICT="!test? ( test )"
 



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

2023-06-27 Thread Andreas Sturmlechner
commit: 2bf32183a2b79e19eb860b8e39dd2e8ac226113e
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Jun 27 20:00:38 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Jun 27 20:14:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bf32183

dev-libs/protobuf: drop unmaintained 

Multiple patches are broken, not synced with last release version bump,
autotools build system is dead.

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 ...protobuf-3.20.1-protoc_input_output_files.patch | 240 -
 dev-libs/protobuf/protobuf-.ebuild | 148 -
 2 files changed, 388 deletions(-)

diff --git 
a/dev-libs/protobuf/files/protobuf-3.20.1-protoc_input_output_files.patch 
b/dev-libs/protobuf/files/protobuf-3.20.1-protoc_input_output_files.patch
deleted file mode 100644
index 39a68650a74a..
--- a/dev-libs/protobuf/files/protobuf-3.20.1-protoc_input_output_files.patch
+++ /dev/null
@@ -1,240 +0,0 @@
-https://github.com/protocolbuffers/protobuf/pull/235
-
 a/src/google/protobuf/compiler/command_line_interface.cc
-+++ b/src/google/protobuf/compiler/command_line_interface.cc
-@@ -1110,6 +1110,28 @@
-   }
-
-   if (mode_ == MODE_ENCODE || mode_ == MODE_DECODE) {
-+bool success = false;
-+int in_fd = STDIN_FILENO;
-+int out_fd = STDOUT_FILENO;
-+
-+if (!protobuf_in_path_.empty()) {
-+  in_fd = open(protobuf_in_path_.c_str(), O_RDONLY);
-+  if (in_fd == -1) {
-+std::cerr << protobuf_in_path_ << ": error: failed to open file." << 
std::endl;
-+return 1;
-+  }
-+}
-+if (!protobuf_out_path_.empty()) {
-+  out_fd = open(protobuf_out_path_.c_str(),
-+O_WRONLY | O_CREAT | O_TRUNC,
-+0644);
-+  if (out_fd == -1) {
-+std::cerr << protobuf_out_path_ << ": error: failed to open file." << 
std::endl;
-+close(in_fd);
-+return 1;
-+  }
-+}
-+
- if (codec_type_.empty()) {
-   // HACK:  Define an EmptyMessage type to use for decoding.
-   DescriptorPool pool;
-@@ -1118,13 +1140,20 @@
-   file.add_message_type()->set_name("EmptyMessage");
-   GOOGLE_CHECK(pool.BuildFile(file) != NULL);
-   codec_type_ = "EmptyMessage";
--  if (!EncodeOrDecode()) {
--return 1;
--  }
-+  success = EncodeOrDecode(, in_fd, out_fd);
- } else {
--  if (!EncodeOrDecode(descriptor_pool.get())) {
--return 1;
--  }
-+  success = EncodeOrDecode(descriptor_pool.get(), in_fd, out_fd);
-+}
-+
-+if (in_fd != STDIN_FILENO) {
-+  close(in_fd);
-+}
-+if (out_fd != STDOUT_FILENO) {
-+  close(out_fd);
-+}
-+
-+if (!success) {
-+  return 1;
- }
-   }
-
-@@ -1163,6 +1192,11 @@
-   for (int i = 0; i < proto_path_.size(); i++) {
- source_tree->MapPath(proto_path_[i].first, proto_path_[i].second);
-   }
-+  if (mode_ == MODE_COMPILE &&
-+  (!protobuf_in_path_.empty() || !protobuf_out_path_.empty())) {
-+std::cerr << "--protobuf_in and --protobuf_out are only valid with "
-+ << "decode operations. Ignoring.";
-+  }
-
-   // Map input files to virtual paths if possible.
-   if (!MakeInputsBeProtoPathRelative(source_tree, fallback_database)) {
-@@ -1885,6 +1919,12 @@
-   } else if (name == "--deterministic_output") {
- deterministic_output_ = true;
-
-+  } else if (name == "--protobuf_in") {
-+protobuf_in_path_ = value;
-+
-+  } else if (name == "--protobuf_out") {
-+protobuf_out_path_ = value;
-+
-   } else if (name == "--error_format") {
- if (value == "gcc") {
-   error_format_ = ERROR_FORMAT_GCC;
-@@ -2018,22 +2058,38 @@
-   --version   Show version info and exit.
-   -h, --help  Show this text and exit.
-   --encode=MESSAGE_TYPE   Read a text-format message of the given type
--  from standard input and write it in binary
--  to standard output.  The message type must
-+  from input protobuf file and write it in binary
-+  to output protobuf file.  The message type must
-   be defined in PROTO_FILES or their imports.
-+  The input/output protobuf files are specified
-+  using the --protobuf_in and --protobuf_out
-+  command line flags.
-   --deterministic_output  When using --encode, ensure map fields are
-   deterministically ordered. Note that this order
-   is not canonical, and changes across builds or
-   releases of protoc.
-   --decode=MESSAGE_TYPE   Read a binary message of the given type from
--  standard input and write it in text format
--  to standard output.  The 

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

2023-06-27 Thread Andreas Sturmlechner
commit: 7ff3e7e2d1447f4377cdeb6824f1563aa79a560e
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Jun 27 19:40:24 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Jun 27 20:14:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ff3e7e2

dev-libs/protobuf: drop 3.19.3, 3.19.6, 3.20.1-r1, 3.20.3, 21.8

Bug: https://bugs.gentoo.org/905797
Bug: https://bugs.gentoo.org/872434
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-libs/protobuf/Manifest |   5 -
 ...protobuf-3.16.0-protoc_input_output_files.patch | 240 -
 dev-libs/protobuf/protobuf-21.8.ebuild | 148 -
 dev-libs/protobuf/protobuf-3.19.3.ebuild   | 146 -
 dev-libs/protobuf/protobuf-3.19.6.ebuild   | 151 -
 dev-libs/protobuf/protobuf-3.20.1-r1.ebuild| 143 
 dev-libs/protobuf/protobuf-3.20.3.ebuild   | 148 -
 7 files changed, 981 deletions(-)

diff --git a/dev-libs/protobuf/Manifest b/dev-libs/protobuf/Manifest
index 5dd5ef74895c..85bcbb4bda71 100644
--- a/dev-libs/protobuf/Manifest
+++ b/dev-libs/protobuf/Manifest
@@ -1,6 +1 @@
-DIST protobuf-21.8.tar.gz 5110670 BLAKE2B 
3c1b0c857a86e9586481d63896341d0cb11290dbd710d87a6f7889d34f5f262abe2986a29ed19a730f8fa5df0b5c62d77a4db6aa415a72b239f7483ae8d6380c
 SHA512 
cb17be759311e91172801add1f88fe7a0291b547170c40d2e3303f5c248570dddeade96bd48740edd628215f55269c97475e2f4c4a41c50f1018d525f52036cb
 DIST protobuf-21.9.tar.gz 5110670 BLAKE2B 
a4f5b7f58e1c5904ca990b100a72992f6f56177b28773f8de8c99e4158391d33cfb8aa8575915887fc9ae4294faf81d4ff6b470bc07b394bfd5885a09ba0fafe
 SHA512 
6954b42d21921e630173b7848c056ab95635627d8eddec960f3db2ddda13eedde00520a9b350722e76e2998649eb8ebe10758e1db938b6a91e38ff3295b1b7c1
-DIST protobuf-3.19.3.tar.gz 5293258 BLAKE2B 
c05b70ffca97f7166ea6a511a36907eed125edf1ebf17f908718221d9b851be84dfb2b1b39973f2faf35f6ade630e6ba4f9e8b91b8fbc922c5db97079323ee6e
 SHA512 
1c003e7cbc8eae6a038f46e688b401ee202ba47f502561e909df79770f6e8b7daf3dc1ccc727e31bfb5b52cd04cb4fef7d2d2a28d650c13f396872ad4aa076c6
-DIST protobuf-3.19.6.tar.gz 5299501 BLAKE2B 
3121f76b95f83c5309ce49ce296b738eff7be9d3a5093c564fbe2339fb5f3729e406f1b44bfcc05feb0d31ab63838bb4f54685017977c73a33b91215a6776072
 SHA512 
8f92242f2be8e1bbfba41341c87709ad91ad83b8b3e3df88bb430411541d3399295f49291fd52b50e3487b0fce33181cb4d175685fd25aac72adfaee26a612d4
-DIST protobuf-3.20.1.tar.gz 5368262 BLAKE2B 
1ce1aef2e4c4f3ea4863629cc75d89fe17d0c7ac0c342ac641c787456fd4a12756c2892a27ddadedc94a7201494ec84566638ce33a03cb0c867b04e9eee0edb3
 SHA512 
fde3eb9f13946887ddfd87df428c5615ad09aaf191e4478b24e98e5e13231feeff4e70b4ca6a2ff7d9b9b2e2c60bc1d5479526edeafa78f9a8ed3bef2e0bacb0
-DIST protobuf-3.20.3.tar.gz 5374320 BLAKE2B 
fb51f2a0ecf5b83235f5252051f8192ae377bb7a5e030c3f3e9435ccde25919c059830cf476e840fa6c970928a32c0075e213c9d5d4d9e3d3b24732c39a9fbfa
 SHA512 
01d6703bdbe769a1200ee6e4ebcdcb99688ec21f576988c60d82ec36e0822820fb245fcb4ca53293143d53e666d748b5a0c6937bc659fb3cdc4cd9b05ed12a1c

diff --git 
a/dev-libs/protobuf/files/protobuf-3.16.0-protoc_input_output_files.patch 
b/dev-libs/protobuf/files/protobuf-3.16.0-protoc_input_output_files.patch
deleted file mode 100644
index 60c450eb2822..
--- a/dev-libs/protobuf/files/protobuf-3.16.0-protoc_input_output_files.patch
+++ /dev/null
@@ -1,240 +0,0 @@
-https://github.com/protocolbuffers/protobuf/pull/235
-
 a/src/google/protobuf/compiler/command_line_interface.cc
-+++ b/src/google/protobuf/compiler/command_line_interface.cc
-@@ -1110,6 +1110,28 @@
-   }
- 
-   if (mode_ == MODE_ENCODE || mode_ == MODE_DECODE) {
-+bool success = false;
-+int in_fd = STDIN_FILENO;
-+int out_fd = STDOUT_FILENO;
-+
-+if (!protobuf_in_path_.empty()) {
-+  in_fd = open(protobuf_in_path_.c_str(), O_RDONLY);
-+  if (in_fd == -1) {
-+std::cerr << protobuf_in_path_ << ": error: failed to open file." << 
std::endl;
-+return 1;
-+  }
-+}
-+if (!protobuf_out_path_.empty()) {
-+  out_fd = open(protobuf_out_path_.c_str(),
-+O_WRONLY | O_CREAT | O_TRUNC,
-+0644);
-+  if (out_fd == -1) {
-+std::cerr << protobuf_out_path_ << ": error: failed to open file." << 
std::endl;
-+close(in_fd);
-+return 1;
-+  }
-+}
-+
- if (codec_type_.empty()) {
-   // HACK:  Define an EmptyMessage type to use for decoding.
-   DescriptorPool pool;
-@@ -1118,13 +1140,20 @@
-   file.add_message_type()->set_name("EmptyMessage");
-   GOOGLE_CHECK(pool.BuildFile(file) != NULL);
-   codec_type_ = "EmptyMessage";
--  if (!EncodeOrDecode()) {
--return 1;
--  }
-+  success = EncodeOrDecode(, in_fd, out_fd);
- } else {
--  if (!EncodeOrDecode(descriptor_pool.get())) {
--return 1;
--  }
-+  success = EncodeOrDecode(descriptor_pool.get(), in_fd, out_fd);
-+}

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

2023-01-04 Thread Sam James
commit: c62d24fa05adf1f4581a75ddca2ccd570a5e58af
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  5 07:58:14 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  5 07:58:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c62d24fa

dev-libs/protobuf: Stabilize 21.9 x86, #879971

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

 dev-libs/protobuf/protobuf-21.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-21.9.ebuild 
b/dev-libs/protobuf/protobuf-21.9.ebuild
index bf23530246df..68b9207ab7b4 100644
--- a/dev-libs/protobuf/protobuf-21.9.ebuild
+++ b/dev-libs/protobuf/protobuf-21.9.ebuild
@@ -12,7 +12,7 @@ if [[ "${PV}" == * ]]; then
EGIT_SUBMODULES=()
 else

SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing 
structured data"



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

2023-01-04 Thread Sam James
commit: 77e849402107311a9c56805df82b673e46aa3fcf
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  5 07:58:10 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  5 07:58:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77e84940

dev-libs/protobuf: Stabilize 21.9 ppc, #879971

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

 dev-libs/protobuf/protobuf-21.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-21.9.ebuild 
b/dev-libs/protobuf/protobuf-21.9.ebuild
index c4f4a4b09a45..bf23530246df 100644
--- a/dev-libs/protobuf/protobuf-21.9.ebuild
+++ b/dev-libs/protobuf/protobuf-21.9.ebuild
@@ -12,7 +12,7 @@ if [[ "${PV}" == * ]]; then
EGIT_SUBMODULES=()
 else

SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing 
structured data"



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

2023-01-04 Thread Sam James
commit: a8e6dd1a7dd5d54eb21855f76cc6bbab414d
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  5 07:58:07 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  5 07:58:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8e6dd1a

dev-libs/protobuf: Stabilize 21.9 hppa, #879971

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

 dev-libs/protobuf/protobuf-21.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-21.9.ebuild 
b/dev-libs/protobuf/protobuf-21.9.ebuild
index ce1d8c7525ae..c4f4a4b09a45 100644
--- a/dev-libs/protobuf/protobuf-21.9.ebuild
+++ b/dev-libs/protobuf/protobuf-21.9.ebuild
@@ -12,7 +12,7 @@ if [[ "${PV}" == * ]]; then
EGIT_SUBMODULES=()
 else

SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing 
structured data"



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

2023-01-04 Thread Sam James
commit: c428589f28b34f19750707aabd835ddd9a9a7ae4
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  5 07:58:03 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  5 07:58:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c428589f

dev-libs/protobuf: Stabilize 21.9 arm, #879971

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

 dev-libs/protobuf/protobuf-21.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-21.9.ebuild 
b/dev-libs/protobuf/protobuf-21.9.ebuild
index 7960f6d252ce..ce1d8c7525ae 100644
--- a/dev-libs/protobuf/protobuf-21.9.ebuild
+++ b/dev-libs/protobuf/protobuf-21.9.ebuild
@@ -12,7 +12,7 @@ if [[ "${PV}" == * ]]; then
EGIT_SUBMODULES=()
 else

SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing 
structured data"



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

2023-01-03 Thread Sam James
commit: 7778f9cadb610c8d9cdc057fe1781009d776511f
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan  4 05:58:56 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan  4 06:04:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7778f9ca

dev-libs/protobuf: backport 32-bit test fixes

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

 .../files/protobuf-21.9-disable-32-bit-tests.patch | 118 +
 dev-libs/protobuf/protobuf-21.9.ebuild |   3 +-
 2 files changed, 120 insertions(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/files/protobuf-21.9-disable-32-bit-tests.patch 
b/dev-libs/protobuf/files/protobuf-21.9-disable-32-bit-tests.patch
new file mode 100644
index ..cd6b5aa2db6d
--- /dev/null
+++ b/dev-libs/protobuf/files/protobuf-21.9-disable-32-bit-tests.patch
@@ -0,0 +1,118 @@
+https://bugs.gentoo.org/875584
+https://github.com/protocolbuffers/protobuf/pull/10589
+
+From 5f4a52d9bff7595ec47fb6727662a1cada3cd404 Mon Sep 17 00:00:00 2001
+From: Mike Kruskal 
+Date: Thu, 15 Sep 2022 10:23:23 -0700
+Subject: [PATCH 3/7] Patching static assert test failure
+
+--- a/src/google/protobuf/extension_set_unittest.cc
 b/src/google/protobuf/extension_set_unittest.cc
+@@ -855,8 +855,10 @@ TEST(ExtensionSetTest, SpaceUsedExcludingSelf) {
+ const size_t old_capacity =   
 \
+ message->GetRepeatedExtension(unittest::repeated_##type##_extension)  
 \
+ .Capacity();  
 \
+-EXPECT_GE(old_capacity,   
 \
+-  (RepeatedFieldLowerClampLimit()));  
 \
++EXPECT_GE(
 \
++old_capacity, 
 \
++(RepeatedFieldLowerClampLimit()));  
 \
+ for (int i = 0; i < 16; ++i) {
 \
+   message->AddExtension(unittest::repeated_##type##_extension, value);
 \
+ } 
 \
+
+From c94b66706bec17d918495f4715183a5eaf0f8044 Mon Sep 17 00:00:00 2001
+From: Mike Kruskal 
+Date: Thu, 15 Sep 2022 11:31:31 -0700
+Subject: [PATCH 4/7] Test fixes for 32-bit architectures
+
+--- a/src/google/protobuf/compiler/cpp/message_size_unittest.cc
 b/src/google/protobuf/compiler/cpp/message_size_unittest.cc
+@@ -139,9 +139,9 @@ TEST(GeneratedMessageTest, OneStringSize) {
+ 
+ TEST(GeneratedMessageTest, MoreStringSize) {
+   struct MockGenerated : public MockMessageBase {  // 16 bytes
+-int has_bits[1];   // 4 bytes
+ int cached_size;   // 4 bytes
+ MockRepeatedPtrField data; // 24 bytes
++// + 4 bytes padding
+   };
+   GOOGLE_CHECK_MESSAGE_SIZE(MockGenerated, 48);
+   EXPECT_EQ(sizeof(protobuf_unittest::MoreString), sizeof(MockGenerated));
+--- a/src/google/protobuf/io/zero_copy_stream_unittest.cc
 b/src/google/protobuf/io/zero_copy_stream_unittest.cc
+@@ -720,6 +720,9 @@ TEST_F(IoTest, StringIo) {
+ 
+ // Verifies that outputs up to kint32max can be created.
+ TEST_F(IoTest, LargeOutput) {
++  // Filter out this test on 32-bit architectures.
++  if(sizeof(void*) < 8) return;
++
+   std::string str;
+   StringOutputStream output();
+   void* unused_data;
+--- a/src/google/protobuf/repeated_field_unittest.cc
 b/src/google/protobuf/repeated_field_unittest.cc
+@@ -429,14 +429,14 @@ TEST(RepeatedField, ReserveNothing) {
+ 
+ TEST(RepeatedField, ReserveLowerClamp) {
+   int clamped_value = internal::CalculateReserveSize(0, 
1);
+-  EXPECT_GE(clamped_value, 8 / sizeof(bool));
++  EXPECT_GE(clamped_value, sizeof(void*) / sizeof(bool));
+   EXPECT_EQ((internal::RepeatedFieldLowerClampLimit()),
+ clamped_value);
+   // EXPECT_EQ(clamped_value, (internal::CalculateReserveSize( clamped_value, 2)));
+ 
+   clamped_value = internal::CalculateReserveSize(0, 1);
+-  EXPECT_GE(clamped_value, 8 / sizeof(int));
++  EXPECT_GE(clamped_value, sizeof(void*) / sizeof(int));
+   EXPECT_EQ((internal::RepeatedFieldLowerClampLimit()),
+ clamped_value);
+   // EXPECT_EQ(clamped_value, (internal::CalculateReserveSize= sizeof(uint64_t)) {
++Timestamp begin, end;
++EXPECT_TRUE(TimeUtil::FromString("0001-01-01T00:00:00Z", ));
++EXPECT_EQ(TimeUtil::kTimestampMinSeconds, begin.seconds());
++EXPECT_EQ(0, begin.nanos());
++EXPECT_TRUE(TimeUtil::FromString("-12-31T23:59:59.9Z", ));
++EXPECT_EQ(TimeUtil::kTimestampMaxSeconds, end.seconds());
++EXPECT_EQ(9, end.nanos());
++EXPECT_EQ("0001-01-01T00:00:00Z", TimeUtil::ToString(begin));
++EXPECT_EQ("-12-31T23:59:59.9Z", TimeUtil::ToString(end));
++  }
+ 
+   // Test negative timestamps.
+   Timestamp 

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

2022-11-17 Thread Arthur Zamarin
commit: b8c21255513c9659580b669b9cce7d74f6d93ca5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 18 07:49:56 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 18 07:49:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8c21255

dev-libs/protobuf: Stabilize 3.20.1-r1 hppa, #875326

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf/protobuf-3.20.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild 
b/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
index 232f6f6cbe83..9d47f00fd02f 100644
--- a/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
+++ b/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/31"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-11-07 Thread Arthur Zamarin
commit: 85db75d08f10d99878990c03972f1ffed7f0ba5f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Nov  7 17:26:34 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Nov  7 17:26:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85db75d0

dev-libs/protobuf: Stabilize 21.9 arm64, #879971

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf/protobuf-21.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-21.9.ebuild 
b/dev-libs/protobuf/protobuf-21.9.ebuild
index f1957a711595..c282450ef22d 100644
--- a/dev-libs/protobuf/protobuf-21.9.ebuild
+++ b/dev-libs/protobuf/protobuf-21.9.ebuild
@@ -12,7 +12,7 @@ if [[ "${PV}" == * ]]; then
EGIT_SUBMODULES=()
 else

SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing 
structured data"



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

2022-11-06 Thread Sam James
commit: ba3b0272071b72471ba4619693c282bbc483
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov  6 09:30:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov  6 09:30:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba3b0272

dev-libs/protobuf: Stabilize 21.9 ppc64, #879971

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

 dev-libs/protobuf/protobuf-21.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-21.9.ebuild 
b/dev-libs/protobuf/protobuf-21.9.ebuild
index 748fff0f4b97..f1957a711595 100644
--- a/dev-libs/protobuf/protobuf-21.9.ebuild
+++ b/dev-libs/protobuf/protobuf-21.9.ebuild
@@ -12,7 +12,7 @@ if [[ "${PV}" == * ]]; then
EGIT_SUBMODULES=()
 else

SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing 
structured data"



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

2022-11-06 Thread Sam James
commit: d8c0d48d86e7bf0ad345ab337a498e5ea2e5943c
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov  6 07:29:15 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov  6 07:29:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8c0d48d

dev-libs/protobuf: Stabilize 21.9 sparc, #879971

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

 dev-libs/protobuf/protobuf-21.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-21.9.ebuild 
b/dev-libs/protobuf/protobuf-21.9.ebuild
index 3f8f5e13f67a..748fff0f4b97 100644
--- a/dev-libs/protobuf/protobuf-21.9.ebuild
+++ b/dev-libs/protobuf/protobuf-21.9.ebuild
@@ -12,7 +12,7 @@ if [[ "${PV}" == * ]]; then
EGIT_SUBMODULES=()
 else

SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing 
structured data"



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

2022-11-06 Thread Sam James
commit: 28de8d888362ad7fce81205b787d16900594310f
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov  6 07:25:18 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov  6 07:25:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28de8d88

dev-libs/protobuf: Stabilize 21.9 amd64, #879971

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

 dev-libs/protobuf/protobuf-21.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-21.9.ebuild 
b/dev-libs/protobuf/protobuf-21.9.ebuild
index 523c763c265c..3f8f5e13f67a 100644
--- a/dev-libs/protobuf/protobuf-21.9.ebuild
+++ b/dev-libs/protobuf/protobuf-21.9.ebuild
@@ -12,7 +12,7 @@ if [[ "${PV}" == * ]]; then
EGIT_SUBMODULES=()
 else

SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing 
structured data"



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

2022-10-30 Thread David Seifert
commit: c6b53e07ad8f75c452502cb1e42edfd2d70a2eb4
Author: David Seifert  gentoo  org>
AuthorDate: Sun Oct 30 11:12:42 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Oct 30 11:12:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6b53e07

dev-libs/protobuf/files: [QA] use git-format-patch style patches

Signed-off-by: David Seifert  gentoo.org>

 .../files/protobuf-3.16.0-protoc_input_output_files.patch| 12 ++--
 .../files/protobuf-3.20.1-protoc_input_output_files.patch| 12 ++--
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git 
a/dev-libs/protobuf/files/protobuf-3.16.0-protoc_input_output_files.patch 
b/dev-libs/protobuf/files/protobuf-3.16.0-protoc_input_output_files.patch
index 7295e805a196..60c450eb2822 100644
--- a/dev-libs/protobuf/files/protobuf-3.16.0-protoc_input_output_files.patch
+++ b/dev-libs/protobuf/files/protobuf-3.16.0-protoc_input_output_files.patch
@@ -1,7 +1,7 @@
 https://github.com/protocolbuffers/protobuf/pull/235
 
 /src/google/protobuf/compiler/command_line_interface.cc
-+++ /src/google/protobuf/compiler/command_line_interface.cc
+--- a/src/google/protobuf/compiler/command_line_interface.cc
 b/src/google/protobuf/compiler/command_line_interface.cc
 @@ -1110,6 +1110,28 @@
}
  
@@ -162,8 +162,8 @@ https://github.com/protocolbuffers/protobuf/pull/235
  
if (mode_ == MODE_ENCODE) {
  // Input is text.
 /src/google/protobuf/compiler/command_line_interface.h
-+++ /src/google/protobuf/compiler/command_line_interface.h
+--- a/src/google/protobuf/compiler/command_line_interface.h
 b/src/google/protobuf/compiler/command_line_interface.h
 @@ -292,7 +292,9 @@
GeneratorContext* generator_context, std::string* error);
  
@@ -189,8 +189,8 @@ https://github.com/protocolbuffers/protobuf/pull/235
// If --descriptor_set_out was given, this is the filename to which the
// FileDescriptorSet should be written.  Otherwise, empty.
std::string descriptor_set_out_name_;
 /src/google/protobuf/compiler/command_line_interface_unittest.cc
-+++ /src/google/protobuf/compiler/command_line_interface_unittest.cc
+--- a/src/google/protobuf/compiler/command_line_interface_unittest.cc
 b/src/google/protobuf/compiler/command_line_interface_unittest.cc
 @@ -99,7 +99,7 @@
virtual void SetUp();
virtual void TearDown();

diff --git 
a/dev-libs/protobuf/files/protobuf-3.20.1-protoc_input_output_files.patch 
b/dev-libs/protobuf/files/protobuf-3.20.1-protoc_input_output_files.patch
index 812882cf6b09..39a68650a74a 100644
--- a/dev-libs/protobuf/files/protobuf-3.20.1-protoc_input_output_files.patch
+++ b/dev-libs/protobuf/files/protobuf-3.20.1-protoc_input_output_files.patch
@@ -1,7 +1,7 @@
 https://github.com/protocolbuffers/protobuf/pull/235
 
 /src/google/protobuf/compiler/command_line_interface.cc
-+++ /src/google/protobuf/compiler/command_line_interface.cc
+--- a/src/google/protobuf/compiler/command_line_interface.cc
 b/src/google/protobuf/compiler/command_line_interface.cc
 @@ -1110,6 +1110,28 @@
}
 
@@ -162,8 +162,8 @@ https://github.com/protocolbuffers/protobuf/pull/235
 
if (mode_ == MODE_ENCODE) {
  // Input is text.
 /src/google/protobuf/compiler/command_line_interface.h
-+++ /src/google/protobuf/compiler/command_line_interface.h
+--- a/src/google/protobuf/compiler/command_line_interface.h
 b/src/google/protobuf/compiler/command_line_interface.h
 @@ -292,7 +292,9 @@
GeneratorContext* generator_context, std::string* error);
 
@@ -189,8 +189,8 @@ https://github.com/protocolbuffers/protobuf/pull/235
// If --descriptor_set_out was given, this is the filename to which the
// FileDescriptorSet should be written.  Otherwise, empty.
std::string descriptor_set_out_name_;
 /src/google/protobuf/compiler/command_line_interface_unittest.cc
-+++ /src/google/protobuf/compiler/command_line_interface_unittest.cc
+--- a/src/google/protobuf/compiler/command_line_interface_unittest.cc
 b/src/google/protobuf/compiler/command_line_interface_unittest.cc
 @@ -99,7 +99,7 @@
virtual void SetUp();
virtual void TearDown();



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

2022-10-06 Thread Agostino Sarubbo
commit: 0573cceed44b751da7023471018835da55cdd45a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Oct  6 06:57:28 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Oct  6 06:57:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0573ccee

dev-libs/protobuf: Stabilize 3.20.1-r1 x86, #875326

Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/protobuf/protobuf-3.20.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild 
b/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
index 97bda26ae87d..232f6f6cbe83 100644
--- a/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
+++ b/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/31"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-10-06 Thread Agostino Sarubbo
commit: e9ce216d343e37996f26b973f1ed5e36e9b1afae
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Oct  6 06:56:40 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Oct  6 06:56:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9ce216d

dev-libs/protobuf: Stabilize 3.20.1-r1 sparc, #875326

Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/protobuf/protobuf-3.20.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild 
b/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
index 822689af0507..97bda26ae87d 100644
--- a/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
+++ b/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/31"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-10-06 Thread Agostino Sarubbo
commit: 184afdc304e728d357942c2808fe8e90549d952f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Oct  6 06:55:43 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Oct  6 06:55:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=184afdc3

dev-libs/protobuf: Stabilize 3.20.1-r1 arm64, #875326

Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/protobuf/protobuf-3.20.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild 
b/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
index 8b43a9d864f5..822689af0507 100644
--- a/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
+++ b/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/31"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-10-06 Thread Agostino Sarubbo
commit: 788862efe44462c50fc13a11ad688ebd49a125c5
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Oct  6 06:52:07 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Oct  6 06:52:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=788862ef

dev-libs/protobuf: Stabilize 3.20.1-r1 amd64, #875326

Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/protobuf/protobuf-3.20.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild 
b/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
index b320d4fa6f49..8b43a9d864f5 100644
--- a/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
+++ b/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/31"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-10-05 Thread Arthur Zamarin
commit: 62ed2685cd89c6f63058a1089c8c9938e4e18716
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Oct  5 18:55:54 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Oct  5 18:55:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62ed2685

dev-libs/protobuf: Stabilize 3.20.1-r1 ppc64, #875326

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf/protobuf-3.20.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild 
b/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
index 14892278056e..b320d4fa6f49 100644
--- a/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
+++ b/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/31"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-10-05 Thread Arthur Zamarin
commit: b91dac3062d5218a41a8867b024e84e9ae8ea7c2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Oct  5 18:55:53 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Oct  5 18:55:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b91dac30

dev-libs/protobuf: Stabilize 3.20.1-r1 ppc, #875326

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf/protobuf-3.20.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild 
b/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
index 443543ecd14c..14892278056e 100644
--- a/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
+++ b/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/31"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-10-05 Thread Arthur Zamarin
commit: 74082aefe2e46ef0bb40034770f9174f90c2df94
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Oct  5 08:01:35 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Oct  5 08:01:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74082aef

dev-libs/protobuf: Stabilize 3.20.1-r1 arm, #875326

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf/protobuf-3.20.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild 
b/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
index b8655b4c64ea..443543ecd14c 100644
--- a/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
+++ b/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/31"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-09-02 Thread Sam James
commit: 61e8aec7a404a47df8da672719a5924fc45bcf4d
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep  2 20:34:41 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  2 20:34:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61e8aec7

dev-libs/protobuf: sync live ebuild

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

 dev-libs/protobuf/protobuf-.ebuild | 31 ---
 1 file changed, 28 insertions(+), 3 deletions(-)

diff --git a/dev-libs/protobuf/protobuf-.ebuild 
b/dev-libs/protobuf/protobuf-.ebuild
index ced1c5bfaba7..0e620717ec44 100644
--- a/dev-libs/protobuf/protobuf-.ebuild
+++ b/dev-libs/protobuf/protobuf-.ebuild
@@ -1,7 +1,7 @@
 # Copyright 2008-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI=8
 
 inherit autotools elisp-common flag-o-matic multilib-minimal toolchain-funcs
 
@@ -18,11 +18,11 @@ if [[ "${PV}" == "" ]]; then
SRC_URI=""
 else
SRC_URI="https://github.com/protocolbuffers/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 LICENSE="BSD"
 SLOT="0/31"
-KEYWORDS=""
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 
@@ -35,18 +35,43 @@ RDEPEND="emacs? ( app-editors/emacs:* )
 PATCHES=(
"${FILESDIR}/${PN}-3.19.0-disable_no-warning-test.patch"
"${FILESDIR}/${PN}-3.19.0-system_libraries.patch"
-   "${FILESDIR}/${PN}-3.16.0-protoc_input_output_files.patch"
+   "${FILESDIR}/${PN}-3.20.1-protoc_input_output_files.patch"
 )
 
 DOCS=(CHANGES.txt CONTRIBUTORS.txt README.md)
 
 src_prepare() {
default
+
+   # https://github.com/protocolbuffers/protobuf/issues/7413
+   sed -e "/^AC_PROG_CXX_FOR_BUILD$/d" -i configure.ac || die
+
+   # https://github.com/protocolbuffers/protobuf/issues/8082
+   sed -e "/^TEST_F(IoTest, LargeOutput) {$/,/^}$/d" -i 
src/google/protobuf/io/zero_copy_stream_unittest.cc || die
+
+   # https://github.com/protocolbuffers/protobuf/issues/8459
+   sed \
+   -e "/^TEST(ArenaTest, BlockSizeSmallerThanAllocation) {$/a\\  
if (sizeof(void*) == 4) {\nGTEST_SKIP();\n  }" \
+   -e "/^TEST(ArenaTest, SpaceAllocated_and_Used) {$/a\\  if 
(sizeof(void*) == 4) {\nGTEST_SKIP();\n  }" \
+   -i src/google/protobuf/arena_unittest.cc || die
+
+   # https://github.com/protocolbuffers/protobuf/issues/8460
+   sed -e "/^TEST(AnyTest, TestPackFromSerializationExceedsSizeLimit) 
{$/a\\  if (sizeof(void*) == 4) {\nGTEST_SKIP();\n  }" -i 
src/google/protobuf/any_test.cc || die
+
+   # https://github.com/protocolbuffers/protobuf/issues/9433
+   sed -e "/^[[:space:]]*static_assert(alignof(U) <= 8, \"\");$/d" -i 
src/google/protobuf/descriptor.cc || die
+
eautoreconf
 }
 
 src_configure() {
append-cppflags -DGOOGLE_PROTOBUF_NO_RTTI
+
+   if tc-ld-is-gold; then
+   # https://sourceware.org/bugzilla/show_bug.cgi?id=24527
+   tc-ld-disable-gold
+   fi
+
multilib-minimal_src_configure
 }
 



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

2022-09-02 Thread Sam James
commit: bf2c616b680801cdabb202cf52e2cae5afca5dc2
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep  2 20:32:57 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  2 20:32:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf2c616b

dev-libs/protobuf: crank subslot for 3.20.1

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

 dev-libs/protobuf/{protobuf-3.20.1.ebuild => protobuf-3.20.1-r1.ebuild} | 2 +-
 dev-libs/protobuf/protobuf-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/protobuf/protobuf-3.20.1.ebuild 
b/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
similarity index 99%
rename from dev-libs/protobuf/protobuf-3.20.1.ebuild
rename to dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
index 872935b5b898..b8655b4c64ea 100644
--- a/dev-libs/protobuf/protobuf-3.20.1.ebuild
+++ b/dev-libs/protobuf/protobuf-3.20.1-r1.ebuild
@@ -21,7 +21,7 @@ else
 fi
 
 LICENSE="BSD"
-SLOT="0/30"
+SLOT="0/31"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"

diff --git a/dev-libs/protobuf/protobuf-.ebuild 
b/dev-libs/protobuf/protobuf-.ebuild
index fe2db6a46086..ced1c5bfaba7 100644
--- a/dev-libs/protobuf/protobuf-.ebuild
+++ b/dev-libs/protobuf/protobuf-.ebuild
@@ -21,7 +21,7 @@ else
 fi
 
 LICENSE="BSD"
-SLOT="0/30"
+SLOT="0/31"
 KEYWORDS=""
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"



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

2022-09-02 Thread Arthur Zamarin
commit: 107e1921be56a3e9ca839e49f12572dee26ff07d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Sep  2 13:53:42 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Sep  2 15:16:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=107e1921

dev-libs/protobuf: add 3.20.1

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf/Manifest |   1 +
 ...protobuf-3.20.1-protoc_input_output_files.patch | 240 +
 dev-libs/protobuf/protobuf-3.20.1.ebuild   | 143 
 3 files changed, 384 insertions(+)

diff --git a/dev-libs/protobuf/Manifest b/dev-libs/protobuf/Manifest
index 445bb0b6652e..dfb0564c5120 100644
--- a/dev-libs/protobuf/Manifest
+++ b/dev-libs/protobuf/Manifest
@@ -1 +1,2 @@
 DIST protobuf-3.19.3.tar.gz 5293258 BLAKE2B 
c05b70ffca97f7166ea6a511a36907eed125edf1ebf17f908718221d9b851be84dfb2b1b39973f2faf35f6ade630e6ba4f9e8b91b8fbc922c5db97079323ee6e
 SHA512 
1c003e7cbc8eae6a038f46e688b401ee202ba47f502561e909df79770f6e8b7daf3dc1ccc727e31bfb5b52cd04cb4fef7d2d2a28d650c13f396872ad4aa076c6
+DIST protobuf-3.20.1.tar.gz 5368262 BLAKE2B 
1ce1aef2e4c4f3ea4863629cc75d89fe17d0c7ac0c342ac641c787456fd4a12756c2892a27ddadedc94a7201494ec84566638ce33a03cb0c867b04e9eee0edb3
 SHA512 
fde3eb9f13946887ddfd87df428c5615ad09aaf191e4478b24e98e5e13231feeff4e70b4ca6a2ff7d9b9b2e2c60bc1d5479526edeafa78f9a8ed3bef2e0bacb0

diff --git 
a/dev-libs/protobuf/files/protobuf-3.20.1-protoc_input_output_files.patch 
b/dev-libs/protobuf/files/protobuf-3.20.1-protoc_input_output_files.patch
new file mode 100644
index ..812882cf6b09
--- /dev/null
+++ b/dev-libs/protobuf/files/protobuf-3.20.1-protoc_input_output_files.patch
@@ -0,0 +1,240 @@
+https://github.com/protocolbuffers/protobuf/pull/235
+
+--- /src/google/protobuf/compiler/command_line_interface.cc
 /src/google/protobuf/compiler/command_line_interface.cc
+@@ -1110,6 +1110,28 @@
+   }
+
+   if (mode_ == MODE_ENCODE || mode_ == MODE_DECODE) {
++bool success = false;
++int in_fd = STDIN_FILENO;
++int out_fd = STDOUT_FILENO;
++
++if (!protobuf_in_path_.empty()) {
++  in_fd = open(protobuf_in_path_.c_str(), O_RDONLY);
++  if (in_fd == -1) {
++std::cerr << protobuf_in_path_ << ": error: failed to open file." << 
std::endl;
++return 1;
++  }
++}
++if (!protobuf_out_path_.empty()) {
++  out_fd = open(protobuf_out_path_.c_str(),
++O_WRONLY | O_CREAT | O_TRUNC,
++0644);
++  if (out_fd == -1) {
++std::cerr << protobuf_out_path_ << ": error: failed to open file." << 
std::endl;
++close(in_fd);
++return 1;
++  }
++}
++
+ if (codec_type_.empty()) {
+   // HACK:  Define an EmptyMessage type to use for decoding.
+   DescriptorPool pool;
+@@ -1118,13 +1140,20 @@
+   file.add_message_type()->set_name("EmptyMessage");
+   GOOGLE_CHECK(pool.BuildFile(file) != NULL);
+   codec_type_ = "EmptyMessage";
+-  if (!EncodeOrDecode()) {
+-return 1;
+-  }
++  success = EncodeOrDecode(, in_fd, out_fd);
+ } else {
+-  if (!EncodeOrDecode(descriptor_pool.get())) {
+-return 1;
+-  }
++  success = EncodeOrDecode(descriptor_pool.get(), in_fd, out_fd);
++}
++
++if (in_fd != STDIN_FILENO) {
++  close(in_fd);
++}
++if (out_fd != STDOUT_FILENO) {
++  close(out_fd);
++}
++
++if (!success) {
++  return 1;
+ }
+   }
+
+@@ -1163,6 +1192,11 @@
+   for (int i = 0; i < proto_path_.size(); i++) {
+ source_tree->MapPath(proto_path_[i].first, proto_path_[i].second);
+   }
++  if (mode_ == MODE_COMPILE &&
++  (!protobuf_in_path_.empty() || !protobuf_out_path_.empty())) {
++std::cerr << "--protobuf_in and --protobuf_out are only valid with "
++ << "decode operations. Ignoring.";
++  }
+
+   // Map input files to virtual paths if possible.
+   if (!MakeInputsBeProtoPathRelative(source_tree, fallback_database)) {
+@@ -1885,6 +1919,12 @@
+   } else if (name == "--deterministic_output") {
+ deterministic_output_ = true;
+
++  } else if (name == "--protobuf_in") {
++protobuf_in_path_ = value;
++
++  } else if (name == "--protobuf_out") {
++protobuf_out_path_ = value;
++
+   } else if (name == "--error_format") {
+ if (value == "gcc") {
+   error_format_ = ERROR_FORMAT_GCC;
+@@ -2018,22 +2058,38 @@
+   --version   Show version info and exit.
+   -h, --help  Show this text and exit.
+   --encode=MESSAGE_TYPE   Read a text-format message of the given type
+-  from standard input and write it in binary
+-  to standard output.  The message type must
++  from input protobuf file and write it in binary
++  to output protobuf file.  The message type must
+   be defined in 

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

2022-08-28 Thread WANG Xuerui
commit: 68b324f3cb973d1c963b360329b79e903b9a91be
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Aug 28 07:03:09 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Aug 28 07:41:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68b324f3

dev-libs/protobuf-c: keyword 1.4.1 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
index 78602855478a..f45fc3e9bb0f 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2022-08-25 Thread Agostino Sarubbo
commit: 212bfd7be6b591949ebf87136c8ba6a5fd7a9379
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Aug 25 18:25:40 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Aug 25 18:25:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=212bfd7b

dev-libs/protobuf-c: x86 stable wrt bug #866440

Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
index dc7366096317..78602855478a 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2022-08-25 Thread Agostino Sarubbo
commit: 59b0525d94d9a72f51fb94b3796101b66109450e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Aug 25 18:24:20 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Aug 25 18:24:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59b0525d

dev-libs/protobuf-c: sparc stable wrt bug #866440

Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
index aa34f6ae40f8..dc7366096317 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc ~x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2022-08-25 Thread Agostino Sarubbo
commit: af4ee01f464447fce2a3f0621baadfd218343fc3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Aug 25 18:15:00 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Aug 25 18:15:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af4ee01f

dev-libs/protobuf-c: amd64 stable wrt bug #866440

Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
index a4e2c6d43312..aa34f6ae40f8 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc ~x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2022-08-25 Thread Arthur Zamarin
commit: 20126d0e3c2aa73eeb7c994dc043b386275903b4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Aug 25 16:43:52 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Aug 25 16:43:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20126d0e

dev-libs/protobuf-c: Stabilize 1.4.1 arm64, #866440

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
index ee427a4512d5..a4e2c6d43312 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc ~x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2022-08-25 Thread Arthur Zamarin
commit: c2f10c36fbc2e4456c1eff7c200df80fd14480ac
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Aug 25 16:43:50 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Aug 25 16:43:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2f10c36

dev-libs/protobuf-c: Stabilize 1.4.1 arm, #866440

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
index 55914ce615d7..d6b136bfa9d3 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2022-08-25 Thread Arthur Zamarin
commit: 6df87faca11cdddaf2a6bd73fc55a9f2a95dab7f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Aug 25 16:43:49 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Aug 25 16:43:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6df87fac

dev-libs/protobuf-c: Stabilize 1.4.1 ppc, #866440

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
index 7eedf12e47a5..55914ce615d7 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2022-08-25 Thread Arthur Zamarin
commit: 897cabf9bcd5962f14652c703fc75150f60ba48c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Aug 25 16:43:51 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Aug 25 16:43:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=897cabf9

dev-libs/protobuf-c: Stabilize 1.4.1 ppc64, #866440

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
index d6b136bfa9d3..ee427a4512d5 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc ~x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2022-08-17 Thread Matt Turner
commit: b0065b35fcfd059708a9eac4a1ad6c19c4082036
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Aug 18 02:35:41 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Aug 18 02:53:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0065b35

dev-libs/protobuf: Drop old versions

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

 dev-libs/protobuf/Manifest |   2 -
 .../protobuf-3.17.0-disable_no-warning-test.patch  |  19 ---
 .../files/protobuf-3.17.0-system_libraries.patch   | 121 -
 dev-libs/protobuf/protobuf-3.17.3.ebuild   | 143 -
 dev-libs/protobuf/protobuf-3.19.1.ebuild   | 141 
 5 files changed, 426 deletions(-)

diff --git a/dev-libs/protobuf/Manifest b/dev-libs/protobuf/Manifest
index 5b121b0a22b0..445bb0b6652e 100644
--- a/dev-libs/protobuf/Manifest
+++ b/dev-libs/protobuf/Manifest
@@ -1,3 +1 @@
-DIST protobuf-3.17.3.tar.gz 5235236 BLAKE2B 
2495e678c8f9436d4e5a30ccee8b6226125d418ac7ecf7df20b078a1a16c221cbccab7d846dcd56a90220c106617fa75c410a21b62612fedec378cd7e8571350
 SHA512 
b4030b4474cc5fb5a62501200725dd488e6e66e3ced4ed12ab4ee029fcfed305e92ec966adafbdd343afffd186908163849422b95eaa500e7e741ac325d01d12
-DIST protobuf-3.19.1.tar.gz 5291573 BLAKE2B 
a34f1a7cf99ecb6cb8a26bc858de6273bfd26aa9be1e89e48c16cb5df0f1e9576479344c8250017238dbac0d0c4ac33001125b5fc622cb64ed6b91023198b03a
 SHA512 
f1271f5159a7be363a5f60ce4921dfea68a8468d66808330bacaeaa1cb7f652d045ab080b5d82816a6fd4e6d7d7fe79aaa6c8d66d81692721d36ce3bbf619f31
 DIST protobuf-3.19.3.tar.gz 5293258 BLAKE2B 
c05b70ffca97f7166ea6a511a36907eed125edf1ebf17f908718221d9b851be84dfb2b1b39973f2faf35f6ade630e6ba4f9e8b91b8fbc922c5db97079323ee6e
 SHA512 
1c003e7cbc8eae6a038f46e688b401ee202ba47f502561e909df79770f6e8b7daf3dc1ccc727e31bfb5b52cd04cb4fef7d2d2a28d650c13f396872ad4aa076c6

diff --git 
a/dev-libs/protobuf/files/protobuf-3.17.0-disable_no-warning-test.patch 
b/dev-libs/protobuf/files/protobuf-3.17.0-disable_no-warning-test.patch
deleted file mode 100644
index eb1598c945fd..
--- a/dev-libs/protobuf/files/protobuf-3.17.0-disable_no-warning-test.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Disable no-warning-test which is compiled with -Werror option and whose only 
purpose is checking if compilation results in any warnings.
-
 /src/Makefile.am
-+++ /src/Makefile.am
-@@ -713,7 +713,7 @@
- GOOGLEMOCK_SRC_DIR=$(srcdir)/../third_party/googletest/googlemock
- check_PROGRAMS = protoc protobuf-test protobuf-lazy-descriptor-test \
-  protobuf-lite-test test_plugin protobuf-lite-arena-test \
-- no-warning-test $(GZCHECKPROGRAMS)
-+ $(GZCHECKPROGRAMS)
- protobuf_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \
-   $(GOOGLETEST_BUILD_DIR)/lib/libgtest.la \
-   $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock.la \
-@@ -900,4 +900,4 @@
- 
- TESTS = protobuf-test protobuf-lazy-descriptor-test protobuf-lite-test \
- google/protobuf/compiler/zip_output_unittest.sh $(GZTESTS) \
--protobuf-lite-arena-test no-warning-test
-+protobuf-lite-arena-test

diff --git a/dev-libs/protobuf/files/protobuf-3.17.0-system_libraries.patch 
b/dev-libs/protobuf/files/protobuf-3.17.0-system_libraries.patch
deleted file mode 100644
index 3d5069dd1478..
--- a/dev-libs/protobuf/files/protobuf-3.17.0-system_libraries.patch
+++ /dev/null
@@ -1,121 +0,0 @@
 /Makefile.am
-+++ /Makefile.am
-@@ -11,28 +11,10 @@
- # Always include third_party directories in distributions.
- DIST_SUBDIRS = src conformance benchmarks third_party/googletest
- 
--# Build gmock before we build protobuf tests.  We don't add gmock to SUBDIRS
--# because then "make check" would also build and run all of gmock's own tests,
--# which takes a lot of time and is generally not useful to us.  Also, we don't
--# want "make install" to recurse into gmock since we don't want to overwrite
--# the installed version of gmock if there is one.
- check-local:
--  @echo "Making lib/libgmock.a lib/libgmock_main.a in gmock"
--  @cd third_party/googletest/googletest && $(MAKE) $(AM_MAKEFLAGS) 
lib/libgtest.la lib/libgtest_main.la
--  @cd third_party/googletest/googlemock && $(MAKE) $(AM_MAKEFLAGS) 
lib/libgmock.la lib/libgmock_main.la
- 
--# We would like to clean gmock when "make clean" is invoked.  But we have to
--# be careful because clean-local is also invoked during "make distclean", but
--# "make distclean" already recurses into gmock because it's listed among the
--# DIST_SUBDIRS.  distclean will delete gmock/Makefile, so if we then try to
--# cd to the directory again and "make clean" it will fail.  So, check that the
--# Makefile exists before recursing.
- clean-local:
--  @if test -e third_party/googletest/Makefile; then \
--echo "Making clean in googletest"; \
--cd third_party/googletest && $(MAKE) $(AM_MAKEFLAGS) clean; \
-- 

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

2022-07-10 Thread Sam James
commit: 6ef86ad77ac20061ad417f415498bd98573fa5ec
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 11 02:01:17 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 11 02:01:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ef86ad7

dev-libs/protobuf-c: add 1.4.1

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

 dev-libs/protobuf-c/Manifest|  1 +
 dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild | 53 +
 2 files changed, 54 insertions(+)

diff --git a/dev-libs/protobuf-c/Manifest b/dev-libs/protobuf-c/Manifest
index 731c705df93b..0044b4089538 100644
--- a/dev-libs/protobuf-c/Manifest
+++ b/dev-libs/protobuf-c/Manifest
@@ -1 +1,2 @@
 DIST protobuf-c-1.4.0.tar.gz 505251 BLAKE2B 
5f53238c064f82de87012eb739bf6a44c202d0dbf2fc5af394accdc52a9934d1fb9cea2bb4a4d529fdf98959546aaa672c1c991a9a7016803d16f65accc907cd
 SHA512 
6a2e5031b85b5986e863661437dea002eba217257a50a27db88d29fa1a3db1014ed6ec7c21d89df700d181b18e169d1037146cb6475c10cd5a068a91e522e3c3
+DIST protobuf-c-1.4.1.tar.gz 513596 BLAKE2B 
b5e87a3154863581b81790a26b6b522c2b3ad138e966053f20c6264b4a7677d6c5bff8e27faa7c6cfa9e982b72b06e2f518a3def9f6db13241c3cb3ee9afc8f6
 SHA512 
190a4aa5c607853e6bf860b0974deb21e4f7f6209e810251eaca9612b59ea676779b0ca217fb1572914ffb8de3315a7d24f162b14d447ee671a9adc5b1271e41

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
new file mode 100644
index ..7eedf12e47a5
--- /dev/null
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools multilib-minimal
+
+MY_PV="${PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Protocol Buffers implementation in C"
+HOMEPAGE="https://github.com/protobuf-c/protobuf-c;
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.gz;
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="BSD-2"
+# Subslot == SONAME version
+SLOT="0/1.0.0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+IUSE="static-libs test"
+RESTRICT="!test? ( test )"
+
+BDEPEND=">=dev-libs/protobuf-3:0
+   virtual/pkgconfig"
+DEPEND=">=dev-libs/protobuf-3:0=[${MULTILIB_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.4.0-include-path.patch
+)
+
+src_prepare() {
+   default
+
+   if ! use test; then
+   eapply "${FILESDIR}"/${PN}-1.3.0-no-build-tests.patch
+   fi
+
+   eautoreconf
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   $(use_enable static-libs static)
+   )
+
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+   find "${ED}" -name '*.la' -type f -delete || die
+   einstalldocs
+}



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

2022-05-04 Thread WANG Xuerui
commit: 81e21afebe2f5c258a3e7c191e07ef4cd452c7e1
Author: WANG Xuerui  gentoo  org>
AuthorDate: Wed May  4 06:30:40 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Wed May  4 07:06:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81e21afe

dev-libs/protobuf: keyword 3.19.3 for ~loong

Tests passed on real hardware.

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-libs/protobuf/protobuf-3.19.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.19.3.ebuild 
b/dev-libs/protobuf/protobuf-3.19.3.ebuild
index bdd17c6aab1e..5a3b627ea4de 100644
--- a/dev-libs/protobuf/protobuf-3.19.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/30"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc 
x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-03-27 Thread Conrad Kostecki
commit: e8d1cbb9ab718517c1d541663bf004522395e6f1
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Mar 13 10:03:37 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Mar 27 22:07:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8d1cbb9

dev-libs/protobuf: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/24529
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../protobuf-3.18.0-disable_no-warning-test.patch  |  36 -
 .../files/protobuf-3.18.0-system_libraries.patch   | 146 -
 2 files changed, 182 deletions(-)

diff --git 
a/dev-libs/protobuf/files/protobuf-3.18.0-disable_no-warning-test.patch 
b/dev-libs/protobuf/files/protobuf-3.18.0-disable_no-warning-test.patch
deleted file mode 100644
index 9abf5deca295..
--- a/dev-libs/protobuf/files/protobuf-3.18.0-disable_no-warning-test.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 290073d7d4ddaa6d39ad12c90245e795c5482432 Mon Sep 17 00:00:00 2001
-From: Arfrever Frehtes Taifersar Arahesis 
-Date: Sat, 29 Jan 2022 22:43:50 +0800
-Subject: [PATCH] protobuf-3.18.0: disable no-warning test
-
-Disable no-warning-test which is compiled with -Werror option
-and whose only purpose is checking if compilation results in any warnings.
-
-Signed-off-by: Arfrever Frehtes Taifersar Arahesis 
-Signed-off-by: Yixun Lan 

- src/Makefile.am | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index e6b4d0f..1cfd885 100644
 a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -726,7 +726,7 @@ 
GOOGLETEST_SRC_DIR=$(srcdir)/../third_party/googletest/googletest
- GOOGLEMOCK_SRC_DIR=$(srcdir)/../third_party/googletest/googlemock
- check_PROGRAMS = protoc protobuf-test protobuf-lazy-descriptor-test \
-  protobuf-lite-test test_plugin protobuf-lite-arena-test \
-- no-warning-test $(GZCHECKPROGRAMS)
-+ $(GZCHECKPROGRAMS)
- protobuf_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \
-   $(GOOGLETEST_BUILD_DIR)/lib/libgtest.la \
-   $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock.la \
-@@ -915,4 +915,4 @@ nodist_no_warning_test_SOURCES = no_warning_test.cc 
$(protoc_outputs)
- 
- TESTS = protobuf-test protobuf-lazy-descriptor-test protobuf-lite-test \
- google/protobuf/compiler/zip_output_unittest.sh $(GZTESTS) \
--protobuf-lite-arena-test no-warning-test
-+protobuf-lite-arena-test
--- 
-2.34.1
-

diff --git a/dev-libs/protobuf/files/protobuf-3.18.0-system_libraries.patch 
b/dev-libs/protobuf/files/protobuf-3.18.0-system_libraries.patch
deleted file mode 100644
index 0e417c51bdab..
--- a/dev-libs/protobuf/files/protobuf-3.18.0-system_libraries.patch
+++ /dev/null
@@ -1,146 +0,0 @@
-From 10b2d5bb5a4d1b7529cb781e5513940ad6db4ada Mon Sep 17 00:00:00 2001
-From: Arfrever Frehtes Taifersar Arahesis 
-Date: Sat, 29 Jan 2022 22:46:38 +0800
-Subject: [PATCH] protobuf-3.18.0: system_libraries
-
-Use system version of GoogleTest,
-which will unbundle gtest, gmock libraries
-
-Signed-off-by: Arfrever Frehtes Taifersar Arahesis 
-Signed-off-by: Yixun Lan 

- Makefile.am | 20 +---
- configure.ac|  7 ---
- src/Makefile.am | 33 ++---
- 3 files changed, 7 insertions(+), 53 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 7ce954e..c1493e0 100644
 a/Makefile.am
-+++ b/Makefile.am
-@@ -11,28 +11,10 @@ SUBDIRS = . src
- # Always include third_party directories in distributions.
- DIST_SUBDIRS = src conformance benchmarks third_party/googletest
- 
--# Build gmock before we build protobuf tests.  We don't add gmock to SUBDIRS
--# because then "make check" would also build and run all of gmock's own tests,
--# which takes a lot of time and is generally not useful to us.  Also, we don't
--# want "make install" to recurse into gmock since we don't want to overwrite
--# the installed version of gmock if there is one.
- check-local:
--  @echo "Making lib/libgmock.a lib/libgmock_main.a in gmock"
--  @cd third_party/googletest/googletest && $(MAKE) $(AM_MAKEFLAGS) 
lib/libgtest.la lib/libgtest_main.la
--  @cd third_party/googletest/googlemock && $(MAKE) $(AM_MAKEFLAGS) 
lib/libgmock.la lib/libgmock_main.la
- 
--# We would like to clean gmock when "make clean" is invoked.  But we have to
--# be careful because clean-local is also invoked during "make distclean", but
--# "make distclean" already recurses into gmock because it's listed among the
--# DIST_SUBDIRS.  distclean will delete gmock/Makefile, so if we then try to
--# cd to the directory again and "make clean" it will fail.  So, check that the
--# Makefile exists before recursing.
- clean-local:
--  @if test -e third_party/googletest/Makefile; then \
--echo 

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

2022-03-20 Thread Arthur Zamarin
commit: d1cb6a0cd573570ebfed25afb23af8733dd31180
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Mar 20 18:11:27 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Mar 20 18:11:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1cb6a0c

dev-libs/protobuf: Stabilize 3.19.3 hppa, #835330

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf/protobuf-3.19.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.19.3.ebuild 
b/dev-libs/protobuf/protobuf-3.19.3.ebuild
index 606851de0768..bdd17c6aab1e 100644
--- a/dev-libs/protobuf/protobuf-3.19.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/30"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc 
x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-03-18 Thread Arthur Zamarin
commit: efaa12784c0603ebea5cc28dc3642c3462e26acc
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 18 11:54:14 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 18 11:54:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efaa1278

dev-libs/protobuf: Stabilize 3.19.3 arm, #835330

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf/protobuf-3.19.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.19.3.ebuild 
b/dev-libs/protobuf/protobuf-3.19.3.ebuild
index 7dc180cc0bde..606851de0768 100644
--- a/dev-libs/protobuf/protobuf-3.19.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/30"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-03-17 Thread Agostino Sarubbo
commit: 171ac440a66108ed64b92f1a0e01d5cf17e5fc58
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Mar 17 07:44:14 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Mar 17 07:44:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=171ac440

dev-libs/protobuf: sparc stable wrt bug #835330

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/protobuf/protobuf-3.19.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.19.3.ebuild 
b/dev-libs/protobuf/protobuf-3.19.3.ebuild
index fa9fc9e98cda..7dc180cc0bde 100644
--- a/dev-libs/protobuf/protobuf-3.19.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/30"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-03-16 Thread Sam James
commit: 20b3791ea7504d30a5f0eb752dbd076edc4d993c
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 16 23:51:35 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 16 23:51:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20b3791e

dev-libs/protobuf: Stabilize 3.19.3 ppc, #835330

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

 dev-libs/protobuf/protobuf-3.19.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.19.3.ebuild 
b/dev-libs/protobuf/protobuf-3.19.3.ebuild
index 560903b6883d..fa9fc9e98cda 100644
--- a/dev-libs/protobuf/protobuf-3.19.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/30"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-03-16 Thread Sam James
commit: faf3f5b82df8362c3e679bedeefa7b7944328b7d
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 16 23:49:36 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 16 23:49:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf3f5b8

dev-libs/protobuf: Stabilize 3.19.3 ppc64, #835330

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

 dev-libs/protobuf/protobuf-3.19.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.19.3.ebuild 
b/dev-libs/protobuf/protobuf-3.19.3.ebuild
index d1b9c7b116b8..560903b6883d 100644
--- a/dev-libs/protobuf/protobuf-3.19.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/30"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-03-15 Thread Jakov Smolić
commit: 36dc03af65c7ee9cfc2bdddebbf19741d3ee080b
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Mar 15 18:49:18 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Mar 15 18:49:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36dc03af

dev-libs/protobuf: Stabilize 3.19.3 amd64, #835330

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-libs/protobuf/protobuf-3.19.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.19.3.ebuild 
b/dev-libs/protobuf/protobuf-3.19.3.ebuild
index 45ae4c872187..d1b9c7b116b8 100644
--- a/dev-libs/protobuf/protobuf-3.19.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/30"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-03-15 Thread Jakov Smolić
commit: 4670e5ff31b7d5734cfb6bce6276fb6b31009141
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Mar 15 17:55:43 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Mar 15 17:55:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4670e5ff

dev-libs/protobuf: Stabilize 3.19.3 arm64, #835330

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-libs/protobuf/protobuf-3.19.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.19.3.ebuild 
b/dev-libs/protobuf/protobuf-3.19.3.ebuild
index f6332bd79316..45ae4c872187 100644
--- a/dev-libs/protobuf/protobuf-3.19.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/30"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-03-15 Thread Jakov Smolić
commit: e3484e0ebb6d12d080f5fb2c5a1779004ab6d558
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Mar 15 17:53:55 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Mar 15 17:53:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3484e0e

dev-libs/protobuf: Stabilize 3.19.3 x86, #835330

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-libs/protobuf/protobuf-3.19.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.19.3.ebuild 
b/dev-libs/protobuf/protobuf-3.19.3.ebuild
index 9171eaebedbc..f6332bd79316 100644
--- a/dev-libs/protobuf/protobuf-3.19.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/30"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-03-09 Thread Jakov Smolić
commit: 5e232ff59cc53ad3353a789f3666d3f9dc34a043
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Mar  9 08:52:52 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Mar  9 08:52:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e232ff5

dev-libs/protobuf: drop 3.17.0, 3.17.1, 3.17.2, 3.18.2

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-libs/protobuf/Manifest   |   4 -
 dev-libs/protobuf/protobuf-3.17.0.ebuild | 143 --
 dev-libs/protobuf/protobuf-3.17.1.ebuild | 143 --
 dev-libs/protobuf/protobuf-3.17.2.ebuild | 143 --
 dev-libs/protobuf/protobuf-3.18.2.ebuild | 147 ---
 5 files changed, 580 deletions(-)

diff --git a/dev-libs/protobuf/Manifest b/dev-libs/protobuf/Manifest
index 018b2ea1f9bf..5b121b0a22b0 100644
--- a/dev-libs/protobuf/Manifest
+++ b/dev-libs/protobuf/Manifest
@@ -1,7 +1,3 @@
-DIST protobuf-3.17.0.tar.gz 5185780 BLAKE2B 
a168619df72cdf097c7ddfd50aca96a2101bf73e7c1c842c020e6ee08a853db8674a86ca999b7706da3dd21d4d3d2159241c93232efc693701962f3a54a382e9
 SHA512 
36ed2de641849ce01531ff1207f62a0748f811519c40622a119a17a1e709864382de81481fb58f374a025948971c48416e7e6de9c00512a78633c7a8a3aa3a36
-DIST protobuf-3.17.1.tar.gz 5192666 BLAKE2B 
7f912db7e0835aaa42628fcf564a5666e2cbfa021bb35638a5eec53c3c457f1e747225dea54f732b7239a1520febca9bc20c824b1938f100796caa3ac2133bc1
 SHA512 
5a18aa3c1dab040dc6d22310a8503241081106acf7ca89079d7b416533d7c2cdd47719dc9023e6bc26969f0f1c796550260a04034a403c69752f6a3a7a651bb8
-DIST protobuf-3.17.2.tar.gz 5192779 BLAKE2B 
97f9561848e70b8d26ebcc7fc4fa8da51c4b8267efbe1d2d386c2785308e7ba7edc05f1b3863c274dc8838866d58b58509606d72c51a22b956d1d528584c4c95
 SHA512 
b3e7ad50ed772668df70a3a20ad1af13a5e82f23b109e4fecd34e6a74947bed300963c9f084907fbfafe28fc18365cde7df1975e2ff9538d2f5a3d2b458bca98
 DIST protobuf-3.17.3.tar.gz 5235236 BLAKE2B 
2495e678c8f9436d4e5a30ccee8b6226125d418ac7ecf7df20b078a1a16c221cbccab7d846dcd56a90220c106617fa75c410a21b62612fedec378cd7e8571350
 SHA512 
b4030b4474cc5fb5a62501200725dd488e6e66e3ced4ed12ab4ee029fcfed305e92ec966adafbdd343afffd186908163849422b95eaa500e7e741ac325d01d12
-DIST protobuf-3.18.2.tar.gz 5272935 BLAKE2B 
f65caa4483d3ff4186f9ea388e2a9ef232ab758cfda846cfb5993df1f991e4574e63a33b175dd00c72f61c0a23ed12d3c62eb658cd397bf43b805c41fb34c47e
 SHA512 
8ca613fdeefcbd93e866fab65effc38aa8508060aa3de0109dbead68f2e27eb22ad0a8aea10c8b4c3e9de181d62185c93b369fb5abf96de02a170f2e5c27e0cd
 DIST protobuf-3.19.1.tar.gz 5291573 BLAKE2B 
a34f1a7cf99ecb6cb8a26bc858de6273bfd26aa9be1e89e48c16cb5df0f1e9576479344c8250017238dbac0d0c4ac33001125b5fc622cb64ed6b91023198b03a
 SHA512 
f1271f5159a7be363a5f60ce4921dfea68a8468d66808330bacaeaa1cb7f652d045ab080b5d82816a6fd4e6d7d7fe79aaa6c8d66d81692721d36ce3bbf619f31
 DIST protobuf-3.19.3.tar.gz 5293258 BLAKE2B 
c05b70ffca97f7166ea6a511a36907eed125edf1ebf17f908718221d9b851be84dfb2b1b39973f2faf35f6ade630e6ba4f9e8b91b8fbc922c5db97079323ee6e
 SHA512 
1c003e7cbc8eae6a038f46e688b401ee202ba47f502561e909df79770f6e8b7daf3dc1ccc727e31bfb5b52cd04cb4fef7d2d2a28d650c13f396872ad4aa076c6

diff --git a/dev-libs/protobuf/protobuf-3.17.0.ebuild 
b/dev-libs/protobuf/protobuf-3.17.0.ebuild
deleted file mode 100644
index ab50d514273e..
--- a/dev-libs/protobuf/protobuf-3.17.0.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 2008-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit autotools elisp-common flag-o-matic multilib-minimal toolchain-funcs
-
-if [[ "${PV}" == "" ]]; then
-   inherit git-r3
-
-   EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf;
-   EGIT_SUBMODULES=()
-fi
-
-DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing 
structured data"
-HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/protocolbuffers/protobuf;
-if [[ "${PV}" == "" ]]; then
-   SRC_URI=""
-else
-   SRC_URI="https://github.com/protocolbuffers/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
-fi
-
-LICENSE="BSD"
-SLOT="0/28"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="emacs examples static-libs test zlib"
-RESTRICT="!test? ( test )"
-
-BDEPEND="emacs? ( app-editors/emacs:* )"
-DEPEND="test? ( >=dev-cpp/gtest-1.9[${MULTILIB_USEDEP}] )
-   zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )"
-RDEPEND="emacs? ( app-editors/emacs:* )
-   zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-3.17.0-disable_no-warning-test.patch"
-   "${FILESDIR}/${PN}-3.17.0-system_libraries.patch"
-   "${FILESDIR}/${PN}-3.16.0-protoc_input_output_files.patch"
-)
-
-DOCS=(CHANGES.txt CONTRIBUTORS.txt README.md)
-
-src_prepare() {
-   default
-
-   # https://github.com/protocolbuffers/protobuf/issues/7413
-   sed -e 

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

2022-02-13 Thread Jakov Smolić
commit: cc1aca7d866bf7e31e53ef9f3ed08788176f0ded
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun Feb 13 23:18:34 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Feb 13 23:18:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc1aca7d

dev-libs/protobuf: Stabilize 3.19.1 x86, #828632

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-libs/protobuf/protobuf-3.19.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.19.1.ebuild 
b/dev-libs/protobuf/protobuf-3.19.1.ebuild
index affbc3d58502..8cdee6955692 100644
--- a/dev-libs/protobuf/protobuf-3.19.1.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.1.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/pro
 LICENSE="BSD"
 SLOT="0/30"
 # -hppa for bug #831728
-KEYWORDS="~alpha amd64 arm arm64 -hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 -hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-02-02 Thread Arthur Zamarin
commit: c563834a4eb425be30c0691050db81823e47946d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Feb  2 20:51:59 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Feb  2 20:51:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c563834a

dev-libs/protobuf-c: Stabilize 1.4.0-r1 ppc64, #811705

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
index 4f6a5e7ddc7c..8e8ab4e49d70 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2022-02-02 Thread Sam James
commit: 19ca08d4a1cb805da55401115a8e0ae62ab3fb75
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb  2 09:46:06 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb  2 09:46:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19ca08d4

dev-libs/protobuf: Stabilize 3.17.3 hppa, #832568

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

 dev-libs/protobuf/protobuf-3.17.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.17.3.ebuild 
b/dev-libs/protobuf/protobuf-3.17.3.ebuild
index 400858520580..c021f1f1885f 100644
--- a/dev-libs/protobuf/protobuf-3.17.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.17.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/28"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc 
x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-02-02 Thread Agostino Sarubbo
commit: e8aaa2342507211beaad29526931ea2bbe1b8d68
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Feb  2 08:03:28 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Feb  2 08:03:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8aaa234

dev-libs/protobuf-c: sparc stable wrt bug #811705

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
index 5f3efe1abb49..4f6a5e7ddc7c 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
sparc x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2022-02-02 Thread Agostino Sarubbo
commit: 6104c7d3a0079e0d8fb173a476034d782cb8f41e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Feb  2 08:02:35 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Feb  2 08:02:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6104c7d3

dev-libs/protobuf-c: ppc stable wrt bug #811705

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
index 5778623c7435..5f3efe1abb49 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
~sparc x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2022-02-02 Thread Agostino Sarubbo
commit: dcc4fffec6c3e89a37f5bc67c83a56fddcb98b03
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Feb  2 08:02:07 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Feb  2 08:02:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcc4fffe

dev-libs/protobuf-c: amd64 stable wrt bug #811705

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
index ae984fd64d87..5778623c7435 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2022-01-31 Thread Sam James
commit: 317f64552b7486c0782c3e65ca6b974ad37881ef
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  1 04:10:56 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  1 04:10:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=317f6455

dev-libs/protobuf-c: Stabilize 1.4.0-r1 x86, #811705

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

 dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
index d8f7024e14d9..ae984fd64d87 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2022-01-31 Thread Sam James
commit: 3a058e79ebccf53be3fad6153c1bdd07767b57c4
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  1 04:09:50 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  1 04:09:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a058e79

dev-libs/protobuf-c: Stabilize 1.4.0-r1 arm, #811705

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

 dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
index 363c475ea98c..d8f7024e14d9 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2022-01-31 Thread Sam James
commit: 5202c47efe957968de7d457932603a438f8fbb9d
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  1 04:09:25 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  1 04:09:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5202c47e

dev-libs/protobuf-c: Stabilize 1.4.0-r1 arm64, #811705

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

 dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
index c4c68172c8ef..363c475ea98c 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2022-01-29 Thread Sam James
commit: 34bbc3007bfdb78941fd5f23f97ff2c6c2b3a73f
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 29 15:55:59 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 29 15:55:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34bbc300

dev-libs/protobuf: mark broken HPPA versions as -hppa

Newer versions are fixed but let's do this to avoid accidentally upgrading
to them on HPPA systems. 3.19.3 is fine.

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

 dev-libs/protobuf/protobuf-3.18.2.ebuild | 3 ++-
 dev-libs/protobuf/protobuf-3.19.1.ebuild | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-libs/protobuf/protobuf-3.18.2.ebuild 
b/dev-libs/protobuf/protobuf-3.18.2.ebuild
index f0dbf35e965e..0aea6a331d06 100644
--- a/dev-libs/protobuf/protobuf-3.18.2.ebuild
+++ b/dev-libs/protobuf/protobuf-3.18.2.ebuild
@@ -22,7 +22,8 @@ fi
 
 LICENSE="BSD"
 SLOT="0/29"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+# -hppa for bug #831728
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 

diff --git a/dev-libs/protobuf/protobuf-3.19.1.ebuild 
b/dev-libs/protobuf/protobuf-3.19.1.ebuild
index 3ad04bc9adfe..affbc3d58502 100644
--- a/dev-libs/protobuf/protobuf-3.19.1.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.1.ebuild
@@ -19,7 +19,8 @@ HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/pro
 
 LICENSE="BSD"
 SLOT="0/30"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+# -hppa for bug #831728
+KEYWORDS="~alpha amd64 arm arm64 -hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2022-01-29 Thread Yixun Lan
commit: 9369ebe2df69cf04f13c4754fef2e3f709f4fec2
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Mon Jan 24 02:00:00 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Jan 29 15:19:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9369ebe2

dev-libs/protobuf: Set CJK as co-maintainer.

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Yixun Lan  gentoo.org>

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

diff --git a/dev-libs/protobuf/metadata.xml b/dev-libs/protobuf/metadata.xml
index b881bbd59270..4ac93ba8e52d 100644
--- a/dev-libs/protobuf/metadata.xml
+++ b/dev-libs/protobuf/metadata.xml
@@ -5,9 +5,9 @@
arfrever@gmail.com
Arfrever Frehtes Taifersar Arahesis

-   
-   flop...@gentoo.org
-   Mike Gilbert
+   
+   c...@gentoo.org
+   Cjk


Soname version number



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

2022-01-29 Thread Yixun Lan
commit: f96bd0cd2896fc8ea3a83404c90acd7a76991367
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sat Jan 22 02:00:00 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Jan 29 15:19:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f96bd0cd

dev-libs/protobuf: Delete static assertion failing on HPPA.

Closes: https://bugs.gentoo.org/831728
Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-libs/protobuf/protobuf-3.18.2.ebuild | 3 +++
 dev-libs/protobuf/protobuf-3.19.3.ebuild | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/dev-libs/protobuf/protobuf-3.18.2.ebuild 
b/dev-libs/protobuf/protobuf-3.18.2.ebuild
index 8abb87bc6f00..f0dbf35e965e 100644
--- a/dev-libs/protobuf/protobuf-3.18.2.ebuild
+++ b/dev-libs/protobuf/protobuf-3.18.2.ebuild
@@ -61,6 +61,9 @@ src_prepare() {
# https://github.com/protocolbuffers/protobuf/issues/9392
sed -e "s/^AC_PROG_OBJC$/AS_CASE([\$target_os], [darwin*], 
[AC_PROG_OBJC], [AM_CONDITIONAL([am__fastdepOBJC], [false])])/" -i configure.ac 
|| die
 
+   # https://github.com/protocolbuffers/protobuf/issues/9433
+   sed -e "/^[[:space:]]*static_assert(alignof(T) <= 8, \"\");$/d" -i 
src/google/protobuf/descriptor.cc || die
+
eautoreconf
 }
 

diff --git a/dev-libs/protobuf/protobuf-3.19.3.ebuild 
b/dev-libs/protobuf/protobuf-3.19.3.ebuild
index 7d80384736a4..9171eaebedbc 100644
--- a/dev-libs/protobuf/protobuf-3.19.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.3.ebuild
@@ -61,6 +61,9 @@ src_prepare() {
# https://github.com/protocolbuffers/protobuf/issues/9392
sed -e "s/^AC_PROG_OBJC$/AS_CASE([\$target_os], [darwin*], 
[AC_PROG_OBJC], [AM_CONDITIONAL([am__fastdepOBJC], [false])])/" -i configure.ac 
|| die
 
+   # https://github.com/protocolbuffers/protobuf/issues/9433
+   sed -e "/^[[:space:]]*static_assert(alignof(T) <= 8, \"\");$/d" -i 
src/google/protobuf/descriptor.cc || die
+
eautoreconf
 }
 



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

2022-01-29 Thread Yixun Lan
commit: f150ada68010398c87923dbcb148ddcaf85ca183
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Mon Jan 10 10:00:00 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Jan 29 15:18:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f150ada6

dev-libs/protobuf: Delete old version (3.16.0).

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-libs/protobuf/Manifest |   1 -
 .../protobuf-3.15.0-disable_no-warning-test.patch  |  19 ---
 .../files/protobuf-3.16.0-system_libraries.patch   | 121 -
 dev-libs/protobuf/protobuf-3.16.0.ebuild   | 143 -
 4 files changed, 284 deletions(-)

diff --git a/dev-libs/protobuf/Manifest b/dev-libs/protobuf/Manifest
index a486c4d26a37..018b2ea1f9bf 100644
--- a/dev-libs/protobuf/Manifest
+++ b/dev-libs/protobuf/Manifest
@@ -1,4 +1,3 @@
-DIST protobuf-3.16.0.tar.gz 5299781 BLAKE2B 
9ace02a6038c31b7393671fb2ccd6a4866a3f8b7d87d2bc8371f49d65b9180f10792ca2430a83449dfa7d785a1244dac23c20756414c9d1e7c7e871a8038b123
 SHA512 
0191e5a6a23d03f691e883e259f6d06a0ac8eef427455bc7d1cc70b6f0ed260e4ad8f360c836fd4bdc95ec0ca314c887cbf7acbcda60e03cdfe69e4cd275bff5
 DIST protobuf-3.17.0.tar.gz 5185780 BLAKE2B 
a168619df72cdf097c7ddfd50aca96a2101bf73e7c1c842c020e6ee08a853db8674a86ca999b7706da3dd21d4d3d2159241c93232efc693701962f3a54a382e9
 SHA512 
36ed2de641849ce01531ff1207f62a0748f811519c40622a119a17a1e709864382de81481fb58f374a025948971c48416e7e6de9c00512a78633c7a8a3aa3a36
 DIST protobuf-3.17.1.tar.gz 5192666 BLAKE2B 
7f912db7e0835aaa42628fcf564a5666e2cbfa021bb35638a5eec53c3c457f1e747225dea54f732b7239a1520febca9bc20c824b1938f100796caa3ac2133bc1
 SHA512 
5a18aa3c1dab040dc6d22310a8503241081106acf7ca89079d7b416533d7c2cdd47719dc9023e6bc26969f0f1c796550260a04034a403c69752f6a3a7a651bb8
 DIST protobuf-3.17.2.tar.gz 5192779 BLAKE2B 
97f9561848e70b8d26ebcc7fc4fa8da51c4b8267efbe1d2d386c2785308e7ba7edc05f1b3863c274dc8838866d58b58509606d72c51a22b956d1d528584c4c95
 SHA512 
b3e7ad50ed772668df70a3a20ad1af13a5e82f23b109e4fecd34e6a74947bed300963c9f084907fbfafe28fc18365cde7df1975e2ff9538d2f5a3d2b458bca98

diff --git 
a/dev-libs/protobuf/files/protobuf-3.15.0-disable_no-warning-test.patch 
b/dev-libs/protobuf/files/protobuf-3.15.0-disable_no-warning-test.patch
deleted file mode 100644
index 031b1b222a9e..
--- a/dev-libs/protobuf/files/protobuf-3.15.0-disable_no-warning-test.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Disable no-warning-test which is compiled with -Werror option and whose only 
purpose is checking if compilation results in any warnings.
-
 /src/Makefile.am
-+++ /src/Makefile.am
-@@ -709,7 +709,7 @@
- GOOGLEMOCK_SRC_DIR=$(srcdir)/../third_party/googletest/googlemock
- check_PROGRAMS = protoc protobuf-test protobuf-lazy-descriptor-test \
-  protobuf-lite-test test_plugin protobuf-lite-arena-test \
-- no-warning-test $(GZCHECKPROGRAMS)
-+ $(GZCHECKPROGRAMS)
- protobuf_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \
-   $(GOOGLETEST_BUILD_DIR)/lib/libgtest.la \
-   $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock.la \
-@@ -896,4 +896,4 @@
- 
- TESTS = protobuf-test protobuf-lazy-descriptor-test protobuf-lite-test \
- google/protobuf/compiler/zip_output_unittest.sh $(GZTESTS) \
--protobuf-lite-arena-test no-warning-test
-+protobuf-lite-arena-test

diff --git a/dev-libs/protobuf/files/protobuf-3.16.0-system_libraries.patch 
b/dev-libs/protobuf/files/protobuf-3.16.0-system_libraries.patch
deleted file mode 100644
index 5b6f4101e9ca..
--- a/dev-libs/protobuf/files/protobuf-3.16.0-system_libraries.patch
+++ /dev/null
@@ -1,121 +0,0 @@
 /Makefile.am
-+++ /Makefile.am
-@@ -11,28 +11,10 @@
- # Always include third_party directories in distributions.
- DIST_SUBDIRS = src conformance benchmarks third_party/googletest
- 
--# Build gmock before we build protobuf tests.  We don't add gmock to SUBDIRS
--# because then "make check" would also build and run all of gmock's own tests,
--# which takes a lot of time and is generally not useful to us.  Also, we don't
--# want "make install" to recurse into gmock since we don't want to overwrite
--# the installed version of gmock if there is one.
- check-local:
--  @echo "Making lib/libgmock.a lib/libgmock_main.a in gmock"
--  @cd third_party/googletest/googletest && $(MAKE) $(AM_MAKEFLAGS) 
lib/libgtest.la lib/libgtest_main.la
--  @cd third_party/googletest/googlemock && $(MAKE) $(AM_MAKEFLAGS) 
lib/libgmock.la lib/libgmock_main.la
- 
--# We would like to clean gmock when "make clean" is invoked.  But we have to
--# be careful because clean-local is also invoked during "make distclean", but
--# "make distclean" already recurses into gmock because it's listed among the
--# DIST_SUBDIRS.  distclean will delete gmock/Makefile, so if 

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

2022-01-04 Thread Sam James
commit: a792e455bfcba4b7a462d1cadb1eab2ed1c3f7fc
Author: Adrian Ratiu  collabora  com>
AuthorDate: Mon Dec  6 12:30:24 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan  4 10:07:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a792e455

dev-libs/protobuf: fix Objective-C compiler selection

During the protobuf configure phase, autotools gives priority
to GCC if $OBJC is unset, thus leading to cases where GCC is
used for Objective-C even though Clang is used for the rest
of the build, so we set OBJC to correctly picks up CC values.

Closes: https://bugs.gentoo.org/830584
Signed-off-by: Adrian Ratiu  collabora.com>
Closes: https://github.com/gentoo/gentoo/pull/23197
Signed-off-by: Sam James  gentoo.org>

 dev-libs/protobuf/protobuf-3.16.0.ebuild | 3 ++-
 dev-libs/protobuf/protobuf-3.17.0.ebuild | 3 ++-
 dev-libs/protobuf/protobuf-3.17.1.ebuild | 3 ++-
 dev-libs/protobuf/protobuf-3.17.2.ebuild | 3 ++-
 dev-libs/protobuf/protobuf-3.17.3.ebuild | 3 ++-
 dev-libs/protobuf/protobuf-3.19.1.ebuild | 3 ++-
 dev-libs/protobuf/protobuf-.ebuild   | 3 ++-
 7 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/dev-libs/protobuf/protobuf-3.16.0.ebuild 
b/dev-libs/protobuf/protobuf-3.16.0.ebuild
index ed6e85a966fb..68eb4507463b 100644
--- a/dev-libs/protobuf/protobuf-3.16.0.ebuild
+++ b/dev-libs/protobuf/protobuf-3.16.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2008-2021 Gentoo Authors
+# Copyright 2008-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -74,6 +74,7 @@ src_configure() {
 
 multilib_src_configure() {
local options=(
+   OBJC="$(tc-getBUILD_CC)"
$(use_enable static-libs static)
$(use_with zlib)
)

diff --git a/dev-libs/protobuf/protobuf-3.17.0.ebuild 
b/dev-libs/protobuf/protobuf-3.17.0.ebuild
index 6391fd499f34..390df7df0b7c 100644
--- a/dev-libs/protobuf/protobuf-3.17.0.ebuild
+++ b/dev-libs/protobuf/protobuf-3.17.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2008-2021 Gentoo Authors
+# Copyright 2008-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -74,6 +74,7 @@ src_configure() {
 
 multilib_src_configure() {
local options=(
+   OBJC="$(tc-getBUILD_CC)"
$(use_enable static-libs static)
$(use_with zlib)
)

diff --git a/dev-libs/protobuf/protobuf-3.17.1.ebuild 
b/dev-libs/protobuf/protobuf-3.17.1.ebuild
index 6391fd499f34..390df7df0b7c 100644
--- a/dev-libs/protobuf/protobuf-3.17.1.ebuild
+++ b/dev-libs/protobuf/protobuf-3.17.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2008-2021 Gentoo Authors
+# Copyright 2008-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -74,6 +74,7 @@ src_configure() {
 
 multilib_src_configure() {
local options=(
+   OBJC="$(tc-getBUILD_CC)"
$(use_enable static-libs static)
$(use_with zlib)
)

diff --git a/dev-libs/protobuf/protobuf-3.17.2.ebuild 
b/dev-libs/protobuf/protobuf-3.17.2.ebuild
index 6391fd499f34..390df7df0b7c 100644
--- a/dev-libs/protobuf/protobuf-3.17.2.ebuild
+++ b/dev-libs/protobuf/protobuf-3.17.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2008-2021 Gentoo Authors
+# Copyright 2008-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -74,6 +74,7 @@ src_configure() {
 
 multilib_src_configure() {
local options=(
+   OBJC="$(tc-getBUILD_CC)"
$(use_enable static-libs static)
$(use_with zlib)
)

diff --git a/dev-libs/protobuf/protobuf-3.17.3.ebuild 
b/dev-libs/protobuf/protobuf-3.17.3.ebuild
index 1254928d7c06..a29ab8dcb86c 100644
--- a/dev-libs/protobuf/protobuf-3.17.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.17.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2008-2021 Gentoo Authors
+# Copyright 2008-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -74,6 +74,7 @@ src_configure() {
 
 multilib_src_configure() {
local options=(
+   OBJC="$(tc-getBUILD_CC)"
$(use_enable static-libs static)
$(use_with zlib)
)

diff --git a/dev-libs/protobuf/protobuf-3.19.1.ebuild 
b/dev-libs/protobuf/protobuf-3.19.1.ebuild
index 534446b5f41a..41c154dc9b6a 100644
--- a/dev-libs/protobuf/protobuf-3.19.1.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2008-2021 Gentoo Authors
+# Copyright 2008-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -71,6 +71,7 @@ src_configure() {
 
 multilib_src_configure() {
local options=(
+   OBJC="$(tc-getBUILD_CC)"
$(use_enable static-libs static)
$(use_with zlib)
)

diff --git a/dev-libs/protobuf/protobuf-.ebuild 

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

2021-12-31 Thread Arthur Zamarin
commit: 96092c6d319a2afd87d39efb48c7cf64f5fc8d35
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 31 18:49:39 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 31 18:49:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96092c6d

dev-libs/protobuf: Stabilize 3.19.1 ppc, #828632

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf/protobuf-3.19.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.19.1.ebuild 
b/dev-libs/protobuf/protobuf-3.19.1.ebuild
index 04eb1c53d8ad..534446b5f41a 100644
--- a/dev-libs/protobuf/protobuf-3.19.1.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.1.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/pro
 
 LICENSE="BSD"
 SLOT="0/30"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2021-12-16 Thread Arthur Zamarin
commit: e03c6c1f2c53d63d28571a46a773732589ee39e9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 17 07:32:14 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 17 07:32:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e03c6c1f

dev-libs/protobuf: Stabilize 3.19.1 sparc, #828632

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf/protobuf-3.19.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.19.1.ebuild 
b/dev-libs/protobuf/protobuf-3.19.1.ebuild
index b76cdf73e0a1..ac3fe77d762e 100644
--- a/dev-libs/protobuf/protobuf-3.19.1.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.1.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/pro
 
 LICENSE="BSD"
 SLOT="0/30"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2021-12-16 Thread Arthur Zamarin
commit: d00f1fb247538019ad924ef60c9b12c651e09b4e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 17 07:32:24 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 17 07:32:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d00f1fb2

dev-libs/protobuf: Stabilize 3.19.1 arm64, #828632

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf/protobuf-3.19.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.19.1.ebuild 
b/dev-libs/protobuf/protobuf-3.19.1.ebuild
index ac3fe77d762e..04eb1c53d8ad 100644
--- a/dev-libs/protobuf/protobuf-3.19.1.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.1.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/pro
 
 LICENSE="BSD"
 SLOT="0/30"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2021-12-16 Thread Sam James
commit: 99572e200f3a5fb271204cb9ea7dfea1bc45f364
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 17 03:07:14 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 17 03:07:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99572e20

dev-libs/protobuf: Stabilize 3.19.1 arm, #828632

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

 dev-libs/protobuf/protobuf-3.19.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.19.1.ebuild 
b/dev-libs/protobuf/protobuf-3.19.1.ebuild
index 42ead2ac08fd..b76cdf73e0a1 100644
--- a/dev-libs/protobuf/protobuf-3.19.1.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.1.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/pro
 
 LICENSE="BSD"
 SLOT="0/30"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2021-12-09 Thread Sam James
commit: 11e1b1411f82463e9397dd62f9d17c4d2a95148f
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 10 04:39:34 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 10 04:40:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11e1b141

dev-libs/protobuf: Stabilize 3.19.1 amd64, #828632

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

 dev-libs/protobuf/protobuf-3.19.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.19.1.ebuild 
b/dev-libs/protobuf/protobuf-3.19.1.ebuild
index bed06089ba4e..42ead2ac08fd 100644
--- a/dev-libs/protobuf/protobuf-3.19.1.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.1.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/pro
 
 LICENSE="BSD"
 SLOT="0/30"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2021-12-09 Thread Sam James
commit: f54d75f68526513683b26bcd05b383276e075480
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 10 00:26:49 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 10 00:26:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f54d75f6

dev-libs/protobuf: Stabilize 3.19.1 ppc64, #828632

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

 dev-libs/protobuf/protobuf-3.19.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.19.1.ebuild 
b/dev-libs/protobuf/protobuf-3.19.1.ebuild
index 40c652ccb9b2..bed06089ba4e 100644
--- a/dev-libs/protobuf/protobuf-3.19.1.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.1.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/pro
 
 LICENSE="BSD"
 SLOT="0/30"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2021-11-18 Thread Mike Gilbert
commit: a3b762d0a79a116e0a956d402b4f15269e282ec7
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Thu Nov 18 05:00:00 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Nov 18 22:22:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3b762d0

dev-libs/protobuf: Delete old version (3.15.8).

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 dev-libs/protobuf/Manifest |   1 -
 ...protobuf-3.15.0-protoc_input_output_files.patch | 240 -
 .../files/protobuf-3.15.0-system_libraries.patch   | 121 ---
 dev-libs/protobuf/protobuf-3.15.8.ebuild   | 140 
 4 files changed, 502 deletions(-)

diff --git a/dev-libs/protobuf/Manifest b/dev-libs/protobuf/Manifest
index e4219af26c33..e5d6443b5d31 100644
--- a/dev-libs/protobuf/Manifest
+++ b/dev-libs/protobuf/Manifest
@@ -1,4 +1,3 @@
-DIST protobuf-3.15.8.tar.gz 5285277 BLAKE2B 
798fc011ac03cdc2406acf5845c667d8482082044bdace06c2c1d02b5b1b69c1b1f30e29774180dc1801a1d21d62e2ce50325105859564a1e36d3fe478e64d8b
 SHA512 
56fc6df2dae14eee0fb67dd4204fc1ec54a18d994a69c9e42c7888d0cd50d269d1c5e1445d74f0fa705850d4ac86a22d86781e09769a716e5c6f829b15b05592
 DIST protobuf-3.16.0.tar.gz 5299781 BLAKE2B 
9ace02a6038c31b7393671fb2ccd6a4866a3f8b7d87d2bc8371f49d65b9180f10792ca2430a83449dfa7d785a1244dac23c20756414c9d1e7c7e871a8038b123
 SHA512 
0191e5a6a23d03f691e883e259f6d06a0ac8eef427455bc7d1cc70b6f0ed260e4ad8f360c836fd4bdc95ec0ca314c887cbf7acbcda60e03cdfe69e4cd275bff5
 DIST protobuf-3.17.0.tar.gz 5185780 BLAKE2B 
a168619df72cdf097c7ddfd50aca96a2101bf73e7c1c842c020e6ee08a853db8674a86ca999b7706da3dd21d4d3d2159241c93232efc693701962f3a54a382e9
 SHA512 
36ed2de641849ce01531ff1207f62a0748f811519c40622a119a17a1e709864382de81481fb58f374a025948971c48416e7e6de9c00512a78633c7a8a3aa3a36
 DIST protobuf-3.17.1.tar.gz 5192666 BLAKE2B 
7f912db7e0835aaa42628fcf564a5666e2cbfa021bb35638a5eec53c3c457f1e747225dea54f732b7239a1520febca9bc20c824b1938f100796caa3ac2133bc1
 SHA512 
5a18aa3c1dab040dc6d22310a8503241081106acf7ca89079d7b416533d7c2cdd47719dc9023e6bc26969f0f1c796550260a04034a403c69752f6a3a7a651bb8

diff --git 
a/dev-libs/protobuf/files/protobuf-3.15.0-protoc_input_output_files.patch 
b/dev-libs/protobuf/files/protobuf-3.15.0-protoc_input_output_files.patch
deleted file mode 100644
index 8e9733fc4644..
--- a/dev-libs/protobuf/files/protobuf-3.15.0-protoc_input_output_files.patch
+++ /dev/null
@@ -1,240 +0,0 @@
-https://github.com/protocolbuffers/protobuf/pull/235
-
 /src/google/protobuf/compiler/command_line_interface.cc
-+++ /src/google/protobuf/compiler/command_line_interface.cc
-@@ -1109,6 +1109,28 @@
-   }
- 
-   if (mode_ == MODE_ENCODE || mode_ == MODE_DECODE) {
-+bool success = false;
-+int in_fd = STDIN_FILENO;
-+int out_fd = STDOUT_FILENO;
-+
-+if (!protobuf_in_path_.empty()) {
-+  in_fd = open(protobuf_in_path_.c_str(), O_RDONLY);
-+  if (in_fd == -1) {
-+std::cerr << protobuf_in_path_ << ": error: failed to open file." << 
std::endl;
-+return 1;
-+  }
-+}
-+if (!protobuf_out_path_.empty()) {
-+  out_fd = open(protobuf_out_path_.c_str(),
-+O_WRONLY | O_CREAT | O_TRUNC,
-+0644);
-+  if (out_fd == -1) {
-+std::cerr << protobuf_out_path_ << ": error: failed to open file." << 
std::endl;
-+close(in_fd);
-+return 1;
-+  }
-+}
-+
- if (codec_type_.empty()) {
-   // HACK:  Define an EmptyMessage type to use for decoding.
-   DescriptorPool pool;
-@@ -1117,13 +1139,20 @@
-   file.add_message_type()->set_name("EmptyMessage");
-   GOOGLE_CHECK(pool.BuildFile(file) != NULL);
-   codec_type_ = "EmptyMessage";
--  if (!EncodeOrDecode()) {
--return 1;
--  }
-+  success = EncodeOrDecode(, in_fd, out_fd);
- } else {
--  if (!EncodeOrDecode(descriptor_pool.get())) {
--return 1;
--  }
-+  success = EncodeOrDecode(descriptor_pool.get(), in_fd, out_fd);
-+}
-+
-+if (in_fd != STDIN_FILENO) {
-+  close(in_fd);
-+}
-+if (out_fd != STDOUT_FILENO) {
-+  close(out_fd);
-+}
-+
-+if (!success) {
-+  return 1;
- }
-   }
- 
-@@ -1161,6 +1190,11 @@
-   for (int i = 0; i < proto_path_.size(); i++) {
- source_tree->MapPath(proto_path_[i].first, proto_path_[i].second);
-   }
-+  if (mode_ == MODE_COMPILE &&
-+  (!protobuf_in_path_.empty() || !protobuf_out_path_.empty())) {
-+std::cerr << "--protobuf_in and --protobuf_out are only valid with "
-+ << "decode operations. Ignoring.";
-+  }
- 
-   // Map input files to virtual paths if possible.
-   if (!MakeInputsBeProtoPathRelative(source_tree, fallback_database)) {
-@@ -1892,6 +1926,12 @@
-   } else if (name == "--deterministic_output") {
- deterministic_output_ = true;
- 
-+  } else if (name == "--protobuf_in") {

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

2021-11-18 Thread Mike Gilbert
commit: 33f4f415ccbbbf725b5a9aca22cb30a23dd62cb9
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Thu Nov 18 02:00:00 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Nov 18 22:22:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33f4f415

dev-libs/protobuf: Update subslot.

https://github.com/protocolbuffers/protobuf/commit/7cbc08615fac1f0051150ad4a1611a412991804c
https://github.com/protocolbuffers/protobuf/commit/519340d662379feae6a50973e43220d5f1e252f0

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

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

diff --git a/dev-libs/protobuf/protobuf-.ebuild 
b/dev-libs/protobuf/protobuf-.ebuild
index 6a5eecd502cf..cfe56720a1a3 100644
--- a/dev-libs/protobuf/protobuf-.ebuild
+++ b/dev-libs/protobuf/protobuf-.ebuild
@@ -21,7 +21,7 @@ else
 fi
 
 LICENSE="BSD"
-SLOT="0/28"
+SLOT="0/30"
 KEYWORDS=""
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"



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

2021-11-09 Thread Arthur Zamarin
commit: a1e09cacb352f70f424255cb46fd502018274ccf
Author: Miezhiko  gmail  com>
AuthorDate: Tue Nov  9 08:48:38 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Nov  9 11:51:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e09cac

dev-libs/protobuf: add new version 3.19.1

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Contributed-by: Miezhiko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/22865
Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/protobuf/Manifest   |   1 +
 dev-libs/protobuf/protobuf-3.19.1.ebuild | 137 +++
 2 files changed, 138 insertions(+)

diff --git a/dev-libs/protobuf/Manifest b/dev-libs/protobuf/Manifest
index 87ea4747892..e4219af26c3 100644
--- a/dev-libs/protobuf/Manifest
+++ b/dev-libs/protobuf/Manifest
@@ -4,3 +4,4 @@ DIST protobuf-3.17.0.tar.gz 5185780 BLAKE2B 
a168619df72cdf097c7ddfd50aca96a2101b
 DIST protobuf-3.17.1.tar.gz 5192666 BLAKE2B 
7f912db7e0835aaa42628fcf564a5666e2cbfa021bb35638a5eec53c3c457f1e747225dea54f732b7239a1520febca9bc20c824b1938f100796caa3ac2133bc1
 SHA512 
5a18aa3c1dab040dc6d22310a8503241081106acf7ca89079d7b416533d7c2cdd47719dc9023e6bc26969f0f1c796550260a04034a403c69752f6a3a7a651bb8
 DIST protobuf-3.17.2.tar.gz 5192779 BLAKE2B 
97f9561848e70b8d26ebcc7fc4fa8da51c4b8267efbe1d2d386c2785308e7ba7edc05f1b3863c274dc8838866d58b58509606d72c51a22b956d1d528584c4c95
 SHA512 
b3e7ad50ed772668df70a3a20ad1af13a5e82f23b109e4fecd34e6a74947bed300963c9f084907fbfafe28fc18365cde7df1975e2ff9538d2f5a3d2b458bca98
 DIST protobuf-3.17.3.tar.gz 5235236 BLAKE2B 
2495e678c8f9436d4e5a30ccee8b6226125d418ac7ecf7df20b078a1a16c221cbccab7d846dcd56a90220c106617fa75c410a21b62612fedec378cd7e8571350
 SHA512 
b4030b4474cc5fb5a62501200725dd488e6e66e3ced4ed12ab4ee029fcfed305e92ec966adafbdd343afffd186908163849422b95eaa500e7e741ac325d01d12
+DIST protobuf-3.19.1.tar.gz 5291573 BLAKE2B 
a34f1a7cf99ecb6cb8a26bc858de6273bfd26aa9be1e89e48c16cb5df0f1e9576479344c8250017238dbac0d0c4ac33001125b5fc622cb64ed6b91023198b03a
 SHA512 
f1271f5159a7be363a5f60ce4921dfea68a8468d66808330bacaeaa1cb7f652d045ab080b5d82816a6fd4e6d7d7fe79aaa6c8d66d81692721d36ce3bbf619f31

diff --git a/dev-libs/protobuf/protobuf-3.19.1.ebuild 
b/dev-libs/protobuf/protobuf-3.19.1.ebuild
new file mode 100644
index 000..40c652ccb9b
--- /dev/null
+++ b/dev-libs/protobuf/protobuf-3.19.1.ebuild
@@ -0,0 +1,137 @@
+# Copyright 2008-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools elisp-common flag-o-matic multilib-minimal toolchain-funcs
+
+if [[ "${PV}" == "" ]]; then
+   inherit git-r3
+
+   EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf;
+   EGIT_SUBMODULES=()
+else
+   SRC_URI="https://github.com/protocolbuffers/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
+fi
+
+DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing 
structured data"
+HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/protocolbuffers/protobuf;
+
+LICENSE="BSD"
+SLOT="0/30"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="emacs examples static-libs test zlib"
+RESTRICT="!test? ( test )"
+
+BDEPEND="emacs? ( app-editors/emacs:* )"
+DEPEND="test? ( >=dev-cpp/gtest-1.9[${MULTILIB_USEDEP}] )
+   zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )"
+RDEPEND="emacs? ( app-editors/emacs:* )
+   zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-3.17.0-disable_no-warning-test.patch"
+   "${FILESDIR}/${PN}-3.17.0-system_libraries.patch"
+   "${FILESDIR}/${PN}-3.16.0-protoc_input_output_files.patch"
+)
+
+DOCS=(CHANGES.txt CONTRIBUTORS.txt README.md)
+
+src_prepare() {
+   default
+
+   # https://github.com/protocolbuffers/protobuf/issues/7413
+   sed -e "/^AC_PROG_CXX_FOR_BUILD$/d" -i configure.ac || die
+
+   # https://github.com/protocolbuffers/protobuf/issues/8082
+   sed -e "/^TEST_F(IoTest, LargeOutput) {$/,/^}$/d" -i 
src/google/protobuf/io/zero_copy_stream_unittest.cc || die
+
+   # https://github.com/protocolbuffers/protobuf/issues/8459
+   sed \
+   -e "/^TEST(ArenaTest, BlockSizeSmallerThanAllocation) {$/a\\  
if (sizeof(void*) == 4) {\nGTEST_SKIP();\n  }" \
+   -e "/^TEST(ArenaTest, SpaceAllocated_and_Used) {$/a\\  if 
(sizeof(void*) == 4) {\nGTEST_SKIP();\n  }" \
+   -i src/google/protobuf/arena_unittest.cc || die
+
+   # https://github.com/protocolbuffers/protobuf/issues/8460
+   sed -e "/^TEST(AnyTest, TestPackFromSerializationExceedsSizeLimit) 
{$/a\\  if (sizeof(void*) == 4) {\nGTEST_SKIP();\n  }" -i 
src/google/protobuf/any_test.cc || die
+
+   eautoreconf
+}
+
+src_configure() {
+   append-cppflags -DGOOGLE_PROTOBUF_NO_RTTI
+
+   if tc-ld-is-gold; then
+   # 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/protobuf-c/files/

2021-11-04 Thread Sam James
commit: 5b636acab6ea7ca7606ec9dbc00d57b6f9825b7e
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov  4 21:34:42 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov  4 21:34:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b636aca

dev-libs/protobuf-c: flip include order

Closes: https://bugs.gentoo.org/821727
Bug: https://bugs.gentoo.org/818775
Signed-off-by: Sam James  gentoo.org>

 .../files/protobuf-c-1.4.0-include-path.patch  | 26 +++---
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/dev-libs/protobuf-c/files/protobuf-c-1.4.0-include-path.patch 
b/dev-libs/protobuf-c/files/protobuf-c-1.4.0-include-path.patch
index ae3fa26e6ab..80b6ea4705b 100644
--- a/dev-libs/protobuf-c/files/protobuf-c-1.4.0-include-path.patch
+++ b/dev-libs/protobuf-c/files/protobuf-c-1.4.0-include-path.patch
@@ -7,7 +7,7 @@ https://bugs.gentoo.org/818775
  
  protobuf-c/protobuf-c.pb.cc protobuf-c/protobuf-c.pb.h: @PROTOC@ 
$(top_srcdir)/protobuf-c/protobuf-c.proto
 -  $(AM_V_GEN)@PROTOC@ -I$(top_srcdir) --cpp_out=$(top_builddir) 
$(top_srcdir)/protobuf-c/protobuf-c.proto
-+  $(AM_V_GEN)@PROTOC@ -I@includedir@ -I$(top_srcdir) 
--cpp_out=$(top_builddir) $(top_srcdir)/protobuf-c/protobuf-c.proto
++  $(AM_V_GEN)@PROTOC@ -I$(top_srcdir) -I@includedir@ 
--cpp_out=$(top_builddir) $(top_srcdir)/protobuf-c/protobuf-c.proto
  
  BUILT_SOURCES += \
 protobuf-c/protobuf-c.pb.cc \
@@ -16,19 +16,19 @@ https://bugs.gentoo.org/818775
  
  t/test.pb-c.c t/test.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
$(top_srcdir)/t/test.proto
 -  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test.proto
-+  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I@includedir@ -I$(top_srcdir) --c_out=$(top_builddir) 
$(top_srcdir)/t/test.proto
++  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I$(top_srcdir) -I@includedir@ --c_out=$(top_builddir) 
$(top_srcdir)/t/test.proto
  
  t/test-optimized.pb-c.c t/test-optimized.pb-c.h: 
$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
$(top_srcdir)/t/test-optimized.proto
 -  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-optimized.proto
-+  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I@includedir@ -I$(top_srcdir) --c_out=$(top_builddir) 
$(top_srcdir)/t/test-optimized.proto
++  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I$(top_srcdir) -I@includedir@ --c_out=$(top_builddir) 
$(top_srcdir)/t/test-optimized.proto
  
  t/test-full.pb-c.c t/test-full.pb-c.h: 
$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test-full.proto
 -  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-full.proto
-+  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I@includedir@ -I$(top_srcdir) --c_out=$(top_builddir) 
$(top_srcdir)/t/test-full.proto
++  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I$(top_srcdir) -I@includedir@ --c_out=$(top_builddir) 
$(top_srcdir)/t/test-full.proto
  
  t/test-full.pb.cc t/test-full.pb.h: @PROTOC@ $(top_srcdir)/t/test-full.proto
 -  $(AM_V_GEN)@PROTOC@ -I$(top_srcdir) --cpp_out=$(top_builddir) 
$(top_srcdir)/t/test-full.proto
-+  $(AM_V_GEN)@PROTOC@ -I@includedir@ -I$(top_srcdir) 
--cpp_out=$(top_builddir) $(top_srcdir)/t/test-full.proto
++  $(AM_V_GEN)@PROTOC@ -I$(top_srcdir) -I@includedir@ 
--cpp_out=$(top_builddir) $(top_srcdir)/t/test-full.proto
  
  t/generated-code2/test-full-cxx-output.inc: 
t/generated-code2/cxx-generate-packed-data$(EXEEXT)

$(AM_V_GEN)$(top_builddir)/t/generated-code2/cxx-generate-packed-data$(EXEEXT) 
> $(top_builddir)/t/generated-code2/test-full-cxx-output.inc
@@ -37,7 +37,7 @@ https://bugs.gentoo.org/818775
  
  t/test-proto3.pb-c.c t/test-proto3.pb-c.h: 
$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test-proto3.proto
 -  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-proto3.proto
-+  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I@includedir@ -I$(top_srcdir) --c_out=$(top_builddir) 
$(top_srcdir)/t/test-proto3.proto
++  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I$(top_srcdir) -I@includedir@ --c_out=$(top_builddir) 
$(top_srcdir)/t/test-proto3.proto
  
  BUILT_SOURCES += \

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

2021-11-04 Thread Sam James
commit: 636a457ddfdef16faef6d374298123bc4cee5438
Author: John Duncan <1i5t5.duncan  cox  net>
AuthorDate: Thu Nov  4 21:03:22 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov  4 21:03:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=636a457d

dev-libs/protobuf-c: fix include path

Closes: https://bugs.gentoo.org/818775
Signed-off-by: John Duncan <1i5t5.duncan  cox.net>
Signed-off-by: Sam James  gentoo.org>

 .../files/protobuf-c-1.4.0-include-path.patch  | 105 +
 dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild |   4 +
 2 files changed, 109 insertions(+)

diff --git a/dev-libs/protobuf-c/files/protobuf-c-1.4.0-include-path.patch 
b/dev-libs/protobuf-c/files/protobuf-c-1.4.0-include-path.patch
new file mode 100644
index 000..ae3fa26e6ab
--- /dev/null
+++ b/dev-libs/protobuf-c/files/protobuf-c-1.4.0-include-path.patch
@@ -0,0 +1,105 @@
+https://bugs.gentoo.org/818775
+
+--- a/Makefile.am
 b/Makefile.am
+@@ -111,7 +111,7 @@ protoc_c_protoc_gen_c_LDADD = \
+   -lprotoc
+ 
+ protobuf-c/protobuf-c.pb.cc protobuf-c/protobuf-c.pb.h: @PROTOC@ 
$(top_srcdir)/protobuf-c/protobuf-c.proto
+-  $(AM_V_GEN)@PROTOC@ -I$(top_srcdir) --cpp_out=$(top_builddir) 
$(top_srcdir)/protobuf-c/protobuf-c.proto
++  $(AM_V_GEN)@PROTOC@ -I@includedir@ -I$(top_srcdir) 
--cpp_out=$(top_builddir) $(top_srcdir)/protobuf-c/protobuf-c.proto
+ 
+ BUILT_SOURCES += \
+protobuf-c/protobuf-c.pb.cc \
+@@ -174,16 +174,16 @@ t_generated_code2_cxx_generate_packed_da
+   $(protobuf_LIBS)
+ 
+ t/test.pb-c.c t/test.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
$(top_srcdir)/t/test.proto
+-  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test.proto
++  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I@includedir@ -I$(top_srcdir) --c_out=$(top_builddir) 
$(top_srcdir)/t/test.proto
+ 
+ t/test-optimized.pb-c.c t/test-optimized.pb-c.h: 
$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
$(top_srcdir)/t/test-optimized.proto
+-  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-optimized.proto
++  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I@includedir@ -I$(top_srcdir) --c_out=$(top_builddir) 
$(top_srcdir)/t/test-optimized.proto
+ 
+ t/test-full.pb-c.c t/test-full.pb-c.h: 
$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test-full.proto
+-  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-full.proto
++  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I@includedir@ -I$(top_srcdir) --c_out=$(top_builddir) 
$(top_srcdir)/t/test-full.proto
+ 
+ t/test-full.pb.cc t/test-full.pb.h: @PROTOC@ $(top_srcdir)/t/test-full.proto
+-  $(AM_V_GEN)@PROTOC@ -I$(top_srcdir) --cpp_out=$(top_builddir) 
$(top_srcdir)/t/test-full.proto
++  $(AM_V_GEN)@PROTOC@ -I@includedir@ -I$(top_srcdir) 
--cpp_out=$(top_builddir) $(top_srcdir)/t/test-full.proto
+ 
+ t/generated-code2/test-full-cxx-output.inc: 
t/generated-code2/cxx-generate-packed-data$(EXEEXT)
+   
$(AM_V_GEN)$(top_builddir)/t/generated-code2/cxx-generate-packed-data$(EXEEXT) 
> $(top_builddir)/t/generated-code2/test-full-cxx-output.inc
+@@ -214,7 +214,7 @@ t_generated_code3_test_generated_code3_S
+   t/test-proto3.pb-c.c
+ 
+ t/test-proto3.pb-c.c t/test-proto3.pb-c.h: 
$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test-proto3.proto
+-  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-proto3.proto
++  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I@includedir@ -I$(top_srcdir) --c_out=$(top_builddir) 
$(top_srcdir)/t/test-proto3.proto
+ 
+ BUILT_SOURCES += \
+   t/test-proto3.pb-c.c t/test-proto3.pb-c.h
+@@ -237,7 +237,7 @@ t_issue204_issue204_SOURCES = \
+ t_issue204_issue204_LDADD = \
+   protobuf-c/libprotobuf-c.la
+ t/issue204/issue204.pb-c.c t/issue204/issue204.pb-c.h: 
$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
$(top_srcdir)/t/issue204/issue204.proto
+-  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue204/issue204.proto
++  $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I@includedir@ -I$(top_srcdir) --c_out=$(top_builddir) 
$(top_srcdir)/t/issue204/issue204.proto
+ BUILT_SOURCES += \
+   t/issue204/issue204.pb-c.c t/issue204/issue204.pb-c.h
+ EXTRA_DIST += \
+@@ 

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

2021-10-20 Thread Mike Gilbert
commit: 89d5c4d893a3c695545f1522aebd03f940864904
Author: Mike Gilbert  gentoo  org>
AuthorDate: Wed Oct 20 20:58:18 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Oct 20 21:03:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89d5c4d8

dev-libs/protobuf-c: drop *.la

Signed-off-by: Mike Gilbert  gentoo.org>

 .../{protobuf-c-1.3.3.ebuild => protobuf-c-1.3.3-r1.ebuild}  | 5 +
 .../{protobuf-c-1.4.0.ebuild => protobuf-c-1.4.0-r1.ebuild}  | 5 +
 2 files changed, 10 insertions(+)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.3.3.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.3.3-r1.ebuild
similarity index 91%
rename from dev-libs/protobuf-c/protobuf-c-1.3.3.ebuild
rename to dev-libs/protobuf-c/protobuf-c-1.3.3-r1.ebuild
index 1fb166b0ecf..efdf8fa4897 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.3.3.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.3.3-r1.ebuild
@@ -41,3 +41,8 @@ multilib_src_configure() {
)
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
 }
+
+multilib_src_install_all() {
+   find "${ED}" -name '*.la' -type f -delete || die
+   einstalldocs
+}

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.0.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
similarity index 90%
rename from dev-libs/protobuf-c/protobuf-c-1.4.0.ebuild
rename to dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
index a5c2feff802..b14451d4492 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.4.0.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild
@@ -41,3 +41,8 @@ multilib_src_configure() {
 
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
 }
+
+multilib_src_install_all() {
+   find "${ED}" -name '*.la' -type f -delete || die
+   einstalldocs
+}



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

2021-08-18 Thread Sam James
commit: 20527ba355639ba8583a0535fb671edcbce0180b
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug 18 19:09:34 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug 18 19:22:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20527ba3

dev-libs/protobuf-c: add 1.4.0

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

 dev-libs/protobuf-c/Manifest|  1 +
 dev-libs/protobuf-c/protobuf-c-1.4.0.ebuild | 43 +
 2 files changed, 44 insertions(+)

diff --git a/dev-libs/protobuf-c/Manifest b/dev-libs/protobuf-c/Manifest
index 84f6a69adac..35674fb99b2 100644
--- a/dev-libs/protobuf-c/Manifest
+++ b/dev-libs/protobuf-c/Manifest
@@ -1 +1,2 @@
 DIST protobuf-c-1.3.3.tar.gz 500505 BLAKE2B 
6f00eac847f5287cdea5afaea5be05d660eda10b30a14bbab89331ef134f93b8a77d3f6546cab246447494b0283b32218f794c56a7d081906c49668631b14505
 SHA512 
85308348929487e3a89158c6078dab39cee0b39a0611a4d5ba73d20520e41d96915e42a0d6060ebd3eb7d922c82444f5ca000ea4f8791b37734485cbb7e283b1
+DIST protobuf-c-1.4.0.tar.gz 505251 BLAKE2B 
5f53238c064f82de87012eb739bf6a44c202d0dbf2fc5af394accdc52a9934d1fb9cea2bb4a4d529fdf98959546aaa672c1c991a9a7016803d16f65accc907cd
 SHA512 
6a2e5031b85b5986e863661437dea002eba217257a50a27db88d29fa1a3db1014ed6ec7c21d89df700d181b18e169d1037146cb6475c10cd5a068a91e522e3c3

diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.0.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.4.0.ebuild
new file mode 100644
index 000..a5c2feff802
--- /dev/null
+++ b/dev-libs/protobuf-c/protobuf-c-1.4.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools multilib-minimal
+
+MY_PV="${PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Protocol Buffers implementation in C"
+HOMEPAGE="https://github.com/protobuf-c/protobuf-c;
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.gz;
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="BSD-2"
+# Subslot == SONAME version
+SLOT="0/1.0.0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+IUSE="static-libs test"
+RESTRICT="!test? ( test )"
+
+DEPEND=">=dev-libs/protobuf-3:0=[${MULTILIB_USEDEP}]"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+   default
+
+   if ! use test; then
+   eapply "${FILESDIR}"/${PN}-1.3.0-no-build-tests.patch
+   fi
+
+   eautoreconf
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   $(use_enable static-libs static)
+   )
+
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}



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

2021-07-07 Thread Sam James
commit: 09047402b83331259e0015baaca167bfd527b75f
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul  8 03:52:52 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul  8 03:52:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09047402

dev-libs/protobuf: Stabilize 3.17.3 arm64, #799767

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

 dev-libs/protobuf/protobuf-3.17.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.17.3.ebuild 
b/dev-libs/protobuf/protobuf-3.17.3.ebuild
index c862468d337..1254928d7c0 100644
--- a/dev-libs/protobuf/protobuf-3.17.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.17.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/28"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2021-07-05 Thread Sam James
commit: 5e77efd6c659da78ad8cee8b22b48a8a82f2006b
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul  5 22:34:49 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul  5 22:34:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e77efd6

dev-libs/protobuf: Stabilize 3.17.3 arm, #799767

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

 dev-libs/protobuf/protobuf-3.17.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.17.3.ebuild 
b/dev-libs/protobuf/protobuf-3.17.3.ebuild
index e88b52bf119..c862468d337 100644
--- a/dev-libs/protobuf/protobuf-3.17.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.17.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/28"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2021-07-02 Thread Agostino Sarubbo
commit: 87b8efab58c2bce03ade8e2dd91c6ed9487dfb95
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul  2 06:28:04 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul  2 06:28:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87b8efab

dev-libs/protobuf: ppc64 stable wrt bug #799767

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/protobuf/protobuf-3.17.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.17.3.ebuild 
b/dev-libs/protobuf/protobuf-3.17.3.ebuild
index 5dffd16819b..e88b52bf119 100644
--- a/dev-libs/protobuf/protobuf-3.17.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.17.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/28"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2021-07-02 Thread Agostino Sarubbo
commit: 5ca07d24410ab9be78e558b68964599f33ed0945
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul  2 06:26:57 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul  2 06:26:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ca07d24

dev-libs/protobuf: ppc stable wrt bug #799767

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/protobuf/protobuf-3.17.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.17.3.ebuild 
b/dev-libs/protobuf/protobuf-3.17.3.ebuild
index 416bda2a961..5dffd16819b 100644
--- a/dev-libs/protobuf/protobuf-3.17.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.17.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/28"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2021-07-01 Thread Sam James
commit: 4bd500e7d392156491063f29ef97e5884ff44764
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul  2 04:11:16 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul  2 04:11:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bd500e7

dev-libs/protobuf: Stabilize 3.17.3 sparc, #799767

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

 dev-libs/protobuf/protobuf-3.17.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.17.3.ebuild 
b/dev-libs/protobuf/protobuf-3.17.3.ebuild
index d615c28d0ca..416bda2a961 100644
--- a/dev-libs/protobuf/protobuf-3.17.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.17.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/28"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2021-07-01 Thread Sam James
commit: 348fa905519299a65b0647b62cd216c0af018d23
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul  2 04:10:13 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul  2 04:10:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=348fa905

dev-libs/protobuf: Stabilize 3.17.3 amd64, #799767

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

 dev-libs/protobuf/protobuf-3.17.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.17.3.ebuild 
b/dev-libs/protobuf/protobuf-3.17.3.ebuild
index 19b1b061de6..d615c28d0ca 100644
--- a/dev-libs/protobuf/protobuf-3.17.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.17.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/28"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2021-07-01 Thread Sam James
commit: 16d8b238ffd260b984f0bd95860372fd693d78cf
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul  2 04:09:10 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul  2 04:09:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16d8b238

dev-libs/protobuf: Stabilize 3.17.3 x86, #799767

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

 dev-libs/protobuf/protobuf-3.17.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.17.3.ebuild 
b/dev-libs/protobuf/protobuf-3.17.3.ebuild
index 85c77d0ccf7..19b1b061de6 100644
--- a/dev-libs/protobuf/protobuf-3.17.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.17.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/28"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2021-06-28 Thread Yixun Lan
commit: 829df930fd3c8a16a67b12eb5adf8e971ae149a2
Author: Ye Cao  rioslab  org>
AuthorDate: Mon Jun 28 09:04:56 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Jun 29 05:49:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=829df930

dev-libs/protobuf-c: add ~riscv keyword

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ye Cao  rioslab.org>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-libs/protobuf-c/protobuf-c-1.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf-c/protobuf-c-1.3.3.ebuild 
b/dev-libs/protobuf-c/protobuf-c-1.3.3.ebuild
index 9a6f86d79c8..1fb166b0ecf 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.3.3.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.3.3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.
 LICENSE="BSD-2"
 # Subslot == SONAME version
 SLOT="0/1.0.0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 



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

2021-06-28 Thread Yixun Lan
commit: 899f26c25a0359ab71f9b8fb2ff9d2b32e6728ac
Author: Ye Cao  rioslab  org>
AuthorDate: Mon Jun 28 08:57:16 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Jun 29 05:49:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=899f26c2

dev-libs/protobuf: add ~riscv keyword

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ye Cao  rioslab.org>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-libs/protobuf/protobuf-3.17.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/protobuf/protobuf-3.17.3.ebuild 
b/dev-libs/protobuf/protobuf-3.17.3.ebuild
index 6391fd499f3..85c77d0ccf7 100644
--- a/dev-libs/protobuf/protobuf-3.17.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.17.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/28"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="emacs examples static-libs test zlib"
 RESTRICT="!test? ( test )"
 



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

2021-06-09 Thread Mike Gilbert
commit: 9ad0fbb3dc44c73e14f5f812d0b2e80cc83bc7f9
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Wed Jun  9 00:00:00 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Jun  9 20:10:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ad0fbb3

dev-libs/protobuf: Version bump (3.17.3).

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 dev-libs/protobuf/Manifest   |   1 +
 dev-libs/protobuf/protobuf-3.17.3.ebuild | 140 +++
 2 files changed, 141 insertions(+)

diff --git a/dev-libs/protobuf/Manifest b/dev-libs/protobuf/Manifest
index e170628b338..87ea4747892 100644
--- a/dev-libs/protobuf/Manifest
+++ b/dev-libs/protobuf/Manifest
@@ -3,3 +3,4 @@ DIST protobuf-3.16.0.tar.gz 5299781 BLAKE2B 
9ace02a6038c31b7393671fb2ccd6a4866a3
 DIST protobuf-3.17.0.tar.gz 5185780 BLAKE2B 
a168619df72cdf097c7ddfd50aca96a2101bf73e7c1c842c020e6ee08a853db8674a86ca999b7706da3dd21d4d3d2159241c93232efc693701962f3a54a382e9
 SHA512 
36ed2de641849ce01531ff1207f62a0748f811519c40622a119a17a1e709864382de81481fb58f374a025948971c48416e7e6de9c00512a78633c7a8a3aa3a36
 DIST protobuf-3.17.1.tar.gz 5192666 BLAKE2B 
7f912db7e0835aaa42628fcf564a5666e2cbfa021bb35638a5eec53c3c457f1e747225dea54f732b7239a1520febca9bc20c824b1938f100796caa3ac2133bc1
 SHA512 
5a18aa3c1dab040dc6d22310a8503241081106acf7ca89079d7b416533d7c2cdd47719dc9023e6bc26969f0f1c796550260a04034a403c69752f6a3a7a651bb8
 DIST protobuf-3.17.2.tar.gz 5192779 BLAKE2B 
97f9561848e70b8d26ebcc7fc4fa8da51c4b8267efbe1d2d386c2785308e7ba7edc05f1b3863c274dc8838866d58b58509606d72c51a22b956d1d528584c4c95
 SHA512 
b3e7ad50ed772668df70a3a20ad1af13a5e82f23b109e4fecd34e6a74947bed300963c9f084907fbfafe28fc18365cde7df1975e2ff9538d2f5a3d2b458bca98
+DIST protobuf-3.17.3.tar.gz 5235236 BLAKE2B 
2495e678c8f9436d4e5a30ccee8b6226125d418ac7ecf7df20b078a1a16c221cbccab7d846dcd56a90220c106617fa75c410a21b62612fedec378cd7e8571350
 SHA512 
b4030b4474cc5fb5a62501200725dd488e6e66e3ced4ed12ab4ee029fcfed305e92ec966adafbdd343afffd186908163849422b95eaa500e7e741ac325d01d12

diff --git a/dev-libs/protobuf/protobuf-3.17.3.ebuild 
b/dev-libs/protobuf/protobuf-3.17.3.ebuild
new file mode 100644
index 000..6391fd499f3
--- /dev/null
+++ b/dev-libs/protobuf/protobuf-3.17.3.ebuild
@@ -0,0 +1,140 @@
+# Copyright 2008-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit autotools elisp-common flag-o-matic multilib-minimal toolchain-funcs
+
+if [[ "${PV}" == "" ]]; then
+   inherit git-r3
+
+   EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf;
+   EGIT_SUBMODULES=()
+fi
+
+DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing 
structured data"
+HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/protocolbuffers/protobuf;
+if [[ "${PV}" == "" ]]; then
+   SRC_URI=""
+else
+   SRC_URI="https://github.com/protocolbuffers/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0/28"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="emacs examples static-libs test zlib"
+RESTRICT="!test? ( test )"
+
+BDEPEND="emacs? ( app-editors/emacs:* )"
+DEPEND="test? ( >=dev-cpp/gtest-1.9[${MULTILIB_USEDEP}] )
+   zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )"
+RDEPEND="emacs? ( app-editors/emacs:* )
+   zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-3.17.0-disable_no-warning-test.patch"
+   "${FILESDIR}/${PN}-3.17.0-system_libraries.patch"
+   "${FILESDIR}/${PN}-3.16.0-protoc_input_output_files.patch"
+)
+
+DOCS=(CHANGES.txt CONTRIBUTORS.txt README.md)
+
+src_prepare() {
+   default
+
+   # https://github.com/protocolbuffers/protobuf/issues/7413
+   sed -e "/^AC_PROG_CXX_FOR_BUILD$/d" -i configure.ac || die
+
+   # https://github.com/protocolbuffers/protobuf/issues/8082
+   sed -e "/^TEST_F(IoTest, LargeOutput) {$/,/^}$/d" -i 
src/google/protobuf/io/zero_copy_stream_unittest.cc || die
+
+   # https://github.com/protocolbuffers/protobuf/issues/8459
+   sed \
+   -e "/^TEST(ArenaTest, BlockSizeSmallerThanAllocation) {$/a\\  
if (sizeof(void*) == 4) {\nGTEST_SKIP();\n  }" \
+   -e "/^TEST(ArenaTest, SpaceAllocated_and_Used) {$/a\\  if 
(sizeof(void*) == 4) {\nGTEST_SKIP();\n  }" \
+   -i src/google/protobuf/arena_unittest.cc || die
+
+   # https://github.com/protocolbuffers/protobuf/issues/8460
+   sed -e "/^TEST(AnyTest, TestPackFromSerializationExceedsSizeLimit) 
{$/a\\  if (sizeof(void*) == 4) {\nGTEST_SKIP();\n  }" -i 
src/google/protobuf/any_test.cc || die
+
+   eautoreconf
+}
+
+src_configure() {
+   append-cppflags -DGOOGLE_PROTOBUF_NO_RTTI
+
+   if tc-ld-is-gold; then
+   # 

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

2021-06-06 Thread Mike Gilbert
commit: 07a9e20f77e75270ed7145dc86d03f505512bec8
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sun Jun  6 03:00:00 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Jun  6 17:04:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07a9e20f

dev-libs/protobuf: Delete old versions (<3.15.8).

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 dev-libs/protobuf/Manifest   |   8 --
 dev-libs/protobuf/protobuf-3.15.0.ebuild | 140 ---
 dev-libs/protobuf/protobuf-3.15.1.ebuild | 140 ---
 dev-libs/protobuf/protobuf-3.15.2.ebuild | 140 ---
 dev-libs/protobuf/protobuf-3.15.3.ebuild | 140 ---
 dev-libs/protobuf/protobuf-3.15.4.ebuild | 140 ---
 dev-libs/protobuf/protobuf-3.15.5.ebuild | 140 ---
 dev-libs/protobuf/protobuf-3.15.6.ebuild | 140 ---
 dev-libs/protobuf/protobuf-3.15.7.ebuild | 140 ---
 9 files changed, 1128 deletions(-)

diff --git a/dev-libs/protobuf/Manifest b/dev-libs/protobuf/Manifest
index 3b64d73a457..e170628b338 100644
--- a/dev-libs/protobuf/Manifest
+++ b/dev-libs/protobuf/Manifest
@@ -1,11 +1,3 @@
-DIST protobuf-3.15.0.tar.gz 5284848 BLAKE2B 
6c1135499dd73b6d1764f47ded6415f8073841bccf5d5626e751fc159b67a6103d71a84096f563053c34c9e4235504238fcdc86ebb757d38b2f4bc1674d08674
 SHA512 
f52dfbfabdff3306d26ec05cbba7cd47bf3db8b08f4fb27e2cbd5a594de57f0a7ab2212dcea2055a9adfddc94ae4df2d0b1caea311ead75bb850ef8458b1b74a
-DIST protobuf-3.15.1.tar.gz 5284851 BLAKE2B 
5e3f487ba1c3f6a3d2d87f2421f9b07aa4618df0853b05364d7f29e93d8e7dc4c3ece08ba3b7cd0bf69d0faaa32ccc952218a8df7575b74aa6216977f2b2219b
 SHA512 
24efeec969ee72833c377e6287e3b06a431d54d9b3be50635685f6903534f15c2957d78cdbf4bcc6482732ecdbc735dc894c0b9095486419b8d11d6df6169180
-DIST protobuf-3.15.2.tar.gz 5284455 BLAKE2B 
433ac18774395174798d110e4eaae95c44bc8be89cfae85648497f8531cf19513f4c7745a6afc27d6d49a07e7e1fb4faeff73530fa082665727095e837f11940
 SHA512 
34e82ece83f47249fd5398a955e4f0a32d0722abcaa4e90c741bdc5106a0bd92088babe3d10d818dd89e2e9254cecbb68ae0c182ea408d4f1e2d70318e7baf37
-DIST protobuf-3.15.3.tar.gz 5283923 BLAKE2B 
f7b7b22200a4fffe6bb89e6d15fdcdb7e53ad91d4b8dc4c0b9ec7e64de39f0e3854c649edfd5a6eca040f35ccbb2bea6a3b86c7e22a9ba011db2dc7646f6
 SHA512 
ca403cc2ed28b67c4219021273be59d36a3f4382a8111aeb6152fc0ded30dfc203d96c3c60977d19ff00a1d1524b8ed4c183e8badb56c942e599f78aaf6745f6
-DIST protobuf-3.15.4.tar.gz 5283753 BLAKE2B 
256eb365b26a864755b43925bd4336fc76f1fb122aacdb01243b24ecc163541fd7d2105ba66f7fa0c14ced0166cf4bc8f480ac5d9f2cea13e4cc925dab6e1810
 SHA512 
d98d1ed408a6f3d15fb3a60d11df896632dfdffa06759c761bc227a8c8053ec9db6c62c21b115dc109c7d9139df239b19e29aff5783b585101bcab3f4d687547
-DIST protobuf-3.15.5.tar.gz 5283712 BLAKE2B 
0da6255302014c885aee47d48344a75ee4808cb91fa6cdebef15150e0b8ce7f7835d21bdc8f42fd1ba5f5c5401e6fc60b9410ff1ea8bd0d0f698d3cf7d10dd2b
 SHA512 
b9d3b261047c354f0f8735638041562e05d93691cdfdc295622fd30aa04c859a9e3d4200981807ea0d4926d0e4a31a918b4851ebc25bfb9709494a3699002531
-DIST protobuf-3.15.6.tar.gz 5284018 BLAKE2B 
5895f618e233edd5744253821036857aa23f64b76ee3318b99f3530d9dd0c49cc8c386ef15c7394475c2bf0fa33fb631e481fa3fb927c2ab8a88af31234bd0b1
 SHA512 
673d61b492ce0e85f5c63f3fd7a0174737cc65f7871f79d24380bffa59ea1b312065137ecc63b0f4d4ffa3eb168a09e9c1129c21b0e6c5c3a8c2fabb2cecabb5
-DIST protobuf-3.15.7.tar.gz 5284817 BLAKE2B 
43821bb283a0c1f87930593046a5c55f6efae3f644337289fd438c0612a9b7ef9531b61e48940b74dc5d20253ee1b6a805b902284a442dec2efe8c79f82c5aad
 SHA512 
2b18ccba1ff8a0623c52abed0e0674bc6cfa2cd10d49764031a47e68f654f54083f4a4f9e3a94d833a6808426904ee642f173641063e79cb41a61fc348d603ac
 DIST protobuf-3.15.8.tar.gz 5285277 BLAKE2B 
798fc011ac03cdc2406acf5845c667d8482082044bdace06c2c1d02b5b1b69c1b1f30e29774180dc1801a1d21d62e2ce50325105859564a1e36d3fe478e64d8b
 SHA512 
56fc6df2dae14eee0fb67dd4204fc1ec54a18d994a69c9e42c7888d0cd50d269d1c5e1445d74f0fa705850d4ac86a22d86781e09769a716e5c6f829b15b05592
 DIST protobuf-3.16.0.tar.gz 5299781 BLAKE2B 
9ace02a6038c31b7393671fb2ccd6a4866a3f8b7d87d2bc8371f49d65b9180f10792ca2430a83449dfa7d785a1244dac23c20756414c9d1e7c7e871a8038b123
 SHA512 
0191e5a6a23d03f691e883e259f6d06a0ac8eef427455bc7d1cc70b6f0ed260e4ad8f360c836fd4bdc95ec0ca314c887cbf7acbcda60e03cdfe69e4cd275bff5
 DIST protobuf-3.17.0.tar.gz 5185780 BLAKE2B 
a168619df72cdf097c7ddfd50aca96a2101bf73e7c1c842c020e6ee08a853db8674a86ca999b7706da3dd21d4d3d2159241c93232efc693701962f3a54a382e9
 SHA512 
36ed2de641849ce01531ff1207f62a0748f811519c40622a119a17a1e709864382de81481fb58f374a025948971c48416e7e6de9c00512a78633c7a8a3aa3a36

diff --git a/dev-libs/protobuf/protobuf-3.15.0.ebuild 
b/dev-libs/protobuf/protobuf-3.15.0.ebuild
deleted file mode 100644
index d1feac0db81..000
--- 

  1   2   3   4   >