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

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