NetBSD Problem Report #45521

From www@NetBSD.org  Tue Oct 25 22:52:49 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 3ACC963CBFB
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 25 Oct 2011 22:52:49 +0000 (UTC)
Message-Id: <20111025225248.4DB6663B86B@www.NetBSD.org>
Date: Tue, 25 Oct 2011 22:52:48 +0000 (UTC)
From: kamelderouiche@yahoo.com
Reply-To: kamelderouiche@yahoo.com
To: gnats-bugs@NetBSD.org
Subject: Update editors/texmaker: 1.8 to 3.1
X-Send-Pr-Version: www-1.0

>Number:         45521
>Category:       pkg
>Synopsis:       Update editors/texmaker: 1.8 to 3.1
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 25 22:55:00 +0000 2011
>Closed-Date:    Thu Oct 10 12:21:35 +0000 2013
>Last-Modified:  Mon Oct 14 04:50:01 +0000 2013
>Originator:     Derouiche
>Release:        NetBSD 5.1
>Organization:
Natei
>Environment:
NetBSD Torabora 5.1 NetBSD 5.1 (GENERIC) #0: Sun Nov  7 14:39:56 UTC 2010  builds@b6.netbsd.org:/home/builds/ab/netbsd-5-1-RELEASE/i386/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386

>Description:
added new patch.
>How-To-Repeat:
n/a
>Fix:
$ diff -ruN Makefile.orig Makefile
--- Makefile.orig	2011-10-13 10:37:24.000000000 +0100
+++ Makefile	2011-10-13 11:31:50.000000000 +0100
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2011/01/13 13:37:32 wiz Exp $
+# $NetBSD$
+#

-DISTNAME=	texmaker-1.8
-PKGREVISION=	7
+DISTNAME=	texmaker-3.1
 CATEGORIES=	editors
 MASTER_SITES=	http://www.xm1math.net/texmaker/
 EXTRACT_SUFX=	.tar.bz2
@@ -9,10 +9,11 @@
 MAINTAINER=	ghen@NetBSD.org
 HOMEPAGE=	http://www.xm1math.net/texmaker/
 COMMENT=	LaTeX editor and front end
+#LICENSE=	# TODO: (see mk/license.mk)

 PKG_DESTDIR_SUPPORT=	user-destdir

-USE_LANGUAGES=	c++
+USE_LANGUAGES=	c c++
 USE_LIBTOOL=	yes

 INSTALL_MAKE_FLAGS+=	INSTALL_ROOT=${DESTDIR}
@@ -21,6 +22,8 @@
 	cd ${WRKSRC} && env ${CONFIGURE_ENV} \
 	${QTDIR}/bin/qmake -unix PREFIX=${PREFIX} texmaker.pro

+.include "../../print/poppler/buildlink3.mk"
+.include "../../print/poppler-qt4/buildlink3.mk"
 .include "../../x11/qt4-libs/buildlink3.mk"
 .include "../../x11/qt4-tools/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
$ diff -ruN distinfo.orig distinfo
--- distinfo.orig	2011-10-13 10:37:35.000000000 +0100
+++ distinfo	2011-10-15 19:22:25.000000000 +0100
@@ -1,5 +1,8 @@
 $NetBSD: distinfo,v 1.6 2008/01/08 07:35:26 ghen Exp $

-SHA1 (texmaker-1.8.tar.bz2) = d5f188c0d207c637a445cec984d79ee017de6e1a
-RMD160 (texmaker-1.8.tar.bz2) = b3bdfa7838f486f0969da472ff08c2d30825421e
-Size (texmaker-1.8.tar.bz2) = 1767680 bytes
+SHA1 (texmaker-3.1.tar.bz2) = 3fe9d72ebad63ef68dcf34248f4a46cec388da3c
+RMD160 (texmaker-3.1.tar.bz2) = cf7c457319d6f1ed55ec09fc1d06a9d05f848b9f
+Size (texmaker-3.1.tar.bz2) = 6018840 bytes
+SHA1 (patch-pdfdocumentwidget.h) = 5d296876598cadc60a87d29aed18ff1e0b7d7cb1
+SHA1 (patch-pdfviewer.cpp) = 2cbfea0ce64d0b18b3e232e4d486c1205dc514c8
+SHA1 (patch-pdfviewerwidget.cpp) = 6d8d6da0764c3206961c707a341364714227b9c3

