Revision: 12466 http://gar.svn.sourceforge.net/gar/?rev=12466&view=rev Author: bonivart Date: 2011-01-09 08:53:10 +0000 (Sun, 09 Jan 2011)
Log Message: ----------- pm_fontafm: add patch for font paths Modified Paths: -------------- csw/mgar/pkg/cpan/Font-AFM/trunk/Makefile Added Paths: ----------- csw/mgar/pkg/cpan/Font-AFM/trunk/files/0001-add-csw-font-paths.patch Modified: csw/mgar/pkg/cpan/Font-AFM/trunk/Makefile =================================================================== --- csw/mgar/pkg/cpan/Font-AFM/trunk/Makefile 2011-01-09 01:59:15 UTC (rev 12465) +++ csw/mgar/pkg/cpan/Font-AFM/trunk/Makefile 2011-01-09 08:53:10 UTC (rev 12466) @@ -16,4 +16,6 @@ CATALOGNAME = pm_fontafm ARCHALL = 1 +PATCHFILES += 0001-add-csw-font-paths.patch + include gar/category.mk Added: csw/mgar/pkg/cpan/Font-AFM/trunk/files/0001-add-csw-font-paths.patch =================================================================== --- csw/mgar/pkg/cpan/Font-AFM/trunk/files/0001-add-csw-font-paths.patch (rev 0) +++ csw/mgar/pkg/cpan/Font-AFM/trunk/files/0001-add-csw-font-paths.patch 2011-01-09 08:53:10 UTC (rev 12466) @@ -0,0 +1,34 @@ +From e266ae3c231f3387b850c95113fe3c431fe75eec Mon Sep 17 00:00:00 2001 +From: Peter Bonivart <boniv...@opencsw.org> +Date: Sun, 9 Jan 2011 09:48:51 +0100 +Subject: [PATCH] add-csw-font-paths + +--- + AFM.pm | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/AFM.pm b/AFM.pm +index 9cb223d..7a8d496 100644 +--- a/AFM.pm ++++ b/AFM.pm +@@ -160,7 +160,7 @@ The AFM specification can be found at: + Contains the path to search for AFM-files. Format is as for the PATH + environment variable. The default path built into this library is: + +- /usr/lib/afm:/usr/local/lib/afm:/usr/openwin/lib/fonts/afm/:. ++ /opt/csw/share/ghostscript/fonts:/opt/csw/share/libwmf/fonts:/usr/local/lib/afm:/usr/openwin/lib/fonts/afm/:. + + =back + +@@ -192,7 +192,7 @@ $VERSION = "1.20"; + # The metrics_path is used to locate metrics files + # + my $metrics_path = $ENV{METRICS} || +- "/usr/lib/afm:/usr/local/lib/afm:/usr/openwin/lib/fonts/afm/:."; ++ "/opt/csw/share/ghostscript/fonts:/opt/csw/share/libwmf/fonts:/usr/local/lib/afm:/usr/openwin/lib/fonts/afm/:."; + my @metrics_path = split(/:/, $metrics_path); + foreach (@metrics_path) { s,/$,, } # reove trailing slashes + +-- +1.7.3.2 + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel