Mercurial > hg > portage
changeset 504:7a3286a4fba4
Automated merge with https://localhost/hg/portage
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Wed, 20 Jun 2018 07:29:16 +0200 |
parents | e320ad3655b7 (diff) 510b2157b669 (current diff) |
children | cf7ebc4098d5 |
files | |
diffstat | 9 files changed, 522 insertions(+), 68 deletions(-) [+] |
line wrap: on
line diff
--- a/app-editors/visual-studio-code/Manifest Wed Jun 20 07:26:00 2018 +0200 +++ b/app-editors/visual-studio-code/Manifest Wed Jun 20 07:29:16 2018 +0200 @@ -1,5 +1,11 @@ -AUX visual-studio-code.desktop 219 SHA256 a0631c4faf7bd47bf0200f9e5571b03b14886dceb3706e29fde9a4d953969787 SHA512 97b81eb1461225f5fef1187709387679d081e377897660e825a6ea356753b2c95e690552e5e75d76371126551786f36a43cd141b06c3cde436ccfb4a75347b03 WHIRLPOOL e1611235e96a2f5223f3353debe6d5e752799da0cbf7cf341cd4b511f68d7e39c35ebcb71fdbe855128858e91cdd58eda9d325bfb6e1d22f41c2fe899f39da7a -AUX visual-studio-code.png 30538 SHA256 6f778f383747af9b53a934ce9ba95fe6be0c9cf1fe5da97dc925787a432544fa SHA512 fabb74b9ab860d8003798ea85db2a3c79c1b683897acc5b580884a8946fa060276f8cdf459a9fb5fd9a560094b250838a3dfa2e5e5f8032601a155466dffa160 WHIRLPOOL 1f9a7a5919384d738841b639ef7ec842a8e5ab86e98c8942536234bd471c449fb34f057ac9ee73cb72b6bdadd451d81c09612644672fdd571a73d989b884cd31 -DIST visual-studio-code-1.18.1-amd64.tar.gz 64846354 SHA256 913783d9f318861c0945f21aeb2f04278dc6c64564c9cfc24d757962b377f640 SHA512 2428a8f6eac7b12d74191bf250b6e2dcecf8a2f829aaf718600bdfd8b060e6cc3f59532c3c823ee3005dd67db28c08aca925aa2afcf94d865f6577c62d36f7a6 WHIRLPOOL 8b645001830278d0d40d8c7e88fd2a9b5ec24b8b5e645bc193468b3ee540cc799f5994bfb2716a9cc96ee57a4dd2f0a8bc8a5f8ea70302f7a6c2c4fb4790c7e0 -DIST visual-studio-code-1.18.1-x86.tar.gz 65859677 SHA256 f1b0c32cd46b3a10039978a338ee741f99b8ca06062ca04624bcaf89af06fa8d SHA512 c1282d4ace39173b7a25caafcc6f578f53f0c7511fdb4810afdc9dde4059e9e188c2ba48e02f40adc7f0a2bc714ea71c791f531b4cb069f665ef00e5ec42f901 WHIRLPOOL b56e5d2234c0f282ecf69aed712a6c149676ab3c84598937871748baa413ba2ba0982325c81f47446a7c4c25c9589ede96b6a555d609b7e4fcecc49a7646074e -EBUILD visual-studio-code-1.18.1.ebuild 1554 SHA256 9bdb6e6cae41cc53928c5496e56300eb24c06e753154d44914f5241e5c0a4f75 SHA512 fb13215cdee9c31e88e2847c90d8f8408912b7e556f399a8ed5f75a3cbc4ffed9fe337eef24716ca2682a2dc199845761756264eaa0462951748ac16f632785a WHIRLPOOL f22275b14b56781c38b89f8c9cb4e5b485e8a1500e165f4382a315621bda761c155c570cb22dc82ec8227444e4ccf10baf55990695cad16377e83da960780cd9 +AUX visual-studio-code.desktop 219 BLAKE2B 76da7de95bb06cab2feaef664aee550b9ea68b58ecf3a9affa82fa11e1aeb8e754498cf1aa0b2dc18030fc2d800173c4b7ffd9c17dc0dc9de012fafd631d0060 SHA512 97b81eb1461225f5fef1187709387679d081e377897660e825a6ea356753b2c95e690552e5e75d76371126551786f36a43cd141b06c3cde436ccfb4a75347b03 +AUX visual-studio-code.png 30538 BLAKE2B 16cf4c0e8f6c59451e38049b2531b08cfac9c0ef570b0f4c28c16a51ebfa81e95db2c5286dd4c1ddb0fa535858f3373cff2f76a21a2859321cd80529c2d6ef52 SHA512 fabb74b9ab860d8003798ea85db2a3c79c1b683897acc5b580884a8946fa060276f8cdf459a9fb5fd9a560094b250838a3dfa2e5e5f8032601a155466dffa160 +DIST visual-studio-code-1.18.1-amd64.tar.gz 64846354 BLAKE2B 5f0c43dd1bb3853825f6e894e200c56acec78b11d6b5b6943aaf5affab352761a2ea8397c7cb1f36d2f72898a0b3869d9d4560714aa10c04ac470f585c4002be SHA512 2428a8f6eac7b12d74191bf250b6e2dcecf8a2f829aaf718600bdfd8b060e6cc3f59532c3c823ee3005dd67db28c08aca925aa2afcf94d865f6577c62d36f7a6 +DIST visual-studio-code-1.18.1-x86.tar.gz 65859677 BLAKE2B 255681e0ff9db2ca71eff2eaeea6b46d5e1383443878930097d7fa9ff76c5e616455d84f0c027f4036fe558e8347f7703584a73fddfd2fbd8618b1e5d69ad2a2 SHA512 c1282d4ace39173b7a25caafcc6f578f53f0c7511fdb4810afdc9dde4059e9e188c2ba48e02f40adc7f0a2bc714ea71c791f531b4cb069f665ef00e5ec42f901 +DIST visual-studio-code-1.20.1-amd64.tar.gz 65805135 BLAKE2B 68379a769c97d3fec5aba2d69bbaf81b6eb1a425800e23d4dd03e21a2670292386dda9ae89e6bd0b0b239284b9172c22b1055b471534fb134be9032a69bc4069 SHA512 7d56ae1117024b525f11a4fdee94cd191c419e13919034a2097b19299212f70450fdc71f9bc66437e4ba6c1895fd90e11a2c619d823830fda165bca8bbad9040 +DIST visual-studio-code-1.20.1-x86.tar.gz 66820122 BLAKE2B c2ab5492b7f7899539f4b35a5eeb64c4c1c19104e13c218e979979d314be4ba09d7ef0f7f9d261b2800bc8d5078cc0f6211be077f1ccf064c1651c15742c9186 SHA512 f2ca95bf960eecf7a443e5369479f08b67bf2e6653885be7fa8309d2cd845ea175e40f48bb3beeb1b3c0b245bb7ba1d3bbde045b870bfb84fa3923db7f96f8c7 +DIST visual-studio-code-1.21.1-amd64.tar.gz 67065892 BLAKE2B 5b2dbecdc10cc7a6aa41b45b21ff9f3c02b73912660c62e5a29e2d51f127fb4d67fc3d5b0520f7aa89e23d276f7d62e6edc77e3bded6390da16f3dd5d72252f5 SHA512 14bc9741a4c43f313d7092e8c270c4289ff5d580dc487eaa3777c2608bebcd827db3785cedd664bd74105eb1123fd6cb0efa90c12b394a6661be1236db20ef90 +DIST visual-studio-code-1.21.1-x86.tar.gz 68083785 BLAKE2B 02a10e4b65e10b57d20471b68e1506765f0dd1032a85c18a714d3f5495a6f46772ce1db3a32bab1478a3d58e1e043698669b25682277bea33af32dd0b53cf497 SHA512 2987eb244a5bb6a932c1a145d7c7065cdb0d658c9083125d116ca201d621a2e2c58629fafd68c12c1dbe6f4183ff71357dc76ed53d92f32c4104b3fceb5e36ea +EBUILD visual-studio-code-1.18.1.ebuild 1554 BLAKE2B 4ead24ac5e900842910811e9216ba6a7a133366cad64e4578fdfed4d08bb59073ca9b47a80d601aef5b1fffd340e9841fc2c1f846b9b10a9c6c0589502e12aa5 SHA512 fb13215cdee9c31e88e2847c90d8f8408912b7e556f399a8ed5f75a3cbc4ffed9fe337eef24716ca2682a2dc199845761756264eaa0462951748ac16f632785a +EBUILD visual-studio-code-1.20.1.ebuild 1554 BLAKE2B 4ead24ac5e900842910811e9216ba6a7a133366cad64e4578fdfed4d08bb59073ca9b47a80d601aef5b1fffd340e9841fc2c1f846b9b10a9c6c0589502e12aa5 SHA512 fb13215cdee9c31e88e2847c90d8f8408912b7e556f399a8ed5f75a3cbc4ffed9fe337eef24716ca2682a2dc199845761756264eaa0462951748ac16f632785a +EBUILD visual-studio-code-1.21.1.ebuild 1555 BLAKE2B 2f7b86452faaf7e0bcffe6798a864816e76125199ad8afff23544c8c53c2b6b13a572ff3943cf6fac8c47a40e6fd623648e6a533e5b44d4cad6f5b05449c1036 SHA512 1910c30da095d9344d377a596dbe0700416b3d67b087b16348f5edad6c4c5e8ec808f075ae7610236db1be3c29d94ea2742cfc657aed30133e318d5ee47909f9
--- a/app-editors/visual-studio-code/visual-studio-code-1.18.1.ebuild Wed Jun 20 07:26:00 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,63 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils pax-utils - -DESCRIPTION="Multiplatform Visual Studio Code from Microsoft" -HOMEPAGE="https://code.visualstudio.com" -BASE_URI="https://vscode-update.azurewebsites.net/${PV}" -SRC_URI=" - x86? ( ${BASE_URI}/linux-ia32/stable -> ${P}-x86.tar.gz ) - amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz ) - " -RESTRICT="mirror strip bindist" - -LICENSE="EULA MIT" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="" - -DEPEND=" - >=media-libs/libpng-1.2.46 - >=x11-libs/gtk+-2.24.8-r1:2 - x11-libs/cairo - gnome-base/gconf - x11-libs/libXtst -" - -RDEPEND=" - ${DEPEND} - >=net-print/cups-2.0.0 - x11-libs/libnotify - x11-libs/libXScrnSaver - app-crypt/libsecret[crypt] -" - -QA_PRESTRIPPED="opt/${PN}/code" -QA_PREBUILT="opt/${PN}/code" - -pkg_setup(){ - use amd64 && S="${WORKDIR}/VSCode-linux-x64" || S="${WORKDIR}/VSCode-linux-ia32" -} - -src_install(){ - pax-mark m code - insinto "/opt/${PN}" - doins -r * - dosym "/opt/${PN}/bin/code" "/usr/bin/${PN}" - make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE" - doicon ${FILESDIR}/${PN}.png - fperms +x "/opt/${PN}/code" - fperms +x "/opt/${PN}/bin/code" - fperms +x "/opt/${PN}/libnode.so" - fperms +x "/opt/${PN}/resources/app/node_modules/vscode-ripgrep/bin/rg" - insinto "/usr/share/licenses/${PN}" - newins "resources/app/LICENSE.txt" "LICENSE" -} - -pkg_postinst(){ - elog "You may install some additional utils, so check them in:" - elog "https://code.visualstudio.com/Docs/setup#_additional-tools" -}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-editors/visual-studio-code/visual-studio-code-1.20.1.ebuild Wed Jun 20 07:29:16 2018 +0200 @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils pax-utils + +DESCRIPTION="Multiplatform Visual Studio Code from Microsoft" +HOMEPAGE="https://code.visualstudio.com" +BASE_URI="https://vscode-update.azurewebsites.net/${PV}" +SRC_URI=" + x86? ( ${BASE_URI}/linux-ia32/stable -> ${P}-x86.tar.gz ) + amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz ) + " +RESTRICT="mirror strip bindist" + +LICENSE="EULA MIT" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=" + >=media-libs/libpng-1.2.46 + >=x11-libs/gtk+-2.24.8-r1:2 + x11-libs/cairo + gnome-base/gconf + x11-libs/libXtst +" + +RDEPEND=" + ${DEPEND} + >=net-print/cups-2.0.0 + x11-libs/libnotify + x11-libs/libXScrnSaver + app-crypt/libsecret[crypt] +" + +QA_PRESTRIPPED="opt/${PN}/code" +QA_PREBUILT="opt/${PN}/code" + +pkg_setup(){ + use amd64 && S="${WORKDIR}/VSCode-linux-x64" || S="${WORKDIR}/VSCode-linux-ia32" +} + +src_install(){ + pax-mark m code + insinto "/opt/${PN}" + doins -r * + dosym "/opt/${PN}/bin/code" "/usr/bin/${PN}" + make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE" + doicon ${FILESDIR}/${PN}.png + fperms +x "/opt/${PN}/code" + fperms +x "/opt/${PN}/bin/code" + fperms +x "/opt/${PN}/libnode.so" + fperms +x "/opt/${PN}/resources/app/node_modules/vscode-ripgrep/bin/rg" + insinto "/usr/share/licenses/${PN}" + newins "resources/app/LICENSE.txt" "LICENSE" +} + +pkg_postinst(){ + elog "You may install some additional utils, so check them in:" + elog "https://code.visualstudio.com/Docs/setup#_additional-tools" +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-editors/visual-studio-code/visual-studio-code-1.21.1.ebuild Wed Jun 20 07:29:16 2018 +0200 @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils pax-utils + +DESCRIPTION="Multiplatform Visual Studio Code from Microsoft" +HOMEPAGE="https://code.visualstudio.com" +BASE_URI="https://vscode-update.azurewebsites.net/${PV}" +SRC_URI=" + x86? ( ${BASE_URI}/linux-ia32/stable -> ${P}-x86.tar.gz ) + amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz ) + " +RESTRICT="mirror strip bindist" + +LICENSE="EULA MIT" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=" + >=media-libs/libpng-1.2.46 + >=x11-libs/gtk+-2.24.8-r1:2 + x11-libs/cairo + gnome-base/gconf + x11-libs/libXtst +" + +RDEPEND=" + ${DEPEND} + >=net-print/cups-2.0.0 + x11-libs/libnotify + x11-libs/libXScrnSaver + app-crypt/libsecret[crypt] +" + +QA_PRESTRIPPED="opt/${PN}/code" +QA_PREBUILT="opt/${PN}/code" + +pkg_setup(){ + use amd64 && S="${WORKDIR}/VSCode-linux-x64" || S="${WORKDIR}/VSCode-linux-ia32" +} + +src_install(){ + pax-mark m code + insinto "/opt/${PN}" + doins -r * + dosym "/opt/${PN}/bin/code" "/usr/bin/${PN}" + make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE" + doicon ${FILESDIR}/${PN}.png + fperms +x "/opt/${PN}/code" + fperms +x "/opt/${PN}/bin/code" + fperms +x "/opt/${PN}/libnode.so" + #fperms +x "/opt/${PN}/resources/app/node_modules/vscode-ripgrep/bin/rg" + insinto "/usr/share/licenses/${PN}" + newins "resources/app/LICENSE.txt" "LICENSE" +} + +pkg_postinst(){ + elog "You may install some additional utils, so check them in:" + elog "https://code.visualstudio.com/Docs/setup#_additional-tools" +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-wireless/blueman/Manifest Wed Jun 20 07:29:16 2018 +0200 @@ -0,0 +1,3 @@ +AUX blueman-2.0-set-codeset-for-gettext-to-UTF-8-always.patch 8045 BLAKE2B 06877bed35a6917b2a2c79f360e9e45db815a01a0fc544582bd06307aa9a573f2437743000916cde864f846840649e6a91ff0a8b26ad97113801aeed16c5fbab SHA512 b06158f9a0958b22575600de700976f6e6bd68d703a8cfaa062a4be0f4c4a76dc1d2a5257f5ebc431b17e1b5bcdc0220260023558d4c850d2a45746887e3f651 +DIST blueman-2.0.4.tar.xz 1951988 BLAKE2B f359a24447a8d9f446e7e28b16f34756a43ee6dd9e714267611355421ef511ea96c75d1739b6d0308fb24dd95979a99feb571fa194cae1cd7a382d57c30df2e4 SHA512 98dbe0ac706cf8d33ada6e520c0952fbb930aaa4ec62e35e989f60880287634c2ee947a47b4883063a0aabf27069210774432416278b190b1ca5e1c93d42f614 +EBUILD blueman-2.0.4.ebuild 2662 BLAKE2B c23bbad69c1e88f20c091f737f00805f0f5fe52a79bd4096b10c0042e506ca2387851b1371ca66ba7de6525281939bfc4ee8ed22488baeb06568c478de473cde SHA512 ca883b27311ad51dc851a9379827f7ef074793f8801cbc1fde5e9c606f1049425a5e58366a7a1746451b194bb9c8ce670f6862d32047847e9b48c81b460606ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-wireless/blueman/blueman-2.0.4.ebuild Wed Jun 20 07:29:16 2018 +0200 @@ -0,0 +1,116 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +inherit gnome2-utils linux-info python-single-r1 + +DESCRIPTION="Simple and intuitive GTK+ Bluetooth Manager" +HOMEPAGE="https://github.com/blueman-project/blueman" + +if [[ ${PV} == "9999" ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="https://github.com/blueman-project/blueman.git" + KEYWORDS="" +else + SRC_URI="https://github.com/blueman-project/${PN}/releases/download/${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="appindicator network nls policykit pulseaudio thunar" + +COMMON_DEPEND=" + dev-python/pygobject:3 + >=net-wireless/bluez-4.61:= + ${PYTHON_DEPS}" +DEPEND="${COMMON_DEPEND} + dev-python/cython[${PYTHON_USEDEP}] + virtual/pkgconfig + nls? ( dev-util/intltool sys-devel/gettext )" +RDEPEND="${COMMON_DEPEND} + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + sys-apps/dbus + x11-libs/gtk+:3[introspection] + x11-libs/libnotify[introspection] + || ( + x11-themes/faenza-icon-theme + x11-themes/gnome-icon-theme + x11-themes/mate-icon-theme + ) + appindicator? ( dev-libs/libappindicator:3[introspection] ) + network? ( + net-dns/avahi[autoipd] + net-firewall/iptables + sys-apps/net-tools + || ( + net-dns/dnsmasq + net-misc/dhcp + >=net-misc/networkmanager-0.8 + ) + ) + policykit? ( sys-auth/polkit ) + pulseaudio? ( media-sound/pulseaudio[bluetooth] ) + thunar? ( xfce-base/thunar ) +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +pkg_pretend() { + if use network; then + local CONFIG_CHECK="~BRIDGE ~IP_NF_IPTABLES + ~IP_NF_NAT ~IP_NF_TARGET_MASQUERADE" + linux-info_pkg_setup + fi +} + +pkg_setup() { + pkg_pretend + python-single-r1_pkg_setup +} + +src_prepare() { + local PATCHES=( + "${FILESDIR}/${PN}-2.0-set-codeset-for-gettext-to-UTF-8-always.patch" + ) + default + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + econf \ + --docdir=/usr/share/doc/${PF} \ + --disable-runtime-deps-check \ + --disable-static \ + $(use_enable policykit polkit) \ + $(use_enable nls) \ + $(use_enable thunar thunar-sendto) +} + +src_install() { + default + + python_fix_shebang "${D}" + rm "${D}"/$(python_get_sitedir)/*.la || die + + use appindicator || { rm "${D}"/$(python_get_sitedir)/${PN}/plugins/applet/AppIndicator.py* || die; } + use pulseaudio || { rm "${D}"/$(python_get_sitedir)/${PN}/{main/Pulse*.py*,plugins/manager/Pulse*.py*} || die; } +} + +pkg_preinst() { + gnome2_icon_savelist + gnome2_schemas_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + gnome2_schemas_update +} + +pkg_postrm() { + gnome2_icon_cache_update + gnome2_schemas_update +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-wireless/blueman/files/blueman-2.0-set-codeset-for-gettext-to-UTF-8-always.patch Wed Jun 20 07:29:16 2018 +0200 @@ -0,0 +1,219 @@ +From aebfe594584e7c5cca30062d643618fc2ab8144b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Sun, 1 Mar 2015 23:08:02 +0100 +Subject: [PATCH] set codeset for gettext to utf-8 + +--- + apps/blueman-adapters | 2 ++ + apps/blueman-assistant | 2 ++ + apps/blueman-manager | 2 ++ + apps/blueman-sendto | 2 ++ + apps/blueman-services | 2 ++ + blueman/gui/GsmSettings.py | 2 ++ + blueman/gui/applet/PluginDialog.py | 4 +++- + blueman/plugins/applet/NetUsage.py | 3 ++- + blueman/plugins/services/Network.py | 3 ++- + blueman/plugins/services/Transfer.py | 2 ++ + 11 files changed, 29 insertions(+), 6 deletions(-) + +diff --git a/apps/blueman-adapters b/apps/blueman-adapters +index a961480..3759ba8 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__), '..')) +@@ -36,6 +37,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 7d96ec7..c322256 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__), '..')) +@@ -62,6 +63,7 @@ class Assistant: + + 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 666f16c..af23015 100755 +--- a/apps/blueman-manager ++++ b/apps/blueman-manager +@@ -8,6 +8,7 @@ from dbus.mainloop.glib import DBusGMainLoop + 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 +@@ -46,6 +47,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 06ad626..a7099ab 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 +@@ -48,6 +49,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 fb1428d..e3e708b 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 b12f77f..cc80492 100644 +--- a/blueman/gui/GsmSettings.py ++++ b/blueman/gui/GsmSettings.py +@@ -3,6 +3,7 @@ from blueman.Functions import * + from blueman.Constants import * + + from gi.repository import Gtk ++from locale import bind_textdomain_codeset + + + class GsmSettings(Gtk.Dialog): +@@ -13,6 +14,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 71dd742..3a1f932 100644 +--- a/blueman/gui/applet/PluginDialog.py ++++ b/blueman/gui/applet/PluginDialog.py +@@ -1,4 +1,5 @@ + from gi.repository import Gtk ++from locale import bind_textdomain_codeset + from blueman.Constants import * + from blueman.Functions import * + +@@ -97,7 +98,8 @@ class PluginDialog(Gtk.Dialog): + + self.Builder = Gtk.Builder() + self.Builder.set_translation_domain("blueman") +- self.Builder.add_from_file(UI_PATH + "/applet-plugins-widget.ui") ++ bind_textdomain_codeset("blueman", "UTF-8") ++ self.Builder.add_from_file(UI_PATH + "/applet-plugins-widget.ui") + + self.set_title(_("Plugins")) + self.props.icon_name = "blueman" +diff --git a/blueman/plugins/applet/NetUsage.py b/blueman/plugins/applet/NetUsage.py +index f6acb1f..5545112 100644 +--- a/blueman/plugins/applet/NetUsage.py ++++ b/blueman/plugins/applet/NetUsage.py +@@ -17,7 +17,7 @@ import dbus + import time + import datetime + import gettext +- ++from locale import bind_textdomain_codeset + + class MonitorBase(GObject.GObject): + __gsignals__ = { +@@ -134,6 +134,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/Network.py b/blueman/plugins/services/Network.py +index 278121e..e688e68 100644 +--- a/blueman/plugins/services/Network.py ++++ b/blueman/plugins/services/Network.py +@@ -1,4 +1,5 @@ + 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 +@@ -19,7 +19,8 @@ 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") + + self.ignored_keys = [] +diff --git a/blueman/plugins/services/Transfer.py b/blueman/plugins/services/Transfer.py +index d14d0eb..c3e71ad 100644 +--- a/blueman/plugins/services/Transfer.py ++++ b/blueman/plugins/services/Transfer.py +@@ -1,4 +1,5 @@ + from gi.repository import Gtk ++from locale import bind_textdomain_codeset + from blueman.Constants import * + from blueman.plugins.ServicePlugin import ServicePlugin + +@@ -14,6 +15,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") + +-- +2.3.1 +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sys-auth/otpw/Manifest Wed Jun 20 07:29:16 2018 +0200 @@ -0,0 +1,2 @@ +DIST otpw-1.5.tar.gz 45725 BLAKE2B 9066c80909134d92ed6a067c8eb99897c63b288aaf50f6db0a86a6c59fd31c3cd13c78643ebfca724ac1a07a3b22caa43d84c057872d76df61502b59a68bd886 SHA512 bf547359ef28acac8e41eb4a83f1a4e28d6855bfb62cff75ff90169df71144e41f7ac3846bdfae8db6eec2ab1bf51c0c4e9b8016cbc3f99fc76697c59119c504 +EBUILD otpw-1.5.ebuild 1270 BLAKE2B 8949a31ecf45c2a93b491d15dea878f4b56fca4e89e0d57adf3c9959b5de1db84a0f9ce16b66ff8e6c054a66a91e917bba731420a3b649e174bb0238f37181b2 SHA512 406e87f84c1b677d2e13143da0a0a004505443c4f69f2904591c2b8819b9f744efc00cd63dbbde2c744e2a92de2494ca3858ff3f0943a85f2461f37f14bf77c7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sys-auth/otpw/otpw-1.5.ebuild Wed Jun 20 07:29:16 2018 +0200 @@ -0,0 +1,45 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils pam + +DESCRIPTION="Generator and PAM module for one-time password lists with a user-defined static password prefix." +HOMEPAGE="http://www.cl.cam.ac.uk/~mgk25/otpw.html" +SRC_URI="http://www.cl.cam.ac.uk/~mgk25/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="pam" + +RDEPEND="pam? ( sys-libs/pam )" + +DEPEND="${RDEPEND}" + +pkg_setup() { + if [ ! -c /dev/urandom ]; then + die "/dev/urandom is missing or faulty, fix this and try again!" + fi +} + +src_compile() { + sed -i "s/CC\s*=.*/CC = $(tc-getCC)/" "${S}"/Makefile + #sed -i "s/CFLAGS\s*=.*/CFLAGS = -fPIC ${CFLAGS} \$(DFLAGS)/" "${S}"/Makefile # TODO: -fPIC should become obsolete in the next version + emake otpw-gen || die "emake otpw-gen failed" + emake demologin || die "emake demologin failed" + if use pam; then + emake pam_otpw.so || die "emake pam_otpw.so failed" + fi +} + +src_install() { + mv "${S}"/demologin "${S}"/otpw-demologin + dobin otpw-gen || "installing otpw-gen failed" + dobin otpw-demologin || "installing otpw-demologin failed" + if use pam; then + dopammod pam_otpw.so || "installing pam_otpw.so failed" + fi + doman otpw-gen.1 + doman pam_otpw.8 +}