Minor Enhancements -with much patch noise- to make-ring.py
Attached is a provisional file / replacement for make-ring.py named build-jami.py.hold
And a diff -u of that against my local make-ring.py
Two objectives:
1/ Move namespace "ring" to "jami"
This seems to work OK with the current git tree on this apt based system
2/ Exploit apt a little more.
- added a command line argument --aptbuilds
- loads an "apt-cache depends jami" generated static list into %packages
- calls apt-get build-deps on a readily extended set of core packages.
I believe I have followed existing conventions.
As this was such a major albeit mostly cosmetic, alteration to the existing script I created a new version with a new name. ...
The .hold suffix is simply a convention that I use for my local .gitignore (s)
Observations:
-
Does not seem to break anything here while the use of the local developers kit has more flexibility.
i.e. effectively it allows the local sources.list repositories (and rules) - notably libs from ceres/sid/unstable or testing - also perhaps some of the required includes.
YMMV of course.
-
I experimented with grepping sid ceres from /etc/ Eventually realised that a simple human run time choice was just as effective. and given the dev can grok apt --help possibly less surprising.
(also discovered a whole lot of new python3.7 around Popen() and subprocess.run('', shell=True) )
- It seemed pointless adding this to the git tree on review.jami as jenkins would probably have a reportage spinout :)
So use, don't use ... this works for me.
It may work for somebody else.