From owner-svn-ports-head@FreeBSD.ORG Mon Mar 31 10:57:13 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AEBEE24A; Mon, 31 Mar 2014 10:57:13 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9A0C3A5C; Mon, 31 Mar 2014 10:57:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2VAvD5Z033065; Mon, 31 Mar 2014 10:57:13 GMT (envelope-from makc@svn.freebsd.org) Received: (from makc@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2VAvCMs033060; Mon, 31 Mar 2014 10:57:12 GMT (envelope-from makc@svn.freebsd.org) Message-Id: <201403311057.s2VAvCMs033060@svn.freebsd.org> From: Max Brazhnikov Date: Mon, 31 Mar 2014 10:57:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r349725 - in head/math/speedcrunch: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2014 10:57:13 -0000 Author: makc Date: Mon Mar 31 10:57:12 2014 New Revision: 349725 URL: http://svnweb.freebsd.org/changeset/ports/349725 QAT: https://qat.redports.org/buildarchive/r349725/ Log: math/speedcrunch: - update to 0.11 - remove NLS option (l10ns are incorporated into binary now) Added: head/math/speedcrunch/files/patch-src__CMakeLists.txt (contents, props changed) Deleted: head/math/speedcrunch/files/patch-src__gui__mainwindow.cpp Modified: head/math/speedcrunch/Makefile head/math/speedcrunch/distinfo head/math/speedcrunch/files/patch-src__SourceFiles.cmake head/math/speedcrunch/pkg-plist Modified: head/math/speedcrunch/Makefile ============================================================================== --- head/math/speedcrunch/Makefile Mon Mar 31 10:55:37 2014 (r349724) +++ head/math/speedcrunch/Makefile Mon Mar 31 10:57:12 2014 (r349725) @@ -2,38 +2,25 @@ # $FreeBSD$ PORTNAME= speedcrunch -DISTVERSION= 0.10.1 -PORTREVISION= 2 +DISTVERSION= 0.11 CATEGORIES= math -MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} +MASTER_SITES= GITHUB MAINTAINER= makc@FreeBSD.org -COMMENT= Desktop calculator for power users +COMMENT= Keyboard-oriented desktop scientific calculator -USE_QT4= qmake_build moc_build rcc_build uic_build gui xml -USES= cmake -CMAKE_SOURCE_PATH= src - -LRELEASE_CMD= ${LOCALBASE}/bin/lrelease-qt4 -LRELEASE_ARGS= -compress -silent - -OPTIONS_DEFINE= NLS - -.include - -.if ${PORT_OPTIONS:MNLS} -USE_QT4+= linguist -PLIST_SUB+= NLS="" -.else -PLIST_SUB+= NLS="@comment " -.endif +USE_QT4= qmake_build moc_build rcc_build uic_build gui network +USES= cmake:outsource +CMAKE_SOURCE_PATH= ${WRKSRC}/src + +USE_GITHUB= yes +GH_ACCOUNT= speedcrunch +GH_PROJECT= SpeedCrunch +GH_COMMIT= 90d56d1 pre-configure: -.if ${PORT_OPTIONS:MNLS} - cd ${WRKSRC}/src/i18n && ${LRELEASE_CMD} ${LRELEASE_ARGS} *.ts -.else - ${REINPLACE_CMD} -e '/speedcrunch_TRANSLATIONS/d' ${WRKSRC}/src/CMakeLists.txt -.endif - ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/src/gui/mainwindow.cpp + ${REINPLACE_CMD} -e '/CMAKE_COLOR_MAKEFILE/d' \ + -e '/CMAKE_VERBOSE_MAKEFILE/d' \ + ${WRKSRC}/src/CMakeLists.txt .include Modified: head/math/speedcrunch/distinfo ============================================================================== --- head/math/speedcrunch/distinfo Mon Mar 31 10:55:37 2014 (r349724) +++ head/math/speedcrunch/distinfo Mon Mar 31 10:57:12 2014 (r349725) @@ -1,2 +1,2 @@ -SHA256 (speedcrunch-0.10.1.tar.gz) = 9d4e4ddd8bc6a60d59b9cb4815511ba20a5767719928eae3729e4df6c96dec84 -SIZE (speedcrunch-0.10.1.tar.gz) = 1722124 +SHA256 (speedcrunch-0.11.tar.gz) = 6d7aa7ea364c4c64454e3effa87fe8aeb4554f98d33188a354ce386d8602698d +SIZE (speedcrunch-0.11.tar.gz) = 1517068 Added: head/math/speedcrunch/files/patch-src__CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/speedcrunch/files/patch-src__CMakeLists.txt Mon Mar 31 10:57:12 2014 (r349725) @@ -0,0 +1,29 @@ +--- ./src/CMakeLists.txt.orig 2014-01-29 21:24:08.000000000 +0000 ++++ ./src/CMakeLists.txt 2014-03-30 08:34:09.135721829 +0000 +@@ -71,12 +71,13 @@ + + ADD_CUSTOM_TARGET( confclean COMMAND rm -rf Makefile CMakeFiles/ CMakeCache.txt cmake_install.cmake DartTestfile.txt install_manifest.txt ) + +-find_library(x11 X11) +-IF(x11) +- TARGET_LINK_LIBRARIES(${PROGNAME} ${QT_LIBRARIES} X11) +-ELSE(x11) ++find_package(X11) ++IF(X11_FOUND) ++ INCLUDE_DIRECTORIES(${X11_INCLUDE_DIR}) ++ TARGET_LINK_LIBRARIES(${PROGNAME} ${QT_LIBRARIES} ${X11_LIBRARIES}) ++ELSE(X11_FOUND) + TARGET_LINK_LIBRARIES(${PROGNAME} ${QT_LIBRARIES}) +-ENDIF(x11) ++ENDIF(X11_FOUND) + + # only needed for static builds when directx is enabled in qt and you + # get a linker error because of missing a directx function +@@ -98,6 +99,7 @@ + ADD_TEST(testevaluator testevaluator) + + ADD_EXECUTABLE(testfloatnum ${testfloatnum_SOURCES}) ++TARGET_LINK_LIBRARIES(testfloatnum m) + ADD_TEST(testfloatnum testfloatnum) + + INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR} thirdparty core gui math) Modified: head/math/speedcrunch/files/patch-src__SourceFiles.cmake ============================================================================== --- head/math/speedcrunch/files/patch-src__SourceFiles.cmake Mon Mar 31 10:55:37 2014 (r349724) +++ head/math/speedcrunch/files/patch-src__SourceFiles.cmake Mon Mar 31 10:57:12 2014 (r349725) @@ -1,10 +1,10 @@ ---- ./src/SourceFiles.cmake.orig 2008-05-23 01:45:21.000000000 +0400 -+++ ./src/SourceFiles.cmake 2009-07-06 22:48:59.000000000 +0400 -@@ -43,7 +43,6 @@ - ) +--- ./src/SourceFiles.cmake.orig 2014-01-29 21:24:08.000000000 +0000 ++++ ./src/SourceFiles.cmake 2014-03-30 08:33:39.027726508 +0000 +@@ -55,7 +55,6 @@ set(speedcrunch_SOURCES --3rdparty/util/binreloc.c - base/constants.cpp - base/evaluator.cpp - base/functions.cpp + main.cpp +-thirdparty/binreloc.c + core/book.cpp + core/constants.cpp + core/evaluator.cpp Modified: head/math/speedcrunch/pkg-plist ============================================================================== --- head/math/speedcrunch/pkg-plist Mon Mar 31 10:55:37 2014 (r349724) +++ head/math/speedcrunch/pkg-plist Mon Mar 31 10:57:12 2014 (r349725) @@ -1,285 +1,3 @@ bin/speedcrunch share/applications/speedcrunch.desktop share/pixmaps/speedcrunch.png -share/speedcrunch/books/books.css -share/speedcrunch/books/ca/circle.html -share/speedcrunch/books/ca/cone.html -share/speedcrunch/books/ca/cube.html -share/speedcrunch/books/ca/cylinder.html -share/speedcrunch/books/ca/math_index.html -share/speedcrunch/books/ca/quadratic_equation.html -share/speedcrunch/books/ca/right_triangle.html -share/speedcrunch/books/ca/sector.html -share/speedcrunch/books/ca/sphere.html -share/speedcrunch/books/cs/circle.html -share/speedcrunch/books/cs/cone.html -share/speedcrunch/books/cs/cube.html -share/speedcrunch/books/cs/cylinder.html -share/speedcrunch/books/cs/index.html -share/speedcrunch/books/cs/math_index.html -share/speedcrunch/books/cs/quadratic_equation.html -share/speedcrunch/books/cs/right_triangle.html -share/speedcrunch/books/cs/sector.html -share/speedcrunch/books/cs/sphere.html -share/speedcrunch/books/de/circle.html -share/speedcrunch/books/de/cone.html -share/speedcrunch/books/de/cube.html -share/speedcrunch/books/de/cylinder.html -share/speedcrunch/books/de/index.html -share/speedcrunch/books/de/math_index.html -share/speedcrunch/books/de/quadratic_equation.html -share/speedcrunch/books/de/right_triangle.html -share/speedcrunch/books/de/sector.html -share/speedcrunch/books/de/sphere.html -share/speedcrunch/books/en/circle.html -share/speedcrunch/books/en/cone.html -share/speedcrunch/books/en/cube.html -share/speedcrunch/books/en/cylinder.html -share/speedcrunch/books/en/index.html -share/speedcrunch/books/en/math_index.html -share/speedcrunch/books/en/quadratic_equation.html -share/speedcrunch/books/en/right_triangle.html -share/speedcrunch/books/en/sector.html -share/speedcrunch/books/en/sphere.html -share/speedcrunch/books/es/circle.html -share/speedcrunch/books/es/cone.html -share/speedcrunch/books/es/cube.html -share/speedcrunch/books/es/cylinder.html -share/speedcrunch/books/es/index.html -share/speedcrunch/books/es/math_index.html -share/speedcrunch/books/es/quadratic_equation.html -share/speedcrunch/books/es/right_triangle.html -share/speedcrunch/books/es/sector.html -share/speedcrunch/books/es/sphere.html -share/speedcrunch/books/es_AR/circle.html -share/speedcrunch/books/es_AR/cone.html -share/speedcrunch/books/es_AR/cube.html -share/speedcrunch/books/es_AR/cylinder.html -share/speedcrunch/books/es_AR/index.html -share/speedcrunch/books/es_AR/math_index.html -share/speedcrunch/books/es_AR/quadratic_equation.html -share/speedcrunch/books/es_AR/right_triangle.html -share/speedcrunch/books/es_AR/sector.html -share/speedcrunch/books/es_AR/sphere.html -share/speedcrunch/books/eu/circle.html -share/speedcrunch/books/eu/cone.html -share/speedcrunch/books/eu/cube.html -share/speedcrunch/books/eu/cylinder.html -share/speedcrunch/books/eu/math_index.html -share/speedcrunch/books/eu/quadratic_equation.html -share/speedcrunch/books/eu/right_triangle.html -share/speedcrunch/books/eu/sector.html -share/speedcrunch/books/eu/sphere.html -share/speedcrunch/books/fi/circle.html -share/speedcrunch/books/fi/cone.html -share/speedcrunch/books/fi/cube.html -share/speedcrunch/books/fi/cylinder.html -share/speedcrunch/books/fi/index.html -share/speedcrunch/books/fi/math_index.html -share/speedcrunch/books/fi/quadratic_equation.html -share/speedcrunch/books/fi/right_triangle.html -share/speedcrunch/books/fi/sector.html -share/speedcrunch/books/fi/sphere.html -share/speedcrunch/books/fr/circle.html -share/speedcrunch/books/fr/cone.html -share/speedcrunch/books/fr/cube.html -share/speedcrunch/books/fr/cylinder.html -share/speedcrunch/books/fr/index.html -share/speedcrunch/books/fr/math_index.html -share/speedcrunch/books/fr/quadratic_equation.html -share/speedcrunch/books/fr/right_triangle.html -share/speedcrunch/books/fr/sector.html -share/speedcrunch/books/fr/sphere.html -share/speedcrunch/books/he/circle.html -share/speedcrunch/books/he/cone.html -share/speedcrunch/books/he/cube.html -share/speedcrunch/books/he/cylinder.html -share/speedcrunch/books/he/index.html -share/speedcrunch/books/he/math_index.html -share/speedcrunch/books/he/quadratic_equation.html -share/speedcrunch/books/he/right_triangle.html -share/speedcrunch/books/he/sector.html -share/speedcrunch/books/he/sphere.html -share/speedcrunch/books/id/circle.html -share/speedcrunch/books/id/cone.html -share/speedcrunch/books/id/cube.html -share/speedcrunch/books/id/cylinder.html -share/speedcrunch/books/id/index.html -share/speedcrunch/books/id/math_index.html -share/speedcrunch/books/id/quadratic_equation.html -share/speedcrunch/books/id/right_triangle.html -share/speedcrunch/books/id/sector.html -share/speedcrunch/books/id/sphere.html -share/speedcrunch/books/images/circle.png -share/speedcrunch/books/images/circle.svgz -share/speedcrunch/books/images/cone.png -share/speedcrunch/books/images/cone.svgz -share/speedcrunch/books/images/cube.png -share/speedcrunch/books/images/cube.svgz -share/speedcrunch/books/images/cylinder.png -share/speedcrunch/books/images/cylinder.svgz -share/speedcrunch/books/images/make_math_pngs.sh -share/speedcrunch/books/images/quadratic_equation.mml -share/speedcrunch/books/images/quadratic_equation.png -share/speedcrunch/books/images/right_triangle.png -share/speedcrunch/books/images/right_triangle.svgz -share/speedcrunch/books/images/sector.png -share/speedcrunch/books/images/sector.svgz -share/speedcrunch/books/images/sphere.png -share/speedcrunch/books/images/sphere.svgz -share/speedcrunch/books/it/circle.html -share/speedcrunch/books/it/cone.html -share/speedcrunch/books/it/cube.html -share/speedcrunch/books/it/cylinder.html -share/speedcrunch/books/it/index.html -share/speedcrunch/books/it/math_index.html -share/speedcrunch/books/it/quadratic_equation.html -share/speedcrunch/books/it/right_triangle.html -share/speedcrunch/books/it/sector.html -share/speedcrunch/books/it/sphere.html -share/speedcrunch/books/nb/circle.html -share/speedcrunch/books/nb/cone.html -share/speedcrunch/books/nb/cube.html -share/speedcrunch/books/nb/cylinder.html -share/speedcrunch/books/nb/index.html -share/speedcrunch/books/nb/math_index.html -share/speedcrunch/books/nb/quadratic_equation.html -share/speedcrunch/books/nb/right_triangle.html -share/speedcrunch/books/nb/sector.html -share/speedcrunch/books/nb/sphere.html -share/speedcrunch/books/nl/circle.html -share/speedcrunch/books/nl/cone.html -share/speedcrunch/books/nl/cube.html -share/speedcrunch/books/nl/cylinder.html -share/speedcrunch/books/nl/index.html -share/speedcrunch/books/nl/math_index.html -share/speedcrunch/books/nl/quadratic_equation.html -share/speedcrunch/books/nl/right_triangle.html -share/speedcrunch/books/nl/sector.html -share/speedcrunch/books/nl/sphere.html -share/speedcrunch/books/pl/circle.html -share/speedcrunch/books/pl/cone.html -share/speedcrunch/books/pl/cube.html -share/speedcrunch/books/pl/cylinder.html -share/speedcrunch/books/pl/index.html -share/speedcrunch/books/pl/math_index.html -share/speedcrunch/books/pl/quadratic_equation.html -share/speedcrunch/books/pl/right_triangle.html -share/speedcrunch/books/pl/sector.html -share/speedcrunch/books/pl/sphere.html -share/speedcrunch/books/pt/circle.html -share/speedcrunch/books/pt/cone.html -share/speedcrunch/books/pt/cube.html -share/speedcrunch/books/pt/cylinder.html -share/speedcrunch/books/pt/index.html -share/speedcrunch/books/pt/math_index.html -share/speedcrunch/books/pt/quadratic_equation.html -share/speedcrunch/books/pt/right_triangle.html -share/speedcrunch/books/pt/sector.html -share/speedcrunch/books/pt/sphere.html -share/speedcrunch/books/pt_BR/circle.html -share/speedcrunch/books/pt_BR/cone.html -share/speedcrunch/books/pt_BR/cube.html -share/speedcrunch/books/pt_BR/cylinder.html -share/speedcrunch/books/pt_BR/index.html -share/speedcrunch/books/pt_BR/math_index.html -share/speedcrunch/books/pt_BR/quadratic_equation.html -share/speedcrunch/books/pt_BR/right_triangle.html -share/speedcrunch/books/pt_BR/sector.html -share/speedcrunch/books/pt_BR/sphere.html -share/speedcrunch/books/ro/circle.html -share/speedcrunch/books/ro/cone.html -share/speedcrunch/books/ro/cube.html -share/speedcrunch/books/ro/cylinder.html -share/speedcrunch/books/ro/index.html -share/speedcrunch/books/ro/math_index.html -share/speedcrunch/books/ro/quadratic_equation.html -share/speedcrunch/books/ro/right_triangle.html -share/speedcrunch/books/ro/sector.html -share/speedcrunch/books/ro/sphere.html -share/speedcrunch/books/ru/circle.html -share/speedcrunch/books/ru/cone.html -share/speedcrunch/books/ru/cube.html -share/speedcrunch/books/ru/cylinder.html -share/speedcrunch/books/ru/index.html -share/speedcrunch/books/ru/math_index.html -share/speedcrunch/books/ru/quadratic_equation.html -share/speedcrunch/books/ru/right_triangle.html -share/speedcrunch/books/ru/sector.html -share/speedcrunch/books/ru/sphere.html -share/speedcrunch/books/sv/circle.html -share/speedcrunch/books/sv/cone.html -share/speedcrunch/books/sv/cube.html -share/speedcrunch/books/sv/cylinder.html -share/speedcrunch/books/sv/index.html -share/speedcrunch/books/sv/math_index.html -share/speedcrunch/books/sv/quadratic_equation.html -share/speedcrunch/books/sv/right_triangle.html -share/speedcrunch/books/sv/sector.html -share/speedcrunch/books/sv/sphere.html -share/speedcrunch/books/tr/circle.html -share/speedcrunch/books/tr/cone.html -share/speedcrunch/books/tr/cube.html -share/speedcrunch/books/tr/cylinder.html -share/speedcrunch/books/tr/index.html -share/speedcrunch/books/tr/math_index.html -share/speedcrunch/books/tr/quadratic_equation.html -share/speedcrunch/books/tr/right_triangle.html -share/speedcrunch/books/tr/sector.html -share/speedcrunch/books/tr/sphere.html -share/speedcrunch/books/zh_CN/circle.html -share/speedcrunch/books/zh_CN/cone.html -share/speedcrunch/books/zh_CN/cube.html -share/speedcrunch/books/zh_CN/cylinder.html -share/speedcrunch/books/zh_CN/math_index.html -share/speedcrunch/books/zh_CN/quadratic_equation.html -share/speedcrunch/books/zh_CN/right_triangle.html -share/speedcrunch/books/zh_CN/sector.html -share/speedcrunch/books/zh_CN/sphere.html -%%NLS%%share/speedcrunch/locale/ca.qm -%%NLS%%share/speedcrunch/locale/cs.qm -%%NLS%%share/speedcrunch/locale/de.qm -%%NLS%%share/speedcrunch/locale/es.qm -%%NLS%%share/speedcrunch/locale/es_AR.qm -%%NLS%%share/speedcrunch/locale/eu.qm -%%NLS%%share/speedcrunch/locale/fi.qm -%%NLS%%share/speedcrunch/locale/fr.qm -%%NLS%%share/speedcrunch/locale/he.qm -%%NLS%%share/speedcrunch/locale/id.qm -%%NLS%%share/speedcrunch/locale/it.qm -%%NLS%%share/speedcrunch/locale/nb.qm -%%NLS%%share/speedcrunch/locale/nl.qm -%%NLS%%share/speedcrunch/locale/pl.qm -%%NLS%%share/speedcrunch/locale/pt.qm -%%NLS%%share/speedcrunch/locale/pt_BR.qm -%%NLS%%share/speedcrunch/locale/ro.qm -%%NLS%%share/speedcrunch/locale/ru.qm -%%NLS%%share/speedcrunch/locale/sv.qm -%%NLS%%share/speedcrunch/locale/tr.qm -%%NLS%%share/speedcrunch/locale/zh_CN.qm -%%NLS%%@dirrm share/speedcrunch/locale -@dirrm share/speedcrunch/books/zh_CN -@dirrm share/speedcrunch/books/tr -@dirrm share/speedcrunch/books/sv -@dirrm share/speedcrunch/books/ru -@dirrm share/speedcrunch/books/ro -@dirrm share/speedcrunch/books/pt_BR -@dirrm share/speedcrunch/books/pt -@dirrm share/speedcrunch/books/pl -@dirrm share/speedcrunch/books/nl -@dirrm share/speedcrunch/books/nb -@dirrm share/speedcrunch/books/it -@dirrm share/speedcrunch/books/images -@dirrm share/speedcrunch/books/id -@dirrm share/speedcrunch/books/he -@dirrm share/speedcrunch/books/fr -@dirrm share/speedcrunch/books/fi -@dirrm share/speedcrunch/books/eu -@dirrm share/speedcrunch/books/es_AR -@dirrm share/speedcrunch/books/es -@dirrm share/speedcrunch/books/en -@dirrm share/speedcrunch/books/de -@dirrm share/speedcrunch/books/cs -@dirrm share/speedcrunch/books/ca -@dirrm share/speedcrunch/books -@dirrm share/speedcrunch