Monday, February 28, 2022

Re: [MAINTAINER UPDATE] graphics/openimageio -> 2.2.20.0

On Mon, Feb 28, 2022 at 09:43:34PM -0500, Brad Smith wrote:
> On 2/28/2022 9:09 PM, Dimitri Karamazov wrote:
> > Update graphics/openimageio to 2.2.20.0
> >
> > Changelog:https://github.com/OpenImageIO/oiio/releases/tag/v2.2.20.0
> >
> > /usr/local/lib/libOpenImageIO.so.11.0 --> ../build-amd64/lib/libOpenImageIO.so.11.0
> > Dynamic export changes:
> > added:
> > _ZN16OpenImageIO_v2_29TIFFInput14palette_to_rgbEiPKtPh
> >
> > External reference changes:
> > added:
> > sysctl
> >
> > /usr/local/lib/libOpenImageIO_Util.so.7.0 --> ../build-amd64/lib/libOpenImageIO_Util.so.7.0
> > No dynamic export changes
> > External reference changes:
> > added:
> > ioctl
> > sysctl
> >
> > Build & Run tested with graphics/blender
> > Tests results are identical to earlier version
>
>
> - Add the missing graphics/jpeg LIB_DEPENDS
> - Remove the post-install target
> - Remove the PLIST chunk
>
Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/openimageio/Makefile,v
retrieving revision 1.58
diff -u -p -r1.58 Makefile
--- Makefile 2 Nov 2021 00:01:16 -0000 1.58
+++ Makefile 1 Mar 2022 02:59:06 -0000
@@ -11,12 +11,12 @@ COMMENT = library for reading and writi
GH_ACCOUNT = OpenImageIO
GH_PROJECT = oiio
GH_TAGNAME = Release-$V
-V = 2.2.18.0
+V = 2.2.20.0
DISTNAME = openimageio-${V}
REVISION = 0

-SHARED_LIBS += OpenImageIO 11.0 # 2.2.18
-SHARED_LIBS += OpenImageIO_Util 7.0 # 2.2.18
+SHARED_LIBS += OpenImageIO 11.1 # 2.2.20
+SHARED_LIBS += OpenImageIO_Util 7.0 # 2.2.20

CATEGORIES = graphics devel

@@ -28,12 +28,12 @@ MAINTAINER = Dimitri Karamazov <deserte
PERMIT_PACKAGE = Yes

WANTLIB += ${COMPILER_LIBCXX}
-WANTLIB += GL GLU Iex-3_1 IlmThread-3_1 OpenEXR-3_1
-WANTLIB += Imath-3_1 OpenColorIO Qt5Core Qt5Gui Qt5OpenGL Qt5Widgets
-WANTLIB += avcodec avformat avutil boost_atomic-mt boost_chrono-mt
-WANTLIB += boost_date_time-mt boost_filesystem-mt boost_system-mt
-WANTLIB += boost_thread-mt bz2 c freetype gif heif iconv jpeg m
-WANTLIB += openjp2 png pugixml raw_r swscale tiff webp webpdemux z
+WANTLIB += GL GLU Iex-3_1 IlmThread-3_1 Imath-3_1 OpenColorIO
+WANTLIB += OpenEXR-3_1 Qt5Core Qt5Gui Qt5OpenGL Qt5Widgets avcodec
+WANTLIB += avformat avutil boost_atomic-mt boost_chrono-mt boost_date_time-mt
+WANTLIB += boost_filesystem-mt boost_system-mt boost_thread-mt
+WANTLIB += bz2 c freetype gif heif jpeg m openjp2 png pugixml
+WANTLIB += raw_r swscale tiff webp webpdemux z

MODULES = devel/cmake \
lang/python \
@@ -49,6 +49,7 @@ BUILD_DEPENDS = devel/fmt \
LIB_DEPENDS = devel/boost \
graphics/ffmpeg \
graphics/giflib \
+ graphics/jpeg \
graphics/libraw \
graphics/libwebp \
graphics/opencolorio \
@@ -75,8 +76,5 @@ CONFIGURE_ARGS += -DCMAKE_INSTALL_MANDIR
CONFIGURE_ENV += LDFLAGS="${LDFLAGS} -latomic"
WANTLIB += atomic
.endif
-
-post-install:
- find ${PREFIX} -name '*.orig' -delete

