- update vym to 1.12.7

This commit is contained in:
jasper 2010-03-30 19:21:28 +00:00
parent 39ba528e97
commit 2a307a8e93
5 changed files with 23 additions and 47 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.6 2009/08/10 06:34:09 kili Exp $
# $OpenBSD: Makefile,v 1.7 2010/03/30 19:21:28 jasper Exp $
COMMENT= generate and manipulate maps of your thoughts
DISTNAME= vym-1.10.0
PKGNAME= ${DISTNAME}p3
DISTNAME= vym-1.12.7
CATEGORIES= productivity x11
HOMEPAGE= http://www.insilmaril.de/vym/
@ -17,9 +16,9 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vym/}
EXTRACT_SUFX= .tar.bz2
WANTLIB += ICE SM X11 Xext Xi Xinerama Xrender c fontconfig
WANTLIB += freetype glib-2.0 gthread-2.0 m png pthread stdc++
WANTLIB += z expat gobject-2.0 pthread-stubs xcb
WANTLIB += ICE SM X11 Xext Xi Xinerama Xrender c expat fontconfig
WANTLIB += freetype glib-2.0 gobject-2.0 gthread-2.0 m png pthread
WANTLIB += stdc++ z
MODULES= devel/gettext \
x11/qt4
@ -34,9 +33,7 @@ NO_REGRESS= Yes
SHARE_DIRS= flags icons scripts styles
pre-configure:
@perl -pi -e 's,!!PREFIX!!,${PREFIX},g' \
${WRKSRC}/mainwindow.cpp \
${WRKSRC}/exportxhtmldialog.cpp
${SUBST_CMD} ${WRKSRC}/mainwindow.cpp ${WRKSRC}/main.cpp
do-configure:
@echo "QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}" \

View File

@ -1,5 +1,5 @@
MD5 (vym-1.10.0.tar.bz2) = GI8I8uCvXhIuJhM1HzuS2Q==
RMD160 (vym-1.10.0.tar.bz2) = LpEs0lQrr+mNx/CuM6dA9XqjwaQ=
SHA1 (vym-1.10.0.tar.bz2) = Gb/bc7obwmM1/F8Ja9Ny2OSrbX8=
SHA256 (vym-1.10.0.tar.bz2) = 6P5aubKnpSz+ac5T9fyLcR7khWiPYSh+My25Jak35w8=
SIZE (vym-1.10.0.tar.bz2) = 2801600
MD5 (vym-1.12.7.tar.bz2) = 8Bh2acM4FJmYOhkY3FSV3w==
RMD160 (vym-1.12.7.tar.bz2) = epdlP+MH+v4dZ/0sc1Zac9N2lf8=
SHA1 (vym-1.12.7.tar.bz2) = Qhq1sVAgpFiQUyqK0rU7mGpuFsc=
SHA256 (vym-1.12.7.tar.bz2) = rRyQymbUB8kEB6VPyW1WZVhW09jDIC7C5KzQjdmCoK0=
SIZE (vym-1.12.7.tar.bz2) = 4231782

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-exportxhtmldialog_cpp,v 1.1 2008/01/04 16:27:30 jasper Exp $
--- exportxhtmldialog.cpp.orig Wed Jun 20 12:51:44 2007
+++ exportxhtmldialog.cpp Wed Jan 2 10:18:43 2008
@@ -92,9 +92,9 @@ void ExportXHTMLDialog::readSettings()
} else
{
xsl=settings.readLocalEntry
- (filepath,"/export/xhtml/xsl","/usr/share/vym/styles/vym2xhtml.xsl");
+ (filepath,"/export/xhtml/xsl","!!PREFIX!!/share/vym/styles/vym2xhtml.xsl");
css=settings.readLocalEntry
- (filepath,"/export/xhtml/css","/usr/share/vym/styles/vym.css");
+ (filepath,"/export/xhtml/css","!!PREFIX!!/share/vym/styles/vym.css");
}
ui.lineEditXSL->setText(xsl);
ui.lineEditCSS->setText(css);

View File

@ -1,28 +1,19 @@
$OpenBSD: patch-mainwindow_cpp,v 1.2 2008/01/04 16:27:30 jasper Exp $
--- mainwindow.cpp.orig Tue Sep 4 15:53:33 2007
+++ mainwindow.cpp Wed Jan 2 10:33:45 2008
@@ -3,6 +3,7 @@
#include <QtGui>
$OpenBSD: patch-mainwindow_cpp,v 1.3 2010/03/30 19:21:28 jasper Exp $
--- mainwindow.cpp.orig Thu Aug 6 19:33:54 2009
+++ mainwindow.cpp Tue Mar 30 20:52:51 2010
@@ -4,6 +4,7 @@
#include <iostream>
#include <typeinfo>
+#include <unistd.h>
#include "aboutdialog.h"
#include "branchpropwindow.h"
@@ -140,7 +141,7 @@ Main::Main(QWidget* parent, const char* name, Qt::WFla
#if defined(Q_OS_MACX)
s=settings.value (p,"/usr/bin/open").toString();
#else
- s=settings.value (p,"mozilla");
+ s=settings.value (p,"mozilla").toString();
#endif
#endif
settings.setValue( p,s);
@@ -3637,6 +3638,7 @@ void Main::helpDoc()
@@ -3763,6 +3764,7 @@ void Main::helpDoc()
searchList << "doc/tex"; // Easy testing working on vym.tex
searchList << "/usr/share/doc/vym"; // Debian
searchList << "/usr/share/doc/packages";// Knoppix
+ searchList << "!!PREFIX!!/share/doc/vym"; // OpenBSD
+ searchList << "${PREFIX}/share/doc/vym"; // OpenBSD
bool found=false;
QFile docfile;

View File

@ -1,8 +1,9 @@
@comment $OpenBSD: PLIST,v 1.2 2008/01/04 16:27:30 jasper Exp $
bin/vym
@comment $OpenBSD: PLIST,v 1.3 2010/03/30 19:21:28 jasper Exp $
@bin bin/vym
share/doc/vym/
share/doc/vym/vym.pdf
share/doc/vym/vym_es.pdf
share/doc/vym/vym_fr.pdf
share/examples/vym/
share/examples/vym/lifeforms.vym
share/examples/vym/math.vym
@ -84,6 +85,7 @@ share/vym/icons/down.png
share/vym/icons/editcopy.png
share/vym/icons/editcut.png
share/vym/icons/editpaste.png
share/vym/icons/editsort.png
share/vym/icons/edittrash.png
share/vym/icons/exit.png
share/vym/icons/fileclose.png
@ -127,6 +129,7 @@ share/vym/icons/vym-128x128.png
share/vym/icons/vym-16x16.png
share/vym/icons/vym-editor.png
share/vym/icons/vym.icns
share/vym/icons/vym.ico
share/vym/icons/vym.png
share/vym/icons/vym.xcf
share/vym/icons/vym.xpm