Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311281 - dev-util/astyle-2.02: version bump
Summary: dev-util/astyle-2.02: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Development Tools Team
URL: http://astyle.sf.net/notes.html
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-25 09:30 UTC by Arseny Solokha
Modified: 2012-03-02 17:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for reworked ebuild (astyle-1.24.ebuild.patch,3.04 KB, patch)
2010-03-25 09:32 UTC, Arseny Solokha
Details | Diff
Make astyle's Makefile follow some Gentoo standards (astyle-1.24-Makefile.patch,2.69 KB, patch)
2010-03-25 09:35 UTC, Arseny Solokha
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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