pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/doclifter
Module Name: pkgsrc
Committed By: wiz
Date: Sat Feb 21 20:18:51 UTC 2026
Modified Files:
pkgsrc/textproc/doclifter: Makefile distinfo
Removed Files:
pkgsrc/textproc/doclifter/patches: patch-aa patch-doclifter.1
patch-manlifter.1
Log Message:
doclifter: update to 2.22.
2.22: 2026-02-21
Converted documentation to asciidoc.
We no longer assume DocBook backends can process ISO entities.
Improved handling of MM header macros.
Code audited and hardened by ChatGPT-5.2.
Documentation is fully spellchecked.
2.21: 2024-02-15
Allow aliasing MTO to URL - happens in some macro boilerplate
Discard \F changes in the title field of .TH
TAPify test machinery.
Drop testing against Python 2
2.20: 2021-09-20
Handle \[en] in NAME sections.
Use modern GCC error-line tags.
Handle groff hex escapes like \\*[u92DC].
Ubuntu has abolished /usr/bin/python, change shebang to python3.
2.19: 2019-03-20
Handle .Bf/.Ef in mdoc.
2.18: 2018-06-12
.in +4/.EX…EE/.in is now translated structurally.
Cope gracefully with some idiosyncracies in OpenSSL library pages.
Recognize new-style pod2man header.
Ignore .Dd $Mdocdate$. Automatically lift 2-digit dates to 4 digits.
Mwww fix to .MTO generation; also, ignore .LINKSTYLE.
In mm, interpret .DS/.DE as informal figure and .FG as a caption element.
Process mdoc .Lk request.
2.17: 2016-03-08
Add role mapping for bold highlights.
Fix list syntax not being terminated by PP.
Fix a bug that caused pages containing PIC diagrams to get clobbered.
Fix a bug introduced in 2.16 that caused spurious failures under Python 2.
Error messages for command and function syntax parse failures have improved.
2.16: 2016-02-25
Code now runs under either Python 2 or Python 3.
Possible input encodings can be specified with the -i option.
Change default output encoding from ISO-8859-1 to UTF-8.
Handle .de co and .de au in NAME sections; the groff suite needs this.
2.15: 2014-06-03
The usual minor improvements for strange edge cases.
Work around bugginess of --postvalid in recent xmllint versions.
Cleanup for new version of pylint.
2.14: 2014-03-18
BSD port fix.
2.13: 2013-09-27
Simplify and improve ntroff expression evaluation.
2.12: 2013-06-17
New logic prevents spurious warnings from .in +N just before .nf.
Many more instances of .ta are now automatically handled.
Multi-file compilation was broken, is now repaired.
2.11: 2013-06-01
W3C moved a math DTD; cope.
Improved .Bl/.El handling and updated canned strings in mdoc.
Accept \(hy in name sections.
Handle  , inadvertently omitted from DocBook v4.
Added -V for version option.
2.10: 2013-03-17
Preserve trailing comments after table rows (example: matherr(3)).
Add support for some previously missing groff extension glyphs.
Improved handling of .Bd/.Be in mdoc.
2.9: 2012-07-30
Handle foojzs pages better. Interpret some cases of .rj.
Recognize "Feature Test" as a function synopsis ender.
Handle m, r and d troff conditionals.
Process .ti with positive indent into <blockquote> around the following line.
Support all mdoc special-character strings.
Improved recognition of program listings.
Fix brown-paper-bag bug in processing of mdoc
2.8: 2012-06-24
Fix a bug in command-synopsis parsing pointed out by Tom Browder
Lifts 97% of 11029 pages in a full Ubuntu Precise Pangolin release.
2.7: 2011-08-23
Improvement for lynxprep handling by Jon Vyse.
2.6: 2010-11-26
Clean up glitches revealed by pychecker. Fix buggy interpretation of ms .AI
macro. Map TBL "box" attribute to Docbook frame="border".
2.5: 2010-10-19
Handle groff \m color extension. Deal gracefully with manpages generated by
reStructuredText. Cope with groff-style \F font escapes better.
Partial interpretation of troff \h.
2.4: 2010-07-22
eqn markup is now handled if the eqn -TMathml switch produces results.
Bell Labs or Berkeley meaning of .P1 is dispatched to depending on
whether .P2 is present. Added -w option for strict portability checking.
Fedora bug 220736 fixed. All troff glyphs are now mapped (added
bracket-pile characters, yogh, hooked-o, and underdot). You are now
warned of sequences that look like glyphs but can’t be mapped.
Table handling for mdoc pages has been much improved. Tests for
requests that can’t be turned into structure are stricter.
Appropriate cases of \o are now translated into Latin-1 and Latin-2
letters with accents. Inline ad-hoc tables made with .ta and
literal tabs are now lifted. Groff extended escapes $* and $@ are
now handled. Speed optimizations so it’s about 30% faster, and a
profiling switch on manlifter. Rudimentary DocBook V5 translation, but
inclusions and character entities are iffy and untested.
Lifts 94% of 11863 pages in a full Ubuntu Lucid Lynx install.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/textproc/doclifter/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/textproc/doclifter/distinfo
cvs rdiff -u -r1.3 -r0 pkgsrc/textproc/doclifter/patches/patch-aa
cvs rdiff -u -r1.1 -r0 pkgsrc/textproc/doclifter/patches/patch-doclifter.1 \
pkgsrc/textproc/doclifter/patches/patch-manlifter.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/doclifter/Makefile
diff -u pkgsrc/textproc/doclifter/Makefile:1.31 pkgsrc/textproc/doclifter/Makefile:1.32
--- pkgsrc/textproc/doclifter/Makefile:1.31 Mon Aug 14 05:25:21 2023
+++ pkgsrc/textproc/doclifter/Makefile Sat Feb 21 20:18:51 2026
@@ -1,33 +1,27 @@
-# $NetBSD: Makefile,v 1.31 2023/08/14 05:25:21 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.32 2026/02/21 20:18:51 wiz Exp $
-DISTNAME= doclifter-2.3
-PKGREVISION= 9
+DISTNAME= doclifter-2.22
CATEGORIES= textproc
-MASTER_SITES= http://catb.org/~esr/doclifter/
+# doesn't provide the distfile for ftp(1)
+MASTER_SITES= # http://catb.org/~esr/doclifter/
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://catb.org/~esr/doclifter/
COMMENT= Translates documents written in troff macros to DocBook
+LICENSE= 2-clause-bsd
+
+USE_TOOLS+= gmake
NO_BUILD= yes
REPLACE_PYTHON= doclifter manlifter
-SUBST_CLASSES+= bin-path
-SUBST_STAGE.bin-path= pre-configure
-SUBST_FILES.bin-path= manlifter
-SUBST_SED.bin-path= -e 's,@@BIN_PATH@@,${PREFIX}/bin,g'
-
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/doclifter ${DESTDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/doclifter.1 \
- ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_SCRIPT} ${WRKSRC}/manlifter ${DESTDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/manlifter.1 \
- ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+MAKE_FLAGS+= PREFIX=${PREFIX}
+MAKE_FLAGS+= DESTDIR=${DESTDIR}
+MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
+
+# https://gitlab.com/esr/doclifter/-/issues/7
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/doclifter/distinfo
diff -u pkgsrc/textproc/doclifter/distinfo:1.16 pkgsrc/textproc/doclifter/distinfo:1.17
--- pkgsrc/textproc/doclifter/distinfo:1.16 Tue Oct 26 11:21:51 2021
+++ pkgsrc/textproc/doclifter/distinfo Sat Feb 21 20:18:51 2026
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.16 2021/10/26 11:21:51 nia Exp $
+$NetBSD: distinfo,v 1.17 2026/02/21 20:18:51 wiz Exp $
-BLAKE2s (doclifter-2.3.tar.gz) = f799d7b33bb13ad30cb0ef8e229c08c84d28db48d47a7575c2845e0d0a1af28b
-SHA512 (doclifter-2.3.tar.gz) = 8120bfdac621822f6fabf8eb7a585695f03acdc74b7238e22f0a83291de0a9b2d5d91994aff740b8f1d8f2653c9e5c8ba462e8b91a1bd30929a77a717decec67
-Size (doclifter-2.3.tar.gz) = 132537 bytes
-SHA1 (patch-aa) = ef13eca669f2b57ca559d631e6067ba290a25bd1
-SHA1 (patch-doclifter.1) = 01c6cc595ccf73fb49e3897008548ad54d17d72f
-SHA1 (patch-manlifter.1) = f6e48940ee0d596f8f915f3d31545963e475e25d
+BLAKE2s (doclifter-2.22.tar.gz) = be8a2e040ccfadce716fb2dc8a423e936f53a6407850c097e6ddae4a70678beb
+SHA512 (doclifter-2.22.tar.gz) = 2b7f93f379783c96c0c05002f3976fb2c136e218b230db6d33b90e1ea7a169299dd94b5a760e5b9b70b6d85cb4e13abea896cf9030f7a8e14bca40a7efa3233a
+Size (doclifter-2.22.tar.gz) = 380157 bytes
Home |
Main Index |
Thread Index |
Old Index