Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-editors/gedit: ChangeLog gedit-2.30.4.ebuild
Date: Tue, 28 Sep 2010 20:36:24
Message-Id: 20100928203343.BC58320051@flycatcher.gentoo.org
1 eva 10/09/28 20:33:43
2
3 Modified: ChangeLog
4 Added: gedit-2.30.4.ebuild
5 Log:
6 Version bump. Translation updates, add mallard snippet.
7
8 (Portage version: 2.2_rc88/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.315 app-editors/gedit/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit/ChangeLog?rev=1.315&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit/ChangeLog?rev=1.315&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit/ChangeLog?r1=1.314&r2=1.315
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-editors/gedit/ChangeLog,v
20 retrieving revision 1.314
21 retrieving revision 1.315
22 diff -u -r1.314 -r1.315
23 --- ChangeLog 11 Sep 2010 18:50:12 -0000 1.314
24 +++ ChangeLog 28 Sep 2010 20:33:43 -0000 1.315
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-editors/gedit
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/ChangeLog,v 1.314 2010/09/11 18:50:12 josejx Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/ChangeLog,v 1.315 2010/09/28 20:33:43 eva Exp $
30 +
31 +*gedit-2.30.4 (28 Sep 2010)
32 +
33 + 28 Sep 2010; Gilles Dartiguelongue <eva@g.o> +gedit-2.30.4.ebuild:
34 + Version bump. Translation updates, add mallard snippet.
35
36 11 Sep 2010; Joseph Jezak <josejx@g.o> gedit-2.30.3.ebuild:
37 Marked ppc for bug #324077.
38
39
40
41 1.1 app-editors/gedit/gedit-2.30.4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit/gedit-2.30.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit/gedit-2.30.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gedit-2.30.4.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/gedit-2.30.4.ebuild,v 1.1 2010/09/28 20:33:43 eva Exp $
51
52 GCONF_DEBUG="no"
53 PYTHON_DEPEND="python? 2:2.5"
54
55 inherit gnome2 python eutils
56
57 DESCRIPTION="A text editor for the GNOME desktop"
58 HOMEPAGE="http://www.gnome.org/"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux"
63 IUSE="doc python spell"
64
65 RDEPEND=">=gnome-base/gconf-2
66 >=x11-libs/libSM-1.0
67 >=dev-libs/libxml2-2.5.0
68 >=dev-libs/glib-2.23.1
69 >=x11-libs/gtk+-2.19.0
70 >=x11-libs/gtksourceview-2.9.7
71 spell? (
72 >=app-text/enchant-1.2
73 >=app-text/iso-codes-0.35
74 )
75 python? (
76 >=dev-python/pygobject-2.15.4
77 >=dev-python/pygtk-2.12
78 >=dev-python/pygtksourceview-2.9.2
79 )"
80
81 DEPEND="${RDEPEND}
82 >=sys-devel/gettext-0.17
83 >=dev-util/intltool-0.40
84 >=dev-util/pkgconfig-0.9
85 >=app-text/scrollkeeper-0.3.11
86 >=app-text/gnome-doc-utils-0.9.0
87 ~app-text/docbook-xml-dtd-4.1.2
88 doc? ( >=dev-util/gtk-doc-1 )"
89 # gnome-common and gtk-doc-am needed to eautoreconf
90
91 DOCS="AUTHORS BUGS ChangeLog MAINTAINERS NEWS README"
92
93 if [[ "${ARCH}" == "PPC" ]] ; then
94 # HACK HACK HACK: someone fix this garbage
95 MAKEOPTS="${MAKEOPTS} -j1"
96 fi
97
98 pkg_setup() {
99 G2CONF="${G2CONF}
100 --disable-scrollkeeper
101 --disable-updater
102 $(use_enable python)
103 $(use_enable spell)"
104 }
105
106 src_unpack() {
107 gnome2_src_unpack
108
109 # Do not fail if remote mounting is not supported.
110 epatch "${FILESDIR}/${PN}-2.30.2-tests-skip.patch"
111
112 # disable pyc compiling
113 mv "${S}"/py-compile "${S}"/py-compile.orig
114 ln -s $(type -P true) "${S}"/py-compile
115 }
116
117 src_install() {
118 gnome2_src_install
119
120 # Installed for plugins, but they're dlopen()-ed
121 find "${D}" -name "*.la" -delete || die "remove of la files failed"
122 }
123
124 pkg_postinst() {
125 gnome2_pkg_postinst
126 use python && python_mod_optimize /usr/$(get_libdir)/gedit-2/plugins
127 }
128
129 pkg_postrm() {
130 gnome2_pkg_postrm
131 python_mod_cleanup /usr/$(get_libdir)/gedit-2/plugins
132 }