$ diff -ruN PLIST.orig PLIST      
--- PLIST.orig	2011-10-13 10:37:29.000000000 +0100
+++ PLIST	2011-10-15 18:57:29.000000000 +0100
@@ -1,9 +1,14 @@
-@comment $NetBSD: PLIST,v 1.6 2008/12/03 08:26:15 ghen Exp $
+@comment $NetBSD$
 bin/texmaker
 share/texmaker/AUTHORS
 share/texmaker/CHANGELOG.txt
 share/texmaker/COPYING
-share/texmaker/blank.png
+share/texmaker/README_DIC_fr_FR.txt
+share/texmaker/README_de_DE_frami.txt
+share/texmaker/README_es_ES.txt
+share/texmaker/README_hu_HU.txt
+share/texmaker/de_DE.aff
+share/texmaker/de_DE.dic
 share/texmaker/doc1.png
 share/texmaker/doc10.png
 share/texmaker/doc11.png
@@ -17,28 +22,41 @@
 share/texmaker/doc19.png
 share/texmaker/doc2.png
 share/texmaker/doc20.png
+share/texmaker/doc21.png
+share/texmaker/doc22.png
 share/texmaker/doc3.png
 share/texmaker/doc4.png
 share/texmaker/doc5.png
 share/texmaker/doc6.png
+share/texmaker/doc6bis.png
 share/texmaker/doc7.png
 share/texmaker/doc8.png
 share/texmaker/doc9.png
 share/texmaker/en_GB.aff
 share/texmaker/en_GB.dic
+share/texmaker/es_ES.aff
+share/texmaker/es_ES.dic
 share/texmaker/fr_FR.aff
 share/texmaker/fr_FR.dic
+share/texmaker/hu_HU.aff
+share/texmaker/hu_HU.dic
+share/texmaker/it_IT.aff
+share/texmaker/it_IT.dic
+share/texmaker/it_IT_README.txt
 share/texmaker/latexhelp.html
-share/texmaker/next.gif
-share/texmaker/next_d.gif
-share/texmaker/prev.gif
-share/texmaker/prev_d.gif
-share/texmaker/psheader.txt
+share/texmaker/nl_NL.aff
+share/texmaker/nl_NL.dic
+share/texmaker/qt_cs.qm
 share/texmaker/qt_de.qm
+share/texmaker/qt_es.qm
+share/texmaker/qt_fa.qm
 share/texmaker/qt_fr.qm
-share/texmaker/qt_zh.qm
-share/texmaker/style.css
-share/texmaker/texmaker.desktop
+share/texmaker/qt_nl.qm
+share/texmaker/qt_pl.qm
+share/texmaker/qt_pt.qm
+share/texmaker/qt_ru.qm
+share/texmaker/qt_zh_CN.qm
+share/texmaker/qt_zh_TW.qm
 share/texmaker/texmaker.svg
 share/texmaker/texmaker128x128.png
 share/texmaker/texmaker16x16.png
@@ -46,10 +64,20 @@
 share/texmaker/texmaker32x32.png
 share/texmaker/texmaker48x48.png
 share/texmaker/texmaker64x64.png
+share/texmaker/texmaker_ca.qm
+share/texmaker/texmaker_cs.qm
 share/texmaker/texmaker_de.qm
+share/texmaker/texmaker_es.qm
+share/texmaker/texmaker_fa.qm
 share/texmaker/texmaker_fr.qm
-share/texmaker/texmaker_zh.qm
-share/texmaker/up.gif
-share/texmaker/up_d.gif
+share/texmaker/texmaker_gl.qm
+share/texmaker/texmaker_hu.qm
+share/texmaker/texmaker_it.qm
+share/texmaker/texmaker_nl.qm
+share/texmaker/texmaker_pl.qm
+share/texmaker/texmaker_pt_BR.qm
+share/texmaker/texmaker_ru.qm
+share/texmaker/texmaker_zh_CN.qm
+share/texmaker/texmaker_zh_TW.qm
 share/texmaker/usermanual_en.html
 share/texmaker/usermanual_fr.html

New patches:

$ cat patches/patch-pdfdocumentwidget.h 
$NetBSD$

--- pdfdocumentwidget.h.orig	2011-10-15 18:06:51.000000000 +0100
+++ pdfdocumentwidget.h	2011-10-15 18:10:53.000000000 +0100
@@ -19,7 +19,7 @@
 #include <QRectF>
 #include <QPainterPath>
 #include <QTimer>
