openSUSE Commits
Threads by month
- ----- 2024 -----
- 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
April 2024
- 1 participants
- 1686 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package yast2-storage-ng for openSUSE:Factory checked in at 2024-04-26 23:26:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-storage-ng (Old)
and /work/SRC/openSUSE:Factory/.yast2-storage-ng.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-storage-ng"
Fri Apr 26 23:26:32 2024 rev:158 rq:1170162 version:5.0.13
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-storage-ng/yast2-storage-ng.changes 2024-04-18 22:10:16.536342602 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-storage-ng.new.1880/yast2-storage-ng.changes 2024-04-26 23:26:38.479567657 +0200
@@ -1,0 +2,9 @@
+Wed Apr 24 07:48:08 UTC 2024 - Ancor Gonzalez Sosa <ancor(a)suse.com>
+
+- GuidedProposal: refine the :bigger_resize SpaceMaker strategy
+ (gh#openSUSE/agama#1164).
+- Fixed a bug related to the calculation of partitions required
+ for booting when RAID is involved.
+- 5.0.13
+
+-------------------------------------------------------------------
Old:
----
yast2-storage-ng-5.0.12.tar.bz2
New:
----
yast2-storage-ng-5.0.13.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-storage-ng.spec ++++++
--- /var/tmp/diff_new_pack.SHPLdX/_old 2024-04-26 23:26:39.159592478 +0200
+++ /var/tmp/diff_new_pack.SHPLdX/_new 2024-04-26 23:26:39.159592478 +0200
@@ -17,7 +17,7 @@
Name: yast2-storage-ng
-Version: 5.0.12
+Version: 5.0.13
Release: 0
Summary: YaST2 - Storage Configuration
License: GPL-2.0-only OR GPL-3.0-only
++++++ yast2-storage-ng-5.0.12.tar.bz2 -> yast2-storage-ng-5.0.13.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-ng-5.0.12/package/yast2-storage-ng.changes new/yast2-storage-ng-5.0.13/package/yast2-storage-ng.changes
--- old/yast2-storage-ng-5.0.12/package/yast2-storage-ng.changes 2024-04-18 14:02:13.000000000 +0200
+++ new/yast2-storage-ng-5.0.13/package/yast2-storage-ng.changes 2024-04-25 16:28:38.000000000 +0200
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Apr 24 07:48:08 UTC 2024 - Ancor Gonzalez Sosa <ancor(a)suse.com>
+
+- GuidedProposal: refine the :bigger_resize SpaceMaker strategy
+ (gh#openSUSE/agama#1164).
+- Fixed a bug related to the calculation of partitions required
+ for booting when RAID is involved.
+- 5.0.13
+
+-------------------------------------------------------------------
Wed Apr 17 15:56:25 UTC 2024 - Ladislav Slezák <lslezak(a)suse.com>
- Optionally add the encryption status in the device description
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-ng-5.0.12/package/yast2-storage-ng.spec new/yast2-storage-ng-5.0.13/package/yast2-storage-ng.spec
--- old/yast2-storage-ng-5.0.12/package/yast2-storage-ng.spec 2024-04-18 14:02:13.000000000 +0200
+++ new/yast2-storage-ng-5.0.13/package/yast2-storage-ng.spec 2024-04-25 16:28:38.000000000 +0200
@@ -16,7 +16,7 @@
#
Name: yast2-storage-ng
-Version: 5.0.12
+Version: 5.0.13
Release: 0
Summary: YaST2 - Storage Configuration
License: GPL-2.0-only OR GPL-3.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-ng-5.0.12/src/lib/y2storage/boot_requirements_strategies/analyzer.rb new/yast2-storage-ng-5.0.13/src/lib/y2storage/boot_requirements_strategies/analyzer.rb
--- old/yast2-storage-ng-5.0.12/src/lib/y2storage/boot_requirements_strategies/analyzer.rb 2024-04-18 14:02:13.000000000 +0200
+++ new/yast2-storage-ng-5.0.13/src/lib/y2storage/boot_requirements_strategies/analyzer.rb 2024-04-25 16:28:38.000000000 +0200
@@ -85,6 +85,8 @@
return @boot_disk if @boot_disk
@boot_disk = devicegraph.find_by_name(boot_disk_name) if boot_disk_name
+ # If the disk was explicitly chosen via boot_disk_name, we are all set
+ return @boot_disk if @boot_disk
@boot_disk ||= boot_disk_from_planned_dev
@boot_disk ||= boot_disk_from_devicegraph
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-ng-5.0.12/src/lib/y2storage/proposal/space_maker_actions/bigger_resize_strategy.rb new/yast2-storage-ng-5.0.13/src/lib/y2storage/proposal/space_maker_actions/bigger_resize_strategy.rb
--- old/yast2-storage-ng-5.0.12/src/lib/y2storage/proposal/space_maker_actions/bigger_resize_strategy.rb 2024-04-18 14:02:13.000000000 +0200
+++ new/yast2-storage-ng-5.0.13/src/lib/y2storage/proposal/space_maker_actions/bigger_resize_strategy.rb 2024-04-25 16:28:38.000000000 +0200
@@ -34,18 +34,21 @@
@settings = settings
@to_delete_mandatory = []
@to_delete_optional = []
+ @to_wipe = []
@to_resize = []
end
# @param disk [Disk] see {List}
def add_mandatory_actions(disk)
- devices = disk.partition_table? ? partitions(disk) : [disk]
- devices.select! { |d| configured?(d, :force_delete) }
+ return unless disk.partition_table?
+
+ devices = partitions(disk).select { |p| configured?(p, :force_delete) }
to_delete_mandatory.concat(devices)
end
# @param disk [Disk] see {List}
def add_optional_actions(disk, _lvm_helper)
+ add_wipe(disk)
add_resize(disk)
add_optional_delete(disk)
end
@@ -57,8 +60,9 @@
return unless dev
return Shrink.new(dev) if source == :to_resize
+ return Wipe.new(dev) if source == :to_wipe
- dev.is?(:partition) ? Delete.new(dev, related_partitions: false) : Wipe.new(dev)
+ Delete.new(dev, related_partitions: false)
end
# @param deleted_sids [Array<Integer>] see {List}
@@ -74,15 +78,26 @@
# @return [ProposalSpaceSettings] proposal settings for making space
attr_reader :settings
- # @return [Array<BlkDevice>] list of devices to be deleted or emptied (mandatory)
+ # @return [Array<BlkDevice>] list of devices to be deleted (mandatory)
attr_reader :to_delete_mandatory
- # @return [Array<BlkDevice>] list of devices to be deleted or emptied (optionally)
+ # @return [Array<BlkDevice>] list of devices to be deleted (optionally)
attr_reader :to_delete_optional
# @return [Array<Partition>] list of partitions to be shrunk
attr_reader :to_resize
+ # @return [Array<BlkDevice>] list of disks to be emptied if needed
+ attr_reader :to_wipe
+
+ # @see #add_optional_actions
+ # @param disk [Disk]
+ def add_wipe(disk)
+ return if disk.partition_table?
+
+ to_wipe << disk
+ end
+
# @see #add_optional_actions
# @param disk [Disk]
def add_resize(disk)
@@ -110,12 +125,10 @@
#
# @param disk [Disk]
def add_optional_delete(disk)
- if disk.partition_table?
- partitions = partitions(disk).select { |p| configured?(p, :delete) }
- to_delete_optional.concat(partitions.sort { |a, b| preferred_delete(a, b) })
- elsif configured?(disk, :delete)
- to_delete_optional << disk
- end
+ return unless disk.partition_table?
+
+ partitions = partitions(disk).select { |p| configured?(p, :delete) }
+ to_delete_optional.concat(partitions.sort { |a, b| preferred_delete(a, b) })
end
# Compares two partitions to decide which one should be deleted first
@@ -152,6 +165,8 @@
def source_for_next
if to_delete_mandatory.any?
:to_delete_mandatory
+ elsif to_wipe.any?
+ :to_wipe
elsif to_resize.any?
:to_resize
else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-ng-5.0.12/src/lib/y2storage/proposal_space_settings.rb new/yast2-storage-ng-5.0.13/src/lib/y2storage/proposal_space_settings.rb
--- old/yast2-storage-ng-5.0.12/src/lib/y2storage/proposal_space_settings.rb 2024-04-18 14:02:13.000000000 +0200
+++ new/yast2-storage-ng-5.0.13/src/lib/y2storage/proposal_space_settings.rb 2024-04-25 16:28:38.000000000 +0200
@@ -82,13 +82,12 @@
# @return [Boolean]
attr_accessor :delete_resize_configurable
- # What to do with existing partitions and disks if they are involved in the process of making
- # space.
+ # What to do with existing partitions if they are involved in the process of making space.
#
# Keys are device names (like in BlkDevice#name, no alternative names) that correspond to a
- # partition or to a disk with no partitions.
+ # partition.
#
- # The value for each key specifies what to do with the corresponding device if the storage
+ # The value for each key specifies what to do with the corresponding partition if the storage
# proposal needs to process the corresponding disk. If the device is not explicitly mentioned,
# nothing will be done. Possible values are :resize, :delete and :force_delete.
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-ng-5.0.12/test/y2storage/proposal/space_maker_bigger_resize_test.rb new/yast2-storage-ng-5.0.13/test/y2storage/proposal/space_maker_bigger_resize_test.rb
--- old/yast2-storage-ng-5.0.12/test/y2storage/proposal/space_maker_bigger_resize_test.rb 2024-04-18 14:02:13.000000000 +0200
+++ new/yast2-storage-ng-5.0.13/test/y2storage/proposal/space_maker_bigger_resize_test.rb 2024-04-25 16:28:38.000000000 +0200
@@ -56,6 +56,7 @@
end
end
+ # :force_delete for disks should be ignored, actions only make sense for partitions and LVs
context "if :force_delete is specified for a disk that contains partitions" do
let(:settings_actions) { { "/dev/sda" => :force_delete } }
@@ -79,6 +80,7 @@
end
end
+ # :force_delete for disks should be ignored, actions only make sense for partitions and LVs
context "if :force_delete is specified for a directly formatted disk (no partition table)" do
let(:scenario) { "multipath-formatted.xml" }
@@ -88,13 +90,15 @@
settings.root_device = "/dev/mapper/0QEMU_QEMU_HARDDISK_mpath1"
end
- it "empties the device deleting the filesystem" do
- expect(fake_devicegraph.filesystems.size).to eq 1
+ it "does not modify the content of the disk" do
+ original_filesystems = fake_devicegraph.filesystems
+ expect(original_filesystems.size).to eq 1
result = maker.prepare_devicegraph(fake_devicegraph)
- disk = result.disk_devices.first
- expect(disk.has_children?).to eq false
- expect(result.filesystems).to be_empty
+ filesystems = result.filesystems
+ expect(filesystems.size).to eq 1
+ device = filesystems.first.blk_devices.first
+ expect(device.name).to eq "/dev/mapper/0QEMU_QEMU_HARDDISK_mpath1"
end
end
@@ -185,36 +189,23 @@
let(:scenario) { "lvm-disk-as-pv.xml" }
let(:vol1) { planned_vol(mount_point: "/1", type: :ext4, min: 5.GiB) }
- context "and the disk is not mentioned in the settings" do
- let(:settings_actions) { { "/dev/sda1" => :delete } }
+ it "empties the disk deleting the LVM VG" do
+ expect(fake_devicegraph.lvm_vgs.size).to eq 1
+
+ result = maker.provide_space(fake_devicegraph, volumes, lvm_helper)
+ disk = result[:devicegraph].disks.first
+ expect(disk.has_children?).to eq false
+ expect(result[:devicegraph].lvm_vgs).to be_empty
+ end
+
+ it "assumes a (future) GPT partition table" do
+ gpt_size = 1.MiB
+ # The final 16.5 KiB are reserved by GPT
+ gpt_final_space = 16.5.KiB
- it "raises an Error exception" do
- expect { maker.provide_space(fake_devicegraph, volumes, lvm_helper) }
- .to raise_error Y2Storage::Error
- end
- end
-
- context "and the disk is marked to be deleted" do
- let(:settings_actions) { { "/dev/sda" => :delete } }
-
- it "empties the disk deleting the LVM VG" do
- expect(fake_devicegraph.lvm_vgs.size).to eq 1
-
- result = maker.provide_space(fake_devicegraph, volumes, lvm_helper)
- disk = result[:devicegraph].disks.first
- expect(disk.has_children?).to eq false
- expect(result[:devicegraph].lvm_vgs).to be_empty
- end
-
- it "assumes a (future) GPT partition table" do
- gpt_size = 1.MiB
- # The final 16.5 KiB are reserved by GPT
- gpt_final_space = 16.5.KiB
-
- result = maker.provide_space(fake_devicegraph, volumes, lvm_helper)
- space = result[:partitions_distribution].spaces.first
- expect(space.disk_size).to eq(space.disk.size - gpt_size - gpt_final_space)
- end
+ result = maker.provide_space(fake_devicegraph, volumes, lvm_helper)
+ space = result[:partitions_distribution].spaces.first
+ expect(space.disk_size).to eq(space.disk.size - gpt_size - gpt_final_space)
end
end
@@ -227,36 +218,23 @@
settings.root_device = "/dev/mapper/0QEMU_QEMU_HARDDISK_mpath1"
end
- context "and the device is not mentioned in the settings" do
- let(:settings_actions) { {} }
+ it "empties the device deleting the filesystem" do
+ expect(fake_devicegraph.filesystems.size).to eq 1
+
+ result = maker.provide_space(fake_devicegraph, volumes, lvm_helper)
+ disk = result[:devicegraph].disk_devices.first
+ expect(disk.has_children?).to eq false
+ expect(result[:devicegraph].filesystems).to be_empty
+ end
+
+ it "assumes a (future) GPT partition table" do
+ gpt_size = 1.MiB
+ # The final 16.5 KiB are reserved by GPT
+ gpt_final_space = 16.5.KiB
- it "raises an Error exception" do
- expect { maker.provide_space(fake_devicegraph, volumes, lvm_helper) }
- .to raise_error Y2Storage::Error
- end
- end
-
- context "and the disk is marked to be deleted" do
- let(:settings_actions) { { "/dev/mapper/0QEMU_QEMU_HARDDISK_mpath1" => :delete } }
-
- it "empties the device deleting the filesystem" do
- expect(fake_devicegraph.filesystems.size).to eq 1
-
- result = maker.provide_space(fake_devicegraph, volumes, lvm_helper)
- disk = result[:devicegraph].disk_devices.first
- expect(disk.has_children?).to eq false
- expect(result[:devicegraph].filesystems).to be_empty
- end
-
- it "assumes a (future) GPT partition table" do
- gpt_size = 1.MiB
- # The final 16.5 KiB are reserved by GPT
- gpt_final_space = 16.5.KiB
-
- result = maker.provide_space(fake_devicegraph, volumes, lvm_helper)
- space = result[:partitions_distribution].spaces.first
- expect(space.disk_size).to eq(space.disk.size - gpt_size - gpt_final_space)
- end
+ result = maker.provide_space(fake_devicegraph, volumes, lvm_helper)
+ space = result[:partitions_distribution].spaces.first
+ expect(space.disk_size).to eq(space.disk.size - gpt_size - gpt_final_space)
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-ng-5.0.12/test/y2storage/proposal_agama_advanced_test.rb new/yast2-storage-ng-5.0.13/test/y2storage/proposal_agama_advanced_test.rb
--- old/yast2-storage-ng-5.0.12/test/y2storage/proposal_agama_advanced_test.rb 2024-04-18 14:02:13.000000000 +0200
+++ new/yast2-storage-ng-5.0.13/test/y2storage/proposal_agama_advanced_test.rb 2024-04-25 16:28:38.000000000 +0200
@@ -52,6 +52,7 @@
fake_devicegraph.mount_points.each { |i| i.parents.first.remove_mount_point }
settings.space_settings.strategy = :bigger_resize
+ settings.lvm_vg_reuse = false
# Agama uses homogeneous weights for all volumes
settings.volumes.each { |v| v.weight = 100 }
# Activate support for separate LVM VGs
@@ -80,5 +81,98 @@
expect { proposal.propose }.to_not raise_error
end
end
+
+ context "with one disk containing partitions and another directly formatted" do
+ let(:scenario) { "gpt_msdos_and_empty" }
+
+ let(:lvm) { true }
+
+ before do
+ settings.candidate_devices = ["/dev/sdc", "/dev/sdf"]
+ settings.root_device = "/dev/sdc"
+ end
+
+ let(:volumes) { [{ "mount_point" => "/", "fs_type" => "xfs", "min_size" => size }] }
+
+ context "if there is no need to use the formatted disk (everything fits in the other)" do
+ let(:size) { "200 GiB" }
+
+ it "does not modify the formatted disk" do
+ proposal.propose
+ disk = proposal.devices.find_by_name("/dev/sdf")
+ expect(disk.filesystem.type.is?(:xfs)).to eq true
+ expect(disk.partitions).to be_empty
+ end
+ end
+
+ context "if the formatted disk needs to be used" do
+ let(:size) { "970 GiB" }
+
+ it "empties the disk deleting the filesystem" do
+ proposal.propose
+ disk = proposal.devices.find_by_name("/dev/sdf")
+ expect(disk.filesystem).to be_nil
+ expect(disk.partitions).to_not be_empty
+ end
+ end
+
+ context "if non-mandatory actions are possible to make space" do
+ let(:size) { "100 GiB" }
+
+ before do
+ settings.candidate_devices = ["/dev/sda", "/dev/sdf"]
+ settings.root_device = "/dev/sda"
+ end
+
+ it "tries to use the formatted disk before trying an optional delete" do
+ sda1_sid = fake_devicegraph.find_by_name("/dev/sda1").sid
+
+ settings.space_settings.actions = { "/dev/sda1" => :delete }
+ proposal.propose
+ expect(proposal.failed?).to eq false
+
+ disk = proposal.devices.find_by_name("/dev/sdf")
+ expect(disk.filesystem).to be_nil
+ expect(disk.partitions).to_not be_empty
+
+ expect(proposal.devices.find_by_name("/dev/sda1").sid).to eq sda1_sid
+ end
+
+ it "tries to use the formatted disk before trying an optional resize" do
+ orig_sda1 = fake_devicegraph.find_by_name("/dev/sda1")
+
+ settings.space_settings.actions = { "/dev/sda1" => :resize }
+ proposal.propose
+ expect(proposal.failed?).to eq false
+
+ disk = proposal.devices.find_by_name("/dev/sdf")
+ expect(disk.filesystem).to be_nil
+ expect(disk.partitions).to_not be_empty
+
+ sda1 = proposal.devices.find_by_name("/dev/sda1")
+ expect(sda1.sid).to eq orig_sda1.sid
+ expect(sda1.size).to eq orig_sda1.size
+ end
+ end
+ end
+
+ context "when installing on a disk that previously contained a RAID1" do
+ let(:scenario) { "windows-pc-raid1.xml" }
+
+ before do
+ settings.candidate_devices = ["/dev/sda"]
+ settings.root_device = "/dev/sda"
+ # Let's ensure a bios_boot partition is needed
+ allow(storage_arch).to receive(:efiboot?).and_return(false)
+ end
+
+ # In the past, the pre-existing RAID1 was considered to be the booting disk due to some
+ # false asumptions made by the BootRequirementsChecker.
+ it "creates the partitions needed for booting in the correct disk" do
+ proposal.propose
+ disk = proposal.devices.find_by_name("/dev/sda")
+ expect(disk.partitions.map(&:id)).to include Y2Storage::PartitionId::BIOS_BOOT
+ end
+ end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-ng-5.0.12/test/y2storage/proposal_agama_reuse_test.rb new/yast2-storage-ng-5.0.13/test/y2storage/proposal_agama_reuse_test.rb
--- old/yast2-storage-ng-5.0.12/test/y2storage/proposal_agama_reuse_test.rb 2024-04-18 14:02:13.000000000 +0200
+++ new/yast2-storage-ng-5.0.13/test/y2storage/proposal_agama_reuse_test.rb 2024-04-25 16:28:38.000000000 +0200
@@ -221,22 +221,12 @@
settings.root_device = "/dev/sdc"
end
- # FIXME: this should change when we implement https://trello.com/c/88lh9u52/
- context "if there is no space action to delete the content of the disk" do
- it "fails to make a proposal" do
- proposal.propose
- expect(proposal.failed?).to eq true
- end
- end
-
- context "if there is a space action to delete the content of the disk" do
- let(:space_actions) { { "/dev/sdc" => :delete } }
-
- it "makes the expected proposal" do
- expect(proposal.propose).to eq true
- disk = proposal.devices.find_by_name(settings.root_device)
- expect(disk.partitions.size).to eq 4
- end
+ # In the past, a delete action on the disk was requested. We later decided that actions
+ # only make sense for partitions and LVs
+ it "makes the expected proposal" do
+ expect(proposal.propose).to eq true
+ disk = proposal.devices.find_by_name(settings.root_device)
+ expect(disk.partitions.size).to eq 4
end
end
@@ -249,7 +239,7 @@
srv.reuse_name = "/dev/sdc"
end
- # No space action needed for sdc
+ # No space action needed for sdc, see above
it "formats the disk and assigns the mount point" do
proposal.propose
filesystem = proposal.devices.filesystems.find { |i| i.mount_path == "/srv" }
@@ -264,29 +254,19 @@
srv.reuse_name = "/dev/sdb"
end
- context "and there are no space actions to delete all the partitions" do
- # sdb2 is not deleted
- let(:space_actions) { { "/dev/sdb1" => :delete } }
-
- # FIXME: this should change when we implement https://trello.com/c/88lh9u52/
- # the proposal should fail if deleting sdb2 is not allowed
- it "formats the disk and assigns the mount point" do
- proposal.propose
- filesystem = proposal.devices.filesystems.find { |i| i.mount_path == "/srv" }
- expect(filesystem.blk_devices.first.name).to eq "/dev/sdb"
- expect(filesystem.type.is?(:xfs)).to eq true
- end
- end
-
- context "and there are space actions to delete all the partitions" do
- let(:space_actions) { { "/dev/sdb1" => :delete, "/dev/sdb2" => :delete } }
-
- it "formats the disk and assigns the mount point" do
- proposal.propose
- filesystem = proposal.devices.filesystems.find { |i| i.mount_path == "/srv" }
- expect(filesystem.blk_devices.first.name).to eq "/dev/sdb"
- expect(filesystem.type.is?(:xfs)).to eq true
- end
+ # In the past, delete actions were requested for the partitions. We later decided
+ # they were not necessary for disks being explicitly reused for a volume.
+ it "deletes the disk partitions even if there are no space actions about them" do
+ proposal.propose
+ disk = proposal.devices.find_by_name("/dev/sdb")
+ expect(disk.partitions).to be_empty
+ end
+
+ it "formats the disk and assigns the mount point" do
+ proposal.propose
+ filesystem = proposal.devices.filesystems.find { |i| i.mount_path == "/srv" }
+ expect(filesystem.blk_devices.first.name).to eq "/dev/sdb"
+ expect(filesystem.type.is?(:xfs)).to eq true
end
end
end
@@ -360,10 +340,7 @@
expect(partition).to_not be_nil
end
- # FIXME: we need to clarify what the expectations regarding the partitions of the RAID
- # Do we need delete actions for them? So far, the only devices for which we consider the
- # partitions in the space policy are the disk_devices. What do we do regarding MDs or
- # bcaches. To be clarified as part of https://trello.com/c/88lh9u52/
+ # Delete actions are not necessary since the MD is being explicitly reused by a volume.
it "deletes the MD partitions even if there are no space actions about them" do
proposal.propose
partition = proposal.devices.find_by_name("/dev/md0p1")
@@ -375,31 +352,6 @@
filesystem = proposal.devices.filesystems.find { |i| i.mount_path == "/srv" }
expect(filesystem.blk_devices.first.sid).to eq original_md0.sid
end
-
- context "and there are no space actions to delete all the partitions" do
- # sdb2 is not deleted
- let(:space_actions) { { "/dev/sdb1" => :delete } }
-
- # FIXME: this should change when we implement https://trello.com/c/88lh9u52/
- # the proposal should fail if deleting sdb2 is not allowed
- it "formats the RAID and assigns the mount point" do
- proposal.propose
- filesystem = proposal.devices.filesystems.find { |i| i.mount_path == "/srv" }
- expect(filesystem.blk_devices.first.name).to eq "/dev/md0"
- expect(filesystem.type.is?(:xfs)).to eq true
- end
- end
-
- context "and there are space actions to delete all the partitions" do
- let(:space_actions) { { "/dev/sdb1" => :delete, "/dev/sdb2" => :delete } }
-
- it "formats the RAID and assigns the mount point" do
- proposal.propose
- filesystem = proposal.devices.filesystems.find { |i| i.mount_path == "/srv" }
- expect(filesystem.blk_devices.first.name).to eq "/dev/md0"
- expect(filesystem.type.is?(:xfs)).to eq true
- end
- end
end
end
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rendercheck for openSUSE:Factory checked in at 2024-04-26 23:26:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rendercheck (Old)
and /work/SRC/openSUSE:Factory/.rendercheck.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rendercheck"
Fri Apr 26 23:26:28 2024 rev:8 rq:1170149 version:1.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/rendercheck/rendercheck.changes 2015-06-12 20:32:06.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rendercheck.new.1880/rendercheck.changes 2024-04-26 23:26:33.367381061 +0200
@@ -1,0 +2,35 @@
+Tue Apr 23 23:41:43 UTC 2024 - Stefan Dirsch <sndirsch(a)suse.com>
+
+- Update to release 1.6
+ * Skip shmblend if SHM pixmaps aren't supported
+ * triangles: Fix tests for conjoint and disjoint ops
+ * Be valgrind-clean
+ * Don't fail to find the a8r8g8b8 format pointlessly
+ * Enable a few more formats
+ * Update bug tracker URL in man page
+ * gitlab CI: add a basic build test
+ * t_repeat.c, t_triangles.c: convert from ISO-8859-1 to UTF-8
+ * autogen.sh: use quoted string variables
+ * Start using stdbool.h instead of Xlib or custom bools.
+ * Save the list of active formats in a global for use by tests.
+ * Use ELF sections to make test setup easier.
+ * shmblend: New test for XRenderComposite() from a pixmap in SHM.
+ * autogen: Set a default prefix for patches if unset.
+ * Fix a printf format warning.
+ * Add a meson build system.
+ * Remove the autotools build system.
+ * Simplify manpage variable substitution for Meson.
+ * Explain how to build using meson in the README.
+ * darwin: Build fix
+ * Mark pointers to test structs as used to prevent dead symbol stripping
+ * Prevent ASan from placing guards around test structs as we expect them to be laid out sequentially
+ * Revert "Reduce the number of colors to speed up test execution."
+ * meson: Set project version
+ * meson: Set project license
+ * autogen.sh: drop --enable-maintainer-mode
+ * autogen.sh: honor NOCONFIGURE=1
+ * Fix errx handling of va_list
+- switched to meson build
+- fixed source URL in specfile
+
+-------------------------------------------------------------------
Old:
----
rendercheck-1.5.tar.bz2
New:
----
rendercheck-1.6.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rendercheck.spec ++++++
--- /var/tmp/diff_new_pack.8CFDUd/_old 2024-04-26 23:26:33.827397851 +0200
+++ /var/tmp/diff_new_pack.8CFDUd/_new 2024-04-26 23:26:33.831397997 +0200
@@ -1,7 +1,7 @@
#
# spec file for package rendercheck
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,20 +12,22 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: rendercheck
-Version: 1.5
+Version: 1.6
Release: 0
Summary: Program to test a Render extension implementation
License: HPND
Group: System/X11/Utilities
-Url: http://xorg.freedesktop.org/
-Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.…
+URL: http://xorg.freedesktop.org/
+Source0: https://xorg.freedesktop.org/archive/individual/test/%{name}-%{version}.tar…
+BuildRequires: meson
BuildRequires: pkg-config
BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xorg-macros) >= 1.8
BuildRequires: pkgconfig(xrender)
# This was part of the xorg-x11 package up to version 7.6
@@ -40,15 +42,15 @@
%setup -q
%build
-%configure
-make %{?_smp_mflags}
+%meson
+%meson_build
%install
-%make_install
+%meson_install
%files
%defattr(-,root,root)
-%doc AUTHORS ChangeLog COPYING NEWS README
+%doc AUTHORS COPYING NEWS README
%{_bindir}/rendercheck
%{_mandir}/man1/rendercheck.1%{?ext_man}
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package MozillaFirefox for openSUSE:Factory checked in at 2024-04-26 23:26:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/MozillaFirefox (Old)
and /work/SRC/openSUSE:Factory/.MozillaFirefox.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "MozillaFirefox"
Fri Apr 26 23:26:13 2024 rev:425 rq:1169983 version:125.0.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/MozillaFirefox/MozillaFirefox.changes 2024-04-04 22:24:23.715194799 +0200
+++ /work/SRC/openSUSE:Factory/.MozillaFirefox.new.1880/MozillaFirefox.changes 2024-04-26 23:26:20.686918219 +0200
@@ -1,0 +2,120 @@
+Sun Apr 21 04:49:23 UTC 2024 - Wolfgang Rosenauer <wr(a)rosenauer.org>
+
+- Mozilla Firefox 125.0.2
+ * The 125.0 and 125.0.1 releases were skipped due to problems with a
+ feature that proactively blocked downloads from potentially
+ untrustworthy URLs
+ * New: Firefox now supports the AV1 codec for Encrypted Media
+ Extensions (EME), enabling higher-quality playback from video
+ streaming providers
+ * New: The Firefox PDF viewer now supports text highlighting.
+ * New: Firefox View now displays pinned tabs in the Open tabs
+ section. Tab indicators have also been added to Open tabs, so
+ users can do things like see which tabs are playing media and
+ quickly mute or unmute across windows. Indicators were also
+ added for bookmarks, tabs with notifications, and more!
+ their addresses upon submitting an address form, allowing
+ Firefox to autofill stored address information in the future.
+ * New: The URL Paste Suggestion feature provides a convenient
+ way for users to quickly visit URLs copied to the clipboard
+ in the address bar of Firefox. When the clipboard contains a
+ URL and the URL bar is focused, an autocomplete result
+ appears automatically. Activating the clipboard suggestion
+ will navigate the user to the URL with 1 click.
+ * New: Users of tab-specific Container add-ons can now search
+ in the Address Bar for tabs that are open in different
+ containers. Special thanks to volunteer contributor atararx
+ for kicking off the work on this feature!
+ * New: Firefox now provides an option to enable Web Proxy Auto-
+ Discovery (WPAD) while configured to use system proxy
+ settings.
+ * Changed: In a group of radio buttons where no option is
+ selected, the tab key now only reaches the first option
+ rather than cycling through all available options. The arrow
+ keys navigate between options as they do when there is a
+ selected option. This makes keyboard navigation more
+ efficient and consistent
+ * HTML5: Firefox now supports the `popover` global attribute
+ used for designating an element as a popover element. The
+ element won't be rendered until it is made visible, after
+ which it will appear on top of other page content.
+ * HTML5: WebAssembly multi-memory is now enabled by default.
+ Wasm multi-memory allows wasm modules to use and import
+ multiple independent linear memories. This enables more
+ efficient interoperability between modules and provides
+ better polyfills for upcoming wasm standards, such as the
+ component model.
+ * HTML5: Added support for Unicode Text Segmentation to
+ JavaScript.
+ * HTML5: Added support for `contextlost` and `contextrestored`
+ events on HTMLCanvasElement and OffscreenCanvas to allow user
+ code to recover from context loss with hardware accelerated
+ 2d canvas.
+ * HTML5: Firefox now supports the
+ `navigator.clipboard.readText()` web API. A paste context
+ menu will appear for the user to confirm when attempting to
+ read clipboard data not provided by the same-origin page.
+ * HTML5: Added support for the `content-box` and `stroke-box`
+ keywords of the `transform-box` CSS property.
+ * HTML5: The `align-content` property now works in block
+ layout, allowing block direction alignment without needing a
+ flex or grid container.
+ * HTML5: Support for `SVGAElement.text` was removed in favor of
+ the more widely-implemented `SVGAElement.textContent` method.
+ * Developer: Following several requests, we have reintroduced
+ the option to disable the Pause Debugger Overlay
+ (`devtools.debugger.features.overlay`). This overlay appears
+ over the page content when the debugger pauses JavaScript
+ execution. In certain scenarios, the overlay can be
+ intrusive, making it challenging to interact with the page,
+ for instance, evaluating shades of color underneath.
+ * Developer: We've added a new drop-down menu button at the
+ bottom of the source view in the Debugger panel, specifically
+ designed for Source Map related actions. Users can now easily
+ disable or enable Source Maps support, open the Source Map
+ file in a new tab, switch between the original source and the
+ generated bundle, toggle the "open original source by
+ default" option, and view the Source Map status such as
+ errors, loading status, etc.
+ MFSA 2024-18 (bsc#1221327)
+ * CVE-2024-3852 (bmo#1883542)
+ GetBoundName in the JIT returned the wrong object
+ * CVE-2024-3853 (bmo#1884427)
+ Use-after-free if garbage collection runs during realm initialization
+ * CVE-2024-3854 (bmo#1884552)
+ Out-of-bounds-read after mis-optimized switch statement
+ * CVE-2024-3855 (bmo#1885828)
+ Incorrect JIT optimization of MSubstr leads to out-of-bounds reads
+ * CVE-2024-3856 (bmo#1885829)
+ Use-after-free in WASM garbage collection
+ * CVE-2024-3857 (bmo#1886683)
+ Incorrect JITting of arguments led to use-after-free during
+ garbage collection
+ * CVE-2024-3858 (bmo#1888892)
+ Corrupt pointer dereference in js::CheckTracedThing<js::Shape>
+ * CVE-2024-3859 (bmo#1874489)
+ Integer-overflow led to out-of-bounds-read in the OpenType
+ sanitizer
+ * CVE-2024-3860 (bmo#1881417)
+ Crash when tracing empty shape lists
+ * CVE-2024-3861 (bmo#1883158)
+ Potential use-after-free due to AlignedBuffer self-move
+ * CVE-2024-3862 (bmo#1884457)
+ Potential use of uninitialized memory in MarkStack assignment
+ operator on self-assignment
+ * CVE-2024-3863 (bmo#1885855)
+ Download Protections were bypassed by .xrm-ms files on Windows
+ * CVE-2024-3302 (bmo#1881183,
+ bmo#https://kb.cert.org/vuls/id/421644)
+ Denial of Service using HTTP/2 CONTINUATION frames
+ * CVE-2024-3864 (bmo#1888333)
+ Memory safety bug fixed in Firefox 125, Firefox ESR 115.10,
+ and Thunderbird 115.10
+ * CVE-2024-3865 (bmo#1881076, bmo#1884887, bmo#1885359, bmo#1889049)
+ Memory safety bugs fixed in Firefox 125
+- requires
+ NSS 3.99
+ rust 1.76
+- add mozilla-libproxy-fix.patch to fix with-libproxy build variant
+
+-------------------------------------------------------------------
Old:
----
firefox-124.0.2.source.tar.xz
firefox-124.0.2.source.tar.xz.asc
l10n-124.0.2.tar.xz
New:
----
firefox-125.0.2.source.tar.xz
firefox-125.0.2.source.tar.xz.asc
l10n-125.0.2.tar.xz
mozilla-libproxy-fix.patch
BETA DEBUG BEGIN:
New: rust 1.76
- add mozilla-libproxy-fix.patch to fix with-libproxy build variant
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ MozillaFirefox.spec ++++++
--- /var/tmp/diff_new_pack.rDQ29f/_old 2024-04-26 23:26:30.943292581 +0200
+++ /var/tmp/diff_new_pack.rDQ29f/_new 2024-04-26 23:26:30.947292727 +0200
@@ -28,9 +28,9 @@
# orig_suffix b3
# major 69
# mainver %%major.99
-%define major 124
+%define major 125
%define mainver %major.0.2
-%define orig_version 124.0.2
+%define orig_version 125.0.2
%define orig_suffix %{nil}
%define update_channel release
%define branding 1
@@ -103,8 +103,8 @@
%else
BuildRequires: gcc-c++
%endif
-BuildRequires: cargo1.71
-BuildRequires: rust1.71
+BuildRequires: cargo1.76
+BuildRequires: rust1.76
%if 0%{useccache} != 0
BuildRequires: ccache
%endif
@@ -114,7 +114,7 @@
BuildRequires: libproxy-devel
BuildRequires: makeinfo
BuildRequires: mozilla-nspr-devel >= 4.35
-BuildRequires: mozilla-nss-devel >= 3.98
+BuildRequires: mozilla-nss-devel >= 3.99
BuildRequires: nasm >= 2.14
BuildRequires: nodejs >= 12.22.12
%if 0%{?sle_version} >= 120000 && 0%{?sle_version} < 150000
@@ -229,6 +229,7 @@
Patch22: mozilla-partial-revert-1768632.patch
Patch23: mozilla-rust-disable-future-incompat.patch
Patch24: mozilla-bmo1822730.patch
+Patch25: mozilla-libproxy-fix.patch
# Firefox/browser
Patch101: firefox-kde.patch
Patch102: firefox-branded-icons.patch
++++++ firefox-124.0.2.source.tar.xz -> firefox-125.0.2.source.tar.xz ++++++
/work/SRC/openSUSE:Factory/MozillaFirefox/firefox-124.0.2.source.tar.xz /work/SRC/openSUSE:Factory/.MozillaFirefox.new.1880/firefox-125.0.2.source.tar.xz differ: char 15, line 1
++++++ l10n-124.0.2.tar.xz -> l10n-125.0.2.tar.xz ++++++
/work/SRC/openSUSE:Factory/MozillaFirefox/l10n-124.0.2.tar.xz /work/SRC/openSUSE:Factory/.MozillaFirefox.new.1880/l10n-125.0.2.tar.xz differ: char 13, line 1
++++++ mozilla-kde.patch ++++++
--- /var/tmp/diff_new_pack.rDQ29f/_old 2024-04-26 23:26:31.291305283 +0200
+++ /var/tmp/diff_new_pack.rDQ29f/_new 2024-04-26 23:26:31.295305429 +0200
@@ -155,7 +155,7 @@
diff --git a/toolkit/mozapps/downloads/HelperAppDlg.sys.mjs b/toolkit/mozapps/downloads/HelperAppDlg.sys.mjs
--- a/toolkit/mozapps/downloads/HelperAppDlg.sys.mjs
+++ b/toolkit/mozapps/downloads/HelperAppDlg.sys.mjs
-@@ -1241,36 +1241,66 @@ nsUnknownContentTypeDialog.prototype = {
+@@ -1227,36 +1227,66 @@ nsUnknownContentTypeDialog.prototype = {
params.handlerApp &&
params.handlerApp.executable &&
params.handlerApp.executable.isFile()
@@ -238,7 +238,7 @@
var nsIFilePicker = Ci.nsIFilePicker;
var fp = Cc["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);
fp.init(
- this.mDialog,
+ this.mDialog.browsingContext,
this.dialogElement("strings").getString("chooseAppFilePickerTitle"),
nsIFilePicker.modeOpen
);
@@ -283,7 +283,7 @@
nsUnixSystemProxySettings::GetMainThreadOnly(bool* aMainThreadOnly) {
// dbus prevents us from being threadsafe, but this routine should not block
// anyhow
-@@ -388,21 +392,46 @@ nsresult nsUnixSystemProxySettings::GetP
+@@ -388,24 +392,49 @@ nsresult nsUnixSystemProxySettings::GetP
return NS_OK;
}
@@ -325,11 +325,14 @@
+ return NS_OK;
+}
+
+ NS_IMETHODIMP
+ nsUnixSystemProxySettings::GetSystemWPADSetting(bool* aSystemWPADSetting) {
+ *aSystemWPADSetting = false;
+ return NS_OK;
+ }
+
NS_IMPL_COMPONENT_FACTORY(nsUnixSystemProxySettings) {
auto result = MakeRefPtr<nsUnixSystemProxySettings>();
- result->Init();
- return result.forget().downcast<nsISupports>();
- }
diff --git a/toolkit/xre/moz.build b/toolkit/xre/moz.build
--- a/toolkit/xre/moz.build
+++ b/toolkit/xre/moz.build
++++++ mozilla-libproxy-fix.patch ++++++
# HG changeset patch
# User Wolfgang Rosenauer <wr(a)rosenauer.org>
# Parent 302a32e4a14475d3bae305decad92870ec37bbe5
diff --git a/toolkit/system/unixproxy/nsLibProxySettings.cpp b/toolkit/system/unixproxy/nsLibProxySettings.cpp
--- a/toolkit/system/unixproxy/nsLibProxySettings.cpp
+++ b/toolkit/system/unixproxy/nsLibProxySettings.cpp
@@ -94,11 +94,17 @@ nsresult nsUnixSystemProxySettings::GetP
c++;
}
free(proxyArray);
return NS_OK;
}
+NS_IMETHODIMP
+nsUnixSystemProxySettings::GetSystemWPADSetting(bool* aSystemWPADSetting) {
+ *aSystemWPADSetting = false;
+ return NS_OK;
+}
+
NS_IMPL_COMPONENT_FACTORY(nsUnixSystemProxySettings) {
return do_AddRef(new nsUnixSystemProxySettings()).downcast<nsISupports>();
}
++++++ mozilla-silence-no-return-type.patch ++++++
--- /var/tmp/diff_new_pack.rDQ29f/_old 2024-04-26 23:26:31.351307473 +0200
+++ /var/tmp/diff_new_pack.rDQ29f/_new 2024-04-26 23:26:31.355307619 +0200
@@ -1,5 +1,5 @@
# HG changeset patch
-# Parent 831d03cde86aa6b8803d5ac431e2d28bf85c9289
+# Parent af0655f894a27ef60aa8438af7939a5ebc498df0
diff --git a/gfx/skia/skia/include/codec/SkEncodedOrigin.h b/gfx/skia/skia/include/codec/SkEncodedOrigin.h
--- a/gfx/skia/skia/include/codec/SkEncodedOrigin.h
@@ -420,7 +420,7 @@
diff --git a/js/src/irregexp/imported/regexp-parser.cc b/js/src/irregexp/imported/regexp-parser.cc
--- a/js/src/irregexp/imported/regexp-parser.cc
+++ b/js/src/irregexp/imported/regexp-parser.cc
-@@ -2644,16 +2644,17 @@ bool MayContainStrings(ClassSetOperandTy
+@@ -2764,16 +2764,17 @@ bool MayContainStrings(ClassSetOperandTy
return false;
case ClassSetOperandType::kCharacterClassEscape:
case ClassSetOperandType::kClassStringDisjunction:
@@ -434,10 +434,10 @@
} // namespace
- // TODO(v8:11935): Change permalink once proposal is in stage 4.
- // https://arai-a.github.io/ecma262-compare/snapshot.html?pr=2418#prod-ClassUn…
template <class CharT>
- RegExpTree* RegExpParserImpl<CharT>::ParseClassUnion(
+ void RegExpParserImpl<CharT>::AddMaybeSimpleCaseFoldedRange(
+ ZoneList<CharacterRange>* ranges, CharacterRange new_range) {
+ DCHECK(unicode_sets());
diff --git a/third_party/libwebrtc/api/adaptation/resource.cc b/third_party/libwebrtc/api/adaptation/resource.cc
--- a/third_party/libwebrtc/api/adaptation/resource.cc
+++ b/third_party/libwebrtc/api/adaptation/resource.cc
@@ -684,7 +684,7 @@
diff --git a/third_party/libwebrtc/media/base/codec.cc b/third_party/libwebrtc/media/base/codec.cc
--- a/third_party/libwebrtc/media/base/codec.cc
+++ b/third_party/libwebrtc/media/base/codec.cc
-@@ -201,16 +201,17 @@ bool Codec::Matches(const Codec& codec,
+@@ -200,16 +200,17 @@ bool Codec::Matches(const Codec& codec)
(codec.bitrate == 0 || bitrate <= 0 ||
bitrate == codec.bitrate) &&
((codec.channels < 2 && channels < 2) ||
++++++ tar_stamps ++++++
--- /var/tmp/diff_new_pack.rDQ29f/_old 2024-04-26 23:26:31.427310247 +0200
+++ /var/tmp/diff_new_pack.rDQ29f/_new 2024-04-26 23:26:31.431310393 +0200
@@ -1,11 +1,11 @@
PRODUCT="firefox"
CHANNEL="release"
-VERSION="124.0.2"
+VERSION="125.0.2"
VERSION_SUFFIX=""
-PREV_VERSION="124.0.1"
+PREV_VERSION="125.0.1"
PREV_VERSION_SUFFIX=""
#SKIP_LOCALES="" # Uncomment to skip l10n and compare-locales-generation
RELEASE_REPO="https://hg.mozilla.org/releases/mozilla-release"
-RELEASE_TAG="2718fafaf6b2e4137cff8a71794487d25057e688"
-RELEASE_TIMESTAMP="20240401114208"
+RELEASE_TAG="c5ee44e4135571bec3220340242f9189c59ca5ba"
+RELEASE_TIMESTAMP="20240419144423"
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ffmpeg-6 for openSUSE:Factory checked in at 2024-04-26 23:26:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ffmpeg-6 (Old)
and /work/SRC/openSUSE:Factory/.ffmpeg-6.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ffmpeg-6"
Fri Apr 26 23:26:10 2024 rev:11 rq:1170119 version:6.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/ffmpeg-6/ffmpeg-6.changes 2024-04-24 15:13:41.047680092 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-6.new.1880/ffmpeg-6.changes 2024-04-26 23:26:12.034602408 +0200
@@ -1,0 +2,14 @@
+Thu Apr 23 14:05:28 UTC 2024 - Cliff Zhao <qzhao(a)suse.com>
+
+- Add ffmpeg-CVE-2023-50008.patch:
+ Backporting 5f87a68c from upstream, Fix memory leaks.
+ (CVE-2023-50008 bsc#1223254)
+
+-------------------------------------------------------------------
+Thu Apr 23 12:22:53 UTC 2024 - Cliff Zhao <qzhao(a)suse.com>
+
+- Add ffmpeg-CVE-2023-50007.patch:
+ Backporting b1942734 from upstream, Fix crash with EOF handling.
+ (CVE-2023-50007 bsc#1223253)
+
+-------------------------------------------------------------------
New:
----
ffmpeg-CVE-2023-50007.patch
ffmpeg-CVE-2023-50008.patch
BETA DEBUG BEGIN:
New:
- Add ffmpeg-CVE-2023-50007.patch:
Backporting b1942734 from upstream, Fix crash with EOF handling.
New:
- Add ffmpeg-CVE-2023-50008.patch:
Backporting 5f87a68c from upstream, Fix memory leaks.
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ffmpeg-6.spec ++++++
--- /var/tmp/diff_new_pack.U1DjD8/_old 2024-04-26 23:26:13.178644166 +0200
+++ /var/tmp/diff_new_pack.U1DjD8/_new 2024-04-26 23:26:13.182644311 +0200
@@ -120,7 +120,8 @@
Patch13: 0001-avfilter-vf_codecview-fix-heap-buffer-overflow.patch
Patch90: ffmpeg-chromium.patch
Patch91: ffmpeg-dlopen-openh264.patch
-
+Patch92: ffmpeg-CVE-2023-50007.patch
+Patch93: ffmpeg-CVE-2023-50008.patch
BuildRequires: ladspa-devel
BuildRequires: libgsm-devel
BuildRequires: libmp3lame-devel >= 3.98.3
@@ -841,6 +842,8 @@
Patch13: 0001-avfilter-vf_codecview-fix-heap-buffer-overflow.patch
Patch90: ffmpeg-chromium.patch
Patch91: ffmpeg-dlopen-openh264.patch
+Patch92: ffmpeg-CVE-2023-50007.patch
+Patch93: ffmpeg-CVE-2023-50008.patch
BuildRequires: c_compiler
Requires: this-is-only-for-build-envs
++++++ ffmpeg-CVE-2023-50007.patch ++++++
From b1942734c7cbcdc9034034373abcc9ecb9644c47 Mon Sep 17 00:00:00 2001
From: Paul B Mahol <onemda(a)gmail.com>
Date: Mon, 27 Nov 2023 11:45:34 +0100
Subject: [PATCH] avfilter/af_afwtdn: fix crash with EOF handling
References: https://bugzilla.opensuse.org/1223253
References: CVE-2023-50007
diff -Nura ffmpeg-6.1.1/libavfilter/af_afwtdn.c ffmpeg-6.1.1_new/libavfilter/af_afwtdn.c
--- ffmpeg-6.1.1/libavfilter/af_afwtdn.c 2023-11-11 08:25:17.000000000 +0800
+++ ffmpeg-6.1.1_new/libavfilter/af_afwtdn.c 2024-04-25 14:15:23.737350315 +0800
@@ -408,6 +408,7 @@
uint64_t sn;
int64_t eof_pts;
+ int eof;
int wavelet_type;
int channels;
@@ -1069,7 +1070,7 @@
s->drop_samples = 0;
} else {
if (s->padd_samples < 0 && eof) {
- out->nb_samples += s->padd_samples;
+ out->nb_samples = FFMAX(0, out->nb_samples + s->padd_samples);
s->padd_samples = 0;
}
if (!eof)
@@ -1208,23 +1209,26 @@
FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
- ret = ff_inlink_consume_samples(inlink, s->nb_samples, s->nb_samples, &in);
- if (ret < 0)
- return ret;
- if (ret > 0)
- return filter_frame(inlink, in);
+ if (!s->eof) {
+ ret = ff_inlink_consume_samples(inlink, s->nb_samples, s->nb_samples, &in);
+ if (ret < 0)
+ return ret;
+ if (ret > 0)
+ return filter_frame(inlink, in);
+ }
if (ff_inlink_acknowledge_status(inlink, &status, &pts)) {
- if (status == AVERROR_EOF) {
- while (s->padd_samples != 0) {
- ret = filter_frame(inlink, NULL);
- if (ret < 0)
- return ret;
- }
- ff_outlink_set_status(outlink, status, pts);
- return ret;
- }
+ if (status == AVERROR_EOF)
+ s->eof = 1;
}
+
+ if (s->eof && s->padd_samples != 0) {
+ return filter_frame(inlink, NULL);
+ } else if (s->eof) {
+ ff_outlink_set_status(outlink, AVERROR_EOF, s->eof_pts);
+ return 0;
+ }
+
FF_FILTER_FORWARD_WANTED(outlink, inlink);
return FFERROR_NOT_READY;
++++++ ffmpeg-CVE-2023-50008.patch ++++++
From 5f87a68cf70dafeab2fb89b42e41a4c29053b89b Mon Sep 17 00:00:00 2001
From: Paul B Mahol <onemda(a)gmail.com>
Date: Mon Nov 27 12:08:20 2023 +0100
Subject: avfilter/vf_colorcorrect: fix memory leaks
References: https://bugzilla.opensuse.org/1223254
References: CVE-2023-50008
diff -Nura ffmpeg-6.1.1/libavfilter/vf_colorcorrect.c ffmpeg-6.1.1_new/libavfilter/vf_colorcorrect.c
--- ffmpeg-6.1.1/libavfilter/vf_colorcorrect.c 2023-11-11 08:25:17.000000000 +0800
+++ ffmpeg-6.1.1_new/libavfilter/vf_colorcorrect.c 2024-04-25 14:35:29.717468737 +0800
@@ -497,6 +497,8 @@
ColorCorrectContext *s = ctx->priv;
av_freep(&s->analyzeret);
+ av_freep(&s->uhistogram);
+ av_freep(&s->vhistogram);
}
static const AVFilterPad colorcorrect_inputs[] = {
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package 000release-packages for openSUSE:Factory checked in at 2024-04-25 23:13:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/000release-packages (Old)
and /work/SRC/openSUSE:Factory/.000release-packages.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "000release-packages"
Thu Apr 25 23:13:17 2024 rev:2871 rq: version:unknown
Changes:
--------
--- /work/SRC/openSUSE:Factory/000release-packages/Aeon-release.changes 2024-04-25 21:41:32.564185597 +0200
+++ /work/SRC/openSUSE:Factory/.000release-packages.new.1880/Aeon-release.changes 2024-04-25 23:13:18.734862298 +0200
@@ -2 +2 @@
-Thu Apr 25 19:41:30 UTC 2024 - openSUSE <packaging(a)lists.opensuse.org>
+Thu Apr 25 21:13:16 UTC 2024 - openSUSE <packaging(a)lists.opensuse.org>
Kalpa-release.changes: same change
MicroOS-release.changes: same change
openSUSE-Addon-NonOss-release.changes: same change
openSUSE-release.changes: same change
stub.changes: same change
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
Kalpa-release.spec: same change
MicroOS-release.spec: same change
openSUSE-Addon-NonOss-release.spec: same change
openSUSE-release.spec: same change
stub.spec: same change
++++++ weakremovers.inc ++++++
--- /var/tmp/diff_new_pack.0vhBYQ/_old 2024-04-25 23:13:20.530927295 +0200
+++ /var/tmp/diff_new_pack.0vhBYQ/_new 2024-04-25 23:13:20.542927729 +0200
@@ -1325,10 +1325,14 @@
Provides: weakremover(antic-devel)
Provides: weakremover(antimicro)
Provides: weakremover(antimicrox-devel)
+Provides: weakremover(apache-arrow-acero-devel-static)
+Provides: weakremover(apache-arrow-dataset-devel-static)
+Provides: weakremover(apache-arrow-devel-static)
Provides: weakremover(apache-commons-configuration)
Provides: weakremover(apache-commons-configuration-javadoc)
Provides: weakremover(apache-commons-lang)
Provides: weakremover(apache-commons-lang-javadoc)
+Provides: weakremover(apache-parquet-devel-static)
Provides: weakremover(apache-plasma-devel)
Provides: weakremover(apache-plasma-devel-static)
Provides: weakremover(apache-plasma-server)
@@ -9982,13 +9986,16 @@
Provides: weakremover(libarrow1200)
Provides: weakremover(libarrow1300)
Provides: weakremover(libarrow1400)
+Provides: weakremover(libarrow1500)
Provides: weakremover(libarrow_acero1200)
Provides: weakremover(libarrow_acero1300)
Provides: weakremover(libarrow_acero1400)
+Provides: weakremover(libarrow_acero1500)
Provides: weakremover(libarrow_dataset1100)
Provides: weakremover(libarrow_dataset1200)
Provides: weakremover(libarrow_dataset1300)
Provides: weakremover(libarrow_dataset1400)
+Provides: weakremover(libarrow_dataset1500)
Provides: weakremover(libart_lgpl-devel-32bit)
Provides: weakremover(libart_lgpl_2-2-32bit)
Provides: weakremover(libasan3)
@@ -15670,6 +15677,7 @@
Provides: weakremover(libparquet1200)
Provides: weakremover(libparquet1300)
Provides: weakremover(libparquet1400)
+Provides: weakremover(libparquet1500)
Provides: weakremover(libparserutils-doc)
Provides: weakremover(libparted-fs-resize0-32bit)
Provides: weakremover(libparted0-32bit)
@@ -30059,6 +30067,7 @@
Provides: weakremover(python39-augeas)
Provides: weakremover(python39-authheaders)
Provides: weakremover(python39-authres)
+Provides: weakremover(python39-autobahn)
Provides: weakremover(python39-autocommand)
Provides: weakremover(python39-autodoc)
Provides: weakremover(python39-autodocsumm)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package os-autoinst for openSUSE:Factory checked in at 2024-04-25 20:50:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/os-autoinst (Old)
and /work/SRC/openSUSE:Factory/.os-autoinst.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "os-autoinst"
Thu Apr 25 20:50:56 2024 rev:433 rq:1170173 version:4.6.1713955884.12b7f09
Changes:
--------
--- /work/SRC/openSUSE:Factory/os-autoinst/os-autoinst.changes 2024-04-23 18:57:26.977443248 +0200
+++ /work/SRC/openSUSE:Factory/.os-autoinst.new.1880/os-autoinst.changes 2024-04-25 20:51:15.654631081 +0200
@@ -1,0 +2,11 @@
+Thu Apr 25 14:54:16 UTC 2024 - okurz(a)suse.com
+
+- Update to version 4.6.1713955884.12b7f09:
+ * MM setup: Ensure zone of uplink device is set correctly
+ * Add fallback for `PRODUCTDIR` under `CASEDIR/products/DISTRI`
+ * qemu: Reuse arch variable
+ * qemu: Set proper default on s390x
+ * qemu: Extract methods for architecture checks
+ * qemu: Extract method determine_qemu_version
+
+-------------------------------------------------------------------
Old:
----
os-autoinst-4.6.1713800438.8bd57dd.obscpio
New:
----
os-autoinst-4.6.1713955884.12b7f09.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ os-autoinst-devel-test.spec ++++++
--- /var/tmp/diff_new_pack.iCcD51/_old 2024-04-25 20:51:16.566664207 +0200
+++ /var/tmp/diff_new_pack.iCcD51/_new 2024-04-25 20:51:16.566664207 +0200
@@ -18,7 +18,7 @@
%define short_name os-autoinst-devel
Name: %{short_name}-test
-Version: 4.6.1713800438.8bd57dd
+Version: 4.6.1713955884.12b7f09
Release: 0
Summary: Test package for %{short_name}
License: GPL-2.0-or-later
++++++ os-autoinst-openvswitch-test.spec ++++++
--- /var/tmp/diff_new_pack.iCcD51/_old 2024-04-25 20:51:16.602665514 +0200
+++ /var/tmp/diff_new_pack.iCcD51/_new 2024-04-25 20:51:16.606665659 +0200
@@ -19,7 +19,7 @@
%define name_ext -test
%define short_name os-autoinst-openvswitch
Name: %{short_name}%{?name_ext}
-Version: 4.6.1713800438.8bd57dd
+Version: 4.6.1713955884.12b7f09
Release: 0
Summary: test package for %{short_name}
License: GPL-2.0-or-later
++++++ os-autoinst-test.spec ++++++
--- /var/tmp/diff_new_pack.iCcD51/_old 2024-04-25 20:51:16.634666677 +0200
+++ /var/tmp/diff_new_pack.iCcD51/_new 2024-04-25 20:51:16.638666822 +0200
@@ -19,7 +19,7 @@
%define name_ext -test
%define short_name os-autoinst
Name: %{short_name}%{?name_ext}
-Version: 4.6.1713800438.8bd57dd
+Version: 4.6.1713955884.12b7f09
Release: 0
Summary: test package for os-autoinst
License: GPL-2.0-or-later
++++++ os-autoinst.spec ++++++
--- /var/tmp/diff_new_pack.iCcD51/_old 2024-04-25 20:51:16.682668420 +0200
+++ /var/tmp/diff_new_pack.iCcD51/_new 2024-04-25 20:51:16.686668566 +0200
@@ -17,7 +17,7 @@
Name: os-autoinst
-Version: 4.6.1713800438.8bd57dd
+Version: 4.6.1713955884.12b7f09
Release: 0
Summary: OS-level test automation
License: GPL-2.0-or-later
++++++ os-autoinst-4.6.1713800438.8bd57dd.obscpio -> os-autoinst-4.6.1713955884.12b7f09.obscpio ++++++
/work/SRC/openSUSE:Factory/os-autoinst/os-autoinst-4.6.1713800438.8bd57dd.obscpio /work/SRC/openSUSE:Factory/.os-autoinst.new.1880/os-autoinst-4.6.1713955884.12b7f09.obscpio differ: char 50, line 1
++++++ os-autoinst.obsinfo ++++++
--- /var/tmp/diff_new_pack.iCcD51/_old 2024-04-25 20:51:16.782672052 +0200
+++ /var/tmp/diff_new_pack.iCcD51/_new 2024-04-25 20:51:16.786672197 +0200
@@ -1,5 +1,5 @@
name: os-autoinst
-version: 4.6.1713800438.8bd57dd
-mtime: 1713800438
-commit: 8bd57dd3beb7a45bc31c3380ce4e2d78bbc46137
+version: 4.6.1713955884.12b7f09
+mtime: 1713955884
+commit: 12b7f0919bc6a18854c212ab5238ab23aeb51928
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package openQA for openSUSE:Factory checked in at 2024-04-25 20:50:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openQA (Old)
and /work/SRC/openSUSE:Factory/.openQA.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openQA"
Thu Apr 25 20:50:50 2024 rev:570 rq:1170169 version:4.6.1713895143.68ea6d5a
Changes:
--------
openQA-devel-test.changes: same change
openQA-test.changes: same change
openQA-worker-test.changes: same change
--- /work/SRC/openSUSE:Factory/openQA/openQA.changes 2024-04-23 18:57:24.781363899 +0200
+++ /work/SRC/openSUSE:Factory/.openQA.new.1880/openQA.changes 2024-04-25 20:51:13.546554515 +0200
@@ -1,0 +2,7 @@
+Thu Apr 25 14:33:29 UTC 2024 - okurz(a)suse.com
+
+- Update to version 4.6.1713895143.68ea6d5a:
+ * Make CRITICAL_LOAD_AVG_THRESHOLD work with AppArmor
+ * Avoid race condition when reading step details
+
+-------------------------------------------------------------------
Old:
----
openQA-4.6.1713801413.9fe9436d.obscpio
New:
----
openQA-4.6.1713895143.68ea6d5a.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openQA-client-test.spec ++++++
--- /var/tmp/diff_new_pack.G83DxR/_old 2024-04-25 20:51:14.582592145 +0200
+++ /var/tmp/diff_new_pack.G83DxR/_new 2024-04-25 20:51:14.582592145 +0200
@@ -18,7 +18,7 @@
%define short_name openQA-client
Name: %{short_name}-test
-Version: 4.6.1713801413.9fe9436d
+Version: 4.6.1713895143.68ea6d5a
Release: 0
Summary: Test package for %{short_name}
License: GPL-2.0-or-later
++++++ openQA-devel-test.spec ++++++
--- /var/tmp/diff_new_pack.G83DxR/_old 2024-04-25 20:51:14.618593452 +0200
+++ /var/tmp/diff_new_pack.G83DxR/_new 2024-04-25 20:51:14.622593597 +0200
@@ -18,7 +18,7 @@
%define short_name openQA-devel
Name: %{short_name}-test
-Version: 4.6.1713801413.9fe9436d
+Version: 4.6.1713895143.68ea6d5a
Release: 0
Summary: Test package for %{short_name}
License: GPL-2.0-or-later
++++++ openQA-test.spec ++++++
--- /var/tmp/diff_new_pack.G83DxR/_old 2024-04-25 20:51:14.654594759 +0200
+++ /var/tmp/diff_new_pack.G83DxR/_new 2024-04-25 20:51:14.658594905 +0200
@@ -18,7 +18,7 @@
%define short_name openQA
Name: %{short_name}-test
-Version: 4.6.1713801413.9fe9436d
+Version: 4.6.1713895143.68ea6d5a
Release: 0
Summary: Test package for openQA
License: GPL-2.0-or-later
++++++ openQA-worker-test.spec ++++++
--- /var/tmp/diff_new_pack.G83DxR/_old 2024-04-25 20:51:14.690596067 +0200
+++ /var/tmp/diff_new_pack.G83DxR/_new 2024-04-25 20:51:14.694596213 +0200
@@ -18,7 +18,7 @@
%define short_name openQA-worker
Name: %{short_name}-test
-Version: 4.6.1713801413.9fe9436d
+Version: 4.6.1713895143.68ea6d5a
Release: 0
Summary: Test package for %{short_name}
License: GPL-2.0-or-later
++++++ openQA.spec ++++++
--- /var/tmp/diff_new_pack.G83DxR/_old 2024-04-25 20:51:14.734597666 +0200
+++ /var/tmp/diff_new_pack.G83DxR/_new 2024-04-25 20:51:14.734597666 +0200
@@ -78,7 +78,7 @@
%define devel_requires %devel_no_selenium_requires chromedriver
Name: openQA
-Version: 4.6.1713801413.9fe9436d
+Version: 4.6.1713895143.68ea6d5a
Release: 0
Summary: The openQA web-frontend, scheduler and tools
License: GPL-2.0-or-later
++++++ openQA-4.6.1713801413.9fe9436d.obscpio -> openQA-4.6.1713895143.68ea6d5a.obscpio ++++++
/work/SRC/openSUSE:Factory/openQA/openQA-4.6.1713801413.9fe9436d.obscpio /work/SRC/openSUSE:Factory/.openQA.new.1880/openQA-4.6.1713895143.68ea6d5a.obscpio differ: char 50, line 1
++++++ openQA.obsinfo ++++++
--- /var/tmp/diff_new_pack.G83DxR/_old 2024-04-25 20:51:14.874602751 +0200
+++ /var/tmp/diff_new_pack.G83DxR/_new 2024-04-25 20:51:14.894603475 +0200
@@ -1,5 +1,5 @@
name: openQA
-version: 4.6.1713801413.9fe9436d
-mtime: 1713801413
-commit: 9fe9436d6fd7143f45f282994a94b66e40eb72d3
+version: 4.6.1713895143.68ea6d5a
+mtime: 1713895143
+commit: 68ea6d5a0510d823d11759d6ed58e3c8e158e729
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package hugo for openSUSE:Factory checked in at 2024-04-25 20:50:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hugo (Old)
and /work/SRC/openSUSE:Factory/.hugo.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hugo"
Thu Apr 25 20:50:46 2024 rev:70 rq:1170163 version:0.125.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/hugo/hugo.changes 2024-04-23 18:58:02.930742317 +0200
+++ /work/SRC/openSUSE:Factory/.hugo.new.1880/hugo.changes 2024-04-25 20:51:11.794490880 +0200
@@ -1,0 +2,11 @@
+Thu Apr 25 14:20:29 UTC 2024 - Jeff Kowalczyk <jkowalczyk(a)suse.com>
+
+- Update to version 0.125.4:
+ * commands: Clarify that create or install a theme are two options
+ * config: Setups with only one active language can never be multihost
+ * Fix rebuilds when running hugo -w
+ * build(deps): bump github.com/tdewolff/minify/v2 from 2.20.19 to 2.20.20
+ * tpl/tplimpl: Fix double-escaping in opengraph template
+ * Use Apache License without modification
+
+-------------------------------------------------------------------
Old:
----
hugo-0.125.3.tar.gz
New:
----
hugo-0.125.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ hugo.spec ++++++
--- /var/tmp/diff_new_pack.dRhb5R/_old 2024-04-25 20:51:13.018535337 +0200
+++ /var/tmp/diff_new_pack.dRhb5R/_new 2024-04-25 20:51:13.018535337 +0200
@@ -17,7 +17,7 @@
Name: hugo
-Version: 0.125.3
+Version: 0.125.4
Release: 0
Summary: Static website generator written in Go
License: Apache-2.0
++++++ _service ++++++
--- /var/tmp/diff_new_pack.dRhb5R/_old 2024-04-25 20:51:13.082537662 +0200
+++ /var/tmp/diff_new_pack.dRhb5R/_new 2024-04-25 20:51:13.086537807 +0200
@@ -3,7 +3,7 @@
<param name="url">https://github.com/gohugoio/hugo.git</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
- <param name="revision">v0.125.3</param>
+ <param name="revision">v0.125.4</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.dRhb5R/_old 2024-04-25 20:51:13.110538679 +0200
+++ /var/tmp/diff_new_pack.dRhb5R/_new 2024-04-25 20:51:13.114538824 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/gohugoio/hugo.git</param>
- <param name="changesrevision">474c4c02212cf97712c6fbf4159c68822ea6e078</param></service></servicedata>
+ <param name="changesrevision">cc3574ef4f41fccbe88d9443ed066eb10867ada2</param></service></servicedata>
(No newline at EOF)
++++++ hugo-0.125.3.tar.gz -> hugo-0.125.4.tar.gz ++++++
/work/SRC/openSUSE:Factory/hugo/hugo-0.125.3.tar.gz /work/SRC/openSUSE:Factory/.hugo.new.1880/hugo-0.125.4.tar.gz differ: char 12, line 1
++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/hugo/vendor.tar.gz /work/SRC/openSUSE:Factory/.hugo.new.1880/vendor.tar.gz differ: char 5, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package s390-tools for openSUSE:Factory checked in at 2024-04-25 20:50:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
and /work/SRC/openSUSE:Factory/.s390-tools.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "s390-tools"
Thu Apr 25 20:50:43 2024 rev:77 rq:1170172 version:2.31.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes 2024-04-18 22:14:34.513824950 +0200
+++ /work/SRC/openSUSE:Factory/.s390-tools.new.1880/s390-tools.changes 2024-04-25 20:51:03.834201759 +0200
@@ -1,0 +2,7 @@
+Thu Apr 25 14:56:25 UTC 2024 - Dominique Leuenberger <dimstar(a)opensuse.org>
+
+- s390-tools-genprotimg-data needs to require filesystem in order
+ to ensure we are not installed before potential UsrMerge
+ migration code was running (boo#1223090).
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ s390-tools.spec ++++++
--- /var/tmp/diff_new_pack.ve4lWe/_old 2024-04-25 20:51:06.578301427 +0200
+++ /var/tmp/diff_new_pack.ve4lWe/_new 2024-04-25 20:51:06.602302298 +0200
@@ -348,6 +348,7 @@
License: MIT
Group: System/Boot
BuildArch: noarch
+Requires(pre): filesystem
%description genprotimg-data
The genprotimg allows preparing and analyzing boot images
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package collada-dom for openSUSE:Factory checked in at 2024-04-25 20:50:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/collada-dom (Old)
and /work/SRC/openSUSE:Factory/.collada-dom.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "collada-dom"
Thu Apr 25 20:50:40 2024 rev:2 rq:1170151 version:2.5.1+git20200104.c1e20b7
Changes:
--------
--- /work/SRC/openSUSE:Factory/collada-dom/collada-dom.changes 2024-04-03 17:20:00.616599354 +0200
+++ /work/SRC/openSUSE:Factory/.collada-dom.new.1880/collada-dom.changes 2024-04-25 20:51:02.230143499 +0200
@@ -1,0 +2,5 @@
+Thu Apr 25 13:14:19 UTC 2024 - Michael Pujos <pujos.michael(a)gmail.com>
+
+- fixed compilation with boost 1.85.0
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ collada-dom.spec ++++++
--- /var/tmp/diff_new_pack.9EdY5Q/_old 2024-04-25 20:51:03.238180111 +0200
+++ /var/tmp/diff_new_pack.9EdY5Q/_new 2024-04-25 20:51:03.242180257 +0200
@@ -65,6 +65,9 @@
%prep
%autosetup -p1 -n %{name}-%{version}
+# fix compilation with boost 1.85 due to deprecated stuff that was removed
+sed -i 's/convenience/operations/' dom/include/dae.h dom/src/dae/daeUtils.cpp
+sed -i 's/branch_path/parent_path/' dom/src/dae/daeZAEUncompressHandler.cpp
%build
# silence warning spam
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package whatsapp-for-linux for openSUSE:Factory checked in at 2024-04-25 20:50:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/whatsapp-for-linux (Old)
and /work/SRC/openSUSE:Factory/.whatsapp-for-linux.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "whatsapp-for-linux"
Thu Apr 25 20:50:37 2024 rev:13 rq:1170143 version:1.6.5~20240425.2717ff6
Changes:
--------
--- /work/SRC/openSUSE:Factory/whatsapp-for-linux/whatsapp-for-linux.changes 2024-02-06 16:36:35.871496550 +0100
+++ /work/SRC/openSUSE:Factory/.whatsapp-for-linux.new.1880/whatsapp-for-linux.changes 2024-04-25 20:51:01.246107758 +0200
@@ -1,0 +2,17 @@
+Thu Apr 25 11:53:19 UTC 2024 - Michael Vetter <mvetter(a)suse.com>
+
+- Update to 1.6.5:
+ Implemented enhancements:
+ * Add Chinese (simplified) translations #346
+ * Port to WebKit2GTK 4.1 #302
+ * Custom css or userscript #208
+ Fixed bugs:
+ * Google chrome version too old #360
+ * Visual: Repo's readme could look better #357
+ Merged pull requests:
+ * Adding custom.css #370
+ * Set user agent to a valid Google Chrome release #361
+ * Update es.po #354
+ * add polish translation #327
+
+-------------------------------------------------------------------
Old:
----
whatsapp-for-linux-1.6.5~20240123.aada9ef.tar.xz
New:
----
whatsapp-for-linux-1.6.5~20240425.2717ff6.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ whatsapp-for-linux.spec ++++++
--- /var/tmp/diff_new_pack.xjn5OV/_old 2024-04-25 20:51:01.938132893 +0200
+++ /var/tmp/diff_new_pack.xjn5OV/_new 2024-04-25 20:51:01.942133038 +0200
@@ -17,7 +17,7 @@
Name: whatsapp-for-linux
-Version: 1.6.5~20240123.aada9ef
+Version: 1.6.5~20240425.2717ff6
Release: 0
Summary: WhatsApp for Linux
License: GPL-3.0-only
++++++ _service ++++++
--- /var/tmp/diff_new_pack.xjn5OV/_old 2024-04-25 20:51:01.974134200 +0200
+++ /var/tmp/diff_new_pack.xjn5OV/_new 2024-04-25 20:51:01.978134346 +0200
@@ -2,7 +2,7 @@
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/eneshecan/whatsapp-for-linux.git</param>
- <param name="revision">aada9eff167176765a136a207829fe7a5455d243</param>
+ <param name="revision">2717ff67871696ca2c9c3b2c7f47678139411d12</param>
<param name="versionformat">1.6.5~%cd.%h</param>
</service>
<service name="recompress" mode="disabled">
++++++ whatsapp-for-linux-1.6.5~20240123.aada9ef.tar.xz -> whatsapp-for-linux-1.6.5~20240425.2717ff6.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whatsapp-for-linux-1.6.5~20240123.aada9ef/README.md new/whatsapp-for-linux-1.6.5~20240425.2717ff6/README.md
--- old/whatsapp-for-linux-1.6.5~20240123.aada9ef/README.md 2024-01-23 00:51:20.000000000 +0100
+++ new/whatsapp-for-linux-1.6.5~20240425.2717ff6/README.md 2024-04-25 10:04:53.000000000 +0200
@@ -4,25 +4,10 @@
<p align="left">
<a href="https://flathub.org/apps/details/com.github.eneshecan.WhatsAppForLinux">
- <img align="center" alt="Download on Flathub" src="https://flathub.org/assets/badges/flathub-badge-en.png" width="120">
+ <img align="center" alt="Download on Flathub" src="https://flathub.org/assets/badges/flathub-badge-en.png" width="200">
</a>
<a href="https://snapcraft.io/whatsapp-for-linux">
- <img align="center" alt="Get it from the Snap Store" src="https://snapcraft.io/static/images/badges/en/snap-store-black.svg" width="120">
- </a>
- <a href="https://aur.archlinux.org/packages/whatsapp-for-linux">
- <img align="center" alt="Get it from the AUR" src="https://archlinux.org/static/logos/archlinux-logo-dark-scalable.518881f04ca…" width="120">
- </a>
- <a href="https://gpo.zugaina.org/Overlays/guru/net-im/whatsapp-for-linux">
- <img align="center" alt="Get it from the Gentoo Overlay Guru" src="https://gpo.zugaina.org/img/logo.png" width="120">
- </a>
- <a href="https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/i…">
- <img align="center" alt="Get it from the nixpkgs" src="https://nixos.org/logo/nixos-hires.png" width="120">
- </a>
- <a href="https://github.com/OpenMandrivaAssociation/whatsapp-for-linux/tree/master">
- <img align="center" alt="Get it from the OpenMandrive Cooker" src="https://www.openmandriva.org/squelettes/img/OM-300pl.png" width="120">
- </a>
- <a href="https://madb.mageia.org/package/show/name/whatsapp-for-linux">
- <img align="center" alt="Get it from Mageia" src="https://www.mageia.org/g/media/logo/mageia-2013.png" width="120">
+ <img align="center" alt="Get it from the Snap Store" src="https://snapcraft.io/static/images/badges/en/snap-store-black.svg" width="200">
</a>
</p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whatsapp-for-linux-1.6.5~20240123.aada9ef/resource/desktop/com.github.eneshecan.WhatsAppForLinux.appdata.xml.in new/whatsapp-for-linux-1.6.5~20240425.2717ff6/resource/desktop/com.github.eneshecan.WhatsAppForLinux.appdata.xml.in
--- old/whatsapp-for-linux-1.6.5~20240123.aada9ef/resource/desktop/com.github.eneshecan.WhatsAppForLinux.appdata.xml.in 2024-01-23 00:51:20.000000000 +0100
+++ new/whatsapp-for-linux-1.6.5~20240425.2717ff6/resource/desktop/com.github.eneshecan.WhatsAppForLinux.appdata.xml.in 2024-04-25 10:04:53.000000000 +0200
@@ -5,7 +5,7 @@
<metadata_license>FSFAP</metadata_license>
<project_license>GPL-3.0</project_license>
<name>${WFL_FRIENDLY_NAME}</name>
- <summary>${WFL_DESCRIPTION}</summary>
+ <summary>Unofficial WhatsApp application</summary>
<content_rating type="oars-1.1"/>
<description>
@@ -27,10 +27,6 @@
<developer_name>Enes Hecan</developer_name>
<update_contact>nshecan_AT_gmail.com</update_contact>
- <mimetypes>
- <mimetype>x-scheme-handler/whatsapp</mimetype>
- </mimetypes>
-
<releases>
<release version="${WFL_VERSION}" date="${WFL_BUILD_DATE}">
<description>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whatsapp-for-linux-1.6.5~20240123.aada9ef/snap/snapcraft.yaml new/whatsapp-for-linux-1.6.5~20240425.2717ff6/snap/snapcraft.yaml
--- old/whatsapp-for-linux-1.6.5~20240123.aada9ef/snap/snapcraft.yaml 2024-01-23 00:51:20.000000000 +0100
+++ new/whatsapp-for-linux-1.6.5~20240425.2717ff6/snap/snapcraft.yaml 2024-04-25 10:04:53.000000000 +0200
@@ -19,10 +19,10 @@
- libcanberra-dev
- libsigc++-2.0-dev
- libgtkmm-3.0-dev
- - libwebkit2gtk-4.1-dev
+ - libwebkit2gtk-4.0-dev
- libayatana-appindicator3-dev
stage-packages:
- - libwebkit2gtk-4.1-0
+ - libwebkit2gtk-4.0-37
- libayatana-appindicator3-1
- glib-networking
- libglu1-mesa
@@ -133,8 +133,8 @@
- desktop
layout:
- /usr/lib/$SNAPCRAFT_ARCH_TRIPLET/webkit2gtk-4.1:
- bind: $SNAP/gnome-platform/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/webkit2gtk-4.1
+ /usr/lib/$SNAPCRAFT_ARCH_TRIPLET/webkit2gtk-4.0:
+ bind: $SNAP/gnome-platform/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/webkit2gtk-4.0
/usr/share/libdrm:
bind: $SNAP/gnome-platform/usr/share/libdrm
/usr/share/xml/iso-codes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whatsapp-for-linux-1.6.5~20240123.aada9ef/src/ui/WebView.cpp new/whatsapp-for-linux-1.6.5~20240425.2717ff6/src/ui/WebView.cpp
--- old/whatsapp-for-linux-1.6.5~20240123.aada9ef/src/ui/WebView.cpp 2024-01-23 00:51:20.000000000 +0100
+++ new/whatsapp-for-linux-1.6.5~20240425.2717ff6/src/ui/WebView.cpp 2024-04-25 10:04:53.000000000 +0200
@@ -1,13 +1,17 @@
#include "WebView.hpp"
#include <iostream>
#include <string>
+#include <fstream>
+#include <streambuf>
#include <optional>
#include <locale>
#include <glibmm/i18n.h>
#include <glibmm/main.h>
+#include <glibmm/miscutils.h>
#include <gtkmm/messagedialog.h>
#include <gtkmm/filechooserdialog.h>
#include "../util/Settings.hpp"
+#include "Config.hpp"
namespace wfl::ui
{
@@ -147,6 +151,20 @@
return FALSE;
}
+
+ bool cssFileExists(const std::string& filePath)
+ {
+ auto const file = std::ifstream(filePath);
+ return file.good();
+ }
+
+ std::string loadCssContent(const std::string& cssFilePath)
+ {
+ auto cssFile = std::ifstream(cssFilePath);
+ auto cssContent = std::string((std::istreambuf_iterator<char>(cssFile)), std::istreambuf_iterator<char>());
+
+ return cssContent;
+ }
}
namespace detail
@@ -171,6 +189,9 @@
{
auto const webContext = webkit_web_view_get_context(*this);
+ auto configDir = Glib::get_user_config_dir();
+ auto cssFilePath = configDir + "/" + WFL_NAME + "/web.css";
+
g_signal_connect(*this, "load-changed", G_CALLBACK(detail::loadChanged), this);
g_signal_connect(*this, "permission-request", G_CALLBACK(permissionRequest), nullptr);
g_signal_connect(*this, "decide-policy", G_CALLBACK(decidePolicy), nullptr);
@@ -195,6 +216,11 @@
webkit_web_view_set_zoom_level(*this, util::Settings::getInstance().getValue<double>("general", "zoom-level", 1.0));
+ if (cssFileExists(cssFilePath))
+ {
+ applyCustomCss(cssFilePath);
+ }
+
webkit_web_view_load_uri(*this, WHATSAPP_WEB_URI);
}
@@ -346,4 +372,15 @@
return true;
}
+
+ void WebView::applyCustomCss(const std::string& cssFilePath)
+ {
+ auto const cssContent = loadCssContent(cssFilePath);
+
+ auto* styleSheet
+ = webkit_user_style_sheet_new(cssContent.c_str(), WEBKIT_USER_CONTENT_INJECT_ALL_FRAMES, WEBKIT_USER_STYLE_LEVEL_USER, nullptr, nullptr);
+
+ auto* manager = webkit_web_view_get_user_content_manager(*this);
+ webkit_user_content_manager_add_style_sheet(manager, styleSheet);
+ }
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whatsapp-for-linux-1.6.5~20240123.aada9ef/src/ui/WebView.hpp new/whatsapp-for-linux-1.6.5~20240425.2717ff6/src/ui/WebView.hpp
--- old/whatsapp-for-linux-1.6.5~20240123.aada9ef/src/ui/WebView.hpp 2024-01-23 00:51:20.000000000 +0100
+++ new/whatsapp-for-linux-1.6.5~20240425.2717ff6/src/ui/WebView.hpp 2024-04-25 10:04:53.000000000 +0200
@@ -38,6 +38,7 @@
private:
void onLoadStatusChanged(WebKitLoadEvent loadEvent);
bool onTimeout();
+ void applyCustomCss(const std::string& cssFilePath);
friend void detail::loadChanged(WebKitWebView*, WebKitLoadEvent, gpointer);
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package mame for openSUSE:Factory checked in at 2024-04-25 20:50:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mame (Old)
and /work/SRC/openSUSE:Factory/.mame.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mame"
Thu Apr 25 20:50:28 2024 rev:15 rq:1170142 version:0.265
Changes:
--------
--- /work/SRC/openSUSE:Factory/mame/mame.changes 2024-03-27 20:42:47.857629089 +0100
+++ /work/SRC/openSUSE:Factory/.mame.new.1880/mame.changes 2024-04-25 20:50:58.990025817 +0200
@@ -1,0 +2,7 @@
+Thu Apr 25 11:36:06 UTC 2024 - Илья Индиго <13ilya(a)gmail.com>
+
+- Updated to 0.265
+ * Changed SDL2 requirements >= 2.0.14
+ * /usr/share/doc/packages/mame/whatsnew-0.265.txt
+
+-------------------------------------------------------------------
Old:
----
mame-mame0264.tar.gz
whatsnew_0264.txt
New:
----
mame-mame0265.tar.gz
whatsnew_0265.txt
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mame.spec ++++++
--- /var/tmp/diff_new_pack.ve892l/_old 2024-04-25 20:51:00.882094537 +0200
+++ /var/tmp/diff_new_pack.ve892l/_new 2024-04-25 20:51:00.886094683 +0200
@@ -16,7 +16,7 @@
#
-%define ver 264
+%define ver 265
Name: mame
Version: 0.%{ver}
Release: 0
@@ -60,7 +60,7 @@
BuildRequires: pkgconfig(lua)
BuildRequires: pkgconfig(portaudio-2.0)
BuildRequires: pkgconfig(pugixml)
-BuildRequires: pkgconfig(sdl2)
+BuildRequires: pkgconfig(sdl2) >= 2.0.14
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xi)
++++++ mame-mame0264.tar.gz -> mame-mame0265.tar.gz ++++++
/work/SRC/openSUSE:Factory/mame/mame-mame0264.tar.gz /work/SRC/openSUSE:Factory/.mame.new.1880/mame-mame0265.tar.gz differ: char 18, line 1
++++++ whatsnew_0264.txt -> whatsnew_0265.txt ++++++
++++ 2665 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/mame/whatsnew_0264.txt
++++ and /work/SRC/openSUSE:Factory/.mame.new.1880/whatsnew_0265.txt
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package apache-arrow for openSUSE:Factory checked in at 2024-04-25 20:50:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-arrow (Old)
and /work/SRC/openSUSE:Factory/.apache-arrow.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache-arrow"
Thu Apr 25 20:50:23 2024 rev:12 rq:1170145 version:16.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/apache-arrow/apache-arrow.changes 2024-03-25 21:14:26.118923430 +0100
+++ /work/SRC/openSUSE:Factory/.apache-arrow.new.1880/apache-arrow.changes 2024-04-25 20:50:53.117812536 +0200
@@ -1,0 +2,263 @@
+Sun Apr 21 16:35:21 UTC 2024 - Ben Greiner <code(a)bnavigator.de>
+
+- Update to 16.0.0
+ ## Bug Fixes
+ * [C++][ORC] Catch all ORC exceptions to avoid crash (#40697)
+ * [C++][S3] Handle conventional content-type for directories
+ (#40147)
+ * [C++] Strengthen handling of duplicate slashes in S3, GCS
+ (#40371)
+ * [C++] Avoid hash_mean overflow (#39349)
+ * [C++] Fix spelling (array) (#38963)
+ * [C++][Parquet] Fix crash in Modular Encryption (#39623)
+ * [C++][Dataset] Fix failures in dataset-scanner-benchmark
+ (#39794)
+ * [C++][Device] Fix Importing nested and string types for
+ DeviceArray (#39770)
+ * [C++] Use correct (non-CPU) address of buffer in
+ ExportDeviceArray (#39783)
+ * [C++] Improve error message for "chunker out of sync" condition
+ (#39892)
+ * [C++] Use make -j1 to install bundled bzip2 (#39956)
+ * [C++] DatasetWriter avoid creating zero-sized batch when
+ max_rows_per_file enabled (#39995)
+ * [C++][CI] Disable debug memory pool for ASAN and Valgrind
+ (#39975)
+ * [C++][Gandiva] Make Gandiva's default cache size to be 5000 for
+ object code cache (#40041)
+ * [C++][FS][Azure] Fix CreateDir and DeleteDir trailing slash
+ issues on hierarchical namespace accounts (#40054)
+ * [C++][FS][Azure] Validate containers in
+ AzureFileSystem::Impl::MovePaths() (#40086)
+ * [C++] Decimal types with different precisions and scales bind
+ failed in resolve type when call arithmetic function (#40223)
+ * [C++][Docs] Correct the console emitter link (#40146)
+ * [C++][Python] Fix test_gdb failures on 32-bit (#40293)
+ * [Python][C++] Fix large file handling on 32-bit Python build
+ (#40176)
+ * [C++] Support glog 0.7 build (#40230)
+ * [C++] Fix cast function bind failed after add an alias name
+ through AddAlias (#40200)
+ * [C++] TakeCC: Concatenate only once and delegate to TakeAA
+ instead of TakeCA (#40206)
+ * [C++] Fix an abort on asof_join_benchmark run for lost an arg
+ (#40234)
+ * [C++] Fix an simple buffer-overflow case in decimal_benchmark
+ (#40277)
+ * [C++] Reduce S3Client initialization time (#40299)
+ * [C++] Fix a wrong total_bytes to generate StringType's test
+ data in vector_hash_benchmark (#40307)
+ * [C++][Gandiva] Add support for compute module's decimal
+ promotion rules (#40434)
+ * [C++][Parquet] Add missing config.h include in
+ key_management_test.cc (#40330)
+ * [C++][CMake] Add missing glog::glog dependency to arrow_util
+ (#40332)
+ * [C++][Gandiva] Add missing OpenSSL dependency to
+ encrypt_utils_test.cc (#40338)
+ * [C++] Remove const qualifier from Buffer::mutable_span_as
+ (#40367)
+ * [C++] Avoid simplifying expressions which call impure functions
+ (#40396)
+ * [C++] Expose protobuf dependency if opentelemetry or ORC are
+ enabled (#40399)
+ * [C++][FlightRPC] Add missing expiration_time arguments (#40425)
+ * [C++] Move key_hash/key_map/light_array related files to
+ internal for prevent using by users (#40484)
+ * [C++] Add missing Threads::Threads dependency to arrow_static
+ (#40433)
+ * [C++] Fix static build on Windows (#40446)
+ * [C++] Ensure using bundled FlatBuffers (#40519)
+ * [C++][CI] Fix TSAN and ASAN/UBSAN crashes (#40559)
+ * [C++] Repair FileSystem merge error (#40564)
+ * [C++] Fix 3.12 Python support (#40322)
+ * [C++] Move mold linker flags to variables (#40603)
+ * [C++] Enlarge dest buffer according to dest offset for
+ CopyBitmap benchmark (#40769)
+ * [C++][Gandiva] 'ilike' function does not work (#40728)
+ * [C++] Fix protobuf package name setting for builds with
+ substrait (#40753)
+ * [C++][ORC] Fix std::filesystem related link error with ORC
+ 2.0.0 or later (#41023)
+ * [C++] Fix TSAN link error for module library (#40864)
+ * [C++][FS][Azure] Don't run TestGetFileInfoGenerator() with
+ Valgrind (#41163)
+ * [C++] Fix null count check in BooleanArray.true_count()
+ (#41070)
+ * [C++] IO: fixing compiling in gcc 7.5.0 (#41025)
+ * [C++][Parquet] Bugfixes and more tests in boolean arrow
+ decoding (#41037)
+ * [C++] formatting.h: Make sure space is allocated for the 'Z'
+ when formatting timestamps (#41045)
+ * [C++] Ignore ARROW_USE_MOLD/ARROW_USE_LLD with clang < 12
+ (#41062)
+ * [C++] Fix: left anti join filter empty rows. (#41122)
+ * [CI][C++] Don't use CMake 3.29.1 with vcpkg (#41151)
+ * [CI][C++] Use newer LLVM on Ubuntu 24.04 (#41150)
+ * [CI][R][C++] test-r-linux-valgrind has started failing
+ * [C++][Python] Sporadic asof_join failures in PyArrow
+ * [C++] Fix Valgrind error in string-to-float16 conversion
+ (#41155)
+ * [C++] Stop defining ARROW_TEST_MEMCHECK in config.h.cmake
+ (#41177)
+ * [C++] Fix mistake in integration test. Explicitly cast
+ std::string to avoid compiler interpreting char* -> bool
+ (#41202)
+ ## New Features and Improvements
+ * [C++] Filesystem implementation for Azure Blob Storage
+ * [C++] Implement cast to/from halffloat (#40067)
+ * [C++] Add residual filter support to swiss join (#39487)
+ * [C++] Add support for building with Emscripten (#37821)
+ * [C++][Python] Add missing methods to RecordBatch (#39506)
+ * [C++][Java][Flight RPC] Add Session management messages
+ (#34817)
+ * [C++] build filesystems as separate modules (#39067)
+ * [C++][Parquet] Rewrite BYTE_STREAM_SPLIT SSE optimizations
+ using xsimd (#40335)
+ * [C++] Add support for service-specific endpoint for S3 using
+ AWS_ENDPOINT_URL_S3 (#39160)
+ * [C++][FS][Azure] Implement DeleteFile() (#39840)
+ * [C++] Implement Azure FileSystem Move() via Azure DataLake
+ Storage Gen 2 API (#39904)
+ * [C++] Add ImportChunkedArray and ExportChunkedArray to/from
+ ArrowArrayStream (#39455)
+ * [CI][C++][Go] Don't run jobs that use a self-hosted GitHub
+ Actions Runner on fork (#39903)
+ * [C++][FS][Azure] Use the generic filesystem tests (#40567)
+ * [C++][Compute] Add binary_slice kernel for fixed size binary
+ (#39245)
+ * [C++] Avoid creating memory manager instance for every buffer
+ view/copy (#39271)
+ * [C++][Parquet] Minor: Style enhancement for
+ parquet::FileMetaData (#39337)
+ * [C++] IO: Reuse same buffer in CompressedInputStream (#39807)
+ * [C++] Use more permissable return code for rename (#39481)
+ * [C++][Parquet] Use std::count in ColumnReader ReadLevels
+ (#39397)
+ * [C++] Support cast kernel from large string, (large) binary to
+ dictionary (#40017)
+ * [C++] Pass -jN to make in external projects (#39550)
+ * [C++][Parquet] Add integration test for BYTE_STREAM_SPLIT
+ (#39570)
+ * [C++] Ensure top-level benchmarks present informative metrics
+ (#40091)
+ * [C++] Ensure CSV and JSON benchmarks present a bytes/s or
+ items/s metric (#39764)
+ * [C++] Ensure dataset benchmarks present a bytes/s or items/s
+ metric (#39766)
+ * [C++][Gandiva] Ensure Gandiva benchmarks present a bytes/s or
+ items/s metric (#40435)
+ * [C++][Parquet] Benchmark levels decoding (#39705)
+ * [C++][FS][Azure] Remove StatusFromErrorResponse as it's not
+ necessary (#39719)
+ * [C++][Parquet] Make BYTE_STREAM_SPLIT routines type-agnostic
+ (#39748)
+ * [C++][Device] Generic CopyBatchTo/CopyArrayTo memory types
+ (#39772)
+ * [C++] Document and micro-optimize ChunkResolver::Resolve()
+ (#39817)
+ * [C++] Allow building cpp/src/arrow/**/*.cc without waiting
+ bundled libraries (#39824)
+ * [C++][Parquet] Parquet binary length overflow exception should
+ contain the length of binary (#39844)
+ * [C++][Parquet] Minor: avoid creating a new Reader object in
+ Decoder::SetData (#39847)
+ * [C++] Thirdparty: Bump google benchmark to 1.8.3 (#39878)
+ * [C++] DataType::ToString support optionally show metadata
+ (#39888)
+ * [C++][Gandiva] Accept LLVM 18 (#39934)
+ * [C++] Use Requires instead of Libs for system RE2 in arrow.pc
+ (#39932)
+ * [C++] Small CSV reader refactoring (#39963)
+ * [C++][Parquet] Expand BYTE_STREAM_SPLIT to support
+ FIXED_LEN_BYTE_ARRAY, INT32 and INT64 (#40094)
+ * [C++][FS][Azure] Add support for reading user defined metadata
+ (#40671)
+ * [C++][FS][Azure] Add AzureFileSystem support to
+ FileSystemFromUri() (#40325)
+ * [C++][FS][Azure] Make attempted reads and writes against
+ directories fail fast (#40119)
+ * [C++][Python] Basic conversion of RecordBatch to Arrow Tensor
+ (#40064)
+ * [C++][Python] Basic conversion of RecordBatch to Arrow Tensor -
+ add support for different data types (#40359)
+ * [C++][Python] Basic conversion of RecordBatch to Arrow Tensor -
+ add option to cast NULL to NaN (#40803)
+ * [C++][FS][Azure] Implement DeleteFile() for flat-namespace
+ storage accounts (#40075)
+ * [CI][C++] Add a job on ARM64 macOS (#40456)
+ * [C++][Parquet] Remove AVX512 variants of BYTE_STREAM_SPLIT
+ encoding (#40127)
+ * [C++][Parquet][Tools] Print FIXED_LEN_BYTE_ARRAY length
+ (#40132)
+ * [C++] Make S3 narrative test more flexible (#40144)
+ * [C++] Remove redundant invocation of BatchesFromTable (#40173)
+ * [C++][CMake] Use "RapidJSON" CMake target for RapidJSON
+ (#40210)
+ * [C++][CMake] Use arrow/util/config.h.cmake instead of
+ add_definitions() (#40222)
+ * [C++] Fix: improve the backpressure handling in the dataset
+ writer (#40722)
+ * [C++][CMake] Improve description why we need to initialize AWS
+ C++ SDK in arrow-s3fs-test (#40229)
+ * [C++] Add support for system glog 0.7 (#40275)
+ * [C++] Specialize ResolvedChunk::Value on value-specific types
+ instead of entire class (#40281)
+ * [C++][Docs] Add documentation of array factories (#40373)
+ * [C++][Parquet] Allow use of FileDecryptionProperties after the
+ CryptoFactory is destroyed (#40329)
+ * [FlightRPC][C++][Java][Go] Add URI scheme to reuse connection
+ (#40084)
+ * [C++] Add benchmark for ToTensor conversions (#40358)
+ * [C++] Define ARROW_FORCE_INLINE for non-MSVC builds (#40372)
+ * [C++] Add support for mold (#40397)
+ * [C++] Add support for LLD (#40927)
+ * [C++] Produce better error message when Move is attempted on
+ flat-namespace accounts (#40406)
+ * [C++][ORC] Upgrade ORC to 2.0.0 (#40508)
+ * [CI][C++] Don't install FlatBuffers (#40541)
+ * [C++] Ensure pkg-config flags include -ldl for static builds
+ (#40578)
+ * [Dev][C++][Python][R] Use pre-commit for clang-format (#40587)
+ * [C++] Rename Function::is_impure() to is_pure() (#40608)
+ * [C++] Add missing util/config.h in arrow/io/compressed_test.cc
+ (#40625)
+ * [Python][C++] Support conversion of pyarrow.RunEndEncodedArray
+ to numpy/pandas (#40661)
+ * [C++] Expand Substrait type support (#40696)
+ * [C++] Create registry for Devices to map DeviceType to
+ MemoryManager in C Device Data import (#40699)
+ * [C++][Parquet] Minor enhancement code of encryption (#40732)
+ * [C++][Parquet] Simplify PageWriter and ColumnWriter creation
+ (#40768)
+ * [C++] Re-order loads and stores in MemoryPoolStats update
+ (#40647)
+ * [C++] Revert changes from PR #40857 (#40980)
+ * [C++] Correctly report asimd/neon in GetRuntimeInfo (#40857)
+ * [C++] Thirdparty: bump zstd to 1.5.6 (#40837)
+ * [Docs][C++][Python] Add initial documentation for
+ RecordBatch::Tensor conversion (#40842)
+ * [C++][Python] Basic conversion of RecordBatch to Arrow Tensor -
+ add support for row-major (#40867)
+ * [C++][Parquet] Encoding: Optimize DecodeArrow/Decode(bitmap)
+ for PlainBooleanDecoder (#40876)
+ * [C++] Suppress shorten-64-to-32 warnings in CUDA/Skyhook codes
+ (#40883)
+ * [C++] Fix unused function build error (#40984)
+ * [C++][Parquet] RleBooleanDecoder supports DecodeArrow with
+ nulls (#40995)
+ * [C++][FS][Azure] Adjust
+ DeleteDir/DeleteDirContents/GetFileInfoSelector behaviors
+ against Azure for generic filesystem tests (#41068)
+ * [C++][Parquet] Avoid allocating buffer object in RecordReader's
+ SkipRecords (#39818)
+- Drop apache-arrow-pr40230-glog-0.7.patch
+- Drop apache-arrow-pr40275-glog-0.7-2.patch
+- Belated inclusion of submission without changelog by
+ Shani Hadiyanto <shanipribadi(a)gmail.com>)
+ * disable static devel packages by default: The CMake targets
+ require them for all builds, if not disabled
+ * Add subpackages for Apache Arrow Flight and Flight SQL
+
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/apache-arrow/python-pyarrow.changes 2024-03-25 21:14:26.226927395 +0100
+++ /work/SRC/openSUSE:Factory/.apache-arrow.new.1880/python-pyarrow.changes 2024-04-25 20:50:53.661832295 +0200
@@ -1,0 +2,140 @@
+Thu Apr 25 08:58:22 UTC 2024 - Ben Greiner <code(a)bnavigator.de>
+
+- Update to 16.0.0
+ * [Python] construct pandas.DataFrame with public API in
+ to_pandas (#40897)
+ * [Python] Fix ORC test segfault in the python wheel windows test
+ (#40609)
+ * [Python] Attach Python stacktrace to errors in ConvertPyError
+ (#39380)
+ * [Python] Plug reference leaks when creating Arrow array from
+ Python list of dicts (#40412)
+ * [Python] Empty slicing an array backwards beyond the start is
+ now empty (#40682)
+ * [Python] Slicing an array backwards beyond the start now
+ includes first item. (#39240)
+ * [Python] Calling
+ pyarrow.dataset.ParquetFileFormat.make_write_options as a class
+ method results in a segfault (#40976)
+ * [Python] Fix parquet import in encryption test (#40505)
+ * [Python] fix raising ValueError on _ensure_partitioning
+ (#39593)
+ * [Python] Validate max_chunksize in Table.to_batches (#39796)
+ * [C++][Python] Fix test_gdb failures on 32-bit (#40293)
+ * [Python] Make Tensor.__getbuffer__ work on 32-bit platforms
+ (#40294)
+ * [Python] Avoid using np.take in Array.to_numpy() (#40295)
+ * [Python][C++] Fix large file handling on 32-bit Python build
+ (#40176)
+ * [Python] Update size assumptions for 32-bit platforms (#40165)
+ * [Python] Fix OverflowError in foreign_buffer on 32-bit
+ platforms (#40158)
+ * [Python] Add Type_FIXED_SIZE_LIST to _NESTED_TYPES set (#40172)
+ * [Python] Mark ListView as a nested type (#40265)
+ * [Python] only allocate the ScalarMemoTable when used (#40565)
+ * [Python] Error compiling Cython files on Windows during release
+ verification
+ * [Python] Fix flake8 failures in python/benchmarks/parquet.py
+ (#40440)
+ * [Python] Suppress python/examples/minimal_build/Dockerfile.*
+ warnings (#40444)
+ * [Python][Docs] Add workaround for autosummary (#40739)
+ * [Python] BUG: Empty slicing an array backwards beyond the start
+ should be empty
+ * [CI][Python] Activate ARROW_PYTHON_VENV if defined in
+ sdist-test job (#40707)
+ * [CI][Python] CI failures on Python builds due to pytest_cython
+ (#40975)
+ * [Python] ListView pandas tests should use np.nan instead of
+ None (#41040)
+ * [C++][Python] Sporadic asof_join failures in PyArrow
+ ## New Features and Improvements
+ * [Python][CI] Remove legacy hdfs tests from hdfs and hypothesis
+ setup (#40363)
+ * [Python] Remove deprecated pyarrow.filesystem legacy
+ implementations (#39825)
+ * [C++][Python] Add missing methods to RecordBatch (#39506)
+ * [Python][CI] Support ORC in Windows wheels
+ * [Python] Correct test marker for join_asof tests (#40666)
+ * [Python] Add join_asof binding (#34234)
+ * [Python] Add a function to download and extract timezone
+ database on Windows (#38179)
+ * [Python][CI][Packaging] Enable ORC on Windows Appveyor CI and
+ Windows wheels for pyarrow
+ * [Python] Add a FixedSizeTensorScalar class (#37533)
+ * [Python][CI][Dev][Python] Release and merge script errors
+ (#37819)" (#40150)
+ * [Python] Construct pyarrow.Field and ChunkedArray through Arrow
+ PyCapsule Protocol (#40818)
+ * [Python] Fix missing byte_width attribute on DataType class
+ (#39592)
+ * [Python] Compatibility with NumPy 2.0
+ * [Packaging][Python] Enable building pyarrow against numpy 2.0
+ (#39557)
+ * [Python] Basic pyarrow bindings for Binary/StringView classes
+ (#39652)
+ * [Python] Expose force_virtual_addressing in PyArrow (#39819)
+ * [Python][Parquet] Support hashing for FileMetaData and
+ ParquetSchema (#39781)
+ * [Python] Add bindings for ListView and LargeListView (#39813)
+ * [Python][Packaging] Build pyarrow wheels with numpy RC instead
+ of nightly (#41097)
+ * [Python] Support creating Binary/StringView arrays from python
+ objects (#39853)
+ * [Python] ListView support for pa.array() (#40160)
+ * [Python][CI] Remove upper pin on pytest (#40487)
+ * [Python][FS][Azure] Minimal Python bindings for AzureFileSystem
+ (#40021)
+ * [Python] Low-level bindings for exporting/importing the C
+ Device Interface (#39980)
+ * [Python] Add ChunkedArray import/export to/from C (#39985)
+ * [Python] Use Cast() instead of CastTo (#40116)
+ * [C++][Python] Basic conversion of RecordBatch to Arrow Tensor
+ (#40064)
+ * [C++][Python] Basic conversion of RecordBatch to Arrow Tensor -
+ add support for different data types (#40359)
+ * [C++][Python] Basic conversion of RecordBatch to Arrow Tensor -
+ add option to cast NULL to NaN (#40803)
+ * [Python] Support requested_schema in __arrow_c_stream__()
+ (#40070)
+ * [Python] Support Binary/StringView conversion to numpy/pandas
+ (#40093)
+ * [Python] Allow FileInfo instances to be passed to dataset init
+ (#40143)
+ * [Python][CI] Add 32-bit Debian build on Crossbow (#40164)
+ * [Python] ListView arrow-to-pandas conversion (#40482)
+ * [Python][CI] Disable generating C lines in Cython tracebacks
+ (#40225)
+ * [Python] Support construction of Run-End Encoded arrays in
+ pa.array(..) (#40341)
+ * [Python] Accept dict in pyarrow.record_batch() function
+ (#40292)
+ * [Python] Update for NumPy 2.0 ABI change in
+ PyArray_Descr->elsize (#40418)
+ * [Python][CI] Fix install of nightly dask in integration tests
+ (#40378)
+ * [Python] Fix byte_width for binary(0) + fix hypothesis tests
+ (#40381)
+ * [Python][CI] Fix dataset partition filter tests with pandas
+ nightly (#40429)
+ * [Docs][Python] Added JsonFileFormat to docs (#40585)
+ * [Dev][C++][Python][R] Use pre-commit for clang-format (#40587)
+ * [Python][C++] Support conversion of pyarrow.RunEndEncodedArray
+ to numpy/pandas (#40661)
+ * [Python] Simplify and improve perf of creation of the column
+ names in Table.to_pandas (#40721)
+ * [Docs][C++][Python] Add initial documentation for
+ RecordBatch::Tensor conversion (#40842)
+ * [C++][Python] Basic conversion of RecordBatch to Arrow Tensor -
+ add support for row-major (#40867)
+ * [CI][Python] check message in test_make_write_options_error for
+ Cython 2 (#41059)
+ * [Python] Add copy keyword in Array.array for numpy 2.0+
+ compatibility (#41071)
+ * [Python][Packaging] PyArrow wheel building is failing because
+ of disabled vcpkg install of liblzma
+- Drop apache-arrow-pr40230-glog-0.7.patch
+- Drop apache-arrow-pr40275-glog-0.7-2.patch
+- Add pyarrow-pr41319-numpy2-tests.patch gh#apache/arrow#41319
+
+-------------------------------------------------------------------
Old:
----
apache-arrow-15.0.2.tar.gz
apache-arrow-pr40230-glog-0.7.patch
apache-arrow-pr40275-glog-0.7-2.patch
arrow-testing-15.0.2.tar.gz
parquet-testing-15.0.2.tar.gz
New:
----
apache-arrow-16.0.0.tar.gz
arrow-testing-16.0.0.tar.gz
parquet-testing-16.0.0.tar.gz
pyarrow-pr41319-numpy2-tests.patch
BETA DEBUG BEGIN:
Old:/work/SRC/openSUSE:Factory/.apache-arrow.new.1880/apache-arrow.changes- SkipRecords (#39818)
/work/SRC/openSUSE:Factory/.apache-arrow.new.1880/apache-arrow.changes:- Drop apache-arrow-pr40230-glog-0.7.patch
/work/SRC/openSUSE:Factory/.apache-arrow.new.1880/apache-arrow.changes-- Drop apache-arrow-pr40275-glog-0.7-2.patch
--
/work/SRC/openSUSE:Factory/.apache-arrow.new.1880/python-pyarrow.changes- of disabled vcpkg install of liblzma
/work/SRC/openSUSE:Factory/.apache-arrow.new.1880/python-pyarrow.changes:- Drop apache-arrow-pr40230-glog-0.7.patch
/work/SRC/openSUSE:Factory/.apache-arrow.new.1880/python-pyarrow.changes-- Drop apache-arrow-pr40275-glog-0.7-2.patch
Old:/work/SRC/openSUSE:Factory/.apache-arrow.new.1880/apache-arrow.changes-- Drop apache-arrow-pr40230-glog-0.7.patch
/work/SRC/openSUSE:Factory/.apache-arrow.new.1880/apache-arrow.changes:- Drop apache-arrow-pr40275-glog-0.7-2.patch
/work/SRC/openSUSE:Factory/.apache-arrow.new.1880/apache-arrow.changes-- Belated inclusion of submission without changelog by
--
/work/SRC/openSUSE:Factory/.apache-arrow.new.1880/python-pyarrow.changes-- Drop apache-arrow-pr40230-glog-0.7.patch
/work/SRC/openSUSE:Factory/.apache-arrow.new.1880/python-pyarrow.changes:- Drop apache-arrow-pr40275-glog-0.7-2.patch
/work/SRC/openSUSE:Factory/.apache-arrow.new.1880/python-pyarrow.changes-- Add pyarrow-pr41319-numpy2-tests.patch gh#apache/arrow#41319
BETA DEBUG END:
BETA DEBUG BEGIN:
New:/work/SRC/openSUSE:Factory/.apache-arrow.new.1880/python-pyarrow.changes-- Drop apache-arrow-pr40275-glog-0.7-2.patch
/work/SRC/openSUSE:Factory/.apache-arrow.new.1880/python-pyarrow.changes:- Add pyarrow-pr41319-numpy2-tests.patch gh#apache/arrow#41319
/work/SRC/openSUSE:Factory/.apache-arrow.new.1880/python-pyarrow.changes-
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apache-arrow.spec ++++++
--- /var/tmp/diff_new_pack.eIgiDT/_old 2024-04-25 20:50:54.397859027 +0200
+++ /var/tmp/diff_new_pack.eIgiDT/_new 2024-04-25 20:50:54.397859027 +0200
@@ -16,17 +16,19 @@
#
+# Remove static build due to devel-static packages being required by the generated CMake Targets
+%bcond_with static
%bcond_without tests
# Required for runtime dispatch, not yet packaged
%bcond_with xsimd
-%define sonum 1500
+%define sonum 1600
# See git submodule /testing pointing to the correct revision
-%define arrow_testing_commit ad82a736c170e97b7c8c035ebd8a801c17eec170
+%define arrow_testing_commit 25d16511e8d42c2744a1d94d90169e3a36e92631
# See git submodule /cpp/submodules/parquet-testing pointing to the correct revision
-%define parquet_testing_commit d69d979223e883faef9dc6fe3cf573087243c28a
+%define parquet_testing_commit 74278bc4a1122d74945969e6dec405abd1533ec3
Name: apache-arrow
-Version: 15.0.2
+Version: 16.0.0
Release: 0
Summary: A development platform for in-memory data
License: Apache-2.0 AND BSD-3-Clause AND BSD-2-Clause AND MIT
@@ -36,10 +38,6 @@
Source0: https://github.com/apache/arrow/archive/apache-arrow-%{version}.tar.gz
Source1: https://github.com/apache/arrow-testing/archive/%{arrow_testing_commit}.tar…
Source2: https://github.com/apache/parquet-testing/archive/%{parquet_testing_commit}…
-# PATCH-FIX-UPSTREAM apache-arrow-pr40230-glog-0.7.patch gh#apache/arrow#40230
-Patch0: https://github.com/apache/arrow/pull/40230.patch#/apache-arrow-pr40230-glog…
-# PATCH-FIX-UPSTREAM apache-arrow-pr40275-glog-0.7-2.patch gh#apache/arrow#40275
-Patch1: https://github.com/apache/arrow/pull/40275.patch#/apache-arrow-pr40275-glog…
BuildRequires: bison
BuildRequires: cmake >= 3.16
BuildRequires: fdupes
@@ -47,8 +45,9 @@
BuildRequires: gcc-c++
BuildRequires: libboost_filesystem-devel
BuildRequires: libboost_system-devel >= 1.64.0
+%if %{with static}
BuildRequires: libzstd-devel-static
-BuildRequires: llvm-devel >= 7
+%endif
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: python3-base
@@ -71,6 +70,7 @@
BuildRequires: pkgconfig(libutf8proc)
BuildRequires: pkgconfig(libzstd) >= 1.4.3
BuildRequires: pkgconfig(protobuf) >= 3.7.1
+BuildRequires: pkgconfig(sqlite3) >= 3.45.2
BuildRequires: pkgconfig(thrift) >= 0.11.0
BuildRequires: pkgconfig(zlib) >= 1.2.11
%if %{with tests}
@@ -115,6 +115,34 @@
This package provides the shared library for the Acero streaming execution engine
+%package -n libarrow_flight%{sonum}
+Summary: Development platform for in-memory data - shared library
+Group: System/Libraries
+
+%description -n libarrow_flight%{sonum}
+Apache Arrow is a cross-language development platform for in-memory
+data. It specifies a standardized language-independent columnar memory
+format for flat and hierarchical data, organized for efficient
+analytic operations on modern hardware. It also provides computational
+libraries and zero-copy streaming messaging and interprocess
+communication.
+
+This package provides the shared library for Arrow Flight
+
+%package -n libarrow_flight_sql%{sonum}
+Summary: Development platform for in-memory data - shared library
+Group: System/Libraries
+
+%description -n libarrow_flight_sql%{sonum}
+Apache Arrow is a cross-language development platform for in-memory
+data. It specifies a standardized language-independent columnar memory
+format for flat and hierarchical data, organized for efficient
+analytic operations on modern hardware. It also provides computational
+libraries and zero-copy streaming messaging and interprocess
+communication.
+
+This package provides the shared library for Arrow Flight SQL
+
%package -n libarrow_dataset%{sonum}
Summary: Development platform for in-memory data - shared library
Group: System/Libraries
@@ -149,6 +177,15 @@
Requires: libarrow%{sonum} = %{version}
Requires: libarrow_acero%{sonum} = %{version}
Requires: libarrow_dataset%{sonum} = %{version}
+Requires: libarrow_flight%{sonum} = %{version}
+Requires: libarrow_flight_sql%{sonum} = %{version}
+%if %{with static}
+Suggests: %{name}-devel-static = %{version}
+Suggests: %{name}-acero-devel-static = %{version}
+Suggests: %{name}-dataset-devel-static = %{version}
+Suggests: %{name}-flight-devel-static = %{version}
+Suggests: %{name}-flight-sql-devel-static = %{version}
+%endif
%description devel
Apache Arrow is a cross-language development platform for in-memory
@@ -161,6 +198,7 @@
This package provides the development libraries and headers for
Apache Arrow.
+%if %{with static}
%package devel-static
Summary: Development platform for in-memory data - development files
Group: Development/Libraries/C and C++
@@ -191,6 +229,36 @@
This package provides the static library for the Acero streaming execution engine
+%package flight-devel-static
+Summary: Development platform for in-memory data - development files
+Group: Development/Libraries/C and C++
+Requires: %{name}-devel = %{version}
+
+%description flight-devel-static
+Apache Arrow is a cross-language development platform for in-memory
+data. It specifies a standardized language-independent columnar memory
+format for flat and hierarchical data, organized for efficient
+analytic operations on modern hardware. It also provides computational
+libraries and zero-copy streaming messaging and interprocess
+communication.
+
+This package provides the static library for Arrow Flight
+
+%package flight-sql-devel-static
+Summary: Development platform for in-memory data - development files
+Group: Development/Libraries/C and C++
+Requires: %{name}-devel = %{version}
+
+%description flight-sql-devel-static
+Apache Arrow is a cross-language development platform for in-memory
+data. It specifies a standardized language-independent columnar memory
+format for flat and hierarchical data, organized for efficient
+analytic operations on modern hardware. It also provides computational
+libraries and zero-copy streaming messaging and interprocess
+communication.
+
+This package provides the static library for Arrow Flight SQL
+
%package dataset-devel-static
Summary: Development platform for in-memory data - development files
Group: Development/Libraries/C and C++
@@ -205,6 +273,7 @@
communication.
This package provides the static library for Dataset API support
+%endif
%package -n apache-parquet-devel
Summary: Development platform for in-memory data - development files
@@ -222,6 +291,7 @@
This package provides the development libraries and headers for
the Parquet format.
+%if %{with static}
%package -n apache-parquet-devel-static
Summary: Development platform for in-memory data - development files
Group: Development/Libraries/C and C++
@@ -236,6 +306,7 @@
communication.
This package provides the static library for the Parquet format.
+%endif
%package -n apache-parquet-utils
Summary: Development platform for in-memory data - development files
@@ -254,6 +325,8 @@
%prep
%setup -q -n arrow-apache-arrow-%{version} -a1 -a2
%autopatch -p1
+# https://github.com/protocolbuffers/protobuf/issues/12292
+sed -i 's/find_package(Protobuf/find_package(Protobuf CONFIG/' cpp/cmake_modules/FindProtobufAlt.cmake
%build
export CFLAGS="%{optflags} -ffat-lto-objects"
@@ -263,7 +336,7 @@
%cmake \
-DARROW_BUILD_EXAMPLES:BOOL=ON \
-DARROW_BUILD_SHARED:BOOL=ON \
- -DARROW_BUILD_STATIC:BOOL=ON \
+ -DARROW_BUILD_STATIC:BOOL=%{?with_static:ON}%{!?with_static:OFF} \
-DARROW_BUILD_TESTS:BOOL=%{?with_tests:ON}%{!?with_tests:OFF} \
-DARROW_BUILD_UTILITIES:BOOL=ON \
-DARROW_DEPENDENCY_SOURCE=SYSTEM \
@@ -278,8 +351,10 @@
-DARROW_CSV:BOOL=ON \
-DARROW_DATASET:BOOL=ON \
-DARROW_FILESYSTEM:BOOL=ON \
- -DARROW_FLIGHT:BOOL=OFF \
+ -DARROW_FLIGHT:BOOL=ON \
+ -DARROW_FLIGHT_SQL:BOOL=ON \
-DARROW_GANDIVA:BOOL=OFF \
+ -DARROW_SKYHOOK:BOOL=OFF \
-DARROW_HDFS:BOOL=ON \
-DARROW_HIVESERVER2:BOOL=OFF \
-DARROW_IPC:BOOL=ON \
@@ -312,8 +387,15 @@
popd
%if %{with tests}
rm %{buildroot}%{_libdir}/libarrow_testing.so*
-rm %{buildroot}%{_libdir}/libarrow_testing.a
+rm %{buildroot}%{_libdir}/libarrow_flight_testing.so*
rm %{buildroot}%{_libdir}/pkgconfig/arrow-testing.pc
+rm %{buildroot}%{_libdir}/pkgconfig/arrow-flight-testing.pc
+%if %{with static}
+rm %{buildroot}%{_libdir}/libarrow_testing.a
+rm %{buildroot}%{_libdir}/libarrow_flight_testing.a
+%endif
+rm -Rf %{buildroot}%{_libdir}/cmake/ArrowTesting
+rm -Rf %{buildroot}%{_libdir}/cmake/ArrowFlightTesting
rm -Rf %{buildroot}%{_includedir}/arrow/testing
%endif
rm -r %{buildroot}%{_datadir}/doc/arrow/
@@ -349,6 +431,10 @@
%postun -n libarrow%{sonum} -p /sbin/ldconfig
%post -n libarrow_acero%{sonum} -p /sbin/ldconfig
%postun -n libarrow_acero%{sonum} -p /sbin/ldconfig
+%post -n libarrow_flight%{sonum} -p /sbin/ldconfig
+%postun -n libarrow_flight%{sonum} -p /sbin/ldconfig
+%post -n libarrow_flight_sql%{sonum} -p /sbin/ldconfig
+%postun -n libarrow_flight_sql%{sonum} -p /sbin/ldconfig
%post -n libarrow_dataset%{sonum} -p /sbin/ldconfig
%postun -n libarrow_dataset%{sonum} -p /sbin/ldconfig
%post -n libparquet%{sonum} -p /sbin/ldconfig
@@ -367,6 +453,14 @@
%license LICENSE.txt NOTICE.txt header
%{_libdir}/libarrow_acero.so.*
+%files -n libarrow_flight%{sonum}
+%license LICENSE.txt NOTICE.txt header
+%{_libdir}/libarrow_flight.so.*
+
+%files -n libarrow_flight_sql%{sonum}
+%license LICENSE.txt NOTICE.txt header
+%{_libdir}/libarrow_flight_sql.so.*
+
%files -n libarrow_dataset%{sonum}
%license LICENSE.txt NOTICE.txt header
%{_libdir}/libarrow_dataset.so.*
@@ -383,6 +477,8 @@
%{_libdir}/libarrow.so
%{_libdir}/libarrow_acero.so
%{_libdir}/libarrow_dataset.so
+%{_libdir}/libarrow_flight.so
+%{_libdir}/libarrow_flight_sql.so
%{_libdir}/pkgconfig/arrow*.pc
%dir %{_datadir}/arrow
%{_datadir}/arrow/gdb
@@ -392,6 +488,7 @@
%dir %{_datadir}/gdb/auto-load/%{_libdir}
%{_datadir}/gdb/auto-load/%{_libdir}/libarrow.so.*.py
+%if %{with static}
%files devel-static
%license LICENSE.txt NOTICE.txt header
%{_libdir}/libarrow.a
@@ -404,6 +501,15 @@
%license LICENSE.txt NOTICE.txt header
%{_libdir}/libarrow_dataset.a
+%files flight-devel-static
+%license LICENSE.txt NOTICE.txt header
+%{_libdir}/libarrow_flight.a
+
+%files flight-sql-devel-static
+%license LICENSE.txt NOTICE.txt header
+%{_libdir}/libarrow_flight_sql.a
+%endif
+
%files -n apache-parquet-devel
%doc README.md
%license LICENSE.txt NOTICE.txt header
@@ -412,9 +518,11 @@
%{_libdir}/libparquet.so
%{_libdir}/pkgconfig/parquet.pc
+%if %{with static}
%files -n apache-parquet-devel-static
%license LICENSE.txt NOTICE.txt header
%{_libdir}/libparquet.a
+%endif
%files -n apache-parquet-utils
%doc README.md
++++++ python-pyarrow.spec ++++++
--- /var/tmp/diff_new_pack.eIgiDT/_old 2024-04-25 20:50:54.461861352 +0200
+++ /var/tmp/diff_new_pack.eIgiDT/_new 2024-04-25 20:50:54.461861352 +0200
@@ -19,7 +19,7 @@
%bcond_with xsimd
%define plainpython python
Name: python-pyarrow
-Version: 15.0.2
+Version: 16.0.0
Release: 0
Summary: Python library for Apache Arrow
License: Apache-2.0 AND BSD-3-Clause AND BSD-2-Clause AND MIT
@@ -27,39 +27,33 @@
# SourceRepository: https://github.com/apache/arrow
Source0: apache-arrow-%{version}.tar.gz
Source99: python-pyarrow.rpmlintrc
-# PATCH-FIX-UPSTREAM apache-arrow-pr40230-glog-0.7.patch gh#apache/arrow#40230
-Patch0: apache-arrow-pr40230-glog-0.7.patch
-# PATCH-FIX-UPSTREAM apache-arrow-pr40275-glog-0.7-2.patch gh#apache/arrow#40275
-Patch1: apache-arrow-pr40275-glog-0.7-2.patch
+# PATCH-FIX-UPSTREAM pyarrow-pr41319-numpy2-tests.patch gh#apache/arrow#41319
+Patch0: pyarrow-pr41319-numpy2-tests.patch
BuildRequires: %{python_module Cython >= 0.29.31}
BuildRequires: %{python_module devel >= 3.8}
-BuildRequires: %{python_module numpy-devel >= 1.16.6 with %python-numpy-devel < 2}
+BuildRequires: %{python_module numpy-devel >= 1.25}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
-BuildRequires: apache-arrow-acero-devel-static = %{version}
-BuildRequires: apache-arrow-dataset-devel-static = %{version}
-BuildRequires: apache-arrow-devel = %{version}
-BuildRequires: apache-arrow-devel-static = %{version}
-BuildRequires: apache-parquet-devel = %{version}
-BuildRequires: apache-parquet-devel-static = %{version}
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc-c++
-BuildRequires: libzstd-devel-static
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: cmake(re2)
+BuildRequires: pkgconfig(arrow) = %{version}
+BuildRequires: pkgconfig(arrow-acero) = %{version}
+BuildRequires: pkgconfig(arrow-dataset) = %{version}
BuildRequires: pkgconfig(bzip2) >= 1.0.8
BuildRequires: pkgconfig(gmock) >= 1.10
BuildRequires: pkgconfig(gtest) >= 1.10
-Requires: (python-numpy >= 1.16.6 with python-numpy < 2)
+BuildRequires: pkgconfig(parquet) = %{version}
+Requires: python-numpy >= 1.25
# SECTION test requirements
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pandas}
-BuildRequires: %{python_module pytest-lazy-fixture}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
# /SECTION
++++++ apache-arrow-15.0.2.tar.gz -> apache-arrow-16.0.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/apache-arrow/apache-arrow-15.0.2.tar.gz /work/SRC/openSUSE:Factory/.apache-arrow.new.1880/apache-arrow-16.0.0.tar.gz differ: char 15, line 1
++++++ arrow-testing-15.0.2.tar.gz -> arrow-testing-16.0.0.tar.gz ++++++
Binary files old/arrow-testing-ad82a736c170e97b7c8c035ebd8a801c17eec170/data/arrow-ipc-stream/clusterfuzz-testcase-minimized-arrow-ipc-stream-fuzz-5268486039142400 and new/arrow-testing-25d16511e8d42c2744a1d94d90169e3a36e92631/data/arrow-ipc-stream/clusterfuzz-testcase-minimized-arrow-ipc-stream-fuzz-5268486039142400 differ
Binary files old/arrow-testing-ad82a736c170e97b7c8c035ebd8a801c17eec170/data/parquet/alltypes-java.parquet and new/arrow-testing-25d16511e8d42c2744a1d94d90169e3a36e92631/data/parquet/alltypes-java.parquet differ
++++++ parquet-testing-15.0.2.tar.gz -> parquet-testing-16.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parquet-testing-d69d979223e883faef9dc6fe3cf573087243c28a/data/README.md new/parquet-testing-74278bc4a1122d74945969e6dec405abd1533ec3/data/README.md
--- old/parquet-testing-d69d979223e883faef9dc6fe3cf573087243c28a/data/README.md 2023-11-23 17:41:57.000000000 +0100
+++ new/parquet-testing-74278bc4a1122d74945969e6dec405abd1533ec3/data/README.md 2024-03-18 11:42:46.000000000 +0100
@@ -49,6 +49,7 @@
| float16_nonzeros_and_nans.parquet | Float16 (logical type) column with NaNs and nonzero finite min/max values |
| float16_zeros_and_nans.parquet | Float16 (logical type) column with NaNs and zeros as min/max values. . See [note](#float16-files) below |
| concatenated_gzip_members.parquet | 513 UINT64 numbers compressed using 2 concatenated gzip members in a single data page |
+| byte_stream_split.zstd.parquet | Standard normals with `BYTE_STREAM_SPLIT` encoding. See [note](#byte-stream-split) below |
TODO: Document what each file is in the table above.
@@ -321,3 +322,68 @@
# total_compressed_size: 76
# total_uncompressed_size: 76
```
+
+## Byte Stream Split
+
+# FLOAT and DOUBLE data
+
+`byte_stream_split.zstd.parquet` is generated by pyarrow 14.0.2 using the following code:
+
+```python
+import pyarrow as pa
+from pyarrow import parquet as pq
+import numpy as np
+
+np.random.seed(0)
+table = pa.Table.from_pydict({
+ 'f32': np.random.normal(size=300).astype(np.float32),
+ 'f64': np.random.normal(size=300).astype(np.float64),
+})
+
+pq.write_table(
+ table,
+ 'byte_stream_split.parquet',
+ version='2.6',
+ compression='zstd',
+ compression_level=22,
+ column_encoding='BYTE_STREAM_SPLIT',
+ use_dictionary=False,
+)
+```
+
+This is a practical case where `BYTE_STREAM_SPLIT` encoding obtains a smaller file size than `PLAIN` or dictionary.
+Since the distributions are random normals centered at 0, each byte has nontrivial behavior.
+
+# Additional types
+
+`byte_stream_split_extended.gzip.parquet` is generated by pyarrow 16.0.0.
+It contains 7 pairs of columns, each in two variants containing the same
+values: one `PLAIN`-encoded and one `BYTE_STREAM_SPLIT`-encoded:
+```
+Version: 2.6
+Created By: parquet-cpp-arrow version 16.0.0-SNAPSHOT
+Total rows: 200
+Number of RowGroups: 1
+Number of Real Columns: 14
+Number of Columns: 14
+Number of Selected Columns: 14
+Column 0: float16_plain (FIXED_LEN_BYTE_ARRAY(2) / Float16)
+Column 1: float16_byte_stream_split (FIXED_LEN_BYTE_ARRAY(2) / Float16)
+Column 2: float_plain (FLOAT)
+Column 3: float_byte_stream_split (FLOAT)
+Column 4: double_plain (DOUBLE)
+Column 5: double_byte_stream_split (DOUBLE)
+Column 6: int32_plain (INT32)
+Column 7: int32_byte_stream_split (INT32)
+Column 8: int64_plain (INT64)
+Column 9: int64_byte_stream_split (INT64)
+Column 10: flba5_plain (FIXED_LEN_BYTE_ARRAY(5))
+Column 11: flba5_byte_stream_split (FIXED_LEN_BYTE_ARRAY(5))
+Column 12: decimal_plain (FIXED_LEN_BYTE_ARRAY(4) / Decimal(precision=7, scale=3) / DECIMAL(7,3))
+Column 13: decimal_byte_stream_split (FIXED_LEN_BYTE_ARRAY(4) / Decimal(precision=7, scale=3) / DECIMAL(7,3))
+```
+
+To check conformance of a `BYTE_STREAM_SPLIT` decoder, read each
+`BYTE_STREAM_SPLIT`-encoded column and compare the decoded values against
+the values from the corresponding `PLAIN`-encoded column. The values should
+be equal.
Binary files old/parquet-testing-d69d979223e883faef9dc6fe3cf573087243c28a/data/byte_stream_split.zstd.parquet and new/parquet-testing-74278bc4a1122d74945969e6dec405abd1533ec3/data/byte_stream_split.zstd.parquet differ
Binary files old/parquet-testing-d69d979223e883faef9dc6fe3cf573087243c28a/data/byte_stream_split_extended.gzip.parquet and new/parquet-testing-74278bc4a1122d74945969e6dec405abd1533ec3/data/byte_stream_split_extended.gzip.parquet differ
++++++ pyarrow-pr41319-numpy2-tests.patch ++++++
Index: arrow-apache-arrow-16.0.0/python/pyarrow/tests/test_array.py
===================================================================
--- arrow-apache-arrow-16.0.0.orig/python/pyarrow/tests/test_array.py
+++ arrow-apache-arrow-16.0.0/python/pyarrow/tests/test_array.py
@@ -3323,7 +3323,7 @@ def test_numpy_array_protocol():
result = np.asarray(arr)
np.testing.assert_array_equal(result, expected)
- if Version(np.__version__) < Version("2.0"):
+ if Version(np.__version__) < Version("2.0.0rc1"):
# copy keyword is not strict and not passed down to __array__
result = np.array(arr, copy=False)
np.testing.assert_array_equal(result, expected)
Index: arrow-apache-arrow-16.0.0/python/pyarrow/tests/test_table.py
===================================================================
--- arrow-apache-arrow-16.0.0.orig/python/pyarrow/tests/test_table.py
+++ arrow-apache-arrow-16.0.0/python/pyarrow/tests/test_table.py
@@ -3244,7 +3244,7 @@ def test_numpy_array_protocol(constructo
table = constructor([[1, 2, 3], [4.0, 5.0, 6.0]], names=["a", "b"])
expected = np.array([[1, 4], [2, 5], [3, 6]], dtype="float64")
- if Version(np.__version__) < Version("2.0"):
+ if Version(np.__version__) < Version("2.0.0rc1"):
# copy keyword is not strict and not passed down to __array__
result = np.array(table, copy=False)
np.testing.assert_array_equal(result, expected)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package hugin for openSUSE:Factory checked in at 2024-04-25 20:50:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hugin (Old)
and /work/SRC/openSUSE:Factory/.hugin.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hugin"
Thu Apr 25 20:50:26 2024 rev:81 rq:1170139 version:2023.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/hugin/hugin.changes 2024-02-14 23:19:29.441879463 +0100
+++ /work/SRC/openSUSE:Factory/.hugin.new.1880/hugin.changes 2024-04-25 20:50:55.157886632 +0200
@@ -1,0 +2,8 @@
+Thu Apr 25 09:53:30 UTC 2024 - pgajdos(a)suse.com
+
+- fixed build with new boost [bsc#1223377]
+- added patches
+ fix deprecated boost::filesystem::copy_option enum
+ + hugin-deprecated-copy_option.patch
+
+-------------------------------------------------------------------
New:
----
hugin-deprecated-copy_option.patch
BETA DEBUG BEGIN:
New: fix deprecated boost::filesystem::copy_option enum
+ hugin-deprecated-copy_option.patch
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ hugin.spec ++++++
--- /var/tmp/diff_new_pack.fnPezo/_old 2024-04-25 20:50:55.753908279 +0200
+++ /var/tmp/diff_new_pack.fnPezo/_new 2024-04-25 20:50:55.757908425 +0200
@@ -31,6 +31,8 @@
URL: http://hugin.sourceforge.net/
Source: https://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{mversio…
Patch0: hugin.appdata.patch
+# 8684:4d081490b48a
+Patch1: hugin-deprecated-copy_option.patch
BuildRequires: Mesa-devel
BuildRequires: OpenEXR-devel
BuildRequires: cmake >= 3.1.0
++++++ hugin-deprecated-copy_option.patch ++++++
diff -r 4b55f17c4e72 -r 4d081490b48a src/hugin_base/hugin_utils/filesystem.h
--- a/src/hugin_base/hugin_utils/filesystem.h Tue Mar 12 17:27:29 2024 +0100
+++ b/src/hugin_base/hugin_utils/filesystem.h Tue Mar 12 17:27:57 2024 +0100
@@ -64,6 +64,12 @@
#endif
#include <boost/filesystem.hpp>
namespace fs = boost::filesystem;
- #define OVERWRITE_EXISTING boost::filesystem::copy_option::overwrite_if_exists
+ #if BOOST_VERSION>=107400
+ // in Boost 1.74 and later filesystem::copy_option is deprecated
+ // use filesystem::copy_options instead
+ #define OVERWRITE_EXISTING boost::filesystem::copy_options::overwrite_existing
+ #else
+ #define OVERWRITE_EXISTING boost::filesystem::copy_option::overwrite_if_exists
+ #endif
#endif
#endif // _HUGIN_UTILS_FILESYSTEM_H
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-autobahn for openSUSE:Factory checked in at 2024-04-25 20:50:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-autobahn (Old)
and /work/SRC/openSUSE:Factory/.python-autobahn.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-autobahn"
Thu Apr 25 20:50:22 2024 rev:29 rq:1170112 version:23.6.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-autobahn/python-autobahn.changes 2024-02-22 20:59:20.864988100 +0100
+++ /work/SRC/openSUSE:Factory/.python-autobahn.new.1880/python-autobahn.changes 2024-04-25 20:50:51.153741200 +0200
@@ -1,0 +2,6 @@
+Thu Apr 25 08:18:43 UTC 2024 - Daniel Garcia <daniel.garcia(a)suse.com>
+
+- Add upstream patch fix-wamp-tests.patch to make it work with modern
+ python-pytest-asyncio package gh#crossbario/autobahn-python#1631
+
+-------------------------------------------------------------------
New:
----
fix-wamp-tests.patch
BETA DEBUG BEGIN:
New:
- Add upstream patch fix-wamp-tests.patch to make it work with modern
python-pytest-asyncio package gh#crossbario/autobahn-python#1631
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-autobahn.spec ++++++
--- /var/tmp/diff_new_pack.1MPuof/_old 2024-04-25 20:50:51.853766625 +0200
+++ /var/tmp/diff_new_pack.1MPuof/_new 2024-04-25 20:50:51.857766770 +0200
@@ -31,6 +31,8 @@
Source: https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-%{versio…
Patch0: respect-cflags.patch
Patch1: intrin-arch.patch
+# PATCH-FIX-UPSTREAM fix-wamp-tests.patch gh#crossbario/autobahn-python#1634
+Patch2: fix-wamp-tests.patch
BuildRequires: %{python_module PyNaCl >= 1.4.0}
BuildRequires: %{python_module Twisted >= 20.3.0}
BuildRequires: %{python_module argon2-cffi >= 20.1.0}
++++++ fix-wamp-tests.patch ++++++
diff --git a/autobahn/wamp/test/test_wamp_component_aio.py b/autobahn/wamp/test/test_wamp_component_aio.py
index 168933ea5..2de9bf358 100644
--- a/autobahn/wamp/test/test_wamp_component_aio.py
+++ b/autobahn/wamp/test/test_wamp_component_aio.py
@@ -35,7 +35,7 @@
@pytest.mark.skipif(sys.version_info < (3, 5), reason="requires Python 3.5+")
@pytest.mark.asyncio(forbid_global_loop=True)
- def test_asyncio_component(event_loop):
+ async def test_asyncio_component(event_loop):
orig_loop = txaio.config.loop
txaio.config.loop = event_loop
@@ -72,11 +72,11 @@ def done(f):
txaio.config.loop = orig_loop
assert comp._done_f is None
f.add_done_callback(done)
- return finished
+ await finished
@pytest.mark.skipif(sys.version_info < (3, 5), reason="requires Python 3.5+")
@pytest.mark.asyncio(forbid_global_loop=True)
- def test_asyncio_component_404(event_loop):
+ async def test_asyncio_component_404(event_loop):
"""
If something connects but then gets aborted, it should still try
to re-connect (in real cases this could be e.g. wrong path,
@@ -151,4 +151,4 @@ def done(f):
finished.set_result(None)
txaio.config.loop = orig_loop
f.add_done_callback(done)
- return finished
+ await finished
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package weston for openSUSE:Factory checked in at 2024-04-25 20:50:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/weston (Old)
and /work/SRC/openSUSE:Factory/.weston.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "weston"
Thu Apr 25 20:50:20 2024 rev:34 rq:1169919 version:13.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/weston/weston.changes 2023-12-05 17:03:24.317565759 +0100
+++ /work/SRC/openSUSE:Factory/.weston.new.1880/weston.changes 2024-04-25 20:50:49.869694563 +0200
@@ -1,0 +2,8 @@
+Tue Apr 23 16:25:21 UTC 2024 - Jan Engelhardt <jengelh(a)inai.de>
+
+- Update to release 13.0.1
+ * desktop-shell: clamp view alpha correctly
+ * desktop-shell: set proper curtain size when no output is
+ created yet
+
+-------------------------------------------------------------------
Old:
----
weston-13.0.0.tar.xz
weston-13.0.0.tar.xz.sig
New:
----
weston-13.0.1.tar.xz
weston-13.0.1.tar.xz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ weston.spec ++++++
--- /var/tmp/diff_new_pack.dhHfc8/_old 2024-04-25 20:50:50.441715339 +0200
+++ /var/tmp/diff_new_pack.dhHfc8/_new 2024-04-25 20:50:50.445715484 +0200
@@ -1,7 +1,7 @@
#
# spec file for package weston
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
Name: weston
%define lname libweston0
%define major 13
-Version: 13.0.0
+Version: 13.0.1
Release: 0
Summary: Wayland Reference Compositor
License: CC-BY-SA-3.0 AND MIT
@@ -27,8 +27,8 @@
URL: https://wayland.freedesktop.org/
#Git-Clone: git://anongit.freedesktop.org/wayland/weston
#Git-Web: https://cgit.freedesktop.org/wayland/weston/
-Source: https://gitlab.freedesktop.org/wayland/weston/-/releases/%version/downloads…
-Source2: https://gitlab.freedesktop.org/wayland/weston/-/releases/%version/downloads…
+Source: https://gitlab.freedesktop.org/wayland/weston/-/releases/%version/downloads…
+Source2: https://gitlab.freedesktop.org/wayland/weston/-/releases/%version/downloads…
BuildRequires: Mesa-libGLESv3-devel
BuildRequires: gcc-c++
BuildRequires: glibc-devel >= 2.27
@@ -123,6 +123,7 @@
%autosetup -p1
%build
+# includedir intentional, cf. bugzilla.opensuse.org/795968
%meson -Ddemo-clients=false -Dremoting=false -Dsimple-clients= \
-Dtest-junit-xml=false -Dpipewire=false -Dbackend-vnc=false \
--includedir="%_includedir/%name"
@@ -145,8 +146,7 @@
popd
%endif
-%post -n libweston-%major-0 -p /sbin/ldconfig
-%postun -n libweston-%major-0 -p /sbin/ldconfig
+%ldconfig_scriptlets -n libweston-%major-0
%files
%license COPYING
++++++ weston-13.0.0.tar.xz -> weston-13.0.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/clients/desktop-shell.c new/weston-13.0.1/clients/desktop-shell.c
--- old/weston-13.0.0/clients/desktop-shell.c 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/clients/desktop-shell.c 2024-04-23 17:26:12.000000000 +0200
@@ -1586,7 +1586,7 @@
if (desktop.want_panel)
weston_desktop_shell_set_panel_position(desktop.shell, desktop.panel_position);
wl_list_for_each(output, &desktop.outputs, link)
- if (!output->panel)
+ if (!output->background)
output_init(output, &desktop);
grab_surface_create(&desktop);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/desktop-shell/shell.c new/weston-13.0.1/desktop-shell/shell.c
--- old/weston-13.0.0/desktop-shell/shell.c 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/desktop-shell/shell.c 2024-04-23 17:26:12.000000000 +0200
@@ -272,11 +272,10 @@
width = shsurf->output->width;
height = shsurf->output->height;
}
- }
-
- /* take the panels into considerations */
- if (max_requested)
+ } else if (max_requested) {
+ /* take the panels into considerations */
get_maximized_size(shsurf, &width, &height);
+ }
/* (0, 0) means we're back from one of the maximized/fullcreen states */
weston_desktop_surface_set_size(shsurf->desktop_surface, width, height);
@@ -3351,10 +3350,7 @@
return;
alpha = shsurf->view->alpha - (event->value * step);
- if (shsurf->view->alpha > 1.0)
- shsurf->view->alpha = 1.0;
- if (shsurf->view->alpha < step)
- shsurf->view->alpha = step;
+ alpha = CLIP(alpha, step, 1.0);
weston_view_set_alpha(shsurf->view, alpha);
}
@@ -3846,7 +3842,7 @@
};
struct weston_curtain *curtain;
bool first = true;
- int x1, y1, x2, y2;
+ int x1 = 0, y1 = 0, x2 = 0, y2 = 0;
wl_list_for_each(shell_output, &shell->output_list, link) {
struct weston_output *op = shell_output->output;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/include/libweston/libweston.h new/weston-13.0.1/include/libweston/libweston.h
--- old/weston-13.0.0/include/libweston/libweston.h 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/include/libweston/libweston.h 2024-04-23 17:26:12.000000000 +0200
@@ -548,7 +548,7 @@
struct weston_log_pacer pixman_overdraw_pacer;
int (*start_repaint_loop)(struct weston_output *output);
- int (*repaint)(struct weston_output *output, pixman_region32_t *damage);
+ int (*repaint)(struct weston_output *output);
void (*destroy)(struct weston_output *output);
void (*assign_planes)(struct weston_output *output);
int (*switch_mode)(struct weston_output *output, struct weston_mode *mode);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/ivi-shell/ivi-shell.c new/weston-13.0.1/ivi-shell/ivi-shell.c
--- old/weston-13.0.0/ivi-shell/ivi-shell.c 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/ivi-shell/ivi-shell.c 2024-04-23 17:26:12.000000000 +0200
@@ -220,12 +220,19 @@
static void
layout_surface_cleanup(struct ivi_shell_surface *ivisurf)
{
+ struct weston_seat *seat;
assert(ivisurf->layout_surface != NULL);
/* destroy weston_surface destroy signal. */
if (!ivisurf->layout_surface->weston_desktop_surface)
wl_list_remove(&ivisurf->surface_destroy_listener.link);
+ wl_list_for_each(seat, &ivisurf->surface->compositor->seat_list, link) {
+ struct ivi_shell_seat *shseat = get_ivi_shell_seat(seat);
+ if (shseat->focused_ivisurf == ivisurf->layout_surface)
+ shseat->focused_ivisurf = NULL;
+ }
+
ivi_layout_surface_destroy(ivisurf->layout_surface);
ivisurf->layout_surface = NULL;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/libweston/backend-drm/drm-gbm.c new/weston-13.0.1/libweston/backend-drm/drm-gbm.c
--- old/weston-13.0.0/libweston/backend-drm/drm-gbm.c 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/libweston/backend-drm/drm-gbm.c 2024-04-23 17:26:12.000000000 +0200
@@ -82,18 +82,17 @@
const struct pixel_format_info *format[3] = {
b->format,
fallback_format_for(b->format),
- NULL,
};
struct gl_renderer_display_options options = {
.egl_platform = EGL_PLATFORM_GBM_KHR,
.egl_native_display = b->gbm,
.egl_surface_type = EGL_WINDOW_BIT,
.formats = format,
- .formats_count = 2,
+ .formats_count = 1,
};
if (format[1])
- options.formats_count = 3;
+ options.formats_count = 2;
return weston_compositor_init_renderer(b->compositor,
WESTON_RENDERER_GL,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/libweston/backend-drm/drm-internal.h new/weston-13.0.1/libweston/backend-drm/drm-internal.h
--- old/weston-13.0.0/libweston/backend-drm/drm-internal.h 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/libweston/backend-drm/drm-internal.h 2024-04-23 17:26:12.000000000 +0200
@@ -965,7 +965,7 @@
drm_plane_is_available(struct drm_plane *plane, struct drm_output *output);
void
-drm_output_render(struct drm_output_state *state, pixman_region32_t *damage);
+drm_output_render(struct drm_output_state *state);
int
parse_gbm_format(const char *s, const struct pixel_format_info *default_format,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/libweston/backend-drm/drm-virtual.c new/weston-13.0.1/libweston/backend-drm/drm-virtual.c
--- old/weston-13.0.0/libweston/backend-drm/drm-virtual.c 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/libweston/backend-drm/drm-virtual.c 2024-04-23 17:26:12.000000000 +0200
@@ -202,8 +202,7 @@
}
static int
-drm_virtual_output_repaint(struct weston_output *output_base,
- pixman_region32_t *damage)
+drm_virtual_output_repaint(struct weston_output *output_base)
{
struct drm_output_state *state = NULL;
struct drm_output *output = to_drm_output(output_base);
@@ -237,7 +236,7 @@
pending_state,
DRM_OUTPUT_STATE_CLEAR_PLANES);
- drm_output_render(state, damage);
+ drm_output_render(state);
scanout_state = drm_output_state_get_plane(state, scanout_plane);
if (!scanout_state || !scanout_state->fb)
goto err;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/libweston/backend-drm/drm.c new/weston-13.0.1/libweston/backend-drm/drm.c
--- old/weston-13.0.0/libweston/backend-drm/drm.c 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/libweston/backend-drm/drm.c 2024-04-23 17:26:12.000000000 +0200
@@ -75,56 +75,78 @@
drm_backend_create_faked_zpos(struct drm_device *device)
{
struct drm_backend *b = device->backend;
- struct drm_plane *plane;
+ struct drm_plane *plane, *tmp;
+ struct wl_list tmp_list;
uint64_t zpos = 0ULL;
uint64_t zpos_min_primary;
uint64_t zpos_min_overlay;
uint64_t zpos_min_cursor;
- zpos_min_primary = zpos;
+ /* if the property is there, bail out sooner */
wl_list_for_each(plane, &device->plane_list, link) {
- /* if the property is there, bail out sooner */
if (plane->props[WDRM_PLANE_ZPOS].prop_id != 0)
return;
+ }
+
+ drm_debug(b, "[drm-backend] zpos property not found. "
+ "Using invented immutable zpos values:\n");
+
+ wl_list_init(&tmp_list);
+ wl_list_insert_list(&tmp_list, &device->plane_list);
+ wl_list_init(&device->plane_list);
+ zpos_min_primary = zpos;
+ wl_list_for_each_safe(plane, tmp, &tmp_list, link) {
if (plane->type != WDRM_PLANE_TYPE_PRIMARY)
continue;
+
+ plane->zpos_min = zpos_min_primary;
+ plane->zpos_max = zpos_min_primary;
+ wl_list_remove(&plane->link);
+ wl_list_insert(&device->plane_list, &plane->link);
zpos++;
+
+ drm_debug(b, "\t[plane] %s plane %d, zpos_min %"PRIu64", "
+ "zpos_max %"PRIu64"\n",
+ drm_output_get_plane_type_name(plane),
+ plane->plane_id, plane->zpos_min, plane->zpos_max);
}
zpos_min_overlay = zpos;
- wl_list_for_each(plane, &device->plane_list, link) {
+ wl_list_for_each_safe(plane, tmp, &tmp_list, link) {
if (plane->type != WDRM_PLANE_TYPE_OVERLAY)
continue;
+
+ plane->zpos_min = zpos_min_overlay;
+ plane->zpos_max = zpos_min_overlay;
+ wl_list_remove(&plane->link);
+ wl_list_insert(&device->plane_list, &plane->link);
zpos++;
+
+ drm_debug(b, "\t[plane] %s plane %d, zpos_min %"PRIu64", "
+ "zpos_max %"PRIu64"\n",
+ drm_output_get_plane_type_name(plane),
+ plane->plane_id, plane->zpos_min, plane->zpos_max);
}
zpos_min_cursor = zpos;
- wl_list_for_each(plane, &device->plane_list, link) {
+ wl_list_for_each_safe(plane, tmp, &tmp_list, link) {
if (plane->type != WDRM_PLANE_TYPE_CURSOR)
continue;
+
+ plane->zpos_min = zpos_min_cursor;
+ plane->zpos_max = zpos_min_cursor;
+ wl_list_remove(&plane->link);
+ wl_list_insert(&device->plane_list, &plane->link);
zpos++;
- }
- drm_debug(b, "[drm-backend] zpos property not found. "
- "Using invented immutable zpos values:\n");
- /* assume that invented zpos values are immutable */
- wl_list_for_each(plane, &device->plane_list, link) {
- if (plane->type == WDRM_PLANE_TYPE_PRIMARY) {
- plane->zpos_min = zpos_min_primary;
- plane->zpos_max = zpos_min_primary;
- } else if (plane->type == WDRM_PLANE_TYPE_OVERLAY) {
- plane->zpos_min = zpos_min_overlay;
- plane->zpos_max = zpos_min_overlay;
- } else if (plane->type == WDRM_PLANE_TYPE_CURSOR) {
- plane->zpos_min = zpos_min_cursor;
- plane->zpos_max = zpos_min_cursor;
- }
drm_debug(b, "\t[plane] %s plane %d, zpos_min %"PRIu64", "
"zpos_max %"PRIu64"\n",
drm_output_get_plane_type_name(plane),
plane->plane_id, plane->zpos_min, plane->zpos_max);
}
+
+ assert(wl_list_empty(&tmp_list));
}
static int
@@ -355,7 +377,7 @@
}
void
-drm_output_render(struct drm_output_state *state, pixman_region32_t *damage)
+drm_output_render(struct drm_output_state *state)
{
struct drm_output *output = state->output;
struct drm_device *device = output->device;
@@ -365,7 +387,7 @@
struct drm_property_info *damage_info =
&scanout_plane->props[WDRM_PLANE_FB_DAMAGE_CLIPS];
struct drm_fb *fb;
- pixman_region32_t scanout_damage;
+ pixman_region32_t damage, scanout_damage;
pixman_box32_t *rects;
int n_rects;
@@ -375,6 +397,10 @@
if (scanout_state->fb)
return;
+ pixman_region32_init(&damage);
+
+ weston_output_flush_damage_for_primary_plane(&output->base, &damage);
+
/*
* If we don't have any damage on the primary plane, and we already
* have a renderer buffer active, we can reuse it; else we pass
@@ -382,7 +408,7 @@
* area. But, we still have to call the renderer anyway if any screen
* capture is pending, otherwise the capture will not complete.
*/
- if (!pixman_region32_not_empty(damage) &&
+ if (!pixman_region32_not_empty(&damage) &&
wl_list_empty(&output->base.frame_signal.listener_list) &&
!weston_output_has_renderer_capture_tasks(&output->base) &&
scanout_plane->state_cur->fb &&
@@ -390,14 +416,14 @@
scanout_plane->state_cur->fb->type == BUFFER_PIXMAN_DUMB)) {
fb = drm_fb_ref(scanout_plane->state_cur->fb);
} else if (c->renderer->type == WESTON_RENDERER_PIXMAN) {
- fb = drm_output_render_pixman(state, damage);
+ fb = drm_output_render_pixman(state, &damage);
} else {
- fb = drm_output_render_gl(state, damage);
+ fb = drm_output_render_gl(state, &damage);
}
if (!fb) {
drm_plane_state_put_back(scanout_state);
- return;
+ goto out;
}
scanout_state->fb = fb;
@@ -417,13 +443,13 @@
/* Don't bother calculating plane damage if the plane doesn't support it */
if (damage_info->prop_id == 0)
- return;
+ goto out;
pixman_region32_init(&scanout_damage);
weston_region_global_to_output(&scanout_damage,
&output->base,
- damage);
+ &damage);
assert(scanout_state->damage_blob_id == 0);
@@ -440,6 +466,8 @@
&scanout_state->damage_blob_id);
pixman_region32_fini(&scanout_damage);
+out:
+ pixman_region32_fini(&damage);
}
static uint32_t
@@ -651,7 +679,7 @@
#endif
static int
-drm_output_repaint(struct weston_output *output_base, pixman_region32_t *damage)
+drm_output_repaint(struct weston_output *output_base)
{
struct drm_output *output = to_drm_output(output_base);
struct drm_output_state *state = NULL;
@@ -718,7 +746,7 @@
if (device->atomic_modeset)
drm_output_pick_writeback_capture_task(output);
- drm_output_render(state, damage);
+ drm_output_render(state);
scanout_state = drm_output_state_get_plane(state,
output->scanout_plane);
if (!scanout_state || !scanout_state->fb)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/libweston/backend-drm/state-propose.c new/weston-13.0.1/libweston/backend-drm/state-propose.c
--- old/weston-13.0.0/libweston/backend-drm/state-propose.c 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/libweston/backend-drm/state-propose.c 2024-04-23 17:26:12.000000000 +0200
@@ -508,6 +508,7 @@
/* if the view covers the whole output, put it in the
* scanout plane, not overlay */
if (view_matches_entire_output &&
+ weston_view_is_opaque(ev, &ev->transform.boundingbox) &&
!scanout_has_view_assigned)
continue;
break;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/libweston/backend-headless/headless.c new/weston-13.0.1/libweston/backend-headless/headless.c
--- old/weston-13.0.0/libweston/backend-headless/headless.c 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/libweston/backend-headless/headless.c 2024-04-23 17:26:12.000000000 +0200
@@ -152,11 +152,11 @@
}
static int
-headless_output_repaint(struct weston_output *output_base,
- pixman_region32_t *damage)
+headless_output_repaint(struct weston_output *output_base)
{
struct headless_output *output = to_headless_output(output_base);
struct weston_compositor *ec;
+ pixman_region32_t damage;
assert(output);
@@ -164,9 +164,15 @@
headless_output_update_gl_border(output);
- ec->renderer->repaint_output(&output->base, damage,
+ pixman_region32_init(&damage);
+
+ weston_output_flush_damage_for_primary_plane(output_base, &damage);
+
+ ec->renderer->repaint_output(&output->base, &damage,
output->renderbuffer);
+ pixman_region32_fini(&damage);
+
wl_event_source_timer_update(output->finish_frame_timer, 16);
return 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/libweston/backend-pipewire/pipewire.c new/weston-13.0.1/libweston/backend-pipewire/pipewire.c
--- old/weston-13.0.0/libweston/backend-pipewire/pipewire.c 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/libweston/backend-pipewire/pipewire.c 2024-04-23 17:26:12.000000000 +0200
@@ -725,19 +725,24 @@
}
static int
-pipewire_output_repaint(struct weston_output *base, pixman_region32_t *damage)
+pipewire_output_repaint(struct weston_output *base)
{
struct pipewire_output *output = to_pipewire_output(base);
struct weston_compositor *ec = output->base.compositor;
struct pw_buffer *buffer;
struct pipewire_frame_data *frame_data;
+ pixman_region32_t damage;
assert(output);
+ pixman_region32_init(&damage);
+
if (pw_stream_get_state(output->stream, NULL) != PW_STREAM_STATE_STREAMING)
goto out;
- if (!pixman_region32_not_empty(damage))
+ weston_output_flush_damage_for_primary_plane(base, &damage);
+
+ if (!pixman_region32_not_empty(&damage))
goto out;
buffer = pw_stream_dequeue_buffer(output->stream);
@@ -748,12 +753,14 @@
pipewire_output_debug(output, "dequeued buffer: %p", buffer);
frame_data = buffer->user_data;
- ec->renderer->repaint_output(&output->base, damage, frame_data->renderbuffer);
+ ec->renderer->repaint_output(&output->base, &damage, frame_data->renderbuffer);
pipewire_submit_buffer(output, buffer);
out:
+ pixman_region32_fini(&damage);
+
weston_output_arm_frame_timer(base, output->finish_frame_timer);
return 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/libweston/backend-rdp/rdp.c new/weston-13.0.1/libweston/backend-rdp/rdp.c
--- old/weston-13.0.0/libweston/backend-rdp/rdp.c 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/libweston/backend-rdp/rdp.c 2024-04-23 17:26:12.000000000 +0200
@@ -272,24 +272,29 @@
}
static int
-rdp_output_repaint(struct weston_output *output_base, pixman_region32_t *damage)
+rdp_output_repaint(struct weston_output *output_base)
{
struct rdp_output *output = container_of(output_base, struct rdp_output, base);
struct weston_compositor *ec = output->base.compositor;
struct rdp_backend *b = output->backend;
struct rdp_peers_item *peer;
+ pixman_region32_t damage;
assert(output);
- ec->renderer->repaint_output(&output->base, damage,
+ pixman_region32_init(&damage);
+
+ weston_output_flush_damage_for_primary_plane(output_base, &damage);
+
+ ec->renderer->repaint_output(&output->base, &damage,
output->renderbuffer);
- if (pixman_region32_not_empty(damage)) {
+ if (pixman_region32_not_empty(&damage)) {
pixman_region32_t transformed_damage;
pixman_region32_init(&transformed_damage);
weston_region_global_to_output(&transformed_damage,
output_base,
- damage);
+ &damage);
wl_list_for_each(peer, &b->peers, link) {
if ((peer->flags & RDP_PEER_ACTIVATED) &&
(peer->flags & RDP_PEER_OUTPUT_ENABLED)) {
@@ -299,6 +304,8 @@
pixman_region32_fini(&transformed_damage);
}
+ pixman_region32_fini(&damage);
+
weston_output_arm_frame_timer(output_base, output->finish_frame_timer);
return 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/libweston/backend-vnc/vnc.c new/weston-13.0.1/libweston/backend-vnc/vnc.c
--- old/weston-13.0.0/libweston/backend-vnc/vnc.c 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/libweston/backend-vnc/vnc.c 2024-04-23 17:26:12.000000000 +0200
@@ -1004,10 +1004,11 @@
}
static int
-vnc_output_repaint(struct weston_output *base, pixman_region32_t *damage)
+vnc_output_repaint(struct weston_output *base)
{
struct vnc_output *output = to_vnc_output(base);
struct vnc_backend *backend = output->backend;
+ pixman_region32_t damage;
assert(output);
@@ -1016,10 +1017,16 @@
vnc_output_update_cursor(output);
- if (pixman_region32_not_empty(damage)) {
- vnc_update_buffer(output->display, damage);
+ pixman_region32_init(&damage);
+
+ weston_output_flush_damage_for_primary_plane(base, &damage);
+
+ if (pixman_region32_not_empty(&damage)) {
+ vnc_update_buffer(output->display, &damage);
}
+ pixman_region32_fini(&damage);
+
/*
* Make sure damage of this (or previous) damage is handled
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/libweston/backend-wayland/wayland.c new/weston-13.0.1/libweston/backend-wayland/wayland.c
--- old/weston-13.0.0/libweston/backend-wayland/wayland.c 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/libweston/backend-wayland/wayland.c 2024-04-23 17:26:12.000000000 +0200
@@ -498,22 +498,28 @@
#ifdef ENABLE_EGL
static int
-wayland_output_repaint_gl(struct weston_output *output_base,
- pixman_region32_t *damage)
+wayland_output_repaint_gl(struct weston_output *output_base)
{
struct wayland_output *output = to_wayland_output(output_base);
struct weston_compositor *ec;
+ pixman_region32_t damage;
assert(output);
ec = output->base.compositor;
+ pixman_region32_init(&damage);
+
+ weston_output_flush_damage_for_primary_plane(output_base, &damage);
+
output->frame_cb = wl_surface_frame(output->parent.surface);
wl_callback_add_listener(output->frame_cb, &frame_listener, output);
wayland_output_update_gl_border(output);
- ec->renderer->repaint_output(&output->base, damage, NULL);
+ ec->renderer->repaint_output(&output->base, &damage, NULL);
+
+ pixman_region32_fini(&damage);
return 0;
}
@@ -604,17 +610,21 @@
}
static int
-wayland_output_repaint_pixman(struct weston_output *output_base,
- pixman_region32_t *damage)
+wayland_output_repaint_pixman(struct weston_output *output_base)
{
struct wayland_output *output = to_wayland_output(output_base);
struct wayland_backend *b;
struct wayland_shm_buffer *sb;
+ pixman_region32_t damage;
assert(output);
b = output->backend;
+ pixman_region32_init(&damage);
+
+ weston_output_flush_damage_for_primary_plane(output_base, &damage);
+
if (output->frame) {
if (frame_status(output->frame) & FRAME_STATUS_REPAINT)
wl_list_for_each(sb, &output->shm.buffers, link)
@@ -624,10 +634,12 @@
sb = wayland_output_get_shm_buffer(output);
wayland_output_update_shm_border(sb);
- b->compositor->renderer->repaint_output(output_base, damage,
+ b->compositor->renderer->repaint_output(output_base, &damage,
sb->renderbuffer);
- wayland_shm_buffer_attach(sb, damage);
+ wayland_shm_buffer_attach(sb, &damage);
+
+ pixman_region32_fini(&damage);
output->frame_cb = wl_surface_frame(output->parent.surface);
wl_callback_add_listener(output->frame_cb, &frame_listener, output);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/libweston/backend-x11/x11.c new/weston-13.0.1/libweston/backend-x11/x11.c
--- old/weston-13.0.0/libweston/backend-x11/x11.c 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/libweston/backend-x11/x11.c 2024-04-23 17:26:12.000000000 +0200
@@ -429,17 +429,23 @@
}
static int
-x11_output_repaint_gl(struct weston_output *output_base,
- pixman_region32_t *damage)
+x11_output_repaint_gl(struct weston_output *output_base)
{
struct x11_output *output = to_x11_output(output_base);
struct weston_compositor *ec;
+ pixman_region32_t damage;
assert(output);
ec = output->base.compositor;
- ec->renderer->repaint_output(output_base, damage, NULL);
+ pixman_region32_init(&damage);
+
+ weston_output_flush_damage_for_primary_plane(output_base, &damage);
+
+ ec->renderer->repaint_output(output_base, &damage, NULL);
+
+ pixman_region32_fini(&damage);
weston_output_arm_frame_timer(output_base, output->finish_frame_timer);
return 0;
@@ -498,8 +504,7 @@
static int
-x11_output_repaint_shm(struct weston_output *output_base,
- pixman_region32_t *damage)
+x11_output_repaint_shm(struct weston_output *output_base)
{
struct x11_output *output = to_x11_output(output_base);
const struct weston_renderer *renderer;
@@ -508,6 +513,7 @@
struct x11_backend *b;
xcb_void_cookie_t cookie;
xcb_generic_error_t *err;
+ pixman_region32_t damage;
assert(output);
@@ -517,9 +523,16 @@
image = renderer->pixman->renderbuffer_get_image(output->renderbuffer);
- ec->renderer->repaint_output(output_base, damage, output->renderbuffer);
+ pixman_region32_init(&damage);
+
+ weston_output_flush_damage_for_primary_plane(output_base, &damage);
+
+ ec->renderer->repaint_output(output_base, &damage, output->renderbuffer);
+
+ set_clip_for_output(output_base, &damage);
+
+ pixman_region32_fini(&damage);
- set_clip_for_output(output_base, damage);
cookie = xcb_shm_put_image_checked(b->conn, output->window, output->gc,
pixman_image_get_width(image),
pixman_image_get_height(image),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/libweston/backend.h new/weston-13.0.1/libweston/backend.h
--- old/weston-13.0.0/libweston/backend.h 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/libweston/backend.h 2024-04-23 17:26:12.000000000 +0200
@@ -327,4 +327,8 @@
struct weston_plane *plane,
pixman_region32_t *damage);
+void
+weston_output_flush_damage_for_primary_plane(struct weston_output *output,
+ pixman_region32_t *damage);
+
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/libweston/compositor.c new/weston-13.0.1/libweston/compositor.c
--- old/weston-13.0.0/libweston/compositor.c 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/libweston/compositor.c 2024-04-23 17:26:12.000000000 +0200
@@ -3378,6 +3378,12 @@
continue;
changed = true;
+ /* We can safely clip paint node damage to visible region
+ * here, as we're only dealing with nodes on this output,
+ * and the visibility regions for paint nodes on this
+ * output are up to date.
+ */
+ pixman_region32_intersect(&pnode->damage, &pnode->damage, &pnode->visible);
pixman_region32_union(damage, damage, &pnode->damage);
pixman_region32_clear(&pnode->damage);
}
@@ -3385,6 +3391,20 @@
return changed;
}
+WL_EXPORT void
+weston_output_flush_damage_for_primary_plane(struct weston_output *output,
+ pixman_region32_t *damage)
+{
+ weston_output_flush_damage_for_plane(output,
+ &output->primary_plane,
+ damage);
+
+ if (output->full_repaint_needed) {
+ pixman_region32_copy(damage, &output->region);
+ output->full_repaint_needed = false;
+ }
+}
+
static int
weston_output_repaint(struct weston_output *output)
{
@@ -3393,7 +3413,6 @@
struct weston_animation *animation, *next;
struct wl_resource *cb, *cnext;
struct wl_list frame_callback_list;
- pixman_region32_t output_damage;
int r;
uint32_t frame_time_msec;
enum weston_hdcp_protection highest_requested = WESTON_HDCP_DISABLE;
@@ -3465,19 +3484,7 @@
output_accumulate_damage(output);
- pixman_region32_init(&output_damage);
-
- weston_output_flush_damage_for_plane(output, &output->primary_plane,
- &output_damage);
-
- if (output->full_repaint_needed) {
- pixman_region32_copy(&output_damage, &output->region);
- output->full_repaint_needed = false;
- }
-
- r = output->repaint(output, &output_damage);
-
- pixman_region32_fini(&output_damage);
+ r = output->repaint(output);
output->repaint_needed = false;
if (r == 0)
@@ -3844,17 +3851,10 @@
struct weston_layer_entry *layer)
{
bool was_mapped = view->is_mapped;
- struct weston_paint_node *pnode, *pntmp;
if (layer == &view->layer_link)
return;
- /* Remove all paint nodes because we have no idea what a layer change
- * does to view visibility on any output.
- */
- wl_list_for_each_safe(pnode, pntmp, &view->paint_node_list, view_link)
- weston_paint_node_destroy(pnode);
-
view->surface->compositor->view_list_needs_rebuild = true;
/* Damage the view's old region, and remove it from the layer. */
@@ -3884,6 +3884,18 @@
WL_EXPORT void
weston_layer_entry_remove(struct weston_layer_entry *entry)
{
+ struct weston_paint_node *pnode, *pntmp;
+ struct weston_view *view;
+
+ /* Remove all paint nodes because we have no idea what a layer change
+ * does to view visibility on any output.
+ */
+ view = container_of(entry, struct weston_view, layer_link);
+ view->surface->compositor->view_list_needs_rebuild = true;
+
+ wl_list_for_each_safe(pnode, pntmp, &view->paint_node_list, view_link)
+ weston_paint_node_destroy(pnode);
+
wl_list_remove(&entry->link);
wl_list_init(&entry->link);
entry->layer = NULL;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/libweston/desktop/seat.c new/weston-13.0.1/libweston/desktop/seat.c
--- old/weston-13.0.0/libweston/desktop/seat.c 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/libweston/desktop/seat.c 2024-04-23 17:26:12.000000000 +0200
@@ -532,6 +532,9 @@
wl_list_insert(&seat->popup_grab.surfaces, link);
+ if (!seat->popup_grab.keyboard.keyboard)
+ return;
+
desktop_surface =
weston_desktop_seat_popup_grab_get_topmost_surface(seat);
surface = weston_desktop_surface_get_surface(desktop_surface);
@@ -552,6 +555,9 @@
struct weston_desktop_surface *desktop_surface;
struct weston_surface *surface;
+ if (!seat->popup_grab.keyboard.keyboard)
+ return;
+
desktop_surface =
weston_desktop_seat_popup_grab_get_topmost_surface(seat);
surface = weston_desktop_surface_get_surface(desktop_surface);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/libweston/desktop/surface.c new/weston-13.0.1/libweston/desktop/surface.c
--- old/weston-13.0.0/libweston/desktop/surface.c 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/libweston/desktop/surface.c 2024-04-23 17:26:12.000000000 +0200
@@ -892,6 +892,8 @@
{
struct weston_desktop_surface *child;
- wl_list_for_each(child, &surface->children_list, children_link)
- callback(child, user_data);
+ wl_list_for_each(child, &surface->children_list, children_link) {
+ if (weston_desktop_surface_get_user_data(child))
+ callback(child, user_data);
+ }
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/libweston/renderer-gl/gl-renderer.c new/weston-13.0.1/libweston/renderer-gl/gl-renderer.c
--- old/weston-13.0.0/libweston/renderer-gl/gl-renderer.c 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/libweston/renderer-gl/gl-renderer.c 2024-04-23 17:26:12.000000000 +0200
@@ -2021,30 +2021,35 @@
if (rb->pixels) {
uint32_t *pixels = rb->pixels;
- int stride = go->fb_size.width;
- pixman_box32_t *extents = &rb->base.damage.extents;
+ int width = go->fb_size.width;
+ int stride = width * (compositor->read_format->bpp >> 3);
+ pixman_box32_t extents;
struct weston_geometry rect = {
.x = go->area.x,
.width = go->area.width,
};
+ extents = weston_matrix_transform_rect(&output->matrix,
+ rb->base.damage.extents);
+
if (gr->fan_debug) {
rect.y = go->fb_size.height - go->area.y - go->area.height;
rect.height = go->area.height;
} else {
- rect.y = go->fb_size.height - go->area.y - extents->y2;
- rect.height = extents->y2 - extents->y1;
- pixels += rect.width * (extents->y1 - (int)output->pos.c.y);
+ rect.y = go->fb_size.height - go->area.y - extents.y2;
+ rect.height = extents.y2 - extents.y1;
+ pixels += rect.width * extents.y1;
}
if (gr->gl_version >= gr_gl_version(3, 0) && ! gr->fan_debug) {
- glPixelStorei(GL_PACK_ROW_LENGTH, stride);
- rect.width = extents->x2 - extents->x1;
- rect.x += extents->x1 - (int)output->pos.c.x;
- pixels += extents->x1 - (int)output->pos.c.x;
+ glPixelStorei(GL_PACK_ROW_LENGTH, width);
+ rect.width = extents.x2 - extents.x1;
+ rect.x += extents.x1;
+ pixels += extents.x1;
}
- gl_renderer_do_read_pixels(gr, compositor->read_format, pixels, stride, &rect);
+ gl_renderer_do_read_pixels(gr, compositor->read_format, pixels,
+ stride, &rect);
if (gr->gl_version >= gr_gl_version(3, 0))
glPixelStorei(GL_PACK_ROW_LENGTH, 0);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-13.0.0/meson.build new/weston-13.0.1/meson.build
--- old/weston-13.0.0/meson.build 2023-11-27 19:01:53.000000000 +0100
+++ new/weston-13.0.1/meson.build 2024-04-23 17:26:12.000000000 +0200
@@ -1,6 +1,6 @@
project('weston',
'c',
- version: '13.0.0',
+ version: '13.0.1',
default_options: [
'warning_level=3',
'c_std=gnu99',
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libmsiecf for openSUSE:Factory checked in at 2024-04-25 20:50:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libmsiecf (Old)
and /work/SRC/openSUSE:Factory/.libmsiecf.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmsiecf"
Thu Apr 25 20:50:18 2024 rev:25 rq:1170109 version:20240425
Changes:
--------
--- /work/SRC/openSUSE:Factory/libmsiecf/libmsiecf.changes 2024-02-09 23:54:31.899745868 +0100
+++ /work/SRC/openSUSE:Factory/.libmsiecf.new.1880/libmsiecf.changes 2024-04-25 20:50:47.885622500 +0200
@@ -1,0 +2,6 @@
+Thu Apr 25 08:01:02 UTC 2024 - Jan Engelhardt <jengelh(a)inai.de>
+
+- Update to release 20240425
+ * No changelog was provided
+
+-------------------------------------------------------------------
Old:
----
libmsiecf-alpha-20240209.tar.gz
libmsiecf-alpha-20240209.tar.gz.asc
New:
----
libmsiecf-alpha-20240425.tar.gz
libmsiecf-alpha-20240425.tar.gz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libmsiecf.spec ++++++
--- /var/tmp/diff_new_pack.bO1QT6/_old 2024-04-25 20:50:48.601648507 +0200
+++ /var/tmp/diff_new_pack.bO1QT6/_new 2024-04-25 20:50:48.601648507 +0200
@@ -18,35 +18,35 @@
Name: libmsiecf
%define lname libmsiecf1
-Version: 20240209
+Version: 20240425
Release: 0
Summary: Library to parse MS Internet Explorer Cache Files
License: GFDL-1.3-or-later AND LGPL-3.0-or-later
Group: Productivity/File utilities
URL: https://github.com/libyal/libmsiecf
-Source: https://github.com/libyal/libmsiecf/releases/download/%version/libmsiecf-al…
-Source2: https://github.com/libyal/libmsiecf/releases/download/%version/libmsiecf-al…
+Source: https://github.com/libyal/libmsiecf/releases/download/%version/%name-alpha-…
+Source2: https://github.com/libyal/libmsiecf/releases/download/%version/%name-alpha-…
Source3: %name.keyring
Source8: MSIE_Cache_File_index.dat_format.pdf
-BuildRequires: %{python_module devel}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %python_module devel
+BuildRequires: %python_module setuptools
BuildRequires: c_compiler
BuildRequires: pkg-config
BuildRequires: python-rpm-macros
-BuildRequires: pkgconfig(libbfio) >= 20221025
-BuildRequires: pkgconfig(libcdata) >= 20240103
-BuildRequires: pkgconfig(libcerror) >= 20240101
-BuildRequires: pkgconfig(libcfile) >= 20240106
-BuildRequires: pkgconfig(libclocale) >= 20240107
-BuildRequires: pkgconfig(libcnotify) >= 20240108
-BuildRequires: pkgconfig(libcpath) >= 20240109
-BuildRequires: pkgconfig(libcsplit) >= 20240110
-BuildRequires: pkgconfig(libcthreads) >= 20240102
-BuildRequires: pkgconfig(libfdatetime) >= 20240115
-BuildRequires: pkgconfig(libfguid) >= 20240116
-BuildRequires: pkgconfig(libfole) >= 20240119
-BuildRequires: pkgconfig(libfvalue) >= 20240124
-BuildRequires: pkgconfig(libuna) >= 20240130
+BuildRequires: pkgconfig(libbfio) >= 20240414
+BuildRequires: pkgconfig(libcdata) >= 20240414
+BuildRequires: pkgconfig(libcerror) >= 20240413
+BuildRequires: pkgconfig(libcfile) >= 20240414
+BuildRequires: pkgconfig(libclocale) >= 20240414
+BuildRequires: pkgconfig(libcnotify) >= 20240414
+BuildRequires: pkgconfig(libcpath) >= 20240414
+BuildRequires: pkgconfig(libcsplit) >= 20240414
+BuildRequires: pkgconfig(libcthreads) >= 20240413
+BuildRequires: pkgconfig(libfdatetime) >= 20240415
+BuildRequires: pkgconfig(libfguid) >= 20240415
+BuildRequires: pkgconfig(libfole) >= 20240416
+BuildRequires: pkgconfig(libfvalue) >= 20240415
+BuildRequires: pkgconfig(libuna) >= 20240414
%python_subpackages
# Various notes: https://en.opensuse.org/libyal
@@ -102,8 +102,7 @@
mv %_builddir/rt/* %buildroot/
find %buildroot -type f -name "*.la" -delete -print
-%post -n %lname -p /sbin/ldconfig
-%postun -n %lname -p /sbin/ldconfig
+%ldconfig_scriptlets -n %lname
%files -n %lname
%license COPYING*
++++++ libmsiecf-alpha-20240209.tar.gz -> libmsiecf-alpha-20240425.tar.gz ++++++
++++ 4949 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package taskwarrior for openSUSE:Factory checked in at 2024-04-25 20:50:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/taskwarrior (Old)
and /work/SRC/openSUSE:Factory/.taskwarrior.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "taskwarrior"
Thu Apr 25 20:50:15 2024 rev:24 rq:1170108 version:3.0.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/taskwarrior/taskwarrior.changes 2024-02-21 18:02:05.331617257 +0100
+++ /work/SRC/openSUSE:Factory/.taskwarrior.new.1880/taskwarrior.changes 2024-04-25 20:50:45.401532278 +0200
@@ -1,0 +2,33 @@
+Wed Apr 24 22:20:30 UTC 2024 - Joshua Smith <smolsheep(a)opensuse.org>
+
+- Updated task-skip-INSTALL.patch to current CMakeLists.txt
+- Add _service file and vendor the new rust dependencies
+- Remove unneeded __TIME__/__DATE__ replacement (Fixed in PR#2494)
+- Update to 3.0.2:
+ * Fix an accidentally-included debug print which polluted output
+ of reports with the Taskwarrior version
+ * Fix an error in creation of the 3.0.0 tarball which caused
+ builds to fail
+ * Improvements to `task news`, including notes for the 3.0.0
+ release
+ * Minor improvements to documentation and error handling
+ * Fix incorrect task ID of 0 when using hooks
+ * Issue a warning if .data files remain
+ * [BREAKING CHANGE] the sync functionality has been rewritten
+ entirely, and no longer supports taskserver/taskd. Instead, the
+ recommended solution is a cloud-storage backend, although
+ `taskchampion-sync-server` is also available.
+ * The Taskwarrior build no longer requires GnuTLS. The build
+ option `ENABLE_SYNC=OFF` is also no longer supported; sync
+ support is always built in.
+ * Fix urgency inheritance for negative-urgency tasks.
+ * `task show` now shows `hooks.location.
+ * Fix leading space before urgency value in `task info`.
+ * Fix formatting of countdown-style dates
+ * Fix issue with filter not applied correctly during `task _tags`
+ command
+ * Parsing of timestamp values now uses 64-bit integers, avoiding
+ issues in the year 2032.
+ * Fix fish completion.
+
+-------------------------------------------------------------------
Old:
----
task-2.6.2.tar.gz
New:
----
_service
task-3.0.2.tar.gz
vendor.tar.zst
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ taskwarrior.spec ++++++
--- /var/tmp/diff_new_pack.IkSivK/_old 2024-04-25 20:50:46.605576009 +0200
+++ /var/tmp/diff_new_pack.IkSivK/_new 2024-04-25 20:50:46.609576154 +0200
@@ -17,13 +17,14 @@
Name: taskwarrior
-Version: 2.6.2
+Version: 3.0.2
Release: 0
Summary: Command-line todo list manager
License: MIT
Group: Productivity/Office/Organizers
URL: https://taskwarrior.org/
-Source0: https://taskwarrior.org/download/task-%{version}.tar.gz
+Source0: https://github.com/GothenburgBitFactory/%{name}/releases/download/v%{versio…
+Source1: vendor.tar.zst
#PATCH-FIX-OPENSUSE: skip the INSTALL and LICENSE from files intended for the installation
Patch0: task-skip-INSTALL.patch
BuildRequires: awk
@@ -32,10 +33,9 @@
BuildRequires: cmake >= 2.8
BuildRequires: coreutils
BuildRequires: gcc-c++
-BuildRequires: gnutls-devel
# for sync
-BuildRequires: libgnutls-devel
BuildRequires: libuuid-devel
+BuildRequires: cargo-packaging
BuildRequires: vim-base
BuildRequires: zsh
# use the name as other distributions, so
@@ -52,18 +52,10 @@
often for updates.
%prep
-%autosetup -p1 -n task-%{version}
-
-# replace __TIME__/__DATE__ with values from source code tarball
-DATE=$(/bin/date -r "%{SOURCE0}" | awk '{print $2" "$3" "$6}')
-TIME=$(/bin/date -r "%{SOURCE0}" | awk '{print $4}')
-sed -i src/commands/CmdDiagnostics.cpp \
- -e "s/__TIME__/\"${TIME}\"/" \
- -e "s/__DATE__/\"${DATE}\"/"
+%autosetup -a1 -p1 -n task-%{version}
%build
-%cmake -DENABLE_SYNC:BOOL=ON \
- -DTASK_DOCDIR:PATH=%{_docdir}/task \
+%cmake -DTASK_DOCDIR:PATH=%{_docdir}/task \
-DTASK_MAN1DIR:PATH=%{_mandir}/man1/ \
-DBUILD_SHARED_LIBS:BOOL=OFF \
-DBUILD_STATIC_LIBS:BOOL=OFF \
++++++ _service ++++++
<services>
<service name="download_files" mode="manual"/>
<service name="cargo_vendor" mode="manual">
<param name="src">task-*.tar.gz</param>
<param name="compression">zst</param>
<param name="update">true</param>
</service>
</services>
++++++ task-2.6.2.tar.gz -> task-3.0.2.tar.gz ++++++
++++ 38485 lines of diff (skipped)
++++++ task-skip-INSTALL.patch ++++++
--- /var/tmp/diff_new_pack.IkSivK/_old 2024-04-25 20:50:47.029591409 +0200
+++ /var/tmp/diff_new_pack.IkSivK/_new 2024-04-25 20:50:47.033591555 +0200
@@ -2,12 +2,12 @@
===================================================================
--- task-2.5.1.orig/CMakeLists.txt
+++ task-2.5.1/CMakeLists.txt
-@@ -193,7 +193,7 @@ if (EXISTS performance)
+@@ -152,7 +152,7 @@ if (EXISTS performance)
add_subdirectory (performance EXCLUDE_FROM_ALL)
endif (EXISTS performance)
--set (doc_FILES NEWS ChangeLog README.md INSTALL AUTHORS COPYING LICENSE)
-+set (doc_FILES NEWS ChangeLog README.md AUTHORS COPYING)
+-set (doc_FILES ChangeLog README.md INSTALL AUTHORS COPYING LICENSE)
++set (doc_FILES ChangeLog README.md AUTHORS COPYING LICENSE)
foreach (doc_FILE ${doc_FILES})
install (FILES ${doc_FILE} DESTINATION ${TASK_DOCDIR})
endforeach (doc_FILE)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package glab for openSUSE:Factory checked in at 2024-04-25 20:50:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glab (Old)
and /work/SRC/openSUSE:Factory/.glab.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glab"
Thu Apr 25 20:50:11 2024 rev:26 rq:1170106 version:1.40.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/glab/glab.changes 2024-04-19 19:21:52.000348543 +0200
+++ /work/SRC/openSUSE:Factory/.glab.new.1880/glab.changes 2024-04-25 20:50:43.321456729 +0200
@@ -1,0 +2,17 @@
+Thu Apr 25 05:13:51 UTC 2024 - opensuse_buildservice(a)ojkastl.de
+
+- Update to version 1.40.0:
+ * feat: allow to provide custom client-id
+ * chore(deps): Update retry-go dependency
+ * feat(release): support `direct_asset_path` and alias `filepath`
+ * chore(ci): remove deprecated
+ Jobs/License-Scanning.latest.gitlab-ci.yml
+ * fix(docs): w/o issue-no, the example will fail
+ * chore(docs): update dependencies for commit-lint script
+ * chore: run tests with Go 1.22
+ * feat: Create a job artifact command
+ * test: fix issue with environment variables being set
+ * chore(deps): update github.com/xanzy/go-gitlab to v0.103.0
+ * docs(config): update editor and browser config docs
+
+-------------------------------------------------------------------
Old:
----
glab-1.39.0.obscpio
New:
----
glab-1.40.0.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ glab.spec ++++++
--- /var/tmp/diff_new_pack.XPljoj/_old 2024-04-25 20:50:44.637504528 +0200
+++ /var/tmp/diff_new_pack.XPljoj/_new 2024-04-25 20:50:44.641504673 +0200
@@ -20,7 +20,7 @@
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
Name: glab
-Version: 1.39.0
+Version: 1.40.0
Release: 0
Summary: A GitLab command line tool
License: MIT
++++++ _service ++++++
--- /var/tmp/diff_new_pack.XPljoj/_old 2024-04-25 20:50:44.689506416 +0200
+++ /var/tmp/diff_new_pack.XPljoj/_new 2024-04-25 20:50:44.693506562 +0200
@@ -2,7 +2,7 @@
<service name="obs_scm" mode="manual">
<param name="url">https://gitlab.com/gitlab-org/cli.git</param>
<param name="scm">git</param>
- <param name="revision">v1.39.0</param>
+ <param name="revision">v1.40.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="filename">glab</param>
@@ -15,7 +15,7 @@
<param name="compression">gz</param>
</service>
<service name="go_modules" mode="manual">
- <param name="archive">glab-1.39.0.obscpio</param>
+ <param name="archive">glab-1.40.0.obscpio</param>
</service>
</services>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.XPljoj/_old 2024-04-25 20:50:44.721507579 +0200
+++ /var/tmp/diff_new_pack.XPljoj/_new 2024-04-25 20:50:44.725507724 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://gitlab.com/gitlab-org/cli.git</param>
- <param name="changesrevision">0a1bdd618fe1b70d2a215d88a68567a4e566bf5f</param></service></servicedata>
+ <param name="changesrevision">9ed43f6507f1214b165fcb79f88e5e503f4a3539</param></service></servicedata>
(No newline at EOF)
++++++ glab-1.39.0.obscpio -> glab-1.40.0.obscpio ++++++
/work/SRC/openSUSE:Factory/glab/glab-1.39.0.obscpio /work/SRC/openSUSE:Factory/.glab.new.1880/glab-1.40.0.obscpio differ: char 50, line 1
++++++ glab.obsinfo ++++++
--- /var/tmp/diff_new_pack.XPljoj/_old 2024-04-25 20:50:44.773509468 +0200
+++ /var/tmp/diff_new_pack.XPljoj/_new 2024-04-25 20:50:44.777509613 +0200
@@ -1,5 +1,5 @@
name: glab
-version: 1.39.0
-mtime: 1713462951
-commit: 0a1bdd618fe1b70d2a215d88a68567a4e566bf5f
+version: 1.40.0
+mtime: 1713986832
+commit: 9ed43f6507f1214b165fcb79f88e5e503f4a3539
++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/glab/vendor.tar.gz /work/SRC/openSUSE:Factory/.glab.new.1880/vendor.tar.gz differ: char 5, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package teleport for openSUSE:Factory checked in at 2024-04-25 20:49:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/teleport (Old)
and /work/SRC/openSUSE:Factory/.teleport.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "teleport"
Thu Apr 25 20:49:51 2024 rev:99 rq:1170105 version:15.2.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/teleport/teleport.changes 2024-04-14 12:25:21.763193372 +0200
+++ /work/SRC/openSUSE:Factory/.teleport.new.1880/teleport.changes 2024-04-25 20:50:22.796710049 +0200
@@ -1,0 +2,53 @@
+Thu Apr 25 05:34:37 UTC 2024 - Johannes Kastl <opensuse_buildservice(a)ojkastl.de>
+
+- update to 15.2.4 (skipping non-existing release 15.2.3):
+ * Fixed a deprecation warning being shown when tbot is used with
+ OpenSSH. #40837
+ * Added a new Audit log event that is emitted when an Agent or
+ Bot request to join the cluster is denied. #40814
+ * Fixed regenerating cloud account recovery codes. #40786
+ * Changed UI for the sign-up and authentication reset flows.
+ #40773
+ * Added a new Prometheus metric to track requests initiated by
+ Teleport against the control plane API. #40754
+ * Fixed an issue that prevented uploading a zip file larger than
+ 10MiB when updating an AWS Lambda function via tsh app access.
+ #40737
+ * Patched CVE-2024-32650. #40735
+ * Fixed possible data race that could lead to concurrent map read
+ and map write while proxying Kubernetes requests. #40720
+ * Fixed access request promotion of windows_desktop resources.
+ #40712
+ * Fixed spurious ambiguous host errors in ssh routing. #40706
+ * Patched CVE-2023-45288 and CVE-2024-32473. #40695
+ * generic "not found" errors are returned whether a remote
+ cluster can't be found or access is denied. #40681
+ * Fixed a resource leak in the Teleport proxy server when using
+ proxy peering. #40672
+ * Added Azure CLI access support on AKS with Entra Workload ID.
+ #40660
+ * Allow other issue types when configuring JIRA plugin. #40644
+ * Added regexp.match to access request filter and where
+ expressions. #40642
+ * Notify the requester in slack review request messages. #40624
+ * Handle passwordless in MFA audit events. #40617
+ * Added auto discover capability to EC2 enrollment in the web UI.
+ #40605
+ * Fixes RDP licensing. #40595
+ * Added support for the ascii variants of smartcard calls. #40566
+ * Added the ability to configure labels that should be set on the
+ Kubernetes secret when using the kubernetes_secret destination
+ in tbot. #40550
+ * Updated cosign to address CVE-2024-29902 and CVE-2024-29903.
+ #40497
+ * The Web UI now supports large number of roles by paginating
+ them. #40463
+ * Improved the responsiveness of the session player during long
+ periods of idle time. #40442
+ * Fixed incorrect format for database_object_import_rule
+ resources with non-empty expiry. #40203
+ * Updated Opsgenie annotations so approve-schedules is used for
+ both alert creation and auto approval if notify schedules is
+ not set. #40121
+
+-------------------------------------------------------------------
Old:
----
teleport-15.2.2.obscpio
New:
----
teleport-15.2.4.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ teleport.spec ++++++
--- /var/tmp/diff_new_pack.VXz4Gc/_old 2024-04-25 20:50:39.725325980 +0200
+++ /var/tmp/diff_new_pack.VXz4Gc/_new 2024-04-25 20:50:39.729326126 +0200
@@ -19,7 +19,7 @@
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
Name: teleport
-Version: 15.2.2
+Version: 15.2.4
Release: 0
Summary: Identity-aware, multi-protocol access proxy
License: Apache-2.0
++++++ _service ++++++
--- /var/tmp/diff_new_pack.VXz4Gc/_old 2024-04-25 20:50:39.777327872 +0200
+++ /var/tmp/diff_new_pack.VXz4Gc/_new 2024-04-25 20:50:39.781328018 +0200
@@ -4,7 +4,7 @@
<param name="scm">git</param>
<param name="submodules">disable</param>
<param name="exclude">.git</param>
- <param name="revision">v15.2.2</param>
+ <param name="revision">v15.2.4</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">disable</param>
<param name="versionrewrite-pattern">v(.*)</param>
++++++ teleport-15.2.2.obscpio -> teleport-15.2.4.obscpio ++++++
/work/SRC/openSUSE:Factory/teleport/teleport-15.2.2.obscpio /work/SRC/openSUSE:Factory/.teleport.new.1880/teleport-15.2.4.obscpio differ: char 49, line 1
++++++ teleport.obsinfo ++++++
--- /var/tmp/diff_new_pack.VXz4Gc/_old 2024-04-25 20:50:39.897332238 +0200
+++ /var/tmp/diff_new_pack.VXz4Gc/_new 2024-04-25 20:50:39.901332384 +0200
@@ -1,5 +1,5 @@
name: teleport
-version: 15.2.2
-mtime: 1712867327
-commit: a4cffd5b7fb8f65a417ce74b42e2f0fbe048c716
+version: 15.2.4
+mtime: 1713922041
+commit: e103ec47ce8f4c30590962f8d9c5a19e4367bae8
++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/teleport/vendor.tar.gz /work/SRC/openSUSE:Factory/.teleport.new.1880/vendor.tar.gz differ: char 5, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package docker-compose for openSUSE:Factory checked in at 2024-04-25 20:49:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/docker-compose (Old)
and /work/SRC/openSUSE:Factory/.docker-compose.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "docker-compose"
Thu Apr 25 20:49:49 2024 rev:41 rq:1170095 version:2.27.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/docker-compose/docker-compose.changes 2024-04-02 16:43:06.966661297 +0200
+++ /work/SRC/openSUSE:Factory/.docker-compose.new.1880/docker-compose.changes 2024-04-25 20:50:00.543900402 +0200
@@ -1,0 +2,43 @@
+Thu Apr 25 05:12:57 UTC 2024 - opensuse_buildservice(a)ojkastl.de
+
+- Update to version 2.27.0:
+ * fix: overlapping logs and menu navigation (#11765)
+ * build(deps): bump github.com/moby/buildkit
+ * chore(e2e): fix flaky cascade failure test
+ * use v2.26.1 tag for moby and Docker cli
+ * chore(deps): update to Moby v26.1 & buildx v0.14
+ * bump compose-go version to v2.1.0
+ * fix support for --context=foo
+ * Fix #11710: Avoid to try to close channel twice after hitting
+ Ctrl-C on compose up (#11719)
+ * fix(desktop): remove overly-aggressive feature flag check
+ (#11748)
+ * chore: fix typo in comment
+ * bump dependencies
+ * fix: do not try to create file shares for non-directories
+ * check container_name is not in use by another service we will
+ create
+ * don't clear line when navigation is disabled
+ * fix: return correct exit code with `--exit-code-from` (#11715)
+ * progress for resource can be restarted after more Working event
+ comes
+ * Revert "Stop the resource timer after last expected event"
+ * Revert change to allow trying to kill again if a kill fails
+ * Handle errors and allow to send multiple kills if one failed
+ * Ignore errors when killing on second Ctrl-C
+ * docker compose up always kills the containers on second Ctrl-C
+ * read COMPOSE_REMOVE_ORPHANS from .env
+ * Set Required false to depends_on containers for compose -p
+ stop/down
+ * Ignore missing containers when compose stop -p
+ * Ignore missing containers when compose down -p
+ * Introduce support for build.entitlements
+ * Remove dead url reference.
+ * e2e test for --all-resources
+ * introduce --all-resources to _not_ exclude resources not used
+ by services
+ * Introduce --abort-on-container-failure
+ * bump golang version to 1.21.9
+ * don't use ansi espace sequence when disabled
+
+-------------------------------------------------------------------
Old:
----
compose-2.26.1.obscpio
New:
----
compose-2.27.0.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ docker-compose.spec ++++++
--- /var/tmp/diff_new_pack.lzQGh7/_old 2024-04-25 20:50:03.223997915 +0200
+++ /var/tmp/diff_new_pack.lzQGh7/_new 2024-04-25 20:50:03.223997915 +0200
@@ -19,7 +19,7 @@
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
Name: docker-compose
-Version: 2.26.1
+Version: 2.27.0
Release: 0
Summary: Define and run multi-container applications with Docker
License: Apache-2.0
++++++ _service ++++++
--- /var/tmp/diff_new_pack.lzQGh7/_old 2024-04-25 20:50:03.263999371 +0200
+++ /var/tmp/diff_new_pack.lzQGh7/_new 2024-04-25 20:50:03.267999516 +0200
@@ -3,7 +3,7 @@
<param name="url">https://github.com/docker/compose</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
- <param name="revision">v2.26.1</param>
+ <param name="revision">v2.27.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param>
@@ -17,7 +17,7 @@
<param name="compression">gz</param>
</service>
<service name="go_modules" mode="manual">
- <param name="archive">compose-2.26.1.obscpio</param>
+ <param name="archive">compose-2.27.0.obscpio</param>
</service>
</services>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.lzQGh7/_old 2024-04-25 20:50:03.288000244 +0200
+++ /var/tmp/diff_new_pack.lzQGh7/_new 2024-04-25 20:50:03.292000389 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/docker/compose</param>
- <param name="changesrevision">ff20b641c7f1cce588faea476fbd1a6fdd953b36</param></service></servicedata>
+ <param name="changesrevision">9c0b92259737c0baf886619517c3222626c2a247</param></service></servicedata>
(No newline at EOF)
++++++ compose-2.26.1.obscpio -> compose-2.27.0.obscpio ++++++
++++ 2150 lines of diff (skipped)
++++++ compose.obsinfo ++++++
--- /var/tmp/diff_new_pack.lzQGh7/_old 2024-04-25 20:50:03.600011595 +0200
+++ /var/tmp/diff_new_pack.lzQGh7/_new 2024-04-25 20:50:03.604011742 +0200
@@ -1,5 +1,5 @@
name: compose
-version: 2.26.1
-mtime: 1711648646
-commit: ff20b641c7f1cce588faea476fbd1a6fdd953b36
+version: 2.27.0
+mtime: 1713985182
+commit: 9c0b92259737c0baf886619517c3222626c2a247
++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/docker-compose/vendor.tar.gz /work/SRC/openSUSE:Factory/.docker-compose.new.1880/vendor.tar.gz differ: char 5, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package gdu for openSUSE:Factory checked in at 2024-04-25 20:49:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gdu (Old)
and /work/SRC/openSUSE:Factory/.gdu.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gdu"
Thu Apr 25 20:49:48 2024 rev:2 rq:1170089 version:5.28.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/gdu/gdu.changes 2024-04-10 17:50:23.376471876 +0200
+++ /work/SRC/openSUSE:Factory/.gdu.new.1880/gdu.changes 2024-04-25 20:49:53.591646267 +0200
@@ -1,0 +2,11 @@
+Wed Apr 24 12:08:01 UTC 2024 - Dominik Heidler <dheidler(a)suse.de>
+
+- Version 5.28.0
+ * feat: delete/empty items in background by @dundee in #336
+ * feat: add --show-item-count (-C) option by @ramgp in #332
+ * feat: add --no-delete option by @ramgp in #333
+ * feat: ignore item by pressing I by @dundee in #345
+ * feat: delete directory items in parallel by @dundee in #340
+ * feat: add --sequential option for sequential scanning by @dundee in #322
+
+-------------------------------------------------------------------
Old:
----
gdu-5.27.0.tar.gz
New:
----
gdu-5.28.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gdu.spec ++++++
--- /var/tmp/diff_new_pack.IlSqF3/_old 2024-04-25 20:49:55.463715007 +0200
+++ /var/tmp/diff_new_pack.IlSqF3/_new 2024-04-25 20:49:55.463715007 +0200
@@ -17,15 +17,15 @@
Name: gdu
-Version: 5.27.0
+Version: 5.28.0
Release: 0
Summary: Fast disk usage analyzer with console interface
License: MIT
URL: https://github.com/dundee/gdu
Source: https://github.com/dundee/gdu/archive/refs/tags/v%{version}.tar.gz#/%{name}…
Source1: vendor.tar.zstd
-BuildRequires: zstd
BuildRequires: gzip
+BuildRequires: zstd
BuildRequires: golang(API) >= 1.20
%description
++++++ gdu-5.27.0.tar.gz -> gdu-5.28.0.tar.gz ++++++
++++ 3969 lines of diff (skipped)
++++++ vendor.tar.zstd ++++++
Binary files /var/tmp/diff_new_pack.IlSqF3/_old and /var/tmp/diff_new_pack.IlSqF3/_new differ
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libgig for openSUSE:Factory checked in at 2024-04-25 20:49:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgig (Old)
and /work/SRC/openSUSE:Factory/.libgig.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgig"
Thu Apr 25 20:49:35 2024 rev:9 rq:1170081 version:4.4.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/libgig/libgig.changes 2024-01-29 22:34:28.585303940 +0100
+++ /work/SRC/openSUSE:Factory/.libgig.new.1880/libgig.changes 2024-04-25 20:49:35.322975461 +0200
@@ -1,0 +2,7 @@
+Tue Apr 23 21:05:31 UTC 2024 - Andreas Stieger <andreas.stieger(a)gmx.de>
+
+- update to version 4.4.1:
+ * Fix build errors with some compilers
+- drop unused rpmlintrc
+
+-------------------------------------------------------------------
Old:
----
libgig-4.4.0.tar.bz2
libgig-rpmlintrc
New:
----
libgig-4.4.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libgig.spec ++++++
--- /var/tmp/diff_new_pack.q7or3n/_old 2024-04-25 20:49:35.930997786 +0200
+++ /var/tmp/diff_new_pack.q7or3n/_new 2024-04-25 20:49:35.930997786 +0200
@@ -1,9 +1,9 @@
-# vim: set sw=4 ts=4 et:
#
# spec file for package libgig
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2012 Pascal Bleser <pascal.bleser(a)opensuse.org>
+# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger(a)gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,18 +21,17 @@
%define sover_gig 11
%define sover_akai 0
Name: libgig
-Version: 4.4.0
+Version: 4.4.1
Release: 0
Summary: Library for loading Gigasampler and DLS Level 1/2 files
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Sound/Utilities
URL: https://linuxsampler.org/
Source0: http://download.linuxsampler.org/packages/libgig-%{version}.tar.bz2
-Source1: libgig-rpmlintrc
-BuildRequires: e2fsprogs-devel
-BuildRequires: gcc-c++
+BuildRequires: c++_compiler
BuildRequires: pkgconfig
BuildRequires: pkgconfig(sndfile) >= 1.0.2
+BuildRequires: pkgconfig(uuid)
%description
C++ library for loading Gigasampler and DLS Level 1/2 files.
@@ -75,7 +74,7 @@
* rifftree: tool that prints out the RIFF tree of an arbitrary RIFF file
%prep
-%setup -q
+%autosetup -p1
%build
%configure --disable-static
@@ -90,8 +89,11 @@
echo "%{_libdir}/libgig" > "%{buildroot}%{_sysconfdir}/ld.so.conf.d/libgig%{sover_gig}.conf"
echo "%{_libdir}/libakai" > "%{buildroot}%{_sysconfdir}/ld.so.conf.d/libakai%{sover_akai}.conf"
-%post -n libgig%{sover_gig} -p /sbin/ldconfig
-%postun -n libgig%{sover_gig} -p /sbin/ldconfig
+%check
+%make_build check
+
+%ldconfig_scriptlets -n libgig%{sover_gig}
+%ldconfig_scriptlets -n libakai%{sover_akai}
%files -n libgig%{sover_gig}
%license COPYING
@@ -101,9 +103,6 @@
%{_libdir}/libgig/libgig.so.%{sover_gig}.*
%config %{_sysconfdir}/ld.so.conf.d/libgig%{sover_gig}.conf
-%post -n libakai%{sover_akai} -p /sbin/ldconfig
-%postun -n libakai%{sover_akai} -p /sbin/ldconfig
-
%files -n libakai%{sover_akai}
%license COPYING
%doc AUTHORS ChangeLog NEWS README TODO
++++++ libgig-4.4.0.tar.bz2 -> libgig-4.4.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgig-4.4.0/CMakeLists.txt new/libgig-4.4.1/CMakeLists.txt
--- old/libgig-4.4.0/CMakeLists.txt 2023-10-06 17:14:43.000000000 +0200
+++ new/libgig-4.4.1/CMakeLists.txt 2024-02-12 13:13:19.000000000 +0100
@@ -64,6 +64,7 @@
set(PACKAGE_NAME "libgig")
set(LIBGIG_HEADERS
+ src/sysdef.h
src/DLS.h
src/gig.h
src/RIFF.h
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgig-4.4.0/ChangeLog new/libgig-4.4.1/ChangeLog
--- old/libgig-4.4.0/ChangeLog 2024-01-26 15:58:00.000000000 +0100
+++ new/libgig-4.4.1/ChangeLog 2024-02-20 17:27:47.000000000 +0100
@@ -1,3 +1,13 @@
+Version 4.4.1 (20 Feb 2024)
+
+ * general changes:
+ - Move system dependent type and macro definitions into a shared header
+ file sysdef.h (fixes compilation error with MSVC).
+
+ * src/RIFF.cpp, src/RIFF.h:
+ - Fixed compilation error with some compilers, caused by using
+ designated initializers, which is a C++20 feature.
+
Version 4.4.0 (26 Jan 2024)
* general changes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgig-4.4.0/Makefile.in new/libgig-4.4.1/Makefile.in
--- old/libgig-4.4.0/Makefile.in 2024-01-26 19:04:33.000000000 +0100
+++ new/libgig-4.4.1/Makefile.in 2024-02-20 17:31:57.000000000 +0100
@@ -191,8 +191,8 @@
am__DIST_COMMON = $(srcdir)/Doxyfile.in $(srcdir)/Makefile.in \
$(srcdir)/akai.pc.in $(srcdir)/config.h.in $(srcdir)/gig.pc.in \
$(srcdir)/libgig.spec.in AUTHORS COPYING ChangeLog INSTALL \
- NEWS README TODO compile config.guess config.sub install-sh \
- ltmain.sh missing
+ NEWS README TODO compile config.guess config.sub depcomp \
+ install-sh ltmain.sh missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgig-4.4.0/NEWS new/libgig-4.4.1/NEWS
--- old/libgig-4.4.0/NEWS 2024-01-26 16:42:18.000000000 +0100
+++ new/libgig-4.4.1/NEWS 2024-02-20 17:29:58.000000000 +0100
@@ -1,3 +1,9 @@
+Version 4.4.1 (20 Feb 2024)
+
+ Maintenance release.
+
+ Fixes build errors with some compilers only. No behaviour change.
+
Version 4.4.0 (26 Jan 2024)
This release introduces a new command line tool 'wav2gig' which allows to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgig-4.4.0/configure new/libgig-4.4.1/configure
--- old/libgig-4.4.0/configure 2024-01-26 19:03:07.000000000 +0100
+++ new/libgig-4.4.1/configure 2024-02-20 17:31:58.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libgig 4.4.0.
+# Generated by GNU Autoconf 2.69 for libgig 4.4.1.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -587,8 +587,8 @@
# Identity of this package.
PACKAGE_NAME='libgig'
PACKAGE_TARNAME='libgig'
-PACKAGE_VERSION='4.4.0'
-PACKAGE_STRING='libgig 4.4.0'
+PACKAGE_VERSION='4.4.1'
+PACKAGE_STRING='libgig 4.4.1'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -1364,7 +1364,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures libgig 4.4.0 to adapt to many kinds of systems.
+\`configure' configures libgig 4.4.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1435,7 +1435,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libgig 4.4.0:";;
+ short | recursive ) echo "Configuration of libgig 4.4.1:";;
esac
cat <<\_ACEOF
@@ -1561,7 +1561,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-libgig configure 4.4.0
+libgig configure 4.4.1
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2156,7 +2156,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by libgig $as_me 4.4.0, which was
+It was created by libgig $as_me 4.4.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -15660,7 +15660,7 @@
LIBGIG_RELEASE_MINOR=4
-LIBGIG_RELEASE_BUILD=0
+LIBGIG_RELEASE_BUILD=1
@@ -17367,7 +17367,7 @@
# Define the identity of the package.
PACKAGE='libgig'
- VERSION='4.4.0'
+ VERSION='4.4.1'
cat >>confdefs.h <<_ACEOF
@@ -18266,7 +18266,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by libgig $as_me 4.4.0, which was
+This file was extended by libgig $as_me 4.4.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -18332,7 +18332,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-libgig config.status 4.4.0
+libgig config.status 4.4.1
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgig-4.4.0/configure.ac new/libgig-4.4.1/configure.ac
--- old/libgig-4.4.0/configure.ac 2024-01-26 15:58:00.000000000 +0100
+++ new/libgig-4.4.1/configure.ac 2024-02-20 17:27:47.000000000 +0100
@@ -3,7 +3,7 @@
m4_define(libgig_release_major, 4)
m4_define(libgig_release_minor, 4)
-m4_define(libgig_release_build, 0)
+m4_define(libgig_release_build, 1)
AC_INIT([libgig],[libgig_release_major.libgig_release_minor.libgig_release_build])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgig-4.4.0/debian/changelog new/libgig-4.4.1/debian/changelog
--- old/libgig-4.4.0/debian/changelog 2024-01-26 15:58:00.000000000 +0100
+++ new/libgig-4.4.1/debian/changelog 2024-02-20 17:27:47.000000000 +0100
@@ -1,3 +1,9 @@
+libgig (4.4.1) unstable; urgency=low
+
+ * New release.
+
+ -- Christian Schoenebeck <cuse(a)users.sourceforge.net> Tue, 20 Feb 2024 17:27:47 +0100
+
libgig (4.4.0) unstable; urgency=low
* New release.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgig-4.4.0/libgig.spec.in new/libgig-4.4.1/libgig.spec.in
--- old/libgig-4.4.0/libgig.spec.in 2024-01-26 15:58:00.000000000 +0100
+++ new/libgig-4.4.1/libgig.spec.in 2024-02-20 17:27:47.000000000 +0100
@@ -1,7 +1,7 @@
%define name @PACKAGE@
%define version @VERSION@
-%define release 18
+%define release 19
%define prefix @prefix@
Summary: C++ library for accessing GigaStudio, DLS, SF, KORG, AKAI files.
@@ -96,6 +96,8 @@
%{prefix}/include/libgig/*
%changelog
+* Tue 20 Feb 2024 Christian Schoenebeck <cuse(a)users.sourceforge.net>
+- prepared for release 4.4.1
* Fri 26 Jan 2024 Christian Schoenebeck <cuse(a)users.sourceforge.net>
- prepared for release 4.4.0
* Sun May 09 2021 Christian Schoenebeck <cuse(a)users.sourceforge.net>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgig-4.4.0/src/Makefile.am new/libgig-4.4.1/src/Makefile.am
--- old/libgig-4.4.0/src/Makefile.am 2017-05-21 19:23:07.000000000 +0200
+++ new/libgig-4.4.1/src/Makefile.am 2024-02-12 12:23:02.000000000 +0100
@@ -4,7 +4,7 @@
pkglib_LTLIBRARIES = libgig.la libakai.la
libgigincludedir = $(includedir)/libgig
-libgiginclude_HEADERS = RIFF.h DLS.h SF.h gig.h Korg.h Serialization.h
+libgiginclude_HEADERS = RIFF.h DLS.h SF.h gig.h Korg.h Serialization.h sysdef.h
libgig_la_SOURCES = helper.cpp typeinfo.cpp RIFF.cpp DLS.cpp SF.cpp gig.cpp Korg.cpp Serialization.cpp
libgig_la_LDFLAGS = -no-undefined -version-info @LIBGIG_SHARED_VERSION_INFO@ @LIBGIG_SHLIB_VERSION_ARG@
if WIN32
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgig-4.4.0/src/Makefile.in new/libgig-4.4.1/src/Makefile.in
--- old/libgig-4.4.0/src/Makefile.in 2024-01-26 19:04:34.000000000 +0100
+++ new/libgig-4.4.1/src/Makefile.in 2024-02-20 17:31:58.000000000 +0100
@@ -405,7 +405,7 @@
AM_CXXFLAGS = -pedantic -Wreturn-type
pkglib_LTLIBRARIES = libgig.la libakai.la
libgigincludedir = $(includedir)/libgig
-libgiginclude_HEADERS = RIFF.h DLS.h SF.h gig.h Korg.h Serialization.h
+libgiginclude_HEADERS = RIFF.h DLS.h SF.h gig.h Korg.h Serialization.h sysdef.h
libgig_la_SOURCES = helper.cpp typeinfo.cpp RIFF.cpp DLS.cpp SF.cpp gig.cpp Korg.cpp Serialization.cpp
libgig_la_LDFLAGS = -no-undefined -version-info \
@LIBGIG_SHARED_VERSION_INFO@ @LIBGIG_SHLIB_VERSION_ARG@ \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgig-4.4.0/src/RIFF.cpp new/libgig-4.4.1/src/RIFF.cpp
--- old/libgig-4.4.0/src/RIFF.cpp 2021-06-14 11:23:51.000000000 +0200
+++ new/libgig-4.4.1/src/RIFF.cpp 2024-02-11 15:44:02.000000000 +0100
@@ -2,7 +2,7 @@
* *
* libgig - C++ cross-platform Gigasampler format file access library *
* *
- * Copyright (C) 2003-2021 by Christian Schoenebeck *
+ * Copyright (C) 2003-2024 by Christian Schoenebeck *
* <cuse(a)users.sourceforge.net> *
* *
* This library is free software; you can redistribute it and/or modify *
@@ -1968,14 +1968,15 @@
return (it != io.byThread.end()) ?
it->second :
io.byThread[tid] = {
+ // designated initializers require C++20, so commented for now
#if defined(WIN32)
- .hRead = INVALID_HANDLE_VALUE,
- .hWrite = INVALID_HANDLE_VALUE,
+ /* .hRead = */ INVALID_HANDLE_VALUE,
+ /* .hWrite = */ INVALID_HANDLE_VALUE,
#else
- .hRead = 0,
- .hWrite = 0,
+ /* .hRead = */ 0,
+ /* .hWrite = */ 0,
#endif
- .Mode = stream_mode_closed
+ /* .Mode = */ stream_mode_closed
};
}
@@ -1993,14 +1994,15 @@
return (it != io.byThread.end()) ?
it->second :
io.byThread[tid] = {
+ // designated initializers require C++20, so commented for now
#if defined(WIN32)
- .hRead = INVALID_HANDLE_VALUE,
- .hWrite = INVALID_HANDLE_VALUE,
+ /* .hRead = */ INVALID_HANDLE_VALUE,
+ /* .hWrite = */ INVALID_HANDLE_VALUE,
#else
- .hRead = 0,
- .hWrite = 0,
+ /* .hRead = */ 0,
+ /* .hWrite = */ 0,
#endif
- .Mode = stream_mode_closed
+ /* .Mode = */ stream_mode_closed
};
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgig-4.4.0/src/RIFF.h new/libgig-4.4.1/src/RIFF.h
--- old/libgig-4.4.0/src/RIFF.h 2021-06-15 14:44:12.000000000 +0200
+++ new/libgig-4.4.1/src/RIFF.h 2024-02-12 12:53:08.000000000 +0100
@@ -2,7 +2,7 @@
* *
* libgig - C++ cross-platform Gigasampler format file access library *
* *
- * Copyright (C) 2003-2021 by Christian Schoenebeck *
+ * Copyright (C) 2003-2024 by Christian Schoenebeck *
* <cuse(a)users.sourceforge.net> *
* *
* This library is free software; you can redistribute it and/or modify *
@@ -24,32 +24,6 @@
#ifndef __RIFF_H__
#define __RIFF_H__
-#ifdef WIN32
-# define POSIX 0
-#endif
-
-#ifndef POSIX
-# define POSIX 1
-#endif
-
-#ifndef DEBUG
-# define DEBUG 0
-#endif
-
-#ifndef OVERRIDE
-# if defined(__cplusplus) && __cplusplus >= 201103L
-# define OVERRIDE override
-# else
-# define OVERRIDE
-# endif
-#endif
-
-#ifdef __GNUC__
-# define LIBGIG_DEPRECATED_API(msg) __attribute__ ((deprecated(msg)))
-#else
-# define LIBGIG_DEPRECATED_API(msg)
-#endif
-
#include <string>
#include <list>
#include <map>
@@ -59,45 +33,10 @@
#include <stdarg.h>
#include <thread>
#include <mutex>
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#if POSIX
-# include <sys/types.h>
-# include <sys/stat.h>
-# include <fcntl.h>
-# include <unistd.h>
-#endif // POSIX
-
-#if defined _MSC_VER && _MSC_VER < 1600
-// Visual C++ 2008 doesn't have stdint.h
-typedef __int8 int8_t;
-typedef __int16 int16_t;
-typedef __int32 int32_t;
-typedef __int64 int64_t;
-typedef unsigned __int8 uint8_t;
-typedef unsigned __int16 uint16_t;
-typedef unsigned __int32 uint32_t;
-typedef unsigned __int64 uint64_t;
-#else
-#include <stdint.h>
-#endif
-
-#ifdef WIN32
-# if (_WIN32 && !_WIN64) || (__GNUC__ && !(__x86_64__ || __ppc64__)) /* if 32 bit windows compilation */
-# if _WIN32_WINNT < 0x0501
-# undef _WIN32_WINNT
-# define _WIN32_WINNT 0x0501 /* Win XP (no service pack): required for 32 bit compilation for GetFileSizeEx() to be declared by windows.h */
-# endif
-# endif
-# include <windows.h>
- typedef unsigned int uint;
-#endif // WIN32
-
#include <stdio.h>
+#include "sysdef.h"
+
#if WORDS_BIGENDIAN
# define CHUNK_ID_RIFF 0x52494646
# define CHUNK_ID_RIFX 0x52494658
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgig-4.4.0/src/Serialization.h new/libgig-4.4.1/src/Serialization.h
--- old/libgig-4.4.0/src/Serialization.h 2023-10-06 17:14:27.000000000 +0200
+++ new/libgig-4.4.1/src/Serialization.h 2024-02-12 12:43:24.000000000 +0100
@@ -1,6 +1,6 @@
/***************************************************************************
* *
- * Copyright (C) 2017-2020 Christian Schoenebeck *
+ * Copyright (C) 2017-2024 Christian Schoenebeck *
* <cuse(a)users.sourceforge.net> *
* *
* This library is part of libgig. *
@@ -40,10 +40,7 @@
#include <assert.h>
#include <functional>
-#ifdef _MSC_VER
-#include <BaseTsd.h>
-using ssize_t = SSIZE_T;
-#endif
+#include "sysdef.h"
#ifndef __has_extension
# define __has_extension(x) 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgig-4.4.0/src/helper.h new/libgig-4.4.1/src/helper.h
--- old/libgig-4.4.0/src/helper.h 2021-02-14 14:51:50.000000000 +0100
+++ new/libgig-4.4.1/src/helper.h 2024-02-12 13:07:25.000000000 +0100
@@ -2,7 +2,7 @@
* *
* libgig - C++ cross-platform Gigasampler format file access library *
* *
- * Copyright (C) 2003-2021 by Christian Schoenebeck *
+ * Copyright (C) 2003-2024 by Christian Schoenebeck *
* <cuse(a)users.sourceforge.net> *
* *
* This library is free software; you can redistribute it and/or modify *
@@ -41,15 +41,6 @@
int vasprintf(char** ret, const char* format, va_list arg);
#endif
-#if defined(_MSC_VER)
-# if _MSC_VER < 1900
-# error versions prior to msvc 2015 have not been tested
-# else
-# include <BaseTsd.h>
-typedef SSIZE_T ssize_t;
-# endif
-#endif
-
#include "RIFF.h"
// *************** Helper Functions **************
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgig-4.4.0/src/sysdef.h new/libgig-4.4.1/src/sysdef.h
--- old/libgig-4.4.0/src/sysdef.h 1970-01-01 01:00:00.000000000 +0100
+++ new/libgig-4.4.1/src/sysdef.h 2024-02-12 12:52:38.000000000 +0100
@@ -0,0 +1,95 @@
+
+/***************************************************************************
+ * *
+ * Copyright (C) 2003-2024 Christian Schoenebeck *
+ * <cuse(a)users.sourceforge.net> *
+ * *
+ * This library is part of libgig. *
+ * *
+ * This library is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This library 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 library; if not, write to the Free Software *
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, *
+ * MA 02111-1307 USA *
+ ***************************************************************************/
+
+#ifndef LIBGIG_SYSDEF_H
+#define LIBGIG_SYSDEF_H
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#ifdef WIN32
+# define POSIX 0
+#endif
+
+#ifndef POSIX
+# define POSIX 1
+#endif
+
+#ifndef DEBUG
+# define DEBUG 0
+#endif
+
+#if POSIX
+# include <sys/types.h>
+# include <sys/stat.h>
+# include <fcntl.h>
+# include <unistd.h>
+#endif // POSIX
+
+#if defined _MSC_VER && _MSC_VER < 1600
+// Visual C++ 2008 doesn't have stdint.h
+typedef __int8 int8_t;
+typedef __int16 int16_t;
+typedef __int32 int32_t;
+typedef __int64 int64_t;
+typedef unsigned __int8 uint8_t;
+typedef unsigned __int16 uint16_t;
+typedef unsigned __int32 uint32_t;
+typedef unsigned __int64 uint64_t;
+#else
+#include <stdint.h>
+#endif
+
+#ifdef WIN32
+# if (_WIN32 && !_WIN64) || (__GNUC__ && !(__x86_64__ || __ppc64__)) /* if 32 bit windows compilation */
+# if _WIN32_WINNT < 0x0501
+# undef _WIN32_WINNT
+# define _WIN32_WINNT 0x0501 /* Win XP (no service pack): required for 32 bit compilation for GetFileSizeEx() to be declared by windows.h */
+# endif
+# endif
+# include <windows.h>
+ typedef unsigned int uint;
+#endif // WIN32
+
+#ifdef _MSC_VER
+#include <BaseTsd.h>
+using ssize_t = SSIZE_T;
+#endif
+
+#ifndef OVERRIDE
+# if defined(__cplusplus) && __cplusplus >= 201103L
+# define OVERRIDE override
+# else
+# define OVERRIDE
+# endif
+#endif
+
+#ifdef __GNUC__
+# define LIBGIG_DEPRECATED_API(msg) __attribute__ ((deprecated(msg)))
+#else
+# define LIBGIG_DEPRECATED_API(msg)
+#endif
+
+#endif // LIBGIG_SYSDEF_H
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgig-4.4.0/win32/libgig.dev new/libgig-4.4.1/win32/libgig.dev
--- old/libgig-4.4.0/win32/libgig.dev 2024-01-26 19:04:43.000000000 +0100
+++ new/libgig-4.4.1/win32/libgig.dev 2024-02-20 17:32:05.000000000 +0100
@@ -72,7 +72,7 @@
[VersionInfo]
Major=4
Minor=4
-Release=0
+Release=1
Build=0
LanguageID=1033
CharsetID=1252
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package sdbus-cpp for openSUSE:Factory checked in at 2024-04-25 20:49:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sdbus-cpp (Old)
and /work/SRC/openSUSE:Factory/.sdbus-cpp.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sdbus-cpp"
Thu Apr 25 20:49:33 2024 rev:9 rq:1170078 version:1.6.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/sdbus-cpp/sdbus-cpp.changes 2024-02-26 19:47:52.563299327 +0100
+++ /work/SRC/openSUSE:Factory/.sdbus-cpp.new.1880/sdbus-cpp.changes 2024-04-25 20:49:34.470944175 +0200
@@ -1,0 +2,9 @@
+* Wed Apr 24 19:33:19 UTC 2024 - Luca Boccassi <bluca(a)debian.org>
+
+- Update to new version 1.5.0:
+ - Add support for enums in D-Bus serialization and signatures
+ - Add support for std::variant as an alternative C++ type for D-Bus Variant
+ - Add support for implicit conversions between std::variant and sdbus::Variant
+ - Fix missing includes
+
+-------------------------------------------------------------------
Old:
----
sdbus-cpp-1.5.0.tar.gz
New:
----
sdbus-cpp-1.6.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sdbus-cpp.spec ++++++
--- /var/tmp/diff_new_pack.SH3BhM/_old 2024-04-25 20:49:35.042965179 +0200
+++ /var/tmp/diff_new_pack.SH3BhM/_new 2024-04-25 20:49:35.042965179 +0200
@@ -19,7 +19,7 @@
%global version_major 1
-%global version_minor 5
+%global version_minor 6
%global version_micro 0
Name: sdbus-cpp
++++++ sdbus-cpp-1.5.0.tar.gz -> sdbus-cpp-1.6.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/CMakeLists.txt new/sdbus-cpp-1.6.0/CMakeLists.txt
--- old/sdbus-cpp-1.5.0/CMakeLists.txt 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/CMakeLists.txt 2024-04-24 20:04:34.000000000 +0200
@@ -4,7 +4,7 @@
cmake_minimum_required(VERSION 3.13)
-project(sdbus-c++ VERSION 1.5.0 LANGUAGES C CXX)
+project(sdbus-c++ VERSION 1.6.0 LANGUAGES C CXX)
include(GNUInstallDirs) # Installation directories for `install` command and pkgconfig file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/ChangeLog new/sdbus-cpp-1.6.0/ChangeLog
--- old/sdbus-cpp-1.5.0/ChangeLog 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/ChangeLog 2024-04-24 20:04:34.000000000 +0200
@@ -248,3 +248,9 @@
- Add INSTALL_TESTS CMake option
- Minor UnixFd cleanups
- Additional little fixes and updates in code, build system, CI, and documentation
+
+v1.6.0
+- Add support for enums in D-Bus serialization and signatures
+- Add support for std::variant as an alternative C++ type for D-Bus Variant
+- Add support for implicit conversions between std::variant and sdbus::Variant
+- Fix missing includes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/docs/using-sdbus-c++.md new/sdbus-cpp-1.6.0/docs/using-sdbus-c++.md
--- old/sdbus-cpp-1.5.0/docs/using-sdbus-c++.md 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/docs/using-sdbus-c++.md 2024-04-24 20:04:34.000000000 +0200
@@ -1516,7 +1516,7 @@
| string-like, basic | 103 | g | SIGNATURE | `sdbus::Signature` |
| container | 97 | a | ARRAY | `std::vector<T>`, `std::array<T>`, `std::span<T>` - if used as an array followed by a single complete type `T` <br /> `std::map<T1, T2>`, `std::unordered_map<T1, T2>` - if used as an array of dict entries |
| container | 114,40,41 | r() | STRUCT | `sdbus::Struct<T1, T2, ...>` variadic class template |
-| container | 118 | v | VARIANT | `sdbus::Variant` |
+| container | 118 | v | VARIANT | `sdbus::Variant`, `std::variant<T1, ...>` |
| container | 101,123,125 | e{} | DICT_ENTRY | - |
| fixed, basic | 104 | h | UNIX_FD | `sdbus::UnixFd` |
| reserved | 109 | m | (reserved) | - |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/include/sdbus-c++/AdaptorInterfaces.h new/sdbus-cpp-1.6.0/include/sdbus-c++/AdaptorInterfaces.h
--- old/sdbus-cpp-1.5.0/include/sdbus-c++/AdaptorInterfaces.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/include/sdbus-c++/AdaptorInterfaces.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file AdaptorInterfaces.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/include/sdbus-c++/ConvenienceApiClasses.h new/sdbus-cpp-1.6.0/include/sdbus-c++/ConvenienceApiClasses.h
--- old/sdbus-cpp-1.5.0/include/sdbus-c++/ConvenienceApiClasses.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/include/sdbus-c++/ConvenienceApiClasses.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file ConvenienceApiClasses.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/include/sdbus-c++/ConvenienceApiClasses.inl new/sdbus-cpp-1.6.0/include/sdbus-c++/ConvenienceApiClasses.inl
--- old/sdbus-cpp-1.5.0/include/sdbus-c++/ConvenienceApiClasses.inl 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/include/sdbus-c++/ConvenienceApiClasses.inl 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file ConvenienceApiClasses.inl
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/include/sdbus-c++/Error.h new/sdbus-cpp-1.6.0/include/sdbus-c++/Error.h
--- old/sdbus-cpp-1.5.0/include/sdbus-c++/Error.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/include/sdbus-c++/Error.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file Error.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/include/sdbus-c++/Flags.h new/sdbus-cpp-1.6.0/include/sdbus-c++/Flags.h
--- old/sdbus-cpp-1.5.0/include/sdbus-c++/Flags.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/include/sdbus-c++/Flags.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file Flags.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/include/sdbus-c++/IConnection.h new/sdbus-cpp-1.6.0/include/sdbus-c++/IConnection.h
--- old/sdbus-cpp-1.5.0/include/sdbus-c++/IConnection.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/include/sdbus-c++/IConnection.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file IConnection.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/include/sdbus-c++/IObject.h new/sdbus-cpp-1.6.0/include/sdbus-c++/IObject.h
--- old/sdbus-cpp-1.5.0/include/sdbus-c++/IObject.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/include/sdbus-c++/IObject.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file IObject.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/include/sdbus-c++/IProxy.h new/sdbus-cpp-1.6.0/include/sdbus-c++/IProxy.h
--- old/sdbus-cpp-1.5.0/include/sdbus-c++/IProxy.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/include/sdbus-c++/IProxy.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file IProxy.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/include/sdbus-c++/Message.h new/sdbus-cpp-1.6.0/include/sdbus-c++/Message.h
--- old/sdbus-cpp-1.5.0/include/sdbus-c++/Message.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/include/sdbus-c++/Message.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file Message.h
*
@@ -29,9 +29,10 @@
#include <sdbus-c++/TypeTraits.h>
#include <sdbus-c++/Error.h>
+#include <array>
#include <string>
+#include <utility>
#include <vector>
-#include <array>
#if __cplusplus >= 202002L
#include <span>
#endif
@@ -43,6 +44,7 @@
#include <functional>
#include <sys/types.h>
#include <algorithm>
+#include <variant>
// Forward declarations
namespace sdbus {
@@ -88,10 +90,11 @@
Message& operator<<(const char *item);
Message& operator<<(const std::string &item);
Message& operator<<(const Variant &item);
+ template <typename ...Elements>
+ Message& operator<<(const std::variant<Elements...>& value);
Message& operator<<(const ObjectPath &item);
Message& operator<<(const Signature &item);
Message& operator<<(const UnixFd &item);
-
template <typename _Element, typename _Allocator>
Message& operator<<(const std::vector<_Element, _Allocator>& items);
template <typename _Element, std::size_t _Size>
@@ -100,6 +103,8 @@
template <typename _Element, std::size_t _Extent>
Message& operator<<(const std::span<_Element, _Extent>& items);
#endif
+ template <typename _Enum, typename = std::enable_if_t<std::is_enum_v<_Enum>>>
+ Message& operator<<(const _Enum& item);
template <typename _Key, typename _Value, typename _Compare, typename _Allocator>
Message& operator<<(const std::map<_Key, _Value, _Compare, _Allocator>& items);
template <typename _Key, typename _Value, typename _Hash, typename _KeyEqual, typename _Allocator>
@@ -121,6 +126,8 @@
Message& operator>>(char*& item);
Message& operator>>(std::string &item);
Message& operator>>(Variant &item);
+ template <typename ...Elements>
+ Message& operator>>(std::variant<Elements...>& value);
Message& operator>>(ObjectPath &item);
Message& operator>>(Signature &item);
Message& operator>>(UnixFd &item);
@@ -132,6 +139,8 @@
template <typename _Element, std::size_t _Extent>
Message& operator>>(std::span<_Element, _Extent>& items);
#endif
+ template <typename _Enum, typename = std::enable_if_t<std::is_enum_v<_Enum>>>
+ Message& operator>>(_Enum& item);
template <typename _Key, typename _Value, typename _Compare, typename _Allocator>
Message& operator>>(std::map<_Key, _Value, _Compare, _Allocator>& items);
template <typename _Key, typename _Value, typename _Hash, typename _KeyEqual, typename _Allocator>
@@ -306,6 +315,18 @@
PlainMessage() = default;
};
+ template <typename ...Elements>
+ inline Message& Message::operator<<(const std::variant<Elements...>& value)
+ {
+ std::visit([this](const auto& inner){
+ openVariant(signature_of<decltype(inner)>::str());
+ *this << inner;
+ closeVariant();
+ }, value);
+
+ return *this;
+ }
+
template <typename _Element, typename _Allocator>
inline Message& Message::operator<<(const std::vector<_Element, _Allocator>& items)
{
@@ -332,6 +353,12 @@
}
#endif
+ template <typename _Enum, typename>
+ inline Message& Message::operator<<(const _Enum &item)
+ {
+ return operator<<(static_cast<std::underlying_type_t<_Enum>>(item));
+ }
+
template <typename _Array>
inline void Message::serializeArray(const _Array& items)
{
@@ -431,6 +458,34 @@
return *this;
}
+ namespace detail
+ {
+ template <typename _Element, typename... _Elements>
+ bool deserialize_variant(Message& msg, std::variant<_Elements...>& value, const std::string& signature)
+ {
+ if (signature != signature_of<_Element>::str())
+ return false;
+
+ _Element temp;
+ msg.enterVariant(signature);
+ msg >> temp;
+ msg.exitVariant();
+ value = std::move(temp);
+ return true;
+ }
+ }
+
+ template <typename... Elements>
+ inline Message& Message::operator>>(std::variant<Elements...>& value)
+ {
+ std::string type;
+ std::string contentType;
+ peekType(type, contentType);
+ bool result = (detail::deserialize_variant<Elements>(*this, value, contentType) || ...);
+ SDBUS_THROW_ERROR_IF(!result, "Failed to deserialize variant: signature did not match any of the variant types", EINVAL);
+ return *this;
+ }
+
template <typename _Element, typename _Allocator>
inline Message& Message::operator>>(std::vector<_Element, _Allocator>& items)
{
@@ -457,6 +512,15 @@
}
#endif
+ template <typename _Enum, typename>
+ inline Message& Message::operator>>(_Enum& item)
+ {
+ std::underlying_type_t<_Enum> val;
+ *this >> val;
+ item = static_cast<_Enum>(val);
+ return *this;
+ }
+
template <typename _Array>
inline void Message::deserializeArray(_Array& items)
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/include/sdbus-c++/MethodResult.h new/sdbus-cpp-1.6.0/include/sdbus-c++/MethodResult.h
--- old/sdbus-cpp-1.5.0/include/sdbus-c++/MethodResult.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/include/sdbus-c++/MethodResult.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file MethodResult.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/include/sdbus-c++/ProxyInterfaces.h new/sdbus-cpp-1.6.0/include/sdbus-c++/ProxyInterfaces.h
--- old/sdbus-cpp-1.5.0/include/sdbus-c++/ProxyInterfaces.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/include/sdbus-c++/ProxyInterfaces.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file ProxyInterfaces.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/include/sdbus-c++/StandardInterfaces.h new/sdbus-cpp-1.6.0/include/sdbus-c++/StandardInterfaces.h
--- old/sdbus-cpp-1.5.0/include/sdbus-c++/StandardInterfaces.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/include/sdbus-c++/StandardInterfaces.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file StandardInterfaces.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/include/sdbus-c++/TypeTraits.h new/sdbus-cpp-1.6.0/include/sdbus-c++/TypeTraits.h
--- old/sdbus-cpp-1.5.0/include/sdbus-c++/TypeTraits.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/include/sdbus-c++/TypeTraits.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file TypeTraits.h
*
@@ -31,6 +31,7 @@
#include <string>
#include <vector>
#include <array>
+#include <variant>
#if __cplusplus >= 202002L
#include <span>
#endif
@@ -97,8 +98,11 @@
struct dont_expect_reply_t { explicit dont_expect_reply_t() = default; };
inline constexpr dont_expect_reply_t dont_expect_reply{};
+ // Helper for static assert
+ template <class... _T> constexpr bool always_false = false;
+
// Template specializations for getting D-Bus signatures from C++ types
- template <typename _T>
+ template <typename _T, typename _Enable = void>
struct signature_of
{
static constexpr bool is_valid = false;
@@ -106,9 +110,9 @@
static const std::string str()
{
- // sizeof(_T) < 0 is here to make compiler not being able to figure out
- // the assertion expression before the template instantiation takes place.
- static_assert(sizeof(_T) < 0, "Unknown DBus type");
+ // See using-sdbus-c++.md, section "Extending sdbus-c++ type system",
+ // on how to teach sdbus-c++ about your custom types
+ static_assert(always_false<_T>, "Unsupported DBus type (template specializations are needed for your custom types)");
return "";
}
};
@@ -120,7 +124,7 @@
template <typename _T>
struct signature_of<_T&>
- : public signature_of<_T>
+ : public signature_of<_T>
{};
template <>
@@ -331,6 +335,10 @@
}
};
+ template <typename... Elements>
+ struct signature_of<std::variant<Elements...>> : signature_of<Variant>
+ {};
+
template <>
struct signature_of<ObjectPath>
{
@@ -405,6 +413,12 @@
};
#endif
+ template <typename _Enum>
+ struct signature_of<_Enum, typename std::enable_if_t<std::is_enum_v<_Enum>>>
+ : public signature_of<std::underlying_type_t<_Enum>>
+ {};
+
+
template <typename _Key, typename _Value, typename _Compare, typename _Allocator>
struct signature_of<std::map<_Key, _Value, _Compare, _Allocator>>
{
@@ -429,7 +443,6 @@
}
};
-
// Function traits implementation inspired by (c) kennytm,
// https://github.com/kennytm/utils/blob/master/traits.hpp
template <typename _Type>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/include/sdbus-c++/Types.h new/sdbus-cpp-1.6.0/include/sdbus-c++/Types.h
--- old/sdbus-cpp-1.5.0/include/sdbus-c++/Types.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/include/sdbus-c++/Types.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file Types.h
*
@@ -65,6 +65,14 @@
msg_.seal();
}
+ template <typename... _Elements>
+ Variant(const std::variant<_Elements...>& value)
+ : Variant()
+ {
+ msg_ << value;
+ msg_.seal();
+ }
+
template <typename _ValueType>
_ValueType get() const
{
@@ -83,6 +91,15 @@
return get<_ValueType>();
}
+ template <typename... _Elements>
+ operator std::variant<_Elements...>() const
+ {
+ std::variant<_Elements...> result;
+ msg_.rewind(false);
+ msg_ >> result;
+ return result;
+ }
+
template <typename _Type>
bool containsValueOfType() const
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/include/sdbus-c++/sdbus-c++.h new/sdbus-cpp-1.6.0/include/sdbus-c++/sdbus-c++.h
--- old/sdbus-cpp-1.5.0/include/sdbus-c++/sdbus-c++.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/include/sdbus-c++/sdbus-c++.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file sdbus-c++.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/src/Connection.cpp new/sdbus-cpp-1.6.0/src/Connection.cpp
--- old/sdbus-cpp-1.5.0/src/Connection.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/src/Connection.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file Connection.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/src/Connection.h new/sdbus-cpp-1.6.0/src/Connection.h
--- old/sdbus-cpp-1.5.0/src/Connection.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/src/Connection.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file Connection.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/src/Error.cpp new/sdbus-cpp-1.6.0/src/Error.cpp
--- old/sdbus-cpp-1.5.0/src/Error.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/src/Error.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file Error.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/src/Flags.cpp new/sdbus-cpp-1.6.0/src/Flags.cpp
--- old/sdbus-cpp-1.5.0/src/Flags.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/src/Flags.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file Flags.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/src/IConnection.h new/sdbus-cpp-1.6.0/src/IConnection.h
--- old/sdbus-cpp-1.5.0/src/IConnection.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/src/IConnection.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file IConnection.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/src/ISdBus.h new/sdbus-cpp-1.6.0/src/ISdBus.h
--- old/sdbus-cpp-1.5.0/src/ISdBus.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/src/ISdBus.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file ISdBus.h
* @author Ardazishvili Roman (ardazishvili.roman(a)yandex.ru)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/src/Message.cpp new/sdbus-cpp-1.6.0/src/Message.cpp
--- old/sdbus-cpp-1.5.0/src/Message.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/src/Message.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file Message.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/src/MessageUtils.h new/sdbus-cpp-1.6.0/src/MessageUtils.h
--- old/sdbus-cpp-1.5.0/src/MessageUtils.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/src/MessageUtils.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file MessageUtils.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/src/Object.cpp new/sdbus-cpp-1.6.0/src/Object.cpp
--- old/sdbus-cpp-1.5.0/src/Object.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/src/Object.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file Object.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/src/Object.h new/sdbus-cpp-1.6.0/src/Object.h
--- old/sdbus-cpp-1.5.0/src/Object.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/src/Object.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file Object.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/src/Proxy.cpp new/sdbus-cpp-1.6.0/src/Proxy.cpp
--- old/sdbus-cpp-1.5.0/src/Proxy.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/src/Proxy.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file Proxy.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/src/Proxy.h new/sdbus-cpp-1.6.0/src/Proxy.h
--- old/sdbus-cpp-1.5.0/src/Proxy.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/src/Proxy.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file Proxy.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/src/ScopeGuard.h new/sdbus-cpp-1.6.0/src/ScopeGuard.h
--- old/sdbus-cpp-1.5.0/src/ScopeGuard.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/src/ScopeGuard.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file ScopeGuard.h
*
@@ -27,6 +27,7 @@
#ifndef SDBUS_CPP_INTERNAL_SCOPEGUARD_H_
#define SDBUS_CPP_INTERNAL_SCOPEGUARD_H_
+#include <exception>
#include <utility>
// Straightforward, modern, easy-to-use RAII utility to perform work on scope exit in an exception-safe manner.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/src/SdBus.cpp new/sdbus-cpp-1.6.0/src/SdBus.cpp
--- old/sdbus-cpp-1.5.0/src/SdBus.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/src/SdBus.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file SdBus.cpp
* @author Ardazishvili Roman (ardazishvili.roman(a)yandex.ru)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/src/SdBus.h new/sdbus-cpp-1.6.0/src/SdBus.h
--- old/sdbus-cpp-1.5.0/src/SdBus.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/src/SdBus.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file SdBus.h
* @author Ardazishvili Roman (ardazishvili.roman(a)yandex.ru)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/src/Types.cpp new/sdbus-cpp-1.6.0/src/Types.cpp
--- old/sdbus-cpp-1.5.0/src/Types.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/src/Types.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file Types.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/src/Utils.h new/sdbus-cpp-1.6.0/src/Utils.h
--- old/sdbus-cpp-1.5.0/src/Utils.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/src/Utils.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file Utils.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/src/VTableUtils.c new/sdbus-cpp-1.6.0/src/VTableUtils.c
--- old/sdbus-cpp-1.5.0/src/VTableUtils.c 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/src/VTableUtils.c 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file VTableUtils.c
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/src/VTableUtils.h new/sdbus-cpp-1.6.0/src/VTableUtils.h
--- old/sdbus-cpp-1.5.0/src/VTableUtils.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/src/VTableUtils.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file VTableUtils.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/integrationtests/DBusAsyncMethodsTests.cpp new/sdbus-cpp-1.6.0/tests/integrationtests/DBusAsyncMethodsTests.cpp
--- old/sdbus-cpp-1.5.0/tests/integrationtests/DBusAsyncMethodsTests.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/integrationtests/DBusAsyncMethodsTests.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file DBusAsyncMethodsTests.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/integrationtests/DBusConnectionTests.cpp new/sdbus-cpp-1.6.0/tests/integrationtests/DBusConnectionTests.cpp
--- old/sdbus-cpp-1.5.0/tests/integrationtests/DBusConnectionTests.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/integrationtests/DBusConnectionTests.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file DBusConnectionTests.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/integrationtests/DBusGeneralTests.cpp new/sdbus-cpp-1.6.0/tests/integrationtests/DBusGeneralTests.cpp
--- old/sdbus-cpp-1.5.0/tests/integrationtests/DBusGeneralTests.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/integrationtests/DBusGeneralTests.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file DBusGeneralTests.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/integrationtests/DBusMethodsTests.cpp new/sdbus-cpp-1.6.0/tests/integrationtests/DBusMethodsTests.cpp
--- old/sdbus-cpp-1.5.0/tests/integrationtests/DBusMethodsTests.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/integrationtests/DBusMethodsTests.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file DBusMethodsTests.cpp
*
@@ -98,6 +98,13 @@
ASSERT_THAT(variantRes.get<int32_t>(), Eq(static_cast<int32_t>(DOUBLE_VALUE)));
}
+TEST_F(SdbusTestObject, CallsMethodWithStdVariantSuccesfully)
+{
+ std::variant<int32_t, double, std::string> v{DOUBLE_VALUE};
+ auto variantRes = m_proxy->processVariant(v);
+ ASSERT_THAT(std::get<int32_t>(variantRes), Eq(static_cast<int32_t>(DOUBLE_VALUE)));
+}
+
TEST_F(SdbusTestObject, CallsMethodWithStructVariantsAndGetMapSuccesfully)
{
std::vector<int32_t> x{-2, 0, 2};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/integrationtests/DBusPropertiesTests.cpp new/sdbus-cpp-1.6.0/tests/integrationtests/DBusPropertiesTests.cpp
--- old/sdbus-cpp-1.5.0/tests/integrationtests/DBusPropertiesTests.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/integrationtests/DBusPropertiesTests.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file DBusPropertiesTests.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/integrationtests/DBusSignalsTests.cpp new/sdbus-cpp-1.6.0/tests/integrationtests/DBusSignalsTests.cpp
--- old/sdbus-cpp-1.5.0/tests/integrationtests/DBusSignalsTests.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/integrationtests/DBusSignalsTests.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file AdaptorAndProxy_test.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/integrationtests/DBusStandardInterfacesTests.cpp new/sdbus-cpp-1.6.0/tests/integrationtests/DBusStandardInterfacesTests.cpp
--- old/sdbus-cpp-1.5.0/tests/integrationtests/DBusStandardInterfacesTests.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/integrationtests/DBusStandardInterfacesTests.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file DBusStandardInterfacesTests.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/integrationtests/Defs.h new/sdbus-cpp-1.6.0/tests/integrationtests/Defs.h
--- old/sdbus-cpp-1.5.0/tests/integrationtests/Defs.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/integrationtests/Defs.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file Defs.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/integrationtests/TestAdaptor.cpp new/sdbus-cpp-1.6.0/tests/integrationtests/TestAdaptor.cpp
--- old/sdbus-cpp-1.5.0/tests/integrationtests/TestAdaptor.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/integrationtests/TestAdaptor.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file TestAdaptor.cpp
*
@@ -75,9 +75,9 @@
return res;
}
-sdbus::Variant TestAdaptor::processVariant(const sdbus::Variant& v)
+sdbus::Variant TestAdaptor::processVariant(const std::variant<int32_t, double, std::string>& v)
{
- sdbus::Variant res{static_cast<int32_t>(v.get<double>())};
+ sdbus::Variant res{static_cast<int32_t>(std::get<double>(v))};
return res;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/integrationtests/TestAdaptor.h new/sdbus-cpp-1.6.0/tests/integrationtests/TestAdaptor.h
--- old/sdbus-cpp-1.5.0/tests/integrationtests/TestAdaptor.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/integrationtests/TestAdaptor.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file TestAdaptor.h
*
@@ -66,7 +66,7 @@
double multiply(const int64_t& a, const double& b) override;
void multiplyWithNoReply(const int64_t& a, const double& b) override;
std::vector<int16_t> getInts16FromStruct(const sdbus::Struct<uint8_t, int16_t, double, std::string, std::vector<int16_t>>& arg0) override;
- sdbus::Variant processVariant(const sdbus::Variant& variant) override;
+ sdbus::Variant processVariant(const std::variant<int32_t, double, std::string>& variant) override;
std::map<int32_t, sdbus::Variant> getMapOfVariants(const std::vector<int32_t>& x, const sdbus::Struct<sdbus::Variant, sdbus::Variant>& y) override;
sdbus::Struct<std::string, sdbus::Struct<std::map<int32_t, int32_t>>> getStructInStruct() override;
int32_t sumStructItems(const sdbus::Struct<uint8_t, uint16_t>& arg0, const sdbus::Struct<int32_t, int64_t>& arg1) override;
@@ -123,7 +123,7 @@
double multiply(const int64_t&, const double&) override { return {}; }
void multiplyWithNoReply(const int64_t&, const double&) override {}
std::vector<int16_t> getInts16FromStruct(const sdbus::Struct<uint8_t, int16_t, double, std::string, std::vector<int16_t>>&) override { return {}; }
- sdbus::Variant processVariant(const sdbus::Variant&) override { return {}; }
+ sdbus::Variant processVariant(const std::variant<int32_t, double, std::string>&) override { return {}; }
std::map<int32_t, sdbus::Variant> getMapOfVariants(const std::vector<int32_t>&, const sdbus::Struct<sdbus::Variant, sdbus::Variant>&) override { return {}; }
sdbus::Struct<std::string, sdbus::Struct<std::map<int32_t, int32_t>>> getStructInStruct() override { return {}; }
int32_t sumStructItems(const sdbus::Struct<uint8_t, uint16_t>&, const sdbus::Struct<int32_t, int64_t>&) override { return {}; }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/integrationtests/TestFixture.cpp new/sdbus-cpp-1.6.0/tests/integrationtests/TestFixture.cpp
--- old/sdbus-cpp-1.5.0/tests/integrationtests/TestFixture.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/integrationtests/TestFixture.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file TestAdaptor.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/integrationtests/TestFixture.h new/sdbus-cpp-1.6.0/tests/integrationtests/TestFixture.h
--- old/sdbus-cpp-1.5.0/tests/integrationtests/TestFixture.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/integrationtests/TestFixture.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file TestAdaptor.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/integrationtests/TestProxy.cpp new/sdbus-cpp-1.6.0/tests/integrationtests/TestProxy.cpp
--- old/sdbus-cpp-1.5.0/tests/integrationtests/TestProxy.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/integrationtests/TestProxy.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file TestAdaptor.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/integrationtests/TestProxy.h new/sdbus-cpp-1.6.0/tests/integrationtests/TestProxy.h
--- old/sdbus-cpp-1.5.0/tests/integrationtests/TestProxy.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/integrationtests/TestProxy.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file TestAdaptor.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/integrationtests/integrationtests-adaptor.h new/sdbus-cpp-1.6.0/tests/integrationtests/integrationtests-adaptor.h
--- old/sdbus-cpp-1.5.0/tests/integrationtests/integrationtests-adaptor.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/integrationtests/integrationtests-adaptor.h 2024-04-24 20:04:34.000000000 +0200
@@ -29,7 +29,7 @@
object_->registerMethod("multiply").onInterface(INTERFACE_NAME).withInputParamNames("a", "b").withOutputParamNames("result").implementedAs([this](const int64_t& a, const double& b){ return this->multiply(a, b); });
object_->registerMethod("multiplyWithNoReply").onInterface(INTERFACE_NAME).withInputParamNames("a", "b").implementedAs([this](const int64_t& a, const double& b){ return this->multiplyWithNoReply(a, b); }).markAsDeprecated().withNoReply();
object_->registerMethod("getInts16FromStruct").onInterface(INTERFACE_NAME).withInputParamNames("arg0").withOutputParamNames("arg0").implementedAs([this](const sdbus::Struct<uint8_t, int16_t, double, std::string, std::vector<int16_t>>& arg0){ return this->getInts16FromStruct(arg0); });
- object_->registerMethod("processVariant").onInterface(INTERFACE_NAME).withInputParamNames("variant").withOutputParamNames("result").implementedAs([this](const sdbus::Variant& variant){ return this->processVariant(variant); });
+ object_->registerMethod("processVariant").onInterface(INTERFACE_NAME).withInputParamNames("variant").withOutputParamNames("result").implementedAs([this](const std::variant<int32_t, double, std::string>& variant){ return this->processVariant(variant); });
object_->registerMethod("getMapOfVariants").onInterface(INTERFACE_NAME).withInputParamNames("x", "y").withOutputParamNames("aMapOfVariants").implementedAs([this](const std::vector<int32_t>& x, const sdbus::Struct<sdbus::Variant, sdbus::Variant>& y){ return this->getMapOfVariants(x, y); });
object_->registerMethod("getStructInStruct").onInterface(INTERFACE_NAME).withOutputParamNames("aMapOfVariants").implementedAs([this](){ return this->getStructInStruct(); });
object_->registerMethod("sumStructItems").onInterface(INTERFACE_NAME).withInputParamNames("arg0", "arg1").withOutputParamNames("arg0").implementedAs([this](const sdbus::Struct<uint8_t, uint16_t>& arg0, const sdbus::Struct<int32_t, int64_t>& arg1){ return this->sumStructItems(arg0, arg1); });
@@ -82,7 +82,7 @@
virtual double multiply(const int64_t& a, const double& b) = 0;
virtual void multiplyWithNoReply(const int64_t& a, const double& b) = 0;
virtual std::vector<int16_t> getInts16FromStruct(const sdbus::Struct<uint8_t, int16_t, double, std::string, std::vector<int16_t>>& arg0) = 0;
- virtual sdbus::Variant processVariant(const sdbus::Variant& variant) = 0;
+ virtual sdbus::Variant processVariant(const std::variant<int32_t, double, std::string>& variant) = 0;
virtual std::map<int32_t, sdbus::Variant> getMapOfVariants(const std::vector<int32_t>& x, const sdbus::Struct<sdbus::Variant, sdbus::Variant>& y) = 0;
virtual sdbus::Struct<std::string, sdbus::Struct<std::map<int32_t, int32_t>>> getStructInStruct() = 0;
virtual int32_t sumStructItems(const sdbus::Struct<uint8_t, uint16_t>& arg0, const sdbus::Struct<int32_t, int64_t>& arg1) = 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/integrationtests/integrationtests-proxy.h new/sdbus-cpp-1.6.0/tests/integrationtests/integrationtests-proxy.h
--- old/sdbus-cpp-1.5.0/tests/integrationtests/integrationtests-proxy.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/integrationtests/integrationtests-proxy.h 2024-04-24 20:04:34.000000000 +0200
@@ -84,6 +84,13 @@
return result;
}
+ std::variant<int32_t, double, std::string> processVariant(const std::variant<int32_t, double, std::string>& variant)
+ {
+ std::variant<int32_t, double, std::string> result;
+ proxy_->callMethod("processVariant").onInterface(INTERFACE_NAME).withArguments(variant).storeResultsTo(result);
+ return result;
+ }
+
std::map<int32_t, sdbus::Variant> getMapOfVariants(const std::vector<int32_t>& x, const sdbus::Struct<sdbus::Variant, sdbus::Variant>& y)
{
std::map<int32_t, sdbus::Variant> result;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/integrationtests/sdbus-c++-integration-tests.cpp new/sdbus-cpp-1.6.0/tests/integrationtests/sdbus-c++-integration-tests.cpp
--- old/sdbus-cpp-1.5.0/tests/integrationtests/sdbus-c++-integration-tests.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/integrationtests/sdbus-c++-integration-tests.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file sdbus-c++-integration-tests.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/perftests/client.cpp new/sdbus-cpp-1.6.0/tests/perftests/client.cpp
--- old/sdbus-cpp-1.5.0/tests/perftests/client.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/perftests/client.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,5 +1,6 @@
/**
- * (C) 2019 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
+ * (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file client.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/perftests/server.cpp new/sdbus-cpp-1.6.0/tests/perftests/server.cpp
--- old/sdbus-cpp-1.5.0/tests/perftests/server.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/perftests/server.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,5 +1,6 @@
/**
- * (C) 2019 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
+ * (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file server.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/stresstests/sdbus-c++-stress-tests.cpp new/sdbus-cpp-1.6.0/tests/stresstests/sdbus-c++-stress-tests.cpp
--- old/sdbus-cpp-1.5.0/tests/stresstests/sdbus-c++-stress-tests.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/stresstests/sdbus-c++-stress-tests.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,5 +1,6 @@
/**
- * (C) 2019 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
+ * (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file sdbus-c++-stress-tests.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/unittests/Connection_test.cpp new/sdbus-cpp-1.6.0/tests/unittests/Connection_test.cpp
--- old/sdbus-cpp-1.5.0/tests/unittests/Connection_test.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/unittests/Connection_test.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file Connection_test.cpp
* @author Ardazishvili Roman (ardazishvili.roman(a)yandex.ru)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/unittests/Message_test.cpp new/sdbus-cpp-1.6.0/tests/unittests/Message_test.cpp
--- old/sdbus-cpp-1.5.0/tests/unittests/Message_test.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/unittests/Message_test.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file Message_test.cpp
*
@@ -347,6 +347,24 @@
}
#endif
+TEST(AMessage, CanCarryAnEnumValue)
+{
+ auto msg = sdbus::createPlainMessage();
+
+ enum class EnumA : int16_t {X = 5} aWritten{EnumA::X};
+ enum EnumB {Y = 11} bWritten{EnumB::Y};
+
+ msg << aWritten << bWritten;
+ msg.seal();
+
+ EnumA aRead{};
+ EnumB bRead{};
+ msg >> aRead >> bRead;
+
+ ASSERT_THAT(aRead, Eq(aWritten));
+ ASSERT_THAT(bRead, Eq(bWritten));
+}
+
TEST(AMessage, ThrowsWhenDestinationStdArrayIsTooSmallDuringDeserialization)
{
auto msg = sdbus::createPlainMessage();
@@ -483,3 +501,39 @@
ASSERT_THAT(dataRead, Eq(dataWritten));
}
+
+class AMessage : public ::testing::TestWithParam<std::variant<int32_t, std::string, my::Struct>>
+{
+};
+
+TEST_P(AMessage, CanCarryDBusVariantGivenAsStdVariant)
+{
+ auto msg = sdbus::createPlainMessage();
+
+ const std::variant<int32_t, std::string, my::Struct> dataWritten{GetParam()};
+
+ msg << dataWritten;
+ msg.seal();
+
+ std::variant<int32_t, std::string, my::Struct> dataRead;
+ msg >> dataRead;
+
+ ASSERT_THAT(dataRead, Eq(dataWritten));
+}
+
+TEST_P(AMessage, ThrowsWhenDestinationStdVariantHasWrongTypeDuringDeserialization)
+{
+ auto msg = sdbus::createPlainMessage();
+
+ const std::variant<int32_t, std::string, my::Struct> dataWritten{GetParam()};
+
+ msg << dataWritten;
+ msg.seal();
+
+ std::variant<std::vector<bool>> dataRead;
+ ASSERT_THROW(msg >> dataRead, sdbus::Error);
+}
+
+INSTANTIATE_TEST_SUITE_P( StringIntStruct
+ , AMessage
+ , ::testing::Values("hello"s, 1, my::Struct{}));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/unittests/TypeTraits_test.cpp new/sdbus-cpp-1.6.0/tests/unittests/TypeTraits_test.cpp
--- old/sdbus-cpp-1.5.0/tests/unittests/TypeTraits_test.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/unittests/TypeTraits_test.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file TypeTraits_test.cpp
*
@@ -49,6 +49,21 @@
static std::string getDBusTypeSignature();
};
+ enum class SomeEnumClass : uint8_t
+ {
+ A, B, C
+ };
+
+ enum struct SomeEnumStruct : int64_t
+ {
+ A, B, C
+ };
+
+ enum SomeClassicEnum
+ {
+ A, B, C
+ };
+
#define TYPE(...) \
template <> \
std::string Type2DBusTypeSignatureConversion<__VA_ARGS__>::getDBusTypeSignature() \
@@ -78,9 +93,13 @@
TYPE(sdbus::Struct<uint16_t, double, std::string, sdbus::Variant>)HAS_DBUS_TYPE_SIGNATURE("(qdsv)")
TYPE(std::vector<int16_t>)HAS_DBUS_TYPE_SIGNATURE("an")
TYPE(std::array<int16_t, 3>)HAS_DBUS_TYPE_SIGNATURE("an")
+ TYPE(std::variant<int16_t, std::string>)HAS_DBUS_TYPE_SIGNATURE("v")
#if __cplusplus >= 202002L
- TYPE(std::span<int16_t>)HAS_DBUS_TYPE_SIGNATURE("ao")
+ TYPE(std::span<int16_t>)HAS_DBUS_TYPE_SIGNATURE("an")
#endif
+ TYPE(SomeEnumClass)HAS_DBUS_TYPE_SIGNATURE("y")
+ TYPE(SomeEnumStruct)HAS_DBUS_TYPE_SIGNATURE("x")
+ TYPE(SomeClassicEnum)HAS_DBUS_TYPE_SIGNATURE("u")
TYPE(std::map<int32_t, int64_t>)HAS_DBUS_TYPE_SIGNATURE("a{ix}")
TYPE(std::unordered_map<int32_t, int64_t>)HAS_DBUS_TYPE_SIGNATURE("a{ix}")
using ComplexType = std::map<
@@ -124,9 +143,13 @@
, sdbus::Struct<uint16_t, double, std::string, sdbus::Variant>
, std::vector<int16_t>
, std::array<int16_t, 3>
+ , std::variant<int16_t, std::string>
#if __cplusplus >= 202002L
, std::span<int16_t>
#endif
+ , SomeEnumClass
+ , SomeEnumStruct
+ , SomeClassicEnum
, std::map<int32_t, int64_t>
, std::unordered_map<int32_t, int64_t>
, ComplexType
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/unittests/Types_test.cpp new/sdbus-cpp-1.6.0/tests/unittests/Types_test.cpp
--- old/sdbus-cpp-1.5.0/tests/unittests/Types_test.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/unittests/Types_test.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file Types_test.cpp
*
@@ -72,6 +72,19 @@
ASSERT_NO_THROW(sdbus::Variant{value});
}
+TEST(AVariant, CanBeConstructedFromAnStdVariant)
+{
+ using ComplexType = std::vector<sdbus::Struct<std::string, double>>;
+ using StdVariantType = std::variant<std::string, uint64_t, ComplexType>;
+ ComplexType value{{"hello"s, ANY_DOUBLE}, {"world"s, ANY_DOUBLE}};
+ StdVariantType stdVariant{value};
+
+ sdbus::Variant sdbusVariant{stdVariant};
+
+ ASSERT_TRUE(sdbusVariant.containsValueOfType<ComplexType>());
+ ASSERT_THAT(sdbusVariant.get<ComplexType>(), Eq(value));
+}
+
TEST(AVariant, CanBeCopied)
{
auto value = "hello"s;
@@ -130,6 +143,30 @@
ASSERT_TRUE(variant.containsValueOfType<ComplexType>());
}
+TEST(AVariant, CanBeConvertedIntoAnStdVariant)
+{
+ using ComplexType = std::vector<sdbus::Struct<std::string, double>>;
+ using StdVariantType = std::variant<std::string, uint64_t, ComplexType>;
+ ComplexType value{{"hello"s, ANY_DOUBLE}, {"world"s, ANY_DOUBLE}};
+ sdbus::Variant sdbusVariant{value};
+ StdVariantType stdVariant{sdbusVariant};
+
+ ASSERT_TRUE(std::holds_alternative<ComplexType>(stdVariant));
+ ASSERT_THAT(std::get<ComplexType>(stdVariant), Eq(value));
+}
+
+TEST(AVariant, IsImplicitlyInterchangeableWithStdVariant)
+{
+ using ComplexType = std::vector<sdbus::Struct<std::string, double>>;
+ using StdVariantType = std::variant<std::string, uint64_t, ComplexType>;
+ ComplexType value{{"hello"s, ANY_DOUBLE}, {"world"s, ANY_DOUBLE}};
+ StdVariantType stdVariant{value};
+
+ auto stdVariantCopy = [](const sdbus::Variant &v) -> StdVariantType { return v; }(stdVariant);
+
+ ASSERT_THAT(stdVariantCopy, Eq(stdVariant));
+}
+
TEST(ASimpleVariant, ReturnsFalseWhenAskedIfItContainsTypeItDoesntReallyContain)
{
int value = 5;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/unittests/mocks/SdBusMock.h new/sdbus-cpp-1.6.0/tests/unittests/mocks/SdBusMock.h
--- old/sdbus-cpp-1.5.0/tests/unittests/mocks/SdBusMock.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/unittests/mocks/SdBusMock.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file SdBusMock.h
* @author Ardazishvili Roman (ardazishvili.roman(a)yandex.ru)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tests/unittests/sdbus-c++-unit-tests.cpp new/sdbus-cpp-1.6.0/tests/unittests/sdbus-c++-unit-tests.cpp
--- old/sdbus-cpp-1.5.0/tests/unittests/sdbus-c++-unit-tests.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tests/unittests/sdbus-c++-unit-tests.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file sdbus-c++-unit-tests.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tools/CMakeLists.txt new/sdbus-cpp-1.6.0/tools/CMakeLists.txt
--- old/sdbus-cpp-1.5.0/tools/CMakeLists.txt 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tools/CMakeLists.txt 2024-04-24 20:04:34.000000000 +0200
@@ -4,7 +4,7 @@
cmake_minimum_required(VERSION 3.5)
-project(sdbus-c++-tools VERSION 1.5.0)
+project(sdbus-c++-tools VERSION 1.6.0)
include(GNUInstallDirs)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tools/xml2cpp-codegen/AdaptorGenerator.cpp new/sdbus-cpp-1.6.0/tools/xml2cpp-codegen/AdaptorGenerator.cpp
--- old/sdbus-cpp-1.5.0/tools/xml2cpp-codegen/AdaptorGenerator.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tools/xml2cpp-codegen/AdaptorGenerator.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file AdaptorGenerator.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tools/xml2cpp-codegen/AdaptorGenerator.h new/sdbus-cpp-1.6.0/tools/xml2cpp-codegen/AdaptorGenerator.h
--- old/sdbus-cpp-1.5.0/tools/xml2cpp-codegen/AdaptorGenerator.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tools/xml2cpp-codegen/AdaptorGenerator.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file AdaptorGenerator.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tools/xml2cpp-codegen/BaseGenerator.cpp new/sdbus-cpp-1.6.0/tools/xml2cpp-codegen/BaseGenerator.cpp
--- old/sdbus-cpp-1.5.0/tools/xml2cpp-codegen/BaseGenerator.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tools/xml2cpp-codegen/BaseGenerator.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file BaseGenerator.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tools/xml2cpp-codegen/BaseGenerator.h new/sdbus-cpp-1.6.0/tools/xml2cpp-codegen/BaseGenerator.h
--- old/sdbus-cpp-1.5.0/tools/xml2cpp-codegen/BaseGenerator.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tools/xml2cpp-codegen/BaseGenerator.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file BaseGenerator.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tools/xml2cpp-codegen/ProxyGenerator.cpp new/sdbus-cpp-1.6.0/tools/xml2cpp-codegen/ProxyGenerator.cpp
--- old/sdbus-cpp-1.5.0/tools/xml2cpp-codegen/ProxyGenerator.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tools/xml2cpp-codegen/ProxyGenerator.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file ProxyGenerator.cpp
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tools/xml2cpp-codegen/ProxyGenerator.h new/sdbus-cpp-1.6.0/tools/xml2cpp-codegen/ProxyGenerator.h
--- old/sdbus-cpp-1.5.0/tools/xml2cpp-codegen/ProxyGenerator.h 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tools/xml2cpp-codegen/ProxyGenerator.h 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file ProxyGenerator.h
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbus-cpp-1.5.0/tools/xml2cpp-codegen/xml2cpp.cpp new/sdbus-cpp-1.6.0/tools/xml2cpp-codegen/xml2cpp.cpp
--- old/sdbus-cpp-1.5.0/tools/xml2cpp-codegen/xml2cpp.cpp 2024-02-26 08:29:35.000000000 +0100
+++ new/sdbus-cpp-1.6.0/tools/xml2cpp-codegen/xml2cpp.cpp 2024-04-24 20:04:34.000000000 +0200
@@ -1,6 +1,6 @@
/**
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
- * (C) 2016 - 2022 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
+ * (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic(a)protonmail.com>
*
* @file xml2cpp.cpp
*
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package topgrade for openSUSE:Factory checked in at 2024-04-25 20:49:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/topgrade (Old)
and /work/SRC/openSUSE:Factory/.topgrade.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "topgrade"
Thu Apr 25 20:49:31 2024 rev:5 rq:1170070 version:14.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/topgrade/topgrade.changes 2024-04-18 22:13:27.747369923 +0200
+++ /work/SRC/openSUSE:Factory/.topgrade.new.1880/topgrade.changes 2024-04-25 20:49:32.306864712 +0200
@@ -1,0 +2,6 @@
+Wed Apr 24 18:26:23 UTC 2024 - Nicolas FORMICHELLA <stigpro(a)outlook.fr>
+
+- Upgrade dependencies
+ * Fix boo#1223244/CVE-2024-32650 by pushing rustls to 0.21.11
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _service ++++++
--- /var/tmp/diff_new_pack.GUVfkL/_old 2024-04-25 20:49:33.802919645 +0200
+++ /var/tmp/diff_new_pack.GUVfkL/_new 2024-04-25 20:49:33.810919939 +0200
@@ -12,7 +12,7 @@
name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
<param
- name="changesauthor">gerald_chen(a)foxmail.com</param>
+ name="changesauthor">stigpro(a)outlook.fr</param>
</service>
<service mode="disabled" name="tar" />
<service mode="disabled" name="recompress">
++++++ vendor.tar.zst ++++++
Binary files /var/tmp/diff_new_pack.GUVfkL/_old and /var/tmp/diff_new_pack.GUVfkL/_new differ
1
0