From 5403e8ff85bf2300188e49b43ef44b5d84f22e56 Mon Sep 17 00:00:00 2001 From: Camopants Date: Wed, 26 Feb 2025 07:46:59 +0000 Subject: [PATCH 1/5] gitignore --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index c59e1718..db092fd0 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,9 @@ Makefile.in ABOUT-NLS compile config.guess +config.h +config.h.in +config.h.in~ config.hpp config.hpp.in config.hpp.in~ From 1a738e25e7555e075302d30cdb345ae44a82858f Mon Sep 17 00:00:00 2001 From: Camopants Date: Wed, 26 Feb 2025 08:26:01 +0000 Subject: [PATCH 2/5] Rocky installation notes --- INSTALL.rocky | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 INSTALL.rocky diff --git a/INSTALL.rocky b/INSTALL.rocky new file mode 100644 index 00000000..1ef720be --- /dev/null +++ b/INSTALL.rocky @@ -0,0 +1,44 @@ +The following is a brief overview of the building and installing instructions for debian / ubuntu. + +For full instructions on how to build and install Motion, see the motion_guide.html that is +distributed with this source code. The guide also includes instructions for building Motion +on distributions other than debian/ubuntu such as BSD, Mac and Centos. + +The packages and library names change frequently and vary across base operating systems. +Adjust the following lines as required by the base operating system. + +Install buildessential equivalents + Minimal: + sudo dnf --setopt="install_weak_deps=False" install \ + gcc \ + gcc-c++ \ + make + + Extensive, but major cruft: + sudo dnf --setopt="install_weak_deps=False" groupinstall "Development Tools" + +Install necessary additional build tools and support packages: + sudo dnf --setopt="install_weak_deps=False" install \ + autoconf \ + automake \ + autopoint \ + pkgconf \ + libtool \ + libjpeg-devel \ + libzip-devel \ + gettext \ + gettext-devel \ + libmicrohttpd-devel + +Install FFMPEG packages + sudo apt-get install libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavdevice-dev + +Once the packages have been installed, continue as for the default (.deb system) compilation: + autoreconf -fiv + ./configure + make + make install + +Sample custom configuration options: + --prefix : Specify the install location for the motion package + --with-ffmpeg=[dir] : Specify the location in which ffmpeg/libav is installed. From 8d9fdf804c6784b6b433196988ec7ac2ac4a586a Mon Sep 17 00:00:00 2001 From: Camopants Date: Wed, 26 Feb 2025 08:28:11 +0000 Subject: [PATCH 3/5] Rocky install notes in doc --- INSTALL.rocky => doc/INSTALL.rocky | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename INSTALL.rocky => doc/INSTALL.rocky (100%) diff --git a/INSTALL.rocky b/doc/INSTALL.rocky similarity index 100% rename from INSTALL.rocky rename to doc/INSTALL.rocky From 90a29335b487afe6bcf65cebfac1355bd714f25e Mon Sep 17 00:00:00 2001 From: Camopants Date: Wed, 26 Feb 2025 17:27:34 +0000 Subject: [PATCH 4/5] Rocky install notes --- doc/INSTALL.rocky | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/INSTALL.rocky b/doc/INSTALL.rocky index 1ef720be..04f2451e 100644 --- a/doc/INSTALL.rocky +++ b/doc/INSTALL.rocky @@ -1,4 +1,5 @@ -The following is a brief overview of the building and installing instructions for debian / ubuntu. +The following is a brief overview of the building and installing instructions for for Rocky Linux 9 +(and presumably other compatible RPM Enterprise Linux distros). For full instructions on how to build and install Motion, see the motion_guide.html that is distributed with this source code. The guide also includes instructions for building Motion From ea6628312939aec5ab64a0f04511fbb6e8285e2f Mon Sep 17 00:00:00 2001 From: Camopants Date: Fri, 5 Sep 2025 02:17:23 +0100 Subject: [PATCH 5/5] Rocky install doc --- doc/INSTALL.rocky | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/doc/INSTALL.rocky b/doc/INSTALL.rocky index 04f2451e..854bd203 100644 --- a/doc/INSTALL.rocky +++ b/doc/INSTALL.rocky @@ -8,6 +8,10 @@ on distributions other than debian/ubuntu such as BSD, Mac and Centos. The packages and library names change frequently and vary across base operating systems. Adjust the following lines as required by the base operating system. +Install the EPEL repo: + sudo dnf install \ + https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm + Install buildessential equivalents Minimal: sudo dnf --setopt="install_weak_deps=False" install \ @@ -32,13 +36,18 @@ Install necessary additional build tools and support packages: libmicrohttpd-devel Install FFMPEG packages - sudo apt-get install libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavdevice-dev + sudo dnf --setopt="install_weak_deps=False" install \ + libavformat-free-devel \ + libavcodec-free-devel \ + libavutil-free-devel \ + libavdevice-free-devel \ + libswscale-free-devel Once the packages have been installed, continue as for the default (.deb system) compilation: autoreconf -fiv ./configure make - make install + sudo make install Sample custom configuration options: --prefix : Specify the install location for the motion package