forked from pool/doxygen
Accepting request 1237886 from devel:tools
- update to Doxygen 1.13.2 * Support for Plus sign code fence directives - GitHub flavor * String representation at "show configuration" in doxywizard - Remove special paths for older Suse versions for which packages are no longer built anyway * Drop related patch doxygen-no-libclang-cpp.patch (forwarded request 1236969 from mathletic) OBS-URL: https://build.opensuse.org/request/show/1237886 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/doxygen?expand=0&rev=104
This commit is contained in:
commit
f6b796fd66
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b593a17e9f7dd00c253d5bb18f05b84632136e89753b87fe366c858ea63f6e62
|
||||
size 8505582
|
BIN
doxygen-1.13.2.src.tar.gz
(Stored with Git LFS)
Normal file
BIN
doxygen-1.13.2.src.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,11 +0,0 @@
|
||||
--- 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()
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 11 07:07:53 UTC 2025 - Christoph G <foss@grueninger.de>
|
||||
|
||||
- update to Doxygen 1.13.2
|
||||
* Support for Plus sign code fence directives - GitHub flavor
|
||||
* String representation at "show configuration" in doxywizard
|
||||
- Remove special paths for older Suse versions for which packages
|
||||
are no longer built anyway
|
||||
* Drop related patch doxygen-no-libclang-cpp.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 2 16:50:30 UTC 2025 - Christoph G <foss@grueninger.de>
|
||||
|
||||
|
36
doxygen.spec
36
doxygen.spec
@ -15,14 +15,8 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?sle_version} >= 150100
|
||||
# build with "--with libclang" to enable libclang support
|
||||
%bcond_with libclang
|
||||
%endif
|
||||
|
||||
Name: doxygen
|
||||
Version: 1.13.1
|
||||
Version: 1.13.2
|
||||
Release: 0
|
||||
Summary: Automated C, C++, and Java Documentation Generator
|
||||
# qtools are used for building and they are GPL-3.0 licensed
|
||||
@ -32,25 +26,18 @@ URL: https://www.doxygen.nl/
|
||||
Source0: https://www.doxygen.nl/files/doxygen-%{version}.src.tar.gz
|
||||
# suse specific
|
||||
Patch1: %{name}-no-lowercase-man-names.patch
|
||||
# The unified libclang-cpp library doesn't exist on older Leap / SLE
|
||||
Patch2: doxygen-no-libclang-cpp.patch
|
||||
Patch3: reproducible.patch
|
||||
Patch2: reproducible.patch
|
||||
BuildRequires: bison
|
||||
BuildRequires: cmake >= 3.14
|
||||
BuildRequires: flex
|
||||
%if 0%{?suse_version} <= 1500
|
||||
BuildRequires: gcc9-c++
|
||||
%else
|
||||
BuildRequires: gcc-c++
|
||||
%endif
|
||||
BuildRequires: llvm-clang-devel
|
||||
BuildRequires: python3-base
|
||||
BuildRequires: python3-xml
|
||||
# Do not bother building documentation with latex since it is present on the
|
||||
# web trivialy for all versions of doxygen
|
||||
Obsoletes: doxygen-doc
|
||||
%if %{with libclang}
|
||||
BuildRequires: llvm-clang-devel
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
Doxygen is the de facto standard tool for generating documentation
|
||||
@ -62,14 +49,7 @@ language VHDL.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
# Leap 15 and SLE don't accept '%%autopatch -M'
|
||||
%patch -P 1 -p1
|
||||
%if %{with libclang}
|
||||
%if 0%{?sle_version} == 150100 || (0%{?sle_version} == 150200 && !0%{?is_opensuse})
|
||||
%patch -P 2 -p1
|
||||
%endif
|
||||
%endif
|
||||
%patch -P 3 -p1
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
@ -77,13 +57,7 @@ language VHDL.
|
||||
-Dbuild_xmlparser=ON \
|
||||
-Dbuild_search=OFF \
|
||||
-Dbuild_wizard=OFF \
|
||||
%if %{with libclang}
|
||||
-Duse_libclang=ON \
|
||||
%endif
|
||||
%if 0%{?suse_version} <= 1500
|
||||
-DCMAKE_C_COMPILER=gcc-9 \
|
||||
-DCMAKE_CXX_COMPILER=g++-9 \
|
||||
%endif
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,relro,-z,now" \
|
||||
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,relro,-z,now" \
|
||||
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,relro,-z,now" \
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: doxywizard
|
||||
Version: 1.13.1
|
||||
Version: 1.13.2
|
||||
Release: 0
|
||||
Summary: Graphical User Interface for Doxygen
|
||||
# qtools are used for building and they are GPL-3.0 licensed
|
||||
@ -29,11 +29,7 @@ Source1: doxywizard.desktop
|
||||
BuildRequires: bison
|
||||
BuildRequires: cmake >= 3.14
|
||||
BuildRequires: flex
|
||||
%if 0%{?suse_version} <= 1500
|
||||
BuildRequires: gcc9-c++
|
||||
%else
|
||||
BuildRequires: gcc-c++
|
||||
%endif
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python3-base
|
||||
@ -44,11 +40,9 @@ BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5Xml)
|
||||
Requires: doxygen = %{version}
|
||||
%if 0%{?suse_version} > 1230 && 0%{?suse_version} != 1315
|
||||
# for make tests
|
||||
BuildRequires: libxml2-tools
|
||||
BuildRequires: texlive-bibtex
|
||||
%endif
|
||||
|
||||
%description
|
||||
Doxywizard is a graphical front-end to read/edit/write doxygen
|
||||
@ -60,10 +54,6 @@ configuration files.
|
||||
%build
|
||||
%cmake \
|
||||
-Dbuild_wizard=ON \
|
||||
%if 0%{?suse_version} <= 1500
|
||||
-DCMAKE_C_COMPILER=gcc-9 \
|
||||
-DCMAKE_CXX_COMPILER=g++-9 \
|
||||
%endif
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,relro,-z,now" \
|
||||
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,relro,-z,now" \
|
||||
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,relro,-z,now" \
|
||||
@ -71,13 +61,11 @@ configuration files.
|
||||
-DBUILD_STATIC_LIBS=ON
|
||||
%cmake_build
|
||||
|
||||
%if 0%{?suse_version} > 1230 && 0%{?suse_version} != 1315
|
||||
%check
|
||||
export LANG=C.UTF-8
|
||||
# testing doxygen package here to avoid build
|
||||
# cycle between latex and doxygen
|
||||
%ctest
|
||||
%endif
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
Loading…
x
Reference in New Issue
Block a user