SF.net SVN: gar:[24389] csw/mgar/pkg
opk at users.sourceforge.net
opk at users.sourceforge.net
Fri Nov 28 19:34:54 CET 2014
Revision: 24389
http://sourceforge.net/p/gar/code/24389
Author: opk
Date: 2014-11-28 18:34:53 +0000 (Fri, 28 Nov 2014)
Log Message:
-----------
new package for mupdf
Added Paths:
-----------
csw/mgar/pkg/mupdf/
csw/mgar/pkg/mupdf/Makefile
csw/mgar/pkg/mupdf/branches/
csw/mgar/pkg/mupdf/tags/
csw/mgar/pkg/mupdf/trunk/
csw/mgar/pkg/mupdf/trunk/Makefile
csw/mgar/pkg/mupdf/trunk/checksums
csw/mgar/pkg/mupdf/trunk/files/
csw/mgar/pkg/mupdf/trunk/files/0001-adjust-Makefile-for-Solaris.patch
Added: csw/mgar/pkg/mupdf/Makefile
===================================================================
--- csw/mgar/pkg/mupdf/Makefile (rev 0)
+++ csw/mgar/pkg/mupdf/Makefile 2014-11-28 18:34:53 UTC (rev 24389)
@@ -0,0 +1,2 @@
+%:
+ $(MAKE) -C trunk $*
Index: csw/mgar/pkg/mupdf/trunk
===================================================================
--- csw/mgar/pkg/mupdf/trunk 2014-11-27 09:11:08 UTC (rev 24388)
+++ csw/mgar/pkg/mupdf/trunk 2014-11-28 18:34:53 UTC (rev 24389)
Property changes on: csw/mgar/pkg/mupdf/trunk
___________________________________________________________________
Added: svn:ignore
## -0,0 +1 ##
+work
Added: csw/mgar/pkg/mupdf/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mupdf/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/mupdf/trunk/Makefile 2014-11-28 18:34:53 UTC (rev 24389)
@@ -0,0 +1,66 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = mupdf
+VERSION = 1.6
+GARTYPE = v2
+
+DESCRIPTION = Lightweight PDF and XPS viewer
+define BLURB
+ MuPDF is small, fast, and yet complete. It supports PDF 1.7 with
+ transparency, encryption, hyperlinks, annotations, searching and more.
+ It also reads XPS and OpenXPS documents.
+
+ The renderer in MuPDF is tailored for high quality anti-aliased
+ graphics. It renders text with metrics and spacing accurate to within
+ fractions of a pixel for the highest fidelity in reproducing the look of
+ a printed page on screen.
+endef
+
+MASTER_SITES = http://mupdf.com/downloads/
+DISTNAME = $(NAME)-$(VERSION)-source
+UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*)-source.tar.gz
+DISTFILES = $(DISTNAME).tar.gz
+VENDOR_URL = http://mupdf.com/
+LICENSE = COPYING
+
+PACKAGES = CSWmupdf CSWmupdf-tools
+SPKG_DESC_CSWmupdf = $(DESCRIPTION)
+SPKG_DESC_CSWmupdf-tools = Commmand line tools for the MuPDF viewer
+PKGFILES_CSWmupdf = $(docdir)/$(NAME)/* $(bindir)/mupdf $(mandir)/man1/mupdf.1
+PKGFILES_CSWmupdf-tools = $(bindir)/mudraw $(bindir)/mutool \
+ $(mandir)/man1/mudraw.1 $(mandir)/man1/mutool.1
+
+PATCHFILES += 0001-adjust-Makefile-for-Solaris.patch
+
+CONFIGURE_SCRIPTS =
+BUILD_ARGS += build=none verbose=yes
+INSTALL_ARGS += build=none verbose=yes
+TEST_SCRIPTS =
+INSTALL_SCRIPTS = custom
+
+install-custom:
+ @ginstall -d $(DESTDIR)$(bindir)
+ @ginstall -d $(DESTDIR)$(mandir)/man1
+ @ginstall -d $(DESTDIR)$(docdir)/$(NAME)
+ @ginstall $(WORKSRC)/build/none/mudraw $(DESTDIR)$(bindir)
+ @ginstall $(WORKSRC)/build/none/mutool $(DESTDIR)$(bindir)
+ @ginstall -T $(WORKSRC)/build/none/mupdf-x11-curl $(DESTDIR)$(bindir)/mupdf
+ @ginstall -m 644 $(WORKSRC)/docs/man/*.1 $(DESTDIR)$(mandir)/man1
+ @ginstall -m 644 $(WORKSRC)/README $(WORKSRC)/CHANGES $(WORKSRC)/docs/*.txt $(DESTDIR)$(docdir)/$(NAME)
+ @$(MAKECOOKIE)
+
+
+RUNTIME_DEP_PKGS_CSWmupdf += CSWlibcurl4 CSWlibjpeg7 CSWlibssl1-0-0 CSWlibz1 \
+ CSWlibjbig2dec0 CSWlibfreetype6
+RUNTIME_DEP_PKGS_CSWmupdf-tools += CSWlibjpeg7 CSWlibssl1-0-0 CSWlibz1 \
+ CSWlibjbig2dec0 CSWlibfreetype6
+
+include gar/category.mk
+
+post-extract:
+ $(RM) $(WORKSRC)/thirdparty/curl/README $(WORKSRC)/thirdparty/jpeg/README \
+ $(WORKSRC)/thirdparty/zlib/README $(WORKSRC)/thirdparty/freetype/README \
+ $(WORKSRC)/thirdparty/openjpeg/CMakeLists.txt \
+ $(WORKSRC)/thirdparty/jbig2dec/README
+ @$(MAKECOOKIE)
Property changes on: csw/mgar/pkg/mupdf/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: csw/mgar/pkg/mupdf/trunk/checksums
===================================================================
--- csw/mgar/pkg/mupdf/trunk/checksums (rev 0)
+++ csw/mgar/pkg/mupdf/trunk/checksums 2014-11-28 18:34:53 UTC (rev 24389)
@@ -0,0 +1 @@
+8d69db41ae9e0b6807b76bb6ed70dc2f mupdf-1.6-source.tar.gz
Added: csw/mgar/pkg/mupdf/trunk/files/0001-adjust-Makefile-for-Solaris.patch
===================================================================
--- csw/mgar/pkg/mupdf/trunk/files/0001-adjust-Makefile-for-Solaris.patch (rev 0)
+++ csw/mgar/pkg/mupdf/trunk/files/0001-adjust-Makefile-for-Solaris.patch 2014-11-28 18:34:53 UTC (rev 24389)
@@ -0,0 +1,43 @@
+From d2659db20be238e1fcba56ccb85ddace59e9f51a Mon Sep 17 00:00:00 2001
+From: Oliver Kiddle <opk at opencsw.org>
+Date: Fri, 28 Nov 2014 19:13:59 +0100
+Subject: [PATCH] adjust Makefile for Solaris
+
+---
+ Makerules | 6 ++----
+ 1 file changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/Makerules b/Makerules
+index 75573da..00f59c2 100644
+--- a/Makerules
++++ b/Makerules
+@@ -5,7 +5,7 @@ OS := $(OS:MINGW%=MINGW)
+ OS := $(OS:Windows_NT=MINGW)
+ OS := $(OS:Darwin=MACOS)
+
+-CFLAGS += -Wall
++#CFLAGS += -Wall
+
+ ifeq "$(build)" "debug"
+ CFLAGS += -pipe -g -DDEBUG
+@@ -21,8 +21,6 @@ else ifeq "$(build)" "native"
+ CFLAGS += -pipe -O2 -DNDEBUG -fomit-frame-pointer -march=native -mfpmath=sse
+ else ifeq "$(build)" "memento"
+ CFLAGS += -pipe -g -DMEMENTO -DDEBUG
+-else
+-$(error unknown build setting: '$(build)')
+ endif
+
+ # Windows (MINGW) build doesn't use system libraries.
+@@ -54,7 +52,7 @@ LD = xcrun ld
+ RANLIB_CMD = xcrun ranlib $@
+
+ # Linux uses pkg-config for system libraries.
+-else ifeq "$(OS)" "Linux"
++else
+
+ HAVE_X11 ?= yes
+
+--
+2.0.3
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list