Package Base Details: ttf-ms-win8

Git Clone URL: https://aur.archlinux.org/ttf-ms-win8.git (read-only)
Submitter: reflexing
Maintainer: severach
Last Packager: severach
Votes: 63
Popularity: 0.000448
First Submitted: 2012-06-08 06:11
Last Updated: 2017-07-13 07:10

Pinned Comments

severach commented on 2018-03-01 20:05

Package is not broken. You can't build this with yaourt or pamac. It must be built with makepkg after obtaining the fonts manually.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

jango commented on 2019-11-12 00:11

how to install this successfully ?

severach commented on 2018-03-01 20:05

Package is not broken. You can't build this with yaourt or pamac. It must be built with makepkg after obtaining the fonts manually.

reflexing commented on 2015-12-03 09:50

@defcon please read PKGBUILD and previous comments. Thanks.

defcon commented on 2015-12-03 09:48

Can't build this package.

==> FEHLER: arial.ttf wurde nicht im build Verzeichnis gefunden und ist keine URL.

arial.ttf was not found in the build tree and is no URL

I hope the translation was ok :D

pmatts commented on 2015-11-17 14:52

thankyou reflexing. i dont understand why manually replacing the md5sums array didnt work before but now its working. i probably screwed up somewhere. happy coding!

reflexing commented on 2015-11-17 05:04

@pmatts
1) remove md5sums array from PKGBUILD (delete all the strings completely):
md5sums=('3c9390eb37dd4ab8c670ecd71feb7f71'
...
'bceb1884fcf8c7b569cf64602ddc8ef0'
SKIP)
2) regenerate them with makepkg -g >> PKGBUILD
3) install needed generated packages

pmatts commented on 2015-11-16 15:37

So i updated the checksums with makepkg -g and now get

ERROR: Integrity checks (md5) differ in size from the source array. I guess I've got more (or less) fonts than the package expects. I guess this means I have to do a diff on the package and my font dir...

heres a script to see the differences

#!/bin/bash

source PKGBUILD
echo ""
echo "--------------------- font array ---------------------"
for font in "${_ttf_ms_win8[@]}"; do
echo -n "$font: "
[[ -f "$font" ]] && echo "ok." || echo "############## missing ##############"
done

echo "--------------------- font files ---------------------"
for fontfile in *.ttf; do
in_array=false
echo -n "$fontfile: "
for font in "${_ttf_ms_win8[@]}"; do
if [[ $font == $fontfile ]]; then
in_array=true
break
fi
done
[[ $in_array = true ]] && echo "in array." || echo "############## not in array ##############"
done


I have WAY more fonts than this package looks for! But then again I'm probably doing everthing completely wrong because there are no instructions.

pmatts commented on 2015-11-16 15:26

I just discovered by experimentation that it seems to work if you simply extract/copy all individual fonts from the entire windows font directory into the PKGBUILD directory as is.

However, my licence.rtf does not pass checks...

pmatts commented on 2015-11-16 15:05

ERROR: arial.ttf was not found in the build directory and is not a URL

To answer a previous comment: I am unable to supply the fonts as instructed by the PKGBUILD because the PKGBUILD contains no clear instructions on how to do that. It states:

"You need the files listed in the source=() array. Place them in the same directory as this PKGBUILD file, then run makepkg."

Scrolling down reveals the source array:

source=("${_ttf_ms_win8[@]}" "${_arabic[@]}" "${_hebrew[@]}"
"${_sea[@]}" "${_korean[@]}" "${_japanese[@]}" "${_zh_cn[@]}"
"${_zh_tw[@]}" "${_indic[@]}" "${_thai[@]}" "${_other[@]}"
20-ttf-ms-win8-japanese.conf
20-ttf-ms-win8-korean.conf
20-ttf-ms-win8-zh_cn.conf
20-ttf-ms-win8-zh_tw.conf
license.rtf)

No further instructions.

Notable error:
The following are bash arrays and not files:
"${_ttf_ms_win8[@]}" "${_arabic[@]}" "${_hebrew[@]}" "${_sea[@]}" "${_korean[@]}" "${_japanese[@]}" "${_zh_cn[@]}" "${_zh_tw[@]}" "${_indic[@]}" "${_thai[@]}" "${_other[@]}"

However, other than the lack of instructions and their inaccuracy, this looks like excellent work!

erkexzcx commented on 2015-10-06 18:04

==> Making package: ttf-ms-win8 6.3.9600.17238-1 (Tue Oct 6 20:55:35 EEST 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: arial.ttf was not found in the build directory and is not a URL.
==> ERROR: Makepkg was unable to build ttf-ms-win8.
==> Restart building ttf-ms-win8 ? [y/N]