Bug 187897

Summary: devel/opencl: Khronos Group released OpenCL 2.0 specification header files
Product: Ports & Packages Reporter: O. Hartmann <ohartmann>
Component: Individual Port(s)Assignee: Pawel Pekala <pawel>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description O. Hartmann 2014-03-24 07:20:00 UTC
The Khronos Group has released the OpenCL 2.0 specifications and according to that the new header files.

Changes to the port attached.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-24 07:20:05 UTC
Class Changed
From-To: change-request->maintainer-update

Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool)
Comment 2 Pawel Pekala freebsd_committer freebsd_triage 2014-03-26 19:43:50 UTC
State Changed
From-To: open->feedback

Fetch problems: 

===>   opencl-2.0 depends on file: /usr/local/sbin/pkg - found => cl.h 
doesn't seem to exist in /usr/ports/distfiles/opencl.  => Attempting to 
fetch http://www.khronos.org/registry/cl/api/2.0/cl.h fetch: 
http://www.khronos.org/registry/cl/api/2.0/cl.h: size mismatch: expected 
70744, actual 70803 => Attempting to fetch 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/opencl/cl.h fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/opencl/cl.h: size 
mismatch: expected 70744, actual 63158 => Couldn't fetch it - please try 
to retrieve this => port manually into /usr/ports/distfiles/opencl and 
try again.  *** Error code 1 

o%DATADIR%%/lib/cql-internal-only-1.4.1.zip
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2014-03-27 19:34:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-03-27 19:47:39 UTC
Author: pawel
Date: Thu Mar 27 19:47:34 2014
New Revision: 349355
URL: http://svnweb.freebsd.org/changeset/ports/349355
QAT: https://qat.redports.org/buildarchive/r349355/

Log:
  Update to OpenCL 2.0 specification
  
  PR:		ports/187897
  Submitted by:	maintainer

Deleted:
  head/devel/opencl/files/
Modified:
  head/devel/opencl/Makefile
  head/devel/opencl/distinfo
  head/devel/opencl/pkg-descr
  head/devel/opencl/pkg-message

Modified: head/devel/opencl/Makefile
==============================================================================
--- head/devel/opencl/Makefile	Thu Mar 27 19:19:01 2014	(r349354)
+++ head/devel/opencl/Makefile	Thu Mar 27 19:47:34 2014	(r349355)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	opencl
-PORTVERSION=	1.2
-PORTREVISION=	7
+PORTVERSION=	2.0
 CATEGORIES=	devel
 MASTER_SITES=	http://www.khronos.org/registry/cl/api/${PORTVERSION}/
 DISTFILES=	opencl.h cl_platform.h cl.h cl_ext.h cl_dx9_media_sharing.h \
@@ -12,7 +11,7 @@ DIST_SUBDIR=	${PORTNAME}
 EXTRACT_ONLY=
 
 MAINTAINER=	ohartman@zedat.fu-berlin.de
-COMMENT=	Open Computing Language (OpenCL) specifications V1.2 (header files)
+COMMENT=	Open Computing Language (OpenCL) specifications V2.0 (header files)
 
 LICENSE=	unknown
 LICENSE_NAME=	BSD-esque license agreement

Modified: head/devel/opencl/distinfo
==============================================================================
--- head/devel/opencl/distinfo	Thu Mar 27 19:19:01 2014	(r349354)
+++ head/devel/opencl/distinfo	Thu Mar 27 19:47:34 2014	(r349355)
@@ -1,20 +1,20 @@
-SHA256 (opencl/opencl.h) = be1bf717e103678292d6718b3608c9e54a48588c02d3d387a48656fac46ec8d9
+SHA256 (opencl/opencl.h) = fceb7e76d81159caab6308a05ff05d18fbd84718eff4263473ecd148c458987c
 SIZE (opencl/opencl.h) = 1754
