]> git.pld-linux.org Git - packages/doxygen.git/commitdiff
up to 1.8.18
authorJan Palus <atler@pld-linux.org>
Fri, 1 May 2020 10:42:25 +0000 (12:42 +0200)
committerJan Palus <atler@pld-linux.org>
Fri, 1 May 2020 10:42:25 +0000 (12:42 +0200)
- upstream switched to cmake
- do not build shared lib (undefined symbols)
- skip installation of pdf manual (no rule to build it)

doxygen-manual_pdf.patch [new file with mode: 0644]
doxygen-qt-dirs.patch [deleted file]
doxygen.spec

diff --git a/doxygen-manual_pdf.patch b/doxygen-manual_pdf.patch
new file mode 100644 (file)
index 0000000..edddf33
--- /dev/null
@@ -0,0 +1,14 @@
+--- doxygen-1.8.18/doc/CMakeLists.txt.orig     2020-01-03 23:51:18.000000000 +0100
++++ doxygen-1.8.18/doc/CMakeLists.txt  2020-05-01 12:39:52.747056284 +0200
+@@ -212,11 +212,6 @@
+         DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
+ )
+-install(FILES
+-        "${PROJECT_BINARY_DIR}/latex/doxygen_manual.pdf"
+-        DESTINATION "${CMAKE_INSTALL_PREFIX}/${DOC_INSTALL_DIR}"
+-)
+-
+ if (build_doc_chm)
+ install(FILES
+         "${PROJECT_BINARY_DIR}/chm/doxygen_manual.chm"
diff --git a/doxygen-qt-dirs.patch b/doxygen-qt-dirs.patch
deleted file mode 100644 (file)
index 5a26027..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
---- doxygen-1.8.6/configure.orig       2013-12-24 17:14:46.000000000 +0100
-+++ doxygen-1.8.6/configure    2014-01-29 20:59:58.925766639 +0100
-@@ -326,7 +326,7 @@
-   if test -z "$QTDIR"; then
-     echo "  QTDIR environment variable not set!"
-     printf "  Checking for Qt..."
--    for d in /usr/{lib,share,qt}/{qt-4,qt4,qt,qt*,4} /usr; do
-+    for d in /usr/{libx32,lib64,lib,share,qt}/{qt-4,qt4,qt,qt*,4}; do
-       if test -x "$d/bin/qmake"; then
-         QTDIR=$d
-         break 2
-@@ -704,6 +704,7 @@
- DOXYDOCS  = ..
- DOCDIR    = $f_docdir
- QTDIR     = $QTDIR
-+MAN1DIR    = share/man/man1
- EOF
- if test "$f_dot" != NO; then
---- doxygen-1.8.3/Makefile.in.orig     2013-01-02 21:33:10.021332601 +0100
-+++ doxygen-1.8.3/Makefile.in  2013-01-03 16:32:34.159907679 +0100
-@@ -53,8 +53,6 @@
- DATE=$(shell date "+%B %Y")
--MAN1DIR = man/man1
--
- install: doxywizard_install doxysearch_install
-       $(INSTTOOL) -d $(DESTDIR)/$(INSTALL)/bin
-       $(INSTTOOL) -m 755 bin/doxygen        $(DESTDIR)/$(INSTALL)/bin
index 97cc86591031baebd7e21f46ea7aa2202386c95e..a99fb5acc3074319d35d73c53fcfa6461e132053 100644 (file)
@@ -9,26 +9,28 @@ Summary(pt_BR.UTF-8): Um sistema de documentação para C/C++
 Summary(ru.UTF-8):     Система документирования для C та C++
 Summary(uk.UTF-8):     Система документування для C та C++
 Name:          doxygen
-Version:       1.8.8
-Release:       2
+Version:       1.8.18
+Release:       1
 Epoch:         1
 License:       GPL v2
 Group:         Development/Tools
-Source0:       ftp://ftp.stack.nl/pub/users/dimitri/%{name}-%{version}.src.tar.gz
-# Source0-md5: 0cbe6912fcac302a984bfcfb9231fec9
-Patch0:                %{name}-qt-dirs.patch
+Source0:       http://doxygen.nl/files/%{name}-%{version}.src.tar.gz
+# Source0-md5: eda8e82fcc58970894029b0399776cb5
+Patch0:                %{name}-manual_pdf.patch
 URL:           http://www.doxygen.org/
-%{?with_qt:BuildRequires:      QtGui-devel >= 4.3}
-%{?with_qt:BuildRequires:      QtXml-devel >= 4.3}
+%{?with_qt:BuildRequires:      Qt5Gui-devel}
+%{?with_qt:BuildRequires:      Qt5Xml-devel}
 BuildRequires: bison
+BuildRequires: cmake >= 3.3
 BuildRequires: flex
 BuildRequires: ghostscript
 BuildRequires: ghostscript-fonts-std
 BuildRequires: libpng-devel
-BuildRequires: libstdc++-devel
+# c++14
+BuildRequires: libstdc++-devel >= 6:5.0
 BuildRequires: perl-base
-%{?with_qt:BuildRequires:      qt4-build >= 4.3}
-%{?with_qt:BuildRequires:      qt4-qmake >= 4.3}
+%{?with_qt:BuildRequires:      qt5-build}
+%{?with_qt:BuildRequires:      qt5-qmake}
 BuildRequires: texlive-latex
 BuildRequires: texlive-pdftex
 # I don't know what is the exact names in TI, please correct
@@ -140,25 +142,10 @@ Wizard gráfico para o Doxygen.
 %patch0 -p1
 
 %build
-# don't change it to %%configure, not autoconf-generated!
-./configure \
-       --prefix %{_prefix} \
-       --perl %{__perl} \
-       --install %{_bindir}/install \
-       %{?with_qt:--with-doxywizard}
-
-%{__make} \
-       CC="%{__cc}" \
-       CXX="%{__cxx}" \
-       LINK="%{__cxx}" \
-       QMAKE="%{_bindir}/qmake-qt4" \
-       QTDIR="%{_prefix}" \
-       CFLAGS="%{rpmcflags}" \
-       CXXFLAGS="%{rpmcxxflags} -DQT_LITE_UNICODE -DNODEBUG" \
-       LFLAGS="%{rpmldflags}"
-
-%{__make} docs
-#%%{__make} pdf
+%cmake \
+       -DBUILD_SHARED_LIBS=OFF \
+       -Dbuild_doc=ON \
+       -Dbuild_wizard=%{?with_qt:ON}%{!?with_qt:OFF}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.106819 seconds and 4 git commands to generate.