gensdkshell: gst-shell PYTHONPATH and libdir paths regression
Starting from 1.24.1, generated gst-shell script have two issues with PYTHONPATH and libdir paths.
Broken generated PYTHONPATH :
export PYTHONPATH="l:i:b:/:p:y:t:h:o:n:3:.:1:0:/:s:i:t:e:-:p:a:c:k:a:g:e:s${PYTHONPATH:+:$PYTHONPATH}"
should be :
export PYTHONPATH="${GSTREAMER_ROOT}/lib/python3.10/site-packages${PYTHONPATH:+:$PYTHONPATH}"
This appears to been broken by #639 python: add support for multiarch distributions (2023-03-14) on following line
Broken libdir related paths :
export PKG_CONFIG_PATH="${GSTREAMER_ROOT}/lib/pkgconfig:${GSTREAMER_ROOT}/share/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}"
export GST_PLUGIN_PATH_1_0="${GSTREAMER_ROOT}/lib/gstreamer-1.0"
export GST_PLUGIN_SYSTEM_PATH_1_0="${GSTREAMER_ROOT}/lib/gstreamer-1.0"
should be :
export PKG_CONFIG_PATH="${GSTREAMER_ROOT}/lib/x86_64-linux-gnu/pkgconfig:${GSTREAMER_ROOT}/share/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}"
export GST_PLUGIN_PATH_1_0="${GSTREAMER_ROOT}/lib/x86_64-linux-gnu/gstreamer-1.0"
export GST_PLUGIN_SYSTEM_PATH_1_0="${GSTREAMER_ROOT}/lib/x86_64-linux-gnu/gstreamer-1.0"
This appears to been broken by #638 Fix support for multiarch distributions using lib_suffix (2023-03-14) on commit linux: use arch-specific libdir's
I opened a merge request fixing regression !1456