dev-scheme: use dostrip instead of RESTRICT

Bug: https://bugs.gentoo.org/905898
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2023-05-16 13:50:43 +02:00
parent 4698beca19
commit 7e3b8ea2db
29 changed files with 190 additions and 56 deletions
+11 -2
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -20,7 +20,7 @@ fi
LICENSE="GPL-3+"
SLOT="0"
# tests require network access
RESTRICT="strip test"
RESTRICT="test"
RDEPEND="
>=dev-scheme/guile-2.0.11:=
@@ -46,3 +46,12 @@ src_compile() {
emake
}
src_install() {
default
# Workaround llvm-strip problem of mangling guile ELF debug
# sections: https://bugs.gentoo.org/905898
dostrip -x "/usr/$(get_libdir)/guile"
dostrip -x "/usr/$(get_libdir)/akku"
}
@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -10,8 +10,6 @@ SRC_URI="https://github.com/TaylanUB/scheme-bytestructures/releases/download/v${
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="strip"
RDEPEND=">=dev-scheme/guile-2.0.0:="
DEPEND="${RDEPEND}"
@@ -34,3 +32,11 @@ src_prepare() {
# 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"
}
@@ -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
@@ -13,7 +13,6 @@ S="${WORKDIR}/scheme-${PN}-${PV}"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
RDEPEND=">=dev-scheme/guile-2.0.0:="
DEPEND="${RDEPEND}"
@@ -29,3 +28,11 @@ src_prepare() {
# 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"
}
+5 -2
View File
@@ -14,7 +14,6 @@ SRC_URI="https://github.com/wingo/${PN}/archive/v${PV}.tar.gz
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
RDEPEND=">=dev-scheme/guile-2.1.7:="
DEPEND="${RDEPEND}"
@@ -35,5 +34,9 @@ src_prepare() {
src_install() {
default
find "${D}" -name "*.la" -delete || die
find "${ED}" -type f -name "*.la" -delete || die
# Workaround llvm-strip problem of mangling guile ELF debug
# sections: https://bugs.gentoo.org/905898
dostrip -x "/usr/$(get_libdir)/guile"
}
@@ -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
@@ -12,7 +12,6 @@ SRC_URI="https://gitlab.com/a-sassmannshausen/${PN}/-/archive/${PV}/${P}.tar.bz2
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
RDEPEND=">=dev-scheme/guile-2.0.0:="
DEPEND="${RDEPEND}"
@@ -29,3 +28,11 @@ src_prepare() {
eautoreconf
}
src_install() {
default
# Workaround llvm-strip problem of mangling guile ELF debug
# sections. Bug https://bugs.gentoo.org/905898
dostrip -x /usr/$(get_libdir)/guile
}
@@ -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
@@ -13,7 +13,6 @@ S="${WORKDIR}"/guile-dbi-guile-dbi-${PV}/${PN}
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
RDEPEND="
dev-db/postgresql:*
@@ -41,4 +40,8 @@ src_install() {
default
find "${ED}" -type f -name "*.la" -delete || die
# Workaround llvm-strip problem of mangling guile ELF debug
# sections: https://bugs.gentoo.org/905898
dostrip -x "/usr/$(get_libdir)/guile"
}
@@ -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
@@ -13,7 +13,6 @@ S="${WORKDIR}"/guile-dbi-guile-dbi-${PV}/${PN}
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
RDEPEND="
dev-db/sqlite:3=
@@ -41,4 +40,8 @@ src_install() {
default
find "${ED}" -type f -name "*.la" -delete || die
# Workaround llvm-strip problem of mangling guile ELF debug
# sections: https://bugs.gentoo.org/905898
dostrip -x "/usr/$(get_libdir)/guile"
}
+5 -2
View File
@@ -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
@@ -13,7 +13,6 @@ S="${WORKDIR}"/${PN}-${P}/${PN}
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
RDEPEND=">=dev-scheme/guile-2.0.0:="
DEPEND="${RDEPEND}"
@@ -37,4 +36,8 @@ src_install() {
default
find "${ED}" -type f -name "*.la" -delete || die
# Workaround llvm-strip problem of mangling guile ELF debug
# sections: https://bugs.gentoo.org/905898
dostrip -x "/usr/$(get_libdir)/guile"
}
@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,8 +13,6 @@ S="${WORKDIR}/${PN}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="strip"
RDEPEND="
>=dev-scheme/guile-2.0.11:=
@@ -35,3 +33,11 @@ src_prepare() {
# upstream tag on top of source tree. has no autogenerated files
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"
}
@@ -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
@@ -13,8 +13,6 @@ S="${WORKDIR}/${PN}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="strip"
RDEPEND="
>=dev-scheme/guile-2.0.11:=
@@ -35,3 +33,11 @@ src_prepare() {
# upstream tag on top of source tree. has no autogenerated files
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"
}
+6 -2
View File
@@ -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
@@ -18,7 +18,7 @@ fi
LICENSE="GPL-3"
SLOT="0"
RESTRICT="strip test" # Tests fail
RESTRICT="test" # Tests fail
DEPEND="
>=dev-scheme/guile-2.0.9:=
@@ -50,4 +50,8 @@ src_install() {
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
}
+5 -2
View File
@@ -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
@@ -18,7 +18,6 @@ fi
LICENSE="GPL-3"
SLOT="0"
RESTRICT="strip"
DEPEND="
>=dev-scheme/guile-2.0.9:=
@@ -54,4 +53,8 @@ src_install() {
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
}
+5 -2
View File
@@ -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
@@ -18,7 +18,6 @@ fi
LICENSE="GPL-3"
SLOT="0"
RESTRICT="strip"
DEPEND="
>=dev-scheme/guile-2.0.9:=
@@ -54,4 +53,8 @@ src_install() {
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
}
+10 -2
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,7 +19,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
# Works without sandbox. But under sandbox sshd claims to break the protocol.
RESTRICT="strip test"
RESTRICT="test"
# older libgit seems to be incompatible with guile-git bindings
# https://github.com/trofi/nix-guix-gentoo/issues/7
@@ -52,3 +52,11 @@ src_prepare() {
src_test() {
emake check VERBOSE=1
}
src_install() {
default
# Workaround llvm-strip problem of mangling guile ELF debug
# sections: https://bugs.gentoo.org/905898
dostrip -x "/usr/$(get_libdir)/guile"
}
@@ -11,7 +11,6 @@ SRC_URI="https://gitlab.com/gnutls/guile/uploads/56e18069ab63ca67d61aecb6b2697ec
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
RDEPEND="
>=dev-scheme/guile-2.0.0:=
@@ -38,4 +37,8 @@ src_install() {
default
find "${ED}" -type f -name "*.la" -delete || die
# Workaround llvm-strip problem of mangling guile ELF debug
# sections: https://bugs.gentoo.org/905898
dostrip -x "/usr/$(get_libdir)/guile"
}
@@ -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
@@ -12,7 +12,6 @@ SRC_URI="https://gitlab.com/a-sassmannshausen/${PN}/-/archive/${PV}/${P}.tar.bz2
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
RDEPEND="
>=dev-scheme/guile-2.0.0:=
@@ -32,3 +31,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"
}
@@ -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
@@ -10,7 +10,6 @@ SRC_URI="http://download.savannah.nongnu.org/releases/guile-json/${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
RDEPEND=">=dev-scheme/guile-2.0.0:="
DEPEND="${RDEPEND}"
@@ -25,3 +24,11 @@ src_prepare() {
# 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"
}
+9 -2
View File
@@ -1,4 +1,4 @@
# Copyright 2022 Gentoo Authors
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -10,7 +10,6 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
RDEPEND=">=dev-scheme/guile-2.0.0:="
DEPEND="${RDEPEND}"
@@ -29,3 +28,11 @@ src_prepare() {
src_configure() {
econf --with-guile-site=yes
}
src_install() {
default
# Workaround llvm-strip problem of mangling guile ELF debug
# sections: https://bugs.gentoo.org/905898
dostrip -x "/usr/$(get_libdir)/guile"
}
@@ -14,7 +14,6 @@ S="${WORKDIR}"/${PN}-${COMMIT}
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
RDEPEND="
>=dev-scheme/guile-2.0.0:=
@@ -62,4 +61,8 @@ src_install() {
doins ccache/yaml.go
einstalldocs
# Workaround llvm-strip problem of mangling guile ELF debug
# sections: https://bugs.gentoo.org/905898
dostrip -x "/usr/$(get_libdir)/guile"
}
@@ -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
@@ -12,7 +12,6 @@ SRC_URI="mirror://gnu/guile-ncurses/${P}.tar.gz"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
RDEPEND="
>=dev-scheme/guile-2.0.0:=
@@ -70,4 +69,8 @@ src_install() {
default
find "${ED}" -type f -name '*.la' -delete || die
# Workaround llvm-strip problem of mangling guile ELF debug
# sections: https://bugs.gentoo.org/905898
dostrip -x "/usr/$(get_libdir)/guile"
}
@@ -12,7 +12,6 @@ SRC_URI="mirror://gnu/guile-ncurses/${P}.tar.gz"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
RDEPEND="
>=dev-scheme/guile-2.0.0:=
@@ -71,4 +70,8 @@ src_install() {
default
find "${ED}" -type f -name '*.la' -delete || die
# Workaround llvm-strip problem of mangling guile ELF debug
# sections: https://bugs.gentoo.org/905898
dostrip -x "/usr/$(get_libdir)/guile"
}
@@ -1,4 +1,4 @@
# Copyright 2022 Gentoo Authors
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,7 +11,6 @@ S="${WORKDIR}/nyacc-${PV}"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
RDEPEND="
>=dev-scheme/guile-2.0.0:=
@@ -35,4 +34,8 @@ src_install() {
# Fix docs location
mv "${D}"/usr/share/doc/nyacc "${D}"/usr/share/doc/${PF}
# Workaround llvm-strip problem of mangling guile ELF debug
# sections: https://bugs.gentoo.org/905898
dostrip -x "/usr/$(get_libdir)/guile"
}
@@ -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
@@ -10,7 +10,6 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
RDEPEND=">=dev-scheme/guile-2.0.0:="
DEPEND="${RDEPEND}"
@@ -35,4 +34,8 @@ src_install() {
default
find "${ED}" -type f -name '*.la' -delete || die
# Workaround llvm-strip problem of mangling guile ELF debug
# sections: https://bugs.gentoo.org/905898
dostrip -x "/usr/$(get_libdir)/guile"
}
@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -7,14 +7,13 @@ inherit autotools
DESCRIPTION="Guile bindings of sqlite3"
HOMEPAGE="https://notabug.org/guile-sqlite3/guile-sqlite3"
SRC_URI="https://notabug.org/guile-sqlite3/guile-sqlite3/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://notabug.org/guile-sqlite3/guile-sqlite3/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
S="${WORKDIR}/${PN}"
LICENSE="LGPL-3+ GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="strip"
RDEPEND="
>=dev-scheme/guile-2.0.11:=
@@ -32,3 +31,11 @@ src_prepare() {
# upstream tag on top of source tree. has no autogenerated files
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"
}
@@ -14,7 +14,6 @@ SRC_URI="https://github.com/artyom-poptsov/${PN}/archive/v${PV}.tar.gz
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
RDEPEND="
>=dev-scheme/guile-2.0.0:=
@@ -44,4 +43,8 @@ src_install() {
default
find "${ED}" -name "*.la" -delete || die
# Workaround llvm-strip problem of mangling guile ELF debug
# sections: https://bugs.gentoo.org/905898
dostrip -x "/usr/$(get_libdir)/guile"
}
+4 -1
View File
@@ -14,7 +14,6 @@ SRC_URI="https://github.com/artyom-poptsov/${PN}/archive/v${PV}.tar.gz
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
RDEPEND="
>=dev-scheme/guile-2.0.0:=
@@ -44,4 +43,8 @@ src_install() {
default
find "${ED}" -name "*.la" -delete || die
# Workaround llvm-strip problem of mangling guile ELF debug
# sections: https://bugs.gentoo.org/905898
dostrip -x "/usr/$(get_libdir)/guile"
}
+4 -1
View File
@@ -14,7 +14,6 @@ SRC_URI="https://github.com/artyom-poptsov/${PN}/archive/v${PV}.tar.gz
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
RDEPEND="
>=dev-scheme/guile-2.0.0:=
@@ -44,4 +43,8 @@ src_install() {
default
find "${ED}" -name "*.la" -delete || die
# Workaround llvm-strip problem of mangling guile ELF debug
# sections: https://bugs.gentoo.org/905898
dostrip -x "/usr/$(get_libdir)/guile"
}
+5 -1
View File
@@ -13,7 +13,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="emacs"
RESTRICT="strip test" # tests fail, seem broken
RESTRICT="test" # tests fail, seem broken
RDEPEND="
app-text/ghostscript-gpl
@@ -67,6 +67,10 @@ src_install() {
rm -r "${emacsd}" || die
fi
fi
# Workaround llvm-strip problem of mangling guile ELF debug
# sections: https://bugs.gentoo.org/905898
dostrip -x "/usr/$(get_libdir)/guile"
}
pkg_postinst() {
+6 -2
View File
@@ -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
@@ -13,7 +13,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="emacs"
RESTRICT="strip test" # tests fail, seem broken
RESTRICT="test" # tests fail, seem broken
RDEPEND="
app-text/ghostscript-gpl
@@ -67,6 +67,10 @@ src_install() {
rm -r "${emacsd}" || die
fi
fi
# Workaround llvm-strip problem of mangling guile ELF debug
# sections: https://bugs.gentoo.org/905898
dostrip -x "/usr/$(get_libdir)/guile"
}
pkg_postinst() {