Commit 3efac181 authored by Rafaël Carré's avatar Rafaël Carré

new growl plugin: local only, supports album art (you'll need the Growl Framework)

rename growl to growl_udp
parent 8ef8bfdf
...@@ -298,7 +298,7 @@ case "${host_os}" in ...@@ -298,7 +298,7 @@ case "${host_os}" in
VLC_ADD_LDFLAGS([vlc],[-mwindows]) VLC_ADD_LDFLAGS([vlc],[-mwindows])
VLC_ADD_LIBS([activex mozilla],[-lgdi32]) VLC_ADD_LIBS([activex mozilla],[-lgdi32])
VLC_ADD_LIBS([cdda vcdx cddax sdl_image],[-lwinmm]) VLC_ADD_LIBS([cdda vcdx cddax sdl_image],[-lwinmm])
VLC_ADD_LIBS([access_http access_mms access_udp access_tcp access_ftp access_output_udp access_output_shout sap slp http stream_out_standard stream_out_rtp vod_rtsp access_realrtsp telnet rc netsync gnutls growl flac ts audioscrobbler lua],[-lws2_32]) VLC_ADD_LIBS([access_http access_mms access_udp access_tcp access_ftp access_output_udp access_output_shout sap slp http stream_out_standard stream_out_rtp vod_rtsp access_realrtsp telnet rc netsync gnutls growl_udp flac ts audioscrobbler lua],[-lws2_32])
fi fi
if test "${SYS}" = "mingwce"; then if test "${SYS}" = "mingwce"; then
# add ws2 for closesocket, select, recv # add ws2 for closesocket, select, recv
...@@ -332,9 +332,9 @@ case "${host_os}" in ...@@ -332,9 +332,9 @@ case "${host_os}" in
LDFLAGS_save="${LDFLAGS_save} -lintl"; LDFLAGS="${LDFLAGS_save}" LDFLAGS_save="${LDFLAGS_save} -lintl"; LDFLAGS="${LDFLAGS_save}"
dnl Check for BONE dnl Check for BONE
if test -f /boot/beos/system/lib/libbind.so; then if test -f /boot/beos/system/lib/libbind.so; then
VLC_ADD_LIBS([access_file access_ftp access_mms access_output_udp telnet netsync sap libvlc growl],[-lbind -lsocket]) VLC_ADD_LIBS([access_file access_ftp access_mms access_output_udp telnet netsync sap libvlc growl_udp],[-lbind -lsocket])
else else
VLC_ADD_LIBS([access_file access_ftp access_mms access_output_udp telnet netsync sap libvlc growl],[-lnet]) VLC_ADD_LIBS([access_file access_ftp access_mms access_output_udp telnet netsync sap libvlc growl_udp],[-lnet])
fi fi
dnl Ugly check for Zeta dnl Ugly check for Zeta
...@@ -506,7 +506,7 @@ AC_CHECK_FUNCS(connect,,[ ...@@ -506,7 +506,7 @@ AC_CHECK_FUNCS(connect,,[
AC_CHECK_FUNCS(send,,[ AC_CHECK_FUNCS(send,,[
AC_CHECK_LIB(socket,send,[ AC_CHECK_LIB(socket,send,[
VLC_ADD_LIBS([access_http access_mms access_udp access_tcp access_ftp sap access_output_udp stream_out_standard growl],[-lsocket]) VLC_ADD_LIBS([access_http access_mms access_udp access_tcp access_ftp sap access_output_udp stream_out_standard growl_udp],[-lsocket])
]) ])
]) ])
...@@ -1680,7 +1680,11 @@ dnl ...@@ -1680,7 +1680,11 @@ dnl
AC_ARG_ENABLE(growl, AC_ARG_ENABLE(growl,
[ --enable-growl growl notification plugin (default enabled)]) [ --enable-growl growl notification plugin (default enabled)])
AS_IF([test "${enable_growl}" != "no"], [ AS_IF([test "${enable_growl}" != "no"], [
VLC_ADD_PLUGINS([growl_udp])
AC_CHECK_HEADERS(Growl/GrowlDefines.h, [
VLC_ADD_PLUGINS([growl]) VLC_ADD_PLUGINS([growl])
VLC_ADD_LDFLAGS([growl], [-Wl,-framework,Growl,-framework,AppKit])
])
] ]
) )
...@@ -5322,7 +5326,7 @@ then ...@@ -5322,7 +5326,7 @@ then
VLC_ADD_LDFLAGS([macosx], [-Wl,-framework,QTKit]) VLC_ADD_LDFLAGS([macosx], [-Wl,-framework,QTKit])
VLC_ADD_LDFLAGS([macosx], [-Wl,-framework,WebKit]) VLC_ADD_LDFLAGS([macosx], [-Wl,-framework,WebKit])
VLC_ADD_LDFLAGS([opengllayer], [-Wl,-framework,QuartzCore]) VLC_ADD_LDFLAGS([opengllayer], [-Wl,-framework,QuartzCore])
VLC_ADD_OBJCFLAGS([macosx minimal_macosx opengllayer], [-fobjc-exceptions] ) VLC_ADD_OBJCFLAGS([macosx minimal_macosx opengllayer growl], [-fobjc-exceptions] )
VLC_ADD_PLUGINS([access_eyetv]) VLC_ADD_PLUGINS([access_eyetv])
VLC_ADD_BUILTINS([macosx minimal_macosx]) VLC_ADD_BUILTINS([macosx minimal_macosx])
......
# Automake forgets to add a proper tag to libtool with Objective-C files.
# Moreocer Libtool should default tag to CC when none is specified but
# obviously does not. Here is a fix for that.
LIBTOOL=@LIBTOOL@ --tag=CC
SOURCES_msn = msn.c SOURCES_msn = msn.c
SOURCES_growl = growl.c SOURCES_growl = growl.m
SOURCES_growl_udp = growl_udp.c
SOURCES_notify = notify.c SOURCES_notify = notify.c
SOURCES_xosd = xosd.c SOURCES_xosd = xosd.c
SOURCES_telepathy = telepathy.c SOURCES_telepathy = telepathy.c
This diff is collapsed.
/***************************************************************************** /*****************************************************************************
* growl.c : growl notification plugin * growl_udp.c : growl UDP notification plugin
***************************************************************************** *****************************************************************************
* Copyright (C) 2006 the VideoLAN team * Copyright (C) 2006 the VideoLAN team
* $Id$ * $Id$
...@@ -68,8 +68,8 @@ static int CheckAndSend( vlc_object_t *p_this, uint8_t* p_data, int i_offset ); ...@@ -68,8 +68,8 @@ static int CheckAndSend( vlc_object_t *p_this, uint8_t* p_data, int i_offset );
vlc_module_begin(); vlc_module_begin();
set_category( CAT_INTERFACE ); set_category( CAT_INTERFACE );
set_subcategory( SUBCAT_INTERFACE_CONTROL ); set_subcategory( SUBCAT_INTERFACE_CONTROL );
set_shortname( "Growl" ); set_shortname( "Growl-UDP" );
set_description( _("Growl Notification Plugin") ); set_description( _("Growl UDP Notification Plugin") );
add_string( "growl-server", SERVER_DEFAULT, NULL, add_string( "growl-server", SERVER_DEFAULT, NULL,
SERVER_TEXT, SERVER_LONGTEXT, VLC_FALSE ); SERVER_TEXT, SERVER_LONGTEXT, VLC_FALSE );
......
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