-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Binary builds for other Linux distros #393
Comments
I have tested building mogan flatpak package with sqlitebrowser's manifest as reference. It could work but remains some problems:
As for AppImage, I haven't tested it but it should be easy to configure CI to build an AppImage bundle. |
No. For Mogan v1.1.2, we are trying to set to default Chinese font to Noto CJK. |
Since #447, Fandol is not required on GNU/Linux. |
A Flatpak build would be great. It would make Mogan much more visible on Linux. One more issue to think about is how to run plugins: we'd need to detect binaries and spawn them on the host system. This is a similar problem to what IDEs face when they want to run tools from outside the flatpak sandbox. There are some tools, |
Flatpak is Red Hat centric and not installed by default on Debian-based Linux distros, for example. For reference, both JetBrains Toolbox and Theia IDE provide AppImage and not Flatpak for their Linux users. I think it's a shame that Mogan switched from Autotools to Xmake; otherwise, it's a simple |
It is user's own choice to install Flatpak, Snap, or neither on distros without them pre-installed -- this does not mean that Flatpak is "incompatible" or "unsuitable" for non-RHEL/Fedora distros. Linux Mint, as a Debian-based Linux distro, pre-installs Flatpak. I'm also using Flatpak on Arch Linux and it does not have any issue.
Devs have the right to choose how their software shall be officially distributed. Though JetBrains IDEs (GoLand, DataGrip, PyCharm...) are already on FlatHub by third-party maintainers. |
Because they're not enforced by most distros, most people just don't learn to use them. AppImage, from my perspective as a user, is simpler: just add the executable bit and run it. Also, when an application is installed through Flatpak or Snap, the directory layout is different from those installed using the system package managers, so it's another context switch for the average Linux users. I'm offering my opinion on the path of least resistance to technically resolve this issue. I don't think the devs should spend too much time on platform availability at this stage of the product cycle, when Mogan hasn't yet proven itself to be unquestionably preferable to TeXmacs, especially when its only save file format, TMU, is not currently interoperable with TeXmacs. |
https://github.com/XmacsLabs/mogan/blob/main/docs/Install.en.md#gnulinux only has instructions for Arch Linux (AUR) and openSUSE (OBS), which may hinder users of other distros to use mogan.
It's troublesome to build packages separately for every distro. However, now there are some methods to build cross-distro packages, such as Flatpak and AppImage.
flatpak install mogan
, or through graphical apps like GNOME software or KDE discover.chmod +x
and run.The text was updated successfully, but these errors were encountered: