All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] GPLv2 versions of m4 & bison
@ 2011-03-16 21:03 Nitin A Kamble
  2011-03-16 21:03 ` [PATCH 1/2] bison: bring back GPLv2 version 2.3 of bison recipe Nitin A Kamble
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Nitin A Kamble @ 2011-03-16 21:03 UTC (permalink / raw)
  To: poky, openembedded-core

From: Nitin A Kamble <nitin.a.kamble@intel.com>

These commits adds GPLv2 versions of m4 & bison recipes.

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: nitin/misc
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/misc

Thanks,
    Nitin A Kamble <nitin.a.kamble@intel.com>
---


Nitin A Kamble (2):
  bison: bring back GPLv2 version 2.3 of bison recipe
  m4: bring back GPLv2 version 1.4.9 of m4 recipe

 .../bison/bison/bison-2.3_m4.patch                 |  590 ++++++++++++++++++++
 meta/recipes-devtools/bison/bison_2.3.bb           |   35 ++
 meta/recipes-devtools/m4/m4-native_1.4.9.bb        |   12 +
 .../m4/m4/fix_for_circular_dependency.patch        |   75 +++
 meta/recipes-devtools/m4/m4_1.4.9.bb               |   18 +
 5 files changed, 730 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-devtools/bison/bison/bison-2.3_m4.patch
 create mode 100644 meta/recipes-devtools/bison/bison_2.3.bb
 create mode 100644 meta/recipes-devtools/m4/m4-native_1.4.9.bb
 create mode 100644 meta/recipes-devtools/m4/m4/fix_for_circular_dependency.patch
 create mode 100644 meta/recipes-devtools/m4/m4_1.4.9.bb

-- 
1.7.3.4




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

* [PATCH 1/2] bison: bring back GPLv2 version 2.3 of bison recipe
  2011-03-16 21:03 [PATCH 0/2] GPLv2 versions of m4 & bison Nitin A Kamble
@ 2011-03-16 21:03 ` Nitin A Kamble
  2011-03-16 21:03 ` [PATCH 2/2] m4: bring back GPLv2 version 1.4.9 of m4 recipe Nitin A Kamble
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 11+ messages in thread
From: Nitin A Kamble @ 2011-03-16 21:03 UTC (permalink / raw)
  To: poky, openembedded-core

From: Nitin A Kamble <nitin.a.kamble@intel.com>

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 .../bison/bison/bison-2.3_m4.patch                 |  590 ++++++++++++++++++++
 meta/recipes-devtools/bison/bison_2.3.bb           |   35 ++
 2 files changed, 625 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-devtools/bison/bison/bison-2.3_m4.patch
 create mode 100644 meta/recipes-devtools/bison/bison_2.3.bb

diff --git a/meta/recipes-devtools/bison/bison/bison-2.3_m4.patch b/meta/recipes-devtools/bison/bison/bison-2.3_m4.patch
new file mode 100644
index 0000000..81bad93
--- /dev/null
+++ b/meta/recipes-devtools/bison/bison/bison-2.3_m4.patch
@@ -0,0 +1,590 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- /dev/null
++++ bison-1.875/m4/inttypes-pri.m4
+@@ -0,0 +1,32 @@
++# inttypes-pri.m4 serial 1 (gettext-0.11.4)
++dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
++dnl This file is free software, distributed under the terms of the GNU
++dnl General Public License.  As a special exception to the GNU General
++dnl Public License, this file may be distributed as part of a program
++dnl that contains a configuration script generated by Autoconf, under
++dnl the same distribution terms as the rest of that program.
++
++dnl From Bruno Haible.
++
++# Define PRI_MACROS_BROKEN if <inttypes.h> exists and defines the PRI*
++# macros to non-string values.  This is the case on AIX 4.3.3.
++
++AC_DEFUN([gt_INTTYPES_PRI],
++[
++  AC_REQUIRE([gt_HEADER_INTTYPES_H])
++  if test $gt_cv_header_inttypes_h = yes; then
++    AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
++      gt_cv_inttypes_pri_broken,
++      [
++        AC_TRY_COMPILE([#include <inttypes.h>
++#ifdef PRId32
++char *p = PRId32;
++#endif
++], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes)
++      ])
++  fi
++  if test "$gt_cv_inttypes_pri_broken" = yes; then
++    AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1,
++      [Define if <inttypes.h> exists and defines unusable PRI* macros.])
++  fi
++])
+--- /dev/null
++++ bison-1.875/m4/lcmessage.m4
+@@ -0,0 +1,32 @@
++# lcmessage.m4 serial 3 (gettext-0.11.3)
++dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
++dnl This file is free software, distributed under the terms of the GNU
++dnl General Public License.  As a special exception to the GNU General
++dnl Public License, this file may be distributed as part of a program
++dnl that contains a configuration script generated by Autoconf, under
++dnl the same distribution terms as the rest of that program.
++dnl
++dnl This file can can be used in projects which are not available under
++dnl the GNU General Public License or the GNU Library General Public
++dnl License but which still want to provide support for the GNU gettext
++dnl functionality.
++dnl Please note that the actual code of the GNU gettext library is covered
++dnl by the GNU Library General Public License, and the rest of the GNU
++dnl gettext package package is covered by the GNU General Public License.
++dnl They are *not* in the public domain.
++
++dnl Authors:
++dnl   Ulrich Drepper <drepper@cygnus.com>, 1995.
++
++# Check whether LC_MESSAGES is available in <locale.h>.
++
++AC_DEFUN([AM_LC_MESSAGES],
++[
++  AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
++    [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
++       am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
++  if test $am_cv_val_LC_MESSAGES = yes; then
++    AC_DEFINE(HAVE_LC_MESSAGES, 1,
++      [Define if your <locale.h> file defines LC_MESSAGES.])
++  fi
++])
+--- /dev/null
++++ bison-1.875/m4/uintmax_t.m4
+@@ -0,0 +1,29 @@
++# uintmax_t.m4 serial 6 (gettext-0.11)
++dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
++dnl This file is free software, distributed under the terms of the GNU
++dnl General Public License.  As a special exception to the GNU General
++dnl Public License, this file may be distributed as part of a program
++dnl that contains a configuration script generated by Autoconf, under
++dnl the same distribution terms as the rest of that program.
++
++dnl From Paul Eggert.
++
++AC_PREREQ(2.13)
++
++# Define uintmax_t to `unsigned long' or `unsigned long long'
++# if <inttypes.h> does not exist.
++
++AC_DEFUN([jm_AC_TYPE_UINTMAX_T],
++[
++  AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
++  AC_REQUIRE([jm_AC_HEADER_STDINT_H])
++  if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
++    AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])
++    test $ac_cv_type_unsigned_long_long = yes \
++      && ac_type='unsigned long long' \
++      || ac_type='unsigned long'
++    AC_DEFINE_UNQUOTED(uintmax_t, $ac_type,
++  [Define to unsigned long or unsigned long long
++   if <inttypes.h> and <stdint.h> don't define.])
++  fi
++])
+--- /dev/null
++++ bison-1.875/m4/glibc21.m4
+@@ -0,0 +1,32 @@
++# glibc21.m4 serial 2 (fileutils-4.1.3, gettext-0.10.40)
++dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
++dnl This file is free software, distributed under the terms of the GNU
++dnl General Public License.  As a special exception to the GNU General
++dnl Public License, this file may be distributed as part of a program
++dnl that contains a configuration script generated by Autoconf, under
++dnl the same distribution terms as the rest of that program.
++
++# Test for the GNU C Library, version 2.1 or newer.
++# From Bruno Haible.
++
++AC_DEFUN([jm_GLIBC21],
++  [
++    AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
++      ac_cv_gnu_library_2_1,
++      [AC_EGREP_CPP([Lucky GNU user],
++	[
++#include <features.h>
++#ifdef __GNU_LIBRARY__
++ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
++  Lucky GNU user
++ #endif
++#endif
++	],
++	ac_cv_gnu_library_2_1=yes,
++	ac_cv_gnu_library_2_1=no)
++      ]
++    )
++    AC_SUBST(GLIBC21)
++    GLIBC21="$ac_cv_gnu_library_2_1"
++  ]
++)
+--- /dev/null
++++ bison-1.875/m4/stdint_h.m4
+@@ -0,0 +1,28 @@
++# stdint_h.m4 serial 2 (gettext-0.11.4)
++dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
++dnl This file is free software, distributed under the terms of the GNU
++dnl General Public License.  As a special exception to the GNU General
++dnl Public License, this file may be distributed as part of a program
++dnl that contains a configuration script generated by Autoconf, under
++dnl the same distribution terms as the rest of that program.
++
++dnl From Paul Eggert.
++
++# Define HAVE_STDINT_H_WITH_UINTMAX if <stdint.h> exists,
++# doesn't clash with <sys/types.h>, and declares uintmax_t.
++
++AC_DEFUN([jm_AC_HEADER_STDINT_H],
++[
++  AC_CACHE_CHECK([for stdint.h], jm_ac_cv_header_stdint_h,
++  [AC_TRY_COMPILE(
++    [#include <sys/types.h>
++#include <stdint.h>],
++    [uintmax_t i = (uintmax_t) -1;],
++    jm_ac_cv_header_stdint_h=yes,
++    jm_ac_cv_header_stdint_h=no)])
++  if test $jm_ac_cv_header_stdint_h = yes; then
++    AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1,
++[Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
++   and declares uintmax_t. ])
++  fi
++])
+--- /dev/null
++++ bison-1.875/m4/inttypes_h.m4
+@@ -0,0 +1,28 @@
++# inttypes_h.m4 serial 4 (gettext-0.11.4)
++dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
++dnl This file is free software, distributed under the terms of the GNU
++dnl General Public License.  As a special exception to the GNU General
++dnl Public License, this file may be distributed as part of a program
++dnl that contains a configuration script generated by Autoconf, under
++dnl the same distribution terms as the rest of that program.
++
++dnl From Paul Eggert.
++
++# Define HAVE_INTTYPES_H_WITH_UINTMAX if <inttypes.h> exists,
++# doesn't clash with <sys/types.h>, and declares uintmax_t.
++
++AC_DEFUN([jm_AC_HEADER_INTTYPES_H],
++[
++  AC_CACHE_CHECK([for inttypes.h], jm_ac_cv_header_inttypes_h,
++  [AC_TRY_COMPILE(
++    [#include <sys/types.h>
++#include <inttypes.h>],
++    [uintmax_t i = (uintmax_t) -1;],
++    jm_ac_cv_header_inttypes_h=yes,
++    jm_ac_cv_header_inttypes_h=no)])
++  if test $jm_ac_cv_header_inttypes_h = yes; then
++    AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
++[Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
++   and declares uintmax_t. ])
++  fi
++])
+--- /dev/null
++++ bison-1.875/m4/ulonglong.m4
+@@ -0,0 +1,23 @@
++# ulonglong.m4 serial 2 (fileutils-4.0.32, gettext-0.10.40)
++dnl Copyright (C) 1999-2002 Free Software Foundation, Inc.
++dnl This file is free software, distributed under the terms of the GNU
++dnl General Public License.  As a special exception to the GNU General
++dnl Public License, this file may be distributed as part of a program
++dnl that contains a configuration script generated by Autoconf, under
++dnl the same distribution terms as the rest of that program.
++
++dnl From Paul Eggert.
++
++AC_DEFUN([jm_AC_TYPE_UNSIGNED_LONG_LONG],
++[
++  AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long,
++  [AC_TRY_LINK([unsigned long long ull = 1; int i = 63;],
++    [unsigned long long ullmax = (unsigned long long) -1;
++     return ull << i | ull >> i | ullmax / ull | ullmax % ull;],
++    ac_cv_type_unsigned_long_long=yes,
++    ac_cv_type_unsigned_long_long=no)])
++  if test $ac_cv_type_unsigned_long_long = yes; then
++    AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1,
++      [Define if you have the unsigned long long type.])
++  fi
++])
+--- /dev/null
++++ bison-1.875/m4/codeset.m4
+@@ -0,0 +1,23 @@
++# codeset.m4 serial AM1 (gettext-0.10.40)
++dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
++dnl This file is free software, distributed under the terms of the GNU
++dnl General Public License.  As a special exception to the GNU General
++dnl Public License, this file may be distributed as part of a program
++dnl that contains a configuration script generated by Autoconf, under
++dnl the same distribution terms as the rest of that program.
++
++dnl From Bruno Haible.
++
++AC_DEFUN([AM_LANGINFO_CODESET],
++[
++  AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
++    [AC_TRY_LINK([#include <langinfo.h>],
++      [char* cs = nl_langinfo(CODESET);],
++      am_cv_langinfo_codeset=yes,
++      am_cv_langinfo_codeset=no)
++    ])
++  if test $am_cv_langinfo_codeset = yes; then
++    AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
++      [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
++  fi
++])
+--- /dev/null
++++ bison-1.875/m4/intdiv0.m4
+@@ -0,0 +1,72 @@
++# intdiv0.m4 serial 1 (gettext-0.11.3)
++dnl Copyright (C) 2002 Free Software Foundation, Inc.
++dnl This file is free software, distributed under the terms of the GNU
++dnl General Public License.  As a special exception to the GNU General
++dnl Public License, this file may be distributed as part of a program
++dnl that contains a configuration script generated by Autoconf, under
++dnl the same distribution terms as the rest of that program.
++
++dnl From Bruno Haible.
++
++AC_DEFUN([gt_INTDIV0],
++[
++  AC_REQUIRE([AC_PROG_CC])dnl
++  AC_REQUIRE([AC_CANONICAL_HOST])dnl
++
++  AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
++    gt_cv_int_divbyzero_sigfpe,
++    [
++      AC_TRY_RUN([
++#include <stdlib.h>
++#include <signal.h>
++
++static void
++#ifdef __cplusplus
++sigfpe_handler (int sig)
++#else
++sigfpe_handler (sig) int sig;
++#endif
++{
++  /* Exit with code 0 if SIGFPE, with code 1 if any other signal.  */
++  exit (sig != SIGFPE);
++}
++
++int x = 1;
++int y = 0;
++int z;
++int nan;
++
++int main ()
++{
++  signal (SIGFPE, sigfpe_handler);
++/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP.  */
++#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
++  signal (SIGTRAP, sigfpe_handler);
++#endif
++/* Linux/SPARC yields signal SIGILL.  */
++#if defined (__sparc__) && defined (__linux__)
++  signal (SIGILL, sigfpe_handler);
++#endif
++
++  z = x / y;
++  nan = y / y;
++  exit (1);
++}
++], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no,
++        [
++          # Guess based on the CPU.
++          case "$host_cpu" in
++            alpha* | i[34567]86 | m68k | s390*)
++              gt_cv_int_divbyzero_sigfpe="guessing yes";;
++            *)
++              gt_cv_int_divbyzero_sigfpe="guessing no";;
++          esac
++        ])
++    ])
++  case "$gt_cv_int_divbyzero_sigfpe" in
++    *yes) value=1;;
++    *) value=0;;
++  esac
++  AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value,
++    [Define if integer division by zero raises signal SIGFPE.])
++])
+--- /dev/null
++++ bison-1.875/m4/glib.m4
+@@ -0,0 +1,196 @@
++# Configure paths for GLIB
++# Owen Taylor     97-11-3
++
++dnl AM_PATH_GLIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
++dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if "gmodule" or 
++dnl gthread is specified in MODULES, pass to glib-config
++dnl
++AC_DEFUN(AM_PATH_GLIB,
++[dnl 
++dnl Get the cflags and libraries from the glib-config script
++dnl
++AC_ARG_WITH(glib-prefix,[  --with-glib-prefix=PFX   Prefix where GLIB is installed (optional)],
++            glib_config_prefix="$withval", glib_config_prefix="")
++AC_ARG_WITH(glib-exec-prefix,[  --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional)],
++            glib_config_exec_prefix="$withval", glib_config_exec_prefix="")
++AC_ARG_ENABLE(glibtest, [  --disable-glibtest       Do not try to compile and run a test GLIB program],
++		    , enable_glibtest=yes)
++
++  if test x$glib_config_exec_prefix != x ; then
++     glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix"
++     if test x${GLIB_CONFIG+set} != xset ; then
++        GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config
++     fi
++  fi
++  if test x$glib_config_prefix != x ; then
++     glib_config_args="$glib_config_args --prefix=$glib_config_prefix"
++     if test x${GLIB_CONFIG+set} != xset ; then
++        GLIB_CONFIG=$glib_config_prefix/bin/glib-config
++     fi
++  fi
++
++  for module in . $4
++  do
++      case "$module" in
++         gmodule) 
++             glib_config_args="$glib_config_args gmodule"
++         ;;
++         gthread) 
++             glib_config_args="$glib_config_args gthread"
++         ;;
++      esac
++  done
++
++  AC_PATH_PROG(GLIB_CONFIG, glib-config, no)
++  min_glib_version=ifelse([$1], ,0.99.7,$1)
++  AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
++  no_glib=""
++  if test "$GLIB_CONFIG" = "no" ; then
++    no_glib=yes
++  else
++    GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags`
++    GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs`
++    glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \
++           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
++    glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \
++           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
++    glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \
++           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
++    if test "x$enable_glibtest" = "xyes" ; then
++      ac_save_CFLAGS="$CFLAGS"
++      ac_save_LIBS="$LIBS"
++      CFLAGS="$CFLAGS $GLIB_CFLAGS"
++      LIBS="$GLIB_LIBS $LIBS"
++dnl
++dnl Now check if the installed GLIB is sufficiently new. (Also sanity
++dnl checks the results of glib-config to some extent
++dnl
++      rm -f conf.glibtest
++      AC_TRY_RUN([
++#include <glib.h>
++#include <stdio.h>
++#include <stdlib.h>
++
++int 
++main ()
++{
++  int major, minor, micro;
++  char *tmp_version;
++
++  system ("touch conf.glibtest");
++
++  /* HP/UX 9 (%@#!) writes to sscanf strings */
++  tmp_version = g_strdup("$min_glib_version");
++  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
++     printf("%s, bad version string\n", "$min_glib_version");
++     exit(1);
++   }
++
++  if ((glib_major_version != $glib_config_major_version) ||
++      (glib_minor_version != $glib_config_minor_version) ||
++      (glib_micro_version != $glib_config_micro_version))
++    {
++      printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 
++             $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
++             glib_major_version, glib_minor_version, glib_micro_version);
++      printf ("*** was found! If glib-config was correct, then it is best\n");
++      printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n");
++      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
++      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
++      printf("*** required on your system.\n");
++      printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
++      printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n");
++      printf("*** before re-running configure\n");
++    } 
++  else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
++	   (glib_minor_version != GLIB_MINOR_VERSION) ||
++           (glib_micro_version != GLIB_MICRO_VERSION))
++    {
++      printf("*** GLIB header files (version %d.%d.%d) do not match\n",
++	     GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
++      printf("*** library (version %d.%d.%d)\n",
++	     glib_major_version, glib_minor_version, glib_micro_version);
++    }
++  else
++    {
++      if ((glib_major_version > major) ||
++        ((glib_major_version == major) && (glib_minor_version > minor)) ||
++        ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
++      {
++        return 0;
++       }
++     else
++      {
++        printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
++               glib_major_version, glib_minor_version, glib_micro_version);
++        printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
++	       major, minor, micro);
++        printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
++        printf("***\n");
++        printf("*** If you have already installed a sufficiently new version, this error\n");
++        printf("*** probably means that the wrong copy of the glib-config shell script is\n");
++        printf("*** being found. The easiest way to fix this is to remove the old version\n");
++        printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n");
++        printf("*** correct copy of glib-config. (In this case, you will have to\n");
++        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
++        printf("*** so that the correct libraries are found at run-time))\n");
++      }
++    }
++  return 1;
++}
++],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
++       CFLAGS="$ac_save_CFLAGS"
++       LIBS="$ac_save_LIBS"
++     fi
++  fi
++  if test "x$no_glib" = x ; then
++     AC_MSG_RESULT(yes)
++     ifelse([$2], , :, [$2])     
++  else
++     AC_MSG_RESULT(no)
++     if test "$GLIB_CONFIG" = "no" ; then
++       echo "*** The glib-config script installed by GLIB could not be found"
++       echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in"
++       echo "*** your path, or set the GLIB_CONFIG environment variable to the"
++       echo "*** full path to glib-config."
++     else
++       if test -f conf.glibtest ; then
++        :
++       else
++          echo "*** Could not run GLIB test program, checking why..."
++          CFLAGS="$CFLAGS $GLIB_CFLAGS"
++          LIBS="$LIBS $GLIB_LIBS"
++          AC_TRY_LINK([
++#include <glib.h>
++#include <stdio.h>
++],      [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
++        [ echo "*** The test program compiled, but did not run. This usually means"
++          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
++          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
++          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
++          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
++          echo "*** is required on your system"
++	  echo "***"
++          echo "*** If you have an old version installed, it is best to remove it, although"
++          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
++          echo "***"
++          echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
++          echo "*** came with the system with the command"
++          echo "***"
++          echo "***    rpm --erase --nodeps gtk gtk-devel" ],
++        [ echo "*** The test program failed to compile or link. See the file config.log for the"
++          echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
++          echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
++          echo "*** may want to edit the glib-config script: $GLIB_CONFIG" ])
++          CFLAGS="$ac_save_CFLAGS"
++          LIBS="$ac_save_LIBS"
++       fi
++     fi
++     GLIB_CFLAGS=""
++     GLIB_LIBS=""
++     ifelse([$3], , :, [$3])
++  fi
++  AC_SUBST(GLIB_CFLAGS)
++  AC_SUBST(GLIB_LIBS)
++  rm -f conf.glibtest
++])
+--- /dev/null
++++ bison-1.875/m4/inttypes.m4
+@@ -0,0 +1,27 @@
++# inttypes.m4 serial 1 (gettext-0.11.4)
++dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
++dnl This file is free software, distributed under the terms of the GNU
++dnl General Public License.  As a special exception to the GNU General
++dnl Public License, this file may be distributed as part of a program
++dnl that contains a configuration script generated by Autoconf, under
++dnl the same distribution terms as the rest of that program.
++
++dnl From Paul Eggert.
++
++# Define HAVE_INTTYPES_H if <inttypes.h> exists and doesn't clash with
++# <sys/types.h>.
++
++AC_DEFUN([gt_HEADER_INTTYPES_H],
++[
++  AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h,
++  [
++    AC_TRY_COMPILE(
++      [#include <sys/types.h>
++#include <inttypes.h>],
++      [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no)
++  ])
++  if test $gt_cv_header_inttypes_h = yes; then
++    AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1,
++      [Define if <inttypes.h> exists and doesn't clash with <sys/types.h>.])
++  fi
++])
+--- /dev/null
++++ bison-1.875/m4/isc-posix.m4
+@@ -0,0 +1,26 @@
++# isc-posix.m4 serial 2 (gettext-0.11.2)
++dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
++dnl This file is free software, distributed under the terms of the GNU
++dnl General Public License.  As a special exception to the GNU General
++dnl Public License, this file may be distributed as part of a program
++dnl that contains a configuration script generated by Autoconf, under
++dnl the same distribution terms as the rest of that program.
++
++# This file is not needed with autoconf-2.53 and newer.  Remove it in 2005.
++
++# This test replaces the one in autoconf.
++# Currently this macro should have the same name as the autoconf macro
++# because gettext's gettext.m4 (distributed in the automake package)
++# still uses it.  Otherwise, the use in gettext.m4 makes autoheader
++# give these diagnostics:
++#   configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
++#   configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
++
++undefine([AC_ISC_POSIX])
++
++AC_DEFUN([AC_ISC_POSIX],
++  [
++    dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
++    AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
++  ]
++)
+
diff --git a/meta/recipes-devtools/bison/bison_2.3.bb b/meta/recipes-devtools/bison/bison_2.3.bb
new file mode 100644
index 0000000..08aaa6e
--- /dev/null
+++ b/meta/recipes-devtools/bison/bison_2.3.bb
@@ -0,0 +1,35 @@
+SUMMARY = "GNU Project parser generator (yacc replacement)."
+DESCRIPTION = "Bison is a general-purpose parser generator that converts an annotated context-free grammar into \
+an LALR(1) or GLR parser for that grammar.  Bison is upward compatible with Yacc: all properly-written Yacc \
+grammars ought to work with Bison with no change. Anyone familiar with Yacc should be able to use Bison with \
+little trouble."
+HOMEPAGE = "http://www.gnu.org/software/bison/"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
+SECTION = "devel"
+PRIORITY = "optional"
+DEPENDS = "gettext bison-native"
+
+PR = "r0"
+
+BASE_SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.gz \
+         file://bison-2.3_m4.patch"
+
+SRC_URI = "${BASE_SRC_URI}"
+
+SRC_URI[md5sum] = "22327efdd5080e2b1acb6e560a04b43a"
+SRC_URI[sha256sum] = "52f78aa4761a74ceb7fdf770f3554dd84308c3b93c4255e3a5c17558ecda293e"
+
+DEPENDS_virtclass-native = "gettext-native"
+SRC_URI_virtclass-native = "${BASE_SRC_URI}"
+
+inherit autotools
+acpaths = "-I ${S}/m4"
+
+do_install_append_virtclass-native() {
+	create_wrapper ${D}/${bindir}/bison \
+		M4=${STAGING_BINDIR_NATIVE}/m4 \
+		BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison
+}
+#bison-native encodes the staging M4 path
+BBCLASSEXTEND = "native"
-- 
1.7.3.4




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

* [PATCH 2/2] m4: bring back GPLv2 version 1.4.9 of m4 recipe
  2011-03-16 21:03 [PATCH 0/2] GPLv2 versions of m4 & bison Nitin A Kamble
  2011-03-16 21:03 ` [PATCH 1/2] bison: bring back GPLv2 version 2.3 of bison recipe Nitin A Kamble
@ 2011-03-16 21:03 ` Nitin A Kamble
  2011-03-17  0:22   ` [OE-core] " Richard Purdie
  2011-03-17  1:01   ` Gary Thomas
  3 siblings, 0 replies; 11+ messages in thread
From: Nitin A Kamble @ 2011-03-16 21:03 UTC (permalink / raw)
  To: poky, openembedded-core

From: Nitin A Kamble <nitin.a.kamble@intel.com>

Note: Downgrading of m4 would require rebuilding of the autoconf
Fixed circular depedency with the newer autoconf

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 meta/recipes-devtools/m4/m4-native_1.4.9.bb        |   12 +++
 .../m4/m4/fix_for_circular_dependency.patch        |   75 ++++++++++++++++++++
 meta/recipes-devtools/m4/m4_1.4.9.bb               |   18 +++++
 3 files changed, 105 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-devtools/m4/m4-native_1.4.9.bb
 create mode 100644 meta/recipes-devtools/m4/m4/fix_for_circular_dependency.patch
 create mode 100644 meta/recipes-devtools/m4/m4_1.4.9.bb

diff --git a/meta/recipes-devtools/m4/m4-native_1.4.9.bb b/meta/recipes-devtools/m4/m4-native_1.4.9.bb
new file mode 100644
index 0000000..fa871b3
--- /dev/null
+++ b/meta/recipes-devtools/m4/m4-native_1.4.9.bb
@@ -0,0 +1,12 @@
+require m4_${PV}.bb
+inherit native
+
+INHIBIT_AUTOTOOLS_DEPS = "1"
+DEPENDS += "gnu-config-native"
+
+do_configure()  {
+	install -m 0644 ${STAGING_DATADIR}/gnu-config/config.sub .
+	install -m 0644 ${STAGING_DATADIR}/gnu-config/config.guess .
+	oe_runconf
+}
+
diff --git a/meta/recipes-devtools/m4/m4/fix_for_circular_dependency.patch b/meta/recipes-devtools/m4/m4/fix_for_circular_dependency.patch
new file mode 100644
index 0000000..ba51d87
--- /dev/null
+++ b/meta/recipes-devtools/m4/m4/fix_for_circular_dependency.patch
@@ -0,0 +1,75 @@
+The older GPLv2 m4 does not work well with newer autoconf. It causes the 
+circular dependency as seen bellow.
+  Removing this m4 file which was needed only forl older autoconf
+
+| configure.ac:34: error: AC_REQUIRE: circular dependency of AC_GNU_SOURCE
+| /build_disk/poky_build/build1/tmp/work/i586-poky-linux/m4-1.4.9-r0/m4-1.4.9/m4/extensions.m4:19: AC_USE_SYSTEM_EXTENSIONS is expanded from...
+| ../../lib/autoconf/specific.m4:310: AC_GNU_SOURCE is expanded from...
+| /build_disk/poky_build/build1/tmp/work/i586-poky-linux/m4-1.4.9-r0/m4-1.4.9/m4/gnulib-comp.m4:21: M4_EARLY is expanded from...
+| configure.ac:34: the top level
+| autom4te: /build_disk/poky_build/build1/tmp/sysroots/x86_64-linux/usr/bin/m4 failed with exit status: 1
+| aclocal: /build_disk/poky_build/build1/tmp/sysroots/x86_64-linux/usr/bin/autom4te failed with exit status: 1
+| autoreconf: aclocal failed with exit status: 1
+
+Nitin A Kamble <nitin.a.kamble@intel.com>
+2011/03/16
+
+Index: m4-1.4.9/m4/extensions.m4
+===================================================================
+--- m4-1.4.9.orig/m4/extensions.m4
++++ m4-1.4.9/m4/extensions.m4
+@@ -6,53 +6,10 @@
+ # gives unlimited permission to copy and/or distribute it,
+ # with or without modifications, as long as this notice is preserved.
+ 
+-# This definition of AC_USE_SYSTEM_EXTENSIONS is stolen from CVS
+-# Autoconf.  Perhaps we can remove this once we can assume Autoconf
+-# 2.61 or later everywhere, but since CVS Autoconf mutates rapidly
+-# enough in this area it's likely we'll need to redefine
+-# AC_USE_SYSTEM_EXTENSIONS for quite some time.
+-
+-# AC_USE_SYSTEM_EXTENSIONS
+-# ------------------------
+-# Enable extensions on systems that normally disable them,
+-# typically due to standards-conformance issues.
+-AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
+-[
+-  AC_BEFORE([$0], [AC_COMPILE_IFELSE])
+-  AC_BEFORE([$0], [AC_RUN_IFELSE])
+-
+-  AC_REQUIRE([AC_GNU_SOURCE])
+-  AC_REQUIRE([AC_AIX])
+-  AC_REQUIRE([AC_MINIX])
+-
+-  AH_VERBATIM([__EXTENSIONS__],
+-[/* Enable extensions on Solaris.  */
+-#ifndef __EXTENSIONS__
+-# undef __EXTENSIONS__
+-#endif
+-#ifndef _POSIX_PTHREAD_SEMANTICS
+-# undef _POSIX_PTHREAD_SEMANTICS
+-#endif
+-#ifndef _TANDEM_SOURCE
+-# undef _TANDEM_SOURCE
+-#endif])
+-  AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__],
+-    [ac_cv_safe_to_define___extensions__],
+-    [AC_COMPILE_IFELSE(
+-       [AC_LANG_PROGRAM([
+-#	  define __EXTENSIONS__ 1
+-	  AC_INCLUDES_DEFAULT])],
+-       [ac_cv_safe_to_define___extensions__=yes],
+-       [ac_cv_safe_to_define___extensions__=no])])
+-  test $ac_cv_safe_to_define___extensions__ = yes &&
+-    AC_DEFINE([__EXTENSIONS__])
+-  AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
+-  AC_DEFINE([_TANDEM_SOURCE])
+-])
+ 
+ # gl_USE_SYSTEM_EXTENSIONS
+ # ------------------------
+ # Enable extensions on systems that normally disable them,
+ # typically due to standards-conformance issues.
+ AC_DEFUN([gl_USE_SYSTEM_EXTENSIONS],
+-  [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])])
++  [])
diff --git a/meta/recipes-devtools/m4/m4_1.4.9.bb b/meta/recipes-devtools/m4/m4_1.4.9.bb
new file mode 100644
index 0000000..94c8bde
--- /dev/null
+++ b/meta/recipes-devtools/m4/m4_1.4.9.bb
@@ -0,0 +1,18 @@
+SUMMARY = "Traditional Unix macro processor"
+DESCRIPTION = "GNU m4 is an implementation of the traditional Unix macro processor.  It is mostly SVR4 \
+compatible although it has some extensions (for example, handling more than 9 positional parameters to macros). \
+GNU M4 also has built-in functions for including files, running shell commands, doing arithmetic, etc."
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe\
+	file://examples/COPYING;md5=1d49bd61dc590f014cae7173b43e3e5c"
+
+PR = "r0"
+SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz \
+	file://fix_for_circular_dependency.patch "
+
+SRC_URI[md5sum] = "1ba8e147aff5e79bd2bfb983d86b53d5"
+SRC_URI[sha256sum] = "815ce53853fbf6493617f467389b799208b1ec98296b95be44a683f8bcfd7c47"
+
+inherit autotools
+
+EXTRA_OEMAKE += "'infodir=${infodir}'"
-- 
1.7.3.4




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

* Re: [PATCH 0/2] GPLv2 versions of m4 & bison
  2011-03-16 21:03 [PATCH 0/2] GPLv2 versions of m4 & bison Nitin A Kamble
@ 2011-03-17  0:22   ` Richard Purdie
  2011-03-16 21:03 ` [PATCH 2/2] m4: bring back GPLv2 version 1.4.9 of m4 recipe Nitin A Kamble
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 11+ messages in thread
From: Richard Purdie @ 2011-03-17  0:22 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: poky

On Wed, 2011-03-16 at 14:03 -0700, Nitin A Kamble wrote:
> From: Nitin A Kamble <nitin.a.kamble@intel.com>
> 
> These commits adds GPLv2 versions of m4 & bison recipes.
> 
> Pull URL: git://git.pokylinux.org/poky-contrib.git
>   Branch: nitin/misc
>   Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/misc
> 
> Thanks,
>     Nitin A Kamble <nitin.a.kamble@intel.com>
> ---
> 
> 
> Nitin A Kamble (2):
>   bison: bring back GPLv2 version 2.3 of bison recipe
>   m4: bring back GPLv2 version 1.4.9 of m4 recipe

Merged to master, thanks.

Richard




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

* Re: [OE-core] [PATCH 0/2] GPLv2 versions of m4 & bison
@ 2011-03-17  0:22   ` Richard Purdie
  0 siblings, 0 replies; 11+ messages in thread
From: Richard Purdie @ 2011-03-17  0:22 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: poky

On Wed, 2011-03-16 at 14:03 -0700, Nitin A Kamble wrote:
> From: Nitin A Kamble <nitin.a.kamble@intel.com>
> 
> These commits adds GPLv2 versions of m4 & bison recipes.
> 
> Pull URL: git://git.pokylinux.org/poky-contrib.git
>   Branch: nitin/misc
>   Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/misc
> 
> Thanks,
>     Nitin A Kamble <nitin.a.kamble@intel.com>
> ---
> 
> 
> Nitin A Kamble (2):
>   bison: bring back GPLv2 version 2.3 of bison recipe
>   m4: bring back GPLv2 version 1.4.9 of m4 recipe

Merged to master, thanks.

Richard



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

* Re: [poky] [PATCH 0/2] GPLv2 versions of m4 & bison
  2011-03-16 21:03 [PATCH 0/2] GPLv2 versions of m4 & bison Nitin A Kamble
@ 2011-03-17  1:01   ` Gary Thomas
  2011-03-16 21:03 ` [PATCH 2/2] m4: bring back GPLv2 version 1.4.9 of m4 recipe Nitin A Kamble
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 11+ messages in thread
From: Gary Thomas @ 2011-03-17  1:01 UTC (permalink / raw)
  To: Nitin A Kamble; +Cc: poky, openembedded-core

On 03/16/2011 03:03 PM, Nitin A Kamble wrote:
> From: Nitin A Kamble<nitin.a.kamble@intel.com>
>
> These commits adds GPLv2 versions of m4&  bison recipes.
>
> Pull URL: git://git.pokylinux.org/poky-contrib.git
>    Branch: nitin/misc
>    Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/misc
>
> Thanks,
>      Nitin A Kamble<nitin.a.kamble@intel.com>
> ---
>
>
> Nitin A Kamble (2):
>    bison: bring back GPLv2 version 2.3 of bison recipe
>    m4: bring back GPLv2 version 1.4.9 of m4 recipe
>
>   .../bison/bison/bison-2.3_m4.patch                 |  590 ++++++++++++++++++++
>   meta/recipes-devtools/bison/bison_2.3.bb           |   35 ++
>   meta/recipes-devtools/m4/m4-native_1.4.9.bb        |   12 +
>   .../m4/m4/fix_for_circular_dependency.patch        |   75 +++
>   meta/recipes-devtools/m4/m4_1.4.9.bb               |   18 +
>   5 files changed, 730 insertions(+), 0 deletions(-)
>   create mode 100644 meta/recipes-devtools/bison/bison/bison-2.3_m4.patch
>   create mode 100644 meta/recipes-devtools/bison/bison_2.3.bb
>   create mode 100644 meta/recipes-devtools/m4/m4-native_1.4.9.bb
>   create mode 100644 meta/recipes-devtools/m4/m4/fix_for_circular_dependency.patch
>   create mode 100644 meta/recipes-devtools/m4/m4_1.4.9.bb
>

Was this purely for licensing reasons?  (just asking since there was no discussion on this list)

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



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

* Re: [PATCH 0/2] GPLv2 versions of m4 & bison
@ 2011-03-17  1:01   ` Gary Thomas
  0 siblings, 0 replies; 11+ messages in thread
From: Gary Thomas @ 2011-03-17  1:01 UTC (permalink / raw)
  To: Nitin A Kamble; +Cc: poky, openembedded-core

On 03/16/2011 03:03 PM, Nitin A Kamble wrote:
> From: Nitin A Kamble<nitin.a.kamble@intel.com>
>
> These commits adds GPLv2 versions of m4&  bison recipes.
>
> Pull URL: git://git.pokylinux.org/poky-contrib.git
>    Branch: nitin/misc
>    Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/misc
>
> Thanks,
>      Nitin A Kamble<nitin.a.kamble@intel.com>
> ---
>
>
> Nitin A Kamble (2):
>    bison: bring back GPLv2 version 2.3 of bison recipe
>    m4: bring back GPLv2 version 1.4.9 of m4 recipe
>
>   .../bison/bison/bison-2.3_m4.patch                 |  590 ++++++++++++++++++++
>   meta/recipes-devtools/bison/bison_2.3.bb           |   35 ++
>   meta/recipes-devtools/m4/m4-native_1.4.9.bb        |   12 +
>   .../m4/m4/fix_for_circular_dependency.patch        |   75 +++
>   meta/recipes-devtools/m4/m4_1.4.9.bb               |   18 +
>   5 files changed, 730 insertions(+), 0 deletions(-)
>   create mode 100644 meta/recipes-devtools/bison/bison/bison-2.3_m4.patch
>   create mode 100644 meta/recipes-devtools/bison/bison_2.3.bb
>   create mode 100644 meta/recipes-devtools/m4/m4-native_1.4.9.bb
>   create mode 100644 meta/recipes-devtools/m4/m4/fix_for_circular_dependency.patch
>   create mode 100644 meta/recipes-devtools/m4/m4_1.4.9.bb
>

Was this purely for licensing reasons?  (just asking since there was no discussion on this list)

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: [poky] [PATCH 0/2] GPLv2 versions of m4 & bison
  2011-03-17  1:01   ` Gary Thomas
@ 2011-03-17  1:20     ` Mark Hatle
  -1 siblings, 0 replies; 11+ messages in thread
From: Mark Hatle @ 2011-03-17  1:20 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: poky

Yes, these are alternative versions purely for licensing.  There is a target
"poky-image-basic" that is our goal for allowing both (modern) licensing, and
non-(L)GPLv3 licensing.  Anything outside (above and beyond) that is not part of
the plan.

The goal is to allow people to be able to produce a "basic", command line
oriented system that does not require (L)GPLv3 components.

(X is not part of the basic image, but X should be fine as well, since it's the
MIT-X licensing...)

--Mark

On 3/16/11 8:01 PM, Gary Thomas wrote:
> On 03/16/2011 03:03 PM, Nitin A Kamble wrote:
>> From: Nitin A Kamble<nitin.a.kamble@intel.com>
>>
>> These commits adds GPLv2 versions of m4&  bison recipes.
>>
>> Pull URL: git://git.pokylinux.org/poky-contrib.git
>>    Branch: nitin/misc
>>    Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/misc
>>
>> Thanks,
>>      Nitin A Kamble<nitin.a.kamble@intel.com>
>> ---
>>
>>
>> Nitin A Kamble (2):
>>    bison: bring back GPLv2 version 2.3 of bison recipe
>>    m4: bring back GPLv2 version 1.4.9 of m4 recipe
>>
>>   .../bison/bison/bison-2.3_m4.patch                 |  590 ++++++++++++++++++++
>>   meta/recipes-devtools/bison/bison_2.3.bb           |   35 ++
>>   meta/recipes-devtools/m4/m4-native_1.4.9.bb        |   12 +
>>   .../m4/m4/fix_for_circular_dependency.patch        |   75 +++
>>   meta/recipes-devtools/m4/m4_1.4.9.bb               |   18 +
>>   5 files changed, 730 insertions(+), 0 deletions(-)
>>   create mode 100644 meta/recipes-devtools/bison/bison/bison-2.3_m4.patch
>>   create mode 100644 meta/recipes-devtools/bison/bison_2.3.bb
>>   create mode 100644 meta/recipes-devtools/m4/m4-native_1.4.9.bb
>>   create mode 100644 meta/recipes-devtools/m4/m4/fix_for_circular_dependency.patch
>>   create mode 100644 meta/recipes-devtools/m4/m4_1.4.9.bb
>>
> 
> Was this purely for licensing reasons?  (just asking since there was no discussion on this list)
> 




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

* Re: [OE-core] [PATCH 0/2] GPLv2 versions of m4 & bison
@ 2011-03-17  1:20     ` Mark Hatle
  0 siblings, 0 replies; 11+ messages in thread
From: Mark Hatle @ 2011-03-17  1:20 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: poky

Yes, these are alternative versions purely for licensing.  There is a target
"poky-image-basic" that is our goal for allowing both (modern) licensing, and
non-(L)GPLv3 licensing.  Anything outside (above and beyond) that is not part of
the plan.

The goal is to allow people to be able to produce a "basic", command line
oriented system that does not require (L)GPLv3 components.

(X is not part of the basic image, but X should be fine as well, since it's the
MIT-X licensing...)

--Mark

On 3/16/11 8:01 PM, Gary Thomas wrote:
> On 03/16/2011 03:03 PM, Nitin A Kamble wrote:
>> From: Nitin A Kamble<nitin.a.kamble@intel.com>
>>
>> These commits adds GPLv2 versions of m4&  bison recipes.
>>
>> Pull URL: git://git.pokylinux.org/poky-contrib.git
>>    Branch: nitin/misc
>>    Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/misc
>>
>> Thanks,
>>      Nitin A Kamble<nitin.a.kamble@intel.com>
>> ---
>>
>>
>> Nitin A Kamble (2):
>>    bison: bring back GPLv2 version 2.3 of bison recipe
>>    m4: bring back GPLv2 version 1.4.9 of m4 recipe
>>
>>   .../bison/bison/bison-2.3_m4.patch                 |  590 ++++++++++++++++++++
>>   meta/recipes-devtools/bison/bison_2.3.bb           |   35 ++
>>   meta/recipes-devtools/m4/m4-native_1.4.9.bb        |   12 +
>>   .../m4/m4/fix_for_circular_dependency.patch        |   75 +++
>>   meta/recipes-devtools/m4/m4_1.4.9.bb               |   18 +
>>   5 files changed, 730 insertions(+), 0 deletions(-)
>>   create mode 100644 meta/recipes-devtools/bison/bison/bison-2.3_m4.patch
>>   create mode 100644 meta/recipes-devtools/bison/bison_2.3.bb
>>   create mode 100644 meta/recipes-devtools/m4/m4-native_1.4.9.bb
>>   create mode 100644 meta/recipes-devtools/m4/m4/fix_for_circular_dependency.patch
>>   create mode 100644 meta/recipes-devtools/m4/m4_1.4.9.bb
>>
> 
> Was this purely for licensing reasons?  (just asking since there was no discussion on this list)
> 



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

* Re: [poky] [PATCH 0/2] GPLv2 versions of m4 & bison
  2011-03-17  1:01   ` Gary Thomas
