Debian Patches

Status for gettext/0.21-14

Patch Description Author Forwarded Bugs Origin Last update
01-use-system-help2man.patch Replace embedded help2man scripts with wrappers.
The gettext source code embeds two copies of GNU help2man.
These are several years old as of this writing and may cause
problems, e.g. by not supporting SOURCE_DATE_EPOCH.

This patch replaces them with wrappers that invoke the system
help2man, which has been added to the build-depends.

This patch is not appropriate for upstream, but it would be
reasonable to forward the bug report and ask them to use the
system help2man when available.
Zack Weinberg <zackw@panix.com> no debian vendor 2020-09-27
02-library-dependencies.patch Fix missing library dependencies in **/Makefile.am.
There are many errors in the Makefiles regarding which executables and
libraries need to be linked with which dependency libraries, and which
of automake's magic variables ought to be used to accomplish this.
These errors are latent with the toolchain's default options, but are
exposed by Debian's hardening options.

This is a genuine upstream bug, and this patch could probably serve as
a starting point for an upstream fix, but it probably breaks builds for
Windows (due to wholesale removal of dodgy *_LINK settings), so they would
need to do some more work on it.
Zack Weinberg <zackw@panix.com> no vendor 2020-09-27
03-disable-libtextstyle.patch Completely disable libtextstyle.
libtextstyle is not packaged for Debian and depends on libcroco, which
is unmaintained and has known security bugs. Do not build the
embedded copy, and do not look for any version of it on the system.
Use the Gnulib module libtextstyle-dummy to satisfy the gettext-tools'
use of it; this module is already available in the upstream sources
but needs one (relatively trivial) missing feature added.

This patch is not suitable for upstream. Upstream ought to split
libtextstyle out to its own source tarball and overhaul it to remove
the dependency on libcroco, at which point it could be packaged
normally and gettext could build-depend on it normally, but I suspect
they will not be in any hurry to do this.
Zack Weinberg <zackw@panix.com> no debian vendor 2020-09-27
04-fix-powerpc-ftbfs.patch Fix FTBFS problem in powerpc architectures Bruno Haible <bruno@clisp.org> no debian
05-update-after-gnulib-changed.patch Update after gnulib changed. Bruno Haible <bruno@clisp.org> no debian
06-remove-unportable-tests.patch perror, strerror_r: remove unportable tests Paul Eggert <eggert@cs.ucla.edu> no
07-java-17-support.patch Add support for recent Java versions up to Java 17. Adrian Bunk <bunk@debian.org> no debian 2022-11-19
08-disable-autopoint-3.patch Disable tests/autopoint-3, will be fixed in gettext 0.22.x Santiago Vila <sanvila@debian.org> no debian
09-update-po-mode-1-of-3.patch po-mode: Fix incompatibility with the forthcoming Emacs 29
po-mode: Fix incompatibility with the forthcoming Emacs 29.

Patch by Takesi Ayanokoji <ayanokoji.takesi@gmail.com>.

* gettext-tools/emacs/po-mode.el (po-font-lock-keywords): Use
font-lock-constant-face, introduced in Emacs 20.3, instead of the
long-deprecated font-lock-reference-face.
* NEWS: Mention it.
Bruno Haible <bruno@clisp.org> no debian upstream, https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=f59e9441caa599a4e010f49e7a3480d765e6d315
10-update-po-mode-2-of-3.patch Bump po-mode version
* gettext-tools/emacs/po-mode.el (po-mode-version-string): Bump.
Bruno Haible <bruno@clisp.org> no debian upstream, https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=303a8f98c4e73025addf8ee629db00182585bd43
11-update-po-mode-3-of-3.patch Remove support for Emacs versions < 23
po-mode: Remove support for Emacs versions < 23.

Reported by Julien Palard <julien@palard.fr>
at <https://savannah.gnu.org/bugs/?64748>.

* gettext-tools/emacs/po-mode.el (po-mode-version-string): Bump to 2.29.
(po-buffer-substring, po-match-string, po-with-temp-buffer, po-kill-new,
po-read-event, po-force-mode-line-update): Remove portability polyfills.
(easy-menu-define, format-time-string): Assume present as well.
* gettext-tools/emacs/po-compat.el: Update.
Bruno Haible <bruno@clisp.org> no debian upstream, https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=7797a29e9c05802142fbcb07a9b9890d4e9e61e3

All known versions for source package 'gettext'

Links