Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585822 - net-news/newsbeuter: looks for locale files in a wrong place
Summary: net-news/newsbeuter: looks for locale files in a wrong place
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tim Harder
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-06-13 13:01 UTC by Alexander Batischev
Modified: 2016-08-19 16:02 UTC (History)
1 user (show)

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


Attachments
Patch that fixes the problem by passing localedir to compile step (newsbeuter.patch,482 bytes, patch)
2016-06-13 13:01 UTC, Alexander Batischev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Batischev 2016-06-13 13:01:27 UTC
Created attachment 437372 [details, diff]
Patch that fixes the problem by passing localedir to compile step

(I'm a maintainer of Newsbeuter, and also Funtoo user.)

When compiling Newsbeuter, Gentoo doesn't set `localedir` to path where locale files will reside after installation. Since `localedir` value is hard-coded into the binary, installed version can't find locale files.

Please see an attachment for a Git patch that fixes this (made against Funtoo ports as I don't have Gentoo ones—sorry about that.)
Comment 1 Jonas Stein gentoo-dev 2016-06-13 13:47:20 UTC
thank you for report with the patch.
Comment 2 Tim Harder gentoo-dev 2016-08-19 16:02:34 UTC
Fixed in 2.9-r1.