srwither / discordbsd Goto Github PK
View Code? Open in Web Editor NEWan attempt at a native discord client for FreeBSD
License: BSD 3-Clause "New" or "Revised" License
an attempt at a native discord client for FreeBSD
License: BSD 3-Clause "New" or "Revised" License
With a previous version installed (I can't recall which version):
% ./install.sh
Installing DiscordBSD
cp: /home/grahamperrin/.local/share/discordbsd/discord/chromedriver: Permission denied
cp: /home/grahamperrin/.local/share/discordbsd/discord/v8_context_snapshot_generator: Permission denied
cp: /home/grahamperrin/.local/share/discordbsd/discord/mksnapshot: Permission denied
cp: /home/grahamperrin/.local/share/discordbsd/discord/discordbsd: Permission denied
Done!
% pwd
/usr/home/grahamperrin/Downloads/DiscordBSD-0.0.33
%
The previous version was installed as the same user.
% pwd
/usr/home/grahamperrin/.local/share/discordbsd
% ls -hl discord
total 129
-rw-r--r-- 1 grahamperrin grahamperrin 1.1K Nov 20 06:00 LICENSE.electron.txt
-rw-r--r-- 1 grahamperrin grahamperrin 8.8M Nov 20 06:00 LICENSES.chromium.html
-rw-r--r-- 1 grahamperrin grahamperrin 133K Nov 20 06:00 chrome_100_percent.pak
-rw-r--r-- 1 grahamperrin grahamperrin 192K Nov 20 06:00 chrome_200_percent.pak
-r-xr-xr-x 1 grahamperrin grahamperrin 12M Nov 18 16:29 chromedriver
-r-xr-xr-x 1 grahamperrin grahamperrin 153M Nov 18 16:29 discordbsd
drwxr-xr-x 4 grahamperrin grahamperrin 4B Nov 18 16:29 gen
-rw-r--r-- 1 grahamperrin grahamperrin 47K Nov 20 06:00 libEGL.so
-rw-r--r-- 1 grahamperrin grahamperrin 6.0M Nov 20 06:00 libGLESv2.so
-rw-r--r-- 1 grahamperrin grahamperrin 2.6M Nov 20 06:00 libffmpeg.so
-rw-r--r-- 1 grahamperrin grahamperrin 4.7M Nov 20 06:00 libvk_swiftshader.so
-rw-r--r-- 1 grahamperrin grahamperrin 427K Nov 20 06:00 libvulkan.so
drwxr-xr-x 2 grahamperrin grahamperrin 57B Nov 18 16:29 locales
-r-xr-xr-x 1 grahamperrin grahamperrin 26M Nov 18 16:29 mksnapshot
drwxr-xr-x 3 grahamperrin grahamperrin 3B Nov 18 16:29 node_headers
drwxr-xr-x 2 grahamperrin grahamperrin 3B Nov 18 16:29 resources
-rw-r--r-- 1 grahamperrin grahamperrin 5.2M Nov 20 06:00 resources.pak
-rw-r--r-- 1 grahamperrin grahamperrin 261K Nov 20 06:00 snapshot_blob.bin
-rw-r--r-- 1 grahamperrin grahamperrin 612K Nov 20 06:00 v8_context_snapshot.bin
-r-xr-xr-x 1 grahamperrin grahamperrin 86M Nov 18 16:29 v8_context_snapshot_generator
-rw-r--r-- 1 grahamperrin grahamperrin 107B Nov 20 06:00 vk_swiftshader_icd.json
%
I'm currently running FreeBSD 13.2-RELEASE-p11 on an AMD64 processor (I am about to upgrade to 13.3 ...!) I understand I need to unzip the .zip
file provided as a "Release" into a part of the file-system that is mine and then run the install.sh
script in the root of the unzipped archive. Should this be sufficient to get me a working Discord application or are other packages required? I mean I find a discord
script inside a ./.local/bin
off my home directory but I then get:
[stephen@Ripley ~]$ ./.local/bin/discord
./.local/bin/discord: node: not found
ld-elf.so.1: /usr/home/stephen/.local/share/discordbsd/discord/DiscordBSD: Undefined symbol "__libc_start1@FBSD_1.7"
So I then proceed to install node
:
[stephen@Ripley ~]$ sudo pkg install node
Password:
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 3 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
c-ares: 1.24.0
node: 20.11.1_1
node20: 20.11.1
Number of packages to be installed: 3
The process will require 44 MiB more space.
9 MiB to be downloaded.
Proceed with this action? [y/N]: y
[1/3] Fetching node-20.11.1_1.pkg: 100% 1 KiB 1.1kB/s 00:01
[2/3] Fetching c-ares-1.24.0.pkg: 100% 184 KiB 188.8kB/s 00:01
[3/3] Fetching node20-20.11.1.pkg: 100% 9 MiB 9.5MB/s 00:01
Checking integrity... done (0 conflicting)
[1/3] Installing c-ares-1.24.0...
[1/3] Extracting c-ares-1.24.0: 100%
[2/3] Installing node20-20.11.1...
[2/3] Extracting node20-20.11.1: 100%
[3/3] Installing node-20.11.1_1...
[3/3] Extracting node-20.11.1_1: 100%
=====
Message from node20-20.11.1:
--
Note: If you need npm (Node Package Manager), please install www/npm.
Okay I thought maybe that'll sort it - but no:
[stephen@Ripley ~]$ ./.local/bin/discord
ld-elf.so.1: /usr/home/stephen/.local/share/discordbsd/discord/DiscordBSD: Undefined symbol "__libc_start1@FBSD_1.7"
Some DuckDuckGo-ing (better than Googling as it doesn't telephone home about your browsing) suggest that this is a problem because of OS version mismatches between the system the binary was compiled on and that on which it is being attempted to run. Is this the case and if so - what precisely is the pre-built binary compatible with?
in freebsd 14.0 only has electron25-25.9.7.
root@F3ja:/usr/home/luba # pkg install electron27
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg: No packages available to install matching 'electron27' have been found in the repositories
Can the program DiscordBSD be installed using electron25-25.9.7?
Hey,
just wondering if there was a way of adding an option to totally exit DiscordBSD when closing the window instead of going down to the tray area? Similar to how the official app has the options for Linux integration?
And if the option is hidden away and i didn't see it, i apologies lol
Thanks for this port though, really good quality ๐
Installed the newest version of DiscordBSD and works fine, except that in the Voice Settings I can only set the Input and Output Device to Default.
Which works for the output, but since I got headphones and not a headset, I can't get a working input.
In the meantime I have to use Discord in Web.
Is there a fix available?
Close #6 in favour of this?
% ./install.sh
Installing DiscordBSD
Removing old installation...
cp: share/discordbsd/*: No such file or directory
Done!
% which discordbsd
discordbsd: Command not found.
% which DiscordBSD
DiscordBSD: Command not found.
% which discord
/home/grahamperrin/.local/bin/discord
% discord
/home/grahamperrin/.local/bin/discord: ./discord/discordbsd: not found
% git log --oneline -n 1
bb86df9 (HEAD -> main, origin/main, origin/HEAD) fix install script
%
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.