Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
b1d9ad5d5e
!50 fix spec changelog date
From: @leeffo 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2023-03-03 01:55:17 +00:00
openeuler-ci-bot
e61ee0ae53
!56 change source
From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-11-10 11:25:05 +00:00
lyn1001
f9f9bf7570 Change source 2022-11-10 11:22:55 +08:00
openeuler-ci-bot
b82d0750ca
!55 Update to 1.9.3
From: @starlet-dx 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-10-21 07:37:28 +00:00
starlet-dx
b3b0a07968 Update to 1.9.3 2022-10-21 15:08:33 +08:00
mylee
a39cebb582 fix spec changelog date 2022-05-13 10:50:05 +08:00
openeuler-ci-bot
f99830d4bb
!45 detach the sub package doxygen-help from doxygen and disable xapian_core_support
From: @zou_lin77 
Reviewed-by: @zhuchunyi 
Signed-off-by: @huangduirong, @zhuchunyi
2022-03-15 07:34:38 +00:00
zou_lin77
4fc1f28cc7 detach the sub package doxygen-help from doxygen;
disable xapian_core_support
2022-03-12 11:01:42 +08:00
openeuler-ci-bot
20d14c381f
!43 Fix bare words are no longer supported
Merge pull request !43 from 邹林/openEuler-22.03-LTS-Next
2022-01-05 07:17:31 +00:00
zou_lin77
c476fb7607 Fix bare words are no longer supported 2021-12-31 16:04:44 +08:00
7 changed files with 81 additions and 17 deletions

Binary file not shown.

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

Binary file not shown.

View 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

View 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()

View 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);

View File

@ -1,26 +1,35 @@
%global xapian_core_support ON
%global BuildDir Out
%global xapian_core_support "ON"
%global BuildDir "Out"
%global clang_support OFF
Name: doxygen
Epoch: 1
Version: 1.9.2
Version: 1.9.3
Release: 2
Summary: A documentation system for C/C++
License: GPL+
Url: http://www.doxygen.nl
Source0: https://nchc.dl.sourceforge.net/project/%{name}/rel-%{version}/%{name}-%{version}.src.tar.gz
Url: https://www.doxygen.nl
Source0: https://udomain.dl.sourceforge.net/project/doxygen/rel-%{version}/%{name}-%{version}.src.tar.gz
Source1: doxywizard.desktop
Patch0: RTFGenerator-should-exit-with-0-when-gengrate-file-s.patch
Source2: doxywizard-icons.tar.xz
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: 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
BuildRequires: python3-libxml2 texlive-bibtex
BuildRequires: desktop-file-utils graphviz flex bison cmake
%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
@ -36,6 +45,8 @@ BuildRequires: qt5-qtbase-devel
Doxywizard is a graphical front-end to read/edit/write doxygen
configuration files.
%package_help
%prep
%autosetup -p1
iconv --from=ISO-8859-1 --to=UTF-8 LANGUAGE.HOWTO > LANGUAGE.HOWTO.new
@ -46,7 +57,6 @@ 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 \
@ -54,6 +64,7 @@ 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}
@ -78,15 +89,11 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
make tests -C %{BuildDir}
%files
%doc LANGUAGE.HOWTO README.md
%license LICENSE
%{_bindir}/doxygen
%{_mandir}/man1/doxygen.1*
%if %{xapian_core_support} == "ON"
%{_bindir}/{doxyindexer,doxysearch*}
%{_mandir}/man1/{doxyindexer.1*,doxysearch.1*}
%endif
%exclude %{_docdir}/packages
%files doxywizard
%{_bindir}/doxywizard
@ -94,7 +101,28 @@ make tests -C %{BuildDir}
%{_datadir}/applications/doxywizard.desktop
%{_datadir}/icons/hicolor/*/apps/doxywizard.png
%files help
%doc LANGUAGE.HOWTO README.md
%exclude %{_docdir}/packages
%{_mandir}/man1/doxygen.1*
%if %{xapian_core_support} == "ON"
%{_mandir}/man1/{doxyindexer.1*,doxysearch.1*}
%endif
%changelog
* Thu Nov 10 2022 liyanan <liyanan32@h-partners.com> - 1:1.9.3-2
- Change source
* 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
- detach the sub package doxygen-help from doxygen;
- disable xapian_core_support
* Fri Dec 31 2021 zoulin<zoulin13@huawei.com> - 1.9.2-3
- Fix bare words are no longer supported
* Tue Dec 28 2021 zoulin<zoulin13@huawei.com> - 1.9.2-2
- Removeing the "graphviz" dependency
@ -107,7 +135,7 @@ make tests -C %{BuildDir}
* Tue May 11 2021 wangchen<wangchen137@huawei.com> - 1.8.18-8
- RTFGenerator should exit with 0 when gengrate file success
* Tue Jan 05 2020 shixuantong<shixuantong@huawei.com> - 1.8.18-7
* Tue Jan 05 2021 shixuantong<shixuantong@huawei.com> - 1.8.18-7
- fix incorrect label in map of dot files in xhtml
* Thu Dec 10 2020 shixuantong<shixuantong@huawei.com> - 1.8.18-6

BIN
doxywizard-icons.tar.xz Normal file

Binary file not shown.