rpms/motion/F-10 .cvsignore, 1.2, 1.3 motion.spec, 1.1, 1.2 sources, 1.2, 1.3 ffmpeg-detection.patch, 1.1, NONE

Steven Moix moixs at rpmfusion.org
Tue Aug 11 20:54:22 CEST 2009


Author: moixs

Update of /cvs/free/rpms/motion/F-10
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28648

Modified Files:
	.cvsignore motion.spec sources 
Removed Files:
	ffmpeg-detection.patch 
Log Message:
* Tue Aug 11 2009 Steven Moix <steven.moix at axianet.ch> - 3.2.11.1-1
- Drop patch for ffmpeg 0.5 compatibility
- Drop ffmpeg detection patch
- Moved default output directory to /var/motion
- New startup script with added v4l2convert to support more cameras - https://bugzilla.rpmfusion.org/show_bug.cgi?id=681
- Fix Segfault on reload or quit for vloopback (maybe other v4l1 devices too)
- Fix fd leaks in external pipe
- Avoid possible stack smashing in v4l_open_vidpipe()
- Fix segfault for new libjpeg v7



Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/motion/F-10/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	19 Mar 2009 19:07:46 -0000	1.2
+++ .cvsignore	11 Aug 2009 18:54:22 -0000	1.3
@@ -1 +1 @@
-motion-3.2.11.tar.gz
+motion-3.2.11.1.tar.gz


Index: motion.spec
===================================================================
RCS file: /cvs/free/rpms/motion/F-10/motion.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- motion.spec	19 Mar 2009 19:07:46 -0000	1.1
+++ motion.spec	11 Aug 2009 18:54:22 -0000	1.2
@@ -1,6 +1,6 @@
 Name:           motion
-Version:        3.2.11
-Release:        3%{?dist}
+Version:        3.2.11.1
+Release:        1%{?dist}
 Summary:        A motion detection system
 
 Group:          Applications/Multimedia
@@ -8,11 +8,11 @@
 URL:            http://motion.sourceforge.net/
 Source0:        http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 Source1:        motion-initscript
-Patch0:         ffmpeg-detection.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  libjpeg-devel ffmpeg-devel zlib-devel
-#Requires:       ffmpeg
+#This requires comes from the startup script, it will be there until motion supports libv4l calls in the code
+Requires: libv4l
 Requires(post): chkconfig
 Requires(preun): chkconfig initscripts
 Requires(postun): initscripts
@@ -27,11 +27,9 @@
 
 %prep
 %setup -q
-#ffmpeg detection patch in version 3.2.11. This is an upstream patch.
-%patch0 -p0
 
 %build
-%configure --sysconfdir=%{_sysconfdir}/%{name} --without-optimizecpu --with-ffmpeg --without-mysql --without-pgsql 
+%configure --sysconfdir=%{_sysconfdir}/%{name} --without-optimizecpu --with-ffmpeg --without-mysql --without-pgsql
 #We convert 2 files to UTF-8, otherwise rpmlint complains
 iconv -f iso8859-1 -t utf-8 CREDITS > CREDITS.conv && mv -f CREDITS.conv CREDITS
 iconv -f iso8859-1 -t utf-8 CHANGELOG > CHANGELOG.conv && mv -f CHANGELOG.conv CHANGELOG
@@ -50,6 +48,11 @@
 sed -i 's|sql_log_mpeg|; sql_log_mpeg|g' %{buildroot}%{_sysconfdir}/%{name}/motion.conf
 sed -i 's|sql_log_timelapse|; sql_log_timelapse|g' %{buildroot}%{_sysconfdir}/%{name}/motion.conf
 sed -i 's|sql_query|; sql_query|g' %{buildroot}%{_sysconfdir}/%{name}/motion.conf
+#We set the log file and target directory - logging is for 3.3 branch
+#sed -i 's|;logfile|logfile /var/log/motion.log|g' %{buildroot}%{_sysconfdir}/%{name}/motion.conf
+sed -i 's|target_dir /usr/local/apache2/htdocs/cam1|target_dir /var/motion|g' %{buildroot}%{_sysconfdir}/%{name}/motion.conf
+#We install our startup script - for future 3.3
+#install -D -m 0755 motion.init-RH %{buildroot}%{_initrddir}/%{name}
 #We install our startup script
 install -D -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name}
 
@@ -94,6 +97,22 @@
 %attr(0755,root,root) %{_initrddir}/%{name}
 
 %changelog
+* Tue Aug 11 2009 Steven Moix <steven.moix at axianet.ch> - 3.2.11.1-1
+- Drop patch for ffmpeg 0.5 compatibility
+- Drop ffmpeg detection patch
+- Moved default output directory to /var/motion
+- New startup script with added v4l2convert to support more cameras - https://bugzilla.rpmfusion.org/show_bug.cgi?id=681
+- Fix Segfault on reload or quit for vloopback (maybe other v4l1 devices too)
+- Fix fd leaks in external pipe
+- Avoid possible stack smashing in v4l_open_vidpipe()
+- Fix segfault for new libjpeg v7
+
+* Sun Jun 05 2009 Steven Moix <steven.moix at axianet.ch> - 3.2.11-5
+- Patch and rebuild for ffmpeg 0.5
+
+* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 3.2.11-4
+- rebuild for new F11 features
+
 * Wed Mar 18 2009 Steven Moix <steven.moix at axianet.ch> - 3.2.11-3
 - Even more corrected init script thanks to Stewart Adam
 


Index: sources
===================================================================
RCS file: /cvs/free/rpms/motion/F-10/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	19 Mar 2009 19:07:46 -0000	1.2
+++ sources	11 Aug 2009 18:54:22 -0000	1.3
@@ -1 +1 @@
-3a26c00f3250eacf6fa93c7a7e0249d9  motion-3.2.11.tar.gz
+4e729f129d8f9b9abaed5121c3cd0037  motion-3.2.11.1.tar.gz


--- ffmpeg-detection.patch DELETED ---



More information about the rpmfusion-commits mailing list