public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/chrome-remote-desktop/
Date: Sat, 12 Mar 2022 03:23:26 +0000 (UTC)	[thread overview]
Message-ID: <1647055389.d78b190dd5af7bf086c020713e17024a81c6caba.vapier@gentoo> (raw)

commit:     d78b190dd5af7bf086c020713e17024a81c6caba
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 12 03:20:55 2022 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sat Mar 12 03:23:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d78b190d

net-misc/chrome-remote-desktop: version bump to 99.0.4844.11 #834961

Closes: https://bugs.gentoo.org/834961
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>

 net-misc/chrome-remote-desktop/Manifest            |   1 +
 .../chrome-remote-desktop-99.0.4844.11.ebuild      | 144 +++++++++++++++++++++
 2 files changed, 145 insertions(+)

diff --git a/net-misc/chrome-remote-desktop/Manifest b/net-misc/chrome-remote-desktop/Manifest
index 2621d83dcfd5..1afddd1eabab 100644
--- a/net-misc/chrome-remote-desktop/Manifest
+++ b/net-misc/chrome-remote-desktop/Manifest
@@ -1 +1,2 @@
 DIST chrome-remote-desktop_96.0.4664.9_amd64.deb 62383372 BLAKE2B b7ac12e2f1c16781225b9c74e558e51d817aad5de2d953d94a06d5d3fa0d937dd317f7157c770e01a91c249f0192542da67911899014360c6fadd252bf0908ae SHA512 86d4ac9b15da2b29f7245866dbc78a131c6aad8efb8ac4f150935afdd5ad95e8f2bc4a59cda52849c96aadaa869b05f9eb7a5cdfda711358e5055e08cf9fbd79
+DIST chrome-remote-desktop_99.0.4844.11_amd64.deb 16817980 BLAKE2B 4784fb597722ee8abe3d073c7c2a0c1d1e9796e5c6df9935a2b5d2c4d6ee3629738c0bbfd6528a45b85b95ee192b5760b5137b7d89bd543d5c43d56fd9a030bb SHA512 71c621d1484f80b07b04637b1472baa1072b726109f9786ceabb1393bc1ebd3fe90c546d695871924a3a243840c87e35de78ff07598fbe6f3fe9fcb22b335b65

diff --git a/net-misc/chrome-remote-desktop/chrome-remote-desktop-99.0.4844.11.ebuild b/net-misc/chrome-remote-desktop/chrome-remote-desktop-99.0.4844.11.ebuild
new file mode 100644
index 000000000000..489accba4990
--- /dev/null
+++ b/net-misc/chrome-remote-desktop/chrome-remote-desktop-99.0.4844.11.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2022 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_{8,9,10} )
+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/libxkbcommon
+	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
+}


             reply	other threads:[~2022-03-12  3:23 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-12  3:23 Mike Frysinger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-30 21:13 [gentoo-commits] repo/gentoo:master commit in: net-misc/chrome-remote-desktop/ Pacho Ramos
2023-10-16  9:13 Mike Frysinger
2023-10-16  8:57 Mike Frysinger
2023-01-25  7:21 Sam James
2023-01-22  0:06 Mike Frysinger
2023-01-12  2:45 Matt Turner
2022-11-30 15:50 Matt Turner
2022-06-22 14:30 Mike Frysinger
2022-06-22 14:30 Mike Frysinger
2021-11-06 16:17 Mike Frysinger
2021-09-27  7:27 Mike Frysinger
2021-09-27  5:01 Mike Frysinger
2021-09-04 23:53 Mike Frysinger
2021-07-04 14:03 Ulrich Müller
2021-01-11 12:08 Mike Frysinger
2021-01-07  1:54 Mike Frysinger
2021-01-07  1:54 Mike Frysinger
2020-02-01  7:52 Joonas Niilola
2020-02-01  4:17 Mike Frysinger
2019-09-20  7:59 Michał Górny
2019-09-14  7:11 Mike Frysinger
2019-09-14  7:11 Mike Frysinger
2019-09-14  7:11 Mike Frysinger
2018-06-03 17:00 Mike Frysinger
2018-04-02 10:45 Pacho Ramos
2018-04-02 10:40 Pacho Ramos
2018-04-02 10:40 Pacho Ramos
2018-01-05 16:15 Mike Frysinger
2018-01-02 11:08 Mike Frysinger
2018-01-02 11:08 Mike Frysinger
2017-05-25  3:28 Mike Frysinger
2017-04-23 21:01 David Seifert
2017-02-10  5:54 Mike Frysinger
2017-02-10  5:54 Mike Frysinger
2016-12-21  7:16 Mike Frysinger
2016-12-21  7:16 Mike Frysinger
2016-12-21  7:16 Mike Frysinger
2016-08-04 19:45 Mike Frysinger
2016-08-04 19:45 Mike Frysinger
2016-08-04 19:45 Mike Frysinger
2016-04-19  7:22 Mike Frysinger
2016-03-22 19:21 Mike Frysinger
2016-02-21 20:54 Mike Frysinger
2016-02-21 20:54 Mike Frysinger
2016-01-11 18:03 Mike Frysinger
2016-01-11 18:03 Mike Frysinger
2015-09-26  8:07 Mike Frysinger
2015-09-06  7:37 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1647055389.d78b190dd5af7bf086c020713e17024a81c6caba.vapier@gentoo \
    --to=vapier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox