mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Aring <alex.aring@gmail.com>
To: ptxdist@pengutronix.de
Cc: Jan Weitzel <j.weitze@phytec.de>, Roman Dosek <formatsh@gmail.com>
Subject: Re: [ptxdist] [PATCH] opencv: add new package
Date: Mon, 31 Mar 2014 08:09:23 +0200	[thread overview]
Message-ID: <20140331060921.GB21382@omega.Speedport_W_921V_1_24_000> (raw)
In-Reply-To: <1396118503.4914.22.camel@mars>

On Sat, Mar 29, 2014 at 07:41:43PM +0100, Christoph Fritz wrote:
> +
> +OPENCV_CONF_OPT	:= $(CROSS_CMAKE_USR)
> +OPENCV_CONF_OPT += \
> +	-DANT_EXECUTABLE:FILEPATH= \
> +	-DPYTHON_EXECUTABLE= \
> +	-DBUILD_DOCS:BOOL=OFF \
> +	-DBUILD_EXAMPLES:BOOL=OFF \
> +	-DBUILD_PACKAGE:BOOL=OFF \
> +	-DCMAKE_BUILD_TYPE=Release \
> +	-DBUILD_SHARED_LIBS:BOOL=ON \
> +	-DBUILD_TESTS=OFF \
> +	-DBUILD_PERF_TESTS=OFF \
> +	-DBUILD_WITH_DEBUG_INFO=OFF \
> +	-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF \
> +	-DCMAKE_SKIP_RPATH=OFF \
> +	-DCMAKE_USE_RELATIVE_PATHS=OFF \
> +	-DENABLE_FAST_MATH=ON \
> +	-DENABLE_NOISY_WARNINGS=OFF \
> +	-DENABLE_OMIT_FRAME_POINTER=ON \
> +	-DENABLE_PRECOMPILED_HEADERS=OFF \
> +	-DENABLE_PROFILING=OFF \
> +	-DENABLE_SOLUTION_FOLDERS=OFF \
> +	-DOPENCV_CAN_BREAK_BINARY_COMPATIBILITY=ON \
> +	-DWITH_GTK:BOOL=OFF \
> +	-DWITH_TBB:BOOL=OFF \
> +	-DWITH_TIFF:BOOL=OFF \
> +	-DCMAKE_VERBOSE:BOOL=OFF \
> +	-DWITH_CUDA:BOOL=OFF \
> +	-DWITH_EIGEN:BOOL=OFF \
> +	-DENABLE_NEON:BOOL=OFF \
> +	-DENABLE_VFPV3:BOOL=OFF \
> +	-DWITH_GIGEAPI:BOOL=OFF \
> +	-DINSTALL_CREATE_DISTRIB:BOOL=OFF \
> +	-DINSTALL_C_EXAMPLES:BOOL=OFF \
> +	-DINSTALL_PYTHON_EXAMPLES:BOOL=OFF \
> +	-DINSTALL_TO_MANGLED_PATHS:BOOL=OFF \
> +	-DOPENCV_EXTRA_MODULES_PATH:PATH= \
> +	-DOPENCV_WARNINGS_ARE_ERRORS:BOOL=OFF \
> +	-DWITH_OPENEXR:BOOL=OFF \
> +	-DWITH_PVAPI:BOOL=OFF \
> +	-DWITH_1394:BOOL=OFF \
> +	-DWITH_CUBLAS:BOOL=OFF \
> +	-DWITH_CUDA:BOOL=OFF \
> +	-DWITH_CUFFT:BOOL=OFF \
> +	-DWITH_FFMPEG:BOOL=OFF \
> +	-DWITH_JASPER:BOOL=OFF \
> +	-DWITH_JPEG:BOOL=ON \
> +	-DWITH_PNG:BOOL=ON \
> +	-DWITH_NVCUVID:BOOL=OFF \
> +	-DWITH_OPENCL:BOOL=OFF \
> +	-DWITH_OPENCLAMDBLAS:BOOL=OFF \
> +	-DWITH_OPENCLAMDFFT:BOOL=OFF \
> +	-DWITH_OPENEXR:BOOL=OFF \
> +	-DWITH_OPENMP:BOOL=OFF \
> +	-DWITH_OPENNI:BOOL=OFF \
> +	-DWITH_PVAPI:BOOL=OFF \
> +	-DWITH_TBB:BOOL=OFF \
> +	-DWITH_UNICAP:BOOL=OFF \
> +	-DWITH_XIMEA:BOOL=OFF \
> +	-DWITH_XINE:BOOL=OFF \
> +
> +OPENCV_CONF_OPT += \
> +	-DBUILD_opencv_apps:BOOL=OFF \
> +	-DBUILD_opencv_calib3d:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_CALIB3D,ON,OFF) \
> +	-DBUILD_opencv_contrib:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_CONTRIB,ON,OFF) \
> +	-DBUILD_opencv_core:BOOL=ON \
> +	-DBUILD_opencv_features2d:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_FEATURES2D,ON,OFF) \
> +	-DBUILD_opencv_flann:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_FLANN,ON,OFF) \
> +	-DBUILD_opencv_gpu:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_GPU,ON,OFF) \
> +	-DBUILD_opencv_highgui:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_HIGHGUI,ON,OFF) \
> +	-DBUILD_opencv_imgproc:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_IMGPROC,ON,OFF) \
> +	-DBUILD_opencv_legacy:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_LEGACY,ON,OFF) \
> +	-DBUILD_opencv_ml:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_ML,ON,OFF) \
> +	-DBUILD_opencv_nonfree:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_NONFREE,ON,OFF) \
> +	-DBUILD_opencv_objdetect:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_OBJDETECT,ON,OFF) \
> +	-DBUILD_opencv_photo:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_PHOTO,ON,OFF) \
> +	-DBUILD_opencv_stitching:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_STITCHING,ON,OFF) \
> +	-DBUILD_opencv_superres:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_SUPERRES,ON,OFF) \
> +	-DBUILD_opencv_ts:BOOL=OFF \
> +	-DBUILD_opencv_video:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_VIDEO,ON,OFF) \
> +	-DBUILD_opencv_videostab:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_VIDEOSTAB,ON,OFF) \
> +	-DBUILD_opencv_world:BOOL=OFF \
> +	-DWITH_GSTREAMER:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_GSTREAMER,ON,OFF) \
> +	-DWITH_LIBV4L:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_V4L,ON,OFF) \
> +	-DWITH_V4L:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_V4L,ON,OFF) \
> +	-DWITH_OPENGL:BOOL=OFF \
> +	-DWITH_QT:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_QT,ON,OFF)
Make only one:

OPENCV_CONF_OPT := \
	$(CROSS_CMAKE_USR) \
	...


> +
> +
> +	@$(call install_init, opencv)
> +	@$(call install_fixup, opencv, PRIORITY, optional)
> +	@$(call install_fixup, opencv, SECTION, base)
> +	@$(call install_fixup, opencv, AUTHOR, "Christoph Fritz <chf.fritz@googlemail.com>")
> +	@$(call install_fixup, opencv, DESCRIPTION, missing)
There is normally no whitespace in the lasts arguments:
"opencv, PRIORITY, optional"

should be:

"opencv,PRIORITY,optional"

Did you use 'ptxdist newpackage'? I don't think so...
> +
> +
> +	@$(call install_lib, opencv, 0, 0, 0644, libopencv_core)
> +
> +ifdef PTXCONF_OPENCV_CALIB3D
> +	@$(call install_lib, opencv, 0, 0, 0644, libopencv_calib3d)
> +endif
> +ifdef PTXCONF_OPENCV_CONTRIB
> +	@$(call install_lib, opencv, 0, 0, 0644, libopencv_contrib)
> +endif
> +ifdef PTXCONF_OPENCV_FEATURES2D
> +	@$(call install_lib, opencv, 0, 0, 0644, libopencv_features2d)
> +endif
> +ifdef PTXCONF_OPENCV_FLANN
> +	@$(call install_lib, opencv, 0, 0, 0644, libopencv_flann)
> +endif
> +ifdef PTXCONF_OPENCV_GPU
> +	@$(call install_lib, opencv, 0, 0, 0644, libopencv_gpu)
> +endif
> +ifdef PTXCONF_OPENCV_HIGHGUI
> +	@$(call install_lib, opencv, 0, 0, 0644, libopencv_highgui)
> +endif
> +ifdef PTXCONF_OPENCV_IMGPROC
> +	@$(call install_lib, opencv, 0, 0, 0644, libopencv_imgproc)
> +endif
> +ifdef PTXCONF_OPENCV_LEGACY
> +	@$(call install_lib, opencv, 0, 0, 0644, libopencv_legacy)
> +endif
> +ifdef PTXCONF_OPENCV_ML
> +	@$(call install_lib, opencv, 0, 0, 0644, libopencv_ml)
> +endif
> +ifdef PTXCONF_OPENCV_NONFREE
> +	@$(call install_lib, opencv, 0, 0, 0644, libopencv_nonfree)
> +endif
> +ifdef PTXCONF_OPENCV_OBJDETECT
> +	@$(call install_lib, opencv, 0, 0, 0644, libopencv_objdetect)
> +endif
> +ifdef PTXCONF_OPENCV_PHOTO
> +	@$(call install_lib, opencv, 0, 0, 0644, libopencv_photo)
> +endif
> +ifdef PTXCONF_OPENCV_STITCHING
> +	@$(call install_lib, opencv, 0, 0, 0644, libopencv_stitching)
> +endif
> +ifdef PTXCONF_OPENCV_SUPERRES
> +	@$(call install_lib, opencv, 0, 0, 0644, libopencv_superres)
> +endif
> +ifdef PTXCONF_OPENCV_VIDEO
> +	@$(call install_lib, opencv, 0, 0, 0644, libopencv_video)
> +endif
> +ifdef PTXCONF_OPENCV_VIDEOSTAB
> +	@$(call install_lib, opencv, 0, 0, 0644, libopencv_videostab)
> +endif

We should provide a list here. Check rules/lowpan-tools.make and
LOWPAN_TOOLS_INSTALL_FILES. Then we can use a for-each loop.

- Alex

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2014-03-31  6:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-29 18:41 Christoph Fritz
2014-03-29 18:49 ` [ptxdist] [PATCH v2] " Christoph Fritz
2014-03-31  6:11   ` Alexander Aring
2014-03-31  7:45   ` Michael Olbrich
2014-04-03 20:38     ` [ptxdist] [PATCH v3] " Christoph Fritz
2014-04-04  7:57       ` Alexander Aring
2014-04-04  9:19         ` Juergen Beisert
2014-04-04  9:21         ` [ptxdist] [PATCH v4] " Christoph Fritz
2014-04-04  9:57           ` Michael Olbrich
2014-03-31  6:02 ` [ptxdist] [PATCH] " Alexander Aring
2014-03-31  6:09 ` Alexander Aring [this message]
2014-03-31  8:33   ` Juergen Beisert
2014-03-31  8:44     ` Alexander Aring
2014-03-31  9:00     ` Alexander Aring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140331060921.GB21382@omega.Speedport_W_921V_1_24_000 \
    --to=alex.aring@gmail.com \
    --cc=formatsh@gmail.com \
    --cc=j.weitze@phytec.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox