Accepting request 520850 from home:plater

- 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
This commit is contained in:
Dave Plater 2017-09-04 16:36:59 +00:00 committed by Git OBS Bridge
parent 420fbb541a
commit da747f6d6e
5 changed files with 53 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e97cacc179839e65f2afa14d8830a3bed549aaa9ed234c988851971bf2a42298
size 10834136

3
kicad-4.0.7.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:09074c77c6097d0f2ae49711c6d6f6c4490f0c068bba69b17f5f07319255fdc1
size 10678656

View File

@ -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

View File

@ -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: dont 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

View File

@ -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}