public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-util/umockdev/files/, dev-util/umockdev/
@ 2016-04-21  4:16 Mike Frysinger
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2016-04-21  4:16 UTC (permalink / raw
  To: gentoo-commits

commit:     39a50ac279d25e74e00f26d41d7ab4488f0221e1
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 21 04:15:47 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Apr 21 04:15:47 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39a50ac2

dev-util/umockdev: fix build w/newer glibc #579988

 .../umockdev/files/umockdev-0.8.11-sysmacros.patch | 43 ++++++++++++++++++++++
 dev-util/umockdev/umockdev-0.8.11.ebuild           |  4 ++
 2 files changed, 47 insertions(+)

diff --git a/dev-util/umockdev/files/umockdev-0.8.11-sysmacros.patch b/dev-util/umockdev/files/umockdev-0.8.11-sysmacros.patch
new file mode 100644
index 0000000..17ee6b2
--- /dev/null
+++ b/dev-util/umockdev/files/umockdev-0.8.11-sysmacros.patch
@@ -0,0 +1,43 @@
+https://github.com/martinpitt/umockdev/pull/52
+https://bugs.gentoo.org/579988
+
+--- a/src/libumockdev-preload.c
++++ b/src/libumockdev-preload.c
+@@ -39,6 +39,7 @@
+ #include <inttypes.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <sys/inotify.h>
+ #include <sys/socket.h>
+ #include <sys/ioctl.h>
+--- a/src/umockdev-record.c
++++ b/src/umockdev-record.c
+@@ -31,6 +31,7 @@
+ #include <stdarg.h>
+ #include <sys/stat.h>
+ #include <errno.h>
++#include <sys/sysmacros.h>
+ #include <sys/types.h>
+ #include <glib/gstdio.h>
+ #include <fcntl.h>
+--- a/tests/test-umockdev-vala.c
++++ b/tests/test-umockdev-vala.c
+@@ -36,6 +36,7 @@
+ #include <unistd.h>
+ #include <glib/gstdio.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <gobject/gvaluecollector.h>
+ 
+ #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
+--- a/tests/test-umockdev.c
++++ b/tests/test-umockdev.c
+@@ -29,6 +29,7 @@
+ #include <errno.h>
+ #include <sys/ioctl.h>
+ #include <sys/socket.h>
++#include <sys/sysmacros.h>
+ #include <sys/un.h>
+ #include <linux/usbdevice_fs.h>
+ #include <linux/input.h>

diff --git a/dev-util/umockdev/umockdev-0.8.11.ebuild b/dev-util/umockdev/umockdev-0.8.11.ebuild
index a65cd56..d3b6456 100644
--- a/dev-util/umockdev/umockdev-0.8.11.ebuild
+++ b/dev-util/umockdev/umockdev-0.8.11.ebuild
@@ -25,3 +25,7 @@ DEPEND="${RDEPEND}
 	virtual/pkgconfig"
 
 RESTRICT="test"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-sysmacros.patch #579988
+)


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/umockdev/files/, dev-util/umockdev/
@ 2020-08-15  6:32 Mart Raudsepp
  0 siblings, 0 replies; 5+ messages in thread
From: Mart Raudsepp @ 2020-08-15  6:32 UTC (permalink / raw
  To: gentoo-commits

commit:     726722241eb44c7471701d2cb11ab0b7f077b564
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 15 06:32:25 2020 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat Aug 15 06:32:25 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72672224

dev-util/umockdev: remove old

Package-Manager: Portage-2.3.103, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 dev-util/umockdev/Manifest                         |  2 -
 .../umockdev/files/umockdev-0.9.4-sysmacros.patch  | 20 ----------
 dev-util/umockdev/umockdev-0.11.3.ebuild           | 44 ----------------------
 dev-util/umockdev/umockdev-0.9.4.ebuild            | 34 -----------------
 4 files changed, 100 deletions(-)

diff --git a/dev-util/umockdev/Manifest b/dev-util/umockdev/Manifest
index 2ffad98ea21..976dbbd1c42 100644
--- a/dev-util/umockdev/Manifest
+++ b/dev-util/umockdev/Manifest
@@ -1,3 +1 @@
-DIST umockdev-0.11.3.tar.xz 753152 BLAKE2B 9f78d160a653ba2c56e97d1b331dfeecd4dd8f6642744849ec3eb85866e4cbce6399679a873b730beddfac2f4bd7572937df4a3db2440ec1bf929849f928bdc6 SHA512 e9086777bb13dbd79b629dc68555d19fb8799720dfc4548926b87d032d94212814cb9e1de10e26f5940a9b5db9a15f62a594f3baf0050ffb9ea30f1563db6d6c
 DIST umockdev-0.12.1.tar.xz 756920 BLAKE2B a8c1d9734f4c0a8e7f19405e011ce964efce6621b4886efead88e040bfe07d2f5a85f063977dfed1c8fb5a5bf4668024b6e687b688a9609cdba1db419518a8ac SHA512 a8995d09179c7d2d37d319f8e675fb15c3caa605c57b56cbb2e785088909d886e790864475feb82ab2b6eb2449038c636a06250d4f9eb8b28b38f0d80574824c
-DIST umockdev-0.9.4.tar.xz 754856 BLAKE2B 92182ee856e9432f02cf3a739c7af6f2220394eb4dd81ef6e2949380d124f70d9e34c3d3e49053af43794dd0f2ce0feed8be7366df2c9a06bebee9c52d24ba53 SHA512 c291d3f40a0ab366f14021aa0960852de049f4299a0207d93cec28d5961f3bc7f89448add6f7b35c1262d805d1d638837d4d5e6b734879ffb5910da50019e1cd

diff --git a/dev-util/umockdev/files/umockdev-0.9.4-sysmacros.patch b/dev-util/umockdev/files/umockdev-0.9.4-sysmacros.patch
deleted file mode 100644
index bfc8bc9ed53..00000000000
--- a/dev-util/umockdev/files/umockdev-0.9.4-sysmacros.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- umockdev-0.9.4/src/umockdev-record.c
-+++ umockdev-0.9.4/src/umockdev-record.c
-@@ -30,6 +30,7 @@
- #include <stdio.h>
- #include <stdarg.h>
- #include <sys/stat.h>
-+#include <sys/sysmacros.h>
- #include <errno.h>
- #include <sys/types.h>
- #include <glib/gstdio.h>
---- umockdev-0.9.4/tests/test-umockdev-vala.c
-+++ umockdev-0.9.4/tests/test-umockdev-vala.c
-@@ -36,6 +36,7 @@
- #include <unistd.h>
- #include <glib/gstdio.h>
- #include <sys/stat.h>
-+#include <sys/sysmacros.h>
- #include <gobject/gvaluecollector.h>
- 
- #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

diff --git a/dev-util/umockdev/umockdev-0.11.3.ebuild b/dev-util/umockdev/umockdev-0.11.3.ebuild
deleted file mode 100644
index edd87b90f8a..00000000000
--- a/dev-util/umockdev/umockdev-0.11.3.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python3_6 )
-
-inherit multilib-minimal python-any-r1
-
-DESCRIPTION="Mock hardware devices for creating unit tests"
-HOMEPAGE="https://github.com/martinpitt/umockdev/"
-SRC_URI="https://github.com/martinpitt/umockdev/releases/download/${PV}/${P}.tar.xz"
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+introspection static-libs test"
-
-RDEPEND="
-	virtual/libudev:=[${MULTILIB_USEDEP}]
-	>=dev-libs/glib-2.32:2[${MULTILIB_USEDEP}]
-"
-DEPEND="${RDEPEND}
-	test? ( ${PYTHON_DEPS} )
-	app-arch/xz-utils
-	>=dev-util/gtk-doc-am-1.14
-	virtual/pkgconfig
-"
-
-# Tests seem to hang forever
-RESTRICT="test"
-
-multilib_src_configure() {
-	local ECONF_SOURCE=${S}
-	econf \
-		--disable-gtk-doc \
-		$(multilib_native_use_enable introspection) \
-		$(use_enable static-libs static) \
-		VALAC="$(type -P true)"
-}
-
-multilib_src_install_all() {
-	einstalldocs
-	find "${D}" -name '*.la' -delete || die
-}

