all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arun Isaac <arunisaac@systemreboot.net>
To: Felix Lechner <felix.lechner@lease-up.com>, 70907@debbugs.gnu.org
Cc: David Thompson <dthompson2@worcester.edu>
Subject: bug#70907: [PATCH] Render using Haunt; per dthompson's recommendation.
Date: Sun, 19 May 2024 03:32:21 +0100	[thread overview]
Message-ID: <87y186ilai.fsf@systemreboot.net> (raw)
In-Reply-To: <87cypow72o.fsf@lease-up.com>


Hi Felix,

Haunt is an end-user application, not a library. It is not a good idea
to depend on end-user applications as though they were libraries. It is
not so much a question of how big those end-user applications are,
though sometimes that may be a consideration. Imagine getting mumi to
depend on inkscape or something! Depending on end-user applications is
the last resort when all other options have been exhausted.

To describe just one problem: end-user applications such as Haunt may
bring in other guile packages that we don't need. Since guile packages
need all of these to be propagated inputs, this can cause trouble with
package collisions in profiles, or maybe even circular
dependencies. Now, Haunt doesn't pull in that many dependencies, and
it's probably fine for now. But, depending on end-user applications is
simply not good practice.

Ultimately, mumi has no real need to depend on Haunt. It is so much
easier to simply copy the relevant html.scm file from Haunt into mumi
like David suggested. Or, better still, get it into the sxml->html of
guile-lib.

About xdg-utils: I see your point about xdg-utils being a large
dependency. I completely agree. However, xdg-open is well established as
the standard way to open the user's preferred web browser and email
client. I am not fond of it, but it is what it is. If there is a way to
do this without xdg-utils, I am all ears and happy to switch.

Regards,
Arun




      reply	other threads:[~2024-05-19  2:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-13  4:40 bug#70907: [PATCH] Render using Haunt; per dthompson's recommendation Felix Lechner via Bug-mumi via Bug reports for GNU Guix Mumi.
2024-05-13 10:09 ` Arun Isaac
2024-05-13 10:46   ` Thompson, David
2024-05-14 13:29     ` Felix Lechner via Bug-mumi via Bug reports for GNU Guix Mumi.
2024-05-14 19:02   ` Felix Lechner via Bug-mumi via Bug reports for GNU Guix Mumi.
2024-05-19  2:32     ` Arun Isaac [this message]

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=87y186ilai.fsf@systemreboot.net \
    --to=arunisaac@systemreboot.net \
    --cc=70907@debbugs.gnu.org \
    --cc=dthompson2@worcester.edu \
    --cc=felix.lechner@lease-up.com \
    /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.