Skip to content

Commit a405f61

Browse files
committed
Merge remote-tracking branch 'origin/pr/585'
* origin/pr/585: debian: sort dependencies alphabetically arch: sort dependencies alphabetically Pull request description: Make the archlinux and debian specs more maintainable by consistently sorting dependency lists alphabetically. Includes #584
2 parents 702bcf0 + 599f35c commit a405f61

File tree

2 files changed

+67
-59
lines changed

2 files changed

+67
-59
lines changed

archlinux/PKGBUILD.in

Lines changed: 42 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,18 @@ license=('GPL-2.0-or-later')
1010
makedepends=(
1111
gcc
1212
make
13-
pkg-config
13+
14+
desktop-file-utils
1415
libx11
15-
python
16-
python-setuptools
1716
lsb-release
1817
pandoc
18+
pkg-config
19+
python
20+
python-setuptools
1921
shared-mime-info
20-
desktop-file-utils
21-
qubes-vm-utils
22-
qubes-libvchan
2322
qubes-db-vm
23+
qubes-libvchan
24+
qubes-vm-utils
2425
qubes-vm-xen
2526
)
2627
_pkgnvr="${pkgname}-${pkgver}-${pkgrel}"
@@ -56,35 +57,42 @@ package_qubes-vm-core() {
5657
conflicts=('pulseaudio-qubes<4.2.0')
5758
release=${BASH_REMATCH[1]}.${BASH_REMATCH[2]}
5859
depends=(
59-
qubes-vm-utils
60-
qubes-libvchan
61-
qubes-db-vm
62-
'qubes-vm-qrexec>=4.2.19'
63-
python
64-
python-xdg
65-
ntp
66-
iproute2
60+
dconf
61+
fakeroot
62+
gawk
6763
gnome-packagekit
6864
graphicsmagick
69-
fakeroot
70-
notification-daemon
71-
dconf
72-
zenity
7365
haveged
74-
python-gobject
75-
python-dbus
76-
xdg-utils
77-
gawk
78-
sed
79-
procps-ng
66+
iproute2
8067
librsvg
81-
socat
68+
notification-daemon
69+
ntp
8270
pacman-contrib
8371
parted
72+
procps-ng
8473
# Block updating if there is a major python update as the python API will be in the wrong PYTHONPATH
8574
'python<3.14'
75+
python-dbus
76+
python-gobject
77+
python-xdg
78+
qubes-db-vm
79+
qubes-libvchan
80+
'qubes-vm-qrexec>=4.2.19'
81+
qubes-vm-utils
82+
sed
83+
socat
84+
xdg-utils
85+
zenity
86+
)
87+
optdepends=(
88+
gnome-keyring
89+
gnome-settings-daemon
90+
gpk-update-viewer
91+
python-caja
92+
python-nautilus
93+
qubes-vm-keyring
94+
qubes-vm-networking
8695
)
87-
optdepends=(gnome-keyring gnome-settings-daemon python-caja python-nautilus gpk-update-viewer qubes-vm-networking qubes-vm-keyring)
8896
install="archlinux/PKGBUILD.install"
8997

9098
cd "${_pkgnvr}"
@@ -154,16 +162,16 @@ EOF
154162
package_qubes-vm-networking() {
155163
pkgdesc="Qubes OS tools allowing to use a Qubes VM as a NetVM/ProxyVM"
156164
depends=(
157-
qubes-vm-core
158-
qubes-vm-utils
159-
qubes-db-vm
160-
python
165+
conntrack-tools
161166
iproute2
162167
networkmanager
163168
network-manager-applet
164-
tinyproxy
165169
nftables
166-
conntrack-tools
170+
python
171+
qubes-db-vm
172+
qubes-vm-core
173+
qubes-vm-utils
174+
tinyproxy
167175
)
168176
install="archlinux/PKGBUILD-networking.install"
169177

@@ -216,10 +224,10 @@ package_qubes-vm-passwordless-root() {
216224
package_qubes-vm-dom0-updates() {
217225
pkgdesc="Qubes OS tools for fetching dom0 updates"
218226
depends=(
227+
dnf5
228+
python
219229
qubes-vm-core
220230
qubes-vm-networking
221-
python
222-
dnf5
223231
)
224232

225233
cd "${_pkgnvr}"

debian/control

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ Section: admin
33
Priority: extra
44
Maintainer: unman <unman@thirdeyesecurity.org>
55
Build-Depends:
6+
config-package-dev,
67
debhelper,
8+
desktop-file-utils,
9+
dh-python,
710
libpam0g-dev,
811
libqubes-pure-dev (>= 4.3.2),
912
libqubes-rpc-filecopy-dev (>= 4.3.2),
1013
libvchan-xen-dev,
11-
python3,
12-
python3-setuptools,
13-
quilt,
1414
libxen-dev,
15-
pkg-config,
16-
dh-python,
1715
lsb-release,
18-
xserver-xorg-dev,
19-
config-package-dev,
2016
pandoc,
17+
pkg-config,
18+
python3,
19+
python3-setuptools,
20+
quilt,
2121
shared-mime-info,
22-
desktop-file-utils,
22+
xserver-xorg-dev,
2323
Standards-Version: 4.4.0.1
2424
Homepage: https://www.qubes-os.org
2525
Vcs-Git: https://github.com/QubesOS/qubes-core-agent-linux
@@ -29,36 +29,36 @@ Architecture: any
2929
Depends:
3030
apt-transport-https,
3131
dconf-cli,
32-
dmsetup,
3332
distro-info-data,
33+
dmsetup,
34+
e2fsprogs,
3435
gawk,
3536
graphicsmagick,
3637
init-system-helpers,
3738
initscripts | sysvinit-utils,
3839
librsvg2-bin,
3940
locales,
4041
ncurses-term,
41-
psmisc,
42-
procps,
43-
util-linux,
44-
e2fsprogs,
4542
parted,
46-
python3-qubesdb,
43+
procps,
44+
psmisc,
45+
python3-dbus,
4746
python3-gi,
47+
python3-qubesdb,
4848
python3-xdg,
49-
python3-dbus,
50-
qubes-utils (>= 3.1.3),
5149
qubes-core-qrexec (>= 4.2.19),
50+
qubes-utils (>= 3.1.3),
5251
qubesdb-vm,
5352
systemd,
53+
util-linux,
5454
xdg-user-dirs,
5555
xdg-utils,
56+
xenstore-utils,
5657
xen-utils-common,
5758
xen-utils-guest,
58-
xenstore-utils,
5959
${python3:Depends},
6060
${shlibs:Depends},
61-
${misc:Depends}
61+
${misc:Depends},
6262
Recommends:
6363
cups,
6464
gnome-terminal,
@@ -68,20 +68,20 @@ Recommends:
6868
locales-all,
6969
mate-notification-daemon,
7070
ntpdate,
71-
system-config-printer,
7271
qubes-core-agent-nautilus,
7372
qubes-core-agent-networking,
7473
qubes-core-agent-network-manager,
74+
system-config-printer,
7575
x11-xserver-utils,
7676
xinit,
7777
xserver-xorg-core,
7878
xsettingsd,
79-
xterm
79+
xterm,
8080
Conflicts:
81+
pulseaudio-qubes (<< 4.2.0-1),
8182
qubes-core-agent-linux,
8283
qubes-core-vm-sysvinit,
8384
qubes-gui-agent (<< 4.1.6-1),
84-
pulseaudio-qubes (<< 4.2.0-1),
8585
Description: Qubes core agent
8686
This package includes various daemons necessary for qubes domU support,
8787
such as qrexec services.
@@ -119,13 +119,13 @@ Description: Qubes integration for Thunar
119119
Package: qubes-core-agent-dom0-updates
120120
Architecture: any
121121
Depends:
122-
fakeroot,
123-
rpm,
122+
curl,
124123
dnf | yum,
125124
dnf | yum-utils,
126-
curl,
125+
fakeroot,
127126
qubes-core-qrexec,
128127
qubes-repo-templates,
128+
rpm,
129129
Replaces: qubes-core-agent (<< 4.1.28-1)
130130
Breaks: qubes-core-agent (<< 4.1.28-1)
131131
Description: Scripts required to handle dom0 updates.
@@ -142,7 +142,7 @@ Depends:
142142
tinyproxy,
143143
iproute2,
144144
${python3:Depends},
145-
${misc:Depends}
145+
${misc:Depends},
146146
Replaces: qubes-core-agent (<< 4.0.0-1)
147147
Breaks: qubes-core-agent (<< 4.0.0-1)
148148
Description: Networking support for Qubes VM

0 commit comments

Comments
 (0)