Commit d4f1951a authored by Jan Hustak's avatar Jan Hustak Committed by Kevin Daudt
Browse files

testing/xvkbd: new aport

http://t-sato.in.coocan.jp/xvkbd/
The xvkbd virtual keyboard for X11

Closes GH-6041
Fixes RM #1454
parent 6f6291b8
--- src/Imakefile.orig
+++ src/Imakefile
@@ -4,13 +4,13 @@
XCOMM Remove the next line if you want genuine Xaw instead of Xaw3d
-#define XAW3D
+# #define XAW3D
XCOMM Remove the next line if you don't want to enable XTEST support
#define XTEST
XCOMM Remove the next line if you want to disable internationalization
-#define I18N
+# #define I18N
SRCS = xvkbd.c findwidget.c
--- src/xvkbd.c.orig
+++ src/xvkbd.c
@@ -3642,10 +3642,7 @@
icon_pixmap = XCreateBitmapFromData(XtDisplay(w), XtWindow(w),
(char *)xvkbd_icon_bits,
xvkbd_icon_width, xvkbd_icon_height);;
- icon_mask = XCreateBitmapFromData(XtDisplay(w), XtWindow(w),
- (char *)xvkbd_iconmask_bits,
- xvkbd_iconmask_width, xvkbd_iconmask_height);
- XtVaSetValues(w, XtNiconPixmap, icon_pixmap, XtNiconMask, icon_mask, NULL);
+ XtVaSetValues(w, XtNiconPixmap, icon_pixmap, NULL);
}
/*
# Contributor: Jan Hustak <coding@journey.sk>
# Maintainer:
pkgname=xvkbd
pkgver=3.9
pkgrel=0
pkgdesc="The xvkbd virtual keyboard for X11"
url="http://t-sato.in.coocan.jp/xvkbd/"
arch="all"
license="GPL-2.0-or-later"
options="!check" # No test suite
depends="libxt libxmu libxaw libxtst"
makedepends="imake xorg-server-dev libxt-dev libxmu-dev
libxaw-dev libxtst-dev xorg-cf-files"
subpackages="$pkgname-doc"
source="http://t-sato.in.coocan.jp/xvkbd/xvkbd-$pkgver.tar.gz
10-remove-dependency-on-Xaw3d.patch
20-remove-icon-mask.patch
xvkbd.desktop
xvkbd.png"
builddir="$srcdir/$pkgname-$pkgver"
build() {
xmkmf
make
}
package() {
make DESTDIR="$pkgdir" install
make MANPATH=/usr/share/man DESTDIR="$pkgdir" install.man
install -Dm644 "$srcdir"/xvkbd.desktop \
"$pkgdir"/usr/share/applications/xvkbd.desktop
install -Dm644 "$srcdir"/xvkbd.png \
"$pkgdir"/usr/share/icons/xvkbd.png
}
sha512sums="f85d94f9b8012023eb4e901c1962ea39a491df2af67b617efb0817023eb93c460446ab9414fb20dcaee02e270cb9cb7b058a83ae96ffae73291b799f15a04b98 xvkbd-3.9.tar.gz
1cce82ed48fa93f2df4743513d50efccee5494b22b7ced38d198dc2b566d0c251718ef2e05426201236684c0f63bb27b4d164c36eecd4008cd456a203c85b7f1 10-remove-dependency-on-Xaw3d.patch
e8b265856c3152c231cbded838d1585b57cdca6c53654d72781e52aed7e8d18650202db046497699e47384b0a96deb99521eed4693d1e30757938d08fb2e1e68 20-remove-icon-mask.patch
bd7fbcb8eb0aa9f928048ad94737ed02fcd07c29d4c85371cc32e6c05011252c073b41ea4b6e78294131c0926d84b707a0febb2c214391a46682cd16d8080a23 xvkbd.desktop
c4465298fab7fdce048d238b949078f0ad3b9f5d8a8b0cbb7424a8877824e188637e37c883805c1a611bec75e3d0855af20675b7a98367d15e9093670cf71cf5 xvkbd.png"
[Desktop Entry]
Version=1.0
Exec=xvkbd
Icon=xvkbd
StartupNotify=false
Terminal=false
Type=Application
Categories=Utility;
Name=Virtual Keyboard
Comment=Type by clicking or tapping images of keys
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment