[oe-commits] org.oe.dev pulseaudio 0.9.10 add tiny patches from Poky

mickeyl commit oe at amethyst.openembedded.net
Fri Jun 13 18:53:41 UTC 2008


pulseaudio 0.9.10 add tiny patches from Poky

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: e2cb5d1e0ecaf7ec345106320eaa9ab93d254714
ViewMTN: http://monotone.openembedded.org/revision/info/e2cb5d1e0ecaf7ec345106320eaa9ab93d254714
Files:
1
packages/pulseaudio/pulseaudio-0.9.10/2113.diff
packages/pulseaudio/pulseaudio-0.9.10/2114.diff
packages/pulseaudio/pulseaudio-0.9.10/libtool2.patch
packages/pulseaudio/pulseaudio_0.9.10.bb
Diffs:

#
# mt diff -re8c911d65d0d646a5e942c3e0c254381741fafe1 -re2cb5d1e0ecaf7ec345106320eaa9ab93d254714
#
#
#
# add_file "packages/pulseaudio/pulseaudio-0.9.10/2113.diff"
#  content [0046507a819e54bd7d7863b060daad48bfb88960]
# 
# add_file "packages/pulseaudio/pulseaudio-0.9.10/2114.diff"
#  content [8e4a6ffafeeb9ae461826916e50b44596f3a4c7d]
# 
# add_file "packages/pulseaudio/pulseaudio-0.9.10/libtool2.patch"
#  content [3e84133dc42bed50437a4d5910f0ace625c11e93]
# 
# patch "packages/pulseaudio/pulseaudio_0.9.10.bb"
#  from [5a1f2edbaa29c7b721fc6295ce11dd78d9370e6f]
#    to [10a533cfa6921e64cd626d5af4500e800ce63138]
#
============================================================
--- packages/pulseaudio/pulseaudio-0.9.10/2113.diff	0046507a819e54bd7d7863b060daad48bfb88960
+++ packages/pulseaudio/pulseaudio-0.9.10/2113.diff	0046507a819e54bd7d7863b060daad48bfb88960
@@ -0,0 +1,19 @@
+from upstream svn r2113
+
+Index: configure.ac
+===================================================================
+--- configure.ac	(wersja 2112)
++++ configure.ac	(wersja 2113)
+@@ -172,6 +172,12 @@
+ AC_SUBST(LIBLTDL)
+ AC_CONFIG_SUBDIRS(libltdl)
+ 
++old_LIBS=$LIBS
++LIBS="$LIBS $LIBLTDL"
++AC_CHECK_FUNCS([lt_dlmutex_register])
++LIBS=$old_LIBS
++AC_CHECK_TYPES([lt_user_dlloader, lt_dladvise], , , [#include <ltdl.h>])
++
+ if test "x$enable_ltdl_install" = "xno" && test "x$ac_cv_lib_ltdl_lt_dlinit" = "xno" ; then
+     AC_MSG_ERROR([[
+ 
============================================================
--- packages/pulseaudio/pulseaudio-0.9.10/2114.diff	8e4a6ffafeeb9ae461826916e50b44596f3a4c7d
+++ packages/pulseaudio/pulseaudio-0.9.10/2114.diff	8e4a6ffafeeb9ae461826916e50b44596f3a4c7d
@@ -0,0 +1,15 @@
+from upstream svn r2114
+
+Index: configure.ac
+===================================================================
+--- configure.ac	(wersja 2113)
++++ configure.ac	(wersja 2114)
+@@ -176,7 +176,7 @@
+ LIBS="$LIBS $LIBLTDL"
+ AC_CHECK_FUNCS([lt_dlmutex_register])
+ LIBS=$old_LIBS
+-AC_CHECK_TYPES([lt_user_dlloader, lt_dladvise], , , [#include <ltdl.h>])
++AC_CHECK_TYPES([struct lt_user_dlloader, lt_dladvise], , , [#include <ltdl.h>])
+ 
+ if test "x$enable_ltdl_install" = "xno" && test "x$ac_cv_lib_ltdl_lt_dlinit" = "xno" ; then
+     AC_MSG_ERROR([[
============================================================
--- packages/pulseaudio/pulseaudio-0.9.10/libtool2.patch	3e84133dc42bed50437a4d5910f0ace625c11e93
+++ packages/pulseaudio/pulseaudio-0.9.10/libtool2.patch	3e84133dc42bed50437a4d5910f0ace625c11e93
@@ -0,0 +1,48 @@
+Tell where is libltdl from libtool - was needed to get it built with libtool 2.2.4
+
+---
+ configure.ac |   26 +++++++++++++++++++-------
+ 1 file changed, 19 insertions(+), 7 deletions(-)
+
+--- pulseaudio-0.9.10.orig/configure.ac
++++ pulseaudio-0.9.10/configure.ac
+@@ -242,20 +242,32 @@ if test $ret -eq 0 ; then
+ else
+     AC_MSG_RESULT([no])
+ fi
+ 
+ #### libtool stuff ####
+-
+-AC_LTDL_ENABLE_INSTALL
+-AC_LIBLTDL_INSTALLABLE
+-AC_LIBTOOL_DLOPEN
+-AC_LIBTOOL_WIN32_DLL
++LT_PREREQ([2.2])
++LT_INIT([dlopen win32-dll])
+ AC_PROG_LIBTOOL
+-AC_SUBST(LTDLINCL)
+-AC_SUBST(LIBLTDL)
++#AC_SUBST(LTDLINCL)
++#AC_SUBST(LIBLTDL)
+ AC_CONFIG_SUBDIRS(libltdl)
+ 
++AC_ARG_WITH(libltdl-libs,
++	[  --with-libltdl-libs=DIR  path to libltdl libs], libltdl_libs_prefix=$withval)
++if test x$libltdl_libs_prefix != x; then
++	LIBLTDL="-L${libltdl_libs_prefix}/libltdl.so -lltdl"
++fi
++AC_SUBST(LIBLTDL)
++
++AC_ARG_WITH(libltdl-includes,
++	[  --with-libltdl-includes=DIR  path to libltdl includes], libltdl_prefix=$withval)
++if test x$libltdl_prefix != x; then
++	LTDLINCL="-I${libltdl_prefix} ${libltdl_libs_prefix}/libltdl.so"
++fi
++AC_SUBST(LTDLINCL)
++
++
+ old_LIBS=$LIBS
+ LIBS="$LIBS $LIBLTDL"
+ AC_CHECK_FUNCS([lt_dlmutex_register])
+ LIBS=$old_LIBS
+ AC_CHECK_TYPES([struct lt_user_dlloader, lt_dladvise], , , [#include <ltdl.h>])
============================================================
--- packages/pulseaudio/pulseaudio_0.9.10.bb	5a1f2edbaa29c7b721fc6295ce11dd78d9370e6f
+++ packages/pulseaudio/pulseaudio_0.9.10.bb	10a533cfa6921e64cd626d5af4500e800ce63138
@@ -1,16 +1,19 @@ DEPENDS += "dbus"
 require pulseaudio.inc
 
 DEPENDS += "dbus"
-PR = "r2"
+PR = "r3"
 
-# this is not correct (see below)
 SRC_URI += "\
   file://disable-using-glibc-tls.patch;patch=1 \
   file://libpulsedsp-references-libpulsecore.patch;patch=1 \
   file://pa-drop-caps-returns-void.patch;patch=1 \
+#  file://libtool2.patch;patch=1 \
+  file://2113.diff;patch=1;pnum=0 \
+  file://2114.diff;patch=1;pnum=0 \
 "            
 
 # problems w/ pulseaudio 0.9.10 atm:
 # 1.) needs libltdl >= 1.5.24 (yes, any older version will NOT work at runtime)
 # 2.) doesn't build w/ glibc TLS support (hence patched out)
 # 3.) fails with hierarchical pthread stuff w/ gst-pulse (hence patched out)
+






More information about the Openembedded-commits mailing list