public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/pgmodeler/
Date: Tue, 21 Oct 2025 11:08:47 +0000 (UTC)	[thread overview]
Message-ID: <1761044841.2505a111e85c46ce659fa19bdd5003dbbebe014e.sam@gentoo> (raw)

commit:     2505a111e85c46ce659fa19bdd5003dbbebe014e
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Mon Oct 20 11:32:07 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 21 11:07:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2505a111

dev-db/pgmodeler: Bump to 1.2.2

bugfix release and support for postgresql-18
update postgres_targets 13..17 -> 14..18

Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44271
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-db/pgmodeler/Manifest               |  1 +
 dev-db/pgmodeler/pgmodeler-1.2.2.ebuild | 94 +++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/dev-db/pgmodeler/Manifest b/dev-db/pgmodeler/Manifest
index c145e68a6b92..21e6b69432c9 100644
--- a/dev-db/pgmodeler/Manifest
+++ b/dev-db/pgmodeler/Manifest
@@ -1,2 +1,3 @@
 DIST pgmodeler-1.2.0.tar.gz 4272101 BLAKE2B cd3453f494d9bd1bb6f927ff7c02e01f4e26a144ed760f38de070dd09dcf1b7e85cc9509bc22732000de388334e385c553e66d4ead5a726686f27a6da2340111 SHA512 9a7b96ec3eeed6d88d28e824b044f0e2c073eceacd3afdb6a77354b574c5f3a8a9df7ea99333b20a5176f5684e48b20a990ba15bf3db09f47cd44d07b44d9a7b
 DIST pgmodeler-1.2.1.tar.gz 4268607 BLAKE2B 65fe05551addee7e137297ce7fc47e818c372527f398583cb41a381d13a70ea4ac74c08f602cfaaf96bc79b94010c69d9378106e4eba3e8ee5360f7c69bbed62 SHA512 e83f84c793dd320f175c32d6a1e38d1e631319b0fcaf911c0a687e01f3ed3587dbc6396bcd1776a33f596a93c0eaf5b11ad9e88ebae3d861eba7e6561536408b
+DIST pgmodeler-1.2.2.tar.gz 4270108 BLAKE2B 45f0522c7007a7cac1bedcb5faa99896983e350b6b96f161ee7d27e7dadbd21039705dd68bca3185ab46db0dbf9f68ce6c478401dd479c86d4b8114052950a54 SHA512 867f5cd07c67c0d3811d14e02c59837c7380e0dae56e530c2bd7288a9b22a6d58e311b507b774582048adc90bab359d4b835aba647828ea4c3098c5b6cf01107

diff --git a/dev-db/pgmodeler/pgmodeler-1.2.2.ebuild b/dev-db/pgmodeler/pgmodeler-1.2.2.ebuild
new file mode 100644
index 000000000000..363bbe634a1a
--- /dev/null
+++ b/dev-db/pgmodeler/pgmodeler-1.2.2.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+POSTGRES_COMPAT=( {14..18} )
+inherit desktop postgres qmake-utils
+
+DESCRIPTION="PostgreSQL Database Modeler"
+HOMEPAGE="https://pgmodeler.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="${POSTGRES_DEP}
+	dev-libs/libxml2:=
+	dev-qt/qtbase:6[gui,network,opengl,widgets,X]
+	dev-qt/qtsvg:6
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	default
+	sed -e "/^doc.files/s/LICENSE //" -i pgmodeler.pro || die
+}
+
+src_configure() {
+	local myqmakeargs=(
+		DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+		PREFIX="${EPREFIX}/usr"
+		PLUGINSDIR="${EPREFIX}/usr/$(get_libdir)/${PN}/plugins"
+		PRIVATEBINDIR="${EPREFIX}/usr/$(get_libdir)/${PN}/bin"
+		PRIVATELIBDIR="${EPREFIX}/usr/$(get_libdir)/${PN}"
+		NO_UPDATE_CHECK="true"
+	)
+	eqmake6 "${myqmakeargs[@]}" -r ${PN}.pro
+}
+
+src_test() {
+	local myqmakeargs=(
+		BINDIR="${T}"
+		SAMPLESDIR="${S}/assets/samples"
+		SCHEMASDIR="${S}/assets"
+	)
+
+	pushd "${S}/tests" || die
+		# skip tests with graphical interaction
+		sed	-e '/^src\/fileselectortest/d' \
+			-e '/^src\/linenumberstest/d' \
+			-i tests.pro || die
+		# skip test with sandbox restriction (/proc/self/mem)
+		sed	-e '/^src\/syntaxhighlightertest/d' \
+			-i tests.pro || die
+		# skip xml tests
+		# see https://github.com/pgmodeler/pgmodeler/issues/1971
+		sed	-e '/^src\/foreigndatawrappertest/d' \
+			-e '/^src\/proceduretest/d' \
+			-e '/^src\/servertest/d' \
+			-e '/^src\/transformtest/d' \
+			-e '/^src\/xmlparsertest/d' \
+			-i tests.pro || die
+		# tests not updated after functions have been modified
+		# see https://github.com/pgmodeler/pgmodeler/issues/1971 too
+		sed -e '/^src\/basefunctiontest/d' \
+			-i tests.pro || die
+
+		eqmake6 "${myqmakeargs[@]}" tests.pro
+		emake
+
+		# append all shared-libs to LD_LIBRARY_PATH
+		local l
+		for l in "${S}"/libs/*; do
+			[[ -d ${l} ]] && LD_LIBRARY_PATH+=":${l}"
+		done
+		export LD_LIBRARY_PATH
+
+		local -x QT_QPA_PLATFORM=offscreen
+
+		# run each test individually
+		local t
+		for t in $(find src -type f -executable); do
+			${t} || die "${t} failed"
+		done
+	popd || die
+}
+
+src_install() {
+	emake INSTALL_ROOT="${D}" install
+
+	doicon assets/conf/${PN}_logo.png
+	make_desktop_entry ${PN} ${PN} ${PN}_logo Development
+}


             reply	other threads:[~2025-10-21 11:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-21 11:08 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-21 11:08 [gentoo-commits] repo/gentoo:master commit in: dev-db/pgmodeler/ Sam James
2025-09-06 14:34 Sam James
2025-09-06 14:34 Sam James
2025-06-26 19:55 Sam James
2025-05-01 22:36 Andreas Sturmlechner
2025-05-01 22:36 Andreas Sturmlechner
2025-05-01 22:36 Andreas Sturmlechner
2025-05-01 22:36 Andreas Sturmlechner
2025-01-03 13:51 Andreas Sturmlechner
2022-02-14  7:31 罗百科
2021-08-22 21:53 David Seifert
2020-06-26 10:12 Andreas Sturmlechner
2020-05-26  3:35 Aaron W. Swenson
2019-06-15 10:58 Aaron W. Swenson
2018-05-20 20:03 Aaron Swenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1761044841.2505a111e85c46ce659fa19bdd5003dbbebe014e.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox