Debian Patches

Status for offpunk/3.0-1

Patch Description Author Forwarded Bugs Origin Last update
xkcdpunk.1-groff-message.patch man/xkcdpunk.1: fix slight misrendering. As initially caught by lintian during Debian packaging quality
assessment, the troff/mdoc engine reports the following issues on
xkcdpunk.1 manual page:
.
$ LC_ALL=C.UTF-8 \
MANROFFSEQ='' \
MANWIDTH=80 \
man --warnings -E UTF-8 -l -Tutf8 -Z man/xkcdpunk.1 \
>/dev/null
troff:<standard input>:19: warning: macro 'doc-list-type-stack0' not defined
mdoc error: .It without preceding .Bl (#19)
troff:<standard input>:19: warning: macro 'doc-' not defined (possibly missing space after 'do')
mdoc warning: extraneous .El call (#21)
mdoc warning: extraneous .El call (#26)
.
The rendering also shows like:
.
Positional arguments
XKCD number. Besides a number, "latest" and "random" are
accepted values. If missing, "latest" is assumed
.
As hinted by mdoc, this is caused by missing .Bl definition. Reusing
the .Bl definition from other manual pages resolves the warnings and
fixes the rendering to look like:
.
Positional arguments
INPUT XKCD number. Besides a number, "latest" and
"random" are accepted values. If missing,
"latest" is assumed
Étienne Mollier <emollier@debian.org> yes 2026-02-11
xkcdpunk.1-typo.patch fix typo caught by lintian. Apparently this is already fixed upstream. Étienne Mollier <emollier@debian.org> not-needed 2026-02-11
offpunk-features.patch offpunk.py: fix --features argument. Running offpunk --features results in the following crash:
.
$ offpunk --features
To render images inline, you need either chafa >= 1.10 or timg > 1.3.2
Traceback (most recent call last):
File "/usr/bin/offpunk", line 8, in <module>
sys.exit(main())
~~~~^^
File "/usr/lib/python3/dist-packages/offpunk.py", line 2501, in main
GeminiClient.do_version(None, None)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/offpunk.py", line 1315, in do_version
output += _("ftr_site_config : ") + str(self.options["ftr_site_config"]) + "\n"
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'options'
.
Interestingly, running the `version` command from the prompt (which
achieves mostly the same thing as --features) works as intended:
.
$ offpunk
To render images inline, you need either chafa >= 1.10 or timg > 1.3.2
Welcome to Offpunk!
Type `help` to get the list of available command.
ON> version
Offpunk 3.0
===========
System: linux
Python: 3.13.12 (main, Feb 4 2026, 15:06:39) [GCC 15.2.0]
Language: C
.
Highly recommended:
- xdg-open : Not Installed
.
Web browsing:
- python-requests : Not Installed
- python-feedparser : Not Installed
- python-bs4 : Not Installed
- python-readability : Not Installed
- timg 1.3.2+ : Not Installed
- chafa 1.10+ : Not Installed
.
Nice to have:
- python-setproctitle : Not Installed
- python-cryptography : Not Installed
- X11 clipboard (xsel or xclip) : Not Installed
- Wayland clipboard (wl-clipboard): Not Installed
.
Features :
- Render images (chafa or timg) : Not Installed
- Render HTML (bs4, readability) : Not Installed
- Render Atom/RSS feeds (feedparser) : Not Installed
- Connect to http/https (requests) : Not Installed
- Detect text encoding (python-chardet) : Not Installed
- restore last position (less 572+) : Installed
.
ftr_site_config : None
Config directory : /home/emollier/.config/offpunk/
User Data directory : /home/emollier/.local/share/offpunk/
Cache directory : /home/emollier/.cache/offpunk/
.
Instantiating a GeminiClient to give a context to the "options"
attribute works around the issue with --features, hence the present
patch proposal, but there may exist cleaner approaches.
Étienne Mollier <emollier@debian.org> yes 2026-02-11
unmerdify-manual.patch manual page for unmerdify. Étienne Mollier <emollier@debian.org> yes 2026-02-11

All known versions for source package 'offpunk'

Links