Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2008 14:31:47 -0500
From:      "A.J. Kehoe IV (Nanoman)" <nanoman@nanoman.ca>
To:        freebsd-openoffice@freebsd.org
Subject:   Symlink to OpenOffice.org Binary
Message-ID:  <20080109193147.GB2392@nanocomputer.nanoman.ca>

index | next in thread | raw e-mail

[-- Attachment #1 --]
In the OpenOffice.org Makefiles, EXECBASE is set to "openoffice.org-${OOOVERSION}", "openoffice.org-${OOOTAG}", and other variations instead of simply "openoffice.org".  Because of this, to load the program, I have to know what 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 version 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 created 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 installed, and they would need EXECBASE to remain as it is.  For the rest of us, it 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 corresponding symlinks in the pkg-plist files.  Whatever version was installed last would open when you run "openoffice.org", and if you have more than one 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?

-- 
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


[-- Attachment #2 --]
0	*H
010	+0	*H
%00G4EN;`3#7R0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
070707150940Z
080706150940Z0D10UThawte Freemail Member1!0	*H
	nanoman@nanoman.ca0"0
	*H
0
\>4(a|^t6|{I$Z;,R
hkJ#J4,PjCl)8-JM~Sكǯ6"+N׼LBYR:<=}錝aDˣ[Jӌ?ô|\-TE7щ	PF,gb}"NeCMTC=b(yٗޮ:B`ћHeikVq,0 "%S:721Am/0-0U0nanoman@nanoman.ca0U00
	*H
cAsltv	bL?<ٮA\o@9=L榷XB+jHmuf~V
f5xsES*`
ѧ<O?0?0
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
	*H
HP.
fgCL!6-6/P p<ab:~t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1Q0M0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA4EN;`3#7R0	+0	*H
	1	*H
0	*H
	1
080109193147Z0#	*H
	109pqѕF0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0
	*H
7c3)#svď>p?[,;9<'FE
ZQ9<-eXaU{Gp=0QE9yrAC\oS'
|QB~ofIBkĀAJr|DRe6nd	&!E$VB"P|r!Q-U}۬BV@-Jx16Q=9D]>
t3MxDXa^ғN
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080109193147.GB2392>