Commit Graph

121 Commits

Author SHA1 Message Date
Jan Beich
12ff4d732f multimedia/libva: update to 2.22.0
Changes:	https://github.com/intel/libva/releases/tag/2.22.0
Reported by:	Repology
2024-06-22 02:59:42 +02:00
Vladimir Druzenko
c0583872ee multimedia/libva: unbreak X11=off build after 07b46bb45f
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: include/va/va_trace.h
===> Error: Plist issues found.
*** Error code 1

PR:		277690
2024-03-14 22:03:58 +01:00
Jan Beich
07b46bb45f multimedia/libva: update to 2.21.0
Changes:	https://github.com/intel/libva/releases/tag/2.21.0
Reported by:	Repology
2024-03-14 12:34:34 +01:00
Jan Beich
920a3d1486 multimedia/libva-glx: merge back into X11 option after 5343f55d87
libva-glx -> libGL -> libva dependency loop doesn't occur with
libGL from libglvnd instead of mesa-*.

This reverts commit 14a6544d4e.
2024-01-21 23:01:04 +01:00
Jan Beich
f863a42f48 multimedia/libva: unbreak DRI2 for XRDP after 20aae48cbe
https://github.com/intel/libva/commit/aeba58590726

Xwayland (uses DRI3) and Xorg (has DRM master) are not affected.

Inspired by:	PkgSrc
2023-12-03 23:32:10 +01:00
Dimitry Andric
6837bc7384 multimedia/libva: unbreak build with LLD 17
Checking if "-Wl,--version-script" : links: NO
[...]
ld: error: va/libva.so.2.2000.0.p/va_compat.c.o: symbol vaCreateSurfaces@VA_API_0.32.0 has undefined version VA_API_0.32.0

PR:		274088
Reported by:	antoine (via bug 273753 exp-run)
2023-09-25 23:24:04 +02:00
Jan Beich
60b444da1a multimedia/libva: update to 2.20.0
Changes:	https://github.com/intel/libva/releases/tag/2.20.0
Reported by:	Repology
2023-09-16 02:57:27 +02:00
Jan Beich
688dc20de2 multimedia/libva: update to 2.19.0
Changes:	https://github.com/intel/libva/releases/tag/2.19.0
Reported by:	Repology
2023-07-04 16:20:12 +00:00
Jan Beich
a6aadea344 multimedia/libva: update to 2.18.0
Changes:	https://github.com/intel/libva/releases/tag/2.18.0
Reported by:	Repology
2023-03-22 15:36:26 +00:00
Jan Beich
512f598d32 multimedia/libva: update to 2.17.0
Changes:	https://github.com/intel/libva/compare/2.16.0...2.17.0
Reported by:	Repology
2022-12-28 16:15:24 +00:00
Jan Beich
f248fedf8c multimedia/libva: update to 2.16.0
Changes:	https://github.com/intel/libva/compare/2.15.0...2.16.0
Reported by:	Repology
2022-09-28 07:50:17 +00:00
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Jan Beich
20aae48cbe multimedia/libva: update to 2.15.0
Changes:	https://github.com/intel/libva/compare/2.14.0...2.15.0
Reported by:	Repology
2022-06-29 21:07:49 +00:00
Jan Beich
fc01bd8460 multimedia/libva: update to 2.14.0
Changes:	https://github.com/intel/libva/compare/2.13.0...2.14.0
Reported by:	Repology
2022-02-17 19:34:38 +00:00
Jan Beich
bbdb8c12e8 multimedia/libva: unbreak crocus autodetection on X11
$ vainfo
libva info: VA-API version 1.13.0
libva info: Trying to open /usr/local/lib/dri/crocus_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
2021-11-01 15:08:31 +00:00
Jan Beich
8a28ff0bd2 multimedia/libva: update to 2.13.0
Rebuild a consumer that already uses VA_CHECK_VERSION(1, 13, 0)

Changes:	https://github.com/intel/libva/compare/2.12.0...2.13.0
Reported by:	Repology
2021-09-18 22:16:46 +00:00
Jan Beich
234833d3aa multimedia/libva: update to 2.12.0
Rebuild a consumer that already uses VA_CHECK_VERSION(1, 12, 0)

Changes:	https://github.com/intel/libva/compare/2.11.0...2.12.0
Reported by:	Repology
2021-06-22 00:24:48 +00:00
Jan Beich
5cddff7272 multimedia/libva: backport modifiers support for mesa-devel
Exposes https://gitlab.freedesktop.org/mesa/mesa/-/commit/5f101e8096f7
2021-05-31 23:10:24 +00:00
Mathieu Arnold
cf118ccf87 One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00
Mathieu Arnold
305f148f48 Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Jan Beich
f71ac6b034 multimedia/libva: update to 2.11.0
Rebuild a consumer that already uses VA_CHECK_VERSION(1, 11, 0)

Changes:	https://github.com/intel/libva/compare/2.10.0...2.11.0
Reported by:	Repology
2021-03-23 15:05:55 +00:00
Jan Beich
3134e7a694 multimedia/libva: update to 2.10.0
Changes:	https://github.com/intel/libva/compare/2.9.1...2.10.0
ABI:		https://abi-laboratory.pro/tracker/timeline/libva/
Reported by:	Repology
2020-12-04 18:57:42 +00:00
Jan Beich
f02cb9ab22 multimedia/libva: update to 2.9.1
Changes:	https://github.com/intel/libva/compare/2.9.0...2.9.1
ABI:		https://abi-laboratory.pro/tracker/timeline/libva/
Reported by:	Repology
2020-10-28 08:15:27 +00:00
Rene Ladan
90ba594028 multimedia/libva: clean up code specific to FreeBSD 11.3
Phabricator:	D26646
Submitted by:	jbeich (partial)
2020-10-17 14:47:07 +00:00
Jan Beich
b52812065e multimedia/libva: unbreak fetch
fetch: https://github.com/intel/libva/commit/f601fc614d8d.patch: size mismatch: expected 3148, actual 3150

--- 12525d4cd7c3.patch.old
+++ 12525d4cd7c3.patch
@@ -10,7 +10,7 @@ ld: error: unable to find library -ldl
  2 files changed, 10 insertions(+), 5 deletions(-)

 diff --git a/configure.ac b/configure.ac
-index acb4c79..a62f4fd 100644
+index acb4c799..a62f4fda 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -209,6 +209,11 @@ if test "$ac_cv_have_gnuc_visibility_attribute" = "yes"; then
@@ -26,7 +26,7 @@ index acb4c79..a62f4fd 100644
  ssp_cc=yes
  if test "X$CC-cc" != "X"; then
 diff --git a/va/Makefile.am b/va/Makefile.am
-index 6742177..6155895 100644
+index 67421775..6155895a 100644
 --- a/va/Makefile.am
 +++ b/va/Makefile.am
 @@ -92,7 +92,7 @@ libva_la_SOURCES		= $(libva_source_c)
--- 36f53f358a9c.patch.old
+++ 36f53f358a9c.patch
@@ -12,7 +12,7 @@ Subject: [PATCH] va/va: don't try to use RTLD_NODELETE
  1 file changed, 1 insertion(+), 1 deletion(-)

 diff --git a/va/va.c b/va/va.c
-index 6230d7f..0c278f6 100644
+index 6230d7f9..0c278f67 100644
 --- a/va/va.c
 +++ b/va/va.c
 @@ -451,7 +451,7 @@ static VAStatus va_openDriver(VADisplay dpy, char *driver_name)
--- 810d1974a54c.patch.old
+++ 810d1974a54c.patch
@@ -12,7 +12,7 @@ On DragonFly and FreeBSD config are installed to /usr/
  4 files changed, 7 insertions(+), 4 deletions(-)

 diff --git a/meson.build b/meson.build
