Hello community, here is the log from the commit of package klatexformula for openSUSE:Factory checked in at 2020-11-29 12:28:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/klatexformula (Old) and /work/SRC/openSUSE:Factory/.klatexformula.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "klatexformula" Sun Nov 29 12:28:51 2020 rev:20 rq:851243 version:4.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/klatexformula/klatexformula.changes 2018-10-08 17:50:53.586065665 +0200 +++ /work/SRC/openSUSE:Factory/.klatexformula.new.5913/klatexformula.changes 2020-11-29 12:28:56.966033806 +0100 @@ -1,0 +2,16 @@ +Thu Nov 26 23:33:51 UTC 2020 - Christophe Giboudeaux <[email protected]> + +- Update to 4.1.0: + * Support for PDF-based and unicode LaTeX engines pdflatex, + xelatex and lualatex. + * Ukrainian translation + * Minor enhancements and bug fixes. +- Spec cleanup +- Drop obsolete patch: + * klatexformula-4.0.0-include_QAction.patch +- Drop unneeded patch: + * klatexformula-4.0.0-remove-uninstall-target.patch +- Add upstream patch: + * 0001-Fix-compilation-error-with-Qt-5.15.patch + +------------------------------------------------------------------- Old: ---- klatexformula-4.0.0-include_QAction.patch klatexformula-4.0.0-remove-uninstall-target.patch klatexformula-4.0.0.tar.gz New: ---- 0001-Fix-compilation-error-with-Qt-5.15.patch klatexformula-4.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ klatexformula.spec ++++++ --- /var/tmp/diff_new_pack.RZNGoe/_old 2020-11-29 12:28:57.466034311 +0100 +++ /var/tmp/diff_new_pack.RZNGoe/_new 2020-11-29 12:28:57.470034315 +0100 @@ -1,7 +1,7 @@ # # spec file for package klatexformula # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,36 +16,19 @@ # -# * Library version %define libversion 4 %define libversionpkgsuffix 4 -# * Set whether to compile with debug information or not, depending on ability to create debug packages -%define cmake_build_type "RelWithDebInfo" -%define makeinstall_target install -# * Set CMake Common compilation options -# Note: KLF_CMAKE_DEBUG only turns on KLF's CMake debugging messages, it has no effect upon the build itself. -%define cmake_common_options -DCMAKE_SKIP_RPATH=ON -DKLF_CMAKE_DEBUG=ON -DCMAKE_INSTALL_PREFIX="/usr" -DKLF_INSTALL_LIB_DIR=%{_libdir} -DKLF_INSTALL_BIN_DIR=%{_bindir} -# ktexteditor not ported to Qt5 -%define build_ktexteditorplugin 0 -%if %build_ktexteditorplugin - %define cmake_buildktexteditorplugin -DKLF_BUILD_KTEXTEDITORPLUGIN=ON -%else - %define cmake_buildktexteditorplugin -DKLF_BUILD_KTEXTEDITORPLUGIN=OFF -%endif -# ------------------------- -# -# Package Header -# -------------- - Name: klatexformula -Version: 4.0.0 +Version: 4.1.0 Release: 0 Summary: A gaphical application for generating images from LaTeX equations License: GPL-2.0-or-later Group: Productivity/Publishing/TeX/Frontends URL: http://klatexformula.sourceforge.net/ Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz -BuildRequires: cmake >= 2.6.4 +# PATCH-FIX-UPSTREAM +Patch0: 0001-Fix-compilation-error-with-Qt-5.15.patch +BuildRequires: cmake BuildRequires: doxygen BuildRequires: fdupes BuildRequires: graphviz @@ -57,26 +40,22 @@ BuildRequires: shared-mime-info BuildRequires: texlive-latex BuildRequires: update-desktop-files -BuildRequires: pkgconfig(Qt5Core) -BuildRequires: pkgconfig(Qt5DBus) -BuildRequires: pkgconfig(Qt5Designer) -BuildRequires: pkgconfig(Qt5Gui) -BuildRequires: pkgconfig(Qt5Sql) -BuildRequires: pkgconfig(Qt5Svg) -BuildRequires: pkgconfig(Qt5Widgets) -BuildRequires: pkgconfig(Qt5X11Extras) -BuildRequires: pkgconfig(Qt5Xml) -Requires: libklfbackend%libversionpkgsuffix = %{version} -Requires: libklftools%libversionpkgsuffix = %{version} +BuildRequires: cmake(Qt5Core) >= 5.12.7 +BuildRequires: cmake(Qt5DBus) +BuildRequires: cmake(Qt5Designer) +BuildRequires: cmake(Qt5Gui) +BuildRequires: cmake(Qt5Sql) +BuildRequires: cmake(Qt5Svg) +BuildRequires: cmake(Qt5Widgets) +BuildRequires: cmake(Qt5X11Extras) +BuildRequires: cmake(Qt5Xml) +Requires: libklfbackend%{libversionpkgsuffix} = %{version} +Requires: libklftools%{libversionpkgsuffix} = %{version} Requires: shared-mime-info Obsoletes: KLatexFormula < 3.2 Obsoletes: klatexformula-plugins < 3.2.2 Provides: KLatexFormula = %{version} Provides: klatexformula-plugins = %{version} -# PATCH-FIX-UPSTREAM klatexformula-4.0.0-remove-uninstall-target.patch -- fix CMake build error (picked from Debian) -Patch1: klatexformula-%{version}-remove-uninstall-target.patch -# PATCH-FIX-UPSTREAM klatexformula-4.0.0-include_QAction.patch -Patch2: klatexformula-4.0.0-include_QAction.patch %description KLatexFormula is a graphical user interface for generating images @@ -87,15 +66,14 @@ If the "cm-unicode" LaTeX package is installed, KLatexFormula can use LaTeX's Computer Modern Sans Serif font as a default application font. -%package -n libklfbackend%libversionpkgsuffix - +%package -n libklfbackend%{libversionpkgsuffix} Summary: KLatexFormula backend library (Qt4) Group: Development/Libraries/C and C++ Requires: gs Requires: texlive-latex Provides: libklfbackend = %{version} -%description -n libklfbackend%libversionpkgsuffix +%description -n libklfbackend%{libversionpkgsuffix} A C++/Qt library to generate images (PNG, EPS, PDF, plus all Qt-supported image formats) from LaTeX equations. @@ -121,13 +99,12 @@ See also packages klatexformula-devel and libklfbackend-qt3-devel -%package -n libklftools%libversionpkgsuffix - +%package -n libklftools%{libversionpkgsuffix} Summary: KLatexFormula tool library Group: Development/Libraries/C and C++ Provides: libklftools = %{version} -%description -n libklftools%libversionpkgsuffix +%description -n libklftools%{libversionpkgsuffix} A C++/Qt4 library containing general-purpose GUI tools. These tools were originially written for use by klatexformula, but they have @@ -163,126 +140,74 @@ This package contains the API documentation of the libraries libklfbackend and libklftool which are the different components of klatexformula. -%if %build_ktexteditorplugin - -%package ktexteditor-plugin -Summary: KLatexFormula integration into KDE4's text editor -Group: Productivity/Publishing/TeX/Frontends -Requires: klatexformula = %{version} -%{?kde4_runtime_requires} - -%description ktexteditor-plugin -KLatexFormula is a graphical user interface for generating images -from LaTeX equations. - -This package contains a KLatexFormula integration plugin for KDE4's KTextEditor -interface. This makes KLatexFormula integrate into Kate, Kile, and any other -KDE4 application using KTextEditor. - -%endif - %prep -%setup -q -%patch1 -p1 -%patch2 -p1 +%autosetup -p1 %build - -%cmake -DCMAKE_BUILD_TYPE=%cmake_build_type \ - -DKLF_LIBKLFBACKEND_STATIC=OFF \ - -DKLF_LIBKLFTOOLS_STATIC=OFF \ - %cmake_common_options \ - %cmake_buildktexteditorplugin \ - -DKLF_INSTALL_RUNTIME=ON \ - -DKLF_INSTALL_DEVEL=OFF \ - -DKLF_INSTALL_KLFTOOLS_HEADERS=ON \ - -DKLF_INSTALL_KLFBACKEND_HEADERS=ON \ - -DKLF_INSTALL_KLFBACKEND_AUTO_HEADERS=ON \ +%cmake \ + -DKLF_CMAKE_DEBUG=ON \ -DKLF_INCLUDE_FONTS="" \ + -DKLF_INSTALL_APIDOC_DIR="share/doc/klatexformula-api" \ + -DKLF_INSTALL_BIN_DIR=%{_bindir} \ -DKLF_INSTALL_DESKTOP_CATEGORIES="Qt;Office;Utility;Viewer;DesktopUtility;" \ -DKLF_INSTALL_DESKTOP_ICON="klatexformula" \ - -DKLF_INSTALL_SHARE_PIXMAPS_DIR="" \ + -DKLF_INSTALL_DEVEL=OFF \ -DKLF_INSTALL_ICON_THEME="share/icons/hicolor" \ - -DKLF_INSTALL_RUN_POST_INSTALL=OFF \ - -DKLF_INSTALL_APIDOC_DIR="share/doc/klatexformula-api" \ - -DKLF_INSTALL_SHARE_MAN1_DIR=%{_mandir}/man1 + -DKLF_INSTALL_KLFBACKEND_AUTO_HEADERS=ON \ + -DKLF_INSTALL_KLFBACKEND_HEADERS=ON \ + -DKLF_INSTALL_KLFTOOLS_HEADERS=ON \ + -DKLF_INSTALL_LIB_DIR=%{_libdir} \ + -DKLF_INSTALL_RUNTIME=ON \ + -DKLF_INSTALL_SHARE_MAN1_DIR=%{_mandir}/man1 \ + -DKLF_INSTALL_SHARE_PIXMAPS_DIR="" \ + -DKLF_LIBKLFBACKEND_STATIC=OFF \ + -DKLF_LIBKLFTOOLS_STATIC=OFF -make %{?_smp_mflags} VERBOSE=1 +%cmake_build %install %cmake_install # Doxygen doc generates some duplicate files in the big lot ... %fdupes %{buildroot}%{_datadir}/doc/klatexformula-api + # Man pages are duplicates %fdupes -s %{buildroot}%{_mandir} %suse_update_desktop_file klatexformula -%if %build_ktexteditorplugin - %suse_update_desktop_file %{buildroot}%{_datadir}/kde4/services/ktexteditor_klf.desktop - %suse_update_desktop_file %{buildroot}%{_datadir}/kde4/services/ktexteditor_klf_config.desktop -%endif + +%post -n libklfbackend%{libversionpkgsuffix} -p /sbin/ldconfig +%postun -n libklfbackend%{libversionpkgsuffix} -p /sbin/ldconfig +%post -n libklftools%{libversionpkgsuffix} -p /sbin/ldconfig +%postun -n libklftools%{libversionpkgsuffix} -p /sbin/ldconfig %files -%doc AUTHORS CMUFONTS_COPYING README -%license COPYING +%license CMUFONTS_COPYING COPYING.txt +%doc AUTHORS README %{_bindir}/klatexformula %{_bindir}/klatexformula_cmdl %{_datadir}/applications/klatexformula.desktop %{_datadir}/icons/*/*/*/* -%{_datadir}/mime/packages/klatexformula-mime.xml -%{_mandir}/man1/klatexformula.1.gz -%{_mandir}/man1/klatexformula_cmdl.1.gz %{_datadir}/klatexformula/ +%{_datadir}/mime/packages/klatexformula-mime.xml +%{_mandir}/man1/klatexformula.1%{?ext_man} +%{_mandir}/man1/klatexformula_cmdl.1%{?ext_man} -%post -update-mime-database /usr/share/mime -ldconfig - -%postun -update-mime-database /usr/share/mime -ldconfig - -%files -n libklfbackend%libversionpkgsuffix -%{_libdir}/libklfbackend.so.%libversion - -%post -n libklfbackend%libversionpkgsuffix -p /sbin/ldconfig - -%postun -n libklfbackend%libversionpkgsuffix -p /sbin/ldconfig +%files -n libklfbackend%{libversionpkgsuffix} +%{_libdir}/libklfbackend.so.%{libversion} %files -n klfbackend-devel -%{_libdir}/libklfbackend.so %{_includedir}/klfbackend/ +%{_libdir}/libklfbackend.so -%post -n klfbackend-devel -p /sbin/ldconfig - -%postun -n klfbackend-devel -p /sbin/ldconfig - -%files -n libklftools%libversionpkgsuffix +%files -n libklftools%{libversionpkgsuffix} %{_libdir}/libklftools.so.* -%post -n libklftools%libversionpkgsuffix -p /sbin/ldconfig - -%postun -n libklftools%libversionpkgsuffix -p /sbin/ldconfig - %files -n klftools-devel -%{_libdir}/libklftools.so %{_includedir}/klftools/ - -%post -n klftools-devel -p /sbin/ldconfig - -%postun -n klftools-devel -p /sbin/ldconfig +%{_libdir}/libklftools.so %files apidoc %{_datadir}/doc/klatexformula-api -%if %build_ktexteditorplugin - -%files ktexteditor-plugin -%{_libdir}/kde4/ktexteditor_klf.so -%{_datadir}/kde4/apps/ktexteditor_klf/ -%{_datadir}/kde4/services/ktexteditor_klf.desktop -%{_datadir}/kde4/services/ktexteditor_klf_config.desktop -%endif - %changelog ++++++ 0001-Fix-compilation-error-with-Qt-5.15.patch ++++++ From d206ed1d41e537f097b553dabf604efbd76c1962 Mon Sep 17 00:00:00 2001 From: data-man <[email protected]> Date: Mon, 13 Jul 2020 02:58:41 +0500 Subject: [PATCH] Fix compilation error with Qt 5.15 --- src/klftools/klfflowlistwidget_p.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/klftools/klfflowlistwidget_p.h b/src/klftools/klfflowlistwidget_p.h index 770eb5a..fc14fce 100644 --- a/src/klftools/klfflowlistwidget_p.h +++ b/src/klftools/klfflowlistwidget_p.h @@ -34,6 +34,7 @@ #include <QWidget> #include <QLabel> #include <QPainter> +#include <QPainterPath> #include <QMouseEvent> #include <QHoverEvent> #include <QTimer> -- 2.29.2 ++++++ klatexformula-4.0.0.tar.gz -> klatexformula-4.1.0.tar.gz ++++++ ++++ 27099 lines of diff (skipped) _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
