commit clinfo for openSUSE:Factory

2018-05-03 Thread root
Hello community,

here is the log from the commit of package clinfo for openSUSE:Factory checked 
in at 2018-05-03 12:34:04

Comparing /work/SRC/openSUSE:Factory/clinfo (Old)
 and  /work/SRC/openSUSE:Factory/.clinfo.new (New)


Package is "clinfo"

Thu May  3 12:34:04 2018 rev:9 rq:603206 version:2.2.18.04.06

Changes:

--- /work/SRC/openSUSE:Factory/clinfo/clinfo.changes2017-10-29 
20:25:03.189842488 +0100
+++ /work/SRC/openSUSE:Factory/.clinfo.new/clinfo.changes   2018-05-03 
12:34:06.036607946 +0200
@@ -1,0 +2,7 @@
+Mon Apr 30 20:18:28 UTC 2018 - badshah...@gmail.com
+
+- Update to version 2.2.18.04.06:
+  * No upstream documentation of changes.
+- Use %%license macro to package LICENSE file.
+
+---

Old:

  clinfo-2.2.17.10.25.tar.gz

New:

  clinfo-2.2.18.04.06.tar.gz



Other differences:
--
++ clinfo.spec ++
--- /var/tmp/diff_new_pack.pDFB6V/_old  2018-05-03 12:34:06.572588853 +0200
+++ /var/tmp/diff_new_pack.pDFB6V/_new  2018-05-03 12:34:06.576588710 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package clinfo
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2015, Martin Hauke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
 
 
 Name:   clinfo
-Version:2.2.17.10.25
+Version:2.2.18.04.06
 Release:0
 Summary:Utility that reports status information for all installed 
OpenCL ICDs
 License:SUSE-Public-Domain
@@ -49,7 +49,8 @@
 %make_install
 
 %files
-%doc LICENSE README
+%doc README.md
+%license LICENSE
 %{_bindir}/clinfo
 %{_mandir}/man1/clinfo.1%{ext_man}
 

++ clinfo-2.2.17.10.25.tar.gz -> clinfo-2.2.18.04.06.tar.gz ++
 5076 lines of diff (skipped)




commit clinfo for openSUSE:Factory

2017-10-29 Thread root
Hello community,

here is the log from the commit of package clinfo for openSUSE:Factory checked 
in at 2017-10-29 20:24:48

Comparing /work/SRC/openSUSE:Factory/clinfo (Old)
 and  /work/SRC/openSUSE:Factory/.clinfo.new (New)


Package is "clinfo"

Sun Oct 29 20:24:48 2017 rev:8 rq:537335 version:2.2.17.10.25

Changes:

--- /work/SRC/openSUSE:Factory/clinfo/clinfo.changes2017-10-10 
11:42:44.404121405 +0200
+++ /work/SRC/openSUSE:Factory/.clinfo.new/clinfo.changes   2017-10-29 
20:25:03.189842488 +0100
@@ -0,0 +1,10 @@
+---
+Wed Oct 25 20:11:32 UTC 2017 - mar...@gmx.de
+
+- Update to version 2.2.17.10.25
+  * Warnings as errors
+  * Correctly-rounded div and sqrt is only a flag for fp32
+  * Fix CL_DEVICE_IMAGE_PITCH_ALIGNMENT unit to pixels.
+  * fix manpage target
+- Remove patch:
+  * 0001-fix-manpage-target.patch (fixed upstream)

Old:

  0001-fix-manpage-target.patch
  clinfo-2.2.17.08.25.tar.gz

New:

  clinfo-2.2.17.10.25.tar.gz



Other differences:
--
++ clinfo.spec ++
--- /var/tmp/diff_new_pack.fHUSSk/_old  2017-10-29 20:25:03.709823537 +0100
+++ /var/tmp/diff_new_pack.fHUSSk/_new  2017-10-29 20:25:03.713823392 +0100
@@ -18,15 +18,15 @@
 
 
 Name:   clinfo
-Version:2.2.17.08.25
+Version:2.2.17.10.25
 Release:0
 Summary:Utility that reports status information for all installed 
OpenCL ICDs
 License:SUSE-Public-Domain
 Group:  Productivity/Other
 Url:https://github.com/Oblomov/clinfo/
 Source: 
https://github.com/Oblomov/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
-Patch0: 0001-fix-manpage-target.patch
 BuildRequires:  opencl-headers
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(OpenCL)
 
 %description
@@ -39,7 +39,6 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 export CFLAGS="%{optflags}"
@@ -47,10 +46,9 @@
 
 %install
 export PREFIX="%{buildroot}/%{_prefix}" MANDIR="%{buildroot}/%{_mandir}"
-%makeinstall
+%make_install
 
 %files
-%defattr (-,root,root)
 %doc LICENSE README
 %{_bindir}/clinfo
 %{_mandir}/man1/clinfo.1%{ext_man}

++ clinfo-2.2.17.08.25.tar.gz -> clinfo-2.2.17.10.25.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clinfo-2.2.17.08.25/Makefile 
new/clinfo-2.2.17.10.25/Makefile
--- old/clinfo-2.2.17.08.25/Makefile2017-08-25 12:50:00.0 +0200
+++ new/clinfo-2.2.17.10.25/Makefile2017-10-25 21:50:40.0 +0200
@@ -12,7 +12,7 @@
 
 VPATH = src
 
-CFLAGS += -std=c99 -g -Wall -Wextra -pedantic
+CFLAGS += -std=c99 -g -Wall -Wextra -pedantic -Werror
 
 SPARSE ?= sparse
 SPARSEFLAGS=-Wsparse-all -Wno-decl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clinfo-2.2.17.08.25/man/clinfo.1 
