[Bug 1688994] Re: dh-translations: cannot build POT without intltool

Sebastien Bacher seb128 at ubuntu.com
Fri Sep 1 11:46:00 UTC 2017


dh_translations does
$domain = $1 if /^GETTEXT_PACKAGE\s*=\s*(\S*)/;

which work for most projects which have a configure.ac with 
GETTEXT_PACKAGE=<domain>
AC_SUBST(GETTEXT_PACKAGE)

but gnome-sudoku has
AC_SUBST([GETTEXT_PACKAGE], [gnome-sudoku])

it should be easy enough to add a case/regexp for that syntax

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pkgbinarymangler in Ubuntu.
https://bugs.launchpad.net/bugs/1688994

Title:
  dh-translations: cannot build POT without intltool

Status in Ubuntu Translations:
  Confirmed
Status in pkgbinarymangler package in Ubuntu:
  Confirmed

Bug description:
  Excerpt from gnome-sudoku 17.04 build log
  -----------------------------------

  dh_translations
  Use of uninitialized value $domain in concatenation (.) or string at /usr/bin/dh_translations line 93.
  Does not use intltool and po/Makefile does not define GETTEXT_PACKAGE, cannot build POT automatically at /usr/bin/dh_translations line 113.

  https://launchpad.net/ubuntu/+source/gnome-
  sudoku/1:3.24.0-0ubuntu1/+build/12150568

  Other Info
  ----------
  GNOME is porting many modules from intltool to use gettext directly

  https://wiki.gnome.org/Initiatives/GnomeGoals/GettextMigration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-translations/+bug/1688994/+subscriptions



More information about the foundations-bugs mailing list