GNU bug report logs -
#39410
[PATCH] gnu: netsurf: Fix entity parsing.
Previous Next
Reported by: Eric Bavier <bavier <at> member.fsf.org>
Date: Tue, 4 Feb 2020 05:05:02 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
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 39410 in the body.
You can then email your comments to 39410 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#39410
; Package
guix-patches
.
(Tue, 04 Feb 2020 05:05:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Eric Bavier <bavier <at> member.fsf.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 04 Feb 2020 05:05:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Eric Bavier <bavier <at> posteo.net>
From: Eric Bavier <bavier <at> member.fsf.org>
Follow-up to commit 31afa654c58cd7aa8bd11a771fa6eabcd766d443.
* gnu/packages/web.scm (netsurf)[arguments]: In 'adjust-welcome' phase, ensure
html entities are parsed and find their way back to the output.
---
gnu/packages/web.scm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index f6ae958ae3..60fd5cfd0f 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado <at> elephly.net>
;;; Copyright © 2018 Raoul Jean Pierre Bonnal <ilpuccio.febo <at> gmail.com>
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli <at> gmail.com>
-;;; Copyright © 2015, 2016, 2017, 2018, 2019 Eric Bavier <bavier <at> member.fsf.org>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Eric Bavier <bavier <at> posteo.net>
;;; Copyright © 2015 Eric Dvorsak <eric <at> dvorsak.fr>
;;; Copyright © 2016 Sou Bunnbu <iyzsong <at> gmail.com>
;;; Copyright © 2016 Jelle Licht <jlicht <at> fsfe.org>
@@ -5075,12 +5075,19 @@ w3c webidl files and a binding configuration file.")
;; Leave the DOCTYPE header as is.
(display (read-line in 'concat) out)
(sxml->xml
- (let rec ((sxml (xml->sxml in)))
+ (let rec ((sxml (xml->sxml in
+ #:default-entity-handler
+ (lambda (port name)
+ (string-append "<ENTITY>"
+ (symbol->string name)
+ "</ENTITY>")))))
;; We'd like to use sxml-match here, but it can't
;; match against generic tag symbols...
(match sxml
(`(div (@ (class "links")) . ,rest)
'())
+ (`(ENTITY ,ent)
+ `(*ENTITY* ,ent))
((x ...)
(map rec x))
(x x)))
--
2.25.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#39410
; Package
guix-patches
.
(Tue, 04 Feb 2020 11:04:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 39410 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I assume this fixes building netsurf on master. Any idea why netsurf
builds on core-updates without this patch?
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
You have taken responsibility.
(Tue, 04 Feb 2020 12:27:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Eric Bavier <bavier <at> member.fsf.org>
:
bug acknowledged by developer.
(Tue, 04 Feb 2020 12:27:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 39410-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Tue, Feb 04, 2020 at 01:02:28PM +0200, Efraim Flashner wrote:
> I assume this fixes building netsurf on master. Any idea why netsurf
> builds on core-updates without this patch?
I take it back, with the recent merging of master into core-updates
netsurf failed to build for me.
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 04 Mar 2020 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 109 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.