Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: simutron-1.0.1-SR2
@ 2020-10-19 17:24 Logarithmus
  2020-10-19 17:38 ` ericonr
                   ` (44 more replies)
  0 siblings, 45 replies; 46+ messages in thread
From: Logarithmus @ 2020-10-19 17:24 UTC (permalink / raw)
  To: ml

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

There is a new 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: 2499 bytes --]

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

---
 srcpkgs/simutron/patches/firmware.patch | 17 +++++++++++++++++
 srcpkgs/simutron/template               | 24 ++++++++++++++++++++++++
 2 files changed, 41 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..def94777921
--- /dev/null
+++ b/srcpkgs/simutron/template
@@ -0,0 +1,24 @@
+# Template file for 'simutron'
+pkgname=simutron
+version=1.0.1
+revision=1
+_commit=r292
+_rev=SR2
+wrksrc=${pkgname}-code-${_commit}-branches-RB-${version}-${_rev}
+build_wrksrc=build
+build_style=qmake
+hostmakedepends="qt5-qmake 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/"
+distfiles="https://sourceforge.net/code-snapshots/svn/s/si/${pkgname}/code/${pkgname}-code-${_commit}-branches-RB-${version}-${_rev}.zip"
+checksum=fb3f5897477a9e1afa36f3e7ac44793777871fdf339fae220a6e699e168e1ea8
+nostrip_files="LCD20x4Test.elf"
+
+post_extract() {
+	rm usr/share/simutron/examples/MENWIZ/LCD20x4Test/bin/Debug/LCD20x4Test.elf
+	rm usr/share/simutron/examples/MENWIZ/LCD20x4Test/bin/Release/LCD20x4Test.elf
+}

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

end of thread, other threads:[~2021-02-23 10:11 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19 17:24 [PR PATCH] New package: simutron-1.0.1-SR2 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 ` [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

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