Skip to content

Instantly share code, notes, and snippets.

@ljosa
Created December 6, 2017 21:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ljosa/b626f9fdd86424ce9923530ab561fbaf to your computer and use it in GitHub Desktop.
Save ljosa/b626f9fdd86424ce9923530ab561fbaf to your computer and use it in GitHub Desktop.
Build container for xf86-input-evdev-spacefn
FROM ubuntu:16.04
RUN apt-get update -y && apt-get install -y vim-tiny debian-keyring build-essential fakeroot devscripts
RUN sed -i.bak 's/^# deb-src/deb-src/' /etc/apt/sources.list
RUN apt-get update -y && apt-get -y build-dep xserver-xorg-input-evdev-hwe-16.04
RUN apt-get source xserver-xorg-input-evdev-hwe-16.04
WORKDIR /xserver-xorg-input-evdev-hwe-16.04-2.10.5
CMD cp /src/xf86-input-evdev-spacefn/src/evdev.c src/evdev.c && debuild -us -uc -i -I && cp build/src/.libs/evdev_drv.so /src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment