public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/hugin/files/, media-gfx/hugin/
@ 2015-11-03 19:11 Markus Meier
  0 siblings, 0 replies; 4+ messages in thread
From: Markus Meier @ 2015-11-03 19:11 UTC (permalink / raw
  To: gentoo-commits

commit:     c3397c5cceda6c6e02e92cf9b9e64ca5854ade18
Author:     Markus Meier <maekke <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  3 19:10:42 2015 +0000
Commit:     Markus Meier <maekke <AT> gentoo <DOT> org>
CommitDate: Tue Nov  3 19:10:42 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3397c5c

remove old

Package-Manager: portage-2.2.23

 media-gfx/hugin/Manifest                           |   1 -
 .../hugin/files/hugin-2014.0.0-ParseExp.patch      | 527 ---------------------
 .../hugin/files/hugin-2014.0.0-lensfun-0.3.0.patch |  15 -
 media-gfx/hugin/hugin-2014.0.0-r1.ebuild           |  89 ----
 media-gfx/hugin/hugin-2014.0.0.ebuild              |  89 ----
 media-gfx/hugin/hugin-2015.0.0.ebuild              |  86 ----
 6 files changed, 807 deletions(-)

diff --git a/media-gfx/hugin/Manifest b/media-gfx/hugin/Manifest
index 84eaf33..34addc4 100644
--- a/media-gfx/hugin/Manifest
+++ b/media-gfx/hugin/Manifest
@@ -1,2 +1 @@
-DIST hugin-2014.0.0.tar.bz2 10974274 SHA256 f098aa0ede44010d3bb2bb38693177533fd776c45063a338c4c483d7e471ec29 SHA512 f4dd7a59f96d4574d420691d221265309d1ff18b7df04df2c2f0946f3d669e78823e2a53f038ac7bddaaf2037e21c45bf54f19d2a90ce9d5d95a836331e34ca5 WHIRLPOOL e8915454fcc5d54037289b0e91b8c441288706874891b72541414cad83556f6587d15d18be38405917da6c69b590121bc74a2ffa130bb9f1abea223c6fb1375d
 DIST hugin-2015.0.0.tar.bz2 10611519 SHA256 2cd93c110be95d439f9e68653f3738d059a26f5c28973f75475ef59cbaa2cbbd SHA512 bb2acf4dea80d43280778f67594dd1ddb0c2e186bcbaafe460fe47e0bd464ae2191b9b25344245e7267316e602ac2179cc838a0dcecb0d408c2206890a5ab6a2 WHIRLPOOL f9d47da7962a19894f323b85084fc7fda925ed5041188ffb1fbcea09ce7719baa7b26c95c66ec22139d24b683d6b1cba8b821949c166814e435efc5fc0e0a11e

diff --git a/media-gfx/hugin/files/hugin-2014.0.0-ParseExp.patch b/media-gfx/hugin/files/hugin-2014.0.0-ParseExp.patch
deleted file mode 100644
index 3ee0dee..0000000
--- a/media-gfx/hugin/files/hugin-2014.0.0-ParseExp.patch
+++ /dev/null
@@ -1,527 +0,0 @@
-Contains revisions 6407:917d117ba6b0 6597:5b768c308932 6688:dde84e96b755 6689:e237d6d1d873 of ParseExp.cpp/h
-
-diff -r 917d117ba6b0 -r e237d6d1d873 src/tools/ParseExp.cpp
---- a/src/tools/ParseExp.cpp	Sun Dec 15 18:20:14 2013 +0100
-+++ b/src/tools/ParseExp.cpp	Sat Sep 13 11:22:39 2014 +0200
-@@ -1,262 +1,246 @@
--// -*- c-basic-offset: 4 -*-
--
--/** @file ParseExp.cpp
-- *
-- *  @brief functions to parse expressions from strings
-- *
-- *  @author T. Modes
-- *
-- */
--
--/*  This program is free software; you can redistribute it and/or
-- *  modify it under the terms of the GNU General Public
-- *  License as published by the Free Software Foundation; either
-- *  version 2 of the License, or (at your option) any later version.
-- *
-- *  This software 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 this software; if not, write to the Free Software
-- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-- *
-- */
--
--// implementation is based on blog at
--// http://agentzlerich.blogspot.de/2011/06/using-boost-spirit-21-to-evaluate.html
--// modified to Hugins need
--// added if statement
--
--#include "ParseExp.h"
--
--#include <limits>
--#include <iterator>
--
--#include <boost/spirit/version.hpp>
--#if !defined(SPIRIT_VERSION) || SPIRIT_VERSION < 0x2010
--#error "At least Spirit version 2.1 required"
--#endif
--#include <boost/math/constants/constants.hpp>
--#include <boost/spirit/include/phoenix.hpp>
--#include <boost/spirit/include/qi.hpp>
--
--namespace Parser
--{
--
--// helper classes to implement operators
--
--//power function
--struct lazy_pow_
--{
--    template <typename X, typename Y>
--    struct result { typedef X type; };
--
--    template <typename X, typename Y>
--    X operator()(X x, Y y) const
--    {
--        return std::pow(x, y);
--    }
--};
--
--// modulus for double values
--struct lazy_mod_
--{
--    template <typename X, typename Y>
--    struct result { typedef X type; };
--
--    template <typename X, typename Y>
--    X operator()(X x, Y y) const
--    {
--        return std::fmod(x,y);
--    }
--};
--
--// if statement
--struct lazy_if_
--{
--    template <typename X, typename Y, typename Z>
--    struct result { typedef Y type; };
--
--    template <typename X, typename Y, typename Z>
--    X operator()(X x, Y y, Z z) const
--    {
--        return x ? y : z;
--    }
--};
--
--// wrapper for unary function
--struct lazy_ufunc_
--{
--    template <typename F, typename A1>
--    struct result { typedef A1 type; };
--
--    template <typename F, typename A1>
--    A1 operator()(F f, A1 a1) const
--    {
--        return f(a1);
--    }
--};
--
--// convert rad into deg
--double deg(const double d)
--{
--    return d*180.0/boost::math::constants::pi<double>();
--};
--
--// convert deg into rad
--double rad(const double d)
--{
--    return d*boost::math::constants::pi<double>()/180;
--};
--
--// the main grammar class
--struct grammar:boost::spirit::qi::grammar<std::string::const_iterator, double(), boost::spirit::ascii::space_type>
--{
--
--    // symbol table for constants like "pi", e.g. image number and value
--    struct constant_ : boost::spirit::qi::symbols<char, double>
--    {
--        constant_(const ConstantMap constMap)
--        {
--            this->add("pi", boost::math::constants::pi<double>());
--            if(constMap.size()>0)
--            {
--                for(ConstantMap::const_iterator it=constMap.begin(); it!=constMap.end(); it++)
--                {
--                    this->add(it->first, it->second); 
--                };
--            };
--        };
--    };
--
--    // symbol table for unary functions like "abs"
--    struct ufunc_  : boost::spirit::qi::symbols<char, double(*)(double) >
--    {
--        ufunc_()
--        {
--            this->add
--                ("abs"   , (double (*)(double)) std::abs  )
--                ("acos"  , (double (*)(double)) std::acos )
--                ("asin"  , (double (*)(double)) std::asin )
--                ("atan"  , (double (*)(double)) std::atan )
--                ("ceil"  , (double (*)(double)) std::ceil )
--                ("sin"   , (double (*)(double)) std::sin  )
--                ("cos"   , (double (*)(double)) std::cos  )
--                ("tan"   , (double (*)(double)) std::tan  )
--                ("exp"   , (double (*)(double)) std::exp  )
--                ("floor" , (double (*)(double)) std::floor)
--                ("sqrt"  , (double (*)(double)) std::sqrt )
--                ("deg"   , (double (*)(double)) deg  )
--                ("rad"   , (double (*)(double)) rad  )
--            ;
--        }
--    } ufunc;
--
--    boost::spirit::qi::rule<std::string::const_iterator, double(), boost::spirit::ascii::space_type> expression, term, factor, primary, compExpression, compTerm, numExpression;
--
--    grammar(const ConstantMap constMap) : grammar::base_type(expression)
--    {
--        using boost::spirit::qi::real_parser;
--        using boost::spirit::qi::real_policies;
--        real_parser<double,real_policies<double> > real;
--
--        using boost::spirit::qi::_1;
--        using boost::spirit::qi::_2;
--        using boost::spirit::qi::_3;
--        using boost::spirit::qi::no_case;
--        using boost::spirit::qi::_val;
--        struct constant_ constant(constMap);
--
--        boost::phoenix::function<lazy_pow_>   lazy_pow;
--        boost::phoenix::function<lazy_mod_>   lazy_mod;
--        boost::phoenix::function<lazy_if_>    lazy_if;
--        boost::phoenix::function<lazy_ufunc_> lazy_ufunc;
--
--        expression = 
--            (compExpression >> '\?' >> compExpression >> ':' >> compExpression) [_val = lazy_if(_1, _2, _3)]
--            | compExpression [_val=_1]
--            ;
--        
--        compExpression=
--            compTerm  [_val=_1]
--            >> * ( ("&&" >> compTerm [_val = _val && _1] )
--                  |("||" >> compTerm [_val = _val || _1] )
--                 )
--            ;
--
--        compTerm =
--            numExpression                [_val = _1        ]
--            >>*( ( '<'  >> numExpression [_val = _val <  _1])
--                |( '>'  >> numExpression [_val = _val >  _1])
--                |( "<=" >> numExpression [_val = _val <= _1])
--                |( ">=" >> numExpression [_val = _val >= _1])
--                |( "==" >> numExpression [_val = _val == _1])
--                |( "!=" >> numExpression [_val = _val != _1])
--               )
--            ;
--
--        numExpression =
--            term                   [_val =  _1]
--            >> *(  ('+' >> term    [_val += _1])
--                |  ('-' >> term    [_val -= _1])
--                )
--            ;
--
--        term =
--            factor                 [_val =  _1]
--            >> *(  ('*' >> factor  [_val *= _1])
--                |  ('/' >> factor  [_val /= _1])
--                |  ('%' >> factor  [_val = lazy_mod(_val, _1)])
--                )
--            ;
--
--        factor =
--            primary                [_val =  _1]
--            >> *(  ('^' >> factor [_val = lazy_pow(_val, _1)]) )
--            ;
--
--        primary =
--            real                   [_val =  _1]
--            |  '(' >> expression   [_val =  _1] >> ')'
--            |  ('-' >> primary     [_val = -_1])
--            |  ('+' >> primary     [_val =  _1])
--            |  no_case[constant]   [_val =  _1]
--            |  (no_case[ufunc] >> '(' >> expression >> ')') [_val = lazy_ufunc(_1, _2) ]
--            ;
--
--    };
--};
--
--//template <typename ParserType, typename Iterator>
--bool parse(std::string::const_iterator &iter,
--           std::string::const_iterator end,
--           const grammar &g,
--           double& result)
--{
--    if(!boost::spirit::qi::phrase_parse(iter, end, g, boost::spirit::ascii::space, result))
--    {
--        return false;
--    };
--    // we check if the full string could parsed
--    return iter==end;
--}
--
--// the function which exposes the interface to external
--// version without pre-defined constants 
--bool ParseExpression(const std::string& expression, double& result)
--{
--    ConstantMap constants;
--    return ParseExpression(expression, result, constants);
--};
--    
--// version with pre-defined constants
--bool ParseExpression(const std::string& expression, double& result, const ConstantMap& constants)
--{
--    grammar g(constants);
--    std::string::const_iterator it=expression.begin();
--    return parse(it, expression.end(), g, result);
--};
--
--} // namespace
-+// -*- c-basic-offset: 4 -*-
-+
-+/** @file ParseExp.cpp
-+ *
-+ *  @brief functions to parse expressions from strings
-+ *
-+ *  @author T. Modes
-+ *
-+ */
-+
-+/*  This program is free software; you can redistribute it and/or
-+ *  modify it under the terms of the GNU General Public
-+ *  License as published by the Free Software Foundation; either
-+ *  version 2 of the License, or (at your option) any later version.
-+ *
-+ *  This software 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 this software; if not, write to the Free Software
-+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-+ *
-+ */
-+
-+// implementation is based on blog at
-+// http://agentzlerich.blogspot.de/2011/06/using-boost-spirit-21-to-evaluate.html
-+// modified to Hugins need
-+// added if statement
-+
-+#include "ParseExp.h"
-+
-+#include <limits>
-+#include <iterator>
-+
-+#define BOOST_SPIRIT_USE_PHOENIX_V3 1
-+#include <boost/spirit/version.hpp>
-+#if !defined(SPIRIT_VERSION) || SPIRIT_VERSION < 0x2010
-+#error "At least Spirit version 2.1 required"
-+#endif
-+#include <boost/math/constants/constants.hpp>
-+#include <boost/spirit/include/phoenix.hpp>
-+#include <boost/spirit/include/qi.hpp>
-+
-+namespace Parser
-+{
-+
-+// helper classes to implement operators
-+
-+//power function
-+struct lazy_pow_
-+{
-+    typedef double result_type;
-+
-+    double operator()(double x, double y) const
-+    {
-+        return std::pow(x, y);
-+    }
-+};
-+
-+// modulus for double values
-+struct lazy_mod_
-+{
-+    typedef double result_type;
-+
-+    double operator()(double x, double y) const
-+    {
-+        return std::fmod(x,y);
-+    }
-+};
-+
-+// if statement
-+struct lazy_if_
-+{
-+    typedef double result_type;
-+
-+    double operator()(double x, double y, double z) const
-+    {
-+        return (std::fabs(x)>1e-5) ? y : z;
-+    }
-+};
-+
-+// wrapper for unary function
-+struct lazy_ufunc_
-+{
-+    typedef double result_type;
-+
-+    double operator()(double (*f)(double), double a1) const
-+    {
-+        return f(a1);
-+    }
-+};
-+
-+// convert rad into deg
-+const double deg(const double d)
-+{
-+    return d*180.0/boost::math::constants::pi<double>();
-+};
-+
-+// convert deg into rad
-+const double rad(const double d)
-+{
-+    return d*boost::math::constants::pi<double>()/180;
-+};
-+
-+// the main grammar class
-+struct grammar:boost::spirit::qi::grammar<std::string::const_iterator, double(), boost::spirit::ascii::space_type>
-+{
-+
-+    // symbol table for constants like "pi", e.g. image number and value
-+    struct constant_ : boost::spirit::qi::symbols<char, double>
-+    {
-+        constant_(const ConstantMap constMap)
-+        {
-+            this->add("pi", boost::math::constants::pi<double>());
-+            if (constMap.size()>0)
-+            {
-+                for (ConstantMap::const_iterator it = constMap.begin(); it != constMap.end(); it++)
-+                {
-+                    this->add(it->first, it->second);
-+                };
-+            };
-+        };
-+    };
-+
-+    // symbol table for unary functions like "abs"
-+    struct ufunc_ : boost::spirit::qi::symbols<char, double(*)(double) >
-+    {
-+        ufunc_()
-+        {
-+            this->add
-+                ("abs", (double(*)(double)) std::abs)
-+                ("acos", (double(*)(double)) std::acos)
-+                ("asin", (double(*)(double)) std::asin)
-+                ("atan", (double(*)(double)) std::atan)
-+                ("ceil", (double(*)(double)) std::ceil)
-+                ("sin", (double(*)(double)) std::sin)
-+                ("cos", (double(*)(double)) std::cos)
-+                ("tan", (double(*)(double)) std::tan)
-+                ("exp", (double(*)(double)) std::exp)
-+                ("floor", (double(*)(double)) std::floor)
-+                ("sqrt", (double(*)(double)) std::sqrt)
-+                ("deg", (double(*)(double)) deg)
-+                ("rad", (double(*)(double)) rad)
-+                ;
-+        }
-+    } ufunc;
-+
-+    boost::spirit::qi::rule<std::string::const_iterator, double(), boost::spirit::ascii::space_type> expression, term, factor, primary, compExpression, compTerm, numExpression;
-+
-+    grammar(const ConstantMap constMap) : grammar::base_type(expression)
-+    {
-+        using boost::spirit::qi::real_parser;
-+        using boost::spirit::qi::real_policies;
-+        real_parser<double, real_policies<double> > real;
-+
-+        using boost::spirit::qi::_1;
-+        using boost::spirit::qi::_2;
-+        using boost::spirit::qi::_3;
-+        using boost::spirit::qi::no_case;
-+        using boost::spirit::qi::_val;
-+        struct constant_ constant(constMap);
-+
-+        boost::phoenix::function<lazy_pow_>   lazy_pow;
-+        boost::phoenix::function<lazy_mod_>   lazy_mod;
-+        boost::phoenix::function<lazy_if_>    lazy_if;
-+        boost::phoenix::function<lazy_ufunc_> lazy_ufunc;
-+
-+        expression =
-+            (compExpression >> '\?' >> compExpression >> ':' >> compExpression)[_val = lazy_if(_1, _2, _3)]
-+            | compExpression[_val = _1]
-+            ;
-+
-+        compExpression =
-+            compTerm[_val = _1]
-+            >> *(("&&" >> compTerm[_val = _val && _1])
-+            | ("||" >> compTerm[_val = _val || _1])
-+            )
-+            ;
-+
-+        compTerm =
-+            numExpression[_val = _1]
-+            >> *(('<' >> numExpression[_val = _val <  _1])
-+            | ('>' >> numExpression[_val = _val >  _1])
-+            | ("<=" >> numExpression[_val = _val <= _1])
-+            | (">=" >> numExpression[_val = _val >= _1])
-+            | ("==" >> numExpression[_val = _val == _1])
-+            | ("!=" >> numExpression[_val = _val != _1])
-+            )
-+            ;
-+
-+        numExpression =
-+            term[_val = _1]
-+            >> *(('+' >> term[_val += _1])
-+            | ('-' >> term[_val -= _1])
-+            )
-+            ;
-+
-+        term =
-+            factor[_val = _1]
-+            >> *(('*' >> factor[_val *= _1])
-+            | ('/' >> factor[_val /= _1])
-+            | ('%' >> factor[_val = lazy_mod(_val, _1)])
-+            )
-+            ;
-+
-+        factor =
-+            primary[_val = _1]
-+            >> *(('^' >> factor[_val = lazy_pow(_val, _1)]))
-+            ;
-+
-+        primary =
-+            real[_val = _1]
-+            | '(' >> expression[_val = _1] >> ')'
-+            | ('-' >> primary[_val = -_1])
-+            | ('+' >> primary[_val = _1])
-+            | no_case[constant][_val = _1]
-+            | (no_case[ufunc] >> '(' >> expression >> ')')[_val = lazy_ufunc(_1, _2)]
-+            ;
-+
-+    };
-+};
-+
-+bool parse(std::string::const_iterator& iter,
-+           std::string::const_iterator end,
-+           const grammar& g,
-+           double& result)
-+{
-+    if(!boost::spirit::qi::phrase_parse(iter, end, g, boost::spirit::ascii::space, result))
-+    {
-+        return false;
-+    };
-+    // we check if the full string could parsed
-+    return iter==end;
-+}
-+
-+// version with pre-defined constants
-+bool ParseExpression(const std::string& expression, double& result, const ConstantMap& constants)
-+{
-+    grammar g(constants);
-+    std::string::const_iterator it=expression.begin();
-+    return parse(it, expression.end(), g, result);
-+};
-+
-+} // namespace
-diff -r 917d117ba6b0 -r e237d6d1d873 src/tools/ParseExp.h
---- a/src/tools/ParseExp.h	Sun Dec 15 18:20:14 2013 +0100
-+++ b/src/tools/ParseExp.h	Sat Sep 13 11:22:39 2014 +0200
-@@ -33,8 +33,7 @@
- {
- typedef std::map<const char*, double> ConstantMap;
- 
--bool ParseExpression(const std::string& expression, double& result);
--bool ParseExpression(const std::string& expression, double& result, const ConstantMap& constants);
-+bool ParseExpression(const std::string& expression, double& result, const ConstantMap& constants=ConstantMap());
- 
- };
- 

diff --git a/media-gfx/hugin/files/hugin-2014.0.0-lensfun-0.3.0.patch b/media-gfx/hugin/files/hugin-2014.0.0-lensfun-0.3.0.patch
deleted file mode 100644
index f60e686..0000000
--- a/media-gfx/hugin/files/hugin-2014.0.0-lensfun-0.3.0.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-https://bugs.gentoo.org/show_bug.cgi?id=524700
-
-diff -Naur hugin-2014.0.0.orig/src/hugin_base/lensdb/LensDB.cpp hugin-2014.0.0/src/hugin_base/lensdb/LensDB.cpp
---- hugin-2014.0.0.orig/src/hugin_base/lensdb/LensDB.cpp	2014-04-27 08:26:57.000000000 +0200
-+++ hugin-2014.0.0/src/hugin_base/lensdb/LensDB.cpp	2014-10-08 10:44:29.445076647 +0200
-@@ -620,7 +620,9 @@
-                 break;
-             case LF_DIST_MODEL_NONE:
-             case LF_DIST_MODEL_POLY5:
-+#ifdef LF_DIST_MODEL_FOV1
-             case LF_DIST_MODEL_FOV1:
-+#endif
-             default:
-                 return false;
-                 break;

diff --git a/media-gfx/hugin/hugin-2014.0.0-r1.ebuild b/media-gfx/hugin/hugin-2014.0.0-r1.ebuild
deleted file mode 100644
index 965c600..0000000
--- a/media-gfx/hugin/hugin-2014.0.0-r1.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-WX_GTK_VER="3.0"
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
-
-inherit base python-single-r1 wxwidgets versionator cmake-utils
-
-DESCRIPTION="GUI for the creation & processing of panoramic images"
-HOMEPAGE="http://hugin.sf.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2 SIFT"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-LANGS=" cs da de en_GB es eu fi fr hu it ja nl pl pt_BR ro ru sk sv zh_CN zh_TW"
-IUSE="debug lapack python sift $(echo ${LANGS//\ /\ linguas_})"
-
-CDEPEND="
-	!!dev-util/cocom
-	app-arch/zip
-	dev-cpp/tclap
-	>=dev-libs/boost-1.49.0-r1:=
-	dev-libs/zthread
-	>=media-gfx/enblend-4.0
-	media-gfx/exiv2:=
-	media-libs/freeglut
-	media-libs/glew:=
-	media-libs/lensfun
-	>=media-libs/libpano13-2.9.19_beta1:0=
-	media-libs/libpng:0=
-	media-libs/openexr:=
-	media-libs/tiff
-	sys-libs/zlib
-	virtual/jpeg
-	x11-libs/wxGTK:3.0=[X,opengl]
-	lapack? ( virtual/lapack )
-	sift? ( media-gfx/autopano-sift-C )"
-RDEPEND="${CDEPEND}
-	media-libs/exiftool"
-DEPEND="${CDEPEND}
-	sys-devel/gettext
-	virtual/pkgconfig
-	python? ( ${PYTHON_DEPS} >=dev-lang/swig-2.0.4 )"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)
-
-PATCHES=(
-	"${FILESDIR}"/${P}-lensfun-0.3.0.patch
-	"${FILESDIR}"/${P}-ParseExp.patch
-)
-
-pkg_setup() {
-	DOCS="authors.txt README TODO"
-	mycmakeargs=(
-		$(cmake-utils_use_enable lapack LAPACK)
-		$(cmake-utils_use_build python HSI)
-	)
-	use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-	sed \
-		-e 's:-O3::g' \
-		-i src/celeste/CMakeLists.txt || die
-	rm CMakeModules/{FindLAPACK,FindPkgConfig}.cmake || die
-
-	cmake-utils_src_prepare
-}
-
-src_install() {
-	cmake-utils_src_install
-	use python && python_optimize
-
-	for lang in ${LANGS} ; do
-		case ${lang} in
-			ca) dir=ca_ES;;
-			cs) dir=cs_CZ;;
-			*) dir=${lang};;
-		esac
-		use linguas_${lang} || rm -r "${D}"/usr/share/locale/${dir}
-	done
-}

