[gentoo-commits] repo/gentoo:master commit in: app-text/lowdown/, app-text/lowdown/files/

2023-12-15 Thread Patrick McLean
commit: 1c0bf824b3e7cb88813122f988cc7a35cc966751
Author: Patrick McLean  gentoo  org>
AuthorDate: Fri Dec 15 18:45:51 2023 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Dec 15 18:53:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c0bf824

app-text/lowdown: drop 1.0.0, 1.0.1-r1

Signed-off-by: Patrick McLean  gentoo.org>

 app-text/lowdown/Manifest  |  2 -
 .../lowdown/files/lowdown-0.11.1-linking.patch | 37 
 app-text/lowdown/files/lowdown-1.0.1-linking.patch | 45 ---
 app-text/lowdown/lowdown-1.0.0.ebuild  | 45 ---
 app-text/lowdown/lowdown-1.0.1-r1.ebuild   | 67 --
 5 files changed, 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 
fe18db1f3d6dbc4fe0ae33ebcdeb1646b20d6fedd265e29d53475f7931b5b60329a653f9af864a39ff4caa0131751fcb0d94cb9519401a3479ada29bd7b8
-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..
--- 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..
--- 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) 

[gentoo-commits] repo/gentoo:master commit in: app-text/lowdown/, app-text/lowdown/files/

2022-04-01 Thread Patrick McLean
commit: 2c9def4245ae7267224b122d6658cede26315300
Author: Patrick McLean  gentoo  org>
AuthorDate: Sat Apr  2 05:25:27 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Apr  2 05:25:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c9def42

app-text/lowdown: drop 0.8.4-r1, 0.10.0-r1

Signed-off-by: Patrick McLean  gentoo.org>

 app-text/lowdown/Manifest  |  2 -
 .../lowdown-0.10.0-dont-install-static-lib.patch   | 12 -
 .../lowdown/files/lowdown-0.10.0-linking.patch | 42 -
 .../files/lowdown-0.10.0-shared-library.patch  | 53 --
 .../lowdown/files/lowdown-0.8.4-configure.patch| 31 -
 app-text/lowdown/lowdown-0.10.0-r1.ebuild  | 47 ---
 app-text/lowdown/lowdown-0.8.4-r1.ebuild   | 35 --
 7 files changed, 222 deletions(-)

diff --git a/app-text/lowdown/Manifest b/app-text/lowdown/Manifest
index 126601d3a982..97723936e704 100644
--- a/app-text/lowdown/Manifest
+++ b/app-text/lowdown/Manifest
@@ -1,4 +1,2 @@
-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.11.2.tar.gz 576599 BLAKE2B 
579a5257a0c37882c1b5269d8196a974b3ac73be146ba424a129c9421091c462769f065350ede1b8437371141c17c24fa5ac4bdc65f393a92835d6e981c5b181
 SHA512 
f49ba1358a6de9ab792cf1fb7586e0e326b8ba9a153c234079825534cbdc2d10b6af32d5612b11490b97dbd6c0bea10a79752bf1ad7e7d8af871aa20332fed9e
-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
deleted file mode 100644
index 4a120c32ed29..
--- a/app-text/lowdown/files/lowdown-0.10.0-dont-install-static-lib.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-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
deleted file mode 100644
index 1581e94b7c9d..
--- a/app-text/lowdown/files/lowdown-0.10.0-linking.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-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,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.1 $(DESTDIR)$(LIBDIR)
-   $(INSTALL_DATA) lowdown.h $(DESTDIR)$(INCLUDEDIR)
-   for f in $(MANS) ; do \
-   name=`basename $$f .html` ; \
-@@ -271,7 +273,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 

[gentoo-commits] repo/gentoo:master commit in: app-text/lowdown/, app-text/lowdown/files/

2022-03-10 Thread Patrick McLean
commit: 914efad2733b51f620b2615201ff020cc6bb44ef
Author: Patrick McLean  gentoo  org>
AuthorDate: Thu Mar 10 19:40:56 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Mar 10 19:40:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=914efad2

app-text/lowdown: Fix library installation (bug #832797)

Bug: https://bugs.gentoo.org/832797
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick McLean  gentoo.org>

 app-text/lowdown/files/lowdown-0.11.1-linking.patch  | 12 
 .../{lowdown-0.11.1.ebuild => lowdown-0.11.1-r1.ebuild}  |  0
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/app-text/lowdown/files/lowdown-0.11.1-linking.patch 
b/app-text/lowdown/files/lowdown-0.11.1-linking.patch
index 89595d54fb02..2aa5cb1fe58e 100644
--- a/app-text/lowdown/files/lowdown-0.11.1-linking.patch
+++ b/app-text/lowdown/files/lowdown-0.11.1-linking.patch
@@ -1,5 +1,5 @@
 diff --git a/Makefile b/Makefile
-index 7705432..4208e47 100644
+index ccc163d..d148da6 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -173,8 +173,8 @@ installwww: www
@@ -9,11 +9,11 @@ index 7705432..4208e47 100644
 -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)
