On Thu, Feb 23, 2023 at 02:57:42PM +0000, Stuart Henderson wrote:
> On 2023/02/22 04:20, Landry Breuil wrote:
> > CVSROOT:    /cvs
> > Module name:        ports
> > Changes by: lan...@cvs.openbsd.org  2023/02/22 04:20:27
> > 
> > Modified files:
> >     www/mozilla-firefox: Makefile 
> >     www/mozilla-firefox/files: unveil.content unveil.main 
> > 
> > Log message:
> > www/mozilla-firefox: fixup previous and use $XDG_CACHE_HOME
> > 
> > Mesa respects XDG_CACHE_HOME in line 860 of
> > lib/mesa/src/util/disk_cache_os.c
> > 
> > noted by tb@, thanks!
> 
> tor-browser could do with this too; it doesn't crash but you get a lot
> of these otherwise:
> 
> Failed to create /home/user/.cache/mesa_shader_cache/ce for shader cache (No 
> such file or directory)---disabling.
> Failed to create /home/user/.cache/mesa_shader_cache/75 for shader cache (No 
> such file or directory)---disabling.
> Failed to create /home/user/.cache/mesa_shader_cache/77 for shader cache (No 
> such file or directory)---disabling.
> [..]
> 
> OK?

Thanks a lot, didn't get to checking this out myself yet.

OK caspar@

> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/www/tor-browser/browser/Makefile,v
> retrieving revision 1.103
> diff -u -p -r1.103 Makefile
> --- Makefile  17 Feb 2023 10:47:35 -0000      1.103
> +++ Makefile  23 Feb 2023 14:55:30 -0000
> @@ -7,6 +7,7 @@ COMMENT =             modified version of Firefox E
>  MOZILLA_VERSION =    ${TB_VERSION}
>  MOZILLA_PROJECT =    ${BROWSER_NAME}
>  MOZILLA_CODENAME =   browser
> +REVISION =           0
> 
>  EXTRACT_SUFX =               .tar.xz
>  PATCHORIG =          .pat.orig
> Index: files/unveil.content
> ===================================================================
> RCS file: /cvs/ports/www/tor-browser/browser/files/unveil.content,v
> retrieving revision 1.7
> diff -u -p -r1.7 unveil.content
> --- files/unveil.content      27 Oct 2022 17:37:13 -0000      1.7
> +++ files/unveil.content      23 Feb 2023 14:55:30 -0000
> @@ -34,6 +34,7 @@ $XDG_CONFIG_HOME/gtk-3.0 r
>  $XDG_CONFIG_HOME/mimeapps.list r
>  $XDG_CONFIG_HOME/user-dirs.dirs r
>  $XDG_CACHE_HOME/fontconfig r
> +$XDG_CACHE_HOME/mesa_shader_cache rwc
>  $XDG_DATA_HOME/applications r
>  $XDG_DATA_HOME/applnk r
>  $XDG_DATA_HOME/fonts r
> Index: files/unveil.main
> ===================================================================
> RCS file: /cvs/ports/www/tor-browser/browser/files/unveil.main,v
> retrieving revision 1.8
> diff -u -p -r1.8 unveil.main
> --- files/unveil.main 15 Nov 2022 08:16:54 -0000      1.8
> +++ files/unveil.main 23 Feb 2023 14:55:30 -0000
> @@ -54,6 +54,7 @@
>  # given variable if it exists in the environment, otherwise defaulting to
>  # ~/.cache, ~/.config, and ~/.local/share
>  $XDG_RUNTIME_DIR/dconf rwc
> +$XDG_CACHE_HOME/mesa_shader_cache rwc
>  $XDG_CACHE_HOME/thumbnails rwc
>  $XDG_CONFIG_HOME/dconf rw
>  $XDG_CONFIG_HOME/fcitx r
> 

Reply via email to