From nobody@FreeBSD.org  Sat Feb 20 14:46:01 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 70340106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 20 Feb 2010 14:46:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 554258FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 20 Feb 2010 14:46:01 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o1KEk1u9052897
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 20 Feb 2010 14:46:01 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o1KEk1xe052896;
	Sat, 20 Feb 2010 14:46:01 GMT
	(envelope-from nobody)
Message-Id: <201002201446.o1KEk1xe052896@www.freebsd.org>
Date: Sat, 20 Feb 2010 14:46:01 GMT
From: Nick Withers <nick@nickwithers.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [Maintainer update] sysutils/downtime to 0.4.0
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         144143
>Category:       ports
>Synopsis:       [Maintainer update] sysutils/downtime to 0.4.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wen
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 20 14:50:02 UTC 2010
>Closed-Date:    Wed Feb 24 01:15:28 UTC 2010
>Last-Modified:  Wed Feb 24 01:20:02 UTC 2010
>Originator:     Nick Withers
>Release:        8.0-STABLE
>Organization:
>Environment:
FreeBSD nehalem.moonomanor.local 8.0-STABLE FreeBSD 8.0-STABLE #0: Wed Feb 17 02:57:09 EST 2010     root@nehalem.moonomanor.local:/usr/obj/usr/src/sys/NEHALEM  amd64
>Description:
Update port sysutils/downtime to version 0.4.0.

Changes:
  - Support "auto_run" tag in saved configuration files launched via DownTime to automatically start a specified shutdown
  - File->Save As, wherein one can specify that the saved file should auto-run
  - File associations - double-clicking a saved .downtime file file launch DownTime with those settings. If auto_run was specified, a shutdown will be launched immediately
  - Tray icon, enabled by default when a shutdown is pending
  - Use the proper GTK file open dialog
  - Remove the "Remember these settings" check box - We now always remember the last shutdown in the user's .downtime file, but don't auto-save to any other loader file
  - Disable File->Save if we can't write to the current config file
  - Correct PATH parsing

Would it be possible to have the downtime-0.4.0.tar.gz hosted, too?

Feature safe.

>How-To-Repeat:

>Fix:
diff -ruN /usr/ports/sysutils/downtime.orig/Makefile /usr/ports/sysutils/downtime/Makefile
--- /usr/ports/sysutils/downtime.orig/Makefile	2010-02-05 22:43:57.000000000 +1100
+++ /usr/ports/sysutils/downtime/Makefile	2010-02-21 00:11:05.000000000 +1100
@@ -6,17 +6,19 @@
 #
 
 PORTNAME=	downtime
-PORTVERSION=	0.3.2
-PORTREVISION=	2
+PORTVERSION=	0.4.0
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.nickwithers.com/downtime/
 
 MAINTAINER=	nick@nickwithers.com
 COMMENT=	A GTK-based shutdown manager using shutdown(8)
 
-USE_GNOME=	gtk20
+USE_GNOME=	gtk20 desktopfileutils
 
 MAN1=		downtime.1
 MANCOMPRESSED=	yes
 
+post-install:
+	-@update-desktop-database
+
 .include <bsd.port.mk>
diff -ruN /usr/ports/sysutils/downtime.orig/distinfo /usr/ports/sysutils/downtime/distinfo
--- /usr/ports/sysutils/downtime.orig/distinfo	2009-05-14 03:18:06.000000000 +1000
+++ /usr/ports/sysutils/downtime/distinfo	2010-02-21 00:37:36.000000000 +1100
@@ -1,3 +1,3 @@
-MD5 (downtime-0.3.2.tar.gz) = abf6fda99c4bc7cadea6cdecec4c0795
-SHA256 (downtime-0.3.2.tar.gz) = febdd4754cf54fc4487e4f9d8cd7b479f334d83be80de8917f9d4c7444d36daf
-SIZE (downtime-0.3.2.tar.gz) = 21582
+MD5 (downtime-0.4.0.tar.gz) = ad9d25a60f915949e6ac952af7b7c78f
+SHA256 (downtime-0.4.0.tar.gz) = 67a6f8c8ee6bdb95a29dd96b37e2a8ac5403c7d00492884f530cb2c553019ac6
+SIZE (downtime-0.4.0.tar.gz) = 23774
diff -ruN /usr/ports/sysutils/downtime.orig/pkg-plist /usr/ports/sysutils/downtime/pkg-plist
--- /usr/ports/sysutils/downtime.orig/pkg-plist	2007-09-18 04:29:30.000000000 +1000
+++ /usr/ports/sysutils/downtime/pkg-plist	2010-02-21 00:43:52.000000000 +1100
@@ -1,3 +1,11 @@
 bin/downtime
 share/applications/downtime.desktop
+share/mime/packages/downtime.xml
 @dirrmtry share/applications
+@dirrmtry share/mime/packages
+@dirrmtry share/mime
+@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
+@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true


>Release-Note:
>Audit-Trail:
Class-Changed-From-To: update->maintainer-update 
Class-Changed-By: edwin 
Class-Changed-When: Sat Feb 20 14:50:16 UTC 2010 
Class-Changed-Why:  
Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144143 
Responsible-Changed-From-To: freebsd-ports-bugs->wen 
Responsible-Changed-By: wen 
Responsible-Changed-When: Sun Feb 21 03:33:59 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144143 
State-Changed-From-To: open->closed 
State-Changed-By: wen 
State-Changed-When: Wed Feb 24 01:15:27 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144143 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/144143: commit references a PR
Date: Wed, 24 Feb 2010 01:14:35 +0000 (UTC)

 wen         2010-02-24 01:14:27 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils/downtime    Makefile distinfo pkg-plist 
   Log:
   - Update to 0.4.0
   
   PR:             ports/144143
   Submitted by:   Nick Withers <nick@nickwithers.com> (maintainer)
   Feature safe:   yes
   
   Revision  Changes    Path
   1.10      +5 -3      ports/sysutils/downtime/Makefile
   1.6       +3 -3      ports/sysutils/downtime/distinfo
   1.2       +8 -0      ports/sysutils/downtime/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
