ports/143528: Update port: deskutils/znotes new version
zloidemon
g.veniamin at googlemail.com
Wed Feb 3 15:10:02 UTC 2010
>Number: 143528
>Category: ports
>Synopsis: Update port: deskutils/znotes new version
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 03 15:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: zloidemon
>Release: FreeBSD 8.0-STABLE
>Organization:
>Environment:
FreeBSD zlobook.local 8.0-STABLE FreeBSD 8.0-STABLE #24: Wed Jan 20 19:18:39 KRAT 2010 root at zlobook.local:/usr/obj/usr/src/sys/zlobook i386
>Description:
new version changes
* Major architectural changes
* Optimized source code
* Added clicable links
* Added links' highlighting
* Added support for html format of notes (text formating only now)
* Added new shortcuts
* Fixed problem with translation on unix
systems
* Fixed problem with translation Script's table headers in configuration dialog
* Fixed search
* Fixed "KDE logout was cancelled by zNotes" bug
* Fixed problem with saving default settings
* Added Czech translation
* Fixed and updated russian translation
* Some small fixes
>How-To-Repeat:
>Fix:
diff -ruN znotes.orig/Makefile znotes/Makefile
--- znotes.orig/Makefile 2010-02-03 21:54:06.000000000 +0700
+++ znotes/Makefile 2010-02-03 21:58:42.000000000 +0700
@@ -6,7 +6,7 @@
#
PORTNAME= znotes
-PORTVERSION= 0.3.9
+PORTVERSION= 0.4.0
CATEGORIES= deskutils
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}
@@ -22,18 +22,34 @@
"${PREFIX}/share/pixmaps/${PORTNAME}.png" "${PORTNAME}" \
"Utility;TextEditor;Qt;" ${FALSE}
+OPTIONS= NLS "Build with NLS support" on
+
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png
post-patch:
@${REINPLACE_CMD} -e 's|lrelease|lrelease-qt4|g' \
- ${WRKSRC}/znotes.pro
+ ${WRKSRC}/${PORTNAME}.pro
+ @${REINPLACE_CMD} -i -e 's,QCoreApplication::applicationDirPath()+"/translations","${DATADIR}/translations",g' \
+ ${WRKSRC}/settings.cpp
+
+.include <bsd.port.pre.mk>
do-configure:
cd ${WRKSRC} && ${QMAKE} ${QMAKE_PRO}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/znotes.png ${PREFIX}/share/pixmaps/
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps/
+
+.if defined(WITH_NLS)
+ ${MKDIR} ${DATADIR}/translations
+ ${INSTALL_DATA} ${WRKSRC}/translations/*.qm ${DATADIR}/translations
+PLIST_FILES+= share/${PORTNAME}/translations/${PORTNAME}_cs.qm \
+ share/${PORTNAME}/translations/${PORTNAME}_ru.qm
+PLIST_DIRS+= share/${PORTNAME}/translations \
+ share/${PORTNAME}
+.else
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN znotes.orig/distinfo znotes/distinfo
--- znotes.orig/distinfo 2010-02-03 21:54:06.000000000 +0700
+++ znotes/distinfo 2010-02-03 19:14:50.000000000 +0700
@@ -1,3 +1,3 @@
-MD5 (znotes-0.3.9.tar.gz) = 4f39a77ac659029598225ce93c1429a4
-SHA256 (znotes-0.3.9.tar.gz) = 16e7785b1e38c587a8dc75e7b5509cd4a972b45f762af80aeb0588065631c56d
-SIZE (znotes-0.3.9.tar.gz) = 60485
+MD5 (znotes-0.4.0.tar.gz) = e724a70e9cd81def57c91196fd404c09
+SHA256 (znotes-0.4.0.tar.gz) = d296ba567b96e820c6bca46d0977c6a8058cfbf0f8c26aaa42abdf6fb3edd244
+SIZE (znotes-0.4.0.tar.gz) = 71108
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list