mchehab / zbar

ZBar is an open source software suite for reading bar codes from various sources, including webcams. As its development stopped in 2012, I took the task of keeping it updated with the V4L2 API. This is the main repository for it. There's a clone at at LinuxTV.org, and another one at gitlab.
https://linuxtv.org/downloads/zbar/
GNU Lesser General Public License v2.1
964 stars 202 forks source link

CMake support #260

Open Kikadass opened 1 year ago

Kikadass commented 1 year ago

I understand this is an enhancement not a bug. However, I have seen many issues raised with compiling problems with missing dependencies needed to compile or issues with autoconf, autoreconf, or configure, that could be avoided by using CMake. The current build system required many dependencies (gettext autoconf automake libtool). That could be avoided.

That would also facilitate projects needing zbar as third party library, as it could be downloaded and built directly with FetchContent.

There was an external repo that tried making such CMake: https://github.com/chrisg123/zbar-cmake/blob/master/CMakeLists.txt

Please consider it :) Thanks for taking the time to maintain this project after it stopped in 2012

Kikadass commented 1 year ago

I have just seen this issue: https://github.com/mchehab/zbar/issues/222

It also mentions a fork that implements a CMake support: https://github.com/ShadowsocksR-Live/zbar/blob/master/CMakeLists.txt