Hello community,

here is the log from the commit of package macrofusion for openSUSE:Factory 
checked in at 2019-10-02 11:58:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/macrofusion (Old)
 and      /work/SRC/openSUSE:Factory/.macrofusion.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "macrofusion"

Wed Oct  2 11:58:11 2019 rev:4 rq:734097 version:0.7.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/macrofusion/macrofusion.changes  2018-04-25 
10:02:22.216600186 +0200
+++ /work/SRC/openSUSE:Factory/.macrofusion.new.2352/macrofusion.changes        
2019-10-02 11:58:12.947136244 +0200
@@ -1,0 +2,6 @@
+Sat Sep 21 10:34:00 UTC 2019 - [email protected]
+
+- Add frombytes.patch to use Image.frombytes instead of Image.fromstring
+  see 
https://sourceforge.net/p/macrofusion/discussion/Bugs/thread/61e2d731/#1092
+
+-------------------------------------------------------------------

New:
----
  frombytes.patch

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

Other differences:
------------------
++++++ macrofusion.spec ++++++
--- /var/tmp/diff_new_pack.ELsgPi/_old  2019-10-02 11:58:13.411135055 +0200
+++ /var/tmp/diff_new_pack.ELsgPi/_new  2019-10-02 11:58:13.415135044 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package macrofusion
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -20,10 +20,11 @@
 Version:        0.7.4
 Release:        0
 Summary:        GUI to combine photos to get deeper DOF or HDR
-License:        GPL-3.0
+License:        GPL-3.0-only
 Group:          Productivity/Graphics/Other
 Url:            http://sourceforge.net/projects/macrofusion/
 Source:         
https://sourceforge.net/projects/macrofusion/files/%{name}-%{version}/%{name}_%{version}.orig.tar.gz
+Patch0:         frombytes.patch
 BuildRequires:  update-desktop-files
 Requires:       enblend-enfuse >= 4.0
 Requires:       hugin
@@ -44,6 +45,7 @@
 
 %prep
 %setup -q
+%patch0
 sed -e '/Exec/s/macrofusion/macrofusion\.py/' \
     -i %{name}.desktop
 # fixes the shebang line

++++++ frombytes.patch ++++++
--- macrofusion.py.orig 2014-04-22 10:38:35.000000000 +0200
+++ macrofusion.py      2019-08-15 07:49:18.092358112 +0200
@@ -618,7 +618,7 @@
 
     def pixbuf2Image(self, pb):
         width,height = pb.get_width(),pb.get_height()
-        return Image.fromstring("RGB",(width,height),pb.get_pixels() )
+        return Image.frombytes("RGB",(width,height),pb.get_pixels() )
 
     def put_files_to_the_list(self, fichiers):
         

Reply via email to