From patchwork Fri Jun 30 23:48:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 697991 Delivered-To: patch@linaro.org Received: by 2002:adf:fcc5:0:0:0:0:0 with SMTP id f5csp708748wrs; Fri, 30 Jun 2023 16:49:10 -0700 (PDT) X-Google-Smtp-Source: APBJJlGXI6uO21u0MGxRdI813GfLsOsxg62aNAnJWvVI22idjxWC5fOMDGcE8Ji9RPDTWHJyuT92 X-Received: by 2002:ad4:5c68:0:b0:62b:4590:78e4 with SMTP id i8-20020ad45c68000000b0062b459078e4mr5940348qvh.28.1688168950473; Fri, 30 Jun 2023 16:49:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688168950; cv=none; d=google.com; s=arc-20160816; b=VIuavvwesacigGgWVI7SRpY+lpV3UNIl+8ayeMwI+J5Fl+tX+g8J33uRtI9N9UeU9Z F1ZSGOqyT+2iU2EAxXpssZJL2n0w4AHCpI0LLuHKCyaHRVBR0vzUAebXIzPl92feRN6I DKnCMmysbm6SJ64AoRJ/IK8LwaMkrzyDeQxi67BimIlwU3/FDTySnS8iJtLGODvhDSkf cT7qnhRutx3m5/FQObAItihmRz5qsj/dMiY5iz0qQ2DNWXtHrLhAcSS2rb/xJO41vOFI aeUllIgkcwWf1MlBMQ9wHkNg0jNk+4M4lZcgbclM3hpbkxG1KsCJ2Aa+o9ScnbDtCKHR EAug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=lQFrS7Ghz3cV6Cm75wEKGdAk0LVI4QwFlhuNPN5Qtm8=; fh=JC5MaCigJay8rqEhmbfh5C9gPNIN2j503Cop5MoHQI0=; b=xmdO/qxvWzlPAYIKEdr1cdvF57qItzfx+JHwTFWH1vB/ZqY0TmQ4pW3P61J2UMAynF 0g+2yXxidT39OP9qVM2QssWwSoAOF6aaAS+3StTLkxZTMM4AVKIdOTn7jQHl53ookh03 8emyM/cmZ9VgoyBlfnWifJHc1ltQLayQuu9l/enFE+F5kb8xurIhIDRslKcNnJr226nx jH4/OlBJQB4oArM7L3yILgerAdm6UGr+WmKu1h8mAOcyEthxiIGINEbNufc8UMRj+k8b POJn4cLJhCO99rAlkEfv6a0cyReFAeSz9XKTSI37JHZBNnEE44cl3SwxeJ4DCTheHyEW DfMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hIsHFxGv; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id iw14-20020a0562140f2e00b006287d6a6befsi871827qvb.308.2023.06.30.16.49.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Jun 2023 16:49:10 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hIsHFxGv; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFNrJ-0003oQ-CX; Fri, 30 Jun 2023 19:49:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFNr6-0003mz-WA for qemu-devel@nongnu.org; Fri, 30 Jun 2023 19:48:49 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qFNr3-00011A-GU for qemu-devel@nongnu.org; Fri, 30 Jun 2023 19:48:48 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3fbc656873eso16206755e9.1 for ; Fri, 30 Jun 2023 16:48:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688168923; x=1690760923; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lQFrS7Ghz3cV6Cm75wEKGdAk0LVI4QwFlhuNPN5Qtm8=; b=hIsHFxGvy5jLrfGRwSJCl4b2HyBNOP2n2/sspevLTHFC+f8XfefNT4o9isON4L8ly3 UQMA79rSE5YKgmg00CQhcxU2HGM8OdqTXmTywqBpz62xpo/tzmN0ip3eFl+XpQI7I8YQ mwhCzZk8vv8iAseIX+nb7KZSwn0YlXHg0SvDleSeRVgMNu32sA8C1GQqvTdQBCPnJGNF b/nO4Zl4YUVeXVc2jxpFBaDA32SPnsUrM27lX5rGwPyEQQeY5uwWbT/m9PJ3qPl9Yjn6 bJXqpicuVccgVuUeUq/Mrz9f3mxPAXbjTNvbdy+WObxnhqags4F4lBz2q6Z0hUL9U00B Ccmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688168923; x=1690760923; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lQFrS7Ghz3cV6Cm75wEKGdAk0LVI4QwFlhuNPN5Qtm8=; b=g305QiWmNudEAnBUS3J00IzgoiGbHUJu6HR/5sMIpgwCsKLNXdt1r3Doi6lW/01Fhj oBsV00JOYg3aP7Z7oI55EjyQoyJ34vcbqg26tSIVZ/mCmCViMgauGRP5r5Kj/BBYHNiD AFDIb2ZXU0QbR0J4JpXEcLU4zX93tAxO0ocW0xVVY5LWa+nIPMj5tv2RZz2fuH0H+7Os qPVOpUcvWhcddKhfwiTbdC2XRB6+go+mUJzjK2Z0eOnb/Jtt8Cr+k75qkcPJ14t8HisD yh/zmTetEtz2a2evAiPft3nNFhDDijLO5xUpQhdAY3wIyH3ZH3oX1Lo9a385tKMfVXo3 UETA== X-Gm-Message-State: AC+VfDzrOuXhybb6meJv4ODzReqntI9xEMK5BGAg06AGBYQjGrcM+r8s uKX8mMsBywZDSQ2HCQbLBbHaMGrc0vmiUccTwg8= X-Received: by 2002:a7b:cd13:0:b0:3fb:4053:a9d5 with SMTP id f19-20020a7bcd13000000b003fb4053a9d5mr3926502wmj.25.1688168922780; Fri, 30 Jun 2023 16:48:42 -0700 (PDT) Received: from m1x-phil.lan ([176.187.211.104]) by smtp.gmail.com with ESMTPSA id n2-20020a05600c294200b003fa78d1055esm20175544wmd.21.2023.06.30.16.48.41 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 30 Jun 2023 16:48:42 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , BALATON Zoltan , Gerd Hoffmann , Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= , Frederic Bezies Subject: [PATCH] ui: Link dbus-display with pixman again Date: Sat, 1 Jul 2023 01:48:39 +0200 Message-Id: <20230630234839.14716-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=philmd@linaro.org; helo=mail-wm1-x329.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Since its introduction in commit 142ca628a7 ("ui: add a D-Bus display backend"), dbus_display1 depends on pixman. Unfortunatly the refactor commit 1222070e77 ("meson: ensure dbus-display generated code is built before other units") dropped that dependency. Recently commit 6cc5a6159a ("ui/dbus: win32 support") expose this problem: In file included from include/ui/console.h:4, from ui/dbus.h:31, from ../audio/dbusaudio.c:36: include/ui/qemu-pixman.h:12:10: fatal error: pixman.h: No such file or directory 12 | #include | ^~~~~~~~~~ Restore the missing dependency on pixman. Reported-by: Frederic Bezies Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1739 Fixes: 1222070e77 ("meson: ensure dbus-display generated code is built before other units") Signed-off-by: Philippe Mathieu-Daudé --- ui/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/meson.build b/ui/meson.build index d81609fb0e..cb178dd095 100644 --- a/ui/meson.build +++ b/ui/meson.build @@ -90,7 +90,7 @@ if dbus_display '--interface-prefix', 'org.qemu.', '--c-namespace', 'QemuDBus', '--generate-c-code', '@BASENAME@']) - dbus_display1_lib = static_library('dbus-display1', dbus_display1, dependencies: gio) + dbus_display1_lib = static_library('dbus-display1', dbus_display1, dependencies: [gio, pixman]) dbus_display1_dep = declare_dependency(link_with: dbus_display1_lib, include_directories: include_directories('.')) dbus_ss.add(when: [gio, pixman, dbus_display1_dep], if_true: [files(