Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564772 - dev-util/idea-community: Java IDE
Summary: dev-util/idea-community: Java IDE
Status: RESOLVED DUPLICATE of bug 87419
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL: http://www.jetbrains.com/idea/download/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-03 10:12 UTC by Christian Strahl
Modified: 2016-05-15 08:09 UTC (History)
6 users (show)

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 Christian Strahl 2015-11-03 10:12:33 UTC
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.

Reproducible: Always
Comment 1 Christian Strahl 2015-11-03 10:15:05 UTC
It is the same case like here:

dev-util/pycharm-community
dev-util/pycharm-professional

also from JetBrains and the ebuild are quite similar.
Comment 2 Mike Nerone 2016-02-19 13:05:52 UTC
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.
Comment 3 Gert Pellin 2016-03-18 14:00:23 UTC
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.
Comment 4 M. B. 2016-03-18 23:23:15 UTC
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.
Comment 5 James Le Cuirot gentoo-dev 2016-03-19 09:38:26 UTC
(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.
Comment 6 James Le Cuirot gentoo-dev 2016-04-02 08:11:49 UTC
Might as well move this discussion to the older bug report.

*** This bug has been marked as a duplicate of bug 87419 ***
Comment 7 Christian Strahl 2016-05-15 08:09:35 UTC
(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.