sonnyp / Junction

Application/browser chooser
https://flathub.org/apps/re.sonny.Junction
GNU General Public License v3.0
457 stars 28 forks source link

Update old information How to build and run Junction from GIT #101

Closed qwertyuiopzxcvbnmlkjhgfdsa1 closed 1 year ago

qwertyuiopzxcvbnmlkjhgfdsa1 commented 1 year ago

There is howto present, how to build and run Junction on local computer. But it does not work. At least on Ubuntu 22.10

Managed to run Junction at last, but steps missing should be fixed.

Steps missing: 1,Checkout troll library to troll directory 2,How to install schema re.sonny.Junction to Gsettings in data directory 3, How to debug in some standard IDE(VS,Webstorm)

adrinux commented 1 year ago

Can you give details on 1 an 2? I can't even find the troll library by searching...

I'll happily make a PR to update the Readme if I can get Junction to build.

qwertyuiopzxcvbnmlkjhgfdsa1 commented 1 year ago

1,Troll is Sonny's library. See here https://github.com/sonnyp/troll.git If i remember correctly, then i checked out it to directory Junction/troll .

2, It is described in Makefile, gsettings. Perhaps it could even work automatically, just try all like make dev etc. I was missing many dependencies to run make and later build itself, had to install them by apt. Its a bit pain, but doable

good luck

adrinux commented 1 year ago

@qwertyuiopzxcvbnmlkjhgfdsa1

OK:

cd junction && rm -rf troll
git clone https://github.com/sonnyp/troll.git
cd troll
npm install
make build

Sorted troll out. make dev still errors. If instead I run the commands for host under the 'Building' section Junction seems to build but he resulting binary dies when run.

I've just found your PR - and that already implements the feature I wanted to tinker for.

sonnyp commented 1 year ago

https://github.com/sonnyp/Junction#development