From nobody Thu Dec 21 08:24:18 2023 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 4Swk430XwYz54Vth; Thu, 21 Dec 2023 08:24:19 +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 4Swk4254t7z3LBJ; Thu, 21 Dec 2023 08:24:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703147058; 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=P9GnOivvZZaP0BwByPKrFC24mYZ/0HEkH5N7hoQxsJw=; b=jrlZ4oS/j576k8StdYxNTbj5YUIWYI3ees9bNKtigqJmErxUhRn8IO6IWHDqL69y0+lLH/ Puxudt27Km/WlyYKqL4+8nF0XycMg5oHxxSf0x/bWj+ApQtM5OAicnqDlPoJ7kKa+cALWm l/0pnfiHf6pLgqaP2pfYf7bpzxSl2eCII3ANm6FxXyJYgZuFJ4HuD3dQmgRdaVQFn9Ob8e /ijKTKyQD+fLvmZ0FF5qUQt4FW4bikOgTmMAReZzerXRP2L2p7egnPDdPEiYmG8tY/nw10 zSiKVLI2AeWCYYmUeAEvUIf3WvAr3PyKNrTwkSwBrhN2y8v6DfyXNRw8fWouXg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703147058; a=rsa-sha256; cv=none; b=hJgJV86vMQulw7jabEES3G01DV32Hh1kix8VPx/Pf+YF5eVrkvU8zZxJEoD/GbGWSuRqzE dVnx4DWY6CYDkTGX683XOMJr3DEImsdHj5Nxl/4YcAZ1v1OJ2mQh7zGC2SSRAQTu2wAf2R 09unglNIYoU6Kj/YuRYJtULBZrm8J8sfmiDq8kmyk/9nTYXKhJypRgf8kJscJAG8vD4PCS 7XqUBT01A+h8lwu58UR6y9jsU6zQfvV2S4jW4gOlTtDjlmL8+NMyZAs4fsRfTMuUw1xfNO LW4HuQiy+0AUm2pqWX64mEWu4MUEXyjckHjDcYfN3HneXmRRjiwI80KE/IhO8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703147058; 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=P9GnOivvZZaP0BwByPKrFC24mYZ/0HEkH5N7hoQxsJw=; b=xw9UzkfuA9nCGgVdwLt7dN9PRSlnDIPu0h3Y7NMW5H+ERPGWi/QH9ktueVXbov2nr+mkvo 819+7NMfWx6IGc8o3wbH+a8X86vUCSkHSwtxmJUp3aSayNdB2STLpVs9omb1KDOV4TjCm2 rBex8/OmsmlbeJJdCbzEiIwwyJIdt3jG8MQFjLKmdbDlGLPPg50oMgZkqBzaypil4WkRqd W4HfpTZX7wbNVFJB6Mnl7rKwMtJ36/aukmSAQs3bWT2arfLcH5T1nV2iUVun7JGqSM+UW6 0AAKWvRYHbpqCMAjQHoUqkfHPIlQaWHlPojO1CrVYDCMSDtp17Ij09NmRPiBZg== 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 4Swk423pxsz9vK; Thu, 21 Dec 2023 08:24:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BL8OIDf043775; Thu, 21 Dec 2023 08:24:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BL8OIT2043772; Thu, 21 Dec 2023 08:24:18 GMT (envelope-from git) Date: Thu, 21 Dec 2023 08:24:18 GMT Message-Id: <202312210824.3BL8OIT2043772@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: 6b3008a4084b - main - graphics/libdicom: New port: C library for reading DICOM files 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: 6b3008a4084be8684314447d48d9e49059498d2d Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=6b3008a4084be8684314447d48d9e49059498d2d commit 6b3008a4084be8684314447d48d9e49059498d2d Author: Yuri Victorovich AuthorDate: 2023-12-21 08:11:13 +0000 Commit: Yuri Victorovich CommitDate: 2023-12-21 08:24:07 +0000 graphics/libdicom: New port: C library for reading DICOM files --- graphics/Makefile | 1 + graphics/libdicom/Makefile | 29 +++++++++++++++++++++++++++++ graphics/libdicom/distinfo | 3 +++ graphics/libdicom/pkg-descr | 2 ++ graphics/libdicom/pkg-plist | 10 ++++++++++ 5 files changed, 45 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index 7070b4b48b83..557aeb3500e7 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -449,6 +449,7 @@ SUBDIR += libcaca SUBDIR += libcdr01 SUBDIR += libchamplain + SUBDIR += libdicom SUBDIR += libdmtx SUBDIR += libdrm SUBDIR += libecwj2 diff --git a/graphics/libdicom/Makefile b/graphics/libdicom/Makefile new file mode 100644 index 000000000000..8cfdb29ea3cb --- /dev/null +++ b/graphics/libdicom/Makefile @@ -0,0 +1,29 @@ +PORTNAME= libdicom +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.5 +CATEGORIES= graphics + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C library for reading DICOM files +WWW= https://libdicom.readthedocs.io/en/latest/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${LOCALBASE}/include/utarray.h:devel/uthash +TEST_DEPENDS= check>0:devel/check + +USES= localbase meson pkgconfig +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= ImagingDataCommons + +MESON_ARGS= -Dtests=false + +do-test: + @cd ${WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_CMD} --reconfigure ${CONFIGURE_ARGS} -Dtests=true && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} test + +.include diff --git a/graphics/libdicom/distinfo b/graphics/libdicom/distinfo new file mode 100644 index 000000000000..96af694ebbf0 --- /dev/null +++ b/graphics/libdicom/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1703144908 +SHA256 (ImagingDataCommons-libdicom-v1.0.5_GH0.tar.gz) = ebf5f7c0d1a0f802c1801f2f762537f014f2a431be3e063142f6ed3c96878abb +SIZE (ImagingDataCommons-libdicom-v1.0.5_GH0.tar.gz) = 351519 diff --git a/graphics/libdicom/pkg-descr b/graphics/libdicom/pkg-descr new file mode 100644 index 000000000000..dd20a5915dab --- /dev/null +++ b/graphics/libdicom/pkg-descr @@ -0,0 +1,2 @@ +libdicom is a C library and a set of command-line tools +for reading DICOM WSI files. diff --git a/graphics/libdicom/pkg-plist b/graphics/libdicom/pkg-plist new file mode 100644 index 000000000000..5e10a27d009c --- /dev/null +++ b/graphics/libdicom/pkg-plist @@ -0,0 +1,10 @@ +bin/dcm-dump +bin/dcm-getframe +include/dicom/dicom.h +include/dicom/version.h +lib/libdicom.so +lib/libdicom.so.1 +lib/libdicom.so.1.0.0 +libdata/pkgconfig/libdicom.pc +man/man1/dcm-dump.1.gz +man/man1/dcm-getframe.1.gz