pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/xmms -make sure the NetBSD <soundcard.h> is foun...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9c2291b2cbd6
branches:  trunk
changeset: 475225:9c2291b2cbd6
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed May 12 18:50:21 2004 +0000

description:
-make sure the NetBSD <soundcard.h> is found instead of the version
 which comes with xmms, and link in -lossaudio
-fix the sun audio configuration dialog to avoid double unlocking of
 mutexes which NetBSD's libpthread gets mad about

diffstat:

 audio/xmms/Makefile.common  |   5 +++--
 audio/xmms/distinfo         |   7 ++++++-
 audio/xmms/patches/patch-ab |  13 +++++++++++++
 audio/xmms/patches/patch-ac |  13 +++++++++++++
 audio/xmms/patches/patch-ad |  13 +++++++++++++
 audio/xmms/patches/patch-ae |  13 +++++++++++++
 audio/xmms/patches/patch-af |  19 +++++++++++++++++++
 7 files changed, 80 insertions(+), 3 deletions(-)

diffs (133 lines):

diff -r 398822f2880f -r 9c2291b2cbd6 audio/xmms/Makefile.common
--- a/audio/xmms/Makefile.common        Wed May 12 18:49:47 2004 +0000
+++ b/audio/xmms/Makefile.common        Wed May 12 18:50:21 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.9 2004/05/06 18:10:20 xtraeme Exp $
+# $NetBSD: Makefile.common,v 1.10 2004/05/12 18:50:21 drochner Exp $
 #
 
 DISTNAME=      xmms-1.2.10
@@ -45,8 +45,8 @@
                        --with-cdda-dir=/cdrom/
 CPPFLAGS+=             -DHAVE_NANOSLEEP=1
 
+post-patch:
 .  if ${MACHINE_ARCH} == "i386"
-post-patch:
 .    if ${OBJECT_FMT} == "a.out"
        ${CP} ${FILESDIR}/decode_i586_.s ${WRKSRC}/Input/mpg123/decode_i586.s
 .    endif
@@ -54,6 +54,7 @@
        ${MV} decode_i586.s decode_i586.s.orig && \
        ${SED} -e 's@^/@#/@g' <decode_i586.s.orig >decode_i586.s
 .  endif
+       ${RM} -f ${WRKSRC}/Output/OSS/soundcard.h
 .endif
 
 .if ${OPSYS} == "SunOS"
diff -r 398822f2880f -r 9c2291b2cbd6 audio/xmms/distinfo
--- a/audio/xmms/distinfo       Wed May 12 18:49:47 2004 +0000
+++ b/audio/xmms/distinfo       Wed May 12 18:50:21 2004 +0000
@@ -1,5 +1,10 @@
-$NetBSD: distinfo,v 1.18 2004/05/06 18:10:20 xtraeme Exp $
+$NetBSD: distinfo,v 1.19 2004/05/12 18:50:21 drochner Exp $
 
 SHA1 (xmms-1.2.10.tar.bz2) = a3c3d3756d5263183c27b3c50a7f5404cba8bfaf
 Size (xmms-1.2.10.tar.bz2) = 2418265 bytes
 SHA1 (patch-aa) = 23eb5917abc23b56275b6ad96f90762531e52cab
