summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Piotr Żołnowski <aidecoe@gentoo.org>2019-03-24 22:07:20 +0000
committerAmadeusz Piotr Żołnowski <aidecoe@gentoo.org>2019-03-24 22:10:27 +0000
commit8b1a498ff7872a284408f58634ccb4a75368935a (patch)
treee51070cd16b3152d2d00b0f93d727e7042058080 /net-im/gajim
parentdev-perl/Gentoo-App-Pram: update DESCRIPTION. (diff)
downloadgentoo-8b1a498ff7872a284408f58634ccb4a75368935a.tar.gz
gentoo-8b1a498ff7872a284408f58634ccb4a75368935a.tar.bz2
gentoo-8b1a498ff7872a284408f58634ccb4a75368935a.zip
net-im/gajim: Bump version
Drop x86-fbsd keyword because new deps are missing those keyword. Bug: https://bugs.gentoo.org/651616 Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
Diffstat (limited to 'net-im/gajim')
-rw-r--r--net-im/gajim/Manifest1
-rw-r--r--net-im/gajim/files/1.0.3-0001-disable-gspell.patch23
-rw-r--r--net-im/gajim/gajim-1.0.3.ebuild84
-rw-r--r--net-im/gajim/metadata.xml12
4 files changed, 120 insertions, 0 deletions
diff --git a/net-im/gajim/Manifest b/net-im/gajim/Manifest
index 7a27b1740ec7..8055cbb9a9da 100644
--- a/net-im/gajim/Manifest
+++ b/net-im/gajim/Manifest
@@ -1,2 +1,3 @@
DIST gajim-0.16.6.tar.bz2 4564505 BLAKE2B 0446d826afc782ceba4fe67d6c7173d60264ec1b5a227f0da62285ea1d083143b4895e4472c2df499de419f9a34c59d9afa1ac2348052defb100438782a3df46 SHA512 6c8c2a38429468a1e6f02aae730ff947c649960e8cc672457c1e1733ab2dad6534b1e5ac2e1c0c385e331a6ba817c6e67c1a27443632b9fd43e7ab76ad66c935
DIST gajim-0.16.9.tar.bz2 4469275 BLAKE2B 451f09cde9d177932429b9ece900e09c58ac43b5f97cd64cf70e75d13f2261ab52ee35e02e8680c83a5d81d7574bca561532dd1327f1109b0cc872956b1a05f7 SHA512 d8ddae3826bbcd4458b016b3cf6b0472b41db4b9026b300b058d9cef403195e38423ff950fcbf6fed0cdbbb485a274905a9a5945028c4cbb24d1a38c72bf4cbb
+DIST gajim-1.0.3.tar.bz2 5964743 BLAKE2B af4bf2206a962eb68c4df09359fa3a0ccaca1e886d4fad67d9839f5fd4c1fd359c7ee7933d39d8c1ae7dcbde6b72548fef3564a467653064d4d37aa1db234c04 SHA512 a6d7f92a22a9dddc8a4b07eda0aae0b6fb4db57c73133ee19937f7e2a2a82c5351051d1f3627c94a44434276ed001b83d375f708f177962125af66cda8579ec8
diff --git a/net-im/gajim/files/1.0.3-0001-disable-gspell.patch b/net-im/gajim/files/1.0.3-0001-disable-gspell.patch
new file mode 100644
index 000000000000..fbffa1123342
--- /dev/null
+++ b/net-im/gajim/files/1.0.3-0001-disable-gspell.patch
@@ -0,0 +1,23 @@
+--- a/gajim/common/app.py 2018-05-16 05:59:40.278703415 +0300
++++ b/gajim/common/app.py 2018-05-16 06:00:14.520423471 +0300
+@@ -265,20 +265,6 @@
+ HAVE_IDLE = False
+
+ HAVE_SPELL = False
+-try:
+- spell_log = logging.getLogger('gajim.speller')
+- gi.require_version('Gspell', '1')
+- from gi.repository import Gspell
+- langs = Gspell.language_get_available()
+- for lang in langs:
+- spell_log.info('%s (%s) dict available',
+- lang.get_name(), lang.get_code())
+- if langs:
+- HAVE_SPELL = True
+- else:
+- spell_log.info('No dicts available')
+-except (ImportError, ValueError):
+- pass
+
+ gajim_identity = {'type': 'pc', 'category': 'client', 'name': 'Gajim'}
+ gajim_common_features = [nbxmpp.NS_BYTESTREAM, nbxmpp.NS_SI, nbxmpp.NS_FILE,
diff --git a/net-im/gajim/gajim-1.0.3.ebuild b/net-im/gajim/gajim-1.0.3.ebuild
new file mode 100644
index 000000000000..5b8cac2d108f
--- /dev/null
+++ b/net-im/gajim/gajim-1.0.3.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{5,6} )
+PYTHON_REQ_USE="sqlite,xml"
+DISTUTILS_SINGLE_IMPL=1
+
+inherit gnome2-utils distutils-r1 versionator xdg-utils
+
+DESCRIPTION="Jabber client written in PyGTK"
+HOMEPAGE="https://www.gajim.org/"
+SRC_URI="https://www.gajim.org/downloads/$(get_version_component_range 1-2)/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+#KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
+KEYWORDS="~amd64 ~x86"
+IUSE="+crypt geolocation jingle keyring networkmanager remote rst +spell upnp
+ +webp"
+
+COMMON_DEPEND="
+ dev-libs/gobject-introspection[cairo,${PYTHON_USEDEP}]
+ >=x11-libs/gtk+-3.22:3[introspection]"
+DEPEND="${COMMON_DEPEND}
+ app-arch/unzip
+ >=dev-util/intltool-0.40.1
+ virtual/pkgconfig
+ >=sys-devel/gettext-0.17-r1"
+RDEPEND="${COMMON_DEPEND}
+ dev-python/idna[${PYTHON_USEDEP}]
+ dev-python/precis-i18n[${PYTHON_USEDEP}]
+ dev-python/pyasn1[${PYTHON_USEDEP}]
+ dev-python/pycairo[${PYTHON_USEDEP}]
+ dev-python/pycurl[${PYTHON_USEDEP}]
+ dev-python/pygobject[cairo,${PYTHON_USEDEP}]
+ >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
+ >=dev-python/python-nbxmpp-0.6.6[${PYTHON_USEDEP}]
+ x11-libs/libXScrnSaver
+ crypt? (
+ dev-python/pycryptodome[${PYTHON_USEDEP}]
+ >=dev-python/python-gnupg-0.4.0[${PYTHON_USEDEP}] )
+ geolocation? ( app-misc/geoclue[introspection] )
+ jingle? (
+ net-libs/farstream:0.2[introspection]
+ media-libs/gstreamer:1.0[introspection]
+ media-libs/gst-plugins-base:1.0[introspection]
+ media-libs/gst-plugins-ugly:1.0
+ )
+ keyring? (
+ app-crypt/libsecret[crypt,introspection]
+ dev-python/keyring[${PYTHON_USEDEP}]
+ )
+ networkmanager? ( net-misc/networkmanager[introspection] )
+ remote? (
+ >=dev-python/dbus-python-1.2.0[${PYTHON_USEDEP}]
+ sys-apps/dbus[X]
+ )
+ rst? ( dev-python/docutils[${PYTHON_USEDEP}] )
+ spell? (
+ app-text/gspell[introspection]
+ app-text/hunspell
+ )
+ upnp? ( net-libs/gupnp-igd[introspection] )
+ webp? ( dev-python/pillow[${PYTHON_USEDEP}] )"
+
+RESTRICT="test"
+
+src_prepare() {
+ default
+
+ use spell || eapply "${FILESDIR}/${PV}-0001-disable-gspell.patch"
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
diff --git a/net-im/gajim/metadata.xml b/net-im/gajim/metadata.xml
index 4ed46fbbf676..007a414c6fa1 100644
--- a/net-im/gajim/metadata.xml
+++ b/net-im/gajim/metadata.xml
@@ -8,6 +8,18 @@
A fully featured and easy to use GTK+ Jabber client written in PyGTK.
</longdescription>
<use>
+ <flag name="crypt">End to end encryption and GPG encryption</flag>
+ <flag name="geolocation">Sharing your location</flag>
+ <flag name="jingle">Audio and video calls</flag>
+ <flag name="keyring">Saving your password to your system keyring</flag>
+ <flag name="networkmanager">Network lose detection using NetworkManager</flag>
+ <flag name="remote">Controling Gajim instance from command line with gajim-remote</flag>
+ <flag name="rst">Generating XHTML output from RST code</flag>
+ <flag name="spell">Spellchecking of composed messages</flag>
+ <flag name="upnp">Ability to request your router to forward port for file transfer</flag>
+ <flag name="webp">Support WebP avatars</flag>
+ <flag name="zeroconf">Serverless chatting with autodetected clients in a local network</flag>
+
<flag name="idle">Enable idle module</flag>
<flag name="srv">SRV capabilities</flag>
<flag name="xhtml">Enable XHTML support</flag>