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