From owner-svn-ports-head@FreeBSD.ORG Tue Feb 25 23:49:19 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 76F748F5; Tue, 25 Feb 2014 23:49:19 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 477451963; Tue, 25 Feb 2014 23:49:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1PNnJ4C081325; Tue, 25 Feb 2014 23:49:19 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1PNnIGv081322; Tue, 25 Feb 2014 23:49:18 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201402252349.s1PNnIGv081322@svn.freebsd.org> From: John Marino Date: Tue, 25 Feb 2014 23:49:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346080 - in head/x11-clocks/wmfuzzy: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Feb 2014 23:49:19 -0000 Author: marino Date: Tue Feb 25 23:49:18 2014 New Revision: 346080 URL: http://svnweb.freebsd.org/changeset/ports/346080 QAT: https://qat.redports.org/buildarchive/r346080/ Log: x11-clocks/wmfuzzy: Update at 1 hertz instead of 10 khz This fuzzy clock display only changes approximately every 5 minutes, so it's crazy that it internally updates every 10 microseconds. Save CPU and let it sleep a second at a time. While here, remove indefinite article from comment, remove unnecessary NOPORTDOCS check, and indicate GPLv2 license. PR: ports/181137 Submitted-by: Marcus Reid Added: head/x11-clocks/wmfuzzy/files/patch-xdisplay.c (contents, props changed) Modified: head/x11-clocks/wmfuzzy/Makefile Modified: head/x11-clocks/wmfuzzy/Makefile ============================================================================== --- head/x11-clocks/wmfuzzy/Makefile Tue Feb 25 23:04:06 2014 (r346079) +++ head/x11-clocks/wmfuzzy/Makefile Tue Feb 25 23:49:18 2014 (r346080) @@ -3,13 +3,15 @@ PORTNAME= wmfuzzy PORTVERSION= 0.7.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-clocks windowmaker MASTER_SITES= http://www.manicai.net/comp/wmfuzzy/assets/ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org -COMMENT= A fuzzy clock WindowMaker dockapp +COMMENT= Fuzzy clock WindowMaker dockapp + +LICENSE= GPLv2 WRKSRC= ${WRKDIR}/${DISTNAME}/src @@ -20,9 +22,7 @@ PLIST_FILES= bin/wmfuzzy do-install: ${INSTALL_PROGRAM} ${WRKSRC}/wmfuzzy ${STAGEDIR}${PREFIX}/bin -.if !defined(NOPORTDOCS) @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/../README ${STAGEDIR}${DOCSDIR} -.endif .include Added: head/x11-clocks/wmfuzzy/files/patch-xdisplay.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-clocks/wmfuzzy/files/patch-xdisplay.c Tue Feb 25 23:49:18 2014 (r346080) @@ -0,0 +1,11 @@ +--- xdisplay.c.orig 2004-11-23 21:32:48.000000000 +0000 ++++ xdisplay.c +@@ -383,7 +383,7 @@ void display_main_loop(void) + x_handle_event(&event); + } + +- usleep(100); ++ sleep(1); + } + } +