diff options
author | Timo Teräs <timo.teras@iki.fi> | 2015-11-12 13:18:14 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2015-11-12 13:18:58 +0200 |
commit | 236cb81551e31e3f73feab219a8e6de3e367152b (patch) | |
tree | 3a7824249e3c9089ba9910396728d5d5fa92f8d5 /main/xfce4-power-manager | |
parent | bd88132ad894d4b99bc5c8a52b01d65f6dc4d184 (diff) | |
download | aports-236cb81551e31e3f73feab219a8e6de3e367152b.tar.bz2 aports-236cb81551e31e3f73feab219a8e6de3e367152b.tar.xz |
main/xfce4-power-manager: do not send fake key events
it breaks more things than it solves
Diffstat (limited to 'main/xfce4-power-manager')
-rw-r--r-- | main/xfce4-power-manager/APKBUILD | 12 | ||||
-rw-r--r-- | main/xfce4-power-manager/inhibit-fake-key-events.patch | 14 |
2 files changed, 22 insertions, 4 deletions
diff --git a/main/xfce4-power-manager/APKBUILD b/main/xfce4-power-manager/APKBUILD index 764bd569a8..d85f5f52aa 100644 --- a/main/xfce4-power-manager/APKBUILD +++ b/main/xfce4-power-manager/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xfce4-power-manager pkgver=1.5.2 -pkgrel=0 +pkgrel=1 pkgdesc="Power management for the Xfce desktop environment" url="http://goodies.xfce.org/projects/applications/xfce4-power-manager" arch="all" @@ -15,6 +15,7 @@ makedepends="$depends_dev upower-dev" install="" subpackages="$pkgname-doc $pkgname-lang" source="http://archive.xfce.org/src/apps/xfce4-power-manager/${pkgver%.*}/xfce4-power-manager-$pkgver.tar.bz2 + inhibit-fake-key-events.patch " _builddir="$srcdir"/xfce4-power-manager-$pkgver @@ -48,6 +49,9 @@ package() { make DESTDIR="$pkgdir" install || return 1 } -md5sums="28e1ac260a6ea64ebc5f740c06d2a6b8 xfce4-power-manager-1.5.2.tar.bz2" -sha256sums="8bdc640f227ffccbdcfbbcca8ba36d1ce054236c0a32dbf87a4a751f3a835415 xfce4-power-manager-1.5.2.tar.bz2" -sha512sums="b59435b98cf4c85f9cdf6a66bc74dd8cbb9a8dc6d409a488e186478933b54278cfed102e70ac0b1bc9389a77c441ff32bbe051fa0c5c9b6981dc9e99a2c54263 xfce4-power-manager-1.5.2.tar.bz2" +md5sums="28e1ac260a6ea64ebc5f740c06d2a6b8 xfce4-power-manager-1.5.2.tar.bz2 +82f585cb80f21c61596560dbe49817d6 inhibit-fake-key-events.patch" +sha256sums="8bdc640f227ffccbdcfbbcca8ba36d1ce054236c0a32dbf87a4a751f3a835415 xfce4-power-manager-1.5.2.tar.bz2 +13e59fb84284204919d9dbc9b3b3142f6e744c88b350fa43a254497c64211101 inhibit-fake-key-events.patch" +sha512sums="b59435b98cf4c85f9cdf6a66bc74dd8cbb9a8dc6d409a488e186478933b54278cfed102e70ac0b1bc9389a77c441ff32bbe051fa0c5c9b6981dc9e99a2c54263 xfce4-power-manager-1.5.2.tar.bz2 +5a79a6e61bedecbda5ce3dea6af3121fb8aeba8c44940e5b6907347a7c454f72461a3b99e73c966db1998bd58ab34ca76a562d8011c00bae674b1f52671e7c2e inhibit-fake-key-events.patch" diff --git a/main/xfce4-power-manager/inhibit-fake-key-events.patch b/main/xfce4-power-manager/inhibit-fake-key-events.patch new file mode 100644 index 0000000000..e7cb262ce6 --- /dev/null +++ b/main/xfce4-power-manager/inhibit-fake-key-events.patch @@ -0,0 +1,14 @@ +https://bugzilla.xfce.org/show_bug.cgi?id=11083#c9 + +diff -ru xfce4-power-manager-1.5.2.orig/src/xfpm-power.c xfce4-power-manager-1.5.2/src/xfpm-power.c +--- xfce4-power-manager-1.5.2.orig/src/xfpm-power.c 2015-06-11 18:34:58.000000000 +0300 ++++ xfce4-power-manager-1.5.2/src/xfpm-power.c 2015-10-26 16:56:30.748006741 +0200 +@@ -965,7 +965,7 @@ + + XResetScreenSaver (dpy); + +-#ifdef HAVE_LIBXTST ++#if 0 && defined HAVE_LIBXTST + /* keycode of 255 does not map to any actual key, + * this works for xscreensaver */ + XTestFakeKeyEvent (dpy, 255, TRUE, 0); |