From 99ce481689664c6d2579c0679afa9e00220cf084 Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Thu, 26 Jun 2025 15:40:19 +0100 Subject: [PATCH 1/2] Fix debuild instructions in software-sources.adoc --- documentation/asciidoc/computers/software-sources.adoc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/documentation/asciidoc/computers/software-sources.adoc b/documentation/asciidoc/computers/software-sources.adoc index 9079a426c..fad109dce 100644 --- a/documentation/asciidoc/computers/software-sources.adoc +++ b/documentation/asciidoc/computers/software-sources.adoc @@ -2,7 +2,7 @@ At Raspberry Pi we're trying to open source as much of our code as possible to m == Finding software sources in Raspberry Pi OS -When looking for software which is distributed with Raspberry Pi OS, there are often upstream software sources that we patch to create our downstream packages (those tagged with `pass:[+rpt]`). To view the source for those packages it is usually easier to fetch through apt. To do this, you first need to edit your apt lists to include the source packages. The following files should be edited to remove the leading `pass:[#]` from each line: +When looking for software which is distributed with Raspberry Pi OS, there are often upstream software sources that we patch to create our downstream packages (those tagged with `pass:[+rpt]`). To view the source for those packages it is usually easier to fetch through apt. To do this, you first need to edit your apt lists to include the source packages. The following files should be edited to remove the leading `pass:[#]` from each `deb-src` line: * `+/etc/apt/sources.list+` * `+/etc/apt/sources.list.d/raspi.list+` @@ -21,11 +21,19 @@ Now you can fetch the package source, for example: $ apt source labwc ---- +Next you need to install a helper package: + +[source,console] +---- +$ sudo apt install devscripts +---- + Finally you can build the package using the standard Debian building process. [source,console] ---- $ sudo apt build-dep labwc +$ cd labwc-0.8.4 $ debuild -uc -us ---- From 04f2bf36bf636291416363666aa4144a8a1391d1 Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Wed, 3 Sep 2025 00:54:38 +0100 Subject: [PATCH 2/2] Update documentation/asciidoc/computers/software-sources.adoc Co-authored-by: Jeunese --- documentation/asciidoc/computers/software-sources.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/asciidoc/computers/software-sources.adoc b/documentation/asciidoc/computers/software-sources.adoc index fad109dce..bc5113411 100644 --- a/documentation/asciidoc/computers/software-sources.adoc +++ b/documentation/asciidoc/computers/software-sources.adoc @@ -21,7 +21,7 @@ Now you can fetch the package source, for example: $ apt source labwc ---- -Next you need to install a helper package: +Next, you need to install a helper package: [source,console] ----