Bug 121247 - [patch] x11/xcolors built from port fails to find rgb.txt
Summary: [patch] x11/xcolors built from port fails to find rgb.txt
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pietro Cerutti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-01 01:00 UTC by Malcolm Kay
Modified: 2008-03-12 10:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Malcolm Kay 2008-03-01 01:00:00 UTC
        /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

Fix: Replace /usr/ports/x11/xcolors/patch-aa with
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--wyRrhjVlP3FZTF0gI9Fq5A2VLKngv7xtJbh44TvnuvmIJwnH
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- 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
How-To-Repeat:         Build from port, install and execute (under Xorg).
Comment 1 Pietro Cerutti freebsd_committer freebsd_triage 2008-03-12 02:45:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gahr

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-03-12 10:48:01 UTC
gahr        2008-03-12 10:47:53 UTC

  FreeBSD ports repository

  Modified files:
    x11/xcolors          Makefile 
    x11/xcolors/files    patch-aa 
  Log:
  - Make port find rgb.txt
  
  PR:             121247
  Submitted by:   Malcolm Kay <malcolm.kay@internode.on.net>
  Approved by:    miwi (mentor)
  
  Revision  Changes    Path
  1.28      +2 -1      ports/x11/xcolors/Makefile
  1.2       +10 -2     ports/x11/xcolors/files/patch-aa
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Pietro Cerutti freebsd_committer freebsd_triage 2008-03-12 10:48:41 UTC
State Changed
From-To: open->closed

Committed. Thanks!