Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314953 - dev-util/intltool must have sys-devel/gettext in RDEPEND
Summary: dev-util/intltool must have sys-devel/gettext in RDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-13 09:52 UTC by Jeremy Guitton
Modified: 2010-07-07 16:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Guitton 2010-04-13 09:52:09 UTC
The runtime dependancy on sys-devel/gettext is missing from the dev-util/intltool ebuild.

Like you can see here (extract from the intltool-update script):

my $XGETTEXT = $ENV{"XGETTEXT"} || "xgettext";
    my $XGETTEXT_ARGS = $ENV{"XGETTEXT_ARGS"} || '';
    chomp $XGETTEXT;

    if (! isGNUGettextTool ("$XGETTEXT"))
    {
	print STDERR " *** GNU xgettext is not found on this system!\n".
		     " *** Without it, intltool-update can not extract strings.\n";
	exit;
    }

--------

my $MSGMERGE = $ENV{"MSGMERGE"} || "msgmerge";
    my ($lang, $outfile) = @_;

    if (! isGNUGettextTool ("$MSGMERGE"))
    {
	print STDERR " *** GNU msgmerge is not found on this system!\n".
		     " *** Without it, intltool-update can not extract strings.\n";
	exit;
    }

--------

my $MSGFMT = $ENV{"MSGFMT"} || "msgfmt";

    if (! isGNUGettextTool ("$MSGFMT"))
    {
	print STDERR " *** GNU msgfmt is not found on this system!\n".
		     " *** Without it, intltool-update can not extract strings.\n";
	exit;
    }

--------

In this case, packages that use intltool for string translation must just have a DEPEND on dev-util/intltool, sys-devel/gettext is not needed, and should be fixed.

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-07-07 16:31:14 UTC
  07 Jul 2010; Samuli Suominen <ssuominen@gentoo.org>
  intltool-0.41.1.ebuild:
  Missing sys-devel/gettext RDEPEND wrt #314953 by Jeremy Guitton.