Github messages for voidlinux
 help / color / Atom feed
* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.1, CLion-2019.1.2, WebStorm-2019.1.1, GoLand-2019.1.1, RubyMine-2019.1.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
@ 2019-06-10  1:06 ` voidlinux-github
  2019-06-10  1:06 ` voidlinux-github
                   ` (38 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-10  1:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.1, CLion-2019.1.2, WebStorm-2019.1.1, GoLand-2019.1.1, RubyMine-2019.1.1
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: application/text/x-diff, Size: 16886 bytes --]

From e92e502a3cab250bfc5bcb19d84c1212b4d0f085 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 23 Apr 2019 21:47:49 -0700
Subject: [PATCH 1/5] New package: intellij-idea-ultimate-edition-2019.1.1

---
 .../intellij-idea-community-edition/template  |  1 +
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 77 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 4 files changed, 82 insertions(+)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 961c22781af..7e40ed9c8fe 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -12,6 +12,7 @@ distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
 repository=nonfree
 nopie=yes
+conflicts="intellij-idea-ultimate-edition"
 
 post_extract() {
 	mv $XBPS_BUILDDIR/idea-IC-* ${wrksrc}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..8e8825efd71
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,77 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.1
+revision=1
+archs="i686 x86_64"
+wrksrc="idea-IU-191.6707.61"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=d1f52f6fcd004d4c6faa0775e74969ca1d881de772397758bd8613b9e8dcf4dd
+repository=nonfree
+restricted=yes
+nopie=yes
+conflicts="intellij-idea-community-edition"
+
+post_extract() {
+	# Remove files for other OSes
+	rm plugins/android/lib/libwebp/win -rf
+	rm plugins/android/lib/libwebp/mac -rf
+
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+	case $XBPS_TARGET_MACHINE in
+		x86_64)
+			rm bin/fsnotifier
+			rm bin/idea.vmoptions
+			rm bin/libyjpagent-linux.so
+			rm plugins/android/lib/libwebp/linux/libwebp_jni.so
+			rm lib/pty4j-native/linux/x86 -rf
+		;;
+		i686)
+			rm bin/fsnotifier64
+			rm bin/idea64.vmoptions
+			rm bin/libyjpagent-linux64.so
+			rm plugins/android/lib/libwebp/linux/libwebp_jni64.so
+			rm bin/libdbm64.so
+			rm lib/pty4j-native/linux/x86_64 -rf
+		;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/intellij-idea-ultimate-edition"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

From 015b9de3a778e759da2128ad5fa4de2f622d526c Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Mon, 29 Apr 2019 23:22:03 -0700
Subject: [PATCH 2/5] New package: CLion-2019.1.2

---
 srcpkgs/CLion/INSTALL.msg | 11 ++++++
 srcpkgs/CLion/template    | 75 +++++++++++++++++++++++++++++++++++++++
 srcpkgs/CLion/update      |  2 ++
 3 files changed, 88 insertions(+)
 create mode 100644 srcpkgs/CLion/INSTALL.msg
 create mode 100644 srcpkgs/CLion/template
 create mode 100644 srcpkgs/CLion/update

diff --git a/srcpkgs/CLion/INSTALL.msg b/srcpkgs/CLion/INSTALL.msg
new file mode 100644
index 00000000000..860cb2fb6b5
--- /dev/null
+++ b/srcpkgs/CLion/INSTALL.msg
@@ -0,0 +1,11 @@
+CLion has the following optional dependencies:
+	cmake: CMake tools/build system
+	gdb: Native GNU debugger
+	lldb: Native LLVM debugger
+	gcc: GNU compiler
+	clang: LLVM compiler
+	gtest: C++ testing
+	python: Python 2 programming language support
+	python3: Python 3 programming language support
+	doxygen: Code documentation generation
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/CLion/template b/srcpkgs/CLion/template
new file mode 100644
index 00000000000..0523d0aebea
--- /dev/null
+++ b/srcpkgs/CLion/template
@@ -0,0 +1,75 @@
+# Template file for 'CLion'
+pkgname=CLion
+version=2019.1.2
+revision=1
+archs="i686 x86_64"
+wrksrc="clion-${version}"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Smart cross-platform IDE for C and C++"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/clion"
+distfiles="https://download.jetbrains.com/cpp/CLion-${version}.tar.gz"
+checksum=e8efbf3ec4aed7ef1e0eb8139e799fb2975e4c6363f2ac7504864f96d5aa8e74
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+	case $XBPS_TARGET_MACHINE in
+		x86_64)
+			rm bin/fsnotifier
+			rm bin/clion.vmoptions
+			rm bin/libyjpagent-linux.so
+			rm lib/pty4j-native/linux/x86 -rf
+		;;
+		i686)
+			rm bin/fsnotifier64
+			rm bin/clion64.vmoptions
+			rm bin/libyjpagent-linux64.so
+			rm bin/libdbm64.so
+			rm lib/pty4j-native/linux/x86_64 -rf
+		;;
+	esac
+
+	# Remove JetBrains JDK
+	rm -rf jre64
+
+	# TODO: JetBrains' LLDB, GDB, and CMake can be made installable via separate subpackages
+	# bin/lldb bin/gdb bin/cmake
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/CLion"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/clion.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/CLion/update b/srcpkgs/CLion/update
new file mode 100644
index 00000000000..162c3615358
--- /dev/null
+++ b/srcpkgs/CLion/update
@@ -0,0 +1,2 @@
+pattern="CLion-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=CL&latest=true&type=release"

From 4a12165fd4b0449679563b43a2de9cae2fd3e9fb Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 7 May 2019 01:03:29 -0700
Subject: [PATCH 3/5] New package: WebStorm-2019.1.1

---
 srcpkgs/WebStorm/INSTALL.msg |  2 +
 srcpkgs/WebStorm/template    | 71 ++++++++++++++++++++++++++++++++++++
 srcpkgs/WebStorm/update      |  2 +
 3 files changed, 75 insertions(+)
 create mode 100644 srcpkgs/WebStorm/INSTALL.msg
 create mode 100644 srcpkgs/WebStorm/template
 create mode 100644 srcpkgs/WebStorm/update

diff --git a/srcpkgs/WebStorm/INSTALL.msg b/srcpkgs/WebStorm/INSTALL.msg
new file mode 100644
index 00000000000..8fe3d069415
--- /dev/null
+++ b/srcpkgs/WebStorm/INSTALL.msg
@@ -0,0 +1,2 @@
+WebStorm has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/WebStorm/template b/srcpkgs/WebStorm/template
new file mode 100644
index 00000000000..5be57a3329d
--- /dev/null
+++ b/srcpkgs/WebStorm/template
@@ -0,0 +1,71 @@
+# Template file for 'WebStorm'
+pkgname=WebStorm
+version=2019.1.1
+revision=1
+archs="i686 x86_64"
+wrksrc="WebStorm-191.6707.60"
+depends="virtual?java-environment"
+short_desc="Smartest JavaScript IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/webstorm"
+distfiles="https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz"
+checksum=3bf7b45d6e4bba05e29b5a8bf7b20ddb6233b2b3146b1bbdc49dd042a6d49916
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+	case $XBPS_TARGET_MACHINE in
+		x86_64)
+			rm bin/fsnotifier
+			rm bin/webstorm.vmoptions
+			rm bin/libyjpagent-linux.so
+			rm lib/pty4j-native/linux/x86 -rf
+		;;
+		i686)
+			rm bin/fsnotifier64
+			rm bin/webstorm64.vmoptions
+			rm bin/libyjpagent-linux64.so
+			rm bin/libdbm64.so
+			rm lib/pty4j-native/linux/x86_64 -rf
+		;;
+	esac
+
+	rm -rf jre64
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/WebStorm"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/webstorm.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/WebStorm/update b/srcpkgs/WebStorm/update
new file mode 100644
index 00000000000..a284d8a6436
--- /dev/null
+++ b/srcpkgs/WebStorm/update
@@ -0,0 +1,2 @@
+pattern="WebStorm-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=WS&latest=true&type=release"

From 335cc89d6c209293ca6e67040623e83131ec5eca Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 8 May 2019 00:29:30 -0700
Subject: [PATCH 4/5] New package: GoLand-2019.1.1

---
 srcpkgs/GoLand/INSTALL.msg |  2 ++
 srcpkgs/GoLand/template    | 68 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/GoLand/update      |  2 ++
 3 files changed, 72 insertions(+)
 create mode 100644 srcpkgs/GoLand/INSTALL.msg
 create mode 100644 srcpkgs/GoLand/template
 create mode 100644 srcpkgs/GoLand/update

diff --git a/srcpkgs/GoLand/INSTALL.msg b/srcpkgs/GoLand/INSTALL.msg
new file mode 100644
index 00000000000..0dbec18343d
--- /dev/null
+++ b/srcpkgs/GoLand/INSTALL.msg
@@ -0,0 +1,2 @@
+GoLand has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/GoLand/template b/srcpkgs/GoLand/template
new file mode 100644
index 00000000000..69fd61366d2
--- /dev/null
+++ b/srcpkgs/GoLand/template
@@ -0,0 +1,68 @@
+# Template file for 'GoLand'
+pkgname=GoLand
+version=2019.1.1
+revision=1
+archs="i686 x86_64"
+depends="virtual?java-environment"
+short_desc="Cross-platform IDE built specially for Go developers"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/go"
+distfiles="https://download.jetbrains.com/go/goland-${version}.tar.gz"
+checksum=39a958b4b290140af4a9ac99e68dd19fec2fc089d82f984f31f5339501d6152d
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+	case $XBPS_TARGET_MACHINE in
+		x86_64)
+			rm bin/fsnotifier
+			rm bin/goland.vmoptions
+			rm bin/libyjpagent-linux.so
+			rm lib/pty4j-native/linux/x86 -rf
+		;;
+		i686)
+			rm bin/fsnotifier64
+			rm bin/goland64.vmoptions
+			rm bin/libyjpagent-linux64.so
+			rm bin/libdbm64.so
+			rm lib/pty4j-native/linux/x86_64 -rf
+		;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/GoLand"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/goland.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/GoLand/update b/srcpkgs/GoLand/update
new file mode 100644
index 00000000000..52dc447c59e
--- /dev/null
+++ b/srcpkgs/GoLand/update
@@ -0,0 +1,2 @@
+pattern="goland-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=GO&latest=true&type=release"

From acbdbde9567745fd944a24ac3af47b26a0a5bc1c Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Sat, 11 May 2019 21:32:48 -0700
Subject: [PATCH 5/5] New package: RubyMine-2019.1.1

---
 srcpkgs/RubyMine/INSTALL.msg |  2 +
 srcpkgs/RubyMine/template    | 79 ++++++++++++++++++++++++++++++++++++
 srcpkgs/RubyMine/update      |  2 +
 3 files changed, 83 insertions(+)
 create mode 100644 srcpkgs/RubyMine/INSTALL.msg
 create mode 100644 srcpkgs/RubyMine/template
 create mode 100644 srcpkgs/RubyMine/update

diff --git a/srcpkgs/RubyMine/INSTALL.msg b/srcpkgs/RubyMine/INSTALL.msg
new file mode 100644
index 00000000000..6d15486619e
--- /dev/null
+++ b/srcpkgs/RubyMine/INSTALL.msg
@@ -0,0 +1,2 @@
+RubyMine has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/RubyMine/template b/srcpkgs/RubyMine/template
new file mode 100644
index 00000000000..402ef69a8ba
--- /dev/null
+++ b/srcpkgs/RubyMine/template
@@ -0,0 +1,79 @@
+# Template file for 'RubyMine'
+pkgname=RubyMine
+version=2019.1.1
+revision=1
+archs="i686 x86_64"
+depends="virtual?java-environment"
+short_desc="Most intelligent Ruby and Rails IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/ruby"
+distfiles="https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz"
+checksum=cd07f35173fe30fecbbec090144e726d32c7d985b4b970816fde4bd651074f2b
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+	case $XBPS_TARGET_MACHINE in
+		x86_64)
+			rm bin/fsnotifier
+			rm bin/rubymine.vmoptions
+			rm bin/libyjpagent-linux.so
+			rm lib/pty4j-native/linux/x86 -rf
+		;;
+		i686)
+			rm bin/fsnotifier64
+			rm bin/rubymine64.vmoptions
+			rm bin/libyjpagent-linux64.so
+			rm bin/libdbm64.so
+			rm lib/pty4j-native/linux/x86_64 -rf
+		;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/RubyMine"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	vcopy rubystubs18 ${TARGET_PATH}
+	vcopy rubystubs19 ${TARGET_PATH}
+	vcopy rubystubs193 ${TARGET_PATH}
+	vcopy rubystubs20 ${TARGET_PATH}
+	vcopy rubystubs21 ${TARGET_PATH}
+	vcopy rubystubs22 ${TARGET_PATH}
+	vcopy rubystubs23 ${TARGET_PATH}
+	vcopy rubystubs24 ${TARGET_PATH}
+	vcopy rubystubs25 ${TARGET_PATH}
+	vcopy rubystubs26 ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/rubymine.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/RubyMine/update b/srcpkgs/RubyMine/update
new file mode 100644
index 00000000000..390bd071df0
--- /dev/null
+++ b/srcpkgs/RubyMine/update
@@ -0,0 +1,2 @@
+pattern="RubyMine-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=RM&latest=true&type=release"

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.1, CLion-2019.1.2, WebStorm-2019.1.1, GoLand-2019.1.1, RubyMine-2019.1.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
  2019-06-10  1:06 ` [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.1, CLion-2019.1.2, WebStorm-2019.1.1, GoLand-2019.1.1, RubyMine-2019.1.1 voidlinux-github
@ 2019-06-10  1:06 ` voidlinux-github
  2019-06-11 20:47 ` voidlinux-github
                   ` (37 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-10  1:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.1, CLion-2019.1.2, WebStorm-2019.1.1, GoLand-2019.1.1, RubyMine-2019.1.1
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: application/text/x-diff, Size: 16886 bytes --]

From e92e502a3cab250bfc5bcb19d84c1212b4d0f085 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 23 Apr 2019 21:47:49 -0700
Subject: [PATCH 1/5] New package: intellij-idea-ultimate-edition-2019.1.1

---
 .../intellij-idea-community-edition/template  |  1 +
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 77 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 4 files changed, 82 insertions(+)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 961c22781af..7e40ed9c8fe 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -12,6 +12,7 @@ distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
 repository=nonfree
 nopie=yes
+conflicts="intellij-idea-ultimate-edition"
 
 post_extract() {
 	mv $XBPS_BUILDDIR/idea-IC-* ${wrksrc}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..8e8825efd71
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,77 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.1
+revision=1
+archs="i686 x86_64"
+wrksrc="idea-IU-191.6707.61"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=d1f52f6fcd004d4c6faa0775e74969ca1d881de772397758bd8613b9e8dcf4dd
+repository=nonfree
+restricted=yes
+nopie=yes
+conflicts="intellij-idea-community-edition"
+
+post_extract() {
+	# Remove files for other OSes
+	rm plugins/android/lib/libwebp/win -rf
+	rm plugins/android/lib/libwebp/mac -rf
+
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+	case $XBPS_TARGET_MACHINE in
+		x86_64)
+			rm bin/fsnotifier
+			rm bin/idea.vmoptions
+			rm bin/libyjpagent-linux.so
+			rm plugins/android/lib/libwebp/linux/libwebp_jni.so
+			rm lib/pty4j-native/linux/x86 -rf
+		;;
+		i686)
+			rm bin/fsnotifier64
+			rm bin/idea64.vmoptions
+			rm bin/libyjpagent-linux64.so
+			rm plugins/android/lib/libwebp/linux/libwebp_jni64.so
+			rm bin/libdbm64.so
+			rm lib/pty4j-native/linux/x86_64 -rf
+		;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/intellij-idea-ultimate-edition"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

From 015b9de3a778e759da2128ad5fa4de2f622d526c Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Mon, 29 Apr 2019 23:22:03 -0700
Subject: [PATCH 2/5] New package: CLion-2019.1.2

---
 srcpkgs/CLion/INSTALL.msg | 11 ++++++
 srcpkgs/CLion/template    | 75 +++++++++++++++++++++++++++++++++++++++
 srcpkgs/CLion/update      |  2 ++
 3 files changed, 88 insertions(+)
 create mode 100644 srcpkgs/CLion/INSTALL.msg
 create mode 100644 srcpkgs/CLion/template
 create mode 100644 srcpkgs/CLion/update

diff --git a/srcpkgs/CLion/INSTALL.msg b/srcpkgs/CLion/INSTALL.msg
new file mode 100644
index 00000000000..860cb2fb6b5
--- /dev/null
+++ b/srcpkgs/CLion/INSTALL.msg
@@ -0,0 +1,11 @@
+CLion has the following optional dependencies:
+	cmake: CMake tools/build system
+	gdb: Native GNU debugger
+	lldb: Native LLVM debugger
+	gcc: GNU compiler
+	clang: LLVM compiler
+	gtest: C++ testing
+	python: Python 2 programming language support
+	python3: Python 3 programming language support
+	doxygen: Code documentation generation
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/CLion/template b/srcpkgs/CLion/template
new file mode 100644
index 00000000000..0523d0aebea
--- /dev/null
+++ b/srcpkgs/CLion/template
@@ -0,0 +1,75 @@
+# Template file for 'CLion'
+pkgname=CLion
+version=2019.1.2
+revision=1
+archs="i686 x86_64"
+wrksrc="clion-${version}"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Smart cross-platform IDE for C and C++"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/clion"
+distfiles="https://download.jetbrains.com/cpp/CLion-${version}.tar.gz"
+checksum=e8efbf3ec4aed7ef1e0eb8139e799fb2975e4c6363f2ac7504864f96d5aa8e74
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+	case $XBPS_TARGET_MACHINE in
+		x86_64)
+			rm bin/fsnotifier
+			rm bin/clion.vmoptions
+			rm bin/libyjpagent-linux.so
+			rm lib/pty4j-native/linux/x86 -rf
+		;;
+		i686)
+			rm bin/fsnotifier64
+			rm bin/clion64.vmoptions
+			rm bin/libyjpagent-linux64.so
+			rm bin/libdbm64.so
+			rm lib/pty4j-native/linux/x86_64 -rf
+		;;
+	esac
+
+	# Remove JetBrains JDK
+	rm -rf jre64
+
+	# TODO: JetBrains' LLDB, GDB, and CMake can be made installable via separate subpackages
+	# bin/lldb bin/gdb bin/cmake
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/CLion"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/clion.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/CLion/update b/srcpkgs/CLion/update
new file mode 100644
index 00000000000..162c3615358
--- /dev/null
+++ b/srcpkgs/CLion/update
@@ -0,0 +1,2 @@
+pattern="CLion-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=CL&latest=true&type=release"

From 4a12165fd4b0449679563b43a2de9cae2fd3e9fb Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 7 May 2019 01:03:29 -0700
Subject: [PATCH 3/5] New package: WebStorm-2019.1.1

---
 srcpkgs/WebStorm/INSTALL.msg |  2 +
 srcpkgs/WebStorm/template    | 71 ++++++++++++++++++++++++++++++++++++
 srcpkgs/WebStorm/update      |  2 +
 3 files changed, 75 insertions(+)
 create mode 100644 srcpkgs/WebStorm/INSTALL.msg
 create mode 100644 srcpkgs/WebStorm/template
 create mode 100644 srcpkgs/WebStorm/update

diff --git a/srcpkgs/WebStorm/INSTALL.msg b/srcpkgs/WebStorm/INSTALL.msg
new file mode 100644
index 00000000000..8fe3d069415
--- /dev/null
+++ b/srcpkgs/WebStorm/INSTALL.msg
@@ -0,0 +1,2 @@
+WebStorm has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/WebStorm/template b/srcpkgs/WebStorm/template
new file mode 100644
index 00000000000..5be57a3329d
--- /dev/null
+++ b/srcpkgs/WebStorm/template
@@ -0,0 +1,71 @@
+# Template file for 'WebStorm'
+pkgname=WebStorm
+version=2019.1.1
+revision=1
+archs="i686 x86_64"
+wrksrc="WebStorm-191.6707.60"
+depends="virtual?java-environment"
+short_desc="Smartest JavaScript IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/webstorm"
+distfiles="https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz"
+checksum=3bf7b45d6e4bba05e29b5a8bf7b20ddb6233b2b3146b1bbdc49dd042a6d49916
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+	case $XBPS_TARGET_MACHINE in
+		x86_64)
+			rm bin/fsnotifier
+			rm bin/webstorm.vmoptions
+			rm bin/libyjpagent-linux.so
+			rm lib/pty4j-native/linux/x86 -rf
+		;;
+		i686)
+			rm bin/fsnotifier64
+			rm bin/webstorm64.vmoptions
+			rm bin/libyjpagent-linux64.so
+			rm bin/libdbm64.so
+			rm lib/pty4j-native/linux/x86_64 -rf
+		;;
+	esac
+
+	rm -rf jre64
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/WebStorm"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/webstorm.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/WebStorm/update b/srcpkgs/WebStorm/update
new file mode 100644
index 00000000000..a284d8a6436
--- /dev/null
+++ b/srcpkgs/WebStorm/update
@@ -0,0 +1,2 @@
+pattern="WebStorm-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=WS&latest=true&type=release"

From 335cc89d6c209293ca6e67040623e83131ec5eca Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 8 May 2019 00:29:30 -0700
Subject: [PATCH 4/5] New package: GoLand-2019.1.1

---
 srcpkgs/GoLand/INSTALL.msg |  2 ++
 srcpkgs/GoLand/template    | 68 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/GoLand/update      |  2 ++
 3 files changed, 72 insertions(+)
 create mode 100644 srcpkgs/GoLand/INSTALL.msg
 create mode 100644 srcpkgs/GoLand/template
 create mode 100644 srcpkgs/GoLand/update

diff --git a/srcpkgs/GoLand/INSTALL.msg b/srcpkgs/GoLand/INSTALL.msg
new file mode 100644
index 00000000000..0dbec18343d
--- /dev/null
+++ b/srcpkgs/GoLand/INSTALL.msg
@@ -0,0 +1,2 @@
+GoLand has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/GoLand/template b/srcpkgs/GoLand/template
new file mode 100644
index 00000000000..69fd61366d2
--- /dev/null
+++ b/srcpkgs/GoLand/template
@@ -0,0 +1,68 @@
+# Template file for 'GoLand'
+pkgname=GoLand
+version=2019.1.1
+revision=1
+archs="i686 x86_64"
+depends="virtual?java-environment"
+short_desc="Cross-platform IDE built specially for Go developers"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/go"
+distfiles="https://download.jetbrains.com/go/goland-${version}.tar.gz"
+checksum=39a958b4b290140af4a9ac99e68dd19fec2fc089d82f984f31f5339501d6152d
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+	case $XBPS_TARGET_MACHINE in
+		x86_64)
+			rm bin/fsnotifier
+			rm bin/goland.vmoptions
+			rm bin/libyjpagent-linux.so
+			rm lib/pty4j-native/linux/x86 -rf
+		;;
+		i686)
+			rm bin/fsnotifier64
+			rm bin/goland64.vmoptions
+			rm bin/libyjpagent-linux64.so
+			rm bin/libdbm64.so
+			rm lib/pty4j-native/linux/x86_64 -rf
+		;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/GoLand"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/goland.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/GoLand/update b/srcpkgs/GoLand/update
new file mode 100644
index 00000000000..52dc447c59e
--- /dev/null
+++ b/srcpkgs/GoLand/update
@@ -0,0 +1,2 @@
+pattern="goland-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=GO&latest=true&type=release"

From acbdbde9567745fd944a24ac3af47b26a0a5bc1c Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Sat, 11 May 2019 21:32:48 -0700
Subject: [PATCH 5/5] New package: RubyMine-2019.1.1

---
 srcpkgs/RubyMine/INSTALL.msg |  2 +
 srcpkgs/RubyMine/template    | 79 ++++++++++++++++++++++++++++++++++++
 srcpkgs/RubyMine/update      |  2 +
 3 files changed, 83 insertions(+)
 create mode 100644 srcpkgs/RubyMine/INSTALL.msg
 create mode 100644 srcpkgs/RubyMine/template
 create mode 100644 srcpkgs/RubyMine/update

diff --git a/srcpkgs/RubyMine/INSTALL.msg b/srcpkgs/RubyMine/INSTALL.msg
new file mode 100644
index 00000000000..6d15486619e
--- /dev/null
+++ b/srcpkgs/RubyMine/INSTALL.msg
@@ -0,0 +1,2 @@
+RubyMine has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/RubyMine/template b/srcpkgs/RubyMine/template
new file mode 100644
index 00000000000..402ef69a8ba
--- /dev/null
+++ b/srcpkgs/RubyMine/template
@@ -0,0 +1,79 @@
+# Template file for 'RubyMine'
+pkgname=RubyMine
+version=2019.1.1
+revision=1
+archs="i686 x86_64"
+depends="virtual?java-environment"
+short_desc="Most intelligent Ruby and Rails IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/ruby"
+distfiles="https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz"
+checksum=cd07f35173fe30fecbbec090144e726d32c7d985b4b970816fde4bd651074f2b
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+	case $XBPS_TARGET_MACHINE in
+		x86_64)
+			rm bin/fsnotifier
+			rm bin/rubymine.vmoptions
+			rm bin/libyjpagent-linux.so
+			rm lib/pty4j-native/linux/x86 -rf
+		;;
+		i686)
+			rm bin/fsnotifier64
+			rm bin/rubymine64.vmoptions
+			rm bin/libyjpagent-linux64.so
+			rm bin/libdbm64.so
+			rm lib/pty4j-native/linux/x86_64 -rf
+		;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/RubyMine"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	vcopy rubystubs18 ${TARGET_PATH}
+	vcopy rubystubs19 ${TARGET_PATH}
+	vcopy rubystubs193 ${TARGET_PATH}
+	vcopy rubystubs20 ${TARGET_PATH}
+	vcopy rubystubs21 ${TARGET_PATH}
+	vcopy rubystubs22 ${TARGET_PATH}
+	vcopy rubystubs23 ${TARGET_PATH}
+	vcopy rubystubs24 ${TARGET_PATH}
+	vcopy rubystubs25 ${TARGET_PATH}
+	vcopy rubystubs26 ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/rubymine.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/RubyMine/update b/srcpkgs/RubyMine/update
new file mode 100644
index 00000000000..390bd071df0
--- /dev/null
+++ b/srcpkgs/RubyMine/update
@@ -0,0 +1,2 @@
+pattern="RubyMine-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=RM&latest=true&type=release"

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: New packages: intellij-idea-ultimate-edition-2019.1.1, CLion-2019.1.2, WebStorm-2019.1.1, GoLand-2019.1.1, RubyMine-2019.1.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
  2019-06-10  1:06 ` [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.1, CLion-2019.1.2, WebStorm-2019.1.1, GoLand-2019.1.1, RubyMine-2019.1.1 voidlinux-github
  2019-06-10  1:06 ` voidlinux-github
@ 2019-06-11 20:47 ` voidlinux-github
  2019-06-15 17:53 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (36 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-11 20:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 222 bytes --]

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/11736#issuecomment-501016859
Comment:
Close to ready. Some new versions came up, do you want to update before merging?

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.1, CLion-2019.1.2, WebStorm-2019.1.1, GoLand-2019.1.1, RubyMine-2019.1.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (2 preceding siblings ...)
  2019-06-11 20:47 ` voidlinux-github
@ 2019-06-15 17:53 ` " voidlinux-github
  2019-06-15 17:53 ` voidlinux-github
                   ` (35 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-15 17:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.1, CLion-2019.1.2, WebStorm-2019.1.1, GoLand-2019.1.1, RubyMine-2019.1.1
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: application/text/x-diff, Size: 15665 bytes --]

From fe39b570867e75014dbb6ffce0b47e1fe9c5a70b Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 23 Apr 2019 21:47:49 -0700
Subject: [PATCH 1/5] New package: intellij-idea-ultimate-edition-2019.1.1

---
 .../intellij-idea-community-edition/template  |  1 +
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 66 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 4 files changed, 71 insertions(+)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 961c22781af..7e40ed9c8fe 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -12,6 +12,7 @@ distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
 repository=nonfree
 nopie=yes
+conflicts="intellij-idea-ultimate-edition"
 
 post_extract() {
 	mv $XBPS_BUILDDIR/idea-IC-* ${wrksrc}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..b4c0bd37c73
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,66 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.3
+revision=1
+archs="x86_64"
+wrksrc="idea-IU-191.7479.19"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+repository=nonfree
+restricted=yes
+nopie=yes
+conflicts="intellij-idea-community-edition"
+
+post_extract() {
+	# Remove files for other OSes
+	rm plugins/android/lib/libwebp/win -rf
+	rm plugins/android/lib/libwebp/mac -rf
+
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/idea.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm plugins/android/lib/libwebp/linux/libwebp_jni.so
+	rm lib/pty4j-native/linux/x86 -rf
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/intellij-idea-ultimate-edition"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

From 85194377b75f56af50b770bd6172395ff0629384 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Mon, 29 Apr 2019 23:22:03 -0700
Subject: [PATCH 2/5] New package: CLion-2019.1.2

---
 srcpkgs/CLion/INSTALL.msg | 11 +++++++
 srcpkgs/CLion/template    | 65 +++++++++++++++++++++++++++++++++++++++
 srcpkgs/CLion/update      |  2 ++
 3 files changed, 78 insertions(+)
 create mode 100644 srcpkgs/CLion/INSTALL.msg
 create mode 100644 srcpkgs/CLion/template
 create mode 100644 srcpkgs/CLion/update

diff --git a/srcpkgs/CLion/INSTALL.msg b/srcpkgs/CLion/INSTALL.msg
new file mode 100644
index 00000000000..860cb2fb6b5
--- /dev/null
+++ b/srcpkgs/CLion/INSTALL.msg
@@ -0,0 +1,11 @@
+CLion has the following optional dependencies:
+	cmake: CMake tools/build system
+	gdb: Native GNU debugger
+	lldb: Native LLVM debugger
+	gcc: GNU compiler
+	clang: LLVM compiler
+	gtest: C++ testing
+	python: Python 2 programming language support
+	python3: Python 3 programming language support
+	doxygen: Code documentation generation
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/CLion/template b/srcpkgs/CLion/template
new file mode 100644
index 00000000000..5b0a8b8854e
--- /dev/null
+++ b/srcpkgs/CLion/template
@@ -0,0 +1,65 @@
+# Template file for 'CLion'
+pkgname=CLion
+version=2019.1.4
+revision=1
+archs="x86_64"
+wrksrc="clion-${version}"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Smart cross-platform IDE for C and C++"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/clion"
+distfiles="https://download.jetbrains.com/cpp/CLion-${version}.tar.gz"
+checksum=c9249f7a378b66071e4c4308a339bfd3afa38765e9316ffaaeeec66fcb3b8bb1
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/clion.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+
+	# Remove JetBrains JDK
+	rm -rf jre64
+
+	# TODO: JetBrains' LLDB, GDB, and CMake can be made installable via separate subpackages
+	# bin/lldb bin/gdb bin/cmake
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/CLion"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/clion.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/CLion/update b/srcpkgs/CLion/update
new file mode 100644
index 00000000000..162c3615358
--- /dev/null
+++ b/srcpkgs/CLion/update
@@ -0,0 +1,2 @@
+pattern="CLion-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=CL&latest=true&type=release"

From 7bce51e88303dc376d3e35801fd0b3f8c180aa04 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 7 May 2019 01:03:29 -0700
Subject: [PATCH 3/5] New package: WebStorm-2019.1.1

---
 srcpkgs/WebStorm/INSTALL.msg |  2 ++
 srcpkgs/WebStorm/template    | 61 ++++++++++++++++++++++++++++++++++++
 srcpkgs/WebStorm/update      |  2 ++
 3 files changed, 65 insertions(+)
 create mode 100644 srcpkgs/WebStorm/INSTALL.msg
 create mode 100644 srcpkgs/WebStorm/template
 create mode 100644 srcpkgs/WebStorm/update

diff --git a/srcpkgs/WebStorm/INSTALL.msg b/srcpkgs/WebStorm/INSTALL.msg
new file mode 100644
index 00000000000..8fe3d069415
--- /dev/null
+++ b/srcpkgs/WebStorm/INSTALL.msg
@@ -0,0 +1,2 @@
+WebStorm has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/WebStorm/template b/srcpkgs/WebStorm/template
new file mode 100644
index 00000000000..718215660e4
--- /dev/null
+++ b/srcpkgs/WebStorm/template
@@ -0,0 +1,61 @@
+# Template file for 'WebStorm'
+pkgname=WebStorm
+version=2019.1.3
+revision=1
+archs="x86_64"
+wrksrc="WebStorm-191.7479.14"
+depends="virtual?java-environment"
+short_desc="Smartest JavaScript IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/webstorm"
+distfiles="https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz"
+checksum=c3ef27051f6de608ee679035957a8a4329897c910b046cb2dbbf840cc8151dae
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/webstorm.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+
+	rm -rf jre64
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/WebStorm"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/webstorm.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/WebStorm/update b/srcpkgs/WebStorm/update
new file mode 100644
index 00000000000..a284d8a6436
--- /dev/null
+++ b/srcpkgs/WebStorm/update
@@ -0,0 +1,2 @@
+pattern="WebStorm-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=WS&latest=true&type=release"

From e0bae53118f1a22490e7bd5e4f596be661d87dd3 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 8 May 2019 00:29:30 -0700
Subject: [PATCH 4/5] New package: GoLand-2019.1.1

---
 srcpkgs/GoLand/INSTALL.msg |  2 ++
 srcpkgs/GoLand/template    | 58 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/GoLand/update      |  2 ++
 3 files changed, 62 insertions(+)
 create mode 100644 srcpkgs/GoLand/INSTALL.msg
 create mode 100644 srcpkgs/GoLand/template
 create mode 100644 srcpkgs/GoLand/update

diff --git a/srcpkgs/GoLand/INSTALL.msg b/srcpkgs/GoLand/INSTALL.msg
new file mode 100644
index 00000000000..0dbec18343d
--- /dev/null
+++ b/srcpkgs/GoLand/INSTALL.msg
@@ -0,0 +1,2 @@
+GoLand has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/GoLand/template b/srcpkgs/GoLand/template
new file mode 100644
index 00000000000..142f9ccd297
--- /dev/null
+++ b/srcpkgs/GoLand/template
@@ -0,0 +1,58 @@
+# Template file for 'GoLand'
+pkgname=GoLand
+version=2019.1.3
+revision=1
+archs="x86_64"
+depends="virtual?java-environment"
+short_desc="Cross-platform IDE built specially for Go developers"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/go"
+distfiles="https://download.jetbrains.com/go/goland-${version}.tar.gz"
+checksum=b0e22be860ead904c88595f005d5fe2b0fea310c15a1d8551372b5c336d1895b
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/goland.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/GoLand"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/goland.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/GoLand/update b/srcpkgs/GoLand/update
new file mode 100644
index 00000000000..52dc447c59e
--- /dev/null
+++ b/srcpkgs/GoLand/update
@@ -0,0 +1,2 @@
+pattern="goland-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=GO&latest=true&type=release"

From a977380b9c61ada82fa537c544251075845c3dda Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Sat, 11 May 2019 21:32:48 -0700
Subject: [PATCH 5/5] New package: RubyMine-2019.1.1

---
 srcpkgs/RubyMine/INSTALL.msg |  2 ++
 srcpkgs/RubyMine/template    | 69 ++++++++++++++++++++++++++++++++++++
 srcpkgs/RubyMine/update      |  2 ++
 3 files changed, 73 insertions(+)
 create mode 100644 srcpkgs/RubyMine/INSTALL.msg
 create mode 100644 srcpkgs/RubyMine/template
 create mode 100644 srcpkgs/RubyMine/update

diff --git a/srcpkgs/RubyMine/INSTALL.msg b/srcpkgs/RubyMine/INSTALL.msg
new file mode 100644
index 00000000000..6d15486619e
--- /dev/null
+++ b/srcpkgs/RubyMine/INSTALL.msg
@@ -0,0 +1,2 @@
+RubyMine has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/RubyMine/template b/srcpkgs/RubyMine/template
new file mode 100644
index 00000000000..568e5410084
--- /dev/null
+++ b/srcpkgs/RubyMine/template
@@ -0,0 +1,69 @@
+# Template file for 'RubyMine'
+pkgname=RubyMine
+version=2019.1.2
+revision=1
+archs="x86_64"
+depends="virtual?java-environment"
+short_desc="Most intelligent Ruby and Rails IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/ruby"
+distfiles="https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz"
+checksum=db60a07098d3fec4e72bcbd5e5c48638983e20817e41c3f83266733f2d8a0cfe
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/rubymine.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/RubyMine"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	vcopy rubystubs18 ${TARGET_PATH}
+	vcopy rubystubs19 ${TARGET_PATH}
+	vcopy rubystubs193 ${TARGET_PATH}
+	vcopy rubystubs20 ${TARGET_PATH}
+	vcopy rubystubs21 ${TARGET_PATH}
+	vcopy rubystubs22 ${TARGET_PATH}
+	vcopy rubystubs23 ${TARGET_PATH}
+	vcopy rubystubs24 ${TARGET_PATH}
+	vcopy rubystubs25 ${TARGET_PATH}
+	vcopy rubystubs26 ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/rubymine.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/RubyMine/update b/srcpkgs/RubyMine/update
new file mode 100644
index 00000000000..390bd071df0
--- /dev/null
+++ b/srcpkgs/RubyMine/update
@@ -0,0 +1,2 @@
+pattern="RubyMine-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=RM&latest=true&type=release"

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.1, CLion-2019.1.2, WebStorm-2019.1.1, GoLand-2019.1.1, RubyMine-2019.1.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (3 preceding siblings ...)
  2019-06-15 17:53 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-06-15 17:53 ` voidlinux-github
  2019-06-15 17:56 ` voidlinux-github
                   ` (34 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-15 17:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.1, CLion-2019.1.2, WebStorm-2019.1.1, GoLand-2019.1.1, RubyMine-2019.1.1
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: application/text/x-diff, Size: 15665 bytes --]

From fe39b570867e75014dbb6ffce0b47e1fe9c5a70b Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 23 Apr 2019 21:47:49 -0700
Subject: [PATCH 1/5] New package: intellij-idea-ultimate-edition-2019.1.1

---
 .../intellij-idea-community-edition/template  |  1 +
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 66 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 4 files changed, 71 insertions(+)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 961c22781af..7e40ed9c8fe 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -12,6 +12,7 @@ distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
 repository=nonfree
 nopie=yes
+conflicts="intellij-idea-ultimate-edition"
 
 post_extract() {
 	mv $XBPS_BUILDDIR/idea-IC-* ${wrksrc}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..b4c0bd37c73
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,66 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.3
+revision=1
+archs="x86_64"
+wrksrc="idea-IU-191.7479.19"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+repository=nonfree
+restricted=yes
+nopie=yes
+conflicts="intellij-idea-community-edition"
+
+post_extract() {
+	# Remove files for other OSes
+	rm plugins/android/lib/libwebp/win -rf
+	rm plugins/android/lib/libwebp/mac -rf
+
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/idea.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm plugins/android/lib/libwebp/linux/libwebp_jni.so
+	rm lib/pty4j-native/linux/x86 -rf
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/intellij-idea-ultimate-edition"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

From 85194377b75f56af50b770bd6172395ff0629384 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Mon, 29 Apr 2019 23:22:03 -0700
Subject: [PATCH 2/5] New package: CLion-2019.1.2

---
 srcpkgs/CLion/INSTALL.msg | 11 +++++++
 srcpkgs/CLion/template    | 65 +++++++++++++++++++++++++++++++++++++++
 srcpkgs/CLion/update      |  2 ++
 3 files changed, 78 insertions(+)
 create mode 100644 srcpkgs/CLion/INSTALL.msg
 create mode 100644 srcpkgs/CLion/template
 create mode 100644 srcpkgs/CLion/update

diff --git a/srcpkgs/CLion/INSTALL.msg b/srcpkgs/CLion/INSTALL.msg
new file mode 100644
index 00000000000..860cb2fb6b5
--- /dev/null
+++ b/srcpkgs/CLion/INSTALL.msg
@@ -0,0 +1,11 @@
+CLion has the following optional dependencies:
+	cmake: CMake tools/build system
+	gdb: Native GNU debugger
+	lldb: Native LLVM debugger
+	gcc: GNU compiler
+	clang: LLVM compiler
+	gtest: C++ testing
+	python: Python 2 programming language support
+	python3: Python 3 programming language support
+	doxygen: Code documentation generation
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/CLion/template b/srcpkgs/CLion/template
new file mode 100644
index 00000000000..5b0a8b8854e
--- /dev/null
+++ b/srcpkgs/CLion/template
@@ -0,0 +1,65 @@
+# Template file for 'CLion'
+pkgname=CLion
+version=2019.1.4
+revision=1
+archs="x86_64"
+wrksrc="clion-${version}"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Smart cross-platform IDE for C and C++"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/clion"
+distfiles="https://download.jetbrains.com/cpp/CLion-${version}.tar.gz"
+checksum=c9249f7a378b66071e4c4308a339bfd3afa38765e9316ffaaeeec66fcb3b8bb1
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/clion.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+
+	# Remove JetBrains JDK
+	rm -rf jre64
+
+	# TODO: JetBrains' LLDB, GDB, and CMake can be made installable via separate subpackages
+	# bin/lldb bin/gdb bin/cmake
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/CLion"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/clion.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/CLion/update b/srcpkgs/CLion/update
new file mode 100644
index 00000000000..162c3615358
--- /dev/null
+++ b/srcpkgs/CLion/update
@@ -0,0 +1,2 @@
+pattern="CLion-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=CL&latest=true&type=release"

From 7bce51e88303dc376d3e35801fd0b3f8c180aa04 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 7 May 2019 01:03:29 -0700
Subject: [PATCH 3/5] New package: WebStorm-2019.1.1

---
 srcpkgs/WebStorm/INSTALL.msg |  2 ++
 srcpkgs/WebStorm/template    | 61 ++++++++++++++++++++++++++++++++++++
 srcpkgs/WebStorm/update      |  2 ++
 3 files changed, 65 insertions(+)
 create mode 100644 srcpkgs/WebStorm/INSTALL.msg
 create mode 100644 srcpkgs/WebStorm/template
 create mode 100644 srcpkgs/WebStorm/update

diff --git a/srcpkgs/WebStorm/INSTALL.msg b/srcpkgs/WebStorm/INSTALL.msg
new file mode 100644
index 00000000000..8fe3d069415
--- /dev/null
+++ b/srcpkgs/WebStorm/INSTALL.msg
@@ -0,0 +1,2 @@
+WebStorm has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/WebStorm/template b/srcpkgs/WebStorm/template
new file mode 100644
index 00000000000..718215660e4
--- /dev/null
+++ b/srcpkgs/WebStorm/template
@@ -0,0 +1,61 @@
+# Template file for 'WebStorm'
+pkgname=WebStorm
+version=2019.1.3
+revision=1
+archs="x86_64"
+wrksrc="WebStorm-191.7479.14"
+depends="virtual?java-environment"
+short_desc="Smartest JavaScript IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/webstorm"
+distfiles="https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz"
+checksum=c3ef27051f6de608ee679035957a8a4329897c910b046cb2dbbf840cc8151dae
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/webstorm.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+
+	rm -rf jre64
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/WebStorm"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/webstorm.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/WebStorm/update b/srcpkgs/WebStorm/update
new file mode 100644
index 00000000000..a284d8a6436
--- /dev/null
+++ b/srcpkgs/WebStorm/update
@@ -0,0 +1,2 @@
+pattern="WebStorm-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=WS&latest=true&type=release"

From e0bae53118f1a22490e7bd5e4f596be661d87dd3 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 8 May 2019 00:29:30 -0700
Subject: [PATCH 4/5] New package: GoLand-2019.1.1

---
 srcpkgs/GoLand/INSTALL.msg |  2 ++
 srcpkgs/GoLand/template    | 58 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/GoLand/update      |  2 ++
 3 files changed, 62 insertions(+)
 create mode 100644 srcpkgs/GoLand/INSTALL.msg
 create mode 100644 srcpkgs/GoLand/template
 create mode 100644 srcpkgs/GoLand/update

diff --git a/srcpkgs/GoLand/INSTALL.msg b/srcpkgs/GoLand/INSTALL.msg
new file mode 100644
index 00000000000..0dbec18343d
--- /dev/null
+++ b/srcpkgs/GoLand/INSTALL.msg
@@ -0,0 +1,2 @@
+GoLand has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/GoLand/template b/srcpkgs/GoLand/template
new file mode 100644
index 00000000000..142f9ccd297
--- /dev/null
+++ b/srcpkgs/GoLand/template
@@ -0,0 +1,58 @@
+# Template file for 'GoLand'
+pkgname=GoLand
+version=2019.1.3
+revision=1
+archs="x86_64"
+depends="virtual?java-environment"
+short_desc="Cross-platform IDE built specially for Go developers"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/go"
+distfiles="https://download.jetbrains.com/go/goland-${version}.tar.gz"
+checksum=b0e22be860ead904c88595f005d5fe2b0fea310c15a1d8551372b5c336d1895b
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/goland.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/GoLand"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/goland.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/GoLand/update b/srcpkgs/GoLand/update
new file mode 100644
index 00000000000..52dc447c59e
--- /dev/null
+++ b/srcpkgs/GoLand/update
@@ -0,0 +1,2 @@
+pattern="goland-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=GO&latest=true&type=release"

From a977380b9c61ada82fa537c544251075845c3dda Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Sat, 11 May 2019 21:32:48 -0700
Subject: [PATCH 5/5] New package: RubyMine-2019.1.1

---
 srcpkgs/RubyMine/INSTALL.msg |  2 ++
 srcpkgs/RubyMine/template    | 69 ++++++++++++++++++++++++++++++++++++
 srcpkgs/RubyMine/update      |  2 ++
 3 files changed, 73 insertions(+)
 create mode 100644 srcpkgs/RubyMine/INSTALL.msg
 create mode 100644 srcpkgs/RubyMine/template
 create mode 100644 srcpkgs/RubyMine/update

diff --git a/srcpkgs/RubyMine/INSTALL.msg b/srcpkgs/RubyMine/INSTALL.msg
new file mode 100644
index 00000000000..6d15486619e
--- /dev/null
+++ b/srcpkgs/RubyMine/INSTALL.msg
@@ -0,0 +1,2 @@
+RubyMine has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/RubyMine/template b/srcpkgs/RubyMine/template
new file mode 100644
index 00000000000..568e5410084
--- /dev/null
+++ b/srcpkgs/RubyMine/template
@@ -0,0 +1,69 @@
+# Template file for 'RubyMine'
+pkgname=RubyMine
+version=2019.1.2
+revision=1
+archs="x86_64"
+depends="virtual?java-environment"
+short_desc="Most intelligent Ruby and Rails IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/ruby"
+distfiles="https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz"
+checksum=db60a07098d3fec4e72bcbd5e5c48638983e20817e41c3f83266733f2d8a0cfe
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/rubymine.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/RubyMine"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	vcopy rubystubs18 ${TARGET_PATH}
+	vcopy rubystubs19 ${TARGET_PATH}
+	vcopy rubystubs193 ${TARGET_PATH}
+	vcopy rubystubs20 ${TARGET_PATH}
+	vcopy rubystubs21 ${TARGET_PATH}
+	vcopy rubystubs22 ${TARGET_PATH}
+	vcopy rubystubs23 ${TARGET_PATH}
+	vcopy rubystubs24 ${TARGET_PATH}
+	vcopy rubystubs25 ${TARGET_PATH}
+	vcopy rubystubs26 ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/rubymine.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/RubyMine/update b/srcpkgs/RubyMine/update
new file mode 100644
index 00000000000..390bd071df0
--- /dev/null
+++ b/srcpkgs/RubyMine/update
@@ -0,0 +1,2 @@
+pattern="RubyMine-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=RM&latest=true&type=release"

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: New packages: intellij-idea-ultimate-edition-2019.1.1, CLion-2019.1.2, WebStorm-2019.1.1, GoLand-2019.1.1, RubyMine-2019.1.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (4 preceding siblings ...)
  2019-06-15 17:53 ` voidlinux-github
@ 2019-06-15 17:56 ` voidlinux-github
  2019-06-15 17:58 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (33 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-15 17:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 387 bytes --]

New comment by 2asoft on void-packages repository

https://github.com/void-linux/void-packages/pull/11736#issuecomment-502386920
Comment:
> Close to ready. Some new versions came up, do you want to update before merging?

Thanks for noticing, I saw that, was waiting to resolve all other items before upgrading.
Is this good to go now, or are there move improvements to be made here?

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.1, CLion-2019.1.2, WebStorm-2019.1.1, GoLand-2019.1.1, RubyMine-2019.1.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (5 preceding siblings ...)
  2019-06-15 17:56 ` voidlinux-github
@ 2019-06-15 17:58 ` " voidlinux-github
  2019-06-15 17:58 ` voidlinux-github
                   ` (32 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-15 17:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.1, CLion-2019.1.2, WebStorm-2019.1.1, GoLand-2019.1.1, RubyMine-2019.1.1
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: application/text/x-diff, Size: 15665 bytes --]

From b31b5c4ebcce28246b22945ee6e873684e62a64b Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 23 Apr 2019 21:47:49 -0700
Subject: [PATCH 1/5] New package: intellij-idea-ultimate-edition-2019.1.3

---
 .../intellij-idea-community-edition/template  |  1 +
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 66 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 4 files changed, 71 insertions(+)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 961c22781af..7e40ed9c8fe 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -12,6 +12,7 @@ distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
 repository=nonfree
 nopie=yes
+conflicts="intellij-idea-ultimate-edition"
 
 post_extract() {
 	mv $XBPS_BUILDDIR/idea-IC-* ${wrksrc}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..b4c0bd37c73
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,66 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.3
+revision=1
+archs="x86_64"
+wrksrc="idea-IU-191.7479.19"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+repository=nonfree
+restricted=yes
+nopie=yes
+conflicts="intellij-idea-community-edition"
+
+post_extract() {
+	# Remove files for other OSes
+	rm plugins/android/lib/libwebp/win -rf
+	rm plugins/android/lib/libwebp/mac -rf
+
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/idea.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm plugins/android/lib/libwebp/linux/libwebp_jni.so
+	rm lib/pty4j-native/linux/x86 -rf
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/intellij-idea-ultimate-edition"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

From f9771a9c9035f8e927412a482f5f183db2803283 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Mon, 29 Apr 2019 23:22:03 -0700
Subject: [PATCH 2/5] New package: CLion-2019.1.4

---
 srcpkgs/CLion/INSTALL.msg | 11 +++++++
 srcpkgs/CLion/template    | 65 +++++++++++++++++++++++++++++++++++++++
 srcpkgs/CLion/update      |  2 ++
 3 files changed, 78 insertions(+)
 create mode 100644 srcpkgs/CLion/INSTALL.msg
 create mode 100644 srcpkgs/CLion/template
 create mode 100644 srcpkgs/CLion/update

diff --git a/srcpkgs/CLion/INSTALL.msg b/srcpkgs/CLion/INSTALL.msg
new file mode 100644
index 00000000000..860cb2fb6b5
--- /dev/null
+++ b/srcpkgs/CLion/INSTALL.msg
@@ -0,0 +1,11 @@
+CLion has the following optional dependencies:
+	cmake: CMake tools/build system
+	gdb: Native GNU debugger
+	lldb: Native LLVM debugger
+	gcc: GNU compiler
+	clang: LLVM compiler
+	gtest: C++ testing
+	python: Python 2 programming language support
+	python3: Python 3 programming language support
+	doxygen: Code documentation generation
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/CLion/template b/srcpkgs/CLion/template
new file mode 100644
index 00000000000..5b0a8b8854e
--- /dev/null
+++ b/srcpkgs/CLion/template
@@ -0,0 +1,65 @@
+# Template file for 'CLion'
+pkgname=CLion
+version=2019.1.4
+revision=1
+archs="x86_64"
+wrksrc="clion-${version}"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Smart cross-platform IDE for C and C++"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/clion"
+distfiles="https://download.jetbrains.com/cpp/CLion-${version}.tar.gz"
+checksum=c9249f7a378b66071e4c4308a339bfd3afa38765e9316ffaaeeec66fcb3b8bb1
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/clion.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+
+	# Remove JetBrains JDK
+	rm -rf jre64
+
+	# TODO: JetBrains' LLDB, GDB, and CMake can be made installable via separate subpackages
+	# bin/lldb bin/gdb bin/cmake
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/CLion"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/clion.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/CLion/update b/srcpkgs/CLion/update
new file mode 100644
index 00000000000..162c3615358
--- /dev/null
+++ b/srcpkgs/CLion/update
@@ -0,0 +1,2 @@
+pattern="CLion-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=CL&latest=true&type=release"

From f9ac3b4aedb75341b6fe523c319d37dd3c27758a Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 7 May 2019 01:03:29 -0700
Subject: [PATCH 3/5] New package: WebStorm-2019.1.3

---
 srcpkgs/WebStorm/INSTALL.msg |  2 ++
 srcpkgs/WebStorm/template    | 61 ++++++++++++++++++++++++++++++++++++
 srcpkgs/WebStorm/update      |  2 ++
 3 files changed, 65 insertions(+)
 create mode 100644 srcpkgs/WebStorm/INSTALL.msg
 create mode 100644 srcpkgs/WebStorm/template
 create mode 100644 srcpkgs/WebStorm/update

diff --git a/srcpkgs/WebStorm/INSTALL.msg b/srcpkgs/WebStorm/INSTALL.msg
new file mode 100644
index 00000000000..8fe3d069415
--- /dev/null
+++ b/srcpkgs/WebStorm/INSTALL.msg
@@ -0,0 +1,2 @@
+WebStorm has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/WebStorm/template b/srcpkgs/WebStorm/template
new file mode 100644
index 00000000000..718215660e4
--- /dev/null
+++ b/srcpkgs/WebStorm/template
@@ -0,0 +1,61 @@
+# Template file for 'WebStorm'
+pkgname=WebStorm
+version=2019.1.3
+revision=1
+archs="x86_64"
+wrksrc="WebStorm-191.7479.14"
+depends="virtual?java-environment"
+short_desc="Smartest JavaScript IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/webstorm"
+distfiles="https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz"
+checksum=c3ef27051f6de608ee679035957a8a4329897c910b046cb2dbbf840cc8151dae
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/webstorm.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+
+	rm -rf jre64
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/WebStorm"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/webstorm.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/WebStorm/update b/srcpkgs/WebStorm/update
new file mode 100644
index 00000000000..a284d8a6436
--- /dev/null
+++ b/srcpkgs/WebStorm/update
@@ -0,0 +1,2 @@
+pattern="WebStorm-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=WS&latest=true&type=release"

From 9fc0634eead5372ecc03f82f604cef3ba43dccda Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 8 May 2019 00:29:30 -0700
Subject: [PATCH 4/5] New package: GoLand-2019.1.3

---
 srcpkgs/GoLand/INSTALL.msg |  2 ++
 srcpkgs/GoLand/template    | 58 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/GoLand/update      |  2 ++
 3 files changed, 62 insertions(+)
 create mode 100644 srcpkgs/GoLand/INSTALL.msg
 create mode 100644 srcpkgs/GoLand/template
 create mode 100644 srcpkgs/GoLand/update

diff --git a/srcpkgs/GoLand/INSTALL.msg b/srcpkgs/GoLand/INSTALL.msg
new file mode 100644
index 00000000000..0dbec18343d
--- /dev/null
+++ b/srcpkgs/GoLand/INSTALL.msg
@@ -0,0 +1,2 @@
+GoLand has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/GoLand/template b/srcpkgs/GoLand/template
new file mode 100644
index 00000000000..142f9ccd297
--- /dev/null
+++ b/srcpkgs/GoLand/template
@@ -0,0 +1,58 @@
+# Template file for 'GoLand'
+pkgname=GoLand
+version=2019.1.3
+revision=1
+archs="x86_64"
+depends="virtual?java-environment"
+short_desc="Cross-platform IDE built specially for Go developers"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/go"
+distfiles="https://download.jetbrains.com/go/goland-${version}.tar.gz"
+checksum=b0e22be860ead904c88595f005d5fe2b0fea310c15a1d8551372b5c336d1895b
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/goland.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/GoLand"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/goland.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/GoLand/update b/srcpkgs/GoLand/update
new file mode 100644
index 00000000000..52dc447c59e
--- /dev/null
+++ b/srcpkgs/GoLand/update
@@ -0,0 +1,2 @@
+pattern="goland-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=GO&latest=true&type=release"

From 2666b8cd2fcdbca5757a5c96f19e4dedfdd4a92a Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Sat, 11 May 2019 21:32:48 -0700
Subject: [PATCH 5/5] New package: RubyMine-2019.1.2

---
 srcpkgs/RubyMine/INSTALL.msg |  2 ++
 srcpkgs/RubyMine/template    | 69 ++++++++++++++++++++++++++++++++++++
 srcpkgs/RubyMine/update      |  2 ++
 3 files changed, 73 insertions(+)
 create mode 100644 srcpkgs/RubyMine/INSTALL.msg
 create mode 100644 srcpkgs/RubyMine/template
 create mode 100644 srcpkgs/RubyMine/update

diff --git a/srcpkgs/RubyMine/INSTALL.msg b/srcpkgs/RubyMine/INSTALL.msg
new file mode 100644
index 00000000000..6d15486619e
--- /dev/null
+++ b/srcpkgs/RubyMine/INSTALL.msg
@@ -0,0 +1,2 @@
+RubyMine has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/RubyMine/template b/srcpkgs/RubyMine/template
new file mode 100644
index 00000000000..568e5410084
--- /dev/null
+++ b/srcpkgs/RubyMine/template
@@ -0,0 +1,69 @@
+# Template file for 'RubyMine'
+pkgname=RubyMine
+version=2019.1.2
+revision=1
+archs="x86_64"
+depends="virtual?java-environment"
+short_desc="Most intelligent Ruby and Rails IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/ruby"
+distfiles="https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz"
+checksum=db60a07098d3fec4e72bcbd5e5c48638983e20817e41c3f83266733f2d8a0cfe
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/rubymine.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/RubyMine"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	vcopy rubystubs18 ${TARGET_PATH}
+	vcopy rubystubs19 ${TARGET_PATH}
+	vcopy rubystubs193 ${TARGET_PATH}
+	vcopy rubystubs20 ${TARGET_PATH}
+	vcopy rubystubs21 ${TARGET_PATH}
+	vcopy rubystubs22 ${TARGET_PATH}
+	vcopy rubystubs23 ${TARGET_PATH}
+	vcopy rubystubs24 ${TARGET_PATH}
+	vcopy rubystubs25 ${TARGET_PATH}
+	vcopy rubystubs26 ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/rubymine.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/RubyMine/update b/srcpkgs/RubyMine/update
new file mode 100644
index 00000000000..390bd071df0
--- /dev/null
+++ b/srcpkgs/RubyMine/update
@@ -0,0 +1,2 @@
+pattern="RubyMine-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=RM&latest=true&type=release"

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.1, CLion-2019.1.2, WebStorm-2019.1.1, GoLand-2019.1.1, RubyMine-2019.1.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (6 preceding siblings ...)
  2019-06-15 17:58 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-06-15 17:58 ` voidlinux-github
  2019-06-15 22:25 ` New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2 voidlinux-github
                   ` (31 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-15 17:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.1, CLion-2019.1.2, WebStorm-2019.1.1, GoLand-2019.1.1, RubyMine-2019.1.1
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: application/text/x-diff, Size: 15665 bytes --]

From b31b5c4ebcce28246b22945ee6e873684e62a64b Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 23 Apr 2019 21:47:49 -0700
Subject: [PATCH 1/5] New package: intellij-idea-ultimate-edition-2019.1.3

---
 .../intellij-idea-community-edition/template  |  1 +
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 66 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 4 files changed, 71 insertions(+)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 961c22781af..7e40ed9c8fe 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -12,6 +12,7 @@ distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
 repository=nonfree
 nopie=yes
+conflicts="intellij-idea-ultimate-edition"
 
 post_extract() {
 	mv $XBPS_BUILDDIR/idea-IC-* ${wrksrc}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..b4c0bd37c73
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,66 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.3
+revision=1
+archs="x86_64"
+wrksrc="idea-IU-191.7479.19"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+repository=nonfree
+restricted=yes
+nopie=yes
+conflicts="intellij-idea-community-edition"
+
+post_extract() {
+	# Remove files for other OSes
+	rm plugins/android/lib/libwebp/win -rf
+	rm plugins/android/lib/libwebp/mac -rf
+
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/idea.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm plugins/android/lib/libwebp/linux/libwebp_jni.so
+	rm lib/pty4j-native/linux/x86 -rf
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/intellij-idea-ultimate-edition"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

From f9771a9c9035f8e927412a482f5f183db2803283 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Mon, 29 Apr 2019 23:22:03 -0700
Subject: [PATCH 2/5] New package: CLion-2019.1.4

---
 srcpkgs/CLion/INSTALL.msg | 11 +++++++
 srcpkgs/CLion/template    | 65 +++++++++++++++++++++++++++++++++++++++
 srcpkgs/CLion/update      |  2 ++
 3 files changed, 78 insertions(+)
 create mode 100644 srcpkgs/CLion/INSTALL.msg
 create mode 100644 srcpkgs/CLion/template
 create mode 100644 srcpkgs/CLion/update

diff --git a/srcpkgs/CLion/INSTALL.msg b/srcpkgs/CLion/INSTALL.msg
new file mode 100644
index 00000000000..860cb2fb6b5
--- /dev/null
+++ b/srcpkgs/CLion/INSTALL.msg
@@ -0,0 +1,11 @@
+CLion has the following optional dependencies:
+	cmake: CMake tools/build system
+	gdb: Native GNU debugger
+	lldb: Native LLVM debugger
+	gcc: GNU compiler
+	clang: LLVM compiler
+	gtest: C++ testing
+	python: Python 2 programming language support
+	python3: Python 3 programming language support
+	doxygen: Code documentation generation
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/CLion/template b/srcpkgs/CLion/template
new file mode 100644
index 00000000000..5b0a8b8854e
--- /dev/null
+++ b/srcpkgs/CLion/template
@@ -0,0 +1,65 @@
+# Template file for 'CLion'
+pkgname=CLion
+version=2019.1.4
+revision=1
+archs="x86_64"
+wrksrc="clion-${version}"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Smart cross-platform IDE for C and C++"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/clion"
+distfiles="https://download.jetbrains.com/cpp/CLion-${version}.tar.gz"
+checksum=c9249f7a378b66071e4c4308a339bfd3afa38765e9316ffaaeeec66fcb3b8bb1
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/clion.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+
+	# Remove JetBrains JDK
+	rm -rf jre64
+
+	# TODO: JetBrains' LLDB, GDB, and CMake can be made installable via separate subpackages
+	# bin/lldb bin/gdb bin/cmake
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/CLion"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/clion.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/CLion/update b/srcpkgs/CLion/update
new file mode 100644
index 00000000000..162c3615358
--- /dev/null
+++ b/srcpkgs/CLion/update
@@ -0,0 +1,2 @@
+pattern="CLion-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=CL&latest=true&type=release"

From f9ac3b4aedb75341b6fe523c319d37dd3c27758a Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 7 May 2019 01:03:29 -0700
Subject: [PATCH 3/5] New package: WebStorm-2019.1.3

---
 srcpkgs/WebStorm/INSTALL.msg |  2 ++
 srcpkgs/WebStorm/template    | 61 ++++++++++++++++++++++++++++++++++++
 srcpkgs/WebStorm/update      |  2 ++
 3 files changed, 65 insertions(+)
 create mode 100644 srcpkgs/WebStorm/INSTALL.msg
 create mode 100644 srcpkgs/WebStorm/template
 create mode 100644 srcpkgs/WebStorm/update

diff --git a/srcpkgs/WebStorm/INSTALL.msg b/srcpkgs/WebStorm/INSTALL.msg
new file mode 100644
index 00000000000..8fe3d069415
--- /dev/null
+++ b/srcpkgs/WebStorm/INSTALL.msg
@@ -0,0 +1,2 @@
+WebStorm has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/WebStorm/template b/srcpkgs/WebStorm/template
new file mode 100644
index 00000000000..718215660e4
--- /dev/null
+++ b/srcpkgs/WebStorm/template
@@ -0,0 +1,61 @@
+# Template file for 'WebStorm'
+pkgname=WebStorm
+version=2019.1.3
+revision=1
+archs="x86_64"
+wrksrc="WebStorm-191.7479.14"
+depends="virtual?java-environment"
+short_desc="Smartest JavaScript IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/webstorm"
+distfiles="https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz"
+checksum=c3ef27051f6de608ee679035957a8a4329897c910b046cb2dbbf840cc8151dae
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/webstorm.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+
+	rm -rf jre64
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/WebStorm"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/webstorm.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/WebStorm/update b/srcpkgs/WebStorm/update
new file mode 100644
index 00000000000..a284d8a6436
--- /dev/null
+++ b/srcpkgs/WebStorm/update
@@ -0,0 +1,2 @@
+pattern="WebStorm-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=WS&latest=true&type=release"

From 9fc0634eead5372ecc03f82f604cef3ba43dccda Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 8 May 2019 00:29:30 -0700
Subject: [PATCH 4/5] New package: GoLand-2019.1.3

---
 srcpkgs/GoLand/INSTALL.msg |  2 ++
 srcpkgs/GoLand/template    | 58 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/GoLand/update      |  2 ++
 3 files changed, 62 insertions(+)
 create mode 100644 srcpkgs/GoLand/INSTALL.msg
 create mode 100644 srcpkgs/GoLand/template
 create mode 100644 srcpkgs/GoLand/update

diff --git a/srcpkgs/GoLand/INSTALL.msg b/srcpkgs/GoLand/INSTALL.msg
new file mode 100644
index 00000000000..0dbec18343d
--- /dev/null
+++ b/srcpkgs/GoLand/INSTALL.msg
@@ -0,0 +1,2 @@
+GoLand has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/GoLand/template b/srcpkgs/GoLand/template
new file mode 100644
index 00000000000..142f9ccd297
--- /dev/null
+++ b/srcpkgs/GoLand/template
@@ -0,0 +1,58 @@
+# Template file for 'GoLand'
+pkgname=GoLand
+version=2019.1.3
+revision=1
+archs="x86_64"
+depends="virtual?java-environment"
+short_desc="Cross-platform IDE built specially for Go developers"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/go"
+distfiles="https://download.jetbrains.com/go/goland-${version}.tar.gz"
+checksum=b0e22be860ead904c88595f005d5fe2b0fea310c15a1d8551372b5c336d1895b
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/goland.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/GoLand"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/goland.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/GoLand/update b/srcpkgs/GoLand/update
new file mode 100644
index 00000000000..52dc447c59e
--- /dev/null
+++ b/srcpkgs/GoLand/update
@@ -0,0 +1,2 @@
+pattern="goland-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=GO&latest=true&type=release"

From 2666b8cd2fcdbca5757a5c96f19e4dedfdd4a92a Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Sat, 11 May 2019 21:32:48 -0700
Subject: [PATCH 5/5] New package: RubyMine-2019.1.2

---
 srcpkgs/RubyMine/INSTALL.msg |  2 ++
 srcpkgs/RubyMine/template    | 69 ++++++++++++++++++++++++++++++++++++
 srcpkgs/RubyMine/update      |  2 ++
 3 files changed, 73 insertions(+)
 create mode 100644 srcpkgs/RubyMine/INSTALL.msg
 create mode 100644 srcpkgs/RubyMine/template
 create mode 100644 srcpkgs/RubyMine/update

diff --git a/srcpkgs/RubyMine/INSTALL.msg b/srcpkgs/RubyMine/INSTALL.msg
new file mode 100644
index 00000000000..6d15486619e
--- /dev/null
+++ b/srcpkgs/RubyMine/INSTALL.msg
@@ -0,0 +1,2 @@
+RubyMine has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/RubyMine/template b/srcpkgs/RubyMine/template
new file mode 100644
index 00000000000..568e5410084
--- /dev/null
+++ b/srcpkgs/RubyMine/template
@@ -0,0 +1,69 @@
+# Template file for 'RubyMine'
+pkgname=RubyMine
+version=2019.1.2
+revision=1
+archs="x86_64"
+depends="virtual?java-environment"
+short_desc="Most intelligent Ruby and Rails IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/ruby"
+distfiles="https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz"
+checksum=db60a07098d3fec4e72bcbd5e5c48638983e20817e41c3f83266733f2d8a0cfe
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/rubymine.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/RubyMine"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	vcopy rubystubs18 ${TARGET_PATH}
+	vcopy rubystubs19 ${TARGET_PATH}
+	vcopy rubystubs193 ${TARGET_PATH}
+	vcopy rubystubs20 ${TARGET_PATH}
+	vcopy rubystubs21 ${TARGET_PATH}
+	vcopy rubystubs22 ${TARGET_PATH}
+	vcopy rubystubs23 ${TARGET_PATH}
+	vcopy rubystubs24 ${TARGET_PATH}
+	vcopy rubystubs25 ${TARGET_PATH}
+	vcopy rubystubs26 ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/rubymine.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/RubyMine/update b/srcpkgs/RubyMine/update
new file mode 100644
index 00000000000..390bd071df0
--- /dev/null
+++ b/srcpkgs/RubyMine/update
@@ -0,0 +1,2 @@
+pattern="RubyMine-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=RM&latest=true&type=release"

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (7 preceding siblings ...)
  2019-06-15 17:58 ` voidlinux-github
@ 2019-06-15 22:25 ` voidlinux-github
  2019-06-18  6:09 ` voidlinux-github
                   ` (30 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-15 22:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/11736#issuecomment-502403938
Comment:
Something like `vcopy license/* usr/share/licenses/${pkgname}` is more robust than looping over predefined directories.
Why there is no i686 builds anymore?

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (8 preceding siblings ...)
  2019-06-15 22:25 ` New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2 voidlinux-github
@ 2019-06-18  6:09 ` voidlinux-github
  2019-06-18 15:26 ` voidlinux-github
                   ` (29 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-18  6:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 567 bytes --]

New comment by 2asoft on void-packages repository

https://github.com/void-linux/void-packages/pull/11736#issuecomment-502961533
Comment:
> Something like `vcopy license/* usr/share/licenses/${pkgname}` is more robust than looping over predefined directories.

`vcopy` is very nice, but the `custom` license requires `vlicense` calls (per the XLINT rules in Travis).

> Why there is no i686 builds anymore?

It's not an architecture I run, so I cant guarantee it works.
If a Void user ever needs this, I can work with them to add these and make sure it works.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (9 preceding siblings ...)
  2019-06-18  6:09 ` voidlinux-github
@ 2019-06-18 15:26 ` voidlinux-github
  2019-06-20  7:06 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (28 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-18 15:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 736 bytes --]

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/11736#issuecomment-503186335
Comment:
> custom license requires vlicense calls

Don't get xlint that strict. That rule was created to make people aware that license should be included, but if vcopy is used to include them it's okay to ignore error as false positive. Better to have simple template. Or one can silence error with comment containing word `vlicense`.

> I cant guarantee it works.

It may look irresponsibly, but I don't think anybody test all 9 builds for 5 architectures of regular build-from-source software. If one build is tested, all travis build passes and template is not too hackish, it is fine to ship.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (10 preceding siblings ...)
  2019-06-18 15:26 ` voidlinux-github
@ 2019-06-20  7:06 ` " voidlinux-github
  2019-06-20  7:06 ` voidlinux-github
                   ` (27 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-20  7:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: application/text/x-diff, Size: 29235 bytes --]

From 21a98792a21712d530b4de97ee77ef90215f7c13 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 23 Apr 2019 21:47:49 -0700
Subject: [PATCH 01/15] New package: intellij-idea-ultimate-edition-2019.1.3

---
 .../intellij-idea-community-edition/template  |  1 +
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 66 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 4 files changed, 71 insertions(+)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 961c22781af..7e40ed9c8fe 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -12,6 +12,7 @@ distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
 repository=nonfree
 nopie=yes
+conflicts="intellij-idea-ultimate-edition"
 
 post_extract() {
 	mv $XBPS_BUILDDIR/idea-IC-* ${wrksrc}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..b4c0bd37c73
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,66 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.3
+revision=1
+archs="x86_64"
+wrksrc="idea-IU-191.7479.19"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+repository=nonfree
+restricted=yes
+nopie=yes
+conflicts="intellij-idea-community-edition"
+
+post_extract() {
+	# Remove files for other OSes
+	rm plugins/android/lib/libwebp/win -rf
+	rm plugins/android/lib/libwebp/mac -rf
+
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/idea.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm plugins/android/lib/libwebp/linux/libwebp_jni.so
+	rm lib/pty4j-native/linux/x86 -rf
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/intellij-idea-ultimate-edition"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

From d72da1c7f46493e7a2063f5e4732c0b5e69beef1 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Mon, 29 Apr 2019 23:22:03 -0700
Subject: [PATCH 02/15] New package: CLion-2019.1.4

---
 srcpkgs/CLion/INSTALL.msg | 11 +++++++
 srcpkgs/CLion/template    | 65 +++++++++++++++++++++++++++++++++++++++
 srcpkgs/CLion/update      |  2 ++
 3 files changed, 78 insertions(+)
 create mode 100644 srcpkgs/CLion/INSTALL.msg
 create mode 100644 srcpkgs/CLion/template
 create mode 100644 srcpkgs/CLion/update

diff --git a/srcpkgs/CLion/INSTALL.msg b/srcpkgs/CLion/INSTALL.msg
new file mode 100644
index 00000000000..860cb2fb6b5
--- /dev/null
+++ b/srcpkgs/CLion/INSTALL.msg
@@ -0,0 +1,11 @@
+CLion has the following optional dependencies:
+	cmake: CMake tools/build system
+	gdb: Native GNU debugger
+	lldb: Native LLVM debugger
+	gcc: GNU compiler
+	clang: LLVM compiler
+	gtest: C++ testing
+	python: Python 2 programming language support
+	python3: Python 3 programming language support
+	doxygen: Code documentation generation
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/CLion/template b/srcpkgs/CLion/template
new file mode 100644
index 00000000000..5b0a8b8854e
--- /dev/null
+++ b/srcpkgs/CLion/template
@@ -0,0 +1,65 @@
+# Template file for 'CLion'
+pkgname=CLion
+version=2019.1.4
+revision=1
+archs="x86_64"
+wrksrc="clion-${version}"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Smart cross-platform IDE for C and C++"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/clion"
+distfiles="https://download.jetbrains.com/cpp/CLion-${version}.tar.gz"
+checksum=c9249f7a378b66071e4c4308a339bfd3afa38765e9316ffaaeeec66fcb3b8bb1
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/clion.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+
+	# Remove JetBrains JDK
+	rm -rf jre64
+
+	# TODO: JetBrains' LLDB, GDB, and CMake can be made installable via separate subpackages
+	# bin/lldb bin/gdb bin/cmake
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/CLion"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/clion.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/CLion/update b/srcpkgs/CLion/update
new file mode 100644
index 00000000000..162c3615358
--- /dev/null
+++ b/srcpkgs/CLion/update
@@ -0,0 +1,2 @@
+pattern="CLion-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=CL&latest=true&type=release"

From 4433d5d1a5b53c256a8db65f27b69a3714bc9cb5 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 7 May 2019 01:03:29 -0700
Subject: [PATCH 03/15] New package: WebStorm-2019.1.3

---
 srcpkgs/WebStorm/INSTALL.msg |  2 ++
 srcpkgs/WebStorm/template    | 61 ++++++++++++++++++++++++++++++++++++
 srcpkgs/WebStorm/update      |  2 ++
 3 files changed, 65 insertions(+)
 create mode 100644 srcpkgs/WebStorm/INSTALL.msg
 create mode 100644 srcpkgs/WebStorm/template
 create mode 100644 srcpkgs/WebStorm/update

diff --git a/srcpkgs/WebStorm/INSTALL.msg b/srcpkgs/WebStorm/INSTALL.msg
new file mode 100644
index 00000000000..8fe3d069415
--- /dev/null
+++ b/srcpkgs/WebStorm/INSTALL.msg
@@ -0,0 +1,2 @@
+WebStorm has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/WebStorm/template b/srcpkgs/WebStorm/template
new file mode 100644
index 00000000000..718215660e4
--- /dev/null
+++ b/srcpkgs/WebStorm/template
@@ -0,0 +1,61 @@
+# Template file for 'WebStorm'
+pkgname=WebStorm
+version=2019.1.3
+revision=1
+archs="x86_64"
+wrksrc="WebStorm-191.7479.14"
+depends="virtual?java-environment"
+short_desc="Smartest JavaScript IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/webstorm"
+distfiles="https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz"
+checksum=c3ef27051f6de608ee679035957a8a4329897c910b046cb2dbbf840cc8151dae
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/webstorm.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+
+	rm -rf jre64
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/WebStorm"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/webstorm.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/WebStorm/update b/srcpkgs/WebStorm/update
new file mode 100644
index 00000000000..a284d8a6436
--- /dev/null
+++ b/srcpkgs/WebStorm/update
@@ -0,0 +1,2 @@
+pattern="WebStorm-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=WS&latest=true&type=release"

From b90005ff9ef886d519766252c699026f85e84280 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 8 May 2019 00:29:30 -0700
Subject: [PATCH 04/15] New package: GoLand-2019.1.3

---
 srcpkgs/GoLand/INSTALL.msg |  2 ++
 srcpkgs/GoLand/template    | 58 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/GoLand/update      |  2 ++
 3 files changed, 62 insertions(+)
 create mode 100644 srcpkgs/GoLand/INSTALL.msg
 create mode 100644 srcpkgs/GoLand/template
 create mode 100644 srcpkgs/GoLand/update

diff --git a/srcpkgs/GoLand/INSTALL.msg b/srcpkgs/GoLand/INSTALL.msg
new file mode 100644
index 00000000000..0dbec18343d
--- /dev/null
+++ b/srcpkgs/GoLand/INSTALL.msg
@@ -0,0 +1,2 @@
+GoLand has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/GoLand/template b/srcpkgs/GoLand/template
new file mode 100644
index 00000000000..142f9ccd297
--- /dev/null
+++ b/srcpkgs/GoLand/template
@@ -0,0 +1,58 @@
+# Template file for 'GoLand'
+pkgname=GoLand
+version=2019.1.3
+revision=1
+archs="x86_64"
+depends="virtual?java-environment"
+short_desc="Cross-platform IDE built specially for Go developers"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/go"
+distfiles="https://download.jetbrains.com/go/goland-${version}.tar.gz"
+checksum=b0e22be860ead904c88595f005d5fe2b0fea310c15a1d8551372b5c336d1895b
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/goland.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/GoLand"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/goland.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/GoLand/update b/srcpkgs/GoLand/update
new file mode 100644
index 00000000000..52dc447c59e
--- /dev/null
+++ b/srcpkgs/GoLand/update
@@ -0,0 +1,2 @@
+pattern="goland-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=GO&latest=true&type=release"

From fa8e658b9f035c20aac27f60fc0df2eee62240ec Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Sat, 11 May 2019 21:32:48 -0700
Subject: [PATCH 05/15] New package: RubyMine-2019.1.2

---
 srcpkgs/RubyMine/INSTALL.msg |  2 ++
 srcpkgs/RubyMine/template    | 69 ++++++++++++++++++++++++++++++++++++
 srcpkgs/RubyMine/update      |  2 ++
 3 files changed, 73 insertions(+)
 create mode 100644 srcpkgs/RubyMine/INSTALL.msg
 create mode 100644 srcpkgs/RubyMine/template
 create mode 100644 srcpkgs/RubyMine/update

diff --git a/srcpkgs/RubyMine/INSTALL.msg b/srcpkgs/RubyMine/INSTALL.msg
new file mode 100644
index 00000000000..6d15486619e
--- /dev/null
+++ b/srcpkgs/RubyMine/INSTALL.msg
@@ -0,0 +1,2 @@
+RubyMine has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/RubyMine/template b/srcpkgs/RubyMine/template
new file mode 100644
index 00000000000..568e5410084
--- /dev/null
+++ b/srcpkgs/RubyMine/template
@@ -0,0 +1,69 @@
+# Template file for 'RubyMine'
+pkgname=RubyMine
+version=2019.1.2
+revision=1
+archs="x86_64"
+depends="virtual?java-environment"
+short_desc="Most intelligent Ruby and Rails IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/ruby"
+distfiles="https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz"
+checksum=db60a07098d3fec4e72bcbd5e5c48638983e20817e41c3f83266733f2d8a0cfe
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/rubymine.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/RubyMine"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	vcopy rubystubs18 ${TARGET_PATH}
+	vcopy rubystubs19 ${TARGET_PATH}
+	vcopy rubystubs193 ${TARGET_PATH}
+	vcopy rubystubs20 ${TARGET_PATH}
+	vcopy rubystubs21 ${TARGET_PATH}
+	vcopy rubystubs22 ${TARGET_PATH}
+	vcopy rubystubs23 ${TARGET_PATH}
+	vcopy rubystubs24 ${TARGET_PATH}
+	vcopy rubystubs25 ${TARGET_PATH}
+	vcopy rubystubs26 ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/rubymine.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/RubyMine/update b/srcpkgs/RubyMine/update
new file mode 100644
index 00000000000..390bd071df0
--- /dev/null
+++ b/srcpkgs/RubyMine/update
@@ -0,0 +1,2 @@
+pattern="RubyMine-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=RM&latest=true&type=release"

From b1a81e87c0edb63694e244ce70908106b2373c49 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:31:31 -0700
Subject: [PATCH 06/15] Fix clion archs

---
 srcpkgs/CLion/template | 24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/CLion/template b/srcpkgs/CLion/template
index 5b0a8b8854e..c5f931de089 100644
--- a/srcpkgs/CLion/template
+++ b/srcpkgs/CLion/template
@@ -2,7 +2,7 @@
 pkgname=CLion
 version=2019.1.4
 revision=1
-archs="x86_64"
+archs="i686 x86_64"
 wrksrc="clion-${version}"
 depends="virtual?java-environment giflib libXtst"
 short_desc="Smart cross-platform IDE for C and C++"
@@ -17,13 +17,23 @@ nopie=yes
 
 post_extract() {
 	# Remove files for other CPU architectures
-	rm bin/fsnotifier-arm -rf
-	rm lib/pty4j-native/linux/ppc64le -rf
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
 
-	rm bin/fsnotifier
-	rm bin/clion.vmoptions
-	rm bin/libyjpagent-linux.so
-	rm lib/pty4j-native/linux/x86 -rf
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/clion.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/clion64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
 
 	# Remove JetBrains JDK
 	rm -rf jre64

From 30363e6c34ac502111c6198c01ef374b696fee14 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:31:44 -0700
Subject: [PATCH 07/15] Fix goland archs

---
 srcpkgs/GoLand/template | 24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/GoLand/template b/srcpkgs/GoLand/template
index 142f9ccd297..bb4fa6c0de5 100644
--- a/srcpkgs/GoLand/template
+++ b/srcpkgs/GoLand/template
@@ -2,7 +2,7 @@
 pkgname=GoLand
 version=2019.1.3
 revision=1
-archs="x86_64"
+archs="i686 x86_64"
 depends="virtual?java-environment"
 short_desc="Cross-platform IDE built specially for Go developers"
 maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
@@ -16,13 +16,23 @@ nopie=yes
 
 post_extract() {
 	# Remove files for other CPU architectures
-	rm bin/fsnotifier-arm -rf
-	rm lib/pty4j-native/linux/ppc64le -rf
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
 
-	rm bin/fsnotifier
-	rm bin/goland.vmoptions
-	rm bin/libyjpagent-linux.so
-	rm lib/pty4j-native/linux/x86 -rf
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/goland.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/goland64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
 }
 
 do_install() {

From 077917b79c57ab4a171403684c9f8ff4ea8f8681 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:32:01 -0700
Subject: [PATCH 08/15] fix rubymine archs

---
 srcpkgs/RubyMine/template | 24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/RubyMine/template b/srcpkgs/RubyMine/template
index 568e5410084..c3b264c8c5c 100644
--- a/srcpkgs/RubyMine/template
+++ b/srcpkgs/RubyMine/template
@@ -2,7 +2,7 @@
 pkgname=RubyMine
 version=2019.1.2
 revision=1
-archs="x86_64"
+archs="i686 x86_64"
 depends="virtual?java-environment"
 short_desc="Most intelligent Ruby and Rails IDE"
 maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
@@ -16,13 +16,23 @@ nopie=yes
 
 post_extract() {
 	# Remove files for other CPU architectures
-	rm bin/fsnotifier-arm -rf
-	rm lib/pty4j-native/linux/ppc64le -rf
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
 
-	rm bin/fsnotifier
-	rm bin/rubymine.vmoptions
-	rm bin/libyjpagent-linux.so
-	rm lib/pty4j-native/linux/x86 -rf
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/rubymine.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/rubymine64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
 }
 
 do_install() {

From 322b1acba71460aefa57b2aab5c1b08ed27ee6ea Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:32:27 -0700
Subject: [PATCH 09/15] fix webstorm archs

---
 srcpkgs/WebStorm/template | 24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/WebStorm/template b/srcpkgs/WebStorm/template
index 718215660e4..a579cdd41ee 100644
--- a/srcpkgs/WebStorm/template
+++ b/srcpkgs/WebStorm/template
@@ -2,7 +2,7 @@
 pkgname=WebStorm
 version=2019.1.3
 revision=1
-archs="x86_64"
+archs="i686 x86_64"
 wrksrc="WebStorm-191.7479.14"
 depends="virtual?java-environment"
 short_desc="Smartest JavaScript IDE"
@@ -17,13 +17,23 @@ nopie=yes
 
 post_extract() {
 	# Remove files for other CPU architectures
-	rm bin/fsnotifier-arm -rf
-	rm lib/pty4j-native/linux/ppc64le -rf
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
 
-	rm bin/fsnotifier
-	rm bin/webstorm.vmoptions
-	rm bin/libyjpagent-linux.so
-	rm lib/pty4j-native/linux/x86 -rf
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/webstorm.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/webstorm64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
 
 	rm -rf jre64
 }

From ba505a268520f76b373dbc7feac35872d97833dd Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:32:39 -0700
Subject: [PATCH 10/15] fix IU archs

---
 .../intellij-idea-ultimate-edition/template   | 31 +++++++++++++------
 1 file changed, 21 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
index b4c0bd37c73..0a7e2a3f5ff 100644
--- a/srcpkgs/intellij-idea-ultimate-edition/template
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -2,7 +2,7 @@
 pkgname=intellij-idea-ultimate-edition
 version=2019.1.3
 revision=1
-archs="x86_64"
+archs="i686 x86_64"
 wrksrc="idea-IU-191.7479.19"
 depends="virtual?java-environment giflib libXtst"
 short_desc="Most intelligent Java IDE"
@@ -18,18 +18,29 @@ conflicts="intellij-idea-community-edition"
 
 post_extract() {
 	# Remove files for other OSes
-	rm plugins/android/lib/libwebp/win -rf
-	rm plugins/android/lib/libwebp/mac -rf
+	rm -rf plugins/android/lib/libwebp/win
+	rm -rf plugins/android/lib/libwebp/mac
 
 	# Remove files for other CPU architectures
-	rm bin/fsnotifier-arm -rf
-	rm lib/pty4j-native/linux/ppc64le -rf
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
 
-	rm bin/fsnotifier
-	rm bin/idea.vmoptions
-	rm bin/libyjpagent-linux.so
-	rm plugins/android/lib/libwebp/linux/libwebp_jni.so
-	rm lib/pty4j-native/linux/x86 -rf
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/idea.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/idea64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
 }
 
 do_install() {

From 9f7707c605c69221544e9dad3b73686ec7f08886 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:37:56 -0700
Subject: [PATCH 11/15] fix webstorm license

---
 srcpkgs/WebStorm/template | 21 +++++----------------
 1 file changed, 5 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/WebStorm/template b/srcpkgs/WebStorm/template
index a579cdd41ee..6602c930613 100644
--- a/srcpkgs/WebStorm/template
+++ b/srcpkgs/WebStorm/template
@@ -39,26 +39,15 @@ post_extract() {
 }
 
 do_install() {
-	TARGET_PATH="usr/lib/WebStorm"
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
 
 	vmkdir usr/bin
 	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
 
-
-	for f in license/*; do
-		if [ -f ${f} ]; then
-			vlicense ${f}
-		fi
-	done
-
-	if [ -d "license/third-party" ]; then
-		for f in license/third-party/*; do
-			if [ -f ${f} ]; then
-				new_name="third-party-${f##*/}"
-				vlicense ${f} ${new_name}
-			fi
-		done
-	fi
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
 
 	vcopy bin ${TARGET_PATH}
 	vcopy help ${TARGET_PATH}

From 49139a65d2644892431245441512ddc772618c6a Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:47:15 -0700
Subject: [PATCH 12/15] fix clion license

---
 srcpkgs/CLion/template | 21 +++++----------------
 1 file changed, 5 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/CLion/template b/srcpkgs/CLion/template
index c5f931de089..2a3717ba1f4 100644
--- a/srcpkgs/CLion/template
+++ b/srcpkgs/CLion/template
@@ -43,26 +43,15 @@ post_extract() {
 }
 
 do_install() {
-	TARGET_PATH="usr/lib/CLion"
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
 
 	vmkdir usr/bin
 	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
 
-
-	for f in license/*; do
-		if [ -f ${f} ]; then
-			vlicense ${f}
-		fi
-	done
-
-	if [ -d "license/third-party" ]; then
-		for f in license/third-party/*; do
-			if [ -f ${f} ]; then
-				new_name="third-party-${f##*/}"
-				vlicense ${f} ${new_name}
-			fi
-		done
-	fi
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
 
 	vcopy bin ${TARGET_PATH}
 	vcopy help ${TARGET_PATH}

From e21bc1f647f5b07ba6927051c1bc44ea84f3c074 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:47:24 -0700
Subject: [PATCH 13/15] fix goland license

---
 srcpkgs/GoLand/template | 21 +++++----------------
 1 file changed, 5 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/GoLand/template b/srcpkgs/GoLand/template
index bb4fa6c0de5..cebfb255168 100644
--- a/srcpkgs/GoLand/template
+++ b/srcpkgs/GoLand/template
@@ -36,26 +36,15 @@ post_extract() {
 }
 
 do_install() {
-	TARGET_PATH="usr/lib/GoLand"
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
 
 	vmkdir usr/bin
 	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
 
-
-	for f in license/*; do
-		if [ -f ${f} ]; then
-			vlicense ${f}
-		fi
-	done
-
-	if [ -d "license/third-party" ]; then
-		for f in license/third-party/*; do
-			if [ -f ${f} ]; then
-				new_name="third-party-${f##*/}"
-				vlicense ${f} ${new_name}
-			fi
-		done
-	fi
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
 
 	vcopy bin ${TARGET_PATH}
 	vcopy help ${TARGET_PATH}

From 3e0ab9bbc9a4bf60eb016f59d3186d1291e7f52d Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:47:33 -0700
Subject: [PATCH 14/15] fix rubymine license

---
 srcpkgs/RubyMine/template | 21 +++++----------------
 1 file changed, 5 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/RubyMine/template b/srcpkgs/RubyMine/template
index c3b264c8c5c..7b674991b74 100644
--- a/srcpkgs/RubyMine/template
+++ b/srcpkgs/RubyMine/template
@@ -36,26 +36,15 @@ post_extract() {
 }
 
 do_install() {
-	TARGET_PATH="usr/lib/RubyMine"
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
 
 	vmkdir usr/bin
 	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
 
-
-	for f in license/*; do
-		if [ -f ${f} ]; then
-			vlicense ${f}
-		fi
-	done
-
-	if [ -d "license/third-party" ]; then
-		for f in license/third-party/*; do
-			if [ -f ${f} ]; then
-				new_name="third-party-${f##*/}"
-				vlicense ${f} ${new_name}
-			fi
-		done
-	fi
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
 
 	vcopy bin ${TARGET_PATH}
 	vcopy help ${TARGET_PATH}

From 9a66cde1be9aa33c54e8548f228f4629360e7946 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:47:44 -0700
Subject: [PATCH 15/15] fix iu license

---
 .../intellij-idea-ultimate-edition/template   | 21 +++++--------------
 1 file changed, 5 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
index 0a7e2a3f5ff..bb57f7ccd99 100644
--- a/srcpkgs/intellij-idea-ultimate-edition/template
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -44,26 +44,15 @@ post_extract() {
 }
 
 do_install() {
-	TARGET_PATH="usr/lib/intellij-idea-ultimate-edition"
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
 
 	vmkdir usr/bin
 	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
 
-
-	for f in license/*; do
-		if [ -f ${f} ]; then
-			vlicense ${f}
-		fi
-	done
-
-	if [ -d "license/third-party" ]; then
-		for f in license/third-party/*; do
-			if [ -f ${f} ]; then
-				new_name="third-party-${f##*/}"
-				vlicense ${f} ${new_name}
-			fi
-		done
-	fi
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
 
 	vcopy bin ${TARGET_PATH}
 	vcopy help ${TARGET_PATH}

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (11 preceding siblings ...)
  2019-06-20  7:06 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-06-20  7:06 ` voidlinux-github
  2019-06-20  7:08 ` voidlinux-github
                   ` (26 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-20  7:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: application/text/x-diff, Size: 29235 bytes --]

From 21a98792a21712d530b4de97ee77ef90215f7c13 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 23 Apr 2019 21:47:49 -0700
Subject: [PATCH 01/15] New package: intellij-idea-ultimate-edition-2019.1.3

---
 .../intellij-idea-community-edition/template  |  1 +
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 66 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 4 files changed, 71 insertions(+)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 961c22781af..7e40ed9c8fe 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -12,6 +12,7 @@ distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
 repository=nonfree
 nopie=yes
+conflicts="intellij-idea-ultimate-edition"
 
 post_extract() {
 	mv $XBPS_BUILDDIR/idea-IC-* ${wrksrc}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..b4c0bd37c73
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,66 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.3
+revision=1
+archs="x86_64"
+wrksrc="idea-IU-191.7479.19"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+repository=nonfree
+restricted=yes
+nopie=yes
+conflicts="intellij-idea-community-edition"
+
+post_extract() {
+	# Remove files for other OSes
+	rm plugins/android/lib/libwebp/win -rf
+	rm plugins/android/lib/libwebp/mac -rf
+
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/idea.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm plugins/android/lib/libwebp/linux/libwebp_jni.so
+	rm lib/pty4j-native/linux/x86 -rf
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/intellij-idea-ultimate-edition"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

From d72da1c7f46493e7a2063f5e4732c0b5e69beef1 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Mon, 29 Apr 2019 23:22:03 -0700
Subject: [PATCH 02/15] New package: CLion-2019.1.4

---
 srcpkgs/CLion/INSTALL.msg | 11 +++++++
 srcpkgs/CLion/template    | 65 +++++++++++++++++++++++++++++++++++++++
 srcpkgs/CLion/update      |  2 ++
 3 files changed, 78 insertions(+)
 create mode 100644 srcpkgs/CLion/INSTALL.msg
 create mode 100644 srcpkgs/CLion/template
 create mode 100644 srcpkgs/CLion/update

diff --git a/srcpkgs/CLion/INSTALL.msg b/srcpkgs/CLion/INSTALL.msg
new file mode 100644
index 00000000000..860cb2fb6b5
--- /dev/null
+++ b/srcpkgs/CLion/INSTALL.msg
@@ -0,0 +1,11 @@
+CLion has the following optional dependencies:
+	cmake: CMake tools/build system
+	gdb: Native GNU debugger
+	lldb: Native LLVM debugger
+	gcc: GNU compiler
+	clang: LLVM compiler
+	gtest: C++ testing
+	python: Python 2 programming language support
+	python3: Python 3 programming language support
+	doxygen: Code documentation generation
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/CLion/template b/srcpkgs/CLion/template
new file mode 100644
index 00000000000..5b0a8b8854e
--- /dev/null
+++ b/srcpkgs/CLion/template
@@ -0,0 +1,65 @@
+# Template file for 'CLion'
+pkgname=CLion
+version=2019.1.4
+revision=1
+archs="x86_64"
+wrksrc="clion-${version}"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Smart cross-platform IDE for C and C++"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/clion"
+distfiles="https://download.jetbrains.com/cpp/CLion-${version}.tar.gz"
+checksum=c9249f7a378b66071e4c4308a339bfd3afa38765e9316ffaaeeec66fcb3b8bb1
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/clion.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+
+	# Remove JetBrains JDK
+	rm -rf jre64
+
+	# TODO: JetBrains' LLDB, GDB, and CMake can be made installable via separate subpackages
+	# bin/lldb bin/gdb bin/cmake
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/CLion"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/clion.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/CLion/update b/srcpkgs/CLion/update
new file mode 100644
index 00000000000..162c3615358
--- /dev/null
+++ b/srcpkgs/CLion/update
@@ -0,0 +1,2 @@
+pattern="CLion-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=CL&latest=true&type=release"

From 4433d5d1a5b53c256a8db65f27b69a3714bc9cb5 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 7 May 2019 01:03:29 -0700
Subject: [PATCH 03/15] New package: WebStorm-2019.1.3

---
 srcpkgs/WebStorm/INSTALL.msg |  2 ++
 srcpkgs/WebStorm/template    | 61 ++++++++++++++++++++++++++++++++++++
 srcpkgs/WebStorm/update      |  2 ++
 3 files changed, 65 insertions(+)
 create mode 100644 srcpkgs/WebStorm/INSTALL.msg
 create mode 100644 srcpkgs/WebStorm/template
 create mode 100644 srcpkgs/WebStorm/update

diff --git a/srcpkgs/WebStorm/INSTALL.msg b/srcpkgs/WebStorm/INSTALL.msg
new file mode 100644
index 00000000000..8fe3d069415
--- /dev/null
+++ b/srcpkgs/WebStorm/INSTALL.msg
@@ -0,0 +1,2 @@
+WebStorm has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/WebStorm/template b/srcpkgs/WebStorm/template
new file mode 100644
index 00000000000..718215660e4
--- /dev/null
+++ b/srcpkgs/WebStorm/template
@@ -0,0 +1,61 @@
+# Template file for 'WebStorm'
+pkgname=WebStorm
+version=2019.1.3
+revision=1
+archs="x86_64"
+wrksrc="WebStorm-191.7479.14"
+depends="virtual?java-environment"
+short_desc="Smartest JavaScript IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/webstorm"
+distfiles="https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz"
+checksum=c3ef27051f6de608ee679035957a8a4329897c910b046cb2dbbf840cc8151dae
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/webstorm.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+
+	rm -rf jre64
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/WebStorm"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/webstorm.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/WebStorm/update b/srcpkgs/WebStorm/update
new file mode 100644
index 00000000000..a284d8a6436
--- /dev/null
+++ b/srcpkgs/WebStorm/update
@@ -0,0 +1,2 @@
+pattern="WebStorm-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=WS&latest=true&type=release"

From b90005ff9ef886d519766252c699026f85e84280 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 8 May 2019 00:29:30 -0700
Subject: [PATCH 04/15] New package: GoLand-2019.1.3

---
 srcpkgs/GoLand/INSTALL.msg |  2 ++
 srcpkgs/GoLand/template    | 58 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/GoLand/update      |  2 ++
 3 files changed, 62 insertions(+)
 create mode 100644 srcpkgs/GoLand/INSTALL.msg
 create mode 100644 srcpkgs/GoLand/template
 create mode 100644 srcpkgs/GoLand/update

diff --git a/srcpkgs/GoLand/INSTALL.msg b/srcpkgs/GoLand/INSTALL.msg
new file mode 100644
index 00000000000..0dbec18343d
--- /dev/null
+++ b/srcpkgs/GoLand/INSTALL.msg
@@ -0,0 +1,2 @@
+GoLand has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/GoLand/template b/srcpkgs/GoLand/template
new file mode 100644
index 00000000000..142f9ccd297
--- /dev/null
+++ b/srcpkgs/GoLand/template
@@ -0,0 +1,58 @@
+# Template file for 'GoLand'
+pkgname=GoLand
+version=2019.1.3
+revision=1
+archs="x86_64"
+depends="virtual?java-environment"
+short_desc="Cross-platform IDE built specially for Go developers"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/go"
+distfiles="https://download.jetbrains.com/go/goland-${version}.tar.gz"
+checksum=b0e22be860ead904c88595f005d5fe2b0fea310c15a1d8551372b5c336d1895b
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/goland.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/GoLand"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/goland.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/GoLand/update b/srcpkgs/GoLand/update
new file mode 100644
index 00000000000..52dc447c59e
--- /dev/null
+++ b/srcpkgs/GoLand/update
@@ -0,0 +1,2 @@
+pattern="goland-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=GO&latest=true&type=release"

From fa8e658b9f035c20aac27f60fc0df2eee62240ec Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Sat, 11 May 2019 21:32:48 -0700
Subject: [PATCH 05/15] New package: RubyMine-2019.1.2

---
 srcpkgs/RubyMine/INSTALL.msg |  2 ++
 srcpkgs/RubyMine/template    | 69 ++++++++++++++++++++++++++++++++++++
 srcpkgs/RubyMine/update      |  2 ++
 3 files changed, 73 insertions(+)
 create mode 100644 srcpkgs/RubyMine/INSTALL.msg
 create mode 100644 srcpkgs/RubyMine/template
 create mode 100644 srcpkgs/RubyMine/update

diff --git a/srcpkgs/RubyMine/INSTALL.msg b/srcpkgs/RubyMine/INSTALL.msg
new file mode 100644
index 00000000000..6d15486619e
--- /dev/null
+++ b/srcpkgs/RubyMine/INSTALL.msg
@@ -0,0 +1,2 @@
+RubyMine has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/RubyMine/template b/srcpkgs/RubyMine/template
new file mode 100644
index 00000000000..568e5410084
--- /dev/null
+++ b/srcpkgs/RubyMine/template
@@ -0,0 +1,69 @@
+# Template file for 'RubyMine'
+pkgname=RubyMine
+version=2019.1.2
+revision=1
+archs="x86_64"
+depends="virtual?java-environment"
+short_desc="Most intelligent Ruby and Rails IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/ruby"
+distfiles="https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz"
+checksum=db60a07098d3fec4e72bcbd5e5c48638983e20817e41c3f83266733f2d8a0cfe
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm bin/fsnotifier-arm -rf
+	rm lib/pty4j-native/linux/ppc64le -rf
+
+	rm bin/fsnotifier
+	rm bin/rubymine.vmoptions
+	rm bin/libyjpagent-linux.so
+	rm lib/pty4j-native/linux/x86 -rf
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/RubyMine"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+
+
+	for f in license/*; do
+		if [ -f ${f} ]; then
+			vlicense ${f}
+		fi
+	done
+
+	if [ -d "license/third-party" ]; then
+		for f in license/third-party/*; do
+			if [ -f ${f} ]; then
+				new_name="third-party-${f##*/}"
+				vlicense ${f} ${new_name}
+			fi
+		done
+	fi
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	vcopy rubystubs18 ${TARGET_PATH}
+	vcopy rubystubs19 ${TARGET_PATH}
+	vcopy rubystubs193 ${TARGET_PATH}
+	vcopy rubystubs20 ${TARGET_PATH}
+	vcopy rubystubs21 ${TARGET_PATH}
+	vcopy rubystubs22 ${TARGET_PATH}
+	vcopy rubystubs23 ${TARGET_PATH}
+	vcopy rubystubs24 ${TARGET_PATH}
+	vcopy rubystubs25 ${TARGET_PATH}
+	vcopy rubystubs26 ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/rubymine.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/RubyMine/update b/srcpkgs/RubyMine/update
new file mode 100644
index 00000000000..390bd071df0
--- /dev/null
+++ b/srcpkgs/RubyMine/update
@@ -0,0 +1,2 @@
+pattern="RubyMine-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=RM&latest=true&type=release"

From b1a81e87c0edb63694e244ce70908106b2373c49 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:31:31 -0700
Subject: [PATCH 06/15] Fix clion archs

---
 srcpkgs/CLion/template | 24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/CLion/template b/srcpkgs/CLion/template
index 5b0a8b8854e..c5f931de089 100644
--- a/srcpkgs/CLion/template
+++ b/srcpkgs/CLion/template
@@ -2,7 +2,7 @@
 pkgname=CLion
 version=2019.1.4
 revision=1
-archs="x86_64"
+archs="i686 x86_64"
 wrksrc="clion-${version}"
 depends="virtual?java-environment giflib libXtst"
 short_desc="Smart cross-platform IDE for C and C++"
@@ -17,13 +17,23 @@ nopie=yes
 
 post_extract() {
 	# Remove files for other CPU architectures
-	rm bin/fsnotifier-arm -rf
-	rm lib/pty4j-native/linux/ppc64le -rf
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
 
-	rm bin/fsnotifier
-	rm bin/clion.vmoptions
-	rm bin/libyjpagent-linux.so
-	rm lib/pty4j-native/linux/x86 -rf
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/clion.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/clion64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
 
 	# Remove JetBrains JDK
 	rm -rf jre64

From 30363e6c34ac502111c6198c01ef374b696fee14 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:31:44 -0700
Subject: [PATCH 07/15] Fix goland archs

---
 srcpkgs/GoLand/template | 24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/GoLand/template b/srcpkgs/GoLand/template
index 142f9ccd297..bb4fa6c0de5 100644
--- a/srcpkgs/GoLand/template
+++ b/srcpkgs/GoLand/template
@@ -2,7 +2,7 @@
 pkgname=GoLand
 version=2019.1.3
 revision=1
-archs="x86_64"
+archs="i686 x86_64"
 depends="virtual?java-environment"
 short_desc="Cross-platform IDE built specially for Go developers"
 maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
@@ -16,13 +16,23 @@ nopie=yes
 
 post_extract() {
 	# Remove files for other CPU architectures
-	rm bin/fsnotifier-arm -rf
-	rm lib/pty4j-native/linux/ppc64le -rf
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
 
-	rm bin/fsnotifier
-	rm bin/goland.vmoptions
-	rm bin/libyjpagent-linux.so
-	rm lib/pty4j-native/linux/x86 -rf
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/goland.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/goland64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
 }
 
 do_install() {

From 077917b79c57ab4a171403684c9f8ff4ea8f8681 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:32:01 -0700
Subject: [PATCH 08/15] fix rubymine archs

---
 srcpkgs/RubyMine/template | 24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/RubyMine/template b/srcpkgs/RubyMine/template
index 568e5410084..c3b264c8c5c 100644
--- a/srcpkgs/RubyMine/template
+++ b/srcpkgs/RubyMine/template
@@ -2,7 +2,7 @@
 pkgname=RubyMine
 version=2019.1.2
 revision=1
-archs="x86_64"
+archs="i686 x86_64"
 depends="virtual?java-environment"
 short_desc="Most intelligent Ruby and Rails IDE"
 maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
@@ -16,13 +16,23 @@ nopie=yes
 
 post_extract() {
 	# Remove files for other CPU architectures
-	rm bin/fsnotifier-arm -rf
-	rm lib/pty4j-native/linux/ppc64le -rf
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
 
-	rm bin/fsnotifier
-	rm bin/rubymine.vmoptions
-	rm bin/libyjpagent-linux.so
-	rm lib/pty4j-native/linux/x86 -rf
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/rubymine.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/rubymine64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
 }
 
 do_install() {

From 322b1acba71460aefa57b2aab5c1b08ed27ee6ea Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:32:27 -0700
Subject: [PATCH 09/15] fix webstorm archs

---
 srcpkgs/WebStorm/template | 24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/WebStorm/template b/srcpkgs/WebStorm/template
index 718215660e4..a579cdd41ee 100644
--- a/srcpkgs/WebStorm/template
+++ b/srcpkgs/WebStorm/template
@@ -2,7 +2,7 @@
 pkgname=WebStorm
 version=2019.1.3
 revision=1
-archs="x86_64"
+archs="i686 x86_64"
 wrksrc="WebStorm-191.7479.14"
 depends="virtual?java-environment"
 short_desc="Smartest JavaScript IDE"
@@ -17,13 +17,23 @@ nopie=yes
 
 post_extract() {
 	# Remove files for other CPU architectures
-	rm bin/fsnotifier-arm -rf
-	rm lib/pty4j-native/linux/ppc64le -rf
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
 
-	rm bin/fsnotifier
-	rm bin/webstorm.vmoptions
-	rm bin/libyjpagent-linux.so
-	rm lib/pty4j-native/linux/x86 -rf
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/webstorm.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/webstorm64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
 
 	rm -rf jre64
 }

From ba505a268520f76b373dbc7feac35872d97833dd Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:32:39 -0700
Subject: [PATCH 10/15] fix IU archs

---
 .../intellij-idea-ultimate-edition/template   | 31 +++++++++++++------
 1 file changed, 21 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
index b4c0bd37c73..0a7e2a3f5ff 100644
--- a/srcpkgs/intellij-idea-ultimate-edition/template
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -2,7 +2,7 @@
 pkgname=intellij-idea-ultimate-edition
 version=2019.1.3
 revision=1
-archs="x86_64"
+archs="i686 x86_64"
 wrksrc="idea-IU-191.7479.19"
 depends="virtual?java-environment giflib libXtst"
 short_desc="Most intelligent Java IDE"
@@ -18,18 +18,29 @@ conflicts="intellij-idea-community-edition"
 
 post_extract() {
 	# Remove files for other OSes
-	rm plugins/android/lib/libwebp/win -rf
-	rm plugins/android/lib/libwebp/mac -rf
+	rm -rf plugins/android/lib/libwebp/win
+	rm -rf plugins/android/lib/libwebp/mac
 
 	# Remove files for other CPU architectures
-	rm bin/fsnotifier-arm -rf
-	rm lib/pty4j-native/linux/ppc64le -rf
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
 
-	rm bin/fsnotifier
-	rm bin/idea.vmoptions
-	rm bin/libyjpagent-linux.so
-	rm plugins/android/lib/libwebp/linux/libwebp_jni.so
-	rm lib/pty4j-native/linux/x86 -rf
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/idea.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/idea64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
 }
 
 do_install() {

From 9f7707c605c69221544e9dad3b73686ec7f08886 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:37:56 -0700
Subject: [PATCH 11/15] fix webstorm license

---
 srcpkgs/WebStorm/template | 21 +++++----------------
 1 file changed, 5 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/WebStorm/template b/srcpkgs/WebStorm/template
index a579cdd41ee..6602c930613 100644
--- a/srcpkgs/WebStorm/template
+++ b/srcpkgs/WebStorm/template
@@ -39,26 +39,15 @@ post_extract() {
 }
 
 do_install() {
-	TARGET_PATH="usr/lib/WebStorm"
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
 
 	vmkdir usr/bin
 	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
 
-
-	for f in license/*; do
-		if [ -f ${f} ]; then
-			vlicense ${f}
-		fi
-	done
-
-	if [ -d "license/third-party" ]; then
-		for f in license/third-party/*; do
-			if [ -f ${f} ]; then
-				new_name="third-party-${f##*/}"
-				vlicense ${f} ${new_name}
-			fi
-		done
-	fi
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
 
 	vcopy bin ${TARGET_PATH}
 	vcopy help ${TARGET_PATH}

From 49139a65d2644892431245441512ddc772618c6a Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:47:15 -0700
Subject: [PATCH 12/15] fix clion license

---
 srcpkgs/CLion/template | 21 +++++----------------
 1 file changed, 5 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/CLion/template b/srcpkgs/CLion/template
index c5f931de089..2a3717ba1f4 100644
--- a/srcpkgs/CLion/template
+++ b/srcpkgs/CLion/template
@@ -43,26 +43,15 @@ post_extract() {
 }
 
 do_install() {
-	TARGET_PATH="usr/lib/CLion"
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
 
 	vmkdir usr/bin
 	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
 
-
-	for f in license/*; do
-		if [ -f ${f} ]; then
-			vlicense ${f}
-		fi
-	done
-
-	if [ -d "license/third-party" ]; then
-		for f in license/third-party/*; do
-			if [ -f ${f} ]; then
-				new_name="third-party-${f##*/}"
-				vlicense ${f} ${new_name}
-			fi
-		done
-	fi
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
 
 	vcopy bin ${TARGET_PATH}
 	vcopy help ${TARGET_PATH}

From e21bc1f647f5b07ba6927051c1bc44ea84f3c074 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:47:24 -0700
Subject: [PATCH 13/15] fix goland license

---
 srcpkgs/GoLand/template | 21 +++++----------------
 1 file changed, 5 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/GoLand/template b/srcpkgs/GoLand/template
index bb4fa6c0de5..cebfb255168 100644
--- a/srcpkgs/GoLand/template
+++ b/srcpkgs/GoLand/template
@@ -36,26 +36,15 @@ post_extract() {
 }
 
 do_install() {
-	TARGET_PATH="usr/lib/GoLand"
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
 
 	vmkdir usr/bin
 	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
 
-
-	for f in license/*; do
-		if [ -f ${f} ]; then
-			vlicense ${f}
-		fi
-	done
-
-	if [ -d "license/third-party" ]; then
-		for f in license/third-party/*; do
-			if [ -f ${f} ]; then
-				new_name="third-party-${f##*/}"
-				vlicense ${f} ${new_name}
-			fi
-		done
-	fi
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
 
 	vcopy bin ${TARGET_PATH}
 	vcopy help ${TARGET_PATH}

From 3e0ab9bbc9a4bf60eb016f59d3186d1291e7f52d Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:47:33 -0700
Subject: [PATCH 14/15] fix rubymine license

---
 srcpkgs/RubyMine/template | 21 +++++----------------
 1 file changed, 5 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/RubyMine/template b/srcpkgs/RubyMine/template
index c3b264c8c5c..7b674991b74 100644
--- a/srcpkgs/RubyMine/template
+++ b/srcpkgs/RubyMine/template
@@ -36,26 +36,15 @@ post_extract() {
 }
 
 do_install() {
-	TARGET_PATH="usr/lib/RubyMine"
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
 
 	vmkdir usr/bin
 	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
 
-
-	for f in license/*; do
-		if [ -f ${f} ]; then
-			vlicense ${f}
-		fi
-	done
-
-	if [ -d "license/third-party" ]; then
-		for f in license/third-party/*; do
-			if [ -f ${f} ]; then
-				new_name="third-party-${f##*/}"
-				vlicense ${f} ${new_name}
-			fi
-		done
-	fi
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
 
 	vcopy bin ${TARGET_PATH}
 	vcopy help ${TARGET_PATH}

From 9a66cde1be9aa33c54e8548f228f4629360e7946 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 19 Jun 2019 23:47:44 -0700
Subject: [PATCH 15/15] fix iu license

---
 .../intellij-idea-ultimate-edition/template   | 21 +++++--------------
 1 file changed, 5 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
index 0a7e2a3f5ff..bb57f7ccd99 100644
--- a/srcpkgs/intellij-idea-ultimate-edition/template
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -44,26 +44,15 @@ post_extract() {
 }
 
 do_install() {
-	TARGET_PATH="usr/lib/intellij-idea-ultimate-edition"
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
 
 	vmkdir usr/bin
 	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
 
-
-	for f in license/*; do
-		if [ -f ${f} ]; then
-			vlicense ${f}
-		fi
-	done
-
-	if [ -d "license/third-party" ]; then
-		for f in license/third-party/*; do
-			if [ -f ${f} ]; then
-				new_name="third-party-${f##*/}"
-				vlicense ${f} ${new_name}
-			fi
-		done
-	fi
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
 
 	vcopy bin ${TARGET_PATH}
 	vcopy help ${TARGET_PATH}

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (12 preceding siblings ...)
  2019-06-20  7:06 ` voidlinux-github
@ 2019-06-20  7:08 ` voidlinux-github
  2019-06-20  7:08 ` voidlinux-github
                   ` (25 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-20  7:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: application/text/x-diff, Size: 16427 bytes --]

From 408d25296fb77643e4263231e79dffd6dba4016d Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 23 Apr 2019 21:47:49 -0700
Subject: [PATCH 1/5] New package: intellij-idea-ultimate-edition-2019.1.3

---
 .../intellij-idea-community-edition/template  |  1 +
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 66 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 4 files changed, 71 insertions(+)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 961c22781af..7e40ed9c8fe 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -12,6 +12,7 @@ distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
 repository=nonfree
 nopie=yes
+conflicts="intellij-idea-ultimate-edition"
 
 post_extract() {
 	mv $XBPS_BUILDDIR/idea-IC-* ${wrksrc}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..bb57f7ccd99
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,66 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.3
+revision=1
+archs="i686 x86_64"
+wrksrc="idea-IU-191.7479.19"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+repository=nonfree
+restricted=yes
+nopie=yes
+conflicts="intellij-idea-community-edition"
+
+post_extract() {
+	# Remove files for other OSes
+	rm -rf plugins/android/lib/libwebp/win
+	rm -rf plugins/android/lib/libwebp/mac
+
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/idea.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/idea64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

From 28127107a777872ab45dad26c1c83a1477af034d Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Mon, 29 Apr 2019 23:22:03 -0700
Subject: [PATCH 2/5] New package: CLion-2019.1.4

---
 srcpkgs/CLion/INSTALL.msg | 11 +++++++
 srcpkgs/CLion/template    | 64 +++++++++++++++++++++++++++++++++++++++
 srcpkgs/CLion/update      |  2 ++
 3 files changed, 77 insertions(+)
 create mode 100644 srcpkgs/CLion/INSTALL.msg
 create mode 100644 srcpkgs/CLion/template
 create mode 100644 srcpkgs/CLion/update

diff --git a/srcpkgs/CLion/INSTALL.msg b/srcpkgs/CLion/INSTALL.msg
new file mode 100644
index 00000000000..860cb2fb6b5
--- /dev/null
+++ b/srcpkgs/CLion/INSTALL.msg
@@ -0,0 +1,11 @@
+CLion has the following optional dependencies:
+	cmake: CMake tools/build system
+	gdb: Native GNU debugger
+	lldb: Native LLVM debugger
+	gcc: GNU compiler
+	clang: LLVM compiler
+	gtest: C++ testing
+	python: Python 2 programming language support
+	python3: Python 3 programming language support
+	doxygen: Code documentation generation
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/CLion/template b/srcpkgs/CLion/template
new file mode 100644
index 00000000000..2a3717ba1f4
--- /dev/null
+++ b/srcpkgs/CLion/template
@@ -0,0 +1,64 @@
+# Template file for 'CLion'
+pkgname=CLion
+version=2019.1.4
+revision=1
+archs="i686 x86_64"
+wrksrc="clion-${version}"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Smart cross-platform IDE for C and C++"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/clion"
+distfiles="https://download.jetbrains.com/cpp/CLion-${version}.tar.gz"
+checksum=c9249f7a378b66071e4c4308a339bfd3afa38765e9316ffaaeeec66fcb3b8bb1
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/clion.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/clion64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+
+	# Remove JetBrains JDK
+	rm -rf jre64
+
+	# TODO: JetBrains' LLDB, GDB, and CMake can be made installable via separate subpackages
+	# bin/lldb bin/gdb bin/cmake
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/clion.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/CLion/update b/srcpkgs/CLion/update
new file mode 100644
index 00000000000..162c3615358
--- /dev/null
+++ b/srcpkgs/CLion/update
@@ -0,0 +1,2 @@
+pattern="CLion-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=CL&latest=true&type=release"

From e2c15ac3aed64352d1a69fbdd9e09f074bbc73b3 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 7 May 2019 01:03:29 -0700
Subject: [PATCH 3/5] New package: WebStorm-2019.1.3

---
 srcpkgs/WebStorm/INSTALL.msg |  2 ++
 srcpkgs/WebStorm/template    | 60 ++++++++++++++++++++++++++++++++++++
 srcpkgs/WebStorm/update      |  2 ++
 3 files changed, 64 insertions(+)
 create mode 100644 srcpkgs/WebStorm/INSTALL.msg
 create mode 100644 srcpkgs/WebStorm/template
 create mode 100644 srcpkgs/WebStorm/update

diff --git a/srcpkgs/WebStorm/INSTALL.msg b/srcpkgs/WebStorm/INSTALL.msg
new file mode 100644
index 00000000000..8fe3d069415
--- /dev/null
+++ b/srcpkgs/WebStorm/INSTALL.msg
@@ -0,0 +1,2 @@
+WebStorm has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/WebStorm/template b/srcpkgs/WebStorm/template
new file mode 100644
index 00000000000..6602c930613
--- /dev/null
+++ b/srcpkgs/WebStorm/template
@@ -0,0 +1,60 @@
+# Template file for 'WebStorm'
+pkgname=WebStorm
+version=2019.1.3
+revision=1
+archs="i686 x86_64"
+wrksrc="WebStorm-191.7479.14"
+depends="virtual?java-environment"
+short_desc="Smartest JavaScript IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/webstorm"
+distfiles="https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz"
+checksum=c3ef27051f6de608ee679035957a8a4329897c910b046cb2dbbf840cc8151dae
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/webstorm.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/webstorm64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+
+	rm -rf jre64
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/webstorm.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/WebStorm/update b/srcpkgs/WebStorm/update
new file mode 100644
index 00000000000..a284d8a6436
--- /dev/null
+++ b/srcpkgs/WebStorm/update
@@ -0,0 +1,2 @@
+pattern="WebStorm-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=WS&latest=true&type=release"

From 7b95a74fb733d03089f23512c0600e1f236be275 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 8 May 2019 00:29:30 -0700
Subject: [PATCH 4/5] New package: GoLand-2019.1.3

---
 srcpkgs/GoLand/INSTALL.msg |  2 ++
 srcpkgs/GoLand/template    | 57 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/GoLand/update      |  2 ++
 3 files changed, 61 insertions(+)
 create mode 100644 srcpkgs/GoLand/INSTALL.msg
 create mode 100644 srcpkgs/GoLand/template
 create mode 100644 srcpkgs/GoLand/update

diff --git a/srcpkgs/GoLand/INSTALL.msg b/srcpkgs/GoLand/INSTALL.msg
new file mode 100644
index 00000000000..0dbec18343d
--- /dev/null
+++ b/srcpkgs/GoLand/INSTALL.msg
@@ -0,0 +1,2 @@
+GoLand has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/GoLand/template b/srcpkgs/GoLand/template
new file mode 100644
index 00000000000..cebfb255168
--- /dev/null
+++ b/srcpkgs/GoLand/template
@@ -0,0 +1,57 @@
+# Template file for 'GoLand'
+pkgname=GoLand
+version=2019.1.3
+revision=1
+archs="i686 x86_64"
+depends="virtual?java-environment"
+short_desc="Cross-platform IDE built specially for Go developers"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/go"
+distfiles="https://download.jetbrains.com/go/goland-${version}.tar.gz"
+checksum=b0e22be860ead904c88595f005d5fe2b0fea310c15a1d8551372b5c336d1895b
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/goland.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/goland64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/goland.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/GoLand/update b/srcpkgs/GoLand/update
new file mode 100644
index 00000000000..52dc447c59e
--- /dev/null
+++ b/srcpkgs/GoLand/update
@@ -0,0 +1,2 @@
+pattern="goland-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=GO&latest=true&type=release"

From 19d4c51e0c3d9653db1375f9cf9e9a4b29f187c1 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Sat, 11 May 2019 21:32:48 -0700
Subject: [PATCH 5/5] New package: RubyMine-2019.1.2

---
 srcpkgs/RubyMine/INSTALL.msg |  2 ++
 srcpkgs/RubyMine/template    | 68 ++++++++++++++++++++++++++++++++++++
 srcpkgs/RubyMine/update      |  2 ++
 3 files changed, 72 insertions(+)
 create mode 100644 srcpkgs/RubyMine/INSTALL.msg
 create mode 100644 srcpkgs/RubyMine/template
 create mode 100644 srcpkgs/RubyMine/update

diff --git a/srcpkgs/RubyMine/INSTALL.msg b/srcpkgs/RubyMine/INSTALL.msg
new file mode 100644
index 00000000000..6d15486619e
--- /dev/null
+++ b/srcpkgs/RubyMine/INSTALL.msg
@@ -0,0 +1,2 @@
+RubyMine has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/RubyMine/template b/srcpkgs/RubyMine/template
new file mode 100644
index 00000000000..7b674991b74
--- /dev/null
+++ b/srcpkgs/RubyMine/template
@@ -0,0 +1,68 @@
+# Template file for 'RubyMine'
+pkgname=RubyMine
+version=2019.1.2
+revision=1
+archs="i686 x86_64"
+depends="virtual?java-environment"
+short_desc="Most intelligent Ruby and Rails IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/ruby"
+distfiles="https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz"
+checksum=db60a07098d3fec4e72bcbd5e5c48638983e20817e41c3f83266733f2d8a0cfe
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/rubymine.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/rubymine64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	vcopy rubystubs18 ${TARGET_PATH}
+	vcopy rubystubs19 ${TARGET_PATH}
+	vcopy rubystubs193 ${TARGET_PATH}
+	vcopy rubystubs20 ${TARGET_PATH}
+	vcopy rubystubs21 ${TARGET_PATH}
+	vcopy rubystubs22 ${TARGET_PATH}
+	vcopy rubystubs23 ${TARGET_PATH}
+	vcopy rubystubs24 ${TARGET_PATH}
+	vcopy rubystubs25 ${TARGET_PATH}
+	vcopy rubystubs26 ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/rubymine.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/RubyMine/update b/srcpkgs/RubyMine/update
new file mode 100644
index 00000000000..390bd071df0
--- /dev/null
+++ b/srcpkgs/RubyMine/update
@@ -0,0 +1,2 @@
+pattern="RubyMine-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=RM&latest=true&type=release"

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (13 preceding siblings ...)
  2019-06-20  7:08 ` voidlinux-github
@ 2019-06-20  7:08 ` voidlinux-github
  2019-06-22 18:09 ` voidlinux-github
                   ` (24 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-20  7:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: application/text/x-diff, Size: 16427 bytes --]

From 408d25296fb77643e4263231e79dffd6dba4016d Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 23 Apr 2019 21:47:49 -0700
Subject: [PATCH 1/5] New package: intellij-idea-ultimate-edition-2019.1.3

---
 .../intellij-idea-community-edition/template  |  1 +
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 66 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 4 files changed, 71 insertions(+)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 961c22781af..7e40ed9c8fe 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -12,6 +12,7 @@ distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
 repository=nonfree
 nopie=yes
+conflicts="intellij-idea-ultimate-edition"
 
 post_extract() {
 	mv $XBPS_BUILDDIR/idea-IC-* ${wrksrc}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..bb57f7ccd99
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,66 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.3
+revision=1
+archs="i686 x86_64"
+wrksrc="idea-IU-191.7479.19"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+repository=nonfree
+restricted=yes
+nopie=yes
+conflicts="intellij-idea-community-edition"
+
+post_extract() {
+	# Remove files for other OSes
+	rm -rf plugins/android/lib/libwebp/win
+	rm -rf plugins/android/lib/libwebp/mac
+
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/idea.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/idea64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

From 28127107a777872ab45dad26c1c83a1477af034d Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Mon, 29 Apr 2019 23:22:03 -0700
Subject: [PATCH 2/5] New package: CLion-2019.1.4

---
 srcpkgs/CLion/INSTALL.msg | 11 +++++++
 srcpkgs/CLion/template    | 64 +++++++++++++++++++++++++++++++++++++++
 srcpkgs/CLion/update      |  2 ++
 3 files changed, 77 insertions(+)
 create mode 100644 srcpkgs/CLion/INSTALL.msg
 create mode 100644 srcpkgs/CLion/template
 create mode 100644 srcpkgs/CLion/update

diff --git a/srcpkgs/CLion/INSTALL.msg b/srcpkgs/CLion/INSTALL.msg
new file mode 100644
index 00000000000..860cb2fb6b5
--- /dev/null
+++ b/srcpkgs/CLion/INSTALL.msg
@@ -0,0 +1,11 @@
+CLion has the following optional dependencies:
+	cmake: CMake tools/build system
+	gdb: Native GNU debugger
+	lldb: Native LLVM debugger
+	gcc: GNU compiler
+	clang: LLVM compiler
+	gtest: C++ testing
+	python: Python 2 programming language support
+	python3: Python 3 programming language support
+	doxygen: Code documentation generation
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/CLion/template b/srcpkgs/CLion/template
new file mode 100644
index 00000000000..2a3717ba1f4
--- /dev/null
+++ b/srcpkgs/CLion/template
@@ -0,0 +1,64 @@
+# Template file for 'CLion'
+pkgname=CLion
+version=2019.1.4
+revision=1
+archs="i686 x86_64"
+wrksrc="clion-${version}"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Smart cross-platform IDE for C and C++"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/clion"
+distfiles="https://download.jetbrains.com/cpp/CLion-${version}.tar.gz"
+checksum=c9249f7a378b66071e4c4308a339bfd3afa38765e9316ffaaeeec66fcb3b8bb1
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/clion.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/clion64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+
+	# Remove JetBrains JDK
+	rm -rf jre64
+
+	# TODO: JetBrains' LLDB, GDB, and CMake can be made installable via separate subpackages
+	# bin/lldb bin/gdb bin/cmake
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/clion.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/CLion/update b/srcpkgs/CLion/update
new file mode 100644
index 00000000000..162c3615358
--- /dev/null
+++ b/srcpkgs/CLion/update
@@ -0,0 +1,2 @@
+pattern="CLion-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=CL&latest=true&type=release"

From e2c15ac3aed64352d1a69fbdd9e09f074bbc73b3 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 7 May 2019 01:03:29 -0700
Subject: [PATCH 3/5] New package: WebStorm-2019.1.3

---
 srcpkgs/WebStorm/INSTALL.msg |  2 ++
 srcpkgs/WebStorm/template    | 60 ++++++++++++++++++++++++++++++++++++
 srcpkgs/WebStorm/update      |  2 ++
 3 files changed, 64 insertions(+)
 create mode 100644 srcpkgs/WebStorm/INSTALL.msg
 create mode 100644 srcpkgs/WebStorm/template
 create mode 100644 srcpkgs/WebStorm/update

diff --git a/srcpkgs/WebStorm/INSTALL.msg b/srcpkgs/WebStorm/INSTALL.msg
new file mode 100644
index 00000000000..8fe3d069415
--- /dev/null
+++ b/srcpkgs/WebStorm/INSTALL.msg
@@ -0,0 +1,2 @@
+WebStorm has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/WebStorm/template b/srcpkgs/WebStorm/template
new file mode 100644
index 00000000000..6602c930613
--- /dev/null
+++ b/srcpkgs/WebStorm/template
@@ -0,0 +1,60 @@
+# Template file for 'WebStorm'
+pkgname=WebStorm
+version=2019.1.3
+revision=1
+archs="i686 x86_64"
+wrksrc="WebStorm-191.7479.14"
+depends="virtual?java-environment"
+short_desc="Smartest JavaScript IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/webstorm"
+distfiles="https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz"
+checksum=c3ef27051f6de608ee679035957a8a4329897c910b046cb2dbbf840cc8151dae
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/webstorm.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/webstorm64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+
+	rm -rf jre64
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/webstorm.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/WebStorm/update b/srcpkgs/WebStorm/update
new file mode 100644
index 00000000000..a284d8a6436
--- /dev/null
+++ b/srcpkgs/WebStorm/update
@@ -0,0 +1,2 @@
+pattern="WebStorm-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=WS&latest=true&type=release"

From 7b95a74fb733d03089f23512c0600e1f236be275 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 8 May 2019 00:29:30 -0700
Subject: [PATCH 4/5] New package: GoLand-2019.1.3

---
 srcpkgs/GoLand/INSTALL.msg |  2 ++
 srcpkgs/GoLand/template    | 57 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/GoLand/update      |  2 ++
 3 files changed, 61 insertions(+)
 create mode 100644 srcpkgs/GoLand/INSTALL.msg
 create mode 100644 srcpkgs/GoLand/template
 create mode 100644 srcpkgs/GoLand/update

diff --git a/srcpkgs/GoLand/INSTALL.msg b/srcpkgs/GoLand/INSTALL.msg
new file mode 100644
index 00000000000..0dbec18343d
--- /dev/null
+++ b/srcpkgs/GoLand/INSTALL.msg
@@ -0,0 +1,2 @@
+GoLand has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/GoLand/template b/srcpkgs/GoLand/template
new file mode 100644
index 00000000000..cebfb255168
--- /dev/null
+++ b/srcpkgs/GoLand/template
@@ -0,0 +1,57 @@
+# Template file for 'GoLand'
+pkgname=GoLand
+version=2019.1.3
+revision=1
+archs="i686 x86_64"
+depends="virtual?java-environment"
+short_desc="Cross-platform IDE built specially for Go developers"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/go"
+distfiles="https://download.jetbrains.com/go/goland-${version}.tar.gz"
+checksum=b0e22be860ead904c88595f005d5fe2b0fea310c15a1d8551372b5c336d1895b
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/goland.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/goland64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/goland.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/GoLand/update b/srcpkgs/GoLand/update
new file mode 100644
index 00000000000..52dc447c59e
--- /dev/null
+++ b/srcpkgs/GoLand/update
@@ -0,0 +1,2 @@
+pattern="goland-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=GO&latest=true&type=release"

From 19d4c51e0c3d9653db1375f9cf9e9a4b29f187c1 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Sat, 11 May 2019 21:32:48 -0700
Subject: [PATCH 5/5] New package: RubyMine-2019.1.2

---
 srcpkgs/RubyMine/INSTALL.msg |  2 ++
 srcpkgs/RubyMine/template    | 68 ++++++++++++++++++++++++++++++++++++
 srcpkgs/RubyMine/update      |  2 ++
 3 files changed, 72 insertions(+)
 create mode 100644 srcpkgs/RubyMine/INSTALL.msg
 create mode 100644 srcpkgs/RubyMine/template
 create mode 100644 srcpkgs/RubyMine/update

diff --git a/srcpkgs/RubyMine/INSTALL.msg b/srcpkgs/RubyMine/INSTALL.msg
new file mode 100644
index 00000000000..6d15486619e
--- /dev/null
+++ b/srcpkgs/RubyMine/INSTALL.msg
@@ -0,0 +1,2 @@
+RubyMine has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/RubyMine/template b/srcpkgs/RubyMine/template
new file mode 100644
index 00000000000..7b674991b74
--- /dev/null
+++ b/srcpkgs/RubyMine/template
@@ -0,0 +1,68 @@
+# Template file for 'RubyMine'
+pkgname=RubyMine
+version=2019.1.2
+revision=1
+archs="i686 x86_64"
+depends="virtual?java-environment"
+short_desc="Most intelligent Ruby and Rails IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/ruby"
+distfiles="https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz"
+checksum=db60a07098d3fec4e72bcbd5e5c48638983e20817e41c3f83266733f2d8a0cfe
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/rubymine.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/rubymine64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	vcopy rubystubs18 ${TARGET_PATH}
+	vcopy rubystubs19 ${TARGET_PATH}
+	vcopy rubystubs193 ${TARGET_PATH}
+	vcopy rubystubs20 ${TARGET_PATH}
+	vcopy rubystubs21 ${TARGET_PATH}
+	vcopy rubystubs22 ${TARGET_PATH}
+	vcopy rubystubs23 ${TARGET_PATH}
+	vcopy rubystubs24 ${TARGET_PATH}
+	vcopy rubystubs25 ${TARGET_PATH}
+	vcopy rubystubs26 ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/rubymine.sh ${DESTDIR}/usr/bin/${pkgname}
+}
diff --git a/srcpkgs/RubyMine/update b/srcpkgs/RubyMine/update
new file mode 100644
index 00000000000..390bd071df0
--- /dev/null
+++ b/srcpkgs/RubyMine/update
@@ -0,0 +1,2 @@
+pattern="RubyMine-\K[\d.]+(?=\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=RM&latest=true&type=release"

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (14 preceding siblings ...)
  2019-06-20  7:08 ` voidlinux-github
@ 2019-06-22 18:09 ` voidlinux-github
  2019-06-22 18:17 ` voidlinux-github
                   ` (23 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-22 18:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 589 bytes --]

New comment by 2asoft on void-packages repository

https://github.com/void-linux/void-packages/pull/11736#issuecomment-504686974
Comment:
> Don't get xlint that strict. That rule was created to make people aware that license should be included, but if vcopy is used to include them it's okay to ignore error as false positive. Better to have simple template. Or one can silence error with comment containing word `vlicense`.

Ok, done.

> If one build is tested, all travis build passes and template is not too hackish, it is fine to ship.

That's fair.
Added the i686 builds back.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (15 preceding siblings ...)
  2019-06-22 18:09 ` voidlinux-github
@ 2019-06-22 18:17 ` voidlinux-github
  2019-06-23  6:09 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (22 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-22 18:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/11736#issuecomment-504687557
Comment:
Pushed all but intellij.
For intellij, if only reason for conflict is /usr/bin/idea, it would be better to add to  idea-community and idea-ultimate, and `alternatives` on idea.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (16 preceding siblings ...)
  2019-06-22 18:17 ` voidlinux-github
@ 2019-06-23  6:09 ` " voidlinux-github
  2019-06-23  6:09 ` voidlinux-github
                   ` (21 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-23  6:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: application/text/x-diff, Size: 6262 bytes --]

From d151b452533e9b1db72af65c808bc1f0797ba235 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 23 Apr 2019 21:47:49 -0700
Subject: [PATCH 1/2] New package: intellij-idea-ultimate-edition-2019.1.3

---
 .../intellij-idea-community-edition/template  |  1 +
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 66 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 4 files changed, 71 insertions(+)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 961c22781af..7e40ed9c8fe 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -12,6 +12,7 @@ distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
 repository=nonfree
 nopie=yes
+conflicts="intellij-idea-ultimate-edition"
 
 post_extract() {
 	mv $XBPS_BUILDDIR/idea-IC-* ${wrksrc}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..bb57f7ccd99
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,66 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.3
+revision=1
+archs="i686 x86_64"
+wrksrc="idea-IU-191.7479.19"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+repository=nonfree
+restricted=yes
+nopie=yes
+conflicts="intellij-idea-community-edition"
+
+post_extract() {
+	# Remove files for other OSes
+	rm -rf plugins/android/lib/libwebp/win
+	rm -rf plugins/android/lib/libwebp/mac
+
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/idea.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/idea64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

From fe5842f5a96bb79c5abb3ae242e985dbee54bb3c Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Sat, 22 Jun 2019 23:10:23 -0700
Subject: [PATCH 2/2] Mark IntelliJ IDEA Community and Ultimate as alternatives
 of each other

---
 srcpkgs/intellij-idea-community-edition/template | 4 ++--
 srcpkgs/intellij-idea-ultimate-edition/template  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 7e40ed9c8fe..9c1b28f1e35 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -12,7 +12,7 @@ distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
 repository=nonfree
 nopie=yes
-conflicts="intellij-idea-ultimate-edition"
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-community"
 
 post_extract() {
 	mv $XBPS_BUILDDIR/idea-IC-* ${wrksrc}
@@ -46,5 +46,5 @@ do_install() {
 		;;
 	esac
 
-	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea
+	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea-community
 }
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
index bb57f7ccd99..558936b4543 100644
--- a/srcpkgs/intellij-idea-ultimate-edition/template
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -14,7 +14,7 @@ checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
 repository=nonfree
 restricted=yes
 nopie=yes
-conflicts="intellij-idea-community-edition"
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-ultimate"
 
 post_extract() {
 	# Remove files for other OSes
@@ -62,5 +62,5 @@ do_install() {
 	vcopy product-info.json ${TARGET_PATH}
 	vcopy build.txt ${TARGET_PATH}
 
-	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea-ultimate
 }

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (17 preceding siblings ...)
  2019-06-23  6:09 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-06-23  6:09 ` voidlinux-github
  2019-06-23  6:10 ` voidlinux-github
                   ` (20 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-23  6:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: application/text/x-diff, Size: 6262 bytes --]

From d151b452533e9b1db72af65c808bc1f0797ba235 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 23 Apr 2019 21:47:49 -0700
Subject: [PATCH 1/2] New package: intellij-idea-ultimate-edition-2019.1.3

---
 .../intellij-idea-community-edition/template  |  1 +
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 66 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 4 files changed, 71 insertions(+)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 961c22781af..7e40ed9c8fe 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -12,6 +12,7 @@ distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
 repository=nonfree
 nopie=yes
+conflicts="intellij-idea-ultimate-edition"
 
 post_extract() {
 	mv $XBPS_BUILDDIR/idea-IC-* ${wrksrc}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..bb57f7ccd99
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,66 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.3
+revision=1
+archs="i686 x86_64"
+wrksrc="idea-IU-191.7479.19"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+repository=nonfree
+restricted=yes
+nopie=yes
+conflicts="intellij-idea-community-edition"
+
+post_extract() {
+	# Remove files for other OSes
+	rm -rf plugins/android/lib/libwebp/win
+	rm -rf plugins/android/lib/libwebp/mac
+
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/idea.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/idea64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

From fe5842f5a96bb79c5abb3ae242e985dbee54bb3c Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Sat, 22 Jun 2019 23:10:23 -0700
Subject: [PATCH 2/2] Mark IntelliJ IDEA Community and Ultimate as alternatives
 of each other

---
 srcpkgs/intellij-idea-community-edition/template | 4 ++--
 srcpkgs/intellij-idea-ultimate-edition/template  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 7e40ed9c8fe..9c1b28f1e35 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -12,7 +12,7 @@ distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
 repository=nonfree
 nopie=yes
-conflicts="intellij-idea-ultimate-edition"
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-community"
 
 post_extract() {
 	mv $XBPS_BUILDDIR/idea-IC-* ${wrksrc}
@@ -46,5 +46,5 @@ do_install() {
 		;;
 	esac
 
-	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea
+	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea-community
 }
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
index bb57f7ccd99..558936b4543 100644
--- a/srcpkgs/intellij-idea-ultimate-edition/template
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -14,7 +14,7 @@ checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
 repository=nonfree
 restricted=yes
 nopie=yes
-conflicts="intellij-idea-community-edition"
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-ultimate"
 
 post_extract() {
 	# Remove files for other OSes
@@ -62,5 +62,5 @@ do_install() {
 	vcopy product-info.json ${TARGET_PATH}
 	vcopy build.txt ${TARGET_PATH}
 
-	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea-ultimate
 }

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (18 preceding siblings ...)
  2019-06-23  6:09 ` voidlinux-github
@ 2019-06-23  6:10 ` voidlinux-github
  2019-06-23  6:10 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (19 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-23  6:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 360 bytes --]

New comment by 2asoft on void-packages repository

https://github.com/void-linux/void-packages/pull/11736#issuecomment-504723490
Comment:
`/usr/bin/idea` is indeed the reason for `conflicts`.
I considered renaming, but that's a breaking change.
Good to know about `alternatives`, I think this solves the issue, thanks for pointing it out!

Updated the PR.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (19 preceding siblings ...)
  2019-06-23  6:10 ` voidlinux-github
@ 2019-06-23  6:10 ` " voidlinux-github
  2019-06-23  6:10 ` voidlinux-github
                   ` (18 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-23  6:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: application/text/x-diff, Size: 4461 bytes --]

From 5ad7858934f06bfa31fe0797517e6c745390db41 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 23 Apr 2019 21:47:49 -0700
Subject: [PATCH] New package: intellij-idea-ultimate-edition-2019.1.3

---
 .../intellij-idea-community-edition/template  |  3 +-
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 66 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 4 files changed, 72 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 961c22781af..9c1b28f1e35 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -12,6 +12,7 @@ distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
 repository=nonfree
 nopie=yes
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-community"
 
 post_extract() {
 	mv $XBPS_BUILDDIR/idea-IC-* ${wrksrc}
@@ -45,5 +46,5 @@ do_install() {
 		;;
 	esac
 
-	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea
+	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea-community
 }
diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..558936b4543
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,66 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.3
+revision=1
+archs="i686 x86_64"
+wrksrc="idea-IU-191.7479.19"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+repository=nonfree
+restricted=yes
+nopie=yes
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-ultimate"
+
+post_extract() {
+	# Remove files for other OSes
+	rm -rf plugins/android/lib/libwebp/win
+	rm -rf plugins/android/lib/libwebp/mac
+
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/idea.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/idea64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea-ultimate
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (20 preceding siblings ...)
  2019-06-23  6:10 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-06-23  6:10 ` voidlinux-github
  2019-06-23 19:54 ` voidlinux-github
                   ` (17 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-23  6:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: application/text/x-diff, Size: 4461 bytes --]

From 5ad7858934f06bfa31fe0797517e6c745390db41 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 23 Apr 2019 21:47:49 -0700
Subject: [PATCH] New package: intellij-idea-ultimate-edition-2019.1.3

---
 .../intellij-idea-community-edition/template  |  3 +-
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 66 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 4 files changed, 72 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 961c22781af..9c1b28f1e35 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -12,6 +12,7 @@ distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
 repository=nonfree
 nopie=yes
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-community"
 
 post_extract() {
 	mv $XBPS_BUILDDIR/idea-IC-* ${wrksrc}
@@ -45,5 +46,5 @@ do_install() {
 		;;
 	esac
 
-	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea
+	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea-community
 }
diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..558936b4543
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,66 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.3
+revision=1
+archs="i686 x86_64"
+wrksrc="idea-IU-191.7479.19"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+repository=nonfree
+restricted=yes
+nopie=yes
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-ultimate"
+
+post_extract() {
+	# Remove files for other OSes
+	rm -rf plugins/android/lib/libwebp/win
+	rm -rf plugins/android/lib/libwebp/mac
+
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/idea.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/idea64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea-ultimate
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (21 preceding siblings ...)
  2019-06-23  6:10 ` voidlinux-github
@ 2019-06-23 19:54 ` voidlinux-github
  2019-06-23 19:54 ` voidlinux-github
                   ` (16 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-23 19:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: application/text/x-diff, Size: 4464 bytes --]

From 6c63265ca4a330e550fa215728eacb8ce4e9f38f Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 23 Apr 2019 21:47:49 -0700
Subject: [PATCH] New package: intellij-idea-ultimate-edition-2019.1.3

---
 .../intellij-idea-community-edition/template  |  3 +-
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 66 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 4 files changed, 72 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 961c22781af..61dc529f015 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -10,6 +10,7 @@ license="Apache-2.0"
 homepage="https://www.jetbrains.org/"
 distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-community"
 repository=nonfree
 nopie=yes
 
@@ -45,5 +46,5 @@ do_install() {
 		;;
 	esac
 
-	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea
+	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea-community
 }
diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..f2a83d3ad26
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,66 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.3
+revision=1
+archs="i686 x86_64"
+wrksrc="idea-IU-191.7479.19"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-ultimate"
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other OSes
+	rm -rf plugins/android/lib/libwebp/win
+	rm -rf plugins/android/lib/libwebp/mac
+
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/idea.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/idea64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea-ultimate
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (22 preceding siblings ...)
  2019-06-23 19:54 ` voidlinux-github
@ 2019-06-23 19:54 ` voidlinux-github
  2019-06-24  6:09 ` voidlinux-github
                   ` (15 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-23 19:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: application/text/x-diff, Size: 4464 bytes --]

From 6c63265ca4a330e550fa215728eacb8ce4e9f38f Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 23 Apr 2019 21:47:49 -0700
Subject: [PATCH] New package: intellij-idea-ultimate-edition-2019.1.3

---
 .../intellij-idea-community-edition/template  |  3 +-
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 66 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 4 files changed, 72 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 961c22781af..61dc529f015 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -10,6 +10,7 @@ license="Apache-2.0"
 homepage="https://www.jetbrains.org/"
 distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-community"
 repository=nonfree
 nopie=yes
 
@@ -45,5 +46,5 @@ do_install() {
 		;;
 	esac
 
-	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea
+	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea-community
 }
diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..f2a83d3ad26
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,66 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.3
+revision=1
+archs="i686 x86_64"
+wrksrc="idea-IU-191.7479.19"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-ultimate"
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other OSes
+	rm -rf plugins/android/lib/libwebp/win
+	rm -rf plugins/android/lib/libwebp/mac
+
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/idea.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/idea64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea-ultimate
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (23 preceding siblings ...)
  2019-06-23 19:54 ` voidlinux-github
@ 2019-06-24  6:09 ` voidlinux-github
  2019-06-24 15:11 ` voidlinux-github
                   ` (14 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-24  6:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 258 bytes --]

New comment by the-maldridge on void-packages repository

https://github.com/void-linux/void-packages/pull/11736#issuecomment-504871462
Comment:
@Chocimier please seek additional review in the future from pkg-committers before accepting restricted packages.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (24 preceding siblings ...)
  2019-06-24  6:09 ` voidlinux-github
@ 2019-06-24 15:11 ` voidlinux-github
  2019-06-26  5:39 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (13 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-24 15:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 244 bytes --]

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/11736#issuecomment-505053373
Comment:
@the-maldridge: I will.

@2asoft: Changes on community needs revision increment and separate commit.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (25 preceding siblings ...)
  2019-06-24 15:11 ` voidlinux-github
@ 2019-06-26  5:39 ` " voidlinux-github
  2019-06-26  5:39 ` voidlinux-github
                   ` (12 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-26  5:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: application/text/x-diff, Size: 5051 bytes --]

From 09efee15d4e8fb7a45ea85151da5f2515d65d850 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 25 Jun 2019 22:39:51 -0700
Subject: [PATCH 1/2] Install intellij-idea-community-edition as alternative to
 idea

---
 srcpkgs/intellij-idea-community-edition/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 961c22781af..e9e774dbd46 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -1,7 +1,7 @@
 # Template file for 'intellij-idea-community-edition'
 pkgname=intellij-idea-community-edition
 version=2019.1.3
-revision=1
+revision=2
 archs="i686 x86_64"
 depends="virtual?java-environment giflib libXtst"
 short_desc="Java integrated development environment by JetBrains"
@@ -10,6 +10,7 @@ license="Apache-2.0"
 homepage="https://www.jetbrains.org/"
 distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-community"
 repository=nonfree
 nopie=yes
 
@@ -45,5 +46,5 @@ do_install() {
 		;;
 	esac
 
-	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea
+	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea-community
 }

From ef7236c32045fb83b3932f1e06339a0cb9b9d27d Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 25 Jun 2019 22:39:59 -0700
Subject: [PATCH 2/2] New package: intellij-idea-ultimate-edition-2019.1.3

---
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 66 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 3 files changed, 70 insertions(+)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..f2a83d3ad26
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,66 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.3
+revision=1
+archs="i686 x86_64"
+wrksrc="idea-IU-191.7479.19"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-ultimate"
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other OSes
+	rm -rf plugins/android/lib/libwebp/win
+	rm -rf plugins/android/lib/libwebp/mac
+
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/idea.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/idea64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea-ultimate
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (26 preceding siblings ...)
  2019-06-26  5:39 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-06-26  5:39 ` voidlinux-github
  2019-06-26  5:39 ` voidlinux-github
                   ` (11 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-26  5:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: application/text/x-diff, Size: 5051 bytes --]

From 09efee15d4e8fb7a45ea85151da5f2515d65d850 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 25 Jun 2019 22:39:51 -0700
Subject: [PATCH 1/2] Install intellij-idea-community-edition as alternative to
 idea

---
 srcpkgs/intellij-idea-community-edition/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 961c22781af..e9e774dbd46 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -1,7 +1,7 @@
 # Template file for 'intellij-idea-community-edition'
 pkgname=intellij-idea-community-edition
 version=2019.1.3
-revision=1
+revision=2
 archs="i686 x86_64"
 depends="virtual?java-environment giflib libXtst"
 short_desc="Java integrated development environment by JetBrains"
@@ -10,6 +10,7 @@ license="Apache-2.0"
 homepage="https://www.jetbrains.org/"
 distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=6fbb1f99b467a7c7a39d74b835414288b113a9a136f9ba22b25ea44f87952fff
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-community"
 repository=nonfree
 nopie=yes
 
@@ -45,5 +46,5 @@ do_install() {
 		;;
 	esac
 
-	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea
+	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea-community
 }

From ef7236c32045fb83b3932f1e06339a0cb9b9d27d Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 25 Jun 2019 22:39:59 -0700
Subject: [PATCH 2/2] New package: intellij-idea-ultimate-edition-2019.1.3

---
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 66 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 3 files changed, 70 insertions(+)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..f2a83d3ad26
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,66 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.3
+revision=1
+archs="i686 x86_64"
+wrksrc="idea-IU-191.7479.19"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-ultimate"
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other OSes
+	rm -rf plugins/android/lib/libwebp/win
+	rm -rf plugins/android/lib/libwebp/mac
+
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/idea.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/idea64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea-ultimate
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (27 preceding siblings ...)
  2019-06-26  5:39 ` voidlinux-github
@ 2019-06-26  5:39 ` voidlinux-github
  2019-06-29 12:09 ` voidlinux-github
                   ` (10 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-26  5:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 226 bytes --]

New comment by 2asoft on void-packages repository

https://github.com/void-linux/void-packages/pull/11736#issuecomment-505726742
Comment:
Increased the `intellij-idea-community-edition` revision and made it a separate commit.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (28 preceding siblings ...)
  2019-06-26  5:39 ` voidlinux-github
@ 2019-06-29 12:09 ` voidlinux-github
  2019-06-29 16:45 ` voidlinux-github
                   ` (9 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-29 12:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/11736#issuecomment-506952387
Comment:
@2asoft Can you run this? For me it errors with message
```
JDK Required: JDK classes seem to be not on IDEA classpath.
Please ensure you run the IDE on JDK rather than JRE.
```

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (29 preceding siblings ...)
  2019-06-29 12:09 ` voidlinux-github
@ 2019-06-29 16:45 ` voidlinux-github
  2019-06-29 16:45 ` voidlinux-github
                   ` (8 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-29 16:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 346 bytes --]

New comment by 2asoft on void-packages repository

https://github.com/void-linux/void-packages/pull/11736#issuecomment-506971007
Comment:
Interesting, it doesnt for me either.
I've run into this problem when I was running IDEA on a non-JetBrains JDK, but I didn't expect it here.
The Community edition also gives me the same error, by the way.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (30 preceding siblings ...)
  2019-06-29 16:45 ` voidlinux-github
@ 2019-06-29 16:45 ` voidlinux-github
  2019-07-08 19:53 ` voidlinux-github
                   ` (7 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-06-29 16:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

New comment by 2asoft on void-packages repository

https://github.com/void-linux/void-packages/pull/11736#issuecomment-506971026
Comment:
It has always been my intention to add the JetBrains JDK package to Void as well, to make sure their IDEs run on the best supported JDK.
I think I'll wait with this PR until I get that in place.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (31 preceding siblings ...)
  2019-06-29 16:45 ` voidlinux-github
@ 2019-07-08 19:53 ` voidlinux-github
  2019-07-15  1:33 ` voidlinux-github
                   ` (6 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-07-08 19:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 371 bytes --]

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/11736#issuecomment-509367711
Comment:
@2asoft @shizonic: It works for me when `JAVA_HOME` is set to `/usr/lib/jvm/openjdk-1.8.0_202` as opposite to `/usr/lib/jvm/openjdk-1.8.0_202/jre`. If that fixes things for you too, it may be worth to add that tip to INSTALL.msg.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (32 preceding siblings ...)
  2019-07-08 19:53 ` voidlinux-github
@ 2019-07-15  1:33 ` voidlinux-github
  2019-10-15  6:31 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (5 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-07-15  1:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 601 bytes --]

New comment by 2asoft on void-packages repository

https://github.com/void-linux/void-packages/pull/11736#issuecomment-511253072
Comment:
That would be a good tip to add to `INSTALL.msg`, but I think it shouldn't be necessary.

IMO it is wrong that JAVA_HOME is set to the /jre location in the first place (the `openjdk-jre` package does that).
If I'm spending time on this at all, I'll just get JetBrains' own JRE/JDK building and installable on Void.
Their builds have some performance patches, and the difference is noticeable in IntelliJ performance.

I just need to find the time to do it.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (33 preceding siblings ...)
  2019-07-15  1:33 ` voidlinux-github
@ 2019-10-15  6:31 ` " voidlinux-github
  2019-10-15  6:31 ` voidlinux-github
                   ` (4 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-10-15  6:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: text/x-diff, Size: 9379 bytes --]

From 34796c087aa9486fc46e1825b97b789f08358724 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 25 Jun 2019 22:39:51 -0700
Subject: [PATCH 1/3] Install intellij-idea-community-edition as alternative to
 idea

---
 srcpkgs/intellij-idea-community-edition/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index b079e18e35c..0b858e7d476 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -1,7 +1,7 @@
 # Template file for 'intellij-idea-community-edition'
 pkgname=intellij-idea-community-edition
 version=2019.2.3
-revision=1
+revision=2
 archs="i686 x86_64"
 depends="virtual?java-environment giflib libXtst"
 short_desc="Java integrated development environment by JetBrains"
@@ -10,6 +10,7 @@ license="Apache-2.0"
 homepage="https://www.jetbrains.org/"
 distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=9742d4c65b8ce20c31e993f0e04d526b0f368d7703e34ad4d6a01713b886353a
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-community"
 repository=nonfree
 nopie=yes
 
@@ -52,5 +53,5 @@ do_install() {
 		;;
 	esac
 
-	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea
+	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea-community
 }

From 3b2379c72dae262882c6ce65b34d4bed52721bd3 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 25 Jun 2019 22:39:59 -0700
Subject: [PATCH 2/3] New package: intellij-idea-ultimate-edition-2019.2.3

---
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 66 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 3 files changed, 70 insertions(+)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..f2a83d3ad26
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,66 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.3
+revision=1
+archs="i686 x86_64"
+wrksrc="idea-IU-191.7479.19"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-ultimate"
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other OSes
+	rm -rf plugins/android/lib/libwebp/win
+	rm -rf plugins/android/lib/libwebp/mac
+
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/idea.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/idea64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea-ultimate
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

From 8d2e088da57bef06d05430b951191337be11a7b2 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Sun, 13 Oct 2019 16:00:32 -0700
Subject: [PATCH 3/3] Install the JetBrains JRE as a separate package.

---
 .../intellij-idea-ultimate-edition/template   | 14 +++++--
 srcpkgs/jetbrains-jdk-11/template             | 39 +++++++++++++++++++
 srcpkgs/jetbrains-jdk-11/update               |  3 ++
 3 files changed, 52 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/jetbrains-jdk-11/template
 create mode 100644 srcpkgs/jetbrains-jdk-11/update

diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
index f2a83d3ad26..53c411fc5cc 100644
--- a/srcpkgs/intellij-idea-ultimate-edition/template
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -1,25 +1,29 @@
 # Template file for 'intellij-idea-ultimate-edition'
 pkgname=intellij-idea-ultimate-edition
-version=2019.1.3
+version=2019.2.3
 revision=1
 archs="i686 x86_64"
-wrksrc="idea-IU-191.7479.19"
-depends="virtual?java-environment giflib libXtst"
+wrksrc="idea-IU-192.6817.14"
+depends="giflib libXtst jetbrains-jdk-11"
 short_desc="Most intelligent Java IDE"
 maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
 license="custom:Commercial"
 homepage="https://www.jetbrains.com/idea"
 distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
-checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+checksum=a90806a70cbc5925a8584639c7a1e640d3bb987e05f9c2821d566d8457b4942a
 alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-ultimate"
 repository=nonfree
 restricted=yes
 nopie=yes
+# JetBrains' tools are self-sufficient and while they include code that appears to be linked to libs from other packages, these libs are either included in the tool package, or the code works by looking for one of several supported libs.
+#noverifyrdeps=yes
 
 post_extract() {
 	# Remove files for other OSes
 	rm -rf plugins/android/lib/libwebp/win
 	rm -rf plugins/android/lib/libwebp/mac
+	rm -rf plugins/maven/lib/maven3/lib/jansi-native/freebsd64
+	rm -rf plugins/maven/lib/maven3/lib/jansi-native/freebsd32
 
 	# Remove files for other CPU architectures
 	rm -rf bin/fsnotifier-arm
@@ -54,6 +58,8 @@ do_install() {
 	# Ideally vlicense should be called here, but vcopy is more terse.
 	vcopy license/* ${LICENSE_PATH}
 
+	mkdir -p /usr/lib/jvm/jbrsdk-11
+	ln -sf /usr/lib/jvm/jbrsdk-11 ${DESTDIR}/${TARGET_PATH}/jbr
 	vcopy bin ${TARGET_PATH}
 	vcopy help ${TARGET_PATH}
 	vcopy lib ${TARGET_PATH}
diff --git a/srcpkgs/jetbrains-jdk-11/template b/srcpkgs/jetbrains-jdk-11/template
new file mode 100644
index 00000000000..1dc9cf5aafc
--- /dev/null
+++ b/srcpkgs/jetbrains-jdk-11/template
@@ -0,0 +1,39 @@
+# Template file for 'jetbrains-jdk-11'
+
+_jdk_build=520.2
+_jdk_fullver="11.0.4"
+archive_name="jbrsdk-${_jdk_fullver//\./_}-linux-x64-b${_jdk_build}.tar.gz"
+
+pkgname=jetbrains-jdk-11
+version="${_jdk_fullver}b${_jdk_build}"
+revision=1
+archs="x86_64"
+wrksrc="jbrsdk"
+hostmakedepends="aria2"
+depends=""
+short_desc="JetBrains Java 11 JDK"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="GPL-2.0+CE"
+homepage="https://github.com/JetBrains/JetBrainsRuntime"
+distfiles="https://dl.bintray.com/jetbrains/intellij-jbr/${archive_name}"
+checksum=690307a7bde2ae6ee11f245d8064bfa928bb6b03240ce75caebcb6002c934472
+nopie=yes
+# This JDK appears to link to libs that do not exist, but still continues to function well even in their absence.
+# Best guess is that they are optional. ¯\_(ツ)_/¯
+noverifyrdeps=yes
+
+fetch_cmd="aria2c -c"
+
+do_install() {
+	TARGET_PATH="usr/lib/jvm/jbrsdk-11"
+
+	vmkdir ${TARGET_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy conf ${TARGET_PATH}
+	vcopy include ${TARGET_PATH}
+	vcopy jmods ${TARGET_PATH}
+	vcopy legal ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy release ${TARGET_PATH}
+}
diff --git a/srcpkgs/jetbrains-jdk-11/update b/srcpkgs/jetbrains-jdk-11/update
new file mode 100644
index 00000000000..251f1bcb8f9
--- /dev/null
+++ b/srcpkgs/jetbrains-jdk-11/update
@@ -0,0 +1,3 @@
+version=b${version#*b}
+pattern="jbrsdk-\d+_\d+_\d+-(?:linux-x64-)\Kb\d+\.\d+(?=\.tar\.gz</a>)"
+site="https://bintray.com/package/files/jetbrains/intellij-jbr/jbrsdk11-linux-x64"

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (34 preceding siblings ...)
  2019-10-15  6:31 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-10-15  6:31 ` voidlinux-github
  2019-10-15 16:41 ` voidlinux-github
                   ` (3 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-10-15  6:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: text/x-diff, Size: 9379 bytes --]

From 34796c087aa9486fc46e1825b97b789f08358724 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 25 Jun 2019 22:39:51 -0700
Subject: [PATCH 1/3] Install intellij-idea-community-edition as alternative to
 idea

---
 srcpkgs/intellij-idea-community-edition/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index b079e18e35c..0b858e7d476 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -1,7 +1,7 @@
 # Template file for 'intellij-idea-community-edition'
 pkgname=intellij-idea-community-edition
 version=2019.2.3
-revision=1
+revision=2
 archs="i686 x86_64"
 depends="virtual?java-environment giflib libXtst"
 short_desc="Java integrated development environment by JetBrains"
@@ -10,6 +10,7 @@ license="Apache-2.0"
 homepage="https://www.jetbrains.org/"
 distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=9742d4c65b8ce20c31e993f0e04d526b0f368d7703e34ad4d6a01713b886353a
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-community"
 repository=nonfree
 nopie=yes
 
@@ -52,5 +53,5 @@ do_install() {
 		;;
 	esac
 
-	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea
+	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea-community
 }

From 3b2379c72dae262882c6ce65b34d4bed52721bd3 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 25 Jun 2019 22:39:59 -0700
Subject: [PATCH 2/3] New package: intellij-idea-ultimate-edition-2019.2.3

---
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 66 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 3 files changed, 70 insertions(+)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..f2a83d3ad26
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,66 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.1.3
+revision=1
+archs="i686 x86_64"
+wrksrc="idea-IU-191.7479.19"
+depends="virtual?java-environment giflib libXtst"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-ultimate"
+repository=nonfree
+restricted=yes
+nopie=yes
+
+post_extract() {
+	# Remove files for other OSes
+	rm -rf plugins/android/lib/libwebp/win
+	rm -rf plugins/android/lib/libwebp/mac
+
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/idea.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/idea64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea-ultimate
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

From 8d2e088da57bef06d05430b951191337be11a7b2 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Sun, 13 Oct 2019 16:00:32 -0700
Subject: [PATCH 3/3] Install the JetBrains JRE as a separate package.

---
 .../intellij-idea-ultimate-edition/template   | 14 +++++--
 srcpkgs/jetbrains-jdk-11/template             | 39 +++++++++++++++++++
 srcpkgs/jetbrains-jdk-11/update               |  3 ++
 3 files changed, 52 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/jetbrains-jdk-11/template
 create mode 100644 srcpkgs/jetbrains-jdk-11/update

diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
index f2a83d3ad26..53c411fc5cc 100644
--- a/srcpkgs/intellij-idea-ultimate-edition/template
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -1,25 +1,29 @@
 # Template file for 'intellij-idea-ultimate-edition'
 pkgname=intellij-idea-ultimate-edition
-version=2019.1.3
+version=2019.2.3
 revision=1
 archs="i686 x86_64"
-wrksrc="idea-IU-191.7479.19"
-depends="virtual?java-environment giflib libXtst"
+wrksrc="idea-IU-192.6817.14"
+depends="giflib libXtst jetbrains-jdk-11"
 short_desc="Most intelligent Java IDE"
 maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
 license="custom:Commercial"
 homepage="https://www.jetbrains.com/idea"
 distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
-checksum=3af44f942c07b672b1cf465e3497eec060d1773c62b2d6d05b634910151f1262
+checksum=a90806a70cbc5925a8584639c7a1e640d3bb987e05f9c2821d566d8457b4942a
 alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-ultimate"
 repository=nonfree
 restricted=yes
 nopie=yes
+# JetBrains' tools are self-sufficient and while they include code that appears to be linked to libs from other packages, these libs are either included in the tool package, or the code works by looking for one of several supported libs.
+#noverifyrdeps=yes
 
 post_extract() {
 	# Remove files for other OSes
 	rm -rf plugins/android/lib/libwebp/win
 	rm -rf plugins/android/lib/libwebp/mac
+	rm -rf plugins/maven/lib/maven3/lib/jansi-native/freebsd64
+	rm -rf plugins/maven/lib/maven3/lib/jansi-native/freebsd32
 
 	# Remove files for other CPU architectures
 	rm -rf bin/fsnotifier-arm
@@ -54,6 +58,8 @@ do_install() {
 	# Ideally vlicense should be called here, but vcopy is more terse.
 	vcopy license/* ${LICENSE_PATH}
 
+	mkdir -p /usr/lib/jvm/jbrsdk-11
+	ln -sf /usr/lib/jvm/jbrsdk-11 ${DESTDIR}/${TARGET_PATH}/jbr
 	vcopy bin ${TARGET_PATH}
 	vcopy help ${TARGET_PATH}
 	vcopy lib ${TARGET_PATH}
diff --git a/srcpkgs/jetbrains-jdk-11/template b/srcpkgs/jetbrains-jdk-11/template
new file mode 100644
index 00000000000..1dc9cf5aafc
--- /dev/null
+++ b/srcpkgs/jetbrains-jdk-11/template
@@ -0,0 +1,39 @@
+# Template file for 'jetbrains-jdk-11'
+
+_jdk_build=520.2
+_jdk_fullver="11.0.4"
+archive_name="jbrsdk-${_jdk_fullver//\./_}-linux-x64-b${_jdk_build}.tar.gz"
+
+pkgname=jetbrains-jdk-11
+version="${_jdk_fullver}b${_jdk_build}"
+revision=1
+archs="x86_64"
+wrksrc="jbrsdk"
+hostmakedepends="aria2"
+depends=""
+short_desc="JetBrains Java 11 JDK"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="GPL-2.0+CE"
+homepage="https://github.com/JetBrains/JetBrainsRuntime"
+distfiles="https://dl.bintray.com/jetbrains/intellij-jbr/${archive_name}"
+checksum=690307a7bde2ae6ee11f245d8064bfa928bb6b03240ce75caebcb6002c934472
+nopie=yes
+# This JDK appears to link to libs that do not exist, but still continues to function well even in their absence.
+# Best guess is that they are optional. ¯\_(ツ)_/¯
+noverifyrdeps=yes
+
+fetch_cmd="aria2c -c"
+
+do_install() {
+	TARGET_PATH="usr/lib/jvm/jbrsdk-11"
+
+	vmkdir ${TARGET_PATH}
+
+	vcopy bin ${TARGET_PATH}
+	vcopy conf ${TARGET_PATH}
+	vcopy include ${TARGET_PATH}
+	vcopy jmods ${TARGET_PATH}
+	vcopy legal ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy release ${TARGET_PATH}
+}
diff --git a/srcpkgs/jetbrains-jdk-11/update b/srcpkgs/jetbrains-jdk-11/update
new file mode 100644
index 00000000000..251f1bcb8f9
--- /dev/null
+++ b/srcpkgs/jetbrains-jdk-11/update
@@ -0,0 +1,3 @@
+version=b${version#*b}
+pattern="jbrsdk-\d+_\d+_\d+-(?:linux-x64-)\Kb\d+\.\d+(?=\.tar\.gz</a>)"
+site="https://bintray.com/package/files/jetbrains/intellij-jbr/jbrsdk11-linux-x64"

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (35 preceding siblings ...)
  2019-10-15  6:31 ` voidlinux-github
@ 2019-10-15 16:41 ` voidlinux-github
  2019-10-19 20:05 ` voidlinux-github
                   ` (2 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-10-15 16:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 206 bytes --]

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/11736#issuecomment-542302501

Comment:
@2asoft, please make another PR for JRE, this PR is big enough.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (36 preceding siblings ...)
  2019-10-15 16:41 ` voidlinux-github
@ 2019-10-19 20:05 ` voidlinux-github
  2019-11-04 19:06 ` voidlinux-github
  2019-11-09  6:28 ` [PR PATCH] [Updated] " voidlinux-github
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-10-19 20:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 233 bytes --]

New comment by 2asoft on void-packages repository

https://github.com/void-linux/void-packages/pull/11736#issuecomment-544193064

Comment:
@Chocimier Good idea.
Here's the JDK PR #15629, will update this one once the JDK is merged.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (37 preceding siblings ...)
  2019-10-19 20:05 ` voidlinux-github
@ 2019-11-04 19:06 ` voidlinux-github
  2019-11-09  6:28 ` [PR PATCH] [Updated] " voidlinux-github
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-11-04 19:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 219 bytes --]

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/11736#issuecomment-549500833

Comment:
@void-linux/pkg-committers: ok to merge #15629 then this restricted package?

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
                   ` (38 preceding siblings ...)
  2019-11-04 19:06 ` voidlinux-github
@ 2019-11-09  6:28 ` " voidlinux-github
  39 siblings, 0 replies; 40+ messages in thread
From: voidlinux-github @ 2019-11-09  6:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

There is an updated pull request by 2asoft against master on the void-packages repository

https://github.com/2asoft/void-packages 2asoft/jetbrains-intellij-pro
https://github.com/void-linux/void-packages/pull/11736

New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2
These are based on the existing intellij-idea-community-edition.

I'm explicitly removing the JetBrains JDK from each of these, and requiring the virtual java-environment instead.
This works, although is not jetBrains' recommended way of running the IDEs because their build of the JDK contains some useful fixes.
I will create a separate PR for installing JetBrains-JDK and will modify these packages to require the JetBrains-JDK package.

A patch file from https://github.com/void-linux/void-packages/pull/11736.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-2asoft/jetbrains-intellij-pro-11736.patch --]
[-- Type: text/x-diff, Size: 5515 bytes --]

From 4d9b11a52b6ef665845cc44fa3afddd485777653 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 25 Jun 2019 22:39:51 -0700
Subject: [PATCH 1/2] Install intellij-idea-community-edition as alternative to
 idea

---
 srcpkgs/intellij-idea-community-edition/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index b079e18e35c..0b858e7d476 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -1,7 +1,7 @@
 # Template file for 'intellij-idea-community-edition'
 pkgname=intellij-idea-community-edition
 version=2019.2.3
-revision=1
+revision=2
 archs="i686 x86_64"
 depends="virtual?java-environment giflib libXtst"
 short_desc="Java integrated development environment by JetBrains"
@@ -10,6 +10,7 @@ license="Apache-2.0"
 homepage="https://www.jetbrains.org/"
 distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
 checksum=9742d4c65b8ce20c31e993f0e04d526b0f368d7703e34ad4d6a01713b886353a
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-community"
 repository=nonfree
 nopie=yes
 
@@ -52,5 +53,5 @@ do_install() {
 		;;
 	esac
 
-	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea
+	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea-community
 }

From ee6b98d9c264ddfde13fb98cd2cc9688c0c5056e Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Tue, 25 Jun 2019 22:39:59 -0700
Subject: [PATCH 2/2] New package: intellij-idea-ultimate-edition-2019.2.4

---
 .../INSTALL.msg                               |  2 +
 .../intellij-idea-ultimate-edition/template   | 72 +++++++++++++++++++
 srcpkgs/intellij-idea-ultimate-edition/update |  2 +
 3 files changed, 76 insertions(+)
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/template
 create mode 100644 srcpkgs/intellij-idea-ultimate-edition/update

diff --git a/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
new file mode 100644
index 00000000000..c04f6c9ab2a
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/INSTALL.msg
@@ -0,0 +1,2 @@
+IntelliJ Ultimate has the following optional dependencies:
+	libdbusmenu-glib: For global menu support
diff --git a/srcpkgs/intellij-idea-ultimate-edition/template b/srcpkgs/intellij-idea-ultimate-edition/template
new file mode 100644
index 00000000000..b75fe6bbdaf
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/template
@@ -0,0 +1,72 @@
+# Template file for 'intellij-idea-ultimate-edition'
+pkgname=intellij-idea-ultimate-edition
+version=2019.2.4
+revision=1
+archs="i686 x86_64"
+wrksrc="idea-IU-192.7142.36"
+depends="giflib libXtst jetbrains-jdk-bin"
+short_desc="Most intelligent Java IDE"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="custom:Commercial"
+homepage="https://www.jetbrains.com/idea"
+distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
+checksum=0aa4978e433bea1df13c93d8fd4f7ebb222dac4619470237e0d8ae3f7a23bf26
+alternatives="intellij-idea:/usr/bin/idea:/usr/bin/idea-ultimate"
+repository=nonfree
+restricted=yes
+nopie=yes
+# JetBrains' tools are self-sufficient and while they include code that appears to be linked to libs from other packages, these libs are either included in the tool package, or the code works by looking for one of several supported libs.
+#noverifyrdeps=yes
+
+post_extract() {
+	# Remove files for other OSes
+	rm -rf plugins/android/lib/libwebp/win
+	rm -rf plugins/android/lib/libwebp/mac
+	rm -rf plugins/maven/lib/maven3/lib/jansi-native/freebsd64
+	rm -rf plugins/maven/lib/maven3/lib/jansi-native/freebsd32
+
+	# Remove files for other CPU architectures
+	rm -rf bin/fsnotifier-arm
+	rm -rf lib/pty4j-native/linux/ppc64le
+
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			rm -rf bin/fsnotifier
+			rm -rf bin/idea.vmoptions
+			rm -rf bin/libyjpagent-linux.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni.so
+			rm -rf lib/pty4j-native/linux/x86
+			;;
+		i686)
+			rm -rf bin/fsnotifier64
+			rm -rf bin/idea64.vmoptions
+			rm -rf bin/libyjpagent-linux64.so
+			rm -rf plugins/android/lib/libwebp/linux/libwebp_jni64.so
+			rm -rf lib/pty4j-native/linux/x86_64
+			;;
+	esac
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	LICENSE_PATH="usr/share/licenses/${pkgname}"
+
+	vmkdir usr/bin
+	vmkdir ${TARGET_PATH}
+	vmkdir ${LICENSE_PATH}
+
+	# Ideally vlicense should be called here, but vcopy is more terse.
+	vcopy license/* ${LICENSE_PATH}
+
+	mkdir -p /usr/lib/jvm/jbrsdk
+	ln -sf /usr/lib/jvm/jbrsdk ${DESTDIR}/${TARGET_PATH}/jbr
+	vcopy bin ${TARGET_PATH}
+	vcopy help ${TARGET_PATH}
+	vcopy lib ${TARGET_PATH}
+	vcopy plugins ${TARGET_PATH}
+	vcopy redist ${TARGET_PATH}
+	vcopy product-info.json ${TARGET_PATH}
+	vcopy build.txt ${TARGET_PATH}
+
+	ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea-ultimate
+}
diff --git a/srcpkgs/intellij-idea-ultimate-edition/update b/srcpkgs/intellij-idea-ultimate-edition/update
new file mode 100644
index 00000000000..0fd4e8031bd
--- /dev/null
+++ b/srcpkgs/intellij-idea-ultimate-edition/update
@@ -0,0 +1,2 @@
+pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
+site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, back to index

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11736@inbox.vuxu.org>
2019-06-10  1:06 ` [PR PATCH] [Updated] New packages: intellij-idea-ultimate-edition-2019.1.1, CLion-2019.1.2, WebStorm-2019.1.1, GoLand-2019.1.1, RubyMine-2019.1.1 voidlinux-github
2019-06-10  1:06 ` voidlinux-github
2019-06-11 20:47 ` voidlinux-github
2019-06-15 17:53 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-15 17:53 ` voidlinux-github
2019-06-15 17:56 ` voidlinux-github
2019-06-15 17:58 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-15 17:58 ` voidlinux-github
2019-06-15 22:25 ` New packages: intellij-idea-ultimate-edition-2019.1.3, CLion-2019.1.4, WebStorm-2019.1.3, GoLand-2019.1.3, RubyMine-2019.1.2 voidlinux-github
2019-06-18  6:09 ` voidlinux-github
2019-06-18 15:26 ` voidlinux-github
2019-06-20  7:06 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-20  7:06 ` voidlinux-github
2019-06-20  7:08 ` voidlinux-github
2019-06-20  7:08 ` voidlinux-github
2019-06-22 18:09 ` voidlinux-github
2019-06-22 18:17 ` voidlinux-github
2019-06-23  6:09 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-23  6:09 ` voidlinux-github
2019-06-23  6:10 ` voidlinux-github
2019-06-23  6:10 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-23  6:10 ` voidlinux-github
2019-06-23 19:54 ` voidlinux-github
2019-06-23 19:54 ` voidlinux-github
2019-06-24  6:09 ` voidlinux-github
2019-06-24 15:11 ` voidlinux-github
2019-06-26  5:39 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-26  5:39 ` voidlinux-github
2019-06-26  5:39 ` voidlinux-github
2019-06-29 12:09 ` voidlinux-github
2019-06-29 16:45 ` voidlinux-github
2019-06-29 16:45 ` voidlinux-github
2019-07-08 19:53 ` voidlinux-github
2019-07-15  1:33 ` voidlinux-github
2019-10-15  6:31 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-15  6:31 ` voidlinux-github
2019-10-15 16:41 ` voidlinux-github
2019-10-19 20:05 ` voidlinux-github
2019-11-04 19:06 ` voidlinux-github
2019-11-09  6:28 ` [PR PATCH] [Updated] " voidlinux-github

Github messages for voidlinux

Archives are clonable: git clone --mirror http://inbox.vuxu.org/voidlinux-github

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git