From nobody Sun May 5 07:17:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=quarantine dis=quarantine) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1614639691; cv=none; d=zohomail.com; s=zohoarc; b=POLGcmmUotTNxVM/UE2btNyKlOcx6zLfjtwmGRofLqJxjtG53zy/laP5CV/ld9ZfZypKJTwdLuVsa0FiVsnTxlyK1gunUcOF7dKUQgwhv/BJlC+jpXU/emMf29zj6OU10xgUyjhiBmiNNE5crfEnyR4wouRw6tnhhfWbvqWB8k8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1614639691; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=iVpj/yKdR6GERKMTtSWhXjwTITs8KuR7nvUCDkT0cOw=; b=hOFez8OT+hy7sxg9aT+/KMjhGGfGvbZgxzZGyYNXyVID+jUIOs6TMLD06snnC9ozfKwJRFUsUFRDpk5RADGha+YqVL/MgNS8sVt40p+JnDwEbl2Xfpe5ANyviRm/Dpak7zkmbADO9LHZPKcuBSm7DzFjBG3UeTSZiq7GSQYdjbc= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=quarantine dis=quarantine) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1614639691462157.27481113873614; Mon, 1 Mar 2021 15:01:31 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-473-ZzKNQ0qVOMSsDcSswOilHw-1; Mon, 01 Mar 2021 18:01:27 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 95D9B1005501; Mon, 1 Mar 2021 23:01:21 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 343FA1002393; Mon, 1 Mar 2021 23:01:21 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 446B318095CB; Mon, 1 Mar 2021 23:01:20 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 121N1IkU011374 for ; Mon, 1 Mar 2021 18:01:18 -0500 Received: by smtp.corp.redhat.com (Postfix) id A22F82026D13; Mon, 1 Mar 2021 23:01:18 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast01.extmail.prod.ext.rdu2.redhat.com [10.11.55.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9C1682026D48 for ; Mon, 1 Mar 2021 23:01:16 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 15CE385A5A6 for ; Mon, 1 Mar 2021 23:01:16 +0000 (UTC) Received: from de-smtp-delivery-102.mimecast.com (de-smtp-delivery-102.mimecast.com [62.140.7.102]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-573-7XCtd8-zMzSSZmyN-DeHmw-1; Mon, 01 Mar 2021 18:01:13 -0500 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05lp2112.outbound.protection.outlook.com [104.47.18.112]) (Using TLS) by relay.mimecast.com with ESMTP id de-mta-26-w9hhIiQeOve3FPB4sNSxSw-1; Tue, 02 Mar 2021 00:01:11 +0100 Received: from AS8PR04MB7976.eurprd04.prod.outlook.com (2603:10a6:20b:2af::18) by AM6PR0402MB3478.eurprd04.prod.outlook.com (2603:10a6:209:11::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.27; Mon, 1 Mar 2021 23:01:10 +0000 Received: from AS8PR04MB7976.eurprd04.prod.outlook.com ([fe80::ed5c:d17d:4b3d:aa32]) by AS8PR04MB7976.eurprd04.prod.outlook.com ([fe80::ed5c:d17d:4b3d:aa32%3]) with mapi id 15.20.3890.028; Mon, 1 Mar 2021 23:01:10 +0000 Received: from linux-tbji.devlab.prv.suse.com (75.169.34.2) by AM0PR03CA0089.eurprd03.prod.outlook.com (2603:10a6:208:69::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.19 via Frontend Transport; Mon, 1 Mar 2021 23:01:09 +0000 X-MC-Unique: ZzKNQ0qVOMSsDcSswOilHw-1 X-MC-Unique: 7XCtd8-zMzSSZmyN-DeHmw-1 X-MC-Unique: w9hhIiQeOve3FPB4sNSxSw-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH] build: Require glib >= 2.56 Date: Mon, 1 Mar 2021 16:00:47 -0700 Message-ID: <20210301230047.22811-1-jfehlig@suse.com> X-Originating-IP: [75.169.34.2] X-ClientProxiedBy: AM0PR03CA0089.eurprd03.prod.outlook.com (2603:10a6:208:69::30) To AS8PR04MB7976.eurprd04.prod.outlook.com (2603:10a6:20b:2af::18) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 92840af4-4627-4a58-f919-08d8dd05e76a X-MS-TrafficTypeDiagnostic: AM6PR0402MB3478: X-MS-Exchange-MinimumUrlDomainAge: gnome.org#8622 X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3826 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: aikN1xPofibXqEo/v0vkfVNSscipZ4Pa/4toEdgW8hcBdn0gexqmlbtXg3ZdU8TDSl9w0wb2UdRAQtMRWVw/cBTvR1BxhvuVr8llmVn7kieU5ifsf/517hl0ecbek2sk71m+Wb3Z3vIaPiInrXk1vruFC/a5xT0kkP9Tz38y9XRxysJY+cRkBOMS6Uv7nTdm8z4/gj5JjxzOXsQbcZ+fEEw3R8eZQkLY7mxIpBKrp9t8LdUWly8qHOhdoZicz0HpsOxKAAK3ZXjWgueaeppz276eIh03ubHQEoNJqYppWrCswTg9JSIHkApQpK+VQ76MNPa6cFttGfpe10BRmBuL9vDppIkJ9GXz00OSGv7qUHSLU7BTYPG3RH9b7YGIUSxKvBe+n5Oz9kuK/xuOV8gYK7YbAeVFyRugPgM3zHxEmRIeCRoJPQTzj1F68UMJN01b8e0SlWPhqOnxq0W07wSkXHzIq79LgAUdBp2/DtFRA2ZT4yUTnIcwnqdwoqZTm8ctu22I5ep7gM+uJTKKqVYc33MUfGTtaaD+1dA7z9gdUoDJ3BbFHj4nKr5vAqeu15l5PH9+Acf2foKBxzFw/EkChBKCWpPdCAuLWB+lyfrRKPU= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB7976.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(136003)(346002)(396003)(366004)(376002)(5660300002)(107886003)(2616005)(2906002)(1076003)(36756003)(6486002)(6666004)(956004)(66476007)(66556008)(4326008)(66946007)(6916009)(8676002)(7696005)(478600001)(186003)(86362001)(966005)(16526019)(26005)(8936002)(52116002)(83380400001)(316002); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?V7PvK0Mx8y4WVcgcGxhQ7pprPcAHIeqp7WrbG3zy2Ie6nUKZGdeEpxnSaW28?= =?us-ascii?Q?SFWDo3BpciGjZGJogNRcA4+H6y5Cwee8w92TJizUidSmEmDhpZho/rVZznne?= =?us-ascii?Q?Qnmtbq4sqQE0UOvkAR2WYn053iId+hviXGQ0jYvs+tNY+N0JA8YavYo28er0?= =?us-ascii?Q?uiEmDjswJaTQWSRRzV+sZNYMyZquSUo47DDOKZvjRbKRKGe7Znwr8iiqEyCI?= =?us-ascii?Q?PpHiczZfHqSPep1k87Z2ngvhysKnYNze/cAKUPTKIlZ1eewsrchcX6+P9pyp?= =?us-ascii?Q?AJJWdJFXeKaz2s+uqMGNe1lj/7n4VX51i87b7r57SqK/q6lCWGaF8tmpGYVU?= =?us-ascii?Q?zSAjj9CRYLzOOfizZ5dkyBQLC8fxVhG/H+fLN1hgIihspHvl7X5uAlKAOYOX?= =?us-ascii?Q?FTpMmiia7nAlZ+v7v5w+Yjrs1DtGCNI8dk/BTTCJjpBwy0iwZClHGP3bMPiB?= =?us-ascii?Q?5uvYqmPRcQywvogmkixuWbdwQGXxhUHvbmgijexiS4Ncd9JcvIKOyvuJ3vqP?= =?us-ascii?Q?sy0Tc7fwzj5HyHsqDt4fz0NMGIkVQ7CE9V5Pwgf1U84bxL7hA62KQQ6A9KXd?= =?us-ascii?Q?XrQT+JnXd+yM+luLullCxIumTVuoyB98G3csL0jyaAUrEWf8jFAdG5Ul7czI?= =?us-ascii?Q?uMPtMWHSXA8sHFCiOxWjRLyA3ge183zNtqIGgsBjZ7iz8a64ewY+C/uaXEQF?= =?us-ascii?Q?b2GRtJCxNAeSgzYK92TwUNHlIV3ktLB5keBAY94TxiLa8E8QgI7OCK+dUypV?= =?us-ascii?Q?tsmN/Zr4U2OyN/MKKJKIRuY+EBHvbM/7NzWoFLkji7ObVVv8oMsKe0ICIuG5?= =?us-ascii?Q?jJSCpjQwJaY6jgkYRn8tTYTeSQfOM7VPSVIENTuHvAUkolgJOMpx11u4MVjy?= =?us-ascii?Q?0FC7QKdVTxtzW/jIHaCJq6aCAa9p8/WufY5H3Ui9Q4gUOfgThTkm73fYRJVx?= =?us-ascii?Q?UHlKWpYwPheGB2cOdktDXr2+UUwMGVy12kBXBoEch55EfonyoPur6QrXnawM?= =?us-ascii?Q?r3yMSWRpc3saTumKFGGyUx4FQ2IjmD/nPV49kc2OJahhcNXJLHoMj3WsPfTJ?= =?us-ascii?Q?2/GLbxUh6w4U+l0AUuZvdu0iKMvrVmMQK+vtEqsEt1s84OjpWWv1dyD3rPEw?= =?us-ascii?Q?nUTmQH18YG2rIBLRwOsMVSQTRaHvQqVoci9Isy3E3ZuBMu3XAN533omlzTLV?= =?us-ascii?Q?XC1jkiqbjYl3z16W2ohsS+YTgxozxDKQUhLPEMyNweUCVnwXvVrN7slV0NHT?= =?us-ascii?Q?iptHnppIHljXVOL7BfT4NrZIv1Sv3azw/a94oTudK0qQ0bOw1JEJ5TTV61NC?= =?us-ascii?Q?7rPGxRMcoKdEK3O+6zxoc7J/?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 92840af4-4627-4a58-f919-08d8dd05e76a X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB7976.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2021 23:01:10.2765 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: e5ij13FvYR1ZD37pkWs9dqf1CHArdsiHFQ5zN7EB18TfNeYUNXReK8/pKc/RwDWhKEp5IN7BmqN1fI7NnPwdEQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3478 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-MIME-Autoconverted: from quoted-printable to 8bit by lists01.pubmisc.prod.ext.phx2.redhat.com id 121N1IkU011374 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" There are a few uses of g_autoslist in the qemu driver and likely more will come throughout the codebase in the future. g_autoslist first appeared in glib 2.56, so bump the minimum version. https://developer.gnome.org/glib/stable/glib-Miscellaneous-Macros.html#g-au= toslist Signed-off-by: Jim Fehlig Reviewed-by: Andrea Bolognani Reviewed-by: Pavel Hrdina --- libvirt.spec.in | 2 +- meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 29b476184d..8d8b900fbb 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -278,7 +278,7 @@ BuildRequires: systemd-units %if %{with_libxl} BuildRequires: xen-devel %endif -BuildRequires: glib2-devel >=3D 2.48 +BuildRequires: glib2-devel >=3D 2.56 BuildRequires: libxml2-devel BuildRequires: libxslt BuildRequires: readline-devel diff --git a/meson.build b/meson.build index daa1475c99..c225df42d4 100644 --- a/meson.build +++ b/meson.build @@ -1038,7 +1038,7 @@ if fuse_dep.found() conf.set('WITH_FUSE', 1) endif =20 -glib_version =3D '2.48.0' +glib_version =3D '2.56.0' glib_dep =3D dependency('glib-2.0', version: '>=3D' + glib_version) gobject_dep =3D dependency('gobject-2.0', version: '>=3D' + glib_version) if host_machine.system() =3D=3D 'windows' --=20 2.29.2