[arch-commits] Commit in intellij-idea-community-edition/repos (6 files)

Maxime Gauduin alucryd at archlinux.org
Wed Aug 15 18:32:04 UTC 2018


    Date: Wednesday, August 15, 2018 @ 18:32:04
  Author: alucryd
Revision: 371880

archrelease: copy trunk to community-testing-x86_64

Added:
  intellij-idea-community-edition/repos/community-testing-x86_64/
  intellij-idea-community-edition/repos/community-testing-x86_64/PKGBUILD
    (from rev 371879, intellij-idea-community-edition/trunk/PKGBUILD)
  intellij-idea-community-edition/repos/community-testing-x86_64/idea-build.patch
    (from rev 371879, intellij-idea-community-edition/trunk/idea-build.patch)
  intellij-idea-community-edition/repos/community-testing-x86_64/idea.desktop
    (from rev 371879, intellij-idea-community-edition/trunk/idea.desktop)
  intellij-idea-community-edition/repos/community-testing-x86_64/idea.install
    (from rev 371879, intellij-idea-community-edition/trunk/idea.install)
  intellij-idea-community-edition/repos/community-testing-x86_64/idea.sh
    (from rev 371879, intellij-idea-community-edition/trunk/idea.sh)

------------------+
 PKGBUILD         |   68 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 idea-build.patch |   40 +++++++++++++++++++++++++++++++
 idea.desktop     |   11 ++++++++
 idea.install     |   10 +++++++
 idea.sh          |    9 +++++++
 5 files changed, 138 insertions(+)

Copied: intellij-idea-community-edition/repos/community-testing-x86_64/PKGBUILD (from rev 371879, intellij-idea-community-edition/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2018-08-15 18:32:04 UTC (rev 371880)
@@ -0,0 +1,68 @@
+# $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.1
+_build=182.3911.36
+pkgrel=2
+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'
+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#tag=idea/${_build}"
+        "idea-adt-tools-base::git://git.jetbrains.org/idea/adt-tools-base.git#tag=idea/${_build}"
+        'idea-build.patch'
+        'idea.desktop'
+        'idea.sh')
+sha256sums=('4556dbf0099fde8115b05bdc76e80c82263d9c3ef98c9b112c48d610f2fac509'
+            '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-testing-x86_64/idea-build.patch (from rev 371879, intellij-idea-community-edition/trunk/idea-build.patch)
===================================================================
--- community-testing-x86_64/idea-build.patch	                        (rev 0)
+++ community-testing-x86_64/idea-build.patch	2018-08-15 18:32:04 UTC (rev 371880)
@@ -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-testing-x86_64/idea.desktop (from rev 371879, intellij-idea-community-edition/trunk/idea.desktop)
===================================================================
--- community-testing-x86_64/idea.desktop	                        (rev 0)
+++ community-testing-x86_64/idea.desktop	2018-08-15 18:32:04 UTC (rev 371880)
@@ -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-testing-x86_64/idea.install (from rev 371879, intellij-idea-community-edition/trunk/idea.install)
===================================================================
--- community-testing-x86_64/idea.install	                        (rev 0)
+++ community-testing-x86_64/idea.install	2018-08-15 18:32:04 UTC (rev 371880)
@@ -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-testing-x86_64/idea.sh (from rev 371879, intellij-idea-community-edition/trunk/idea.sh)
===================================================================
--- community-testing-x86_64/idea.sh	                        (rev 0)
+++ community-testing-x86_64/idea.sh	2018-08-15 18:32:04 UTC (rev 371880)
@@ -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