Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2013 00:19:02 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329949 - in head/graphics/openjpeg: . files
Message-ID:  <201310100019.r9A0J2ns028650@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Thu Oct 10 00:19:01 2013
New Revision: 329949
URL: http://svnweb.freebsd.org/changeset/ports/329949

Log:
  - Convert to staging
  - Convert LIB_DEPENDS to new format
  - Use DOS2UNIX and regenerate patch without DOS style newlines

Modified:
  head/graphics/openjpeg/Makefile
  head/graphics/openjpeg/files/patch-opj_malloc.h   (contents, props changed)
  head/graphics/openjpeg/pkg-plist   (contents, props changed)

Modified: head/graphics/openjpeg/Makefile
==============================================================================
--- head/graphics/openjpeg/Makefile	Thu Oct 10 00:17:27 2013	(r329948)
+++ head/graphics/openjpeg/Makefile	Thu Oct 10 00:19:01 2013	(r329949)
@@ -13,16 +13,13 @@ COMMENT=	Open-source JPEG 2000 codec
 LICENSE=	BSD
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-LIB_DEPENDS=	tiff:${PORTSDIR}/graphics/tiff \
-		png15:${PORTSDIR}/graphics/png \
-		lcms2:${PORTSDIR}/graphics/lcms2
+LIB_DEPENDS=	libtiff.so:${PORTSDIR}/graphics/tiff \
+		libpng15.so:${PORTSDIR}/graphics/png \
+		liblcms2.so:${PORTSDIR}/graphics/lcms2
 
+USE_DOS2UNIX=	opj_malloc.h
 GNU_CONFIGURE=	yes
 USES=		cmake
 USE_LDCONFIG=	yes
 
-MAN1=		image_to_j2k.1 j2k_dump.1 j2k_to_image.1
-MAN3=		libopenjpeg.3
-
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/graphics/openjpeg/files/patch-opj_malloc.h
==============================================================================
--- head/graphics/openjpeg/files/patch-opj_malloc.h	Thu Oct 10 00:17:27 2013	(r329948)
+++ head/graphics/openjpeg/files/patch-opj_malloc.h	Thu Oct 10 00:19:01 2013	(r329949)
@@ -1,12 +1,12 @@
---- libopenjpeg/opj_malloc.h.orig	2012-02-07 11:49:55.000000000 +0100
-+++ libopenjpeg/opj_malloc.h	2012-06-02 11:25:56.000000000 +0200
+--- libopenjpeg/opj_malloc.h.orig	2013-10-08 17:19:09.755013928 +0200
++++ libopenjpeg/opj_malloc.h	2013-10-08 17:20:11.403012744 +0200
 @@ -85,8 +85,7 @@
- 		#define HAVE_MEMALIGN
- 	/* Linux x86_64 and OSX always align allocations to 16 bytes */
- 	#elif !defined(__amd64__) && !defined(__APPLE__)	
--		#define HAVE_MEMALIGN
--		#include <malloc.h>			
-+		#include <stdlib.h>			
- 	#endif
- #endif
- 
+ 		#define HAVE_MEMALIGN
+ 	/* Linux x86_64 and OSX always align allocations to 16 bytes */
+ 	#elif !defined(__amd64__) && !defined(__APPLE__)	
+-		#define HAVE_MEMALIGN
+-		#include <malloc.h>			
++		#include <stdlib.h>
+ 	#endif
+ #endif
+ 

Modified: head/graphics/openjpeg/pkg-plist
==============================================================================
--- head/graphics/openjpeg/pkg-plist	Thu Oct 10 00:17:27 2013	(r329948)
+++ head/graphics/openjpeg/pkg-plist	Thu Oct 10 00:19:01 2013	(r329949)
@@ -5,6 +5,10 @@ include/openjpeg.h
 lib/libopenjpeg.so
 lib/libopenjpeg.so.1.5.0
 lib/libopenjpeg.so.2
+man/man1/image_to_j2k.1.gz
+man/man1/j2k_dump.1.gz
+man/man1/j2k_to_image.1.gz
+man/man3/libopenjpeg.3.gz
 %%DOCSDIR%%/CHANGES
 %%DOCSDIR%%/LICENSE
 %%DATADIR%%/OpenJPEGConfig.cmake



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