-
Notifications
You must be signed in to change notification settings - Fork 922
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
Rec use meson to create dist file #15076
base: master
Are you sure you want to change the base?
Conversation
Pull Request Test Coverage Report for Build 12911942143Details
💛 - Coveralls |
Dir compare shows that the meson tarball has some extra files. The question is if we want to have these file sin the meson tarball as well. They would require ragel and python as abuild dep. I'd say include in tarball for ragel and nope for python generated files.
|
07127ce
to
b1d114d
Compare
gitignore files can be excluded pretty easily: #15078 |
@@ -0,0 +1,28 @@ | |||
#!/bin/sh -e | |||
|
|||
echo Runnig meson-dist-script |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
echo Runnig meson-dist-script | |
echo Running meson-dist-script |
Short description
Draft as I need to double check the differences between the the autotool generated tarball and meson generated tarball.
meson dist -C yourbuilddir --formats bztar
gets you the tarball.Meson dist uses a partial checkout of the tree for subprojects (as rec is), so symlinks into the parent are dangling. There is a dist script to fix those.
To bootstrap, a few symlinks are replaced in git by actual files, as the
project
clause needs them before the dist script is run.Next, after the dist dir is created, we replace the remaining symlinks into the rest of the tree by the actual files using some tar magic in the dist script.
I checked the produced tarbal can be used to build both using meson and autotools.
version.sh
script from meson docs: https://mesonbuild.com/Creating-releases.html#cement-a-version-obtained-from-vcsChecklist
I have: