From: ludo@gnu.org (Ludovic Courtès)
To: Jan Nieuwenhuizen <janneke@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 1/2] gnu: Add nasm.
Date: Tue, 21 Jun 2016 16:07:58 +0200 [thread overview]
Message-ID: <87y45y8wjl.fsf@gnu.org> (raw)
In-Reply-To: <8737o6bzt7.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 21 Jun 2016 12:29:08 +0200")
[-- Attachment #1: Type: text/plain, Size: 646 bytes --]
ludo@gnu.org (Ludovic Courtès) skribis:
> Jan Nieuwenhuizen <janneke@gnu.org> skribis:
>
>> From bfe40f5a42edf702277a2580336138438cdb8a62 Mon Sep 17 00:00:00 2001
>> From: Jan Nieuwenhuizen <janneke@gnu.org>
>> Date: Sat, 18 Jun 2016 22:39:33 +0200
>> Subject: [PATCH 1/2] gnu: Add nasm.
>>
>> * gnu/packages/nasm.scm: New file.
>> * gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
>
> Applied but to assembly.scm as Alex suggested; I also added a
> ‘supported-systems’ field.
I forgot to mention another thing: nasm is currently not
bit-reproducible, as visible with --rounds=2, due to differences in its
PDF and PS files:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 2508 bytes --]
$ diff -ur /gnu/store/0804r4rcm0gw8kdgf9dy9bhakn1xqdpl-nasm-2.12.01 /gnu/store/0804r4rcm0gw8kdgf9dy9bhakn1xqdpl-nasm-2.12.01-check
Binary files /gnu/store/0804r4rcm0gw8kdgf9dy9bhakn1xqdpl-nasm-2.12.01/doc/nasm/nasmdoc.pdf and /gnu/store/0804r4rcm0gw8kdgf9dy9bhakn1xqdpl-nasm-2.12.01-check/doc/nasm/nasmdoc.pdf differ
diff -ur /gnu/store/0804r4rcm0gw8kdgf9dy9bhakn1xqdpl-nasm-2.12.01/doc/nasm/nasmdoc.ps /gnu/store/0804r4rcm0gw8kdgf9dy9bhakn1xqdpl-nasm-2.12.01-check/doc/nasm/nasmdoc.ps
--- /gnu/store/0804r4rcm0gw8kdgf9dy9bhakn1xqdpl-nasm-2.12.01/doc/nasm/nasmdoc.ps 1970-01-01 01:00:01.000000000 +0100
+++ /gnu/store/0804r4rcm0gw8kdgf9dy9bhakn1xqdpl-nasm-2.12.01-check/doc/nasm/nasmdoc.ps 1970-01-01 01:00:01.000000000 +0100
@@ -3,30 +3,30 @@
%%BoundingBox: 0 0 595 792
%%Creator: (NASM psflow.pl)
%%DocumentData: Clean7Bit
-%%DocumentFonts: Courier-Bold Times-Roman Courier Times-Italic Times-BoldItalic Times-Bold
-%%DocumentNeededFonts: Courier-Bold Times-Roman Courier Times-Italic Times-BoldItalic Times-Bold
+%%DocumentFonts: Courier-Bold Times-Roman Times-BoldItalic Times-Bold Times-Italic Courier
+%%DocumentNeededFonts: Courier-Bold Times-Roman Times-BoldItalic Times-Bold Times-Italic Courier
%%Orientation: Portrait
%%PageOrder: Ascend
%%EndComments
%%BeginProlog
-/bulladj 12 def
-/idxgutter 24 def
-/startcopyright 75 def
-/rmarg 50 def
-/idxcolumns 2 def
-/lmarg 100 def
-/topmarg 100 def
+/botmarg 100 def
/tocpnz 24 def
-/tocdots 8 def
-/prmarg 0 def
+/idxcolumns 2 def
/pagewidth 595 def
+/idxspace 24 def
/plmarg 50 def
+/startcopyright 75 def
+/tocdots 8 def
+/topmarg 100 def
+/lmarg 100 def
+/pageheight 792 def
+/pymarg 50 def
/idxindent 24 def
+/prmarg 0 def
+/rmarg 50 def
+/idxgutter 24 def
+/bulladj 12 def
/tocind 12 def
-/pymarg 50 def
-/pageheight 792 def
-/idxspace 24 def
-/botmarg 100 def
/colorlinks false def
/NASMEncoding [ /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
@@ -70,10 +70,10 @@
} def
/Courier-Bold-NASM /Courier-Bold nasmenc
/Times-Roman-NASM /Times-Roman nasmenc
-/Courier-NASM /Courier nasmenc
-/Times-Italic-NASM /Times-Italic nasmenc
/Times-BoldItalic-NASM /Times-BoldItalic nasmenc
/Times-Bold-NASM /Times-Bold nasmenc
+/Times-Italic-NASM /Times-Italic nasmenc
+/Courier-NASM /Courier nasmenc
/tfont0 /Times-Bold-NASM findfont 20 scalefont def
/tfont1 /Times-BoldItalic-NASM findfont 20 scalefont def
/tfont2 /Courier-Bold-NASM findfont 20 scalefont def
[-- Attachment #3: Type: text/plain, Size: 237 bytes --]
Could you look into it?
I suspect it would be easier to simply remove these two files. Packages
in Guix don’t usually install their PDF/PS documentation, and this one
already installs its doc as HTML.
TIA! :-)
Ludo’.
next prev parent reply other threads:[~2016-06-21 14:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-18 20:46 [PATCH 1/2] gnu: Add nasm Jan Nieuwenhuizen
2016-06-19 15:15 ` Alex Kost
2016-06-20 9:40 ` Andreas Enge
2016-06-20 17:26 ` Jan Nieuwenhuizen
2016-06-21 10:29 ` Ludovic Courtès
2016-06-21 14:07 ` Ludovic Courtès [this message]
2016-06-21 16:56 ` Jan Nieuwenhuizen
2016-06-21 21:30 ` Ludovic Courtès
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=87y45y8wjl.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=janneke@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.