aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2019-12-04 18:08:48 +0100
committerUlrich Müller <ulm@gentoo.org>2019-12-08 12:32:04 +0100
commit18bf92b7ef4b09b58add33d4ce40a965c05b2f49 (patch)
tree108df642554b7dfe0e9cd279a982a6b6a5c50a8f /ebuild-writing/common-mistakes
parentElements <brite>, <mail>, and <pkg> are not supported. (diff)
downloaddevmanual-18bf92b7ef4b09b58add33d4ce40a965c05b2f49.tar.gz
devmanual-18bf92b7ef4b09b58add33d4ce40a965c05b2f49.tar.bz2
devmanual-18bf92b7ef4b09b58add33d4ce40a965c05b2f49.zip
Element <br> is not supported.
Replace by paragraph break, or drop. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'ebuild-writing/common-mistakes')
-rw-r--r--ebuild-writing/common-mistakes/text.xml20
1 files changed, 10 insertions, 10 deletions
diff --git a/ebuild-writing/common-mistakes/text.xml b/ebuild-writing/common-mistakes/text.xml
index 026e1d9..dbf6eee 100644
--- a/ebuild-writing/common-mistakes/text.xml
+++ b/ebuild-writing/common-mistakes/text.xml
@@ -242,22 +242,22 @@ part.
<ul>
<li>
- <e>Always include the CATEGORY.</e><br />
+ <e>Always include the CATEGORY.</e>
For example, use <c>&gt;=x11-libs/gtk+-2</c> and not <c>&gt;=gtk+-2</c>.
</li>
<li>
- <e>Do not put an asterisk (*) for &gt;= dependencies.</e><br />
+ <e>Do not put an asterisk (*) for &gt;= dependencies.</e>
For example, it should be <c>&gt;=x11-libs/gtk+-2</c> rather than
<c>&gt;=x11-libs/gtk+-2*</c>.
</li>
<li><e>GTK specific. Always use =x11-libs/gtk+-1.2* for GTK+1 apps.</e></li>
<li>
- <e>Never depend on a meta package.</e><br />
+ <e>Never depend on a meta package.</e>
So don't depend on gnome-base/gnome, always depend on the specific
libraries like libgnome.
</li>
<li>
- <e>One dependency per line.</e><br />
+ <e>One dependency per line.</e>
Don't put multiple dependency on the same line. It makes it ugly to read
and hard to follow.
</li>
@@ -277,29 +277,29 @@ some tips on how to find the correct dependencies.
<ul>
<li>
- <e>Look in configure.in or configure.ac</e><br />
+ <e>Look in configure.in or configure.ac.</e>
Look for checks for packages in here. Things to look out for are pkg-config
checks or AM_* functions that check for a specific version.
</li>
<li>
- <e>Look at included .spec files</e><br />
+ <e>Look at included .spec files.</e>
A good indication of dependencies is to look at the included .spec files
for relevant deps. However, do not trust them to be the definitive complete
- list of dependencies
+ list of dependencies.
</li>
<li>
- <e>Look at the application/library website</e><br />
+ <e>Look at the application/library website.</e>
Check the application website for possible dependencies that they suggest
are needed.
</li>
<li>
- <e>Read the README and INSTALL for the package</e><br />
+ <e>Read the README and INSTALL for the package.</e>
They usually also contain useful information about building and installing
packages.
</li>
<li>
<e>Remember non-binary dependencies such as pkg-config, doc generation
- programs, etc.</e><br />
+ programs, etc.</e>
Usually the build process requires some dependencies such as intltool,
libtool, pkg-config, doxygen, scrollkeeper, gtk-doc, etc. Make sure those
are clearly stated.