Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/xscreensaver: ChangeLog xscreensaver-5.07.ebuild
Date: Tue, 09 Sep 2008 02:42:54
Message-Id: E1KctBr-0004Dt-CA@stork.gentoo.org
1 robbat2 08/09/09 02:42:51
2
3 Modified: ChangeLog
4 Added: xscreensaver-5.07.ebuild
5 Log:
6 Version bump per bugs 235067 and 235307 to fix Xinerama issues with only blanking a subset of heads.
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc5-00283-g70bb089 x86_64)
8
9 Revision Changes Path
10 1.236 x11-misc/xscreensaver/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xscreensaver/ChangeLog?rev=1.236&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xscreensaver/ChangeLog?rev=1.236&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xscreensaver/ChangeLog?r1=1.235&r2=1.236
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v
19 retrieving revision 1.235
20 retrieving revision 1.236
21 diff -p -w -b -B -u -u -r1.235 -r1.236
22 --- ChangeLog 4 Aug 2008 21:59:51 -0000 1.235
23 +++ ChangeLog 9 Sep 2008 02:42:50 -0000 1.236
24 @@ -1,6 +1,13 @@
25 # ChangeLog for x11-misc/xscreensaver
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v 1.235 2008/08/04 21:59:51 drac Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v 1.236 2008/09/09 02:42:50 robbat2 Exp $
29 +
30 +*xscreensaver-5.07 (09 Sep 2008)
31 +
32 + 09 Sep 2008; Robin H. Johnson <robbat2@g.o>
33 + +files/5.07/01_all_default_settings.patch, +xscreensaver-5.07.ebuild:
34 + Version bump per bugs 235067 and 235307 to fix Xinerama issues with only
35 + blanking a subset of heads.
36
37 *xscreensaver-5.06 (04 Aug 2008)
38
39
40
41
42 1.1 x11-misc/xscreensaver/xscreensaver-5.07.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xscreensaver/xscreensaver-5.07.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xscreensaver/xscreensaver-5.07.ebuild?rev=1.1&content-type=text/plain
46
47 Index: xscreensaver-5.07.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/xscreensaver-5.07.ebuild,v 1.1 2008/09/09 02:42:50 robbat2 Exp $
52
53 inherit autotools eutils flag-o-matic multilib pam
54
55 DESCRIPTION="A modular screen saver and locker for the X Window System"
56 SRC_URI="http://www.jwz.org/xscreensaver/${P}.tar.gz"
57 HOMEPAGE="http://www.jwz.org/xscreensaver"
58
59 LICENSE="BSD"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
62 IUSE="jpeg new-login opengl pam suid xinerama"
63
64 RDEPEND="x11-libs/libXmu
65 x11-libs/libXxf86vm
66 x11-libs/libXrandr
67 x11-libs/libXxf86misc
68 x11-libs/libXt
69 x11-libs/libX11
70 x11-libs/libXext
71 x11-apps/xwininfo
72 x11-apps/appres
73 media-libs/netpbm
74 >=dev-libs/libxml2-2.5
75 >=x11-libs/gtk+-2
76 >=gnome-base/libglade-1.99
77 pam? ( virtual/pam )
78 jpeg? ( media-libs/jpeg )
79 opengl? ( virtual/opengl )
80 xinerama? ( x11-libs/libXinerama )
81 new-login? ( gnome-base/gdm )"
82 DEPEND="${RDEPEND}
83 x11-proto/xf86vidmodeproto
84 x11-proto/xextproto
85 x11-proto/scrnsaverproto
86 x11-proto/recordproto
87 x11-proto/xf86miscproto
88 sys-devel/bc
89 dev-util/pkgconfig
90 sys-devel/gettext
91 dev-util/intltool
92 xinerama? ( x11-proto/xineramaproto )"
93
94 src_unpack() {
95 unpack ${A}
96 cd "${S}"
97 EPATCH_SUFFIX="patch" epatch "${FILESDIR}"/${PV}
98 eautoreconf # bug 113681
99 }
100
101 src_compile() {
102 if use ppc || use ppc64; then
103 # Still fails to build "flurry" screensaver.
104 filter-flags -mabi=altivec
105 filter-flags -maltivec
106 append-flags -U__VEC__
107 fi
108
109 unset BC_ENV_ARGS
110
111 econf \
112 --with-x-app-defaults=/usr/share/X11/app-defaults \
113 --with-hackdir=/usr/$(get_libdir)/misc/${PN} \
114 --with-configdir=/usr/share/${PN}/config \
115 --x-libraries=/usr/$(get_libdir) \
116 --x-includes=/usr/include \
117 --with-dpms-ext \
118 --with-xf86vmode-ext \
119 --with-xf86gamma-ext \
120 --with-randr-ext \
121 --with-proc-interrupts \
122 --with-xpm \
123 --with-xshm-ext \
124 --with-xdbe-ext \
125 --enable-locking \
126 --without-kerberos \
127 --without-gle \
128 --with-gtk \
129 --with-pixbuf \
130 $(use_with suid setuid-hacks) \
131 $(use_with new-login login-manager) \
132 $(use_with xinerama xinerama-ext) \
133 $(use_with pam) \
134 $(use_with opengl gl) \
135 $(use_with jpeg)
136
137 emake -j1 || die "emake failed." # bug 155049
138 }
139
140 src_install() {
141 emake install_prefix="${D}" install || die "emake install failed."
142
143 dodoc README{,.hacking}
144
145 use pam && fperms 755 /usr/bin/${PN}
146 pamd_mimic_system ${PN} auth
147
148 # bug 135549
149 rm -f "${D}"/usr/share/${PN}/config/{electricsheep,fireflies}.xml
150 dodir /usr/share/man/man6x
151 mv "${D}"/usr/share/man/man6/worm.6 \
152 "${D}"/usr/share/man/man6x/worm.6x
153 }