buildroot.busybox.net archive mirror
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/xlib_libXpresent: new package
@ 2023-03-19 18:10 Fabrice Fontaine
  2023-03-19 18:11 ` [Buildroot] [PATCH 2/2] package/mpv: fix x11 build Fabrice Fontaine
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2023-03-19 18:10 UTC (permalink / raw)
  To: buildroot
  Cc: Bernd Kuhls, Mahyar Koshkouei, Thomas Petazzoni, Fabrice Fontaine

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/x11r7/Config.in                         |  1 +
 package/x11r7/xlib_libXpresent/Config.in        |  8 ++++++++
 .../xlib_libXpresent/xlib_libXpresent.hash      |  6 ++++++
 .../x11r7/xlib_libXpresent/xlib_libXpresent.mk  | 17 +++++++++++++++++
 4 files changed, 32 insertions(+)
 create mode 100644 package/x11r7/xlib_libXpresent/Config.in
 create mode 100644 package/x11r7/xlib_libXpresent/xlib_libXpresent.hash
 create mode 100644 package/x11r7/xlib_libXpresent/xlib_libXpresent.mk

diff --git a/package/x11r7/Config.in b/package/x11r7/Config.in
index 4de8922e0d..b91f97bb34 100644
--- a/package/x11r7/Config.in
+++ b/package/x11r7/Config.in
@@ -42,6 +42,7 @@ if BR2_PACKAGE_XORG7
 		source package/x11r7/xlib_libXinerama/Config.in
 		source package/x11r7/xlib_libXmu/Config.in
 		source package/x11r7/xlib_libXpm/Config.in
+		source package/x11r7/xlib_libXpresent/Config.in
 		source package/x11r7/xlib_libXrandr/Config.in
 		source package/x11r7/xlib_libXrender/Config.in
 		source package/x11r7/xlib_libXres/Config.in
diff --git a/package/x11r7/xlib_libXpresent/Config.in b/package/x11r7/xlib_libXpresent/Config.in
new file mode 100644
index 0000000000..ee8f0003fe
--- /dev/null
+++ b/package/x11r7/xlib_libXpresent/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_XLIB_LIBXPRESENT
+	bool "libXpresent"
+	select BR2_PACKAGE_XLIB_LIBXEXT
+	select BR2_PACKAGE_XLIB_LIBXFIXES
+	select BR2_PACKAGE_XLIB_XTRANS
+	select BR2_PACKAGE_XORGPROTO
+	help
+	  X.Org Xpresent library
diff --git a/package/x11r7/xlib_libXpresent/xlib_libXpresent.hash b/package/x11r7/xlib_libXpresent/xlib_libXpresent.hash
new file mode 100644
index 0000000000..e7f6ac9e5a
--- /dev/null
+++ b/package/x11r7/xlib_libXpresent/xlib_libXpresent.hash
@@ -0,0 +1,6 @@
+# From https://lists.x.org/archives/xorg-announce/2022-October/003225.html
+sha256  b964df9e5a066daa5e08d2dc82692c57ca27d00b8cc257e8e960c9f1cf26231b  libXpresent-1.0.1.tar.xz
+sha512  a4551f49a68f4487eb70dc5b50b7f745fbc8b6842cfa60422afe3834af41c504a37bcfddb4e7e9ee084b250df256034290776c8eb7d8838e392eb626fff55d25  libXpresent-1.0.1.tar.xz
+
+# Locally calculated
+sha256  d64e671ffeb483d4543f98c842788ab34c77427e27d83d6b082065a4438d4885  COPYING
diff --git a/package/x11r7/xlib_libXpresent/xlib_libXpresent.mk b/package/x11r7/xlib_libXpresent/xlib_libXpresent.mk
new file mode 100644
index 0000000000..fd6f092b1a
--- /dev/null
+++ b/package/x11r7/xlib_libXpresent/xlib_libXpresent.mk
@@ -0,0 +1,17 @@
+################################################################################
+#
+# xlib_libXpresent
+#
+################################################################################
+
+XLIB_LIBXPRESENT_VERSION = 1.0.1
+XLIB_LIBXPRESENT_SOURCE = libXpresent-$(XLIB_LIBXPRESENT_VERSION).tar.xz
+XLIB_LIBXPRESENT_SITE = http://xorg.freedesktop.org/releases/individual/lib
+XLIB_LIBXPRESENT_LICENSE = MIT
+XLIB_LIBXPRESENT_LICENSE_FILES = COPYING
+XLIB_LIBXPRESENT_INSTALL_STAGING = YES
+
+XLIB_LIBXPRESENT_DEPENDENCIES = \
+	xlib_libXext xlib_libXfixes xlib_xtrans xorgproto
+
+$(eval $(autotools-package))
-- 
2.39.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 2/2] package/mpv: fix x11 build
  2023-03-19 18:10 [Buildroot] [PATCH 1/2] package/xlib_libXpresent: new package Fabrice Fontaine
@ 2023-03-19 18:11 ` Fabrice Fontaine
  2023-09-11 20:55   ` Peter Korsgaard
  2023-08-09 21:08 ` [Buildroot] [PATCH 1/2] package/xlib_libXpresent: new package Thomas Petazzoni via buildroot
  2023-09-11 20:55 ` Peter Korsgaard
  2 siblings, 1 reply; 5+ messages in thread
From: Fabrice Fontaine @ 2023-03-19 18:11 UTC (permalink / raw)
  To: buildroot
  Cc: Bernd Kuhls, Mahyar Koshkouei, Thomas Petazzoni, Fabrice Fontaine

xlib_libXpresent is needed with x11 to avoid the following build failure
raised since bump to version 0.35.1 in commit
61ba55e9cce6884295e47fdf33554e6877bd0747 and
https://github.com/mpv-player/mpv/commit/3d459832a88a9bd2835b339cf6ca98f84aad0115:

Checking for X11                                                          : no ('x11 >= 1.0.0 xscrnsaver >= 1.0.0 xext >= 1.0.0 xinerama >= 1.0.0 xpresent >= 1.0.0 xrandr >= 1.2.0' not found)
You manually enabled the feature 'x11', but the autodetection check failed.

Fixes:
 - http://autobuild.buildroot.org/results/1aace6210ba966bb4979d935c08507b2a34e0460

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/mpv/Config.in | 1 +
 package/mpv/mpv.mk    | 8 +++++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/package/mpv/Config.in b/package/mpv/Config.in
index 8efb353c33..5c32f593fe 100644
--- a/package/mpv/Config.in
+++ b/package/mpv/Config.in
@@ -26,6 +26,7 @@ config BR2_PACKAGE_MPV
 	select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_XLIB_LIBXINERAMA if BR2_PACKAGE_XORG7
+	select BR2_PACKAGE_XLIB_LIBXPRESENT if BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_XLIB_LIBXSCRNSAVER if BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_XORG7
 	help
diff --git a/package/mpv/mpv.mk b/package/mpv/mpv.mk
index e368b25736..cf37091186 100644
--- a/package/mpv/mpv.mk
+++ b/package/mpv/mpv.mk
@@ -205,7 +205,13 @@ endif
 # xlib_libXrandr, xlib_libXScrnSaver.
 ifeq ($(BR2_PACKAGE_XORG7),y)
 MPV_CONF_OPTS += --enable-x11
-MPV_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXinerama xlib_libXrandr xlib_libXScrnSaver
+MPV_DEPENDENCIES += \
+	xlib_libX11 \
+	xlib_libXext \
+	xlib_libXinerama \
+	xlib_libXpresent \
+	xlib_libXrandr \
+	xlib_libXScrnSaver
 # XVideo
 ifeq ($(BR2_PACKAGE_XLIB_LIBXV),y)
 MPV_CONF_OPTS += --enable-xv
-- 
2.39.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/xlib_libXpresent: new package
  2023-03-19 18:10 [Buildroot] [PATCH 1/2] package/xlib_libXpresent: new package Fabrice Fontaine
  2023-03-19 18:11 ` [Buildroot] [PATCH 2/2] package/mpv: fix x11 build Fabrice Fontaine
