[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building gambas on OBS


Am 14.11.24 um 16:11 schrieb gbWilly:
On Monday, November 11th, 2024 at 16:22, munix9 munix9@xxxxxxxxxxxxxx <mailto:munix9@xxxxxxxxxxxxxx> wrote:

    Take a look at the result:

    https://build.opensuse.org/project/monitor/home:munix9:gambas
    <https://build.opensuse.org/project/monitor/home:munix9:gambas>
    https://software.opensuse.org//download.html?
    project=home%3Amunix9%3Agambas&package=gambas3 <https://
    software.opensuse.org//download.html?
    project=home%3Amunix9%3Agambas&package=gambas3>

    I don't know right now why Arch isn't showing up in the downloads -
    maybe a cache thing, so it might take a while.

    This was created relatively quickly, so it may still have a few
    rough edges.

    I stole the PKGBUILD for arch from their build-system and adapted it, as
    well as the Debian/Ubuntu config from their build-system.

    And of course it's still not always easy to find the right setup for the
    different distributions - especially with Debian/Ubuntu, as the format
    of the build instructions is not as flexible as with rpm (my opinion).

    The project configuration also sometimes needs to be adjusted:
    https://build.opensuse.org/projects/home:munix9:gambas/prjconf
    <https://build.opensuse.org/projects/home:munix9:gambas/prjconf>


I can see in the configuration you made (https://build.opensuse.org/ projects/home:munix9:gambas/packages/gambas3/files/gambas3- Debian_11.dsc?expand=1 <https://build.opensuse.org/projects/ home:munix9:gambas/packages/gambas3/files/gambas3-Debian_11.dsc? expand=1>) that you are making the wrong packages and are missing out on new ones. Do not use the Debian official recipes. They do NOT package gambas at it should be done. And Ubuntu takes from upstream Debian so that might be problematic too (didn' t investigate). I do not quite get this format of configuration file as it is not 'the Debian way' I am familiar with.

This is what I wrote about it (and I send mail to Debian packagers, but no response):

"/Gambas from official debian repository, is not packaged according to the current package specification and uses a few depricated package names for packages and thus has an older dependency model when it comes to handling gui (all being still pre Gambas 3.18 on official debian). It also has some wrong dependecies on gambas runtime causing it to install all kind of gui parts, when installing a command line gambas application on a non-gui debian server (that is when I decided to restart packaging my own Gambas for Debian, as I had done it before for internal use)./"

Yes, thanks for your objection, this has already been clarified and I have pointed out several times in my posts here that the setup I created is a *test*, a *proof-of-concept*.

It is intended to show what OBS can do and whether Gambas could benefit from it.

It is *not* intended to install and use the packages created there - unless someone really wants to try that (preferably in a VM).

In the meantime, I will deactivate the publishing of packages so that nobody gets any ideas.


I have made new recipes for Debian and they can be freely downloaded and used. So feel free to use them for making packages. The 3.19.5 recipe can be used for 3.19.6 https://gitlab.com/gbWilly/gambas3-debian-repository/-/tree/main/ recipes?ref_type=heads <https://gitlab.com/gbWilly/gambas3-debian- repository/-/tree/main/recipes?ref_type=heads>

Yup, I think Benoît is already working on it.

Thanks and regards


gbWilly




Follow-Ups:
Re: Building gambas on OBSBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
References:
Building gambas on OBSmunix9 <munix9@xxxxxxxxxxxxxx>
Re: Building gambas on OBSgbWilly <gbWilly@xxxxxxxxxxxxxx>