Easy2Install packages and .library dependencies?
  • Order of the Butterfly
    Order of the Butterfly
    Samurai_Crow
    Posts: 188 from 2009/12/10
    From: Minnesota, USA
    Greetings! This message is mainly (but not exclusively) for Papiosaur:

    In the process of resurrecting my neglected ECX fork called EEC (AmigaE compiler), I'm planning on extracting the PPC and 68k backends to shared libraries to make the compiler more modular and maintainable. The compiler executable will depend on external libraries to do anything at all. As such, I need to maintain every backend as a shared library dependency but also note that most backends will be cross-compilers.

    This leads me to the next problem: Easy2Install has its own package format that I'm not familiar with. I also need to support 68k and OS4 package formats as well. If there isn't a documented format to generate, I need to write a generator script for each package format. Also, I see in the current Easy2Install readme that Installer scripts are part of the install process. How does that affect the package format?

    TLDR
    Mainly what I want to know is: Where is the Easy2Install package creation information?

    EDIT
    I forgot to mention that I have Hollywood 9 if that helps.

    [ Edited by Samurai_Crow 24.07.2025 - 07:13 ]
  • »24.07.25 - 13:11
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Papiosaur
    Posts: 2417 from 2003/4/10
    From: France
    Hi Samurai_Crow,

    The packages are just simple LHA archives.

    Easy2Install just extract LHA archives to a predefined destination.

    On the server, i indicate to Easy2Install what sort of archive is.

    with executable, without executable, with installer script generally.

    There is a specific codification for the name of archive, name of drawer and name of executable if exists.

    Example:

    Title_1.0.lha as archive name
    Title as drawer name
    Title as executable name or Title-install for installer script (or just Install)

    Normally all is in the Readme but maybe not all...

    There are specific archives containing source code:

    Title-1.0.lha as archive name
    Title-10 as drawer name
  • »24.07.25 - 14:37
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Samurai_Crow
    Posts: 188 from 2009/12/10
    From: Minnesota, USA
    I guess what I really wanted to know was: Do I need to do anything special to make interdependent packages beyond the README files in the MorphOS Storage upload?
  • »24.07.25 - 17:26
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Papiosaur
    Posts: 2417 from 2003/4/10
    From: France
    Quote:

    Samurai_Crow a écrit :
    I guess what I really wanted to know was: Do I need to do anything special to make interdependent packages beyond the README files in the MorphOS Storage upload?

    Sorry, i understand the term "to make interdependent packages"
  • »25.07.25 - 04:40
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Samurai_Crow
    Posts: 188 from 2009/12/10
    From: Minnesota, USA
    EEC is going to move its code generation to a "codegen.library" containing optimizer code, a MorphOS ABI library and a PowerPC library doing the actual code generation. Optional other libraries will include 68020 based AmigaOS HUNK libraries for cross-development. How do I make sure it gets the library packages it needs?

    [ Edited by Samurai_Crow 25.07.2025 - 04:37 ]
  • »25.07.25 - 10:36
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Samurai_Crow
    Posts: 188 from 2009/12/10
    From: Minnesota, USA
    Thanks!
  • »25.07.25 - 12:04
    Profile
  • jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Posts: 2171 from 2003/2/24
    From: po-RNO
    Quote:

    Samurai_Crow wrote:
    How do I make sure it gets the library packages it needs?

    Use Grunch. Ask for your own database from Geit, or create an entry and I'll add it to my RNO database, for example.
    The wiki based MorphOS Library - Your starting point for MorphOS
    Software and other things made by me
  • »25.07.25 - 18:22
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Samurai_Crow
    Posts: 188 from 2009/12/10
    From: Minnesota, USA
    Ok. Grunch it is!
  • »30.07.25 - 11:32
    Profile
  • MorphOS Developer
    geit
    Posts: 1063 from 2004/9/23
    You don't need any help from me. Just create your own database and spread it.

    Once a user has dropped it into his Grunch folder, he automatically gets any updates. Thats the beauty of the concept.
  • »30.07.25 - 14:41
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Samurai_Crow
    Posts: 188 from 2009/12/10
    From: Minnesota, USA
    Can a Grunch database run from a Git server like GitHub or CodeBerg?
  • »30.07.25 - 15:15
    Profile
  • MorphOS Developer
    geit
    Posts: 1063 from 2004/9/23
    Quote:

    Samurai_Crow wrote:
    Can a Grunch database run from a Git server like GitHub or CodeBerg?


    In therory yes, as it is just a download. Practical I never managed to use reggae for download back than, so I build my own stuff, which now backfires as https is not supported.
  • »30.07.25 - 15:19
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Samurai_Crow
    Posts: 188 from 2009/12/10
    From: Minnesota, USA
    @Papiosaur

    I see that MorphOS-Storage.net allows unencrypted downloads, would a Grunch database file be welcome in one of its directories? Maybe it doesn't allow http as I thought. http://www.morphos-storage.net/?page=Network/PackageManager might have worked.

    Aminet definitely allows http but is more reliable using ftp. I don't want to hammer the servers of all the mirrors though, every time somebody powers up Grunch.

    @geit
    What download protocols do work? Just http?
  • »30.07.25 - 16:27
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Samurai_Crow
    Posts: 188 from 2009/12/10
    From: Minnesota, USA
    Quote:

    Papiosaur wrote:
    You want i upload your Grunch database and your archives in a dedicated place of the serveur of the storage to be usable with Grunch that it?


    Yes! That would be great! Amiga-Storage.net is unencrypted even though MorphOS-Storage.net is not. However, the download count of a Grunch database would be oddly high, no matter how small the file.
  • »30.07.25 - 16:58
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Samurai_Crow
    Posts: 188 from 2009/12/10
    From: Minnesota, USA
    Downloadable but not visible outside of Grunch will be preferred. Thanks for letting me know about Amiga-Storage. MorphOS-Storage should be great!

    Keep in mind that I haven't written the code yet for the new compiler version. It's just a fork of ECX for now.
  • »31.07.25 - 11:39
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Samurai_Crow
    Posts: 188 from 2009/12/10
    From: Minnesota, USA
    Thanks! You've been very helpful!
  • »31.07.25 - 11:59
    Profile