From owner-svn-ports-all@FreeBSD.ORG Thu Jul 4 08:04:23 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 55172A48; Thu, 4 Jul 2013 08:04:23 +0000 (UTC) (envelope-from martymac@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 2DD9A15EF; Thu, 4 Jul 2013 08:04:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6484NJ6014790; Thu, 4 Jul 2013 08:04:23 GMT (envelope-from martymac@svn.freebsd.org) Received: (from martymac@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6484MLY014788; Thu, 4 Jul 2013 08:04:22 GMT (envelope-from martymac@svn.freebsd.org) Message-Id: <201307040804.r6484MLY014788@svn.freebsd.org> From: Ganael LAPLANCHE Date: Thu, 4 Jul 2013 08:04:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r322267 - in head/deskutils/notecase: . 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-all@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 04 Jul 2013 08:04:23 -0000 Author: martymac Date: Thu Jul 4 08:04:22 2013 New Revision: 322267 URL: http://svnweb.freebsd.org/changeset/ports/322267 Log: - Fix 100% CPU usage at startup [1] by disabling the grey welcome screen - Use new Makefile header format - Use dos2unix PR: ports/180127 [1] Submitted by: Walter Hurry [1] Added: head/deskutils/notecase/files/patch-src-MainWnd.cpp (contents, props changed) Modified: head/deskutils/notecase/Makefile Modified: head/deskutils/notecase/Makefile ============================================================================== --- head/deskutils/notecase/Makefile Thu Jul 4 06:53:46 2013 (r322266) +++ head/deskutils/notecase/Makefile Thu Jul 4 08:04:22 2013 (r322267) @@ -1,13 +1,9 @@ -# New ports collection makefile for: notecase -# Date created: 19 July 2007 -# Whom: Yinghong.Liu -# +# Created by: Yinghong.Liu # $FreeBSD$ -# PORTNAME= notecase PORTVERSION= 1.9.8 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= deskutils textproc MASTER_SITES= SF DISTNAME= ${PORTNAME}-${PORTVERSION}_src @@ -18,8 +14,11 @@ COMMENT= A hierarchical text notes manag LICENSE= BSD USE_GMAKE= yes -USE_GNOME= gtk20 gtksourceview2 gnomevfs2 desktopfileutils pkgconfig -USES= gettext +USE_GNOME= gtk20 gtksourceview2 gnomevfs2 desktopfileutils +USES= gettext pkgconfig + +USE_DOS2UNIX= yes +DOS2UNIX_REGEX= .*\.(c|h|cpp) WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} Added: head/deskutils/notecase/files/patch-src-MainWnd.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/notecase/files/patch-src-MainWnd.cpp Thu Jul 4 08:04:22 2013 (r322267) @@ -0,0 +1,13 @@ +Disable grey welcome screen as it crashes Notecase at startup + +--- src/MainWnd.cpp.orig 2013-07-03 17:46:48.000000000 +0200 ++++ src/MainWnd.cpp 2013-07-03 17:46:48.000000000 +0200 +@@ -147,7 +147,7 @@ + { + g_shortcuts.Load(); + +- g_objIni.GetValue("Display", "DrawGrayTextView", g_bDrawTextviewExpose, 1); ++ g_objIni.GetValue("Display", "DrawGrayTextView", g_bDrawTextviewExpose, 0); + + g_objIni.GetValue("Display", "TreeToTheRight", g_bTreeToTheRight); + g_bTreeToTheRightInitial = g_bTreeToTheRight;