doc: remove dejavu font from doc build
PATCH 1/1 doc: remove dejavu font from doc build
Remove requirement for occasionally hard to find/install DejaVuSansMono font. It isn't gnerally required anyway. The default mono font is sufficient.
--- doc/guides/conf.py | 1 - 1 file changed, 1 deletion(-)
doc/guides/conf.py +0 -1
@@ -61,7 +61,6 @@ latex_documents = [ # Latex directives to be included directly in the latex/pdf docs. latex_preamble = r""" \usepackage[utf8]{inputenc} -\usepackage{DejaVuSansMono} \usepackage[T1]{fontenc} \usepackage{helvet} \renewcommand{\familydefault}{\sfdefault}
Signature · 1 line
1.8.1.4
Quoted 10 lines
From: dev [mailto:[email protected]] On Behalf Of John McNamara
Sent: Tuesday, October 20, 2015 12:32 PM
To: [email protected]
Subject: [dpdk-dev] [PATCH] doc: remove dejavu font from doc buildRemove requirement for occasionally hard to find/install DejaVuSansMono font. It isn't gnerally required anyway. The default mono font is sufficient.
Signed-off-by John McNamara <[email protected]>
2015-10-20 12:32, John McNamara:
Quoted 3 lines
Remove requirement for occasionally hard to find/install DejaVuSansMono font. It isn't gnerally required anyway. The default mono font is sufficient.
Does it remove the need for texlive-collection-fontsextra?
Quoted 7 lines
-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Monday, October 26, 2015 2:25 PM
To: Mcnamara, John
Cc: [email protected]
Subject: Re: [dpdk-dev] [PATCH] doc: remove dejavu font from doc build
Quoted 6 lines
2015-10-20 12:32, John McNamara:
Quoted 3 lines
Remove requirement for occasionally hard to find/install DejaVuSansMono font. It isn't gnerally required anyway. The default mono font is sufficient.
Does it remove the need for texlive-collection-fontsextra?
Hi Thomas,
Possibly. I'll need to test to make sure. I'll let you know.
John.
Quoted 9 lines
-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Monday, October 26, 2015 2:25 PM
To: Mcnamara, John
Cc: [email protected]
Subject: Re: [dpdk-dev] [PATCH] doc: remove dejavu font from doc build
Quoted 6 lines
2015-10-20 12:32, John McNamara:
Quoted 3 lines
Remove requirement for occasionally hard to find/install DejaVuSansMono font. It isn't gnerally required anyway. The default mono font is sufficient.
Does it remove the need for texlive-collection-fontsextra?
Hi,
I checked and it does remove the requirement for texlive-fonts-recommended in Ubuntu and texlive-collection-fontsextra in Fedora.
I'll submit a v2 with those requirements removed from the Documentation Guidelines.
John.
2015-10-29 11:35, Mcnamara, John:
Quoted 6 lines
From: Thomas Monjalon [mailto:[email protected]]
Quoted 5 lines
2015-10-20 12:32, John McNamara:
Quoted 3 lines
Remove requirement for occasionally hard to find/install DejaVuSansMono font. It isn't gnerally required anyway. The default mono font is sufficient.
Quoted 7 lines
Quoted 1 line
Does it remove the need for texlive-collection-fontsextra?
Hi,
I checked and it does remove the requirement for texlive-fonts-recommended in Ubuntu and texlive-collection-fontsextra in Fedora.
I'll submit a v2 with those requirements removed from the Documentation Guidelines.
Please remove it from the RPM packaging script also. Thanks
PATCH v2 1/1 doc: remove dejavu font from doc build
In reply to John McNamaraRemove requirement for occasionally hard to find/install DejaVuSansMono font. It isn't gnerally required anyway. The default mono font is sufficient.
--- doc/guides/conf.py | 1 - doc/guides/contributing/documentation.rst | 20 ++++++++------------ pkg/dpdk.spec | 2 +- 3 files changed, 9 insertions(+), 14 deletions(-)
doc/guides/conf.py +0 -1
@@ -59,7 +59,6 @@ latex_documents = [ # Latex directives to be included directly in the latex/pdf docs. latex_preamble = r""" \usepackage[utf8]{inputenc} -\usepackage{DejaVuSansMono} \usepackage[T1]{fontenc} \usepackage{helvet} \renewcommand{\familydefault}{\sfdefault}
doc/guides/contributing/documentation.rst +8 -12
@@ -142,7 +142,7 @@ The following dependencies must be installed to build the documentation: * Sphinx (also called python-sphinx). -* TexLive (at least TexLive-core, extra Latex support and extra fonts). +* TexLive. * Inkscape.
@@ -158,18 +158,17 @@ It can be installed as follows: sudo yum -y install doxygen `Sphinx`_ is a Python documentation tool for converting RST files to Html or to PDF (via LaTeX). -It can be installed as follows: +For full support with figure and table captioning the latest version of Sphinx can be installed as follows: .. code-block:: console # Ubuntu/Debian. - sudo apt-get -y install python-sphinx + sudo apt-get -y install python-pip + sudo pip install --upgrade sphinx # Red Hat/Fedora. - sudo yum -y install python-sphinx - - # Or, on any system with Python installed. - sudo easy_install -U sphinx + sudo yum -y install python-pip + sudo pip install --upgrade sphinx For further information on getting started with Sphinx see the `Sphinx Tutorial <http://sphinx-doc.org/tutorial.html>`_.
@@ -196,13 +195,10 @@ The main required packages can be installed as follows: .. code-block:: console # Ubuntu/Debian. - sudo apt-get -y install texlive-latex-extra texlive-fonts-extra \ - texlive-fonts-recommended - + sudo apt-get -y install texlive-latex-extra # Red Hat/Fedora, selective install. - sudo yum -y install texlive-collection-latexextra \ - texlive-collection-fontsextra + sudo yum -y install texlive-collection-latexextra Build commands
pkg/dpdk.spec +1 -1
@@ -46,7 +46,7 @@ ExclusiveArch: i686, x86_64 BuildRequires: kernel-devel, kernel-headers, libpcap-devel, xen-devel BuildRequires: doxygen, python-sphinx, inkscape -BuildRequires: texlive-collection-latexextra, texlive-collection-fontsextra +BuildRequires: texlive-collection-latexextra %description DPDK core includes kernel modules, core libraries and tools.
Signature · 1 line
1.8.1.4
2015-11-01 14:13, John McNamara:
Quoted 6 lines
Remove requirement for occasionally hard to find/install DejaVuSansMono font. It isn't gnerally required anyway. The default mono font is sufficient.
Signed-off-by John McNamara <[email protected]>Acked-by Harry van Haaren <[email protected]>
[...]
doc/guides/contributing/documentation.rst The following dependencies must be installed to build the documentation: · line 145
Quoted 4 lines
doc/guides/contributing/documentation.rst +1
-1-* TexLive (at least TexLive-core, extra Latex support and extra fonts). +* TexLive.
Why not keep minimum requirements? (TexLive-core and extra Latex support)
Quoted 8 lines
-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Sunday, November 1, 2015 3:00 PM
To: Mcnamara, John
Cc: [email protected]
Subject: Re: [PATCH v2] doc: remove dejavu font from doc buildWhy not keep minimum requirements? (TexLive-core and extra Latex support)
Hi,
Mainly because the requirements are now at the minimum with only one package required.
John.
2015-11-01 16:35, Mcnamara, John:
Quoted 7 lines
Quoted 7 lines
-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Sunday, November 1, 2015 3:00 PM
To: Mcnamara, John
Cc: [email protected]
Subject: Re: [PATCH v2] doc: remove dejavu font from doc build
Quoted 5 lines
Quoted 1 line
Why not keep minimum requirements? (TexLive-core and extra Latex support)
Hi,
Mainly because the requirements are now at the minimum with only one package required.
If we don't give tips about how to install a minimum texlive, it means we have to install the whole texlive distribution which is a huge dependency.
Quoted 16 lines
-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Sunday, November 1, 2015 6:32 PM
To: Mcnamara, John
Cc: [email protected]
Subject: Re: [PATCH v2] doc: remove dejavu font from doc build2015-11-01 16:35, Mcnamara, John:
Quoted 6 lines
Quoted 6 lines
-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Sunday, November 1, 2015 3:00 PM
To: Mcnamara, John
Cc: [email protected]
Subject: Re: [PATCH v2] doc: remove dejavu font from doc build
Quoted 5 lines
Quoted 1 line
Mainly because the requirements are now at the minimum with only one
package required.
If we don't give tips about how to install a minimum texlive, it means we have to install the whole texlive distribution which is a huge dependency.
Ok. I'll put that back in.
PATCH v3 1/1 doc: remove dejavu font from doc build
In reply to John McNamaraRemove requirement for occasionally hard to find/install DejaVuSansMono font. It isn't gnerally required anyway. The default mono font is sufficient.
--- doc/guides/conf.py | 1 - doc/guides/contributing/documentation.rst | 20 ++++++++------------ pkg/dpdk.spec | 2 +- 3 files changed, 9 insertions(+), 14 deletions(-)
doc/guides/conf.py +0 -1
@@ -59,7 +59,6 @@ latex_documents = [ # Latex directives to be included directly in the latex/pdf docs. latex_preamble = r""" \usepackage[utf8]{inputenc} -\usepackage{DejaVuSansMono} \usepackage[T1]{fontenc} \usepackage{helvet} \renewcommand{\familydefault}{\sfdefault}
doc/guides/contributing/documentation.rst +8 -12
@@ -142,7 +142,7 @@ The following dependencies must be installed to build the documentation: * Sphinx (also called python-sphinx). -* TexLive (at least TexLive-core, extra Latex support and extra fonts). +* TexLive (at least TexLive-core and the extra Latex support). * Inkscape.
@@ -158,18 +158,17 @@ It can be installed as follows: sudo yum -y install doxygen `Sphinx`_ is a Python documentation tool for converting RST files to Html or to PDF (via LaTeX). -It can be installed as follows: +For full support with figure and table captioning the latest version of Sphinx can be installed as follows: .. code-block:: console # Ubuntu/Debian. - sudo apt-get -y install python-sphinx + sudo apt-get -y install python-pip + sudo pip install --upgrade sphinx # Red Hat/Fedora. - sudo yum -y install python-sphinx - - # Or, on any system with Python installed. - sudo easy_install -U sphinx + sudo yum -y install python-pip + sudo pip install --upgrade sphinx For further information on getting started with Sphinx see the `Sphinx Tutorial <http://sphinx-doc.org/tutorial.html>`_.
@@ -196,13 +195,10 @@ The main required packages can be installed as follows: .. code-block:: console # Ubuntu/Debian. - sudo apt-get -y install texlive-latex-extra texlive-fonts-extra \ - texlive-fonts-recommended - + sudo apt-get -y install texlive-latex-extra # Red Hat/Fedora, selective install. - sudo yum -y install texlive-collection-latexextra \ - texlive-collection-fontsextra + sudo yum -y install texlive-collection-latexextra Build commands
pkg/dpdk.spec +1 -1
@@ -46,7 +46,7 @@ ExclusiveArch: i686, x86_64 BuildRequires: kernel-devel, kernel-headers, libpcap-devel, xen-devel BuildRequires: doxygen, python-sphinx, inkscape -BuildRequires: texlive-collection-latexextra, texlive-collection-fontsextra +BuildRequires: texlive-collection-latexextra %description DPDK core includes kernel modules, core libraries and tools.
Signature · 1 line
1.8.1.4
Thomas Monjalon
Applied2015-11-01 20:17, John McNamara:
Quoted 6 lines
Remove requirement for occasionally hard to find/install DejaVuSansMono font. It isn't gnerally required anyway. The default mono font is sufficient.
Signed-off-by John McNamara <[email protected]>Acked-by Harry van Haaren <[email protected]>
Applied, thanks