From: Logarithmus <Logarithmus@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: simutron-1.0.1-SR2
Date: Fri, 13 Nov 2020 02:14:55 +0100 [thread overview]
Message-ID: <20201113011455.JVzeEMG-2YQHKY1dSdbMWu4qgQGKcDj-gmVY4UO52-Y@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25742@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 504 bytes --]
There is an updated pull request by Logarithmus against master on the void-packages repository
https://github.com/Logarithmus/void-packages simutron
https://github.com/void-linux/void-packages/pull/25742
New package: simutron-1.0.1-SR2
Simulator for simple logic circuits and AVR microcontrollers (relies on `simavr` as a backend).
Requires https://github.com/void-linux/void-packages/pull/25741 to be merged.
A patch file from https://github.com/void-linux/void-packages/pull/25742.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-simutron-25742.patch --]
[-- Type: text/x-diff, Size: 2943 bytes --]
From 2af17961fba5569606052ff33d29d6a4c7328ac2 Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Wed, 11 Nov 2020 02:09:11 +0300
Subject: [PATCH 1/2] common/shlibs: add simavr
---
common/shlibs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index 3c2672e8743..18360d9d0f0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3994,3 +3994,5 @@ libSeExpr2Editor.so.3 seexpr-krita-3.4.4.0_1
libSeExpr2.so.3 seexpr-krita-3.4.4.0_1
liburing.so.1 liburing-0.7_1
libbson-1.0.so.0 libbson-1.17.0_1
+libsimavr.so.1 simavr-1.6_2
+libsimavrparts.so.1 simavr-1.6_2
From 7f1abe11e34598c840edc5bc433a60f6b9c0ab69 Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Wed, 11 Nov 2020 02:07:18 +0300
Subject: [PATCH 2/2] New package: simutron-1.0.1
---
.../remove-bitbang-from-firmware-c.patch | 13 ++++++++
srcpkgs/simutron/template | 32 +++++++++++++++++++
2 files changed, 45 insertions(+)
create mode 100644 srcpkgs/simutron/patches/remove-bitbang-from-firmware-c.patch
create mode 100644 srcpkgs/simutron/template
diff --git a/srcpkgs/simutron/patches/remove-bitbang-from-firmware-c.patch b/srcpkgs/simutron/patches/remove-bitbang-from-firmware-c.patch
new file mode 100644
index 00000000000..c2e7cafaf99
--- /dev/null
+++ b/srcpkgs/simutron/patches/remove-bitbang-from-firmware-c.patch
@@ -0,0 +1,13 @@
+--- plugins/avrmcu/plugin/firmware.c
++++ plugins/avrmcu/plugin/firmware.c
+@@ -118,10 +118,6 @@
+ case AVR_MMCU_TAG_SIMAVR_CONSOLE: {
+ firmware->console_register_addr = src[0] | (src[1] << 8);
+ } break;
+- case AVR_MMCU_TAG_BITBANG: {
+- firmware->bitbang_on_mask =
+- src[0] | (src[1] << 8) | (src[2] << 16) | (src[3] << 24);
+- } break;
+ }
+ size -= next;
+ src += next - 2; // already incremented
diff --git a/srcpkgs/simutron/template b/srcpkgs/simutron/template
new file mode 100644
index 00000000000..e4b40a88be1
--- /dev/null
+++ b/srcpkgs/simutron/template
@@ -0,0 +1,32 @@
+# Template file for 'simutron'
+pkgname=simutron
+version=1.0.1
+revision=1
+_rev=SR2
+build_wrksrc=build
+build_style=qmake
+hostmakedepends="subversion qt5-qmake qt5-host-tools pkg-config"
+makedepends="simavr-devel qt5-devel"
+depends="libelf"
+short_desc="AVR simulator IDE"
+maintainer="Artur Sinila <opensource@logarithmus.dev>"
+license="GPL-3.0-only"
+homepage="https://sourceforge.net/projects/simutron/"
+nostrip_files="LCD20x4Test.elf"
+
+if [ "$CROSS_BUILD" ]; then
+ hostmakedepends+=" qt5-host-tools"
+fi
+
+do_fetch() {
+ svn checkout "https://svn.code.sf.net/p/${pkgname}/code/branches/RB-${version}-${_rev}" "$wrksrc"
+}
+
+do_extract() {
+ echo "No need to extract"
+}
+
+post_extract() {
+ rm share/simutron/examples/MENWIZ/LCD20x4Test/bin/Debug/LCD20x4Test.elf
+ rm share/simutron/examples/MENWIZ/LCD20x4Test/bin/Release/LCD20x4Test.elf
+}
next prev parent reply other threads:[~2020-11-13 1:14 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-19 17:24 [PR PATCH] " Logarithmus
2020-10-19 17:38 ` ericonr
2020-10-19 17:40 ` [PR PATCH] [Updated] " Logarithmus
2020-10-20 11:56 ` Logarithmus
2020-10-20 11:58 ` Logarithmus
2020-10-20 12:04 ` [PR PATCH] [Updated] " Logarithmus
2020-10-20 12:33 ` Logarithmus
2020-10-20 23:55 ` [PR PATCH] [Updated] " Logarithmus
2020-10-21 12:57 ` Logarithmus
2020-10-31 2:04 ` [PR PATCH] [Updated] " Logarithmus
2020-10-31 2:26 ` Logarithmus
2020-11-02 16:27 ` Logarithmus
2020-11-10 22:09 ` [PR PATCH] [Updated] " Logarithmus
2020-11-10 22:12 ` Logarithmus
2020-11-10 22:14 ` Logarithmus
2020-11-10 22:19 ` Logarithmus
2020-11-10 22:46 ` Logarithmus
2020-11-10 22:46 ` Logarithmus
2020-11-10 23:09 ` Logarithmus
2020-11-13 1:14 ` Logarithmus [this message]
2020-11-13 1:17 ` Logarithmus
2020-11-13 1:18 ` Logarithmus
2020-11-16 6:40 ` [PR PATCH] [Updated] " Logarithmus
2020-12-16 16:52 ` [PR REVIEW] " Piraty
2020-12-16 16:52 ` Piraty
2020-12-16 16:52 ` Piraty
2020-12-16 16:52 ` Piraty
2021-02-14 20:44 ` ericonr
2021-02-14 20:44 ` ericonr
2021-02-18 16:29 ` [PR PATCH] [Updated] " Logarithmus
2021-02-18 16:30 ` [PR REVIEW] " Logarithmus
2021-02-18 16:30 ` Logarithmus
2021-02-18 16:30 ` Logarithmus
2021-02-18 16:30 ` Logarithmus
2021-02-18 16:32 ` Logarithmus
2021-02-18 16:33 ` Logarithmus
2021-02-18 17:52 ` [PR REVIEW] " ericonr
2021-02-18 18:08 ` Logarithmus
2021-02-18 22:25 ` [PR REVIEW] " Piraty
2021-02-19 0:48 ` [PR PATCH] [Updated] " Logarithmus
2021-02-19 0:50 ` [PR REVIEW] " Logarithmus
2021-02-19 0:50 ` Logarithmus
2021-02-19 1:31 ` [PR PATCH] [Updated] " Logarithmus
2021-02-21 2:54 ` Logarithmus
2021-02-22 22:31 ` [PR REVIEW] " Piraty
2021-02-23 10:11 ` [PR PATCH] [Closed]: " Piraty
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=20201113011455.JVzeEMG-2YQHKY1dSdbMWu4qgQGKcDj-gmVY4UO52-Y@z \
--to=logarithmus@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).