blob: fad263390ba3572a7566912928dee43b2c3f13e4 [file] [log] [blame] [view]
andybonsad92aa32015-08-31 02:27:441# `msttcorefonts` on Mandriva
andybons3322f762015-08-24 21:37:092
andybonsad92aa32015-08-31 02:27:443The `msttcorefonts` are needed to build Chrome but are not available for
4Mandriva. Building your own is not hard though and only takes about 2 minutes to
5set up and complete
andybons3322f762015-08-24 21:37:096
andybonsad92aa32015-08-31 02:27:447 urpmi rpm-build cabextract
andybons3322f762015-08-24 21:37:098
andybonsad92aa32015-08-31 02:27:449Download this script, make it executable and run it:
10http://wiki.mandriva.com/en/uploads/3/3a/Rpmsetup.sh
andybons3322f762015-08-24 21:37:0911
andybonsad92aa32015-08-31 02:27:4412It will create a directory `~/rpm` and some hidden files in your home directory.
andybons3322f762015-08-24 21:37:0913
andybonsad92aa32015-08-31 02:27:4414open the file `~/.rpmmacros` and comment out the following lines by putting a #
15in front of them, eg like this (because most likely you won't have a gpg key set
16up and creating the package will fail if you leave these lines):
andybons3322f762015-08-24 21:37:0917
andybonsad92aa32015-08-31 02:27:4418 #%_signature gpg_
andybons3322f762015-08-24 21:37:0919
andybonsad92aa32015-08-31 02:27:4420 #%_gpg_name Mandrivalinux_
andybons3322f762015-08-24 21:37:0921
andybonsad92aa32015-08-31 02:27:4422 #%_gpg_path ~/.gnupg_
andybons3322f762015-08-24 21:37:0923
andybonsad92aa32015-08-31 02:27:4424download the following file
25http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec and save it to
26`~/rpm/SPECS`
andybons3322f762015-08-24 21:37:0927
andybonsad92aa32015-08-31 02:27:4428 cd ~/rpm/SPECS
29 rpmbuild -bb msttcorefonts-2.0-1.spec
andybons3322f762015-08-24 21:37:0930
andybonsad92aa32015-08-31 02:27:4431the rpm will be build and be put in `~/rpm/RPMS/noarch` ready to install