Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2013 08:04:22 +0000 (UTC)
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r322267 - in head/deskutils/notecase: . files
Message-ID:  <201307040804.r6484MLY014788@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <walterhurry@gmail.com> [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 <relaxbsd@gmail.com>
-#
+# Created by: Yinghong.Liu <relaxbsd@gmail.com>
 # $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;



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