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.28.0.ebuild gedit-2.28.0-r1.ebuild
Date: Thu, 29 Oct 2009 22:52:34
Message-Id: E1N3dr4-0006bG-0S@stork.gentoo.org
1 eva 09/10/29 22:52:30
2
3 Modified: ChangeLog
4 Added: gedit-2.28.0.ebuild
5 Removed: gedit-2.28.0-r1.ebuild
6 Log:
7 New version for GNOME 2.28.
8 (Portage version: 2.2_rc46/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.282 app-editors/gedit/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/gedit/ChangeLog?rev=1.282&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/gedit/ChangeLog?rev=1.282&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/gedit/ChangeLog?r1=1.281&r2=1.282
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-editors/gedit/ChangeLog,v
20 retrieving revision 1.281
21 retrieving revision 1.282
22 diff -u -r1.281 -r1.282
23 --- ChangeLog 29 Oct 2009 21:13:56 -0000 1.281
24 +++ ChangeLog 29 Oct 2009 22:52:29 -0000 1.282
25 @@ -1,15 +1,11 @@
26 # ChangeLog for app-editors/gedit
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/ChangeLog,v 1.281 2009/10/29 21:13:56 eva Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/ChangeLog,v 1.282 2009/10/29 22:52:29 eva Exp $
30
31 - 29 Oct 2009; Gilles Dartiguelongue <eva@g.o>
32 - +gedit-2.28.0-r1.ebuild:
33 - New version for GNOME 2.28.
34 -
35 -*gedit-2.28.0-r1 (29 Oct 2009)
36 +*gedit-2.28.0 (29 Oct 2009)
37
38 - 29 Oct 2009; Gilles Dartiguelongue <eva@g.o>
39 - +gedit-2.28.0-r1.ebuild:
40 + 29 Oct 2009; Gilles Dartiguelongue <eva@g.o> +gedit-2.28.0.ebuild,
41 + -gedit-2.28.0-r1.ebuild:
42 New version for GNOME 2.28.
43
44 *gedit-2.26.3-r1 (28 Oct 2009)
45
46
47
48 1.1 app-editors/gedit/gedit-2.28.0.ebuild
49
50 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/gedit/gedit-2.28.0.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/gedit/gedit-2.28.0.ebuild?rev=1.1&content-type=text/plain
52
53 Index: gedit-2.28.0.ebuild
54 ===================================================================
55 # Copyright 1999-2009 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/gedit-2.28.0.ebuild,v 1.1 2009/10/29 22:52:29 eva Exp $
58
59 GCONF_DEBUG="no"
60
61 inherit gnome2 python
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 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
69 IUSE="doc python spell xattr"
70
71 RDEPEND=">=gnome-base/gconf-2
72 xattr? ( sys-apps/attr )
73 >=x11-libs/libSM-1.0
74 >=dev-libs/libxml2-2.5.0
75 >=dev-libs/glib-2.18
76 >=x11-libs/gtk+-2.17.1
77 >=x11-libs/gtksourceview-2.5
78 spell? (
79 >=app-text/enchant-1.2
80 >=app-text/iso-codes-0.35
81 )
82 python? (
83 >=dev-python/pygobject-2.15.4
84 >=dev-python/pygtk-2.12
85 >=dev-python/pygtksourceview-2.2
86 )"
87
88 DEPEND="${RDEPEND}
89 sys-devel/gettext
90 >=dev-util/intltool-0.40
91 >=dev-util/pkgconfig-0.9
92 >=app-text/scrollkeeper-0.3.11
93 >=app-text/gnome-doc-utils-0.3.2
94 ~app-text/docbook-xml-dtd-4.1.2
95 doc? ( >=dev-util/gtk-doc-1 )"
96 # gnome-common and gtk-doc-am needed to eautoreconf
97
98 DOCS="AUTHORS BUGS ChangeLog MAINTAINERS NEWS README"
99
100 if [[ "${ARCH}" == "PPC" ]] ; then
101 # HACK HACK HACK: someone fix this garbage
102 MAKEOPTS="${MAKEOPTS} -j1"
103 fi
104
105 pkg_setup() {
106 # Installed for plugins, but they're dlopen()-ed
107 G2PUNT_LA="yes"
108
109 G2CONF="${G2CONF}
110 --disable-scrollkeeper
111 --disable-updater
112 $(use_enable python)
113 $(use_enable spell)
114 $(use_enable xattr attr)"
115 }
116
117 src_unpack() {
118 gnome2_src_unpack
119
120 # disable pyc compiling
121 mv "${S}"/py-compile "${S}"/py-compile.orig
122 ln -s $(type -P true) "${S}"/py-compile
123 }
124
125 src_install() {
126 gnome2_src_install
127 find "${D}" -name "*.la" -delete || die "remove of la files failed"
128 }
129
130 pkg_postinst() {
131 gnome2_pkg_postinst
132 use python && python_mod_optimize /usr/$(get_libdir)/gedit-2/plugins
133 }
134
135 pkg_postrm() {
136 gnome2_pkg_postrm
137 python_mod_cleanup /usr/$(get_libdir)/gedit-2/plugins
138 }