Skip to content

Commit f12d13c

Browse files
committed
Merge branch '2.9'
2 parents 568354c + b574d21 commit f12d13c

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

debian/configure

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ if [ "$1" == "-h" ] || [ "$1" == "-help" ] || [ "$1" == "--help" ]; then
7171
fi
7272

7373
EXTRA_BUILD=
74+
7475
LIBREADLINE_DEV="libeditreadline-dev"
7576

7677
ENABLE_BUILD_DOCUMENTATION=--enable-build-documentation=pdf
@@ -133,7 +134,7 @@ PYTHON_GST=python3-gst-1.0,gstreamer1.0-plugins-base
133134
TCLTK_VERSION=8.6
134135
PYTHON_IMAGING=python3-pil
135136
PYTHON_IMAGING_TK=python3-pil.imagetk
136-
QTVCP_DEPENDS="python3-qtpy,\n python3-pyqt5,\n python3-pyqt5.qsci,\n python3-pyqt5.qtsvg,\n python3-pyqt5.qtopengl,\n python3-opencv,\n python3-dbus,\n python3-espeak,\n python3-dbus.mainloop.pyqt5,\n python3-pyqt5.qtwebengine,\n espeak-ng,\n pyqt5-dev-tools,\n gstreamer1.0-tools,\n espeak,\n sound-theme-freedesktop,\n python3-poppler-qt5"
137+
QTVCP_DEPENDS="python3-pyqt5,\n python3-pyqt5.qsci,\n python3-pyqt5.qtsvg,\n python3-pyqt5.qtopengl,\n python3-opencv,\n python3-dbus,\n python3-espeak,\n python3-dbus.mainloop.pyqt5,\n python3-pyqt5.qtwebengine | python3-pyqt5.qtwebkit,\n espeak-ng,\n pyqt5-dev-tools,\n gstreamer1.0-tools,\n espeak,\n sound-theme-freedesktop"
137138
YAPPS_RUNTIME="python3-yapps"
138139
DEBHELPER="debhelper (>= 12)"
139140
COMPAT="12"

debian/control.main-pkg.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Recommends:
4040
@PYTHON_IMAGING_TK@
4141
Suggests:
4242
mesaflash,
43+
python3-poppler-qt5,
4344
onboard
4445
Description: motion controller for CNC machines and robots
4546
LinuxCNC is a fully-realised CNC machine controller that can interpret

tcl/bin/halshow.tcl

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ proc watchHAL {which} {
858858
# ptype (and getp) fail when the item clicked is not a leaf
859859
# e.g., clicking "Pins / axis / 0"
860860
if {[catch {hal ptype $varname} type]} {
861-
setStatusbar $type
861+
setStatusbar "Watch: $type"
862862
return $type
863863
}
864864
}
@@ -1129,12 +1129,22 @@ proc setWatchInterval {} {
11291129

11301130
proc refreshItem {cnum vartype varname} {
11311131
if {$vartype == "sig" } {
1132-
set ret [hal gets $varname]
1133-
set varnumtype [hal stype $varname]
1132+
set getCmd gets
1133+
set typeCmd stype
11341134
} else {
1135-
set ret [hal getp $varname]
1136-
set varnumtype [hal ptype $varname]
1135+
set getCmd getp
1136+
set typeCmd ptype
1137+
}
1138+
1139+
if {[catch { set ret [hal $getCmd $varname] } error]} {
1140+
setStatusbar $error
1141+
$::cisp itemconfigure text$cnum -text "----"
1142+
$::cisp itemconfigure oval$cnum -fill lightgray
1143+
return
11371144
}
1145+
1146+
set varnumtype [hal $typeCmd $varname]
1147+
11381148
if {$ret == "TRUE"} {
11391149
$::cisp itemconfigure oval$cnum -fill yellow
11401150
} elseif {$ret == "FALSE"} {

0 commit comments

Comments
 (0)