Hello community, here is the log from the commit of package pingus for openSUSE:Factory checked in at Wed Oct 6 22:48:20 CEST 2010. -------- --- pingus/pingus.changes 2009-06-03 18:21:18.000000000 +0200 +++ /mounts/work_src_done/STABLE/pingus/pingus.changes 2010-07-31 15:52:09.000000000 +0200 @@ -1,0 +2,6 @@ +Sat Jul 31 13:51:47 UTC 2010 - pascal.bleser@opensuse.org + +- update to 0.7.3 +- add Wiimote support (with libcwiid) + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- pingus-0.7.2-includes.patch pingus-0.7.2.tar.bz2 New: ---- pingus-0.7.3.tar.bz2 pingus-cwiid_with_bluez.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pingus.spec ++++++ --- /var/tmp/diff_new_pack.dUfp8d/_old 2010-10-06 22:47:39.000000000 +0200 +++ /var/tmp/diff_new_pack.dUfp8d/_new 2010-10-06 22:47:39.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package pingus (Version 0.7.2) +# spec file for package pingus (Version 0.7.3) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 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 @@ -21,40 +21,35 @@ Name: pingus BuildRequires: coreutils gcc-c++ scons update-desktop-files BuildRequires: SDL_image-devel SDL_mixer-devel boost-devel libpng-devel -License: GPL v2 or later +BuildRequires: bluez-devel libcwiid-devel +License: GPLv2+ Group: Amusements/Games/Action/Arcade Url: http://pingus.seul.org/ AutoReqProv: on -Version: 0.7.2 -Release: 113 +Version: 0.7.3 +Release: 1 Summary: A Lemmings Clone -Source: %{name}-%{version}.tar.bz2 +Source: http://pingus.seul.org/files/pingus-%{version}.tar.bz2 Source2: %{name}.desktop Source3: %{name}.png -Patch0: %{name}-%{version}-includes.patch +Patch1: pingus-cwiid_with_bluez.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -This game is not completely finished and there are not very many -playable levels, but the basic game engine is ready. The game, in its -current state, should be enough for a few hours of fun. - - - -Authors: --------- - Ingo Ruhnke <grumbel@gmx.de> +Pingus is a free Lemmings-like game covered under the GNU GPL. It features +currently 22 playable levels and runs under a wide variety of operating systems +(Linux, Windows, etc.) %prep %setup -q -%patch0 +%patch1 %build CFLAGS="${RPM_OPT_FLAGS/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=1}" -CFLAGS="${CFLAGS/-O2/-Os}" +CFLAGS="${CFLAGS/-O2/-O}" sed -i "s/-O2 -Wall/$CFLAGS/" src/Makefile.static -scons configure CCFLAGS="$CFLAGS" -scons +scons configure CCFLAGS="$CFLAGS" with_wiimote=True with_linuxusbmouse=True with_linuxevdev=True with_xinput=True +scons -j4 %install ./install.sh $RPM_BUILD_ROOT%{_prefix} @@ -66,7 +61,7 @@ %suse_update_desktop_file -i %{name} Game ArcadeGame %clean -rm -rf $RPM_BUILD_ROOT +%{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) @@ -76,5 +71,4 @@ %{_datadir}/pingus %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png - %changelog ++++++ pingus-0.7.2.tar.bz2 -> pingus-0.7.3.tar.bz2 ++++++ pingus/pingus-0.7.2.tar.bz2 /mounts/work_src_done/STABLE/pingus/pingus-0.7.3.tar.bz2 differ: char 11, line 1 ++++++ pingus-cwiid_with_bluez.patch ++++++ --- SConstruct.orig 2010-07-31 13:17:40.000000000 +0200 +++ SConstruct 2010-07-31 15:46:45.000000000 +0200 @@ -455,14 +455,12 @@ if not env['with_wiimote']: reports += " * Wiimote support: disabled\n" - elif config.CheckLibWithHeader('cwiid', 'cwiid.h', 'c++'): + else: reports += " * Wiimote support: yes\n" config_h_defines += [('HAVE_CWIID', 1)] - env['LIBS'] += ['cwiid'] + env['LIBS'] += ['cwiid', 'bluetooth', 'pthread', 'rt'] env['optional_sources'] += ['src/input/wiimote_driver.cpp', 'src/input/wiimote.cpp'] - else: - reports += " * Wiimote support: no (libcwiid or cwiid.h not found)\n" if not env['with_xinput']: reports += " * XInput support: disabled\n" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org