deleted file mode 100644
@@ -1,164 +0,0 @@
-From 2d8d68cfcc1cf4fc8861671e185fdf235dcf9740 Mon Sep 17 00:00:00 2001
-From: David Seifert <16636962+SoapGentoo@users.noreply.github.com>
-Date: Fri, 30 Jun 2023 05:37:50 +0200
-Subject: [PATCH] Gettext 0.22 (#1681)
-
-* po: fix gettext 0.22 format specifier
-
-Bug: https://bugs.gentoo.org/908965
-Bug: https://savannah.gnu.org/bugs/index.php?64334#comment1
-
-* Autotools: fix `make distcheck`
-
-* use correct `dist_` specifiers for including files in tarball
-* do not override `docdir`, since this is a user variable
-* include headers in tarball
-
-Upstream: https://github.com/Motion-Project/motion/commit/2d8d68cfcc1cf4fc8861671e185fdf235dcf9740
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
----
- Makefile.am | 11 +++++------
- configure.ac | 1 -
- man/Makefile.am | 1 -
- po/de.po | 2 +-
- po/fi.po | 2 +-
- src/Makefile.am | 52 ++++++++++++++++++++++++++++++++++++-------------
- 6 files changed, 46 insertions(+), 23 deletions(-)
- delete mode 100644 man/Makefile.am
-
-diff --git a/Makefile.am b/Makefile.am
-index 3d2f968e2..5ae03cd2c 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -1,19 +1,18 @@
- ACLOCAL_AMFLAGS = -I m4
-
--SUBDIRS = src po man
-+SUBDIRS = src po
-
--sysconfdir = @sysconfdir@/$(PACKAGE)
--sysconf_DATA = \
-+pkgsysconfdir = $(sysconfdir)/@PACKAGE@
-+dist_pkgsysconf_DATA = \
- data/motion-dist.conf \
- data/camera1-dist.conf \
- data/camera2-dist.conf \
- data/camera3-dist.conf \
- data/camera4-dist.conf
-
--man_MANS = man/motion.1
-+dist_man_MANS = man/motion.1
-
--docdir = $(datadir)/doc/@PACKAGE@
--doc_DATA = \
-+dist_doc_DATA = \
- doc/mask1.png \
- doc/normal.jpg \
- doc/outputmotion1.jpg \
-diff --git a/configure.ac b/configure.ac
-index dfcf5eae2..ce588f65b 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -496,7 +496,6 @@ AC_CONFIG_FILES([
- Makefile
- src/Makefile
- po/Makefile.in
-- man/Makefile
- data/camera1-dist.conf
- data/camera2-dist.conf
- data/camera3-dist.conf
-diff --git a/man/Makefile.am b/man/Makefile.am
-deleted file mode 100644
-index 14aa069f0..000000000
---- a/man/Makefile.am
-+++ /dev/null
-@@ -1 +0,0 @@
--man_MANS = motion.1
-\ No newline at end of file
-diff --git a/po/de.po b/po/de.po
-index 9142c9195..ccd5f09d7 100644
---- a/po/de.po
-+++ b/po/de.po
-@@ -3458,7 +3458,7 @@ msgstr "Sprache: Deutsch"
- #: src/util.c
- #, c-format
- msgid "Could not allocate %llu bytes of memory!"
--msgstr "%Llu Bytes Speicher konnten nicht zugeordnet werden!"
-+msgstr "%llu Bytes Speicher konnten nicht zugeordnet werden!"
-
- #: src/util.c
- #, c-format
-diff --git a/po/fi.po b/po/fi.po
-index 1afbdb68b..d3117a922 100644
---- a/po/fi.po
-+++ b/po/fi.po
-@@ -3432,7 +3432,7 @@ msgstr "Kieli: englanti"
- #: src/util.c
- #, c-format
- msgid "Could not allocate %llu bytes of memory!"
--msgstr "%Llu-tavua muistia ei voitu varata!"
-+msgstr "%llu-tavua muistia ei voitu varata!"
-
- #: src/util.c
- #, c-format
-diff --git a/src/Makefile.am b/src/Makefile.am
-index f93decf55..6f9d02e6b 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -1,17 +1,43 @@
--AM_CPPFLAGS= -Dsysconfdir=\"$(sysconfdir)/motion\" -DLOCALEDIR=\"$(DESTDIR)$(localedir)\"
--
--if INC_MMAL_SRC
--MMAL_SRC=raspicam/RaspiCamControl.c raspicam/RaspiCLI.c
--endif
--
--LIBS = @LIBINTL@ @LIBS@
-+AM_CPPFLAGS= -Dsysconfdir=\"$(sysconfdir)/motion\" -DLOCALEDIR=\"$(localedir)\"
-+LDADD = $(LIBINTL)
-
- bin_PROGRAMS = motion
-
--motion_SOURCES = motion.c logger.c conf.c draw.c jpegutils.c video_loopback.c \
-- video_v4l2.c video_common.c video_bktr.c netcam.c netcam_http.c netcam_ftp.c \
-- netcam_jpeg.c netcam_wget.c netcam_rtsp.c track.c alg.c event.c picture.c \
-- rotate.c translate.c ffmpeg.c util.c dbse.c webu_status.c \
-- webu.c webu_html.c webu_stream.c webu_text.c mmalcam.c $(MMAL_SRC)
--
-+motion_SOURCES = \
-+ alg.h alg.c \
-+ conf.h conf.c \
-+ dbse.h dbse.c \
-+ draw.h draw.c \
-+ event.h event.c \
-+ ffmpeg.h ffmpeg.c \
-+ jpegutils.h jpegutils.c \
-+ logger.h logger.c \
-+ mmalcam.h mmalcam.c \
-+ motion.h motion.c \
-+ netcam.h netcam.c \
-+ netcam_ftp.h netcam_ftp.c \
-+ netcam_http.h netcam_http.c \
-+ netcam_jpeg.h netcam_jpeg.c \
-+ netcam_rtsp.h netcam_rtsp.c \
-+ netcam_wget.h netcam_wget.c \
-+ picture.h picture.c \
-+ rotate.h rotate.c \
-+ track.h track.c \
-+ translate.h translate.c \
-+ util.h util.c \
-+ video_bktr.h video_bktr.c \
-+ video_common.h video_common.c \
-+ video_loopback.h video_loopback.c \
-+ video_v4l2.h video_v4l2.c \
-+ webu.h webu.c \
-+ webu_html.h webu_html.c \
-+ webu_status.h webu_status.c \
-+ webu_stream.h webu_stream.c \
-+ webu_text.h webu_text.c \
-+ mmx.h pwc-ioctl.h
-
-+if INC_MMAL_SRC
-+motion_SOURCES += \
-+ raspicam/RaspiCamControl.h raspicam/RaspiCamControl.c \
-+ raspicam/RaspiCLI.h raspicam/RaspiCLI.c
-+endif
deleted file mode 100644
@@ -1,26 +0,0 @@
-From 40ecd71ff361442f1579089481619dd7cae90ffd Mon Sep 17 00:00:00 2001
-From: Piotr Mionskowski <piotr.mionskowski@gmail.com>
-Date: Sun, 9 Jul 2023 01:44:49 +0200
-Subject: [PATCH] Include libwebp when WEBP is enabled
-
-Upstream: https://github.com/Motion-Project/motion/commit/40ecd71ff361442f1579089481619dd7cae90ffd
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
----
- configure.ac | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index ce588f65..ee45ac37 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -191,8 +191,8 @@ AS_IF([test "${WEBP}" = "yes" ], [
- AS_IF([pkg-config libwebpmux ], [
- AC_MSG_RESULT(yes)
- AC_DEFINE([HAVE_WEBP], [1], [Define to 1 if WEBP is around])
-- TEMP_CFLAGS="$TEMP_CFLAGS "`pkg-config --cflags libwebpmux`
-- TEMP_LIBS="$TEMP_LIBS "`pkg-config --libs libwebpmux`
-+ TEMP_CFLAGS="$TEMP_CFLAGS "`pkg-config --cflags libwebpmux libwebp`
-+ TEMP_LIBS="$TEMP_LIBS "`pkg-config --libs libwebpmux libwebp`
- ],[
- AC_MSG_RESULT(no)
- ]
@@ -1,3 +1,3 @@
# Locally computed:
-sha256 0c824276bb23565b7cf10409ebdcb46b85fb1f6abca957252e52290bb1fe473e motion-4.5.1.tar.gz
+sha256 9268df31a5ebeaf8daca4747cdcd01c86e223625b6f971e9bcec98edf35ec06f motion-4.6.0.tar.gz
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE
@@ -4,7 +4,7 @@
#
################################################################################
-MOTION_VERSION = 4.5.1
+MOTION_VERSION = 4.6.0
MOTION_SITE = $(call github,Motion-Project,motion,release-$(MOTION_VERSION))
MOTION_LICENSE = GPL-2.0
MOTION_LICENSE_FILES = LICENSE
Drop patches (already in version) https://github.com/Motion-Project/motion/releases/tag/release-4.6.0 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> --- package/motion/0001-Gettext-0-22.patch | 164 ------------------ ...Include-libwebp-when-WEBP-is-enabled.patch | 26 --- package/motion/motion.hash | 2 +- package/motion/motion.mk | 2 +- 4 files changed, 2 insertions(+), 192 deletions(-) delete mode 100644 package/motion/0001-Gettext-0-22.patch delete mode 100644 package/motion/0002-Include-libwebp-when-WEBP-is-enabled.patch