Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Depends:
qubes-core-qrexec (>= 4.1.5),
python3-qubesimgconverter (>= 4.1.4),
socat,
${daemon:Depends},
${shlibs:Depends},
${misc:Depends}
Recommends:
Expand Down
9 changes: 9 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DESTDIR=$(shell pwd)/debian/tmp
export LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)

DIST := $(shell grep ^VERSION_CODENAME= /etc/os-release | cut -d = -f 2)


%:
dh $@ --with config-package

Expand All @@ -29,6 +32,12 @@ override_dh_auto_install:
override_dh_install:
dh_install --fail-missing

override_db_gencontrol:
if [ "$(DIST)" != "bookworm" ] && [ "$(DIST)" != "jammy" ] && [ "$(DIST)" != "noble" ]; then \
echo "daemon:Depends=qubes-notification-daemon" >> debian/qubes-gui-daemon.substvars; \
fi
dh_gencontrol


# dh_make generated override targets
# This is example for Cmake (See https://bugs.debian.org/641051 )
Expand Down
1 change: 1 addition & 0 deletions rpm_spec/gui-daemon.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Requires: python%{python3_pkgversion}-qubesimgconverter >= 4.1.4
Requires: socat
Requires: group(qubes)
Requires: (%{name}-selinux if selinux-policy)
Requires: qubes-notification-daemon

BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
Expand Down