Last modified by christoph_lechleitner@iteg_at on 2025-08-11 12.45:34

From version 7.1
edited by christoph_lechleitner@iteg_at
on 2021-10-01 09.49:14
Change comment: Reflecting switch from svn to git, first adaptions rg. debian 11 bullseye
To version 8.1
edited by christoph_lechleitner@iteg_at
on 2023-03-24 08.55:42
Change comment: Started on Debian 12 Bookworm

Summary

Details

Page properties
Content
... ... @@ -4,9 +4,9 @@
4 4  
5 5  The following notes shall provide a step-by-step-plan for adapting the [[PBA Package Builder + Archiver>>doc:PBA.WebHome]] to a new Debian release and shall make it more efficient for the next Debian.
6 6  
7 -The first version of this page was created when Debian [[Buster>>url:https://wiki.debian.org/DebianBuster||shape="rect"]] was on it's way from Full Freeze to GA.
7 +The first version of this page was created when Debian [[Buster>>url:https://wiki.debian.org/DebianBuster||shape="rect"]] was on it's way from Full Freeze to GA, we were still using {{code language="none"}}svn{{/code}} back then (mostly {{code language="none"}}git{{/code}} now).
8 8  
9 -Currently we are in the progress of adapting to Debian [[Bullseye>>url:https://wiki.debian.org/DebianBullseye||shape="rect"]], and we have switched from {{code language="none"}}svn{{/code}} to {{code language="none"}}git{{/code}}. Currently this is __WORK IN PROGRESS__ rg. Bullseye.
9 +Currently we are in the progress of adapting from [[Bullseye>>url:https://wiki.debian.org/DebianBullseye||shape="rect"]] to [[Bookworm>>url:https://wiki.debian.org/DebianBookworm||shape="rect"]], so this is __WORK IN PROGRESS__ rg. Bookworm.
10 10  
11 11  = {{id name="AdaptingPBAtonewDebianRelease-AdaptingpbatonewDebianRelease"/}}Adapting pba to new Debian Release =
12 12  
... ... @@ -13,11 +13,11 @@
13 13  === {{id name="AdaptingPBAtonewDebianRelease-Preprations"/}}Preprations ===
14 14  
15 15  {{code}}
16 -OLDDN=stretch
17 -NEWDN=buster
16 +OLDDN=bullseye
17 +NEWDN=bookworm
18 18  
19 19  # we prefix name of feature branches issue number or epic numbers
20 -ISSUENR="e1"BRANCHNAME="${ISSUENR}_adapt_to_debian_11_${NEWDN}" ; echo "Branch name: ${BRANCHNAME}"
20 +ISSUENR="8" ; BRANCHNAME="${ISSUENR}_adapt_to_debian_${NEWDN}" ; echo "Branch name: ${BRANCHNAME}"
21 21  {{/code}}
22 22  
23 23  === {{id name="AdaptingPBAtonewDebianRelease-Adaptionsforphase1,towardsGA"/}}Adaptions for phase 1, towards GA ===
... ... @@ -25,7 +25,7 @@
25 25  In phase 1 we make the new distribution known in the sense of adding a template for distributions.d/.
26 26  
27 27  {{code}}
28 -cd ~/sources/pba/git/pba
28 +cd ~/sources/pba/pba/pba
29 29  
30 30  git checkout main ; git pull ; git checkout main
31 31  
... ... @@ -34,21 +34,38 @@
34 34  git push --set-upstream origin ${BRANCHNAME}
35 35  
36 36  cat src/etc/pba/distributions.d/${OLDDN} |sed -e "s/${OLDDN}/${NEWDN}/g" >src/etc/pba/distributions.d/${NEWDN}
37 +${EDITOR:-vi} src/etc/pba/distributions.d/${NEWDN}
38 +
37 37  git add src/etc/pba/distributions.d/${NEWDN}
38 38  
39 39  # evtl. drop ancient ones
40 40  git rm src/etc/pba/distributions.d/foobar
41 41  
42 -${EDITOR:-vi} debian/changelog debian/rules debian/pba-common.install src/etc/pba/distributions.d/${NEWDN} debian/control
44 +pba-raiseversion
45 +
46 +pba-raiseversion -b 1.6.31-0 "Adapting to distribution Debian 12 Bookworm"
47 +
48 +${EDITOR:-vi} debian-unix/rules debian*/pba-common.install src/etc/pba/distributions.d/${NEWDN}
49 +# debian-unix/control
43 43  # src/etc/pba/builder.conf.template src/lib/build-functions.pl
44 44  
45 45  # commit
46 46  git commit -m "Adding support for new Debian distro ${NEWDN}"
47 47  
48 -# release it
55 +git push
56 +
57 +# evtl. release it locally, or in Gitlab
49 49  pba-release
59 +
60 +
50 50  {{/code}}
51 51  
63 +=== {{id name="AdaptingPBAtonewDebianRelease----currentpointofadaptiontoDebianBookworm---"/}}**~-~-- current point of adaption to Debian Bookworm ~-~--** ===
64 +
65 +=== {{id name="AdaptingPBAtonewDebianRelease-CreatePBA-Buildertarballs"/}}Create PBA-Builder tarballs ===
66 +
67 +See eventual separate notes (my [[ITEG's PBA-Tarball Notes>>url:https://confluence.iteg.at/x/l4Kg||shape="rect"]] are not public, sorry).
68 +
52 52  === {{id name="AdaptingPBAtonewDebianRelease-AdaptHelloWorldProjects"/}}Adapt HelloWorld Projects ===
53 53  
54 54  {{code language="none"}}
... ... @@ -109,8 +109,6 @@
109 109  
110 110  === {{id name="AdaptingPBAtonewDebianRelease-AdaptFANCYLIBS"/}}Adapt [[doc:FANCYLIBS.WebHome]] ===
111 111  
112 -**~-~-- current point of adaption to Debian Bullseye ~-~--**
113 -
114 114  See [[Adapting FancyLibs & MinGW-Pkg from Debian 9 Stretch to 10 Buster, Mingw-7 to Mingw-8>>doc:FANCYLIBS.Adapting FancyLibs & MinGW-Pkg from Debian 9 Stretch to 10 Buster, Mingw-7 to Mingw-8.WebHome]].
115 115  
116 116  === {{id name="AdaptingPBAtonewDebianRelease-Adaptpba-helloworld-portable"/}}Adapt pba-helloworld-portable ===
... ... @@ -117,10 +117,6 @@
117 117  
118 118  See above, use {{code language="none"}}-o unix{{/code}}.
119 119  
120 -=== {{id name="AdaptingPBAtonewDebianRelease-CreatePBA-Buildertarballs"/}}Create PBA-Builder tarballs ===
121 -
122 -See eventual separate notes (my [[ITEG's PBA-Tarball Notes>>url:https://confluence.iteg.at/x/l4Kg||shape="rect"]] are not public, sorry).
123 -
124 124  === {{id name="AdaptingPBAtonewDebianRelease-AdaptMinGW"/}}Adapt [[MinGW>>doc:MINGW64.WebHome]] ===
125 125  
126 126  See [[doc:MINGW64.mingw 6 rebuild order.WebHome]].
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -968785981
1 +968687752
URL
... ... @@ -1,1 +1,1 @@
1 -https://clazzes.atlassian.net/wiki/spaces/PBA/pages/968785981/Adapting PBA to new Debian Release
1 +https://clazzes.atlassian.net/wiki/spaces/PBA/pages/968687752/Adapting PBA to new Debian Release