@@ -126,10 +126,6 @@ git checkout "./Info.plist" "./Xpra_NoDock.app/Contents/Info.plist" >& /dev/null
126126echo " *******************************************************************************"
127127PYVERSIONSTR=" ${PYTHON_MAJOR_VERSION} .${PYTHON_MINOR_VERSION} "
128128echo " Building Xpra for Python ${PYVERSIONSTR} using $NPROC logical CPUs"
129- echo " - building C launcher shim"
130- rm -f " ${MACOS_SCRIPT_DIR} /launcher"
131- gcc -o " ${MACOS_SCRIPT_DIR} /launcher" " ${MACOS_SCRIPT_DIR} /launcher.c" -I" ${JHBUILD_PREFIX} /include/python${PYVERSIONSTR} " -L" ${JHBUILD_PREFIX} /lib" " -lpython${PYVERSIONSTR} " -Wl,-rpath," @executable_path/.."
132-
133129cd " ${XPRA_SRC_DIR} " || exit 1
134130echo " - regenerate source and build info"
135131rm -f " xpra/src_info.py" " xpra/build_info.py"
@@ -294,17 +290,14 @@ cp "${SITELIB}/uvloop/_noop.py" "${PYDIR}/uvloop/"
294290
295291echo " - add xpra/server/python helper scripts"
296292rsync -plt " ${MACOS_SCRIPT_DIR} /Helpers/" * " ${HELPERS_DIR} /"
297- # we dont need the wrappers that may have been installed by distutils:
293+ # we dont need the wrappers that may have been installed by distutils:
298294rm -f " ${MACOS_DIR} /*bin"
299- # add our own one:
300- mv " ${MACOS_SCRIPT_DIR} /launcher" " ${FRAMEWORKS_DIR} /bin/Xpra"
301- # ensure they all have a symlink to the helper name:
295+ # ensure they all have a symlink to the Python interpreter for each helper
296+ # (using the "pretty" name, converting underscores to spaces)
302297for helper in " ${HELPERS_DIR} /" * ; do
303298 filename=$( basename " ${helper} " )
304299 name=${filename// _/ }
305- if [ " ${name} " != " Xpra" ]; then
306- ln -sf " ./Xpra" " ${FRAMEWORKS_DIR} /bin/${name} "
307- fi
300+ ln -sf " ./Python" " ${FRAMEWORKS_DIR} /bin/${name} "
308301done
309302
310303# overwrite the "Xpra" script generated by py2app with our custom one:
0 commit comments