Gentoo Archives: gentoo-commits

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