Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699120 - dev-libs/capstone : split bindings into a separate ebuild
Summary: dev-libs/capstone : split bindings into a separate ebuild
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergei Trofimovich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-02 01:16 UTC by Anton Bolshakov
Modified: 2019-11-04 04:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Bolshakov 2019-11-02 01:16:47 UTC
Currently, the ebuild supports python bindings only, and the ebuild is quite complex already.

However, capstone supports multiple other additional languages, for example:
java, ocaml, PowerShell, VB6, C#, Go, Ruby, NodeJS, C++ & Vala

Some of these languages are written by community and must be downloaded separately.

So I think it makes sense to split out all bindings into a separate ebuild.
We have started to do it and you can try our ebuilds at Pentoo overlay.

See also:
https://github.com/pentoo/pentoo-overlay/issues/520
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2019-11-03 00:06:10 UTC
If the bindings are released as a part of the same source tarball I would prefer to keep it as a single package. Adding USE flags is not hard. That would ease bumping a package and keep library+bindings in sync as opposed to bump a bunch of packages.

I'm not against adding more bindings support into existing ebuild.
Comment 2 Anton Bolshakov 2019-11-03 03:04:22 UTC
I think the keyword is community bindings
See https://github.com/aquynh/capstone/blob/master/bindings/README

There are around 15 additional bindings, they are all hosted by different authors
Please reconsider
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2019-11-03 10:07:42 UTC
(In reply to Anton Bolshakov from comment #2)
> I think the keyword is community bindings
> See https://github.com/aquynh/capstone/blob/master/bindings/README

It does not help me to understand existing problem.

> There are around 15 additional bindings, they are all hosted by different
> authors
> Please reconsider

External packages maintained by their authors are standalone projects can go into their packages in gentoo.

Why does it relate to canstone python (or other bundled) bindings that are part of capstone tarball?
Comment 4 Anton Bolshakov 2019-11-04 04:01:51 UTC
well, ok. It may be make sense to write 15 separate ebuilds for each binding.
Let me be this way.