Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] horizon: update to 2.6.0.
@ 2024-06-29 14:11 ii8
  2024-06-29 14:13 ` [PR PATCH] [Updated] " ii8
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ii8 @ 2024-06-29 14:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 530 bytes --]

There is a new pull request by ii8 against master on the void-packages repository

https://github.com/ii8/void-packages horizon
https://github.com/void-linux/void-packages/pull/51041

horizon: update to 2.6.0.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl

Does anyone know why meson can't find cmake in a cross build?

A patch file from https://github.com/void-linux/void-packages/pull/51041.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-horizon-51041.patch --]
[-- Type: text/x-diff, Size: 2966 bytes --]

From 69558c80ae6739464c35fb590e50fd3dc0213850 Mon Sep 17 00:00:00 2001
From: ii8 <murray.calavera@protonmail.com>
Date: Sat, 29 Jun 2024 15:06:51 +0100
Subject: [PATCH] horizon: update to 2.6.0.

---
 srcpkgs/horizon/patches/translit.patch | 24 ------------------------
 srcpkgs/horizon/template               | 19 +++++++------------
 2 files changed, 7 insertions(+), 36 deletions(-)
 delete mode 100644 srcpkgs/horizon/patches/translit.patch

diff --git a/srcpkgs/horizon/patches/translit.patch b/srcpkgs/horizon/patches/translit.patch
deleted file mode 100644
index 70e7a3604f5540..00000000000000
--- a/srcpkgs/horizon/patches/translit.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/src/export_odb/odb_util.cpp
-+++ b/src/export_odb/odb_util.cpp
-@@ -29,9 +29,20 @@ std::ostream &operator<<(std::ostream &os, DimUm d)
-     return os << std::fixed << std::setprecision(3) << std::fixed << d.dim;
- }
- 
-+static bool check_have_transliteration()
-+{
-+    auto ic = g_iconv_open("ascii//TRANSLIT", "utf-8");
-+    const bool have_translit = ic != ((GIConv)-1);
-+    if (!have_translit)
-+        return false;
-+    g_iconv_close(ic);
-+    return true;
-+}
-+
- std::string utf8_to_ascii(const std::string &s)
- {
--    return Glib::convert_with_fallback(s, "ascii//TRANSLIT", "utf-8");
-+    static bool have_translit = check_have_transliteration();
-+    return Glib::convert_with_fallback(s, have_translit ? "ascii//TRANSLIT" : "ascii", "utf-8");
- }
- 
- std::string make_legal_name(const std::string &n)
diff --git a/srcpkgs/horizon/template b/srcpkgs/horizon/template
index 16bbf70822d672..679292a0ea9a86 100644
--- a/srcpkgs/horizon/template
+++ b/srcpkgs/horizon/template
@@ -1,14 +1,11 @@
 # Template file for 'horizon'
 pkgname=horizon
-version=2.5.0
-revision=3
-build_style=gnu-makefile
-make_build_args="GOLD="
-make_install_target="install install-man"
-make_use_env=yes
-hostmakedepends="pkg-config glib-devel"
+version=2.6.0
+revision=1
+build_style=meson
+hostmakedepends="pkg-config cmake glib-devel"
 makedepends="cairomm-devel librsvg-devel sqlite-devel
- glm libgit2-devel libcurl-devel occt-devel cppzmq libpodofo0.9.7-devel libzip-devel
+ glm libgit2-devel libcurl-devel occt-devel cppzmq libpodofo-devel libzip-devel
  gtkmm-devel libepoxy-devel libsodium-devel libarchive-devel libspnav-devel"
 short_desc="Free EDA package"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
@@ -16,8 +13,6 @@ license="GPL-3.0-only"
 homepage="https://horizon-eda.org/"
 changelog="https://raw.githubusercontent.com/horizon-eda/horizon/master/CHANGELOG.md"
 distfiles="https://github.com/horizon-eda/horizon/archive/v${version}.tar.gz"
-checksum=c5cbe54b5f58289e52e4a8d0ed0594cd88ed0cfcef89e1c5ecdd5b82449449b4
+checksum=e7e680a05b92ac8ab4b6a32fb8e3b17bc298245d3d3d9224e9b3f7fb55b81256
+nocross="CMake binary for machine host machine not found"
 
-if [ "$CROSS_BUILD" ]; then
-	make_build_args+=" INC_OCE=-I$XBPS_CROSS_BASE/usr/include/opencascade"
-fi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Updated] horizon: update to 2.6.0.
  2024-06-29 14:11 [PR PATCH] horizon: update to 2.6.0 ii8
@ 2024-06-29 14:13 ` ii8
  2024-07-01 21:33 ` ii8
  2024-07-01 21:33 ` [PR PATCH] [Closed]: " ii8
  2 siblings, 0 replies; 4+ messages in thread
From: ii8 @ 2024-06-29 14:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 535 bytes --]

There is an updated pull request by ii8 against master on the void-packages repository

https://github.com/ii8/void-packages horizon
https://github.com/void-linux/void-packages/pull/51041

horizon: update to 2.6.0.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl

Does anyone know why meson can't find cmake in a cross build?

A patch file from https://github.com/void-linux/void-packages/pull/51041.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-horizon-51041.patch --]
[-- Type: text/x-diff, Size: 2967 bytes --]

