Xfce still dependent on gtk2 packages?

Working on a new Tumbleweed installation I see that I still have a few gtk2 packages:

# zypper se -i *gtk2*
Loading repository data...
Reading installed packages...

S  | Name                          | Summary                                    | Type
---+-------------------------------+--------------------------------------------+--------
i  | gtk2-engine-murrine           | Murrine GTK Theme Engine                   | package
i  | gtk2-metatheme-adwaita        | GTK+ 2 support for the Adwaita GNOME theme | package
i  | gtk2-metatheme-greybird-geeko | GTK+ 2 support for the Greybird theme      | package
i  | gtk2-theming-engine-adwaita   | Adwaita GTK+ Theming Engine                | package

If I attempt to remove any of this zypper tells me that xfce will have to be removed. For example:

# zypper rm gtk2-theming-engine-adwaita
Reading installed packages...
Resolving package dependencies...

The following 75 packages are going to be REMOVED:
  gtk2-metatheme-adwaita gtk2-theming-engine-adwaita libgarcon-1-0 libgarcon-branding-openSUSE libgarcon-data libgarcon-lang patterns-xfce-xfce patterns-xfce-xfce_basis xfce4-appfinder xfce4-appfinder-lang
  xfce4-clipman-plugin xfce4-clipman-plugin-lang xfce4-cpufreq-plugin xfce4-cpufreq-plugin-lang xfce4-cpugraph-plugin xfce4-cpugraph-plugin-lang xfce4-diskperf-plugin xfce4-diskperf-plugin-lang
  xfce4-docklike-plugin xfce4-docklike-plugin-lang xfce4-eyes-plugin xfce4-eyes-plugin-lang xfce4-fsguard-plugin xfce4-fsguard-plugin-lang xfce4-genmon-plugin xfce4-genmon-plugin-lang xfce4-mailwatch-plugin
  xfce4-mailwatch-plugin-lang xfce4-mount-plugin xfce4-mount-plugin-lang xfce4-mpc-plugin xfce4-mpc-plugin-lang xfce4-netload-plugin xfce4-netload-plugin-lang xfce4-notes-plugin xfce4-notes-plugin-lang
  xfce4-panel xfce4-panel-branding-openSUSE xfce4-panel-lang xfce4-panel-profiles xfce4-places-plugin xfce4-places-plugin-lang xfce4-power-manager-plugin xfce4-pulseaudio-plugin xfce4-pulseaudio-plugin-lang
  xfce4-screensaver xfce4-screenshooter-plugin xfce4-sensors-plugin xfce4-sensors-plugin-lang xfce4-session xfce4-session-lang xfce4-settings xfce4-settings-branding-openSUSE xfce4-settings-color
  xfce4-settings-lang xfce4-smartbookmark-plugin xfce4-smartbookmark-plugin-lang xfce4-stopwatch-plugin xfce4-stopwatch-plugin-lang xfce4-systemload-plugin xfce4-systemload-plugin-lang xfce4-timer-plugin
  xfce4-timer-plugin-lang xfce4-verve-plugin xfce4-verve-plugin-lang xfce4-wavelan-plugin xfce4-wavelan-plugin-lang xfce4-weather-plugin xfce4-weather-plugin-lang xfce4-whiskermenu-plugin
  xfce4-whiskermenu-plugin-lang xfce4-xkb-plugin xfce4-xkb-plugin-lang xfdesktop xfdesktop-lang

Just curious why does Xfce still need these gtk2 packages in TW?

Are you sure you do not have solver.cleandepsOnRemove = true?

Otherwise there is at least the chain gtk2-metatheme-adwaitagtk2-branding-openSUSExfce4-settings, although from the pure Requires dependencies I would not expect it to remove the whole Xfce.

1 Like

These packages enable the support for Gtk2 themes. As there are still many old themes available for download, these packages enable the support for them.

I understand that. But I probably would mark them as optional.

Thank you. The option was set to false. Setting it to true actually tells me that even more packages will have to be removed.

Nevermind. This was just out of curiosity. I believe I can live with 4 gtk2 packages :slight_smile:

EDIT: just an opinion, perhaps in the future these old packages and themes could be better kept as optional instead of hard-requirements

It was not xfce4-settings, it was libgarcon-branding-openSUSE which results in removing libgarcon-1-0 that is required for the basic Xfce packages. And yes, looking at some sample packages none of them needs gtk2.

So, it is pure artificial dependency in xfce4-settings-branding-openSUSE:

Requires:       gtk2-metatheme-adwaita
Requires:       gtk2-metatheme-greybird-geeko

I am not familiar with Xfce to know whether this dependency can be removed. You may try asking on xfce (at) lists.opensuse.org.

Thank you for looking into this. I also see no reason for this dependency. I have just made a suggestion for enhancement in bugzilla.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.