All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/gdk-pixbuf-xlib: new package
@ 2022-03-02 17:44 Fabrice Fontaine
  2022-03-02 17:44 ` [Buildroot] [PATCH 2/2] package/xscreensaver: add gdk-pixbuf-xlib dependency Fabrice Fontaine
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Fabrice Fontaine @ 2022-03-02 17:44 UTC (permalink / raw)
  To: buildroot; +Cc: Eric Le Bihan, Simon Dawson, Fabrice Fontaine

Deprecated Xlib integration for GdkPixbuf.

gdk-pixbuf-xlib has been deprecated and split off of gdk-pixbuf since
version 2.42.0 and
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/3362e94c2595440f322798dc4d15f1ed24a4c52c
resulting in the following "hidden" warnings with xscreensaver since
commit a7b51ed3013c919b293deb95299e33363fb9df70:

   Warning: GTK version 2.24.33 was found, but at least one supporting
            library (gdk-pixbuf-xlib-2.0) was not, so GTK can't be used.
            Perhaps some of the development packages are not installed?

   Warning: The GTK libraries do not seem to be available; the
            `xscreensaver-demo' program requires them.

   Warning: The GDK-Pixbuf library was not found.

            The PNG library is being used instead.

            Some of the demos will not use images as much as they could.
            You should consider installing GDK-Pixbuf and re-running
            configure.

https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 DEVELOPERS                                   |  1 +
 package/Config.in                            |  1 +
 package/gdk-pixbuf-xlib/Config.in            | 17 +++++++++++++++++
 package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.hash |  5 +++++
 package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.mk   | 16 ++++++++++++++++
 5 files changed, 40 insertions(+)
 create mode 100644 package/gdk-pixbuf-xlib/Config.in
 create mode 100644 package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.hash
 create mode 100644 package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 2b2cb8c357..897a4dcfee 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -877,6 +877,7 @@ F:	package/duktape/
 F:	package/expat/
 F:	package/flatbuffers/
 F:	package/freeipmi/
+F:	package/gdk-pixbuf-xlib/
 F:	package/gerbera/
 F:	package/gtksourceview/
 F:	package/gssdp/
diff --git a/package/Config.in b/package/Config.in
index fb0595377e..85fa91190e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1492,6 +1492,7 @@ menu "Graphics"
 	source "package/freetype/Config.in"
 	source "package/gd/Config.in"
 	source "package/gdk-pixbuf/Config.in"
+	source "package/gdk-pixbuf-xlib/Config.in"
 	source "package/giblib/Config.in"
 	source "package/giflib/Config.in"
 	source "package/granite/Config.in"
diff --git a/package/gdk-pixbuf-xlib/Config.in b/package/gdk-pixbuf-xlib/Config.in
new file mode 100644
index 0000000000..2efc5d4d66
--- /dev/null
+++ b/package/gdk-pixbuf-xlib/Config.in
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_GDK_PIXBUF_XLIB
+	bool "gdk-pixbuf-xlib"
+	depends on BR2_PACKAGE_XORG7
+	depends on BR2_USE_MMU # gdk-pixbuf -> glib2
+	depends on BR2_USE_WCHAR # gdk-pixbuf -> glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # gdk-pixbuf -> glib2
+	select BR2_PACKAGE_GDK_PIXBUF
+	select BR2_PACKAGE_XLIB_LIBX11
+	help
+	  Deprecated Xlib integration for GdkPixbuf.
+
+	  https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib
+
+comment "gdk-pixbuf-xlib needs a toolchain w/ wchar, threads"
+	depends on BR2_PACKAGE_XORG7
+	depends on BR2_USE_MMU
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.hash b/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.hash
new file mode 100644
index 0000000000..e7f74e2b4b
--- /dev/null
+++ b/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.hash
@@ -0,0 +1,5 @@
+# From https://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf-xlib/2.40/gdk-pixbuf-xlib-2.40.2.sha256sum
+sha256  8b8e1c270ec16a06f665ea841f8e4e167eaa0118d0cbfeeade43745f09198ff7  gdk-pixbuf-xlib-2.40.2.tar.xz
+
+# Hash for license file
+sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING
diff --git a/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.mk b/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.mk
new file mode 100644
index 0000000000..3e61373b3a
--- /dev/null
+++ b/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# gdk-pixbuf-xlib
+#
+################################################################################
+
+GDK_PIXBUF_XLIB_VERSION_MAJOR = 2.40
+GDK_PIXBUF_XLIB_VERSION = $(GDK_PIXBUF_XLIB_VERSION_MAJOR).2
+GDK_PIXBUF_XLIB_SOURCE = gdk-pixbuf-xlib-$(GDK_PIXBUF_XLIB_VERSION).tar.xz
+GDK_PIXBUF_XLIB_SITE = http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf-xlib/$(GDK_PIXBUF_XLIB_VERSION_MAJOR)
+GDK_PIXBUF_XLIB_LICENSE = LGPL-2.1+
+GDK_PIXBUF_XLIB_LICENSE_FILES = COPYING
+GDK_PIXBUF_XLIB_INSTALL_STAGING = YES
+GDK_PIXBUF_XLIB_DEPENDENCIES = gdk-pixbuf xlib_libX11
+
+$(eval $(meson-package))
-- 
2.34.1

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

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

