* [Buildroot] [PATCH 1/2] package/x11r7/xlib_libXpresent: new package
@ 2023-07-16 13:34 Bernd Kuhls
2023-07-16 13:34 ` [Buildroot] [PATCH 2/2] package/mpv: x11 supports needs xlib_libXpresent Bernd Kuhls
2023-08-09 21:08 ` [Buildroot] [PATCH 1/2] package/x11r7/xlib_libXpresent: new package Thomas Petazzoni via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2023-07-16 13:34 UTC (permalink / raw)
To: buildroot; +Cc: Mahyar Koshkouei, Thomas Petazzoni
Needed for mpv since version 0.35.0:
https://github.com/mpv-player/mpv/commit/3d459832a88a9bd2835b339cf6ca98f84aad0115
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
package/x11r7/Config.in | 1 +
package/x11r7/xlib_libXpresent/Config.in | 9 +++++++++
.../xlib_libXpresent/xlib_libXpresent.hash | 5 +++++
.../xlib_libXpresent/xlib_libXpresent.mk | 20 +++++++++++++++++++
4 files changed, 35 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..f6e2d93fab
--- /dev/null
+++ b/package/x11r7/xlib_libXpresent/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_XLIB_LIBXPRESENT
+ bool "libXpresent"
+ select BR2_PACKAGE_XLIB_LIBX11
+ select BR2_PACKAGE_XLIB_LIBXEXT
+ select BR2_PACKAGE_XLIB_LIBXFIXES
+ select BR2_PACKAGE_XLIB_LIBXRANDR
+ 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..d0ab359fd2
--- /dev/null
+++ b/package/x11r7/xlib_libXpresent/xlib_libXpresent.hash
@@ -0,0 +1,5 @@
+# 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 computed
+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..38d87b863f
--- /dev/null
+++ b/package/x11r7/xlib_libXpresent/xlib_libXpresent.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# xlib_libXpresent
+#
+################################################################################
+
+XLIB_LIBXPRESENT_VERSION = 1.0.1
+XLIB_LIBXPRESENT_SOURCE = libXpresent-$(XLIB_LIBXPRESENT_VERSION).tar.xz
+XLIB_LIBXPRESENT_SITE = https://xorg.freedesktop.org/archive/individual/lib
+XLIB_LIBXPRESENT_LICENSE = MIT
+XLIB_LIBXPRESENT_LICENSE_FILES = COPYING
+XLIB_LIBXPRESENT_INSTALL_STAGING = YES
+XLIB_LIBXPRESENT_DEPENDENCIES = \
+ xlib_libX11 \
+ xlib_libXext \
+ xlib_libXfixes \
+ xlib_libXrandr \
+ xorgproto
+
+$(eval $(autotools-package))
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 2/2] package/mpv: x11 supports needs xlib_libXpresent
2023-07-16 13:34 [Buildroot] [PATCH 1/2] package/x11r7/xlib_libXpresent: new package Bernd Kuhls
@ 2023-07-16 13:34 ` Bernd Kuhls
2023-08-09 21:08 ` [Buildroot] [PATCH 1/2] package/x11r7/xlib_libXpresent: new package Thomas Petazzoni via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Bernd Kuhls @ 2023-07-16 13:34 UTC (permalink / raw)
To: buildroot; +Cc: Mahyar Koshkouei, Thomas Petazzoni
Needed since version 0.35.0:
https://github.com/mpv-player/mpv/commit/3d459832a88a9bd2835b339cf6ca98f84aad0115
which was added with buildroot commit
61ba55e9cce6884295e47fdf33554e6877bd0747
Fixes:
http://autobuild.buildroot.net/results/b64/b6473ba6f64b6ed5ddfe76170a47e840802859a5/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
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..ae3656b96c 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.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/2] package/x11r7/xlib_libXpresent: new package
2023-07-16 13:34 [Buildroot] [PATCH 1/2] package/x11r7/xlib_libXpresent: new package Bernd Kuhls
2023-07-16 13:34 ` [Buildroot] [PATCH 2/2] package/mpv: x11 supports needs xlib_libXpresent Bernd Kuhls
@ 2023-08-09 21:08 ` Thomas Petazzoni via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-08-09 21:08 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: Mahyar Koshkouei, buildroot
On Sun, 16 Jul 2023 15:34:23 +0200
Bernd Kuhls <bernd@kuhls.net> wrote:
> Needed for mpv since version 0.35.0:
> https://github.com/mpv-player/mpv/commit/3d459832a88a9bd2835b339cf6ca98f84aad0115
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
> package/x11r7/Config.in | 1 +
> package/x11r7/xlib_libXpresent/Config.in | 9 +++++++++
> .../xlib_libXpresent/xlib_libXpresent.hash | 5 +++++
> .../xlib_libXpresent/xlib_libXpresent.mk | 20 +++++++++++++++++++
> 4 files changed, 35 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
As you had noticed, Fabrice had submitted a month before a similar
patch series, so I took the series from Fabrice (with some fixes that
you suggested).
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] 3+ messages in thread
end of thread, other threads:[~2023-08-09 21:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-16 13:34 [Buildroot] [PATCH 1/2] package/x11r7/xlib_libXpresent: new package Bernd Kuhls
2023-07-16 13:34 ` [Buildroot] [PATCH 2/2] package/mpv: x11 supports needs xlib_libXpresent Bernd Kuhls
2023-08-09 21:08 ` [Buildroot] [PATCH 1/2] package/x11r7/xlib_libXpresent: new package Thomas Petazzoni via buildroot
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).