unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jannneke Nieuwenhuizen <janneke@gnu.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 61483@debbugs.gnu.org
Subject: [bug#61483] [PATCH 0/5] Some basic Home Shepherd Services
Date: Thu, 16 Mar 2023 16:21:27 +0100	[thread overview]
Message-ID: <87pm98oh6w.fsf@gnu.org> (raw)
In-Reply-To: <87y1nwokmr.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Thu, 16 Mar 2023 15:07:08 +0100")

[-- Attachment #1: Type: text/plain, Size: 1604 bytes --]

Jan Nieuwenhuizen writes:

> Ludovic Courtès writes:
>
>> Janneke Nieuwenhuizen <janneke@gnu.org> skribis:
>>
>>> From: "Janneke Nieuwenhuizen" <janneke@gnu.org>
>>>
>>> * gnu/home/services/media.scm: New file.
>>> * gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
>>> * doc/guix.texi (Media Home Services): Document it in new subsection.
>>
>> Please also add the new file to ‘po/guix/POTFILES.in’ so descriptions
>> can be translated.  Otherwise LGTM!
>
> Great, done.
>
>> In the meantime I realized I don’t have to push it on your behalf, so
>> I’ll let you take care of it—sorry for the confusion!
>
> Thanks, pushed to master as
>
>     70056b1b2beebbc9f8ea2c34eacc57f379368ab3

Well, it seems I added a dependency to the shepherd, module (shepherd
support), for things like

    %user-runtime-dir

I locally applied the attached patch to add Shepherd as an input (not
sure if that would be OK), but now `make update-guix-package' fails:

--8<---------------cut here---------------start------------->8---
$ make update-guix-package
git rev-parse HEAD
bd086f1718123a4d180aa6f2178828a83025ab35
./pre-inst-env "/gnu/store/f4w31qrim35yfnppacfmig491x1nwi3x-profile/bin/guile"			\
   ./build-aux/update-guix-package.scm	\
   "`git rev-parse HEAD`"
error: Failed to find the origin git remote.
make: *** [Makefile:7178: update-guix-package] Error 1
--8<---------------cut here---------------end--------------->8---

Not sure what to do, possibly best to revert the home services patches
again until we have (consensus on a) fix.

Greetings,
Janneke


[-- Attachment #2: 0001-gnu-guix-Add-shepherd-as-input-dependency.patch --]
[-- Type: text/x-patch, Size: 2046 bytes --]

From bd086f1718123a4d180aa6f2178828a83025ab35 Mon Sep 17 00:00:00 2001
From: "Jan (janneke) Nieuwenhuizen" <janneke@gnu.org>
Date: Thu, 16 Mar 2023 16:08:01 +0100
Subject: [PATCH] gnu: guix: Add shepherd as input dependency.

The home services depend on (shepherd support).

* gnu/packages/package-management.scm (guix)[inputs]: Add shepherd-0.9.
---
 gnu/packages/package-management.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index d27c8a91ef..8a05955d1a 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -12,7 +12,7 @@
 ;;; Copyright © 2019-2023 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2019 Jonathan Brielmaier <jonathan.brielmaier@web.de>
 ;;; Copyright © 2020 Mathieu Othacehe <m.othacehe@gmail.com>
-;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2020, 2023 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;; Copyright © 2020 Jesse Gibbons <jgibbons2357+guix@gmail.com>
 ;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
@@ -41,6 +41,7 @@ (define-module (gnu packages package-management)
   #:use-module (gnu artwork)
   #:use-module (gnu packages)
   #:use-module (gnu packages acl)
+  #:use-module (gnu packages admin)
   #:use-module (gnu packages attr)
   #:use-module (gnu packages avahi)
   #:use-module (gnu packages autotools)
@@ -462,7 +463,8 @@ (define code
          ("disarchive" ,disarchive)               ;for 'guix perform-download'
          ("guile-lzma" ,guile-lzma)               ;for Disarchive
 
-         ("glibc-utf8-locales" ,glibc-utf8-locales)))
+         ("glibc-utf8-locales" ,glibc-utf8-locales)
+         ("shepherd" ,shepherd-0.9)))
       (propagated-inputs
        `(("guile-gnutls" ,guile-gnutls)
          ;; Avahi requires "glib" which doesn't cross-compile yet.
-- 
2.39.1


[-- Attachment #3: Type: text/plain, Size: 164 bytes --]


-- 
Janneke Nieuwenhuizen <janneke@gnu.org>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com

  reply	other threads:[~2023-03-16 15:22 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-13 16:46 [bug#61483] [PATCH 0/5] Some basic Home Shepherd Services Jan (janneke) Nieuwenhuizen
2023-02-13 16:50 ` [bug#61483] [PATCH 1/5] DRAFT gnu: home: services: Add home-git-daemon-service-type Janneke Nieuwenhuizen
2023-02-13 16:50   ` [bug#61483] [PATCH 2/5] DRAFT gnu: home: services: Add home-ssh-agent-service-type Janneke Nieuwenhuizen
2023-02-13 16:50   ` [bug#61483] [PATCH 3/5] DRAFT gnu: home: services: Add home-znc-service-type Janneke Nieuwenhuizen
2023-02-13 16:50   ` [bug#61483] [PATCH 4/5] DRAFT gnu: home: services: Add home-kodi-service-type Janneke Nieuwenhuizen
2023-02-13 16:50   ` [bug#61483] [PATCH 5/5] DRAFT doc: Document Home Shepherd Services Janneke Nieuwenhuizen
2023-02-14 13:45   ` [bug#61483] [PATCH 1/5] DRAFT gnu: home: services: Add home-git-daemon-service-type Bruno Victal
2023-02-14 15:17     ` [bug#61483] [PATCH 0/5] Some basic Home Shepherd Services Jan Nieuwenhuizen
2023-02-14 15:14 ` Janneke Nieuwenhuizen
2023-02-16 15:53 ` [bug#61483] [PATCH v2 1/5] DRAFT gnu: home: services: Add home-git-daemon-service-type Jan (janneke) Nieuwenhuizen
2023-02-16 15:53   ` [bug#61483] [PATCH v2 2/5] DRAFT gnu: home: services: Add home-ssh-agent-service-type Jan (janneke) Nieuwenhuizen
2023-03-04 17:08     ` [bug#61483] [PATCH 0/5] Some basic Home Shepherd Services Ludovic Courtès
2023-02-16 15:53   ` [bug#61483] [PATCH v2 3/5] DRAFT gnu: home: services: Add home-znc-service-type Jan (janneke) Nieuwenhuizen
2023-03-04 17:06     ` [bug#61483] [PATCH 0/5] Some basic Home Shepherd Services Ludovic Courtès
2023-02-16 15:53   ` [bug#61483] [PATCH v2 4/5] DRAFT gnu: home: services: Add home-kodi-service-type Jan (janneke) Nieuwenhuizen
2023-03-04 17:10     ` [bug#61483] [PATCH 0/5] Some basic Home Shepherd Services Ludovic Courtès
2023-03-05 18:11       ` Janneke Nieuwenhuizen
2023-02-16 15:53   ` [bug#61483] [PATCH v2 5/5] DRAFT doc: Document " Jan (janneke) Nieuwenhuizen
2023-03-04 17:14     ` [bug#61483] [PATCH 0/5] Some basic " Ludovic Courtès
2023-03-05 18:09       ` Janneke Nieuwenhuizen
2023-03-04 17:05   ` Ludovic Courtès
2023-03-05 17:41     ` Janneke Nieuwenhuizen
2023-03-04 17:01 ` Ludovic Courtès
2023-03-05 18:18   ` Janneke Nieuwenhuizen
2023-03-05 18:13 ` [bug#61483] [PATCH v3 1/3] gnu: home: services: Add home-ssh-agent-service-type Janneke Nieuwenhuizen
2023-03-05 18:13   ` [bug#61483] [PATCH v3 2/3] gnu: home: services: Add home-znc-service-type Janneke Nieuwenhuizen
2023-03-16 11:01     ` [bug#61483] [PATCH 0/5] Some basic Home Shepherd Services Ludovic Courtès
2023-03-16 14:06       ` Janneke Nieuwenhuizen
2023-03-05 18:13   ` [bug#61483] [PATCH v3 3/3] gnu: home: services: Add home-kodi-service-type Janneke Nieuwenhuizen
2023-03-16 11:04     ` [bug#61483] [PATCH 0/5] Some basic Home Shepherd Services Ludovic Courtès
2023-03-16 14:07       ` Jan Nieuwenhuizen
2023-03-16 15:21         ` Jannneke Nieuwenhuizen [this message]
2023-03-16 16:16           ` Ludovic Courtès
2023-03-17 11:57             ` Janneke Nieuwenhuizen
2023-03-16 11:01   ` Ludovic Courtès
2023-03-16 14:08     ` Janneke Nieuwenhuizen
2023-03-17 11:53       ` bug#61483: " Janneke Nieuwenhuizen
2023-03-17 21:07         ` [bug#61483] " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pm98oh6w.fsf@gnu.org \
    --to=janneke@gnu.org \
    --cc=61483@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).