update to MuPDF 1.1

This commit is contained in:
sthen 2012-08-17 13:30:16 +00:00
parent f5b6733e20
commit a7ec13dacf
8 changed files with 13 additions and 69 deletions

View File

@ -1,11 +1,10 @@
# $OpenBSD: Makefile,v 1.31 2012/05/08 22:49:46 sthen Exp $
# $OpenBSD: Makefile,v 1.32 2012/08/17 13:30:16 sthen Exp $
COMMENT = graphic library, pdf parser, viewer and utilities
V = 1.0
REVISION = 0
V = 1.1
DISTNAME = mupdf-$V-source
PKGNAME = mupdf-$V
PKGNAME = mupdf-${V:S/-rc/rc/}
CATEGORIES = textproc x11

View File

@ -1,5 +1,2 @@
MD5 (mupdf-1.0-source.tar.gz) = 2YarmOKwNber1hr8R0Visw==
RMD160 (mupdf-1.0-source.tar.gz) = eCDPaFUtZMUsfQjNz1oZZd85vUI=
SHA1 (mupdf-1.0-source.tar.gz) = xcRJaDbN1L33stI0TsBFyVCOSeQ=
SHA256 (mupdf-1.0-source.tar.gz) = T14SYl9/gn9utWBgJsmnp9ver5NfzqO8Fz7Y1GlpjsI=
SIZE (mupdf-1.0-source.tar.gz) = 4208530
SHA256 (mupdf-1.1-source.tar.gz) = 5UZmu+HZ8KVGQ0m/vv/PZ2xKD8rT77ieuh8g1KyZHzQ=
SIZE (mupdf-1.1-source.tar.gz) = 4281735

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Makerules,v 1.5 2012/04/25 13:55:12 sthen Exp $
--- Makerules.orig Tue Apr 24 17:41:33 2012
+++ Makerules Wed Apr 25 14:21:09 2012
$OpenBSD: patch-Makerules,v 1.6 2012/08/17 13:30:16 sthen Exp $
--- Makerules.orig Wed Aug 8 19:40:23 2012
+++ Makerules Thu Aug 9 14:54:01 2012
@@ -5,6 +5,7 @@ OS := $(OS:MINGW%=MINGW)
CFLAGS += -Wall
@ -9,7 +9,7 @@ $OpenBSD: patch-Makerules,v 1.5 2012/04/25 13:55:12 sthen Exp $
ifeq "$(build)" "debug"
CFLAGS += -pipe -g -DDEBUG
else ifeq "$(build)" "profile"
@@ -19,6 +20,7 @@ CFLAGS += -pipe -g -DMEMENTO -DDEBUG
@@ -22,6 +23,7 @@ CFLAGS += -pipe -g -DMEMENTO -DDEBUG
else
$(error unknown build setting: '$(build)')
endif
@ -17,7 +17,7 @@ $OpenBSD: patch-Makerules,v 1.5 2012/04/25 13:55:12 sthen Exp $
ifeq "$(OS)" "Linux"
SYS_FREETYPE_INC := `pkg-config --cflags freetype2`
@@ -29,6 +31,13 @@ ifeq "$(OS)" "FreeBSD"
@@ -32,6 +34,13 @@ ifeq "$(OS)" "FreeBSD"
SYS_FREETYPE_INC := `pkg-config --cflags freetype2`
LDFLAGS += -L/usr/local/lib
X11_LIBS := -lX11 -lXext

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-apps_mupdfclean_c,v 1.1 2012/05/08 22:49:46 sthen Exp $
--- apps/mupdfclean.c.orig Tue May 8 23:18:05 2012
+++ apps/mupdfclean.c Tue May 8 23:18:11 2012
@@ -36,7 +36,7 @@ static fz_context *ctx = NULL;
static void usage(void)
{
fprintf(stderr,
- "usage: pdfclean [options] input.pdf [output.pdf] [pages]\n"
+ "usage: mupdfclean [options] input.pdf [output.pdf] [pages]\n"
"\t-p -\tpassword\n"
"\t-g\tgarbage collect unused objects\n"
"\t-gg\tin addition to -g compact xref table\n"

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-apps_mupdfextract_c,v 1.1 2012/05/08 22:49:46 sthen Exp $
--- apps/mupdfextract.c.orig Tue May 8 23:18:05 2012
+++ apps/mupdfextract.c Tue May 8 23:18:13 2012
@@ -10,7 +10,7 @@ static int dorgb = 0;
static void usage(void)
{
- fprintf(stderr, "usage: pdfextract [options] file.pdf [object numbers]\n");
+ fprintf(stderr, "usage: mupdfextract [options] file.pdf [object numbers]\n");
fprintf(stderr, "\t-p\tpassword\n");
fprintf(stderr, "\t-r\tconvert images to rgb\n");
exit(1);

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-apps_mupdfinfo_c,v 1.1 2012/05/08 22:49:46 sthen Exp $
--- apps/mupdfinfo.c.orig Tue May 8 23:18:05 2012
+++ apps/mupdfinfo.c Tue May 8 23:18:16 2012
@@ -154,7 +154,7 @@ static void
infousage(void)
{
fprintf(stderr,
- "usage: pdfinfo [options] [file.pdf ... ]\n"
+ "usage: mupdfinfo [options] [file.pdf ... ]\n"
"\t-d -\tpassword for decryption\n"
"\t-f\tlist fonts\n"
"\t-i\tlist images\n"

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-apps_mupdfshow_c,v 1.1 2012/05/08 22:49:46 sthen Exp $
--- apps/mupdfshow.c.orig Tue May 8 23:18:05 2012
+++ apps/mupdfshow.c Tue May 8 23:18:21 2012
@@ -12,7 +12,7 @@ static int showcolumn;
static void usage(void)
{
- fprintf(stderr, "usage: pdfshow [options] file.pdf [grepable] [xref] [trailer] [pagetree] [object numbers]\n");
+ fprintf(stderr, "usage: mupdfshow [options] file.pdf [grepable] [xref] [trailer] [pagetree] [object numbers]\n");
fprintf(stderr, "\t-b\tprint streams as binary data\n");
fprintf(stderr, "\t-e\tprint encoded streams (don't decode)\n");
fprintf(stderr, "\t-p\tpassword\n");

View File

@ -1,10 +1,7 @@
@comment $OpenBSD: PLIST,v 1.6 2012/04/25 13:55:12 sthen Exp $
@comment $OpenBSD: PLIST,v 1.7 2012/08/17 13:30:16 sthen Exp $
@bin bin/mubusy
@bin bin/mudraw
@bin bin/mupdf
@bin bin/mupdfclean
@bin bin/mupdfextract
@bin bin/mupdfinfo
@bin bin/mupdfshow
include/fitz.h
include/memento.h
include/mucbz.h
@ -13,10 +10,9 @@ include/muxps.h
lib/libfitz.a
lib/pkgconfig/
lib/pkgconfig/mupdf.pc
@man man/man1/mubusy.1
@man man/man1/mudraw.1
@man man/man1/mupdf.1
@man man/man1/mupdfclean.1
@man man/man1/mupdfshow.1
share/application-registry/
share/application-registry/mupdf.applications
share/applications/mupdf.desktop