Skip to content
Open
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/qubes-notification-daemon.install
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/usr/bin/qubes-notification-proxy-server
/etc/qubes-rpc/qubes.Notifications
/etc/qubes/rpc-config/qubes.Notifications
2 changes: 2 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ override_dh_auto_install:
cp debian/qubes-notification-daemon.substvars \
debian/qubes-notification-agent.substvars
install -d -- "$(DESTDIR)/etc/qubes-rpc/" "$(DESTDIR)$(SYSTEMDUSERDIR)" "$(DESTDIR)$(SYSTEMDUSERDIR)-preset"
install -d -- "$(DESTDIR)/etc/qubes/rpc-config"
install -m0644 -- src/qubes-notification-agent.service "$(DESTDIR)$(SYSTEMDUSERDIR)"
install -m0644 -- src/90-qubes-notification-agent.preset "$(DESTDIR)$(SYSTEMDUSERDIR)-preset"
ln -s -- ../../usr/bin/qubes-notification-proxy-server "$(DESTDIR)/etc/qubes-rpc/qubes.Notifications"
echo "wait-for-session=1" > "$(DESTDIR)/etc/qubes/rpc-config/qubes.Notifications"
3 changes: 3 additions & 0 deletions rust-notification-emitter.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ forwards notifications to the host's notification daemon.
%files daemon
%{_bindir}/qubes-notification-proxy-server
/etc/qubes-rpc/qubes.Notifications
/etc/qubes/rpc-config/qubes.Notifications

%package license
Summary: License files for the notification proxy
Expand All @@ -99,11 +100,13 @@ License files for the notification proxy

%install
install -d -- "$RPM_BUILD_ROOT/etc/qubes-rpc/" "$RPM_BUILD_ROOT/%_userunitdir" "$RPM_BUILD_ROOT/%_userpresetdir"
install -d -- "$RPM_BUILD_ROOT/etc/qubes/rpc-config"
install -m0644 -- src/qubes-notification-agent.service "$RPM_BUILD_ROOT/%_userunitdir"
install -m0644 -- src/90-qubes-notification-agent.preset "$RPM_BUILD_ROOT/%_userpresetdir"
install -D -- target/release/notification-proxy-client "$RPM_BUILD_ROOT/%_bindir/qubes-notification-proxy-client"
install -D -- target/release/notification-proxy-server "$RPM_BUILD_ROOT/%_bindir/qubes-notification-proxy-server"
ln -s -- ../../usr/bin/qubes-notification-proxy-server "$RPM_BUILD_ROOT/etc/qubes-rpc/qubes.Notifications"
echo "wait-for-session=1" > "$RPM_BUILD_ROOT/etc/qubes/rpc-config/qubes.Notifications"
install -m0644 -D -- LICENSE.dependencies "$RPM_BUILD_ROOT/usr/share/licenses/qubes-notification-proxy/LICENSE.dependencies"

%if %{with check}
Expand Down