pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/extcalc update to 0.9.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7659d1dd5507
branches:  trunk
changeset: 575752:7659d1dd5507
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Thu May 20 17:48:59 2010 +0000

description:
update to 0.9.3
This switches from Qt3 to Qt4.

diffstat:

 math/extcalc/Makefile         |  15 ++++++---------
 math/extcalc/PLIST            |  14 +++++---------
 math/extcalc/distinfo         |  12 ++++++------
 math/extcalc/patches/patch-aa |  27 ++++++++++++---------------
 math/extcalc/patches/patch-ab |  10 ----------
 math/extcalc/patches/patch-ac |  13 +++++++++++++
 6 files changed, 42 insertions(+), 49 deletions(-)

diffs (153 lines):

diff -r 6be616c2a42d -r 7659d1dd5507 math/extcalc/Makefile
--- a/math/extcalc/Makefile     Thu May 20 17:45:21 2010 +0000
+++ b/math/extcalc/Makefile     Thu May 20 17:48:59 2010 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2010/02/03 14:05:01 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2010/05/20 17:48:59 drochner Exp $
 #
 
-DISTNAME=      extcalc-0.9.2
+DISTNAME=      extcalc-0.9.3-1
+PKGNAME=       extcalc-0.9.3
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=extcalc-linux/}
 
@@ -9,16 +10,12 @@
 HOMEPAGE=      http://extcalc-linux.sourceforge.net/
 COMMENT=       Scientific graphic calculator
 
-GNU_CONFIGURE= yes
 USE_LANGUAGES= c c++
 USE_DIRS+=     xdg-1.1
 PKG_DESTDIR_SUPPORT= user-destdir
-
-SUBST_CLASSES+=        iconpath
-SUBST_STAGE.iconpath=  pre-configure
-SUBST_FILES.iconpath=  share/extcalc.desktop
-SUBST_VARS.iconpath=   PREFIX
+USE_CMAKE=     yes
 
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
-.include "../../x11/qt3-libs/buildlink3.mk"
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../x11/qt4-tools/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6be616c2a42d -r 7659d1dd5507 math/extcalc/PLIST
--- a/math/extcalc/PLIST        Thu May 20 17:45:21 2010 +0000
+++ b/math/extcalc/PLIST        Thu May 20 17:48:59 2010 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2010/02/03 14:05:01 drochner Exp $
+@comment $NetBSD: PLIST,v 1.2 2010/05/20 17:48:59 drochner Exp $
 bin/extcalc
 share/applications/extcalc.desktop
 share/extcalc/data/angle.png
@@ -22,8 +22,7 @@
 share/extcalc/data/free.png
 share/extcalc/data/french.qm
 share/extcalc/data/german.qm
-share/extcalc/data/icon22.png
-share/extcalc/data/icon48.png
+share/extcalc/data/icons.qrc
 share/extcalc/data/license.txt
 share/extcalc/data/line.png
 share/extcalc/data/matrix-vector
@@ -67,6 +66,7 @@
 share/extcalc/doc/random.jpg
 share/extcalc/doc/screenshot.jpg
 share/extcalc/doc/scriptedit.jpg
+share/extcalc/doc/scriptedit2.jpg
 share/extcalc/doc/scriptrun.jpg
 share/extcalc/doc/setbutton.jpg
 share/extcalc/doc/setvar.jpg
@@ -78,9 +78,5 @@
 share/extcalc/doc/stat2.jpg
 share/extcalc/doc/table.jpg
 share/extcalc/doc/usevar.jpg
-share/extcalc/icons/icon48.png
-@dirrm share/extcalc/icons
-@dirrm share/extcalc/doc
-@dirrm share/extcalc/data
-@dirrm share/extcalc
-@comment in xdg-dirs: @dirrm share/applications
+share/icons/extcalc22.png
+share/icons/extcalc48.png
diff -r 6be616c2a42d -r 7659d1dd5507 math/extcalc/distinfo
--- a/math/extcalc/distinfo     Thu May 20 17:45:21 2010 +0000
+++ b/math/extcalc/distinfo     Thu May 20 17:48:59 2010 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2010/02/03 14:05:01 drochner Exp $
+$NetBSD: distinfo,v 1.2 2010/05/20 17:48:59 drochner Exp $
 
