summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKieran Colford2016-11-09 14:11:08 -0500
committerKieran Colford2016-11-09 14:11:08 -0500
commit19bcbb3e93cdd656be795062329e992ec51e5f14 (patch)
tree18a71246af9c1496dbb1203f63a1b124cc7507cd
parentb6b1a8547a0dcc8954c04f9870d445a29f7ccdcc (diff)
downloadaur-19bcbb3e93cdd656be795062329e992ec51e5f14.tar.gz
added new version
-rw-r--r--.SRCINFO8
-rw-r--r--0001-f10-escape.patch28
-rw-r--r--PKGBUILD15
-rw-r--r--hidclient-20060725.tar.bz2bin10172 -> 0 bytes
4 files changed, 44 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index df54ce5c196..952f5a091c3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,16 @@
pkgbase = hidclient
pkgdesc = Client program to transmit local keyboard events over bluetooth.
- pkgver = 20060725
+ pkgver = 20120728
pkgrel = 1
url = http://anselm.hoffmeister.be/computer/hidclient/
arch = i686
arch = x86_64
license = GPL
depends = bluez-libs
- source = hidclient-20060725.tar.bz2
- md5sums = d0670498038f11b23415880a873e3f55
+ source = http://anselm.hoffmeister.be/computer/hidclient//hidclient-20120728.tar.bz2
+ source = 0001-f10-escape.patch
+ md5sums = 70ca8cabf77dbe9b70ba62808942dc29
+ md5sums = c8b66710490670e33a1821b95b3b3c59
pkgname = hidclient
diff --git a/0001-f10-escape.patch b/0001-f10-escape.patch
new file mode 100644
index 00000000000..1b3f5c06b9b
--- /dev/null
+++ b/0001-f10-escape.patch
@@ -0,0 +1,28 @@
+--- a/hidclient.c
++++ b/hidclient.c
+@@ -799,6 +799,7 @@
+ break;
+ // *** Special key: PAUSE
+ case KEY_PAUSE:
++ case KEY_F10:
+ // When pressed: abort connection
+ if ( inevent->value == 0 )
+ {
+@@ -889,7 +890,7 @@
+ case KEY_SYSRQ: ++u; //[printscr]
+ case KEY_F12: ++u; //F12=> code 69
+ case KEY_F11: ++u;
+- case KEY_F10: ++u;
++ ++u;
+ case KEY_F9: ++u;
+ case KEY_F8: ++u;
+ case KEY_F7: ++u;
+@@ -1360,7 +1361,7 @@
+ " openvt -s -w hidclient\n" \
+ "This will even return to your xsession after hidclient terminates.\n\n" \
+ "hidclient connections can be dropped at any time by pressing the PAUSE\n" \
+-"key; the program will wait for other connections afterward.\n" \
++"or F10 key; the program will wait for other connections afterward.\n" \
+ "To stop hidclient, press LeftCtrl+LeftAlt+Pause.\n"
+ );
+ return;
diff --git a/PKGBUILD b/PKGBUILD
index a759f8fc4b5..ed5358eb909 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Kieran Colford <kieran@kcolford.com>
pkgname=hidclient
-pkgver=20060725
+pkgver=20120728
pkgrel=1
epoch=
pkgdesc="Client program to transmit local keyboard events over bluetooth."
@@ -19,10 +19,18 @@ backup=()
options=()
install=
changelog=
-source=("$pkgname-$pkgver.tar.bz2")
-md5sums=('d0670498038f11b23415880a873e3f55')
+source=("$url/$pkgname-$pkgver.tar.bz2"
+ "0001-f10-escape.patch")
+md5sums=('70ca8cabf77dbe9b70ba62808942dc29'
+ 'c8b66710490670e33a1821b95b3b3c59')
noextract=()
+prepare() {
+ cd "$srcdir/"
+
+ patch -p1 < "$srcdir/0001-f10-escape.patch"
+}
+
build() {
cd "$srcdir/"
@@ -33,7 +41,6 @@ package() {
cd "$srcdir/"
install -Dm755 hidclient "$pkgdir/usr/bin/hidclient"
- install -Dm644 hid-sdp-record.bin "$pkgdir/etc/bluetooth/hid-sdp-record.bin"
}
# vim:set ts=2 sw=2 et:
diff --git a/hidclient-20060725.tar.bz2 b/hidclient-20060725.tar.bz2
deleted file mode 100644
index bbc4c3c07b7..00000000000
--- a/hidclient-20060725.tar.bz2
+++ /dev/null
Binary files differ