Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jan 2022 07:16:53 +0000
From:      Alexey Dokuchaev <danfe@freebsd.org>
To:        Adriaan de Groot <adridg@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: bb2ef4e129b0 - main - converters/pdf2djvu: switch to C++17 for upcoming poppler, -XMP option
Message-ID:  <YeuvZQ7D/F7w9V0j@FreeBSD.org>
In-Reply-To: <202201212141.20LLfqss049304@gitrepo.freebsd.org>
References:  <202201212141.20LLfqss049304@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 21, 2022 at 09:41:52PM +0000, Adriaan de Groot wrote:
> commit bb2ef4e129b0adb327e14abbc012e1cd39cea56d
>
>  converters/pdf2djvu: switch to C++17 for upcoming poppler, -XMP option
>  
>  This is a "fix-it-before-it-breaks" commit.
>  
>  The issue is the upcoming updating for graphics/poppler. It *requires*
>  consumers to be C++17 or later. Previously it was ok with C++11 or
>  later. However, graphics/exiv2 is incompatible with C++17 in many
>  ways; there's work on a new release that is compatible, but that's
>  not out yet and not really applicable to the exiv2 version found
>  in ports.

While C++ itself is the main offender here, `graphics/poppler', being
popular dependency used alongside with other popular dependencies,
should have not demanded C++17 for precisely those reasons, its just
unrealistic to expect everyone ready for C++$YEAR-5 standard.  In my
ports I always try to lower (and builg against) minimal C++ standard
that doesn't require too much patching.

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YeuvZQ7D/F7w9V0j>