zo zrewidował ten Gist . Przejdź do rewizji
1 file changed, 2 insertions, 2 deletions
packaging_alsa-ucm-conf.md
| @@ -16,11 +16,11 @@ Add a new patch | |||
| 16 | 16 | gbp pq import | |
| 17 | 17 | git revert 7283759a381ca1fc2589da213daa05f9d3b84aac | |
| 18 | 18 | ||
| 19 | - | # Remove changes to some existing patches | |
| 19 | + | # Remove changes to some existing patches in the queue (?) | |
| 20 | 20 | git checkout -- debian/patches/000[123]* | |
| 21 | 21 | ||
| 22 | 22 | git add debian/patches | |
| 23 | - | dch -i # And edit the Debian changelog message and version number (i.e. replace "ubuntu" with a better name) | |
| 23 | + | dch -i # And edit the Debian changelog message and version number. Replace "ubuntu" with a better name, e.g. "aesthr" :) | |
| 24 | 24 | git commit -a -m "Closes #1110637" | |
| 25 | 25 | git tag debian/1.2.14-1aesthr1 # From the changelog | |
| 26 | 26 | ``` | |
zo zrewidował ten Gist . Przejdź do rewizji
1 file changed, 38 insertions
packaging_alsa-ucm-conf.md(stworzono plik)
| @@ -0,0 +1,38 @@ | |||
| 1 | + | # Rebuilding alsa-ucm-conf | |
| 2 | + | ||
| 3 | + | Install the Git packaging tools | |
| 4 | + | ```sh | |
| 5 | + | sudo apt install git-buildpackage | |
| 6 | + | ``` | |
| 7 | + | ||
| 8 | + | Clone the maintainers' Git repository | |
| 9 | + | ```sh | |
| 10 | + | git clone https://salsa.debian.org/alsa-team/alsa-ucm-conf.git | |
| 11 | + | cd alsa-ucm-conf | |
| 12 | + | ``` | |
| 13 | + | ||
| 14 | + | Add a new patch | |
| 15 | + | ```sh | |
| 16 | + | gbp pq import | |
| 17 | + | git revert 7283759a381ca1fc2589da213daa05f9d3b84aac | |
| 18 | + | ||
| 19 | + | # Remove changes to some existing patches | |
| 20 | + | git checkout -- debian/patches/000[123]* | |
| 21 | + | ||
| 22 | + | git add debian/patches | |
| 23 | + | dch -i # And edit the Debian changelog message and version number (i.e. replace "ubuntu" with a better name) | |
| 24 | + | git commit -a -m "Closes #1110637" | |
| 25 | + | git tag debian/1.2.14-1aesthr1 # From the changelog | |
| 26 | + | ``` | |
| 27 | + | ||
| 28 | + | Apply the new patch | |
| 29 | + | ```sh | |
| 30 | + | gbp pq --force import | |
| 31 | + | git checkout debian/master | |
| 32 | + | gbp buildpackage | |
| 33 | + | ``` | |
| 34 | + | ||
| 35 | + | Install the new package | |
| 36 | + | ```sh | |
| 37 | + | sudo dpkg -i ../alsa-ucm-conf_1.2.14-1aesthr1_all.deb | |
| 38 | + | ``` | |