From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] hugin: Fix build
Date: Thu, 07 Nov 2019 04:09:29 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-16191@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 354 bytes --]
There is a new pull request by ndowens against master on the void-packages repository
https://github.com/ndowens/void-packages hugin
https://github.com/void-linux/void-packages/pull/16191
hugin: Fix build
Fixes conflict between exiv2
and wxWidgets/CMake built
A patch file from https://github.com/void-linux/void-packages/pull/16191.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hugin-16191.patch --]
[-- Type: text/x-diff, Size: 5145 bytes --]
From dbc119c91e1829fa1436aeaec2c8600009a68a1f Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Wed, 6 Nov 2019 20:11:06 -0600
Subject: [PATCH] hugin: Fix build
Fixes conflict between exiv2
and wxWidgets/CMake built
---
.../0001-Correct-exiv2-conflicts.patch | 118 ++++++++++++++++++
srcpkgs/hugin/template | 2 +-
2 files changed, 119 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/hugin/patches/0001-Correct-exiv2-conflicts.patch
diff --git a/srcpkgs/hugin/patches/0001-Correct-exiv2-conflicts.patch b/srcpkgs/hugin/patches/0001-Correct-exiv2-conflicts.patch
new file mode 100644
index 00000000000..d1b2d694b89
--- /dev/null
+++ b/srcpkgs/hugin/patches/0001-Correct-exiv2-conflicts.patch
@@ -0,0 +1,118 @@
+From e6b350ff0ae13314aff2991381beb8731d2c30be Mon Sep 17 00:00:00 2001
+From: Nathan Owens <ndowens04@gmail.com>
+Date: Wed, 6 Nov 2019 19:48:39 -0600
+Subject: [PATCH] Correct exiv2 conflicts
+
+---
+ src/hugin1/hugin/AboutDialog.cpp | 2 +-
+ src/hugin1/hugin/PanoOperation.cpp | 3 +--
+ src/hugin1/hugin/RawImport.cpp | 5 +----
+ src/hugin1/hugin/TextureManager.cpp | 3 +--
+ src/hugin1/ptbatcher/FindPanoDialog.cpp | 3 +--
+ src/hugin_base/panodata/Exiv2Helper.cpp | 3 +--
+ src/hugin_base/panodatsrcPanoImage.cpp | 4 +---
+ 7 files changed, 7 insertions(+), 16 deletions(-)
+
+diff --git src/hugin1/hugin/AboutDialog.cpp src/hugin1/hugin/AboutDialog.cpp
+index 5603957..d1291aa 100755
+--- src/hugin1/hugin/AboutDialog.cpp
++++ src/hugin1/hugin/AboutDialog.cpp
+@@ -42,7 +42,7 @@ extern "C"
+ // workaround for a conflict between exiv2 and wxWidgets/CMake built
+ #define HAVE_PID_T 1
+ #endif
+-#include "exiv2/exiv2.hpp"
++#include <exiv2/exiv2.hpp>
+ #include "lensdb/LensDB.h"
+ #include "sqlite3.h"
+ #include <lcms2.h>
+diff --git src/hugin1/hugin/PanoOperation.cpp src/hugin1/hugin/PanoOperation.cpp
+index cf7a6c3..7a3f0d7 100755
+--- src/hugin1/hugin/PanoOperation.cpp
++++ src/hugin1/hugin/PanoOperation.cpp
+@@ -36,8 +36,7 @@
+ // workaround for a conflict between exiv2 and wxWidgets/CMake built
+ #define HAVE_PID_T 1
+ #endif
+-#include <exiv2/exif.hpp>
+-#include <exiv2/image.hpp>
++#include <exiv2/exiv2.hpp>
+ #include "base_wx/LensTools.h"
+ #include "base_wx/wxLensDB.h"
+ #include "hugin/ResetDialog.h"
+diff --git src/hugin1/hugin/RawImport.cpp src/hugin1/hugin/RawImport.cpp
+index 2dd4eb9..73bb143 100755
+--- src/hugin1/hugin/RawImport.cpp
++++ src/hugin1/hugin/RawImport.cpp
+@@ -35,10 +35,7 @@
+ // workaround for a conflict between exiv2 and wxWidgets/CMake built
+ #define HAVE_PID_T 1
+ #endif
+-#include <exiv2/exif.hpp>
+-#include <exiv2/image.hpp>
+-#include <exiv2/easyaccess.hpp>
+-#include <exiv2/xmpsidecar.hpp>
++#include <exiv2/exiv2.hpp>
+ #ifdef __WXMSW__
+ #include <wx/msw/registry.h>
+ #endif
+diff --git src/hugin1/hugin/TextureManager.cpp src/hugin1/hugin/TextureManager.cpp
+index 0d2f5da..9a0822a 100755
+--- src/hugin1/hugin/TextureManager.cpp
++++ src/hugin1/hugin/TextureManager.cpp
+@@ -65,8 +65,7 @@
+ // workaround for a conflict between exiv2 and wxWidgets/CMake built
+ #define HAVE_PID_T 1
+ #endif
+-#include "exiv2/exiv2.hpp"
+-#include "exiv2/preview.hpp"
++#include <exiv2/exiv2.hpp>
+
+ TextureManager::TextureManager(HuginBase::Panorama *pano, ViewState *view_state_in)
+ {
+diff --git src/hugin1/ptbatcher/FindPanoDialog.cpp src/hugin1/ptbatcher/FindPanoDialog.cpp
+index 64774fb..96cd762 100755
+--- src/hugin1/ptbatcher/FindPanoDialog.cpp
++++ src/hugin1/ptbatcher/FindPanoDialog.cpp
+@@ -36,8 +36,7 @@
+ // workaround for a conflict between exiv2 and wxWidgets/CMake built
+ #define HAVE_PID_T 1
+ #endif
+-#include "exiv2/exiv2.hpp"
+-#include "exiv2/preview.hpp"
++#include <exiv2/exiv2.hpp>
+ #ifdef _WIN32
+ #include <commctrl.h>
+ #endif
+diff --git src/hugin_base/panodata/Exiv2Helper.cpp src/hugin_base/panodata/Exiv2Helper.cpp
+index bc4c12a..09c6e46 100755
+--- src/hugin_base/panodata/Exiv2Helper.cpp
++++ src/hugin_base/panodata/Exiv2Helper.cpp
+@@ -28,8 +28,7 @@
+ #include "Exiv2Helper.h"
+ #include "hugin_math/hugin_math.h"
+ #include "hugin_utils/utils.h"
+-#include "exiv2/easyaccess.hpp"
+-#include "exiv2/version.hpp"
++#include <exiv2/exiv2.hpp>
+
+ namespace HuginBase
+ {
+diff --git src/hugin_base/panodata/SrcPanoImage.cpp src/hugin_base/panodata/SrcPanoImage.cpp
+index cc6a565..8484dd9 100755
+--- src/hugin_base/panodata/SrcPanoImage.cpp
++++ src/hugin_base/panodatsrcPanoImage.cpp
+@@ -40,9 +40,7 @@
+ #include <vigra/diff2d.hxx>
+ #include <vigra/imageinfo.hxx>
+ #include <hugin_utils/utils.h>
+-#include <exiv2/exif.hpp>
+-#include <exiv2/image.hpp>
+-#include <exiv2/easyaccess.hpp>
++#include <exiv2/exiv2.hpp>
+ #include <lensdb/LensDB.h>
+ #include "Exiv2Helper.h"
+
+--
+2.24.0
+
diff --git a/srcpkgs/hugin/template b/srcpkgs/hugin/template
index 30da9961814..15b3947a036 100644
--- a/srcpkgs/hugin/template
+++ b/srcpkgs/hugin/template
@@ -1,7 +1,7 @@
# Template file for 'hugin'
pkgname=hugin
version=2019.0.0
-revision=1
+revision=2
wrksrc="${pkgname}-${version}"
build_style=cmake
pycompile_module="hpi.py hsi.py"
next reply other threads:[~2019-11-07 3:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-07 3:09 voidlinux-github [this message]
2019-11-07 11:04 ` [PR PATCH] [Merged]: " voidlinux-github
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-16191@inbox.vuxu.org \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).