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.2-r1.ebuild gdesklets-core-0.36.2.ebuild
Date: Sat, 08 May 2010 03:20:29
Message-Id: 20100508032021.60F1F28867@corvid.gentoo.org
1 nixphoeni 10/05/08 03:20:20
2
3 Modified: ChangeLog
4 Added: gdesklets-core-0.36.2-r1.ebuild
5 Removed: gdesklets-core-0.36.2.ebuild
6 Log:
7 Attempted to address bug #313459
8 (Portage version: 2.1.8.3/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.121 gnome-extra/gdesklets-core/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog?rev=1.121&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog?rev=1.121&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog?r1=1.120&r2=1.121
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog,v
20 retrieving revision 1.120
21 retrieving revision 1.121
22 diff -u -r1.120 -r1.121
23 --- ChangeLog 7 Apr 2010 04:22:57 -0000 1.120
24 +++ ChangeLog 8 May 2010 03:20:20 -0000 1.121
25 @@ -1,6 +1,13 @@
26 # ChangeLog for gnome-extra/gdesklets-core
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog,v 1.120 2010/04/07 04:22:57 darkside Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog,v 1.121 2010/05/08 03:20:20 nixphoeni Exp $
30 +
31 +*gdesklets-core-0.36.2-r1 (08 May 2010)
32 +
33 + 08 May 2010; Joe Sapp <nixphoeni@g.o>
34 + -gdesklets-core-0.36.2.ebuild, +gdesklets-core-0.36.2-r1.ebuild,
35 + files/gdesklets-control-getid:
36 + Attempted to address bug #313459; fixed typo in postinst message
37
38 07 Apr 2010; Jeremy Olexa <darkside@g.o>
39 gdesklets-core-0.36.1-r2.ebuild, gdesklets-core-0.36.1-r3.ebuild,
40
41
42
43 1.1 gnome-extra/gdesklets-core/gdesklets-core-0.36.2-r1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gdesklets-core/gdesklets-core-0.36.2-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gdesklets-core/gdesklets-core-0.36.2-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: gdesklets-core-0.36.2-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/gdesklets-core/gdesklets-core-0.36.2-r1.ebuild,v 1.1 2010/05/08 03:20:20 nixphoeni Exp $
53
54 EAPI=2
55 # desklets don't run with USE=debug
56 GCONF_DEBUG="no"
57 PYTHON_DEPEND="2:2.4"
58
59 inherit gnome2 python eutils autotools multilib bash-completion
60
61 MY_PN="gDesklets"
62 MY_P="${MY_PN}-${PV}"
63 S="${WORKDIR}/${MY_P}"
64
65 DESCRIPTION="GNOME Desktop Applets: Core library for desktop applets"
66 SRC_URI="http://archive.gdesklets.info/${MY_PN}/${MY_PN}-${PV}.tar.bz2"
67 HOMEPAGE="http://www.gdesklets.de"
68 LICENSE="GPL-2"
69
70 SLOT="0"
71 IUSE=""
72 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
73
74 # is libgsf needed for runtime or just compiling?
75 RDEPEND=">=dev-lang/python-2.3
76 >=dev-libs/glib-2.4
77 gnome-extra/libgsf
78 >=gnome-base/librsvg-2.8
79 >=gnome-base/libgtop-2.8.2
80 >=dev-python/pygtk-2.10
81 >=dev-python/gnome-python-2.6
82 >=dev-libs/expat-1.95.8
83 >=dev-python/pyxml-0.8.3-r1"
84
85 DEPEND="${RDEPEND}
86 sys-devel/gettext
87 dev-util/pkgconfig
88 dev-util/intltool"
89
90 # Parallel makes sometimes break during install phase
91 MAKEOPTS="${MAKEOPTS} -j1"
92 # Force using MAKEOPTS with emake
93 USE_EINSTALL="0"
94 DOCS="AUTHORS ChangeLog NEWS README TODO"
95 CONVERT_SHEBANGS="ctrlinfo gdesklets gdesklets-daemon gdesklets-logview \
96 gdesklets-shell test-control.py contrib/gdesklets-migration-tool"
97
98 pkg_setup() {
99
100 python_set_active_version 2
101
102 }
103
104 src_prepare() {
105
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 autostart script
128 insinto "/etc/xdg/autostart"
129 doins "contrib/gdesklets.desktop"
130
131 # Install the gdesklets-control-getid script
132 insinto "/usr/$(get_libdir)/gdesklets"
133 insopts -m0555
134 doins "${FILESDIR}/gdesklets-control-getid"
135
136 # Ensure the global Displays and Controls directories exist
137 dodir "/usr/$(get_libdir)/gdesklets/Displays"
138 dodir "/usr/$(get_libdir)/gdesklets/Controls"
139
140 }
141
142 pkg_postinst() {
143
144 gnome2_pkg_postinst
145 python_need_rebuild
146 # Compile pyc files on target system
147 python_mod_optimize "/usr/$(get_libdir)/gdesklets"
148
149 echo
150 elog "gDesklets Displays are required before the library"
151 elog "will be usable. Core Displays (Calendar, Clock, Quote-of-the-Day,"
152 elog "and the 15pieces game) are already installed in"
153 elog " ${ROOT}usr/$(get_libdir)/gdesklets/Displays"
154 elog "Additional Displays can be found in -"
155 elog " x11-plugins/desklet-* ,"
156 elog "at http://www.gdesklets.de, or at http://archive.gdesklets.info"
157 elog
158 elog "Next you'll need to start gDesklets using"
159 elog " ${ROOT}usr/bin/gdesklets start"
160 elog "If you're using GNOME this can be done conveniently through"
161 elog "Applications->Accessories->gDesklets or automatically each login"
162 elog "under System->Preferences->Sessions"
163 elog
164 elog "If you're updating from a version less than 0.35_rc1,"
165 elog "you can migrate your desklet configurations by"
166 elog "running"
167 elog " ${ROOT}usr/$(get_libdir)/gdesklets/contrib/gdesklets-migration-tool"
168 elog "after the first time you run gDesklets"
169 elog
170
171 BASHCOMPLETION_NAME="gDesklets" bash-completion_pkg_postinst
172
173 }
174
175 pkg_postrm() {
176
177 gnome2_pkg_postrm
178 # Cleanup after our cavalier python compilation
179 # The function takes care of ${ROOT} for us
180 python_mod_cleanup "/usr/$(get_libdir)/gdesklets"
181
182 }