* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/gsmc/, sci-electronics/gsmc/files/
@ 2015-09-07 15:11 Thomas Beierlein
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Beierlein @ 2015-09-07 15:11 UTC (permalink / raw
To: gentoo-commits
commit: a51da4f7acfb2da41cb5729c00d19c96cbed63c2
Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 7 15:08:14 2015 +0000
Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Mon Sep 7 15:11:24 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a51da4f7
sci-electronics/gsmc: Add missing libm (bug 503774). Thanks B. Leverett. Bump to EAPI=5
Package-Manager: portage-2.2.20.1
sci-electronics/gsmc/Manifest | 2 +-
.../gsmc/files/gsmc-1.1-autotools.patch | 14 +++++----
sci-electronics/gsmc/gsmc-1.1-r2.ebuild | 35 ++++++++++++++++++++++
3 files changed, 45 insertions(+), 6 deletions(-)
diff --git a/sci-electronics/gsmc/Manifest b/sci-electronics/gsmc/Manifest
index 965a659..2f13dd8 100644
--- a/sci-electronics/gsmc/Manifest
+++ b/sci-electronics/gsmc/Manifest
@@ -1 +1 @@
-DIST gsmc-1.1.tar.gz 122726 RMD160 80406e224b485d24fe3d0505a8cb861f39b1fa31 SHA1 781f0c51ebe041419071703b8102e56536b47418 SHA256 3cd7fa7fb8712f878229e085ac8881bd829893da31dce96c3e98118798d63fda
+DIST gsmc-1.1.tar.gz 122726 SHA256 3cd7fa7fb8712f878229e085ac8881bd829893da31dce96c3e98118798d63fda SHA512 ea9db9e4917d82e0d9fa40318a971b63443611ab91b2321115d68fa4083de1879086e5c3392607347e3222fabb9efd5f8175ebb8cd122da479fac1ce7e2d9696 WHIRLPOOL bf49b49bcd8b7dd0f4f30b5f02ae913a821c83fd66e6c45c639d597e595aa950b581fc00ba62476406192a590ef0d9693a5ffa6da97e42c9216ee45ff257b55a
diff --git a/sci-electronics/gsmc/files/gsmc-1.1-autotools.patch b/sci-electronics/gsmc/files/gsmc-1.1-autotools.patch
index 94b0558..4418e31 100644
--- a/sci-electronics/gsmc/files/gsmc-1.1-autotools.patch
+++ b/sci-electronics/gsmc/files/gsmc-1.1-autotools.patch
@@ -1,6 +1,6 @@
---- gsmc-1.1.orig/configure.ac 2011-01-12 18:14:55.633360421 -0200
-+++ gsmc-1.1/configure.ac 2011-01-12 19:58:12.617251642 -0200
-@@ -7,26 +7,13 @@
+--- configure.ac.orig 2015-09-07 16:25:35.000000000 +0200
++++ configure.ac 2015-09-07 16:26:30.000000000 +0200
+@@ -7,26 +7,17 @@
AM_INIT_AUTOMAKE(gsmc, 1.0, ik5nax@amsat.org)
# Checks for programs.
@@ -27,12 +27,16 @@
-done
+PKG_PROG_PKG_CONFIG
+PKG_CHECK_MODULES([GTK], [gtk+-2.0])
++dnl Check for libm for floor
++AC_SEARCH_LIBS([floor], [m], [], [
++ AC_MSG_ERROR([unable to find the floor() function])
++])
# Checks for header files.
AC_HEADER_STDC
---- gsmc-1.1.orig/Makefile.am 2011-01-12 18:14:55.633360421 -0200
-+++ gsmc-1.1/Makefile.am 2011-01-12 20:37:21.034615478 -0200
+--- Makefile.am.orig 2011-01-12 18:14:55.633360421 -0200
++++ Makefile.am 2011-01-12 20:37:21.034615478 -0200
@@ -2,8 +2,8 @@
bin_PROGRAMS=gsmc
diff --git a/sci-electronics/gsmc/gsmc-1.1-r2.ebuild b/sci-electronics/gsmc/gsmc-1.1-r2.ebuild
new file mode 100644
index 0000000..01fe3a6
--- /dev/null
+++ b/sci-electronics/gsmc/gsmc-1.1-r2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit autotools eutils
+
+DESCRIPTION="A GTK program for doing Smith Chart calculations"
+HOMEPAGE="http://www.qsl.net/ik5nax/"
+SRC_URI="http://www.qsl.net/ik5nax/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+CDEPEND="
+ dev-libs/glib:2
+ x11-libs/gtk+:2"
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+RDEPEND="${CDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-autotools.patch"
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS NEWS README TODO
+ insinto /usr/share/${PN}
+ doins example*
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/gsmc/, sci-electronics/gsmc/files/
@ 2023-07-23 1:52 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2023-07-23 1:52 UTC (permalink / raw
To: gentoo-commits
commit: 9469342c7d179f27f09bf03fc6bd85d62b408fa9
Author: Brahmajit Das <brahmajit.xyz <AT> gmail <DOT> com>
AuthorDate: Fri Jul 21 07:32:26 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 23 01:49:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9469342c
sci-electronics/gsmc: Fix call to undeclared function recalc
Closes: https://bugs.gentoo.org/886137
Signed-off-by: Brahmajit Das <brahmajit.xyz <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31991
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../gsmc/files/gsmc-1.1-clang16-build-fix.patch | 41 ++++++++++++++++++++++
sci-electronics/gsmc/gsmc-1.1-r3.ebuild | 38 ++++++++++++++++++++
2 files changed, 79 insertions(+)
diff --git a/sci-electronics/gsmc/files/gsmc-1.1-clang16-build-fix.patch b/sci-electronics/gsmc/files/gsmc-1.1-clang16-build-fix.patch
new file mode 100644
index 000000000000..bc813a0bed20
--- /dev/null
+++ b/sci-electronics/gsmc/files/gsmc-1.1-clang16-build-fix.patch
@@ -0,0 +1,41 @@
+Bug: https://bugs.gentoo.org/886137
+--- a/autotune.c
++++ b/autotune.c
+@@ -29,6 +29,8 @@
+ #include <math.h>
+ #include "main.h"
+ #include "autotune.h"
++#include "draw.h"
++#include "calc.h"
+ #include <unistd.h>
+
+
+--- a/main.h
++++ b/main.h
+@@ -112,4 +112,6 @@ gint mdw_expose_event(GtkWidget *, GdkEventExpose *, gpointer),
+
+ void writespice(char *);
+ void removene(void);
++void loadgw(char *);
++void savegw(char *);
+
+--- a/print.c
++++ b/print.c
+@@ -32,6 +32,7 @@
+ #include "main.h"
+ #include "calc.h"
+ #include "print.h"
++#include "draw.h"
+ // jvdh 2004-3-30
+
+ extern SMCDATA smcdata;
+--- a/widget.c
++++ b/widget.c
+@@ -36,6 +36,7 @@
+ #include "widget.h"
+ #include "draw.h"
+ #include "print.h"
++#include "autotune.h"
+
+ extern GtkTextBuffer *txtcircbuff;
+ extern int Zcirc, Ycirc, RHOcirc, Qcirc, tsidx, fsidx;
diff --git a/sci-electronics/gsmc/gsmc-1.1-r3.ebuild b/sci-electronics/gsmc/gsmc-1.1-r3.ebuild
new file mode 100644
index 000000000000..ebd74cd54aa1
--- /dev/null
+++ b/sci-electronics/gsmc/gsmc-1.1-r3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="A GTK program for doing Smith Chart calculations"
+HOMEPAGE="https://www.qsl.net/ik5nax/"
+SRC_URI="https://www.qsl.net/ik5nax/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ dev-libs/glib:2
+ x11-libs/gtk+:2
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-autotools.patch
+ "${FILESDIR}"/${P}-clang16-build-fix.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS NEWS README TODO
+ insinto /usr/share/${PN}
+ doins example*
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-23 1:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-23 1:52 [gentoo-commits] repo/gentoo:master commit in: sci-electronics/gsmc/, sci-electronics/gsmc/files/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2015-09-07 15:11 Thomas Beierlein
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox