Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946598 - net-im/fractal requires media-libs/libshumate being compiled with vector renderer
Summary: net-im/fractal requires media-libs/libshumate being compiled with vector rend...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-17 20:30 UTC by Benedikt Reinartz
Modified: 2025-01-08 13:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benedikt Reinartz 2024-12-17 20:30:04 UTC
media-libs/libshumate-1.1.3 (the current stable version of libshumate) is forcibly compiled without the vector renderer while it is unconditionally enabled on libshumate-1.2.

net-im/fractal requires the vector renderer, so either it's dependency should be raised to libshumate-1.2 or the optional support should be enabled (or enabled behind a useflag) on the stable version.

Reproducible: Always

Steps to Reproduce:
1. emerge net-im/fractal
2. Scroll to a message that contains a shared location
Actual Results:  
Crashes:

Could not read map style: Error { domain: shumate-style-error-quark, code: 4, message: "Libshumate was compiled without support for vector tiles, so a ShumateVectorRenderer may not be constructed. You can fix this by compiling libshumate with `-Dvector_renderer=true` or by checking `shumate_vector_renderer_is_supported ()` before trying to construct a ShumateVectorRenderer." }


Expected Results:  
Map gets rendered

fractal unconditionally depends on the vector renderer:

https://gitlab.gnome.org/World/fractal/-/blob/main/src/components/media/location_viewer.rs#L57
Comment 1 Benedikt Reinartz 2024-12-17 20:38:52 UTC
I can also confirm that the issue is fixed by installing the unstable libshumate-1.2.3.
Comment 2 Larry the Git Cow gentoo-dev 2025-01-08 08:28:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27b35c399fa7bd283d8b9581cadcc7f4801dc9ec

commit 27b35c399fa7bd283d8b9581cadcc7f4801dc9ec
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2025-01-08 08:06:31 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2025-01-08 08:28:45 +0000

    net-im/fractal: Bump minimal libshumate version
    
    Closes: https://bugs.gentoo.org/946598
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 net-im/fractal/fractal-10_beta.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Benedikt Reinartz 2025-01-08 10:55:18 UTC
The issue is present in Fractal 8 already, that ebuild has to be updated as well.
Comment 4 Larry the Git Cow gentoo-dev 2025-01-08 13:15:35 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=372ad6d2a46df4743e34fae8cf11d8d11fdcbf7e

commit 372ad6d2a46df4743e34fae8cf11d8d11fdcbf7e
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2025-01-08 11:10:32 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2025-01-08 13:15:30 +0000

    net-im/fractal: Update libshumate dep in 8-r1
    
    No revbump since the issue is relatively rare and rebuilding this
    package is a heavy burden.
    
    Bug: https://bugs.gentoo.org/946598
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 net-im/fractal/fractal-8-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)