Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 398977 - sys-power/powertop-1.13: gettext dependency is not split into libintl/gettext
Summary: sys-power/powertop-1.13: gettext dependency is not split into libintl/gettext
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-15 13:06 UTC by Maxim Kammerer
Modified: 2013-04-28 01:05 UTC (History)
3 users (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 Maxim Kammerer 2012-01-15 13:06:34 UTC
gettext dependency should probably be split into libintl/gettext in
RDEPEND/DEPEND, like in many other packages.
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2012-11-18 17:02:04 UTC
If this meant anything to me I'd do it right now... can someone please tell me what in the world is being suggested here?
Comment 2 Maxim Kammerer 2012-11-18 17:07:13 UTC
Look, e.g., in app-editors/nano-2.3.1-r2:

RDEPEND="nls? ( virtual/libintl )"
DEPEND="nls? ( sys-devel/gettext )"
Comment 3 Maxim Kammerer 2012-12-08 14:06:58 UTC
(In reply to comment #1)
> If this meant anything to me I'd do it right now... can someone please tell
> me what in the world is being suggested here?

Hi, does my previous comment answer your questions? The point is to separate run-time depend on nls (which is typically located in glibc), and build-time dependency on full-blown gettext tools. So instead of having gettext in RDEPEND, we have libintl in RDEPEND and gettext in DEPEND.
Comment 4 Rick Farina (Zero_Chaos) gentoo-dev 2012-12-09 20:50:17 UTC
+  09 Dec 2012; Rick Farina <zerochaos@gentoo.org> -powertop-1.11.ebuild,
+  -powertop-2.0.ebuild, -powertop-2.1-r1.ebuild, -powertop-2.1.ebuild,
+  powertop-2.2-r1.ebuild:
+  fix gettext deps per bug #398977 and clean out old ebuilds


I spoke to a few other devs finally and I believe what you requested makes sense and has been done.  Can't say I fully understand so if I messed up please feel free to reopen and tease me.

Thanks for the report.
Comment 5 Julian Ospald 2012-12-10 17:21:06 UTC
> (In reply to comment #1)
> > If this meant anything to me I'd do it right now... can someone please tell
> > me what in the world is being suggested here?
> 
> Hi, does my previous comment answer your questions? The point is to separate
> run-time depend on nls (which is typically located in glibc), and build-time
> dependency on full-blown gettext tools. So instead of having gettext in
> RDEPEND, we have libintl in RDEPEND and gettext in DEPEND.

is this true for all packages using gettext?
Comment 6 Maxim Kammerer 2012-12-10 17:53:32 UTC
(In reply to comment #5)
> is this true for all packages using gettext?

Not necessarily, since they can potentially use the binaries at runtime. I didn't encounter such packages so far. Maybe @flameeys, who added the virtual originally, knows better.