summaryrefslogtreecommitdiff
path: root/gnome-extra
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-17 06:41:55 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-17 06:41:55 +0000
commit6d730aa8064fbab6cc54447b6ed0e60b99c13256 (patch)
tree8c303cb48dc49dd218b79708ca71904653c5f831 /gnome-extra
parentcb2f73d10494730ba590096a1f24ebc6d0d61a9f (diff)
gentoo auto-resync : 17:01:2025 - 06:41:55
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/Manifest.gzbin11246 -> 11245 bytes
-rw-r--r--gnome-extra/gnome-contacts/Manifest5
-rw-r--r--gnome-extra/gnome-contacts/files/45.1-clang.patch228
-rw-r--r--gnome-extra/gnome-contacts/gnome-contacts-47.1.1.ebuild (renamed from gnome-extra/gnome-contacts/gnome-contacts-45.1.ebuild)22
4 files changed, 11 insertions, 244 deletions
diff --git a/gnome-extra/Manifest.gz b/gnome-extra/Manifest.gz
index 4a004e296a6f..062446889de2 100644
--- a/gnome-extra/Manifest.gz
+++ b/gnome-extra/Manifest.gz
Binary files differ
diff --git a/gnome-extra/gnome-contacts/Manifest b/gnome-extra/gnome-contacts/Manifest
index a4290f19b444..b09369e8540b 100644
--- a/gnome-extra/gnome-contacts/Manifest
+++ b/gnome-extra/gnome-contacts/Manifest
@@ -1,6 +1,5 @@
-AUX 45.1-clang.patch 9749 BLAKE2B 3c3b7adb794af29faff2b5cf4b4caff3957b7af103072cfd8331ef142715868e82fdd478212e0f64b21b43fbacf856f29d3fe16b4a5552fa61a4e86761ae1dd1 SHA512 3325e9d0b5d43d170bfd70f4c52b5b9fd09d02c57e945cd6ccc78beb034cbb0109a87fd723733a513991d255295ac33850d92a434bea0400f37481ad8cd104f4
-DIST gnome-contacts-45.1.tar.xz 402748 BLAKE2B 02cb3fd3ebcfd4e33add4706b1746940a14d680697ddaf54f9e006a14c15e7a11f791af2704b40573b59c6348ba3f1e1e216b514b1bc5fed990f0e8eaf1dc45b SHA512 87fc5b235e955ca347950306d37d0d8aea71dbcdb0f8d5c45d96da3a316f5e40da6004d6c5ab3674acdf7237f81bd508486c90130d01b045ee0c0582b04ba8aa
DIST gnome-contacts-46.0.tar.xz 410040 BLAKE2B bff36046bf6a37d5550458d55078ec2dfc0704c31365e925788ed64cf03af88ae73be45e256c770fdbc43e65dba5487812fafe169168c2ef625853eaeff17e90 SHA512 adadbb4038053e402f131f530b61fa1c33008eac819d2c03e0a024080bc7e5e24b022a0e9d773ffa03e20324296338d1c3115d25a39f6a3fddd4480de3c8980e
-EBUILD gnome-contacts-45.1.ebuild 1674 BLAKE2B 23b45c1af9e89b4aaef28c4dfd025b0d5d2ac1f44788f11f863c8f3e62ad7d0369445291e6fcd4fbefebb10b64f8408ae95f50f91511c09378d69e2048eff7a2 SHA512 94d41372e684d46d586ea713462cae457e55431b0f589b3adfb2337935c257b9a3294a17333b010741028c84f03d940456fd852440504b8b46f0582e36837139
+DIST gnome-contacts-47.1.1.tar.xz 423676 BLAKE2B 49e43b2bb634e1158799056797e55ae6248fe0518dcdd1d5975810f278b149db75469d48e1f0c02b39e8bfe918b5b0578956149180c1665b323325d6eede55aa SHA512 e03588a82a6ce12d81cb7e346dee59a8e6b56365425c6ff172d4f4ce0b08cfae521dd279aca299d0c9938a832bfbe631a87e83d4a83daff8c5464d6173ae7ea3
EBUILD gnome-contacts-46.0.ebuild 1568 BLAKE2B fce8d79fe6a291b7479eddbc57e413d968d924ddf3d50e35e7598f596aa2f4c1f2d7d485b8e5dc0dd64ce14e1b53a29e222c744ce14ceeec3f2850bd6b34dc9a SHA512 477fc7174b27c14fdafe7c823af53c9f017e7d105cfb6c3713342f21651b8b07f4ca7936ee7429a30fad20483b30b8a3e5b97762fd32bfd335927c065ece6789
+EBUILD gnome-contacts-47.1.1.ebuild 1590 BLAKE2B 6296e19562c8e94c27f3d74443bd88a9674f3cf684a1bc48b1f41c85d4c91fd067690084e056fcb9f20dd69abc4192ba0147de836a66f39a04ef4d6124aeca78 SHA512 d933ef9dd0dc148f5122f328d192aac5fbbdb6c6d5d4a5af63368cc0978c6500d72af2d765aac81ee708770d6a4d02fd189b2775f70ebafd2d43802bb19ff3b0
MISC metadata.xml 504 BLAKE2B 876846abc81450936c89143571a1b26cd48f095c22aa76632e3aa8d860fc77fd8cf5f9aa6f39ecc37f02d53964aa2cbc35f74acc1ecf7a947cef4568b8b5a1dd SHA512 2241ed2d7e0c42276ac709c76085ec62c743cafde605494a5ffd5314a7c1d555d2463104c6487bb3ae4a0360d3f68220b910dfd0c40ea4f52c748a727b1aa0f5
diff --git a/gnome-extra/gnome-contacts/files/45.1-clang.patch b/gnome-extra/gnome-contacts/files/45.1-clang.patch
deleted file mode 100644
index a708f8f926a5..000000000000
--- a/gnome-extra/gnome-contacts/files/45.1-clang.patch
+++ /dev/null
@@ -1,228 +0,0 @@
-From a6ad56a6151f29ceaf6fda3c547c143645e1060f Mon Sep 17 00:00:00 2001
-From: Niels De Graef <nielsdegraef@gmail.com>
-Date: Sun, 18 Feb 2024 11:49:32 +0100
-Subject: [PATCH] Avoid using return*_if_fail/reached() macros in Vala
-
-`g_return_if_fail()`, `g_return_val_if_fail()` (and similarly
-`g_return_if_reached()` are often used in GLib C to denote a
-precondition or soft assertion for a specific place in the code, often
-pointing to a programmer error if the condition fails.
-
-Vala also binds to these methods, but unfortunately, they're a bit less
-useful: the error message it prints only shows the "compiled" temporary
-variable (e.g. `_tmp4_ != NULL`) rather than the actual value, and more
-importantly, it skips some type strictness checks when compiling to C
-(for example, allowing to return nothing in a function that expects a
-boolean return value).
-
-This commit avoids those macros in several ways:
-- Throwing an error for unsupported code paths
-- Using the `requires()` construct in Vala, which is a similar construct
- to that of GLib, but specific to Vala (but can only be used at the
- function signature level)
-- For other points in the code, we fall back to `warn_if_fail()`, which
- still suffers from the problem of printing temporary variables, but at
- least doesn't fail any type checks.
-
-Fixes: https://gitlab.gnome.org/GNOME/gnome-contacts/-/issues/340
----
- src/contacts-contact-editor.vala | 4 ++--
- src/contacts-contact-sheet.vala | 6 +++---
- src/contacts-import-operation.vala | 2 +-
- src/contacts-main-window.vala | 19 +++++++++----------
- src/contacts-persona-filter.vala | 6 +++---
- src/contacts-query-filter.vala | 6 +++---
- src/core/contacts-bin-chunk.vala | 2 +-
- src/core/contacts-chunk.vala | 3 +--
- src/io/contacts-io-parse-operation.vala | 2 +-
- 9 files changed, 24 insertions(+), 26 deletions(-)
-
-diff --git a/src/contacts-contact-editor.vala b/src/contacts-contact-editor.vala
-index 195eaa0e..5ac9b3d7 100644
---- a/src/contacts-contact-editor.vala
-+++ b/src/contacts-contact-editor.vala
-@@ -126,7 +126,7 @@ public class Contacts.PersonaEditor : Gtk.Widget {
- return ((Chunk) item).persona == this.persona;
- });
- var persona_model = new Gtk.FilterListModel (this.contact, (owned) persona_filter);
-- return_if_fail (persona_model.get_n_items () > 0);
-+ warn_if_fail (persona_model.get_n_items () > 0);
-
- // Show all properties that we either ...
- var filter = new Gtk.AnyFilter ();
-@@ -208,7 +208,7 @@ public class Contacts.PersonaEditor : Gtk.Widget {
- while (current_position < position) {
- child = child.get_next_sibling ();
- // If this fails, we somehow have less widgets than items in our model
-- return_if_fail (child != null);
-+ warn_if_fail (child != null);
- current_position++;
- }
-
-diff --git a/src/contacts-contact-sheet.vala b/src/contacts-contact-sheet.vala
-index 2c49bb66..092466ab 100644
---- a/src/contacts-contact-sheet.vala
-+++ b/src/contacts-contact-sheet.vala
-@@ -49,13 +49,13 @@ public class Contacts.ContactSheet : Gtk.Widget {
- // Get the widget where we'll have to append the item at "position". Note
- // that we need to take care of the header and the persona store titles
- unowned var child = get_first_child ();
-- return_if_fail (child != null); // Header is always available
-+ warn_if_fail (child != null); // Header is always available
-
- uint current_position = 0;
- while (current_position < position) {
- child = child.get_next_sibling ();
- // If this fails, we somehow have less widgets than items in our model
-- return_if_fail (child != null);
-+ warn_if_fail (child != null);
-
- // Ignore persona store labels
- if (child is Gtk.Label)
-@@ -67,7 +67,7 @@ public class Contacts.ContactSheet : Gtk.Widget {
- // First, remove the ones that were removed from the model too
- while (removed != 0) {
- unowned var to_remove = child.get_next_sibling ();
-- return_if_fail (to_remove != null); // if this happens we're out of sync
-+ warn_if_fail (to_remove != null); // if this happens we're out of sync
- to_remove.unparent ();
- removed--;
- }
-diff --git a/src/contacts-import-operation.vala b/src/contacts-import-operation.vala
-index bf8032da..54a29a3d 100644
---- a/src/contacts-import-operation.vala
-+++ b/src/contacts-import-operation.vala
-@@ -56,6 +56,6 @@ public class Contacts.ImportOperation : Operation {
- }
-
- public override async void _undo () throws GLib.Error {
-- return_if_reached ();
-+ throw new IOError.NOT_SUPPORTED ("Undoing an import operation is not supported");
- }
- }
-diff --git a/src/contacts-main-window.vala b/src/contacts-main-window.vala
-index 42c51e65..d8ddda2b 100644
---- a/src/contacts-main-window.vala
-+++ b/src/contacts-main-window.vala
-@@ -233,12 +233,11 @@ public class Contacts.MainWindow : Adw.ApplicationWindow {
- this.actions_bar.reveal_child = (this.state == UiState.SELECTING);
- }
-
-- private void edit_contact (GLib.SimpleAction action, GLib.Variant? parameter) {
-- unowned var selected = get_selected_individual ();
-- return_if_fail (selected != null);
-+ private void edit_contact (GLib.SimpleAction action, GLib.Variant? parameter)
-+ requires (get_selected_individual () != null) {
-
-+ unowned var selected = get_selected_individual ();
- this.state = UiState.UPDATING;
--
- var title = _("Editing %s").printf (selected.display_name);
- this.contact_pane_page.title = title;
- this.contact_pane.edit_contact ();
-@@ -258,10 +257,10 @@ public class Contacts.MainWindow : Adw.ApplicationWindow {
- unmark_action.set_enabled (favorite);
- }
-
-- private void set_selection_is_favorite (bool favorite) {
-- unowned var selected = get_selected_individual ();
-- return_if_fail (selected != null);
-+ private void set_selection_is_favorite (bool favorite)
-+ requires (get_selected_individual () != null) {
-
-+ unowned var selected = get_selected_individual ();
- selected.is_favourite = favorite;
-
- update_favorite_actions (favorite);
-@@ -282,10 +281,10 @@ public class Contacts.MainWindow : Adw.ApplicationWindow {
- this.list_pane_page.title = left_title;
- }
-
-- private void unlink_contact (GLib.SimpleAction action, GLib.Variant? parameter) {
-- unowned Individual? selected = get_selected_individual ();
-- return_if_fail (selected != null);
-+ private void unlink_contact (GLib.SimpleAction action, GLib.Variant? parameter)
-+ requires (get_selected_individual () != null) {
-
-+ unowned var selected = get_selected_individual ();
- this.selection_model.selected.unselect_all ();
- this.state = UiState.NORMAL;
-
-diff --git a/src/contacts-persona-filter.vala b/src/contacts-persona-filter.vala
-index 274f4179..9bf5f913 100644
---- a/src/contacts-persona-filter.vala
-+++ b/src/contacts-persona-filter.vala
-@@ -24,10 +24,10 @@ public class Contacts.PersonaFilter : Gtk.Filter {
- }
- private string[] _ignored_store_types = { "key-file", };
-
-- public override bool match (GLib.Object? item) {
-- unowned var persona = item as Persona;
-- return_val_if_fail (persona != null, false);
-+ public override bool match (GLib.Object? item)
-+ requires (item is Persona) {
-
-+ unowned var persona = item as Persona;
- return match_persona_store_type (persona);
- }
-
-diff --git a/src/contacts-query-filter.vala b/src/contacts-query-filter.vala
-index ed46f7c5..c1846e05 100644
---- a/src/contacts-query-filter.vala
-+++ b/src/contacts-query-filter.vala
-@@ -69,10 +69,10 @@ public class Contacts.QueryFilter : Gtk.Filter {
- this.changed (Gtk.FilterChange.DIFFERENT);
- }
-
-- public override bool match (GLib.Object? item) {
-- unowned var individual = item as Individual;
-- return_val_if_fail (individual != null, false);
-+ public override bool match (GLib.Object? item)
-+ requires (item is Individual) {
-
-+ unowned var individual = item as Individual;
- return this.query.is_match (individual) > this.min_strength;
- }
-
-diff --git a/src/core/contacts-bin-chunk.vala b/src/core/contacts-bin-chunk.vala
-index 4a63072e..96bf5de3 100644
---- a/src/core/contacts-bin-chunk.vala
-+++ b/src/core/contacts-bin-chunk.vala
-@@ -38,7 +38,7 @@ public abstract class Contacts.BinChunk : Chunk, GLib.ListModel {
- public override bool dirty {
- get {
- // If we're hitting this, a subclass forgot to set the field
-- return_val_if_fail (this.original_elements_set, false);
-+ warn_if_fail (this.original_elements_set);
-
- var non_empty_count = nr_nonempty_children ();
- if (this.original_elements.length != non_empty_count)
-diff --git a/src/core/contacts-chunk.vala b/src/core/contacts-chunk.vala
-index ba346db5..fdfa8da1 100644
---- a/src/core/contacts-chunk.vala
-+++ b/src/core/contacts-chunk.vala
-@@ -58,8 +58,7 @@ public abstract class Contacts.Chunk : GLib.Object {
- /**
- * Calls the appropriate API to save to the persona.
- */
-- public abstract async void save_to_persona () throws GLib.Error
-- requires (this.persona != null);
-+ public abstract async void save_to_persona () throws GLib.Error;
-
- /**
- * Serializes this chunk into a {@link GLib.Variant} accordding to an
-diff --git a/src/io/contacts-io-parse-operation.vala b/src/io/contacts-io-parse-operation.vala
-index 0e74c144..cfb98a74 100644
---- a/src/io/contacts-io-parse-operation.vala
-+++ b/src/io/contacts-io-parse-operation.vala
-@@ -82,6 +82,6 @@ public class Contacts.Io.ParseOperation : Operation {
- }
-
- public override async void _undo () throws GLib.Error {
-- return_if_reached ();
-+ throw new IOError.NOT_SUPPORTED ("Undoing a parsing operation is not supported");
- }
- }
---
-GitLab
-
diff --git a/gnome-extra/gnome-contacts/gnome-contacts-45.1.ebuild b/gnome-extra/gnome-contacts/gnome-contacts-47.1.1.ebuild
index 3ccf31fc2576..0aa8f15481f0 100644
--- a/gnome-extra/gnome-contacts/gnome-contacts-45.1.ebuild
+++ b/gnome-extra/gnome-contacts/gnome-contacts-47.1.1.ebuild
@@ -1,17 +1,17 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit gnome.org gnome2-utils meson python-any-r1 vala xdg
DESCRIPTION="GNOME contact management application"
-HOMEPAGE="https://wiki.gnome.org/Design/Apps/Contacts"
+HOMEPAGE="https://apps.gnome.org/Contacts/"
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="+gnome-online-accounts"
VALA_DEPEND="
@@ -20,16 +20,17 @@ VALA_DEPEND="
dev-libs/folks[vala(+)]
gnome-online-accounts? ( net-libs/gnome-online-accounts[vala] )
gnome-extra/evolution-data-server[gtk,vala]
- >=dev-libs/libportal-0.6:=[gtk,vala]
+ >=dev-libs/libportal-0.7:=[gtk,vala]
"
RDEPEND="
>=dev-libs/folks-0.14.0:=[eds]
>=dev-libs/libgee-0.10:0.8=
>=dev-libs/glib-2.64:2
- >=gui-libs/gtk-4.12:4
- >=gui-libs/libadwaita-1.4_alpha:1
+ >=gui-libs/gtk-4.15.3:4
+ >=gui-libs/libadwaita-1.6_alpha:1
>=gnome-extra/evolution-data-server-3.42:=[gnome-online-accounts?]
- >=dev-libs/libportal-0.6:=
+ >=dev-libs/libportal-0.7:=
+ >=media-libs/gstreamer-1
>=media-gfx/qrencode-4.1.1:=
gnome-online-accounts? ( net-libs/gnome-online-accounts:= )
"
@@ -39,17 +40,12 @@ BDEPEND="
${VALA_DEPEND}
app-text/docbook-xml-dtd:4.2
app-text/docbook-xsl-stylesheets
- dev-libs/appstream-glib
dev-libs/libxml2:2
dev-libs/libxslt
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
"
-PATCHES=(
- "${FILESDIR}"/${PV}-clang.patch # Upstream commit a6ad56a6151f29
-)
-
src_prepare() {
default
vala_setup