Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29268 - Motion 3.0.6 ebuild ( New Package )
Summary: Motion 3.0.6 ebuild ( New Package )
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Television related Applications in Gentoo's Portage
URL: http://motion.sf.net
Whiteboard:
Keywords: EBUILD
: 13699 55924 63555 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-21 08:26 UTC by Minati jean michel
Modified: 2005-09-29 15:13 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
motion 3.0.6 ( New Package ) (motion-3.0.6.ebuild,1017 bytes, text/plain)
2003-09-21 08:27 UTC, Minati jean michel
Details
motion-3.0.7.ebuild (motion-3.0.7.ebuild,1.10 KB, text/plain)
2003-11-09 18:56 UTC, Bret Towe
Details
motion-3.0.7.ebuild, Revised (motion-3.0.7.ebuild,1.44 KB, text/plain)
2004-01-01 21:10 UTC, Greg
Details
Updated motion-3.1.14.ebuild (motion-3.1.14.ebuild,1.33 KB, text/plain)
2004-06-23 02:12 UTC, Richard Reynolds
Details
ebuild for motion 3.1.16 (motion-3.1.16.ebuild,1.67 KB, text/plain)
2004-09-19 12:14 UTC, Andreas Kobara
Details
runlevel script for motion detection to start as a service (motion.init-Gentoo,607 bytes, text/plain)
2004-09-19 12:15 UTC, Andreas Kobara
Details
motion-3.1.17.ebuild (motion-3.1.17.ebuild,1.89 KB, text/plain)
2004-10-15 03:26 UTC, Andreas Kobara
Details
motion-3.1.17_snap2-ffmpeg-048_049.patch.gz support for ffmpeg 0.48 and 0.49 (motion-3.1.17_snap2-ffmpeg-048_049.patch.gz,1.20 KB, application/octet-stream)
2004-10-15 03:28 UTC, Andreas Kobara
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Minati jean michel 2003-09-21 08:26:43 UTC
Motion is a software motion detector. It grabs images from video4linux devices
and/or from webcams

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Minati jean michel 2003-09-21 08:27:53 UTC
Created attachment 18077 [details]
motion 3.0.6 ( New Package )

the motion 3.0.6 ebuild.
Comment 2 Minati jean michel 2003-09-21 08:28:39 UTC
I attached the ebuild for motion 3.0.6 , I suggest media-video/motion .
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-09-24 13:04:44 UTC
*** Bug 13699 has been marked as a duplicate of this bug. ***
Comment 4 Bret Towe 2003-11-09 18:56:44 UTC
Created attachment 20494 [details]
motion-3.0.7.ebuild

i noticed 3.0.7 was out and tried this ebuild out and found it had a few
problems
mirror://sourceforge wasnt used 2 files in the tarball were wrong
one was htm file that hsould of been html (had to rename to allow install
to
work)
and configure script wasnt +x
there is prob somethin else but i forget
anyhow it works for me now
Comment 5 Bret Towe 2003-11-09 20:08:14 UTC
ok not 100% working
it checks for libavcodec.a and you need to point it to /usr/lib
so ether configure needs to be updated to look for a .so instead
or perhaps we should look at dev version instead in hopes of
it using a newer ver of the codec or at least a shared ver
Comment 6 Greg 2004-01-01 20:15:17 UTC
(I am testing with motion version "3.0.7-1")

Motion requires libjpeg (cant configure without it), but DEPEND is missing it.
DEPEND should also have media-libs/jpeg listed.

(Also, perusing configure.in, it looks like libcurl (that is, net-ftp/curl) is used, but not required)

