Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2010 23:12:37 +0300 (MSK)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/153185: [patch] editors/texmakerx: update to version 2.0
Message-ID:  <201012152012.oBFKCb2T094739@bb.ipt.ru>
Resent-Message-ID: <201012152020.oBFKK9jR033498@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         153185
>Category:       ports
>Synopsis:       [patch] editors/texmakerx: update to version 2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 15 20:20:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Boris Samorodov
>Release:        FreeBSD 9.0-CURRENT i386
>Organization:
InPharmTech, Co.
>Environment:
System: FreeBSD bb.ipt.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #5 r214410: Wed Oct 27 09:07:40 MSD 2010 bsam@bb.ipt.ru:/usr/obj/usr/src/sys/BB i386

>Description:
	Update to version 2.0.
>How-To-Repeat:
>Fix:
	To a committer: a new directory "files" and a new file "files/patch-texmaker.qrc"
	is created.

--- texmakerx.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/editors/texmakerx/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile	28 Sep 2010 18:17:51 -0000	1.15
+++ Makefile	15 Dec 2010 20:06:27 -0000
@@ -6,20 +6,20 @@
 #
 
 PORTNAME=	texmakerx
-PORTVERSION=	1.9.9
-PORTREVISION=	1
+PORTVERSION=	2.0.0
 CATEGORIES=	editors
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/TexMakerX%20${PORTVERSION}
-DISTNAME=	${PORTNAME}${PORTVERSION}
+DISTNAME=	${PORTNAME}-${PORTVERSION:S:.0::}
 
 MAINTAINER=	lx@FreeBSD.org
 COMMENT=	A LaTeX IDE derived from Texmaker
 
+LIB_DEPENDS=	poppler.6:${PORTSDIR}/graphics/poppler \
+		poppler-qt4.3:${PORTSDIR}/graphics/poppler-qt4
 RUN_DEPENDS=	latex:${PORTSDIR}/print/teTeX-base \
 		dvips:${PORTSDIR}/print/dvipsk-tetex \
 		${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
 
-WRKSRC=		${WRKDIR}/${PORTVERSION}
 USE_GHOSTSCRIPT=yes
 USE_QT_VER=	4
 QT_COMPONENTS=	gui network xml moc_build qmake_build rcc_build \
@@ -31,8 +31,6 @@
 OPTIONS=	XDVI "view dvi with xdvi" On \
 		GV "view ps with gv" On
 
-#WRKSRC=		${WRKDIR}/runk
-
 .include <bsd.port.pre.mk>
 
 .if !defined(WITHOUT_XDVI)
@@ -45,10 +43,12 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,^\(utilities.path =\).*,\1 ${DATADIR},' \
+		-e 's,/usr/include,${LOCALBASE}/include,g' \
+		-e 's,/usr/lib,${LOCALBASE}/lib,g' \
 		${WRKSRC}/${PORTNAME}.pro
 
 do-configure:
 	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
-		${QMAKE} -unix PREFIX=${PREFIX} ${PORTNAME}.pro
+		${QMAKE} PREFIX=${PREFIX} ${PORTNAME}.pro
 
 .include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/editors/texmakerx/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo	28 Sep 2010 00:37:55 -0000	1.5
+++ distinfo	15 Dec 2010 20:06:27 -0000
@@ -1,3 +1,2 @@
-MD5 (texmakerx1.9.9.tar.gz) = 96749a4f8789fdca8cf3f20c2bbe0536
-SHA256 (texmakerx1.9.9.tar.gz) = dcc4ce193ef03351ed0d21b8019319fd91a508a98353f75952a30f5a46143ec1
-SIZE (texmakerx1.9.9.tar.gz) = 10865517
+SHA256 (texmakerx-2.0.tar.gz) = bded3ad223fb493d21816f2b9bd24f33f979e265a09d95a1537df5c165cf66d2
+SIZE (texmakerx-2.0.tar.gz) = 11645643
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/editors/texmakerx/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- pkg-plist	28 Sep 2010 18:17:51 -0000	1.4
+++ pkg-plist	15 Dec 2010 20:06:27 -0000
@@ -58,5 +58,20 @@
 %%DATADIR%%/th_en_US_v2.dat
 %%DATADIR%%/th_fr_FR_v2.dat
 %%DATADIR%%/th_de_DE_v2.dat
+%%DATADIR%%/configure_completion.png
+%%DATADIR%%/configure_customizeMenu.png
+%%DATADIR%%/configure_customToolbar.png
+%%DATADIR%%/configure_editor.png
+%%DATADIR%%/configure_general.png
+%%DATADIR%%/configure_shortcuts.png
+%%DATADIR%%/configure_svn.png
+%%DATADIR%%/template.png
+%%DATADIR%%/thesaurus.png
+%%DATADIR%%/texmakerx_cs.qm
+%%DATADIR%%/texmakerx_hu.qm
+%%DATADIR%%/qt_hu.qm
+%%DATADIR%%/qt_cs.qm
+%%DATADIR%%/en_US.aff
+%%DATADIR%%/en_US.dic
 @dirrm %%DATADIR%%
 @dirrmtry share/applications
Index: files/patch-texmaker.qrc
===================================================================
RCS file: files/patch-texmaker.qrc
diff -N files/patch-texmaker.qrc
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-texmaker.qrc	15 Dec 2010 20:06:27 -0000
@@ -0,0 +1,10 @@
+--- texmaker.qrc.orig	2010-12-15 21:30:17.000000000 +0300
++++ texmaker.qrc	2010-12-15 21:30:32.000000000 +0300
+@@ -1411,7 +1411,6 @@
+         <file>symbols/wasysym/img111wasysym.png</file>
+         <file>symbols/wasysym/img112wasysym.png</file>
+         <file>templates/template_Article.tex</file>
+-        <file>templates/template_Article(French).tex</file>
+         <file>templates/template_Beamer.tex</file>
+         <file>templates/template_Book.tex</file>
+         <file>templates/template_HA-prosper.tex</file>
--- texmakerx.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012152012.oBFKCb2T094739>