@@ -12,17 +12,17 @@ that breakage won't occur, you should replace the submodule with actual packaged
1212dependency.
1313
1414If you choose this path, you will likely have to [ patch the build
15- system] ( packaging-j4-dmenu-desktop.md#when-their-build-system-is-broken ) or
16- modify it in some other way to accept the packaged dependency. If you are
15+ system] ( ../xbps-src-tutorial/ packaging-j4-dmenu-desktop.md#when-their-build-system-is-broken)
16+ or modify it in some other way to accept the packaged dependency. If you are
1717knowledgable of git submodules and upstream's build system, you could propose a
1818more packaging friendly way to handle dependencies [ to
19- upstream] ( troubleshooting.md#notifying-upstream ) .
19+ upstream] ( ../ troubleshooting.md#notifying-upstream) .
2020
2121But if the project is using a old version of the submodule or a customized one,
2222this likely won't be possible. The submodule also might not be packaged.
2323
2424Header only libraries also [ don't really meet the quality
25- requirements] ( packaging-j4-dmenu-desktop.md#quality-requirements ) (but it
25+ requirements] ( ../xbps-src-tutorial/ packaging-j4-dmenu-desktop.md#quality-requirements) (but it
2626depends), so packaging them as a dependency might not be reasonable. Leaving the
2727header only dependency as a git submodule is preferable in this scenario.
2828
@@ -52,11 +52,11 @@ second method is [using plain `git`](#using-git).
5252### Using GitHub UI
5353Go to the release the package is using (here it's the latest release ` v0.3.3 ` ):
5454
55- ![ main page] ( images/git_submodules/main_page.png )
55+ ![ main page] ( ../ images/git_submodules/main_page.png)
5656
5757Click on the associated tag:
5858
59- ![ release tag] ( images/git_submodules/release_tag.png )
59+ ![ release tag] ( ../ images/git_submodules/release_tag.png)
6060
6161This will take you back to the repository in the state it was when the release
6262was made.
@@ -73,14 +73,14 @@ located. `gazou`'s `.gitmodules` looks like this:
7373
7474You should return to the root of the repository. You must click on the correct link:
7575
76- ![ return] ( images/git_submodules/return.png )
76+ ![ return] ( ../ images/git_submodules/return.png)
7777
7878If you click on the link crossed out on the picture, you will return to master
7979and you will no longer be browsing the repo at the specified commit.
8080
8181You should go to the directories where the submodules should be:
8282
83- ![ submodule commit] ( images/git_submodules/submodule_commit.png )
83+ ![ submodule commit] ( ../ images/git_submodules/submodule_commit.png)
8484
8585You should also make sure that you are still checked out to the release. The
8686green box shouldn't contain ` master ` nor ` main ` . It should be a tag.
@@ -99,24 +99,24 @@ This hash is usable, but you should make sure that the commit isn't tied to a
9999tag. Tags should be preferred over commit hashes because they are nicer and
100100shorted. To do that, click on the top commit:
101101
102- ![ tag commit] ( images/git_submodules/tag_commit.png )
102+ ![ tag commit] ( ../ images/git_submodules/tag_commit.png)
103103
104104You should see whether there is a tag listed:
105105
106- ![ tagged pin] ( images/git_submodules/tagged_pin.png )
106+ ![ tagged pin] ( ../ images/git_submodules/tagged_pin.png)
107107
108108If it isn't (it is on the picture), return to the root of the repo while
109109preserving the checkout like before and proceed with [ getting the
110110archive] ( #getting-the-archive ) .
111111
112112Click on the tag. If you get brought to a release page, click on the tag again:
113113
114- ![ next tag] ( images/git_submodules/next_tag.png )
114+ ![ next tag] ( ../ images/git_submodules/next_tag.png)
115115
116116#### Getting the archive
117117Click on "Code" and copy the link for downloading ZIP:
118118
119- ![ get link] ( images/git_submodules/get_link.png )
119+ ![ get link] ( ../ images/git_submodules/get_link.png)
120120
121121This is the link to download the submodule. Note that ` void-packages ` prefers
122122` .tar.gz ` archives instead of ` .zip ` archives. GitHub has no button for that,
@@ -298,4 +298,4 @@ to change the name of the downloaded archive. They are then put into
298298 ` build_wrksrc ` can be used to tell ` xbps-src ` which of the extracted
299299 directories should be treated as the primary one. [ CWD is set to
300300 ` build_wrksrc ` in some build
301- steps.] ( packaging-j4-dmenu-desktop.md#cwd )
301+ steps.] ( ../xbps-src-tutorial/ packaging-j4-dmenu-desktop.md#cwd)
0 commit comments