Package Details: ttf-ms-win11-auto-korean 10.0.26100.1742-3

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 Korean TrueType fonts
Upstream URL: https://www.microsoft.com/typography/fonts/product.aspx?PID=164
Licenses: custom
Conflicts: ttf-ms-win11-korean
Provides: ttf-ms-win11-korean
Submitter: octocorvus
Maintainer: octocorvus (kode54)
Last Packager: kode54
Votes: 82
Popularity: 5.38
First Submitted: 2022-05-06 13:39 (UTC)
Last Updated: 2024-11-16 00:25 (UTC)

Dependencies (5)

Required by (0)

Sources (143)

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 10 Next › Last »

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.

wagner commented on 2023-01-19 14:09 (UTC)

what could be the cause of this error below?

==> Starting prepare()... - Examining locally available fonts - Fonts are missing - Mount filesystems as a non-privileged user: Error connecting to the udisks daemon: The connection is closed /var/cache/private/pamac/ttf-ms-win11-auto/PKGBUILD: line 406: -1: substring expression < 0 ==> Entering fakeroot environment... ==> Starting package_ttf-ms-win11-auto()... install: cannot stat 'arial.ttf': No such file or directory install: cannot stat 'arialbd.ttf': No such file or directory

octocorvus commented on 2023-01-06 18:52 (UTC)

@smokefml check comments on https://aur.archlinux.org/packages/httpdirfs , rebuilding the binary or installing openssl-1.1 should fix it