summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-text/gnome-doc-utils/ChangeLog9
-rw-r--r--app-text/gnome-doc-utils/Manifest10
-rw-r--r--app-text/gnome-doc-utils/files/gnome-doc-utils-0.12.2-fhs.patch42
-rw-r--r--app-text/gnome-doc-utils/gnome-doc-utils-0.12.2-r1.ebuild55
4 files changed, 111 insertions, 5 deletions
diff --git a/app-text/gnome-doc-utils/ChangeLog b/app-text/gnome-doc-utils/ChangeLog
index 34a9f8663508..2af76e574de8 100644
--- a/app-text/gnome-doc-utils/ChangeLog
+++ b/app-text/gnome-doc-utils/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-text/gnome-doc-utils
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/gnome-doc-utils/ChangeLog,v 1.105 2008/05/29 15:54:17 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/gnome-doc-utils/ChangeLog,v 1.106 2008/06/01 22:30:56 eva Exp $
+
+*gnome-doc-utils-0.12.2-r1 (01 Jun 2008)
+
+ 01 Jun 2008; Gilles Dartiguelongue <eva@gentoo.org>
+ +files/gnome-doc-utils-0.12.2-fhs.patch,
+ +gnome-doc-utils-0.12.2-r1.ebuild:
+ make xml2po FHS compliant, bug #190798.
29 May 2008; Ali Polatel <hawking@gentoo.org>
gnome-doc-utils-0.10.3.ebuild, gnome-doc-utils-0.12.0.ebuild,
diff --git a/app-text/gnome-doc-utils/Manifest b/app-text/gnome-doc-utils/Manifest
index 71f477de8fa2..4690b2981848 100644
--- a/app-text/gnome-doc-utils/Manifest
+++ b/app-text/gnome-doc-utils/Manifest
@@ -1,6 +1,7 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX gnome-doc-utils-0.12.2-fhs.patch 1776 RMD160 b403ff0b93ac1a99188f01f54e6656dc557526a1 SHA1 0329ebe4f45506cf0f430b29d34a4ff53b5c7a74 SHA256 a9bd1dd952aaa991fdb8f60d9ced7c090a3dc223fc8ae8a115e562f7c5c10684
DIST gnome-doc-utils-0.10.3.tar.bz2 451981 RMD160 5c6b13873c06e98925e2a1a10aeceba3a06d1c06 SHA1 0136b049a7e36bb245e11da13f48c4246029d148 SHA256 19b5b4425bc578af8a1c58b61f1b9a416743d0b1fae3356cd9a0071f1f66632c
DIST gnome-doc-utils-0.12.0.tar.bz2 592073 RMD160 3ac9b6f04163ba2581b048282f64558f608ca44d SHA1 e20c74ad415b9ddfdf6c8d663e22bf27c0b939c4 SHA256 6bb8ec068558e380aff1e3f0aa130b52161ad68f8d495fce45c55783bbba9076
DIST gnome-doc-utils-0.12.1.tar.bz2 595555 RMD160 9ddcf49c8e455163a6cd780658f35b6ea64afdaf SHA1 ee22a56fe9e57ac5a75542d35bc2ed950d0ee369 SHA256 4fdfad6319bfed873bb1f92c413cf3e6dab0cc60607a6b2646288d3e2e205556
@@ -8,13 +9,14 @@ DIST gnome-doc-utils-0.12.2.tar.bz2 595150 RMD160 79f204f78edbe44c5cb17163096730
EBUILD gnome-doc-utils-0.10.3.ebuild 1124 RMD160 d790dbecf6eaed8969581b660966416f70386571 SHA1 2c418da2e4ce0781570924fbec59d363db71714d SHA256 fa1b1aaca78c85c3997f14c6e4b33b97eb826d2bc67d66b6f235ddc2f6e0f0bd
EBUILD gnome-doc-utils-0.12.0.ebuild 1125 RMD160 b8256202f63cca8a3d79fb7facd2fc85459c9100 SHA1 33b7c51425ed479d18e51241c21aa743a03c75b3 SHA256 5224093dd044cce1546cbf8a01538cd818dade5aae9c29831b038b920403ecf6
EBUILD gnome-doc-utils-0.12.1.ebuild 1229 RMD160 2974e2ff59a679cd93680bdd774f48a064c95240 SHA1 76f53b77bc5fb78f5cef72f940cd5e9e176679d3 SHA256 6c4c5b8cd2c95695182d4c8f798ea60527f6e9a6f7ac5df73dba2c3ca4bca071
+EBUILD gnome-doc-utils-0.12.2-r1.ebuild 1393 RMD160 75a6f8a6a89a545deac7dcef99ddbc512f2c2e9a SHA1 edc0de173384611118a324e74d2fddca5ae36294 SHA256 b0674678b568b7a1eaa30b322eb32f1d8b4d5f3c5418a5deda5d99f0198eb0cf
EBUILD gnome-doc-utils-0.12.2.ebuild 1236 RMD160 a2952a8edff6b38ddf755338c7e1126da9d2fdb8 SHA1 accb2934ee06e63c55f67c8cb5046c9a7bffb025 SHA256 a9e1a84d4cff0a23f0cee3b2c107e53d8287b5542b795bc8b417dffe696ef463
-MISC ChangeLog 13571 RMD160 13c569bf71d489a928aeea1be68786ddab7c43ae SHA1 67bcd77ee9359e79ad3246603aa3ba8f3c44296a SHA256 08737a8d2aaeadbd3450e58b2d6dbebb418677d8474fc272523eb4fe87bfeeba
+MISC ChangeLog 13786 RMD160 c27888a7a5c14bfab78b7a834af6467c76adacd7 SHA1 b20ade9bec45b1b73706a1257fc3260b8e955bec SHA256 feede6b3ac0051fa2505f60c5671e5f59efb1216899a2cc2c6ea1ef454e35add
MISC metadata.xml 180 RMD160 d5c2834323dbbb0fe95852a38d96f612f4fa5272 SHA1 ec8a7e682c2f7e2ac91ac2cb0c9a534e26a9a211 SHA256 7e56e5abb3b36de1c42bbb9e6b415baf540373a30426cabe655b4458bd864823
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkg+0awACgkQQU4yORhF8iA7CQCdF+BYIMCP9XEYiiCPHgaglSLU
-SEYAoKlL1wP+5Q8wTRTCncKYQGf4RM56
-=bvhj
+iEYEARECAAYFAkhDIzcACgkQ1fmVwcYIWAbNGQCffbBxc/78up5IK3N8VUAKhZaQ
+EiEAoM0rmh/2Jf75RxH2Hv+mB0gNtbpq
+=D7Hk
-----END PGP SIGNATURE-----
diff --git a/app-text/gnome-doc-utils/files/gnome-doc-utils-0.12.2-fhs.patch b/app-text/gnome-doc-utils/files/gnome-doc-utils-0.12.2-fhs.patch
new file mode 100644
index 000000000000..7e977a8f82ef
--- /dev/null
+++ b/app-text/gnome-doc-utils/files/gnome-doc-utils-0.12.2-fhs.patch
@@ -0,0 +1,42 @@
+diff -urNp gnome-doc-utils-0.12.2-orig/xml2po/Makefile.am gnome-doc-utils-0.12.2-new/xml2po/Makefile.am
+--- gnome-doc-utils-0.12.2-orig/xml2po/Makefile.am 2008-04-14 22:24:58.000000000 +0530
++++ gnome-doc-utils-0.12.2-new/xml2po/Makefile.am 2008-04-14 23:40:00.000000000 +0530
+@@ -3,8 +3,6 @@ SUBDIRS = modes examples
+ nodist_bin_SCRIPTS = xml2po
+ CLEANFILES = xml2po
+
+-commondir = $(datadir)/xml2po
+-
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = xml2po.pc
+
+@@ -12,7 +10,7 @@ man_MANS = xml2po.1
+
+ xml2po: xml2po.py
+ sed -e "s/^VERSION =.*/VERSION = \"@VERSION@\"/" \
+- -e "s+^submodes_path =.*+submodes_path = \"$(commondir)\"+" \
++ -e "s+^submodes_path =.*+submodes_path = \"$(pythondir)/xml2po\"+" \
+ -e "s+^#!.*python.*+#!$(PYTHON)+" \
+ < $(srcdir)/xml2po.py > xml2po
+ chmod +x xml2po
+diff -urNp gnome-doc-utils-0.12.2-orig/xml2po/modes/Makefile.am gnome-doc-utils-0.12.2-new/xml2po/modes/Makefile.am
+--- gnome-doc-utils-0.12.2-orig/xml2po/modes/Makefile.am 2008-04-14 22:24:58.000000000 +0530
++++ gnome-doc-utils-0.12.2-new/xml2po/modes/Makefile.am 2008-04-14 23:40:00.000000000 +0530
+@@ -1,4 +1,4 @@
+-commondir = $(datadir)/xml2po
++commondir = $(pythondir)/xml2po
+ common_DATA = docbook.py empty.py gs.py ubuntu.py xhtml.py
+
+ EXTRA_DIST = $(common_DATA)
+diff -urNp gnome-doc-utils-0.12.2-orig/xml2po/xml2po.pc.in gnome-doc-utils-0.12.2-new/xml2po/xml2po.pc.in
+--- gnome-doc-utils-0.12.2-orig/xml2po/xml2po.pc.in 2008-04-14 22:24:58.000000000 +0530
++++ gnome-doc-utils-0.12.2-new/xml2po/xml2po.pc.in 2008-04-14 23:40:00.000000000 +0530
+@@ -1,7 +1,7 @@
+ prefix=@prefix@
+ exec_prefix=${prefix}
+ datarootdir=@datarootdir@
+-modesdir=@datadir@/xml2po
++modesdir=@pythondir@/xml2po
+
+ Name: xml2po
+ Description: Tool for translating XML documents
diff --git a/app-text/gnome-doc-utils/gnome-doc-utils-0.12.2-r1.ebuild b/app-text/gnome-doc-utils/gnome-doc-utils-0.12.2-r1.ebuild
new file mode 100644
index 000000000000..2691d1e66ae3
--- /dev/null
+++ b/app-text/gnome-doc-utils/gnome-doc-utils-0.12.2-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/gnome-doc-utils/gnome-doc-utils-0.12.2-r1.ebuild,v 1.1 2008/06/01 22:30:56 eva Exp $
+
+inherit autotools eutils python gnome2
+
+DESCRIPTION="A collection of documentation utilities for the Gnome project"
+HOMEPAGE="http://www.gnome.org/"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=dev-libs/libxml2-2.6.12
+ >=dev-libs/libxslt-1.1.8
+ >=dev-lang/python-2"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ >=dev-util/intltool-0.35
+ >=dev-util/pkgconfig-0.9
+ ~app-text/docbook-xml-dtd-4.4"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+src_unpack() {
+ gnome2_src_unpack
+
+ # Make xml2po FHS compliant, bug #
+ epatch "${FILESDIR}/${P}-fhs.patch"
+ eautomake
+
+ # Fix LINGUAS
+ intltoolize --force || die "intltoolize failed"
+}
+
+pkg_setup() {
+ G2CONF="--disable-scrollkeeper"
+
+ if ! built_with_use dev-libs/libxml2 python; then
+ eerror "Please re-emerge dev-libs/libxml2 with the python use flag set"
+ die "dev-libs/libxml2 needs python use flag"
+ fi
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_optimize /usr/lib/python${PYVER}/site-packages/xml2po
+ gnome2_pkg_postinst
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/lib/python*/site-packages/xml2po
+ gnome2_pkg_postrm
+}