pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/bmp Fix the OSS plugin. For me it only fixes th...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c7c0665c79e0
branches: trunk
changeset: 477127:c7c0665c79e0
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Sat Jun 26 22:12:28 2004 +0000
description:
Fix the OSS plugin. For me it only fixes the volume control, but I have
been told by many people that it doesn't work at all for them... hopefully
this solves all problems.
The fix is the following: instead of using the included soundcard.h file,
use the one provided by the system (only in the NetBSD case; I can't test
other systems).
Idea from PR pkg/25301 by Kouichirou Hiratsuka. Bump PKGREVISION to 1.
diffstat:
audio/bmp/Makefile | 4 +++-
audio/bmp/Makefile.common | 6 +++++-
audio/bmp/distinfo | 4 +++-
audio/bmp/patches/patch-aq | 13 +++++++++++++
audio/bmp/patches/patch-ar | 13 +++++++++++++
5 files changed, 37 insertions(+), 3 deletions(-)
diffs (84 lines):
diff -r adb77dc6bf63 -r c7c0665c79e0 audio/bmp/Makefile
--- a/audio/bmp/Makefile Sat Jun 26 22:05:46 2004 +0000
+++ b/audio/bmp/Makefile Sat Jun 26 22:12:28 2004 +0000
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.2 2004/04/12 23:15:01 salo Exp $
+# $NetBSD: Makefile,v 1.3 2004/06/26 22:12:28 jmmv Exp $
#
.include "Makefile.common"
+PKGREVISION= 1
+
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--disable-oss/--enable-oss/}
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--disable-vorbis/--enable-vorbis/}
diff -r adb77dc6bf63 -r c7c0665c79e0 audio/bmp/Makefile.common
--- a/audio/bmp/Makefile.common Sat Jun 26 22:05:46 2004 +0000
+++ b/audio/bmp/Makefile.common Sat Jun 26 22:12:28 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2004/04/14 16:15:20 jmmv Exp $
+# $NetBSD: Makefile.common,v 1.4 2004/06/26 22:12:28 jmmv Exp $
#
DISTNAME= bmp-0.9.6.1
@@ -38,6 +38,10 @@
--with-cdda-device=/dev/rcd0${RAWPART} \
--with-cdda-dir=/cdrom/
+post-extract:
+ ${RM} ${WRKSRC}/Output/OSS/soundcard.h
+ ${LN} -s /usr/include/soundcard.h ${WRKSRC}/Output/OSS/soundcard.h
+
. if ${MACHINE_ARCH} == "i386"
post-patch:
. if ${OBJECT_FMT} == "a.out"
diff -r adb77dc6bf63 -r c7c0665c79e0 audio/bmp/distinfo
--- a/audio/bmp/distinfo Sat Jun 26 22:05:46 2004 +0000
+++ b/audio/bmp/distinfo Sat Jun 26 22:12:28 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2004/05/28 19:20:38 jmmv Exp $
+$NetBSD: distinfo,v 1.6 2004/06/26 22:12:28 jmmv Exp $
SHA1 (bmp-0.9.6.1.tar.gz) = c07b55c7fa3e965ff07bf7794b1ca03d00606197
Size (bmp-0.9.6.1.tar.gz) = 1472078 bytes
@@ -16,3 +16,5 @@
SHA1 (patch-an) = da55750c5ee50acfd25e695813bfc025c4fc7b5f
SHA1 (patch-ao) = 9043ce4618715ff2cfe12df0d31806a9745c25ed
SHA1 (patch-ap) = 76d750aa820e9710d2520d3cec067d91346dc5aa
+SHA1 (patch-aq) = 37f42a5bc9eca8568f5b3889580580997c3c6fc1
+SHA1 (patch-ar) = 2d519625a427cd54fa9af376bda80c085b617ea2
diff -r adb77dc6bf63 -r c7c0665c79e0 audio/bmp/patches/patch-aq
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/bmp/patches/patch-aq Sat Jun 26 22:12:28 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aq,v 1.1 2004/06/26 22:12:28 jmmv Exp $
+
+--- Output/OSS/Makefile.in.orig 2004-06-26 23:46:20.000000000 +0200
++++ Output/OSS/Makefile.in
+@@ -239,7 +239,7 @@ EXTRA_DIST = $(osssources)
+ lib_LTLIBRARIES = $(ossltlibs)
+
+ libOSS_la_LDFLAGS = @PLUGIN_LDFLAGS@
+-libOSS_la_LIBADD = @GTK_LIBS@ @PTHREAD_LIBS@
++libOSS_la_LIBADD = @GTK_LIBS@ @PTHREAD_LIBS@ $(LIBOSSAUDIO)
+ libOSS_la_SOURCES = $(ossbuildsources)
+ INCLUDES = @GTK_CFLAGS@ -I$(top_builddir)/intl -I$(top_srcdir)
+ subdir = Output/OSS
diff -r adb77dc6bf63 -r c7c0665c79e0 audio/bmp/patches/patch-ar
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/bmp/patches/patch-ar Sat Jun 26 22:12:28 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ar,v 1.1 2004/06/26 22:12:28 jmmv Exp $
+
+--- Input/cdaudio/Makefile.in.orig 2004-06-26 23:51:20.000000000 +0200
++++ Input/cdaudio/Makefile.in
+@@ -241,7 +241,7 @@ lib_LTLIBRARIES = $(cdaudioltlibs)
+
+ 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@ $(LIBOSSAUDIO)
+ libcdaudio_la_SOURCES = $(cdaudiobuildsources)
+ subdir = Input/cdaudio
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
Home |
Main Index |
Thread Index |
Old Index