unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Prikler <leo.prikler@student.tugraz.at>
To: andreas@enge.fr
Cc: guix-devel@gnu.org
Subject: Re: Xpdf with or without Qt
Date: Fri, 26 Feb 2021 18:31:40 +0100	[thread overview]
Message-ID: <4f719ff36644982ae92749bbfd2cf495bc2e598a.camel@student.tugraz.at> (raw)
In-Reply-To: YDkpuElJLPCRt9XV@jurong

> Should I create a custom channel with xpdf@4.02? Or even xpdf@5 to
> have
> a higher version number, but with the old 4.02 package code and
> source?
> Or a manifest including some time-machine thing, or a personal
> package
> transformation that compiles xpdf --with-source=...?
It's up to you, but some options are worse than others.
The easiest thing would be to inherit xpdf in your manifest and build
it from the old source.  That should work pretty well and also update
xpdf if any of its dependencies change.  You could also copy the entire
4.02 recipe to your history channel.  Either way, make sure to refer to
it as xpdf@4.02 when installing from command-line or directly by
variable xpdf-4.02 when using it in a manifest.  Do not create "higher"
versions for your own needs (unless they actually make sense, e.g.
you're packaging the yet unavailable version 4.04-alpha-we-got-back-
motif), that would conflict with Guix if a version 5 shipped, that had
Qt as an optional input with a Motif fallback.
Another would be to use inferiors from a manifest.  Inferiors basically
work like time-machine, but expressed in terms of Scheme code.
A third option would be to generate an environment, that has xpdf@4.02
through time-machine and add that environment as a gcroot.  Then you can invoke xpdf commands from that path and even source its etc/profile (inside your .bash_profile for instance) at startup.

Which one you grok the most is up to you, but it's definitely fun to
experiment 🙂

Regards,
Leo



             reply	other threads:[~2021-02-26 17:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-26 17:31 Leo Prikler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-02-26 15:43 Xpdf with or without Qt Andreas Enge
2021-02-26 16:27 ` Vincent Legoll
2021-02-26 17:02   ` Andreas Enge
2021-02-26 17:18     ` Vincent Legoll
2021-02-26 18:06     ` zimoun
2021-02-27 11:23       ` Andreas Enge

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=4f719ff36644982ae92749bbfd2cf495bc2e598a.camel@student.tugraz.at \
    --to=leo.prikler@student.tugraz.at \
    --cc=andreas@enge.fr \
    --cc=guix-devel@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).