Skip to content
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

Correct desktop file missing in AppImage #10

Open
probonopd opened this issue Sep 10, 2017 · 10 comments
Open

Correct desktop file missing in AppImage #10

probonopd opened this issue Sep 10, 2017 · 10 comments
Assignees

Comments

@probonopd
Copy link

probonopd commented Sep 10, 2017

This is clearly wrong:

linux@linux:~> /home/linux/Downloads/ubunsys_2017.09.09.03-ubuntu_all_amd64.AppImage --appimage-extract '*.desktop'                                                     
squashfs-root/default.desktop

linux@linux:~> cat squashfs-root/default.desktop
[Desktop Entry]
Type=Application
Name=Application
Exec=AppRun %F
Icon=default
Comment=Edit this default file
Terminal=true

Please put the correct desktop file into the AppDir at usr/share/applications/ubunsys.desktop (If needed, change make install to do this), and delete all instances of default.desktop placeholders.

Please make sure that your desktop file passes desktop-file-validate without any errors and does not have any absolute paths, e.g., to /usr/bin or /usr/share.

Reference:
https://travis-ci.org/AppImage/appimage.github.io/builds/273757928#L721

@adgellida
Copy link
Owner

Ok, I'll see it soon. THX

@adgellida adgellida self-assigned this Mar 13, 2018
@adgellida
Copy link
Owner

adgellida commented May 5, 2020

Hi, @probonopd. I tried to appimager this app today correcting .dektop file, and is not possible for me. In the past manually yes.

1.Can you help me with travis method forking last commit like before? I want to use latest qt libs from the popular ppa.
2.Optional. Can you with snap and flatpak? Or give me a tutorial?

For now only debianize with launchpad.

Thanks in advance!!

@probonopd
Copy link
Author

I did this:
https://github.com/probonopd/ubunsys/blob/patch-3/.travis.yml

Cannot compile because it needs a compiler newer than what comes with Ubuntu xenial:
https://travis-ci.org/github/probonopd/ubunsys/builds/683555029

@adgellida
Copy link
Owner

What a quick answer! You live in git!!
Solution please?

@probonopd
Copy link
Author

You are welcome.
Suggested solution:
Develop and compile on Ubuntu xenial. Do not add ppas to the system.

@adgellida
Copy link
Owner

adgellida commented May 5, 2020

Exact steps without travis and 5.14.2 libs
Exact steps with travis and ppa:beineri/opt-qt-5.14.2-xenial

If there are errors the qt version selected may be 5.9.5 for example?

Please

This project compiled with 5.14.1

https://github.com/swl-x/MystiQ/blob/master/.travis.yml

How can I modify this travis.yml?
In the past with no success, depends of AppImageBuilder.yml also

@probonopd
Copy link
Author

Oh, you are interested in https://github.com/AppImageCrafters/appimage-builder. Then @azubieta should answer, because he knows best about it.

@azubieta
Copy link

azubieta commented May 5, 2020

@adgellida hi!
In the MystiQ AppImage recipe, I'm using the kde neon repository to fetch the latest Qt. It's also used to build the app binaries (this is quite important otherwise you can get different Qt versions bundled and that doesn't work). Besides that, you just have to replace the include list by your app dependencies.

Check the appimage-builder tutorial for a simple way of generating a recipe for your app.

Feel free to ask anything else you need.

@probonopd
Copy link
Author

probonopd commented May 5, 2020

Just to be clear, if you are using https://github.com/AppImageCrafters/appimage-builder then my comments from above regarding "Develop and compile on Ubuntu xenial. Do not add ppas to the system" do not apply because @azubieta found a clever solution that solves this. 👍

@adgellida
Copy link
Owner

Thanks, I'll try asap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants