Package: deja-dup
Version: 44.0-2
Severity: wishlist

Dear Maintainer,

The attached patch enables support for restic that is present in
upstream since version 43. 

*** debian/patches/Enable-support-for-restic-0.14.patch
From: Jacob Greenleaf <ja...@jacobgreenleaf.com>
Date: Wed, 12 Apr 2023 06:02:07 -0700
Subject: Enable support for restic 0.14+

Beginning with deja-dup 43, experimental support for restic as an
optional alternative to borg has been merged into upstream and can be
enabled with the enable_restic config flag. Beginning with deja-dup 44
if restic is used it must be 0.14+ (propagating the breaking change
made in restic 0.14 for repository version 2 for copmression).

This patch enables building with restic enabled to allow using
restic. Note that users also need to opt-in to use restic through a
new "Labs" tab, this flag merely enables the option for the user to do
so. As such, adds restic and rclone to Recommends. If the user hasn't
installed restic or rclone, they will be prompted to install them
using the existing packagekit integration.
---
 debian/control    | 2 +-
 debian/control.in | 2 +-
 debian/rules      | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 14cde49..8b1ae24 100644
--- a/debian/control
+++ b/debian/control
@@ -34,7 +34,7 @@ Homepage: https://launchpad.net/deja-dup
 Package: deja-dup
 Architecture: any
 Depends: duplicity (>= 0.7.14), ${misc:Depends}, ${shlibs:Depends}
-Recommends: gvfs-backends, packagekit, policykit-1
+Recommends: gvfs-backends, packagekit, policykit-1, restic (>= 0.14),
rclone
 Suggests: python3-pydrive2
 Description: Backup utility
  Déjà Dup is a simple backup tool. It hides the complexity of backing
up the
diff --git a/debian/control.in b/debian/control.in
index 92493f4..14059f7 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -30,7 +30,7 @@ Homepage: https://launchpad.net/deja-dup
 Package: deja-dup
 Architecture: any
 Depends: duplicity (>= 0.7.14), ${misc:Depends}, ${shlibs:Depends}
-Recommends: gvfs-backends, packagekit, policykit-1
+Recommends: gvfs-backends, packagekit, policykit-1, restic (>= 0.14),
rclone
 Suggests: python3-pydrive2
 Description: Backup utility
  Déjà Dup is a simple backup tool. It hides the complexity of backing
up the
diff --git a/debian/rules b/debian/rules
index 020145d..8cc0cdc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,5 +10,6 @@ override_dh_auto_configure:
        dh_auto_configure -- \
                           -Dgvfs_pkgs=gvfs-backends,python3-gi,gir1.2-
glib-2.0 \
                           -Dpackagekit=enabled \
+                          -Denable_restic=true \
                           -Dpydrive_pkgs=python3-pydrive2 \
                           -Drequests_oauthlib_pkgs=python3-requests-
oauthlib


-- System Information:
Debian Release: 12.0
  APT prefers bookworm-security
  APT policy: (500, 'bookworm-security'), (500, 'bookworm')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-7-amd64 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages deja-dup depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.40.0-4
ii  duplicity                                    0.8.22-1+b3
ii  libadwaita-1-0                               1.2.2-1
ii  libc6                                        2.36-8
ii  libglib2.0-0                                 2.74.6-1
ii  libgpg-error0                                1.46-1
ii  libgtk-4-1                                   4.8.3+ds-2
ii  libjson-glib-1.0-0                           1.6.6-1
ii  libpackagekit-glib2-18                       1.2.6-3
ii  libpango-1.0-0                               1.50.12+ds-1
ii  libsecret-1-0                                0.20.5-3
ii  libsoup-3.0-0                                3.2.2-2

Versions of packages deja-dup recommends:
ii  gvfs-backends  1.50.3-1
ii  packagekit     1.2.6-3
ii  policykit-1    122-3

Versions of packages deja-dup suggests:
pn  python3-pydrive2  <none>

-- no debconf information

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to