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