!55 Update to 1.9.3
From: @starlet-dx Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
b82d0750ca
Binary file not shown.
BIN
doxygen-1.9.3.src.tar.gz
Normal file
BIN
doxygen-1.9.3.src.tar.gz
Normal file
Binary file not shown.
13
doxygen-modify_footer.patch
Normal file
13
doxygen-modify_footer.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: doxygen-1.8.16/Doxyfile
|
||||||
|
===================================================================
|
||||||
|
--- doxygen-1.8.16.orig/Doxyfile 2019-09-30 09:31:11.324583274 +0200
|
||||||
|
+++ doxygen-1.8.16/Doxyfile 2019-09-30 09:31:20.108631879 +0200
|
||||||
|
@@ -158,7 +158,7 @@ HTML_EXTRA_FILES =
|
||||||
|
HTML_COLORSTYLE_HUE = 220
|
||||||
|
HTML_COLORSTYLE_SAT = 100
|
||||||
|
HTML_COLORSTYLE_GAMMA = 80
|
||||||
|
-HTML_TIMESTAMP = YES
|
||||||
|
+HTML_TIMESTAMP = NO
|
||||||
|
HTML_DYNAMIC_MENUS = YES
|
||||||
|
HTML_DYNAMIC_SECTIONS = YES
|
||||||
|
HTML_INDEX_NUM_ENTRIES = 100
|
||||||
11
doxygen-no-libclang-cpp.patch
Normal file
11
doxygen-no-libclang-cpp.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- doxygen-1.8.20/src/CMakeLists.txt.orig 2020-10-06 15:56:02.841527965 +0200
|
||||||
|
+++ doxygen-1.8.20/src/CMakeLists.txt 2020-10-06 16:07:14.226206979 +0200
|
||||||
|
@@ -341,7 +341,7 @@
|
||||||
|
set(CLANG_LIBS libclang clangTooling)
|
||||||
|
else() # dynamically linked version of clang
|
||||||
|
llvm_config(doxymain USE_SHARED support)
|
||||||
|
- set(CLANG_LIBS libclang clang-cpp)
|
||||||
|
+ set(CLANG_LIBS libclang clangTooling)
|
||||||
|
endif()
|
||||||
|
target_compile_definitions(doxygen PRIVATE ${LLVM_DEFINITIONS})
|
||||||
|
endif()
|
||||||
12
doxygen-no-lowercase-man-names.patch
Normal file
12
doxygen-no-lowercase-man-names.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: doxygen-1.9.2/src/fortranscanner.l
|
||||||
|
===================================================================
|
||||||
|
--- doxygen-1.9.2.orig/src/fortranscanner.l
|
||||||
|
+++ doxygen-1.9.2/src/fortranscanner.l
|
||||||
|
@@ -2314,7 +2314,6 @@ static void initEntry(yyscan_t yyscanner
|
||||||
|
static void addCurrentEntry(yyscan_t yyscanner,bool case_insens)
|
||||||
|
{
|
||||||
|
struct yyguts_t *yyg = (struct yyguts_t*)yyscanner;
|
||||||
|
- if (case_insens) yyextra->current->name = yyextra->current->name.lower();
|
||||||
|
//printf("===Adding entry %s to %s\n", qPrint(yyextra->current->name), qPrint(yyextra->current_root->name));
|
||||||
|
yyextra->last_entry = yyextra->current;
|
||||||
|
yyextra->current_root->moveToSubEntryAndRefresh(yyextra->current);
|
||||||
46
doxygen.spec
46
doxygen.spec
@ -1,26 +1,35 @@
|
|||||||
%global xapian_core_support OFF
|
%global xapian_core_support "ON"
|
||||||
%global BuildDir Out
|
%global BuildDir "Out"
|
||||||
|
%global clang_support OFF
|
||||||
Name: doxygen
|
Name: doxygen
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.9.2
|
Version: 1.9.3
|
||||||
Release: 4
|
Release: 1
|
||||||
Summary: A documentation system for C/C++
|
Summary: A documentation system for C/C++
|
||||||
License: GPL+
|
License: GPL+
|
||||||
Url: http://www.doxygen.nl
|
Url: https://www.doxygen.nl
|
||||||
Source0: https://nchc.dl.sourceforge.net/project/%{name}/rel-%{version}/%{name}-%{version}.src.tar.gz
|
Source0: https://www.doxygen.nl/files/%{name}-%{version}.src.tar.gz
|
||||||
Source1: doxywizard.desktop
|
Source1: doxywizard.desktop
|
||||||
|
Source2: doxywizard-icons.tar.xz
|
||||||
Patch0: RTFGenerator-should-exit-with-0-when-gengrate-file-s.patch
|
Patch0: %{name}-modify_footer.patch
|
||||||
|
Patch1: %{name}-no-lowercase-man-names.patch
|
||||||
|
Patch2: doxygen-no-libclang-cpp.patch
|
||||||
|
Patch3: RTFGenerator-should-exit-with-0-when-gengrate-file-s.patch
|
||||||
|
|
||||||
BuildRequires: python3 ImageMagick gcc-c++ gcc perl-interpreter
|
BuildRequires: python3 ImageMagick gcc-c++ gcc perl-interpreter
|
||||||
BuildRequires: tex(dvips) tex(latex) tex(multirow.sty) tex(sectsty.sty) tex(tocloft.sty)
|
BuildRequires: python3-libxml2 texlive-bibtex
|
||||||
BuildRequires: tex(xtab.sty) tex(import.sty) tex(tabu.sty) tex(appendix.sty)
|
BuildRequires: desktop-file-utils graphviz flex bison cmake
|
||||||
BuildRequires: tex(adjustbox.sty) /usr/bin/epstopdf texlive-epstopdf ghostscript gettext
|
%if %{xapian_core_support} == "ON"
|
||||||
BuildRequires: desktop-file-utils graphviz flex bison cmake git
|
|
||||||
%if "%{xapian_core_support}" == "ON"
|
|
||||||
BuildRequires: xapian-core-devel zlib-devel
|
BuildRequires: xapian-core-devel zlib-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if "x%{?clang_support}" == "xON"
|
||||||
|
BuildRequires: llvm-devel
|
||||||
|
BuildRequires: clang-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
Requires: perl-interpreter
|
Requires: perl-interpreter
|
||||||
|
Requires: graphviz
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Doxygen is the de facto standard tool for generating documentation from
|
Doxygen is the de facto standard tool for generating documentation from
|
||||||
annotated C++ sources, but it also supports other popular programming
|
annotated C++ sources, but it also supports other popular programming
|
||||||
@ -48,7 +57,6 @@ mv LANGUAGE.HOWTO.new LANGUAGE.HOWTO
|
|||||||
install -d %{BuildDir}
|
install -d %{BuildDir}
|
||||||
cd %{BuildDir}
|
cd %{BuildDir}
|
||||||
%cmake \
|
%cmake \
|
||||||
-DPYTHON_EXECUTABLE=%{_bindir}/python3 \
|
|
||||||
-Dbuild_doc=OFF \
|
-Dbuild_doc=OFF \
|
||||||
-Dbuild_wizard=ON \
|
-Dbuild_wizard=ON \
|
||||||
-Dbuild_xmlparser=ON \
|
-Dbuild_xmlparser=ON \
|
||||||
@ -56,6 +64,7 @@ cd %{BuildDir}
|
|||||||
-DMAN_INSTALL_DIR=%{_mandir}/man1 \
|
-DMAN_INSTALL_DIR=%{_mandir}/man1 \
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
|
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
|
-Duse_libclang=%{clang_support} \
|
||||||
..
|
..
|
||||||
cd -
|
cd -
|
||||||
%make_build -C %{BuildDir}
|
%make_build -C %{BuildDir}
|
||||||
@ -71,7 +80,7 @@ install -m644 -p -D doxywizard-4.png $icondir/48x48/apps/doxywizard.png
|
|||||||
install -m644 -p -D doxywizard-3.png $icondir/128x128/apps/doxywizard.png
|
install -m644 -p -D doxywizard-3.png $icondir/128x128/apps/doxywizard.png
|
||||||
install -d %{buildroot}/%{_mandir}/man1
|
install -d %{buildroot}/%{_mandir}/man1
|
||||||
cp doc/*.1 %{buildroot}/%{_mandir}/man1/
|
cp doc/*.1 %{buildroot}/%{_mandir}/man1/
|
||||||
%if "%{xapian_core_support}" == "OFF"
|
%if %{xapian_core_support} == "OFF"
|
||||||
rm -f %{buildroot}/%{_mandir}/man1/doxyindexer.1* %{buildroot}/%{_mandir}/man1/doxysearch.1*
|
rm -f %{buildroot}/%{_mandir}/man1/doxyindexer.1* %{buildroot}/%{_mandir}/man1/doxysearch.1*
|
||||||
%endif
|
%endif
|
||||||
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
|
||||||
@ -82,7 +91,7 @@ make tests -C %{BuildDir}
|
|||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/doxygen
|
%{_bindir}/doxygen
|
||||||
%if "%{xapian_core_support}" == "ON"
|
%if %{xapian_core_support} == "ON"
|
||||||
%{_bindir}/{doxyindexer,doxysearch*}
|
%{_bindir}/{doxyindexer,doxysearch*}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -96,11 +105,14 @@ make tests -C %{BuildDir}
|
|||||||
%doc LANGUAGE.HOWTO README.md
|
%doc LANGUAGE.HOWTO README.md
|
||||||
%exclude %{_docdir}/packages
|
%exclude %{_docdir}/packages
|
||||||
%{_mandir}/man1/doxygen.1*
|
%{_mandir}/man1/doxygen.1*
|
||||||
%if "%{xapian_core_support}" == "ON"
|
%if %{xapian_core_support} == "ON"
|
||||||
%{_mandir}/man1/{doxyindexer.1*,doxysearch.1*}
|
%{_mandir}/man1/{doxyindexer.1*,doxysearch.1*}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 21 2022 yaoxin <yaoxin30@h-parters.com> - 1:1.9.3-1
|
||||||
|
- Update to 1.9.3-1
|
||||||
|
|
||||||
* Sat Mar 12 2022 zoulin<zoulin13@h-partners.com> - 1.9.2-4
|
* Sat Mar 12 2022 zoulin<zoulin13@h-partners.com> - 1.9.2-4
|
||||||
- detach the sub package doxygen-help from doxygen;
|
- detach the sub package doxygen-help from doxygen;
|
||||||
- disable xapian_core_support
|
- disable xapian_core_support
|
||||||
|
|||||||
BIN
doxywizard-icons.tar.xz
Normal file
BIN
doxywizard-icons.tar.xz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user