diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-17 19:13:38 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-17 19:13:38 +0000 |
| commit | c8dcb274f379713bdd93a32b91c9c3e5310ea5c8 (patch) | |
| tree | 8d6725af04672951d3f39c188441a4127f4c4d3f /gnome-extra | |
| parent | ca125481edd74de829bb375eebaa362b99ad85ca (diff) | |
| download | baldeagleos-repo-c8dcb274f379713bdd93a32b91c9c3e5310ea5c8.tar.gz baldeagleos-repo-c8dcb274f379713bdd93a32b91c9c3e5310ea5c8.tar.xz baldeagleos-repo-c8dcb274f379713bdd93a32b91c9c3e5310ea5c8.zip | |
Adding metadata
Diffstat (limited to 'gnome-extra')
| -rw-r--r-- | gnome-extra/gnome-contacts/files/gnome-contacts-49.0-eds-3.60-vcard-export-api.patch | 53 | ||||
| -rw-r--r-- | gnome-extra/gnome-contacts/gnome-contacts-49.0-r1.ebuild (renamed from gnome-extra/gnome-contacts/gnome-contacts-49.0.ebuild) | 4 | ||||
| -rw-r--r-- | gnome-extra/gnome-contacts/gnome-contacts-49.0-r2.ebuild | 78 |
3 files changed, 133 insertions, 2 deletions
diff --git a/gnome-extra/gnome-contacts/files/gnome-contacts-49.0-eds-3.60-vcard-export-api.patch b/gnome-extra/gnome-contacts/files/gnome-contacts-49.0-eds-3.60-vcard-export-api.patch new file mode 100644 index 000000000000..8962e345e0c4 --- /dev/null +++ b/gnome-extra/gnome-contacts/files/gnome-contacts-49.0-eds-3.60-vcard-export-api.patch @@ -0,0 +1,53 @@ +From 657ea415798add52716a9131b1d4727dfce13b20 Mon Sep 17 00:00:00 2001 +From: Lukas Schmelting <lschmelting@posteo.com> +Date: Thu, 16 Apr 2026 21:04:15 +0200 +Subject: [PATCH] gnome-contacts-49.0: align with eds-3.60 vCard export + +gnome-contacts-49.0 was written against the evolution-data-server-3.58 +vCard export surface. In 3.60, evolution-data-server changed that public +API (version type naming and how callers request a specific vCard +version for export). + +Building gnome-contacts against newer evolution-data-server therefore +fails in Vala until Contacts is updated for that API. This patch enables +building gnome-contacts-49.0 against evolution-data-server-3.60+. + +Signed-off-by: Lukas Schmelting <lschmelting@posteo.com> +--- + src/io/contacts-io-vcard-export-operation.vala | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/io/contacts-io-vcard-export-operation.vala b/src/io/contacts-io-vcard-export-operation.vala +index 74ed657..0e08faf 100644 +--- a/src/io/contacts-io-vcard-export-operation.vala ++++ b/src/io/contacts-io-vcard-export-operation.vala +@@ -16,7 +16,7 @@ public class Contacts.Io.VCardExportOperation : ExportOperation { + + // We _could_ parameterize this with our own enum, but there's no need for + // that at the moment. +- private E.VCardFormat vcard_format = E.VCardFormat.@30; ++ private E.VCardVersion vcard_format = E.VCardVersion.@30; + + // This should always be on false, except for debugging/troubleshooting + // purposes. It forces E-D-S personas to use our manual serialization instead +@@ -53,7 +53,7 @@ public class Contacts.Io.VCardExportOperation : ExportOperation { + // that's an E.VCard already + if (persona is Edsf.Persona && !avoid_eds) { + unowned var contact = ((Edsf.Persona) persona).contact; +- return contact.to_string (this.vcard_format); ++ return contact.convert_to_string (this.vcard_format); + } + + var vcard = new E.VCard (); +@@ -104,7 +104,7 @@ public class Contacts.Io.VCardExportOperation : ExportOperation { + vcard_set_webservice_details (vcard, (WebServiceDetails) persona); + */ + +- return vcard.to_string (this.vcard_format); ++ return vcard.convert_to_string (this.vcard_format); + } + + private void vcard_set_avatar_details (E.VCard vcard, +-- +2.52.0 + diff --git a/gnome-extra/gnome-contacts/gnome-contacts-49.0.ebuild b/gnome-extra/gnome-contacts/gnome-contacts-49.0-r1.ebuild index c66e928de99c..315134697988 100644 --- a/gnome-extra/gnome-contacts/gnome-contacts-49.0.ebuild +++ b/gnome-extra/gnome-contacts/gnome-contacts-49.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,7 +19,7 @@ VALA_DEPEND=" >=dev-libs/gobject-introspection-1.82.0-r2 dev-libs/folks[vala(+)] gnome-online-accounts? ( net-libs/gnome-online-accounts[vala] ) - gnome-extra/evolution-data-server[gtk,vala] + <gnome-extra/evolution-data-server-3.60[gtk,vala] >=dev-libs/libportal-0.7:=[gtk,vala] " RDEPEND=" diff --git a/gnome-extra/gnome-contacts/gnome-contacts-49.0-r2.ebuild b/gnome-extra/gnome-contacts/gnome-contacts-49.0-r2.ebuild new file mode 100644 index 000000000000..caa04688d92d --- /dev/null +++ b/gnome-extra/gnome-contacts/gnome-contacts-49.0-r2.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..14} ) + +inherit gnome.org gnome2-utils meson python-any-r1 vala xdg + +DESCRIPTION="GNOME contact management application" +HOMEPAGE="https://apps.gnome.org/Contacts/" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="+gnome-online-accounts" + +PATCHES=( + "${FILESDIR}"/gnome-contacts-49.0-eds-3.60-vcard-export-api.patch +) + +VALA_DEPEND=" + $(vala_depend) + >=dev-libs/gobject-introspection-1.82.0-r2 + dev-libs/folks[vala(+)] + gnome-online-accounts? ( net-libs/gnome-online-accounts[vala] ) + gnome-extra/evolution-data-server[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.15.3:4 + >=gui-libs/libadwaita-1.8_alpha:1 + >=gnome-extra/evolution-data-server-3.60:=[gnome-online-accounts?] + >=dev-libs/libportal-0.7:= + >=media-libs/gstreamer-1 + >=media-gfx/qrencode-4.1.1:= + gnome-online-accounts? ( net-libs/gnome-online-accounts:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + ${VALA_DEPEND} + dev-util/blueprint-compiler + app-text/docbook-xml-dtd:4.2 + app-text/docbook-xsl-stylesheets + dev-libs/libxml2:2 + dev-libs/libxslt + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +src_prepare() { + default + vala_setup + xdg_environment_reset +} + +src_configure() { + local emesonargs=( + -Dcamera=true # Ignored + -Dmanpage=true + -Ddocs=false + $(meson_use gnome-online-accounts goa) + ) + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} |
