Accepting request 487822 from home:plater
Remove time stamps from html pages OBS-URL: https://build.opensuse.org/request/show/487822 OBS-URL: https://build.opensuse.org/package/show/electronics/kicad-doc?expand=0&rev=15
This commit is contained in:
parent
44d1e1894a
commit
a9a0eae95b
15
kicad-doc-notimestamp.patch
Normal file
15
kicad-doc-notimestamp.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
Index: CMakeLists.txt
|
||||||
|
===================================================================
|
||||||
|
--- CMakeLists.txt.orig 2017-04-13 10:18:48.656747496 +0200
|
||||||
|
+++ CMakeLists.txt 2017-04-13 13:10:55.648428778 +0200
|
||||||
|
@@ -31,8 +31,10 @@ include( AsciidocHelpers )
|
||||||
|
# Add the common asciidoc options
|
||||||
|
add_adoc_option( -b html5 )
|
||||||
|
add_adoc_option( -a toc2 )
|
||||||
|
+add_adoc_option( -a footer-style=none )
|
||||||
|
add_adoc_option( --section-numbers )
|
||||||
|
add_adoc_option( --theme flask )
|
||||||
|
+add_adoc_option( --verbose )
|
||||||
|
|
||||||
|
# Add the common a2x options
|
||||||
|
add_a2x_option( --xsltproc-opts=--nonet )
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 13 11:29:41 UTC 2017 - davejplater@gmail.com
|
||||||
|
|
||||||
|
- Removed time stamp from pages with kicad-doc-notimestamp.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 23 12:14:14 UTC 2017 - xxxxxmichl@googlemail.com
|
Thu Mar 23 12:14:14 UTC 2017 - xxxxxmichl@googlemail.com
|
||||||
|
|
||||||
|
@ -36,6 +36,8 @@ Url: http://kicad-pcb.org
|
|||||||
Source: https://github.com/KiCad/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: https://github.com/KiCad/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source2: https://raw.githubusercontent.com/KiCad/kicad-source-mirror/master/license_for_documentation.txt
|
Source2: https://raw.githubusercontent.com/KiCad/kicad-source-mirror/master/license_for_documentation.txt
|
||||||
Patch0: verbose-a2x-debug.patch
|
Patch0: verbose-a2x-debug.patch
|
||||||
|
# PATCH-FIX-OPENSUSE kicad-doc-notimestamp.patch davejplater@gmail.com -- Remove time stamped footer from html pages.
|
||||||
|
Patch1: kicad-doc-notimestamp.patch
|
||||||
BuildRequires: asciidoc >= 8.6.9
|
BuildRequires: asciidoc >= 8.6.9
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: dblatex >= 0.3.4
|
BuildRequires: dblatex >= 0.3.4
|
||||||
@ -45,6 +47,7 @@ BuildRequires: git
|
|||||||
BuildRequires: libxslt-tools
|
BuildRequires: libxslt-tools
|
||||||
BuildRequires: po4a >= 0.45
|
BuildRequires: po4a >= 0.45
|
||||||
BuildRequires: source-highlight
|
BuildRequires: source-highlight
|
||||||
|
%if %{with pdf}
|
||||||
BuildRequires: texlive-collection-langeuropean
|
BuildRequires: texlive-collection-langeuropean
|
||||||
BuildRequires: texlive-collection-langfrench
|
BuildRequires: texlive-collection-langfrench
|
||||||
BuildRequires: texlive-collection-langgerman
|
BuildRequires: texlive-collection-langgerman
|
||||||
@ -61,6 +64,7 @@ BuildRequires: texlive-collection-xetex
|
|||||||
BuildRequires: texlive-euenc
|
BuildRequires: texlive-euenc
|
||||||
BuildRequires: texlive-gnu-freefont-fonts
|
BuildRequires: texlive-gnu-freefont-fonts
|
||||||
BuildRequires: texlive-xetexref
|
BuildRequires: texlive-xetexref
|
||||||
|
%endif
|
||||||
BuildRequires: perl(Unicode::LineBreak)
|
BuildRequires: perl(Unicode::LineBreak)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -182,6 +186,7 @@ cp %{SOURCE2} .
|
|||||||
# Fix documentation path
|
# Fix documentation path
|
||||||
sed -i "s|share/doc/kicad|share/doc/packages/kicad|" CMakeModules/KiCadDocumentation.cmake
|
sed -i "s|share/doc/kicad|share/doc/packages/kicad|" CMakeModules/KiCadDocumentation.cmake
|
||||||
%patch0
|
%patch0
|
||||||
|
%patch1
|
||||||
|
|
||||||
# FIXME
|
# FIXME
|
||||||
%if %{without japanese}
|
%if %{without japanese}
|
||||||
@ -234,6 +239,7 @@ install -Dm644 license_for_documentation.txt %{buildroot}%{_datadir}/doc/package
|
|||||||
%fdupes -s %{buildroot}%{_datadir}/doc/packages/kicad/help/de
|
%fdupes -s %{buildroot}%{_datadir}/doc/packages/kicad/help/de
|
||||||
%fdupes -s %{buildroot}%{_datadir}/doc/packages/kicad/help/es
|
%fdupes -s %{buildroot}%{_datadir}/doc/packages/kicad/help/es
|
||||||
%fdupes -s %{buildroot}%{_datadir}/doc/packages/kicad/help/ru
|
%fdupes -s %{buildroot}%{_datadir}/doc/packages/kicad/help/ru
|
||||||
|
%fdupes -s %{buildroot}%{_datadir}/doc/packages/kicad/help/id
|
||||||
%if %{with italian}
|
%if %{with italian}
|
||||||
%fdupes -s %{buildroot}%{_datadir}/doc/packages/kicad/help/it
|
%fdupes -s %{buildroot}%{_datadir}/doc/packages/kicad/help/it
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user