Github messages for voidlinux
 help / color / mirror / Atom feed
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: Wed, 21 Oct 2020 01:55:29 +0200	[thread overview]
Message-ID: <20201020235529.VrMbeOzdHCLjeqSPNXkR_ORvtkw4Q6UWRXzs70pw7xY@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: 3040 bytes --]

From 5d3b93485174b0b9ceaa1f94b3bc29da204be9ed Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Mon, 19 Oct 2020 18:02:15 +0300
Subject: [PATCH 1/2] New package: simutron-1.0.1-SR2

---
 srcpkgs/simutron/patches/firmware.patch | 17 +++++++++++++++
 srcpkgs/simutron/template               | 29 +++++++++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 srcpkgs/simutron/patches/firmware.patch
 create mode 100644 srcpkgs/simutron/template

diff --git a/srcpkgs/simutron/patches/firmware.patch b/srcpkgs/simutron/patches/firmware.patch
new file mode 100644
index 00000000000..5afe900c898
--- /dev/null
+++ b/srcpkgs/simutron/patches/firmware.patch
@@ -0,0 +1,17 @@
+--- plugins/avrmcu/plugin/firmware.c	2018-05-16 10:41:20.000000000 +0300
++++ plugins/avrmcu/plugin/firmware.c	2020-10-19 16:26:22.168329997 +0300
+@@ -118,10 +118,10 @@
+             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;
++//			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..331a6469831
--- /dev/null
+++ b/srcpkgs/simutron/template
@@ -0,0 +1,29 @@
+# Template file for 'simutron'
+pkgname=simutron
+version=1.0.1
+revision=1
+_commit=r292
+_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"
+
+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
+}

From ae45849ebc0eba9d0cfe0103bf253bc5f3a8ec2c Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Wed, 21 Oct 2020 02:55:12 +0300
Subject: [PATCH 2/2] common/shlibs: add shlibs for simavr

---
 common/shlibs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/shlibs b/common/shlibs
index 35f08f5f099..2a8981219d2 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3991,3 +3991,5 @@ libneatvnc.so.0 neatvnc-0.2.0_1
 libtdjson.so.1.6.0 libtd-1.6.0_1
 libJudy.so.1 judy-1.0.5_1
 libsignal-protocol-c.so.2 libsignal-protocol-c-2.3.3_2
+libsimavr.so.1 simavr-1.6_2
+libsimavrparts.so.1 simavr-1.6_2

  parent reply	other threads:[~2020-10-20 23:55 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 ` Logarithmus [this message]
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
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=20201020235529.VrMbeOzdHCLjeqSPNXkR_ORvtkw4Q6UWRXzs70pw7xY@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).