[arch-commits] Commit in doxygen/repos/extra-x86_64 (3 files)
Levente Polyak
anthraxx at archlinux.org
Mon Oct 7 09:33:29 UTC 2019
Date: Monday, October 7, 2019 @ 09:33:29
Author: anthraxx
Revision: 363997
archrelease: copy trunk to extra-x86_64
Added:
doxygen/repos/extra-x86_64/PKGBUILD
(from rev 363996, doxygen/trunk/PKGBUILD)
doxygen/repos/extra-x86_64/doxygen-1.8.16-compat.patch
(from rev 363996, doxygen/trunk/doxygen-1.8.16-compat.patch)
Deleted:
doxygen/repos/extra-x86_64/PKGBUILD
-----------------------------+
PKGBUILD | 136 +++++++++++++++++++++---------------------
doxygen-1.8.16-compat.patch | 48 ++++++++++++++
2 files changed, 118 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-07 09:33:24 UTC (rev 363996)
+++ PKGBUILD 2019-10-07 09:33:29 UTC (rev 363997)
@@ -1,66 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Dan McGee <dan at archlinux.org>
-
-pkgbase=doxygen
-pkgname=('doxygen' 'doxygen-docs')
-pkgver=1.8.16
-pkgrel=1
-pkgdesc='Documentation system for C++, C, Java, IDL and PHP'
-url='http://www.doxygen.org/'
-arch=('x86_64')
-license=('GPL')
-makedepends=('cmake' 'gcc-libs' 'flex' 'qt5-base' 'texlive-core' 'ghostscript'
- 'texlive-latexextra' 'graphviz' 'python2' 'git')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/doxygen/doxygen/archive/Release_${pkgver//./_}.tar.gz)
-sha256sums=('75b18117f88ca1930ab74c05f6712690a26dd4fdcfc9d7d5324be43160645fb4')
-sha512sums=('546ceaae949cf5cc8162309bc804dad7a00b970c14a2dd66d27111e03f2fbebfec299ddc559f8c915ed00776217d2c439843806d2b6c15b58cf29f490979bd8f')
-
-prepare() {
- cd ${pkgbase}-Release_${pkgver//./_}
- mkdir build
- # Install the man pages in the right place
- sed -i 's:DESTINATION man/man1:DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1":g' \
- doc/CMakeLists.txt
-}
-
-build() {
- cd ${pkgbase}-Release_${pkgver//./_}/build
-
- cmake .. \
- -DCMAKE_INSTALL_PREFIX:PATH=/usr \
- -DDOC_INSTALL_DIR:PATH=share/doc/doxygen \
- -DPYTHON_EXECUTABLE:FILE=/usr/bin/python2 \
- -Dbuild_doc:BOOL=ON \
- -Dbuild_wizard:BOOL=ON
- make
- make docs
-}
-
-check() {
- cd ${pkgbase}-Release_${pkgver//./_}/build
- make tests
-}
-
-package_doxygen() {
- pkgdesc='Documentation system for C++, C, Java, IDL and PHP'
- depends=('gcc-libs')
- optdepends=('graphviz: for caller/callee graph generation'
- 'qt5-base: for doxywizard')
-
- cd ${pkgbase}-Release_${pkgver//./_}/build
- make DESTDIR="${pkgdir}" install
-
- rm -rf "${pkgdir}/usr/share/doc"
-}
-
-package_doxygen-docs() {
- pkgdesc='Developer documentation for doxygen'
-
- cd ${pkgbase}-Release_${pkgver//./_}/build
- make DESTDIR="${pkgdir}" install
-
- rm -rf "${pkgdir}/usr/bin"
- rm -rf "${pkgdir}/usr/share/man"
-}
-
-# vim: ts=2 sw=2 et:
Copied: doxygen/repos/extra-x86_64/PKGBUILD (from rev 363996, doxygen/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-07 09:33:29 UTC (rev 363997)
@@ -0,0 +1,70 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Dan McGee <dan at archlinux.org>
+
+pkgbase=doxygen
+pkgname=('doxygen' 'doxygen-docs')
+pkgver=1.8.16
+pkgrel=2
+pkgdesc='Documentation system for C++, C, Java, IDL and PHP'
+url='http://www.doxygen.nl'
+arch=('x86_64')
+license=('GPL')
+makedepends=('cmake' 'gcc-libs' 'flex' 'qt5-base' 'texlive-core' 'ghostscript'
+ 'texlive-latexextra' 'graphviz' 'python2' 'git')
+source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/doxygen/doxygen/archive/Release_${pkgver//./_}.tar.gz
+ doxygen-1.8.16-compat.patch)
+sha256sums=('75b18117f88ca1930ab74c05f6712690a26dd4fdcfc9d7d5324be43160645fb4'
+ 'bb0d5a9baa9ee364da6ba51f5501d5a882572ae15055dc2db41593f3a19cb0e1')
+sha512sums=('546ceaae949cf5cc8162309bc804dad7a00b970c14a2dd66d27111e03f2fbebfec299ddc559f8c915ed00776217d2c439843806d2b6c15b58cf29f490979bd8f'
+ 'c41d5dd0e69d42119c025582ea9beb2bb09cf37f654e5d02aa2f68fea4ecb3465dc1b47d8e6202da1188b44e61ca3b90e848dfdf8464d33674bdc2645ae21144')
+
+prepare() {
+ cd ${pkgbase}-Release_${pkgver//./_}
+ mkdir build
+ # Install the man pages in the right place
+ sed -i 's:DESTINATION man/man1:DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1":g' \
+ doc/CMakeLists.txt
+ patch -Np1 < ../doxygen-1.8.16-compat.patch
+}
+
+build() {
+ cd ${pkgbase}-Release_${pkgver//./_}/build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DDOC_INSTALL_DIR:PATH=share/doc/doxygen \
+ -DPYTHON_EXECUTABLE:FILE=/usr/bin/python2 \
+ -Dbuild_doc:BOOL=ON \
+ -Dbuild_wizard:BOOL=ON
+ make
+ make docs
+}
+
+check() {
+ cd ${pkgbase}-Release_${pkgver//./_}/build
+ make tests
+}
+
+package_doxygen() {
+ pkgdesc='Documentation system for C++, C, Java, IDL and PHP'
+ depends=('gcc-libs')
+ optdepends=('graphviz: for caller/callee graph generation'
+ 'qt5-base: for doxywizard')
+
+ cd ${pkgbase}-Release_${pkgver//./_}/build
+ make DESTDIR="${pkgdir}" install
+
+ rm -rf "${pkgdir}/usr/share/doc"
+}
+
+package_doxygen-docs() {
+ pkgdesc='Developer documentation for doxygen'
+
+ cd ${pkgbase}-Release_${pkgver//./_}/build
+ make DESTDIR="${pkgdir}" install
+
+ rm -rf "${pkgdir}/usr/bin"
+ rm -rf "${pkgdir}/usr/share/man"
+}
+
+# vim: ts=2 sw=2 et:
Copied: doxygen/repos/extra-x86_64/doxygen-1.8.16-compat.patch (from rev 363996, doxygen/trunk/doxygen-1.8.16-compat.patch)
===================================================================
--- doxygen-1.8.16-compat.patch (rev 0)
+++ doxygen-1.8.16-compat.patch 2019-10-07 09:33:29 UTC (rev 363997)
@@ -0,0 +1,48 @@
+From 4a72a9b07e805b4ba27560e8e921bcee0002ef4c Mon Sep 17 00:00:00 2001
+From: albert-github <albert.tests at gmail.com>
+Date: Mon, 9 Sep 2019 13:28:28 +0200
+Subject: [PATCH] issue #7248: Including external tag files with TOC produces a
+ broken index.qhp
+
+Ignore automatically generated anchor names when importing a tag file.
+---
+ src/tagreader.cpp | 19 ++++++++++++++++++-
+ 1 file changed, 18 insertions(+), 1 deletion(-)
+
+diff --git a/src/tagreader.cpp b/src/tagreader.cpp
+index 56dbe7df9..d79d9b5c5 100644
+--- a/src/tagreader.cpp
++++ b/src/tagreader.cpp
+@@ -494,6 +494,23 @@ class TagFileParser : public QXmlDefaultHandler
+
+ void endDocAnchor()
+ {
++ // Check whether or not the tag is automatically generate, in that case ignore the tag.
++ switch(m_state)
++ {
++ case InClass:
++ case InFile:
++ case InNamespace:
++ case InGroup:
++ case InPage:
++ case InMember:
++ case InPackage:
++ case InDir:
++ if (QString(m_curString).startsWith("autotoc_md")) return;
++ break;
++ default:
++ warn("Unexpected tag 'docanchor' found");
++ return;
++ }
+ switch(m_state)
+ {
+ case InClass: m_curClass->docAnchors.append(new TagAnchorInfo(m_fileName,m_curString,m_title)); break;
+@@ -504,7 +521,7 @@ class TagFileParser : public QXmlDefaultHandler
+ case InMember: m_curMember->docAnchors.append(new TagAnchorInfo(m_fileName,m_curString,m_title)); break;
+ case InPackage: m_curPackage->docAnchors.append(new TagAnchorInfo(m_fileName,m_curString,m_title)); break;
+ case InDir: m_curDir->docAnchors.append(new TagAnchorInfo(m_fileName,m_curString,m_title)); break;
+- default: warn("Unexpected tag 'docanchor' found"); break;
++ default: warn("Unexpected tag 'docanchor' found"); break; // Not really necessary anymore
+ }
+ }
+
More information about the arch-commits
mailing list