summaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2013-07-04 08:04:22 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2013-07-04 08:04:22 +0000
commit334ad1a0353b59ce9a12597697ad66119af49ce9 (patch)
tree203055b5125a68334c81b463210cd510b67e9bf5 /deskutils
parentChange PORTSCOUT to skip 1.21.1 for now. (diff)
- 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]
Notes
Notes: svn path=/head/; revision=322267
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/notecase/Makefile15
-rw-r--r--deskutils/notecase/files/patch-src-MainWnd.cpp13
2 files changed, 20 insertions, 8 deletions
diff --git a/deskutils/notecase/Makefile b/deskutils/notecase/Makefile
index 9cdb8a8a8c4d..1313cb354ce1 100644
--- a/deskutils/notecase/Makefile
+++ b/deskutils/notecase/Makefile
@@ -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 manager
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}
diff --git a/deskutils/notecase/files/patch-src-MainWnd.cpp b/deskutils/notecase/files/patch-src-MainWnd.cpp
new file mode 100644
index 000000000000..6b8bb56ca57e
--- /dev/null
+++ b/deskutils/notecase/files/patch-src-MainWnd.cpp
@@ -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;