You are not logged in.

#26 2022-11-29 01:10:16

BogdanTheGeek
Member
Registered: 2022-11-28
Posts: 15

Re: [SOLVED]PKGBUILD post_remove() help

Trilby wrote:

Additionally, as I really dont care to mess with fuse or app images, you can still likely skip the installer and just extract the appimage.  Under the extracted directory, you'd be interested in the content of opt/e2studio_installer/install/repos/e2studio/ which is the actual goal: the ide software.  I suspect that whole directory could be copied to ${pkgdir}/opt and then a tiny launcher script put in ${pkgdir}/usr/bin to run the ide from /opt.

Thanks for your help, this puts me on the right track. I will need to learn a bit more about packaging and figure out which files need to be copied over.

Offline

#27 2022-11-29 01:12:15

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,722
Website

Re: [SOLVED]PKGBUILD post_remove() help

I believe squashfs-root/opt/e2studio_installer/install/repos/e2studio/binary/com.renesas.ide.(long name here) is the primary executable or java jar (edit: perhaps not as java can't run it) - but I suspect it will need all / most of the other content in the repos/e2studio directory.

I did just get the installer to run - I had one misleading error similar to one about swt-pi4 library that you noted earlier, but on checking with ldd on some of the java .so files, I saw they linked to libgtk3 which was not installed.  Once gtk3 was installed, the installer loaded and ran fine.  But I'm not onto any great insight yet on how to manually extract the files and side-step the installer.

Last edited by Trilby (2022-11-29 01:27:18)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#28 2022-11-29 22:49:12

ayekat
Member
Registered: 2011-01-17
Posts: 1,600

Re: [SOLVED]PKGBUILD post_remove() help

I just noticed that I had misread the post_remove() function when I responded. I thought it simply removes that file in some homedir, not that it would execute it.

Sorry for the confusion!


pkgshackscfgblag

Offline

Board footer

Powered by FluxBB