Date: Sunday, September 9, 2018 @ 18:00:59 Author: anthraxx Revision: 378924
archrelease: copy trunk to community-x86_64 Added: intellij-idea-community-edition/repos/community-x86_64/PKGBUILD (from rev 378923, intellij-idea-community-edition/trunk/PKGBUILD) intellij-idea-community-edition/repos/community-x86_64/idea-build.patch (from rev 378923, intellij-idea-community-edition/trunk/idea-build.patch) intellij-idea-community-edition/repos/community-x86_64/idea.desktop (from rev 378923, intellij-idea-community-edition/trunk/idea.desktop) intellij-idea-community-edition/repos/community-x86_64/idea.sh (from rev 378923, intellij-idea-community-edition/trunk/idea.sh) Deleted: intellij-idea-community-edition/repos/community-x86_64/PKGBUILD intellij-idea-community-edition/repos/community-x86_64/idea-build.patch intellij-idea-community-edition/repos/community-x86_64/idea.desktop intellij-idea-community-edition/repos/community-x86_64/idea.install intellij-idea-community-edition/repos/community-x86_64/idea.sh ------------------+ PKGBUILD | 134 +++++++++++++++++++++++++---------------------------- idea-build.patch | 80 +++++++++++++++---------------- idea.desktop | 22 ++++---- idea.install | 10 --- idea.sh | 20 ++++--- 5 files changed, 126 insertions(+), 140 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-09-09 18:00:49 UTC (rev 378923) +++ PKGBUILD 2018-09-09 18:00:59 UTC (rev 378924) @@ -1,70 +0,0 @@ -# $Id$ -# Maintainer: Lukas Jirkovsky <l.jirkov...@gmail.com> -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Maintainer: Maxime Gauduin <aluc...@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/PKGBUILD (from rev 378923, intellij-idea-community-edition/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-09-09 18:00:59 UTC (rev 378924) @@ -0,0 +1,64 @@ +# Maintainer: Lukas Jirkovsky <l.jirkov...@gmail.com> +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> + +pkgname=intellij-idea-community-edition +pkgver=2018.2.3 +_build=182.4323.46 +_adt_tools_base_commit=70a9f8b3756d917717a04140b858a23eef5e60ca +pkgrel=1 +epoch=2 +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=8' 'python' 'sh' 'ttf-font') +makedepends=('apache-ant' 'git' 'java-openjfx') +source=(idea-${_build}.tar.gz::https://github.com/JetBrains/intellij-community/archive/idea/${_build}.tar.gz + idea-android-${_build}.tar.gz::https://github.com/JetBrains/android/archive/idea/${_build}.tar.gz + 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=('0eae527f1cee3fe4ca0fd90ff67707e4e304bb71d3e1d4e773e0c4c0245e8643' + '3a8759e8ba508a16108f5b778739465333433fd9fb540414af0f46a1110131fd' + 'SKIP' + '3793e8125abb05b1580919017469ada2563a2e5972a8d74666557df60d270cfd' + 'fa9e3cba5e26a7e01cecda867f23467322db123c5553dfbb4f14aae034ccbed7' + 'c021dba82f75a18be6ffdc2fe70d616496bbe3a14e7a5efef30c06b4cbd915c3') + +prepare() { + cd intellij-community-idea-${_build} + patch -Np1 -i ../idea-build.patch + echo ${_build} > build.txt + ln -s "${srcdir}"/android-idea-${_build} android + ls -lah 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: Deleted: idea-build.patch =================================================================== --- idea-build.patch 2018-09-09 18:00:49 UTC (rev 378923) +++ idea-build.patch 2018-09-09 18:00:59 UTC (rev 378924) @@ -1,40 +0,0 @@ -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-build.patch (from rev 378923, intellij-idea-community-edition/trunk/idea-build.patch) =================================================================== --- idea-build.patch (rev 0) +++ idea-build.patch 2018-09-09 18:00:59 UTC (rev 378924) @@ -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 ++} Deleted: idea.desktop =================================================================== --- idea.desktop 2018-09-09 18:00:49 UTC (rev 378923) +++ idea.desktop 2018-09-09 18:00:59 UTC (rev 378924) @@ -1,11 +0,0 @@ -[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.desktop (from rev 378923, intellij-idea-community-edition/trunk/idea.desktop) =================================================================== --- idea.desktop (rev 0) +++ idea.desktop 2018-09-09 18:00:59 UTC (rev 378924) @@ -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; Deleted: idea.install =================================================================== --- idea.install 2018-09-09 18:00:49 UTC (rev 378923) +++ idea.install 2018-09-09 18:00:59 UTC (rev 378924) @@ -1,10 +0,0 @@ -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 -} - Deleted: idea.sh =================================================================== --- idea.sh 2018-09-09 18:00:49 UTC (rev 378923) +++ idea.sh 2018-09-09 18:00:59 UTC (rev 378924) @@ -1,9 +0,0 @@ -#!/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: - Copied: intellij-idea-community-edition/repos/community-x86_64/idea.sh (from rev 378923, intellij-idea-community-edition/trunk/idea.sh) =================================================================== --- idea.sh (rev 0) +++ idea.sh 2018-09-09 18:00:59 UTC (rev 378924) @@ -0,0 +1,11 @@ +#!/bin/sh + +# WARNING: +# Running IntelliJ IDEA with java other than java 8 +# may cause various problems, such as Graddle import not working +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: