diff --git a/.gitignore b/.gitignore index c1e48086..8d51f0aa 100644 --- a/.gitignore +++ b/.gitignore @@ -10,9 +10,7 @@ android/.server/ android/.client/ codeBlocks -# Visual Studio files -*.vcxproj.user -windows/JackRouter/.vs -windows/JackRouter/Debug -windows/JackRouter/Release -windows/JackRouter/Release64 +# macos release files +macos/package.xml +macos/package-welcome.txt + diff --git a/macosx/generate-pkg.sh b/macosx/generate-pkg.sh index af960ba2..3219ee39 100755 --- a/macosx/generate-pkg.sh +++ b/macosx/generate-pkg.sh @@ -33,7 +33,14 @@ pkgbuild \ # https://developer.apple.com/library/content/documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html +pushd "${installed_prefix}" +mkdir -p share/jack2 +touch share/jack2/jack2-osx-files.txt +find -sL . -type f | awk 'sub("./","/usr/local/")' > share/jack2/jack2-osx-files.txt +popd + sed -e "s|@CURDIR@|${PWD}|" package.xml.in > package.xml +cat package-welcome.txt.in "${installed_prefix}/share/jack2/jack2-osx-files.txt" > package-welcome.txt productbuild \ --distribution package.xml \ diff --git a/macosx/package-welcome.txt b/macosx/package-welcome.txt.in similarity index 58% rename from macosx/package-welcome.txt rename to macosx/package-welcome.txt.in index 725c1875..d727247c 100644 --- a/macosx/package-welcome.txt +++ b/macosx/package-welcome.txt.in @@ -8,4 +8,11 @@ It also includes the necessary files for developers to build with JACK support. All files will be installed under /usr/local/. -The previously packaged JackRouter plugin is not available at this point. +Please note that this package will not delete previously installed jackosx contents. +If you used that before, please run its own uninstaller before installing this package! + +Also, the previously packaged JackRouter plugin is not available at this point. + + +For advanced/curious users, here is the full file list that this package provides: +