Gentoo Archives: gentoo-commits

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