[ptxdist] [PATCH 2/2] libcamera: Add package

2021-03-22 Thread Marian Cichy
libcamera is a new library to ease usage and configuration for camera devices. Currently, libcamera has no release tags. This version is based on commit 5154e14b from 2021-03-22. Signed-off-by: Marian Cichy --- rules/libcamera.in | 75 +++ rules/libcamera.make | 117

[ptxdist] [PATCH 1/2] host-system-python3: Add flags for ply, pyyaml, jinja2

2021-03-22 Thread Marian Cichy
These modules are a dependency for libcamera. Signed-off-by: Marian Cichy --- rules/host-system-python3.in | 9 + rules/host-system-python3.make | 18 ++ 2 files changed, 27 insertions(+) diff --git a/rules/host-system-python3.in b/rules/host-system-python3.in index

[ptxdist] [PATCH v2] ptxdist: add cgdb command

2020-10-28 Thread Marian Cichy
cgdb is a curses-frontend for gdb with some visual conveniences for debugging. ptxdist already has a 'ptxdist gdb' command to invoke gdb with configured sysroot etc., and it would be nice to have when we can also use cgdb. Signed-off-by: Marian Cichy --- bin/ptxdist | 13 +++-- 1 file

[ptxdist] [PATCH] ptxdist: let newpackage use qt5 by default

2020-10-27 Thread Marian Cichy
when using 'ptxdist newpackage src-qmake-prog, ptxdist generates rule-files that uses qt4 build-tools. Since qt4 is quite obsolete, lets switch to qt5 as default. Signed-off-by: Marian Cichy --- rules/templates/template-src-qmake-prog-in | 2 +- rules/templates/template-src-qmake-prog-make

[ptxdist] [PATCH] ptxdist: add cgdb command

2020-10-26 Thread Marian Cichy
cgdb is a curses-frontend for gdb with some visual conveniences for debugging. ptxdist already has a 'ptxdist gdb' command to invoke gdb with configured sysroot etc., and it would be nice to have when we can also use cgdb. Signed-off-by: Marian Cichy --- bin/ptxdist | 15 +++ 1 file

[ptxdist] [PATCH v4 3/3] gst-bayer2rgb-neon: add package

2020-06-06 Thread Marian Cichy
Signed-off-by: Marian Cichy --- Changes since v3: - fix _LICENSE_FILES syntax - remove redundant _CONV_ENF - break a line --- rules/gst-bayer2rgb-neon.in | 11 +++ rules/gst-bayer2rgb-neon.make | 58 +++ 2 files changed, 69 insertions(+) create mode 100644

[ptxdist] [PATCH v4 2/3] bayer2rgb3: add package

2020-06-06 Thread Marian Cichy
Signed-off-by: Marian Cichy --- Changes since v3: - fix _LICENSE_FILES syntax - add _CONF_TOOL and _CONF_OPT parameters --- rules/bayer2rgb3.in | 18 + rules/bayer2rgb3.make | 63 +++ 2 files changed, 81 insertions(+) create mode 100644

[ptxdist] [PATCH v4 1/3] host-gengetopt: add package

2020-06-06 Thread Marian Cichy
Signed-off-by: Marian Cichy --- Changes since v3: - add _CONF_TOOL and _CONF_OPT parameters --- rules/host-gengetopt.in | 9 + rules/host-gengetopt.make | 40 +++ 2 files changed, 49 insertions(+) create mode 100644 rules/host-gengetopt.in create

Re: [ptxdist] [PATCH v3 1/3] host-gengetopt: add package

2020-06-05 Thread Marian Cichy
PM, Marian Cichy wrote: --- rules/host-gengetopt.in | 9 + rules/host-gengetopt.make | 26 ++ 2 files changed, 35 insertions(+) create mode 100644 rules/host-gengetopt.in create mode 100644 rules/host-gengetopt.make diff --git a/rules/host-gengetopt.in b

[ptxdist] [PATCH v3 1/3] host-gengetopt: add package

2020-06-05 Thread Marian Cichy
code for C programs. + diff --git a/rules/host-gengetopt.make b/rules/host-gengetopt.make new file mode 100644 index 0..2c1b3bb0d --- /dev/null +++ b/rules/host-gengetopt.make @@ -0,0 +1,26 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Marian Cichy +# +# For further information about t

[ptxdist] [PATCH v3 2/3] bayer2rgb3: add package

