Bug 93568 - txt2regex fix for those not using NLS
|
Bug#:
93568
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: shell-tools@gentoo.org
|
Reported By: rene.rheaume@videotron.qc.ca
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: txt2regex fix for those not using NLS
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-05-22 09:14 0000
|
I provide a patch and a fixed ebuild for txt2regex when NLS support is
disabled.
The patch is applied conditionally when nls in not inside USE.
Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.
Created an attachment (id=59551) [details]
The ebuild
The ebuild also contains a workaround/fix for the <A4> character as described
in README.japanese from the upstream source. Enabled only when cjk is in USE.
Hrm. I don't like this. Upstream have decided not to make nls optional, and I'd
rather not override that for the sake of a few textfiles. It's not like it's
pulling in gettext or anything.
Please look again at the Makefile. The "install" target depends on "mo". The
"mo" target is defined on line 57. On line 62, a line withing the "mo"
instructions, there is a call to msgfmt and msgfmt is provided by gettext. So to
get NLS, one must have gettext.
Meh. Oops. I've included the patch and the cjk fix -- I did them in src_unpack
rather than src_install as per policy. I also added in the gettext dep.
-r1 committed, thanks.