timeshift
timeshift copied to clipboard
Unable to compile from source code
Unable to compile from source With the given notes I am unable to configure the source to build this on my non-Debian non-RH systems. I use a mix of non-systemd distros that I build packages to suit the installer for each OS distro so the package is easy to remove if required.
Describe the solution Clear and concise instructions to configure and build this from source file. and please include the dependencies required to get a successful build!
Describe alternatives considered Using the prebuilt binary, though I prefer to use the original source if possible as its far quicker and easier to admin in the OS packaging system.
Additional context have a look here for example on how to write instructions on compiling from source https://www.enlightenment.org/download
cheers and thanks for writing timeshift!
@teejee2008 i am facing the same issue. Can you please provide instructions on how to compile this from source? I want to use an older version that still supports using my nfs mounted backup destination but i'm not able to compile it right now because it's not a simple make dist-deb (as the makefile suggests). Instead i had to install multiple packages and now eventually gave up after some digging.
EDIT: I found compiling could be done in docker rather easily:
docker run -it --rm -e DEBIAN_FRONTEND=noninteractive -e TZ=Etc/UTC -v $HOME/timeshift-21.09.1:/timeshift -w /timeshift/src ubuntu:20.04 bash -c 'apt update && apt install -y make gettext valac libvte-2.91-dev libgee-0.8-dev libjson-glib-dev && make app-console && make app-gtk'
This should present you with Compilation succeeded - X warning(s) eventually.
It considers that you downloaded the timeshift 21.09.1 release into your home directory and unpacked it into the timeshift-21.09.1 folder.
Couldn't find a way to package it the way it seems to be meant though because the build-release command was not found (and try to google something that generic 😉). build-deb can be found here though: https://github.com/rsm-gh/build-deb
@russelld58 not sure, but maybe you are still interested in the compiling instructions?