Github messages for voidlinux
 help / color / mirror / Atom feed
From: ericonr <ericonr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: horizon-1.1.1.
Date: Mon, 20 Jul 2020 05:40:21 +0200	[thread overview]
Message-ID: <20200720034021.eSljiMVTl4z3bWsguXa4Ac6ODBHUQttqy95D1iXyCb4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23120@inbox.vuxu.org>

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

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

https://github.com/ericonr/void-packages horizon
https://github.com/void-linux/void-packages/pull/23120

New package: horizon-1.1.1.
This should wait for #22667, because it allows `occt` to be built for all archs.

Also, I don't know whether to name the package horizon or horizon-eda. The repo name is horizon, but most of the associated material uses horizon-eda, and that's the binary name as well.

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

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

From ebf9c697114b4c68c4b2960a8226c92664a78160 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sun, 21 Jun 2020 18:18:03 -0300
Subject: [PATCH] New package: horizon-1.1.1.

---
 srcpkgs/horizon/patches/flags.patch | 16 ++++++++++++++++
 srcpkgs/horizon/patches/ld.patch    | 14 ++++++++++++++
 srcpkgs/horizon/template            | 20 ++++++++++++++++++++
 3 files changed, 50 insertions(+)
 create mode 100644 srcpkgs/horizon/patches/flags.patch
 create mode 100644 srcpkgs/horizon/patches/ld.patch
 create mode 100644 srcpkgs/horizon/template

diff --git a/srcpkgs/horizon/patches/flags.patch b/srcpkgs/horizon/patches/flags.patch
new file mode 100644
index 00000000000..15b6415fd7a
--- /dev/null
+++ b/srcpkgs/horizon/patches/flags.patch
@@ -0,0 +1,16 @@
+diff --git a/Makefile b/Makefile
+index bb22e2e4..62bafcd8 100644
+--- Makefile
++++ Makefile
+@@ -634,9 +634,9 @@ LIBS_ALL = $(LIBS_COMMON) gtkmm-3.0 epoxy cairomm-pdf-1.0 librsvg-2.0 libzmq lib
+ 
+ OPTIMIZE=-fdata-sections -ffunction-sections
+ DEBUG   =-g3
+-CXXFLAGS  =$(DEBUG) $(DEFINES) $(OPTIMIZE) $(shell $(PKGCONFIG) --cflags $(LIBS_ALL)) -MP -MMD -pthread -Wall -Wshadow -std=c++14 -O3
++CXXFLAGS  += $(DEBUG) $(DEFINES) $(OPTIMIZE) $(shell $(PKGCONFIG) --cflags $(LIBS_ALL)) -MP -MMD -pthread -Wall -Wshadow -std=c++14 -O3
+ CFLAGS = $(filter-out -std=%,$(CXXFLAGS)) -std=c99
+-LDFLAGS = -lm -lpthread
++LDFLAGS += -lm -lpthread
+ GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
+ 
+ ifeq ($(OS),Windows_NT)
diff --git a/srcpkgs/horizon/patches/ld.patch b/srcpkgs/horizon/patches/ld.patch
new file mode 100644
index 00000000000..e719ce0d4b2
--- /dev/null
+++ b/srcpkgs/horizon/patches/ld.patch
@@ -0,0 +1,14 @@
+diff --git a/Makefile b/Makefile
+index bb22e2e4..97274d40 100644
+--- Makefile
++++ Makefile
+@@ -647,8 +647,8 @@ else
+     UNAME := $(shell uname)
+     ifeq ($(UNAME), Darwin)
+         # do nothing on mac os
+     else
+-        LDFLAGS += -fuse-ld=gold
++        #LDFLAGS += -fuse-ld=gold
+     endif
+ endif
+ 
diff --git a/srcpkgs/horizon/template b/srcpkgs/horizon/template
new file mode 100644
index 00000000000..bba149ae10e
--- /dev/null
+++ b/srcpkgs/horizon/template
@@ -0,0 +1,20 @@
+# Template file for 'horizon'
+pkgname=horizon
+version=1.1.1
+revision=1
+build_style=gnu-makefile
+make_use_env=yes
+hostmakedepends="pkg-config glib-devel"
+makedepends="cairomm-devel librsvg-devel yaml-cpp-devel sqlite-devel boost-devel
+ glm libgit2-devel libcurl-devel occt-devel cppzmq libpodofo-devel libzip-devel
+ gtkmm-devel libepoxy-devel libsodium-devel"
+short_desc="Free EDA package"
+maintainer="Érico Nogueira <ericonr@disroot.org>"
+license="GPL-3.0-only"
+homepage="https://horizon-eda.org/"
+distfiles="https://github.com/horizon-eda/horizon/archive/v${version}.tar.gz"
+checksum=05f7c18209a5ea1a38e6e9687e89902a9925a89c03d9294aae3328eeb2135aec
+
+if [ "$CROSS_BUILD" ]; then
+	make_build_args="INC_OCE=-I$XBPS_CROSS_BASE/usr/include/opencascade"
+fi

       reply	other threads:[~2020-07-20  3:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23120@inbox.vuxu.org>
2020-07-20  3:40 ` ericonr [this message]
2020-08-03 22:45 ` ericonr
2020-08-03 22:45 ` ericonr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200720034021.eSljiMVTl4z3bWsguXa4Ac6ODBHUQttqy95D1iXyCb4@z \
    --to=ericonr@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).