net-irc/polari: bump to 3.26.2
authorMart Raudsepp <leio@gentoo.org>
Sat, 29 Sep 2018 22:51:16 +0000 (01:51 +0300)
committerMart Raudsepp <leio@gentoo.org>
Sun, 30 Sep 2018 00:08:21 +0000 (03:08 +0300)
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

net-irc/polari/Manifest
net-irc/polari/files/3.26.2-drag-warning-fix.patch [new file with mode: 0644]
net-irc/polari/metadata.xml
net-irc/polari/polari-3.26.2.ebuild [new file with mode: 0644]

index bcac65e8a9330065ab3c6a9b9fd91d33af9c6a8b..f9f20f63154dc8fc20658d49bddb6ad2815fb990 100644 (file)
@@ -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 (file)
index 0000000..3eceb52
--- /dev/null
@@ -0,0 +1,38 @@
+From e94de3aad89eecac7eaf8236b4c0b2c7919bc70b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@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
+
index 996e7cacd21795795e19b0662098f7a322c77fca..09079e5df225a0336e8f33d1648dc28cc72acfb4 100644 (file)
@@ -5,4 +5,5 @@
                <email>gnome@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 (file)
index 0000000..1ee3571
--- /dev/null
@@ -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
+}