Revision: 12224
          http://sourceforge.net/p/skim-app/code/12224
Author:   hofman
Date:     2021-03-24 16:11:37 +0000 (Wed, 24 Mar 2021)
Log Message:
-----------
Codesign skim transitions plugin

Modified Paths:
--------------
    trunk/Skim.xcodeproj/project.pbxproj
    trunk/codesign_skim.sh

Modified: trunk/Skim.xcodeproj/project.pbxproj
===================================================================
--- trunk/Skim.xcodeproj/project.pbxproj        2021-03-24 16:03:00 UTC (rev 
12223)
+++ trunk/Skim.xcodeproj/project.pbxproj        2021-03-24 16:11:37 UTC (rev 
12224)
@@ -2535,7 +2535,7 @@
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                        shellPath = /bin/sh;
-                       shellScript = "# don't code sign\nexit 
0\n\nIDENTITY=\"Skim Signing Certificate\"\n\n# have to sign frameworks 
first\nLOCATION=\"${BUILT_PRODUCTS_DIR}\"/\"${FRAMEWORKS_FOLDER_PATH}\"\ncodesign
 --verbose --force --sign \"${IDENTITY}\" 
\"${LOCATION}/SkimNotes.framework/Versions/A\"\ncodesign --verbose --force 
--sign \"${IDENTITY}\" 
\"${LOCATION}/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/MacOS/fileop\"\ncodesign
 --verbose --force --sign \"${IDENTITY}\" 
\"${LOCATION}/Sparkle.framework/Versions/A/Resources/Autoupdate.app\"\ncodesign 
--verbose --force --sign \"${IDENTITY}\" 
\"${LOCATION}/Sparkle.framework/Versions/A\"\n\nLOCATION=\"${BUILT_PRODUCTS_DIR}\"/\"${CONTENTS_FOLDER_PATH}\"/\"Library\"\ncodesign
 --verbose --force --sign \"${IDENTITY}\" 
\"${LOCATION}/Spotlight/SkimImporter.mdimporter/Contents/Frameworks/SkimNotesBase.framework/Versions/A\"\ncodesign
 --verbose --force --sign \"${IDENTITY}\" 
\"${LOCATION}/Spotlight/SkimImporter.mdimporter/Contents/MacOS/SkimImporter\"\ncodesign
 --verbose --force --sign \"${IDENTITY}\" 
\"${LOCATION}/QuickLook/Skim.qlgenerator/Contents/MacOS/Skim\"\n\nLOCATION=\"${BUILT_PRODUCTS_DIR}\"/\"${CONTENTS_FOLDER_PATH}\"/\"SharedSupport\"\ncodesign
 --verbose --force --sign \"${IDENTITY}\" \"${LOCATION}/skimnotes\"\ncodesign 
--verbose --force --sign \"${IDENTITY}\" 
\"${LOCATION}/skimpdf\"\n\nLOCATION=\"${BUILT_PRODUCTS_DIR}\"/\"${EXECUTABLE_PATH}\"\nif
 ! /usr/bin/codesign --verbose --force --sign \"${IDENTITY}\" 
\"${LOCATION}\"\nthen\n\t# lie about exit status so developers aren't forced to 
have a cert\n\techo \"warning: codesign failed\" >&2\n\techo \"warning: you 
need a certificate named \\\"${IDENTITY}\\\"\" >&2\n\texit 0\nfi\n";
+                       shellScript = "# don't code sign\nexit 
0\n\nIDENTITY=\"Skim Signing Certificate\"\n\n# have to sign frameworks 
first\nLOCATION=\"${BUILT_PRODUCTS_DIR}\"/\"${FRAMEWORKS_FOLDER_PATH}\"\ncodesign
 --verbose --force --sign \"${IDENTITY}\" 
\"${LOCATION}/SkimNotes.framework/Versions/A\"\ncodesign --verbose --force 
--sign \"${IDENTITY}\" 
\"${LOCATION}/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/MacOS/fileop\"\ncodesign
 --verbose --force --sign \"${IDENTITY}\" 
\"${LOCATION}/Sparkle.framework/Versions/A/Resources/Autoupdate.app\"\ncodesign 
--verbose --force --sign \"${IDENTITY}\" 
\"${LOCATION}/Sparkle.framework/Versions/A\"\n\nLOCATION=\"${BUILT_PRODUCTS_DIR}\"/\"${CONTENTS_FOLDER_PATH}\"/\"Library\"\ncodesign
 --verbose --force --sign \"${IDENTITY}\" 
\"${LOCATION}/Spotlight/SkimImporter.mdimporter/Contents/Frameworks/SkimNotesBase.framework/Versions/A\"\ncodesign
 --verbose --force --sign \"${IDENTITY}\" 
\"${LOCATION}/Spotlight/SkimImporter.mdimporter/Contents/MacOS/SkimImporter\"\ncodesign
 --verbose --force --sign \"${IDENTITY}\" 
\"${LOCATION}/QuickLook/Skim.qlgenerator/Contents/MacOS/Skim\"\n\nLOCATION=\"${BUILT_PRODUCTS_DIR}\"/\"${PLUGINS_FOLDER_PATH}\"\ncodesign
 --verbose --force --sign \"${IDENTITY}\" 
\"${LOCATION}/SkimTransitions.plugin/Contents/MacOS/SkimTransitions\"\n\nLOCATION=\"${BUILT_PRODUCTS_DIR}\"/\"${CONTENTS_FOLDER_PATH}\"/\"SharedSupport\"\ncodesign
 --verbose --force --sign \"${IDENTITY}\" \"${LOCATION}/skimnotes\"\ncodesign 
--verbose --force --sign \"${IDENTITY}\" 
\"${LOCATION}/skimpdf\"\n\nLOCATION=\"${BUILT_PRODUCTS_DIR}\"/\"${EXECUTABLE_PATH}\"\nif
 ! /usr/bin/codesign --verbose --force --sign \"${IDENTITY}\" 
\"${LOCATION}\"\nthen\n\t# lie about exit status so developers aren't forced to 
have a cert\n\techo \"warning: codesign failed\" >&2\n\techo \"warning: you 
need a certificate named \\\"${IDENTITY}\\\"\" >&2\n\texit 0\nfi\n";
                };
                CE4B67590BF4DC3000A73E42 /* Run Script: Strip headers and 
.DS_Store */ = {
                        isa = PBXShellScriptBuildPhase;

Modified: trunk/codesign_skim.sh
===================================================================
--- trunk/codesign_skim.sh      2021-03-24 16:03:00 UTC (rev 12223)
+++ trunk/codesign_skim.sh      2021-03-24 16:11:37 UTC (rev 12224)
@@ -29,6 +29,9 @@
 codesign ${CODESIGN_FLAGS} --sign "${IDENTITY}" 
"${LOCATION}/Spotlight/SkimImporter.mdimporter/Contents/MacOS/SkimImporter"
 codesign ${CODESIGN_FLAGS} --sign "${IDENTITY}" 
"${LOCATION}/QuickLook/Skim.qlgenerator/Contents/MacOS/Skim"
 
+LOCATION="${CONTENTS_DIR}/Plugins"
+codesign ${CODESIGN_FLAGS} --sign "${IDENTITY}" 
"${LOCATION}/SkimTransitions.plugin/Contents/MacOS/SkimTransitions"
+
 LOCATION="${CONTENTS_DIR}/SharedSupport"
 codesign ${CODESIGN_FLAGS} --sign "${IDENTITY}" "${LOCATION}/skimnotes"
 codesign ${CODESIGN_FLAGS} --sign "${IDENTITY}" "${LOCATION}/skimpdf"

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to