diff --git a/net-im/gajim/Manifest b/net-im/gajim/Manifest index eb2511f..e9679e1 100644 --- a/net-im/gajim/Manifest +++ b/net-im/gajim/Manifest @@ -1,4 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX disable-gspell-1.10.patch 679 BLAKE2B 1839fbb18127f155060895ffab92d2aa1b4fcab1fcf70c63fa19f729d34f92f47bfb2edfbf26c493ae11ed37817d3981d51996a1901ce8f8298163ebedf0e214 SHA512 cecfb65f055cb5fa7045ccce54fa919fe7051e593b475067ee1de201cc356bbaefd5d646e60feaa2ead83d1d36a9812565bbabc267d14c3df278613f52197910 AUX disable-gspell.patch 798 BLAKE2B 2d5c3d413f078e171e0e7cfc144731302e137c53b7b52cfac3aeb92fc8eb399f8865d25b89c589c1e017a43c4903ed11b1bc3f24f1001b538513a5096e6d29ff SHA512 6dfbbe82517c73412512916480bca049588728cac92099a418b1a2be47480131032cb7536cf67896e8511232d4ce1a9576406326bd237b4ae1f799ffc3a2c83c DIST gajim-1.0.3.tar.bz2 5964743 BLAKE2B af4bf2206a962eb68c4df09359fa3a0ccaca1e886d4fad67d9839f5fd4c1fd359c7ee7933d39d8c1ae7dcbde6b72548fef3564a467653064d4d37aa1db234c04 SHA512 a6d7f92a22a9dddc8a4b07eda0aae0b6fb4db57c73133ee19937f7e2a2a82c5351051d1f3627c94a44434276ed001b83d375f708f177962125af66cda8579ec8 +DIST gajim-1.1.0.tar.bz2 8002680 BLAKE2B 651a08ee03db3ea0eeb19f8ea1b4663f103431a1b0a08ede37cd1cb7fa159d41c29450156fbab26091026985a518bcdbccc1fd21fa08fc173dd68b1c44d3f088 SHA512 47b18de111643eba382255e7c2d195b41f30bf15957cd27939ebd44eade7af1b9ebe50c30ca10f33ca36e879d309fc414369fd8ba2c725c336f38a3a0f88ba7c EBUILD gajim-1.0.3-r3.ebuild 2521 BLAKE2B 9026005e8fd95052c2612548d537eaab6c7edecd7b4ae09645e94b0fdff028d0b4b9e59474dcb37246e531d2aa041d43803de1db2084378b89a00469615dccdb SHA512 b74aa3883d92d3f4e1ed0904c78cb84ead2075bb0686ff8c60d63a7813f2739569c3f6db0c4eacb6fe0a464777bab51590336b5ec8be14f303c9f4e657c6638b +EBUILD gajim-1.1.0.ebuild 2700 BLAKE2B f9ef300f5d2e61ac1fb971033329f46fe4e5a67f349be1786d888fefe7dbbc649ca59659e5651dc28048b16f40b73d2b7393c497c7383f8929feb70237e78c4f SHA512 2aca4443256e52766f0cef35d785c49262f7ad8b37eefe7cd4219f4463d96416685d324b5d00a0680c1d820e741afd715e0badc481669e38cac956d5a3d6f11c MISC metadata.xml 807 BLAKE2B 1fd3f760c7dbc30a7396142f2fb2abe8fb896757a1b36cb9fb77db41ba9f825d5ea72bd1f7038a888738f81d4cf09a0fc8cb818dd769b34f1c76b573d200cfff SHA512 d7f93ff96e63bba7ef947bfc69019cad0b22fd2b2c0b65cbe4653a632759bf52849f46ec0c082bbb49a8dc32211c5c89ba800837c53f0642970b83002cb32787 +-----BEGIN PGP SIGNATURE----- + +iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCW+IeMgAKCRDPw5SX8bJu +B6hjAQCD9MwaLPFZkGyzmLp2bDiFYgSwi98x2DQayvd7/vq8UAD+KO4184I43iiG +2YO7kY7hLVLuiEPhOuJKKqKucNtm04Q= +=xpGQ +-----END PGP SIGNATURE----- diff --git a/net-im/gajim/files/disable-gspell-1.10.patch b/net-im/gajim/files/disable-gspell-1.10.patch new file mode 100644 index 0000000..45c16a1 --- /dev/null +++ b/net-im/gajim/files/disable-gspell-1.10.patch @@ -0,0 +1,21 @@ +--- a/gajim/common/app.py 2018-11-06 23:57:20.088079001 +0100 ++++ a/gajim/common/app.py 2018-11-06 23:58:36.638834033 +0100 +@@ -299,17 +299,7 @@ + pass + + # GSPELL +- try: +- gi.require_version('Gspell', '1') +- from gi.repository import Gspell +- langs = Gspell.language_get_available() +- for lang in langs: +- log('gajim').info('%s (%s) dict available', +- lang.get_name(), lang.get_code()) +- if langs: +- _dependencies['GSPELL'] = True +- except (ImportError, ValueError): +- pass ++ # [REMOVED BY EBUILD] + + # Print results + for dep, val in _dependencies.items(): diff --git a/net-im/gajim/gajim-1.1.0.ebuild b/net-im/gajim/gajim-1.1.0.ebuild new file mode 100644 index 0000000..7a489fb --- /dev/null +++ b/net-im/gajim/gajim-1.1.0.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2018 Gentoo Authors +# 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 eapi7-ver xdg-utils + +DESCRIPTION="Jabber client written in PyGTK" +HOMEPAGE="https://www.gajim.org/" +SRC_URI="https://www.gajim.org/downloads/$(ver_rs 1-2)/${P}.tar.bz2" +#https://ftp.gajim.org/plugins_1/plugin_installer.zip -> ${P}-plugin_installer.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gpg +crypt remote idle jingle keyring networkmanager upnp geoclue spell +webp rst omemo" + +COMMON_DEPEND=" + dev-libs/gobject-introspection[cairo,${PYTHON_USEDEP}] + x11-libs/gtk+: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/pyasn1[${PYTHON_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + >=dev-python/python-nbxmpp-0.6.8[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + >=dev-python/cssutils-1.0.2[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/precis_i18n[${PYTHON_USEDEP}] + dev-python/pycurl[${PYTHON_USEDEP}] + crypt? ( dev-python/pycryptodome[${PYTHON_USEDEP}] ) + gpg? ( >=dev-python/python-gnupg-0.4.0[${PYTHON_USEDEP}] ) + idle? ( x11-libs/libXScrnSaver ) + remote? ( + >=dev-python/dbus-python-1.2.0[${PYTHON_USEDEP}] + dev-libs/dbus-glib + ) + rst? ( dev-python/docutils[${PYTHON_USEDEP}] ) + keyring? ( dev-python/keyring[${PYTHON_USEDEP}] ) + 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 + ) + networkmanager? ( net-misc/networkmanager[introspection] ) + upnp? ( net-libs/gupnp-igd[introspection] ) + geoclue? ( app-misc/geoclue[introspection] ) + spell? ( + app-text/gspell[introspection] + app-text/hunspell + ) + omemo? ( + dev-python/python-axolotl[${PYTHON_USEDEP}] + dev-python/qrcode[${PYTHON_USEDEP}] + ) + webp? ( dev-python/pillow[${PYTHON_USEDEP}] ) +" + +RESTRICT="test" + +src_prepare() { + default + + use spell || eapply "${FILESDIR}/disable-gspell-1.10.patch" +} + +python_install_all() { + distutils-r1_python_install_all + + # Gajims build script compresses the man pages. Gentoo would like to + # compress them itself. + gunzip ${D}/usr/share/man/man1/gajim.1.gz + gunzip ${D}/usr/share/man/man1/gajim-history-manager.1.gz + use remote && gunzip ${D}/usr/share/man/man1/gajim-remote.1.gz +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +}