diff options
author | Jan Hustak <coding@journey.sk> | 2019-01-12 20:55:56 +0100 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-05-12 14:20:05 +0000 |
commit | d4f1951a0ea6e0f75835b9c91dcb544fc2e52064 (patch) | |
tree | d3093a86b3835e2af23ba15acd57515399097343 /testing | |
parent | 6f6291b8a608968480b2b5ad3b22446bfece80a8 (diff) | |
download | aports-d4f1951a0ea6e0f75835b9c91dcb544fc2e52064.tar.bz2 aports-d4f1951a0ea6e0f75835b9c91dcb544fc2e52064.tar.xz |
testing/xvkbd: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/xvkbd/10-remove-dependency-on-Xaw3d.patch | 18 | ||||
-rw-r--r-- | testing/xvkbd/20-remove-icon-mask.patch | 14 | ||||
-rw-r--r-- | testing/xvkbd/APKBUILD | 40 | ||||
-rw-r--r-- | testing/xvkbd/xvkbd.desktop | 10 | ||||
-rw-r--r-- | testing/xvkbd/xvkbd.png | bin | 0 -> 307 bytes |
5 files changed, 82 insertions, 0 deletions
diff --git a/testing/xvkbd/10-remove-dependency-on-Xaw3d.patch b/testing/xvkbd/10-remove-dependency-on-Xaw3d.patch new file mode 100644 index 0000000000..c2bee8cdf5 --- /dev/null +++ b/testing/xvkbd/10-remove-dependency-on-Xaw3d.patch @@ -0,0 +1,18 @@ +--- 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 diff --git a/testing/xvkbd/20-remove-icon-mask.patch b/testing/xvkbd/20-remove-icon-mask.patch new file mode 100644 index 0000000000..ae26c8276e --- /dev/null +++ b/testing/xvkbd/20-remove-icon-mask.patch @@ -0,0 +1,14 @@ +--- 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); + } + + /* diff --git a/testing/xvkbd/APKBUILD b/testing/xvkbd/APKBUILD new file mode 100644 index 0000000000..3ecfcd9391 --- /dev/null +++ b/testing/xvkbd/APKBUILD @@ -0,0 +1,40 @@ +# 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" diff --git a/testing/xvkbd/xvkbd.desktop b/testing/xvkbd/xvkbd.desktop new file mode 100644 index 0000000000..c5f9f51879 --- /dev/null +++ b/testing/xvkbd/xvkbd.desktop @@ -0,0 +1,10 @@ +[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 diff --git a/testing/xvkbd/xvkbd.png b/testing/xvkbd/xvkbd.png Binary files differnew file mode 100644 index 0000000000..5d694a30fe --- /dev/null +++ b/testing/xvkbd/xvkbd.png |