Doesn't support datarootdir

Bug #65063 reported by Scott James Remnant (Canonical)
2
Affects Status Importance Assigned to Milestone
gettext (Ubuntu)
Fix Released
High
Scott James Remnant (Canonical)

Bug Description

Recent autoconf and automake versions use the --dataroot= option to specify a common root directory for data, manpages, translations, etc.

datadir is now defined simply as $datarootdir

This means that any package developed on Ubuntu edgy with the versions of autoconf/automake included there will fail to work correctly with the version of gettext in edgy because it doesn't include Makefiles that support that.

Copies of po/Makefile.in.in and intl/Makefile.in in the gettext-tools and gettext-runtime directory of the gettext source need updating to include the following line before the definition of datadir...

  datarootdir = @datarootdir@

Also the copies of these files in archive.tar.gz need updating as well, but these files are RCS managed and autopoint checks out an older revision so simply checking in a new one isn't sufficient.

Updating to the version in debian unstable would also fix this.

Changed in gettext:
importance: Undecided → High
status: Unconfirmed → Confirmed
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

I've had a go at this, but couldn't get it done cleanly -- Adam fancied some RCS hackery

Changed in gettext:
assignee: nobody → adconrad
Revision history for this message
Adam Conrad (adconrad) wrote :

Adam's RCS hackery proved to be a bit more effort than seems reasonable, given the number of revisions that need to be hacked. I'd probably end up spending several hours in a text editor for this one, which sounds like a waste of time.

Punting back to Scott to explain to us how autotools will love us forever for doing the upstream bump.

Changed in gettext:
assignee: adconrad → keybuk
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Uploaded gettext 0.15, and confirmed that this fixes the problem

Changed in gettext:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.