++  $(CC) -o $@ main.o $(LDADD_MD5) -lm -L. -llowdown $(LDFLAGS)
  
  lowdown-diff: lowdown
ln -f lowdown lowdown-diff
-@@ -183,7 +183,7 @@ liblowdown.a: $(OBJS) $(COMPAT_OBJS)
+@@ -183,10 +183,10 @@ liblowdown.a: $(OBJS) $(COMPAT_OBJS)
$(AR) rs $@ $(OBJS) $(COMPAT_OBJS)
  
  liblowdown.so: $(OBJS) $(COMPAT_OBJS)
@@ -21,7 +21,11 @@ index 7705432..4208e47 100644
 +  $(CC) -shared -o $@.$(LIBVER) $(OBJS) $(COMPAT_OBJS) $(LDFLAGS) 
$(LDADD_MD5) -lm  -Wl,-soname,$@.$(LIBVER)
ln -sf $@.$(LIBVER) $@
  
- install: bins
+-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)

diff --git a/app-text/lowdown/lowdown-0.11.1.ebuild 
b/app-text/lowdown/lowdown-0.11.1-r1.ebuild
similarity index 100%
rename from app-text/lowdown/lowdown-0.11.1.ebuild
rename to app-text/lowdown/lowdown-0.11.1-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: app-text/lowdown/, app-text/lowdown/files/

2021-04-16 Thread Patrick McLean
commit: b9ffc169a189e534b2d7bf0a3820fd3ea6252465
Author: Patrick McLean  sony  com>
AuthorDate: Sat Apr 17 00:51:47 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Apr 17 00:51:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9ffc169

app-text/lowdown: New package

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Patrick McLean  gentoo.org>

 app-text/lowdown/Manifest  |  1 +
 .../lowdown/files/lowdown-0.8.4-configure.patch| 19 +
 app-text/lowdown/lowdown-0.8.4.ebuild  | 33 ++
 app-text/lowdown/metadata.xml  |  8 ++
 4 files changed, 61 insertions(+)

diff --git a/app-text/lowdown/Manifest b/app-text/lowdown/Manifest
new file mode 100644
index 000..ba3e9378cc0
--- /dev/null
+++ b/app-text/lowdown/Manifest
@@ -0,0 +1 @@
+DIST lowdown-0.8.4.tar.gz 520735 BLAKE2B 
dc66b92f285b186ca83b9fad1cccfef9b395233ef56756e9ea9071b5502cd81dc6ce2d67d7ef265dab8953010af0907cd76125cd4442cfbfc2bcf8c63e097809
 SHA512 
cd46ead69ed038bf3ccf848b784327d66c78dd8adbc9ae4bfee660b9b1e52844ac8c7ad0377f8f38a3fee0d2e523f979a22d6b547c7964304accef0951cfca34

diff --git a/app-text/lowdown/files/lowdown-0.8.4-configure.patch 
b/app-text/lowdown/files/lowdown-0.8.4-configure.patch
new file mode 100644
index 000..aaecb129b2a
--- /dev/null
+++ b/app-text/lowdown/files/lowdown-0.8.4-configure.patch
@@ -0,0 +1,19 @@
+diff --git a/configure b/configure
+index d1c16ab..941f185 100755
+--- a/configure
 b/configure
+@@ -92,12 +92,12 @@ LDADD_STATIC=
+ CPPFLAGS=
+ LDFLAGS=
+ DESTDIR=
+-PREFIX="/usr/local"
++PREFIX="/usr"
+ BINDIR=
+ SBINDIR=
+ INCLUDEDIR=
+ LIBDIR=
+-MANDIR=
++MANDIR="/usr/share/man"
+ SHAREDIR=
+ INSTALL="install"
+ INSTALL_PROGRAM=

diff --git a/app-text/lowdown/lowdown-0.8.4.ebuild 
b/app-text/lowdown/lowdown-0.8.4.ebuild
new file mode 100644
index 000..6e601e6125f
--- /dev/null
+++ b/app-text/lowdown/lowdown-0.8.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+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.8.4-configure.patch"
+)
+
+src_configure() {
+   CC="$(tc-getCC)" ./configure || die "./configure failed"
+}
+
+src_test() {
+   emake regress
+}

diff --git a/app-text/lowdown/metadata.xml b/app-text/lowdown/metadata.xml
new file mode 100644
index 000..cee379b1540
--- /dev/null
+++ b/app-text/lowdown/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   chutz...@gentoo.org
+   Patrick McLean
+   
+