Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830287 - media-gfx/blender-3.0.0 depends on ffmpeg[jpeg2k] unconditionally but has IUSE=jpeg2k
Summary: media-gfx/blender-3.0.0 depends on ffmpeg[jpeg2k] unconditionally but has IUS...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Adrian
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-30 12:35 UTC by Nils Freydank
Modified: 2022-02-20 21:10 UTC (History)
3 users (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 Nils Freydank 2021-12-30 12:35:44 UTC
Hi,

it looks as there is an inconsistency in the USE flag.
Currently dependencies are:
  ffmpeg? ( media-video/ffmpeg:=[x264,mp3,encode,theora,jpeg2k,vpx,vorbis,opus,xvid] )
  jpeg2k? ( media-libs/openjpeg:2= )
and no enforcement in that regard inside REQUIRED_USE.

I suggest to re-group deps:
ffmpeg? -> everything but jpeg2k
jpeg2k? -> openjpeg:2 plus ffmpeg[jpeg2k]

Kind regards,
Nils

Reproducible: Always
Comment 1 Sebastian Parborg 2022-01-05 17:35:57 UTC
The useflag is for enabling saving and opening jpeg2k image formats.
If I recall correctly ffmpeg jpeg2k USE is there to make sure that the automated tests doesn't fail when testing video support (because blender expects ffmpeg to have jpeg2k support).

So the function of current use flags are:
1. jpeg2k -> read/write jpeg2k files
2. ffmpeg -> read/write video files (with a set of formats expected to work)


You suggestion would pull in video support even if only the image save/load functionality was desired.
Comment 2 Larry the Git Cow gentoo-dev 2022-02-20 21:10:19 UTC
The bug has been closed via the following commit(s):

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

commit fc875233dbd9b5272a02c15d325034c47731b70c
Author:     Sebastian Parborg <darkdefende@gmail.com>
AuthorDate: 2022-02-17 19:32:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-20 21:07:31 +0000

    media-gfx/blender: Tweak the jpeg2k useflag
    
    Closes: https://bugs.gentoo.org/830287
    Signed-off-by: Sebastian Parborg <darkdefende@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/blender/blender-2.93.0-r1.ebuild | 2 +-
 media-gfx/blender/blender-2.93.6.ebuild    | 2 +-
 media-gfx/blender/blender-2.93.8-r4.ebuild | 2 +-
 media-gfx/blender/blender-3.0.0-r1.ebuild  | 2 +-
 media-gfx/blender/blender-3.0.1-r4.ebuild  | 2 +-
 media-gfx/blender/blender-9999.ebuild      | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)