1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

devel/doxygen: update to 1.9.6 release (+)

Changelog:	https://www.doxygen.nl/manual/changelog.html#log_1_9_6
This commit is contained in:
Dima Panov 2023-01-16 22:07:57 +03:00
parent a7a3ac5596
commit d84d21b117
17 changed files with 75 additions and 52 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= doxygen
PORTVERSION= 1.9.5
PORTVERSION= 1.9.6
PORTEPOCH= 2
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/rel-${PORTVERSION} \
@ -34,10 +34,10 @@ DOCS_USE= TEX=base:build,dvipsk:build,pdftex:build
DOCS_ALL_TARGET= docs
DOCS_BUILD_DEPENDS= dot:graphics/graphviz
DOCS_CMAKE_BOOL= build_doc
DOCS_PLIST_FILES= man/man1/doxygen.1.gz \
man/man1/doxyindexer.1.gz \
man/man1/doxysearch.1.gz \
man/man1/doxywizard.1.gz
DOCS_PLIST_FILES= share/man/man1/doxygen.1.gz \
share/man/man1/doxyindexer.1.gz \
share/man/man1/doxysearch.1.gz \
share/man/man1/doxywizard.1.gz
# Parallel jobs break when the DOCS option is on
DOCS_VARS= MAKE_JOBS_UNSAFE=yes

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1661695374
SHA256 (doxygen-1.9.5.src.tar.gz) = 55b454b35d998229a96f3d5485d57a0a517ce2b78d025efb79d57b5a2e4b2eec
SIZE (doxygen-1.9.5.src.tar.gz) = 5251459
TIMESTAMP = 1673081300
SHA256 (doxygen-1.9.6.src.tar.gz) = 297f8ba484265ed3ebd3ff3fe7734eb349a77e4f95c8be52ed9977f51dea49df
SIZE (doxygen-1.9.6.src.tar.gz) = 5293513

View File

@ -1,6 +1,6 @@
--- CMakeLists.txt.orig 2020-12-21 14:08:57 UTC
--- CMakeLists.txt.orig 2022-12-20 18:30:03 UTC
+++ CMakeLists.txt
@@ -169,7 +169,6 @@ endif()
@@ -197,7 +197,6 @@ include(cmake/Coverage.cmake)
include(cmake/CompilerWarnings.cmake)
include(cmake/Coverage.cmake)

View File

@ -1,6 +1,6 @@
--- addon/doxywizard/CMakeLists.txt
--- addon/doxywizard/CMakeLists.txt.orig 2022-08-24 15:18:42 UTC
+++ addon/doxywizard/CMakeLists.txt
@@ -132,12 +132,12 @@ if(Qt5Core_FOUND)
@@ -182,12 +182,12 @@ if(Qt5Core_FOUND)
endif()
if(Qt5Core_FOUND)

View File

