pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

engauge-digitizer: bump version to 5.2



Module Name:	pkgsrc-wip
Committed By:	Litvinov Sergey <slitvinov%gmail.com@localhost>
Pushed By:	slitvinov
Date:		Sat Dec 5 20:40:43 2015 +0100
Changeset:	f074d461e2724254554f86910918596476fa1030

Modified Files:
	engauge-digitizer/Makefile
	engauge-digitizer/distinfo
Added Files:
	engauge-digitizer/patches/patch-src_main.cpp

Log Message:
engauge-digitizer: bump version to 5.2

Add a path for Darwin

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f074d461e2724254554f86910918596476fa1030

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 engauge-digitizer/Makefile                   | 21 +++++++++++----------
 engauge-digitizer/distinfo                   |  8 +++++---
 engauge-digitizer/patches/patch-src_main.cpp | 14 ++++++++++++++
 3 files changed, 30 insertions(+), 13 deletions(-)

diffs:
diff --git a/engauge-digitizer/Makefile b/engauge-digitizer/Makefile
index 5647f63..9b8f4cf 100644
--- a/engauge-digitizer/Makefile
+++ b/engauge-digitizer/Makefile
@@ -1,10 +1,12 @@
 # $NetBSD: Makefile,v 1.2 2012/09/28 22:07:34 asau Exp $
 #
 
-DISTNAME=	digit-src-4_1
-PKGNAME=	engauge-digitilizer-4.1
+VER=		5.2
+DISTNAME=	engauge_${VER}
+PKGNAME=	engauge-${VER}
 CATEGORIES=	graphics
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=digitizer/files/Engauge%20Digitizer/digitizer-4.1/}
+MASTER_SITES=	http://downloads.sourceforge.net/project/digitizer/Engauge%20Digitizer/digitizer-${VER}/
+EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	slitvinov%gmail.com@localhost
 HOMEPAGE=	http://digitizer.sourceforge.net/
@@ -12,7 +14,7 @@ COMMENT=	Converts an image file with graph or map into numbers
 LICENSE=	gnu-gpl-v2
 
 
-WRKSRC=		${WRKDIR}/engauge
+WRKSRC=		${WRKDIR}/engauge-${VER}
 USE_LANGUAGES=	c++
 
 USE_TOOLS+=	gmake
@@ -22,12 +24,11 @@ do-configure:
 	cd ${WRKSRC} && \
 	${QMAKE} -unix digitizer.pro ${CONFIG_OPTIONS} ${MAKE_ENV}
 
+INSTALLATION_DIRS=	bin
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/engauge ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/engauge ${DESTDIR}${PREFIX}/bin
 
-
-# needs qcanvas.h
-# http://doc.qt.nokia.com/qq/qq21-portingcanvas.html#portingfromqcanvastographicsview
-.include "../../x11/qt3-libs/buildlink3.mk"
-.include "../../x11/qt3-tools/buildlink3.mk"
+.include "../../math/fftw/buildlink3.mk"
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../x11/qt4-tools/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/engauge-digitizer/distinfo b/engauge-digitizer/distinfo
index d91485e..82778ba 100644
--- a/engauge-digitizer/distinfo
+++ b/engauge-digitizer/distinfo
@@ -1,5 +1,7 @@
 $NetBSD: distinfo,v 1.1.1.1 2012/02/15 15:07:12 slitvinov Exp $
 
-SHA1 (digit-src-4_1.tar.gz) = c9e98d855d7c297c5868823e5f3c811452b1ec81
-RMD160 (digit-src-4_1.tar.gz) = b1d26ff502c2051d2c5791c0e341bf74ceec75dd
-Size (digit-src-4_1.tar.gz) = 5831396 bytes
+SHA1 (engauge_5.2.tgz) = 235746a72e54d5e0a26fe2583659df3fc02defa7
+RMD160 (engauge_5.2.tgz) = dcb158c8110b14d6f75ac03163604bea27006c20
+SHA512 (engauge_5.2.tgz) = b1839a223c93866f880ca090b6dd5a9ab45a89b5f6f470fd6abba3e2aa4b108ed228c8b06c3888fa463316798c2d157e20b2e22975bd65a1124d007bb36d2d88
+Size (engauge_5.2.tgz) = 5708224 bytes
+SHA1 (patch-src_main.cpp) = 988a438ce637244081a4a392bd5125eada91b9ed
diff --git a/engauge-digitizer/patches/patch-src_main.cpp b/engauge-digitizer/patches/patch-src_main.cpp
new file mode 100644
index 0000000..dd218f7
--- /dev/null
+++ b/engauge-digitizer/patches/patch-src_main.cpp
@@ -0,0 +1,14 @@
+$NetBSD$
+
+A fix for mac os x
+--- src/main.cpp.orig	2013-10-10 18:50:15.000000000 +0000
++++ src/main.cpp
+@@ -100,7 +100,7 @@ int main(int argc, char *argv[])
+ 
+ #ifdef Q_OS_MACX
+   // connect to plugins directory
+-  app.setLibraryPaths(app.applicationDirPath() + "/../PlugIns");
++  app.addLibraryPath(app.applicationDirPath() + "/../PlugIns");
+ #endif
+ 
+   parseCmdLine(argc, argv);


Home | Main Index | Thread Index | Old Index