Gentoo Archives: gentoo-commits

From: "Joe Sapp (nixphoeni)" <nixphoeni@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-extra/gdesklets-core: ChangeLog gdesklets-core-0.36.3-r2.ebuild gdesklets-core-0.36.3-r1.ebuild
Date: Thu, 03 Feb 2011 02:40:57
Message-Id: 20110203024046.50ABF20057@flycatcher.gentoo.org
1 nixphoeni 11/02/03 02:40:46
2
3 Modified: ChangeLog
4 Added: gdesklets-core-0.36.3-r2.ebuild
5 Removed: gdesklets-core-0.36.3-r1.ebuild
6 Log:
7 Updated patch to include installation of icon and bumped revision
8
9 (Portage version: 2.1.9.35/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.140 gnome-extra/gdesklets-core/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog?rev=1.140&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog?rev=1.140&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog?r1=1.139&r2=1.140
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog,v
21 retrieving revision 1.139
22 retrieving revision 1.140
23 diff -u -r1.139 -r1.140
24 --- ChangeLog 30 Jan 2011 21:00:25 -0000 1.139
25 +++ ChangeLog 3 Feb 2011 02:40:46 -0000 1.140
26 @@ -1,6 +1,13 @@
27 # ChangeLog for gnome-extra/gdesklets-core
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog,v 1.139 2011/01/30 21:00:25 nixphoeni Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog,v 1.140 2011/02/03 02:40:46 nixphoeni Exp $
31 +
32 +*gdesklets-core-0.36.3-r2 (03 Feb 2011)
33 +
34 + 03 Feb 2011; Joe Sapp <nixphoeni@g.o>
35 + -gdesklets-core-0.36.3-r1.ebuild, +gdesklets-core-0.36.3-r2.ebuild,
36 + files/gdesklets-core-0.36.3-.in-files.patch:
37 + Updated patch to include installation of icon
38
39 30 Jan 2011; Joe Sapp <nixphoeni@g.o> gdesklets-core-0.36.3-r1.ebuild,
40 +files/gdesklets-core-0.36.3-.in-files.patch:
41
42
43
44 1.1 gnome-extra/gdesklets-core/gdesklets-core-0.36.3-r2.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gdesklets-core/gdesklets-core-0.36.3-r2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gdesklets-core/gdesklets-core-0.36.3-r2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: gdesklets-core-0.36.3-r2.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/gdesklets-core/gdesklets-core-0.36.3-r2.ebuild,v 1.1 2011/02/03 02:40:46 nixphoeni Exp $
54
55 EAPI=2
56 # desklets don't run with USE=debug
57 GCONF_DEBUG="no"
58 PYTHON_DEPEND="2:2.4"
59
60 inherit gnome2 python eutils autotools multilib bash-completion
61
62 MY_PN="${PN/-core}"
63 MY_P="${MY_PN}-${PV}"
64 S="${WORKDIR}/${MY_P}"
65
66 DESCRIPTION="GNOME Desktop Applets: Core library for desktop applets"
67 SRC_URI="http://gdesklets.de/files/${MY_P}.tar.bz2"
68 HOMEPAGE="http://www.gdesklets.de"
69 LICENSE="GPL-2"
70
71 SLOT="0"
72 IUSE=""
73 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
74
75 # is libgsf needed for runtime or just compiling?
76 RDEPEND=">=dev-libs/glib-2.4
77 >=gnome-base/librsvg-2.8
78 >=gnome-base/libgtop-2.8.2
79 >=dev-python/pygtk-2.10
80 >=dev-python/libbonobo-python-2.6
81 >=dev-python/gconf-python-2.6
82 >=dev-python/pygobject-2.6
83 >=dev-python/pyorbit-2.0.1
84 || ( >=dev-python/gnome-vfs-python-2.6 >=dev-python/libgnome-python-2.6 )
85 >=dev-libs/expat-1.95.8
86 >=dev-python/pyxml-0.8.3-r1"
87
88 DEPEND="${RDEPEND}
89 sys-devel/gettext
90 dev-util/pkgconfig
91 dev-util/intltool"
92
93 DOCS="AUTHORS ChangeLog NEWS README TODO"
94 CONVERT_SHEBANGS="ctrlinfo gdesklets gdesklets-daemon gdesklets-logview \
95 gdesklets-shell test-control.py contrib/gdesklets-migration-tool"
96
97 pkg_setup() {
98
99 python_set_active_version 2
100
101 }
102
103 src_prepare() {
104
105 epatch "${FILESDIR}/${P}-.in-files.patch"
106 gnome2_src_prepare
107
108 # Postpone pyc compiling until pkg_postinst
109 mv py-compile py-compile.orig
110 ln -s $(type -P true) py-compile
111
112 eautoreconf
113 intltoolize --force || die
114
115 python_convert_shebangs 2 ${CONVERT_SHEBANGS}
116
117 }
118
119 src_install() {
120
121 gnome2_src_install
122
123 # Install bash completion script
124 BASHCOMPLETION_NAME="gDesklets" \
125 dobashcompletion "contrib/bash/gdesklets"
126
127 # Install the gdesklets-control-getid script
128 insinto "/usr/$(get_libdir)/gdesklets"
129 insopts -m0555
130 doins "${FILESDIR}/gdesklets-control-getid"
131
132 }
133
134 pkg_postinst() {
135
136 gnome2_pkg_postinst
137 python_need_rebuild
138 # Compile pyc files on target system
139 python_mod_optimize "/usr/$(get_libdir)/gdesklets"
140
141 echo
142 elog "gDesklets Displays are required before the library"
143 elog "will be usable. Core Displays (Calendar, Clock, Quote-of-the-Day,"
144 elog "and the 15pieces game) are already installed in"
145 elog " ${ROOT}usr/$(get_libdir)/gdesklets/Displays"
146 elog "Additional Displays can be found in -"
147 elog " x11-plugins/desklet-* ,"
148 elog "at http://www.gdesklets.de, or at http://archive.gdesklets.info"
149 elog
150 elog "Next you'll need to start gDesklets using"
151 elog " ${ROOT}usr/bin/gdesklets start"
152 elog "If you're using GNOME this can be done conveniently through"
153 elog "Applications->Accessories->gDesklets or automatically each login"
154 elog "under System->Preferences->Sessions"
155 elog
156 elog "If you're updating from a version less than 0.35_rc1,"
157 elog "you can migrate your desklet configurations by"
158 elog "running"
159 elog " ${ROOT}usr/$(get_libdir)/gdesklets/contrib/gdesklets-migration-tool"
160 elog "after the first time you run gDesklets"
161 elog
162
163 BASHCOMPLETION_NAME="gDesklets" bash-completion_pkg_postinst
164
165 }
166
167 pkg_postrm() {
168
169 gnome2_pkg_postrm
170 # Cleanup after our cavalier python compilation
171 # The function takes care of ${ROOT} for us
172 python_mod_cleanup "/usr/$(get_libdir)/gdesklets"
173
174 }