From cee379ccd2970503c6024ebcd62626c4083db7df Mon Sep 17 00:00:00 2001 From: olli Date: Mon, 16 Jul 2007 20:39:13 +0000 Subject: [PATCH] motion: revert (#1868) git-svn-id: svn://svn.openwrt.org/openwrt/packages@8008 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- multimedia/motion/Makefile | 7 ++++--- multimedia/motion/patches/001-ffmpeg.patch | 13 ++++++------- multimedia/motion/patches/002-honor_cppflags.patch | 9 ++++----- multimedia/motion/patches/003-sn9c102-common-buffer.patch | 6 +++--- 4 files changed, 17 insertions(+), 18 deletions(-) diff --git a/multimedia/motion/Makefile b/multimedia/motion/Makefile index 04ea26a0a..9d2d10e45 100644 --- a/multimedia/motion/Makefile +++ b/multimedia/motion/Makefile @@ -9,12 +9,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=motion -PKG_VERSION:=3.2.7 +PKG_VERSION:=20070331-051001 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=@SF/motion -PKG_MD5SUM:=b4af6e10532fcdec89060bc61a27fc3a +PKG_SOURCE_URL:=http://www.lavrsen.dk/sources/motion-daily \ + @SF/motion +PKG_MD5SUM:=16e58186022dfee1c0dcaf03cf5393e5 PKG_CAT:=zcat PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) diff --git a/multimedia/motion/patches/001-ffmpeg.patch b/multimedia/motion/patches/001-ffmpeg.patch index 3489ef23e..50c57484c 100644 --- a/multimedia/motion/patches/001-ffmpeg.patch +++ b/multimedia/motion/patches/001-ffmpeg.patch @@ -1,8 +1,7 @@ -Index: motion-3.2.7/motion.c -=================================================================== ---- motion-3.2.7.orig/motion.c 2007-06-11 08:27:27.000000000 +0100 -+++ motion-3.2.7/motion.c 2007-06-11 08:27:35.000000000 +0100 -@@ -1279,6 +1279,7 @@ +diff -x .svn -ruN motion-3.2.8.old/motion.c motion-3.2.8/motion.c +--- motion-3.2.8.old/motion.c 2007-03-31 12:54:31.000000000 +0200 ++++ motion-3.2.8/motion.c 2007-03-31 13:08:27.000000000 +0200 +@@ -1282,6 +1282,7 @@ * httpd-control snaps are always enabled. */ @@ -10,7 +9,7 @@ Index: motion-3.2.7/motion.c /* time_current_frame is used both for snapshot and timelapse features */ time_current_frame = cnt->currenttime; -@@ -1288,7 +1289,7 @@ +@@ -1291,7 +1292,7 @@ event(cnt, EVENT_IMAGE_SNAPSHOT, newimg, NULL, NULL, cnt->currenttime_tm); cnt->snapshot = 0; } @@ -19,7 +18,7 @@ Index: motion-3.2.7/motion.c /***** MOTION LOOP - TIMELAPSE FEATURE SECTION *****/ -@@ -1363,9 +1364,9 @@ +@@ -1366,9 +1367,9 @@ event(cnt, EVENT_TIMELAPSEEND, NULL, NULL, NULL, cnt->currenttime_tm); diff --git a/multimedia/motion/patches/002-honor_cppflags.patch b/multimedia/motion/patches/002-honor_cppflags.patch index 0c0ba1307..322fb772d 100644 --- a/multimedia/motion/patches/002-honor_cppflags.patch +++ b/multimedia/motion/patches/002-honor_cppflags.patch @@ -1,7 +1,6 @@ -Index: motion-3.2.7/Makefile.in -=================================================================== ---- motion-3.2.7.orig/Makefile.in 2007-06-11 08:26:33.000000000 +0100 -+++ motion-3.2.7/Makefile.in 2007-06-11 08:27:55.000000000 +0100 +diff -ruN motion-3.2.5.1-old/Makefile.in motion-3.2.5.1-new/Makefile.in +--- motion-3.2.5.1-old/Makefile.in 2006-03-07 22:52:49.000000000 +0100 ++++ motion-3.2.5.1-new/Makefile.in 2006-03-27 22:04:34.000000000 +0200 @@ -32,6 +32,7 @@ ################################################################################ CFLAGS = @CFLAGS@ -Wall -DVERSION=\"$(VERSION)\" -D_REENTRANT \ @@ -10,7 +9,7 @@ Index: motion-3.2.7/Makefile.in LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ VIDEO_OBJ = @VIDEO@ -@@ -119,7 +120,7 @@ +@@ -115,7 +116,7 @@ ################################################################################ $(DEPEND_FILE): *.h $(SRC) @echo "Generating dependencies, please wait..." diff --git a/multimedia/motion/patches/003-sn9c102-common-buffer.patch b/multimedia/motion/patches/003-sn9c102-common-buffer.patch index e43a1c044..8a9693c70 100644 --- a/multimedia/motion/patches/003-sn9c102-common-buffer.patch +++ b/multimedia/motion/patches/003-sn9c102-common-buffer.patch @@ -1,7 +1,7 @@ -Index: motion-3.2.7/motion.c +Index: motion-3.2.8/motion.c =================================================================== ---- motion-3.2.7.orig/motion.c 2007-06-11 08:27:35.000000000 +0100 -+++ motion-3.2.7/motion.c 2007-06-11 08:28:30.000000000 +0100 +--- motion-3.2.8/motion.c (revision 174) ++++ motion-3.2.8/motion.c (working copy) @@ -474,8 +474,8 @@ cnt->imgs.shotstamp = mymalloc(sizeof(int)); -- 2.11.0