[PATCH input-evdev 00/10] Configuration upgrades

Peter Hutterer peter.hutterer at who-t.net
Mon Apr 19 18:37:05 PDT 2010


On Mon, Apr 19, 2010 at 09:28:24AM -0400, Gaetan Nadon wrote:
> On Mon, 2010-04-19 at 09:58 +1000, Peter Hutterer wrote:
> 
> > On Sat, Apr 17, 2010 at 07:28:00PM -0400, Gaetan Nadon wrote:
> > > Patch #1 concept has been reviewed but code is different
> > > Patch #7 is a change that has not been reviewed in other patches yet.
> > > Other changes have been reviewed in other patches
> > > 
> > > Gaetan Nadon (10):
> > >   config: remove AH_TOP autoheader statement
> > >   config: update AC_PREREQ statement to 2.60
> > >   replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
> > >   config: remove unrequired AC_HEADER_STDC
> > >   config: refactor and comment the sdkdir distcheck workaround
> > >   config: replace deprecated INCLUDES with AM_CPPFLAGS
> > >   config: optional extension check for inputproto not required
> > >   config: fix warnings, m4 quoting and layout
> > >   include: EXTRA_DIST is not required for header files.
> > >   man: Use Autoconf provided $(AM_V_GEN)$(SED)
> > > 
> > >  Makefile.am         |    2 +-
> > >  configure.ac        |   63 ++++++++++++++++++++++++--------------------------
> > >  include/Makefile.am |    1 -
> > >  man/Makefile.am     |    4 +--
> > >  src/Makefile.am     |    3 +-
> > >  src/evdev.c         |    1 +
> > >  6 files changed, 34 insertions(+), 40 deletions(-)
> >  
> > Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
> > 
> > except for that one comment I sent separately. Can you pop this into your
> > $HOME please and I'll pull from there. Want to get a few test runs in before
> > it lands on master, just in case.
> > 
> 
> Peter,
> 
> Done. Other input drivers have similar changes.In some cases, I am not
> certain of what is the best option:
> 
> --enable-debug: there are 3 input drivers and one video driver with this
> config option. I am not sure this should be exposed on the package
> public interface if only used by x.org developers at development time.
> If it's a good thing, perhaps it should be on all drivers. Many video
> drivers have a *DEBUG* kind of #define, but no configure option, The
> actual name varies. I guess there is  no architected way of turning
> debug on several packages using the same method.

I'd like there to be a --enable-debug configure option for all packages
where it makes sense. and it is used outside of developer circles too, e.g.
we build the wacom package in Fedora Rawhide with --enable-debug (but not in
F12/F13).

> joystick: the enable-debug option is always "on" by default. Very
> unusual.

yeah, that seems a bit odd. might want to talk to Sascha there.

> aiptek/evdev only runs Linux while joystick runs on Linux/BSD. Should
> these be conditional compiled so as to build on any platform? If they
> were part of xserver, they would have to be. 

not sure what you mean here. IIRC they're conditional in the build.sh script
and I'd say that's good enough. they're in the same boat as e.g.
libAppleWM, if you're trying to manually build it on a non-supported
platform then you'll see a bunch of errors.  if you want to put a platform
check in to bail out configure with a nice error message, that'd work for me
too though.

> 
> ====================================================================
> 
>         The following changes since commit aaf65e7bfacd9501c4475a579d92c3bc60409893:
>           Paulo Ricardo Zanoni (1):
>                 Don't set pEvdev->rel for mouse wheel events
>         
>         are available in the git repository at:
>         
>           git://people.freedesktop.org/~gnadon/xf86-input-evdev master
>         
>         Gaetan Nadon (10):
>               config: remove AH_TOP autoheader statement
>               config: update AC_PREREQ statement to 2.60
>               replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
>               config: remove unrequired AC_HEADER_STDC
>               config: refactor and comment the sdkdir distcheck workaround
>               config: replace deprecated INCLUDES with AM_CPPFLAGS
>               config: optional extension check for inputproto not required
>               config: require macros 1.4, fix warnings, m4 quotings and layout
>               include: EXTRA_DIST is not required for header files.
>               man: Use Autoconf provided $(AM_V_GEN)$(SED)
>         
>          Makefile.am         |    2 +-
>          configure.ac        |   63 ++++++++++++++++++++++++--------------------------
>          include/Makefile.am |    1 -
>          man/Makefile.am     |    4 +--
>          src/Makefile.am     |    3 +-
>          src/evdev.c         |    1 +
>          6 files changed, 34 insertions(+), 40 deletions(-)
> 
> 

pulled, thanks. will be upstream in a bit.

Cheers,
  Peter


More information about the xorg-devel mailing list