Home
Solus
Search
Configure Global Search
Log In
Transactions
T8184
Change Details
Change Details
Old
New
Diff
This is a task regarding SDL2 update, to check if everything works and can be build Local Building [x] SDL2 - rev deps [x] sdl2-32bit [x] sdl2-gfx [x] sdl2-image [x] sdl2-mixer [x] sdl2-net [x] sdl2-ttf [x] 0ad [x] astromenace [x] audacious-plugins [x] blender [x] blobby2 [x] bzflag [x] chocolate-doom [x] dhewm3 [x] dolphin-emu [x] doomsday-engine [x] dreamchess [x] endless-sky [x] etlegacy [x] faudio [x] ffmpeg [x] fifechan [x] fifengine [x] flare-engine [x] freeorion [x] fs-uae-dev [x] gegl [x] gource [x] guvcview [x] gweled [x] gzdoom [x] hatari [x] hedgewars [x] iortcw [x] libmikmod [x] libTAS [x] love [x] lugaru [x] m64py [x] mame [x] megaglest [x] megazeux [x] mgba [x] milkytracker [x] mlt [x] movit [x] mrboom [x] mupen64plus [x] naev [x] neverball [x] ogre [x] ois [x] openal-soft [x] openclonk [x] openmw [x] openra [x] openrct2 [x] openspades [x] openscenegraph [x] pacman [x] pcsx2 [x] pioneer [x] ppsspp [x] projectm [x] qdriverstation [x] qemu [x] qrencode [x] quakespasm [x] razer-drivers [x] redeclipse [x] retroarch [x] scrcpy [x] scummvm [x] snes9x-gtk [x] solarus [x] starfighter [x] stella [x] stone-soup [x] supertux [x] taisei [x] teeworlds [x] The-Powder-Toy [x] vcmi [x] VisualBoyAdvance-M [x] warzone2100 [x] wesnoth [x] widelands [x] wine [x] wxPython [x] xonotic [x] yquake2 - rundeps [ ] python-sdl2 [ ] steam [ ] wine - fails to build [ ] freedink - Fails to build with sdl2 2.0.10 update but builds fine with 2.0.9 ``` input.cpp: In function ‘void input_init()’: input.cpp:94:15: error: ‘SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH’ was not declared in this scope SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ input.cpp:94:15: note: suggested alternative: ‘SDL_HINT_ANDROID_TRAP_BACK_BUTTON’ SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SDL_HINT_ANDROID_TRAP_BACK_BUTTON make[2]: *** [Makefile:2096: input.o] Error 1 make[2]: *** Waiting for unfinished jobs.... freedink.cpp: In function ‘void run_through_touch_damage_list(int)’: freedink.cpp:776:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (spr[i].script != 0) ^~ freedink.cpp:778:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ if (hurt_thing(h, spr[i].touch_damage, 0) > 0) ^~ ``` [ ] klystrack [ ] manaplus configure: libcurl issue [ ] opentoonz ninja: error: build.ninja:1651: multiple rules generate tnzcore/CMakeFiles/tnzcore_lst_file [-w dupbuild=err] [ ] qmc2 No rule to make target 'QtWebKit/QWebView', needed by 'ui_htmleditor.h'. Stop. [ ] shotcut No rule to make target 'QtWebKitWidgets/QWebView', needed by 'ui_htmleditor.h'. Stop. [ ] solarus-quest-editor [ ] usdx - remove from repo ? [ ] antimicro - Source repo seems to be abandoned and causes issues on other distros as well
This is a task regarding SDL2 update, to check if everything works and can be build Local Building [x] SDL2 - rev deps [x] sdl2-32bit [x] sdl2-gfx [x] sdl2-image [x] sdl2-mixer [x] sdl2-net [x] sdl2-ttf [x] 0ad [x] astromenace [x] audacious-plugins [x] blender [x] blobby2 [x] bzflag [x] chocolate-doom [x] dhewm3 [x] dolphin-emu [x] doomsday-engine [x] dreamchess [x] endless-sky [x] etlegacy [x] faudio [x] ffmpeg [x] fifechan [x] fifengine [x] flare-engine [x] freeorion [x] fs-uae-dev [x] gegl [x] gource [x] guvcview [x] gweled [x] gzdoom [x] hatari [x] hedgewars [x] iortcw [x] libmikmod [x] libTAS [x] love [x] lugaru [x] m64py [x] mame [x] megaglest [x] megazeux [x] mgba [x] milkytracker [x] mlt [x] movit [x] mrboom [x] mupen64plus [x] naev [x] neverball [x] ogre [x] ois [x] openal-soft [x] openclonk [x] openmw [x] openra [x] openrct2 [x] openspades [x] openscenegraph [x] pacman [x] pcsx2 [x] pioneer [x] ppsspp [x] projectm [x] qdriverstation [x] qemu [x] qrencode [x] quakespasm [x] razer-drivers [x] redeclipse [x] retroarch [x] scrcpy [x] scummvm [x] snes9x-gtk [x] solarus [x] starfighter [x] stella [x] stone-soup [x] supertux [x] taisei [x] teeworlds [x] The-Powder-Toy [x] vcmi [x] VisualBoyAdvance-M [x] warzone2100 [x] wesnoth [x] widelands [x] wine [x] wxPython [x] xonotic [x] yquake2 - rundeps [ ] python-sdl2 [ ] steam [ ] wine - fails to build [x] freedink ``` diff --git a/src/input.cpp b/src/input.cpp index b5ae21e..9c4186a 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -91,7 +91,8 @@ void input_init(void) // TODO: don't attempt to simulate mouse events from touch events - // fake mouse events often are de-centered - SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0"); + SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS, "1"); + SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "1"); /* Touch devices */ { ``` [ ] klystrack [ ] manaplus configure: libcurl issue [ ] opentoonz ninja: error: build.ninja:1651: multiple rules generate tnzcore/CMakeFiles/tnzcore_lst_file [-w dupbuild=err] [ ] qmc2 No rule to make target 'QtWebKit/QWebView', needed by 'ui_htmleditor.h'. Stop. [ ] shotcut No rule to make target 'QtWebKitWidgets/QWebView', needed by 'ui_htmleditor.h'. Stop. [ ] solarus-quest-editor [ ] usdx - remove from repo ? [ ] antimicro - Source repo seems to be abandoned and causes issues on other distros as well
This is a task regarding SDL2 update, to check if everything works and can be build Local Building [x] SDL2 - rev deps [x] sdl2-32bit [x] sdl2-gfx [x] sdl2-image [x] sdl2-mixer [x] sdl2-net [x] sdl2-ttf [x] 0ad [x] astromenace [x] audacious-plugins [x] blender [x] blobby2 [x] bzflag [x] chocolate-doom [x] dhewm3 [x] dolphin-emu [x] doomsday-engine [x] dreamchess [x] endless-sky [x] etlegacy [x] faudio [x] ffmpeg [x] fifechan [x] fifengine [x] flare-engine [x] freeorion [x] fs-uae-dev [x] gegl [x] gource [x] guvcview [x] gweled [x] gzdoom [x] hatari [x] hedgewars [x] iortcw [x] libmikmod [x] libTAS [x] love [x] lugaru [x] m64py [x] mame [x] megaglest [x] megazeux [x] mgba [x] milkytracker [x] mlt [x] movit [x] mrboom [x] mupen64plus [x] naev [x] neverball [x] ogre [x] ois [x] openal-soft [x] openclonk [x] openmw [x] openra [x] openrct2 [x] openspades [x] openscenegraph [x] pacman [x] pcsx2 [x] pioneer [x] ppsspp [x] projectm [x] qdriverstation [x] qemu [x] qrencode [x] quakespasm [x] razer-drivers [x] redeclipse [x] retroarch [x] scrcpy [x] scummvm [x] snes9x-gtk [x] solarus [x] starfighter [x] stella [x] stone-soup [x] supertux [x] taisei [x] teeworlds [x] The-Powder-Toy [x] vcmi [x] VisualBoyAdvance-M [x] warzone2100 [x] wesnoth [x] widelands [x] wine [x] wxPython [x] xonotic [x] yquake2 - rundeps [ ] python-sdl2 [ ] steam [ ] wine - fails to build [
x
] freedink
- Fails to build with sdl2 2.0.10 update but builds fine with 2.0.9
```
input.cpp: In function ‘void input_init()’:
diff --git a/src/input.cpp b/src/input.cpp
input.cpp:94:15: error: ‘SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH’ was not declared in this scope
index b5ae21e..9c4186a 100644
SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0");
--- a/src/input.cpp
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+++ b/src/input.cpp
input.cpp:94:15: note: suggested alternative: ‘SDL_HINT_ANDROID_TRAP_BACK_BUTTON’
@@ -91,7 +91,8 @@ void input_init(void)
SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SDL_HINT_ANDROID_TRAP_BACK_BUTTON make[2]: *** [Makefile:2096: input.o] Error 1
// TODO: don't attempt to simulate mouse events from touch events -
make[2]: *** Waiting for unfinished jobs.... freedink.cpp: In function ‘void run_through_touch_damage_list(int)’: freedink.cpp:776:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
// fake mouse events often are de-centered
if (spr[i].script != 0)
- SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0");
^~
+ SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS, "1");
freedink.cpp:778:8: note: ...this statement
+ SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS
,
but the latter is misleadingly indented as if it were guarded by the ‘if’
"1");
if (hurt_thing(h, spr[i].t
/* T
ouch
_damage, 0) > 0)
devices */
^~
{
``` [ ] klystrack [ ] manaplus configure: libcurl issue [ ] opentoonz ninja: error: build.ninja:1651: multiple rules generate tnzcore/CMakeFiles/tnzcore_lst_file [-w dupbuild=err] [ ] qmc2 No rule to make target 'QtWebKit/QWebView', needed by 'ui_htmleditor.h'. Stop. [ ] shotcut No rule to make target 'QtWebKitWidgets/QWebView', needed by 'ui_htmleditor.h'. Stop. [ ] solarus-quest-editor [ ] usdx - remove from repo ? [ ] antimicro - Source repo seems to be abandoned and causes issues on other distros as well
Continue