Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 2015 12:25:07 +0000 (UTC)
From:      Johannes Jost Meixner <xmj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382998 - in head/x11: . tint-devel
Message-ID:  <201504021225.t32CP7wH041196@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: xmj
Date: Thu Apr  2 12:25:06 2015
New Revision: 382998
URL: https://svnweb.freebsd.org/changeset/ports/382998

Log:
  x11/tint-devel:	add port
  
  Tint is a simple panel/taskbar/systray intentionally made for openbox3,
  but should also work with other window managers. The goal is to keep a
  clean and unintrusive look with lightweight code and compliance with
  freedesktop specifications.
  
  Tint taskbar features
      * color/transparency on font, icon, border and background
      * customize mouse event
      * drag and drop task between desktop and switch desktop
  
  Tint panel features
      * clock with font, color and transparency
      * multi-monitor : panel position adjust to monitor, taskbar by monitor
  
  This is the development version. It has some cool new features, but also
  may have some bugs.
  
  WWW: http://code.google.com/p/tint2/
  
  PR:		198317
  Differential Revision:	https://reviews.freebsd.org/D2180
  Submitted by:	Yamagi@yamagi.org
  Approved by:	koobs (mentor)

Added:
  head/x11/tint-devel/
  head/x11/tint-devel/Makefile   (contents, props changed)
  head/x11/tint-devel/distinfo   (contents, props changed)
  head/x11/tint-devel/pkg-descr   (contents, props changed)
  head/x11/tint-devel/pkg-plist   (contents, props changed)
Modified:
  head/x11/Makefile

Modified: head/x11/Makefile
==============================================================================
--- head/x11/Makefile	Thu Apr  2 12:19:52 2015	(r382997)
+++ head/x11/Makefile	Thu Apr  2 12:25:06 2015	(r382998)
@@ -284,6 +284,7 @@
     SUBDIR += thingylaunch
     SUBDIR += tilda
     SUBDIR += tint
+    SUBDIR += tint-devel
     SUBDIR += tkXwin
     SUBDIR += trapproto
     SUBDIR += trayer

Added: head/x11/tint-devel/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/tint-devel/Makefile	Thu Apr  2 12:25:06 2015	(r382998)
@@ -0,0 +1,75 @@
+# $FreeBSD$
+
+PORTNAME=	tint2
+PORTVERSION=	2.00.${SVNREVISION:C/r//}
+CATEGORIES=	x11
+MASTER_SITES=	http://deponie.yamagi.org/freebsd/distfiles/tint/
+PKGNAMESUFFIX=	-devel
+DISTNAME=	tint2-devel-${SVNREVISION}
+
+MAINTAINER=	yamagi@yamagi.org
+COMMENT=	Lightweight freedesktop-compliant panel (development version)
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libcairo.so:${PORTSDIR}/graphics/cairo \
+		libImlib2.so:${PORTSDIR}/graphics/imlib2 \
+		librsvg-2.so:${PORTSDIR}/graphics/librsvg2
+
+CONFLICTS=	tint2-[0-9]*
+
+USES=		alias cmake pkgconfig tar:xz
+USE_GNOME=	glib20 pango
+USE_XORG=	xcomposite xdamage xinerama xrandr
+
+CMAKE_ARGS=	-DENABLE_BATTERY:BOOL=ON -DMANDIR:PATH=man
+
+OPTIONS_DEFINE=	DOCS EXAMPLES PYCONF
+OPTIONS_DEFAULT=	PYCONF
+OPTIONS_SUB=	yes
+PYCONF_DESC=	Configuration editing tool (requires python)
+
+SVNREVISION=	r727
+
+PORTEXAMPLES=	icon_and_text_1.tint2rc icon_and_text_2.tint2rc \
+		icon_and_text_3.tint2rc icon_and_text_4.tint2rc \
+		icon_only_1.tint2rc icon_only_2.tint2rc icon_only_3.tint2rc \
+		icon_only_4.tint2rc icon_only_6.tint2rc icon_only_7.tint2rc \
+		text_only_1.tint2rc text_only_2.tint2rc text_only_3.tint2rc \
+		text_only_4.tint2rc text_only_5.tint2rc text_only_6.tint2rc tint2rc
+PORTDOCS=	AUTHORS ChangeLog README
+
+PYCONF_LIB_DEPENDS=	libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification
+PYCONF_USES=	python
+PYCONF_USE=	gnome=gtk20,pygtk2
+PYCONF_CMAKE_ON=	-DENABLE_TINT2CONF:BOOL=ON
+PYCONF_CMAKE_OFF=	-DENABLE_TINT2CONF:BOOL=OFF
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MPYCONF}
+PYCONF_SRC=	${WRKSRC}/src/tint2conf
+
+post-patch:
+	@${MV} ${PYCONF_SRC}/tintwizard.py ${PYCONF_SRC}/tintwizard.py.Dist
+	@${SED} -e 's#pidof#pgrep#g' ${PYCONF_SRC}/tintwizard.py.Dist \
+		> ${PYCONF_SRC}/tintwizard.py
+.endif
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/tint2 ${STAGEDIR}${PREFIX}/bin
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/tint2-devel
+	${INSTALL_DATA} ${WRKSRC}/default_icon.png ${STAGEDIR}${PREFIX}/share/tint2-devel
+	${INSTALL_MAN} ${WRKSRC}/doc/tint2.1 ${STAGEDIR}${MANPREFIX}/man/man1
+.if ${PORT_OPTIONS:MPYCONF}
+	${INSTALL_PROGRAM} ${PYCONF_SRC}/tint2conf ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${PYCONF_SRC}/tintwizard.py ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${PYCONF_SRC}/tint2conf.desktop ${STAGEDIR}${PREFIX}/share/applications
+.endif
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${MKDIR}  ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/sample/|} ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>

Added: head/x11/tint-devel/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/tint-devel/distinfo	Thu Apr  2 12:25:06 2015	(r382998)
@@ -0,0 +1,2 @@
+SHA256 (tint2-devel-r727.tar.xz) = 7e2e3d234af3b5a1b34d44e087cc6377acb6b93765114d91c11308b51b14f73a
+SIZE (tint2-devel-r727.tar.xz) = 120604

Added: head/x11/tint-devel/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/tint-devel/pkg-descr	Thu Apr  2 12:25:06 2015	(r382998)
@@ -0,0 +1,18 @@
+Tint is a simple panel/taskbar/systray intentionally made for openbox3,
+but should also work with other window managers. The goal is to keep a
+clean and unintrusive look with lightweight code and compliance with
+freedesktop specifications.
+
+Tint taskbar features
+    * color/transparency on font, icon, border and background
+    * customize mouse event
+    * drag and drop task between desktop and switch desktop 
+
+Tint panel features
+    * clock with font, color and transparency
+    * multi-monitor : panel position adjust to monitor, taskbar by monitor
+
+This is the development version. It has some cool new features, but also
+may have some bugs.
+
+WWW: http://code.google.com/p/tint2/

Added: head/x11/tint-devel/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/tint-devel/pkg-plist	Thu Apr  2 12:25:06 2015	(r382998)
@@ -0,0 +1,6 @@
+bin/tint2
+man/man1/tint2.1.gz
+%%PYCONF%%bin/tint2conf
+%%PYCONF%%bin/tintwizard.py
+%%PYCONF%%share/applications/tint2conf.desktop
+%%DATADIR%%-devel/default_icon.png



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504021225.t32CP7wH041196>