Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package dssim for openSUSE:Factory checked 
in at 2023-04-07 18:16:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dssim (Old)
 and      /work/SRC/openSUSE:Factory/.dssim.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dssim"

Fri Apr  7 18:16:53 2023 rev:2 rq:1077780 version:3.2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/dssim/dssim.changes      2017-08-24 
18:30:08.105575518 +0200
+++ /work/SRC/openSUSE:Factory/.dssim.new.19717/dssim.changes   2023-04-07 
18:16:57.336762927 +0200
@@ -1,0 +2,16 @@
+Mon Jan 30 11:57:16 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 3.2.3:
+  * 25% faster
+  * WASM compatibility
+  * use more accurate pooling algorithm
+  * rewrite in Rust
+  * Chroma channels are compared at full resolution. 
+  * This increases accuracy on images with chroma subsampling.
+  * All scaling is done in linear-light premultiplied-alpha color
+    space, which further increases accuracy.
+  * Safe and reliable code. No more dodgy pointer manipulatio n
+  * Fixed handling of PNG files with invalid chunks
+  * Fixed handling of color channels smaller than 8 pixels
+
+-------------------------------------------------------------------

Old:
----
  dssim-1.3.2.tar.gz

New:
----
  _service
  cargo_config
  dssim-3.2.3.tar.gz
  vendor.tar.gz

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

Other differences:
------------------
++++++ dssim.spec ++++++
--- /var/tmp/diff_new_pack.krbcDA/_old  2023-04-07 18:16:58.252768204 +0200
+++ /var/tmp/diff_new_pack.krbcDA/_new  2023-04-07 18:16:58.260768250 +0200
@@ -1,6 +1,7 @@
 #
 # spec file for package dssim
 #
+# Copyright (c) 2023 SUSE LLC
 # Copyright (c) 2017, Martin Hauke <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -12,40 +13,40 @@
 # 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:           dssim
-Version:        1.3.2
+Version:        3.2.3
 Release:        0
 Summary:        This tool computes (dis)similarity between two (or more) PNG 
images
-License:        AGPL-3.0
+License:        AGPL-3.0-only
 Group:          Productivity/Graphics/Other
-Url:            https://kornel.ski/dssim
+URL:            https://kornel.ski/dssim
 Source:         
https://github.com/pornel/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
-BuildRequires:  pkg-config
-BuildRequires:  pkgconfig(libpng)
-BuildRequires:  pkgconfig(libpng16)
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Source1:        vendor.tar.gz
+Source2:        cargo_config
+BuildRequires:  cargo-packaging
 
 %description
 This tool computes (dis)similarity between two PNG images using 
 (my approximation of) algorithms approximating human vision.
 
 %prep
-%setup -q
+%autosetup -a1
+mkdir -p .cargo
+cp %{SOURCE2} .cargo/config
 
 %build
-make CFLAGS='%{optflags} -std=c99' %{?_smp_mflags}
+%{cargo_build}
 
 %install
-install -d %{buildroot}%{_bindir}
-install -m 0755 bin/dssim %{buildroot}%{_bindir}/dssim
+%{cargo_install}
 
 %files
-%defattr(-,root,root)
-%doc LICENSE README.md
+%license LICENSE
+%doc README.md
 %{_bindir}/dssim
 
 %changelog

++++++ _service ++++++
<services>
  <service name="download_files" mode="disabled" />
  <service name="cargo_vendor" mode="disabled">
     <param name="srctar">dssim-3.2.3.tar.gz</param>
     <param name="compression">gz</param>
     <param name="update">true</param>
  </service>
  <service name="cargo_audit" mode="disabled" />
</services>


++++++ cargo_config ++++++
[source.crates-io]
replace-with = "vendored-sources"

[source.vendored-sources]
directory = "vendor"
(No newline at EOF)

++++++ dssim-1.3.2.tar.gz -> dssim-3.2.3.tar.gz ++++++
++++ 11017 lines of diff (skipped)

Reply via email to