From: Johannes Thyssen Tishman Subject: Re: cad/horizon-eda: update to 2.7.2 To: tom.longshine@web.de Cc: ports@openbsd.org Date: Sun, 18 Jan 2026 11:26:15 +0000 2026-01-18T04:18:58+0100 tom.longshine@web.de: > Hi, > > this brings Horizon EDA to the current version 2.7.2. Hi Thomas, thanks for the update. The port seems to be missing a build dependency on graphics/py-cairo which gets picked up at configure time. The same is true for osmesa, but I don't think we have a port for that ('pkglocate osmesa' points at graphics/py-opengl, but with that installed osmesa is still not found). With that addition, ok jtt@. Updated diff below for convenience. Index: Makefile =================================================================== RCS file: /cvs/ports/cad/horizon-eda/Makefile,v diff -u -p -u -p -r1.6 Makefile --- Makefile 21 Oct 2025 06:28:34 -0000 1.6 +++ Makefile 18 Jan 2026 11:15:28 -0000 @@ -2,9 +2,8 @@ COMMENT = electronic design automation p GH_ACCOUNT = horizon-eda GH_PROJECT = horizon -GH_TAGNAME = v2.6.0 +GH_TAGNAME = v2.7.2 PKGNAME = ${DISTNAME:S/horizon/horizon-eda/} -REVISION = 3 CATEGORIES = cad @@ -30,6 +29,7 @@ MODULES = devel/meson BUILD_DEPENDS = devel/cmake/core \ graphics/glm \ + graphics/py-cairo \ net/cppzmq RUN_DEPENDS = devel/desktop-file-utils \ x11/gtk+4,-guic Index: distinfo =================================================================== RCS file: /cvs/ports/cad/horizon-eda/distinfo,v diff -u -p -u -p -r1.1.1.1 distinfo --- distinfo 23 Jul 2024 10:20:07 -0000 1.1.1.1 +++ distinfo 18 Jan 2026 11:15:28 -0000 @@ -1,2 +1,2 @@ -SHA256 (horizon-2.6.0.tar.gz) = 5+aAoFuSrIq0tqMvuOOxe8KYJF09PZIk6bP3+1W4ElY= -SIZE (horizon-2.6.0.tar.gz) = 4358268 +SHA256 (horizon-2.7.2.tar.gz) = a2BffkxG2JSmSZfg9g66k359aNkItNcVzS3eM2S9eaI= +SIZE (horizon-2.7.2.tar.gz) = 4373492 Index: patches/patch-src_pool-prj-mgr_pool-mgr_pool_git_box_cpp =================================================================== RCS file: patches/patch-src_pool-prj-mgr_pool-mgr_pool_git_box_cpp diff -N patches/patch-src_pool-prj-mgr_pool-mgr_pool_git_box_cpp --- patches/patch-src_pool-prj-mgr_pool-mgr_pool_git_box_cpp 31 Oct 2024 07:20:58 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,17 +0,0 @@ -From 3b6b783db797b593119756821c04ac64b66b7ffa Mon Sep 17 00:00:00 2001 -From: "Lukas K." -Date: Sun, 20 Oct 2024 21:41:00 +0200 -Subject: [PATCH] make it build with libgit 1.8.2 - -Index: src/pool-prj-mgr/pool-mgr/pool_git_box.cpp ---- src/pool-prj-mgr/pool-mgr/pool_git_box.cpp.orig -+++ src/pool-prj-mgr/pool-mgr/pool_git_box.cpp -@@ -631,7 +631,7 @@ void PoolGitBox::handle_pr() - git_signature_default(&signature.ptr, repo); - - git_oid new_commit_oid; --#if (LIBGIT2_VER_MAJOR == 1) && (LIBGIT2_VER_MINOR == 8) -+#if (LIBGIT2_VER_MAJOR == 1) && (LIBGIT2_VER_MINOR == 8) && (LIBGIT2_VER_REVISION < 2) - std::array parents; - #else - std::array parents; Index: patches/patch-src_pool-prj-mgr_pool-mgr_pool_remote_box_cpp =================================================================== RCS file: patches/patch-src_pool-prj-mgr_pool-mgr_pool_remote_box_cpp diff -N patches/patch-src_pool-prj-mgr_pool-mgr_pool_remote_box_cpp --- patches/patch-src_pool-prj-mgr_pool-mgr_pool_remote_box_cpp 31 Oct 2024 07:20:58 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,26 +0,0 @@ -From 3b6b783db797b593119756821c04ac64b66b7ffa Mon Sep 17 00:00:00 2001 -From: "Lukas K." -Date: Sun, 20 Oct 2024 21:41:00 +0200 -Subject: [PATCH] make it build with libgit 1.8.2 - -Index: src/pool-prj-mgr/pool-mgr/pool_remote_box.cpp ---- src/pool-prj-mgr/pool-mgr/pool_remote_box.cpp.orig -+++ src/pool-prj-mgr/pool-mgr/pool_remote_box.cpp -@@ -1137,7 +1137,7 @@ void PoolRemoteBox::create_pr_thread() - - autofree_ptr parent_commit(git_commit_free); - git_commit_lookup(&parent_commit.ptr, repo, &parent_oid); --#if (LIBGIT2_VER_MAJOR == 1) && (LIBGIT2_VER_MINOR == 8) -+#if (LIBGIT2_VER_MAJOR == 1) && (LIBGIT2_VER_MINOR == 8) && (LIBGIT2_VER_REVISION < 2) - git_commit *parent_commit_p = parent_commit.ptr; - #else - const git_commit *parent_commit_p = parent_commit.ptr; -@@ -1287,7 +1287,7 @@ void PoolRemoteBox::update_pr_thread() - throw std::runtime_error("error getting default signature"); - } - --#if (LIBGIT2_VER_MAJOR == 1) && (LIBGIT2_VER_MINOR == 8) -+#if (LIBGIT2_VER_MAJOR == 1) && (LIBGIT2_VER_MINOR == 8) && (LIBGIT2_VER_REVISION < 2) - git_commit *parent_commit_p = latest_commit.ptr; - #else - const git_commit *parent_commit_p = latest_commit.ptr;