Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/polari/, net-irc/polari/files/
Date: Sun, 30 Sep 2018 00:19:31
Message-Id: 1538266101.7d2dc54963d521a41dc1102242b979f89b0879b9.leio@gentoo
1 commit: 7d2dc54963d521a41dc1102242b979f89b0879b9
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 29 22:51:16 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 30 00:08:21 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d2dc549
7
8 net-irc/polari: bump to 3.26.2
9
10 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
11 Package-Manager: Portage-2.3.49, Repoman-2.3.11
12
13 net-irc/polari/Manifest | 1 +
14 net-irc/polari/files/3.26.2-drag-warning-fix.patch | 38 +++++++++++++++
15 net-irc/polari/metadata.xml | 1 +
16 net-irc/polari/polari-3.26.2.ebuild | 55 ++++++++++++++++++++++
17 4 files changed, 95 insertions(+)
18
19 diff --git a/net-irc/polari/Manifest b/net-irc/polari/Manifest
20 index bcac65e8a93..f9f20f63154 100644
21 --- a/net-irc/polari/Manifest
22 +++ b/net-irc/polari/Manifest
23 @@ -1 +1,2 @@
24 DIST polari-3.24.2.tar.xz 804160 BLAKE2B c0e651d478cf814d1e055ef196ea725a17c50ee4836df7939b73dc59bbea0f74d8dbf6ceebd07b3748b6814fa52ae8a300515ac8f6952f59546e7c27ed35d6da SHA512 23a475d657556e7f4e93dde8e545bf7bede227635d540bd006b85b068923d87e713bd05f14d8ccde458bf6efd4920665bca02ea41c4de870680581ebfa595f0e
25 +DIST polari-3.26.2.tar.xz 1148892 BLAKE2B 3979b261ae34d3d38084717a94f926a259ec0d20f9db0f482e10866bba0b4d1efec2f44bdddd78cd1b409f03df0221d308b8173b21fc33b61fd93bc76eec6b57 SHA512 3939c7da22379acd8b59d860db90fba37cca3dba0422db93747ba4622e574d43992334e13603462725d05ba2f0c1a243655ef7505881649111033abc029a9aaa
26
27 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
28 new file mode 100644
29 index 00000000000..3eceb523b89
30 --- /dev/null
31 +++ b/net-irc/polari/files/3.26.2-drag-warning-fix.patch
32 @@ -0,0 +1,38 @@
33 +From e94de3aad89eecac7eaf8236b4c0b2c7919bc70b Mon Sep 17 00:00:00 2001
34 +From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@×××××.org>
35 +Date: Fri, 27 Oct 2017 04:19:30 +0200
36 +Subject: [PATCH] pasteManager: Remove excess arguments
37 +
38 +Our helper method takes less arguments than the GTK+ method it's based
39 +on - remove the excess argument to avoid warnings.
40 +
41 +Fixes https://gitlab.gnome.org/GNOME/polari/issues/14
42 +---
43 + src/pasteManager.js | 4 ++--
44 + 1 file changed, 2 insertions(+), 2 deletions(-)
45 +
46 +diff --git a/src/pasteManager.js b/src/pasteManager.js
47 +index e39f493..aa321f4 100644
48 +--- a/src/pasteManager.js
49 ++++ b/src/pasteManager.js
50 +@@ -122,7 +122,7 @@ var DropTargetIface = new Lang.Interface({
51 + if (!this.can_drop)
52 + return Gdk.EVENT_PROPAGATE;
53 +
54 +- if (!Polari.drag_dest_supports_target(widget, context, null))
55 ++ if (!Polari.drag_dest_supports_target(widget, context))
56 + return Gdk.EVENT_PROPAGATE;
57 +
58 + Polari.drag_dest_request_data(widget, context, time);
59 +@@ -138,7 +138,7 @@ var DropTargetIface = new Lang.Interface({
60 + if (!this.can_drop)
61 + return Gdk.EVENT_PROPAGATE;
62 +
63 +- if (!Polari.drag_dest_supports_target(widget, context, null))
64 ++ if (!Polari.drag_dest_supports_target(widget, context))
65 + return Gdk.EVENT_PROPAGATE;
66 +
67 + let info = Polari.drag_dest_find_target(widget, context);
68 +--
69 +2.17.0
70 +
71
72 diff --git a/net-irc/polari/metadata.xml b/net-irc/polari/metadata.xml
73 index 996e7cacd21..09079e5df22 100644
74 --- a/net-irc/polari/metadata.xml
75 +++ b/net-irc/polari/metadata.xml
76 @@ -5,4 +5,5 @@
77 <email>gnome@g.o</email>
78 <name>Gentoo GNOME Desktop</name>
79 </maintainer>
80 + <longdescription lang="en">Polari is a simple IRC Client that is designed to integrate seamlessly with GNOME 3</longdescription>
81 </pkgmetadata>
82
83 diff --git a/net-irc/polari/polari-3.26.2.ebuild b/net-irc/polari/polari-3.26.2.ebuild
84 new file mode 100644
85 index 00000000000..1ee35718d2a
86 --- /dev/null
87 +++ b/net-irc/polari/polari-3.26.2.ebuild
88 @@ -0,0 +1,55 @@
89 +# Copyright 1999-2018 Gentoo Authors
90 +# Distributed under the terms of the GNU General Public License v2
91 +
92 +EAPI=6
93 +
94 +inherit gnome.org gnome2-utils meson xdg
95 +
96 +DESCRIPTION="An IRC client for Gnome"
97 +HOMEPAGE="https://wiki.gnome.org/Apps/Polari"
98 +
99 +LICENSE="GPL-2+"
100 +SLOT="0"
101 +KEYWORDS="~amd64 ~arm ~x86"
102 +IUSE=""
103 +
104 +COMMON_DEPEND="
105 + >=dev-libs/glib-2.43.4:2
106 + >=x11-libs/gtk+-3.21.6:3[introspection]
107 + net-libs/telepathy-glib[introspection]
108 + >=dev-libs/gobject-introspection-1.50:=
109 + >=dev-libs/gjs-1.50
110 +
111 + x11-libs/gdk-pixbuf:2[introspection]
112 + >=app-text/gspell-1.4.0[introspection]
113 + x11-libs/pango[introspection]
114 + app-crypt/libsecret[introspection]
115 + net-libs/libsoup:2.4[introspection]
116 + net-im/telepathy-logger[introspection]
117 +"
118 +RDEPEND="${COMMON_DEPEND}
119 + >=net-irc/telepathy-idle-0.2
120 +"
121 +DEPEND="${COMMON_DEPEND}
122 + dev-libs/appstream-glib
123 + dev-libs/libxml2:2
124 + dev-util/itstool
125 + >=sys-devel/gettext-0.19.8
126 + virtual/pkgconfig
127 +"
128 +
129 +PATCHES=(
130 + "${FILESDIR}"/${PV}-drag-warning-fix.patch
131 +)
132 +
133 +pkg_postinst() {
134 + xdg_pkg_postinst
135 + gnome2_icon_cache_update
136 + gnome2_schemas_update
137 +}
138 +
139 +pkg_postrm() {
140 + xdg_pkg_postrm
141 + gnome2_icon_cache_update
142 + gnome2_schemas_update
143 +}