Hello community, here is the log from the commit of package suse-xsl-stylesheets for openSUSE:Factory checked in at 2020-06-05 19:59:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/suse-xsl-stylesheets (Old) and /work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suse-xsl-stylesheets" Fri Jun 5 19:59:09 2020 rev:48 rq:809647 version:2.0.17 Changes: -------- --- /work/SRC/openSUSE:Factory/suse-xsl-stylesheets/suse-xsl-stylesheets.changes 2020-05-16 22:25:12.217133889 +0200 +++ /work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.3606/suse-xsl-stylesheets.changes 2020-06-05 19:59:15.975741946 +0200 @@ -1,0 +2,15 @@ +Wed May 20 16:18:06 UTC 2020 - Stefan Knorr <skn...@suse.com> + +- Stable release of the SUSE XSL stylesheets 2.0.17: + https://github.com/openSUSE/suse-xsl/releases/tag/2.0.17 + +- HTML: + - Fix recursion issue that broke builds of certain long + documents because we evaluated far too much content for + teaser texts + - Get fonts CSS via HTTPS by default + +- Other: + - Fix release version insertion in Makefile + +------------------------------------------------------------------- Old: ---- suse-xsl-2.0.16.tar.bz2 New: ---- suse-xsl-2.0.17.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suse-xsl-stylesheets.spec ++++++ --- /var/tmp/diff_new_pack.pmRcf1/_old 2020-06-05 19:59:16.731744561 +0200 +++ /var/tmp/diff_new_pack.pmRcf1/_new 2020-06-05 19:59:16.735744574 +0200 @@ -17,7 +17,7 @@ Name: suse-xsl-stylesheets -Version: 2.0.16 +Version: 2.0.17 Release: 0 %define reponame suse-xsl @@ -112,7 +112,8 @@ make install DESTDIR=%{buildroot} LIBDIR=%{_libdir} # create symlinks: -%fdupes -s %{buildroot}/%{_datadir} +# (intentionally no slash between the variables -- %{_datadir} has a leading slash already.) +%fdupes -s %{buildroot}%{_datadir} %post ++++++ _service ++++++ --- /var/tmp/diff_new_pack.pmRcf1/_old 2020-06-05 19:59:16.763744671 +0200 +++ /var/tmp/diff_new_pack.pmRcf1/_new 2020-06-05 19:59:16.767744685 +0200 @@ -4,7 +4,7 @@ <param name="versionformat">@PARENT_TAG@</param> <param name="url">g...@github.com:openSUSE/suse-xsl.git</param> <param name="scm">git</param> - <param name="revision">2.0.16</param> + <param name="revision">2.0.17</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> ++++++ suse-xsl-2.0.16.tar.bz2 -> suse-xsl-2.0.17.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.0.16/.versionrc new/suse-xsl-2.0.17/.versionrc --- old/suse-xsl-2.0.16/.versionrc 2020-05-14 22:32:09.000000000 +0200 +++ new/suse-xsl-2.0.17/.versionrc 2020-05-20 18:12:45.000000000 +0200 @@ -1,4 +1,4 @@ -version: 2.0.16 +version: 2.0.17 files: Makefile README.adoc changesfile: ChangeLog format: (0|[1-9][0-9]*)\.(0|[1-9][0-9]{0,1})\.(0|[1-9][0-9]{0,1}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.0.16/ChangeLog new/suse-xsl-2.0.17/ChangeLog --- old/suse-xsl-2.0.16/ChangeLog 2020-05-14 22:32:09.000000000 +0200 +++ new/suse-xsl-2.0.17/ChangeLog 2020-05-20 18:12:45.000000000 +0200 @@ -1,4 +1,20 @@ ------------------------------------------------------------------- +Thu May 20 13:37:00 UTC 2020 - skn...@suse.com + +Stable release of the SUSE XSL stylesheets 2.0.17: + +https://github.com/openSUSE/suse-xsl/releases/tag/2.0.17 + +- HTML: + - Fix recursion issue that broke builds of certain long + documents because we evaluated far too much content for + teaser texts + - Get fonts CSS via HTTPS by default + +- Other: + - Fix release version insertion in Makefile + +------------------------------------------------------------------- Thu May 14 13:37:00 UTC 2020 - skn...@suse.com Stable release of the SUSE XSL stylesheets 2.0.16: @@ -28,7 +44,7 @@ - Open clicked images in new tab/window by default - Stop adding "Abstract" titles over abstracts -PDF: +- PDF: - Fix layout regressions that occurred after libxml bug fixes: admon titles, book titles, imprint text (#369) - Change imprint address to SUSE LLC Provo diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.0.16/Makefile new/suse-xsl-2.0.17/Makefile --- old/suse-xsl-2.0.16/Makefile 2020-05-14 22:32:09.000000000 +0200 +++ new/suse-xsl-2.0.17/Makefile 2020-05-20 18:12:45.000000000 +0200 @@ -11,7 +11,7 @@ SHELL := /bin/bash PACKAGE := suse-xsl-stylesheets -VERSION := 2.0.16 +VERSION := 2.0.17 CDIR := $(shell pwd) SUSE_XML_PATH := $(PREFIX)/xml/suse DB_XML_PATH := $(PREFIX)/xml/docbook @@ -99,7 +99,9 @@ tar c --mode=u+w,go+r-w,a-s -C $(DIR2013_SUSE) . | (cd $(SUSESTYLEDIR2013); tar xp) tar c --mode=u+w,go+r-w,a-s -C $(DEV_DIR2013_SUSE) . | (cd $(SUSESTYLEDIR2013-NS); tar xp) for SDIR in $(INST_STYLEDIRS); do \ - sed -i "s/@@#version@@/$(VERSION)/" $$SDIR/VERSION.xsl; \ + sed "s/@@#version@@/$(VERSION)/" $$SDIR/VERSION.xsl > $$SDIR/VERSION.xsl.0; \ + mv $$SDIR/VERSION.xsl.0 $$SDIR/VERSION.xsl; \ + cp $$SDIR/VERSION.xsl $$SDIR/VERSION; \ done #----------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.0.16/README.adoc new/suse-xsl-2.0.17/README.adoc --- old/suse-xsl-2.0.16/README.adoc 2020-05-14 22:32:09.000000000 +0200 +++ new/suse-xsl-2.0.17/README.adoc 2020-05-20 18:12:45.000000000 +0200 @@ -1,4 +1,4 @@ -SUSE XSL Stylesheets 2.0.16 +SUSE XSL Stylesheets 2.0.17 ============================ :numbered: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.0.16/suse2013/xhtml/docbook.xsl new/suse-xsl-2.0.17/suse2013/xhtml/docbook.xsl --- old/suse-xsl-2.0.16/suse2013/xhtml/docbook.xsl 2020-05-14 22:32:09.000000000 +0200 +++ new/suse-xsl-2.0.17/suse2013/xhtml/docbook.xsl 2020-05-20 18:12:45.000000000 +0200 @@ -175,10 +175,9 @@ |partinfo |info |docinfo)[1]"/> - <xsl:variable name="first-para" select="(descendant::para|descendant::simpara)[1]"/> <xsl:choose> - <xsl:when test="$info and $info/abstract"> - <xsl:for-each select="$info/abstract[1]/*"> + <xsl:when test="$info and ($info/abstract or $info/highlights)"> + <xsl:for-each select="($info/abstract[1]/*|$info/highlights[1]/*)[1]"> <xsl:value-of select="normalize-space(.)"/> <xsl:if test="position() < last()"> <xsl:text> </xsl:text> @@ -188,7 +187,22 @@ <xsl:otherwise> <!-- Except for the lack of markup here, this code is very similar to that in autotoc.xsl. Unify later if possible. --> <xsl:variable name="teaser"> - <xsl:apply-templates/> + <xsl:choose> + <!-- For single-html books/articles, it is important that we skip + the legalnotice. "© SUSE 20XX" is not a good page description + usually. --> + <xsl:when test="self::book"> + <xsl:apply-templates select="(*[self::preface or self::chapter or self::sect1 or self::section]/para | + *[self::preface or self::chapter or self::sect1 or self::section]/simpara)[1]"/> + </xsl:when> + <xsl:when test="self::article"> + <xsl:apply-templates select="(*[self::sect1 or self::section]/para | + *[self::sect1 or self::section]/simpara)[1]"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="(descendant::para | descendant::simpara)[1]"/> + </xsl:otherwise> + </xsl:choose> </xsl:variable> <xsl:variable name="teaser-safe"> <xsl:call-template name="string-replace"> @@ -207,7 +221,7 @@ <xsl:value-of select="'…'"/> </xsl:when> <xsl:otherwise> - <xsl:value-of select="$teaser-safe"/> + <xsl:value-of select="normalize-space($teaser-safe)"/> </xsl:otherwise> </xsl:choose> </xsl:otherwise> @@ -760,21 +774,17 @@ <script type="text/javascript"> <xsl:text disable-output-escaping="yes"> <![CDATA[ -var protocol = window.location.protocol.toLowerCase(); -if ( protocol != 'file:' ) { - var agent = navigator.userAgent.toLowerCase(); - var wanted = ( protocol == 'https:') ? 'https' : 'http'; - var file = 'fonts.css'; - document.write('<link rel="stylesheet" type="text/css" href="' + wanted + '://static.opensuse.org/fonts/'+ file +'"></link>'); +if ( window.location.protocol.toLowerCase() != 'file:' ) { + document.write('<link rel="stylesheet" type="text/css" href="https://static.opensuse.org/fonts/fonts.css"></link>'); } else { - document.write('<link rel="stylesheet" type="text/css" href="static/css/fonts-onlylocal.css"></link>'); + document.write('<link rel="stylesheet" type="text/css" href="static/css/fonts-onlylocal.css"></link>'); } ]]> </xsl:text> </script> <noscript> - <link rel="stylesheet" type="text/css" href="http://static.opensuse.org/fonts/fonts.css"></link> + <link rel="stylesheet" type="text/css" href="https://static.opensuse.org/fonts/fonts.css"></link> </noscript> </xsl:if> <xsl:if test="$daps.header.js.library != ''">