Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/gnome-doc-utils/files: gnome-doc-utils-0.12.2-fhs.patch
Date: Sun, 01 Jun 2008 22:31:02
Message-Id: E1K2w4n-0005MJ-4Y@stork.gentoo.org
1 eva 08/06/01 22:30:57
2
3 Added: gnome-doc-utils-0.12.2-fhs.patch
4 Log:
5 make xml2po FHS compliant, bug #190798.
6 (Portage version: 2.1.5.2)
7
8 Revision Changes Path
9 1.1 app-text/gnome-doc-utils/files/gnome-doc-utils-0.12.2-fhs.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gnome-doc-utils/files/gnome-doc-utils-0.12.2-fhs.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gnome-doc-utils/files/gnome-doc-utils-0.12.2-fhs.patch?rev=1.1&content-type=text/plain
13
14 Index: gnome-doc-utils-0.12.2-fhs.patch
15 ===================================================================
16 diff -urNp gnome-doc-utils-0.12.2-orig/xml2po/Makefile.am gnome-doc-utils-0.12.2-new/xml2po/Makefile.am
17 --- gnome-doc-utils-0.12.2-orig/xml2po/Makefile.am 2008-04-14 22:24:58.000000000 +0530
18 +++ gnome-doc-utils-0.12.2-new/xml2po/Makefile.am 2008-04-14 23:40:00.000000000 +0530
19 @@ -3,8 +3,6 @@ SUBDIRS = modes examples
20 nodist_bin_SCRIPTS = xml2po
21 CLEANFILES = xml2po
22
23 -commondir = $(datadir)/xml2po
24 -
25 pkgconfigdir = $(libdir)/pkgconfig
26 pkgconfig_DATA = xml2po.pc
27
28 @@ -12,7 +10,7 @@ man_MANS = xml2po.1
29
30 xml2po: xml2po.py
31 sed -e "s/^VERSION =.*/VERSION = \"@VERSION@\"/" \
32 - -e "s+^submodes_path =.*+submodes_path = \"$(commondir)\"+" \
33 + -e "s+^submodes_path =.*+submodes_path = \"$(pythondir)/xml2po\"+" \
34 -e "s+^#!.*python.*+#!$(PYTHON)+" \
35 < $(srcdir)/xml2po.py > xml2po
36 chmod +x xml2po
37 diff -urNp gnome-doc-utils-0.12.2-orig/xml2po/modes/Makefile.am gnome-doc-utils-0.12.2-new/xml2po/modes/Makefile.am
38 --- gnome-doc-utils-0.12.2-orig/xml2po/modes/Makefile.am 2008-04-14 22:24:58.000000000 +0530
39 +++ gnome-doc-utils-0.12.2-new/xml2po/modes/Makefile.am 2008-04-14 23:40:00.000000000 +0530
40 @@ -1,4 +1,4 @@
41 -commondir = $(datadir)/xml2po
42 +commondir = $(pythondir)/xml2po
43 common_DATA = docbook.py empty.py gs.py ubuntu.py xhtml.py
44
45 EXTRA_DIST = $(common_DATA)
46 diff -urNp gnome-doc-utils-0.12.2-orig/xml2po/xml2po.pc.in gnome-doc-utils-0.12.2-new/xml2po/xml2po.pc.in
47 --- gnome-doc-utils-0.12.2-orig/xml2po/xml2po.pc.in 2008-04-14 22:24:58.000000000 +0530
48 +++ gnome-doc-utils-0.12.2-new/xml2po/xml2po.pc.in 2008-04-14 23:40:00.000000000 +0530
49 @@ -1,7 +1,7 @@
50 prefix=@prefix@
51 exec_prefix=${prefix}
52 datarootdir=@datarootdir@
53 -modesdir=@datadir@/xml2po
54 +modesdir=@pythondir@/xml2po
55
56 Name: xml2po
57 Description: Tool for translating XML documents
58
59
60
61 --
62 gentoo-commits@l.g.o mailing list