Bug 196522 - x11-fonts/urwfonts: Invalid post-install message about where URW fonts live...
Summary: x11-fonts/urwfonts: Invalid post-install message about where URW fonts live...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jimmy Olgeni
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-05 23:03 UTC by Greg Becker
Modified: 2015-01-06 14:37 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (olgeni)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Becker 2015-01-05 23:03:09 UTC
After installing urwfonts, the post-install message says they live in /usr/local/lib/X11/fonts/URW, but it seems they actually live in /usr/local/lib/X11/fonts/urwfonts.


$ sudo pkg install urwfonts
Password:
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 1 packages will be affected (of 0 checked):

New packages to be INSTALLED:
        urwfonts: 1.0_4

The process will require 2 MB more space.
1 MB to be downloaded.

Proceed with this action? [y/N]: y
Fetching urwfonts-1.0_4.txz: 100%    1 MB   1.3M/s    00:01    
Checking integrity... done (0 conflicting)
[1/1] Installing urwfonts-1.0_4...
[1/1] Extracting urwfonts-1.0_4: 100%
Message for urwfonts-1.0_4:
 ============================================================
You'll have to add /usr/local/lib/X11/fonts/URW
to your X font path by either:

$ xset fp+ /usr/local/lib/X11/fonts/URW
$ xset fp rehash

or by adding it to your X-server configuration file (usually
/etc/X11/xorg.conf) and restarting the X-server.
============================================================


$ xset fp+ /usr/local/lib/X11/fonts/URW
xset:  bad font path element (#7), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax
(255) 


$ xset fp+ /usr/local/lib/X11/fonts/   
100dpi/    Droid/     TTF/       cyrillic/  encodings/ urwfonts/  
75dpi/     OTF/       Type1/     dejavu/    misc/      util/      
[greg@harper ~]
$ xset fp+ /usr/local/lib/X11/fonts/urwfonts 

FreeBSD harper 10.1-STABLE FreeBSD 10.1-STABLE #2 r276320M: Sun Dec 28 08:03:01 CST 2014     root@harper:/usr/obj/usr/src/sys/HARPER  amd64
Comment 1 Bugzilla Automation freebsd_committer 2015-01-05 23:03:09 UTC
Auto-assigned to maintainer olgeni@FreeBSD.org
Comment 2 commit-hook freebsd_committer 2015-01-06 14:36:13 UTC
A commit references this bug:

Author: olgeni
Date: Tue Jan  6 14:35:22 UTC 2015
New revision: 376427
URL: https://svnweb.freebsd.org/changeset/ports/376427

Log:
  Use SUB_LIST to set the actual font path in pkg-message.

  PR:		196522
  Submitted by:	Greg Becker

Changes:
  head/x11-fonts/urwfonts/Makefile
  head/x11-fonts/urwfonts/files/
  head/x11-fonts/urwfonts/files/pkg-message.in
  head/x11-fonts/urwfonts/pkg-message
  head/x11-fonts/urwfonts-ttf/Makefile
  head/x11-fonts/urwfonts-ttf/files/
  head/x11-fonts/urwfonts-ttf/files/pkg-message.in
  head/x11-fonts/urwfonts-ttf/pkg-message
Comment 3 Jimmy Olgeni freebsd_committer 2015-01-06 14:37:10 UTC
Fixed. Thanks!