pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/pycharm-bin



Module Name:    pkgsrc
Committed By:   hauke
Date:           Thu Jul 13 11:30:18 UTC 2023

Modified Files:
        pkgsrc/devel/pycharm-bin: Makefile distinfo
Added Files:
        pkgsrc/devel/pycharm-bin/patches: patch-bin_pycharm.vmoptions
            patch-bin_pycharm64.vmoptions

Log Message:
This Pycharm version is a bit long in the tooth, and breaks on Java
17, limit the version range.

Remove deprecated VM option.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/pycharm-bin/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/pycharm-bin/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/pycharm-bin/patches/patch-bin_pycharm.vmoptions \
    pkgsrc/devel/pycharm-bin/patches/patch-bin_pycharm64.vmoptions

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/pycharm-bin/Makefile
diff -u pkgsrc/devel/pycharm-bin/Makefile:1.6 pkgsrc/devel/pycharm-bin/Makefile:1.7
--- pkgsrc/devel/pycharm-bin/Makefile:1.6       Thu Jun 30 11:18:17 2022
+++ pkgsrc/devel/pycharm-bin/Makefile   Thu Jul 13 11:30:18 2023
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.6 2022/06/30 11:18:17 nia Exp $
+# $NetBSD: Makefile,v 1.7 2023/07/13 11:30:18 hauke Exp $
 
 
 VERSION=       2019.1.2
 DISTNAME=      pycharm-community-${VERSION}
 PKGNAME=       pycharm-bin-${VERSION}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    devel
 MASTER_SITES=  http://download.jetbrains.com/python/
 
@@ -19,6 +19,9 @@ WRKSRC=               ${WRKDIR}/pycharm-community-${V
 USE_JAVA=      yes
 USE_JAVA2=     8
 
+# 2019 breaks on java17
+PKG_JVMS_ACCEPTED= openjdk11 adoptopenjdk11-bin openjdk-bin openjdk8 oracle-jdk8
+
 USE_TOOLS+=    pax sed
 
 REPLACE_PYTHON=        bin/printenv.py \
@@ -39,7 +42,7 @@ SUBST_VARS.jdk=               PKG_JAVA_HOME
 
 do-install:
        cd ${WRKSRC} && \
-       ${RM} -r bin/fsnotifier bin/fsnotifier-arm bin/pycharm.sh.orig\
+       ${RM} -r bin/fsnotifier bin/fsnotifier-arm bin/*.orig   \
        bin/fsnotifier64 bin/libdbm64.so                        \
        lib/pty4j-native/linux/x86/libpty.so                    \
        lib/pty4j-native/linux/x86_64/libpty.so                 \

Index: pkgsrc/devel/pycharm-bin/distinfo
diff -u pkgsrc/devel/pycharm-bin/distinfo:1.4 pkgsrc/devel/pycharm-bin/distinfo:1.5
--- pkgsrc/devel/pycharm-bin/distinfo:1.4       Tue Oct 26 10:19:18 2021
+++ pkgsrc/devel/pycharm-bin/distinfo   Thu Jul 13 11:30:18 2023
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:19:18 nia Exp $
+$NetBSD: distinfo,v 1.5 2023/07/13 11:30:18 hauke Exp $
 
 BLAKE2s (pycharm-community-2019.1.2.tar.gz) = 23decd66d6ea35acc13b88e73dd436e9fabe94064d55859e80dcb0a1dd191ffd
 SHA512 (pycharm-community-2019.1.2.tar.gz) = 48782960022efe48f37b2bdec0be1f15741f6dde2a2dcec686ecfb07c81996c3d6fc46cf3eda2fa4cc53a67f7ec47909e47ed57b2edbf973482ca37781067415
 Size (pycharm-community-2019.1.2.tar.gz) = 333983594 bytes
 SHA1 (patch-bin_pycharm.sh) = 9a210e61e8f66ddba82c9f23c9b4ecec2c65c055
+SHA1 (patch-bin_pycharm.vmoptions) = d2402e3c804dcaee2396eeb74db8b808884abbd6
+SHA1 (patch-bin_pycharm64.vmoptions) = ac16bb00efae7817f043da4028d50ebd2ffabedb

Added files:

Index: pkgsrc/devel/pycharm-bin/patches/patch-bin_pycharm.vmoptions
diff -u /dev/null pkgsrc/devel/pycharm-bin/patches/patch-bin_pycharm.vmoptions:1.1
--- /dev/null   Thu Jul 13 11:30:18 2023
+++ pkgsrc/devel/pycharm-bin/patches/patch-bin_pycharm.vmoptions        Thu Jul 13 11:30:18 2023
@@ -0,0 +1,14 @@
+$NetBSD: patch-bin_pycharm.vmoptions,v 1.1 2023/07/13 11:30:18 hauke Exp $
+
+Remove unsupported VM option.
+
+--- bin/pycharm.vmoptions.orig 2019-05-07 14:53:11.000000000 +0000
++++ bin/pycharm.vmoptions
+@@ -2,7 +2,6 @@
+ -Xms128m
+ -Xmx512m
+ -XX:ReservedCodeCacheSize=240m
+--XX:+UseConcMarkSweepGC
+ -XX:SoftRefLRUPolicyMSPerMB=50
+ -ea
+ -Dsun.io.useCanonCaches=false
Index: pkgsrc/devel/pycharm-bin/patches/patch-bin_pycharm64.vmoptions
diff -u /dev/null pkgsrc/devel/pycharm-bin/patches/patch-bin_pycharm64.vmoptions:1.1
--- /dev/null   Thu Jul 13 11:30:18 2023
+++ pkgsrc/devel/pycharm-bin/patches/patch-bin_pycharm64.vmoptions      Thu Jul 13 11:30:18 2023
@@ -0,0 +1,14 @@
+$NetBSD: patch-bin_pycharm64.vmoptions,v 1.1 2023/07/13 11:30:18 hauke Exp $
+
+Remove unsupported VM option.
+
+--- bin/pycharm64.vmoptions.orig       2019-05-07 14:53:11.000000000 +0000
++++ bin/pycharm64.vmoptions
+@@ -1,7 +1,6 @@
+ -Xms128m
+ -Xmx750m
+ -XX:ReservedCodeCacheSize=240m
+--XX:+UseConcMarkSweepGC
+ -XX:SoftRefLRUPolicyMSPerMB=50
+ -ea
+ -Dsun.io.useCanonCaches=false



Home | Main Index | Thread Index | Old Index