Date: Monday, December 14, 2020 @ 23:57:35 Author: anthraxx Revision: 775804
archrelease: copy trunk to community-x86_64 Added: intellij-idea-community-edition/repos/community-x86_64/PKGBUILD (from rev 775803, intellij-idea-community-edition/trunk/PKGBUILD) intellij-idea-community-edition/repos/community-x86_64/idea.desktop (from rev 775803, intellij-idea-community-edition/trunk/idea.desktop) intellij-idea-community-edition/repos/community-x86_64/idea.sh (from rev 775803, 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.desktop intellij-idea-community-edition/repos/community-x86_64/idea.sh --------------+ PKGBUILD | 150 ++++++++++++++++++++++++++++----------------------------- idea.desktop | 22 ++++---- idea.sh | 40 +++++++-------- 3 files changed, 106 insertions(+), 106 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-12-14 23:57:27 UTC (rev 775803) +++ PKGBUILD 2020-12-14 23:57:35 UTC (rev 775804) @@ -1,75 +0,0 @@ -# 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=2020.2.3 -_build=202.7660.26 -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=11' 'java11-openjfx' 'python' 'sh' 'ttf-font' 'libdbusmenu-glib') -makedepends=('ant' 'git' 'java-environment=8' 'java8-openjfx') -optdepends=( - 'lldb: lldb frontend integration' -) -source=("git+https://github.com/JetBrains/intellij-community.git#tag=idea/${_build}" - idea-android::"git+https://github.com/JetBrains/android#tag=idea/${_build}" - idea-adt-tools-base::"git://git.jetbrains.org/idea/adt-tools-base.git#commit=17e9c8b666cac0b974b1efc5e1e4c33404f72904" - idea.desktop - idea.sh) -sha256sums=('SKIP' - 'SKIP' - 'SKIP' - '049c4326b6b784da0c698cf62262b591b20abb52e0dcf869f869c0c655f3ce93' - '115f1091edb138a7a7b15980e8538b4dfd28054cfab38b844df6d918b1b881c5') - -prepare() { - cd intellij-community - - # build system doesn't like symlinks - mv "${srcdir}"/idea-android android - mv "${srcdir}"/idea-adt-tools-base android/tools-base - - 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/' -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 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 775803, intellij-idea-community-edition/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-14 23:57:35 UTC (rev 775804) @@ -0,0 +1,75 @@ +# 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=2020.3 +_build=203.5981.155 +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=11' 'java11-openjfx' 'python' 'sh' 'ttf-font' 'libdbusmenu-glib') +makedepends=('ant' 'git' 'java-environment=8' 'java8-openjfx') +optdepends=( + 'lldb: lldb frontend integration' +) +source=("git+https://github.com/JetBrains/intellij-community.git#tag=idea/${_build}" + idea-android::"git+https://github.com/JetBrains/android#tag=idea/${_build}" + idea-adt-tools-base::"git://git.jetbrains.org/idea/adt-tools-base.git#commit=17e9c8b666cac0b974b1efc5e1e4c33404f72904" + idea.desktop + idea.sh) +sha256sums=('SKIP' + 'SKIP' + 'SKIP' + '049c4326b6b784da0c698cf62262b591b20abb52e0dcf869f869c0c655f3ce93' + '115f1091edb138a7a7b15980e8538b4dfd28054cfab38b844df6d918b1b881c5') + +prepare() { + cd intellij-community + + # build system doesn't like symlinks + mv "${srcdir}"/idea-android android + mv "${srcdir}"/idea-adt-tools-base android/tools-base + + 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/' -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 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 2020-12-14 23:57:27 UTC (rev 775803) +++ idea.desktop 2020-12-14 23:57:35 UTC (rev 775804) @@ -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 775803, intellij-idea-community-edition/trunk/idea.desktop) =================================================================== --- idea.desktop (rev 0) +++ idea.desktop 2020-12-14 23:57:35 UTC (rev 775804) @@ -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 2020-12-14 23:57:27 UTC (rev 775803) +++ idea.sh 2020-12-14 23:57:35 UTC (rev 775804) @@ -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 775803, intellij-idea-community-edition/trunk/idea.sh) =================================================================== --- idea.sh (rev 0) +++ idea.sh 2020-12-14 23:57:35 UTC (rev 775804) @@ -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: