Upgrade motion to 3.2.10.1 (#3678)
authorFlorian Fainelli <florian@openwrt.org>
Sat, 5 Jul 2008 12:45:00 +0000 (12:45 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 5 Jul 2008 12:45:00 +0000 (12:45 +0000)
SVN-Revision: 11651

multimedia/motion/Makefile
multimedia/motion/patches/001-ffmpeg.patch
multimedia/motion/patches/002-honor_cppflags.patch

index eb45d1f2ff5d11fdfd311564359632445c9b39c2..4aef0826c99095d259c10741ba157a5a53e4f94e 100644 (file)
@@ -9,16 +9,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=motion
-PKG_VERSION:=3.2.9
+PKG_VERSION:=3.2.10.1
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.lavrsen.dk/sources/motion-daily \
                @SF/motion
-PKG_MD5SUM:=6003011b126c9b17e23e085e7fba6536
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
+PKG_MD5SUM:=5ffdc958313345c69d3e0d5ec5c013cd
 
 include $(INCLUDE_DIR)/package.mk
 
index a56201e733d55fe004f2216f1f209eb383dd0f4b..9c04e1396f605806032ee8c1a0e642e203e44eac 100644 (file)
@@ -1,8 +1,6 @@
-Index: motion-3.2.9/motion.c
-===================================================================
---- motion-3.2.9.orig/motion.c
-+++ motion-3.2.9/motion.c
-@@ -1285,6 +1285,7 @@ static void *motion_loop(void *arg)
+--- a/motion.c
++++ b/motion.c
+@@ -1611,6 +1611,7 @@
                 * httpd-control snaps are always enabled.
                 */
  
@@ -10,8 +8,8 @@ Index: motion-3.2.9/motion.c
                /* time_current_frame is used both for snapshot and timelapse features */
                time_current_frame = cnt->currenttime;
  
-@@ -1294,7 +1295,7 @@ static void *motion_loop(void *arg)
-                       event(cnt, EVENT_IMAGE_SNAPSHOT, newimg, NULL, NULL, cnt->currenttime_tm);
+@@ -1620,7 +1621,7 @@
+                       event(cnt, EVENT_IMAGE_SNAPSHOT, cnt->current_image->image, NULL, NULL, &cnt->current_image->timestamp_tm);
                        cnt->snapshot = 0;
                }
 -
@@ -19,7 +17,7 @@ Index: motion-3.2.9/motion.c
  
        /***** MOTION LOOP - TIMELAPSE FEATURE SECTION *****/
  
-@@ -1369,9 +1370,9 @@ static void *motion_loop(void *arg)
+@@ -1695,9 +1696,9 @@
                        event(cnt, EVENT_TIMELAPSEEND, NULL, NULL, NULL, cnt->currenttime_tm);
  
  
index cf6979eedf4152db3c99e767e68c362bfcd28026..81ae26a64144b56901cba44d2582c1eaaee9346c 100644 (file)
@@ -1,16 +1,14 @@
-Index: motion-3.2.9/Makefile.in
-===================================================================
---- motion-3.2.9.orig/Makefile.in
-+++ motion-3.2.9/Makefile.in
-@@ -33,6 +33,7 @@ examplesdir = $(docdir)/examples
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -32,6 +32,7 @@
  ################################################################################
- CFLAGS       = @CFLAGS@ -Wall -DVERSION=\"$(VERSION)\" -D_REENTRANT \
-              -Dsysconfdir=\"$(sysconfdir)\"
+ CFLAGS       = @CFLAGS@ -Wall -DVERSION=\"@PACKAGE_VERSION@\"  \
+              -Dsysconfdir=\"$(sysconfdir)\" -Ddocdir=\"$(docdir)\"
 +CPPFLAGS     = @CPPFLAGS@
  LDFLAGS      = @LDFLAGS@
  LIBS         = @LIBS@ 
  VIDEO_OBJ    = @VIDEO@
-@@ -120,7 +121,7 @@ endif
+@@ -119,7 +120,7 @@
  ################################################################################
  $(DEPEND_FILE): *.h $(SRC)
        @echo "Generating dependencies, please wait..."