pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/texmaker Update texmaker to version 5.0.3 .



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b32dde3d81fe
branches:  trunk
changeset: 339047:b32dde3d81fe
user:      nros <nros%pkgsrc.org@localhost>
date:      Thu Sep 05 08:07:25 2019 +0000

description:
Update texmaker to version 5.0.3 .

Removed poppler-qt5 dependecy since it uses pdfium instead.

version 5.0.2 -> 5.0.3 :
- the bug about the bad highlighting on misspelled text before a \cite{} or
  \label{} command has been fixed
- if no text is selected the "(un)comment" command will (un)comment the
  current line
- the default size of the configuration dialog has been reduced (users request)
- Fold/Unfold/Fold All/Unfold All menu options has been added
  (thanks to Robin Watts)
- a bug about completion when citing references that contain numbers has
  been fixed
- a trouble in the "recent files" menu with names including an ampersand
  has been fixed
- a typo in the documentation has been fixed
- a typo in the de translation has been fixed (thanks to St?phane YVON)
version 5.0.1 -> 5.0.2 :
- a memory leak has been fixed in the internal pdf viewer
- the trouble about the "open terminal" command on windows has been fixed
version 5.0 -> 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.
- the cs translation has been updated
version 4.5 -> 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
note : Texmaker depends now only from the Qt toolkit to be compiled

diffstat:

 editors/texmaker/Makefile                                                      |   20 +-
 editors/texmaker/PLIST                                                         |   48 +-
 editors/texmaker/distinfo                                                      |   23 +-
 editors/texmaker/files/fgas_stdfontmgr_pkgsrcfonts.inc                         |    2 +
 editors/texmaker/files/fxge_pkgsrcfonts.inc                                    |    3 +
 editors/texmaker/options.mk                                                    |    4 +-
 editors/texmaker/patches/patch-latexeditor.h                                   |   13 +
 editors/texmaker/patches/patch-latexeditorview.h                               |   13 +
 editors/texmaker/patches/patch-latexhighlighter.h                              |   13 +
 editors/texmaker/patches/patch-pdfium_core_fxcodec_codec_fx__codec__png.cpp    |   13 +
 editors/texmaker/patches/patch-pdfium_core_fxcrt_include_fx__system.h          |   13 +
 editors/texmaker/patches/patch-pdfium_core_fxge_apple_fx__mac__imp.cpp         |   12 +
 editors/texmaker/patches/patch-pdfium_core_fxge_ge_fx__ge__linux.cpp           |   21 +
 editors/texmaker/patches/patch-pdfium_third__party_libopenjpeg20_opj__malloc.h |   13 +
 editors/texmaker/patches/patch-pdfium_xfa_fgas_font_fgas__stdfontmgr.cpp       |   17 +
 editors/texmaker/patches/patch-spellerdialog.h                                 |   13 +
 editors/texmaker/patches/patch-texmaker.h                                      |   18 +
 editors/texmaker/patches/patch-texmaker.pro                                    |  193 ++++++++++
 editors/texmaker/patches/patch-versiondialog.cpp                               |   13 +
 19 files changed, 422 insertions(+), 43 deletions(-)

diffs (truncated from 627 to 300 lines):

diff -r 2d6a123bbe3e -r b32dde3d81fe editors/texmaker/Makefile
--- a/editors/texmaker/Makefile Thu Sep 05 06:46:46 2019 +0000
+++ b/editors/texmaker/Makefile Thu Sep 05 08:07:25 2019 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.104 2019/07/23 17:19:57 wiz Exp $
+# $NetBSD: Makefile,v 1.105 2019/09/05 08:07:25 nros Exp $
 
-DISTNAME=      texmaker-4.5
-PKGREVISION=   47
+DISTNAME=      texmaker-5.0.3
 CATEGORIES=    editors
 MASTER_SITES=  http://www.xm1math.net/texmaker/
 EXTRACT_SUFX=  .tar.bz2
@@ -20,10 +19,21 @@
 
 do-configure:
        cd ${WRKSRC} && env ${CONFIGURE_ENV} \
-       ${QTDIR}/bin/qmake PREFIX=${PREFIX} texmaker.pro DESKTOPDIR=${PREFIX}/share/applications ICONDIR=${PREFIX}/share/pixmaps
+       ${QTDIR}/bin/qmake PREFIX=${PREFIX} texmaker.pro \
+               DESKTOPDIR=${PREFIX}/share/applications \
+               ICONDIR=${PREFIX}/share/pixmaps \
+               METAINFODIR=${PREFIX}/share/appdata
+
+pre-configure:
+       ${CP} ${FILESDIR}/fxge_pkgsrcfonts.inc ${WRKSRC}/pdfium/core/fxge
+       ${CP} ${FILESDIR}/fgas_stdfontmgr_pkgsrcfonts.inc \
+               ${WRKSRC}/pdfium/xfa/fgas/font
 
 .include "options.mk"
 
-.include "../../print/poppler-includes/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../textproc/hunspell/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2d6a123bbe3e -r b32dde3d81fe editors/texmaker/PLIST
--- a/editors/texmaker/PLIST    Thu Sep 05 06:46:46 2019 +0000
+++ b/editors/texmaker/PLIST    Thu Sep 05 08:07:25 2019 +0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.10 2014/12/02 12:16:29 mef Exp $
+@comment $NetBSD: PLIST,v 1.11 2019/09/05 08:07:25 nros Exp $
 bin/texmaker
+share/appdata/texmaker.appdata.xml
 share/applications/texmaker.desktop
 share/pixmaps/texmaker.png
 share/texmaker/AUTHORS
@@ -13,58 +14,33 @@
 share/texmaker/README_hu_HU.txt
 share/texmaker/README_pl.txt
 share/texmaker/README_pt_PT.txt
-share/texmaker/atd.css
 share/texmaker/ca_CA.aff
 share/texmaker/ca_CA.dic
 share/texmaker/cs_CZ.aff
 share/texmaker/cs_CZ.dic
-share/texmaker/csshttprequest.js
 share/texmaker/de_DE.aff
 share/texmaker/de_DE.dic
 share/texmaker/doc1.png
 share/texmaker/doc10.png
-share/texmaker/doc10hu.png
 share/texmaker/doc11.png
-share/texmaker/doc11hu.png
 share/texmaker/doc12.png
-share/texmaker/doc12hu.png
 share/texmaker/doc13.png
-share/texmaker/doc13hu.png
 share/texmaker/doc14.png
-share/texmaker/doc14hu.png
 share/texmaker/doc15.png
-share/texmaker/doc15hu.png
 share/texmaker/doc16.png
-share/texmaker/doc16hu.png
 share/texmaker/doc17.png
-share/texmaker/doc17hu.png
-share/texmaker/doc18.png
-share/texmaker/doc19.png
-share/texmaker/doc1hu.png
 share/texmaker/doc2.png
 share/texmaker/doc20.png
-share/texmaker/doc20hu.png
 share/texmaker/doc21.png
-share/texmaker/doc21hu.png
 share/texmaker/doc22.png
-share/texmaker/doc22hu.png
-share/texmaker/doc2hu.png
 share/texmaker/doc3.png
-share/texmaker/doc3hu.png
 share/texmaker/doc4.png
-share/texmaker/doc4hu.png
 share/texmaker/doc5.png
-share/texmaker/doc5hu.png
 share/texmaker/doc6.png
-share/texmaker/doc6ahu.png
 share/texmaker/doc6bis.png
-share/texmaker/doc6hu.png
 share/texmaker/doc7.png
-share/texmaker/doc7hu.png
 share/texmaker/doc8.png
-share/texmaker/doc8hu.png
 share/texmaker/doc9.png
-share/texmaker/doc9hu.png
 share/texmaker/en_GB.aff
 share/texmaker/en_GB.dic
 share/texmaker/en_US.aff
@@ -79,7 +55,6 @@
 share/texmaker/it_IT.aff
 share/texmaker/it_IT.dic
 share/texmaker/it_IT_README.txt
-share/texmaker/jquery.atd.textarea.js
 share/texmaker/latexhelp.html
 share/texmaker/nl_NL.aff
 share/texmaker/nl_NL.dic
@@ -87,15 +62,30 @@
 share/texmaker/pl_PL.dic
 share/texmaker/pt_PT.aff
 share/texmaker/pt_PT.dic
+share/texmaker/qt_ar.qm
+share/texmaker/qt_ca.qm
 share/texmaker/qt_cs.qm
+share/texmaker/qt_da.qm
 share/texmaker/qt_de.qm
+share/texmaker/qt_en.qm
 share/texmaker/qt_es.qm
 share/texmaker/qt_fa.qm
+share/texmaker/qt_fi.qm
 share/texmaker/qt_fr.qm
-share/texmaker/qt_nl.qm
+share/texmaker/qt_gl.qm
+share/texmaker/qt_he.qm
+share/texmaker/qt_hu.qm
+share/texmaker/qt_it.qm
+share/texmaker/qt_ja.qm
+share/texmaker/qt_ko.qm
+share/texmaker/qt_lt.qm
 share/texmaker/qt_pl.qm
 share/texmaker/qt_pt.qm
 share/texmaker/qt_ru.qm
+share/texmaker/qt_sk.qm
+share/texmaker/qt_sl.qm
+share/texmaker/qt_sv.qm
+share/texmaker/qt_uk.qm
 share/texmaker/qt_zh_CN.qm
 share/texmaker/qt_zh_TW.qm
 share/texmaker/texmaker.svg
@@ -130,5 +120,3 @@
 share/texmaker/titlecase_selection.tms
 share/texmaker/usermanual_en.html
 share/texmaker/usermanual_fr.html
-share/texmaker/usermanual_hu.html
-share/texmaker/usermanual_ru.html
diff -r 2d6a123bbe3e -r b32dde3d81fe editors/texmaker/distinfo
--- a/editors/texmaker/distinfo Thu Sep 05 06:46:46 2019 +0000
+++ b/editors/texmaker/distinfo Thu Sep 05 08:07:25 2019 +0000
@@ -1,6 +1,19 @@
-$NetBSD: distinfo,v 1.13 2015/11/17 20:07:39 nros Exp $
+$NetBSD: distinfo,v 1.14 2019/09/05 08:07:25 nros Exp $
 
-SHA1 (texmaker-4.5.tar.bz2) = ffa4c08a9fe2dde61eb18c6105f231e3c0ebd2ea
-RMD160 (texmaker-4.5.tar.bz2) = e1ebbe1212d6eb7b1346eadfbfad05bda53c32ce
-SHA512 (texmaker-4.5.tar.bz2) = 623ae1496f11e5cd1328b997dbb29ec7188d6c1b256b6370c6fdd4fcda4bfc4b301d29cfa3b2ce529391b8f9913ea4678a6895abfb4fa6f9820e7177c676ab11
-Size (texmaker-4.5.tar.bz2) = 11287724 bytes
+SHA1 (texmaker-5.0.3.tar.bz2) = 61900975f1d4cf420a6d2c309f9de875789f6089
+RMD160 (texmaker-5.0.3.tar.bz2) = 2e5c1eaccec0f461aa66e80a6bd8cce0b9a8ccc4
+SHA512 (texmaker-5.0.3.tar.bz2) = fed09b1ac628f4a8cab24257f2ca35093f20a82d1a3b8c38d12878ff94f0933b7449e5ba651831612b62417426396327ea8ba64e830fe0537757abe65bcd5284
+Size (texmaker-5.0.3.tar.bz2) = 15783226 bytes
+SHA1 (patch-latexeditor.h) = 5da42462462e0ec8022f0d49e749d39f8bf9d5b4
+SHA1 (patch-latexeditorview.h) = 1057f9c540b150e89935d563c5f31e0e5f32a56a
+SHA1 (patch-latexhighlighter.h) = 7170f4001a8d383430ecf8bb1f95a6d1f262e6cc
+SHA1 (patch-pdfium_core_fxcodec_codec_fx__codec__png.cpp) = 0bac4d8e6a887af2b13e27fa4649f9e9c0996c81
+SHA1 (patch-pdfium_core_fxcrt_include_fx__system.h) = 6f435b5df9754c3f0056751ec17d9ac0a726d953
+SHA1 (patch-pdfium_core_fxge_apple_fx__mac__imp.cpp) = 32f75b09e3336206ccc317df2d2ae6448808b996
+SHA1 (patch-pdfium_core_fxge_ge_fx__ge__linux.cpp) = 12678056ff0d05e06eb42a13dc0a5b069f378874
+SHA1 (patch-pdfium_third__party_libopenjpeg20_opj__malloc.h) = aef984a63025c8d386f2230fbc8d438dc6e1a03e
+SHA1 (patch-pdfium_xfa_fgas_font_fgas__stdfontmgr.cpp) = e1c75bc0cfb3a606ca9ce826fc3cd5032abe334c
+SHA1 (patch-spellerdialog.h) = f98ca3305e8dd8ba1c65bb32e21d965f536094ed
+SHA1 (patch-texmaker.h) = b418f9b515acbe3960e78bf984ca9c7f8549359a
+SHA1 (patch-texmaker.pro) = 7f20deec767057ad4d3e6a0cda6fab483b6656c0
+SHA1 (patch-versiondialog.cpp) = 0f6fbea229f688bbac27a406652466a171ce6738
diff -r 2d6a123bbe3e -r b32dde3d81fe editors/texmaker/files/fgas_stdfontmgr_pkgsrcfonts.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/texmaker/files/fgas_stdfontmgr_pkgsrcfonts.inc    Thu Sep 05 08:07:25 2019 +0000
@@ -0,0 +1,2 @@
+// $NetBSD: fgas_stdfontmgr_pkgsrcfonts.inc,v 1.1 2019/09/05 08:07:25 nros Exp $
+"@PREFIX@/share/fonts/X11/Type1","@PREFIX@/share/fonts/X11/TTF",
diff -r 2d6a123bbe3e -r b32dde3d81fe editors/texmaker/files/fxge_pkgsrcfonts.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/texmaker/files/fxge_pkgsrcfonts.inc       Thu Sep 05 08:07:25 2019 +0000
@@ -0,0 +1,3 @@
+// $NetBSD: fxge_pkgsrcfonts.inc,v 1.1 2019/09/05 08:07:25 nros Exp $
+pInfo->AddPath("@PREFIX@/share/fonts/X11/Type1");
+pInfo->AddPath("@PREFIX@/share/fonts/X11/TTF");
diff -r 2d6a123bbe3e -r b32dde3d81fe editors/texmaker/options.mk
--- a/editors/texmaker/options.mk       Thu Sep 05 06:46:46 2019 +0000
+++ b/editors/texmaker/options.mk       Thu Sep 05 08:07:25 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.4 2019/06/08 10:40:58 rillig Exp $
+# $NetBSD: options.mk,v 1.5 2019/09/05 08:07:25 nros Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.texmaker
 PKG_OPTIONS_REQUIRED_GROUPS= qt
@@ -8,6 +8,4 @@
 
 .if !empty(PKG_OPTIONS:Mqt5)
 .include "../../x11/qt5-qtscript/buildlink3.mk"
-.include "../../x11/qt5-qtwebkit/buildlink3.mk"
-.include "../../print/poppler-qt5/buildlink3.mk"
 .endif
diff -r 2d6a123bbe3e -r b32dde3d81fe editors/texmaker/patches/patch-latexeditor.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/texmaker/patches/patch-latexeditor.h      Thu Sep 05 08:07:25 2019 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-latexeditor.h,v 1.1 2019/09/05 08:07:25 nros Exp $
+use pkgsrc (system) hunspell , from openbsd ports
+--- latexeditor.h.orig 2019-09-03 13:21:25.000000000 +0000
++++ latexeditor.h
+@@ -35,7 +35,7 @@
+ 
+ #include "latexhighlighter.h"
+ #include "textblockselection.h"
+-#include "hunspell/hunspell.hxx"
++#include <hunspell.hxx>
+ 
+ typedef  int UserBookmarkList[3];
+ 
diff -r 2d6a123bbe3e -r b32dde3d81fe editors/texmaker/patches/patch-latexeditorview.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/texmaker/patches/patch-latexeditorview.h  Thu Sep 05 08:07:25 2019 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-latexeditorview.h,v 1.1 2019/09/05 08:07:25 nros Exp $
+* use pkgsrc (system) hunspell, from openbsd ports
+--- latexeditorview.h.orig     2019-09-03 13:22:35.000000000 +0000
++++ latexeditorview.h
+@@ -23,7 +23,7 @@
+ #include "gotolinewidget.h"
+ #include "replacewidget.h"
+ #include "minisplitter.h"
+-#include "hunspell/hunspell.hxx"
++#include <hunspell.hxx>
+ 
+ class LatexEditorView : public QWidget  {
+    Q_OBJECT
diff -r 2d6a123bbe3e -r b32dde3d81fe editors/texmaker/patches/patch-latexhighlighter.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/texmaker/patches/patch-latexhighlighter.h Thu Sep 05 08:07:25 2019 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-latexhighlighter.h,v 1.1 2019/09/05 08:07:25 nros Exp $
+* use pkgsrc (system) hunspell, from openbsd ports
+--- latexhighlighter.h.orig    2019-09-03 13:23:28.000000000 +0000
++++ latexhighlighter.h
+@@ -20,7 +20,7 @@
+ #include <QColor>
+ #include <QTextBlockUserData>
+ //#include "latexeditor.h"
+-#include "hunspell/hunspell.hxx"
++#include <hunspell.hxx>
+ 
+ class QTextDocument;
+ class LatexEditor;
diff -r 2d6a123bbe3e -r b32dde3d81fe editors/texmaker/patches/patch-pdfium_core_fxcodec_codec_fx__codec__png.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/texmaker/patches/patch-pdfium_core_fxcodec_codec_fx__codec__png.cpp       Thu Sep 05 08:07:25 2019 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-pdfium_core_fxcodec_codec_fx__codec__png.cpp,v 1.1 2019/09/05 08:07:25 nros Exp $
+* use pkgsrc (system) libpng
+--- pdfium/core/fxcodec/codec/fx_codec_png.cpp.orig    2019-08-10 09:07:09.000000000 +0000
++++ pdfium/core/fxcodec/codec/fx_codec_png.cpp
+@@ -12,7 +12,7 @@
+ 
+ extern "C" {
+ #undef FAR
+-#include "third_party/libpng16/png.h"
++#include <png.h>
+ }
+ 
+ static void _png_error_data(png_structp png_ptr, png_const_charp error_msg) {
diff -r 2d6a123bbe3e -r b32dde3d81fe editors/texmaker/patches/patch-pdfium_core_fxcrt_include_fx__system.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/texmaker/patches/patch-pdfium_core_fxcrt_include_fx__system.h     Thu Sep 05 08:07:25 2019 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-pdfium_core_fxcrt_include_fx__system.h,v 1.1 2019/09/05 08:07:25 nros Exp $
+* make it build on solaris and BSD systems
+--- pdfium/core/fxcrt/include/fx_system.h.orig 2017-04-16 14:53:52.000000000 +0000
++++ pdfium/core/fxcrt/include/fx_system.h
+@@ -40,7 +40,7 @@
+ #elif defined(_WIN64)
+ #define _FX_OS_ _FX_WIN64_DESKTOP_
+ #define _FXM_PLATFORM_ _FXM_PLATFORM_WINDOWS_
+-#elif defined(__linux__)
++#elif defined(__linux__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__sun)
+ #define _FX_OS_ _FX_LINUX_DESKTOP_
+ #define _FXM_PLATFORM_ _FXM_PLATFORM_LINUX_
+ #elif defined(__APPLE__)
diff -r 2d6a123bbe3e -r b32dde3d81fe editors/texmaker/patches/patch-pdfium_core_fxge_apple_fx__mac__imp.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/texmaker/patches/patch-pdfium_core_fxge_apple_fx__mac__imp.cpp    Thu Sep 05 08:07:25 2019 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-pdfium_core_fxge_apple_fx__mac__imp.cpp,v 1.1 2019/09/05 08:07:25 nros Exp $



Home | Main Index | Thread Index | Old Index