We already have dev-util/idea-ultimate in the tree.
It would be great to have also a package for dev-util/idea-community.
The ebuilds should be very similar, so it should be a minimal effort.
It is the same case like here:
also from JetBrains and the ebuild are quite similar.
I was able to convert the most recent idea-ultimate ebuilds (the identical ones for 15.x and 16.x) with some trivial steps:
1. Create directory dev-util/idea-community in an overlay and cd into it.
2. Copy the 15.x and 16.x ebuilds from /usr/portage/dev-util/idea-ultimate/ to that directory, renaming to idea-community* - no need to change version numbers at all.
3. Fix the SRC_URIs to the Community downloads: "sed -i 's/IU-/IC-/g" *.ebuild"
4. Fix some "rm" commands so that attempts to remove pieces not present in the Community version don't cause errors: "sed -i 's/rm -r/rm -rf/' *.ebuild"
5. Fix the desktop entry name: "sed -i 's/Ultimate/Community/' *.ebuild"
That's it. Merged swimmingly, Idea Community is installed and working great.
There was a discussion some months ago about not including the community version in binary form because it is open source. I cant find the bug to link to it thou. If I am not mistaking I came across portage overlays that have it but you could always do a pull request with your edited ebuilds if you like.
I briefly tried to assemble the deps for idea-community. It's an utter nightmare. I gave up at 60 or so dependencies. And that didn't even include another 20 or so which were not in the tree.
Hence, however ugly it may sound, I'm for an idea-community binary ebuild.
(In reply to M. B. from comment #4)
> Hence, however ugly it may sound, I'm for an idea-community binary ebuild.
I am the one who was against it.
> I briefly tried to assemble the deps for idea-community. It's an utter
> nightmare. I gave up at 60 or so dependencies. And that didn't even include
> another 20 or so which were not in the tree.
That effort need not go to waste. You don't have to unbundle every dep, just some of them is a lot better than none. In fact, even just building the project from source without unbundling anything is a decent start. I made sure I wasn't setting an impossible task by attempting to build it myself. It was almost as easy as just typing "ant" so I see no point in a binary ebuild here.
Might as well move this discussion to the older bug report.
*** This bug has been marked as a duplicate of bug 87419 ***
(In reply to James Le Cuirot from comment #5)
since you don't answer my post in #87419 (https://bugs.gentoo.org/show_bug.cgi?id=87419#c81) I try it here:
> I am the one who was against it.
The result is that we don't have an ebuild for idea-community at all (for more than eleven years).
> I made sure I wasn't setting an impossible task by attempting to build it
> myself. It was almost as easy as just typing "ant" so I see no point in a
> binary ebuild here.
If it's such an easy job for you, please put your ebuild in the tree.