diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-04-17 08:45:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-04-17 08:45:48 +0100 |
commit | 6a01345ec5dc673d0ebd4653ceb063eafa7fcf65 (patch) | |
tree | 91caec6b449fed01aa84433b13798c3d8e29fba3 /dev-db | |
parent | 79851ef7da5ffce7aed667c8c49a1ce04333619e (diff) |
gentoo auto-resync : 17:04:2025 - 08:45:48
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/Manifest.gz | bin | 16762 -> 16767 bytes | |||
-rw-r--r-- | dev-db/sqlcipher/Manifest | 2 | ||||
-rw-r--r-- | dev-db/sqlcipher/sqlcipher-4.6.1.ebuild | 4 | ||||
-rw-r--r-- | dev-db/sqlitestudio/Manifest | 3 | ||||
-rw-r--r-- | dev-db/sqlitestudio/files/sqlitestudio-3.4.17-fix-python.patch | 13 | ||||
-rw-r--r-- | dev-db/sqlitestudio/sqlitestudio-3.4.17.ebuild | 185 |
6 files changed, 204 insertions, 3 deletions
diff --git a/dev-db/Manifest.gz b/dev-db/Manifest.gz Binary files differindex d8e07c344324..4b51c9393cf2 100644 --- a/dev-db/Manifest.gz +++ b/dev-db/Manifest.gz diff --git a/dev-db/sqlcipher/Manifest b/dev-db/sqlcipher/Manifest index 472ad0c67249..50547988c191 100644 --- a/dev-db/sqlcipher/Manifest +++ b/dev-db/sqlcipher/Manifest @@ -1,3 +1,3 @@ DIST sqlcipher-4.6.1.tar.gz 19115004 BLAKE2B 792e3342eba78ed8aee49265fcb9e216edaeb7d4c68fd9a95ac9abe60093a8baeb755e32e736a7af98811921d1bfd93f882418864bf5785952ffc2bbae1fc649 SHA512 023b2fc7248fe38b758ef93dd8436677ff0f5d08b1061e7eab0adb9e38ad92d523e0ab69016ee69bd35c1fd53c10f61e99b01f7a2987a1f1d492e1f7216a0a9c -EBUILD sqlcipher-4.6.1.ebuild 1486 BLAKE2B 2fc5e1d73f32d149e424a3ea18d8e5b7a875dfe01fec50ee6b519764a0e4c565a2c685268c3cfeba07b21f4450a7db3896c8eb0a4d8b11bf3b4253e23ff9aa56 SHA512 328f969491cb63d0d741a0c518e16e301e9193ec7527490c89bad445d8141d45db697e36933b156aeec31f76a90e2fbc3467cff5e6781b2d73a8398494219c1e +EBUILD sqlcipher-4.6.1.ebuild 1493 BLAKE2B 45b1d2aac7aa38cc6a422184562d8d7392c909190ac6f6e8820fd4750f6343c315875f30175fbe65283c71cf9c662dfc0646cb5bdcccc70c7221d2e26f408083 SHA512 565867e5c8b33b0f3257b2249dd42623257714b2a7ee8512f8c47e18c62cee3a7582e26f73ae7456838f63afc7440bf951a8a7a0a3d973ce2f34a6b3b66bbc32 MISC metadata.xml 257 BLAKE2B e4c5efda473f899ccef71f7f88348b4e9fce729321cc99cc82660644e21bbbd99fe9e4e4b9ed57edd369d72279e0bc6f3a4e736cccfe2d94bc7640aaa46d7f85 SHA512 b0693017c413734c5e429bb6d5bc05ffb3db578f08bdacca0143e10e58fc70d81e896032dfc612497c8a3531ea0862e0dfa41a702e99da6599929e609be5d97c diff --git a/dev-db/sqlcipher/sqlcipher-4.6.1.ebuild b/dev-db/sqlcipher/sqlcipher-4.6.1.ebuild index d891a38d912c..f5cafee0ce2d 100644 --- a/dev-db/sqlcipher/sqlcipher-4.6.1.ebuild +++ b/dev-db/sqlcipher/sqlcipher-4.6.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,7 +14,7 @@ SRC_URI="https://github.com/sqlcipher/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~arm64 x86" IUSE="debug libedit readline tcl test" # Testsuite requires compilation with TCL, bug #582584 REQUIRED_USE=" diff --git a/dev-db/sqlitestudio/Manifest b/dev-db/sqlitestudio/Manifest index 623d79390e46..1b1f69a43b3e 100644 --- a/dev-db/sqlitestudio/Manifest +++ b/dev-db/sqlitestudio/Manifest @@ -1,5 +1,8 @@ +AUX sqlitestudio-3.4.17-fix-python.patch 393 BLAKE2B ade724444f57b54ef2bce44f4edb754dca311a62a79987f1ab751e9229623a91e8abfbf64a79ea1c411a3cacb6ef3ec2aacc4bc2b93b1b350b25c47bf3af66f6 SHA512 591ccc9f719aaa442a497dac033f180b503dcbfb48eee736a94197683919754ecf42e90bce941e79f5f9652113b9c9903b646644a7977956e08f283b6b989385 AUX sqlitestudio-3.4.3-fix-PyThreadState.patch 2084 BLAKE2B b9fdd9b233a8e053013484a6c0d9949a5a71374d62bd3fc3cd2d0c180a8bc1a709cf0ba12f5d6a62d5ac0d2f3bb522972599a808a2a45d9e165303cecd73c954 SHA512 d0aedf2ff6dd0e567d410f8e809179a5504f04c39284e0ab9b1a089a6062da6e50a8e9c5640712491742ce34b58b60bfdbe0e5d89cc9256af7e5adf6937ac548 AUX sqlitestudio-3.4.3-fix-python.patch 382 BLAKE2B 81da31e4f4d712e005639d12c3d1d41a2f339edc054e985903de16986967348fe0a2cca13a6dbced8762fc1f8bd497f8d061ac58a8810abc8f7cfab8b4a3150a SHA512 d391b549f842d7dbb1b8027c6814ad79f44d8bdc30adf407401fd2f139069a56ddbd8ceee0b2093bdd69922dd0f01ecd77d1f9f1b4550ba3bbbf67e59c4a87db +DIST sqlitestudio-3.4.17.tar.gz 16696859 BLAKE2B 6b1d4660c7b4ed4880df3c7e2e68d7b52edb46d7e19a751d49825c08a477adc02646729418e3a8b1fd6e5bc8192cc35197a23aa7e9142e4c2ebd184c049ee1eb SHA512 2fab60c9a695022998ad7848b0ece614170070fd9603fb559a942692fb644204aa4437cf33b18f66bbcfe36f82bdfddb7e1d5c934e2946a3e56f537171798f4a DIST sqlitestudio-3.4.4.tar.gz 16187828 BLAKE2B 34a19880c0ce82a0457c8b34fe713d1792101563dd37849f02538a3f62310e0720939a3930c2c1d2fe43a8379c66012e75cf9e45e961a382c3ea5fbd857e42d3 SHA512 ddbb926afcca0afe8e4199be64254d0a9a47bef66f260c51cc7e5c5d38c8a00bfbe2012e8ec933bf69e85481c0c214136146cd3bff0975f6178f9fe7884e8190 +EBUILD sqlitestudio-3.4.17.ebuild 4735 BLAKE2B 68266bec6218f1cf579a5b00ad185fa69ea159641d4cc0c6fc46d1628ba8f67f5ff4848d5c76d4bf7ffd4a164deb4b15dba54bdbd66e68d586d780f8b0fa2b2e SHA512 50821e372a605fc65e7d1ac617bbf7ef720bda95a121cc2ae73ecd2db88b3fed58d1915521c9ea470c31cead180c16858fc05d426475bb50c0bd4fd65a86c5b8 EBUILD sqlitestudio-3.4.4-r1.ebuild 4786 BLAKE2B 4926024bd08aa718ec7f5475ab0b83a9826b6ab00827b5db343824000cfa40519959074a87ddca077e6945f47f49788d0d1ff7aa5f168fe677264a0870b56d9e SHA512 7aa70e135314b70d041ce14e73eac40d3b6d357502c6a263cb767aed7628de9b05345f5c1af32a3ad697afde41b3d7ea57c1fa93ff64cdc44d1fe293ba29ba8d MISC metadata.xml 318 BLAKE2B dbda5d06a4e9349a582d2d09cf846580b383388ec7db0986675d1b4fe63e0ded9dbc7f50c332d855b600d9df99935b67e77a2fab9c0a37fc3b6af2d03b4e3212 SHA512 d1bf82ea37f8d16e7dd51d8da26eb5f93383a05df40ca1b91309be7fbad0b786db9365b8bc8f72b63556ccbf96969d2e38c785112754b035e3242b75ff2bacb7 diff --git a/dev-db/sqlitestudio/files/sqlitestudio-3.4.17-fix-python.patch b/dev-db/sqlitestudio/files/sqlitestudio-3.4.17-fix-python.patch new file mode 100644 index 000000000000..9bc5d1b11607 --- /dev/null +++ b/dev-db/sqlitestudio/files/sqlitestudio-3.4.17-fix-python.patch @@ -0,0 +1,13 @@ +diff --git a/Plugins/ScriptingPython/ScriptingPython.pro.orig b/Plugins/ScriptingPython/ScriptingPython.pro +index 75375da..614cfe8 100644 +--- a/Plugins/ScriptingPython/ScriptingPython.pro.orig ++++ b/Plugins/ScriptingPython/ScriptingPython.pro +@@ -22,7 +22,7 @@ isEmpty(PYTHON_VERSION) { + } + + linux: { +- LIBS += -lpython$$PYTHON_VERSION ++ #LIBS += -lpython$$PYTHON_VERSION + } + + macx: { diff --git a/dev-db/sqlitestudio/sqlitestudio-3.4.17.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.4.17.ebuild new file mode 100644 index 000000000000..49d2fbd37123 --- /dev/null +++ b/dev-db/sqlitestudio/sqlitestudio-3.4.17.ebuild @@ -0,0 +1,185 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PLOCALES="af_ZA ar_SA ca_ES cs_CZ da_DK de_DE el_GR en_US es_ES fa_IR fi_FI fr_FR he_IL hu_HU it_IT ja_JP kaa ko_KR nl_NL no_NO pl_PL pt_BR pt_PT ro_RO ru_RU sk_SK sr_SP sv_SE tr_TR uk_UA vi_VN zh_CN zh_TW" + +# ScriptingPython says exactly 3.9 +PYTHON_COMPAT=( python3_{9..13} ) +inherit desktop plocale python-single-r1 qmake-utils xdg + +DESCRIPTION="Powerful cross-platform SQLite database manager" +HOMEPAGE="https://sqlitestudio.pl" +SRC_URI="https://github.com/pawelsalawa/sqlitestudio/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli cups python tcl test" + +REQUIRED_USE=" + test? ( cli ) + python? ( ${PYTHON_REQUIRED_USE} ) +" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/openssl:= + dev-db/sqlite:3 + dev-qt/qtcore:5 + dev-qt/qtdeclarative:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + cli? ( + sys-libs/readline:= + sys-libs/ncurses:= + ) + python? ( ${PYTHON_DEPS} ) + cups? ( dev-qt/qtprintsupport:5 ) + tcl? ( dev-lang/tcl:0= ) +" +DEPEND="${RDEPEND} + dev-qt/designer:5 + dev-qt/qtconcurrent:5 + test? ( dev-qt/qttest:5 ) +" +BDEPEND=" + dev-qt/linguist-tools:5 + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-3.4.17-fix-python.patch +) + +core_build_dir="${S}/output/build" +plugins_build_dir="${core_build_dir}/Plugins" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + disable_modules() { + [[ $# -lt 2 ]] && die "not enough arguments" + + local pro="$1"; shift + local modules="${@}" + + sed -r -i \ + -e 's/('${modules// /|}')[[:space:]]*(\\?)/\2/' \ + ${pro} || die + } + + use cli || disable_modules SQLiteStudio3/SQLiteStudio3.pro cli + + local mod_lst=( DbSqlite2 ) + use cups || mod_lst+=( Printing ) + use tcl || mod_lst+=( ScriptingTcl ) + use python || mod_lst+=( ScriptingPython ) + disable_modules Plugins/Plugins.pro ${mod_lst[@]} + + local mylrelease="$(qt5_get_bindir)"/lrelease + local ts_dir_lst=$(find * -type f -name "*.qm" -printf '%h\n' | sort -u) + local ts_pro_lst=$(find * -type f -name "*.pro" -exec grep -l 'TRANSLATIONS' {} \;) + local ts_qrc_lst=$(find * -type f -name "*.qrc" -exec grep -l '\.qm' {} \;) + + # delete all "*.qm" + for ts_dir in ${ts_dir_lst[@]}; do + rm "${ts_dir}"/*.qm || die + done + + lrelease_locale() { + for ts_dir in ${ts_dir_lst[@]}; do + local ts=$(find "${ts_dir}" -type f -name "*${1}.ts" || continue) + "${mylrelease}" "${ts}" || die "preparing ${1} locale failed" + done + } + + rm_locale() { + for ts_pro in ${ts_pro_lst[@]}; do + sed -i -r -e 's/[^[:space:]]*'${1}'\.ts//' \ + ${ts_pro} || die + done + + for ts_qrc in ${ts_qrc_lst[@]}; do + sed -i -e '/'${1}'\.qm/d' \ + ${ts_qrc} || die + done + } + + local ts_dir_main="SQLiteStudio3/sqlitestudio/translations" + plocale_find_changes ${ts_dir_main} "sqlitestudio_" '.ts' + plocale_for_each_locale lrelease_locale + plocale_for_each_disabled_locale rm_locale + + # prevent "multilib-strict check failed" with USE test by + # replacing target paths with dynamic lib dir + # + sed -i -e 's/\(target\.path = .*\/\)lib/\1'$(get_libdir)'/' \ + SQLiteStudio3/Tests/TestUtils/TestUtils.pro || die +} + +src_configure() { + # NOTE: QMAKE_CFLAGS_ISYSTEM option prevents + # build error with tcl use enabled (stdlib.h is missing) + # "QMAKE_CFLAGS_ISYSTEM=\"\"" + # CONFIG+ borrowed from compile.sh of tarball + local myqmakeargs=( + "BINDIR=${EPREFIX}/usr/bin" + "LIBDIR=${EPREFIX}/usr/$(get_libdir)" + "CONFIG+=portable" + $(usex test 'DEFINES+=tests' '') + ) + + # Combination of kvirc ebuild and qtcompress + if use python; then + myqmakeargs+=( + INCLUDEPATH+=" $(python_get_includedir)" + LIBS+=" $(python_get_LIBS)" + ) + fi + + ## Core + mkdir -p "${core_build_dir}" && cd "${core_build_dir}" || die + eqmake5 "${myqmakeargs[@]}" "${S}/SQLiteStudio3" + + ## Plugins + mkdir -p "${plugins_build_dir}" && cd "${plugins_build_dir}" || die + eqmake5 "${myqmakeargs[@]}" "${S}/Plugins" +} + +src_compile() { + # -j1 for bug #902991; it clobbers object files in parallel + emake -j1 -C "${core_build_dir}" + emake -j1 -C "${plugins_build_dir}" +} + +src_install() { + emake -j1 -C "${core_build_dir}" INSTALL_ROOT="${D}" install + emake -j1 -C "${plugins_build_dir}" INSTALL_ROOT="${D}" install + + if use test; then + # remove test artifacts that must not be installed + rm -r "${ED}"/lib64 || die + rm -r "${ED}"/usr/share/qt5/tests || die + fi + + doicon -s scalable "SQLiteStudio3/guiSQLiteStudio/img/${PN}.svg" + + local make_desktop_entry_args=( + "${PN} -- %F" + 'SQLiteStudio3' + "${PN}" + 'Development;Database;Utility' + ) + make_desktop_entry "${make_desktop_entry_args[@]}" \ + "$( printf '%s\n' "MimeType=application/x-sqlite3;" )" +} |