linux-qubasis
linux oasis port as a qubes template
git clone https://9o.is/git/linux-qubasis.git
commit 8ca0164047fef9ed1bff19d4800e79c972aa16f3 parent b7d276786bafce6c6361d427aa5b5449ba1a56c8 Author: Jul <jul@9o.is> Date: Thu, 27 Nov 2025 12:32:39 -0500 add libpciaccess Diffstat:
| M | .gitmodules | | | 4 | ++++ |
| M | pkg/gen.sh | | | 1 | + |
| A | pkg/libpciaccess/config.h | | | 7 | +++++++ |
| A | pkg/libpciaccess/gen.sh | | | 28 | ++++++++++++++++++++++++++++ |
4 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/.gitmodules b/.gitmodules @@ -46,6 +46,10 @@ path = pkg/libinput/src url = https://github.com/oasislinux/libinput ignore = all +[submodule "libpciaccess"] + path = pkg/libpciaccess/src + url = https://gitlab.freedesktop.org/xorg/lib/libpciaccess.git + ignore = all [submodule "libpng"] path = pkg/libpng/src url = https://github.com/glennrp/libpng diff --git a/pkg/gen.sh b/pkg/gen.sh @@ -27,6 +27,7 @@ pkg fzy pkg less pkg libevdev pkg libinput +pkg libpciaccess pkg libpng pkg libtermkey pkg libtls-bearssl diff --git a/pkg/libpciaccess/config.h b/pkg/libpciaccess/config.h @@ -0,0 +1,7 @@ +#define HAVE_ERR_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_MTRR 1 +#define HAVE_STDINT_H 1 +#define HAVE_STRINGS_H 1 +#define HAVE_STRING_H 1 +#define PCIIDS_PATH "/share/hwdata" diff --git a/pkg/libpciaccess/gen.sh b/pkg/libpciaccess/gen.sh @@ -0,0 +1,28 @@ +git libpciaccess-0.18 + +cflags " + -DHAVE_CONFIG_H + -I$dir + -I$srcdir/include + -Wno-pedantic + -Wno-unused-parameter + -Wno-type-limits + -Wno-deprecated-declarations + -Wno-missing-field-initializers +" + +include include/pciaccess.h + +lib libpciaccess.a --src-prefix src " + common_bridge.c + common_capability.c + common_device_name.c + common_init.c + common_interface.c + common_io.c + common_iterator.c + common_map.c + common_vgaarb.c + linux_devmem.c + linux_sysfs.c +"