x11-fonts-corefonts: replaced by xorg-font-msttcorefonts
This commit is contained in:
parent
4c1ebb8169
commit
adaee3ab69
@ -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
|
@ -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
|
36
xorg-font-msttcorefonts/.footprint
Normal file
36
xorg-font-msttcorefonts/.footprint
Normal file
@ -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
|
@ -1,7 +1,7 @@
|
||||
cbdc2fdd7d2ed0832795e86a8b9ee19a andale32.exe
|
||||
9637df0e91703179f0723ec095a36cb5 arial32.exe
|
||||
c9089ae0c3b3d0d8c4b0a95979bb9ff0 arialb32.exe
|
||||
f4b729c0be7d288660f4fc167de199a1 cabextract-1.1.tar.gz
|
||||
dc421a690648b503265c82ade84e143e cabextract-1.2.tar.gz
|
||||
2b30de40bb5e803a0452c7715fc835d1 comic32.exe
|
||||
4e412c772294403ab62fb2d247d85c60 courie32.exe
|
||||
4d90016026e2da447593b41a8d8fa8bd georgi32.exe
|
@ -1,11 +1,12 @@
|
||||
# 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=x11-fonts-corefonts
|
||||
version=2.0
|
||||
name=xorg-font-msttcorefonts
|
||||
version=1.3
|
||||
release=1
|
||||
source=(http://www.kyz.uklinux.net/downloads/cabextract-1.1.tar.gz \
|
||||
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 \
|
||||
@ -16,17 +17,17 @@ source=(http://www.kyz.uklinux.net/downloads/cabextract-1.1.tar.gz \
|
||||
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)
|
||||
http://dl.sourceforge.net/sourceforge/corefonts/wd97vwr32.exe \
|
||||
http://dl.sourceforge.net/sourceforge/corefonts/webdin32.exe)
|
||||
|
||||
build() {
|
||||
(cd cabextract-1.1 && ./configure && make)
|
||||
(cd cabextract-1.2 && ./configure && make)
|
||||
for font in *.exe
|
||||
do
|
||||
cabextract-1.1/cabextract --lowercase $font
|
||||
cabextract-1.2/cabextract --lowercase $font
|
||||
done
|
||||
cabextract-1.1/cabextract --lowercase viewer1.cab
|
||||
mkdir -p $PKG/usr/share/fonts/corefonts
|
||||
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/share/fonts/corefonts/
|
||||
$PKG/usr/lib/X11/fonts/msttcorefonts/
|
||||
}
|
4
xorg-font-msttcorefonts/post-install
Executable file
4
xorg-font-msttcorefonts/post-install
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkfontdir /usr/lib/X11/fonts/msttcorefonts
|
||||
mkfontscale /usr/lib/X11/fonts/msttcorefonts
|
Loading…
x
Reference in New Issue
Block a user