[gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-zstd/
commit: 07eabe284e7b0a7103986293690229aebd4d8afe Author: Maciej Barć gentoo org> AuthorDate: Wed Feb 28 20:22:38 2024 + Commit: Maciej Barć gentoo org> CommitDate: Wed Feb 28 21:21:20 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07eabe28 dev-scheme/guile-zstd: add missing pkgconfig dependencies as also declared inside this pkg guix.scm Signed-off-by: Maciej Barć gentoo.org> .../{guile-zstd-0.1.1-r2.ebuild => guile-zstd-0.1.1-r3.ebuild} | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-scheme/guile-zstd/guile-zstd-0.1.1-r2.ebuild b/dev-scheme/guile-zstd/guile-zstd-0.1.1-r3.ebuild similarity index 97% rename from dev-scheme/guile-zstd/guile-zstd-0.1.1-r2.ebuild rename to dev-scheme/guile-zstd/guile-zstd-0.1.1-r3.ebuild index 553530bd3a34..72aca48dc92f 100644 --- a/dev-scheme/guile-zstd/guile-zstd-0.1.1-r2.ebuild +++ b/dev-scheme/guile-zstd/guile-zstd-0.1.1-r3.ebuild @@ -31,6 +31,9 @@ RDEPEND=" DEPEND=" ${RDEPEND} " +BDEPEND=" + virtual/pkgconfig +" DOCS=( AUTHORS ChangeLog NEWS README )
[gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-zstd/
commit: 0ec0f73a7fa5a5e0f6cfa803c8ca407b48d8 Author: Maciej Barć gentoo org> AuthorDate: Wed Feb 28 19:33:50 2024 + Commit: Maciej Barć gentoo org> CommitDate: Wed Feb 28 19:47:35 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ec0 dev-scheme/guile-zstd: let pkg-config find zstd dir See-also: https://github.com/trofi/nix-guix-gentoo/commit/6b79b1659191ffe625aebb5f85ac275e45b0b516 Closes: https://bugs.gentoo.org/877723 Bug: https://github.com/trofi/nix-guix-gentoo/issues/23 Signed-off-by: Maciej Barć gentoo.org> dev-scheme/guile-zstd/guile-zstd-0.1.1-r1.ebuild | 57 dev-scheme/guile-zstd/guile-zstd-0.1.1-r2.ebuild | 55 +++ 2 files changed, 55 insertions(+), 57 deletions(-) diff --git a/dev-scheme/guile-zstd/guile-zstd-0.1.1-r1.ebuild b/dev-scheme/guile-zstd/guile-zstd-0.1.1-r1.ebuild deleted file mode 100644 index 7d00f87e4450.. --- a/dev-scheme/guile-zstd/guile-zstd-0.1.1-r1.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="GNU Guile bindings to the zstd compression library" -HOMEPAGE="https://notabug.org/guile-zstd/guile-zstd/; -SRC_URI="https://notabug.org/${PN}/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz" -S="${WORKDIR}"/${PN} - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -# In zstd-1.5.2-r2 library was moved from /usr/lib to /lib -RDEPEND=" - >=dev-scheme/guile-2.0.0:= - >=app-arch/zstd-1.5.2-r2 -" -DEPEND="${RDEPEND}" - -DOCS=( AUTHORS ChangeLog NEWS README ) - -# 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 - - # Workaround gentoo-specific deviation where - # /usr/lib64/libzstd.so is a linker script that points to: - # GROUP ( /lib64/libzstd.so.1 ) - # This confuses guile-zstd and fails to open the library: - # substitute: ice-9/boot-9.scm:1685:16: In procedure raise-exception: - # substitute: In procedure load-foreign-library: file: "/usr/lib64/libzstd.so.1", - # message: "file not found" - # guix environment: error: `/usr/bin/guix substitute' died unexpectedly - sed "s|@ZSTD_LIBDIR@/libzstd.so.1|/$(get_libdir)/libzstd.so.1|" \ - -i "${S}"/zstd/config.scm.in || die - - # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 - find "${S}" -name "*.scm" -exec touch {} + || die - - 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" -} diff --git a/dev-scheme/guile-zstd/guile-zstd-0.1.1-r2.ebuild b/dev-scheme/guile-zstd/guile-zstd-0.1.1-r2.ebuild new file mode 100644 index ..553530bd3a34 --- /dev/null +++ b/dev-scheme/guile-zstd/guile-zstd-0.1.1-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="GNU Guile bindings to the zstd compression library" +HOMEPAGE="https://notabug.org/guile-zstd/guile-zstd/; + +if [[ "${PV}" == ** ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://notabug.org/${PN}/${PN}.git; +else + SRC_URI="https://notabug.org/${PN}/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${PN}" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +# In zstd-1.5.5-r1 library was moved back from "/lib" to "/usr/lib". +RDEPEND=" + >=app-arch/zstd-1.5.5-r1 + >=dev-scheme/guile-2.0.0:= +" +DEPEND=" + ${RDEPEND} +" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +# 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 + eautoreconf + + # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 + find "${S}" -name "*.scm" -exec touch {} + || die +} + +src_install() { + default + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" +}
[gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-zstd/
commit: 4171bfcb004899aa0e96aad951f19a13f1d325c3 Author: Maciej Barć gentoo org> AuthorDate: Tue May 16 11:42:05 2023 + Commit: Maciej Barć gentoo org> CommitDate: Tue May 16 11:50:43 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4171bfcb dev-scheme/guile-zstd: do not strip guile bytecode Bug: https://bugs.gentoo.org/905898 Signed-off-by: Maciej Barć gentoo.org> .../{guile-zstd-0.1.1.ebuild => guile-zstd-0.1.1-r1.ebuild} | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/dev-scheme/guile-zstd/guile-zstd-0.1.1.ebuild b/dev-scheme/guile-zstd/guile-zstd-0.1.1-r1.ebuild similarity index 81% rename from dev-scheme/guile-zstd/guile-zstd-0.1.1.ebuild rename to dev-scheme/guile-zstd/guile-zstd-0.1.1-r1.ebuild index efd8811afedd..7d00f87e4450 100644 --- a/dev-scheme/guile-zstd/guile-zstd-0.1.1.ebuild +++ b/dev-scheme/guile-zstd/guile-zstd-0.1.1-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 bindings to the zstd compression library" HOMEPAGE="https://notabug.org/guile-zstd/guile-zstd/; -SRC_URI="https://notabug.org/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://notabug.org/${PN}/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" S="${WORKDIR}"/${PN} LICENSE="GPL-3+" @@ -46,3 +47,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" +}
[gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-zstd/
commit: 0b4c062580823987659e2f3ddcfd7be28800b53a Author: Maciej Barć gentoo org> AuthorDate: Mon Oct 17 00:06:03 2022 + Commit: Maciej Barć gentoo org> CommitDate: Mon Oct 17 00:12:41 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b4c0625 dev-scheme/guile-zstd: new package; add 0.1.1 Bug: https://github.com/trofi/nix-guix-gentoo/issues/24 Signed-off-by: Maciej Barć gentoo.org> dev-scheme/guile-zstd/Manifest| 1 + dev-scheme/guile-zstd/guile-zstd-0.1.1.ebuild | 48 +++ dev-scheme/guile-zstd/metadata.xml| 12 +++ 3 files changed, 61 insertions(+) diff --git a/dev-scheme/guile-zstd/Manifest b/dev-scheme/guile-zstd/Manifest new file mode 100644 index ..7a74cbe08c3a --- /dev/null +++ b/dev-scheme/guile-zstd/Manifest @@ -0,0 +1 @@ +DIST guile-zstd-0.1.1.tar.gz 21402 BLAKE2B 995034f977649b31308690a5a53372cb80274b6457b6b0344bc31f4451d00e61cc33b6ef890e8b7a75cb6a656e8db506a2390bc2c5d29552af7c68788a6388ee SHA512 23bd4b201a427eb02ae32bcd81d05adefcac3b4446dcb8a91d8ad2bed389d4ea92ffd81dfb6b3e7427b891fd25b7466ca53a97b1a943e390f13de977986fcad0 diff --git a/dev-scheme/guile-zstd/guile-zstd-0.1.1.ebuild b/dev-scheme/guile-zstd/guile-zstd-0.1.1.ebuild new file mode 100644 index ..efd8811afedd --- /dev/null +++ b/dev-scheme/guile-zstd/guile-zstd-0.1.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="GNU Guile bindings to the zstd compression library" +HOMEPAGE="https://notabug.org/guile-zstd/guile-zstd/; +SRC_URI="https://notabug.org/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${PN} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# In zstd-1.5.2-r2 library was moved from /usr/lib to /lib +RDEPEND=" + >=dev-scheme/guile-2.0.0:= + >=app-arch/zstd-1.5.2-r2 +" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +# 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 + + # Workaround gentoo-specific deviation where + # /usr/lib64/libzstd.so is a linker script that points to: + # GROUP ( /lib64/libzstd.so.1 ) + # This confuses guile-zstd and fails to open the library: + # substitute: ice-9/boot-9.scm:1685:16: In procedure raise-exception: + # substitute: In procedure load-foreign-library: file: "/usr/lib64/libzstd.so.1", + # message: "file not found" + # guix environment: error: `/usr/bin/guix substitute' died unexpectedly + sed "s|@ZSTD_LIBDIR@/libzstd.so.1|/$(get_libdir)/libzstd.so.1|" \ + -i "${S}"/zstd/config.scm.in || die + + # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 + find "${S}" -name "*.scm" -exec touch {} + || die + + eautoreconf +} diff --git a/dev-scheme/guile-zstd/metadata.xml b/dev-scheme/guile-zstd/metadata.xml new file mode 100644 index ..6ea5fe42c7a9 --- /dev/null +++ b/dev-scheme/guile-zstd/metadata.xml @@ -0,0 +1,12 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + +sch...@gentoo.org +Gentoo Scheme Project + + +https://notabug.org/guile-zstd/guile-zstd/ + +