Skip to content

Commit

Permalink
Remove a bunch of old, unused scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
clangen committed Dec 14, 2022
1 parent 76a3468 commit 8a93388
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 191 deletions.
2 changes: 1 addition & 1 deletion .cmake/PostBuild.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ add_custom_command(TARGET postbuild POST_BUILD COMMAND cmake .)
# ensure the binaries can find libmusikcore.so, which lives in the same directory.
if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
message(STATUS "[post-build] patching macOS rpath...")
add_custom_command(TARGET postbuild POST_BUILD COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/script/patch-macos-rpath.sh")
add_custom_command(TARGET postbuild POST_BUILD COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/script/patch-rpath.sh")
endif()

# copy boost and ffmpeg libraries (which can't be statically linked) to bin/
Expand Down
9 changes: 0 additions & 9 deletions script/archive-rpi.sh

This file was deleted.

3 changes: 1 addition & 2 deletions script/archive-standalone-nix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ else
make ${JOBS} || exit $?
fi

./script/patch-linux-rpath.sh || exit $?
./script/patch-macos-rpath.sh || exit $?
./script/patch-rpath.sh || exit $?

rm -rf dist/$VERSION/*${OS_ARCH}_$VERSION* 2> /dev/null

Expand Down
28 changes: 0 additions & 28 deletions script/copy-artifacts-to-host.sh

This file was deleted.

57 changes: 0 additions & 57 deletions script/download-vendor-libraries-win.sh

This file was deleted.

14 changes: 0 additions & 14 deletions script/patch-macos-rpath.sh

This file was deleted.

13 changes: 12 additions & 1 deletion script/patch-linux-rpath.sh → script/patch-rpath.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PLATFORM=$(uname)

if [[ "$PLATFORM" == 'Linux' ]]; then
echo "[patch-linux-rpath] patch Linux .so files..."
echo "[patch-rpath] patch Linux .so files..."

# update the RPATH so libraries in libs/ can discover each other,
# and plugins can discover themselves, and libs/ (but not the
Expand All @@ -23,3 +23,14 @@ if [[ "$PLATFORM" == 'Linux' ]]; then

chmod -x ./bin/lib/*
fi

if [[ "$PLATFORM" == 'Darwin' ]]; then
echo "[patch-rpath] patch macOS binaries..."

install_name_tool -add_rpath "@executable_path/" bin/musikcube
install_name_tool -add_rpath "@executable_path/lib" bin/musikcube
install_name_tool -add_rpath "@executable_path/" bin/musikcubed
install_name_tool -add_rpath "@executable_path/lib" bin/musikcubed
fi

exit 0
63 changes: 0 additions & 63 deletions script/run-circle-ci.sh

This file was deleted.

11 changes: 0 additions & 11 deletions script/run-rpm-build.sh

This file was deleted.

5 changes: 0 additions & 5 deletions script/update-version-hash.sh

This file was deleted.

0 comments on commit 8a93388

Please sign in to comment.