diff options
author | 2015-08-08 15:42:23 +0000 | |
---|---|---|
committer | 2015-08-08 15:42:23 +0000 | |
commit | 27fec2509867e13190c62c3bc0d67c5146fd8d0b (patch) | |
tree | ba628d783868c3d3c2c950a71824728c41673a32 | |
parent | Version bump. (diff) | |
download | gentoo-2-27fec2509867e13190c62c3bc0d67c5146fd8d0b.tar.gz gentoo-2-27fec2509867e13190c62c3bc0d67c5146fd8d0b.tar.bz2 gentoo-2-27fec2509867e13190c62c3bc0d67c5146fd8d0b.zip |
Clean up old. Update HOMEPAGE in the remaining ebuilds.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
-rw-r--r-- | net-wireless/blueman/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/blueman/blueman-1.23-r1.ebuild | 98 | ||||
-rw-r--r-- | net-wireless/blueman/blueman-1.23-r2.ebuild | 4 | ||||
-rw-r--r-- | net-wireless/blueman/blueman-1.23.ebuild | 97 | ||||
-rw-r--r-- | net-wireless/blueman/blueman-1.23_p20140717-r1.ebuild | 100 | ||||
-rw-r--r-- | net-wireless/blueman/blueman-1.98_p20150105.ebuild | 4 | ||||
-rw-r--r-- | net-wireless/blueman/files/blueman-1.23_p20140717-set-codeset-for-gettext-to-UTF-8-always.patch | 241 |
7 files changed, 11 insertions, 541 deletions
diff --git a/net-wireless/blueman/ChangeLog b/net-wireless/blueman/ChangeLog index 0f7cc46863c9..88bbfb22a3e9 100644 --- a/net-wireless/blueman/ChangeLog +++ b/net-wireless/blueman/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/blueman # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/ChangeLog,v 1.37 2015/08/08 15:35:02 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/ChangeLog,v 1.38 2015/08/08 15:42:23 mgorny Exp $ + + 08 Aug 2015; Michał Górny <mgorny@gentoo.org> -blueman-1.23-r1.ebuild, + -blueman-1.23.ebuild, -blueman-1.23_p20140717-r1.ebuild, + -files/blueman-1.23_p20140717-set-codeset-for-gettext-to-UTF-8-always.patch, + blueman-1.23-r2.ebuild, blueman-1.98_p20150105.ebuild: + Clean up old. Update HOMEPAGE in the remaining ebuilds. *blueman-2.0 (08 Aug 2015) diff --git a/net-wireless/blueman/blueman-1.23-r1.ebuild b/net-wireless/blueman/blueman-1.23-r1.ebuild deleted file mode 100644 index 68aac986a40f..000000000000 --- a/net-wireless/blueman/blueman-1.23-r1.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-1.23-r1.ebuild,v 1.5 2015/01/05 19:56:01 zerochaos Exp $ - -EAPI="4" - -PYTHON_DEPEND="2:2.7" - -inherit eutils python gnome2-utils - -DESCRIPTION="GTK+ Bluetooth Manager, designed to be simple and intuitive for everyday bluetooth tasks" -HOMEPAGE="http://blueman-project.org/" -SRC_URI="http://download.tuxfamily.org/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="gconf sendto network nls policykit pulseaudio" - -CDEPEND="dev-libs/glib:2 - >=x11-libs/gtk+-2.12:2 - x11-libs/startup-notification - dev-python/pygobject:2 - <net-wireless/bluez-5 - >=net-wireless/bluez-4.21" -DEPEND="${CDEPEND} - nls? ( dev-util/intltool sys-devel/gettext ) - virtual/pkgconfig - >=dev-python/pyrex-0.9.8" -RDEPEND="${CDEPEND} - >=app-mobilephone/obex-data-server-0.4.4 - sys-apps/dbus - dev-python/pygtk - dev-python/notify-python - dev-python/dbus-python - x11-themes/hicolor-icon-theme - gconf? ( dev-python/gconf-python ) - sendto? ( gnome-base/nautilus ) - network? ( || ( net-dns/dnsmasq - net-misc/dhcp - >=net-misc/networkmanager-0.8 ) ) - policykit? ( sys-auth/polkit ) - pulseaudio? ( media-sound/pulseaudio )" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup -} - -src_prepare() { - # disable pyc compiling - ln -sf $(type -P true) py-compile - - sed -i \ - -e '/^Encoding/d' \ - data/blueman-manager.desktop.in || die "sed failed" - - epatch \ - "${FILESDIR}/${P}-plugins-conf-file.patch" \ - "${FILESDIR}/${P}-fix-broken-status-icon.patch" \ - "${FILESDIR}/${P}-set-codeset-for-gettext-to-UTF-8-always.patch" -} - -src_configure() { - econf \ - --disable-static \ - $(use_enable policykit polkit) \ - $(use_enable sendto) \ - --disable-hal \ - $(use_enable nls) -} - -src_install() { - default - - rm "${D}"/$(python_get_sitedir)/*.la - use sendto && rm "${D}"/usr/lib*/nautilus-sendto/plugins/*.la - - use gconf || rm "${D}"/$(python_get_sitedir)/${PN}/plugins/config/Gconf.py - use policykit || rm -rf "${D}"/usr/share/polkit-1 - use pulseaudio || rm "${D}"/$(python_get_sitedir)/${PN}/{main/Pulse*.py,plugins/applet/Pulse*.py} - - python_need_rebuild -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - python_mod_optimize ${PN} - gnome2_icon_cache_update -} - -pkg_postrm() { - python_mod_cleanup ${PN} - gnome2_icon_cache_update -} diff --git a/net-wireless/blueman/blueman-1.23-r2.ebuild b/net-wireless/blueman/blueman-1.23-r2.ebuild index f7102dfcbdcc..e62a810011cb 100644 --- a/net-wireless/blueman/blueman-1.23-r2.ebuild +++ b/net-wireless/blueman/blueman-1.23-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-1.23-r2.ebuild,v 1.4 2015/01/05 19:56:01 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-1.23-r2.ebuild,v 1.5 2015/08/08 15:42:23 mgorny Exp $ EAPI="4" @@ -9,7 +9,7 @@ PYTHON_DEPEND="2:2.7" inherit eutils python gnome2-utils DESCRIPTION="GTK+ Bluetooth Manager, designed to be simple and intuitive for everyday bluetooth tasks" -HOMEPAGE="http://blueman-project.org/" +HOMEPAGE="https://github.com/blueman-project/blueman" SRC_URI="http://download.tuxfamily.org/${PN}/${P}.tar.gz" LICENSE="GPL-3" diff --git a/net-wireless/blueman/blueman-1.23.ebuild b/net-wireless/blueman/blueman-1.23.ebuild deleted file mode 100644 index a5d43d72c656..000000000000 --- a/net-wireless/blueman/blueman-1.23.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-1.23.ebuild,v 1.4 2015/01/05 19:56:01 zerochaos Exp $ - -EAPI="4" - -PYTHON_DEPEND="2" - -inherit eutils python gnome2-utils - -DESCRIPTION="GTK+ Bluetooth Manager, designed to be simple and intuitive for everyday bluetooth tasks" -HOMEPAGE="http://blueman-project.org/" -SRC_URI="http://download.tuxfamily.org/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="gconf sendto network nls policykit pulseaudio" - -CDEPEND="dev-libs/glib:2 - >=x11-libs/gtk+-2.12:2 - x11-libs/startup-notification - dev-python/pygobject:2 - <net-wireless/bluez-5 - >=net-wireless/bluez-4.21" -DEPEND="${CDEPEND} - nls? ( dev-util/intltool sys-devel/gettext ) - virtual/pkgconfig - >=dev-python/pyrex-0.9.8" -RDEPEND="${CDEPEND} - >=app-mobilephone/obex-data-server-0.4.4 - sys-apps/dbus - dev-python/pygtk - dev-python/notify-python - dev-python/dbus-python - x11-themes/hicolor-icon-theme - gconf? ( dev-python/gconf-python ) - sendto? ( gnome-base/nautilus ) - network? ( || ( net-dns/dnsmasq - net-misc/dhcp - >=net-misc/networkmanager-0.8 ) ) - policykit? ( sys-auth/polkit ) - pulseaudio? ( media-sound/pulseaudio )" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup -} - -src_prepare() { - # disable pyc compiling - ln -sf $(type -P true) py-compile - - sed -i \ - -e '/^Encoding/d' \ - data/blueman-manager.desktop.in || die "sed failed" - - epatch \ - "${FILESDIR}/${P}-plugins-conf-file.patch" \ - "${FILESDIR}/${P}-fix-broken-status-icon.patch" -} - -src_configure() { - econf \ - --disable-static \ - $(use_enable policykit polkit) \ - $(use_enable sendto) \ - --disable-hal \ - $(use_enable nls) -} - -src_install() { - default - - rm "${D}"/$(python_get_sitedir)/*.la - use sendto && rm "${D}"/usr/lib*/nautilus-sendto/plugins/*.la - - use gconf || rm "${D}"/$(python_get_sitedir)/${PN}/plugins/config/Gconf.py - use policykit || rm -rf "${D}"/usr/share/polkit-1 - use pulseaudio || rm "${D}"/$(python_get_sitedir)/${PN}/{main/Pulse*.py,plugins/applet/Pulse*.py} - - python_need_rebuild -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - python_mod_optimize ${PN} - gnome2_icon_cache_update -} - -pkg_postrm() { - python_mod_cleanup ${PN} - gnome2_icon_cache_update -} diff --git a/net-wireless/blueman/blueman-1.23_p20140717-r1.ebuild b/net-wireless/blueman/blueman-1.23_p20140717-r1.ebuild deleted file mode 100644 index e0da51c6c6a0..000000000000 --- a/net-wireless/blueman/blueman-1.23_p20140717-r1.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-1.23_p20140717-r1.ebuild,v 1.6 2015/01/05 19:56:01 zerochaos Exp $ - -EAPI="5" - -PYTHON_COMPAT=( python2_7 ) -inherit eutils python-single-r1 gnome2-utils autotools - -DESCRIPTION="GTK+ Bluetooth Manager, designed to be simple and intuitive for everyday bluetooth tasks" -HOMEPAGE="http://blueman-project.org/" - -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/${PN}-project/${PN}.git" - KEYWORDS="" -else - #SRC_URI="http://download.tuxfamily.org/${PN}/${P}.tar.gz" - SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz" - KEYWORDS="~amd64 ~ppc ~x86" -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="gconf sendto network nls policykit pulseaudio" - -CDEPEND="dev-libs/glib:2= - x11-libs/gtk+:3= - x11-libs/startup-notification:= - dev-python/dbus-python[${PYTHON_USEDEP}] - dev-python/pygobject:3 - >=net-wireless/bluez-4.61:= - ${PYTHON_DEPS}" -DEPEND="${CDEPEND} - nls? ( dev-util/intltool sys-devel/gettext ) - virtual/pkgconfig - dev-python/cython[${PYTHON_USEDEP}]" -RDEPEND="${CDEPEND} - >=app-mobilephone/obex-data-server-0.4.4 - sys-apps/dbus - x11-themes/hicolor-icon-theme - gconf? ( dev-python/gconf-python[${PYTHON_USEDEP}] ) - sendto? ( gnome-base/nautilus ) - network? ( || ( net-dns/dnsmasq - net-misc/dhcp - >=net-misc/networkmanager-0.8 ) ) - policykit? ( sys-auth/polkit ) - pulseaudio? ( media-sound/pulseaudio ) - !net-wireless/gnome-bluetooth - x11-themes/gnome-icon-theme -" -# See bug 455320 and https://github.com/blueman-project/blueman/issues/112 for reason for gnome-icon-theme dep - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -src_prepare() { - sed -i \ - -e '/^Encoding/d' \ - data/blueman-manager.desktop.in || die "sed failed" - - epatch \ - "${FILESDIR}/${PN}-9999-plugins-conf-file.patch" \ - "${FILESDIR}/${P}-set-codeset-for-gettext-to-UTF-8-always.patch" - eautoreconf -} - -src_configure() { - econf \ - --disable-static \ - $(use_enable policykit polkit) \ - $(use_enable sendto) \ - --disable-hal \ - $(use_enable nls) -} - -src_install() { - default - - python_fix_shebang "${D}" - - rm "${D}"/$(python_get_sitedir)/*.la || die - use sendto && { rm "${D}"/usr/lib*/nautilus-sendto/plugins/*.la || die; } - - # Note: Python 3 support would need __pycache__ file removal too - use gconf || { rm "${D}"/$(python_get_sitedir)/${PN}/plugins/config/Gconf.py* || die; } - use policykit || { rm -rf "${D}"/usr/share/polkit-1 || die; } - use pulseaudio || { rm "${D}"/$(python_get_sitedir)/${PN}/{main/Pulse*.py*,plugins/manager/Pulse*.py*} || die; } -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/net-wireless/blueman/blueman-1.98_p20150105.ebuild b/net-wireless/blueman/blueman-1.98_p20150105.ebuild index f7d48ffd1d37..7c0522583392 100644 --- a/net-wireless/blueman/blueman-1.98_p20150105.ebuild +++ b/net-wireless/blueman/blueman-1.98_p20150105.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-1.98_p20150105.ebuild,v 1.1 2015/01/05 19:50:38 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-1.98_p20150105.ebuild,v 1.2 2015/08/08 15:42:23 mgorny Exp $ EAPI="5" @@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 ) inherit eutils python-single-r1 gnome2-utils autotools DESCRIPTION="GTK+ Bluetooth Manager, designed to be simple and intuitive for everyday bluetooth tasks" -HOMEPAGE="http://blueman-project.org/" +HOMEPAGE="https://github.com/blueman-project/blueman" if [[ ${PV} == "9999" ]] ; then inherit git-r3 diff --git a/net-wireless/blueman/files/blueman-1.23_p20140717-set-codeset-for-gettext-to-UTF-8-always.patch b/net-wireless/blueman/files/blueman-1.23_p20140717-set-codeset-for-gettext-to-UTF-8-always.patch deleted file mode 100644 index 258f65cc34cd..000000000000 --- a/net-wireless/blueman/files/blueman-1.23_p20140717-set-codeset-for-gettext-to-UTF-8-always.patch +++ /dev/null @@ -1,241 +0,0 @@ -diff --git a/apps/blueman-adapters b/apps/blueman-adapters -index e6f1b16..95f6997 100755 ---- a/apps/blueman-adapters -+++ b/apps/blueman-adapters -@@ -6,6 +6,7 @@ from gi.repository import Pango - import os.path - import sys - import signal -+from locale import bind_textdomain_codeset - - #support running uninstalled - _dirname = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) -@@ -34,6 +35,7 @@ class BluemanAdapters: - - builder = Gtk.Builder() - builder.set_translation_domain("blueman") -+ bind_textdomain_codeset("blueman", "UTF-8") - builder.add_from_file(UI_PATH + "/adapters.ui") - self.dialog = builder.get_object("dialog") - -diff --git a/apps/blueman-assistant b/apps/blueman-assistant -index dc7f18f..47893da 100755 ---- a/apps/blueman-assistant -+++ b/apps/blueman-assistant -@@ -16,6 +16,7 @@ import random - import signal - import dbus.glib - from optparse import OptionParser -+from locale import bind_textdomain_codeset - - #support running uninstalled - _dirname = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) -@@ -63,6 +64,7 @@ class Assistant(Agent): - - self.Builder = Gtk.Builder() - self.Builder.set_translation_domain("blueman") -+ bind_textdomain_codeset("blueman", "UTF-8") - self.Builder.add_from_file(UI_PATH + "/assistant.ui") - self.assistant = self.Builder.get_object("assistant") - self.assistant.set_title(_("Bluetooth Assistant")) -diff --git a/apps/blueman-manager b/apps/blueman-manager -index f31d219..e938601 100755 ---- a/apps/blueman-manager -+++ b/apps/blueman-manager -@@ -27,6 +27,7 @@ import dbus, dbus.glib - from blueman.Constants import * - import gi - gi.require_version("Gtk", "3.0") -+from locale import bind_textdomain_codeset - from gi.repository import Gtk - from gi.repository import GObject - from blueman.bluez.BlueZInterface import BlueZInterface -@@ -62,6 +64,7 @@ class Blueman: - - self.Builder = Gtk.Builder() - self.Builder.set_translation_domain("blueman") -+ bind_textdomain_codeset("blueman", "UTF-8") - self.Builder.add_from_file(UI_PATH + "/manager-main.ui") - - self.window = self.Builder.get_object("window") -diff --git a/apps/blueman-sendto b/apps/blueman-sendto -index e72e6ab..ce25926 100755 ---- a/apps/blueman-sendto -+++ b/apps/blueman-sendto -@@ -13,6 +13,7 @@ from optparse import OptionParser - import gettext - import urllib - import time -+from locale import bind_textdomain_codeset - - from blueman.Constants import * - import gi -@@ -46,6 +47,7 @@ class Sender(GObject.GObject): - GObject.GObject.__init__(self) - self.Builder = Gtk.Builder() - self.Builder.set_translation_domain("blueman") -+ bind_textdomain_codeset("blueman", "UTF-8") - self.Builder.add_from_file(UI_PATH + "/send-dialog.ui") - self.window = self.Builder.get_object("window") - -diff --git a/apps/blueman-services b/apps/blueman-services -index 25a529b..4b4419c 100755 ---- a/apps/blueman-services -+++ b/apps/blueman-services -@@ -2,6 +2,7 @@ - - import os - import sys -+from locale import bind_textdomain_codeset - #support running uninstalled - _dirname = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) - if os.path.exists(os.path.join(_dirname, "CHANGELOG.md")): -@@ -29,6 +30,7 @@ class BluemanServices: - - self.Builder = Gtk.Builder() - self.Builder.set_translation_domain("blueman") -+ bind_textdomain_codeset("blueman", "UTF-8") - self.Builder.add_from_file(UI_PATH + "/services.ui") - - self.Config = Config() -diff --git a/blueman/gui/GsmSettings.py b/blueman/gui/GsmSettings.py -index ee07e62..e58277b 100644 ---- a/blueman/gui/GsmSettings.py -+++ b/blueman/gui/GsmSettings.py -@@ -21,6 +21,7 @@ from blueman.Functions import * - from blueman.Constants import * - - from gi.repository import Gtk -+from locale import bind_textdomain_codeset - - class GsmSettings(Gtk.Dialog): - def __init__(self, bd_address): -@@ -30,6 +31,7 @@ class GsmSettings(Gtk.Dialog): - - self.Builder = Gtk.Builder() - self.Builder.set_translation_domain("blueman") -+ bind_textdomain_codeset("blueman", "UTF-8") - self.Builder.add_from_file(UI_PATH +"/gsm-settings.ui") - - vbox = self.Builder.get_object("vbox1") -diff --git a/blueman/gui/applet/PluginDialog.py b/blueman/gui/applet/PluginDialog.py -index f994cc9..84d6370 100644 ---- a/blueman/gui/applet/PluginDialog.py -+++ b/blueman/gui/applet/PluginDialog.py -@@ -23,6 +23,7 @@ from blueman.Functions import * - - from blueman.gui.GenericList import GenericList - import weakref -+from locale import bind_textdomain_codeset - - class SettingsWidget(Gtk.VBox): - def __init__(self, inst): -@@ -118,6 +119,7 @@ class PluginDialog(Gtk.Dialog): - - self.Builder = Gtk.Builder() - self.Builder.set_translation_domain("blueman") -+ bind_textdomain_codeset("blueman", "UTF-8") - self.Builder.add_from_file(UI_PATH +"/applet-plugins-widget.ui") - - self.set_title(_("Plugins")) -diff --git a/blueman/main/applet/BluezAgent.py b/blueman/main/applet/BluezAgent.py -index 868dbe9..403077a 100644 ---- a/blueman/main/applet/BluezAgent.py -+++ b/blueman/main/applet/BluezAgent.py -@@ -25,6 +25,7 @@ from gi.repository import Gtk - from gi.repository import GObject - from gi.types import GObjectMeta - import cgi -+from locale import bind_textdomain_codeset - import blueman.bluez as Bluez - from blueman.Sdp import * - from blueman.Constants import * -@@ -68,6 +69,7 @@ class CommonAgent(GObject.GObject, Agent): - editable.stop_emission("insert-text") - - builder = Gtk.Builder() -+ bind_textdomain_codeset("blueman", "UTF-8") - builder.add_from_file(UI_PATH + "/applet-passkey.ui") - builder.set_translation_domain("blueman") - dialog = builder.get_object("dialog") -diff --git a/blueman/plugins/applet/NetUsage.py b/blueman/plugins/applet/NetUsage.py -index 1584580..6262ff0 100644 ---- a/blueman/plugins/applet/NetUsage.py -+++ b/blueman/plugins/applet/NetUsage.py -@@ -33,7 +33,7 @@ import dbus - import time - import datetime - import gettext -- -+from locale import bind_textdomain_codeset - - class MonitorBase(GObject.GObject): - __gsignals__ = { -@@ -150,6 +150,7 @@ class Dialog: - builder = Gtk.Builder() - builder.add_from_file(UI_PATH + "/net-usage.ui") - builder.set_translation_domain("blueman") -+ bind_textdomain_codeset("blueman", "UTF-8") - - self.dialog = builder.get_object("dialog") - self.dialog.connect("response", self.on_response) -diff --git a/blueman/plugins/services/Audio.py b/blueman/plugins/services/Audio.py -index b44d6b5..4b13e8f 100644 ---- a/blueman/plugins/services/Audio.py -+++ b/blueman/plugins/services/Audio.py -@@ -19,6 +19,7 @@ - - from gi.repository import Gtk - import dbus -+from locale import bind_textdomain_codeset - from blueman.Constants import * - from blueman.plugins.ServicePlugin import ServicePlugin - -@@ -35,6 +36,7 @@ class Audio(ServicePlugin): - - self.Builder = Gtk.Builder() - self.Builder.set_translation_domain("blueman") -+ bind_textdomain_codeset("blueman", "UTF-8") - self.Builder.add_from_file(UI_PATH +"/services-audio.ui") - self.widget = self.Builder.get_object("audio") - -diff --git a/blueman/plugins/services/Network.py b/blueman/plugins/services/Network.py -index e003345..bd705d9 100644 ---- a/blueman/plugins/services/Network.py -+++ b/blueman/plugins/services/Network.py -@@ -18,6 +18,7 @@ - # - - from gi.repository import Gtk -+from locale import bind_textdomain_codeset - from blueman.Constants import * - from blueman.Functions import have, dprint, mask_ip4_address - from blueman.Lib import get_net_interfaces, get_net_address, get_net_netmask -@@ -36,6 +37,7 @@ class Network(ServicePlugin): - - self.Builder = Gtk.Builder() - self.Builder.set_translation_domain("blueman") -+ bind_textdomain_codeset("blueman", "UTF-8") - self.Builder.add_from_file(UI_PATH +"/services-network.ui") - self.widget = self.Builder.get_object("network") - -diff --git a/blueman/plugins/services/Transfer.py b/blueman/plugins/services/Transfer.py -index 55024d3..ffd75ec 100644 ---- a/blueman/plugins/services/Transfer.py -+++ b/blueman/plugins/services/Transfer.py -@@ -18,6 +18,7 @@ - # - - from gi.repository import Gtk -+from locale import bind_textdomain_codeset - from blueman.Constants import * - from blueman.plugins.ServicePlugin import ServicePlugin - -@@ -32,6 +33,7 @@ class Transfer(ServicePlugin): - - self.Builder = Gtk.Builder() - self.Builder.set_translation_domain("blueman") -+ bind_textdomain_codeset("blueman", "UTF-8") - self.Builder.add_from_file(UI_PATH +"/services-transfer.ui") - self.widget = self.Builder.get_object("transfer") - |