From nobody Mon May 6 20:25:58 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VYCbV441Jz5JGXt; Mon, 06 May 2024 20:25:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VYCbV24FJz4Dj8; Mon, 6 May 2024 20:25:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715027158; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JEG+SyE/57gqVXb+khXXkoxL8O1Lelfm+3D1nTkpE10=; b=PE2QEEnA247fF+zb1O4+8feMCTEY2kVxqzyk5g7ztUsyfv4gloQwmeD9CnxAtxp70Hs96k 3t+Qrn9GC/NWc9TKMx3/5HcT4aPTFj98zgYJx6JvMt7bKT8BL2io7/Ps/AZg8HhNgSbuQ8 8Txk/HgO8xKDxfNAeJ6RZFEOfzfF44LGNsKJwk0j7eGcCick1nWyhiWM4ltMxPfHvCBCv9 4ZTvb38nnqXvfo8ZFKSEpeEoKHTRYvfUH6Tnv0Gn8bQc+uhZnH9KhEHs8drOW91C4ABIHI vej/X4uUfgUGlNI5x4tkmhhUa0JXpa4UgFsob5DjMU07Oat3edcJFBjyhriHoA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715027158; a=rsa-sha256; cv=none; b=jP4xcbJDZ5PBtFyPdxSClYfJiEyuk4DdYWa0jpzax56ypIrqttj4t7rCVFzwMZBXjwgrd/ d7JISj5ANoTyPKGCutjB2/fX7Pl23eWJs/W+SIORZU9g2O35N6CTtuYF4JQtuOd/rl8Jv1 GDl4h0tDxHcCC6aEjRo3Z/xuM0FKhXLNkLBEh61uA0c3i0yPwVf2R74FqGNUUZ0q8sbAmi esTwa5rKMAI0h1fuPJWwwJxzOW4RKiVdNXzQvzhHyloCg6W+Y3cvXhSnjeWkOA/TZNlf0D wreJh9QA21JnBdwgiTOcklBPgCw5uRW5Mi2t6pijk9wUZ4T6qE91JhR3pryqpw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715027158; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JEG+SyE/57gqVXb+khXXkoxL8O1Lelfm+3D1nTkpE10=; b=fi8HORHLK7K+pbmWvtyYgN4/V5ELjsi4uhpn+7k6OjJ7vsJV0BY8AzwwJzlC9pr9Z6TZyU cA+Vznp6GY63kIkR2jl0FD1AFOt0Hit0gjipZdNPwutqwt/UZUc0e6Q2/7z5jDUojeW+4j W0jlLkggcg5M4eZN/KFFjMtvx/FNP8opkmnu6FAmRE+OBVjo84hquiMhSbAg/K7GagWCbI GWpxW6DUOI3tNJKu6MaO95NGm9pMukUsFxhwPqenDTVIezdsEozFw/UUTmwMj3MufA9H9p z+IFt2uXd5p8j/7SJwVtYLBcFB5hITI1nlbLNmi26hJrcwun4QCFIj68PR6LUQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VYCbV1Rgpz1BfC; Mon, 6 May 2024 20:25:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 446KPwN5048263; Mon, 6 May 2024 20:25:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 446KPwHr048260; Mon, 6 May 2024 20:25:58 GMT (envelope-from git) Date: Mon, 6 May 2024 20:25:58 GMT Message-Id: <202405062025.446KPwHr048260@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: dc99303b1691 - main - devel/pycharm-ce: Use EXTRACT_AFTER_ARGS List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dc99303b1691df946e9223cc9756e120e1ff38ec Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=dc99303b1691df946e9223cc9756e120e1ff38ec commit dc99303b1691df946e9223cc9756e120e1ff38ec Author: Daniel Engberg AuthorDate: 2024-05-06 20:02:58 +0000 Commit: Daniel Engberg CommitDate: 2024-05-06 20:08:41 +0000 devel/pycharm-ce: Use EXTRACT_AFTER_ARGS To decrease I/O load skip extracting files instead of removing after extraction PR: 278759 Reviewed by: Jonathan Chen (maintainer, previous version) --- devel/pycharm-ce/Makefile | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/devel/pycharm-ce/Makefile b/devel/pycharm-ce/Makefile index aaa306fd88b1..42bcd93e62ad 100644 --- a/devel/pycharm-ce/Makefile +++ b/devel/pycharm-ce/Makefile @@ -24,6 +24,20 @@ SHEBANG_FILES= plugins/python-ce/helpers/pycodestyle-2.10.0.py \ plugins/python-ce/helpers/pycodestyle.py \ plugins/python-ce/helpers/typeshed/scripts/sync_tensorflow_protobuf_stubs.sh +# Remove the bundled native Pty4J support libraries, they are replaced by java/jetbrains-pty4j +# Remove bundled linux-only JRE +EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/bin/*fsnotifier* \ + --exclude ${DISTNAME}/bin/*.so \ + --exclude ${DISTNAME}/bin/repair \ + --exclude ${DISTNAME}/bin/restarter \ + --exclude ${DISTNAME}/lib/*.so \ + --exclude ${DISTNAME}/plugins/*.so \ + --exclude ${DISTNAME}/plugins/cwm-plugin/quiche-native \ + --exclude ${DISTNAME}/plugins/python-ce/helpers/pydev/pydevd_attach_to_process \ + --exclude ${DISTNAME}/lib/pty4j \ + --exclude ${DISTNAME}/jbr \ + --no-same-owner --no-same-permissions + NO_BUILD= yes .include "${.CURDIR}/../../java/intellij/common.mk" @@ -33,15 +47,7 @@ SUB_LIST+= IDEA_HOME=${IDEA_HOME} # Remove non-native binaries post-extract: - @${RM} ${WRKSRC}/bin/*fsnotifier* ${WRKSRC}/bin/*.so ${WRKSRC}/bin/repair ${WRKSRC}/bin/restarter - @${FIND} ${WRKSRC}/lib ${WRKSRC}/plugins -name '*.so' -delete @${FIND} ${WRKSRC}/lib ${WRKSRC}/plugins -type d -empty -delete - @${RM} -r ${WRKSRC}/plugins/cwm-plugin/quiche-native - @${RM} -r ${WRKSRC}/plugins/python-ce/helpers/pydev/pydevd_attach_to_process -# Remove the bundled native Pty4J support libraries, they are replaced by java/jetbrains-pty4j - @${RM} -r ${WRKSRC}/lib/pty4j -# Remove bundled linux-only JRE - @${RM} -r ${WRKSRC}/jbr # TODO: Remove and enable fsnotifier when devel/libinotify is fixed # Disable filewatcher warning message on IDEA startup ${ECHO} "idea.filewatcher.disabled=true" >> ${WRKSRC}/bin/idea.properties