Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2012 12:31:00 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304775 - in head/devel/gdcm: . files
Message-ID:  <201209241231.q8OCV0mN018159@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Mon Sep 24 12:30:59 2012
New Revision: 304775
URL: http://svn.freebsd.org/changeset/ports/304775

Log:
  - Update to 2.2.1
    Release notes:
    http://sf.net/apps/mediawiki/gdcm/index.php?title=GDCM_Release_2.2.1

Added:
  head/devel/gdcm/files/patch-Source-InformationObjectDefinition_CMakeLists.txt   (contents, props changed)
Modified:
  head/devel/gdcm/Makefile   (contents, props changed)
  head/devel/gdcm/distinfo   (contents, props changed)
  head/devel/gdcm/files/patch-Utilities-gdcmjpeg_CMakeLists.txt   (contents, props changed)
  head/devel/gdcm/pkg-plist   (contents, props changed)

Modified: head/devel/gdcm/Makefile
==============================================================================
--- head/devel/gdcm/Makefile	Mon Sep 24 11:43:45 2012	(r304774)
+++ head/devel/gdcm/Makefile	Mon Sep 24 12:30:59 2012	(r304775)
@@ -1,12 +1,8 @@
-# New ports collection Makefile for:	gdcm
-# Date created:				24 February 2010
-# Whom:					gahr
-#
+# Created by: Pietro Cerutti <gahr@FreeBSD.org>
 # $FreeBSD$
 
 PORTNAME=	gdcm
 PORTVERSION=	${GDCM_MAJ}.${GDCM_MIN}
-PORTREVISION=	4
 CATEGORIES=	devel
 MASTER_SITES=	SF/gdcm/gdcm%202.x/GDCM%20${PORTVERSION}
 
@@ -16,7 +12,8 @@ COMMENT=	Grassroots DICOM library
 LIB_DEPENDS=	openjpeg.2:${PORTSDIR}/graphics/openjpeg \
    		expat.6:${PORTSDIR}/textproc/expat2
 
-OPTIONS=	VTK "Build the VTK bindings" off
+OPTIONS_DEFINE=	VTK
+VTK_DESC=	Build with VTK bindings
 
 USE_BZIP2=	yes
 USE_CMAKE=	yes
@@ -37,7 +34,7 @@ CMAKE_ARGS+=	-DGDCM_PDF_DOCUMENTATION:BO
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_VTK)
+.if ${PORT_OPTIONS:MVTK}
 LIB_DEPENDS+=	vtkHybrid.5:${PORTSDIR}/math/vtk5
 CMAKE_ARGS+=	-DGDCM_USE_VTK:BOOL=YES
 PLIST_SUB+=	VTK=""
@@ -47,7 +44,7 @@ PLIST_SUB+=	VTK="@comment "
 
 GDCM_SO=	2
 GDCM_MAJ=	2.2
-GDCM_MIN=	0
+GDCM_MIN=	1
 
 PLIST_SUB+=	GDCM_MAJ="${GDCM_MAJ}" \
 		GDCM_MIN="${GDCM_MIN}" \
@@ -55,17 +52,16 @@ PLIST_SUB+=	GDCM_MAJ="${GDCM_MAJ}" \
 
 .if !defined(NOPORTDOCS)
 BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen \
+    		pdfopt:${PORTSDIR}/print/ghostscript9 \
    		pdflatex:${PORTSDIR}/print/teTeX-base
 CMAKE_ARGS+=	-DGDCM_DOCUMENTATION:BOOL=YES \
-		-DGDCM_INSTALL_MAN_DIR:STRING=${MAN1PREFIX}/man
+		-DGDCM_INSTALL_MAN_DIR:STRING=${MAN1PREFIX}/man \
+		-DGDCM_INSTALL_DOC_DIR:STRING=${DOCSDIR}
 MAN1=		gdcm2vtk.1 gdcmconv.1 gdcmanon.1 gdcmgendir.1 \
 		gdcmdump.1 gdcmimg.1 gdcminfo.1 gdcmpdf.1 \
 		gdcmraw.1 gdcmscanner.1 gdcmtar.1 gdcmviewer.1 \
 		gdcm2pnm.1 gdcmdiff.1 gdcmscu.1
 PORTDOCS=	*
-post-install:
-	${MKDIR} ${DOCSDIR}
-	cd ${INSTALL_WRKSRC}/Utilities/doxygen/html && ${COPYTREE_SHARE} \* ${DOCSDIR}
 .else
 CMAKE_ARGS+=	-DGDCM_DOCUMENTATION:BOOL=NO
 .endif

Modified: head/devel/gdcm/distinfo
==============================================================================
--- head/devel/gdcm/distinfo	Mon Sep 24 11:43:45 2012	(r304774)
+++ head/devel/gdcm/distinfo	Mon Sep 24 12:30:59 2012	(r304775)
@@ -1,2 +1,2 @@
-SHA256 (gdcm-2.2.0.tar.bz2) = 2e095e5236047d6792ee05c489aa16ac8190783cb2eba9c14cdb4d81be2ddc1f
-SIZE (gdcm-2.2.0.tar.bz2) = 4242891
+SHA256 (gdcm-2.2.1.tar.bz2) = 1a6e40b6652c658cccbaaf50c21bd9312efa99c73e612931f215d7f6bd8926ed
+SIZE (gdcm-2.2.1.tar.bz2) = 4234346

Added: head/devel/gdcm/files/patch-Source-InformationObjectDefinition_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/gdcm/files/patch-Source-InformationObjectDefinition_CMakeLists.txt	Mon Sep 24 12:30:59 2012	(r304775)
@@ -0,0 +1,10 @@
+--- Source/InformationObjectDefinition/CMakeLists.txt.orig	2012-09-21 12:05:25.000000000 +0200
++++ Source/InformationObjectDefinition/CMakeLists.txt	2012-09-21 12:05:39.000000000 +0200
+@@ -37,6 +37,7 @@
+   "${GDCM_SOURCE_DIR}/Source/DataStructureAndEncodingDefinition"
+   "${GDCM_SOURCE_DIR}/Source/DataDictionary"
+   "${GDCM_SOURCE_DIR}/Utilities"
++  "${EXPAT_INCLUDE_DIR}"
+   )
+ 
+ ADD_LIBRARY(gdcmIOD ${IOD_SRCS})

Modified: head/devel/gdcm/files/patch-Utilities-gdcmjpeg_CMakeLists.txt
==============================================================================
--- head/devel/gdcm/files/patch-Utilities-gdcmjpeg_CMakeLists.txt	Mon Sep 24 11:43:45 2012	(r304774)
+++ head/devel/gdcm/files/patch-Utilities-gdcmjpeg_CMakeLists.txt	Mon Sep 24 12:30:59 2012	(r304775)
@@ -1,10 +1,10 @@
---- Utilities/gdcmjpeg/CMakeLists.txt.orig	2012-01-02 13:53:03.000000000 +0100
-+++ Utilities/gdcmjpeg/CMakeLists.txt	2012-01-02 13:53:23.000000000 +0100
-@@ -19,7 +19,7 @@
- 
+--- Utilities/gdcmjpeg/CMakeLists.txt.orig	2012-09-19 15:48:46.000000000 +0200
++++ Utilities/gdcmjpeg/CMakeLists.txt	2012-09-19 15:49:31.000000000 +0200
+@@ -23,7 +23,7 @@
+ ENDIF(NOT DEFINED JPEG_API_VERSION)
  SET(JPEG_LIBRARY_PROPERTIES ${JPEG_LIBRARY_PROPERTIES}
    VERSION "${GDCM_VERSION}"
--  SOVERSION "${GDCM_MAJOR_VERSION}.${GDCM_MINOR_VERSION}"
+-  SOVERSION "${JPEG_API_VERSION}"
 +  SOVERSION "${GDCM_MAJOR_VERSION}"
  )
  

