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

Bug 137323

Summary: dev-util/astyle-1.19 (version bump)
Product: Gentoo Linux Reporter: Michael Hordijk <hoffbrinkle>
Component: New packagesAssignee: Steve Arnold <nerdboy>
Status: RESOLVED FIXED    
Severity: enhancement CC: 9b757fe0, albertito, dev-tools, esigra, fischer, simons, t1m
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-util/astyle-1.18 ebuild
ebuild for dev-util/astyle 1.20.1
astyle-1.20.2.ebuild
Removes strip command
Ebuild for astyle 1.21
Makefile patch to remove -s option for astyle-1.21

Description Michael Hordijk 2006-06-19 17:50:50 UTC
Well, astyle has finally gotten itself a new release.  The two patches in portage for astyle-1.15.3 are no longer necessary, and the new tarball is named astyle_1.18_linux.tar.gz.  However, I can't get portage to compile it (complains about not being able to find sstream).  I can compile it fine using the same makefile outside of portage.  Since I have no clue how compile environments work inside of portage, I'm hoping someone else can figure that part out...
Comment 1 Michael Hordijk 2006-06-19 17:58:15 UTC
Never mind, I'm a retard.  I had my corporate /usr/local mounted and g++ was trying to pull stuff in from there (which is woefully outdated).  I really dislike how /usr/local really hoses up portage without any warnings.  Regardless, ebuild coming shortly since stuff works now.
Comment 2 Michael Hordijk 2006-06-19 18:00:03 UTC
Created attachment 89588 [details]
dev-util/astyle-1.18 ebuild
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-08-17 12:59:14 UTC
*** Bug 144242 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-08-17 13:05:04 UTC
*** Bug 144242 has been marked as a duplicate of this bug. ***
Comment 5 Peter Simons 2006-08-17 13:22:17 UTC
Well, I've been told that having two items for two different ebuilds is against the rules here, so for what it's worth: A 1.19 ebuild is attached in the duplicate entry that has been closed. I trust there is a deeper meaning although I can't see it.
Comment 6 Alberto Bertogli 2006-09-17 18:16:07 UTC
(In reply to comment #5)
> Well, I've been told that having two items for two different ebuilds is against
> the rules here, so for what it's worth: A 1.19 ebuild is attached in the
> duplicate entry that has been closed. I trust there is a deeper meaning
> although I can't see it.

I've just tried 1.19 on amd64 and seems to work just fine, at least with C++ code.

The ebuild I used was very similar to the one you attached in your other email, so I won't post it here.

Will this ebuild hit the tree soon?

Thanks,
    Alberto
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-10-19 16:50:40 UTC
@dev-tools - anyone? karltk has been MIA for quite some time.
Comment 8 Glenn Zink 2006-11-01 08:01:36 UTC
I can attest that the version 1.19 ebuild from the duplicate bug works fine for install on x86, and no issues running on C code.
Comment 9 Anonymous bin ich 2006-12-26 14:56:43 UTC
Still not in portage :(
Comment 10 Thomas Fischer 2007-02-04 21:55:06 UTC
Created attachment 109173 [details]
ebuild for dev-util/astyle 1.20.1

Modified ebuild for Artistic Style 1.20.1. Adapted to renamed/moved files in astyle's archive. No further patches neccessary.
License fixed: Unlike name may suggest, the license is neither "Artistic" nor "GPL-2", but instead is "LGPL-2.1" (read doc/license.html).
Comment 11 Erik 2007-02-27 20:21:38 UTC
I just want to let you know that all released versions of astyle have bug #1642489 [https://sourceforge.net/tracker/index.php?func=detail&aid=1642489&group_id=2319&atid=102319], for which Thatcher Ulrich has provided a patch that works for me. I propose that you add that patch to the ebuild.
Comment 12 Erik Zeek 2007-04-12 03:36:02 UTC
Created attachment 116020 [details]
astyle-1.20.2.ebuild

astyle-1.20.2 is out.  I'm including a fix for the Makefile to remove the strip step.
Comment 13 Erik Zeek 2007-04-12 03:37:29 UTC
Created attachment 116021 [details]
Removes strip command
Comment 14 Clemens Rabe 2007-10-06 15:53:33 UTC
Created attachment 132743 [details]
Ebuild for astyle 1.21

Artistic Style 1.21 is out.

This ebuild patches the Makefile with the astyle-1.21-strip.patch (next attachement) and builds astyle. It is based mainly on the last ebuild for 1.20. Tested successfully on x86.
Comment 15 Clemens Rabe 2007-10-06 15:55:43 UTC
Created attachment 132744 [details, diff]
Makefile patch to remove -s option for astyle-1.21

The Makefile patch for astyle-1.21.ebuild. It removes the -s option of the gcc-commands in the Makefile.
Comment 16 Steve Arnold archtester gentoo-dev 2007-10-07 01:34:29 UTC
updated and in portage; test away...