Bug 1266749
Summary: | Package gedit installs .mo language files in wrong folder /usr/@DATADIRNAME@/locale/ | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | c72578 | ||||||
Component: | gedit | Assignee: | Ray Strode [halfline] <rstrode> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 21 | CC: | pkrul, rstrode | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2015-10-23 12:11:17 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
c72578
2015-09-27 11:36:45 UTC
Created attachment 1080257 [details]
Patch to spec-file
Patch to fix autoreconf not running libtoolize after intltoolize
I see the same undesired /usr/@DATADIRNAME@/locale/ path in the RPM, even after rebuilding. $ rpm -q --queryformat="%{name}-%{version}.%{arch} - %{buildhost} - %{buildtime}\n\n" gedit gedit-3.14.4.x86_64 - buildvm-27.phx2.fedoraproject.org - 1437411979 It can be fixed by adding libtoolize to the %setup section in the gedit.spec file (see proposed patch). Thanks for your patch. I have tested it [1] and the .mo files are installed into the correct folder: locate gedit.mo /usr/share/locale/af/LC_MESSAGES/gedit.mo /usr/share/locale/am/LC_MESSAGES/gedit.mo /usr/share/locale/an/LC_MESSAGES/gedit.mo ... And gedit starts with the language of the currently set locale. However, some manual cleanup is required, to get rid of the previously installed files, e.g. rm /usr/@DATADIRNAME@/ -rf [1] https://copr.fedoraproject.org/coprs/c72578/gedit/ Created attachment 1080354 [details]
Patch to spec-file
Patch to fix autoreconf not running libtoolize after intltoolize, and removing /usr/@DATADIRNAME/ from previous versions.
Hi, Please try the new patch #1080257 which also automates the cleanup from prior versions. I also bumped the release to 2. Cheers, Pieter Hello, patch #1080257 has just been successfully tried. The currently distributed gedit-3.14.4-1.fc21.x86_64 was installed first and afterwards updated to the patched rpm from the copr c72578/gedit The directory /usr/@DATADIRNAME@/ was removed as desired. Thanks, Wolfgang *** This bug has been marked as a duplicate of bug 1258110 *** |