Date: Sat, 18 Apr 2015 08:20:18 +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: r384212 - in head/x11-wm/plank: . files Message-ID: <201504180820.t3I8KIYs095161@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: olivierd Date: Sat Apr 18 08:20:18 2015 New Revision: 384212 URL: https://svnweb.freebsd.org/changeset/ports/384212 Log: - Update to 0.9.0 - Add patch, when default encoding is not UTF-8 in Preferences window (avoid Pango's warnings) Added: head/x11-wm/plank/files/patch-lib_Widgets_PreferencesWindow.vala (contents, props changed) Modified: head/x11-wm/plank/Makefile head/x11-wm/plank/distinfo head/x11-wm/plank/pkg-plist Modified: head/x11-wm/plank/Makefile ============================================================================== --- head/x11-wm/plank/Makefile Sat Apr 18 08:14:46 2015 (r384211) +++ head/x11-wm/plank/Makefile Sat Apr 18 08:20:18 2015 (r384212) @@ -2,9 +2,9 @@ # $FreeBSD$ PORTNAME= plank -PORTVERSION= 0.8.1 +PORTVERSION= 0.9.0 CATEGORIES= x11-wm -MASTER_SITES= https://launchpadlibrarian.net/195786947/ \ +MASTER_SITES= https://launchpadlibrarian.net/202964163/ \ https://launchpad.net/${PORTNAME}/1.0/${PORTVERSION}/+download/ MAINTAINER= olivierd@FreeBSD.org @@ -42,4 +42,8 @@ NLS_CONFIGURE_ENABLE= nls DBUSMENU_LIB_DEPENDS= libdbusmenu-gtk3.so:${PORTSDIR}/devel/libdbusmenu DBUSMENU_CONFIGURE_ENABLE= dbusmenu +post-patch: + ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ + ${WRKSRC}/lib/Widgets/PreferencesWindow.vala + .include <bsd.port.mk> Modified: head/x11-wm/plank/distinfo ============================================================================== --- head/x11-wm/plank/distinfo Sat Apr 18 08:14:46 2015 (r384211) +++ head/x11-wm/plank/distinfo Sat Apr 18 08:20:18 2015 (r384212) @@ -1,2 +1,2 @@ -SHA256 (plank-0.8.1.tar.xz) = e983db3a9c5b72eefd02b5fc9db731c0d2c63c7f98027c36f7e4f904ad14179f -SIZE (plank-0.8.1.tar.xz) = 886564 +SHA256 (plank-0.9.0.tar.xz) = 3a878a393a1e274d44ee88e80e879d30132af1cb1e76c4274dde16666a01a0d4 +SIZE (plank-0.9.0.tar.xz) = 898700 Added: head/x11-wm/plank/files/patch-lib_Widgets_PreferencesWindow.vala ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-wm/plank/files/patch-lib_Widgets_PreferencesWindow.vala Sat Apr 18 08:20:18 2015 (r384212) @@ -0,0 +1,15 @@ +--- lib/Widgets/PreferencesWindow.vala.orig 2015-04-07 07:42:22 UTC ++++ lib/Widgets/PreferencesWindow.vala +@@ -59,6 +59,12 @@ namespace Plank.Widgets + + construct + { ++ GLib.Intl.setlocale (LocaleCategory.ALL, ""); ++ string langpack_dir = GLib.Path.build_filename ("%%PREFIX%%", "share", "locale"); ++ GLib.Intl.bindtextdomain ("plank", langpack_dir); ++ GLib.Intl.bind_textdomain_codeset ("plank", "UTF-8"); ++ GLib.Intl.textdomain ("plank"); ++ + skip_pager_hint = true; + skip_taskbar_hint = true; + title = _("Preferences"); Modified: head/x11-wm/plank/pkg-plist ============================================================================== --- head/x11-wm/plank/pkg-plist Sat Apr 18 08:14:46 2015 (r384211) +++ head/x11-wm/plank/pkg-plist Sat Apr 18 08:20:18 2015 (r384212) @@ -52,11 +52,13 @@ share/icons/hicolor/64x64/apps/plank.svg %%NLS%%share/locale/sk/LC_MESSAGES/plank.mo %%NLS%%share/locale/sl/LC_MESSAGES/plank.mo %%NLS%%share/locale/sma/LC_MESSAGES/plank.mo +%%NLS%%share/locale/sq/LC_MESSAGES/plank.mo %%NLS%%share/locale/sr/LC_MESSAGES/plank.mo %%NLS%%share/locale/sr@latin/LC_MESSAGES/plank.mo %%NLS%%share/locale/sv/LC_MESSAGES/plank.mo %%NLS%%share/locale/ta/LC_MESSAGES/plank.mo %%NLS%%share/locale/te/LC_MESSAGES/plank.mo +%%NLS%%share/locale/th/LC_MESSAGES/plank.mo %%NLS%%share/locale/tr/LC_MESSAGES/plank.mo %%NLS%%share/locale/uk/LC_MESSAGES/plank.mo %%NLS%%share/locale/vi/LC_MESSAGES/plank.mo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504180820.t3I8KIYs095161>