unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Xpdf with or without Qt
@ 2021-02-26 15:43 Andreas Enge
  2021-02-26 16:27 ` Vincent Legoll
  0 siblings, 1 reply; 7+ messages in thread
From: Andreas Enge @ 2021-02-26 15:43 UTC (permalink / raw)
  To: guix-devel

Hello,

commit 35089dca4053bf5888441d1648086cdadb6eb1e4 adds Qt to the xpdf package
and removes most X libraries. The result is quite different and does not
correspond to the synopsis "...based on the Motif toolkit" any more, and we
get closer to more modern pdf readers such as evince or okular. On the other
hand, I have been using xpdf as a "no frills" reader with an interface that
had not changed forever, which I am missing now.

Is this a change that became necessary with the update from 4.02 to 4.03
(that looks minor from the numbers!)? If no, I would like to suggest getting
back to the previous inputs. If yes, I do not quite know what to do :)

Andreas



^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Xpdf with or without Qt
@ 2021-02-26 17:31 Leo Prikler
  0 siblings, 0 replies; 7+ messages in thread
From: Leo Prikler @ 2021-02-26 17:31 UTC (permalink / raw)
  To: andreas; +Cc: guix-devel

> 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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-02-27 11:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2021-02-26 17:31 Leo Prikler

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).