Updates to Sato components
cover Updates to Sato components
Two themes in this patchset:
* xsettings-client removal
* Porting from ScalingImage to ScalingImage2
The latter fixes the issue of mb-panel crashing when battery applet is loaded, which popped up recently.
Jussi
The following changes since commit 627d01997fcf6a0581d88047735769ffb2592b82:
useradd-staticids: use map() instead of imap() (2016-07-12 23:12:00 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib jku/sato-scalingimage2
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jku/sato-scalingimage2
Jussi Kukkonen (5):
matchbox-panel-2: Upgrade 2.10 -> 2.11
sato-screenshot: Upgrade 0.2 -> 0.3
matchbox-keyboard: Upgrade to 0.1.1
libmatchbox: Upgrade 1.11 -> 1.12
libxsettings-client: Remove as unneeded
meta/conf/distro/include/distro_alias.inc | 1 -
meta/lib/oeqa/selftest/recipetool.py | 4 +-
.../libmatchbox/libmatchbox/libpng.patch | 69 ----------------------
.../{libmatchbox_1.11.bb => libmatchbox_1.12.bb} | 16 ++---
.../libxsettings-client/MIT-style-license | 22 -------
.../libxsettings-client/link-x11.patch | 13 ----
.../obsolete_automake_macros.patch | 14 -----
.../libxsettings-client_0.10.bb | 43 --------------
...-keyboard_git.bb => matchbox-keyboard_0.1.1.bb} | 5 +-
...ox-panel-2_2.10.bb => matchbox-panel-2_2.11.bb} | 4 +-
...to-screenshot_0.2.bb => sato-screenshot_0.3.bb} | 4 +-
11 files changed, 16 insertions(+), 179 deletions(-)
delete mode 100644 meta/recipes-graphics/libmatchbox/libmatchbox/libpng.patch
rename meta/recipes-graphics/libmatchbox/{libmatchbox_1.11.bb => libmatchbox_1.12.bb} (57%)
delete mode 100644 meta/recipes-graphics/libxsettings-client/libxsettings-client/MIT-style-license
delete mode 100644 meta/recipes-graphics/libxsettings-client/libxsettings-client/link-x11.patch
delete mode 100644 meta/recipes-graphics/libxsettings-client/libxsettings-client/obsolete_automake_macros.patch
delete mode 100644 meta/recipes-graphics/libxsettings-client/libxsettings-client_0.10.bb
rename meta/recipes-sato/matchbox-keyboard/{matchbox-keyboard_git.bb => matchbox-keyboard_0.1.1.bb} (96%)
rename meta/recipes-sato/matchbox-panel-2/{matchbox-panel-2_2.10.bb => matchbox-panel-2_2.11.bb} (95%)
rename meta/recipes-sato/sato-screenshot/{sato-screenshot_0.2.bb => sato-screenshot_0.3.bb} (91%)Signature · 1 line
2.1.4
PATCH 1/5 matchbox-panel-2: Upgrade 2.10 -> 2.11
New release finishes the port from buggy ScalingImage to ScalingImage2.
---
.../{matchbox-panel-2_2.10.bb => matchbox-panel-2_2.11.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-sato/matchbox-panel-2/{matchbox-panel-2_2.10.bb => matchbox-panel-2_2.11.bb} (95%)meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb renamed from meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.10.bb +2 -2
@@ -14,8 +14,8 @@ DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "apm", "apmd", "",d)}" # The startup-notification requires x11 in DISTRO_FEATURES REQUIRED_DISTRO_FEATURES = "x11" -# SRCREV tagged 2.10 -SRCREV = "145a8075c66952dad9ab5f36d944c78c1ae3f4ab" +# SRCREV tagged 2.11 +SRCREV = "850d5fffde7dbfb32015916524d88014cc2cfb30" RPROVIDES_${PN} = "matchbox-panel" RREPLACES_${PN} = "matchbox-panel"
Signature · 1 line
2.1.4
PATCH 2/5 sato-screenshot: Upgrade 0.2 -> 0.3
---
.../{sato-screenshot_0.2.bb => sato-screenshot_0.3.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-sato/sato-screenshot/{sato-screenshot_0.2.bb => sato-screenshot_0.3.bb} (91%)meta/recipes-sato/sato-screenshot/sato-screenshot_0.3.bb renamed from meta/recipes-sato/sato-screenshot/sato-screenshot_0.2.bb +2 -2
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ DEPENDS = "matchbox-panel-2 gtk+3" -# SRCREV tagged 0.2 -SRCREV = "5db2672fb857b2c80b949d8fce92e0f0029cc947" +# SRCREV tagged 0.3 +SRCREV = "9250fa5a012d84ff45984e8c4345ee7635227756" SRC_URI = "git://git.yoctoproject.org/screenshot" S = "${WORKDIR}/git"
Signature · 1 line
2.1.4
PATCH 3/5 matchbox-keyboard: Upgrade to 0.1.1
In reply to Jussi Kukkonen---
.../{matchbox-keyboard_git.bb => matchbox-keyboard_0.1.1.bb} | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
rename meta/recipes-sato/matchbox-keyboard/{matchbox-keyboard_git.bb => matchbox-keyboard_0.1.1.bb} (96%)meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_0.1.1.bb renamed from meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb +2 -3
@@ -10,9 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ DEPENDS = "libfakekey expat libxft" -SRCREV = "69d03e2aceb79cf7a616c07f8e0be4e1f9f7976b" -PV = "0.0+git${SRCPV}" - +#SRCREV for 0.1.1 +SRCREV = "630d89068dc0a1e9199306d405cb32f892dfa4d3" SRC_URI = "git://git.yoctoproject.org/${BPN};branch=matchbox-keyboard-0-1 \ file://0001-desktop-file-Hide-the-keyboard-from-app-list.patch \ file://80matchboxkeyboard.sh"
Signature · 1 line
2.1.4
PATCH 4/5 libmatchbox: Upgrade 1.11 -> 1.12
In reply to Jussi Kukkonenlibmatchbox now has a in-tree xsettings-client.
* Use git SRC_URI like the other matchbox components.
* Remove upstreamed patch.
* Update license info (xsettings code is MIT).
* Stop depending on libxsettings-client
---
.../libmatchbox/libmatchbox/libpng.patch | 69 ----------------------
.../{libmatchbox_1.11.bb => libmatchbox_1.12.bb} | 16 ++---
2 files changed, 8 insertions(+), 77 deletions(-)
delete mode 100644 meta/recipes-graphics/libmatchbox/libmatchbox/libpng.patch
rename meta/recipes-graphics/libmatchbox/{libmatchbox_1.11.bb => libmatchbox_1.12.bb} (57%)meta/recipes-graphics/libmatchbox/libmatchbox/libpng.patch deleted +0 -69
@@ -1,69 +0,0 @@ -Upstream-Status: Backport -Signed-off-by: Ross Burton <[email protected]> - -From 19c3d242034748b3c60765683e1ff4e2df970205 Mon Sep 17 00:00:00 2001 -From: Ross Burton <[email protected]> -Date: Tue, 10 Dec 2013 11:37:32 +0000 -Subject: [PATCH] configure: improve libpng detection - -Instead of looking for "libpng12" explicitly though pkg-config and then falling -back to library hunting, just use pkg-config to find "libpng" which is provided -by both libpng12 and libpng16. - -This also makes the libpng detection deterministic. - -Signed-off-by: Ross Burton <[email protected]> ---- - configure.ac | 29 +++++------------------------ - 1 file changed, 5 insertions(+), 24 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 8a28076..65d7c79 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -34,7 +34,7 @@ AC_ARG_ENABLE(jpeg, - enable_jpeg=$enableval, enable_jpeg=no) - - AC_ARG_ENABLE(png, -- [ --disable-png disable png support [default=no]], -+ [ --disable-png disable PNG support [default=enabled]], - enable_png=$enableval, enable_png=yes ) - - AC_ARG_ENABLE(doxygen-docs, -@@ -156,29 +156,10 @@ fi - dnl ------ Check for PNG --------------------------------------------------- - - if test x$enable_png != xno; then -- AC_MSG_CHECKING(for libpng12) -- if test x$PKG_CONFIG != xno && $PKG_CONFIG --exists libpng12; then -- AC_MSG_RESULT(yes) -- PNG_LIBS=`$PKG_CONFIG --libs libpng12` -- PNG_CFLAGS=`$PKG_CONFIG --cflags libpng12` -- AC_DEFINE(USE_PNG, [1], [Use Png]) -- SUPPORTS_PNG=1 -- PNG_REQUIRED="libpng12" -- else -- AC_MSG_RESULT(no) -- # AC_CHECK_HEADERS(png.h, [ have_png_h="yes" ], [ have_png_h="no" ] ) -- AC_CHECK_LIB([png], [png_create_read_struct], [have_png="yes"], [have_png="no"]) -- -- if test x$have_png=xyes && test x$have_png_h=xyes; then -- AC_DEFINE(USE_PNG, [1], [Use Png]) -- SUPPORTS_PNG=1 -- PNG_LIBS="-lpng -lz" -- MB_EXTRA_LIBS="$MB_EXTRA_LIBS $PNG_LIBS" -- else -- AC_MSG_WARN([*** Cannot find PNG, disabling support]) -- enable_png=no -- fi -- fi -+ PKG_CHECK_MODULES(PNG, libpng) -+ AC_DEFINE(USE_PNG, [1], [Use PNG]) -+ SUPPORTS_PNG=1 -+ PNG_REQUIRED="libpng" - fi - - --- -1.8.5 -
meta/recipes-graphics/libmatchbox/libmatchbox_1.12.bb renamed from meta/recipes-graphics/libmatchbox/libmatchbox_1.11.bb +8 -8
@@ -3,26 +3,26 @@ SECTION = "x11/libs" HOMEPAGE = "http://matchbox-project.org/" BUGTRACKER = "http://bugzilla.yoctoproject.com/" -LICENSE = "LGPLv2+" +LICENSE = "LGPLv2+ & MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 \ + file://COPYING.MIT;md5=f45ed9332b4f50a35adf2065adde4ca7 \ file://libmb/mbexp.c;endline=20;md5=28c0aef3b23e308464f5dae6a11b0d2f \ - file://libmb/mbdotdesktop.c;endline=21;md5=5a287156b3207e851c1d68d09c439b51" + file://libmb/xsettings-client.c;endline=20;md5=4b106a387602db8d91a50d5cdfd65031" DEPENDS = "virtual/libx11 libxext" -SRC_URI = "http://downloads.yoctoproject.org/releases/matchbox/${BPN}/${PV}/${BPN}-${PV}.tar.bz2 \ - file://libpng.patch" +#SRCREV for 1.12 +SRCREV = "e846ee434f8e23d9db38af13c523f791495e0e87" +SRC_URI = "git://git.yoctoproject.org/${BPN}" -SRC_URI[md5sum] = "fc6cc807f55a3e7c752d8013176875d7" -SRC_URI[sha256sum] = "254cab52e304a3512c8df4be59d690cf3921bbb68a28ede7fe26b93534217b53" +S = "${WORKDIR}/git" inherit autotools pkgconfig distro_features_check # depends on virtual/libx11 REQUIRED_DISTRO_FEATURES = "x11" -PACKAGECONFIG ??= "jpeg png xft xsettings" +PACKAGECONFIG ??= "jpeg png xft" PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg" PACKAGECONFIG[pango] = "--enable-pango,--disable-pango,pango" PACKAGECONFIG[png] = "--enable-png,--disable-png,libpng" PACKAGECONFIG[xft] = "--enable-xft,--disable-xft,libxft" -PACKAGECONFIG[xsettings] = "--enable-xsettings,--disable-xsettings,libxsettings-client"
Signature · 1 line
2.1.4
PATCH 5/5 libxsettings-client: Remove as unneeded
In reply to Jussi Kukkonenxsettings-client is not meant to be a shared library and the only user in oe-core (libmatchbox) now has an in-tree copy.
--- meta/conf/distro/include/distro_alias.inc | 1 - meta/lib/oeqa/selftest/recipetool.py | 4 +- .../libxsettings-client/MIT-style-license | 22 ----------- .../libxsettings-client/link-x11.patch | 13 ------- .../obsolete_automake_macros.patch | 14 ------- .../libxsettings-client_0.10.bb | 43 ---------------------- 6 files changed, 2 insertions(+), 95 deletions(-) delete mode 100644 meta/recipes-graphics/libxsettings-client/libxsettings-client/MIT-style-license delete mode 100644 meta/recipes-graphics/libxsettings-client/libxsettings-client/link-x11.patch delete mode 100644 meta/recipes-graphics/libxsettings-client/libxsettings-client/obsolete_automake_macros.patch delete mode 100644 meta/recipes-graphics/libxsettings-client/libxsettings-client_0.10.bb
meta/conf/distro/include/distro_alias.inc +0 -1
@@ -214,7 +214,6 @@ DISTRO_PN_ALIAS_pn-libxft = "Mandriva=libxft Debian=libxft2 Ubuntu=libxft2" DISTRO_PN_ALIAS_pn-libxi = "Ubuntu=libxi Fedora=libXi" DISTRO_PN_ALIAS_pn-libxkbcommon = "Fedora=libxkbcommon Debian=libxkbcommon" DISTRO_PN_ALIAS_pn-libxscrnsaver = "Fedora=libXScrnSaver Ubuntu=libxss1 Mandriva=libxscrnsaver" -DISTRO_PN_ALIAS_pn-libxsettings-client = "Debian=libxsettings-client0 Ubuntu=libxsettings-client0 Mandriva=libXsettings-client0" DISTRO_PN_ALIAS_pn-libxxf86misc = "Mandriva=libxxf86misc Fedora=libXxf86misc" DISTRO_PN_ALIAS_pn-linux-dummy = "Intel" DISTRO_PN_ALIAS_pn-linux-firmware = "Fedora=linux-firmware Ubuntu=linux-firmware"
meta/lib/oeqa/selftest/recipetool.py +2 -2
@@ -383,7 +383,7 @@ class RecipetoolTests(RecipetoolBase): @testcase(1194) def test_recipetool_create_git(self): # Ensure we have the right data in shlibs/pkgdata - bitbake('libpng pango libx11 libxext jpeg libxsettings-client libcheck') + bitbake('libpng pango libx11 libxext jpeg libcheck') # Try adding a recipe tempsrc = os.path.join(self.tempdir, 'srctree') os.makedirs(tempsrc)
@@ -397,7 +397,7 @@ class RecipetoolTests(RecipetoolBase): checkvars['S'] = '${WORKDIR}/git' checkvars['PV'] = '1.11+git${SRCPV}' checkvars['SRC_URI'] = srcuri - checkvars['DEPENDS'] = set(['libcheck', 'libjpeg-turbo', 'libpng', 'libx11', 'libxsettings-client', 'libxext', 'pango']) + checkvars['DEPENDS'] = set(['libcheck', 'libjpeg-turbo', 'libpng', 'libx11', 'libxext', 'pango']) inherits = ['autotools', 'pkgconfig'] self._test_recipe_contents(recipefile, checkvars, inherits)
meta/recipes-graphics/libxsettings-client/libxsettings-client/MIT-style-license deleted +0 -22
@@ -1,22 +0,0 @@ -/* - * Copyright © 2001 Red Hat, Inc. - * - * Permission to use, copy, modify, distribute, and sell this software and its - * documentation for any purpose is hereby granted without fee, provided that - * the above copyright notice appear in all copies and that both that - * copyright notice and this permission notice appear in supporting - * documentation, and that the name of Red Hat not be used in advertising or - * publicity pertaining to distribution of the software without specific, - * written prior permission. Red Hat makes no representations about the - * suitability of this software for any purpose. It is provided "as is" - * without express or implied warranty. - * - * RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL RED HAT - * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION - * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * Author: Owen Taylor, Red Hat, Inc. - */
meta/recipes-graphics/libxsettings-client/libxsettings-client/link-x11.patch deleted +0 -13
@@ -1,13 +0,0 @@ -Upstream-Status: Inappropriate [configuration] - -Index: Xsettings-client-0.10/Makefile.am -=================================================================== ---- Xsettings-client-0.10.orig/Makefile.am 2008-02-07 14:49:54.000000000 +0000 -+++ Xsettings-client-0.10/Makefile.am 2008-02-07 14:50:00.000000000 +0000 -@@ -9,4 +9,4 @@ - - libXsettings_client_la_SOURCES= $(source_c) $(source_h) - --libXsettings_client_la_LIBADD = @X_LIBS@ -\ No newline at end of file -+libXsettings_client_la_LIBADD = @X_LIBS@ -lX11
meta/recipes-graphics/libxsettings-client/libxsettings-client/obsolete_automake_macros.patch deleted +0 -14
@@ -1,14 +0,0 @@ -Upstream-Status: Pending - -Signed-off-by: Marko Lindqvist <[email protected]> -diff -Nurd Xsettings-client-0.10/configure.ac Xsettings-client-0.10/configure.ac ---- Xsettings-client-0.10/configure.ac 2003-03-28 12:39:51.000000000 +0200 -+++ Xsettings-client-0.10/configure.ac 2013-01-11 07:37:21.491597743 +0200 -@@ -1,7 +1,7 @@ - # Process this file with autoconf to produce a configure script. - AC_INIT(xsettings-client.c) - AM_INIT_AUTOMAKE(Xsettings-client, 0.10) --AM_CONFIG_HEADER(config.h) -+AC_CONFIG_HEADERS(config.h) - - CFLAGS="-Os -Wall"
meta/recipes-graphics/libxsettings-client/libxsettings-client_0.10.bb deleted +0 -43
43 lines not on this page · raw message
Signature · 1 line
2.1.4