FreeBSD Bugzilla – Attachment 107618 Details for
Bug 148423
[PATCH] graphics/mupdf: update to r1309
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mupdf-r1309,1.patch
mupdf-r1309,1.patch (text/plain), 4.56 KB, created by
baptiste.daroussin
on 2010-07-07 13:10:03 UTC
(
hide
)
Description:
mupdf-r1309,1.patch
Filename:
MIME Type:
Creator:
baptiste.daroussin
Created:
2010-07-07 13:10:03 UTC
Size:
4.56 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/graphics/mupdf.orig/Makefile /usr/ports/graphics/mupdf/Makefile >--- /usr/ports/graphics/mupdf.orig/Makefile 2010-04-27 21:06:53.000000000 +0200 >+++ /usr/ports/graphics/mupdf/Makefile 2010-07-07 14:03:51.247291963 +0200 >@@ -5,46 +5,41 @@ > # $FreeBSD: ports/graphics/mupdf/Makefile,v 1.6 2010/04/27 19:06:53 amdmi3 Exp $ > > PORTNAME= mupdf >-PORTVERSION= r940 >+PORTVERSION= r1309 > PORTEPOCH= 1 > CATEGORIES= graphics >-MASTER_SITES= http://www.mupdf.com/download/ >+MASTER_SITES= http://www.mupdf.com/download/snapshots/ > > MAINTAINER= martin.dieringer@gmx.de > COMMENT= Lightweight PDF viewer and toolkit > >-BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam > LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ >- jpeg.11:${PORTSDIR}/graphics/jpeg >+ jpeg.11:${PORTSDIR}/graphics/jpeg \ >+ jbig2dec.0:${PORTSDIR}/graphics/jbig2dec \ >+ openjpeg.2:${PORTSDIR}/graphics/openjpeg > >+USE_GMAKE= yes >+MAKE_ARGS+= build=release prefix=${PREFIX} verbose=true > WRKSRC= ${WRKDIR}/${PORTNAME} > USE_XORG= x11 xext >-JAM_ARGS= -q -sLOCALBASE=${LOCALBASE} \ >- -sPTHREAD_LIBS=${PTHREAD_LIBS} ${_MAKE_JOBS} >+USE_GNOME= pkgconfig >+ > MAKE_JOBS_SAFE= yes > >-EXECUTABLES= cmapdump pdfdraw pdfinfo \ >- fontdump pdfclean pdfextract pdfshow >+LICENSE= GPLv3 >+LICENSE_FILE= ${WRKSRC}/COPYING > >-OPTIONS= CJK "Enable Asian Fontset" On >+CFLAGS+= -I${LOCALBASE}/include >+LDFLAGS+= -L${LOCALBASE}/lib > > .include <bsd.port.options.mk> > >-.if defined(WITHOUT_CJK) >-JAM_ARGS+= -sDEFINES=NOCJK >-.endif >- >-do-build: >- cd ${WRKSRC} && jam ${JAM_ARGS} >- >-do-install: >- ${INSTALL} ${WRKSRC}/build/mupdf ${PREFIX}/bin/mupdf >-.for f in ${EXECUTABLES} >- ${INSTALL} ${WRKSRC}/build/$f ${PREFIX}/bin/mu_$f ; >-.endfor >- > .if ${ARCH} == "sparc64" > BROKEN= Does not install on sparc64 > .endif > >+post-patch: >+ @${REINPLACE_CMD} 's/LAGS :=/LAGS +=/g' ${WRKSRC}/Makerules >+ @${REINPLACE_CMD} 's/Linux/FreeBSD/g' ${WRKSRC}/Makerules >+ > .include <bsd.port.mk> >diff -ruN --exclude=CVS /usr/ports/graphics/mupdf.orig/distinfo /usr/ports/graphics/mupdf/distinfo >--- /usr/ports/graphics/mupdf.orig/distinfo 2010-04-27 21:06:53.000000000 +0200 >+++ /usr/ports/graphics/mupdf/distinfo 2010-07-07 14:15:39.000000000 +0200 >@@ -1,3 +1,3 @@ >-MD5 (mupdf-r940.tar.gz) = 30463110385d5279b0ba1b5d1907908b >-SHA256 (mupdf-r940.tar.gz) = ed00e461f3ad03ee9d7634abdd183f843e41367b6326809255a4b216f452c9bf >-SIZE (mupdf-r940.tar.gz) = 3611853 >+MD5 (mupdf-r1309.tar.gz) = 047f1fb75d2f37837b63f2b064fa5e1c >+SHA256 (mupdf-r1309.tar.gz) = 222f2b26c6b63561f48f1d2a6c13763a4474a862d69cdd903daa959b249fcb78 >+SIZE (mupdf-r1309.tar.gz) = 3607227 >diff -ruN --exclude=CVS /usr/ports/graphics/mupdf.orig/files/patch-Jamrules /usr/ports/graphics/mupdf/files/patch-Jamrules >--- /usr/ports/graphics/mupdf.orig/files/patch-Jamrules 2010-01-12 02:23:27.000000000 +0100 >+++ /usr/ports/graphics/mupdf/files/patch-Jamrules 1970-01-01 01:00:00.000000000 +0100 >@@ -1,31 +0,0 @@ >---- Jamrules.orig 2009-12-09 02:59:17.000000000 +0100 >-+++ Jamrules 2010-01-11 21:53:06.000000000 +0100 >-@@ -39,22 +39,22 @@ >- OSPLAT ?= x64 ; # this one isn't in the jambase :( >- >- # Place all build products here: >--ALL_LOCATE_TARGET ?= [ FDirName $(TOP) build $(OS:L)-$(OSPLAT:L)-$(BUILD:L) ] ; >-+ALL_LOCATE_TARGET ?= [ FDirName $(TOP) build ] ; >- >- # Add compile time defines for JBIG2 and JPEG2000 support. >- if $(HAVE_JBIG2DEC) { DEFINES += HAVE_JBIG2DEC ; } >- if $(HAVE_OPENJPEG) { DEFINES += HAVE_OPENJPEG ; } >- >--if $(OS) = LINUX >-+if $(OS) = FREEBSD >- { >-- Echo Building for LINUX ; >-+ Echo Building for FREEBSD ; >- >- BUILD_X11APP = true ; >- >-- CCFLAGS = -Wall -std=gnu99 -I/usr/include/freetype2 ; >-- LINKFLAGS = -L/usr/X11R6/lib ; >-+ CCFLAGS = -Wall -std=gnu99 -I$(LOCALBASE)/include/freetype2 -I$(LOCALBASE)/include/ ; >-+ LINKFLAGS = -L$(LOCALBASE)/lib ; >- LINKLIBS = -lfreetype -ljpeg -lz -lm ; >-- APPLINKLIBS = -lX11 -lXext -lpthread ; >-+ APPLINKLIBS = -lX11 -lXext $(PTHREAD_LIBS) ; >- >- if $(BUILD) = debug { OPTIM = -g -O0 -fno-inline ; } >- if $(BUILD) = release { OPTIM = -O3 ; } >diff -ruN --exclude=CVS /usr/ports/graphics/mupdf.orig/pkg-plist /usr/ports/graphics/mupdf/pkg-plist >--- /usr/ports/graphics/mupdf.orig/pkg-plist 2009-11-11 17:38:48.000000000 +0100 >+++ /usr/ports/graphics/mupdf/pkg-plist 2010-07-07 15:54:10.000000000 +0200 >@@ -1,8 +1,12 @@ > bin/mupdf >-bin/mu_pdfshow >-bin/mu_pdfdraw >-bin/mu_pdfinfo >-bin/mu_cmapdump >-bin/mu_pdfextract >-bin/mu_pdfclean >-bin/mu_fontdump >+bin/pdfclean >+bin/pdfdraw >+bin/pdfextract >+bin/pdfinfo >+bin/pdfshow >+include/fitz.h >+include/fitz_base.h >+include/fitz_draw.h >+include/fitz_stream.h >+include/mupdf.h >+lib/libmupdf.a
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 148423
: 107618