From: Alex Kost <alezost@gmail.com>
To: "Dušan Xmetov" <merkur32@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 3/3] gnu: Add mupdf
Date: Mon, 15 Sep 2014 08:59:47 +0400 [thread overview]
Message-ID: <874mw95vi4.fsf@gmail.com> (raw)
In-Reply-To: <CAN=wXfCB-T_vHJYmqsPcvAZaXUv7SeYyu3uadDJVsHgBwq+OjQ@mail.gmail.com> ("Dušan Xmetov"'s message of "Sun, 14 Sep 2014 11:15:26 +0200")
Hello, I don't have real comments, I just noticed a couple of typos.
Dušan Xmetov (2014-09-14 13:15 +0400) wrote:
> From bfe5d62ebe379d9d3b5dde812316f7cefe94ddf5 Mon Sep 17 00:00:00 2001
> From: Marek Benc <merkur32@gmail.com>
> Date: Sun, 14 Sep 2014 11:08:10 +0200
> Subject: [PATCH] gnu: Add mupdf
>
> * gnu/packages/pdf.scm (mupdf): New variable.
> * gnu/packages/patches/mupdf-buildsystem-fix.patch: New vile.
New file.
[...]
> +Make use of the above alternatives, compile with gcc.
> +
> +--- a/Makerules 2014-09-14 09:13:40.729149860 +0200
> ++++ b/Makerules 2014-09-14 09:17:06.425156595 +0200
> +@@ -75,12 +75,14 @@
> +
trailing space.
> + SYS_FREETYPE_CFLAGS = $(shell pkg-config --cflags freetype2)
> + SYS_FREETYPE_LIBS = $(shell pkg-config --libs freetype2)
> +-SYS_OPENJPEG_CFLAGS = $(shell pkg-config --cflags libopenjp2)
> +-SYS_OPENJPEG_LIBS = $(shell pkg-config --libs libopenjp2)
> ++SYS_OPENJPEG_CFLAGS = $(shell ./ojp2_cppflags.sh)
> ++SYS_OPENJPEG_LIBS = $(shell ./ojp2_ldflags.sh)
> + SYS_JBIG2DEC_LIBS = -ljbig2dec
> + SYS_JPEG_LIBS = -ljpeg
> + SYS_ZLIB_LIBS = -lz
> +
trailing space.
> ++CC = gcc
> ++
> + endif
> +
trailing space.
> + # The following section is an example of how to simply do cross-compilation
> +
> +Remove the -x11 from the built binaries, since X11 is implied on GNU. (This
> +might change when Wayland gets more popular)
> +
> +--- a/Makefile 2014-06-10 17:09:28.000000000 +0200
> ++++ b/Makefile 2014-09-14 09:57:10.381235299 +0200
> +@@ -255,7 +255,7 @@
> + $(LINK_CMD)
> +
trailing space.
> + ifeq "$(HAVE_X11)" "yes"
> +-MUVIEW_X11 := $(OUT)/mupdf-x11
> ++MUVIEW_X11 := $(OUT)/mupdf
> + MUVIEW_X11_OBJ := $(addprefix $(OUT)/platform/x11/, x11_main.o x11_image.o pdfapp.o)
> + $(MUVIEW_X11_OBJ) : $(FITZ_HDR) $(PDF_HDR)
> + $(MUVIEW_X11) : $(MUPDF_LIB) $(THIRD_LIBS)
> +@@ -263,7 +263,7 @@
> + $(LINK_CMD) $(X11_LIBS)
> +
trailing space.
[...]
> + (inputs
> + `(("curl" ,curl)
> + ("freetype", freetype)
("freetype" ,freetype)
[...]
> + (synopsis "A lightweight PDF viewer and toolkit.")
> + (description
> + "MuPDF is a C library that implements a PDF and XPS parsing and rendering
> +engine. It is used primarily to render pages into bitmaps, but also provides
> +support for other operations such as searching and listing the table of
> +contents and hyperlinks.
> +
> +The library ships with a rudimentary X11 viewer, and a set of command line tools
> +for batch rendering (pdfdraw), examining the file structure (pdfshow), and
> +rewriting files (pdfclean).")
> + (license license:agpl3+)))
I think people usually avoid a period in a synopsis and use a double
space after a period in a description. Also the description should be
wrapped by 72 (or 78?) characters in a line.
next prev parent reply other threads:[~2014-09-15 5:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-14 9:15 [PATCH 3/3] gnu: Add mupdf Dušan Xmetov
2014-09-15 4:59 ` Alex Kost [this message]
2014-09-15 5:20 ` Dušan Xmetov
2014-09-15 6:52 ` Ludovic Courtès
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=874mw95vi4.fsf@gmail.com \
--to=alezost@gmail.com \
--cc=guix-devel@gnu.org \
--cc=merkur32@gmail.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.