1 |
nixphoeni 09/06/01 12:03:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gdesklets-core-0.36.1-r2.ebuild |
5 |
Removed: gdesklets-core-0.36.1-r1.ebuild |
6 |
Log: |
7 |
Added bash completion and an autostart .desktop file from upstream's bzr repo |
8 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.104 gnome-extra/gdesklets-core/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog?rev=1.104&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog?rev=1.104&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog?r1=1.103&r2=1.104 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog,v |
20 |
retrieving revision 1.103 |
21 |
retrieving revision 1.104 |
22 |
diff -u -r1.103 -r1.104 |
23 |
--- ChangeLog 18 May 2009 21:57:15 -0000 1.103 |
24 |
+++ ChangeLog 1 Jun 2009 12:03:14 -0000 1.104 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for gnome-extra/gdesklets-core |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog,v 1.103 2009/05/18 21:57:15 nixphoeni Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog,v 1.104 2009/06/01 12:03:14 nixphoeni Exp $ |
30 |
+ |
31 |
+*gdesklets-core-0.36.1-r2 (01 Jun 2009) |
32 |
+ |
33 |
+ 01 Jun 2009; Joe Sapp <nixphoeni@g.o> |
34 |
+ -gdesklets-core-0.36.1-r1.ebuild, +gdesklets-core-0.36.1-r2.ebuild, |
35 |
+ +files/gdesklets-core-0.36.1-bash-completion, +files/gdesklets.desktop: |
36 |
+ Added bash completion and an autostart .desktop file to be included in the |
37 |
+ next release |
38 |
|
39 |
*gdesklets-core-0.36.1-r1 (15 May 2009) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 gnome-extra/gdesklets-core/gdesklets-core-0.36.1-r2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gdesklets-core/gdesklets-core-0.36.1-r2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gdesklets-core/gdesklets-core-0.36.1-r2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: gdesklets-core-0.36.1-r2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2009 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.1-r2.ebuild,v 1.1 2009/06/01 12:03:14 nixphoeni Exp $ |
54 |
|
55 |
# desklets don't run with USE=debug |
56 |
GCONF_DEBUG="no" |
57 |
|
58 |
# We want the latest autoconf and automake (the default) |
59 |
inherit gnome2 python eutils autotools multilib bash-completion |
60 |
|
61 |
MY_PN="gDesklets" |
62 |
MY_P="${PN/-core/}-${PV/_/}" |
63 |
S="${WORKDIR}/${MY_PN}-${PV/_/}" |
64 |
|
65 |
DESCRIPTION="GNOME Desktop Applets: Core library for desktop applets" |
66 |
SRC_URI="http://gdesklets.de/files/${MY_P}.tar.gz" |
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 |
!x11-plugins/desklet-calendar |
85 |
!x11-plugins/desklet-clock" |
86 |
|
87 |
DEPEND="${RDEPEND} |
88 |
sys-devel/gettext |
89 |
dev-util/pkgconfig |
90 |
dev-util/intltool" |
91 |
|
92 |
# Parallel makes sometimes break during install phase |
93 |
MAKEOPTS="${MAKEOPTS} -j1" |
94 |
# Force using MAKEOPTS with emake |
95 |
USE_EINSTALL="0" |
96 |
DOCS="AUTHORS ChangeLog NEWS README TODO" |
97 |
|
98 |
src_unpack() { |
99 |
|
100 |
gnome2_src_unpack |
101 |
|
102 |
# Postpone pyc compiling until pkg_postinst |
103 |
mv py-compile py-compile.orig |
104 |
ln -s $(type -P true) py-compile |
105 |
|
106 |
# Use po/LINGUAS - see gnome bug #506828 |
107 |
epatch "${FILESDIR}/${PN}-0.36_beta-linguas.patch" |
108 |
# Install test-control.py - see https://bugs.launchpad.net/gdesklets/+bug/310339 |
109 |
epatch "${FILESDIR}/${PN}-${PV}-test-control.py-install-fix.patch" |
110 |
# Fix for Python 2.6 - see bug #266151 |
111 |
epatch "${FILESDIR}/${PN}-0.36-python-2.6-fix.patch" |
112 |
|
113 |
eautoreconf |
114 |
intltoolize --force || die |
115 |
|
116 |
} |
117 |
|
118 |
src_install() { |
119 |
|
120 |
gnome2_src_install |
121 |
|
122 |
# Install bash completion script |
123 |
BASH_COMPLETION_NAME="gDesklets" |
124 |
dobashcompletion "${FILESDIR}/${PN}-${PV}-bash-completion" |
125 |
|
126 |
# Install autostart script |
127 |
insinto "/etc/xdg/autostart" |
128 |
doins "${FILESDIR}/gdesklets.desktop" |
129 |
|
130 |
# Install the gdesklets-control-getid script |
131 |
insinto "/usr/$(get_libdir)/gdesklets" |
132 |
insopts -m0555 |
133 |
doins "${FILESDIR}/gdesklets-control-getid" |
134 |
|
135 |
# Remove conflicts with x11-misc/shared-mime-info and auto-generated |
136 |
# MIME info |
137 |
rm -rf "${D}/usr/share/mime" |
138 |
|
139 |
} |
140 |
|
141 |
pkg_postinst() { |
142 |
|
143 |
gnome2_pkg_postinst |
144 |
|
145 |
# Compile pyc files on target system |
146 |
python_mod_optimize "${ROOT}/usr/$(get_libdir)/gdesklets" |
147 |
|
148 |
echo |
149 |
elog "gDesklets Displays are required before the library" |
150 |
elog "will be usable. Core Displays (Calendar, Clock, Quote-of-the-Day," |
151 |
elog "and the 15pieces game) are already installed in" |
152 |
elog " ${ROOT}usr/$(get_libdir)/gdesklets/Displays" |
153 |
elog "Additional Displays can be found in -" |
154 |
elog " x11-plugins/desklet-* ," |
155 |
elog "at http://www.gdesklets.de, or at http://archive.gdesklets.info" |
156 |
elog |
157 |
elog "Next you'll need to start gDesklets using" |
158 |
elog " ${ROOT}usr/bin/gdesklets start" |
159 |
elog "If you're using GNOME this can be done conveniently through" |
160 |
elog "Applications->Accessories->gDesklets or automatically each login" |
161 |
elog "under System->Preferences->Sessions" |
162 |
elog |
163 |
elog "If you're updating from a version less than 0.35_rc1," |
164 |
elog "you can migrate your desklet configurations by" |
165 |
elog "running" |
166 |
elog " ${ROOT}usr/$(get_libdir)/gdesklets/gdesklets-migration-tool" |
167 |
elog "after the first time you run gDesklets" |
168 |
elog |
169 |
BASH_COMPLETION_NAME="gDesklets" |
170 |
bash-completion_pkg_postinst |
171 |
|
172 |
} |
173 |
|
174 |
pkg_postrm() { |
175 |
|
176 |
gnome2_pkg_postrm |
177 |
# Cleanup after our cavalier python compilation |
178 |
# The function takes care of ${ROOT} for us |
179 |
python_mod_cleanup "/usr/$(get_libdir)/gdesklets" |
180 |
|
181 |
} |