1 |
leio 08/02/21 14:04:26 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gnome-screensaver-2.20.0-r1.ebuild |
5 |
Log: |
6 |
Improve gamma restoring, bug 201019. Thanks to Pacho Ramos |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.63 gnome-extra/gnome-screensaver/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-screensaver/ChangeLog?rev=1.63&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-screensaver/ChangeLog?rev=1.63&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-screensaver/ChangeLog?r1=1.62&r2=1.63 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/gnome-extra/gnome-screensaver/ChangeLog,v |
19 |
retrieving revision 1.62 |
20 |
retrieving revision 1.63 |
21 |
diff -u -r1.62 -r1.63 |
22 |
--- ChangeLog 12 Dec 2007 03:03:34 -0000 1.62 |
23 |
+++ ChangeLog 21 Feb 2008 14:04:25 -0000 1.63 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for gnome-extra/gnome-screensaver |
26 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-screensaver/ChangeLog,v 1.62 2007/12/12 03:03:34 leio Exp $ |
28 |
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-screensaver/ChangeLog,v 1.63 2008/02/21 14:04:25 leio Exp $ |
30 |
+ |
31 |
+*gnome-screensaver-2.20.0-r1 (21 Feb 2008) |
32 |
+ |
33 |
+ 21 Feb 2008; Mart Raudsepp <leio@g.o> |
34 |
+ +files/gnome-screensaver-2.20.0-fix-gamma.patch, |
35 |
+ +gnome-screensaver-2.20.0-r1.ebuild: |
36 |
+ Improve gamma restoring, bug 201019. Thanks to Pacho Ramos |
37 |
|
38 |
12 Dec 2007; Mart Raudsepp <leio@g.o> |
39 |
gnome-screensaver-2.20.0.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 gnome-extra/gnome-screensaver/gnome-screensaver-2.20.0-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-screensaver/gnome-screensaver-2.20.0-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-screensaver/gnome-screensaver-2.20.0-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: gnome-screensaver-2.20.0-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2008 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-screensaver/gnome-screensaver-2.20.0-r1.ebuild,v 1.1 2008/02/21 14:04:25 leio Exp $ |
53 |
|
54 |
inherit gnome2 |
55 |
|
56 |
DESCRIPTION="Replaces xscreensaver, integrating with the desktop." |
57 |
HOMEPAGE="http://live.gnome.org/GnomeScreensaver" |
58 |
|
59 |
LICENSE="GPL-2" |
60 |
SLOT="0" |
61 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
62 |
KERNEL_IUSE="kernel_linux" |
63 |
IUSE="debug doc libnotify opengl pam xinerama $KERNEL_IUSE" |
64 |
|
65 |
RDEPEND=">=gnome-base/gconf-2.6.1 |
66 |
>=x11-libs/gtk+-2.11.5 |
67 |
>=gnome-base/gnome-vfs-2.12 |
68 |
>=gnome-base/libglade-2.5.0 |
69 |
>=gnome-base/gnome-menus-2.12 |
70 |
>=dev-libs/glib-2.8 |
71 |
>=gnome-base/libgnomekbd-0.1 |
72 |
>=dev-libs/dbus-glib-0.71 |
73 |
libnotify? ( x11-libs/libnotify ) |
74 |
opengl? ( virtual/opengl ) |
75 |
xinerama? ( |
76 |
x11-libs/libXinerama |
77 |
x11-proto/xineramaproto |
78 |
) |
79 |
pam? ( virtual/pam ) |
80 |
!pam? ( kernel_linux? ( sys-apps/shadow ) ) |
81 |
x11-libs/libX11 |
82 |
x11-libs/libXext |
83 |
x11-libs/libXrandr |
84 |
x11-libs/libXScrnSaver" |
85 |
DEPEND="${RDEPEND} |
86 |
sys-devel/gettext |
87 |
>=dev-util/pkgconfig-0.9 |
88 |
>=dev-util/intltool-0.35 |
89 |
doc? ( |
90 |
app-text/xmlto |
91 |
~app-text/docbook-xml-dtd-4.1.2 |
92 |
~app-text/docbook-xml-dtd-4.4 |
93 |
) |
94 |
x11-proto/xextproto |
95 |
x11-proto/randrproto |
96 |
x11-proto/scrnsaverproto |
97 |
x11-proto/xf86miscproto" |
98 |
|
99 |
DOCS="AUTHORS ChangeLog HACKING NEWS README TODO" |
100 |
|
101 |
pkg_setup() { |
102 |
G2CONF="${G2CONF} \ |
103 |
$(use_enable doc docbook-docs) \ |
104 |
$(use_enable debug) \ |
105 |
$(use_with libnotify) \ |
106 |
$(use_with opengl libgl) \ |
107 |
$(use_enable pam) \ |
108 |
$(use_enable xinerama) \ |
109 |
--enable-locking \ |
110 |
--with-kbd-layout-indicator \ |
111 |
--with-gdm-config=/usr/share/gdm/defaults.conf \ |
112 |
--with-xscreensaverdir=/usr/share/xscreensaver/config \ |
113 |
--with-xscreensaverhackdir=/usr/lib/misc/xscreensaver" |
114 |
} |
115 |
|
116 |
src_unpack() { |
117 |
gnome2_src_unpack |
118 |
epatch "${FILESDIR}/${P}-fix-gamma.patch" |
119 |
} |
120 |
|
121 |
src_install() { |
122 |
gnome2_src_install |
123 |
|
124 |
# Install the conversion script in the documentation |
125 |
dodoc "${S}"/data/migrate-xscreensaver-config.sh |
126 |
dodoc "${S}"/data/xscreensaver-config.xsl |
127 |
|
128 |
# Conversion information |
129 |
sed -e "s:\${PF}:${PF}:" \ |
130 |
< "${FILESDIR}"/xss-conversion-2.txt > "${S}"/xss-conversion.txt |
131 |
|
132 |
dodoc "${S}"/xss-conversion.txt |
133 |
|
134 |
# Non PAM users will need this suid to read the password hashes. |
135 |
# OpenPAM users will probably need this too when |
136 |
# http://bugzilla.gnome.org/show_bug.cgi?id=370847 |
137 |
# is fixed. |
138 |
if ! use pam ; then |
139 |
fperms u+s /usr/libexec/gnome-screensaver-dialog |
140 |
fi |
141 |
} |
142 |
|
143 |
pkg_postinst() { |
144 |
gnome2_pkg_postinst |
145 |
|
146 |
ewarn "If you have xscreensaver installed, you probably want to disable it." |
147 |
ewarn "To prevent a duplicate Screensaver entry in the menu, you need to" |
148 |
ewarn "build xscreensaver with -gnome in the USE flags." |
149 |
ewarn "echo \"x11-misc/xscreensaver -gnome\" >> /etc/portage/package.use" |
150 |
echo |
151 |
elog "Information for converting screensavers is located in " |
152 |
elog "/usr/share/doc/${PF}/xss-conversion.txt.${PORTAGE_COMPRESS}" |
153 |
} |
154 |
|
155 |
|
156 |
|
157 |
-- |
158 |
gentoo-commits@l.g.o mailing list |