-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
beeper: init at 3.71.16 #241992
beeper: init at 3.71.16 #241992
Conversation
Some of my inspiration: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=beeper |
Hitting some issues with running beeper right now:
Open to suggestions if anyone knows more about this 😄 |
it seems to run with: { lib, mkDerivation, fetchurl, makeFontsConf, appimageTools
, qtbase, qtsvg, qtmultimedia, qtwebsockets, qtimageformats
, autoPatchelfHook, desktop-file-utils, imagemagick
, twemoji-color-font, xorg, libsodium, libopus, libGL, alsa-lib, gtk3, gnome, nss, mesa, icu }:
let
pname = "beeper";
version = "3.62.20";
name = "beeper";
nameExecutable = pname;
src = fetchurl {
url = "https://download.beeper.com/linux/appImage/x64";
sha256 = "5389e24ff3cef9acc6f137d24d37e9ef319c865ef81fa3337d407f927f087e31";
name = "${pname}-${version}.AppImage";
};
appimageContents = appimageTools.extractType2 { inherit name src; };
in
appimageTools.wrapType2 {
inherit name src;
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs);
meta = with lib; {
description = "Beeper is a universal chat app. With Beeper, you can send and receive messages to friends, family and colleagues on many different chat networks.";
homepage = "https://beeper.com";
license = licenses.unfreeRedistributable;
maintainers = with maintainers; [ jshcmpbll ];
platforms = [ "x86_64-linux" ];
};
} I used the anytype package as a reference. |
App does seem to crash occasionally without much error in the busy log stream. Something to keep an eye on. EDIT: nixos/nixpkgs git:(jc/beeper*)./result/bin/beeper --help
Initializing todesktop runtime
16:43:06.693 › @todesktop/runtime: AutoUpdater: Setting up UpdaterAgent
Keytar unexpected error: Error: libsecret-1.so.0: cannot open shared object file: No such file or directory
at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822)
at Module._extensions..node (node:internal/modules/cjs/loader:1326:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2049)
at Module.load (node:internal/modules/cjs/loader:1096:32)
at Module._load (node:internal/modules/cjs/loader:937:12)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at Module.require (node:internal/modules/cjs/loader:1120:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object.<anonymous> (/nix/store/aaq0m6k6pa5q3rawkp572i6jsihihxp6-beeper-extracted/resources/app.asar/.hak/hakModules/keytar/lib/keytar.js:1:14)
at Module._compile (node:internal/modules/cjs/loader:1241:14) {
code: 'ERR_DLOPEN_FAILED'
}
Options:
--profile-dir {path}: Path to where to store the profile.
--profile {name}: Name of alternate profile to use, allows for running multiple accounts.
--devtools: Install and use react-devtools and react-perf.
--no-update: Disable automatic updating.
--default-frame: Use OS-default window decorations.
--hidden: Start the application hidden in the system tray.
--help: Displays this help message.
And more such as --proxy, see:https://electronjs.org/docs/api/command-line-switches |
version = "3.62.20"; | ||
src = fetchurl { | ||
url = "${pname}-${version}.AppImage::https://download.beeper.com/linux/appImage/x64"; | ||
sha256 = "5389e24ff3cef9acc6f137d24d37e9ef319c865ef81fa3337d407f927f087e31"; |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done :D
Result of 1 package built:
|
👍 verified working for me as well, nice work @jshcmpbll ! Im added the backport label as well so this ends up in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #145678 which I closed for the same reason.
pkgs/applications/networking/instant-messengers/beeper/default.nix
Outdated
Show resolved
Hide resolved
@sumnerevans No worries, we can just point to the internet archive for now. Is there any plan to provide versioned releases at beeper? |
We have stable URLs internally, but I don't know if we have any plans to publish them. I'm not on the desktop app team. |
pkgs/applications/networking/instant-messengers/beeper/default.nix
Outdated
Show resolved
Hide resolved
inherit version pname src; | ||
}; | ||
in | ||
mkDerivation rec { |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ignore this comment, this cannot be applied here.
@9p4 @NANASHI0X74 @drupol what gpu do you guys use? I have an nvidia 3070 I'm trying to get it to run on wayland using the ozone flags but it just launches and no window shows up at all, not even the blank black screen I get without the ozone flags. If I run it using gnome x11 it works normally. |
intel integrated graphics
…On Mon, 28 Aug 2023, 04:02 Andrea Bueide, ***@***.***> wrote:
@9p4 <https://github.com/9p4> @NANASHI0X74
<https://github.com/NANASHI0X74> @drupol <https://github.com/drupol> what
gpu do you guys use? I have an nvidia 3070 I'm trying to get it to run on
wayland using the ozone flags but it just launches and no window shows up
at all, not even the blank black screen I get without the ozone flags. If I
run it using gnome x11 it works normally.
—
Reply to this email directly, view it on GitHub
<#241992 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEF3ZHT42WUPHCYYQ7FSTZ3XXP347ANCNFSM6AAAAAA2BDXFUI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I think that the integrated electron version is too old. |
also what needs to happen for this to be merged? happy to help out however I can. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello,
I just give a last review and made a minor comment.
Could also pass this file through nixpkgs-fmt
?
nix run nixpkgs#nixpkgs-fmt -- <path-to-the-file>
version = "3.62.20"; | ||
name = "${pname}-${version}"; | ||
src = fetchurl { | ||
url = "https://download.todesktop.com/2003241lzgn20jd/${name}.AppImage"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please avoid using this.
This creates a binding that goes too far.
See further information about this here: nix-community/nixpkgs-lint#21
url = "https://download.todesktop.com/2003241lzgn20jd/${name}.AppImage"; | |
url = "https://download.todesktop.com/2003241lzgn20jd/beeper-${version}.AppImage"; |
@drupol I really appreciate the reviews! Should be all good now. |
Successfully created backport PR for |
how did you find the URL? do you have one for mac? looking to open a PR for darwin systems. |
@abueide Was wondering the same thing. I think I found our answers - https://github.com/beeper/todesktop-maubot/blob/696184e59f21f7b8f63b4221e57f1270ea461722/base-config.yaml#L15 This seems to work: Names a bit clunkier with spaces but I just manually downloaded the mac version and yoinked the file name from it |
hmm I just switched to the unstable channel and added the beeper package through the official nix channel but it seems to not work (I'm on x11 now).
|
oh weird it works now again |
I learned that we do have stable URLs. We use todesktop, and according to https://www.todesktop.com/docs/recipes/download-links-from-your-website you can just use: https://download.beeper.com/versions/3.77.21/linux/appImage/x64 to download the appimage for any version. For future releases, we should utilize that. |
beeper is broke now, Version: 3.85.17 on stable branch, and Version: 3.94.20 on unstable branch. Here is the build result of the beeper unstable branch package
|
@jshcmpbll do you think you could help here? |
@drupol taking a look @Linux-DADDY First I tried checking that URL and I was able to download the app image. Maybe it was just an outage? |
I also can't reproduce this: it's downloading fine for me. If you're still seeing issues, it might be something on your end. |
@mjm, @jshcmpbll, sorry, thanks for your supports, yes it was my fault, i was using a dns which is blocking that link for privacy or for protection, never thought that can happen. |
Thanks for your fast feedback @jshcmpbll ! Glad this has been, somehow, fixed. |
Description of changes
adding beeper application
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)