Date: Thursday, March 9, 2023 @ 07:53:25
Author: jelle
Revision: 470451
archrelease: copy trunk to extra-x86_64
Added:
v4l-utils/repos/extra-x86_64/0001-v4l2-tpg.patch-rename-min-max-defines-to-tpg_min-max.patch
(from rev 470450,
v4l-utils/trunk/0001-v4l2-tpg.patch-rename-min-max-defines-to-tpg_min-max.patch)
v4l-utils/repos/extra-x86_64/PKGBUILD
(from rev 470450, v4l-utils/trunk/PKGBUILD)
v4l-utils/repos/extra-x86_64/keys/
Deleted:
v4l-utils/repos/extra-x86_64/0001-v4l2-tpg.patch-rename-min-max-defines-to-tpg_min-max.patch
v4l-utils/repos/extra-x86_64/PKGBUILD
-----------------------------------------------------------------+
0001-v4l2-tpg.patch-rename-min-max-defines-to-tpg_min-max.patch | 72
+++++-----
PKGBUILD | 64 ++++----
2 files changed, 68 insertions(+), 68 deletions(-)
Deleted: 0001-v4l2-tpg.patch-rename-min-max-defines-to-tpg_min-max.patch
===================================================================
--- 0001-v4l2-tpg.patch-rename-min-max-defines-to-tpg_min-max.patch
2023-03-09 07:53:00 UTC (rev 470450)
+++ 0001-v4l2-tpg.patch-rename-min-max-defines-to-tpg_min-max.patch
2023-03-09 07:53:25 UTC (rev 470451)
@@ -1,36 +0,0 @@
-From 02f295d4c4c1b401cdb589df5bef2645c7f83813 Mon Sep 17 00:00:00 2001
-From: Hans Verkuil <[email protected]>
-Date: Mon, 15 Mar 2021 08:13:14 +0100
-Subject: [PATCH] v4l2-tpg.patch: rename min/max defines to tpg_min/max
-
-With gcc 11 the min/max defines clash with what gcc provides,
-so rename these defines. They are only used in the min3/max3
-defines, so the change it kept to a minimum.
-
-Signed-off-by: Hans Verkuil <[email protected]>
-Reported-by: Gregor Jasny <[email protected]>
----
- utils/common/v4l2-tpg.h | 10 ++++------
- utils/common/v4l2-tpg.patch | 12 +++++-------
- 2 files changed, 9 insertions(+), 13 deletions(-)
-
-diff --git a/utils/common/v4l2-tpg.h b/utils/common/v4l2-tpg.h
-index caf7b1a1..ecdb6eba 100644
---- a/utils/common/v4l2-tpg.h
-+++ b/utils/common/v4l2-tpg.h
-@@ -28,12 +28,10 @@ typedef __s8 s8;
- #define pr_info printf
- #define noinline
-
--#ifndef min
--#define min(a,b) ((a) < (b) ? (a) : (b))
--#define max(a,b) ((a) > (b) ? (a) : (b))
--#endif /* !min */
--#define min3(x, y, z) min((typeof(x))min(x, y), z)
--#define max3(x, y, z) max((typeof(x))max(x, y), z)
-+#define tpg_min(a,b) ((a) < (b) ? (a) : (b))
-+#define tpg_max(a,b) ((a) > (b) ? (a) : (b))
-+#define min3(x, y, z) tpg_min((typeof(x))tpg_min(x, y), z)
-+#define max3(x, y, z) tpg_max((typeof(x))tpg_max(x, y), z)
- #define array_size(a, b) ((a) * (b))
- #define array3_size(a, b, c) ((a) * (b) * (c))
Copied:
v4l-utils/repos/extra-x86_64/0001-v4l2-tpg.patch-rename-min-max-defines-to-tpg_min-max.patch
(from rev 470450,
v4l-utils/trunk/0001-v4l2-tpg.patch-rename-min-max-defines-to-tpg_min-max.patch)
===================================================================
--- 0001-v4l2-tpg.patch-rename-min-max-defines-to-tpg_min-max.patch
(rev 0)
+++ 0001-v4l2-tpg.patch-rename-min-max-defines-to-tpg_min-max.patch
2023-03-09 07:53:25 UTC (rev 470451)
@@ -0,0 +1,36 @@
+From 02f295d4c4c1b401cdb589df5bef2645c7f83813 Mon Sep 17 00:00:00 2001
+From: Hans Verkuil <[email protected]>
+Date: Mon, 15 Mar 2021 08:13:14 +0100
+Subject: [PATCH] v4l2-tpg.patch: rename min/max defines to tpg_min/max
+
+With gcc 11 the min/max defines clash with what gcc provides,
+so rename these defines. They are only used in the min3/max3
+defines, so the change it kept to a minimum.
+
+Signed-off-by: Hans Verkuil <[email protected]>
+Reported-by: Gregor Jasny <[email protected]>
+---
+ utils/common/v4l2-tpg.h | 10 ++++------
+ utils/common/v4l2-tpg.patch | 12 +++++-------
+ 2 files changed, 9 insertions(+), 13 deletions(-)
+
+diff --git a/utils/common/v4l2-tpg.h b/utils/common/v4l2-tpg.h
+index caf7b1a1..ecdb6eba 100644
+--- a/utils/common/v4l2-tpg.h
++++ b/utils/common/v4l2-tpg.h
+@@ -28,12 +28,10 @@ typedef __s8 s8;
+ #define pr_info printf
+ #define noinline
+
+-#ifndef min
+-#define min(a,b) ((a) < (b) ? (a) : (b))
+-#define max(a,b) ((a) > (b) ? (a) : (b))
+-#endif /* !min */
+-#define min3(x, y, z) min((typeof(x))min(x, y), z)
+-#define max3(x, y, z) max((typeof(x))max(x, y), z)
++#define tpg_min(a,b) ((a) < (b) ? (a) : (b))
++#define tpg_max(a,b) ((a) > (b) ? (a) : (b))
++#define min3(x, y, z) tpg_min((typeof(x))tpg_min(x, y), z)
++#define max3(x, y, z) tpg_max((typeof(x))tpg_max(x, y), z)
+ #define array_size(a, b) ((a) * (b))
+ #define array3_size(a, b, c) ((a) * (b) * (c))
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-09 07:53:00 UTC (rev 470450)
+++ PKGBUILD 2023-03-09 07:53:25 UTC (rev 470451)
@@ -1,32 +0,0 @@
-# Maintainer: Thomas Bächler <[email protected]>
-pkgname=v4l-utils
-pkgver=1.22.1
-pkgrel=1
-pkgdesc="Userspace tools and conversion library for Video 4 Linux"
-arch=('x86_64')
-url="https://linuxtv.org/"
-provides=("libv4l=$pkgver")
-replaces=('libv4l')
-conflicts=('libv4l')
-backup=(etc/rc_maps.cfg)
-license=('LGPL')
-makedepends=('qt5-base' 'alsa-lib')
-optdepends=('qt5-base: for qv4l2' 'alsa-lib: for qv4l2')
-depends=('hicolor-icon-theme' 'gcc-libs' 'sysfsutils' 'libjpeg-turbo')
-source=(https://linuxtv.org/downloads/v4l-utils/${pkgname}-${pkgver}.tar.bz2{,.asc})
-sha256sums=('65c6fbe830a44ca105c443b027182c1b2c9053a91d1e72ad849dfab388b94e31'
- 'SKIP')
-validpgpkeys=('05D0169C26E41593418129DF199A64FADFB500FF') # Gregor Jasny
<[email protected]>
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- MAKEFLAGS="-j1" make install DESTDIR="${pkgdir}/"
- rm "${pkgdir}/usr/bin/ivtv-ctl"
-}
Copied: v4l-utils/repos/extra-x86_64/PKGBUILD (from rev 470450,
v4l-utils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-09 07:53:25 UTC (rev 470451)
@@ -0,0 +1,32 @@
+# Maintainer: Thomas Bächler <[email protected]>
+pkgname=v4l-utils
+pkgver=1.24.1
+pkgrel=1
+pkgdesc="Userspace tools and conversion library for Video 4 Linux"
+arch=('x86_64')
+url="https://linuxtv.org/"
+provides=("libv4l=$pkgver")
+replaces=('libv4l')
+conflicts=('libv4l')
+backup=(etc/rc_maps.cfg)
+license=('LGPL')
+makedepends=('qt5-base' 'alsa-lib')
+optdepends=('qt5-base: for qv4l2' 'alsa-lib: for qv4l2')
+depends=('hicolor-icon-theme' 'gcc-libs' 'sysfsutils' 'libjpeg-turbo')
+source=(https://linuxtv.org/downloads/v4l-utils/${pkgname}-${pkgver}.tar.bz2{,.asc})
+sha256sums=('cbb7fe8a6307f5ce533a05cded70bb93c3ba06395ab9b6d007eb53b75d805f5b'
+ 'SKIP')
+validpgpkeys=('05D0169C26E41593418129DF199A64FADFB500FF') # Gregor Jasny
<[email protected]>
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ MAKEFLAGS="-j1" make install DESTDIR="${pkgdir}/"
+ rm "${pkgdir}/usr/bin/ivtv-ctl"
+}