...
Adapting pba to new Debian Release
Preprations
Code Block |
---|
OLDDN=bullseye
NEWDN=bookworm
# we prefix name of feature branches issue number or epic numbers
ISSUENR="8" ; BRANCHNAME="${ISSUENR}_adapt_to_debian_${NEWDN}" ; echo "Branch name: ${BRANCHNAME}" |
Adaptions for phase 1, towards GA
In phase 1 we make the new distribution known in the sense of adding a template for distributions.d/.
...
Adapt PBA and create PBA-Builder tarballs
See https://iteg.atlassian.net/l/cp/SGt5wKvo (access ITEG only for now).
--- current point of adaption to Debian Bookworm - --
...
-
...
See eventual separate notes (my ITEG's PBA-Tarball Notes are not public, sorry).
Adapt HelloWorld Projects
No Format |
---|
cd ~/sources/pba/trunk/pba-helloworld git checkout main ; git pull ; git checkout main git branch ${BRANCHNAME} && git checkout ${BRANCHNAME} && git status git push --set-upstream origin ${BRANCHNAME} pba-raiseversion # decide next version pba-raisversion -b 1.2.3 "Adding new Debian target distro ${NEWDN}" git add debian*/control debian*/changelog PBAO="." # or PBAO="arch|unix" # or in phase 2 or when combining PBAO="arch|unix|7" #pba-builddeps -i -o ${PBAO} #pba-instdeps -i -o ${PBAO} pba-build -u -i -o ${PBAO} # solve eventual problems PBADD=$(ls -1d debian* |grep -v mingw |head -1) ${EDITOR:-vi} ${PBADD}/changelog ${PBADD}/control pba-localbuild -u -o ${PBAO} # evtl. #pba-localrpmbuild -u -o ${PBAO} # wait for success git commit -m "Adding support for new Debian distro ${NEWDN}" git push # optional, eventually after merge in main pba-release -o ${PBAO} |
...
... with -o unix
or later -o "unix|9"
.
Adapt FANCYLIBS
See Adapting FancyLibs & MinGW-Pkg from Debian 9 Stretch to 10 Buster, Mingw-7 to Mingw-8.
Adapt pba-helloworld-portable
See above, use -o unix
.
Adapt MinGW if not down during FancyLibs adaption above
...
See above, with -o "unix|9" instead of "-o unix".
Adaptions for phase 2, once new release is settled
Once the new Debian release is settled and all VIP libraries and current projects can be built for it, we can declare it the new default value for DefaultDistribution
in pba-builder.conf
.
...