mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 16:43:33 +02:00
Removing liblrdf, libraptor, redland, and slv2 in preparation for
conversion to lilv, serd, sord, and sratom.
This commit is contained in:
@@ -1,60 +0,0 @@
|
||||
dnl Add Audacity / LRDF license?
|
||||
dnl
|
||||
dnl Please increment the serial number below whenever you alter this macro
|
||||
dnl for the benefit of automatic macro update systems
|
||||
# audacity_checklib_liblrdf.m4 serial 1
|
||||
|
||||
AC_DEFUN([AUDACITY_CHECKLIB_LIBLRDF], [
|
||||
AC_ARG_WITH(liblrdf,
|
||||
[AS_HELP_STRING([--with-liblrdf],
|
||||
[use liblrdf for categorisation of LADSPA plugins ])],
|
||||
LIBLRDF_ARGUMENT=$withval,
|
||||
LIBLRDF_ARGUMENT="unspecified")
|
||||
|
||||
if false ; then
|
||||
AC_DEFINE(USE_LIBLRDF, 1,
|
||||
[Define if liblrdf (metadata for LADSPA plugins) support should be enabled])
|
||||
fi
|
||||
|
||||
dnl Check for a system copy of liblrdf to use. I've only tested with
|
||||
dnl version 0.4.0, this requirement might be relaxed in the future if
|
||||
dnl someone else has it working with an earlier version.
|
||||
|
||||
PKG_CHECK_MODULES(LIBLRDF, lrdf >= 0.4.0,
|
||||
liblrdf_available_system="yes",
|
||||
liblrdf_available_system="no")
|
||||
|
||||
LIBLRDF_SYSTEM_AVAILABLE="no"
|
||||
if test "x$liblrdf_available_system" = "xyes" ; then
|
||||
LIBLRDF_SYSTEM_AVAILABLE="yes"
|
||||
LIBLRDF_SYSTEM_LIBS="$LIBLRDF_LIBS"
|
||||
LIBLRDF_SYSTEM_CXXFLAGS="$LIBLRDF_CFLAGS"
|
||||
LIBLRDF_SYSTEM_CPPSYMBOLS="USE_LIBLRDF"
|
||||
AC_MSG_NOTICE([liblrdf available as system library])
|
||||
fi
|
||||
if test "x$LIBLRDF_SYSTEM_AVAILABLE" = "xno" ; then
|
||||
AC_MSG_NOTICE([liblrdf NOT available as system library])
|
||||
fi
|
||||
|
||||
dnl see if liblrdf is available locally
|
||||
AC_CHECK_FILE(${srcdir}/lib-src/liblrdf/lrdf.h,
|
||||
lrdf_h_found="yes",
|
||||
lrdf_h_found="no")
|
||||
|
||||
if test "x$lrdf_h_found" = "xyes" ; then
|
||||
LIBLRDF_LOCAL_AVAILABLE="yes"
|
||||
LIBLRDF_LOCAL_LIBS="liblrdf.a"
|
||||
LIBLRDF_LOCAL_CXXFLAGS='-I$(top_srcdir)/lib-src/liblrdf'
|
||||
LIBLRDF_LOCAL_CPPSYMBOLS="USE_LIBLRDF"
|
||||
AC_MSG_NOTICE([liblrdf is available in the local tree])
|
||||
else
|
||||
LIBLRDF_LOCAL_AVAILABLE="no"
|
||||
AC_MSG_NOTICE([liblrdf is NOT available in the local tree])
|
||||
fi
|
||||
])
|
||||
|
||||
AC_DEFUN([AUDACITY_CONFIG_SUBDIRS_LIBLRDF], [
|
||||
if test "$LIBLRDF_USE_LOCAL" = yes; then
|
||||
AC_CONFIG_SUBDIRS([lib-src/liblrdf])
|
||||
fi
|
||||
])
|
@@ -1,54 +0,0 @@
|
||||
dnl Add Audacity / raptor license?
|
||||
dnl Please increment the serial number below whenever you alter this macro
|
||||
dnl for the benefit of automatic macro update systems
|
||||
# audacity_checklib_libraptor.m4 serial 1
|
||||
|
||||
AC_DEFUN([AUDACITY_CHECKLIB_LIBRAPTOR], [
|
||||
AC_ARG_WITH(libraptor,
|
||||
[AS_HELP_STRING([--with-libraptor],
|
||||
[libraptor is needed for categorisation of LADSPA plugins])],
|
||||
LIBRAPTOR_ARGUMENT=$withval,
|
||||
LIBRAPTOR_ARGUMENT="unspecified")
|
||||
|
||||
dnl Check for a system copy of libraptor to use.
|
||||
|
||||
PKG_CHECK_MODULES(LIBRAPTOR, raptor >= 1.4.17,
|
||||
libraptor_available_system="yes",
|
||||
libraptor_available_system="no")
|
||||
|
||||
LIBRAPTOR_SYSTEM_AVAILABLE="no"
|
||||
if test "x$libraptor_available_system" = "xyes" ; then
|
||||
LIBRAPTOR_SYSTEM_AVAILABLE="yes"
|
||||
LIBRAPTOR_SYSTEM_LIBS="$LIBRAPTOR_LIBS"
|
||||
LIBRAPTOR_SYSTEM_CXXFLAGS="$LIBRAPTOR_CFLAGS"
|
||||
AC_MSG_NOTICE([libraptor available as system library])
|
||||
fi
|
||||
if test "x$LIBRAPTOR_SYSTEM_AVAILABLE" = "xno" ; then
|
||||
AC_MSG_NOTICE([libraptor NOT available as system library])
|
||||
fi
|
||||
|
||||
dnl see if libraptor is available locally
|
||||
AC_CHECK_FILE(${srcdir}/lib-src/libraptor/src/raptor.h,
|
||||
raptor_h_found="yes",
|
||||
raptor_h_found="no")
|
||||
|
||||
if test "x$raptor_h_found" = "xyes" ; then
|
||||
LIBRAPTOR_LOCAL_AVAILABLE="yes"
|
||||
LIBRAPTOR_LOCAL_LIBS="libraptor.a"
|
||||
LIBRAPTOR_LOCAL_CXXFLAGS='-I$(top_srcdir)/lib-src/libraptor/src'
|
||||
AC_MSG_NOTICE([libraptor is available in the local tree])
|
||||
if test "x$LIBEXPAT_SYSTEM_AVAILABLE" = "xno" ; then
|
||||
LIBRAPTOR_LOCAL_CONFIGURE_ARGS="\"--with-expat-source=${srcdir}/src/include\""
|
||||
fi
|
||||
LIBRAPTOR_LOCAL_CONFIGURE_ARGS="$LIBRAPTOR_LOCAL_CONFIGURE_ARGS RAPTOR_CFLAGS='-I../../libraptor/src' RAPTOR_LIBS='-L../.. -lraptor'"
|
||||
else
|
||||
LIBRAPTOR_LOCAL_AVAILABLE="no"
|
||||
AC_MSG_NOTICE([libraptor is NOT available in the local tree])
|
||||
fi
|
||||
])
|
||||
|
||||
AC_DEFUN([AUDACITY_CONFIG_SUBDIRS_LIBRAPTOR], [
|
||||
if test "$LIBRAPTOR_USE_LOCAL" = yes; then
|
||||
AC_CONFIG_SUBDIRS([lib-src/libraptor])
|
||||
fi
|
||||
])
|
@@ -1,55 +0,0 @@
|
||||
dnl add Audacity / Redland license?
|
||||
dnl Please increment the serial number below whenever you alter this macro
|
||||
dnl for the benefit of automatic macro update systems
|
||||
# audacity_checklib_redland.m4 serial 1
|
||||
|
||||
AC_DEFUN([AUDACITY_CHECKLIB_REDLAND], [
|
||||
AC_ARG_WITH(redland,
|
||||
[AS_HELP_STRING([--with-redland],
|
||||
[use Redland for reading RDF data ])],
|
||||
REDLAND_ARGUMENT=$withval,
|
||||
REDLAND_ARGUMENT="unspecified")
|
||||
|
||||
dnl Check for a system copy of Redland to use.
|
||||
PKG_CHECK_MODULES(REDLAND, redland >= 1.0.7,
|
||||
redland_available_system="yes",
|
||||
redland_available_system="no")
|
||||
REDLAND_SYSTEM_AVAILABLE="no"
|
||||
if test "x$redland_available_system" = "xyes" ; then
|
||||
REDLAND_SYSTEM_AVAILABLE="yes"
|
||||
REDLAND_SYSTEM_LIBS="$REDLAND_LIBS"
|
||||
REDLAND_SYSTEM_CXXFLAGS="$REDLAND_CFLAGS"
|
||||
AC_MSG_NOTICE([Redland available as system library])
|
||||
fi
|
||||
if test "x$REDLAND_SYSTEM_AVAILABLE" = "xno" ; then
|
||||
AC_MSG_NOTICE([Redland NOT available as system library])
|
||||
fi
|
||||
|
||||
dnl Check if Redland is available locally.
|
||||
AC_CHECK_FILE(${srcdir}/lib-src/redland/librdf/librdf.h,
|
||||
librdf_h_found="yes",
|
||||
librdf_h_found="no")
|
||||
|
||||
if test "x$librdf_h_found" = "xyes" ; then
|
||||
REDLAND_LOCAL_AVAILABLE="yes"
|
||||
REDLAND_LOCAL_LIBS="librdf.a libraptor.a librasqal.a"
|
||||
REDLAND_LOCAL_CXXFLAGS='-I$(top_srcdir)/lib-src/redland/librdf -I$(top_srcdir)/lib-src/redland/raptor/src -I$(top_srcdir)/lib-src/redland/rasqal/src'
|
||||
if test "x$LIBEXPAT_SYSTEM_AVAILABLE" = "xno" ; then
|
||||
# This is a horrible hack to keep from having to modify the raptor/configure.ac. It makes
|
||||
# the raptor configure think there's a full expat source tree. But, all we have is expat.h
|
||||
# tucked away in audacity/src/include. So, we trick it...
|
||||
REDLAND_LOCAL_CONFIGURE_ARGS="\"--with-expat-source=dummy_magic\" CPPFLAGS='$CPPFLAGS -I../../../src/include'"
|
||||
fi
|
||||
REDLAND_LOCAL_CONFIGURE_ARGS="$REDLAND_LOCAL_CONFIGURE_ARGS RAPTOR_CFLAGS='-I../../redland/raptor/src' RAPTOR_LIBS='-L.. -L../.. -lraptor' REDLAND_CFLAGS='-I../../redland/raptor/src -I../../redland/rasqal/src -I../../redland/librdf' REDLAND_LIBS='-L.. -L../.. -lrdf -lraptor -lrasqal'"
|
||||
AC_MSG_NOTICE([Redland is available in the local tree])
|
||||
else
|
||||
REDLAND_LOCAL_AVAILABLE="no"
|
||||
AC_MSG_NOTICE([Redland is NOT available in the local tree])
|
||||
fi
|
||||
])
|
||||
|
||||
AC_DEFUN([AUDACITY_CONFIG_SUBDIRS_REDLAND], [
|
||||
if test "$REDLAND_USE_LOCAL" = yes; then
|
||||
AC_CONFIG_SUBDIRS([lib-src/redland])
|
||||
fi
|
||||
])
|
@@ -1,58 +0,0 @@
|
||||
dnl Add Audacity / SLV2 license?
|
||||
dnl Please increment the serial number below whenever you alter this macro
|
||||
dnl for the benefit of automatic macro update systems
|
||||
# audacity_checklib_slv2.m4 serial 1
|
||||
|
||||
AC_DEFUN([AUDACITY_CHECKLIB_SLV2], [
|
||||
AC_ARG_WITH(slv2,
|
||||
[AS_HELP_STRING([--with-slv2],
|
||||
[use SLV2 for loading LV2 plugins ])],
|
||||
SLV2_ARGUMENT=$withval,
|
||||
SLV2_ARGUMENT="unspecified")
|
||||
|
||||
if false ; then
|
||||
AC_DEFINE(USE_SLV2, 1,
|
||||
[Define if SLV2 (library for loading LV2 plugins) should be enabled])
|
||||
fi
|
||||
|
||||
dnl Check for a system copy of SLV2 to use. We need at least version 0.6.
|
||||
|
||||
PKG_CHECK_MODULES(SLV2, slv2 >= 0.6.0,
|
||||
slv2_available_system="yes",
|
||||
slv2_available_system="no")
|
||||
SLV2_SYSTEM_AVAILABLE="no"
|
||||
if test "x$slv2_available_system" = "xyes" ; then
|
||||
SLV2_SYSTEM_AVAILABLE="yes"
|
||||
SLV2_SYSTEM_LIBS="$SLV2_LIBS"
|
||||
SLV2_SYSTEM_CXXFLAGS="$SLV2_CFLAGS"
|
||||
SLV2_SYSTEM_CPPSYMBOLS="USE_SLV2"
|
||||
SLV2_SYSTEM_OPTOBJS="effects/lv2/LoadLV2.o effects/lv2/LV2Effect.o effects/lv2/LV2PortGroup.o"
|
||||
AC_MSG_NOTICE([SLV2 available as system library])
|
||||
fi
|
||||
if test "x$SLV2_SYSTEM_AVAILABLE" = "xno" ; then
|
||||
AC_MSG_NOTICE([SLV2 NOT available as system library])
|
||||
fi
|
||||
|
||||
dnl Check if SLV2 is available locally.
|
||||
AC_CHECK_FILE(${srcdir}/lib-src/slv2/slv2/slv2.h,
|
||||
slv2_h_found="yes",
|
||||
slv2_h_found="no")
|
||||
|
||||
if test "x$slv2_h_found" = "xyes" ; then
|
||||
SLV2_LOCAL_AVAILABLE="yes"
|
||||
SLV2_LOCAL_LIBS="libslv2.a"
|
||||
SLV2_LOCAL_CXXFLAGS='-I$(top_srcdir)/lib-src/slv2'
|
||||
SLV2_LOCAL_CPPSYMBOLS="USE_SLV2"
|
||||
SLV2_LOCAL_OPTOBJS="effects/lv2/LoadLV2.o effects/lv2/LV2Effect.o effects/lv2/LV2PortGroup.o"
|
||||
AC_MSG_NOTICE([SLV2 is available in the local tree])
|
||||
else
|
||||
SLV2_LOCAL_AVAILABLE="no"
|
||||
AC_MSG_NOTICE([SLV2 is NOT available in the local tree])
|
||||
fi
|
||||
])
|
||||
|
||||
AC_DEFUN([AUDACITY_CONFIG_SUBDIRS_SLV2], [
|
||||
if test "$SLV2_USE_LOCAL" = yes; then
|
||||
AC_CONFIG_SUBDIRS([lib-src/slv2])
|
||||
fi
|
||||
])
|
Reference in New Issue
Block a user