Bug 2574

Summary: avidemux-gtk Installing for dependencies: avidemux-qt
Product: Fedora Reporter: Guillaume Kulakowski <guillaume.kulakowski>
Component: avidemuxAssignee: Richard <hobbes1069>
Status: RESOLVED FIXED    
Severity: normal CC: bugzilla, ferdnyc, nucleo, vicente.fgarcia
Priority: P5    
Version: 17   
Hardware: All   
OS: GNU/Linux   
namespace:

Description Guillaume Kulakowski 2012-11-22 20:45:01 CET
Hi,

sine 2.6.0, avidemux-qt is on my system. It'a dependency of adidemux-gtk :
==========================================================================================================================
 Package                                          Architecture                              Version                                            Dépôt                                                     Taille
==========================================================================================================================
Installation de :
 avidemux-gtk                                     x86_64                                    2.6.0-1.fc17                                       rpmfusion-free-updates                                    1.2 M
Installation pour dépendances :
 avidemux                                         x86_64                                    2.6.0-1.fc17                                       rpmfusion-free-updates                                     11 k
 avidemux-help                                    noarch                                    2.6.0-1.fc17                                       rpmfusion-free-updates                                    194 k
 avidemux-libs                                    x86_64                                    2.6.0-1.fc17                                       rpmfusion-free-updates                                    3.2 M
 avidemux-qt                                      x86_64                                    2.6.0-1.fc17                                       rpmfusion-free-updates                                    1.3 M

Résumé de la transaction
==========================================================================================================================
Installation   1 Paquet (+4 Paquets en dépendance)

Taille totale des téléchargements : 6.0 M
Taille d'installation : 17 M
Est-ce correct [o/N] :
Comment 1 vicentefg 2012-11-30 23:37:44 CET
Hi.

When I try to install avidemux-gtk-2.6.0-1 are installed as dependencies the following packages:

avidemux-qt
qt
qt-settings
qt-x11

================================================================================
 Package          Arquitectura
                            Versión             Repositorio               Tamaño
================================================================================
Instalando:
 avidemux-gtk     x86_64    2.6.0-1.fc17        rpmfusion-free-updates    1.2 M
Instalando para las dependencias:
 avidemux         x86_64    2.6.0-1.fc17        rpmfusion-free-updates     11 k
 avidemux-help    noarch    2.6.0-1.fc17        rpmfusion-free-updates    194 k
 avidemux-libs    x86_64    2.6.0-1.fc17        rpmfusion-free-updates    3.2 M
 avidemux-qt      x86_64    2.6.0-1.fc17        rpmfusion-free-updates    1.3 M
 qt               x86_64    1:4.8.3-7.fc17      updates                   4.3 M
 qt-settings      noarch    4.8-22.fc17         updates                    26 k
 qt-x11           x86_64    1:4.8.3-7.fc17      updates                    12 M

Resumen de la transacción
================================================================================
Instalar  1 Paquete (+7 Paquetes dependientes)

Tamaño total de la descarga: 22 M
Tamaño instalado: 66 M
Está de acuerdo [s/N]:
Comment 2 Steve 2012-12-15 15:35:20 CET
I can confirm this bug.
Comment 3 Richard 2012-12-15 15:59:58 CET
I've already got this fixed locally but there's a problem with getting some plugins to build. I'll push a new update once I've got both of them fixed.
Comment 4 Richard 2012-12-17 03:52:02 CET
This should fix the problem, but one side effect is that installing just "avidemux" will now bring in the gtk, qt, and cli interfaces.

Feel free to test the packages from the build results or wait until they make it to the testing repositories.

F16: http://buildsys.rpmfusion.org/plague-results/fedora-16-rpmfusion_free/avidemux/2.6.0-3.fc16/

F17: http://buildsys.rpmfusion.org/plague-results/fedora-17-rpmfusion_free/avidemux/2.6.0-3.fc17/

F18: http://buildsys.rpmfusion.org/plague-results/fedora-18-rpmfusion_free/avidemux/2.6.0-3.fc18/

rawhide: http://buildsys.rpmfusion.org/plague-results/fedora-development-rpmfusion_free/avidemux/2.6.0-3.fc19/
Comment 5 Steve 2012-12-17 08:28:32 CET
Seems not to be working:

$ yum localinstall avidemux-2.6.0-3.fc17.x86_64.rpm avidemux-gtk-2.6.0-3.fc17.x86_64.rpm avidemux-help-2.6.0-3.fc17.noarch.rpm avidemux-libs-2.6.0-3.fc17.x86_64.rpm avidemux-cli-2.6.0-3.fc17.x86_64.rpm 
Loaded plugins: langpacks, presto, refresh-packagekit
Examining avidemux-2.6.0-3.fc17.x86_64.rpm: avidemux-2.6.0-3.fc17.x86_64
Marking avidemux-2.6.0-3.fc17.x86_64.rpm to be installed
Examining avidemux-gtk-2.6.0-3.fc17.x86_64.rpm: avidemux-gtk-2.6.0-3.fc17.x86_64
Marking avidemux-gtk-2.6.0-3.fc17.x86_64.rpm to be installed
Examining avidemux-help-2.6.0-3.fc17.noarch.rpm: avidemux-help-2.6.0-3.fc17.noarch
Marking avidemux-help-2.6.0-3.fc17.noarch.rpm to be installed
Examining avidemux-libs-2.6.0-3.fc17.x86_64.rpm: avidemux-libs-2.6.0-3.fc17.x86_64
Marking avidemux-libs-2.6.0-3.fc17.x86_64.rpm to be installed
Examining avidemux-cli-2.6.0-3.fc17.x86_64.rpm: avidemux-cli-2.6.0-3.fc17.x86_64
Marking avidemux-cli-2.6.0-3.fc17.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package avidemux.x86_64 0:2.6.0-3.fc17 will be installed
---> Package avidemux-cli.x86_64 0:2.6.0-3.fc17 will be installed
---> Package avidemux-gtk.x86_64 0:2.6.0-3.fc17 will be installed
---> Package avidemux-help.noarch 0:2.6.0-3.fc17 will be installed
---> Package avidemux-libs.x86_64 0:2.6.0-3.fc17 will be installed
--> Processing Dependency: libADM_UIQT46.so()(64bit) for package: avidemux-libs-2.6.0-3.fc17.x86_64
--> Running transaction check
---> Package avidemux-qt.x86_64 0:2.6.0-1.fc17 will be installed
--> Processing Dependency: avidemux-help = 2.6.0-1.fc17 for package: avidemux-qt-2.6.0-1.fc17.x86_64
--> Processing Dependency: avidemux-libs(x86-64) = 2.6.0-1.fc17 for package: avidemux-qt-2.6.0-1.fc17.x86_64
--> Finished Dependency Resolution
Error: Package: avidemux-qt-2.6.0-1.fc17.x86_64 (rpmfusion-free-updates)
           Requires: avidemux-libs(x86-64) = 2.6.0-1.fc17
           Available: avidemux-libs-2.5.6-8.fc17.x86_64 (rpmfusion-free)
               avidemux-libs(x86-64) = 2.5.6-8.fc17
           Available: avidemux-libs-2.6.0-1.fc17.x86_64 (rpmfusion-free-updates)
               avidemux-libs(x86-64) = 2.6.0-1.fc17
