Package Details: funkwhale-venv 1.3.3-1

Git Clone URL: https://aur.archlinux.org/funkwhale-venv.git (read-only, click to copy)
Package Base: funkwhale-venv
Description: A community-driven project that lets you listen and share music and audio within a decentralized, open network.
Upstream URL: https://funkwhale.audio/
Licenses: GPL3
Conflicts: funkwhale
Provides: funkwhale
Submitter: getzze
Maintainer: getzze
Last Packager: getzze
Votes: 3
Popularity: 0.000000
First Submitted: 2022-05-07 22:20 (UTC)
Last Updated: 2023-10-17 21:28 (UTC)

Required by (0)

Sources (11)

Pinned Comments

getzze commented on 2022-05-07 22:32 (UTC)

Follow the instructions on the wiki [https://wiki.archlinux.org/index.php/Funkwhale] or on the official documentation to finish the installation and configure your instance.

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

getzze commented on 2022-05-11 21:43 (UTC)

I find more useful to have a .service as it can be enabled. I never managed to make the .target autostart.

clarfonthey commented on 2022-05-07 22:36 (UTC)

Putting this comment here since this is the newer, more canonical version of the package:

funkwhale.service is listed as funkwhale.target in the official documentation, and IMHO, a target makes a lot more sense than a service since the funkwhale service doesn't actually do anything besides depend on other services.

Probably want to update both this and the other package.

getzze commented on 2022-05-07 22:32 (UTC)

Follow the instructions on the wiki [https://wiki.archlinux.org/index.php/Funkwhale] or on the official documentation to finish the installation and configure your instance.

getzze commented on 2022-05-07 22:32 (UTC)

As it is too hard to maintain compatibilities of the dependencies, I am switching to funkwhale-venv that installs dependencies with pinned version in a virtualenv using pip: https://aur.archlinux.org/packages/funkwhale-venv

clarfonthey commented on 2022-05-04 00:40 (UTC)

It appears that Django 4 breaks Funkwhale due to the removal of ugettext; it seems like it's either the point to use separate Django 3 packages, or vendor in the dependencies for this package.

xeruf commented on 2022-01-17 20:45 (UTC) (edited on 2022-01-17 20:45 (UTC) by xeruf)

Still failing checksums on nginx template:

  -> Found funkwhale.service
  -> Found funkwhale-beat.service
  -> Found funkwhale-server.service
  -> Found funkwhale-worker.service
  -> Found apache-funkwhale.conf
  -> Found env-template
==> Validating source files with sha256sums...
    funkwhale-1.2.1-api.zip ... Passed
    funkwhale-1.2.1-front.zip ... Passed
    funkwhale_proxy.conf ... Passed
    nginx.template ... FAILED
    funkwhale.service ... Passed
    funkwhale-beat.service ... Passed
    funkwhale-server.service ... Passed
    funkwhale-worker.service ... Passed
    apache-funkwhale.conf ... Passed
    env-template ... Passed
==> ERROR: One or more files did not pass the validity check!

clarfonthey commented on 2021-12-22 18:57 (UTC) (edited on 2022-01-02 21:49 (UTC) by clarfonthey)

The current PKGBUILD modifies nginx.template in-place after it's downloaded, which causes the integrity check to fail if the build is attempted more than one time. It would make the most sense to write the changes to a different file so this doesn't occur, like this:

diff --git a/PKGBUILD b/PKGBUILD
index cc9c12d..def9c3f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -97,9 +97,9 @@ install=${pkgname}.install
 prepare() {
   cd "$srcdir"
   ## change path of proxy parameters
-  sed -id 's#/etc/nginx/funkwhale_proxy.conf#/etc/webapps/funkwhale/funkwhale_proxy.conf#' nginx.template
+  sed 's#/etc/nginx/funkwhale_proxy.conf#/etc/webapps/funkwhale/funkwhale_proxy.conf#' nginx.template > nginx.template.patched
   ## remove http2, as it is not always working
-  sed -id 's#443 ssl http2;#443 ssl;#' nginx.template
+  sed 's#443 ssl http2;#443 ssl;#' nginx.template > nginx.template.patched
 }

 build() {
@@ -121,7 +121,7 @@ package() {

   install -d "$pkgdir"/etc/webapps/${pkgname}/config
   install -Dm644 funkwhale_proxy.conf "$pkgdir"/etc/webapps/${pkgname}/.
-  install -Dm644 nginx.template "$pkgdir"/etc/webapps/${pkgname}/.
+  install -Dm644 nginx.template.patched "$pkgdir"/etc/webapps/${pkgname}/nginx.template
   install -Dm644 apache-funkwhale.conf "$pkgdir"/etc/webapps/${pkgname}/.
   install -Dm644 env-template "$pkgdir"/etc/webapps/${pkgname}/env.template

getzze commented on 2021-12-04 23:48 (UTC)

I updated to 1.1.4, but it needs two tricks: install a patched package python-asgiref_patch (in AUR) and manually update python-celery (and python-kombu) to version 5.2 (see https://bugs.archlinux.org/task/70972?project=5&string=python-celery).

clarfonthey commented on 2021-11-21 21:17 (UTC)

The dependency python-feedparser-dev doesn't exist; this should be python-feedparser.

xeruf commented on 2021-10-05 10:39 (UTC) (edited on 2021-10-05 10:40 (UTC) by xeruf)

Little PKGBUILD hint - you should be able to replace

  install -Dm644 funkwhale.service "$pkgdir/usr/lib/systemd/system/funkwhale.service"
  install -Dm644 funkwhale-beat.service "$pkgdir/usr/lib/systemd/system/funkwhale-beat.service"
  install -Dm644 funkwhale-worker.service "$pkgdir/usr/lib/systemd/system/funkwhale-worker.service"
  install -Dm644 funkwhale-server.service "$pkgdir/usr/lib/systemd/system/funkwhale-server.service"

with

  install -Dm644 *.service "$pkgdir/usr/lib/systemd/system/"