summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorsnj <snj>2009-12-14 00:47:23 +0000
committersnj <snj>2009-12-14 00:47:23 +0000
commit09eba8b6df0352c1dfd4551e9fd0e22fe96255d1 (patch)
tree0301a4bb0a8fe90acc6aa2d3c10eb86f7a517c69 /x11
parentbf20a47dc999a67503c99dddffc8911538afb77d (diff)
downloadpkgsrc-09eba8b6df0352c1dfd4551e9fd0e22fe96255d1.tar.gz
Add tint2 to pkgsrc. From Fernando Tarlá Cardoso Lemosin PR pkg/42446,
modified a bit by me. Tint2 is a simple panel/taskbar intentionally made for openbox3, but which should also work with other window managers. The goal is to keep a clean and non-intrusive look with code that is lightweight and in compliance with freedesktop specifications. Tint2 taskbar features: * color/transparency on font, icon, border and background * customize mouse event * drag and drop task between desktop and switch desktop Tint2 panel features: * clock with font, color and transparency * multi-monitor: panel position adjust to monitor, taskbar by monitor
Diffstat (limited to 'x11')
-rw-r--r--x11/tint2/DESCR16
-rw-r--r--x11/tint2/Makefile36
-rw-r--r--x11/tint2/PLIST8
-rw-r--r--x11/tint2/distinfo7
-rw-r--r--x11/tint2/patches/patch-aa23
-rw-r--r--x11/tint2/patches/patch-ab14
6 files changed, 104 insertions, 0 deletions
diff --git a/x11/tint2/DESCR b/x11/tint2/DESCR
new file mode 100644
index 00000000000..1b5cc824b2e
--- /dev/null
+++ b/x11/tint2/DESCR
@@ -0,0 +1,16 @@
+Tint2 is a simple panel/taskbar intentionally made for openbox3, but which
+should also work with other window managers.
+
+The goal is to keep a clean and non-intrusive look with code that is
+lightweight and in compliance with freedesktop specifications.
+
+Tint2 taskbar features:
+
+ * color/transparency on font, icon, border and background
+ * customize mouse event
+ * drag and drop task between desktop and switch desktop
+
+Tint2 panel features:
+
+ * clock with font, color and transparency
+ * multi-monitor: panel position adjust to monitor, taskbar by monitor
diff --git a/x11/tint2/Makefile b/x11/tint2/Makefile
new file mode 100644
index 00000000000..e368aced55c
--- /dev/null
+++ b/x11/tint2/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/12/14 00:47:23 snj Exp $
+
+DISTNAME= tint2-0.7.1
+CATEGORIES= x11
+MASTER_SITES= http://tint2.googlecode.com/files/
+
+MAINTAINER= fernandotcl@gmail.com
+HOMEPAGE= http://tint2.googlecode.com/files/
+COMMENT= Tint2 is a simple panel/taskbar
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake pkg-config
+
+PKG_SYSCONFSUBDIR= xdg
+
+OWN_DIRS= ${PKG_SYSCONFDIR}/tint2
+CONF_FILES= ${PREFIX}/share/examples/tint2/tint2rc \
+ ${PKG_SYSCONFDIR}/tint2/tint2rc
+
+INSTALLATION_DIRS= share/examples/tint2
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/tint2rc \
+ ${DESTDIR}${PREFIX}/share/examples/tint2
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/pango/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../graphics/imlib2/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
+.include "../../x11/libXrandr/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/tint2/PLIST b/x11/tint2/PLIST
new file mode 100644
index 00000000000..e6aaa7ce937
--- /dev/null
+++ b/x11/tint2/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/12/14 00:47:23 snj Exp $
+bin/tint2
+man/man1/tint2.1
+share/doc/tint2/AUTHORS
+share/doc/tint2/ChangeLog
+share/doc/tint2/NEWS
+share/doc/tint2/README
+share/examples/tint2/tint2rc
diff --git a/x11/tint2/distinfo b/x11/tint2/distinfo
new file mode 100644
index 00000000000..533a25ada05
--- /dev/null
+++ b/x11/tint2/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/12/14 00:47:23 snj Exp $
+
+SHA1 (tint2-0.7.1.tar.gz) = afb18e29e7d1156b4455127f73decf1d87eae64f
+RMD160 (tint2-0.7.1.tar.gz) = 5b91f0e7f8439f5d3ba1d64ac2dbd857a7fb599a
+Size (tint2-0.7.1.tar.gz) = 331432 bytes
+SHA1 (patch-aa) = c69daffa0d4598f4a53c518e50b0de66a01ba67b
+SHA1 (patch-ab) = f2c4add2e221b0f12dfeb8305af0ba53c57aa7b9
diff --git a/x11/tint2/patches/patch-aa b/x11/tint2/patches/patch-aa
new file mode 100644
index 00000000000..54e2bc13e54
--- /dev/null
+++ b/x11/tint2/patches/patch-aa
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/12/14 00:47:23 snj Exp $
+
+--- src/tint.c.orig 2009-12-12 19:33:03.000000000 -0200
++++ src/tint.c
+@@ -38,6 +38,9 @@
+ #include "systraybar.h"
+ #include "panel.h"
+
++#ifndef SIGCHLD
++# define SIGCHLD SIGCLD
++#endif
+
+ void signal_handler(int sig)
+ {
+@@ -53,7 +56,7 @@ void init ()
+ signal(SIGINT, signal_handler);
+ signal(SIGTERM, signal_handler);
+ signal(SIGHUP, signal_handler);
+- signal(SIGCLD, SIG_IGN); // don't have to wait() after fork()
++ signal(SIGCHLD, SIG_IGN); // don't have to wait() after fork()
+
+ // set global data
+ memset(&server, 0, sizeof(Server_global));
diff --git a/x11/tint2/patches/patch-ab b/x11/tint2/patches/patch-ab
new file mode 100644
index 00000000000..ab997aafeb8
--- /dev/null
+++ b/x11/tint2/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/12/14 00:47:23 snj Exp $
+
+--- Makefile.in.orig 2009-12-13 11:11:42.000000000 -0800
++++ Makefile.in 2009-12-13 11:12:53.000000000 -0800
+@@ -676,8 +676,7 @@ info: info-recursive
+
+ info-am:
+
+-install-data-am: install-dist_docDATA install-dist_examplesDATA \
+- install-dist_rcDATA
++install-data-am: install-dist_docDATA install-dist_examplesDATA
+
+ install-dvi: install-dvi-recursive
+