Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: simulide-0.4.13
@ 2020-10-28 18:02 Logarithmus
  2020-10-28 18:19 ` [PR REVIEW] " ericonr
                   ` (31 more replies)
  0 siblings, 32 replies; 33+ messages in thread
From: Logarithmus @ 2020-10-28 18:02 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Logarithmus/void-packages simulide
https://github.com/void-linux/void-packages/pull/25945

New package: simulide-0.4.13
Real time electronic circuit simulator with PIC, AVR and Arduino simulation.
It bundles some older versions of `simavr` and `gpsim`. I tried to make it use up-to-date version, which are installed system-wide, but turns out there's plenty of fixing needed to do it. So I postponed it for the future.
P. S. I'm not the author of this tool, I just use it for my university MCU programming course.

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

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

From 31a7ef2ed77987c6dfd389803782dbb3d5b83f54 Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Wed, 28 Oct 2020 20:30:48 +0300
Subject: [PATCH] New package: simulide-0.4.13

---
 srcpkgs/gpsim/template                 | 27 --------------------------
 srcpkgs/gpsim/update                   |  1 -
 srcpkgs/simulide/patches/00-glib.patch | 24 +++++++++++++++++++++++
 srcpkgs/simulide/template              | 24 +++++++++++++++++++++++
 4 files changed, 48 insertions(+), 28 deletions(-)
 delete mode 100644 srcpkgs/gpsim/template
 delete mode 100644 srcpkgs/gpsim/update
 create mode 100644 srcpkgs/simulide/patches/00-glib.patch
 create mode 100644 srcpkgs/simulide/template

