Rafael Sadowski <[email protected]> writes:
> Update libraw 0.17.2 -> 0.18.2
>
> Tested with a few KDE applications,
>
> OK? Comments?
Looks fine ports-wise (including the major bump). Did you build all
consumers?
Nits below,
> Best regards,
>
> Rafael Sadowski
>
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/graphics/libraw/Makefile,v
> retrieving revision 1.24
> diff -u -p -u -p -r1.24 Makefile
> --- Makefile 27 Apr 2017 23:15:00 -0000 1.24
> +++ Makefile 13 Jun 2017 15:46:55 -0000
> @@ -4,25 +4,23 @@ BROKEN-hppa = undefined reference to __
>
> COMMENT = library for reading RAW files
>
> -V = 0.17.2
> -DISTNAME = LibRaw-${V}
> +DISTNAME = LibRaw-0.18.2
> PKGNAME = ${DISTNAME:L}
> -REVISION = 0
> CATEGORIES = graphics
>
> -SHARED_LIBS += raw 1.0 # 15.0
> -SHARED_LIBS += raw_r 1.0 # 15.0
> +SHARED_LIBS += raw 2.0 # 15.0
> +SHARED_LIBS += raw_r 2.0 # 15.0
>
> -HOMEPAGE = http://www.libraw.org/
> +HOMEPAGE = https://www.libraw.org/
>
> # LGPL v2.1 OR CDDL v1.0 OR their own
> PERMIT_PACKAGE_CDROM = Yes
>
> WANTLIB += c jasper jpeg lcms2 m pthread ${LIBCXX}
>
> -MASTER_SITES = http://www.libraw.org/data/
> +MASTER_SITES = ${HOMEPAGE}/data/
Some people prefer having a fully readable url. Also it introduces an
extra slash. Maybe just switch to https?
> -MODULES = gcc4
> +COMPILER = gcc
> # for atomic builtins (__sync_fetch_and_add_4)
> MODGCC4_ARCHS = arm
> MODGCC4_LANGS = c++
You could kill this line.
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/graphics/libraw/distinfo,v
> retrieving revision 1.6
> diff -u -p -u -p -r1.6 distinfo
> --- distinfo 27 Aug 2016 15:56:27 -0000 1.6
> +++ distinfo 13 Jun 2017 15:46:55 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (LibRaw-0.17.2.tar.gz) = krDELHZm7Kkwfl4fl9b+/Bls8LfuCJ4iiAJZp2+v0Vw=
> -SIZE (LibRaw-0.17.2.tar.gz) = 1472714
> +SHA256 (LibRaw-0.18.2.tar.gz) = zjZrs4wRRBMHN+sW6RkDiTe03BqxZReaIl1ehHryq8Y=
> +SIZE (LibRaw-0.18.2.tar.gz) = 1281674
> Index: patches/patch-configure
> ===================================================================
> RCS file: patches/patch-configure
> diff -N patches/patch-configure
> --- patches/patch-configure 27 Apr 2017 23:15:00 -0000 1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,12 +0,0 @@
> -$OpenBSD: patch-configure,v 1.1 2017/04/27 23:15:00 sthen Exp $
> ---- configure.orig Tue Apr 11 11:33:38 2017
> -+++ configure Tue Apr 11 11:33:57 2017
> -@@ -16967,7 +16967,7 @@ $as_echo "$as_me: WARNING: Unable to find working
> LibR
> - fi
> - fi
> -
> --LIBS="$LIBS -lm -lstdc++"
> -+LIBS="$LIBS -lm"
> -
> - LIBRAW_SHLIB_VERSION=15:0:0
> -
> Index: patches/patch-internal_libraw_x3f_cpp
> ===================================================================
> RCS file: patches/patch-internal_libraw_x3f_cpp
> diff -N patches/patch-internal_libraw_x3f_cpp
> --- patches/patch-internal_libraw_x3f_cpp 29 Feb 2016 23:50:13 -0000
> 1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,12 +0,0 @@
> -$OpenBSD: patch-internal_libraw_x3f_cpp,v 1.1 2016/02/29 23:50:13 sthen Exp $
> -
> -remove unicode BOM
> -
> ---- internal/libraw_x3f.cpp.orig Tue Jan 26 22:00:57 2016
> -+++ internal/libraw_x3f.cpp Tue Jan 26 22:01:05 2016
> -@@ -1,4 +1,4 @@
> --/* Library for accessing X3F Files
> -+/*
> - ----------------------------------------------------------------
> - BSD-style License
> - ----------------------------------------------------------------
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/graphics/libraw/pkg/PLIST,v
> retrieving revision 1.5
> diff -u -p -u -p -r1.5 PLIST
> --- pkg/PLIST 22 May 2015 11:31:15 -0000 1.5
> +++ pkg/PLIST 13 Jun 2017 15:46:55 -0000
> @@ -30,4 +30,3 @@ share/doc/libraw/COPYRIGHT
> share/doc/libraw/Changelog.txt
> share/doc/libraw/LICENSE.CDDL
> share/doc/libraw/LICENSE.LGPL
> -share/doc/libraw/LICENSE.LibRaw.pdf
>
<#secure method=pgpmime mode=sign>
--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE