Hello community, here is the log from the commit of package kicad for openSUSE:Factory checked in at 2016-09-13 22:24:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kicad (Old) and /work/SRC/openSUSE:Factory/.kicad.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kicad" Changes: -------- --- /work/SRC/openSUSE:Factory/kicad/kicad.changes 2016-08-29 15:49:01.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kicad.new/kicad.changes 2016-09-13 22:25:28.000000000 +0200 @@ -1,0 +2,10 @@ +Mon Sep 12 14:02:01 UTC 2016 - [email protected] + +- Update to version 4.0.4 + *bugfix release +- Ran dos2unix and rebased + kicad-boost-1_61-boost-context-changes.patch +- Rebased kicad-set-cxx-version.patch,kicad-suse-help-path.patch, + and kicad-user-library.patch. + +------------------------------------------------------------------- Old: ---- kicad-4.0.3.tar.xz New: ---- kicad-4.0.4.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kicad.spec ++++++ --- /var/tmp/diff_new_pack.vt2VLO/_old 2016-09-13 22:25:30.000000000 +0200 +++ /var/tmp/diff_new_pack.vt2VLO/_new 2016-09-13 22:25:30.000000000 +0200 @@ -17,7 +17,7 @@ Name: kicad -Version: 4.0.3 +Version: 4.0.4 Release: 0 Summary: EDA software suite for the creation of schematics and PCB License: GPL-2.0+ and GPL-3.0+ @@ -98,13 +98,13 @@ %prep %setup -q -n kicad-%{version} -%patch1 -p1 +%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 -p1 -%patch5 -p1 +%patch4 +%patch5 -p0 %endif cp %{SOURCE2} . ++++++ kicad-4.0.3.tar.xz -> kicad-4.0.4.tar.xz ++++++ /work/SRC/openSUSE:Factory/kicad/kicad-4.0.3.tar.xz /work/SRC/openSUSE:Factory/.kicad.new/kicad-4.0.4.tar.xz differ: char 26, line 1 ++++++ kicad-boost-1_61-boost-context-changes.patch ++++++ ++++ 1416 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/kicad/kicad-boost-1_61-boost-context-changes.patch ++++ and /work/SRC/openSUSE:Factory/.kicad.new/kicad-boost-1_61-boost-context-changes.patch ++++++ kicad-set-cxx-version.patch ++++++ --- /var/tmp/diff_new_pack.vt2VLO/_old 2016-09-13 22:25:30.000000000 +0200 +++ /var/tmp/diff_new_pack.vt2VLO/_new 2016-09-13 22:25:30.000000000 +0200 @@ -1,11 +1,13 @@ ---- kicad-4.0.2/CMakeLists.txt_orig 2016-08-27 21:24:50.616212416 +0200 -+++ kicad-4.0.2/CMakeLists.txt 2016-08-27 21:24:30.103970797 +0200 -@@ -143,6 +143,8 @@ - set( CMAKE_C_FLAGS "-Wall ${CMAKE_C_FLAGS}" ) - set( CMAKE_CXX_FLAGS "-Wall ${CMAKE_CXX_FLAGS}" ) - -+ set( CMAKE_CXX_STANDARD 14 ) -+ - # The optimization level is -O1 instead of the usual -O2 level because - # boost::polygon has a function (inflate polygon) broken by the -O2 level - # with GCC 4.7.0 to 4.7.2 (works fine with with GCC 4.6 and 4.7.3). +Index: CMakeLists.txt +=================================================================== +--- CMakeLists.txt.orig ++++ CMakeLists.txt +@@ -142,6 +142,8 @@ if( CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CX + # subsequently on the command line, such as in pcbnew/github/CMakeLists.txt + set( CMAKE_C_FLAGS "-Wall ${CMAKE_C_FLAGS}" ) + set( CMAKE_CXX_FLAGS "-Wall ${CMAKE_CXX_FLAGS}" ) ++ ++ set( CMAKE_CXX_STANDARD 14 ) + + # The optimization level is -O1 instead of the usual -O2 level because + # boost::polygon has a function (inflate polygon) broken by the -O2 level ++++++ kicad-suse-help-path.patch ++++++ --- /var/tmp/diff_new_pack.vt2VLO/_old 2016-09-13 22:25:30.000000000 +0200 +++ /var/tmp/diff_new_pack.vt2VLO/_new 2016-09-13 22:25:30.000000000 +0200 @@ -3,10 +3,10 @@ --- common/searchhelpfilefullpath.cpp.orig +++ 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" ) ); - + // 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" ) ); + ++++++ kicad-user-library.patch ++++++ --- /var/tmp/diff_new_pack.vt2VLO/_old 2016-09-13 22:25:30.000000000 +0200 +++ /var/tmp/diff_new_pack.vt2VLO/_new 2016-09-13 22:25:30.000000000 +0200 @@ -1,18 +1,26 @@ -Index: kicad-4.0.0-rc1/common/kiface_i.cpp +Index: common/kiface_i.cpp =================================================================== ---- kicad-4.0.0-rc1.orig/common/kiface_i.cpp -+++ kicad-4.0.0-rc1/common/kiface_i.cpp -@@ -80,6 +80,13 @@ static void setSearchPaths( SEARCH_STACK - aDst->AddPaths( fn.GetPath() ); - } - -+// user local library -+wxString homeDir = wxFileName::GetHomeDir(); -+aDst->AddPaths( homeDir + wxT( "/.local/share/kicad/library-repos/kicad-library/library" ) ); -+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" ) ); -+ - #ifndef __WXMAC__ - aDst->AddPaths( wxT( "/usr/local/share" ) ); - #endif +--- 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 + fn.RemoveLastDir(); + fn.RemoveLastDir(); // "../../" up twice, removing library/doc/ + } ++ // user local library ++ wxString homeDir = wxFileName::GetHomeDir(); ++ aDst->AddPaths( homeDir + wxT( "/.local/share/kicad/library-repos/kicad-library/library" ) ); ++ 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 )
