View | Details | Raw Unified | Return to bug 259680 | Differences between
and this patch

Collapse All | Expand All

(-)b/editors/xmlcopyeditor/Makefile (-11 / +14 lines)
Lines 1-8 Link Here
1
# Created by: José García Juanino <jjuanino@gmail.com>
1
# Created by: Jose G. Juanino <jjuanino@gmail.com>
2
2
3
PORTNAME=	xmlcopyeditor
3
PORTNAME=	xmlcopyeditor
4
PORTVERSION=	1.2.1.3
4
PORTVERSION=	1.3.0.0
5
PORTREVISION=	17
6
CATEGORIES=	editors
5
CATEGORIES=	editors
7
MASTER_SITES=	SF/xml-copy-editor/${PORTNAME}-linux/${PORTVERSION}
6
MASTER_SITES=	SF/xml-copy-editor/${PORTNAME}-linux/${PORTVERSION}
8
7
Lines 17-33 LIB_DEPENDS= libxerces-c.so.3:textproc/xerces-c3 \ Link Here
17
		libaspell.so:textproc/aspell \
16
		libaspell.so:textproc/aspell \
18
		libpcre.so:devel/pcre \
17
		libpcre.so:devel/pcre \
19
		libxml2.so:textproc/libxml2 \
18
		libxml2.so:textproc/libxml2 \
20
		libexpat.so:textproc/expat2
19
		libexpat.so:textproc/expat2 \
20
		libenchant.so:textproc/enchant \
21
		libharfbuzz.so:print/harfbuzz
21
22
22
USES=		compiler:c++11-lang dos2unix gettext gmake gnome iconv libtool
23
USES=		compiler:c++11-lang dos2unix gettext gmake gnome iconv libtool autoreconf desktop-file-utils
23
USE_WX=		2.8+
24
USE_WX=		3.0+
24
WX_COMPS=	wx contrib
25
WX_COMPS=	wx
25
WX_CONF_ARGS=	absolute
26
WX_CONF_ARGS=	absolute
26
USE_GNOME=	intltool
27
USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk30 pango
27
GNU_CONFIGURE=	yes
28
GNU_CONFIGURE=	yes
29
# NLS does not work properly
30
CONFIGURE_ARGS=	--disable-nls
28
31
29
CPPFLAGS+=	-I${LOCALBASE}/include \
32
WRKSRC=		${WRKDIR}/${PORTNAME}
30
		-I${LOCALBASE}/include/libxml2
33
31
LDFLAGS+=	-lpthread -L${LOCALBASE}/lib ${ICONV_LIB}
34
CPPFLAGS+=	-I${LOCALBASE}/include
32
35
33
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)b/editors/xmlcopyeditor/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (xmlcopyeditor-1.2.1.3.tar.gz) = 9b684b5042b4af85d3626fd55108bd1d63c0007b5c794ef7cc4b026012b29d2f
1
TIMESTAMP = 1636138025
2
SIZE (xmlcopyeditor-1.2.1.3.tar.gz) = 4266907
2
SHA256 (xmlcopyeditor-1.3.0.0.tar.gz) = 62342d8b30cb0c59f7fd13a107619a2f955e12bb1057ecdf378b449e96ed3452
3
SIZE (xmlcopyeditor-1.3.0.0.tar.gz) = 4981894
(-)a/editors/xmlcopyeditor/files/patch-po_Makefile.in.in.diff (-10 lines)
Removed Link Here
1
+++ po/Makefile.in.in
2
@@ -34,7 +34,7 @@
3
 datarootdir = @datarootdir@
4
 libdir = @libdir@
5
 DATADIRNAME = @DATADIRNAME@
6
-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
7
+itlocaledir = @localedir@
8
 subdir = po
9
 install_sh = @install_sh@
10
 # Automake >= 1.8 provides @mkdir_p@.
(-)b/editors/xmlcopyeditor/files/patch-src_Makefile.am (-5 / +6 lines)
Lines 1-7 Link Here
1
+++ src/Makefile.in
1
--- src/Makefile.am.orig	2021-11-05 21:58:53 UTC
2
@@ -283,8 +283,8 @@
2
+++ src/Makefile.am
3
 # these are the headers for your project
3
@@ -9,8 +9,8 @@ noinst_HEADERS = $(srcdir)/*.h
4
 noinst_HEADERS = $(srcdir)/*.h
4
 bin_PROGRAMS = xmlcopyeditor
5
 bindir = ${prefix}/bin
5
 xmlcopyeditordir = ${prefix}/share/xmlcopyeditor
6
 xmlcopyeditordir = ${prefix}/share/xmlcopyeditor
6
-pixmapdir = /usr/share/pixmaps
7
-pixmapdir = /usr/share/pixmaps
7
-applicationsdir = /usr/share/applications
8
-applicationsdir = /usr/share/applications
Lines 9-12 Link Here
9
+applicationsdir = ${prefix}/share/applications
10
+applicationsdir = ${prefix}/share/applications
10
 
11
 
11
 # the application source, library search path, and link libraries
12
 # the application source, library search path, and link libraries
12
 xmlcopyeditor_SOURCES = aboutdialog.cpp associatedialog.cpp binaryfile.cpp \
13
 xmlcopyeditor_SOURCES = aboutdialog.cpp \
(-)a/editors/xmlcopyeditor/files/patch-src_myipc.cpp (-11 lines)
Removed Link Here
1
--- src/myipc.cpp.orig	2017-09-04 09:59:48 UTC
2
+++ src/myipc.cpp
3
@@ -46,7 +46,7 @@ wxConnectionBase *MyServer::OnAcceptConn
4
 
5
 MyServerConnection::MyServerConnection()
6
 	: wxConnection()
7
-	, mFrameWnd ( ( wxIntPtr ) NULL )
8
+	, mFrameWnd (0)
9
 {
10
 	server_connection = this;
11
 }
(-)b/editors/xmlcopyeditor/pkg-plist (-16 / +1 lines)
Lines 1-21 Link Here
1
bin/xmlcopyeditor
1
bin/xmlcopyeditor
2
man/man1/xmlcopyeditor.1.gz
2
man/man1/xmlcopyeditor.1.gz
3
share/appdata/xmlcopyeditor.appdata.xml
4
share/applications/xmlcopyeditor.desktop
3
share/applications/xmlcopyeditor.desktop
5
share/locale/ca/LC_MESSAGES/xmlcopyeditor.mo
4
share/metainfo/xmlcopyeditor.appdata.xml
6
share/locale/de/LC_MESSAGES/xmlcopyeditor.mo
7
share/locale/en_US/LC_MESSAGES/xmlcopyeditor.mo
8
share/locale/es/LC_MESSAGES/xmlcopyeditor.mo
9
share/locale/fr/LC_MESSAGES/xmlcopyeditor.mo
10
share/locale/it/LC_MESSAGES/xmlcopyeditor.mo
11
share/locale/km/LC_MESSAGES/xmlcopyeditor.mo
12
share/locale/nl/LC_MESSAGES/xmlcopyeditor.mo
13
share/locale/ru/LC_MESSAGES/xmlcopyeditor.mo
14
share/locale/sk/LC_MESSAGES/xmlcopyeditor.mo
15
share/locale/sv/LC_MESSAGES/xmlcopyeditor.mo
16
share/locale/uk_UA/LC_MESSAGES/xmlcopyeditor.mo
17
share/locale/zh_CN/LC_MESSAGES/xmlcopyeditor.mo
18
share/locale/zh_TW/LC_MESSAGES/xmlcopyeditor.mo
19
share/pixmaps/xmlcopyeditor.png
5
share/pixmaps/xmlcopyeditor.png
20
%%DATADIR%%/catalog/catalog
6
%%DATADIR%%/catalog/catalog
21
%%DATADIR%%/dtd/NewsML_1.2.dtd
7
%%DATADIR%%/dtd/NewsML_1.2.dtd
22
- 

Return to bug 259680