In the end, in my efforts to get ffmpeg to be included (by the way, shouldnt the "ffmpeg" useflag be considered, since it is possible to build without ffmpeg?) I had to edit `configure' changing all 2 instances of libavcodec.a to libavcodec.so. Then, I had to run configure like this:

    CFLAGS="-I/usr/include/ffmpeg" ./configure --with-libavcodec=/usr/lib

This successfully builds and uses ffmpeg correctly!
Comment 7 Greg 2004-01-01 21:10:57 UTC
Created attachment 22995 [details]
motion-3.0.7.ebuild, Revised

This ebuild implements my above comments and works for me! (did not test with
mysql/postgresql) . (Also, it uses the motion-3.0.7-1 tarball which does not
have that misnamed html file and the man file ends in ".1" instead of ".man".)
Comment 8 Jan Philipp Giel 2004-01-12 08:21:08 UTC
I installed the revised 3.0.7 ebuild and it keeps giving me 

"Motion detected
Error while creating directory: No such file or directory"

running as root or as normal user
Comment 9 Dominik Brugger 2004-04-29 11:09:39 UTC
i experience the same problem as above, but 3.1.13 (considered unstable) works perfectly.
Comment 10 Richard Reynolds 2004-06-23 02:12:01 UTC
Created attachment 33936 [details]
Updated motion-3.1.14.ebuild

BUMP!

3.1.14 is now a stable release.

Also this needs moving over to media-video
Comment 11 Malcolm Lashley (RETIRED) gentoo-dev 2004-08-12 03:34:50 UTC
*** Bug 55924 has been marked as a duplicate of this bug. ***
Comment 12 Richard Reynolds 2004-08-16 08:52:12 UTC
This diff add's xmlrpc-c support to motion with the use flag xmlrpc. xmlrpc-c is currently broken but will have a patch in for that later as I now have it building fine.

--- motion-3.1.14.ebuild.ori    2004-08-16 16:26:13.000000000 +0000
+++ motion-3.1.14.ebuild        2004-08-16 16:42:57.000000000 +0000
@@ -10,9 +10,10 @@
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~x86"
-IUSE="mysql postgres"
+IUSE="mysql postgres xmlrpc"
 DEPEND="mysql? ( dev-db/mysql )
                postgres? ( dev-db/postgresql )
+               xmlrpc? ( dev-libs/xmlrpc-c )
                media-video/ffmpeg
                media-libs/jpeg
                sys-apps/sed"
Comment 13 Andreas Kobara 2004-09-19 12:14:47 UTC
Created attachment 39940 [details]
ebuild for motion 3.1.16

moving over from duplicate bug #63555
Could someone check the modifications in the 3.1.14 ebuild,
since i didn't need them in mine.
Comment 14 Andreas Kobara 2004-09-19 12:15:33 UTC
Created attachment 39941 [details]
runlevel script for motion detection to start as a service
Comment 15 Andreas Kobara 2004-09-19 12:16:57 UTC
*** Bug 63555 has been marked as a duplicate of this bug. ***
Comment 16 Andreas Kobara 2004-10-15 03:26:00 UTC
Created attachment 41846 [details]
motion-3.1.17.ebuild

version bump, and patched to work with ffmpeg 0.48 AND 0.49

Motion 3.1.17 is mainly a bugfix release.

Bugs fixed includes reMotion 3.1.17 is mainly a bugfix release.

Bugs fixed includes removal of many silly syslog messages
that made Motion unstable, fix of autobrightness feature and
an fix and improvement of the lightswitch feature.

moval of many silly syslog messages
that made Motion unstable, fix of autobrightness feature and
an fix and improvement of the lightswitch feature.
Comment 17 Andreas Kobara 2004-10-15 03:28:12 UTC
Created attachment 41847 [details]
motion-3.1.17_snap2-ffmpeg-048_049.patch.gz support for ffmpeg 0.48 and 0.49

motion 3.1.17 patch with support for ffmpeg 0.48 and 0.49
Comment 18 Roger 2005-01-07 12:34:18 UTC
Needs a default /etc/motion/motion.cfg !  

The motion init script will fail to mark itself "stopped" when motion fails to start -- to resolve, admins will have to rm /var/lib/init.d/started/motion in order to try starting motion again via the init script.

After ~18 hours, of searching, I've finally found something I can actually use for my purpose -- would be great if this were intigrated into zoneminder -- but zoneminder seems to have a hacked compilation routine (ie, see bug #67780). :-/
Comment 19 Andreas Kobara 2005-01-07 13:45:12 UTC
As stated by the postinstall of this ebuild:
motion.conf examples are in /usr/share/doc/motion*/examples
configuration is very individual so there is no pre-installed motion.conf

you can reset a marked "running" service by calling the init-script with "zap":

/etc/init.d/motion zap
* Manually resetting motion to stopped state.
Comment 20 Toby Dickenson 2005-02-15 14:10:14 UTC
motion 3.1.18 is released.
http://sourceforge.net/project/shownotes.php?release_id=301053

The 3.1.17 ebuild works fine after removing the epatch line..... 3.1.18 already includes ffmpeg 0.4.9 support.
Comment 21 Miguel Revilla Rodríguez 2005-03-02 01:03:23 UTC
3.1.19 has been released:

http://sourceforge.net/project/shownotes.php?group_id=13468&release_id=309572
Comment 22 Andreas Kobara 2005-05-30 04:10:49 UTC
3.1.20 released, and switching to 3.2.1 branch, which uses a http controlinterface
instead of xmlrpc, works great with quickcam sphere tilt/pan and motiontracking.
Comment 23 Jakub Moc (RETIRED) gentoo-dev 2005-09-29 15:13:06 UTC
In portage for months, closing.