Hello community,

here is the log from the commit of package astyle for openSUSE:Factory checked 
in at 2018-04-17 11:17:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/astyle (Old)
 and      /work/SRC/openSUSE:Factory/.astyle.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "astyle"

Tue Apr 17 11:17:55 2018 rev:13 rq:597091 version:3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/astyle/astyle.changes    2014-12-17 
19:15:28.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.astyle.new/astyle.changes       2018-04-17 
11:17:56.353225202 +0200
@@ -1,0 +2,85 @@
+Mon Apr 16 14:26:23 UTC 2018 - [email protected]
+
+- don't obsolete libastyle1, let the distribution update handle
+  removal of old shared lib.
+
+-------------------------------------------------------------------
+Wed Apr 11 10:36:24 UTC 2018 - [email protected]
+
+- Update to 3.1
+  * Add new options "project", "project=####", and "project=none" (#11).
+  * Add new options, "break-return-type" and "break-return-type-decl" (358, 
286, 205, 16).
+  * Add new options, "attach-return-type" and "attach-return-type-decl" (358, 
286, 205, 16).
+  * Add new option "style=ratliff", as an alternate name for banner style.
+  * Add new environment variable ARTISTIC_STYLE_PROJECT_OPTIONS (#11).
+  * Add multiple extensions to the command line file paths option.
+  * Improve recognition of unary + and - when using pad-oper.
+  * Change the Windows default options file location from USERPROFILE to 
APPDATA.
+  * Change options file input to accept UTF-16, or UTF-8 with a BOM (or 
signature).
+  * Change "unsigned short" data type to c++11 "char16_t".
+  * Change translations for new project options file.
+  * Fix utf8LengthFromUtf16() calculation being less than the actual length.
+  * Fix multiply followed by a dereference for "align-pointer=type".
+  * Fix recognition of a uniform class initializer in a base class 
initialization (#441).
+  * Fix indentation of "volatile" keyword not used in a method definition 
(#450).
+  * Fix indentation of "final" keyword not used in a method definition (#450).
+  * Fix indentation of compound literals in an argument list (#456).
+  * Fix indentation of trailing return type method following a constructor 
(#463).
+  * Fix space padding of closing brace before a dot (#468).
+  * Fix Objective-C to allow for "Extern C" statements in the source files 
(#443, 444, 446).
+  * Fix Objective-C to allow for method definitions without a specified return 
type (#447).
+  * Fix Objective-C to allow for method definitions with multiple param types.
+  * Fix Objective-C to replace tabbed padding with a space.
+  * Fix Objective-C formatting of line-end comments with "unpad-return-type".
+  * Fix Objective-C "align-method-colon" to ignore ternary (?) operators.
+  * Fix C# base class constructor indentation (#459).
+  * Fix C# indentation of method declaration containing a colon (#465)
+  * Fix C/C++ to allow "interface" as a non-keyword (#445).
+  * Fix Java to allow "default" as a non-switch keyword.
+  * Fix line ends initialization if no line end has been read.
+  * Fix Java build from including ASLocalizer in the shared library.
+  * Fix to check for AStyleWx line tags after C style comments.
+  * Fix boundary conditions and other errors discovered by fuzzing.
+  * Refactoring:
+    - Extract method isNumericVariable() in ASFormatter class.
+    - Extract method isTopLevel() in ASBeautifier class.
+    - Extract method fileExists() in Console class.
+    - Rename ASEncoding variable from "utf8_16" to "encode".
+    - Rename ASBeautifier vector from squareBracketDepthStack to 
parenDepthStack.
+    - Combine style options in ASOptions class to avoid compiler limits.
+
+-------------------------------------------------------------------
+Wed Aug  9 09:10:49 UTC 2017 - [email protected]
+
+- Prevent file conflicts on update: obsolete libastylej1
+
+-------------------------------------------------------------------
+Tue Jun 13 13:44:34 UTC 2017 - [email protected]
+
+- Small packaging cleanup
+
+-------------------------------------------------------------------
+Thu Jun  8 11:30:32 UTC 2017 - [email protected]
+
+- Update to new upstream release 3.0.1 (boo#1044030):
+  * Switch to MIT license.
+  * Add new option "indent-after-parens".
+  * Add new option "attach-closing-while".
+  * Fix crash caused by certain class initializer formats.
+  * Fix memory leak when using "indent-preproc-define".
+  * Fix boundary conditions discovered by american fuzzy lop fuzzer.
+  * Drop astyle-java-includes.patch, upstream
+
+-------------------------------------------------------------------
+Tue May 10 11:39:56 UTC 2016 - [email protected]
+
+- Add astyle-java-includes.patch to fix a build error in Leap
+
+-------------------------------------------------------------------
+Thu Mar 17 13:58:23 UTC 2016 - [email protected]
+
+- enable Java bindings 
+  new subpackage libastylej1
+- create libastylej.so symlink for Arduino
+
+-------------------------------------------------------------------

Old:
----
  astyle_2.05.1_linux.tar.gz

New:
----
  astyle_3.1_linux.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ astyle.spec ++++++
--- /var/tmp/diff_new_pack.Pkcg0j/_old  2018-04-17 11:17:57.153187701 +0200
+++ /var/tmp/diff_new_pack.Pkcg0j/_new  2018-04-17 11:17:57.157187514 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package astyle
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,15 @@
 
 
 Name:           astyle
-BuildRequires:  gcc-c++
-Version:        2.05.1
+Version:        3.1
 Release:        0
 Summary:        Source Code Indenter, Formatter, and Beautifier for C, C++, C# 
and Java
-License:        LGPL-3.0
+License:        MIT
 Group:          Development/Tools/Other
 Url:            http://astyle.sourceforge.net/
 Source:         
http://downloads.sourceforge.net/project/%{name}/%{name}/%{name}%20%{version}/%{name}_%{version}_linux.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  gcc-c++
+BuildRequires:  java-devel
 
 %description
 Artistic Style is a source code indenter, formatter, and beautifier for the C,
@@ -33,23 +33,41 @@
 re-formats C / C++ / C# / Java source files. It can be used from a command
 line, or it can be incorporated as classes in another C++ program.
 
+%package -n lib%{name}j3
+Summary:        Java bindings for %{name}
+Group:          Development/Languages/Java
+
+%description -n lib%{name}j3
+This package contains Java bindings for %{name}.
+
 %prep
 %setup -q -n %{name}
-ln -s doc/ html
 
 %build
-export CFLAGS="%{optflags}"
+if [ \! -x $JAVA_HOME/bin/javac ] && echo $JAVA_HOME | grep jre ; then
+  echo WTF IS SETTING \$JAVA_HOME TO JRE \!?
+  JAVA_HOME=$(echo $JAVA_HOME | sed -e s/jre/java/g)
+fi
+export CFLAGS="%{optflags} -I $JAVA_HOME/include/linux"
 export CXXFLAGS="%{optflags}"
 make -C build/gcc astyled %{?_smp_mflags}
+# javaall = java + javadebug
+make -C build/gcc java %{?_smp_mflags}
 
 %install
-install -d -m 0755 %{buildroot}%{_bindir}
-install -m 0755 build/gcc/bin/%{name}d %{buildroot}%{_bindir}/%{name}
+install -Dpm 0755 build/gcc/bin/%{name}d \
+  %{buildroot}%{_bindir}/%{name}
+chmod -x doc/* *.md
+install -d -m 0755 %{buildroot}%{_libdir}
+install -m 0644 build/gcc/bin/libastylej.so.* %{buildroot}%{_libdir}
+(cd %{buildroot}%{_libdir}; ln -s libastylej.so.* libastylej.so)
 
 %files
-%defattr(0644,root,root,0755)
-%doc html/
-%defattr(-,root,root,0755)
+%defattr(-,root,root)
+%doc LICENSE.md README.md doc/
 %{_bindir}/%{name}
 
+%files -n lib%{name}j3
+%{_libdir}/*.so*
+
 %changelog

++++++ astyle_2.05.1_linux.tar.gz -> astyle_3.1_linux.tar.gz ++++++
++++ 26324 lines of diff (skipped)


Reply via email to