1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

cad/kicad: use wx 32

PR:		265093
This commit is contained in:
Loïc Bartoletti 2022-10-11 23:13:08 +02:00
parent fa02c1768b
commit d5bd9f5d05
2 changed files with 25 additions and 1 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= kicad
PORTVERSION= 6.0.8
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= cad
MASTER_SITES= https://gitlab.com/${PORTNAME}/code/${PORTNAME}/-/archive/${DISTVERSION}/
@ -30,7 +31,7 @@ SHEBANG_FILES= pcbnew/python/plugins/touch_slider_wizard.py
USE_XORG= ice x11 xext
USE_GL= gl glu glut
USE_WX= 3.1
USE_WX= 3.2
WX_COMPS= python:lib wx
USE_GNOME= atk cairo gdkpixbuf2 gtk30 pango
CXXFLAGS+= --std=c++11 -I${WRKSRC}/include -I${LOCALBASE}/include

View File

@ -0,0 +1,23 @@
--- eeschema/sim/sim_plot_frame.cpp.orig 2022-09-14 16:35:24 UTC
+++ eeschema/sim/sim_plot_frame.cpp
@@ -167,15 +167,15 @@ SIM_PLOT_FRAME::SIM_PLOT_FRAME( KIWAY* aKiway, wxWindo
Bind( EVT_SIM_CURSOR_UPDATE, &SIM_PLOT_FRAME::onCursorUpdate, this );
// Toolbar buttons
- m_toolSimulate = m_toolBar->AddTool( ID_SIM_RUN, _( "Run/Stop Simulation" ),
+ m_toolSimulate = m_toolBar->AddTool( ID_SIM_RUN, wxEmptyString,
KiBitmap( BITMAPS::sim_run ), _( "Run Simulation" ), wxITEM_NORMAL );
- m_toolAddSignals = m_toolBar->AddTool( ID_SIM_ADD_SIGNALS, _( "Add Signals" ),
+ m_toolAddSignals = m_toolBar->AddTool( ID_SIM_ADD_SIGNALS, wxEmptyString,
KiBitmap( BITMAPS::sim_add_signal ), _( "Add signals to plot" ), wxITEM_NORMAL );
- m_toolProbe = m_toolBar->AddTool( ID_SIM_PROBE, _( "Probe" ),
+ m_toolProbe = m_toolBar->AddTool( ID_SIM_PROBE, wxEmptyString,
KiBitmap( BITMAPS::sim_probe ), _( "Probe signals on the schematic" ), wxITEM_NORMAL );
- m_toolTune = m_toolBar->AddTool( ID_SIM_TUNE, _( "Tune" ),
+ m_toolTune = m_toolBar->AddTool( ID_SIM_TUNE, wxEmptyString,
KiBitmap( BITMAPS::sim_tune ), _( "Tune component values" ), wxITEM_NORMAL );
- m_toolSettings = m_toolBar->AddTool( wxID_ANY, _( "Sim Parameters" ),
+ m_toolSettings = m_toolBar->AddTool( wxID_ANY, wxEmptyString,
KiBitmap( BITMAPS::config ), _( "Simulation parameters and settings" ), wxITEM_NORMAL );
// Start all toolbar buttons except settings as disabled