[opensuse-gnome] [help needed] Getting rid of libgnomeui, gnome-vfs, hal, etc.
Hi, Andreas has started working on cleaning up some packages so that they don't uselessly BuildRequires or Requires a deprecated library. We don't have a good list of such libraries, but on the top of my head, I can list: libgnome, libgnomeui, gnome-vfs, libgnomeprint, libgnomeprintui, libglade, hal, PolicyKit 0.8, libbonobo, libbonoboui. I'm using upstream module names here, so beware: package names might be a bit different ;-) (Note that hal is being replaced with the "DeviceKit effort" -- which is slowly being renamed to the "udev effort"...) To make a long story short: we need help to do all this work. You'll find a few different cases: + a package uselessly BuildRequires, say, libgnome-devel, but doesn't need it. You can simply remove the BuildRequires. + a package can be compile with both a deprecated API (gnome-vfs) and the new API (gio, part of glib). In this case, often, we just don't need to keep the gnome-vfs dependency. + sometimes, there are cases where we might want to keep this. I think an example could be gstreamer-0_10-plugins-base, where it might make sense to keep the gnome-vfs plugin. In such a case, we should probably split the packge so that the gnome-vfs plugin is in a specific subpackage, that won't get installed by default. Note that having a package compile even after you removed a BuildRequires doesn't mean you did the right thing. For example, a package might BuildRequires both libgnomeui-devel and libbonoboui-devel. If you remove libgnomeui-devel, it will still compile because libbonoboui-devel brings libgnomeui-devel in. The right thing to do anyway is to make sure the package doesn't need libgnomeui-devel (you can usually check this by looking at the configure.in or configure.ac file of the tarball). Also, sometimes, removing the build dependency will remove a feature. If it's an important feature, we prefer to keep the build dependency. And if you're feeling brave, you can even write patches for the packages (and send them upstream!) to get rid of those dependencies! Below you can find a first list of packages that still depend on gnome-vfs or libgnomeui, compiled by Andreas (thanks Andreas!). This is a good place to start. If you have any question, just join #opensuse-gnome on irc :-) Vincent ----- Forwarded message from Andreas Jaeger ----- Date: Thu, 10 Dec 2009 16:14:30 +0100 From: Andreas Jaeger To: Vincent Untz Subject: gnome-vfs2-devel and libgnomeui-devel requires Hi Vincent, here's what grep showed me for factory. I just fixed twitux and will tackle libgweather now, Andreas gnome-vfs2-devel - BuildRequires ================================ abiword banshee-1 dice gnome-vfsmm gobby04 gstreamer-0_10-plugins-base inkscape libgnome raw-thumbnailer gnome-vfs2-devel - Requires =========================== abiword banshee-1 evolution-data-server gnome-vfsmm libgda3 libgda libgnome libgnomeui libgweather planner libgnomeui-devel - BuildRequires ================================ balsa conglomerate dasher dia eiciel f-spot gDesklets ghex glabels glade3 gnome-commander gnome-docker gnome-main-menu gnome-netspeed-applet gnome-panel gnome-presence-applet gnome-spell2 gnucash grip gtetrinet gthumb gtkam gtktalog gurlchecker gwget libgail-gnome libgnomeuimm memprof nautilus-cd-burner planner pybliographer python-gnome twitux xchat-gnome compiz eclipse eID-belgium etherape gjiten graphviz gtkpod gwc icewm ifolder3 jack-rack mdbtools MozillaFirefox MozillaSunbird MozillaThunderbird mozilla-xulrunner191 multisync-gui novell-ifolder-client-plugins padevchooser pythoncad python-gnome-extras scim seamonkey stardict thinclient-greeter thinclient-settings thinclient-users tsclient uim libgnomeui-devel - Requires =========================== evolution gedit gnome-panel gnome-pilot gnucash gok gtkhtml2 libgnomeuimm -- Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org} Twitter: jaegerandi | Identica: jaegerandi SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 ----- End forwarded message ----- -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
On Thursday 10 December 2009 16:38:27 Vincent Untz wrote:
Andreas has started working on cleaning up some packages so that they don't uselessly BuildRequires or Requires a deprecated library. We don't have a good list of such libraries, but on the top of my head, I can list: libgnome, libgnomeui, gnome-vfs, libgnomeprint, libgnomeprintui, libglade, hal, PolicyKit 0.8, libbonobo, libbonoboui. I'm using upstream module names here, so beware: package names might be a bit different ;-)
PolicyKit 0.8? We now have 0.9 in factory, so this shouldn't be a problem, or is it? Since my lists not only include GNOME packages, I suggest you send this around on opensuse-factory as well. I have a script now that can generate this list anytime, just ask me again for it once you think we've made some progress... Andreas -- Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org} Twitter: jaegerandi | Identica: jaegerandi SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Le jeudi 10 décembre 2009, à 21:17 +0100, Andreas Jaeger a écrit :
On Thursday 10 December 2009 16:38:27 Vincent Untz wrote:
Andreas has started working on cleaning up some packages so that they don't uselessly BuildRequires or Requires a deprecated library. We don't have a good list of such libraries, but on the top of my head, I can list: libgnome, libgnomeui, gnome-vfs, libgnomeprint, libgnomeprintui, libglade, hal, PolicyKit 0.8, libbonobo, libbonoboui. I'm using upstream module names here, so beware: package names might be a bit different ;-)
PolicyKit 0.8? We now have 0.9 in factory, so this shouldn't be a problem, or is it?
Oh indeed, this is 0.9 now. This is still something we want to avoid, since the up-to-date version is now polkit/libpolkit0 :-)
Since my lists not only include GNOME packages, I suggest you send this around on opensuse-factory as well.
Well, I was afraid that people would feel it's GNOME-specific... Actually, I was wondering if it made sense to file a feature for this, to track the progress.
I have a script now that can generate this list anytime, just ask me again for it once you think we've made some progress...
Oh, cool! How long does it take to run? Because we have some cron jobs running on a server already, so maybe we could generate such a list daily... Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
On Thursday 10 December 2009 16:38:27 Vincent Untz wrote:
Hi,
Andreas has started working on cleaning up some packages so that they don't uselessly BuildRequires or Requires a deprecated library. We don't have a good list of such libraries, but on the top of my head, I can list: libgnome, libgnomeui, gnome-vfs, libgnomeprint, libgnomeprintui, libglade, hal, PolicyKit 0.8, libbonobo, libbonoboui. I'm using upstream module names here, so beware: package names might be a bit different ;-)
Here's a list for the above mentioned libs, Andreas BuildRequires: libgnome-devel balsa.spec kompozer.spec libgnomemm.spec xchat-gnome.spec libbonoboui.spec twitux.spec python-gnome.spec nautilus-cd-burner.spec eclipse.spec eclipse-archdep.spec tsclient.spec thinclient-greeter.spec xscreensaver.spec mysql-workbench.spec thinclient-settings.spec thinclient-users.spec Requires: libgnome-devel libgnomemm.spec libgnomeui.spec libbonoboui.spec gnome-pilot.spec evolution.spec BuildRequires: libgnomeprint-devel gtksourceview18 libgnomeprintui mysql-gui-tools Requires: libgnomeprint-devel gnucash gnumeric gtksourceview18 libgnomeprintui BuildRequires: libgnomeprintui-devel gwc.spec ghex.spec glade.spec gurlchecker.spec gtetrinet.spec gDesklets.spec pybliographer.spec gtktalog.spec gnucash.spec conglomerate.spec gnome-desktop-sharp2.spec xournal.spec wxGTK.spec gtkpod.spec pythoncad.spec gnome-python-desktop.spec ifolder3.spec novell-ifolder-client-plugins.spec eID-belgium.spec linphone.spec Requires: libgnomeprintui-devel gedit.spec gnucash.spec BuildRequires: libglade2-devel gq.spec gwc.spec mysql-gui-tools.spec kino.spec NetworkManager-novellvpn.spec gdm.spec dice.spec fyre.spec gstreamer-0_10-plugins-bad.spec gnome-presence-applet.spec gurlchecker.spec liferea.spec libglademm.spec gnome-main-menu.spec libgnomedb.spec libgnomeui.spec NetworkManager-gnome.spec sound-juicer.spec memprof.spec libgnomeprintui.spec gnome-spell2.spec xchat-gnome.spec dasher.spec gtetrinet.spec nautilus-share.spec gtk1-compat.spec gDesklets.spec evince.spec gthumb.spec epiphany-extensions.spec gsynaptics.spec pybliographer.spec libbonoboui.spec evolution-data-server.spec glabels.spec python-gtk.spec gtktalog.spec gnucash.spec notification-daemon.spec libgnomecanvas.spec conglomerate.spec gnomeicu.spec gnome-media.spec gnome-mount.spec gnome-pilot.spec gnome-screensaver.spec nautilus-cd-burner.spec avahi-mono.spec avahi-qt4.spec avahi-glib2.spec avahi.spec xfce4-desktop.spec graphviz-plugins.spec xfwm4.spec tsclient.spec thinclient-greeter.spec loki_setup.spec setools.spec NetworkManager-pptp.spec NetworkManager-vpnc.spec virt-viewer.spec etherape.spec libxfcegui4.spec xscreensaver.spec novell-nortelplugins.spec chmsee.spec gjiten.spec gtkpod.spec mysql-workbench.spec xfce4-settings.spec pommed.spec thinclient-settings.spec pythoncad.spec mdbtools.spec xfce4-notifyd.spec xmorph.spec NetworkManager-openvpn.spec ifolder3.spec novell-ifolder-client-plugins.spec novell-addon-manager.spec thinclient-users.spec multisync-gui.spec padevchooser.spec eID-belgium.spec Requires: libglade2-devel kino.spec gedit.spec libglademm.spec libgnomedb.spec libgnomedb3.spec gtk1-compat.spec gtkhtml2.spec evolution-data-server.spec gnucash.spec gnome-media.spec gnumeric.spec libxfcegui4.spec BuildRequires: libbonobo-devel gok.spec gnome-mag.spec gnome-certauth.spec gnome-speech.spec at-spi.spec evolution-data-server.spec python-gnome.spec libgnome.spec libgail-gnome.spec libopensync-plugin-evolution2.spec java-1_6_0-openjdk.spec libgsf.spec gnome-vfs-monikers.spec Requires: libbonobo-devel gok.spec gnome-mag.spec gnome-certauth.spec gnome-speech.spec at-spi.spec libbonoboui.spec evolution-data-server.spec libgnome.spec libgsf.spec BuildRequires: libbonoboui-devel kcm_gtk.spec libgnomeui.spec gnome-panel.spec libgail-gnome.spec novell-nortelplugins.spec Requires: libbonoboui-devel libgnomeui.spec gnome-panel.spec libgail-gnome.spec evolution.spec BuildRequires: hal-devel kdebase4-SLED.spec kdebase3.spec kdebase4-openSUSE.spec exo.spec nut.spec xorg-x11-server.spec kiwi.spec sax2.spec wine.spec file-shrimp.spec x11-input-wacom.spec xfce4-panel-plugins.spec gimp.spec gvfs.spec gnome-bluetooth.spec libgphoto2.spec gstreamer-0_10-plugins-good.spec gnome-vfs2.spec bluez-gnome.spec NetworkManager-gnome.spec gnome-power-manager.spec gnome-mount.spec gnome-system-monitor.spec nautilus-cd-burner.spec ivman.spec pcsc-lite.spec ModemManager.spec libvirt.spec libzypp.spec NetworkManager.spec xfce4-session.spec xfce4-volstatus.spec podsleuth.spec hwinfo.spec libnjb.spec virtualbox-ose.spec ntfs-config.spec cups-backends.spec thunar.spec libgpod4.spec pcsc-cyberjack.spec xfmedia.spec Requires: hal-devel exo.spec gnome-vfs2.spec nautilus-cd-burner.spec libzypp.spec xfce4-session.spec thunar.spec xfmedia.spec -- Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org} Twitter: jaegerandi | Identica: jaegerandi SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Would it make sense to create an rpmlint warning for these files? Andreas -- Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org} Twitter: jaegerandi | Identica: jaegerandi SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Le jeudi 10 décembre 2009, à 21:26 +0100, Andreas Jaeger a écrit :
Would it make sense to create an rpmlint warning for these files?
That's a good question. I think I like the idea, and we could make that generic enough to make sure remove usage of any kind of deprecated library or package. What do others think? Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
participants (2)
-
Andreas Jaeger
-
Vincent Untz