@ 2011-03-17  1:44     ` Kamble, Nitin A
  -1 siblings, 0 replies; 11+ messages in thread
From: Kamble, Nitin A @ 2011-03-17  1:44 UTC (permalink / raw)
  To: Gary Thomas
  Cc: poky@yoctoproject.org, openembedded-core@lists.openembedded.org



> -----Original Message-----
> From: Gary Thomas [mailto:gary@mlbassoc.com]
> Sent: Wednesday, March 16, 2011 6:02 PM
> To: Kamble, Nitin A
> Cc: poky@yoctoproject.org; openembedded-core@lists.openembedded.org
> Subject: Re: [poky] [PATCH 0/2] GPLv2 versions of m4 & bison
> 
> On 03/16/2011 03:03 PM, Nitin A Kamble wrote:
> > From: Nitin A Kamble<nitin.a.kamble@intel.com>
> >
> > These commits adds GPLv2 versions of m4&  bison recipes.
> >
> > Pull URL: git://git.pokylinux.org/poky-contrib.git
> >    Branch: nitin/misc
> >    Browse: http://git.pokylinux.org/cgit.cgi/poky-
> contrib/log/?h=nitin/misc
> >
> > Thanks,
> >      Nitin A Kamble<nitin.a.kamble@intel.com>
> > ---
> >
> >
> > Nitin A Kamble (2):
> >    bison: bring back GPLv2 version 2.3 of bison recipe
> >    m4: bring back GPLv2 version 1.4.9 of m4 recipe
> >
> >   .../bison/bison/bison-2.3_m4.patch                 |  590
> ++++++++++++++++++++
> >   meta/recipes-devtools/bison/bison_2.3.bb           |   35 ++
> >   meta/recipes-devtools/m4/m4-native_1.4.9.bb        |   12 +
> >   .../m4/m4/fix_for_circular_dependency.patch        |   75 +++
> >   meta/recipes-devtools/m4/m4_1.4.9.bb               |   18 +
> >   5 files changed, 730 insertions(+), 0 deletions(-)
> >   create mode 100644 meta/recipes-devtools/bison/bison/bison-
> 2.3_m4.patch
> >   create mode 100644 meta/recipes-devtools/bison/bison_2.3.bb
> >   create mode 100644 meta/recipes-devtools/m4/m4-native_1.4.9.bb
> >   create mode 100644 meta/recipes-
> devtools/m4/m4/fix_for_circular_dependency.patch
> >   create mode 100644 meta/recipes-devtools/m4/m4_1.4.9.bb
> >
> 
> Was this purely for licensing reasons?  (just asking since there was no
> discussion on this list)

Yes, it was for licensing reasons.
Thanks,
Nitin

> 
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------



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

* Re: [PATCH 0/2] GPLv2 versions of m4 & bison
@ 2011-03-17  1:44     ` Kamble, Nitin A
  0 siblings, 0 replies; 11+ messages in thread
From: Kamble, Nitin A @ 2011-03-17  1:44 UTC (permalink / raw)
  To: Gary Thomas
  Cc: poky@yoctoproject.org, openembedded-core@lists.openembedded.org



> -----Original Message-----
> From: Gary Thomas [mailto:gary@mlbassoc.com]
> Sent: Wednesday, March 16, 2011 6:02 PM
> To: Kamble, Nitin A
> Cc: poky@yoctoproject.org; openembedded-core@lists.openembedded.org
> Subject: Re: [poky] [PATCH 0/2] GPLv2 versions of m4 & bison
> 
> On 03/16/2011 03:03 PM, Nitin A Kamble wrote:
> > From: Nitin A Kamble<nitin.a.kamble@intel.com>
> >
> > These commits adds GPLv2 versions of m4&  bison recipes.
> >
> > Pull URL: git://git.pokylinux.org/poky-contrib.git
> >    Branch: nitin/misc
> >    Browse: http://git.pokylinux.org/cgit.cgi/poky-
> contrib/log/?h=nitin/misc
> >
> > Thanks,
> >      Nitin A Kamble<nitin.a.kamble@intel.com>
> > ---
> >
> >
> > Nitin A Kamble (2):
> >    bison: bring back GPLv2 version 2.3 of bison recipe
> >    m4: bring back GPLv2 version 1.4.9 of m4 recipe
> >
> >   .../bison/bison/bison-2.3_m4.patch                 |  590
> ++++++++++++++++++++
> >   meta/recipes-devtools/bison/bison_2.3.bb           |   35 ++
> >   meta/recipes-devtools/m4/m4-native_1.4.9.bb        |   12 +
> >   .../m4/m4/fix_for_circular_dependency.patch        |   75 +++
> >   meta/recipes-devtools/m4/m4_1.4.9.bb               |   18 +
> >   5 files changed, 730 insertions(+), 0 deletions(-)
> >   create mode 100644 meta/recipes-devtools/bison/bison/bison-
> 2.3_m4.patch
> >   create mode 100644 meta/recipes-devtools/bison/bison_2.3.bb
> >   create mode 100644 meta/recipes-devtools/m4/m4-native_1.4.9.bb
> >   create mode 100644 meta/recipes-
> devtools/m4/m4/fix_for_circular_dependency.patch
> >   create mode 100644 meta/recipes-devtools/m4/m4_1.4.9.bb
> >
> 
> Was this purely for licensing reasons?  (just asking since there was no
> discussion on this list)

Yes, it was for licensing reasons.
Thanks,
Nitin

> 
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------


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

end of thread, other threads:[~2011-03-17  1:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-16 21:03 [PATCH 0/2] GPLv2 versions of m4 & bison Nitin A Kamble
2011-03-16 21:03 ` [PATCH 1/2] bison: bring back GPLv2 version 2.3 of bison recipe Nitin A Kamble
2011-03-16 21:03 ` [PATCH 2/2] m4: bring back GPLv2 version 1.4.9 of m4 recipe Nitin A Kamble
2011-03-17  0:22 ` [PATCH 0/2] GPLv2 versions of m4 & bison Richard Purdie
2011-03-17  0:22   ` [OE-core] " Richard Purdie
2011-03-17  1:01 ` [poky] " Gary Thomas
2011-03-17  1:01   ` Gary Thomas
2011-03-17  1:20   ` [poky] " Mark Hatle
2011-03-17  1:20     ` [OE-core] " Mark Hatle
2011-03-17  1:44   ` [poky] " Kamble, Nitin A
2011-03-17  1:44     ` Kamble, Nitin A

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.