From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 7 14:40:04 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D72C16A420 for ; Tue, 7 Mar 2006 14:40:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1244443D49 for ; Tue, 7 Mar 2006 14:40:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k27Ee3Il034398 for ; Tue, 7 Mar 2006 14:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k27Ee3tE034397; Tue, 7 Mar 2006 14:40:03 GMT (envelope-from gnats) Resent-Date: Tue, 7 Mar 2006 14:40:03 GMT Resent-Message-Id: <200603071440.k27Ee3tE034397@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kirk Strauser Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A6AF16A420 for ; Tue, 7 Mar 2006 14:39:40 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EF2C43D66 for ; Tue, 7 Mar 2006 14:39:40 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k27EddJl050625 for ; Tue, 7 Mar 2006 14:39:39 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k27Edd04050623; Tue, 7 Mar 2006 14:39:39 GMT (envelope-from nobody) Message-Id: <200603071439.k27Edd04050623@www.freebsd.org> Date: Tue, 7 Mar 2006 14:39:39 GMT From: Kirk Strauser To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/94172: editors/openoffice.org-2.0 needs sane symlinks X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 14:40:04 -0000 >Number: 94172 >Category: ports >Synopsis: editors/openoffice.org-2.0 needs sane symlinks >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 07 14:40:03 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Kirk Strauser >Release: 6-STABLE >Organization: The Strauser Group >Environment: FreeBSD kanga.honeypot.net 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #2: Thu Mar 2 12:55:58 CST 2006 kirk@kanga.honeypot.net:/usr/obj/usr/src/sys/KANGA i386 >Description: Right now, the symlinks to run OpenOffice.org components are a complete mess: $ pkg_info -L openoffice.org-2.0.2.rc1 | grep /usr/local/bin /usr/local/bin/openoffice.org /usr/local/bin/openoffice.org-2.0.2.rc1 /usr/local/bin/openoffice.org-2.0.2.rc1-sbase /usr/local/bin/openoffice.org-2.0.2.rc1-scalc /usr/local/bin/openoffice.org-2.0.2.rc1-sdraw /usr/local/bin/openoffice.org-2.0.2.rc1-setofficelang /usr/local/bin/openoffice.org-2.0.2.rc1-simpress /usr/local/bin/openoffice.org-2.0.2.rc1-smath /usr/local/bin/openoffice.org-2.0.2.rc1-spadmin /usr/local/bin/openoffice.org-2.0.2.rc1-swriter This contrasts with the default Gentoo installation: $ equery files openoffice | grep '/usr/bin' /usr/bin /usr/bin/oobase2 /usr/bin/oocalc2 /usr/bin/ooconfig /usr/bin/oodraw2 /usr/bin/ooffice2 /usr/bin/oofromtemplate2 /usr/bin/ooimpress2 /usr/bin/oomath2 /usr/bin/ooo-wrapper2 /usr/bin/ooweb2 /usr/bin/oowriter2 If possible, could the port be modified to use symlinks similar to the ones Gentoo uses? Typing "oowriter2" is a lot easier than "openoffice.org-2.0.2.rc1-swriter", and much more scripting-friendly. >How-To-Repeat: Install the editors/openoffice.org-2.0 port and hear shell tab-completion play the Ukrainian Bell Carol as you try to run one of the components. >Fix: I'm not sure whether editing the post-install clause in the port Makefile is sufficient, or if the build process needs to be patched so that the /usr/local/bin/openoffice.org-2.0.2.rc1 binary knows how to switch its behavior based on the new names it would called as. My initial experiments with making new symlinks called "oowriter2", "oowriter", and "swriter" and hoping that OpenOffice.org would DWIM did not look promising; they all resulted in the "generic" application being loaded. I'm too intimidated by this port to do serious investigation and so demurely leave judgment to the experts. >Release-Note: >Audit-Trail: >Unformatted: