View Issue Details

IDProjectCategoryView StatusLast Update
0004814FreeCADFeaturepublic2022-01-24 18:46
Reportermcgiwer Assigned ToKunda1  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionsuspended 
Platformamd64OSDebianOS Version10+
Product Version0.20 
Summary0004814: Removal of duplicates of system files and folders from the FreeCAD AppImage
DescriptionI would like to propose to remove the folders and files that got duplicated from the system into the FreeCAD's AppImage.

Applying of this proposal would have following adventages for the users:

  • Reduction of the AppImage's size
  • Reduction of the RAM footprint (amount of RAM needed to extract the AppImage adn run FreeCAD itself)
  • Possible increase of efficiency of the extration and running process
  • Removal of possible conflicts in between the duplicated in AppImage system files and the system ones
  • Security: preventing of using the older system files (programs, libraries, configurations, etc.) inside of the AppImage instead of the frequently updated inside of the system
  • Easier implementations of the usage of newer functions, enviroment support, etc. by making FreeCAD refer itself to the system files instead of the ones inside of the AppImage

Steps To Reproducen/a
Additional InformationOS: Debian 10 with plan to update
Perl: 3.9
Tags#tobeclosed
FreeCAD InformationVersion: 0.19.3
Re-downloaded: 26 Dec 2021

Activities

openBrain

2022-01-03 10:59

developer   ~0016185

@mcgiwer : the purpose of an AppImage is to embed all needed dependencies so it can lone run on any platform.
Your proposal makes no sense as it would remove interest in AppImage. :/

mcgiwer

2022-01-03 11:33

reporter   ~0016188

@openBrain: I think that in the good solution for this issue would be to allow FreeCAD to use the system files instead of implementing the similiar files into AppImage, because it may cause in the futture versions additional issues and work for the developer team (my proposal is directed to avoid it from happening bacause I know that the dev team is already busy enough without that).

If an AppImage itself is the reason of this and/or similiar issues then I would propose to consider distributing FreeCAD in other form (like for example compressed archives, with has also additional adventage).

openBrain

2022-01-03 11:41

developer   ~0016189

@mcgiwer : FreeCAD is already distributed as many different packages (official repos, PPA, snap, AppImage, sources, ...). Saying "compressed archives" has no sense without telling what is inside.
Are you aware that an application shall be specifically compiled against the libraries that it will then run beside ?

mcgiwer

2022-01-03 11:51

reporter   ~0016190

Last edited: 2022-01-03 12:01

@openBrain:


FreeCAD is already distributed as many different packages (official repos, PPA, snap, AppImage, sources, ...)

openbrain

Actually, not exactly. On the main website there are very limited choices (for example, for Linux systems are only AppImage avaliable)


Saying "compressed archives" has no sense without telling what is inside.

openbrain

I think that it's obvious that the archive would contain the FreeCAD application itself (the content of the "usr" directory after extracting the AppImage, of corse, except the duplicated system files).


Are you aware that an application shall be specifically compiled against the libraries that it will then run beside ?

openbrain
Maybe there should be a function in the startup script that would ensure that the needeed packages become downloaded and installed (in case they don't exist) before the FreeCAD would start ?

Additionally, some files are unessecary split into so many folders and this can cause some confusion as well (that why I had proposed to make the folder structure more simple)

openBrain

2022-01-03 13:56

developer   ~0016191

@mcgiwer
Actually, not exactly. On the main website there are very limited choices (for example, for Linux systems are only AppImage avaliable)
Maybe you're too lazy to read the text below the download link :/
I think that it's obvious that the archive would contain the FreeCAD application itself (the content of the "usr" directory after extracting the AppImage, of corse, except the duplicated system files).
No sense to talk about "duplicated system files". AppImage runs over all Linux platforms. No one is similar to another. As I said, it's purpose of it to come with all dependencies.
Maybe there should be a function in the startup script that would ensure that the needeed packages become downloaded and installed (in case they don't exist) before the FreeCAD would start ?
This just doesn't look serious regarding system maintenance...

mcgiwer

2022-01-03 14:07

reporter   ~0016192

@openBrain: I'm trying to help to find a good way to get FreeCAD become even better.

Please see the Download page at FreeCAD website first to see what options are avaliable for most users. Besides of that, Wiki does not describe all options of getting it. For example, there is no link for downloading of FreeCAD in a form of you compressed archive (what you had listed as one of possibilities).

By the way, I haven't ever wrote that there is no possibility to download FreeCAD from a PPA ;-)

openBrain

2022-01-03 14:19

developer   ~0016193

@mcgiwer
I'm trying to help to find a good way to get FreeCAD become even better.
Please do so in the forum. That's not purpose of the tracker. ;)

Kunda1

2022-01-24 18:46

administrator   ~0016274

@mcgiwer thanks for our intention to improve the AppImage. Please do open a forum thread. The correct place beside the forum is https://github.com/FreeCAD/FreeCAD-Bundle

Closing this ticket.

Issue History

Date Modified Username Field Change
2021-12-26 13:08 mcgiwer New Issue
2022-01-03 10:59 openBrain Note Added: 0016185
2022-01-03 10:59 openBrain Tag Attached: #tobeclosed
2022-01-03 11:33 mcgiwer Note Added: 0016188
2022-01-03 11:41 openBrain Note Added: 0016189
2022-01-03 11:51 mcgiwer Note Added: 0016190
2022-01-03 11:55 mcgiwer Note Edited: 0016190
2022-01-03 11:56 mcgiwer Note Edited: 0016190
2022-01-03 11:58 mcgiwer Note Edited: 0016190
2022-01-03 12:00 mcgiwer Note Edited: 0016190
2022-01-03 12:01 mcgiwer Note Edited: 0016190
2022-01-03 13:56 openBrain Note Added: 0016191
2022-01-03 14:07 mcgiwer Note Added: 0016192
2022-01-03 14:19 openBrain Note Added: 0016193
2022-01-24 18:46 Kunda1 Assigned To => Kunda1
2022-01-24 18:46 Kunda1 Status new => closed
2022-01-24 18:46 Kunda1 Resolution open => suspended
2022-01-24 18:46 Kunda1 Note Added: 0016274