svn commit: r322267 - in head/deskutils/notecase: . files
Ganael LAPLANCHE
martymac at FreeBSD.org
Thu Jul 4 08:04:23 UTC 2013
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 at 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 at gmail.com>
-#
+# Created by: Yinghong.Liu <relaxbsd at 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;
More information about the svn-ports-head
mailing list