ports/opt (2.3): x11-fonts-corefonts: replaced by xorg-font-msttcorefonts
commit adaee3ab69915ee608abfde24cd944b08ab00e22 Author: Matt Housh <jaeger@crux.nu> Date: Fri Nov 9 22:48:24 2007 -0600 x11-fonts-corefonts: replaced by xorg-font-msttcorefonts diff --git a/x11-fonts-corefonts/.footprint b/x11-fonts-corefonts/.footprint deleted file mode 100644 index 4d7e37d..0000000 --- a/x11-fonts-corefonts/.footprint +++ /dev/null @@ -1,35 +0,0 @@ -drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/share/ -drwxr-xr-x root/root usr/share/fonts/ -drwxr-xr-x root/root usr/share/fonts/corefonts/ --rw-r--r-- root/root usr/share/fonts/corefonts/andalemo.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/arial.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/arialbd.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/arialbi.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/ariali.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/ariblk.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/comic.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/comicbd.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/cour.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/courbd.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/courbi.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/couri.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/georgia.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/georgiab.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/georgiai.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/georgiaz.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/impact.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/tahoma.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/times.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/timesbd.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/timesbi.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/timesi.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/trebuc.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/trebucbd.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/trebucbi.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/trebucit.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/verdana.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/verdanab.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/verdanai.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/verdanaz.ttf --rw-r--r-- root/root usr/share/fonts/corefonts/webdings.ttf diff --git a/x11-fonts-corefonts/.md5sum b/x11-fonts-corefonts/.md5sum deleted file mode 100644 index dab10f8..0000000 --- a/x11-fonts-corefonts/.md5sum +++ /dev/null @@ -1,13 +0,0 @@ -cbdc2fdd7d2ed0832795e86a8b9ee19a andale32.exe -9637df0e91703179f0723ec095a36cb5 arial32.exe -c9089ae0c3b3d0d8c4b0a95979bb9ff0 arialb32.exe -f4b729c0be7d288660f4fc167de199a1 cabextract-1.1.tar.gz -2b30de40bb5e803a0452c7715fc835d1 comic32.exe -4e412c772294403ab62fb2d247d85c60 courie32.exe -4d90016026e2da447593b41a8d8fa8bd georgi32.exe -7907c7dd6684e9bade91cff82683d9d7 impact32.exe -ed39c8ef91b9fb80f76f702568291bd5 times32.exe -0d7ea16cac6261f8513a061fbfcdb2b5 trebuc32.exe -12d2a75f8156e10607be1eaa8e8ef120 verdan32.exe -efa72d3ed0120a07326ce02f051e9b42 wd97vwr32.exe -230a1d13a365b22815f502eb24d9149b webdin32.exe diff --git a/x11-fonts-corefonts/Pkgfile b/x11-fonts-corefonts/Pkgfile deleted file mode 100644 index bde1f26..0000000 --- a/x11-fonts-corefonts/Pkgfile +++ /dev/null @@ -1,32 +0,0 @@ -# URL: http://corefonts.sourceforge.net/ -# Description: Microsoft's Web Fonts (truetype) -# Maintainer: Matt Housh, jaeger at morpheus dot net - -name=x11-fonts-corefonts -version=2.0 -release=1 -source=(http://www.kyz.uklinux.net/downloads/cabextract-1.1.tar.gz \ - http://dl.sourceforge.net/sourceforge/corefonts/andale32.exe \ - http://dl.sourceforge.net/sourceforge/corefonts/arial32.exe \ - http://dl.sourceforge.net/sourceforge/corefonts/arialb32.exe \ - http://dl.sourceforge.net/sourceforge/corefonts/comic32.exe \ - http://dl.sourceforge.net/sourceforge/corefonts/courie32.exe \ - http://dl.sourceforge.net/sourceforge/corefonts/georgi32.exe \ - http://dl.sourceforge.net/sourceforge/corefonts/impact32.exe \ - http://dl.sourceforge.net/sourceforge/corefonts/times32.exe \ - http://dl.sourceforge.net/sourceforge/corefonts/trebuc32.exe \ - http://dl.sourceforge.net/sourceforge/corefonts/verdan32.exe \ - http://dl.sourceforge.net/sourceforge/corefonts/webdin32.exe \ - http://dl.sourceforge.net/sourceforge/corefonts/wd97vwr32.exe) - -build() { - (cd cabextract-1.1 && ./configure && make) - for font in *.exe - do - cabextract-1.1/cabextract --lowercase $font - done - cabextract-1.1/cabextract --lowercase viewer1.cab - mkdir -p $PKG/usr/share/fonts/corefonts - install -o root -g root -m 0644 *.ttf \ - $PKG/usr/share/fonts/corefonts/ -} diff --git a/x11-fonts-corefonts/README b/x11-fonts-corefonts/README deleted file mode 100644 index 1a34123..0000000 --- a/x11-fonts-corefonts/README +++ /dev/null @@ -1,48 +0,0 @@ - -REQUIREMENTS - - freetype, x11 - -PRE-INSTALL - -POST-INSTALL - - 1. Load "freetype" module in xorg.conf: - - ---snip--- - - .. - Section "Module" - .. - Load "freetype" - EndSection - .. - - ---snip--- - - 2. add the truetype directory to your fontpath in - the xorg.conf file: - - ---snip--- - - .. - Section "Files" - .. - FontPath "/usr/share/fonts/corefonts/" - EndSection - .. - - ---snip--- - - 3. create a font info database for the new fonts - - # cd /usr/share/fonts/corefonts/ - # mkfontscale - # mkfontdir - # fc-cache -f - - 4. restart X or rehash the font path like so: - - # xset fp rehash - -PRECAUTION diff --git a/xorg-font-msttcorefonts/.footprint b/xorg-font-msttcorefonts/.footprint new file mode 100644 index 0000000..3d85a9f --- /dev/null +++ b/xorg-font-msttcorefonts/.footprint @@ -0,0 +1,36 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/X11/ +drwxr-xr-x root/root usr/lib/X11/fonts/ +drwxr-xr-x root/root usr/lib/X11/fonts/msttcorefonts/ +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/andalemo.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/arial.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/arialbd.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/arialbi.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/ariali.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/ariblk.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/comic.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/comicbd.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/cour.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/courbd.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/courbi.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/couri.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/georgia.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/georgiab.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/georgiai.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/georgiaz.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/impact.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/tahoma.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/times.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/timesbd.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/timesbi.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/timesi.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/trebuc.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/trebucbd.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/trebucbi.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/trebucit.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/verdana.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/verdanab.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/verdanai.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/verdanaz.ttf +-rw-r--r-- root/root usr/lib/X11/fonts/msttcorefonts/webdings.ttf diff --git a/xorg-font-msttcorefonts/.md5sum b/xorg-font-msttcorefonts/.md5sum new file mode 100644 index 0000000..ff30dff --- /dev/null +++ b/xorg-font-msttcorefonts/.md5sum @@ -0,0 +1,13 @@ +cbdc2fdd7d2ed0832795e86a8b9ee19a andale32.exe +9637df0e91703179f0723ec095a36cb5 arial32.exe +c9089ae0c3b3d0d8c4b0a95979bb9ff0 arialb32.exe +dc421a690648b503265c82ade84e143e cabextract-1.2.tar.gz +2b30de40bb5e803a0452c7715fc835d1 comic32.exe +4e412c772294403ab62fb2d247d85c60 courie32.exe +4d90016026e2da447593b41a8d8fa8bd georgi32.exe +7907c7dd6684e9bade91cff82683d9d7 impact32.exe +ed39c8ef91b9fb80f76f702568291bd5 times32.exe +0d7ea16cac6261f8513a061fbfcdb2b5 trebuc32.exe +12d2a75f8156e10607be1eaa8e8ef120 verdan32.exe +efa72d3ed0120a07326ce02f051e9b42 wd97vwr32.exe +230a1d13a365b22815f502eb24d9149b webdin32.exe diff --git a/xorg-font-msttcorefonts/Pkgfile b/xorg-font-msttcorefonts/Pkgfile new file mode 100644 index 0000000..4571cf0 --- /dev/null +++ b/xorg-font-msttcorefonts/Pkgfile @@ -0,0 +1,33 @@ +# URL: http://corefonts.sourceforge.net/ +# Description: Microsoft's Web Fonts (truetype) +# Maintainer: Matt Housh, jaeger at morpheus dot net +# Depends on: xorg-mkfontdir, xorg-mkfontscale + +name=xorg-font-msttcorefonts +version=1.3 +release=1 +source=(http://www.cabextract.org.uk/cabextract-1.2.tar.gz \ + http://dl.sourceforge.net/sourceforge/corefonts/andale32.exe \ + http://dl.sourceforge.net/sourceforge/corefonts/arial32.exe \ + http://dl.sourceforge.net/sourceforge/corefonts/arialb32.exe \ + http://dl.sourceforge.net/sourceforge/corefonts/comic32.exe \ + http://dl.sourceforge.net/sourceforge/corefonts/courie32.exe \ + http://dl.sourceforge.net/sourceforge/corefonts/georgi32.exe \ + http://dl.sourceforge.net/sourceforge/corefonts/impact32.exe \ + http://dl.sourceforge.net/sourceforge/corefonts/times32.exe \ + http://dl.sourceforge.net/sourceforge/corefonts/trebuc32.exe \ + http://dl.sourceforge.net/sourceforge/corefonts/verdan32.exe \ + http://dl.sourceforge.net/sourceforge/corefonts/wd97vwr32.exe \ + http://dl.sourceforge.net/sourceforge/corefonts/webdin32.exe) + +build() { + (cd cabextract-1.2 && ./configure && make) + for font in *.exe + do + cabextract-1.2/cabextract --lowercase $font + done + cabextract-1.2/cabextract --lowercase viewer1.cab + mkdir -p $PKG/usr/lib/X11/fonts/msttcorefonts + install -o root -g root -m 0644 *.ttf \ + $PKG/usr/lib/X11/fonts/msttcorefonts/ +} diff --git a/xorg-font-msttcorefonts/post-install b/xorg-font-msttcorefonts/post-install new file mode 100755 index 0000000..1e5fcde --- /dev/null +++ b/xorg-font-msttcorefonts/post-install @@ -0,0 +1,4 @@ +#!/bin/sh + +mkfontdir /usr/lib/X11/fonts/msttcorefonts +mkfontscale /usr/lib/X11/fonts/msttcorefonts
participants (1)
-
crux@crux.nu