-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add meson build system for building the packages from the sources. #147
base: master
Are you sure you want to change the base?
Conversation
…t, but shortly I will have some more time to make it working.
…VERSION variable substitution at complie time. This is how the original MAkefile does it, it adds the VERSION at complie time to be replaced in the .c files. Probably an more elegant solution would be to use the config.h file.
Hi Sasa, I'm not clear on the intent behind adding Meson. My current Makefile automatically detects source files, so I don’t need to update it manually when files are added or removed. From my perspective, introducing Meson only adds maintenance overhead, and requires me to learn another build system. Could you clarify what problem Meson solves for this project? Thanks, |
@geoffreybennett hi, thanks for answering it. I see it as a benefit in long term of the project, where you need to add some other dependencies, configuring options, and especially for packagers. I use slackware and I packaged a lot of gnome software for my long term project during the years (droplinegnome.org) , gnome mostly moved to meson for simplicity in maintaining and speed on comipling , maybe there are other benefits to it. I have to inform that I am all new to meson build system, and did this mostly for learning it a bit. Now my push request is a draft because I have not finished it yet and could not get some feedback from you or knew how to get in touch with you. I have to still finish the "ninja install" and then this will be at par with your makefiles I think. As for the automatic detection of the source files and headers that is easy to do it I am sure of it. I have just started by translating your makefiles to meson with what I knew and therefore just added a list of sources. My intention is not to force the project to adopt this PR, because I did it for myself learning. So I just tought that it could be nicer to have a more modern build system, and be more close to other GTK4 projects. Thats it, but probably there are other benefits of having meson in. Rgds |
Hello @geoffreybennett , I have been working on this for some time now and would like to see
this pushed into the main branch so who wants to build the sources for your project could use the meson build system.
This PR will only add the needed files to benefit packagers and other people building it from sources.
It can coexist with the Makefiles you use and it has no need to change anything at all.
I would like to hear your comments on this if something else is needed to be changed. So I could work on implementing it.
To build the project now it involves few steps as below:
Rgds
Sasa