-index aabae7b..41d338e 100644
+index aabae7b8..41d338ea 100644
 --- a/meson.build
 +++ b/meson.build
 @@ -63,6 +63,8 @@ libva_lt_version = '@0@.@1@.@2@'.format(libva_lt_current,
@@ -37,7 +37,7 @@ index aabae7b..41d338e 100644
    WITH_WAYLAND = wayland_dep.found()
  endif
 diff --git a/va/Makefile.am b/va/Makefile.am
-index c0b0cfd..6742177 100644
+index c0b0cfd3..67421775 100644
 --- a/va/Makefile.am
 +++ b/va/Makefile.am
 @@ -24,6 +24,7 @@ SUBDIRS =
@@ -49,7 +49,7 @@ index c0b0cfd..6742177 100644

  LDADD = \
 diff --git a/va/meson.build b/va/meson.build
-index 8c9d036..228489a 100644
+index 8c9d0362..228489a7 100644
 --- a/va/meson.build
 +++ b/va/meson.build
 @@ -62,7 +62,7 @@ libva = shared_library(
@@ -62,7 +62,7 @@ index 8c9d036..228489a 100644
    link_args : '-Wl,-version-script,' + libva_sym_path,
    link_depends : libva_sym,
 diff --git a/va/va.c b/va/va.c
-index 7f014a1..6230d7f 100644
+index 7f014a15..6230d7f9 100644
 --- a/va/va.c
 +++ b/va/va.c
 @@ -71,7 +71,7 @@ int va_parseConfig(char *env, char *env_value)
--- 853c679c628a.patch.old
+++ 853c679c628a.patch
@@ -14,7 +14,7 @@ sed: 1: "1i#include "sysdeps.h"
  1 file changed, 1 insertion(+), 1 deletion(-)

 diff --git a/va/wayland/Makefile.am b/va/wayland/Makefile.am
-index 705efa3..f48afb4 100644
+index 705efa3d..f48afb4d 100644
 --- a/va/wayland/Makefile.am
 +++ b/va/wayland/Makefile.am
 @@ -70,7 +70,7 @@ va_wayland_drm.c: $(protocol_source_h)
--- f601fc614d8d.patch.old
+++ f601fc614d8d.patch
@@ -20,7 +20,7 @@ Subject: [PATCH] va/va_trace: implement gettid() for B
  1 file changed, 34 insertions(+), 5 deletions(-)

 diff --git a/va/va_trace.c b/va/va_trace.c
-index d34fc40..8cdd27b 100755
+index d34fc405..8cdd27ba 100755
 --- a/va/va_trace.c
 +++ b/va/va_trace.c
 @@ -48,12 +48,41 @@
2020-09-25 12:49:04 +00:00
Jan Beich
9baf586313 multimedia/libva: update to 2.9.0
Changes:	https://github.com/intel/libva/compare/2.8.0...2.9.0
ABI:		https://abi-laboratory.pro/tracker/timeline/libva/
Reported by:	Repology
2020-09-12 23:06:58 +00:00
Jan Beich
a8d6fa7f73 multimedia/libva: update to 2.8.0
Changes:	https://github.com/intel/libva/compare/2.7.1...2.8.0
ABI:		https://abi-laboratory.pro/tracker/timeline/libva/
Reported by:	GitHub (watch releases)
2020-06-26 16:01:17 +00:00
Jan Beich
432b3cfab0 multimedia/libva: update to 2.7.1
Changes:	https://github.com/intel/libva/compare/2.7.0...2.7.1
ABI:		https://abi-laboratory.pro/tracker/timeline/libva/
Reported by:	GitHub (watch releases)
2020-04-20 08:39:00 +00:00
Jan Beich
c1d95949dd multimedia/libva: backport iHD fix for X11
$ pkg install libva-utils libva-intel-media-driver
$ vainfo
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/local/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

MFH:		  2020Q2
2020-04-17 15:06:47 +00:00
Jan Beich
04baa08be8 multimedia/libva: update to 2.7.0
Changes:	https://github.com/intel/libva/compare/2.6.1...2.7.0
ABI:		https://abi-laboratory.pro/tracker/timeline/libva/
Reported by:	Repology
2020-04-02 22:19:00 +00:00
Jan Beich
02a3509070 multimedia/libva: drop FreeBSD 12.0 support after r527628 2020-03-27 23:34:14 +00:00
Jan Beich
8b437afd93 multimedia/libva: backport some upstream fixes
- https://github.com/intel/libva/commit/04acc7860feb will be required
  by libva-intel-media-driver-20.2.0, see https://github.com/intel/media-driver/commit/2baead9b10cd
- https://github.com/intel/libva/commit/48f446b32a4f is a fix for
  regression in libva-2.6.0
2020-02-29 22:52:59 +00:00
Jan Beich
0c9d4f1808 multimedia/libva: update to 2.6.1
Changes:	https://github.com/intel/libva/releases/tag/2.6.1
ABI:		https://abi-laboratory.pro/tracker/timeline/libva/
Reported by:	GitHub (watch releases)
2020-01-17 15:33:02 +00:00
Jan Beich
ef1435f2d0 multimedia/libva: switch to upstream patches 2020-01-15 19:41:54 +00:00
Jan Beich
fcf88c9c4d multimedia/libva: respect PREFIX for libva.conf
libva.conf is mainly used for debugging, so no need to rebuild.
2020-01-01 12:22:23 +00:00
Jan Beich
a38d205c03 multimedia/libva: update to 2.6.0
Changes:	https://github.com/intel/libva/releases/tag/2.6.0
ABI:		https://abi-laboratory.pro/tracker/timeline/libva/
Reported by:	GitHub (watch releases)
2019-12-25 14:59:50 +00:00
Rene Ladan
ee06ec39ce Clean up support for FreeBSD 11.2.
While here, modernize some comments in Mk/bsd.*.mk.

Note that graphics/drm-fbsd11.2-kmod is not renamed yet, this was somewhat
under discussion.

Submitted by:	rene
Reviewed by:	antoine, jbeich, mat, zeising
Differential Revision:	https://reviews.freebsd.org/D21974
2019-11-07 16:30:12 +00:00
Niclas Zeising
7ad72d866d Add USES=xorg USES=gl, ports categories l and m
Add USES=xorg and USES=gl to ports in categories starting with 'l' and 'm'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-06 18:09:44 +00:00
Jan Beich
8fd0fb2b98 Add more gettid() aliases to my ports
https://man.openbsd.org/getthrid.2
https://illumos.org/man/3C/thr_self
2019-07-10 01:16:24 +00:00
Jan Beich
46e7fd2685 multimedia/libva: drop -lpthread on FreeBSD 11.4/12.1/13.0
libva doesn't use threads unless LIBVA_TRACE is passed via environment.

PR:		238650
2019-07-10 01:16:13 +00:00
Jan Beich
e86c810acd multimedia/libva: update to 2.5.0
Changes:	https://github.com/intel/libva/releases/tag/2.5.0
ABI:		https://abi-laboratory.pro/tracker/timeline/libva/
Reported by:	GitHub (watch releases), portscout
2019-07-05 14:45:08 +00:00
Jan Beich
234ec47174 Switch DragonFly to pthread_getthreadid_np in my ports
https://github.com/DragonFlyBSD/DragonFlyBSD/commit/c0f25c26521a
2019-06-17 08:36:27 +00:00
Jan Beich
a2c8ba796e multimedia/libva: replace post-patch with upstream fix 2019-06-01 00:59:09 +00:00
Jan Beich
8f4287ac35 multimedia/libva: reroll
--- libva-2.4.1.orig/meson.build	2019-04-07 17:44:47 UTC
+++ libva-2.4.1/meson.build	2019-04-17 10:07:39 UTC
@@ -20,7 +20,7 @@ project(
 # - reset minor version to zero when major version is incremented
 va_api_major_version = 1
 va_api_minor_version = 4
-va_api_micro_version = 0
+va_api_micro_version = 1

 va_api_version = '@0@.@1@.@2@'.format(va_api_major_version,
 				      va_api_minor_version,

Reported by:	Ravenports
2019-05-13 15:20:51 +00:00
Jan Beich
3f9711da55 multimedia/libva: unbreak on GCC architectures after r498397
../va/va_trace.c: In function 'va_TraceVAEncMiscParameterBuffer':
../va/va_trace.c:3309: error: 'for' loop initial declaration used outside C99 mode

PR:		237171
Reported by:	pkg-fallout
2019-04-10 11:52:06 +00:00
Jan Beich
c2caa41e89 multimedia/libva: update to 2.4.1
Changes:	https://github.com/intel/libva/releases/tag/2.4.1
Changes:	https://github.com/intel/libva/compare/2.4.0...2.4.1
MFH:		2019Q2
2019-04-08 17:36:12 +00:00
Jan Beich
d419c25145 multimedia/libva: update upstream patches (nop)
Prefer drmGetNodeTypeFromFd over drmGetDeviceNameFromFd2 but on
FreeBSD there's little difference as both compare strings.
2019-04-03 13:00:23 +00:00
Jan Beich
188bd12e78 multimedia/libva: don't skip r497485 fix 2019-04-02 08:11:43 +00:00
Jan Beich
a6c3990e0d multimedia/libva: unbreak DRM backend in some cases
$ vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
vaInitialize failed with error code 1 (operation failed),exit

$ ls -lL /dev/dri
total 0
crw-rw----  1 root  video  0x188 Mar 30 17:28 card0
crw-rw----  1 root  video  0x208 Mar 30 17:28 renderD128

$ echo $((0x208 & 0x80))
0

Reported by:	김종성 (via private mail)
2019-04-01 15:19:00 +00:00