Various upgrades
cover Various upgrades
Mostly minor or uneventful upgrades.
The xdg-utils upgade might look a little weird but it really is a bunch of shell scripts that require xsltproc and xmlto at build time. As far as I can tell the scripts are also mostly useless (and unused). Unfortunately they're required by LSB.
Cheers,
Jussi
The following changes since commit 03f15e51998a3ef65a5b68cb7cbf724f4388c289:
sstate: Ensure siginfo and sig files are also touched (2015-11-25 08:09:00 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib jku/upgrades-xdg-etc
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jku/upgrades-xdg-etc
Jussi Kukkonen (10):
cogl-1.0: Upgrade 1.20.0 -> 1.22.0 clutter-1.0: Upgrade 1.24.2 clutter-gst-3.0: Upgrade 3.0.8 -> 3.0.14 clutter-gtk-1.0: Upgrade 1.6.2 -> 1.6.6
gnome-common: Upgrade 3.14.0 -> 3.18.0
gsettings-desktop-schemas: Upgrade 2.16.1 -> 3.18.1
xdg-utils: Upgrade to 1.1.1
shared-mime-info: Upgrade 1.4 -> 1.5
libcroco: Upgrade 0.6.8 -> 0.6.9
dropbear: Upgrade 2015.68 -> 2015.70
meta/recipes-core/dropbear/dropbear_2015.68.bb | 4 -
meta/recipes-core/dropbear/dropbear_2015.70.bb | 5 +
.../xdg-utils/0001-Reinstate-xdg-terminal.patch | 665 +--------------------
.../{xdg-utils_1.1.0-rc1.bb => xdg-utils_1.1.1.bb} | 5 +-
...ome-common_3.14.0.bb => gnome-common_3.18.0.bb} | 4 +-
...16.1.bb => gsettings-desktop-schemas_3.18.1.bb} | 5 +-
...clutter-1.0_1.22.4.bb => clutter-1.0_1.24.2.bb} | 5 +-
...-gst-3.0_3.0.8.bb => clutter-gst-3.0_3.0.14.bb} | 4 +-
.../clutter/clutter-gtk-1.0_1.6.2.bb | 6 -
.../clutter/clutter-gtk-1.0_1.6.6.bb | 6 +
.../cogl-framebuffer-gl-Work-again-on-GLESv2.patch | 41 --
meta/recipes-graphics/cogl/cogl-1.0_1.20.0.bb | 8 -
meta/recipes-graphics/cogl/cogl-1.0_1.22.0.bb | 5 +
.../{libcroco_0.6.8.bb => libcroco_0.6.9.bb} | 4 +-
...ed-mime-info_1.4.bb => shared-mime-info_1.5.bb} | 4 +-
15 files changed, 43 insertions(+), 728 deletions(-)
delete mode 100644 meta/recipes-core/dropbear/dropbear_2015.68.bb
create mode 100644 meta/recipes-core/dropbear/dropbear_2015.70.bb
rename meta/recipes-extended/xdg-utils/{xdg-utils_1.1.0-rc1.bb => xdg-utils_1.1.1.bb} (82%)
rename meta/recipes-gnome/gnome/{gnome-common_3.14.0.bb => gnome-common_3.18.0.bb} (71%)
rename meta/recipes-gnome/gsettings-desktop-schemas/{gsettings-desktop-schemas_3.16.1.bb => gsettings-desktop-schemas_3.18.1.bb} (69%)
rename meta/recipes-graphics/clutter/{clutter-1.0_1.22.4.bb => clutter-1.0_1.24.2.bb} (59%)
rename meta/recipes-graphics/clutter/{clutter-gst-3.0_3.0.8.bb => clutter-gst-3.0_3.0.14.bb} (58%)
delete mode 100644 meta/recipes-graphics/clutter/clutter-gtk-1.0_1.6.2.bb
create mode 100644 meta/recipes-graphics/clutter/clutter-gtk-1.0_1.6.6.bb
delete mode 100644 meta/recipes-graphics/cogl/cogl-1.0/cogl-framebuffer-gl-Work-again-on-GLESv2.patch
delete mode 100644 meta/recipes-graphics/cogl/cogl-1.0_1.20.0.bb
create mode 100644 meta/recipes-graphics/cogl/cogl-1.0_1.22.0.bb
rename meta/recipes-support/libcroco/{libcroco_0.6.8.bb => libcroco_0.6.9.bb} (81%)
rename meta/recipes-support/shared-mime-info/{shared-mime-info_1.4.bb => shared-mime-info_1.5.bb} (43%)Signature · 1 line
2.1.4
PATCH 1/10 cogl-1.0: Upgrade 1.20.0 -> 1.22.0
Remove patch that is no longer necessary.
--- .../cogl-framebuffer-gl-Work-again-on-GLESv2.patch | 41 ---------------------- meta/recipes-graphics/cogl/cogl-1.0_1.20.0.bb | 8 ----- meta/recipes-graphics/cogl/cogl-1.0_1.22.0.bb | 5 +++ 3 files changed, 5 insertions(+), 49 deletions(-) delete mode 100644 meta/recipes-graphics/cogl/cogl-1.0/cogl-framebuffer-gl-Work-again-on-GLESv2.patch delete mode 100644 meta/recipes-graphics/cogl/cogl-1.0_1.20.0.bb create mode 100644 meta/recipes-graphics/cogl/cogl-1.0_1.22.0.bb
meta/recipes-graphics/cogl/cogl-1.0/cogl-framebuffer-gl-Work-again-on-GLESv2.patch deleted +0 -41
@@ -1,41 +0,0 @@ -Upstream-Status: Backport -Signed-off-by: Jussi Kukkonen <[email protected]> - - - -From f8cce5f6cb2958a4074f87cd345bfe46e0dda6e1 Mon Sep 17 00:00:00 2001 -From: "Jasper St. Pierre" <[email protected]> -Date: Mon, 20 Apr 2015 12:08:29 -0700 -Subject: cogl-framebuffer-gl: Work again on GLESv2 - - -diff --git a/cogl/driver/gl/cogl-framebuffer-gl.c b/cogl/driver/gl/cogl-framebuffer-gl.c -index 793b10b..609cfb3 100644 ---- a/cogl/driver/gl/cogl-framebuffer-gl.c -+++ b/cogl/driver/gl/cogl-framebuffer-gl.c -@@ -107,6 +107,12 @@ - #ifndef GL_PACK_INVERT_MESA - #define GL_PACK_INVERT_MESA 0x8758 - #endif -+#ifndef GL_BACK_LEFT -+#define GL_BACK_LEFT 0x0402 -+#endif -+#ifndef GL_BACK_RIGHT -+#define GL_BACK_RIGHT 0x0403 -+#endif - - #ifndef GL_COLOR - #define GL_COLOR 0x1800 -@@ -245,6 +251,9 @@ _cogl_framebuffer_gl_flush_stereo_mode_state (CoglFramebuffer *framebuffer) - if (framebuffer->type == COGL_FRAMEBUFFER_TYPE_OFFSCREEN) - return; - -+ if (!ctx->glDrawBuffer) -+ return; -+ - /* The one-shot default draw buffer setting in _cogl_framebuffer_gl_bind - * must have already happened. If not it would override what we set here. */ - g_assert (ctx->was_bound_to_onscreen); --- -cgit v0.10.2 -
meta/recipes-graphics/cogl/cogl-1.0_1.20.0.bb deleted +0 -8
@@ -1,8 +0,0 @@ -require cogl-1.0.inc - -SRC_URI += "file://cogl-framebuffer-gl-Work-again-on-GLESv2.patch" - -LIC_FILES_CHKSUM = "file://COPYING;md5=1b1a508d91d25ca607c83f92f3e31c84" -SRC_URI[archive.md5sum] = "5b28897194d9ff76a574a9493d1f7ee0" -SRC_URI[archive.sha256sum] = "729e35495829e7d31fafa3358e47b743ba21a2b08ff9b6cd28fb74c0de91192b" -
meta/recipes-graphics/cogl/cogl-1.0_1.22.0.bb new file +5 -0
@@ -0,0 +1,5 @@ +require cogl-1.0.inc + +LIC_FILES_CHKSUM = "file://COPYING;md5=1b1a508d91d25ca607c83f92f3e31c84" +SRC_URI[archive.md5sum] = "ab684ec96848d79d22757fb3064820c8" +SRC_URI[archive.sha256sum] = "689dfb5d14fc1106e9d2ded0f7930dcf7265d0bc84fa846b4f03941633eeaa91"
Signature · 1 line
2.1.4
PATCH 2/10 clutter-1.0: Upgrade 1.24.2
---
.../clutter/{clutter-1.0_1.22.4.bb => clutter-1.0_1.24.2.bb} | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
rename meta/recipes-graphics/clutter/{clutter-1.0_1.22.4.bb => clutter-1.0_1.24.2.bb} (59%)meta/recipes-graphics/clutter/clutter-1.0_1.24.2.bb renamed from meta/recipes-graphics/clutter/clutter-1.0_1.22.4.bb +2 -3
@@ -2,9 +2,8 @@ require clutter-1.0.inc LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" -SRC_URI[archive.md5sum] = "26494256c980d49703a553916e3083cd" -SRC_URI[archive.sha256sum] = "1d77ce16025f87667a1d00dc4fa617a1935156f63fd17635fdadf138866c9e1e" - +SRC_URI[archive.md5sum] = "3b98e1b33719982a5736ae42cbf7183e" +SRC_URI[archive.sha256sum] = "9631c98cb4bcbfec15e1bbe9eaa6eef0f127201552fce40d7d28f2133803cd63" SRC_URI += "file://install-examples.patch \ file://run-installed-tests-with-tap-output.patch \ file://run-ptest"
Signature · 1 line
2.1.4
PATCH 3/10 clutter-gst-3.0: Upgrade 3.0.8 -> 3.0.14
In reply to Jussi Kukkonen---
.../clutter/{clutter-gst-3.0_3.0.8.bb => clutter-gst-3.0_3.0.14.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-graphics/clutter/{clutter-gst-3.0_3.0.8.bb => clutter-gst-3.0_3.0.14.bb} (58%)meta/recipes-graphics/clutter/clutter-gst-3.0_3.0.14.bb renamed from meta/recipes-graphics/clutter/clutter-gst-3.0_3.0.8.bb +2 -2
@@ -3,5 +3,5 @@ require clutter-gst-3.0.inc LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ file://clutter-gst/clutter-gst.h;beginline=1;endline=24;md5=95baacba194e814c110ea3bdf25ddbf4" -SRC_URI[archive.md5sum] = "f7d97f96e7cca82f38317d1734d5dadb" -SRC_URI[archive.sha256sum] = "582e85b88482e16f7ec719363e38fadf84fab4d4baaa21e5227a454b824f135c" +SRC_URI[archive.md5sum] = "635df0aef328fdcb8b2b565525dec3be" +SRC_URI[archive.sha256sum] = "f7c8a7dc479759cad5ff7483cb5a1abbe3efd0b4f83ed0e443dc602430a82de2"
Signature · 1 line
2.1.4
PATCH 4/10 clutter-gtk-1.0: Upgrade 1.6.2 -> 1.6.6
In reply to Jussi Kukkonen--- meta/recipes-graphics/clutter/clutter-gtk-1.0_1.6.2.bb | 6 ------ meta/recipes-graphics/clutter/clutter-gtk-1.0_1.6.6.bb | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 meta/recipes-graphics/clutter/clutter-gtk-1.0_1.6.2.bb create mode 100644 meta/recipes-graphics/clutter/clutter-gtk-1.0_1.6.6.bb
meta/recipes-graphics/clutter/clutter-gtk-1.0_1.6.2.bb deleted +0 -6
@@ -1,6 +0,0 @@ -require clutter-gtk-1.0.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" - -SRC_URI[archive.md5sum] = "557d814c3e70cc3a2d1cf3816919b14f" -SRC_URI[archive.sha256sum] = "bbd03dfa9a20102d5cdb440513b0a035933da557ad7e9da31546034de2daf069"
meta/recipes-graphics/clutter/clutter-gtk-1.0_1.6.6.bb new file +6 -0
@@ -0,0 +1,6 @@ +require clutter-gtk-1.0.inc + +LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" + +SRC_URI[archive.md5sum] = "79dc3d7a8645f87d83a9ccca8a08aa8e" +SRC_URI[archive.sha256sum] = "9440a68600f58d00fe0af35383738943e8ead9907f4cf507a102d96822434a28"
Signature · 1 line
2.1.4
PATCH 5/10 gnome-common: Upgrade 3.14.0 -> 3.18.0
In reply to Jussi Kukkonen---
.../gnome/{gnome-common_3.14.0.bb => gnome-common_3.18.0.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-gnome/gnome/{gnome-common_3.14.0.bb => gnome-common_3.18.0.bb} (71%)meta/recipes-gnome/gnome/gnome-common_3.18.0.bb renamed from meta/recipes-gnome/gnome/gnome-common_3.14.0.bb +2 -2
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SECTION = "x11/gnome" inherit gnomebase allarch -SRC_URI[archive.md5sum] = "ba58c61d0d81b7c3ff8452c620513a9d" -SRC_URI[archive.sha256sum] = "4c00242f781bb441289f49dd80ed1d895d84de0c94bfc2c6818a104c9e39262c" +SRC_URI[archive.md5sum] = "933258d9c23e218eb6eec9cc1951b053" +SRC_URI[archive.sha256sum] = "22569e370ae755e04527b76328befc4c73b62bfd4a572499fde116b8318af8cf" EXTRA_AUTORECONF = "" DEPENDS = ""
Signature · 1 line
2.1.4
PATCH 6/10 gsettings-desktop-schemas: Upgrade 2.16.1 -> 3.18.1
In reply to Jussi Kukkonen---
...desktop-schemas_3.16.1.bb => gsettings-desktop-schemas_3.18.1.bb} | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
rename meta/recipes-gnome/gsettings-desktop-schemas/{gsettings-desktop-schemas_3.16.1.bb => gsettings-desktop-schemas_3.18.1.bb} (69%)meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_3.18.1.bb renamed from meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_3.16.1.bb +3 -2
@@ -9,5 +9,6 @@ DEPENDS = "glib-2.0 intltool-native gobject-introspection-stub-native" inherit gnomebase gsettings gettext -SRC_URI[archive.md5sum] = "baebbcf3c20591f98876e42fb0a3fd35" -SRC_URI[archive.sha256sum] = "74fe9fdad510c8a6666febeceb7ebafc581ef990b3afcc8c1e8b5d90b24b3461" +SRC_URI[archive.md5sum] = "e7ec56bb55013e89500c8f3ae6fcf738" +SRC_URI[archive.sha256sum] = "258713b2a3dc6b6590971bcfc81f98d78ea9827d60e2f55ffbe40d9cd0f99a1a" +
Signature · 1 line
2.1.4
PATCH 7/10 xdg-utils: Upgrade to 1.1.1
In reply to Jussi Kukkonen* Add new build dependencies
* Replace the xdg-terminal patch with a smaller one that enables building the script from source
---
.../xdg-utils/0001-Reinstate-xdg-terminal.patch | 665 +--------------------
.../{xdg-utils_1.1.0-rc1.bb => xdg-utils_1.1.1.bb} | 5 +-
2 files changed, 14 insertions(+), 656 deletions(-)
rename meta/recipes-extended/xdg-utils/{xdg-utils_1.1.0-rc1.bb => xdg-utils_1.1.1.bb} (82%)meta/recipes-extended/xdg-utils/xdg-utils/0001-Reinstate-xdg-terminal.patch +11 -654
@@ -1,22 +1,20 @@ -From 174aa7206f4b308d4d2292bb8067a07d8cc715c0 Mon Sep 17 00:00:00 2001 -From: Koen Kooi <[email protected]> -Date: Tue, 29 Apr 2014 07:29:32 +0200 -Subject: [PATCH] Reinstate xdg-terminal +From 37e227ae1766568d8de55e268bb69bc15eee3529 Mon Sep 17 00:00:00 2001 +From: Jussi Kukkonen <[email protected]> +Date: Thu, 26 Nov 2015 16:01:47 +0200 +Subject: [PATCH] Enable xdg-terminal -Signed-off-by: Koen Kooi <[email protected]> +Upstream-Status: Inappropriate [configuration] -Upstream-Status: Inappropriate [Revert] +Signed-off-by: Jussi Kukkonen <[email protected]> --- - scripts/Makefile.in | 6 +- - scripts/xdg-terminal | 622 +++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 625 insertions(+), 3 deletions(-) - create mode 100755 scripts/xdg-terminal + scripts/Makefile.in | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/Makefile.in b/scripts/Makefile.in -index 2c7d2ac..bef10d1 100644 +index d167393..430032d 100644 --- a/scripts/Makefile.in +++ b/scripts/Makefile.in -@@ -20,11 +20,11 @@ SCRIPTS = \ +@@ -20,7 +20,8 @@ SCRIPTS = \ xdg-open \ xdg-email \ xdg-screensaver \
@@ -26,647 +24,6 @@ index 2c7d2ac..bef10d1 100644 # xdg-su # xdg-copy \ # xdg-file-dialog --# xdg-terminal - - MANPAGES= $(SCRIPTS:%=man/%.1) - WEBPAGES= $(SCRIPTS:%=%.html) -@@ -42,7 +42,7 @@ release: scripts html man - rm -f xdg-*.in *~ HACKING generate-help-script.awk - rm -rf desc/ - rm -rf xsl/ -- rm -f xdg-file-dialog xdg-su xdg-copy xdg-terminal -+ rm -f xdg-file-dialog xdg-su xdg-copy - - distclean: clean - rm -f Makefile -diff --git a/scripts/xdg-terminal b/scripts/xdg-terminal -new file mode 100755 -index 0000000..4bd9205 ---- /dev/null -+++ b/scripts/xdg-terminal -@@ -0,0 +1,622 @@ -+#!/bin/sh -+#--------------------------------------------- -+# xdg-terminal -+# -+# Utility script to open the registered terminal emulator -+# -+# Refer to the usage() function below for usage. -+# -+# Copyright 2009-2010, Fathi Boudra <[email protected]> -+# Copyright 2009-2010, Rex Dieter <[email protected]> -+# Copyright 2006, Kevin Krammer <[email protected]> -+# -+# LICENSE: -+# -+# Permission is hereby granted, free of charge, to any person obtaining a -+# copy of this software and associated documentation files (the "Software"), -+# to deal in the Software without restriction, including without limitation -+# the rights to use, copy, modify, merge, publish, distribute, sublicense, -+# and/or sell copies of the Software, and to permit persons to whom the -+# Software is furnished to do so, subject to the following conditions: -+# -+# The above copyright notice and this permission notice shall be included -+# in all copies or substantial portions of the Software. -+# -+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR -+# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -+# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -+# OTHER DEALINGS IN THE SOFTWARE. -+# -+#--------------------------------------------- -+ -+manualpage() -+{ -+cat << _MANUALPAGE -+Name -+ -+ xdg-terminal - opens the user's preferred terminal emulator application -+ -+Synopsis -+ -+ xdg-terminal [command] -+ -+ xdg-terminal { --help | --manual | --version } -+ -+Description -+ -+ xdg-terminal opens the user's preferred terminal emulator application. If -+ a command is provided the command will be executed by the shell within the -+ newly opened terminal window. -+ -+ xdg-terminal is for use inside a desktop session only. It is not -+ recommended to use xdg-terminal as root. -+ -+Options -+ -+ --help -+ Show command synopsis. -+ -+ --manual -+ Show this manual page. -+ -+ --version -+ Show the xdg-utils version information. -+ -+Exit Codes -+ -+ An exit code of 0 indicates success while a non-zero exit code indicates -+ failure. The following failure codes can be returned: -+ -+ 1 -+ Error in command line syntax. -+ -+ 3 -+ A required tool could not be found. -+ -+ 4 -+ The action failed. -+ -+Examples -+ -+ xdg-terminal -+ -+ Opens the user's default terminal emulator, just starting an interactive -+ shell. -+ -+ xdg-terminal top -+ -+ Opens the user's default terminal emulator and lets it run the top -+ executable. -+_MANUALPAGE -+} -+ -+usage() -+{ -+cat << _USAGE -+ xdg-terminal - opens the user's preferred terminal emulator application -+ -+Synopsis -+ -+ xdg-terminal [command] -+ -+ xdg-terminal { --help | --manual | --version } -+ -+_USAGE -+} -+ -+#@xdg-utils-common@ -+ -+#---------------------------------------------------------------------------- -+# Common utility functions included in all XDG wrapper scripts -+#---------------------------------------------------------------------------- -+ -+DEBUG() -+{ -+ [ -z "${XDG_UTILS_DEBUG_LEVEL}" ] && return 0; -+ [ ${XDG_UTILS_DEBUG_LEVEL} -lt $1 ] && return 0; -+ shift -+ echo "$@" >&2 -+} -+ -+# This handles backslashes but not quote marks. -+first_word() -+{ -+ read first rest -+ echo "$first" -+} -+ -+#------------------------------------------------------------- -+# map a binary to a .desktop file -+binary_to_desktop_file() -+{ -+ search="${XDG_DATA_HOME:-$HOME/.local/share}:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}" -+ binary="`which "$1"`" -+ binary="`readlink -f "$binary"`" -+ base="`basename "$binary"`" -+ IFS=: -+ for dir in $search; do -+ unset IFS -+ [ "$dir" ] || continue -+ [ -d "$dir/applications" ] || [ -d "$dir/applnk" ] || continue -+ for file in "$dir"/applications/*.desktop "$dir"/applications/*/*.desktop "$dir"/applnk/*.desktop "$dir"/applnk/*/*.desktop; do -+ [ -r "$file" ] || continue -+ # Check to make sure it's worth the processing. -+ grep -q "^Exec.*$base" "$file" || continue -+ # Make sure it's a visible desktop file (e.g. not "preferred-web-browser.desktop"). -+ grep -Eq "^(NoDisplay|Hidden)=true" "$file" && continue -+ command="`grep -E "^Exec(\[[^]=]*])?=" "$file" | cut -d= -f 2- | first_word`" -+ command="`which "$command"`" -+ if [ x"`readlink -f "$command"`" = x"$binary" ]; then -+ # Fix any double slashes that got added path composition -+ echo "$file" | sed -e 's,//*,/,g' -+ return -+ fi -+ done -+ done -+} -+ -+#------------------------------------------------------------- -+# map a .desktop file to a binary -+## FIXME: handle vendor dir case -+desktop_file_to_binary() -+{ -+ search="${XDG_DATA_HOME:-$HOME/.local/share}:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}" -+ desktop="`basename "$1"`" -+ IFS=: -+ for dir in $search; do -+ unset IFS -+ [ "$dir" ] && [ -d "$dir/applications" ] || continue -+ file="$dir/applications/$desktop" -+ [ -r "$file" ] || continue -+ # Remove any arguments (%F, %f, %U, %u, etc.). -+ command="`grep -E "^Exec(\[[^]=]*])?=" "$file" | cut -d= -f 2- | first_word`" -+ command="`which "$command"`" -+ readlink -f "$command" -+ return -+ done -+} -+ -+#------------------------------------------------------------- -+# Exit script on successfully completing the desired operation -+ -+exit_success() -+{ -+ if [ $# -gt 0 ]; then -+ echo "$@" -+ echo -+ fi -+ -+ exit 0 -+} -+ -+ -+#----------------------------------------- -+# Exit script on malformed arguments, not enough arguments -+# or missing required option. -+# prints usage information -+ -+exit_failure_syntax() -+{ -+ if [ $# -gt 0 ]; then -+ echo "xdg-terminal: $@" >&2 -+ echo "Try 'xdg-terminal --help' for more information." >&2 -+ else -+ usage -+ echo "Use 'man xdg-terminal' or 'xdg-terminal --manual' for additional info." -+ fi -+ -+ exit 1 -+} -+ -+#------------------------------------------------------------- -+# Exit script on missing file specified on command line -+ -+exit_failure_file_missing() -+{ -+ if [ $# -gt 0 ]; then -+ echo "xdg-terminal: $@" >&2 -+ fi -+ -+ exit 2 -+} -+ -+#------------------------------------------------------------- -+# Exit script on failure to locate necessary tool applications -+ -+exit_failure_operation_impossible() -+{ -+ if [ $# -gt 0 ]; then -+ echo "xdg-terminal: $@" >&2 -+ fi -+ -+ exit 3 -+} -+ -+#------------------------------------------------------------- -+# Exit script on failure returned by a tool application -+ -+exit_failure_operation_failed() -+{ -+ if [ $# -gt 0 ]; then -+ echo "xdg-terminal: $@" >&2 -+ fi -+ -+ exit 4 -+} -+ -+#------------------------------------------------------------ -+# Exit script on insufficient permission to read a specified file -+ -+exit_failure_file_permission_read() -+{ -+ if [ $# -gt 0 ]; then -+ echo "xdg-terminal: $@" >&2 -+ fi -+ -+ exit 5 -+} -+ -+#------------------------------------------------------------ -+# Exit script on insufficient permission to write a specified file -+ -+exit_failure_file_permission_write() -+{ -+ if [ $# -gt 0 ]; then -+ echo "xdg-terminal: $@" >&2 -+ fi -+ -+ exit 6 -+} -+ -+check_input_file() -+{ -+ if [ ! -e "$1" ]; then -+ exit_failure_file_missing "file '$1' does not exist" -+ fi -+ if [ ! -r "$1" ]; then -+ exit_failure_file_permission_read "no permission to read file '$1'" -+ fi -+} -+ -+check_vendor_prefix() -+{ -+ file_label="$2" -+ [ -n "$file_label" ] || file_label="filename" -+ file=`basename "$1"` -+ case "$file" in -+ [[:alpha:]]*-*) -+ return -+ ;; -+ esac -+ -+ echo "xdg-terminal: $file_label '$file' does not have a proper vendor prefix" >&2 -+ echo 'A vendor prefix consists of alpha characters ([a-zA-Z]) and is terminated' >&2 -+ echo 'with a dash ("-"). An example '"$file_label"' is '"'example-$file'" >&2 -+ echo "Use --novendor to override or 'xdg-terminal --manual' for additional info." >&2 -+ exit 1 -+} -+ -+check_output_file() -+{ -+ # if the file exists, check if it is writeable -+ # if it does not exists, check if we are allowed to write on the directory -+ if [ -e "$1" ]; then -+ if [ ! -w "$1" ]; then -+ exit_failure_file_permission_write "no permission to write to file '$1'" -+ fi -+ else -+ DIR=`dirname "$1"` -+ if [ ! -w "$DIR" ] || [ ! -x "$DIR" ]; then -+ exit_failure_file_permission_write "no permission to create file '$1'" -+ fi -+ fi -+} -+ -+#---------------------------------------- -+# Checks for shared commands, e.g. --help -+ -+check_common_commands() -+{ -+ while [ $# -gt 0 ] ; do -+ parm="$1" -+ shift -+ -+ case "$parm" in -+ --help) -+ usage -+ echo "Use 'man xdg-terminal' or 'xdg-terminal --manual' for additional info." -+ exit_success -+ ;; -+ -+ --manual) -+ manualpage -+ exit_success -+ ;; -+ -+ --version) -+ echo "xdg-terminal 1.1.0 rc1" -+ exit_success -+ ;; -+ esac -+ done -+} -+ -+check_common_commands "$@" -+ -+[ -z "${XDG_UTILS_DEBUG_LEVEL}" ] && unset XDG_UTILS_DEBUG_LEVEL; -+if [ ${XDG_UTILS_DEBUG_LEVEL-0} -lt 1 ]; then -+ # Be silent -+ xdg_redirect_output=" > /dev/null 2> /dev/null" -+else -+ # All output to stderr -+ xdg_redirect_output=" >&2" -+fi -+ -+#-------------------------------------- -+# Checks for known desktop environments -+# set variable DE to the desktop environments name, lowercase -+ -+detectDE() -+{ -+ # see https://bugs.freedesktop.org/show_bug.cgi?id=34164 -+ unset GREP_OPTIONS -+ -+ if [ -n "${XDG_CURRENT_DESKTOP}" ]; then -+ case "${XDG_CURRENT_DESKTOP}" in -+ ENLIGHTENMENT) -+ DE=enlightenment; -+ ;; -+ GNOME) -+ DE=gnome; -+ ;; -+ KDE) -+ DE=kde; -+ ;; -+ LXDE) -+ DE=lxde; -+ ;; -+ MATE) -+ DE=mate; -+ ;; -+ XFCE) -+ DE=xfce -+ ;; -+ esac -+ fi -+ -+ if [ x"$DE" = x"" ]; then -+ # classic fallbacks -+ if [ x"$KDE_FULL_SESSION" != x"" ]; then DE=kde; -+ elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome; -+ elif [ x"$MATE_DESKTOP_SESSION_ID" != x"" ]; then DE=mate; -+ elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager > /dev/null 2>&1` ; then DE=gnome; -+ elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce; -+ elif xprop -root 2> /dev/null | grep -i '^xfce_desktop_window' >/dev/null 2>&1; then DE=xfce -+ elif echo $DESKTOP | grep -q '^Enlightenment'; then DE=enlightenment; -+ fi -+ fi -+ -+ if [ x"$DE" = x"" ]; then -+ # fallback to checking $DESKTOP_SESSION -+ case "$DESKTOP_SESSION" in -+ gnome) -+ DE=gnome; -+ ;; -+ LXDE|Lubuntu) -+ DE=lxde; -+ ;; -+ MATE) -+ DE=mate; -+ ;; -+ xfce|xfce4|'Xfce Session') -+ DE=xfce; -+ ;; -+ esac -+ fi -+ -+ if [ x"$DE" = x"" ]; then -+ # fallback to uname output for other platforms -+ case "$(uname 2>/dev/null)" in -+ Darwin) -+ DE=darwin; -+ ;; -+ esac -+ fi -+ -+ if [ x"$DE" = x"gnome" ]; then -+ # gnome-default-applications-properties is only available in GNOME 2.x -+ # but not in GNOME 3.x -+ which gnome-default-applications-properties > /dev/null 2>&1 || DE="gnome3" -+ fi -+} -+ -+#---------------------------------------------------------------------------- -+# kfmclient exec/openURL can give bogus exit value in KDE <= 3.5.4 -+# It also always returns 1 in KDE 3.4 and earlier -+# Simply return 0 in such case -+ -+kfmclient_fix_exit_code() -+{ -+ version=`LC_ALL=C.UTF-8 kde-config --version 2>/dev/null | grep '^KDE'` -+ major=`echo $version | sed 's/KDE.*: \([0-9]\).*/\1/'` -+ minor=`echo $version | sed 's/KDE.*: [0-9]*\.\([0-9]\).*/\1/'` -+ release=`echo $version | sed 's/KDE.*: [0-9]*\.[0-9]*\.\([0-9]\).*/\1/'` -+ test "$major" -gt 3 && return $1 -+ test "$minor" -gt 5 && return $1 -+ test "$release" -gt 4 && return $1 -+ return 0 -+} -+ -+terminal_kde() -+{ -+ terminal=`kreadconfig --file kdeglobals --group General --key TerminalApplication --default konsole` -+ -+ terminal_exec=`which $terminal 2>/dev/null` -+ -+ if [ -x "$terminal_exec" ]; then -+ if [ x"$1" = x"" ]; then -+ $terminal_exec -+ else -+ $terminal_exec -e "$1" -+ fi -+ -+ if [ $? -eq 0 ]; then -+ exit_success -+ else -+ exit_failure_operation_failed -+ fi -+ else -+ exit_failure_operation_impossible "configured terminal program '$terminal' not found or not executable" -+ fi -+} -+ -+terminal_gnome() -+{ -+ term_exec_key="/desktop/gnome/applications/terminal/exec" -+ term_exec_arg_key="/desktop/gnome/applications/terminal/exec_arg" -+ -+ term_exec=`gconftool-2 --get ${term_exec_key}` -+ term_exec_arg=`gconftool-2 --get ${term_exec_arg_key}` -+ -+ terminal_exec=`which $term_exec 2>/dev/null` -+ -+ if [ -x "$terminal_exec" ]; then -+ if [ x"$1" = x"" ]; then -+ $terminal_exec -+ else -+ if [ x"$term_exec_arg" = x"" ]; then -+ $terminal_exec "$1" -+ else -+ $terminal_exec "$term_exec_arg" "$1" -+ fi -+ fi -+ -+ if [ $? -eq 0 ]; then -+ exit_success -+ else -+ exit_failure_operation_failed -+ fi -+ else -+ exit_failure_operation_impossible "configured terminal program '$term_exec' not found or not executable" -+ fi -+} -+ -+terminal_xfce() -+{ -+ if [ x"$1" = x"" ]; then -+ exo-open --launch TerminalEmulator -+ else -+ exo-open --launch TerminalEmulator "$1" -+ fi -+ -+ if [ $? -eq 0 ]; then -+ exit_success -+ else -+ exit_failure_operation_failed -+ fi -+} -+ -+terminal_generic() -+{ -+ # if $TERM is a known non-command, use hard-coded fallbacks -+ if [ x"$TERM" = x"" ] || [ x"$TERM" = x"linux" ] || [ x"$TERM" = x"vt100" ]; then -+ TERM=xterm -+ fi -+ -+ terminal_exec=`which $TERM 2>/dev/null` -+ -+ if [ -x "$terminal_exec" ]; then -+ if [ x"$1" = x"" ]; then -+ $terminal_exec -+ else -+ # screen and urxvt won't do their own parsing of quoted arguments -+ if [ x"$TERM" = x"screen" ]; then -+ # screen has an incompatible meaning for -e -+ sh -c "exec $terminal_exec $1" -+ elif [ x"$TERM" = x"urxvt" ] || [ x"$TERM" = x"rxvt-unicode" ] || [ x"$TERM" = x"rxvt" ]; then -+ #TODO: Use whatever mechanism dash supports to test for -+ # rxvt-* to match things like rxvt-unicode-256color -+ sh -c "exec $terminal_exec -e $1" -+ else -+ $terminal_exec -e "$1" -+ fi -+ fi -+ -+ if [ $? -eq 0 ]; then -+ exit_success -+ else -+ exit_failure_operation_failed -+ fi -+ else -+ exit_failure_operation_impossible "configured terminal program '$TERM' not found or not executable" -+ fi -+} -+ -+terminal_lxde() -+{ -+ if which lxterminal &>/dev/null; then -+ if [ x"$1" = x"" ]; then -+ lxterminal -+ else -+ lxterminal -e "$1" -+ fi -+ else -+ terminal_generic "$1" -+ fi -+} -+ -+#[ x"$1" != x"" ] || exit_failure_syntax -+ -+command= -+while [ $# -gt 0 ] ; do -+ parm="$1" -+ shift -+ -+ case "$parm" in -+ -*) -+ exit_failure_syntax "unexpected option '$parm'" -+ ;; -+ -+ *) -+ if [ -n "$command" ] ; then -+ exit_failure_syntax "unexpected argument '$parm'" -+ fi -+ command="$parm" -+ ;; -+ esac -+done -+ -+detectDE -+ -+if [ x"$DE" = x"" ]; then -+ DE=generic -+fi -+ -+case "$DE" in -+ kde) -+ terminal_kde "$command" -+ ;; -+ -+ gnome*) -+ terminal_gnome "$command" -+ ;; -+ -+ xfce) -+ terminal_xfce "$command" -+ ;; -+ -+ lxde) -+ terminal_lxde "$command" -+ ;; -+ -+ generic) -+ terminal_generic "$command" -+ ;; -+ -+ *) -+ exit_failure_operation_impossible "no terminal emulator available" -+ ;; -+esac -- -1.9.0 +2.1.4
meta/recipes-extended/xdg-utils/xdg-utils_1.1.1.bb renamed from meta/recipes-extended/xdg-utils/xdg-utils_1.1.0-rc1.bb +3 -2
@@ -21,12 +21,13 @@ SRC_URI = "http://portland.freedesktop.org/download/${BPN}-${PV}.tar.gz \ file://0001-Reinstate-xdg-terminal.patch \ " -SRC_URI[md5sum] = "fadf5e7a08e0526fc60dbe3e5b7ef8d6" -SRC_URI[sha256sum] = "7b05558ae4bb8ede356863cae8c42e3e012aa421bf9d45130a570fd209d79102" +SRC_URI[md5sum] = "2d0aec6037769a5f138ff404b1bb4b15" +SRC_URI[sha256sum] = "b0dd63a2576e0bb16f1aa78d6ddf7d6784784a098d4df17161cd6a17c7bc4125" inherit autotools-brokensep distro_features_check # The xprop requires x11 in DISTRO_FEATURES REQUIRED_DISTRO_FEATURES = "x11" +DEPENDS = "xmlto-native libxslt-native" RDEPENDS_${PN} += "xprop"
Signature · 1 line
2.1.4
PATCH 8/10 shared-mime-info: Upgrade 1.4 -> 1.5
In reply to Jussi Kukkonen---
.../{shared-mime-info_1.4.bb => shared-mime-info_1.5.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-support/shared-mime-info/{shared-mime-info_1.4.bb => shared-mime-info_1.5.bb} (43%)meta/recipes-support/shared-mime-info/shared-mime-info_1.5.bb renamed from meta/recipes-support/shared-mime-info/shared-mime-info_1.4.bb +2 -2
@@ -3,5 +3,5 @@ require shared-mime-info.inc SRC_URI += "file://parallelmake.patch \ file://install-data-hook.patch" -SRC_URI[md5sum] = "16c02f7b658fff2a9c207406d388ea31" -SRC_URI[sha256sum] = "bbc0bd023f497dfd75e1ca73441cbbb5a63617d9e14f2790b868361cc055b5b1" +SRC_URI[md5sum] = "cc3e78d8bceaf2b361f62d67a8b4dda4" +SRC_URI[sha256sum] = "d6412840eb265bf36e61fd7b6fc6bea21b0f58cb22bed16f2ccccdd54bea4180"
Signature · 1 line
2.1.4
PATCH 9/10 libcroco: Upgrade 0.6.8 -> 0.6.9
In reply to Jussi Kukkonen---
.../recipes-support/libcroco/{libcroco_0.6.8.bb => libcroco_0.6.9.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-support/libcroco/{libcroco_0.6.8.bb => libcroco_0.6.9.bb} (81%)meta/recipes-support/libcroco/libcroco_0.6.9.bb renamed from meta/recipes-support/libcroco/libcroco_0.6.8.bb +2 -2
@@ -17,5 +17,5 @@ BINCONFIG = "${bindir}/croco-0.6-config" inherit autotools pkgconfig gnomebase gtk-doc binconfig-disabled -SRC_URI[archive.md5sum] = "767e73c4174f75b99695d4530fd9bb80" -SRC_URI[archive.sha256sum] = "ea6e1b858c55219cefd7109756bff5bc1a774ba7a55f7d3ccd734d6b871b8570" +SRC_URI[archive.md5sum] = "f1863da805c9206563da06f56da1ea55" +SRC_URI[archive.sha256sum] = "38b9a6aed1813e55b3ca07a68d1af845ad4d1f984602e9272fe692930c0be0ae"
Signature · 1 line
2.1.4
PATCH 10/10 dropbear: Upgrade 2015.68 -> 2015.70
In reply to Jussi Kukkonen--- meta/recipes-core/dropbear/dropbear_2015.68.bb | 4 ---- meta/recipes-core/dropbear/dropbear_2015.70.bb | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) delete mode 100644 meta/recipes-core/dropbear/dropbear_2015.68.bb create mode 100644 meta/recipes-core/dropbear/dropbear_2015.70.bb
meta/recipes-core/dropbear/dropbear_2015.68.bb deleted +0 -4
@@ -1,4 +0,0 @@ -require dropbear.inc - -SRC_URI[md5sum] = "7664ac10f7cc2301c530eb80c756fc5d" -SRC_URI[sha256sum] = "55ea7c1e904ffe4b1cdbe1addca8291a2533d7d285fd22ac33608e9502a62446"
meta/recipes-core/dropbear/dropbear_2015.70.bb new file +5 -0
@@ -0,0 +1,5 @@ +require dropbear.inc + +SRC_URI[md5sum] = "0b0a1d9be6a094710d884209562a626c" +SRC_URI[sha256sum] = "62a8cc3df1d0f136d46f50d4f8d92f7ab7ce1addac76b25446b3f6aaf80bf257" +
Signature · 1 line
2.1.4
Re: [PATCH 10/10] dropbear: Upgrade 2015.68 -> 2015.70
Quoted 19 lines · Jussi Kukkonen
meta/recipes-core/dropbear/dropbear_2015.68.bb deleted +0
-4@@ -1,4 +0,0 @@ -require dropbear.inc - -SRC_URI[md5sum] = "7664ac10f7cc2301c530eb80c756fc5d" -SRC_URI[sha256sum] ="
55ea7c1e904ffe4b1cdbe1addca8291a2533d7d285fd22ac33608e9502a62446"meta/recipes-core/dropbear/dropbear_2015.70.bb new file +4
-0@@ -0,0 +1,5 @@ +require dropbear.inc + +SRC_URI[md5sum] = "0b0a1d9be6a094710d884209562a626c" +SRC_URI[sha256sum] =
Quoted 2 lines
"
62a8cc3df1d0f136d46f50d4f8d92f7ab7ce1addac76b25446b3f6aaf80bf257"
ERROR: Command Error: exit status: 1 Output:
Applying patch 0005-dropbear-enable-pam.patch
patching file options.h
Hunk #1 FAILED at 192.
1 out of 1 hunk FAILED -- rejects in file options.h
Patch 0005-dropbear-enable-pam.patch does not apply (enforce with -f)
(I do builds with PAM enabled, which isn't the case for plain poky).
Ross
PATCH v2 10/10 dropbear: Upgrade 2015.68 -> 2015.70
Tweak a pam patch to make it apply on current source.
---
Changes since v1:
* Fix the pam options.h patch
I've force pushed the branch with this change.
Thanks,
Jussi
.../dropbear/0005-dropbear-enable-pam.patch | 26 ++++++++++++++-------- meta/recipes-core/dropbear/dropbear_2015.68.bb | 4 ---- meta/recipes-core/dropbear/dropbear_2015.70.bb | 5 +++++ 3 files changed, 22 insertions(+), 13 deletions(-) delete mode 100644 meta/recipes-core/dropbear/dropbear_2015.68.bb create mode 100644 meta/recipes-core/dropbear/dropbear_2015.70.bb
meta/recipes-core/dropbear/dropbear/0005-dropbear-enable-pam.patch +17 -9
@@ -1,28 +1,36 @@ -Subject: [PATCH 5/6] dropbear enable pam +From b8cece92ba19aa77ac013ea161bfe4c7147747c9 Mon Sep 17 00:00:00 2001 +From: Jussi Kukkonen <[email protected]> +Date: Wed, 2 Dec 2015 11:36:02 +0200 +Subject: Enable pam -dropbear: We need modify file option.h besides enabling pam in \ +We need modify file option.h besides enabling pam in configure if we want dropbear to support pam. Upstream-Status: Pending Signed-off-by: Xiaofeng Yan <[email protected]> +Signed-off-by: Jussi Kukkonen <[email protected]> --- options.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -Index: dropbear-2013.62/options.h -=================================================================== ---- dropbear-2013.62.orig/options.h 2014-01-14 21:53:02.803262009 +0000 -+++ dropbear-2013.62/options.h 2014-01-14 21:53:56.119263462 +0000 -@@ -192,9 +192,9 @@ - * PAM challenge/response. - * You can't enable both PASSWORD and PAM. */ +diff --git a/options.h b/options.h +index 94261f6..90bfe2f 100644 +--- a/options.h ++++ b/options.h +@@ -208,10 +208,10 @@ If you test it please contact the Dropbear author */ + /* This requires crypt() */ + #ifdef HAVE_CRYPT -#define ENABLE_SVR_PASSWORD_AUTH +/*#define ENABLE_SVR_PASSWORD_AUTH*/ + #endif /* PAM requires ./configure --enable-pam */ -/*#define ENABLE_SVR_PAM_AUTH */ +#define ENABLE_SVR_PAM_AUTH #define ENABLE_SVR_PUBKEY_AUTH /* Whether to take public key options in +-- +2.1.4 +
meta/recipes-core/dropbear/dropbear_2015.68.bb deleted +0 -4
@@ -1,4 +0,0 @@ -require dropbear.inc - -SRC_URI[md5sum] = "7664ac10f7cc2301c530eb80c756fc5d" -SRC_URI[sha256sum] = "55ea7c1e904ffe4b1cdbe1addca8291a2533d7d285fd22ac33608e9502a62446"
meta/recipes-core/dropbear/dropbear_2015.70.bb new file +5 -0
@@ -0,0 +1,5 @@ +require dropbear.inc + +SRC_URI[md5sum] = "0b0a1d9be6a094710d884209562a626c" +SRC_URI[sha256sum] = "62a8cc3df1d0f136d46f50d4f8d92f7ab7ce1addac76b25446b3f6aaf80bf257" +
Signature · 1 line
2.1.4