hi tom,

On 05/14/2013 09:35 PM, Tom Schouten wrote:
> Hello,
> 
> There's a PDP release in the pipeline:
> 
> 0.14.0:
>         Port ia32 MMX assembly code to GCC extensions (MMX support on
> amd64)
>         Add V4L2 support to pdp_v4l (merge with pdp_v4l2)
>         Distill zl (Zwizwa Lib) from PDP and libprim/PF code.
> 

great news.

while i haven't done any functional tests yet, i tried to build the
"latest" snapshot (20130516_010555) and ran into two problems:

- it will fail to compile if gsl-dev is not installed (regardless of the
"enable-gsl" flag)
- the v4l2 code bails out because of undefined
V4L2_CID_HCENTER/V4L2_CID_VCENTER

attached are two patches that seem to fix these two problems.


btw, is your darcs repository public? this would allow meto simply pull
the latest version instead of having to search my inbox (and
http://zwizwa.be/pd/pdp/test/) - which is rather errorprone.

hopefully there'll be a 0.14 release soon


gmsdr
IOhannes
From 6b4942518cf7827870bcd119621a0105bdf5a829 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= <zmoel...@iem.at>
Date: Fri, 19 Jul 2013 21:39:17 +0200
Subject: [PATCH 1/2] removed HCENTER/VCENTER controls

there are no V4L2_CID_*CENTER controls defined on my system (linux-3.10)
---
 system/zl/v4l.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/system/zl/v4l.h b/system/zl/v4l.h
index 10f8786..370ea8e 100644
--- a/system/zl/v4l.h
+++ b/system/zl/v4l.h
@@ -186,8 +186,6 @@ const char *zl_v4l_control_name(int id);
     ZL_V4L_CTRL(GAIN) \
     ZL_V4L_CTRL(HFLIP) \
     ZL_V4L_CTRL(VFLIP) \
-    ZL_V4L_CTRL(HCENTER) \
-    ZL_V4L_CTRL(VCENTER) \
     ZL_V4L_CTRL(POWER_LINE_FREQUENCY) \
     ZL_V4L_CTRL(HUE_AUTO) \
     ZL_V4L_CTRL(WHITE_BALANCE_TEMPERATURE) \
-- 
1.8.3.2

From 2f33e2b9a30d5933984174e50e89f39b072f391a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= <zmoel...@iem.at>
Date: Fri, 19 Jul 2013 21:51:32 +0200
Subject: [PATCH 2/2] pdp_matrix.h only makes sense if GSL is used

---
 include/pdp_matrix.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/pdp_matrix.h b/include/pdp_matrix.h
index bda051b..4a677a2 100644
--- a/include/pdp_matrix.h
+++ b/include/pdp_matrix.h
@@ -20,6 +20,8 @@
 
 #ifndef PDP_MATRIX_H
 #define PDP_MATRIX_H
+#include "pdp_config.h"
+#ifdef HAVE_PDP_GSL
 
 #include <stdio.h>
 #include <gsl/gsl_block.h>
@@ -89,6 +91,7 @@ int pdp_packet_matrix_blas_mv(CBLAS_TRANSPOSE_t TransA,
 int pdp_packet_matrix_LU(int p_matrix);
 int pdp_packet_matrix_LU_to_inverse(int p_matrix);
 int pdp_packet_matrix_LU_solve(int p_matrix, int p_vector);
+#endif
 
 
 #endif
-- 
1.8.3.2

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to