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.vuor...@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 <ma...@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
-}

Reply via email to