Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nomacs stopped understanding AVIF after update
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
tkzv
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2014
Posts: 90

PostPosted: Sun Nov 17, 2024 1:38 pm    Post subject: Nomacs stopped understanding AVIF after update Reply with quote

I use media-gfx/nomacs to view images. After the last update it stopped opening AVIF format. media-libs/libavif is present.

As far as I understand, Nomacs uses Qt libraries to read most formats. Back when GwenView and Nomacs both used Qt 5, both read AVIF. After the world update GwenView uses Qt 6 and opens AVIF, but Nomacs uses Qt 5 and doesn't open AVIF. Looks like some Qt 5 library was rebuilt without libavif support. How do I find what went wrong?

Judging from kde-frameworks/kimageformats description, it seems to be what provides additional image plugins for Qt. It was updated from 5 to 6. If this is correct, how do I find the Qt package, which needs USE flags changed to pull kde-frameworks/kimageformats?

UPDATE: Yes, installing kde-frameworks/kimageformats:5 fixed the problem. But the question remains: what flags for what package do I need to change to make this permanent? Or how do I create a virtual package, that pulls kde-frameworks/kimageformats:5 as long as media-gfx/nomacs depends on Qt 5?
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 755
Location: /home

PostPosted: Mon Nov 18, 2024 6:42 am    Post subject: Reply with quote

I would suggest you to do two things:

1: open a bug so the maintainer can check if there's a configure option or some neat way to enable extra image format support.

2: make yourself a new portage set called "optfeature" where you can add these optional packages providing function without directly being linked to the main program,

/etc/portage/sets/optfeature

Code:

# media-gfx/nomacs avif support
kde-frameworks/kimageformats:5


emerge -av @optfeature
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum