You are not logged in.

#1 2021-02-11 22:36:06

chovy
Member
Registered: 2020-12-29
Posts: 53

[request] webull.com desktop trading app

I created a repo in an attempt to try to create a PKGBUILD aur repo from a .deb file, but I got stuck.

If anyone wants to take it over or help me get it working the repo is https://aur.archlinux.org/packages/webull-desktop/

Offline

#2 2021-02-11 23:57:59

loqs
Member
Registered: 2014-03-06
Posts: 12,987

Re: [request] webull.com desktop trading app

# Maintainer: Anthony Ettinger <anthony@chovy.com>
pkgname=(webull-desktop)
pkgver=4.2.9
pkgrel=1
pkgdesc=""
arch=('x86_64')
url="https://webull.com"
license=('custom')
depends=(hicolor-icon-theme)
source_x86_64=("https://pub.webull.com/global/desktop/Webull%20Desktop%204.2.9.deb")
sha512sums_x86_64=('c3e80bff61561fff576b2cbeb66a8678089283eb712e94b76880de8ecb6005a66a1b7121d6e08b53ef021cb1cb8f92fd058fff794d2f1adf128b40e882d410d1')

package(){
  bsdtar --no-same-owner -xf  data.tar.xz -C "${pkgdir}"
  mv "${pkgdir}"/usr/local/ "${pkgdir}"/opt
  install -Dm644 "${pkgdir}"/opt/WebullDesktop/LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE.txt
  install -dm755 "${pkgdir}"/usr/bin
  ln -s /opt/WebullDesktop/WebullDesktop "${pkgdir}"/usr/bin
  sed -i 's|Exec=/usr/local/WebullDesktop/WebullDesktop|Exec=WebullDesktop|' "${pkgdir}"/usr/share/applications/WebullDesktop.desktop
}

The depends are still wrong but does the above work for you?

Offline

#3 2021-02-12 19:42:46

chovy
Member
Registered: 2020-12-29
Posts: 53

Re: [request] webull.com desktop trading app

mksrcinfo is not found.

Offline

#4 2021-02-12 19:46:15

Slithery
Forum Moderator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 4,163

Re: [request] webull.com desktop trading app


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2021-02-12 19:50:52

chovy
Member
Registered: 2020-12-29
Posts: 53

Re: [request] webull.com desktop trading app

oh i found `makepkg --printsrcinfo > .SRCINFO`

so it looks like it builds but does not install

Offline

#6 2021-02-12 19:55:05

loqs
Member
Registered: 2014-03-06
Posts: 12,987

Re: [request] webull.com desktop trading app

chovy wrote:

so it looks like it builds but does not install

Please expand on that?  What command did you use to install the built package?  What was the error message?
Why if the package does not work did you update it to AUR?

Offline

#7 2021-02-12 19:56:11

chovy
Member
Registered: 2020-12-29
Posts: 53

Re: [request] webull.com desktop trading app

It built no errors. But when I type “Webull” into app launcher nothing shows up

Offline

#8 2021-02-12 20:04:13

loqs
Member
Registered: 2014-03-06
Posts: 12,987

Re: [request] webull.com desktop trading app

So it installs without error.
If you execute WebullDesktop from the console does that work?  If it does not work please post the full output.

Offline

#9 2021-02-12 20:12:27

chovy
Member
Registered: 2020-12-29
Posts: 53

Re: [request] webull.com desktop trading app

So it looks like it installed to current directory:

```
$ /home/ettinger/src/webull//usr/local/WebullDesktop/WebullDesktop
/home/ettinger/src/webull//usr/local/WebullDesktop/WebullDesktop: error while loading shared libraries: libbasecore.so: cannot open shared object file: No such file or directory
```

Offline

#10 2021-02-12 20:14:02

loqs
Member
Registered: 2014-03-06
Posts: 12,987

Re: [request] webull.com desktop trading app

What command did you use to install the package?  What is the output of:

pacman -Qil webull-desktop

Offline

#11 2021-02-12 20:15:31

chovy
Member
Registered: 2020-12-29
Posts: 53

Re: [request] webull.com desktop trading app

oh i think i built it wrong. I just did `makepkg -S`

Offline

#12 2021-02-12 20:16:20

chovy
Member
Registered: 2020-12-29
Posts: 53

Re: [request] webull.com desktop trading app

when i run `yay -S webull-desktop`

I get this error:

install: cannot stat '/usr/local/WebullDesktop/LICENSE.txt': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
error making: webull-desktop

Offline

#13 2021-02-12 20:20:20

loqs
Member
Registered: 2014-03-06
Posts: 12,987

Re: [request] webull.com desktop trading app

Stop using yay.  At a guess you are uploading the package to AUR then using yay because you do not know how to install packages locally with pacman?
See Makepkg#Usage

Offline

#14 2021-02-12 20:20:48

chovy
Member
Registered: 2020-12-29
Posts: 53

Re: [request] webull.com desktop trading app

No, pacman didn't work with aur i thought.

Offline

#15 2021-02-12 20:22:18

chovy
Member
Registered: 2020-12-29
Posts: 53

Re: [request] webull.com desktop trading app

I did `yay -Syyuu webull-desktop` same error.

Offline

#16 2021-02-12 20:22:50

loqs
Member
Registered: 2014-03-06
Posts: 12,987

Re: [request] webull.com desktop trading app

Have you read the link I posted in post #13?

Offline

#17 2021-02-12 20:25:14

chovy
Member
Registered: 2020-12-29
Posts: 53

Re: [request] webull.com desktop trading app

Yes, I ran `makepkg --syncdeps -f` and it "installed" but I can't find the binary anywhere.

Offline

#18 2021-02-12 20:32:35

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,534
Website

Re: [request] webull.com desktop trading app

Where did you get the idea that Archlinux is for you?


Fix yo shit: journalctl -b -p warning
Github

Offline

#19 2021-02-12 20:37:02

loqs
Member
Registered: 2014-03-06
Posts: 12,987

Re: [request] webull.com desktop trading app

chovy wrote:

Yes, I ran `makepkg --syncdeps -f` and it "installed" but I can't find the binary anywhere.

wiki wrote:

To build the package and install needed dependencies, add the flag -s/--syncdeps:

$ makepkg --syncdeps

Emphasis added.

wiki wrote:

Once all dependencies are satisfied and the package builds successfully, a package file (pkgname-pkgver.pkg.tar.zst) will be created in the working directory. To install, use -i/--install (same as pacman -U pkgname-pkgver.pkg.tar.zst):

$ makepkg --install

Last edited by loqs (2021-02-12 20:38:20)

Offline

#20 2021-02-12 20:59:08

chovy
Member
Registered: 2020-12-29
Posts: 53

Re: [request] webull.com desktop trading app

Ok, that worked.

$ /usr/bin/WebullDesktop                                          
/usr/bin/WebullDesktop: error while loading shared libraries: libbasecore.so: cannot open shared object file: No such file or directory

looks like i'm missing a dependency.

I'm new to arch, just learning like everyone else.

Offline

#21 2021-02-12 21:16:35

loqs
Member
Registered: 2014-03-06
Posts: 12,987

Re: [request] webull.com desktop trading app

What about?

$ LD_LIBRARY_PATH=/opt/WebullDesktop WebullDesktop

Edit:
Moving the files from /usr/local looks to have broken library resolution.

Last edited by loqs (2021-02-12 21:17:40)

Offline

#22 2021-02-12 21:17:15

chovy
Member
Registered: 2020-12-29
Posts: 53

Re: [request] webull.com desktop trading app

Yes, that works!!!!

Offline

#23 2021-02-12 21:18:06

chovy
Member
Registered: 2020-12-29
Posts: 53

Re: [request] webull.com desktop trading app

well it launches, but there's not really anything showing in the window.

Offline

#24 2021-02-12 21:21:33

loqs
Member
Registered: 2014-03-06
Posts: 12,987

Re: [request] webull.com desktop trading app

Any output on the console?

Offline

#25 2021-02-12 21:22:54

chovy
Member
Registered: 2020-12-29
Posts: 53

Re: [request] webull.com desktop trading app

➜  ~ 
$ LD_LIBRARY_PATH=/opt/WebullDesktop WebullDesktop
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
lib path: ("/opt/WebullDesktop")
core.cfg: WBCfg Constructor
core.cfg: scope: "config"  scope1: "accounts"
core.cfg: ap: "/opt/WebullDesktop"
core.cfg: up: "/home/ettinger/.config/Webull Desktop/Webull Desktop"
core.cfg: sp: "/etc/xdg/Webull Desktop/Webull Desktop"
core.cfg: WBCfg Constructor
appversion:  "4.2.9"
core.cfg: load app.ini...
core.cfg: load global config ...
current space list: ()
core.cfg: load global config...
[02-12 13:22:29.476][default][INF][../../../../QtStocks/library/core/log/wblog.cpp:22]=>log files init local path: "/home/ettinger/.local/share/Webull Desktop/Webull Desktop/log"

the UI shows but there's no way to login. its just a white blank area with a sidebar.

Offline

Board footer

Powered by FluxBB