@ -1,11 +0,0 @@
--- doc/CMakeLists.txt.orig 2020-11-14 18:13:29 UTC
+++ doc/CMakeLists.txt
@@ -240,7 +240,7 @@ install(FILES
"${PROJECT_BINARY_DIR}/man/doxywizard.1"
"${PROJECT_BINARY_DIR}/man/doxysearch.1"
"${PROJECT_BINARY_DIR}/man/doxyindexer.1"
- DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
+ DESTINATION man/man1
)
install(CODE "if(NOT EXISTS \"${PROJECT_BINARY_DIR}/latex/doxygen_manual.pdf\")

View File

@ -0,0 +1,12 @@
--- doc_internal/Doxyfile.in.orig 2022-12-18 10:39:03 UTC
+++ doc_internal/Doxyfile.in
@@ -298,8 +298,7 @@ SEARCH_INCLUDES = YES
MACRO_EXPANSION = YES
EXPAND_ONLY_PREDEF = YES
SEARCH_INCLUDES = YES
-INCLUDE_PATH = @CMAKE_SOURCE_DIR@/libmd5 \
- @CMAKE_SOURCE_DIR@/liblodepng \
+INCLUDE_PATH = @CMAKE_SOURCE_DIR@/liblodepng \
@CMAKE_SOURCE_DIR@/libmscgen
INCLUDE_FILE_PATTERNS =
PREDEFINED =

View File

@ -0,0 +1,11 @@
--- doc/doxygen_manual.tex.orig 2019-08-04 11:51:41 UTC
+++ doc/doxygen_manual.tex
@@ -22,7 +22,7 @@
\usepackage{array}[=2016-10-06]
\fi
%%
-\usepackage[a4paper,left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry}
+\usepackage[left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry}
\usepackage{makeidx}
\usepackage{natbib}
\usepackage{graphicx}

View File

@ -0,0 +1,23 @@
Hack to avoid "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 45: invalid start byte"
in src/._xmlgen.cpp which is binary. This doesn't seem like it should be present at the time the docs
are generated, but this is simpler for now.
--- doc/translator.py.orig 2023-01-07 08:48:38 UTC
+++ doc/translator.py
@@ -1459,10 +1459,13 @@ class TrManager:
# Read content of the file as one string.
assert os.path.isfile(fname)
- f = xopen(fname)
- cont = f.read()
- cont = ''.join(cont.split('\n')) # otherwise the 'match' function won't work.
- f.close()
+ try:
+ with xopen(fname) as f:
+ cont = f.read()
+ cont = ''.join(cont.split('\n')) # otherwise the 'match' function won't work.
+ except UnicodeDecodeError:
+ print("Skipping {0} because of decoding errors".format(fname))
+ return
# Remove the items for identifiers that were found in the file.
while lst_in:

View File

@ -1,12 +0,0 @@
--- Doxyfile.orig 2021-07-30 18:31:20 UTC
+++ Doxyfile
@@ -274,8 +274,7 @@ ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = YES
EXPAND_ONLY_PREDEF = YES
SEARCH_INCLUDES = YES
-INCLUDE_PATH = libmd5 \
- liblodepng \
+INCLUDE_PATH = liblodepng \
libmscgen
INCLUDE_FILE_PATTERNS =
PREDEFINED =

View File

@ -1,6 +1,6 @@
--- src/CMakeLists.txt.orig 2021-05-12 18:47:52 UTC
--- src/CMakeLists.txt.orig 2022-12-20 18:30:03 UTC
+++ src/CMakeLists.txt
@@ -2,7 +2,6 @@
@@ -2,7 +2,6 @@ include_directories(
include_directories(
${PROJECT_SOURCE_DIR}/filesystem
@ -8,7 +8,7 @@
${PROJECT_SOURCE_DIR}/liblodepng
${PROJECT_SOURCE_DIR}/libmscgen
${PROJECT_SOURCE_DIR}/libversion
@@ -69,7 +68,7 @@ set_source_files_properties(${GENERATED_SRC}/configopt
@@ -69,7 +68,7 @@ add_custom_command(
# ce_parse.h
add_custom_command(
@ -17,7 +17,7 @@
DEPENDS ${CMAKE_CURRENT_LIST_DIR}/constexp.y
OUTPUT ${GENERATED_SRC}/ce_parse.h
WORKING_DIRECTORY ${GENERATED_SRC}
@@ -353,7 +352,7 @@ endif()
@@ -387,7 +386,7 @@ target_link_libraries(doxygen PRIVATE
target_link_libraries(doxygen PRIVATE
doxymain
doxycfg

View File

@ -1,4 +1,4 @@
--- src/definition.cpp.orig 2022-08-23 13:47:08 UTC
--- src/definition.cpp.orig 2022-12-25 19:21:45 UTC
+++ src/definition.cpp
@@ -7,6 +7,7 @@
#include <stdio.h>

View File

@ -1,4 +1,4 @@
--- src/dirdef.cpp.orig 2022-08-11 20:14:32 UTC
--- src/dirdef.cpp.orig 2022-12-18 12:21:42 UTC
+++ src/dirdef.cpp
@@ -14,6 +14,7 @@
*/

View File

@ -1,7 +1,7 @@
--- src/dotgraph.cpp.orig 2022-08-11 20:14:32 UTC
--- src/dotgraph.cpp.orig 2022-12-25 19:00:20 UTC
+++ src/dotgraph.cpp
@@ -16,6 +16,7 @@
#include <sstream>
@@ -15,6 +15,7 @@
#include <mutex>
#include <regex>
+#include <sys/types.h>

View File

@ -1,4 +1,4 @@
--- src/memberdef.cpp.orig 2022-08-11 20:14:32 UTC
--- src/memberdef.cpp.orig 2022-12-26 12:52:22 UTC
+++ src/memberdef.cpp
@@ -17,6 +17,7 @@
#include <stdio.h>
@ -8,7 +8,7 @@
#include "md5.h"
#include "memberdef.h"
@@ -4118,10 +4119,8 @@ void MemberDefImpl::setAnchor()
@@ -4149,10 +4150,8 @@ void MemberDefImpl::setAnchor()
}
// convert to md5 hash

View File

@ -1,4 +1,4 @@
--- src/membergroup.cpp.orig 2022-08-11 20:14:32 UTC
--- src/membergroup.cpp.orig 2022-09-18 12:47:12 UTC
+++ src/membergroup.cpp
@@ -15,6 +15,8 @@
*

View File

@ -1,4 +1,4 @@
--- src/util.cpp.orig 2022-08-26 07:34:22 UTC
--- src/util.cpp.orig 2022-12-25 18:59:09 UTC
+++ src/util.cpp
@@ -30,6 +30,7 @@
#include <cinttypes>
@ -8,7 +8,7 @@
#include "md5.h"
#include "regex.h"
@@ -3715,26 +3716,18 @@ QCString convertNameToFile(const QCString &name,bool a
@@ -3754,26 +3755,18 @@ QCString convertNameToFile(const QCString &name,bool a
if (resultLen>=128) // prevent names that cannot be created!
{
// third algorithm based on MD5 hash
@ -40,7 +40,7 @@
}
//printf("*** convertNameToFile(%s)->%s\n",qPrint(name),qPrint(result));
return result;
@@ -7389,6 +7382,11 @@ QCString removeEmptyLines(const QCString &s)
@@ -7429,6 +7422,11 @@ QCString removeEmptyLines(const QCString &s)
QCString removeEmptyLines(const QCString &s)
{
BufStr out(s.length()+1);

View File

@ -1,6 +1,6 @@
--- vhdlparser/CMakeLists.txt.orig 2021-05-12 18:46:54 UTC
--- vhdlparser/CMakeLists.txt.orig 2022-12-19 11:34:59 UTC
+++ vhdlparser/CMakeLists.txt
@@ -37,8 +37,8 @@ add_custom_command(
@@ -35,8 +35,8 @@ include_directories(
set_source_files_properties(${GENERATED_SRC}/VhdlParser_adj.cc PROPERTIES GENERATED 1)
include_directories(