Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/8] Package version updates
@ 2015-08-10 14:23 Alexander Kanavin
  2015-08-10 14:23 ` [PATCH 1/8] autogen: update to 5.18.5 Alexander Kanavin
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Alexander Kanavin @ 2015-08-10 14:23 UTC (permalink / raw)
  To: openembedded-core

This patchset contains a few easy version updates. I skipped recipes that
require deep specialist knowledge (for example anything toolchain-related), 
or those with a big set of custom oe-core patches that would require a long 
study to understand and update those patches.

The following changes since commit c75cefe8a382a63f625123c156137782db118f64:

  libpam: Fix patch broken during upgrade (2015-08-09 15:15:33 -0700)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib akanavin/package-version-updates
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=akanavin/package-version-updates

Alexander Kanavin (8):
  autogen: update to 5.18.5
  apmd: update to 3.2.2-15
  apt: update to 1.0.10.1
  blktool: update to 4-7
  bluez5: update to 5.33
  bootchart2: update to 0.14.7
  cdrtools: update to 3.01a31
  clutter-gst: update to 3.0.8

 .../apmd/{apmd-3.2.2-14 => apmd}/apmd.service      |   0
 .../apmd/{apmd-3.2.2-14 => apmd}/apmd_proxy        |   0
 .../apmd/{apmd-3.2.2-14 => apmd}/apmd_proxy.conf   |   0
 .../apmd/{apmd-3.2.2-14 => apmd}/default           |   0
 meta/recipes-bsp/apmd/{apmd-3.2.2-14 => apmd}/init |   0
 meta/recipes-bsp/apmd/apmd/legacy.patch            | 112 ++++++++++++
 .../apmd/{apmd-3.2.2-14 => apmd}/libtool.patch     |   0
 .../apmd/{apmd-3.2.2-14 => apmd}/unlinux.patch     |   0
 .../apmd/{apmd_3.2.2-14.bb => apmd_3.2.2-15.bb}    |   6 +-
 .../bluez5/{bluez5_5.32.bb => bluez5_5.33.bb}      |   4 +-
 meta/recipes-devtools/apt/apt-native_1.0.10.1.bb   |   4 +
 meta/recipes-devtools/apt/apt-native_1.0.9.9.bb    |   9 -
 meta/recipes-devtools/apt/apt.inc                  |   5 +-
 ...ys-run-dpkg-configure-a-at-the-end-of-our.patch |   0
 .../0001-fix-the-gcc-version-check.patch           |   0
 ...001-remove-Wsuggest-attribute-from-CFLAGS.patch |   0
 .../disable-configure-in-makefile.patch            |   0
 .../apt/{apt-1.0.9.9 => apt}/disable-test.patch    |   0
 .../fix-gcc-4.6-null-not-defined.patch             |   0
 .../apt/{apt-1.0.9.9 => apt}/makerace.patch        |   0
 .../apt/{apt-1.0.9.9 => apt}/no-nls-dpkg.patch     |   0
 .../apt/{apt-1.0.9.9 => apt}/noconfigure.patch     |   0
 .../apt/{apt-1.0.9.9 => apt}/nodoc.patch           |   0
 .../{apt-1.0.9.9 => apt}/truncate-filename.patch   |   0
 .../apt/{apt-1.0.9.9 => apt}/use-host.patch        |   0
 .../apt/{apt_1.0.9.9.bb => apt_1.0.10.1.bb}        |   4 -
 ...n-native_5.18.4.bb => autogen-native_5.18.5.bb} |   5 +-
 meta/recipes-devtools/autogen/autogen/guile.patch  | 191 ---------------------
 .../bootchart2/bootchartd-no-bashism.patch         |  27 ---
 .../{bootchart2_git.bb => bootchart2_0.14.7.bb}    |   7 +-
 ...ative_3.01a20.bb => cdrtools-native_3.01a31.bb} |   4 +-
 .../blktool/0001-fix-typos-in-manpage.patch        |  34 ++++
 .../blktool/blktool/0002-fix-string-error.patch    |  25 +++
 ...rgument-for-BLKROSET-it-must-be-const-int.patch |  71 ++++++++
 .../blktool/{blktool_4-6.1.bb => blktool_4-7.bb}   |   9 +-
 ...r-gst-3.0_3.0.6.bb => clutter-gst-3.0_3.0.8.bb} |   4 +-
 36 files changed, 266 insertions(+), 255 deletions(-)
 rename meta/recipes-bsp/apmd/{apmd-3.2.2-14 => apmd}/apmd.service (100%)
 rename meta/recipes-bsp/apmd/{apmd-3.2.2-14 => apmd}/apmd_proxy (100%)
 rename meta/recipes-bsp/apmd/{apmd-3.2.2-14 => apmd}/apmd_proxy.conf (100%)
 rename meta/recipes-bsp/apmd/{apmd-3.2.2-14 => apmd}/default (100%)
 rename meta/recipes-bsp/apmd/{apmd-3.2.2-14 => apmd}/init (100%)
 create mode 100644 meta/recipes-bsp/apmd/apmd/legacy.patch
 rename meta/recipes-bsp/apmd/{apmd-3.2.2-14 => apmd}/libtool.patch (100%)
 rename meta/recipes-bsp/apmd/{apmd-3.2.2-14 => apmd}/unlinux.patch (100%)
 rename meta/recipes-bsp/apmd/{apmd_3.2.2-14.bb => apmd_3.2.2-15.bb} (92%)
 rename meta/recipes-connectivity/bluez5/{bluez5_5.32.bb => bluez5_5.33.bb} (88%)
 create mode 100644 meta/recipes-devtools/apt/apt-native_1.0.10.1.bb
 delete mode 100644 meta/recipes-devtools/apt/apt-native_1.0.9.9.bb
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/0001-fix-the-gcc-version-check.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/0001-remove-Wsuggest-attribute-from-CFLAGS.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/disable-configure-in-makefile.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/disable-test.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/fix-gcc-4.6-null-not-defined.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/makerace.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/no-nls-dpkg.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/noconfigure.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/nodoc.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/truncate-filename.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/use-host.patch (100%)
 rename meta/recipes-devtools/apt/{apt_1.0.9.9.bb => apt_1.0.10.1.bb} (70%)
 rename meta/recipes-devtools/autogen/{autogen-native_5.18.4.bb => autogen-native_5.18.5.bb} (88%)
 delete mode 100644 meta/recipes-devtools/autogen/autogen/guile.patch
 delete mode 100644 meta/recipes-devtools/bootchart2/bootchart2/bootchartd-no-bashism.patch
 rename meta/recipes-devtools/bootchart2/{bootchart2_git.bb => bootchart2_0.14.7.bb} (97%)
 rename meta/recipes-devtools/cdrtools/{cdrtools-native_3.01a20.bb => cdrtools-native_3.01a31.bb} (81%)
 create mode 100644 meta/recipes-extended/blktool/blktool/0001-fix-typos-in-manpage.patch
 create mode 100644 meta/recipes-extended/blktool/blktool/0002-fix-string-error.patch
 create mode 100644 meta/recipes-extended/blktool/blktool/0003-Fix-3-d-argument-for-BLKROSET-it-must-be-const-int.patch
 rename meta/recipes-extended/blktool/{blktool_4-6.1.bb => blktool_4-7.bb} (72%)
 rename meta/recipes-graphics/clutter/{clutter-gst-3.0_3.0.6.bb => clutter-gst-3.0_3.0.8.bb} (58%)

-- 
2.1.4



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

* [PATCH 1/8] autogen: update to 5.18.5
  2015-08-10 14:23 [PATCH 0/8] Package version updates Alexander Kanavin
@ 2015-08-10 14:23 ` Alexander Kanavin
  2015-08-10 14:23 ` [PATCH 2/8] apmd: update to 3.2.2-15 Alexander Kanavin
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: Alexander Kanavin @ 2015-08-10 14:23 UTC (permalink / raw)
  To: openembedded-core

Also, drop guile.patch, because the same problem has been fixed
differently in the new upstream release.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 ...n-native_5.18.4.bb => autogen-native_5.18.5.bb} |   5 +-
 meta/recipes-devtools/autogen/autogen/guile.patch  | 191 ---------------------
 2 files changed, 2 insertions(+), 194 deletions(-)
 rename meta/recipes-devtools/autogen/{autogen-native_5.18.4.bb => autogen-native_5.18.5.bb} (88%)
 delete mode 100644 meta/recipes-devtools/autogen/autogen/guile.patch

diff --git a/meta/recipes-devtools/autogen/autogen-native_5.18.4.bb b/meta/recipes-devtools/autogen/autogen-native_5.18.5.bb
similarity index 88%
rename from meta/recipes-devtools/autogen/autogen-native_5.18.4.bb
rename to meta/recipes-devtools/autogen/autogen-native_5.18.5.bb
index 5fd6b7e..2a28512 100644
--- a/meta/recipes-devtools/autogen/autogen-native_5.18.4.bb
+++ b/meta/recipes-devtools/autogen/autogen-native_5.18.5.bb
@@ -9,14 +9,13 @@ LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
 SRC_URI = "${GNU_MIRROR}/autogen/rel${PV}/autogen-${PV}.tar.gz \
-           file://guile.patch \
            file://increase-timeout-limit.patch \
            file://mk-tpl-config.sh-force-exit-value-to-be-0-in-subproc.patch \
            file://redirect-output-dir.patch \
 "
 
-SRC_URI[md5sum] = "6f48029cc839303d28496e1609868938"
-SRC_URI[sha256sum] = "3cd9f81a8ae7c6865bb9bbbe16c4307a243a1373d0b315a83571cbba1fff725d"
+SRC_URI[md5sum] = "385d7c7dfbe60babbee261c054923a53"
+SRC_URI[sha256sum] = "7bbdb73b5518baf64c6d3739fb2ecc66d2cccda888ce5ad573abe235ab5d96ba"
 
 DEPENDS = "guile-native libtool-native libxml2-native"
 
diff --git a/meta/recipes-devtools/autogen/autogen/guile.patch b/meta/recipes-devtools/autogen/autogen/guile.patch
deleted file mode 100644
index 332e5aa..0000000
--- a/meta/recipes-devtools/autogen/autogen/guile.patch
+++ /dev/null
@@ -1,191 +0,0 @@
-remove dpkg and guile-config
-
-Disable the autoconf macros that use dpkg (!) and guile-config to
-determine what version and where guile is installed, and just use
-pkg-config directly (guile-config is a deprecated wrapper around
-pkg-config).
-
-Signed-off-by: Ross Burton <ross.burton@intel.com>
-
-Uprade to  5.18.2
-Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-Upstream-Status: Pending [should be submitted]
----
- config/ag_macros.m4 | 151 +++-------------------------------------------------
- 1 file changed, 8 insertions(+), 143 deletions(-)
-
-diff --git a/config/ag_macros.m4 b/config/ag_macros.m4
-index c05073e..a8e96da 100644
---- a/config/ag_macros.m4
-+++ b/config/ag_macros.m4
-@@ -180,118 +180,13 @@ return 0;],
- 
- 
- AC_DEFUN([AG_WITHLIB_GUILE],[
--  AC_ARG_WITH([libguile],
--    AS_HELP_STRING([--with-libguile], [libguile installation prefix]),
--    [ag_cv_with_libguile_root=${with_libguile}],
--    AC_CACHE_CHECK([whether with-libguile was specified], ag_cv_with_libguile_root,
--      ag_cv_with_libguile_root=no)
--  ) # end of AC_ARG_WITH libguile
--
--  if test "${with_libguile+set}" = set && \
--     test "X${withval}" = Xno
--  then ## disabled by request
--    ag_cv_with_libguile_root=no
--    ag_cv_with_libguile_cflags=no
--    ag_cv_with_libguile_libs=no
--  else
-+  PKG_PROG_PKG_CONFIG
-+  PKG_CHECK_MODULES(LIBGUILE, [guile-2.0])
-+  case "${LIBGUILE_LIBS}" in *-L* )
-+    LIBGUILE_PATH=`echo ,${LIBGUILE_LIBS} |           sed 's/.*[, ]-L[   ]*//;s/[  ].*//'`
-+  ;; * ) LIBGUILE_PATH='' ;; esac
- 
--  AC_ARG_WITH([libguile-cflags],
--    AS_HELP_STRING([--with-libguile-cflags], [libguile compile flags]),
--    [ag_cv_with_libguile_cflags=${with_libguile_cflags}],
--    AC_CACHE_CHECK([whether with-libguile-cflags was specified], ag_cv_with_libguile_cflags,
--      ag_cv_with_libguile_cflags=no)
--  ) # end of AC_ARG_WITH libguile-cflags
--
--  AC_ARG_WITH([libguile-libs],
--    AS_HELP_STRING([--with-libguile-libs], [libguile link command arguments]),
--    [ag_cv_with_libguile_libs=${with_libguile_libs}],
--    AC_CACHE_CHECK([whether with-libguile-libs was specified], ag_cv_with_libguile_libs,
--      ag_cv_with_libguile_libs=no)
--  ) # end of AC_ARG_WITH libguile-libs
--
--  case "X${ag_cv_with_libguile_cflags}" in
--  Xyes|Xno|X )
--    case "X${ag_cv_with_libguile_root}" in
--    Xyes|Xno|X ) ag_cv_with_libguile_cflags=no ;;
--    * )        ag_cv_with_libguile_cflags=-I${ag_cv_with_libguile_root}/include ;;
--    esac
--  esac
--  case "X${ag_cv_with_libguile_libs}" in
--  Xyes|Xno|X )
--    case "X${ag_cv_with_libguile_root}" in
--    Xyes|Xno|X ) ag_cv_with_libguile_libs=no ;;
--    * )        ag_cv_with_libguile_libs="-L${ag_cv_with_libguile_root}/lib -lguile";;
--    esac
--  esac
--  ag_save_CPPFLAGS="${CPPFLAGS}"
--  ag_save_LIBS="${LIBS}"
--  case "X${ag_cv_with_libguile_cflags}" in
--  Xyes|Xno|X )
--    f=`guile-config compile 2>/dev/null` || f=''
--    test -n "${f}" && ag_cv_with_libguile_cflags="${f}" && \
--      AC_MSG_NOTICE([guile-config used for CFLAGS: $f]) ;;
--  esac
--  case "X${ag_cv_with_libguile_libs}" in
--  Xyes|Xno|X )
--    f=`guile-config link 2>/dev/null` || f=''
--    test -n "${f}" && ag_cv_with_libguile_libs="${f}" && \
--      AC_MSG_NOTICE([guile-config used for LIBS: $f]) ;;
--  esac
--  case "X${ag_cv_with_libguile_cflags}" in
--  Xyes|Xno|X )
--    ag_cv_with_libguile_cflags="" ;;
--  * ) CPPFLAGS="${CPPFLAGS} ${ag_cv_with_libguile_cflags}" ;;
--  esac
--  case "X${ag_cv_with_libguile_libs}" in
--  Xyes|Xno|X )
--    LIBS="${LIBS} -lguile"
--    ag_cv_with_libguile_libs="-lguile" ;;
--  * )
--    LIBS="${LIBS} ${ag_cv_with_libguile_libs}" ;;
--  esac
--  LIBGUILE_CFLAGS=""
--  LIBGUILE_LIBS=""
--  AC_MSG_CHECKING([whether libguile can be linked with])
--  AC_CACHE_VAL([ag_cv_with_libguile],[
--  AC_LINK_IFELSE(
--    [AC_LANG_SOURCE([[@%:@include <libguile.h>
--@%:@if ((SCM_MAJOR_VERSION * 100) + SCM_MINOR_VERSION) > 200
--This has not been tested with Guile 2.1.  Remove this line to proceed.
--@%:@endif
--int main () {
--  SCM fumble = SCM_UNDEFINED;
--  SCM bumble = SCM_UNDEFINED;
--  SCM stumble= SCM_UNDEFINED;
--  long lstumble;
--  stumble = scm_display( fumble, bumble );
--  lstumble = scm_ilength( fumble );
--  stumble = scm_c_eval_string( "stumble" );
--  scm_misc_error( "oops", "bad", bumble );
--  stumble = scm_num_eq_p( fumble, bumble );
--  scm_wrong_type_arg( "oops", 1, bumble );
--  return 0; }]])],
--    [ag_cv_with_libguile=yes],
--    [ag_cv_with_libguile=no]) # end of AC_LINK_IFELSE 
--  ]) # end of AC_CACHE_VAL for ag_cv_with_libguile
--  fi ## disabled by request
--  AC_MSG_RESULT([${ag_cv_with_libguile}])
--    AC_SUBST([LIBGUILE_CFLAGS])
--    AC_SUBST([LIBGUILE_LIBS])
--  if test "X${ag_cv_with_libguile}" != Xno
--  then[
--      LIBGUILE_CFLAGS="${ag_cv_with_libguile_cflags}"
--      LIBGUILE_LIBS="${ag_cv_with_libguile_libs}"]
--          CPPFLAGS="@S|@{ag_save_CPPFLAGS}"
--      LIBS="@S|@{ag_save_LIBS}"
--  else
--    CPPFLAGS="${ag_save_CPPFLAGS}"
--    LIBS="${ag_save_LIBS}"
--      LIBGUILE_CFLAGS=''
--      LIBGUILE_LIBS=''
--      AC_MSG_ERROR([Cannot find libguile.  libguile is required.  Perhaps you need to install guile-devel?])
--  fi
-   AC_SUBST([AG_GUILE])
--
- ]) # end of AC_DEFUN of AG_WITHLIB_GUILE
- 
- 
-@@ -311,40 +206,10 @@ AC_DEFUN([AG_WITHCONF_GUILE_VER],[
- 
- 
- AC_DEFUN([AG_TEST_GUILE_VERSION],[
--  AC_MSG_CHECKING([whether the guile version])
-+  PKG_PROG_PKG_CONFIG
-+  AC_MSG_CHECKING([the guile version])
-   AC_CACHE_VAL([ag_cv_test_guile_version],[
--    ag_cv_test_guile_version=`exec 2> /dev/null
--v=\`guile-config --version 2>&1\`
--test -n "${v}" && {
--  echo "${v}" | sed 's/.*Guile version *//'
--  exit 0
--}
--v=\`guile --version\`
--test -n "${v}" && {
--  echo "${v}" | sed 's/.*Guile *//;1q'
--  exit 0
--}
--v=\`rpm -q --list guile-devel 2>/dev/null | \\
--        grep '/version\\.h' | \\
--        head -1\`
--test -n "${v}" && {
--  v=\`awk '/^#define SCM_M/{print $2 "=" $3}' $v\`
--  eval "$v"
--  test "X$SCM_MICRO_VERSION" = X || \\
--    SCM_MINOR_VERSION=$SCM_MINOR_VERSION.$SCM_MICRO_VERSION
--  echo "$SCM_MAJOR_VERSION.$SCM_MINOR_VERSION"
--  exit 0
--}
--v=\`dpkg --list 2>/dev/null | egrep 'guile-[0-9.]*-dev' | head -1\`
--test -n "${v}" && {
--  echo "${v}" | sed 's/.*guile-//;s/-dev.*//'
--  exit 0
--}
--exit 1`
--    if test $? -ne 0 || test -z "$ag_cv_test_guile_version"
--    then ag_cv_test_guile_version=no
--    fi
--  ]) # end of CACHE_VAL of ag_cv_test_guile_version
-+    ag_cv_test_guile_version=`exec $PKG_CONFIG --modversion guile-2.0`])
-   AC_MSG_RESULT([${ag_cv_test_guile_version}])
-   if test "X${ag_cv_test_guile_version}" != Xno
-   then
--- 
-1.8.3.1
-
-- 
2.1.4



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

