| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Our Makefile currently uses inkscape (via imagemagick's "convert"
wrapper) to turn SVGs into PNGs. This has a few downsides:
* media-gfx/inkscape is a huge dependency,
* inkscape is slow to perform the conversion,
* installing imagemagick[svg] doesn't ensure that "convert" can
convert an SVG to a PNG if inkscape is missing (bug 684686).
The good news is that there is another SVG -> PNG conversion tool
called rsvg-convert that is installed by gnome-base/librsvg. Compared
to inkscape, librsvg is a light dependency and rsvg-convert is
lightning-fast. Moreover, installing gnome-base/librsvg guarantees
that the latter will exist and can actually perform the conversion.
Inkscape is supposedly more powerful, but so far in the devmanual
we're only using SVG to put words in boxes. The simpler tool is
sufficient for that, and therefore preferable.
This commit updates the Makefile to use rsvg-convert.
Bug: https://bugs.gentoo.org/684686
Closes: https://bugs.gentoo.org/700904
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The fc-list command from media-libs/fontconfig can tell us what fonts
are available to rsvg-convert, so this commit asks it if any font
matching the pattern "Open Sans" is installed. You could make this
check a bit more bullet-proof by checking the exact string (to avoid
matching e.g. Not Open Sans), but only at the expense of making a
simple command more complicated.
Bug: https://bugs.gentoo.org/700904
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The text in most of our diagrams was left to use the generic
"sans-serif" font face, which depends on both the local machine and
the program used to edit/convert the SVG image. This isn't the best
situation, because we want the output PNGs to be predictable.
The Tyrian layout used for devmanual.gentoo.org makes heavy use of the
"Open Sans" font, so this commit updates each SVG in the devmanual to
use that face for all text elements that were previously "sans-serif".
Bug: https://bugs.gentoo.org/700904
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
[Fonts in ebuild-writing/functions/diagram.svg fixed]
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
Fixes: 4a88709ecea8b25dce3063b3b8454b870f1435d9
Fixes: 8c1cb7c99809541c4782055a1591155f5e7749a2
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
References:
- "AMD64 keywording" thread by kingtaco on the gentoo-core mailing list (2007)
- app-emacs stabilization talk by kingtaco and ulm on IRC #gentoo-dev (2007)
- Gentoo Council agenda item: "amd64 arch team and big bug list" (2008/03/13)
Closes: https://bugs.gentoo.org/510198
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Remove the ebuild-maintenance/stabilization section (which resulted
from the split of ebuild-maintenance/maintenance-tasks), and include
it in keywording. Delete duplicate and outdated information.
Closes: https://bugs.gentoo.org/648316
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The acct-user/group ebuilds for suricata are rather typical examples,
so replace the fictitious user 123 by them.
This also has ${PN} as single element in ACCT_USER_GROUPS, and it
drops the uncommon ACCT_USER_{SHELL,HOME{,_OWNER,_PERMS}} variables
from the example.
Original patch from Michael Orlitzky <mjo@gentoo.org> (who asked me to
put my own name on it).
Closes: https://bugs.gentoo.org/702508
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/567312
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/533552
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
| |
Fixes:450692994d68bed141e324284ac9be671f8c84bf
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update the text on package moves to cover the case when PN changes
as well as category. Cover necessary changes in moved ebuild. Switch
from wall-of-text block into a more readable list. Move additional
points from examples to this list. Finally, remove the example that now
pretty much repeats what was said above.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
[Clarification added by committer to first paragraph of "Moving or
renaming a package".]
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
Since people are frequently getting moves wrong, try to point out a few
important limitations.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
This isn't really a maintenance task. Also, we already mention this
twice elsewhere, namely in ebuild-writing/variables and in
ebuild-writing/common-mistakes. Update and fix link in the latter.
Move the introductory paragraph to the parent document, and remove
the chapter which has become empty.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
Split off from ebuild-maintenance/maintenance-tasks.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
Split off from ebuild-maintenance/maintenance-tasks.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
Split off from ebuild-maintenance/maintenance-tasks.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
Split off from ebuild-maintenance/maintenance-tasks.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
[Fixed guide tag, use title case for chapter title.]
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
Modernise the introduction, and add a short section saying that EAPIs
0 to 3 are obsolete.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
- Prefix support: Reference to Prefix documentation moved to
ebuild-writing/variables
- unpack .xz support: Add list of recognized unpack formats in
ebuild-writing/functions/src_unpack
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
Since EAPIs 0 to 2 are no longer mentioned, we need to explain what
an "EAPI=0 package dependency specification" is.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- doman language support: incorporated into
function-reference/install-functions
- Blockers incorporated into general-concepts/dependencies
(also say "weak" and "strong" blockers instead of "soft" and "hard",
in order to agree with the terms used in PMS)
- USE dependencies: already in general-concepts/dependencies
- SRC_URI arrows: incorporated into ebuild-writing/variables
- src_prepare: already in ebuild-writing/functions/src_prepare
- src_configure: already in ebuild-writing/functions/src_configure
- Execution order: already in ebuild-writing/functions
- Default phase functions moved to ebuild-writing/functions
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
If-else USE blocks, i.e. "Legacy Inverse USE-Conditional Dependency
Syntax", have been abandoned before EAPI was introduced.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
- Default src_compile: already in ebuild-writing/functions/src_compile
- SLOT dependencies: already in general-concepts/dependencies
- IUSE defaults moved to general-concepts/use-flags
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
The Bootstrap layout indents <li> but leaves <dd> flush-left (why?).
Add a 2em left margin for <dd> so it will be indented.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Not clear what the original intention of this was, but:
- <tcolumn> was never used in the devmanual.
- The generated HTML would have been invalid, because it contained
<col> without an enclosing <colgroup>.
- The width attribute is deprecated in HTML 4 and obsolete in HTML 5.
Remove for now from devbook.xsl; update devbook.dtd accordingly.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
Whitespace before the closing tag is significant and would show up in
html output.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
Also normalise whitespace around <d/> in some places in the document.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
In order to silence the W3C Validator.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
This was redundant and inconsistent with the text generated by the
XSL stylesheet.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
This is now fixed in devbook.xsl, so the changes in the text
(which were meant as a stop-gap measure) can be reverted again.
This reverts commit 481c88ea7ca8d93b17ac6668186216baf50daab9.
Bug: https://bugs.gentoo.org/475332
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/442194
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
Guide XML allowed body elements only at the lowest section level.
DevBook XML doesn't have that strict rule, therefore we can drop
the unnecessary intermediate levels.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Linking to other parts of the Gentoo web site doesn't apply to us,
because the devmanual isn't at www.gentoo.org.
Consistently have a trailing slash in example URIs.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
Describe only the tags that are actually used in DevBook XML.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was undeclared, leading to a runtime error:
runtime error: file xsl/lang.highlight.c.xsl line 35 element variable
Variable 'myPos' has not been declared.
XPath error : Undefined variable
runtime error: file xsl/lang.highlight.c.xsl line 35 element variable
Failed to evaluate the expression of variable 'quotePos'.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
Mention <figure> and <codesample> as subelements of <body>.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
Move one level up, it makes more sense as an own appendix, rather than
a sub-document of contributing.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the bootstrap default instead. Custom handling for <th> has
already been removed in commit a429f4c, drop it for <ti> as well.
About the history of this:
The vertical alignment was originally added to resolve bug 53500,
see the variables table (e.g. the KEYWORDS line) in the archived page:
https://web.archive.org/web/20040604000628/http://www.gentoo.org/doc/en/gentoo-howto.xml
The class was later (commit cff18db) renamed from tableinfo to devbook.
None of this seems to be necessary any more; vertical alignment is
just fine with the bootstrap layout.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|