Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 311281

Summary: dev-util/astyle-2.02: version bump
Product: Gentoo Linux Reporter: Arseny Solokha <asolokha>
Component: New packagesAssignee: Development Tools Team <dev-tools>
Status: RESOLVED FIXED    
Severity: enhancement CC: hoffbrinkle, spatz
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://astyle.sf.net/notes.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for reworked ebuild
Make astyle's Makefile follow some Gentoo standards

Description Arseny Solokha 2010-03-25 09:30:53 UTC
Artistic Style 1.24 released at February 2010. It comes with a bunch of changes (fillow URL to find them).

AStyle's build system is quite weird and tricky, and current ebuild do its job in a simpliest way ever possible. It just buids all available targets and then install only files that user had specified via use flags. I've made attempt to rework the ebuild and build only targets user wants to be built. Unfortunately AStyle's build system performs one build pass for every target, but anyway performing two build passes is better than performing five for just # emerge astyle.

Reproducible: Always

Steps to Reproduce:
Comment 1 Arseny Solokha 2010-03-25 09:32:10 UTC
Created attachment 225183 [details, diff]
Patch for reworked ebuild

It also fixes the following:


 * QA Notice: command not found:
 * 
 * 	/var/tmp/portage/dev-util/astyle-1.23/temp/environment: line 4111: java-config: command not found

for users who doesn't have Java installed.
Comment 2 Arseny Solokha 2010-03-25 09:35:05 UTC
Created attachment 225185 [details, diff]
Make astyle's Makefile follow some Gentoo standards

This patch also fixes

* QA Notice: Files built without respecting LDFLAGS have been detected
 *  Please include the following list of files in your report:
 * /usr/bin/astyle

(fix for Gentoo bug #262803).
Comment 3 Arseny Solokha 2010-12-02 06:54:08 UTC
AStyle 2.01 released on November 29, 2010.  Follow URL for release notes.
Comment 4 Arseny Solokha 2010-12-02 06:56:21 UTC
Forgot to say: it seems like bug #262803 has been fixed upstream.
Comment 5 Lukasz Dobrogowski 2011-06-21 21:32:12 UTC
Version 2.02 was released in May. Latest version in portage is still 1.24.
Comment 6 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-03-02 17:27:00 UTC
+  02 Mar 2012; Kacper Kowalik <xarthisius@gentoo.org> +astyle-2.02.1.ebuild,
+  +files/astyle-2.02.1-build_system.patch:
+  Version bump wrt bug #311281 by Arseny Solokha <asolokha@gmx.com>. Use
+  package's build system and helpers instead of rewriting it from scratch. Drop
+  useless debug flag, install docs and build/install static lib conditionally