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