Hello community,

here is the log from the commit of package fritzing for openSUSE:Factory 
checked in at 2020-06-11 14:52:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fritzing (Old)
 and      /work/SRC/openSUSE:Factory/.fritzing.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fritzing"

Thu Jun 11 14:52:29 2020 rev:23 rq:813312 version:0.9.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/fritzing/fritzing.changes        2018-01-24 
15:28:56.330755412 +0100
+++ /work/SRC/openSUSE:Factory/.fritzing.new.3606/fritzing.changes      
2020-06-11 14:53:21.979034381 +0200
@@ -1,0 +2,28 @@
+Wed Jun 10 18:16:39 UTC 2020 - Thomas Zimmermann <[email protected]>
+
+- Remove version requirement for fritzing-parts,
+  no new parts package was released.
+
+-------------------------------------------------------------------
+Wed May  6 19:21:41 UTC 2020 - Thomas Zimmermann <[email protected]>
+
+- update version to 0.9.4 
+  * fixed memory corruption in autorouter
+  * dropped Qt4 support
+  * new parts were added
+  * A memory leak was fixed
+  * translations were updated
+  * File handling in parts editor was improved
+- Drop patch fritzing-libgit-0.24.patch
+  This patch is applyed upstream ensures
+- Drop patch fritzing-folderutils-fix.patch
+  This patch is applyed upstream
+- Drop patch fritzing-cleanup-build-files.patch
+  This patch is applyed upsteam
+- Drop patch fritzing-restore-qt5.1-compatibility.patch
+  Qt 5.1 support is not needed anymore
+- Add appdata.xml provided by upstream
+- Add patch fritzing-use-system-libgit2.patch
+  Use system libgit2 instead of bundled lib
+
+-------------------------------------------------------------------

Old:
----
  0.9.3b.tar.gz
  fritzing-cleanup-build-files.patch
  fritzing-folderutils-fix.patch
  fritzing-libgit-0.24.patch
  fritzing-restore-qt5.1-compatibility.patch

New:
----
  CD-498.tar.gz
  fritzing-use-system-libgit2.patch

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

Other differences:
------------------
++++++ fritzing.spec ++++++
--- /var/tmp/diff_new_pack.l4RSi6/_old  2020-06-11 14:53:25.183044150 +0200
+++ /var/tmp/diff_new_pack.l4RSi6/_new  2020-06-11 14:53:25.187044162 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package fritzing
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,26 +12,21 @@
 # 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/
 #
 
 
+%define cdversion CD-498
 Name:           fritzing
-Version:        0.9.3b
+Version:        0.9.4
 Release:        0
 Summary:        Electronic Design Automation platform featuring prototype to 
product
-License:        GPL-3.0+
+License:        GPL-3.0-or-later
 Group:          Productivity/Scientific/Electronics
-Url:            http://fritzing.org/
-Source0:        
https://github.com/fritzing/fritzing-app/archive/%{version}.tar.gz
-#PATCH-FIX-UPSTREAM fritzing-restore-qt5.1-compatibility.patch -- this patch 
restores compatibility with Qt5.1
-Patch0:         fritzing-restore-qt5.1-compatibility.patch
-#PATCH-FIX-UPSTREAM fritzing-libgit-0.24.patch -- make fritzing compatible 
with libgit2 > 0.23
-Patch1:         fritzing-libgit-0.24.patch
-#PATCH-FIX-UPSTREAM fritzing-cleanup-build-files.patch -- use system boost, 
libgit and clean up build files
-Patch2:         fritzing-cleanup-build-files.patch
-#PATCH-FIX-UPSTREAM fritzing-folderutils-fix.patch -- fix folderutils to 
properly return parts folder
-Patch3:         fritzing-folderutils-fix.patch
+URL:            http://fritzing.org/
+Source0:        
https://github.com/fritzing/fritzing-app/archive/%{cdversion}.tar.gz
+#PATCH-FIX-OPENSUSE fritzing-use-system-libgit2.patch -- use system libgit, 
upstream wants to use bundled version
+Patch0:         fritzing-use-system-libgit2.patch
 %if 0%{?suse_version} > 1325
 BuildRequires:  libboost_headers-devel
 %else
@@ -51,11 +46,12 @@
 BuildRequires:  libqt5-qtsvg-devel
 Requires:       libQt5Sql5-sqlite
 %endif
-Requires:       fritzing-parts = %{version}
+Requires:       fritzing-parts
 Requires(post):    shared-mime-info
 Requires(postun):  shared-mime-info
 Requires(post):    desktop-file-utils
 Requires(postun):  desktop-file-utils
+BuildRequires:  appstream-glib
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -67,13 +63,10 @@
 prototypes, and to create a PCB layout for manufacturing.
 
 %prep
-%setup -q -n %{name}-app-%{version}
-%patch0 -p2
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%setup -q -n %{name}-app-%{cdversion}
+%patch0 -p1
 sed -i 's/\r$//' LICENSE.CC-BY-SA
-chmod -x LICENSE* readme.md Fritzing.1
+chmod -x LICENSE* README.md Fritzing.1
 
 %build
 # QMAKE_CFLAGS_ISYSTEM= added to work around gcc6 build problems
@@ -82,29 +75,26 @@
 
 %install
 make INSTALL_ROOT=%{buildroot} install
-install -d %{buildroot}%{_datadir}/pixmaps/
-mv %{buildroot}%{_datadir}/icons/fritzing.png %{buildroot}%{_datadir}/pixmaps/
-sed -i '/X-SuSE-translate=false/d' fritzing.desktop
-sed -i '/Version=/d' fritzing.desktop
-sed -i '/Categories=/d' fritzing.desktop
-sed -i 's/icons\/fritzing_icon.png/fritzing/g' fritzing.desktop
-%suse_update_desktop_file -i -r %name Development IDE
+sed -i '/Categories=/d' org.fritzing.Fritzing.desktop
+%suse_update_desktop_file -i -r org.fritzing.Fritzing Development IDE
 find %{buildroot}%{_datadir}/%{name}/ -type f -exec chmod -x {} \;
-rm -rf %{buildroot}%{_datadir}/%{name}/parts
+#rm -rf %{buildroot}%{_datadir}/%{name}/parts
 %fdupes %{buildroot}%{_datadir}/%{name}/sketches
+appstream-util validate-relax --nonet org.fritzing.Fritzing.appdata.xml
 
 %clean
 rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc readme.md LICENSE.GPL2 LICENSE.GPL3 LICENSE.CC-BY-SA
+%doc README.md LICENSE.GPL2 LICENSE.GPL3 LICENSE.CC-BY-SA
 %{_bindir}/Fritzing
 %{_datadir}/%{name}/
 %{_datadir}/pixmaps/%{name}.png
-%{_datadir}/applications/fritzing.desktop
+%{_datadir}/applications/org.fritzing.Fritzing.desktop
 %{_mandir}/man1/Fritzing.*
 %{_datadir}/mime/packages/*.xml
+%{_datadir}/metainfo/org.fritzing.Fritzing.appdata.xml
 
 %post
 %desktop_database_post

++++++ fritzing-use-system-libgit2.patch ++++++
diff -Nurd fritzing-app-CD-498/phoenix.pro fritzing-app-CD-498.new/phoenix.pro
--- fritzing-app-CD-498/phoenix.pro     2019-12-01 14:05:45.000000000 +0100
+++ fritzing-app-CD-498.new/phoenix.pro 2020-05-06 20:36:12.869380287 +0200
@@ -166,7 +166,7 @@
 RESOURCES += phoenixresources.qrc
 
 # Disable this if you have (and want) libgit2 dynamically
-LIBGIT_STATIC = true
+LIBGIT_STATIC = false
 include(pri/libgit2detect.pri)
 
 include(pri/boostdetect.pri)
diff -Nurd fritzing-app-CD-498/src/version/partschecker.cpp 
fritzing-app-CD-498.new/src/version/partschecker.cpp
--- fritzing-app-CD-498/src/version/partschecker.cpp    2019-12-01 
14:05:45.000000000 +0100
+++ fritzing-app-CD-498.new/src/version/partschecker.cpp        2020-05-06 
20:44:30.824507804 +0200
@@ -115,8 +115,8 @@
        /**
         * Connect to the remote.
         */
-#if LIBGIT2_VER_MINOR > 24
-       error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks, 
NULL, NULL);
+#if LIBGIT2_VER_MINOR > 24 || LIBGIT2_VER_MAJOR >= 1
+    error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks, NULL, 
NULL);
 #elif LIBGIT2_VER_MINOR == 24
        error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks, 
NULL);
 #else

Reply via email to