Commit graph

16 commits

Author SHA1 Message Date
deeplow
b7e212efd9
Add python3-pyside2.qtsvg dependency to debian builds
When the updater was added in commit 5b17f75047 [1], it it had missed
the dependencies on Debian.

[1]: 5b17f75047
2023-08-05 17:02:54 +01:00
Alex Pyrgiotis
5ae8b871b6
Add UpdaterThread class
Add a new Python module called "updater", which contains the logic for
prompting the user to enable updates, and checking our GitHub releases
for new updates.

This class has some light dependency to Qt functionality, since it needs
to:

* Show a prompt to the user,
* Run update checks asynchronously in a Qt thread,
* Provide the main window with the result of the update check

Refs #189
2023-07-24 14:22:27 +03:00
Alex Pyrgiotis
a33dcfbb51
Replace First Look Media references
Update several references to First Look Media in the code, to better
reflect the current status, where Freedom of the Press Foundation has
taken over the stewardship of the project.

Fixes #343
2023-03-08 18:40:55 +02:00
Alex Pyrgiotis
147caca524
ci: Fix failing build-debian-bookworm step
Debian has removed the python-all package from its Bookworm repos, which
breaks our CI tests. Looking into why python-all is required in the
first place, we found that it's an artificial stdeb requirement [1],
prior to 0.9.1 versions

The only platform affected by this issue is Ubuntu Focal, so our
solution is to install python-all specifically for that platform.

Finally, we further simplify our build tasks [2] (on Debian-like
distros) by not letting dh-python run tests when building the packages.
Running the tests has some issues after all:

1. It requires installing all the runtime dependencies of Dangerzone,
   since it uses `python -m unittest discover` underneath.
2. It doesn't aid in the stability of the package, since unittest cannot
   run test cases for PyTest.

[1]: https://github.com/astraw/stdeb/issues/153
[2]: https://github.com/freedomofpress/dangerzone/issues/292#issuecomment-1349967888
2022-12-15 18:30:19 +02:00
Guthrie McAfee Armstrong
395eba0a74
Remove requests dependency 2022-08-19 15:16:14 +01:00
Micah Lee
d50b0c1bed
Remove docker dependency in Linux and replace with podman 2021-06-17 14:12:44 -07:00
Micah Lee
46c73329a5
Switch from termcolor to colorama 2021-06-10 10:24:28 -07:00
Micah Lee
76c74df71a
Fix CircleCI and test in Fedora 2020-10-29 17:01:47 -07:00
Micah Lee
ab261e8270
Update linux build instructions 2020-10-26 16:30:33 -07:00
Micah Lee
71fff406d2
Add python3-termcolor dependency 2020-10-14 09:45:20 -07:00
Micah Lee
8b813729e5
Drop python version to >= 3.6 2020-04-09 14:02:11 -07:00
Fidel Ramos
c790175717 Allow dependency on docker-ce package
This allows dangerzone to be installed by users who install Docker through the docker.com
repositories.
2020-03-16 12:58:38 +01:00
Micah Lee
e074204e17
Oops, dh-python should not be a build dep. And change classifiers in setup.py to a list instead of a tuple 2020-02-24 16:19:07 -08:00
Micah Lee
7113ac3c02
Add missing deps: dh-python for debian, python3-pyxdg for fedora, and python3-requests for both 2020-02-24 15:58:03 -08:00
Micah Lee
ae7c919d8e
Use docker for ubuntu and debian, and provide GUI for adding user to docker group 2020-02-21 15:07:49 -08:00
Micah Lee
e85191b498
Debian packaging 2020-01-07 17:10:54 -08:00