From unknown Tue Jun 17 01:37:45 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#45240 <45240@debbugs.gnu.org> To: bug#45240 <45240@debbugs.gnu.org> Subject: Status: [PATCH 0/2] =?UTF-8?Q?=CE=BCCsim:?= Extract from SDCC into separate package Reply-To: bug#45240 <45240@debbugs.gnu.org> Date: Tue, 17 Jun 2025 08:37:45 +0000 retitle 45240 [PATCH 0/2] =CE=BCCsim: Extract from SDCC into separate packa= ge reassign 45240 guix-patches submitter 45240 Simon South severity 45240 normal tag 45240 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 14 13:04:06 2020 Received: (at submit) by debbugs.gnu.org; 14 Dec 2020 18:04:07 +0000 Received: from localhost ([127.0.0.1]:54256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kosCb-0005CW-S5 for submit@debbugs.gnu.org; Mon, 14 Dec 2020 13:04:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:51626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kosCZ-0005CN-M6 for submit@debbugs.gnu.org; Mon, 14 Dec 2020 13:04:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kosCY-0003Hf-Sf for guix-patches@gnu.org; Mon, 14 Dec 2020 13:04:03 -0500 Received: from mailout.easymail.ca ([64.68.200.34]:53332) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kosCU-00009V-FO for guix-patches@gnu.org; Mon, 14 Dec 2020 13:04:02 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 6FFD32346A; Mon, 14 Dec 2020 18:03:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo06-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo06-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tPs4rPEyGAgh; Mon, 14 Dec 2020 18:03:54 +0000 (UTC) Received: from localhost.localdomain (unknown [108.162.141.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 7E55F23466; Mon, 14 Dec 2020 18:03:51 +0000 (UTC) From: Simon South To: guix-patches@gnu.org Subject: [PATCH 0/2] μCsim: Extract from SDCC into separate package Date: Mon, 14 Dec 2020 12:58:09 -0500 Message-Id: X-Mailer: git-send-email 2.25.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=64.68.200.34; envelope-from=simon@simonsouth.net; helo=mailout.easymail.ca X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, SUBJECT_NEEDS_ENCODING=0.049, SUBJ_ILLEGAL_CHARS=1.518 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: submit Cc: Simon South X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.1 (-) Currently the package for SDCC, a C compiler suite for 8-bit microcontrollers, builds and installs its own copy of μCsim, a collection of microcontroller simulators. This patch series adds a separate package for μCsim and removes the bundled copy from SDCC. Note that despite the name, "0.6-pre67" does appear to be the latest stable version; the last "formal" release, 0.5.3, was made in 2004, and 0.6 has apparently been in a pre-release state for four years now (see http://mazsola.iit.uni-miskolc.hu/ucsim/download/unix/). -- Simon South simon@simonsouth.net Simon South (2): gnu: Add μCsim. gnu: sdcc: Remove bundled μCsim. gnu/packages/embedded.scm | 43 ++++++++++++++++++++++++++++++++++++++- gnu/packages/sdcc.scm | 4 +++- 2 files changed, 45 insertions(+), 2 deletions(-) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 14 13:06:15 2020 Received: (at 45240) by debbugs.gnu.org; 14 Dec 2020 18:06:15 +0000 Received: from localhost ([127.0.0.1]:54262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kosEh-0005GN-2D for submit@debbugs.gnu.org; Mon, 14 Dec 2020 13:06:15 -0500 Received: from mailout.easymail.ca ([64.68.200.34]:39754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kosEe-0005G9-SW for 45240@debbugs.gnu.org; Mon, 14 Dec 2020 13:06:13 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id A778A2327D; Mon, 14 Dec 2020 18:06:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo06-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo06-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fmf6QDN_GLcX; Mon, 14 Dec 2020 18:06:07 +0000 (UTC) Received: from localhost.localdomain (unknown [108.162.141.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id AAB4621130; Mon, 14 Dec 2020 18:06:05 +0000 (UTC) From: Simon South To: 45240@debbugs.gnu.org Subject: [PATCH 1/2] =?UTF-8?q?gnu:=20Add=20=CE=BCCsim.?= Date: Mon, 14 Dec 2020 13:00:19 -0500 Message-Id: X-Mailer: git-send-email 2.25.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45240 Cc: Simon South X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/embedded.scm (ucsim): New variable. --- gnu/packages/embedded.scm | 43 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index f2c7ca5f9f..dd48fe317e 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -34,7 +34,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (guix build-system trivial) - #:use-module ((guix build utils) #:select (alist-replace)) + #:use-module ((guix build utils) #:select (alist-replace delete-file-recursively)) #:use-module (gnu packages) #:use-module (gnu packages admin) #:use-module (gnu packages autotools) @@ -1420,3 +1420,44 @@ handling communication with eBUS devices connected to a 2-wire bus system (\"energy bus\" used by numerous heating systems).") (home-page "https://ebusd.eu/") (license license:gpl3+))) + +(define-public ucsim + (package + (name "ucsim") + (version "0.6-pre67") + (source (origin + (method url-fetch) + (uri (string-append + "http://mazsola.iit.uni-miskolc.hu/ucsim/download/unix/" + "devel/ucsim-" version ".tar.gz")) + (sha256 + (base32 + "0aahj9pbfjphjrm4hgs9pfmp6d5aikaq4yvxlrvhywjinnnf0qp1")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags '("--enable-avr-port" + "--enable-m6809-port" + "--enable-p1516-port" + "--enable-st7-port") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-makefiles + (lambda _ + (substitute* (find-files "." "(\\.mk$|\\.in$)") + (("/bin/sh") (which "sh"))) + #t)) + (add-after 'install 'remove-empty-directory + (lambda* (#:key outputs #:allow-other-keys) + (delete-file-recursively + (string-append (assoc-ref outputs "out") "/share/man")) + #t))))) + (native-inputs + `(("bison" ,bison) + ("flex" ,flex))) + (home-page "http://mazsola.iit.uni-miskolc.hu/ucsim/") + (synopsis "Simulators for various microcontroller families") + (description "μCsim is a collection of software simulators for +microcontrollers in the Atmel AVR; Intel MCS-51 (8051); Motorola 68HC08 and +6809; P1516; Padauk PDK13, PDK14 and PDK15; STMicroelectronics ST7 and STM8; +and Zilog Z80 families, plus many of their variants.") + (license license:gpl2+))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 14 13:06:17 2020 Received: (at 45240) by debbugs.gnu.org; 14 Dec 2020 18:06:17 +0000 Received: from localhost ([127.0.0.1]:54265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kosEj-0005Gc-E2 for submit@debbugs.gnu.org; Mon, 14 Dec 2020 13:06:17 -0500 Received: from mailout.easymail.ca ([64.68.200.34]:40336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kosEh-0005GC-QH for 45240@debbugs.gnu.org; Mon, 14 Dec 2020 13:06:16 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id A08F523304; Mon, 14 Dec 2020 18:06:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo06-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo06-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0vIRn9FYcnM9; Mon, 14 Dec 2020 18:06:10 +0000 (UTC) Received: from localhost.localdomain (unknown [108.162.141.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id D61E821130; Mon, 14 Dec 2020 18:06:07 +0000 (UTC) From: Simon South To: 45240@debbugs.gnu.org Subject: [PATCH 2/2] =?UTF-8?q?gnu:=20sdcc:=20Remove=20bundled=20=CE=BCCsi?= =?UTF-8?q?m.?= Date: Mon, 14 Dec 2020 13:00:20 -0500 Message-Id: <8f082461d047b1eb33ebfcd77b1265a56512e005.1607965706.git.simon@simonsouth.net> X-Mailer: git-send-email 2.25.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45240 Cc: Simon South X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/sdcc.scm (sdcc)[source]: Extend snippet to remove bundled μCsim source. [arguments]<#:configure-flags>: Replace "--enable-ucsim" with "--disable-ucsim". --- gnu/packages/sdcc.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/sdcc.scm b/gnu/packages/sdcc.scm index aad2cf9e62..0ce71ed955 100644 --- a/gnu/packages/sdcc.scm +++ b/gnu/packages/sdcc.scm @@ -46,6 +46,8 @@ '(begin ;; Remove non-free source files (delete-file-recursively "device/non-free") + ;; Remove bundled μCsim source + (delete-file-recursively "sim") #t)) (patches (search-patches "sdcc-disable-non-free-code.patch")))) (build-system gnu-build-system) @@ -58,7 +60,7 @@ (arguments `(;; gputils is required for PIC ports #:configure-flags - '("--disable-pic14-port" "--disable-pic16-port" "--enable-ucsim") + '("--disable-pic14-port" "--disable-pic16-port" "--disable-ucsim") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-makefile -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 21 11:38:19 2020 Received: (at 45240-done) by debbugs.gnu.org; 21 Dec 2020 16:38:19 +0000 Received: from localhost ([127.0.0.1]:48126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krOCR-0006YI-6x for submit@debbugs.gnu.org; Mon, 21 Dec 2020 11:38:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krOCN-0006Y0-CM for 45240-done@debbugs.gnu.org; Mon, 21 Dec 2020 11:38:17 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40422) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krOCI-0003kd-1s; Mon, 21 Dec 2020 11:38:10 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37108 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1krOCH-0004eW-Mq; Mon, 21 Dec 2020 11:38:09 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon South Subject: Re: [bug#45240] [PATCH 0/2] =?utf-8?Q?=CE=BCCsim=3A?= Extract from SDCC into separate package References: Date: Mon, 21 Dec 2020 17:38:08 +0100 In-Reply-To: (Simon South's message of "Mon, 14 Dec 2020 12:58:09 -0500") Message-ID: <87k0tb5d3j.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45240-done Cc: 45240-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Simon, Simon South skribis: > Currently the package for SDCC, a C compiler suite for 8-bit microcontrol= lers, > builds and installs its own copy of =CE=BCCsim, a collection of microcont= roller > simulators. > > This patch series adds a separate package for =CE=BCCsim and removes the = bundled > copy from SDCC. > > Note that despite the name, "0.6-pre67" does appear to be the latest stab= le > version; the last "formal" release, 0.5.3, was made in 2004, and 0.6 has > apparently been in a pre-release state for four years now (see > http://mazsola.iit.uni-miskolc.hu/ucsim/download/unix/). [...] > gnu: Add =CE=BCCsim. > gnu: sdcc: Remove bundled =CE=BCCsim. Great, I applied both, thanks! Ludo=E2=80=99. From unknown Tue Jun 17 01:37:45 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 19 Jan 2021 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator