Update of /cvsroot/fink/dists/10.2/unstable/main/finkinfo/x11
In directory usw-pr-cvs1:/tmp/cvs-serv11272
Added Files:
applesystemfonts-1.0-1.info msttcorefonts-1.2-2.info
Removed Files:
msttcorefonts-1.2-1.info
Log Message:
small tweak to the mstt package, added apple font package
--- NEW FILE: applesystemfonts-1.0-1.info ---
Package: applesystemfonts
Version: 1.0
Revision: 1
Depends: xfontpath
BuildDepends: fondu, ttfmkfontdir, xfontpath
BuildDependsOnly: true
Type: nosource
NoSourceDirectory: true
CompileScript: <<
#!/bin/sh
for file in `find /Library /System/Library -name \*.dfont -print`; do
fondu -force $file
done
<<
InstallScript: <<
#!/bin/sh
# hot stinkin' DAMN this is ugly
install -d -m 755 %d`%p/bin/xfontpath basedir`/applettf
install -c -m 644 *.ttf *.ttf %d`%p/bin/xfontpath basedir`/applettf/
pushd %d`%p/bin/xfontpath basedir`/applettf
find /Library /System/Library -name \*.ttf | while read FONTFILE; do
FONTNAME=`basename $FONTFILE`
rm -f "$FONTNAME"
ln -s "$FONTFILE" .
done
echo "generating fonts.dir error list"
%p/bin/ttfmkfontdir -o fonts.dir -m 10 -c > /tmp/mkfontdir.output 2>&1
#cat /tmp/mkfontdir.output | grep ': unknown' | cut -d: -f 1 | sed -e 's#^font
##' | xargs rm -f
rm -f Beijing.ttf NISC18030.ttf Taipei.ttf
echo "generating fixed fonts.dir"
%p/bin/ttfmkfontdir -o fonts.dir -m 10 -c
popd
rm -f /tmp/mkfontdir.output
<<
PostInstScript: <<
#!/bin/sh
if test -x %p/bin/xfontpath; then
%p/bin/xfontpath --silent install applettf
fi
if grep -v -q `%p/bin/xfontpath basedir`/applettf /etc/X11/XftConfig; then
echo dir \"`%p/bin/xfontpath basedir`/applettf\" >> /etc/X11/XftConfig
fi
echo "All done. You may need to restart X to get antialiased fonts"
echo "in some applications."
<<
PostRmScript: <<
#!/bin/sh
if test -x %p/bin/xfontpath; then
%p/bin/xfontpath --silent remove applettf
fi
if grep -q `%p/bin/xfontpath basedir`/applettf /etc/X11/XftConfig; then
if grep -v `%p/bin/xfontpath basedir`/applettf /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
<<
Description: Make Apple system fonts available to X11R6
DescDetail: <<
This package will extract the TrueType fonts from your
Apple System and Library directories and make them
available to X11R6.
Warning: This package can get *VERY* large depending on
how many fonts you have in your system. TrueType fonts
will get symlinked, so they won't take much space, but any
dfont files in the /Library or /System/Library directories
will get converted to TrueType and copied to your fink
tree.
<<
DescPackaging: <<
Not sure about licensing on the Apple fonts, so I'm going
to assume for now it's restrictive.
<<
License: Restrictive
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
--- NEW FILE: msttcorefonts-1.2-2.info ---
Package: msttcorefonts
Version: 1.2
Revision: 2
Depends: xfontpath
BuildDepends: cabextract, ttfmkfontdir, xfontpath
BuildDependsOnly: true
NoSourceDirectory: true
Source: mirror:sourceforge:corefonts/andale32.exe
Source2: mirror:sourceforge:corefonts/arial32.exe
Source3: mirror:sourceforge:corefonts/arialb32.exe
Source4: mirror:sourceforge:corefonts/comic32.exe
Source5: mirror:sourceforge:corefonts/courie32.exe
Source6: mirror:sourceforge:corefonts/georgi32.exe
Source7: mirror:sourceforge:corefonts/impact32.exe
Source8: mirror:sourceforge:corefonts/times32.exe
Source9: mirror:sourceforge:corefonts/trebuc32.exe
Source10: mirror:sourceforge:corefonts/verdan32.exe
Source11: mirror:sourceforge:corefonts/webdin32.exe
CompileScript: <<
#!/bin/sh
for file in *.exe; do
%p/bin/cabextract -L $file
done
<<
InstallScript: <<
#!/bin/sh
install -d -m 755 %d`%p/bin/xfontpath basedir`/msttf
install -c -m 644 *.ttf %d`%p/bin/xfontpath basedir`/msttf/
pushd %d`%p/bin/xfontpath basedir`/msttf
%p/bin/ttfmkfontdir -o fonts.dir
popd
<<
PostInstScript: <<
#!/bin/sh
if test -x %p/bin/xfontpath; then
%p/bin/xfontpath --silent install msttf
fi
if test -f /etc/X11/XftConfig; then
if grep -v -q `%p/bin/xfontpath basedir`/msttf /etc/X11/XftConfig; then
echo dir \"`%p/bin/xfontpath basedir`/msttf\" >>
/etc/X11/XftConfig
fi
echo "All done. You may need to restart X to get antialiased fonts"
echo "in some applications."
fi
<<
PostRmScript: <<
#!/bin/sh
if test -x %p/bin/xfontpath; then
%p/bin/xfontpath --silent remove msttf
fi
if test -f /etc/X11/XftConfig; then
if grep -q `%p/bin/xfontpath basedir`/msttf /etc/X11/XftConfig; then
if grep -v `%p/bin/xfontpath basedir`/msttf /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
<<
Description: Microsoft's TrueType core fonts for the web
DescDetail: <<
These are the Microsoft TrueType fonts for use on web
pages. Type have been pulled from Microsoft's site but
had a license that allowed distribution, so they are now
downloadable from SourceForge.
<<
DescPackaging: <<
Fink packages built from these fonts are usable locally,
but are *not* redistributable.
<<
License: Restrictive
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://www.kyz.uklinux.net/cabextract.php3
--- msttcorefonts-1.2-1.info DELETED ---
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits