View | Details | Raw Unified | Return to bug 195346
Collapse All | Expand All

(-)Makefile (-7 / +8 lines)
Lines 1-15 Link Here
1
# Created by: lx
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	texmakerx
3
PORTNAME=	texstudio
5
PORTVERSION=	2.1
4
PORTVERSION=	2.8.6
6
PORTREVISION=	5
5
PORTREVISION=	0
7
CATEGORIES=	editors
6
CATEGORIES=	editors
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/TexMakerX%20${PORTVERSION}
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/TeXstudio%20${PORTVERSION}
9
DISTNAME=	${PORTNAME}-${PORTVERSION:S:.0::}
8
DISTNAME=	${PORTNAME}-${PORTVERSION:S:.0::}
10
9
11
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	abiliojr@gmail.com
12
COMMENT=	LaTeX IDE derived from Texmaker
11
COMMENT=	Integrated writing environment for creating LaTeX documents.
13
12
14
LIB_DEPENDS=	libpoppler.so:${PORTSDIR}/graphics/poppler \
13
LIB_DEPENDS=	libpoppler.so:${PORTSDIR}/graphics/poppler \
15
		libpoppler-qt4.so:${PORTSDIR}/graphics/poppler-qt4
14
		libpoppler-qt4.so:${PORTSDIR}/graphics/poppler-qt4
Lines 17-22 Link Here
17
WRKSRC=	${WRKDIR}/${PORTNAME}${PORTVERSION}
16
WRKSRC=	${WRKDIR}/${PORTNAME}${PORTVERSION}
18
17
19
USES=		dos2unix qmake
18
USES=		dos2unix qmake
19
DOS2UNIX_REGEX=	.*\.(TXT|aff|bat|cpp|css|cwl|dic|filters|h|html|json|map|orig|pri|pro|qnfa|qxf|qxm|rc|sln|tex|txt|ui|vcproj|vcxproj|xml)
20
USE_GHOSTSCRIPT_RUN=	yes
20
USE_GHOSTSCRIPT_RUN=	yes
21
USE_QT4=	gui network xml moc_build rcc_build \
21
USE_QT4=	gui network xml moc_build rcc_build \
22
		uic_build qtestlib script
22
		uic_build qtestlib script
Lines 36-39 Link Here
36
		-e 's,/usr/lib,${LOCALBASE}/lib,g' \
36
		-e 's,/usr/lib,${LOCALBASE}/lib,g' \
37
		${WRKSRC}/${PORTNAME}.pro
37
		${WRKSRC}/${PORTNAME}.pro
38
38
39
39
.include <bsd.port.mk>
40
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (texmakerx-2.1.tar.gz) = 49e6bf7ffb5c2754861dbe9824255de4e6e5374e2f71e54e517cd57c3e31ba66
1
SHA256 (texstudio-2.8.6.tar.gz) = b665040c34ad6cd98d8f6e041393028f115da4dfb5bb8829b49dfa5a96fa755f
2
SIZE (texmakerx-2.1.tar.gz) = 11824680
2
SIZE (texstudio-2.8.6.tar.gz) = 25183578
(-)files/patch-debughelper.cpp (+32 lines)
Line 0 Link Here
1
--- debughelper.cpp.orig	2014-11-22 19:10:03.000000000 -0430
2
+++ debughelper.cpp	2014-11-22 19:12:01.000000000 -0430
3
@@ -107,6 +107,7 @@
4
 //===========================CRASH HANDLER HEADER==============================
5
 
6
 #ifdef OS_IS_UNIX_LIKE
7
+#include "signal.h"
8
 #include "unistd.h"
9
 #include "sys/wait.h"
10
 #define SAFE_INT volatile sig_atomic_t
11
@@ -472,11 +473,19 @@
12
 #include "pthread.h"
13
 
14
 #define USE_SIGNAL_HANDLER
15
-#ifdef CPU_IS_X86_64
16
+#if (defined(__FreeBSD__) && defined(CPU_IS_X86_64))
17
+#define PC_FROM_UCONTEXT(context) (context)->uc_mcontext.mc_rip
18
+#define STACK_FROM_UCONTEXT(context) (context)->uc_mcontext.mc_rsp
19
+#define FRAME_FROM_UCONTEXT(context) (context)->uc_mcontext.mc_rbp
20
+#elif (defined(__FreeBSD__) && defined(CPU_IS_X86_32))
21
+#define PC_FROM_UCONTEXT(context) (context)->uc_mcontext.mc_eip
22
+#define STACK_FROM_UCONTEXT(context) (context)->uc_mcontext.mc_esp
23
+#define FRAME_FROM_UCONTEXT(context) (context)->uc_mcontext.mc_ebp
24
+#elif (!defined(__FreeBSD__) && defined(CPU_IS_X86_64))
25
 #define PC_FROM_UCONTEXT(context) (context)->uc_mcontext.gregs[REG_RIP]
