1 |
drac 07/12/30 19:39:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xscreensaver-5.04.ebuild |
5 |
Removed: xscreensaver-5.02-r2.ebuild |
6 |
Log: |
7 |
Version bump. Use global use flag for setuid screensavers. Use up to date .desktop file from tarball patched to f.d.o desktop entry standard. Pass --with-x-app-defaults to econf instead of moving files around in D. Remove old version. |
8 |
(Portage version: 2.1.4_rc11) |
9 |
|
10 |
Revision Changes Path |
11 |
1.205 x11-misc/xscreensaver/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xscreensaver/ChangeLog?rev=1.205&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xscreensaver/ChangeLog?rev=1.205&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xscreensaver/ChangeLog?r1=1.204&r2=1.205 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v |
20 |
retrieving revision 1.204 |
21 |
retrieving revision 1.205 |
22 |
diff -u -r1.204 -r1.205 |
23 |
--- ChangeLog 20 Nov 2007 05:25:55 -0000 1.204 |
24 |
+++ ChangeLog 30 Dec 2007 19:39:31 -0000 1.205 |
25 |
@@ -1,6 +1,19 @@ |
26 |
# ChangeLog for x11-misc/xscreensaver |
27 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v 1.204 2007/11/20 05:25:55 kumba Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v 1.205 2007/12/30 19:39:31 drac Exp $ |
30 |
+ |
31 |
+*xscreensaver-5.04 (30 Dec 2007) |
32 |
+ |
33 |
+ 30 Dec 2007; Samuli Suominen <drac@g.o> |
34 |
+ -files/xscreensaver-5.02-gdmflexiserver.patch, |
35 |
+ -files/xscreensaver-5.02-nsfw.patch, -files/xscreensaver-5.02-pam.patch, |
36 |
+ +files/xscreensaver-5.04-desktop-entry.patch, |
37 |
+ +files/xscreensaver-5.04-nsfw.patch, -xscreensaver-5.02-r2.ebuild, |
38 |
+ +xscreensaver-5.04.ebuild: |
39 |
+ Version bump. Use global use flag for setuid screensavers. Use up to date |
40 |
+ .desktop file from tarball patched to f.d.o desktop entry standard. Pass |
41 |
+ --with-x-app-defaults to econf instead of moving files around in D. Remove |
42 |
+ old version. |
43 |
|
44 |
20 Nov 2007; Joshua Kinard <kumba@g.o> xscreensaver-5.03.ebuild: |
45 |
Stable on mips, per #195253. |
46 |
|
47 |
|
48 |
|
49 |
1.1 x11-misc/xscreensaver/xscreensaver-5.04.ebuild |
50 |
|
51 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xscreensaver/xscreensaver-5.04.ebuild?rev=1.1&view=markup |
52 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xscreensaver/xscreensaver-5.04.ebuild?rev=1.1&content-type=text/plain |
53 |
|
54 |
Index: xscreensaver-5.04.ebuild |
55 |
=================================================================== |
56 |
# Copyright 1999-2007 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/xscreensaver-5.04.ebuild,v 1.1 2007/12/30 19:39:31 drac Exp $ |
59 |
|
60 |
inherit eutils flag-o-matic pam fixheadtails autotools |
61 |
|
62 |
DESCRIPTION="A modular screen saver and locker for the X Window System" |
63 |
SRC_URI="http://www.jwz.org/xscreensaver/${P}.tar.gz" |
64 |
HOMEPAGE="http://www.jwz.org/xscreensaver" |
65 |
|
66 |
LICENSE="BSD" |
67 |
SLOT="0" |
68 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
69 |
IUSE="jpeg new-login offensive opengl pam suid xinerama" |
70 |
|
71 |
RDEPEND="x11-libs/libXxf86misc |
72 |
x11-apps/xwininfo |
73 |
x11-apps/appres |
74 |
media-libs/netpbm |
75 |
>=sys-libs/zlib-1.1.4 |
76 |
>=dev-libs/libxml2-2.5 |
77 |
>=x11-libs/gtk+-2 |
78 |
>=gnome-base/libglade-1.99 |
79 |
>=dev-libs/glib-2 |
80 |
pam? ( virtual/pam ) |
81 |
jpeg? ( media-libs/jpeg ) |
82 |
opengl? ( virtual/opengl ) |
83 |
xinerama? ( x11-libs/libXinerama ) |
84 |
new-login? ( gnome-base/gdm )" |
85 |
DEPEND="${RDEPEND} |
86 |
x11-proto/xf86vidmodeproto |
87 |
x11-proto/xextproto |
88 |
x11-proto/scrnsaverproto |
89 |
x11-proto/recordproto |
90 |
x11-proto/xf86miscproto |
91 |
sys-devel/bc |
92 |
dev-util/pkgconfig |
93 |
sys-devel/gettext |
94 |
dev-util/intltool |
95 |
xinerama? ( x11-proto/xineramaproto )" |
96 |
|
97 |
src_unpack() { |
98 |
unpack ${A} |
99 |
cd "${S}" |
100 |
|
101 |
epatch "${FILESDIR}"/${PN}-5.02-gentoo.patch |
102 |
|
103 |
# Update spec. using desktop-file-validate. |
104 |
epatch "${FILESDIR}"/${P}-desktop-entry.patch |
105 |
|
106 |
# disable offensive screensavers. |
107 |
use offensive || epatch "${FILESDIR}"/${P}-nsfw.patch |
108 |
|
109 |
eautoreconf |
110 |
|
111 |
# change head and tail calls to POSIX ones. |
112 |
ht_fix_all |
113 |
} |
114 |
|
115 |
src_compile() { |
116 |
# simple workaround for the flurry screensaver |
117 |
filter-flags -mabi=altivec |
118 |
filter-flags -maltivec |
119 |
append-flags -U__VEC__ |
120 |
|
121 |
unset BC_ENV_ARGS |
122 |
econf \ |
123 |
--with-x-app-defaults=/usr/share/X11/app-defaults \ |
124 |
--with-hackdir=/usr/lib/misc/xscreensaver \ |
125 |
--with-configdir=/usr/share/xscreensaver/config \ |
126 |
--x-libraries=/usr/$(get_libdir) \ |
127 |
--x-includes=/usr/include \ |
128 |
--with-dpms-ext \ |
129 |
--with-xf86vmode-ext \ |
130 |
--with-xf86gamma-ext \ |
131 |
--with-proc-interrupts \ |
132 |
--with-xpm \ |
133 |
--with-xshm-ext \ |
134 |
--with-xdbe-ext \ |
135 |
--enable-locking \ |
136 |
--with-gtk \ |
137 |
--without-kerberos \ |
138 |
--without-gle \ |
139 |
$(use_with suid setuid-hacks) \ |
140 |
$(use_with new-login login-manager) \ |
141 |
$(use_with xinerama xinerama-ext) \ |
142 |
$(use_with pam) \ |
143 |
$(use_with opengl gl) \ |
144 |
$(use_with jpeg) |
145 |
|
146 |
# Fix bug 155049. |
147 |
emake -j1 || die "emake failed." |
148 |
} |
149 |
|
150 |
src_install() { |
151 |
emake install_prefix="${D}" install || die "emake install failed." |
152 |
|
153 |
dodoc README* |
154 |
|
155 |
use pam && fperms 755 /usr/bin/xscreensaver |
156 |
pamd_mimic_system xscreensaver auth |
157 |
|
158 |
# Fix bug #135549. |
159 |
rm -f "${D}"/usr/share/xscreensaver/config/electricsheep.xml |
160 |
rm -f "${D}"/usr/share/xscreensaver/config/fireflies.xml |
161 |
dodir /usr/share/man/man6x |
162 |
mv "${D}"/usr/share/man/man6/worm.6 \ |
163 |
"${D}"/usr/share/man/man6x/worm.6x |
164 |
} |
165 |
|
166 |
pkg_postinst() { |
167 |
if ! use new-login; then |
168 |
elog |
169 |
elog "You have chosen to not use the new-login USE flag." |
170 |
elog "This is a new USE flag which enables individuals to" |
171 |
elog "create new logins when the screensaver is active," |
172 |
elog "allowing others to use their account, even though the" |
173 |
elog "screen is locked to another account. If you want this" |
174 |
elog "feature, please recompile with USE=\"new-login\"." |
175 |
elog |
176 |
fi |
177 |
} |
178 |
|
179 |
|
180 |
|
181 |
-- |
182 |
gentoo-commits@g.o mailing list |