Revision: 12256
http://sourceforge.net/p/skim-app/code/12256
Author: hofman
Date: 2021-04-05 20:56:02 +0000 (Mon, 05 Apr 2021)
Log Message:
-----------
remove archive script, this is part of the build script
Removed Paths:
-------------
trunk/skim_archive.sh
Deleted: trunk/skim_archive.sh
===================================================================
--- trunk/skim_archive.sh 2021-04-05 19:00:27 UTC (rev 12255)
+++ trunk/skim_archive.sh 2021-04-05 20:56:02 UTC (rev 12256)
@@ -1,67 +0,0 @@
-#!/bin/bash
-
-# app name
-NAME=Skim
-
-# app bundle to copy, filename should be "${NAME}.app"
-SRC_BUNDLE="$1"
-SRC_BUNDLE=$(cd $(dirname "$SRC_BUNDLE"); pwd)/$(basename "$SRC_BUNDLE")
-
-# version
-VERSION=$(/usr/bin/defaults read "${SRC_BUNDLE}/Contents/Info"
CFBundleShortVersionString)
-
-# target name
-DIST_NAME="${NAME}-${VERSION}"
-
-# target zip archive
-DIST_ARCHIVE="${HOME}/Desktop/${DIST_NAME}.zip"
-
-# create archive
-/usr/bin/ditto -c -k --keepParent "$SRC_BUNDLE" "$DIST_ARCHIVE"
-
-# create the Sparkle appcast
-# see
http://www.entropy.ch/blog/Developer/2008/09/22/Sparkle-Appcast-Automation-in-Xcode.html
-
-echo "Creating appcast for Sparkle..."
-
-DATE=$(/bin/date +"%a, %d %b %Y %T %z")
-SIZE=$(/usr/bin/stat -f %z "${DIST_ARCHIVE}")
-VERSION_NUMBER=$(/usr/bin/defaults read "${SRC_BUNDLE}/Contents/Info"
CFBundleVersion)
-URL="https://sourceforge.net/projects/skim-app/files/${NAME}/${DIST_NAME}/${DIST_NAME}.zip/download"
-APPCAST="${HOME}/Desktop/${DIST_NAME}.xml"
-KEY_NAME="${NAME} Sparkle Key"
-SIGNATURE=$(/usr/bin/openssl dgst -sha1 -binary < "${DIST_ARCHIVE}" |
/usr/bin/openssl dgst -dss1 -sign <(security find-generic-password -g -s
"${KEY_NAME}" 2>&1 1>/dev/null | perl -pe '($_) = /"(.+)"/; s/\\012/\n/g') |
/usr/bin/openssl enc -base64)
-if [ $? != 0 ]; then
- echo "warning: failed to generate signature. You need the private key in
a secure note named \"${KEY_NAME}\"" >&2
-fi
-
-/bin/cat > "${APPCAST}" << EOF
-<?xml version="1.0" encoding="utf-8"?>
-<rss version="2.0"
xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle"
xmlns:dc="http://purl.org/dc/elements/1.1/">
- <channel>
- <title>${NAME} Changelog</title>
- <link>https://skim-app.sourceforge.io</link>
- <description>PDF reader and note-taker</description>
- <item>
- <title>Version ${VERSION}</title>
- <description><![CDATA[
-<h1>Version ${VERSION}</h1>
-
-<h2>New Features</h2>
-<ul>
-<li></li>
-</ul>
-
-<h2>Bugs Fixed</h2>
-<ul>
-<li></li>
-</ul>
- ]]></description>
- <pubDate>${DATE}</pubDate>
-
<sparkle:minimumSystemVersion>10.10.0</sparkle:minimumSystemVersion>
- <enclosure sparkle:version="${VERSION_NUMBER}"
sparkle:shortVersionString="${VERSION}" url="${URL}"
sparkle:dsaSignature="${SIGNATURE}" length="${SIZE}" type="application/zip"/>
- </item>
-
- </channel>
-</rss>
-EOF
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