1 |
mrpouet 10/02/16 20:06:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gtk-doc-1.13-r1.ebuild |
5 |
Log: |
6 |
Import two patches from upstream: touch MODULE-overrides.txt when missing in gtkdoc-scan, be compatible with old versions of gtk-doc in fixxref. Per bug #305191, thanks to Kacper Kowalik. |
7 |
(Portage version: 2.2_rc62/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.116 dev-util/gtk-doc/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/gtk-doc/ChangeLog?rev=1.116&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/gtk-doc/ChangeLog?rev=1.116&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/gtk-doc/ChangeLog?r1=1.115&r2=1.116 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/ChangeLog,v |
19 |
retrieving revision 1.115 |
20 |
retrieving revision 1.116 |
21 |
diff -u -r1.115 -r1.116 |
22 |
--- ChangeLog 14 Feb 2010 22:23:40 -0000 1.115 |
23 |
+++ ChangeLog 16 Feb 2010 20:06:54 -0000 1.116 |
24 |
@@ -1,6 +1,16 @@ |
25 |
# ChangeLog for dev-util/gtk-doc |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/ChangeLog,v 1.115 2010/02/14 22:23:40 eva Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/ChangeLog,v 1.116 2010/02/16 20:06:54 mrpouet Exp $ |
29 |
+ |
30 |
+*gtk-doc-1.13-r1 (16 Feb 2010) |
31 |
+ |
32 |
+ 16 Feb 2010; Romain Perier <mrpouet@g.o> |
33 |
+ +gtk-doc-1.13-r1.ebuild, |
34 |
+ +files/gtk-doc-1.13-fixxref-compat.patch, |
35 |
+ +files/gtk-doc-1.13-scan-touch-module-overrides.patch: |
36 |
+ Import two patches from upstream: touch MODULE-overrides.txt when missing |
37 |
+ in gtkdoc-scan, be compatible with old versions of gtk-doc in fixxref. Per |
38 |
+ bug #305191, thanks to Kacper Kowalik. |
39 |
|
40 |
*gtk-doc-1.13 (14 Feb 2010) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 dev-util/gtk-doc/gtk-doc-1.13-r1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.13-r1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.13-r1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: gtk-doc-1.13-r1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.13-r1.ebuild,v 1.1 2010/02/16 20:06:54 mrpouet Exp $ |
55 |
|
56 |
EAPI="2" |
57 |
|
58 |
inherit eutils elisp-common gnome2 |
59 |
|
60 |
DESCRIPTION="GTK+ Documentation Generator" |
61 |
HOMEPAGE="http://www.gtk.org/gtk-doc/" |
62 |
|
63 |
LICENSE="GPL-2 FDL-1.1" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
66 |
IUSE="debug doc emacs test" |
67 |
|
68 |
RDEPEND=">=dev-libs/glib-2.6 |
69 |
>=dev-lang/perl-5.6 |
70 |
>=app-text/openjade-1.3.1 |
71 |
dev-libs/libxslt |
72 |
>=dev-libs/libxml2-2.3.6 |
73 |
~app-text/docbook-xml-dtd-4.3 |
74 |
app-text/docbook-xsl-stylesheets |
75 |
~app-text/docbook-sgml-dtd-3.0 |
76 |
>=app-text/docbook-dsssl-stylesheets-1.40 |
77 |
emacs? ( virtual/emacs )" |
78 |
|
79 |
DEPEND="${RDEPEND} |
80 |
~dev-util/gtk-doc-am-${PV} |
81 |
>=dev-util/pkgconfig-0.19 |
82 |
>=app-text/scrollkeeper-0.3.14 |
83 |
>=app-text/gnome-doc-utils-0.3.2 |
84 |
test? ( app-text/scrollkeeper-dtd )" |
85 |
|
86 |
SITEFILE=61${PN}-gentoo.el |
87 |
|
88 |
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README TODO" |
89 |
|
90 |
src_prepare() { |
91 |
gnome2_src_prepare |
92 |
|
93 |
# Remove global Emacs keybindings. |
94 |
epatch "${FILESDIR}/${PN}-1.8-emacs-keybindings.patch" |
95 |
|
96 |
# gtk-doc.make puts $(DOC_MODULE)-overrides.txt in EXTRA_DIST, |
97 |
# so this file must exist to be able to "make dist". |
98 |
# fix bug #305191, upstream ##590625. |
99 |
epatch "${FILESDIR}/${P}-scan-touch-module-overrides.patch" |
100 |
# This restores a compatible behavior with previous versions of gtk-doc, |
101 |
# which is required by many tarballs, fix bug #305191, upstream #605211 |
102 |
epatch "${FILESDIR}/${P}-fixxref-compat.patch" |
103 |
} |
104 |
|
105 |
src_compile() { |
106 |
gnome2_src_compile |
107 |
|
108 |
use emacs && elisp-compile tools/gtk-doc.el |
109 |
} |
110 |
|
111 |
src_install() { |
112 |
gnome2_src_install |
113 |
|
114 |
# Don't install those files, they are in gtk-doc-am now |
115 |
rm "${D}"/usr/share/aclocal/gtk-doc.m4 || die "failed to remove gtk-doc.m4" |
116 |
rm "${D}"/usr/bin/gtkdoc-rebase || die "failed to remove gtkdoc-rebase" |
117 |
|
118 |
if use doc; then |
119 |
docinto doc |
120 |
dodoc doc/* |
121 |
docinto examples |
122 |
dodoc examples/* |
123 |
fi |
124 |
|
125 |
if use emacs; then |
126 |
elisp-install ${PN} tools/gtk-doc.el* |
127 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
128 |
fi |
129 |
} |
130 |
|
131 |
pkg_postinst() { |
132 |
if use emacs; then |
133 |
elisp-site-regen |
134 |
elog "gtk-doc does no longer define global key bindings for Emacs." |
135 |
elog "You may set your own key bindings for \"gtk-doc-insert\" and" |
136 |
elog "\"gtk-doc-insert-section\" in your ~/.emacs file." |
137 |
fi |
138 |
} |
139 |
|
140 |
pkg_postrm() { |
141 |
use emacs && elisp-site-regen |
142 |
} |