GNU bug report logs - #40026
Add "xa" assembler

Previous Next

Package: guix-patches;

Reported by: Christopher Lemmer Webber <cwebber <at> dustycloud.org>

Date: Wed, 11 Mar 2020 16:12:01 UTC

Severity: normal

Done: Christopher Lemmer Webber <cwebber <at> dustycloud.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40026 in the body.
You can then email your comments to 40026 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#40026; Package guix-patches. (Wed, 11 Mar 2020 16:12:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Lemmer Webber <cwebber <at> dustycloud.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 11 Mar 2020 16:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: guix-patches <at> gnu.org
Subject: Add "xa" assembler
Date: Wed, 11 Mar 2020 12:11:35 -0400
[Message part 1 (text/plain, inline)]
Hello!  New patch, new patch.  It's been a while for me.

This is for the 6502 "xa" assembler.  It's necessary for use with the
"vice" emulator, which I've been also trying to package, but is also
useful standalone.

[0001-gnu-Add-xa.patch (text/x-patch, inline)]
From f9a241faa405bb695b4e13175722014f8a291410 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Wed, 11 Mar 2020 11:14:59 -0400
Subject: [PATCH] gnu: Add xa.

* gnu/packages/assembly.scm (xa): New variable.
---
 gnu/packages/assembly.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm
index 1ad49baf8e..ec1ed50b2d 100644
--- a/gnu/packages/assembly.scm
+++ b/gnu/packages/assembly.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2019 Guy Fleury Iteriteka <hoonandon <at> gmail.com>
 ;;; Copyright © 2019 Andy Tai <atai <at> atai.org>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba <at> kadziolka.net>
+;;; Copyright © 2020 Christopher Lemmer Webber <cwebber <at> dustycloud.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -342,3 +343,32 @@ Supported architectures are:
 @item spc700
 @end itemize")
     (license license:gpl2)))
+
+(define-public xa
+  (package
+    (name "xa")
+    (version "2.3.10")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://www.floodgap.com/retrotech/xa"
+                                  "/dists/xa-" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0y5sd247g11jfk5msxy91hz2nhpy7smj125dzfyfhjsjnqk5nyw6"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f   ; TODO: custom test harness, not sure how it works
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))            ; no "configure" script
+       #:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))))
+    (native-inputs `(("perl" ,perl)))
+    (home-page "https://www.floodgap.com/retrotech/xa/")
+    (synopsis "High-speed, two-pass portable cross-assembler")
+    (description
+     "xa is a high-speed, two-pass portable cross-assembler.
+It understands mnemonics and generates code for NMOS 6502s (such
+as 6502A, 6504, 6507, 6510, 7501, 8500, 8501, 8502 ...),
+ CMOS 6502s (65C02 and Rockwell R65C02) and the 65816.")
+    (license license:gpl2)))
-- 
2.25.1


Information forwarded to guix-patches <at> gnu.org:
bug#40026; Package guix-patches. (Wed, 11 Mar 2020 18:43:02 GMT) Full text and rfc822 format available.

Message #8 received at 40026 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Cc: 40026 <at> debbugs.gnu.org
Subject: Re: [bug#40026] Add "xa" assembler
Date: Wed, 11 Mar 2020 14:42:40 -0400
On Wed, Mar 11, 2020 at 12:11:35PM -0400, Christopher Lemmer Webber wrote:
> Hello!  New patch, new patch.  It's been a while for me.

Good to see you around again!

> This is for the 6502 "xa" assembler.  It's necessary for use with the
> "vice" emulator, which I've been also trying to package, but is also
> useful standalone.

Cool!
> +              (uri (string-append "https://www.floodgap.com/retrotech/xa"
> +                                  "/dists/xa-" version ".tar.gz"))
> +              (file-name (string-append name "-" version ".tar.gz"))

I don't think this file-name procedure is necessary. The tarball should
be named properly without it, right?

> +    (synopsis "High-speed, two-pass portable cross-assembler")
> +    (description
> +     "xa is a high-speed, two-pass portable cross-assembler.

We can omit "high-speed" here; it's basically "marketing language" which
is discouraged in our packaging guidelines.

Otherwise, please push!




Information forwarded to guix-patches <at> gnu.org:
bug#40026; Package guix-patches. (Wed, 11 Mar 2020 19:14:02 GMT) Full text and rfc822 format available.

Message #11 received at 40026 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: Leo Famulari <leo <at> famulari.name>
Cc: 40026 <at> debbugs.gnu.org
Subject: Re: [bug#40026] Add "xa" assembler
Date: Wed, 11 Mar 2020 15:13:41 -0400
Leo Famulari writes:

> On Wed, Mar 11, 2020 at 12:11:35PM -0400, Christopher Lemmer Webber wrote:
>> Hello!  New patch, new patch.  It's been a while for me.
>
> Good to see you around again!
>
>> This is for the 6502 "xa" assembler.  It's necessary for use with the
>> "vice" emulator, which I've been also trying to package, but is also
>> useful standalone.
>
> Cool!
>> +              (uri (string-append "https://www.floodgap.com/retrotech/xa"
>> +                                  "/dists/xa-" version ".tar.gz"))
>> +              (file-name (string-append name "-" version ".tar.gz"))
>
> I don't think this file-name procedure is necessary. The tarball should
> be named properly without it, right?

Oh you're right.  Can you tell I'm brushing off the rust with some
copy-pasta? :)

>> +    (synopsis "High-speed, two-pass portable cross-assembler")
>> +    (description
>> +     "xa is a high-speed, two-pass portable cross-assembler.
>
> We can omit "high-speed" here; it's basically "marketing language" which
> is discouraged in our packaging guidelines.

Good call.

> Otherwise, please push!

Done!  It's good to be back!




Reply sent to Christopher Lemmer Webber <cwebber <at> dustycloud.org>:
You have taken responsibility. (Wed, 11 Mar 2020 19:44:01 GMT) Full text and rfc822 format available.

Notification sent to Christopher Lemmer Webber <cwebber <at> dustycloud.org>:
bug acknowledged by developer. (Wed, 11 Mar 2020 19:44:01 GMT) Full text and rfc822 format available.

Message #16 received at 40026-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: Leo Famulari <leo <at> famulari.name>
Cc: 40026-done <at> debbugs.gnu.org
Subject: Re: [bug#40026] Add "xa" assembler
Date: Wed, 11 Mar 2020 15:43:54 -0400
Forgot to send to close it out!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 09 Apr 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.