Package: plinth Severity: wishlist Tags: patch -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Currently, the dependencies required for essential packages are manually added to Plinth dependency list or freedombox-setup. After necessary changes in Plinth upstream (https://github.com/freedombox/Plinth/pull/596) Plinth will be able to print out a list of dependencies for its essential packages. Use this list to automatically populate the dependency list. Attached patch does this. It should be applied after importing source with the above change. -----BEGIN PGP SIGNATURE----- iQIuBAEBCgAYBQJX1DDHERxzdW5pbEBtZWRoYXMub3JnAAoJEEPqHP8Kp8XySdgQ ALZcC7p3oE1aYqt7Rq7mHULvBxXClnxQCId2HHy5kMKMNPdfYE5dwD/RqsDLy+kj lkdOaJpsqP6kuLGnltiwjCoHmCZtvZdMObm8AaWlxSDG3BUrapAIi/OUCWW9b4VF FZQl1x3ZLrNNh6Ud2yeiTbqRriqHUVU49d1sqD/s7pcDIOiHwOWPYdgtJEVD+1Jn qB/TP4H3g9tvFoVzUB99jFC5c1gTRncPmlzaA/ZA+EqR2a1a3SN09yJjC7nz8HjU WPBZMCIpBlG9me9lj9DqHf3VeKMvAq/6HOL3rbnBrh274E3hA2etBss9fMjVLUut QtVSAj//GSWDDQ1POCr6kxcVumpI0cegNhNmDV5iKvbO16+DL/wZOVPXZ9SWUi2a MAmuT2IiiJ15oYOop04NCClFsH/s9r9YoexDOK0pujTN4y/f9Z6CDXaIK5fC2cGt Cs/6MJ3xEkAzqThbmmdk6lJ6rSIAihBbkNpzApmpwHaxgQMbaEUMaAgnXULJ3LNE DnfK4WEz3vhvshxVkGH701GSYT+bUqTpuVvEZ6Hs77Elax1IFgICyAaOw9eJhjk6 1iWBjm49a/xLW+TEgrVX4zYHvESc0lcEmQH89HJQhDva6Dqack+RyAhAgI4nd0Ts A7AfzCWXWGd6+HLKjt3+Y+YbMwPkFGPfqDlM9yExwsLz =pmtf -----END PGP SIGNATURE-----
>From e87930a1bb9b60abef72cf0b1c1ed3819ebfb181 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa <su...@medhas.org> Date: Sat, 10 Sep 2016 19:16:15 +0530 Subject: [PATCH] Automatically add essential packages to depends --- debian/control | 1 + debian/rules | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/debian/control b/debian/control index c47569e..1790e95 100644 --- a/debian/control +++ b/debian/control @@ -42,6 +42,7 @@ Replaces: freedombox-setup (<< 0.9.2~) Architecture: all Depends: ${python3:Depends} , ${misc:Depends} + , ${plinth:Depends} , adduser , augeas-tools , gettext diff --git a/debian/rules b/debian/rules index 846676e..a54942d 100755 --- a/debian/rules +++ b/debian/rules @@ -6,5 +6,10 @@ export PYBUILD_NAME=plinth %: dh $@ --with python3 --with systemd --buildsystem=pybuild +override_dh_auto_install-indep: + dh_auto_install + ./run --list-dependencies 2> /dev/null | tr '\n' ', ' | \ + sed -e 's/^/plinth:Depends=/' >> debian/plinth.substvars + new-upstream: gbp import-orig --uscan --verbose --pristine-tar --no-filter-pristine-tar -- 2.9.3