Bug 960654

Summary: compiz hardly depends on libmatewnck and indirectly to other mate packages
Product: [Fedora] Fedora Reporter: Raphael Groner <projects.rg>
Component: compizAssignee: Wolfgang Ulbrich <raveit65.sun>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 18CC: bersam.k, christoph.wickert, raveit65.sun, sandmann
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: compiz-0.8.8-21.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 960661 (view as bug list) Environment:
Last Closed: 2013-05-19 02:34:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Raphael Groner 2013-05-07 15:17:50 UTC
Description of problem:

# yum install --assumeno --enablerepo=updates-testing compiz-xfce |grep mate
--> Verarbeite Abhängigkeiten: libmatewnck.so.0()(64bit) für Paket: 1:compiz-0.8.8-19.fc18.x86_64
---> Paket libmatewnck.x86_64 0:1.5.1-1.fc18 markiert, um installiert zu werden
---> Paket mate-window-manager.x86_64 0:1.5.5-1.fc18 markiert, um installiert zu werden
 libmatewnck            x86_64    1.5.1-1.fc18         updates            405 k
 mate-window-manager    x86_64    1.5.5-1.fc18         updates            842 k


Version-Release number of selected component (if applicable):
compiz.x86_64 1:0.8.8-15.fc18

How reproducible:
yes

Steps to Reproduce:
1. install xfce spin
2. yum install compiz-xfce
3.
  
Actual results:
broken dependencies to enforce mate

Expected results:
no mate dependency. Don't fork libwnck!

Additional info:
Why did a fork of libwnck?

Comment 1 Christoph Wickert 2013-05-07 16:22:37 UTC
I have to say I agree with the bug reporter here.

When I install compiz-xfce 0.8.8-15.fc18, I only get compiz and emerald as dependencies:

# yum install compiz-xfce
Loaded plugins: langpacks, presto, show-leaves
Resolving Dependencies
--> Running transaction check
---> Package compiz-xfce.x86_64 1:0.8.8-15.fc18 will be installed
--> Processing Dependency: compiz(x86-64) = 1:0.8.8-15.fc18 for package: 1:compiz-xfce-0.8.8-15.fc18.x86_64
--> Running transaction check
---> Package compiz.x86_64 1:0.8.8-15.fc18 will be installed
--> Processing Dependency: emerald for package: 1:compiz-0.8.8-15.fc18.x86_64
--> Running transaction check
---> Package emerald.x86_64 1:0.8.8-5.fc18 will be installed
--> Finished Dependency Resolution
--> Finding unneeded leftover dependencies
Found and removing 0 unneeded dependencies

Dependencies Resolved

================================================================================
 Package            Arch          Version                  Repository      Size
================================================================================
Installing:
 compiz-xfce        x86_64        1:0.8.8-15.fc18          updates        7.1 k
Installing for dependencies:
 compiz             x86_64        1:0.8.8-15.fc18          updates        923 k
 emerald            x86_64        1:0.8.8-5.fc18           updates        304 k

Transaction Summary
================================================================================
Install  1 Package (+2 Dependent packages)

Total download size: 1.2 M
Installed size: 5.9 M


When I however install 1:0.8.8-19.fc18 from updates-testing, I also get mate-window-manager, libmatewnck and libcanberra-gtk2:

# yum --enablerepo=updates-testing install compiz-xfce
Loaded plugins: langpacks, presto, show-leaves
Resolving Dependencies
--> Running transaction check
---> Package compiz-xfce.x86_64 1:0.8.8-19.fc18 will be installed
--> Processing Dependency: compiz(x86-64) = 1:0.8.8-19.fc18 for package: 1:compiz-xfce-0.8.8-19.fc18.x86_64
--> Running transaction check
---> Package compiz.x86_64 1:0.8.8-19.fc18 will be installed
--> Processing Dependency: emerald for package: 1:compiz-0.8.8-19.fc18.x86_64
--> Processing Dependency: libmatewnck.so.0()(64bit) for package: 1:compiz-0.8.8-19.fc18.x86_64
--> Processing Dependency: libmarco-private.so.0()(64bit) for package: 1:compiz-0.8.8-19.fc18.x86_64
--> Running transaction check
---> Package emerald.x86_64 1:0.8.8-6.fc18 will be installed
---> Package libmatewnck.x86_64 0:1.5.1-1.fc18 will be installed
---> Package mate-window-manager.x86_64 0:1.5.5-1.fc18 will be installed
--> Processing Dependency: libcanberra-gtk.so.0()(64bit) for package: mate-window-manager-1.5.5-1.fc18.x86_64
--> Running transaction check
---> Package libcanberra-gtk2.x86_64 0:0.30-2.fc18 will be installed
--> Finished Dependency Resolution
--> Finding unneeded leftover dependencies
Found and removing 0 unneeded dependencies

