Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Oct 2017 07:43:22 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r451026 - head/sysutils/dsbbatmon
Message-ID:  <201710010743.v917hMNM012697@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sun Oct  1 07:43:22 2017
New Revision: 451026
URL: https://svnweb.freebsd.org/changeset/ports/451026

Log:
  Update sysutils/dsbbatmon to 1.0
  
  The following changes have been made:
  
  - Switch from GTK+ to Qt.
  - Change tray icon depending on battery status.
  - Generate tray icons if no theme icons are available.
  - Detect if battery was added to or removed from the system.
  - Let the user choose between auto-shutdown and auto-suspend.
  - Let the user configure the ACPI poll interval.
  
  PR:		221912
  Submitted by:	Marcel Kaiser <mk@nic-nac-project.org> (maintainer)

Added:
  head/sysutils/dsbbatmon/pkg-message   (contents, props changed)
Modified:
  head/sysutils/dsbbatmon/Makefile
  head/sysutils/dsbbatmon/distinfo
  head/sysutils/dsbbatmon/pkg-descr
  head/sysutils/dsbbatmon/pkg-plist

Modified: head/sysutils/dsbbatmon/Makefile
==============================================================================
--- head/sysutils/dsbbatmon/Makefile	Sun Oct  1 07:36:02 2017	(r451025)
+++ head/sysutils/dsbbatmon/Makefile	Sun Oct  1 07:43:22 2017	(r451026)
@@ -1,23 +1,19 @@
 # $FreeBSD$
 
 PORTNAME=	dsbbatmon
-PORTVERSION=	0.1.2
+PORTVERSION=	1.0
 CATEGORIES=	sysutils
 MASTER_SITES=	http://freeshell.de/~mk/download/
 
 MAINTAINER=	mk@nic-nac-project.org
-COMMENT=	GTK+ battery monitor
+COMMENT=	Qt battery monitor
 
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		pkgconfig tar:tgz
-USE_GNOME=	gtk20
+USES=		tar:tgz qmake
 
-OPTIONS_DEFINE=	NLS
-OPTIONS_SUB=	yes
-
-NLS_USES=	gettext
-NLS_MAKE_ARGS_OFF=	-DWITHOUT_GETTEXT
+USE_GL=		gl
+USE_QT5=	buildtools_build core gui linguisttools_build widgets
 
 .include <bsd.port.mk>

Modified: head/sysutils/dsbbatmon/distinfo
==============================================================================
--- head/sysutils/dsbbatmon/distinfo	Sun Oct  1 07:36:02 2017	(r451025)
+++ head/sysutils/dsbbatmon/distinfo	Sun Oct  1 07:43:22 2017	(r451026)
@@ -1,2 +1,3 @@
-SHA256 (dsbbatmon-0.1.2.tgz) = 298f63f18cf371bc4c75d82f5dbe3191fe539feb40441ca22e0d00da026ed31d
-SIZE (dsbbatmon-0.1.2.tgz) = 74240
+TIMESTAMP = 1504017664
+SHA256 (dsbbatmon-1.0.tgz) = fb630d3618dfa41665a6fa852a0a61feef2eee040c4534673c790154198235a3
+SIZE (dsbbatmon-1.0.tgz) = 21044

Modified: head/sysutils/dsbbatmon/pkg-descr
==============================================================================
--- head/sysutils/dsbbatmon/pkg-descr	Sun Oct  1 07:36:02 2017	(r451025)
+++ head/sysutils/dsbbatmon/pkg-descr	Sun Oct  1 07:43:22 2017	(r451026)
@@ -1,6 +1,6 @@
-DSBBatmon is a GTK+ battery monitor for FreeBSD. It displays the battery's
+DSBBatmon is a Qt battery monitor for FreeBSD. It displays the battery's
 current status, capacity, and remaining time. It warns the user if the battery
-capacity is low, and can automatically shut down the system if a critical
-capacity is reached.
+capacity is low, and can automatically shut down or suspend the system if a
+critical capacity is reached.
 
 WWW: http://freeshell.de/~mk/projects/dsbbatmon.html

Added: head/sysutils/dsbbatmon/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/dsbbatmon/pkg-message	Sun Oct  1 07:43:22 2017	(r451026)
@@ -0,0 +1,15 @@
+**************************************************************************
+
+In order to be able to execute shutdown as regular user, you can either
+use sudo(8) (see below), or you can add your username to the operator
+group:
+	# pw groupmod operator -m yourusername
+
+If you want to be able to suspend your system as regular user who is
+member of the wheel group, you can use sudo(8).  Add
+
+	%wheel  ALL=(ALL) NOPASSWD: /usr/sbin/acpiconf *
+
+to ${PREFIX}/etc/sudoers.
+
+**************************************************************************

Modified: head/sysutils/dsbbatmon/pkg-plist
==============================================================================
--- head/sysutils/dsbbatmon/pkg-plist	Sun Oct  1 07:36:02 2017	(r451025)
+++ head/sysutils/dsbbatmon/pkg-plist	Sun Oct  1 07:43:22 2017	(r451026)
@@ -1,3 +1,3 @@
 bin/dsbbatmon
 share/applications/dsbbatmon.desktop
-%%NLS%%share/locale/de/LC_MESSAGES/dsbbatmon.mo
+%%DATADIR%%/dsbbatmon_de.qm



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