summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorgutteridge <gutteridge@pkgsrc.org>2021-03-18 00:21:26 +0000
committergutteridge <gutteridge@pkgsrc.org>2021-03-18 00:21:26 +0000
commitacf35a67bf61fc7a568576fbfff38eb7108ba733 (patch)
tree3e037e30378d6e9eb7d52ecaf2e8264587dbda38 /x11
parentf21d536d0cf40442bedab146e015e9ee816f7895 (diff)
downloadpkgsrc-acf35a67bf61fc7a568576fbfff38eb7108ba733.tar.gz
lxhotkey: add version 0.1.1
LXHotkey is a universal application for the Lightweight X11 Desktop Environment (LXDE) which allows viewing and changing global keyboard shortcuts for window manager actions, including ones to start applications.
Diffstat (limited to 'x11')
-rw-r--r--x11/lxhotkey/DESCR3
-rw-r--r--x11/lxhotkey/Makefile22
-rw-r--r--x11/lxhotkey/PLIST17
-rw-r--r--x11/lxhotkey/distinfo7
-rw-r--r--x11/lxhotkey/patches/patch-src_lxhotkey.c14
5 files changed, 63 insertions, 0 deletions
diff --git a/x11/lxhotkey/DESCR b/x11/lxhotkey/DESCR
new file mode 100644
index 00000000000..3e8b48130d1
--- /dev/null
+++ b/x11/lxhotkey/DESCR
@@ -0,0 +1,3 @@
+LXHotkey is a universal application for the Lightweight X11 Desktop
+Environment (LXDE) which allows viewing and changing global keyboard
+shortcuts for window manager actions, including ones to start applications.
diff --git a/x11/lxhotkey/Makefile b/x11/lxhotkey/Makefile
new file mode 100644
index 00000000000..2175adec607
--- /dev/null
+++ b/x11/lxhotkey/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2021/03/18 00:21:26 gutteridge Exp $
+
+DISTNAME= lxhotkey-0.1.1
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lxde/}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://www.lxde.org/
+COMMENT= View and change global keyboard shortcuts for window manager actions
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake intltool pkg-config msgfmt msgmerge xgettext
+
+CONFIGURE_ARGS+= --with-gtk=2
+
+.include "../../sysutils/libfm/buildlink3.mk"
+.include "../../sysutils/libfm-extra/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/lxhotkey/PLIST b/x11/lxhotkey/PLIST
new file mode 100644
index 00000000000..6269b0eb469
--- /dev/null
+++ b/x11/lxhotkey/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2021/03/18 00:21:26 gutteridge Exp $
+bin/lxhotkey
+include/lxhotkey/lxhotkey.h
+lib/lxhotkey/gtk.so
+lib/lxhotkey/ob.so
+lib/pkgconfig/lxhotkey.pc
+man/man1/lxhotkey.1
+share/applications/lxhotkey-gtk.desktop
+share/locale/cs/LC_MESSAGES/lxhotkey.mo
+share/locale/fr/LC_MESSAGES/lxhotkey.mo
+share/locale/gl/LC_MESSAGES/lxhotkey.mo
+share/locale/nl/LC_MESSAGES/lxhotkey.mo
+share/locale/pt/LC_MESSAGES/lxhotkey.mo
+share/locale/ru/LC_MESSAGES/lxhotkey.mo
+share/locale/sr/LC_MESSAGES/lxhotkey.mo
+share/locale/sr@latin/LC_MESSAGES/lxhotkey.mo
+share/locale/uk/LC_MESSAGES/lxhotkey.mo
diff --git a/x11/lxhotkey/distinfo b/x11/lxhotkey/distinfo
new file mode 100644
index 00000000000..843733f1be4
--- /dev/null
+++ b/x11/lxhotkey/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2021/03/18 00:21:26 gutteridge Exp $
+
+SHA1 (lxhotkey-0.1.1.tar.xz) = 2f41397a07dc3ae19607be23f61f09cdb93c8a3d
+RMD160 (lxhotkey-0.1.1.tar.xz) = b3306f6cb29d0cd5cc0fd90fe9135cc823c3b49a
+SHA512 (lxhotkey-0.1.1.tar.xz) = 5b84a5d28717abf2d93f459f7ec745c0185b784125bc86f19dbbe9b760b55f01bcd2334e68db1f33ad70c1d715efba54395d415b55d58b75849c4298651ac4a3
+Size (lxhotkey-0.1.1.tar.xz) = 287204 bytes
+SHA1 (patch-src_lxhotkey.c) = 5bee473b64d7f08b5d01bf18ebcdbc7f924061dd
diff --git a/x11/lxhotkey/patches/patch-src_lxhotkey.c b/x11/lxhotkey/patches/patch-src_lxhotkey.c
new file mode 100644
index 00000000000..9cf5395c1b7
--- /dev/null
+++ b/x11/lxhotkey/patches/patch-src_lxhotkey.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_lxhotkey.c,v 1.1 2021/03/18 00:21:26 gutteridge Exp $
+
+Needs locale.h.
+
+--- src/lxhotkey.c.orig 2021-01-30 21:22:44.000000000 +0000
++++ src/lxhotkey.c
+@@ -29,6 +29,7 @@
+ #include <X11/Xlib.h>
+ #include <X11/Xatom.h>
+
++#include <locale.h>
+ #include <stdlib.h>
+
+ #ifdef HAVE_LIBUNISTRING