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

Build instructions missing or not working #241

Open
resuna opened this issue Oct 29, 2023 · 6 comments
Open

Build instructions missing or not working #241

resuna opened this issue Oct 29, 2023 · 6 comments

Comments

@resuna
Copy link

resuna commented Oct 29, 2023

Describe the bug
Can not build timeshift because of dependency hell in meson. Build instructions in README.md are completely pants.

To Reproduce
Steps to reproduce the behavior:

  1. Start with a pretty much virgin Ubuntu 22.04.3 and need to install timeshift from source because the version with the fix for unmounting /run/timeshift/backup when finished doesn't seem to be in any repos.
  2. Try to build timeshift using instructions in README.md. Failed because no makefile.
  3. git checkout 23.07.01 just in case I need the latest released version
  4. No change
  5. See there is a meson configuration.
  6. Repeatedly apt install bits required by meson using meson quickstart guide.
  7. meson setup builddir
  8. Install cmake and xapp using apt
  9. meson setup builddir
  10. Complains it can't find xapp
  11. Augh

Expected behavior
Starting with README.md and INSTALL one should find instructions that are at least good enough to build timeshift on the latest Ubuntu LTS. If there is a good release, that should be tagged and documented in Releases, or something.

Alternatively, "apt install timeshift" should just DTRT. If I need to do some package repo juggling to get that, is that documented anywhere?

System:

  • Linux Distribution Name and Version: Ubuntu LTS 22.04.3
  • Desktop Not relevant
  • Application Version 23.7.01
@yegorich
Copy link
Contributor

@yegorich
Copy link
Contributor

The dependecies can also be installed via the following command:

sudo apt build-dep timeshift

@resuna
Copy link
Author

resuna commented Oct 29, 2023

Perhaps the bits of INSTALL and README.md that tell you to use make and make install should be removed, or replaced by references to development.md?

@resuna
Copy link
Author

resuna commented Oct 29, 2023

Well, now that I have it installed, it seems to have broken the previously working timeshift GUI. I have gotten the command line working, but that is a little inconvenient.

OK, running "sudo timeshift-gtk" works but whatever the ubuntu desktop is doing to run it doesn't.

@yegorich
Copy link
Contributor

yegorich commented Oct 29, 2023

There is already a related PR #226

@m10d
Copy link

m10d commented Oct 30, 2023

The dependecies can also be installed via the following command:

sudo apt build-dep timeshift

On ubuntu 20.04 this fails with:

$ sudo apt build-dep timeshift
Reading package lists... Done
E: You must put some 'deb-src' URIs in your sources.list

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

No branches or pull requests

3 participants