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 2025-09-30 17:34:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suse-xsl-stylesheets (Old)
and /work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.11973 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suse-xsl-stylesheets"
Tue Sep 30 17:34:49 2025 rev:98 rq:1307745 version:2.95.21
Changes:
--------
---
/work/SRC/openSUSE:Factory/suse-xsl-stylesheets/suse-xsl-stylesheets.changes
2025-09-18 21:08:03.976869707 +0200
+++
/work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.11973/suse-xsl-stylesheets.changes
2025-09-30 17:35:13.391189696 +0200
@@ -1,0 +2,22 @@
+Mon Sep 22 10:04:56 UTC 2025 - Thomas Schraitle <[email protected]> -
2.95.21
+
+- Update to 2.95.21
+ * Fix #737: Adjust meta description length in #740
+ * Enable language switcher in #741
+ * Fix language for DC-*all deliverables in #744
+ * Update hide-lang-switcher.js, e98948b
+
+-------------------------------------------------------------------
+Fri Sep 19 14:19:51 UTC 2025 - Thomas Schraitle <[email protected]> -
2.95.20
+
+- Update to 2.95.20
+ * Change head title structure in #736
+ * Raise Cloudfront URLs (shared-header) to 1.5 in #738
+
+-------------------------------------------------------------------
+Wed Sep 17 13:37:46 UTC 2025 - Thomas Schraitle <[email protected]> -
2.95.19
+
+- Update to 2.95.19
+ Hide language switcher in #734
+
+-------------------------------------------------------------------
Old:
----
suse-xsl-2.95.18.tar.bz2
New:
----
suse-xsl-2.95.21.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ suse-xsl-stylesheets.spec ++++++
--- /var/tmp/diff_new_pack.yNm3zB/_old 2025-09-30 17:35:14.631242012 +0200
+++ /var/tmp/diff_new_pack.yNm3zB/_new 2025-09-30 17:35:14.635242180 +0200
@@ -22,7 +22,7 @@
%define suse_styles_dir %{db_xml_dir}/stylesheet
#
Name: suse-xsl-stylesheets
-Version: 2.95.18
+Version: 2.95.21
Release: 0
Summary: SUSE-Branded Stylesheets for DocBook
License: GPL-2.0-only OR GPL-3.0-only
++++++ suse-xsl-2.95.18.tar.bz2 -> suse-xsl-2.95.21.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-2.95.18/ChangeLog
new/suse-xsl-2.95.21/ChangeLog
--- old/suse-xsl-2.95.18/ChangeLog 2025-09-10 08:16:06.000000000 +0200
+++ new/suse-xsl-2.95.21/ChangeLog 2025-09-22 12:01:45.000000000 +0200
@@ -1,4 +1,34 @@
-------------------------------------------------------------------
+Mon Sep 22 10:00:58 UTC 2025 - [email protected]
+
+* Update to 2.95.21
+ - Fix language for DC-*all deliverables (#744)
+ - Enable language switcher (#741)
+ - Fix #737: Adjust meta description length (#740)
+ - Update hide-lang-switcher.js
+-------------------------------------------------------------------
+Mon Sep 22 10:00:07 UTC 2025 - [email protected]
+
+* Update tp 2.95.21
+-------------------------------------------------------------------
+Fri Sep 19 14:15:11 UTC 2025 - [email protected]
+
+Update to 2.95.20
+ - Raise Cloudfront URLs (shared-header) to 1.5 (#738)
+ - Change head title structure (#736)
+-------------------------------------------------------------------
+Wed Sep 17 13:31:17 UTC 2025 - [email protected]
+
+* Update 2.95.19
+ Hide language switcher (#734)
+ - Add `static/js/hide-lang-switcher.js`
+ - Add a `<script></script>` tag before `</head>`
+ - Ensure that there is a space between `<script>` and `</script>`
+ - Remove XSLT parameter `$disable.language.switcher` and replace it
+ with `$show.language-switcher`
+ - Comment `stickies()` call JS function
+
+-------------------------------------------------------------------
Wed Sep 10 06:14:58 UTC 2025 - [email protected]
* Update to 2.95.18
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-2.95.18/Makefile
new/suse-xsl-2.95.21/Makefile
--- old/suse-xsl-2.95.18/Makefile 2025-09-10 08:16:06.000000000 +0200
+++ new/suse-xsl-2.95.21/Makefile 2025-09-22 12:01:45.000000000 +0200
@@ -11,7 +11,7 @@
SHELL := /bin/bash
PACKAGE := suse-xsl-stylesheets
-VERSION := 2.95.18
+VERSION := 2.95.21
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.18/suse2022-ns/static/js/hide-lang-switcher.js
new/suse-xsl-2.95.21/suse2022-ns/static/js/hide-lang-switcher.js
--- old/suse-xsl-2.95.18/suse2022-ns/static/js/hide-lang-switcher.js
1970-01-01 01:00:00.000000000 +0100
+++ new/suse-xsl-2.95.21/suse2022-ns/static/js/hide-lang-switcher.js
2025-09-22 12:01:45.000000000 +0200
@@ -0,0 +1,15 @@
+// Hides the language switcher on the SUSE header
+var interval = setInterval(function () {
+ var sharedHeader = document.querySelector("shared-header");
+ var header = document.querySelector("header");
+
+ if (header) {
+ clearInterval(interval);
+ } else if (sharedHeader) {
+ var dropdown =
document.querySelector('shared-header').shadowRoot.querySelector('suse-pl-dropdown');
+ if (dropdown) {
+ dropdown.style.display = "none";
+ clearInterval(interval);
+ }
+ }
+}, 100);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-2.95.18/suse2022-ns/static/js/script.js
new/suse-xsl-2.95.21/suse2022-ns/static/js/script.js
--- old/suse-xsl-2.95.18/suse2022-ns/static/js/script.js 2025-09-10
08:16:06.000000000 +0200
+++ new/suse-xsl-2.95.21/suse2022-ns/static/js/script.js 2025-09-22
12:01:45.000000000 +0200
@@ -373,8 +373,8 @@
lastScrollPosition = window.scrollY;
- stickies();
- window.addEventListener('scroll', function(){ stickies(); }, false);
+ // stickies();
+ // window.addEventListener('scroll', function(){ stickies(); }, false);
if ( document.getElementById('_share-fb') !== null ) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-2.95.18/suse2022-ns/xhtml/chunk-common.xsl
new/suse-xsl-2.95.21/suse2022-ns/xhtml/chunk-common.xsl
--- old/suse-xsl-2.95.18/suse2022-ns/xhtml/chunk-common.xsl 2025-09-10
08:16:06.000000000 +0200
+++ new/suse-xsl-2.95.21/suse2022-ns/xhtml/chunk-common.xsl 2025-09-22
12:01:45.000000000 +0200
@@ -233,12 +233,18 @@
<xsl:variable name="node" select="(key('id', $rootid) | /*[1])[last()]"/>
<xsl:variable name="candidate.lang">
<xsl:call-template name="l10n.language">
- <xsl:with-param name="target" select="$node"/>
+ <xsl:with-param name="target" select="$lang-scope"/>
</xsl:call-template>
</xsl:variable>
<xsl:call-template name="user.preroot"/>
+ <!--<xsl:message>chunk-element-content-html
+ element=<xsl:value-of select="local-name(.)"/>
+ xml:lang=<xsl:value-of select="$lang-scope/@xml:lang"/>
+ global=<xsl:value-of select="$node/@xml:lang"/>
+ </xsl:message>-->
+
<html lang="{$candidate.lang}" xml:lang="{$candidate.lang}">
<xsl:call-template name="root.attributes" />
<xsl:call-template name="html.head">
@@ -301,7 +307,7 @@
<xsl:call-template name="user.footer.content" />
- <xsl:if test="boolean($show.language-switcher)">
+ <xsl:if test="$show.language-switcher = 1">
<xsl:call-template name="language-switcher" />
</xsl:if>
</body>
@@ -531,6 +537,11 @@
</xsl:if>
<xsl:call-template name="user.head.content"/>
+ <xsl:if test="$show.language-switcher = 0">
+ <script type="text/javascript" src="{$daps.hide.js.languageswitcher}">
+ <xsl:text> </xsl:text>
+ </script>
+ </xsl:if>
</head>
</xsl:template>
</xsl:stylesheet>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-2.95.18/suse2022-ns/xhtml/docbook.xsl
new/suse-xsl-2.95.21/suse2022-ns/xhtml/docbook.xsl
--- old/suse-xsl-2.95.18/suse2022-ns/xhtml/docbook.xsl 2025-09-10
08:16:06.000000000 +0200
+++ new/suse-xsl-2.95.21/suse2022-ns/xhtml/docbook.xsl 2025-09-22
12:01:45.000000000 +0200
@@ -164,17 +164,16 @@
</xsl:param>
<xsl:param name="title">
- <xsl:if test="$product-short != ''">
- <xsl:value-of select="concat($product-short,
- $head.content.title.separator)"/>
+ <xsl:if test="$substructure.title.short != ''">
+ <xsl:value-of select="concat($substructure.title.short,
$head.content.title.separator)"/>
</xsl:if>
<xsl:value-of select="$structure.title"/>
- <xsl:if test="$substructure.title.short != ''">
- <xsl:value-of select="concat($head.content.title.separator,
- $substructure.title.short)"/>
+ <xsl:if test="$product-short != ''">
+ <xsl:value-of select="concat($head.content.title.separator,
$product-short)"/>
</xsl:if>
+
</xsl:param>
<xsl:variable name="meta.description.base">
@@ -652,7 +651,7 @@
and $draft.watermark.image != ''"
>draft </xsl:if><xsl:if test="$node = 'body'"><xsl:if test="$is.chunk
= 0"
>single </xsl:if><xsl:if test="$generate.footer = 0">nofooter </xsl:if
- ><xsl:if test="$disable.language.switcher =
1">disable-language-switcher </xsl:if
+ ><xsl:if test="$show.language-switcher = 0">disable-language-switcher
</xsl:if
><xsl:choose><xsl:when test="$is.chunk = 1">wide </xsl:when
><xsl:otherwise>normal </xsl:otherwise></xsl:choose
>offline js-off</xsl:if></xsl:attribute>
@@ -800,7 +799,10 @@
</xsl:with-param>
</xsl:call-template>
<xsl:text> </xsl:text>
- <script type="text/javascript" src="{$daps.header.js.languageswitcher}" />
+ <!-- <script> needs to be with start- and end-tag -->
+ <script type="text/javascript" src="{$daps.header.js.languageswitcher}">
+ <xsl:text> </xsl:text>
+ </script>
</xsl:template>
<!-- ############################################################## -->
@@ -824,10 +826,11 @@
<xsl:variable name="lang-attr">
<xsl:call-template name="get-lang-for-ssi"/>
</xsl:variable>
+ <xsl:variable name="lang-scope"
select="ancestor-or-self::*[@xml:lang][1]"/>
<xsl:variable name="node" select="(key('id', $rootid) | /*[1])[last()]"/>
<xsl:variable name="candidate.lang">
<xsl:call-template name="l10n.language">
- <xsl:with-param name="target" select="$node"/>
+ <xsl:with-param name="target" select="$lang-scope"/>
</xsl:call-template>
</xsl:variable>
<xsl:call-template name="user.preroot"/>
@@ -849,7 +852,14 @@
<xsl:if test="boolean($include.suse.header)">
<xsl:call-template name="suse-header-header" />
</xsl:if>
+
+ <xsl:if test="$show.language-switcher = 0">
+ <script type="text/javascript"
src="{$daps.hide.js.languageswitcher}">
+ <xsl:text> </xsl:text>
+ </script>
+ </xsl:if>
</head>
+
<body>
<xsl:call-template name="body.attributes"/>
<xsl:call-template name="outerelement.class.attribute"/>
@@ -888,7 +898,7 @@
<xsl:call-template name="user.footer.content"/>
- <xsl:if test="boolean($show.language-switcher)">
+ <xsl:if test="$show.language-switcher = 1">
<xsl:call-template name="language-switcher" />
</xsl:if>
</body>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-2.95.18/suse2022-ns/xhtml/param.xsl
new/suse-xsl-2.95.21/suse2022-ns/xhtml/param.xsl
--- old/suse-xsl-2.95.18/suse2022-ns/xhtml/param.xsl 2025-09-10
08:16:06.000000000 +0200
+++ new/suse-xsl-2.95.21/suse2022-ns/xhtml/param.xsl 2025-09-22
12:01:45.000000000 +0200
@@ -269,6 +269,7 @@
<xsl:param name="daps.header.css.standard">static/css/style.css</xsl:param>
<!-- The language switcher code in the header -->
<xsl:param
name="daps.header.js.languageswitcher">static/js/language-switcher.js</xsl:param>
+ <xsl:param
name="daps.hide.js.languageswitcher">static/js/hide-lang-switcher.js</xsl:param>
<!-- This list is intentionally quite strict (no aliases) to keep our
documents
consistent. -->
@@ -384,8 +385,6 @@
plain HTML -->
<xsl:param name="force.generate.give.feedback" select="0"/>
- <xsl:param name="disable.language.switcher" select="0"/>
-
<!-- Separator between breadcrumbs links: -->
<xsl:param name="daps.breadcrumbs.sep"> / </xsl:param>
@@ -430,7 +429,7 @@
<!-- <meta> description tags used for search results pages, roughly as
recommended by the Contentking -->
<xsl:param name="search.title.length" select="55"/>
- <xsl:param name="search.description.length" select="150"/>
+ <xsl:param name="search.description.length" select="155"/>
<!-- Open Graph (og:)/Twitter Cards tags used for social-media preview -->
<xsl:param name="socialmedia.title.length" select="55"/>
<xsl:param name="socialmedia.description.length" select="60"/>
@@ -466,13 +465,13 @@
<!-- Show language switcher in SUSE Header. Is only effective when
include.suse.header=1
0=no, 1=yes -->
- <xsl:param name="show.language-switcher" select="0" />
+ <xsl:param name="show.language-switcher" select="1" />
<!-- The import URL of the SUSE header -->
- <xsl:param
name="suse.header.import.url">https://d12w0ryu9hjsx8.cloudfront.net/shared-header/1.2/shared-header.esm.js</xsl:param>
+ <xsl:param
name="suse.header.import.url">https://d12w0ryu9hjsx8.cloudfront.net/shared-header/1.5/shared-header.esm.js</xsl:param>
<!-- The assets URL of the SUSE header -->
- <xsl:param
name="suse.header.assets.url">https://d12w0ryu9hjsx8.cloudfront.net/shared-header/1.2/assets</xsl:param>
+ <xsl:param
name="suse.header.assets.url">https://d12w0ryu9hjsx8.cloudfront.net/shared-header/1.5/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.18/suse2022-ns/xhtml/titlepage.xsl
new/suse-xsl-2.95.21/suse2022-ns/xhtml/titlepage.xsl
--- old/suse-xsl-2.95.18/suse2022-ns/xhtml/titlepage.xsl 2025-09-10
08:16:06.000000000 +0200
+++ new/suse-xsl-2.95.21/suse2022-ns/xhtml/titlepage.xsl 2025-09-22
12:01:45.000000000 +0200
@@ -140,19 +140,11 @@
<xsl:with-param name="base.name" select="$file" />
</xsl:call-template>
</xsl:variable>
+ <xsl:variable name="lang-scope"
select="ancestor-or-self::*[@xml:lang][1]"/>
<xsl:variable name="candidate.lang">
- <xsl:choose>
- <xsl:when test="$rootid">
- <xsl:call-template name="l10n.language">
- <xsl:with-param name="target" select="key('id', $rootid)"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="l10n.language">
- <xsl:with-param name="target" select="/*[1]"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
+ <xsl:call-template name="l10n.language">
+ <xsl:with-param name="target" select="$lang-scope"/>
+ </xsl:call-template>
</xsl:variable>
<xsl:variable name="str.title" select="string($title)"/>