From owner-svn-ports-head@freebsd.org Fri Mar 8 22:15:24 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA190152C259; Fri, 8 Mar 2019 22:15:24 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5113C8EBA6; Fri, 8 Mar 2019 22:15:24 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 28F851792; Fri, 8 Mar 2019 22:15:24 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x28MFOp1064580; Fri, 8 Mar 2019 22:15:24 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x28MFNvX064578; Fri, 8 Mar 2019 22:15:23 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <201903082215.x28MFNvX064578@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Fri, 8 Mar 2019 22:15:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r495082 - in head/graphics/kphotoalbum: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: in head/graphics/kphotoalbum: . files X-SVN-Commit-Revision: 495082 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 5113C8EBA6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.957,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Mar 2019 22:15:24 -0000 Author: tcberner Date: Fri Mar 8 22:15:23 2019 New Revision: 495082 URL: https://svnweb.freebsd.org/changeset/ports/495082 Log: graphics/kphotoalbum: prepare for exiv2-0.27 Import gentoo's patch from: https://gitweb.gentoo.org/repo/gentoo.git/tree/media-gfx/kphotoalbum/files/kphotoalbum-5.4-exiv2-0.27.patch?id=8487b360db9fcf049fe9a5543469b8e6fee28e4d PR: 235943 Added: head/graphics/kphotoalbum/files/ head/graphics/kphotoalbum/files/patch-gentoo_7b7f6 (contents, props changed) Modified: head/graphics/kphotoalbum/Makefile Modified: head/graphics/kphotoalbum/Makefile ============================================================================== --- head/graphics/kphotoalbum/Makefile Fri Mar 8 21:59:55 2019 (r495081) +++ head/graphics/kphotoalbum/Makefile Fri Mar 8 22:15:23 2019 (r495082) @@ -2,6 +2,7 @@ PORTNAME= kphotoalbum DISTVERSION= 5.4.2 +PORTREVISION= 1 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/ DIST_SUBDIR= KDE Added: head/graphics/kphotoalbum/files/patch-gentoo_7b7f6 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/kphotoalbum/files/patch-gentoo_7b7f6 Fri Mar 8 22:15:23 2019 (r495082) @@ -0,0 +1,62 @@ +From 41c7da0531c8a1eb7046345c2b991e7a5d1e6657 Mon Sep 17 00:00:00 2001 +From: Johannes Zarl-Zierl +Date: Sun, 30 Dec 2018 23:36:24 +0100 +Subject: Use Exiv2 0.27 if available. + +Beginning with version 0.27, Exiv2 ships with cmake package config +files. +--- + CMakeLists.txt | 12 +++++++++++- + 1 file changed, 11 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 3012f7a..5dcc29c 100644 +--- CMakeLists.txt ++++ CMakeLists.txt +@@ -44,7 +44,17 @@ if(JPEG_FOUND) + include_directories(${JPEG_INCLUDE_DIR}) + endif() + +-find_package(Exiv2 REQUIRED) ++### 2018-12-30 jzarl ++# When Exiv2 0.26 can be deprecated, FindExiv2.cmake should be removed ++# and only find_package(exiv2) should be used ++find_package(exiv2 CONFIG QUIET) ++if(exiv2_FOUND) ++ # search againg with REQUIRED, so that the feature summary correctly shows exiv as required dependency ++ find_package(exiv2 CONFIG REQUIRED) ++ set(EXIV2_LIBRARIES exiv2lib) ++else() ++ find_package(Exiv2 REQUIRED) ++endif() + + find_package(KF5Kipi 5.1.0) + set_package_properties(KF5Kipi +-- +cgit v1.1 +From cf4f7645b3c94246a1fcf664f1c865a93ae2b684 Mon Sep 17 00:00:00 2001 +From: Johannes Zarl-Zierl +Date: Sun, 30 Dec 2018 23:43:14 +0100 +Subject: Fix compilation with exiv2 0.27 + +--- + Exif/Info.cpp | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/Exif/Info.cpp b/Exif/Info.cpp +index be4c88f..9545360 100644 +--- Exif/Info.cpp ++++ Exif/Info.cpp +@@ -28,7 +28,8 @@ + #include + + #include +-#include ++#include ++#include + + using namespace Exif; + +-- +cgit v1.1 +