GNU bug report logs - #31768
[PATCH 1/3] gnu: Add libostree.

Previous Next

Package: guix-patches;

Reported by: 宋文武 <iyzsong <at> member.fsf.org>

Date: Sat, 9 Jun 2018 11:23:04 UTC

Severity: normal

Tags: patch

Done: iyzsong <at> member.fsf.org (宋文武)

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 31768 in the body.
You can then email your comments to 31768 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#31768; Package guix-patches. (Sat, 09 Jun 2018 11:23:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to 宋文武 <iyzsong <at> member.fsf.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 09 Jun 2018 11:23:05 GMT) Full text and rfc822 format available.

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

From: 宋文武 <iyzsong <at> member.fsf.org>
To: guix-patches <at> gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>
Subject: [PATCH 1/3] gnu: Add libostree.
Date: Sat,  9 Jun 2018 19:20:58 +0800
* gnu/packages/package-management.scm (libostree): New variable.
---
 gnu/packages/package-management.scm | 59 +++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index e8e17eeee..e1e41c2f5 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2018 Julien Lepiller <julien <at> lepiller.eu>
 ;;; Copyright © 2018 Rutger Helling <rhelling <at> mykolab.com>
+;;; Copyright © 2018 Sou Bunnbu <iyzsong <at> member.fsf.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -26,15 +27,19 @@
 (define-module (gnu packages package-management)
   #:use-module (gnu packages)
   #:use-module (gnu packages acl)
+  #:use-module (gnu packages attr)
+  #:use-module (gnu packages avahi)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages backup)
   #:use-module (gnu packages bdw-gc)
+  #:use-module (gnu packages bison)
   #:use-module (gnu packages bootstrap)          ;for 'bootstrap-guile-origin'
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages cpio)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages databases)
+  #:use-module (gnu packages docbook)
   #:use-module (gnu packages file)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
@@ -899,3 +904,57 @@ Microsoft cabinet (.@dfn{CAB}) files.")
 and sign Windows <at> tie{}Installer (.@dfn{MSI}) files.  It aims to be a solution
 for packaging and deployment of cross-compiled Windows applications.")
     (license license:lgpl2.1+)))
+
+(define-public libostree
+  (package
+    (name "libostree")
+    (version "2018.5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/ostreedev/ostree/releases/download/v"
+                    version "/libostree-" version ".tar.xz"))
+              (sha256
+               (base32
+                "0q82d6rvp119nx7ck7j63a591kz8vg7v465kf9ygh8kzg875l3xd"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'pre-check
+           (lambda _
+             ;; Don't try to use the non-existing '/var/tmp' as test
+             ;; directory.
+             (setenv "TEST_TMPDIR" (getenv "TMPDIR"))
+             #t)))
+       ;; XXX: fails with:
+       ;;     tap-driver.sh: internal error getting exit status
+       ;;     tap-driver.sh: fatal: I/O or internal error
+       #:tests? #f))
+    (native-inputs
+     `(("attr" ,attr)                   ; for tests
+       ("bison" ,bison)
+       ("glib:bin" ,glib "bin")          ; for 'glib-mkenums'
+       ("gobject-introspection" ,gobject-introspection)
+       ("pkg-config" ,pkg-config)
+       ("xsltproc" ,libxslt)))
+    (inputs
+     `(("avahi" ,avahi)
+       ("docbook-xml" ,docbook-xml-4.2)
+       ("docbook-xsl" ,docbook-xsl)
+       ("e2fsprogs" ,e2fsprogs)
+       ("fuse" ,fuse)
+       ("glib" ,glib)
+       ("gpgme" ,gpgme)
+       ("libarchive" ,libarchive)
+       ("libsoup" ,libsoup)
+       ("nettle" ,nettle)               ; required by 'libarchive.la'
+       ("util-linux" ,util-linux)))
+    (home-page "https://ostree.readthedocs.io/en/latest/")
+    (synopsis "Operating system and container binary deployment and upgrades")
+    (description
+     "@code{libostree} is both a shared library and suite of command line
+tools that combines a \"git-like\" model for committing and downloading
+bootable filesystem trees, along with a layer for deploying them and managing
+the bootloader configuration.")
+    (license license:lgpl2.0+)))
-- 
2.17.1





Information forwarded to guix-patches <at> gnu.org:
bug#31768; Package guix-patches. (Mon, 11 Jun 2018 12:24:01 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: 宋文武 <iyzsong <at> member.fsf.org>
Cc: 31768 <at> debbugs.gnu.org
Subject: Re: [bug#31768] [PATCH 1/3] gnu: Add libostree.
Date: Mon, 11 Jun 2018 14:22:57 +0200
Hello,

宋文武 <iyzsong <at> member.fsf.org> skribis:

> * gnu/packages/package-management.scm (libostree): New variable.

[...]

> +    (inputs
> +     `(("avahi" ,avahi)
> +       ("docbook-xml" ,docbook-xml-4.2)
> +       ("docbook-xsl" ,docbook-xsl)
> +       ("e2fsprogs" ,e2fsprogs)
> +       ("fuse" ,fuse)
> +       ("glib" ,glib)
> +       ("gpgme" ,gpgme)
> +       ("libarchive" ,libarchive)
> +       ("libsoup" ,libsoup)
> +       ("nettle" ,nettle)               ; required by 'libarchive.la'

I think Nettle is no longer needed since commit
5294836d6a5eb1a37da1c130c182a06f201640e6.

Otherwise LGTM, thanks!

Ludo’.




Reply sent to iyzsong <at> member.fsf.org (宋文武):
You have taken responsibility. (Tue, 12 Jun 2018 11:36:01 GMT) Full text and rfc822 format available.

Notification sent to 宋文武 <iyzsong <at> member.fsf.org>:
bug acknowledged by developer. (Tue, 12 Jun 2018 11:36:02 GMT) Full text and rfc822 format available.

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

From: iyzsong <at> member.fsf.org (宋文武)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 31768-done <at> debbugs.gnu.org
Subject: Re: [bug#31768] [PATCH 1/3] gnu: Add libostree.
Date: Tue, 12 Jun 2018 19:35:15 +0800
ludo <at> gnu.org (Ludovic Courtès) writes:

> Hello,
>
> 宋文武 <iyzsong <at> member.fsf.org> skribis:
>
>> * gnu/packages/package-management.scm (libostree): New variable.
>
> [...]
>
>> +    (inputs
>> +     `(("avahi" ,avahi)
>> +       ("docbook-xml" ,docbook-xml-4.2)
>> +       ("docbook-xsl" ,docbook-xsl)
>> +       ("e2fsprogs" ,e2fsprogs)
>> +       ("fuse" ,fuse)
>> +       ("glib" ,glib)
>> +       ("gpgme" ,gpgme)
>> +       ("libarchive" ,libarchive)
>> +       ("libsoup" ,libsoup)
>> +       ("nettle" ,nettle)               ; required by 'libarchive.la'
>
> I think Nettle is no longer needed since commit
> 5294836d6a5eb1a37da1c130c182a06f201640e6.
>

It's still needed.  Guess it doesn't use flags from 'pkg-config'...

Pushed, thanks for the review!




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

This bug report was last modified 6 years and 338 days ago.

Previous Next


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