AchetaGames / Epic-Asset-Manager

A frontend to Assets purchased on Epic Games Store
https://flathub.org/apps/details/io.github.achetagames.epic_asset_manager
MIT License
379 stars 20 forks source link

Missing development requirements #200

Open aknarts opened 2 years ago

aknarts commented 2 years ago
flatpak-builder
flatpak install org.gnome.Sdk/x86_64/42
flatpak install org.freedesktop.Sdk.Extension.rust-stable
Catley94 commented 1 week ago

Feel like such a newb asking the below, please forgive me!

I've been trying to build this locally so I can run it and contribute to the project, but when following the documentation: https://github.com/AchetaGames/Epic-Asset-Manager/wiki/Development-Build

I get stuck on fenv gen build-aux/io.github.achetagames.epic_asset_manager.Devel.json Result:

catley@pop-os:~/Documents/GitHub/Epic-Asset-Manager$ fenv gen build-aux/io.github.achetagames.epic_asset_manager.Devel.json
🎁 INFO: Setting up “build-aux/io.github.achetagames.epic_asset_manager.Devel.json”
🎁 INFO: Fetching Dependencies
Emptying app dir '/home/catley/Documents/GitHub/Epic-Asset-Manager/.fenv/repo'
Downloading sources
Stopping at module epic_asset_manager
🎁 INFO: Building Dependencies
Initializing build dir
error: Requested extension org.freedesktop.Sdk.Extension.rust-stable/x86_64/46 not installed
Error: Child process exited with code 1
🎁 ERROR: Build Dependencies: Code 1

I feel like it's a versioning issue with a package, as when I ran: flatpak install org.gnome.Sdk org.gnome.Platform runtime/org.freedesktop.Sdk.Extension.rust-stable/x86_64/22.08

I got:

catley@pop-os:~/Documents/GitHub/Epic-Asset-Manager$ flatpak install org.gnome.Sdk org.gnome.Platform runtime/org.freedesktop.Sdk.Extension.rust-stable/x86_64/22.08
Looking for matches

Similar refs found for ‘org.gnome.Sdk’ in remote ‘flathub’ (user):

   1) runtime/org.gnome.Sdk/x86_64/3.24
   2) runtime/org.gnome.Sdk/x86_64/3.26
   3) runtime/org.gnome.Sdk/x86_64/3.28
   4) runtime/org.gnome.Sdk/x86_64/3.30
   5) runtime/org.gnome.Sdk/x86_64/3.32
   6) runtime/org.gnome.Sdk/x86_64/3.34
   7) runtime/org.gnome.Sdk/x86_64/3.38
   8) runtime/org.gnome.Sdk/x86_64/3.36
   9) runtime/org.gnome.Sdk/x86_64/40
  10) runtime/org.gnome.Sdk/x86_64/41
  11) runtime/org.gnome.Sdk/x86_64/42
  12) runtime/org.gnome.Sdk/x86_64/43
  13) runtime/org.gnome.Sdk/x86_64/44
  14) runtime/org.gnome.Sdk/x86_64/46
  15) runtime/org.gnome.Sdk/x86_64/45

Which do you want to use (0 to abort)? [0-15]:

Initially I chose 11 as I'm on gnome version 42.9, then I saw "/46" in the error earlier, so I installed 14 too.

Same with:

Which do you want to use (0 to abort)? [0-15]: 15
Similar refs found for ‘org.gnome.Platform’ in remote ‘flathub’ (user):

   1) runtime/org.gnome.Platform/x86_64/3.24
   2) runtime/org.gnome.Platform/x86_64/3.26
   3) runtime/org.gnome.Platform/x86_64/3.28
   4) runtime/org.gnome.Platform/x86_64/3.30
   5) runtime/org.gnome.Platform/x86_64/3.32
   6) runtime/org.gnome.Platform/x86_64/3.34
   7) runtime/org.gnome.Platform/x86_64/3.36
   8) runtime/org.gnome.Platform/x86_64/3.38
   9) runtime/org.gnome.Platform/x86_64/40
  10) runtime/org.gnome.Platform/x86_64/41
  11) runtime/org.gnome.Platform/x86_64/42
  12) runtime/org.gnome.Platform/x86_64/43
  13) runtime/org.gnome.Platform/x86_64/45
  14) runtime/org.gnome.Platform/x86_64/44
  15) runtime/org.gnome.Platform/x86_64/46

Which do you want to use (0 to abort)? [0-15]:

I chose 11 and 15.

But still getting this error.

Looking at the packages available for org.freedesktop.Sdk.Extension.rust-stable/x86_64/, the options are:

catley@pop-os:~/Documents/GitHub/Epic-Asset-Manager$ flatpak install org.freedesktop.Sdk.Extension.rust-stable/x86_64/
Looking for matches

Similar refs found for ‘org.freedesktop.Sdk.Extension.rust-stable’ in remote ‘flathub’ (user):

   1) runtime/org.freedesktop.Sdk.Extension.rust-stable/x86_64/23.08
   2) runtime/org.freedesktop.Sdk.Extension.rust-stable/x86_64/1.6
   3) runtime/org.freedesktop.Sdk.Extension.rust-stable/x86_64/18.08
   4) runtime/org.freedesktop.Sdk.Extension.rust-stable/x86_64/19.08
   5) runtime/org.freedesktop.Sdk.Extension.rust-stable/x86_64/20.08
   6) runtime/org.freedesktop.Sdk.Extension.rust-stable/x86_64/21.08
   7) runtime/org.freedesktop.Sdk.Extension.rust-stable/x86_64/22.08

Which do you want to use (0 to abort)? [0-7]:

(I chose 7), so I'm still confused as there is no /46.

Would be great to get help so I can contribute! :-D

Catley94 commented 1 week ago

OK after I my comment I continued to test and found I needed to choose 1, which installed: runtime/org.freedesktop.Sdk.Extension.rust-stable/x86_64/23.08

aknarts commented 1 week ago

I will try to be more exact in the instructions, this needs to be looked into more.

--- wrong account before