Compare commits

..

No commits in common. "2444dfbd0f1cbfc8f0d557b36e1664ad76daf511" and "0ed2adbde4eb4882094f21dd13d6f32e8a832914" have entirely different histories.

5 changed files with 38 additions and 33 deletions

View File

@ -0,0 +1,25 @@
From c23a12be8a23b9de7f6e78236cf1b571213cb5f9 Mon Sep 17 00:00:00 2001
From: si-gui <swx458333@huawei.com>
Date: Mon, 12 Apr 2021 16:42:28 +0800
Subject: [PATCH] RTFGenerator should exit with 0 when gengrate file success
---
src/doxygen.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 6163e81..31f6886 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -9974,7 +9974,7 @@ void readConfiguration(int argc, char **argv)
RTFGenerator::writeStyleSheetFile(t);
}
cleanUpDoxygen();
- exit(1);
+ exit(0);
}
else if (qstricmp(formatName.data(),"html")==0)
{
--
2.30.0

BIN
doxygen-1.9.2.src.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,31 +1,26 @@
%global xapian_core_support "ON"
%global BuildDir "Out"
%global clang_support OFF
%global xapian_core_support ON
%global BuildDir Out
Name: doxygen
Epoch: 1
Version: 1.9.6
Version: 1.9.2
Release: 1
Summary: A documentation system for C/C++
License: GPL+
Url: https://www.doxygen.nl
Source0: https://www.doxygen.nl/files/%{name}-%{version}.src.tar.gz
Url: http://www.doxygen.nl
Source0: https://nchc.dl.sourceforge.net/project/%{name}/rel-%{version}/%{name}-%{version}.src.tar.gz
Source1: doxywizard.desktop
Source2: doxywizard-icons.tar.xz
Patch0: RTFGenerator-should-exit-with-0-when-gengrate-file-s.patch
BuildRequires: python3 ImageMagick gcc-c++ gcc perl-interpreter
BuildRequires: python3-libxml2 texlive-bibtex
BuildRequires: desktop-file-utils graphviz flex bison cmake
BuildRequires: tex(dvips) tex(latex) tex(multirow.sty) tex(sectsty.sty) tex(tocloft.sty)
BuildRequires: tex(xtab.sty) tex(import.sty) tex(tabu.sty) tex(appendix.sty)
BuildRequires: tex(adjustbox.sty) /usr/bin/epstopdf texlive-epstopdf ghostscript gettext
BuildRequires: desktop-file-utils graphviz flex bison cmake git
%if %{xapian_core_support} == "ON"
BuildRequires: xapian-core-devel zlib-devel
%endif
%if "x%{?clang_support}" == "xON"
BuildRequires: llvm-devel
BuildRequires: clang-devel
%endif
Requires: perl-interpreter
Requires: graphviz
%description
Doxygen is the de facto standard tool for generating documentation from
annotated C++ sources, but it also supports other popular programming
@ -51,6 +46,7 @@ mv LANGUAGE.HOWTO.new LANGUAGE.HOWTO
install -d %{BuildDir}
cd %{BuildDir}
%cmake \
-DPYTHON_EXECUTABLE=%{_bindir}/python3 \
-Dbuild_doc=OFF \
-Dbuild_wizard=ON \
-Dbuild_xmlparser=ON \
@ -58,7 +54,6 @@ cd %{BuildDir}
-DMAN_INSTALL_DIR=%{_mandir}/man1 \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
-DBUILD_SHARED_LIBS=OFF \
-Duse_libclang=%{clang_support} \
..
cd -
%make_build -C %{BuildDir}
@ -80,7 +75,7 @@ rm -f %{buildroot}/%{_mandir}/man1/doxyindexer.1* %{buildroot}/%{_mandir}/man1/d
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
%check
/usr/bin/ctest --test-dir %{BuildDir} --output-on-failure --force-new-ctest-process -j6
make tests -C %{BuildDir}
%files
%doc LANGUAGE.HOWTO README.md
@ -100,21 +95,6 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
%{_datadir}/icons/hicolor/*/apps/doxywizard.png
%changelog
* Mon Apr 24 2023 xu_ping <707078654@qq.com> - 1:1.9.6-1
- Upgrade package to 1.9.6 version
* Wed Sep 21 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1:1.9.3-3
- set clang_support to default OFF
* Mon Aug 15 2022 caodongxia <caodongxia@h-partners.com> - 1:1.9.3-2
- RTFGenerator should exit with 0 when gengrate file success
* Mon Apr 11 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 1:1.9.3-1
- Update to 1.9.3-1
* Tue Mar 29 2022 baizhonggui<baizhonggui@huawei.com> - 1.9.2-2
- Fix build error for string compare
* Thu Dec 30 2021 zoulin<zoulin13@huawei.com> - 1.9.2-1
- Update version to 1.9.2 and removeing the "graphviz" dependency

Binary file not shown.