* [PATCH 2/8] apmd: update to 3.2.2-15
  2015-08-10 14:23 [PATCH 0/8] Package version updates Alexander Kanavin
  2015-08-10 14:23 ` [PATCH 1/8] autogen: update to 5.18.5 Alexander Kanavin
@ 2015-08-10 14:23 ` Alexander Kanavin
  2015-08-10 16:00   ` Burton, Ross
  2015-08-10 14:23 ` [PATCH 3/8] apt: update to 1.0.10.1 Alexander Kanavin
                   ` (5 subsequent siblings)
  7 siblings, 1 reply; 13+ messages in thread
From: Alexander Kanavin @ 2015-08-10 14:23 UTC (permalink / raw)
  To: openembedded-core

This basically means replacing a "-14" Debian patch with "-15" patch.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 .../apmd/{apmd-3.2.2-14 => apmd}/apmd.service      |   0
 .../apmd/{apmd-3.2.2-14 => apmd}/apmd_proxy        |   0
 .../apmd/{apmd-3.2.2-14 => apmd}/apmd_proxy.conf   |   0
 .../apmd/{apmd-3.2.2-14 => apmd}/default           |   0
 meta/recipes-bsp/apmd/{apmd-3.2.2-14 => apmd}/init |   0
 meta/recipes-bsp/apmd/apmd/legacy.patch            | 112 +++++++++++++++++++++
 .../apmd/{apmd-3.2.2-14 => apmd}/libtool.patch     |   0
 .../apmd/{apmd-3.2.2-14 => apmd}/unlinux.patch     |   0
 .../apmd/{apmd_3.2.2-14.bb => apmd_3.2.2-15.bb}    |   6 +-
 9 files changed, 114 insertions(+), 4 deletions(-)
 rename meta/recipes-bsp/apmd/{apmd-3.2.2-14 => apmd}/apmd.service (100%)
 rename meta/recipes-bsp/apmd/{apmd-3.2.2-14 => apmd}/apmd_proxy (100%)
 rename meta/recipes-bsp/apmd/{apmd-3.2.2-14 => apmd}/apmd_proxy.conf (100%)
 rename meta/recipes-bsp/apmd/{apmd-3.2.2-14 => apmd}/default (100%)
 rename meta/recipes-bsp/apmd/{apmd-3.2.2-14 => apmd}/init (100%)
 create mode 100644 meta/recipes-bsp/apmd/apmd/legacy.patch
 rename meta/recipes-bsp/apmd/{apmd-3.2.2-14 => apmd}/libtool.patch (100%)
 rename meta/recipes-bsp/apmd/{apmd-3.2.2-14 => apmd}/unlinux.patch (100%)
 rename meta/recipes-bsp/apmd/{apmd_3.2.2-14.bb => apmd_3.2.2-15.bb} (92%)

diff --git a/meta/recipes-bsp/apmd/apmd-3.2.2-14/apmd.service b/meta/recipes-bsp/apmd/apmd/apmd.service
similarity index 100%
rename from meta/recipes-bsp/apmd/apmd-3.2.2-14/apmd.service
rename to meta/recipes-bsp/apmd/apmd/apmd.service
diff --git a/meta/recipes-bsp/apmd/apmd-3.2.2-14/apmd_proxy b/meta/recipes-bsp/apmd/apmd/apmd_proxy
similarity index 100%
rename from meta/recipes-bsp/apmd/apmd-3.2.2-14/apmd_proxy
rename to meta/recipes-bsp/apmd/apmd/apmd_proxy
diff --git a/meta/recipes-bsp/apmd/apmd-3.2.2-14/apmd_proxy.conf b/meta/recipes-bsp/apmd/apmd/apmd_proxy.conf
similarity index 100%
rename from meta/recipes-bsp/apmd/apmd-3.2.2-14/apmd_proxy.conf
rename to meta/recipes-bsp/apmd/apmd/apmd_proxy.conf
diff --git a/meta/recipes-bsp/apmd/apmd-3.2.2-14/default b/meta/recipes-bsp/apmd/apmd/default
similarity index 100%
rename from meta/recipes-bsp/apmd/apmd-3.2.2-14/default
rename to meta/recipes-bsp/apmd/apmd/default
diff --git a/meta/recipes-bsp/apmd/apmd-3.2.2-14/init b/meta/recipes-bsp/apmd/apmd/init
similarity index 100%
rename from meta/recipes-bsp/apmd/apmd-3.2.2-14/init
rename to meta/recipes-bsp/apmd/apmd/init
diff --git a/meta/recipes-bsp/apmd/apmd/legacy.patch b/meta/recipes-bsp/apmd/apmd/legacy.patch
new file mode 100644
index 0000000..6db223f
--- /dev/null
+++ b/meta/recipes-bsp/apmd/apmd/legacy.patch
@@ -0,0 +1,112 @@
+Index: apmd-3.2.2/Makefile
+===================================================================
+--- apmd-3.2.2.orig/Makefile
++++ apmd-3.2.2/Makefile
+@@ -43,7 +43,7 @@ DESTDIR=
+ 
+ CC=gcc
+ CFLAGS=-O -g
+-XTRACFLAGS=-Wall -pipe -I. -I/usr/src/linux/include \
++XTRACFLAGS=-Wall -pipe -I. -I/usr/src/linux/include -I/usr/X11R6/include \
+ 		-I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include \
+ 		-DVERSION=\"$(VERSION)\" \
+ 		-DDEFAULT_PROXY_NAME=\"$(PROXY_DIR)/apmd_proxy\"
+Index: apmd-3.2.2/apm.c
+===================================================================
+--- apmd-3.2.2.orig/apm.c
++++ apmd-3.2.2/apm.c
+@@ -219,12 +219,13 @@ int main(int argc, char **argv)
+ 		}
+ 	}
+ 													    
+-
++#if 0
+     if (!(i.apm_flags & APM_32_BIT_SUPPORT))
+     {
+ 	fprintf(stderr, "32-bit APM interface not supported\n");
+ 	exit(1);
+     }
++#endif
+ 
+     if (verbose && (i.apm_flags & 0x10))
+ 	printf("APM BIOS Power Management is currently disabled\n");
+Index: apmd-3.2.2/apm.h
+===================================================================
+--- apmd-3.2.2.orig/apm.h
++++ apmd-3.2.2/apm.h
+@@ -20,6 +20,13 @@
+  * $Id: apm.h,v 1.7 1999/07/05 22:31:11 apenwarr Exp $
+  * 
+  */
++#ifndef _APM_H
++#define _APM_H 1
++
++#ifndef __KERNEL_STRICT_NAMES
++#define __KERNEL_STRICT_NAMES
++#endif
++
+ #include <linux/apm_bios.h>
+ #include <sys/types.h>
+ 
+@@ -93,3 +100,5 @@ extern int apm_reject(int fd);
+ #else
+ #define apm_reject(fd)   (-EINVAL)
+ #endif
++
++#endif
+Index: apmd-3.2.2/apmd.c
+===================================================================
+--- apmd-3.2.2.orig/apmd.c
++++ apmd-3.2.2/apmd.c
+@@ -343,7 +343,7 @@ static int call_proxy(apm_event_t event)
+ 		/* parent */
+ 		int status, retval;
+ 		ssize_t len;
+-		time_t time_limit;
++		time_t countdown;
+ 
+ 		if (pid < 0) {
+ 			/* Couldn't fork */
+@@ -356,8 +356,9 @@ static int call_proxy(apm_event_t event)
+ 		/* Capture the child's output, if any, but only until it terminates */
+ 		close(fds[1]);
+ 		fcntl(fds[0], F_SETFL, O_RDONLY|O_NONBLOCK);
+-		time_limit = time(0) + proxy_timeout;
++		countdown = proxy_timeout;
+ 		do {
++			countdown -= 1;
+ 			while ((len = read(fds[0], line, sizeof(line)-1)) > 0) {
+ 				line[len] = 0;
+ 				APMD_SYSLOG(LOG_INFO, "+ %s", line);
+@@ -372,16 +373,16 @@ static int call_proxy(apm_event_t event)
+ 				goto proxy_done;
+ 			}
+ 				
+-			sleep(1);
++			while (sleep(1) > 0) ;
+ 		} while (
+-			(time(0) < time_limit)
++			(countdown >= 0)
+ 			|| (proxy_timeout < 0)
+ 		);
+ 
+ 		APMD_SYSLOG(LOG_NOTICE, "Proxy has been running more than %d seconds; killing it", proxy_timeout);
+ 
+ 		kill(pid, SIGTERM);
+-		time_limit = time(0) + 5;
++		countdown = 5;
+ 		do {
+ 			retval = waitpid(pid, &status, WNOHANG);
+ 			if (retval == pid)
+@@ -392,9 +393,9 @@ static int call_proxy(apm_event_t event)
+ 				goto proxy_done;
+ 			}
+ 
+-			sleep(1);
++			while (sleep(1) > 0) ;
+ 
+-		} while (time(0) < time_limit);
++		} while (countdown >= 0);
+ 
+ 		kill(pid, SIGKILL);
+ 		status = __W_EXITCODE(0, SIGKILL);
diff --git a/meta/recipes-bsp/apmd/apmd-3.2.2-14/libtool.patch b/meta/recipes-bsp/apmd/apmd/libtool.patch
similarity index 100%
rename from meta/recipes-bsp/apmd/apmd-3.2.2-14/libtool.patch
rename to meta/recipes-bsp/apmd/apmd/libtool.patch
diff --git a/meta/recipes-bsp/apmd/apmd-3.2.2-14/unlinux.patch b/meta/recipes-bsp/apmd/apmd/unlinux.patch
similarity index 100%
rename from meta/recipes-bsp/apmd/apmd-3.2.2-14/unlinux.patch
rename to meta/recipes-bsp/apmd/apmd/unlinux.patch
diff --git a/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb b/meta/recipes-bsp/apmd/apmd_3.2.2-15.bb
similarity index 92%
rename from meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
rename to meta/recipes-bsp/apmd/apmd_3.2.2-15.bb
index 65dd01b..ab00814 100644
--- a/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
+++ b/meta/recipes-bsp/apmd/apmd_3.2.2-15.bb
@@ -10,8 +10,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 DEPENDS = "libtool-cross"
 PR = "r2"
 
+# legacy.patch taken from ftp://ftp.debian.org/debian/pool/main/a/apmd/apmd_3.2.2-15.debian.tar.xz
 SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_3.2.2.orig.tar.gz;name=tarball \
-           ${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.diff.gz;name=patch \
+           file://legacy.patch \
            file://libtool.patch \
            file://unlinux.patch \
            file://init \
@@ -23,9 +24,6 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_3.2.2.orig.tar.gz;name=tarball \
 SRC_URI[tarball.md5sum] = "b1e6309e8331e0f4e6efd311c2d97fa8"
 SRC_URI[tarball.sha256sum] = "7f7d9f60b7766b852881d40b8ff91d8e39fccb0d1d913102a5c75a2dbb52332d"
 
-SRC_URI[patch.md5sum] = "57e1b689264ea80f78353519eece0c92"
-SRC_URI[patch.sha256sum] = "7905ff96be93d725544d0040e425c42f9c05580db3c272f11cff75b9aa89d430"
-
 S = "${WORKDIR}/apmd-3.2.2.orig"
 
 inherit update-rc.d systemd
-- 
2.1.4



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

* [PATCH 3/8] apt: update to 1.0.10.1
  2015-08-10 14:23 [PATCH 0/8] Package version updates Alexander Kanavin
  2015-08-10 14:23 ` [PATCH 1/8] autogen: update to 5.18.5 Alexander Kanavin
  2015-08-10 14:23 ` [PATCH 2/8] apmd: update to 3.2.2-15 Alexander Kanavin
@ 2015-08-10 14:23 ` Alexander Kanavin
  2015-08-10 14:23 ` [PATCH 4/8] blktool: update to 4-7 Alexander Kanavin
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: Alexander Kanavin @ 2015-08-10 14:23 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 meta/recipes-devtools/apt/apt-native_1.0.10.1.bb                 | 4 ++++
 meta/recipes-devtools/apt/apt-native_1.0.9.9.bb                  | 9 ---------
 meta/recipes-devtools/apt/apt.inc                                | 5 ++++-
 ...01-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch | 0
 .../{apt-1.0.9.9 => apt}/0001-fix-the-gcc-version-check.patch    | 0
 .../0001-remove-Wsuggest-attribute-from-CFLAGS.patch             | 0
 .../apt/{apt-1.0.9.9 => apt}/disable-configure-in-makefile.patch | 0
 .../recipes-devtools/apt/{apt-1.0.9.9 => apt}/disable-test.patch | 0
 .../apt/{apt-1.0.9.9 => apt}/fix-gcc-4.6-null-not-defined.patch  | 0
 meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/makerace.patch    | 0
 meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/no-nls-dpkg.patch | 0
 meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/noconfigure.patch | 0
 meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/nodoc.patch       | 0
 .../apt/{apt-1.0.9.9 => apt}/truncate-filename.patch             | 0
 meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/use-host.patch    | 0
 meta/recipes-devtools/apt/{apt_1.0.9.9.bb => apt_1.0.10.1.bb}    | 4 ----
 16 files changed, 8 insertions(+), 14 deletions(-)
 create mode 100644 meta/recipes-devtools/apt/apt-native_1.0.10.1.bb
 delete mode 100644 meta/recipes-devtools/apt/apt-native_1.0.9.9.bb
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/0001-fix-the-gcc-version-check.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/0001-remove-Wsuggest-attribute-from-CFLAGS.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/disable-configure-in-makefile.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/disable-test.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/fix-gcc-4.6-null-not-defined.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/makerace.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/no-nls-dpkg.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/noconfigure.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/nodoc.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/truncate-filename.patch (100%)
 rename meta/recipes-devtools/apt/{apt-1.0.9.9 => apt}/use-host.patch (100%)
 rename meta/recipes-devtools/apt/{apt_1.0.9.9.bb => apt_1.0.10.1.bb} (70%)

diff --git a/meta/recipes-devtools/apt/apt-native_1.0.10.1.bb b/meta/recipes-devtools/apt/apt-native_1.0.10.1.bb
new file mode 100644
index 0000000..1e660da
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt-native_1.0.10.1.bb
@@ -0,0 +1,4 @@
+require apt-native.inc
+
+SRC_URI += "file://noconfigure.patch \
+            file://no-curl.patch"
diff --git a/meta/recipes-devtools/apt/apt-native_1.0.9.9.bb b/meta/recipes-devtools/apt/apt-native_1.0.9.9.bb
deleted file mode 100644
index cbaf25b..0000000
--- a/meta/recipes-devtools/apt/apt-native_1.0.9.9.bb
+++ /dev/null
@@ -1,9 +0,0 @@
-require apt-native.inc
-
-SRC_URI += "file://noconfigure.patch \
-            file://no-curl.patch"
-
-SRC_URI[md5sum] = "e70c6d6227883cfc0dda6bc5db509bca"
-SRC_URI[sha256sum] = "96bebcd7bfee0b2386741a8315182ba39487bdd743ecf5c1fc5b8b889cca2478"
-
-LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
diff --git a/meta/recipes-devtools/apt/apt.inc b/meta/recipes-devtools/apt/apt.inc
index 94bd6e9..3248b9a 100644
--- a/meta/recipes-devtools/apt/apt.inc
+++ b/meta/recipes-devtools/apt/apt.inc
@@ -2,7 +2,7 @@ SUMMARY = "Advanced front-end for dpkg"
 LICENSE = "GPLv2.0+"
 SECTION = "base"
 
-SRC_URI = "http://snapshot.debian.org/archive/debian/20150428T221633Z/pool/main/a/${BPN}/${BPN}_${PV}.tar.xz \
+SRC_URI = "http://snapshot.debian.org/archive/debian/20150805T094928Z/pool/main/a/${BPN}/${BPN}_${PV}.tar.xz \
            file://use-host.patch \
            file://makerace.patch \
            file://no-nls-dpkg.patch \
@@ -12,6 +12,9 @@ SRC_URI = "http://snapshot.debian.org/archive/debian/20150428T221633Z/pool/main/
            file://disable-configure-in-makefile.patch \
            file://disable-test.patch \
            "
+SRC_URI[md5sum] = "6505c4297b338adb2087ce87bbc4a276"
+SRC_URI[sha256sum] = "3fb1de9598363c416591d49e3c285458e095b035e6c06d5b944a54e15fc9b543"
+LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
 
 inherit autotools gettext
 
diff --git a/meta/recipes-devtools/apt/apt-1.0.9.9/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch b/meta/recipes-devtools/apt/apt/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch
similarity index 100%
rename from meta/recipes-devtools/apt/apt-1.0.9.9/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch
rename to meta/recipes-devtools/apt/apt/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch
diff --git a/meta/recipes-devtools/apt/apt-1.0.9.9/0001-fix-the-gcc-version-check.patch b/meta/recipes-devtools/apt/apt/0001-fix-the-gcc-version-check.patch
similarity index 100%
rename from meta/recipes-devtools/apt/apt-1.0.9.9/0001-fix-the-gcc-version-check.patch
rename to meta/recipes-devtools/apt/apt/0001-fix-the-gcc-version-check.patch
diff --git a/meta/recipes-devtools/apt/apt-1.0.9.9/0001-remove-Wsuggest-attribute-from-CFLAGS.patch b/meta/recipes-devtools/apt/apt/0001-remove-Wsuggest-attribute-from-CFLAGS.patch
similarity index 100%
rename from meta/recipes-devtools/apt/apt-1.0.9.9/0001-remove-Wsuggest-attribute-from-CFLAGS.patch
rename to meta/recipes-devtools/apt/apt/0001-remove-Wsuggest-attribute-from-CFLAGS.patch
diff --git a/meta/recipes-devtools/apt/apt-1.0.9.9/disable-configure-in-makefile.patch b/meta/recipes-devtools/apt/apt/disable-configure-in-makefile.patch
similarity index 100%
rename from meta/recipes-devtools/apt/apt-1.0.9.9/disable-configure-in-makefile.patch
rename to meta/recipes-devtools/apt/apt/disable-configure-in-makefile.patch
diff --git a/meta/recipes-devtools/apt/apt-1.0.9.9/disable-test.patch b/meta/recipes-devtools/apt/apt/disable-test.patch
similarity index 100%
rename from meta/recipes-devtools/apt/apt-1.0.9.9/disable-test.patch
rename to meta/recipes-devtools/apt/apt/disable-test.patch
diff --git a/meta/recipes-devtools/apt/apt-1.0.9.9/fix-gcc-4.6-null-not-defined.patch b/meta/recipes-devtools/apt/apt/fix-gcc-4.6-null-not-defined.patch
similarity index 100%
rename from meta/recipes-devtools/apt/apt-1.0.9.9/fix-gcc-4.6-null-not-defined.patch
rename to meta/recipes-devtools/apt/apt/fix-gcc-4.6-null-not-defined.patch
diff --git a/meta/recipes-devtools/apt/apt-1.0.9.9/makerace.patch b/meta/recipes-devtools/apt/apt/makerace.patch
similarity index 100%
rename from meta/recipes-devtools/apt/apt-1.0.9.9/makerace.patch
rename to meta/recipes-devtools/apt/apt/makerace.patch
diff --git a/meta/recipes-devtools/apt/apt-1.0.9.9/no-nls-dpkg.patch b/meta/recipes-devtools/apt/apt/no-nls-dpkg.patch
similarity index 100%
rename from meta/recipes-devtools/apt/apt-1.0.9.9/no-nls-dpkg.patch
rename to meta/recipes-devtools/apt/apt/no-nls-dpkg.patch
diff --git a/meta/recipes-devtools/apt/apt-1.0.9.9/noconfigure.patch b/meta/recipes-devtools/apt/apt/noconfigure.patch
similarity index 100%
rename from meta/recipes-devtools/apt/apt-1.0.9.9/noconfigure.patch
rename to meta/recipes-devtools/apt/apt/noconfigure.patch
diff --git a/meta/recipes-devtools/apt/apt-1.0.9.9/nodoc.patch b/meta/recipes-devtools/apt/apt/nodoc.patch
similarity index 100%
rename from meta/recipes-devtools/apt/apt-1.0.9.9/nodoc.patch
rename to meta/recipes-devtools/apt/apt/nodoc.patch
diff --git a/meta/recipes-devtools/apt/apt-1.0.9.9/truncate-filename.patch b/meta/recipes-devtools/apt/apt/truncate-filename.patch
similarity index 100%
rename from meta/recipes-devtools/apt/apt-1.0.9.9/truncate-filename.patch
rename to meta/recipes-devtools/apt/apt/truncate-filename.patch
diff --git a/meta/recipes-devtools/apt/apt-1.0.9.9/use-host.patch b/meta/recipes-devtools/apt/apt/use-host.patch
similarity index 100%
rename from meta/recipes-devtools/apt/apt-1.0.9.9/use-host.patch
rename to meta/recipes-devtools/apt/apt/use-host.patch
diff --git a/meta/recipes-devtools/apt/apt_1.0.9.9.bb b/meta/recipes-devtools/apt/apt_1.0.10.1.bb
similarity index 70%
rename from meta/recipes-devtools/apt/apt_1.0.9.9.bb
rename to meta/recipes-devtools/apt/apt_1.0.10.1.bb
index 4c40d0d..bf77e2a 100644
--- a/meta/recipes-devtools/apt/apt_1.0.9.9.bb
+++ b/meta/recipes-devtools/apt/apt_1.0.10.1.bb
@@ -1,11 +1,7 @@
 DEPENDS = "curl db"
 RDEPENDS_${PN} = "dpkg bash debianutils"
-LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
 require apt.inc
 
-SRC_URI[md5sum] = "e70c6d6227883cfc0dda6bc5db509bca"
-SRC_URI[sha256sum] = "96bebcd7bfee0b2386741a8315182ba39487bdd743ecf5c1fc5b8b889cca2478"
-
 require apt-package.inc
 
 PACKAGECONFIG ??= "lzma"
-- 
2.1.4



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

* [PATCH 4/8] blktool: update to 4-7
  2015-08-10 14:23 [PATCH 0/8] Package version updates Alexander Kanavin
                   ` (2 preceding siblings ...)
  2015-08-10 14:23 ` [PATCH 3/8] apt: update to 1.0.10.1 Alexander Kanavin
@ 2015-08-10 14:23 ` Alexander Kanavin
  2015-08-10 16:07   ` Burton, Ross
  2015-08-10 14:23 ` [PATCH 5/8] bluez5: update to 5.33 Alexander Kanavin
                   ` (3 subsequent siblings)
  7 siblings, 1 reply; 13+ messages in thread
From: Alexander Kanavin @ 2015-08-10 14:23 UTC (permalink / raw)
  To: openembedded-core

This means replacing a "-6.1" Debian patch with "-7" patch.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 .../blktool/0001-fix-typos-in-manpage.patch        | 34 +++++++++++
 .../blktool/blktool/0002-fix-string-error.patch    | 25 ++++++++
 ...rgument-for-BLKROSET-it-must-be-const-int.patch | 71 ++++++++++++++++++++++
 .../blktool/{blktool_4-6.1.bb => blktool_4-7.bb}   |  9 +--
 4 files changed, 135 insertions(+), 4 deletions(-)
 create mode 100644 meta/recipes-extended/blktool/blktool/0001-fix-typos-in-manpage.patch
 create mode 100644 meta/recipes-extended/blktool/blktool/0002-fix-string-error.patch
 create mode 100644 meta/recipes-extended/blktool/blktool/0003-Fix-3-d-argument-for-BLKROSET-it-must-be-const-int.patch
 rename meta/recipes-extended/blktool/{blktool_4-6.1.bb => blktool_4-7.bb} (72%)

diff --git a/meta/recipes-extended/blktool/blktool/0001-fix-typos-in-manpage.patch b/meta/recipes-extended/blktool/blktool/0001-fix-typos-in-manpage.patch
new file mode 100644
index 0000000..4152210
--- /dev/null
+++ b/meta/recipes-extended/blktool/blktool/0001-fix-typos-in-manpage.patch
@@ -0,0 +1,34 @@
+From ba5578e7d2c28011776e6c71dec441ad127d5c83 Mon Sep 17 00:00:00 2001
+From: Azat Khuzhin <a3at.mail@gmail.com>
+Date: Wed, 8 Jul 2015 01:37:09 +0300
+Subject: [PATCH] fix typos in manpage
+
+---
+ blktool.8 | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/blktool.8 b/blktool.8
+index a1f5c96..45b7724 100644
+--- a/blktool.8
++++ b/blktool.8
+@@ -191,7 +191,7 @@ Query or set device bus state (0 off, 1 on, 2 tristate)
+ Query the detected (or overridden, via -t) device class.
+ Typically this will result in 'ATA' or 'SCSI' for most devices.
+ Detection is based on device major; thus your SATA device may appear as
+-'SCSI'.
++\&'SCSI'.
+ 
+ .TP
+ .B cd-speed
+@@ -237,7 +237,7 @@ Omitting the on/off argument will print the current state.
+ 
+ .TP
+ .B media
+-Lock in (or unlock) a removeable device.
++Lock in (or unlock) a removable device.
+ 
+ .TP
+ .B multiple-count
+-- 
+2.1.4
+
diff --git a/meta/recipes-extended/blktool/blktool/0002-fix-string-error.patch b/meta/recipes-extended/blktool/blktool/0002-fix-string-error.patch
new file mode 100644
index 0000000..4188bac
--- /dev/null
+++ b/meta/recipes-extended/blktool/blktool/0002-fix-string-error.patch
@@ -0,0 +1,25 @@
+From 8571ba876fc914ccd71a875ae23b09012604a94e Mon Sep 17 00:00:00 2001
+From: Azat Khuzhin <a3at.mail@gmail.com>
+Date: Wed, 8 Jul 2015 01:42:24 +0300
+Subject: [PATCH] fix string error
+
+---
+ util.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/util.c b/util.c
+index 1f3a9ca..2ccf56a 100644
+--- a/util.c
++++ b/util.c
+@@ -28,7 +28,7 @@ void pdie(const char *msg, int perr)
+ 	if (perr)
+ 		perror(msg);
+ 	else
+-		fprintf(stderr, msg);
++		fprintf(stderr, "%s", msg);
+ 	if (blkdev >= 0)
+ 		close(blkdev);
+ 	exit(1);
+-- 
+2.1.4
+
diff --git a/meta/recipes-extended/blktool/blktool/0003-Fix-3-d-argument-for-BLKROSET-it-must-be-const-int.patch b/meta/recipes-extended/blktool/blktool/0003-Fix-3-d-argument-for-BLKROSET-it-must-be-const-int.patch
new file mode 100644
index 0000000..ffa37ac
--- /dev/null
+++ b/meta/recipes-extended/blktool/blktool/0003-Fix-3-d-argument-for-BLKROSET-it-must-be-const-int.patch
@@ -0,0 +1,71 @@
+From 455ce5d70abb749ab7abb6d0d79963661fdd80c4 Mon Sep 17 00:00:00 2001
+From: Azat Khuzhin <a3at.mail@gmail.com>
+Date: Sat, 1 Nov 2014 22:24:32 +0300
+Subject: [PATCH] Fix 3-d argument for BLKROSET it must be 'const int *'
+
+Most of *SET ioctls have int type for 3-d argument, except BLKROSET.
+So add bc_arg_type enum, build it into bool_comand and install arg_type
+to bc_arg_int_ptr for BLKROSET only.
+
+Debian-bug-id: 641164
+Link: https://bugs.debian.org/641164
+---
+ blktool.c | 11 +++++++++--
+ blktool.h |  7 +++++++
+ 2 files changed, 16 insertions(+), 2 deletions(-)
+
+diff --git a/blktool.c b/blktool.c
+index fbefecd..221a195 100644
+--- a/blktool.c
++++ b/blktool.c
+@@ -85,7 +85,7 @@ static struct bool_command bool_cmd_tbl[] = {
+ 	{ { DEF_BOOL("pio-data"), dc_ata, DEF_HDIO(32BIT) },
+ 	  "16-bit", "32-bit" },
+ 	{ { DEF_BOOL("readonly"), dc_any, IOCNAME(BLKROGET), IOCNAME(BLKROSET) },
+-	  DEF_BOOLSTR },
++	  DEF_BOOLSTR, bc_arg_int_ptr },
+ 	{ { DEF_BOOL("unmask-irq"), dc_ata, DEF_HDIO(UNMASKINTR) },
+ 	  DEF_BOOLSTR },
+ 	{ { "wcache", ct_bool, handle_wcache, dc_any,
+@@ -171,7 +171,14 @@ static void handle_bool(int argc, char **argv, struct command *cmd)
+ 
+ 	} else if ((argc == 4) && (cmd->write_ioctl_name != NULL)) {
+ 		do_32 = parse_bool(argc, argv, bcm);
+-		if (ioctl(blkdev, cmd->write_ioctl, do_32))
++		
++		int ret;
++		if (bcm->arg_type == bc_arg_int_ptr) {
++			ret = ioctl(blkdev, cmd->write_ioctl, &do_32);
++		} else {
++			ret = ioctl(blkdev, cmd->write_ioctl, do_32);
++		}
++		if (ret)
+ 			pdie(cmd->write_ioctl_name, 1);
+ 	}
+ 	else {
+diff --git a/blktool.h b/blktool.h
+index fce4387..85add83 100644
+--- a/blktool.h
++++ b/blktool.h
+@@ -85,11 +85,18 @@ struct command {
+ 	const char		*write_ioctl_name;
+ };
+ 
++enum bc_arg_type {
++	bc_arg_int,
++	bc_arg_int_ptr,
++};
++
+ struct bool_command {
+ 	struct command		cmd;
+ 
+ 	const char		*str_false;
+ 	const char		*str_true;
++
++	enum bc_arg_type arg_type;
+ };
+ 
+ struct class_operations {
+-- 
+2.1.4
+
diff --git a/meta/recipes-extended/blktool/blktool_4-6.1.bb b/meta/recipes-extended/blktool/blktool_4-7.bb
similarity index 72%
rename from meta/recipes-extended/blktool/blktool_4-6.1.bb
rename to meta/recipes-extended/blktool/blktool_4-7.bb
index 69f2261..c7346dc 100644
--- a/meta/recipes-extended/blktool/blktool_4-6.1.bb
+++ b/meta/recipes-extended/blktool/blktool_4-7.bb
@@ -10,15 +10,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 DEPENDS = "glib-2.0"
 PR = "r1"
 
+# The three patches below are taken from ftp://ftp.debian.org/debian/pool/main/b/blktool/blktool_4-7.debian.tar.xz
 SRC_URI = "${DEBIAN_MIRROR}/main/b/blktool/blktool_4.orig.tar.gz;name=tarball \
-           ${DEBIAN_MIRROR}/main/b/blktool/blktool_4-6.1.diff.gz;apply=yes;name=patch"
+           file://0001-fix-typos-in-manpage.patch \
+           file://0002-fix-string-error.patch \
+           file://0003-Fix-3-d-argument-for-BLKROSET-it-must-be-const-int.patch \
+          "
 
 SRC_URI[tarball.md5sum] = "62edc09c9908107e69391c87f4f3fd40"
 SRC_URI[tarball.sha256sum] = "b1e6d5912546d2a4b704ec65c2b9664aa3b4663e7d800e06803330335a2cb764"
 
-SRC_URI[patch.md5sum] = "cf605a683d54d1fbcb35b940076ddb0c"
-SRC_URI[patch.sha256sum] = "d7923527e1a00984620ab307c9047a653d7ae2856cd20a82de8a33328f381ae3"
-
 S = "${WORKDIR}/${BPN}-4.orig"
 
 inherit autotools pkgconfig
-- 
2.1.4



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

* [PATCH 5/8] bluez5: update to 5.33
  2015-08-10 14:23 [PATCH 0/8] Package version updates Alexander Kanavin
                   ` (3 preceding siblings ...)
  2015-08-10 14:23 ` [PATCH 4/8] blktool: update to 4-7 Alexander Kanavin
@ 2015-08-10 14:23 ` Alexander Kanavin
  2015-08-10 14:23 ` [PATCH 6/8] bootchart2: update to 0.14.7 Alexander Kanavin
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: Alexander Kanavin @ 2015-08-10 14:23 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 meta/recipes-connectivity/bluez5/{bluez5_5.32.bb => bluez5_5.33.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-connectivity/bluez5/{bluez5_5.32.bb => bluez5_5.33.bb} (88%)

diff --git a/meta/recipes-connectivity/bluez5/bluez5_5.32.bb b/meta/recipes-connectivity/bluez5/bluez5_5.33.bb
similarity index 88%
rename from meta/recipes-connectivity/bluez5/bluez5_5.32.bb
rename to meta/recipes-connectivity/bluez5/bluez5_5.33.bb
index db02be4..23c7397 100644
--- a/meta/recipes-connectivity/bluez5/bluez5_5.32.bb
+++ b/meta/recipes-connectivity/bluez5/bluez5_5.33.bb
@@ -1,6 +1,6 @@
 require bluez5.inc
-SRC_URI[md5sum] = "432b1f292c0b78771818c67140baf3d9"
-SRC_URI[sha256sum] = "fe4f35e701cbec04478818adf014ed9bbd1f7d11e2603370f1b70a78106f57f7"
+SRC_URI[md5sum] = "78782dc33d9a8b6344c4cc1af70c8a98"
+SRC_URI[sha256sum] = "1801807a13506678cbfeb15c6a4b89ecb5739efe1067eb464da6641d731436d3"
 
 # noinst programs in Makefile.tools that are conditional on READLINE
 # support
-- 
2.1.4



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

* [PATCH 6/8] bootchart2: update to 0.14.7
  2015-08-10 14:23 [PATCH 0/8] Package version updates Alexander Kanavin
                   ` (4 preceding siblings ...)
  2015-08-10 14:23 ` [PATCH 5/8] bluez5: update to 5.33 Alexander Kanavin
@ 2015-08-10 14:23 ` Alexander Kanavin
  2015-08-10 16:02   ` Burton, Ross
  2015-08-10 14:23 ` [PATCH 7/8] cdrtools: update to 3.01a31 Alexander Kanavin
  2015-08-10 14:23 ` [PATCH 8/8] clutter-gst: update to 3.0.8 Alexander Kanavin
  7 siblings, 1 reply; 13+ messages in thread
From: Alexander Kanavin @ 2015-08-10 14:23 UTC (permalink / raw)
  To: openembedded-core

Drop bootchartd-no-bashism.patch as it's been merged upstream

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 .../bootchart2/bootchartd-no-bashism.patch         | 27 ----------------------
 .../{bootchart2_git.bb => bootchart2_0.14.7.bb}    |  7 +-----
 2 files changed, 1 insertion(+), 33 deletions(-)
 delete mode 100644 meta/recipes-devtools/bootchart2/bootchart2/bootchartd-no-bashism.patch
 rename meta/recipes-devtools/bootchart2/{bootchart2_git.bb => bootchart2_0.14.7.bb} (97%)

diff --git a/meta/recipes-devtools/bootchart2/bootchart2/bootchartd-no-bashism.patch b/meta/recipes-devtools/bootchart2/bootchart2/bootchartd-no-bashism.patch
deleted file mode 100644
index b013995..0000000
--- a/meta/recipes-devtools/bootchart2/bootchart2/bootchartd-no-bashism.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From ffb5bae5d588aaea6325623462a8070a04767196 Mon Sep 17 00:00:00 2001
-From: Robert Yang <liezhi.yang@windriver.com>
-Date: Thu, 14 Aug 2014 08:33:28 -0700
-Subject: [PATCH] bootchartd.in: no bashism
-
-No bashism in bootchartd.in, so use /bin/sh.
-
-Upstream-Status: Pending
-
-Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
----
- bootchartd.in |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/bootchartd.in b/bootchartd.in
-index a408bab..064f6a4 100755
---- a/bootchartd.in
-+++ b/bootchartd.in
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!/bin/sh
- #
- # Bootchart logger script
- # Ziga Mahkovec  <ziga.mahkovec@klika.si>
--- 
-1.7.9.5
-
diff --git a/meta/recipes-devtools/bootchart2/bootchart2_git.bb b/meta/recipes-devtools/bootchart2/bootchart2_0.14.7.bb
similarity index 97%
rename from meta/recipes-devtools/bootchart2/bootchart2_git.bb
rename to meta/recipes-devtools/bootchart2/bootchart2_0.14.7.bb
index ea9f179..4b0a980 100644
--- a/meta/recipes-devtools/bootchart2/bootchart2_git.bb
+++ b/meta/recipes-devtools/bootchart2/bootchart2_0.14.7.bb
@@ -88,17 +88,12 @@ HOMEPAGE = "https://github.com/mmeeks/bootchart"
 LICENSE = "GPL-3.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=44ac4678311254db62edf8fd39cb8124"
 
-# one commit beyond 1.14.6 for a systemd-related bugfix
-PV = "0.14.6+git${SRCPV}"
-
 SRC_URI = "git://github.com/mmeeks/bootchart.git \
            file://bootchartd_stop.sh \
-           file://bootchartd-no-bashism.patch \
           "
 
-SRCREV = "b65ed43b0ae832080fb728245de9ef1a4b48d8b5"
-
 S = "${WORKDIR}/git"
+SRCREV = "6f050b65ae9f266645f04f0aecab9efb88375f1c"
 
 inherit systemd
 inherit update-rc.d
-- 
2.1.4



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

* [PATCH 7/8] cdrtools: update to 3.01a31
  2015-08-10 14:23 [PATCH 0/8] Package version updates Alexander Kanavin
                   ` (5 preceding siblings ...)
  2015-08-10 14:23 ` [PATCH 6/8] bootchart2: update to 0.14.7 Alexander Kanavin
@ 2015-08-10 14:23 ` Alexander Kanavin
  2015-08-10 14:23 ` [PATCH 8/8] clutter-gst: update to 3.0.8 Alexander Kanavin
  7 siblings, 0 replies; 13+ messages in thread
From: Alexander Kanavin @ 2015-08-10 14:23 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 .../{cdrtools-native_3.01a20.bb => cdrtools-native_3.01a31.bb}        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/cdrtools/{cdrtools-native_3.01a20.bb => cdrtools-native_3.01a31.bb} (81%)

diff --git a/meta/recipes-devtools/cdrtools/cdrtools-native_3.01a20.bb b/meta/recipes-devtools/cdrtools/cdrtools-native_3.01a31.bb
similarity index 81%
rename from meta/recipes-devtools/cdrtools/cdrtools-native_3.01a20.bb
rename to meta/recipes-devtools/cdrtools/cdrtools-native_3.01a31.bb
index 2827109..d0f36e2 100644
--- a/meta/recipes-devtools/cdrtools/cdrtools-native_3.01a20.bb
+++ b/meta/recipes-devtools/cdrtools/cdrtools-native_3.01a31.bb
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=32f68170be424c2cd64804337726b312"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/project/cdrtools/alpha/cdrtools-${PV}.tar.bz2"
 
-SRC_URI[md5sum] = "f8c6f0fdcba7df0606095498d10315a7"
-SRC_URI[sha256sum] = "e399ea964b8048793721b71461271e46d81f242bd2feefb8dbd259c30e75a5a9"
+SRC_URI[md5sum] = "78172557894f469b4584d008e93ec469"
+SRC_URI[sha256sum] = "183b5c12777779e78d8b69461aae52401f863768e7e7391d60730006f8cadc5a"
 
 S = "${WORKDIR}/cdrtools-3.01"
 
-- 
2.1.4



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

* [PATCH 8/8] clutter-gst: update to 3.0.8
  2015-08-10 14:23 [PATCH 0/8] Package version updates Alexander Kanavin
                   ` (6 preceding siblings ...)
  2015-08-10 14:23 ` [PATCH 7/8] cdrtools: update to 3.01a31 Alexander Kanavin
@ 2015-08-10 14:23 ` Alexander Kanavin
  7 siblings, 0 replies; 13+ messages in thread
From: Alexander Kanavin @ 2015-08-10 14:23 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 .../clutter/{clutter-gst-3.0_3.0.6.bb => clutter-gst-3.0_3.0.8.bb}    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/clutter/{clutter-gst-3.0_3.0.6.bb => clutter-gst-3.0_3.0.8.bb} (58%)

diff --git a/meta/recipes-graphics/clutter/clutter-gst-3.0_3.0.6.bb b/meta/recipes-graphics/clutter/clutter-gst-3.0_3.0.8.bb
similarity index 58%
rename from meta/recipes-graphics/clutter/clutter-gst-3.0_3.0.6.bb
rename to meta/recipes-graphics/clutter/clutter-gst-3.0_3.0.8.bb
index 27beed9..319a955 100644
--- a/meta/recipes-graphics/clutter/clutter-gst-3.0_3.0.6.bb
+++ b/meta/recipes-graphics/clutter/clutter-gst-3.0_3.0.8.bb
@@ -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] = "3100f52225d8be92f57efe246943e3a2"
-SRC_URI[archive.sha256sum] = "d6d5493ae57cc175deee479304569c419d2bb90de3be124e6f3350ae7e73df76"
+SRC_URI[archive.md5sum] = "f7d97f96e7cca82f38317d1734d5dadb"
+SRC_URI[archive.sha256sum] = "582e85b88482e16f7ec719363e38fadf84fab4d4baaa21e5227a454b824f135c"
-- 
2.1.4



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

