Hello community,

here is the log from the commit of package kicad for openSUSE:Leap:15.2 checked 
in at 2020-02-16 18:29:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/kicad (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.kicad.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kicad"

Sun Feb 16 18:29:42 2020 rev:12 rq:772220 version:5.1.5

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/kicad/kicad.changes    2020-01-15 
15:15:53.850257918 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.kicad.new.26092/kicad.changes 2020-02-16 
18:29:59.210770345 +0100
@@ -1,0 +2,144 @@
+Mon Nov 18 22:01:57 UTC 2019 - Stefan Brüns <[email protected]>
+
+- Update to version 5.1.5
+  See http://kicad-pcb.org/blog/2019/11/KiCad-5.1.5-Release/ for details.
+
+-------------------------------------------------------------------
+Wed Aug  7 16:39:35 UTC 2019 - Stefan Brüns <[email protected]>
+
+- Update to minor release 5.1.4
+  See http://kicad-pcb.org/blog/2019/08/KiCad-5.1.4-Release/ for details.
+
+-------------------------------------------------------------------
+Thu Apr 25 13:40:29 UTC 2019 - Stefan Brüns <[email protected]>
+
+- Update to minor release 5.1.2
+  This version contains critical bugfixes and minor improvements.
+  See http://kicad-pcb.org/blog/2019/04/KiCad-5.1.2-Release/ for details.
+
+-------------------------------------------------------------------
+Mon Apr 15 19:07:28 UTC 2019 - Stefan Brüns <[email protected]>
+
+- Update to minor release 5.1.1
+  (Withdrawn due to a critical bug in netlist generation)
+
+-------------------------------------------------------------------
+Fri Apr 12 21:15:36 UTC 2019 - [email protected]
+
+- Enable build for PowerPC, supported since KiCad 5.1.0.
+  Also fixes a recurrent rebuild of kicad-doc, due to it having
+  an unresolvable dependency on kicad.
+
+-------------------------------------------------------------------
+Mon Mar 11 16:35:16 UTC 2019 - Stefan Brüns <[email protected]>
+
+- Update to minor release 5.1.0
+  This version contains critical bugfixes and minor improvements.
+  See http://kicad-pcb.org/blog/2019/03/KiCad-5.1.0-Release/ for details.
+- Remove obsolete kicad-library-repos-install.patch
+- Remove upstream 
0001-Use-absolute-path-CMAKE_INSTALL_FULL_LIBDIR-for-3d-v.patch
+
+-------------------------------------------------------------------
+Tue Feb 19 15:02:02 UTC 2019 - Stefan Brüns <[email protected]>
+
+- Revert broken change for symbol etc. library versions, there is nothing
+  disallowing recent packages.
+- Exclude PPC, not yet supported
+
+-------------------------------------------------------------------
+Tue Feb 19 09:02:41 UTC 2019 - Guillaume GARDET <[email protected]>
+
+- Set disk size constraint to avoid build failure seen on aarch64
+
+-------------------------------------------------------------------
+Wed Dec 12 08:50:24 UTC 2018 - [email protected]
+
+- Allow up to date versions of symbol, footprint, template and 3D 
+  packages.
+
+-------------------------------------------------------------------
+Thu Dec  6 21:15:29 UTC 2018 - Stefan Brüns <[email protected]>
+
+- Update to bugfix release 5.0.2
+  This version contains critical bugfixes and minor improvements.
+  See http://kicad-pcb.org/blog/2018/12/KiCad-5.0.2-Release/ for details.
+- Drop upstreamed 0001-Use-fixed-version-for-libngspice.so.0.patch
+- Drop COPYRIGHT/LICENSE.AGPLv3, both files are included in the tarball now.
+
+-------------------------------------------------------------------
+Fri Oct 26 21:38:17 UTC 2018 - Stefan Brüns <[email protected]>
+
+- Add Requires: libngspice0
+- Fix name for dlopen'ed libngspice.so.0
+  Add 0001-Use-fixed-version-for-libngspice.so.0.patch
+
+-------------------------------------------------------------------
+Thu Oct 18 19:03:17 UTC 2018 - Stefan Brüns <[email protected]>
+
+- Update to bugfix release 5.0.1
+  This version contains critical bugfixes and minor improvements.
+  See http://kicad-pcb.org/blog/2018/10/KiCad-5.0.1-Release/ for details.
+- Do proper fix for 3d plugindir, use absolute LIBDIR instead of
+  deriving it from BINDIR:
+  Add 0001-Use-absolute-path-CMAKE_INSTALL_FULL_LIBDIR-for-3d-v.patch
+- Drop upstream kicad-fix-boost168-build.patch.
+- Add Recommends: for new kicad-templates package
+
+-------------------------------------------------------------------
+Wed Oct 10 11:52:55 UTC 2018 - Stefan Brüns <[email protected]>
+
+- Correct license to GPL-3.0-or-later AND AGPL-3.0-or-later
+  Add LICENSE.AGPLv3 for some included third party code
+
+-------------------------------------------------------------------
+Fri Oct  5 07:52:54 UTC 2018 - [email protected]
+
+- Add build option to fix boo#1107776 kicad: 3D models do not work
+
+-------------------------------------------------------------------
+Mon Oct  1 23:32:40 UTC 2018 - Stefan Brüns <[email protected]>
+
+- Correct license, KiCad 5.0 no longer is GPL-2.0. Stop distributing
+  a wrong license file inside the package.
+
+-------------------------------------------------------------------
+Sat Sep 29 00:56:45 UTC 2018 - Stefan Brüns <[email protected]>
+
+- Enable spice simulator support
+- Install python bindings in python_sitearch
+- Deduplicate pcbnew python binary module
+- Adapt libboost_* BuildRequires for current distribution versions
+- Remove obsolete CMAKE options
+- Set various pathes using using CMAKE options instead of patching
+  files.
+
+-------------------------------------------------------------------
+Tue Sep 18 09:10:20 UTC 2018 - [email protected]
+
+- Fix build against boost-1.68 with kicad-fix-boost168-build.patch.
+
+-------------------------------------------------------------------
+Wed Jul 25 08:51:47 UTC 2018 - [email protected]
+
+- Update to new release version 5.0.0
+- Removed incorporated patches:
+  kicad-4.0.7-remove-internal-CheckCXXSymbolExists.patch,
+  kicad-boost-1_61-boost-context-changes.patch and
+  kicad-set-cxx-version.patch.
+- Rebased kicad-user-library.patch.
+- Upstream changes:
+  This version has many new features and improvments over 4.0.7.
+  See kicad-pcb.org/blog/2018/07/KiCad-5--a-new-generation/ for
+  all the details.
+
+-------------------------------------------------------------------
+Fri May 25 09:05:03 UTC 2018 - [email protected]
+
+- Fix build with CMake 3.11 (deb#897100):
+  * Add kicad-4.0.7-remove-internal-CheckCXXSymbolExists.patch,
+    picked from upstream.
+- Use %license for license file instead of %doc (boo#1082318).
+- Use SPDX 3 license identifier.
+- Don't call empty macros in %post and %postun.
+
+-------------------------------------------------------------------

Old:
----
  COPYRIGHT.txt
  kicad-4.0.7.tar.xz
  kicad-boost-1_61-boost-context-changes.patch
  kicad-library-repos-install.patch
  kicad-set-cxx-version.patch

New:
----
  kicad-5.1.5.tar.xz

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

Other differences:
------------------
++++++ kicad.spec ++++++
--- /var/tmp/diff_new_pack.TVMOOH/_old  2020-02-16 18:30:00.338770935 +0100
+++ /var/tmp/diff_new_pack.TVMOOH/_new  2020-02-16 18:30:00.342770937 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kicad
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,42 +12,31 @@
 # 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/
 #
 
 
+# According to upstream, kicad 5.x.y can be used with the footprint and
+# symbol libraries from version 5.0.0
+%define compatversion 5.0.0
 Name:           kicad
-Version:        4.0.7
+Version:        5.1.5
 Release:        0
 Summary:        EDA software suite for the creation of schematics and PCB
-License:        GPL-2.0+ and GPL-3.0+
+License:        GPL-3.0-or-later AND AGPL-3.0-or-later
 Group:          Productivity/Scientific/Electronics
-Url:            http://kicad-pcb.org
-Source:         
https://launchpad.net/kicad/4.0/%{version}/+download/kicad-%{version}.tar.xz
-# License file was removed due to GPL-3.0+ code
-# 
https://github.com/KiCad/kicad-source-mirror/commit/681090b8ef3a362af75e8ca4417e18622747b63b
-Source2:        COPYRIGHT.txt
+URL:            http://kicad-pcb.org
+Source:         
https://launchpad.net/kicad/5.0/%{version}/+download/kicad-%{version}.tar.xz
 # PATCH-FEATURE-OPENSUSE kicad-user-library.patch -- add user library path
 Patch1:         kicad-user-library.patch
-# PATCH-FEATURE-OPENSUSE kicad-library-repos-install.patch
-Patch2:         kicad-library-repos-install.patch
 # PATCH-FIX-OPENSUSE [email protected] -kicad-suse-help-path.patch - kicad 
looks in /usr/share/doc/kicad for help files and doesn't find them.
-# this patch adds packges/ befor kicad.
+# this patch adds packges/ befor kicad and enables help to function.
 Patch3:         kicad-suse-help-path.patch
-%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
-# PATCH-FIX-UPSTREAM kicad-boost-1_61-boost-context-changes.patch -- Fix build 
with boost 1.61
-Patch4:         kicad-boost-1_61-boost-context-changes.patch
-# PATCH-OPENSUSE kicad-set-cxx-standard.diff -- use C++14 by default and decay 
to 11, required by boost 1.61 patch
-Patch5:         kicad-set-cxx-version.patch
-%endif
-%if 0%{?suse_version} > 1325
-BuildRequires:  libboost_context-devel
+
+%if 0%{?suse_version} >= 1500
 BuildRequires:  libboost_filesystem-devel
-BuildRequires:  libboost_iostreams-devel
-BuildRequires:  libboost_locale-devel
-BuildRequires:  libboost_program_options-devel
-BuildRequires:  libboost_regex-devel
-BuildRequires:  libboost_thread-devel
+BuildRequires:  libboost_system-devel
+BuildRequires:  libboost_test-devel
 %else
 BuildRequires:  boost-devel >= 1.56
 %endif
@@ -55,31 +44,41 @@
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
-BuildRequires:  libcurl-devel
+BuildRequires:  glm-devel
+BuildRequires:  libngspice-devel
+BuildRequires:  oce-devel
 BuildRequires:  pkg-config
-BuildRequires:  python-devel
 BuildRequires:  update-desktop-files
 # Use direct version to avoid problems with wx 3.2
 BuildRequires:  wxWidgets-3_0-devel >= 3
 # Fix bug in old python-wxWidgets-3_0-devel
 BuildRequires:  python-wxWidgets-3_0 >= 3
 BuildRequires:  python-wxWidgets-3_0-devel >= 3
-BuildRequires:  swig
+BuildRequires:  swig >= 3
 BuildRequires:  pkgconfig(bzip2)
 BuildRequires:  pkgconfig(cairo)
 BuildRequires:  pkgconfig(glew)
+BuildRequires:  pkgconfig(libcurl)
 BuildRequires:  pkgconfig(openssl)
+BuildRequires:  pkgconfig(python)
 BuildRequires:  pkgconfig(zlib)
 # Fix directory owner
 BuildRequires:  hicolor-icon-theme
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+# Dlopen'ed simulator library
+Requires:       libngspice0
 Requires:       python-wxWidgets-3_0 >= 3
-# The help function doesn't work without the doc package
+# The help function gives an error without the doc package
 Requires:       %{name}-doc = %{version}
-Recommends:     %{name}-library = %{version}
-Recommends:     %{name}-library-install = %{version}
-Recommends:     %{name}-footprints = %{version}
+# You cannot build a schematic without symbols
+Requires:       %{name}-symbols = %{compatversion}
+# You cannot create a pcb layout without footprints
+Requires:       %{name}-footprints = %{compatversion}
+# Kicad functions without these packages
+Recommends:     %{name}-packages3D = %{compatversion}
+Recommends:     %{name}-templates = %{compatversion}
 Obsoletes:      kicad = 20140120
+Provides:       kicad = %{compatversion}
 
 %description
 Kicad is an open source (GPL) software for the creation of electronic schematic
@@ -91,102 +90,94 @@
 - Gerbview: GERBER file viewer (photoplotter documents).
 - Cvpcb: footprint selector for components association.
 
-%package        library-install
-Summary:        Script for KiCad libraries downloading
-Group:          Productivity/Scientific/Electronics
-Requires:       %{name} = %{version}
-Requires:       curl
-Requires:       git-core
-Requires:       sed
-
-%description    library-install
-Kicad is an open source (GPL) software for the creation of electronic schematic
-diagrams and printed circuit with up to 32 copper layers and additional 
techinical layers.
-
-This package contains script for KiCad libraries downloading.
-
 %prep
 %setup -q -n kicad-%{version}
 %patch1 -p0
-%patch2 -p1
 %patch3
-# patch requires C++11, CMAKE_CXX_STANDARD requires cmake 3.1 -> Leap 42.1 or 
TW
-%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
-%patch4
-%patch5 -p0
-%endif
-
-cp %{SOURCE2} .
-
-# Fix plugin directory
-sed -i 's|KICAD_PLUGINS lib/kicad/plugins|KICAD_PLUGINS 
%{_lib}/kicad/plugins|' CMakeLists.txt
-# Fix documentation directory
-sed -i 's|KICAD_DOCS share/doc/kicad|KICAD_DOCS share/doc/packages/kicad|' 
CMakeLists.txt
 
 %build
-export CFLAGS="%{optflags} -fPIE"
-export CXXFLAGS="$CFLAGS"
+#    -DKICAD_PLUGINS:PATH=%%{_libdir}/kicad/plugins \
+# The above path is for .py scripts and other text files install places these 
files correctly.
+# The KICAD_USER_PLUGIN is for binary plugins.
 %cmake \
-    -DKICAD_REPO_NAME=stable \
-    -DKICAD_BUILD_VERSION=%{version} \
-    -DKICAD_SKIP_BOOST=ON \
+    -DKICAD_VERSION_EXTRA=%{version} \
+    -DKICAD_LIB:PATH=%{_libdir} \
+    -DKICAD_USER_PLUGIN:PATH=%{_libdir}/kicad/plugins \
+    -DKICAD_DOCS:PATH=%{_docdir}/kicad \
+    -DKICAD_DATA:PATH=%{_datadir}/kicad \
     -DBUILD_GITHUB_PLUGIN=ON \
     -DKICAD_SCRIPTING=ON \
     -DKICAD_SCRIPTING_MODULES=ON \
     -DKICAD_SCRIPTING_WXPYTHON=ON \
-    -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now 
-pie"
+    -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now 
-pie" \
+    -DPYTHON_SITE_PACKAGE_PATH=%{python_sitearch} \
+    -DKICAD_SPICE=ON
 
 make %{?_smp_mflags}
 
 %install
 %cmake_install
 
-find %{buildroot}%{_datadir}/kicad/scripting/plugins -name "*.py" -exec chmod 
0644 "{}" "+"
-#Change permissions back for executable scripts
-chmod -f 0755 `find %{buildroot}%{_datadir}/kicad/scripting/plugins -name 
"*.py" -perm 0644 -print0|xargs -0r grep -l '#!/usr'`
-
 %suse_update_desktop_file -r bitmap2component "Education;Engineering"
-%suse_update_desktop_file -r cvpcb "Education;Engineering"
 %suse_update_desktop_file -r eeschema "Education;Engineering"
 %suse_update_desktop_file -r gerbview "Education;Engineering"
 %suse_update_desktop_file -r kicad "Education;Engineering"
 %suse_update_desktop_file -r pcbcalculator "Education;Engineering"
 %suse_update_desktop_file -r pcbnew "Education;Engineering"
 
-install -D scripts/library-repos-install.sh 
%{buildroot}%{_bindir}/kicad-library-install.sh
+# Link to library libkicad_3dsg.so.2.0.0 has no use
+rm -rf %{buildroot}%{_libdir}/libkicad_3dsg.so
+
+# Delete packaging/maintenance scripts
+for f in test_kicad_plugin.py test_plugin.py ; do
+    rm "%{buildroot}%{_docdir}/kicad/scripts/$f"
+done
+# Move remaining standalone scripts to kicad directory
+mv %{buildroot}%{_docdir}/kicad/scripts %{buildroot}%{_datadir}/kicad/
+sed -i '1s@^#!.*python.*@#!/usr/bin/python2@' 
%{buildroot}%{_datadir}/kicad/scripts/*.py
+chmod +x %{buildroot}%{_datadir}/kicad/scripts/*.py
+
+# Fix executable bits for scripts executed directly from kicad, remove 
she-bangs
+chmod -x %{buildroot}%{_datadir}/kicad/scripting/*/*.py
+sed -i '1s@^#!.*@@' %{buildroot}%{_datadir}/kicad/scripting/*/*.py
 
 %fdupes -s %{buildroot}%{_datadir}/kicad
 %fdupes -s %{buildroot}%{_datadir}/icons/hicolor
+# the pcbnew kiface and the python module are actually the same file
+cmp --quiet %{buildroot}%{_bindir}/_pcbnew.kiface 
%{buildroot}%{python_sitearch}/_pcbnew.so && \
+  ln -sf  %{_bindir}/_pcbnew.kiface %{buildroot}%{python_sitearch}/_pcbnew.so
 
+%if 0%{?suse_version} < 1330
 %post
+/sbin/ldconfig
 %desktop_database_post
 %icon_theme_cache_post
 %mime_database_post
 
 %postun
+/sbin/ldconfig
 %desktop_database_postun
 %icon_theme_cache_postun
 %mime_database_postun
+%else
+%post   -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+%endif
 
 %files
-%defattr(-,root,root)
-%doc CHANGELOG.txt COPYRIGHT.txt
+%doc README.txt Documentation/changelogs
+%license LICENSE.GPLv3 LICENSE.AGPLv3 LICENSE.README
 %{_bindir}/*
 %exclude %{_bindir}/kicad-library-install.sh
 %{_libdir}/kicad/
 %{_datadir}/kicad/
-%{_datadir}/doc/packages/kicad/
-%{python_sitelib}/*
+%{python_sitearch}/*
+%{_datadir}/appdata/kicad.appdata.xml
 %{_datadir}/applications/*.desktop
-%{_datadir}/mime/packages/kicad.xml
-%{_datadir}/mimelnk/application/x-kicad-*.desktop
-%dir %{_datadir}/mimelnk/
-%dir %{_datadir}/mimelnk/application/
+%{_datadir}/mime/packages/%{name}-*.xml
 %{_datadir}/icons/hicolor/*/mimetypes/application-x-*
 %{_datadir}/icons/hicolor/*/apps/*.*
-
-%files library-install
-%defattr(-,root,root)
-%{_bindir}/kicad-library-install.sh
+%{_libdir}/libkicad_3dsg.so.2.0.0
 
 %changelog

++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.TVMOOH/_old  2020-02-16 18:30:00.362770947 +0100
+++ /var/tmp/diff_new_pack.TVMOOH/_new  2020-02-16 18:30:00.362770947 +0100
@@ -1,6 +1,9 @@
 <?xml version="1.0"?>
 <constraints>
   <hardware>
+    <disk>
+      <size unit="G">8</size>
+    </disk>
     <memory>
       <size unit="G">8</size>
     </memory>

++++++ kicad-4.0.7.tar.xz -> kicad-5.1.5.tar.xz ++++++
/work/SRC/openSUSE:Leap:15.2/kicad/kicad-4.0.7.tar.xz 
/work/SRC/openSUSE:Leap:15.2/.kicad.new.26092/kicad-5.1.5.tar.xz differ: char 
25, line 1

++++++ kicad-suse-help-path.patch ++++++
--- /var/tmp/diff_new_pack.TVMOOH/_old  2020-02-16 18:30:00.386770960 +0100
+++ /var/tmp/diff_new_pack.TVMOOH/_new  2020-02-16 18:30:00.390770962 +0100
@@ -4,9 +4,9 @@
 +++ common/searchhelpfilefullpath.cpp
 @@ -107,6 +107,7 @@ wxString SearchHelpFileFullPath( const S
      // Below we account for an international subdirectory.
-     subdirs.Add( wxT( "share" ) );
-     subdirs.Add( wxT( "doc" ) );
-+    subdirs.Add( wxT( "packages" ) );
-     subdirs.Add( wxT( "kicad" ) );
-     subdirs.Add( wxT( "help" ) );
+     subdirs.Add( "share" );
+     subdirs.Add( "doc" );
++    subdirs.Add( "packages" );
+     subdirs.Add( "kicad" );
+     subdirs.Add( "help" );
  

++++++ kicad-user-library.patch ++++++
--- /var/tmp/diff_new_pack.TVMOOH/_old  2020-02-16 18:30:00.398770967 +0100
+++ /var/tmp/diff_new_pack.TVMOOH/_new  2020-02-16 18:30:00.398770967 +0100
@@ -1,16 +1,8 @@
 Index: common/kiface_i.cpp
 ===================================================================
---- common/kiface_i.cpp.orig
-+++ common/kiface_i.cpp
-@@ -53,6 +53,7 @@ static void setSearchPaths( SEARCH_STACK
- 
-             fn.AppendDir( wxT( "library" ) );
-             aDst->AddPaths( fn.GetPath() );
-+            
- 
-             fn.AppendDir( wxT( "doc" ) );
-             aDst->AddPaths( fn.GetPath() );
-@@ -60,6 +61,13 @@ static void setSearchPaths( SEARCH_STACK
+--- common/kiface_i.cpp.orig   2018-07-13 21:53:52.000000000 +0200
++++ common/kiface_i.cpp        2018-07-20 16:03:55.529317649 +0200
+@@ -61,6 +62,13 @@ static void setSearchPaths( SEARCH_STACK
              fn.RemoveLastDir();
              fn.RemoveLastDir();     // "../../"  up twice, removing 
library/doc/
          }
@@ -20,7 +12,7 @@
 +      aDst->AddPaths( homeDir + wxT( 
"/.local/share/kicad/library-repos/kicad-library/modules" ) );
 +      aDst->AddPaths( homeDir + wxT( 
"/.local/share/kicad/library-repos/kicad-library/modules/packages3d" ) );
 +      aDst->AddPaths( homeDir + wxT( 
"/.local/share/kicad/library-repos/kicad-library/template" ) );
-+ 
++
  
          // Add PCB library file path to search path list.
          if( aId == KIWAY::FACE_PCB || aId == KIWAY::FACE_CVPCB )


Reply via email to