From fmysh@quad.dyndns.org  Fri Nov 19 14:58:47 2004
Return-Path: <fmysh@quad.dyndns.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D0B9816A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 Nov 2004 14:58:47 +0000 (GMT)
Received: from prime.quad.dyndns.org (12.57.138.210.xn.2iij.net [210.138.57.12])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1194943D39
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 Nov 2004 14:58:47 +0000 (GMT)
	(envelope-from fmysh@quad.dyndns.org)
Received: by prime.quad.dyndns.org (Postfix, from userid 1001)
	id D46F8F1847; Fri, 19 Nov 2004 23:58:45 +0900 (JST)
Message-Id: <20041119145845.D46F8F1847@prime.quad.dyndns.org>
Date: Fri, 19 Nov 2004 23:58:45 +0900 (JST)
From: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
Reply-To: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
To: FreeBSD-gnats-submit@freebsd.org
Subject: cad/qcad*: inapropriate installation paths
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         74118
>Category:       ports
>Synopsis:       cad/qcad*: inapropriate installation paths
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 19 15:00:54 GMT 2004
>Closed-Date:    Thu Nov 25 16:35:14 GMT 2004
>Last-Modified:  Thu Nov 25 16:35:14 GMT 2004
>Originator:     TAOKA Fumiyoshi
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
>Description:
	ports/cad/qcad installs resource files into
	/usr/local/share/qcad.
	But it is not where QCad searches for by default.

	QCad searches ${CWD}/qcad/, /usr/share/qcad/,
	/usr/X11R6/qcad/, /usr/X11R6/share/qcad/ and
	${HOME}/.qcad/, which are hard coded.
	Look at RS_System::getDirectoryList() in
	qcadlib/src/engine/rs_system.cpp.

>How-To-Repeat:

	When one launches QCad first time, he sees Welcom dialog
	box to selecet GUI and Command languages. But it has
	no items at all. It should have the language lists from
	/usr/local/share/qcad/qm/.

	This also happens when selecting [Editi]-
	[Application preferences] menu.

	ln -s /usr/local/share/qcad /usr/X11R6/share/qcad makes
	the list items appear.

>Fix:

	Is it OK to move qcad* from LOCALBASE to X11BASE?

--- cad/qcad/Makefile.orig       Fri Nov 19 22:34:17 2004
+++ cad/qcad/Makefile    Fri Nov 19 22:39:43 2004
@@ -23,6 +23,7 @@

 QTDIR?=                ${X11BASE}

+USE_X_PREFIX=  yes
 USE_QT_VER=    3
 USE_REINPLACE= yes
 USE_GMAKE=     yes

--- cad/qcad-partslib/Makefile.orig       Fri Nov 19 23:18:06 2004
+++ cad/qcad-partslib/Makefile    Fri Nov 19 23:18:33 2004
@@ -19,6 +19,7 @@
 WRKSRC=                ${WRKDIR}/partlibrary-${PORTVERSION:S/.1$/-1/}
 DATADIR=       ${PREFIX}/share/qcad/libraries

+USE_X_PREFIX=  yes
 USE_ZIP=       yes
 USE_REINPLACE= yes
 NO_BUILD=      yes

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mr 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Nov 20 07:34:19 GMT 2004 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74118 
State-Changed-From-To: open->closed 
State-Changed-By: mr 
State-Changed-When: Thu Nov 25 16:32:47 GMT 2004 
State-Changed-Why:  
-commited. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74118 
>Unformatted:
