From 5f8415f197a1f76d2a92d68fc0cb3c99b633c8ec Mon Sep 17 00:00:00 2001 From: Kevin Bernhagen Date: Fri, 18 Jul 2014 16:43:42 -0700 Subject: [PATCH] add OSX distribution.xml and pkg Resources --- SConstruct | 3 ++- osx/Resources/en.lproj/License.rtf | 42 ++++++++++++++++++++++++++++++ osx/Resources/en.lproj/Welcome.rtf | 17 ++++++++++++ osx/distribution.xml | 16 ++++++++++++ 4 files changed, 77 insertions(+), 1 deletion(-) create mode 100644 osx/Resources/en.lproj/License.rtf create mode 100644 osx/Resources/en.lproj/Welcome.rtf create mode 100644 osx/distribution.xml diff --git a/SConstruct b/SConstruct index abaeb61..a287200 100644 --- a/SConstruct +++ b/SConstruct @@ -82,7 +82,8 @@ if env['PLATFORM'] == 'darwin' or env.GetPackageType() == 'rpm': pkg_resources = 'osx/Resources', pkg_apps = [['dist/FAHControl.app', 'Folding@home/FAHControl.app']], pkg_scripts = 'osx/scripts', - pkg_target = '10.4', + pkg_target = '10.6', + pkg_distribution = 'osx/distribution.xml', ) AlwaysBuild(pkg) diff --git a/osx/Resources/en.lproj/License.rtf b/osx/Resources/en.lproj/License.rtf new file mode 100644 index 0000000..81a8f83 --- /dev/null +++ b/osx/Resources/en.lproj/License.rtf @@ -0,0 +1,42 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1265 +{\fonttbl\f0\fswiss\fcharset0 ArialMT;\f1\froman\fcharset0 TimesNewRomanPSMT;} +{\colortbl;\red255\green255\blue255;} +{\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}.}{\leveltext\leveltemplateid1\'02\'00.;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listname ;}\listid1}} +{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}} +\margl1134\margr1134\margb1134\margt1134\vieww10800\viewh8400\viewkind0 +\deftab709 +\pard\pardeftab709\li432\fi-432\ri0\sb240\sa120 +\ls1\ilvl0 +\f0\b\fs32 \cf0 Folding@home Software License\ +\pard\pardeftab709 + +\f1\b0\fs20 \cf0 Copyright 2001-2014. Stanford University. All Rights Reserved.\ +\ +\pard\pardeftab709 + +\b \cf0 License Agreement: +\b0 \ +\ +Please carefully read the following terms and conditions before using this software. Use of this software indicates acceptance of this license agreement and disclaimer of all warranties.\ +\ + +\b Disclaimer of Warranty: +\b0 \ +\ +IN NO EVENT SHALL STANFORD UNIVERSITY BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF STANFORD UNIVERSITY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\ +\ +STANFORD UNIVERSITY SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE AND ACCOMPANYING DOCUMENTATION PROVIDED HEREUNDER IS PROVIDED "AS IS". Folding@home HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.\ +\ + +\b Restrictions: +\b0 \ +\ +You may use this software on a computer system only if you own the system or have the written permission of the owner.\ +\ +You may not alter the software or associated data files.\ +\ +You may only use unmodified versions of Folding@home obtained through authorized distributors to connect to the Folding@home servers. Use of other software to connect to the Folding@home servers is strictly prohibited. This prohibition includes 3rd party installers which download directly from Stanford web sites, unless written permission is granted from Stanford University.\ +\ +Distribution of this software is prohibited. It may only be obtained by downloading from Stanford's web site (http://folding.stanford.edu and pages linked therein) or the web site of one of our commercial partners (Sony, NVIDIA, and ATI).\ +\ +} \ No newline at end of file diff --git a/osx/Resources/en.lproj/Welcome.rtf b/osx/Resources/en.lproj/Welcome.rtf new file mode 100644 index 0000000..e8cf581 --- /dev/null +++ b/osx/Resources/en.lproj/Welcome.rtf @@ -0,0 +1,17 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1265\cocoasubrtf210 +{\fonttbl\f0\froman\fcharset0 TimesNewRomanPSMT;} +{\colortbl;\red255\green255\blue255;} +{\info +{\author jcoffland }}\margl1134\margr1134\margb1134\margt1134\vieww9600\viewh8400\viewkind0 +\deftab709 +\pard\pardeftab709\sb240\sa120 + +\f0\b\fs48 \cf0 Folding@home Client Control\ +\pard\pardeftab709 + +\b0\fs24 \cf0 This package contains FAHControl, a graphical monitor and control\ +utility for the Folding@home client. It gives an overview of running\ +projects on the local and optional (remote) machines. Starting,\ +stopping and pausing of the running projects is also possible, as is\ +viewing the logs. It provides an Advanced view with\ +additional information and settings for enthusiasts and gurus.} \ No newline at end of file diff --git a/osx/distribution.xml b/osx/distribution.xml new file mode 100644 index 0000000..19d13dc --- /dev/null +++ b/osx/distribution.xml @@ -0,0 +1,16 @@ + + + + %(summary)s + + + + + + + + + + + %(package_name)s.pkg +