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

Feature Request: Easier installation with yad bundled #373

Closed
o-bri opened this issue Dec 9, 2021 · 27 comments
Closed

Feature Request: Easier installation with yad bundled #373

o-bri opened this issue Dec 9, 2021 · 27 comments

Comments

@o-bri
Copy link

o-bri commented Dec 9, 2021

Is it possible for you, to make the installation on Ubuntu and derivates easier?

My son was interested in stl but he was driven away by the uneasy yad installation. Shouldn't it be possible, to just have a binary version of yad that comes with steamtinkerlaunch?
So that one can just do "sudo make install" on Ubuntu and derivates too? All the other dependencies are easy to install and mostly installed anyways.

Steamtinkerlaunch seems to be really a great tool and thanks for sharing your work with others for free. I think it could be more widely used, if it was easier to install (I know, it is easy when the aur is available).

@frostworx
Copy link
Collaborator

short answer:

Sorry, no. Not my job.

long answer:
Sorry, no.

It is generally not the job of development upstream to provide packages for any distribution.
In some cases, they provide packages for the distribution they use themselves, but that is usually basically everything.
In this case, it would not even be my own package to provide packages for, but yad.
You could try to as yad upstream, if they want to provide ubuntu (or whatever other distro) packages, but likely you will get more or less the same answer.

Users who use one specific distro which is lacking any package they are interested in should either provide a package themselves or try to encourage a package maintainer to do so.
I already did much more than most devs would do to make life easier for people using "yad free" distributions.
You might want to read my yad wiki entry for details, which basically answers the question as well.

Of course anybody who is willing to contribute to the project by providing packages for their distribution is still welcome.

I'll leave this open for a while for general discussion, hoping it attracts someone willing to help.

@frostworx

This comment has been minimized.

@o-bri

This comment has been minimized.

@frostworx

This comment has been minimized.

@frostworx
Copy link
Collaborator

someone pointed out on discord that the 3rd part appimage has undefined symbols, which I could reproduce.
Initially I disabled the functions using the appimage,
but I just played some minutes with building a new yad appimage and it was pretty easy with the tools kadogo provided (after some minor modifications) (see this issue)
I might host a new appimage binary here https://github.com/frostworx/steamtinkerlaunch-tweaks/releases
but it will be unsupported (and likely unmaintained as well) from my end.

reopening, as I'm curious if people are actually willing to help keeping this updated

@frostworx frostworx reopened this Dec 13, 2021
@frostworx
Copy link
Collaborator

fyi: kadogo/easy-builder#12

@TassieDevyl
Copy link

TassieDevyl commented Dec 14, 2021

I would be interested in attempting it.
Though I haven't done anything quite like this before.
If I can get one successful build, then sure I will keep on with it.
It's likely I would need to ask questions from time to time if thats ok?

@frostworx
Copy link
Collaborator

Thanks for the kind offer, @TaliesinEmrys.
I haven't rolled any AppImages before as well, but it was pretty straightforward using the scripts.
Sure feel free to ask anytime, can't promise that I can of any help regarding AppImages though ;)

@o-bri

This comment has been minimized.

@frostworx
Copy link
Collaborator

Indeed it is not complicated.
I don't know that error, but did you actually try what yad upstream suggested in the url you posted?
what were your configure parameters?
depending on what you used as PREFIX=, make install should have installed
share/glib-2.0/schemas/yad.gschema.xml into that PREFIX.
Sp I guess a valid command for PREFIX="/usr" would be
lib-compile-schemas /usr/share/glib-2.0/schemas/

you know that appimage above is a working workaround already for using yad on your yad-free distribution, right?

@TassieDevyl
Copy link

TassieDevyl commented Dec 15, 2021

Hallo frostworx.
I'll attempt my first yad appimage build using kadogo's easy-builder later on today or tomorrow time permitting.
Once question for the yad build if I may.
Do I use the yad-10.1.tar.xz or one of the source options.
Newbie question, sorry.

@o-bri

This comment has been minimized.

@frostworx
Copy link
Collaborator

Hallo @TaliesinEmrys :)
You might want to try with my fork of kadogos easy-builder, as it has some minor fixes.
Creating an AppImage is pretty much straightforward:

  • checkout the repo (or my fork)
  • cd easy-builder/yad/
  • (check dependencies.sh or execute it if using a debian/ubuntu derivate for installing yad dependencies)
  • ./build.sh (this pulls yad from git and compiles it, which probably answers your question)
  • ./download-linuxdeploy.sh downloads a binary from this repo, required for the AppImage
  • ./create-appimage.sh (this creates the AppImage within the ./git/ directory)

Good luck so far! :)

@frostworx

This comment has been minimized.

@o-bri

This comment has been minimized.

@kadogo
Copy link

kadogo commented Dec 18, 2021

I'm a bit late to the issue, but I have merged the changes of frostworx

@frostworx
Copy link
Collaborator

Thanks, @kadogo! 👍

@kadogo
Copy link

kadogo commented Dec 18, 2021

Welcome @frostworx ^^

I also updated the AppImage, but I still build it against Debian stretch, so let me know if I need to build it against buster or to have multiple releases. If there is maybe a "command" for testing the AppImage I can test it too

@frostworx
Copy link
Collaborator

Good to see you're still here, @kadogo :)
I could add another option for steamtinkerlaunch yad ai where you could either provide a yad AppImage

  • download url or
  • absolute local path

What do you think?

@kadogo
Copy link

kadogo commented Dec 18, 2021

I think it's a good idea, it will let people only change the "path" for yad or instead download the binary that you provide or from another source.

It's best to wait, the thought of other peoples, but I only see benefit for these features ^^

@frostworx
Copy link
Collaborator

Snippet from the upcoming yad wiki:

AppImage

The ai or appimage command line option accepts multiple options:

steamtinkerlaunch yad aicurrent default AppImage is downloaded/used from here
steamtinkerlaunch yad ai /path/to/a/local/yad-appimagesets the absolute path as yad command
steamtinkerlaunch yad ai http/s/urlmultiple options:

  • valid URL
    • the URL ends with AppImage → the filename will be used from the URL
    • the URL does not end with AppImage → the filename will be created from Yad-$(date +%Y%m%d)-x86_64.AppImage
  • invalid URL → the failed download won't be accepted, leaving currently set yad command untouched

steamtinkerlaunch yad ai /path/to/an/unusable/fileignored, leaving currently set yad command untouched
steamtinkerlaunch yad ai /invalid/absolute/pathskipped and current default AppImage is downloaded/used

  • the default destination directory for downloads is ~/config/steamtinkerlaunch/downloads/yadappimage/
  • the default AppImage download is sha512sum checked

@frostworx
Copy link
Collaborator

I just pushed the new options with this commit
and updated the wiki accordingly. have fun!

@frostworx
Copy link
Collaborator

hey @TaliesinEmrys, did you have success?

@TassieDevyl
Copy link

Yes I did thankyou it worked successfully.
Followed your above instructions to the letter.
Sorry for the late reply.

@frostworx
Copy link
Collaborator

Great to hear!

@frostworx
Copy link
Collaborator

Seems like this can be closed...

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

4 participants