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    140    * The "rman" tool for man page formatting. Website and license: [http://polyglotman.sourceforge.net/].
   141    141    * The "aem" package for custom Apple Event handling.  Website and license: [http://fossil.codebykevin.com].
   142    142   
   143    143   
   144    144   -------------------
   145    145   title: Manpower Version History
   146    146   alias: Version History
          147  +
          148  +'''6.3 (July 2, 2016):'''
          149  + * Performance improvements.
          150  + * Minor bug fixes.
   147    151   
   148    152   '''6.2 (August 16, 2015):'''
   149    153    * Bug fixes in serial registration process.
   150    154    * Cleanup of startup and shutdown functions.
   151    155   
   152    156   '''6.1 (July 20, 2015):'''
   153    157    * Improvements in mechanism for registering default application for man pages; fixes crash.

Added oss-build.

            1  +#!/bin/sh
            2  +
            3  +echo "Starting build process..."
            4  +
            5  +#clean up old builds
            6  +
            7  +if [ -a build/Manpower.zip ]
            8  + then
            9  +    rm build/Manpower.zip
           10  +fi
           11  +
           12  +if [ -a Manpower.app ]
           13  +	then
           14  +	rm -rf Manpower.app
           15  +fi
           16  +
           17  +if [ -a appstore/Manpower.app ]
           18  +	then
           19  +	rm -rf appstore/Manpower.app
           20  +fi
           21  +	
           22  +if [ -a build/Manpower.app ]
           23  +	then
           24  +	rm -rf build/Manpower.app
           25  +fi
           26  +
           27  +
           28  +
           29  +
           30  +cat << EOT > Info-cbk.plist
           31  +<?xml version="1.0" encoding="UTF-8"?>
           32  +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
           33  +<plist version="1.0">
           34  +<dict>
           35  +	<key>CFBundleDevelopmentRegion</key>
           36  +	<string>English</string>
           37  +	<key>CFBundleExecutable</key>
           38  +	<string>Manpower</string>
           39  +	<key>CFBundleGetInfoString</key>
           40  +	<string>Manpower $1 (c) 2016 WordTech Communications LLC</string>
           41  +	<key>ATSApplicationFontsPath</key>
           42  +	<string>fonts</string>
           43  +	<key>LSMinimumSystemVersionByArchitecture</key>
           44  +	<dict>
           45  +	<key>i386</key>
           46  +	<string>10.11</string>
           47  +	<key>x86_64</key>
           48  +	<string>10.11</string>
           49  +	</dict>
           50  +	<key>LSArchitecturePriority</key>
           51  +<array>
           52  +<string>x86_64</string>
           53  +<string>i386</string>
           54  +</array>
           55  +	<key>LSApplicationCategoryType</key>
           56  +	<string>public.app-category.utilities</string>
           57  +	<key>NSHumanReadableCopyright</key>
           58  +	<string>(c) 2016 WordTech Communications LLC</string>
           59  +	<key>CFBundleIconFile</key>
           60  +	<string>manpower.icns</string>
           61  +	<key>CFBundleInfoDictionaryVersion</key>
           62  +	<string>6.0</string>
           63  +	<key>CFBundleName</key>
           64  +	<string>Manpower</string>
           65  +	<key>CFBundleDisplayName</key>
           66  +	<string>Manpower</string>
           67  +	<key>CFBundleIdentifier</key>
           68  +	<string>com.codebykevin.com.manpower-cbk</string>
           69  +	<key>CFBundlePackageType</key>
           70  +	<string>APPL</string>
           71  +	<key>CFBundleShortVersionString</key>
           72  +	<string>$1</string>
           73  +	<key>CFBundleVersion</key>
           74  +	<string>$1</string>
           75  +	<key>LSMinimumSystemVersion</key>
           76  +	<string>10.11</string>
           77  +	<key>LSRequiresCarbon</key>
           78  +	<true/>
           79  +	<key>NSAppleScriptEnabled</key>
           80  +	<true/>
           81  +	<key>OSAScriptingDefinition</key>
           82  +	<string>Manpower.sdef</string>
           83  +		<key>NSServices</key>
           84  +	<array>
           85  +		<dict>
           86  +			<key>NSMenuItem</key>
           87  +			<dict>
           88  +				<key>default</key>
           89  +				<string>Manpower: Display man page</string>
           90  +			</dict>
           91  +			<key>NSMessage</key>
           92  +			<string>provideService</string>
           93  +			<key>NSPortName</key>
           94  +			<string>Manpower</string>
           95  +			<key>NSSendTypes</key>
           96  +			<array>
           97  +				<string>NSStringPboardType</string>
           98  +			</array>
           99  +		</dict>
          100  +	</array>
          101  +	<key>CFBundleURLTypes</key>
          102  +	<array>
          103  +		<dict>
          104  +			<key>CFBundleURLName</key>
          105  +			<string>x-man-page URL</string>
          106  +			<key>CFBundleURLSchemes</key>
          107  +			<array>
          108  +				<string>x-man-page</string>
          109  +			</array>
          110  +		</dict>
          111  +	</array>
          112  +	<key>NSSupportsAutomaticTermination</key>
          113  +	<string>YES</string>
          114  +	<key>NSSupportsSuddenTermination</key>
          115  +	<string>YES</string>
          116  + <key>NSHighResolutionCapable</key>
          117  +    <string>True</string>
          118  +  <key>SUFeedURL</key>
          119  +	<string>http://www.codebykevin.com/manpower.xml</string>
          120  +<key>SUPublicDSAKeyFile</key>
          121  +	<string>dsa_pub.pem</string>
          122  +</dict>
          123  +</plist>
          124  +EOT
          125  +
          126  +
          127  +#create app bundle shell from standalone Wish app
          128  +cp -R -f Wish.app Manpower.app
          129  +find Manpower.app  -name "*.a"  -exec rm -rf {} \;
          130  +find Manpower.app  -name "*debug"  -exec rm -rf {} \;
          131  +find Manpower.app  -name "*.sh"  -exec rm -rf {} \; 
          132  +
          133  +
          134  +mv Manpower.app/Contents/MacOS/Wish Manpower.app/Contents/MacOS/Manpower
          135  +
          136  +cp -f Manpower.sdef Manpower.app/Contents/Resources/Manpower.sdef
          137  +cp -f manpower.icns Manpower.app/Contents/Resources/manpower.icns
          138  +mkdir Manpower.app/Contents/lib
          139  +
          140  +
          141  +cp -R -f Scripts Manpower.app/Contents/Resources/Scripts
          142  +mkdir Manpower.app/Contents/Resources/fonts
          143  +cp -f iconic_stroke.ttf Manpower.app/Contents/Resources/fonts/iconic_stroke.ttf
          144  +
          145  +
          146  +#copy the supporting libraries
          147  +for lib in libs/*
          148  +do
          149  +  echo "Copying $lib library..."
          150  +  cp -R -f $lib Manpower.app/Contents/lib
          151  +done
          152  +
          153  +#make website build and appstore build
          154  +echo "Making website build..."
          155  +ditto --rsrc --arch x86_64 Manpower.app build/Manpower.app
          156  +cp -f Info-cbk.plist build/Manpower.app/Contents/Info.plist