Compare commits

..

No commits in common. "e2b0a08485d6a32bba423c83e0dbfbd395ef312c" and "d4b4e402698d5ea4434c6c26a588bf3b0560edf7" have entirely different histories.

5 changed files with 27 additions and 89 deletions

View File

@ -1,29 +0,0 @@
From 5565cd0961aaa204599e0af57fd8806a65758c10 Mon Sep 17 00:00:00 2001
From: Niels De Graef <nielsdegraef@gmail.com>
Date: Fri, 14 Oct 2022 08:56:30 +0200
Subject: [PATCH] main-window: Hide the link button
There's definitely something going wrong with linking contacts, as it
forgets any link between app restarts. Since we really don't want to
expose something that's completely broken to our users, hide the button
that allows the linking. It's a shitty workaround for now.
---
data/ui/contacts-main-window.ui | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/ui/contacts-main-window.ui b/data/ui/contacts-main-window.ui
index 3d01bdc7..fd8f0a17 100644
--- a/data/ui/contacts-main-window.ui
+++ b/data/ui/contacts-main-window.ui
@@ -167,7 +167,7 @@
</child>
<child>
<object class="GtkButton" id="link_button">
- <property name="focus_on_click">False</property>
+ <property name="visible">False</property>
<property name="label" translatable="yes" comments="Link refers to the verb, from linking contacts together">Link</property>
<property name="tooltip-text" translatable="yes">Link Selected Contacts Together</property>
<property name="action-name">win.link-marked-contacts</property>
--
GitLab

Binary file not shown.

Binary file not shown.

View File

@ -1,88 +1,55 @@
%global gtk4_version 4.6
Name: gnome-contacts Name: gnome-contacts
Version: 44.0 Version: 3.30.1
Release: 1 Release: 2
Summary: Contacts manager for GNOME Summary: Integrated address book for GNOME
License: GPLv2+ License: GPLv2+
URL: https://wiki.gnome.org/Apps/Contacts URL: https://wiki.gnome.org/Apps/Contacts
Source0: https://download.gnome.org/sources/%{name}/44/%{name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/gnome-contacts/3.30/gnome-contacts-%{version}.tar.xz
BuildRequires: desktop-file-utils docbook-dtds docbook-style-xsl gettext meson vala libappstream-glib
Patch0: 216.patch BuildRequires: libxslt pkgconfig(cheese-gtk) pkgconfig(folks) >= 0.11.4 pkgconfig(folks-eds)
BuildRequires: pkgconfig(folks-telepathy) pkgconfig(gee-0.8) pkgconfig(gnome-desktop-3.0) pkgconfig(goa-1.0)
BuildRequires: desktop-file-utils BuildRequires: pkgconfig(gobject-introspection-1.0) pkgconfig(gtk+-3.0) >= 3.22.0
BuildRequires: docbook-dtds Requires: folks >= 1:0.11.4 gtk3 >= 3.22.0 hicolor-icon-theme
BuildRequires: docbook-style-xsl
BuildRequires: gettext
BuildRequires: meson
BuildRequires: vala
BuildRequires: libappstream-glib
BuildRequires: libxslt
BuildRequires: pkgconfig(folks)
BuildRequires: pkgconfig(folks-eds)
BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(goa-1.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk4) >= %{gtk4_version}
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(libportal-gtk4)
BuildRequires: pkgconfig(libqrencode)
Requires: gtk4%{?_isa} >= %{gtk4_version}
Requires: hicolor-icon-theme
%description %description
%{name} is a standalone contacts manager for GNOME desktop. Contacts is GNOME's integrated address book. It is written in Vala and uses libfolks
(also written in Vala) and Evolution Data Server.
%package_help %package help
Summary: Documentation for gnome-contacts
BuildArch: noarch
Requires: gnome-contacts = %{version}-%{release}
%description help
Documentation for gnome-contacts.
%prep %prep
%autosetup -p1 -n %{name}-%{version} %autosetup -n gnome-contacts-%{version}
%build %build
export VALAFLAGS="-g"
%meson %meson
%meson_build %meson_build
%install %install
%meson_install %meson_install
%find_lang %{name} %find_lang gnome-contacts
%check %check
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/org.gnome.Contacts.appdata.xml appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/org.gnome.Contacts.appdata.xml
desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.Contacts.desktop desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.Contacts.desktop
%files -f %{name}.lang %files -f gnome-contacts.lang
%license COPYING %doc AUTHORS NEWS COPYING
%{_bindir}/gnome-contacts %{_bindir}/gnome-contacts
%{_libexecdir}/gnome-contacts/
%{_libexecdir}/gnome-contacts-search-provider %{_libexecdir}/gnome-contacts-search-provider
%{_datadir}/applications/org.gnome.Contacts.desktop %{_datadir}/applications/org.gnome.Contacts.desktop
%{_datadir}/dbus-1/services/org.gnome.Contacts.service %{_datadir}/dbus-1/services/{org.gnome.Contacts.service,org.gnome.Contacts.SearchProvider.service}
%{_datadir}/dbus-1/services/org.gnome.Contacts.SearchProvider.service
%{_datadir}/glib-2.0/schemas/org.gnome.Contacts.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.Contacts.gschema.xml
%dir %{_datadir}/gnome-shell
%dir %{_datadir}/gnome-shell/search-providers
%{_datadir}/gnome-shell/search-providers/org.gnome.Contacts.search-provider.ini %{_datadir}/gnome-shell/search-providers/org.gnome.Contacts.search-provider.ini
%{_datadir}/icons/hicolor/*/apps/org.gnome.Contacts*.svg %{_datadir}/icons/hicolor/*/apps/org.gnome.Contacts.png
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Contacts-symbolic.svg
%{_datadir}/metainfo/org.gnome.Contacts.appdata.xml %{_datadir}/metainfo/org.gnome.Contacts.appdata.xml
%files help %files help
%doc NEWS
%{_mandir}/man1/gnome-contacts.1* %{_mandir}/man1/gnome-contacts.1*
%changelog %changelog
* Mon Nov 27 2023 lwg <liweiganga@uniontech.com> - 44.0-1
- update to version 44.0
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.0-1
- Update to 43.0
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.0-1
- Update to 42.0
* Wed Jun 16 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.1-1
- Upgrade to 3.38.1
* Wed Dec 11 2019 Ling Yang <lingyang2@huawei.com> - 3.30.1-2 * Wed Dec 11 2019 Ling Yang <lingyang2@huawei.com> - 3.30.1-2
- Package init - Package init

View File

@ -1,4 +1,4 @@
version_control: gitlab.gnome version_control: gitlab.gnome
src_repo: GNOME Contacts src_repo: gnome-contacts
tag_prefix: ^ tag_prefix: ^
separator: . seperator: .