Package: gettext / 0.21-4

Metadata

Package Version Patches format
gettext 0.21-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01 use system help2man.patch | (download)

gettext-runtime/man/help2man | 800 12 + 788 - 0 !
gettext-tools/man/help2man | 800 12 + 788 - 0 !
2 files changed, 24 insertions(+), 1576 deletions(-)

 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.

02 library dependencies.patch | (download)

gettext-runtime/intl/Makefile.am | 4 3 + 1 - 0 !
gettext-runtime/libasprintf/Makefile.am | 9 1 + 8 - 0 !
gettext-tools/gnulib-lib/Makefile.am | 15 0 + 15 - 0 !
gettext-tools/gnulib-lib/Makefile.gnulib | 9 5 + 4 - 0 !
gettext-tools/intl/Makefile.am | 4 3 + 1 - 0 !
gettext-tools/libgettextpo/Makefile.am | 7 4 + 3 - 0 !
gettext-tools/src/Makefile.am | 131 21 + 110 - 0 !
7 files changed, 37 insertions(+), 142 deletions(-)

 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.

03 disable libtextstyle.patch | (download)

Makefile.am | 3 1 + 2 - 0 !
configure.ac | 4 2 + 2 - 0 !
gettext-tools/Makefile.am | 2 1 + 1 - 0 !
gettext-tools/libgettextpo/textstyle.in.h | 27 26 + 1 - 0 !
gettext-tools/src/Makefile.am | 16 3 + 13 - 0 !
5 files changed, 33 insertions(+), 19 deletions(-)

 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.

04 fix powerpc ftbfs.patch | (download)

gettext-tools/gnulib-lib/float.in.h | 6 6 + 0 - 0 !
gettext-tools/libgettextpo/float.in.h | 6 6 + 0 - 0 !
libtextstyle/lib/float.in.h | 6 6 + 0 - 0 !
3 files changed, 18 insertions(+)

 fix ftbfs problem in powerpc architectures
Bug-Debian: https://bugs.debian.org/977763