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