summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/lowdown')
-rw-r--r--app-text/lowdown/Manifest2
-rw-r--r--app-text/lowdown/files/lowdown-0.11.1-linking.patch37
-rw-r--r--app-text/lowdown/files/lowdown-1.0.1-linking.patch45
-rw-r--r--app-text/lowdown/lowdown-1.0.0.ebuild45
-rw-r--r--app-text/lowdown/lowdown-1.0.1-r1.ebuild67
5 files changed, 0 insertions, 196 deletions
diff --git a/app-text/lowdown/Manifest b/app-text/lowdown/Manifest
index 354ed952a545..c01019b38596 100644
--- a/app-text/lowdown/Manifest
+++ b/app-text/lowdown/Manifest
@@ -1,3 +1 @@
-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-0.11.1-linking.patch b/app-text/lowdown/files/lowdown-0.11.1-linking.patch
deleted file mode 100644
index 2aa5cb1fe58e..000000000000
--- a/app-text/lowdown/files/lowdown-0.11.1-linking.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff --git a/Makefile b/Makefile
-index ccc163d..d148da6 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 -L. -llowdown $(LDFLAGS)
-
- lowdown-diff: lowdown
- ln -f lowdown lowdown-diff
-@@ -183,10 +183,10 @@ 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
-+install: bins install_libs
- mkdir -p $(DESTDIR)$(BINDIR)
- mkdir -p $(DESTDIR)$(MANDIR)/man1
- mkdir -p $(DESTDIR)$(MANDIR)/man5
-@@ -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/files/lowdown-1.0.1-linking.patch b/app-text/lowdown/files/lowdown-1.0.1-linking.patch
deleted file mode 100644
index 26996956ff58..000000000000
--- a/app-text/lowdown/files/lowdown-1.0.1-linking.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-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.0.ebuild b/app-text/lowdown/lowdown-1.0.0.ebuild
deleted file mode 100644
index 599195aa0080..000000000000
--- a/app-text/lowdown/lowdown-1.0.0.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# 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"
-KEYWORDS="amd64 ~arm64 ~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
-}
diff --git a/app-text/lowdown/lowdown-1.0.1-r1.ebuild b/app-text/lowdown/lowdown-1.0.1-r1.ebuild
deleted file mode 100644
index 9d1ea4a9509e..000000000000
--- a/app-text/lowdown/lowdown-1.0.1-r1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# 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)" \
- || die "./configure failed"
-}
-
-src_compile() {
- emake $(usex elibc_musl UTF8_LOCALE=C.UTF-8 '')
-}
-
-src_test() {
- LD_LIBRARY_PATH="${S}" emake regress
-}