how to install this successfully ?
Search Criteria
Package Details: ttf-ms-win8-zh_tw 6.3.9600.17238-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/ttf-ms-win8.git (read-only, click to copy) |
---|---|
Package Base: | ttf-ms-win8 |
Description: | Microsoft Windows 8.1 Latin and International TrueType fonts |
Upstream URL: | http://www.microsoft.com/typography/fonts/product.aspx?PID=161 |
Licenses: | custom |
Conflicts: | ttf-ms-fonts, ttf-tahoma, ttf-vista-fonts, ttf-win7-fonts, ttf-win7-fonts-autodownload |
Provides: | ttf-font, ttf-ms-fonts, ttf-tahoma, ttf-vista-fonts, ttf-win7-fonts |
Submitter: | reflexing |
Maintainer: | severach |
Last Packager: | severach |
Votes: | 62 |
Popularity: | 0.000000 |
First Submitted: | 2012-06-08 06:11 (UTC) |
Last Updated: | 2017-07-13 07:10 (UTC) |
Dependencies (6)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- xorg-fonts-encodings
- xorg-mkfontdir (xorg-mkfontscale)
- xorg-mkfontscale
- fontforge (fontforge-gitAUR) (make)
- ttf-office-2007-fontsAUR (optional)
Required by (293)
- 1c_enterprise_meta (requires ttf-ms-fonts) (optional)
- anyk (requires ttf-ms-fonts) (optional)
- awesome-luajit (requires ttf-font) (make)
- basilisk (requires ttf-font)
- beataroni-bin (requires ttf-ms-fonts)
- bitsnpicas-git (requires ttf-font)
- brave-beta-bin (requires ttf-font)
- brave-bin (requires ttf-font)
- brave-nightly-bin (requires ttf-font)
- browservice (requires ttf-ms-fonts)
- btrfs-assistant (requires ttf-font)
- btrfs-assistant-git (requires ttf-font)
- cachy-browser (requires ttf-font)
- canaries-form-415 (requires ttf-ms-fonts)
- canaries-form-420 (requires ttf-ms-fonts)
- canaries-form-425 (requires ttf-ms-fonts)
- cctv-viewer-git (requires ttf-font)
- chicago95-gtk-theme-git (requires ttf-ms-fonts) (optional)
- chicago95-icon-theme-git (requires ttf-ms-fonts) (optional)
- chicago95-theme (requires ttf-ms-fonts) (optional)
- Show 273 more...
Sources (8)
jango commented on 2019-11-12 00:11 (UTC)
severach commented on 2018-03-01 20:05 (UTC)
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 (UTC)
@defcon please read PKGBUILD and previous comments. Thanks.
<deleted-account> commented on 2015-12-03 09:48 (UTC)
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 (UTC)
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 (UTC)
@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 (UTC) (edited on 2015-11-16 16:16 (UTC) by pmatts)
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 (UTC)
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 (UTC)
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 (UTC)
==> 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]
Pinned Comments
severach commented on 2018-03-01 20:05 (UTC)
Package is not broken. You can't build this with yaourt or pamac. It must be built with makepkg after obtaining the fonts manually.