public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-libs/libaccounts-glib/files/, net-libs/libaccounts-glib/
@ 2022-09-14  7:31 Andreas Sturmlechner
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2022-09-14  7:31 UTC (permalink / raw
  To: gentoo-commits

commit:     2b9e39183630c588f793d3f3fe3a956cea695181
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 14 06:46:57 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 07:00:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b9e3918

net-libs/libaccounts-glib: add 1.26, EAPI-8, python3_11

Fix project version manually.

QA notice filed upstream:
https://gitlab.com/accounts-sso/libaccounts-glib/-/issues/13

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-libs/libaccounts-glib/Manifest                 |  1 +
 .../libaccounts-glib-1.26-project-version.patch    |  8 +++
 .../libaccounts-glib/libaccounts-glib-1.26.ebuild  | 63 ++++++++++++++++++++++
 3 files changed, 72 insertions(+)

diff --git a/net-libs/libaccounts-glib/Manifest b/net-libs/libaccounts-glib/Manifest
index 78431778763f..69deda66f437 100644
--- a/net-libs/libaccounts-glib/Manifest
+++ b/net-libs/libaccounts-glib/Manifest
@@ -1 +1,2 @@
 DIST libaccounts-glib-1.25.tar.gz 117337 BLAKE2B 72e6e15b63eea4d5b2a3e994779a4636bee859c6d395c8c9f65120cfee1c25a5708971b438010f668eefee20735b01e9f9f4e1ac4cb55495a06143d20198e422 SHA512 cc8b493d246f99300ee614fed93258378ecdbe9c518a958a59827ee8f74559b1ee3683acfb85f59aa91390275497fb35041da2be47f27f24f96e1efd5d6d2e20
+DIST libaccounts-glib-1.26.tar.gz 117365 BLAKE2B a3c7bf4058372001079c9c153b30f947882521f1f9680a63db2883307e998335a1e646112dc8a51640824f238d871d96da2c18b4ef175c837cebfe056ded2cbb SHA512 c08a11087745ba771e539b61de57693390960ad6b4e8217c159be49d31bd7f8856fffa835e7a230f352049bbf7cec9184ff225e74bbc195964221d3d9d49743b

diff --git a/net-libs/libaccounts-glib/files/libaccounts-glib-1.26-project-version.patch b/net-libs/libaccounts-glib/files/libaccounts-glib-1.26-project-version.patch
new file mode 100644
index 000000000000..82e8c6bbcbd4
--- /dev/null
+++ b/net-libs/libaccounts-glib/files/libaccounts-glib-1.26-project-version.patch
@@ -0,0 +1,8 @@
+--- a/meson.build
++++ b/meson.build
+@@ -1,4 +1,4 @@
+-project('libaccounts-glib', 'c', version: '1.25', license: 'LGPL2.1', meson_version: '>=0.48.0')
++project('libaccounts-glib', 'c', version: '1.26', license: 'LGPL2.1', meson_version: '>=0.48.0')
+ 
+ version_parts = meson.project_version().split('.')
+ api_version = '@0@.0'.format(version_parts[0])

diff --git a/net-libs/libaccounts-glib/libaccounts-glib-1.26.ebuild b/net-libs/libaccounts-glib/libaccounts-glib-1.26.ebuild
new file mode 100644
index 000000000000..66a87f221321
--- /dev/null
+++ b/net-libs/libaccounts-glib/libaccounts-glib-1.26.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit meson python-r1 vala
+
+DESCRIPTION="Accounts SSO (Single Sign-On) management library for GLib applications"
+HOMEPAGE="https://gitlab.com/accounts-sso/libaccounts-glib"
+SRC_URI="https://gitlab.com/accounts-sso/${PN}/-/archive/VERSION_${PV}/${PN}-VERSION_${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-VERSION_${PV}"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="doc"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+# fails
+RESTRICT="test"
+
+RDEPEND="${PYTHON_DEPS}
+	dev-db/sqlite:3
+	dev-libs/glib:2
+	dev-libs/gobject-introspection:=
+	dev-libs/libxml2
+	dev-python/pygobject:3[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	$(vala_depend)
+	dev-libs/check
+	dev-util/gdbus-codegen
+	dev-util/glib-utils
+	doc? ( dev-util/gtk-doc )
+"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-1.25-assert-failure.patch"
+	"${FILESDIR}/${P}-project-version.patch"
+)
+
+src_prepare() {
+	default
+	vala_setup --ignore-use
+
+	use doc || sed -e "/^subdir('docs')$/d" -i meson.build || die
+}
+
+src_configure() {
+	python_foreach_impl run_in_build_dir meson_src_configure
+}
+
+src_compile() {
+	python_foreach_impl run_in_build_dir meson_src_compile
+}
+
+src_install() {
+	einstalldocs
+	python_foreach_impl run_in_build_dir meson_src_install
+	python_foreach_impl python_optimize
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/libaccounts-glib/files/, net-libs/libaccounts-glib/
@ 2024-05-15 19:58 Andreas Sturmlechner
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2024-05-15 19:58 UTC (permalink / raw
  To: gentoo-commits

commit:     a6611fc62ea8446f1055cc021e4684d3651fc8a4
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed May 15 19:13:17 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed May 15 19:57:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6611fc6

net-libs/libaccounts-glib: drop 1.26-r1

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-libs/libaccounts-glib/Manifest                 |  1 -
 .../libaccounts-glib-1.25-assert-failure.patch     | 26 ---------
 ...-incorrect-cleanup-in-ag_account_finalize.patch | 30 ----------
 .../libaccounts-glib-1.26-project-version.patch    |  8 ---
 .../libaccounts-glib-1.26-r1.ebuild                | 64 ----------------------
 5 files changed, 129 deletions(-)

diff --git a/net-libs/libaccounts-glib/Manifest b/net-libs/libaccounts-glib/Manifest
index 37eb55a5088b..7f0f2ca49a63 100644
--- a/net-libs/libaccounts-glib/Manifest
+++ b/net-libs/libaccounts-glib/Manifest
@@ -1,2 +1 @@
-DIST libaccounts-glib-1.26.tar.gz 117365 BLAKE2B a3c7bf4058372001079c9c153b30f947882521f1f9680a63db2883307e998335a1e646112dc8a51640824f238d871d96da2c18b4ef175c837cebfe056ded2cbb SHA512 c08a11087745ba771e539b61de57693390960ad6b4e8217c159be49d31bd7f8856fffa835e7a230f352049bbf7cec9184ff225e74bbc195964221d3d9d49743b
 DIST libaccounts-glib-1.27.tar.bz2 88050 BLAKE2B 12d4ded072584150d9011e7c684301cf407d822e42ef131cf5b2d1c370cb5f59f00991a52c27d444dfe654f743984a9b5e9983f204a1a4172e8730f8020a7662 SHA512 3a4ccc9193e69dcab1b6618da0dc628f5a2a7c57174f99adf690bef71bbcec0bde3957077411d0528e85447e9f0d037e3ee93c2a3d3b2e6404b257de34a6493c

diff --git a/net-libs/libaccounts-glib/files/libaccounts-glib-1.25-assert-failure.patch b/net-libs/libaccounts-glib/files/libaccounts-glib-1.25-assert-failure.patch
deleted file mode 100644
index f35aee5c6a84..000000000000
--- a/net-libs/libaccounts-glib/files/libaccounts-glib-1.25-assert-failure.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 29bdc47abe11d3bfcec7a35ed83475eba04bfdaa Mon Sep 17 00:00:00 2001
-From: Pekka Vuorela <pekka.vuorela@jolla.com>
-Date: Tue, 7 Jul 2020 12:51:50 +0300
-Subject: [PATCH] Avoid assert failure on ag_provider_get_tags
-
----
- libaccounts-glib/ag-provider.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/libaccounts-glib/ag-provider.c b/libaccounts-glib/ag-provider.c
-index 93d1541..8a79616 100644
---- a/libaccounts-glib/ag-provider.c
-+++ b/libaccounts-glib/ag-provider.c
-@@ -464,6 +464,9 @@ GList *ag_provider_get_tags (AgProvider *provider)
- {
-     g_return_val_if_fail (provider != NULL, NULL);
- 
-+    if (G_UNLIKELY (provider->tags == NULL))
-+        return NULL;
-+
-     return g_hash_table_get_keys (provider->tags);
- }
- 
--- 
-GitLab
-

diff --git a/net-libs/libaccounts-glib/files/libaccounts-glib-1.26-fix-incorrect-cleanup-in-ag_account_finalize.patch b/net-libs/libaccounts-glib/files/libaccounts-glib-1.26-fix-incorrect-cleanup-in-ag_account_finalize.patch
deleted file mode 100644
index 0a6f1120882a..000000000000
--- a/net-libs/libaccounts-glib/files/libaccounts-glib-1.26-fix-incorrect-cleanup-in-ag_account_finalize.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 270a66d5efe1453a2be4bad10894b947fdd2923e Mon Sep 17 00:00:00 2001
-From: Alberto Mardegan <mardy@users.sourceforge.net>
-Date: Tue, 4 Oct 2022 20:58:27 +0300
-Subject: [PATCH] ag-account: fix incorrect cleanup in ag_account_finalize
-
-The wrong variable was passed to _ag_account_changes_free(); as a matter
-of facts, this code was always a NOP, since prig->services had already
-been nullified before, but it was a memory leak.
-
-Fixes: https://gitlab.com/accounts-sso/libaccounts-glib/-/issues/13
----
- libaccounts-glib/ag-account.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libaccounts-glib/ag-account.c b/libaccounts-glib/ag-account.c
-index 8d6995b..7e67ba7 100644
---- a/libaccounts-glib/ag-account.c
-+++ b/libaccounts-glib/ag-account.c
-@@ -994,7 +994,7 @@ ag_account_finalize (GObject *object)
-     if (priv->changes)
-     {
-         DEBUG_INFO ("Finalizing account with uncommitted changes!");
--        g_clear_pointer (&priv->services, _ag_account_changes_free);
-+        g_clear_pointer (&priv->changes, _ag_account_changes_free);
-     }
- 
-     G_OBJECT_CLASS (ag_account_parent_class)->finalize (object);
--- 
-GitLab
-

diff --git a/net-libs/libaccounts-glib/files/libaccounts-glib-1.26-project-version.patch b/net-libs/libaccounts-glib/files/libaccounts-glib-1.26-project-version.patch
deleted file mode 100644
index 82e8c6bbcbd4..000000000000
--- a/net-libs/libaccounts-glib/files/libaccounts-glib-1.26-project-version.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- a/meson.build
-+++ b/meson.build
-@@ -1,4 +1,4 @@
--project('libaccounts-glib', 'c', version: '1.25', license: 'LGPL2.1', meson_version: '>=0.48.0')
-+project('libaccounts-glib', 'c', version: '1.26', license: 'LGPL2.1', meson_version: '>=0.48.0')
- 
- version_parts = meson.project_version().split('.')
- api_version = '@0@.0'.format(version_parts[0])

diff --git a/net-libs/libaccounts-glib/libaccounts-glib-1.26-r1.ebuild b/net-libs/libaccounts-glib/libaccounts-glib-1.26-r1.ebuild
deleted file mode 100644
index c67040512394..000000000000
--- a/net-libs/libaccounts-glib/libaccounts-glib-1.26-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit meson python-r1 vala
-
-DESCRIPTION="Accounts SSO (Single Sign-On) management library for GLib applications"
-HOMEPAGE="https://gitlab.com/accounts-sso/libaccounts-glib"
-SRC_URI="https://gitlab.com/accounts-sso/${PN}/-/archive/VERSION_${PV}/${PN}-VERSION_${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-VERSION_${PV}"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
-IUSE="doc"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-# fails
-RESTRICT="test"
-
-RDEPEND="${PYTHON_DEPS}
-	dev-db/sqlite:3
-	dev-libs/glib:2
-	dev-libs/gobject-introspection:=
-	dev-libs/libxml2
-	dev-python/pygobject:3[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-	$(vala_depend)
-	dev-libs/check
-	dev-util/gdbus-codegen
-	dev-util/glib-utils
-	doc? ( dev-util/gtk-doc )
-"
-
-PATCHES=(
-	"${FILESDIR}/${PN}-1.25-assert-failure.patch"
-	"${FILESDIR}/${P}-project-version.patch"
-	"${FILESDIR}/${P}-fix-incorrect-cleanup-in-ag_account_finalize.patch"
-)
-
-src_prepare() {
-	default
-	vala_setup --ignore-use
-
-	use doc || sed -e "/^subdir('docs')$/d" -i meson.build || die
-}
-
-src_configure() {
-	python_foreach_impl run_in_build_dir meson_src_configure
-}
-
-src_compile() {
-	python_foreach_impl run_in_build_dir meson_src_compile
-}
-
-src_install() {
-	einstalldocs
-	python_foreach_impl run_in_build_dir meson_src_install
-	python_foreach_impl python_optimize
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-15 19:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-15 19:58 [gentoo-commits] repo/gentoo:master commit in: net-libs/libaccounts-glib/files/, net-libs/libaccounts-glib/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2022-09-14  7:31 Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox