Package Details: stickerpicker-git r100.4c13a2c-1

Git Clone URL: https://aur.archlinux.org/stickerpicker-git.git (read-only, click to copy)
Package Base: stickerpicker-git
Description: Element sticker picker widget
Upstream URL: https://github.com/maunium/stickerpicker
Keywords: matrix
Licenses: AGPL-3.0-or-later
Conflicts: stickerpicker
Provides: stickerpicker
Submitter: xiretza
Maintainer: lapsus
Last Packager: lapsus
Votes: 3
Popularity: 0.31
First Submitted: 2022-05-23 17:52 (UTC)
Last Updated: 2026-05-07 12:37 (UTC)

Latest Comments

30p87 commented on 2026-01-11 18:37 (UTC)

In the patchfile, line 21 needs to end in 'Tuple[matrix.StickerInfo, bytes]:' not in 'matrix.StickerInfo:', as that was changed in the thumbnail fixing commit in March 25.

00ein00 commented on 2025-08-25 11:23 (UTC) (edited on 2025-08-25 12:30 (UTC) by 00ein00)

The build fails in prepare() because the patch 0001-Change-default-dirs-to-point-to-package-directories.patch no longer applies cleanly to the upstream sticker/stickerimport.py (hunk fails). The patch expected two constants to exist:

DEFAULT_CONFIG_FILE = "/etc/webapps/stickerpicker/config.json"
DEFAULT_PACK_DIR = "/var/lib/stickerpicker/packs/"

They’re missing in some upstream versions, so the patch hunk fails.

Some basic instructions to fix:

1. insert the two defaults right after the import line:

awk '1; /from .lib import matrix, util/ { print ""; print "DEFAULT_CONFIG_FILE = \"/etc/webapps/stickerpicker/config.json\""; print "DEFAULT_PACK_DIR = \"/var/lib/stickerpicker/packs/\""; }' \
  src/stickerpicker/sticker/stickerimport.py > /tmp/stickerimport.py && \
  mv /tmp/stickerimport.py src/stickerpicker/sticker/stickerimport.py

2. remove any .rej and build

rm -f src/stickerpicker/sticker/stickerimport.py.rej
updpkgsums
makepkg -sir

This will add the two lines the patch expects and allow makepkg to proceed.