Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/devhelp: ChangeLog devhelp-0.21-r1.ebuild devhelp-0.20.ebuild
Date: Sat, 21 Mar 2009 22:13:50
Message-Id: E1Ll9Rs-0001hW-6b@stork.gentoo.org
1 eva 09/03/21 22:13:48
2
3 Modified: ChangeLog
4 Added: devhelp-0.21-r1.ebuild
5 Removed: devhelp-0.20.ebuild
6 Log:
7 Bump to 0.21-r1. Allow to build against libxul, bug #250306. Add a warning for gedit plugin, bug #245235.
8 (Portage version: 2.2_rc25/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.84 dev-util/devhelp/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/devhelp/ChangeLog?rev=1.84&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/devhelp/ChangeLog?rev=1.84&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/devhelp/ChangeLog?r1=1.83&r2=1.84
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/devhelp/ChangeLog,v
20 retrieving revision 1.83
21 retrieving revision 1.84
22 diff -u -r1.83 -r1.84
23 --- ChangeLog 15 Mar 2009 22:03:46 -0000 1.83
24 +++ ChangeLog 21 Mar 2009 22:13:48 -0000 1.84
25 @@ -1,6 +1,14 @@
26 # ChangeLog for dev-util/devhelp
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/devhelp/ChangeLog,v 1.83 2009/03/15 22:03:46 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/devhelp/ChangeLog,v 1.84 2009/03/21 22:13:48 eva Exp $
30 +
31 +*devhelp-0.21-r1 (21 Mar 2009)
32 +
33 + 21 Mar 2009; Gilles Dartiguelongue <eva@g.o>
34 + +files/devhelp-0.21-xulrunner19.patch, -devhelp-0.20.ebuild,
35 + +devhelp-0.21-r1.ebuild:
36 + Bump to 0.21-r1. Allow to build against libxul, bug #250306. Add a warning
37 + for gedit plugin, bug #245235.
38
39 15 Mar 2009; Markus Meier <maekke@g.o> devhelp-0.21.ebuild:
40 x86 stable, bug #260063
41
42
43
44 1.1 dev-util/devhelp/devhelp-0.21-r1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/devhelp/devhelp-0.21-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/devhelp/devhelp-0.21-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: devhelp-0.21-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2009 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-util/devhelp/devhelp-0.21-r1.ebuild,v 1.1 2009/03/21 22:13:48 eva Exp $
54
55 EAPI="2"
56 GCONF_DEBUG="no"
57
58 inherit autotools eutils toolchain-funcs gnome2 python
59
60 DESCRIPTION="An API documentation browser for GNOME 2"
61 HOMEPAGE="http://developer.imendio.com/wiki/Devhelp"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~hppa ~ppc -sparc ~x86"
66 IUSE="zlib"
67
68 RDEPEND=">=gnome-base/gconf-2.6
69 >=x11-libs/gtk+-2.8
70 >=dev-libs/glib-2.8
71 >=gnome-base/libglade-2.4
72 >=x11-libs/libwnck-2.10
73 =net-libs/xulrunner-1.9*
74 zlib? ( sys-libs/zlib )"
75 DEPEND="${RDEPEND}
76 sys-devel/gettext
77 >=dev-util/intltool-0.35.5
78 >=dev-util/pkgconfig-0.9"
79
80 DOCS="AUTHORS ChangeLog NEWS README"
81
82 src_prepare() {
83 # disable pyc compiling
84 mv py-compile py-compile.orig
85 ln -s $(type -P true) py-compile
86
87 # Allow to build against libxul, bug #250306
88 epatch "${FILESDIR}/${P}-xulrunner19.patch"
89
90 eautoreconf
91 }
92
93 pkg_setup() {
94 if has_version app-editors/gedit && \
95 ! built_with_use app-editors/gedit python; then
96 # Add warning per bug #245235
97 ewarn "dev-util/devhelp plugin for app-editors/gedit needs python support"
98 fi
99
100 G2CONF="$(use_with zlib)
101 --with-gecko=libxul
102 --with-gecko-home=/usr/$(get_libdir)/xulrunner-1.9"
103
104 # ICC is crazy, silence warnings (bug #154010)
105 if [[ $(tc-getCC) == "icc" ]] ; then
106 G2CONF="${G2CONF} --with-compile-warnings=no"
107 fi
108 }
109
110 pkg_postinst() {
111 python_version
112 python_mod_optimize /usr/$(get_libdir)/gedit-2/plugins/devhelp
113 }
114
115 pkg_postrm() {
116 python_mod_cleanup
117 }