1 |
commit: cb275ae0ac7fdeb6ed8eac7e40fc6684334c9872 |
2 |
Author: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 9 15:55:17 2018 +0000 |
4 |
Commit: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 9 15:55:17 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=cb275ae0 |
7 |
|
8 |
gnome-extra/gnome-contacts: bump |
9 |
|
10 |
Package-Manager: Portage-2.3.23, Repoman-2.3.6 |
11 |
Manifest-Sign-Key: 0x7DF238CF0AA182E1 |
12 |
|
13 |
.../files/3.22.1-fix-vala-0.35-part1.patch | 29 +++++++++ |
14 |
.../files/3.22.1-fix-vala-0.35-part2.patch | 50 ++++++++++++++++ |
15 |
.../gnome-contacts/gnome-contacts-3.26.ebuild | 70 ++++++++++++++++++++++ |
16 |
3 files changed, 149 insertions(+) |
17 |
|
18 |
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 |
19 |
new file mode 100644 |
20 |
index 00000000..b9634e6f |
21 |
--- /dev/null |
22 |
+++ b/gnome-extra/gnome-contacts/files/3.22.1-fix-vala-0.35-part1.patch |
23 |
@@ -0,0 +1,29 @@ |
24 |
+From 2ba6e380dd8a3575bd8f4d4e5d8d3883003e9f54 Mon Sep 17 00:00:00 2001 |
25 |
+From: Rico Tzschichholz <ricotz@××××××.com> |
26 |
+Date: Sat, 1 Oct 2016 14:27:55 +0200 |
27 |
+Subject: [PATCH] Don't restrict RowData.details to the generic type "string" |
28 |
+ |
29 |
+This allows AbstractFieldDetails<G> based values to be assigned, |
30 |
+like PostalAddressFieldDetails. |
31 |
+ |
32 |
+Fixes a build-failure with vala 0.35+ due to stricter type-checking. |
33 |
+--- |
34 |
+ src/contacts-contact-editor.vala | 2 +- |
35 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
36 |
+ |
37 |
+diff --git a/src/contacts-contact-editor.vala b/src/contacts-contact-editor.vala |
38 |
+index 3372f87..3978887 100644 |
39 |
+--- a/src/contacts-contact-editor.vala |
40 |
++++ b/src/contacts-contact-editor.vala |
41 |
+@@ -77,7 +77,7 @@ public class Contacts.ContactEditor : Grid { |
42 |
+ } |
43 |
+ |
44 |
+ struct RowData { |
45 |
+- AbstractFieldDetails<string> details; |
46 |
++ AbstractFieldDetails details; |
47 |
+ } |
48 |
+ |
49 |
+ struct Field { |
50 |
+-- |
51 |
+2.14.1 |
52 |
+ |
53 |
|
54 |
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 |
55 |
new file mode 100644 |
56 |
index 00000000..4cfe861f |
57 |
--- /dev/null |
58 |
+++ b/gnome-extra/gnome-contacts/files/3.22.1-fix-vala-0.35-part2.patch |
59 |
@@ -0,0 +1,50 @@ |
60 |
+From b96b0fc07c49724f252a5cd35f2d028f91529068 Mon Sep 17 00:00:00 2001 |
61 |
+From: Jeena <hello@×××××.net> |
62 |
+Date: Tue, 15 Aug 2017 16:53:05 +0200 |
63 |
+Subject: [PATCH] Drop unnecessary format-string. |
64 |
+ |
65 |
+Code got refactored in 3.25/master but it boils down to dropping this |
66 |
+extra parameter. |
67 |
+--- |
68 |
+ src/contacts-contact-pane.vala | 4 ---- |
69 |
+ 1 file changed, 4 deletions(-) |
70 |
+ |
71 |
+diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala |
72 |
+index 8e100f2..fce832b 100644 |
73 |
+--- a/src/contacts-contact-pane.vala |
74 |
++++ b/src/contacts-contact-pane.vala |
75 |
+@@ -451,7 +451,6 @@ public class Contacts.ContactPane : Notebook { |
76 |
+ DialogFlags.MODAL, |
77 |
+ MessageType.ERROR, |
78 |
+ ButtonsType.OK, |
79 |
+- "%s", |
80 |
+ _("You need to enter some data")); |
81 |
+ dialog.show (); |
82 |
+ dialog.response.connect ( () => { |
83 |
+@@ -463,7 +462,6 @@ public class Contacts.ContactPane : Notebook { |
84 |
+ DialogFlags.MODAL, |
85 |
+ MessageType.ERROR, |
86 |
+ ButtonsType.OK, |
87 |
+- "%s", |
88 |
+ _("No primary addressbook configured")); |
89 |
+ dialog.show (); |
90 |
+ dialog.response.connect ( () => { |
91 |
+@@ -482,7 +480,6 @@ public class Contacts.ContactPane : Notebook { |
92 |
+ DialogFlags.MODAL, |
93 |
+ MessageType.ERROR, |
94 |
+ ButtonsType.OK, |
95 |
+- "%s", |
96 |
+ _("Unable to create new contacts: %s"), e.message); |
97 |
+ } |
98 |
+ |
99 |
+@@ -493,7 +490,6 @@ public class Contacts.ContactPane : Notebook { |
100 |
+ DialogFlags.MODAL, |
101 |
+ MessageType.ERROR, |
102 |
+ ButtonsType.OK, |
103 |
+- "%s", |
104 |
+ _("Unable to find newly created contact")); |
105 |
+ } |
106 |
+ |
107 |
+-- |
108 |
+2.14.1 |
109 |
+ |
110 |
|
111 |
diff --git a/gnome-extra/gnome-contacts/gnome-contacts-3.26.ebuild b/gnome-extra/gnome-contacts/gnome-contacts-3.26.ebuild |
112 |
new file mode 100644 |
113 |
index 00000000..943d7aea |
114 |
--- /dev/null |
115 |
+++ b/gnome-extra/gnome-contacts/gnome-contacts-3.26.ebuild |
116 |
@@ -0,0 +1,70 @@ |
117 |
+# Copyright 1999-2018 Gentoo Foundation |
118 |
+# Distributed under the terms of the GNU General Public License v2 |
119 |
+ |
120 |
+EAPI=6 |
121 |
+VALA_USE_DEPEND="vapigen" |
122 |
+VALA_MIN_API_VERSION="0.24" |
123 |
+ |
124 |
+inherit gnome-meson vala |
125 |
+ |
126 |
+DESCRIPTION="GNOME contact management application" |
127 |
+HOMEPAGE="https://wiki.gnome.org/Design/Apps/Contacts" |
128 |
+ |
129 |
+LICENSE="GPL-2+" |
130 |
+SLOT="0" |
131 |
+IUSE="v4l" |
132 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
133 |
+ |
134 |
+VALA_DEPEND=" |
135 |
+ $(vala_depend) |
136 |
+ >=dev-libs/gobject-introspection-0.9.6:= |
137 |
+ dev-libs/folks[vala(+)] |
138 |
+ gnome-base/gnome-desktop:3=[introspection] |
139 |
+ gnome-extra/evolution-data-server[vala] |
140 |
+ net-libs/telepathy-glib[vala] |
141 |
+" |
142 |
+# Configure is wrong; it needs cheese-3.5.91, not 3.3.91 |
143 |
+# folks-0.11.4 to avoid build issues with vala-0.36, upstream 7a9001b056b4fb1d00375e7b2adeda9b7cf93c90 |
144 |
+RDEPEND=" |
145 |
+ >=dev-libs/folks-0.11.4:=[eds,telepathy] |
146 |
+ >=dev-libs/glib-2.44:2 |
147 |
+ >=dev-libs/libgee-0.10:0.8 |
148 |
+ >=gnome-extra/evolution-data-server-3.13.90:=[gnome-online-accounts] |
149 |
+ >=gnome-base/gnome-desktop-3.0:3= |
150 |
+ media-libs/clutter:1.0 |
151 |
+ media-libs/clutter-gtk:1.0 |
152 |
+ media-libs/libchamplain:0.12 |
153 |
+ net-libs/gnome-online-accounts:=[vala] |
154 |
+ >=net-libs/telepathy-glib-0.22 |
155 |
+ >=sci-geosciences/geocode-glib-3.15.3 |
156 |
+ x11-libs/cairo:= |
157 |
+ x11-libs/gdk-pixbuf:2 |
158 |
+ >=x11-libs/gtk+-3.22:3 |
159 |
+ x11-libs/pango |
160 |
+ v4l? ( >=media-video/cheese-3.5.91:= ) |
161 |
+" |
162 |
+DEPEND="${RDEPEND} |
163 |
+ ${VALA_DEPEND} |
164 |
+ app-text/docbook-xml-dtd:4.2 |
165 |
+ app-text/docbook-xsl-stylesheets |
166 |
+ dev-libs/libxslt |
167 |
+ >=dev-util/intltool-0.40 |
168 |
+ >=sys-devel/gettext-0.17 |
169 |
+ virtual/pkgconfig |
170 |
+" |
171 |
+ |
172 |
+src_prepare() { |
173 |
+ # Regenerate the pre-generated C sources, bug #471628 |
174 |
+ if ! use v4l; then |
175 |
+ touch src/*.vala |
176 |
+ fi |
177 |
+ |
178 |
+ vala_src_prepare |
179 |
+ gnome-meson_src_prepare |
180 |
+} |
181 |
+ |
182 |
+src_configure() { |
183 |
+ gnome-meson_src_configure \ |
184 |
+ -Dwith-manpage=true \ |
185 |
+ $(meson_use v4l with-cheese) |
186 |
+} |