Re: [OE-core] [PATCH 4/4] time: 1.7 -> 1.8

2018-02-21 Thread Robert Yang

Sorry, I Just came back from the Chinese New Year Holiday, I will send it today.

// Robert

On 02/22/2018 04:05 AM, Burton, Ross wrote:

Hi Robert,

Will you be able to send this meta-gplv2 patch?

Ross

On 15 February 2018 at 18:30, Richard Purdie > wrote:


On Mon, 2018-02-05 at 10:41 +0800, Robert Yang wrote:
> * Remove debian.patch which is already in the source.
> * The license is changed to GPLv3, I will add the v2 one
> (time_1.7.bb ) to
>   meta-gplv2.

Could you point me at that patch please as we'll need to merge this at
the same time to avoid test failures.

Cheers,

Richard
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org

http://lists.openembedded.org/mailman/listinfo/openembedded-core




--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 4/4] time: 1.7 -> 1.8

2018-02-21 Thread Robert Yang



On 02/16/2018 02:30 AM, Richard Purdie wrote:

On Mon, 2018-02-05 at 10:41 +0800, Robert Yang wrote:

* Remove debian.patch which is already in the source.
* The license is changed to GPLv3, I will add the v2 one
(time_1.7.bb) to
   meta-gplv2.


Could you point me at that patch please as we'll need to merge this at
the same time to avoid test failures.


Sorry, I hadn't sent it yet. I Just came back from the Chinese New Year
Holiday, I will send it today.

// Robert



Cheers,

Richard


--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 4/4] time: 1.7 -> 1.8

2018-02-21 Thread Burton, Ross
Hi Robert,

Will you be able to send this meta-gplv2 patch?

Ross

On 15 February 2018 at 18:30, Richard Purdie <
richard.pur...@linuxfoundation.org> wrote:

> On Mon, 2018-02-05 at 10:41 +0800, Robert Yang wrote:
> > * Remove debian.patch which is already in the source.
> > * The license is changed to GPLv3, I will add the v2 one
> > (time_1.7.bb) to
> >   meta-gplv2.
>
> Could you point me at that patch please as we'll need to merge this at
> the same time to avoid test failures.
>
> Cheers,
>
> Richard
> --
> ___
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 4/4] time: 1.7 -> 1.8

2018-02-15 Thread Andre McCurdy
On Thu, Feb 15, 2018 at 10:30 AM, Richard Purdie
 wrote:
> On Mon, 2018-02-05 at 10:41 +0800, Robert Yang wrote:
>> * Remove debian.patch which is already in the source.
>> * The license is changed to GPLv3, I will add the v2 one
>> (time_1.7.bb) to
>>   meta-gplv2.
>
> Could you point me at that patch please as we'll need to merge this at
> the same time to avoid test failures.

If there are going to be time recipes in both layers, maybe now is
also the right time to merge time.inc into the main recipe (rather
than duplicate a time.inc in two places... or worse still try to make
both recipes share one copy).
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 4/4] time: 1.7 -> 1.8

2018-02-15 Thread Richard Purdie
On Mon, 2018-02-05 at 10:41 +0800, Robert Yang wrote:
> * Remove debian.patch which is already in the source.
> * The license is changed to GPLv3, I will add the v2 one
> (time_1.7.bb) to
>   meta-gplv2.

Could you point me at that patch please as we'll need to merge this at
the same time to avoid test failures.

Cheers,

Richard
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 4/4] time: 1.7 -> 1.8

2018-02-04 Thread Robert Yang
* Remove debian.patch which is already in the source.
* The license is changed to GPLv3, I will add the v2 one (time_1.7.bb) to
  meta-gplv2.

Signed-off-by: Robert Yang 
---
 meta/recipes-extended/time/time-1.7/debian.patch | 1301 --
 meta/recipes-extended/time/time.inc  |4 +-
 meta/recipes-extended/time/time_1.7.bb   |   11 -
 meta/recipes-extended/time/time_1.8.bb   |8 +
 4 files changed, 10 insertions(+), 1314 deletions(-)
 delete mode 100644 meta/recipes-extended/time/time-1.7/debian.patch
 delete mode 100644 meta/recipes-extended/time/time_1.7.bb
 create mode 100644 meta/recipes-extended/time/time_1.8.bb

diff --git a/meta/recipes-extended/time/time-1.7/debian.patch 
b/meta/recipes-extended/time/time-1.7/debian.patch
deleted file mode 100644
index 23ea0e3..000
--- a/meta/recipes-extended/time/time-1.7/debian.patch
+++ /dev/null
@@ -1,1301 +0,0 @@
-Upstream-Status: Backport
-
 time-1.7.orig/configure.in
