rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / network / avahi / patches / 20-remove-avahi_discover.patch
blob702499e221858c38c05856344996fe0895521918
1 From ffb19d8f3c7f1fe4f31f79f8601dd3079730401b Mon Sep 17 00:00:00 2001
2 From: Simon McVittie <smcv@debian.org>
3 Date: Fri, 27 Apr 2018 09:01:13 +0100
4 Subject: [PATCH] Remove empty avahi_discover Python module
6 The avahi-discover tool no longer has any code outside its main
7 executable, so it does not need to install library modules. Its only
8 library code was avahi_discover.SimpleGladeApp, which was removed
9 in 2009.
11 Signed-off-by: Simon McVittie <smcv@debian.org>
12 ---
13 avahi-python/avahi-discover/Makefile.am | 6 ------
14 avahi-python/avahi-discover/__init__.py | 18 ------------------
15 2 files changed, 24 deletions(-)
16 delete mode 100755 avahi-python/avahi-discover/__init__.py
18 diff --git a/avahi-python/avahi-discover/Makefile.am b/avahi-python/avahi-discover/Makefile.am
19 index 5fc4b25f..bb4d7172 100644
20 --- a/avahi-python/avahi-discover/Makefile.am
21 +++ b/avahi-python/avahi-discover/Makefile.am
22 @@ -18,7 +18,6 @@
23 AM_CFLAGS=-I$(top_srcdir)
25 EXTRA_DIST = \
26 - __init__.py \
27 avahi-discover.py \
28 avahi-discover.desktop.in.in
30 @@ -31,15 +30,11 @@ pythonscripts =
31 desktopdir = $(datadir)/applications
32 desktop_DATA =
34 -avahi_discoverdir = $(pythondir)/avahi_discover
35 -avahi_discover_PYTHON =
37 if HAVE_GDBM
38 pythonscripts += \
39 avahi-discover
40 desktop_DATA += avahi-discover.desktop
41 @INTLTOOL_DESKTOP_RULE@
42 -avahi_discover_PYTHON += __init__.py
43 endif
45 if HAVE_DBM
46 @@ -47,7 +42,6 @@ pythonscripts += \
47 avahi-discover
48 desktop_DATA += avahi-discover.desktop
49 @INTLTOOL_DESKTOP_RULE@
50 -avahi_discover_PYTHON += __init__.py
51 endif
53 avahi-discover.desktop.in: avahi-discover.desktop.in.in
54 diff --git a/avahi-python/avahi-discover/__init__.py b/avahi-python/avahi-discover/__init__.py
55 deleted file mode 100755
56 index 6f3ec7f9..00000000
57 --- a/avahi-python/avahi-discover/__init__.py
58 +++ /dev/null
59 @@ -1,18 +0,0 @@
60 -#!@PYTHON@
61 -# -*-python-*-
62 -# This file is part of avahi.
64 -# avahi is free software; you can redistribute it and/or modify it
65 -# under the terms of the GNU Lesser General Public License as
66 -# published by the Free Software Foundation; either version 2 of the
67 -# License, or (at your option) any later version.
69 -# avahi is distributed in the hope that it will be useful, but WITHOUT
70 -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
71 -# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
72 -# License for more details.
74 -# You should have received a copy of the GNU Lesser General Public
75 -# License along with avahi; if not, write to the Free Software
76 -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
77 -# USA.