Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/gtk-doc: gtk-doc-1.16.ebuild ChangeLog
Date: Mon, 17 Jan 2011 12:44:01
Message-Id: 20110117124350.A035E20054@flycatcher.gentoo.org
1 pacho 11/01/17 12:43:50
2
3 Modified: ChangeLog
4 Added: gtk-doc-1.16.ebuild
5 Log:
6 Version bump with a lot of upstream bugfixes and including some of our patches like vim-7.3 fix and highlighter selection.
7
8 (Portage version: 2.1.9.31/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.142 dev-util/gtk-doc/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gtk-doc/ChangeLog?rev=1.142&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gtk-doc/ChangeLog?rev=1.142&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gtk-doc/ChangeLog?r1=1.141&r2=1.142
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/ChangeLog,v
20 retrieving revision 1.141
21 retrieving revision 1.142
22 diff -u -r1.141 -r1.142
23 --- ChangeLog 1 Jan 2011 15:46:35 -0000 1.141
24 +++ ChangeLog 17 Jan 2011 12:43:50 -0000 1.142
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-util/gtk-doc
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/ChangeLog,v 1.141 2011/01/01 15:46:35 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/ChangeLog,v 1.142 2011/01/17 12:43:50 pacho Exp $
30 +
31 +*gtk-doc-1.16 (17 Jan 2011)
32 +
33 + 17 Jan 2011; Pacho Ramos <pacho@g.o> +gtk-doc-1.16.ebuild:
34 + Version bump with a lot of upstream bugfixes and including some of our
35 + patches like vim-7.3 fix and highlighter selection.
36
37 01 Jan 2011; Raúl Porcel <armin76@g.o> gtk-doc-1.15-r2.ebuild:
38 alpha/ia64/m68k/s390/sh/sparc stable wrt #348269
39
40
41
42 1.1 dev-util/gtk-doc/gtk-doc-1.16.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.16.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.16.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gtk-doc-1.16.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.16.ebuild,v 1.1 2011/01/17 12:43:50 pacho Exp $
52
53 EAPI="3"
54 PYTHON_DEPEND="2"
55
56 inherit eutils elisp-common gnome2 python
57
58 DESCRIPTION="GTK+ Documentation Generator"
59 HOMEPAGE="http://www.gtk.org/gtk-doc/"
60
61 LICENSE="GPL-2 FDL-1.1"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~m68k ~mips ~ppc ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
64 IUSE="debug doc emacs highlight vim test"
65
66 # dev-tex/tex4ht blocker needed due bug #315287
67 RDEPEND=">=dev-libs/glib-2.6
68 >=dev-lang/perl-5.6
69 >=app-text/openjade-1.3.1
70 dev-libs/libxslt
71 >=dev-libs/libxml2-2.3.6
72 ~app-text/docbook-xml-dtd-4.3
73 app-text/docbook-xsl-stylesheets
74 ~app-text/docbook-sgml-dtd-3.0
75 >=app-text/docbook-dsssl-stylesheets-1.40
76 emacs? ( virtual/emacs )
77 highlight? (
78 vim? ( app-editors/vim )
79 !vim? ( dev-util/source-highlight )
80 )
81 !!<dev-tex/tex4ht-20090611_p1038-r1"
82
83 DEPEND="${RDEPEND}
84 ~dev-util/gtk-doc-am-${PV}
85 >=dev-util/pkgconfig-0.19
86 >=app-text/scrollkeeper-0.3.14
87 >=app-text/gnome-doc-utils-0.3.2
88 test? ( app-text/scrollkeeper-dtd )"
89
90 SITEFILE=61${PN}-gentoo.el
91
92 pkg_setup() {
93 DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README TODO"
94 if use vim; then
95 G2CONF="${G2CONF} $(use_with highlight highlight vim)"
96 else
97 G2CONF="${G2CONF} $(use_with highlight highlight source-highlight)"
98 fi
99 python_set_active_version 2
100 }
101
102 src_prepare() {
103 gnome2_src_prepare
104
105 # Remove global Emacs keybindings.
106 epatch "${FILESDIR}/${PN}-1.8-emacs-keybindings.patch"
107 }
108
109 src_compile() {
110 gnome2_src_compile
111
112 use emacs && elisp-compile tools/gtk-doc.el
113 }
114
115 src_install() {
116 gnome2_src_install
117
118 python_convert_shebangs 2 "${ED}"/usr/bin/gtkdoc-depscan
119
120 # Don't install those files, they are in gtk-doc-am now
121 rm "${ED}"/usr/share/aclocal/gtk-doc.m4 || die "failed to remove gtk-doc.m4"
122 rm "${ED}"/usr/bin/gtkdoc-rebase || die "failed to remove gtkdoc-rebase"
123
124 if use doc; then
125 docinto doc
126 dodoc doc/* || die
127 docinto examples
128 dodoc examples/* || die
129 fi
130
131 if use emacs; then
132 elisp-install ${PN} tools/gtk-doc.el*
133 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
134 fi
135 }
136
137 pkg_postinst() {
138 if use emacs; then
139 elisp-site-regen
140 elog "gtk-doc does no longer define global key bindings for Emacs."
141 elog "You may set your own key bindings for \"gtk-doc-insert\" and"
142 elog "\"gtk-doc-insert-section\" in your ~/.emacs file."
143 fi
144 }
145
146 pkg_postrm() {
147 use emacs && elisp-site-regen
148 }