Hello community, here is the log from the commit of package imwheel for openSUSE:Factory checked in at 2013-04-23 17:19:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/imwheel (Old) and /work/SRC/openSUSE:Factory/.imwheel.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "imwheel", Maintainer is "[email protected]" Changes: -------- New Changes file: --- /dev/null 2013-04-05 00:01:41.916011506 +0200 +++ /work/SRC/openSUSE:Factory/.imwheel.new/imwheel.changes 2013-04-23 17:19:48.000000000 +0200 @@ -0,0 +1,18 @@ +------------------------------------------------------------------- +Mon Apr 22 11:43:29 UTC 2013 - [email protected] + +- license update: GPL-2.0+ + No indication in package that GPL-2.0 (i.e. "only") is intended + +------------------------------------------------------------------- +Sat Apr 20 15:49:09 UTC 2013 - [email protected] + - Macro replacing "makeinstall" => "make_install" + via `spec-cleaner` was reverted to build at SLE_11_SP2. + +------------------------------------------------------------------- +Sat Apr 6 19:52:54 UTC 2013 - [email protected] +- Spec header and changes file were added to correspond to distro policy. +- License tag was set to GPL-2.0 to correspond to distro policy. +- Spec file was fixed up via `spec-cleaner`. +- Patches were commented to correspond to distro policy. +- Clean section was removed as unnecessary. New: ---- imwheel-1.0.0pre12.tar.gz imwheel-config_file_path.patch imwheel-fix_destdir.patch imwheel-fix_uninitialized_var.patch imwheel-intptr_t.patch imwheel.changes imwheel.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ imwheel.spec ++++++ # # spec file for package imwheel # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: imwheel Version: 1.0.0pre12 Release: 0 License: GPL-2.0+ Summary: Mouse Event to Key Event Mapper Daemon Url: http://imwheel.sourceforge.net Group: Hardware/Other Source: http://prdownloads.sourceforge.net/imwheel/imwheel-%{version}.tar.gz # PATCH-FIX-UPSTREAM to prevent compiler warnings # "cast from pointer to integer of different size" Patch1: imwheel-intptr_t.patch # PATCH-FIX-UPSTREAM to fix uninitialized variable hsi. Patch2: imwheel-fix_uninitialized_var.patch # PATCH-FIX-OPENSUSE not to install to root only. Patch3: imwheel-fix_destdir.patch # PATCH-FEATURE-OPENSUSE to put configs to /etc/ instead of /etc/X11. Patch4: imwheel-config_file_path.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: libtool BuildRequires: make BuildRequires: xorg-x11-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A daemon for X11, which watches for mouse wheel actions and outputs them as keypresses. It can be configured separately for different windows. It also allows input from it's own (included) gpm, or from jamd, or from XFree86 ZAxis mouse wheel conversion. %prep %setup -q %patch1 %patch2 %patch3 %patch4 %build autoreconf -fiv %configure --with-x make %{?_smp_mflags} %install %makeinstall %files %defattr(-,root,root) %doc AUTHORS BUGS ChangeLog COPYING EMACS FREEBSD %doc M-BA47 NEWS README TODO %config(noreplace) %{_sysconfdir}/imwheelrc %{_bindir}/imwheel %doc %{_mandir}/man1/imwheel.1* ++++++ imwheel-config_file_path.patch ++++++ --- util.c.orig 2008-01-08 00:09:32.000000000 +0100 +++ util.c 2008-01-08 00:09:49.000000000 +0100 @@ -735,7 +735,7 @@ struct WinAction *getRC() { - char fname[2][1024]={"","/etc/X11/imwheel/imwheelrc"}, line[1024], *p, *q, winid[1024]; + char fname[2][1024]={"","/etc/imwheelrc"}, line[1024], *p, *q, winid[1024]; int fi,i; struct WinAction *newwa=NULL; FILE *f=NULL; --- imwheel.1.orig 2008-01-08 00:08:14.000000000 +0100 +++ imwheel.1 2008-01-08 00:08:34.000000000 +0100 @@ -329,9 +329,9 @@ .fi .RE .SH "IMWHEELRC" -IMWheel uses, optionally, two configuration files. One called /etc/X11/imwheel/imwheelrc, +IMWheel uses, optionally, two configuration files. One called /etc/imwheelrc, which is used for everybody. The other is $HOME/.imwheelrc, used only for one -user. One is supplied and should have been installed automatically in /etc/X11/imwheel/ +user. One is supplied and should have been installed automatically in /etc if not also in the installing users $HOME as well. All whitespace is ignored in the files except for within the window names' double quotes. .LP @@ -671,7 +671,7 @@ $HOME/.imwheelrc The users configuration file. -/etc/X11/imwheel/imwheelrc +/etc/imwheelrc The global location for the configuration file, it is always loaded. Overided by the users configuration file. --- imwheel.1.html.orig 2008-01-08 00:06:50.000000000 +0100 +++ imwheel.1.html 2008-01-08 00:07:27.000000000 +0100 @@ -385,7 +385,7 @@ <A NAME="lbAI"> </A> <H2>IMWHEELRC</H2> -IMWheel uses, optionally, two configuration files. One called /etc/X11/imwheelrc, +IMWheel uses, optionally, two configuration files. One called /etc/imwheelrc, which is used for everybody. The other is $HOME/.imwheelrc, used only for one user. One is supplied and should have been installed automatically in /etc if not also in the installing users $HOME as well. All whitespace is ignored @@ -809,7 +809,7 @@ $HOME/.imwheelrc The users configuration file. -/etc/X11/imwheelrc +/etc/imwheelrc The global location for the configuration file, it is always loaded. Overided by the users configuration file. --- README.orig 2008-01-08 00:06:01.000000000 +0100 +++ README 2008-01-08 00:06:45.000000000 +0100 @@ -224,7 +224,7 @@ [ OVERVIEW ] The configuration of specific clients is taken care of in the file called -"$HOME/.imwheelrc" or "/etc/X11/imwheelrc". +"$HOME/.imwheelrc" or "/etc/imwheelrc". All arguments in the file are separated by commas. @@ -346,7 +346,7 @@ [ DELAYS ] -Two delays are configurable in the "/etc/X11/imwheelrc" and/or the +Two delays are configurable in the "/etc/imwheelrc" and/or the "$HOME/.imwheelrc" files. The first delay is the delay between repetitions. The second delay is the delay between key down and key up events. If you make the delay too long expect the likelyness of the sticky keys bug to occur (see @@ -358,7 +358,7 @@ See the included imwheelrc file for a few examples of configured windows. This file is a good start and may be copied into the users home directory as -".imwheelrc" and/or into /etc/X11/imwheelrc for a default setup for all users. +".imwheelrc" and/or into /etc/imwheelrc for a default setup for all users. Then modify your individual copy or the /etc copy to add more windows. [ CONFIGURATION HELPER ] --- ./Makefile.am.orig 2004-08-29 14:36:26.000000000 +0400 +++ ./Makefile.am 2011-12-09 23:40:15.165537581 +0400 @@ -22,7 +22,7 @@ find $(distdir) -name CVS -exec rm -rvf '{}' ';' ; \ done -ETCDIR=/etc/X11/imwheel +ETCDIR=/etc install-exec-hook: if SUID ++++++ imwheel-fix_destdir.patch ++++++ --- Makefile.am.orig 2008-01-08 00:04:02.000000000 +0100 +++ Makefile.am 2008-01-08 00:05:11.000000000 +0100 @@ -30,10 +30,8 @@ chown @suid@ $$progname ; \ chmod u+s $$progname endif - $(mkinstalldirs) $(ETCDIR) - -[ -f /etc/imwheelrc ] && mv /etc/imwheelrc $(ETCDIR)/imwheelrc || true - -[ -f /etc/X11/imwheelrc ] && mv /etc/X11/imwheelrc $(ETCDIR)/imwheelrc || true - -[ -f $(ETCDIR)/imwheelrc ] && install -m 644 imwheelrc $(ETCDIR)/imwheelrc.new || install -m 644 imwheelrc $(ETCDIR)/imwheelrc + $(mkinstalldirs) $(DESTDIR)$(ETCDIR) + install -m 644 imwheelrc $(DESTDIR)$(ETCDIR)/imwheelrc extras: $(EXTRA_PROGRAMS) ++++++ imwheel-fix_uninitialized_var.patch ++++++ --- cfg.c.orig 2008-01-08 00:01:53.000000000 +0100 +++ cfg.c 2008-01-08 00:02:13.000000000 +0100 @@ -441,6 +441,8 @@ "Button: Thumb2 (Button9)" }; + hsi = 0; + if(!useFifo) { if(!grabbed) ++++++ imwheel-intptr_t.patch ++++++ --- jax/jax.c.orig 2008-01-08 00:00:42.000000000 +0100 +++ jax/jax.c 2008-01-08 00:01:14.000000000 +0100 @@ -1,4 +1,5 @@ #include <stdio.h> +#include <stdint.h> #include "jax.h" /*****************************************************************************/ @@ -49,7 +50,7 @@ (jax->options[j].name2 && !strcmp(jax->options[j].name2, argv[i]))) { c++; - if((int)(*jax->options[j].str)>1) + if((intptr_t)(*jax->options[j].str)>1) { if (*argc>i+1) { @@ -65,7 +66,7 @@ } else { - *jax->options[j].str=(char*)(((int)(*jax->options[j].str+1))%2); + *jax->options[j].str=(char*)(((intptr_t)(*jax->options[j].str+1))%2); JAXshiftopts(i, 1, argc, argv); j=-1; } -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
