* 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
` (4 subsequent siblings)
5 siblings, 0 replies; 6+ 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, UTF-8 assumed --]
[-- 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
---
| 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
--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] 6+ 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-15 17:53 ` voidlinux-github
` (3 subsequent siblings)
5 siblings, 0 replies; 6+ 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, UTF-8 assumed --]
[-- 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
---
| 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
--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] 6+ 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-15 17:53 ` voidlinux-github
2019-06-15 17:53 ` voidlinux-github
` (2 subsequent siblings)
5 siblings, 0 replies; 6+ 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, UTF-8 assumed --]
[-- 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
---
| 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
--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] 6+ 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-15 17:53 ` voidlinux-github
@ 2019-06-15 17:53 ` voidlinux-github
2019-06-15 17:58 ` voidlinux-github
2019-06-15 17:58 ` voidlinux-github
5 siblings, 0 replies; 6+ 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, UTF-8 assumed --]
[-- 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
---
| 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
--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] 6+ 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 ` voidlinux-github
@ 2019-06-15 17:58 ` voidlinux-github
2019-06-15 17:58 ` voidlinux-github
5 siblings, 0 replies; 6+ 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, UTF-8 assumed --]
[-- 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
---
| 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
--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] 6+ 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>
` (4 preceding siblings ...)
2019-06-15 17:58 ` voidlinux-github
@ 2019-06-15 17:58 ` voidlinux-github
5 siblings, 0 replies; 6+ 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, UTF-8 assumed --]
[-- 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
---
| 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
--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] 6+ messages in thread