timeshift: update to 20.03.
This commit is contained in:
parent
c108cde97c
commit
b9ca348c02
2 changed files with 2 additions and 32 deletions
|
@ -1,26 +0,0 @@
|
|||
From 1eb8fe02137b95f384508c676af20adaeac31971 Mon Sep 17 00:00:00 2001
|
||||
From: wesaphzt <45947243+wesaphzt@users.noreply.github.com>
|
||||
Date: Wed, 11 Sep 2019 11:39:29 +0000
|
||||
Subject: [PATCH] Update AsyncTask.vala
|
||||
|
||||
Fix error when building from source
|
||||
Utility/AsyncTask.vala:76.2-76.17: error: Creation method of abstract class cannot be public.
|
||||
public AsyncTask(){
|
||||
^^^^^^^^^^^^^^^^
|
||||
---
|
||||
src/Utility/AsyncTask.vala | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/Utility/AsyncTask.vala b/src/Utility/AsyncTask.vala
|
||||
index f5504e8..0bbc85f 100644
|
||||
--- src/Utility/AsyncTask.vala
|
||||
+++ src/Utility/AsyncTask.vala
|
||||
@@ -73,7 +73,7 @@ public abstract class AsyncTask : GLib.Object{
|
||||
public signal void stderr_line_read(string line);
|
||||
public signal void task_complete();
|
||||
|
||||
- public AsyncTask(){
|
||||
+ protected AsyncTask(){
|
||||
working_dir = TEMP_DIR + "/" + timestamp_for_path();
|
||||
script_file = path_combine(working_dir, "script.sh");
|
||||
log_file = path_combine(working_dir, "task.log");
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'timeshift'
|
||||
pkgname=timeshift
|
||||
version=19.08.1
|
||||
version=20.03
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
conf_files="/etc/default/timeshift.json"
|
||||
|
@ -12,14 +12,10 @@ maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|||
license="GPL-3.0-or-later"
|
||||
homepage="http://www.teejeetech.in/p/timeshift.html"
|
||||
distfiles="https://github.com/teejee2008/timeshift/archive/v${version}.tar.gz"
|
||||
checksum=ab56331f97c1616b889e69adccedeca06f0150e964eea631b52c9bd399f77604
|
||||
checksum=6516150481fc3e69c090ff25426e85d99d10035949446368918076b19335b391
|
||||
|
||||
# Remove hard-dep on crontab, leave up to user to decide
|
||||
post_extract() {
|
||||
sed -i '/dependencies/s:"crontab",::' src/Core/Main.vala
|
||||
sed -i 's:--thread:& Core/AppExcludeEntry.vala:' src/makefile
|
||||
}
|
||||
|
||||
post_install() {
|
||||
rm "${DESTDIR}/usr/bin/timeshift-uninstall"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue