[gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-contacts/files/, gnome-extra/gnome-contacts/

2019-02-23 Thread Mart Raudsepp
commit: 26ece15b73a470baf807fb43abcc496abd4b143f
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Sat Feb 23 20:13:33 2019 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Feb 23 20:13:33 2019 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=26ece15b

gnome-extra/gnome-contacts: remove 3.26, available in ::gentoo

Also remove long obsolete leftover patch files

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp  gentoo.org>

 .../files/3.22.1-fix-vala-0.35-part1.patch | 29 -
 .../files/3.22.1-fix-vala-0.35-part2.patch | 50 
 .../gnome-contacts/gnome-contacts-3.26.1.ebuild| 68 --
 3 files changed, 147 deletions(-)

diff --git a/gnome-extra/gnome-contacts/files/3.22.1-fix-vala-0.35-part1.patch 
b/gnome-extra/gnome-contacts/files/3.22.1-fix-vala-0.35-part1.patch
deleted file mode 100644
index b9634e6f..
--- a/gnome-extra/gnome-contacts/files/3.22.1-fix-vala-0.35-part1.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 2ba6e380dd8a3575bd8f4d4e5d8d3883003e9f54 Mon Sep 17 00:00:00 2001
-From: Rico Tzschichholz 
-Date: Sat, 1 Oct 2016 14:27:55 +0200
-Subject: [PATCH] Don't restrict RowData.details to the generic type "string"
-
-This allows AbstractFieldDetails based values to be assigned,
-like PostalAddressFieldDetails.
-
-Fixes a build-failure with vala 0.35+ due to stricter type-checking.

- src/contacts-contact-editor.vala | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/contacts-contact-editor.vala 
b/src/contacts-contact-editor.vala
-index 3372f87..3978887 100644
 a/src/contacts-contact-editor.vala
-+++ b/src/contacts-contact-editor.vala
-@@ -77,7 +77,7 @@ public class Contacts.ContactEditor : Grid {
-   }
- 
-   struct RowData {
--AbstractFieldDetails details;
-+AbstractFieldDetails details;
-   }
- 
-   struct Field {
--- 
-2.14.1
-

diff --git a/gnome-extra/gnome-contacts/files/3.22.1-fix-vala-0.35-part2.patch 
b/gnome-extra/gnome-contacts/files/3.22.1-fix-vala-0.35-part2.patch
deleted file mode 100644
index 4cfe861f..
--- a/gnome-extra/gnome-contacts/files/3.22.1-fix-vala-0.35-part2.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From b96b0fc07c49724f252a5cd35f2d028f91529068 Mon Sep 17 00:00:00 2001
-From: Jeena 
-Date: Tue, 15 Aug 2017 16:53:05 +0200
-Subject: [PATCH] Drop unnecessary format-string.
-
-Code got refactored in 3.25/master but it boils down to dropping this
-extra parameter.

- src/contacts-contact-pane.vala | 4 
- 1 file changed, 4 deletions(-)
-
-diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
-index 8e100f2..fce832b 100644
 a/src/contacts-contact-pane.vala
-+++ b/src/contacts-contact-pane.vala
-@@ -451,7 +451,6 @@ public class Contacts.ContactPane : Notebook {
-DialogFlags.MODAL,
-MessageType.ERROR,
-ButtonsType.OK,
--   "%s",
-_("You need to enter some data"));
-   dialog.show ();
-   dialog.response.connect ( () => {
-@@ -463,7 +462,6 @@ public class Contacts.ContactPane : Notebook {
-DialogFlags.MODAL,
-MessageType.ERROR,
-ButtonsType.OK,
--   "%s",
-_("No primary addressbook 
configured"));
-   dialog.show ();
-   dialog.response.connect ( () => {
-@@ -482,7 +480,6 @@ public class Contacts.ContactPane : Notebook {
-   DialogFlags.MODAL,
-   MessageType.ERROR,
-   ButtonsType.OK,
--  "%s",
-   _("Unable to create new contacts: %s"), 
e.message);
- }
- 
-@@ -493,7 +490,6 @@ public class Contacts.ContactPane : Notebook {
-   DialogFlags.MODAL,
-   MessageType.ERROR,
-   ButtonsType.OK,
--  "%s",
-   _("Unable to find newly created 
contact"));
- }
- 
--- 
-2.14.1
-

diff --git a/gnome-extra/gnome-contacts/gnome-contacts-3.26.1.ebuild 
b/gnome-extra/gnome-contacts/gnome-contacts-3.26.1.ebuild
deleted file mode 100644
index 574a20ff..
--- a/gnome-extra/gnome-contacts/gnome-contacts-3.26.1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-VALA_USE_DEPEND="vapigen"
-VALA_MIN_API_VERSION="0.24"
-
-inherit gnome-meson vala
-
-DESCRIPTION="GNOME contact management application"

[gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-contacts/files/, gnome-extra/gnome-contacts/

2018-02-09 Thread Sobhan Mohammadpour
commit: cb275ae0ac7fdeb6ed8eac7e40fc6684334c9872
Author: Sobhan Mohammadpour  gentoo  org>
AuthorDate: Fri Feb  9 15:55:17 2018 +
Commit: Sobhan Mohammadpour  gentoo  org>
CommitDate: Fri Feb  9 15:55:17 2018 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=cb275ae0

gnome-extra/gnome-contacts: bump

Package-Manager: Portage-2.3.23, Repoman-2.3.6
Manifest-Sign-Key: 0x7DF238CF0AA182E1

 .../files/3.22.1-fix-vala-0.35-part1.patch | 29 +
 .../files/3.22.1-fix-vala-0.35-part2.patch | 50 
 .../gnome-contacts/gnome-contacts-3.26.ebuild  | 70 ++
 3 files changed, 149 insertions(+)

diff --git a/gnome-extra/gnome-contacts/files/3.22.1-fix-vala-0.35-part1.patch 
b/gnome-extra/gnome-contacts/files/3.22.1-fix-vala-0.35-part1.patch
new file mode 100644
index ..b9634e6f
--- /dev/null
+++ b/gnome-extra/gnome-contacts/files/3.22.1-fix-vala-0.35-part1.patch
@@ -0,0 +1,29 @@
+From 2ba6e380dd8a3575bd8f4d4e5d8d3883003e9f54 Mon Sep 17 00:00:00 2001
+From: Rico Tzschichholz 
+Date: Sat, 1 Oct 2016 14:27:55 +0200
+Subject: [PATCH] Don't restrict RowData.details to the generic type "string"
+
+This allows AbstractFieldDetails based values to be assigned,
+like PostalAddressFieldDetails.
+
+Fixes a build-failure with vala 0.35+ due to stricter type-checking.
+---
+ src/contacts-contact-editor.vala | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/contacts-contact-editor.vala 
b/src/contacts-contact-editor.vala
+index 3372f87..3978887 100644
+--- a/src/contacts-contact-editor.vala
 b/src/contacts-contact-editor.vala
+@@ -77,7 +77,7 @@ public class Contacts.ContactEditor : Grid {
+   }
+ 
+   struct RowData {
+-AbstractFieldDetails details;
++AbstractFieldDetails details;
+   }
+ 
+   struct Field {
+-- 
+2.14.1
+

diff --git a/gnome-extra/gnome-contacts/files/3.22.1-fix-vala-0.35-part2.patch 
b/gnome-extra/gnome-contacts/files/3.22.1-fix-vala-0.35-part2.patch
new file mode 100644
index ..4cfe861f
--- /dev/null
+++ b/gnome-extra/gnome-contacts/files/3.22.1-fix-vala-0.35-part2.patch
@@ -0,0 +1,50 @@
+From b96b0fc07c49724f252a5cd35f2d028f91529068 Mon Sep 17 00:00:00 2001
+From: Jeena 
+Date: Tue, 15 Aug 2017 16:53:05 +0200
+Subject: [PATCH] Drop unnecessary format-string.
+
+Code got refactored in 3.25/master but it boils down to dropping this
+extra parameter.
+---
+ src/contacts-contact-pane.vala | 4 
+ 1 file changed, 4 deletions(-)
+
+diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
+index 8e100f2..fce832b 100644
+--- a/src/contacts-contact-pane.vala
 b/src/contacts-contact-pane.vala
+@@ -451,7 +451,6 @@ public class Contacts.ContactPane : Notebook {
+DialogFlags.MODAL,
+MessageType.ERROR,
+ButtonsType.OK,
+-   "%s",
+_("You need to enter some data"));
+   dialog.show ();
+   dialog.response.connect ( () => {
+@@ -463,7 +462,6 @@ public class Contacts.ContactPane : Notebook {
+DialogFlags.MODAL,
+MessageType.ERROR,
+ButtonsType.OK,
+-   "%s",
+_("No primary addressbook 
configured"));
+   dialog.show ();
+   dialog.response.connect ( () => {
+@@ -482,7 +480,6 @@ public class Contacts.ContactPane : Notebook {
+   DialogFlags.MODAL,
+   MessageType.ERROR,
+   ButtonsType.OK,
+-  "%s",
+   _("Unable to create new contacts: %s"), 
e.message);
+ }
+ 
+@@ -493,7 +490,6 @@ public class Contacts.ContactPane : Notebook {
+   DialogFlags.MODAL,
+   MessageType.ERROR,
+   ButtonsType.OK,
+-  "%s",
+   _("Unable to find newly created 
contact"));
+ }
+ 
+-- 
+2.14.1
+

diff --git a/gnome-extra/gnome-contacts/gnome-contacts-3.26.ebuild 
b/gnome-extra/gnome-contacts/gnome-contacts-3.26.ebuild
new file mode 100644
index ..943d7aea
--- /dev/null
+++ b/gnome-extra/gnome-contacts/gnome-contacts-3.26.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+VALA_USE_DEPEND="vapigen"
+VALA_MIN_API_VERSION="0.24"
+
+inherit gnome-meson vala
+
+DESCRIPTION="GNOME contact management application"
+HOMEPAGE="https://wiki.gnome.org/Design/Apps/Contacts;
+