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

Bug#973675: marked as done (mesa: Fix warnings for deprecated options)



Your message dated Tue, 10 Nov 2020 21:19:12 +0000
with message-id <E1kcb2m-0002aJ-70@fasolo.debian.org>
and subject line Bug#973675: fixed in mesa 20.2.2-1
has caused the Debian Bug report #973675,
regarding mesa: Fix warnings for deprecated options
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
973675: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973675
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: mesa
Version: 20.2.1-1

Attached is a patch that fixes a bunch of warnings about deprecated commands along the lines of:
 option "true" deprecated, please use "enabled" instead.
 option "false" deprecated, please use "disabled" instead.

Suspect that these changes will become mandatory in the future, so best to get the warnings sorted now.

Tested build on amd64.

Note: Doesn't seem to affect all options that take true/false, or at least the ones that affect amd64.

--
Stuart Young (aka Cefiar)
--- a/debian/rules	2020-11-03 06:03:30.000000000 +0000
+++ b/debian/rules	2020-11-03 06:01:29.350023534 +0000
@@ -34,7 +34,7 @@
 GALLIUM_DRIVERS =
 VULKAN_DRIVERS =
 
-confflags_DRI3 = -Ddri3=false
+confflags_DRI3 = -Ddri3=disabled
 
 # hurd doesn't do direct rendering
 ifeq ($(DEB_HOST_ARCH_OS), hurd)
@@ -42,7 +42,7 @@
 	EGL_PLATFORMS = x11
 
 	confflags_DIRECT_RENDERING = -Dglx-direct=false
-	confflags_GBM = -Dgbm=false
+	confflags_GBM = -Dgbm=disabled
 	confflags_OSMESA = -Dosmesa=classic
 else
 	DRI_DRIVERS += r200,r100
@@ -56,7 +56,7 @@
   endif
 
   ifeq ($(DEB_HOST_ARCH_OS), linux)
-	confflags_DRI3 = -Ddri3=true
+	confflags_DRI3 = -Ddri3=enabled
 	DRI_DRIVERS += ,nouveau
 	# Gallium drivers which require kernel support, not yet ported to non-Linux
 	GALLIUM_DRIVERS += ,nouveau,virgl
@@ -74,7 +74,7 @@
 	ifneq (,$(filter $(DEB_HOST_ARCH), amd64 i386 x32))
 		GALLIUM_DRIVERS += ,svga,zink
 		# svga needs xa state tracker
-		confflags_GALLIUM += -Dgallium-xa=true
+		confflags_GALLIUM += -Dgallium-xa=enabled
 		VULKAN_DRIVERS += ,intel
 	endif
 
@@ -82,7 +82,7 @@
 	EGL_PLATFORMS += ,wayland
 
 	ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armhf i386 mips64el mipsel powerpc ppc64 ppc64el s390x))
-		confflags_VALGRIND += -Dvalgrind=true
+		confflags_VALGRIND += -Dvalgrind=enabled
 	endif
   endif
 
@@ -96,7 +96,7 @@
   # It's also required for building OpenCL support.
   ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mips64el mipsel powerpc ppc64 ppc64el s390x sparc64))
 	GALLIUM_DRIVERS += ,radeonsi,swrast
-	confflags_GALLIUM += -Dllvm=true
+	confflags_GALLIUM += -Dllvm=enabled
 	confflags_GALLIUM += -Dgallium-opencl=icd
 	confflags_OSMESA = -Dosmesa=gallium
 
@@ -106,7 +106,7 @@
 	endif
   else
 	DRI_DRIVERS += ,swrast
-	confflags_GALLIUM += -Dllvm=false
+	confflags_GALLIUM += -Dllvm=disabled
 	confflags_OSMESA = -Dosmesa=classic
   endif
 
@@ -117,18 +117,18 @@
   endif
 
 	confflags_DIRECT_RENDERING = -Dglx-direct=true
-	confflags_GBM = -Dgbm=true
+	confflags_GBM = -Dgbm=enabled
 	confflags_GALLIUM += -Dgallium-extra-hud=true
-	confflags_GALLIUM += -Dgallium-vdpau=true
-	confflags_GALLIUM += -Dlmsensors=true
+	confflags_GALLIUM += -Dgallium-vdpau=enabled
+	confflags_GALLIUM += -Dlmsensors=enabled
 
   ifeq (,$(filter pkg.mesa.nolibva,$(DEB_BUILD_PROFILES)))
-        confflags_GALLIUM += -Dgallium-va=true
+        confflags_GALLIUM += -Dgallium-va=enabled
   endif
 endif
 
 confflags_EGL = -Dplatforms="$(EGL_PLATFORMS)"
-confflags_GLES = -Dgles1=false -Dgles2=true
+confflags_GLES = -Dgles1=disabled -Dgles2=enabled
 confflags_GALLIUM += -Dgallium-drivers="$(GALLIUM_DRIVERS)"
 
 confflags += \
@@ -137,8 +137,8 @@
 	-Ddri-search-path='/usr/lib/$(DEB_HOST_MULTIARCH)/dri:\$$$${ORIGIN}/dri:/usr/lib/dri' \
 	-Dvulkan-drivers="$(VULKAN_DRIVERS)" \
 	-Dglvnd=true \
-	-Dshared-glapi=true \
-	-Dgallium-xvmc=false \
+	-Dshared-glapi=enabled \
+	-Dgallium-xvmc=disabled \
 	-Dgallium-omx=disabled \
 	-Db_ndebug=true \
 	-Dbuild-tests=true \

--- End Message ---
--- Begin Message ---
Source: mesa
Source-Version: 20.2.2-1
Done: Timo Aaltonen <tjaalton@debian.org>

We believe that the bug you reported is fixed in the latest version of
mesa, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 973675@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Timo Aaltonen <tjaalton@debian.org> (supplier of updated mesa package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 10 Nov 2020 22:38:16 +0200
Source: mesa
Architecture: source
Version: 20.2.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Timo Aaltonen <tjaalton@debian.org>
Closes: 973673 973675
Changes:
 mesa (20.2.2-1) unstable; urgency=medium
 .
   * New upstream release.
   * control: Enable libdrm-dev for Hurd. (Closes: #973673)
   * rules: Rework EGL_PLATFORMS to match current upstream defaults.
   * rules: Fix warnings from deprecated options. (Closes: #973675)
Checksums-Sha1:
 22ad7302c7b96cecc8584bcc47686bbb7d4df470 5477 mesa_20.2.2-1.dsc
 3f6b8137611e31962a0e43c6aa8ac97969def31c 21185051 mesa_20.2.2.orig.tar.gz
 465086793d299dceb3171d0ba073def791a48f85 107385 mesa_20.2.2-1.diff.gz
 cddf62fe6d15784da0b92efb96065196efc8b1c9 9727 mesa_20.2.2-1_source.buildinfo
Checksums-Sha256:
 f761971218ccc32a64d5b6ee394f429726ebdd910d9682308aa88d4d409cb1dd 5477 mesa_20.2.2-1.dsc
 590e5518db25e427e107064e64c06582f36a48d9bba246980ff49337ef1e8ffd 21185051 mesa_20.2.2.orig.tar.gz
 7bdcf8f5631b7f7bd08233148940ee3cad06c085b305aa2ce1ad24b0fbe52a0b 107385 mesa_20.2.2-1.diff.gz
 35ed5567e71ed07ca161dc012adf5194fc22463f619269c131a04f3399f1eea4 9727 mesa_20.2.2-1_source.buildinfo
Files:
 a77673932d28ca751e7368623c921b18 5477 graphics optional mesa_20.2.2-1.dsc
 3b77ba4eb5eee73ccea66a6bf4923cfa 21185051 graphics optional mesa_20.2.2.orig.tar.gz
 1eaaef3757937dfc4b8a408bc7a1f027 107385 graphics optional mesa_20.2.2-1.diff.gz
 e2302d3d4d3cbdfdf0ee85461d2d57ed 9727 graphics optional mesa_20.2.2-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEdS3ifE3rFwGbS2Yjy3AxZaiJhNwFAl+q+ygACgkQy3AxZaiJ
hNy87Q/8DJcEfoDJHCTTq9U99p4Bx4zi/z9LLXAjYKINV58OxIPU/DIdJwRWK/+S
zcSkFqhAsp2GP16x6q7XkI/ApNokBmtJXQaYTyt3zklXUz62rJhzBOCF0g2vFc/b
2zgs0hQITw2xq0KaxXJDcxfLBDwP1oPJKqG/OunidjGY/XfBUA6021V0+OHsRBHD
3xOuLWC8RWXJF0lqWZo6SU3yUGCHu68fv5fOccEbIGzxLvaQHjwj+d3kzoNbDHz/
yoyRnAUdg+OVt5GzJMbQ7wrii757UAFi4U1DAlLzyWxXg0CVWxOGMCI45Uwive9C
ZPcBQcNaoLK9absrWStma9NLZz4/ZTrPkUHfI5eCordW8UnxZYFBz0DprntiKG5P
4WEbqizHOPelktVViyxe12DwtqcCn5zC3nJSwG0iY+viE/33RQ3rwlfvuETiLW1P
fer5lqStJr7QHCPMPs/6aN6AIdTbvzS5b9jS4SRmJwTHdVidJFbksCTUVj/Mk+Zo
8vcQPcUro/27hxA6MhlURlyrrygv7ENK9GX2Y6OSrrHwF4y9JZMI6T8t0PiN4r25
V1yi1OttEgF7saCP0BxNUBDi79UI2jHy3YQcDAmihlSxNkZF966UMfcWd5Bfy9G6
8GhiZMHdrjDelEMN0tjcMSKkrUx8Elp4pOEiS1p4esg/X3N3n7A=
=Ib2l
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: