[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#952998: weston: change dependency to libegl1-mesa by libegl1?



Control: tags -1 + patch

On Mon, 02 Mar 2020 at 20:37:15 +0100, Patrice Duroux wrote:
> I think that libegl1-mesa is a transitional dummy package for some time. May be
> it could be replaced by a non transitional one now which should be libegl1,
> isn't it?

weston is one of only a few packages still depending on the libegl1-mesa,
libgles2-mesa and libwayland-egl1-mesa transitional packages. I think the
attached patch is correct?

(Or if the dependencies generated by dpkg-shlibdeps are sufficient, use
those instead of hard-coding libraries.)

    smcv
>From 3669640e77cb457df4665d6114d3963f62e46e6c Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@debian.org>
Date: Mon, 4 Oct 2021 19:45:38 +0100
Subject: [PATCH] Replace transitional package dependencies with their modern
 equivalents

Closes: #952998
---
 debian/control | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 1b774f11..54e26f63 100644
--- a/debian/control
+++ b/debian/control
@@ -56,9 +56,9 @@ Vcs-Browser: https://salsa.debian.org/xorg-team/wayland/weston
 Package: weston
 Architecture: linux-any
 Depends: adduser,
-         libegl1-mesa (>= 8.0-2) | libegl1-x11,
-         libgles2-mesa (>= 8.0-2) | libgles2,
-         libwayland-egl1-mesa (>= 10.1.0-2) | libwayland-egl1,
+         libegl1,
+         libgles2,
+         libwayland-egl1,
          ${misc:Depends},
          ${shlibs:Depends}
 Breaks: libweston-8-dev
-- 
2.33.0


Reply to: