* [gentoo-commits] repo/gentoo:master commit in: app-text/lowdown/files/, app-text/lowdown/
@ 2022-01-29 20:37 Patrick McLean
0 siblings, 0 replies; 6+ messages in thread
From: Patrick McLean @ 2022-01-29 20:37 UTC (permalink / raw
To: gentoo-commits
commit: f105d97dc268c469b1cdc2f503d68ec77007c684
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 29 20:37:00 2022 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Sat Jan 29 20:37:14 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f105d97d
app-text/lowdown: Bump to 0.10.0, install lib (bug #811111)
Closes: https://bugs.gentoo.org/811111
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
app-text/lowdown/Manifest | 1 +
.../lowdown-0.10.0-dont-install-static-lib.patch | 12 +++++
.../lowdown/files/lowdown-0.10.0-linking.patch | 43 ++++++++++++++++++
.../files/lowdown-0.10.0-shared-library.patch | 53 ++++++++++++++++++++++
app-text/lowdown/lowdown-0.10.0.ebuild | 46 +++++++++++++++++++
5 files changed, 155 insertions(+)
diff --git a/app-text/lowdown/Manifest b/app-text/lowdown/Manifest
index ba3e9378cc09..e1d3afdf8827 100644
--- a/app-text/lowdown/Manifest
+++ b/app-text/lowdown/Manifest
@@ -1 +1,2 @@
+DIST lowdown-0.10.0.tar.gz 547397 BLAKE2B 93d87e3aca2466398a625750b928062fbafd26311899e52ddd8264218675e78d30714c920f3331619fcd510a92cc6046401c946f5bd1465d6fd46f26937318ac SHA512 7454e618607628ec0a1649f44f5ec64f8778ecaa151f6aad4984935e297abfe8e84ffc321d3c93cec5d336ff14b6bf9a0ff9054e7363cc58ba708a5b60db9048
DIST lowdown-0.8.4.tar.gz 520735 BLAKE2B dc66b92f285b186ca83b9fad1cccfef9b395233ef56756e9ea9071b5502cd81dc6ce2d67d7ef265dab8953010af0907cd76125cd4442cfbfc2bcf8c63e097809 SHA512 cd46ead69ed038bf3ccf848b784327d66c78dd8adbc9ae4bfee660b9b1e52844ac8c7ad0377f8f38a3fee0d2e523f979a22d6b547c7964304accef0951cfca34
diff --git a/app-text/lowdown/files/lowdown-0.10.0-dont-install-static-lib.patch b/app-text/lowdown/files/lowdown-0.10.0-dont-install-static-lib.patch
new file mode 100644
index 000000000000..4a120c32ed29
--- /dev/null
+++ b/app-text/lowdown/files/lowdown-0.10.0-dont-install-static-lib.patch
@@ -0,0 +1,12 @@
+diff --git a/Makefile b/Makefile
+index f13a364..d013a1c 100644
+--- a/Makefile
++++ b/Makefile
+@@ -153,7 +153,6 @@ install: all
+ $(INSTALL_DATA) lowdown.pc $(DESTDIR)$(LIBDIR)/pkgconfig
+ $(INSTALL_PROGRAM) lowdown $(DESTDIR)$(BINDIR)
+ $(INSTALL_PROGRAM) lowdown-diff $(DESTDIR)$(BINDIR)
+- $(INSTALL_LIB) liblowdown.a $(DESTDIR)$(LIBDIR)
+ $(INSTALL_LIB) liblowdown.so $(DESTDIR)$(LIBDIR)
+ $(INSTALL_DATA) lowdown.h $(DESTDIR)$(INCLUDEDIR)
+ for f in $(MANS) ; do \
diff --git a/app-text/lowdown/files/lowdown-0.10.0-linking.patch b/app-text/lowdown/files/lowdown-0.10.0-linking.patch
new file mode 100644
index 000000000000..e0ab7285e07a
--- /dev/null
+++ b/app-text/lowdown/files/lowdown-0.10.0-linking.patch
@@ -0,0 +1,43 @@
+diff --git a/Makefile b/Makefile
+index d013a1c..c9de4d4 100644
+--- a/Makefile
++++ b/Makefile
+@@ -130,8 +130,8 @@ installwww: www
+ $(INSTALL) -m 0444 lowdown.tar.gz $(WWWDIR)/snapshots
+ $(INSTALL) -m 0444 lowdown.tar.gz.sha512 $(WWWDIR)/snapshots
+
+-lowdown: liblowdown.a main.o
+- $(CC) -o $@ main.o liblowdown.a $(LDFLAGS) $(LDADD_MD5) -lm
++lowdown: liblowdown.so main.o
++ $(CC) -o $@ main.o -L. -llowdown $(LDFLAGS) $(LDADD_MD5) -lm
+
+ lowdown-diff: lowdown
+ ln -f lowdown lowdown-diff
+@@ -141,7 +141,8 @@ liblowdown.a: $(OBJS) $(COMPAT_OBJS)
+
+
+ liblowdown.so: $(OBJS) $(COMPAT_OBJS)
+- $(CC) -shared -o $@ $(OBJS) $(COMPAT_OBJS) $(LDFLAGS)
++ $(CC) -shared -o $@.1 $(OBJS) $(COMPAT_OBJS) $(LDFLAGS) -Wl,-soname,$@.1
++ ln -s $@.1 $@
+
+ install: all
+ mkdir -p $(DESTDIR)$(BINDIR)
+@@ -153,7 +154,7 @@ install: all
+ $(INSTALL_DATA) lowdown.pc $(DESTDIR)$(LIBDIR)/pkgconfig
+ $(INSTALL_PROGRAM) lowdown $(DESTDIR)$(BINDIR)
+ $(INSTALL_PROGRAM) lowdown-diff $(DESTDIR)$(BINDIR)
+- $(INSTALL_LIB) liblowdown.so $(DESTDIR)$(LIBDIR)
++ $(INSTALL_LIB) liblowdown.so.1 $(DESTDIR)$(LIBDIR)
+ $(INSTALL_DATA) lowdown.h $(DESTDIR)$(INCLUDEDIR)
+ for f in $(MANS) ; do \
+ name=`basename $$f .html` ; \
+@@ -271,7 +272,7 @@ main.o: lowdown.h
+
+ clean:
+ rm -f $(OBJS) $(COMPAT_OBJS) main.o
+- rm -f lowdown lowdown-diff liblowdown.a liblowdown.so lowdown.pc
++ rm -f lowdown lowdown-diff liblowdown.a liblowdown.so liblowdown.so.1 lowdown.pc
+ rm -f index.xml diff.xml diff.diff.xml README.xml lowdown.tar.gz.sha512 lowdown.tar.gz
+ rm -f $(PDFS) $(HTMLS) $(THUMBS)
+ rm -f index.latex.aux index.latex.latex index.latex.log index.latex.out
diff --git a/app-text/lowdown/files/lowdown-0.10.0-shared-library.patch b/app-text/lowdown/files/lowdown-0.10.0-shared-library.patch
new file mode 100644
index 000000000000..0adfe762fb57
--- /dev/null
+++ b/app-text/lowdown/files/lowdown-0.10.0-shared-library.patch
@@ -0,0 +1,53 @@
+commit e33536ae131e31adf77d3258c0cdd3da10868534
+Author: Kristaps Dz <kristaps@bsd.lv>
+Date: Thu Nov 4 12:27:21 2021 +0000
+
+ Generate a shared library as well.
+
+ Earlier, the library interface was just moving too quickly. Now, I
+ don't think I'll be changing it much---if at all, unless to add new
+ front-ends.
+
+ References https://github.com/kristapsdz/lowdown/issues/45
+
+diff --git a/Makefile b/Makefile
+index 475f780..f13a364 100644
+--- a/Makefile
++++ b/Makefile
+@@ -118,7 +118,7 @@ REGRESS_ARGS += "--parse-no-autolink"
+ REGRESS_ARGS += "--parse-no-cmark"
+ REGRESS_ARGS += "--parse-no-deflists"
+
+-all: lowdown lowdown-diff lowdown.pc
++all: lowdown lowdown-diff liblowdown.so lowdown.pc
+
+ www: $(HTMLS) $(PDFS) $(THUMBS) lowdown.tar.gz lowdown.tar.gz.sha512
+
+@@ -139,6 +139,10 @@ lowdown-diff: lowdown
+ liblowdown.a: $(OBJS) $(COMPAT_OBJS)
+ $(AR) rs $@ $(OBJS) $(COMPAT_OBJS)
+
++
++liblowdown.so: $(OBJS) $(COMPAT_OBJS)
++ $(CC) -shared -o $@ $(OBJS) $(COMPAT_OBJS) $(LDFLAGS)
++
+ install: all
+ mkdir -p $(DESTDIR)$(BINDIR)
+ mkdir -p $(DESTDIR)$(LIBDIR)/pkgconfig
+@@ -150,6 +154,7 @@ install: all
+ $(INSTALL_PROGRAM) lowdown $(DESTDIR)$(BINDIR)
+ $(INSTALL_PROGRAM) lowdown-diff $(DESTDIR)$(BINDIR)
+ $(INSTALL_LIB) liblowdown.a $(DESTDIR)$(LIBDIR)
++ $(INSTALL_LIB) liblowdown.so $(DESTDIR)$(LIBDIR)
+ $(INSTALL_DATA) lowdown.h $(DESTDIR)$(INCLUDEDIR)
+ for f in $(MANS) ; do \
+ name=`basename $$f .html` ; \
+@@ -267,7 +272,7 @@ main.o: lowdown.h
+
+ clean:
+ rm -f $(OBJS) $(COMPAT_OBJS) main.o
+- rm -f lowdown lowdown-diff liblowdown.a lowdown.pc
++ rm -f lowdown lowdown-diff liblowdown.a liblowdown.so lowdown.pc
+ rm -f index.xml diff.xml diff.diff.xml README.xml lowdown.tar.gz.sha512 lowdown.tar.gz
+ rm -f $(PDFS) $(HTMLS) $(THUMBS)
+ rm -f index.latex.aux index.latex.latex index.latex.log index.latex.out
diff --git a/app-text/lowdown/lowdown-0.10.0.ebuild b/app-text/lowdown/lowdown-0.10.0.ebuild
new file mode 100644
index 000000000000..a38987c1e1aa
--- /dev/null
+++ b/app-text/lowdown/lowdown-0.10.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs flag-o-matic
+
+MY_PV="VERSION_${PV//./_}"
+DESCRIPTION="Markdown translator producing HTML5, roff documents in the ms and man formats"
+HOMEPAGE="https://kristaps.bsd.lv/lowdown/"
+SRC_URI="https://github.com/kristapsdz/lowdown/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="virtual/libcrypt:="
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/lowdown-0.10.0-shared-library.patch"
+ "${FILESDIR}/lowdown-0.10.0-dont-install-static-lib.patch"
+ "${FILESDIR}/lowdown-0.10.0-linking.patch"
+)
+
+src_configure() {
+ append-flags -fPIC
+ tc-export CC AR
+
+ ./configure \
+ PREFIX="/usr" \
+ MANDIR="/usr/share/man" \
+ LDFLAGS="${LDFLAGS}" \
+ CPPFLAGS="${CPPFLAGS}" \
+ LIBDIR="/usr/$(get_libdir)" \
+ || die "./configure failed"
+}
+
+src_compile() {
+ emake $(usex elibc_musl UTF8_LOCALE=C.UTF-8 '')
+}
+
+src_test() {
+ emake regress
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/lowdown/files/, app-text/lowdown/
@ 2022-02-06 4:30 Patrick McLean
0 siblings, 0 replies; 6+ messages in thread
From: Patrick McLean @ 2022-02-06 4:30 UTC (permalink / raw
To: gentoo-commits
commit: 3fb23e1b4ca03f356c8757cfd6c2396bd62d1df2
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 6 04:29:38 2022 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Sun Feb 6 04:30:13 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fb23e1b
app-text/lowdown: Add -lmd to pkgconfig (bug #832590)
Also install lowdown.so symlink
Closes: https://bugs.gentoo.org/832590
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
app-text/lowdown/files/lowdown-0.10.0-linking.patch | 7 +++----
app-text/lowdown/files/lowdown-0.10.0-pkgconfig-libmd.patch | 11 +++++++++++
.../{lowdown-0.10.0.ebuild => lowdown-0.10.0-r1.ebuild} | 1 +
3 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/app-text/lowdown/files/lowdown-0.10.0-linking.patch b/app-text/lowdown/files/lowdown-0.10.0-linking.patch
index e0ab7285e07a..1581e94b7c9d 100644
--- a/app-text/lowdown/files/lowdown-0.10.0-linking.patch
+++ b/app-text/lowdown/files/lowdown-0.10.0-linking.patch
@@ -23,16 +23,15 @@ index d013a1c..c9de4d4 100644
install: all
mkdir -p $(DESTDIR)$(BINDIR)
-@@ -153,7 +154,7 @@ install: all
- $(INSTALL_DATA) lowdown.pc $(DESTDIR)$(LIBDIR)/pkgconfig
+@@ -153,6 +154,7 @@ install: all
$(INSTALL_PROGRAM) lowdown $(DESTDIR)$(BINDIR)
$(INSTALL_PROGRAM) lowdown-diff $(DESTDIR)$(BINDIR)
-- $(INSTALL_LIB) liblowdown.so $(DESTDIR)$(LIBDIR)
+ $(INSTALL_LIB) liblowdown.so $(DESTDIR)$(LIBDIR)
+ $(INSTALL_LIB) liblowdown.so.1 $(DESTDIR)$(LIBDIR)
$(INSTALL_DATA) lowdown.h $(DESTDIR)$(INCLUDEDIR)
for f in $(MANS) ; do \
name=`basename $$f .html` ; \
-@@ -271,7 +272,7 @@ main.o: lowdown.h
+@@ -271,7 +273,7 @@ main.o: lowdown.h
clean:
rm -f $(OBJS) $(COMPAT_OBJS) main.o
diff --git a/app-text/lowdown/files/lowdown-0.10.0-pkgconfig-libmd.patch b/app-text/lowdown/files/lowdown-0.10.0-pkgconfig-libmd.patch
new file mode 100644
index 000000000000..0337f3d68d99
--- /dev/null
+++ b/app-text/lowdown/files/lowdown-0.10.0-pkgconfig-libmd.patch
@@ -0,0 +1,11 @@
+diff --git a/lowdown.in.pc b/lowdown.in.pc
+index 078d0c0..a31aaac 100644
+--- a/lowdown.in.pc
++++ b/lowdown.in.pc
+@@ -9,5 +9,5 @@ URL: https://kristaps.bsd.lv/lowdown
+ Version: @VERSION@
+ Requires:
+ Libs.private:
+-Libs: -L${libdir} -llowdown -lm
++Libs: -L${libdir} -llowdown -lm -lmd
+ Cflags: -I${includedir}
diff --git a/app-text/lowdown/lowdown-0.10.0.ebuild b/app-text/lowdown/lowdown-0.10.0-r1.ebuild
similarity index 95%
rename from app-text/lowdown/lowdown-0.10.0.ebuild
rename to app-text/lowdown/lowdown-0.10.0-r1.ebuild
index a38987c1e1aa..c0a7c32c57ec 100644
--- a/app-text/lowdown/lowdown-0.10.0.ebuild
+++ b/app-text/lowdown/lowdown-0.10.0-r1.ebuild
@@ -22,6 +22,7 @@ PATCHES=(
"${FILESDIR}/lowdown-0.10.0-shared-library.patch"
"${FILESDIR}/lowdown-0.10.0-dont-install-static-lib.patch"
"${FILESDIR}/lowdown-0.10.0-linking.patch"
+ "${FILESDIR}/lowdown-0.10.0-pkgconfig-libmd.patch"
)
src_configure() {
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/lowdown/files/, app-text/lowdown/
@ 2022-03-10 0:24 Patrick McLean
0 siblings, 0 replies; 6+ messages in thread
From: Patrick McLean @ 2022-03-10 0:24 UTC (permalink / raw
To: gentoo-commits
commit: 537bd5f5dea823e71d408e31f1c839891fc8b294
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 10 00:24:38 2022 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Mar 10 00:24:38 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=537bd5f5
app-text/lowdown: Version bump to 0.11.1 (fix #832797)
Closes: https://bugs.gentoo.org/832797
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
app-text/lowdown/Manifest | 1 +
.../lowdown/files/lowdown-0.11.1-linking.patch | 33 ++++++++++++++++
app-text/lowdown/lowdown-0.11.1.ebuild | 45 ++++++++++++++++++++++
3 files changed, 79 insertions(+)
diff --git a/app-text/lowdown/Manifest b/app-text/lowdown/Manifest
index e1d3afdf8827..0a116aa9f30c 100644
--- a/app-text/lowdown/Manifest
+++ b/app-text/lowdown/Manifest
@@ -1,2 +1,3 @@
DIST lowdown-0.10.0.tar.gz 547397 BLAKE2B 93d87e3aca2466398a625750b928062fbafd26311899e52ddd8264218675e78d30714c920f3331619fcd510a92cc6046401c946f5bd1465d6fd46f26937318ac SHA512 7454e618607628ec0a1649f44f5ec64f8778ecaa151f6aad4984935e297abfe8e84ffc321d3c93cec5d336ff14b6bf9a0ff9054e7363cc58ba708a5b60db9048
+DIST lowdown-0.11.1.tar.gz 571320 BLAKE2B 28fe8cb4f164618be602770c602f3ce51c0f0e765fb9869b82cb29c50bdbe0fd92c09c10074d8968108eca59096d7e176531eb56cb2b40f1d9c00a3f944e3b8c SHA512 5a8ca9d731171b97daed7a9095bc4206d2bed9095fa267eb9270782770247743f1a096c5235fd301320418c37a478fbc71552ade105eba0e756ff687835d4efb
DIST lowdown-0.8.4.tar.gz 520735 BLAKE2B dc66b92f285b186ca83b9fad1cccfef9b395233ef56756e9ea9071b5502cd81dc6ce2d67d7ef265dab8953010af0907cd76125cd4442cfbfc2bcf8c63e097809 SHA512 cd46ead69ed038bf3ccf848b784327d66c78dd8adbc9ae4bfee660b9b1e52844ac8c7ad0377f8f38a3fee0d2e523f979a22d6b547c7964304accef0951cfca34
diff --git a/app-text/lowdown/files/lowdown-0.11.1-linking.patch b/app-text/lowdown/files/lowdown-0.11.1-linking.patch
new file mode 100644
index 000000000000..89595d54fb02
--- /dev/null
+++ b/app-text/lowdown/files/lowdown-0.11.1-linking.patch
@@ -0,0 +1,33 @@
+diff --git a/Makefile b/Makefile
+index 7705432..4208e47 100644
+--- a/Makefile
++++ b/Makefile
+@@ -173,8 +173,8 @@ installwww: www
+ $(INSTALL) -m 0444 lowdown.tar.gz $(WWWDIR)/snapshots
+ $(INSTALL) -m 0444 lowdown.tar.gz.sha512 $(WWWDIR)/snapshots
+
+-lowdown: liblowdown.a main.o
+- $(CC) -o $@ main.o liblowdown.a $(LDFLAGS) $(LDADD_MD5) -lm
++lowdown: liblowdown.so main.o
++ $(CC) -o $@ main.o $(LDADD_MD5) -lm -llowdown $(LDFLAGS)
+
+ lowdown-diff: lowdown
+ ln -f lowdown lowdown-diff
+@@ -183,7 +183,7 @@ liblowdown.a: $(OBJS) $(COMPAT_OBJS)
+ $(AR) rs $@ $(OBJS) $(COMPAT_OBJS)
+
+ liblowdown.so: $(OBJS) $(COMPAT_OBJS)
+- $(CC) -shared -o $@.$(LIBVER) $(OBJS) $(COMPAT_OBJS) $(LDFLAGS) $(LDADD_MD5) -Wl,-soname,$@.$(LIBVER)
++ $(CC) -shared -o $@.$(LIBVER) $(OBJS) $(COMPAT_OBJS) $(LDFLAGS) $(LDADD_MD5) -lm -Wl,-soname,$@.$(LIBVER)
+ ln -sf $@.$(LIBVER) $@
+
+ install: bins
+@@ -218,7 +218,7 @@ install_shared: liblowdown.so install_lib_common
+ install_static: liblowdown.a install_lib_common
+ $(INSTALL_LIB) liblowdown.a $(DESTDIR)$(LIBDIR)
+
+-install_libs: install_shared install_static
++install_libs: install_shared
+
+ distcheck: lowdown.tar.gz.sha512
+ mandoc -Tlint -Werror man/*.[135]
diff --git a/app-text/lowdown/lowdown-0.11.1.ebuild b/app-text/lowdown/lowdown-0.11.1.ebuild
new file mode 100644
index 000000000000..203b145ffc66
--- /dev/null
+++ b/app-text/lowdown/lowdown-0.11.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs flag-o-matic
+
+MY_PV="VERSION_${PV//./_}"
+DESCRIPTION="Markdown translator producing HTML5, roff documents in the ms and man formats"
+HOMEPAGE="https://kristaps.bsd.lv/lowdown/"
+SRC_URI="https://github.com/kristapsdz/lowdown/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="virtual/libcrypt:="
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/lowdown-0.10.0-pkgconfig-libmd.patch"
+ "${FILESDIR}/lowdown-0.11.1-linking.patch"
+)
+
+src_configure() {
+ append-flags -fPIC
+ tc-export CC AR
+
+ ./configure \
+ PREFIX="/usr" \
+ MANDIR="/usr/share/man" \
+ LDFLAGS="${LDFLAGS}" \
+ CPPFLAGS="${CPPFLAGS}" \
+ LIBDIR="/usr/$(get_libdir)" \
+ || die "./configure failed"
+}
+
+src_compile() {
+ emake $(usex elibc_musl UTF8_LOCALE=C.UTF-8 '')
+}
+
+src_test() {
+ emake regress
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/lowdown/files/, app-text/lowdown/
@ 2023-04-20 22:03 Patrick McLean
0 siblings, 0 replies; 6+ messages in thread
From: Patrick McLean @ 2023-04-20 22:03 UTC (permalink / raw
To: gentoo-commits
commit: 3c569d19e6c3ae8ca757a60e6e23f050df0389d2
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 20 22:03:41 2023 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Apr 20 22:03:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c569d19
app-text/lowdown: add 1.0.1
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
app-text/lowdown/Manifest | 1 +
app-text/lowdown/files/lowdown-1.0.1-linking.patch | 45 ++++++++++++++
app-text/lowdown/lowdown-1.0.1.ebuild | 68 ++++++++++++++++++++++
3 files changed, 114 insertions(+)
diff --git a/app-text/lowdown/Manifest b/app-text/lowdown/Manifest
index e8087ff30be1..a865f110db26 100644
--- a/app-text/lowdown/Manifest
+++ b/app-text/lowdown/Manifest
@@ -1 +1,2 @@
DIST lowdown-1.0.0.tar.gz 576167 BLAKE2B fec9857ef1110f4767ff6244dcf06fa9c69a56d4b8709217cf05a148757512e2cb8c141b112673f0cffa260d7e2c376b9905bb16092e3f97f97007dcef922bcb SHA512 fe18db1f3d6dbc4fe0ae33ebcdeb1646b20d6fedd265e29d53475f7931b5b60329a653f9af864a39ff4caa0131751fcbffff0d94cb9519401a3479ada29bd7b8
+DIST lowdown-1.0.1.tar.gz 583848 BLAKE2B f0794168f496a3ddd418f27ef0b9bd9fc248f67cabad248ebda0d4b2393efeae083b1de991bf7bd27ff9ae7accd2966b0c69f6bdb54e8a7d7ba1998617de0122 SHA512 ed9fb0162705aa34a69867bd532f22743321e68f93ce0d8909290e2215044d90969e513a772288374d1653eb25336d955dfc8b9394a146cdbe88809bed6ef2f2
diff --git a/app-text/lowdown/files/lowdown-1.0.1-linking.patch b/app-text/lowdown/files/lowdown-1.0.1-linking.patch
new file mode 100644
index 000000000000..26996956ff58
--- /dev/null
+++ b/app-text/lowdown/files/lowdown-1.0.1-linking.patch
@@ -0,0 +1,45 @@
+diff --git a/Makefile b/Makefile
+index 775aef1..c7094f8 100644
+--- a/Makefile
++++ b/Makefile
+@@ -173,11 +173,11 @@ installwww: www
+ $(INSTALL) -m 0444 lowdown.tar.gz $(WWWDIR)/snapshots
+ $(INSTALL) -m 0444 lowdown.tar.gz.sha512 $(WWWDIR)/snapshots
+
+-lowdown: liblowdown.a main.o
+- $(CC) -o $@ main.o liblowdown.a $(LDFLAGS) $(LDADD_MD5) -lm $(LDADD)
++lowdown: liblowdown.so main.o
++ $(CC) -o $@ main.o -L. -llowdown $(LDFLAGS) $(LDADD_MD5) -lm $(LDADD)
+
+ lowdown-diff: lowdown
+- ln -f lowdown lowdown-diff
++ ln -s lowdown lowdown-diff
+
+ liblowdown.a: $(OBJS) $(COMPAT_OBJS)
+ $(AR) rs $@ $(OBJS) $(COMPAT_OBJS)
+@@ -186,14 +186,14 @@ liblowdown.so: $(OBJS) $(COMPAT_OBJS)
+ $(CC) -shared -o $@.$(LIBVER) $(OBJS) $(COMPAT_OBJS) $(LDFLAGS) $(LDADD_MD5) -lm -Wl,${LINKER_SONAME},$@.$(LIBVER) $(LDLIBS)
+ ln -sf $@.$(LIBVER) $@
+
+-install: bins
++install: bins install_libs
+ mkdir -p $(DESTDIR)$(BINDIR)
+ mkdir -p $(DESTDIR)$(MANDIR)/man1
+ mkdir -p $(DESTDIR)$(MANDIR)/man5
+ mkdir -p $(DESTDIR)$(SHAREDIR)/lowdown/odt
+ $(INSTALL_DATA) share/odt/styles.xml $(DESTDIR)$(SHAREDIR)/lowdown/odt
+ $(INSTALL_PROGRAM) lowdown $(DESTDIR)$(BINDIR)
+- $(INSTALL_PROGRAM) lowdown-diff $(DESTDIR)$(BINDIR)
++ ln -s lowdown $(DESTDIR)$(BINDIR)/lowdown-diff
+ for f in $(MAN1S) $(MAN5S) ; do \
+ name=`basename $$f .html` ; \
+ section=$${name##*.} ; \
+@@ -219,7 +219,7 @@ install_shared: liblowdown.so install_lib_common
+ install_static: liblowdown.a install_lib_common
+ $(INSTALL_LIB) liblowdown.a $(DESTDIR)$(LIBDIR)
+
+-install_libs: install_shared install_static
++install_libs: install_shared
+
+ distcheck: lowdown.tar.gz.sha512
+ mandoc -Tlint -Werror man/*.[135]
diff --git a/app-text/lowdown/lowdown-1.0.1.ebuild b/app-text/lowdown/lowdown-1.0.1.ebuild
new file mode 100644
index 000000000000..177c7a8af1d3
--- /dev/null
+++ b/app-text/lowdown/lowdown-1.0.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs flag-o-matic
+
+MY_PV="VERSION_${PV//./_}"
+DESCRIPTION="Markdown translator producing HTML5, roff documents in the ms and man formats"
+HOMEPAGE="https://kristaps.bsd.lv/lowdown/"
+SRC_URI="https://github.com/kristapsdz/lowdown/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="ISC"
+SLOT="0/2"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+DEPEND="
+ virtual/libcrypt:=
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+# configure tests for a bunch of BSD functions on Linux
+QA_CONFIG_IMPL_DECL_SKIP=(
+ crypt_newhash
+ crypt_checkpass
+ warnc
+ errc
+ getexecname
+ getprogname
+ memset_s
+ pledge
+ recallocarray
+ strlcat
+ strlcpy
+ strtonum
+ TAILQ_FOREACH_SAFE
+ unveil
+)
+
+PATCHES=(
+ "${FILESDIR}/lowdown-0.10.0-pkgconfig-libmd.patch"
+ "${FILESDIR}/lowdown-1.0.1-linking.patch"
+)
+
+src_configure() {
+ append-flags -fPIC
+ tc-export CC AR
+
+ ./configure \
+ PREFIX="/usr" \
+ MANDIR="/usr/share/man" \
+ LDFLAGS="${LDFLAGS}" \
+ CPPFLAGS="${CPPFLAGS}" \
+ LIBDIR="/usr/$(get_libdir)" \
+ LDLIBS="-lbsd" \
+ || die "./configure failed"
+}
+
+src_compile() {
+ emake $(usex elibc_musl UTF8_LOCALE=C.UTF-8 '')
+}
+
+src_test() {
+ LD_LIBRARY_PATH="${S}" emake regress
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/lowdown/files/, app-text/lowdown/
@ 2023-11-08 19:15 Patrick McLean
0 siblings, 0 replies; 6+ messages in thread
From: Patrick McLean @ 2023-11-08 19:15 UTC (permalink / raw
To: gentoo-commits
commit: 47c19800a58c623edcb78a3d73834e45190da8a3
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 8 19:14:57 2023 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed Nov 8 19:15:16 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47c19800
app-text/lowdown: add 1.1.0
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
app-text/lowdown/Manifest | 1 +
.../files/lowdown-1.1.0-shared-linking.patch | 45 +++++++++++++++
app-text/lowdown/lowdown-1.1.0.ebuild | 67 ++++++++++++++++++++++
3 files changed, 113 insertions(+)
diff --git a/app-text/lowdown/Manifest b/app-text/lowdown/Manifest
index a865f110db26..354ed952a545 100644
--- a/app-text/lowdown/Manifest
+++ b/app-text/lowdown/Manifest
@@ -1,2 +1,3 @@
DIST lowdown-1.0.0.tar.gz 576167 BLAKE2B fec9857ef1110f4767ff6244dcf06fa9c69a56d4b8709217cf05a148757512e2cb8c141b112673f0cffa260d7e2c376b9905bb16092e3f97f97007dcef922bcb SHA512 fe18db1f3d6dbc4fe0ae33ebcdeb1646b20d6fedd265e29d53475f7931b5b60329a653f9af864a39ff4caa0131751fcbffff0d94cb9519401a3479ada29bd7b8
DIST lowdown-1.0.1.tar.gz 583848 BLAKE2B f0794168f496a3ddd418f27ef0b9bd9fc248f67cabad248ebda0d4b2393efeae083b1de991bf7bd27ff9ae7accd2966b0c69f6bdb54e8a7d7ba1998617de0122 SHA512 ed9fb0162705aa34a69867bd532f22743321e68f93ce0d8909290e2215044d90969e513a772288374d1653eb25336d955dfc8b9394a146cdbe88809bed6ef2f2
+DIST lowdown-1.1.0.tar.gz 599219 BLAKE2B f623399cb41c5eaf180550283c5b2738993563ff30be4cfa1a471df036ed4289057d3f886a7727d85283896fbfe1316e9cc86d32c629cea1fd775af16cf58839 SHA512 b7b788694abf6760ca4abbd8d5d2c226d5406067ebf9b55307f136e1ab373e517fb20187659c09029463872310a5b39a0129842d1bc6b7bd64f2d440390e2676
diff --git a/app-text/lowdown/files/lowdown-1.1.0-shared-linking.patch b/app-text/lowdown/files/lowdown-1.1.0-shared-linking.patch
new file mode 100644
index 000000000000..bdee817b8895
--- /dev/null
+++ b/app-text/lowdown/files/lowdown-1.1.0-shared-linking.patch
@@ -0,0 +1,45 @@
+diff --git a/Makefile b/Makefile
+index 32acb09..552d6d3 100644
+--- a/Makefile
++++ b/Makefile
+@@ -184,11 +184,11 @@ installwww: www
+ $(INSTALL) -m 0444 lowdown.tar.gz $(WWWDIR)/snapshots
+ $(INSTALL) -m 0444 lowdown.tar.gz.sha512 $(WWWDIR)/snapshots
+
+-lowdown: liblowdown.a main.o
+- $(CC) -o $@ main.o liblowdown.a $(LDFLAGS) $(LDADD_MD5) -lm $(LDADD)
++lowdown: liblowdown.so main.o compats.o
++ $(CC) -o $@ main.o compats.o -L. -llowdown $(LDFLAGS) $(LDADD_MD5) -lm $(LDADD)
+
+ lowdown-diff: lowdown
+- ln -f lowdown lowdown-diff
++ ln -s lowdown lowdown-diff
+
+ liblowdown.a: $(OBJS) $(COMPAT_OBJS)
+ $(AR) rs $@ $(OBJS) $(COMPAT_OBJS)
+@@ -206,14 +206,14 @@ uninstall:
+ rm -f $(MANDIR)/man$$section/$$name ; \
+ done
+
+-install: bins
++install: bins install_libs
+ mkdir -p $(DESTDIR)$(BINDIR)
+ mkdir -p $(DESTDIR)$(MANDIR)/man1
+ mkdir -p $(DESTDIR)$(MANDIR)/man5
+ mkdir -p $(DESTDIR)$(SHAREDIR)/lowdown/odt
+ $(INSTALL_DATA) share/odt/styles.xml $(DESTDIR)$(SHAREDIR)/lowdown/odt
+ $(INSTALL_PROGRAM) lowdown $(DESTDIR)$(BINDIR)
+- $(INSTALL_PROGRAM) lowdown-diff $(DESTDIR)$(BINDIR)
++ ln -s lowdown $(DESTDIR)$(BINDIR)/lowdown-diff
+ for f in $(MAN1S) $(MAN5S) ; do \
+ name=`basename $$f .html` ; \
+ section=$${name##*.} ; \
+@@ -256,7 +256,7 @@ install_static: liblowdown.a install_lib_common
+
+ uninstall_libs: uninstall_shared uninstall_static
+
+-install_libs: install_shared install_static
++install_libs: install_shared
+
+ distcheck: lowdown.tar.gz.sha512
+ mandoc -Tlint -Werror man/*.[135]
diff --git a/app-text/lowdown/lowdown-1.1.0.ebuild b/app-text/lowdown/lowdown-1.1.0.ebuild
new file mode 100644
index 000000000000..e196abb00f7a
--- /dev/null
+++ b/app-text/lowdown/lowdown-1.1.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs flag-o-matic
+
+MY_PV="VERSION_${PV//./_}"
+DESCRIPTION="Markdown translator producing HTML5, roff documents in the ms and man formats"
+HOMEPAGE="https://kristaps.bsd.lv/lowdown/"
+SRC_URI="https://github.com/kristapsdz/lowdown/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="ISC"
+SLOT="0/2"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+DEPEND="
+ virtual/libcrypt:=
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+# configure tests for a bunch of BSD functions on Linux
+QA_CONFIG_IMPL_DECL_SKIP=(
+ crypt_newhash
+ crypt_checkpass
+ warnc
+ errc
+ getexecname
+ getprogname
+ memset_s
+ pledge
+ recallocarray
+ strlcat
+ strlcpy
+ strtonum
+ TAILQ_FOREACH_SAFE
+ unveil
+)
+
+PATCHES=(
+ "${FILESDIR}/lowdown-0.10.0-pkgconfig-libmd.patch"
+ "${FILESDIR}/lowdown-1.1.0-shared-linking.patch"
+)
+
+src_configure() {
+ append-flags -fPIC
+ tc-export CC AR
+
+ ./configure \
+ PREFIX="/usr" \
+ MANDIR="/usr/share/man" \
+ LDFLAGS="${LDFLAGS}" \
+ CPPFLAGS="${CPPFLAGS}" \
+ LIBDIR="/usr/$(get_libdir)" \
+ || die "./configure failed"
+}
+
+src_compile() {
+ emake $(usex elibc_musl UTF8_LOCALE=C.UTF-8 '')
+}
+
+src_test() {
+ LD_LIBRARY_PATH="${S}" emake regress
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/lowdown/files/, app-text/lowdown/
@ 2025-02-07 18:27 Patrick McLean
0 siblings, 0 replies; 6+ messages in thread
From: Patrick McLean @ 2025-02-07 18:27 UTC (permalink / raw
To: gentoo-commits
commit: c40c04c2548c24ef1d125af26f1c9305d2648421
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 7 18:27:01 2025 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Feb 7 18:27:25 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c40c04c2
app-text/lowdown: add 2.0.0
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
app-text/lowdown/Manifest | 1 +
.../files/lowdown-2.0.0-shared-linking.patch | 66 +++++++++++++++++++++
app-text/lowdown/lowdown-2.0.0.ebuild | 69 ++++++++++++++++++++++
3 files changed, 136 insertions(+)
diff --git a/app-text/lowdown/Manifest b/app-text/lowdown/Manifest
index 212ef7893275..1b8b28392c1b 100644
--- a/app-text/lowdown/Manifest
+++ b/app-text/lowdown/Manifest
@@ -1,3 +1,4 @@
DIST lowdown-1.1.1.tar.gz 600635 BLAKE2B 39c0a2472ff6b9b3fa2b6d72c1f2d482592976f7b50c1bbaf1965bfbb6d28f22e0a7498bb54087bb83070bd74ea673409be97815f51a0a5a67e980bbfc4e01b2 SHA512 2a69da945a83696480651e8221d73bcb18bac9bc38bb88126ddf73520d2a4ff396dde08a7abf6f550669ec9ba34abdaa186b0980f312fa157371ee754576bb6a
DIST lowdown-1.3.2.tar.gz 670610 BLAKE2B 80238e7c6a27c45d6b3f65fbb9435639db5f424aad28c05a94093c5fab3982b1b05b5c3d779e5f74d8b2e71046301c2e3c0ee83496f44f6b8597cd0b3797eb14 SHA512 9592fd270c61d7e827a0e7885ce5faef545a33e61afa0d4cf4549cf5866d82873b042a9cb4465d7b504c686a7b89c748257c470c3b3ccb1ec6f1203a7e6bf392
DIST lowdown-1.4.0.tar.gz 675327 BLAKE2B 1e734acefe3d293dd6e60f27ff943b484ac99a9e393fd118df09be6dd9671294a91de306393817af9422fec67ed9eda22e2515538b490ac07bdd93ac2e5617e4 SHA512 61b88fc24c9c69a324536bc5cc3edbd453f59945cda264df8751cf361992487081911d3ba6cb04346d5ef451d96a4b56e69a76985849349ef049eca0a098b7ee
+DIST lowdown-2.0.0.tar.gz 675824 BLAKE2B 01df89f7703f3c313b373b0eee2eee86d409a06fe298be6f90cd0198fb84a3eedf8e5ea9c03082797bfa0ff76b28f6c4d032e28f6b1d233af2a988bef46cf689 SHA512 520741453556710ebdd379de2f1b6444c0019ed556e5c9852b1bb8b2cbd5853cf5edb80e65dc9e1d4fabfb028b96af0adf776642ba07aa3af436d4c57e7d7811
diff --git a/app-text/lowdown/files/lowdown-2.0.0-shared-linking.patch b/app-text/lowdown/files/lowdown-2.0.0-shared-linking.patch
new file mode 100644
index 000000000000..6e68260a6225
--- /dev/null
+++ b/app-text/lowdown/files/lowdown-2.0.0-shared-linking.patch
@@ -0,0 +1,66 @@
+diff --git a/Makefile b/Makefile
+index 3b61566..3d0548f 100644
+--- a/Makefile
++++ b/Makefile
+@@ -122,19 +122,6 @@ THUMBS = screen-mandoc.thumb.jpg \
+ screen-groff.thumb.jpg \
+ screen-term.thumb.jpg
+ CFLAGS += -DVERSION=\"$(VERSION)\"
+-# Hack around broken Mac OS X nested sandboxes.
+-# If SANDBOX_INIT_ERROR_IGNORE is set to "always", errors from
+-# sandbox_init() are ignored. If set to anything else, the user must
+-# also set SANDBOX_INIT_ERROR_IGNORE in their environment to ignore
+-# failure.
+-# Has no effect unless HAVE_SANDBOX_INIT is defined.
+-.ifdef SANDBOX_INIT_ERROR_IGNORE
+-.if $(SANDBOX_INIT_ERROR_IGNORE) == "always"
+-CFLAGS += -DSANDBOX_INIT_ERROR_IGNORE=2
+-.else
+-CFLAGS += -DSANDBOX_INIT_ERROR_IGNORE=1
+-.endif
+-.endif
+ # Because the objects will be compiled into a shared library:
+ CFLAGS += -fPIC
+ # To avoid exporting internal functions (lowdown.h has default visibility).
+@@ -171,11 +158,11 @@ installwww: www
+ $(INSTALL) -m 0444 lowdown.tar.gz $(WWWDIR)/snapshots
+ $(INSTALL) -m 0444 lowdown.tar.gz.sha512 $(WWWDIR)/snapshots
+
+-lowdown: liblowdown.a main.o
+- $(CC) -o $@ main.o liblowdown.a $(LDFLAGS) $(LDADD_MD5) -lm $(LDADD)
++lowdown: liblowdown.so main.o compats.o
++ $(CC) -o $@ main.o compats.o -L. -llowdown $(LDFLAGS) $(LDADD_MD5) -lm $(LDADD)
+
+ lowdown-diff: lowdown
+- ln -f lowdown lowdown-diff
++ ln -s lowdown lowdown-diff
+
+ liblowdown.a: $(OBJS) $(COMPAT_OBJS)
+ $(AR) rs $@ $(OBJS) $(COMPAT_OBJS)
+@@ -193,7 +180,7 @@ uninstall:
+ rm -f $(MANDIR)/man$$section/$$name ; \
+ done
+
+-install: bins
++install: bins install_libs
+ mkdir -p $(DESTDIR)$(BINDIR)
+ mkdir -p $(DESTDIR)$(MANDIR)/man1
+ mkdir -p $(DESTDIR)$(MANDIR)/man5
+@@ -208,7 +195,7 @@ install: bins
+ $(INSTALL_DATA) share/ms/* $(DESTDIR)$(SHAREDIR)/lowdown/ms
+ $(INSTALL_DATA) share/odt/* $(DESTDIR)$(SHAREDIR)/lowdown/odt
+ $(INSTALL_PROGRAM) lowdown $(DESTDIR)$(BINDIR)
+- $(INSTALL_PROGRAM) lowdown-diff $(DESTDIR)$(BINDIR)
++ ln -s lowdown $(DESTDIR)$(BINDIR)/lowdown-diff
+ for f in $(MAN1S) $(MAN5S) ; do \
+ name=`basename $$f .html` ; \
+ section=$${name##*.} ; \
+@@ -251,7 +238,7 @@ install_static: liblowdown.a install_lib_common
+
+ uninstall_libs: uninstall_shared uninstall_static
+
+-install_libs: install_shared install_static
++install_libs: install_shared
+
+ distcheck: lowdown.tar.gz.sha512
+ mandoc -Tlint -Werror man/*.[135]
diff --git a/app-text/lowdown/lowdown-2.0.0.ebuild b/app-text/lowdown/lowdown-2.0.0.ebuild
new file mode 100644
index 000000000000..b7265610ed8c
--- /dev/null
+++ b/app-text/lowdown/lowdown-2.0.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs flag-o-matic
+
+MY_PV="VERSION_${PV//./_}"
+DESCRIPTION="Markdown translator producing HTML5, roff documents in the ms and man formats"
+HOMEPAGE="https://kristaps.bsd.lv/lowdown/"
+SRC_URI="https://github.com/kristapsdz/lowdown/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="ISC"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~x86"
+
+DEPEND="
+ virtual/libcrypt:=
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+# configure tests for a bunch of BSD functions on Linux
+QA_CONFIG_IMPL_DECL_SKIP=(
+ crypt_newhash
+ crypt_checkpass
+ warnc
+ errc
+ getexecname
+ getprogname
+ memset_s
+ pledge
+ recallocarray
+ strlcat
+ strlcpy
+ strtonum
+ TAILQ_FOREACH_SAFE
+ unveil
+ arc4random
+ b64_ntop
+)
+
+PATCHES=(
+ "${FILESDIR}/lowdown-0.10.0-pkgconfig-libmd.patch"
+ "${FILESDIR}/lowdown-2.0.0-shared-linking.patch"
+)
+
+src_configure() {
+ append-flags -fPIC
+ tc-export CC AR
+
+ ./configure \
+ PREFIX="${EPREFIX}/usr" \
+ MANDIR="${EPREFIX}/usr/share/man" \
+ LDFLAGS="${LDFLAGS}" \
+ CPPFLAGS="${CPPFLAGS}" \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ || die "./configure failed"
+}
+
+src_compile() {
+ emake $(usex elibc_musl UTF8_LOCALE=C.UTF-8 '')
+}
+
+src_test() {
+ LD_LIBRARY_PATH="${S}" emake regress
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-02-07 18:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-08 19:15 [gentoo-commits] repo/gentoo:master commit in: app-text/lowdown/files/, app-text/lowdown/ Patrick McLean
-- strict thread matches above, loose matches on Subject: below --
2025-02-07 18:27 Patrick McLean
2023-04-20 22:03 Patrick McLean
2022-03-10 0:24 Patrick McLean
2022-02-06 4:30 Patrick McLean
2022-01-29 20:37 Patrick McLean
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox