[arch-commits] Commit in sdl/repos (8 files)
Jan Steffens
heftig at archlinux.org
Sat Jan 21 17:53:38 UTC 2012
Date: Saturday, January 21, 2012 @ 12:53:37
Author: heftig
Revision: 147084
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
sdl/repos/testing-i686/
sdl/repos/testing-i686/PKGBUILD
(from rev 147082, sdl/trunk/PKGBUILD)
sdl/repos/testing-i686/sdl-1.2.14-disable-mmx.patch
(from rev 147082, sdl/trunk/sdl-1.2.14-disable-mmx.patch)
sdl/repos/testing-i686/sdl-1.2.14-fix-mouse-clicking.patch
(from rev 147082, sdl/trunk/sdl-1.2.14-fix-mouse-clicking.patch)
sdl/repos/testing-x86_64/
sdl/repos/testing-x86_64/PKGBUILD
(from rev 147083, sdl/trunk/PKGBUILD)
sdl/repos/testing-x86_64/sdl-1.2.14-disable-mmx.patch
(from rev 147083, sdl/trunk/sdl-1.2.14-disable-mmx.patch)
sdl/repos/testing-x86_64/sdl-1.2.14-fix-mouse-clicking.patch
(from rev 147083, sdl/trunk/sdl-1.2.14-fix-mouse-clicking.patch)
----------------------------------------------------+
testing-i686/PKGBUILD | 35 +++++++++++++++++++
testing-i686/sdl-1.2.14-disable-mmx.patch | 13 +++++++
testing-i686/sdl-1.2.14-fix-mouse-clicking.patch | 23 ++++++++++++
testing-x86_64/PKGBUILD | 35 +++++++++++++++++++
testing-x86_64/sdl-1.2.14-disable-mmx.patch | 13 +++++++
testing-x86_64/sdl-1.2.14-fix-mouse-clicking.patch | 23 ++++++++++++
6 files changed, 142 insertions(+)
Copied: sdl/repos/testing-i686/PKGBUILD (from rev 147082, sdl/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-01-21 17:53:37 UTC (rev 147084)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+pkgname=sdl
+pkgver=1.2.15
+pkgrel=1
+pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
+arch=('i686' 'x86_64')
+url="http://www.libsdl.org"
+license=('LGPL')
+depends=('glibc' 'libxext' 'libxrender' 'libx11')
+makedepends=('alsa-lib' 'mesa' 'libpulse')
+options=('!libtool')
+source=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz
+ sdl-1.2.14-fix-mouse-clicking.patch
+ sdl-1.2.14-disable-mmx.patch)
+md5sums=('9d96df8417572a2afb781a7c4c811a85'
+ '04d8c179f125e04bcd4c9d60e013c2d7'
+ 'e5c16b7611f62c7cb25f0534eff68852')
+
+build() {
+ cd ${srcdir}/SDL-${pkgver}
+ patch -Np1 -i $srcdir/sdl-1.2.14-fix-mouse-clicking.patch
+ patch -Np1 -i $srcdir/sdl-1.2.14-disable-mmx.patch
+ ./configure --prefix=/usr --disable-nasm --enable-alsa --enable-esd \
+ --with-x --disable-rpath --disable-static
+ make
+}
+
+package() {
+ cd ${srcdir}/SDL-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
Copied: sdl/repos/testing-i686/sdl-1.2.14-disable-mmx.patch (from rev 147082, sdl/trunk/sdl-1.2.14-disable-mmx.patch)
===================================================================
--- testing-i686/sdl-1.2.14-disable-mmx.patch (rev 0)
+++ testing-i686/sdl-1.2.14-disable-mmx.patch 2012-01-21 17:53:37 UTC (rev 147084)
@@ -0,0 +1,13 @@
+# and another one from FS#26020
+
+--- a/src/video/SDL_yuv_sw.c 2009-10-13 06:07:15.000000000 +0700
++++ b/src/video/SDL_yuv_sw.c 2011-09-20 19:26:30.247742620 +0700
+@@ -89,6 +89,8 @@
+ #include "SDL_yuvfuncs.h"
+ #include "SDL_yuv_sw_c.h"
+
++#undef __OPTIMIZE__
++
+ /* The functions used to manipulate software video overlays */
+ static struct private_yuvhwfuncs sw_yuvfuncs = {
+ SDL_LockYUV_SW,
Copied: sdl/repos/testing-i686/sdl-1.2.14-fix-mouse-clicking.patch (from rev 147082, sdl/trunk/sdl-1.2.14-fix-mouse-clicking.patch)
===================================================================
--- testing-i686/sdl-1.2.14-fix-mouse-clicking.patch (rev 0)
+++ testing-i686/sdl-1.2.14-fix-mouse-clicking.patch 2012-01-21 17:53:37 UTC (rev 147084)
@@ -0,0 +1,23 @@
+--- SDL-1.2.14/src/video/x11/SDL_x11events.c.orig 2010-04-08 11:57:05.003169834 -0700
++++ SDL-1.2.14/src/video/x11/SDL_x11events.c 2010-04-08 12:33:51.690926340 -0700
+@@ -423,12 +423,15 @@
+ if ( xevent.xcrossing.mode == NotifyUngrab )
+ printf("Mode: NotifyUngrab\n");
+ #endif
+- if ( this->input_grab == SDL_GRAB_OFF ) {
+- posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
++ if ( (xevent.xcrossing.mode != NotifyGrab) &&
++ (xevent.xcrossing.mode != NotifyUngrab) ) {
++ if ( this->input_grab == SDL_GRAB_OFF ) {
++ posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
++ }
++ posted = SDL_PrivateMouseMotion(0, 0,
++ xevent.xcrossing.x,
++ xevent.xcrossing.y);
+ }
+- posted = SDL_PrivateMouseMotion(0, 0,
+- xevent.xcrossing.x,
+- xevent.xcrossing.y);
+ }
+ break;
+
Copied: sdl/repos/testing-x86_64/PKGBUILD (from rev 147083, sdl/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-01-21 17:53:37 UTC (rev 147084)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+pkgname=sdl
+pkgver=1.2.15
+pkgrel=1
+pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
+arch=('i686' 'x86_64')
+url="http://www.libsdl.org"
+license=('LGPL')
+depends=('glibc' 'libxext' 'libxrender' 'libx11')
+makedepends=('alsa-lib' 'mesa' 'libpulse')
+options=('!libtool')
+source=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz
+ sdl-1.2.14-fix-mouse-clicking.patch
+ sdl-1.2.14-disable-mmx.patch)
+md5sums=('9d96df8417572a2afb781a7c4c811a85'
+ '04d8c179f125e04bcd4c9d60e013c2d7'
+ 'e5c16b7611f62c7cb25f0534eff68852')
+
+build() {
+ cd ${srcdir}/SDL-${pkgver}
+ patch -Np1 -i $srcdir/sdl-1.2.14-fix-mouse-clicking.patch
+ patch -Np1 -i $srcdir/sdl-1.2.14-disable-mmx.patch
+ ./configure --prefix=/usr --disable-nasm --enable-alsa --enable-esd \
+ --with-x --disable-rpath --disable-static
+ make
+}
+
+package() {
+ cd ${srcdir}/SDL-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
Copied: sdl/repos/testing-x86_64/sdl-1.2.14-disable-mmx.patch (from rev 147083, sdl/trunk/sdl-1.2.14-disable-mmx.patch)
===================================================================
--- testing-x86_64/sdl-1.2.14-disable-mmx.patch (rev 0)
+++ testing-x86_64/sdl-1.2.14-disable-mmx.patch 2012-01-21 17:53:37 UTC (rev 147084)
@@ -0,0 +1,13 @@
+# and another one from FS#26020
+
+--- a/src/video/SDL_yuv_sw.c 2009-10-13 06:07:15.000000000 +0700
++++ b/src/video/SDL_yuv_sw.c 2011-09-20 19:26:30.247742620 +0700
+@@ -89,6 +89,8 @@
+ #include "SDL_yuvfuncs.h"
+ #include "SDL_yuv_sw_c.h"
+
++#undef __OPTIMIZE__
++
+ /* The functions used to manipulate software video overlays */
+ static struct private_yuvhwfuncs sw_yuvfuncs = {
+ SDL_LockYUV_SW,
Copied: sdl/repos/testing-x86_64/sdl-1.2.14-fix-mouse-clicking.patch (from rev 147083, sdl/trunk/sdl-1.2.14-fix-mouse-clicking.patch)
===================================================================
--- testing-x86_64/sdl-1.2.14-fix-mouse-clicking.patch (rev 0)
+++ testing-x86_64/sdl-1.2.14-fix-mouse-clicking.patch 2012-01-21 17:53:37 UTC (rev 147084)
@@ -0,0 +1,23 @@
+--- SDL-1.2.14/src/video/x11/SDL_x11events.c.orig 2010-04-08 11:57:05.003169834 -0700
++++ SDL-1.2.14/src/video/x11/SDL_x11events.c 2010-04-08 12:33:51.690926340 -0700
+@@ -423,12 +423,15 @@
+ if ( xevent.xcrossing.mode == NotifyUngrab )
+ printf("Mode: NotifyUngrab\n");
+ #endif
+- if ( this->input_grab == SDL_GRAB_OFF ) {
+- posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
++ if ( (xevent.xcrossing.mode != NotifyGrab) &&
++ (xevent.xcrossing.mode != NotifyUngrab) ) {
++ if ( this->input_grab == SDL_GRAB_OFF ) {
++ posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
++ }
++ posted = SDL_PrivateMouseMotion(0, 0,
++ xevent.xcrossing.x,
++ xevent.xcrossing.y);
+ }
+- posted = SDL_PrivateMouseMotion(0, 0,
+- xevent.xcrossing.x,
+- xevent.xcrossing.y);
+ }
+ break;
+
More information about the arch-commits
mailing list