commit 2514898fe57ce22ba7883f32acfaa679bebfb8bf
Author: Jakub Bogusz <[email protected]>
Date:   Tue Sep 17 20:35:50 2024 +0200

    - updated to 1.8.1, uses SDL2 now

 linuxconsoletools-awk.patch   |  7 +++----
 linuxconsoletools-wacom.patch | 26 +++++++++++++-------------
 linuxconsoletools.spec        | 12 +++++++-----
 3 files changed, 23 insertions(+), 22 deletions(-)
---
diff --git a/linuxconsoletools.spec b/linuxconsoletools.spec
index d9c89da..fb4d486 100644
--- a/linuxconsoletools.spec
+++ b/linuxconsoletools.spec
@@ -1,16 +1,17 @@
 Summary:       Tools for connecting joysticks & legacy devices to the kernel's 
input subsystem
 Summary(pl.UTF-8):     Narzędzia podłączające joysticki i tradycyjne 
urządzenia do podsystemu wejścia jądra
 Name:          linuxconsoletools
-Version:       1.5.1
+Version:       1.8.1
 Release:       1
 License:       GPL v2+
 Group:         Applications/System
-Source0:       
http://downloads.sourceforge.net/linuxconsole/%{name}-%{version}.tar.bz2
-# Source0-md5: 86b5c4e8fb6c91c5b7e9298f7dfe5b3e
+Source0:       
https://downloads.sourceforge.net/linuxconsole/%{name}-%{version}.tar.bz2
+# Source0-md5: e68b6f473d81715e7be836b88fff6afe
 Patch0:                %{name}-awk.patch
 Patch1:                %{name}-wacom.patch
-URL:           http://sourceforge.net/projects/linuxconsole/
-BuildRequires: SDL-devel
+URL:           https://sourceforge.net/projects/linuxconsole/
+BuildRequires: SDL2-devel >= 2.0
+BuildRequires: pkgconfig
 Provides:      joystick = %{version}-%{release}
 Obsoletes:     joystick < 1.2.16-1
 Conflicts:     gpm < 1.20.6-26
@@ -67,6 +68,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_datadir}/joystick/*
 %attr(755,root,root) /lib/udev/js-set-enum-leds
 /lib/udev/rules.d/80-stelladaptor-joystick.rules
+%{_mandir}/man1/evdev-joystick.1*
 %{_mandir}/man1/ffcfstress.1*
 %{_mandir}/man1/ffmvforce.1*
 %{_mandir}/man1/ffset.1*
diff --git a/linuxconsoletools-awk.patch b/linuxconsoletools-awk.patch
index 4ef6e3f..bd33cb6 100644
--- a/linuxconsoletools-awk.patch
+++ b/linuxconsoletools-awk.patch
@@ -1,12 +1,11 @@
-diff -NurP --minimal linuxconsoletools-1.4.4-orig/docs/list-inputattach-modes 
linuxconsoletools-1.4.4/docs/list-inputattach-modes
---- linuxconsoletools-1.4.4-orig/docs/list-inputattach-modes   2011-12-15 
16:49:01.000000000 +0100
-+++ linuxconsoletools-1.4.4/docs/list-inputattach-modes        2013-02-05 
23:22:44.137334582 +0100
+--- linuxconsoletools-1.8.1/docs/list-inputattach-modes.orig   2024-09-17 
20:25:40.173166804 +0200
++++ linuxconsoletools-1.8.1/docs/list-inputattach-modes        2024-09-17 
20:28:38.145535978 +0200
 @@ -1,4 +1,4 @@
 -#!/usr/bin/awk -f
 +#!/bin/awk -f
  
  /^  --.*-/ {
-     print ".TP";
+     gsub("-", "\\-", $1)
 diff -NurP --minimal linuxconsoletools-1.4.4-orig/utils/extract 
linuxconsoletools-1.4.4/utils/extract
 --- linuxconsoletools-1.4.4-orig/utils/extract 2011-12-15 16:49:01.000000000 
+0100
 +++ linuxconsoletools-1.4.4/utils/extract      2013-02-05 23:23:06.224000673 
+0100
diff --git a/linuxconsoletools-wacom.patch b/linuxconsoletools-wacom.patch
index 3271b22..6dcf789 100644
--- a/linuxconsoletools-wacom.patch
+++ b/linuxconsoletools-wacom.patch
@@ -1,7 +1,7 @@
---- linuxconsoletools-1.4.8/utils/inputattach.c.orig   2015-01-18 
15:43:41.000000000 +0100
-+++ linuxconsoletools-1.4.8/utils/inputattach.c        2015-06-29 
21:48:52.931946242 +0200
-@@ -622,6 +622,17 @@
-       return 0;
+--- linuxconsoletools-1.8.1/utils/inputattach.c.orig   2024-09-17 
20:28:58.478759157 +0200
++++ linuxconsoletools-1.8.1/utils/inputattach.c        2024-09-17 
20:30:26.121617688 +0200
+@@ -805,6 +805,17 @@ static int elo_init(int fd,
+       return -1;
  }
  
 +static int wacom_v_init(int fd, unsigned long *id, unsigned long *extra)
@@ -18,16 +18,16 @@
  struct input_types {
        const char *name;
        const char *name2;
-@@ -771,6 +782,9 @@
- { "--wacom_iv",               "-wacom_iv",    "Wacom protocol 4 tablet",
+@@ -971,6 +982,9 @@ static struct input_types input_types[]
+ { "--wacom_iv",               "-wacom_iv",    "Wacom protocol IV tablet",
        B9600, CS8 | CRTSCTS,
        SERIO_WACOM_IV,         0x00,   0x00,   0,      wacom_iv_init },
 +{ "--wacom_v",                "-wacom_v",     "Wacom protocol 5 tablet",
 +      B9600, CS8,
 +      SERIO_WACOM_V,          0x00,   0x00,   0,      wacom_v_init },
- { NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, NULL }
- };
- 
+ { "--warrior",                "-war",         "WingMan Warrior",
+       B1200, CS7 | CSTOPB,
+       SERIO_WARRIOR,          0x00,   0x00,   1,      warrior_init },
 --- linuxconsoletools-1.4.8/utils/serio-ids.h.orig     2015-01-18 
15:43:41.000000000 +0100
 +++ linuxconsoletools-1.4.8/utils/serio-ids.h  2015-06-29 21:50:29.495275523 
+0200
 @@ -125,6 +125,9 @@
@@ -40,11 +40,11 @@
  #ifndef SERIO_WACOM_IV
  # define SERIO_WACOM_IV               0x3e
  #endif
---- linuxconsoletools-1.4.8/docs/inputattach.1.orig    2015-01-18 
15:43:41.000000000 +0100
-+++ linuxconsoletools-1.4.8/docs/inputattach.1 2015-06-29 21:51:16.435273553 
+0200
-@@ -146,6 +146,9 @@
+--- linuxconsoletools-1.8.1/docs/inputattach.1.orig    2024-09-17 
20:28:58.478759157 +0200
++++ linuxconsoletools-1.8.1/docs/inputattach.1 2024-09-17 20:30:57.118116432 
+0200
+@@ -171,6 +171,9 @@ allows for touch-only or pen and touch d
  .BR \-wacom_iv ", " \-\-wacom_iv
- Wacom protocol IV tablets.
+ Wacom protocol IV tablet.
  .TP
 +.BR \-wacom_v ", " \-\-wacom_v
 +Wacom protocol V tablet (Intuos and Intuos2).
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/linuxconsoletools.git/commitdiff/2514898fe57ce22ba7883f32acfaa679bebfb8bf

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to