diff -Nru lbreakout2-2.6.5/debian/changelog lbreakout2-2.6.5/debian/changelog --- lbreakout2-2.6.5/debian/changelog 2016-03-27 12:20:18.000000000 +0000 +++ lbreakout2-2.6.5/debian/changelog 2019-02-21 12:04:56.000000000 +0000 @@ -1,3 +1,15 @@ +lbreakout2 (2.6.5-2) unstable; urgency=medium + + * Team upload. + * Move package into team maintenance of Debian Games team + * Prevent random pauses ingame without external actions (thanks for the + patch to bitfreak25 + Closes: #916606 + * Standards-Version: 4.3.0 + * Drop unneeded versioned Build-Depends: dpkg-dev + + -- Andreas Tille Thu, 21 Feb 2019 13:04:56 +0100 + lbreakout2 (2.6.5-1) unstable; urgency=medium * New upstream release. (Closes: #810922) diff -Nru lbreakout2-2.6.5/debian/control lbreakout2-2.6.5/debian/control --- lbreakout2-2.6.5/debian/control 2016-03-27 12:11:50.000000000 +0000 +++ lbreakout2-2.6.5/debian/control 2019-02-21 12:04:56.000000000 +0000 @@ -1,10 +1,13 @@ Source: lbreakout2 Section: games Priority: optional -Maintainer: Colin Tuckley -Build-Depends: debhelper (>= 9), libsdl1.2-dev, libpng-dev, libsdl-mixer1.2-dev, autotools-dev, dpkg-dev (>= 1.16.1~) +Maintainer: Debian Games Team +Uploaders: Colin Tuckley +Build-Depends: debhelper (>= 9), libsdl1.2-dev, libpng-dev, libsdl-mixer1.2-dev, autotools-dev +Vcs-Browser: https://salsa.debian.org/games-team/lbreakout2 +Vcs-Git: https://salsa.debian.org/games-team/lbreakout2.git Homepage: http://lgames.sourceforge.net/index.php?project=LBreakout2 -Standards-Version: 3.9.7 +Standards-Version: 4.3.0 Package: lbreakout2 Architecture: any diff -Nru lbreakout2-2.6.5/debian/patches/sdl_fix_pauses.patch lbreakout2-2.6.5/debian/patches/sdl_fix_pauses.patch --- lbreakout2-2.6.5/debian/patches/sdl_fix_pauses.patch 1970-01-01 00:00:00.000000000 +0000 +++ lbreakout2-2.6.5/debian/patches/sdl_fix_pauses.patch 2019-02-21 12:04:56.000000000 +0000 @@ -0,0 +1,25 @@ +Author: bitfreak25 +Last-Update: Sun, 13 Jan 2019 01:35:08 +0100 +Bug-Debian: https://bugs.debian.org/916606 +Description: Prevent random pauses ingame without external actions + +--- a/client/game.c ++++ b/client/game.c +@@ -1150,6 +1150,17 @@ void client_game_run( void ) + /* check whether an event occured */ + button_clicked = key_pressed = 0; + if ( SDL_PollEvent( &event ) ) { ++ // Special code for broken SDL with Xorg 1.20.1, where pairs of inputfocus gain and loss events are generated ++ // when locking the mouse in windowed mode. ++ if (event.type == SDL_ACTIVEEVENT && event.active.state == SDL_APPINPUTFOCUS && event.active.gain == 0) { ++ SDL_Event test; //Check if the next event would undo this one. ++ if (SDL_PeepEvents(&test,1,SDL_PEEKEVENT,SDL_ACTIVEEVENTMASK) == 1 && test.active.state == SDL_APPINPUTFOCUS && test.active.gain == 1) { ++ // Skip both events. ++ SDL_PeepEvents(&test,1,SDL_GETEVENT,SDL_ACTIVEEVENTMASK); ++ continue; ++ } ++ } ++ + if ( client_state == CS_PAUSE && game->game_type == GT_NETWORK ) + gui_dispatch_event( &event, ms ); + else diff -Nru lbreakout2-2.6.5/debian/patches/series lbreakout2-2.6.5/debian/patches/series --- lbreakout2-2.6.5/debian/patches/series 2016-03-27 12:29:29.000000000 +0000 +++ lbreakout2-2.6.5/debian/patches/series 2019-02-21 12:04:56.000000000 +0000 @@ -1,2 +1,3 @@ 10-ball-turbo-key-pref.patch spelling-fixes.patch +sdl_fix_pauses.patch