- Update to r9049

OBS-URL: https://build.opensuse.org/package/show/games/0ad?expand=0&rev=23
This commit is contained in:
Philip Taylor 2011-03-11 20:32:59 +00:00 committed by Git OBS Bridge
parent 248a395e11
commit ae115d30fe
9 changed files with 21 additions and 47 deletions

View File

@ -1,34 +0,0 @@
Index: source/ps/KeyName.h
===================================================================
--- source/ps/KeyName.h (revision 8832)
+++ source/ps/KeyName.h (revision 8833)
@@ -34,8 +34,13 @@
MOUSE_MIDDLE = SDLK_LAST + SDL_BUTTON_MIDDLE,
MOUSE_WHEELUP = SDLK_LAST + SDL_BUTTON_WHEELUP,
MOUSE_WHEELDOWN = SDLK_LAST + SDL_BUTTON_WHEELDOWN,
+#if SDL_VERSION_ATLEAST(1, 2, 13)
MOUSE_X1 = SDLK_LAST + SDL_BUTTON_X1,
MOUSE_X2 = SDLK_LAST + SDL_BUTTON_X2,
+#else
+ MOUSE_X1 = SDLK_LAST + SDL_BUTTON_WHEELDOWN + 1,
+ MOUSE_X2 = SDLK_LAST + SDL_BUTTON_WHEELDOWN + 2,
+#endif
// 'Keycodes' for the unified modifier keys
UNIFIED_SHIFT,
Index: source/ps/Hotkey.cpp
===================================================================
--- source/ps/Hotkey.cpp (revision 8832)
+++ source/ps/Hotkey.cpp (revision 8833)
@@ -178,7 +178,11 @@
break;
case SDL_MOUSEBUTTONDOWN:
case SDL_MOUSEBUTTONUP:
+#if SDL_VERSION_ATLEAST(1, 2, 13)
if ((int)ev->ev.button.button <= SDL_BUTTON_X2)
+#else
+ if ((int)ev->ev.button.button <= SDL_BUTTON_WHEELDOWN)
+#endif
{
keycode = SDLK_LAST + (int)ev->ev.button.button;
break;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 11 16:52:07 UTC 2011 - philip@zaynar.co.uk
- Update to r9049
-------------------------------------------------------------------
Mon Feb 21 00:05:53 UTC 2011 - reddwarf@opensuse.org

View File

@ -2,11 +2,11 @@ Format: 1.0
Source: 0ad
Binary: 0ad
Architecture: any
Version: r08832-1
Version: r09049-1
Maintainer: Stephan Kleine <bitshuffler@opensuse.org>
Homepage: http://wildfiregames.com/0ad/
Standards-Version: 3.8.0
Build-Depends: debhelper, libsdl1.2-dev, zlib1g-dev, libpng12-dev, libjpeg62-dev, libgamin-dev, nasm, libwxgtk2.8-dev, libboost1.35-dev, libboost-signals1.35-dev, libopenal-dev, libalut-dev, libvorbis-dev, libogg-dev, libdevil-dev, libenet-dev, libxml2-dev, pkg-config, libboost-filesystem1.35-dev, zip, libstdc++6-4.3-dev, libsvga1, python, cmake
Build-Depends: debhelper, libsdl1.2-dev, zlib1g-dev, libpng12-dev, libjpeg62-dev, libgamin-dev, nasm, libwxgtk2.8-dev, libboost1.35-dev, libboost-signals1.35-dev, libopenal-dev, libalut-dev, libvorbis-dev, libogg-dev, libdevil-dev, libenet-dev, libxml2-dev, pkg-config, libboost-filesystem1.35-dev, zip, libstdc++6-4.3-dev, libsvga1, python, cmake, libcurl3-dev
Files:
d8d3379b96b0c39e61c0d460d11bf06a 4366618 0ad-r08832.tar.gz
de993e4b2fd8191252c3a65b72eba516 9203 0ad-r08832.diff.gz
d8d3379b96b0c39e61c0d460d11bf06a 4366618 0ad-r09049.tar.gz
de993e4b2fd8191252c3a65b72eba516 9203 0ad-r09049.diff.gz

View File

@ -1,7 +1,7 @@
# norootforbuild
Name: 0ad
Version: r08832
Version: r09049
Release: 1.0
License: GNU GPL v2 or later
Group: Amusements/Games/Strategy/Real Time
@ -12,6 +12,7 @@ BuildRequires: boost-devel
BuildRequires: DevIL-devel
BuildRequires: fam-devel
BuildRequires: gcc-c++
BuildRequires: libcurl-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libvorbis-devel

View File

@ -3,11 +3,11 @@
<service name="download_url">
<param name="protocol">http</param>
<param name="host">releases.wildfiregames.com</param>
<param name="path">/0ad-r08832-alpha-unix-build.tar.gz</param>
<param name="path">/0ad-r09049-alpha-unix-build.tar.gz</param>
</service>
<service name="verify_file">
<param name="file">_service:download_url:0ad-r08832-alpha-unix-build.tar.gz</param>
<param name="file">_service:download_url:0ad-r09049-alpha-unix-build.tar.gz</param>
<param name="verifier">sha256</param>
<param name="checksum">e41f53f08a3423d502ef9d8dbb77c5518bfbc1c6bd5c7312e3ba99aa9c599817</param>
<param name="checksum">6ff2fc782b67261a75450f0d069ea6964556749dfd3c04b901e3aae13fd9b6ad</param>
</service>
</services>

View File

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

View File

@ -1,3 +1,9 @@
0ad (r09049-1) unstable; urgency=low
* New upstream version.
-- Philip Taylor <philip@zaynar.co.uk> Fri, 11 Mar 2011 16:52:07 +0000
0ad (r08832-1) unstable; urgency=low
* New upstream version.

View File

@ -11,7 +11,7 @@ Build-Depends: debhelper,
libdevil-dev, libenet-dev, libxml2-dev,
pkg-config, libboost-filesystem1.35-dev,
zip, libstdc++6-4.3-dev, libsvga1, python,
cmake
cmake, libcurl3-dev
Standards-Version: 3.8.0
Homepage: http://wildfiregames.com/0ad/

View File

@ -1 +0,0 @@
0ad-cs8833.patch -p0