From fbda87924e6faa7a1919f1a2b4182490bde5ec5c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 3 Sep 2021 20:56:28 +0100 Subject: gentoo resync : 03.09.2021 --- dev-db/sqldeveloper/Manifest | 4 +- .../sqldeveloper-21.2.0.187.1842.ebuild | 97 -------------------- .../sqldeveloper-21.2.1.204.1703.ebuild | 100 +++++++++++++++++++++ 3 files changed, 102 insertions(+), 99 deletions(-) delete mode 100644 dev-db/sqldeveloper/sqldeveloper-21.2.0.187.1842.ebuild create mode 100644 dev-db/sqldeveloper/sqldeveloper-21.2.1.204.1703.ebuild (limited to 'dev-db/sqldeveloper') diff --git a/dev-db/sqldeveloper/Manifest b/dev-db/sqldeveloper/Manifest index 1ba98c1d9840..59b5a843d2c5 100644 --- a/dev-db/sqldeveloper/Manifest +++ b/dev-db/sqldeveloper/Manifest @@ -1,7 +1,7 @@ AUX sqldeveloper 325 BLAKE2B e89acd5441362bc693296e2fef189e637944413094169c09be73bb1f514393f0239c7f4c5b186dd0e34bd1bda9730f4bb2e029b166f1db740ac34eff25097c84 SHA512 ab1d70c5b693efe5e6270d7fcd0ba7ef30852ed98fe88a1853c5b415178c51bbb754a4da6964b5e57e87c38015cc90ac2fc04b7aa121b660300434523457bad2 AUX sqldeveloper-r1 407 BLAKE2B 26bf826e6ccf1cd45b52e7cdf6e694d88570118c0e98cab83f66f078ed79fea36fb3fa6df67dc271a74faad4307996c4968f6d316d9fc71d1a5360804f39782e SHA512 cf089f58c9de3677dbaa7b0c4bdd81e234bffac4c25f5a433c7854068ca33b5a4165d8a5d24188890d5d8c60c209adee5267a255505b978a5a7f73646fd1dfbe -DIST sqldeveloper-21.2.0.187.1842-no-jre.zip 458192293 BLAKE2B 7aed56d9bddb8c75f2bbe7bd7fdb6c7be470903ea462c44bd650caeb818ad90d87c9415d5a2c9fc5a4622e8184ea12622979a99dda04d47171e9565061da463c SHA512 7f292cd55c460da61841d85ea2269a9c051370503aea621394ff97d6ef2a9adf12403cc88626b6fb446a493a6024dacbf4fa0667a4cbf7c831a6932b7e6dfb61 +DIST sqldeveloper-21.2.1.204.1703-no-jre.zip 458220863 BLAKE2B 0f5bfb3a97667a728db6b8d61178cdfc90db0958ea7e08460de8d854037f775aa5b97e7e334048c5a717acb35db64334358918b45046395b0170f3ff733d3c65 SHA512 4cdff031ea008bb7b31a202487bb98c1748599b7190ba5b82c9c3fbcc86d453e75751585c243ca9f52d255a43e24a720a0929630b3c3742cf8e91cfa980cf3bb DIST sqldeveloper-4.2.0.17.089.1709-no-jre.zip 348604841 BLAKE2B 0c3adff04f148102e6460c7550f787329c7e5a69aca0b81c2de4725b9c9ea27c03bb2f588671a95371aa3612839805f2042855b443bb5635c70d0e0b2140295b SHA512 4d1e270376ae125a60146228e35fcb2cb615d593c0e9f2ca98e4deef4d8fd1ddff59cf15064d63e33e77125f49e8da9fe317ed1fd96a9b00a699bf6c5e739874 -EBUILD sqldeveloper-21.2.0.187.1842.ebuild 2828 BLAKE2B 74ca7e5d67d481c1dcd9dc24f56b551daa6767669519c8f5a6d9548eee02f978d4096be215f2e58fba0eaedfc296abade57acd2f2039208afb910dd33e2b97a1 SHA512 ddcae0c1f19f7a7d1cdc38a9ff1a5949c2979dc344eb51fa5125bfc78c03b5185a3ee69a1388e69d01513b53e834cf0619dc8f28370d15a35bea296a69323073 +EBUILD sqldeveloper-21.2.1.204.1703.ebuild 2955 BLAKE2B 0f33dc602a74414868e7c393d1411447c9ee1c6f816c3a4633d1ad217a0d41803c528d56615ea3d271d103936d8bc855707383ab94f656a829ece56b82cf9ca0 SHA512 01f0408b16e7f42bc86c4be51b413d7f5c6673a4721eebf423b6eaa1e1a4f2422147f8c10ac2fd492bda8c0d23b5f152d390021dfedd2347b9eddd039b358420 EBUILD sqldeveloper-4.2.0.17.089.1709.ebuild 3218 BLAKE2B 3640beb6c918d9e2110eb409b4d51de29d1d74a2e1b37cce43b1dd14a74c712b6edf6842e005c697f9da13cc1e7327f0576d722c030c19ff99f9a8fa8b54a1a1 SHA512 27700ffcb3b832074bdd962133b4ca4fe8c6e5be26783a9999aa1b8e9809f82cfca4713265e493d31691d292760fba1e1a8388800aec19fdcc224b5be9ef54b0 MISC metadata.xml 495 BLAKE2B b8622f4768a8dcd21e32030ec63b74281c7dbdc77fbddd6f2017035b7829a80eac3086d88c78bba3a0b4d6ab614f3bbb80019eae69240fe98d21f72d5f08c857 SHA512 d605e837de9cba7955733ee0043340be3efddeb0969166a3483a2f3e68c6a74dc4bed7f5f0fc19fe8af8c8d9dbaf3beb23797125a27a053fdc9a7e0f273d6368 diff --git a/dev-db/sqldeveloper/sqldeveloper-21.2.0.187.1842.ebuild b/dev-db/sqldeveloper/sqldeveloper-21.2.0.187.1842.ebuild deleted file mode 100644 index 47c5cd1e77d3..000000000000 --- a/dev-db/sqldeveloper/sqldeveloper-21.2.0.187.1842.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop java-pkg-2 - -DESCRIPTION="Oracle SQL Developer is a graphical tool for database development" -HOMEPAGE="https://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html" -SRC_URI="${P}-no-jre.zip" -S="${WORKDIR}/${PN}" - -RESTRICT="bindist fetch" - -LICENSE="OTN" -SLOT="0" -KEYWORDS="-* ~amd64" - -IUSE="mssql mysql postgres sybase" - -RDEPEND=" - >=dev-java/openjdk-8:*[javafx] - >=virtual/jre-1.8:* - mssql? ( dev-java/jtds:1.3 ) - mysql? ( dev-java/jdbc-mysql:0 ) - postgres? ( dev-java/jdbc-postgresql:0 ) - sybase? ( dev-java/jtds:1.3 ) -" -BDEPEND="app-arch/unzip" - -QA_PREBUILT=" - opt/${PN}/netbeans/platform/modules/lib/amd64/linux/libjnidispatch-422.so -" - -pkg_nofetch() { - einfo "Please go to" - einfo " ${HOMEPAGE}" - einfo "and download" - einfo " Oracle SQL Developer for other platforms" - einfo " ${SRC_URI}" - einfo "and move it to /var/cache/distfiles" -} - -src_prepare() { - default - find ./ \( -iname "*.exe" -or -iname "*.dll" -or -iname "*.bat" \) -exec rm {} + || die - sed -i 's|"`dirname $0`"|/opt/sqldeveloper|' sqldeveloper.sh || die - - rm -r netbeans/platform/modules/lib/i386 || die - #rm -r modules/javafx/{osx-x64,windows-x64} || die - rm -r modules/javafx || die - - # they both use jtds, enabling one of them also enables the other one - if use mssql && ! use sybase; then - einfo "You requested MSSQL support, this also enables Sybase support." - fi - if use sybase && ! use mssql; then - einfo "You requested Sybase support, this also enables MSSQL support." - fi - - if use mssql || use sybase; then - echo "AddJavaLibFile $(java-pkg_getjars jtds-1.3)" >> sqldeveloper/bin/sqldeveloper.conf || die - fi - - if use mysql; then - echo "AddJavaLibFile $(java-pkg_getjars jdbc-mysql)" >> sqldeveloper/bin/sqldeveloper.conf || die - fi - - if use postgres; then - echo "AddJavaLibFile $(java-pkg_getjars jdbc-postgresql)" >> sqldeveloper/bin/sqldeveloper.conf || die - fi -} - -src_install() { - insinto /opt/${PN} - doins -r {configuration,d{ataminer,ropins},e{quinox,xternal},ide,j{avavm,d{bc,ev},lib,views},modules,netbeans,orakafka,rdbms,s{leepycat,ql{developer,j},vnkit}} - - fperms +x /opt/${PN}/netbeans/platform/modules/lib/amd64/linux/libjnidispatch-422.so - - newbin "${FILESDIR}"/${PN}-r1 ${PN} - - newicon icon.png ${PN}-32x32.png - make_desktop_entry ${PN} "Oracle SQL Developer" ${PN}-32x32 - - # This is normally called automatically by java-pkg_dojar, which - # hasn't been used above. We need to create package.env to help the - # launcher select the correct VM. - java-pkg_do_write_ -} - -pkg_postinst() { - echo - einfo "If you want to use the TNS connection type you need to set up the" - einfo "TNS_ADMIN environment variable to point to the directory your" - einfo "tnsnames.ora resides in." - echo -} diff --git a/dev-db/sqldeveloper/sqldeveloper-21.2.1.204.1703.ebuild b/dev-db/sqldeveloper/sqldeveloper-21.2.1.204.1703.ebuild new file mode 100644 index 000000000000..3707f45ec26d --- /dev/null +++ b/dev-db/sqldeveloper/sqldeveloper-21.2.1.204.1703.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop java-pkg-2 + +DESCRIPTION="Oracle SQL Developer is a graphical tool for database development" +HOMEPAGE="https://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html" +SRC_URI="${P}-no-jre.zip" +S="${WORKDIR}/${PN}" + +RESTRICT="bindist fetch" + +LICENSE="OTN" +SLOT="0" +KEYWORDS="-* ~amd64" + +IUSE="mssql mysql postgres sybase" + +RDEPEND=" + >=dev-java/openjdk-8:*[javafx] + >=virtual/jre-1.8:* + mssql? ( dev-java/jtds:1.3 ) + mysql? ( dev-java/jdbc-mysql:0 ) + postgres? ( dev-java/jdbc-postgresql:0 ) + sybase? ( dev-java/jtds:1.3 ) +" +BDEPEND="app-arch/unzip" + +S="${WORKDIR}/${PN}" + +QA_PREBUILT=" + opt/${PN}/netbeans/platform/modules/lib/amd64/linux/libjnidispatch-422.so +" + +pkg_nofetch() { + einfo "Please go to" + einfo " ${HOMEPAGE}" + einfo "and download" + einfo " Oracle SQL Developer for other platforms" + einfo " ${SRC_URI}" + einfo "and move it to /var/cache/distfiles" +} + +src_prepare() { + default + find ./ \( -iname "*.exe" -or -iname "*.dll" -or -iname "*.bat" \) -exec rm {} + || die + sed -i 's|"`dirname $0`"|/opt/sqldeveloper|' sqldeveloper.sh || die + + rm -r netbeans/platform/modules/lib/i386 || die + rm -r modules/javafx || die + + # they both use jtds, enabling one of them also enables the other one + if use mssql && ! use sybase; then + einfo "You requested MSSQL support, this also enables Sybase support." + fi + if use sybase && ! use mssql; then + einfo "You requested Sybase support, this also enables MSSQL support." + fi + + if use mssql || use sybase; then + echo "AddJavaLibFile $(java-pkg_getjars jtds-1.3)" >> sqldeveloper/bin/sqldeveloper.conf || die + fi + + if use mysql; then + echo "AddJavaLibFile $(java-pkg_getjars jdbc-mysql)" >> sqldeveloper/bin/sqldeveloper.conf || die + fi + + if use postgres; then + echo "AddJavaLibFile $(java-pkg_getjars jdbc-postgresql)" >> sqldeveloper/bin/sqldeveloper.conf || die + fi +} + +src_install() { + insinto /opt/${PN} + doins -r {configuration,d{ataminer,ropins},e{quinox,xternal},ide,j{avavm,d{bc,ev},lib,views},modules,netbeans,orakafka,rdbms,s{leepycat,ql{developer,j},vnkit}} + fperms +x /opt/${PN}/netbeans/platform/modules/lib/amd64/linux/libjnidispatch-422.so + + dodir /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log + fperms 1777 /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log + + newbin "${FILESDIR}"/${PN}-r1 ${PN} + + newicon icon.png ${PN}-32x32.png + make_desktop_entry ${PN} "Oracle SQL Developer" ${PN}-32x32 + + # This is normally called automatically by java-pkg_dojar, which + # hasn't been used above. We need to create package.env to help the + # launcher select the correct VM. + java-pkg_do_write_ +} + +pkg_postinst() { + echo + einfo "If you want to use the TNS connection type you need to set up the" + einfo "TNS_ADMIN environment variable to point to the directory your" + einfo "tnsnames.ora resides in." + echo +} -- cgit v1.2.3