-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add IntelliJ IDEA CE version 11. #89
Closed
Closed
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
f8a2ac5
Add IntelliJ IDEA CE version 11.
coreyoconnor 87a530a
Merge branch 'upstream'
coreyoconnor a3f851c
Merge branch 'upstream'
coreyoconnor 4410289
patch scala shebang.
coreyoconnor f3a6d34
Up version of Dev86 to 0.16.19.
coreyoconnor 1d5b33b
Merge branch 'upstream'
coreyoconnor a6033fc
propagate GIT_SSH in impureEnvVars.
coreyoconnor e6e5bc0
add winetricks
coreyoconnor 27fec0a
add infinality patches
coreyoconnor 27ae5d1
Merge remote-tracking branch 'nixpad/master'
coreyoconnor 4073441
Merge branch 'upstream'
coreyoconnor 0dcd483
Merge remote-tracking branch 'upstream/master'
coreyoconnor 5b6a2bc
cherry pick in infinality patch from x-updates plus others
coreyoconnor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
source $stdenv/setup | ||
|
||
export PATH=$ant/bin:$jdk/bin:$PATH | ||
|
||
set -e | ||
|
||
tar -jxvf $src | ||
cd ideaIC-111.69 | ||
|
||
ant build | ||
|
||
mkdir -p $out | ||
|
||
tar --strip-components=1 -zxvf out/artifacts/ideaIC-111.SNAPSHOT.tar.gz -C $out | ||
|
||
patchelf --set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" $out/bin/${notifierToPatch} | ||
|
||
# Create desktop item. | ||
mkdir -p $out/share/applications | ||
cp $out/bin/idea_CE128.png $out/share/applications/ | ||
cp ${desktopItem}/share/applications/* $out/share/applications/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ stdenv, fetchurl, patchelf, makeDesktopItem, ant, jdk } : | ||
|
||
stdenv.mkDerivation rec { | ||
name = "intellij-idea-ce-11"; | ||
description = "IntelliJ IDEA Community Edition version 11.1.69"; | ||
|
||
src = fetchurl { | ||
url = http://download.jetbrains.com/idea/ideaIC-11-src.tar.bz2; | ||
sha256 = "0wyq4n8gz473kvxz9n8l16c0chscqvj95k4jdbga9b60n59987vr"; | ||
}; | ||
|
||
builder = ./builder.sh; | ||
|
||
desktopItem = makeDesktopItem { | ||
name = "IntelliJ-IDEA-CE"; | ||
exec = "idea.sh"; | ||
icon = "idea_CE128.png"; | ||
comment = "IntelliJ IDEA Community Edition"; | ||
desktopName = "IntelliJ IDEA CE"; | ||
genericName = "IntelliJ IDEA Community Edition"; | ||
categories = "Application;Development;"; | ||
}; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please indent using two spaces and don't try to align function calls within the call, as this wrapps your code way too far to the right. An example for this case: desktopItem = makeDesktopItem {
name = "IntelliJ-IDEA-CE";
exec = "idea.sh";
icon = "idea_CE128.png";
comment = "IntelliJ IDEA Community Edition";
desktopName = "IntelliJ IDEA CE";
genericName = "IntelliJ IDEA Community Edition";
categories = "Application;Development;";
}; |
||
|
||
# TODO(corey): I'm confused on how to provide both the architecture's dynamic linker path. | ||
notifierToPatch = if stdenv.system == "x86_64-linux" | ||
then "fsnotifier64" | ||
else "fsnotifier"; | ||
|
||
inherit ant jdk; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
pkgs/development/libraries/freetype/enable-validation.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Enables gxvalid and otvalid modules for use with ftvalid. | ||
|
||
--- freetype-2.2.1/modules.cfg.orig 2006-07-07 21:01:09.000000000 -0400 | ||
+++ freetype-2.2.1/modules.cfg 2006-07-07 21:01:54.000000000 -0400 | ||
@@ -110,7 +110,7 @@ | ||
AUX_MODULES += cache | ||
|
||
# TrueType GX/AAT table validation. Needs ftgxval.c below. | ||
-# AUX_MODULES += gxvalid | ||
+AUX_MODULES += gxvalid | ||
|
||
# Support for streams compressed with gzip (files with suffix .gz). | ||
# | ||
@@ -124,7 +124,7 @@ | ||
|
||
# OpenType table validation. Needs ftotval.c below. | ||
# | ||
-# AUX_MODULES += otvalid | ||
+AUX_MODULES += otvalid | ||
|
||
# Auxiliary PostScript driver component to share common code. | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could omit the
notifierToPatch
attribute and use"$out"/bin/fsnotifier*
instead.