Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: [email protected], [email protected]
Control: affects -1 + src:libreoffice
User: [email protected]
Usertags: pu

Hi,

this is a follow-up to #1110707. As said, the change to EUR in Bulgaria
will happen 2026-01-01.

This package does the default switch for the 13.3 point release, which
is due on 2026-01-10.

This also fixes an embarassing typo by me which wasn't found in any
review. Bulgarian Lew is BGN, not BLN

[ Reason ]
Calc should default to the correct currency.

[ Impact ]
Wrong/old currency used (but EUR can be choosen manually)

[ Tests ]
No tests. Verified Calc documents formatted for Bulgaria get € as
default.

[ Risks ]
Trivial.

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
Backport of (my) 
https://git.libreoffice.org/core/+/76b1cb71e7e437d1094fcfd795d145c31c1b2c5e
from upstream + massaging of 
https://git.libreoffice.org/core/+/0ece629aae3ba9f862f919b988d97fa7bf99924f%5E%21
into the original patch.

[ Other info ]
Already uploaded. Fixed in unstable with 4:25.8.4-1

Regards,

Rene
diff -Nru libreoffice-25.2.3/debian/changelog libreoffice-25.2.3/debian/changelog
--- libreoffice-25.2.3/debian/changelog	2025-08-13 22:27:02.000000000 +0200
+++ libreoffice-25.2.3/debian/changelog	2025-11-28 16:24:35.000000000 +0100
@@ -1,3 +1,11 @@
+libreoffice (4:25.2.3-2+deb13u3) trixie; urgency=medium
+
+   * debian/patches/add-EUR-for-Bulgaria-Lew.diff: fix typo: s/BLN/BGN/, thanks
+     Xisco Fauli
+   * debian/patches/default-to-EUR-for-Bulgaria.diff: as name says 
+
+ -- Rene Engelhard <[email protected]>  Fri, 28 Nov 2025 16:24:35 +0100
+
 libreoffice (4:25.2.3-2+deb13u2) trixie; urgency=medium
 
   * debian/patches/avmedia-qt-use-gstreamer-frame-grabber-by-default.diff: add
diff -Nru libreoffice-25.2.3/debian/patches/add-EUR-for-Bulgaria-Lew.diff libreoffice-25.2.3/debian/patches/add-EUR-for-Bulgaria-Lew.diff
--- libreoffice-25.2.3/debian/patches/add-EUR-for-Bulgaria-Lew.diff	2025-08-13 17:55:48.000000000 +0200
+++ libreoffice-25.2.3/debian/patches/add-EUR-for-Bulgaria-Lew.diff	2025-11-28 16:24:17.000000000 +0100
@@ -15,6 +15,29 @@
 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189279
 Reviewed-by: Eike Rathke <[email protected]>
 Tested-by: Jenkins
+
+From 147f2fe0e46ef030ccee10581b97ffdce770b79f Mon Sep 17 00:00:00 2001
+From: Xisco Fauli <[email protected]>
+Date: Fri, 28 Nov 2025 10:25:42 +0100
+Subject: fix typo: BLN -> BGN
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+After
+commit 37d1cc071ba0cc7f9922c4409d0a014a722ebbce
+Author: Rene Engelhard <[email protected]>
+Date:   Sat Aug 9 19:05:15 2025 +0200
+
+    add EUR for Bulgaria/Lew
+
+Change-Id: I6679404cba0be0219bf7ede06297f9b1c990e8b4
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194760
+Reviewed-by: Eike Rathke <[email protected]>
+Tested-by: Jenkins
+Reviewed-by: René Engelhard <[email protected]>
+Signed-off-by: Xisco Fauli <[email protected]>
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194766
 ---
  i18npool/source/localedata/data/bg_BG.xml        |  8 ++++++++
  .../registry/data/org/openoffice/Office/Calc.xcu | 11 +++++++++++
@@ -55,7 +78,7 @@
 +        <value>EUR</value>
 +      </prop>
 +      <prop oor:name="ToUnit">
-+        <value>BLN</value>
++        <value>BGN</value>
 +      </prop>
 +      <prop oor:name="Factor">
 +        <value>1.95583</value>
@@ -74,7 +97,7 @@
          { "LTL", 3.45280,  2 },
 -        { "HRK", 7.53450,  2 }
 +        { "HRK", 7.53450,  2 },
-+        { "BLN", 1.95583,  2 }
++        { "BGN", 1.95583,  2 }
      };
  
      for (const auto & i : aConvertTable)
@@ -121,7 +144,7 @@
 +	CurrValue(20,2) = 2
 +	CurrValue(20,3) = &quot;лв.&quot;
 +	CurrValue(20,4) = &quot;лв.&quot;
-+	CurrValue(20,5) = &quot;BLN&quot;
++	CurrValue(20,5) = &quot;BGN&quot;
 +
  	i = -1
  	CurrSymbolList(0) = &quot;&quot;
diff -Nru libreoffice-25.2.3/debian/patches/default-to-Euro-for-Bulgaria.diff libreoffice-25.2.3/debian/patches/default-to-Euro-for-Bulgaria.diff
--- libreoffice-25.2.3/debian/patches/default-to-Euro-for-Bulgaria.diff	1970-01-01 01:00:00.000000000 +0100
+++ libreoffice-25.2.3/debian/patches/default-to-Euro-for-Bulgaria.diff	2025-11-09 12:04:42.000000000 +0100
@@ -0,0 +1,38 @@
+From 3c4ec80b85fef422ceee1eaa776d7675183f7208 Mon Sep 17 00:00:00 2001
+From: Rene Engelhard <[email protected]>
+Date: Sun, 9 Nov 2025 11:42:29 +0100
+Subject: [PATCH] default to EUR for Bulgaria
+
+Bulgaria will switch to EUR 2026-01-01.
+
+Change-Id: I0ed47f1681c406af2e92cdd2fdfd0bdace7f8216
+---
+ i18npool/source/localedata/data/bg_BG.xml | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/i18npool/source/localedata/data/bg_BG.xml b/i18npool/source/localedata/data/bg_BG.xml
+index ae295a38c7b9..8cd70fd91f12 100644
+--- a/i18npool/source/localedata/data/bg_BG.xml
++++ b/i18npool/source/localedata/data/bg_BG.xml
+@@ -352,7 +352,7 @@
+     </Calendar>
+   </LC_CALENDAR>
+   <LC_CURRENCY>
+-    <Currency default="true" usedInCompatibleFormatCodes="true">
++    <Currency default="false" usedInCompatibleFormatCodes="true">
+       <CurrencyID>BGN</CurrencyID>
+       <CurrencySymbol>лв.</CurrencySymbol>
+       <BankSymbol>BGN</BankSymbol>
+@@ -366,8 +366,7 @@
+       <CurrencyName>BGL</CurrencyName>
+       <DecimalPlaces>2</DecimalPlaces>
+     </Currency>
+-    <!-- TODO: switch defaults before 2026-01-01 -->
+-    <Currency default="false" usedInCompatibleFormatCodes="false">
++    <Currency default="true" usedInCompatibleFormatCodes="false">
+       <CurrencyID>EUR</CurrencyID>
+       <CurrencySymbol>€</CurrencySymbol>
+       <BankSymbol>EUR</BankSymbol>
+-- 
+2.47.3
+
diff -Nru libreoffice-25.2.3/debian/patches/series libreoffice-25.2.3/debian/patches/series
--- libreoffice-25.2.3/debian/patches/series	2025-08-13 22:27:02.000000000 +0200
+++ libreoffice-25.2.3/debian/patches/series	2025-11-28 16:24:20.000000000 +0100
@@ -54,3 +54,4 @@
 add-EUR-for-Bulgaria-Lew.diff
 avmedia-qt-use-gstreamer-frame-grabber-by-default.diff
 qt-Consolidate-to-one-toOUString-helper.diff
+default-to-Euro-for-Bulgaria.diff

Reply via email to