* Re: [PATCH 2/8] apmd: update to 3.2.2-15
  2015-08-10 14:23 ` [PATCH 2/8] apmd: update to 3.2.2-15 Alexander Kanavin
@ 2015-08-10 16:00   ` Burton, Ross
  0 siblings, 0 replies; 13+ messages in thread
From: Burton, Ross @ 2015-08-10 16:00 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 302 bytes --]

On 10 August 2015 at 15:23, Alexander Kanavin <
alexander.kanavin@linux.intel.com> wrote:

> +++ b/meta/recipes-bsp/apmd/apmd/legacy.patch
>

Patch needs a header/upstream-status/signed-off-by.  Don't bother putting
the comment in the recipe, but put that metadata in the patch itself.

Ross

[-- Attachment #2: Type: text/html, Size: 724 bytes --]

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

* Re: [PATCH 6/8] bootchart2: update to 0.14.7
  2015-08-10 14:23 ` [PATCH 6/8] bootchart2: update to 0.14.7 Alexander Kanavin
@ 2015-08-10 16:02   ` Burton, Ross
  2015-08-10 16:05     ` Burton, Ross
  0 siblings, 1 reply; 13+ messages in thread
From: Burton, Ross @ 2015-08-10 16:02 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 242 bytes --]

On 10 August 2015 at 15:23, Alexander Kanavin <
alexander.kanavin@linux.intel.com> wrote:

> Drop bootchartd-no-bashism.patch as it's been merged upstream
>

This doesn't apply to master-next, could you rebase please?

Cheers,
Ross

[-- Attachment #2: Type: text/html, Size: 697 bytes --]

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

* Re: [PATCH 6/8] bootchart2: update to 0.14.7
  2015-08-10 16:02   ` Burton, Ross
@ 2015-08-10 16:05     ` Burton, Ross
  0 siblings, 0 replies; 13+ messages in thread
From: Burton, Ross @ 2015-08-10 16:05 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 190 bytes --]

On 10 August 2015 at 17:02, Burton, Ross <ross.burton@intel.com> wrote:

> This doesn't apply to master-next, could you rebase please?
>

Ignore this - it was a trivial merge.

Ross

[-- Attachment #2: Type: text/html, Size: 603 bytes --]

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

* Re: [PATCH 4/8] blktool: update to 4-7
  2015-08-10 14:23 ` [PATCH 4/8] blktool: update to 4-7 Alexander Kanavin
@ 2015-08-10 16:07   ` Burton, Ross
  0 siblings, 0 replies; 13+ messages in thread
From: Burton, Ross @ 2015-08-10 16:07 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

On 10 August 2015 at 15:23, Alexander Kanavin <
alexander.kanavin@linux.intel.com> wrote:

>  PR = "r1"
>

This can be removed.


> +# The three patches below are taken from
> ftp://ftp.debian.org/debian/pool/main/b/blktool/blktool_4-7.debian.tar.xz
>  SRC_URI =
> "${DEBIAN_MIRROR}/main/b/blktool/blktool_4.orig.tar.gz;name=tarball \
> -
>  ${DEBIAN_MIRROR}/main/b/blktool/blktool_4-6.1.diff.gz;apply=yes;name=patch"
> +           file://0001-fix-typos-in-manpage.patch \
> +           file://0002-fix-string-error.patch \
> +
>  file://0003-Fix-3-d-argument-for-BLKROSET-it-must-be-const-int.patch \
> +          "
>

The patch origin metadata should be in the patches, not the recipe.

Cheers,
Ross

[-- Attachment #2: Type: text/html, Size: 1568 bytes --]

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

end of thread, other threads:[~2015-08-10 16:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-10 14:23 [PATCH 0/8] Package version updates Alexander Kanavin
2015-08-10 14:23 ` [PATCH 1/8] autogen: update to 5.18.5 Alexander Kanavin
2015-08-10 14:23 ` [PATCH 2/8] apmd: update to 3.2.2-15 Alexander Kanavin
2015-08-10 16:00   ` Burton, Ross
2015-08-10 14:23 ` [PATCH 3/8] apt: update to 1.0.10.1 Alexander Kanavin
2015-08-10 14:23 ` [PATCH 4/8] blktool: update to 4-7 Alexander Kanavin
2015-08-10 16:07   ` Burton, Ross
2015-08-10 14:23 ` [PATCH 5/8] bluez5: update to 5.33 Alexander Kanavin
2015-08-10 14:23 ` [PATCH 6/8] bootchart2: update to 0.14.7 Alexander Kanavin
2015-08-10 16:02   ` Burton, Ross
2015-08-10 16:05     ` Burton, Ross
2015-08-10 14:23 ` [PATCH 7/8] cdrtools: update to 3.01a31 Alexander Kanavin
2015-08-10 14:23 ` [PATCH 8/8] clutter-gst: update to 3.0.8 Alexander Kanavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox