Package Details: sdl2-jstest-git r82.aafbdb1-1

Git Clone URL: https://aur.archlinux.org/sdl2-jstest-git.git (read-only, click to copy)
Package Base: sdl2-jstest-git
Description: Simple SDL joystick test application for the command line.
Upstream URL: https://gitlab.com/sdl-jstest/sdl-jstest.git
Licenses: GPLv3 or any later version
Provides: sdl2-jstest
Submitter: Chais
Maintainer: None
Last Packager: rokku
Votes: 24
Popularity: 0.000000
First Submitted: 2014-09-19 15:49 (UTC)
Last Updated: 2021-03-19 23:50 (UTC)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

prg commented on 2023-09-19 16:26 (UTC)

The sdl-jstest gitlab repo 404s now. I see some forks on github FWIW but not sure where the official home for sdl-jstest is now

HurricanePootis commented on 2023-03-13 07:09 (UTC)

- tinycmmc module path: /home/hurricane/.cache/paru/clone/sdl2-jstest-git/src/sdl-jstest/external/cmake-modules/modules/
CMake Error at CMakeLists.txt:31 (include):
  include could not find requested file:

    GetProjectVersion


-- Looking for wsyncup in /usr/lib/libcurses.so
-- Looking for wsyncup in /usr/lib/libcurses.so - found
-- Looking for cbreak in /usr/lib/libncurses.so
-- Looking for cbreak in /usr/lib/libncurses.so - found
-- Looking for nodelay in /usr/lib/libncurses.so
-- Looking for nodelay in /usr/lib/libncurses.so - found
-- Found Curses: /usr/lib/libncurses.so  
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found SDL: /usr/lib/libSDLmain.a;/usr/lib/libSDL.so (found version "1.2.61") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") 
-- Checking for one of the modules 'sdl2'
CMake Error at CMakeLists.txt:108 (file):
  file COPY cannot find
  "/home/hurricane/.cache/paru/clone/sdl2-jstest-git/src/sdl-jstest/SDL_GameControllerDB/gamecontrollerdb.txt":
  No such file or directory.


rokku commented on 2022-12-13 14:12 (UTC)

@VayuDev: Thanks for the report. I recognised the error, too and still investigating whats the problem.

VayuDev commented on 2022-12-10 10:43 (UTC)

Hey, I currently have a problem building this package, I'm getting the exact errors as mentioned here: https://gitlab.com/sdl-jstest/sdl-jstest/-/issues/14

Maybe we can revert to an older commit to fix this problem? I'm not really sure what's the issue.

rokku commented on 2022-07-26 01:04 (UTC)

Thanks to all for the posts. I am currently reworking the package and testing.

loathingkernel commented on 2022-07-24 12:20 (UTC)

Please handle submodules properly

https://wiki.archlinux.org/title/VCS_package_guidelines#Git_submodules

silverhikari commented on 2022-06-13 15:00 (UTC) (edited on 2022-06-13 15:14 (UTC) by silverhikari)

here is a patch for the CMakeLists to fix the problem with the gitmodules and also a seeming non-functional variable

--- CMakeLists.txt  2022-06-13 10:56:28.938690337 -0400
+++ CMakeLists-new.txt  2022-06-13 10:57:29.390167378 -0400
@@ -28,7 +28,6 @@
 option(BUILD_SDL_JSTEST "Build sdl-jstest" ON)
 option(BUILD_SDL2_JSTEST "Build sdl2-jstest" ON)

-include(GetProjectVersion)
 include(GNUInstallDirs)

 add_definitions(-DSDL_JSTEST_VERSION="${PROJECT_VERSION}")
@@ -105,7 +104,7 @@
   file(COPY sdl2-jstest.1
     DESTINATION ${CMAKE_CURRENT_BINARY_DIR})

-  file(COPY SDL_GameControllerDB/gamecontrollerdb.txt
+  file(COPY external/sdl_gamecontrollerdb/gamecontrollerdb.txt
     DESTINATION ${CMAKE_CURRENT_BINARY_DIR})

   install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gamecontrollerdb.txt

Genstar commented on 2022-04-10 04:25 (UTC) (edited on 2022-04-10 04:30 (UTC) by Genstar)

@magamo I believe that something in the .gitmodules file was wrong as the path for the SDL_GameControllerDB submodule directory was wrong, pointing to a non-existent external/SDL_GameControllerDB instead of the SDL_GameControllerDB directory in the git repo.

The hacky way of makepkg -so then modifiying the line

        path = external/SDL_GameControllerDB

to

        path = SDL_GameControllerDB

and then doing makepkg -esi works for installing the package (I haven't done any runtime tests yet as it's very late past midnight.)

magamo commented on 2022-04-01 11:40 (UTC)

About a week and a half ago, this package stopped building after a recent git commit. Thanks!

fatal: No url found for submodule path 'SDL_GameControllerDB' in .gitmodules ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'sdl2-jstest-git-r82.aafbdb1-1':

rokku commented on 2021-03-19 23:53 (UTC) (edited on 2021-03-19 23:55 (UTC) by rokku)

Update is done.

Major changes

  • add sdl to dependencies

  • move docbook2x to makedepend

  • change pkgver

  • remove mandb update

mandb update removal:

it took to long and is annoying to wait for. if the user needs the manual a manual mandb is recommended or adding the pacman ondemand hook.