1 |
eva 09/02/28 12:54:12 |
2 |
|
3 |
Added: gnome-user-docs-2.24.2-parallel-make-gdu.patch |
4 |
Log: |
5 |
Bump to 2.24.1-r1. More parallel make fixes, bug #255479 and bug #252163. |
6 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 gnome-extra/gnome-user-docs/files/gnome-user-docs-2.24.2-parallel-make-gdu.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-user-docs/files/gnome-user-docs-2.24.2-parallel-make-gdu.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-user-docs/files/gnome-user-docs-2.24.2-parallel-make-gdu.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: gnome-user-docs-2.24.2-parallel-make-gdu.patch |
15 |
=================================================================== |
16 |
# Fix parallel build issue in gnome-doc-utils makefile |
17 |
# https://bugs.gentoo.org/show_bug.cgi?id=255479 |
18 |
--- a/gnome-doc-utils.make |
19 |
+++ b/gnome-doc-utils.make |
20 |
@@ -251,6 +251,13 @@ _DOC_POFILES = $(if $(DOC_MODULE), |
21 |
.PHONY: po |
22 |
po: $(_DOC_POFILES) |
23 |
|
24 |
+## @ _DOC_MOFILES |
25 |
+## The .mo files used for translating the document |
26 |
+_DOC_MOFILES = $(patsubst %.po,%.mo,$(_DOC_POFILES)) |
27 |
+ |
28 |
+.PHONY: mo |
29 |
+mo: $(_DOC_MOFILES) |
30 |
+ |
31 |
## @ _DOC_LC_MODULES |
32 |
## The top-level documentation files in all other locales |
33 |
_DOC_LC_MODULES = $(if $(DOC_MODULE), \ |
34 |
@@ -311,15 +318,18 @@ $(_DOC_POFILES): |
35 |
$(_xml2po) -e -u $(notdir $@) $$docs); \ |
36 |
fi |
37 |
|
38 |
+$(_DOC_MOFILES): %.mo: %.po |
39 |
+ msgfmt -o $@ $< |
40 |
+ |
41 |
# FIXME: fix the dependancy |
42 |
# FIXME: hook xml2po up |
43 |
-$(_DOC_LC_DOCS) : $(_DOC_POFILES) |
44 |
+$(_DOC_LC_DOCS) : $(_DOC_MOFILES) |
45 |
$(_DOC_LC_DOCS) : $(_DOC_C_DOCS) |
46 |
if ! test -d $(dir $@); then mkdir $(dir $@); fi |
47 |
if [ -f "C/$(notdir $@)" ]; then d="../"; else d="$(_DOC_ABS_SRCDIR)/"; fi; \ |
48 |
(cd $(dir $@) && \ |
49 |
- $(_xml2po) -e -p \ |
50 |
- "$${d}$(dir $@)$(patsubst %/$(notdir $@),%,$@).po" \ |
51 |
+ $(_xml2po) -e -t \ |
52 |
+ "$${d}$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo" \ |
53 |
"$${d}C/$(notdir $@)" > $(notdir $@).tmp && \ |
54 |
cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp) |