-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Flatpak version #5017
Comments
Hey, thanks for working on this! Sadly, we are no "Flatpack guys" ourselves so we won't be able to maintain the package either. It would probably make more sense if someone who's experienced in maintaining Flatpack packages would take care of that. Would you be willing to get in touch with Flatpack members to get this added as an unofficial package? |
Uff I am kind of on top with all of my projects my self. Lets see if someone else is willing to look into this first. |
All right, I opened up a pull request at flathub: |
I am making a flatpak at https://github.com/A6GibKm/flathub/tree/org.electrum.electrum, will push soon. |
I made a PR to flathub flathub/flathub#1102. |
A 256x256 (or a scalable svg) icon should be added upstream. I am not sure if flathub can be builded without one. The setup.py invoked the variable Any chance of including the appdata in the distributed electrum? This is part of he freedesktop spec and many distros use it. |
I get an error.
|
i have an issue with flatpak version,
Could you please include trezorlib? maybe as an extension if not everyone needs it? |
How do you add it to electrum? |
The simplest way is to build [full] instead of [fast] (in build command), I'm not sure how to make it an extension though, I never found a documentation. |
I am having problems adding cython, any help would be appreciated. |
what error do you get? I managed to build it actually. |
Note that things are different when building a flatpak. |
I can successfully build cython with this module
|
For some reason I can't even build id: org.electrum.electrum
runtime: org.freedesktop.Platform
sdk: org.freedesktop.Sdk
runtime-version: "19.08"
command: electrum
finish-args:
- --socket=x11
- --socket=pulseaudio
- --device=dri
- --share=ipc
- --share=network
modules:
- name: python3-cython
buildsystem: simple
build-commands:
- pip3 install --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} cython
sources:
- type: file
url: "https://files.pythonhosted.org/packages/d9/82/d01e767abb9c4a5c07a6a1e6f4d5a8dfce7369318d31f48a52374094372e/Cython-0.29.15.tar.gz"
sha256: 60d859e1efa5cc80436d58aecd3718ff2e74b987db0518376046adedba97ac30
|
Please lets discuss this here flathub/org.electrum.electrum#6 |
@bauerj @theScrabi since there is already a working flatpak build at flathub/org.electrum.electrum this issue should be closed. |
Hay guys, I had to learn for finals, so I'm procrastinating and wrote a flatpak build file for electrum.
It is not quite 100% working yet as you can not open the open file dialog in the release version, but the rest is working so far. I am not going to send it as a Pullrequest here since buildfiles do not belong into this repository, but in one over at flathub.
Thus the buildfiles are stored in this zip file here:
flatpak_buildfile.zip
This is what the README.md in the file is saying:
Electrum flatpak buildfile
flatpak install org.kde.Sdk//5.12 org.kde.Platform//5.12
flatpak-builder build-dir org.electrum.electrum.json
. Sometiems you have to installeu-strip
command before it can compile.flatpak-builder --run build-dir org.electrum.electrum.json electrum
Known issues: In the installed app you cann not open the file diealog since it is showing
If you are willing to put this into flathub.org you may want to get a repostiroy for the buildfiles here. You may also add a manifest and other stuff before releasing.
Please node that I am not a flatpak guy and not capable of maintaining this script. Please get in contatct with flathub members instead.
The text was updated successfully, but these errors were encountered: