* [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/
@ 2016-03-19 23:01 Patrice Clement
0 siblings, 0 replies; 18+ messages in thread
From: Patrice Clement @ 2016-03-19 23:01 UTC (permalink / raw
To: gentoo-commits
commit: 133d32ee69d826ba40212851480f837033bac88a
Author: Jan Chren <dev.rindeal <AT> gmail <DOT> com>
AuthorDate: Sat Mar 19 22:21:52 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Mar 19 22:47:18 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=133d32ee
dev-db/sqlitestudio: die on all `cd`s
Closes: https://github.com/gentoo/gentoo/pull/1088
dev-db/sqlitestudio/sqlitestudio-3.0.7.ebuild | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.0.7.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.0.7.ebuild
index d8d788a..b43ef8c 100644
--- a/dev-db/sqlitestudio/sqlitestudio-3.0.7.ebuild
+++ b/dev-db/sqlitestudio/sqlitestudio-3.0.7.ebuild
@@ -105,13 +105,13 @@ src_configure() {
}
src_compile() {
- cd "${core_build_dir}" && emake
- cd "${plugins_build_dir}" && emake
+ cd "${core_build_dir}" || die && emake
+ cd "${plugins_build_dir}" || die && emake
}
src_install() {
- cd "${core_build_dir}" && emake INSTALL_ROOT="${ED}" install
- cd "${plugins_build_dir}" && emake INSTALL_ROOT="${ED}" install
+ cd "${core_build_dir}" || die && emake INSTALL_ROOT="${ED}" install
+ cd "${plugins_build_dir}" || die && emake INSTALL_ROOT="${ED}" install
dodoc "${core_src_dir}/docs/sqlitestudio3_docs.cfg"
doicon -s scalable "${core_src_dir}/guiSQLiteStudio/img/${PN}.svg"
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/
@ 2016-05-29 15:30 Kristian Fiskerstrand
0 siblings, 0 replies; 18+ messages in thread
From: Kristian Fiskerstrand @ 2016-05-29 15:30 UTC (permalink / raw
To: gentoo-commits
commit: a360e2b91b64a43c7ad22d2df663b4cdb5831f5a
Author: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
AuthorDate: Sun May 29 15:24:20 2016 +0000
Commit: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
CommitDate: Sun May 29 15:29:50 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a360e2b9
dev-db/sqlitestudio: Dropping to maintainer-needed
Gentoo-Bug: 584246
Package-Manager: portage-2.3.0_rc1
dev-db/sqlitestudio/metadata.xml | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/dev-db/sqlitestudio/metadata.xml b/dev-db/sqlitestudio/metadata.xml
index 1ae1175..9dcb550 100644
--- a/dev-db/sqlitestudio/metadata.xml
+++ b/dev-db/sqlitestudio/metadata.xml
@@ -1,15 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="person">
- <email>dev.rindeal+bugs.gentoo.org@gmail.com</email>
- <name>Jan Chren (rindeal)</name>
- <description>Proxied maintainer; set to assignee in all bugs</description>
-</maintainer>
-<maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
-</maintainer>
<use>
<flag name="cli">Build CLI interface</flag>
</use>
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/
@ 2016-07-07 23:38 Austin English
0 siblings, 0 replies; 18+ messages in thread
From: Austin English @ 2016-07-07 23:38 UTC (permalink / raw
To: gentoo-commits
commit: 9ce64e03fad6d69ac6b0cdedaa248eb098d45bc2
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 7 22:58:14 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Thu Jul 7 23:38:11 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ce64e03
dev-db/sqlitestudio: add maintainer-needed
Package-Manager: portage-2.2.28
dev-db/sqlitestudio/metadata.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-db/sqlitestudio/metadata.xml b/dev-db/sqlitestudio/metadata.xml
index 9dcb550..86e9ad8 100644
--- a/dev-db/sqlitestudio/metadata.xml
+++ b/dev-db/sqlitestudio/metadata.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+<!-- maintainer-needed -->
<use>
<flag name="cli">Build CLI interface</flag>
</use>
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/
@ 2016-07-25 22:13 Johannes Huber
0 siblings, 0 replies; 18+ messages in thread
From: Johannes Huber @ 2016-07-25 22:13 UTC (permalink / raw
To: gentoo-commits
commit: bb8ee117325647fb4af062c4bace53b9532de509
Author: Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 25 22:12:00 2016 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Mon Jul 25 22:12:00 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb8ee117
dev-db/sqlitestudio: Remove QT_MINIMAL handled by eclass
Package-Manager: portage-2.3.0
dev-db/sqlitestudio/sqlitestudio-3.0.7.ebuild | 2 --
1 file changed, 2 deletions(-)
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.0.7.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.0.7.ebuild
index b43ef8c..7a8f4c4 100644
--- a/dev-db/sqlitestudio/sqlitestudio-3.0.7.ebuild
+++ b/dev-db/sqlitestudio/sqlitestudio-3.0.7.ebuild
@@ -17,8 +17,6 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cli cups tcl test"
-QT_MINIMAL=5.3
-
RDEPEND="
dev-db/sqlite:3
$(add_qt_dep qtcore)
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/
@ 2017-09-03 21:15 Andreas Sturmlechner
0 siblings, 0 replies; 18+ messages in thread
From: Andreas Sturmlechner @ 2017-09-03 21:15 UTC (permalink / raw
To: gentoo-commits
commit: 58cf293ee310cf049a1def91683ba0aad48616a9
Author: Dmitry <reagentoo <AT> gmail <DOT> com>
AuthorDate: Wed Aug 30 13:59:01 2017 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Sep 3 21:15:12 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58cf293e
dev-db/sqlitestudio: version bump to 3.1.1
- Dropped kde5-functions eclass
- Added l10n support
- Migrated fdo-mime to xdg eclass
- Improved overall ebuild quality.
Gentoo-Bug: 629322
Closes: https://github.com/gentoo/gentoo/pull/5557
dev-db/sqlitestudio/Manifest | 1 +
dev-db/sqlitestudio/metadata.xml | 15 ++-
dev-db/sqlitestudio/sqlitestudio-3.1.1.ebuild | 138 ++++++++++++++++++++++++++
3 files changed, 150 insertions(+), 4 deletions(-)
diff --git a/dev-db/sqlitestudio/Manifest b/dev-db/sqlitestudio/Manifest
index b2ec9bd85b8..b3fd769739d 100644
--- a/dev-db/sqlitestudio/Manifest
+++ b/dev-db/sqlitestudio/Manifest
@@ -1 +1,2 @@
DIST sqlitestudio-3.0.7.tar.gz 2551341 SHA256 b5ad7ac22a88eacb9404637ca6257934d0b1b59e16a182099bbdb158a7af55aa SHA512 2171fe26754aed2abe24d73e9ccc2ee1abe5e87228096bc5643c5638ad578dc323b810535f41d0206b3d7a7aa75132bfb578972c7945b962dd593543c7da3270 WHIRLPOOL 6078575b9bf6576d76965b2cf0c7a47a3b56488be8a75dd2df00b58cfab9d29e98ca30d21ac0dd47fe9a6fb0243052107b74686d90b12b9b2fbff05bc205736f
+DIST sqlitestudio-3.1.1.tar.gz 8610037 SHA256 f757a82466e97137addd70dd5323a1a7ba7cad7841dc138812a2da2799f92c6c SHA512 421247730660e8396f692fd8df9366e6ae834633823004ef3cb7c6f3064e66f420f0517df6a8542b800f7f88dacf2fc646b4224b423ab3994c7d8a083e82e143 WHIRLPOOL d3ce08e65ac53367067fd8cd73997cc1313a2cc9de2d15605b91bf57e729a1249c953c4db7b54901e8d41bb2b80d04184fbf19feaee9077e8a07002de2a61a2e
diff --git a/dev-db/sqlitestudio/metadata.xml b/dev-db/sqlitestudio/metadata.xml
index 86e9ad87392..0e58a49e726 100644
--- a/dev-db/sqlitestudio/metadata.xml
+++ b/dev-db/sqlitestudio/metadata.xml
@@ -1,8 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<!-- maintainer-needed -->
-<use>
- <flag name="cli">Build CLI interface</flag>
-</use>
+ <maintainer type="person">
+ <email>reagentoo@gmail.com</email>
+ <name>Dmitry Baranov</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="cli">Build CLI interface</flag>
+ </use>
</pkgmetadata>
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.1.1.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.1.1.ebuild
new file mode 100644
index 00000000000..09e4d4616a8
--- /dev/null
+++ b/dev-db/sqlitestudio/sqlitestudio-3.1.1.ebuild
@@ -0,0 +1,138 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PLOCALES="de es fr it pl pt_BR ru sk zh_CN"
+
+inherit eutils l10n qmake-utils xdg
+
+DESCRIPTION="Powerful cross-platform SQLite database manager"
+HOMEPAGE="https://sqlitestudio.pl"
+SRC_URI="https://sqlitestudio.pl/files/sqlitestudio3/complete/tar/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="cli cups tcl test"
+
+RDEPEND="
+ dev-db/sqlite:3
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtscript:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ cli? ( sys-libs/readline:* )
+ cups? ( dev-qt/qtprintsupport:5 )
+ tcl? ( dev-lang/tcl:* )
+"
+DEPEND="${RDEPEND}
+ dev-qt/designer:5
+ test? ( dev-qt/qttest:5 )
+"
+
+S="${WORKDIR}"
+core_build_dir="${S}/output/build"
+plugins_build_dir="${core_build_dir}/Plugins"
+
+src_prepare() {
+ xdg_src_prepare
+
+ sed -i -e 's/linux|portable/portable/' \
+ SQLiteStudio3/sqlitestudio/sqlitestudio.pro || die
+
+ 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 )
+ 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
+
+ prepare_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"
+ l10n_find_plocales_changes ${ts_dir_main} "sqlitestudio_" '.ts'
+ l10n_for_each_locale_do prepare_locale
+ l10n_for_each_disabled_locale_do rm_locale
+}
+
+src_configure() {
+ # NOTE: QMAKE_CFLAGS_ISYSTEM option prevents
+ # build error with tcl use enabled (stdlib.h is missing)
+ local myqmakeargs=(
+ "BINDIR=${EPREFIX}/usr/bin"
+ "LIBDIR=${EPREFIX}/usr/$(get_libdir)"
+ "QMAKE_CFLAGS_ISYSTEM=\"\""
+ $(usex test 'DEFINES+=tests' '')
+ )
+
+ ## 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() {
+ emake -C "${core_build_dir}"
+ emake -C "${plugins_build_dir}"
+}
+
+src_install() {
+ emake -C "${core_build_dir}" INSTALL_ROOT="${D}" install
+ emake -C "${plugins_build_dir}" INSTALL_ROOT="${D}" install
+
+ 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;" )"
+}
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/
@ 2017-09-04 21:02 Andreas Sturmlechner
0 siblings, 0 replies; 18+ messages in thread
From: Andreas Sturmlechner @ 2017-09-04 21:02 UTC (permalink / raw
To: gentoo-commits
commit: 11a8189f91ae1a1dbd07fbe5601b9373fced3ba0
Author: reagentoo <reagentoo <AT> gmail <DOT> com>
AuthorDate: Mon Sep 4 17:45:54 2017 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Sep 4 20:52:18 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11a8189f
dev-db/sqlitestudio: DEPEND+=dev-qt/qtconcurrent:5
- Add missing build-time dependency dev-qt/qtconcurrent:5
Gentoo-Bug: 590028
Closes: https://github.com/gentoo/gentoo/pull/5613
dev-db/sqlitestudio/sqlitestudio-3.0.7.ebuild | 1 +
dev-db/sqlitestudio/sqlitestudio-3.1.1.ebuild | 1 +
2 files changed, 2 insertions(+)
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.0.7.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.0.7.ebuild
index 9ec634b128e..21747b2426f 100644
--- a/dev-db/sqlitestudio/sqlitestudio-3.0.7.ebuild
+++ b/dev-db/sqlitestudio/sqlitestudio-3.0.7.ebuild
@@ -31,6 +31,7 @@ RDEPEND="
tcl? ( dev-lang/tcl:= )
"
DEPEND="${RDEPEND}
+ $(add_qt_dep qtconcurrent)
>=sys-devel/gcc-4.8:*
test? ( $(add_qt_dep qttest) )
"
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.1.1.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.1.1.ebuild
index 09e4d4616a8..5c183c9c63d 100644
--- a/dev-db/sqlitestudio/sqlitestudio-3.1.1.ebuild
+++ b/dev-db/sqlitestudio/sqlitestudio-3.1.1.ebuild
@@ -31,6 +31,7 @@ RDEPEND="
"
DEPEND="${RDEPEND}
dev-qt/designer:5
+ dev-qt/qtconcurrent:5
test? ( dev-qt/qttest:5 )
"
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/
@ 2019-02-03 16:14 Andreas Sturmlechner
0 siblings, 0 replies; 18+ messages in thread
From: Andreas Sturmlechner @ 2019-02-03 16:14 UTC (permalink / raw
To: gentoo-commits
commit: 77758a540f56b33450c3c2a12b996ab3b1d1203f
Author: reagentoo <reagentoo <AT> gmail <DOT> com>
AuthorDate: Sun Jan 20 17:32:33 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Feb 3 16:14:09 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77758a54
dev-db/sqlitestudio: version bump to 3.2.1
Also fix build with USE test
Closes: https://bugs.gentoo.org/663926
Closes: https://github.com/gentoo/gentoo/pull/10878
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
dev-db/sqlitestudio/Manifest | 1 +
dev-db/sqlitestudio/sqlitestudio-3.2.1.ebuild | 145 ++++++++++++++++++++++++++
2 files changed, 146 insertions(+)
diff --git a/dev-db/sqlitestudio/Manifest b/dev-db/sqlitestudio/Manifest
index 3cc879c663f..5162c98345f 100644
--- a/dev-db/sqlitestudio/Manifest
+++ b/dev-db/sqlitestudio/Manifest
@@ -1,2 +1,3 @@
DIST sqlitestudio-3.0.7.tar.gz 2551341 BLAKE2B b499aac9d251b9682c241e37c30f52d6fce65bc317ee39022e385d2535e2e62b9213bc72941236fcb355d0f8a56924f9d28d32db9937a0af6e7a0cfb05252763 SHA512 2171fe26754aed2abe24d73e9ccc2ee1abe5e87228096bc5643c5638ad578dc323b810535f41d0206b3d7a7aa75132bfb578972c7945b962dd593543c7da3270
DIST sqlitestudio-3.1.1.tar.gz 8610037 BLAKE2B 7f0de65a31a8c25da305cb8d73a03f4215a1134c652e6fb68424ae2153afb1e3655ae3360b2c25b863f105a53cd5fb9909d3f8aa5674f25f0e19a080b15dfa97 SHA512 421247730660e8396f692fd8df9366e6ae834633823004ef3cb7c6f3064e66f420f0517df6a8542b800f7f88dacf2fc646b4224b423ab3994c7d8a083e82e143
+DIST sqlitestudio-3.2.1.tar.gz 9405867 BLAKE2B 53cd8465a6140cf17c602094cceef2fdf74f513f33257b22e1a3d7adcb9c78d8eb2cdaff047920836a9d98429ba0025924ce608f2eab97319feabf063de4c9ee SHA512 9c07f0dc50bf35ad04d0cb06cfc1a306d3f0aa9446e7d737c8187c63cb7dd2c44fb4b960693f2c30a15ece3aac0878701874a9ce3cebfe0c6bf48df10814a574
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.2.1.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.2.1.ebuild
new file mode 100644
index 00000000000..f19509e0896
--- /dev/null
+++ b/dev-db/sqlitestudio/sqlitestudio-3.2.1.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PLOCALES="de es fr it pl pt_BR ro_RO ru sk zh_CN"
+
+inherit eutils l10n qmake-utils xdg
+
+DESCRIPTION="Powerful cross-platform SQLite database manager"
+HOMEPAGE="https://sqlitestudio.pl"
+SRC_URI="https://sqlitestudio.pl/files/sqlitestudio3/complete/tar/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="cli cups tcl test"
+
+REQUIRED_USE="test? ( cli )"
+
+RDEPEND="
+ dev-db/sqlite:3
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtscript:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ cli? ( sys-libs/readline:0= )
+ 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 )
+"
+
+S="${WORKDIR}"
+core_build_dir="${S}/output/build"
+plugins_build_dir="${core_build_dir}/Plugins"
+
+src_prepare() {
+ xdg_src_prepare
+
+ sed -i -e 's/linux|portable/portable/' \
+ SQLiteStudio3/sqlitestudio/sqlitestudio.pro || die
+
+ 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 )
+ 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
+
+ prepare_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"
+ l10n_find_plocales_changes ${ts_dir_main} "sqlitestudio_" '.ts'
+ l10n_for_each_locale_do prepare_locale
+ l10n_for_each_disabled_locale_do rm_locale
+
+ # prevent "multilib-strict check failed" with USE test
+ sed -i -e 's/\(target.*usr\/\)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)
+ local myqmakeargs=(
+ "BINDIR=${EPREFIX}/usr/bin"
+ "LIBDIR=${EPREFIX}/usr/$(get_libdir)"
+ "QMAKE_CFLAGS_ISYSTEM=\"\""
+ $(usex test 'DEFINES+=tests' '')
+ )
+
+ ## 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() {
+ emake -C "${core_build_dir}"
+ emake -C "${plugins_build_dir}"
+}
+
+src_install() {
+ emake -C "${core_build_dir}" INSTALL_ROOT="${D}" install
+ emake -C "${plugins_build_dir}" INSTALL_ROOT="${D}" install
+
+ 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;" )"
+}
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/
@ 2019-02-03 16:14 Andreas Sturmlechner
0 siblings, 0 replies; 18+ messages in thread
From: Andreas Sturmlechner @ 2019-02-03 16:14 UTC (permalink / raw
To: gentoo-commits
commit: 6c5366ce5a06a81815e4ea2343cd76cf365367c4
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 3 15:42:58 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Feb 3 16:14:14 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c5366ce
dev-db/sqlitestudio: eutils -> desktop
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
dev-db/sqlitestudio/sqlitestudio-3.2.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.2.1.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.2.1.ebuild
index f19509e0896..bd8f78a3763 100644
--- a/dev-db/sqlitestudio/sqlitestudio-3.2.1.ebuild
+++ b/dev-db/sqlitestudio/sqlitestudio-3.2.1.ebuild
@@ -5,7 +5,7 @@ EAPI=6
PLOCALES="de es fr it pl pt_BR ro_RO ru sk zh_CN"
-inherit eutils l10n qmake-utils xdg
+inherit desktop l10n qmake-utils xdg
DESCRIPTION="Powerful cross-platform SQLite database manager"
HOMEPAGE="https://sqlitestudio.pl"
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/
@ 2020-06-26 16:14 Andreas Sturmlechner
0 siblings, 0 replies; 18+ messages in thread
From: Andreas Sturmlechner @ 2020-06-26 16:14 UTC (permalink / raw
To: gentoo-commits
commit: 5dd98c49d465a708d792ea6536ff222c96954345
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 26 15:59:32 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Jun 26 16:13:53 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dd98c49
dev-db/sqlitestudio: EAPI-7 bump, add missing BDEPEND
Ebuild itself was using lrelease without depending on dev-qt/linguist-tools:5.
Closes: https://bugs.gentoo.org/727528
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
dev-db/sqlitestudio/sqlitestudio-3.2.1-r1.ebuild | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.2.1-r1.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.2.1-r1.ebuild
index eed8e84a6d1..af6ff97a5db 100644
--- a/dev-db/sqlitestudio/sqlitestudio-3.2.1-r1.ebuild
+++ b/dev-db/sqlitestudio/sqlitestudio-3.2.1-r1.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
PLOCALES="de es fr it pl pt_BR ro_RO ru sk zh_CN"
-
inherit desktop l10n qmake-utils xdg
DESCRIPTION="Powerful cross-platform SQLite database manager"
@@ -15,9 +14,9 @@ KEYWORDS="~amd64 ~x86"
LICENSE="GPL-3"
SLOT="0"
IUSE="cli cups tcl test"
-RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( cli )"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-db/sqlite:3
@@ -37,6 +36,10 @@ DEPEND="${RDEPEND}
dev-qt/qtconcurrent:5
test? ( dev-qt/qttest:5 )
"
+BDEPEND="
+ dev-qt/linguist-tools:5
+"
+
PATCHES=( "${FILESDIR}"/${P}-libressl.patch )
S="${WORKDIR}"
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/
@ 2021-02-28 14:54 Joonas Niilola
0 siblings, 0 replies; 18+ messages in thread
From: Joonas Niilola @ 2021-02-28 14:54 UTC (permalink / raw
To: gentoo-commits
commit: c1fcabe56877646c8b701597279fbc8346e56d82
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 28 14:52:01 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Feb 28 14:54:42 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1fcabe5
dev-db/sqlitestudio: drop to m-n
Bug: https://bugs.gentoo.org/773406
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-db/sqlitestudio/metadata.xml | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/dev-db/sqlitestudio/metadata.xml b/dev-db/sqlitestudio/metadata.xml
index 0e58a49e726..090897e26ba 100644
--- a/dev-db/sqlitestudio/metadata.xml
+++ b/dev-db/sqlitestudio/metadata.xml
@@ -1,14 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>reagentoo@gmail.com</email>
- <name>Dmitry Baranov</name>
- </maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
+ <!-- maintainer-needed -->
<use>
<flag name="cli">Build CLI interface</flag>
</use>
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/
@ 2021-04-30 23:43 Sam James
0 siblings, 0 replies; 18+ messages in thread
From: Sam James @ 2021-04-30 23:43 UTC (permalink / raw
To: gentoo-commits
commit: 0e0378af5a32464c1857fa675c96df32e4b1e489
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 30 23:41:31 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 30 23:41:31 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e0378af
dev-db/sqlitestudio: drop obsolete LibreSSL patch
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-db/sqlitestudio/sqlitestudio-3.2.1-r1.ebuild | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.2.1-r1.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.2.1-r1.ebuild
index af6ff97a5db..6b5bc1399b7 100644
--- a/dev-db/sqlitestudio/sqlitestudio-3.2.1-r1.ebuild
+++ b/dev-db/sqlitestudio/sqlitestudio-3.2.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -40,8 +40,6 @@ BDEPEND="
dev-qt/linguist-tools:5
"
-PATCHES=( "${FILESDIR}"/${P}-libressl.patch )
-
S="${WORKDIR}"
core_build_dir="${S}/output/build"
plugins_build_dir="${core_build_dir}/Plugins"
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/
@ 2022-06-07 23:02 Sam James
0 siblings, 0 replies; 18+ messages in thread
From: Sam James @ 2022-06-07 23:02 UTC (permalink / raw
To: gentoo-commits
commit: 819fa97ef1e668378b5e81afcab27e26d07cbd34
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 7 23:01:23 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 7 23:02:11 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=819fa97e
dev-db/sqlitestudio: add 3.3.3
Closes: https://bugs.gentoo.org/850499
Closes: https://bugs.gentoo.org/773406
Closes: https://bugs.gentoo.org/838325
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-db/sqlitestudio/Manifest | 1 +
dev-db/sqlitestudio/sqlitestudio-3.3.3.ebuild | 153 ++++++++++++++++++++++++++
2 files changed, 154 insertions(+)
diff --git a/dev-db/sqlitestudio/Manifest b/dev-db/sqlitestudio/Manifest
index 3f2d35cbdf64..7c5ddd701a4e 100644
--- a/dev-db/sqlitestudio/Manifest
+++ b/dev-db/sqlitestudio/Manifest
@@ -1 +1,2 @@
DIST sqlitestudio-3.2.1.tar.gz 9405867 BLAKE2B 53cd8465a6140cf17c602094cceef2fdf74f513f33257b22e1a3d7adcb9c78d8eb2cdaff047920836a9d98429ba0025924ce608f2eab97319feabf063de4c9ee SHA512 9c07f0dc50bf35ad04d0cb06cfc1a306d3f0aa9446e7d737c8187c63cb7dd2c44fb4b960693f2c30a15ece3aac0878701874a9ce3cebfe0c6bf48df10814a574
+DIST sqlitestudio-3.3.3.tar.gz 8863232 BLAKE2B 1dfa74ab405ec057090f87726c3562470de4c1fd7b97c0fbc3e3fb4b3c8413825ec1884ac8bc9cb86e0d3d64b42af323a46ae4aa324de98c1dc8e967a4eb0d35 SHA512 1b92b06dbca3b5ee051d2582345c0e9a0a3cbd2cbbde0c6b9b18f75ca30140c777746fc9d35a3c314c13d99300dbe8d9bbd313b2ae4cb069b8e81446b27e982f
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.3.3.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.3.3.ebuild
new file mode 100644
index 000000000000..401c8f8bec3e
--- /dev/null
+++ b/dev-db/sqlitestudio/sqlitestudio-3.3.3.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PLOCALES="de es fr it pl pt_BR ro_RO ru sk zh_CN"
+inherit desktop plocale toolchain-funcs 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 tcl test"
+
+REQUIRED_USE="test? ( cli )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-db/sqlite:3
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtscript:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ cli? (
+ sys-libs/readline:=
+ sys-libs/ncurses:=
+ )
+ 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
+"
+
+core_build_dir="${S}/output/build"
+plugins_build_dir="${core_build_dir}/Plugins"
+
+src_prepare() {
+ default
+
+ sed -i -e 's/linux|portable/portable/' SQLiteStudio3/sqlitestudio/sqlitestudio.pro || die
+
+ # bug #838325
+ sed -i -e "s:-lcurses:$($(tc-getPKG_CONFIG) --libs ncurses):" SQLiteStudio3/sqlitestudiocli/sqlitestudiocli.pro || die
+
+ 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 )
+ 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
+ sed -i -e 's/\(target.*usr\/\)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)
+ local myqmakeargs=(
+ "BINDIR=${EPREFIX}/usr/bin"
+ "LIBDIR=${EPREFIX}/usr/$(get_libdir)"
+ "QMAKE_CFLAGS_ISYSTEM=\"\""
+ $(usex test 'DEFINES+=tests' '')
+ )
+
+ ## 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() {
+ emake -C "${core_build_dir}"
+ emake -C "${plugins_build_dir}"
+}
+
+src_install() {
+ emake -C "${core_build_dir}" INSTALL_ROOT="${D}" install
+ emake -C "${plugins_build_dir}" INSTALL_ROOT="${D}" install
+
+ 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;" )"
+}
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/
@ 2023-02-17 9:45 Viorel Munteanu
0 siblings, 0 replies; 18+ messages in thread
From: Viorel Munteanu @ 2023-02-17 9:45 UTC (permalink / raw
To: gentoo-commits
commit: 3b23249e1250b929be1f5c59045528feb1ce7dd7
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 17 09:43:01 2023 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Feb 17 09:44:07 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b23249e
dev-db/sqlitestudio: fix install with FEATURES=test
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
dev-db/sqlitestudio/metadata.xml | 3 +++
dev-db/sqlitestudio/sqlitestudio-3.4.3.ebuild | 6 +++---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/dev-db/sqlitestudio/metadata.xml b/dev-db/sqlitestudio/metadata.xml
index 8d910856df4f..b42fb8ee3067 100644
--- a/dev-db/sqlitestudio/metadata.xml
+++ b/dev-db/sqlitestudio/metadata.xml
@@ -5,4 +5,7 @@
<use>
<flag name="cli">Build CLI interface</flag>
</use>
+ <upstream>
+ <remote-id type="github">pawelsalawa/sqlitestudio</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.4.3.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.4.3.ebuild
index 1e3253c24a3a..9392b3336487 100644
--- a/dev-db/sqlitestudio/sqlitestudio-3.4.3.ebuild
+++ b/dev-db/sqlitestudio/sqlitestudio-3.4.3.ebuild
@@ -164,15 +164,15 @@ src_compile() {
}
src_install() {
+ emake -C "${core_build_dir}" INSTALL_ROOT="${D}" install
+ emake -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
- emake -C "${core_build_dir}" INSTALL_ROOT="${D}" install
- emake -C "${plugins_build_dir}" INSTALL_ROOT="${D}" install
-
doicon -s scalable "SQLiteStudio3/guiSQLiteStudio/img/${PN}.svg"
local make_desktop_entry_args=(
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/
@ 2023-05-06 3:46 Sam James
0 siblings, 0 replies; 18+ messages in thread
From: Sam James @ 2023-05-06 3:46 UTC (permalink / raw
To: gentoo-commits
commit: ede032d33b920e15cdea6ae5d0266c03ece7ba6d
Author: Matthew White <mehw.is.me <AT> inventati <DOT> org>
AuthorDate: Fri May 5 19:13:18 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 6 03:46:11 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ede032d3
dev-db/sqlitestudio: add 3.4.4
Closes: https://bugs.gentoo.org/905787
Package-Manager: portage-3.0.44-r1
Signed-off-by: Matteo Bianco <mehw.is.me <AT> inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/30885
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-db/sqlitestudio/Manifest | 1 +
dev-db/sqlitestudio/sqlitestudio-3.4.4.ebuild | 187 ++++++++++++++++++++++++++
2 files changed, 188 insertions(+)
diff --git a/dev-db/sqlitestudio/Manifest b/dev-db/sqlitestudio/Manifest
index 7430f3aa492c..b6bdf7398fe1 100644
--- a/dev-db/sqlitestudio/Manifest
+++ b/dev-db/sqlitestudio/Manifest
@@ -1,2 +1,3 @@
DIST sqlitestudio-3.3.3.tar.gz 8863232 BLAKE2B 1dfa74ab405ec057090f87726c3562470de4c1fd7b97c0fbc3e3fb4b3c8413825ec1884ac8bc9cb86e0d3d64b42af323a46ae4aa324de98c1dc8e967a4eb0d35 SHA512 1b92b06dbca3b5ee051d2582345c0e9a0a3cbd2cbbde0c6b9b18f75ca30140c777746fc9d35a3c314c13d99300dbe8d9bbd313b2ae4cb069b8e81446b27e982f
DIST sqlitestudio-3.4.3.tar.gz 16115078 BLAKE2B ac083ea53276a87917a532359c5f3eae665140e04efe01c8172fbcb135df65f4128a6b09b96f781c411e3b105f47a2c30172e37ab1bd82be32a36027c75770d9 SHA512 5261bd9c5a7e5be3e140eefda45961dc1978b6d1f9f180a8db07671acc55d275c0f2755a580f57681b17fe233ef54b2680a633693c1ec62d3517e4f968e80549
+DIST sqlitestudio-3.4.4.tar.gz 16187828 BLAKE2B 34a19880c0ce82a0457c8b34fe713d1792101563dd37849f02538a3f62310e0720939a3930c2c1d2fe43a8379c66012e75cf9e45e961a382c3ea5fbd857e42d3 SHA512 ddbb926afcca0afe8e4199be64254d0a9a47bef66f260c51cc7e5c5d38c8a00bfbe2012e8ec933bf69e85481c0c214136146cd3bff0975f6178f9fe7884e8190
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.4.4.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.4.4.ebuild
new file mode 100644
index 000000000000..72ae21dc8d10
--- /dev/null
+++ b/dev-db/sqlitestudio/sqlitestudio-3.4.4.ebuild
@@ -0,0 +1,187 @@
+# Copyright 1999-2023 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..11} )
+
+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/qtscript: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.3-fix-python.patch
+ "${FILESDIR}"/${PN}-3.4.3-fix-PyThreadState.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() {
+ emake -C "${core_build_dir}"
+ emake -C "${plugins_build_dir}"
+}
+
+src_install() {
+ emake -C "${core_build_dir}" INSTALL_ROOT="${D}" install
+ emake -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;" )"
+}
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/
@ 2023-10-21 21:04 Andreas Sturmlechner
0 siblings, 0 replies; 18+ messages in thread
From: Andreas Sturmlechner @ 2023-10-21 21:04 UTC (permalink / raw
To: gentoo-commits
commit: 6a86552e4ba6096b81d67a814d4b83dd7f0ece14
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 21 18:59:09 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Oct 21 21:04:18 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a86552e
dev-db/sqlitestudio: drop 3.3.3, 3.4.3, 3.4.3-r1, 3.4.4
Closes: https://bugs.gentoo.org/915786
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
dev-db/sqlitestudio/Manifest | 2 -
dev-db/sqlitestudio/sqlitestudio-3.3.3.ebuild | 153 -------------------
dev-db/sqlitestudio/sqlitestudio-3.4.3-r1.ebuild | 187 -----------------------
dev-db/sqlitestudio/sqlitestudio-3.4.3.ebuild | 186 ----------------------
dev-db/sqlitestudio/sqlitestudio-3.4.4.ebuild | 187 -----------------------
5 files changed, 715 deletions(-)
diff --git a/dev-db/sqlitestudio/Manifest b/dev-db/sqlitestudio/Manifest
index b6bdf7398fe1..29660131f58b 100644
--- a/dev-db/sqlitestudio/Manifest
+++ b/dev-db/sqlitestudio/Manifest
@@ -1,3 +1 @@
-DIST sqlitestudio-3.3.3.tar.gz 8863232 BLAKE2B 1dfa74ab405ec057090f87726c3562470de4c1fd7b97c0fbc3e3fb4b3c8413825ec1884ac8bc9cb86e0d3d64b42af323a46ae4aa324de98c1dc8e967a4eb0d35 SHA512 1b92b06dbca3b5ee051d2582345c0e9a0a3cbd2cbbde0c6b9b18f75ca30140c777746fc9d35a3c314c13d99300dbe8d9bbd313b2ae4cb069b8e81446b27e982f
-DIST sqlitestudio-3.4.3.tar.gz 16115078 BLAKE2B ac083ea53276a87917a532359c5f3eae665140e04efe01c8172fbcb135df65f4128a6b09b96f781c411e3b105f47a2c30172e37ab1bd82be32a36027c75770d9 SHA512 5261bd9c5a7e5be3e140eefda45961dc1978b6d1f9f180a8db07671acc55d275c0f2755a580f57681b17fe233ef54b2680a633693c1ec62d3517e4f968e80549
DIST sqlitestudio-3.4.4.tar.gz 16187828 BLAKE2B 34a19880c0ce82a0457c8b34fe713d1792101563dd37849f02538a3f62310e0720939a3930c2c1d2fe43a8379c66012e75cf9e45e961a382c3ea5fbd857e42d3 SHA512 ddbb926afcca0afe8e4199be64254d0a9a47bef66f260c51cc7e5c5d38c8a00bfbe2012e8ec933bf69e85481c0c214136146cd3bff0975f6178f9fe7884e8190
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.3.3.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.3.3.ebuild
deleted file mode 100644
index 401c8f8bec3e..000000000000
--- a/dev-db/sqlitestudio/sqlitestudio-3.3.3.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PLOCALES="de es fr it pl pt_BR ro_RO ru sk zh_CN"
-inherit desktop plocale toolchain-funcs 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 tcl test"
-
-REQUIRED_USE="test? ( cli )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-db/sqlite:3
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtnetwork:5
- dev-qt/qtscript:5
- dev-qt/qtsvg:5
- dev-qt/qtwidgets:5
- dev-qt/qtxml:5
- cli? (
- sys-libs/readline:=
- sys-libs/ncurses:=
- )
- 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
-"
-
-core_build_dir="${S}/output/build"
-plugins_build_dir="${core_build_dir}/Plugins"
-
-src_prepare() {
- default
-
- sed -i -e 's/linux|portable/portable/' SQLiteStudio3/sqlitestudio/sqlitestudio.pro || die
-
- # bug #838325
- sed -i -e "s:-lcurses:$($(tc-getPKG_CONFIG) --libs ncurses):" SQLiteStudio3/sqlitestudiocli/sqlitestudiocli.pro || die
-
- 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 )
- 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
- sed -i -e 's/\(target.*usr\/\)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)
- local myqmakeargs=(
- "BINDIR=${EPREFIX}/usr/bin"
- "LIBDIR=${EPREFIX}/usr/$(get_libdir)"
- "QMAKE_CFLAGS_ISYSTEM=\"\""
- $(usex test 'DEFINES+=tests' '')
- )
-
- ## 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() {
- emake -C "${core_build_dir}"
- emake -C "${plugins_build_dir}"
-}
-
-src_install() {
- emake -C "${core_build_dir}" INSTALL_ROOT="${D}" install
- emake -C "${plugins_build_dir}" INSTALL_ROOT="${D}" install
-
- 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;" )"
-}
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.4.3-r1.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.4.3-r1.ebuild
deleted file mode 100644
index ff3c591f1c38..000000000000
--- a/dev-db/sqlitestudio/sqlitestudio-3.4.3-r1.ebuild
+++ /dev/null
@@ -1,187 +0,0 @@
-# Copyright 1999-2023 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 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..11} )
-
-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/qtscript: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}"/${P}-fix-python.patch
- "${FILESDIR}"/${P}-fix-PyThreadState.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() {
- emake -C "${core_build_dir}"
- emake -C "${plugins_build_dir}"
-}
-
-src_install() {
- emake -C "${core_build_dir}" INSTALL_ROOT="${D}" install
- emake -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;" )"
-}
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.4.3.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.4.3.ebuild
deleted file mode 100644
index 9392b3336487..000000000000
--- a/dev-db/sqlitestudio/sqlitestudio-3.4.3.ebuild
+++ /dev/null
@@ -1,186 +0,0 @@
-# Copyright 1999-2023 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 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..11} )
-
-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/qtscript: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}"/${P}-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() {
- emake -C "${core_build_dir}"
- emake -C "${plugins_build_dir}"
-}
-
-src_install() {
- emake -C "${core_build_dir}" INSTALL_ROOT="${D}" install
- emake -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;" )"
-}
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.4.4.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.4.4.ebuild
deleted file mode 100644
index 72ae21dc8d10..000000000000
--- a/dev-db/sqlitestudio/sqlitestudio-3.4.4.ebuild
+++ /dev/null
@@ -1,187 +0,0 @@
-# Copyright 1999-2023 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..11} )
-
-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/qtscript: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.3-fix-python.patch
- "${FILESDIR}"/${PN}-3.4.3-fix-PyThreadState.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() {
- emake -C "${core_build_dir}"
- emake -C "${plugins_build_dir}"
-}
-
-src_install() {
- emake -C "${core_build_dir}" INSTALL_ROOT="${D}" install
- emake -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;" )"
-}
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/
@ 2023-10-21 21:04 Andreas Sturmlechner
0 siblings, 0 replies; 18+ messages in thread
From: Andreas Sturmlechner @ 2023-10-21 21:04 UTC (permalink / raw
To: gentoo-commits
commit: c3df0397bfc0f43affc657903b7def77e977e2a7
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 21 18:58:12 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Oct 21 21:04:18 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3df0397
dev-db/sqlitestudio: Drop unused dev-qt/qtscript:5
Bug: https://bugs.gentoo.org/915786
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild | 186 +++++++++++++++++++++++
1 file changed, 186 insertions(+)
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild
new file mode 100644
index 000000000000..27fdbf0612c4
--- /dev/null
+++ b/dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild
@@ -0,0 +1,186 @@
+# Copyright 1999-2023 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..11} )
+
+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.3-fix-python.patch
+ "${FILESDIR}"/${PN}-3.4.3-fix-PyThreadState.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() {
+ emake -C "${core_build_dir}"
+ emake -C "${plugins_build_dir}"
+}
+
+src_install() {
+ emake -C "${core_build_dir}" INSTALL_ROOT="${D}" install
+ emake -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;" )"
+}
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/
@ 2024-07-29 10:51 Pacho Ramos
0 siblings, 0 replies; 18+ messages in thread
From: Pacho Ramos @ 2024-07-29 10:51 UTC (permalink / raw
To: gentoo-commits
commit: da3f7d3dced4de4511513a1d50673173828390cf
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 29 10:50:50 2024 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon Jul 29 10:50:50 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da3f7d3d
dev-db/sqlitestudio: enable py3.12
Closes: https://bugs.gentoo.org/929389
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild
index 27fdbf0612c4..8d42774fa22e 100644
--- a/dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild
+++ b/dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -6,7 +6,7 @@ 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..11} )
+PYTHON_COMPAT=( python3_{9..12} )
inherit desktop plocale python-single-r1 qmake-utils xdg
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/
@ 2024-10-09 12:52 Sam James
0 siblings, 0 replies; 18+ messages in thread
From: Sam James @ 2024-10-09 12:52 UTC (permalink / raw
To: gentoo-commits
commit: efcad109bf466b26305cb3cd6be714971d3c50c7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 9 12:52:20 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 9 12:52:36 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efcad109
dev-db/sqlitestudio: build with -j1
The build system is qmake so a pain to fix.
Closes: https://bugs.gentoo.org/902991
Closes: https://bugs.gentoo.org/924672
Closes: https://bugs.gentoo.org/928736
Closes: https://bugs.gentoo.org/941074
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild
index 8d42774fa22e..5b746ecdf792 100644
--- a/dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild
+++ b/dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild
@@ -159,13 +159,14 @@ src_configure() {
}
src_compile() {
- emake -C "${core_build_dir}"
- emake -C "${plugins_build_dir}"
+ # -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 -C "${core_build_dir}" INSTALL_ROOT="${D}" install
- emake -C "${plugins_build_dir}" INSTALL_ROOT="${D}" 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
^ permalink raw reply related [flat|nested] 18+ messages in thread
end of thread, other threads:[~2024-10-09 12:53 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-03 16:14 [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/ Andreas Sturmlechner
-- strict thread matches above, loose matches on Subject: below --
2024-10-09 12:52 Sam James
2024-07-29 10:51 Pacho Ramos
2023-10-21 21:04 Andreas Sturmlechner
2023-10-21 21:04 Andreas Sturmlechner
2023-05-06 3:46 Sam James
2023-02-17 9:45 Viorel Munteanu
2022-06-07 23:02 Sam James
2021-04-30 23:43 Sam James
2021-02-28 14:54 Joonas Niilola
2020-06-26 16:14 Andreas Sturmlechner
2019-02-03 16:14 Andreas Sturmlechner
2017-09-04 21:02 Andreas Sturmlechner
2017-09-03 21:15 Andreas Sturmlechner
2016-07-25 22:13 Johannes Huber
2016-07-07 23:38 Austin English
2016-05-29 15:30 Kristian Fiskerstrand
2016-03-19 23:01 Patrice Clement
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox