Aw: Re: [PATCH evemu 4/4] configure.ac: add '--disable-python-bindings' option

Peter Seiderer ps.report at gmx.net
Mon Aug 11 06:13:20 PDT 2014


Hello Peter,

> Gesendet: Montag, 11. August 2014 um 00:09 Uhr
> Von: "Peter Hutterer" <peter.hutterer at who-t.net>
> An: "Peter Seiderer" <ps.report at gmx.net>
> Cc: input-tools at lists.freedesktop.org
> Betreff: Re: [PATCH evemu 4/4] configure.ac: add '--disable-python-bindings' option
>
> On Sat, Aug 09, 2014 at 12:18:11AM +0200, Peter Seiderer wrote:
> > Signed-off-by: Peter Seiderer <ps.report at gmx.net>
> 
> now you've spiked my interest. what target systems need evemu but don't have
> python? is this really a use-case?

All (basic) Buildroot based embedded Systems who care about a small footprint (or do
care about not shipping unused packages)...

None of the Buildroot defconfigs (out of 63) has pyhton enabled...

My initial case was testing lvds touch panels with qt application (framebuffer based)....

Regards,
Peter


> 
> Cheers,
>    Peter
> 
> > ---
> >  Makefile.am  |  2 +-
> >  configure.ac | 11 +++++++++++
> >  2 files changed, 12 insertions(+), 1 deletion(-)
> > 
> > diff --git a/Makefile.am b/Makefile.am
> > index a83b35f..fb87c76 100644
> > --- a/Makefile.am
> > +++ b/Makefile.am
> > @@ -1,4 +1,4 @@
> > -SUBDIRS = src tools python $(SUBDIR_TESTS)
> > +SUBDIRS = src tools $(SUBDIR_PYTHON_BINDINGS) $(SUBDIR_TESTS)
> >  
> >  pkgconfigdir = $(libdir)/pkgconfig
> >  pkgconfig_DATA = evemu.pc
> > diff --git a/configure.ac b/configure.ac
> > index c7e16b3..72c5fdf 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -54,6 +54,17 @@ AS_IF([test "x$enable_tests" != "xno"], [
> >  
> >  AC_SUBST([SUBDIR_TESTS])
> >  
> > +AC_ARG_ENABLE([python-bindings],
> > +	AS_HELP_STRING([--disable-python-bindings],
> > +		 [Disable generation of python bindings]))
> > +
> > +AS_IF([test "x$enable_python_bindings" != "xno"], [
> > +	SUBDIR_PYTHON_BINDINGS=python
> > +])
> > +
> > +AC_SUBST([SUBDIR_PYTHON_BINDINGS])
> > +
> > +
> >  AC_SUBST(AM_CFLAGS,
> >           "-Wall -Wextra")
> >  
> > -- 
> > 1.8.1.4
> > 
> > _______________________________________________
> > Input-tools mailing list
> > Input-tools at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/input-tools
> 


More information about the Input-tools mailing list