From patchwork Sun Apr 5 12:03:54 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 9610 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4fpWP322lWz3wjT for ; Sun, 05 Apr 2026 12:05:11 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "E7" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4fpWP26PFtz5yp for ; Sun, 05 Apr 2026 12:05:10 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4fpWN81jJyz37Gx for ; Sun, 05 Apr 2026 12:04:24 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4fpWMw7014z377W for ; Sun, 05 Apr 2026 12:04:12 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4fpWMt673Tz76W; Sun, 05 Apr 2026 12:04:10 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1775390651; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pWb0/N5NXAChdyVEuaBHQ87qmQ2EpNkEYk6Ig40n8Qo=; b=aTCQUtKNoPIaHpBR85b8f5ZGxq6UKw+SNtpyNxikf+z3AQhhp30NT6fTi4zaj/n2c07AhM nxm13KfXHoNwKKAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1775390651; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pWb0/N5NXAChdyVEuaBHQ87qmQ2EpNkEYk6Ig40n8Qo=; b=wJgnAC/fsH4YbSLtAcHyS/F0GNRKsawyYo/l5a/Ysku1Lfs046sDm9tTUfbO3eDTCxGj53 u7We5oRG6sHk8IejN9OwSiGWNf9347XatVcTai1aMEN5niumhWXWFOTX3NLDr7oOttvodQ o3gSHsZ8Uw5Szjan+YTdXWYd3729R1HhXmUY7Tlxa78q7Zj/0XZo7Ob7T6ElqjJLstzGWF XbBE1pXxcZzwhsz079T+tNzGYPFYjvQVEfHP1gM27u38YfJByiat00XwZJyG4SR5aRbmM0 tlYAPOknNjyOWdu5doWkL5yKmXZe7vTMzdIR+wWabVK69lEA/9ZBgPqIS9s6vw== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] libpciaccess: Update to version 0.19 Date: Sun, 5 Apr 2026 14:03:54 +0200 Message-ID: <20260405120354.137211-37-adolf.belka@ipfire.org> In-Reply-To: <20260405120354.137211-1-adolf.belka@ipfire.org> References: <20260405120354.137211-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - Update from version 0.17 to 0.19 - No change to rootfile - Build process has been changed from autotools to meson - Changelog 0.19 This release adds a new pci_device_is_boot_display() API, with support currently implemented only for Linux systems using sysfs. It also adds a -Dinstall-scanpci option to the meson configuration for those who want to install this version of scanpci. In addition, it corrects build issues on FreeBSD 15 and DragonFly, and fixes a long-standing bug if there were multiple users of libpciaccess in the same process and one called pci_system_cleanup before the others were done using pciaccess. Improve man page formatting meson: Add -Dinstall-scanpci option, defaulting to false gitlab CI: drop the ci-fairy check-mr job common_vgaarb: Fix -Wtautological-constant-out-of-range-compare warning Fix compilation on DragonFly vgaarb: Check snprintf return value trivial: allow forks to run CI Add support for reading 'boot_display' attribute include: Avoid redefining __deprecated macro Make pci_system_{init,cleanup} use reference counting 0.18.1 This release fixes the meson.build to honor meson's -Ddefault_library={shared,static,both} flag to control which types of library are built, instead of always forcing the build of only a shared library. meson: allow building static library, not just shared 0.18 Since no complaints were received about the added meson build system in the 0.17 release (October 2022), the autoconf build system has been removed in this release. Remove "All rights reserved" from Oracle copyright notices Try fopen(".../pci.ids", "re") on Solarish systems as well Remove autotools build gitlab-ci: use `meson setup` gitlab-ci: don't bother to configure meson for the version check gitlab-ci: remove unnecessary call to `meson configure` FreeBSD: Fallback to /usr/share/misc/pci_vendors FreeBSD: Remove sparc64 code Fix compilation warnings when building against hurd-amd64. linux_sysfs: Use pwrite/pread instead of 64bit versions Signed-off-by: Adolf Belka --- lfs/libpciaccess | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/lfs/libpciaccess b/lfs/libpciaccess index 576c722f9..ced6cd532 100644 --- a/lfs/libpciaccess +++ b/lfs/libpciaccess @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2022 IPFire Team # +# Copyright (C) 2007-2026 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -26,7 +26,7 @@ include Config SUMMARY = Generic PCI access library -VER = 0.17 +VER = 0.19 THISAPP = libpciaccess-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = libpciaccess -PAK_VER = 3 +PAK_VER = 4 DEPS = @@ -48,7 +48,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 41539b3d6385fe7c42b562c7602f87b07730bbbeea7d65d3cc8e5af974ed5f9985b0779d51891493dd241a36bb171a3744e3b1f3fd30bee8a19bb5bd785f4c5f +$(DL_FILE)_BLAKE2 = b39b99aa4a5e0190cfc4f94c26180849949dfcc5d21ad4b575041beda307c119d72b9020ab39b7183fb8caf4774333f3c76df0e487011c61ae5858e55abc7284 install : $(TARGET) check : $(patsubst %,$(DIR_CHK)/%,$(objects)) @@ -80,8 +80,11 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && ./configure --prefix=/usr - cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE) - cd $(DIR_APP) && make install + $(UPDATE_AUTOMAKE) + cd $(DIR_APP) && meson setup \ + --prefix=/usr \ + builddir/ + cd $(DIR_APP) && ninja -C builddir/ $(MAKETUNING) + cd $(DIR_APP) && ninja -C builddir/ install @rm -rf $(DIR_APP) @$(POSTBUILD)