@ 2023-08-09 21:08 ` Thomas Petazzoni via buildroot
  2023-09-11 20:55 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-08-09 21:08 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Bernd Kuhls, Mahyar Koshkouei, buildroot

On Sun, 19 Mar 2023 19:10:59 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/x11r7/Config.in                         |  1 +
>  package/x11r7/xlib_libXpresent/Config.in        |  8 ++++++++
>  .../xlib_libXpresent/xlib_libXpresent.hash      |  6 ++++++
>  .../x11r7/xlib_libXpresent/xlib_libXpresent.mk  | 17 +++++++++++++++++
>  4 files changed, 32 insertions(+)
>  create mode 100644 package/x11r7/xlib_libXpresent/Config.in
>  create mode 100644 package/x11r7/xlib_libXpresent/xlib_libXpresent.hash
>  create mode 100644 package/x11r7/xlib_libXpresent/xlib_libXpresent.mk

Thanks, I've applied both patches, after addressing some issues pointed
out by Bernd.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/xlib_libXpresent: new package
  2023-03-19 18:10 [Buildroot] [PATCH 1/2] package/xlib_libXpresent: new package Fabrice Fontaine
  2023-03-19 18:11 ` [Buildroot] [PATCH 2/2] package/mpv: fix x11 build Fabrice Fontaine
  2023-08-09 21:08 ` [Buildroot] [PATCH 1/2] package/xlib_libXpresent: new package Thomas Petazzoni via buildroot
@ 2023-09-11 20:55 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2023-09-11 20:55 UTC (permalink / raw)
  To: Fabrice Fontaine
  Cc: Bernd Kuhls, Mahyar Koshkouei, Thomas Petazzoni, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2023.05.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/mpv: fix x11 build
  2023-03-19 18:11 ` [Buildroot] [PATCH 2/2] package/mpv: fix x11 build Fabrice Fontaine
@ 2023-09-11 20:55   ` Peter Korsgaard
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2023-09-11 20:55 UTC (permalink / raw)
  To: Fabrice Fontaine
  Cc: Bernd Kuhls, Mahyar Koshkouei, Thomas Petazzoni, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > xlib_libXpresent is needed with x11 to avoid the following build failure
 > raised since bump to version 0.35.1 in commit
 > 61ba55e9cce6884295e47fdf33554e6877bd0747 and
 > https://github.com/mpv-player/mpv/commit/3d459832a88a9bd2835b339cf6ca98f84aad0115:

 > Checking for X11 : no ('x11 >= 1.0.0 xscrnsaver >= 1.0.0 xext >= 1.0.0
 > xinerama >= 1.0.0 xpresent >= 1.0.0 xrandr >= 1.2.0' not found)
 > You manually enabled the feature 'x11', but the autodetection check failed.

 > Fixes:
 >  - http://autobuild.buildroot.org/results/1aace6210ba966bb4979d935c08507b2a34e0460

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2023.05.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-11 20:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-19 18:10 [Buildroot] [PATCH 1/2] package/xlib_libXpresent: new package Fabrice Fontaine
2023-03-19 18:11 ` [Buildroot] [PATCH 2/2] package/mpv: fix x11 build Fabrice Fontaine
2023-09-11 20:55   ` Peter Korsgaard
2023-08-09 21:08 ` [Buildroot] [PATCH 1/2] package/xlib_libXpresent: new package Thomas Petazzoni via buildroot
2023-09-11 20:55 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).