Patch of intltool-update to fix a bug when intltool-update is called with a srcdir env var different from "."
Bug #514295 reported by
Florent Viard
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
intltool |
Fix Released
|
High
|
Данило Шеган |
Bug Description
When we have builddir != srcdir, intltool-update -m exit with an error like:
following files missing from POTFILES.in and POTFILES.skip
me/user/dev/...
where the path is supposed to be /home/user/dev/...
Here is a patch against the source code of the release 0.40.6 to fix that.
I'm sorry for the diff format, but I'm unable to fetch the latest bzr version of the sources because of the deficiencies of bazaar regarding the usage of a proxy...
Changed in intltool: | |
importance: | Undecided → High |
status: | Confirmed → Triaged |
Changed in intltool: | |
milestone: | none → 0.41.1 |
Changed in intltool: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Just ran across this bug which causes make check to fail when building xkeyboard-config with builddir != srcdir
Making check in po jhbuild/ build/xkeyboard -config/ po' /opt/wip/ jhbuild/ git/xkeyboard- config/ po /usr/bin/ intltool- update -m
make[1]: Entering directory `/opt/wip/
rm -f missing notexist
srcdir=
The following files contain translations and are currently not in use. Please
consider adding these to the POTFILES.in file, located in the po/ directory.
t/wip/jhbuild/ git/xkeyboard- config/ po/../rules/ base.extras. xml.in git/xkeyboard- config/ po/../rules/ base.xml. in git/xkeyboard- config/ po/../rules/ evdev.extras. xml.in git/xkeyboard- config/ po/../rules/ evdev.xml. in
t/wip/jhbuild/
t/wip/jhbuild/
t/wip/jhbuild/
Note that the first 3 character of the srcdir pathname ('/op') get removed, even though they aren't '../', which I guess is what the code wants to do.. The above patch fixes the problem for me.