Mon May 6 20:44:18 2013 UTC ()
Fix VARBASE and PKG_SYSCONFBASEDIR handling. Bump PKGREVISION.


(markd)
diff -r1.69 -r1.70 pkgsrc/audio/pulseaudio/Makefile
diff -r1.11 -r1.12 pkgsrc/audio/pulseaudio/PLIST
diff -r1.35 -r1.36 pkgsrc/audio/pulseaudio/distinfo
diff -r1.2 -r1.3 pkgsrc/audio/pulseaudio/patches/patch-configure
diff -r1.2 -r1.3 pkgsrc/audio/pulseaudio/patches/patch-src_Makefile.in

cvs diff -r1.69 -r1.70 pkgsrc/audio/pulseaudio/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/pulseaudio/Makefile 2013/02/16 11:20:17 1.69
+++ pkgsrc/audio/pulseaudio/Makefile 2013/05/06 20:44:18 1.70
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1# $NetBSD: Makefile,v 1.69 2013/02/16 11:20:17 wiz Exp $ 1# $NetBSD: Makefile,v 1.70 2013/05/06 20:44:18 markd Exp $
2# 2#
3 3
4DISTNAME= pulseaudio-2.1 4DISTNAME= pulseaudio-2.1
5PKGREVISION= 3 5PKGREVISION= 4
6CATEGORIES= audio 6CATEGORIES= audio
7MASTER_SITES= http://freedesktop.org/software/pulseaudio/releases/ 7MASTER_SITES= http://freedesktop.org/software/pulseaudio/releases/
8EXTRACT_SUFX= .tar.xz 8EXTRACT_SUFX= .tar.xz
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://www.freedesktop.org/wiki/Software/PulseAudio 11HOMEPAGE= http://www.freedesktop.org/wiki/Software/PulseAudio
12COMMENT= Sound server for POSIX and Win32 systems 12COMMENT= Sound server for POSIX and Win32 systems
13LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2 13LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2
14 14
15GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
16USE_LIBTOOL= yes 16USE_LIBTOOL= yes
17USE_TOOLS+= gmake gm4 intltool msgfmt pkg-config 17USE_TOOLS+= gmake gm4 intltool msgfmt pkg-config
18USE_LANGUAGES= c c++ 18USE_LANGUAGES= c c++
@@ -22,26 +22,28 @@ USE_LANGUAGES= c c++ @@ -22,26 +22,28 @@ USE_LANGUAGES= c c++
22.if ${OPSYS} == "NetBSD" 22.if ${OPSYS} == "NetBSD"
23CONFIGURE_ARGS+= --disable-default-build-tests 23CONFIGURE_ARGS+= --disable-default-build-tests
24.endif 24.endif
25.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[45].*) 25.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[45].*)
26# broken test for TLS 26# broken test for TLS
27CONFIGURE_ENV+= ac_cv_tls=none 27CONFIGURE_ENV+= ac_cv_tls=none
28.endif 28.endif
29 29
30CONFIGURE_ENV+= EGDIR=${EGDIR} 30CONFIGURE_ENV+= EGDIR=${EGDIR}
31MAKE_ENV+= EGDIR=${EGDIR} 31MAKE_ENV+= EGDIR=${EGDIR}
32 32
33CONFIGURE_ARGS+= --enable-samplerate 33CONFIGURE_ARGS+= --enable-samplerate
34CONFIGURE_ARGS+= --disable-tcpwrap 34CONFIGURE_ARGS+= --disable-tcpwrap
 35CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
 36CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR:Q}
35 37
36# Use native atomic ops on NetBSD >= 5.0, otherwise 38# Use native atomic ops on NetBSD >= 5.0, otherwise
37# fallback to libatomic_ops 39# fallback to libatomic_ops
38.if !(${OPSYS} == "NetBSD" && exists(/usr/include/sys/atomic.h)) 40.if !(${OPSYS} == "NetBSD" && exists(/usr/include/sys/atomic.h))
39.include "../../devel/libatomic_ops/buildlink3.mk" 41.include "../../devel/libatomic_ops/buildlink3.mk"
40.endif 42.endif
41 43
42# Build module-mmkbd-evdev.so under Linux 44# Build module-mmkbd-evdev.so under Linux
43.if ${OPSYS} == "Linux" && exists(/usr/include/linux/input.h) 45.if ${OPSYS} == "Linux" && exists(/usr/include/linux/input.h)
44PLIST.evdev= yes 46PLIST.evdev= yes
45.endif 47.endif
46 48
47.include "options.mk" 49.include "options.mk"

cvs diff -r1.11 -r1.12 pkgsrc/audio/pulseaudio/PLIST (expand / switch to unified diff)

--- pkgsrc/audio/pulseaudio/PLIST 2012/11/17 22:20:48 1.11
+++ pkgsrc/audio/pulseaudio/PLIST 2013/05/06 20:44:18 1.12
@@ -1,30 +1,30 @@ @@ -1,30 +1,30 @@
1@comment $NetBSD: PLIST,v 1.11 2012/11/17 22:20:48 markd Exp $ 1@comment $NetBSD: PLIST,v 1.12 2013/05/06 20:44:18 markd Exp $
2bin/esdcompat 2bin/esdcompat
3bin/pacat 3bin/pacat
4bin/pacmd 4bin/pacmd
5bin/pactl 5bin/pactl
6${PLIST.oss}bin/padsp 6${PLIST.oss}bin/padsp
7bin/pamon 7bin/pamon
8bin/paplay 8bin/paplay
9bin/parec 9bin/parec
10bin/parecord 10bin/parecord
11bin/pasuspender 11bin/pasuspender
12${PLIST.x11}bin/pax11publish 12${PLIST.x11}bin/pax11publish
13bin/pulseaudio 13bin/pulseaudio
14${PLIST.x11}bin/start-pulseaudio-kde 14${PLIST.x11}bin/start-pulseaudio-kde
15${PLIST.x11}bin/start-pulseaudio-x11 15${PLIST.x11}bin/start-pulseaudio-x11
16${PLIST.x11}etc/xdg/autostart/pulseaudio-kde.desktop 16${PLIST.x11}share/examples/pulseaudio/pulseaudio-kde.desktop
17${PLIST.x11}etc/xdg/autostart/pulseaudio.desktop 17${PLIST.x11}share/examples/pulseaudio/pulseaudio.desktop
18include/pulse/cdecl.h 18include/pulse/cdecl.h
19include/pulse/channelmap.h 19include/pulse/channelmap.h
20include/pulse/context.h 20include/pulse/context.h
21include/pulse/def.h 21include/pulse/def.h
22include/pulse/error.h 22include/pulse/error.h
23include/pulse/ext-device-manager.h 23include/pulse/ext-device-manager.h
24include/pulse/ext-device-restore.h 24include/pulse/ext-device-restore.h
25include/pulse/ext-stream-restore.h 25include/pulse/ext-stream-restore.h
26include/pulse/format.h 26include/pulse/format.h
27include/pulse/gccmacro.h 27include/pulse/gccmacro.h
28include/pulse/glib-mainloop.h 28include/pulse/glib-mainloop.h
29include/pulse/introspect.h 29include/pulse/introspect.h
30include/pulse/mainloop-api.h 30include/pulse/mainloop-api.h

cvs diff -r1.35 -r1.36 pkgsrc/audio/pulseaudio/distinfo (expand / switch to unified diff)

