Package Details: jstest-gtk-git 0.1.0.r127.g92bdf8e-1

Git Clone URL: https://aur.archlinux.org/jstest-gtk-git.git (read-only, click to copy)
Package Base: jstest-gtk-git
Description: A simple GTK2-based joystick tester and calibrator
Upstream URL: https://github.com/Grumbel/jstest-gtk
Licenses: GPL3
Submitter: ZekeSulastin
Maintainer: fermino
Last Packager: fermino
Votes: 122
Popularity: 1.04
First Submitted: 2012-06-06 02:00 (UTC)
Last Updated: 2025-04-03 16:17 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

fermino commented on 2025-04-03 16:18 (UTC)

@tyrheimdal done!

tyrheimdal commented on 2025-04-03 16:11 (UTC)

@fermino The patch has been applied upstream now; https://github.com/Grumbel/jstest-gtk/commit/92bdf8e945a6d14fdd0aa6fa961f6da34f5ac810) ... thus the patch needs to be removed.

fermino commented on 2025-04-01 16:41 (UTC)

@osimarr thank you for the fix! I just pushed the changes and updated it to use sha256sums :)

osimarr commented on 2025-04-01 04:42 (UTC) (edited on 2025-04-01 04:46 (UTC) by osimarr)

I got it working.

I created a patch file called fix_cmake_min_version.patch:

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 323a305..40c8854 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,7 +14,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.

-cmake_minimum_required(VERSION 3.0)
+cmake_minimum_required(VERSION 3.5)
 project(jstest-gtk VERSION 0.1.1)

 include(GNUInstallDirs)

Then fixed the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 58a1cc4..83170b7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
 pkgdesc="A simple GTK2-based joystick tester and calibrator"
 arch=('i686' 'x86_64')
 url="https://github.com/Grumbel/jstest-gtk"
-source=("git+$url.git" 'jstest-gtk.desktop' 'fix_datadir.patch')
+source=("git+$url.git" 'jstest-gtk.desktop' 'fix_datadir.patch' 'fix_cmake_min_version.patch')
 license=('GPL3')
 depends=('gtkmm3')
 makedepends=('git' 'cmake')
@@ -16,7 +16,8 @@ _gitname="jstest-gtk"

 sha1sums=('SKIP'
           '4a8a3f5ac41b509fdfc0aec7cf017447e58ec973'
-          '1c1cdc1c2d98c18ce4b0523c53b8be8a08f4eeed')
+          '1c1cdc1c2d98c18ce4b0523c53b8be8a08f4eeed'
+          '873ea549acfde602c7efb6eafec10842cb55df93')

 pkgver() {
   cd "$_gitname"
@@ -28,6 +29,7 @@ build() {

   msg "Patching..."
   patch -p1 < "../fix_datadir.patch"
+  patch -p1 < "../fix_cmake_min_version.patch"

   if [[ ! -e 'build' ]]; then
       mkdir build
@@ -47,6 +49,3 @@ package() {
   cp -r "../jstest-gtk/data" "${pkgdir}/usr/share/jstest-gtk/"
 }

-sha1sums=('SKIP'
-          '4a8a3f5ac41b509fdfc0aec7cf017447e58ec973'
-          '1c1cdc1c2d98c18ce4b0523c53b8be8a08f4eeed')

osimarr commented on 2025-04-01 04:33 (UTC)

Compilation error:

==> Patching... patching file src/main.cpp CMake Error at CMakeLists.txt:17 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake.

Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier.

Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

-- Configuring incomplete, errors occurred! ==> ERROR: A failure occurred in build(). Aborting... -> error making: jstest-gtk-git-exit status 4 -> Failed to install the following packages. Manual intervention is required: jstest-gtk-git - exit status 4

fermino commented on 2024-09-02 13:00 (UTC)

I just updated the package to fix the mismatching url/source variables. Everything should be ok.

settyness commented on 2024-06-27 05:22 (UTC)

What's going on with this package?

denilsonsa commented on 2023-12-19 11:56 (UTC) (edited on 2023-12-19 11:58 (UTC) by denilsonsa)

@deemon that's not the latest commit when I click on the links here. The log shows commit dbbf3df as the second-to-latest, and the latest one is from September, a few months ago: 2eb6b1a. This one still points url to the non-existing gitlab repository, but the source is correctly fetching from github.

deemon commented on 2023-12-19 11:47 (UTC) (edited on 2023-12-19 13:18 (UTC) by deemon)

@denilsonsa nvm. Is yay problem (reported). Installed just fine with sudo pamac install jstest-gtk-git.

denilsonsa commented on 2023-12-19 03:31 (UTC)

@deemon you seem to be using and old PKGBUILD version. The latest version pulls from github and builds just fine. I don't think this package is out-of-date.