From owner-svn-ports-all@freebsd.org Sun Oct 1 07:43:24 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2223FE35571; Sun, 1 Oct 2017 07:43:24 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ED8D87C1EA; Sun, 1 Oct 2017 07:43:23 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v917hNpb012703; Sun, 1 Oct 2017 07:43:23 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v917hMNM012697; Sun, 1 Oct 2017 07:43:22 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <201710010743.v917hMNM012697@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Sun, 1 Oct 2017 07:43:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r451026 - head/sysutils/dsbbatmon X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: head/sysutils/dsbbatmon X-SVN-Commit-Revision: 451026 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 07:43:24 -0000 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 (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 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