Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2008 11:12:00 +1030
From:      Malcolm Kay <malcolm.kay@internode.on.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/121247: [patch] xcolors built from port fails to find rgb.txt
Message-ID:  <200803011112.00231.malcolm.kay@internode.on.net>
Resent-Message-ID: <200803010100.m211004u007075@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         121247
>Category:       ports
>Synopsis:       [patch] xcolors built from port fails to find rgb.txt
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 01 01:00:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Malcolm Kay
>Release:        FreeBSD 6.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD xi.home 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:45:45 UTC 2008 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386

>Description:
        /usr/port/x11/xcolors when built, installed and execute complains
    it is unable to find /usr/share/Xll/rgb.txt and aborts.
    Port version: xcolors-1.3_1
>How-To-Repeat:
        Build from port, install and execute (under Xorg).

>Fix:
    Replace /usr/ports/x11/xcolors/patch-aa with
quote/
--- Imakefile.orig      1994-06-07 09:58:45.000000000 +0930
+++ Imakefile   2008-02-24 22:57:27.000000000 +1030
@@ -1,6 +1,6 @@
 XCOMM $XConsortium: Imakefile,v 1.2 94/06/06 20:28:45 gildea Exp $
 
-RGBDBFILE = DefaultRGBDatabase
+RGBDBFILE = $(LIBDIR)/rgb
 
         DEPLIBS = XawClientDepLibs
 LOCAL_LIBRARIES = XawClientLibs
@@ -8,12 +8,7 @@
            OBJS = xcolors.o
   SYS_LIBRARIES = -lm
 
-#if BuildServer
         DEFINES = -DRGB_TXT=\"$(RGBDBFILE).txt\"
-#else
-       /* rgb.txt will not be installed, so find it in build tree */
-       DEFINES = -DRGB_TXT=\"$(RGBSRC)/rgb.txt\"
-#endif
 
 ComplexProgramTarget(xcolors)
 InstallAppDefaults(Xcolors)
/quote

Only the change of RGBDBFILE value is different from the original patch file.
 
Now rebuild, reinstall and rerun.

It would seem that the basic problem is in the configuration
files /usr/local/lib/X11/config/* used by imake and associated 
with xorg version 7.3 and installed here by xorg-cf-files-1.0.2_2 
This could lead to problems with other ports of X applications.

Your attention is appreciated.
Malcolm Kay
>Release-Note:
>Audit-Trail:
>Unformatted:



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