Manpower

Check-in [e6a44c8ae8]
Login

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

Overview
Comment:Update
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e6a44c8ae8f9dbd3ba1d47e9d0d209a4234ce723
User & Date: kevin 2016-07-02 17:42:51
Context
2016-07-02
22:00
Tweaks check-in: c116ab1db9 user: kevin tags: trunk
17:42
Update check-in: e6a44c8ae8 user: kevin tags: trunk
16:23
Update to version 6.3 check-in: c726dbf678 user: kevin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to libs/machelp/help.txt.

140
141
142
143
144
145
146




147
148
149
150
151
152
153
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157







+
+
+
+







 * The "rman" tool for man page formatting. Website and license: [http://polyglotman.sourceforge.net/].
 * The "aem" package for custom Apple Event handling.  Website and license: [http://fossil.codebykevin.com].


-------------------
title: Manpower Version History
alias: Version History

'''6.3 (July 2, 2016):'''
 * Performance improvements.
 * Minor bug fixes.

'''6.2 (August 16, 2015):'''
 * Bug fixes in serial registration process.
 * Cleanup of startup and shutdown functions.

'''6.1 (July 20, 2015):'''
 * Improvements in mechanism for registering default application for man pages; fixes crash.

Added oss-build.





























































































































































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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#!/bin/sh

echo "Starting build process..."

#clean up old builds

if [ -a build/Manpower.zip ]
 then
    rm build/Manpower.zip
fi

if [ -a Manpower.app ]
	then
	rm -rf Manpower.app
fi

if [ -a appstore/Manpower.app ]
	then
	rm -rf appstore/Manpower.app
fi
	
if [ -a build/Manpower.app ]
	then
	rm -rf build/Manpower.app
fi




cat << EOT > Info-cbk.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>CFBundleDevelopmentRegion</key>
	<string>English</string>
	<key>CFBundleExecutable</key>
	<string>Manpower</string>
	<key>CFBundleGetInfoString</key>
	<string>Manpower $1 (c) 2016 WordTech Communications LLC</string>
	<key>ATSApplicationFontsPath</key>
	<string>fonts</string>
	<key>LSMinimumSystemVersionByArchitecture</key>
	<dict>
	<key>i386</key>
	<string>10.11</string>
	<key>x86_64</key>
	<string>10.11</string>
	</dict>
	<key>LSArchitecturePriority</key>
<array>
<string>x86_64</string>
<string>i386</string>
</array>
	<key>LSApplicationCategoryType</key>
	<string>public.app-category.utilities</string>
	<key>NSHumanReadableCopyright</key>
	<string>(c) 2016 WordTech Communications LLC</string>
	<key>CFBundleIconFile</key>
	<string>manpower.icns</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>Manpower</string>
	<key>CFBundleDisplayName</key>
	<string>Manpower</string>
	<key>CFBundleIdentifier</key>
	<string>com.codebykevin.com.manpower-cbk</string>
	<key>CFBundlePackageType</key>
	<string>APPL</string>
	<key>CFBundleShortVersionString</key>
	<string>$1</string>
	<key>CFBundleVersion</key>
	<string>$1</string>
	<key>LSMinimumSystemVersion</key>
	<string>10.11</string>
	<key>LSRequiresCarbon</key>
	<true/>
	<key>NSAppleScriptEnabled</key>
	<true/>
	<key>OSAScriptingDefinition</key>
	<string>Manpower.sdef</string>
		<key>NSServices</key>
	<array>
		<dict>
			<key>NSMenuItem</key>
			<dict>
				<key>default</key>
				<string>Manpower: Display man page</string>
			</dict>
			<key>NSMessage</key>
			<string>provideService</string>
			<key>NSPortName</key>
			<string>Manpower</string>
			<key>NSSendTypes</key>
			<array>
				<string>NSStringPboardType</string>
			</array>
		</dict>
	</array>
	<key>CFBundleURLTypes</key>
	<array>
		<dict>
			<key>CFBundleURLName</key>
			<string>x-man-page URL</string>
			<key>CFBundleURLSchemes</key>
			<array>
				<string>x-man-page</string>
			</array>
		</dict>
	</array>
	<key>NSSupportsAutomaticTermination</key>
	<string>YES</string>
	<key>NSSupportsSuddenTermination</key>
	<string>YES</string>
 <key>NSHighResolutionCapable</key>
    <string>True</string>
  <key>SUFeedURL</key>
	<string>http://www.codebykevin.com/manpower.xml</string>
<key>SUPublicDSAKeyFile</key>
	<string>dsa_pub.pem</string>
</dict>
</plist>
EOT


#create app bundle shell from standalone Wish app
cp -R -f Wish.app Manpower.app
find Manpower.app  -name "*.a"  -exec rm -rf {} \;
find Manpower.app  -name "*debug"  -exec rm -rf {} \;
find Manpower.app  -name "*.sh"  -exec rm -rf {} \; 


mv Manpower.app/Contents/MacOS/Wish Manpower.app/Contents/MacOS/Manpower

cp -f Manpower.sdef Manpower.app/Contents/Resources/Manpower.sdef
cp -f manpower.icns Manpower.app/Contents/Resources/manpower.icns
mkdir Manpower.app/Contents/lib


cp -R -f Scripts Manpower.app/Contents/Resources/Scripts
mkdir Manpower.app/Contents/Resources/fonts
cp -f iconic_stroke.ttf Manpower.app/Contents/Resources/fonts/iconic_stroke.ttf


#copy the supporting libraries
for lib in libs/*
do
  echo "Copying $lib library..."
  cp -R -f $lib Manpower.app/Contents/lib
done

#make website build and appstore build
echo "Making website build..."
ditto --rsrc --arch x86_64 Manpower.app build/Manpower.app
cp -f Info-cbk.plist build/Manpower.app/Contents/Info.plist