5

This is both my first question here and my first try to build a custom app for Ubuntu, so I hope I'm not messing it up :)

I want to modify Deja Dup app to make AWS S3 work with IBM COS S3. It should be as simple as change the hardcoded url in the backendS3 file, but I'm not even able to build the vanilla version.

I'm using a just installed Ubuntu 18.04.4 lts I've downloaded the source following this using the "classic" way. When I run debuild -us -uc -b it fails when running the tests. I tried also with make as explained in the HACKING file of the sources with the same result.

As I understand from the test logs, the problem is related to gvfs but after googling it and trying deleting gvfs logs, gvfs medata and executing as root, I don't know what else to do.

I'm attaching the tests and debuild logs. Please tell me what else is needed.

testlog

debuild -us -uc -b

wittich
  • 1,174
  • 13
  • 26
pablomd
  • 61

1 Answers1

3

Here is how I just build it on Ubuntu 20.04:

  1. Clone source code

     git clone https://gitlab.gnome.org/World/deja-dup.git
    

    and cd ./deja-dup into the folder.

  2. Switch to older branch with gtk3 support for Ubuntu 20.04

    git checkout --track origin/40`
    
  3. Update whatever you want to change, eg. Improve full backup speed with Déjà Dup / Duplicity

  4. Make and install (including installing missing packages):

    meson . _build
    ninja -C _build
    ninja -C _build install
    

Voilà: custom compiled deja dup

wittich
  • 1,174
  • 13
  • 26
  • I'm wondering if there is a convenient way to check what the newist version is that can handle a given version of Ubuntu/other linux operating system? – ohnoplus Nov 13 '22 at 13:27