-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
Installers and Packaging #481
Comments
tested on Manjaro Linux, all went OK (except the "launcher" option which is in fact "xdg-install") |
Thanks for testing. Yes, I rewrote the launcher installer and used the proper xdg tools, so it made sense to rename it. The README is updated, but the text here is out of date. I'll update it. |
This comment has been minimized.
This comment has been minimized.
Hi @singlebunglemrbungle, I moved your report to a separate issue thread on #805. Please see my response there. Thanks! |
@vkbo Hi. Have you considered packaging novelWriter using one of the Linux distro-agnostic methods, such as Flatpak (via Flathub) or AppImage? While the minimal package works fine for me, I am hesitant to rely on a program which does not receive automated updates, which seems like a return to Windows-like dark age of application updates. I understand it is likely unfeasible for you to package the program for all the various distros, and since Flatpaks and AppImages run on virtually all modern distros, this increase the reach of novelWriter and reduce troubleshooting and dependency issues (since all dependencies are generally included into Flatpaks). |
Hi! AppImage has already been added in #1092 thanks to @Ryex, and will be available from release 1.7 RC 1, which will arrive soon. I did not backport it to the recent 1.6.3 release. I'm not sure how auto-updates are done in AppImage though. I tend to avoid those sort of distributions myself. For Debian/Ubuntu, it is on Launchpad, and I've been tinkering with rpm-packages from time to time. Eventually I will get it done too. For Mac, I still need help since I have no access to a Mac of any kind, and for Windows I have added back the setup.exe installer without using any of the packaging tools which tend to send low-end virus software panicking. I should update the main post here to reflect these changes. |
That's good to hear. AppImages can self-update without a centralised repository, the relevant documentation is here. |
IMHO it's preferred to allow the user to download updated AppImage files. This way they can have multiple versions of an application concurrently on the system. In general I'm leery of automatic application updates because if it goes wrong the user has to figure out how to fix the mess. I am in favor of applications checking for an update and offer to download it. But the user has to decide to switch to it and delete the old version. |
@johnblommers If you open the link I provided above, all of those points are addressed by the 'Recommended user experience' section. |
@ak-42 in theory it's as simple as lettings us pass through an EDIT: It seems the likely solution will be to use linuxdeploy with it's conda plugin... It makes things much messier though. EDIT 2: |
As for MacOS the same project has a script for making dmg's turns out that's a relatively simple process so long as you know how to make an Running this kind of script in an OSX ci workflow on github should work to make a working dmg but it will need to be verified by someone with a working Mac. |
Yeah, I have looked into packaging for mac, but to be honest, since I don't have access to one, I am reluctant to release something I cannot verify. I have an old VM with an older macos that I used to tweak some of the code for mac, but it's no longer usable for proper testing beyond that. Making all of these packages also takes a lot of time. Setting up the debian build was a huge job, and I have spent a massive amount of time redoing the Windows installer in various ways. It takes up a lot of the time I have available for developing the actual app. I'm hoping someone would take on releasing for mac and rpm. Life would have been so much simpler if pip also worked properly for GUI apps ... |
well, good news. turns out is dead simple to run a macOS VM via docker with https://github.com/sickcodes/Docker-OSX I have a working VM with macOS 10.15 now and I'm completely willing to work on a packaging script for it your interested |
Sure, that would be great! |
AppImages have been implemented. and flatpak may be added, and anyway has a separate ticket at #1651. I'm closing this old discussion thread. |
Updated on 22 August 2022
I've spent quite some time writing and rewriting the
setup.py
script to make it easier to install and run novelWriter.novelWriter is released to pip, and can be installed from there on all platforms supported by pip and Python.
Windows
The
setup.py
script can create a single file executable installer for Windows, with dependencies and Python embedded. The installer is unsigned though, which raises a warning. I'm looking for an inexpensive way to sign the packages like I can for Ubuntu. A minimal package release is also available with some simple batch scripts for install/uninstall.Linux
For Ubuntu, Debian and Mint, the debian packages can be installed directly or via Launchpad. AppImages are available from release 1.7. RPM-package releases are needed, see #907. A minimal package release is also available for manual install. Direct local setup from
setup.py
is also possible.macOS
I know too little about macs to attempt anything related to packaging of novelWriter for macOS. Some assistance would be appreciated here. See the help wanted task #867.
The text was updated successfully, but these errors were encountered: