From owner-svn-ports-all@freebsd.org Fri Mar 29 18:44:21 2019 Return-Path: Delivered-To: svn-ports-all@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 DACE0154E7FA; Fri, 29 Mar 2019 18:44:20 +0000 (UTC) (envelope-from rakuco@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 7D78F739A9; Fri, 29 Mar 2019 18:44:20 +0000 (UTC) (envelope-from rakuco@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 4EA6A2D38; Fri, 29 Mar 2019 18:44:20 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2TIiK4q087747; Fri, 29 Mar 2019 18:44:20 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2TIiJoX087745; Fri, 29 Mar 2019 18:44:19 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201903291844.x2TIiJoX087745@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rakuco set sender to rakuco@FreeBSD.org using -f From: Raphael Kubo da Costa Date: Fri, 29 Mar 2019 18:44:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r497176 - in head/graphics/gwenview: . files X-SVN-Group: ports-head X-SVN-Commit-Author: rakuco X-SVN-Commit-Paths: in head/graphics/gwenview: . files X-SVN-Commit-Revision: 497176 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 7D78F739A9 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)[-0.998,0]; NEURAL_HAM_SHORT(-0.96)[-0.962,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-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Mar 2019 18:44:21 -0000 Author: rakuco Date: Fri Mar 29 18:44:19 2019 New Revision: 497176 URL: https://svnweb.freebsd.org/changeset/ports/497176 Log: Backport a few changes to enable exceptions in all files that use libexiv. This is required after the recent exiv2 update to 0.27, as exiv requires a build with exceptions enabled, and KDE disables exceptions by default. This fixes the build with GCC (for some reason, clang doesn't complain that code that uses exceptions is built with -fno-exceptions). PR: 236849 Added: head/graphics/gwenview/files/patch-git_b81eed1dc (contents, props changed) head/graphics/gwenview/files/patch-git_fe0dbadae (contents, props changed) Modified: head/graphics/gwenview/Makefile Modified: head/graphics/gwenview/Makefile ============================================================================== --- head/graphics/gwenview/Makefile Fri Mar 29 18:10:40 2019 (r497175) +++ head/graphics/gwenview/Makefile Fri Mar 29 18:44:19 2019 (r497176) @@ -2,7 +2,7 @@ PORTNAME= gwenview DISTVERSION= ${KDE_APPLICATIONS_VERSION} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics kde kde-applications MAINTAINER= kde@FreeBSD.org Added: head/graphics/gwenview/files/patch-git_b81eed1dc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/gwenview/files/patch-git_b81eed1dc Fri Mar 29 18:44:19 2019 (r497176) @@ -0,0 +1,38 @@ +commit b81eed1dc4d879f06d651ea0954bee1b46c7947e +Author: Stefan BrĂ¼ns +Date: Sat Dec 29 23:39:30 2018 +0100 + + Compile more files with enabled exceptions, required for exiv2 0.27 + + Summary: + The (exception based) error handling is now pulled in by e.g. image.hpp, + so more files require enabled exception handling. + + Depends on D17872 + + Test Plan: build + + Reviewers: #gwenview, ngraham, cfeck, asturmlechner + + Reviewed By: #gwenview, ngraham + + Subscribers: wbauer, lbeltrame + + Tags: #gwenview + + Differential Revision: https://phabricator.kde.org/D17873 + +--- lib/CMakeLists.txt ++++ lib/CMakeLists.txt +@@ -224,6 +224,11 @@ kde_source_files_enable_exceptions( + exiv2imageloader.cpp + imagemetainfomodel.cpp + timeutils.cpp ++ cms/cmsprofile.cpp ++ document/abstractdocumentimpl.cpp ++ document/document.cpp ++ document/loadingdocumentimpl.cpp ++ jpegcontent.cpp + ) + + ki18n_wrap_ui(gwenviewlib_SRCS Added: head/graphics/gwenview/files/patch-git_fe0dbadae ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/gwenview/files/patch-git_fe0dbadae Fri Mar 29 18:44:19 2019 (r497176) @@ -0,0 +1,32 @@ +commit fe0dbadaecc596eb05004e01334cbed0b5323f24 +Author: Timo Gurr +Date: Wed Feb 20 09:21:10 2019 -0700 + + Compile tests files with enabled exceptions, required for exiv2 0.27 + + Summary: This is a follow up of https://cgit.kde.org/gwenview.git/patch/?id=b81eed1dc4d879f06d651ea0954bee1b46c7947e to also make the tests build withour running into errors when building against exiv2 0.27. + + Reviewers: #gwenview, ngraham + + Reviewed By: #gwenview, ngraham + + Subscribers: ngraham, #gwenview + + Tags: #gwenview + + Differential Revision: https://phabricator.kde.org/D19169 + +--- tests/auto/CMakeLists.txt ++++ tests/auto/CMakeLists.txt +@@ -9,6 +9,11 @@ macro(gv_add_unit_test _test) + add_dependencies(buildtests ${_test}) + endmacro(gv_add_unit_test) + ++kde_source_files_enable_exceptions( ++ documenttest.cpp ++ imagemetainfomodeltest.cpp ++) ++ + include_directories( + ${gwenview_SOURCE_DIR} + ${importer_SOURCE_DIR}