notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details on branch 2024Q1
libdrm Direct Rendering Manager library and headers
2.4.120_1,1 graphics on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.4.120_1,1Version of this port present on the latest quarterly branch.
Maintainer: x11@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-02-01 09:33:20
Last Update: 2024-02-01 15:09:47
Commit Hash: 2f87c58
License: MIT
WWW:
https://dri.freedesktop.org/
Description:
This is libdrm, a userspace library for accessing the DRM, direct rendering manager, on Linux, BSD and other operating systems that support the ioctl interface. The library provides wrapper functions for the ioctls to avoid exposing the kernel interface directly, and for chipsets with drm memory manager, support for tracking relocations and buffers. New functionality in the kernel DRM drivers typically requires a new libdrm, but a new libdrm will always work with an older kernel. libdrm is a low-level library, typically used by graphics drivers such as the Mesa drivers, the X drivers, libva and similar projects.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (71 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libdrm-2.4.120_1,1/catalog.mk
  3. /usr/local/share/licenses/libdrm-2.4.120_1,1/LICENSE
  4. /usr/local/share/licenses/libdrm-2.4.120_1,1/MIT
  5. @comment bin/amdgpu_stress
  6. @comment bin/drmdevice
  7. @comment bin/modeprint
  8. @comment bin/modetest
  9. @comment bin/proptest
  10. @comment bin/vbltest
  11. include/libdrm/amdgpu.h
  12. include/libdrm/amdgpu_drm.h
  13. include/libdrm/drm.h
  14. include/libdrm/drm_fourcc.h
  15. include/libdrm/drm_mode.h
  16. include/libdrm/drm_sarea.h
  17. include/libdrm/i915_drm.h
  18. include/libdrm/intel_aub.h
  19. include/libdrm/intel_bufmgr.h
  20. include/libdrm/intel_debug.h
  21. include/libdrm/mach64_drm.h
  22. include/libdrm/mga_drm.h
  23. include/libdrm/msm_drm.h
  24. include/libdrm/nouveau_drm.h
  25. include/libdrm/qxl_drm.h
  26. include/libdrm/r128_drm.h
  27. include/libdrm/r600_pci_ids.h
  28. include/libdrm/radeon_bo.h
  29. include/libdrm/radeon_bo_gem.h
  30. include/libdrm/radeon_bo_int.h
  31. include/libdrm/radeon_cs.h
  32. include/libdrm/radeon_cs_gem.h
  33. include/libdrm/radeon_cs_int.h
  34. include/libdrm/radeon_drm.h
  35. include/libdrm/radeon_surface.h
  36. include/libdrm/savage_drm.h
  37. include/libdrm/sis_drm.h
  38. include/libdrm/tegra_drm.h
  39. include/libdrm/vc4_drm.h
  40. include/libdrm/via_drm.h
  41. include/libdrm/virtgpu_drm.h
  42. include/libdrm/vmwgfx_drm.h
  43. include/libsync.h
  44. include/xf86drm.h
  45. include/xf86drmMode.h
  46. lib/libdrm.so
  47. lib/libdrm.so.2
  48. lib/libdrm.so.2.4.0
  49. lib/libdrm_amdgpu.so
  50. lib/libdrm_amdgpu.so.1
  51. lib/libdrm_amdgpu.so.1.0.0
  52. lib/libdrm_intel.so
  53. lib/libdrm_intel.so.1
  54. lib/libdrm_intel.so.1.0.0
  55. lib/libdrm_radeon.so
  56. lib/libdrm_radeon.so.1
  57. lib/libdrm_radeon.so.1.0.1
  58. libdata/pkgconfig/libdrm.pc
  59. libdata/pkgconfig/libdrm_amdgpu.pc
  60. libdata/pkgconfig/libdrm_intel.pc
  61. libdata/pkgconfig/libdrm_radeon.pc
  62. man/man3/drmAvailable.3.gz
  63. man/man3/drmHandleEvent.3.gz
  64. man/man3/drmModeGetResources.3.gz
  65. man/man7/drm-kms.7.gz
  66. man/man7/drm-memory.7.gz
  67. man/man7/drm.7.gz
  68. share/libdrm/amdgpu.ids
  69. @owner
  70. @group
  71. @mode
Collapse this list.
Dependency lines:
  • libdrm>0:graphics/libdrm
To install the port:
cd /usr/ports/graphics/libdrm/ && make install clean
To add the package, run one of these commands:
  • pkg install graphics/libdrm
  • pkg install libdrm
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: libdrm
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1705139779 SHA256 (libdrm-2.4.120.tar.xz) = 3bf55363f76c7250946441ab51d3a6cc0ae518055c0ff017324ab76cdefb327a SIZE (libdrm-2.4.120.tar.xz) = 479564

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. rst2man : textproc/py-docutils
  2. meson : devel/meson
  3. ninja : devel/ninja
  4. pkgconf>=1.3.0_1 : devel/pkgconf
Library dependencies:
  1. libpciaccess.so : devel/libpciaccess
This port is required by:
for Build
  1. net/neatvnc
for Libraries
  1. devel/electron25
  2. devel/electron26
  3. devel/electron27
  4. devel/qt6-base
  5. graphics/mesa-devel
  6. mail/thunderbird
  7. multimedia/kodi
Expand this list (22 items / 15 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. multimedia/wl-screenrec
  3. net/neatvnc
  4. www/chromium
  5. www/firefox
  6. www/firefox-esr
  7. www/iridium
  8. www/qt6-webengine
  9. www/ungoogled-chromium
  10. x11/xdg-desktop-portal-hyprland
  11. x11/xdg-desktop-portal-wlr
  12. x11-servers/xorg-server
  13. x11-servers/xwayland
  14. x11-servers/xwayland-devel
  15. x11-toolkits/wlroots
  16. x11-wm/hyprland
  17. Collapse this list.

Configuration Options:
===> The following configuration options are available for libdrm-2.4.120_1,1: TESTS=off: Build and install test programs ===> Use 'make config' to modify these settings
Options name:
graphics_libdrm
USES:
gnome meson pkgconfig tar:xz
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://dri.freedesktop.org/libdrm/
Collapse this list.

Number of commits found: 5

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.4.120_1,1
01 Feb 2024 15:09:47
commit hash: 2f87c5820f17a9d5f80f96b75c7a7251bd7bd204commit hash: 2f87c5820f17a9d5f80f96b75c7a7251bd7bd204commit hash: 2f87c5820f17a9d5f80f96b75c7a7251bd7bd204commit hash: 2f87c5820f17a9d5f80f96b75c7a7251bd7bd204 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
graphics/libdrm: Fix pkg-list for man pages

The switch to share/ hasn't been done on 2024Q1

PR:	276767
Sponsored by:	Beckhoff Automation GmbH & Co. KG
2.4.120_1,1
01 Feb 2024 09:31:47
commit hash: 026a0d471efc91a952bd3a9693bd93b389b5c3d4commit hash: 026a0d471efc91a952bd3a9693bd93b389b5c3d4commit hash: 026a0d471efc91a952bd3a9693bd93b389b5c3d4commit hash: 026a0d471efc91a952bd3a9693bd93b389b5c3d4 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
graphics/libdrm: Remove @${PY_FLAVOR}

While it works fine when building directly the port poudriere complains :
[00:00:06] Warning: (graphics/libdrm): Error: graphics/libdrm has dependency on
textproc/py-docutils with invalid empty FLAVOR; Please contact maintainer of the
port to fix this.

portlint suggested this but this seems wrong.

Fixes:		67c3a731efe7 ("graphics/libdrm: Always enable manpages")
Sponsored by:	Beckhoff Automation GmbH & Co. KG

(cherry picked from commit 30228b4054de23d900d39c6df1bd6dfcc4503929)
2.4.120_1,1
01 Feb 2024 09:31:44
commit hash: 4446382a7ce1e37442ee734a3c2619d94cf07791commit hash: 4446382a7ce1e37442ee734a3c2619d94cf07791commit hash: 4446382a7ce1e37442ee734a3c2619d94cf07791commit hash: 4446382a7ce1e37442ee734a3c2619d94cf07791 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
graphics/libdrm: Remove nouveau reference

We don't include nouveau libdrm for quite a while now.

Sponsored by:	Beckhoff Automation GmbH & Co. KG

(cherry picked from commit ec1165a3fabd6144c9ed2e64a3ac702ad8859a5a)
2.4.120_1,1
01 Feb 2024 09:31:35
commit hash: 26d6998276d129329dbad0e3a3a901e60b2b0325commit hash: 26d6998276d129329dbad0e3a3a901e60b2b0325commit hash: 26d6998276d129329dbad0e3a3a901e60b2b0325commit hash: 26d6998276d129329dbad0e3a3a901e60b2b0325 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
graphics/libdrm: Always enable manpages

No reason to not always include them.
While here change a bit pkg-desc and COMMENT so it better reflects
reality.
Also split amd and radeon, no functional changed intended.

Sponsored by:	Beckhoff Automation GmbH & Co. KG

(cherry picked from commit 67c3a731efe73e079e402c435c8a93b5921d7971)
2.4.120,1
01 Feb 2024 09:30:49
commit hash: 98af4b5617b77cd1b1d43b9be9aa5f8923d944e5commit hash: 98af4b5617b77cd1b1d43b9be9aa5f8923d944e5commit hash: 98af4b5617b77cd1b1d43b9be9aa5f8923d944e5commit hash: 98af4b5617b77cd1b1d43b9be9aa5f8923d944e5 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
graphics/libdrm: Update to 2.4.120

Release
notes:	https://lists.x.org/archives/xorg-announce/2024-January/003441.html

Sponsored by:	Beckhoff Automation GmbH & Co. KG

(cherry picked from commit 77e1f45bd4b37ec50088f729f1a0680d87028f53)

Number of commits found: 5