From owner-freebsd-openoffice@FreeBSD.ORG Wed Jan 9 20:00:35 2008 Return-Path: Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 008C716A419 for ; Wed, 9 Jan 2008 20:00:35 +0000 (UTC) (envelope-from nanoman@nanoman.ca) Received: from mail.nanoman.ca (mail.nanoman.ca [76.10.173.222]) by mx1.freebsd.org (Postfix) with ESMTP id AF52013C448 for ; Wed, 9 Jan 2008 20:00:34 +0000 (UTC) (envelope-from nanoman@nanoman.ca) Received: from nanocomputer.nanoman.ca (nanocomputer.nanoman.ca [192.168.1.9]) by mail.nanoman.ca (Postfix) with ESMTP id D6CC817031 for ; Wed, 9 Jan 2008 14:31:47 -0500 (EST) Received: by nanocomputer.nanoman.ca (Postfix, from userid 62661) id B7A9011A0B; Wed, 9 Jan 2008 14:31:47 -0500 (EST) Date: Wed, 9 Jan 2008 14:31:47 -0500 From: "A.J. Kehoe IV (Nanoman)" To: freebsd-openoffice@freebsd.org Message-ID: <20080109193147.GB2392@nanocomputer.nanoman.ca> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="0eh6TmSyL6TZE2Uz" Content-Disposition: inline Organization: Nanoman's Company User-Agent: Mutt (FreeBSD) Subject: Symlink to OpenOffice.org Binary X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nanoman@nanoman.ca List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jan 2008 20:00:35 -0000 --0eh6TmSyL6TZE2Uz Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In the OpenOffice.org Makefiles, EXECBASE is set to "openoffice.org-${OOOVE= RSION}", "openoffice.org-${OOOTAG}", and other variations instead of simply= "openoffice.org". Because of this, to load the program, I have to know wh= at version number I have installed. For example, to run the latest stable = version, I'd have to run "openoffice.org-2.3.1" as opposed to something ver= sion independent like "openoffice.org". I have a number of different keyboard and desktop shortcuts to Writer, Calc= , and other tools. If I made the shortcuts to use the binary that's create= d when I install the program (openoffice.org-2.3.1, for example), I'd have = to update the shortcuts to reflect version number changes when I install a = new version. I assume that developers and testers may have more than one version install= ed, and they would need EXECBASE to remain as it is. For the rest of us, i= t means extra work is needed to update our shortcuts. My idea is to add something like "@${LN} -fs ${PREFIX}/bin/openoffice.org-$= {OOOVERSION} ${PREFIX}/bin/openoffice.org" to the Makefiles and put the cor= responding symlinks in the pkg-plist files. Whatever version was installed= last would open when you run "openoffice.org", and if you have more than o= ne version installed, you can choose which one to run by adding the version= number as a suffix. Comments, anyone? Should I go ahead and submit the patches? --=20 A.J. Kehoe IV (Nanoman) | /"\ ASCII Ribbon Campaign Nanoman's Company | \ / - No HTML/RTF in E-mail E-mail: nanoman@nanoman.ca | X - No proprietary attachments XMPP: nanoman@nanoman.ca | / \ - Respect for open standards S/MIME X.509 Certificate: http://www.nanoman.ca/smime.crt --0eh6TmSyL6TZE2Uz Content-Type: application/x-pkcs7-signature Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIIIrgYJKoZIhvcNAQcCoIIInzCCCJsCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC BiUwggLeMIICR6ADAgECAhA0RYu3TtM7YO4zByM3uX9SMA0GCSqGSIb3DQEBBQUAMGIxCzAJ BgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYD VQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQTAeFw0wNzA3MDcxNTA5 NDBaFw0wODA3MDYxNTA5NDBaMEQxHzAdBgNVBAMTFlRoYXd0ZSBGcmVlbWFpbCBNZW1iZXIx ITAfBgkqhkiG9w0B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