add experimental kiosrc plugin

Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/kio/Makefile.am:
* ext/kio/kioreceiver.cpp:
* ext/kio/kioreceiver.h:
* ext/kio/kiosrc.cpp:
* ext/kio/kiosrc.h:
add experimental kiosrc plugin
* ext/alsa/gstalsaplugin.c: (plugin_init):
initialize debugging category only when we're sure registering the
plugins worked.
This commit is contained in:
Benjamin Otte 2004-03-30 02:53:00 +00:00
parent c65246f146
commit 4ae33d8a98
4 changed files with 57 additions and 8 deletions

View file

@ -1,3 +1,17 @@
2004-03-30 Benjamin Otte <in7y118@public.uni-hamburg.de>
* configure.ac:
* ext/Makefile.am:
* ext/kio/Makefile.am:
* ext/kio/kioreceiver.cpp:
* ext/kio/kioreceiver.h:
* ext/kio/kiosrc.cpp:
* ext/kio/kiosrc.h:
add experimental kiosrc plugin
* ext/alsa/gstalsaplugin.c: (plugin_init):
initialize debugging category only when we're sure registering the
plugins worked.
2004-03-29 Thomas Vander Stichele <thomas at apestaart dot org> 2004-03-29 Thomas Vander Stichele <thomas at apestaart dot org>
* examples/gstplay/player.c: (main): * examples/gstplay/player.c: (main):

View file

@ -979,6 +979,32 @@ GST_CHECK_FEATURE(JPEG, [jpeg], jpegenc jpegdec, [
AC_SUBST(JPEG_LIBS) AC_SUBST(JPEG_LIBS)
]) ])
dnl *** KDE ***
AC_PATH_PROG(KDE_CONFIG, kde-config, no)
translit(dnm, m, l) AM_CONDITIONAL(USE_KIO, true)
if test x$KDE_CONFIG != xno; then
KDE_PREFIX=`$KDE_CONFIG --prefix`
KIO_CFLAGS="-I$KDE_PREFIX/include/qt3 -I$KDE_PREFIX/include/kde"
KIO_LIBS="-L$KDE_PREFIX/lib -lkio -lqt-mt"
GST_CHECK_FEATURE(KIO, [kio], kio, [
AC_LANG_PUSH(C++)
save_LIBS="$LIBS"
save_CPPFLAGS="$CPPFLAGS"
LIBS="$LIBS $KIO_LIBS"
CPPFLAGS="$CPPFLAGS $KIO_CFLAGS"
AC_TRY_LINK([
#include <kio/job.h>
], [
KIO::get ("bla")
], HAVE_KIO="yes", HAVE_KIO="no")
LIBS="$save_LIBS"
CPPFLAGS="$save_CPPFLAGS"
AC_LANG_POP(C++)
])
AC_SUBST(KIO_CFLAGS)
AC_SUBST(KIO_LIBS)
fi
dnl *** ladspa *** dnl *** ladspa ***
translit(dnm, m, l) AM_CONDITIONAL(USE_LADSPA, true) translit(dnm, m, l) AM_CONDITIONAL(USE_LADSPA, true)
GST_CHECK_FEATURE(LADSPA, [ladspa], ladspa, [ GST_CHECK_FEATURE(LADSPA, [ladspa], ladspa, [
@ -1675,6 +1701,7 @@ ext/hermes/Makefile
dnl ext/http/Makefile dnl ext/http/Makefile
ext/jack/Makefile ext/jack/Makefile
ext/jpeg/Makefile ext/jpeg/Makefile
ext/kio/Makefile
ext/ladspa/Makefile ext/ladspa/Makefile
ext/lame/Makefile ext/lame/Makefile
ext/ivorbis/Makefile ext/ivorbis/Makefile

View file

@ -76,12 +76,6 @@ else
FAAD_DIR= FAAD_DIR=
endif endif
if USE_NAS
NAS_DIR=nas
else
NAS_DIR=
endif
## if USE_FESTIVAL ## if USE_FESTIVAL
## FESTIVAL_DIR=festival ## FESTIVAL_DIR=festival
## else ## else
@ -130,6 +124,12 @@ else
JPEG_DIR= JPEG_DIR=
endif endif
if USE_KIO
KIO_DIR=kio
else
KIO_DIR=
endif
if USE_LADSPA if USE_LADSPA
LADSPA_DIR=ladspa LADSPA_DIR=ladspa
else else
@ -214,6 +214,12 @@ else
MUSICBRAINZ_DIR= MUSICBRAINZ_DIR=
endif endif
if USE_NAS
NAS_DIR=nas
else
NAS_DIR=
endif
if USE_OGG if USE_OGG
OGG_DIR=ogg OGG_DIR=ogg
else else
@ -338,6 +344,7 @@ SUBDIRS=\
$(HERMES_DIR) \ $(HERMES_DIR) \
$(JACK_DIR) \ $(JACK_DIR) \
$(JPEG_DIR) \ $(JPEG_DIR) \
$(KIO_DIR) \
$(LADSPA_DIR) \ $(LADSPA_DIR) \
$(LAME_DIR) \ $(LAME_DIR) \
$(LCS_DIR) \ $(LCS_DIR) \
@ -393,6 +400,7 @@ DIST_SUBDIRS=\
ivorbis \ ivorbis \
jack \ jack \
jpeg \ jpeg \
kio \
ladspa \ ladspa \
lame \ lame \
lcs \ lcs \

View file

@ -32,8 +32,6 @@ GST_DEBUG_CATEGORY (alsa_debug);
static gboolean static gboolean
plugin_init (GstPlugin * plugin) plugin_init (GstPlugin * plugin)
{ {
GST_DEBUG_CATEGORY_INIT (alsa_debug, "alsa", 0, "alsa plugins");
if (!gst_element_register (plugin, "alsamixer", GST_RANK_NONE, if (!gst_element_register (plugin, "alsamixer", GST_RANK_NONE,
GST_TYPE_ALSA_MIXER)) GST_TYPE_ALSA_MIXER))
return FALSE; return FALSE;
@ -44,6 +42,8 @@ plugin_init (GstPlugin * plugin)
GST_TYPE_ALSA_SINK)) GST_TYPE_ALSA_SINK))
return FALSE; return FALSE;
GST_DEBUG_CATEGORY_INIT (alsa_debug, "alsa", 0, "alsa plugins");
return TRUE; return TRUE;
} }