Bug 237654

Summary: cad/kicad: update to 5.1.2
Product: Ports & Packages Reporter: Christoph Moench-Tegeder <cmt>
Component: Individual Port(s)Assignee: Christoph Moench-Tegeder <cmt>
Status: Closed FIXED    
Severity: Affects Only Me CC: leres
Priority: --- Keywords: easy, patch, patch-ready
Version: LatestFlags: thierry: maintainer-feedback+
Hardware: Any   
OS: Any   
URL: http://kicad-pcb.org/blog/2019/04/KiCad-5.1.2-Release/
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237396
Attachments:
Description Flags
update kicad and libraries to 5.1.2 none

Description Christoph Moench-Tegeder freebsd_committer freebsd_triage 2019-04-29 19:35:43 UTC
Created attachment 204100 [details]
update kicad and libraries to 5.1.2

Sorry to bother you again :) but here's KiCAD 5.1.2 (issues found in 5.1.1, quick update, etc - see announcement).
Luckily no plist changes this time.

As for "python 3" - sorry, no cookie, we'd need a python3-capable wxPython first.

poudriere-checked kicad and libraries.
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2019-05-01 16:32:04 UTC
I'm sorry: when trying to build it, I get the same error than for 5.1.1:

-- Found SWIG: /usr/local/bin/swig3.0 (found suitable version "3.0.12", minimum required is "3.0") 
-- Found PythonInterp: /usr/local/bin/python2.7 (found suitable version "2.7.16", minimum required is "2.6") 
-- Check for installed Python Interpreter -- found
-- Python module install path: lib/python2.7/site-packages
-- Found PythonLibs: /usr/local/lib/libpython2.7.so (found suitable version "2.7.16", minimum required is "2.6") 
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named wx
CMake Error at CMakeModules/FindwxPython.cmake:52 (message):
  wxPython/Phoenix does not appear to be installed on the system
Call Stack (most recent call first):
  CMakeLists.txt:718 (find_package)

Since it's OK for you, please commit!

Note: if you want, you could also take the maintainership.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-05-01 19:45:44 UTC
A commit references this bug:

Author: cmt
Date: Wed May  1 19:44:42 UTC 2019
New revision: 500608
URL: https://svnweb.freebsd.org/changeset/ports/500608

Log:
  update KiCAD and it's libraries to 5.1.2

  See http://kicad-pcb.org/blog/2019/04/KiCad-5.1.2-Release/ and
  https://launchpad.net/kicad/+milestone/5.1.1 and
  https://launchpad.net/kicad/+milestone/5.1.2

  Taking over maintainership from thierry@, with thanks for getting these
  ports this far.

  PR:		237654
  Approved by:	thierry (maintainer)

Changes:
  head/cad/kicad/Makefile
  head/cad/kicad/distinfo
  head/cad/kicad-library-footprints/Makefile
  head/cad/kicad-library-footprints/distinfo
  head/cad/kicad-library-packages3d/Makefile
  head/cad/kicad-library-packages3d/distinfo
  head/cad/kicad-library-symbols/Makefile
  head/cad/kicad-library-symbols/distinfo
  head/cad/kicad-library-templates/Makefile
  head/cad/kicad-library-templates/distinfo
Comment 3 Christoph Moench-Tegeder freebsd_committer freebsd_triage 2019-05-01 19:48:06 UTC
(In reply to Thierry Thomas from comment #1)

that still totally works in my poudriere (and I didn't get fallout mails last time round):

-- Found SWIG: /usr/local/bin/swig3.0 (found suitable version "3.0.12", minimum required is "3.0") 
-- Found PythonInterp: /usr/local/bin/python2.7 (found suitable version "2.7.16", minimum required is "2.6") 
-- Check for installed Python Interpreter -- found
-- Python module install path: lib/python2.7/site-packages
-- Found PythonLibs: /usr/local/lib/libpython2.7.so (found suitable version "2.7.16", minimum required is "2.6") 
/usr/local/lib/python2.7/site-packages/wx-3.0-gtk3/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
  warnings.warn("wxPython/wxWidgets release number mismatch")
-- Found wxPython 3.0.2.0/gtk3 (wxWidgets 3.0.2.0)

Committed as ports r500608 and taken over maintainership, thanks for your work on this!