initial import
This commit is contained in:
56
xkeyboard-config/PKGBUILD
Normal file
56
xkeyboard-config/PKGBUILD
Normal file
@@ -0,0 +1,56 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=xkeyboard-config
|
||||
pkgver=2.29
|
||||
_debver=2.29
|
||||
_debrel=2
|
||||
pkgrel=2
|
||||
pkgdesc="X keyboard configuration files"
|
||||
arch=(any)
|
||||
license=('X11')
|
||||
url="https://www.freedesktop.org/wiki/Software/XKeyboardConfig"
|
||||
makedepends=('intltool' 'xenocara-xkbcomp' 'libxslt' 'python' 'quilt')
|
||||
provides=('xkbdata')
|
||||
replaces=('xkbdata')
|
||||
conflicts=('xkbdata')
|
||||
source=(https://xorg.freedesktop.org/archive/individual/data/$pkgname/$pkgname-$pkgver.tar.bz2
|
||||
https://deb.debian.org/debian/pool/main/x/xkeyboard-config/xkeyboard-config_$_debver-$_debrel.diff.gz
|
||||
revert-fullscreen.patch)
|
||||
sha512sums=('202255af097f3063d76341d1b4a7672662dc645f9bcd7afa87bc966a41db4c20fc6b8f4fbe2fcaec99b6bc458eac10129141a866a165857c46282f6705b78670'
|
||||
'9107dd2fb57cc04457a182fae1f9def0eaf67111be4972bccf505307afdef9d23b887195368dcb43a612fdc5c56795322b96b6f9044a994e6dd2e86aefb1fb16'
|
||||
'09f8bd832512c59da11fbddd709018422680c2c5eecc38a33f37e55cf3d7f5a2b5dfbf4d5e26fb862957ba52253637f0700e301c2880938cf8b1f119e53153aa')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
|
||||
# Debian patches
|
||||
export QUILT_PATCHES=debian/patches
|
||||
export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index'
|
||||
export QUILT_DIFF_ARGS='--no-timestamps'
|
||||
|
||||
patch -p1 -i "$srcdir"/xkeyboard-config_$_debver-$_debrel.diff
|
||||
|
||||
quilt push -av
|
||||
fi
|
||||
# fix FS#1576 https://issues.hyperbola.info/index.php?do=details&task_id=1576
|
||||
patch -p1 -i "$srcdir/revert-fullscreen.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure --prefix=/usr \
|
||||
--with-xkb-base=/usr/share/X11/xkb \
|
||||
--with-xkb-rules-symlink=xorg \
|
||||
--enable-compat-rules=yes
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
rm -f "$pkgdir/usr/share/X11/xkb/compiled"
|
||||
|
||||
install -m755 -d "$pkgdir/var/lib/xkb"
|
||||
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
||||
}
|
||||
24
xkeyboard-config/revert-fullscreen.patch
Normal file
24
xkeyboard-config/revert-fullscreen.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
diff --git a/keycodes/evdev b/keycodes/evdev
|
||||
index d41799d9..ae00ccde 100644
|
||||
--- a/keycodes/evdev
|
||||
+++ b/keycodes/evdev
|
||||
@@ -287,7 +287,6 @@ default xkb_keycodes "evdev" {
|
||||
<I372> = 372; // #define KEY_FAVORITES 364
|
||||
<I382> = 382; // #define KEY_KEYBOARD 374
|
||||
<I569> = 569; // #define KEY_ROTATE_LOCK_TOGGLE 561
|
||||
- <I380> = 380; // #define KEY_FULL_SCREEN 372
|
||||
|
||||
// Fake keycodes for virtual keys
|
||||
<LVL3> = 92;
|
||||
diff --git a/symbols/inet b/symbols/inet
|
||||
index 049ac185..b3065e4a 100644
|
||||
--- a/symbols/inet
|
||||
+++ b/symbols/inet
|
||||
@@ -221,7 +221,6 @@ xkb_symbols "evdev" {
|
||||
key <I372> { [ XF86Favorites ] };
|
||||
key <I382> { [ XF86Keyboard ] };
|
||||
key <I569> { [ XF86RotationLockToggle ] };
|
||||
- key <I380> { [ XF86FullScreen ] };
|
||||
|
||||
key <FK13> { [ XF86Tools ] };
|
||||
key <FK14> { [ XF86Launch5 ] };
|
||||
Reference in New Issue
Block a user