diff options
author | olivierd <olivierd@FreeBSD.org> | 2015-04-18 16:20:18 +0800 |
---|---|---|
committer | olivierd <olivierd@FreeBSD.org> | 2015-04-18 16:20:18 +0800 |
commit | 488ebb7927be09bcaa3302a0852e324d04eb898d (patch) | |
tree | c380fde3dcbf4704db302afe5906bd08a9968cd5 /x11-wm | |
parent | c1a75c9183de5c14b305ed3bdf2717dca65f8780 (diff) | |
download | freebsd-ports-graphics-488ebb7927be09bcaa3302a0852e324d04eb898d.tar.gz freebsd-ports-graphics-488ebb7927be09bcaa3302a0852e324d04eb898d.tar.zst freebsd-ports-graphics-488ebb7927be09bcaa3302a0852e324d04eb898d.zip |
- Update to 0.9.0
- Add patch, when default encoding is not UTF-8 in Preferences window (avoid
Pango's warnings)
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/plank/Makefile | 8 | ||||
-rw-r--r-- | x11-wm/plank/distinfo | 4 | ||||
-rw-r--r-- | x11-wm/plank/files/patch-lib_Widgets_PreferencesWindow.vala | 15 | ||||
-rw-r--r-- | x11-wm/plank/pkg-plist | 2 |
4 files changed, 25 insertions, 4 deletions
diff --git a/x11-wm/plank/Makefile b/x11-wm/plank/Makefile index 2582ed4ba23..af6089afc03 100644 --- a/x11-wm/plank/Makefile +++ b/x11-wm/plank/Makefile @@ -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> diff --git a/x11-wm/plank/distinfo b/x11-wm/plank/distinfo index d68ef384ab5..b577b300618 100644 --- a/x11-wm/plank/distinfo +++ b/x11-wm/plank/distinfo @@ -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 diff --git a/x11-wm/plank/files/patch-lib_Widgets_PreferencesWindow.vala b/x11-wm/plank/files/patch-lib_Widgets_PreferencesWindow.vala new file mode 100644 index 00000000000..33c75b2ac88 --- /dev/null +++ b/x11-wm/plank/files/patch-lib_Widgets_PreferencesWindow.vala @@ -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"); diff --git a/x11-wm/plank/pkg-plist b/x11-wm/plank/pkg-plist index 21f64d81fdf..f977e3db60c 100644 --- a/x11-wm/plank/pkg-plist +++ b/x11-wm/plank/pkg-plist @@ -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 |