* [Buildroot] [PATCH 2/2] package/xscreensaver: add gdk-pixbuf-xlib dependency
  2022-03-02 17:44 [Buildroot] [PATCH 1/2] package/gdk-pixbuf-xlib: new package Fabrice Fontaine
@ 2022-03-02 17:44 ` Fabrice Fontaine
  2022-03-03 22:10   ` Peter Korsgaard
  2022-03-15 22:18   ` Peter Korsgaard
  2022-03-03 22:09 ` [Buildroot] [PATCH 1/2] package/gdk-pixbuf-xlib: new package Peter Korsgaard
  2022-03-15 22:17 ` Peter Korsgaard
  2 siblings, 2 replies; 6+ messages in thread
From: Fabrice Fontaine @ 2022-03-02 17:44 UTC (permalink / raw)
  To: buildroot; +Cc: Eric Le Bihan, Simon Dawson, Fabrice Fontaine

gdk-pixbuf-xlib dependency is needed since bump of gdk-pixbuf to version
2.42.0 in commit a7b51ed3013c919b293deb95299e33363fb9df70 to avoid the
following "hidden" warnings:

   Warning: GTK version 2.24.33 was found, but at least one supporting
            library (gdk-pixbuf-xlib-2.0) was not, so GTK can't be used.
            Perhaps some of the development packages are not installed?

   Warning: The GTK libraries do not seem to be available; the
            `xscreensaver-demo' program requires them.

   Warning: The GDK-Pixbuf library was not found.

            The PNG library is being used instead.

            Some of the demos will not use images as much as they could.
            You should consider installing GDK-Pixbuf and re-running
            configure.

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

diff --git a/package/xscreensaver/Config.in b/package/xscreensaver/Config.in
index 787c3130ae..10b2b7012c 100644
--- a/package/xscreensaver/Config.in
+++ b/package/xscreensaver/Config.in
@@ -8,6 +8,7 @@ config BR2_PACKAGE_XSCREENSAVER
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libgtk2 -> pango -> harfbuzz
 	select BR2_PACKAGE_GDK_PIXBUF
+	select BR2_PACKAGE_GDK_PIXBUF_XLIB
 	select BR2_PACKAGE_LIBGLU if BR2_PACKAGE_HAS_LIBGL
 	select BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_LIBXML2
diff --git a/package/xscreensaver/xscreensaver.mk b/package/xscreensaver/xscreensaver.mk
index f73a75bf14..46dedc3211 100644
--- a/package/xscreensaver/xscreensaver.mk
+++ b/package/xscreensaver/xscreensaver.mk
@@ -15,6 +15,7 @@ XSCREENSAVER_SELINUX_MODULES = xdg xscreensaver xserver
 
 XSCREENSAVER_DEPENDENCIES = \
 	gdk-pixbuf \
+	gdk-pixbuf-xlib \
 	jpeg \
 	libgtk2 \
 	libxml2 \
-- 
2.34.1

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

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

* Re: [Buildroot] [PATCH 1/2] package/gdk-pixbuf-xlib: new package
  2022-03-02 17:44 [Buildroot] [PATCH 1/2] package/gdk-pixbuf-xlib: new package Fabrice Fontaine
  2022-03-02 17:44 ` [Buildroot] [PATCH 2/2] package/xscreensaver: add gdk-pixbuf-xlib dependency Fabrice Fontaine
@ 2022-03-03 22:09 ` Peter Korsgaard
  2022-03-15 22:17 ` Peter Korsgaard
  2 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2022-03-03 22:09 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Eric Le Bihan, Simon Dawson, buildroot

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

 > Deprecated Xlib integration for GdkPixbuf.
 > gdk-pixbuf-xlib has been deprecated and split off of gdk-pixbuf since
 > version 2.42.0 and
 > https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/3362e94c2595440f322798dc4d15f1ed24a4c52c
 > resulting in the following "hidden" warnings with xscreensaver since
 > commit a7b51ed3013c919b293deb95299e33363fb9df70:

 >    Warning: GTK version 2.24.33 was found, but at least one supporting
 >             library (gdk-pixbuf-xlib-2.0) was not, so GTK can't be used.
 >             Perhaps some of the development packages are not installed?

 >    Warning: The GTK libraries do not seem to be available; the
 >             `xscreensaver-demo' program requires them.

 >    Warning: The GDK-Pixbuf library was not found.

 >             The PNG library is being used instead.

 >             Some of the demos will not use images as much as they could.
 >             You should consider installing GDK-Pixbuf and re-running
 >             configure.

 > https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib

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

Committed, thanks.

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

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

