Differences between revisions 100 and 101
Revision 100 as of 2011-02-26 15:51:57
Size: 9194
Editor: LucaCapello
Comment: [general] add virt-manager (#612013)
Revision 101 as of 2011-03-04 15:57:38
Size: 9285
Editor: LucaCapello
Comment: [general] add wpasupplicant (#612715)
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
 || wpasupplicant || depends on libpcsclite1, which depends on pcscd: DebianBug:612715 ||

HALectomy

general

All bugs not specific to a single DE:

  • pcscd

    needs to migrate to libudev: 587979

    virt-manager

    uses deprecated HAL for network device enumeration: 612013

    wpasupplicant

    depends on libpcsclite1, which depends on pcscd: 612715

hal-less KDE

KDE uses Solid as abstraction for hardware access, which in turn currently uses HAL as backend for hardware listing and power management. This means, porting away from HAL needs to be done only in two places major places:

  • kde4libs (in libsolid, for hardware listing, recommend in kdebase-runtime)
  • kdebase-workspace (as backend for powerdevil, the power management daemon).

KDE >= 4.6 (so kde4libs and kdebase-workspace) ships components no more using HAL on Linux by default; about non-Linux architetures provided in Debian, kde4libs will still need HAL.

  • Packages with Depends: hal

    guidance-power-manager

    unmaintained? 613508

    kde-plasma-desktop / kde-plasma-netbook

    metapackages

    k3b

    recommended by aptoncd, education-desktop-other, ezgo-multimedia, quodlibet-plugins

    595130, Fixed in 2.0.2-1-

  • Packages with Recommends: hal

    kdebase-runtime

    depend of any KDE application

KDE SC 4.4 (squeeze) definitely relies on HAL for all of them.

hal-less Xfce

See:

hal-less LXDE

LXDE uses HAL to support volume management, and power management. Porting away from HAL need to be done only in two places:

  • pcmanfm (0.9 series has ported to use gvfs | udisk for volume management)
  • lxsession (0.4.4-2 support power management through upower)

hal-less GNOME for squeeze

Related links:

Packages in the default GNOME installation

  • Packages with Depends: hal

    soundjuicer

    depends of gnome-desktop-environment

    seems to not use hal anymore. 558455

    update-notifier

    suggests of update-manager-gnome; recommends of gnome

    568476

    hal-cups-utils

    recommends of gnome,system-config-printer

    ubuntu has replaced it with system-config-printer-udev. Work has started, according to Joss, not trivial. 568477

    gnome-mount

    recommends of libgnomevfs2-0

    dropped, 568420

    gnome-volume-manager

    recommends of gnome

    Fixed in svn, Fixed in 1:2.28+6

    network-manager

    pulled by network-manager-gnome

    version using udev in unstable/testing. Fixed in 0.7.999-2

    pm-utils

    recommended by devicekit-power

    version in unstable/testing with own quirk database that does not rely on HAL (required for non-KMS systems) Fixed in 1.3.0~rc3-1

  • Packages with Recommends: hal

    rhythmbox

    depends of gnome

    seems to be using udev now, hal dep can be dropped. Fixed in 0.12.6-3

  • Packages with Suggests: hal

    gnome-power-manager

    depends of gnome-core

    will not pull hal by default, hal required for systems where XRandR backlight support is missing

  • Packages with Depends: libhal1 (needs testing, how they behave without running hal daemon)

    cheese

    depends of gnome-desktop-environment

    port to libudev/libgudev in 2.29.5, 573774

    evolution, evolution-plugins

    depends of gnome-desktop-environment

    should we drop the ipod-sync plugin? upstream bug report Fixed in 2.29.5-1

    gimp

    depends of gnome-office which is recommends of gnome

    gnome-applets

    depends of gnome-core

    battstat applet requires hal, either disable hal support or drop it completely, 580429

    gnome-pilot

    pulled via evolution recommends

    demote to suggests or remove gnome-pilot support from evolution completely? 580293

    gstreamer0.10-plugins-good

    pulled via gnome-desktop-environment, gnome-media

    HAL support could be disabled. Fixed in 0.10.17.3-1

    libgnomevfs2-0

    pulled by libgnomeui-0 and libgnome2-0, a lot of package still link directly to libgnomevfs2-0

    There is a --disable-hal configure switch. Impact of the change would need to be investigated. 599020

    libgphoto2-port0

    pulled via gthumb and gvfs-backends

    fixed upstream see discussions, 580291, Ubuntu has a newer upstream version and does not depend on hal

    liboobs-1-4

    pulled via gnome-system-tools and gnome-applets

    Fixed in 2.30.0-2

  • http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=halectomy;users=pkg-utopia-maintainers@lists.alioth.debian.org

libgnomevfs2-0 / libgnomeui-0 / libgnome2-0 cleanup

A lot of packages indirectly depend on libhal1 by either depending on libgnomevfs2-0 (~185 packages), libgnomeui-0 (~173 packages) or libgnome2-0 (~208 packages). It would be worth investigating, if that is due to broken pkg-config files resp. libtool dragging in unnecessary library dependencies. Such pkg-config files should be identified and dependend packages could be binNMUed. Packages still using the old libraries should be identified and bugs filed respectively to port them e.g. to GVfs. See also the upstream Project Ridley.

An alternative would be to build libgnomevfs2-0 without HAL support. The impact of --disable-hal would need to be investigated. Joss suggests to grep for gnome_vfs_volume_monitor in ELF files.

gnome-mount

  • gnome-mount rdeps bugs filed in BTS

    brasero

    Fixed in 2.28.0-2

    gnome-desktop-environment

    Fixed in 1:2.28+4

    nautilus

    Fixed in 2.28.1-1

    gnome-volume-manager

    fixed in 2.24.1-4

    libgnomevfs2-0

    Fixed in 1:2.24.2-2

  • gnome-mount is still used on kFreeBSD, so it can't be easily RMed. Idea is to make it ftbfs on Linux archs in debian/rules and get it removed from all archs besides kbsd-*.

PolicyKit 1 (done \o/)