Modified: head/devel/gdcm/pkg-plist
==============================================================================
--- head/devel/gdcm/pkg-plist	Mon Sep 24 11:43:45 2012	(r304774)
+++ head/devel/gdcm/pkg-plist	Mon Sep 24 12:30:59 2012	(r304775)
@@ -36,6 +36,7 @@ include/gdcm-%%GDCM_MAJ%%/gdcmBaseRootQu
 include/gdcm-%%GDCM_MAJ%%/gdcmBasicOffsetTable.h
 include/gdcm-%%GDCM_MAJ%%/gdcmBitmap.h
 include/gdcm-%%GDCM_MAJ%%/gdcmBitmapToBitmapFilter.h
+include/gdcm-%%GDCM_MAJ%%/gdcmBoxRegion.h
 include/gdcm-%%GDCM_MAJ%%/gdcmByteBuffer.h
 include/gdcm-%%GDCM_MAJ%%/gdcmByteSwap.h
 include/gdcm-%%GDCM_MAJ%%/gdcmByteSwap.txx
@@ -127,6 +128,7 @@ include/gdcm-%%GDCM_MAJ%%/gdcmImageConve
 include/gdcm-%%GDCM_MAJ%%/gdcmImageFragmentSplitter.h
 include/gdcm-%%GDCM_MAJ%%/gdcmImageHelper.h
 include/gdcm-%%GDCM_MAJ%%/gdcmImageReader.h
+include/gdcm-%%GDCM_MAJ%%/gdcmImageRegionReader.h
 include/gdcm-%%GDCM_MAJ%%/gdcmImageToImageFilter.h
 include/gdcm-%%GDCM_MAJ%%/gdcmImageWriter.h
 include/gdcm-%%GDCM_MAJ%%/gdcmImplementationClassUIDSub.h
@@ -169,6 +171,7 @@ include/gdcm-%%GDCM_MAJ%%/gdcmPDBHeader.
 include/gdcm-%%GDCM_MAJ%%/gdcmPDFCodec.h
 include/gdcm-%%GDCM_MAJ%%/gdcmPDUFactory.h
 include/gdcm-%%GDCM_MAJ%%/gdcmPDataTFPDU.h
+include/gdcm-%%GDCM_MAJ%%/gdcmPGXCodec.h
 include/gdcm-%%GDCM_MAJ%%/gdcmPNMCodec.h
 include/gdcm-%%GDCM_MAJ%%/gdcmPVRGCodec.h
 include/gdcm-%%GDCM_MAJ%%/gdcmParseException.h
@@ -199,8 +202,11 @@ include/gdcm-%%GDCM_MAJ%%/gdcmQueryStudy
 include/gdcm-%%GDCM_MAJ%%/gdcmRAWCodec.h
 include/gdcm-%%GDCM_MAJ%%/gdcmRLECodec.h
 include/gdcm-%%GDCM_MAJ%%/gdcmReader.h
+include/gdcm-%%GDCM_MAJ%%/gdcmRegion.h
 include/gdcm-%%GDCM_MAJ%%/gdcmRescaler.h
+include/gdcm-%%GDCM_MAJ%%/gdcmRoleSelectionSub.h
 include/gdcm-%%GDCM_MAJ%%/gdcmSHA1.h
+include/gdcm-%%GDCM_MAJ%%/gdcmSOPClassExtendedNegociationSub.h
 include/gdcm-%%GDCM_MAJ%%/gdcmSOPClassUIDToIOD.h
 include/gdcm-%%GDCM_MAJ%%/gdcmScanner.h
 include/gdcm-%%GDCM_MAJ%%/gdcmSegment.h
@@ -374,8 +380,8 @@ lib/libsocketxx.so.1.2
 lib/libsocketxx.so
 lib/gdcm-%%GDCM_MAJ%%/GDCMConfig.cmake
 lib/gdcm-%%GDCM_MAJ%%/GDCMConfigVersion.cmake
-lib/gdcm-%%GDCM_MAJ%%/GDCMTargets-release.cmake
 lib/gdcm-%%GDCM_MAJ%%/GDCMTargets.cmake
+lib/gdcm-%%GDCM_MAJ%%/GDCMTargets-release.cmake
 lib/gdcm-%%GDCM_MAJ%%/UseGDCM.cmake
 lib/libgdcmCommon.so
 lib/libgdcmCommon.so.%%GDCM_SO%%



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