summaryrefslogtreecommitdiff
path: root/x11/lxterminal
diff options
context:
space:
mode:
authoryouri <youri@pkgsrc.org>2016-05-23 10:23:35 +0000
committeryouri <youri@pkgsrc.org>2016-05-23 10:23:35 +0000
commitab855b792fbbf2f988c50e20ddf53e91edfff1c7 (patch)
tree7f6740e3af5789eb3cef3e545a68773d25995976 /x11/lxterminal
parentf0be11fc9fa1676acdd3f00c2ccb0a3741e98162 (diff)
downloadpkgsrc-ab855b792fbbf2f988c50e20ddf53e91edfff1c7.tar.gz
Import lxterminal-0.2.0 as x11/lxterminal.
LXterminal is a VTE-based terminal emulator with support for multiple tabs. All instances of the terminal share a single process.
Diffstat (limited to 'x11/lxterminal')
-rw-r--r--x11/lxterminal/DESCR2
-rw-r--r--x11/lxterminal/Makefile19
-rw-r--r--x11/lxterminal/PLIST8
-rw-r--r--x11/lxterminal/distinfo8
-rw-r--r--x11/lxterminal/patches/patch-src_setting.c15
-rw-r--r--x11/lxterminal/patches/patch-src_unixsocket.c14
6 files changed, 66 insertions, 0 deletions
diff --git a/x11/lxterminal/DESCR b/x11/lxterminal/DESCR
new file mode 100644
index 00000000000..48e01214823
--- /dev/null
+++ b/x11/lxterminal/DESCR
@@ -0,0 +1,2 @@
+LXterminal is a VTE-based terminal emulator with support for multiple
+tabs. All instances of the terminal share a single process.
diff --git a/x11/lxterminal/Makefile b/x11/lxterminal/Makefile
new file mode 100644
index 00000000000..3426dde1f59
--- /dev/null
+++ b/x11/lxterminal/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2016/05/23 10:23:35 youri Exp $
+
+DISTNAME= lxterminal-0.2.0
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lxde/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.lxde.org/
+COMMENT= Desktop-independent VTE-based terminal emulator with tabs
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= intltool pkg-config
+
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/vte/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/lxterminal/PLIST b/x11/lxterminal/PLIST
new file mode 100644
index 00000000000..965f04186a4
--- /dev/null
+++ b/x11/lxterminal/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2016/05/23 10:23:35 youri Exp $
+bin/lxterminal
+man/man1/lxterminal.1
+share/applications/lxterminal.desktop
+share/icons/hicolor/128x128/apps/lxterminal.png
+share/lxterminal/lxterminal-preferences.ui
+share/lxterminal/lxterminal.conf
+share/lxterminal/menu.ui
diff --git a/x11/lxterminal/distinfo b/x11/lxterminal/distinfo
new file mode 100644
index 00000000000..29de77307bb
--- /dev/null
+++ b/x11/lxterminal/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2016/05/23 10:23:35 youri Exp $
+
+SHA1 (lxterminal-0.2.0.tar.gz) = 0c2269c43aa463e5dbf869d935745226b3c9943a
+RMD160 (lxterminal-0.2.0.tar.gz) = 3398b90578a1e319c9474c1bd3862698177b657d
+SHA512 (lxterminal-0.2.0.tar.gz) = 5bec0e16fa4d929203e4c206fb59fb0c88e02f29adbf527c31fa2a0007d3dddbdf12f2219e204360b5dd95a68a89410fcf937325f3a7eb1229b568c9c10c0e78
+Size (lxterminal-0.2.0.tar.gz) = 248698 bytes
+SHA1 (patch-src_setting.c) = 99abd72ce3113527d0a1a337f01c038d16fac65d
+SHA1 (patch-src_unixsocket.c) = 7b46000ec467c6792b186b99c314443785e6b14e
diff --git a/x11/lxterminal/patches/patch-src_setting.c b/x11/lxterminal/patches/patch-src_setting.c
new file mode 100644
index 00000000000..b0002276e8b
--- /dev/null
+++ b/x11/lxterminal/patches/patch-src_setting.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_setting.c,v 1.1 2016/05/23 10:23:35 youri Exp $
+
+Fix glib function
+
+--- src/setting.c.orig 2014-10-21 15:29:18.000000000 +0000
++++ src/setting.c
+@@ -162,7 +162,7 @@ void save_setting()
+ /* Deep copy settings. */
+ Setting * copy_setting(Setting * setting)
+ {
+- g_return_if_fail (setting != NULL);
++ g_return_val_if_fail (setting != NULL, NULL);
+
+ /* Allocate structure. */
+ Setting * new_setting = g_slice_new0(Setting);
diff --git a/x11/lxterminal/patches/patch-src_unixsocket.c b/x11/lxterminal/patches/patch-src_unixsocket.c
new file mode 100644
index 00000000000..fed69d3c919
--- /dev/null
+++ b/x11/lxterminal/patches/patch-src_unixsocket.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_unixsocket.c,v 1.1 2016/05/23 10:23:35 youri Exp $
+
+string.h for memset
+
+--- src/unixsocket.c.orig 2015-05-21 08:43:09.000000000 -0700
++++ src/unixsocket.c 2015-05-21 08:43:20.000000000 -0700
+@@ -20,6 +20,7 @@
+
+ #include <sys/socket.h>
+ #include <sys/un.h>
++#include <string.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <errno.h>