diff --git a/media-gfx/hugin/hugin-2014.0.0.ebuild b/media-gfx/hugin/hugin-2014.0.0.ebuild
deleted file mode 100644
index 9a43a5b..0000000
--- a/media-gfx/hugin/hugin-2014.0.0.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-WX_GTK_VER="2.8"
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
-
-inherit base python-single-r1 wxwidgets versionator cmake-utils
-
-DESCRIPTION="GUI for the creation & processing of panoramic images"
-HOMEPAGE="http://hugin.sf.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2 SIFT"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-
-LANGS=" cs da de en_GB es eu fi fr hu it ja nl pl pt_BR ro ru sk sv zh_CN zh_TW"
-IUSE="debug lapack python sift $(echo ${LANGS//\ /\ linguas_})"
-
-CDEPEND="
-	!!dev-util/cocom
-	app-arch/zip
-	dev-cpp/tclap
-	>=dev-libs/boost-1.49.0-r1:=
-	dev-libs/zthread
-	>=media-gfx/enblend-4.0
-	media-gfx/exiv2:=
-	media-libs/freeglut
-	media-libs/glew:=
-	media-libs/lensfun
-	>=media-libs/libpano13-2.9.19_beta1:0=
-	media-libs/libpng:0=
-	media-libs/openexr:=
-	media-libs/tiff
-	sys-libs/zlib
-	virtual/jpeg
-	x11-libs/wxGTK:2.8=[X,opengl,-odbc]
-	lapack? ( virtual/lapack )
-	sift? ( media-gfx/autopano-sift-C )"
-RDEPEND="${CDEPEND}
-	media-libs/exiftool"
-DEPEND="${CDEPEND}
-	sys-devel/gettext
-	virtual/pkgconfig
-	python? ( ${PYTHON_DEPS} >=dev-lang/swig-2.0.4 )"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)
-
-PATCHES=(
-	"${FILESDIR}"/${P}-lensfun-0.3.0.patch
-	"${FILESDIR}"/${P}-ParseExp.patch
-)
-
-pkg_setup() {
-	DOCS="authors.txt README TODO"
-	mycmakeargs=(
-		$(cmake-utils_use_enable lapack LAPACK)
-		$(cmake-utils_use_build python HSI)
-	)
-	use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-	sed \
-		-e 's:-O3::g' \
-		-i src/celeste/CMakeLists.txt || die
-	rm CMakeModules/{FindLAPACK,FindPkgConfig}.cmake || die
-
-	cmake-utils_src_prepare
-}
-
-src_install() {
-	cmake-utils_src_install
-	use python && python_optimize
-
-	for lang in ${LANGS} ; do
-		case ${lang} in
-			ca) dir=ca_ES;;
-			cs) dir=cs_CZ;;
-			*) dir=${lang};;
-		esac
-		use linguas_${lang} || rm -r "${D}"/usr/share/locale/${dir}
-	done
-}

