Re: Bad link for downloads; Apple Silicon

2021-02-24 Thread Marcus Mikulcak
What works, as of now, is an Apple Silicon-native build of LyX. What I
unfortunately haven't cracked yet - thanks to QT - is building a universal
binary.

Marcus

On Wed, Feb 24, 2021 at 12:30 AM Stephan Witt  wrote:

> Am 18.02.2021 um 06:56 schrieb list_em...@icloud.com:
> >
> > On the LyX download page, I believe the link for macOS Legacy 2.3.6.2
> points to the wrong place. The link is
> >
> >
> https://ftp.lip6.fr/pub/lyx/bin/2.3.6/LyX-2.3.6.2+qt5-12-x86_64-cocoa.dmg
> >
> > and I think it should be
> >
> >
> https://ftp.lip6.fr/pub/lyx/bin/2.3.6/LyX-2.3.6.2+qt5-legacy-x86_64-cocoa.dmg
> .
> >
> > BTW, what is “legacy?” I gather it is made using an older version of the
> macOS frameworks. If so, THANK YOU for doing this. My Mac refuses to break
> and I refuse to buy a new until it does (or Apple Silicon comes in my size)
> and Apple doesn’t support a newer OS so I’m stuck at macOS 10.11.6.
> >
> > Since we’re on the subject, what is the future of LyX on Apple Silicon?
> Rosetta 2? Native? Qt issues?
>
> There is work in progress to make LyX on Apple Silicon available as native
> application. ATM it should work with Rosetta 2.
>
> Stephan
> --
> lyx-devel mailing list
> lyx-devel@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel
>
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Compile LyX on Apple Silicon / arm64

2021-01-19 Thread Marcus Mikulcak
Hi Stephan,

looking around for a way to create universal binaries for arm64/x86_64
outside of XCode I've stumbled onto this project here:
https://github.com/tpoechtrager/osxcross
If it works the way the Readme makes it sound, it should be fairly simple
to create a universal binary in the existing LyX build environment. I'll
try to find some time to play around with it a little over the next few
days!

I only had to make the tiniest change in LyX-Mac-binary-release.sh to get
it to run on Big Sur (macos SDK version 10.x vs. 11.x). I attached a patch
for it.

Best regards,
Marcus

On Sun, Jan 17, 2021 at 10:50 PM Stephan Witt  wrote:

> Hi Marcus,
>
> thank you for your message and the good news.
>
> I’d be very glad to see your changes to the build script for Mac.
>
> My plan regarding LyX for ARM CPU is to create a universal binary with
> Intel and ARM architecture. In the past we did this with PowerPC and Intel.
> I’d guess one can do this with the current Xcode and (cross) compile Qt and
> LyX (plus all helper frameworks we’re using) on one system architecture for
> both target systems.
>
> I’m not sure how difficult this is - but it should be doable.
>
> Best regards,
> Stephan
>
> > Am 17.01.2021 um 21:36 schrieb Marcus Mikulcak <
> marcus.mikul...@gmail.com>:
> >
> > Hi everybody,
> >
> > a few days ago I posted this message on lyx-users but was told that this
> list might be the better place for it. Here goes:
> >
> > a few months ago (November, I think?) somebody raised the question of
> LyX on Apple Silicon, how and whether it would run. As I've been using a
> LyX version that I've compiled from source (with a feature included by
> Jürgen Spitzmüller that's so far only in master - thanks again!), I was
> anxious to find out whether LyX would compile for arm64. Long story short:
> It does!
> >
> > I had to fiddle with the Mac development release script a bit to get it
> to run on Big Sur, but no major problems there either.
> >
> > If I can be of any help in testing or during the release process, just
> let me know! I'd be very happy to help.
> >
> > The last sentence stands: If I can be of any help in testing LyX on
> Apple Silicon or even in preparing a universal binary for release or
> anything like that, just me know!
> >
> > Best regards,
> > Marcus
> >
> > --
> > lyx-devel mailing list
> > lyx-devel@lists.lyx.org
> > http://lists.lyx.org/mailman/listinfo/lyx-devel
>
>


sdk_version.patch
Description: Binary data
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Compile LyX on Apple Silicon / arm64

2021-01-17 Thread Marcus Mikulcak
Hi everybody,

a few days ago I posted this message on lyx-users but was told that this
list might be the better place for it. Here goes:

a few months ago (November, I think?) somebody raised the question of LyX
on Apple Silicon, how and whether it would run. As I've been using a LyX
version that I've compiled from source (with a feature included by Jürgen
Spitzmüller that's so far only in master - thanks again!), I was anxious to
find out whether LyX would compile for arm64. Long story short: It does!

I had to fiddle with the Mac development release script a bit to get it to
run on Big Sur, but no major problems there either.

If I can be of any help in testing or during the release process, just
let me know! I'd be very happy to help.


The last sentence stands: If I can be of any help in testing LyX on Apple
Silicon or even in preparing a universal binary for release or anything
like that, just me know!

Best regards,
Marcus
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel