[OpenIndiana-discuss] oi-userland: create a package using only compilation with gcc
Till Wegmüller
toasterson at gmail.com
Mon Nov 17 20:09:46 UTC 2025
Also don't forget to make gmake setup in the root of the clone to setup
local publishing repo.
-Till
On 11/17/25 02:33, Vincent Torri wrote:
> ok, i use then meson to build muon. I can't publish, because I have
> some problems with my oi-userland clone. Here is an archive with
> Makefile, muon.license and muon.p5m
>
> I would be nice if you can publis muon yourself
> thank you
> Vincent Torri
>
> On Mon, Nov 17, 2025 at 7:42 PM Till Wegmüller <toasterson at gmail.com> wrote:
>>
>> Hi
>>
>> Complete custom commands is doable but quite complicated and it may
>> break more things than help since we always do custom settings. I do not
>> know if this workflow honors the Custom options we set for meson builds.
>>
>> If possible always use an exising Build tool to make a package. We can
>> talk about a BUILD_STYLE muon or updating meson build style to choose
>> muon with a second variable once we have muon packaged. Then we can
>> package muon with muon in successive versions.
>>
>> Muon will have to properly apply the changes me made though and with
>> meson that was quite some work if I recall.
>>
>> -Till
>>
>> On 11/17/25 19:28, Vincent Torri wrote:
>>> Actually, I don't want to use meson. I want to launch these commands
>>> (see the link above) :
>>>
>>> ./bootstrap.sh build
>>> build/muon-bootstrap setup build
>>> build/muon-bootstrap -C build samu
>>> build/muon -C build install
>>>
>>> Is it possible ? If not, then I'll use meson to build muon
>>>
>>> Vincent
>>>
>>> On Mon, Nov 17, 2025 at 6:13 PM Till Wegmüller <toasterson at gmail.com> wrote:
>>>>
>>>> Hi Vincent
>>>>
>>>> Lovely to see you working on the package.
>>>> The BUILD_STYLE macro picks the pre made targets from
>>>> [make-rules](https://github.com/OpenIndiana/oi-userland/tree/oi/hipster/make-rules)
>>>> BUILD_STYLE = meson would pick
>>>> [make-rules/meson.mk](https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/make-rules/meson.mk)
>>>> which runs roughly what you want plus predefined common options. It's a
>>>> bit hard to parse in code but when you run the recipe, it will give you
>>>> the exact invocation it will run. Mesa demos uses mson for example
>>>> https://github.com/OpenIndiana/oi-userland/blob/c5206146c95aefde02a403621d83ee7ae21f54b8/components/x11/mesa-demos/Makefile#L18
>>>> a more complex one is Pulseaudio
>>>> https://github.com/OpenIndiana/oi-userland/blob/c5206146c95aefde02a403621d83ee7ae21f54b8/components/desktop/pulseaudio/Makefile#L19
>>>>
>>>> Hope this helps.
>>>> Till
>>>>
>>>>
>>>> On 11/16/25 20:12, Vincent Torri wrote:
>>>>> Hello
>>>>>
>>>>> I would like to add the 'muon' project, which is a C99 port of meson
>>>>> (quite faster than meson itself), which also integrates a C99 port of
>>>>> ninja. I could use meson to build it, but it can also be built without
>>>>> it. The commands can be found there :
>>>>>
>>>>> https://github.com/muon-build/muon?tab=readme-ov-file#install
>>>>>
>>>>> In the Makefile file, what should I use for BUILD_STYLE so that these
>>>>> commands are launched ?
>>>>>
>>>>> Thank you
>>>>>
>>>>> Vincent Torri
>>>>>
>>>>> _______________________________________________
>>>>> openindiana-discuss mailing list
>>>>> openindiana-discuss at openindiana.org
>>>>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>>>>
>>>> _______________________________________________
>>>> openindiana-discuss mailing list
>>>> openindiana-discuss at openindiana.org
>>>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>>>
>>> _______________________________________________
>>> openindiana-discuss mailing list
>>> openindiana-discuss at openindiana.org
>>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>>
>> _______________________________________________
>> openindiana-discuss mailing list
>> openindiana-discuss at openindiana.org
>> https://openindiana.org/mailman/listinfo/openindiana-discuss
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the openindiana-discuss
mailing list