aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2016-11-08 15:20:30 +0100
committerBalint Reczey <balint@balintreczey.hu>2016-11-18 20:15:23 +0000
commitc27404655650a3648f576663d07394105fd5ef30 (patch)
treed2966a07f77cec2784ce2a5a9156c678be5b404e /debian
parenta12399018c6c0e0721c54c8982aacc53e8b823eb (diff)
cmake: install icons and .desktop files
Based on the install-data-local target from Makefile.am. Change-Id: Ia2ff6b90475a30ed219019fd80afd1a498e3133c Reviewed-on: https://code.wireshark.org/review/18708 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Balint Reczey <balint@balintreczey.hu> Tested-by: Balint Reczey <balint@balintreczey.hu>
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules5
-rw-r--r--debian/wireshark-gtk.install2
-rw-r--r--debian/wireshark-qt.install2
3 files changed, 2 insertions, 7 deletions
diff --git a/debian/rules b/debian/rules
index baf321c715..4a36a76a9e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,11 +45,6 @@ override_dh_auto_install:
rm -f debian/*.shlibs
rm -rf $(CURDIR)/debian/tmp/usr/share/wireshark/COPYING
cp debian/license-text-about-dialog $(CURDIR)/debian/tmp/usr/share/wireshark/ABOUT.GPL
- # icons conforming to freedesktop.org standards
- mkdir -p $(CURDIR)/debian/tmp/usr/share/icons/hicolor/scalable/apps/ \
- $(CURDIR)/debian/tmp/usr/share/mime/packages/
- install -m 644 image/wsicon.svg $(CURDIR)/debian/tmp/usr/share/icons/hicolor/scalable/apps/wireshark.svg
- install -m 644 wireshark-mime-package.xml $(CURDIR)/debian/tmp/usr/share/mime/packages/wireshark.xml
mkdir -p $(CURDIR)/debian/tmp/etc/wireshark/
mv $(CURDIR)/debian/tmp/usr/share/wireshark/init.lua \
$(CURDIR)/debian/tmp/etc/wireshark/
diff --git a/debian/wireshark-gtk.install b/debian/wireshark-gtk.install
index b044b121c6..c109852f63 100644
--- a/debian/wireshark-gtk.install
+++ b/debian/wireshark-gtk.install
@@ -1,2 +1,2 @@
usr/bin/wireshark-gtk
-wireshark-gtk.desktop usr/share/applications/
+usr/share/applications/wireshark-gtk.desktop
diff --git a/debian/wireshark-qt.install b/debian/wireshark-qt.install
index a55ac03c10..f7412692d2 100644
--- a/debian/wireshark-qt.install
+++ b/debian/wireshark-qt.install
@@ -1,2 +1,2 @@
usr/bin/wireshark
-wireshark.desktop usr/share/applications/
+usr/share/applications/wireshark.desktop