Hi, Here is an update to the subversion snapshot of texworks for people who want to play. I don't want to commit this - we will wait for a release.
Index: Makefile =================================================================== RCS file: /cvs/ports/editors/texworks/Makefile,v retrieving revision 1.6 diff -u -p -u -r1.6 Makefile --- Makefile 13 Oct 2009 14:36:26 -0000 1.6 +++ Makefile 29 Jun 2010 15:58:06 -0000 @@ -2,7 +2,7 @@ COMMENT = easy to use LaTeX and ConTeXt editor -DISTNAME = texworks-0.2.3 +DISTNAME = texworks-20100629 CATEGORIES = editors print HOMEPAGE = http://www.tug.org/texworks/ MAINTAINER = Edd Barrett <e...@openbsd.org> @@ -13,18 +13,16 @@ PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_CDROM =Yes PERMIT_DISTFILES_FTP = Yes -WANTLIB += ICE SM X11 Xext Xi Xinerama Xrender c expat fontconfig -WANTLIB += freetype glib-2.0 gobject-2.0 gthread-2.0 m png poppler -WANTLIB += pthread stdc++ z +WANTLIB += c m poppler pthread stdc++ z -MASTER_SITES = http://texworks.googlecode.com/files/ +#MASTER_SITES = http://texworks.googlecode.com/files/ +MASTER_SITES = http://theunixzoo.co.uk/distfiles/ -MODULES = x11/qt4 \ - devel/gettext +MODULES = x11/qt4 LIB_DEPENDS = hunspell-1.2::textproc/hunspell \ dbus-1::x11/dbus \ poppler-qt4::print/poppler,-qt4 \ - QtDBus,QtGui,QtXml::x11/qt4 + QtScript,QtScriptTools,QtDBus,QtGui,QtXml::x11/qt4 RUN_DEPENDS = :texlive_base-*:print/texlive/base USE_X11 = Yes @@ -33,7 +31,7 @@ USE_GMAKE = Yes NO_REGRESS = Yes pre-configure: - ${SUBST_CMD} ${WRKSRC}/src/TWUtils.cpp + ${SUBST_CMD} ${WRKSRC}/TeXworks.pro do-configure: cd ${WRKSRC} && qmake4 Index: distinfo =================================================================== RCS file: /cvs/ports/editors/texworks/distinfo,v retrieving revision 1.2 diff -u -p -u -r1.2 distinfo --- distinfo 13 Oct 2009 14:36:26 -0000 1.2 +++ distinfo 29 Jun 2010 15:58:06 -0000 @@ -1,5 +1,5 @@ -MD5 (texworks-0.2.3.tar.gz) = /rh/25ByXdt132lWZWJT/g== -RMD160 (texworks-0.2.3.tar.gz) = b1DcETH4+mFLdyC79gNmZapMr74= -SHA1 (texworks-0.2.3.tar.gz) = Tg4XTPhSTELhNH8qqLrXt4Aaqos= -SHA256 (texworks-0.2.3.tar.gz) = iBOqnb1OcW1fQeVFEyPTOLwFIcJgwVaBoVn0Hcl+5H8= -SIZE (texworks-0.2.3.tar.gz) = 1898960 +MD5 (texworks-20100629.tar.gz) = COxoo9j3ZVCV1b3qlGkWkg== +RMD160 (texworks-20100629.tar.gz) = 1XvXVoeN2lUilGuOZPmExZgYviA= +SHA1 (texworks-20100629.tar.gz) = yAYIeBNxmMBj2Kw36rrFuJdfZF8= +SHA256 (texworks-20100629.tar.gz) = YXWOkZ6/iVBH2tFiyaARF+awMkuX++86R8K9UDlus7E= +SIZE (texworks-20100629.tar.gz) = 3484890 Index: patches/patch-TeXworks_pro =================================================================== RCS file: patches/patch-TeXworks_pro diff -N patches/patch-TeXworks_pro --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-TeXworks_pro 29 Jun 2010 15:58:06 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- TeXworks.pro.orig Tue Jun 29 15:57:37 2010 ++++ TeXworks.pro Tue Jun 29 15:58:15 2010 +@@ -97,7 +97,7 @@ unix:!macx { # on Unix-ish platforms we rely on pkgcon + # gets expanded to " in the c++ code) + QMAKE_CXXFLAGS += -DTW_HELPPATH=\\\"/usr/local/share/texworks-help\\\" + QMAKE_CXXFLAGS += -DTW_PLUGINPATH=\\\"/usr/local/lib/texworks\\\" +- QMAKE_CXXFLAGS += -DTW_DICPATH=\\\"/usr/share/myspell/dicts\\\" ++ QMAKE_CXXFLAGS += -DTW_DICPATH=\\\"${LOCALBASE}/share/mozilla-dicts\\\" + } + + linux-g++ { Index: patches/patch-src_TWUtils_cpp =================================================================== RCS file: patches/patch-src_TWUtils_cpp diff -N patches/patch-src_TWUtils_cpp --- patches/patch-src_TWUtils_cpp 23 Jun 2009 08:30:00 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,14 +0,0 @@ -$OpenBSD: patch-src_TWUtils_cpp,v 1.2 2009/06/23 08:30:00 ajacoutot Exp $ ---- src/TWUtils.cpp.orig Wed Jun 17 13:46:06 2009 -+++ src/TWUtils.cpp Wed Jun 17 13:47:38 2009 -@@ -81,7 +81,9 @@ const QString TWUtils::getLibraryPath(const QString& s - #endif - #ifdef Q_WS_X11 - if (subdir == "dictionaries") -- libPath = "/usr/share/myspell/dicts"; -+ // OpenBSD mozilla dictionary paths -+ // libPath = "/usr/share/myspell/dicts"; -+ libPath = "${LOCALBASE}/share/mozilla-dicts"; - else - libPath = QDir::homePath() + "/." + TEXWORKS_NAME + "/" + subdir; - #endif -- Best Regards Edd Barrett http://www.theunixzoo.co.uk