From nobody Fri Oct 21 07:05:10 2022 X-Original-To: dev-commits-ports-main@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 4MtwTL6S80z4gqj5; Fri, 21 Oct 2022 07:05:10 +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 4MtwTL5kl2z42gB; Fri, 21 Oct 2022 07:05:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666335910; 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=WTHS93nz7J4TZLz5S0TEen1ky4gCZShBD+Sk2IYmY+w=; b=Iw7Ky4yDIsS4x6OiJClSC/X2mCyxi/dFvK5XlDeQXI7tTdpXKRDQjMs+xpaya4zE/i1Wq1 6xsOCMQ64AwlbBrOqcchtvId3cM2EYHqg4bC7uKFCoawGSXlWQPl5Hr/8Uhl6/cYOSn5nd 2Xh4NC/ydehLNzI73S5iu7Nc7f9FEfdriG0J0QT3yEdTaeV9Fs0PiR9B6feFGRLImO7Cac o+AS/n0YH90FBTqan1MzQjmQUNU4RmZTEDAN1B19Eg66Xg8w8gV7m0U7Ln950spxGZrR1u b7qqZhaGlyxdUhjlw2fKbDfFXo9Eel5g0MbkKfiQrPOhTzlfn9V8XJ7LhLOCZA== 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 4MtwTL4m1Xz17Zg; Fri, 21 Oct 2022 07:05:10 +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 29L75A4G085039; Fri, 21 Oct 2022 07:05:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29L75APO085038; Fri, 21 Oct 2022 07:05:10 GMT (envelope-from git) Date: Fri, 21 Oct 2022 07:05:10 GMT Message-Id: <202210210705.29L75APO085038@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: 47f90fecad58 - main - biology/libcombine: New port: C++ library for working with the COMBINE archive format List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 47f90fecad58186514d8c977f75c2db2c5252e35 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666335910; 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=WTHS93nz7J4TZLz5S0TEen1ky4gCZShBD+Sk2IYmY+w=; b=goQDNcfCDRBnjrEcH7te76sFPQDsHYbbL3K6VNnalu9Oxj8zv3hlTWC5HsjiskGv9+W3XA ESVtc/PvDvIDvhQL0KNFv2VL88tAcsBQBBEPCBjxz/LS/Jm7oaZVBieZBqQp7cKW25qRgb +HbYfvEibcqpUXy7LoPRj3dkzQDmqCnR6Kz/319zstkpZ3sn3A/MrfnWLU8Cmb/ZbNhPt4 9Nc6U2KGH/JTcJFa9qR/NSAQk8CdTYwm7s0wYkqd4FxfLvaMlGDeLUFJSfCgYXIAKq21Yg aIjhcSbmgI59RAAK+emv4XS2UWTcpKML0lV3eSsTRTPXfAbFdKHsS64/4cOHjQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666335910; a=rsa-sha256; cv=none; b=pfvY0eOSvxS77dKuxbpWzMChDCy1VOkoH7lUYjJkRt9B+33lgclAcZQbqpE8oL9v/37VHV rbzNzmUmbeMs0DNa+kgmmZEQdfvBjGRkJZ5AqCHdaCeYxHonHlb+/aaKNPSz8UJSZH6Lhm 6rTIBrXmdZp7PDhC5xxNiwbhjY5YoT9739B9sZDfH/00CCBSV576iHMu9Bd6jmYcnhUDJb LsKcYAfSRCDQAQ5rPFQ7uyGDsFY+wi7mYYYTCSesHvjjgfOo1+8g6B9tD0OPfsaPGJhR4o sNP9MlTyy5X02VRPL7v7gAE+Njiqew01k/bG0bpGCzfGdo5HT79bcSXiVar9nA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=47f90fecad58186514d8c977f75c2db2c5252e35 commit 47f90fecad58186514d8c977f75c2db2c5252e35 Author: Yuri Victorovich AuthorDate: 2022-10-21 07:04:23 +0000 Commit: Yuri Victorovich CommitDate: 2022-10-21 07:05:07 +0000 biology/libcombine: New port: C++ library for working with the COMBINE archive format --- biology/Makefile | 1 + biology/libcombine/Makefile | 30 +++++++++++++++ biology/libcombine/distinfo | 7 ++++ .../files/patch-CMakeModules_FindLIBSBML.cmake | 23 ++++++++++++ .../files/patch-dev_generated_CMakeLists.txt | 11 ++++++ biology/libcombine/pkg-descr | 4 ++ biology/libcombine/pkg-plist | 43 ++++++++++++++++++++++ 7 files changed, 119 insertions(+) diff --git a/biology/Makefile b/biology/Makefile index 1c570b26ebb9..25ed50f54925 100644 --- a/biology/Makefile +++ b/biology/Makefile @@ -80,6 +80,7 @@ SUBDIR += kmcp SUBDIR += lamarc SUBDIR += libbigwig + SUBDIR += libcombine SUBDIR += libgff SUBDIR += libgtextutils SUBDIR += libneurosim diff --git a/biology/libcombine/Makefile b/biology/libcombine/Makefile new file mode 100644 index 000000000000..888059b5caad --- /dev/null +++ b/biology/libcombine/Makefile @@ -0,0 +1,30 @@ +PORTNAME= libcombine +DISTVERSIONPREFIX= v +DISTVERSION= 0.2.19 +CATEGORIES= biology + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C++ library for working with the COMBINE archive format +WWW= https://sbml.org/software/libsbml/ + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +LIB_DEPENDS= libsbml.so:biology/libsbml + +USES= cmake:testing gnome localbase:ldflags +USE_GNOME= libxml2 +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= sbmlteam +GH_PROJECT= libCombine +GH_TUPLE= fbergmann:zipper:6f54c03:zipper/src/zipper \ + sebastiandev:minizip:e3a8cb7:zipper_minizip/src/zipper/minizip + +CMAKE_OFF= BUILD_TEST +CMAKE_TESTING_ON= BUILD_TEST # tests fail to build, see https://github.com/sbmlteam/libCombine/issues/58 + +LDFLAGS+= -lsbml # FindSBML.cmake fails to set this link flag + +.include diff --git a/biology/libcombine/distinfo b/biology/libcombine/distinfo new file mode 100644 index 000000000000..935e8183950b --- /dev/null +++ b/biology/libcombine/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1666331339 +SHA256 (sbmlteam-libCombine-v0.2.19_GH0.tar.gz) = a9ac562cca70cd8862b3f3cd65c98e8e455896732a8e1d3ee1ff32bf8ec02ac5 +SIZE (sbmlteam-libCombine-v0.2.19_GH0.tar.gz) = 1524012 +SHA256 (fbergmann-zipper-6f54c03_GH0.tar.gz) = 61aba13ecc2cb23617cf6496bc67739820a7b8c203b3dbb0ce9fddd0a68598d6 +SIZE (fbergmann-zipper-6f54c03_GH0.tar.gz) = 124726 +SHA256 (sebastiandev-minizip-e3a8cb7_GH0.tar.gz) = 14492faf0694bf075312626ffba0fe6fcfccb450001db5b01fece2134d69a75d +SIZE (sebastiandev-minizip-e3a8cb7_GH0.tar.gz) = 85593 diff --git a/biology/libcombine/files/patch-CMakeModules_FindLIBSBML.cmake b/biology/libcombine/files/patch-CMakeModules_FindLIBSBML.cmake new file mode 100644 index 000000000000..c7d6e386f2c3 --- /dev/null +++ b/biology/libcombine/files/patch-CMakeModules_FindLIBSBML.cmake @@ -0,0 +1,23 @@ +--- CMakeModules/FindLIBSBML.cmake.orig 2022-10-21 06:11:59 UTC ++++ CMakeModules/FindLIBSBML.cmake +@@ -124,9 +124,7 @@ endif (NOT LIBSBML_INCLUDE_DIR) + + + find_library(LIBSBML_LIBRARY +- NAMES sbml-static +- sbml +- libsbml-static ++ NAMES sbml + libsbml + PATHS $ENV{LIBSBML_DIR}/lib + $ENV{LIBSBML_DIR} +@@ -144,8 +142,7 @@ find_library(LIBSBML_LIBRARY + + if (NOT LIBSBML_LIBRARY) + find_library(LIBSBML_LIBRARY +- NAMES sbml-static +- sbml) ++ NAMES sbml) + endif (NOT LIBSBML_LIBRARY) + + if (NOT LIBSBML_LIBRARY) diff --git a/biology/libcombine/files/patch-dev_generated_CMakeLists.txt b/biology/libcombine/files/patch-dev_generated_CMakeLists.txt new file mode 100644 index 000000000000..5907bbf5a841 --- /dev/null +++ b/biology/libcombine/files/patch-dev_generated_CMakeLists.txt @@ -0,0 +1,11 @@ +--- dev/generated/CMakeLists.txt.orig 2022-10-21 06:12:43 UTC ++++ dev/generated/CMakeLists.txt +@@ -221,7 +221,7 @@ endif(WITH_SWIG) + # Locate libsbml + # + find_library(LIBSBML_LIBRARY +- NAMES libsbml-static.lib sbml-static libsbml.lib sbml ++ NAMES libsbml.lib sbml + PATHS ${LIBCOMBINE_DEPENDENCY_DIR}/lib + /usr/local/lib + /usr/lib diff --git a/biology/libcombine/pkg-descr b/biology/libcombine/pkg-descr new file mode 100644 index 000000000000..6cee46bab321 --- /dev/null +++ b/biology/libcombine/pkg-descr @@ -0,0 +1,4 @@ +LibCombine implements a C++ API library providing support for the Combine +Archive. The library is written after the likeness of libSBML (and in fact some +classes have been generated using DEVISER). Thus even thought he core is +written in C++, the classes can be accessed via SWIG from .NET, Java and Python. diff --git a/biology/libcombine/pkg-plist b/biology/libcombine/pkg-plist new file mode 100644 index 000000000000..d453477f9f49 --- /dev/null +++ b/biology/libcombine/pkg-plist @@ -0,0 +1,43 @@ +include/combine/combinearchive.h +include/combine/knownformats.h +include/combine/omexdescription.h +include/combine/util.h +include/combine/vcard.h +include/omex/CaBase.h +include/omex/CaConstructorException.h +include/omex/CaContent.h +include/omex/CaCrossRef.h +include/omex/CaError.h +include/omex/CaErrorLog.h +include/omex/CaErrorTable.h +include/omex/CaListOf.h +include/omex/CaListOfContents.h +include/omex/CaListOfCrossRefs.h +include/omex/CaNamespaces.h +include/omex/CaOmexManifest.h +include/omex/CaReader.h +include/omex/CaTypeCodes.h +include/omex/CaTypes.h +include/omex/CaVisitor.h +include/omex/CaWriter.h +include/omex/common/CaOperationReturnValues.h +include/omex/common/combinefwd.h +include/omex/common/common.h +include/omex/common/extern.h +include/omex/common/libcombine-config-common.h +include/omex/common/libcombine-config.h +include/omex/common/libcombine-namespace.h +include/omex/common/libcombine-version.h +lib/cmake/Combine-config-version.cmake +lib/cmake/Combine-config.cmake +lib/cmake/Combine-static-config-version.cmake +lib/cmake/Combine-static-config.cmake +lib/cmake/Combine-static-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/Combine-static-targets.cmake +lib/cmake/Combine-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/Combine-targets.cmake +lib/libCombine-static.a +lib/libCombine.so +lib/libCombine.so.0 +lib/libCombine.so.0.2.19 +share/cmake/Modules/FindLIBCOMBINE.cmake