Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2008 06:16:02 GMT
From:      Wen Heping <wenheping@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/129012: [Update]print/libharu:update to 2.1.0
Message-ID:  <200811200616.mAK6G2tJ026443@www.freebsd.org>
Resent-Message-ID: <200811200620.mAK6K1wk089897@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         129012
>Category:       ports
>Synopsis:       [Update]print/libharu:update to 2.1.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 20 06:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Wen Heping
>Release:        FreeBSD-8.0 Current
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Sep 21 18:56:51 HKT 2008     root@fb8.wenjing.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
update to 2.1.0 from 2.0.8
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -curN libharu/Makefile libharu.new/Makefile
--- libharu/Makefile	2007-06-27 09:37:38.000000000 +0800
+++ libharu.new/Makefile	2008-11-20 20:05:29.000000000 +0800
@@ -7,11 +7,9 @@
 #
 
 PORTNAME=	libharu
-PORTVERSION=	2.0.8
+PORTVERSION=	2.1.0
 CATEGORIES=	print
-MASTER_SITES=	SF
-DISTNAME=	${PORTNAME}_${PORTVERSION:S/./_/g}
-EXTRACT_SUFX=	.tgz
+MASTER_SITES=	http://libharu.org/files/
 
 MAINTAINER=	ijliao@FreeBSD.org
 COMMENT=	Haru Free PDF Library
@@ -19,20 +17,10 @@
 LIB_DEPENDS=	png:${PORTSDIR}/graphics/png
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-HAS_CONFIGURE=	yes
-CONFIGURE_ARGS=	--shared \
-		--prefix=${PREFIX} \
-		--cflags="${CFLAGS}"
+GNU_CONFIGURE=	yes
 CFLAGS+=	-I${LOCALBASE}/include
 USE_LDCONFIG=	yes
 
-PLIST_FILES=	include/hpdf.h \
-		include/hpdf_consts.h \
-		include/hpdf_types.h \
-		lib/libhpdf.so \
-		lib/libhpdf.so.1 \
-		lib/libhpdf.so.1.0.0
-
 .if !defined(NOPORTDOCS)
 PORTDOCS=	*
 
diff -curN libharu/distinfo libharu.new/distinfo
--- libharu/distinfo	2007-06-15 23:18:00.000000000 +0800
+++ libharu.new/distinfo	2008-11-20 20:05:29.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (libharu_2_0_8.tgz) = 4b9714fd89b4134b0b9c93f857add327
-SHA256 (libharu_2_0_8.tgz) = 825a18796868fecef150339a731bab7ba3ce393acba41834a7384da93a5eb7e1
-SIZE (libharu_2_0_8.tgz) = 1572158
+MD5 (libharu-2.1.0.tar.gz) = 0623b8fb08ae1b28af08b2cdbd66b662
+SHA256 (libharu-2.1.0.tar.gz) = 3c1f22ca55af6714b072866e212b38b082004783df7ce6ef61bb337c29101b09
+SIZE (libharu-2.1.0.tar.gz) = 2050828
diff -curN libharu/files/patch-configure libharu.new/files/patch-configure
--- libharu/files/patch-configure	2007-06-15 23:18:00.000000000 +0800
+++ libharu.new/files/patch-configure	1970-01-01 08:00:00.000000000 +0800
@@ -1,11 +0,0 @@
---- configure.orig	Fri Jun 15 22:47:35 2007
-+++ configure	Fri Jun 15 22:48:13 2007
-@@ -24,7 +24,7 @@
- CFLAGS_EXE='-o '
- CFLAGS_USER=
- 
--LDFLAGS='-L.'
-+LDFLAGS='-L. -L${PREFIX}/lib'
- LDFLAGS_DEMO='-L.'
- LDFLAGS_ADD=''
- 
diff -curN libharu/pkg-plist libharu.new/pkg-plist
--- libharu/pkg-plist	1970-01-01 08:00:00.000000000 +0800
+++ libharu.new/pkg-plist	2008-11-20 20:11:49.000000000 +0800
@@ -0,0 +1,35 @@
+include/hpdf.h
+include/hpdf_annotation.h
+include/hpdf_catalog.h
+include/hpdf_conf.h
+include/hpdf_config.h
+include/hpdf_consts.h
+include/hpdf_destination.h
+include/hpdf_doc.h
+include/hpdf_encoder.h
+include/hpdf_encrypt.h
+include/hpdf_encryptdict.h
+include/hpdf_error.h
+include/hpdf_ext_gstate.h
+include/hpdf_font.h
+include/hpdf_fontdef.h
+include/hpdf_gstate.h
+include/hpdf_image.h
+include/hpdf_info.h
+include/hpdf_list.h
+include/hpdf_mmgr.h
+include/hpdf_objects.h
+include/hpdf_outline.h
+include/hpdf_page_label.h
+include/hpdf_pages.h
+include/hpdf_streams.h
+include/hpdf_types.h
+include/hpdf_u3d.h
+include/hpdf_utils.h
+include/hpdf_version.h
+lib/libhpdf.so
+lib/libhpdf-2.1.0.so
+lib/libhpdf.la
+lib/libhpdf.a
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811200616.mAK6G2tJ026443>