Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463628 - media-video/avidemux-2.6.2-r1 USE flags fontconfig sdl truetype not used
Summary: media-video/avidemux-2.6.2-r1 USE flags fontconfig sdl truetype not used
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Tom Wijsman (TomWij) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-28 16:48 UTC by Michal Plichta
Modified: 2013-09-01 11:29 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge.info,5.38 KB, text/plain)
2013-03-28 16:50 UTC, Michal Plichta
Details
avidemux configure log (build-aviddemux.log,28.42 KB, text/plain)
2013-03-29 12:27 UTC, Michal Plichta
Details
avidemux-core configure log (build-avidemux-core.log,17.61 KB, text/plain)
2013-03-29 12:27 UTC, Michal Plichta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Plichta 2013-03-28 16:48:35 UTC
avidemux-2.6.2 was build with USE="fontconfig sdl truetype" but in menu 'Help/Build Oprions' Fontconfig, Free Type 2 and SDL are disabled.
Comment 1 Michal Plichta 2013-03-28 16:50:21 UTC
Created attachment 343542 [details]
emerge --info
Comment 2 Michal Plichta 2013-03-29 12:27:26 UTC
Created attachment 343632 [details]
avidemux configure log
Comment 3 Michal Plichta 2013-03-29 12:27:39 UTC
Created attachment 343634 [details]
avidemux-core configure log
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-03-29 15:15:25 UTC
+  29 Mar 2013; Tom Wijsman <TomWij@gentoo.org> +avidemux-core-2.6.3.ebuild,
+  +avidemux-2.6.3.ebuild, +avidemux-plugins-2.6.3.ebuild, metadata.xml:
+  Version bump to 2.6.3. Reworked USE flags to be more specific to each avidemux
+  package, the way it is meant to be; introduced additional support for some
+  libraries through USE flags as a consequence.

It seems to me that window is broken and does not reflect the actual build ptions, since for at least two of them I can see they are linked against and also are properly detected during the build.

 $ lddtree $(which avidemux3_qt4) | grep fontconfig
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1

 $ lddtree $(which avidemux3_qt4) | grep freetype
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6

As for SDL, it doesn't seem linked against it but that one is also properly detected during the build.

-- Checking for SDL
-- ****************
-- Found SDL

So, I can confirm the options not being present and think this to be a GUI bug, therefore I will investigate this in the near future so we can see where the cause lie and possibly report and fix this to avoid further confusion.
Comment 5 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-08-19 12:02:44 UTC
A lot of refactoring and fixing has been done some weeks ago, as well as removal of the broken GTK GUI some time before that; if this bug is still a problem with the latest revision, please reopen.
Comment 6 Michal Plichta 2013-08-30 08:37:48 UTC
I check with avidemux-2.6.4 and still I see 'XVideo' only in build options dialog but I emerge with:

media-libs/avidemux-core-2.6.4 with:
nls sdl xv

media-libs/avidemux-plugins-2.6.4-r1 with:
a52 aac alsa dts fontconfig lame libsamplerate mmx opengl qt4 truetype vorbis x264 xv xvid

media-video/avidemux-2.6.4 with:
nls opengl qt4 sdl xv
Comment 7 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-01 11:29:41 UTC
+  01 Sep 2013; Tom Wijsman <TomWij@gentoo.org> avidemux-9999.ebuild:
+  Preparation for 2.6.5, removed "Build Option" dialog because it doesn't
+  reflect what the GUI can or has been built with, for bug #463628. Did some
+  small cleanup.

See http://gitorious.org/avidemux2-6/avidemux2-6/raw/2ac0ae329b64bc157b2b64040e4e94806b5a6e27:cmake/config.h.cmake where they do CONFIG_HEADER_TYPE checks around GETTEXT and SDL; so, Qt4 is intended to at least not use those. As for Fontconfig and FreeType; that appears to be a problem with how their GUI related cmake files are set up, which I couldn't get fixed easily.

Since it doesn't even reflect what the Qt4 GUI actually can be build with, I have just removed the dialog. The USE flags as well as the configure output should be sufficient for determining what the program has been built with.

This will be part of the 2.6.5 version bump which will happen soon.