From f99bd9f8e1a475bfe6573a4537b14a79b42c76ad Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Thu, 2 Oct 2014 09:17:28 +0530 Subject: [PATCH] Add OSX packaging distribution files. --- misc/build_helpers/osx/Distribution.xml | 486 +++++++++++++++++++++ misc/build_helpers/osx/scripts/postinstall | 3 + 2 files changed, 489 insertions(+) create mode 100644 misc/build_helpers/osx/Distribution.xml create mode 100755 misc/build_helpers/osx/scripts/postinstall diff --git a/misc/build_helpers/osx/Distribution.xml b/misc/build_helpers/osx/Distribution.xml new file mode 100644 index 00000000..19d3d0d8 --- /dev/null +++ b/misc/build_helpers/osx/Distribution.xml @@ -0,0 +1,486 @@ + + + + + + +Tahoe-LAFS + + + + + + + + + + + + + + + + + +tahoe-lafs.pkg + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. +]]> + diff --git a/misc/build_helpers/osx/scripts/postinstall b/misc/build_helpers/osx/scripts/postinstall new file mode 100755 index 00000000..aefc4fd3 --- /dev/null +++ b/misc/build_helpers/osx/scripts/postinstall @@ -0,0 +1,3 @@ +#!/bin/bash + +echo "/Applications/tahoe.app/bin" >> /etc/paths.d/tahoe -- 2.45.2