Package Details: zoneminder 1.36.35-1

Git Clone URL: https://aur.archlinux.org/zoneminder.git (read-only, click to copy)
Package Base: zoneminder
Description: A full-featured, open source, state-of-the-art video surveillance software system
Upstream URL: https://zoneminder.com/
Keywords: camera cctv monitor record security surveillance video zoneminder
Licenses: GPL-2.0-only
Submitter: None
Maintainer: Nocifer
Last Packager: Nocifer
Votes: 72
Popularity: 0.24
First Submitted: 2008-03-21 00:09 (UTC)
Last Updated: 2024-10-22 17:14 (UTC)

Dependencies (45)

Sources (8)

Latest Comments

« First ‹ Previous 1 .. 56 57 58 59 60 61 62 63 Next › Last »

<deleted-account> commented on 2011-05-27 17:23 (UTC)

mootools might be a relic from an older version of PKGBUILD. Too bad aur doesn't get a repository so we know how/why it got removed. ZM release notes show it's still used, although it shows they're now using 1.2. I haven't seen anything break yet with the old one. I think zm_image might have been due to naming collision with jpeg libs and I think 1.24.3 fixed that.

mrechte commented on 2011-05-27 06:42 (UTC)

Thanks for your post. Where is the mootools.v1.11.js script coming from, it is not downloaded from the PKGBUILD ? It seems also the zm_image patch is no longer needed in this build.

<deleted-account> commented on 2011-05-26 19:36 (UTC)

I just rebuilt again with my PKGBUILD and it compiles fine. I had also pacman updated just a couple of days ago. Here's my entire build tarball. https://rapidshare.com/files/1674546384/zoneminder.tar.gz The jscalendar link hasn't worked in a long time, so I just used a copy from a previous build. I've also customized some install paths, so please ignore. Sorry. It's hacky. I didn't spend a lot of time tidying this.

mrechte commented on 2011-05-26 11:52 (UTC)

Also your PKGBUILD might be useful. Thanks a lot.

mrechte commented on 2011-05-26 08:08 (UTC)

Hello. I tried your patch, but it fails with: patching file zm.conf.in patching file scripts/zmupdate.pl.in Hunk #1 FAILED at 412. 1 out of 1 hunk FAILED -- saving rejects to file scripts/zmupdate.pl.in.rej I am not very sure of whitespace characters to be put in the patch files. Could you please attach the patch files ?

<deleted-account> commented on 2011-05-25 21:16 (UTC)

I had trouble getting 1.24.2 to compile again, so I gave up and instead picked up the newly released 1.24.3 and hacked it to work. Here's what I did: 1. removed zm_libv4l.patch 2. replaced zmupdate.patch with the following --- ZoneMinder-1.24.3/scripts/zmupdate.pl.in.orig 2011-05-04 07:11:23.000000000 -0700 +++ ZoneMinder-1.24.3/scripts/zmupdate.pl.in 2011-05-24 13:03:06.000000000 -0700 @@ -412,7 +412,7 @@ } else { - $command .= ZM_PATH_BUILD."/db"; + $command .= ZM_PATH_UPDATE; } $command .= "/zm_update-".$version.".sql"; 3. replaced Makefile.patch with the following --- ZoneMinder-1.24.3/Makefile.orig 2011-05-24 13:13:55.000000000 -0700 +++ ZoneMinder-1.24.3/Makefile 2011-05-24 13:18:02.000000000 -0700 @@ -815,9 +815,9 @@ # Yes, you are correct. This is a HACK! install-data-hook: ( cd $(DESTDIR)$(sysconfdir); chown $(webuser):$(webgroup) $(sysconf_DATA); chmod 600 $(sysconf_DATA) ) - ( if ! test -e $(ZM_RUNDIR); then mkdir -p $(ZM_RUNDIR); fi; chown $(webuser):$(webgroup) $(ZM_RUNDIR); chmod u+w $(ZM_RUNDIR) ) - ( if ! test -e $(ZM_TMPDIR); then mkdir -p $(ZM_TMPDIR); fi; chown $(webuser):$(webgroup) $(ZM_TMPDIR); chmod u+w $(ZM_TMPDIR) ) - ( if ! test -e $(ZM_LOGDIR); then mkdir -p $(ZM_LOGDIR); fi; chown $(webuser):$(webgroup) $(ZM_LOGDIR); chmod u+w $(ZM_LOGDIR) ) + ( if ! test -e $(DESTDIR)$(ZM_RUNDIR); then mkdir -p $(DESTDIR)$(ZM_RUNDIR); fi; chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_RUNDIR); chmod u+w $(DESTDIR)$(ZM_RUNDIR) ) + ( if ! test -e $(DESTDIR)$(ZM_TMPDIR); then mkdir -p $(DESTDIR)$(ZM_TMPDIR); fi; chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_TMPDIR); chmod u+w $(DESTDIR)$(ZM_TMPDIR) ) + ( if ! test -e $(DESTDIR)$(ZM_LOGDIR); then mkdir -p $(DESTDIR)$(ZM_LOGDIR); fi; chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_LOGDIR); chmod u+w $(DESTDIR)$(ZM_LOGDIR) ) uninstall-hook: @-( cd $(DESTDIR)$(webdir); rm -rf events graphics images sounds temp ) It's been working and stable for a day now. Also, cpu utilization dropped vs. 1.24.2 using ffmpeg capture, which is nice.

mrechte commented on 2011-05-23 17:05 (UTC)

I had forgottent to include those directives before the ./configure: LDFLAGS="-lv4l1 -lv4l2 ${LDFLAGS}" export CFLAGS="$CFLAGS -D__STDC_CONSTANT_MACROS" export CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS" Sorry for disturbing. I did not delete my former posts as someone may make the same mistakes than I...

mrechte commented on 2011-05-14 14:45 (UTC)

Adapted slightly DREMA patch to the current version number . But still is fails on: make[2]: entrant dans le répertoire « /home/mrechte/build/zoneminder/src/ZoneMinder-1.24.2/src » if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -frepo -march=i686 -mtune=generic -O2 -pipe -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" -c -o zmc.o zmc.cpp; \ then mv -f ".deps/zmc.Tpo" ".deps/zmc.Po"; else rm -f ".deps/zmc.Tpo"; exit 1; fi In file included from /usr/include/libavutil/avutil.h:108:0, from zm_ffmpeg.h:29, from zm_mpeg.h:23, from zm_stream.h:27, from zm_event.h:39, from zm_zone.h:27, from zm_monitor.h:26, from zmc.cpp:28: /usr/include/libavutil/common.h: In function ‘int32_t av_clipl_int32_c(int64_t)’: /usr/include/libavutil/common.h:168:47: erreur: ‘UINT64_C’ was not declared in this scope make[2]: *** [zmc.o] Erreur 1 make[2]: quittant le répertoire « /home/mrechte/build/zoneminder/src/ZoneMinder-1.24.2/src » make[1]: *** [all-recursive] Erreur 1 make[1]: quittant le répertoire « /home/mrechte/build/zoneminder/src/ZoneMinder-1.24.2 » make: *** [all] Erreur 2 ==> ERREUR: Une erreur s'est produite dans build().

mrechte commented on 2011-05-08 09:11 (UTC)

Thanks dirkraft. Now I have the same problem as T.ArChEr: make[2]: entrant dans le répertoire « /home/mrechte/build/zoneminder/src/ZoneMinder-1.24.2/src » if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -frepo -march=i686 -mtune=generic -O2 -pipe -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" -c -o zmc.o zmc.cpp; \ then mv -f ".deps/zmc.Tpo" ".deps/zmc.Po"; else rm -f ".deps/zmc.Tpo"; exit 1; fi In file included from zm_image.h:26:0, from zm_monitor.h:25, from zmc.cpp:28: zm_jpeg.h:39:85: erreur: declaration of C function ‘void jpeg_mem_src(j_decompress_ptr, const JOCTET*, int)’ conflicts with /usr/include/jpeglib.h:995:14: erreur: previous declaration ‘void jpeg_mem_src(j_decompress_ptr, unsigned char*, long unsigned int)’ here zm_jpeg.h:40:81: erreur: declaration of C function ‘void jpeg_mem_dest(j_compress_ptr, JOCTET*, int*)’ conflicts with /usr/include/jpeglib.h:992:14: erreur: previous declaration ‘void jpeg_mem_dest(j_compress_ptr, unsigned char**, long unsigned int*)’ here In file included from /usr/include/libavutil/avutil.h:108:0, from zm_ffmpeg.h:29, from zm_mpeg.h:23, from zm_stream.h:27, from zm_event.h:39, from zm_zone.h:27, from zm_monitor.h:26, from zmc.cpp:28: /usr/include/libavutil/common.h: In function ‘int32_t av_clipl_int32_c(int64_t)’: /usr/include/libavutil/common.h:168:47: erreur: ‘UINT64_C’ was not declared in this scope Any idea ?

<deleted-account> commented on 2011-05-07 19:06 (UTC)

For videodev.h "Video4Linux" error. This worked for me (well, at least I was able to build the package). As root... # locate videodev.h /usr/include/libv4l1-videodev.h # ln -s /usr/include/libv4l1-videodev.h /usr/include/linux/videodev.h