-SHA1 (extcalc-0.9.2.tar.gz) = 96799e277578d37a8c73a8ee04812b026c6ea7e6
-RMD160 (extcalc-0.9.2.tar.gz) = 9b0922bc4f6454ada96c0c6bb85f77e6153a715f
-Size (extcalc-0.9.2.tar.gz) = 1081868 bytes
-SHA1 (patch-aa) = 272a39d2e616f364670afd42d11aefe5e0558c10
-SHA1 (patch-ab) = b2b504c186b4c898addb0f762c18c108063ca12f
+SHA1 (extcalc-0.9.3-1.tar.gz) = bca456f2defe9df88d20cbce8ce9d02b68c0f8d2
+RMD160 (extcalc-0.9.3-1.tar.gz) = 3626ca6e59c27b1cde88e088b79e24b9cf509b81
+Size (extcalc-0.9.3-1.tar.gz) = 1011983 bytes
+SHA1 (patch-aa) = fe0f4cb8fb88768df5675f90b643cf5307d111e4
+SHA1 (patch-ac) = 1284a5526a027e4844303479159804825ae7b203
diff -r 6be616c2a42d -r 7659d1dd5507 math/extcalc/patches/patch-aa
--- a/math/extcalc/patches/patch-aa     Thu May 20 17:45:21 2010 +0000
+++ b/math/extcalc/patches/patch-aa     Thu May 20 17:48:59 2010 +0000
@@ -1,16 +1,13 @@
-$NetBSD: patch-aa,v 1.1.1.1 2010/02/03 14:05:01 drochner Exp $
+$NetBSD: patch-aa,v 1.2 2010/05/20 17:49:00 drochner Exp $
 
---- share/Makefile.in.orig     2008-03-02 18:38:15.000000000 +0100
-+++ share/Makefile.in
-@@ -153,9 +153,9 @@ target_alias = @target_alias@
- licensedir = $(datadir)/extcalc/data
- icondir = $(datadir)/extcalc/data
- exampledir = $(datadir)/extcalc/data
--menuicondir = /usr/share/icons
-+menuicondir = $(datadir)/extcalc/icons
- translationsdir = $(datadir)/extcalc/data
--applicationdir = /usr/share/applications
-+applicationdir = $(prefix)/share/applications
- license_DATA = license.txt
- icon_DATA = icon22.png icon48.png modified.png circle.png free.png line.png open.png rect.png rubber.png text.png editcopy.png editcut.png editdelete.png editpaste.png exec.png fileexport.png 
fileimport.png filenew.png filesaveas.png save_all.png redo.png undo.png view_top_bottom.png angle.png binary.png scientific.png view_remove.png catalog.png print.png exit.png forward.png back.png 
zoomin.png zoomout.png
- menuicon_DATA = icon48.png
+--- CMakeLists.txt.orig        2010-04-05 09:12:04.000000000 +0000
++++ CMakeLists.txt
+@@ -158,7 +158,7 @@ QT4_WRAP_UI(ui_h ${src_ui})
+ 
+ 
+ 
+-SET(CMAKE_INSTALL_PREFIX "/usr/local")
++#SET(CMAKE_INSTALL_PREFIX "/usr/local")
+ SET(SHAREDIR "share/extcalc/data")
+ SET(DOCDIR "share/extcalc/doc")
+ SET(DESKTOPDIR "share/applications")
diff -r 6be616c2a42d -r 7659d1dd5507 math/extcalc/patches/patch-ab
--- a/math/extcalc/patches/patch-ab     Thu May 20 17:45:21 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2010/02/03 14:05:01 drochner Exp $
-
---- share/extcalc.desktop.orig 2007-10-27 21:02:25.000000000 +0200
-+++ share/extcalc.desktop
-@@ -5,4 +5,4 @@ Exec=extcalc
- Terminal=false
- Type=Application
- Categories=Qt;Utility
--Icon=/usr/share/icons/icon48.png
-+Icon=@PREFIX@/share/extcalc/icons/icon48.png
diff -r 6be616c2a42d -r 7659d1dd5507 math/extcalc/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/extcalc/patches/patch-ac     Thu May 20 17:48:59 2010 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2010/05/20 17:49:00 drochner Exp $
+
+--- src/global.h.orig  2010-04-05 08:37:05.000000000 +0000
++++ src/global.h
+@@ -40,6 +40,8 @@ file.
+ #include "list.h"
+ #include "calclocale.h"
+ 
++#define NO_LONG_DOUBLE
++
+ using namespace std;
+ 
+ 



Home | Main Index | Thread Index | Old Index