summaryrefslogtreecommitdiff
path: root/dev-perl/Glib-Object-Introspection
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-perl/Glib-Object-Introspection
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-perl/Glib-Object-Introspection')
-rw-r--r--dev-perl/Glib-Object-Introspection/Glib-Object-Introspection-0.51.0-r1.ebuild38
-rw-r--r--dev-perl/Glib-Object-Introspection/Glib-Object-Introspection-0.52.0.ebuild34
-rw-r--r--dev-perl/Glib-Object-Introspection/Manifest2
-rw-r--r--dev-perl/Glib-Object-Introspection/files/Glib-Object-Introspection-0.51.0-new-gobject-introspection.patch50
-rw-r--r--dev-perl/Glib-Object-Introspection/metadata.xml12
5 files changed, 136 insertions, 0 deletions
diff --git a/dev-perl/Glib-Object-Introspection/Glib-Object-Introspection-0.51.0-r1.ebuild b/dev-perl/Glib-Object-Introspection/Glib-Object-Introspection-0.51.0-r1.ebuild
new file mode 100644
index 000000000000..4da501059909
--- /dev/null
+++ b/dev-perl/Glib-Object-Introspection/Glib-Object-Introspection-0.51.0-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=XAOC
+DIST_VERSION=0.051
+inherit perl-module xdg-utils
+
+DESCRIPTION="Dynamically create Perl language bindings"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv x86"
+
+RDEPEND="
+ >=dev-perl/glib-perl-1.320.0
+ >=dev-libs/gobject-introspection-1.82.0-r2
+ >=dev-libs/libffi-3.0.0:=
+ >=dev-libs/glib-2.0.0
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ ${RDEPEND}
+ >=dev-perl/ExtUtils-Depends-0.300.0
+ >=dev-perl/ExtUtils-PkgConfig-1.0.0
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-new-gobject-introspection.patch
+)
+
+pkg_setup() {
+ # bug #599128
+ xdg_environment_reset
+}
diff --git a/dev-perl/Glib-Object-Introspection/Glib-Object-Introspection-0.52.0.ebuild b/dev-perl/Glib-Object-Introspection/Glib-Object-Introspection-0.52.0.ebuild
new file mode 100644
index 000000000000..8f041396afdf
--- /dev/null
+++ b/dev-perl/Glib-Object-Introspection/Glib-Object-Introspection-0.52.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=XAOC
+DIST_VERSION=0.052
+inherit perl-module xdg-utils
+
+DESCRIPTION="Dynamically create Perl language bindings"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv x86"
+
+RDEPEND="
+ >=dev-perl/glib-perl-1.320.0
+ >=dev-libs/gobject-introspection-1.82.0-r2
+ >=dev-libs/libffi-3.0.0:=
+ >=dev-libs/glib-2.0.0
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ ${RDEPEND}
+ >=dev-perl/ExtUtils-Depends-0.300.0
+ >=dev-perl/ExtUtils-PkgConfig-1.0.0
+"
+
+pkg_setup() {
+ # bug #599128
+ xdg_environment_reset
+}
diff --git a/dev-perl/Glib-Object-Introspection/Manifest b/dev-perl/Glib-Object-Introspection/Manifest
new file mode 100644
index 000000000000..9ee1c01f3b79
--- /dev/null
+++ b/dev-perl/Glib-Object-Introspection/Manifest
@@ -0,0 +1,2 @@
+DIST Glib-Object-Introspection-0.051.tar.gz 89445 BLAKE2B 7447bf8473acdfe015ffaab6f4b33420efe23aed5852e2eba54eed8a3edb7275a94abe1c3dad9583f175c30146c3b32e2191f14b2bec5c9c9f36355cc80a5098 SHA512 93ebe81b586270cbeca4296bfdd1d337d931b6349ca16a8e50bfc631c89a77d93f4d8076289e91bdcec0fdb732a2900b2a6c5e78e571c0c0fd4c7f5239cc0de5
+DIST Glib-Object-Introspection-0.052.tar.gz 90276 BLAKE2B 9e141123bf765475548aee3fd3d8859a4664d68011d601ce2a819efe9d1be91ad508cf028eeb5b11ca9066b2d5af6d98a6d8e11e8ec0ac6da8b6aedfb0eb8b14 SHA512 50cdb8e628f09440656e337974c0dd87d7b90cbadadc5ba29fa34df31d42916f691134e081296027035dc98a2ce6b8fa241aace898a9613cf3c94b91c3eec500
diff --git a/dev-perl/Glib-Object-Introspection/files/Glib-Object-Introspection-0.51.0-new-gobject-introspection.patch b/dev-perl/Glib-Object-Introspection/files/Glib-Object-Introspection-0.51.0-new-gobject-introspection.patch
new file mode 100644
index 000000000000..c0b6ac639be9
--- /dev/null
+++ b/dev-perl/Glib-Object-Introspection/files/Glib-Object-Introspection-0.51.0-new-gobject-introspection.patch
@@ -0,0 +1,50 @@
+https://gitlab.gnome.org/GNOME/perl-glib-object-introspection/-/commit/e5adffecdc9b321d1f8d91777b190b8ae08f8dd0
+
+From e5adffecdc9b321d1f8d91777b190b8ae08f8dd0 Mon Sep 17 00:00:00 2001
+From: Emmanuele Bassi <ebassi@gnome.org>
+Date: Sat, 14 Sep 2024 13:09:59 +0100
+Subject: [PATCH] Handle pointer types
+
+Now that gobject-introspection pairs G_TYPE_POINTER types with their
+type registration function, we need to handle the case in which we are
+passed a pointer to a record that inherits from G_TYPE_POINTER. Since
+these types are basically plain pointers, we can reuse the sv_to_struct
+and struct_to_sv functions we use for untyped structures.
+
+Fixes: #7
+---
+ gperl-i11n-marshal-interface.c | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+
+diff --git a/gperl-i11n-marshal-interface.c b/gperl-i11n-marshal-interface.c
+index 2bef8eb..50cce51 100644
+--- a/gperl-i11n-marshal-interface.c
++++ b/gperl-i11n-marshal-interface.c
+@@ -41,6 +41,12 @@ instance_sv_to_pointer (GICallableInfo *info, SV *sv, GPerlI11nInvocationInfo *i
+ info_type,
+ sv);
+ }
++ } else if (g_type_is_a (type, G_TYPE_POINTER)) {
++ dwarn (" -> pointer\n");
++ pointer = sv_to_struct (GI_TRANSFER_NOTHING,
++ container,
++ info_type,
++ sv);
+ } else {
+ dwarn (" -> boxed: type=%s (%"G_GSIZE_FORMAT")\n",
+ g_type_name (type), type);
+@@ -397,6 +403,12 @@ interface_to_sv (GITypeInfo* info,
+ }
+ }
+
++ else if (g_type_is_a (type, G_TYPE_POINTER)) {
++ dwarn (" -> pointer: pointer=%p, type=%"G_GSIZE_FORMAT" (%s), own=%d\n",
++ arg->v_pointer, type, g_type_name (type), own);
++ sv = struct_to_sv (interface, info_type, arg->v_pointer, own);
++ }
++
+ #if GLIB_CHECK_VERSION (2, 24, 0)
+ else if (g_type_is_a (type, G_TYPE_VARIANT)) {
+ dwarn (" -> variant\n");
+--
+GitLab
diff --git a/dev-perl/Glib-Object-Introspection/metadata.xml b/dev-perl/Glib-Object-Introspection/metadata.xml
new file mode 100644
index 000000000000..0cb63ac4a677
--- /dev/null
+++ b/dev-perl/Glib-Object-Introspection/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpan">Glib-Object-Introspection</remote-id>
+ <remote-id type="cpan-module">Glib::Object::Introspection</remote-id>
+ </upstream>
+</pkgmetadata>