OBS User unknown 2009-06-12 17:24:31 +00:00 committed by Git OBS Bridge
parent ffa2e0a67d
commit 903c4951a0
6 changed files with 66 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:762e575ba95f96127a18ce0bc5ab9c0c685da5330105672bd7d36f5b0841a970
size 1842373

3
xlockmore-5.28.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9483efc940705f5fff8555eeeba6f3514ffee40a1b4222bdb7d8329759fd3fd7
size 1901583

View File

@ -0,0 +1,27 @@
--- modes/fadeplot.c
+++ modes/fadeplot.c
@@ -207,11 +207,11 @@
if ((fp->temps % (fp->angles / 2)) == 0) {
fp->temps = fp->temps % fp->angles * 5;
if ((fp->temps % (fp->angles)) == 0)
- fp->speed.y = (fp->speed.y++) % 30 + 1;
+ fp->speed.y = (fp->speed.y + 1) % 30 + 1;
if ((fp->temps % (fp->angles * 2)) == 0)
fp->speed.x = (fp->speed.x) % 20;
if ((fp->temps % (fp->angles * 3)) == 0)
- fp->step.y = (fp->step.y++) % 2 + 1;
+ fp->step.y = (fp->step.y + 1) % 2 + 1;
MI_CLEARWINDOWCOLORMAPFAST(mi, MI_GC(mi), MI_BLACK_PIXEL(mi));
}
}
--- modes/swarm.c
+++ modes/swarm.c
@@ -339,7 +339,7 @@
sp->yv[NRAND(sp->beecount)] += balance_rand(3);
}
/* <=- Bees -=> */
- sp->tick = ++(sp->tick) % (sp->taillen);
+ sp->tick = (sp->tick + 1) % (sp->taillen);
prev = (sp->tick) ? sp->tick - 1 : sp->taillen - 1;
if (sp->tick == sp->taillen - 1)
sp->rolloverflag = 1;

View File

@ -0,0 +1,11 @@
--- modes/life3d.c
+++ modes/life3d.c
@@ -2271,7 +2271,7 @@
return False;
}
-static Bool populateGlider(life3dstruct * lp, char *glider, int offsetSwitch,
+static void populateGlider(life3dstruct * lp, char *glider, int offsetSwitch,
int hsp, int vsp, int asp, int hoff, int voff, int aoff) {
int x, y, z, temp;

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Jun 11 17:16:36 CEST 2009 - sbrabec@suse.cz
- Updated to version 5.28:
* Inrovements in modes: ant3d, life3d, life,
* FTGL library support.
* PAM_putText() fix.
* configure checks for libXdpms
-------------------------------------------------------------------
Fri Nov 28 14:22:04 CET 2008 - sbrabec@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package xlockmore (Version 5.26.1)
# spec file for package xlockmore (Version 5.28)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,14 +19,14 @@
Name: xlockmore
BuildRequires: bc esound-devel fdupes freeglut-devel freetype2-devel gcc-c++ gltt-devel libdrm-devel pkg-config
BuildRequires: bc esound-devel fdupes freeglut-devel freetype2-devel ftgl-devel gcc-c++ gltt-devel libdrm-devel pkg-config
License: GPL v2 or later; X11/MIT
Group: System/X11/Utilities
Provides: xlock
Obsoletes: xlock
AutoReqProv: on
Version: 5.26.1
Release: 9
Version: 5.28
Release: 1
Summary: Screen Saver and Locker for the X Window System
Url: http://www.tux.org/~bagleyd/xlockmore.html
Source: %{name}-%{version}.tar.bz2
@ -44,6 +44,8 @@ Patch5: xlockmore-gltt-libttf.patch
Patch6: xlockmore-gltt+ftgl.patch
Patch7: xlockmore-strict-aliasing.patch
Patch8: xlockmore-null-fontset.patch
Patch9: xlockmore-void-return.patch
Patch10: xlockmore-undefined-code.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -54,7 +56,7 @@ saver until a password is entered.
Authors:
--------
David Albert Bagley <bagleyd@bigfoot.com>
David Albert Bagley <bagleyd@tux.org>
Patrick J. Naughton <naughton@eng.sun.com>
%if "%(pkg-config --variable prefix x11 || echo /usr/X11R6)" == "/usr"
@ -98,6 +100,8 @@ chmod -x README docs/Revisions
%patch6
%patch7
%patch8
%patch9
%patch10
%build
%{?suse_update_config:%{suse_update_config -f}}
@ -149,6 +153,12 @@ rm -rf $RPM_BUILD_ROOT
/usr/%{_xorg7libs32}/xlock
%changelog
* Thu Jun 11 2009 sbrabec@suse.cz
- Updated to version 5.28:
* Inrovements in modes: ant3d, life3d, life,
* FTGL library support.
* PAM_putText() fix.
* configure checks for libXdpms
* Fri Nov 28 2008 sbrabec@suse.cz
- Do not install compile time pixmaps (bnc#450061).
* Wed Sep 03 2008 sbrabec@suse.cz