Thu Mar 18 00:21:26 2021 UTC ()
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.


(gutteridge)
diff -r0 -r1.1 pkgsrc/x11/lxhotkey/DESCR
diff -r0 -r1.1 pkgsrc/x11/lxhotkey/Makefile
diff -r0 -r1.1 pkgsrc/x11/lxhotkey/PLIST
diff -r0 -r1.1 pkgsrc/x11/lxhotkey/distinfo
diff -r0 -r1.1 pkgsrc/x11/lxhotkey/patches/patch-src_lxhotkey.c

File Added: pkgsrc/x11/lxhotkey/DESCR
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.

File Added: pkgsrc/x11/lxhotkey/Makefile
# $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"

File Added: pkgsrc/x11/lxhotkey/PLIST
@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

File Added: pkgsrc/x11/lxhotkey/distinfo
$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

File Added: pkgsrc/x11/lxhotkey/patches/patch-src_lxhotkey.c
$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