Accepting request 1199366 from Publishing

- Update to version 6.0.0
- Use cmake+Qt6 for builds.

OBS-URL: https://build.opensuse.org/request/show/1199366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texmaker?expand=0&rev=52
This commit is contained in:
Ana Guerrero 2024-09-09 12:44:07 +00:00 committed by Git OBS Bridge
commit 868cea82ea
4 changed files with 83 additions and 34 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:320504d62b71b591c06b7d0b1202ac750a3112fe2ca328e30580055eb308fea6
size 15277027

3
texmaker-6.0.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:977ce580e25c1ab6e0bc3da103be0b43ebf60b8ce0d27273104fdd7f586177fc
size 14920994

View File

@ -1,3 +1,49 @@
-------------------------------------------------------------------
Thu Sep 5 18:12:58 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Drop texmaker-rpmlintrc file and use `-DCMAKE_SKIP_RPATH=ON`
when configuring to prevent rpaths in binary.
- Downgrade to GCC 8 (minimum version with full <filesystem>
support) for Leap 15.x.
- Drop erroneous %check section.
- Drop redundant %suse_update_desktop_file usage.
- Update License tag: GPL-2.0-or-later instead of GPL-2.0-only.
-------------------------------------------------------------------
Thu Sep 5 09:32:37 UTC 2024 - RN <R_Nik_C@proton.me>
- Added rpmlintrc for build package
-------------------------------------------------------------------
Wed Aug 28 20:16:14 UTC 2024 - RN <R_Nik_C@proton.me>
- Update to version 6.0.0:
* Texmaker 6.x versions are designed for Qt6 (Qt5 support is
deprecated and will no more be tested)
* reorganization of the source files
* switch to cmake for build system (a qmake .pro file is still
available in the qmake_deprecated subdirectory but should no
more work in the future)
* macosx packages are now built for arm64 architecture (Mx
chipsets)
* a critical bug that happens on windows with large files has
been fixed (limitation of calling a recursive function with
msvc)
* a bug related to the bad detection of % !TEX root = has been
fixed
* the obsolete "svn helper" has been replaced by "git helper"
* texmaker now tries to use the devicePixelRatio of the screen
corresponding to the window of the pdf document instead of
qApp-devicePixelRatio() (in case of use of a second screen for
the pdf viewer)
* on gtk based desktop, texmaker now tries first to detect the
gtk4 theme and see if the corresponding theme is available for
Qt
* key pressed detection in presentation wiew for the pdf has been
completed
- Use cmake+Qt6 for builds.
- For Leap 15.x, use GCC 13 for compilation.
-------------------------------------------------------------------
Sat Jun 10 09:50:23 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package texmaker
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,26 +16,34 @@
#
%if %{?is_opensuse} && 0%{?suse_version} <= 1650
%define gcc_ver 8
%endif
Name: texmaker
Version: 5.1.4
Version: 6.0.0
Release: 0
Summary: LaTeX editor
License: BSD-3-Clause AND GPL-2.0-only
License: BSD-3-Clause AND GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Frontends
URL: http://www.xm1math.net/texmaker/
Source: http://www.xm1math.net/texmaker/texmaker-%{version}.tar.bz2
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: libqt5-qtbase-private-headers-devel >= 5.7
BuildRequires: gcc%{?gcc_ver}-c++
BuildRequires: pkgconfig
BuildRequires: qt6-base-private-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5PrintSupport)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(Qt5Script)
BuildRequires: pkgconfig(Qt5Xml)
BuildRequires: pkgconfig(Qt6Concurrent)
BuildRequires: pkgconfig(Qt6Core)
BuildRequires: pkgconfig(Qt6Core5Compat)
BuildRequires: pkgconfig(Qt6Gui)
BuildRequires: pkgconfig(Qt6Linguist)
BuildRequires: pkgconfig(Qt6Network)
BuildRequires: pkgconfig(Qt6PrintSupport)
BuildRequires: pkgconfig(Qt6Quick)
BuildRequires: pkgconfig(Qt6WebEngineCore)
BuildRequires: pkgconfig(Qt6WebEngineWidgets)
BuildRequires: pkgconfig(Qt6Xml)
Requires: hunspell
Requires: texlive-collection-latexrecommended
Requires: web_browser
@ -50,34 +58,29 @@ code folding and a built-in PDF viewer with synctex support and
continuous view mode.
%prep
%setup -q
%autosetup -p1
%build
QTDIR=%{_libdir}/qt5
PATH=$QTDIR/bin:$PATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
DYLD_LIBRARY_PATH=$QTDIR/lib:$DYLD_LIBRARY_PATH
export QTDIR PATH LD_LIBRARY_PATH DYLD_LIBRARY_PATH
PREFIX=%{_prefix}
find ./ -name ".qmake.stash" -delete -print
%qmake5 METAINFODIR="%{_datadir}/metainfo" -unix texmaker.pro
%make_jobs
%cmake \
-DCMAKE_C_COMPILER=gcc%{?gcc_ver:-%{gcc_ver}} \
-DCMAKE_CXX_COMPILER=g++%{?gcc_ver:-%{gcc_ver}} \
-DCMAKE_SKIP_RPATH=ON \
%{nil}
%cmake_build
%install
%qmake5_install
%cmake_install
%fdupes %{buildroot}%{_datadir}/%{name}/
# REMOVE DOC FILES PACKAGED ANYWAY USING %%doc
rm %{buildroot}%{_datadir}/%{name}/{AUTHORS,COPYING,CHANGELOG.txt}
%files
%doc utilities/AUTHORS utilities/CHANGELOG.txt
%license utilities/COPYING
%{_bindir}/texmaker
%{_datadir}/applications/texmaker.desktop
%{_datadir}/pixmaps/texmaker.png
%{_datadir}/texmaker/
%license COPYING 3rdparty/pdfium/LICENSE
%doc datas/CHANGELOG.txt AUTHORS 3rdparty/pdfium/AUTHORS
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/%{name}/
%{_datadir}/metainfo/%{name}.metainfo.xml
%changelog