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: Fri, 19 Feb 2021 02:31:10 +0100	[thread overview]
Message-ID: <20210219013110.NTbU02bhJruq2YUV9vBBnSDtD41-nPw_qCZ3OZUm_AM@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: 2614 bytes --]

From 175f3c0a4d00367a18117e4e78353b8cf860db58 Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Wed, 11 Nov 2020 02:07:18 +0300
Subject: [PATCH] New package: simutron-1.0.1

---
 common/shlibs                                 |  2 ++
 .../remove-bitbang-from-firmware-c.patch      | 13 ++++++++++
 srcpkgs/simutron/template                     | 24 +++++++++++++++++++
 3 files changed, 39 insertions(+)
 create mode 100644 srcpkgs/simutron/patches/remove-bitbang-from-firmware-c.patch
 create mode 100644 srcpkgs/simutron/template

diff --git a/common/shlibs b/common/shlibs
index 8d32c3af15c..ffe3162d70a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3916,3 +3916,5 @@ libwinbind-client-samba4.so samba-libs-4.13.2_1
 libsixel.so.1 libsixel-1.8.6_1
 libpamtest.so.0 pam_wrapper-1.1.3_1
 libopenaptx.so.0 libopenaptx-0.2.0_1
+libsimavr.so.1 simavr-1.6_2
+libsimavrparts.so.1 simavr-1.6_2
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..dd562964857
--- /dev/null
+++ b/srcpkgs/simutron/template
@@ -0,0 +1,24 @@
+# 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"
+
+do_fetch() {
+	svn checkout "https://svn.code.sf.net/p/${pkgname}/code/branches/RB-${version}-${_rev}" "$wrksrc"
+}
+
+post_extract() {
+	rm share/simutron/examples/MENWIZ/LCD20x4Test/bin/Debug/LCD20x4Test.elf
+	rm share/simutron/examples/MENWIZ/LCD20x4Test/bin/Release/LCD20x4Test.elf
+}

  parent reply	other threads:[~2021-02-19  1:31 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
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 ` Logarithmus [this message]
2021-02-21  2:54 ` [PR PATCH] [Updated] " 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=20210219013110.NTbU02bhJruq2YUV9vBBnSDtD41-nPw_qCZ3OZUm_AM@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).