Dependencies Resolved

================================================================================
 Package                Arch      Version              Repository          Size
================================================================================
Installing:
 compiz-xfce            x86_64    1:0.8.8-19.fc18      updates-testing    7.9 k
Installing for dependencies:
 compiz                 x86_64    1:0.8.8-19.fc18      updates-testing    938 k
 emerald                x86_64    1:0.8.8-6.fc18       updates-testing    304 k
 libcanberra-gtk2       x86_64    0.30-2.fc18          fedora              25 k
 libmatewnck            x86_64    1.5.1-1.fc18         updates            405 k
 mate-window-manager    x86_64    1.5.5-1.fc18         updates            842 k

Transaction Summary
================================================================================
Install  1 Package (+5 Dependent packages)

Total download size: 2.5 M
Installed size: 13 M
Is this ok [y/N]: 

To me this is a violation of the updates policy. Updates in a stable release should not introduce new dependencies unless absolutely necessary.

Comment 2 Wolfgang Ulbrich 2013-05-07 19:53:40 UTC
Dear xfce user,
I'm surprised that you do not perceive it as progress to have standard gtk-windows-decorator of compiz back.
But i can help you with your update pain.
I udate compiz and test it in a VM with xfce.

[root@localhost Arbeitsfläche]# yum localinstall compiz-0.8.8-20.fc20.x86_64.rpm 
Geladene Plugins: langpacks, presto
Untersuche compiz-0.8.8-20.fc20.x86_64.rpm: 1:compiz-0.8.8-20.fc20.x86_64
Markiere compiz-0.8.8-20.fc20.x86_64.rpm als eine Aktualisierung für 1:compiz-0.8.8-15.fc18.x86_64
Löse Abhängigkeiten auf
--> Führe Transaktionsprüfung aus
---> Paket compiz.x86_64 1:0.8.8-15.fc18 markiert, um aktualisiert zu werden
---> Paket compiz.x86_64 1:0.8.8-20.fc20 markiert, um obsoleting zu werden
---> Paket compiz-xfce.x86_64 1:0.8.8-15.fc18 markiert, um veraltet zu werden
--> Abhängigkeitsauflösung beendet

Abhängigkeiten aufgelöst

=========================================================================================================
 Package         Arch            Version                     Repository                            Größe
=========================================================================================================
Installieren:
 compiz          x86_64          1:0.8.8-20.fc20             /compiz-0.8.8-20.fc20.x86_64          4.8 M
     ersetzt  compiz-xfce.x86_64 1:0.8.8-15.fc18

Pls do not install forthcomming compiz-mate subpackage.

best regards

Comment 3 Wolfgang Ulbrich 2013-05-07 20:56:34 UTC
I forget to say.
Pls do not use compiz-gtk-windows-decorator subpackage in future to avoid mate dependencies.

Comment 4 Fedora Update System 2013-05-08 23:52:25 UTC
compiz-0.8.8-21.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/compiz-0.8.8-21.fc18

Comment 5 Fedora Update System 2013-05-10 04:56:41 UTC
Package compiz-0.8.8-21.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing compiz-0.8.8-21.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-7793/compiz-0.8.8-21.fc18
then log in and leave karma (feedback).

Comment 6 Raphael Groner 2013-05-10 11:23:04 UTC
Well, obviously libwnck support has been removed completely. I can now reproduce the upstreamed bug with Xfce's workspace switcher panel plugin.

See https://bugzilla.xfce.org/show_bug.cgi?id=7642

Though, no MATE dependencies any more. Thanks.

Comment 7 Wolfgang Ulbrich 2013-05-10 12:09:03 UTC
(In reply to comment #6)
> Well, obviously libwnck support has been removed completely. I can now
> reproduce the upstreamed bug with Xfce's workspace switcher panel plugin.
> 
> See https://bugzilla.xfce.org/show_bug.cgi?id=7642
> 
> Though, no MATE dependencies any more. Thanks.

np,
but libwnck or in this case libmatewnck is only needed for the gtk-windows-decorator which is moved to compiz-mate subpackage.
In case of xfce you're using emerald, which is using libwnck.

BuildRequires:  compiz-devel >= %{basever}
BuildRequires:  libwnck-devel
BuildRequires:  gtk2-devel
BuildRequires:  intltool 
BuildRequires:  desktop-file-utils
BuildRequires:  perl(XML::Parser) 
BuildRequires:  gettext-devel
BuildRequires:  libXres-devel

If i switch here to libmatewnck you will get this as dependency again in xfce.

In general libmatewnck isn't only a fork, we have further developed it, ie.
middle mouse button click option.

Comment 8 Fedora Update System 2013-05-19 02:34:24 UTC
compiz-0.8.8-21.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.