From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Dec 1 19:50:03 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80F9216A41B for ; Sat, 1 Dec 2007 19:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 58C6413C467 for ; Sat, 1 Dec 2007 19:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lB1Jo3G9057128 for ; Sat, 1 Dec 2007 19:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lB1Jo3mT057127; Sat, 1 Dec 2007 19:50:03 GMT (envelope-from gnats) Resent-Date: Sat, 1 Dec 2007 19:50:03 GMT Resent-Message-Id: <200712011950.lB1Jo3mT057127@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Max Brazhnikov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46D9016A417 for ; Sat, 1 Dec 2007 19:43:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 2CFD113C4DB for ; Sat, 1 Dec 2007 19:43:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lB1Jh9Xs030079 for ; Sat, 1 Dec 2007 19:43:09 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id lB1Jh9uR030078; Sat, 1 Dec 2007 19:43:09 GMT (envelope-from nobody) Message-Id: <200712011943.lB1Jh9uR030078@www.freebsd.org> Date: Sat, 1 Dec 2007 19:43:09 GMT From: Max Brazhnikov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/118375: maintainer update: math/qtiplot X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Dec 2007 19:50:03 -0000 >Number: 118375 >Category: ports >Synopsis: maintainer update: math/qtiplot >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Dec 01 19:50:03 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Max Brazhnikov >Release: FreeBSD 7.0-BETA3 i386 >Organization: >Environment: FreeBSD luna.dio.ru 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Fri Nov 30 12:44:42 MSK 2007 root@luna.dio.ru:/usr/obj/usr/src/sys/LUNA i386 >Description: update to 0.9.2 >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN --exclude=CVS /usr/ports/math/qtiplot/Makefile /home/makc/porting/ports/math/qtiplot/Makefile --- /usr/ports/math/qtiplot/Makefile 2007-10-13 11:51:42.000000000 +0400 +++ /home/makc/porting/ports/math/qtiplot/Makefile 2007-12-01 14:14:23.000000000 +0300 @@ -6,7 +6,7 @@ # PORTNAME= qtiplot -DISTVERSION= 0.9 +DISTVERSION= 0.9.2 CATEGORIES= math science MASTER_SITES= http://soft.proindependent.com/src/ @@ -21,9 +21,11 @@ USE_BZIP2= yes USE_GMAKE= yes USE_QT_VER= 4 -QT_COMPONENTS= gui moc qmake opengl svg qt3support network assistantclient +QT_COMPONENTS= gui moc_build qmake_build opengl svg qt3support network assistantclient HAS_CONFIGURE= yes +CONFIGURE_ENV+= LOCALBASE="${LOCALBASE}" USE_DOS2UNIX= qtiplot/qtiplot.pro +MAN1= qtiplot.1 DESKTOP_ENTRIES="QtiPlot" "Data analysis and plotting" \ "${DATADIR}/qtiplot.png" \ @@ -42,7 +44,7 @@ BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui PLIST_SUB+= PYTHON="" -MAKE_ENV+= PYTHON_INCLUDEDIR=${PYTHON_INCLUDEDIR} \ +CONFIGURE_ENV+= PYTHON_INCLUDEDIR=${PYTHON_INCLUDEDIR} \ PYTHON_VERSION=${PYTHON_VERSION} .else PLIST_SUB+= PYTHON="@comment " @@ -60,8 +62,7 @@ PLIST_SUB+= NLS="@comment " .endif -QPRO_DIRS= . \ - fitPlugins/fitRational0 \ +QPRO_DIRS= fitPlugins/fitRational0 \ fitPlugins/fitRational1 \ qtiplot @@ -70,26 +71,32 @@ @${REINPLACE_CMD} -e \ 's|loadInitFile("qtiplotrc")|loadInitFile("${DATADIR}/qtiplotrc")|' \ ${WRKSRC}/${PORTNAME}/src/PythonScripting.cpp - ${REINPLACE_CMD} -e \ + @${REINPLACE_CMD} -e \ '/^sys.path.append/s|"\."|"${DATADIR}"|' \ ${WRKSRC}/${PORTNAME}/qtiplotrc.py + @${REINPLACE_CMD} -e \ + "/^#SCRIPTING_LANGS.*Python/s|^#||" \ + ${WRKSRC}/${PORTNAME}/qtiplot.pro .else - @${REINPLACE_CMD} \ - -e "s/^SCRIPTING_LANGS += Python//" \ + @${REINPLACE_CMD} -e \ + "s/^SCRIPTING_LANGS.*Python//" \ ${WRKSRC}/${PORTNAME}/qtiplot.pro .endif @${REINPLACE_CMD} -e \ 's|/usr/share/doc/qtiplot/manual-%1|${DATADIR}/manual|; \ s|/usr/lib/qtiplot/plugins|${DATADIR}/fitPlugins|' \ ${WRKSRC}/qtiplot/src/ApplicationWindow.cpp +.if defined(WITH_DEBUG) + @${REINPLACE_CMD} -e \ + "/^CONFIG.*release/s|release|debug|" \ + ${WRKSRC}/${PORTNAME}/qtiplot.pro +.endif do-configure: .if !defined(WITHOUT_NLS) - cd ${WRKSRC}/qtiplot && ${LOCALBASE}/bin/lrelease-qt4 -verbose qtiplot.pro + @(cd ${WRKSRC}/qtiplot && ${LOCALBASE}/bin/lrelease-qt4 qtiplot.pro) .endif -.for d in ${QPRO_DIRS} - (cd ${WRKSRC}/${d} && ${SETENV} ${MAKE_ENV} ${QMAKE}) -.endfor + @(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} -recursive) post-configure: .for d in ${QPRO_DIRS} @@ -99,12 +106,13 @@ s|^LINK .*|LINK=${CXX}|' \ ${WRKSRC}/${d}/Makefile .endfor - ${REINPLACE_CMD} -e 's|^\(INCPATH.*=\)|\1-I../3rdparty/liborigin|' ${WRKSRC}/qtiplot/Makefile + @${REINPLACE_CMD} -e 's|^\(INCPATH.*=\)|\1-I../3rdparty/liborigin|' ${WRKSRC}/qtiplot/Makefile do-install: ${MKDIR} ${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/qtiplot/qtiplot ${DATADIR}/qtiplot ${LN} -fs ${DATADIR}/qtiplot ${PREFIX}/bin/qtiplot + ${INSTALL_MAN} ${WRKSRC}/qtiplot.1 ${PREFIX}/man/man1 ${MKDIR} ${DATADIR}/fitPlugins ${INSTALL_PROGRAM} ${WRKSRC}/fitPlugins/libfitRational0.so.1.0.0 \ ${DATADIR}/fitPlugins/libfitRational0.so @@ -114,12 +122,12 @@ .if defined(WITH_PYTHON) .for s in qtiplotrc.py qtiUtil.py ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/${s} ${DATADIR}/${s} - @cd ${WRKSRC}/qtiplot && ${PYTHON_CMD} -c "import py_compile; py_compile.compile('${s}')" + @(cd ${WRKSRC}/qtiplot && ${PYTHON_CMD} -c "import py_compile; py_compile.compile('${s}')") ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/${s}c ${DATADIR}/${s}c .endfor .endif .if !defined(WITHOUT_NLS) - (cd ${WRKSRC}/qtiplot/translations/ && ${COPYTREE_SHARE} '*.qm' ${DATADIR}/translations) + @(cd ${WRKSRC}/qtiplot/translations/ && ${COPYTREE_SHARE} '*.qm' ${DATADIR}/translations) .endif .include diff -ruN --exclude=CVS /usr/ports/math/qtiplot/distinfo /home/makc/porting/ports/math/qtiplot/distinfo --- /usr/ports/math/qtiplot/distinfo 2007-09-23 10:52:28.000000000 +0400 +++ /home/makc/porting/ports/math/qtiplot/distinfo 2007-12-01 14:14:51.000000000 +0300 @@ -1,3 +1,3 @@ -MD5 (qtiplot-0.9.tar.bz2) = 117601fb9ba06b41f99e5492920f0864 -SHA256 (qtiplot-0.9.tar.bz2) = a4a8cbf0619f902ce029286a9f2960da66d587d6b2f2fffdb9ed8042fa2873db -SIZE (qtiplot-0.9.tar.bz2) = 825530 +MD5 (qtiplot-0.9.2.tar.bz2) = 943c50f7fb28e1b11ed0188ec918cf4c +SHA256 (qtiplot-0.9.2.tar.bz2) = 051a55e3e120ad53b2463a3a9295d22f9d36d1146468c5ebd869a5f180c145fd +SIZE (qtiplot-0.9.2.tar.bz2) = 897629 diff -ruN --exclude=CVS /usr/ports/math/qtiplot/files/patch-fitPlugins__fitRational0__fitRational0.pro /home/makc/porting/ports/math/qtiplot/files/patch-fitPlugins__fitRational0__fitRational0.pro --- /usr/ports/math/qtiplot/files/patch-fitPlugins__fitRational0__fitRational0.pro 2007-07-28 19:39:32.000000000 +0400 +++ /home/makc/porting/ports/math/qtiplot/files/patch-fitPlugins__fitRational0__fitRational0.pro 2007-11-14 20:20:59.000000000 +0300 @@ -1,14 +1,14 @@ ---- ./fitPlugins/fitRational0/fitRational0.pro.orig Wed Jun 13 21:16:56 2007 -+++ ./fitPlugins/fitRational0/fitRational0.pro Sat Jul 14 14:56:13 2007 +--- ./fitPlugins/fitRational0/fitRational0.pro.orig 2007-10-27 02:15:32.000000000 +0400 ++++ ./fitPlugins/fitRational0/fitRational0.pro 2007-11-14 20:19:55.000000000 +0300 @@ -12,9 +12,8 @@ - DESTDIR = ../ - - # statically link against GSL in 3rdparty --INCLUDEPATH += ../../3rdparty/gsl --LIBS += ../3rdparty/gsl/lib/libgsl.a --LIBS += ../3rdparty/gsl/lib/libgslcblas.a -+unix:INCLUDEPATH += $$(LOCALBASE)/include -+unix:LIBS += -lgsl -lgslcblas - #dynamically link against GSL installed system-wide - #unix:LIBS += -L /usr/lib$${libsuff} -lgsl -lgslcblas - + DESTDIR = ../ + + # statically link against GSL in 3rdparty +-INCLUDEPATH += ../../3rdparty/gsl/include/ +-LIBS += ../../3rdparty/gsl/lib/libgsl.a +-LIBS += ../../3rdparty/gsl/lib/libgslcblas.a ++unix:INCLUDEPATH += $$(LOCALBASE)/include ++unix:LIBS += -lgsl -lgslcblas + + #dynamically link against GSL installed system-wide + #unix:LIBS += -L /usr/lib$${libsuff} -lgsl -lgslcblas diff -ruN --exclude=CVS /usr/ports/math/qtiplot/files/patch-fitPlugins__fitRational1__fitRational1.pro /home/makc/porting/ports/math/qtiplot/files/patch-fitPlugins__fitRational1__fitRational1.pro --- /usr/ports/math/qtiplot/files/patch-fitPlugins__fitRational1__fitRational1.pro 2007-07-28 19:39:32.000000000 +0400 +++ /home/makc/porting/ports/math/qtiplot/files/patch-fitPlugins__fitRational1__fitRational1.pro 2007-11-14 20:20:59.000000000 +0300 @@ -1,14 +1,14 @@ ---- ./fitPlugins/fitRational1/fitRational1.pro.orig Wed Jun 13 21:16:56 2007 -+++ ./fitPlugins/fitRational1/fitRational1.pro Sat Jul 14 14:56:13 2007 +--- ./fitPlugins/fitRational1/fitRational1.pro.orig 2007-10-27 02:15:18.000000000 +0400 ++++ ./fitPlugins/fitRational1/fitRational1.pro 2007-11-14 20:19:55.000000000 +0300 @@ -12,9 +12,8 @@ - DESTDIR = ../ - - # statically link against GSL in 3rdparty --INCLUDEPATH += ../../3rdparty/gsl --LIBS += ../3rdparty/gsl/lib/libgsl.a --LIBS += ../3rdparty/gsl/lib/libgslcblas.a -+unix:INCLUDEPATH += $$(LOCALBASE)/include -+unix:LIBS += -lgsl -lgslcblas - #dynamically link against GSL installed system-wide - #unix:LIBS += -L /usr/lib$${libsuff} -lgsl -lgslcblas - + DESTDIR = ../ + + # statically link against GSL in 3rdparty +-INCLUDEPATH += ../../3rdparty/gsl/include/ +-LIBS += ../../3rdparty/gsl/lib/libgsl.a +-LIBS += ../../3rdparty/gsl/lib/libgslcblas.a ++unix:INCLUDEPATH += $$(LOCALBASE)/include ++unix:LIBS += -lgsl -lgslcblas + + #dynamically link against GSL installed system-wide + #unix:LIBS += -L /usr/lib$${libsuff} -lgsl -lgslcblas diff -ruN --exclude=CVS /usr/ports/math/qtiplot/files/patch-qtiplot__qtiplot.pro /home/makc/porting/ports/math/qtiplot/files/patch-qtiplot__qtiplot.pro --- /usr/ports/math/qtiplot/files/patch-qtiplot__qtiplot.pro 2007-09-23 10:52:28.000000000 +0400 +++ /home/makc/porting/ports/math/qtiplot/files/patch-qtiplot__qtiplot.pro 2007-11-14 20:20:59.000000000 +0300 @@ -1,6 +1,6 @@ ---- ./qtiplot/qtiplot.pro.orig 2007-09-20 15:55:53.000000000 +0400 -+++ ./qtiplot/qtiplot.pro 2007-09-23 01:11:43.000000000 +0400 -@@ -30,12 +30,8 @@ +--- ./qtiplot/qtiplot.pro.orig 2007-11-14 20:19:55.000000000 +0300 ++++ ./qtiplot/qtiplot.pro 2007-11-14 20:19:55.000000000 +0300 +@@ -34,12 +34,8 @@ #!!! Warning: You must modify these paths according to your computer settings ############################################################################# @@ -15,7 +15,7 @@ ##################### 3rd PARTY LIBRARIES SECTION ########################### #!!! Warning: You must modify these paths according to your computer settings -@@ -44,17 +40,13 @@ +@@ -48,17 +44,13 @@ ##################### Linux (Mac OS X) ###################################### # statically link against libraries in 3rdparty @@ -36,7 +36,7 @@ ##################### Windows ############################################### -@@ -363,6 +355,7 @@ +@@ -400,6 +392,7 @@ ##################### Default: muParser v1.28 ################# contains(SCRIPTING_LANGS, muParser) { @@ -44,7 +44,7 @@ DEFINES += SCRIPTING_MUPARSER HEADERS += src/muParserScript.h \ -@@ -380,11 +373,11 @@ +@@ -417,11 +410,11 @@ SOURCES += src/PythonScript.cpp src/PythonScripting.cpp unix { @@ -59,4 +59,4 @@ + system($$system($$SIPCMD) -c $${SIP_DIR} src/qti.sip) } - win32 { \ No newline at end of file + win32 { >Release-Note: >Audit-Trail: >Unformatted: