Package Details: companion 3.4.3-1

Git Clone URL: https://aur.archlinux.org/companion.git (read-only, click to copy)
Package Base: companion
Description: Control software for the Elgato Streamdeck with a focus on broadcasting.
Upstream URL: https://github.com/bitfocus/companion
Keywords: elgato obs streamdeck streaming
Licenses: custom
Submitter: mdeboer
Maintainer: mdeboer (evilscientress)
Last Packager: evilscientress
Votes: 6
Popularity: 0.182681
First Submitted: 2021-09-05 21:34 (UTC)
Last Updated: 2024-11-07 21:57 (UTC)

Latest Comments

1 2 Next › Last »

danievdm commented on 2024-09-14 18:20 (UTC)

v3.3.1 built fine for me on Manjaro. But I see 2 days back v3.4.0 was released by Bitfocus, so hopefully there is an update soon here on the AUR package.

jankoppe commented on 2024-09-14 07:46 (UTC) (edited on 2024-09-14 09:15 (UTC) by jankoppe)

I seem to be unable to build this package. electron-builder always bails due to an issue with "afterSign". Downgrading from 3.3.1 to 3.2.2 version of the package (which built fine a day ago on my x86 machine) did not help. The companion-x.x.x/electron-output/ directory is never populated.

$ node dist/main.js check-launches
It launches!
$ yarn workspace @companion-app/launcher run -B electron-builder --publish=never --arm64 --linux
  • electron-builder  version=24.13.3 os=5.10.110-34-rockchip-gca15bbe36e6c
  • loaded configuration  file=package.json ("build" field)
  • author is missed in the package.json  appPackageFile=/home/j/.cache/yay/companion/src/companion-3.3.1/launcher/package.json
  • installing production dependencies  platform=linux arch=arm64 appDir=/home/j/.cache/yay/companion/src/companion-3.3.1/launcher
  • packaging       platform=linux arch=arm64 electron=29.3.1 appOutDir=/home/j/.cache/yay/companion/src/companion-3.3.1/electron-output/linux-arm64-unpacked
  • skipping "afterSign" hook as no signing occurred, perhaps you intended "afterPack"?
$ node dist/main.js check-launches
It launches!
$ /home/j/.cache/yay/companion/src/companion-3.2.2/launcher/node_modules/.bin/electron-builder --publish=never --arm64 --linux
  • electron-builder  version=24.9.1 os=5.10.110-34-rockchip-gca15bbe36e6c
  • loaded configuration  file=package.json ("build" field)
  • author is missed in the package.json  appPackageFile=/home/j/.cache/yay/companion/src/companion-3.2.2/launcher/package.json
  • packaging       platform=linux arch=arm64 electron=27.1.2 appOutDir=/home/j/.cache/yay/companion/src/companion-3.2.2/electron-output/linux-arm64-unpacked
  • skipping "afterSign" hook as no signing occurred, perhaps you intended "afterPack"?
Done in 219.14s.

Not sure if this is an upstream issue, or a packaging or an arm64 issue. Any ideas?

----- EDIT ------

electron-builder uses a different output directory for arm64 builds, and the package() function is not aware of this. This change makes it build the package.

diff --git a/PKGBUILD b/PKGBUILD
index b900b1f..d2e8a2a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -65,7 +65,7 @@ build() {
 package() {
        cd "${srcdir}"

-       builddir="${pkgname}-${pkgver}/electron-output/linux-unpacked"
+       builddir="${pkgname}-${pkgver}/electron-output/linux-arm64-unpacked"

        # Licenses
        install -Dm644 "${pkgname}-${pkgver}/LICENSE.md" -t "${pkgdir}/usr/share/licenses/${pkgname}/"

Maybe it's possible to build in some CPU architecture handling?

sausix commented on 2023-11-06 18:41 (UTC) (edited on 2023-11-06 18:55 (UTC) by sausix)

/etc/udev/rules.d/50-companion.rules:31 Unknown group 'plugdev', ignoring.

plugdev is Ubuntu smell and does not exist in Arch Linux. Since you set mode to 666, the devices are accessible by everyone anyway... Definitely an upstream bug since you removed 50-companion.rules. But you could do some patch magic for the next release :-)

Edit: Created upstream issue: https://github.com/bitfocus/companion/issues/2635

etix commented on 2023-06-14 18:29 (UTC)

I've been able to build this version with Python 3.10 but I had to disable the seervision-suite module.

I added the following line in prepare(), just after the cd:

sed -i '/companion-module-seervision-suite/d' package.json

mimoralea commented on 2023-06-13 16:18 (UTC) (edited on 2023-06-13 16:38 (UTC) by mimoralea)

@mdeboer

What Python version should I use? I tried python36, python37, and python39, but the install breaks on the same lines you mentioned:

error /home/mimoralea/.cache/yay/companion/src/companion-2.4.2/node_modules/companion-module-seervision-suite: Command failed.
Exit code: 2
Command: npm run build
Arguments: 
Directory: /home/mimoralea/.cache/yay/companion/src/companion-2.4.2/node_modules/companion-module-seervision-suite
Output:
> seervision-suite@1.3.0 build /home/mimoralea/.cache/yay/companion/src/companion-2.4.2/node_modules/companion-module-seervision-suite
> npx rimraf dist && npx typescript -p tsconfig.build.json

npx: installed 1 in 0.694s
error TS2688: Cannot find type definition file for 'node'.
  The file is in the program because:
    Entry point of type library 'node' specified in compilerOptions

  tsconfig.build.json:4:15
    4     "types": ["node"]
                    ~~~~~~
    File is entry point of type library specified here.


Found 1 error.

sausix commented on 2023-06-05 13:14 (UTC)

@mdeboer Thanks! I'll try with python3.11...

But what about "companion.install"? Raises an error because missing. Did you remove the file from the repo?

mdeboer commented on 2023-06-05 13:01 (UTC)

Thanks sausix for the addition, I have added that rule, updated to 2.4.2 and updated the build dependencies.

Unfortunately it does not play nice with python 3.11 (fails on compiling native libraries with node-gyp) so I had to require a python version lower than that.

Please note: This package is currently still a nightmare to package, hopefully v3 will fix that. I can't for the life get either 2.4.1 or 2.4.2 to build on my machine as it won't build the companion-module-seervision-suite with "error TS2688: Cannot find type definition file for 'node'.".

Anyway, I'll update the package and fingers crossed!

sausix commented on 2023-03-20 13:33 (UTC) (edited on 2023-03-20 13:42 (UTC) by sausix)

50-bitfocus-companion.rules could need an addition:
Bus 006 Device 002: ID 0fd9:0080 Elgato Systems GmbH Stream Deck MK.2

Version 2.4.2 is also out since February.
Thanks.

leenux commented on 2022-09-20 10:01 (UTC)

not building here:

Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

mdeboer commented on 2022-01-28 12:21 (UTC)

Updated to v2.1.4 and fix the build process :-)