From: "Stefan Strogin" <steils@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/bglibs/
Date: Fri, 17 May 2019 11:43:42 +0000 (UTC) [thread overview]
Message-ID: <1558093380.467a494a38a9d1c5b9177ab45912c6a5cf014677.steils@gentoo> (raw)
commit: 467a494a38a9d1c5b9177ab45912c6a5cf014677
Author: Stefan Strogin <steils <AT> gentoo <DOT> org>
AuthorDate: Fri May 17 11:39:54 2019 +0000
Commit: Stefan Strogin <steils <AT> gentoo <DOT> org>
CommitDate: Fri May 17 11:43:00 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=467a494a
Revert "dev-libs/bglibs: EAPI7, update ebuild"
This reverts commit 43fa55326a98ef86cf81f61572555399e899d9fa.
Accidentally removed bglibs-1.106-r1.
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org>
dev-libs/bglibs/bglibs-1.106-r1.ebuild | 76 ++++++++++++++++++++++++++++++
dev-libs/bglibs/bglibs-1.106-r2.ebuild | 86 ----------------------------------
2 files changed, 76 insertions(+), 86 deletions(-)
diff --git a/dev-libs/bglibs/bglibs-1.106-r1.ebuild b/dev-libs/bglibs/bglibs-1.106-r1.ebuild
new file mode 100644
index 00000000000..3964c00ce92
--- /dev/null
+++ b/dev-libs/bglibs/bglibs-1.106-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit toolchain-funcs eutils multilib
+
+DESCRIPTION="Bruce Guenters Libraries Collection"
+HOMEPAGE="http://untroubled.org/bglibs/"
+SRC_URI="http://untroubled.org/bglibs/archive/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ~mips ppc ~ppc64 ~sparc x86"
+IUSE=""
+DEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.106-parallel-fix.patch
+ # disable tests as we want them manually
+ sed -i \
+ -e '/^all:/s|selftests||' \
+ "${S}"/Makefile
+ sed -i \
+ -e '/selftests/d' \
+ "${S}"/TARGETS
+ #sed -i \
+ # -e 's,^libraries:,LIBS = ,g' \
+ # -e '/^LIBS =/alibs-static: $(filter %.a,$(LIBS))' \
+ # -e '/^LIBS =/alibs-shared: $(filter %.la,$(LIBS))' \
+ # -e '/^LIBS =/alibraries: libs-static libs-shared' \
+ # "${S}"/Makefile
+}
+
+src_compile() {
+ echo "${D}/usr/bin" > conf-bin
+ echo "${D}/usr/$(get_libdir)/bglibs" > conf-lib
+ echo "${D}/usr/include/bglibs" > conf-include
+ echo "${D}/usr/share/man" > conf-man
+ echo "$(tc-getCC) ${CFLAGS}" > conf-cc
+ echo "$(tc-getCC) ${LDFLAGS}" > conf-ld
+ emake || die
+}
+
+src_test() {
+ einfo "Running selftests"
+ emake selftests
+}
+
+src_install () {
+ einstall || die "install failed"
+
+ #make backwards compatible symlinks
+ dosym /usr/$(get_libdir)/bglibs /usr/$(get_libdir)/bglibs/lib
+ [ "$(get_libdir)" != "lib" ] && dosym /usr/$(get_libdir)/bglibs /usr/$(get_libdir)/bglibs/$(get_libdir)
+ dosym /usr/include/bglibs /usr/$(get_libdir)/bglibs/include
+
+ #install .so in LDPATH
+ mv "${D}"/usr/$(get_libdir)/bglibs/libbg.so.1.1.1 "${D}"/usr/$(get_libdir)/
+ mv "${D}"/usr/$(get_libdir)/bglibs/libbg-sysdeps.so.1.1.1 "${D}"/usr/$(get_libdir)/
+ dosym libbg.so.1.1.1 /usr/$(get_libdir)/libbg.so.1
+ dosym libbg.so.1.1.1 /usr/$(get_libdir)/libbg.so
+ dosym libbg-sysdeps.so.1.1.1 /usr/$(get_libdir)/libbg-sysdeps.so.1
+ dosym libbg-sysdeps.so.1.1.1 /usr/$(get_libdir)/libbg-sysdeps.so
+
+ dosym ../libbg.so.1.1.1 /usr/$(get_libdir)/bglibs/libbg.so.1.1.1
+ dosym ../libbg-sysdeps.so.1.1.1 /usr/$(get_libdir)/bglibs/libbg-sysdeps.so.1.1.1
+
+ rm "${D}"/usr/$(get_libdir)/bglibs/libbg.la
+ rm "${D}"/usr/$(get_libdir)/bglibs/libbg-sysdeps.la
+
+ dodoc ANNOUNCEMENT NEWS README ChangeLog TODO VERSION
+ dohtml doc/html/*
+ docinto latex
+ dodoc doc/latex/*
+}
diff --git a/dev-libs/bglibs/bglibs-1.106-r2.ebuild b/dev-libs/bglibs/bglibs-1.106-r2.ebuild
deleted file mode 100644
index 6ef63dbc235..00000000000
--- a/dev-libs/bglibs/bglibs-1.106-r2.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="Bruce Guenters Libraries Collection"
-HOMEPAGE="https://untroubled.org/bglibs/
- https://github.com/bruceg/bglibs"
-SRC_URI="https://untroubled.org/bglibs/archive/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="doc"
-
-BDEPEND="
- sys-devel/libtool
- doc? (
- app-doc/doxygen
- dev-tex/xcolor
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- virtual/latex-base
- )
-"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.106-parallel-fix.patch )
-
-src_prepare() {
- default
- # disable tests as we want them manually
- sed -i -e '/^all:/s|selftests||' Makefile || die
- sed -i -e '/selftests/d' TARGETS || die
-}
-
-src_configure() {
- echo "${ED}/usr/bin" > conf-bin || die
- echo "${ED}/usr/$(get_libdir)/bglibs" > conf-lib || die
- echo "${ED}/usr/include/bglibs" > conf-include || die
- echo "${ED}/usr/share/man" > conf-man || die
- echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die
- echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die
-}
-
-src_compile() {
- default
- if use doc; then
- emake -C doc/latex pdf
- fi
-}
-
-src_test() {
- einfo "Running selftests"
- emake selftests
-}
-
-src_install () {
- default
-
- #make backwards compatible symlinks
- dosym ../../$(get_libdir)/bglibs /usr/$(get_libdir)/bglibs/lib
- [[ "$(get_libdir)" != "lib" ]] && dosym ../../$(get_libdir)/bglibs /usr/$(get_libdir)/bglibs/$(get_libdir)
- dosym ../../include/bglibs /usr/$(get_libdir)/bglibs/include
-
- #install .so in LDPATH
- mv "${ED}"/usr/$(get_libdir)/bglibs/libbg.so.1.1.1 "${ED}"/usr/$(get_libdir)/ || die
- mv "${ED}"/usr/$(get_libdir)/bglibs/libbg-sysdeps.so.1.1.1 "${ED}"/usr/$(get_libdir)/ || die
- dosym libbg.so.1.1.1 /usr/$(get_libdir)/libbg.so.1
- dosym libbg.so.1.1.1 /usr/$(get_libdir)/libbg.so
- dosym libbg-sysdeps.so.1.1.1 /usr/$(get_libdir)/libbg-sysdeps.so.1
- dosym libbg-sysdeps.so.1.1.1 /usr/$(get_libdir)/libbg-sysdeps.so
-
- dosym ../libbg.so.1.1.1 /usr/$(get_libdir)/bglibs/libbg.so.1.1.1
- dosym ../libbg-sysdeps.so.1.1.1 /usr/$(get_libdir)/bglibs/libbg-sysdeps.so.1.1.1
-
- rm "${ED}"/usr/$(get_libdir)/bglibs/libbg.la || die
- rm "${ED}"/usr/$(get_libdir)/bglibs/libbg-sysdeps.la || die
-
- dodoc ANNOUNCEMENT NEWS README ChangeLog TODO VERSION
- dodoc -r doc/html/
- if use doc; then
- dodoc doc/latex/refman.pdf
- fi
-}
next reply other threads:[~2019-05-17 11:43 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-17 11:43 Stefan Strogin [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-28 13:42 [gentoo-commits] repo/gentoo:master commit in: dev-libs/bglibs/ Arthur Zamarin
2022-10-28 7:17 Sam James
2022-08-28 6:30 WANG Xuerui
2021-07-21 2:22 Yixun Lan
2020-05-21 12:08 Pacho Ramos
2020-04-08 9:53 Agostino Sarubbo
2019-11-04 12:19 Mikle Kolyada
2019-06-27 9:20 Agostino Sarubbo
2019-06-21 11:07 Agostino Sarubbo
2019-06-20 9:31 Mikle Kolyada
2019-06-18 11:43 Agostino Sarubbo
2019-06-06 1:41 Andreas K. Hüttel
2019-05-17 15:29 Stefan Strogin
2019-05-17 11:46 Stefan Strogin
2019-05-17 1:01 Stefan Strogin
2019-05-17 0:46 Stefan Strogin
2019-05-02 20:54 Mikle Kolyada
2019-03-17 10:29 Sergei Trofimovich
2019-03-16 20:14 Sergei Trofimovich
2016-06-13 12:27 Agostino Sarubbo
2016-06-13 12:26 Agostino Sarubbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1558093380.467a494a38a9d1c5b9177ab45912c6a5cf014677.steils@gentoo \
--to=steils@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox