|
|
2de76d |
From ffb19d8f3c7f1fe4f31f79f8601dd3079730401b Mon Sep 17 00:00:00 2001
|
|
|
2de76d |
From: Simon McVittie <smcv@debian.org>
|
|
|
2de76d |
Date: Fri, 27 Apr 2018 09:01:13 +0100
|
|
|
2de76d |
Subject: [PATCH] Remove empty avahi_discover Python module
|
|
|
2de76d |
|
|
|
2de76d |
The avahi-discover tool no longer has any code outside its main
|
|
|
2de76d |
executable, so it does not need to install library modules. Its only
|
|
|
2de76d |
library code was avahi_discover.SimpleGladeApp, which was removed
|
|
|
2de76d |
in 2009.
|
|
|
2de76d |
|
|
|
2de76d |
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
|
2de76d |
---
|
|
|
2de76d |
avahi-python/avahi-discover/Makefile.am | 6 ------
|
|
|
2de76d |
avahi-python/avahi-discover/__init__.py | 18 ------------------
|
|
|
2de76d |
2 files changed, 24 deletions(-)
|
|
|
2de76d |
delete mode 100755 avahi-python/avahi-discover/__init__.py
|
|
|
2de76d |
|
|
|
2de76d |
diff --git a/avahi-python/avahi-discover/Makefile.am b/avahi-python/avahi-discover/Makefile.am
|
|
|
2de76d |
index 5fc4b25..bb4d717 100644
|
|
|
2de76d |
--- a/avahi-python/avahi-discover/Makefile.am
|
|
|
2de76d |
+++ b/avahi-python/avahi-discover/Makefile.am
|
|
|
2de76d |
@@ -18,7 +18,6 @@
|
|
|
2de76d |
AM_CFLAGS=-I$(top_srcdir)
|
|
|
2de76d |
|
|
|
2de76d |
EXTRA_DIST = \
|
|
|
2de76d |
- __init__.py \
|
|
|
2de76d |
avahi-discover.py \
|
|
|
2de76d |
avahi-discover.desktop.in.in
|
|
|
2de76d |
|
|
|
2de76d |
@@ -31,15 +30,11 @@ pythonscripts =
|
|
|
2de76d |
desktopdir = $(datadir)/applications
|
|
|
2de76d |
desktop_DATA =
|
|
|
2de76d |
|
|
|
2de76d |
-avahi_discoverdir = $(pythondir)/avahi_discover
|
|
|
2de76d |
-avahi_discover_PYTHON =
|
|
|
2de76d |
-
|
|
|
2de76d |
if HAVE_GDBM
|
|
|
2de76d |
pythonscripts += \
|
|
|
2de76d |
avahi-discover
|
|
|
2de76d |
desktop_DATA += avahi-discover.desktop
|
|
|
2de76d |
@INTLTOOL_DESKTOP_RULE@
|
|
|
2de76d |
-avahi_discover_PYTHON += __init__.py
|
|
|
2de76d |
endif
|
|
|
2de76d |
|
|
|
2de76d |
if HAVE_DBM
|
|
|
2de76d |
@@ -47,7 +42,6 @@ pythonscripts += \
|
|
|
2de76d |
avahi-discover
|
|
|
2de76d |
desktop_DATA += avahi-discover.desktop
|
|
|
2de76d |
@INTLTOOL_DESKTOP_RULE@
|
|
|
2de76d |
-avahi_discover_PYTHON += __init__.py
|
|
|
2de76d |
endif
|
|
|
2de76d |
|
|
|
2de76d |
avahi-discover.desktop.in: avahi-discover.desktop.in.in
|
|
|
2de76d |
diff --git a/avahi-python/avahi-discover/__init__.py b/avahi-python/avahi-discover/__init__.py
|
|
|
2de76d |
deleted file mode 100755
|
|
|
2de76d |
index 6f3ec7f..0000000
|
|
|
2de76d |
--- a/avahi-python/avahi-discover/__init__.py
|
|
|
2de76d |
+++ /dev/null
|
|
|
2de76d |
@@ -1,18 +0,0 @@
|
|
|
2de76d |
-#!@PYTHON@
|
|
|
2de76d |
-# -*-python-*-
|
|
|
2de76d |
-# This file is part of avahi.
|
|
|
2de76d |
-#
|
|
|
2de76d |
-# avahi is free software; you can redistribute it and/or modify it
|
|
|
2de76d |
-# under the terms of the GNU Lesser General Public License as
|
|
|
2de76d |
-# published by the Free Software Foundation; either version 2 of the
|
|
|
2de76d |
-# License, or (at your option) any later version.
|
|
|
2de76d |
-#
|
|
|
2de76d |
-# avahi is distributed in the hope that it will be useful, but WITHOUT
|
|
|
2de76d |
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
|
2de76d |
-# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
|
|
|
2de76d |
-# License for more details.
|
|
|
2de76d |
-#
|
|
|
2de76d |
-# You should have received a copy of the GNU Lesser General Public
|
|
|
2de76d |
-# License along with avahi; if not, write to the Free Software
|
|
|
2de76d |
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
|
|
2de76d |
-# USA.
|
|
|
2de76d |
--
|
|
|
2de76d |
2.14.3
|
|
|
2de76d |
|