2020-06-05 Thread Marian Cichy
ong the lib + +endif diff --git a/rules/bayer2rgb3.make b/rules/bayer2rgb3.make new file mode 100644 index 0..8833e18b0 --- /dev/null +++ b/rules/bayer2rgb3.make @@ -0,0 +1,49 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Marian Cichy +# +# For further information about the PTXdist

[ptxdist] [PATCH v3 3/3] gst-bayer2rgb-neon: add package

2020-06-05 Thread Marian Cichy
eon.make b/rules/gst-bayer2rgb-neon.make new file mode 100644 index 0..eea13ca78 --- /dev/null +++ b/rules/gst-bayer2rgb-neon.make @@ -0,0 +1,56 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Marian Cichy +# +# For further information about the PTXdist project and license conditions +# see

Re: [ptxdist] [PATCH v2 1/3] host-gengetopt: add package

2020-06-03 Thread Marian Cichy
On 6/2/20 3:18 PM, Michael Olbrich wrote: On Mon, Jun 01, 2020 at 11:49:39AM +0200, Marian Cichy wrote: this package is a dependency for bayer2rgb3, which is a dependency for gst-bayer2rgb-neon --- This is a v2 patch, so it should be marked as such. I did use git format-patch -v 2

[ptxdist] [PATCH v2 3/3] gst-bayer2rgb-neon: add package

2020-06-01 Thread Marian Cichy
-0,0 +1,56 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Marian Cichy +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_GST_BAYER2RGB_NEON) += gst-bayer2rgb-neon + +# +# Paths

[ptxdist] [PATCH v2 2/3] bayer2rgb3: add package

2020-06-01 Thread Marian Cichy
49 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Marian Cichy +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_BAYER2RGB3) += bayer2rgb3 + +# +# Paths and names +# +BAYER2RGB3_VERSION := 0

[ptxdist] [PATCH v2 1/3] host-gengetopt: add package

2020-06-01 Thread Marian Cichy
rules/host-gengetopt.make new file mode 100644 index ..2c1b3bb0 --- /dev/null +++ b/rules/host-gengetopt.make @@ -0,0 +1,26 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Marian Cichy +# +# For further information about the PTXdist project and license conditions +# see the README file. +#

[ptxdist] [PATCH 3/3] gst-bayer2rgb-neon: add package

2020-05-12 Thread Marian Cichy
/rules/gst-bayer2rgb-neon.make new file mode 100644 index 0..fcb518f23 --- /dev/null +++ b/rules/gst-bayer2rgb-neon.make @@ -0,0 +1,56 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Marian Cichy +# +# For further information about the PTXdist project and license conditions +# see the R

[ptxdist] [PATCH 2/3] bayer2rgb3: add package

2020-05-12 Thread Marian Cichy
help + bayer2rgb will convert naked (no header) bayer grid data into rgb data. diff --git a/rules/bayer2rgb3.make b/rules/bayer2rgb3.make new file mode 100644 index 0..28de61896 --- /dev/null +++ b/rules/bayer2rgb3.make @@ -0,0 +1,47 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Ma

[ptxdist] [PATCH 1/3] host-gengetopt: add package

2020-05-12 Thread Marian Cichy
code for C programs. + diff --git a/rules/host-gengetopt.make b/rules/host-gengetopt.make new file mode 100644 index 0..d1edf3439 --- /dev/null +++ b/rules/host-gengetopt.make @@ -0,0 +1,26 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Marian Cichy +# +# For further information about t

[ptxdist] [PATCH v4 3/8] OpenCV: Clean up configure_helper output

2020-01-28 Thread Marian Cichy
Signed-off-by: Marian Cichy --- rules/opencv.make | 161 +++--- 1 file changed, 109 insertions(+), 52 deletions(-) diff --git a/rules/opencv.make b/rules/opencv.make index 1d97066a1..e08d90a3b 100644 --- a/rules/opencv.make +++ b/rules/opencv.make

[ptxdist] [PATCH v4 4/8] OpenCV: Changed QT-Support from 4 to 5

2020-01-28 Thread Marian Cichy
Signed-off-by: Marian Cichy --- rules/opencv.in | 7 +++ rules/opencv.make | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/rules/opencv.in b/rules/opencv.in index e8b9e36df..16e7b56db 100644 --- a/rules/opencv.in +++ b/rules/opencv.in @@ -8,10 +8,9 @@ menuconfig

[ptxdist] [PATCH v4 8/8] OpenCV: make build generate pkg-config file

2020-01-28 Thread Marian Cichy
OpenCV usually depends on CMake when some application wants to find its libraries. However, PTXDist usually relies on pkg-config when building custom software. NOTE: This is a workaround since OpenCV marks the usage of pkg-config as deprecated. --- rules/opencv.make | 1 + 1 file changed, 1

[ptxdist] [PATCH v4 6/8] OpenCV: changed ptx/ifdef usage to ptx/onoff

2020-01-28 Thread Marian Cichy
CMake switches used ptx/ifdef with an ON/OFF define, but we have ptx/onoff for this case. Using this to sustain uniformity. Signed-off-by: Marian Cichy --- rules/opencv.make | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/rules/opencv.make

[ptxdist] [PATCH v4 1/8] OpenCV: Update to Version 4.1.2.

2020-01-28 Thread Marian Cichy
Removed the modules opencv_superres and opencv_videostab because they are not part of the opencv main repository anymore but have been moved to the opencv_contrib repository. Signed-off-by: Marian Cichy --- rules/opencv.in | 66 + rules/opencv.make

[ptxdist] [PATCH v4 5/8] OpenCV: added switch to turn on/off DNN support

2020-01-28 Thread Marian Cichy
Signed-off-by: Marian Cichy --- rules/opencv.in | 6 ++ rules/opencv.make | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/rules/opencv.in b/rules/opencv.in index 16e7b56db..a917d79c7 100644 --- a/rules/opencv.in +++ b/rules/opencv.in @@ -102,6 +102,12 @@ config

[ptxdist] [PATCH v4 7/8] OpenCV: Update to version 4.2.0

2020-01-28 Thread Marian Cichy
Update version and add new dependencies --- rules/opencv.in | 1 + rules/opencv.make | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rules/opencv.in b/rules/opencv.in index a917d79c7..8380506ad 100644 --- a/rules/opencv.in +++ b/rules/opencv.in @@ -99,6 +99,7 @@ config

[ptxdist] [PATCH v4 2/8] OpenCV: Added flag to build and integrate Examples

2020-01-28 Thread Marian Cichy
Signed-off-by: Marian Cichy --- rules/opencv.in | 17 + rules/opencv.make | 13 ++--- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/rules/opencv.in b/rules/opencv.in index 37fd32758..e8b9e36df 100644 --- a/rules/opencv.in +++ b/rules/opencv.in

[ptxdist] [PATCH v3 7/8] OpenCV: Update to version 4.2.0

2020-01-27 Thread Marian Cichy
Update version and add new dependencies --- rules/opencv.in | 13 + rules/opencv.make | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/rules/opencv.in b/rules/opencv.in index 12b44606f..8380506ad 100644 --- a/rules/opencv.in +++ b/rules/opencv.in @@ -99,6

[ptxdist] [PATCH v3 5/8] OpenCV: added switch to turn on/off DNN support

2020-01-27 Thread Marian Cichy
Signed-off-by: Marian Cichy --- rules/opencv.in | 6 ++ rules/opencv.make | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/rules/opencv.in b/rules/opencv.in index 415db9e1e..12b44606f 100644 --- a/rules/opencv.in +++ b/rules/opencv.in @@ -102,6 +102,12 @@ config

[ptxdist] [PATCH v3 1/8] OpenCV: Update to Version 4.1.2.

2020-01-27 Thread Marian Cichy
Removed the modules opencv_superres and opencv_videostab because they are not part of the opencv main repository anymore but have been moved to the opencv_contrib repository. Signed-off-by: Marian Cichy --- rules/opencv.in | 66 + rules/opencv.make

[ptxdist] [PATCH v3 2/8] OpenCV: Added flag to build and integrate Examples

2020-01-27 Thread Marian Cichy
Signed-off-by: Marian Cichy --- rules/opencv.in | 5 + rules/opencv.make | 21 ++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/rules/opencv.in b/rules/opencv.in index 37fd32758..ac096d60c 100644 --- a/rules/opencv.in +++ b/rules/opencv.in @@ -131,4

[ptxdist] [PATCH v3 6/8] OpenCV: changed ptx/ifdef usage to ptx/onoff

2020-01-27 Thread Marian Cichy
CMake switches used ptx/ifdef with an ON/OFF define, but we have ptx/onoff for this case. Using this to sustain uniformity. Signed-off-by: Marian Cichy --- rules/opencv.make | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/rules/opencv.make

[ptxdist] [PATCH v3 8/8] OpenCV: make build generate pkg-config file

2020-01-27 Thread Marian Cichy
OpenCV usually depends on CMake when some application wants to find its libraries. However, PTXDist usually relies on pkg-config when building custom software. NOTE: This is a workaround since OpenCV marks the usage of pkg-config as deprecated. --- rules/opencv.make | 1 + 1 file changed, 1

[ptxdist] [PATCH v3 4/8] OpenCV: Changed QT-Support from 4 to 5

2020-01-27 Thread Marian Cichy
Signed-off-by: Marian Cichy --- rules/opencv.in | 7 +++ rules/opencv.make | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/rules/opencv.in b/rules/opencv.in index ac096d60c..415db9e1e 100644 --- a/rules/opencv.in +++ b/rules/opencv.in @@ -8,10 +8,9 @@ menuconfig

[ptxdist] [PATCH v3 3/8] OpenCV: Clean up configure_helper output

2020-01-27 Thread Marian Cichy
Signed-off-by: Marian Cichy --- rules/opencv.make | 159 +++--- 1 file changed, 108 insertions(+), 51 deletions(-) diff --git a/rules/opencv.make b/rules/opencv.make index 0ae4776d2..a8c4057c2 100644 --- a/rules/opencv.make +++ b/rules/opencv.make

[ptxdist] [PATCH v2 7/7] OpenCV: fix download in PTXDist prepare stage

2020-01-23 Thread Marian Cichy
cannot download the files during the Get stage, a new CMake Flag can be used to abort during the prepare stage if download is tried again. Signed-off-by: Marian Cichy --- ...option-to-disallow-download-of-files.patch | 42 +++ patches/opencv-4.1.2/series | 1 + rules

[ptxdist] [PATCH v2 3/7] OpenCV: Clean up configure_helper output

2020-01-23 Thread Marian Cichy
Signed-off-by: Marian Cichy --- rules/opencv.make | 158 +++--- 1 file changed, 107 insertions(+), 51 deletions(-) diff --git a/rules/opencv.make b/rules/opencv.make index 0ae4776d2..94d280c01 100644 --- a/rules/opencv.make +++ b/rules/opencv.make

[ptxdist] [PATCH v2 5/7] OpenCV: added switch to turn on/off DNN support

2020-01-23 Thread Marian Cichy
Signed-off-by: Marian Cichy --- rules/opencv.in | 6 ++ rules/opencv.make | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/rules/opencv.in b/rules/opencv.in index 415db9e1e..12b44606f 100644 --- a/rules/opencv.in +++ b/rules/opencv.in @@ -102,6 +102,12 @@ config

[ptxdist] [PATCH v2 4/7] OpenCV: Changed QT-Support from 4 to 5

2020-01-23 Thread Marian Cichy
Signed-off-by: Marian Cichy --- rules/opencv.in | 7 +++ rules/opencv.make | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/rules/opencv.in b/rules/opencv.in index ac096d60c..415db9e1e 100644 --- a/rules/opencv.in +++ b/rules/opencv.in @@ -8,10 +8,9 @@ menuconfig

[ptxdist] [PATCH v2 2/7] OpenCV: Added flag to build and integrate Examples

2020-01-23 Thread Marian Cichy
Signed-off-by: Marian Cichy --- rules/opencv.in | 5 + rules/opencv.make | 21 ++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/rules/opencv.in b/rules/opencv.in index 37fd32758..ac096d60c 100644 --- a/rules/opencv.in +++ b/rules/opencv.in @@ -131,4

[ptxdist] [PATCH v2 6/7] OpenCV: changed ptx/ifdef usage to ptx/onoff

2020-01-23 Thread Marian Cichy
CMake switches used ptx/ifdef with an ON/OFF define, but we have ptx/onoff for this case. Using this to sustain uniformity. Signed-off-by: Marian Cichy --- rules/opencv.make | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/rules/opencv.make

[ptxdist] [PATCH v2 1/7] OpenCV: Update to Version 4.1.2.

2020-01-23 Thread Marian Cichy
Removed the modules opencv_superres and opencv_videostab because they are not part of the opencv main repository anymore but have been moved to the opencv_contrib repository. Signed-off-by: Marian Cichy --- rules/opencv.in | 66 + rules/opencv.make

[ptxdist] [PATCH] OpenCV: fix download in PTXDist prepare stage

2020-01-22 Thread Marian Cichy
17 00:00:00 2001 +From: Marian Cichy +Date: Wed, 22 Jan 2020 17:14:05 +0100 +Subject: [PATCH] add option to disallow download of files + +OpenCV wants to download files for the ADE Framework when it is at +the prepare stage of PTXDist. This is not wanted. The PTXDist rule +will download the file

[ptxdist] [PATCH 2/4] OpenCV: added -v flag when installing examples

2020-01-07 Thread Marian Cichy
--- rules/opencv.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/opencv.make b/rules/opencv.make index 2602bb253..ecd47c722 100644 --- a/rules/opencv.make +++ b/rules/opencv.make @@ -215,7 +215,7 @@ $(STATEDIR)/opencv.install: ifdef PTXCONF_OPENCV_EXAMPLES

[ptxdist] [PATCH 3/4] OpenCV: removed unnecessary source in install_tree

2020-01-07 Thread Marian Cichy
--- rules/opencv.make | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rules/opencv.make b/rules/opencv.make index ecd47c722..531b3bbf4 100644 --- a/rules/opencv.make +++ b/rules/opencv.make @@ -252,10 +252,9 @@ $(STATEDIR)/opencv.targetinstall: @$(foreach lib,

[ptxdist] [PATCH 1/4] OpenCV: Removed blank lines

2020-01-07 Thread Marian Cichy
--- rules/opencv.make | 2 -- 1 file changed, 2 deletions(-) diff --git a/rules/opencv.make b/rules/opencv.make index d2fb5aa44..2602bb253 100644 --- a/rules/opencv.make +++ b/rules/opencv.make @@ -210,8 +210,6 @@ OPENCV_CONF_OPT := \ $(STATEDIR)/opencv.install: - -

[ptxdist] [PATCH 4/4] changed and removed various cmake-flags

2020-01-07 Thread Marian Cichy
various flags are not specified anymore or automatically set by Cmake, i.e. any *-NOTFOUND or *-FOUND flag is autoset any paths to external program(libraries) like LAPACK or Python are auto-detected platform/hardware-support like NEON or VFPV3 are auto-detected we may want to have

[ptxdist] [PATCH 4/6] OpenCV: Changed QT-Support from 4 to 5

2020-01-02 Thread Marian Cichy
Signed-off-by: Marian Cichy --- rules/opencv.in | 7 +++ rules/opencv.make | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/rules/opencv.in b/rules/opencv.in index ac096d60c..415db9e1e 100644 --- a/rules/opencv.in +++ b/rules/opencv.in @@ -8,10 +8,9 @@ menuconfig

[ptxdist] [PATCH 2/6] OpenCV: Added flag to build and integrate Examples

2020-01-02 Thread Marian Cichy
Signed-off-by: Marian Cichy --- rules/opencv.in | 5 + rules/opencv.make | 22 -- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/rules/opencv.in b/rules/opencv.in index 37fd32758..ac096d60c 100644 --- a/rules/opencv.in +++ b/rules/opencv.in @@ -131,4

[ptxdist] [PATCH 1/6] OpenCV: Update to Version 4.1.2.

2020-01-02 Thread Marian Cichy
Removed the modules opencv_superres and opencv_videostab because they are not part of the opencv main repository anymore but have been moved to the opencv_contrib repository. Signed-off-by: Marian Cichy --- rules/opencv.in | 66 + rules/opencv.make

[ptxdist] [PATCH 5/6] OpenCV: added switch to turn on/off DNN support

2020-01-02 Thread Marian Cichy
Signed-off-by: Marian Cichy --- rules/opencv.in | 6 ++ rules/opencv.make | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/rules/opencv.in b/rules/opencv.in index 415db9e1e..12b44606f 100644 --- a/rules/opencv.in +++ b/rules/opencv.in @@ -102,6 +102,12 @@ config

[ptxdist] [PATCH 6/6] OpenCV: changed ptx/ifdef usage to ptx/onoff

2020-01-02 Thread Marian Cichy
CMake switches used ptx/ifdef with an ON/OFF define, but we have ptx/onoff for this case. Using this to sustain uniformity. Signed-off-by: Marian Cichy --- rules/opencv.make | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/rules/opencv.make

[ptxdist] [PATCH 3/6] OpenCV: Clean up configure_helper output

2020-01-02 Thread Marian Cichy
Signed-off-by: Marian Cichy --- rules/opencv.make | 182 +- 1 file changed, 133 insertions(+), 49 deletions(-) diff --git a/rules/opencv.make b/rules/opencv.make index fc6243753..1656f605a 100644 --- a/rules/opencv.make +++ b/rules/opencv.make