Hello community,

here is the log from the commit of package OpenImageIO for openSUSE:Factory 
checked in at 2018-06-20 15:37:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/OpenImageIO (Old)
 and      /work/SRC/openSUSE:Factory/.OpenImageIO.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "OpenImageIO"

Wed Jun 20 15:37:04 2018 rev:16 rq:618008 version:1.8.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/OpenImageIO/OpenImageIO.changes  2018-04-16 
12:50:07.218643328 +0200
+++ /work/SRC/openSUSE:Factory/.OpenImageIO.new/OpenImageIO.changes     
2018-06-20 15:37:11.069387441 +0200
@@ -1,0 +2,9 @@
+Mon Jun 18 11:11:18 UTC 2018 - davejpla...@gmail.com
+
+- Fix gcc8 build with -Wno-error=class-memaccess,
+  -Wno-error=sizeof-pointer-memaccess and -Wno-error=uninitialized
+  flags.
+- Disable python bindings sub package until it builds with python3
+  and remove its build  requirements.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ OpenImageIO.spec ++++++
--- /var/tmp/diff_new_pack.qD0gIk/_old  2018-06-20 15:37:12.245344754 +0200
+++ /var/tmp/diff_new_pack.qD0gIk/_new  2018-06-20 15:37:12.249344608 +0200
@@ -74,14 +74,10 @@
 BuildRequires:  pkgconfig(libwebpmux)
 BuildRequires:  pkgconfig(opencv)
 BuildRequires:  pkgconfig(openssl)
-BuildRequires:  pkgconfig(python)
-BuildRequires:  pkgconfig(python-2.7)
-BuildRequires:  pkgconfig(python2)
 BuildRequires:  pkgconfig(zlib)
 Recommends:     google-droid-fonts
 %if 0%{?suse_version} > 1325
 BuildRequires:  libboost_filesystem-devel
-BuildRequires:  libboost_python-devel
 BuildRequires:  libboost_regex-devel
 BuildRequires:  libboost_thread-devel
 %else
@@ -130,13 +126,14 @@
 studios all over the world, and is also incorporated into several commercial
 products.
 
+%if 1 == 0
 %package -n python-OpenImageIO
 Summary:        Python Bindings for OpenImageIO
 Group:          Development/Libraries/Python
-%py_requires
 
 %description -n python-OpenImageIO
 This package contains python bindings for OpenImageIO.
+%endif
 
 %prep
 %setup -q -n oiio-Release-%{version}
@@ -157,10 +154,20 @@
 %define pwd $OIIOINC
 %define oiioinclude %{pwd}/src/include
 echo %{pwd}
+%if 1 == 0
+%define gcc_version 8
+export CC=gcc-8
+export CPP=cpp-8
+export CXX=g++-8
+%endif
+
 export CFLAGS="%{optflags} -Wno-error=deprecated-declarations"
 %if 0%{?gcc_version} >= 7
 #This host of flags to allow oiio to build with gcc7 are the result of oiio 
being built with -Werror"
-export CXXFLAGS="%{optflags} -Wno-error=maybe-uninitialized 
-Wno-error=noexcept-type -Wno-error=format-truncation= -Wno-error=aligned-new= 
-Wno-error=deprecated-declarations "
+export CXXFLAGS="%{optflags} -Wno-error=maybe-uninitialized 
-Wno-error=noexcept-type -Wno-error=format-truncation= -Wno-error=aligned-new= 
-Wno-error=deprecated-declarations"
+%if 0%{?gcc_version} >= 8
+export CXXFLAGS="$CXXFLAGS -Wno-error=class-memaccess 
-Wno-error=sizeof-pointer-memaccess -Wno-error=uninitialized"
+%endif
 %else
 export CXXFLAGS="%{optflags} -Wno-error=deprecated-declarations"
 %endif
@@ -168,7 +175,6 @@
 %ifarch ppc
     -DNOTHREADS=ON \
 %endif
-    -DPYLIB_INSTALL_DIR=%{python_sitearch} \
     -DINSTALL_DOCS:BOOL=ON \
     -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name} \
     -DCMAKE_INSTALL_MANDIR:PATH=%{_mandir}/man1 \
@@ -180,8 +186,10 @@
     -DUSE_OPENSSL:BOOL=ON \
     -DCMAKE_SKIP_RPATH:BOOL=ON \
     -DUSE_OPENCV:BOOL=OFF \
+    -DUSE_PYTHON:BOOL=OFF \
     -DCMAKE_DL_LIBS=dl \
         ..
+#    -DPYLIB_INSTALL_DIR=%%{python3_sitearch} \
 make %{?_smp_mflags} VERBOSE=1
 #|| \
 #make -j1 VERBOSE=1
@@ -225,7 +233,9 @@
 %files -n lib%{name}_Util%{so_ver}
 %{_libdir}/lib%{name}_Util.so.*
 
+%if 1 == 0
 %files -n python-%{name}
-%{python_sitearch}/%{name}.so
+%{python3_sitearch}/%{name}.so
+%endif
 
 %changelog


Reply via email to