* Re: [Buildroot] [PATCH 2/2] package/xscreensaver: add gdk-pixbuf-xlib dependency
  2022-03-02 17:44 ` [Buildroot] [PATCH 2/2] package/xscreensaver: add gdk-pixbuf-xlib dependency Fabrice Fontaine
@ 2022-03-03 22:10   ` Peter Korsgaard
  2022-03-15 22:18   ` Peter Korsgaard
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2022-03-03 22:10 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Eric Le Bihan, Simon Dawson, buildroot

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

 > gdk-pixbuf-xlib dependency is needed since bump of gdk-pixbuf to version
 > 2.42.0 in commit a7b51ed3013c919b293deb95299e33363fb9df70 to avoid the

2.42.2, not 2.42.0.

> following "hidden" warnings:

 >    Warning: GTK version 2.24.33 was found, but at least one supporting
 >             library (gdk-pixbuf-xlib-2.0) was not, so GTK can't be used.
 >             Perhaps some of the development packages are not installed?

 >    Warning: The GTK libraries do not seem to be available; the
 >             `xscreensaver-demo' program requires them.

 >    Warning: The GDK-Pixbuf library was not found.

 >             The PNG library is being used instead.

 >             Some of the demos will not use images as much as they could.
 >             You should consider installing GDK-Pixbuf and re-running
 >             configure.

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

Committed, thanks.

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

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

* Re: [Buildroot] [PATCH 1/2] package/gdk-pixbuf-xlib: new package
  2022-03-02 17:44 [Buildroot] [PATCH 1/2] package/gdk-pixbuf-xlib: new package Fabrice Fontaine
  2022-03-02 17:44 ` [Buildroot] [PATCH 2/2] package/xscreensaver: add gdk-pixbuf-xlib dependency Fabrice Fontaine
  2022-03-03 22:09 ` [Buildroot] [PATCH 1/2] package/gdk-pixbuf-xlib: new package Peter Korsgaard
@ 2022-03-15 22:17 ` Peter Korsgaard
  2 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2022-03-15 22:17 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Eric Le Bihan, Simon Dawson, buildroot

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

 > Deprecated Xlib integration for GdkPixbuf.
 > gdk-pixbuf-xlib has been deprecated and split off of gdk-pixbuf since
 > version 2.42.0 and
 > https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/3362e94c2595440f322798dc4d15f1ed24a4c52c
 > resulting in the following "hidden" warnings with xscreensaver since
 > commit a7b51ed3013c919b293deb95299e33363fb9df70:

 >    Warning: GTK version 2.24.33 was found, but at least one supporting
 >             library (gdk-pixbuf-xlib-2.0) was not, so GTK can't be used.
 >             Perhaps some of the development packages are not installed?

 >    Warning: The GTK libraries do not seem to be available; the
 >             `xscreensaver-demo' program requires them.

 >    Warning: The GDK-Pixbuf library was not found.

 >             The PNG library is being used instead.

 >             Some of the demos will not use images as much as they could.
 >             You should consider installing GDK-Pixbuf and re-running
 >             configure.

 > https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib

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

Committed to 2021.02.x and 2021.11.x, thanks.

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

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

* Re: [Buildroot] [PATCH 2/2] package/xscreensaver: add gdk-pixbuf-xlib dependency
  2022-03-02 17:44 ` [Buildroot] [PATCH 2/2] package/xscreensaver: add gdk-pixbuf-xlib dependency Fabrice Fontaine
  2022-03-03 22:10   ` Peter Korsgaard
@ 2022-03-15 22:18   ` Peter Korsgaard
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2022-03-15 22:18 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Eric Le Bihan, Simon Dawson, buildroot

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

 > gdk-pixbuf-xlib dependency is needed since bump of gdk-pixbuf to version
 > 2.42.0 in commit a7b51ed3013c919b293deb95299e33363fb9df70 to avoid the
 > following "hidden" warnings:

 >    Warning: GTK version 2.24.33 was found, but at least one supporting
 >             library (gdk-pixbuf-xlib-2.0) was not, so GTK can't be used.
 >             Perhaps some of the development packages are not installed?

 >    Warning: The GTK libraries do not seem to be available; the
 >             `xscreensaver-demo' program requires them.

 >    Warning: The GDK-Pixbuf library was not found.

 >             The PNG library is being used instead.

 >             Some of the demos will not use images as much as they could.
 >             You should consider installing GDK-Pixbuf and re-running
 >             configure.

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

Committed to 2021.02.x and 2021.11.x, thanks.

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

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

end of thread, other threads:[~2022-03-15 22:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02 17:44 [Buildroot] [PATCH 1/2] package/gdk-pixbuf-xlib: new package Fabrice Fontaine
2022-03-02 17:44 ` [Buildroot] [PATCH 2/2] package/xscreensaver: add gdk-pixbuf-xlib dependency Fabrice Fontaine
2022-03-03 22:10   ` Peter Korsgaard
2022-03-15 22:18   ` Peter Korsgaard
2022-03-03 22:09 ` [Buildroot] [PATCH 1/2] package/gdk-pixbuf-xlib: new package Peter Korsgaard
2022-03-15 22:17 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.