Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package suse-xsl-stylesheets for 
openSUSE:Factory checked in at 2026-10-14 18:33:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suse-xsl-stylesheets (Old)
 and      /work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "suse-xsl-stylesheets"

Wed Oct 14 18:33:27 2026 rev:116 rq:1384518 version:2.96.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/suse-xsl-stylesheets/suse-xsl-stylesheets.changes    
    2026-09-28 10:35:39.050805369 +0200
+++ 
/work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.3698736/suse-xsl-stylesheets.changes
   2026-10-14 18:33:49.325575776 +0200
@@ -1,0 +2,11 @@
+Tue Oct 13 07:35:07 UTC 2026 - Thomas Schraitle <[email protected]> - 
2.96.0
+
+- Update to 2.96.0
+  * Raise SUSE header 1.16 -> 1.19 in #822
+  * Introduce new SUSE header variable handling in #823
+  * HTML: Fix release notes breadcrumb link in ui-modifiers.js by @KucharczykL 
in #824
+  * Tests: Make jing stack size increase effective by @KucharczykL in #825
+  * Adding scroll-padding to html in #826
+  * Add canonical-langs alternate links in #828
+
+-------------------------------------------------------------------

Old:
----
  suse-xsl-2.95.41.tar.bz2

New:
----
  suse-xsl-2.96.0.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ suse-xsl-stylesheets.spec ++++++
--- /var/tmp/diff_new_pack.XasyLb/_old  2026-10-14 18:33:50.501625576 +0200
+++ /var/tmp/diff_new_pack.XasyLb/_new  2026-10-14 18:33:50.503625660 +0200
@@ -22,7 +22,7 @@
 %define suse_styles_dir   %{db_xml_dir}/stylesheet
 #
 Name:           suse-xsl-stylesheets
-Version:        2.95.41
+Version:        2.96.0
 Release:        0
 Summary:        SUSE-Branded Stylesheets for DocBook
 License:        GPL-2.0-only OR GPL-3.0-only

++++++ _service ++++++
--- /var/tmp/diff_new_pack.XasyLb/_old  2026-10-14 18:33:50.541627269 +0200
+++ /var/tmp/diff_new_pack.XasyLb/_new  2026-10-14 18:33:50.549627608 +0200
@@ -1,11 +1,11 @@
 <!-- osc service runall -->
 <services>
   <service name="tar_scm" mode="disabled">
-    <param name="versionformat">2.95.41</param>
+    <param name="versionformat">2.96.0</param>
     <param name="versionprefix"></param>
     <param name="url">https://github.com/openSUSE/suse-xsl.git</param>
     <param name="scm">git</param>
-    <param name="revision">2.95.41</param>
+    <param name="revision">2.96.0</param>
   </service>
   <service name="recompress" mode="disabled">
     <param name="file">*.tar</param>

++++++ suse-xsl-2.95.41.tar.bz2 -> suse-xsl-2.96.0.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/suse-xsl-2.95.41/.versionrc 
new/suse-xsl-2.96.0/.versionrc
--- old/suse-xsl-2.95.41/.versionrc     2026-09-23 10:30:27.000000000 +0200
+++ new/suse-xsl-2.96.0/.versionrc      2026-10-13 09:30:42.000000000 +0200
@@ -1,4 +1,4 @@
-version: 2.95.41
+version: 2.96.0
 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.95.41/ChangeLog 
new/suse-xsl-2.96.0/ChangeLog
--- old/suse-xsl-2.95.41/ChangeLog      2026-09-23 10:30:27.000000000 +0200
+++ new/suse-xsl-2.96.0/ChangeLog       2026-10-13 09:30:42.000000000 +0200
@@ -1,13 +1,26 @@
 -------------------------------------------------------------------
+Tue Oct 13 07:27:54 UTC 2026 - [email protected]
+
+Update to 2.96.0
+* Raise SUSE header 1.16 -> 1.19 (#822)
+* Introduce new SUSE header variable handling (#823)
+* HTML: Fix release notes breadcrumb links (#824)
+* Tests: Make jing stack size increase effective (#825)
+* Adding scroll-padding to html (#826)
+* Add canonical-langs alternate links (#828)
+
+-------------------------------------------------------------------
 Wed Sep 23 08:30:19 UTC 2026 - [email protected]
 
-Update to 2.39.41
-* HTML: Update shared-header (#820)
+Update to 2.95.41
+* HTML: Update shared-header in #820
+* Improve formatting of JSON-LD in #803
+* HTML: Check generate.revhistory for d:revhistory in #817
 
 -------------------------------------------------------------------
 Wed Jul 22 08:23:03 UTC 2026 - [email protected]
 
-Update to 2.39.40
+Update to 2.95.40
 * HTML: Check generate.revhistory for d:revhistory (#817)
 * Improve formatting of JSON-LD (#803)
 -------------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/suse-xsl-2.95.41/Makefile 
new/suse-xsl-2.96.0/Makefile
--- old/suse-xsl-2.95.41/Makefile       2026-09-23 10:30:27.000000000 +0200
+++ new/suse-xsl-2.96.0/Makefile        2026-10-13 09:30:42.000000000 +0200
@@ -11,7 +11,7 @@
 
 SHELL         := /bin/bash
 PACKAGE       := suse-xsl-stylesheets
-VERSION       := 2.95.41
+VERSION       := 2.96.0
 CDIR          := $(shell pwd)
 SUSE_XML_PATH := $(PREFIX)/xml/suse
 DB_XML_PATH   := $(PREFIX)/xml/docbook
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/suse-xsl-2.95.41/source-assets/styles2022/sass/custom/major-elements-new.sass
 
new/suse-xsl-2.96.0/source-assets/styles2022/sass/custom/major-elements-new.sass
--- 
old/suse-xsl-2.95.41/source-assets/styles2022/sass/custom/major-elements-new.sass
   2026-09-23 10:30:27.000000000 +0200
+++ 
new/suse-xsl-2.96.0/source-assets/styles2022/sass/custom/major-elements-new.sass
    2026-10-13 09:30:42.000000000 +0200
@@ -5,6 +5,11 @@
   font-size: 18px
   scroll-behavior: smooth
 
+html
+  scroll-padding-top: 122px
+  
+  @media (max-width: 992px)
+    scroll-padding-top: 76px
 
 body
   background-color: $c_white
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/suse-xsl-2.95.41/suse2022-ns/static/css/style-new.css 
new/suse-xsl-2.96.0/suse2022-ns/static/css/style-new.css
--- old/suse-xsl-2.95.41/suse2022-ns/static/css/style-new.css   2026-09-23 
10:30:27.000000000 +0200
+++ new/suse-xsl-2.96.0/suse2022-ns/static/css/style-new.css    2026-10-13 
09:30:42.000000000 +0200
@@ -1287,6 +1287,11 @@
   font-size: 18px;
   scroll-behavior: smooth; }
 
+html {
+  scroll-padding-top: 122px; }
+  @media (max-width: 992px) {
+    html {
+      scroll-padding-top: 76px; } }
 body {
   background-color: white;
   font-family: SUSE, Suse, Roboto, sans-serif;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/suse-xsl-2.95.41/suse2022-ns/static/js/ui-modifiers.js 
new/suse-xsl-2.96.0/suse2022-ns/static/js/ui-modifiers.js
--- old/suse-xsl-2.95.41/suse2022-ns/static/js/ui-modifiers.js  2026-09-23 
10:30:27.000000000 +0200
+++ new/suse-xsl-2.96.0/suse2022-ns/static/js/ui-modifiers.js   2026-10-13 
09:30:42.000000000 +0200
@@ -1,15 +1,14 @@
 const { origin, pathname } = window.location;
 const htmlMatch = pathname.match(/\/(single-html|html)\//);
-const releaseNotesMatch = pathname.match(/\/releasenotes\//);
+const releaseNotesMatch = pathname.match(/^\/releasenotes\//);
 
 let result;
 
-if (htmlMatch) {
+if (releaseNotesMatch) {
+  result = origin + "/?tab=release-notes";
+} else if (htmlMatch) {
   const basePath = pathname.slice(0, htmlMatch.index);
   result = origin + (basePath || "/") + "/";
-} else if (releaseNotesMatch) {
-  const newPath = pathname.replace(/\/releasenotes\//, "/");
-  result = origin + newPath;
 } else {
   result = origin + pathname;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/suse-xsl-2.95.41/suse2022-ns/xhtml/docbook.xsl 
new/suse-xsl-2.96.0/suse2022-ns/xhtml/docbook.xsl
--- old/suse-xsl-2.95.41/suse2022-ns/xhtml/docbook.xsl  2026-09-23 
10:30:27.000000000 +0200
+++ new/suse-xsl-2.96.0/suse2022-ns/xhtml/docbook.xsl   2026-10-13 
09:30:42.000000000 +0200
@@ -389,6 +389,10 @@
     <xsl:with-param name="socialmedia.description" 
select="$socialmedia.description"/>
   </xsl:call-template>
 
+  <xsl:call-template name="canonical-alternate-links">
+    <xsl:with-param name="node" select="$node"/>
+  </xsl:call-template>
+
   <xsl:call-template name="social-media-twitter">
     <xsl:with-param name="socialmedia.title" select="$socialmedia.title"/>
     <xsl:with-param name="socialmedia.description" 
select="$socialmedia.description"/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/suse-xsl-2.95.41/suse2022-ns/xhtml/meta.xsl 
new/suse-xsl-2.96.0/suse2022-ns/xhtml/meta.xsl
--- old/suse-xsl-2.95.41/suse2022-ns/xhtml/meta.xsl     2026-09-23 
10:30:27.000000000 +0200
+++ new/suse-xsl-2.96.0/suse2022-ns/xhtml/meta.xsl      2026-10-13 
09:30:42.000000000 +0200
@@ -89,18 +89,10 @@
     <xsl:param name="socialmedia.title"/>
     <xsl:param name="socialmedia.description"/>
     <xsl:variable name="socialmedia.preview" 
select="concat($canonical-url-base, '/', $socialmedia.preview.default)"/>
-    <xsl:variable name="ischunk">
-      <xsl:call-template name="chunk"/>
-    </xsl:variable>
     <xsl:variable name="filename">
-      <xsl:choose>
-        <xsl:when test="$ischunk = 1">
-          <xsl:apply-templates mode="chunk-filename" select="."/>
-        </xsl:when>
-        <xsl:otherwise>
-          <xsl:value-of select="concat($root.filename,$html.ext)"/>
-        </xsl:otherwise>
-      </xsl:choose>
+      <xsl:call-template name="canonical-filename">
+        <xsl:with-param name="node" select="$node"/>
+      </xsl:call-template>
     </xsl:variable>
     <xsl:variable name="canonical.url" 
select="concat($canonical-url-base,'/',$filename)"/>
     <xsl:variable name="meta.nodes" 
select="$node/d:info/d:meta|$node/ancestor::*/d:info/d:meta"/>
@@ -217,6 +209,88 @@
   </xsl:template>
 
 
+  <xsl:template name="canonical-filename">
+    <xsl:param name="node" select="."/>
+    <xsl:variable name="ischunk">
+      <xsl:call-template name="chunk"/>
+    </xsl:variable>
+    <xsl:choose>
+      <xsl:when test="$ischunk = 1">
+        <xsl:apply-templates mode="chunk-filename" select="$node"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="concat($root.filename,$html.ext)"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template name="canonical-alternate-links">
+    <xsl:param name="node" select="."/>
+    <xsl:variable name="langs" 
select="normalize-space(translate($canonical-langs, ',;', '  '))"/>
+    <xsl:if test="$canonical-url-base != '' and $langs != ''">
+      <xsl:variable name="filename">
+        <xsl:call-template name="canonical-filename">
+          <xsl:with-param name="node" select="$node"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:variable name="base.proto" 
select="substring-before($canonical-url-base, '://')"/>
+      <xsl:variable name="base.noproto" 
select="substring-after($canonical-url-base, '://')"/>
+      <xsl:variable name="base.host">
+        <xsl:choose>
+          <xsl:when test="contains($base.noproto, '/')">
+            <xsl:value-of select="substring-before($base.noproto, '/')"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$base.noproto"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+      <xsl:variable name="base.path" select="substring-after($base.noproto, 
'/')"/>
+
+      <xsl:if test="$base.proto != ''">
+        <link rel="alternate" hreflang="x-default" 
href="{concat($canonical-url-base,'/',$filename)}"/>
+        <xsl:text>&#10;</xsl:text>
+        <xsl:call-template name="canonical-alternate-langs">
+          <xsl:with-param name="list" select="$langs"/>
+          <xsl:with-param name="filename" select="$filename"/>
+          <xsl:with-param name="proto" select="concat($base.proto, '://')"/>
+          <xsl:with-param name="host" select="$base.host"/>
+          <xsl:with-param name="path" select="$base.path"/>
+        </xsl:call-template>
+      </xsl:if>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template name="canonical-alternate-langs">
+    <xsl:param name="list"/>
+    <xsl:param name="filename"/>
+    <xsl:param name="proto"/>
+    <xsl:param name="host"/>
+    <xsl:param name="path"/>
+    <xsl:if test="$list != ''">
+      <xsl:variable name="lang" select="substring-before(concat($list, ' '), ' 
')"/>
+      <xsl:variable name="url">
+        <xsl:value-of select="concat($proto, $host, '/')"/>
+        <xsl:if test="$lang != 'en-us'">
+          <xsl:value-of select="concat($lang, '/')"/>
+        </xsl:if>
+        <xsl:if test="$path != ''">
+          <xsl:value-of select="concat($path, '/')"/>
+        </xsl:if>
+        <xsl:value-of select="$filename"/>
+      </xsl:variable>
+      <link rel="alternate" hreflang="{$lang}" href="{$url}"/>
+      <xsl:text>&#10;</xsl:text>
+      <xsl:call-template name="canonical-alternate-langs">
+        <xsl:with-param name="list" select="substring-after($list, ' ')"/>
+        <xsl:with-param name="filename" select="$filename"/>
+        <xsl:with-param name="proto" select="$proto"/>
+        <xsl:with-param name="host" select="$host"/>
+        <xsl:with-param name="path" select="$path"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:template>
+
   <xsl:template name="social-media-twitter">
     <xsl:param name="node" select="."/>
     <xsl:param name="socialmedia.title"/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/suse-xsl-2.95.41/suse2022-ns/xhtml/param.xsl 
new/suse-xsl-2.96.0/suse2022-ns/xhtml/param.xsl
--- old/suse-xsl-2.95.41/suse2022-ns/xhtml/param.xsl    2026-09-23 
10:30:27.000000000 +0200
+++ new/suse-xsl-2.96.0/suse2022-ns/xhtml/param.xsl     2026-10-13 
09:30:42.000000000 +0200
@@ -43,6 +43,14 @@
             -stringparam="canonical-url-base=https://www.example.com";
     -->
 
+  <!-- Comma, space, or semicolon-separated language codes for
+       <link rel="alternate" hreflang=...> tags. Only effective when
+       canonical-url-base is set. No tags included if unset. -->
+  <xsl:param name="canonical-langs" select="''"/>
+    <!-- Override with:
+            -stringparam="canonical-langs=en-us,de-de,es-es"
+    -->
+
   <!-- Toggle the SUSE footer and SUSE e-mail button. Set to 0 if the
        documentation won't be available at a suse.com address.-->
   <xsl:param name="suse.content" select="1"/>
@@ -471,10 +479,13 @@
   <xsl:param name="show.language-switcher" select="1" />
 
   <!-- The import URL of the SUSE header -->
-  <xsl:param 
name="suse.header.import.url">https://static.scc.suse.com/shared-header/1.16/shared-header.esm.js</xsl:param>
+  <xsl:param 
name="suse.header.baseurl">https://static.scc.suse.com/shared-header/</xsl:param>
+  <xsl:param name="suse.header.version">1.19</xsl:param>
+  <xsl:param name="suse.header.import.url"
+    select="concat($suse.header.baseurl, $suse.header.version, 
'/shared-header.esm.js')" />
+  <xsl:param name="suse.header.assets.url"
+    select="concat($suse.header.baseurl, $suse.header.version, '/assets')" />
 
-  <!-- The assets URL of the SUSE header -->
-  <xsl:param 
name="suse.header.assets.url">https://static.scc.suse.com/shared-header/1.16/assets</xsl:param>
 
   <!-- Should we generate a JSON-LD structure? 0=no, 1=yes -->
   <xsl:param name="generate.json-ld" select="1"/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/suse-xsl-2.95.41/tests/validate-xslt 
new/suse-xsl-2.96.0/tests/validate-xslt
--- old/suse-xsl-2.95.41/tests/validate-xslt    2026-09-23 10:30:27.000000000 
+0200
+++ new/suse-xsl-2.96.0/tests/validate-xslt     2026-10-13 09:30:42.000000000 
+0200
@@ -25,6 +25,12 @@
 # Format string used for Bash's time keyword
 TIMEFORMAT=$'Elapsed time: %3lR'
 
+# Raise the Java stack size for jing. Long attribute values (like SVG paths)
+# overflow the default stack in the regex check of avt.datatype.
+# JDK_JAVA_OPTIONS is read by the java launcher itself, so it works with
+# any jing wrapper script.
+export JDK_JAVA_OPTIONS="${JDK_JAVA_OPTIONS:+$JDK_JAVA_OPTIONS }-Xss4m"
+
 
 function usage {
     cat <<EOF_helptext
@@ -75,7 +81,7 @@
     time {
         for xslt in $XSLTFILES; do
             echo -n "> Validating $xslt..."
-            BASE_FLAGS="-Xss2m" jing -c $RNG $xslt
+            jing -c $RNG $xslt
             r=$?
             [[ $r -eq 0 ]] && echo "ok"
             [[ $r -eq 0 ]] || result=1

Reply via email to