Apply downstream macport patch?

Stephan Witt st.witt at gmx.net
Tue Dec 6 23:41:26 UTC 2022


Am 07.12.2022 um 00:38 schrieb Stephan Witt <st.witt at gmx.net>:
> 
> Am 04.12.2022 um 16:28 schrieb Scott Kostyshak <skostysh at lyx.org>:
>> 
>> On Thu, Dec 01, 2022 at 05:35:43PM +0100, Jean-Marc Lasgouttes wrote:
>>> Le 01/12/2022 à 16:25, Scott Kostyshak a écrit :
>>>> The following is a patch that (I think?) macports applies. I don't
>>>> understand it at all, but is it something we want?
>>>> 
>>>> https://github.com/macports/macports-ports/blob/master/aqua/LyX/files/patch-lyx-linkbackserver-older-nsalert.diff
>>>> 
>>>> Does 101200 correspond to a macOS version that we will support for 2.4.0?
> 
> The patch ensures to compile and link LyX for macOS versions before 10.12 (Sierra as of 2016) (10.11 is El Capitan).
> 
> The use of these systems is not recommended, AFAIK.
> 
>>> This closes the following ticket
>>> https://trac.macports.org/ticket/61108
>> 
>> Stephan, any thoughts?
> 
> Yes.
> 
> 1. IMO, the link back server is a problem with Apple sandbox strategy in general.
> See e.g. https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg200962.html
> 
> 2. I cannot see any movement with the project.
> https://www.linkbackproject.org/about/
> 
> 3. E.g. Qt 5.12 don’t support macos less than 10.12 too
> https://doc.qt.io/archives/qt-5.12/macos.html
> 
> I think this patch isn’t critical - but it wouldn’t hurt either.

BTW: If I try to build LyX 2.4 with minimum os version 10.11 I get this:

/Users/lyx/git/lyx/src/insets/ExternalTransforms.cpp:334:20: error: 'any_cast<std::__1::function<std::__1::unique_ptr<const lyx::external::TransformOption, std::__1::default_delete<const
      lyx::external::TransformOption> > (std::__1::basic_string<char>)> >' is unavailable: introduced in macOS 10.14
        Factory factory = any_cast<Factory>(any_factory);

Stephan


More information about the lyx-devel mailing list