diff options
Diffstat (limited to 'dev-ruby/grpc')
-rw-r--r-- | dev-ruby/grpc/Manifest | 8 | ||||
-rw-r--r-- | dev-ruby/grpc/files/grpc-1.66.0-c99.patch | 22 | ||||
-rw-r--r-- | dev-ruby/grpc/grpc-1.54.0.ebuild | 8 | ||||
-rw-r--r-- | dev-ruby/grpc/grpc-1.59.2-r1.ebuild | 37 | ||||
-rw-r--r-- | dev-ruby/grpc/grpc-1.59.2.ebuild | 8 | ||||
-rw-r--r-- | dev-ruby/grpc/grpc-1.66.0-r2.ebuild | 41 |
6 files changed, 120 insertions, 4 deletions
diff --git a/dev-ruby/grpc/Manifest b/dev-ruby/grpc/Manifest index 79593de828fa..9f9701f30c61 100644 --- a/dev-ruby/grpc/Manifest +++ b/dev-ruby/grpc/Manifest @@ -1,5 +1,9 @@ +AUX grpc-1.66.0-c99.patch 912 BLAKE2B b39a8de630fd5612a90d95f8e7af7d18dc54d78c79f776c536f7bcfdff38a01812e5f75d0e55a6fd87013535cf268d666f9e9b356421ce6835b31200e353a669 SHA512 07f129ff43e36518c3a3461eaecbfdba5f59cc14c12d5f3926b164eb0307b5f2f20a65f046631a11a63e2d2c2c82ddf7b0a054ac25d729e3bafccbffcfc5e93f DIST grpc-1.54.0.gem 6047232 BLAKE2B 66e48f27748867eb99464ecf659204a2e0f8c9ad9c998fe13dbf8daf159f928d54414d28f121ecb52f1cb8d277651f91b4259eecf9cca2836d25cacbcfe9ea3a SHA512 72e76223800078584151cf6a6833b4cb3cfc0fa0733b050b9ccf5180ef7250b26fc22d7bac52f636b5ada68723eb04f67f51d24aacf7dc1288333c7adab556d6 DIST grpc-1.59.2.gem 6404096 BLAKE2B 6953d538cee06c1f8795ca7949c22dd60d9aa4c4aa51c8d92631b646929682089969db1d2f206cd2e4c1e3692803c2cef685edf22f6d7a2d20b79dc735c942bc SHA512 a624ddf60f5befe043cdcfa015f2541bdf5b67604f8dd51652dd13a9576673df624513048d9e591c54da6e8fa1b983e78f8ca79d301c089fca5be6f12722b827 -EBUILD grpc-1.54.0.ebuild 700 BLAKE2B 255aaec73e306681782a7f9616e970a99dc05d05aabedd19c14156486ba423f746ffe56a6009a867586ca94163c50aec5c0037fefb26a5c76bf4f1c235f325e8 SHA512 5a4f120d09b580f014af273faeb71e9030a2f4b15258e958c73681b6a2207b4b0e34fc2bf764c0f36c294b39245d85313d26d730222ece7b8df343aa8978b7ca -EBUILD grpc-1.59.2.ebuild 700 BLAKE2B 255aaec73e306681782a7f9616e970a99dc05d05aabedd19c14156486ba423f746ffe56a6009a867586ca94163c50aec5c0037fefb26a5c76bf4f1c235f325e8 SHA512 5a4f120d09b580f014af273faeb71e9030a2f4b15258e958c73681b6a2207b4b0e34fc2bf764c0f36c294b39245d85313d26d730222ece7b8df343aa8978b7ca +DIST grpc-1.66.0.gem 6721536 BLAKE2B a8736fe3a71db8a1910c9b0186e9962f390c6e587fee3357a828409941406fc5563e21c3287a7ef7b65ebc952ddffeb1b4062ba29fc0c10d8c6dd9de8e7c46f2 SHA512 a262181c1f837e469b3cf1f47929646dc17ed8548a6978f3ffb78fd81f915abc098a98f347da0f49831e6b0d9da302263a69a151f6ab39d35a2519bee63f944d +EBUILD grpc-1.54.0.ebuild 817 BLAKE2B 571b34b340f1422d6846319868f32354fb49b504634226dda7d40cce93cf2fdd50daa70b3d008e0f2b7814d1dc93e4b8073c742b738e20704105b3d2d4ab633e SHA512 f21ab28f7796e3cd87e16c9a66dcbbb888f7b015a718f5b79a55dc5a0339679abff1d8660312fbf9e363301d831f7862a54dda88542d603466118428f4c0b857 +EBUILD grpc-1.59.2-r1.ebuild 819 BLAKE2B 340c89dea4b3d252e9262e60f341658c2463163b4514b66edbe928f2940bd94c9c0afdbb1e8ba4ac927ccefed062154af675a6b2f80d2231cf356e34f5283413 SHA512 fc3f9e0527b0b474686e04b6cd1ac4a3594ec15a6d6061b5f6e3d13f2f0777c69ea0208fc035cb7b417e4a724584ef14cd94c6ac0c168a78d2aa687aeb0aa66a +EBUILD grpc-1.59.2.ebuild 817 BLAKE2B 571b34b340f1422d6846319868f32354fb49b504634226dda7d40cce93cf2fdd50daa70b3d008e0f2b7814d1dc93e4b8073c742b738e20704105b3d2d4ab633e SHA512 f21ab28f7796e3cd87e16c9a66dcbbb888f7b015a718f5b79a55dc5a0339679abff1d8660312fbf9e363301d831f7862a54dda88542d603466118428f4c0b857 +EBUILD grpc-1.66.0-r2.ebuild 862 BLAKE2B 33d9b590e90df2e35114724946df0e76e030f8f4bffbb0534f643259f5d4552e4f3ae848f65439549aa0f583e0818cd274dc6418179fe95c3ef20cf331f665f1 SHA512 b48b737af36f5121008f72b2e0e03511dd413e1dd1dda6c427c03039f453ce7ee6ee5248c338e1a96922aafc98af887e176ef1205fbc55f72a513d8581057c9c MISC metadata.xml 336 BLAKE2B dac1a37a2ddd4d280831ba429e991ad11dfd89be92f8083c15bdc68d1dd33c29eceaf52854cb414988885df82f312909962d1b80e0b4c701cffe4820b56339da SHA512 b456c14dd285296678212be52e468ae957a3287c0d3bd12d41672b0b4a7e3eb4d6426362677005d222802db62cfc13e7e009d691b7ac361cf26a3bc0172aa3c9 diff --git a/dev-ruby/grpc/files/grpc-1.66.0-c99.patch b/dev-ruby/grpc/files/grpc-1.66.0-c99.patch new file mode 100644 index 000000000000..63997a4070d3 --- /dev/null +++ b/dev-ruby/grpc/files/grpc-1.66.0-c99.patch @@ -0,0 +1,22 @@ +https://bugs.gentoo.org/939544 +https://github.com/grpc/grpc/issues/37731 +https://github.com/grpc/grpc/pull/37741 + +From 18a89be44d54e8c8bd614f1cee626d1db598a45a Mon Sep 17 00:00:00 2001 +From: alto-ruby <altorubys@gmail.com> +Date: Mon, 16 Sep 2024 17:33:04 -0700 +Subject: [PATCH] fix incompatible pointer type of + grpc_compression_algorithm_name + +--- a/src/ruby/ext/grpc/rb_compression_options.c ++++ b/src/ruby/ext/grpc/rb_compression_options.c +@@ -296,7 +296,7 @@ VALUE grpc_rb_compression_options_level_value_to_name_internal( + * Fails if the enum value is invalid. */ + VALUE grpc_rb_compression_options_algorithm_value_to_name_internal( + grpc_compression_algorithm internal_value) { +- char* algorithm_name = NULL; ++ const char* algorithm_name = NULL; + + if (!grpc_compression_algorithm_name(internal_value, &algorithm_name)) { + rb_raise(rb_eArgError, "Failed to convert algorithm value to name"); + diff --git a/dev-ruby/grpc/grpc-1.54.0.ebuild b/dev-ruby/grpc/grpc-1.54.0.ebuild index 934ddf075b4a..931429078487 100644 --- a/dev-ruby/grpc/grpc-1.54.0.ebuild +++ b/dev-ruby/grpc/grpc-1.54.0.ebuild @@ -8,7 +8,7 @@ RUBY_FAKEGEM_EXTENSIONS=(src/ruby/ext/grpc/extconf.rb) RUBY_FAKEGEM_EXTRAINSTALL="etc src" RUBY_FAKEGEM_RECIPE_TEST="none" -inherit ruby-fakegem +inherit multiprocessing ruby-fakegem DESCRIPTION="Send RPCs from Ruby using GRPC" HOMEPAGE="https://github.com/grpc/grpc" @@ -23,6 +23,12 @@ ruby_add_rdepend " >=dev-ruby/google-protobuf-3.24.4 " +each_ruby_configure() { + export GRPC_RUBY_BUILD_PROCS="$(makeopts_jobs)" + + each_fakegem_configure +} + each_ruby_install() { # Remove all the "src" bits that are not needed rm -rf src/core src/ruby/spec src/ruby/ext/grpc/{libs,objs} || die diff --git a/dev-ruby/grpc/grpc-1.59.2-r1.ebuild b/dev-ruby/grpc/grpc-1.59.2-r1.ebuild new file mode 100644 index 000000000000..588b4283eb18 --- /dev/null +++ b/dev-ruby/grpc/grpc-1.59.2-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_EXTENSIONS=(src/ruby/ext/grpc/extconf.rb) +RUBY_FAKEGEM_EXTRAINSTALL="etc src" +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit multiprocessing ruby-fakegem + +DESCRIPTION="Send RPCs from Ruby using GRPC" +HOMEPAGE="https://github.com/grpc/grpc" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/googleapis-common-protos-types:1 + >=dev-ruby/google-protobuf-3.24.4:3 +" + +each_ruby_configure() { + export GRPC_RUBY_BUILD_PROCS="$(makeopts_jobs)" + + each_fakegem_configure +} + +each_ruby_install() { + # Remove all the "src" bits that are not needed + rm -rf src/core src/ruby/spec src/ruby/ext/grpc/{libs,objs} || die + + each_fakegem_install +} diff --git a/dev-ruby/grpc/grpc-1.59.2.ebuild b/dev-ruby/grpc/grpc-1.59.2.ebuild index 934ddf075b4a..931429078487 100644 --- a/dev-ruby/grpc/grpc-1.59.2.ebuild +++ b/dev-ruby/grpc/grpc-1.59.2.ebuild @@ -8,7 +8,7 @@ RUBY_FAKEGEM_EXTENSIONS=(src/ruby/ext/grpc/extconf.rb) RUBY_FAKEGEM_EXTRAINSTALL="etc src" RUBY_FAKEGEM_RECIPE_TEST="none" -inherit ruby-fakegem +inherit multiprocessing ruby-fakegem DESCRIPTION="Send RPCs from Ruby using GRPC" HOMEPAGE="https://github.com/grpc/grpc" @@ -23,6 +23,12 @@ ruby_add_rdepend " >=dev-ruby/google-protobuf-3.24.4 " +each_ruby_configure() { + export GRPC_RUBY_BUILD_PROCS="$(makeopts_jobs)" + + each_fakegem_configure +} + each_ruby_install() { # Remove all the "src" bits that are not needed rm -rf src/core src/ruby/spec src/ruby/ext/grpc/{libs,objs} || die diff --git a/dev-ruby/grpc/grpc-1.66.0-r2.ebuild b/dev-ruby/grpc/grpc-1.66.0-r2.ebuild new file mode 100644 index 000000000000..ab8620dc1039 --- /dev/null +++ b/dev-ruby/grpc/grpc-1.66.0-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_EXTENSIONS=(src/ruby/ext/grpc/extconf.rb) +RUBY_FAKEGEM_EXTRAINSTALL="etc src" +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit multiprocessing ruby-fakegem + +DESCRIPTION="Send RPCs from Ruby using GRPC" +HOMEPAGE="https://github.com/grpc/grpc" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/googleapis-common-protos-types:1 + >=dev-ruby/google-protobuf-3.24.4:0 +" + +PATCHES=( + "${FILESDIR}"/${P}-c99.patch +) + +each_ruby_configure() { + export GRPC_RUBY_BUILD_PROCS="$(makeopts_jobs)" + + each_fakegem_configure +} + +each_ruby_install() { + # Remove all the "src" bits that are not needed + rm -rf src/core src/ruby/spec src/ruby/ext/grpc/{libs,objs} || die + + each_fakegem_install +} |