commit: 7d2dc54963d521a41dc1102242b979f89b0879b9 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> AuthorDate: Sat Sep 29 22:51:16 2018 +0000 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> CommitDate: Sun Sep 30 00:08:21 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d2dc549
net-irc/polari: bump to 3.26.2 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11 net-irc/polari/Manifest | 1 + net-irc/polari/files/3.26.2-drag-warning-fix.patch | 38 +++++++++++++++ net-irc/polari/metadata.xml | 1 + net-irc/polari/polari-3.26.2.ebuild | 55 ++++++++++++++++++++++ 4 files changed, 95 insertions(+) diff --git a/net-irc/polari/Manifest b/net-irc/polari/Manifest index bcac65e8a93..f9f20f63154 100644 --- a/net-irc/polari/Manifest +++ b/net-irc/polari/Manifest @@ -1 +1,2 @@ DIST polari-3.24.2.tar.xz 804160 BLAKE2B c0e651d478cf814d1e055ef196ea725a17c50ee4836df7939b73dc59bbea0f74d8dbf6ceebd07b3748b6814fa52ae8a300515ac8f6952f59546e7c27ed35d6da SHA512 23a475d657556e7f4e93dde8e545bf7bede227635d540bd006b85b068923d87e713bd05f14d8ccde458bf6efd4920665bca02ea41c4de870680581ebfa595f0e +DIST polari-3.26.2.tar.xz 1148892 BLAKE2B 3979b261ae34d3d38084717a94f926a259ec0d20f9db0f482e10866bba0b4d1efec2f44bdddd78cd1b409f03df0221d308b8173b21fc33b61fd93bc76eec6b57 SHA512 3939c7da22379acd8b59d860db90fba37cca3dba0422db93747ba4622e574d43992334e13603462725d05ba2f0c1a243655ef7505881649111033abc029a9aaa diff --git a/net-irc/polari/files/3.26.2-drag-warning-fix.patch b/net-irc/polari/files/3.26.2-drag-warning-fix.patch new file mode 100644 index 00000000000..3eceb523b89 --- /dev/null +++ b/net-irc/polari/files/3.26.2-drag-warning-fix.patch @@ -0,0 +1,38 @@ +From e94de3aad89eecac7eaf8236b4c0b2c7919bc70b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuell...@gnome.org> +Date: Fri, 27 Oct 2017 04:19:30 +0200 +Subject: [PATCH] pasteManager: Remove excess arguments + +Our helper method takes less arguments than the GTK+ method it's based +on - remove the excess argument to avoid warnings. + +Fixes https://gitlab.gnome.org/GNOME/polari/issues/14 +--- + src/pasteManager.js | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/pasteManager.js b/src/pasteManager.js +index e39f493..aa321f4 100644 +--- a/src/pasteManager.js ++++ b/src/pasteManager.js +@@ -122,7 +122,7 @@ var DropTargetIface = new Lang.Interface({ + if (!this.can_drop) + return Gdk.EVENT_PROPAGATE; + +- if (!Polari.drag_dest_supports_target(widget, context, null)) ++ if (!Polari.drag_dest_supports_target(widget, context)) + return Gdk.EVENT_PROPAGATE; + + Polari.drag_dest_request_data(widget, context, time); +@@ -138,7 +138,7 @@ var DropTargetIface = new Lang.Interface({ + if (!this.can_drop) + return Gdk.EVENT_PROPAGATE; + +- if (!Polari.drag_dest_supports_target(widget, context, null)) ++ if (!Polari.drag_dest_supports_target(widget, context)) + return Gdk.EVENT_PROPAGATE; + + let info = Polari.drag_dest_find_target(widget, context); +-- +2.17.0 + diff --git a/net-irc/polari/metadata.xml b/net-irc/polari/metadata.xml index 996e7cacd21..09079e5df22 100644 --- a/net-irc/polari/metadata.xml +++ b/net-irc/polari/metadata.xml @@ -5,4 +5,5 @@ <email>gn...@gentoo.org</email> <name>Gentoo GNOME Desktop</name> </maintainer> + <longdescription lang="en">Polari is a simple IRC Client that is designed to integrate seamlessly with GNOME 3</longdescription> </pkgmetadata> diff --git a/net-irc/polari/polari-3.26.2.ebuild b/net-irc/polari/polari-3.26.2.ebuild new file mode 100644 index 00000000000..1ee35718d2a --- /dev/null +++ b/net-irc/polari/polari-3.26.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome.org gnome2-utils meson xdg + +DESCRIPTION="An IRC client for Gnome" +HOMEPAGE="https://wiki.gnome.org/Apps/Polari" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +COMMON_DEPEND=" + >=dev-libs/glib-2.43.4:2 + >=x11-libs/gtk+-3.21.6:3[introspection] + net-libs/telepathy-glib[introspection] + >=dev-libs/gobject-introspection-1.50:= + >=dev-libs/gjs-1.50 + + x11-libs/gdk-pixbuf:2[introspection] + >=app-text/gspell-1.4.0[introspection] + x11-libs/pango[introspection] + app-crypt/libsecret[introspection] + net-libs/libsoup:2.4[introspection] + net-im/telepathy-logger[introspection] +" +RDEPEND="${COMMON_DEPEND} + >=net-irc/telepathy-idle-0.2 +" +DEPEND="${COMMON_DEPEND} + dev-libs/appstream-glib + dev-libs/libxml2:2 + dev-util/itstool + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PV}-drag-warning-fix.patch +) + +pkg_postinst() { + xdg_pkg_postinst + gnome2_icon_cache_update + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_icon_cache_update + gnome2_schemas_update +}