Source: apcupsd Followup-For: Bug #878209 Attached is a patch to split the gui from the main package into apcupsd-gui. It also installs the desktop file and pixmaps for gapcmon.
-- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (103, 'experimental'), (1, 'experimental-debug') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=de:en_US (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system)
>From 26559cf9a8313a067a51a424a7495ef4bf28e8a5 Mon Sep 17 00:00:00 2001 From: Daniel Schaal <daniel@schaal.email> Date: Sat, 14 Oct 2017 19:10:52 +0200 Subject: [PATCH] Add separate package for gapcmon --- debian/apcupsd-gui.install | 3 +++ debian/apcupsd.install | 1 - debian/control | 12 ++++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 debian/apcupsd-gui.install diff --git a/debian/apcupsd-gui.install b/debian/apcupsd-gui.install new file mode 100644 index 0000000..bc09427 --- /dev/null +++ b/debian/apcupsd-gui.install @@ -0,0 +1,3 @@ +usr/bin/gapcmon +usr/share/pixmaps +usr/share/applications \ No newline at end of file diff --git a/debian/apcupsd.install b/debian/apcupsd.install index 4c1ec7c..4b64162 100644 --- a/debian/apcupsd.install +++ b/debian/apcupsd.install @@ -12,4 +12,3 @@ etc/apcupsd/multimon.conf etc/apcupsd/offbattery etc/apcupsd/onbattery sbin -usr/bin diff --git a/debian/control b/debian/control index d81ed86..5820d31 100644 --- a/debian/control +++ b/debian/control @@ -57,6 +57,18 @@ Description: APC UPS Power Management (web interface) . This package contains the web interface. +Package: apcupsd-gui +Architecture: any +Depends: ${misc:Depends} + , ${shlibs:Depends} +Suggests: apcupsd +Description: APC UPS Power Management (GUI) + apcupsd provides UPS power management for APC products, including most BackUPS + series models (including USB), SmartUPS V/S, SmartUPS (NET/RM), and Matrix + series. + . + This package contains GapcMon, a graphical user interface for apcupsd. + Package: apcupsd-doc Section: doc Architecture: all -- 2.15.0.rc0