Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298851 - Dcraw module of www-apps/gallery can not be configured when language is not english
Summary: Dcraw module of www-apps/gallery can not be configured when language is not e...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-29 12:48 UTC by G. Náray
Modified: 2016-02-20 17:42 UTC (History)
0 users

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 G. Náray 2009-12-29 12:48:14 UTC
Dcraw module of www-apps/gallery-2.3 can not be configured when language is not english. I mean, i set locale and such thingies in Gentoo to read everything in Hungarian where possible, and this causes the problem here. When i run dcraw (allowed ~x86 for 8.98-r1 version), it writes the usage in Hungarian for me. However, when Gallery tries to check the version of dcraw, it tries to match the line containing version number, but with english words. Of course the match fails, and i can not configure dcraw in gallery.

Reproducible: Always

Actual Results:  
Dcraw can not be configured in gallery

Expected Results:  
Dcraw is configured in gallery

I can not suggest ideal solution, because dcraw does not have a --version parameter, by which it would tell its version. So Gallery has to find the version number in the usage text.

The problem is in line 89 in file <wwwroot/>gallery/modules/dcraw/classes/DcrawToolkitHelper.class, which is:
	if (preg_match('/Raw [Pp]hoto [Dd]ecoder(?: "dcraw")? v(\S+)/', $verCheck, $matches)) {

And the mentioned line in Hungarian (note that it can be way different in other languages):
Nyers (RAW) fotó dekódoló "dcraw" v8.98
Comment 1 Torsten Stets 2010-09-22 17:31:52 UTC
The last update to the dcraw update is more than half a year old. A lot of new cameras have been added. 
As far as I can tell, using the 8.99 ebuild and renaming it to 9.04 is enough to get latest dcraw installed. 
Comment 2 Torsten Stets 2010-09-22 17:33:45 UTC
Sorry, I confounded my tabs. please ignore my last post. 
Comment 3 Pacho Ramos gentoo-dev 2016-02-20 17:42:14 UTC
removed