On 2013-08-22 at 17:27:01 -0400, Adam Jeanguenat wrote:
> Attached is a patch to bring editors/texworks to 0.4.5, which was
> released April 2013[1].
>
> I made some changes per port-lib-depends-check's notices.
>
> I sent this a while back but I regenerated the diff against -current
> and retested on i386 and amd64 after the time_t switch with no obvious
> issues.
>
> --avj
>
> [1] http://texworks.googlecode.com/svn/tags/release-0.4.5/NEWS
I've attached a new patch with some changes recommended by
portcheck(1). Anyone want to test and commit? I've been using it on
i386/amd64 without issue for months now.
--avj
Index: Makefile
===================================================================
RCS file: /home/cvsync/ports/editors/texworks/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile 7 Aug 2013 21:31:51 -0000 1.22
+++ Makefile 18 Oct 2013 19:57:55 -0000
@@ -4,17 +4,14 @@ COMMENT-main = easy to use LaTeX and Co
COMMENT-python = Python scripting for TeXworks
COMMENT-lua = Lua scripting for TeXworks
-V = 0.4.4
-R = 1004
+V = 0.4.5
+R = 1281
DISTNAME = texworks-${V}-r${R}
PKGNAME-main = texworks-${V}
PKGNAME-lua = texworks-lua-${V}
PKGNAME-python = texworks-python-${V}
-REVISION-main = 0
-REVISION-lua = 0
-
WRKDIST = ${WRKDIR}/texworks-${V}
CATEGORIES = editors print
@@ -31,17 +28,17 @@ MODULES = x11/qt4 \
SHARED_ONLY = Yes
-WANTLIB += ICE QtDBus QtGui QtScript QtScriptTools QtXml SM X11
+WANTLIB += ICE lib/qt4/QtDBus lib/qt4/QtGui lib/qt4/QtScript
lib/qt4/QtScriptTools lib/qt4/QtXml SM X11
WANTLIB += Xext Xi Xinerama Xrender c fontconfig freetype hunspell-1.3
WANTLIB += m poppler-qt4 pthread stdc++ z
WANTLIB-lua = ${MODLUA_WANTLIB}
-WANTLIB-lua += ICE QtCore QtGui QtXml SM X11 Xext Xi Xinerama Xrender
-WANTLIB-lua += fontconfig freetype m stdc++
+WANTLIB-lua += ICE lib/qt4/QtCore lib/qt4/QtGui lib/qt4/QtXml SM X11 Xext Xi
Xinerama Xrender
+WANTLIB-lua += fontconfig freetype m pthread stdc++
WANTLIB-python = ${MODPY_WANTLIB}
-WANTLIB-python += ICE QtCore QtGui QtXml SM X11 Xext Xi Xinerama Xrender
-WANTLIB-python += fontconfig freetype m stdc++
+WANTLIB-python += ICE lib/qt4/QtCore lib/qt4/QtGui lib/qt4/QtXml SM X11 Xext
Xi Xinerama Xrender
+WANTLIB-python += fontconfig freetype m pthread stdc++
MULTI_PACKAGES = -main -lua -python
@@ -49,7 +46,6 @@ MASTER_SITES = https://texworks.googlec
LIB_DEPENDS-main = qt4->=4.8.2:${MODQT4_LIB_DEPENDS} \
textproc/hunspell \
- x11/dbus \
print/poppler,,-qt4
LIB_DEPENDS-lua = ${MODQT4_LIB_DEPENDS} \
${MODLUA_LIB_DEPENDS}
Index: distinfo
===================================================================
RCS file: /home/cvsync/ports/editors/texworks/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo 16 Jul 2012 10:13:59 -0000 1.5
+++ distinfo 18 Oct 2013 19:57:55 -0000
@@ -1,5 +1,2 @@
-MD5 (texworks-0.4.4-r1004.tar.gz) = 5ecM2Wcff41v95eOvLqptA==
-RMD160 (texworks-0.4.4-r1004.tar.gz) = LEbLqJITpxy9snmWv32M6U7d7Zo=
-SHA1 (texworks-0.4.4-r1004.tar.gz) = WupPSDpQPf2+6C0H9GhPY56sswA=
-SHA256 (texworks-0.4.4-r1004.tar.gz) =
WlGGfLiN0UlsiGZLSE2bi24mfmi+yWeooLRdPHe/9bQ=
-SIZE (texworks-0.4.4-r1004.tar.gz) = 5305883
+SHA256 (texworks-0.4.5-r1281.tar.gz) =
3TDOQX/4JBCDtolDlUibxSlmCka8tFt9gtTGo/jm4t4=
+SIZE (texworks-0.4.5-r1281.tar.gz) = 5335925
Index: pkg/PLIST-main
===================================================================
RCS file: /home/cvsync/ports/editors/texworks/pkg/PLIST-main,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST-main
--- pkg/PLIST-main 16 Jul 2012 10:13:59 -0000 1.3
+++ pkg/PLIST-main 18 Oct 2013 19:57:55 -0000
@@ -3,7 +3,6 @@
@bin bin/texworks
lib/texworks/
@man man/man1/texworks.1
-share/applications/
share/applications/texworks.desktop
share/doc/texworks/
share/doc/texworks/COPYING