-+++ time-1.7/configure.in
-@@ -1,11 +1,8 @@
- dnl Process this file with autoconf to produce a configure script.
- AC_INIT(time.c)
--VERSION=1.7
--AC_SUBST(VERSION)
--PACKAGE=time
--AC_SUBST(PACKAGE)
-+AM_INIT_AUTOMAKE(time, 1.7)
- 
--AC_ARG_PROGRAM
-+AM_MAINTAINER_MODE
- 
- dnl Checks for programs.
- AC_PROG_CC
-@@ -15,7 +12,7 @@
- dnl Checks for header files.
- AC_HEADER_STDC
- AC_HEADER_SYS_WAIT
--AC_CHECK_HEADERS(unistd.h string.h sys/rusage.h)
-+AC_CHECK_HEADERS(unistd.h string.h sys/rusage.h sys/resource.h)
- 
- dnl Checks for typedefs, structures, and compiler characteristics.
- AC_C_CONST
 time-1.7.orig/version.texi
-+++ time-1.7/version.texi
-@@ -1,3 +1,3 @@
--@set UPDATED 12 June 1996
-+@set UPDATED 9 May 2002
- @set EDITION 1.7
- @set VERSION 1.7
 time-1.7.orig/time.c
-+++ time-1.7/time.c
-@@ -147,6 +147,10 @@
-   NULL
- };
- 
-+
-+/* If true, do not show the exit message */
-+static boolean quiet;
-+
- /* If true, show an English description next to each statistic.  */
- static boolean verbose;
- 
-@@ -172,6 +176,7 @@
-   {"help", no_argument, NULL, 'h'},
-   {"output-file", required_argument, NULL, 'o'},
-   {"portability", no_argument, NULL, 'p'},
-+  {"quiet", no_argument,NULL, 'q'},
-   {"verbose", no_argument, NULL, 'v'},
-   {"version", no_argument, NULL, 'V'},
-   {NULL, no_argument, NULL, 0}
-@@ -333,7 +338,8 @@
-   else if (WIFSIGNALED (resp->waitstatus))
- fprintf (fp, "Command terminated by signal %d\n",
-WTERMSIG (resp->waitstatus));
--  else if (WIFEXITED (resp->waitstatus) && WEXITSTATUS (resp->waitstatus))
-+  else if (WIFEXITED (resp->waitstatus) && WEXITSTATUS (resp->waitstatus)
-+ && !quiet)
- fprintf (fp, "Command exited with non-zero status %d\n",
-WEXITSTATUS (resp->waitstatus));
- 
-@@ -523,6 +529,7 @@
-   char *format;   /* Format found in environment.  */
- 
-   /* Initialize the option flags.  */
-+  quiet = false;
-   verbose = false;
-   outfile = NULL;
-   outfp = stderr;
-@@ -536,7 +543,7 @@
-   if (format)
- output_format = format;
- 
--  while ((optc = getopt_long (argc, argv, "+af:o:pvV", longopts, (int *) 0))
-+  while ((optc = getopt_long (argc, argv, "+af:o:pqvV", longopts, (int *) 0))
-!= EOF)
- {
-   switch (optc)
-@@ -555,6 +562,9 @@
-   case 'p':
- output_format = posix_format;
- break;
-+  case 'q':
-+quiet = true;
-+break;
-   case 'v':
- verbose = true;
- break;
-@@ -642,9 +652,9 @@
-   fflush (outfp);
- 
-   if (WIFSTOPPED (res.waitstatus))
--exit (WSTOPSIG (res.waitstatus));
-+exit (WSTOPSIG (res.waitstatus) + 128);
-   else if (WIFSIGNALED (res.waitstatus))
--exit (WTERMSIG (res.waitstatus));
-+exit (WTERMSIG (res.waitstatus) + 128);
-   else if (WIFEXITED (res.waitstatus))
- exit (WEXITSTATUS (res.waitstatus));
- }
-@@ -657,7 +667,7 @@
-   fprintf (stream, "\
- Usage: %s [-apvV] [-f format] [-o file] [--append] [--verbose]\n\
-[--portability] [--format=format] [--output=file] [--version]\n\
--   [--help] command [arg...]\n",
-+   [--quiet] [--help] command [arg...]\n",
-  program_name);
-   exit (status);
- }
 time-1.7.orig/resuse.h
-+++ time-1.7/resuse.h
-@@ -36,19 +36,8 @@
- # include 
- #else
- # define TV_MSEC tv_usec / 1000
--# if HAVE_WAIT3
-+# if HAVE_SYS_RESOURCE_H
- #  include 
--# else
--/* Process resource usage structure.  */
--struct rusage
--{
--  struct timeval ru_utime;/* User time used.  */
--  struct timeval ru_stime;/* System time used.  */
--  int ru_maxrss, ru_ixrss, ru_idrss, ru_isrss,
--  ru_minflt, ru_majflt, ru_nswap, ru_inblock, 
--  ru_oublock, ru_msgsnd, ru_msgrcv, ru_nsignals,
--  ru_nvcsw, ru_nivcsw;
--};
- # endif
- #endif
- 
 time-1.7.orig/time.texi
-+++ time-1.7/time.texi
-@@ -11,6 +11,12 @@
- @finalout
- @end iftex
- 
-+@dircategory Individual utilities
-+@direntry
-+* time: (time). Run programs and summarize
-+