--- pkgsrc/audio/pulseaudio/distinfo 2013/01/29 15:34:55 1.35
+++ pkgsrc/audio/pulseaudio/distinfo 2013/05/06 20:44:18 1.36
@@ -1,9 +1,9 @@ @@ -1,9 +1,9 @@
1$NetBSD: distinfo,v 1.35 2013/01/29 15:34:55 wiz Exp $ 1$NetBSD: distinfo,v 1.36 2013/05/06 20:44:18 markd Exp $
2 2
3SHA1 (pulseaudio-2.1.tar.xz) = 56b4ad9207ea3aec0ad1b8be4b55793b426a4f01 3SHA1 (pulseaudio-2.1.tar.xz) = 56b4ad9207ea3aec0ad1b8be4b55793b426a4f01
4RMD160 (pulseaudio-2.1.tar.xz) = 87f6051bbbe59c26e505a9765f388d3ee4d3a485 4RMD160 (pulseaudio-2.1.tar.xz) = 87f6051bbbe59c26e505a9765f388d3ee4d3a485
5Size (pulseaudio-2.1.tar.xz) = 1355004 bytes 5Size (pulseaudio-2.1.tar.xz) = 1355004 bytes
6SHA1 (patch-aa) = 59dbd4e6670bc401d2254226b6ba1f4549f35ff7 6SHA1 (patch-aa) = 59dbd4e6670bc401d2254226b6ba1f4549f35ff7
7SHA1 (patch-configure) = 74eb6cbc606103c9a7c1a9e196a0fd58abc839d3 7SHA1 (patch-configure) = 79f938c79a2c3a714d9c81b22030084a421da360
8SHA1 (patch-dc) = 48baff12528f09940d63c6bdaf4369cab7e56de3 8SHA1 (patch-dc) = 48baff12528f09940d63c6bdaf4369cab7e56de3
9SHA1 (patch-src_Makefile.in) = 50f5903cf93e2b59318be177e38bd49a7a34557e 9SHA1 (patch-src_Makefile.in) = 21daf6069ae067dd235de6d43a013e4e70bbca78

cvs diff -r1.2 -r1.3 pkgsrc/audio/pulseaudio/patches/Attic/patch-configure (expand / switch to unified diff)

--- pkgsrc/audio/pulseaudio/patches/Attic/patch-configure 2013/01/29 15:02:24 1.2
+++ pkgsrc/audio/pulseaudio/patches/Attic/patch-configure 2013/05/06 20:44:18 1.3
@@ -1,16 +1,15 @@ @@ -1,16 +1,15 @@
1$NetBSD: patch-configure,v 1.2 2013/01/29 15:02:24 tsutsui Exp $ 1$NetBSD: patch-configure,v 1.3 2013/05/06 20:44:18 markd Exp $
2 2
3- use ${EGDIR} for config file 
4- always use atomic_ops(3) on NetBSD, even on arm 3- always use atomic_ops(3) on NetBSD, even on arm
5- kill test(1) bash'ism 4- kill test(1) bash'ism
6 5
7--- configure.orig 2012-07-19 11:30:11.000000000 +0000 6--- configure.orig 2012-07-19 11:30:11.000000000 +0000
8+++ configure 7+++ configure
9@@ -7995,6 +7995,11 @@ else 8@@ -7995,6 +7995,11 @@ else
10 { $as_echo "$as_me:${as_lineno-$LINENO}: checking architecture for native atomic operations" >&5 9 { $as_echo "$as_me:${as_lineno-$LINENO}: checking architecture for native atomic operations" >&5
11 $as_echo_n "checking architecture for native atomic operations... " >&6; } 10 $as_echo_n "checking architecture for native atomic operations... " >&6; }
12 case $host in 11 case $host in
13+ *-netbsd*) 12+ *-netbsd*)
14+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15+$as_echo "yes" >&6; } 14+$as_echo "yes" >&6; }
16+ need_libatomic_ops=no 15+ need_libatomic_ops=no
@@ -38,22 +37,13 @@ $NetBSD: patch-configure,v 1.2 2013/01/2 @@ -38,22 +37,13 @@ $NetBSD: patch-configure,v 1.2 2013/01/2
38+if test "$ac_cv_tls" = "__thread"; then : 37+if test "$ac_cv_tls" = "__thread"; then :
39  38
40 $as_echo "#define SUPPORT_TLS___THREAD 1" >>confdefs.h 39 $as_echo "#define SUPPORT_TLS___THREAD 1" >>confdefs.h
41  40
42@@ -20146,7 +20146,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu 41@@ -20146,7 +20146,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
43  42
44 fi 43 fi
45  44
46-if test "x$ax_pthread_ok" == "xyes"; then : 45-if test "x$ax_pthread_ok" == "xyes"; then :
47+if test "x$ax_pthread_ok" = "xyes"; then : 46+if test "x$ax_pthread_ok" = "xyes"; then :
48  47
49 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 48 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
50  49
51@@ -26138,7 +26138,7 @@ _ACEOF 
52 PA_SOEXT=.so 
53  
54  
55-pulseconfdir="${sysconfdir}/pulse" 
56+pulseconfdir="${EGDIR}" 
57  
58  
59 prefix_NONE= 

