Bug 171795 - [PATCH] graphics/mupdf: update to 1.1,1
Summary: [PATCH] graphics/mupdf: update to 1.1,1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ruslan Makhmatkhanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-20 00:00 UTC by martin.dieringer
Modified: 2012-09-20 12:10 UTC (History)
1 user (show)

See Also:


Attachments
mupdf-1.1,1.patch (1.96 KB, patch)
2012-09-20 00:00 UTC, martin.dieringer
no flags Details | Diff
mupdf-1.1-1.patch (1.71 KB, patch)
2012-09-20 04:59 UTC, lichray
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description martin.dieringer 2012-09-20 00:00:27 UTC
- Update to 1.1,1
- use BSD_INSTALL_DATA for static lib to keep symbols

Port maintainer (lichray@gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-20 00:00:35 UTC
Maintainer of graphics/mupdf,

Please note that PR ports/171795 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/171795

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-20 00:00:37 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 lichray 2012-09-20 04:59:51 UTC
The patch is correct, but I don't know how to patch it :(
I copied it and generated a new one with svn. Please commit. Thanks.

-- 
Zhihao Yuan, nickname lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://4bsd.biz/
Comment 4 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2012-09-20 11:09:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rm

I will take it.
Comment 5 dfilter service freebsd_committer freebsd_triage 2012-09-20 12:07:11 UTC
Author: rm
Date: Thu Sep 20 11:06:56 2012
New Revision: 304575
URL: http://svn.freebsd.org/changeset/ports/304575

Log:
  - update to 1.1
  - use BSD_INSTALL_DATA for static lib to keep symbols
  
  while here:
  - convert Makefile header into two-line format
  - remove LICENSE_FILE, unneeded for GPLv3
  - switch to USE_PKGCONFIG
  - remove quotes from option description
  - change bsd.port.[pre|post].mk with just bsd.port.mk
  - whitespace fixes in pkg-descr
  
  PR:		171795
  Submitted by:	Martin Dieringer <martin.dieringer at gmx dot de>
  Approved by:	Zhihao Yuan <lichray at gmail dot com> (maintainer)

Modified:
  head/graphics/mupdf/Makefile
  head/graphics/mupdf/distinfo
  head/graphics/mupdf/pkg-descr
  head/graphics/mupdf/pkg-plist

Modified: head/graphics/mupdf/Makefile
==============================================================================
--- head/graphics/mupdf/Makefile	Thu Sep 20 10:15:34 2012	(r304574)
+++ head/graphics/mupdf/Makefile	Thu Sep 20 11:06:56 2012	(r304575)
@@ -1,11 +1,8 @@
-# New ports collection makefile for:	mupdf
-# Date created:		2009-08-07
-# Whom:			Martin Dieringer <martin.dieringer@gmx.de>
-#
+# Created by: Martin Dieringer <martin.dieringer@gmx.de>
 # $FreeBSD$
 
 PORTNAME=	mupdf
-PORTVERSION=	1.0
+PORTVERSION=	1.1
 PORTEPOCH=	1
 CATEGORIES=	graphics
 MASTER_SITES=	GOOGLE_CODE \
@@ -16,7 +13,6 @@ MAINTAINER=	lichray@gmail.com
 COMMENT=	Lightweight PDF viewer and toolkit
 
 LICENSE=	GPLv3
-LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	freetype:${PORTSDIR}/print/freetype2 \
 		jpeg:${PORTSDIR}/graphics/jpeg \
@@ -26,8 +22,8 @@ LIB_DEPENDS=	freetype:${PORTSDIR}/print/
 USE_GMAKE=	yes
 MAKE_ARGS+=	build=release prefix=${PREFIX} verbose=1 mandir=${PREFIX}/man
 USE_XORG=	x11 xext
-USE_GNOME=	pkgconfig
-MAN1=		mupdf.1 mupdfclean.1 mudraw.1 mupdfshow.1
+USE_PKGCONFIG=	build
+MAN1=		mupdf.1 mubusy.1 mudraw.1
 
 MAKE_JOBS_SAFE=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-source
@@ -35,7 +31,7 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVER
 OPTIONS_DEFINE=	SCROLL
 OPTIONS_DEFAULT=SCROLL
 
-SCROLL_DESC=	"Build with scroll hacks"
+SCROLL_DESC=	Build with scroll hacks
 
 .include <bsd.port.options.mk>
 
@@ -53,7 +49,7 @@ post-patch:	.SILENT
 	${REINPLACE_CMD} \
 		-e '/install:/,/^$$/ { /-d/d; }' \
 		-e '/install.*bindir)$$/s/install/$$(BSD_INSTALL_PROGRAM)/' \
-		-e '/install.*libdir)$$/s/install/$$(BSD_INSTALL_LIB)/' \
+		-e '/install.*libdir)$$/s/install/$$(BSD_INSTALL_DATA)/' \
 		-e '/install.*incdir)$$/s/install/$$(BSD_INSTALL_DATA)/' \
 		-e '/install.*man1$$/s/install/$$(BSD_INSTALL_MAN)/' \
 		${WRKSRC}/Makefile
@@ -61,5 +57,4 @@ post-patch:	.SILENT
 		-e 's|/usr/local|${LOCALBASE}|' \
 		${WRKSRC}/Makerules
 
-.include <bsd.port.pre.mk>
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/graphics/mupdf/distinfo
==============================================================================
--- head/graphics/mupdf/distinfo	Thu Sep 20 10:15:34 2012	(r304574)
+++ head/graphics/mupdf/distinfo	Thu Sep 20 11:06:56 2012	(r304575)
@@ -1,2 +1,2 @@
-SHA256 (mupdf-1.0-source.tar.gz) = 4f5e12625f7f827f6eb5606026c9a7a7dbdeaf935fcea3bc173ed8d469698ec2
-SIZE (mupdf-1.0-source.tar.gz) = 4208530
+SHA256 (mupdf-1.1-source.tar.gz) = e54666bbe1d9f0a5464349bfbeffcf676c4a0fcad3efb89eba1f20d4ac991f34
+SIZE (mupdf-1.1-source.tar.gz) = 4281735

Modified: head/graphics/mupdf/pkg-descr
==============================================================================
--- head/graphics/mupdf/pkg-descr	Thu Sep 20 10:15:34 2012	(r304574)
+++ head/graphics/mupdf/pkg-descr	Thu Sep 20 11:06:56 2012	(r304575)
@@ -1,13 +1,13 @@
-MuPDF is a lightweight PDF viewer and toolkit written in portable C. 
+MuPDF is a lightweight PDF viewer and toolkit written in portable C.
 
 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. 
+screen.
 
 MuPDF has a small footprint. A binary that includes the standard Roman fonts
 is only one megabyte. A build with full CJK support (including an Asian
-font) is approximately five megabytes. 
+font) is approximately five megabytes.
 
 MuPDF has support for all non-interactive PDF 1.7 features, and the toolkit
 provides a simple API for accessing the internal structures of the PDF

Modified: head/graphics/mupdf/pkg-plist
==============================================================================
--- head/graphics/mupdf/pkg-plist	Thu Sep 20 10:15:34 2012	(r304574)
+++ head/graphics/mupdf/pkg-plist	Thu Sep 20 11:06:56 2012	(r304575)
@@ -1,9 +1,6 @@
+bin/mubusy
 bin/mupdf
-bin/mupdfclean
 bin/mudraw
-bin/mupdfextract
-bin/mupdfinfo
-bin/mupdfshow
 include/fitz.h
 include/memento.h
 include/mucbz.h
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 6 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2012-09-20 12:09:48 UTC
State Changed
From-To: feedback->closed

Committed, thank you!