unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27247: [PATCH] gnu: freedesktop: Add packagekit.
@ 2017-06-05  6:29 Christopher Baines
  2017-06-07 12:56 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Baines @ 2017-06-05  6:29 UTC (permalink / raw)
  To: 27247

* 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#27247: [PATCH] gnu: freedesktop: Add packagekit.
  2017-06-05  6:29 bug#27247: [PATCH] gnu: freedesktop: Add packagekit Christopher Baines
@ 2017-06-07 12:56 ` Ludovic Courtès
  2017-06-08 20:48   ` Christopher Baines
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-06-07 12:56 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 27247-done

Christopher Baines <mail@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’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#27247: [PATCH] gnu: freedesktop: Add packagekit.
  2017-06-07 12:56 ` Ludovic Courtès
@ 2017-06-08 20:48   ` Christopher Baines
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Baines @ 2017-06-08 20:48 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 27247-done


[-- Attachment #1.1: Type: text/plain, Size: 562 bytes --]

On 07/06/17 13:56, Ludovic Courtès wrote:
> Christopher Baines <mail@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



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 858 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-08 20:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-05  6:29 bug#27247: [PATCH] gnu: freedesktop: Add packagekit Christopher Baines
2017-06-07 12:56 ` Ludovic Courtès
2017-06-08 20:48   ` Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).