+SHA1 (patch-ab) = a85defa7f7861089d5d8bb793de08a4573bfa6e0
+SHA1 (patch-ac) = 3862a4a2787546b0541f81686ead8e7531456a23
+SHA1 (patch-ad) = c1ae34511eced8a7856d517f68ed23611dc0cb0c
+SHA1 (patch-ae) = bc493ca81d6fa0310e795363e97915c8e8fde5d8
+SHA1 (patch-af) = 9b97ab806c497533a0e4d116a072a5d7920a15a6
diff -r 398822f2880f -r 9c2291b2cbd6 audio/xmms/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms/patches/patch-ab       Wed May 12 18:50:21 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.5 2004/05/12 18:50:21 drochner Exp $
+
+--- Output/OSS/OSS.h.orig      2004-05-12 21:21:08.000000000 +0200
++++ Output/OSS/OSS.h   2004-05-12 21:21:26.000000000 +0200
+@@ -37,7 +37,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ 
+-#include "soundcard.h"
++#include <soundcard.h>
+ 
+ #include "xmms/plugin.h"
+ #include "libxmms/configfile.h"
diff -r 398822f2880f -r 9c2291b2cbd6 audio/xmms/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms/patches/patch-ac       Wed May 12 18:50:21 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.6 2004/05/12 18:50:21 drochner Exp $
+
+--- Output/OSS/Makefile.in.orig        2004-05-12 21:38:26.000000000 +0200
++++ Output/OSS/Makefile.in     2004-05-12 21:40:23.000000000 +0200
+@@ -240,7 +240,7 @@
+ lib_LTLIBRARIES = $(ossltlibs)
+ 
+ libOSS_la_LDFLAGS = @PLUGIN_LDFLAGS@
+-libOSS_la_LIBADD = @GTK_LIBS@ @PTHREAD_LIBS@
++libOSS_la_LIBADD = @GTK_LIBS@ @PTHREAD_LIBS@ -lossaudio
+ libOSS_la_SOURCES = $(ossbuildsources)
+ INCLUDES = @GTK_CFLAGS@ -I$(top_builddir)/intl -I$(top_srcdir)
+ subdir = Output/OSS
diff -r 398822f2880f -r 9c2291b2cbd6 audio/xmms/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms/patches/patch-ad       Wed May 12 18:50:21 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.5 2004/05/12 18:50:21 drochner Exp $
+
+--- Input/cdaudio/cdaudio.h.orig       2004-05-12 21:26:15.000000000 +0200
++++ Input/cdaudio/cdaudio.h    2004-05-12 21:27:13.000000000 +0200
+@@ -39,7 +39,7 @@
+ #include "cdinfo.h"
+ 
+ #ifdef HAVE_OSS
+-#include <Output/OSS/soundcard.h>
++#include <soundcard.h>
+ #endif
+ 
+ #ifdef HAVE_MNTENT_H
diff -r 398822f2880f -r 9c2291b2cbd6 audio/xmms/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms/patches/patch-ae       Wed May 12 18:50:21 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.7 2004/05/12 18:50:21 drochner Exp $
+
+--- Input/cdaudio/Makefile.in.orig     2004-05-12 21:39:31.000000000 +0200
++++ Input/cdaudio/Makefile.in  2004-05-12 21:40:22.000000000 +0200
+@@ -242,7 +242,7 @@
+ 
+ INCLUDES = @GTK_CFLAGS@ -I$(top_builddir)/intl -I$(top_srcdir)
+ libcdaudio_la_LDFLAGS = @PLUGIN_LDFLAGS@
+-libcdaudio_la_LIBADD = @GTK_LIBS@
++libcdaudio_la_LIBADD = @GTK_LIBS@ -lossaudio
+ libcdaudio_la_SOURCES = $(cdaudiobuildsources)
+ subdir = Input/cdaudio
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff -r 398822f2880f -r 9c2291b2cbd6 audio/xmms/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms/patches/patch-af       Wed May 12 18:50:21 2004 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-af,v 1.6 2004/05/12 18:50:21 drochner Exp $
+
+--- Output/sun/configure.c.orig        2004-05-12 22:33:27.000000000 +0200
++++ Output/sun/configure.c     2004-05-12 22:34:11.000000000 +0200
+@@ -75,12 +75,12 @@
+       xmms_cfg_write_default_file(cfgfile);
+       xmms_cfg_free(cfgfile);
+ 
+-      configure_win_destroy();
++      gtk_widget_destroy(configure_win);
+ }
+ 
+ static void configure_win_cancel_cb(GtkWidget *w, gpointer data)
+ {
+-      configure_win_destroy();
++      gtk_widget_destroy(configure_win);
+ }
+ 
+ static void mixer_cbutton_toggled_cb(GtkWidget *w, int id)



Home | Main Index | Thread Index | Old Index