diff options
Diffstat (limited to 'gnome-extra/gnome-contacts')
6 files changed, 239 insertions, 0 deletions
diff --git a/gnome-extra/gnome-contacts/Manifest b/gnome-extra/gnome-contacts/Manifest new file mode 100644 index 000000000000..264bd10d739c --- /dev/null +++ b/gnome-extra/gnome-contacts/Manifest @@ -0,0 +1,8 @@ +AUX 3.22.1-fix-vala-0.35-part1.patch 884 SHA256 06d2810051d0a50d7b426022d78546d3708a2bdf9acdfc33663cdba20d4b3eeb SHA512 73754d230efe89d3e3273e1d24a69e58e45a8d6e74fce1a41f7a7889aa58189fcc2f5edf36ce2418c43871716634301308f0c211f0f18282cb409d009669bdf2 WHIRLPOOL 957eaee4b99591bbeb4763a7722660ca57e7a4b93473b85f447871eb9339fe5aa65514f80cc9ad2d4f60989bb5f90422685875cfd4021ab9c705597faf341f4b +AUX 3.22.1-fix-vala-0.35-part2.patch 1501 SHA256 36b7065462ce7c352e42f35eb9d701afc1fc7e9479b80ca5568dd82d96a428db SHA512 700772e2c87bfad32e408f20653a20976c0a3b243fd4bc8b6ed61cb9fe34f1b1f572b877aa05e9b9c3854cc444d5d7fc1c26dcd9ac28bf76694eb02c2e31bb4c WHIRLPOOL 7b43c1a4237f8ddb2074dc659fa6f2af7802d5fced2520526e41fca3377ff7c8fb02f495ddd040ea3521f4471f376957829c1673252f6807df25dd3cce834e58 +DIST gnome-contacts-3.22.1.tar.xz 788820 SHA256 e45297fb6f379a978605f7e183201be70dff2912f55072a363bdb1f67d9fe87b SHA512 d93ed6c65ffdabe1925cc795b88ff374fe69e03fcd36af7c2fc67a5236b90ab6af4bd269b6fc3b344fcd6b4688d866628b8b090bb62de95f8bd0c2e40c26a107 WHIRLPOOL a2cb0a70152bbe5b742c57afc865fe44345b3159be40daea68f4d826aea2cc255ac82079b6c5ab47e7ac589b3dedfecfa1946637ada8e5022b7ac88277a3f615 +EBUILD gnome-contacts-3.22.1-r1.ebuild 1842 SHA256 fec15e8bf4c1f8a97087813695aa5dd5783bafd433688a044ba55a5d81f46618 SHA512 2b8c5aac232bab047e0c6a1ad42417163acd82b79e1fb45d996592ea1431eb5f6b0d3e7bb7b040c7e5c337126a6ff21457067c3ed4c9d8d5650035dad3f16045 WHIRLPOOL a7809af41b3ec6e830fbf70373db687fea5b5acfdff5b9e9c943a511cfdac8a09c0f5de886dc1276e08fabc4be7f8893a1b062b6ff55b74268fce209de037981 +EBUILD gnome-contacts-3.22.1.ebuild 1629 SHA256 e5cf96a02b8d05d8dba29140cfff23621b8bd212bfc6e49c2dd205fe5e8f8756 SHA512 17fa5224ea43f39ea97a2936e2cc1e8ac63a9cb90904db43da9c12368c611eaec0a27e9777604ba37fc4defdb92351d99faf8d526d22634cd50ae8d0359897ca WHIRLPOOL ea0e26b735181987ca3cc4147412ae0ea28417454ff146dd75b7c04633f343b849238d4d162cce81deb54a82dbb60f24961fb702f6f3f0f9ecf82fac3f2ea578 +MISC ChangeLog 4525 SHA256 de8f8e6840826b60199640baafe8ca3fe4b4a7e929388af05280255960818de1 SHA512 581a9bb5d0b55136ad6db8bcb0d8338c8df730e4dfc6fcc54832173d947c9f4083c6c2c730632be33d1c12aa677b696b780b1421e03f503d38038d1480c5524b WHIRLPOOL 15492a26b7d56f124ee59ff4d193689c118992e79eddbcad843bc1b6562c31c943ffa0db06f51ac382c9b1c651d12831189734392e17d7c627dd8be50e5275ab +MISC ChangeLog-2015 5358 SHA256 fc3c8cde774a7306dbfcb66ebc2ff221c9d7595e8d49cd1dccc2b776363998fb SHA512 530b670982954be4eaabe7ed202459edb441b058e5be828e87c18b74a0757eb1fadce760dd5798b5d0e557e647038b11d8e053edbbf153be11c5e6d257fa0c82 WHIRLPOOL 92ccfbcefaa621724c76b28fd1f0150e9086e6d977239716dbca714e64e1191a78341dd054ca15ccdf89430641d3d57b4599e085bbd976029835ce28e135b8ed +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 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 000000000000..b9634e6fc041 --- /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 <ricotz@ubuntu.com> +Date: Sat, 1 Oct 2016 14:27:55 +0200 +Subject: [PATCH] Don't restrict RowData.details to the generic type "string" + +This allows AbstractFieldDetails<G> 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<string> 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 000000000000..4cfe861fa509 --- /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 <hello@jeena.net> +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.22.1-r1.ebuild b/gnome-extra/gnome-contacts/gnome-contacts-3.22.1-r1.ebuild new file mode 100644 index 000000000000..2c52f3abc33a --- /dev/null +++ b/gnome-extra/gnome-contacts/gnome-contacts-3.22.1-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2017 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 gnome2 vala + +DESCRIPTION="GNOME contact management application" +HOMEPAGE="https://wiki.gnome.org/Design/Apps/Contacts" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="v4l" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +VALA_DEPEND=" + $(vala_depend) + >=dev-libs/gobject-introspection-0.9.6:= + dev-libs/folks[vala(+)] + gnome-base/gnome-desktop:3=[introspection] + gnome-extra/evolution-data-server[vala] + net-libs/telepathy-glib[vala] +" +# Configure is wrong; it needs cheese-3.5.91, not 3.3.91 +# folks-0.11.4 to avoid build issues with vala-0.36, upstream 7a9001b056b4fb1d00375e7b2adeda9b7cf93c90 +RDEPEND=" + >=dev-libs/folks-0.11.4:=[eds,telepathy] + >=dev-libs/glib-2.37.6:2 + >=dev-libs/libgee-0.10:0.8 + >=gnome-extra/evolution-data-server-3.13.90:=[gnome-online-accounts] + >=gnome-base/gnome-desktop-3.0:3= + media-libs/clutter:1.0 + media-libs/clutter-gtk:1.0 + media-libs/libchamplain:0.12 + net-libs/gnome-online-accounts:= + >=net-libs/telepathy-glib-0.17.5 + >=sci-geosciences/geocode-glib-3.15.3 + x11-libs/cairo:= + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-3.20.0:3 + x11-libs/pango + v4l? ( >=media-video/cheese-3.5.91:= ) +" +DEPEND="${RDEPEND} + ${VALA_DEPEND} + app-text/docbook-xml-dtd:4.2 + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + >=dev-util/intltool-0.40 + >=sys-devel/gettext-0.17 + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PV}-fix-vala-0.35-part1.patch + "${FILESDIR}"/${PV}-fix-vala-0.35-part2.patch +) + +src_prepare() { + # Regenerate the pre-generated C sources, bug #471628 + if ! use v4l; then + touch src/*.vala + fi + + vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --enable-man-pages \ + $(use_with v4l cheese) +} diff --git a/gnome-extra/gnome-contacts/gnome-contacts-3.22.1.ebuild b/gnome-extra/gnome-contacts/gnome-contacts-3.22.1.ebuild new file mode 100644 index 000000000000..d1c0351111fd --- /dev/null +++ b/gnome-extra/gnome-contacts/gnome-contacts-3.22.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2017 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 gnome2 vala + +DESCRIPTION="GNOME contact management application" +HOMEPAGE="https://wiki.gnome.org/Design/Apps/Contacts" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="v4l" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86" + +VALA_DEPEND=" + $(vala_depend) + >=dev-libs/gobject-introspection-0.9.6:= + dev-libs/folks[vala(+)] + gnome-base/gnome-desktop:3=[introspection] + gnome-extra/evolution-data-server[vala] + net-libs/telepathy-glib[vala] +" +# Configure is wrong; it needs cheese-3.5.91, not 3.3.91 +RDEPEND=" + >=dev-libs/folks-0.9.5:=[eds,telepathy] + >=dev-libs/glib-2.37.6:2 + >=dev-libs/libgee-0.10:0.8 + >=gnome-extra/evolution-data-server-3.13.90:=[gnome-online-accounts] + >=gnome-base/gnome-desktop-3.0:3= + media-libs/clutter:1.0 + media-libs/clutter-gtk:1.0 + media-libs/libchamplain:0.12 + net-libs/gnome-online-accounts:= + >=net-libs/telepathy-glib-0.17.5 + >=sci-geosciences/geocode-glib-3.15.3 + x11-libs/cairo:= + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-3.20.0:3 + x11-libs/pango + v4l? ( >=media-video/cheese-3.5.91:= ) +" +DEPEND="${RDEPEND} + ${VALA_DEPEND} + app-text/docbook-xml-dtd:4.2 + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + >=dev-util/intltool-0.40 + >=sys-devel/gettext-0.17 + virtual/pkgconfig +" + +src_prepare() { + # Regenerate the pre-generated C sources, bug #471628 + if ! use v4l; then + touch src/*.vala + fi + + vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --enable-man-pages \ + $(use_with v4l cheese) +} diff --git a/gnome-extra/gnome-contacts/metadata.xml b/gnome-extra/gnome-contacts/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/gnome-extra/gnome-contacts/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata> |