summaryrefslogtreecommitdiff
path: root/recipes/xmms/files
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/xmms/files
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/xmms/files')
-rw-r--r--recipes/xmms/files/acinclude.m436
-rw-r--r--recipes/xmms/files/gcc4.patch20
-rw-r--r--recipes/xmms/files/xmms-config-dequote.patch25
-rw-r--r--recipes/xmms/files/xmms.sh4
4 files changed, 85 insertions, 0 deletions
diff --git a/recipes/xmms/files/acinclude.m4 b/recipes/xmms/files/acinclude.m4
new file mode 100644
index 0000000000..099d55b0b2
--- /dev/null
+++ b/recipes/xmms/files/acinclude.m4
@@ -0,0 +1,36 @@
+dnl XMMS_FUNC_POSIX(FUNCTION... [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+dnl Test for functions in posix libraries, and define POSIX_LIBS
+AC_DEFUN(XMMS_FUNC_POSIX,
+[dnl
+ xmms_posix4=no
+ xmms_rt=no
+ for xmms_func in $1
+ do
+ xmms_have_func=no
+ AC_CHECK_FUNC($xmms_func,xmms_have_func=yes,[
+ dnl try in libposix4 if not found in current LIBS
+ AC_CHECK_LIB(posix4,$xmms_func,[xmms_have_func=yes xmms_posix4=yes],[
+ dnl try in librt, if not found so far
+ AC_CHECK_LIB(rt,$xmms_func,[xmms_have_func=yes xmms_rt=yes])
+ ])
+ ])
+ if test $xmms_have_func = yes; then
+ changequote(, )dnl
+ xmms_tr_func=HAVE_`echo $xmms_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ changequote([, ])dnl
+ AC_DEFINE_UNQUOTED($xmms_tr_func)
+ ifelse([$2], , :, [$2])
+ else
+ ifelse([$3], , :, [$3])
+ fi
+ done
+ POSIX_LIBS=
+ if test $xmms_posix4 = yes; then
+ POSIX_LIBS=-lposix4
+ fi
+ if test $xmms_rt = yes; then
+ POSIX_LIBS="$POSIX_LIBS -lrt"
+ fi
+ AC_SUBST(POSIX_LIBS)
+])
+
diff --git a/recipes/xmms/files/gcc4.patch b/recipes/xmms/files/gcc4.patch
new file mode 100644
index 0000000000..0619803820
--- /dev/null
+++ b/recipes/xmms/files/gcc4.patch
@@ -0,0 +1,20 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- xmms-1.2.10/General/ir/ir.c~gcc4
++++ xmms-1.2.10/General/ir/ir.c
+@@ -16,10 +16,10 @@
+ #include "ir.h"
+
+ /* Important stuff to know */
+-static gboolean keepGoing = FALSE;
++extern gboolean keepGoing = FALSE;
+
+ /* The thread handle */
+-static pthread_t irapp_thread;
++extern pthread_t irapp_thread;
+
+ /* Declarations for calls that we need to mention in the plugin struct */
+ static void init(void);
diff --git a/recipes/xmms/files/xmms-config-dequote.patch b/recipes/xmms/files/xmms-config-dequote.patch
new file mode 100644
index 0000000000..8fdd7f0cf7
--- /dev/null
+++ b/recipes/xmms/files/xmms-config-dequote.patch
@@ -0,0 +1,25 @@
+--- xmms-1.2.10/xmms-config.in.orig 2006-08-13 06:55:56.000000000 +0100
++++ xmms-1.2.10/xmms-config.in 2006-08-13 06:56:52.000000000 +0100
+@@ -12,15 +12,15 @@
+ #
+ # This work is released under the GNU GPL, version 2 or later.
+
+-prefix="@prefix@"
+-exec_prefix="@exec_prefix@"
++prefix=@prefix@
++exec_prefix=@exec_prefix@
+ exec_prefix_set=no
+-data_dir="@datadir@/@PACKAGE@"
++data_dir=@datadir@/@PACKAGE@
+
+-version="@VERSION@"
+-include_dir="@includedir@"
+-xmms_include_dir="@includedir@/@PACKAGE@"
+-lib_dir="@libdir@"
++version=@VERSION@
++include_dir=@includedir@
++xmms_include_dir=@includedir@/@PACKAGE@
++lib_dir=@libdir@
+
+ if ( (gtk-config --version) > /dev/null 2>&1) then
+ gtk_libs=`gtk-config --libs`
diff --git a/recipes/xmms/files/xmms.sh b/recipes/xmms/files/xmms.sh
new file mode 100644
index 0000000000..7d1a96e129
--- /dev/null
+++ b/recipes/xmms/files/xmms.sh
@@ -0,0 +1,4 @@
+#! /bin/sh
+
+XLIB_SKIP_ARGB_VISUALS=1 xmms
+