Update to yelp-xsl-3.16.1.

This commit is contained in:
ajacoutot 2015-04-14 06:06:01 +00:00
parent a68d50ef9d
commit c535575c15
3 changed files with 4 additions and 22 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.23 2015/03/29 09:07:40 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.24 2015/04/14 06:06:01 ajacoutot Exp $
PKG_ARCH= *
COMMENT= XSLT stylesheets for yelp
GNOME_PROJECT= yelp-xsl
GNOME_VERSION= 3.16.0
GNOME_VERSION= 3.16.1
# GPLv2 - LGPLv2.1 - MIT
PERMIT_PACKAGE_CDROM= Yes

View File

@ -1,2 +1,2 @@
SHA256 (gnome/yelp-xsl-3.16.0.tar.xz) = frJ6KQaG9mC5RGBLOJ4sUzrTp7gm3xFAoS8UaMOutlk=
SIZE (gnome/yelp-xsl-3.16.0.tar.xz) = 564808
SHA256 (gnome/yelp-xsl-3.16.1.tar.xz) = MpXuzEsD0qI596G99KExHTTEbDBV5lNcH3K7Wkm0F0o=
SIZE (gnome/yelp-xsl-3.16.1.tar.xz) = 564944

View File

@ -1,18 +0,0 @@
$OpenBSD: patch-xslt_common_html_xsl,v 1.1 2015/03/29 09:08:05 ajacoutot Exp $
From d05795d79b8ab3de873623e5c130fc0ee95e6d82 Mon Sep 17 00:00:00 2001
From: Shaun McCance <shaunm@gnome.org>
Date: Fri, 20 Mar 2015 17:46:11 -0400
Subject: html.xsl: Make sure TTML spans are displayed inline, #746550
--- xslt/common/html.xsl.orig Mon Mar 16 23:07:13 2015
+++ xslt/common/html.xsl Sun Mar 29 11:06:29 2015
@@ -2051,7 +2051,7 @@ function yelp_init_video (element) {
if (element.currentTime >= parseFloat(ttml.getAttribute('data-ttml-begin')) &&
(!ttml.hasAttribute('data-ttml-end') ||
element.currentTime < parseFloat(ttml.getAttribute('data-ttml-end')) )) {
- if (ttml.tagName == 'span')
+ if (ttml.tagName == 'span' || ttml.tagName == 'SPAN')
ttml.style.display = 'inline';
else
ttml.style.display = 'block';