ports/129593: Port update: deskutils/notecase - Update to v1.9.8

Ganael Laplanche ganael.laplanche at martymac.com
Fri Dec 12 11:10:01 UTC 2008


>Number:         129593
>Category:       ports
>Synopsis:       Port update: deskutils/notecase - Update to v1.9.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 12 11:10:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Ganael Laplanche
>Release:        8.0-CURRENT
>Organization:
http://contribs.martymac.com
>Environment:
FreeBSD home.martymac.com 8.0-CURRENT FreeBSD 8.0-CURRENT #27: Thu Dec  4 14:58:40 CET 2008     root at home.martymac.com:/usr/obj/usr/src/sys/MYKERNEL  amd64
>Description:
This patch updates deskutils/notecase to version 1.9.8.

>From changelog :
1.9.8. (released at 2008.12.09.)
- Italian translation updated (work by Giacomo Margarito)
- Romanian translation updated (work by Alexandru Bogdan Munteanu)
- major: port to use GtkSourceView library (implements syntax highlighting, initial port by Gerhard Kalab)
- add: updated GTK to the latest version 2.14.5 (Windows installer), keeping old pango due to print preview bug on Windows
- fix: do not ignore GnomeVFS on the OSX platform
- add: support for optional line numbers displayed in a text view margin (implemented by GtkSourceView library)
- fix: editor now allows you to apply the formatting even when there is no selection in it
  (for example use "Ctrl+B" to set the next typed character be written in bold font, or un-bold if the previous state was already bold)
- updated .pot file and Croatian translation
- fix: undo after text view delete operation causes loss of the text formatting in that node
- German translation updated (work by Marcus Hennig)
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -aurN notecase.orig/Makefile notecase/Makefile
--- notecase.orig/Makefile	2008-11-08 02:54:59.000000000 +0100
+++ notecase/Makefile	2008-12-12 09:31:10.000000000 +0100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	notecase
-PORTVERSION=	1.9.7
+PORTVERSION=	1.9.8
 CATEGORIES=	deskutils textproc
 MASTER_SITES=	SF
 DISTNAME=	${PORTNAME}-${PORTVERSION}_src
@@ -15,7 +15,7 @@
 COMMENT=	A hierarchical text notes manager
 
 USE_GMAKE=	yes
-USE_GNOME=	gtk20 gnomevfs2 desktopfileutils pkgconfig
+USE_GNOME=	gtk20 gtksourceview2 gnomevfs2 desktopfileutils pkgconfig
 USE_GETTEXT=	yes
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
@@ -26,9 +26,9 @@
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|prefix=/usr|prefix=${PREFIX}|' \
+	@${REINPLACE_CMD} -e 's|^prefix=.*|prefix=${PREFIX}|' \
 		${WRKSRC}/Makefile
-	@${REINPLACE_CMD} -e 's|docsdir=|docsdir=${DOCSDIR}|' \
+	@${REINPLACE_CMD} -e 's|^docsdir=.*|docsdir=${DOCSDIR}|' \
 		${WRKSRC}/Makefile
 
 post-install:
diff -aurN notecase.orig/distinfo notecase/distinfo
--- notecase.orig/distinfo	2008-11-08 02:54:59.000000000 +0100
+++ notecase/distinfo	2008-12-12 08:10:25.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (notecase-1.9.7_src.tar.gz) = e4f18591e87a9d119b1ff4f503ba6d20
-SHA256 (notecase-1.9.7_src.tar.gz) = 1993bb71a36f8e0b20bf78f25d826a3ea1dc0a007d3c6981890462dd91c42ae5
-SIZE (notecase-1.9.7_src.tar.gz) = 930981
+MD5 (notecase-1.9.8_src.tar.gz) = 9fe7d2db959d4c457d53313bb8faac35
+SHA256 (notecase-1.9.8_src.tar.gz) = 0b7e23ec97efd5cd4ada651ac93273f9e5ed2cfff027abfb4ae130039563b746
+SIZE (notecase-1.9.8_src.tar.gz) = 928579
diff -aurN notecase.orig/files/patch-Makefile notecase/files/patch-Makefile
--- notecase.orig/files/patch-Makefile	2008-11-08 02:54:59.000000000 +0100
+++ notecase/files/patch-Makefile	2008-12-12 09:16:27.000000000 +0100
@@ -1,14 +1,18 @@
---- Makefile.orig	2008-10-28 13:39:40.000000000 +0100
-+++ Makefile	2008-11-04 15:51:07.000000000 +0100
-@@ -13,6 +13,7 @@
- prefix=/usr
+--- Makefile.orig	2008-12-09 11:07:06.000000000 +0100
++++ Makefile	2008-12-12 09:15:50.220188108 +0100
+@@ -10,9 +10,10 @@
+ VERSION=1.9.8
+ 
+ # define install target dirs
+-prefix=/usr
++prefix=/usr/local
  bindir=$(prefix)/bin
  datadir=$(prefix)/share
-+docsdir=
++docsdir=/usr/local/share/doc/notecase
  
  # define top of RPM build area
  topdir=/usr/src/redhat
-@@ -592,18 +593,21 @@
+@@ -601,18 +602,21 @@
  pouninstall:
  	@rm -vf $(DESTDIR)$(datadir)/locale/*/LC_MESSAGES/notecase.mo
  	@echo done uninstalling translations
@@ -22,7 +26,7 @@
  #
  # install application
  #
- install: notecase$(EXE) poinstall
+ install: $(BIN)/notecase$(EXE) poinstall
  	install -d -m 755 $(DESTDIR)$(bindir)
 -	install -d -m 755 $(DESTDIR)$(datadir)/doc/notecase/
  	install -d -m 755 $(DESTDIR)$(datadir)/applications/
@@ -33,7 +37,20 @@
  	$(INSTALL) -m 644 docs/notecase.xml "$(DESTDIR)$(datadir)/mime/packages/notecase.xml"
  	$(Q)if [ -n "$(NOKIA_MAEMO_BUILD)" ]; then \
  		$(INSTALL) -m 644 docs/notecase.desktop "$(DESTDIR)$(datadir)/applications/hildon/notecase.desktop"; \
-@@ -800,7 +804,7 @@
+@@ -694,12 +698,6 @@
+ 		echo 'pkg-config error detected $(shell pkg-config --cflags $(LIBS))';\
+ 		exit 1;\
+ 	fi;  
+-	$(Q)if [ "$(HAVE_GTKSOURCEVIEW)" = "1" ]; then \
+-		if [[ "$(TEST_SRCVIEW_VER)" < "2.4.1" ]]; then \
+-		echo 'ERROR: gtksourceview package is too old ($(shell pkg-config --modversion gtksourceview-2.0))!';\
+-		exit 1;\
+-		fi;\
+-	fi;
+ 	$(Q)echo 'Configuration: GNOME_VFS=$(HAVE_GNOME_VFS);GTKSOURCEVIEW=$(HAVE_GTKSOURCEVIEW);DEBUG=$(DEBUG);PROFILE=$(PROFILE);BYTE_ORDER=$(BYTE_ORDER);PLATFORM=$(PLATFORM)' 
+ 	$(Q)$(SED) 's/^Version:.*/Version:        $(VERSION)/' ./docs/notecase.spec
+ 	$(Q)$(SED) 's/^Source:.*/Source:         $(archive)_src.tar.gz/' ./docs/notecase.spec
+@@ -820,7 +818,7 @@
  #
  # Note: first "make" command forces generating correct help file path in "config.h"
  #


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list