Hello community, here is the log from the commit of package antlr checked in at Mon Sep 18 13:13:40 CEST 2006. -------- New Changes file: --- /dev/null 2002-12-09 23:01:21.000000000 +0100 +++ antlr/antlr-bootstrap.changes 2006-09-18 11:33:23.000000000 +0200 @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Sep 18 11:33:12 CEST 2006 - dbornkessel@suse.de + +- created bootstrapping package + --- antlr/antlr.changes 2006-01-25 21:45:44.000000000 +0100 +++ antlr/antlr.changes 2006-09-18 13:13:26.000000000 +0200 @@ -1,0 +2,22 @@ +Mon Sep 18 11:32:54 CEST 2006 - dbornkessel@suse.de + +- update to 2.7.6 + - added size, index methods to TokenStreamRewriteEngine.java + - bug in syn preds for tree parsers. Submitted by Ole Kniemeyer. + - all Class.forName yanked out; uses thread context loader + - option to prevent System.exit termination + - added recover() method to lexers + - fixed code gen bug for syn preds in tree parsers. Thanks to Marc Horowitz. + - BaseAST was not checking for null text in toString() + - Scott added java line ouput in code gen + - Prashant tweaked a few things for ANTLRStudio; a few new classes in ASdebug package + - Give errors if the user attempts to set k>1 in a TreeWalker + - Added missing Makefile.in for C++ heteroAST example and enabled it + in configure.in + - Many small C++ support code and codegen tweaks fixes to increase + portability. (Compaq Tru64 UNIX V5.1, VC's) + - Prevent '\' entering the bitset dump comments, might occur at end of + line. Some compilers continue the comment to the next line (not sure + if this is a compiler bug, should look it up) + +------------------------------------------------------------------- Old: ---- antlr-2.7.4.tar.gz New: ---- antlr-2.7.6.tar.bz2 antlr-bootstrap.changes antlr-bootstrap.spec manifest.antlr ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ antlr-bootstrap.spec ++++++ # # spec file for package antlr-bootstrap (Version 2.7.6) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: antlr-bootstrap BuildRequires: fastjar gcc-java zip BuildRequires: ecj-bootstrap = 0.570 %if %{?mandriva_release:1}0 %endif %define real_name antlr Summary: Antlr for bootstrapping purposes Version: 2.7.6 Release: 1 URL: http://www.antlr.org Group: Development/Libraries/Java License: GPL Autoreqprov: on Source0: antlr-%{version}.tar.bz2 Source1: manifest.antlr # files for the source package BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: antlr BuildArch: noarch #ExclusiveArch: %ix86 %description This antlr package is used for bootstrapping purposes only. Authors: -------- This antlr package is used for bootstrapping purposes only. %prep #<<< package descriptions end #>>> # antlr %setup -n %{real_name}-%{version} #<<< #>>> %build %build #>>> some useful functions ... used throughout bootstrap packages # variables: TARGET_DIR=`pwd` CLASSPATH_ORIG="$CLASSPATH" LIB_GCJ="`ls %{_javadir}/libgcj-*.jar`" #>>> delete binary file and files not needed function delBinaryFiles() { set +x echo deleting binary files ... for file in `find . -name "*.class" -o -name "*.jar" -o -name "*DELETED-BY-PACKAGER*"` do rm -rf $file done set -x } #<<< #>>> make a string with all jar files found in target folder that can be used for a classpath string # string is saved in JAR_CLASSPATH function mkTargetClasspath() { set +x JAR_CLASSPATH="" for file in `find %{_javadir} -name "*.jar"` do JAR_CLASSPATH=$file:$JAR_CLASSPATH done set -x } #<<< #>>> compiles all *.java file in the current directory tree # uses mkTargetClasspath for CLASSPATH variable # uses LIB_GCJ for CLASSPATH function compileFiles() { mkTargetClasspath set +x COMPILE_CLASSPATH_PATH=.:${JAR_CLASSPATH} echo using: $COMPILER_COMMAND $COMPILE_CLASSPATH_PATH $$file for file in `find . -name "*.java"` do echo -e "$COMPILER_COMMAND $COMPILE_CLASSPATH_PATH $file ... \c" $COMPILER_COMMAND $COMPILE_CLASSPATH_PATH $file # check for errors if [ $? != 0 ] then echo ERROR exit 1; fi echo done done set -x } #<<< #>>> make jar archive # PARAM#1: name of jar archive (without .jar suffix) # uses $TARGET_DIR to move created jar to function mkJar() { find -name "version.txt" -or -name "*.class" -or -name "*.properties" -or -name "*.rsc" -or -name "*manifest*" |\ xargs /usr/bin/fastjar -m manifest.* -cf ${1}.jar ; mv ${1}.jar $TARGET_DIR } #<<< COMPILER_COMMAND="gij -jar %{_javadir}/jdtcore.jar -cp " #<<< end functions delBinaryFiles #>>> antlr mkdir src mv antlr src cd src cp %{SOURCE1} . compileFiles mkJar %{name} delBinaryFiles #<<< end antlr #<<< end %build #>>> %install %install mkdir -p $RPM_BUILD_ROOT%{_javadir} cp %{name}.jar $RPM_BUILD_ROOT%{_javadir} #<<< %clean rm -rf $RPM_BUILD_ROOT #>>> files %files %defattr(-,root,root) #%dir %{_javadir} %{_javadir}/%{name}.jar #<<< # vim:fdm=marker:foldmarker=#>>>,#<<<:foldcolumn=6: %changelog -n antlr-bootstrap * Mon Sep 18 2006 - dbornkessel@suse.de - created bootstrapping package ++++++ antlr.spec ++++++ --- /var/tmp/diff_new_pack.XVE4h6/_old 2006-09-18 13:13:33.000000000 +0200 +++ /var/tmp/diff_new_pack.XVE4h6/_new 2006-09-18 13:13:33.000000000 +0200 @@ -1,11 +1,11 @@ # -# spec file for package antlr (Version 2.7.4) +# spec file for package antlr (Version 2.7.6) # -# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://www.suse.de/feedback/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild @@ -14,13 +14,14 @@ BuildRequires: ant gcc-c++ java2-devel-packages xml-commons-apis %define section free %define native %{?_with_native:1}%{!?_without_native:0} -Summary: ANother Tool for Language Recognition -Version: 2.7.4 -Release: 9 +Summary: Another Tool for Language Recognition +Version: 2.7.6 +Release: 1 License: GPL, X11/MIT URL: http://www.antlr.org/ Group: Development/Tools/Other -Source0: http://www.antlr.org/download/antlr-2.7.4.tar.gz +#Source0: http://www.antlr.org/download/antlr-2.7.4.tar.gz +Source0: %{name}-%{version}.tar.bz2 Source1: %{name}-build.xml Source2: %{name}-script Source3: http://www.antlr.org/share/1069557132934/makefile.gcj @@ -37,35 +38,29 @@ %endif %description -ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a +ANTLR, Another Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ -or Java actions [You can use PCCTS 1.xx to generate C-based parsers]. +or Java actions (you can use PCCTS 1.xx to generate C-based parsers). %package manual Group: Development/Tools/Other -Summary: ANother Tool for Language Recognition +Summary: ANother Tool for Language Recognition (Manual) %description manual -ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a -language tool that provides a framework for constructing recognizers, -compilers, and translators from grammatical descriptions containing C++ -or Java actions [You can use PCCTS 1.xx to generate C-based parsers]. +Manual for antlr. %package javadoc PreReq: coreutils Group: Development/Tools/Other -Summary: ANother Tool for Language Recognition +Summary: ANother Tool for Language Recognition (Java Documentation) %description javadoc -ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a -language tool that provides a framework for constructing recognizers, -compilers, and translators from grammatical descriptions containing C++ -or Java actions [You can use PCCTS 1.xx to generate C-based parsers]. +Javadoc for antlr. @@ -76,9 +71,9 @@ %if !%{native} %patch0 -p0 cp -p %{SOURCE1} build.xml -# fixup paths to manual -%{__perl} -pi -e 's|"doc/|"%{_docdir}/%{name}-manual-%{version}/|g' \ - install.html +## fixup paths to manual +#%{__perl} -pi -e 's|"doc/|"%{_docdir}/%{name}-manual-%{version}/|g' \ +# install.html %endif %build @@ -144,7 +139,7 @@ %files %defattr(0644,root,root,0755) -%doc install.html LICENSE.txt +%doc LICENSE.txt %{_javadir}/%{name}*.jar %defattr(0755,root,root,0755) %ghost %{_bindir}/antlr @@ -161,6 +156,25 @@ %endif %changelog -n antlr +* Mon Sep 18 2006 - dbornkessel@suse.de +- update to 2.7.6 +- added size, index methods to TokenStreamRewriteEngine.java +- bug in syn preds for tree parsers. Submitted by Ole Kniemeyer. +- all Class.forName yanked out; uses thread context loader +- option to prevent System.exit termination +- added recover() method to lexers +- fixed code gen bug for syn preds in tree parsers. Thanks to Marc Horowitz. +- BaseAST was not checking for null text in toString() +- Scott added java line ouput in code gen +- Prashant tweaked a few things for ANTLRStudio; a few new classes in ASdebug package +- Give errors if the user attempts to set k>1 in a TreeWalker +- Added missing Makefile.in for C++ heteroAST example and enabled it + in configure.in +- Many small C++ support code and codegen tweaks fixes to increase + portability. (Compaq Tru64 UNIX V5.1, VC's) +- Prevent '\' entering the bitset dump comments, might occur at end of + line. Some compilers continue the comment to the next line (not sure + if this is a compiler bug, should look it up) * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Tue Oct 25 2005 - jsmeix@suse.de ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org