new/clinfo-2.2.17.10.25/man/clinfo.1
--- old/clinfo-2.2.17.08.25/man/clinfo.12017-08-25 12:50:00.0 
+0200
+++ new/clinfo-2.2.17.10.25/man/clinfo.11970-01-01 01:00:00.0 
+0100
@@ -1,209 +0,0 @@
-.TH CLINFO 1 "2017-08-25" "clinfo 2.2.17.08.25"
-
-.SH NAME
-
-clinfo \- show OpenCL platforms and devices
-
-.SH SYNOPSIS
-.B clinfo
-.RI [ "options ..." ]
-
-.SH DESCRIPTION
-.B clinfo
-prints all available information about all OpenCL platforms
-available on the system and the devices they expose.
-
-.SH OPTIONS
-.B clinfo
-accepts the following options:
-.TP 2
-.B --human
-produce human-friendly output; this is the default (except
-as noted below);
-.TP
-.B --raw
-produce machine-friendly output; this is the default if
-.B clinfo
-is invoked with a name that contains the string
-.RI \*(lq raw \*(rq;
-.TP
-.B --offline
-shows also offline devices for platforms that expose this feature;
-.TP
-.BR -l ", " --list
-list platforms and devices by name, with no (other) properties;
-.TP
-.BR -h ", " -?
-show usage;
-.TP
-.BR --version ", " -v
-show program version.
-
-.SH CONFORMING TO
-
-OpenCL 1.1, OpenCL 1.2, OpenCL 2.0, OpenCL 2.1, OpenCL 2.2.
-
-.SH EXTENSIONS
-
-Supported OpenCL extensions:
-.TP 2
-.BR cl_khr_fp16 ", " cl_khr_fp64 ", " cl_amd_fp64 ", " cl_APPLE_fp64_basic_ops
-for information about support for half-precision and double-precision
-floating-point data types;
-.TP
-.B cl_khr_image2d_from_buffer
-for information about the base address and pitch alignment requirements
-of buffers to be used as base for 2D images;
-.TP
-.B cl_khr_spir
-for information about the supported SPIR (Standard Portable Intermediate
-Representation) versions;
-.TP
-.B cl_khr_icd
-for the suffix of vendor extensions functions;
-.TP
-.B cl_khr_subgroup_named_barrier
-for the maximum number of named sub-group barriers;
-.TP
-.B 

commit clinfo for openSUSE:Factory

2017-10-10 Thread root
Hello community,

here is the log from the commit of package clinfo for openSUSE:Factory checked 
in at 2017-10-10 11:42:42

Comparing /work/SRC/openSUSE:Factory/clinfo (Old)
 and  /work/SRC/openSUSE:Factory/.clinfo.new (New)


Package is "clinfo"

Tue Oct 10 11:42:42 2017 rev:7 rq:532810 version:2.2.17.08.25

Changes:

--- /work/SRC/openSUSE:Factory/clinfo/clinfo.changes2017-07-24 
12:33:18.342039013 +0200
+++ /work/SRC/openSUSE:Factory/.clinfo.new/clinfo.changes   2017-10-10 
11:42:44.404121405 +0200
@@ -0,0 +1,17 @@
+
+---
+Sun Oct  1 14:45:03 UTC 2017 - mar...@gmx.de
+
+- Update to version 2.2.17.08.25
+  * Version 2.2.17.08.25
+  * Switch to annotated tags
+  * Provide a `make install` target
+  * Check for extra bits in some bitfields
+  * Preliminary support for cl_khr_terminate_context
+  * Declare support for OpenCL 2.x experimental
+  * Actually add support for cl_khr_subgroup_named_barrier property
+  * Add tentative missing defines for cl_khr_terminate_context
+  * Defines for cl_khr_subgroup_named_barrier
+- Add patch:
+  * 0001-fix-manpage-target.patch
+

Old:

  clinfo-2.2.17.06.14.tar.gz

New:

  0001-fix-manpage-target.patch
  clinfo-2.2.17.08.25.tar.gz



Other differences:
--
++ clinfo.spec ++
--- /var/tmp/diff_new_pack.rzWqCQ/_old  2017-10-10 11:42:45.028094018 +0200
+++ /var/tmp/diff_new_pack.rzWqCQ/_new  2017-10-10 11:42:45.032093843 +0200
@@ -18,13 +18,14 @@
 
 
 Name:   clinfo
-Version:2.2.17.06.14
+Version:2.2.17.08.25
 Release:0
 Summary:Utility that reports status information for all installed 
OpenCL ICDs
 License:SUSE-Public-Domain
 Group:  Productivity/Other
 Url:https://github.com/Oblomov/clinfo/
 Source: 
https://github.com/Oblomov/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Patch0: 0001-fix-manpage-target.patch
 BuildRequires:  opencl-headers
 BuildRequires:  pkgconfig(OpenCL)
 
@@ -38,16 +39,15 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 export CFLAGS="%{optflags}"
 make %{?_smp_mflags}
 
 %install
-install -D -p -m 0755 clinfo \
-  %{buildroot}%{_bindir}/clinfo
-install -D -p -m 0644 man/clinfo.1 \
-  %{buildroot}%{_mandir}/man1/clinfo.1
+export PREFIX="%{buildroot}/%{_prefix}" MANDIR="%{buildroot}/%{_mandir}"
+%makeinstall
 
 %files
 %defattr (-,root,root)

++ 0001-fix-manpage-target.patch ++
>From f98c9ede8e06ca52b7c86c4c9a320e00c66d22ab Mon Sep 17 00:00:00 2001
From: Martin Kelly 
Date: Fri, 22 Sep 2017 17:24:03 -0700
Subject: [PATCH] fix manpage target

Currently, make install fails with this message:

make: *** No rule to make target 'man1/clinfo.1', needed by
'/usr/local/man/man1/clinfo.1'.  Stop.

Fix this by renaming the man directory to be the man1 directory.
---
 {man => man1}/clinfo.1 | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename {man => man1}/clinfo.1 (100%)

diff --git a/man/clinfo.1 b/man1/clinfo.1
similarity index 100%
rename from man/clinfo.1
rename to man1/clinfo.1
-- 
2.13.5

++ clinfo-2.2.17.06.14.tar.gz -> clinfo-2.2.17.08.25.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clinfo-2.2.17.06.14/Makefile 
new/clinfo-2.2.17.08.25/Makefile
--- old/clinfo-2.2.17.06.14/Makefile2017-06-14 00:44:50.0 +0200
+++ new/clinfo-2.2.17.08.25/Makefile2017-08-25 12:50:00.0 +0200
@@ -1,5 +1,8 @@
 # Headers
 
+PROG = clinfo
+MAN = man1/$(PROG).1
+
 HDR =  src/error.h \
src/ext.h \
src/fmtmacros.h \
@@ -17,6 +20,13 @@
 # BSD make does not define RM
 RM ?= rm -f
 
+# Installation paths and modes
+PREFIX ?= /usr/local
+BINDIR ?= $(PREFIX)/bin
+BINMODE ?= 555
+MANDIR ?= $(PREFIX)/man
+MANMODE ?= 444
+
 # Common library includes
 LDLIBS = -lOpenCL -ldl
 
@@ -29,14 +39,35 @@
 # Remove -lOpenCL if OS is Darwin
 LDLIBS := $(LDLIBS:$(LDLIBS_${OS}_exclude)=)
 
-clinfo: clinfo.o
 
-clinfo.o: clinfo.c $(HDR)
+#
+# Standard targets
+#
+
+$(PROG): $(PROG).o
+
+$(PROG).o: $(PROG).c $(HDR)
 
 clean:
-   $(RM) clinfo.o clinfo
+   $(RM) $(PROG).o $(PROG)
+
+$(BINDIR):
+   install -d $@
+
+$(MANDIR)/man1:
+   install -d $@
 
-sparse: clinfo.c
+$(BINDIR)/$(PROG): $(PROG) $(BINDIR)
+   install -p -m $(BINMODE) $(PROG) $@
+
+$(MANDIR)/$(MAN): $(MAN) $(MANDIR)/man1
+   install -p -m $(MANMODE) $(MAN) $@
+
+install: $(BINDIR)/$(PROG) $(MANDIR)/$(MAN)
+
+
+sparse: $(PROG).c
$(SPARSE) $(CPPFLAGS) $(CFLAGS) $(SPARSEFLAGS) $^
 
-.PHONY: clean sparse
+
+.PHONY: clean sparse install
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 

commit clinfo for openSUSE:Factory

2017-07-24 Thread root
Hello community,

here is the log from the commit of package clinfo for openSUSE:Factory checked 
in at 2017-07-24 12:33:17

Comparing /work/SRC/openSUSE:Factory/clinfo (Old)
 and  /work/SRC/openSUSE:Factory/.clinfo.new (New)


Package is "clinfo"

Mon Jul 24 12:33:17 2017 rev:6 rq:512138 version:2.2.17.06.14

Changes:

--- /work/SRC/openSUSE:Factory/clinfo/clinfo.changes2017-05-08 
19:03:51.333011633 +0200
+++ /work/SRC/openSUSE:Factory/.clinfo.new/clinfo.changes   2017-07-24 
12:33:18.342039013 +0200
@@ -1,0 +2,14 @@
+Sat Jul 22 13:36:37 UTC 2017 - mar...@gmx.de
+
+- Update to version 2.2.17.06.14
+  * Version 2.2.17.06.14
+  * OpenCL 2.2 support
+  * Add "size" to "cache line" info
+  * Add NMAKE makefile
+  * Update Windows support
+  * Avoid possible narrowing warnings
+  * Use PRIuS to print size_t
+  * Make UNUSED macro function-style
+  * Also check default devices in clCreateContextFromType
+
+---

Old:

  clinfo-2.1.17.02.09.tar.gz

New:

  clinfo-2.2.17.06.14.tar.gz



Other differences:
--
++ clinfo.spec ++
--- /var/tmp/diff_new_pack.vIoAmx/_old  2017-07-24 12:33:19.493876418 +0200
+++ /var/tmp/diff_new_pack.vIoAmx/_new  2017-07-24 12:33:19.493876418 +0200
@@ -18,7 +18,7 @@
 
 
 Name:   clinfo
-Version:2.1.17.02.09
+Version:2.2.17.06.14
 Release:0
 Summary:Utility that reports status information for all installed 
OpenCL ICDs
 License:SUSE-Public-Domain

++ clinfo-2.1.17.02.09.tar.gz -> clinfo-2.2.17.06.14.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clinfo-2.1.17.02.09/Makefile.win 
new/clinfo-2.2.17.06.14/Makefile.win
--- old/clinfo-2.1.17.02.09/Makefile.win1970-01-01 01:00:00.0 
+0100
+++ new/clinfo-2.2.17.06.14/Makefile.win2017-06-14 00:44:50.0 
+0200
@@ -0,0 +1,36 @@
+# TODO FIXME find a better way to detect the directory to use
+# for OpenCL development files
+!IF "$(OPENCLDIR)" == ""
+OPENCLDIR = $(AMDAPPSDKROOT)
+!ENDIF
+!IF "$(OPENCLDIR)" == ""
+OPENCLDIR = $(MAKEDIR)
+!ENDIF
+!IF "$(OPENCLDIR)" == ""
+OPENCLDIR = .
+!ENDIF
+!MESSAGE OpenCL dir: $(OPENCLDIR)
+
+
+HDR =  src/error.h \
+   src/ext.h \
+   src/fmtmacros.h \
+   src/memory.h \
+   src/ms_support.h \
+   src/strbuf.h
+
+CFLAGS = /GL /Ox /W4 /Zi /I"$(OPENCLDIR)\include" /nologo
+LIBS = libOpenCL.a
+LINKOPTS = /LTCG /LIBPATH:"$(OPENCLDIR)\lib" /LIBPATH:"$(OPENCLDIR)\lib\x86" 
/LIBPATH:"$(OPENCLDIR)\lib\x86_64" /LIBPATH:"$(OPENCLDIR)\lib\x86_amd64" 
/LIBPATH:"$(OPENCLDIR)\lib\amd64" /nologo
+
+clinfo.exe: clinfo.obj
+   link $(LINKOPTS) $(LIBS) clinfo.obj /out:clinfo.exe
+
+clinfo.obj: src/clinfo.c $(HDR)
+   $(CC) $(CFLAGS) /c src/clinfo.c /Foclinfo.obj
+
+clean:
+   del /F /Q clinfo.exe clinfo.obj
+
+.PHONY: clean
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clinfo-2.1.17.02.09/make.cmd 
new/clinfo-2.2.17.06.14/make.cmd
--- old/clinfo-2.1.17.02.09/make.cmd1970-01-01 01:00:00.0 +0100
+++ new/clinfo-2.2.17.06.14/make.cmd2017-06-14 00:44:50.0 +0200
@@ -0,0 +1 @@
+nmake /F Makefile.win /nologo %*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clinfo-2.1.17.02.09/man/clinfo.1 
new/clinfo-2.2.17.06.14/man/clinfo.1
--- old/clinfo-2.1.17.02.09/man/clinfo.12017-02-09 16:56:08.0 
+0100
+++ new/clinfo-2.2.17.06.14/man/clinfo.12017-06-14 00:44:50.0 
+0200
@@ -1,4 +1,4 @@
-.TH CLINFO 1 "2017-02-09" "clinfo 2.1.17.02.09"
+.TH CLINFO 1 "2017-06-14" "clinfo 2.2.17.06.14"
 
 .SH NAME
 
@@ -41,7 +41,7 @@
 
 .SH CONFORMING TO
 
-OpenCL 1.1, OpenCL 1.2, OpenCL 2.0, OpenCL 2.1.
+OpenCL 1.1, OpenCL 1.2, OpenCL 2.0, OpenCL 2.1, OpenCL 2.2.
 
 .SH EXTENSIONS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clinfo-2.1.17.02.09/src/clinfo.c 
new/clinfo-2.2.17.06.14/src/clinfo.c
--- old/clinfo-2.1.17.02.09/src/clinfo.c2017-02-09 16:56:08.0 
+0100
+++ new/clinfo-2.2.17.06.14/src/clinfo.c2017-06-14 00:44:50.0 
+0200
@@ -4,10 +4,18 @@
 
 #include 
 #include 
-#include 
 
-#ifndef RTLD_DEFAULT
-#define RTLD_DEFAULT ((void*)0)
+/* We will want to check for symbols in the OpenCL library.
+ * On Windows, we must get the module handle for it, on Unix-like
+ * systems we can just use RTLD_DEFAULT
+ */
+#ifdef _MSC_VER
+# include 
+# define dlsym GetProcAddress
+# define DL_MODULE GetModuleHandle("OpenCL")
+#else
+# include 
+# define DL_MODULE ((void*)0) /* This would be RTLD_DEFAULT */
 #endif
 
 /* ISO C forbids assignments 

commit clinfo for openSUSE:Factory

2017-05-08 Thread root
Hello community,

here is the log from the commit of package clinfo for openSUSE:Factory checked 
in at 2017-05-08 19:03:01

Comparing /work/SRC/openSUSE:Factory/clinfo (Old)
 and  /work/SRC/openSUSE:Factory/.clinfo.new (New)


Package is "clinfo"

Mon May  8 19:03:01 2017 rev:5 rq:492919 version:2.1.17.02.09

Changes:

--- /work/SRC/openSUSE:Factory/clinfo/clinfo.changes2016-01-28 
17:24:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.clinfo.new/clinfo.changes   2017-05-08 
19:03:51.333011633 +0200
@@ -1,0 +2,6 @@
+Fri Feb 17 20:41:04 UTC 2017 - mplus...@suse.com
+
+- Update to version 2.1.17.02.09:
+  * no upstream changelog provided
+
+---

Old:

  clinfo-2.1.16.01.12.tar.gz

New:

  clinfo-2.1.17.02.09.tar.gz



Other differences:
--
++ clinfo.spec ++
--- /var/tmp/diff_new_pack.Us4S5Z/_old  2017-05-08 19:03:52.104902591 +0200
+++ /var/tmp/diff_new_pack.Us4S5Z/_new  2017-05-08 19:03:52.108902026 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package clinfo
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2015, Martin Hauke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,16 +18,15 @@
 
 
 Name:   clinfo
-Version:2.1.16.01.12
+Version:2.1.17.02.09
 Release:0
-Summary:It reports status information for all installed OpenCL ICDs
+Summary:Utility that reports status information for all installed 
OpenCL ICDs
 License:SUSE-Public-Domain
 Group:  Productivity/Other
 Url:https://github.com/Oblomov/clinfo/
 Source: 
https://github.com/Oblomov/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  opencl-headers
 BuildRequires:  pkgconfig(OpenCL)
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 A simple OpenCL application that enumerates all possible platform and
@@ -45,8 +44,10 @@
 make %{?_smp_mflags}
 
 %install
-install -D -p -m 0755 clinfo %{buildroot}%{_bindir}/clinfo
-install -D -p -m 0644 man/clinfo.1 %{buildroot}%{_mandir}/man1/clinfo.1
+install -D -p -m 0755 clinfo \
+  %{buildroot}%{_bindir}/clinfo
+install -D -p -m 0644 man/clinfo.1 \
+  %{buildroot}%{_mandir}/man1/clinfo.1
 
 %files
 %defattr (-,root,root)

++ clinfo-2.1.16.01.12.tar.gz -> clinfo-2.1.17.02.09.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clinfo-2.1.16.01.12/.travis.yml 
new/clinfo-2.1.17.02.09/.travis.yml
--- old/clinfo-2.1.16.01.12/.travis.yml 1970-01-01 01:00:00.0 +0100
+++ new/clinfo-2.1.17.02.09/.travis.yml 2017-02-09 16:56:08.0 +0100
@@ -0,0 +1,18 @@
+os:
+ - linux
+ - osx
+
+dist: trusty
+addons:
+ apt:
+  sources:
+   - sourceline: "deb http://archive.ubuntu.com/ubuntu trusty universe"
+  packages:
+   - ocl-icd-opencl-dev
+
+language: c
+compiler:
+ - gcc
+ - clang
+
+script: make && ./clinfo
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clinfo-2.1.16.01.12/GNUmakefile 
new/clinfo-2.1.17.02.09/GNUmakefile
--- old/clinfo-2.1.16.01.12/GNUmakefile 1970-01-01 01:00:00.0 +0100
+++ new/clinfo-2.1.17.02.09/GNUmakefile 2017-02-09 16:56:08.0 +0100
@@ -0,0 +1,7 @@
+# GNU Make specifics
+
+OS := $(shell uname -s)
+
+include Makefile
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clinfo-2.1.16.01.12/LICENSE 
new/clinfo-2.1.17.02.09/LICENSE
--- old/clinfo-2.1.16.01.12/LICENSE 2016-01-12 11:51:23.0 +0100
+++ new/clinfo-2.1.17.02.09/LICENSE 2017-02-09 16:56:08.0 +0100
@@ -1,3 +1,8 @@
-The code is released in the public domain, but you are encouraged to
-share any changes you make.
+clinfo by Giuseppe Bilotta
 
+To the extent possible under law, the person who associated CC0 with
+clinfo has waived all copyright and related or neighboring rights
+to clinfo.
+
+You should have received a copy of the CC0 legalcode along with this
+work.  If not, see 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clinfo-2.1.16.01.12/Makefile 
new/clinfo-2.1.17.02.09/Makefile
--- old/clinfo-2.1.16.01.12/Makefile2016-01-12 11:51:23.0 +0100
+++ new/clinfo-2.1.17.02.09/Makefile2017-02-09 16:56:08.0 +0100
@@ -1,27 +1,35 @@
-SRCDIR=src
+# Headers
 
-VPATH=$(SRCDIR)
+HDR =  src/error.h \
+   src/ext.h \
+   src/fmtmacros.h \
+   src/memory.h \
+   src/ms_support.h \
+   src/strbuf.h
 
-HDR=$(wildcard $(SRCDIR)/*.h)

commit clinfo for openSUSE:Factory

2016-01-29 Thread h_root
Hello community,

here is the log from the commit of package clinfo for openSUSE:Factory checked 
in at 2016-01-28 17:23:49

Comparing /work/SRC/openSUSE:Factory/clinfo (Old)
 and  /work/SRC/openSUSE:Factory/.clinfo.new (New)


Package is "clinfo"

Changes:

--- /work/SRC/openSUSE:Factory/clinfo/clinfo.changes2016-01-08 
15:23:46.0 +0100
+++ /work/SRC/openSUSE:Factory/.clinfo.new/clinfo.changes   2016-01-28 
17:24:41.0 +0100
@@ -1,0 +2,6 @@
+Tue Jan 26 08:44:01 UTC 2016 - mplus...@suse.com
+
+- Update to 2.1.16.01.12
+  * no upstream changelog provided
+
+---

Old:

  clinfo-2.1.16.01.06.tar.gz

New:

  clinfo-2.1.16.01.12.tar.gz



Other differences:
--
++ clinfo.spec ++
--- /var/tmp/diff_new_pack.63rQk2/_old  2016-01-28 17:24:42.0 +0100
+++ /var/tmp/diff_new_pack.63rQk2/_new  2016-01-28 17:24:42.0 +0100
@@ -18,7 +18,7 @@
 
 
 Name:   clinfo
-Version:2.1.16.01.06
+Version:2.1.16.01.12
 Release:0
 Summary:It reports status information for all installed OpenCL ICDs
 License:SUSE-Public-Domain
@@ -45,15 +45,13 @@
 make %{?_smp_mflags}
 
 %install
-mkdir -p %{buildroot}/%{_bindir}
-mkdir -p %{buildroot}/%{_mandir}/man1/
-install -pm 0755 clinfo %{buildroot}/%{_bindir}
-install -pm 0644 man/clinfo.1 %{buildroot}/%{_mandir}/man1
+install -D -p -m 0755 clinfo %{buildroot}%{_bindir}/clinfo
+install -D -p -m 0644 man/clinfo.1 %{buildroot}%{_mandir}/man1/clinfo.1
 
 %files
 %defattr (-,root,root)
 %doc LICENSE README
 %{_bindir}/clinfo
-%{_mandir}/man1/clinfo.1.*
+%{_mandir}/man1/clinfo.1%{ext_man}
 
 %changelog

++ clinfo-2.1.16.01.06.tar.gz -> clinfo-2.1.16.01.12.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clinfo-2.1.16.01.06/man/clinfo.1 
new/clinfo-2.1.16.01.12/man/clinfo.1
--- old/clinfo-2.1.16.01.06/man/clinfo.12016-01-06 12:07:55.0 
+0100
+++ new/clinfo-2.1.16.01.12/man/clinfo.12016-01-12 11:51:23.0 
+0100
@@ -1,4 +1,4 @@
-.TH CLINFO 1 "2016-01-06" "clinfo 2.1.16.01.06"
+.TH CLINFO 1 "2016-01-12" "clinfo 2.1.16.01.12"
 
 .SH NAME
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clinfo-2.1.16.01.06/src/clinfo.c 
new/clinfo-2.1.16.01.12/src/clinfo.c
--- old/clinfo-2.1.16.01.06/src/clinfo.c2016-01-06 12:07:55.0 
+0100
+++ new/clinfo-2.1.16.01.12/src/clinfo.c2016-01-12 11:51:23.0 
+0100
@@ -880,8 +880,9 @@
time_t time = val/UINT64_C(10);
szval += snprintf(strbuf, bufsz, "%" PRIu64 "ns (", val);
szval += bufcpy(szval, ctime());
+   /* overwrite ctime's newline with the closing parenthesis */
if (szval < bufsz)
-   strbuf[szval] = ')';
+   strbuf[szval - 1] = ')';
}
show_strbuf(pname, 0);
return had_error;
@@ -2483,6 +2484,8 @@
const char *pname; // "ICD loader *"
 };
 
+static const char * const oclicdl_pfx = "OCLICD";
+
 #define LINFO(symbol, name) { symbol, #symbol, "ICD loader " name }
 struct icdl_info_traits linfo_traits[] = {
LINFO(CL_ICDL_NAME, "Name"),
@@ -2541,9 +2544,18 @@
 #endif
 
if (clGetICDLoaderInfoOCLICD != NULL) {
-   puts("\nICD loader properties");
+   /* TODO think of a sensible header in CLINFO_RAW */
+   if (output_mode != CLINFO_RAW)
+   puts("\nICD loader properties");
current_function = __func__;
 
+   if (output_mode == CLINFO_RAW) {
+   line_pfx_len = strlen(oclicdl_pfx) + 5;
+   REALLOC(line_pfx, line_pfx_len, "line prefix OCL ICD");
+   sprintf(strbuf, "[%s/*]", oclicdl_pfx);
+   sprintf(line_pfx, "%*s", -line_pfx_len, strbuf);
+   }
+
for (current_line = 0; current_line < ARRAY_SIZE(linfo_traits); 
++current_line) {
const struct icdl_info_traits *traits = linfo_traits + 
current_line;
current_param = traits->sname;
@@ -2586,7 +2598,7 @@
 
 void version(void)
 {
-   puts("clinfo version 2.1.16.01.06");
+   puts("clinfo version 2.1.16.01.12");
 }
 
 void usage(void)
@@ -2674,7 +2686,8 @@
listPlatformsAndDevices(show_offline);
} else {
showDevices(show_offline);
-   checkNullBehavior();
+   if (output_mode != CLINFO_RAW)
+   checkNullBehavior();
oclIcdProps();
}
 




commit clinfo for openSUSE:Factory

2016-01-08 Thread h_root
Hello community,

here is the log from the commit of package clinfo for openSUSE:Factory checked 
in at 2016-01-08 15:23:37

Comparing /work/SRC/openSUSE:Factory/clinfo (Old)
 and  /work/SRC/openSUSE:Factory/.clinfo.new (New)


Package is "clinfo"

Changes:

--- /work/SRC/openSUSE:Factory/clinfo/clinfo.changes2015-11-26 
17:02:12.0 +0100
+++ /work/SRC/openSUSE:Factory/.clinfo.new/clinfo.changes   2016-01-08 
15:23:46.0 +0100
@@ -1,0 +2,6 @@
+Wed Jan  6 20:29:59 UTC 2016 - mar...@gmx.de
+
+- Update to version 2.1.16.01.06
+  - Upstream does not provide a changelog
+
+---

Old:

  clinfo-2.0.15.03.24.tar.gz

New:

  clinfo-2.1.16.01.06.tar.gz



Other differences:
--
++ clinfo.spec ++
--- /var/tmp/diff_new_pack.TmRUBK/_old  2016-01-08 15:23:47.0 +0100
+++ /var/tmp/diff_new_pack.TmRUBK/_new  2016-01-08 15:23:47.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package clinfo
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2015, Martin Hauke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
 
 
 Name:   clinfo
-Version:2.0.15.03.24
+Version:2.1.16.01.06
 Release:0
 Summary:It reports status information for all installed OpenCL ICDs
 License:SUSE-Public-Domain

++ clinfo-2.0.15.03.24.tar.gz -> clinfo-2.1.16.01.06.tar.gz ++
 1887 lines of diff (skipped)




commit clinfo for openSUSE:Factory

2015-11-26 Thread h_root
Hello community,

here is the log from the commit of package clinfo for openSUSE:Factory checked 
in at 2015-11-26 17:01:50

Comparing /work/SRC/openSUSE:Factory/clinfo (Old)
 and  /work/SRC/openSUSE:Factory/.clinfo.new (New)


Package is "clinfo"

Changes:

--- /work/SRC/openSUSE:Factory/clinfo/clinfo.changes2015-08-03 
17:21:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.clinfo.new/clinfo.changes   2015-11-26 
17:02:12.0 +0100
@@ -1,0 +2,6 @@
+Sat Nov 21 08:21:09 UTC 2015 - mplus...@suse.com
+
+- Use optflags when building
+- Tiny spec file cleanup with spec-cleaner
+
+---



Other differences:
--
++ clinfo.spec ++
--- /var/tmp/diff_new_pack.e8q1dH/_old  2015-11-26 17:02:13.0 +0100
+++ /var/tmp/diff_new_pack.e8q1dH/_new  2015-11-26 17:02:13.0 +0100
@@ -41,6 +41,7 @@
 %setup -q
 
 %build
+export CFLAGS="%{optflags}"
 make %{?_smp_mflags}
 
 %install
@@ -53,6 +54,6 @@
 %defattr (-,root,root)
 %doc LICENSE README
 %{_bindir}/clinfo
-%{_mandir}/man1/*
+%{_mandir}/man1/clinfo.1.*
 
 %changelog