[vlc-commits] codesign.sh: Remove identifier string from sign function

David Fuhrmann git at videolan.org
Tue Oct 23 23:34:50 CEST 2018


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Tue Oct 23 20:43:32 2018 +0200| [d24bd15c0509f1a2d4c7e93010fe56a9d945fff2] | committer: David Fuhrmann

codesign.sh: Remove identifier string from sign function

This parameter is not used anymore, instead it is determined automatically
by the codesign tool.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d24bd15c0509f1a2d4c7e93010fe56a9d945fff2
---

 extras/package/macosx/codesign.sh | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/extras/package/macosx/codesign.sh b/extras/package/macosx/codesign.sh
index 90de61db81..ecb0a3d058 100755
--- a/extras/package/macosx/codesign.sh
+++ b/extras/package/macosx/codesign.sh
@@ -36,7 +36,7 @@ Sign VLC.app in the current directory
 OPTIONS:
    -h            Show this help
    -i            Identity to use
-   -g            Use gatekeeper mode (additional magic)
+   -g            Developer ID certificate mode (validates with Gatekeeper)
 EOF
 
 }
@@ -79,7 +79,7 @@ if [ -z "$VLCCACHEGEN" ]; then
 info "WARN: Cannot find vlc-cache-gen, cache will be corrupt after signing"
 fi
 
-# Call with $1 = file or folder, $2 = identifier (if empty, file name is used)
+# Call with $1 = file or folder
 sign()
 {
     # info "Signing file $1 with identifier $IDENTIFIER"
@@ -96,12 +96,12 @@ find VLC.app/Contents/Frameworks -type f -name "*.txt" -exec rm '{}' \;
 info "Signing frameworks"
 
 sign "VLC.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/MacOS/fileop"
-sign "VLC.app/Contents/Frameworks/Sparkle.framework/Resources/Autoupdate.app" "org.sparkle-project.Sparkle.Autoupdate"
-sign "VLC.app/Contents/Frameworks/Sparkle.framework/Versions/A" "org.sparkle-project.Sparkle"
+sign "VLC.app/Contents/Frameworks/Sparkle.framework/Resources/Autoupdate.app"
+sign "VLC.app/Contents/Frameworks/Sparkle.framework/Versions/A"
 
 if [ -e "VLC.app/Contents/Frameworks/Breakpad.framework" ]; then
-    sign "VLC.app/Contents/Frameworks/Breakpad.framework/Resources/crash_report_sender.app" "com.Breakpad.crash_report_sender"
-    sign "VLC.app/Contents/Frameworks/Breakpad.framework/Versions/A" "com.googlecode.google-breakpad"
+    sign "VLC.app/Contents/Frameworks/Breakpad.framework/Resources/crash_report_sender.app"
+    sign "VLC.app/Contents/Frameworks/Breakpad.framework/Versions/A"
 fi
 
 info "Signing the framework headers"
@@ -167,7 +167,7 @@ do
 done
 
 info "Signing the executable"
-sign "VLC.app" "org.videolan.vlc"
+sign "VLC.app"
 
 
 info "all items signed, validating..."



More information about the vlc-commits mailing list