Date: Fri, 12 Jan 2024 09:38:26 GMT From: Vladimir Druzenko <vvd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 257ccb0437e3 - main - databases/sqldeveloper: add NO_ARCH=yes and remove JavaFX native libraries for other OSes Message-ID: <202401120938.40C9cQbU053081@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=257ccb0437e30df9d0337fe16efc9d05778bb611 commit 257ccb0437e30df9d0337fe16efc9d05778bb611 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2024-01-12 09:26:31 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-01-12 09:38:08 +0000 databases/sqldeveloper: add NO_ARCH=yes and remove JavaFX native libraries for other OSes This is a Java application using JavaFX from port java/openjfx14. Also reduce "Flat size" from 545MiB to 422MiB. Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D43410 --- databases/sqldeveloper/Makefile | 5 ++ databases/sqldeveloper/pkg-plist | 98 ---------------------------------------- 2 files changed, 5 insertions(+), 98 deletions(-) diff --git a/databases/sqldeveloper/Makefile b/databases/sqldeveloper/Makefile index ef18507e6398..818e0d260857 100644 --- a/databases/sqldeveloper/Makefile +++ b/databases/sqldeveloper/Makefile @@ -1,5 +1,6 @@ PORTNAME= sqldeveloper DISTVERSION= 23.1.1.345.2114 +PORTREVISION= 1 DISTVERSIONSUFFIX= -no-jre CATEGORIES= databases java # https://www.oracle.com/tools/downloads/sqldev-downloads.html @@ -21,6 +22,7 @@ USE_JAVA= yes JAVA_VERSION= 11+ DATADIR= ${JAVASHAREDIR}/${PORTNAME} +NO_ARCH= yes NO_BUILD= yes SUB_FILES= ${PORTNAME}.desktop ${PORTNAME}.sh SUB_LIST= JAVA_HOME=${JAVA_HOME} \ @@ -75,6 +77,9 @@ do-install: ${ECHO_MSG} " [ DONE ]" .endfor + ${RM} -r ${STAGEDIR}/${DATADIR}/modules/javafx + ${RM} -r ${STAGEDIR}/${DATADIR}/netbeans/platform/modules/lib + @${ECHO_MSG} ">> Installing icon and desktop file ..." @${MKDIR} ${STAGEDIR}/${PREFIX}/share/applications/ \ ${STAGEDIR}/${PREFIX}/share/icons/hicolor/32x32/apps/ diff --git a/databases/sqldeveloper/pkg-plist b/databases/sqldeveloper/pkg-plist index 47d91e595f99..8f86eb975e63 100644 --- a/databases/sqldeveloper/pkg-plist +++ b/databases/sqldeveloper/pkg-plist @@ -424,100 +424,6 @@ share/icons/hicolor/32x32/apps/sqldeveloper.png %%DATADIR%%/modules/j2ee/jaxb-api.jar %%DATADIR%%/modules/j2ee/jaxb-runtime.jar %%DATADIR%%/modules/j2ee/jaxws-api.jar -%%DATADIR%%/modules/javafx/linux-x64/legal/javafx.base/COPYRIGHT -%%DATADIR%%/modules/javafx/linux-x64/legal/javafx.controls/COPYRIGHT -%%DATADIR%%/modules/javafx/linux-x64/legal/javafx.fxml/COPYRIGHT -%%DATADIR%%/modules/javafx/linux-x64/legal/javafx.graphics/COPYRIGHT -%%DATADIR%%/modules/javafx/linux-x64/legal/javafx.graphics/jpeg_fx.md -%%DATADIR%%/modules/javafx/linux-x64/legal/javafx.graphics/mesa3d.md -%%DATADIR%%/modules/javafx/linux-x64/legal/javafx.media/COPYRIGHT -%%DATADIR%%/modules/javafx/linux-x64/legal/javafx.media/directshow.md -%%DATADIR%%/modules/javafx/linux-x64/legal/javafx.media/glib.md -%%DATADIR%%/modules/javafx/linux-x64/legal/javafx.media/gstreamer.md -%%DATADIR%%/modules/javafx/linux-x64/legal/javafx.media/libffi.md -%%DATADIR%%/modules/javafx/linux-x64/legal/javafx.swing/COPYRIGHT -%%DATADIR%%/modules/javafx/linux-x64/legal/javafx.web/COPYRIGHT -%%DATADIR%%/modules/javafx/linux-x64/legal/javafx.web/icu_web.md -%%DATADIR%%/modules/javafx/linux-x64/legal/javafx.web/libxml2.md -%%DATADIR%%/modules/javafx/linux-x64/legal/javafx.web/libxslt.md -%%DATADIR%%/modules/javafx/linux-x64/legal/javafx.web/webkit.md -%%DATADIR%%/modules/javafx/linux-x64/lib/javafx-swt.jar -%%DATADIR%%/modules/javafx/linux-x64/lib/javafx.base.jar -%%DATADIR%%/modules/javafx/linux-x64/lib/javafx.controls.jar -%%DATADIR%%/modules/javafx/linux-x64/lib/javafx.fxml.jar -%%DATADIR%%/modules/javafx/linux-x64/lib/javafx.graphics.jar -%%DATADIR%%/modules/javafx/linux-x64/lib/javafx.media.jar -%%DATADIR%%/modules/javafx/linux-x64/lib/javafx.properties -%%DATADIR%%/modules/javafx/linux-x64/lib/javafx.swing.jar -%%DATADIR%%/modules/javafx/linux-x64/lib/javafx.web.jar -%%DATADIR%%/modules/javafx/linux-x64/lib/src.zip -%%DATADIR%%/modules/javafx/osx-x64/legal/javafx.base/COPYRIGHT -%%DATADIR%%/modules/javafx/osx-x64/legal/javafx.controls/COPYRIGHT -%%DATADIR%%/modules/javafx/osx-x64/legal/javafx.fxml/COPYRIGHT -%%DATADIR%%/modules/javafx/osx-x64/legal/javafx.graphics/COPYRIGHT -%%DATADIR%%/modules/javafx/osx-x64/legal/javafx.graphics/jpeg_fx.md -%%DATADIR%%/modules/javafx/osx-x64/legal/javafx.graphics/mesa3d.md -%%DATADIR%%/modules/javafx/osx-x64/legal/javafx.media/COPYRIGHT -%%DATADIR%%/modules/javafx/osx-x64/legal/javafx.media/directshow.md -%%DATADIR%%/modules/javafx/osx-x64/legal/javafx.media/glib.md -%%DATADIR%%/modules/javafx/osx-x64/legal/javafx.media/gstreamer.md -%%DATADIR%%/modules/javafx/osx-x64/legal/javafx.media/libffi.md -%%DATADIR%%/modules/javafx/osx-x64/legal/javafx.swing/COPYRIGHT -%%DATADIR%%/modules/javafx/osx-x64/legal/javafx.web/COPYRIGHT -%%DATADIR%%/modules/javafx/osx-x64/legal/javafx.web/icu_web.md -%%DATADIR%%/modules/javafx/osx-x64/legal/javafx.web/libxml2.md -%%DATADIR%%/modules/javafx/osx-x64/legal/javafx.web/libxslt.md -%%DATADIR%%/modules/javafx/osx-x64/legal/javafx.web/webkit.md -%%DATADIR%%/modules/javafx/osx-x64/lib/javafx-swt.jar -%%DATADIR%%/modules/javafx/osx-x64/lib/javafx.base.jar -%%DATADIR%%/modules/javafx/osx-x64/lib/javafx.controls.jar -%%DATADIR%%/modules/javafx/osx-x64/lib/javafx.fxml.jar -%%DATADIR%%/modules/javafx/osx-x64/lib/javafx.graphics.jar -%%DATADIR%%/modules/javafx/osx-x64/lib/javafx.media.jar -%%DATADIR%%/modules/javafx/osx-x64/lib/javafx.properties -%%DATADIR%%/modules/javafx/osx-x64/lib/javafx.swing.jar -%%DATADIR%%/modules/javafx/osx-x64/lib/javafx.web.jar -%%DATADIR%%/modules/javafx/osx-x64/lib/libdecora_sse.dylib -%%DATADIR%%/modules/javafx/osx-x64/lib/libfxplugins.dylib -%%DATADIR%%/modules/javafx/osx-x64/lib/libglass.dylib -%%DATADIR%%/modules/javafx/osx-x64/lib/libglib-lite.dylib -%%DATADIR%%/modules/javafx/osx-x64/lib/libgstreamer-lite.dylib -%%DATADIR%%/modules/javafx/osx-x64/lib/libjavafx_font.dylib -%%DATADIR%%/modules/javafx/osx-x64/lib/libjavafx_iio.dylib -%%DATADIR%%/modules/javafx/osx-x64/lib/libjfxmedia.dylib -%%DATADIR%%/modules/javafx/osx-x64/lib/libjfxmedia_avf.dylib -%%DATADIR%%/modules/javafx/osx-x64/lib/libjfxwebkit.dylib -%%DATADIR%%/modules/javafx/osx-x64/lib/libprism_common.dylib -%%DATADIR%%/modules/javafx/osx-x64/lib/libprism_es2.dylib -%%DATADIR%%/modules/javafx/osx-x64/lib/libprism_sw.dylib -%%DATADIR%%/modules/javafx/osx-x64/lib/src.zip -%%DATADIR%%/modules/javafx/windows-x64/legal/javafx.base/COPYRIGHT -%%DATADIR%%/modules/javafx/windows-x64/legal/javafx.controls/COPYRIGHT -%%DATADIR%%/modules/javafx/windows-x64/legal/javafx.fxml/COPYRIGHT -%%DATADIR%%/modules/javafx/windows-x64/legal/javafx.graphics/COPYRIGHT -%%DATADIR%%/modules/javafx/windows-x64/legal/javafx.graphics/jpeg_fx.md -%%DATADIR%%/modules/javafx/windows-x64/legal/javafx.graphics/mesa3d.md -%%DATADIR%%/modules/javafx/windows-x64/legal/javafx.media/COPYRIGHT -%%DATADIR%%/modules/javafx/windows-x64/legal/javafx.media/directshow.md -%%DATADIR%%/modules/javafx/windows-x64/legal/javafx.media/glib.md -%%DATADIR%%/modules/javafx/windows-x64/legal/javafx.media/gstreamer.md -%%DATADIR%%/modules/javafx/windows-x64/legal/javafx.media/libffi.md -%%DATADIR%%/modules/javafx/windows-x64/legal/javafx.swing/COPYRIGHT -%%DATADIR%%/modules/javafx/windows-x64/legal/javafx.web/COPYRIGHT -%%DATADIR%%/modules/javafx/windows-x64/legal/javafx.web/icu_web.md -%%DATADIR%%/modules/javafx/windows-x64/legal/javafx.web/libxml2.md -%%DATADIR%%/modules/javafx/windows-x64/legal/javafx.web/libxslt.md -%%DATADIR%%/modules/javafx/windows-x64/legal/javafx.web/webkit.md -%%DATADIR%%/modules/javafx/windows-x64/lib/javafx-swt.jar -%%DATADIR%%/modules/javafx/windows-x64/lib/javafx.base.jar -%%DATADIR%%/modules/javafx/windows-x64/lib/javafx.controls.jar -%%DATADIR%%/modules/javafx/windows-x64/lib/javafx.fxml.jar -%%DATADIR%%/modules/javafx/windows-x64/lib/javafx.graphics.jar -%%DATADIR%%/modules/javafx/windows-x64/lib/javafx.media.jar -%%DATADIR%%/modules/javafx/windows-x64/lib/javafx.properties -%%DATADIR%%/modules/javafx/windows-x64/lib/javafx.swing.jar -%%DATADIR%%/modules/javafx/windows-x64/lib/javafx.web.jar -%%DATADIR%%/modules/javafx/windows-x64/lib/src.zip %%DATADIR%%/modules/javax.el-2.2.5.jar %%DATADIR%%/modules/javax.servlet.javax.servlet-api.jar %%DATADIR%%/modules/javax.servlet.jsp.javax.servlet.jsp-api.jar @@ -2247,7 +2153,3 @@ share/icons/hicolor/32x32/apps/sqldeveloper.png %%DATADIR%%/svnkit/svnjavahl.jar %%DATADIR%%/svnkit/svnkit.jar %%DATADIR%%/svnkit/trilead.jar -@dir %%DATADIR%%/modules/javafx/windows-x64/bin -@dir %%DATADIR%%/netbeans/platform/modules/lib/amd64/linux -@dir %%DATADIR%%/netbeans/platform/modules/lib/i386/linux -@dir %%DATADIR%%/netbeans/platform/modules/lib/x86
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401120938.40C9cQbU053081>