Commit Graph

37 Commits

Author SHA1 Message Date
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Sebastian Kemper 47e1b6c2f7 mjpg-streamer: fix missing runpath
This partially reverts ac5912e9cb.
CMAKE_SKIP_RPATH=TRUE is set in include/cmake.mk, so the commit removed
this from some packages as it is the default anyway. But in
mjpg-streamer Makefile this was not set to "TRUE", but to "FALSE". So
this line shouldn't have been removed.

With this revert the runpath is back and modules can be loaded again
from "/usr/lib/mjpg-streamer":

readelf -d build_dir/target-mips_24kc_musl/mjpg-streamer-1.0.0/ipkg-mips_24kc/mjpg-streamer/usr/bin/mjpg_streamer

Dynamic section at offset 0x1c0 contains 35 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libjpeg.so.62]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so]
 0x0000001d (RUNPATH)                    Library runpath: [/usr/lib/mjpg-streamer]

Resolve #17081

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-08 17:49:38 -08:00
Rosen Penev ac5912e9cb remove a bunch of rpath hacks
These are already default.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-28 20:21:56 -07:00
Rosen Penev e74cbe7149 mjpg-streamer: remove outdated musl patch
It seems to not be needed anymore.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-08-15 18:30:09 -07:00
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rosen Penev f457b68177 mjpg-streamer: update to 1.0.0
Switch to AUTORELEASE for simplicity.

Switch to building with Ninja for faster compilation.

Modify PKG_UNPACK instead of overriding Build/Prepare.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-20 17:28:58 -07:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Rosen Penev fe40a5c141
mjpg-streamer: update to latest git version
Rearranged Makefile options for consistency between packages.

Added PKG_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-12 17:56:17 -08:00
Zbyněk Kocur 930733ba20 mjpg-streamer: Fix of the mjpg-streamer modules path
Signed-off-by: Zbyněk Kocur <zbynek.kocur@fel.cvut.cz>
2020-01-08 00:13:26 +01:00
Rosen Penev 5ae85b7952 treewide: Replace MD5SUM with HASH
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-31 15:54:36 +08:00
Rosen Penev 46cee45370
mjpg-streamer: Fix build dependency
It needs to be on host. The target one is already covered below.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-25 21:27:36 -07:00
Rosen Penev 959a2fb307 mjpg-streamer: Fix build depends
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-19 20:58:11 -07:00
Daniel Golle 2e98c1c4c4
mjpg-streamer: modularize package
Instead of selecting the modules on compile time, package them into
several small packages. While at it, add the ZeroMQ output plugin which
was previously not packaged.
Also make sure to use OpenWrt's built-in support for CMake properly by
calling Build/Configure/Default in the package's Build/Configure rule.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2019-09-16 03:25:46 +02:00
Jose Riha 58db73e36d mjpg-streamer: make init script recognize file output plugin
Signed-off-by: Jose Riha <jose1711@gmail.com>
2019-04-23 22:34:38 +02:00
Jan Pavlinec 9b56b1e939
mjpg-streamer: update to last upstream version
Changes:
Update patches
Add listen_ip option to config

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-03-26 15:21:01 +01:00
Ted Hess 82742a6b4e mjpg-streamer: Update to latest from github/jacksonliam repository. Add additional plugins for RTSP, UDP, etc.
Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-05-22 18:29:10 -04:00
Ted Hess 9be0710ebd mjpg-streamer: Remove build date-time from image
Remove un-needed uvcvideo.h (use system include)

Signed-off-by: Ted Hess <thess@kitschensync.net>
2017-12-13 14:05:09 -05:00
Ted Hess c34edc2171 mjpg-streamer: Add mdns support
Signed-off-by: Roger D <rogerdammit@gmail.com>
Signed-off-by: Ted Hess <thess@kitschensync.net>
2017-12-03 12:51:56 -05:00
Ted Hess 68ef05ef05 mjpg-streamer: Use tar.xz. Add PKG_MIRROR_HASH for buildbots w/o svn
Remove unnecessary copyright, add myself as maintainer.

Signed-off-by: Ted Hess <thess@kitschensync.net>
2017-08-27 16:32:35 -04:00
Ted Hess a17fa8c058 mjpg-streamer: Fix SIGTRAP in v4l2uvc
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-11-18 12:35:00 -05:00
Ted Hess 59fcc276d5 mjpg-streamer: Fix build/download order and cambozola repo reference
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-10-17 10:58:32 -04:00
Oliver Middleton 4bdd6aff92 mjpg-streamer: only download cambozola if it's required
Signed-off-by: Oliver Middleton <olliemail27@gmail.com>
2015-09-27 23:49:59 +01:00
Ted Hess db2eba4dc4 mjpg-streamer: Fix musl compatibility
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-06-18 08:35:28 -04:00
Ted Hess 41aa8a5fc9 mjpg-streamer: Update cambozola to specific version, add yuv and jpeg quality init/config options
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-05-01 14:04:13 -04:00
Mantas Pucka 84f3028036 mjpg-streamer: fix YUV capture mode
Update to r182-experimental (071481e626) broke YUV
capture mode in input_uvc. This patch fixes it.

Tested on ar71xx with Logitech C170

Signed-off-by: Mantas Pucka <mantas@8devices.com>
2015-03-11 16:54:09 +02:00
Mantas Pucka b17a973f14 mjpg-streamer: fix compatibility with new kernels (>=3.16)
input_uvc was broken with new kernel update

patch source: https://github.com/oliv3r/mjpg-streamer

Tested on ar71xx with Logitech C170

Signed-off-by: Mantas Pucka <mantas@8devices.com>
2015-03-11 16:53:02 +02:00
Ted Hess ef056ee04c mjpg-streamer: Update version of cambozola.jar
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-02-27 12:24:40 -05:00
Ted Hess 7081db8415 mjpg-streamer: fix v4l dependency in pre-built package
Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-12-13 11:32:06 -05:00
Ted Hess 0443ea0d79 mjpg-streamer: Fix V4L2 option dependency selection and add camera led control option
Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-12-09 10:25:37 -05:00
Ian Leonard ac7cd4c6e6 misc: correct typo in Makefiles for PKG_LICENSE_FILES
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-11-24 23:43:37 -08:00
Ted Hess f5324a5fa0 mjpg-streamer: cleanup V4L selection and dependency
Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-08-16 15:51:34 -04:00
Ted Hess 4059ba271d mjpg-streamer: Bump source name version to force source pkg update
Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-08-01 08:48:50 -04:00
Ted Hess 071481e626 mjpg-streamer: Upgrade to r182-experimental, add patches to remove debug, build additional plugins and minor fixes.
Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-07-29 09:29:55 -04:00
Ted Hess 3a599044ad Revert to r181, default webui to simple stream only, option for full
Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-07-23 13:20:58 -04:00
Ted Hess 7884c022ac Cleanup Makefile edit, add back lost cut-n-paste in init script
Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-07-22 15:42:23 -04:00
Ted Hess 99a4852b37 mjpg-streamer: Upgrade to r182, update copyright and license info
Add options for using libv4l (controls) and installing additional plugins
    Download and use latest cambozola.jar if Web UI selected

Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-07-22 15:10:36 -04:00
Roger f62794a7f0 add mjpg-streamer
add myself as maintainer
add UCI HTTP authentication

Signed-off-by: Roger D <rogerdammit@gmail.com>
2014-07-22 10:15:11 -05:00