[arch-commits] Commit in intellij-idea-community-edition/repos (6 files)
Maxime Gauduin
alucryd at archlinux.org
Wed Aug 22 13:38:10 UTC 2018
Date: Wednesday, August 22, 2018 @ 13:38:09
Author: alucryd
Revision: 373252
archrelease: copy trunk to community-x86_64
Added:
intellij-idea-community-edition/repos/community-x86_64/
intellij-idea-community-edition/repos/community-x86_64/PKGBUILD
(from rev 373251, intellij-idea-community-edition/trunk/PKGBUILD)
intellij-idea-community-edition/repos/community-x86_64/idea-build.patch
(from rev 373251, intellij-idea-community-edition/trunk/idea-build.patch)
intellij-idea-community-edition/repos/community-x86_64/idea.desktop
(from rev 373251, intellij-idea-community-edition/trunk/idea.desktop)
intellij-idea-community-edition/repos/community-x86_64/idea.install
(from rev 373251, intellij-idea-community-edition/trunk/idea.install)
intellij-idea-community-edition/repos/community-x86_64/idea.sh
(from rev 373251, intellij-idea-community-edition/trunk/idea.sh)
------------------+
PKGBUILD | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++
idea-build.patch | 40 ++++++++++++++++++++++++++++++
idea.desktop | 11 ++++++++
idea.install | 10 +++++++
idea.sh | 9 ++++++
5 files changed, 140 insertions(+)
Copied: intellij-idea-community-edition/repos/community-x86_64/PKGBUILD (from rev 373251, intellij-idea-community-edition/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-08-22 13:38:09 UTC (rev 373252)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=intellij-idea-community-edition
+pkgver=2018.2.2
+_build=182.4129.33
+pkgrel=1
+epoch=2
+pkgdesc='IDE for Java, Groovy and other programming languages with advanced refactoring features'
+arch=('x86_64')
+url='https://www.jetbrains.com/idea/'
+license=('Apache')
+backup=('usr/share/idea/bin/idea.vmoptions'
+ 'usr/share/idea/bin/idea64.vmoptions')
+depends=('giflib' 'java-environment=8' 'python' 'sh' 'ttf-font')
+makedepends=('apache-ant' 'git' 'java-openjfx')
+install='idea.install'
+_android_commit='b3cd38efb0d8ca0ae5fb82edf27b82a31122c647'
+_adt_tools_base_commit='70a9f8b3756d917717a04140b858a23eef5e60ca'
+source=("idea-${_build}.tar.gz::https://github.com/JetBrains/intellij-community/archive/idea/${_build}.tar.gz"
+ "idea-android::git://git.jetbrains.org/idea/android.git#commit=${_android_commit}"
+ "idea-adt-tools-base::git://git.jetbrains.org/idea/adt-tools-base.git#commit=${_adt_tools_base_commit}"
+ 'idea-build.patch'
+ 'idea.desktop'
+ 'idea.sh')
+sha256sums=('151b292adf956789a519e12701bf767181bd7cef95902e81a7b6d3c0a98aec90'
+ 'SKIP'
+ 'SKIP'
+ '3793e8125abb05b1580919017469ada2563a2e5972a8d74666557df60d270cfd'
+ 'fa9e3cba5e26a7e01cecda867f23467322db123c5553dfbb4f14aae034ccbed7'
+ '9e2155dd4d352b2410fc689236b15d5c3cb9937d82b50d39ec8b8dbcdfa40de1')
+
+prepare() {
+ cd intellij-community-idea-${_build}
+
+ patch -Np1 -i ../idea-build.patch
+ echo ${_build} > build.txt
+ ln -s "${srcdir}"/idea-android android
+ ln -s "${srcdir}"/idea-adt-tools-base android/tools-base
+}
+
+build() {
+ cd intellij-community-idea-${_build}
+
+ unset _JAVA_OPTIONS
+
+ ant build
+ tar -xf out/idea-ce/artifacts/ideaIC-${_build}-no-jdk.tar.gz -C "${srcdir}"
+}
+
+package() {
+ cd idea-IC-${_build}
+
+ # workaround FS#40934
+ sed -i 's/lcd/on/' bin/*.vmoptions
+
+ rm -rf bin/fsnotifier{,-arm} lib/libpty/linux/x86
+
+ install -dm 755 "${pkgdir}"/usr/share/{licenses,pixmaps,idea}
+ cp -dr --no-preserve='ownership' bin lib plugins redist "${pkgdir}"/usr/share/idea/
+ cp -dr --no-preserve='ownership' license "${pkgdir}"/usr/share/licenses/idea
+ ln -s /usr/share/idea/bin/idea.png "${pkgdir}"/usr/share/pixmaps/
+ install -Dm 644 ../idea.desktop -t "${pkgdir}"/usr/share/applications/
+ install -Dm 755 ../idea.sh "${pkgdir}"/usr/bin/idea
+}
+
+# vim: ts=2 sw=2 et:
+
Copied: intellij-idea-community-edition/repos/community-x86_64/idea-build.patch (from rev 373251, intellij-idea-community-edition/trunk/idea-build.patch)
===================================================================
--- community-x86_64/idea-build.patch (rev 0)
+++ community-x86_64/idea-build.patch 2018-08-22 13:38:09 UTC (rev 373252)
@@ -0,0 +1,40 @@
+diff -rupN intellij-community-pycharm-182.1177.orig/build/dependencies/setupJbre.gradle intellij-community-pycharm-182.1177/build/dependencies/setupJbre.gradle
+--- intellij-community-pycharm-182.1177.orig/build/dependencies/setupJbre.gradle 2018-03-29 19:26:20.265970726 +0200
++++ intellij-community-pycharm-182.1177/build/dependencies/setupJbre.gradle 2018-03-29 19:26:52.690160085 +0200
+@@ -1,7 +1,7 @@
+ task setupJbre {}
+
+ def jdkRepo = inJetBrainsNetwork ? 'http://repo.labs.intellij.net/intellij-jdk' : 'https://dl.bintray.com/jetbrains/intellij-jdk'
+-def targetOs = "${System.getProperty("intellij.build.target.os", "all")}"
++def targetOs = "${System.getProperty("intellij.build.target.os", "linux")}"
+
+ jrePlatformsToDownload(targetOs).each { platform ->
+ archToDownload(platform).each { arch ->
+diff -rupN intellij-community-pycharm-182.1177.orig/platform/build-scripts/groovy/org/jetbrains/intellij/build/BuildOptions.groovy intellij-community-pycharm-182.1177/platform/build-scripts/groovy/org/jetbrains/intellij/build/BuildOptions.groovy
+--- intellij-community-pycharm-182.1177.orig/platform/build-scripts/groovy/org/jetbrains/intellij/build/BuildOptions.groovy 2018-03-29 19:26:25.415841858 +0200
++++ intellij-community-pycharm-182.1177/platform/build-scripts/groovy/org/jetbrains/intellij/build/BuildOptions.groovy 2018-03-29 19:31:46.883868914 +0200
+@@ -33,7 +33,7 @@ class BuildOptions {
+ /**
+ * Specifies for which operating systems distributions should be built.
+ */
+- String targetOS = System.getProperty("intellij.build.target.os", OS_ALL)
++ String targetOS = System.getProperty("intellij.build.target.os", OS_LINUX)
+ static final String OS_LINUX = "linux"
+ static final String OS_WINDOWS = "windows"
+ static final String OS_MAC = "mac"
+@@ -100,7 +100,7 @@ class BuildOptions {
+ * Build number without product code (e.g. '162.500.10'), if {@code null} '<baseline>.SNAPSHOT' will be used. Use {@link BuildContext#buildNumber} to
+ * get the actual build number in build scripts.
+ */
+- String buildNumber = System.getProperty("build.number")
++ String buildNumber = System.getProperty("idea.build.number")
+
+ /**
+ * By default build process produces temporary and resulting files under projectHome/out/productName directory, use this property to
+@@ -115,4 +115,4 @@ class BuildOptions {
+ */
+ boolean isInDevelopmentMode = SystemProperties.getBooleanProperty("intellij.build.dev.mode",
+ System.getProperty("teamcity.buildType.id") == null)
+-}
+\ No newline at end of file
++}
Copied: intellij-idea-community-edition/repos/community-x86_64/idea.desktop (from rev 373251, intellij-idea-community-edition/trunk/idea.desktop)
===================================================================
--- community-x86_64/idea.desktop (rev 0)
+++ community-x86_64/idea.desktop 2018-08-22 13:38:09 UTC (rev 373252)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=IntelliJ IDEA Community Edition
+Comment=Develop with pleasure!
+Exec=idea %f
+Icon=idea
+Terminal=false
+StartupNotify=true
+StartupWMClass=jetbrains-idea-ce
+Categories=Development;IDE;Java;
Copied: intellij-idea-community-edition/repos/community-x86_64/idea.install (from rev 373251, intellij-idea-community-edition/trunk/idea.install)
===================================================================
--- community-x86_64/idea.install (rev 0)
+++ community-x86_64/idea.install 2018-08-22 13:38:09 UTC (rev 373252)
@@ -0,0 +1,10 @@
+post_install() {
+ echo "WARNING:"
+ echo " Running IntelliJ IDEA with java other than java 8"
+ echo " may cause various problems, such as Graddle import not working"
+}
+
+post_upgrade() {
+ post_install
+}
+
Copied: intellij-idea-community-edition/repos/community-x86_64/idea.sh (from rev 373251, intellij-idea-community-edition/trunk/idea.sh)
===================================================================
--- community-x86_64/idea.sh (rev 0)
+++ community-x86_64/idea.sh 2018-08-22 13:38:09 UTC (rev 373252)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [ -z "$IDEA_JDK" ] ; then
+ IDEA_JDK="/usr/lib/jvm/java-8-openjdk/"
+fi
+exec env IDEA_JDK=$IDEA_JDK /usr/share/idea/bin/idea.sh $@
+
+# vim: ts=2 sw=2 et:
+
More information about the arch-commits
mailing list