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: gedit-3.2.5.ebuild ChangeLog gedit-3.2.1.ebuild
Date: Wed, 21 Dec 2011 23:01:08
Message-Id: 20111221230058.8E02A20034@flycatcher.gentoo.org
1 eva 11/12/21 23:00:58
2
3 Modified: ChangeLog
4 Added: gedit-3.2.5.ebuild
5 Removed: gedit-3.2.1.ebuild
6 Log:
7 Version bump. Clean up old revision.
8
9 (Portage version: 2.2.0_alpha80/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.332 app-editors/gedit/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit/ChangeLog?rev=1.332&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit/ChangeLog?rev=1.332&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit/ChangeLog?r1=1.331&r2=1.332
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-editors/gedit/ChangeLog,v
21 retrieving revision 1.331
22 retrieving revision 1.332
23 diff -u -r1.331 -r1.332
24 --- ChangeLog 20 Nov 2011 22:19:57 -0000 1.331
25 +++ ChangeLog 21 Dec 2011 23:00:58 -0000 1.332
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-editors/gedit
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/ChangeLog,v 1.331 2011/11/20 22:19:57 eva Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/ChangeLog,v 1.332 2011/12/21 23:00:58 eva Exp $
31 +
32 +*gedit-3.2.5 (21 Dec 2011)
33 +
34 + 21 Dec 2011; Gilles Dartiguelongue <eva@g.o> -gedit-3.2.1.ebuild,
35 + +gedit-3.2.5.ebuild:
36 + Version bump. Clean up old revision.
37
38 *gedit-3.2.3 (20 Nov 2011)
39
40
41
42
43 1.1 app-editors/gedit/gedit-3.2.5.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit/gedit-3.2.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit/gedit-3.2.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: gedit-3.2.5.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/gedit-3.2.5.ebuild,v 1.1 2011/12/21 23:00:58 eva Exp $
53
54 EAPI="4"
55 GCONF_DEBUG="no"
56 GNOME2_LA_PUNT="yes" # plugins are dlopened
57 PYTHON_DEPEND="2"
58
59 inherit gnome2 python eutils virtualx
60
61 DESCRIPTION="A text editor for the GNOME desktop"
62 HOMEPAGE="http://www.gnome.org/"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 IUSE="doc +introspection +python spell"
67 KEYWORDS="~amd64 ~mips ~sh ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux"
68
69 # X libs are not needed for OSX (aqua)
70 COMMON_DEPEND="
71 >=x11-libs/libSM-1.0
72 >=dev-libs/libxml2-2.5.0:2
73 >=dev-libs/glib-2.28:2
74 >=x11-libs/gtk+-3.1.6:3[introspection?]
75 >=x11-libs/gtksourceview-3.0.0:3.0[introspection?]
76 >=dev-libs/libpeas-1.1.0[gtk]
77
78 gnome-base/gsettings-desktop-schemas
79 gnome-base/gvfs
80
81 x11-libs/libX11
82 x11-libs/libICE
83 x11-libs/libSM
84
85 net-libs/libsoup:2.4
86
87 introspection? ( >=dev-libs/gobject-introspection-0.9.3 )
88 python? (
89 >=dev-libs/gobject-introspection-0.9.3
90 >=x11-libs/gtk+-3.0:3[introspection]
91 >=x11-libs/gtksourceview-2.91.9:3.0[introspection]
92 >=dev-python/pygobject-3.0.0:3 )
93 spell? (
94 >=app-text/enchant-1.2
95 >=app-text/iso-codes-0.35
96 )"
97
98 RDEPEND="${COMMON_DEPEND}
99 x11-themes/gnome-icon-theme-symbolic"
100
101 DEPEND="${COMMON_DEPEND}
102 >=sys-devel/gettext-0.17
103 >=dev-util/intltool-0.40
104 >=dev-util/pkgconfig-0.9
105 >=app-text/scrollkeeper-0.3.11
106 >=app-text/gnome-doc-utils-0.9.0
107 ~app-text/docbook-xml-dtd-4.1.2
108 doc? ( >=dev-util/gtk-doc-1 )"
109 # gnome-common and gtk-doc-am needed to eautoreconf
110
111 pkg_setup() {
112 DOCS="AUTHORS BUGS ChangeLog MAINTAINERS NEWS README"
113 # TODO: Zeitgeist support, if GNOME 3 adds it to moduleset (3.2?)
114 G2CONF="${G2CONF}
115 --disable-zeitgeist
116 --disable-deprecations
117 --disable-schemas-compile
118 --disable-scrollkeeper
119 --enable-updater
120 --enable-gvfs-metadata
121 $(use_enable introspection)
122 $(use_enable python)
123 $(use_enable spell)"
124
125 python_set_active_version 2
126 python_pkg_setup
127 }
128
129 src_prepare() {
130 gnome2_src_prepare
131
132 # disable pyc compiling
133 mv "${S}"/py-compile "${S}"/py-compile.orig
134 ln -s $(type -P true) "${S}"/py-compile
135
136 # Fix missing file in POTFILES.in
137 echo "plugins/quickopen/quickopen/__init__.py" >> po/POTFILES.in
138 }
139
140 src_test() {
141 # FIXME: this should be handled at eclass level
142 "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
143
144 unset DBUS_SESSION_BUS_ADDRESS
145 GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check
146 }
147
148 pkg_postinst() {
149 gnome2_pkg_postinst
150 if use python; then
151 python_mod_optimize /usr/$(get_libdir)/gedit/plugins
152 # FIXME: take care of gi.overrides with USE=introspection
153 fi
154
155 }
156
157 pkg_postrm() {
158 gnome2_pkg_postrm
159 if use python; then
160 python_mod_cleanup /usr/$(get_libdir)/gedit/plugins
161 fi
162 }