From 4db34410dd14d675717bd1def89fcb3e8c9563a9 Mon Sep 17 00:00:00 2001 From: Schlomo Schapiro Date: Tue, 28 Mar 2017 15:49:09 +0200 Subject: [PATCH] New feature: Desktop icon for interactive mode (-i) Sign only debs built for release to allow building debs for testing --- Makefile | 11 +- automirror-interactive.desktop | 11 + automirror-interactive.svg | 2005 ++++++++++++++++++++++++++++++++ 3 files changed, 2023 insertions(+), 4 deletions(-) create mode 100644 automirror-interactive.desktop create mode 100644 automirror-interactive.svg diff --git a/Makefile b/Makefile index 42832fe..e4cd9c4 100644 --- a/Makefile +++ b/Makefile @@ -32,16 +32,19 @@ test: install: mkdir -p $(DESTDIR)/usr/bin $(DESTDIR)/usr/share/applications $(DESTDIR)/usr/share/icons/hicolor/scalable/apps $(DESTDIR)/usr/share/man/man1 install -m 0755 automirror.sh -D $(DESTDIR)/usr/bin/automirror - install -m 0644 automirror.desktop $(DESTDIR)/usr/share/applications - install -m 0644 automirror.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps + install -m 0644 automirror*.desktop $(DESTDIR)/usr/share/applications + install -m 0644 automirror*.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps ronn --pipe $(DESTDIR)/usr/share/man/man1/automirror.1.gz clean: rm -Rf debian/$(PACKAGE)* debian/files out/* deb: clean - debuild -i -b --lintian-opts --profile debian - debuild -i -S --lintian-opts --profile debian +ifneq ($(MAKECMDGOALS), release) + $(eval DEBUILD_ARGS := -us -uc) +endif + debuild $(DEBUILD_ARGS) -i -b --lintian-opts --profile debian + debuild $(DEBUILD_ARGS) -i -S --lintian-opts --profile debian mkdir -p out mv ../$(PACKAGE)*.{xz,dsc,deb,build,changes} out/ dpkg -I out/*.deb diff --git a/automirror-interactive.desktop b/automirror-interactive.desktop new file mode 100644 index 0000000..7af94e6 --- /dev/null +++ b/automirror-interactive.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Type=Application +Name=Interactive Display Mirror +GenericName=Interactive Display Mirror +Exec=automirror -i +Icon=automirror-interactive +Terminal=false +Categories=Utility; +Comment=Ask for primary monitor and configure attached monitors for screen mirroring diff --git a/automirror-interactive.svg b/automirror-interactive.svg new file mode 100644 index 0000000..fcdff4c --- /dev/null +++ b/automirror-interactive.svg @@ -0,0 +1,2005 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +