From nobody Wed Nov 09 09:31:04 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N6fpw2hnmz4YFQv; Wed, 9 Nov 2022 09:31:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N6fpw2FSXz3hXj; Wed, 9 Nov 2022 09:31:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667986264; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qKG0fHRRmSlyKIQwr62VjBg+0RNsSAyNZnTjo0d8LmY=; b=gkCeUYjBtgvNOnUdd/5zQiecUM70Z+587p/2pS1qbI9fVB4xzmfhQI3y0QtbIxLXE61igS GKJptq/AiBreK0ON/tnGoEWi0sD+8jlGsN8OSiybEp0DSJ7SX47yKOBLs+y7u7ECRNDaNp 69udKSDdqNWb/RR5vv8JTmqtrapqOgaKiPoAYwnazvaZ6odK6nf5FQ4WwpZ/C3cT9ybnPN 6HyZ+4ik37jRk62g+Nk5E4kspzMKlJ9p3kBOOEqZvwC9+d4HpF4LT8zau3OjQtjjSUqGJH jz7gq7HwlXvxZcPXoMtfRUh4o9cV2msHH+Cxo6IFDRX+NhmcnQtPCbuJh2iIRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667986264; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qKG0fHRRmSlyKIQwr62VjBg+0RNsSAyNZnTjo0d8LmY=; b=qDqJGSfYcoHy1X+GWk+m6uu1bcM7rX3sUrjvfeNYJPVYx73KrJzOnaKaC0kxSLEySgyEAA deTk+V0qr8xzFf4o4EbsVTMy0tyZKI/XO4Emuz1iEOsU4rndqFB2Sair845w5ZDSzZSTHM aMdlHB7skt9qEaJOOkh8/p49+jAUIEIss1HwiH4S55G+b0yE/fHJob11kraBSPYlmqNWSt dtpopuSNfyknJ6f3ovaO9DrkL5UTB71dol0T7wzlAPwuu6dIvrujy7SyFnS3lmuFd5IF5B GTVitQpvZ+QeS2RmIQExUxH94nVWUVSMYNVjC3TEPGMf9gblVbsocFgMqui0/A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667986264; a=rsa-sha256; cv=none; b=a0X+cBlYQfjriUV3m7l1LAZfBh4GzydUU+tIwKIpmxAeREqcQ52644UnzOGz3m1Rl/Xs28 vTJuMd/MgfGTlDlY05U/6cUAsmYpA5zDLIb3iiRkV+Hcep3piIleC1w2NOdVI/41/yiCPV FxqhvshfkttCPwGJN3R+Pd8lAfYbu82MlVlzrsYU58ymOjO/PRI5852vSZWory/mvkOVdR D5CbX67D9NRQ9Vk8xxxL70dMcstzsWB2cEohWQxmNyuvyT8Ue8SBZM72oM3Lr0Ci2FcAHj aYS6SQy0CpzvRu0wT5euKssq8TstC33r9WWm14oBM4qhL1CX6GwtXbO7wMjvDw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N6fpw1KyxzHBb; Wed, 9 Nov 2022 09:31:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2A99V4ju030713; Wed, 9 Nov 2022 09:31:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A99V4hU030712; Wed, 9 Nov 2022 09:31:04 GMT (envelope-from git) Date: Wed, 9 Nov 2022 09:31:04 GMT Message-Id: <202211090931.2A99V4hU030712@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: fd28496df498 - main - graphics/cxxplot: New port: C++ 2D plotting library List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fd28496df4987f8d04d571d021935cefc04e956e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=fd28496df4987f8d04d571d021935cefc04e956e commit fd28496df4987f8d04d571d021935cefc04e956e Author: Yuri Victorovich AuthorDate: 2022-11-09 09:30:18 +0000 Commit: Yuri Victorovich CommitDate: 2022-11-09 09:31:02 +0000 graphics/cxxplot: New port: C++ 2D plotting library --- graphics/Makefile | 1 + graphics/cxxplot/Makefile | 29 +++++++++++++++++++++++++++++ graphics/cxxplot/distinfo | 3 +++ graphics/cxxplot/files/patch-CMakeLists.txt | 26 ++++++++++++++++++++++++++ graphics/cxxplot/pkg-descr | 7 +++++++ graphics/cxxplot/pkg-plist | 21 +++++++++++++++++++++ 6 files changed, 87 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index 9b11aa1a9411..9e1d8321ed0a 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -117,6 +117,7 @@ SUBDIR += curator SUBDIR += curtail SUBDIR += cuttlefish + SUBDIR += cxxplot SUBDIR += darktable SUBDIR += dataplot SUBDIR += dbow2 diff --git a/graphics/cxxplot/Makefile b/graphics/cxxplot/Makefile new file mode 100644 index 000000000000..cfcdb202ccf6 --- /dev/null +++ b/graphics/cxxplot/Makefile @@ -0,0 +1,29 @@ +PORTNAME= cxxplot +DISTVERSIONPREFIX= v +DISTVERSION= 0.3.0-2 +DISTVERSIONSUFFIX= -g750b54b +CATEGORIES= graphics + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C++ 2D plotting library +WWW= https://github.com/USNavalResearchLaboratory/cxxplot + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/license.txt + +USES= cmake:testing compiler:c++20-lang gl qt:5 +USE_QT= core gui opengl printsupport widgets buildtools:build qmake:build +USE_GL= gl opengl + +USE_GITHUB= yes +GH_ACCOUNT= USNavalResearchLaboratory + +CMAKE_ON= BUILD_SHARED_LIBS + +do-test: # 'make test' opens a lot of windows +.for name in 01_test 02_test 03_test 04_test 05_test 06_test_csv 07_test_image + @${ECHO} "==> Running the test ${name}" + @${TEST_WRKSRC}/tests/${name}/libcxxplot_${name:C/test_.*/test/} +.endfor + +.include diff --git a/graphics/cxxplot/distinfo b/graphics/cxxplot/distinfo new file mode 100644 index 000000000000..45c22a2ce1af --- /dev/null +++ b/graphics/cxxplot/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1667983462 +SHA256 (USNavalResearchLaboratory-cxxplot-v0.3.0-2-g750b54b_GH0.tar.gz) = 4d4d3aa5e9076589b29a578a0fa10af14ce71b5ba690c1361b696f33e1cad53c +SIZE (USNavalResearchLaboratory-cxxplot-v0.3.0-2-g750b54b_GH0.tar.gz) = 4385268 diff --git a/graphics/cxxplot/files/patch-CMakeLists.txt b/graphics/cxxplot/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..b4b8fd7841c9 --- /dev/null +++ b/graphics/cxxplot/files/patch-CMakeLists.txt @@ -0,0 +1,26 @@ +--- CMakeLists.txt.orig 2022-04-04 11:38:46 UTC ++++ CMakeLists.txt +@@ -164,7 +164,7 @@ target_link_libraries( cxxplot + + target_compile_options( cxxplot PRIVATE + $<$:> # TODO ADD /W4 /WX here by fixing cxxplot_WARNOFF / ON +- $<$>:-Wall -Wextra -pedantic -Werror> ++ $<$>:-Wall -Wextra -pedantic> + ) + + # Install, export targets, cmake config and version +@@ -224,9 +224,10 @@ install( + ) + + # tests/examples +-if ( CXXPLOT_NOT_SUBPROJECT ) +- ++if (BUILD_TESTING) + add_subdirectory( tests ) +-add_subdirectory( examples ) ++endif() + +-endif( CXXPLOT_NOT_SUBPROJECT ) ++if (BUILD_EXAMPLES) ++add_subdirectory( examples ) ++endif() diff --git a/graphics/cxxplot/pkg-descr b/graphics/cxxplot/pkg-descr new file mode 100644 index 000000000000..ff26b5d20251 --- /dev/null +++ b/graphics/cxxplot/pkg-descr @@ -0,0 +1,7 @@ +cxxplot is a C++ plotting library meant to be used in science, engineering and +data analysis. The main objectives of the project are: +* Provide syntax that is familiar to scientists and engineers. +* Enable low setup times. +* Be more performant than typical plotting libraries. +* Operate in asynchronous mode. Therefore plot calls and user code can be + combined and still retain GUI interactivity. diff --git a/graphics/cxxplot/pkg-plist b/graphics/cxxplot/pkg-plist new file mode 100644 index 000000000000..f4d459feae48 --- /dev/null +++ b/graphics/cxxplot/pkg-plist @@ -0,0 +1,21 @@ +include/cxxplot-0.3.0/cxxplot/align.hpp +include/cxxplot-0.3.0/cxxplot/color.hpp +include/cxxplot-0.3.0/cxxplot/concepts.hpp +include/cxxplot-0.3.0/cxxplot/cxxplot +include/cxxplot-0.3.0/cxxplot/execution.hpp +include/cxxplot-0.3.0/cxxplot/figure.hpp +include/cxxplot-0.3.0/cxxplot/gettersetter.hpp +include/cxxplot-0.3.0/cxxplot/graph.hpp +include/cxxplot-0.3.0/cxxplot/image.hpp +include/cxxplot-0.3.0/cxxplot/named_parameter.hpp +include/cxxplot-0.3.0/cxxplot/point2d.hpp +include/cxxplot-0.3.0/cxxplot/range.hpp +include/cxxplot-0.3.0/cxxplot/styles.hpp +include/cxxplot-0.3.0/cxxplot/typetraits.hpp +include/cxxplot-0.3.0/cxxplot/utils.hpp +include/cxxplot-0.3.0/cxxplot/window.hpp +lib/cmake/cxxplot-0.3.0/cxxplotConfig.cmake +lib/cmake/cxxplot-0.3.0/cxxplotConfigVersion.cmake +lib/cmake/cxxplot-0.3.0/cxxplotTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/cxxplot-0.3.0/cxxplotTargets.cmake +lib/cxxplot-0.3.0/libcxxplot.so