Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/x11
In directory sc8-pr-cvs17:/tmp/cvs-serv20201
Added Files:
monafont.info monafont.patch
Log Message:
move to stable at maintainer's request
--- NEW FILE: monafont.patch ---
diff -ruN monafont-2.90/Makefile monafont-2.90-patch/Makefile
--- monafont-2.90/Makefile Tue Sep 9 22:54:10 2003
+++ monafont-2.90-patch/Makefile Mon Mar 7 21:26:29 2005
@@ -19,7 +19,7 @@
DESTDIR =
X11BINDIR = /usr/X11R6/bin
-X11FONTDIR = $(DESTDIR)/usr/X11R6/lib/X11/fonts/local
+X11FONTDIR = $(DESTDIR)/@PREFIX@/lib/X11/fonts/mona
BDFTOPCF = $(X11BINDIR)/bdftopcf
MKDIRHIER = $(X11BINDIR)/mkdirhier # 'mkdir -p' may also work.
MKFONTDIR = $(X11BINDIR)/mkfontdir
diff -ruN monafont-2.90/ttfsrc/Makefile monafont-2.90-patch/ttfsrc/Makefile
--- monafont-2.90/ttfsrc/Makefile Tue Sep 9 22:54:11 2003
+++ monafont-2.90-patch/ttfsrc/Makefile Mon Mar 7 21:27:30 2005
@@ -27,13 +27,13 @@
DESTDIR =
X11BINDIR = /usr/X11R6/bin
MKDIRHIER = $(X11BINDIR)/mkdirhier # 'mkdir -p' may also work.
-TTFFONTDIR = $(DESTDIR)/usr/share/fonts/ja/TrueType
+TTFFONTDIR = $(DESTDIR)/@PREFIX@/lib/X11/fonts/mona
MY_RPM_ROOT = /tmp/rpm-root
# modify this:
#BASE_OUTLINE_TTF=/usr/share/fonts/ja/TrueType/kochi-gothic.ttf # for
RedHat
-BASE_OUTLINE_TTF=/src/kochi-substitute/kochi-gothic-subst.ttf
[EMAIL PROTECTED]@/lib/X11/fonts/kochi-subst/kochi-gothic-subst.ttf
MONA_OUTLINE_TTF=mona-outline.ttf
TTFPACK=$(PERL) $(TTFTOOLS)/ttfpack
@@ -71,7 +71,7 @@
MKTESTUNICODE=$(PERL) $(TTFTOOLS)/mktestunicode
GETFIELD=$(AWK) 'BEGIN{IGNORECASE=1;f=ARGV[1];ARGV[1]="";} $$1~f{print $$2;}'
GETUNIT=$(GETFIELD) unitsPerEm
-GET_NUMHMETRICS=$(GETFIELD) numberOfHMetrics
+GET_NUMHMETRICS=grep numberOfHMetrics | awk '{print $$2;}'
GET_NUMGLYPHS=$(GETFIELD) numGlyphs
COUNTLINES=$(AWK) 'BEGIN{n=0;} {n++;} END{print n;}'
REPEATFILE=$(PERL) $(TTFTOOLS)/repeatfile
--- NEW FILE: monafont.info ---
Package: monafont
Version: 2.90
Revision: 1
Depends: xfontpath
BuildDepends: kochi-substitute
Source: mirror:sourceforge:%n/%n-%v.tar.bz2
Source-MD5: 2b914878b19b1550757cea5d8a771612
PatchScript: sed -e 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1
CompileScript: <<
make
(cd ttfsrc && make)
<<
InstallScript: <<
make install DESTDIR=%d
mv fonts.alias.mona %i/lib/X11/fonts/mona/fonts.alias
(cd ttfsrc && make install DESTDIR=%d)
(cd %i/lib/X11/fonts/mona && mkfontscale)
<<
PostInstScript: <<
%p/bin/xfontpath --silent install mona
if test -f /etc/X11/XftConfig; then
if grep -v -q `%p/bin/xfontpath basedir`/mona
/etc/X11/XftConfig; then
echo dir \"`%p/bin/xfontpath basedir`/mona\" >>
/etc/X11/XftConfig
fi
fi
fc-cache -v
<<
PreRmScript: rm -f %p/lib/X11/fonts/mona/fonts.cache-1
PostRmScript: <<
%p/bin/xfontpath --silent remove mona
if test -f /etc/X11/XftConfig; then
if grep -q `%p/bin/xfontpath basedir`/mona /etc/X11/XftConfig;
then
if grep -v `%p/bin/xfontpath basedir`/mona
/etc/X11/XftConfig > /etc/X11/XftConfig.tmp; then
mv /etc/X11/XftConfig.tmp /etc/X11/XftConfig
else
echo "an error occurred removing your font
settings from /etc/X11/XftConfig"
fi
fi
fi
<<
DocFiles: README.ascii README.euc
Description: Freeware S-JIS font for text art
License: Public Domain
Homepage: http://monafont.sourceforge.net/index-e.html
Maintainer: Alexander Strange <[EMAIL PROTECTED]>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits