Package Details: ttf-ms-win11-auto-sea 10.0.22631.2428-1

Git Clone URL: https://aur.archlinux.org/ttf-ms-win11-auto.git (read-only, click to copy)
Package Base: ttf-ms-win11-auto
Description: Microsoft Windows 11 Southeast Asian TrueType fonts
Upstream URL: https://www.microsoft.com/typography/fonts/product.aspx?PID=164
Licenses: custom
Conflicts: ttf-ms-win11-sea
Provides: ttf-ms-win11-sea
Submitter: octocorvus
Maintainer: octocorvus (kode54)
Last Packager: kode54
Votes: 64
Popularity: 4.38
First Submitted: 2022-05-06 13:39 (UTC)
Last Updated: 2024-02-12 23:43 (UTC)

Dependencies (3)

Required by (0)

Sources (145)

Pinned Comments

kode54 commented on 2024-02-04 10:43 (UTC) (edited on 2024-02-04 10:45 (UTC) by kode54)

You apparently need to be a member of the disk group to mount a filesystem as an otherwise unprivileged user.

sudo usermod -aG disk $USER

And log out and back in again.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

dogmat73 commented on 2023-07-09 07:24 (UTC)

  • Creating loop device Error opening (ro) file mnt/http/22621.525.220925-0207.ni_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso: Нет такого файла или каталога /var/tmp/pamac-build-dogmat/ttf-ms-win11-auto/PKGBUILD: строка 420: -1: заданное подстрокой выражение меньше нуля

И далее в конце:

==> ОШИБКА: Произошел сбой в package_ttf-ms-win11-auto().

The following is an English translation:

  • Creating loop device Error opening (ro) file mnt/http/22621.525.220925-0207.ni_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso: There is no such file or directory /var/tmp/pamac-build-dogmat/ttf-ms-win11-auto/PKGBUILD: строка 420: -1: the expression given by the substring is less than zero

and at the end of:

==> ERROR: There was a malfunction in package_ttf-ms-win11-auto(). Interruption...

programegg commented on 2023-07-09 02:25 (UTC) (edited on 2023-07-09 03:22 (UTC) by programegg)

@dogmat73 what is your actual error because your out-of-date flag and your comment are not descriptive about the issue you have. This PKGBUILD installs fine on my Arch machine.

dogmat73 commented on 2023-07-06 08:06 (UTC)

Please update the file as it is not installed in the latest version of Manjaro

octocorvus commented on 2023-05-16 18:28 (UTC)

@Omar007 thank you for the patch! I'll clean this patch (if possible), and include it in the next version.

Omar007 commented on 2023-05-16 17:32 (UTC) (edited on 2023-05-16 17:36 (UTC) by Omar007)

That whole section with the udisksctl check and the variable to mark support is a bit troublesome. The variable will always be true in the later check, no matter the result of the udisksctl call; both if [ false ] and if [ true ] are always true; they are non-empty strings.

I ended up patching the PKGBUILD as follows:

--- PKGBUILD
+++ PKGBUILD
@@ -403,9 +403,11 @@
     touch test.mount
-    _unprivilegedMountAllowed=false
-    _testLoopDev=$(udisksctl loop-setup -r -f test.mount --no-user-interaction | awk '{print $NF}') && _unprivilegedMountAllowed=true
-    _testLoopDev=${_testLoopDev::-1}
-    udisksctl loop-delete -b "$_testLoopDev" --no-user-interaction
+    _testLoopDev=$(udisksctl loop-setup -r -f test.mount --no-user-interaction | awk '{print $NF}')
+    if [ -n "${_testLoopDev}" ]; then
+      _unprivilegedMountAllowed=1
+      _testLoopDev=${_testLoopDev::-1}
+      udisksctl loop-delete -b "$_testLoopDev" --no-user-interaction
+    fi
     rm test.mount

-    if [ $_unprivilegedMountAllowed ]; then
+    if [ -n "$_unprivilegedMountAllowed" ]; then
       echo "allowed"

It can probably be minimized a bit more and might not catch some other cases (e.g. it doesn't account for non-zero exit codes for udisksctl calls that produce normal output) but I did not want to spend to much time on this atm as the udisks path does not cover my use-case anyway.

drankinatty commented on 2023-05-07 21:51 (UTC) (edited on 2023-05-07 21:52 (UTC) by drankinatty)

Package fails with gdbus permission issues, e.g.

==> Starting prepare()...
- Examining locally available fonts
- Fonts are missing
- Mount filesystems as a non-privileged user: Error setting up loop device for test.mount: GDBus.Error:org.freedesktop.UDisks2.Error.NotAuthorizedCanObtain: Not authorized to perform operation
/home/david/arch/pkg/bld/ttf-ms-win11-auto/PKGBUILD: line 406: -1: substring expression < 0

Never seen that before. linux-6.3 issue?

fbrennan commented on 2023-04-15 14:04 (UTC)

Any idea why we are missing Msmincho.ttc?

gbc921 commented on 2023-02-13 18:10 (UTC)

Awesome package and automation! Thanks for this!

octocorvus commented on 2023-02-05 06:35 (UTC)

@KafCoppelia I currently don't have a testing environment. I'll try to reproduce the error you and @wagner encountered once I've a testing environment set up.

KafCoppelia commented on 2023-02-04 02:51 (UTC)

Same error occured as wagner.