GNU bug report logs - #27247
[PATCH] gnu: freedesktop: Add packagekit.

Previous Next

Package: guix-patches;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Mon, 5 Jun 2017 06:30:02 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27247 in the body.
You can then email your comments to 27247 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#27247; Package guix-patches. (Mon, 05 Jun 2017 06:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Baines <mail <at> cbaines.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 05 Jun 2017 06:30:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: freedesktop: Add packagekit.
Date: Mon,  5 Jun 2017 07:29:31 +0100
* gnu/packages/freedesktop.scm (packagekit): New variable.
---
 gnu/packages/freedesktop.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 85a6c8b26..ef07f2d64 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -35,6 +35,7 @@
   #:use-module (gnu packages acl)
   #:use-module (gnu packages admin)
   #:use-module (gnu packages autotools)
+  #:use-module (gnu packages bash)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages databases)
@@ -267,6 +268,46 @@ the org.freedesktop.login1 interface over the system bus, allowing other parts
 of a the system to know what users are logged in, and where.")
     (license license:lgpl2.1+)))
 
+(define-public packagekit
+  (package
+    (name "packagekit")
+    (version "1.1.5")
+    (source (origin
+             (method url-fetch)
+             (uri (string-append
+                   "https://www.freedesktop.org/software/"
+                   "PackageKit/releases/"
+                   "PackageKit-" version ".tar.xz"))
+             (sha256
+              (base32
+               "035pqxgkyki813hyw2frrbpfllq113zfk5qcp9wvsq5lsp74ix2h"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f
+       #:make-flags (list (string-append "BASH_COMPLETIONS_DIR="
+                                         %output "/etc/bash_completion.d"))
+       #:configure-flags
+       '("--disable-systemd")))
+    (native-inputs
+     `(("intltool" ,intltool)
+       ("pkg-config" ,pkg-config)
+       ("python" ,python-wrapper)
+       ("glib:bin" ,glib "bin")))
+    (inputs
+     `(("glib" ,glib)
+       ("bash-completion", bash-completion)
+       ("polkit" ,polkit)))
+    (propagated-inputs
+     `(("sqlite" ,sqlite)))
+    (home-page "https://www.freedesktop.org/software/PackageKit/")
+    (synopsis "API for package management, through D-Bus")
+    (description
+     "PackageKit provides a way of performing package management tasks,
+e.g. updating, removing and installing software.  Through supporting many
+backends, PackageKit can perform these tasks using the appropriate package
+manager for the current system.")
+    (license license:gpl2+)))
+
 (define-public python-pyxdg
   (package
     (name "python-pyxdg")
-- 
2.13.0





Added indication that bug 27247 blocks27249 Request was from Christopher Baines <mail <at> cbaines.net> to control <at> debbugs.gnu.org. (Mon, 05 Jun 2017 19:43:01 GMT) Full text and rfc822 format available.

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Wed, 07 Jun 2017 12:57:02 GMT) Full text and rfc822 format available.

Notification sent to Christopher Baines <mail <at> cbaines.net>:
bug acknowledged by developer. (Wed, 07 Jun 2017 12:57:02 GMT) Full text and rfc822 format available.

Message #12 received at 27247-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Christopher Baines <mail <at> cbaines.net>
Cc: 27247-done <at> debbugs.gnu.org
Subject: Re: bug#27247: [PATCH] gnu: freedesktop: Add packagekit.
Date: Wed, 07 Jun 2017 14:56:45 +0200
Christopher Baines <mail <at> cbaines.net> skribis:

> * gnu/packages/freedesktop.scm (packagekit): New variable.

Applied, thanks!

> +       #:configure-flags
> +       '("--disable-systemd")))

Could it be that it only uses the logind part of systemd?  If that’s the
case, we could adapt it to use elogind.

Oh, and now PackageKit needs a Guix back-end.  :-)

Thanks,
Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#27247; Package guix-patches. (Thu, 08 Jun 2017 20:49:02 GMT) Full text and rfc822 format available.

Message #15 received at 27247-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 27247-done <at> debbugs.gnu.org
Subject: Re: bug#27247: [PATCH] gnu: freedesktop: Add packagekit.
Date: Thu, 8 Jun 2017 21:48:28 +0100
[Message part 1 (text/plain, inline)]
On 07/06/17 13:56, Ludovic Courtès wrote:
> Christopher Baines <mail <at> cbaines.net> skribis:
> 
>> * gnu/packages/freedesktop.scm (packagekit): New variable.
> 
> Applied, thanks!

Great, thanks for you review :)

>> +       #:configure-flags
>> +       '("--disable-systemd")))
> 
> Could it be that it only uses the logind part of systemd?  If that’s the
> case, we could adapt it to use elogind.

Yes, maybe, I'll have a go at adding elogind.

> Oh, and now PackageKit needs a Guix back-end.  :-)

Yes, that would be nice wouldn't it


[signature.asc (application/pgp-signature, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 07 Jul 2017 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 352 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.