Your message dated Mon, 28 Jan 2019 02:46:06 +0000
with message-id <e1gnww2-000hsm...@fasolo.debian.org>
and subject line Bug#757631: fixed in elinks 0.13~20190125-1
has caused the Debian Bug report #757631,
regarding elinks: HTML5 source element display missing
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
757631: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757631
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: elinks
Version: 0.12~pre6-4
Severity: normal
Tags: patch

Dear Maintainer,

HTML5 has a source element, to provide content for audio and video elements.

Elinks currently ignores it. With my patch though, it looks nice, like this:
<http://daten.dieweltistgarnichtso.net/pics/screenshots/web/elinks-source-element.png>

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.13-1-686-pae (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages elinks depends on:
ii  elinks-data       0.12~pre6-4
ii  libbz2-1.0        1.0.6-5
ii  libc6             2.18-5
ii  libcomerr2        1.42.9-3
ii  libexpat1         2.1.0-4
ii  libfsplib0        0.11-2
ii  libgnutls26       2.12.23-15
ii  libgpm2           1.20.4-6.1
ii  libgssapi-krb5-2  1.12.1+dfsg-1
ii  libidn11          1.28-2
ii  libk5crypto3      1.12.1+dfsg-1
ii  libkrb5-3         1.12.1+dfsg-1
ii  libperl5.18       5.18.2-3
ii  libtre5           0.8.0-4
ii  zlib1g            1:1.2.8.dfsg-1

elinks recommends no packages.

Versions of packages elinks suggests:
pn  elinks-doc  <none>

-- no debconf information
>From 028caca7954e58ea6d15e0f27a6bace73f6f03f0 Mon Sep 17 00:00:00 2001
From: Nils Dagsson Moskopp <n...@dieweltistgarnichtso.net>
Date: Sun, 10 Aug 2014 02:10:16 +0200
Subject: [PATCH] + rendering for html source element

---
 src/document/html/parser/link.c  | 31 +++++++++++++++++++++++++++++++
 src/document/html/parser/link.h  |  1 +
 src/document/html/parser/parse.c |  1 +
 3 files changed, 33 insertions(+)

diff --git a/src/document/html/parser/link.c b/src/document/html/parser/link.c
index b1816cd..4ecc426 100644
--- a/src/document/html/parser/link.c
+++ b/src/document/html/parser/link.c
@@ -356,6 +356,37 @@ html_img(struct html_context *html_context, unsigned char *a,
 	html_img_do(a, NULL, html_context);
 }
 
+void
+html_source(struct html_context *html_context, unsigned char *a,
+           unsigned char *xxx3, unsigned char *xxx4, unsigned char **xxx5)
+{
+	unsigned char *src, *title;
+	struct document_options *options = html_context->options;
+	int display_style = options->image_link.display_style;
+
+	src = get_url_val(a, "src", html_context->doc_cp);
+	if (!src) return;
+
+	title = get_attr_val(a, "title", html_context->doc_cp);
+	if (!title || !*title) {
+		if (display_style == 3)
+			title = get_image_filename_from_src(options->image_link.filename_maxlen, src);
+	}
+
+	html_focusable(html_context, a);
+
+	if (title && *title) {
+		put_link_line("Source: ", title, src,
+			      html_context->options->framename, html_context);
+	} else {
+		put_link_line("", "Source", src,
+			      html_context->options->framename, html_context);
+	}
+
+	mem_free_if(title);
+	mem_free(src);
+}
+
 /* prefix can have entities in it, but linkname cannot.  */
 void
 put_link_line(unsigned char *prefix, unsigned char *linkname,
diff --git a/src/document/html/parser/link.h b/src/document/html/parser/link.h
index 5b4d720..4f9990c 100644
--- a/src/document/html/parser/link.h
+++ b/src/document/html/parser/link.h
@@ -14,6 +14,7 @@ element_handler_T html_iframe;
 element_handler_T html_img;
 element_handler_T html_link;
 element_handler_T html_object;
+element_handler_T html_source;
 element_handler_T html_embed;
 
 #endif
diff --git a/src/document/html/parser/parse.c b/src/document/html/parser/parse.c
index 87d3b59..d461f4c 100644
--- a/src/document/html/parser/parse.c
+++ b/src/document/html/parser/parse.c
@@ -479,6 +479,7 @@ static struct element_info elements[] = {
  {"S",           html_underline,   NULL,                 0, ET_NESTABLE    },
  {"SCRIPT",      html_script,      NULL,                 0, ET_NESTABLE    },
  {"SELECT",      html_select,      NULL,                 0, ET_NESTABLE    },
+ {"SOURCE",      html_source,      NULL,                 1, ET_NON_PAIRABLE},
  {"SPAN",        html_span,        NULL,                 0, ET_NESTABLE    },
  {"STRIKE",      html_underline,   NULL,                 0, ET_NESTABLE    },
  {"STRONG",      html_bold,        NULL,                 0, ET_NESTABLE    },
-- 
2.0.0.rc2


--- End Message ---
--- Begin Message ---
Source: elinks
Source-Version: 0.13~20190125-1

We believe that the bug you reported is fixed in the latest version of
elinks, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 757...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmo...@users.sourceforge.net> (supplier 
of updated elinks package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 26 Jan 2019 02:53:52 +0100
Source: elinks
Architecture: source
Version: 0.13~20190125-1
Distribution: experimental
Urgency: medium
Maintainer: أحمد المحمودي (Ahmed El-Mahmoudy) 
<aelmahmo...@users.sourceforge.net>
Changed-By: أحمد المحمودي (Ahmed El-Mahmoudy) 
<aelmahmo...@users.sourceforge.net>
Closes: 740981 757631 797931 797934 797968 856852 866015 891575 917406
Changes:
 elinks (0.13~20190125-1) experimental; urgency=medium
 .
   * New upstream release (Closes: #891575, #797931, #797934, #757631,
     #866015, #797968, #740981, #856852)
   * Add git-buildpackage conf file
   * Refreshed patches & removed patches that were includes upstream.
     Removed patches:
     08-drop-deprecated-gnutls-functions.diff
     08_524696_fix_imdb_urls.diff
     09-Switch-to-use-lua-5.1.diff
     11-fix-compat-with-gnutls36.patch
   * Add libgcrypt20-dev to build deps
   * Re-added 14_debug_disable_Werror.diff to enable development versions debug
     support
   * Added 16_POST_BUFFER_SIZE.diff patch which to enable  uploading large files
     over https:// connections.
   * Add ascii-replacement-utf8-console.diff patch to print ASCII replacement
     for characters not found in current codepage in utf8 mode
   * Enable LZMA support
   * Enable BitTorrent
   * Enable NNTP Support
   * Enable Unicode combining characters support
   * Enable EX mode support
   * Enable SpiderMonkey support
   * Enable terminfo support
   * Build documentation
   * Build with libev
   * Bumped to compat level 12.
     No need to have dh-autoreconf, autotools-dev from build deps
     Also no need to explicitly call the respective sequences in rules
   * Remove old upstream gpg key.
   * Remove whitespaces
   * Renamed elinks.config to elinks.conf, old name confused build scrips
   * debian/rules: Override dh_installexamples to exclude .gitignore
   * Add typos.diff patch to fix spelling mistakes
   * debian/control:
     + Replace Conflicts with Breaks+Replaces
     + Update standards version to 4.3.0
     + New maintainer (Closes: #917406)
     + Add Vcs-* fields
   * Add upstream metadata
   * Switch to DEP-5 copyright format
   * Disable pristine-tar, since we are getting the release from upstream git
Checksums-Sha1:
 31dfa7b9392b6a51c14f3aac843f424faaa1818a 2340 elinks_0.13~20190125-1.dsc
 8ce05dc4aa86056e00ad4b4c8900b88966e02b82 1768440 
elinks_0.13~20190125.orig.tar.xz
 9e424e8b0e8954ef768fe4025f62e2e09375e0e3 23044 
elinks_0.13~20190125-1.debian.tar.xz
 9216b6f327a31103886df8add7071e19fc1c3727 6496 
elinks_0.13~20190125-1_source.buildinfo
Checksums-Sha256:
 fedc16fc62d261f0767562a4a48045e684015ea82053956c2df6b86d919bf8ac 2340 
elinks_0.13~20190125-1.dsc
 18d7f5bc46664d8cc131f2c57545d2668277515eb6ccc677d3580e1fcd18efa9 1768440 
elinks_0.13~20190125.orig.tar.xz
 b6557d39590e655a6772f9704044fbcacd46e79f7b4b8602885485b9832204b7 23044 
elinks_0.13~20190125-1.debian.tar.xz
 168389fb21ee74f5872c298a494fb9e8e899f77327f959220b8e20b8a69de1b9 6496 
elinks_0.13~20190125-1_source.buildinfo
Files:
 6c073d9ee5ffa3667be446c442654fe3 2340 web optional elinks_0.13~20190125-1.dsc
 17fe61c09312028d4153f2d064255656 1768440 web optional 
elinks_0.13~20190125.orig.tar.xz
 dd55b06d6d08f901c9e36d6a697d20be 23044 web optional 
elinks_0.13~20190125-1.debian.tar.xz
 5618eb5250d0e2e30aabffca9918e814 6496 web optional 
elinks_0.13~20190125-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAlxOY0AACgkQweDZLphv
fH7PiRAAypYyTRqhAmfXYLzg+4H2Vl0s65LNHBWRgpQA8Z8Al24hDyr7mXpX35y2
4MOSCEaJhRKew1KG3pro+Hm2MdmBVvQkhhtKexltTbtvN9vcCbgMGdEPgZzi5GEc
n0MzUCQ2W3cOsL4dAe1gVk10jRbUu8AtVUvXof2d620LRtktq9D+auwh6bYL5tCn
UkHN5jSQwLyq96r4JBS+D41H4iimOazbQ1MMKMLAaE7TUtWE0W7Z+bDt8+207QiC
33oYbjLZ8tqixVbbTz3X4uKMD/Dq4ZkNdzAigmseHWFL5F6dwM4cPWTQoXEs/2rp
r+ShyQKuPMLImd7WJM0G7UGkZGBV6aMh7/CQs2CxEexGyZc0StQnsq4BNy8TcBlT
KVPZoa4MIMyUotm7Pvq/bXzlnksnysWeIcLdpO0hAw1ruenGVZHYZkt2tLXTxZ0D
jBhHkLEeH45ufexT/AS3Wt1VBHi44mxNQU5Frpngrzlm3i4LmD7l+3VfSCQeN5mh
vlMOqnhgPGHQHcns06fBYRIs1caabOa22LZMY0rZtu28rAQSBoH5uKCHseJuKnxR
TzpMkJrXEGix7aO5qeJd60jExZeFO7JO+Bd1DBKin1lu1+Oss9MXkkFGDPB8u5/e
fZWFJa+5qeNWmVa+r6+LmEA1osUryyJCF3sgwv5f19iaQo7KlZE=
=jmY+
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to