[oe-commits] org.oe.dev merge of '3c3876e3f4fa037f2c9bfce18e3192822f1557cf'

oe commit oe at amethyst.openembedded.net
Fri Jun 6 14:27:45 UTC 2008


merge of '3c3876e3f4fa037f2c9bfce18e3192822f1557cf'
     and 'e8b3409511829c8c35d2859b5756d0206fbb3016'

Author: oe at openembedded.org
Branch: org.openembedded.dev
Revision: 8c882ebf352023c6daf9ea756d94b90aef6d21ba
ViewMTN: http://monotone.openembedded.org/revision/info/8c882ebf352023c6daf9ea756d94b90aef6d21ba
Files:
1
packages/classpath/classpath-minimal_0.97.1.bb
packages/classpath/classpath-minimal_0.97.2.bb
packages/classpath/classpath_0.97.1.bb
packages/classpath/classpath_0.97.2.bb
packages/classpath/files/getopt-filelist.patch
packages/classpath/files/sun-security-getproperty_0.96.1.patch
conf/distro/chinook-compat.conf
conf/distro/include/preferred-om-2008-versions.inc
packages/classpath/classpath-native_0.96.1.bb
packages/classpath/files/netif_16.patch
packages/autoconf/autoconf-2.59/autoconf-sh.patch
packages/autoconf/autoconf_2.59.bb
Diffs:

#
# mt diff -r3c3876e3f4fa037f2c9bfce18e3192822f1557cf -r8c882ebf352023c6daf9ea756d94b90aef6d21ba
#
#
#
# rename "packages/classpath/classpath-minimal_0.97.1.bb"
#     to "packages/classpath/classpath-minimal_0.97.2.bb"
# 
# rename "packages/classpath/classpath_0.97.1.bb"
#     to "packages/classpath/classpath_0.97.2.bb"
# 
# add_file "packages/classpath/files/getopt-filelist.patch"
#  content [4ae8c4b2501c899d1aa8e83620275072982326a5]
# 
# add_file "packages/classpath/files/sun-security-getproperty_0.96.1.patch"
#  content [ae460fe343c1bebc5fa267a1fecbd91b6061507a]
# 
# patch "conf/distro/chinook-compat.conf"
#  from [6f4774c59d5c8589f1b8d21db8f3fed3f209e847]
#    to [576a8c254f5676e6cb52f2b2a4b80e52a03f0c50]
# 
# patch "conf/distro/include/preferred-om-2008-versions.inc"
#  from [bd38ba62b84633750ea6d6d25577916cf8bf645a]
#    to [b3bb0751aa30b51468709221b4b693ab53b1c6e0]
# 
# patch "packages/classpath/classpath-minimal_0.97.2.bb"
#  from [ff46d0cb295bca189b6ab07f6506b2e039917ae0]
#    to [eeed706438d6b4b51f8ecb1582addd8a6820f098]
# 
# patch "packages/classpath/classpath-native_0.96.1.bb"
#  from [de2308a46658542392eb7d94031a5a997a9dd987]
#    to [ffc871c9e7df81665b6682029ed081d535b07521]
# 
# patch "packages/classpath/classpath_0.97.2.bb"
#  from [924cfdaf2daafe993d70dba55a853c4eb5250f64]
#    to [4fbb51684632f12c592c40ad772a35edea74b77e]
# 
# patch "packages/classpath/files/netif_16.patch"
#  from [65f812866975ec98e775dd6add8c19c08ca527d3]
#    to [09fd61fe07227c2cae095f4bc5913c20ddef8b55]
#
============================================================
--- packages/classpath/files/getopt-filelist.patch	4ae8c4b2501c899d1aa8e83620275072982326a5
+++ packages/classpath/files/getopt-filelist.patch	4ae8c4b2501c899d1aa8e83620275072982326a5
@@ -0,0 +1,271 @@
+? tools/generated
+Index: tools/gnu/classpath/tools/common/ClasspathToolParser.java
+===================================================================
+RCS file: /sources/classpath/classpath/tools/gnu/classpath/tools/common/ClasspathToolParser.java,v
+retrieving revision 1.1
+diff -u -r1.1 ClasspathToolParser.java
+--- tools/gnu/classpath/tools/common/ClasspathToolParser.java	22 Sep 2006 01:01:26 -0000	1.1
++++ tools/gnu/classpath/tools/common/ClasspathToolParser.java	3 Jun 2008 16:34:45 -0000
+@@ -38,9 +38,16 @@
+ 
+ package gnu.classpath.tools.common;
+ 
++import java.io.BufferedReader;
++import java.io.IOException;
++import java.io.FileNotFoundException;
++import java.io.FileReader;
++import java.io.Reader;
+ import java.text.MessageFormat;
++import java.util.ArrayList;
+ 
+ import gnu.classpath.Configuration;
++import gnu.classpath.tools.getopt.FileArgumentCallback;
+ import gnu.classpath.tools.getopt.Option;
+ import gnu.classpath.tools.getopt.OptionException;
+ import gnu.classpath.tools.getopt.Parser;
+@@ -84,4 +91,137 @@
+                }
+              });
+   }
++
++	public void parse(String[] inArgs, FileArgumentCallback files,
++									  boolean handleFileLists)
++	{
++		FileArgumentCallback cb;
++
++		if (handleFileLists)
++			cb = new AtFileArgumentCallback(files);
++		else
++			cb = files;
++
++		parse(inArgs, cb);
++	}
++
++  public String[] parse(String[] inArgs, boolean handleFileLists)
++  {
++    final ArrayList fileResult = new ArrayList();
++
++		final FileArgumentCallback cb = new FileArgumentCallback()
++  	{
++    	public void notifyFile(String fileArgument)
++    	{
++    	  fileResult.add(fileArgument);
++    	}
++    };
++
++		if (handleFileLists)
++			parse(inArgs, new AtFileArgumentCallback(cb));
++		else
++			parse(inArgs, cb);
++
++    return (String[]) fileResult.toArray(new String[0]);
++  }
++
++
++  /** Simple function that takes the given {@link Reader}, treats it like
++   * a textfile and reads all the whitespace separated entries from it
++   * and adds them to the @{link FileArgumentCallback} instance.
++   */
++  public void parseFileList(Reader reader, FileArgumentCallback cb)
++	throws OptionException
++  {
++    BufferedReader breader = new BufferedReader(reader);
++    String line = null;
++
++    try
++      {
++        while ((line = breader.readLine()) != null)
++          parseLine(line, cb);
++          
++        reader.close();
++      }
++    catch (IOException ioe)
++      {
++        System.err.println(programName + ": IO error while reading from inputstream");
++        System.exit(1);
++      }
++      
++  }
++  
++  /** Parses whitespace separated file entries.
++   *
++   * Note: This is not coping with whitespace in files or quoting.
++   */
++  private void parseLine(String line, FileArgumentCallback cb)
++    throws IOException, OptionException
++  {
++    final int length = line.length();
++    int start = 0;
++    int end = 0;
++
++		// While not reached end of line ...
++    while (start < length)
++      {
++				// Search for first non-whitespace character for the start of a word.
++        while (Character.isWhitespace(line.codePointAt(start)))
++          {
++            start++;
++        
++            if (start == length)
++              return;
++          }
++    
++        end = start + 1;
++	
++				// Search for first whitespace character for the end of a word.
++        while (end < length && !Character.isWhitespace(line.codePointAt(end)))
++          end++;
++      
++        cb.notifyFile(line.substring(start, end));
++    
++        start = end + 1;
++      }
++  }
++
++	/** Implementation of {@link FileArgumentCallback} that handles
++ 		* file arguments in {@link #notifyFile} starting with a <code>@</code>
++		* through {@link ClasspathToolParser#parseFileList}.
++		*/
++	class AtFileArgumentCallback extends FileArgumentCallback
++	{
++		FileArgumentCallback cb;
++	
++		AtFileArgumentCallback(FileArgumentCallback cb)
++		{
++			this.cb = cb;
++		}
++
++  	public void notifyFile(String fileArgument)
++		throws OptionException
++  	{
++			if (fileArgument.codePointAt(0) == '@')
++			{
++				FileReader fr = null;
++
++				try
++					{
++						fr = new FileReader(fileArgument.substring(1));
++					}
++				catch (FileNotFoundException fnfe)
++					{
++						System.err.println(programName + ": file not found " + fileArgument.substring(1));
++						System.exit(1);
++					}
++
++				ClasspathToolParser.this.parseFileList(fr, cb);
++			}
++			else
++  	  	cb.notifyFile(fileArgument);
++  	}
++
++  }
++
+ }
+Index: tools/gnu/classpath/tools/getopt/Parser.java
+===================================================================
+RCS file: /sources/classpath/classpath/tools/gnu/classpath/tools/getopt/Parser.java,v
+retrieving revision 1.10
+diff -u -r1.10 Parser.java
+--- tools/gnu/classpath/tools/getopt/Parser.java	20 Mar 2008 18:04:44 -0000	1.10
++++ tools/gnu/classpath/tools/getopt/Parser.java	3 Jun 2008 16:34:45 -0000
+@@ -58,7 +58,7 @@
+   /** The maximum right column position. */
+   public static final int MAX_LINE_LENGTH = 80;
+ 
+-  private String programName;
++  protected String programName;
+ 
+   private String headerText;
+ 
+Index: tools/gnu/classpath/tools/jar/Main.java
+===================================================================
+RCS file: /sources/classpath/classpath/tools/gnu/classpath/tools/jar/Main.java,v
+retrieving revision 1.11
+diff -u -r1.11 Main.java
+--- tools/gnu/classpath/tools/jar/Main.java	3 Jun 2008 14:02:13 -0000	1.11
++++ tools/gnu/classpath/tools/jar/Main.java	3 Jun 2008 16:34:45 -0000
+@@ -172,9 +172,9 @@
+     }
+   }
+ 
+-  private Parser initializeParser()
++  private ClasspathToolParser initializeParser()
+   {
+-    Parser p = new JarParser("jar"); //$NON-NLS-1$
++    ClasspathToolParser p = new JarParser("jar"); //$NON-NLS-1$
+     p.setHeader(Messages.getString("Main.Usage")); //$NON-NLS-1$
+ 
+     OptionGroup grp = new OptionGroup(Messages.getString("Main.OpMode")); //$NON-NLS-1$
+@@ -265,11 +265,11 @@
+   private void run(String[] args)
+       throws InstantiationException, IllegalAccessException, IOException
+   {
+-    Parser p = initializeParser();
++    ClasspathToolParser p = initializeParser();
+     // Special hack to emulate old tar-style commands.
+     if (args.length > 0 && args[0].charAt(0) != '-')
+       args[0] = '-' + args[0];
+-    p.parse(args, new HandleFile());
++    p.parse(args, new HandleFile(), true);
+     if (readNamesFromStdin)
+       readNames();
+     Action t = (Action) operationMode.newInstance();
+Index: tools/gnu/classpath/tools/javah/GcjhMain.java
+===================================================================
+RCS file: /sources/classpath/classpath/tools/gnu/classpath/tools/javah/GcjhMain.java,v
+retrieving revision 1.1
+diff -u -r1.1 GcjhMain.java
+--- tools/gnu/classpath/tools/javah/GcjhMain.java	6 Mar 2007 18:52:34 -0000	1.1
++++ tools/gnu/classpath/tools/javah/GcjhMain.java	3 Jun 2008 16:34:46 -0000
+@@ -38,10 +38,11 @@
+ 
+ package gnu.classpath.tools.javah;
+ 
++import gnu.classpath.tools.common.ClasspathToolParser;
++
+ import gnu.classpath.tools.getopt.Option;
+ import gnu.classpath.tools.getopt.OptionException;
+ import gnu.classpath.tools.getopt.OptionGroup;
+-import gnu.classpath.tools.getopt.Parser;
+ 
+ import java.io.IOException;
+ import java.util.ArrayList;
+@@ -60,9 +61,9 @@
+     return "gcjh";
+   }
+ 
+-  protected Parser getParser()
++  protected ClasspathToolParser getParser()
+   {
+-    Parser result = super.getParser();
++    ClasspathToolParser result = super.getParser();
+ 
+     result.setHeader("usage: gcjh [OPTION]... CLASS...");
+ 
+Index: tools/gnu/classpath/tools/javah/Main.java
+===================================================================
+RCS file: /sources/classpath/classpath/tools/gnu/classpath/tools/javah/Main.java,v
+retrieving revision 1.10
+diff -u -r1.10 Main.java
+--- tools/gnu/classpath/tools/javah/Main.java	31 Jul 2007 16:15:53 -0000	1.10
++++ tools/gnu/classpath/tools/javah/Main.java	3 Jun 2008 16:34:46 -0000
+@@ -188,7 +188,7 @@
+     return "javah";
+   }
+ 
+-  protected Parser getParser()
++  protected ClasspathToolParser getParser()
+   {
+     ClasspathToolParser result = new ClasspathToolParser(getName(), true);
+     result.setHeader("usage: javah [OPTIONS] CLASS...");
+@@ -339,8 +339,8 @@
+ 
+   protected void run(String[] args) throws IOException
+   {
+-    Parser p = getParser();
+-    String[] classNames = p.parse(args);
++    ClasspathToolParser p = getParser();
++    String[] classNames = p.parse(args, true);
+     postParse(classNames);
+     loader = classpath.getLoader();
+ 
============================================================
--- packages/classpath/files/sun-security-getproperty_0.96.1.patch	ae460fe343c1bebc5fa267a1fecbd91b6061507a
+++ packages/classpath/files/sun-security-getproperty_0.96.1.patch	ae460fe343c1bebc5fa267a1fecbd91b6061507a
@@ -0,0 +1,503 @@
+Index: gnu/classpath/debug/Simple1LineFormatter.java
+===================================================================
+--- gnu/classpath/debug/Simple1LineFormatter.java.orig	2006-07-11 18:03:59.000000000 +0200
++++ gnu/classpath/debug/Simple1LineFormatter.java	2008-06-04 11:14:14.000000000 +0200
+@@ -38,8 +38,6 @@
+ 
+ package gnu.classpath.debug;
+ 
+-import gnu.java.security.action.GetPropertyAction;
+-
+ import java.io.PrintWriter;
+ import java.io.StringWriter;
+ import java.security.AccessController;
+@@ -51,6 +49,8 @@
+ import java.util.logging.Formatter;
+ import java.util.logging.LogRecord;
+ 
++import sun.security.action.GetPropertyAction;
++
+ /**
+  * A simple 1-line formatter to use instead of the 2-line SimpleFormatter used
+  * by default in the JDK logging handlers.
+Index: gnu/classpath/debug/SystemLogger.java
+===================================================================
+--- gnu/classpath/debug/SystemLogger.java.orig	2006-12-10 21:25:41.000000000 +0100
++++ gnu/classpath/debug/SystemLogger.java	2008-06-04 11:14:14.000000000 +0200
+@@ -38,13 +38,13 @@
+ 
+ package gnu.classpath.debug;
+ 
+-import gnu.java.security.action.GetPropertyAction;
+-
+ import java.security.AccessController;
+ import java.util.StringTokenizer;
+ import java.util.logging.Level;
+ import java.util.logging.Logger;
+ 
++import sun.security.action.GetPropertyAction;
++
+ public final class SystemLogger extends Logger
+ {
+   public static final SystemLogger SYSTEM = new SystemLogger();
+Index: gnu/java/security/PolicyFile.java
+===================================================================
+--- gnu/java/security/PolicyFile.java.orig	2006-07-11 18:03:59.000000000 +0200
++++ gnu/java/security/PolicyFile.java	2008-06-04 11:14:50.000000000 +0200
+@@ -39,7 +39,6 @@
+ 
+ import gnu.classpath.debug.Component;
+ import gnu.classpath.debug.SystemLogger;
+-import gnu.java.security.action.GetPropertyAction;
+ 
+ import java.io.File;
+ import java.io.IOException;
+@@ -72,6 +71,8 @@
+ import java.util.StringTokenizer;
+ import java.util.logging.Logger;
+ 
++import sun.security.action.GetPropertyAction;
++
+ /**
+  * An implementation of a {@link java.security.Policy} object whose
+  * permissions are specified by a <em>policy file</em>.
+Index: gnu/java/security/action/GetPropertyAction.java
+===================================================================
+--- gnu/java/security/action/GetPropertyAction.java	2006-12-10 21:25:42.000000000 +0100
++++ /dev/null	1970-01-01 00:00:00.000000000 +0000
+@@ -1,89 +0,0 @@
+-/* GetPropertyAction.java
+-   Copyright (C) 2004 Free Software Foundation, Inc.
+-
+-This file is part of GNU Classpath.
+-
+-GNU Classpath is free software; you can redistribute it and/or modify
+-it under the terms of the GNU General Public License as published by
+-the Free Software Foundation; either version 2, or (at your option)
+-any later version.
+-
+-GNU Classpath is distributed in the hope that it will be useful, but
+-WITHOUT ANY WARRANTY; without even the implied warranty of
+-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+-General Public License for more details.
+-
+-You should have received a copy of the GNU General Public License
+-along with GNU Classpath; see the file COPYING.  If not, write to the
+-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+-02110-1301 USA.
+-
+-Linking this library statically or dynamically with other modules is
+-making a combined work based on this library.  Thus, the terms and
+-conditions of the GNU General Public License cover the whole
+-combination.
+-
+-As a special exception, the copyright holders of this library give you
+-permission to link this library with independent modules to produce an
+-executable, regardless of the license terms of these independent
+-modules, and to copy and distribute the resulting executable under
+-terms of your choice, provided that you also meet, for each linked
+-independent module, the terms and conditions of the license of that
+-module.  An independent module is a module which is not derived from
+-or based on this library.  If you modify this library, you may extend
+-this exception to your version of the library, but you are not
+-obligated to do so.  If you do not wish to do so, delete this
+-exception statement from your version. */
+-
+-package gnu.java.security.action;
+-
+-import java.security.PrivilegedAction;
+-
+-/**
+- * PrivilegedAction implementation that calls System.getProperty() with
+- * the property name passed to its constructor.
+- *
+- * Example of use:
+- * <code>
+- * GetPropertyAction action = new GetPropertyAction("http.proxyPort");
+- * String port = AccessController.doPrivileged(action);
+- * </code>
+- */
+-public class GetPropertyAction implements PrivilegedAction<String>
+-{
+-  String name;
+-  String value = null;
+-
+-  public GetPropertyAction()
+-  {
+-  }
+-  
+-  public GetPropertyAction(String propName)
+-  {
+-    setParameters(propName);
+-  }
+-
+-  public GetPropertyAction(String propName, String defaultValue)
+-  {
+-    setParameters(propName, defaultValue);
+-  }
+-  
+-  public String run()
+-  {
+-    return System.getProperty(name, value);
+-  }
+-  
+-  public GetPropertyAction setParameters(String propName)
+-  {
+-    this.name = propName;
+-    this.value = null;
+-    return this;
+-  }
+-
+-  public GetPropertyAction setParameters(String propName, String defaultValue)
+-  {
+-    this.name = propName;
+-    this.value = defaultValue;
+-    return this;
+-  }
+-}
+Index: gnu/java/security/key/dss/DSSKey.java
+===================================================================
+--- gnu/java/security/key/dss/DSSKey.java.orig	2006%s
>>> DIFF TRUNCATED @ 16K


#
# mt diff -re8b3409511829c8c35d2859b5756d0206fbb3016 -r8c882ebf352023c6daf9ea756d94b90aef6d21ba
#
#
#
# add_file "packages/autoconf/autoconf-2.59/autoconf-sh.patch"
#  content [68dde1c1e212e9db28448d7f0acb27725b5f3b87]
# 
# patch "packages/autoconf/autoconf_2.59.bb"
#  from [c27a7d9f3c191eb2140404c66686fcc742746670]
#    to [c6de4f2fcb5c050ddf4babe257b4808dcb0aea4b]
#
============================================================
--- packages/autoconf/autoconf-2.59/autoconf-sh.patch	68dde1c1e212e9db28448d7f0acb27725b5f3b87
+++ packages/autoconf/autoconf-2.59/autoconf-sh.patch	68dde1c1e212e9db28448d7f0acb27725b5f3b87
@@ -0,0 +1,22 @@
+http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/Attic/autoconf-sh.patch?rev=1.1;content-type=text%2Fplain
+
+Index: tests/wrapper.in
+===================================================================
+RCS file: /cvsroot/autoconf/autoconf/tests/wrapper.in,v
+retrieving revision 1.4
+diff -u -u -r1.4 wrapper.in
+--- autoconf-2.59/tests/wrapper.in 25 Sep 2003 09:30:35 -0000 1.4
++++ autoconf-2.59/tests/wrapper.in 19 Nov 2003 13:17:11 -0000
+@@ -13,9 +13,10 @@
+ elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
+   set -o posix
+ fi
++DUALCASE=1; export DUALCASE # for MKS sh
+ 
+ # Support unset when possible.
+-if ((MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
++if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+   as_unset=unset
+ else
+   as_unset=false
+
============================================================
--- packages/autoconf/autoconf_2.59.bb	c27a7d9f3c191eb2140404c66686fcc742746670
+++ packages/autoconf/autoconf_2.59.bb	c6de4f2fcb5c050ddf4babe257b4808dcb0aea4b
@@ -2,7 +2,7 @@ RDEPENDS_${PN} = "m4 gnu-config"
 
 DEPENDS += "m4-native"
 RDEPENDS_${PN} = "m4 gnu-config"
-PR = "r5"
+PR = "r6"
 
 SRC_URI += "file://autoreconf-include.patch;patch=1 \
 	   file://autoreconf-exclude.patch;patch=1 \
@@ -12,4 +12,5 @@ SRC_URI += "file://autoreconf-include.pa
 	   file://autoheader-nonfatal-warnings.patch;patch=1 \
 	   file://sizeof_types.patch;patch=1 \
 	   file://autoconf-x.patch;patch=1 \
+	   file://autoconf-sh.patch;patch=1 \
 	   ${@['file://path_prog_fixes.patch;patch=1', ''][bb.data.inherits_class('native', d)]}"






More information about the Openembedded-commits mailing list