5fea016b26
Some refactoring: only enable what we really need (that is ossaudio(4) for mixer control and events playing) -- disable everything else (avahi, dbus, consolekit, x11, gconf...) ok robert@ (maintainer)
48 lines
2.9 KiB
Plaintext
48 lines
2.9 KiB
Plaintext
$OpenBSD: patch-configure_ac,v 1.3 2011/10/01 08:37:30 ajacoutot Exp $
|
|
|
|
- Fix path to soundcard.h
|
|
- Fix path to DBus machine-id
|
|
- Use /var/db instead of /var/lib
|
|
|
|
--- configure.ac.orig Tue Sep 27 09:55:58 2011
|
|
+++ configure.ac Fri Sep 30 16:23:41 2011
|
|
@@ -151,7 +151,7 @@ esac
|
|
#### Compiler flags ####
|
|
|
|
AX_APPEND_COMPILE_FLAGS(
|
|
- [-Wall -W -Wextra -pipe -Wno-long-long -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option],
|
|
+ [-Wall -W -Wextra -pipe -Wno-long-long -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option],
|
|
[], [-pedantic -Werror])
|
|
|
|
|
|
@@ -679,7 +679,7 @@ AC_ARG_ENABLE([oss-wrapper],
|
|
AS_HELP_STRING([--disable-oss-wrapper],[Disable optional OSS wrapper support]))
|
|
|
|
AS_IF([test "x$enable_oss_output" != "xno" -o "x$enable_oss_wrapper" != "xno"],
|
|
- [AC_CHECK_HEADERS([sys/soundcard.h], HAVE_OSS=1, HAVE_OSS=0)],
|
|
+ [AC_CHECK_HEADERS([soundcard.h], HAVE_OSS=1, HAVE_OSS=0)],
|
|
HAVE_OSS=0)
|
|
|
|
AS_IF([test "x$enable_oss_output" = "xyes" -o "x$enable_oss_wrapper" = "xyes" && test "x$HAVE_OSS" = "x0"],
|
|
@@ -929,7 +929,7 @@ AC_SUBST(HAVE_DBUS)
|
|
AM_CONDITIONAL([HAVE_DBUS], [test "x$HAVE_DBUS" = x1])
|
|
AS_IF([test "x$HAVE_DBUS" = "x1"], AC_DEFINE([HAVE_DBUS], 1, [Have D-Bus.]))
|
|
|
|
-PA_MACHINE_ID="${localstatedir}/lib/dbus/machine-id"
|
|
+PA_MACHINE_ID="${localstatedir}/db/dbus/machine-id"
|
|
AX_DEFINE_DIR(PA_MACHINE_ID, PA_MACHINE_ID, [D-Bus machine-id file])
|
|
|
|
#### HAL support (optional), dependant on D-Bus ####
|
|
@@ -1096,9 +1096,9 @@ fi
|
|
|
|
PA_SYSTEM_RUNTIME_PATH="${localstatedir}/run/pulse"
|
|
AX_DEFINE_DIR(PA_SYSTEM_RUNTIME_PATH, PA_SYSTEM_RUNTIME_PATH, [System runtime dir])
|
|
-PA_SYSTEM_CONFIG_PATH="${localstatedir}/lib/pulse"
|
|
+PA_SYSTEM_CONFIG_PATH="${localstatedir}/db/pulse"
|
|
AX_DEFINE_DIR(PA_SYSTEM_CONFIG_PATH, PA_SYSTEM_CONFIG_PATH, [System config dir])
|
|
-PA_SYSTEM_STATE_PATH="${localstatedir}/lib/pulse"
|
|
+PA_SYSTEM_STATE_PATH="${localstatedir}/db/pulse"
|
|
AX_DEFINE_DIR(PA_SYSTEM_STATE_PATH, PA_SYSTEM_STATE_PATH, [System state dir])
|
|
|
|
PA_BINARY=${bindir}/pulseaudio${EXEEXT}
|