macos: remove useless comment in deploy

This commit is contained in:
Stéphane Cerveau 2023-08-26 21:42:58 +02:00
parent d2b1c8875e
commit a56c0956ab
2 changed files with 1 additions and 45 deletions

View file

@ -98,11 +98,6 @@ lib_dependency_copy ${TARGETDIR}/bin/gst_pipeline_studio "${TARGETDIR}/bin"
lib_dependency_copy ${TARGETDIR}/lib/libgobject-2.0.0.dylib "${TARGETDIR}/bin"
lib_dependency_copy ${TARGETDIR}/lib/libsoup-2.4.1.dylib "${TARGETDIR}/bin"
# lib_dependency_copy ${TARGETDIR}/bin/libunistring.2.dylib "${TARGETDIR}/bin"
# lib_dependency_copy /usr/local/lib/libcairo-script-interpreter.2.dylib "${TARGETDIR}/bin"
# lib_dependency_copy /usr/local/lib/libgettextsrc-0.20.1.dylib "${TARGETDIR}/bin"
# lib_dependency_copy /usr/local/lib/libharfbuzz-icu.0.dylib "${TARGETDIR}/bin"
for file in ${TARGETDIR}/lib/gstreamer-1.0/*.dylib
do
@ -111,22 +106,11 @@ do
done
test_ok cp -f "${PROJECTDIR}/macos/mac_launcher.sh" "${TARGETDIR}/bin/launcher.sh"
# cp -f /usr/local/lib/libgtk-gtk4.1.dylib "${TARGETDIR}/bin"
# cp -f /usr/local/lib/libgirepository-1.0.1.dylib "${TARGETDIR}/bin"
# cp -f /usr/local/lib/librsvg-2.2.dylib "${TARGETDIR}/bin"
# cp -f /usr/local/lib/libgthread-2.0.0.dylib "${TARGETDIR}/bin"
# echo "[done]"
# copy GStreamer dependencies
# cp -f /usr/local/lib/gstreamer-1.0/libgtk-gtk4.1.dylib "${TARGETDIR}/lib/gstreamer-1.0"
# copy GDBus/Helper and dependencies files
# echo -n "Copy GDBus/Helper and dependencies......"
# cp -f /usr/local/bin/gdbus "${TARGETDIR}/bin"
# cp -f /usr/local/bin/gdk-pixbuf-query-loaders "${TARGETDIR}/bin"
# lib_dependency_copy ${TARGETDIR}/bin/gdbus "${TARGETDIR}/bin"
# lib_dependency_copy ${TARGETDIR}/bin/gdk-pixbuf-query-loaders "${TARGETDIR}/bin"
# echo "[done]"

View file

@ -125,35 +125,7 @@ lib_change_paths \
$APP_LIB_DIR \
$APP_EXE_DIR/gst_pipeline_studio-real
# lib_change_paths \
# @executable_path/../Resources/lib \
# $APP_LIB_DIR \
# $APP_EXE_DIR/gdbus
# lib_change_paths \
# @executable_path/../Resources/lib \
# $APP_LIB_DIR \
# $APP_EXE_DIR/gdk-pixbuf-query-loaders
lib_change_siblings $APP_LIB_DIR @loader_path
# Gio modules
# gio_modules="$(find $APP_LIB_DIR/gio/modules/ -name \*.dylib -o -name \*.so -type f)"
# for gio_module in $gio_modules; do
# lib_change_paths \
# @executable_path/../Resources/lib \
# $APP_LIB_DIR \
# $gio_module
# done
# # Gdk-pixbuf plugins
# pixbuf_plugins="$(find $APP_LIB_DIR/gdk-pixbuf-2.0/2.10.0/loaders/ -name \*.dylib -o -name \*.so -type f)"
# for pixbuf_plugin in $pixbuf_plugins; do
# lib_change_paths \
# @executable_path/../Resources/lib \
# $APP_LIB_DIR \
# $pixbuf_plugin
# done
echo "Mac app bundled at '$APP_TOP_DIR'"