* [Buildroot] [PATCH 1/2] Add python patch to make ossaudiodev module building optional
@ 2015-01-08 10:49 Zoltan Gyarmati
2015-01-08 10:49 ` [Buildroot] [PATCH 2/2] host-python: disable building ossaudiodev module Zoltan Gyarmati
2015-01-10 15:35 ` [Buildroot] [PATCH 1/2] Add python patch to make ossaudiodev module building optional Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: Zoltan Gyarmati @ 2015-01-08 10:49 UTC (permalink / raw)
To: buildroot
Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
---
package/python/115-optional-ossaudiodev.patch | 30 +++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 package/python/115-optional-ossaudiodev.patch
diff --git a/package/python/115-optional-ossaudiodev.patch b/package/python/115-optional-ossaudiodev.patch
new file mode 100644
index 0000000..de82036
--- /dev/null
+++ b/package/python/115-optional-ossaudiodev.patch
@@ -0,0 +1,30 @@
+From 30351d9b41a03c43d627d52d46e49ab91bfe342d Mon Sep 17 00:00:00 2001
+From: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
+Date: Thu, 8 Jan 2015 11:41:40 +0100
+Subject: [PATCH 1/1] Add an option to disable the ossaudiodev module
+
+Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
+---
+ configure.ac | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index e8cb52a..579e05b 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -2717,6 +2717,12 @@ if test "$CURSES" = "no"; then
+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _curses _curses_panel"
+ fi
+
++AC_ARG_ENABLE(ossaudiodev,
++ AS_HELP_STRING([--disable-ossaudiodev], [disable OSSAUDIODEV]),
++ [ if test "$enableval" = "no"; then
++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ossaudiodev"
++ fi])
++
+ AC_SUBST(PYDOC)
+
+ AC_ARG_ENABLE(pydoc,
+--
+2.1.0
+
--
2.1.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] host-python: disable building ossaudiodev module
2015-01-08 10:49 [Buildroot] [PATCH 1/2] Add python patch to make ossaudiodev module building optional Zoltan Gyarmati
@ 2015-01-08 10:49 ` Zoltan Gyarmati
2015-01-08 12:49 ` Thomas Petazzoni
2015-01-10 15:35 ` [Buildroot] [PATCH 1/2] Add python patch to make ossaudiodev module building optional Thomas Petazzoni
1 sibling, 1 reply; 4+ messages in thread
From: Zoltan Gyarmati @ 2015-01-08 10:49 UTC (permalink / raw)
To: buildroot
Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
---
package/python/python.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/python/python.mk b/package/python/python.mk
index 45b1f7f..bf063e9 100644
--- a/package/python/python.mk
+++ b/package/python/python.mk
@@ -33,6 +33,7 @@ HOST_PYTHON_CONF_OPTS += \
--disable-test-modules \
--disable-bz2 \
--disable-ssl \
+ --disable-ossaudiodev \
--disable-pyo-build
# Make sure that LD_LIBRARY_PATH overrides -rpath.
--
2.1.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] host-python: disable building ossaudiodev module
2015-01-08 10:49 ` [Buildroot] [PATCH 2/2] host-python: disable building ossaudiodev module Zoltan Gyarmati
@ 2015-01-08 12:49 ` Thomas Petazzoni
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2015-01-08 12:49 UTC (permalink / raw)
To: buildroot
Dear Zoltan Gyarmati,
On Thu, 8 Jan 2015 11:49:28 +0100, Zoltan Gyarmati wrote:
> Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
> ---
> package/python/python.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/python/python.mk b/package/python/python.mk
> index 45b1f7f..bf063e9 100644
> --- a/package/python/python.mk
> +++ b/package/python/python.mk
> @@ -33,6 +33,7 @@ HOST_PYTHON_CONF_OPTS += \
> --disable-test-modules \
> --disable-bz2 \
> --disable-ssl \
> + --disable-ossaudiodev \
> --disable-pyo-build
>
> # Make sure that LD_LIBRARY_PATH overrides -rpath.
Thanks for the patches.
Should we also make it optional for the target Python?
What about Python 3?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/2] Add python patch to make ossaudiodev module building optional
2015-01-08 10:49 [Buildroot] [PATCH 1/2] Add python patch to make ossaudiodev module building optional Zoltan Gyarmati
2015-01-08 10:49 ` [Buildroot] [PATCH 2/2] host-python: disable building ossaudiodev module Zoltan Gyarmati
@ 2015-01-10 15:35 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2015-01-10 15:35 UTC (permalink / raw)
To: buildroot
Dear Zoltan Gyarmati,
On Thu, 8 Jan 2015 11:49:27 +0100, Zoltan Gyarmati wrote:
> Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
> ---
> package/python/115-optional-ossaudiodev.patch | 30 +++++++++++++++++++++++++++
> 1 file changed, 30 insertions(+)
> create mode 100644 package/python/115-optional-ossaudiodev.patch
Thanks, both patches applied. I've also added one patch to make
ossaudiodev optional for the target Python, and done the same work for
Python 3.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-01-10 15:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-08 10:49 [Buildroot] [PATCH 1/2] Add python patch to make ossaudiodev module building optional Zoltan Gyarmati
2015-01-08 10:49 ` [Buildroot] [PATCH 2/2] host-python: disable building ossaudiodev module Zoltan Gyarmati
2015-01-08 12:49 ` Thomas Petazzoni
2015-01-10 15:35 ` [Buildroot] [PATCH 1/2] Add python patch to make ossaudiodev module building optional Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox