1 |
nixphoeni 10/05/08 19:04:24 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gdesklets-core-0.36.2-r2.ebuild |
5 |
Removed: gdesklets-core-0.36.2-r1.ebuild |
6 |
Log: |
7 |
Added patch to try to fix bug #314653 |
8 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.123 gnome-extra/gdesklets-core/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog?rev=1.123&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog?rev=1.123&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog?r1=1.122&r2=1.123 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog,v |
20 |
retrieving revision 1.122 |
21 |
retrieving revision 1.123 |
22 |
diff -u -r1.122 -r1.123 |
23 |
--- ChangeLog 8 May 2010 18:50:14 -0000 1.122 |
24 |
+++ ChangeLog 8 May 2010 19:04:24 -0000 1.123 |
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.122 2010/05/08 18:50:14 nixphoeni Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog,v 1.123 2010/05/08 19:04:24 nixphoeni Exp $ |
30 |
+ |
31 |
+*gdesklets-core-0.36.2-r2 (08 May 2010) |
32 |
+ |
33 |
+ 08 May 2010; Joe Sapp <nixphoeni@g.o> |
34 |
+ -gdesklets-core-0.36.2-r1.ebuild, +gdesklets-core-0.36.2-r2.ebuild, |
35 |
+ files/gdesklets-control-getid, +files/gdesklets-core-getid-fix.patch: |
36 |
+ Added patch to try to fix bug #314653 |
37 |
|
38 |
08 May 2010; Joe Sapp <nixphoeni@g.o> |
39 |
-gdesklets-core-0.36.1-r2.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 gnome-extra/gdesklets-core/gdesklets-core-0.36.2-r2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gdesklets-core/gdesklets-core-0.36.2-r2.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-r2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: gdesklets-core-0.36.2-r2.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-r2.ebuild,v 1.1 2010/05/08 19:04:24 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 |
epatch "${FILESDIR}/${PN}-getid-fix.patch" |
107 |
gnome2_src_prepare |
108 |
|
109 |
# Postpone pyc compiling until pkg_postinst |
110 |
mv py-compile py-compile.orig |
111 |
ln -s $(type -P true) py-compile |
112 |
|
113 |
eautoreconf |
114 |
intltoolize --force || die |
115 |
|
116 |
python_convert_shebangs 2 ${CONVERT_SHEBANGS} |
117 |
|
118 |
} |
119 |
|
120 |
src_install() { |
121 |
|
122 |
gnome2_src_install |
123 |
|
124 |
# Install bash completion script |
125 |
BASHCOMPLETION_NAME="gDesklets" \ |
126 |
dobashcompletion "contrib/bash/gdesklets" |
127 |
|
128 |
# Install autostart script |
129 |
insinto "/etc/xdg/autostart" |
130 |
doins "contrib/gdesklets.desktop" |
131 |
|
132 |
# Install the gdesklets-control-getid script |
133 |
insinto "/usr/$(get_libdir)/gdesklets" |
134 |
insopts -m0555 |
135 |
doins "${FILESDIR}/gdesklets-control-getid" |
136 |
|
137 |
# Ensure the global Displays and Controls directories exist |
138 |
dodir "/usr/$(get_libdir)/gdesklets/Displays" |
139 |
dodir "/usr/$(get_libdir)/gdesklets/Controls" |
140 |
|
141 |
} |
142 |
|
143 |
pkg_postinst() { |
144 |
|
145 |
gnome2_pkg_postinst |
146 |
python_need_rebuild |
147 |
# Compile pyc files on target system |
148 |
python_mod_optimize "/usr/$(get_libdir)/gdesklets" |
149 |
|
150 |
echo |
151 |
elog "gDesklets Displays are required before the library" |
152 |
elog "will be usable. Core Displays (Calendar, Clock, Quote-of-the-Day," |
153 |
elog "and the 15pieces game) are already installed in" |
154 |
elog " ${ROOT}usr/$(get_libdir)/gdesklets/Displays" |
155 |
elog "Additional Displays can be found in -" |
156 |
elog " x11-plugins/desklet-* ," |
157 |
elog "at http://www.gdesklets.de, or at http://archive.gdesklets.info" |
158 |
elog |
159 |
elog "Next you'll need to start gDesklets using" |
160 |
elog " ${ROOT}usr/bin/gdesklets start" |
161 |
elog "If you're using GNOME this can be done conveniently through" |
162 |
elog "Applications->Accessories->gDesklets or automatically each login" |
163 |
elog "under System->Preferences->Sessions" |
164 |
elog |
165 |
elog "If you're updating from a version less than 0.35_rc1," |
166 |
elog "you can migrate your desklet configurations by" |
167 |
elog "running" |
168 |
elog " ${ROOT}usr/$(get_libdir)/gdesklets/contrib/gdesklets-migration-tool" |
169 |
elog "after the first time you run gDesklets" |
170 |
elog |
171 |
|
172 |
BASHCOMPLETION_NAME="gDesklets" bash-completion_pkg_postinst |
173 |
|
174 |
} |
175 |
|
176 |
pkg_postrm() { |
177 |
|
178 |
gnome2_pkg_postrm |
179 |
# Cleanup after our cavalier python compilation |
180 |
# The function takes care of ${ROOT} for us |
181 |
python_mod_cleanup "/usr/$(get_libdir)/gdesklets" |
182 |
|
183 |
} |