Red Hat Bugzilla – Bug 1050825
codeblocks bundles astyle
Last modified: 2014-04-12 07:37:20 EDT
Description of problem:
astyle is available as a separate package in Fedora but Code::Blocks appears to bundle its own copy. please unbundle and depend on the astyle package instead.
While the bundled astyle code is likely even not forked, there is no standlone astyle library that could be used for C::B.
I am not sure about the veracity of that assertion given that there is a standalone astyle package in Fedora but in any case, if you need an exception to the fedora packaging guidelines, you need to file a ticket with FPC. I have done so now
(In reply to Dan Horák from comment #1)
> While the bundled astyle code is likely even not forked, there is no
> standlone astyle library that could be used for C::B.
I'm sorry, but this is simply wrong. astyle upstream explicitly supports building a shared library, so it's a bug in astyle package that it doesn't provide it.
Please open a bug against astyle and block on it instead of closing.
Created attachment 851219 [details]
starting point for building astyle shared library
Here's a proof-of-concept patch against current rawhide astyle.spec. The shared library needs to have its SONAME set before being consumable properly, but that's an issue for astyle upstream.