Package Details: fluffychat-git rc1.20.0.2.r74.g8da714b0-1

Git Clone URL: https://aur.archlinux.org/fluffychat-git.git (read-only, click to copy)
Package Base: fluffychat-git
Description: Open. Nonprofit. Cute. Easy to use (matrix) messenger. Secure and decentralized.
Upstream URL: https://fluffychat.im/
Keywords: matrix
Licenses: AGPL3
Conflicts: fluffychat
Provides: fluffychat
Submitter: garionion
Maintainer: garionion (WithTheBraid)
Last Packager: WithTheBraid
Votes: 1
Popularity: 0.000000
First Submitted: 2021-01-17 11:27 (UTC)
Last Updated: 2024-05-24 13:47 (UTC)

Latest Comments

1 2 Next › Last »

dreieck commented on 2022-07-27 16:04 (UTC)

prepare() seems to interact with directories outside of $srcdir and $pkgdir, which it should not and results in failure:

==> Starting prepare()...
fatal: detected dubious ownership in repository at '/opt/flutter'
To add an exception for this directory, call:

    git config --global --add safe.directory /opt/flutter
rm: cannot remove '/opt/flutter/version': Permission denied
==> ERROR: A failure occurred in prepare().

Can this be fixed?

whoami commented on 2022-02-10 08:10 (UTC) (edited on 2022-02-10 08:10 (UTC) by whoami)

I think that disabling anonymous statistics (--no-analytics) is a bad thing. If you feel the same way, you can change PKGBUILD on the fly, with AUR-helper paru. it has a PreBuildCommand option, and you can use customizepkg in it:

# /etc/paru.conf
[bin]
PreBuildCommand = customizepkg --modify

Example configuration for customizepkg:

# /etc/customizepkg.d/fluffychat-git
remove#global#flutter config --no-analytics

dreieck commented on 2022-01-29 10:25 (UTC)

P.S.: I noticed that that (stripping the letters at the beginning of the versionnumber) does also not really help, because then it would be 1.2.0 &lt 1.2.0.2. I have no quick idea on how to make it properly.

dreieck commented on 2022-01-28 22:51 (UTC)

$pkgver changed from rc1.2.0.2[...] to v1.2.0[...].

While this is a monotoneous increase (v > r), it seems "brittle" because when upstream changes git tags again to e.g. rc1.3.0.1, then that would be considered as an older version compared to v1.2.0 by the pacman logic, and upgrades might be skipped.

So I suggest to change the versioning scheme to strip off the leading letters from the version number to ensure strictly monotoneosly increasing version numbers, as required by the packaging guidelines.

Thanks for providing this package, by the way!

dreieck commented on 2022-01-26 19:24 (UTC)

namcap shows me a

fluffychat-git E: Dependency libsecret detected and not included

So, libsecret should be added to the depends array?

dreieck commented on 2022-01-25 22:38 (UTC) (edited on 2022-01-25 22:39 (UTC) by dreieck)

Regarding that flutter wants to write into /opt/flutter/:

I now have added the following to prepare() in order to do that stuff within $srcdir:

  _flutter_dir="${srcdir}/flutter"
  PATH="${_flutter_dir}/bin:${PATH}"
  export PATH

  msg2 "Copying '/opt/flutter' to '${_flutter_dir}' ..."
  cp -a /opt/flutter "${_flutter_dir}"

and the first three lines also go in build().

dreieck commented on 2022-01-25 22:36 (UTC)

I suggest to move

  flutter clean
  flutter pub get

to prepare() so that all download is finished when build() starts.

garionion commented on 2022-01-25 21:16 (UTC)

this is what flutter does. if you are part of the flutterusers group it doesnt even fail

dreieck commented on 2022-01-25 21:15 (UTC)

prepare() wants to create stuff in the system directory /opt:

==> Starting prepare()...
mkdir: cannot create directory ‘/opt/flutter/bin/cache’: Permission denied

.. please fix!, it must be done under $srcdir/ or $pkgdir/.