all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jan Nieuwenhuizen <janneke@gnu.org>
To: Mathieu Othacehe <m.othacehe@gmail.com>
Cc: Mathieu Othacehe <othacehe@gnu.org>, 41735@debbugs.gnu.org
Subject: [bug#41735] [PATCH 1/2] gnu: Add openssh-no-x.
Date: Sat, 06 Jun 2020 12:00:46 +0200	[thread overview]
Message-ID: <87o8pw4ipd.fsf@gnu.org> (raw)
In-Reply-To: <20200606091552.32625-1-othacehe@gnu.org> (Mathieu Othacehe's message of "Sat, 6 Jun 2020 11:15:51 +0200")

Mathieu Othacehe writes:

Hello!

> * gnu/packages/ssh.scm (openssh-no-x): New variable.
[..]
> diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
[..]
> +;; OpenSSH without X support. This allows to use OpenSSH without dragging X
> +;; libraries to the closure.
> +(define-public openssh-no-x
> +  (package
> +    (inherit openssh)
> +    (name "openssh-no-x")
> +    (inputs (alist-delete "xauth" (package-inputs openssh)))))

I like it!  Maybe use -sans-x?

Two remarks: after merging, we may want to use openssh-no-x for the Hurd
too and drop this from openssh proper:

             ,@(if (hurd-target?)
                   '()
                   `(("xauth" ,xauth)))))         ; for 'ssh -X' and 'ssh -Y'

We have this bit because xauth does not compile for the Hurd yet,
but it's kind of a kludge.

Not to hold this up and maybe we should take this discussion
elsewhere...but I have a ~5y old, bit-rotting stack of LilyPond cross
build packages (foo-SANS-X) laying around.  At the time--much to my
suprise--I found the LilyPond community less than enthousiastic to move
their binary package builds to Guix (yet); but adding these -NO-X
packages felt a bit weird.  So, I wonder if we could address the X'yness
of packages in a more structured way, that would be nice...

Greetings,
Janneke

-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com




  parent reply	other threads:[~2020-06-06 10:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-06  9:14 [bug#41735] [PATCH 0/2] Remove X libraries from bare-bones system closure Mathieu Othacehe
2020-06-06  9:15 ` [bug#41735] [PATCH 1/2] gnu: Add openssh-no-x Mathieu Othacehe
2020-06-06  9:15   ` [bug#41735] [PATCH 2/2] system: bare-bones: Remove dependency to X libraries Mathieu Othacehe
2020-06-06 10:00   ` Jan Nieuwenhuizen [this message]
2020-06-08  9:27     ` [bug#41735] [PATCH 1/2] gnu: Add openssh-no-x Mathieu Othacehe
2020-06-08 13:19       ` Jan Nieuwenhuizen
2020-06-06 12:40   ` Marius Bakke
2020-06-08  9:23     ` bug#41735: " Mathieu Othacehe

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

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

  git send-email \
    --in-reply-to=87o8pw4ipd.fsf@gnu.org \
    --to=janneke@gnu.org \
    --cc=41735@debbugs.gnu.org \
    --cc=m.othacehe@gmail.com \
    --cc=othacehe@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.