-SHA256 (opencl/cl_platform.h) = e212b89bba54f7a4e090a2b2f58f779241ffb3b45b870eee790689fc2ca0e0ae
-SIZE (opencl/cl_platform.h) = 41127
-SHA256 (opencl/cl.h) = a5465c2ed1a0687878c8f7aa25f94626d7cd3a3868163ecaa6e8b36d6ed52368
-SIZE (opencl/cl.h) = 61545
-SHA256 (opencl/cl_ext.h) = ab8dcf1e04ac63cc5a68fdfb4787a44a25a9c0c129ed7eda046e7911af3d4ebd
-SIZE (opencl/cl_ext.h) = 13766
-SHA256 (opencl/cl_dx9_media_sharing.h) = 26fb40bac8e229747bdc27b350b836e3703c1e946cb40893f4c8ab2289203920
-SIZE (opencl/cl_dx9_media_sharing.h) = 5157
-SHA256 (opencl/cl_d3d10.h) = c7adb38a19663ee240977afc64903f4638d9c5c03ca478793c9f7a15c1c6ac2b
-SIZE (opencl/cl_d3d10.h) = 4859
-SHA256 (opencl/cl_d3d11.h) = 8ade5d641e1acd12fa37bac36abf41f24985f4e38ceb32da9c01cc0e4fc3742f
-SIZE (opencl/cl_d3d11.h) = 4853
-SHA256 (opencl/cl_gl.h) = aa49d380177ac538b8ab00196381301fac6178e5b931398e3da43067ac3c33c4
-SIZE (opencl/cl_gl.h) = 7343
-SHA256 (opencl/cl_gl_ext.h) = 4d663bbfc932ab405623e5f5d1bba3f438351d0ead65e1ccdd9bb769caf7a7d0
+SHA256 (opencl/cl_platform.h) = 042877b8091bfeeb489018505ce36c37cd3295e691856461b1c0a8fbb6b2cc21
+SIZE (opencl/cl_platform.h) = 42192
+SHA256 (opencl/cl.h) = 5c39e93d4492cd3005ae806a91b7dd3cad28f4e69036208be21e37f8a4395717
+SIZE (opencl/cl.h) = 70803
+SHA256 (opencl/cl_ext.h) = be1ff04c63b678383828ab1e69ecf3bec54eec4cf4ae33e210b4a16eff47d809
+SIZE (opencl/cl_ext.h) = 14002
+SHA256 (opencl/cl_dx9_media_sharing.h) = 41968538b82523ef8fb642a1a4da20a6262ce0448f71541db080f8ccc03971b6
+SIZE (opencl/cl_dx9_media_sharing.h) = 5181
+SHA256 (opencl/cl_d3d10.h) = 14b00ef68a2d7f471c7ef5b4576bc103888da70fc525b263b49ff7fff150e188
+SIZE (opencl/cl_d3d10.h) = 4883
+SHA256 (opencl/cl_d3d11.h) = 707709a73b6b43b96c55e813efb2d655efcc82eb103da4b8aea191231df7e1fd
+SIZE (opencl/cl_d3d11.h) = 4877
+SHA256 (opencl/cl_gl.h) = 40375d991f4e847c94ad56c6c14400e3e7d72620117b49636518a96d57f30647
+SIZE (opencl/cl_gl.h) = 7346
+SHA256 (opencl/cl_gl_ext.h) = dccb3b45e53bfe0219bb48e6dbe9591bbe6a090a8b0d93a3b8580f526abc4616
 SIZE (opencl/cl_gl_ext.h) = 2630
-SHA256 (opencl/cl.hpp) = a726d674bfa4ee7f71d1287d86afa15db2e360518fd58594257a80f25642d6b4
-SIZE (opencl/cl.hpp) = 281446
+SHA256 (opencl/cl.hpp) = eeacf0fefc51d618dda67d52e2bbff7dc9a67e90bc38166b3fad26d44800013a
+SIZE (opencl/cl.hpp) = 915453

Modified: head/devel/opencl/pkg-descr
==============================================================================
--- head/devel/opencl/pkg-descr	Thu Mar 27 19:19:01 2014	(r349354)
+++ head/devel/opencl/pkg-descr	Thu Mar 27 19:47:34 2014	(r349355)
@@ -3,6 +3,4 @@ for general purpose parallel programming
 other processors, giving software developers portable and efficient 
 access to the power of these heterogeneous processing platforms. 
 
-This is OpenCL 1.2
-
-WWW: http://www.khronos.org/opencl/
+This is OpenCL 2.0

Modified: head/devel/opencl/pkg-message
==============================================================================
--- head/devel/opencl/pkg-message	Thu Mar 27 19:19:01 2014	(r349354)
+++ head/devel/opencl/pkg-message	Thu Mar 27 19:47:34 2014	(r349355)
@@ -1,4 +1,2 @@
 OpenCL is the first open, royalty-free standard for cross-platform, 
 parallel programming of modern processors.
-
-Patchset provided by POCL developers for cl.hpp applied.
_______________________________________________
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 5 Pawel Pekala freebsd_committer freebsd_triage 2014-03-27 19:47:55 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!