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...
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.
Created attachment 89588 [details] dev-util/astyle-1.18 ebuild
*** Bug 144242 has been marked as a duplicate of this bug. ***
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.
(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
@dev-tools - anyone? karltk has been MIA for quite some time.
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.
Still not in portage :(
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).
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.
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.
Created attachment 116021 [details] Removes strip command
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.
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.
updated and in portage; test away...