diff --git a/srcpkgs/gpsim/template b/srcpkgs/gpsim/template
deleted file mode 100644
index 1778e73658e..00000000000
--- a/srcpkgs/gpsim/template
+++ /dev/null
@@ -1,27 +0,0 @@
-# Template file for 'gpsim'
-pkgname=gpsim
-version=0.31.0
-revision=1
-build_style=gnu-configure
-hostmakedepends="pkg-config"
-makedepends="gtk+-devel popt-devel readline-devel"
-short_desc="Full-featured software simulator for Microchip PIC mictocontrollers"
-maintainer="Robert Lowry <bobertlo@gmail.com>"
-license="GPL-2.0-or-later"
-homepage="http://gpsim.sourceforge.net/"
-distfiles="https://sourceforge.net/projects/gpsim/files/gpsim/${version}/gpsim-${version}.tar.gz"
-checksum=110ee6be3a5d02b32803a91e480cbfc9d423ef72e0830703fc0bc97b9569923f
-
-pre_configure() {
-	vsed -i -e 's/#include "error.h"//' src/modules.cc
-}
-
-gpsim-devel_package() {
-	short_desc+=" - development files"
-	depends="gpsim-${version}_${revision} gtk+-devel popt-devel readline-devel"
-	pkg_install() {
-		vmove usr/include/gpsim
-		vmove "usr/lib/*.a"
-		vmove "usr/lib/*.so"
-	}
-}
diff --git a/srcpkgs/gpsim/update b/srcpkgs/gpsim/update
deleted file mode 100644
index 5f1f1d7029c..00000000000
--- a/srcpkgs/gpsim/update
+++ /dev/null
@@ -1 +0,0 @@
-ignore="0.x.y"
diff --git a/srcpkgs/simulide/patches/00-glib.patch b/srcpkgs/simulide/patches/00-glib.patch
new file mode 100644
index 00000000000..f70ef7c02d9
--- /dev/null
+++ b/srcpkgs/simulide/patches/00-glib.patch
@@ -0,0 +1,24 @@
+--- SimulIDE.pro 2020-08-13 22:39:49.000000000 +0300
++++ SimulIDE.pro 2020-10-22 03:08:27.819023767 +0300
+@@ -103,7 +103,9 @@
+     ../src/gpsim/*.h \
+     ../src/gpsim/devices/*.h \
+     ../src/gpsim/modules/*.h \
+-    ../src/gpsim/registers/*.h
++    ../src/gpsim/registers/*.h \
++     /usr/include/glib-2.0/glib.h \
++     /usr/lib/glib-2.0/include/glibconfig.h
+
+ INCLUDEPATH += ../src \
+     ../src/gui \
+@@ -140,7 +140,9 @@
+     ../src/gpsim \
+     ../src/gpsim/devices \
+     ../src/gpsim/modules \
+-    ../src/gpsim/registers
++    ../src/gpsim/registers \
++     /usr/include/glib-2.0 \
++     /usr/lib/glib-2.0/include
+
+ TRANSLATIONS +=  \
+     ../resources/translations/simulide.ts \
diff --git a/srcpkgs/simulide/template b/srcpkgs/simulide/template
new file mode 100644
index 00000000000..53f1e3fda58
--- /dev/null
+++ b/srcpkgs/simulide/template
@@ -0,0 +1,24 @@
+# Template file for 'simulide'
+pkgname=simulide
+version=0.4.13
+_pkgname=SimulIDE
+_rev=SR5
+revision=1
+wrksrc=${pkgname}_${version}-${_rev}_Sources
+build_wrksrc=build_XX
+build_style=qmake
+hostmakedepends="qt5-qmake qt5-host-tools pkg-config"
+makedepends="qt5-devel qt5-svg-devel qt5-multimedia-devel qt5-serialport-devel qt5-script-devel elfutils-devel"
+short_desc="Real Time Electronic Circuit Simulator with PIC, AVR and Arduino simulation"
+maintainer="Artur Sinila <opensource@logarithmus.dev>"
+license="GPL-3.0-or-later"
+homepage="https://simulide.com"
+distfiles="https://mailfence.com/pub/docs/santigoro/web/${_pkgname}_${version}/${_pkgname}_${version}-${_rev}_Sources.tar.gz"
+checksum=b55b03e507882b8b68a25e5155dcac6020ba273be93bdf689612a0be67056d43
+nopie_files="/usr/bin/simulide"
+
+do_install() {
+	mv release/${_pkgname}_${version}-${_rev}/usr ./
+	vbin usr/bin/simulide
+	mv usr/share ${DESTDIR}/usr/
+}

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

end of thread, other threads:[~2022-05-07  2:05 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-28 18:02 [PR PATCH] New package: simulide-0.4.13 Logarithmus
2020-10-28 18:19 ` [PR REVIEW] " ericonr
2020-10-28 18:19 ` ericonr
2020-10-28 18:27 ` [PR PATCH] [Updated] " Logarithmus
2020-10-28 18:31 ` [PR REVIEW] " Logarithmus
2020-10-28 18:31 ` Logarithmus
2020-10-28 18:32 ` Logarithmus
2020-10-30 14:03 ` [PR PATCH] [Updated] " Logarithmus
2020-10-30 14:05 ` Logarithmus
2020-10-30 14:06 ` Logarithmus
2020-10-30 14:07 ` [PR REVIEW] " sgn
2020-10-31  2:12 ` [PR PATCH] [Updated] " Logarithmus
2020-10-31  4:12 ` [PR REVIEW] " sgn
2020-10-31 13:39 ` [PR PATCH] [Updated] " Logarithmus
2020-11-10 21:52 ` Logarithmus
2020-11-10 22:05 ` Logarithmus
2020-11-10 22:20 ` Logarithmus
2020-11-10 22:26 ` Logarithmus
2020-11-10 22:26 ` Logarithmus
2020-11-10 22:44 ` Logarithmus
2020-11-10 22:45 ` Logarithmus
2020-11-11  0:23 ` Logarithmus
2020-11-21 21:47 ` [PR REVIEW] " the-maldridge
2020-11-21 21:51 ` Logarithmus
2021-02-19  2:18 ` [PR PATCH] [Updated] " Logarithmus
2021-02-19  2:19 ` [PR REVIEW] " Logarithmus
2021-02-19  3:55 ` [PR PATCH] [Updated] " Logarithmus
2021-02-19  4:24 ` Logarithmus
2021-03-17 17:40 ` New package: simulide-0.4.14 Logarithmus
2021-03-26 21:44 ` [PR PATCH] [Updated] " Logarithmus
2021-07-27  2:10 ` Logarithmus
2022-04-22  2:14 ` github-actions
2022-05-07  2:05 ` [PR PATCH] [Closed]: " github-actions

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).