From 2e973701a4c63a0a4848e405c00222f269dca549 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 1 Sep 2021 22:57:16 -0400 Subject: net-misc/chrome-remote-desktop: version bump to 93.0.4577.16 #809176 Closes: https://bugs.gentoo.org/809176 Signed-off-by: Mike Frysinger --- net-misc/chrome-remote-desktop/Manifest | 2 +- .../chrome-remote-desktop-91.0.4472.10.ebuild | 143 --------------------- .../chrome-remote-desktop-93.0.4577.16.ebuild | 143 +++++++++++++++++++++ 3 files changed, 144 insertions(+), 144 deletions(-) delete mode 100644 net-misc/chrome-remote-desktop/chrome-remote-desktop-91.0.4472.10.ebuild create mode 100644 net-misc/chrome-remote-desktop/chrome-remote-desktop-93.0.4577.16.ebuild (limited to 'net-misc') diff --git a/net-misc/chrome-remote-desktop/Manifest b/net-misc/chrome-remote-desktop/Manifest index ed316569b7b5..c01c4d25ce85 100644 --- a/net-misc/chrome-remote-desktop/Manifest +++ b/net-misc/chrome-remote-desktop/Manifest @@ -1 +1 @@ -DIST chrome-remote-desktop_91.0.4472.10_amd64.deb 38240812 BLAKE2B 34a91fba76c70abe3ae3aa4704f977f2f4788c412962a77c9c3f4c54aec0452cffb9705f650ee0688a63482ad20ccce8dcd2348cb606db6c2dd143592e68e222 SHA512 882138361926cf0975739ff9cee4105a3b95336021a1c63461a42e1eb76f8ae94fef4a36589da5ccda0c16bf8e9655be2517035e925f1bad08609f8d1f404553 +DIST chrome-remote-desktop_93.0.4577.16_amd64.deb 34074424 BLAKE2B 327dddfa0542c111d0ea88568f6b48d0b19a60b945f92cb07280b4d6727176b7dc4a85fd4ed67048f04b49ae1e3358fb6c48c8c170bd7b957ccc8b6dbf96511f SHA512 c46dd3f512531d06b149624f5a8d8314228695584937ab3256c83fb18fcafaa50613336b5679b4e105f27ae84c3f576ed12aa918c57d8309b6f4e05a78b2e4ea diff --git a/net-misc/chrome-remote-desktop/chrome-remote-desktop-91.0.4472.10.ebuild b/net-misc/chrome-remote-desktop/chrome-remote-desktop-91.0.4472.10.ebuild deleted file mode 100644 index df0836d47b36..000000000000 --- a/net-misc/chrome-remote-desktop/chrome-remote-desktop-91.0.4472.10.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Base URL: https://dl.google.com/linux/chrome-remote-desktop/deb/ -# Fetch the Release file: -# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/Release -# Which gives you the Packages file: -# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-i386/Packages -# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-amd64/Packages -# And finally gives you the file name: -# pool/main/c/chrome-remote-desktop/chrome-remote-desktop_29.0.1547.32_amd64.deb -# -# Use curl to find the answer: -# curl -q https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-amd64/Packages | grep ^Filename - -EAPI="7" - -PYTHON_COMPAT=( python3_{7,8,9} ) -PLOCALES="am ar bg bn ca cs da de el en_GB en es_419 es et fa fil fi fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th tr uk vi zh_CN zh_TW" - -inherit unpacker python-single-r1 optfeature plocale - -DESCRIPTION="access remote computers via Chrome!" -PLUGIN_URL="https://chrome.google.com/remotedesktop" -HOMEPAGE="https://support.google.com/chrome/answer/1649523 - https://chrome.google.com/remotedesktop" -BASE_URI="https://dl.google.com/linux/chrome-remote-desktop/deb/pool/main/c/${PN}/${PN}_${PV}" -SRC_URI="amd64? ( ${BASE_URI}_amd64.deb )" - -LICENSE="google-chrome" -SLOT="0" -KEYWORDS="-* ~amd64" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RESTRICT="bindist mirror" - -# Packages we execute, but don't link. -RDEPEND="app-admin/sudo - ${PYTHON_DEPS}" -# All the libs this package links against. -RDEPEND+=" - >=dev-libs/expat-2 - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - $(python_gen_cond_dep 'dev-python/psutil[${PYTHON_USEDEP}]') - gnome-base/gconf:2 - media-libs/fontconfig - media-libs/freetype:2 - sys-apps/dbus - sys-devel/gcc - sys-libs/glibc - sys-libs/pam - x11-apps/xdpyinfo - x11-apps/setxkbmap - x11-libs/cairo - x11-libs/gtk+:3 - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libXtst - x11-libs/pango" -# Settings we just need at runtime. -# TODO: Look at switching to xf86-video-dummy & xf86-input-void instead of xvfb. -# - The env var (CHROME_REMOTE_DESKTOP_USE_XORG) seems to be stripped before being checked. -# - The Xorg invocation uses absolute paths with -logfile & -config which are rejected. -# - The config takes over the active display in addition to starting up a virtual one. -RDEPEND+=" - x11-base/xorg-server[xvfb]" -DEPEND="$(unpacker_src_uri_depends)" - -S=${WORKDIR} - -QA_PREBUILT="/opt/google/chrome-remote-desktop/*" - -PATCHES=( - "${FILESDIR}"/${PN}-91.0.4472.10-always-sudo.patch #541708 -) - -src_prepare() { - default - - gunzip usr/share/doc/${PN}/*.gz || die - - cd opt/google/chrome-remote-desktop - python_fix_shebang chrome-remote-desktop - - cd remoting_locales - # These isn't always included. - rm -f fake-bidi* || die - PLOCALES=${PLOCALES//_/-} plocale_find_changes "${PWD}" '' '.pak' -} - -src_install() { - pushd opt/google/chrome-remote-desktop/remoting_locales >/dev/null || die - rm_pak() { local l=${1//_/-}; rm "${l}.pak" "${l}.pak.info"; } - plocale_for_each_disabled_locale rm_pak - popd >/dev/null - - insinto /etc - doins -r etc/opt - dosym ../opt/chrome/native-messaging-hosts /etc/chromium/native-messaging-hosts #581754 - - insinto /opt - doins -r opt/google - chmod a+rx "${ED}"/opt/google/${PN}/* || die - fperms +s /opt/google/${PN}/user-session - - dodir /etc/pam.d - dosym system-remote-login /etc/pam.d/${PN} - - dodoc usr/share/doc/${PN}/changelog* - - newinitd "${FILESDIR}"/${PN}.rc ${PN} - newconfd "${FILESDIR}"/${PN}.conf.d ${PN} -} - -pkg_postinst() { - optfeature "Dynamic resolution changes" "x11-apps/xrandr" - - if [[ -z ${REPLACING_VERSIONS} ]] ; then - elog "Two ways to launch the server:" - elog "(1) access an existing desktop" - elog " (a) install the Chrome plugin on the server & client:" - elog " ${PLUGIN_URL}" - elog " (b) on the server, run the Chrome plugin & enable remote access" - elog " (c) on the client, connect to the server" - elog "(2) headless system" - elog " (a) install the Chrome plugin on the client:" - elog " ${PLUGIN_URL}" - elog " (b) run ${EPREFIX}/opt/google/chrome-remote-desktop/start-host --help to get the auth URL" - elog " (c) when it redirects you to a blank page, look at the URL for a code=XXX field" - elog " (d) run start-host again, and past the code when asked for an authorization code" - elog " (e) on the client, connect to the server" - elog - elog "Configuration settings you might want to be aware of:" - elog " ~/.${PN}-session - shell script to start your session" - elog " /etc/init.d/${PN} - script to auto-restart server" - fi -} diff --git a/net-misc/chrome-remote-desktop/chrome-remote-desktop-93.0.4577.16.ebuild b/net-misc/chrome-remote-desktop/chrome-remote-desktop-93.0.4577.16.ebuild new file mode 100644 index 000000000000..df0836d47b36 --- /dev/null +++ b/net-misc/chrome-remote-desktop/chrome-remote-desktop-93.0.4577.16.ebuild @@ -0,0 +1,143 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Base URL: https://dl.google.com/linux/chrome-remote-desktop/deb/ +# Fetch the Release file: +# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/Release +# Which gives you the Packages file: +# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-i386/Packages +# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-amd64/Packages +# And finally gives you the file name: +# pool/main/c/chrome-remote-desktop/chrome-remote-desktop_29.0.1547.32_amd64.deb +# +# Use curl to find the answer: +# curl -q https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-amd64/Packages | grep ^Filename + +EAPI="7" + +PYTHON_COMPAT=( python3_{7,8,9} ) +PLOCALES="am ar bg bn ca cs da de el en_GB en es_419 es et fa fil fi fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th tr uk vi zh_CN zh_TW" + +inherit unpacker python-single-r1 optfeature plocale + +DESCRIPTION="access remote computers via Chrome!" +PLUGIN_URL="https://chrome.google.com/remotedesktop" +HOMEPAGE="https://support.google.com/chrome/answer/1649523 + https://chrome.google.com/remotedesktop" +BASE_URI="https://dl.google.com/linux/chrome-remote-desktop/deb/pool/main/c/${PN}/${PN}_${PV}" +SRC_URI="amd64? ( ${BASE_URI}_amd64.deb )" + +LICENSE="google-chrome" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="bindist mirror" + +# Packages we execute, but don't link. +RDEPEND="app-admin/sudo + ${PYTHON_DEPS}" +# All the libs this package links against. +RDEPEND+=" + >=dev-libs/expat-2 + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + $(python_gen_cond_dep 'dev-python/psutil[${PYTHON_USEDEP}]') + gnome-base/gconf:2 + media-libs/fontconfig + media-libs/freetype:2 + sys-apps/dbus + sys-devel/gcc + sys-libs/glibc + sys-libs/pam + x11-apps/xdpyinfo + x11-apps/setxkbmap + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libXtst + x11-libs/pango" +# Settings we just need at runtime. +# TODO: Look at switching to xf86-video-dummy & xf86-input-void instead of xvfb. +# - The env var (CHROME_REMOTE_DESKTOP_USE_XORG) seems to be stripped before being checked. +# - The Xorg invocation uses absolute paths with -logfile & -config which are rejected. +# - The config takes over the active display in addition to starting up a virtual one. +RDEPEND+=" + x11-base/xorg-server[xvfb]" +DEPEND="$(unpacker_src_uri_depends)" + +S=${WORKDIR} + +QA_PREBUILT="/opt/google/chrome-remote-desktop/*" + +PATCHES=( + "${FILESDIR}"/${PN}-91.0.4472.10-always-sudo.patch #541708 +) + +src_prepare() { + default + + gunzip usr/share/doc/${PN}/*.gz || die + + cd opt/google/chrome-remote-desktop + python_fix_shebang chrome-remote-desktop + + cd remoting_locales + # These isn't always included. + rm -f fake-bidi* || die + PLOCALES=${PLOCALES//_/-} plocale_find_changes "${PWD}" '' '.pak' +} + +src_install() { + pushd opt/google/chrome-remote-desktop/remoting_locales >/dev/null || die + rm_pak() { local l=${1//_/-}; rm "${l}.pak" "${l}.pak.info"; } + plocale_for_each_disabled_locale rm_pak + popd >/dev/null + + insinto /etc + doins -r etc/opt + dosym ../opt/chrome/native-messaging-hosts /etc/chromium/native-messaging-hosts #581754 + + insinto /opt + doins -r opt/google + chmod a+rx "${ED}"/opt/google/${PN}/* || die + fperms +s /opt/google/${PN}/user-session + + dodir /etc/pam.d + dosym system-remote-login /etc/pam.d/${PN} + + dodoc usr/share/doc/${PN}/changelog* + + newinitd "${FILESDIR}"/${PN}.rc ${PN} + newconfd "${FILESDIR}"/${PN}.conf.d ${PN} +} + +pkg_postinst() { + optfeature "Dynamic resolution changes" "x11-apps/xrandr" + + if [[ -z ${REPLACING_VERSIONS} ]] ; then + elog "Two ways to launch the server:" + elog "(1) access an existing desktop" + elog " (a) install the Chrome plugin on the server & client:" + elog " ${PLUGIN_URL}" + elog " (b) on the server, run the Chrome plugin & enable remote access" + elog " (c) on the client, connect to the server" + elog "(2) headless system" + elog " (a) install the Chrome plugin on the client:" + elog " ${PLUGIN_URL}" + elog " (b) run ${EPREFIX}/opt/google/chrome-remote-desktop/start-host --help to get the auth URL" + elog " (c) when it redirects you to a blank page, look at the URL for a code=XXX field" + elog " (d) run start-host again, and past the code when asked for an authorization code" + elog " (e) on the client, connect to the server" + elog + elog "Configuration settings you might want to be aware of:" + elog " ~/.${PN}-session - shell script to start your session" + elog " /etc/init.d/${PN} - script to auto-restart server" + fi +} -- cgit v1.2.3-65-gdbad