Date: Mon, 20 May 2013 20:12:39 +0000 (UTC) From: Olivier Duchateau <olivierd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318623 - in head/textproc/xfce4-dict-plugin: . files Message-ID: <201305202012.r4KKCdxx032399@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: olivierd Date: Mon May 20 20:12:38 2013 New Revision: 318623 URL: http://svnweb.freebsd.org/changeset/ports/318623 Log: - Update to 0.7.0 - Enhance description (COMMENT) in Makefile - Add patches to avoid warnings with GLib >= 2.32 Added: head/textproc/xfce4-dict-plugin/files/ head/textproc/xfce4-dict-plugin/files/patch-lib__dictd.c (contents, props changed) head/textproc/xfce4-dict-plugin/files/patch-panel-plugin__xfce4-dict-plugin.c (contents, props changed) head/textproc/xfce4-dict-plugin/files/patch-src__xfce4-dict.c (contents, props changed) Modified: head/textproc/xfce4-dict-plugin/Makefile head/textproc/xfce4-dict-plugin/distinfo (contents, props changed) head/textproc/xfce4-dict-plugin/pkg-descr (contents, props changed) head/textproc/xfce4-dict-plugin/pkg-plist Modified: head/textproc/xfce4-dict-plugin/Makefile ============================================================================== --- head/textproc/xfce4-dict-plugin/Makefile Mon May 20 19:35:45 2013 (r318622) +++ head/textproc/xfce4-dict-plugin/Makefile Mon May 20 20:12:38 2013 (r318623) @@ -3,8 +3,7 @@ # PORTNAME= xfce4-dict -PORTVERSION= 0.6.0 -PORTREVISION= 8 +PORTVERSION= 0.7.0 CATEGORIES= textproc xfce MASTER_SITES= ${MASTER_SITE_XFCE} MASTER_SITE_SUBDIR= src/apps/${PORTNAME}/${PORTVERSION:R} @@ -12,16 +11,17 @@ PKGNAMESUFFIX= -plugin DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org -COMMENT= Xfce Plugin for searching for the translation or explanation of a word +COMMENT= Xfce4 plugin to query different dictionnaries USE_BZIP2= yes GNU_CONFIGURE= yes INSTALLS_ICONS= yes USES= gettext pkgconfig USE_GMAKE= yes -USE_GNOME= gtk20 intltool intlhack -USE_XFCE= configenv libgui libutil panel +USE_GNOME= glib20 gtk20 intltool intlhack +USE_XFCE= configenv libmenu libutil panel USE_XORG= x11 +USE_LDCONFIG= yes MAN1= xfce4-dict.1 Modified: head/textproc/xfce4-dict-plugin/distinfo ============================================================================== --- head/textproc/xfce4-dict-plugin/distinfo Mon May 20 19:35:45 2013 (r318622) +++ head/textproc/xfce4-dict-plugin/distinfo Mon May 20 20:12:38 2013 (r318623) @@ -1,2 +1,2 @@ -SHA256 (xfce4/xfce4-dict-0.6.0.tar.bz2) = a8188ca4c980ca2003be6bf2391589f5122830680c41d51105b10813850da0d3 -SIZE (xfce4/xfce4-dict-0.6.0.tar.bz2) = 373420 +SHA256 (xfce4/xfce4-dict-0.7.0.tar.bz2) = 407fc0f02adf6ea85dec6993db1e222b548afcdd63a9e35ed2d70a42c9738e58 +SIZE (xfce4/xfce4-dict-0.7.0.tar.bz2) = 456688 Added: head/textproc/xfce4-dict-plugin/files/patch-lib__dictd.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/xfce4-dict-plugin/files/patch-lib__dictd.c Mon May 20 20:12:38 2013 (r318623) @@ -0,0 +1,19 @@ +g_thread_create has been deprecated since version 2.32. + +https://developer.gnome.org/glib/2.34/glib-Deprecated-Thread-APIs.html#g-thread-create + +--- ./lib/dictd.c.orig 2013-05-20 12:27:17.000000000 +0000 ++++ ./lib/dictd.c 2013-05-20 21:15:01.000000000 +0000 +@@ -678,7 +678,11 @@ + dictd_init(); + + /* start the thread to query the server */ +- g_thread_create((GThreadFunc) ask_server, dd, FALSE, NULL); ++ #if GLIB_CHECK_VERSION(2, 32, 0) ++ g_thread_new("ask_server", (GThreadFunc) ask_server, dd); ++ #else ++ g_thread_create((GThreadFunc) ask_server, dd, FALSE, NULL); ++ #endif + } + } + Added: head/textproc/xfce4-dict-plugin/files/patch-panel-plugin__xfce4-dict-plugin.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/xfce4-dict-plugin/files/patch-panel-plugin__xfce4-dict-plugin.c Mon May 20 20:12:38 2013 (r318623) @@ -0,0 +1,16 @@ +g_thread_init has been deprecated since version 2.32. + +https://developer.gnome.org/glib/2.34/glib-Deprecated-Thread-APIs.html#g-thread-init + +--- ./panel-plugin/xfce4-dict-plugin.c.orig 2012-05-04 22:41:55.000000000 +0000 ++++ ./panel-plugin/xfce4-dict-plugin.c 2013-05-20 20:12:34.000000000 +0000 +@@ -417,7 +417,9 @@ + + xfce_textdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8"); + ++ #if !GLIB_CHECK_VERSION(2, 32, 0) + g_thread_init(NULL); ++ #endif + + dpd->dd = dict_create_dictdata(); + dpd->dd->is_plugin = TRUE; Added: head/textproc/xfce4-dict-plugin/files/patch-src__xfce4-dict.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/xfce4-dict-plugin/files/patch-src__xfce4-dict.c Mon May 20 20:12:38 2013 (r318623) @@ -0,0 +1,16 @@ +g_thread_init has been deprecated since version 2.32. + +https://developer.gnome.org/glib/2.34/glib-Deprecated-Thread-APIs.html#g-thread-init + +--- ./src/xfce4-dict.c.orig 2012-05-04 23:07:31.000000000 +0000 ++++ ./src/xfce4-dict.c 2013-05-20 20:14:48.000000000 +0000 +@@ -175,7 +175,9 @@ + dd->is_plugin = FALSE; + dd->verbose_mode = verbose_mode; + ++ #if !GLIB_CHECK_VERSION(2, 32, 0) + g_thread_init(NULL); ++ #endif + + dict_read_rc_file(dd); + Modified: head/textproc/xfce4-dict-plugin/pkg-descr ============================================================================== --- head/textproc/xfce4-dict-plugin/pkg-descr Mon May 20 19:35:45 2013 (r318622) +++ head/textproc/xfce4-dict-plugin/pkg-descr Mon May 20 20:12:38 2013 (r318623) @@ -1,4 +1,4 @@ -With this plugin you can query a dictionary server (see RFC 2229) to search for +With xfce4-dict you can query a dictionary server (see RFC 2229) to search for the translation or explanation of a word. You can also choose a dictionary offered by the server to improve your search results. Modified: head/textproc/xfce4-dict-plugin/pkg-plist ============================================================================== --- head/textproc/xfce4-dict-plugin/pkg-plist Mon May 20 19:35:45 2013 (r318622) +++ head/textproc/xfce4-dict-plugin/pkg-plist Mon May 20 20:12:38 2013 (r318623) @@ -1,23 +1,32 @@ bin/xfce4-dict -libexec/xfce4/panel-plugins/xfce4-dict-plugin +lib/xfce4/panel/plugins/libxfce4dict.la +lib/xfce4/panel/plugins/libxfce4dict.so share/applications/xfce4-dict.desktop share/icons/hicolor/scalable/apps/xfce4-dict.svg share/locale/ar/LC_MESSAGES/xfce4-dict.mo share/locale/ast/LC_MESSAGES/xfce4-dict.mo +share/locale/be/LC_MESSAGES/xfce4-dict.mo +share/locale/bg/LC_MESSAGES/xfce4-dict.mo share/locale/ca/LC_MESSAGES/xfce4-dict.mo share/locale/cs/LC_MESSAGES/xfce4-dict.mo share/locale/da/LC_MESSAGES/xfce4-dict.mo share/locale/de/LC_MESSAGES/xfce4-dict.mo +share/locale/el/LC_MESSAGES/xfce4-dict.mo share/locale/en_GB/LC_MESSAGES/xfce4-dict.mo share/locale/es/LC_MESSAGES/xfce4-dict.mo share/locale/eu/LC_MESSAGES/xfce4-dict.mo share/locale/fi/LC_MESSAGES/xfce4-dict.mo share/locale/fr/LC_MESSAGES/xfce4-dict.mo share/locale/gl/LC_MESSAGES/xfce4-dict.mo +share/locale/hr/LC_MESSAGES/xfce4-dict.mo share/locale/hu/LC_MESSAGES/xfce4-dict.mo share/locale/id/LC_MESSAGES/xfce4-dict.mo +share/locale/is/LC_MESSAGES/xfce4-dict.mo share/locale/it/LC_MESSAGES/xfce4-dict.mo share/locale/ja/LC_MESSAGES/xfce4-dict.mo +share/locale/kk/LC_MESSAGES/xfce4-dict.mo +share/locale/ko/LC_MESSAGES/xfce4-dict.mo +share/locale/lt/LC_MESSAGES/xfce4-dict.mo share/locale/lv/LC_MESSAGES/xfce4-dict.mo share/locale/nb/LC_MESSAGES/xfce4-dict.mo share/locale/nl/LC_MESSAGES/xfce4-dict.mo @@ -25,21 +34,31 @@ share/locale/pl/LC_MESSAGES/xfce4-dict.m share/locale/pt/LC_MESSAGES/xfce4-dict.mo share/locale/pt_BR/LC_MESSAGES/xfce4-dict.mo share/locale/ru/LC_MESSAGES/xfce4-dict.mo +share/locale/sk/LC_MESSAGES/xfce4-dict.mo share/locale/sq/LC_MESSAGES/xfce4-dict.mo +share/locale/sr/LC_MESSAGES/xfce4-dict.mo share/locale/sv/LC_MESSAGES/xfce4-dict.mo share/locale/tr/LC_MESSAGES/xfce4-dict.mo +share/locale/ug/LC_MESSAGES/xfce4-dict.mo share/locale/uk/LC_MESSAGES/xfce4-dict.mo share/locale/ur/LC_MESSAGES/xfce4-dict.mo share/locale/ur_PK/LC_MESSAGES/xfce4-dict.mo share/locale/zh_CN/LC_MESSAGES/xfce4-dict.mo -share/xfce4/panel-plugins/xfce4-dict-plugin.desktop -@dirrmtry share/xfce4/panel-plugins +share/locale/zh_TW/LC_MESSAGES/xfce4-dict.mo +share/xfce4/panel/plugins/xfce4-dict-plugin.desktop +@dirrmtry share/xfce4/panel/plugins +@dirrmtry share/xfce4/panel @dirrmtry share/xfce4 @dirrmtry share/locale/ur_PK/LC_MESSAGES @dirrmtry share/locale/ur_PK @dirrmtry share/locale/ur/LC_MESSAGES @dirrmtry share/locale/ur +@dirrmtry share/locale/ug/LC_MESSAGES +@dirrmtry share/locale/ug +@dirrmtry share/locale/kk/LC_MESSAGES +@dirrmtry share/locale/kk @dirrmtry share/locale/ast/LC_MESSAGES @dirrmtry share/locale/ast -@dirrmtry libexec/xfce4/panel-plugins -@dirrmtry libexec/xfce4 +@dirrmtry lib/xfce4/panel/plugins +@dirrmtry lib/xfce4/panel +@dirrmtry lib/xfce4
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305202012.r4KKCdxx032399>