From: Adolf Belka Date: Sun, 5 Apr 2026 12:03:54 +0000 (+0200) Subject: libpciaccess: Update to version 0.19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5ac36d9b514a2ed0dc727da57efe7d99384ec2f;p=ipfire-2.x.git libpciaccess: Update to version 0.19 - 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 Signed-off-by: Michael Tremer --- 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)