all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [HELP] Packaging mupdf
@ 2019-03-02 20:15 Pierre-Henry F.
  2019-03-02 22:15 ` Ricardo Wurmus
  0 siblings, 1 reply; 5+ messages in thread
From: Pierre-Henry F. @ 2019-03-02 20:15 UTC (permalink / raw)
  To: help-guix@gnu.org

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

Hello,

I'm trying to learn how to package code using Guix and packaging
mupdf doing do. I need some help to continue.

I've followed packaging tutorial for guix[1] and hopefully know
enough scheme (Racket in fact) to carry one.

The problem with the way mupdf is package today[2] is that it
does not include the patched version of freeglut that is
necessary for the copy-pasting functionality[3].

What does work is to follow the build instructions of mupdf[4]
which boils down to:

  git clone --recursive git://git.ghostscript.com/mupdf.git
  cd mupdf
  git submodule update --init
  sudo apt-get install mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev xorg-dev libxcursor-dev libxrandr-dev libxinerama-dev
  make prefix=~/bin/mupdf install

So, I guess that the objective is to somehow make guix execute
the above script.

I've been wondering around in the doc of guix w/o much success.
Is there anyone that could help me out? I can document the thing
and post it on my blog or give it back here for anyone to do
anything with it, should it be of some use.

Many thanks,
PH

[1]: https://www.gnu.org/software/guix/blog/2018/a-packaging-tutorial-for-guix/
[2]: $ guix edit mupdf
[3]: https://bugs.archlinux.org/task/57227
[4]: https://mupdf.com/docs/building.html

[-- Attachment #2: Type: text/html, Size: 2040 bytes --]

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

end of thread, other threads:[~2019-03-04 17:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-02 20:15 [HELP] Packaging mupdf Pierre-Henry F.
2019-03-02 22:15 ` Ricardo Wurmus
2019-03-03  8:52   ` Pierre-Henry F.
2019-03-03 14:30     ` Ricardo Wurmus
2019-03-04 17:09       ` Pierre-Henry F.

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.