Package Details: emote 4.1.0-1

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: 32
Popularity: 0.96
First Submitted: 2020-10-09 07:26 (UTC)
Last Updated: 2024-05-17 01:40 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

Rhinoceros commented on 2024-07-14 04:24 (UTC)

In addition to my (ignored) comment from a month ago, this package should also not depend on xdotool. There are many users who are no longer using X11.

ZimbiX commented on 2024-07-02 06:57 (UTC)

Due to inaction on https://github.com/tom-james-watson/Emote/issues/95, and several people running into it (e.g. nonZero), it seems fair to address it here in the AUR package. This patch fixes the issue for me:

diff --git a/PKGBUILD b/PKGBUILD
index 5d53583..79be384 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -32,6 +32,9 @@ prepare() {
   rootdir=${rootdir//\\/\\\\}
   rootdir=${rootdir//\//\\\/}
   sed -Ei "s/([^/])(static\\/)/\\1${rootdir}\\/\\2/" "$srcdir/Emote-$pkgver"/emote/*.py
+
+  # Remove unused manimpango which causes an error: 'ModuleNotFoundError: No module named 'manimpango''
+  sed -Ei 's/^import manimpango$//' "$srcdir/Emote-$pkgver"/emote/__init__.py
 }

 build() {

Rhinoceros commented on 2024-06-19 12:09 (UTC)

This package should optdepends on wl-clipboard for Wayland support as per the code here.

ardency commented on 2024-06-08 18:40 (UTC)

If you are having issues with slow load time, and emoji search hanging on a single character (when typing 'too slowly'), I resolved this problem by finding and removing orphaned, duplicate fonts in /usr/share/fonts/noto-color-emoji/. (The noto-fonts-emoji package presently installs to /usr/share/fonts/noto/. Do a system search with mlocate for NotoColorEmoji.ttf.)

mpsijm commented on 2024-05-13 17:30 (UTC) (edited on 2024-05-13 17:32 (UTC) by mpsijm)

@nonZero Since Python 3.12 is live in Arch's core repo, you'll have to rebuild any AUR packages depending on Python. For different strategies to do so, see https://www.reddit.com/r/archlinux/comments/1ceq621/python_update_to_312_a_reminder/

To specifically only rebuild this dependency of emote, you can run paru -S --asdeps --rebuild python-manimpango.

nonZero commented on 2024-05-13 13:09 (UTC)

emote does not launch:

$ emote

Traceback (most recent call last):
  File "/usr/bin/emote", line 33, in <module>
    sys.exit(load_entry_point('Emote==0.0.0', 'gui_scripts', 'emote')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/emote", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3.12/site-packages/emote/__init__.py", line 6, in <module>
    import manimpango
ModuleNotFoundError: No module named 'manimpango'

vstuart commented on 2024-05-01 02:47 (UTC)

Error [solution]: No package metadata was found for Emote #153

https://github.com/tom-james-watson/Emote/issues/153

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.