Package Details: vazirmatn-fonts 33.003-1

Git Clone URL: https://aur.archlinux.org/vazirmatn-fonts.git (read-only, click to copy)
Package Base: vazirmatn-fonts
Description: A beautiful Persian font based on DejaVu font.
Upstream URL: https://github.com/rastikerdar/vazirmatn
Keywords: font persian فارسی
Licenses: OFL
Conflicts: vazirmatn
Provides: vazir-fonts, vazirmatn, vazirmatn-fonts
Replaces: vazir-fonts
Submitter: ali.molaei
Maintainer: ali.molaei (morealaz)
Last Packager: ali.molaei
Votes: 29
Popularity: 0.065269
First Submitted: 2022-03-09 14:11 (UTC)
Last Updated: 2022-10-18 11:09 (UTC)

Pinned Comments

ali.molaei commented on 2022-03-09 14:24 (UTC)

From now on, this package is just a dummy package that installs https://aur.archlinux.org/packages/vazirmatn-fonts

You can install that package directly

This change is due to the font being renamed by the main developer

https://rastikerdar.github.io/vazirmatn/fa/docs/HELP-fa

https://github.com/rastikerdar/vazirmatn/issues/235

Latest Comments

xiota commented on 2023-09-20 13:26 (UTC)

Please remove replaces directive. Thank you. (No need to reply via comment; AUR now sends commit notifications.)

morealaz commented on 2023-01-12 14:17 (UTC) (edited on 2023-01-12 14:17 (UTC) by morealaz)

@ali.molaei: This package does not install all available fonts such as Variable fonts. we can use this package() function to install all fonts:

package() {
  install -d "${pkgdir}/usr/share/fonts/${pkgname%-fonts}"
  find "${srcdir}" -name '*.ttf' -exec install -m 644 '{}' \
       "${pkgdir}/usr/share/fonts/${pkgname%-fonts}/" \;

  install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 ./LICENSE
}

mehrshad commented on 2022-03-26 22:25 (UTC) (edited on 2022-03-26 22:28 (UTC) by mehrshad)

Unfortunately I'm getting this error while trying to install the package:

  -> Extracting vazirmatn-fonts-32.101.zip with bsdtar
bsdtar: Failed to set default locale
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Error exit delayed from previous errors.
==> ERROR: Failed to extract vazirmatn-fonts-32.101.zip
    Aborting...
 -> error making: vazirmatn-fonts

ali.molaei commented on 2022-03-14 10:44 (UTC)

@morealaz Thanks, did it

morealaz commented on 2022-03-10 04:28 (UTC) (edited on 2022-03-10 04:29 (UTC) by morealaz)

@ali.molaei I think the better way to handle this is to add a replaces array like this:

replaces=('vazir-fonts')

to vazirmatn-fonts PKGBUILD file to replace this package and then file a merge request for this package to be merged with vazirmatn-fonts package, since this package became renamed.

milad.a commented on 2022-03-09 17:57 (UTC)

Thanks @ali! Works now but I guess I will remove vazir-fonts anyway.

ali.molaei commented on 2022-03-09 17:39 (UTC) (edited on 2022-03-09 17:40 (UTC) by ali.molaei)

@milad.a I think the problem should be resolved now, btw, remove or update vazir-fonts package, I didn't add it as a conflict, to make it act as a decoy of this package, but I think I should reconsider that soon

milad.a commented on 2022-03-09 17:29 (UTC)

The latest update is conflicting with ttf-vazir but I don't have that package installed explicitly anyway:

looking for conflicting packages...
:: vazirmatn-fonts and vazir-fonts are in conflict (ttf-vazir). Remove vazir-fonts? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)

ali.molaei commented on 2022-03-09 14:24 (UTC)

From now on, this package is just a dummy package that installs https://aur.archlinux.org/packages/vazirmatn-fonts

You can install that package directly

This change is due to the font being renamed by the main developer

https://rastikerdar.github.io/vazirmatn/fa/docs/HELP-fa

https://github.com/rastikerdar/vazirmatn/issues/235