From 70c517d70bca053937029a46d127a4f3b1399c3a Mon Sep 17 00:00:00 2001
From: ii8 <murray.calavera@protonmail.com>
Date: Sat, 29 Jun 2024 15:06:51 +0100
Subject: [PATCH] horizon: update to 2.6.0.

---
 srcpkgs/horizon/patches/translit.patch | 24 ------------------------
 srcpkgs/horizon/template               | 20 +++++++-------------
 2 files changed, 7 insertions(+), 37 deletions(-)
 delete mode 100644 srcpkgs/horizon/patches/translit.patch

diff --git a/srcpkgs/horizon/patches/translit.patch b/srcpkgs/horizon/patches/translit.patch
deleted file mode 100644
index 70e7a3604f5540..00000000000000
--- a/srcpkgs/horizon/patches/translit.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/src/export_odb/odb_util.cpp
-+++ b/src/export_odb/odb_util.cpp
-@@ -29,9 +29,20 @@ std::ostream &operator<<(std::ostream &os, DimUm d)
-     return os << std::fixed << std::setprecision(3) << std::fixed << d.dim;
- }
- 
-+static bool check_have_transliteration()
-+{
-+    auto ic = g_iconv_open("ascii//TRANSLIT", "utf-8");
-+    const bool have_translit = ic != ((GIConv)-1);
-+    if (!have_translit)
-+        return false;
-+    g_iconv_close(ic);
-+    return true;
-+}
-+
- std::string utf8_to_ascii(const std::string &s)
- {
--    return Glib::convert_with_fallback(s, "ascii//TRANSLIT", "utf-8");
-+    static bool have_translit = check_have_transliteration();
-+    return Glib::convert_with_fallback(s, have_translit ? "ascii//TRANSLIT" : "ascii", "utf-8");
- }
- 
- std::string make_legal_name(const std::string &n)
diff --git a/srcpkgs/horizon/template b/srcpkgs/horizon/template
index 16bbf70822d672..f93e629319c30b 100644
--- a/srcpkgs/horizon/template
+++ b/srcpkgs/horizon/template
@@ -1,14 +1,11 @@
 # Template file for 'horizon'
 pkgname=horizon
-version=2.5.0
-revision=3
-build_style=gnu-makefile
-make_build_args="GOLD="
-make_install_target="install install-man"
-make_use_env=yes
-hostmakedepends="pkg-config glib-devel"
+version=2.6.0
+revision=1
+build_style=meson
+hostmakedepends="pkg-config cmake glib-devel"
 makedepends="cairomm-devel librsvg-devel sqlite-devel
- glm libgit2-devel libcurl-devel occt-devel cppzmq libpodofo0.9.7-devel libzip-devel
+ glm libgit2-devel libcurl-devel occt-devel cppzmq libpodofo-devel libzip-devel
  gtkmm-devel libepoxy-devel libsodium-devel libarchive-devel libspnav-devel"
 short_desc="Free EDA package"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
@@ -16,8 +13,5 @@ license="GPL-3.0-only"
 homepage="https://horizon-eda.org/"
 changelog="https://raw.githubusercontent.com/horizon-eda/horizon/master/CHANGELOG.md"
 distfiles="https://github.com/horizon-eda/horizon/archive/v${version}.tar.gz"
-checksum=c5cbe54b5f58289e52e4a8d0ed0594cd88ed0cfcef89e1c5ecdd5b82449449b4
-
-if [ "$CROSS_BUILD" ]; then
-	make_build_args+=" INC_OCE=-I$XBPS_CROSS_BASE/usr/include/opencascade"
-fi
+checksum=e7e680a05b92ac8ab4b6a32fb8e3b17bc298245d3d3d9224e9b3f7fb55b81256
+nocross="CMake binary for machine host machine not found"

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Closed]: horizon: update to 2.6.0.
  2024-06-29 14:11 [PR PATCH] horizon: update to 2.6.0 ii8
  2024-06-29 14:13 ` [PR PATCH] [Updated] " ii8
  2024-07-01 21:33 ` ii8
@ 2024-07-01 21:33 ` ii8
  2 siblings, 0 replies; 4+ messages in thread
From: ii8 @ 2024-07-01 21:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 387 bytes --]

There's a closed pull request on the void-packages repository

horizon: update to 2.6.0.
https://github.com/void-linux/void-packages/pull/51041

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl

Does anyone know why meson can't find cmake in a cross build?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: horizon: update to 2.6.0.
  2024-06-29 14:11 [PR PATCH] horizon: update to 2.6.0 ii8
  2024-06-29 14:13 ` [PR PATCH] [Updated] " ii8
@ 2024-07-01 21:33 ` ii8
  2024-07-01 21:33 ` [PR PATCH] [Closed]: " ii8
  2 siblings, 0 replies; 4+ messages in thread
From: ii8 @ 2024-07-01 21:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 292 bytes --]

New comment by ii8 on void-packages repository

https://github.com/void-linux/void-packages/pull/51041#issuecomment-2201110871

Comment:
This new version of horizon is pretty buggy it seems, crashes and things randomly not working. I'm going to close this and suggest we stay on 2.5 for now.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-01 21:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-29 14:11 [PR PATCH] horizon: update to 2.6.0 ii8
2024-06-29 14:13 ` [PR PATCH] [Updated] " ii8
2024-07-01 21:33 ` ii8
2024-07-01 21:33 ` [PR PATCH] [Closed]: " ii8

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).