Hello community, here is the log from the commit of package xinput for openSUSE:Factory checked in at 2012-05-21 08:04:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xinput (Old) and /work/SRC/openSUSE:Factory/.xinput.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xinput", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/xinput/xinput.changes 2012-05-08 18:02:18.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xinput.new/xinput.changes 2012-05-21 08:04:32.000000000 +0200 @@ -1,0 +2,12 @@ +Fri May 18 06:37:51 UTC 2012 - cfarr...@suse.com + +- license update: MIT and HPND + See COPYING + +------------------------------------------------------------------- +Wed May 16 13:16:46 UTC 2012 - dims...@opensuse.org + +- Update to version 1.6.0: + + Add --enable/--disable support. + +------------------------------------------------------------------- Old: ---- xinput-1.5.99.901.tar.bz2 New: ---- xinput-1.6.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xinput.spec ++++++ --- /var/tmp/diff_new_pack.DqPDt4/_old 2012-05-21 08:04:34.000000000 +0200 +++ /var/tmp/diff_new_pack.DqPDt4/_new 2012-05-21 08:04:34.000000000 +0200 @@ -16,11 +16,12 @@ # + Name: xinput -Version: 1.5.99.901 +Version: 1.6.0 Release: 0 Summary: Utility to configure and test X input devices -License: MIT +License: MIT and HPND Group: System/X11/Utilities Url: http://xorg.freedesktop.org/ Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 ++++++ xinput-1.5.99.901.tar.bz2 -> xinput-1.6.0.tar.bz2 ++++++ ++++ 1605 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xinput-1.5.99.901/ChangeLog new/xinput-1.6.0/ChangeLog --- old/xinput-1.5.99.901/ChangeLog 2012-04-16 04:40:47.000000000 +0200 +++ new/xinput-1.6.0/ChangeLog 2012-05-15 07:49:07.000000000 +0200 @@ -1,3 +1,20 @@ +commit 60fe84e83b14576fb70d79c5d39755a281906607 +Author: Peter Hutterer <peter.hutte...@who-t.net> +Date: Tue May 15 15:47:45 2012 +1000 + + xinput 1.6.0 + + Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> + +commit 2c52e836b8e5a98a1faa5243cb4deb149091c52c +Author: Peter Hutterer <peter.hutte...@who-t.net> +Date: Mon May 14 17:27:55 2012 +1000 + + Add --enable/--disable support + + Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> + Reviewed-by: Chase Douglas <chase.doug...@canonical.com> + commit bfac9503e99a266e19bc21805cb4fc38efd16612 Author: Peter Hutterer <peter.hutte...@who-t.net> Date: Mon Apr 16 12:39:58 2012 +1000 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xinput-1.5.99.901/configure.ac new/xinput-1.6.0/configure.ac --- old/xinput-1.5.99.901/configure.ac 2012-04-16 04:39:12.000000000 +0200 +++ new/xinput-1.6.0/configure.ac 2012-05-15 07:47:38.000000000 +0200 @@ -22,7 +22,7 @@ # Initialize Autoconf AC_PREREQ([2.60]) -AC_INIT([xinput], [1.5.99.901], +AC_INIT([xinput], [1.6.0], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xinput]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS([config.h]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xinput-1.5.99.901/man/xinput.man new/xinput-1.6.0/man/xinput.man --- old/xinput-1.5.99.901/man/xinput.man 2012-02-08 17:25:28.000000000 +0100 +++ new/xinput-1.6.0/man/xinput.man 2012-05-15 02:59:34.000000000 +0200 @@ -148,6 +148,16 @@ specified as "HEAD-N", with N being the Xinerama screen number. This option has no effect on relative devices. .PP +.TP 8 +.B --enable \fIdevice\fP +Enable the \fIdevice\fP. This call is equivalent to +.B xinput --set-prop device \fI"Device Enabled"\fP 1 +.PP +.TP 8 +.B --disable \fIdevice\fP +Disable the \fIdevice\fP. This call is equivalent to +.B xinput --set-prop device \fI"Device Enabled"\fP 0 +.PP \fIdevice\fP can be the device name as a string or the XID of the device. .PP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xinput-1.5.99.901/src/property.c new/xinput-1.6.0/src/property.c --- old/xinput-1.5.99.901/src/property.c 2012-02-23 01:42:02.000000000 +0100 +++ new/xinput-1.6.0/src/property.c 2012-05-15 02:50:53.000000000 +0200 @@ -824,3 +824,15 @@ return do_set_prop(display, type, format, argc, argv, name, desc); } + +int disable(Display *display, int argc, char *argv[], char *name, char *desc) +{ + char *new_argv[3] = { argv[0], "Device Enabled", "0" }; + return set_prop(display, 3, new_argv, name, desc); +} + +int enable(Display *display, int argc, char *argv[], char *name, char *desc) +{ + char *new_argv[3] = { argv[0], "Device Enabled", "1" }; + return set_prop(display, 3, new_argv, name, desc); +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xinput-1.5.99.901/src/xinput.c new/xinput-1.6.0/src/xinput.c --- old/xinput-1.5.99.901/src/xinput.c 2012-02-21 02:19:13.000000000 +0100 +++ new/xinput-1.6.0/src/xinput.c 2012-05-10 07:25:58.000000000 +0200 @@ -137,6 +137,16 @@ "<device> [--type=atom|float|int] [--format=8|16|32] <property> <val> [<val> ...]", set_prop }, + { + "disable", + "<device>", + disable, + }, + { + "enable", + "<device>", + enable, + }, {NULL, NULL, NULL } }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xinput-1.5.99.901/src/xinput.h new/xinput-1.6.0/src/xinput.h --- old/xinput-1.5.99.901/src/xinput.h 2012-02-17 04:33:24.000000000 +0100 +++ new/xinput-1.6.0/src/xinput.h 2012-05-10 07:25:47.000000000 +0200 @@ -69,6 +69,8 @@ int watch_props( Display* display, int argc, char *argv[], char *prog_name, char *prog_desc); int delete_prop( Display* display, int argc, char *argv[], char *prog_name, char *prog_desc); int set_prop( Display* display, int argc, char *argv[], char *prog_name, char *prog_desc); +int disable( Display* display, int argc, char *argv[], char *prog_name, char *prog_desc); +int enable( Display* display, int argc, char *argv[], char *prog_name, char *prog_desc); /* X Input 2.0 */ int create_master( Display* display, int argc, char *argv[], char *prog_name, char *prog_desc); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org