ports/177911: editors/tea: Update to 35.0.0
KATO Tsuguru
tkato432 at yahoo.com
Wed Apr 17 18:10:01 UTC 2013
>Number: 177911
>Category: ports
>Synopsis: editors/tea: Update to 35.0.0
>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 Apr 17 18:10:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update to 35.0.0
New file:
files/patch-document.cpp
files/patch-rvln.cpp
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/editors/tea/Makefile editors/tea/Makefile
--- /usr/ports/editors/tea/Makefile 2013-03-10 07:08:01.000000000 +0900
+++ editors/tea/Makefile 2013-03-26 02:54:21.000000000 +0900
@@ -2,35 +2,47 @@
# $FreeBSD: head/editors/tea/Makefile 313753 2013-03-09 19:59:21Z eadler $
PORTNAME= tea
-DISTVERSION= 34.0.1
+DISTVERSION= 35.0.0
CATEGORIES= editors
-MASTER_SITES= SF/${PORTNAME}-editor/${PORTNAME}-editor/${PORTVERSION}
+MASTER_SITES= http://semiletov.org/tea/dloads/
MAINTAINER= ports at FreeBSD.org
COMMENT= Simple and powerful Qt4-based text editor
LICENSE= GPLv3
+OPTIONS_RADIO= SPELL
+OPTIONS_RADIO_SPELL= ASPELL HUNSPELL
+OPTIONS_DEFAULT= ASPELL
+HUNSPELL_DESC= Spell cheecking support via Hunspell
+
USE_BZIP2= yes
-USE_QT4= qmake_build moc_build rcc_build gui xml
+USE_DOS2UNIX= rvln.*
+USE_QT4= gui moc_build qmake_build rcc_build
MAKE_JOBS_SAFE= yes
PLIST_FILES= bin/${PORTNAME}
-OPTIONS_DEFINE= ASPELL
-OPTIONS_DEFAULT= ASPELL
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MASPELL}
-LIB_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
-QMAKEFLAGS= USE_ASPELL=true
+LIB_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell
+QMAKEFLAGS+= USE_ASPELL=true
+.else
+QMAKEFLAGS+= USE_ASPELL=false
+.endif
+
+.if ${PORT_OPTIONS:MHUNSPELL}
+LIB_DEPENDS+= hunspell-1.3:${PORTSDIR}/textproc/hunspell
+QMAKEFLAGS+= USE_HUNSPELL=true
.else
-QMAKEFLAGS= USE_ASPELL=false
+QMAKEFLAGS+= USE_HUNSPELL=false
.endif
post-patch:
- @${REINPLACE_CMD} -e '/aspell/s,/usr,${LOCALBASE},' ${WRKSRC}/src.pro
+ @${REINPLACE_CMD} -e \
+ 's|/usr/include|${LOCALBASE}/include|' ${WRKSRC}/src.pro
do-configure:
@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS}
diff -urN /usr/ports/editors/tea/distinfo editors/tea/distinfo
--- /usr/ports/editors/tea/distinfo 2013-03-01 15:24:16.000000000 +0900
+++ editors/tea/distinfo 2013-03-26 01:59:24.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (tea-34.0.1.tar.bz2) = 2de71096ebd01d7fd077a4a25fcfa9c7f59a7fc452996a669fee3b9bcadf07c5
-SIZE (tea-34.0.1.tar.bz2) = 314016
+SHA256 (tea-35.0.0.tar.bz2) = a2b7972937e1bd3fd01ff0194748aef326fe4f08ad5f2930e7c06d88e433b7fb
+SIZE (tea-35.0.0.tar.bz2) = 314921
diff -urN /usr/ports/editors/tea/files/patch-document.cpp editors/tea/files/patch-document.cpp
--- /usr/ports/editors/tea/files/patch-document.cpp 1970-01-01 09:00:00.000000000 +0900
+++ editors/tea/files/patch-document.cpp 2013-03-26 02:36:59.000000000 +0900
@@ -0,0 +1,16 @@
+--- document.cpp.orig
++++ document.cpp
+@@ -206,11 +206,11 @@
+
+ qDebug() << "defined(Q_OS_WIN) || defined(Q_OS_OS2)";
+
+-#elif defined(Q_OS_LINUX)
++#elif defined(Q_OS_LINUX) || defined(Q_OS_UNIX)
+
+ eol = "\n";
+
+- qDebug() << "Q_OS_LINUX";
++ qDebug() << "defined(Q_OS_LINUX) || defined(Q_OS_UNIX)";
+
+
+ #elif defined(Q_OS_MAC)
diff -urN /usr/ports/editors/tea/files/patch-rvln.cpp editors/tea/files/patch-rvln.cpp
--- /usr/ports/editors/tea/files/patch-rvln.cpp 1970-01-01 09:00:00.000000000 +0900
+++ editors/tea/files/patch-rvln.cpp 2013-03-26 02:46:33.000000000 +0900
@@ -0,0 +1,10 @@
+--- rvln.cpp.orig
++++ rvln.cpp
+@@ -55,6 +55,7 @@
+ #include <QSettings>
+ #include <QLibraryInfo>
+ #include <QCryptographicHash>
++#include <QDebug>
+
+
+ #ifdef PRINTER_ENABLE
diff -urN /usr/ports/editors/tea/pkg-descr editors/tea/pkg-descr
--- /usr/ports/editors/tea/pkg-descr 2012-11-08 07:00:49.000000000 +0900
+++ editors/tea/pkg-descr 2013-03-26 01:55:06.000000000 +0900
@@ -19,4 +19,4 @@
- Built-in image viewer (PNG, JPEG, GIF, WBMP, BMP, SVG, TIFF, TGA,
etc.), converter, and resizer
-WWW: http://tea-editor.sourceforge.net/
+WWW: http://semiletov.org/tea/
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list