Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2000 21:17:29 +0100 (CET)
From:      Marcin Cieslak <saper@SYSTEM.PL>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        saper@SYSTEM.PL
Subject:   ports/15922: print/a2ps cannot find ogonkfied fonts [patch]
Message-ID:  <200001052017.VAA97420@saperski.system.pl>

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

>Number:         15922
>Category:       ports
>Synopsis:       print/a2ps cannot find ogonkfied fonts [patch]
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan  5 12:20:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Marcin Cieslak
>Release:        FreeBSD 3.4-RC i386
>Organization:
SYSTEM Internet Provider, http://www.system.pl/
>Environment:

Running FreeBSD with 
LANG=pl_PL.ISO_8859-2

Modified files:
pkg/PLIST

Added files:
patch/patch-ae

>Description:

1. a2ps is unable to find ogonkify fonts, because wrong ogonkify path 
is added to library path.

From a2ps --list-options output:

Internals:
----------
  verbosity level     = 2
  file command        = /usr/bin/file -L
  temporary directory = /tmp
  library path        = 
	/home/saper/.a2ps
	/usr/local/share/a2ps/sheets
	/usr/local/share/a2ps/ps
	/usr/local/share/a2ps/encoding
	/usr/local/share/a2ps/afm
	/usr/local/share/ogonkify/afm
	/usr/local/share/a2ps/ppd
	/usr/local/share/a2ps/fonts
	/usr/local/share/ogonkify/fonts
	/usr/local/share/a2ps

/usr/local/share/ogonkify directory does not exist, it is 
placed as /usr/local/share/a2ps/ogonkify directory,
for better conformance with hier(7). Indeed,
ogonkify was a separate application before included
into a2ps.

2. The PLIST was changed - removed @dirrm commands in
/usr/local/share/locale directory.

>How-To-Repeat:

1. % env LANG=C a2ps -X latin2 /storage/fareast
a2ps: cannot find file `pcrr-o.afm': No such file or directory

>Fix:
	
Index: patches/patch-ae
===================================================================
RCS file: patch-ae
diff -N patch-ae
--- /dev/null	Wed Jan  5 20:29:09 2000
+++ patch-ae	Wed Jan  5 18:55:29 2000
@@ -0,0 +1,11 @@
+--- etc/Makefile.in.orig	Wed Jan  5 18:52:35 2000
++++ etc/Makefile.in	Wed Jan  5 18:54:33 2000
+@@ -149,7 +149,7 @@
+ l = @l@
+ lispdir = @lispdir@
+ 
+-ogonkifydir = $(datadir)/ogonkify
++ogonkifydir = $(datadir)/a2ps/ogonkify
+ libpath = $(pkgdatadir)/sheets:$(pkgdatadir)/ps:$(pkgdatadir)/encoding:$(pkgdatadir)/afm:$(ogonkifydir)/afm:$(pkgdatadir)/ppd:$(pkgdatadir)/fonts:$(ogonkifydir)/fonts:$(pkgdatadir)
+ 
+ pkgdata_DATA = README
Index: pkg/PLIST
===================================================================
RCS file: /home/ncvs/ports/print/a2ps-letter/pkg/PLIST,v
retrieving revision 1.17
diff -u -r1.17 PLIST
--- PLIST	1999/04/20 20:30:01	1.17
+++ PLIST	2000/01/05 19:51:42
@@ -258,35 +258,3 @@
 @dirrm share/a2ps/sheets
 @dirrm share/a2ps/encoding
 @dirrm share/a2ps
-@dirrm share/locale/ca/LC_MESSAGES
-@dirrm share/locale/ca
-@dirrm share/locale/cs/LC_MESSAGES
-@dirrm share/locale/cs
-@dirrm share/locale/da/LC_MESSAGES
-@dirrm share/locale/da
-@dirrm share/locale/de/LC_MESSAGES
-@dirrm share/locale/de
-@dirrm share/locale/es/LC_MESSAGES
-@dirrm share/locale/es
-@dirrm share/locale/fr/LC_MESSAGES
-@dirrm share/locale/fr
-@dirrm share/locale/it/LC_MESSAGES
-@dirrm share/locale/it
-@dirrm share/locale/ko/LC_MESSAGES
-@dirrm share/locale/ko
-@dirrm share/locale/nl/LC_MESSAGES
-@dirrm share/locale/nl
-@dirrm share/locale/no/LC_MESSAGES
-@dirrm share/locale/no
-@dirrm share/locale/pl/LC_MESSAGES
-@dirrm share/locale/pl
-@dirrm share/locale/pt/LC_MESSAGES
-@dirrm share/locale/pt
-@dirrm share/locale/ru/LC_MESSAGES
-@dirrm share/locale/ru
-@dirrm share/locale/sl/LC_MESSAGES
-@dirrm share/locale/sl
-@dirrm share/locale/sv/LC_MESSAGES
-@dirrm share/locale/sv
-@dirrm share/locale/tr/LC_MESSAGES
-@dirrm share/locale/tr

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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