Error: Package: avidemux-qt-2.6.0-1.fc17.x86_64 (rpmfusion-free-updates)
           Requires: avidemux-help = 2.6.0-1.fc17
           Available: avidemux-help-2.6.0-1.fc17.noarch (rpmfusion-free-updates)
               avidemux-help = 2.6.0-1.fc17
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
$
Comment 6 Richard 2012-12-17 14:44:00 CET
(In reply to comment #5)
> Seems not to be working:
> 
> $ yum localinstall avidemux-2.6.0-3.fc17.x86_64.rpm
> avidemux-gtk-2.6.0-3.fc17.x86_64.rpm avidemux-help-2.6.0-3.fc17.noarch.rpm
> avidemux-libs-2.6.0-3.fc17.x86_64.rpm avidemux-cli-2.6.0-3.fc17.x86_64.rpm 

Two things... 
1. You don't need to specify "localinstall" just "install" will work. :)
2. Make sure you read what I posted. The plain avidemux package is a meta package that will bring in ALL of the interfaces. Since you didn't specify the qt interface it picked up the old release. If you just want the gtk interface, just install it directly and don't install the meta package.
Comment 7 nucleo 2012-12-17 15:01:10 CET
When I am trying to remove avidemux-qt-2.6.0-3.fc18 all other avidemux packages removed including avidemux-gtk-2.6.0-3.fc18.
Comment 8 nucleo 2012-12-17 15:09:07 CET
Removing avidemux-qt or avidemux-gtk removes as dependency avidemux-libs because it depends on libADM_UIQT46.so and libADMUIGtk6.so.
Comment 9 Steve 2012-12-17 15:16:32 CET
(In reply to comment #6)
> (In reply to comment #5)
> > Seems not to be working:
> > 
> > $ yum localinstall avidemux-2.6.0-3.fc17.x86_64.rpm
> > avidemux-gtk-2.6.0-3.fc17.x86_64.rpm avidemux-help-2.6.0-3.fc17.noarch.rpm
> > avidemux-libs-2.6.0-3.fc17.x86_64.rpm avidemux-cli-2.6.0-3.fc17.x86_64.rpm 
> 
> Two things... 
> 1. You don't need to specify "localinstall" just "install" will work. :)
> 2. Make sure you read what I posted. The plain avidemux package is a meta
> package that will bring in ALL of the interfaces. Since you didn't specify the
> qt interface it picked up the old release. If you just want the gtk interface,
> just install it directly and don't install the meta package.

Nope!

$ yum install avidemux-2.6.0-3.fc17.x86_64.rpm avidemux-gtk-2.6.0-3.fc17.x86_64.rpm avidemux-help-2.6.0-3.fc17.noarch.rpm avidemux-libs-2.6.0-3.fc17.x86_64.rpm avidemux-cli-2.6.0-3.fc17.x86_64.rpm 
Loaded plugins: langpacks, presto, refresh-packagekit
Examining avidemux-2.6.0-3.fc17.x86_64.rpm: avidemux-2.6.0-3.fc17.x86_64
Marking avidemux-2.6.0-3.fc17.x86_64.rpm to be installed
Examining avidemux-gtk-2.6.0-3.fc17.x86_64.rpm: avidemux-gtk-2.6.0-3.fc17.x86_64
Marking avidemux-gtk-2.6.0-3.fc17.x86_64.rpm to be installed
Examining avidemux-help-2.6.0-3.fc17.noarch.rpm: avidemux-help-2.6.0-3.fc17.noarch
Marking avidemux-help-2.6.0-3.fc17.noarch.rpm to be installed
Examining avidemux-libs-2.6.0-3.fc17.x86_64.rpm: avidemux-libs-2.6.0-3.fc17.x86_64
Marking avidemux-libs-2.6.0-3.fc17.x86_64.rpm to be installed
Examining avidemux-cli-2.6.0-3.fc17.x86_64.rpm: avidemux-cli-2.6.0-3.fc17.x86_64
Marking avidemux-cli-2.6.0-3.fc17.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package avidemux.x86_64 0:2.6.0-3.fc17 will be installed
---> Package avidemux-cli.x86_64 0:2.6.0-3.fc17 will be installed
---> Package avidemux-gtk.x86_64 0:2.6.0-3.fc17 will be installed
---> Package avidemux-help.noarch 0:2.6.0-3.fc17 will be installed
---> Package avidemux-libs.x86_64 0:2.6.0-3.fc17 will be installed
--> Processing Dependency: libADM_UIQT46.so()(64bit) for package: avidemux-libs-2.6.0-3.fc17.x86_64
--> Running transaction check
---> Package avidemux-qt.x86_64 0:2.6.0-1.fc17 will be installed
--> Processing Dependency: avidemux-help = 2.6.0-1.fc17 for package: avidemux-qt-2.6.0-1.fc17.x86_64
--> Processing Dependency: avidemux-libs(x86-64) = 2.6.0-1.fc17 for package: avidemux-qt-2.6.0-1.fc17.x86_64
--> Finished Dependency Resolution
Error: Package: avidemux-qt-2.6.0-1.fc17.x86_64 (rpmfusion-free-updates)
           Requires: avidemux-libs(x86-64) = 2.6.0-1.fc17
           Available: avidemux-libs-2.5.6-8.fc17.x86_64 (rpmfusion-free)
               avidemux-libs(x86-64) = 2.5.6-8.fc17
           Available: avidemux-libs-2.6.0-1.fc17.x86_64 (rpmfusion-free-updates)
               avidemux-libs(x86-64) = 2.6.0-1.fc17
Error: Package: avidemux-qt-2.6.0-1.fc17.x86_64 (rpmfusion-free-updates)
           Requires: avidemux-help = 2.6.0-1.fc17
           Available: avidemux-help-2.6.0-1.fc17.noarch (rpmfusion-free-updates)
               avidemux-help = 2.6.0-1.fc17
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
$
Comment 10 Richard 2012-12-17 15:20:58 CET
(In reply to comment #9)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > Seems not to be working:
> > > 
> > > $ yum localinstall avidemux-2.6.0-3.fc17.x86_64.rpm
> > > avidemux-gtk-2.6.0-3.fc17.x86_64.rpm avidemux-help-2.6.0-3.fc17.noarch.rpm
> > > avidemux-libs-2.6.0-3.fc17.x86_64.rpm avidemux-cli-2.6.0-3.fc17.x86_64.rpm 
> > 
> > Two things... 
> > 1. You don't need to specify "localinstall" just "install" will work. :)
> > 2. Make sure you read what I posted. The plain avidemux package is a meta
> > package that will bring in ALL of the interfaces. Since you didn't specify the
> > qt interface it picked up the old release. If you just want the gtk interface,
> > just install it directly and don't install the meta package.
> 
> Nope!

YES!

 
> $ yum install avidemux-2.6.0-3.fc17.x86_64.rpm <--- DONT INSTALL THIS UNLESS YOU WANT EVERYTHING

[SNIP]

> Error: Package: avidemux-qt-2.6.0-1.fc17.x86_64 (rpmfusion-free-updates)
>            Requires: avidemux-libs(x86-64) = 2.6.0-1.fc17
>            Available: avidemux-libs-2.5.6-8.fc17.x86_64 (rpmfusion-free)
>                avidemux-libs(x86-64) = 2.5.6-8.fc17
>            Available: avidemux-libs-2.6.0-1.fc17.x86_64
> (rpmfusion-free-updates)
>                avidemux-libs(x86-64) = 2.6.0-1.fc17
> Error: Package: avidemux-qt-2.6.0-1.fc17.x86_64 (rpmfusion-free-updates)
>            Requires: avidemux-help = 2.6.0-1.fc17
>            Available: avidemux-help-2.6.0-1.fc17.noarch

The reason this is causing an issue is because you are telling it to install the avidemux meta package which is also trying to install avidemux-qt but you didn't tell it where to find avidemux-qt-2.6.0-3 so it's trying to pull in -1 from the RPM Fusion repository which is causing a conflict.

I'll explore the other issues.
Comment 13 Steve 2012-12-17 21:22:12 CET
I got this error:

Error: Package: avidemux-gtk-2.6.0-4.fc16.x86_64 (/avidemux-gtk-2.6.0-4.fc16.x86_64)
           Requires: libx264.so.116()(64bit)
Error: Package: avidemux-cli-2.6.0-4.fc16.x86_64 (/avidemux-cli-2.6.0-4.fc16.x86_64)
           Requires: libx264.so.116()(64bit)
Comment 14 nucleo 2012-12-17 21:24:18 CET
Now -gtk subpackage can be installed without -qt (and -qt without -gtk).
But what for -cli subpackage? It can't be installed if one of -qt or -gtk not installed.
Comment 15 Steve 2012-12-17 21:37:12 CET
(In reply to comment #13)
> I got this error:
> 
> Error: Package: avidemux-gtk-2.6.0-4.fc16.x86_64
> (/avidemux-gtk-2.6.0-4.fc16.x86_64)
>            Requires: libx264.so.116()(64bit)
> Error: Package: avidemux-cli-2.6.0-4.fc16.x86_64
> (/avidemux-cli-2.6.0-4.fc16.x86_64)
>            Requires: libx264.so.116()(64bit)

Sorry, it was my failure, wrong version. This packages are working very well.
Comment 16 Richard 2012-12-17 21:45:29 CET
(In reply to comment #14)
> Now -gtk subpackage can be installed without -qt (and -qt without -gtk).
> But what for -cli subpackage? It can't be installed if one of -qt or -gtk not
> installed.

This is because the libs package currently requires the meta package. I can fix that but I don't really want to do another build this time around. 2.6.1 is supposed to be released sometime this month. I'll fix that then. I don't think too many people are running avidemux cli only.
Comment 17 FeRD (Frank Dana) 2012-12-18 01:15:31 CET
Haah! I was *just* about to report that I'd licked this (and the missing-plugins from bz#2575) on Friday and post my spec file... but I'm glad you had a chance to look at this, your solution is more elegant than mine.

After installing the 2.6.0-4 builds (-qt and -cli only, which worked fine), all plugins are available and everything is functioning well.

Only one thing I'll note, for your next build: I happened to notice that all of the avidemux-help files are still present in (duplicated in) the avidemux-libs package, as well.
Comment 18 Richard 2012-12-18 05:00:30 CET
(In reply to comment #17)
> Haah! I was *just* about to report that I'd licked this (and the
> missing-plugins from bz#2575) on Friday and post my spec file... but I'm glad
> you had a chance to look at this, your solution is more elegant than mine.

Yeah, the way avidemux builds makes things rather cumbersome. 


> Only one thing I'll note, for your next build: I happened to notice that all of
> the avidemux-help files are still present in (duplicated in) the avidemux-libs
> package, as well.

This is the downside of using the install_manifest files which does make some things easier. I'm trying a local build now to see if using %exclude works with files specified using "-f <file>".
Comment 19 FeRD (Frank Dana) 2012-12-18 05:25:24 CET
Hmm. G'luckwitdat. If not, I suppose there's always sed. Specifically:

sed -i.bak -e "\#%{_datadir}/avidemux6/help#d" build_plugins_common/install_manifest.txt

...seems to work.

I noticed something else a bit surprising with the 2.6.0-4 packages, though. Taking avidemux-cli as an example, the following are present within it:

/usr/lib64/libADM_render6_cli.so
/usr/lib64/ADM_plugins6/videoFilters/<various>
/usr/lib64/ADM_plugins6/videoEncoders/libADM_ve_x264_other.so

...but, the UI library itself:

/usr/lib64/libADM_UI_Cli6.so

is still over in avidemux-libs. Same for the -qt package, and I assume for -gtk as well. (I know /usr/lib64/libADM_UIGtk6.so is in avidemux-libs, anyway.)

Not sure why/how, or (even more to the point) if it really matters. Just thought I'd let you know, since it struck me as odd.
Comment 20 Richard 2012-12-18 14:59:50 CET
(In reply to comment #19)
> Hmm. G'luckwitdat. If not, I suppose there's always sed. Specifically:
> 
> sed -i.bak -e "\#%{_datadir}/avidemux6/help#d"
> build_plugins_common/install_manifest.txt
> 
> ...seems to work.

The %exclude worked but I'm not going to worry about another build for now until 2.6.1 is released.

 
> I noticed something else a bit surprising with the 2.6.0-4 packages, though.
> Taking avidemux-cli as an example, the following are present within it:
> 
> /usr/lib64/libADM_render6_cli.so
> /usr/lib64/ADM_plugins6/videoFilters/<various>
> /usr/lib64/ADM_plugins6/videoEncoders/libADM_ve_x264_other.so
> 
> ...but, the UI library itself:
> 
> /usr/lib64/libADM_UI_Cli6.so
> 
> is still over in avidemux-libs. Same for the -qt package, and I assume for -gtk
> as well. (I know /usr/lib64/libADM_UIGtk6.so is in avidemux-libs, anyway.)
> 
> Not sure why/how, or (even more to the point) if it really matters. Just
> thought I'd let you know, since it struck me as odd.

This is how it has to be. I had originally moved those UI specific libraries to their respective package but it caused all UI's to be pulled in by yum/rpm regardless of which one you try to install. Some sort or library dependency.
Comment 21 Richard 2013-01-10 20:42:03 CET
Should be fixed in current release. Closing.
Comment 22 nucleo 2013-01-11 16:01:58 CET
I can confirm that -qt, -gtk and -cli can be installed independently.
Comment 23 Richard 2013-01-11 16:07:58 CET
Thanks for the confirmation. Closing.