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

(-)Makefile (-4 / +4 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	xfce4-dict
4
PORTNAME=	xfce4-dict
5
PORTVERSION=	0.7.2
5
PORTVERSION=	0.8.0
6
CATEGORIES=	textproc xfce
6
CATEGORIES=	textproc xfce
7
MASTER_SITES=	XFCE/src/apps/${PORTNAME}/${PORTVERSION:R}
7
MASTER_SITES=	XFCE/src/apps/${PORTNAME}/${PORTVERSION:R}
8
PKGNAMESUFFIX=	-plugin
8
PKGNAMESUFFIX=	-plugin
Lines 9-15 Link Here
9
DIST_SUBDIR=	xfce4
9
DIST_SUBDIR=	xfce4
10
10
11
MAINTAINER=	xfce@FreeBSD.org
11
MAINTAINER=	xfce@FreeBSD.org
12
COMMENT=	Xfce4 plugin to query different dictionaries
12
COMMENT=	Client program to query different dictionaries
13
13
14
LICENSE=	GPLv2
14
LICENSE=	GPLv2
15
LICENSE_FILE=	${WRKSRC}/COPYING
15
LICENSE_FILE=	${WRKSRC}/COPYING
Lines 16-23 Link Here
16
16
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
INSTALLS_ICONS=	yes
18
INSTALLS_ICONS=	yes
19
USES=		gettext pkgconfig gmake libtool xfce tar:bzip2
19
USES=		gettext gmake libtool pkgconfig tar:bzip2 xfce:gtk3
20
USE_GNOME=	glib20 gtk20 intltool intlhack
20
USE_GNOME=	glib20 gtk30 intltool cairo
21
USE_XFCE=	panel
21
USE_XFCE=	panel
22
USE_XORG=	x11
22
USE_XORG=	x11
23
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (xfce4/xfce4-dict-0.7.2.tar.bz2) = e5a2b3ec2a665f53534f57cfeb8b2a4ad28d56c13cf8503b4b329377683b11c7
1
TIMESTAMP = 1498398539
2
SIZE (xfce4/xfce4-dict-0.7.2.tar.bz2) = 489918
2
SHA256 (xfce4/xfce4-dict-0.8.0.tar.bz2) = 3a2fa72a3fe1816e16a50327fac1926bb0167a905c9b1e313a2bf5e3163ea32a
3
SIZE (xfce4/xfce4-dict-0.8.0.tar.bz2) = 483618
(-)files/patch-lib__dictd.c (-22 lines)
Lines 1-19 Link Here
1
g_thread_create has been deprecated since version 2.32.
2
3
https://developer.gnome.org/glib/2.34/glib-Deprecated-Thread-APIs.html#g-thread-create
4
5
--- ./lib/dictd.c.orig	2013-05-20 12:27:17.000000000 +0000
6
+++ ./lib/dictd.c	2013-05-20 21:15:01.000000000 +0000
7
@@ -678,7 +678,11 @@
8
 		dictd_init();
9
 
10
 		/* start the thread to query the server */
11
-		g_thread_create((GThreadFunc) ask_server, dd, FALSE, NULL);
12
+		#if GLIB_CHECK_VERSION(2, 32, 0)
13
+			g_thread_new("ask_server", (GThreadFunc) ask_server, dd);
14
+		#else
15
+			g_thread_create((GThreadFunc) ask_server, dd, FALSE, NULL);
16
+		#endif
17
 	}
18
 }
19
 
20
yes
21
native
22
text/plain
(-)files/patch-panel-plugin__xfce4-dict-plugin.c (-19 lines)
Lines 1-16 Link Here
1
g_thread_init has been deprecated since version 2.32.
2
3
https://developer.gnome.org/glib/2.34/glib-Deprecated-Thread-APIs.html#g-thread-init
4
5
--- ./panel-plugin/xfce4-dict-plugin.c.orig	2012-05-04 22:41:55.000000000 +0000
6
+++ ./panel-plugin/xfce4-dict-plugin.c	2013-05-20 20:12:34.000000000 +0000
7
@@ -417,7 +417,9 @@
8
 
9
 	xfce_textdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
10
 
11
+	#if !GLIB_CHECK_VERSION(2, 32, 0)
12
 	g_thread_init(NULL);
13
+	#endif
14
 
15
 	dpd->dd = dict_create_dictdata();
16
 	dpd->dd->is_plugin = TRUE;
17
yes
18
native
19
text/plain
(-)files/patch-src__xfce4-dict.c (-19 lines)
Lines 1-16 Link Here
1
g_thread_init has been deprecated since version 2.32.
2
3
https://developer.gnome.org/glib/2.34/glib-Deprecated-Thread-APIs.html#g-thread-init
4
5
--- ./src/xfce4-dict.c.orig	2012-05-04 23:07:31.000000000 +0000
6
+++ ./src/xfce4-dict.c	2013-05-20 20:14:48.000000000 +0000
7
@@ -175,7 +175,9 @@
8
 	dd->is_plugin = FALSE;
9
 	dd->verbose_mode = verbose_mode;
10
 
11
+	#if !GLIB_CHECK_VERSION(2, 32, 0)
12
 	g_thread_init(NULL);
13
+	#endif
14
 
15
 	dict_read_rc_file(dd);
16
 
17
yes
18
native
19
text/plain
(-)pkg-plist (+1 lines)
Lines 38-43 Link Here
38
share/locale/pt_BR/LC_MESSAGES/xfce4-dict.mo
38
share/locale/pt_BR/LC_MESSAGES/xfce4-dict.mo
39
share/locale/ru/LC_MESSAGES/xfce4-dict.mo
39
share/locale/ru/LC_MESSAGES/xfce4-dict.mo
40
share/locale/sk/LC_MESSAGES/xfce4-dict.mo
40
share/locale/sk/LC_MESSAGES/xfce4-dict.mo
41
share/locale/sl/LC_MESSAGES/xfce4-dict.mo
41
share/locale/sq/LC_MESSAGES/xfce4-dict.mo
42
share/locale/sq/LC_MESSAGES/xfce4-dict.mo
42
share/locale/sr/LC_MESSAGES/xfce4-dict.mo
43
share/locale/sr/LC_MESSAGES/xfce4-dict.mo
43
share/locale/sv/LC_MESSAGES/xfce4-dict.mo
44
share/locale/sv/LC_MESSAGES/xfce4-dict.mo

Return to bug 220266