Accepting request 582414 from Publishing
new upstream release OBS-URL: https://build.opensuse.org/request/show/582414 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texmaker?expand=0&rev=44
This commit is contained in:
commit
2c013e0566
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2ce9966e410bf878649d1c756e3dc2a077e55e1eaa9f4beb10aa7224cd94d614
|
||||
size 11287724
|
3
texmaker-5.0.2.tar.bz2
Normal file
3
texmaker-5.0.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a94e8d77a16fddd0789c452b0913bb098b1f895397b3ad53be29ad84aaac0179
|
||||
size 15695684
|
@ -1,61 +0,0 @@
|
||||
Index: texmaker-4.5/utilities/texmaker.appdata.xml
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ texmaker-4.5/utilities/texmaker.appdata.xml
|
||||
@@ -0,0 +1,26 @@
|
||||
+<?xml version='1.0' encoding='UTF-8'?>
|
||||
+<component>
|
||||
+ <id type="desktop">texmaker.desktop</id>
|
||||
+ <metadata_license>CC0-1.0</metadata_license>
|
||||
+ <name>Texmaker LaTeX Editor</name>
|
||||
+ <project_license>GPL-2.0 and BSD-3-Clause</project_license>
|
||||
+ <summary>Free cross-platform LaTeX editor</summary>
|
||||
+ <url type="homepage">http://www.xm1math.net/texmaker/</url>
|
||||
+ <description>
|
||||
+ <p>Texmaker is a free LaTeX editor, that integrates many tools
|
||||
+needed to develop documents with LaTeX, in just one application.
|
||||
+Texmaker runs on unix, macosx and windows systems and is released
|
||||
+under the GPL license .</p>
|
||||
+ </description>
|
||||
+ <screenshots>
|
||||
+ <screenshot type="default">
|
||||
+ <image height="900" width="1600">http://www.xm1math.net/texmaker/texmakertop_big.png</image>
|
||||
+ <caption>Source editor and PDF preview side by side</caption>
|
||||
+ </screenshot>
|
||||
+ <screenshot>
|
||||
+ <image height="900" width="1600">http://www.xm1math.net/texmaker/sidebyside_big.png</image>
|
||||
+ <caption>Two documents side by side</caption>
|
||||
+ </screenshot>
|
||||
+ </screenshots>
|
||||
+ <update_contact>pbrachet@xm1math.net</update_contact>
|
||||
+</component>
|
||||
Index: texmaker-4.5/texmaker.pro
|
||||
===================================================================
|
||||
--- texmaker-4.5.orig/texmaker.pro
|
||||
+++ texmaker-4.5/texmaker.pro
|
||||
@@ -323,6 +323,9 @@ isEmpty( DESKTOPDIR ) {
|
||||
isEmpty( ICONDIR ) {
|
||||
ICONDIR=/usr/share/pixmaps
|
||||
}
|
||||
+isEmpty( METAINFODIR ) {
|
||||
+ METAINFODIR=/usr/share/metainfo
|
||||
+}
|
||||
|
||||
DEFINES += PREFIX=\\\"$${PREFIX}\\\"
|
||||
|
||||
@@ -333,6 +336,7 @@ target.path = $${PREFIX}/bin
|
||||
utilities.path = $${PREFIX}/share/texmaker
|
||||
desktop.path = $${DESKTOPDIR}
|
||||
icon.path = $${ICONDIR}
|
||||
+metainfo.path = $${METAINFODIR}
|
||||
|
||||
INSTALLS = target
|
||||
HEADERS += x11fontdialog.h
|
||||
@@ -477,4 +481,7 @@ INSTALLS += desktop
|
||||
|
||||
icon.files = utilities/texmaker.png
|
||||
INSTALLS += icon
|
||||
+
|
||||
+metainfo.files = utilities/texmaker.appdata.xml
|
||||
+INSTALLS += metainfo
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
Index: texmaker-4.3/texmaker.pro
|
||||
===================================================================
|
||||
--- texmaker-4.3.orig/texmaker.pro
|
||||
+++ texmaker-4.3/texmaker.pro
|
||||
@@ -387,9 +387,6 @@ utilities.files = doc/doc1.png \
|
||||
atd/atd.css \
|
||||
atd/csshttprequest.js \
|
||||
atd/jquery.atd.textarea.js \
|
||||
- utilities/AUTHORS \
|
||||
- utilities/COPYING \
|
||||
- utilities/CHANGELOG.txt \
|
||||
utilities/texmaker16x16.png \
|
||||
utilities/texmaker22x22.png \
|
||||
utilities/texmaker32x32.png \
|
@ -1,3 +1,52 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 19 15:07:43 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- Use qmake macros
|
||||
- Cleanup a bit with spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 19 13:06:45 UTC 2017 - badshah400@gmail.com
|
||||
|
||||
- Update to version 5.0.2:
|
||||
+ A memory leak has been fixed in the internal pdf viewer.
|
||||
- Drop BuildRequires: libpoppler-qt5-devel; no longer required by
|
||||
upstream as it uses bundled pdfium instead.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 5 14:08:31 UTC 2017 - badshah400@gmail.com
|
||||
|
||||
- Update to version 5.0.1:
|
||||
- A trouble with the MikTex's ps2pdf command has been fixed
|
||||
- The "-dpiscale x" option has been added to the Texmaker
|
||||
command line : with this option the environment variable
|
||||
QT_SCALE_FACTOR will be set to x before building the GUI (same
|
||||
behavior than adding "export QT_SCALE_FACTOR=x" to the
|
||||
environment variables). Can be used to adjust the interface
|
||||
if the monitor dpi is not well detected.
|
||||
- Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 24 13:40:55 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Remove redundant wording from descriptions.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 20 08:41:36 UTC 2017 - werner@suse.de
|
||||
|
||||
- Update to version 5.0:
|
||||
+ new and more modern interface look
|
||||
+ highdpi is now supported on windows and linux
|
||||
+ a spellcheck annoying trouble on kde5 has been fixed
|
||||
+ new pdf engine
|
||||
+ synctex updated to 1.18
|
||||
+ Qt4 support has been removed : Qt5 (>=5.7) is now required
|
||||
+ de, es, hu, pl, and zh_CN translations have been updated
|
||||
- Drop texmaker-correct-doc-location.patch as now part of upstream
|
||||
- Drop texmaker-appdata.patch as now part of upstream
|
||||
- Require libqt5-qtbase-private-headers-devel at build time
|
||||
- Require recommended LaTeX packages as runtime as well as at least
|
||||
one WEB browser and the xdg-utils for e.g. open help files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 26 02:50:25 UTC 2016 - badshah400@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package texmaker
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,26 +17,17 @@
|
||||
|
||||
|
||||
Name: texmaker
|
||||
Version: 4.5
|
||||
Version: 5.0.2
|
||||
Release: 0
|
||||
Summary: Free cross-platform LaTeX editor
|
||||
License: GPL-2.0 and BSD-3-Clause
|
||||
Summary: LaTeX editor
|
||||
License: GPL-2.0 AND BSD-3-Clause
|
||||
Group: Productivity/Publishing/TeX/Frontends
|
||||
Url: http://www.xm1math.net/texmaker/
|
||||
Source: http://www.xm1math.net/texmaker/texmaker-%{version}.tar.bz2
|
||||
# PATCH-FIX-UPSTREAM texmaker-correct-doc-location.patch badshah400@gmail.com -- Handle doc files in the spec file rather than placing them in %%{_datadir} during compilation
|
||||
Patch1: texmaker-correct-doc-location.patch
|
||||
# PATCH-FIX-UPSTREAM texmaker-appdata.patch badshah400@gmail.com -- Install appstream metainfo file; patch sent upstream
|
||||
Patch2: texmaker-appdata.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: libqt5-qtbase-private-headers-devel >= 5.7
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: update-desktop-files
|
||||
%if 0%{?suse_version} == 1315
|
||||
BuildRequires: libQtWebKit-devel
|
||||
BuildRequires: libpoppler-qt4-devel >= 0.16
|
||||
BuildRequires: libqt4-devel >= 4.6.1
|
||||
Requires: libQtWebKit4 >= 4.6.1
|
||||
%else
|
||||
BuildRequires: libpoppler-qt5-devel
|
||||
BuildRequires: pkgconfig(Qt5Concurrent)
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
@ -46,50 +37,38 @@ BuildRequires: pkgconfig(Qt5Script)
|
||||
BuildRequires: pkgconfig(Qt5WebKit)
|
||||
BuildRequires: pkgconfig(Qt5WebKitWidgets)
|
||||
BuildRequires: pkgconfig(Qt5Xml)
|
||||
%endif
|
||||
Requires: hunspell
|
||||
Requires: texlive-latex
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: texlive-collection-latexrecommended
|
||||
Requires: web_browser
|
||||
Requires: xdg-utils
|
||||
|
||||
%description
|
||||
Texmaker is a free LaTeX editor, that integrates many tools
|
||||
needed to develop documents with LaTeX, in just one application.
|
||||
Texmaker runs on unix, macosx and windows systems and is released
|
||||
under the GPL license .
|
||||
Texmaker is a LaTeX editor that integrates many tools
|
||||
needed to develop documents with LaTeX in just one application.
|
||||
|
||||
Texmaker includes unicode support, spell checking, auto-completion,
|
||||
code folding and a built-in PDF viewer with synctex support and
|
||||
continuous view mode.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} == 1315
|
||||
QTDIR=%{_libdir}/qt4
|
||||
%else
|
||||
QTDIR=%{_libdir}/qt5
|
||||
%endif
|
||||
|
||||
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}
|
||||
|
||||
%if 0%{?suse_version} == 1315
|
||||
qmake QMAKE_CXXFLAGS="%optflags -fvisibility=hidden -fvisibility-inlines-hidden" \
|
||||
METAINFODIR="%{_datadir}/appdata" -unix texmaker.pro
|
||||
%else
|
||||
qmake-qt5 QMAKE_CXXFLAGS="%optflags -fvisibility=hidden -fvisibility-inlines-hidden" \
|
||||
METAINFODIR="%{_datadir}/appdata" -unix texmaker.pro
|
||||
%endif
|
||||
make %{?_smp_mflags}
|
||||
%qmake5 METAINFODIR="%{_datadir}/appdata" -unix texmaker.pro
|
||||
%make_jobs
|
||||
|
||||
%install
|
||||
make INSTALL_ROOT=%{buildroot} install
|
||||
%qmake5_install
|
||||
%fdupes %{buildroot}%{_datadir}/%{name}/
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc utilities/AUTHORS utilities/COPYING utilities/CHANGELOG.txt
|
||||
%{_bindir}/texmaker
|
||||
%{_datadir}/applications/texmaker.desktop
|
||||
|
Loading…
x
Reference in New Issue
Block a user