[RFC]xf86-input-evdev: use libsysdev as build-time fallback if libudev is missing
ibid.ag at gmail.com
Tue Feb 3 10:43:30 PST 2015
On Tue, Feb 03, 2015 at 04:54:18PM +1000, Peter Hutterer wrote:
> On Mon, Feb 02, 2015 at 05:35:50PM -0800, Isaac Dunham wrote:
> > On Mon, Feb 02, 2015 at 05:30:14PM -0800, Isaac Dunham wrote:
> > > Hello,
> > > Having grown tired of hearing complaints about udev dependencies, I
> > > wrote a library that does a very small subset of what libudev does with
> > > a slightly more concise API. It does not care how /dev is managed.
> > > The code may be found at:
> > > github.com/idunham/libsysdev.git
> > >
> > > I have ported xf86-input-evdev to use said library; the attached
> > > patch will allow building with it as a compile-time fallback.
> > > Does anyone have comments on this patch?
> > >
> > > I'm aware that it would be possible to share much of the code by using
> > > more #ifdef USE_UDEV; if that is better, I can adjust this.
> > >
> > > Please note: I am *not* interested in arguing about udev, whether pro
> > > or con. I'm just asking for a review of this patch.
> > Unfortuntely, I forgot the patch. My apologies.
> short answer, and don't take it the wrong way please: not until we have a
> couple of major distributions not providing libudev, which IMO is rather
> unlikely. afaict the only selling point for non-libudev is for the BSDs but
> then again that's not the only piece of the puzzle missing.
> And even then I'd be easier to just ifdef out the code that relies on udev
> rather than adding another library. sorry.
OK, thanks for the answer.
More information about the xorg-devel