Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Started on Debian 12 Bookworm

...

The first version of this page was created when Debian Buster was on it's way from Full Freeze to GA, we were still using svn back then (mostly git now).

Currently we are in the progress of adapting to Debian from Bullseye, and we have switched from svn to git. Currently this  to Bookworm, so this is WORK IN PROGRESS rg. BullseyeBookworm.

Adapting pba to new Debian Release

Preprations

Code Block
OLDDN=stretchbullseye
NEWDN=busterbookworm

# we prefix name of feature branches issue number or epic numbers
ISSUENR="e18" ; BRANCHNAME="${ISSUENR}_adapt_to_debian_11_${NEWDN}" ; echo "Branch name: ${BRANCHNAME}"

...

Code Block
cd ~/sources/pba/gitpba/pba

git checkout main ; git pull ; git checkout main

git branch ${BRANCHNAME} && git checkout ${BRANCHNAME} && git status

git push --set-upstream origin ${BRANCHNAME}

cat src/etc/pba/distributions.d/${OLDDN} |sed -e "s/${OLDDN}/${NEWDN}/g" >src/etc/pba/distributions.d/${NEWDN}
${EDITOR:-vi} src/etc/pba/distributions.d/${NEWDN}

git add src/etc/pba/distributions.d/${NEWDN}

# evtl. drop ancient ones
git rm src/etc/pba/distributions.d/foobar

pba-raiseversion

pba-raiseversion -b 1.6.31-0 "Adapting to distribution Debian 12 Bookworm"

${EDITOR:-vi} debian/changelog debian-unix/rules debian*/pba-common.install src/etc/pba/distributions.d/${NEWDN}
# debian-unix/control
# src/etc/pba/builder.conf.template src/lib/build-functions.pl

# commit
git commit -m "Adding support for new Debian distro ${NEWDN}"

git push

# evtl. release it locally, or in Gitlab
pba-release

--- current point of adaption to Debian Bookworm ---

Create PBA-Builder tarballs

See eventual separate notes (my ITEG's PBA-Tarball Notes are not public, sorry).

Adapt HelloWorld Projects

...

... 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.

Create PBA-Builder tarballs

See eventual separate notes (my ITEG's PBA-Tarball Notes are not public, sorry).

Adapt MinGW

See mingw 6 rebuild order.

...