From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7C1AA13908F for ; Sun, 29 Jan 2017 22:55:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 99939145FF; Sun, 29 Jan 2017 22:55:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7D975145FF for ; Sun, 29 Jan 2017 22:55:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 90C3F3413C3 for ; Sun, 29 Jan 2017 22:55:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 584DD3A46 for ; Sun, 29 Jan 2017 22:55:30 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1485730395.ddccc15937e405717069c393f66aaea53fabb955.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mpv/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/mpv/mpv-9999.ebuild X-VCS-Directories: media-video/mpv/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: ddccc15937e405717069c393f66aaea53fabb955 X-VCS-Branch: master Date: Sun, 29 Jan 2017 22:55:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3a121c69-59ab-4be4-97a9-f510e6d6bf5d X-Archives-Hash: 2098fcae70d02e10e6c552be4d3a52d9 commit: ddccc15937e405717069c393f66aaea53fabb955 Author: Ilya Tumaykin gmail com> AuthorDate: Sat Jan 28 15:45:41 2017 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Jan 29 22:53:15 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddccc159 media-video/mpv: notify users about new OSC layout since 0.21.0 in 9999 Nobody complained about new OSC layout since 0.21.0 (October 2016). Thus don't bother ~arch users with it, but be nice to stable users. Update softvol message to point to Gentoo wiki instead of bugzilla. Gentoo mpv wiki page suffered a complete rewrite and became useful. Version constraint at this point can be relaxed to just 0.18.1. Package-Manager: Portage-2.3.3, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/3718 media-video/mpv/mpv-9999.ebuild | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index 3158f6f..145cb5b 100644 --- a/media-video/mpv/mpv-9999.ebuild +++ b/media-video/mpv/mpv-9999.ebuild @@ -298,23 +298,30 @@ pkg_preinst() { } pkg_postinst() { - local rv softvol_0_18_1=0 + local rv softvol_0_18_1=0 osc_0_21_0=0 + for rv in ${REPLACING_VERSIONS}; do - version_compare ${rv} 0.18.1-r1 + version_compare ${rv} 0.18.1 [[ $? -eq 1 ]] && softvol_0_18_1=1 + version_compare ${rv} 0.21.0 + [[ $? -eq 1 ]] && osc_0_21_0=1 done if [[ ${softvol_0_18_1} -eq 1 ]]; then - elog "Starting from version 0.18.1 the software volume control is" - elog "enabled by default, see:" - elog "https://github.com/mpv-player/mpv/blob/v0.18.1/DOCS/interface-changes.rst" - elog "https://github.com/mpv-player/mpv/issues/3322" - elog + elog "Since version 0.18.1 the software volume control is always enabled." elog "This means that volume controls don't change the system volume," elog "e.g. per-application volume with PulseAudio." - elog "If you want to restore the old behaviour, please refer to" + elog "If you want to restore the previous behaviour, please refer to" + elog + elog "https://wiki.gentoo.org/wiki/Mpv#Volume_in_0.18.1" + elog + fi + + if [[ ${osc_0_21_0} -eq 1 ]]; then + elog "In version 0.21.0 the default OSC layout was changed." + elog "If you want to restore the previous layout, please refer to" elog - elog "https://bugs.gentoo.org/show_bug.cgi?id=588492#c7" + elog "https://wiki.gentoo.org/wiki/Mpv#OSC_in_0.21.0" elog fi