.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/graphics/openimageio/distinfo,v
retrieving revision 1.15
diff -u -p -r1.15 distinfo
--- distinfo 23 Oct 2021 08:12:43 -0000 1.15
+++ distinfo 1 Mar 2022 02:59:06 -0000
@@ -1,2 +1,2 @@
-SHA256 (openimageio-2.2.18.0.tar.gz) = uN0Yn7yX8bFyUo4yTaqQT3ShZrrWLDLnFmymyGZzSik=
-SIZE (openimageio-2.2.18.0.tar.gz) = 29246567
+SHA256 (openimageio-2.2.20.0.tar.gz) = hZ85PkUz2rOwAdiBxB/U4KPqEU4VnwDXsqol+pjpf5k=
+SIZE (openimageio-2.2.20.0.tar.gz) = 29252912
Index: patches/patch-src_include_OpenImageIO_strutil_h
===================================================================
RCS file: patches/patch-src_include_OpenImageIO_strutil_h
diff -N patches/patch-src_include_OpenImageIO_strutil_h
--- patches/patch-src_include_OpenImageIO_strutil_h 5 Jan 2021 20:53:18 -0000 1.3
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-$OpenBSD: patch-src_include_OpenImageIO_strutil_h,v 1.3 2021/01/05 20:53:18 jca Exp $
-
-Add missing header for ports-gcc
-
-Index: src/include/OpenImageIO/strutil.h
---- src/include/OpenImageIO/strutil.h.orig Tue Dec 1 12:39:14 2020
-+++ src/include/OpenImageIO/strutil.h Thu Dec 3 16:42:07 2020
-@@ -14,6 +14,7 @@
-
- #pragma once
-
-+#include <cstdarg>
- #include <cstdio>
- #include <map>
- #include <sstream>
Index: patches/patch-src_include_tbb_machine_gcc_generic_h
===================================================================
RCS file: patches/patch-src_include_tbb_machine_gcc_generic_h
diff -N patches/patch-src_include_tbb_machine_gcc_generic_h
--- patches/patch-src_include_tbb_machine_gcc_generic_h 29 Nov 2020 20:05:50 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,133 +0,0 @@
-$OpenBSD: patch-src_include_tbb_machine_gcc_generic_h,v 1.2 2020/11/29 20:05:50 sthen Exp $
-
-Index: src/include/tbb/machine/gcc_generic.h
---- src/include/tbb/machine/gcc_generic.h.orig
-+++ src/include/tbb/machine/gcc_generic.h
-@@ -0,0 +1,127 @@
-+/*
-+ Copyright 2005-2012 Intel Corporation. All Rights Reserved.
-+
-+ This file is part of Threading Building Blocks.
-+
-+ Threading Building Blocks is free software; you can redistribute it
-+ and/or modify it under the terms of the GNU General Public License
-+ version 2 as published by the Free Software Foundation.
-+
-+ Threading Building Blocks is distributed in the hope that it will be
-+ useful, but WITHOUT ANY WARRANTY; without even the implied warranty
-+ of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+ GNU General Public License for more details.
-+
-+ You should have received a copy of the GNU General Public License
-+ along with Threading Building Blocks; if not, write to the Free Software
-+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-+
-+ As a special exception, you may use this file as part of a free software
-+ library without restriction. Specifically, if other files instantiate
-+ templates or use macros or inline functions from this file, or you compile
-+ this file and link it with other files to produce an executable, this
-+ file does not by itself cause the resulting executable to be covered by
-+ the GNU General Public License. This exception does not however
-+ invalidate any other reasons why the executable file might be covered by
-+ the GNU General Public License.
-+*/
-+
-+#if !defined(__TBB_machine_H) || defined(__TBB_machine_gcc_generic_H)
-+#error Do not #include this internal file directly; use public TBB headers instead.
-+

No comments:

Post a Comment