26
 #define STACK_FROM_UCONTEXT(context) (context)->uc_mcontext.gregs[REG_RSP]
27
 #define FRAME_FROM_UCONTEXT(context) (context)->uc_mcontext.gregs[REG_RBP]
28
-#elif defined(CPU_IS_X86_32)
29
+#elif (!defined(__FreeBSD__) && defined(CPU_IS_X86_32))
30
 #define PC_FROM_UCONTEXT(context) (context)->uc_mcontext.gregs[REG_EIP]
31
 #define STACK_FROM_UCONTEXT(context) (context)->uc_mcontext.gregs[REG_ESP]
32
 #define FRAME_FROM_UCONTEXT(context) (context)->uc_mcontext.gregs[REG_EBP]
(-)files/patch-texstudio.pro (+12 lines)
Line 0 Link Here
1
--- texstudio.pro.orig	2014-11-22 18:10:47.000000000 -0430
2
+++ texstudio.pro	2014-11-22 18:11:56.000000000 -0430
3
@@ -529,7 +529,8 @@
4
 
5
 unix {
6
     LIBS += -L/usr/lib \
7
-    -lz
8
+    -lz \
9
+    -lexecinfo
10
 }
11
 
12
 # ################################
(-)pkg-descr (-6 / +7 lines)
Lines 1-7 Link Here
1
TexmakerX is a plain fork of the Free LaTeX IDE Texmaker. The editor
1
TeXstudio is a fully featured LaTeX editor. Our goal is to make 
2
itself has been replaced with the more powerful QCodeEdit library,
2
writing LaTeX documents as easy and comfortable as possible. 
3
giving you a lot of extended ways to write your documents. TexmakerX
3
Some of the outstanding features of TeXstudio are an integrated 
4
extends the Texmaker editor to add new features like interactive
4
pdf viewer with (almost) word-level synchronization, live inline 
5
spellchecking and code folding.
5
preview, advanced syntax-highlighting, live checking of references, 
6
citations, latex commands, spelling and grammar.  
6
7
7
WWW: http://texmakerx.sourceforge.net/
8
WWW: http://texstudio.sourceforge.net/
(-)pkg-plist (-39 / +102 lines)
Lines 1-4 Link Here
1
bin/texmakerx
1
%%QT_BINDIR%%/texstudio
2
share/applications/texstudio.desktop
3
share/icons/hicolor/scalable/apps/texstudio.svg
4
%%DATADIR%%/AUTHORS
5
%%DATADIR%%/CHANGELOG.txt
6
%%DATADIR%%/COPYING
7
%%DATADIR%%/block_selection.png
8
%%DATADIR%%/compile_toolbar.png
9
%%DATADIR%%/configure_build.png
10
%%DATADIR%%/configure_completion.png
11
%%DATADIR%%/configure_customToolbar.png
12
%%DATADIR%%/configure_customizeMenu.png
13
%%DATADIR%%/configure_editor.png
14
%%DATADIR%%/configure_general.png
15
%%DATADIR%%/configure_shortcuts.png
16
%%DATADIR%%/configure_svn.png
17
%%DATADIR%%/de.badWords
18
%%DATADIR%%/de.stopWords
19
%%DATADIR%%/de.stopWords.level2
20
%%DATADIR%%/de_DE.aff
21
%%DATADIR%%/de_DE.dic
2
%%DATADIR%%/doc1.png
22
%%DATADIR%%/doc1.png
3
%%DATADIR%%/doc10.png
23
%%DATADIR%%/doc10.png
4
%%DATADIR%%/doc11.png
24
%%DATADIR%%/doc11.png
Lines 12-17 Link Here
12
%%DATADIR%%/doc19.png
32
%%DATADIR%%/doc19.png
13
%%DATADIR%%/doc2.png
33
%%DATADIR%%/doc2.png
14
%%DATADIR%%/doc20.png
34
%%DATADIR%%/doc20.png
35
%%DATADIR%%/doc21.png
15
%%DATADIR%%/doc3.png
36
%%DATADIR%%/doc3.png
16
%%DATADIR%%/doc4.png
37
%%DATADIR%%/doc4.png
17
%%DATADIR%%/doc5.png
38
%%DATADIR%%/doc5.png
Lines 19-76 Link Here
19
%%DATADIR%%/doc7.png
40
%%DATADIR%%/doc7.png
20
%%DATADIR%%/doc8.png
41
%%DATADIR%%/doc8.png
21
%%DATADIR%%/doc9.png
42
%%DATADIR%%/doc9.png
22
%%DATADIR%%/latexhelp.html
43
%%DATADIR%%/en.stopWords
23
%%DATADIR%%/AUTHORS
24
%%DATADIR%%/qt_fr.qm
25
%%DATADIR%%/qt_de.qm
26
%%DATADIR%%/usermanual_en.html
27
%%DATADIR%%/usermanual_fr.html
28
%%DATADIR%%/en_GB.aff
44
%%DATADIR%%/en_GB.aff
29
%%DATADIR%%/en_GB.dic
45
%%DATADIR%%/en_GB.dic
46
%%DATADIR%%/en_US.aff
47
%%DATADIR%%/en_US.dic
48
%%DATADIR%%/fr.stopWords
30
%%DATADIR%%/fr_FR.aff
49
%%DATADIR%%/fr_FR.aff
31
%%DATADIR%%/fr_FR.dic
50
%%DATADIR%%/fr_FR.dic
32
%%DATADIR%%/COPYING
51
%%DATADIR%%/hu_HU.aff
33
%%DATADIR%%/CHANGELOG.txt
52
%%DATADIR%%/hu_HU.dic
34
%%DATADIR%%/texmaker16x16.png
53
%%DATADIR%%/latex2e.css
35
%%DATADIR%%/texmaker22x22.png
54
%%DATADIR%%/latex2e.html
36
%%DATADIR%%/texmaker32x32.png
55
%%DATADIR%%/pt_BR.aff
37
%%DATADIR%%/texmaker48x48.png
56
%%DATADIR%%/pt_BR.dic
38
%%DATADIR%%/texmaker64x64.png
57
%%DATADIR%%/qt_cs.qm
39
%%DATADIR%%/texmaker128x128.png
58
%%DATADIR%%/qt_de.qm
40
share/applications/texmakerx.desktop
59
%%DATADIR%%/qt_fr.qm
41
%%DATADIR%%/texmaker.svg
60
%%DATADIR%%/qt_hu.qm
42
%%DATADIR%%/texmakerx_de.qm
61
%%DATADIR%%/qt_ja.qm
43
%%DATADIR%%/texmakerx_fr.qm
62
%%DATADIR%%/qt_pl.qm
44
%%DATADIR%%/texmakerx_it.qm
63
%%DATADIR%%/qt_zh.qm
45
%%DATADIR%%/texmakerx_pt_BR.qm
64
%%DATADIR%%/spellcheck_menu.png
65
%%DATADIR%%/tabletemplate_fullyframed_firstBold.js
66
%%DATADIR%%/tabletemplate_fullyframed_firstBold.png
67
%%DATADIR%%/tabletemplate_fullyframed_longtable.js
68
%%DATADIR%%/tabletemplate_fullyframed_longtable.png
69
%%DATADIR%%/tabletemplate_plain_tabular.js
70
%%DATADIR%%/tabletemplate_plain_tabular.png
71
%%DATADIR%%/tabletemplate_plain_tabularx.js
72
%%DATADIR%%/tabletemplate_plain_tabularx.png
73
%%DATADIR%%/tabletemplate_rowcolors_tabular.js
74
%%DATADIR%%/tabletemplate_rowcolors_tabular.png
75
%%DATADIR%%/template.png
76
%%DATADIR%%/template_Article.json
77
%%DATADIR%%/template_Article.png
46
%%DATADIR%%/template_Article.tex
78
%%DATADIR%%/template_Article.tex
79
%%DATADIR%%/template_Article_French.json
80
%%DATADIR%%/template_Article_French.png
81
%%DATADIR%%/template_Article_French.tex
82
%%DATADIR%%/template_Beamer.json
47
%%DATADIR%%/template_Beamer.tex
83
%%DATADIR%%/template_Beamer.tex
48
%%DATADIR%%/template_Book.tex
84
%%DATADIR%%/template_Book.json
85
%%DATADIR%%/template_Book.png
86
%%DATADIR%%/template_Book.zip
87
%%DATADIR%%/template_HA-prosper.json
49
%%DATADIR%%/template_HA-prosper.tex
88
%%DATADIR%%/template_HA-prosper.tex
89
%%DATADIR%%/template_Letter.json
90
%%DATADIR%%/template_Letter.png
50
%%DATADIR%%/template_Letter.tex
91
%%DATADIR%%/template_Letter.tex
92
%%DATADIR%%/template_Moderncv.json
93
%%DATADIR%%/template_Moderncv.png
94
%%DATADIR%%/template_Moderncv.tex
95
%%DATADIR%%/template_Moderncv_French.json
96
%%DATADIR%%/template_Moderncv_French.png
97
%%DATADIR%%/template_Moderncv_French.tex
98
%%DATADIR%%/template_Prosper.json
51
%%DATADIR%%/template_Prosper.tex
99
%%DATADIR%%/template_Prosper.tex
100
%%DATADIR%%/template_Report.json
101
%%DATADIR%%/template_Report.png
52
%%DATADIR%%/template_Report.tex
102
%%DATADIR%%/template_Report.tex
103
%%DATADIR%%/template_Scrartcl.json
104
%%DATADIR%%/template_Scrartcl.png
53
%%DATADIR%%/template_Scrartcl.tex
105
%%DATADIR%%/template_Scrartcl.tex
106
%%DATADIR%%/template_Scrbook.json
54
%%DATADIR%%/template_Scrbook.tex
107
%%DATADIR%%/template_Scrbook.tex
108
%%DATADIR%%/template_Scrlttr2.json
55
%%DATADIR%%/template_Scrlttr2.tex
109
%%DATADIR%%/template_Scrlttr2.tex
110
%%DATADIR%%/template_Scrreprt.json
56
%%DATADIR%%/template_Scrreprt.tex
111
%%DATADIR%%/template_Scrreprt.tex
57
%%DATADIR%%/de_DE.aff
112
%%DATADIR%%/texstudio128x128.png
58
%%DATADIR%%/de_DE.dic
113
%%DATADIR%%/texstudio16x16.png
114
%%DATADIR%%/texstudio22x22.png
115
%%DATADIR%%/texstudio32x32.png
116
%%DATADIR%%/texstudio48x48.png
117
%%DATADIR%%/texstudio64x64.png
118
%%DATADIR%%/texstudio_cs.qm
119
%%DATADIR%%/texstudio_de.qm
120
%%DATADIR%%/texstudio_es.qm
121
%%DATADIR%%/texstudio_fr.qm
122
%%DATADIR%%/texstudio_hu.qm
123
%%DATADIR%%/texstudio_it.qm
124
%%DATADIR%%/texstudio_ja.qm
125
%%DATADIR%%/texstudio_pl.qm
126
%%DATADIR%%/texstudio_pt_BR.qm
127
%%DATADIR%%/texstudio_ru.qm
128
%%DATADIR%%/texstudio_uk.qm
129
%%DATADIR%%/texstudio_zh_CN.qm
130
%%DATADIR%%/th_de_DE_v2.dat
59
%%DATADIR%%/th_en_US_v2.dat
131
%%DATADIR%%/th_en_US_v2.dat
60
%%DATADIR%%/th_fr_FR_v2.dat
132
%%DATADIR%%/th_fr_FR_v2.dat
61
%%DATADIR%%/th_de_DE_v2.dat
62
%%DATADIR%%/configure_completion.png
63
%%DATADIR%%/configure_customizeMenu.png
64
%%DATADIR%%/configure_customToolbar.png
65
%%DATADIR%%/configure_editor.png
66
%%DATADIR%%/configure_general.png
67
%%DATADIR%%/configure_shortcuts.png
68
%%DATADIR%%/configure_svn.png
69
%%DATADIR%%/template.png
70
%%DATADIR%%/thesaurus.png
133
%%DATADIR%%/thesaurus.png
71
%%DATADIR%%/texmakerx_cs.qm
134
%%DATADIR%%/usermanual.css
72
%%DATADIR%%/texmakerx_hu.qm
135
%%DATADIR%%/usermanual_en.html
73
%%DATADIR%%/qt_hu.qm
136
%%DATADIR%%/usermanual_fr.html
74
%%DATADIR%%/qt_cs.qm
137
%%DATADIR%%/wizard_figure.png
75
%%DATADIR%%/en_US.aff
138
/usr/share/appdata/texstudio.appdata.xml
76
%%DATADIR%%/en_US.dic
139
@dir /usr/share/appdata

Return to bug 195346