Commit 55280fa6 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Rename bonjour module to avahi

Bonjour is an implementation, trademarked by Apple, of Zeroconf
protocol, which avahi is a (slightly) different implementation.
Zeroconf protocol is mostly mdns + dns-sd
parent ef64f16e
...@@ -4012,8 +4012,8 @@ AS_IF([test "${enable_vsxu}" != "no"], ...@@ -4012,8 +4012,8 @@ AS_IF([test "${enable_vsxu}" != "no"],
EXTEND_HELP_STRING([Service Discovery plugins:]) EXTEND_HELP_STRING([Service Discovery plugins:])
dnl dnl
dnl Bonjour services discovery dnl Avahi-Zeroconf services discovery
PKG_ENABLE_MODULES_VLC([BONJOUR], [], [avahi-client >= 0.6], [Bonjour services discovery], [auto]) PKG_ENABLE_MODULES_VLC([AVAHI], [], [avahi-client >= 0.6], [Zeroconf services discovery], [auto])
dnl dnl
dnl libudev services discovery dnl libudev services discovery
......
...@@ -54,6 +54,7 @@ $Id$ ...@@ -54,6 +54,7 @@ $Id$
* audioscrobbler: AudioScrobbler/Last.fm submission plugin * audioscrobbler: AudioScrobbler/Last.fm submission plugin
* audiounit_ios: AudioUnit output plugin for iOS * audiounit_ios: AudioUnit output plugin for iOS
* auhal: Audio output for Mac OS X based on the AUHAL API * auhal: Audio output for Mac OS X based on the AUHAL API
* avahi: Zeroconf services discovery
* avcapture: AVFoundation based video capture module * avcapture: AVFoundation based video capture module
* avcodec: libavcodec audio/video decoder * avcodec: libavcodec audio/video decoder
* avformat: libavformat demuxer * avformat: libavformat demuxer
...@@ -64,7 +65,6 @@ $Id$ ...@@ -64,7 +65,6 @@ $Id$
* blend: a picture filter that blends two pictures * blend: a picture filter that blends two pictures
* blendbench: a picture filter that test performance of blending routines * blendbench: a picture filter that test performance of blending routines
* bluescreen: Bluescreen (weather channel like) video filter * bluescreen: Bluescreen (weather channel like) video filter
* bonjour: Zeroconf services discovery
* bpg: BPG image decoder using libbpg * bpg: BPG image decoder using libbpg
* caca: color ASCII art video output using libcaca * caca: color ASCII art video output using libcaca
* cache_block: block stream caching stream filter * cache_block: block stream caching stream filter
......
...@@ -13,12 +13,12 @@ libsap_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_sap) ...@@ -13,12 +13,12 @@ libsap_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_sap)
libsap_plugin_la_LIBADD = $(LIBS_sap) $(SOCKET_LIBS) libsap_plugin_la_LIBADD = $(LIBS_sap) $(SOCKET_LIBS)
sd_LTLIBRARIES += libsap_plugin.la sd_LTLIBRARIES += libsap_plugin.la
libbonjour_plugin_la_SOURCES = services_discovery/bonjour.c libavahi_plugin_la_SOURCES = services_discovery/avahi.c
libbonjour_plugin_la_CFLAGS = $(AM_CFLAGS) $(BONJOUR_CFLAGS) libavahi_plugin_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
libbonjour_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)' libavahi_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)'
libbonjour_plugin_la_LIBADD = $(BONJOUR_LIBS) libavahi_plugin_la_LIBADD = $(AVAHI_LIBS)
EXTRA_LTLIBRARIES += libbonjour_plugin.la EXTRA_LTLIBRARIES += libavahi_plugin.la
sd_LTLIBRARIES += $(LTLIBbonjour) sd_LTLIBRARIES += $(LTLIBavahi)
libmtp_plugin_la_SOURCES = services_discovery/mtp.c libmtp_plugin_la_SOURCES = services_discovery/mtp.c
libmtp_plugin_la_CFLAGS = $(AM_CFLAGS) $(MTP_CFLAGS) libmtp_plugin_la_CFLAGS = $(AM_CFLAGS) $(MTP_CFLAGS)
......
/***************************************************************************** /*****************************************************************************
* bonjour.c: Bonjour services discovery module * avahi.c: Bonjour services discovery module
***************************************************************************** *****************************************************************************
* Copyright (C) 2005-2009 the VideoLAN team * Copyright (C) 2005-2009 the VideoLAN team
* $Id$ * $Id$
...@@ -46,14 +46,14 @@ ...@@ -46,14 +46,14 @@
*****************************************************************************/ *****************************************************************************/
/* Callbacks */ /* Callbacks */
static int Open ( vlc_object_t * ); static int Open ( vlc_object_t * );
static void Close( vlc_object_t * ); static void Close( vlc_object_t * );
VLC_SD_PROBE_HELPER("bonjour", "Bonjour services", SD_CAT_LAN) VLC_SD_PROBE_HELPER("avahi", "Zeroconf network services", SD_CAT_LAN)
vlc_module_begin () vlc_module_begin ()
set_shortname( "Bonjour" ) set_shortname( "Avahi" )
set_description( N_("Bonjour services") ) set_description( N_("Zeroconf services") )
set_category( CAT_PLAYLIST ) set_category( CAT_PLAYLIST )
set_subcategory( SUBCAT_PLAYLIST_SD ) set_subcategory( SUBCAT_PLAYLIST_SD )
set_capability( "services_discovery", 0 ) set_capability( "services_discovery", 0 )
...@@ -115,7 +115,7 @@ static void resolve_callback( ...@@ -115,7 +115,7 @@ static void resolve_callback(
{ {
services_discovery_t *p_sd = ( services_discovery_t* )userdata; services_discovery_t *p_sd = ( services_discovery_t* )userdata;
services_discovery_sys_t *p_sys = p_sd->p_sys; services_discovery_sys_t *p_sys = p_sd->p_sys;
VLC_UNUSED(interface); VLC_UNUSED(host_name); VLC_UNUSED(interface); VLC_UNUSED(host_name);
VLC_UNUSED(flags); VLC_UNUSED(flags);
......
...@@ -1013,7 +1013,7 @@ modules/packetizer/mpeg4audio.c ...@@ -1013,7 +1013,7 @@ modules/packetizer/mpeg4audio.c
modules/packetizer/mpeg4video.c modules/packetizer/mpeg4video.c
modules/packetizer/mpegvideo.c modules/packetizer/mpegvideo.c
modules/packetizer/vc1.c modules/packetizer/vc1.c
modules/services_discovery/bonjour.c modules/services_discovery/avahi.c
modules/services_discovery/mediadirs.c modules/services_discovery/mediadirs.c
modules/services_discovery/mtp.c modules/services_discovery/mtp.c
modules/services_discovery/os2drive.c modules/services_discovery/os2drive.c
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment