openSUSE Commits
Threads by month
- ----- 2024 -----
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
October 2022
- 1 participants
- 2855 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package patterns-gnome for openSUSE:Factory checked in at 2022-10-22 14:12:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/patterns-gnome (Old)
and /work/SRC/openSUSE:Factory/.patterns-gnome.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "patterns-gnome"
Sat Oct 22 14:12:38 2022 rev:34 rq:1030425 version:20201210
Changes:
--------
--- /work/SRC/openSUSE:Factory/patterns-gnome/patterns-gnome.changes 2022-07-07 12:56:58.571288607 +0200
+++ /work/SRC/openSUSE:Factory/.patterns-gnome.new.2275/patterns-gnome.changes 2022-10-22 14:13:12.524755303 +0200
@@ -1,0 +2,16 @@
+Fri Oct 21 11:59:08 UTC 2022 - Richard Brown <rbrown(a)suse.com>
+
+- Require at-spi2-core else risk major performance issues (boo#1204564)
+
+-------------------------------------------------------------------
+Sat Oct 15 08:04:10 UTC 2022 - Milachew <milachew(a)mail.lv>
+
+- Delete some abandoned packages.
+- Replace gnome-tweak-tool to gnome-tweaks.
+
+-------------------------------------------------------------------
+Sun Sep 25 09:10:09 UTC 2022 - Bj��rn Lie <bjorn.lie(a)gmail.com>
+
+- Add gnome-backgrounds Recommends to gnome-x11 pattern.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ patterns-gnome.spec ++++++
--- /var/tmp/diff_new_pack.O8XL8x/_old 2022-10-22 14:13:12.976756374 +0200
+++ /var/tmp/diff_new_pack.O8XL8x/_new 2022-10-22 14:13:12.988756403 +0200
@@ -124,6 +124,7 @@
Recommends: evince
Recommends: evolution
Recommends: evolution-ews
+Recommends: gnome-backgrounds
Recommends: gnome-bluetooth
# bsc#1069699
Recommends: gnome-characters
@@ -282,15 +283,8 @@
#Requires: gnome-settings-daemon
# implied by gnome-shell
#Requires: gnome-control-center
-#
-# Default sessions
-# - Put in Recommends for now, to make sure the livecd will always build; but
-# ideally, should be in Requires
-# - We also we explicitly put the packages required by those sessions, in case
-# gnome-session-*-session is not installable, to make sure the livecd is
-# somehow a bit usable
-#
-Recommends: gnome-session-default-session
+# Accessability is not an option, and performance issues if its missing (boo#1204564)
+Requires: at-spi2-core
# boo#1090117
Recommends: gnome-shell-classic
Recommends: gnome-extensions
@@ -379,7 +373,7 @@
Recommends: gnome-software
Recommends: gnome-system-monitor
# bnc#859494 bsc#1065790
-Recommends: gnome-tweak-tool
+Recommends: gnome-tweaks
Recommends: nautilus-extension-terminal
Recommends: nautilus-share
Recommends: pinentry-gnome3
@@ -416,8 +410,6 @@
Provides: pattern-order() = 1420
Obsoletes: patterns-openSUSE-gnome_basis_opt < %{version}
Requires: pattern() = x11
-# #394406
-Recommends: dynamic-wallpaper-branding-openSUSE
%description gnome_basis_opt
Base packages for the GNOME desktop environment.
@@ -684,7 +676,7 @@
#
# Packages that really make sense
#
-Recommends: gnome-tweak-tool
+Recommends: gnome-tweaks
Recommends: gnome-weather
Recommends: gsf-office-thumbnailer
Recommends: nautilus-extension-seahorse
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package yast2-registration for openSUSE:Factory checked in at 2022-10-22 14:12:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-registration (Old)
and /work/SRC/openSUSE:Factory/.yast2-registration.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-registration"
Sat Oct 22 14:12:36 2022 rev:92 rq:1030397 version:4.5.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-registration/yast2-registration.changes 2022-06-09 14:09:30.708344552 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-registration.new.2275/yast2-registration.changes 2022-10-22 14:13:11.388752611 +0200
@@ -1,0 +2,9 @@
+Wed Oct 19 08:13:54 UTC 2022 - Jos�� Iv��n L��pez Gonz��lez <jlopez(a)suse.com>
+
+- Add reader for products defined in a YAML file.
+- Allow forcing registration and configuring a YAML product as
+ installed product.
+- Related to jsc#PED-1380 and jsc#PM-3439.
+- 4.5.6
+
+-------------------------------------------------------------------
Old:
----
yast2-registration-4.5.5.tar.bz2
New:
----
yast2-registration-4.5.6.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-registration.spec ++++++
--- /var/tmp/diff_new_pack.FpkOZf/_old 2022-10-22 14:13:11.956753957 +0200
+++ /var/tmp/diff_new_pack.FpkOZf/_new 2022-10-22 14:13:11.960753967 +0200
@@ -17,7 +17,7 @@
Name: yast2-registration
-Version: 4.5.5
+Version: 4.5.6
Release: 0
Summary: YaST2 - Registration Module
License: GPL-2.0-only
++++++ yast2-registration-4.5.5.tar.bz2 -> yast2-registration-4.5.6.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.5.5/package/yast2-registration.changes new/yast2-registration-4.5.6/package/yast2-registration.changes
--- old/yast2-registration-4.5.5/package/yast2-registration.changes 2022-06-08 09:56:12.000000000 +0200
+++ new/yast2-registration-4.5.6/package/yast2-registration.changes 2022-10-21 14:41:17.000000000 +0200
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Oct 19 08:13:54 UTC 2022 - Jos�� Iv��n L��pez Gonz��lez <jlopez(a)suse.com>
+
+- Add reader for products defined in a YAML file.
+- Allow forcing registration and configuring a YAML product as
+ installed product.
+- Related to jsc#PED-1380 and jsc#PM-3439.
+- 4.5.6
+
+-------------------------------------------------------------------
Tue Jun 7 12:37:04 UTC 2022 - Imobach Gonzalez Sosa <igonzalezsosa(a)suse.com>
- Do not crash when cloning an unregistered system with
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.5.5/package/yast2-registration.spec new/yast2-registration-4.5.6/package/yast2-registration.spec
--- old/yast2-registration-4.5.5/package/yast2-registration.spec 2022-06-08 09:56:12.000000000 +0200
+++ new/yast2-registration-4.5.6/package/yast2-registration.spec 2022-10-21 14:41:17.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-registration
-Version: 4.5.5
+Version: 4.5.6
Release: 0
Summary: YaST2 - Registration Module
License: GPL-2.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.5.5/src/lib/registration/storage.rb new/yast2-registration-4.5.6/src/lib/registration/storage.rb
--- old/yast2-registration-4.5.5/src/lib/registration/storage.rb 2022-06-08 09:56:12.000000000 +0200
+++ new/yast2-registration-4.5.6/src/lib/registration/storage.rb 2022-10-21 14:41:17.000000000 +0200
@@ -51,13 +51,15 @@
include Singleton
attr_accessor :install_updates, :email, :reg_code, :selected_addons,
- :base_registered, :custom_url, :imported_cert_sha256_fingerprint
+ :base_registered, :custom_url, :imported_cert_sha256_fingerprint,
+ :yaml_product, :force_registration
def initialize
@email = ""
@reg_code = ""
@selected_addons = []
@base_registered = false
+ @force_registration = false
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.5.5/src/lib/registration/sw_mgmt.rb new/yast2-registration-4.5.6/src/lib/registration/sw_mgmt.rb
--- old/yast2-registration-4.5.5/src/lib/registration/sw_mgmt.rb 2022-06-08 09:56:12.000000000 +0200
+++ new/yast2-registration-4.5.6/src/lib/registration/sw_mgmt.rb 2022-10-21 14:41:17.000000000 +0200
@@ -31,6 +31,7 @@
require "registration/helpers"
require "registration/url_helpers"
require "registration/repo_state"
+require "registration/storage"
require "packager/product_patterns"
require "y2packager/medium_type"
@@ -62,9 +63,17 @@
ZYPP_DIR = "/etc/zypp".freeze
- FAKE_BASE_PRODUCT = { "name" => "SLES", "arch" => "x86_64", "version" => "12-0",
- "flavor" => "DVD", "version_version" => "12", "register_release" => "",
- "register_target" => "sle-12-x86_64" }.freeze
+ FAKE_BASE_PRODUCT = {
+ "arch" => "x86_64",
+ "display_name" => "SUSE Linux Enterprise Desktop 15 SP4",
+ "flavor" => "",
+ "name" => "SLED",
+ "product_line" => "sled",
+ "register_release" => "",
+ "register_target" => "sle-15-x86_64",
+ "version" => "15.4-0",
+ "version_version" => "15.4"
+ }.freeze
OEM_DIR = "/var/lib/suseRegister/OEM".freeze
@@ -192,6 +201,9 @@
return online_base_product if Stage.initial && Y2Packager::MediumType.online?
+ yaml_product = Storage::InstallationOptions.instance.yaml_product
+ return yaml_product if yaml_product
+
# use the selected product if a product has been already selected
selected = product_selected? if Stage.initial
installed = product_installed? if Stage.initial
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.5.5/src/lib/registration/ui/base_system_registration_dialog.rb new/yast2-registration-4.5.6/src/lib/registration/ui/base_system_registration_dialog.rb
--- old/yast2-registration-4.5.5/src/lib/registration/ui/base_system_registration_dialog.rb 2022-06-08 09:56:12.000000000 +0200
+++ new/yast2-registration-4.5.6/src/lib/registration/ui/base_system_registration_dialog.rb 2022-10-21 14:41:17.000000000 +0200
@@ -320,8 +320,7 @@
# widget for skipping the registration
# @return [Yast::Term] UI term
def skip_option
- # do not display it in an installed system or when already registered
- return Empty() if Stage.normal || Registration.is_registered?
+ return Empty() if hide_skip_option?
Left(
RadioButton(
Id(:skip_registration),
@@ -332,6 +331,18 @@
)
end
+ # Whether skip option should be hidden
+ #
+ # Do not display it in an installed system or when already registered or when registration
+ # is mandatory.
+ #
+ # @return [Boolean]
+ def hide_skip_option?
+ Stage.normal ||
+ Registration.is_registered? ||
+ Storage::InstallationOptions.instance.force_registration
+ end
+
# part of the main dialog definition - the base product details
# @return [Yast::Term] UI term
def product_details_widgets
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.5.5/src/lib/registration/yaml_products_reader.rb new/yast2-registration-4.5.6/src/lib/registration/yaml_products_reader.rb
--- old/yast2-registration-4.5.5/src/lib/registration/yaml_products_reader.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-registration-4.5.6/src/lib/registration/yaml_products_reader.rb 2022-10-21 14:41:17.000000000 +0200
@@ -0,0 +1,77 @@
+# Copyright (c) [2022] SUSE LLC
+#
+# All Rights Reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of version 2 of the GNU General Public License as published
+# by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, contact SUSE LLC.
+#
+# To contact SUSE LLC about this file by physical or electronic mail, you may
+# find current contact information at www.suse.com.
+
+require "yaml"
+require "yast"
+
+module Registration
+ Yast.import "Arch"
+
+ # Reads products defined by YAML file
+ #
+ # Added for SLED registration on a WSL SLES image (jsc#PED-1380).
+ class YamlProductsReader
+ attr_reader :path
+
+ def initialize(path = DEFAULT_PATH)
+ @path = path
+ end
+
+ # @return [Array<Hash>]
+ def read
+ return [] unless yaml_exist?
+
+ YAML.load_file(path).map { |p| transform(p) }
+ end
+
+ private
+
+ DEFAULT_PATH = "/etc/YaST2/products.yaml".freeze
+ private_constant :DEFAULT_PATH
+
+ # check if yaml products are defined at all
+ def yaml_exist?
+ ::File.exist?(path)
+ end
+
+ # For all values:
+ # - converts them to String (to allow writing "15.4" as 15.4)
+ # - replaces $arch substring with the current architecture
+ # And also:
+ # - replaces version with version_version as registration expects
+ # - adds arch key if not defined
+ # - converts value of default key to boolean
+ #
+ # @param product [Hash]
+ # @return [Hash] A new transformed hash
+ def transform(product)
+ arch = Yast::Arch.rpm_arch
+
+ res = product.map do |key, val|
+ val_s = val.to_s.gsub("$arch", arch)
+ [key, val_s]
+ end.to_h
+ res["version_version"] ||= res["version"]
+ res["arch"] ||= arch
+ res["default"] = res["default"]&.casecmp?("true") ? true : false
+
+ res
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.5.5/test/fixtures/wsl_products.yml new/yast2-registration-4.5.6/test/fixtures/wsl_products.yml
--- old/yast2-registration-4.5.5/test/fixtures/wsl_products.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-registration-4.5.6/test/fixtures/wsl_products.yml 2022-10-21 14:41:17.000000000 +0200
@@ -0,0 +1,12 @@
+# TODO: references for this file,
+# describe what it is
+# https://jira.suse.com/browse/PED-1380
+- display_name: "SUSE Linux Enterprise Desktop 15 SP4"
+ name: "SLED"
+ register_target: "sle-15-$arch"
+ version: "15.4"
+- display_name: "SUSE Linux Enterprise Server 15 SP4"
+ name: "SLES"
+ register_target: "sle-15-$arch"
+ version: "15.4"
+ default: True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.5.5/test/registration/yaml_products_reader_test.rb new/yast2-registration-4.5.6/test/registration/yaml_products_reader_test.rb
--- old/yast2-registration-4.5.5/test/registration/yaml_products_reader_test.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-registration-4.5.6/test/registration/yaml_products_reader_test.rb 2022-10-21 14:41:17.000000000 +0200
@@ -0,0 +1,49 @@
+# Copyright (c) [2022] SUSE LLC
+#
+# All Rights Reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of version 2 of the GNU General Public License as published
+# by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, contact SUSE LLC.
+#
+# To contact SUSE LLC about this file by physical or electronic mail, you may
+# find current contact information at www.suse.com.
+
+require_relative "../spec_helper"
+require "registration/yaml_products_reader"
+
+describe Registration::YamlProductsReader do
+ subject { described_class.new(File.expand_path("#{__dir__}/../fixtures/wsl_products.yml")) }
+
+ describe "#read" do
+ it "reads content of yaml file" do
+ expect(subject.read.first["name"]).to eq "SLED"
+ end
+
+ it "adds arch key if not defined" do
+ expect(subject.read.first["arch"]).to eq Yast::Arch.rpm_arch
+ end
+
+ it "converts version to version_version" do
+ expect(subject.read.first["version_version"]).to eq "15.4"
+ end
+
+ it "expands properly arch variable" do
+ expect(subject.read.first["register_target"]).to eq "sle-15-#{Yast::Arch.rpm_arch}"
+ end
+
+ it "converts default to boolean" do
+ products = subject.read
+ expect(products[0]["default"]).to eq(false)
+ expect(products[1]["default"]).to eq(true)
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.5.5/test/sw_mgmt_spec.rb new/yast2-registration-4.5.6/test/sw_mgmt_spec.rb
--- old/yast2-registration-4.5.5/test/sw_mgmt_spec.rb 2022-06-08 09:56:12.000000000 +0200
+++ new/yast2-registration-4.5.6/test/sw_mgmt_spec.rb 2022-10-21 14:41:17.000000000 +0200
@@ -418,12 +418,30 @@
end
context "in installed system" do
- let(:products) { load_resolvable("products_legacy_installation.yml") }
- it "returns installed products" do
+ before do
allow(Yast::Stage).to receive(:initial).and_return(false)
- expect(Y2Packager::Resolvable).to receive(:find).and_return(products)
- # the SLES product in the list is installed
- expect(subject.find_base_product["name"]).to eq(products[1].name)
+ allow(Y2Packager::Resolvable).to receive(:find).and_return(products)
+ allow(Registration::Storage::InstallationOptions.instance).to receive(:yaml_product)
+ .and_return(yaml_product)
+ end
+
+ let(:products) { load_resolvable("products_legacy_installation.yml") }
+
+ context "if a YAML product is selected" do
+ let(:yaml_product) { { "name" => "SLES", "version" => "15.4" } }
+
+ it "returns the YAML product" do
+ expect(subject.find_base_product).to eq(yaml_product)
+ end
+ end
+
+ context "if no YAML product is selected" do
+ let(:yaml_product) { nil }
+
+ it "returns installed products" do
+ # the SLES product in the list is installed
+ expect(subject.find_base_product["name"]).to eq(products[1].name)
+ end
end
end
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package harfbuzz for openSUSE:Factory checked in at 2022-10-22 14:12:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/harfbuzz (Old)
and /work/SRC/openSUSE:Factory/.harfbuzz.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "harfbuzz"
Sat Oct 22 14:12:35 2022 rev:95 rq:1030393 version:5.3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/harfbuzz/harfbuzz.changes 2022-10-12 18:24:29.525634580 +0200
+++ /work/SRC/openSUSE:Factory/.harfbuzz.new.2275/harfbuzz.changes 2022-10-22 14:13:10.388750241 +0200
@@ -1,0 +2,10 @@
+Fri Oct 21 06:52:00 UTC 2022 - Andreas Stieger <andreas.stieger(a)gmx.de>
+
+- Update to version 5.3.1:
+ + Subsetter repacker fixes
+ + Adjust Grapheme clusters for Katakana voiced sound marks
+ + New hb-subset option --preprocess-face
+- Add harfbuzz-5.3.1-Fix_check-symbols_failure.patch: Fix failing
+ tests.
+
+-------------------------------------------------------------------
@@ -5 +15 @@
- * Don���t add glyphs from dropped MATH or COLR tables to the subset
+ + Don���t add glyphs from dropped MATH or COLR tables to the subset
@@ -7,3 +17,3 @@
- * Map rlig to appropriate AAT feature selectors
- * Update USE data files to latest version
- * Check CBDT extents first before outline tables, to help with
+ + Map rlig to appropriate AAT feature selectors
+ + Update USE data files to latest version
+ + Check CBDT extents first before outline tables, to help with
@@ -11,2 +21,2 @@
- * More work towards variable font instancing in the subsetter
- * Subsetter repacker improvements
+ + More work towards variable font instancing in the subsetter
+ + Subsetter repacker improvements
Old:
----
harfbuzz-5.3.0.tar.xz
New:
----
harfbuzz-5.3.1-Fix_check-symbols_failure.patch
harfbuzz-5.3.1.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ harfbuzz.spec ++++++
--- /var/tmp/diff_new_pack.Iwix7p/_old 2022-10-22 14:13:11.056751824 +0200
+++ /var/tmp/diff_new_pack.Iwix7p/_new 2022-10-22 14:13:11.064751844 +0200
@@ -17,13 +17,15 @@
Name: harfbuzz
-Version: 5.3.0
+Version: 5.3.1
Release: 0
Summary: An OpenType text shaping engine
License: MIT
URL: https://www.freedesktop.org/wiki/Software/HarfBuzz
Source0: https://github.com/harfbuzz/harfbuzz/releases/download/%{version}/%{name}-%…
Source99: baselibs.conf
+# PATCH-FIX-UPSTREAM harfbuzz-5.3.1-Fix_check-symbols_failure.patch -- Fix failing tests
+Patch0: harfbuzz-5.3.1-Fix_check-symbols_failure.patch
BuildRequires: c++_compiler
BuildRequires: c_compiler
++++++ harfbuzz-5.3.1-Fix_check-symbols_failure.patch ++++++
From b0b7a65388da25ae3fa01e969ad6abc67eed4f49 Mon Sep 17 00:00:00 2001
From: Behdad Esfahbod <behdad(a)behdad.org>
Date: Thu, 20 Oct 2022 17:13:26 -0600
Subject: [PATCH] [subset] Fix check-symbols failure
Fixes https://github.com/harfbuzz/harfbuzz/issues/3850
---
src/check-symbols.py | 2 +-
src/hb-subset-accelerator.hh | 5 +++--
src/hb-subset.cc | 4 ++++
3 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/check-symbols.py b/src/check-symbols.py
index 11ca28dc7f..d0b8bd3c82 100755
--- a/src/check-symbols.py
+++ b/src/check-symbols.py
@@ -31,7 +31,7 @@
symprefix = '_' if suffix == 'dylib' else ''
EXPORTED_SYMBOLS = [s.split ()[2]
- for s in re.findall (r'^.+ [BCDGIRST] .+$', subprocess.check_output (nm.split() + [so]).decode ('utf-8'), re.MULTILINE)
+ for s in re.findall (r'^.+ [BCDGIRSTu] .+$', subprocess.check_output (nm.split() + [so]).decode ('utf-8'), re.MULTILINE)
if not re.match (r'.* %s(%s)\b' % (symprefix, IGNORED_SYMBOLS), s)]
# run again c++filt also if is available
diff --git a/src/hb-subset-accelerator.hh b/src/hb-subset-accelerator.hh
index 34bd0534fb..5652db147f 100644
--- a/src/hb-subset-accelerator.hh
+++ b/src/hb-subset-accelerator.hh
@@ -33,12 +33,13 @@
#include "hb-map.hh"
#include "hb-set.hh"
+extern HB_INTERNAL hb_user_data_key_t _hb_subset_accelerator_user_data_key;
+
struct hb_subset_accelerator_t
{
static hb_user_data_key_t* user_data_key()
{
- static hb_user_data_key_t key;
- return &key;
+ return &_hb_subset_accelerator_user_data_key;
}
static hb_subset_accelerator_t* create(const hb_map_t& unicode_to_gid_,
diff --git a/src/hb-subset.cc b/src/hb-subset.cc
index 6026aa6eff..de9322de3f 100644
--- a/src/hb-subset.cc
+++ b/src/hb-subset.cc
@@ -82,6 +82,10 @@ using OT::Layout::GPOS;
* retain glyph ids option and configure the subset to pass through the layout tables untouched.
*/
+
+hb_user_data_key_t _hb_subset_accelerator_user_data_key = {};
+
+
/*
* The list of tables in the open type spec. Used to check for tables that may need handling
* if we are unable to list the tables in a face.
++++++ harfbuzz-5.3.0.tar.xz -> harfbuzz-5.3.1.tar.xz ++++++
/work/SRC/openSUSE:Factory/harfbuzz/harfbuzz-5.3.0.tar.xz /work/SRC/openSUSE:Factory/.harfbuzz.new.2275/harfbuzz-5.3.1.tar.xz differ: char 26, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package evolution-ews for openSUSE:Factory checked in at 2022-10-22 14:12:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/evolution-ews (Old)
and /work/SRC/openSUSE:Factory/.evolution-ews.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "evolution-ews"
Sat Oct 22 14:12:34 2022 rev:129 rq:1030392 version:3.46.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/evolution-ews/evolution-ews.changes 2022-09-21 14:40:49.861488481 +0200
+++ /work/SRC/openSUSE:Factory/.evolution-ews.new.2275/evolution-ews.changes 2022-10-22 14:13:09.084747151 +0200
@@ -1,0 +2,10 @@
+Fri Oct 21 06:53:30 UTC 2022 - Bj��rn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 3.46.1:
+ + Handle negative value for GUri's port
+ + EwsConnect: Early stop a response traversal
+ + ESoapResponse: Allow NULL for some traversal functions
+ + ebb_ews_mailbox_to_contact: Fix a memory leak
+ + Updated translations.
+
+-------------------------------------------------------------------
Old:
----
evolution-ews-3.46.0.tar.xz
New:
----
evolution-ews-3.46.1.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ evolution-ews.spec ++++++
--- /var/tmp/diff_new_pack.XJNgbs/_old 2022-10-22 14:13:09.552748260 +0200
+++ /var/tmp/diff_new_pack.XJNgbs/_new 2022-10-22 14:13:09.556748270 +0200
@@ -20,7 +20,7 @@
%define _version %(echo %{version} | grep -E -o '[0-9]+\.[0-9]+\.[0-9]+')
Name: evolution-ews
-Version: 3.46.0
+Version: 3.46.1
Release: 0
Summary: Exchange Connector for Evolution, compatible with Exchange 2007 and later
License: LGPL-2.1-only
++++++ evolution-ews-3.46.0.tar.xz -> evolution-ews-3.46.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.46.0/CMakeLists.txt new/evolution-ews-3.46.1/CMakeLists.txt
--- old/evolution-ews-3.46.0/CMakeLists.txt 2022-09-16 07:02:56.000000000 +0200
+++ new/evolution-ews-3.46.1/CMakeLists.txt 2022-10-21 08:12:54.000000000 +0200
@@ -4,7 +4,7 @@
cmake_policy(VERSION 3.1)
project(evolution-ews
- VERSION 3.46.0
+ VERSION 3.46.1
LANGUAGES C)
set(PROJECT_BUGREPORT "https://gitlab.gnome.org/GNOME/evolution-ews/issues/")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.46.0/NEWS new/evolution-ews-3.46.1/NEWS
--- old/evolution-ews-3.46.0/NEWS 2022-09-16 07:02:56.000000000 +0200
+++ new/evolution-ews-3.46.1/NEWS 2022-10-21 08:12:54.000000000 +0200
@@ -1,3 +1,16 @@
+Evolution-EWS 3.46.1 2022-10-21
+-------------------------------
+
+Miscellaneous:
+ Handle negative value for GUri's port
+ EwsConnect: Early stop a response traversal
+ ESoapResponse: Allow NULL for some traversal functions
+ ebb_ews_mailbox_to_contact: Fix a memory leak
+
+Translations:
+ J��rgen Benvenuti (de)
+ ���������������� �������������� (sr)
+
Evolution-EWS 3.46.0 2022-09-16
-------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.46.0/po/de.po new/evolution-ews-3.46.1/po/de.po
--- old/evolution-ews-3.46.0/po/de.po 2022-09-16 07:02:56.000000000 +0200
+++ new/evolution-ews-3.46.1/po/de.po 2022-10-21 08:12:54.000000000 +0200
@@ -12,8 +12,8 @@
msgstr ""
"Project-Id-Version: evolution-ews master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/evolution-ews/issues\n"
-"POT-Creation-Date: 2022-06-22 11:17+0000\n"
-"PO-Revision-Date: 2022-07-07 13:01+0200\n"
+"POT-Creation-Date: 2022-09-25 07:30+0000\n"
+"PO-Revision-Date: 2022-09-28 11:23+0200\n"
"Last-Translator: J��rgen Benvenuti <gastornis(a)posteo.org>\n"
"Language-Team: German <gnome-de(a)gnome.org>\n"
"Language: de\n"
@@ -21,7 +21,7 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 3.1\n"
+"X-Generator: Poedit 3.1.1\n"
#: ../org.gnome.Evolution-ews.metainfo.xml.in.h:1
#: ../src/EWS/camel/camel-ews-provider.c:68
@@ -35,51 +35,51 @@
msgid "For accessing Exchange servers using Web Services"
msgstr "F��r den Zugriff auf Exchange-Server ��ber Webdienste"
-#: ../src/EWS/addressbook/e-book-backend-ews.c:2894
+#: ../src/EWS/addressbook/e-book-backend-ews.c:2880
msgid "Fetching contact photos���"
msgstr "Kontakt_fotos holen ���"
-#: ../src/EWS/addressbook/e-book-backend-ews.c:4087
+#: ../src/EWS/addressbook/e-book-backend-ews.c:4060
msgid "Failed to update GAL:"
msgstr "GAL konnte nicht aktualisiert werden:"
-#: ../src/EWS/addressbook/e-book-backend-ews.c:4252
+#: ../src/EWS/addressbook/e-book-backend-ews.c:4225
msgid ""
"Cannot save contact list, it���s only supported on EWS Server 2010 or later"
msgstr ""
"Kontaktliste kann nicht gespeichert werden. Das wird nur f��r Exchange-"
"Webdienste-Server 2010 oder neuer unterst��tzt"
-#: ../src/EWS/addressbook/e-book-backend-ews.c:4350
+#: ../src/EWS/addressbook/e-book-backend-ews.c:4323
msgid "Failed to set contact photo:"
msgstr "Kontaktfoto konnte nicht festgelegt werden:"
-#: ../src/EWS/calendar/e-cal-backend-ews.c:2034
+#: ../src/EWS/calendar/e-cal-backend-ews.c:2037
msgctxt "FreeBusyType"
msgid "Free"
msgstr "Frei"
-#: ../src/EWS/calendar/e-cal-backend-ews.c:2037
+#: ../src/EWS/calendar/e-cal-backend-ews.c:2040
msgctxt "FreeBusyType"
msgid "Busy"
msgstr "Besch��ftigt"
-#: ../src/EWS/calendar/e-cal-backend-ews.c:2039
+#: ../src/EWS/calendar/e-cal-backend-ews.c:2042
msgctxt "FreeBusyType"
msgid "Out of Office"
msgstr "Nicht im B��ro"
-#: ../src/EWS/calendar/e-cal-backend-ews.c:2041
+#: ../src/EWS/calendar/e-cal-backend-ews.c:2044
msgctxt "FreeBusyType"
msgid "Tentative"
msgstr "Vorl��ufig"
-#: ../src/EWS/calendar/e-cal-backend-ews.c:2621
-#: ../src/EWS/calendar/e-cal-backend-ews.c:2895
+#: ../src/EWS/calendar/e-cal-backend-ews.c:2624
+#: ../src/EWS/calendar/e-cal-backend-ews.c:2898
msgid "Cannot determine EWS ItemId"
msgstr "EWS ItemId kann nicht bestimmt werden"
-#: ../src/EWS/calendar/e-cal-backend-ews.c:3192
+#: ../src/EWS/calendar/e-cal-backend-ews.c:3197
msgid ""
"Cannot create meetings organized by other users in an Exchange Web Services "
"calendar."
@@ -87,12 +87,30 @@
"Besprechungen, die von anderen Benutzern in einem Exchange Web Services-"
"Kalender organisiert werden, k��nnen nicht erstellt werden."
-#: ../src/EWS/calendar/e-cal-backend-ews.c:3902
+#: ../src/EWS/calendar/e-cal-backend-ews.c:3234
+msgid "Online meeting can be created only in the main user Calendar."
+msgstr ""
+"Online-Besprechung kann nur im Kalender des Hauptnutzers erstellt werden."
+
+#: ../src/EWS/calendar/e-cal-backend-ews.c:3948
#, c-format
msgid "Cannot find user ���%s��� between attendees"
msgstr "Teilnehmer ��%s�� kann nicht in der Teilnehmerliste gefunden werden"
-#: ../src/EWS/calendar/e-cal-backend-ews-utils.c:2087
+#: ../src/EWS/calendar/e-cal-backend-ews-m365.c:40
+msgid ""
+"Cannot connect to the server, repeat the action once you login to the server."
+msgstr ""
+"Keine Verbindung mit dem Server m��glich, wiederholen Sie den Vorgang, sobald "
+"Sie sich beim Server anmelden."
+
+#. Translators: The '%s' is replaced with a UID of the collection source
+#: ../src/EWS/calendar/e-cal-backend-ews-m365.c:148
+#, c-format
+msgid "Cannot find Microsoft365 helper source for calendar ���%s���"
+msgstr "Microsoft365-Hilfsquelle f��r Kalender ��%s�� kann nicht gefunden werden"
+
+#: ../src/EWS/calendar/e-cal-backend-ews-utils.c:2089
msgid "Invalid occurrence ID"
msgstr "Ung��ltige Vorgangskennung"
@@ -523,12 +541,12 @@
msgstr ""
"CreateItem-Aufruf konnte die Kennung der neuen Nachricht nicht zur��ckgeben"
-#: ../src/EWS/common/e-ews-connection.c:323
+#: ../src/EWS/common/e-ews-connection.c:344
#, c-format
msgid "No response: %s"
msgstr "Keine Antwort: %s"
-#: ../src/EWS/common/e-ews-connection.c:486
+#: ../src/EWS/common/e-ews-connection.c:509
#, c-format
msgid "Exchange server is busy, waiting to retry (%d:%02d minute)"
msgid_plural "Exchange server is busy, waiting to retry (%d:%02d minutes)"
@@ -539,7 +557,7 @@
"Der Exchange-Server ist besch��ftigt, Warten auf erneuten Versuch (%d:%02d "
"Minuten)"
-#: ../src/EWS/common/e-ews-connection.c:492
+#: ../src/EWS/common/e-ews-connection.c:515
#, c-format
msgid "Exchange server is busy, waiting to retry (%d second)"
msgid_plural "Exchange server is busy, waiting to retry (%d seconds)"
@@ -549,59 +567,59 @@
"Der Exchange-Server ist besch��ftigt, Warten auf erneuten Versuch (%d "
"Sekunden)"
-#: ../src/EWS/common/e-ews-connection.c:621
+#: ../src/EWS/common/e-ews-connection.c:644
msgid "Authentication failed"
msgstr "Legitimation gescheitert"
-#: ../src/EWS/common/e-ews-connection.c:2338
+#: ../src/EWS/common/e-ews-connection.c:2389
msgid "Failed to parse autodiscover response XML"
msgstr "XML der Autodiscover-Antwort konnte nicht verarbeitet werden"
-#: ../src/EWS/common/e-ews-connection.c:2344
+#: ../src/EWS/common/e-ews-connection.c:2395
msgid "Failed to find <Autodiscover> element"
msgstr "<Autodiscover>-Element konnte nicht gefunden werden"
-#: ../src/EWS/common/e-ews-connection.c:2354
+#: ../src/EWS/common/e-ews-connection.c:2405
msgid "Failed to find <Response> element"
msgstr "<Response>-Element konnte nicht gefunden werden"
-#: ../src/EWS/common/e-ews-connection.c:2364
+#: ../src/EWS/common/e-ews-connection.c:2415
msgid "Failed to find <Account> element"
msgstr "<Account>-Element konnte nicht gefunden werden"
-#: ../src/EWS/common/e-ews-connection.c:2409
+#: ../src/EWS/common/e-ews-connection.c:2460
msgid "Failed to find <ASUrl> in autodiscover response"
msgstr "<ASUrl> konnte in Autodiscover-Antwort nicht gefunden werden"
-#: ../src/EWS/common/e-ews-connection.c:2485
+#: ../src/EWS/common/e-ews-connection.c:2536
msgid "URL cannot be NULL"
msgstr "Die Adresse darf nicht NULL sein"
-#: ../src/EWS/common/e-ews-connection.c:2903
+#: ../src/EWS/common/e-ews-connection.c:2954
msgid "Email address is missing a domain part"
msgstr "In der E-Mail-Adresse fehlt der Domain-Teil"
-#: ../src/EWS/common/e-ews-connection.c:3112
+#: ../src/EWS/common/e-ews-connection.c:3163
msgid "Failed to parse oab XML"
msgstr "OAB-XML konnte nicht verarbeitet werden"
-#: ../src/EWS/common/e-ews-connection.c:3150
+#: ../src/EWS/common/e-ews-connection.c:3201
msgid "Failed to find <OAB> element\n"
msgstr "<OAB>-Element konnte nicht gefunden werden\n"
-#: ../src/EWS/common/e-ews-connection.c:8672
+#: ../src/EWS/common/e-ews-connection.c:8726
msgid "Requires at least Microsoft Exchange 2010 SP1 server"
msgstr "Es ist mindestens Microsoft Exchange 2010 SP1 Server erforderlich"
-#: ../src/EWS/common/e-ews-connection.c:8773
+#: ../src/EWS/common/e-ews-connection.c:8827
msgid "Requires at least Microsoft Exchange 2013 server"
msgstr "Es ist mindestens Microsoft Exchange 2013 Server erforderlich"
-#: ../src/EWS/common/e-ews-connection.c:8926
+#: ../src/EWS/common/e-ews-connection.c:8980
msgid "Requires at least Microsoft Exchange 2010 server"
msgstr "Es ist mindestens Microsoft Exchange 2010 Server erforderlich"
-#: ../src/EWS/common/e-ews-connection.c:9066
+#: ../src/EWS/common/e-ews-connection.c:9120
msgid "Requires at least Microsoft Exchange 2007 SP1 server"
msgstr "Es ist mindestens Microsoft Exchange 2007 SP1 Server erforderlich"
@@ -656,6 +674,15 @@
msgid "Tries to look up for user photo"
msgstr "Versucht, ein Benutzerfoto zu holen"
+#: ../src/EWS/evolution/e-ews-comp-editor-extension.c:195
+msgid "Online Meeting"
+msgstr "Online-Besprechung"
+
+#: ../src/EWS/evolution/e-ews-comp-editor-extension.c:197
+msgid "Create the meeting as an online meeting in the main user calendar"
+msgstr ""
+"Die Besprechung als Online-Besprechung im Kalender des Hauptnutzers erstellen"
+
#: ../src/EWS/evolution/e-ews-config-lookup.c:182
msgid "Exchange Web Services autodiscovery"
msgstr "Exchange-Webdienste-Autoerkennung"
@@ -1430,7 +1457,7 @@
msgstr "Offline-Adressbuch wird gesucht"
#: ../src/EWS/evolution/e-mail-config-ews-gal.c:256
-#: ../src/EWS/registry/e-ews-backend.c:549
+#: ../src/EWS/registry/e-ews-backend.c:552
msgid "Global Address List"
msgstr "Globale Adressliste"
@@ -1594,7 +1621,7 @@
msgid "Folder of user ���{0}��� had been subscribed successfully."
msgstr "Ordner des Benutzers ��{0}�� wurde erfolgreich abonniert."
-#: ../src/EWS/registry/e-ews-backend.c:1006
+#: ../src/EWS/registry/e-ews-backend.c:1094
#: ../src/Microsoft365/registry/e-m365-backend.c:696
#, c-format
msgid "Could not determine a suitable folder class for a new folder named ���%s���"
@@ -1602,13 +1629,13 @@
"Es konnte keine passende Ordnerklasse f��r einen neuen Ordner namens ��%s�� "
"ermittelt werden"
-#: ../src/EWS/registry/e-ews-backend.c:1095
+#: ../src/EWS/registry/e-ews-backend.c:1183
#, c-format
msgid "Data source ���%s��� does not represent an Exchange Web Services folder"
msgstr "Die Datenquelle ��%s�� ist kein ��Exchange Web Services��-Ordner"
#: ../src/Microsoft365/addressbook/e-book-backend-m365.c:1427
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:2941
+#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:389
msgid "Folder ID is not set"
msgstr "Ordner-Kennung ist nicht festgelegt"
@@ -1617,11 +1644,22 @@
msgstr ""
"Kontaktliste kann nicht in einem Microsoft 365-Adressbuch gespeichert werden"
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:1663
+#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:661
+msgid "Can store only simple events into Microsoft 365 calendar"
+msgstr ""
+"Nur einfache Ereignisse k��nnen im Microsoft 365-Kalender gespeichert werden"
+
+#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:674
+msgid "Can store only simple tasks into Microsoft 365 task folder"
+msgstr ""
+"Nur einfache Aufgaben k��nnen im Microsoft 365-Aufgabenordner gespeichert "
+"werden"
+
+#: ../src/Microsoft365/calendar/e-cal-backend-m365-utils.c:1629
msgid "Microsoft 365 calendar cannot store more than one recurrence"
msgstr "Microsoft 365-Kalender kann nicht mehr als eine Wiederholung speichern"
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:1672
+#: ../src/Microsoft365/calendar/e-cal-backend-m365-utils.c:1638
msgid ""
"Microsoft 365 calendar cannot store component with RDATE, EXDATE or RRULE "
"properties"
@@ -1629,49 +1667,38 @@
"Microsoft 365-Kalender kann keine Komponente mit RDATE-, EXDATE- oder RRULE-"
"Eigenschaften speichern"
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:1782
+#: ../src/Microsoft365/calendar/e-cal-backend-m365-utils.c:1748
#, c-format
msgid "Unknown recurrence frequency (%d)"
msgstr "Unbekannte Wiederholungsh��ufigkeit (%d)"
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:1927
+#: ../src/Microsoft365/calendar/e-cal-backend-m365-utils.c:1900
msgid "Microsoft 365 calendar cannot store more that one event reminder"
msgstr ""
"Microsoft 365-Kalender kann nicht mehr als eine Ereigniserinnerung speichern"
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:1960
+#: ../src/Microsoft365/calendar/e-cal-backend-m365-utils.c:1933
msgid "Microsoft 365 event can have only a reminder before event start"
msgstr ""
"Microsoft 365-Ereignis darf nur eine Erinnerung vor dem Ereignisstart haben"
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:1973
+#: ../src/Microsoft365/calendar/e-cal-backend-m365-utils.c:1946
msgid "Microsoft 365 task can have only a reminder with absolute time"
msgstr "Microsoft 365-Task darf nur eine Erinnerung mit absoluter Zeit haben"
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:2378
+#: ../src/Microsoft365/calendar/e-cal-backend-m365-utils.c:2383
#, c-format
msgid "Cannot store attachment with URI ���%s���"
msgstr "Anlage mit Adresse ��%s�� kann nicht gespeichert werden"
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:2380
+#: ../src/Microsoft365/calendar/e-cal-backend-m365-utils.c:2385
msgid "Failed to read attachment URI"
msgstr "Fehler beim Lesen der Anlagen-Adresse"
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:2394
+#: ../src/Microsoft365/calendar/e-cal-backend-m365-utils.c:2399
msgid "Failed to get inline attachment data"
msgstr "Fehler beim Abrufen von Inline-Anlagendaten"
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:3213
-msgid "Can store only simple events into Microsoft 365 calendar"
-msgstr ""
-"Nur einfache Ereignisse k��nnen im Microsoft 365-Kalender gespeichert werden"
-
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:3226
-msgid "Can store only simple tasks into Microsoft 365 task folder"
-msgstr ""
-"Nur einfache Aufgaben k��nnen im Microsoft 365-Aufgabenordner gespeichert "
-"werden"
-
#: ../src/Microsoft365/camel/camel-m365-folder.c:491
#: ../src/Microsoft365/camel/camel-m365-folder.c:610
#: ../src/Microsoft365/camel/camel-m365-folder.c:1017
@@ -1718,7 +1745,7 @@
msgstr "E-Mail-Empfang ��ber Microsoft 365"
#: ../src/Microsoft365/camel/camel-m365-store.c:198
-#: ../src/Microsoft365/common/e-m365-connection.c:1221
+#: ../src/Microsoft365/common/e-m365-connection.c:1241
#, c-format
msgid "Malformed URI: ���%s���"
msgstr "Fehlerhafte Adresse: ��%s��"
@@ -1775,7 +1802,7 @@
msgid "Microsoft365"
msgstr "Microsoft365"
-#: ../src/Microsoft365/common/e-m365-connection.c:876
+#: ../src/Microsoft365/common/e-m365-connection.c:885
#, c-format
msgid "Microsoft 365 server is busy, waiting to retry (%d:%02d minute)"
msgid_plural "Microsoft 365 server is busy, waiting to retry (%d:%02d minutes)"
@@ -1786,7 +1813,7 @@
"Der Exchange-Server ist ausgelastet. Warten auf einen erneuten Versuch (%d:"
"%02d Minuten)"
-#: ../src/Microsoft365/common/e-m365-connection.c:882
+#: ../src/Microsoft365/common/e-m365-connection.c:891
#, c-format
msgid "Microsoft 365 server is busy, waiting to retry (%d second)"
msgid_plural "Microsoft 365 server is busy, waiting to retry (%d seconds)"
@@ -1797,16 +1824,16 @@
"Microsoft 365-Server ist ausgelastet und wartet auf einen erneuten Versuch "
"(%d Sekunden)"
-#: ../src/Microsoft365/common/e-m365-connection.c:1007
-#: ../src/Microsoft365/common/e-m365-connection.c:1023
+#: ../src/Microsoft365/common/e-m365-connection.c:1016
+#: ../src/Microsoft365/common/e-m365-connection.c:1043
msgid "Invalid data"
msgstr "Ung��ltige Daten"
-#: ../src/Microsoft365/common/e-m365-connection.c:1021
+#: ../src/Microsoft365/common/e-m365-connection.c:1041
msgid "Operation was cancelled"
msgstr "Die Operation wurde abgebrochen"
-#: ../src/Microsoft365/common/e-m365-connection.c:1699
+#: ../src/Microsoft365/common/e-m365-connection.c:1719
msgid "Failed to parse own Json data"
msgstr "Fehler beim Verarbeiten eigener JSON-Daten"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.46.0/po/sr.po new/evolution-ews-3.46.1/po/sr.po
--- old/evolution-ews-3.46.0/po/sr.po 2022-09-16 07:02:56.000000000 +0200
+++ new/evolution-ews-3.46.1/po/sr.po 2022-10-21 08:12:54.000000000 +0200
@@ -3,21 +3,23 @@
# Copyright �� YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the ewolution-ews package.
# ���������������� �������������� <miroslavnikolic(a)rocketmail.com>, 2012���2022.
+#
msgid ""
msgstr ""
"Project-Id-Version: evolution-ews\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/evolution-ews/issues\n"
-"POT-Creation-Date: 2022-05-18 16:36+0000\n"
-"PO-Revision-Date: 2022-06-12 22:14+0200\n"
+"POT-Creation-Date: 2022-09-16 14:56+0000\n"
+"PO-Revision-Date: 2022-09-20 03:53+0200\n"
"Last-Translator: ���������������� �������������� <miroslavnikolic(a)rocketmail.com>\n"
-"Language-Team: Serbian <gnome-sr(a)googlegroups.org>\n"
+"Language-Team: Serbian <������������ <gnome-sr(a)googlegroups.org>>\n"
"Language: sr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=4; plural=n==1? 3 : n%10==1 && n%100!=11 ? 0 : n"
-"%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+"%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2\n"
"X-Project-Style: gnome\n"
+"X-Generator: Gtranslator 3.36.0\n"
#: ../org.gnome.Evolution-ews.metainfo.xml.in.h:1
#: ../src/EWS/camel/camel-ews-provider.c:68
@@ -31,51 +33,51 @@
msgid "For accessing Exchange servers using Web Services"
msgstr "���� �������������� ������������������ �������������� ������������ ������ ������������"
-#: ../src/EWS/addressbook/e-book-backend-ews.c:2896
+#: ../src/EWS/addressbook/e-book-backend-ews.c:2880
msgid "Fetching contact photos���"
msgstr "���������������� ���������������������� �������������������"
-#: ../src/EWS/addressbook/e-book-backend-ews.c:4089
+#: ../src/EWS/addressbook/e-book-backend-ews.c:4060
msgid "Failed to update GAL:"
msgstr "���������� ���������� ���� �������������� ������:"
-#: ../src/EWS/addressbook/e-book-backend-ews.c:4254
+#: ../src/EWS/addressbook/e-book-backend-ews.c:4225
msgid ""
"Cannot save contact list, it���s only supported on EWS Server 2010 or later"
msgstr ""
"���� �������� ���� �������������� ������������ ����������������, ���������������� ���� �������� ���� EWS ������������������ 2010 "
"������ ��������������"
-#: ../src/EWS/addressbook/e-book-backend-ews.c:4352
+#: ../src/EWS/addressbook/e-book-backend-ews.c:4323
msgid "Failed to set contact photo:"
msgstr "���������� ���������� ���� �������������� ���������������������� ����������������:"
-#: ../src/EWS/calendar/e-cal-backend-ews.c:2034
+#: ../src/EWS/calendar/e-cal-backend-ews.c:2037
msgctxt "FreeBusyType"
msgid "Free"
msgstr "����������������"
-#: ../src/EWS/calendar/e-cal-backend-ews.c:2037
+#: ../src/EWS/calendar/e-cal-backend-ews.c:2040
msgctxt "FreeBusyType"
msgid "Busy"
msgstr "������������"
-#: ../src/EWS/calendar/e-cal-backend-ews.c:2039
+#: ../src/EWS/calendar/e-cal-backend-ews.c:2042
msgctxt "FreeBusyType"
msgid "Out of Office"
msgstr "������ ����������������������"
-#: ../src/EWS/calendar/e-cal-backend-ews.c:2041
+#: ../src/EWS/calendar/e-cal-backend-ews.c:2044
msgctxt "FreeBusyType"
msgid "Tentative"
msgstr "��������������������"
-#: ../src/EWS/calendar/e-cal-backend-ews.c:2621
-#: ../src/EWS/calendar/e-cal-backend-ews.c:2895
+#: ../src/EWS/calendar/e-cal-backend-ews.c:2624
+#: ../src/EWS/calendar/e-cal-backend-ews.c:2898
msgid "Cannot determine EWS ItemId"
msgstr "���� �������� ���� �������������� ���EWS ItemId���"
-#: ../src/EWS/calendar/e-cal-backend-ews.c:3192
+#: ../src/EWS/calendar/e-cal-backend-ews.c:3197
msgid ""
"Cannot create meetings organized by other users in an Exchange Web Services "
"calendar."
@@ -83,12 +85,29 @@
"���� �������� ���� ���������������� ���������������� �������� ���� ������������������������ ������������������ �� ������������������ "
"������������ ������ ��������������."
-#: ../src/EWS/calendar/e-cal-backend-ews.c:3902
+#: ../src/EWS/calendar/e-cal-backend-ews.c:3234
+msgid "Online meeting can be created only in the main user Calendar."
+msgstr ""
+"���������������� ���� ���������� ���� �������� ������������������ �������� �� �������������� ������������������ ������������������."
+
+#: ../src/EWS/calendar/e-cal-backend-ews.c:3948
#, c-format
msgid "Cannot find user ���%s��� between attendees"
msgstr "���� �������� ���� ���������� ������������������ ���%s��� �������� ��������������������"
-#: ../src/EWS/calendar/e-cal-backend-ews-utils.c:2103
+#: ../src/EWS/calendar/e-cal-backend-ews-m365.c:40
+msgid ""
+"Cannot connect to the server, repeat the action once you login to the server."
+msgstr ""
+"���� �������� ���� ���� �������������� ���� ������������, ���������������� ���������� �������� ���� ������������������ ���� ������������."
+
+#. Translators: The '%s' is replaced with a UID of the collection source
+#: ../src/EWS/calendar/e-cal-backend-ews-m365.c:148
+#, c-format
+msgid "Cannot find Microsoft365 helper source for calendar ���%s���"
+msgstr "���� �������� ���� ���������� ���������� ���Microsoft365��� ������������������ ���� ���������������� ���%s���"
+
+#: ../src/EWS/calendar/e-cal-backend-ews-utils.c:2089
msgid "Invalid occurrence ID"
msgstr "�������������������� ���� ����������������"
@@ -306,7 +325,7 @@
msgstr "������������������ ������������ ����������������"
#: ../src/EWS/camel/camel-ews-store.c:2345
-#: ../src/Microsoft365/camel/camel-m365-store.c:628
+#: ../src/Microsoft365/camel/camel-m365-store.c:629
#, c-format
msgid "No such folder: %s"
msgstr "�������� ���������� ����������������: %s"
@@ -320,7 +339,7 @@
msgstr "���� �������� ���� ���������������� EWS ���������� ����������������"
#: ../src/EWS/camel/camel-ews-store.c:2878
-#: ../src/Microsoft365/camel/camel-m365-store.c:691
+#: ../src/Microsoft365/camel/camel-m365-store.c:692
#, c-format
msgid "Cannot create folder ���%s���, folder already exists"
msgstr "���� �������� ���� ���������������� ���������������� ���%s���, ���������������� ������ ��������������"
@@ -345,7 +364,7 @@
"���� �������� ���� ���������������� ���������������� ������ ���%s���, �������������� ���� �������� ���� ���������� ����������������"
#: ../src/EWS/camel/camel-ews-store.c:3020
-#: ../src/Microsoft365/camel/camel-m365-store.c:879
+#: ../src/Microsoft365/camel/camel-m365-store.c:880
#, c-format
msgid "Folder does not exist"
msgstr "���������������� ���� ��������������"
@@ -404,13 +423,13 @@
msgstr "������������ �������������� ���� ���%s��� ���� ���%s���"
#: ../src/EWS/camel/camel-ews-store.c:3402
-#: ../src/Microsoft365/camel/camel-m365-store.c:1453
+#: ../src/Microsoft365/camel/camel-m365-store.c:1454
#, c-format
msgid "Could not locate Trash folder"
msgstr "���� �������� ���� ���������������� ���������������� ���� ����������"
#: ../src/EWS/camel/camel-ews-store.c:3462
-#: ../src/Microsoft365/camel/camel-m365-store.c:1511
+#: ../src/Microsoft365/camel/camel-m365-store.c:1512
#, c-format
msgid "Could not locate Junk folder"
msgstr "���� �������� ���� ���������������� ���������������� ���� ����������"
@@ -435,8 +454,8 @@
msgstr "���� �������� ���� ���������������� ������������������ EWS ���������������� �� ������������ ������ ����������"
#: ../src/EWS/camel/camel-ews-store.c:3882
-#: ../src/Microsoft365/camel/camel-m365-store.c:1771
-#: ../src/Microsoft365/camel/camel-m365-store.c:1784
+#: ../src/Microsoft365/camel/camel-m365-store.c:1772
+#: ../src/Microsoft365/camel/camel-m365-store.c:1785
#, c-format
msgid "You must be working online to complete this operation"
msgstr "������������ ���� ������������ ���� ���������� ���� ���������� ���������������� ������ ����������"
@@ -457,7 +476,6 @@
#: ../src/EWS/camel/camel-ews-transport.c:173
#: ../src/Microsoft365/camel/camel-m365-transport.c:172
#, c-format
-#| msgid "Malformed URI: ���%s���"
msgid "Invalid folder URI ���%s���"
msgstr "���������� ������������: �������������%s���"
@@ -508,25 +526,17 @@
"������������, ��������������, �������������� ������ �������������� ������������������ ������ ������������������ �� ���� ���������������� "
"��������������."
-#: ../src/EWS/common/e-ews-camel-common.c:388
+#: ../src/EWS/common/e-ews-camel-common.c:387
#, c-format
msgid "CreateItem call failed to return ID for new message"
msgstr "���������� ����������������� ��������������� �������� ���������� ���� ���������� ���� ���� �������� ������������"
-#: ../src/EWS/common/e-ews-connection.c:828
-msgid "Operation Cancelled"
-msgstr "���������� ���� ����������������"
-
-#: ../src/EWS/common/e-ews-connection.c:1001
-msgid "Authentication failed"
-msgstr "������������������ ��������������"
-
-#: ../src/EWS/common/e-ews-connection.c:1028
+#: ../src/EWS/common/e-ews-connection.c:344
#, c-format
msgid "No response: %s"
msgstr "�������� ����������������: %s"
-#: ../src/EWS/common/e-ews-connection.c:1096
+#: ../src/EWS/common/e-ews-connection.c:509
#, c-format
msgid "Exchange server is busy, waiting to retry (%d:%02d minute)"
msgid_plural "Exchange server is busy, waiting to retry (%d:%02d minutes)"
@@ -535,7 +545,7 @@
msgstr[2] "������������ �������������� ���� ������������, ���������� ���� �������������� ������������ (%d:%02d ������������)"
msgstr[3] "������������ �������������� ���� ������������, ���������� ���� �������������� ������������ (���������� ����������)"
-#: ../src/EWS/common/e-ews-connection.c:1102
+#: ../src/EWS/common/e-ews-connection.c:515
#, c-format
msgid "Exchange server is busy, waiting to retry (%d second)"
msgid_plural "Exchange server is busy, waiting to retry (%d seconds)"
@@ -544,74 +554,74 @@
msgstr[2] "������������ �������������� ���� ������������, ���������� ���� �������������� ������������ (%d ��������������)"
msgstr[3] "������������ �������������� ���� ������������, ���������� ���� �������������� ������������ (���������� ��������������)"
-#: ../src/EWS/common/e-ews-connection.c:3238
-#, c-format
+#: ../src/EWS/common/e-ews-connection.c:644
+msgid "Authentication failed"
+msgstr "������������������ ��������������"
+
+#: ../src/EWS/common/e-ews-connection.c:2389
msgid "Failed to parse autodiscover response XML"
msgstr "���������� ���������� ���� �������������� ������������������������������ �������������� ����������"
-#: ../src/EWS/common/e-ews-connection.c:3245
-#, c-format
+#: ../src/EWS/common/e-ews-connection.c:2395
msgid "Failed to find <Autodiscover> element"
msgstr "���������� ���������� ���� ���������������� �������������� <��������������������������>"
-#: ../src/EWS/common/e-ews-connection.c:3256
-#, c-format
+#: ../src/EWS/common/e-ews-connection.c:2405
msgid "Failed to find <Response> element"
msgstr "���������� ���������� ���� ���������������� �������������� <��������������>"
-#: ../src/EWS/common/e-ews-connection.c:3267
-#, c-format
+#: ../src/EWS/common/e-ews-connection.c:2415
msgid "Failed to find <Account> element"
msgstr "���������� ���������� ���� ���������������� �������������� <����������>"
-#: ../src/EWS/common/e-ews-connection.c:3313
-#, c-format
+#: ../src/EWS/common/e-ews-connection.c:2460
msgid "Failed to find <ASUrl> in autodiscover response"
msgstr "���������� ���������� ���� ���������������� <ASUrl> �� ���������������� ��������������������������"
-#: ../src/EWS/common/e-ews-connection.c:3499
+#: ../src/EWS/common/e-ews-connection.c:2536
msgid "URL cannot be NULL"
msgstr "������������ ���� �������� �������� ����������������"
-#: ../src/EWS/common/e-ews-connection.c:3507
-#, c-format
-msgid "URL ���%s��� is not valid"
-msgstr "������������ ���%s��� �������� ����������������"
-
-#: ../src/EWS/common/e-ews-connection.c:3806
+#: ../src/EWS/common/e-ews-connection.c:2954
msgid "Email address is missing a domain part"
msgstr "��-���������� ������������������ ������ ������������"
-#: ../src/EWS/common/e-ews-connection.c:4115
+#: ../src/EWS/common/e-ews-connection.c:3163
msgid "Failed to parse oab XML"
msgstr "���������� ���������� ���� �������������� ������ ����������"
-#: ../src/EWS/common/e-ews-connection.c:4123
+#: ../src/EWS/common/e-ews-connection.c:3201
msgid "Failed to find <OAB> element\n"
msgstr "���������� ���������� ���� ���������������� �������������� <������>\n"
-#: ../src/EWS/common/e-ews-connection.c:5412
-msgid "No items found"
-msgstr "���������� ���������������� �������������� ������������"
+#: ../src/EWS/common/e-ews-connection.c:8726
+#| msgid "Requires at least Microsoft Exchange 2007 SP1 server"
+msgid "Requires at least Microsoft Exchange 2010 SP1 server"
+msgstr "�������������� ���������� ������������ �������������������� �������������� 2010 SP1"
+
+#: ../src/EWS/common/e-ews-connection.c:8827
+#| msgid "Requires at least Microsoft Exchange 2007 SP1 server"
+msgid "Requires at least Microsoft Exchange 2013 server"
+msgstr "�������������� ���������� ������������ �������������������� �������������� 2013"
+
+#: ../src/EWS/common/e-ews-connection.c:8980
+#| msgid "Requires at least Microsoft Exchange 2007 SP1 server"
+msgid "Requires at least Microsoft Exchange 2010 server"
+msgstr "�������������� ���������� ������������ �������������������� �������������� 2010"
-#: ../src/EWS/common/e-ews-connection.c:11883
+#: ../src/EWS/common/e-ews-connection.c:9120
msgid "Requires at least Microsoft Exchange 2007 SP1 server"
msgstr "�������������� ���������� ������������ �������������������� �������������� 2007 SP1"
-#: ../src/EWS/common/e-ews-connection-utils.c:185
+#: ../src/EWS/common/e-ews-connection-utils.c:206
#, c-format
msgid "Password expired. Change password at ���%s���."
msgstr "�������������� ���� ��������������. ������������������ �������������� ���� ���%s���."
-#: ../src/EWS/common/e-ews-connection-utils.c:188
+#: ../src/EWS/common/e-ews-connection-utils.c:209
msgid "Password expired."
msgstr "�������������� ���� ��������������."
-#: ../src/EWS/common/e-ews-connection-utils.c:422
-#: ../src/Microsoft365/common/e-m365-connection.c:237
-msgid "Unknown error"
-msgstr "������������������ ������������"
-
#: ../src/EWS/common/e-ews-folder.c:781
msgid "Cannot add folder, unsupported folder type"
msgstr "���� �������� ���� ���������� ����������������, �������������������� ���������� ����������������"
@@ -652,6 +662,14 @@
msgid "Tries to look up for user photo"
msgstr "���������������� ���� �������������� ���������� ������������������"
+#: ../src/EWS/evolution/e-ews-comp-editor-extension.c:195
+msgid "Online Meeting"
+msgstr "���������������� ���� ����������"
+
+#: ../src/EWS/evolution/e-ews-comp-editor-extension.c:197
+msgid "Create the meeting as an online meeting in the main user calendar"
+msgstr "������������������ ���������������� ������ ���������������� ���� ���������� �� �������������� ������������������ ������������������"
+
#: ../src/EWS/evolution/e-ews-config-lookup.c:182
msgid "Exchange Web Services autodiscovery"
msgstr "�������������������������� ������ ������������ ��������������"
@@ -1118,11 +1136,11 @@
msgid "%s ��� %s"
msgstr "%s ��� %s"
-#: ../src/EWS/evolution/e-mail-config-ews-autodiscover.c:267
+#: ../src/EWS/evolution/e-mail-config-ews-autodiscover.c:261
msgid "Querying Autodiscover service"
msgstr "�������������������� ������������ ��������������������������"
-#: ../src/EWS/evolution/e-mail-config-ews-autodiscover.c:360
+#: ../src/EWS/evolution/e-mail-config-ews-autodiscover.c:354
msgid "Fetch _URL"
msgstr "������������ _������������"
@@ -1333,7 +1351,7 @@
msgstr "���������������� ������������������ �������������� ����������������, ���������������������"
#: ../src/EWS/evolution/e-mail-config-ews-delegates-page.c:1001
-#: ../src/EWS/evolution/e-mail-config-ews-delegates-page.c:1623
+#: ../src/EWS/evolution/e-mail-config-ews-delegates-page.c:1548
msgid "Delegates"
msgstr "��������������������"
@@ -1375,7 +1393,7 @@
msgid "My delegates a_nd me"
msgstr "�������� �������������������� �� _����"
-#: ../src/EWS/evolution/e-mail-config-ews-delegates-page.c:1695
+#: ../src/EWS/evolution/e-mail-config-ews-delegates-page.c:1620
msgid "Retrieving ���Delegates��� settings"
msgstr "���������������� �������������������� ��������������������������"
@@ -1415,7 +1433,7 @@
msgstr "�������������� ������������������ ����������������"
#: ../src/EWS/evolution/e-mail-config-ews-gal.c:256
-#: ../src/EWS/registry/e-ews-backend.c:546
+#: ../src/EWS/registry/e-ews-backend.c:552
msgid "Global Address List"
msgstr "������������ ������������ ������������"
@@ -1570,21 +1588,21 @@
msgid "Folder of user ���{0}��� had been subscribed successfully."
msgstr "���������������� ������������������ ���{0}��� ���� �������������� ����������������������."
-#: ../src/EWS/registry/e-ews-backend.c:1000
-#: ../src/Microsoft365/registry/e-m365-backend.c:689
+#: ../src/EWS/registry/e-ews-backend.c:1094
+#: ../src/Microsoft365/registry/e-m365-backend.c:696
#, c-format
msgid "Could not determine a suitable folder class for a new folder named ���%s���"
msgstr ""
"���� �������� ���� �������������� ������������������������ ������������ ���������������� ���� �������� ���������������� ������ �������������� "
"���%s���"
-#: ../src/EWS/registry/e-ews-backend.c:1089
+#: ../src/EWS/registry/e-ews-backend.c:1183
#, c-format
msgid "Data source ���%s��� does not represent an Exchange Web Services folder"
msgstr "���������� ���������������� ���%s��� ���� �������������������� ���������������� ������ ������������ ��������������"
#: ../src/Microsoft365/addressbook/e-book-backend-m365.c:1427
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:2941
+#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:389
msgid "Folder ID is not set"
msgstr "���� ���������������� �������� ������������������"
@@ -1592,11 +1610,20 @@
msgid "Cannot save contact list into a Microsoft 365 address book"
msgstr "���� �������� ���� �������������� ������������ ������������������ �� �������������� ���������������������� 365"
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:1663
+#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:661
+msgid "Can store only simple events into Microsoft 365 calendar"
+msgstr "�������� ���� �������������� �������� ���������������������� ���������������� �� ���������������� ���������������������� 365"
+
+#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:674
+msgid "Can store only simple tasks into Microsoft 365 task folder"
+msgstr ""
+"�������� ���� �������������� �������� ���������������������� �������������� �� ���������������� ���������������� ���������������������� 365"
+
+#: ../src/Microsoft365/calendar/e-cal-backend-m365-utils.c:1629
msgid "Microsoft 365 calendar cannot store more than one recurrence"
msgstr "���������������� ���������������������� 365 ���� �������� ���� ������������ �������� ���� ������������ ������������������"
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:1672
+#: ../src/Microsoft365/calendar/e-cal-backend-m365-utils.c:1638
msgid ""
"Microsoft 365 calendar cannot store component with RDATE, EXDATE or RRULE "
"properties"
@@ -1604,48 +1631,39 @@
"���������������� ���������������������� 365 ���� �������� ���� ������������ ���������������� ���� ���RDATE���, ���EXDATE��� ������ "
"���RRULE��� ��������������������"
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:1782
+#: ../src/Microsoft365/calendar/e-cal-backend-m365-utils.c:1748
#, c-format
msgid "Unknown recurrence frequency (%d)"
msgstr "������������������ �������������������� ������������������ (%d)"
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:1927
+#: ../src/Microsoft365/calendar/e-cal-backend-m365-utils.c:1900
msgid "Microsoft 365 calendar cannot store more that one event reminder"
msgstr ""
"���������������� ���������������������� 365 ���� �������� ���� ������������ �������� ���� ������������ �������������������� ����������������"
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:1960
+#: ../src/Microsoft365/calendar/e-cal-backend-m365-utils.c:1933
msgid "Microsoft 365 event can have only a reminder before event start"
msgstr ""
"�������������� ���������������������� 365 �������� ���� ������ �������� ������������������ ������ �������������� ���������������� "
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:1973
+#: ../src/Microsoft365/calendar/e-cal-backend-m365-utils.c:1946
msgid "Microsoft 365 task can have only a reminder with absolute time"
msgstr ""
"�������������� ���������������������� 365 �������� ���� ������ �������� ������������������ ���� �������������������� ����������������"
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:2378
+#: ../src/Microsoft365/calendar/e-cal-backend-m365-utils.c:2383
#, c-format
msgid "Cannot store attachment with URI ���%s���"
msgstr "���� �������� ���� �������������� ������������ ���� �������������� ���%s���"
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:2380
+#: ../src/Microsoft365/calendar/e-cal-backend-m365-utils.c:2385
msgid "Failed to read attachment URI"
msgstr "���������� ���������� ���� ���������������� ������������ ��������������"
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:2394
+#: ../src/Microsoft365/calendar/e-cal-backend-m365-utils.c:2399
msgid "Failed to get inline attachment data"
msgstr "���������� ���������� ���� �������������� ���������������� ������������������ ��������������"
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:3213
-msgid "Can store only simple events into Microsoft 365 calendar"
-msgstr "�������� ���� �������������� �������� ���������������������� ���������������� �� ���������������� ���������������������� 365"
-
-#: ../src/Microsoft365/calendar/e-cal-backend-m365.c:3226
-msgid "Can store only simple tasks into Microsoft 365 task folder"
-msgstr ""
-"�������� ���� �������������� �������� ���������������������� �������������� �� ���������������� ���������������� ���������������������� 365"
-
#: ../src/Microsoft365/camel/camel-m365-folder.c:491
#: ../src/Microsoft365/camel/camel-m365-folder.c:610
#: ../src/Microsoft365/camel/camel-m365-folder.c:1017
@@ -1692,31 +1710,31 @@
msgstr "������������ ���������� ���������� ���������������������� 365"
#: ../src/Microsoft365/camel/camel-m365-store.c:198
-#: ../src/Microsoft365/common/e-m365-connection.c:1527
+#: ../src/Microsoft365/common/e-m365-connection.c:1241
#, c-format
msgid "Malformed URI: ���%s���"
msgstr "�������� ������������: ���%s���"
-#: ../src/Microsoft365/camel/camel-m365-store.c:531
+#: ../src/Microsoft365/camel/camel-m365-store.c:532
msgid "Look up Microsoft 365 categories"
msgstr "�������������������� �������������������� ���������������������� 365"
-#: ../src/Microsoft365/camel/camel-m365-store.c:540
+#: ../src/Microsoft365/camel/camel-m365-store.c:541
#: ../src/Microsoft365/camel/camel-m365-transport.c:330
msgid "Failed to create connection"
msgstr "���������� ���������� ���� ���������������� ��������"
-#: ../src/Microsoft365/camel/camel-m365-store.c:705
+#: ../src/Microsoft365/camel/camel-m365-store.c:706
#, c-format
msgid "Parent folder ���%s��� does not exist"
msgstr "���� �������������� �������������������� ���������������� ���%s���"
-#: ../src/Microsoft365/camel/camel-m365-store.c:892
+#: ../src/Microsoft365/camel/camel-m365-store.c:893
msgid "Cannot find ���Deleted Items��� folder"
msgstr "���� �������� ���� ���������������� ���������������� ������������������� ���������������"
-#: ../src/Microsoft365/camel/camel-m365-store.c:983
-#: ../src/Microsoft365/camel/camel-m365-store.c:1021
+#: ../src/Microsoft365/camel/camel-m365-store.c:984
+#: ../src/Microsoft365/camel/camel-m365-store.c:1022
#, c-format
msgid "Folder ���%s��� does not exist"
msgstr "���� �������������� ���������������� ���%s���"
@@ -1748,7 +1766,7 @@
msgid "Microsoft365"
msgstr "������������������365"
-#: ../src/Microsoft365/common/e-m365-connection.c:1181
+#: ../src/Microsoft365/common/e-m365-connection.c:885
#, c-format
msgid "Microsoft 365 server is busy, waiting to retry (%d:%02d minute)"
msgid_plural "Microsoft 365 server is busy, waiting to retry (%d:%02d minutes)"
@@ -1761,7 +1779,7 @@
msgstr[3] ""
"������������ ���������������������� 365 ���� ������������, ���������� ���� �������������� ������������ (���������� ����������)"
-#: ../src/Microsoft365/common/e-m365-connection.c:1187
+#: ../src/Microsoft365/common/e-m365-connection.c:891
#, c-format
msgid "Microsoft 365 server is busy, waiting to retry (%d second)"
msgid_plural "Microsoft 365 server is busy, waiting to retry (%d seconds)"
@@ -1774,7 +1792,17 @@
msgstr[3] ""
"������������ ���������������������� 365 ���� ������������, ���������� ���� �������������� ������������ (���������� ��������������)"
-#: ../src/Microsoft365/common/e-m365-connection.c:2043
+#: ../src/Microsoft365/common/e-m365-connection.c:1016
+#: ../src/Microsoft365/common/e-m365-connection.c:1043
+msgid "Invalid data"
+msgstr "�������������������� ������������"
+
+#: ../src/Microsoft365/common/e-m365-connection.c:1041
+#| msgid "Operation Cancelled"
+msgid "Operation was cancelled"
+msgstr "���������� ���� ����������������"
+
+#: ../src/Microsoft365/common/e-m365-connection.c:1719
msgid "Failed to parse own Json data"
msgstr "���������� ���������� ���� �������������� ������������������ �������� ��������������"
@@ -1799,11 +1827,20 @@
msgid "_Redirect URI:"
msgstr "_������������ ����������������������:"
-#: ../src/Microsoft365/registry/e-m365-backend.c:780
+#: ../src/Microsoft365/registry/e-m365-backend.c:787
#, c-format
msgid "Data source ���%s��� does not represent a Microsoft 365 folder"
msgstr "���������� ���������������� ���%s��� ���� �������������������� ���������������� ���������������������� 365"
+#~ msgid "URL ���%s��� is not valid"
+#~ msgstr "������������ ���%s��� �������� ����������������"
+
+#~ msgid "No items found"
+#~ msgstr "���������� ���������������� �������������� ������������"
+
+#~ msgid "Unknown error"
+#~ msgstr "������������������ ������������"
+
#~ msgid "User ���%s��� was not found on the server"
#~ msgstr "���������� ���������������� ������������������ ���%s��� ���� ��������������"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.46.0/src/EWS/addressbook/e-book-backend-ews.c new/evolution-ews-3.46.1/src/EWS/addressbook/e-book-backend-ews.c
--- old/evolution-ews-3.46.0/src/EWS/addressbook/e-book-backend-ews.c 2022-09-16 07:02:56.000000000 +0200
+++ new/evolution-ews-3.46.1/src/EWS/addressbook/e-book-backend-ews.c 2022-10-21 08:12:54.000000000 +0200
@@ -2256,12 +2256,13 @@
e_vcard_attribute_add_value (attr, value);
e_vcard_append_attribute (E_VCARD (*contact), attr);
- if (values)
- g_hash_table_insert (values, g_strdup (value), GINT_TO_POINTER (1));
- } else {
- g_free (value);
+ if (values) {
+ g_hash_table_insert (values, value, GINT_TO_POINTER (1));
+ value = NULL;
+ }
}
+ g_free (value);
g_object_unref (addr);
}
@@ -4546,7 +4547,7 @@
uri = g_uri_parse (host_url, SOUP_HTTP_URI_FLAGS | G_URI_FLAGS_PARSE_RELAXED, NULL);
if (uri) {
*host = g_strdup (g_uri_get_host (uri));
- *port = g_uri_get_port (uri);
+ *port = g_uri_get_port (uri) > 0 ? g_uri_get_port (uri) : 0;
result = *host && **host;
if (!result) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.46.0/src/EWS/calendar/e-cal-backend-ews.c new/evolution-ews-3.46.1/src/EWS/calendar/e-cal-backend-ews.c
--- old/evolution-ews-3.46.0/src/EWS/calendar/e-cal-backend-ews.c 2022-09-16 07:02:56.000000000 +0200
+++ new/evolution-ews-3.46.1/src/EWS/calendar/e-cal-backend-ews.c 2022-10-21 08:12:54.000000000 +0200
@@ -4613,7 +4613,7 @@
uri = g_uri_parse (host_url, SOUP_HTTP_URI_FLAGS | G_URI_FLAGS_PARSE_RELAXED, NULL);
if (uri) {
*host = g_strdup (g_uri_get_host (uri));
- *port = g_uri_get_port (uri);
+ *port = g_uri_get_port (uri) > 0 ? g_uri_get_port (uri) : 0;
result = *host && **host;
if (!result) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.46.0/src/EWS/common/e-ews-connection.c new/evolution-ews-3.46.1/src/EWS/common/e-ews-connection.c
--- old/evolution-ews-3.46.0/src/EWS/common/e-ews-connection.c 2022-09-16 07:02:56.000000000 +0200
+++ new/evolution-ews-3.46.1/src/EWS/common/e-ews-connection.c 2022-10-21 08:12:54.000000000 +0200
@@ -4814,6 +4814,8 @@
}
}
}
+
+ break;
}
subparam = e_soap_parameter_get_next_child (subparam);
@@ -5119,14 +5121,16 @@
g_free (prop);
for (subparam = e_soap_parameter_get_first_child_by_name (subparam, "Mailbox");
- subparam != NULL;
- subparam = e_soap_parameter_get_next_child_by_name (subparam, "Mailbox")) {
+ subparam != NULL;
+ subparam = e_soap_parameter_get_next_child_by_name (subparam, "Mailbox")) {
EwsMailbox *mb;
mb = e_ews_item_mailbox_from_soap_param (subparam);
if (mb)
*out_mailboxes = g_slist_prepend (*out_mailboxes, mb);
}
+
+ break;
}
subparam = e_soap_parameter_get_next_child (subparam);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.46.0/src/EWS/common/e-soap-response.c new/evolution-ews-3.46.1/src/EWS/common/e-soap-response.c
--- old/evolution-ews-3.46.0/src/EWS/common/e-soap-response.c 2022-09-16 07:02:56.000000000 +0200
+++ new/evolution-ews-3.46.1/src/EWS/common/e-soap-response.c 2022-10-21 08:12:54.000000000 +0200
@@ -681,7 +681,7 @@
/**
* e_soap_parameter_get_first_child:
- * @param: An #ESoapParameter.
+ * @param: (nullable): An #ESoapParameter.
*
* Gets the first child of the given #ESoapParameter. This is used
* for compound data types, which can contain several parameters
@@ -692,14 +692,15 @@
ESoapParameter *
e_soap_parameter_get_first_child (ESoapParameter *param)
{
- g_return_val_if_fail (param != NULL, NULL);
+ if (!param)
+ return NULL;
return soup_xml_real_node (param->children);
}
/**
* e_soap_parameter_get_first_child_by_name:
- * @param: An #ESoapParameter.
+ * @param: (nullable): An #ESoapParameter.
* @name: The name of the child parameter to look for.
*
* Gets the first child of the given #ESoapParameter whose name is
@@ -714,7 +715,6 @@
{
ESoapParameter *tmp;
- g_return_val_if_fail (param != NULL, NULL);
g_return_val_if_fail (name != NULL, NULL);
for (tmp = e_soap_parameter_get_first_child (param);
@@ -729,7 +729,7 @@
/**
* e_soap_parameter_get_next_child:
- * @param: An #ESoapParameter.
+ * @param: (nullable): An #ESoapParameter, or %NULL.
*
* Gets the next sibling of the given #ESoapParameter. This is used
* for compound data types, which can contain several parameters
@@ -743,14 +743,15 @@
ESoapParameter *
e_soap_parameter_get_next_child (ESoapParameter *param)
{
- g_return_val_if_fail (param != NULL, NULL);
+ if (!param)
+ return NULL;
return soup_xml_real_node (param->next);
}
/**
* e_soap_parameter_get_next_child_by_name:
- * @param: An #ESoapParameter.
+ * @param: (nullable): An #ESoapParameter.
* @name: The name of the sibling parameter to look for.
*
* Gets the next sibling of the given #ESoapParameter whose name is
@@ -766,7 +767,6 @@
{
ESoapParameter *tmp;
- g_return_val_if_fail (param != NULL, NULL);
g_return_val_if_fail (name != NULL, NULL);
for (tmp = e_soap_parameter_get_next_child (param);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.46.0/src/EWS/evolution/e-ews-config-lookup.c new/evolution-ews-3.46.1/src/EWS/evolution/e-ews-config-lookup.c
--- old/evolution-ews-3.46.0/src/EWS/evolution/e-ews-config-lookup.c 2022-09-16 07:02:56.000000000 +0200
+++ new/evolution-ews-3.46.1/src/EWS/evolution/e-ews-config-lookup.c 2022-10-21 08:12:54.000000000 +0200
@@ -253,7 +253,7 @@
"host", g_uri_get_host (uri));
}
- if (uri && g_uri_get_port (uri)) {
+ if (uri && g_uri_get_port (uri) > 0) {
e_config_lookup_result_simple_add_uint (lookup_result,
E_SOURCE_EXTENSION_AUTHENTICATION,
"port", g_uri_get_port (uri));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.46.0/src/EWS/registry/e-ews-backend.c new/evolution-ews-3.46.1/src/EWS/registry/e-ews-backend.c
--- old/evolution-ews-3.46.0/src/EWS/registry/e-ews-backend.c 2022-09-16 07:02:56.000000000 +0200
+++ new/evolution-ews-3.46.1/src/EWS/registry/e-ews-backend.c 2022-10-21 08:12:54.000000000 +0200
@@ -1246,7 +1246,7 @@
uri = g_uri_parse (host_url, SOUP_HTTP_URI_FLAGS | G_URI_FLAGS_PARSE_RELAXED, NULL);
if (uri) {
*host = g_strdup (g_uri_get_host (uri));
- *port = g_uri_get_port (uri);
+ *port = g_uri_get_port (uri) > 0 ? g_uri_get_port (uri) : 0;
result = *host && **host;
if (!result) {
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package evolution for openSUSE:Factory checked in at 2022-10-22 14:12:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/evolution (Old)
and /work/SRC/openSUSE:Factory/.evolution.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "evolution"
Sat Oct 22 14:12:33 2022 rev:261 rq:1030391 version:3.46.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/evolution/evolution.changes 2022-09-21 14:40:48.689485230 +0200
+++ /work/SRC/openSUSE:Factory/.evolution.new.2275/evolution.changes 2022-10-22 14:13:08.240745151 +0200
@@ -1,0 +2,42 @@
+Fri Oct 21 06:47:56 UTC 2022 - Bj��rn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 3.46.1:
+ + Calendar: Compare date with correct zone
+ + publish-calendar: Correct type of a 'port' variable to match
+ GUri's port type
+ + Fix possible crash under type_ahead_complete_on_timeout_cb()
+ + EWebView: Make sure an error is set when passing it to
+ webkit_uri_scheme_request_finish_error()
+ + EHTTPRequest: Rearrange free functions and set error on failure
+ + help: Replace to-be-retired mailing list with GNOME Discourse
+ link
+ + Bugs fixed:
+ - Add option to disable use of header bars
+ - Calendar:
+ . Decode attendee names in meeting editor
+ . Meeting's Reply-To-All should not use attendee response in
+ Subject
+ . Periodically refresh Marcus Bains line
+ - Contacts: Correct print of multiline text
+ - EHeaderBarButton: Avoid busy loop on toggle action's 'active'
+ change
+ - Enable sandboxing for WebKitGTK 2.38.0+
+ - EShellHeaderBar: Disable subtitle for the header bar
+ - Fix possible memory leak in e_table_state_load_from_node()
+ - Group Manager: Auto-deselect sources in to be hidden groups
+ - Hide extra separators in Composer, Mail and Calendar view
+ toolbars
+ - Limit number of previewed messages on mbox file import
+ - Mail:
+ . Hide print Preview in the menu
+ . Update preview's iframe height to match its content
+ - Make it possible to disable GOA accounts
+ - New-Mail-Account: 'Skip Lookup' button not removed
+ - prefer-plain:
+ . 'related' under 'alternative' shows 'html' part
+ . Runtime warnings for "Only ever show plain text"
+ - Tasks: Correct interpretation of Due DATE value
+ - VEVENT components should not contain both DTEND and DURATION
+ + Updated translations.
+
+-------------------------------------------------------------------
Old:
----
evolution-3.46.0.tar.xz
New:
----
evolution-3.46.1.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ evolution.spec ++++++
--- /var/tmp/diff_new_pack.65smaK/_old 2022-10-22 14:13:08.812746507 +0200
+++ /var/tmp/diff_new_pack.65smaK/_new 2022-10-22 14:13:08.816746516 +0200
@@ -20,7 +20,7 @@
%define _version %(echo %{version} | grep -E -o '[0-9]+\.[0-9]+\.[0-9]+')
Name: evolution
-Version: 3.46.0
+Version: 3.46.1
Release: 0
# FIXME: check if note on license is still valid (comment before license)
Summary: The Integrated GNOME Mail, Calendar, and Address Book Suite
++++++ evolution-3.46.0.tar.xz -> evolution-3.46.1.tar.xz ++++++
/work/SRC/openSUSE:Factory/evolution/evolution-3.46.0.tar.xz /work/SRC/openSUSE:Factory/.evolution.new.2275/evolution-3.46.1.tar.xz differ: char 26, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package evolution-data-server for openSUSE:Factory checked in at 2022-10-22 14:12:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/evolution-data-server (Old)
and /work/SRC/openSUSE:Factory/.evolution-data-server.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "evolution-data-server"
Sat Oct 22 14:12:32 2022 rev:240 rq:1030390 version:3.46.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/evolution-data-server/evolution-data-server.changes 2022-09-21 14:40:45.957477654 +0200
+++ /work/SRC/openSUSE:Factory/.evolution-data-server.new.2275/evolution-data-server.changes 2022-10-22 14:13:04.648736639 +0200
@@ -1,0 +2,19 @@
+Fri Oct 21 06:44:20 UTC 2022 - Bj��rn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 3.46.1:
+ + po: Merge .source files back to the POTFILES.in
+ + IMAPX: Hide complete requests in debug logs for some sensitive
+ commands
+ + Handle negative value for GUri's port
+ + CamelDB: Fix an uninitialized variable warning
+ + Bugs Fixed:
+ - LDAP:
+ . Possible memory leak in build_mods_from_contacts()
+ . Use valid values for error paths of contact create/remove
+ - Serialize OAuth2 token refresh for an account
+ - IMAP: Does not forget renamed folders on the server
+ - Tautology in e_named_parameters_equal()
+ - camel-db.c: Rearrange transaction handling
+ + Updated translations.
+
+-------------------------------------------------------------------
Old:
----
evolution-data-server-3.46.0.tar.xz
New:
----
evolution-data-server-3.46.1.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ evolution-data-server.spec ++++++
--- /var/tmp/diff_new_pack.xqYEP2/_old 2022-10-22 14:13:05.608738914 +0200
+++ /var/tmp/diff_new_pack.xqYEP2/_new 2022-10-22 14:13:05.612738923 +0200
@@ -32,7 +32,7 @@
%bcond_without introspection
Name: evolution-data-server
-Version: 3.46.0
+Version: 3.46.1
Release: 0
Summary: Evolution Data Server
License: LGPL-2.0-only
++++++ evolution-data-server-3.46.0.tar.xz -> evolution-data-server-3.46.1.tar.xz ++++++
++++ 140611 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package glib2-branding for openSUSE:Factory checked in at 2022-10-22 14:12:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glib2-branding (Old)
and /work/SRC/openSUSE:Factory/.glib2-branding.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glib2-branding"
Sat Oct 22 14:12:31 2022 rev:17 rq:1030389 version:15
Changes:
--------
--- /work/SRC/openSUSE:Factory/glib2-branding/glib2-branding.changes 2022-03-16 21:30:21.107392970 +0100
+++ /work/SRC/openSUSE:Factory/.glib2-branding.new.2275/glib2-branding.changes 2022-10-22 14:13:03.432733757 +0200
@@ -1,0 +2,5 @@
+Mon Oct 17 16:06:38 UTC 2022 - Milachew <milachew(a)mail.lv>
+
+- Fix default openSUSE wallpaper is not present in dark mode (boo#1204138).
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ glib2-branding.gschema.override.in ++++++
--- /var/tmp/diff_new_pack.ghG2Jv/_old 2022-10-22 14:13:04.072735273 +0200
+++ /var/tmp/diff_new_pack.ghG2Jv/_new 2022-10-22 14:13:04.076735283 +0200
@@ -11,6 +11,7 @@
[org.gnome.desktop.background]
## Default wallpaper
picture-uri = "@@WALLPAPER_URI@@"
+picture-uri-dark = "@@WALLPAPER_URI@@"
picture-options = "stretched"
@@IF_openSUSE@@primary-color = "#258c06"
@@IF_openSUSE@@secondary-color = "#258c06"
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package java-17-openjdk for openSUSE:Factory checked in at 2022-10-22 14:12:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/java-17-openjdk (Old)
and /work/SRC/openSUSE:Factory/.java-17-openjdk.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "java-17-openjdk"
Sat Oct 22 14:12:28 2022 rev:14 rq:1030387 version:17.0.5.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/java-17-openjdk/java-17-openjdk.changes 2022-09-18 17:31:55.493718798 +0200
+++ /work/SRC/openSUSE:Factory/.java-17-openjdk.new.2275/java-17-openjdk.changes 2022-10-22 14:12:48.896699308 +0200
@@ -1,0 +2,392 @@
+Fri Oct 21 11:36:52 UTC 2022 - Fridrich Strba <fstrba(a)suse.com>
+
+- Update to upstream tag jdk-17.0.5+8 (October 2022 CPU)
+ * Security fixes
+ + JDK-8282252: Improve BigInteger/Decimal validation
+ + JDK-8285662: Better permission resolution
+ + JDK-8286077, CVE-2022-21618, bsc#1204468: Wider MultiByte
+ conversions
+ + JDK-8286511: Improve macro allocation
+ + JDK-8286519: Better memory handling
+ + JDK-8286526, CVE-2022-21619, bsc#1204473: Improve NTLM support
+ + JDK-8286910, CVE-2022-21624, bsc#1204475: Improve JNDI lookups
+ + JDK-8286918, CVE-2022-21628, bsc#1204472: Better HttpServer
+ service
+ + JDK-8287446: Enhance icon presentations
+ + JDK-8288508: Enhance ECDSA usage
+ + JDK-8289366, CVE-2022-39399, bsc#1204480: Improve HTTP/2
+ client usage
+ + JDK-8289853: Update HarfBuzz to 4.4.1
+ + JDK-8290334: Update FreeType to 2.12.1
+ * Other changes
+ + JDK-6782021: It is not possible to read local computer
+ certificates with the SunMSCAPI provider
+ + JDK-6854300: [TEST_BUG] java/awt/event/MouseEvent/
+ /SpuriousExitEnter/SpuriousExitEnter_3.java fails in jdk6u14
+ & jdk7
+ + JDK-7131823: bug in GIFImageReader
+ + JDK-8017175: [TESTBUG] javax/swing/JPopupMenu/4634626/
+ /bug4634626.java sometimes failed on ac
+ + JDK-8028265: Add legacy tz tests to OpenJDK
+ + JDK-8028998: [TEST_BUG] [macosx] java/awt/dnd/
+ /DropTargetEnterExitTest/MissedDragExitTest.java failed
+ + JDK-8079267: [TEST_BUG] Test java/awt/Frame/MiscUndecorated/
+ /RepaintTest.java fails
+ + JDK-8159694: HiDPI, Unity, java/awt/dnd/
+ /DropTargetEnterExitTest/MissedDragExitTest.java
+ + JDK-8169468: NoResizeEventOnDMChangeTest.java fails because
+ FS Window didn't receive all resizes!
+ + JDK-8172065: javax/swing/JTree/4908142/bug4908142.java The
+ selected index should be "aad"
+ + JDK-8178969: [TESTBUG] Wrong reporting of
+ gc/g1/humongousObjects/TestHeapCounters test.
+ + JDK-8211002: test/jdk/java/lang/Math/PowTests.java skips
+ testing for non-corner-case values
+ + JDK-8212096: javax/net/ssl/ServerName/
+ /SSLEngineExplorerMatchedSNI.java failed intermittently due to
+ SSLException: Tag mismatch
+ + JDK-8223543: [TESTBUG] Regression test java/awt/Graphics2D/
+ /DrawString/LCDTextSrcEa.java has issues
+ + JDK-8225122: Test AncestorResized.java fails when Windows
+ desktop is scaled.
+ + JDK-8227651: Tests fail with SSLProtocolException: Input
+ record too big
+ + JDK-8240903: Add test to check that jmod hashes are
+ reproducible
+ + JDK-8254318: Remove .hgtags
+ + JDK-8255724: [XRender] the BlitRotateClippedArea test fails
+ on Linux in the XR pipeline
+ + JDK-8256844: Make NMT late-initializable
+ + JDK-8257534: misc tests failed with "NoClassDefFoundError:
+ Could not initialize class
+ java.util.concurrent.ThreadLocalRandom"
+ + JDK-8264666: Change implementation of safeAdd/safeMult in the
+ LCMSImageLayout class
+ + JDK-8264792: The NumberFormat for locale sq_XK formats price
+ incorrectly.
+ + JDK-8265360: several compiler/whitebox tests fail with
+ "private compiler.whitebox.SimpleTestCaseHelper(int) must be
+ compiled"
+ + JDK-8269039: Disable SHA-1 Signed JARs
+ + JDK-8269556: sun/tools/jhsdb/JShellHeapDumpTest.java fails
+ with RuntimeException 'JShellToolProvider' missing from
+ stdout/stderr
+ + JDK-8270090: C2: LCM may prioritize CheckCastPP nodes over
+ projections
+ + JDK-8270312: Error: Not a test or directory containing tests:
+ java/awt/print/PrinterJob/XparColor.java
+ + JDK-8271078: jdk/incubator/vector/Float128VectorTests.java
+ failed a subtest
+ + JDK-8271344: Windows product version issue
+ + JDK-8272352: Java launcher can not parse Chinese character
+ when system locale is set to UTF-8
+ + JDK-8272417: ZGC: fastdebug build crashes when printing
+ ClassLoaderData
+ + JDK-8272736: [JVMCI] Add API for reading and writing JVMCI
+ thread locals
+ + JDK-8272815: jpackage --type rpm produces an error: Invalid
+ or unsupported type: [null]
+ + JDK-8273040: Turning off JpAllowDowngrades (or Upgrades)
+ + JDK-8273115: CountedLoopEndNode::stride_con crash in debug
+ build with -XX:+TraceLoopOpts
+ + JDK-8273506: java Robot API did the 'm' keypress and caused
+ /awt/event/KeyEvent/KeyCharTest/KeyCharTest.html is timing out
+ on macOS 12
+ + JDK-8274434: move os::get_default_process_handle and
+ os::dll_lookup to os_posix for POSIX platforms
+ + JDK-8274517: java/util/DoubleStreamSums/CompensatedSums.java
+ fails with expected [true] but found [false]
+ + JDK-8274597: Some of the dnd tests time out and fail
+ intermittently
+ + JDK-8274856: Failing jpackage tests with fastdebug/release
+ build
+ + JDK-8275689: [TESTBUG] Use color tolerance only for XRender
+ in BlitRotateClippedArea test
+ + JDK-8275887: jarsigner prints invalid digest/signature
+ algorithm warnings if keysize is weak/disabled
+ + JDK-8276546: [IR Framework] Whitelist and ignore
+ CompileThreshold
+ + JDK-8276837: [macos]: Error when signing the additional
+ launcher
+ + JDK-8277429: Conflicting jpackage static library name
+ + JDK-8277493: [REDO] Quarantined jpackage apps are labeled as
+ "damaged"
+ + JDK-8278067: Make HttpURLConnection default keep alive
+ timeout configurable
+ + JDK-8278233: [macos] tools/jpackage tests timeout due to
+ /usr/bin/osascript
+ + JDK-8278311: Debian packaging doesn't work
+ + JDK-8278609: [macos] accessibility frame is misplaced on a
+ secondary monitor on macOS
+ + JDK-8278612: [macos] test/jdk/java/awt/dnd/
+ /RemoveDropTargetCrashTest crashes with VoiceOver on macOS
+ + JDK-8279032: compiler/loopopts/
+ /TestSkeletonPredicateNegation.java times out with
+ -XX:TieredStopAtLevel < 4
+ + JDK-8279370: jdk.jpackage/share/native/applauncher/
+ /JvmLauncher.cpp fails to build with GCC 6.3.0
+ + JDK-8279622: C2: miscompilation of map pattern as a vector
+ reduction
+ + JDK-8280233: Temporarily disable Unix domain sockets in
+ Windows PipeImpl
+ + JDK-8280550: SplittableRandom#nextDouble(double,double) can
+ return result >= bound
+ + JDK-8280696: C2 compilation hits assert(is_dominator(c,
+ n_ctrl)) failed
+ + JDK-8280863: Update build README to reflect that MSYS2 is
+ supported
+ + JDK-8280913: Create a regression test for
+ JRootPane.setDefaultButton() method
+ + JDK-8280944: Enable Unix domain sockets in Windows Selector
+ notification mechanism
+ + JDK-8280950: RandomGenerator:NextDouble() default behavior
+ non conformant after JDK-8280550 fix
+ + JDK-8281181: Do not use CPU Shares to compute active
+ processor count
+ + JDK-8281183: RandomGenerator:NextDouble() default behavior
+ partially fixed by JDK-8280950
+ + JDK-8281297: TestStressG1Humongous fails with
+ guarantee(is_range_uncommitted)
+ + JDK-8281535: Create a regression test for JDK-4670051
+ + JDK-8281569: Create tests for Frame.setMinimumSize() method
+ + JDK-8281628: KeyAgreement : generateSecret intermittently not
+ resetting
+ + JDK-8281738: Create a regression test for checking the
+ 'Space' key activation of focused Button
+ + JDK-8281745: Create a regression test for JDK-4514331
+ + JDK-8281988: Create a regression test for JDK-4618767
+ + JDK-8282007: Assorted enhancements to jpackage testing
+ framework
+ + JDK-8282046: Create a regression test for JDK-8000326
+ + JDK-8282214: Upgrade JQuery to version 3.6.0
+ + JDK-8282234: Create a regression test for JDK-4532513
+ + JDK-8282280: Update Xerces to Version 2.12.2
+ + JDK-8282306: os::is_first_C_frame(frame*) crashes on invalid
+ link access
+ + JDK-8282343: Create a regression test for JDK-4518432
+ + JDK-8282351: jpackage does not work if class file has `$$` in
+ the name on windows
+ + JDK-8282407: Missing ')' in MacResources.properties
+ + JDK-8282467: add extra diagnostics for JDK-8268184
+ + JDK-8282477: [x86, aarch64] vmassert(_last_Java_pc == NULL,
+ "already walkable"); fails with async profiler
+ + JDK-8282538: PKCS11 tests fail on CentOS Stream 9
+ + JDK-8282548: Create a regression test for JDK-4330998
+ + JDK-8282555: Missing memory edge when spilling MoveF2I,
+ MoveD2L etc
+ + JDK-8282640: Create a test for JDK-4740761
+ + JDK-8282778: Create a regression test for JDK-4699544
+ + JDK-8282789: Create a regression test for the JTree usecase
+ of JDK-4618767
+ + JDK-8282860: Write a regression test for JDK-4164779
+ + JDK-8282933: Create a test for JDK-4529616
+ + JDK-8282936: Write a regression test for JDK-4615365
+ + JDK-8282937: Write a regression test for JDK-4820080
+ + JDK-8282947: JFR: Dump on shutdown live-locks in some
+ conditions
+ + JDK-8283015: Create a test for JDK-4715496
+ + JDK-8283087: Create a test or JDK-4715503
+ + JDK-8283245: Create a test for JDK-4670319
+ + JDK-8283277: ISO 4217 Amendment 171 Update
+ + JDK-8283441: C2: segmentation fault in
+ ciMethodBlocks::make_block_at(int)
+ + JDK-8283457: [macos] libpng build failures with Xcode13.3
+ + JDK-8283493: Create an automated regression test for RFE
+ 4231298
+ + JDK-8283507: Create a regression test for RFE 4287690
+ + JDK-8283562: JDK-8282306 breaks gtests on zero
++++ 195 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/java-17-openjdk/java-17-openjdk.changes
++++ and /work/SRC/openSUSE:Factory/.java-17-openjdk.new.2275/java-17-openjdk.changes
Old:
----
jdk-17.0.4+8.tar.gz
New:
----
jdk-17.0.5+8.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ java-17-openjdk.spec ++++++
--- /var/tmp/diff_new_pack.jakcSI/_old 2022-10-22 14:13:02.648731899 +0200
+++ /var/tmp/diff_new_pack.jakcSI/_new 2022-10-22 14:13:02.652731908 +0200
@@ -32,8 +32,7 @@
# Standard JPackage naming and versioning defines.
%global featurever 17
%global interimver 0
-%global updatever 4
-%global datever 2022-07-19
+%global updatever 5
%global buildver 8
%global openjdk_repo jdk17u
%global openjdk_tag jdk-%{featurever}.%{interimver}.%{updatever}%{?patchver:.%{patchver}}+%{buildver}
@@ -514,12 +513,6 @@
CC=gcc-7 \
NM=gcc-nm-7 \
%endif
- --with-version-feature=%{featurever} \
- --with-version-interim=%{interimver} \
- --with-version-update=%{updatever} \
- --with-version-patch=%{?patchver:%{patchver}}%{!?patchver:0} \
- --with-version-date=%{datever} \
- --with-version-build=%{buildver} \
%if %{is_release}
--with-version-pre="" \
%endif
@@ -1078,6 +1071,7 @@
%{_jvmdir}/%{sdkdir}/include/jni.h
%{_jvmdir}/%{sdkdir}/include/jvmticmlr.h
%{_jvmdir}/%{sdkdir}/include/jvmti.h
+%{_jvmdir}/%{sdkdir}/include/sizecalc.h
%{_jvmdir}/%{sdkdir}/lib/ct.sym
%{_jvmdir}/%{sdkdir}/lib/libattach.so
%if ! %{with zero}
++++++ fips.patch ++++++
++++ 5233 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/java-17-openjdk/fips.patch
++++ and /work/SRC/openSUSE:Factory/.java-17-openjdk.new.2275/fips.patch
++++++ jdk-17.0.4+8.tar.gz -> jdk-17.0.5+8.tar.gz ++++++
/work/SRC/openSUSE:Factory/java-17-openjdk/jdk-17.0.4+8.tar.gz /work/SRC/openSUSE:Factory/.java-17-openjdk.new.2275/jdk-17.0.5+8.tar.gz differ: char 13, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rsync for openSUSE:Factory checked in at 2022-10-22 14:12:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rsync (Old)
and /work/SRC/openSUSE:Factory/.rsync.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rsync"
Sat Oct 22 14:12:27 2022 rev:81 rq:1030356 version:3.2.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/rsync/rsync.changes 2022-09-15 22:57:54.788999026 +0200
+++ /work/SRC/openSUSE:Factory/.rsync.new.2275/rsync.changes 2022-10-22 14:12:47.480695953 +0200
@@ -1,0 +2,81 @@
+Fri Oct 21 07:52:48 UTC 2022 - Michael Str��der <michael(a)stroeder.com>
+
+- New version fixes bug (boo#1203727): implicit containing directory
+ sometimes rejected as unrequested
+
+- update to 3.2.7
+ * BUG FIXES:
+ - Fixed the client-side validating of the remote sender's filtering behavior.
+ - More fixes for the "unrequested file-list name" name, including a copy of
+ "/" with `--relative` enabled and a copy with a lot of related paths with
+ `--relative` enabled (often derived from a `--files-from` list).
+ - When rsync gets an unpack error on an ACL, mention the filename.
+ - Avoid over-setting sanitize_paths when a daemon is serving "/" (even if
+ "use chroot" is false).
+ * ENHANCEMENTS:
+ - Added negotiated daemon-auth support that allows a stronger checksum digest
+ to be used to validate a user's login to the daemon. Added SHA512, SHA256,
+ and SHA1 digests to MD5 & MD4. These new digests are at the highest priority
+ in the new daemon-auth negotiation list.
+ - Added support for the SHA1 digest in file checksums. While this tends to be
+ overkill, it is available if someone really needs it. This overly-long
+ checksum is at the lowest priority in the normal checksum negotiation list.
+ See [`--checksum-choice`](rsync.1#opt) (`--cc`) and the `RSYNC_CHECKSUM_LIST`
+ environment var for how to customize this.
+ - Improved the xattr hash table to use a 64-bit key without slowing down the
+ key's computation. This should make extra sure that a hash collision doesn't
+ happen.
+ - If the `--version` option is repeated (e.g. `-VV`) then the information is
+ output in a (still readable) JSON format. Client side only.
+ - The script `support/json-rsync-version` is available to get the JSON style
+ version output from any rsync. The script accepts either text on stdin
+ **or** an arg that specifies an rsync executable to run with a doubled
+ `--version` option. If the text we get isn't already in JSON format, it is
+ converted. Newer rsync versions will provide more complete json info than
+ older rsync versions. Various tweaks are made to keep the flag names
+ consistent across versions.
+ - The [`use chroot`](rsyncd.conf.5#) daemon parameter now defaults to "unset"
+ so that rsync can use chroot when it works and a sanitized copy when chroot
+ is not supported (e.g., for a non-root daemon). Explicitly setting the
+ parameter to true or false (on or off) behaves the same way as before.
+ - The `--fuzzy` option was optimized a bit to try to cut down on the amount of
+ computations when considering a big pool of files. The simple heuristic from
+ Kenneth Finnegan resuled in about a 2x speedup.
+ - If rsync is forced to use protocol 29 or before (perhaps due to talking to an
+ rsync before 3.0.0), the modify time of a file is limited to 4-bytes. Rsync
+ now interprets this value as an unsigned integer so that a current year past
+ 2038 can continue to be represented. This does mean that years prior to 1970
+ cannot be represented in an older protocol, but this trade-off seems like the
+ right choice given that (1) 2038 is very rapidly approaching, and (2) newer
+ protocols support a much wider range of old and new dates.
+ - The rsync client now treats an empty destination arg as an error, just like
+ it does for an empty source arg. This doesn't affect a `host:` arg (which is
+ treated the same as `host:.`) since the arg is not completely empty. The use
+ of [`--old-args`](rsync.1#opt) (including via `RSYNC_OLD_ARGS`) allows the
+ prior behavior of treating an empty destination arg as a ".".
+ * PACKAGING RELATED:
+ - The checksum code now uses openssl's EVP methods, which gets rid of various
+ deprecation warnings and makes it easy to support more digest methods. On
+ newer systems, the MD4 digest is marked as legacy in the openssl code, which
+ makes openssl refuse to support it via EVP. You can choose to ignore this
+ and allow rsync's MD4 code to be used for older rsync connections (when
+ talking to an rsync prior to 3.0.0) or you can choose to configure rsync to
+ tell openssl to enable legacy algorithms (see below).
+ - A simple openssl config file is supplied that can be installed for rsync to
+ use. If you install packaging/openssl-rsync.cnf to a public spot (such as
+ `/etc/ssl/openssl-rsync.cnf`) and then run configure with the option
+ `--with-openssl-conf=/path/name.cnf`, this will cause rsync to export the
+ configured path in the OPENSSL_CONF environment variable (when the variable
+ is not already set). This will enable openssl's MD4 code for rsync to use.
+ - The packager may wish to include an explicit "use chroot = true" in the top
+ section of their supplied /etc/rsyncd.conf file if the daemon is being
+ installed to run as the root user (though rsync should behave the same even
+ with the value unset, a little extra paranoia doesn't hurt).
+ - I've noticed that some packagers haven't installed support/nameconvert for
+ users to use in their chrooted rsync configs. Even if it is not installed
+ as an executable script (to avoid a python3 dependency) it would be good to
+ install it with the other rsync-related support scripts.
+ - It would be good to add support/json-rsync-version to the list of installed
+ support scripts.
+
+-------------------------------------------------------------------
Old:
----
rsync-3.2.6.tar.gz
rsync-3.2.6.tar.gz.asc
rsync-patches-3.2.6.tar.gz
rsync-patches-3.2.6.tar.gz.asc
New:
----
rsync-3.2.7.tar.gz
rsync-3.2.7.tar.gz.asc
rsync-patches-3.2.7.tar.gz
rsync-patches-3.2.7.tar.gz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rsync.spec ++++++
--- /var/tmp/diff_new_pack.X8KP8P/_old 2022-10-22 14:12:48.152697545 +0200
+++ /var/tmp/diff_new_pack.X8KP8P/_new 2022-10-22 14:12:48.160697564 +0200
@@ -29,7 +29,7 @@
%endif
Name: rsync
-Version: 3.2.6
+Version: 3.2.7
Release: 0
Summary: Versatile tool for fast incremental file transfer
License: GPL-3.0-or-later
++++++ rsync-3.2.6.tar.gz -> rsync-3.2.7.tar.gz ++++++
++++ 4523 lines of diff (skipped)
++++++ rsync-patches-3.2.6.tar.gz -> rsync-patches-3.2.7.tar.gz ++++++
++++ 10015 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package yast2-firstboot for openSUSE:Factory checked in at 2022-10-22 14:12:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-firstboot (Old)
and /work/SRC/openSUSE:Factory/.yast2-firstboot.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-firstboot"
Sat Oct 22 14:12:26 2022 rev:115 rq:1030340 version:4.5.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-firstboot/yast2-firstboot.changes 2022-08-23 14:26:37.411223058 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-firstboot.new.2275/yast2-firstboot.changes 2022-10-22 14:12:46.184692881 +0200
@@ -1,0 +2,7 @@
+Wed Oct 19 08:09:57 UTC 2022 - Jos�� Iv��n L��pez Gonz��lez <jlopez(a)suse.com>
+
+- Add client to select product in WSL (jsc#PED-1380).
+- Allow installing WSL GUI pattern (jsc#PM-3439).
+- 4.5.4
+
+-------------------------------------------------------------------
Old:
----
yast2-firstboot-4.5.3.tar.bz2
New:
----
yast2-firstboot-4.5.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-firstboot.spec ++++++
--- /var/tmp/diff_new_pack.03x0Ca/_old 2022-10-22 14:12:46.752694227 +0200
+++ /var/tmp/diff_new_pack.03x0Ca/_new 2022-10-22 14:12:46.756694237 +0200
@@ -17,7 +17,7 @@
Name: yast2-firstboot
-Version: 4.5.3
+Version: 4.5.4
Release: 0
Summary: YaST2 - Initial System Configuration
License: GPL-2.0-only
@@ -78,6 +78,7 @@
# registration and +1 for next line and then here change false to true
sed -i '/<name>registration/,+1s/false/true/' control/firstboot.xml
sed -i '/<name>registration/,+1s/false/true/' wsl/firstboot.ycontrol.xml
+sed -i '/<name>firstboot_wsl_product_selection/,+1s/false/true/' wsl/firstboot.ycontrol.xml
%endif
%install
++++++ yast2-firstboot-4.5.3.tar.bz2 -> yast2-firstboot-4.5.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.5.3/package/yast2-firstboot.changes new/yast2-firstboot-4.5.4/package/yast2-firstboot.changes
--- old/yast2-firstboot-4.5.3/package/yast2-firstboot.changes 2022-08-11 13:23:45.000000000 +0200
+++ new/yast2-firstboot-4.5.4/package/yast2-firstboot.changes 2022-10-21 11:27:11.000000000 +0200
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Wed Oct 19 08:09:57 UTC 2022 - Jos�� Iv��n L��pez Gonz��lez <jlopez(a)suse.com>
+
+- Add client to select product in WSL (jsc#PED-1380).
+- Allow installing WSL GUI pattern (jsc#PM-3439).
+- 4.5.4
+
+-------------------------------------------------------------------
Wed Aug 10 13:59:28 UTC 2022 - David Diaz <dgonzalez(a)suse.com>
- Do not skip client for root password automatically if
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.5.3/package/yast2-firstboot.spec new/yast2-firstboot-4.5.4/package/yast2-firstboot.spec
--- old/yast2-firstboot-4.5.3/package/yast2-firstboot.spec 2022-08-11 13:23:45.000000000 +0200
+++ new/yast2-firstboot-4.5.4/package/yast2-firstboot.spec 2022-10-21 11:27:11.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-firstboot
-Version: 4.5.3
+Version: 4.5.4
Release: 0
Summary: YaST2 - Initial System Configuration
License: GPL-2.0-only
@@ -77,6 +77,7 @@
# registration and +1 for next line and then here change false to true
sed -i '/<name>registration/,+1s/false/true/' control/firstboot.xml
sed -i '/<name>registration/,+1s/false/true/' wsl/firstboot.ycontrol.xml
+sed -i '/<name>firstboot_wsl_product_selection/,+1s/false/true/' wsl/firstboot.ycontrol.xml
%endif
%install
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.5.3/src/Makefile.am new/yast2-firstboot-4.5.4/src/Makefile.am
--- old/yast2-firstboot-4.5.3/src/Makefile.am 2022-08-11 13:23:45.000000000 +0200
+++ new/yast2-firstboot-4.5.4/src/Makefile.am 2022-10-21 11:27:11.000000000 +0200
@@ -26,7 +26,8 @@
clients/firstboot_root.rb \
clients/firstboot_user.rb \
clients/firstboot_configuration_management.rb \
- clients/firstboot_wsl.rb
+ clients/firstboot_wsl.rb \
+ clients/firstboot_wsl_product_selection.rb
yncludedir = @yncludedir@/firstboot
ynclude_DATA = \
@@ -50,7 +51,16 @@
lib/y2firstboot/clients/root.rb \
lib/y2firstboot/clients/user.rb \
lib/y2firstboot/clients/licenses.rb \
- lib/y2firstboot/clients/wsl.rb
+ lib/y2firstboot/clients/wsl.rb \
+ lib/y2firstboot/clients/wsl_product_selection.rb
+
+ylibdir = "${yast2dir}/lib/y2firstboot"
+ylib_DATA = \
+ lib/y2firstboot/wsl_config.rb
+
+ylibdialogsdir = "${yast2dir}/lib/y2firstboot/dialogs"
+ylibdialogs_DATA = \
+ lib/y2firstboot/dialogs/wsl_product_selection.rb
symbolicdir = @icondir@/hicolor/symbolic/apps
symbolic_DATA = \
@@ -59,6 +69,6 @@
scalable_DATA = \
icons/hicolor/scalable/apps/yast-firstboot.svg
-EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) $(schemafiles_DATA) $(fillup_DATA) $(ylibclient_DATA) $(symbolic_DATA) $(scalable_DATA)
+EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) $(schemafiles_DATA) $(fillup_DATA) $(ylibclient_DATA) ${ylib_DATA} ${ylibdialogs_DATA} $(symbolic_DATA) $(scalable_DATA)
include $(top_srcdir)/Makefile.am.common
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.5.3/src/clients/firstboot_wsl_product_selection.rb new/yast2-firstboot-4.5.4/src/clients/firstboot_wsl_product_selection.rb
--- old/yast2-firstboot-4.5.3/src/clients/firstboot_wsl_product_selection.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-firstboot-4.5.4/src/clients/firstboot_wsl_product_selection.rb 2022-10-21 11:27:11.000000000 +0200
@@ -0,0 +1,22 @@
+# Copyright (c) [2022] SUSE LLC
+#
+# All Rights Reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of version 2 of the GNU General Public License as published
+# by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, contact SUSE LLC.
+#
+# To contact SUSE LLC about this file by physical or electronic mail, you may
+# find current contact information at www.suse.com.
+
+require "y2firstboot/clients/wsl_product_selection"
+
+Y2Firstboot::Clients::WSLProductSelection.new.run
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.5.3/src/lib/y2firstboot/clients/wsl.rb new/yast2-firstboot-4.5.4/src/lib/y2firstboot/clients/wsl.rb
--- old/yast2-firstboot-4.5.3/src/lib/y2firstboot/clients/wsl.rb 2022-08-11 13:23:45.000000000 +0200
+++ new/yast2-firstboot-4.5.4/src/lib/y2firstboot/clients/wsl.rb 2022-10-21 11:27:11.000000000 +0200
@@ -21,18 +21,27 @@
require "yast2/execute"
require "y2firstboot/clients/user"
require "etc"
+require "y2firstboot/wsl_config"
Yast.import "GetInstArgs"
+Yast.import "Report"
module Y2Firstboot
module Clients
# Client to set up required configuration for WSL
class WSL < Yast::Client
+ def initialize
+ textdomain "firstboot"
+ super
+ end
+
def run
return :back if Yast::GetInstArgs.going_back
write_wsl_user
setup_machine_id
+ switch_product
+ install_patterns
:next
end
@@ -60,6 +69,30 @@
# missing
Yast::Execute.locally("/usr/bin/systemd-machine-id-setup")
end
+
+ # Performs changes in order to remove the current product and install the selected product
+ # (see client wsl_product_selection)
+ def switch_product
+ return unless Y2Firstboot::WSLConfig.instance.product_switched?
+
+ product = Y2Firstboot::WSLConfig.instance.product
+ installed_product = Y2Firstboot::WSLConfig.instance.installed_product
+
+ Yast::Pkg.ResolvableRemove(installed_product.name, :product) if installed_product
+ Yast::Pkg.ResolvableInstall(product["name"], :product)
+ end
+
+ # Installs the selected patterns
+ # (see client wsl_product_selection)
+ def install_patterns
+ Y2Firstboot::WSLConfig.instance.patterns.each do |pattern|
+ next if Yast::Pkg.ResolvableInstall(pattern, :pattern)
+
+ # TRANSLATORS: Error message, %s is a pattern name
+ Yast::Report.Error(_("Cannot select pattern\n\"%s\" to install.\n" \
+ "Some software might be missing.") % pattern)
+ end
+ end
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.5.3/src/lib/y2firstboot/clients/wsl_product_selection.rb new/yast2-firstboot-4.5.4/src/lib/y2firstboot/clients/wsl_product_selection.rb
--- old/yast2-firstboot-4.5.3/src/lib/y2firstboot/clients/wsl_product_selection.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-firstboot-4.5.4/src/lib/y2firstboot/clients/wsl_product_selection.rb 2022-10-21 11:27:11.000000000 +0200
@@ -0,0 +1,147 @@
+# Copyright (c) [2022] SUSE LLC
+#
+# All Rights Reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of version 2 of the GNU General Public License as published
+# by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, contact SUSE LLC.
+#
+# To contact SUSE LLC about this file by physical or electronic mail, you may
+# find current contact information at www.suse.com.
+
+require "yast"
+require "y2firstboot/wsl_config"
+require "y2firstboot/dialogs/wsl_product_selection"
+
+module Y2Firstboot
+ module Clients
+ # Client for selecting the product to use with WSL (jsc#PED-1380)
+ #
+ # It also allows to indicate whether to install WSL GUI pattern (jsc#PM-3439).
+ class WSLProductSelection < Yast::Client
+ # Runs the client
+ #
+ # @raise [RuntimeError] see {#require_registration}.
+ #
+ # @return [Symbol]
+ def run
+ require_registration
+
+ return :auto if products.none?
+
+ dialog = Dialogs::WSLProductSelection.new(products,
+ default_product: product,
+ wsl_gui_pattern: wsl_gui_pattern?)
+
+ result = dialog.run
+
+ save(product: dialog.product, wsl_gui_pattern: dialog.wsl_gui_pattern) if result == :next
+
+ result
+ end
+
+ private
+
+ WSL_GUI_PATTERN = "wsl_gui".freeze
+ private_constant :WSL_GUI_PATTERN
+
+ # Saves changes
+ #
+ # @param product [Hash] Selected product
+ # @param wsl_gui_pattern [Boolean] Whether to install WSL GUI pattern
+ def save(product:, wsl_gui_pattern:)
+ self.product = product
+ self.wsl_gui_pattern = wsl_gui_pattern
+ update_registration
+ end
+
+ # Product to use
+ #
+ # @see ���SLConfig
+ #
+ # @return [Hash]
+ def product
+ WSLConfig.instance.product || default_product
+ end
+
+ # Sets the product to use
+ #
+ # @see ���SLConfig
+ #
+ # @param value [Hash] A product
+ def product=(value)
+ WSLConfig.instance.product = value
+ end
+
+ # Whether the WSL GUI pattern should be installed
+ #
+ # @see ���SLConfig
+ #
+ # @return [Boolean]
+ def wsl_gui_pattern?
+ WSLConfig.instance.patterns.include?(WSL_GUI_PATTERN)
+ end
+
+ # Sets whether to install the WSL GUI pattern
+ #
+ # @param value [Boolean]
+ def wsl_gui_pattern=(value)
+ if value
+ WSLConfig.instance.patterns.push(WSL_GUI_PATTERN).uniq!
+ else
+ WSLConfig.instance.patterns.delete(WSL_GUI_PATTERN)
+ end
+ end
+
+ # Updates values stored in registration
+ #
+ # Those values indicates to registration what product was selected and whether the product
+ # has to be registered.
+ #
+ # @see Registration::Storage::InstallationOptions
+ def update_registration
+ yaml_product = WSLConfig.instance.product
+ force_registration = WSLConfig.instance.product_switched? || wsl_gui_pattern?
+
+ Registration::Storage::InstallationOptions.instance.yaml_product = yaml_product
+ Registration::Storage::InstallationOptions.instance.force_registration = force_registration
+ end
+
+ # Name of the default product to use from YAML file
+ #
+ # @return [String]
+ def default_product
+ return nil if products.none?
+
+ products.find { |p| p["default"] } || products.first
+ end
+
+ # All products from YAML file
+ #
+ # @return [Array<Hash>]
+ def products
+ @products ||= Registration::YamlProductsReader.new.read
+ end
+
+ # Tries to require yast2-registration files
+ #
+ # @note yast2-registration might not be available for some products (e.g., openSUSE).
+ #
+ # @raise [RuntimeError] if yast2-registration files cannot be loaded
+ def require_registration
+ require "registration/yaml_products_reader"
+ require "registration/storage"
+ rescue LoadError
+ raise "yast2-registration >= 4.5.6 required"
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.5.3/src/lib/y2firstboot/dialogs/wsl_product_selection.rb new/yast2-firstboot-4.5.4/src/lib/y2firstboot/dialogs/wsl_product_selection.rb
--- old/yast2-firstboot-4.5.3/src/lib/y2firstboot/dialogs/wsl_product_selection.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-firstboot-4.5.4/src/lib/y2firstboot/dialogs/wsl_product_selection.rb 2022-10-21 11:27:11.000000000 +0200
@@ -0,0 +1,155 @@
+# Copyright (c) [2022] SUSE LLC
+#
+# All Rights Reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of version 2 of the GNU General Public License as published
+# by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, contact SUSE LLC.
+#
+# To contact SUSE LLC about this file by physical or electronic mail, you may
+# find current contact information at www.suse.com.
+
+require "yast"
+require "ui/installation_dialog"
+require "y2firstboot/wsl_config"
+
+Yast.import "UI"
+
+module Y2Firstboot
+ module Dialogs
+ # Dialog for selecting the product to use with WSL
+ class WSLProductSelection < ::UI::InstallationDialog
+ include Yast::I18n
+
+ # Selected product
+ #
+ # @return [Hash]
+ attr_reader :product
+
+ # Whether the WSL GUI pattern was selected
+ #
+ # @return [Boolean]
+ attr_reader :wsl_gui_pattern
+
+ # Constructor
+ #
+ # @param products [Array<Hash>] All possible products
+ # @param default_product [Hash] Product selected by default
+ # @param wsl_gui_pattern [Boolean] Whether WSL GUI pattern is selected by default
+ def initialize(products, default_product: nil, wsl_gui_pattern: false)
+ textdomain "firstboot"
+
+ super()
+ @products = products
+ @product = default_product || products.first
+ @wsl_gui_pattern = wsl_gui_pattern
+ end
+
+ def next_handler
+ save
+ super
+ end
+
+ protected
+
+ def dialog_title
+ # TRANSLATORS: dialog title
+ _("Product Selection")
+ end
+
+ def dialog_content
+ items = products.map { |p| item_for(p) }
+
+ HSquash(
+ VBox(
+ RadioButtonGroup(
+ Id(:product_selector),
+ VBox(
+ # TRANSLATORS: dialog heading
+ Left(Heading(_("Select the product to use"))),
+ VSpacing(1),
+ *items
+ )
+ ),
+ VSpacing(2),
+ # TRANSLATORS:
+ Label(_("The WSL GUI pattern provides some needed packages for\n" \
+ "a better experience with graphical applications in WSL.")),
+ VSpacing(1),
+ # TRANSLATORS: check box label
+ Left(CheckBox(Id(:wsl_gui_pattern),
+ _("Install WSL GUI pattern (requires registration)"),
+ wsl_gui_pattern))
+ )
+ )
+ end
+
+ def help_text
+ # TRANSLATORS: help text (1/2)
+ _("<p>Select the product to use with Windows Subsystem for Linux (WSL). " \
+ "Some products might require registration.</p>") +
+ # TRANSLATORS: help text (2/2)
+ _("<p>To use graphical programs in WSL you need to install the WSL GUI pattern. " \
+ "In that case the system needs to be registered as well.</p>")
+ end
+
+ private
+
+ # All possible products to select
+ #
+ # @return [Array<Hash>]
+ attr_reader :products
+
+ # Radio button for selecting a product
+ #
+ # @param product [Hash]
+ def item_for(product)
+ Left(
+ RadioButton(
+ Id(item_id(product)),
+ product_label(product),
+ item_id(product) == item_id(self.product)
+ )
+ )
+ end
+
+ # Id for the radio button
+ #
+ # @param product [Hash]
+ # @return [String]
+ def item_id(product)
+ "#{product["name"]}:#{product["version"]}"
+ end
+
+ def product_label(product)
+ label = product["display_name"]
+
+ installed_product = WSLConfig.instance.installed_product
+ if installed_product.name != product["name"] ||
+ installed_product.version_version != product["version"]
+
+ # TRANSLATORS: suffix displayed for the products which require registration,
+ # %s is a product name like "SUSE Linux Enterprise Server 15 SP4"
+ label = _("%s (requires registration)") % label
+ end
+
+ label
+ end
+
+ def save
+ @wsl_gui_pattern = Yast::UI.QueryWidget(Id(:wsl_gui_pattern), :Value)
+
+ selected_id = Yast::UI.QueryWidget(Id(:product_selector), :Value)
+ @product = products.find { |p| item_id(p) == selected_id }
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.5.3/src/lib/y2firstboot/wsl_config.rb new/yast2-firstboot-4.5.4/src/lib/y2firstboot/wsl_config.rb
--- old/yast2-firstboot-4.5.3/src/lib/y2firstboot/wsl_config.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-firstboot-4.5.4/src/lib/y2firstboot/wsl_config.rb 2022-10-21 11:27:11.000000000 +0200
@@ -0,0 +1,79 @@
+# Copyright (c) [2022] SUSE LLC
+#
+# All Rights Reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of version 2 of the GNU General Public License as published
+# by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, contact SUSE LLC.
+#
+# To contact SUSE LLC about this file by physical or electronic mail, you may
+# find current contact information at www.suse.com.
+
+require "singleton"
+require "y2packager/resolvable"
+
+module Y2Firstboot
+ # Configuration for WSL firstboot
+ class WSLConfig
+ include Singleton
+
+ # Product to use with WSL
+ #
+ # @return [Hash, nil]
+ attr_accessor :product
+
+ # Patterns to install as part of the WSL configuration
+ #
+ # @return [Array<String>]
+ attr_accessor :patterns
+
+ def initialize
+ @patterns = []
+ end
+
+ # Whether the selected product is not the installed product
+ #
+ # @return [Boolean]
+ def product_switched?
+ return false unless installed_product && product
+
+ # "version_version" contains the version without the release number ("15.4"),
+ # unlike the "version" attribute ("15.4-0")
+ installed_product.name != product["name"] ||
+ installed_product.version_version != product["version"]
+ end
+
+ # Current installed product
+ #
+ # @return [Y2Packager::Resolvable, nil]
+ def installed_product
+ @installed_product ||= find_installed_product
+ end
+
+ private
+
+ # Finds the currently installed product
+ #
+ # @return [Y2Packager::Resolvable, nil]
+ def find_installed_product
+ init_package_system
+ Y2Packager::Resolvable.find(kind: :product, status: :installed, category: "base").first
+ end
+
+ # Initializes the package system
+ def init_package_system
+ Yast.import "PackageSystem"
+
+ Yast::PackageSystem.EnsureTargetInit
+ Yast::PackageSystem.EnsureSourceInit
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.5.3/test/y2firstboot/clients/wsl_product_selection_test.rb new/yast2-firstboot-4.5.4/test/y2firstboot/clients/wsl_product_selection_test.rb
--- old/yast2-firstboot-4.5.3/test/y2firstboot/clients/wsl_product_selection_test.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-firstboot-4.5.4/test/y2firstboot/clients/wsl_product_selection_test.rb 2022-10-21 11:27:11.000000000 +0200
@@ -0,0 +1,252 @@
+#!/usr/bin/env rspec
+
+# Copyright (c) [2022] SUSE LLC
+#
+# All Rights Reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of version 2 of the GNU General Public License as published
+# by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, contact SUSE LLC.
+#
+# To contact SUSE LLC about this file by physical or electronic mail, you may
+# find current contact information at www.suse.com.
+
+require_relative "../../test_helper"
+require "y2firstboot/clients/wsl_product_selection"
+require "y2firstboot/dialogs/wsl_product_selection"
+require "y2firstboot/wsl_config"
+require "singleton"
+
+describe Y2Firstboot::Clients::WSLProductSelection do
+ subject { described_class.new }
+
+ describe "#run" do
+ context "when yast2-registration is not available" do
+ before do
+ allow(subject).to receive(:require).with(/registration\/*/).and_raise(LoadError)
+ end
+
+ it "raises an exception" do
+ expect { subject.run }.to raise_error(RuntimeError, /yast2-registration/)
+ end
+ end
+
+ context "when yast2-registration is available" do
+ before do
+ allow(subject).to receive(:require_registration)
+ end
+
+ # Mimic yast-registration classes
+ module Registration
+ class YamlProductsReader
+ attr_reader :read
+ end
+
+ module Storage
+ class InstallationOptions
+ include Singleton
+
+ attr_accessor :yaml_product, :force_registration
+ end
+ end
+ end
+
+ context "and there are no products from YAML file" do
+ before do
+ allow_any_instance_of(Registration::YamlProductsReader).to receive(:read).and_return([])
+ allow(Y2Firstboot::Dialogs::WSLProductSelection).to receive(:new).and_return(dialog)
+ end
+
+ let(:dialog) { instance_double(Y2Firstboot::Dialogs::WSLProductSelection) }
+
+ it "does not run the dialog for selecting product" do
+ expect(dialog).to_not receive(:run)
+
+ subject.run
+ end
+
+ it "does not change the current WSL config" do
+ Y2Firstboot::WSLConfig.instance.product = { "name" => "test" }
+ Y2Firstboot::WSLConfig.instance.patterns = ["test"]
+
+ subject.run
+
+ expect(Y2Firstboot::WSLConfig.instance.product).to eq("name" => "test")
+ expect(Y2Firstboot::WSLConfig.instance.patterns).to contain_exactly("test")
+ end
+
+ it "returns :auto" do
+ expect(subject.run).to eq(:auto)
+ end
+ end
+
+ context "and there are products from YAML file" do
+ before do
+ allow_any_instance_of(Registration::YamlProductsReader)
+ .to receive(:read).and_return([sles, sled])
+
+ allow(Y2Firstboot::Dialogs::WSLProductSelection).to receive(:new).and_return(dialog)
+
+ allow(Y2Firstboot::WSLConfig.instance)
+ .to receive(:product_switched?).and_return(product_switched)
+ end
+
+ let(:sles) { { "name" => "SLES", "version" => "15.4" } }
+ let(:sled) { { "name" => "SLED", "version" => "15.4" } }
+
+ let(:dialog) do
+ instance_double(Y2Firstboot::Dialogs::WSLProductSelection,
+ run: dialog_result,
+ product: selected_product,
+ wsl_gui_pattern: wsl_gui_pattern)
+ end
+
+ let(:dialog_result) { :abort }
+ let(:selected_product) { nil }
+ let(:wsl_gui_pattern) { nil }
+
+ let(:product_switched) { false }
+
+ it "runs the dialog for selecting product" do
+ expect(dialog).to receive(:run)
+
+ subject.run
+ end
+
+ context "if the dialog is accepted" do
+ let(:dialog_result) { :next }
+ let(:selected_product) { sled }
+
+ it "stores the selected product in the WSL config" do
+ subject.run
+
+ expect(Y2Firstboot::WSLConfig.instance.product).to eq(sled)
+ end
+
+ context "if the WSL GUI pattern was selected" do
+ let(:wsl_gui_pattern) { true }
+
+ before do
+ Y2Firstboot::WSLConfig.instance.patterns = []
+ end
+
+ it "stores the WSL GUI pattern in the WSL config" do
+ subject.run
+
+ expect(Y2Firstboot::WSLConfig.instance.patterns).to include("wsl_gui")
+ end
+ end
+
+ context "if the WSL GUI pattern was not selected" do
+ let(:wsl_gui_pattern) { false }
+
+ before do
+ Y2Firstboot::WSLConfig.instance.patterns = ["wsl_gui"]
+ end
+
+ it "does not store the WSL GUI pattern in the WSL config" do
+ subject.run
+
+ expect(Y2Firstboot::WSLConfig.instance.patterns).to_not include("wsl_gui")
+ end
+ end
+
+ it "updates the product in registration storage" do
+ Registration::Storage::InstallationOptions.instance.yaml_product = nil
+
+ subject.run
+
+ expect(Registration::Storage::InstallationOptions.instance.yaml_product).to eq(sled)
+ end
+
+ context "if the product was switched" do
+ let(:product_switched) { true }
+ let(:wsl_gui_pattern) { false }
+
+ it "updates registration storage to force registration" do
+ Registration::Storage::InstallationOptions.instance.force_registration = false
+
+ subject.run
+
+ expect(Registration::Storage::InstallationOptions.instance.force_registration)
+ .to eq(true)
+ end
+ end
+
+ context "if the product was not switched" do
+ let(:product_switched) { false }
+
+ context "and the WSL GUI pattern was selected" do
+ let(:wsl_gui_pattern) { true }
+
+ it "updates registration storage to force registration" do
+ Registration::Storage::InstallationOptions.instance.force_registration = false
+
+ subject.run
+
+ expect(Registration::Storage::InstallationOptions.instance.force_registration)
+ .to eq(true)
+ end
+ end
+
+ context "and the WSL GUI pattern was not selected" do
+ let(:wsl_gui_pattern) { false }
+
+ it "updates registration storage to not force registration" do
+ Registration::Storage::InstallationOptions.instance.force_registration = true
+
+ subject.run
+
+ expect(Registration::Storage::InstallationOptions.instance.force_registration)
+ .to eq(false)
+ end
+ end
+ end
+
+ it "returns :next" do
+ expect(subject.run).to eq(:next)
+ end
+ end
+
+ context "if the dialog is not accepted" do
+ let(:dialog_result) { :cancel }
+ let(:selected_product) { sled }
+ let(:wsl_gui_pattern) { true }
+
+ it "does not change the WSL config" do
+ Y2Firstboot::WSLConfig.instance.product = sles
+ Y2Firstboot::WSLConfig.instance.patterns = []
+
+ subject.run
+
+ expect(Y2Firstboot::WSLConfig.instance.product).to eq(sles)
+ expect(Y2Firstboot::WSLConfig.instance.patterns).to eq([])
+ end
+
+ it "does not change the registration storage" do
+ Registration::Storage::InstallationOptions.instance.yaml_product = sles
+ Registration::Storage::InstallationOptions.instance.force_registration = false
+
+ subject.run
+
+ expect(Registration::Storage::InstallationOptions.instance.yaml_product).to eq(sles)
+ expect(Registration::Storage::InstallationOptions.instance.force_registration)
+ .to eq(false)
+ end
+
+ it "returns the dialog result" do
+ expect(subject.run).to eq(:cancel)
+ end
+ end
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.5.3/test/y2firstboot/clients/wsl_test.rb new/yast2-firstboot-4.5.4/test/y2firstboot/clients/wsl_test.rb
--- old/yast2-firstboot-4.5.3/test/y2firstboot/clients/wsl_test.rb 2022-08-11 13:23:45.000000000 +0200
+++ new/yast2-firstboot-4.5.4/test/y2firstboot/clients/wsl_test.rb 2022-10-21 11:27:11.000000000 +0200
@@ -21,6 +21,7 @@
require_relative "../../test_helper"
require "y2firstboot/clients/wsl"
+require "y2firstboot/wsl_config"
describe Y2Firstboot::Clients::WSL do
subject(:client) { described_class.new }
@@ -36,6 +37,15 @@
allow(File).to receive(:write)
allow(Yast::Execute).to receive(:locally)
+
+ allow(Y2Firstboot::WSLConfig.instance)
+ .to receive(:installed_product).and_return(installed_product)
+
+ allow(Y2Firstboot::WSLConfig.instance)
+ .to receive(:product).and_return(product)
+
+ allow(Yast::Pkg).to receive(:ResolvableRemove)
+ allow(Yast::Pkg).to receive(:ResolvableInstall)
end
let(:going_back) { nil }
@@ -44,6 +54,10 @@
let(:user) { nil }
+ let(:installed_product) { nil }
+
+ let(:product) { nil }
+
context "when going back from another client" do
let(:going_back) { true }
@@ -88,6 +102,78 @@
subject.run
end
+ end
+
+ context "when the product was switched" do
+ let(:installed_product) do
+ double(
+ Y2Packager::Resolvable,
+ name: "SLES",
+ version_version: "15.4"
+ )
+ end
+ let(:product) { { "name" => "SLED", "version" => "15.4" } }
+
+ it "removes the installed product" do
+ expect(Yast::Pkg).to receive(:ResolvableRemove).with("SLES", :product)
+
+ subject.run
+ end
+
+ it "installs the selected product" do
+ expect(Yast::Pkg).to receive(:ResolvableInstall).with("SLED", :product)
+
+ subject.run
+ end
+ end
+
+ context "when the product was not switched" do
+ let(:installed_product) do
+ double(
+ Y2Packager::Resolvable,
+ name: "SLES",
+ version_version: "15.4"
+ )
+ end
+ let(:product) { { "name" => "SLES", "version" => "15.4" } }
+
+ it "does remove the installed product" do
+ expect(Yast::Pkg).to_not receive(:ResolvableRemove).with("SLES", :product)
+
+ subject.run
+ end
+
+ it "does not install another product" do
+ expect(Yast::Pkg).to_not receive(:ResolvableInstall).with(anything, :product)
+
+ subject.run
+ end
+ end
+
+ context "when there are selected patterns" do
+ before do
+ Y2Firstboot::WSLConfig.instance.patterns = ["wsl_gui", "test"]
+ end
+
+ it "installs the selected patterns" do
+ expect(Yast::Pkg).to receive(:ResolvableInstall).with("wsl_gui", :pattern)
+ .and_return(true)
+ expect(Yast::Pkg).to receive(:ResolvableInstall).with("test", :pattern)
+ .and_return(true)
+
+ subject.run
+ end
+
+ it "reports an error when a pattern cannot be installed" do
+ expect(Yast::Pkg).to receive(:ResolvableInstall).with("wsl_gui", :pattern)
+ .and_return(false)
+ expect(Yast::Pkg).to receive(:ResolvableInstall).with("test", :pattern)
+ .and_return(true)
+
+ expect(Yast::Report).to receive(:Error).with(/wsl_gui/)
+
+ subject.run
+ end
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.5.3/test/y2firstboot/dialogs/wsl_product_selection_test.rb new/yast2-firstboot-4.5.4/test/y2firstboot/dialogs/wsl_product_selection_test.rb
--- old/yast2-firstboot-4.5.3/test/y2firstboot/dialogs/wsl_product_selection_test.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-firstboot-4.5.4/test/y2firstboot/dialogs/wsl_product_selection_test.rb 2022-10-21 11:27:11.000000000 +0200
@@ -0,0 +1,134 @@
+#!/usr/bin/env rspec
+
+# Copyright (c) [2022] SUSE LLC
+#
+# All Rights Reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of version 2 of the GNU General Public License as published
+# by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, contact SUSE LLC.
+#
+# To contact SUSE LLC about this file by physical or electronic mail, you may
+# find current contact information at www.suse.com.
+
+require_relative "../../test_helper"
+require "y2firstboot/dialogs/wsl_product_selection"
+
+Yast.import "UI"
+
+describe Y2Firstboot::Dialogs::WSLProductSelection do
+ include Yast::UIShortcuts
+
+ def find_widget(regexp, content)
+ regexp = regexp.to_s unless regexp.is_a?(Regexp)
+
+ content.nested_find do |element|
+ next unless element.is_a?(Yast::Term)
+
+ element.params.any? do |param|
+ param.is_a?(Yast::Term) &&
+ param.value == :id &&
+ regexp.match?(param.params.first.to_s)
+ end
+ end
+ end
+
+ subject do
+ described_class.new(products,
+ default_product: default_product, wsl_gui_pattern: wsl_gui_pattern)
+ end
+
+ let(:products) { [sles, sled] }
+ let(:sles) { { "name" => "SLES", "version" => "15.4" } }
+ let(:sled) { { "name" => "SLED", "version" => "15.4" } }
+
+ let(:default_product) { sled }
+ let(:wsl_gui_pattern) { false }
+
+ let(:installed_product) { double(Y2Packager::Resolvable, name: "SLES", version_version: "15.4") }
+ before do
+ allow(Y2Firstboot::WSLConfig.instance).to receive(:installed_product)
+ .and_return(installed_product)
+ end
+
+ describe "#dialog_content" do
+ it "shows radio button box for selecting the product" do
+ widget = find_widget(:product_selector, subject.send(:dialog_content))
+
+ expect(widget).to_not be_nil
+ end
+
+ it "shows a radio button for each product" do
+ products.each do |product|
+ name = product["name"]
+ widget = find_widget(/#{name}/, subject.send(:dialog_content))
+ expect(widget).to_not be_nil
+ end
+ end
+
+ it "shows a check box for selecting the WSL GUI pattern" do
+ widget = find_widget(:wsl_gui_pattern, subject.send(:dialog_content))
+
+ expect(widget).to_not be_nil
+ end
+
+ it "automatically selects the default product" do
+ widget = find_widget(/SLED/, subject.send(:dialog_content))
+
+ expect(widget.params.last).to eq(true)
+ end
+
+ context "when WSL GUI pattern is indicated as selected" do
+ let(:wsl_gui_pattern) { true }
+
+ it "selects WSL GUI pattern checkbox by default" do
+ widget = find_widget(:wsl_gui_pattern, subject.send(:dialog_content))
+
+ expect(widget.params.last).to eq(true)
+ end
+ end
+
+ context "when WSL GUI pattern is not indicated as selected" do
+ let(:wsl_gui_pattern) { false }
+
+ it "does not select WSL GUI pattern checkbox by default" do
+ widget = find_widget(:wsl_gui_pattern, subject.send(:dialog_content))
+
+ expect(widget.params.last).to eq(false)
+ end
+ end
+ end
+
+ describe "#next_handler" do
+ before do
+ allow(Yast::UI).to receive(:QueryWidget).and_call_original
+ allow(Yast::UI).to receive(:QueryWidget).with(Id(:wsl_gui_pattern), :Value).and_return(true)
+ allow(Yast::UI).to receive(:QueryWidget).with(Id(:product_selector), :Value)
+ .and_return("SLES:15.4")
+ end
+
+ it "saves whether the WSL GUI pattern checkbox was selected" do
+ expect(subject.wsl_gui_pattern).to eq(false)
+
+ subject.next_handler
+
+ expect(subject.wsl_gui_pattern).to eq(true)
+ end
+
+ it "saves the selected product" do
+ expect(subject.product).to eq(sled)
+
+ subject.next_handler
+
+ expect(subject.product).to eq(sles)
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.5.3/test/y2firstboot/wsl_config_test.rb new/yast2-firstboot-4.5.4/test/y2firstboot/wsl_config_test.rb
--- old/yast2-firstboot-4.5.3/test/y2firstboot/wsl_config_test.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-firstboot-4.5.4/test/y2firstboot/wsl_config_test.rb 2022-10-21 11:27:11.000000000 +0200
@@ -0,0 +1,119 @@
+#!/usr/bin/env rspec
+
+# Copyright (c) [2022] SUSE LLC
+#
+# All Rights Reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of version 2 of the GNU General Public License as published
+# by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, contact SUSE LLC.
+#
+# To contact SUSE LLC about this file by physical or electronic mail, you may
+# find current contact information at www.suse.com.
+
+require_relative "../test_helper"
+require "y2firstboot/wsl_config"
+
+Yast.import "PackageSystem"
+
+describe Y2Firstboot::WSLConfig do
+ subject { described_class.instance }
+
+ before do
+ allow(Yast::PackageSystem).to receive(:EnsureTargetInit)
+ allow(Yast::PackageSystem).to receive(:EnsureSourceInit)
+
+ allow(Y2Packager::Resolvable)
+ .to receive(:find).with(a_hash_including(kind: :product)).and_return([installed_product])
+ end
+
+ after do
+ subject.instance_variable_set(:@installed_product, nil)
+ end
+
+ let(:installed_product) { nil }
+
+ describe "#product_switched?" do
+ before do
+ subject.product = product
+ end
+
+ context "when there is an installed product" do
+ let(:installed_product) do
+ double(
+ Y2Packager::Resolvable,
+ name: "SLES",
+ version_version: "15.4"
+ )
+ end
+
+ context "and there is no selected product" do
+ let(:product) { nil }
+
+ it "returns false" do
+ expect(subject.product_switched?).to eq(false)
+ end
+ end
+
+ context "and the selected product is the installed product" do
+ let(:product) { { "name" => "SLES", "version" => "15.4" } }
+
+ it "returns false" do
+ expect(subject.product_switched?).to eq(false)
+ end
+ end
+
+ context "and the selected product is the installed product with different version" do
+ let(:product) { { "name" => "SLES", "version" => "15.3" } }
+
+ it "returns true" do
+ expect(subject.product_switched?).to eq(true)
+ end
+ end
+
+ context "and the selected product is not the installed product" do
+ let(:product) { { "name" => "SLED", "version" => "15.4" } }
+
+ it "returns true" do
+ expect(subject.product_switched?).to eq(true)
+ end
+ end
+ end
+
+ context "when there is no installed product" do
+ let(:installed_product) { nil }
+
+ let(:product) { "SLES" }
+
+ it "returns false" do
+ expect(subject.product_switched?).to eq(false)
+ end
+ end
+ end
+
+ describe "#installed_product" do
+ context "when there is an installed product" do
+ let(:installed_product) { double(Y2Packager::Resolvable, name: "SLES") }
+
+ it "returns the installed product" do
+ expect(subject.installed_product.name).to eq("SLES")
+ end
+ end
+
+ context "when there is no installed product" do
+ let(:installed_product) { nil }
+
+ it "returns nil" do
+ expect(subject.installed_product).to be_nil
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.5.3/wsl/firstboot.ycontrol.xml new/yast2-firstboot-4.5.4/wsl/firstboot.ycontrol.xml
--- old/yast2-firstboot-4.5.3/wsl/firstboot.ycontrol.xml 2022-08-11 13:23:45.000000000 +0200
+++ new/yast2-firstboot-4.5.4/wsl/firstboot.ycontrol.xml 2022-10-21 11:27:11.000000000 +0200
@@ -155,6 +155,11 @@
<name>firstboot_root</name>
</module>
<module>
+ <label>Product Selection</label>
+ <name>firstboot_wsl_product_selection</name>
+ <enabled config:type="boolean">false</enabled>
+ </module>
+ <module>
<label>Customer Center</label>
<name>registration</name>
<enabled config:type="boolean">false</enabled>
@@ -171,6 +176,12 @@
<enable_back>no</enable_back>
<enable_next>no</enable_next>
</module>
+ <module>
+ <label>Package Installation</label>
+ <name>inst_rpmcopy</name>
+ <enable_back>no</enable_back>
+ <enable_next>no</enable_next>
+ </module>
<module>
<label>Finish Setup</label>
<name>firstboot_write</name>
1
0