Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] fontconfig: font directories modified after indexing
@ 2022-05-31 17:08 chili-b
  2022-08-30  2:14 ` github-actions
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: chili-b @ 2022-05-31 17:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1792 bytes --]

New issue by chili-b on void-packages repository

https://github.com/void-linux/void-packages/issues/37367

Description:
<!-- Don't request update of package. We have a script for that. https://repo-default.voidlinux.org/void-updates/void-updates.txt. However, a quality pull request may help. -->
### System

* xuname:  
  * ``Void 5.16.20_1 x86_64 GenuineIntel uptodate FFFFFFFF``
* package:  
  * ``fontconfig-2.13.1_3``

### Expected behavior
When font directories are indexed, they should only be read. They should not be modified, as one of the purposes of indexing font directories is to detect font updates and if directories are modified upon being indexed, erroneous font updates will be reported.

### Actual behavior
Every time fontconfig indexes existing font directories, if a font directory is writable by the user under which the indexing is performed, its modified time is updated.

This breaks the font update detection feature of fontconfig since if indexing font directories results in some of them being modified, fontconfig will report font updates after each index instead of reporting only actual changes to the available fonts.

Additionally, this cause the font cache at ``~/.cache/fontconfig/`` to become populated with redundant data as updates are detected and cached when no actual changes have taken place.

### Steps to reproduce the behavior
1. Install ``fontconfig``
2. Create a font directory which is user-writable such as ``~/.local/share/fonts``
3. Inspect the modified timestamp on the directory (``stat ~/.local/share/fonts``)
4. Do something which indexes font directories such as running ``fc-list``
5. Inspect the modified timestamp on the directory again (``stat ~/.local/share/fonts``) and see that it has been changed.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: fontconfig: font directories modified after indexing
  2022-05-31 17:08 [ISSUE] fontconfig: font directories modified after indexing chili-b
@ 2022-08-30  2:14 ` github-actions
  2022-08-30 11:28 ` Duncaen
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2022-08-30  2:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/37367#issuecomment-1231060893

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: fontconfig: font directories modified after indexing
  2022-05-31 17:08 [ISSUE] fontconfig: font directories modified after indexing chili-b
  2022-08-30  2:14 ` github-actions
@ 2022-08-30 11:28 ` Duncaen
  2022-08-30 11:28 ` Duncaen
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Duncaen @ 2022-08-30 11:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 191 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/37367#issuecomment-1231534777

Comment:
Is this a void linux issue or a upstream issue?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: fontconfig: font directories modified after indexing
  2022-05-31 17:08 [ISSUE] fontconfig: font directories modified after indexing chili-b
  2022-08-30  2:14 ` github-actions
  2022-08-30 11:28 ` Duncaen
@ 2022-08-30 11:28 ` Duncaen
  2022-08-30 11:48 ` chili-b
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Duncaen @ 2022-08-30 11:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/37367#issuecomment-1231534777

Comment:
Is this a void linux issue or an upstream issue?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: fontconfig: font directories modified after indexing
  2022-05-31 17:08 [ISSUE] fontconfig: font directories modified after indexing chili-b
                   ` (2 preceding siblings ...)
  2022-08-30 11:28 ` Duncaen
@ 2022-08-30 11:48 ` chili-b
  2022-11-30  2:03 ` github-actions
  2022-12-15  2:01 ` [ISSUE] [CLOSED] " github-actions
  5 siblings, 0 replies; 7+ messages in thread
From: chili-b @ 2022-08-30 11:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 321 bytes --]

New comment by chili-b on void-packages repository

https://github.com/void-linux/void-packages/issues/37367#issuecomment-1231555985

Comment:
Not sure. I opened an issue upstream, but there has been no response. What I *do* know is that I can reproduce this issue on multiple void installs, but not on debian or ubuntu.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: fontconfig: font directories modified after indexing
  2022-05-31 17:08 [ISSUE] fontconfig: font directories modified after indexing chili-b
                   ` (3 preceding siblings ...)
  2022-08-30 11:48 ` chili-b
@ 2022-11-30  2:03 ` github-actions
  2022-12-15  2:01 ` [ISSUE] [CLOSED] " github-actions
  5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2022-11-30  2:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/37367#issuecomment-1331550736

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ISSUE] [CLOSED] fontconfig: font directories modified after indexing
  2022-05-31 17:08 [ISSUE] fontconfig: font directories modified after indexing chili-b
                   ` (4 preceding siblings ...)
  2022-11-30  2:03 ` github-actions
@ 2022-12-15  2:01 ` github-actions
  5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2022-12-15  2:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1827 bytes --]

Closed issue by ghost on void-packages repository

https://github.com/void-linux/void-packages/issues/37367

Description:
<!-- Don't request update of package. We have a script for that. https://repo-default.voidlinux.org/void-updates/void-updates.txt. However, a quality pull request may help. -->
### System

* xuname:  
  * ``Void 5.16.20_1 x86_64 GenuineIntel uptodate FFFFFFFF``
* package:  
  * ``fontconfig-2.13.1_3``

### Expected behavior
When font directories are indexed, they should only be read. They should not be modified, as one of the purposes of indexing font directories is to detect font updates and if directories are modified upon being indexed, erroneous font updates will be reported.

### Actual behavior
Every time fontconfig indexes existing font directories, if a font directory is empty and writable by the user under which the indexing is performed, its modified time is updated.

This breaks the font update detection feature of fontconfig since if indexing font directories results in some of them being modified, fontconfig will report font updates after each index instead of reporting only actual changes to the available fonts.

Additionally, this cause the font cache at ``~/.cache/fontconfig/`` to become populated with redundant data as updates are detected and cached when no actual changes have taken place.

### Steps to reproduce the behavior
1. Install ``fontconfig``
2. Create a font directory which is user-writable such as ``~/.local/share/fonts`` and ensure it is empty.
3. Inspect the modified timestamp on the directory (``stat ~/.local/share/fonts``)
4. Do something which indexes font directories such as running ``fc-list``
5. Inspect the modified timestamp on the directory again (``stat ~/.local/share/fonts``) and see that it has been changed.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-12-15  2:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-31 17:08 [ISSUE] fontconfig: font directories modified after indexing chili-b
2022-08-30  2:14 ` github-actions
2022-08-30 11:28 ` Duncaen
2022-08-30 11:28 ` Duncaen
2022-08-30 11:48 ` chili-b
2022-11-30  2:03 ` github-actions
2022-12-15  2:01 ` [ISSUE] [CLOSED] " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).