Accepting request 616308 from home:badshah400:branches:Publishing
- Add equalx-adapt-headers-for-qt5_11.patch: Include additional header files where needed for compilation against Qt 5.11 - Only run post(un) scripts for openSUSE < 1500; rpm file triggers take care of these for newer releases. OBS-URL: https://build.opensuse.org/request/show/616308 OBS-URL: https://build.opensuse.org/package/show/Publishing/equalx?expand=0&rev=15
This commit is contained in:
parent
4f4d9e1829
commit
ee2b4ab7c3
12
equalx-adapt-headers-for-qt5_11.patch
Normal file
12
equalx-adapt-headers-for-qt5_11.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: equalx-0.7.1/src/DialogPreferences.cpp
|
||||||
|
===================================================================
|
||||||
|
--- equalx-0.7.1.orig/src/DialogPreferences.cpp
|
||||||
|
+++ equalx-0.7.1/src/DialogPreferences.cpp
|
||||||
|
@@ -19,6 +19,7 @@
|
||||||
|
|
||||||
|
#include <QButtonGroup>
|
||||||
|
#include <QFileDialog>
|
||||||
|
+#include <QAction>
|
||||||
|
|
||||||
|
#include "defines.h"
|
||||||
|
#include "DialogPreferences.h"
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 12 11:35:40 UTC 2018 - badshah400@opensuse.org
|
||||||
|
|
||||||
|
- Add equalx-adapt-headers-for-qt5_11.patch: Include additional
|
||||||
|
header files where needed for compilation against Qt 5.11
|
||||||
|
- Only run post(un) scripts for openSUSE < 1500; rpm file triggers
|
||||||
|
take care of these for newer releases.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 2 17:37:46 UTC 2016 - badshah400@gmail.com
|
Sun Oct 2 17:37:46 UTC 2016 - badshah400@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package equalx
|
# spec file for package equalx
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,13 +20,15 @@ Name: equalx
|
|||||||
Version: 0.7.1
|
Version: 0.7.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Editor for writing and exporting TeX/LaTeX equations
|
Summary: Editor for writing and exporting TeX/LaTeX equations
|
||||||
License: GPL-3.0+
|
License: GPL-3.0-or-later
|
||||||
Group: Productivity/Publishing/TeX/Frontends
|
Group: Productivity/Publishing/TeX/Frontends
|
||||||
Url: http://equalx.sourceforge.net/
|
Url: http://equalx.sourceforge.net/
|
||||||
Source0: http://downloads.sourceforge.net/equalx/%{name}-%{version}.tar.gz
|
Source0: http://downloads.sourceforge.net/equalx/%{name}-%{version}.tar.gz
|
||||||
Source1: %{name}.appdata.xml
|
Source1: %{name}.appdata.xml
|
||||||
# PATCH-FIX-OPENSUSE equalx-fix-desktop-file.patch badshah400@gmail.com -- Fix icon tag in desktop file and categories for compatibility with openSUSE defined ones
|
# PATCH-FIX-OPENSUSE equalx-fix-desktop-file.patch badshah400@gmail.com -- Fix icon tag in desktop file and categories for compatibility with openSUSE defined ones
|
||||||
Patch0: equalx-fix-desktop-file.patch
|
Patch0: equalx-fix-desktop-file.patch
|
||||||
|
# PATCH-FIX-UPSTREAM equalx-adapt-headers-for-qt5_11.patch badshah400@opensuse.org -- Include additional header files where needed for compilation against Qt 5.11
|
||||||
|
Patch1: equalx-adapt-headers-for-qt5_11.patch
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: ghostscript
|
BuildRequires: ghostscript
|
||||||
@ -62,6 +64,7 @@ Features included:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
sed -i 's/\r$//' LICENSE README
|
sed -i 's/\r$//' LICENSE README
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -108,6 +111,7 @@ install -Dm0644 %{S:1} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
|
|||||||
|
|
||||||
%fdupes %{buildroot}%{_datadir}/%{name}
|
%fdupes %{buildroot}%{_datadir}/%{name}
|
||||||
|
|
||||||
|
%if 0%{?suse_version} < 1500
|
||||||
%post
|
%post
|
||||||
%icon_theme_cache_post
|
%icon_theme_cache_post
|
||||||
%desktop_database_post
|
%desktop_database_post
|
||||||
@ -115,6 +119,7 @@ install -Dm0644 %{S:1} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
|
|||||||
%postun
|
%postun
|
||||||
%icon_theme_cache_postun
|
%icon_theme_cache_postun
|
||||||
%desktop_database_postun
|
%desktop_database_postun
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user