summaryrefslogtreecommitdiff
path: root/dev-ruby/ruby-glib2
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/ruby-glib2')
-rw-r--r--dev-ruby/ruby-glib2/Manifest2
-rw-r--r--dev-ruby/ruby-glib2/files/ruby-glib2-3.5.1-glib-2.76.patch23
-rw-r--r--dev-ruby/ruby-glib2/ruby-glib2-3.5.1-r1.ebuild25
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-ruby/ruby-glib2/Manifest b/dev-ruby/ruby-glib2/Manifest
index 1bb44007e8c0..bf2836a96a09 100644
--- a/dev-ruby/ruby-glib2/Manifest
+++ b/dev-ruby/ruby-glib2/Manifest
@@ -1,5 +1,7 @@
+AUX ruby-glib2-3.5.1-glib-2.76.patch 730 BLAKE2B d5097174b6a6852f81f882cff5783d33322e581229f7943846b263cc9d16daa489061fe77d5387c4e7c66ae6a34b6885420d4b2cd3add815736bffb0c1e22b48 SHA512 5367fe07fd261ec78a4b43ca636f7f4c42536fadcb658cf9b347ed301c4625c11c98cfee0943f8516f9a11adb37e373624c866adce26f1406958ce6a8b209f43
DIST ruby-gnome2-3.4.3.tar.gz 3136727 BLAKE2B 3b85136b90e7a9de14f38fbdb55d9c143719e697ff60fdd4c09921b5d0c6363cf27b7b2da55d93a95d302e62879c321df20e729d4a3d9d2e8d1f2a4afb8c6e49 SHA512 ac4614647c20080eb850d47938b00eb69730aef6672a35cf290619a5c3e01007ac59e75995e36398a0ddaed61db2f4ccdf9d26d2453fff9d5160073ee73081b8
DIST ruby-gnome2-3.5.1.tar.gz 2613400 BLAKE2B ab9b7e3b6322b5b89a6bf4d529d5b5abdfbe50b1e099cfba67f089bab3abd39c2a96b57305b13311e9c34957c57107e31708cc76ffa4c20d84af2294f7bf7bb4 SHA512 9423c18587c11b6c317a58ec817e886c99ab37b29271b1684d7c793655a121c8b20c9630347d5f248e687843fd888e2137dca5d3d232121d87565ee2707f2f21
EBUILD ruby-glib2-3.4.3.ebuild 521 BLAKE2B 2e8dcc5b352effb21f95740d18df55766463a8d14edc663d80b0607f8686cdb71d77b64ef79e0e36c986f1e604cfc4ae55e4001ce780dca4a3c4313a5642417a SHA512 e2df0aebdbaa3bb35bf1f8645f052ce0b783bea6f52f220e7dbc48c6cc90f6a4dca072f18d976c9714733fcdc3998ea68a230a0d8cef83588060bf38014a8f7c
+EBUILD ruby-glib2-3.5.1-r1.ebuild 579 BLAKE2B 2ecf1684823f6a1cd3e5c277435e49a5e5b9630182a510bb7f108a5c5489a909a79c807abfa516cbc274304dcb57e5b1c3ca31288675b69f01a6ffa42fedc4e1 SHA512 675ab8497547eab0db7e77501beeb8424810be0c468868554c07ca0ee805c26723d4b342c79330374323174e3b56bf12a5928aace080ecdea57f9776d5865fe3
EBUILD ruby-glib2-3.5.1.ebuild 523 BLAKE2B 0ab94fb223f5e56e08ff6a42660a45d8b6af5da80ad6b4da216cfbd6431cc1fa2a637f5b8bae7af140f07d2a818a6a5bde8331850eb139af84e6d75e8bb8f432 SHA512 8bfe2f81ecf267307cb693300bc934a6eb95a5075e5d6be201cec6c24252799b9ab4f1e492c79ace92d596ddffdb63dac4d383dd0fe1bdc769d4ba4bbf32d115
MISC metadata.xml 338 BLAKE2B 28afb4e4601ddbd918344e8ea4668d18b43122fd5db29849d806919be9da2889d21fa047bfc43cbad6c95ff0e0f1bcdba2c2ba0c5e0b8b27ac7a235f534cd163 SHA512 72c7dbc3d22142137d4017e7514cafc7c900b673a571b44b7c649dc8776550d504052cce7f48164594939f1cd01e0fa5034a1e8c3b9c4a5f7176f7760ba692da
diff --git a/dev-ruby/ruby-glib2/files/ruby-glib2-3.5.1-glib-2.76.patch b/dev-ruby/ruby-glib2/files/ruby-glib2-3.5.1-glib-2.76.patch
new file mode 100644
index 000000000000..b575530551c8
--- /dev/null
+++ b/dev-ruby/ruby-glib2/files/ruby-glib2-3.5.1-glib-2.76.patch
@@ -0,0 +1,23 @@
+https://bugs.gentoo.org/900921
+https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270087
+https://cgit.freebsd.org/ports/commit/?id=9a23b33ce95593af78f9b973c1fba4fa8835cc25
+
+--- a/ext/glib2/rbglib_bookmarkfile.c
++++ b/ext/glib2/rbglib_bookmarkfile.c
+@@ -35,6 +35,7 @@ bookmarkfile_copy(const GBookmarkFile* file)
+ return (GBookmarkFile*)file;
+ }
+
++#if !GLIB_CHECK_VERSION(2, 76, 0)
+ static GType
+ g_bookmark_file_get_type(void)
+ {
+@@ -48,6 +49,7 @@ g_bookmark_file_get_type(void)
+ /************************************************/
+
+ #define G_TYPE_BOOKMARK_FILE (g_bookmark_file_get_type())
++#endif
+
+ #define RG_TARGET_NAMESPACE cBookmarkFile
+ #define _SELF(self) ((GBookmarkFile*)(RVAL2BOXED(self, G_TYPE_BOOKMARK_FILE)))
+
diff --git a/dev-ruby/ruby-glib2/ruby-glib2-3.5.1-r1.ebuild b/dev-ruby/ruby-glib2/ruby-glib2-3.5.1-r1.ebuild
new file mode 100644
index 000000000000..1789b42c0dae
--- /dev/null
+++ b/dev-ruby/ruby-glib2/ruby-glib2-3.5.1-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+inherit ruby-ng-gnome2
+
+DESCRIPTION="Ruby Glib2 bindings"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE=""
+RDEPEND+=" >=dev-libs/glib-2"
+DEPEND+=" >=dev-libs/glib-2"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.5.1-glib-2.76.patch
+)
+
+all_ruby_prepare() {
+ ruby-ng-gnome2_all_ruby_prepare
+
+ # Skip spawn tests since our sandbox also provides items in the
+ # environment and this makes the test fragile.
+ rm -v test/test-spawn.rb || die
+}