diff --git a/dev-util/umockdev/umockdev-0.9.4.ebuild b/dev-util/umockdev/umockdev-0.9.4.ebuild
deleted file mode 100644
index 4845f7ae319..00000000000
--- a/dev-util/umockdev/umockdev-0.9.4.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python3_6 )
-
-inherit python-any-r1
-
-DESCRIPTION="Mock hardware devices for creating unit tests"
-HOMEPAGE="https://github.com/martinpitt/umockdev/"
-SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.xz"
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="static-libs test"
-
-RDEPEND="dev-libs/libgudev:=
-	virtual/libudev:=
-	>=dev-libs/glib-2.32:2"
-DEPEND="${RDEPEND}
-	test? ( ${PYTHON_DEPS} )
-	app-arch/xz-utils
-	virtual/pkgconfig"
-
-RESTRICT="test"
-
-PATCHES=(
-	"${FILESDIR}"/${P}-sysmacros.patch #579988
-)
-
-src_configure() {
-	econf $(use_enable static-libs static)
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/umockdev/files/, dev-util/umockdev/
@ 2021-07-27  0:50 Matt Turner
  0 siblings, 0 replies; 5+ messages in thread
From: Matt Turner @ 2021-07-27  0:50 UTC (permalink / raw
  To: gentoo-commits

commit:     74b3fb71af8fd929503cd51c76b9d51ba361776f
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 27 00:48:47 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Jul 27 00:49:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74b3fb71

dev-util/umockdev: Apply patch to fix glibc-2.33 compatibility

Closes: https://bugs.gentoo.org/774267
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 ...lare-__xstat-prototypes-for-glibc-2.32.90.patch | 42 ++++++++++++++++++++++
 dev-util/umockdev/umockdev-0.12.1.ebuild           |  4 +++
 2 files changed, 46 insertions(+)

diff --git a/dev-util/umockdev/files/umockdev-0.12.1-preload-Declare-__xstat-prototypes-for-glibc-2.32.90.patch b/dev-util/umockdev/files/umockdev-0.12.1-preload-Declare-__xstat-prototypes-for-glibc-2.32.90.patch
new file mode 100644
index 00000000000..15f5ddbe99c
--- /dev/null
+++ b/dev-util/umockdev/files/umockdev-0.12.1-preload-Declare-__xstat-prototypes-for-glibc-2.32.90.patch
@@ -0,0 +1,42 @@
+From f1b416400479d861deffb4c5a40422dcdf190e85 Mon Sep 17 00:00:00 2001
+From: Martin Pitt <martin@piware.de>
+Date: Fri, 23 Oct 2020 14:58:50 +0200
+Subject: [PATCH] =?UTF-8?q?preload:=20Declare=20=5F=5Fxstat*()=20prototype?=
+ =?UTF-8?q?s=20for=20glibc=20=E2=89=A5=202.32.9000?=
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Recent glibc deprecated/dropped the `__xstat*()` family from the header
+files, so the build started to fail on "no previous prototype". However,
+umockdev still needs needs to keep the wrappers to run programs that got
+built against an earlier glibc.
+
+Thus declare the prototype explicitly. It should still fail to build if
+glibc defines it differently.
+
+Fixes #108
+---
+ src/libumockdev-preload.c | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/src/libumockdev-preload.c b/src/libumockdev-preload.c
+index 9328dc1..9bbec62 100644
+--- a/src/libumockdev-preload.c
++++ b/src/libumockdev-preload.c
+@@ -1215,8 +1215,11 @@ int prefix ## stat ## suffix (const char *path, struct stat ## suffix *st) \
+ 
+ /* wrapper template for __xstat family; note that we abuse the sticky bit in
+  * the emulated /dev to indicate a block device (the sticky bit has no
+- * real functionality for device nodes) */
++ * real functionality for device nodes)
++ * This family got deprecated/dropped in glibc 2.32.9000, but we still need
++ * to keep it for a while for programs that were built against previous versions */
+ #define WRAP_VERSTAT(prefix, suffix) \
++int prefix ## stat ## suffix (int ver, const char *path, struct stat ## suffix *st); \
+ int prefix ## stat ## suffix (int ver, const char *path, struct stat ## suffix *st) \
+ { \
+     const char *p;								\
+-- 
+2.31.1
+

diff --git a/dev-util/umockdev/umockdev-0.12.1.ebuild b/dev-util/umockdev/umockdev-0.12.1.ebuild
index e66cf61108d..e1f360c4d6e 100644
--- a/dev-util/umockdev/umockdev-0.12.1.ebuild
+++ b/dev-util/umockdev/umockdev-0.12.1.ebuild
@@ -34,6 +34,10 @@ DEPEND="${RDEPEND}
 # Tests seem to hang forever
 # RESTRICT="test"
 
+PATCHES=(
+	"${FILESDIR}"/${P}-preload-Declare-__xstat-prototypes-for-glibc-2.32.90.patch
+)
+
 pkg_setup() {
 	use test && python-any-r1_pkg_setup
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/umockdev/files/, dev-util/umockdev/
@ 2021-11-28 12:04 Andreas Sturmlechner
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas Sturmlechner @ 2021-11-28 12:04 UTC (permalink / raw
  To: gentoo-commits

commit:     b984690b5120262b132d653809e92e54e4f237d6
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 26 09:34:53 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Nov 28 12:04:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b984690b

dev-util/umockdev: Drop 0.12.1

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-util/umockdev/Manifest                         |  1 -
 ...lare-__xstat-prototypes-for-glibc-2.32.90.patch | 42 ----------------
 dev-util/umockdev/umockdev-0.12.1.ebuild           | 57 ----------------------
 3 files changed, 100 deletions(-)

diff --git a/dev-util/umockdev/Manifest b/dev-util/umockdev/Manifest
index 0ce3fdf45d72..dc53898428da 100644
--- a/dev-util/umockdev/Manifest
+++ b/dev-util/umockdev/Manifest
@@ -1,3 +1,2 @@
-DIST umockdev-0.12.1.tar.xz 756920 BLAKE2B a8c1d9734f4c0a8e7f19405e011ce964efce6621b4886efead88e040bfe07d2f5a85f063977dfed1c8fb5a5bf4668024b6e687b688a9609cdba1db419518a8ac SHA512 a8995d09179c7d2d37d319f8e675fb15c3caa605c57b56cbb2e785088909d886e790864475feb82ab2b6eb2449038c636a06250d4f9eb8b28b38f0d80574824c
 DIST umockdev-0.16.1.tar.xz 478308 BLAKE2B 3d49ca1d9c9b7573ac63f5f7ecd81071041597732b507619c333379095434ac55eb26f16bdf5897b94bbeb5c307a34b703accd220cd6202482e172dd3a6d1983 SHA512 baeaf05cc6b8d8e2a5cae16b808db759a18a969cea0f2ceed5f6c2521edc0c4c07dc16265a4821051de51f4314fd39d63ebf2da124fcd3e103ec743dadfedaa8
 DIST umockdev-0.16.2.tar.xz 478388 BLAKE2B 8fb2116ec7d48b238898052d959c596f4f91a65cf7b8292de8b8731e6fe50600282cb56093b8d6ca1afdc082a12c9af3c4a4f443283538ffb2aeae4c2b775596 SHA512 82020c068d5a158a762f865f4b25d1ee8596785a5b379c316c652004e1b1b9c533d4dad87818a490f89983a4c065f34e4ff5ca91360bac6d79b141dfa2139eea

diff --git a/dev-util/umockdev/files/umockdev-0.12.1-preload-Declare-__xstat-prototypes-for-glibc-2.32.90.patch b/dev-util/umockdev/files/umockdev-0.12.1-preload-Declare-__xstat-prototypes-for-glibc-2.32.90.patch
deleted file mode 100644
index 15f5ddbe99c0..000000000000
--- a/dev-util/umockdev/files/umockdev-0.12.1-preload-Declare-__xstat-prototypes-for-glibc-2.32.90.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From f1b416400479d861deffb4c5a40422dcdf190e85 Mon Sep 17 00:00:00 2001
-From: Martin Pitt <martin@piware.de>
-Date: Fri, 23 Oct 2020 14:58:50 +0200
-Subject: [PATCH] =?UTF-8?q?preload:=20Declare=20=5F=5Fxstat*()=20prototype?=
- =?UTF-8?q?s=20for=20glibc=20=E2=89=A5=202.32.9000?=
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Recent glibc deprecated/dropped the `__xstat*()` family from the header
-files, so the build started to fail on "no previous prototype". However,
-umockdev still needs needs to keep the wrappers to run programs that got
-built against an earlier glibc.
-
-Thus declare the prototype explicitly. It should still fail to build if
-glibc defines it differently.
-
-Fixes #108
----
- src/libumockdev-preload.c | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/src/libumockdev-preload.c b/src/libumockdev-preload.c
-index 9328dc1..9bbec62 100644
---- a/src/libumockdev-preload.c
-+++ b/src/libumockdev-preload.c
-@@ -1215,8 +1215,11 @@ int prefix ## stat ## suffix (const char *path, struct stat ## suffix *st) \
- 
- /* wrapper template for __xstat family; note that we abuse the sticky bit in
-  * the emulated /dev to indicate a block device (the sticky bit has no
-- * real functionality for device nodes) */
-+ * real functionality for device nodes)
-+ * This family got deprecated/dropped in glibc 2.32.9000, but we still need
-+ * to keep it for a while for programs that were built against previous versions */
- #define WRAP_VERSTAT(prefix, suffix) \
-+int prefix ## stat ## suffix (int ver, const char *path, struct stat ## suffix *st); \
- int prefix ## stat ## suffix (int ver, const char *path, struct stat ## suffix *st) \
- { \
-     const char *p;								\
--- 
-2.31.1
-

diff --git a/dev-util/umockdev/umockdev-0.12.1.ebuild b/dev-util/umockdev/umockdev-0.12.1.ebuild
deleted file mode 100644
index e1f360c4d6e0..000000000000
--- a/dev-util/umockdev/umockdev-0.12.1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit multilib-minimal python-any-r1
-
-DESCRIPTION="Mock hardware devices for creating unit tests"
-HOMEPAGE="https://github.com/martinpitt/umockdev/"
-SRC_URI="https://github.com/martinpitt/umockdev/releases/download/${PV}/${P}.tar.xz"
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 x86"
-IUSE="+introspection static-libs test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	virtual/libudev:=[${MULTILIB_USEDEP}]
-	>=dev-libs/glib-2.32:2[${MULTILIB_USEDEP}]
-	introspection? ( >=dev-libs/gobject-introspection-1.32:= )
-"
-DEPEND="${RDEPEND}
-	test? (
-		${PYTHON_DEPS}
-	)
-	app-arch/xz-utils
-	dev-libs/libgudev[${MULTILIB_USEDEP}]
-	>=dev-util/gtk-doc-am-1.14
-	virtual/pkgconfig
-"
-
-# Tests seem to hang forever
-# RESTRICT="test"
-
-PATCHES=(
-	"${FILESDIR}"/${P}-preload-Declare-__xstat-prototypes-for-glibc-2.32.90.patch
-)
-
-pkg_setup() {
-	use test && python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
-	local ECONF_SOURCE="${S}"
-	econf \
-		--disable-gtk-doc \
-		$(multilib_native_use_enable introspection) \
-		$(use_enable static-libs static) \
-		VALAC="$(type -P true)"
-}
-
-multilib_src_install_all() {
-	einstalldocs
-	find "${D}" -name '*.la' -delete || die
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/umockdev/files/, dev-util/umockdev/
@ 2024-11-01 16:07 Andreas K. Hüttel
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas K. Hüttel @ 2024-11-01 16:07 UTC (permalink / raw
  To: gentoo-commits

commit:     97086f92b56c65fd3a3e9da9355f26d07bf7b002
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  1 15:44:24 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Nov  1 16:07:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97086f92

dev-util/umockdev: drop 0.17.18, 0.18.1

Bug: https://bugs.gentoo.org/929077
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 dev-util/umockdev/Manifest                         |  2 -
 ...ckdev-0.17.18-vala-unused-variable-werror.patch | 22 --------
 dev-util/umockdev/umockdev-0.17.18.ebuild          | 63 ----------------------
 dev-util/umockdev/umockdev-0.18.1.ebuild           | 59 --------------------
 4 files changed, 146 deletions(-)

diff --git a/dev-util/umockdev/Manifest b/dev-util/umockdev/Manifest
index 4d55746f5fd1..c67ae4ebf176 100644
--- a/dev-util/umockdev/Manifest
+++ b/dev-util/umockdev/Manifest
@@ -1,3 +1 @@
-DIST umockdev-0.17.18.tar.xz 491668 BLAKE2B 106efc5674475383abb7618f087b3536441ae1fa30d6a92b689c1119ff62e06a20a6a529968f2b978f8ed410fc2033c95b86e214d4d4a576cdb9e68ee09a1853 SHA512 3d8d2487b4350e4ce28a5c163cbb1b92da9f5a5317e74da46ccaa62a6b8e938a6758e241d0dd2e9f50fdee4aef24d36585a24cfec1ad99fb4799a01008d9987b
-DIST umockdev-0.18.1.tar.xz 493816 BLAKE2B 314969269e8e5b70b65c89345b659cf2784eb71cfd2c010e8043cc38b6965dce0dcadac6ffab266f4b926e46bb0939d6c159ee17fbf341eed7a11f932a80a2ad SHA512 4897c12fca8d1927a2840efbbd8281a95102b328cc682ffed10cd4e29b80f26b80df55fbd3736297ee4633561b007beda369bd3ddf07eb71bdd1d7c0222243c8
 DIST umockdev-0.18.3.tar.xz 493724 BLAKE2B 989391474b7204a228a323244b75dc81992c69cd79a499ea701344311a890383eb6d589769df2006727c371757e4bf807831b9ccabde0fcbfd1b99054042fdc6 SHA512 565fedc4367b7896ac4fd9cee19d704d1f3f8b382c31069ceef81d0a0e8f3a38b775f28bd7a3652a7bb9c5cb62dd1f616ea81d7fc2ee7fda933bad44b32627d2

diff --git a/dev-util/umockdev/files/umockdev-0.17.18-vala-unused-variable-werror.patch b/dev-util/umockdev/files/umockdev-0.17.18-vala-unused-variable-werror.patch
deleted file mode 100644
index 69023f08e5e2..000000000000
--- a/dev-util/umockdev/files/umockdev-0.17.18-vala-unused-variable-werror.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-https://bugs.gentoo.org/919380
-
-Exposed by a change in Meson to stop inhibiting Vala warnings, e.g.
-```
-umockdev-record.p/src/umockdev-pcap.c: At top level:
-umockdev-record.p/src/umockdev-pcap.c:101:20: error: ‘umockdev_ioctl_usb_pcap_handler_properties’ defined but not used [-Werror=unused-variable]
-  101 | static GParamSpec* umockdev_ioctl_usb_pcap_handler_properties[UMOCKDEV_IOCTL_USB_PCAP_HANDLER_NUM_PROPERTIES];
-      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-```
-
-See https://github.com/mesonbuild/meson/commit/5f659af870011e74299d1455a65c2cd5f5ace51f.
---- a/meson.build
-+++ b/meson.build
-@@ -21,7 +21,7 @@ add_project_arguments(
-   '-Werror=format-security',
-   '-Werror=format=2',
-   #'-Werror=missing-include-dirs',
--  '-Werror=unused-variable',
-+  #'-Werror=unused-variable',
-   '-Werror=return-type',
-   '-Werror=uninitialized',
-   # experimental: first check this on all Debian architectures

diff --git a/dev-util/umockdev/umockdev-0.17.18.ebuild b/dev-util/umockdev/umockdev-0.17.18.ebuild
deleted file mode 100644
index 66769357f6b3..000000000000
--- a/dev-util/umockdev/umockdev-0.17.18.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit meson-multilib python-any-r1 vala
-
-if [[ ${PV} = 9999* ]]; then
-	EGIT_REPO_URI="https://github.com/martinpitt/${PN}.git"
-	inherit git-r3
-else
-	SRC_URI="https://github.com/martinpitt/umockdev/releases/download/${PV}/${P}.tar.xz"
-	KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-fi
-
-DESCRIPTION="Mock hardware devices for creating unit tests"
-HOMEPAGE="https://github.com/martinpitt/umockdev/"
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	net-libs/libpcap[${MULTILIB_USEDEP}]
-	virtual/libudev:=[${MULTILIB_USEDEP}]
-	>=dev-libs/glib-2.32:2[${MULTILIB_USEDEP}]
-	>=dev-libs/gobject-introspection-1.32:=
-"
-DEPEND="${RDEPEND}
-	test? (
-		${PYTHON_DEPS}
-		dev-libs/libgudev:=[${MULTILIB_USEDEP}]
-	)
-"
-BDEPEND="
-	$(vala_depend)
-	app-arch/xz-utils
-	virtual/pkgconfig
-"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-0.17.18-vala-unused-variable-werror.patch
-)
-
-pkg_setup() {
-	use test && python-any-r1_pkg_setup
-}
-
-src_prepare() {
-	default
-	vala_setup
-}
-
-multilib_src_configure() {
-	export VALAC="$(type -P valac-$(vala_best_api_version))"
-	meson_src_configure
-}
-
-multilib_src_test() {
-	meson_src_test --no-suite fails-valgrind
-}

diff --git a/dev-util/umockdev/umockdev-0.18.1.ebuild b/dev-util/umockdev/umockdev-0.18.1.ebuild
deleted file mode 100644
index 4a4ef163b950..000000000000
--- a/dev-util/umockdev/umockdev-0.18.1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit meson-multilib python-any-r1 vala
-
-if [[ ${PV} = 9999* ]]; then
-	EGIT_REPO_URI="https://github.com/martinpitt/${PN}.git"
-	inherit git-r3
-else
-	SRC_URI="https://github.com/martinpitt/umockdev/releases/download/${PV}/${P}.tar.xz"
-	KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-DESCRIPTION="Mock hardware devices for creating unit tests"
-HOMEPAGE="https://github.com/martinpitt/umockdev/"
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	net-libs/libpcap[${MULTILIB_USEDEP}]
-	virtual/libudev:=[${MULTILIB_USEDEP}]
-	>=dev-libs/glib-2.32:2[${MULTILIB_USEDEP}]
-	>=dev-libs/gobject-introspection-1.32:=
-"
-DEPEND="${RDEPEND}
-	test? (
-		${PYTHON_DEPS}
-		dev-libs/libgudev:=[${MULTILIB_USEDEP}]
-	)
-"
-BDEPEND="
-	$(vala_depend)
-	app-arch/xz-utils
-	virtual/pkgconfig
-"
-
-pkg_setup() {
-	use test && python-any-r1_pkg_setup
-}
-
-src_prepare() {
-	default
-	vala_setup
-}
-
-multilib_src_configure() {
-	export VALAC="$(type -P valac-$(vala_best_api_version))"
-	meson_src_configure
-}
-
-multilib_src_test() {
-	meson_src_test --no-suite fails-valgrind
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-11-01 16:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-28 12:04 [gentoo-commits] repo/gentoo:master commit in: dev-util/umockdev/files/, dev-util/umockdev/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2024-11-01 16:07 Andreas K. Hüttel
2021-07-27  0:50 Matt Turner
2020-08-15  6:32 Mart Raudsepp
2016-04-21  4:16 Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox