[arch-commits] Commit in intellij-idea-community-edition/repos/community-x86_64 (10 files)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Wed Dec 29 21:23:55 UTC 2021
Date: Wednesday, December 29, 2021 @ 21:23:55
Author: orhun
Revision: 1087663
archrelease: copy trunk to community-x86_64
Added:
intellij-idea-community-edition/repos/community-x86_64/PKGBUILD
(from rev 1087662, intellij-idea-community-edition/trunk/PKGBUILD)
intellij-idea-community-edition/repos/community-x86_64/idea.desktop
(from rev 1087662, intellij-idea-community-edition/trunk/idea.desktop)
intellij-idea-community-edition/repos/community-x86_64/idea.sh
(from rev 1087662, intellij-idea-community-edition/trunk/idea.sh)
intellij-idea-community-edition/repos/community-x86_64/kotlin_dist_for_ide.patch
(from rev 1087662, intellij-idea-community-edition/trunk/kotlin_dist_for_ide.patch)
intellij-idea-community-edition/repos/community-x86_64/skip_jps_build.patch
(from rev 1087662, intellij-idea-community-edition/trunk/skip_jps_build.patch)
Deleted:
intellij-idea-community-edition/repos/community-x86_64/PKGBUILD
intellij-idea-community-edition/repos/community-x86_64/idea.desktop
intellij-idea-community-edition/repos/community-x86_64/idea.sh
intellij-idea-community-edition/repos/community-x86_64/kotlin_dist_for_ide.patch
intellij-idea-community-edition/repos/community-x86_64/skip_jps_build.patch
---------------------------+
PKGBUILD | 174 ++++++++++++++++++++++----------------------
idea.desktop | 22 ++---
idea.sh | 40 +++++-----
kotlin_dist_for_ide.patch | 20 ++---
skip_jps_build.patch | 44 +++++------
5 files changed, 150 insertions(+), 150 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-29 21:23:30 UTC (rev 1087662)
+++ PKGBUILD 2021-12-29 21:23:55 UTC (rev 1087663)
@@ -1,87 +0,0 @@
-# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-
-pkgname=intellij-idea-community-edition
-pkgver=2021.3
-_build=213.5744.223
-pkgrel=1
-epoch=4
-pkgdesc='IDE for Java, Groovy and other programming languages with advanced refactoring features'
-url='https://www.jetbrains.com/idea/'
-arch=('x86_64')
-license=('Apache')
-backup=('usr/share/idea/bin/idea.vmoptions'
- 'usr/share/idea/bin/idea64.vmoptions')
-depends=('giflib' 'java-environment=11' 'python' 'sh' 'ttf-font' 'libdbusmenu-glib' 'fontconfig' 'hicolor-icon-theme')
-makedepends=('ant' 'git' 'java-environment=8')
-optdepends=(
- 'lldb: lldb frontend integration'
-)
-source=("git+https://github.com/JetBrains/intellij-community.git#tag=idea/${_build}"
- 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#commit=17e9c8b666cac0b974b1efc5e1e4c33404f72904"
- idea.desktop
- idea.sh
- kotlin_dist_for_ide.patch
- skip_jps_build.patch)
-sha256sums=('SKIP'
- 'SKIP'
- 'SKIP'
- '049c4326b6b784da0c698cf62262b591b20abb52e0dcf869f869c0c655f3ce93'
- '115f1091edb138a7a7b15980e8538b4dfd28054cfab38b844df6d918b1b881c5'
- '438be6cb2ee731f6f89ba56506e0fac8aac7136c7dc89d3b4f332351d60d7a1e'
- 'b023d7621674f335c32790e25bddadcec483342835af24ab9a3b80d0afc16a0e')
-
-prepare() {
- cd intellij-community
-
- # build system doesn't like symlinks
- mv "${srcdir}"/idea-android android
- mv "${srcdir}"/idea-adt-tools-base android/tools-base
-
- # https://youtrack.jetbrains.com/issue/KTIJ-19348
- patch -p0 -i ../kotlin_dist_for_ide.patch
-
- # https://youtrack.jetbrains.com/issue/IDEA-276102
- # https://youtrack.jetbrains.com/issue/IDEA-277775
- patch -p0 -i ../skip_jps_build.patch
-
- sed '/def targetOs =/c def targetOs = "linux"' -i build/dependencies/setupJbre.gradle
- sed '/String targetOS/c String targetOS = OS_LINUX' -i platform/build-scripts/groovy/org/jetbrains/intellij/build/BuildOptions.groovy
- sed -E 's|(<sysproperty key="jna.nosys")|<sysproperty key="intellij.build.target.os" value="linux" />\1|' -i build.xml
- sed -E 's/-Xmx[0-9]+m/-XX:-UseGCOverheadLimit -Didea.home.path=/' -i build.xml
- echo ${_build} > build.txt
-}
-
-build() {
- cd intellij-community
- unset _JAVA_OPTIONS
- export JAVA_HOME=/usr/lib/jvm/java-11-openjdk
- export PATH="${JAVA_HOME}/bin:${PATH}"
- export JDK_16_x64=/usr/lib/jvm/java-8-openjdk
- export JDK_18_x64=/usr/lib/jvm/java-8-openjdk
- ant -Dintellij.build.target.os=linux build
- tar -xf out/idea-ce/artifacts/ideaIC-${_build}-no-jbr.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,icons/hicolor/scalable/apps}
- 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/
- ln -s /usr/share/idea/bin/idea.svg "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/
- install -Dm 644 ../idea.desktop -t "${pkgdir}"/usr/share/applications/
- install -Dm 755 ../idea.sh "${pkgdir}"/usr/bin/idea
- install -Dm 644 build.txt -t "${pkgdir}"/usr/share/idea
-}
-
-# vim: ts=2 sw=2 et:
Copied: intellij-idea-community-edition/repos/community-x86_64/PKGBUILD (from rev 1087662, intellij-idea-community-edition/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-29 21:23:55 UTC (rev 1087663)
@@ -0,0 +1,87 @@
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+
+pkgname=intellij-idea-community-edition
+pkgver=2021.3.1
+_build=213.6461.79
+pkgrel=1
+epoch=4
+pkgdesc='IDE for Java, Groovy and other programming languages with advanced refactoring features'
+url='https://www.jetbrains.com/idea/'
+arch=('x86_64')
+license=('Apache')
+backup=('usr/share/idea/bin/idea.vmoptions'
+ 'usr/share/idea/bin/idea64.vmoptions')
+depends=('giflib' 'java-environment=11' 'python' 'sh' 'ttf-font' 'libdbusmenu-glib' 'fontconfig' 'hicolor-icon-theme')
+makedepends=('ant' 'git' 'java-environment=8')
+optdepends=(
+ 'lldb: lldb frontend integration'
+)
+source=("git+https://github.com/JetBrains/intellij-community.git#tag=idea/${_build}"
+ 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#commit=17e9c8b666cac0b974b1efc5e1e4c33404f72904"
+ idea.desktop
+ idea.sh
+ kotlin_dist_for_ide.patch
+ skip_jps_build.patch)
+sha256sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ '049c4326b6b784da0c698cf62262b591b20abb52e0dcf869f869c0c655f3ce93'
+ '115f1091edb138a7a7b15980e8538b4dfd28054cfab38b844df6d918b1b881c5'
+ '438be6cb2ee731f6f89ba56506e0fac8aac7136c7dc89d3b4f332351d60d7a1e'
+ 'b023d7621674f335c32790e25bddadcec483342835af24ab9a3b80d0afc16a0e')
+
+prepare() {
+ cd intellij-community
+
+ # build system doesn't like symlinks
+ mv "${srcdir}"/idea-android android
+ mv "${srcdir}"/idea-adt-tools-base android/tools-base
+
+ # https://youtrack.jetbrains.com/issue/KTIJ-19348
+ patch -p0 -i ../kotlin_dist_for_ide.patch
+
+ # https://youtrack.jetbrains.com/issue/IDEA-276102
+ # https://youtrack.jetbrains.com/issue/IDEA-277775
+ patch -p0 -i ../skip_jps_build.patch
+
+ sed '/def targetOs =/c def targetOs = "linux"' -i build/dependencies/setupJbre.gradle
+ sed '/String targetOS/c String targetOS = OS_LINUX' -i platform/build-scripts/groovy/org/jetbrains/intellij/build/BuildOptions.groovy
+ sed -E 's|(<sysproperty key="jna.nosys")|<sysproperty key="intellij.build.target.os" value="linux" />\1|' -i build.xml
+ sed -E 's/-Xmx[0-9]+m/-XX:-UseGCOverheadLimit -Didea.home.path=/' -i build.xml
+ echo ${_build} > build.txt
+}
+
+build() {
+ cd intellij-community
+ unset _JAVA_OPTIONS
+ export JAVA_HOME=/usr/lib/jvm/java-11-openjdk
+ export PATH="${JAVA_HOME}/bin:${PATH}"
+ export JDK_16_x64=/usr/lib/jvm/java-8-openjdk
+ export JDK_18_x64=/usr/lib/jvm/java-8-openjdk
+ ant -Dintellij.build.target.os=linux build
+ tar -xf out/idea-ce/artifacts/ideaIC-${_build}-no-jbr.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,icons/hicolor/scalable/apps}
+ 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/
+ ln -s /usr/share/idea/bin/idea.svg "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/
+ install -Dm 644 ../idea.desktop -t "${pkgdir}"/usr/share/applications/
+ install -Dm 755 ../idea.sh "${pkgdir}"/usr/bin/idea
+ install -Dm 644 build.txt -t "${pkgdir}"/usr/share/idea
+}
+
+# vim: ts=2 sw=2 et:
Deleted: idea.desktop
===================================================================
--- idea.desktop 2021-12-29 21:23:30 UTC (rev 1087662)
+++ idea.desktop 2021-12-29 21:23:55 UTC (rev 1087663)
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Type=Application
-Name=IntelliJ IDEA Community Edition
-Comment=Develop with pleasure!
-Exec=/usr/bin/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.desktop (from rev 1087662, intellij-idea-community-edition/trunk/idea.desktop)
===================================================================
--- idea.desktop (rev 0)
+++ idea.desktop 2021-12-29 21:23:55 UTC (rev 1087663)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=IntelliJ IDEA Community Edition
+Comment=Develop with pleasure!
+Exec=/usr/bin/idea %f
+Icon=idea
+Terminal=false
+StartupNotify=true
+StartupWMClass=jetbrains-idea-ce
+Categories=Development;IDE;Java;
Deleted: idea.sh
===================================================================
--- idea.sh 2021-12-29 21:23:30 UTC (rev 1087662)
+++ idea.sh 2021-12-29 21:23:55 UTC (rev 1087663)
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-# WARNING:
-# Running IntelliJ IDEA with java other than java 11
-# may cause various problems, such as Graddle import not working
-if [ -z "$IDEA_JDK" ] ; then
- IDEA_JDK="/usr/lib/jvm/java-11-openjdk/"
-fi
-# open-jfx location that should match the JDK version
-if [ -z "$IDEA_JFX" ] ; then
- IDEA_JFX="/usr/lib/jvm/java-11-openjfx/"
-fi
-# classpath according to defined JDK/JFX
-if [ -z "$IDEA_CLASSPATH" ] ; then
- IDEA_CLASSPATH="${IDEA_JDK}/lib/*:${IDEA_JFX}/lib/*"
-fi
-
-exec env IDEA_JDK="$IDEA_JDK" IDEA_CLASSPATH="$IDEA_CLASSPATH" /usr/share/idea/bin/idea.sh "$@"
-
-# vim: ts=2 sw=2 et:
Copied: intellij-idea-community-edition/repos/community-x86_64/idea.sh (from rev 1087662, intellij-idea-community-edition/trunk/idea.sh)
===================================================================
--- idea.sh (rev 0)
+++ idea.sh 2021-12-29 21:23:55 UTC (rev 1087663)
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+# WARNING:
+# Running IntelliJ IDEA with java other than java 11
+# may cause various problems, such as Graddle import not working
+if [ -z "$IDEA_JDK" ] ; then
+ IDEA_JDK="/usr/lib/jvm/java-11-openjdk/"
+fi
+# open-jfx location that should match the JDK version
+if [ -z "$IDEA_JFX" ] ; then
+ IDEA_JFX="/usr/lib/jvm/java-11-openjfx/"
+fi
+# classpath according to defined JDK/JFX
+if [ -z "$IDEA_CLASSPATH" ] ; then
+ IDEA_CLASSPATH="${IDEA_JDK}/lib/*:${IDEA_JFX}/lib/*"
+fi
+
+exec env IDEA_JDK="$IDEA_JDK" IDEA_CLASSPATH="$IDEA_CLASSPATH" /usr/share/idea/bin/idea.sh "$@"
+
+# vim: ts=2 sw=2 et:
Deleted: kotlin_dist_for_ide.patch
===================================================================
--- kotlin_dist_for_ide.patch 2021-12-29 21:23:30 UTC (rev 1087662)
+++ kotlin_dist_for_ide.patch 2021-12-29 21:23:55 UTC (rev 1087663)
@@ -1,10 +0,0 @@
---- build/gant.xml 2021-08-15 22:21:20.754681765 +0300
-+++ build/gant.xml 2021-08-15 22:23:21.874689724 +0300
-@@ -57,6 +57,7 @@
- <dependency coords="com.jetbrains.intellij.platform:test-framework-core:${jps.bootstrap.library.version}"/>
- <dependency coords="commons-cli:commons-cli:1.2"/>
- <dependency coords="de.pdark:decentxml:1.4"/>
-+ <dependency coords="org.jetbrains.kotlin:kotlin-dist-for-ide:1.5.10-release-896"/>
- </resolver:dependencies>
- <resolver:path refid="classpath.buildscripts" classpath="runtime"/>
- </resolver:resolve>
Copied: intellij-idea-community-edition/repos/community-x86_64/kotlin_dist_for_ide.patch (from rev 1087662, intellij-idea-community-edition/trunk/kotlin_dist_for_ide.patch)
===================================================================
--- kotlin_dist_for_ide.patch (rev 0)
+++ kotlin_dist_for_ide.patch 2021-12-29 21:23:55 UTC (rev 1087663)
@@ -0,0 +1,10 @@
+--- build/gant.xml 2021-08-15 22:21:20.754681765 +0300
++++ build/gant.xml 2021-08-15 22:23:21.874689724 +0300
+@@ -57,6 +57,7 @@
+ <dependency coords="com.jetbrains.intellij.platform:test-framework-core:${jps.bootstrap.library.version}"/>
+ <dependency coords="commons-cli:commons-cli:1.2"/>
+ <dependency coords="de.pdark:decentxml:1.4"/>
++ <dependency coords="org.jetbrains.kotlin:kotlin-dist-for-ide:1.5.10-release-896"/>
+ </resolver:dependencies>
+ <resolver:path refid="classpath.buildscripts" classpath="runtime"/>
+ </resolver:resolve>
Deleted: skip_jps_build.patch
===================================================================
--- skip_jps_build.patch 2021-12-29 21:23:30 UTC (rev 1087662)
+++ skip_jps_build.patch 2021-12-29 21:23:55 UTC (rev 1087663)
@@ -1,22 +0,0 @@
---- build/groovy/org/jetbrains/intellij/build/IdeaCommunityBuilder.groovy 2021-09-09 23:57:31.252582123 +0300
-+++ build/groovy/org/jetbrains/intellij/build/IdeaCommunityBuilder.groovy 2021-09-09 23:58:18.939737294 +0300
-@@ -41,15 +41,15 @@
- buildContext.options.incrementalCompilation = true
- def tasks = BuildTasks.create(buildContext)
- tasks.buildDistributions()
-- buildContext.messages.block("Build standalone JPS") {
-+ /*buildContext.messages.block("Build standalone JPS") {
- String jpsArtifactDir = "$buildContext.paths.artifacts/jps"
- new CommunityStandaloneJpsBuilder(buildContext).processJpsLayout(jpsArtifactDir, buildContext.fullBuildNumber, new ProjectStructureMapping(),
- true, {})
-- }
-+ }*/
- tasks.buildUpdaterJar()
- }
-
- void buildUnpackedDistribution(String targetDirectory) {
- BuildTasks.create(buildContext).buildUnpackedDistribution(Paths.get(targetDirectory), false)
- }
--}
-\ No newline at end of file
-+}
Copied: intellij-idea-community-edition/repos/community-x86_64/skip_jps_build.patch (from rev 1087662, intellij-idea-community-edition/trunk/skip_jps_build.patch)
===================================================================
--- skip_jps_build.patch (rev 0)
+++ skip_jps_build.patch 2021-12-29 21:23:55 UTC (rev 1087663)
@@ -0,0 +1,22 @@
+--- build/groovy/org/jetbrains/intellij/build/IdeaCommunityBuilder.groovy 2021-09-09 23:57:31.252582123 +0300
++++ build/groovy/org/jetbrains/intellij/build/IdeaCommunityBuilder.groovy 2021-09-09 23:58:18.939737294 +0300
+@@ -41,15 +41,15 @@
+ buildContext.options.incrementalCompilation = true
+ def tasks = BuildTasks.create(buildContext)
+ tasks.buildDistributions()
+- buildContext.messages.block("Build standalone JPS") {
++ /*buildContext.messages.block("Build standalone JPS") {
+ String jpsArtifactDir = "$buildContext.paths.artifacts/jps"
+ new CommunityStandaloneJpsBuilder(buildContext).processJpsLayout(jpsArtifactDir, buildContext.fullBuildNumber, new ProjectStructureMapping(),
+ true, {})
+- }
++ }*/
+ tasks.buildUpdaterJar()
+ }
+
+ void buildUnpackedDistribution(String targetDirectory) {
+ BuildTasks.create(buildContext).buildUnpackedDistribution(Paths.get(targetDirectory), false)
+ }
+-}
+\ No newline at end of file
++}
More information about the arch-commits
mailing list