-#include "poppler-qt4.h"
+#include <poppler/qt4/poppler-qt4.h>

 class PdfDocumentWidget : public QLabel
 {

$ cat patches/patch-pdfviewerwidget.cpp 
$NetBSD$

--- pdfviewerwidget.cpp.orig	2011-10-15 18:46:59.000000000 +0100
+++ pdfviewerwidget.cpp	2011-10-15 18:47:17.000000000 +0100
@@ -24,7 +24,7 @@
 #include <QSettings>
 #include <QTextStream>

-#include "poppler-qt4.h"
+#include <poppler/qt4/poppler-qt4.h>

 #define SYNCTEX_GZ_EXT ".synctex.gz"
 #define SYNCTEX_EXT ".synctex"

$ cat patches/patch-pdfviewer.cpp       
$NetBSD$

--- pdfviewer.cpp.orig	2011-10-15 18:21:51.000000000 +0100
+++ pdfviewer.cpp	2011-10-15 18:30:57.000000000 +0100
@@ -24,7 +24,7 @@
 #include <QSettings>
 #include <QTextStream>

-#include "poppler-qt4.h"
+#include <poppler/qt4/poppler-qt4.h>

 #define SYNCTEX_GZ_EXT ".synctex.gz"
 #define SYNCTEX_EXT ".synctex"



>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ghen
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 26 Oct 2011 22:48:03 +0000
Responsible-Changed-Why:
Over to maintainer.


Responsible-Changed-From-To: ghen->pkg-manager
Responsible-Changed-By: spz@NetBSD.org
Responsible-Changed-When: Fri, 03 May 2013 16:26:21 +0000
Responsible-Changed-Why:
ghen is no longer active


State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Thu, 10 Oct 2013 12:21:35 +0000
State-Changed-Why:
Obsoleted by PR 48297


From: "Makoto Fujiwara" <mef@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/45521 CVS commit: pkgsrc/editors/texmaker
Date: Mon, 14 Oct 2013 04:45:28 +0000

 Module Name:	pkgsrc
 Committed By:	mef
 Date:		Mon Oct 14 04:45:28 UTC 2013

 Modified Files:
 	pkgsrc/editors/texmaker: DESCR Makefile PLIST distinfo

 Log Message:
 Bump 1.8 to 4.0.4, based on PR pkg/48297
 (by  Niclas Rosenvik: nicro465 at student.liu.se,
 also with PR pkg/45521 to 3.1 by kamelderouiche at yahoo.com)

 Release Note since 4.0 from:
   http://freecode.com/projects/qtexmaker/releases/357375
 --------------------
 4.0.4     30 Aug 2013 16:55
       Support for the 0.24 poppler version has been
 added, and a compilation problem on ARM architecture has been
 fixed. Dragging and dropping image files in the editor is now
 supported.

 4.0.3     30 Jul 2013 12:46
       The Windows and Mac OS X Lion versions are now
 compiled with Qt 5.1 and poppler 0.22. Find-and-replace
 actions can now be applied to a selection only. A tool that
 converts source files to Unicode has been added. Users can now
 check if a new version is available via a new option in the
 "Help" menu (less)

 4.0.2     09 May 2013 11:33
       Mac OS X high DPI support has been added to the
 PDF viewer, the symbols, and almost all of the icons. The
 part/chapter/section tags are now bold in the editor. On
 Linux, the session file is now stored in the standard ./cache
 directory instead of the /tmp folder. New translations have
 been added (less)

 4.0.1     16 Mar 2013 13:47
       A potential crash when synctex sent a bad page
 number has been fixed. The -Pdownload35 option has been added
 to the default dvips command for MiKTeX users on Windows.

 4.0     08 Mar 2013 22:07
       The code has been ported to Qt5 (but this
 version can also be compiled with Qt4). From this version,
 Texmaker will be principally developed under Qt5. A keyboard
 shortcut has been added to toggle between the master and the
 current document. A specific "quick build" command has been
 padded for the .asy files: the asymptote figures can now be
 compiled and displayed with the F1 shortcut.


 To generate a diff of this commit:
 cvs rdiff -u -r1.5 -r1.6 pkgsrc/editors/texmaker/DESCR
 cvs rdiff -u -r1.38 -r1.39 pkgsrc/editors/texmaker/Makefile
 cvs rdiff -u -r1.7 -r1.8 pkgsrc/editors/texmaker/PLIST \
     pkgsrc/editors/texmaker/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.