drop devicekit dependency

Bug #406426 reported by Martin Pitt
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PackageKit
Fix Released
Medium
packagekit-gnome (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: packagekit-gnome

devicekit is deprepcated, devicekit-{power,disks} have been ported to use libgudev directly, and the package is not really necessary (it was a design oversight back then, when people did not realize that non-root applications could talk to udev).

packagekit-gnome is the only remaining build and binary dependency of libdevkit-gobject-dev/libdevkit-gobject0.

Martin Pitt (pitti)
Changed in packagekit-gnome (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Martin Pitt (pitti) wrote :

I checked the code, and it seems that it is just a superfluous dependency in configure.ac and debian/control:

$ grep -r '#include.*dev' .
./src/gpk-auto-refresh.c:#include <devkit-power-gobject/devicekit-power.h>

Revision history for this message
Martin Pitt (pitti) wrote :

I posted the patch upstream. Unfortunately I cannot apply it to Ubuntu right now, since the package fails to build:

gpk-check-update.c: In function ‘gpk_check_update_process_updates’:
gpk-check-update.c:932: error: implicit declaration of function ‘ca_gtk_context_get’
gpk-check-update.c:938: error: passing argument 1 of ‘ca_context_play’ makes pointer from integer without a cast

This is unrelated to dropping devicekit.

Revision history for this message
Martin Pitt (pitti) wrote :

For the record, this is my attempted debdiff. As already said, it doesn't build, though.

Changed in packagekit:
status: Unknown → Fix Released
Revision history for this message
Savvas Radevic (medigeek) wrote :

It's fixed upstream, can be fixed with bug #414239 (if the new version is approved):
https://bugs.launchpad.net/ubuntu/+source/packagekit-gnome/+bug/414239/comments/2

:)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package packagekit-gnome - 2.28.0-0ubuntu1

---------------
packagekit-gnome (2.28.0-0ubuntu1) karmic; urgency=low

  [ Savvas Radevic ]
  * debian/python-packagekit-gtk.install: Check
    debian/tmp/usr/lib/python*/*-packages/
  * debian/control:
    + Drop devicekit build-dependency libdevkit-gobject-dev, fixed upstream
      (LP: #406426)
    + Add build-dependency libdbus-glib-1-dev
  * debian/patches:
    + defaults.patch: watch_active_transactions -> true (activates icon applet)
    + configure.patch: Removed GDK_MULTIHEAD_SAFE patch (fixed upstream)
    + fix_path_to_gstreamer_helper.patch: Use g_strcmp0 instead of egg_strequal
  * debian/docs: add AUTHORS

  [ Andrew Starr-Bochicchio ]
  * New upstream release (LP: #414239)
  * debian/patches/configure.patch
   - Drop completely. ARM build issue with cast-align fixed upstream.
  * Add debian/README.source explaining quilt patch system.
  * debian/control:
   - Bump Standards-Version to 3.8.3
   - Drop XS from Vcs fields.

 -- Andrew Starr-Bochicchio <email address hidden> Mon, 21 Sep 2009 19:36:14 -0400

Changed in packagekit-gnome (Ubuntu):
status: Triaged → Fix Released
Changed in packagekit:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.