TextSweep

Check-in [caf33570d3]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:More Mac tweaks
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: caf33570d32aaf610e96499ff5393262ba80816f
User & Date: kevin 2016-09-05 02:13:00
Context
2016-09-05
02:24
Final Mac deployment check-in: 63b0a9e9a1 user: kevin tags: trunk
02:13
More Mac tweaks check-in: caf33570d3 user: kevin tags: trunk
02:08
Final tweaks for Mac release check-in: 9d8e88881a user: kevin tags: trunk
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

Changes to buildapp.

102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126

#create app bundle shell from standalone Wish app
cp -R -f Wish.app TextSweep.app
rm -rf TextSweep.app/Contents/Frameworks

mv TextSweep.app/Contents/MacOS/Wish TextSweep.app/Contents/MacOS/TextSweep

#change linking of main binary to point to system frameworks
echo "Changing linked frameworks..."
install_name_tool -change @executable_path/../Frameworks/Tk.framework/Versions/8.5/Tk /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk TextSweep.app/Contents/MacOS/TextSweep
install_name_tool -change @executable_path/../Frameworks/Tcl.framework/Versions/8.5/Tcl  /System/Library/Frameworks/Tcl.framework/Versions/8.5/Tcl TextSweep.app/Contents/MacOS/TextSweep

#copy additional files, resources to app bundle

cp -f textsweep.icns TextSweep.app/Contents/Resources/textsweep.icns
mkdir TextSweep.app/Contents/lib


cp -R -f Scripts TextSweep.app/Contents/Resources/Scripts


#copy the supporting libraries
for lib in scriptlibs/*
do
  echo "Copying $lib library..."







<
<
<
<
<




<
<







102
103
104
105
106
107
108





109
110
111
112


113
114
115
116
117
118
119

#create app bundle shell from standalone Wish app
cp -R -f Wish.app TextSweep.app
rm -rf TextSweep.app/Contents/Frameworks

mv TextSweep.app/Contents/MacOS/Wish TextSweep.app/Contents/MacOS/TextSweep






#copy additional files, resources to app bundle

cp -f textsweep.icns TextSweep.app/Contents/Resources/textsweep.icns
mkdir TextSweep.app/Contents/lib


cp -R -f Scripts TextSweep.app/Contents/Resources/Scripts


#copy the supporting libraries
for lib in scriptlibs/*
do
  echo "Copying $lib library..."
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
cp -f Info-cbk.plist build/TextSweep.app/Contents/Info.plist


find build/TextSweep.app -type f -name "*.dylib"  -exec codesign --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" {} \; 
codesign  --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" build/TextSweep.app/Contents/Frameworks/Tk.framework/Versions/8.6/Resources/Wish.app/Contents/MacOS/Wish
codesign  --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" build/TextSweep.app/Contents/Frameworks/Tk.framework/Versions/Current
codesign --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" build/TextSweep.app/Contents/Frameworks/Tcl.framework/Versions/Current
codesign  --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" build/TextSweep.app/Contents/MacOS/python


#create tarball for update from website
echo "Compressing application..."

cd build
tar cvfz ../TextSweep.tgz TextSweep.app







|







133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
cp -f Info-cbk.plist build/TextSweep.app/Contents/Info.plist


find build/TextSweep.app -type f -name "*.dylib"  -exec codesign --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" {} \; 
codesign  --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" build/TextSweep.app/Contents/Frameworks/Tk.framework/Versions/8.6/Resources/Wish.app/Contents/MacOS/Wish
codesign  --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" build/TextSweep.app/Contents/Frameworks/Tk.framework/Versions/Current
codesign --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" build/TextSweep.app/Contents/Frameworks/Tcl.framework/Versions/Current
codesign  --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" --verbose=2  build/TextSweep.app


#create tarball for update from website
echo "Compressing application..."

cd build
tar cvfz ../TextSweep.tgz TextSweep.app

Changes to textsweep.xml.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" version="2.0">
  <channel>
    <title>TextSweep</title>
    <link>http://www.codebykevin.com/textsweep.html</link>
    <language>en</language>
    <item>

      <title>TextSweep 3.0.0</title>
      <sparkle:minimumSystemVersion>10.11</sparkle:minimumSystemVersion>
      <pubDate>Sun, 04 Sep 2016 22:07:59 -0400</pubDate>
      <author>Code by Kevin</author>
      <description><![CDATA[
This version of TextSweep has the following features and improvements:
 * Initial Windows release.
 * UI refinements.
      ]]></description>
      <link>http://www.codebykevin.com/textsweep.html</link>
     <enclosure
				url="http://www.codebykevin.com/updates/TextSweep.tgz"
				sparkle:version="3.0.0"
				type="application/octet-stream"
				length="7950717"
			/>
    </item>

  </channel>
</rss>










|











|





1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" version="2.0">
  <channel>
    <title>TextSweep</title>
    <link>http://www.codebykevin.com/textsweep.html</link>
    <language>en</language>
    <item>

      <title>TextSweep 3.0.0</title>
      <sparkle:minimumSystemVersion>10.11</sparkle:minimumSystemVersion>
      <pubDate>Sun, 04 Sep 2016 22:11:53 -0400</pubDate>
      <author>Code by Kevin</author>
      <description><![CDATA[
This version of TextSweep has the following features and improvements:
 * Initial Windows release.
 * UI refinements.
      ]]></description>
      <link>http://www.codebykevin.com/textsweep.html</link>
     <enclosure
				url="http://www.codebykevin.com/updates/TextSweep.tgz"
				sparkle:version="3.0.0"
				type="application/octet-stream"
				length="8020663"
			/>
    </item>

  </channel>
</rss>