jfo8000 / ScratchJr-Desktop

Open source community port of ScratchJr for Desktop (Mac/Win)
https://jfo8000.github.io/ScratchJr-Desktop/
BSD 3-Clause "New" or "Revised" License
136 stars 80 forks source link

libgconf2-4 dependency problem on Ubuntu 20.04 based distro #44

Open BaconCondensate opened 4 years ago

BaconCondensate commented 4 years ago

The deb installer uses old electron and requires the now defunct libgconf2-4 dependency (which is a dummy for libgconf-2-4)

Probably unrelated but running using npm also doesn't work as the harfbuzz version is too old (a problem from the old electron)

Any plan on releasing an update?

leonskb4 commented 4 years ago

I made a fork with updates libraries, you could try to download and see if working for you. I use Fedora, but you can try with Ubuntu

vdurnev commented 4 years ago

@leonskb4 which version of nodejs have you used to build app?

leonskb4 commented 4 years ago

[leonskb4@home ~]$ node --version v12.16.3 [leonskb4@home ~]$ npm --version 6.14.4

I pre-compile this package too https://mega.nz/file/M9pyGCbb#GbT-P6nt33V6ra80A2nybWLq8ikgT5IcVpndK2hF1D4

nikalakos commented 3 years ago

First of all thanks a lot for your work and your will to support this great work. I also run ubuntu 20.04 LTS and i face up with the same problem. I tried to use your help from the messages above but, as I'm not so experienced in linux processes, i couldn't follow the instructions above. So If you can please tell me what to do in more details. I want also to request if you could provide to the public an updated version of your project for Ubuntu 20 systems. Thanks again!

leonskb4 commented 3 years ago

First of all thanks a lot for your work and your will to support this great work. I also run ubuntu 20.04 LTS and i face up with the same problem. I tried to use your help from the messages above but, as I'm not so experienced in linux processes, i couldn't follow the instructions above. So If you can please tell me what to do in more details. I want also to request if you could provide to the public an updated version of your project for Ubuntu 20 systems. Thanks again!

download the file from mega.nz, decompress it and open folder. then you can execute in command line.

open the terminal application and go to the decompressed ScratchJr folder and then execute cd Downloads/opt/ScratchJr ./ScratchJr Will open ScratchJr application.

If this is don't work you must compile another version of the app.

nikalakos commented 3 years ago

First of all thanks a lot for your work and your will to support this great work. I also run ubuntu 20.04 LTS and i face up with the same problem. I tried to use your help from the messages above but, as I'm not so experienced in linux processes, i couldn't follow the instructions above. So If you can please tell me what to do in more details. I want also to request if you could provide to the public an updated version of your project for Ubuntu 20 systems. Thanks again!

download the file from mega.nz, decompress it and open folder. then you can execute in command line.

open the terminal application and go to the decompressed ScratchJr folder and then execute cd Downloads/opt/ScratchJr ./ScratchJr Will open ScratchJr application.

If this is don't work you must compile another version of the app.

Thanks a lot!!!! It worked!!!!! Now if you don't mind another question. As i want to use it in my classroom is there any way to create a desktop icon so the kids open ScratchJr by clicking on it;

nikalakos commented 3 years ago

Ok. I've done it. I created a sh file inside the ScratchJr folder and runs smoothly!!! Thanks again for your support

leonskb4 commented 3 years ago

Sorry, I have a lot stuffs to do. You can follow this tutorial for create a application launcher in your desktop

https://www.maketecheasier.com/create-desktop-file-linux/

I'm glad I helped you

dbeniamine commented 3 years ago

@leonskb4 : thanks a lot !

As I do not like downloaded untrusted .deb files, I rebuilt from your code (on a Mint 20):

git clone https://github.com/leonskb4/ScratchJr-Desktop
sudo apt-get install nodejs npm
cd ScratchJr-Desktop
npm install && npm run publish

After that I had a .deb in out/make.

The .deb intallation works on Mint 20, and ScratchJr seems to work, I'm giving it more tests.

Again thanks a lot, you made my day :+1:

leonskb4 commented 3 years ago

@leonskb4 : thanks a lot !

As I do not like downloaded untrusted .deb files, I rebuilt from your code (on a Mint 20):

git clone https://github.com/leonskb4/ScratchJr-Desktop
sudo apt-get install nodejs npm
cd ScratchJr-Desktop
npm install && npm run publish

After that I had a .deb in out/make.

The .deb intallation works on Mint 20, and ScratchJr seems to work, I'm giving it more tests.

Again thanks a lot, you made my day 👍

I'm very glad to know that the changes that I made work for you. See ya! 😊

mattruffoni commented 2 years ago

I am writing a guide to coding in school for young children. I found this job and I wanted to thank all of you for what you have done. I would like to ask can I copy your files and make them available on my site? (Obviously quoting you) https://it.wikiversity.org/wiki/Primi_passi_nel_coding_(scuola_elementare)#Scratch_junior

leonskb4 commented 2 years ago

I am writing a guide to coding in school for young children. I found this job and I wanted to thank all of you for what you have done. I would like to ask can I copy your files and make them available on my site? (Obviously quoting you) https://it.wikiversity.org/wiki/Primi_passi_nel_coding_(scuola_elementare)#Scratch_junior

okey... first of all... my job only limit to update some libraries, then make a fork of the code and generate a pull request. For give credits about this project, refer to @jfo8000. I only build a prebuild packages with the update libraries and publish here you can republish that package and use it, I don't have any inconveniences

geekq commented 1 year ago

Tested the fork (@leonskb4 : thanks a lot!) and it works great on Ubuntu 22.04, with stock node v12.22.9, npm 8.5.1 (sudo apt-get install nodejs npm libgconf-2-4). Also .deb package creations works as described by @dbeniamine - now I can quickly install it on multiple computers at once.