summaryrefslogtreecommitdiffstats
path: root/docs/mandriva_msttcorefonts.md
blob: fad263390ba3572a7566912928dee43b2c3f13e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# `msttcorefonts` on Mandriva

The `msttcorefonts` are needed to build Chrome but are not available for
Mandriva. Building your own is not hard though and only takes about 2 minutes to
set up and complete

    urpmi rpm-build cabextract

Download this script, make it executable and run it:
http://wiki.mandriva.com/en/uploads/3/3a/Rpmsetup.sh

It will create a directory `~/rpm` and some hidden files in your home directory.

open the file `~/.rpmmacros` and comment out the following lines by putting a #
in front of them, eg like this (because most likely you won't have a gpg key set
up and creating the package will fail if you leave these lines):

    #%_signature             gpg_

    #%_gpg_name              Mandrivalinux_

    #%_gpg_path              ~/.gnupg_

download the following file
http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec and save it to
`~/rpm/SPECS`

    cd ~/rpm/SPECS
    rpmbuild -bb msttcorefonts-2.0-1.spec

the rpm will be build and be put in `~/rpm/RPMS/noarch` ready to install