Date: Saturday, May 8, 2010 @ 09:08:01 Author: jgc Revision: 79860 upgpkg: xf86-input-fpit 1.3.0-5 Add config file
Added: xf86-input-fpit/trunk/50-fpit.conf Modified: xf86-input-fpit/trunk/PKGBUILD --------------+ 50-fpit.conf | 28 ++++++++++++++++++++++++++++ PKGBUILD | 16 +++++++++++----- 2 files changed, 39 insertions(+), 5 deletions(-) Added: 50-fpit.conf =================================================================== --- 50-fpit.conf (rev 0) +++ 50-fpit.conf 2010-05-08 13:08:01 UTC (rev 79860) @@ -0,0 +1,28 @@ +Section "InputClass" + Identifier "fpit class" + MatchProduct "FUJ02B2|FUJ02B3|FUJ02B4|FUJ02B6|FUJ02B7|FUJ02B8|FUJ02B9|FUJ02BC" + Driver "fpit" + Option "TrackRandR" "on" +EndSection + +Section "InputClass" + Identifier "fpit FUJ02B2 and FUJ02B3 default configuration" + MatchProduct "FUJ02B2|FUJ02B3" + Option "BaudRate" "19200" + Option "MaximumXPosition" "6250" + Option "MaximumYPosition" "4950" + Option "MinimumXPosition" "130" + Option "MinimumYPosition" "0" + Option "InvertY" "on" +EndSection + +Section "InputClass" + Identifier "fpit FUJ02B6, FUJ02B7, FUJ02B8, FUJ02B9, FUJ02BC default configuration" + MatchProduct "FUJ02B6|FUJ02B7|FUJ02B8|FUJ02B9|FUJ02BC" + Option "BaudRate" "9600" + Option "MaximumXPosition" "4070" + Option "MaximumYPosition" "4020" + Option "MinimumXPosition" "0" + Option "MinimumYPosition" "0" + Option "Passive" "on" +EndSection Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-05-08 12:49:43 UTC (rev 79859) +++ PKGBUILD 2010-05-08 13:08:01 UTC (rev 79860) @@ -3,7 +3,7 @@ pkgname=xf86-input-fpit pkgver=1.3.0 -pkgrel=4 +pkgrel=5 pkgdesc="X.Org Fujitsu Stylistic Tablet PC input driver" arch=(i686 x86_64) url="http://xorg.freedesktop.org/" @@ -11,13 +11,17 @@ depends=('glibc') makedepends=('pkgconfig' 'xorg-server>=1.8.0') conflicts=('xorg-server<1.8.0') +backup=(etc/X11/xorg.conf.d/50-fpit.conf) groups=('xorg-input-drivers') options=('!libtool') -source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 LICENSE - fpit-1.3.0-abi.patch) +source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 + fpit-1.3.0-abi.patch + 50-fpit.conf + LICENSE) md5sums=('e5bfda480f25121e3c4222e5e1eb5880' - '2d8404d3112316f04cba864c915adfac' - '9d8f1033924deb04edc1775bc82440f3') + '9d8f1033924deb04edc1775bc82440f3' + '85528d3a03a55b09cc891dfd3aa321cc' + '2d8404d3112316f04cba864c915adfac') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -26,4 +30,6 @@ make || return 1 make DESTDIR="${pkgdir}" install || return 1 install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -m755 -d "${pkgdir}/etc/X11/xorg.conf.d" + install -m644 "${srcdir}/50-fpit.conf" "${pkgdir}/etc/X11/xorg.conf.d/" || return 1 }
