Selaa lähdekoodia

package/gdk-pixbuf-xlib: new package

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>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 559df4ef2888efda8a0142a9b61a1206e6ab0fff)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Fabrice Fontaine 3 vuotta sitten
vanhempi
commit
5b71eb2b09

+ 1 - 0
DEVELOPERS

@@ -848,6 +848,7 @@ F:	package/daq3/
 F:	package/duktape/
 F:	package/expat/
 F:	package/flatbuffers/
+F:	package/gdk-pixbuf-xlib/
 F:	package/gerbera/
 F:	package/gtksourceview/
 F:	package/gssdp/

+ 1 - 0
package/Config.in

@@ -1477,6 +1477,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"

+ 17 - 0
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

+ 5 - 0
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

+ 16 - 0
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))