cvs diff -r1.2 -r1.3 pkgsrc/audio/pulseaudio/patches/Attic/patch-src_Makefile.in (expand / switch to unified diff)

--- pkgsrc/audio/pulseaudio/patches/Attic/patch-src_Makefile.in 2013/01/29 15:34:47 1.2
+++ pkgsrc/audio/pulseaudio/patches/Attic/patch-src_Makefile.in 2013/05/06 20:44:18 1.3
@@ -1,15 +1,28 @@ @@ -1,15 +1,28 @@
1$NetBSD: patch-src_Makefile.in,v 1.2 2013/01/29 15:34:47 wiz Exp $ 1$NetBSD: patch-src_Makefile.in,v 1.3 2013/05/06 20:44:18 markd Exp $
2 2
3Use pkgsrc infrastructure for config files. 3Use pkgsrc infrastructure for config files.
4 4
5--- src/Makefile.in.orig 2012-07-19 11:30:13.000000000 +0000 5--- src/Makefile.in.orig 2012-07-19 11:30:13.000000000 +0000
6+++ src/Makefile.in 6+++ src/Makefile.in
7@@ -2943,7 +2943,7 @@ pulselibexecdir = $(libexecdir)/pulse 7@@ -2927,7 +2927,7 @@ pdfdir = @pdfdir@
8 @HAVE_X11_TRUE@xdgautostartdir = $(sysconfdir)/xdg/autostart 8 prefix = @prefix@
 9 program_transform_name = @program_transform_name@
 10 psdir = @psdir@
 11-pulseconfdir = @pulseconfdir@
 12+pulseconfdir = ${EGDIR}
 13 sbindir = @sbindir@
 14 sharedstatedir = @sharedstatedir@
 15 srcdir = @srcdir@
 16@@ -2940,10 +2940,10 @@ udevrulesdir = @udevrulesdir@
 17 pulseincludedir = $(includedir)/pulse
 18 pulsecoreincludedir = $(includedir)/pulsecore
 19 pulselibexecdir = $(libexecdir)/pulse
 20-@HAVE_X11_TRUE@xdgautostartdir = $(sysconfdir)/xdg/autostart
 21+@HAVE_X11_TRUE@xdgautostartdir = ${EGDIR}
9 @HAVE_ALSA_TRUE@alsaprofilesetsdir = $(datadir)/pulseaudio/alsa-mixer/profile-sets 22 @HAVE_ALSA_TRUE@alsaprofilesetsdir = $(datadir)/pulseaudio/alsa-mixer/profile-sets
10 @HAVE_ALSA_TRUE@alsapathsdir = $(datadir)/pulseaudio/alsa-mixer/paths 23 @HAVE_ALSA_TRUE@alsapathsdir = $(datadir)/pulseaudio/alsa-mixer/paths
11-@HAVE_DBUS_TRUE@dbuspolicydir = $(sysconfdir)/dbus-1/system.d 24-@HAVE_DBUS_TRUE@dbuspolicydir = $(sysconfdir)/dbus-1/system.d
12+@HAVE_DBUS_TRUE@dbuspolicydir = ${EGDIR} 25+@HAVE_DBUS_TRUE@dbuspolicydir = ${EGDIR}
13  26
14 ################################### 27 ###################################
15 # Compiler/linker flags # 28 # Compiler/linker flags #