commit e86b1a1e68dd260bdcf5d9222fe0e36ce1b3edee Author: Jose V Beneyto <jose.beneyto@eslife.es> Date: Fri Nov 28 17:40:35 2014 +0000 libsdl: added patch to fix tearing issues when composite is disabled (thanks to Matt Housh) diff --git a/libsdl/.md5sum b/libsdl/.md5sum index 17dc47c..13bd83e 100644 --- a/libsdl/.md5sum +++ b/libsdl/.md5sum @@ -1,2 +1,3 @@ 9d96df8417572a2afb781a7c4c811a85 SDL-1.2.15.tar.gz +9d94caa7f2eef5163f11339cf59e5ed2 libsdl-1.2.15-bs.patch ebff7a0aef0b79a0199e394ff9b212ab libsdl-1.2.x-libx11.patch diff --git a/libsdl/Pkgfile b/libsdl/Pkgfile index 3e264f9..39e71a4 100644 --- a/libsdl/Pkgfile +++ b/libsdl/Pkgfile @@ -6,14 +6,15 @@ name=libsdl version=1.2.15 -release=2 +release=3 source=(http://www.libsdl.org/release/SDL-$version.tar.gz \ - $name-1.2.x-libx11.patch) + $name-1.2.x-libx11.patch $name-$version-bs.patch) build () { cd SDL-$version patch -p1 -i $SRC/$name-1.2.x-libx11.patch + patch -p1 -i $SRC/$name-$version-bs.patch ./configure --prefix=/usr \ --enable-alsa \ diff --git a/libsdl/README b/libsdl/README new file mode 100644 index 0000000..e9fd0ac --- /dev/null +++ b/libsdl/README @@ -0,0 +1,8 @@ + +README for libsdl-1.2.x + +NOTES + +Backing store is enabled by default. To see more information see: +https://bugzilla.libsdl.org/show_bug.cgi?id=2383 +https://bugs.freedesktop.org/show_bug.cgi?id=74158 diff --git a/libsdl/libsdl-1.2.15-bs.patch b/libsdl/libsdl-1.2.15-bs.patch new file mode 100644 index 0000000..3e0132d --- /dev/null +++ b/libsdl/libsdl-1.2.15-bs.patch @@ -0,0 +1,12 @@ +diff -urN SDL-1.2.15.orig/src/video/x11/SDL_x11video.c SDL-1.2.15/src/video/x11/SDL_x11video.c +--- SDL-1.2.15.orig/src/video/x11/SDL_x11video.c 2012-01-19 00:30:06.000000000 -0600 ++++ SDL-1.2.15/src/video/x11/SDL_x11video.c 2014-11-24 11:06:26.103652066 -0600 +@@ -1088,7 +1088,7 @@ + } + } + +-#if 0 /* This is an experiment - are the graphics faster now? - nope. */ ++#if 1 /* This is an experiment - are the graphics faster now? - nope. */ + if ( SDL_getenv("SDL_VIDEO_X11_BACKINGSTORE") ) + #endif + /* Cache the window in the server, when possible */