diff --git a/media-gfx/hugin/hugin-2015.0.0.ebuild b/media-gfx/hugin/hugin-2015.0.0.ebuild
deleted file mode 100644
index 0798df9..0000000
--- a/media-gfx/hugin/hugin-2015.0.0.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-WX_GTK_VER="2.8"
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
-
-inherit base python-single-r1 wxwidgets versionator cmake-utils
-
-DESCRIPTION="GUI for the creation & processing of panoramic images"
-HOMEPAGE="http://hugin.sf.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2 SIFT"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-LANGS=" ca@valencia ca_ES cs_CZ da de en_GB es eu fi fr hu it ja nl pl pt_BR ro ru sk sv zh_CN zh_TW"
-IUSE="debug lapack python sift $(echo ${LANGS//\ /\ linguas_})"
-
-CDEPEND="
-	!!dev-util/cocom
-	dev-db/sqlite:3
-	>=dev-libs/boost-1.49.0-r1:=
-	dev-libs/zthread
-	>=media-gfx/enblend-4.0
-	media-gfx/exiv2:=
-	media-libs/freeglut
-	media-libs/glew:=
-	>=media-libs/libpano13-2.9.19_beta1:0=
-	media-libs/libpng:0=
-	media-libs/openexr:=
-	media-libs/tiff:0
-	>=media-libs/vigra-1.9.0[openexr]
-	sci-libs/fftw:=
-	sys-libs/zlib
-	virtual/glu
-	virtual/jpeg:0
-	virtual/opengl
-	x11-libs/wxGTK:2.8=[X,opengl,-odbc]
-	lapack? ( virtual/blas virtual/lapack )
-	sift? ( media-gfx/autopano-sift-C )"
-RDEPEND="${CDEPEND}
-	media-libs/exiftool"
-DEPEND="${CDEPEND}
-	dev-cpp/tclap
-	sys-devel/gettext
-	virtual/pkgconfig
-	python? ( ${PYTHON_DEPS} >=dev-lang/swig-2.0.4 )"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)
-
-pkg_setup() {
-	DOCS="authors.txt README TODO"
-	mycmakeargs=(
-		$(cmake-utils_use_enable lapack LAPACK)
-		$(cmake-utils_use_build python HSI)
-	)
-	use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-	sed \
-		-e 's:-O3::g' \
-		-i src/celeste/CMakeLists.txt || die
-	rm CMakeModules/{FindLAPACK,FindPkgConfig}.cmake || die
-
-	cmake-utils_src_prepare
-}
-
-src_install() {
-	cmake-utils_src_install
-	use python && python_optimize
-
-	for lang in ${LANGS} ; do
-		case ${lang} in
-			ca@valencia) dir=ca_ES@valencia;;
-			*) dir=${lang};;
-		esac
-		use linguas_${lang} || rm -r "${D}"/usr/share/locale/${dir}
-	done
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/hugin/files/, media-gfx/hugin/
@ 2018-12-29 13:32 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2018-12-29 13:32 UTC (permalink / raw
  To: gentoo-commits

commit:     450cbf95fae0141740b2c9f74265220651ee8863
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 29 13:30:34 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Dec 29 13:31:44 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=450cbf95

media-gfx/hugin: Fix build with exiv2-0.27

Switch to eapi7-ver
Sync 9999 deps with 2018.0.0

Closes: https://bugs.gentoo.org/673730
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../hugin/files/hugin-2018.0.0-exiv2-0.27.patch    | 28 ++++++++++++++++++++++
 media-gfx/hugin/hugin-2018.0.0.ebuild              |  8 ++++---
 media-gfx/hugin/hugin-9999.ebuild                  |  7 +++---
 3 files changed, 37 insertions(+), 6 deletions(-)

diff --git a/media-gfx/hugin/files/hugin-2018.0.0-exiv2-0.27.patch b/media-gfx/hugin/files/hugin-2018.0.0-exiv2-0.27.patch
new file mode 100644
index 00000000000..23dd5428921
--- /dev/null
+++ b/media-gfx/hugin/files/hugin-2018.0.0-exiv2-0.27.patch
@@ -0,0 +1,28 @@
+--- a/src/hugin_base/panodata/Exiv2Helper.cpp
++++ b/src/hugin_base/panodata/Exiv2Helper.cpp
+@@ -29,6 +29,7 @@
+ #include "hugin_math/hugin_math.h"
+ #include "hugin_utils/utils.h"  
+ #include "exiv2/easyaccess.hpp"
++#include "exiv2/version.hpp"
+ 
+ namespace HuginBase
+ {
+@@ -232,7 +233,7 @@
+                     return false;
+                 };
+             };
+-#if EXIV2_TEST_VERSION(0,23,0)
++#if defined EXIV2_VERSION && EXIV2_VERSION >= EXIV2_MAKE_VERSION(0,23,0)
+             if (_getExiv2Value(exifData, "Exif.PentaxDng.RedBalance", val1) &&
+                 _getExiv2Value(exifData, "Exif.PentaxDng.BlueBalance", val2))
+             {
+@@ -563,7 +564,7 @@
+             std::string lensName;
+             // first we are reading LensModel in Exif section, this is only available
+             // with EXIF >= 2.3
+-#if EXIV2_TEST_VERSION(0,22,0)
++#if defined EXIV2_VERSION && EXIV2_VERSION >= EXIV2_MAKE_VERSION(0,22,0)
+             //the string "Exif.Photo.LensModel" is only defined in exiv2 0.22.0 and above
+             if(_getExiv2Value(exifData, "Exif.Photo.LensModel", lensName))
+ #else

diff --git a/media-gfx/hugin/hugin-2018.0.0.ebuild b/media-gfx/hugin/hugin-2018.0.0.ebuild
index 3b5e82f438d..cb72199b0eb 100644
--- a/media-gfx/hugin/hugin-2018.0.0.ebuild
+++ b/media-gfx/hugin/hugin-2018.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
 WX_GTK_VER="3.0"
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
-inherit python-single-r1 wxwidgets versionator cmake-utils
+inherit python-single-r1 wxwidgets cmake-utils eapi7-ver
 
 DESCRIPTION="GUI for the creation & processing of panoramic images"
 HOMEPAGE="http://hugin.sf.net"
@@ -55,7 +55,9 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DOCS=( authors.txt README TODO )
 
-S=${WORKDIR}/${PN}-$(get_version_component_range 1-2).0
+PATCHES=( "${FILESDIR}/${P}-exiv2-0.27.patch" )
+
+S=${WORKDIR}/${PN}-$(ver_cut 1-2).0
 
 pkg_setup() {
 	use python && python-single-r1_pkg_setup

diff --git a/media-gfx/hugin/hugin-9999.ebuild b/media-gfx/hugin/hugin-9999.ebuild
index 8615f1c5a0b..c46a552195e 100644
--- a/media-gfx/hugin/hugin-9999.ebuild
+++ b/media-gfx/hugin/hugin-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
 WX_GTK_VER="3.0"
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
-inherit mercurial python-single-r1 wxwidgets versionator cmake-utils
+inherit mercurial python-single-r1 wxwidgets cmake-utils eapi7-ver
 
 DESCRIPTION="GUI for the creation & processing of panoramic images"
 HOMEPAGE="http://hugin.sf.net"
@@ -36,6 +36,7 @@ CDEPEND="
 	media-libs/tiff:0
 	>=media-libs/vigra-1.11.0[openexr]
 	sci-libs/fftw:3.0=
+	sci-libs/flann
 	sys-libs/zlib
 	virtual/glu
 	virtual/jpeg:0
@@ -56,7 +57,7 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DOCS=( authors.txt README TODO )
 
-S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)
+S=${WORKDIR}/${PN}-$(ver_cut 1-2).0
 
 pkg_setup() {
 	use python && python-single-r1_pkg_setup


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/hugin/files/, media-gfx/hugin/
@ 2019-05-21 12:37 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2019-05-21 12:37 UTC (permalink / raw
  To: gentoo-commits

commit:     daef89acb5955fe9bb48930cadf883626b2fa7e2
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue May 21 12:32:40 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue May 21 12:37:29 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daef89ac

media-gfx/hugin: Drop 2018.0.0

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-gfx/hugin/Manifest                           |  1 -
 .../hugin/files/hugin-2018.0.0-exiv2-0.27.patch    | 28 -------
 media-gfx/hugin/hugin-2018.0.0.ebuild              | 91 ----------------------
 3 files changed, 120 deletions(-)

diff --git a/media-gfx/hugin/Manifest b/media-gfx/hugin/Manifest
index 84f352f2ed7..2b21a77fe5b 100644
--- a/media-gfx/hugin/Manifest
+++ b/media-gfx/hugin/Manifest
@@ -1,2 +1 @@
-DIST hugin-2018.0.0.tar.bz2 9838518 BLAKE2B dc6d786e4e6a298d4dd4e48b2c42f9c9c297b4c431fbc00fa9090f129a4633f599e222402aef1f2a467aa9b498d356f3bbaca9548954cf697d331950afa6693a SHA512 30061f4af695137f349526272e8c3c2f1f6a167305acb32466a30629c46dabea3818bc2c3a77b6102fcb67aa390a803cdc5ba8d8a2ecc6065f88726392529cbc
 DIST hugin-2019.0.0.tar.bz2 10297887 BLAKE2B 59c4df340f01dc7fa72c08b575fe2449ac40b96ac2e925aaef0d7804df54db25df7b5901cb25a5da4d8e78c93c668081d535517c275cd1ccb40f5159e1c725e5 SHA512 49e945523c290a6bf33f265cd9e29343442a056248fc09aeb15ebb1f4197510c25ff8201b5520a9ed8fcac2342eda8b8fa65b9b82ff3930084546e1fc228d9a5

diff --git a/media-gfx/hugin/files/hugin-2018.0.0-exiv2-0.27.patch b/media-gfx/hugin/files/hugin-2018.0.0-exiv2-0.27.patch
deleted file mode 100644
index 23dd5428921..00000000000
--- a/media-gfx/hugin/files/hugin-2018.0.0-exiv2-0.27.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- a/src/hugin_base/panodata/Exiv2Helper.cpp
-+++ b/src/hugin_base/panodata/Exiv2Helper.cpp
-@@ -29,6 +29,7 @@
- #include "hugin_math/hugin_math.h"
- #include "hugin_utils/utils.h"  
- #include "exiv2/easyaccess.hpp"
-+#include "exiv2/version.hpp"
- 
- namespace HuginBase
- {
-@@ -232,7 +233,7 @@
-                     return false;
-                 };
-             };
--#if EXIV2_TEST_VERSION(0,23,0)
-+#if defined EXIV2_VERSION && EXIV2_VERSION >= EXIV2_MAKE_VERSION(0,23,0)
-             if (_getExiv2Value(exifData, "Exif.PentaxDng.RedBalance", val1) &&
-                 _getExiv2Value(exifData, "Exif.PentaxDng.BlueBalance", val2))
-             {
-@@ -563,7 +564,7 @@
-             std::string lensName;
-             // first we are reading LensModel in Exif section, this is only available
-             // with EXIF >= 2.3
--#if EXIV2_TEST_VERSION(0,22,0)
-+#if defined EXIV2_VERSION && EXIV2_VERSION >= EXIV2_MAKE_VERSION(0,22,0)
-             //the string "Exif.Photo.LensModel" is only defined in exiv2 0.22.0 and above
-             if(_getExiv2Value(exifData, "Exif.Photo.LensModel", lensName))
- #else

diff --git a/media-gfx/hugin/hugin-2018.0.0.ebuild b/media-gfx/hugin/hugin-2018.0.0.ebuild
deleted file mode 100644
index 5c87262440f..00000000000
--- a/media-gfx/hugin/hugin-2018.0.0.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-WX_GTK_VER="3.0"
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
-
-inherit python-single-r1 wxwidgets cmake-utils eapi7-ver
-
-DESCRIPTION="GUI for the creation & processing of panoramic images"
-HOMEPAGE="http://hugin.sf.net"
-SRC_URI="mirror://sourceforge/${PN}/${P/_/}.tar.bz2"
-
-LICENSE="GPL-2+ BSD BSD-2 MIT wxWinLL-3 ZLIB FDL-1.2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-LANGS=" ca ca-valencia cs da de en-GB es eu fi fr hu it ja nl pl pt-BR ro ru sk sv zh-CN zh-TW"
-IUSE="debug lapack python sift $(echo ${LANGS//\ /\ l10n_})"
-
-CDEPEND="
-	!!dev-util/cocom
-	dev-db/sqlite:3
-	dev-libs/boost:=
-	dev-libs/zthread
-	>=media-gfx/enblend-4.0
-	media-gfx/exiv2:=
-	media-libs/freeglut
-	media-libs/glew:=
-	>=media-libs/libpano13-2.9.19_beta1:0=
-	media-libs/libpng:0=
-	media-libs/openexr:=
-	media-libs/tiff:0
-	>=media-libs/vigra-1.11.0[openexr]
-	sci-libs/fftw:3.0=
-	sci-libs/flann
-	sys-libs/zlib
-	virtual/glu
-	virtual/jpeg:0
-	virtual/opengl
-	x11-libs/wxGTK:3.0=[X,opengl]
-	lapack? ( virtual/blas virtual/lapack )
-	python? ( ${PYTHON_DEPS} )
-	sift? ( media-gfx/autopano-sift-C )"
-RDEPEND="${CDEPEND}
-	media-libs/exiftool"
-DEPEND="${CDEPEND}
-	dev-cpp/tclap
-	sys-devel/gettext
-	virtual/pkgconfig
-	python? ( >=dev-lang/swig-2.0.4 )"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DOCS=( authors.txt README TODO )
-
-PATCHES=( "${FILESDIR}/${P}-exiv2-0.27.patch" )
-
-S=${WORKDIR}/${PN}-$(ver_cut 1-2).0
-
-pkg_setup() {
-	use python && python-single-r1_pkg_setup
-	setup-wxwidgets
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DBUILD_HSI=$(usex python)
-		-DENABLE_LAPACK=$(usex lapack)
-	)
-	cmake-utils_src_configure
-}
-
-src_install() {
-	cmake-utils_src_install
-	use python && python_optimize
-
-	local lang
-	for lang in ${LANGS} ; do
-		case ${lang} in
-			ca) dir=ca_ES;;
-			ca-valencia) dir=ca_ES@valencia;;
-			cs) dir=cs_CZ;;
-			*) dir=${lang/-/_};;
-		esac
-		if ! use l10n_${lang} ; then
-			rm -r "${ED%/}"/usr/share/locale/${dir} || die
-		fi
-	done
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/hugin/files/, media-gfx/hugin/
@ 2024-05-28  1:06 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2024-05-28  1:06 UTC (permalink / raw
  To: gentoo-commits

commit:     d265543f19147b95fa12ddb4ad4b131213116400
Author:     Branko Grubic <bitlord0xff <AT> gmail <DOT> com>
AuthorDate: Mon May 27 20:51:22 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 28 01:04:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d265543f

media-gfx/hugin: Fixes build with boost >=1.85

Closes: https://bugs.gentoo.org/932315
Signed-off-by: Branko Grubic <bitlord0xff <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36855
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/hugin/files/boost-1.85-932315.patch | 25 +++++++++++++++++++++++++
 media-gfx/hugin/hugin-2023.0.0-r1.ebuild      |  3 +++
 2 files changed, 28 insertions(+)

diff --git a/media-gfx/hugin/files/boost-1.85-932315.patch b/media-gfx/hugin/files/boost-1.85-932315.patch
new file mode 100644
index 000000000000..e8fc5c2daa1f
--- /dev/null
+++ b/media-gfx/hugin/files/boost-1.85-932315.patch
@@ -0,0 +1,25 @@
+# HG changeset patch
+# User tmodes
+# Date 1710260877 -3600
+#      Tue Mar 12 17:27:57 2024 +0100
+# Node ID 4d081490b48aaff820cee7601b8624b37b652c06
+# Parent  4b55f17c4e72d6c2f8b4930e3367ff52e1741b45
+Fixed deprecated boost::filesystem::copy_option enum
+
+diff -r 4b55f17c4e72 -r 4d081490b48a src/hugin_base/hugin_utils/filesystem.h
+--- a/src/hugin_base/hugin_utils/filesystem.h	Tue Mar 12 17:27:29 2024 +0100
++++ b/src/hugin_base/hugin_utils/filesystem.h	Tue Mar 12 17:27:57 2024 +0100
+@@ -64,6 +64,12 @@
+     #endif
+     #include <boost/filesystem.hpp>
+     namespace fs = boost::filesystem;
+-    #define OVERWRITE_EXISTING boost::filesystem::copy_option::overwrite_if_exists
++    #if BOOST_VERSION>=107400
++      // in Boost 1.74 and later filesystem::copy_option is deprecated
++      // use filesystem::copy_options instead
++      #define OVERWRITE_EXISTING boost::filesystem::copy_options::overwrite_existing
++    #else
++      #define OVERWRITE_EXISTING boost::filesystem::copy_option::overwrite_if_exists
++    #endif
+ #endif
+ #endif // _HUGIN_UTILS_FILESYSTEM_H

diff --git a/media-gfx/hugin/hugin-2023.0.0-r1.ebuild b/media-gfx/hugin/hugin-2023.0.0-r1.ebuild
index 4587f91ae7d5..40c4d46a93f6 100644
--- a/media-gfx/hugin/hugin-2023.0.0-r1.ebuild
+++ b/media-gfx/hugin/hugin-2023.0.0-r1.ebuild
@@ -62,6 +62,9 @@ pkg_setup() {
 }
 
 src_prepare() {
+	# Fix build with boost >=1.85
+	eapply "${FILESDIR}/boost-1.85-932315.patch"
+
 	sed -i \
 		-e "/COMMAND.*GZIP/d" \
 		-e "s/\.gz//g" \


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-05-28  1:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-03 19:11 [gentoo-commits] repo/gentoo:master commit in: media-gfx/hugin/files/, media-gfx/hugin/ Markus Meier
  -- strict thread matches above, loose matches on Subject: below --
2018-12-29 13:32 Andreas Sturmlechner
2019-05-21 12:37 Andreas Sturmlechner
2024-05-28  1:06 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox