Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87419 - new package: dev-util/idea-community
Summary: new package: dev-util/idea-community
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD, InOverlay
: 170928 320287 557924 564772 (view as bug list)
Depends on:
Blocks: 171017
  Show dependency tree
 
Reported: 2005-03-31 07:00 UTC by Mirko Caserta
Modified: 2017-01-28 08:36 UTC (History)
15 users (show)

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


Attachments
Idea 4.5.4 ebuild (idea-4.5.4.ebuild,2.17 KB, text/plain)
2005-03-31 07:01 UTC, Mirko Caserta
Details
fixed to make use of make_desktop_entry instead of ugly hack (idea-4.5.4-r1.ebuild,1.77 KB, text/plain)
2005-05-04 06:02 UTC, Mirko Caserta
Details
ebuild for IDEA 4.5.4 (idea-4.5.4.ebuild,1.55 KB, text/plain)
2005-06-23 09:34 UTC, Hynek Schlawack
Details
ebuild for IDEA 4.5.4 with "|| die"s removed. (idea-4.5.4.ebuild,1.54 KB, text/plain)
2005-06-23 10:57 UTC, Hynek Schlawack
Details
Patch used by the ebuild. (idea-jre-patch.diff,1.77 KB, text/plain)
2005-08-11 03:22 UTC, Hynek Schlawack
Details
svn4idea 0.9.1 (subversion plugin for IDEA) (svn4idea-0.9.1.ebuild,1.04 KB, text/plain)
2005-08-11 06:17 UTC, Joël
Details
ebuild for IntelliJ IDEA 5.0 (idea-5.0.ebuild,1.72 KB, text/plain)
2005-08-11 13:42 UTC, Joël
Details
ebuild for IntelliJ 5.0.1 (idea-5.0.1.ebuild,1.72 KB, text/plain)
2005-10-02 12:46 UTC, Boky
Details
dev-java/idea-5.0.2.ebuild (idea-5.0.2.ebuild,1.73 KB, text/plain)
2006-02-18 14:33 UTC, Boky
Details
dev-java/idea-5.1.ebuild (idea-5.1.ebuild,1.73 KB, text/plain)
2006-02-18 14:35 UTC, Boky
Details
dev-java/idea-5.1.2.ebuild (idea-5.1.2.ebuild,1.73 KB, text/plain)
2006-07-27 08:15 UTC, Jiri Tyr
Details
dev-java/idea/idea-6.0_beta.ebuild (idea-6.0_beta.ebuild,1.52 KB, text/plain)
2006-08-06 13:35 UTC, Jiri Tyr
Details
dev-java/idea/idea-6.0.2.ebuild (idea-6.0.2.ebuild,1.52 KB, text/plain)
2006-11-21 06:29 UTC, Jiri Tyr
Details
idea-6.0.4.ebuild (idea-6.0.4.ebuild,1.51 KB, text/plain)
2007-01-23 17:07 UTC, Jiri Tyr
Details
idea-6.0.5.ebuild (idea-6.0.5.ebuild,1023 bytes, text/plain)
2007-03-30 08:28 UTC, Marat Radchenko
Details
idea-7.0.3.ebuild (idea-7.0.3.ebuild,1.52 KB, text/plain)
2008-03-19 09:41 UTC, Jiri Tyr
Details
idea-7.0.4.ebuild (idea-7.0.4.ebuild,1.52 KB, text/plain)
2008-08-12 15:24 UTC, Jiri Tyr
Details
idea-8.1.ebuild (idea-8.1.ebuild,921 bytes, text/plain)
2009-02-20 18:31 UTC, Ales Havlik
Details
idea-9.0.3.ebuild (idea-9.0.3.ebuild,915 bytes, text/plain)
2010-07-25 22:10 UTC, Boris Pigin
Details
new 9.0.4 version (idea-9.0.4.ebuild,915 bytes, text/plain)
2010-11-12 10:48 UTC, Boris Pigin
Details
idea-12.0.1.123.94.ebuild (idea-12.0.1.123.94.ebuild,998 bytes, text/plain)
2012-12-25 06:31 UTC, Aaron
Details
ebuild intellij idea 14.1.4 (idea-14.1.4.ebuild,926 bytes, text/plain)
2015-08-17 11:58 UTC, Gert Pellin
Details
ebuild IntelliJ idea 15.0 pre release (idea-15.0_pre.ebuild,924 bytes, text/plain)
2015-08-17 11:59 UTC, Gert Pellin
Details
license file (IDEA_Academic_license.txt,15.50 KB, text/plain)
2015-08-17 12:00 UTC, Gert Pellin
Details
license file (IDEA_Classroom_license.txt,14.04 KB, text/plain)
2015-08-17 12:00 UTC, Gert Pellin
Details
license file (IDEA_license.txt,16.34 KB, text/plain)
2015-08-17 12:01 UTC, Gert Pellin
Details
license file (IDEA_OpenSource_license.txt,13.23 KB, text/plain)
2015-08-17 12:01 UTC, Gert Pellin
Details
license file (IDEA_Personal_license.txt,15.22 KB, text/plain)
2015-08-17 12:01 UTC, Gert Pellin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mirko Caserta 2005-03-31 07:00:53 UTC
This is an ebuild for Intellij IDEA 4.5.4 I wrote. It seems to work fine and also creates a .desktop entry with associated icon for the freedesktop menu system.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Mirko Caserta 2005-03-31 07:01:54 UTC
Created attachment 54927 [details]
Idea 4.5.4 ebuild
Comment 2 Gustavo Felisberto (RETIRED) gentoo-dev 2005-05-04 04:41:05 UTC
Mirko: There are functions in portage to create desktop entrys (just gave the ebuild a very fast overlook)
Comment 3 Mirko Caserta 2005-05-04 05:06:30 UTC
Yeah, I know there are functions in portage to create desktop entries. The point is, at the time I was writing this ebuild, I tried them and they didn't seem to work too well, so I resorted to a quick hack.

I'll look into the portage .desktop functions and post an updated ebuild if the functions work as expected. Thanks.
Comment 4 Mirko Caserta 2005-05-04 06:02:58 UTC
Created attachment 58031 [details]
fixed to make use of make_desktop_entry instead of ugly hack
Comment 5 Hynek Schlawack 2005-06-23 09:32:31 UTC
I've written another ebuild which conforms a bit more to the policies. I've
backchecked with JetBrains and they're cool about us patching the shell-scripts
in order not to duplicate a whole JRE.

Unfortunately it's near to impossible to avoid shipping the supplied packages
like JUnit again as IDEA seems to depend deeply on certain versions and even
those which work today may be screwed up by a single update. :(

Two shellscripts from bin won't be installed: inspect_diff.sh and degenerate.sh.
Both are unsupported, undocumented and subject to get dropped (in fact, the
former already misses in the Linux-build) in the next release. I have these
information from JetBrains.

Anyway, feedback is welcome .
Comment 6 Hynek Schlawack 2005-06-23 09:34:29 UTC
Created attachment 61789 [details]
ebuild for IDEA 4.5.4

There have to be also added some licenses to /usr/portage/licenses.
Comment 7 Hynek Schlawack 2005-06-23 10:57:30 UTC
Created attachment 61795 [details]
ebuild for IDEA 4.5.4 with "|| die"s removed.

"|| die" behind doins seems to be dispensable so I removed them as portage says


hynek@squirrel /usr/portage $ grep -r doins *|grep die|wc -l
761
hynek@squirrel /usr/portage $ grep -r doins *|grep -v die|wc -l
6493

:)
Comment 8 Joël 2005-08-11 02:52:05 UTC
Hi Mirko,

Where do I find the idea-jre-patch.diff file ?

Thanks
Comment 9 Hynek Schlawack 2005-08-11 03:22:24 UTC
Created attachment 65649 [details]
Patch used by the ebuild.

Needed patch. Sorry.
Comment 10 Joël 2005-08-11 06:04:59 UTC
Works great !

*** Before ***
joel@vaio-z1 /opt $ du -hs IntelliJ-IDEA/
101M    IntelliJ-IDEA/

*** After ***
joel@vaio-z1 /opt $ du -hs idea-4.5.4/
37M     idea-4.5.4/

No additional JRE.. what a size optimization as well :-)

PS: Does someone have/use IDEA 5.0 ? Would it require many changes in the ebuild  ?
Comment 11 Joël 2005-08-11 06:17:10 UTC
Created attachment 65661 [details]
svn4idea 0.9.1 (subversion plugin for IDEA)

Here's an ebuild I made several months ago, for svn plugin support in IDEA.
Now, I modified it to depend on yours. Please test...

PS: I hope I'm not highjacking your bug :-)
Comment 12 Mirko Caserta 2005-08-11 07:26:26 UTC
I'm using IDEA 5.0 on Mac OS X. Have not tested it on Gentoo yet.
Word on the street is it works great unless you let it
import your previous 4.5 settings, in which case
it may even crash miserably at start up.

My impression is a 5.0 ebuild should be easy to
implement with a portage-installed JRE,
even a sun-jdk-1.5.0 one.
Comment 13 Hynek Schlawack 2005-08-11 07:33:52 UTC
I believe that it would be pretty easy as they don't ship a JRE anymore. However
there seems not to be much interest in IDEA-ebuilds. The current
install-procedure is cp -a though. ;)
Comment 14 Joël 2005-08-11 13:42:31 UTC
Created attachment 65695 [details]
ebuild for IntelliJ IDEA 5.0

Note: already contains svn4idea as a shipped plugin :-)
Comment 15 Boky 2005-10-02 12:46:58 UTC
Created attachment 69743 [details]
ebuild for IntelliJ 5.0.1

Haven't tried it though, but i think there's a bug in the 5.0 build script (at
least I had to change this for the 5.0.1 ebuild):

line 10 was:
S="${WORKDIR}/idea-${PV}

but it should be:
S="${WORKDIR}/idea-${BUILD}
Comment 16 Boky 2006-02-18 14:33:09 UTC
Created attachment 80126 [details]
dev-java/idea-5.0.2.ebuild
Comment 17 Boky 2006-02-18 14:35:43 UTC
Created attachment 80127 [details]
dev-java/idea-5.1.ebuild
Comment 18 Jiri Tyr 2006-07-27 08:15:04 UTC
Created attachment 92859 [details]
dev-java/idea-5.1.2.ebuild

Ebuild for newest version if IntelliJ v5.1.2.
Comment 19 Jiri Tyr 2006-08-06 13:35:28 UTC
Created attachment 93614 [details]
dev-java/idea/idea-6.0_beta.ebuild

Ebuild for IDEA IntelliJ 6 beta.
Comment 20 Jiri Tyr 2006-11-21 06:29:50 UTC
Created attachment 102464 [details]
dev-java/idea/idea-6.0.2.ebuild

Ebuild for newest version of InteliJ IDEA 6.0.2 - build 6107.
Comment 21 Josh Nichols (RETIRED) gentoo-dev 2006-11-21 08:25:06 UTC
After some small tweaks, added to our Java overlay:
https://overlays.gentoo.org/svn/proj/java/migrated-java-experimental-overlay/dev-util/idea
Comment 22 Jiri Tyr 2007-01-23 17:07:15 UTC
Created attachment 107911 [details]
idea-6.0.4.ebuild

Ebuild for new Idea 6.0.4.
Comment 23 Josh Nichols (RETIRED) gentoo-dev 2007-03-16 21:35:51 UTC
*** Bug 170928 has been marked as a duplicate of this bug. ***
Comment 24 Josh Nichols (RETIRED) gentoo-dev 2007-03-20 19:27:39 UTC
*** Bug 171017 has been marked as a duplicate of this bug. ***
Comment 25 Marat Radchenko 2007-03-30 08:28:52 UTC
Created attachment 114919 [details]
idea-6.0.5.ebuild

update to 6.0.5
supports slotting
Comment 26 Marat Radchenko 2007-03-30 08:29:50 UTC
please change version in summary, i don't have enough permissions
Comment 27 Boky 2007-03-30 12:56:54 UTC
Maybe this should be available in the portage now.

Since version 5.x nobody has reported any problems.
Comment 28 Marat Radchenko 2007-03-30 13:15:17 UTC
added 6.0.5 to java-experimental
Comment 29 Joël 2007-04-02 12:40:19 UTC
For the execution rights to be applied to *.sh I had to replace:
   fperms 755 ${dir}/bin/*.sh
with:
   chmod 755 ${D}/${dir}/bin/*.sh

I really don't know why, but fperms doesn't work reliably for me. This is with portage 2.1.2.2.
Comment 30 Marat Radchenko 2007-04-11 08:41:05 UTC
Added idea-7.0.M1 (new slot) to java-experimental
Comment 31 Marat Radchenko 2007-05-13 10:24:46 UTC
Updated to 7.0 M1a.
In java-experimental.
Comment 32 Marat Radchenko 2007-07-06 10:08:54 UTC
Updated to 7.0 M1b.
In java-experimental.
Comment 33 Jiri Tyr 2008-03-19 09:41:51 UTC
Created attachment 146562 [details]
idea-7.0.3.ebuild

Ebuild for idea-7.0.3.
Comment 34 Marat Radchenko 2008-03-19 10:48:37 UTC
Updated to 7.0.3.
In java-experimental.
Comment 35 Joël 2008-07-01 14:05:38 UTC
Today, in thish overlay is IDEA 7 available ?

- I can't find java-experimental in layman
- java-overlay only includes IDEA 6.0.4: why is that ??

Thanks
Comment 36 Marat Radchenko 2008-07-01 15:07:04 UTC
java-experimental is available at http://overlays.gentoo.org/svn/proj/java/java-experimental/
Comment 37 Jiri Tyr 2008-08-12 15:24:32 UTC
Created attachment 162753 [details]
idea-7.0.4.ebuild

Ebuild for idea-7.0.4.
Comment 38 Marat Radchenko 2008-08-13 07:02:09 UTC
7.0.4 in java-experimental
Comment 39 Ales Havlik 2009-02-20 18:07:44 UTC
Hi! Would it be possible to create ebuild for new 8.0 version of IDEA?
Comment 40 Ales Havlik 2009-02-20 18:31:57 UTC
Created attachment 182677 [details]
idea-8.1.ebuild

Ebuild for IDEA 8.1.
Created using idea-7.0.4.ebuild. Works for me.
Comment 41 Marat Radchenko 2009-02-25 08:57:33 UTC
8.1 in java-experimental
Comment 42 Marat Radchenko 2009-03-03 10:04:02 UTC
7.0.5 in java-experimental. removed 7.0.4, 8.0 and 8.0_pre1.
Comment 43 Marat Radchenko 2009-11-12 12:28:43 UTC
9.0_beta in java-experimental
Comment 44 Joël 2009-12-01 15:05:21 UTC
Sorry, but where can I find that idea-9.0 ebuild please ?

layman -a java-overlay
find /usr/local/portage/layman/java-overlay | grep idea
=> I see only idea 6.0.2 and 6.0.4 ?

Thanks in advance !
Comment 45 Marat Radchenko 2009-12-01 15:21:07 UTC
(In reply to comment #44)
> Sorry, but where can I find that idea-9.0 ebuild please ?
> 
> layman -a java-overlay
> find /usr/local/portage/layman/java-overlay | grep idea
> => I see only idea 6.0.2 and 6.0.4 ?
> 
> Thanks in advance !
> 

1. Those are outdated and should be removed.
2. You're looking at java-overlay, but idea is in java-experimental. See [1]
3. idea-9.0 isn't added yet

[1] http://overlays.gentoo.org/svn/proj/java/java-experimental/
Comment 46 Marat Radchenko 2009-12-01 15:22:14 UTC
Correction to my last comment:

Actually, idea-9 is in java-experimental too: http://overlays.gentoo.org/svn/proj/java/java-experimental/dev-util/idea/idea-9.0_beta.ebuild
Comment 47 Joël 2009-12-01 15:24:26 UTC
Thank you Marat :-)

The only guide I found was this:
http://www.gentoo.ro/proj/en/java/experimental.xml

But the problem was their SVN url which was outdated. It worked after I replaced it with yours:
https://overlays.gentoo.org/svn/proj/java/java-experimental/

Works fine now !
Comment 48 Marat Radchenko 2009-12-09 08:42:45 UTC
Bumped to 9.0 release (Ultimate Edition)
Comment 49 Boris Pigin 2010-07-25 22:10:24 UTC
Created attachment 240147 [details]
idea-9.0.3.ebuild
Comment 50 ScytheMan 2010-11-01 08:58:46 UTC
Hi,
friendly hint for all interested:
bug #320287 is about the community edition of intellij idea.
maybe someone wants to take a look at the ebuild there?
Comment 51 Boris Pigin 2010-11-12 10:48:54 UTC
Created attachment 254073 [details]
new 9.0.4 version
Comment 52 Joël 2010-12-17 17:59:15 UTC
Did someone patch this e-build for IDEA 10 support already ?
Comment 53 Marat Radchenko 2010-12-18 12:06:29 UTC
bumped to 9.0.4 and 10, in java-experimental overlay
Comment 54 Marat Radchenko 2011-03-31 07:53:42 UTC
bumped to 10.0.2 some time ago, in java-experimental overlay
Comment 55 Marat Radchenko 2011-04-10 13:48:24 UTC
bumped to 10.0.3, in java-experimental overlay
Comment 56 Marat Radchenko 2011-05-18 17:39:46 UTC
bumped to 10.5, in java-experimental overlay
Comment 57 Joël 2011-12-12 13:58:20 UTC
Hey guys,

I found idea-11.0.0.111.69 in java-experimental (thanks!) but I noticed one minor issue. In src_install() one should add:

fperms 755 "${dir}/bin/fsnotifier" "${dir}/bin/fsnotifier64"

I tested this modification with success. Would it be possible to add this, please?
Comment 58 Marat Radchenko 2011-12-12 17:14:40 UTC
(In reply to comment #57)
> Hey guys,
> 
> I found idea-11.0.0.111.69 in java-experimental (thanks!) but I noticed one
> minor issue. In src_install() one should add:
> 
> fperms 755 "${dir}/bin/fsnotifier" "${dir}/bin/fsnotifier64"
> 
> I tested this modification with success. Would it be possible to add this,
> please?

Fixed in -r1 of both dev-util/idea{,-community}.
Comment 59 Marat Radchenko 2011-12-12 17:42:03 UTC
Forgot to say, we now have ebuilds for 10.5.4 and 11.0. Still, in java-experimental.
Comment 60 Carlos Silva 2012-06-23 22:30:33 UTC
Hummm why isn't this on (layman's) java-overlay?

And why isn't it in portage for that matter? ;) Don't take me wrong, I'm just asking.
Comment 61 Marat Radchenko 2012-06-24 06:51:16 UTC
It isn't in java-overlay because i'm not a dev and don't have commit access to it, and none of devs seems to bother to add ebuilds there.

It isn't in main tree for same reason as above plus (as was discussed several years ago) in current state package doesn't comply with gentoo packaging rules because it bundles a lot of third-party libs. However, properly replacing them with in-tree versions is tricky because some are patched and some are required to be of exactly same versions as bundled ones, otherwise causing breakage at runtime.
Comment 62 Aaron 2012-12-25 06:31:27 UTC
Created attachment 333238 [details]
idea-12.0.1.123.94.ebuild

Hi, I just wanted to post a newer ebuild for 12.0.1. There is not much change to the existing ebuild other than a bump in version. Hopefully, it saves some time.
Comment 63 James Le Cuirot gentoo-dev 2015-07-22 09:38:47 UTC
*** Bug 320287 has been marked as a duplicate of this bug. ***
Comment 64 James Le Cuirot gentoo-dev 2015-07-22 09:59:19 UTC
The ancient v6 ebuild has been removed from java-overlay as it's no use to anyone. I'm sorry that there's been no action from the Java team on this but it's very far down the list of priorities at a time when there are basically only 2 active devs.

Ideally, we would like to see it built from source, or at least stripping out some of the bundled stuff. I suspect it uses fewer patched libraries as it used to as Maven has discouraged this practise in recent times. It is still Ant-based though, which we currently support better than Maven, but some plugins use Groovy, and that would be a problem.
Comment 65 Johannes Huber (RETIRED) gentoo-dev 2015-08-17 09:58:51 UTC
*** Bug 557924 has been marked as a duplicate of this bug. ***
Comment 66 Gert Pellin 2015-08-17 11:58:04 UTC
Created attachment 409248 [details]
ebuild intellij idea 14.1.4

new ebuild, should also be moved to dev-util/idea becous it is an ide for java, python, html, php, js, ... and not for only java.
Comment 67 Gert Pellin 2015-08-17 11:59:57 UTC
Created attachment 409250 [details]
ebuild IntelliJ idea 15.0 pre release

new ebuild for testing version, should be masked, should also be moved to dev-util/idea becous it is an ide for java, python, html, php, js, ... and not for only java.
Comment 68 Gert Pellin 2015-08-17 12:00:41 UTC
Created attachment 409252 [details]
license file
Comment 69 Gert Pellin 2015-08-17 12:00:59 UTC
Created attachment 409256 [details]
license file
Comment 70 Gert Pellin 2015-08-17 12:01:12 UTC
Created attachment 409258 [details]
license file
Comment 71 Gert Pellin 2015-08-17 12:01:31 UTC
Created attachment 409260 [details]
license file
Comment 72 Gert Pellin 2015-08-17 12:01:45 UTC
Created attachment 409262 [details]
license file
Comment 73 Gert Pellin 2015-08-17 16:05:43 UTC
Comment on attachment 409250 [details]
ebuild IntelliJ idea 15.0 pre release

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

DESCRIPTION="IntelliJ IDEA: A complete toolset for web, mobile and enterprise development."
HOMEPAGE="http://www.jetbrains.com/idea"
SRC_URI="https://download.jetbrains.com/idea/ideaIU-${PV%_pre}.tar.gz"

MY_PV="142.3926.4"
MY_PN="${PN}-IU"

LICENSE="IDEA IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal"
SLOT="0"
IUSE="selinux"
KEYWORDS="~amd64 ~x86"

DEPEND="app-arch/zip"
RDEPEND=">=virtual/jdk-1.7"
S=${WORKDIR}/${MY_PN}-${MY_PV}

src_install() {
	local dir="/opt/${PN}"

	insinto "${dir}"
	doins -r *
	fperms 755 "${dir}/bin/idea.sh" "${dir}/bin/fsnotifier" "${dir}/bin/fsnotifier64"

	# Create /usr/bin/intelliJ
	dodir /usr/bin/
	cat <<-EOF >"${ED}"usr/bin/${PN}
	#!/bin/sh
	exec /opt/intelliJ/bin/idea.sh
	EOF
	fperms 0755 /usr/bin/${PN}
}
Comment 74 Patrice Clement gentoo-dev 2015-08-17 16:43:59 UTC
Thanks Gert for posting your ebuilds.

(In reply to James Le Cuirot from comment #64)
> Ideally, we would like to see it built from source, or at least stripping
> out some of the bundled stuff. I suspect it uses fewer patched libraries as
> it used to as Maven has discouraged this practise in recent times. It is
> still Ant-based though, which we currently support better than Maven, but
> some plugins use Groovy, and that would be a problem.

Whilst I too would like to get as many software as possible built from source, it won't happen here I'm afraid.

https://github.com/JetBrains/intellij-community

The recipe for building IDEA seems a bit demanding:
- Groovy
- Java 6 (why?)
- UI Designer (what is that?)
- Kotlin
- I'm sure a WAD of dependencies.

The build process is far too complicated for the benefits it yields.

@James: let's add a -bin version and call it a day.
Comment 75 Gert Pellin 2015-08-17 20:13:33 UTC
I did a pull request on git-hub with some changes recommended by the community, the files I uploaded here may be ignored. 
pull request: https://github.com/gentoo/gentoo/pull/20
Comment 76 James Le Cuirot gentoo-dev 2015-08-17 20:55:01 UTC
(In reply to Patrice Clement from comment #74)
> @James: let's add a -bin version and call it a day.

monsieurp already knows that I never let him get his way so I downloaded a master tarball from GitHub and built IDEA from source with just a mere invocation of ant. I only tried it briefly but the result appeared to work just fine.

The only thing it downloaded during the build was the Kotlin plugin and that could easily be fixed. There are tons of bundled jars in lib but even building from source without unbundling would be a good start. Having said that, a lot of these are things we already have packaged.

It doesn't look like our usual build.xml rewriting trick would work as it seems to source these jars using a collection of strange XML files under .idea/libraries. java-pkg_jar-from would probably be best here.

It's not clear how the libraries get sourced at runtime. It doesn't add the whole of lib to the classpath in the launcher script. Perhaps IDEA to hardcoded to look there. Would adding the unbundled jars to the initial classpath work or would it create problems like we've seen with Tomcat? Don't know. This might need some experimentation.
Comment 77 M. B. 2015-08-29 22:35:42 UTC
in the meantime, idea-ultimate is in the tree. which i find slightly embarassing.
Comment 78 M. B. 2015-09-12 08:31:33 UTC
Just to let you know, I'm working on a compilable solution.
https://github.com/tomboy-64/tbc/blob/master/dev-util/idea/idea-141.ebuild

This file (compile/install/run) is working for now; name as well as dependencies are subject to change. This is WIP.
Comment 79 James Le Cuirot gentoo-dev 2016-04-02 08:11:23 UTC
Since idea-ultimate is already in the tree, I'll retitle this bug.
Comment 80 James Le Cuirot gentoo-dev 2016-04-02 08:11:49 UTC
*** Bug 564772 has been marked as a duplicate of this bug. ***
Comment 81 Christian Strahl 2016-04-03 11:45:11 UTC
(In reply to James Le Cuirot from comment #6 from bug #564772)
> Might as well move this discussion to the older bug report.

continue discussion from Bug 564772 - dev-util/idea-community: Java IDE
(Bugzilla may not resolve some comment IDs correctly.)

(In reply to James Le Cuirot from comment #5)
> I am the one who was against it.

It should always be your first attempt to have source ebuilds in portage,
that is also my personal preference, so I understand your point.

But as we can see here, the source ebuild doesn't made it into portage for more than _eleven_ years.

(In reply to James Le Cuirot from comment #5)
> (In reply to M. B. from comment #4)
> > Hence, however ugly it may sound, I'm for an idea-community binary ebuild.

So I'm also for a binary ebuild in this case.
Otherwise, we will continue to have no ebuild for idea-community at all.

@James Le Cuirot
I would be glad if you would agree to the proposal from Mike Nerone, M.B. and me from #564772.
Comment 82 Christian Strahl 2016-12-25 11:33:32 UTC
IntelliJ IDEA Community 2016.3.1 was released on December 13, 2016
Comment 83 Coacher 2017-01-28 08:36:33 UTC
Both idea-ultimate and idea-community are now in tree:
https://packages.gentoo.org/packages/dev-util/idea-ultimate
https://packages.gentoo.org/packages/dev-util/idea-community

Closing as fixed. Thanks everyone.