Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/gtk-doc: gtk-doc-1.24.ebuild ChangeLog gtk-doc-1.23.ebuild
Date: Sat, 30 May 2015 00:40:34
Message-Id: 20150530004031.B17E9A0B@oystercatcher.gentoo.org
1 tetromino 15/05/30 00:40:31
2
3 Modified: ChangeLog
4 Added: gtk-doc-1.24.ebuild
5 Removed: gtk-doc-1.23.ebuild
6 Log:
7 Version bump, fixes missing xml namespace in devhelp2 files. Drop broken 1.23 version.
8
9 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x18E5B6F2D8D5EC8D)
10
11 Revision Changes Path
12 1.219 dev-util/gtk-doc/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gtk-doc/ChangeLog?rev=1.219&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gtk-doc/ChangeLog?rev=1.219&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gtk-doc/ChangeLog?r1=1.218&r2=1.219
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/ChangeLog,v
21 retrieving revision 1.218
22 retrieving revision 1.219
23 diff -u -r1.218 -r1.219
24 --- ChangeLog 17 May 2015 09:38:00 -0000 1.218
25 +++ ChangeLog 30 May 2015 00:40:31 -0000 1.219
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-util/gtk-doc
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/ChangeLog,v 1.218 2015/05/17 09:38:00 pacho Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/ChangeLog,v 1.219 2015/05/30 00:40:31 tetromino Exp $
31 +
32 +*gtk-doc-1.24 (30 May 2015)
33 +
34 + 30 May 2015; Alexandre Rostovtsev <tetromino@g.o>
35 + -gtk-doc-1.23.ebuild, +gtk-doc-1.24.ebuild:
36 + Version bump, fixes missing xml namespace in devhelp2 files. Drop broken 1.23
37 + version.
38
39 *gtk-doc-1.23 (17 May 2015)
40
41
42
43
44 1.1 dev-util/gtk-doc/gtk-doc-1.24.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.24.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.24.ebuild?rev=1.1&content-type=text/plain
48
49 Index: gtk-doc-1.24.ebuild
50 ===================================================================
51 # Copyright 1999-2015 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.24.ebuild,v 1.1 2015/05/30 00:40:31 tetromino Exp $
54
55 EAPI=5
56 GCONF_DEBUG="yes"
57 PYTHON_COMPAT=( python2_7 )
58
59 inherit eutils elisp-common gnome2 python-single-r1 readme.gentoo
60
61 DESCRIPTION="GTK+ Documentation Generator"
62 HOMEPAGE="http://www.gtk.org/gtk-doc/"
63
64 LICENSE="GPL-2 FDL-1.1"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris"
67
68 IUSE="doc emacs highlight vim"
69 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
70
71 # dev-tex/tex4ht blocker needed due bug #315287
72 RDEPEND="
73 >=dev-libs/glib-2.6:2
74 >=dev-lang/perl-5.6
75 >=app-text/openjade-1.3.1
76 dev-libs/libxslt
77 >=dev-libs/libxml2-2.3.6:2
78 ~app-text/docbook-xml-dtd-4.3
79 app-text/docbook-xsl-stylesheets
80 ~app-text/docbook-sgml-dtd-3.0
81 >=app-text/docbook-dsssl-stylesheets-1.40
82 emacs? ( virtual/emacs )
83 highlight? (
84 vim? ( || ( app-editors/vim app-editors/gvim ) )
85 !vim? ( dev-util/source-highlight )
86 )
87 !!<dev-tex/tex4ht-20090611_p1038-r1
88 "
89 DEPEND="${RDEPEND}
90 ~dev-util/gtk-doc-am-${PV}
91 app-text/yelp-tools
92 virtual/pkgconfig
93 "
94
95 pkg_setup() {
96 DOC_CONTENTS="gtk-doc does no longer define global key bindings for Emacs.
97 You may set your own key bindings for \"gtk-doc-insert\" and
98 \"gtk-doc-insert-section\" in your ~/.emacs file."
99 SITEFILE=61${PN}-gentoo.el
100 python-single-r1_pkg_setup
101 }
102
103 src_prepare() {
104 # Always disable fop; it is unreliable enough that gtk-doc upstream
105 # commented it out by default, and if it's autodetected, it causes build
106 # failures in other packages, bug #403165
107 sed -e 's:test -n "@FOP@":test -n "":' \
108 -i gtkdoc-mkpdf.in || die "sed failed"
109
110 # Remove global Emacs keybindings, bug #184588
111 epatch "${FILESDIR}"/${PN}-1.8-emacs-keybindings.patch
112
113 gnome2_src_prepare
114 }
115
116 src_configure() {
117 local myconf
118 if use vim; then
119 myconf="${myconf} $(use_with highlight highlight vim)"
120 else
121 myconf="${myconf} $(use_with highlight highlight source-highlight)"
122 fi
123
124 gnome2_src_configure \
125 --with-xml-catalog="${EPREFIX}"/etc/xml/catalog \
126 ${myconf}
127 }
128
129 src_compile() {
130 gnome2_src_compile
131 use emacs && elisp-compile tools/gtk-doc.el
132 }
133
134 src_install() {
135 gnome2_src_install
136
137 python_fix_shebang "${ED}"/usr/bin/gtkdoc-depscan
138
139 # Don't install those files, they are in gtk-doc-am now
140 rm "${ED}"/usr/share/aclocal/gtk-doc.m4 || die "failed to remove gtk-doc.m4"
141 rm "${ED}"/usr/bin/gtkdoc-rebase || die "failed to remove gtkdoc-rebase"
142
143 if use doc; then
144 docinto doc
145 dodoc doc/*
146 docinto examples
147 dodoc examples/*
148 fi
149
150 if use emacs; then
151 elisp-install ${PN} tools/gtk-doc.el*
152 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
153 readme.gentoo_create_doc
154 fi
155 }
156
157 pkg_postinst() {
158 gnome2_pkg_postinst
159 if use emacs; then
160 elisp-site-regen
161 readme.gentoo_print_elog
162 fi
163 }
164
165 pkg_postrm() {
166 gnome2_pkg_postrm
167 use emacs && elisp-site-regen
168 }