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: rokku
Last Packager: rokku
Votes: 24
Popularity: 0.009200
First Submitted: 2014-09-19 15:49 (UTC)
Last Updated: 2021-03-19 23:50 (UTC)

Pinned Comments

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

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

Latest Comments

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.

rokku commented on 2021-02-18 16:13 (UTC)

@rien333: yes, i will update the source array to the new gitlab url. i have adopted it because i am using it for myself to test joysticks. i release the update soon.

rien333 commented on 2021-02-17 15:13 (UTC)

@rokku: I've see you've adopted this package (thanks, I marked it as orphaned). Still, it would be nice if you could do something about the "out of date" status of this package (even if the only thing you do is remove the status). As the out of data message reads, it would be nicest if you could update the source array to the new gitlab url: https://gitlab.com/sdl-jstest/sdl-jstest.

rien333 commented on 2020-10-19 17:03 (UTC) (edited on 2021-02-11 08:11 (UTC) by rien333)

What is outdated about this package exactly, and could someone fix this? EDIT: nvm, the sources moved. Unlike what the "outdated" package request states, this builds fine.

yar commented on 2019-07-08 17:13 (UTC)

Still needs depends=(sdl)

st0rmingbr4in commented on 2019-05-28 19:29 (UTC)

Recursive git clone needed.

yar commented on 2019-05-23 04:21 (UTC) (edited on 2019-05-23 04:52 (UTC) by yar)

Adding depends=(sdl) isn't enough, it still won't build with makechrootpkg:

==> Starting build()...
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.21.0")
-- 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
-- Found Curses: /usr/lib/libncurses.so
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found SDL: /usr/lib/libSDLmain.a;/usr/lib/libSDL.so;-lpthread (found version "1.2.15")
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.1")
-- Checking for one of the modules 'sdl2'
CMake Error at CMakeLists.txt:109 (file):
  file COPY cannot find
  "/build/sdl2-jstest-git/src/sdl-jstest/SDL_GameControllerDB/gamecontrollerdb.txt".


-- Configuring incomplete, errors occurred!
See also "/build/sdl2-jstest-git/src/sdl-jstest/CMakeFiles/CMakeOutput.log".
See also "/build/sdl2-jstest-git/src/sdl-jstest/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().

chowbok commented on 2018-10-08 17:47 (UTC) (edited on 2018-10-08 17:47 (UTC) by chowbok)

Hi, thanks for providing this. A few issues, though:

1) Can you add "aarch64" to the supported architectures? It builds fine on there.

2) Looks like "sdl" is a dependency, not just "sdl2".

3) Is running "mandb" after install really necessary? I've never seen another package do that, and it takes a while to run.

Chais commented on 2017-11-04 15:44 (UTC)

Issue with ncurses 6 fixed upstream.

xDShot commented on 2017-11-04 09:54 (UTC)

Can't build: LANG=en yaourt -S sdl2-jstest-git ==> Downloading sdl2-jstest-git PKGBUILD from AUR... bsdtar: Failed to set default locale x .SRCINFO x PKGBUILD x sdl2-jstest-git.install egore911 commented on 2016-11-15 22:43 Is docbook2x actually a runtime dependency? IMO it should be enough to be in makedepends. sdl2-jstest-git 35.3f54b86-2 (2015-07-28 10:10) ( Unsupported package: Potentially dangerous ! ) ==> sdl2-jstest-git dependencies: - sdl2 (already installed) - ncurses (already installed) - docbook2x (already installed) - git (already installed) [makedepend] - cmake (already installed) [makedepend] ==> Continue building sdl2-jstest-git ? [Y/n] ==> ----------------------------------------- ==> y ==> Building and installing package ==> Making package: sdl2-jstest-git 35.3f54b86-2 (Sat Nov 4 12:56:19 MSK 2017) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Cloning sdl-jstest git repo... Cloning into bare repository '/tmp/yaourt-tmp-xdshot/aur-sdl2-jstest-git/sdl-jstest'... remote: Counting objects: 187, done. remote: Total 187 (delta 0), reused 0 (delta 0), pack-reused 187 Receiving objects: 100% (187/187), 45.98 KiB | 167.00 KiB/s, done. Resolving deltas: 100% (114/114), done. -> Found sdl2-jstest-git.install ==> Validating source files with sha512sums... sdl-jstest ... Skipped sdl2-jstest-git.install ... Passed ==> Extracting sources... -> Creating working copy of sdl-jstest git repo... Cloning into 'sdl-jstest'... done. ==> Starting pkgver()... ==> Updated version: sdl2-jstest-git 50.df3a959-1 ==> Starting build()... -- The C compiler identification is GNU 7.2.0 -- The CXX compiler identification is GNU 7.2.0 -- Check for working C compiler: /usr/lib/ccache/bin/cc -- Check for working C compiler: /usr/lib/ccache/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/lib/ccache/bin/c++ -- Check for working CXX compiler: /usr/lib/ccache/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Curses: /usr/lib/libcurses.so -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found SDL: /usr/lib/libSDLmain.a;/usr/lib/libSDL.so;-lpthread (found version "1.2.15") -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Checking for one of the modules 'sdl2' -- docbook2x-man: not found -- Configuring done -- Generating done -- Build files have been written to: /tmp/yaourt-tmp-xdshot/aur-sdl2-jstest-git/src/sdl-jstest Scanning dependencies of target sdl2-jstest [ 50%] Building C object CMakeFiles/sdl2-jstest.dir/sdl2-jstest.c.o [100%] Linking C executable sdl2-jstest /usr/bin/ld: CMakeFiles/sdl2-jstest.dir/sdl2-jstest.c.o: undefined reference to symbol 'stdscr' /usr/lib/libtinfo.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[3]: *** [CMakeFiles/sdl2-jstest.dir/build.make:97: sdl2-jstest] Error 1 make[2]: *** [CMakeFiles/Makefile2:68: CMakeFiles/sdl2-jstest.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:80: CMakeFiles/sdl2-jstest.dir/rule] Error 2 make: *** [Makefile:164: sdl2-jstest] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build sdl2-jstest-git. ==> Restart building sdl2-jstest-git ? [y/N] ==> ----------------------------------------

egore911 commented on 2016-11-15 22:43 (UTC)

Is docbook2x actually a runtime dependency? IMO it should be enough to be in makedepends.