public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-gi/
@ 2021-12-03 22:55 Maciej Barć
  0 siblings, 0 replies; 7+ messages in thread
From: Maciej Barć @ 2021-12-03 22:55 UTC (permalink / raw
  To: gentoo-commits

commit:     ce53cb0efe2c34bc8f807a9eaa61800f3ed6277f
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  3 22:54:48 2021 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Dec  3 22:54:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce53cb0e

dev-scheme/guile-gi: new package; add version 0.3.1 and live

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/guile-gi/Manifest              |  1 +
 dev-scheme/guile-gi/guile-gi-0.3.1.ebuild | 55 +++++++++++++++++++++++++++++++
 dev-scheme/guile-gi/guile-gi-9999.ebuild  | 55 +++++++++++++++++++++++++++++++
 dev-scheme/guile-gi/metadata.xml          | 23 +++++++++++++
 4 files changed, 134 insertions(+)

diff --git a/dev-scheme/guile-gi/Manifest b/dev-scheme/guile-gi/Manifest
new file mode 100644
index 000000000000..073a4bf2c745
--- /dev/null
+++ b/dev-scheme/guile-gi/Manifest
@@ -0,0 +1 @@
+DIST guile-gi-0.3.1.tar.gz 345440 BLAKE2B 17c4ecda48951244d427098767072621278750614919f13d1b03b7ecda5f06b2274c7db50c4288b4bfe581cd852e80cd1d4137b5ccc0e18d0e23866e1eba323a SHA512 b866df95946069cad606bc8f7e7c988665029482bcb986109d652728023151a5e60ee39e86635b9f0b9f0d4d3a9cd72f39b65ee983438f71dff186994e3af197

diff --git a/dev-scheme/guile-gi/guile-gi-0.3.1.ebuild b/dev-scheme/guile-gi/guile-gi-0.3.1.ebuild
new file mode 100644
index 000000000000..0fd9d6ec4efe
--- /dev/null
+++ b/dev-scheme/guile-gi/guile-gi-0.3.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Bindings for GObject Introspection and libgirepository for Guile"
+HOMEPAGE="https://spk121.github.io/guile-gi/"
+
+if [[ "${PV}" == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/spk121/${PN}.git"
+else
+	SRC_URI="https://github.com/spk121/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+# Tests fail
+RESTRICT="strip test"
+LICENSE="GPL-3"
+SLOT="0"
+
+BDEPEND="
+	sys-apps/texinfo
+"
+DEPEND="
+	>=dev-scheme/guile-2.0.9:=
+	dev-libs/gobject-introspection
+	x11-libs/gtk+:3[introspection]
+"
+RDEPEND="${DEPEND}"
+
+# guile generates ELF files without use of C or machine code
+# It's a portage's false positive. bug #677600
+QA_PREBUILT='*[.]go'
+
+src_prepare() {
+	default
+
+	# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112
+	find "${S}" -name "*.scm" -exec touch {} + || die
+
+	eautoreconf
+}
+
+src_configure() {
+	econf --enable-introspection="yes"
+}
+
+src_install() {
+	default
+
+	mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" || die
+}

diff --git a/dev-scheme/guile-gi/guile-gi-9999.ebuild b/dev-scheme/guile-gi/guile-gi-9999.ebuild
new file mode 100644
index 000000000000..0fd9d6ec4efe
--- /dev/null
+++ b/dev-scheme/guile-gi/guile-gi-9999.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Bindings for GObject Introspection and libgirepository for Guile"
+HOMEPAGE="https://spk121.github.io/guile-gi/"
+
+if [[ "${PV}" == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/spk121/${PN}.git"
+else
+	SRC_URI="https://github.com/spk121/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+# Tests fail
+RESTRICT="strip test"
+LICENSE="GPL-3"
+SLOT="0"
+
+BDEPEND="
+	sys-apps/texinfo
+"
+DEPEND="
+	>=dev-scheme/guile-2.0.9:=
+	dev-libs/gobject-introspection
+	x11-libs/gtk+:3[introspection]
+"
+RDEPEND="${DEPEND}"
+
+# guile generates ELF files without use of C or machine code
+# It's a portage's false positive. bug #677600
+QA_PREBUILT='*[.]go'
+
+src_prepare() {
+	default
+
+	# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112
+	find "${S}" -name "*.scm" -exec touch {} + || die
+
+	eautoreconf
+}
+
+src_configure() {
+	econf --enable-introspection="yes"
+}
+
+src_install() {
+	default
+
+	mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" || die
+}

diff --git a/dev-scheme/guile-gi/metadata.xml b/dev-scheme/guile-gi/metadata.xml
new file mode 100644
index 000000000000..1817ffcfd32d
--- /dev/null
+++ b/dev-scheme/guile-gi/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+  <maintainer type="project">
+    <email>scheme@gentoo.org</email>
+    <name>Gentoo Scheme Project</name>
+  </maintainer>
+  <longdescription lang="en">
+    This is a library for GNU Guile to create language bindings via GObject
+    Introspection.
+    Guile GI has two primary components:
+    - The gi scheme modules: guile modules that provide functionality to
+    dynamically generate Scheme API from GObject typelib files.
+    - libguile-gi.so or libguile-gi.dll: a compiled module that contains glue
+    code to interface with GObject.
+    To create bindings, use the use-typelibs syntax found in the (gi) library.
+  </longdescription>
+  <upstream>
+    <bugs-to>https://github.com/spk121/guile-gi/issues/</bugs-to>
+    <remote-id type="github">spk121/guile-gi</remote-id>
+  </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-gi/
@ 2021-12-30 21:47 Maciej Barć
  0 siblings, 0 replies; 7+ messages in thread
From: Maciej Barć @ 2021-12-30 21:47 UTC (permalink / raw
  To: gentoo-commits

commit:     2cb5f741b676fa54304f4f8b2b2b6a1582130450
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 30 21:46:30 2021 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Dec 30 21:47:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cb5f741

dev-scheme/guile-gi: bump to 0.3.2

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/guile-gi/Manifest              |  1 +
 dev-scheme/guile-gi/guile-gi-0.3.2.ebuild | 56 +++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-scheme/guile-gi/Manifest b/dev-scheme/guile-gi/Manifest
index 073a4bf2c745..2681e7b7ed11 100644
--- a/dev-scheme/guile-gi/Manifest
+++ b/dev-scheme/guile-gi/Manifest
@@ -1 +1,2 @@
 DIST guile-gi-0.3.1.tar.gz 345440 BLAKE2B 17c4ecda48951244d427098767072621278750614919f13d1b03b7ecda5f06b2274c7db50c4288b4bfe581cd852e80cd1d4137b5ccc0e18d0e23866e1eba323a SHA512 b866df95946069cad606bc8f7e7c988665029482bcb986109d652728023151a5e60ee39e86635b9f0b9f0d4d3a9cd72f39b65ee983438f71dff186994e3af197
+DIST guile-gi-0.3.2.tar.gz 350346 BLAKE2B 8680891e3a0854b2741a26847ad0f75262d83ba240caa6afc38765445477cd3d9b4abfecf0c2dc68b05c61efe6cdbde633c16d98cbb6db49e2727adfb83004c3 SHA512 88a58ac8c97a2bb0c9304183423b77831365706aafb9a98185a555b19783247aaf7bf80963a3b75090a9774a8360b3767583e8cdd8416fdad0d3c23973fb37c6

diff --git a/dev-scheme/guile-gi/guile-gi-0.3.2.ebuild b/dev-scheme/guile-gi/guile-gi-0.3.2.ebuild
new file mode 100644
index 000000000000..e1dbe9e8b9ec
--- /dev/null
+++ b/dev-scheme/guile-gi/guile-gi-0.3.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit virtualx autotools
+
+DESCRIPTION="Bindings for GObject Introspection and libgirepository for Guile"
+HOMEPAGE="https://spk121.github.io/guile-gi/"
+
+if [[ "${PV}" == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/spk121/${PN}.git"
+else
+	SRC_URI="https://github.com/spk121/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+RESTRICT="strip"
+LICENSE="GPL-3"
+SLOT="0"
+
+DEPEND="
+	>=dev-scheme/guile-2.0.9:=
+	dev-libs/gobject-introspection
+	x11-libs/gtk+:3[introspection]
+"
+RDEPEND="${DEPEND}"
+BDEPEND="sys-apps/texinfo"
+
+# guile generates ELF files without use of C or machine code
+# It's a portage's false positive. bug #677600
+QA_PREBUILT='*[.]go'
+
+src_prepare() {
+	default
+
+	# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112
+	find "${S}" -name "*.scm" -exec touch {} + || die
+
+	eautoreconf
+}
+
+src_configure() {
+	econf --enable-introspection=yes
+}
+
+src_test() {
+	virtx default
+}
+
+src_install() {
+	default
+
+	mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-gi/
@ 2021-12-30 21:47 Maciej Barć
  0 siblings, 0 replies; 7+ messages in thread
From: Maciej Barć @ 2021-12-30 21:47 UTC (permalink / raw
  To: gentoo-commits

commit:     9b761a0e22ea1e79d212d72d09043055bebb8bbd
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 30 21:45:58 2021 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Dec 30 21:47:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b761a0e

dev-scheme/guile-gi: live - virtualx tests + formatting

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/guile-gi/guile-gi-9999.ebuild | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/dev-scheme/guile-gi/guile-gi-9999.ebuild b/dev-scheme/guile-gi/guile-gi-9999.ebuild
index 0fd9d6ec4efe..e1dbe9e8b9ec 100644
--- a/dev-scheme/guile-gi/guile-gi-9999.ebuild
+++ b/dev-scheme/guile-gi/guile-gi-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools
+inherit virtualx autotools
 
 DESCRIPTION="Bindings for GObject Introspection and libgirepository for Guile"
 HOMEPAGE="https://spk121.github.io/guile-gi/"
@@ -16,20 +16,17 @@ else
 	KEYWORDS="~amd64"
 fi
 
-# Tests fail
-RESTRICT="strip test"
+RESTRICT="strip"
 LICENSE="GPL-3"
 SLOT="0"
 
-BDEPEND="
-	sys-apps/texinfo
-"
 DEPEND="
 	>=dev-scheme/guile-2.0.9:=
 	dev-libs/gobject-introspection
 	x11-libs/gtk+:3[introspection]
 "
 RDEPEND="${DEPEND}"
+BDEPEND="sys-apps/texinfo"
 
 # guile generates ELF files without use of C or machine code
 # It's a portage's false positive. bug #677600
@@ -45,11 +42,15 @@ src_prepare() {
 }
 
 src_configure() {
-	econf --enable-introspection="yes"
+	econf --enable-introspection=yes
+}
+
+src_test() {
+	virtx default
 }
 
 src_install() {
 	default
 
-	mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" || die
+	mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-gi/
@ 2022-05-17 13:18 Maciej Barć
  0 siblings, 0 replies; 7+ messages in thread
From: Maciej Barć @ 2022-05-17 13:18 UTC (permalink / raw
  To: gentoo-commits

commit:     4add1ce6ed03c5de84c75b8823273fc912ba58e8
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue May 17 12:53:59 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue May 17 13:18:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4add1ce6

dev-scheme/guile-gi: add static-libs USE flag

Closes: https://bugs.gentoo.org/845162
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 ...uile-gi-0.3.1.ebuild => guile-gi-0.3.1-r1.ebuild} | 20 +++++++++++---------
 ...uile-gi-0.3.2.ebuild => guile-gi-0.3.2-r1.ebuild} | 13 +++++++++----
 dev-scheme/guile-gi/guile-gi-9999.ebuild             | 13 +++++++++----
 3 files changed, 29 insertions(+), 17 deletions(-)

diff --git a/dev-scheme/guile-gi/guile-gi-0.3.1.ebuild b/dev-scheme/guile-gi/guile-gi-0.3.1-r1.ebuild
similarity index 70%
rename from dev-scheme/guile-gi/guile-gi-0.3.1.ebuild
rename to dev-scheme/guile-gi/guile-gi-0.3.1-r1.ebuild
index 0fd9d6ec4efe..cf870f83e265 100644
--- a/dev-scheme/guile-gi/guile-gi-0.3.1.ebuild
+++ b/dev-scheme/guile-gi/guile-gi-0.3.1-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=8
@@ -8,7 +8,7 @@ inherit autotools
 DESCRIPTION="Bindings for GObject Introspection and libgirepository for Guile"
 HOMEPAGE="https://spk121.github.io/guile-gi/"
 
-if [[ "${PV}" == *9999* ]]; then
+if [[ "${PV}" == *9999* ]] ; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/spk121/${PN}.git"
 else
@@ -16,20 +16,18 @@ else
 	KEYWORDS="~amd64"
 fi
 
-# Tests fail
-RESTRICT="strip test"
 LICENSE="GPL-3"
 SLOT="0"
+IUSE="static-libs"
+RESTRICT="strip test"  # Tests fail
 
-BDEPEND="
-	sys-apps/texinfo
-"
 DEPEND="
 	>=dev-scheme/guile-2.0.9:=
 	dev-libs/gobject-introspection
 	x11-libs/gtk+:3[introspection]
 "
 RDEPEND="${DEPEND}"
+BDEPEND="sys-apps/texinfo"
 
 # guile generates ELF files without use of C or machine code
 # It's a portage's false positive. bug #677600
@@ -45,11 +43,15 @@ src_prepare() {
 }
 
 src_configure() {
-	econf --enable-introspection="yes"
+	econf --enable-introspection=yes $(use_enable static-libs static)
 }
 
 src_install() {
 	default
 
-	mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" || die
+	mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die
+
+	if ! use static-libs ; then
+		find "${ED}" -type f -name '*.la' -delete || die
+	fi
 }

diff --git a/dev-scheme/guile-gi/guile-gi-0.3.2.ebuild b/dev-scheme/guile-gi/guile-gi-0.3.2-r1.ebuild
similarity index 80%
rename from dev-scheme/guile-gi/guile-gi-0.3.2.ebuild
rename to dev-scheme/guile-gi/guile-gi-0.3.2-r1.ebuild
index e1dbe9e8b9ec..b5423a07a2d3 100644
--- a/dev-scheme/guile-gi/guile-gi-0.3.2.ebuild
+++ b/dev-scheme/guile-gi/guile-gi-0.3.2-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=8
@@ -8,7 +8,7 @@ inherit virtualx autotools
 DESCRIPTION="Bindings for GObject Introspection and libgirepository for Guile"
 HOMEPAGE="https://spk121.github.io/guile-gi/"
 
-if [[ "${PV}" == *9999* ]]; then
+if [[ "${PV}" == *9999* ]] ; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/spk121/${PN}.git"
 else
@@ -16,9 +16,10 @@ else
 	KEYWORDS="~amd64"
 fi
 
-RESTRICT="strip"
 LICENSE="GPL-3"
 SLOT="0"
+IUSE="static-libs"
+RESTRICT="strip"
 
 DEPEND="
 	>=dev-scheme/guile-2.0.9:=
@@ -42,7 +43,7 @@ src_prepare() {
 }
 
 src_configure() {
-	econf --enable-introspection=yes
+	econf --enable-introspection=yes $(use_enable static-libs static)
 }
 
 src_test() {
@@ -53,4 +54,8 @@ src_install() {
 	default
 
 	mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die
+
+	if ! use static-libs ; then
+		find "${ED}" -type f -name '*.la' -delete || die
+	fi
 }

diff --git a/dev-scheme/guile-gi/guile-gi-9999.ebuild b/dev-scheme/guile-gi/guile-gi-9999.ebuild
index e1dbe9e8b9ec..b5423a07a2d3 100644
--- a/dev-scheme/guile-gi/guile-gi-9999.ebuild
+++ b/dev-scheme/guile-gi/guile-gi-9999.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=8
@@ -8,7 +8,7 @@ inherit virtualx autotools
 DESCRIPTION="Bindings for GObject Introspection and libgirepository for Guile"
 HOMEPAGE="https://spk121.github.io/guile-gi/"
 
-if [[ "${PV}" == *9999* ]]; then
+if [[ "${PV}" == *9999* ]] ; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/spk121/${PN}.git"
 else
@@ -16,9 +16,10 @@ else
 	KEYWORDS="~amd64"
 fi
 
-RESTRICT="strip"
 LICENSE="GPL-3"
 SLOT="0"
+IUSE="static-libs"
+RESTRICT="strip"
 
 DEPEND="
 	>=dev-scheme/guile-2.0.9:=
@@ -42,7 +43,7 @@ src_prepare() {
 }
 
 src_configure() {
-	econf --enable-introspection=yes
+	econf --enable-introspection=yes $(use_enable static-libs static)
 }
 
 src_test() {
@@ -53,4 +54,8 @@ src_install() {
 	default
 
 	mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die
+
+	if ! use static-libs ; then
+		find "${ED}" -type f -name '*.la' -delete || die
+	fi
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-gi/
@ 2022-05-17 21:09 Maciej Barć
  0 siblings, 0 replies; 7+ messages in thread
From: Maciej Barć @ 2022-05-17 21:09 UTC (permalink / raw
  To: gentoo-commits

commit:     2b5ccfe9e3dfcce36fa9bf645bd93f7fee6d1828
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue May 17 20:41:32 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue May 17 21:09:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b5ccfe9

dev-scheme/guile-gi: drop useless static-libs USE flag

as QA requested
https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0302

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../{guile-gi-0.3.1-r1.ebuild => guile-gi-0.3.1-r2.ebuild}        | 8 ++------
 .../{guile-gi-0.3.2-r1.ebuild => guile-gi-0.3.2-r2.ebuild}        | 8 ++------
 dev-scheme/guile-gi/guile-gi-9999.ebuild                          | 8 ++------
 3 files changed, 6 insertions(+), 18 deletions(-)

diff --git a/dev-scheme/guile-gi/guile-gi-0.3.1-r1.ebuild b/dev-scheme/guile-gi/guile-gi-0.3.1-r2.ebuild
similarity index 86%
rename from dev-scheme/guile-gi/guile-gi-0.3.1-r1.ebuild
rename to dev-scheme/guile-gi/guile-gi-0.3.1-r2.ebuild
index cf870f83e265..c479a13ae6a4 100644
--- a/dev-scheme/guile-gi/guile-gi-0.3.1-r1.ebuild
+++ b/dev-scheme/guile-gi/guile-gi-0.3.1-r2.ebuild
@@ -18,7 +18,6 @@ fi
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="static-libs"
 RESTRICT="strip test"  # Tests fail
 
 DEPEND="
@@ -43,15 +42,12 @@ src_prepare() {
 }
 
 src_configure() {
-	econf --enable-introspection=yes $(use_enable static-libs static)
+	econf --disable-static --enable-introspection=yes
 }
 
 src_install() {
 	default
 
 	mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die
-
-	if ! use static-libs ; then
-		find "${ED}" -type f -name '*.la' -delete || die
-	fi
+	find "${ED}" -type f -name '*.la' -delete || die
 }

diff --git a/dev-scheme/guile-gi/guile-gi-0.3.2-r1.ebuild b/dev-scheme/guile-gi/guile-gi-0.3.2-r2.ebuild
similarity index 86%
rename from dev-scheme/guile-gi/guile-gi-0.3.2-r1.ebuild
rename to dev-scheme/guile-gi/guile-gi-0.3.2-r2.ebuild
index b5423a07a2d3..ee19feac31ae 100644
--- a/dev-scheme/guile-gi/guile-gi-0.3.2-r1.ebuild
+++ b/dev-scheme/guile-gi/guile-gi-0.3.2-r2.ebuild
@@ -18,7 +18,6 @@ fi
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="static-libs"
 RESTRICT="strip"
 
 DEPEND="
@@ -43,7 +42,7 @@ src_prepare() {
 }
 
 src_configure() {
-	econf --enable-introspection=yes $(use_enable static-libs static)
+	econf --disable-static --enable-introspection=yes
 }
 
 src_test() {
@@ -54,8 +53,5 @@ src_install() {
 	default
 
 	mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die
-
-	if ! use static-libs ; then
-		find "${ED}" -type f -name '*.la' -delete || die
-	fi
+	find "${ED}" -type f -name '*.la' -delete || die
 }

diff --git a/dev-scheme/guile-gi/guile-gi-9999.ebuild b/dev-scheme/guile-gi/guile-gi-9999.ebuild
index b5423a07a2d3..ee19feac31ae 100644
--- a/dev-scheme/guile-gi/guile-gi-9999.ebuild
+++ b/dev-scheme/guile-gi/guile-gi-9999.ebuild
@@ -18,7 +18,6 @@ fi
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="static-libs"
 RESTRICT="strip"
 
 DEPEND="
@@ -43,7 +42,7 @@ src_prepare() {
 }
 
 src_configure() {
-	econf --enable-introspection=yes $(use_enable static-libs static)
+	econf --disable-static --enable-introspection=yes
 }
 
 src_test() {
@@ -54,8 +53,5 @@ src_install() {
 	default
 
 	mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die
-
-	if ! use static-libs ; then
-		find "${ED}" -type f -name '*.la' -delete || die
-	fi
+	find "${ED}" -type f -name '*.la' -delete || die
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-gi/
@ 2023-10-01 15:37 Maciej Barć
  0 siblings, 0 replies; 7+ messages in thread
From: Maciej Barć @ 2023-10-01 15:37 UTC (permalink / raw
  To: gentoo-commits

commit:     b1d661f06051fa36ac8ffa85ebf53702358ec695
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  1 15:20:36 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Oct  1 15:37:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1d661f0

dev-scheme/guile-gi: drop old 0.3.1-r2

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/guile-gi/Manifest                 |  1 -
 dev-scheme/guile-gi/guile-gi-0.3.1-r2.ebuild | 57 ----------------------------
 2 files changed, 58 deletions(-)

diff --git a/dev-scheme/guile-gi/Manifest b/dev-scheme/guile-gi/Manifest
index 2681e7b7ed11..58ec9ee423fc 100644
--- a/dev-scheme/guile-gi/Manifest
+++ b/dev-scheme/guile-gi/Manifest
@@ -1,2 +1 @@
-DIST guile-gi-0.3.1.tar.gz 345440 BLAKE2B 17c4ecda48951244d427098767072621278750614919f13d1b03b7ecda5f06b2274c7db50c4288b4bfe581cd852e80cd1d4137b5ccc0e18d0e23866e1eba323a SHA512 b866df95946069cad606bc8f7e7c988665029482bcb986109d652728023151a5e60ee39e86635b9f0b9f0d4d3a9cd72f39b65ee983438f71dff186994e3af197
 DIST guile-gi-0.3.2.tar.gz 350346 BLAKE2B 8680891e3a0854b2741a26847ad0f75262d83ba240caa6afc38765445477cd3d9b4abfecf0c2dc68b05c61efe6cdbde633c16d98cbb6db49e2727adfb83004c3 SHA512 88a58ac8c97a2bb0c9304183423b77831365706aafb9a98185a555b19783247aaf7bf80963a3b75090a9774a8360b3767583e8cdd8416fdad0d3c23973fb37c6

diff --git a/dev-scheme/guile-gi/guile-gi-0.3.1-r2.ebuild b/dev-scheme/guile-gi/guile-gi-0.3.1-r2.ebuild
deleted file mode 100644
index 77813d0f30d8..000000000000
--- a/dev-scheme/guile-gi/guile-gi-0.3.1-r2.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="Bindings for GObject Introspection and libgirepository for Guile"
-HOMEPAGE="https://spk121.github.io/guile-gi/"
-
-if [[ "${PV}" == *9999* ]] ; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/spk121/${PN}.git"
-else
-	SRC_URI="https://github.com/spk121/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-RESTRICT="test"  # Tests fail
-
-DEPEND="
-	>=dev-scheme/guile-2.0.9:=
-	dev-libs/gobject-introspection
-	x11-libs/gtk+:3[introspection]
-"
-RDEPEND="${DEPEND}"
-BDEPEND="sys-apps/texinfo"
-
-# guile generates ELF files without use of C or machine code
-# It's a portage's false positive. bug #677600
-QA_PREBUILT='*[.]go'
-
-src_prepare() {
-	default
-
-	# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112
-	find "${S}" -name "*.scm" -exec touch {} + || die
-
-	eautoreconf
-}
-
-src_configure() {
-	econf --disable-static --enable-introspection=yes
-}
-
-src_install() {
-	default
-
-	mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die
-	find "${ED}" -type f -name '*.la' -delete || die
-
-	# Workaround llvm-strip problem of mangling guile ELF debug
-	# sections. Bug https://bugs.gentoo.org/905898
-	dostrip -x /usr/$(get_libdir)/guile
-}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-gi/
@ 2024-09-18 13:12 Arsen Arsenović
  0 siblings, 0 replies; 7+ messages in thread
From: Arsen Arsenović @ 2024-09-18 13:12 UTC (permalink / raw
  To: gentoo-commits

commit:     587e5c2371cca3feadd1f7018b42b995ca0da26a
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Wed Aug 28 09:15:20 2024 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Wed Sep 18 13:06:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=587e5c23

dev-scheme/guile-gi: update live to use new guile mechanism

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 dev-scheme/guile-gi/guile-gi-9999.ebuild | 40 ++++++++++++++++++--------------
 1 file changed, 22 insertions(+), 18 deletions(-)

diff --git a/dev-scheme/guile-gi/guile-gi-9999.ebuild b/dev-scheme/guile-gi/guile-gi-9999.ebuild
index 75b8c4278d3a..1d232ddf9d51 100644
--- a/dev-scheme/guile-gi/guile-gi-9999.ebuild
+++ b/dev-scheme/guile-gi/guile-gi-9999.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit virtualx autotools
+GUILE_COMPAT=( 2-2 3-0 )
+inherit virtualx autotools guile
 
 DESCRIPTION="Bindings for GObject Introspection and libgirepository for Guile"
 HOMEPAGE="https://spk121.github.io/guile-gi/"
@@ -19,42 +20,45 @@ fi
 LICENSE="GPL-3"
 SLOT="0"
 
+REQUIRED_USED="${GUILE_REQUIRED_USE}"
+
 DEPEND="
-	>=dev-scheme/guile-2.0.9:=
+	${GUILE_DEPS}
 	dev-libs/gobject-introspection
 	x11-libs/gtk+:3[introspection]
 "
 RDEPEND="${DEPEND}"
 BDEPEND="sys-apps/texinfo"
 
-# guile generates ELF files without use of C or machine code
-# It's a portage's false positive. bug #677600
-QA_PREBUILT='*[.]go'
+PATCHES=(
+	"${FILESDIR}"/guile-gi-0.3.2-function-cast.patch
+)
 
 src_prepare() {
-	default
-
-	# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112
-	find "${S}" -name "*.scm" -exec touch {} + || die
+	guile_src_prepare
 
 	eautoreconf
 }
 
 src_configure() {
-	econf --disable-static --enable-introspection=yes
+	guile_foreach_impl econf --enable-introspection=yes
+}
+
+src_compile() {
+	my_compile() {
+		mkdir test || die
+		default
+	}
+	guile_foreach_impl my_compile
 }
 
 src_test() {
-	virtx default
+	guile_foreach_impl virtx default
 }
 
 src_install() {
-	default
+	guile_src_install
 
-	mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die
+	mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die
 	find "${ED}" -type f -name '*.la' -delete || die
-
-	# Workaround llvm-strip problem of mangling guile ELF debug
-	# sections. Bug https://bugs.gentoo.org/905898
-	dostrip -x /usr/$(get_libdir)/guile
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-09-18 13:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-03 22:55 [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-gi/ Maciej Barć
  -- strict thread matches above, loose matches on Subject: below --
2021-12-30 21:47 Maciej Barć
2021-12-30 21:47 Maciej Barć
2022-05-17 13:18 Maciej Barć
2022-05-17 21:09 Maciej Barć
2023-10-01 15:37 Maciej Barć
2024-09-18 13:12 Arsen Arsenović

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox