From da747f6d6efbc0ab2332ed721882764a61133eabe4ee90f0380505c4d8835163 Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Mon, 4 Sep 2017 16:36:59 +0000 Subject: [PATCH] Accepting request 520850 from home:plater MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to version 4.0.7. - Build with fPIE. - Rebased kicad-set-cxx-version.patch. - Upstream changes: * Bugs Fixed: Fix broken links and add correct links to about dialog. Eeschema: highlight the first choice in rescue dialog. Eeschema: fix zone properties dialog level setting tooltip. Pcbnew: fix segfault when appending a board in GAL mode. Remove some useless or incorrect asserts in plot functions. Pcbnew: continue loading footprints after first failure. Eeschema: don’t apply last line width to text thickness in symbol library editor. Pcbnew: add option to plot DXF lines in outline mode. Pcbnew: add option to plot DXF editable text. Pcbnew: fix crash when dragging a track. Fix crash when dragging a track. Remove leading/trailing white space error message from field validator. * Other changes: Pcbnew: fix bug loading board files written when layers could have numeric names. Pcbnew: prevent segfault when outline has no vertices reading P-CAD file. Pcbnew: fix tooltip error in copper zones dialog. Eeschema: move BOM scripts so they are installed correctly. Apply changes from master to GOST page layouts. Save text thickness in worksheet editor. Fix default line widths for non-mm units in DXF import. Better error messages when throwing an I/O error or parse error. Cvpcb: fix incorrect assignments when using .equ files and automatic association. Fix possible crash and issues when a incorrect fp lib table is loaded. Fix crash when writing zip archive file to folder that is not writeable. Fix issues in plot functions when used from python scripts. OBS-URL: https://build.opensuse.org/request/show/520850 OBS-URL: https://build.opensuse.org/package/show/electronics/kicad?expand=0&rev=37 --- kicad-4.0.6.tar.xz | 3 --- kicad-4.0.7.tar.xz | 3 +++ kicad-set-cxx-version.patch | 8 ++++---- kicad.changes | 41 +++++++++++++++++++++++++++++++++++++ kicad.spec | 7 +++++-- 5 files changed, 53 insertions(+), 9 deletions(-) delete mode 100644 kicad-4.0.6.tar.xz create mode 100644 kicad-4.0.7.tar.xz diff --git a/kicad-4.0.6.tar.xz b/kicad-4.0.6.tar.xz deleted file mode 100644 index 03c7ccd..0000000 --- a/kicad-4.0.6.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e97cacc179839e65f2afa14d8830a3bed549aaa9ed234c988851971bf2a42298 -size 10834136 diff --git a/kicad-4.0.7.tar.xz b/kicad-4.0.7.tar.xz new file mode 100644 index 0000000..9429223 --- /dev/null +++ b/kicad-4.0.7.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09074c77c6097d0f2ae49711c6d6f6c4490f0c068bba69b17f5f07319255fdc1 +size 10678656 diff --git a/kicad-set-cxx-version.patch b/kicad-set-cxx-version.patch index 29c6228..449e371 100644 --- a/kicad-set-cxx-version.patch +++ b/kicad-set-cxx-version.patch @@ -1,12 +1,12 @@ Index: CMakeLists.txt =================================================================== ---- CMakeLists.txt.orig -+++ CMakeLists.txt -@@ -142,6 +142,8 @@ if( CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CX +--- CMakeLists.txt.orig 2017-08-28 16:31:31.000000000 +0200 ++++ CMakeLists.txt 2017-09-04 15:36:13.027522479 +0200 +@@ -161,6 +161,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 diff --git a/kicad.changes b/kicad.changes index 52aeb89..9fcfe32 100644 --- a/kicad.changes +++ b/kicad.changes @@ -1,3 +1,44 @@ +------------------------------------------------------------------- +Mon Sep 4 13:38:17 UTC 2017 - davejplater@gmail.com + +- Update to version 4.0.7. +- Build with fPIE. +- Rebased kicad-set-cxx-version.patch. +- Upstream changes: + * Bugs Fixed: + Fix broken links and add correct links to about dialog. + Eeschema: highlight the first choice in rescue dialog. + Eeschema: fix zone properties dialog level setting tooltip. + Pcbnew: fix segfault when appending a board in GAL mode. + Remove some useless or incorrect asserts in plot functions. + Pcbnew: continue loading footprints after first failure. + Eeschema: don’t apply last line width to text thickness in + symbol library editor. + Pcbnew: add option to plot DXF lines in outline mode. + Pcbnew: add option to plot DXF editable text. + Pcbnew: fix crash when dragging a track. + Fix crash when dragging a track. + Remove leading/trailing white space error message from field + validator. + * Other changes: + Pcbnew: fix bug loading board files written when layers could + have numeric names. + Pcbnew: prevent segfault when outline has no vertices reading + P-CAD file. + Pcbnew: fix tooltip error in copper zones dialog. + Eeschema: move BOM scripts so they are installed correctly. + Apply changes from master to GOST page layouts. + Save text thickness in worksheet editor. + Fix default line widths for non-mm units in DXF import. + Better error messages when throwing an I/O error or parse error. + Cvpcb: fix incorrect assignments when using .equ files and + automatic association. + Fix possible crash and issues when a incorrect fp lib table is + loaded. + Fix crash when writing zip archive file to folder that is not + writeable. + Fix issues in plot functions when used from python scripts. + ------------------------------------------------------------------- Wed Mar 22 22:03:55 UTC 2017 - xxxxxmichl@googlemail.com diff --git a/kicad.spec b/kicad.spec index d50d12e..9ec8a20 100644 --- a/kicad.spec +++ b/kicad.spec @@ -17,7 +17,7 @@ Name: kicad -Version: 4.0.6 +Version: 4.0.7 Release: 0 Summary: EDA software suite for the creation of schematics and PCB License: GPL-2.0+ and GPL-3.0+ @@ -124,6 +124,8 @@ sed -i 's|KICAD_PLUGINS lib/kicad/plugins|KICAD_PLUGINS %{_lib}/kicad/plugins|' sed -i 's|KICAD_DOCS share/doc/kicad|KICAD_DOCS share/doc/packages/kicad|' CMakeLists.txt %build +export CFLAGS="%{optflags} -fPIE" +export CXXFLAGS="$CFLAGS" %cmake \ -DKICAD_REPO_NAME=stable \ -DKICAD_BUILD_VERSION=%{version} \ @@ -131,7 +133,8 @@ sed -i 's|KICAD_DOCS share/doc/kicad|KICAD_DOCS share/doc/packages/kicad|' CMake -DBUILD_GITHUB_PLUGIN=ON \ -DKICAD_SCRIPTING=ON \ -DKICAD_SCRIPTING_MODULES=ON \ - -DKICAD_SCRIPTING_WXPYTHON=ON + -DKICAD_SCRIPTING_WXPYTHON=ON \ + -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now -pie" make %{?_smp_mflags}