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

commit:     d8912d37398ce8fed2f6eabe669466b0d3045223
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 16 23:21:00 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 00:12:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8912d37

dev-scheme/guile-lzlib: new package; add 0.0.2

Bug: https://github.com/trofi/nix-guix-gentoo/issues/24
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/guile-lzlib/Manifest                 |  1 +
 dev-scheme/guile-lzlib/guile-lzlib-0.0.2.ebuild | 36 +++++++++++++++++++++++++
 dev-scheme/guile-lzlib/metadata.xml             | 12 +++++++++
 3 files changed, 49 insertions(+)

diff --git a/dev-scheme/guile-lzlib/Manifest b/dev-scheme/guile-lzlib/Manifest
new file mode 100644
index 000000000000..39138247edb5
--- /dev/null
+++ b/dev-scheme/guile-lzlib/Manifest
@@ -0,0 +1 @@
+DIST guile-lzlib-0.0.2.tar.gz 13291 BLAKE2B 0f43292a4616cfb218e3a2cbc7ba5ebccc0825d8df9a0874a55764a0a0d2961c581689be1142d586ac6926d32fc9023b27905f52ed131057fac15ba69d7d0b41 SHA512 1cede0d0194b2a8839979600ce680850e6cc2405912dcc84265b1f920c4069e94a85e79de3d61e5e7ccabc8ad8719d3759e28b45c16e70cc7c696af40e09cf1a

diff --git a/dev-scheme/guile-lzlib/guile-lzlib-0.0.2.ebuild b/dev-scheme/guile-lzlib/guile-lzlib-0.0.2.ebuild
new file mode 100644
index 000000000000..390b88d1e1f5
--- /dev/null
+++ b/dev-scheme/guile-lzlib/guile-lzlib-0.0.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="GNU Guile library providing bindings to lzlib"
+HOMEPAGE="https://notabug.org/guile-lzlib/guile-lzlib/"
+SRC_URI="https://notabug.org/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	>=dev-scheme/guile-2.0.0:=
+	app-arch/lzlib
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog HACKING NEWS README.org )
+
+# 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
+}

diff --git a/dev-scheme/guile-lzlib/metadata.xml b/dev-scheme/guile-lzlib/metadata.xml
new file mode 100644
index 000000000000..086fd3b4559f
--- /dev/null
+++ b/dev-scheme/guile-lzlib/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>scheme@gentoo.org</email>
+    <name>Gentoo Scheme Project</name>
+  </maintainer>
+  <upstream>
+    <bugs-to>https://notabug.org/guile-lzlib/guile-lzlib/issues/</bugs-to>
+  </upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-lzlib/
@ 2023-05-16 11:50 Maciej Barć
  0 siblings, 0 replies; 3+ messages in thread
From: Maciej Barć @ 2023-05-16 11:50 UTC (permalink / raw
  To: gentoo-commits

commit:     3a1364a6a38575dea322388e778a20d2d008f7db
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue May 16 11:46:01 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue May 16 11:50:43 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a1364a6

dev-scheme/guile-lzlib: do not strip guile bytecode

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

 ...guile-lzlib-0.0.2.ebuild => guile-lzlib-0.0.2-r1.ebuild} | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/dev-scheme/guile-lzlib/guile-lzlib-0.0.2.ebuild b/dev-scheme/guile-lzlib/guile-lzlib-0.0.2-r1.ebuild
similarity index 70%
rename from dev-scheme/guile-lzlib/guile-lzlib-0.0.2.ebuild
rename to dev-scheme/guile-lzlib/guile-lzlib-0.0.2-r1.ebuild
index 390b88d1e1f5..099b269f0587 100644
--- a/dev-scheme/guile-lzlib/guile-lzlib-0.0.2.ebuild
+++ b/dev-scheme/guile-lzlib/guile-lzlib-0.0.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -7,7 +7,8 @@ inherit autotools
 
 DESCRIPTION="GNU Guile library providing bindings to lzlib"
 HOMEPAGE="https://notabug.org/guile-lzlib/guile-lzlib/"
-SRC_URI="https://notabug.org/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://notabug.org/${PN}/${PN}/archive/${PV}.tar.gz
+	-> ${P}.tar.gz"
 S="${WORKDIR}"/${PN}
 
 LICENSE="GPL-3+"
@@ -34,3 +35,11 @@ src_prepare() {
 
 	eautoreconf
 }
+
+src_install() {
+	default
+
+	# Workaround llvm-strip problem of mangling guile ELF debug
+	# sections: https://bugs.gentoo.org/905898
+	dostrip -x "/usr/$(get_libdir)/guile"
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-lzlib/
@ 2024-02-28 21:24 Maciej Barć
  0 siblings, 0 replies; 3+ messages in thread
From: Maciej Barć @ 2024-02-28 21:24 UTC (permalink / raw
  To: gentoo-commits

commit:     4c0589861958de1fd899eea81fc78fdcffa96b14
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 28 20:43:22 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 21:21:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c058986

dev-scheme/guile-lzlib: add missing pkgconfig dependencies

as also declared inside this pkg guix.scm

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

 ...0.0.2-r1.ebuild => guile-lzlib-0.0.2-r2.ebuild} | 28 +++++++++++++++-------
 1 file changed, 20 insertions(+), 8 deletions(-)

diff --git a/dev-scheme/guile-lzlib/guile-lzlib-0.0.2-r1.ebuild b/dev-scheme/guile-lzlib/guile-lzlib-0.0.2-r2.ebuild
similarity index 70%
rename from dev-scheme/guile-lzlib/guile-lzlib-0.0.2-r1.ebuild
rename to dev-scheme/guile-lzlib/guile-lzlib-0.0.2-r2.ebuild
index 099b269f0587..228c3c646d40 100644
--- a/dev-scheme/guile-lzlib/guile-lzlib-0.0.2-r1.ebuild
+++ b/dev-scheme/guile-lzlib/guile-lzlib-0.0.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -7,19 +7,32 @@ inherit autotools
 
 DESCRIPTION="GNU Guile library providing bindings to lzlib"
 HOMEPAGE="https://notabug.org/guile-lzlib/guile-lzlib/"
-SRC_URI="https://notabug.org/${PN}/${PN}/archive/${PV}.tar.gz
-	-> ${P}.tar.gz"
-S="${WORKDIR}"/${PN}
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://notabug.org/${PN}/${PN}.git"
+else
+	SRC_URI="https://notabug.org/${PN}/${PN}/archive/${PV}.tar.gz
+		-> ${P}.tar.gz"
+	S="${WORKDIR}/${PN}"
+
+	KEYWORDS="~amd64 ~x86"
+fi
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
 
 RDEPEND="
 	>=dev-scheme/guile-2.0.0:=
 	app-arch/lzlib
 "
-DEPEND="${RDEPEND}"
+DEPEND="
+	${RDEPEND}
+"
+BDEPEND="
+	virtual/pkgconfig
+"
 
 DOCS=( AUTHORS ChangeLog HACKING NEWS README.org )
 
@@ -29,11 +42,10 @@ QA_PREBUILT='*[.]go'
 
 src_prepare() {
 	default
+	eautoreconf
 
 	# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112
 	find "${S}" -name "*.scm" -exec touch {} + || die
-
-	eautoreconf
 }
 
 src_install() {


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

end of thread, other threads:[~2024-02-28 21:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-28 21:24 [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-lzlib/ Maciej Barć
  -- strict thread matches above, loose matches on Subject: below --
2023-05-16 11:50 Maciej Barć
2022-10-17  0:12 Maciej Barć

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