Package Details: emote 4.0.1-2

Git Clone URL: https://aur.archlinux.org/emote.git (read-only, click to copy)
Package Base: emote
Description: Emoji Picker for Linux written in GTK3
Upstream URL: https://github.com/tom-james-watson/Emote
Keywords: autostart emoji gtk gtk3 picker python
Licenses: GPL3
Submitter: lkrms
Maintainer: lkrms
Last Packager: lkrms
Votes: 31
Popularity: 1.24
First Submitted: 2020-10-09 07:26 (UTC)
Last Updated: 2023-06-24 11:58 (UTC)

Latest Comments

1 2 3 4 Next › Last »

yochananmarqos commented on 2024-01-07 21:44 (UTC)

@lkrms: No idea what's going on with Pipenv here, but upstream uses Meson. Improved PKGBUILD

aljoscha commented on 2023-07-27 10:06 (UTC)

When I try to build the package as is, using makepkg -s -i I get this:

==> Starting package()...
/lib/python3.11/site-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

        ********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        ********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
running install
/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
running install_lib
creating /lib/python3.11/site-packages/emote
error: could not create '/lib/python3.11/site-packages/emote': Permission denied
==> ERROR: A failure occurred in package().
    Aborting...

However, I can fix that with this change:

diff --git a/PKGBUILD b/PKGBUILD
index 3a0f215..e417e59 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -41,7 +41,7 @@ build() {

 package() {
   cd "$srcdir/Emote-$pkgver"
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  pip install . --use-pep517 --root="$pkgdir" --no-deps --no-compile --isolated
   install -Dm 644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
   # Start automatically by default
   install -Dm 644 "$pkgdir/usr/share/applications/emote.desktop" "$pkgdir/etc/xdg/autostart/emote.desktop"

Has anyone else run into that problem? Should the PKGBUILD maybe be changed to this (seemingly) more modern invocation of pip install?

FernandoBasso commented on 2023-07-26 09:52 (UTC)

@ZimbiX

Yep, that works. Thank you.

ZimbiX commented on 2023-07-24 21:38 (UTC) (edited on 2023-07-24 21:45 (UTC) by ZimbiX)

@FernandoBasso See the comment from @vstuart. But commenting out the import is all that's required now.

Upstream issue: https://github.com/tom-james-watson/Emote/issues/95

FernandoBasso commented on 2023-07-24 09:48 (UTC)

I get an error about missing minipango:

  File "/usr/lib/python3.11/site-packages/emote/__init__.py", line 6, in <module>
    import manimpango
ModuleNotFoundError: No module named 'manimpango'

Tried rebuilding and reinstalling, but to no avail. Any ideas?

ipaqmaster commented on 2023-06-24 08:48 (UTC)

All good and no worries! Pretty funny that the emoji reference CSV got too big.

Thanks for your help

lkrms commented on 2023-06-24 08:46 (UTC)

Hi all, so sorry for taking so long to update this one, and for the problems reported after the previous update. (The patched emoji CSV became too big for the AUR, so I updated the PKGBUILD to patch it on the fly, but it looks like that introduced some encoding/locale-related side-effects for some of you, and I just haven't had time to get into it.)

Meanwhile, upstream changes have hopefully fixed the skin tone issues (I'm yet to test properly), so I've removed all but strictly necessary changes from the PKGBUILD and if any of the issues recur, I'll work towards an upstream patch. Please let me know if anything is broken for you!

ipaqmaster commented on 2023-06-22 11:10 (UTC)

Sure but I don't think that justifies a broken AUR package handling things differently.

Aftermath commented on 2023-06-22 11:07 (UTC)

@ipaqmaster Installing it through Flatpack/flathub is the preferred way by upstream anyways.

ipaqmaster commented on 2023-06-22 04:09 (UTC)

  File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 1491: invalid continuation byte

Great package but haven't been able to get it to work for months :(