From 076a702b01dc15c8fb37a70fbb55e7f5a79bbce6 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Mon, 29 Jun 2026 19:27:08 +0200 Subject: [PATCH] Drop old chrome-remote-desktop versions --- .../chrome-remote-desktop-110.0.5481.14 | 15 -- .../chrome-remote-desktop-118.0.5993.9 | 15 -- ...58 => chrome-remote-desktop-150.0.7871.19} | 2 +- net-misc/chrome-remote-desktop/Manifest | 4 - ...chrome-remote-desktop-110.0.5481.14.ebuild | 144 ----------------- ...chrome-remote-desktop-148.0.7778.58.ebuild | 151 ------------------ 6 files changed, 1 insertion(+), 330 deletions(-) delete mode 100644 metadata/md5-cache/net-misc/chrome-remote-desktop-110.0.5481.14 delete mode 100644 metadata/md5-cache/net-misc/chrome-remote-desktop-118.0.5993.9 rename metadata/md5-cache/net-misc/{chrome-remote-desktop-148.0.7778.58 => chrome-remote-desktop-150.0.7871.19} (98%) delete mode 100644 net-misc/chrome-remote-desktop/chrome-remote-desktop-110.0.5481.14.ebuild delete mode 100644 net-misc/chrome-remote-desktop/chrome-remote-desktop-148.0.7778.58.ebuild diff --git a/metadata/md5-cache/net-misc/chrome-remote-desktop-110.0.5481.14 b/metadata/md5-cache/net-misc/chrome-remote-desktop-110.0.5481.14 deleted file mode 100644 index 94174884..00000000 --- a/metadata/md5-cache/net-misc/chrome-remote-desktop-110.0.5481.14 +++ /dev/null @@ -1,15 +0,0 @@ -DEFINED_PHASES=install postinst prepare setup unpack -DESCRIPTION=access remote computers via Chrome! -EAPI=8 -HOMEPAGE=https://support.google.com/chrome/answer/1649523 https://chrome.google.com/remotedesktop -INHERIT=unpacker python-single-r1 optfeature plocale -IUSE=python_single_target_python3_12 python_single_target_python3_13 python_single_target_python3_14 -KEYWORDS=-* ~amd64 -LICENSE=google-chrome -RDEPEND=app-admin/sudo python_single_target_python3_12? ( dev-lang/python:3.12 ) python_single_target_python3_13? ( dev-lang/python:3.13 ) python_single_target_python3_14? ( dev-lang/python:3.14 ) >=dev-libs/expat-2 dev-libs/glib:2 dev-libs/nspr dev-libs/nss python_single_target_python3_12? ( dev-python/psutil[python_targets_python3_12(-)] ) python_single_target_python3_13? ( dev-python/psutil[python_targets_python3_13(-)] ) python_single_target_python3_14? ( dev-python/psutil[python_targets_python3_14(-)] ) media-libs/fontconfig media-libs/freetype:2 sys-apps/dbus sys-devel/gcc sys-libs/glibc sys-libs/libutempter 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 x11-base/xorg-server[xvfb] -REQUIRED_USE=^^ ( python_single_target_python3_12 python_single_target_python3_13 python_single_target_python3_14 ) -RESTRICT=bindist mirror -SLOT=0 -SRC_URI=amd64? ( https://dl.google.com/linux/chrome-remote-desktop/deb/pool/main/c/chrome-remote-desktop/chrome-remote-desktop_110.0.5481.14_amd64.deb ) -_eclasses_=eapi9-pipestatus d2c134036ac31c3085aebc9147f572bd multiprocessing 45d0620f25c2f063ad6276ecd9ed9399 optfeature 538bce96e5589935b57e178e8635f301 plocale 980baab6fd56db6149d0a9396e0b21c9 python-single-r1 47d8ac9be330c9366112b78fd4f8ce57 python-utils-r1 18a01bee4e486884d7457cfacde74099 toolchain-funcs 58a918e3a42d0156f010dcfd43725be5 unpacker a89c769f7dcf68bd2a6d23da9ede2ad2 -_md5_=aed29ee10cc30e6e8220b35be0bb62bc diff --git a/metadata/md5-cache/net-misc/chrome-remote-desktop-118.0.5993.9 b/metadata/md5-cache/net-misc/chrome-remote-desktop-118.0.5993.9 deleted file mode 100644 index 1f3e3142..00000000 --- a/metadata/md5-cache/net-misc/chrome-remote-desktop-118.0.5993.9 +++ /dev/null @@ -1,15 +0,0 @@ -DEFINED_PHASES=install postinst prepare setup unpack -DESCRIPTION=access remote computers via Chrome! -EAPI=8 -HOMEPAGE=https://support.google.com/chrome/answer/1649523 https://chrome.google.com/remotedesktop -INHERIT=unpacker python-single-r1 optfeature plocale -IUSE=python_single_target_python3_12 python_single_target_python3_13 python_single_target_python3_14 -KEYWORDS=-* ~amd64 -LICENSE=google-chrome -RDEPEND=app-admin/sudo python_single_target_python3_12? ( dev-lang/python:3.12 ) python_single_target_python3_13? ( dev-lang/python:3.13 ) python_single_target_python3_14? ( dev-lang/python:3.14 ) >=dev-libs/expat-2 dev-libs/glib:2 dev-libs/nspr dev-libs/nss python_single_target_python3_12? ( dev-python/psutil[python_targets_python3_12(-)] dev-python/pyxdg[python_targets_python3_12(-)] ) python_single_target_python3_13? ( dev-python/psutil[python_targets_python3_13(-)] dev-python/pyxdg[python_targets_python3_13(-)] ) python_single_target_python3_14? ( dev-python/psutil[python_targets_python3_14(-)] dev-python/pyxdg[python_targets_python3_14(-)] ) media-libs/fontconfig media-libs/freetype:2 sys-apps/dbus sys-devel/gcc sys-libs/glibc sys-libs/libutempter 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 x11-base/xorg-server[xvfb] -REQUIRED_USE=^^ ( python_single_target_python3_12 python_single_target_python3_13 python_single_target_python3_14 ) -RESTRICT=bindist mirror -SLOT=0 -SRC_URI=amd64? ( https://dl.google.com/linux/chrome-remote-desktop/deb/pool/main/c/chrome-remote-desktop/chrome-remote-desktop_118.0.5993.9_amd64.deb ) -_eclasses_=eapi9-pipestatus d2c134036ac31c3085aebc9147f572bd multiprocessing 45d0620f25c2f063ad6276ecd9ed9399 optfeature 538bce96e5589935b57e178e8635f301 plocale 980baab6fd56db6149d0a9396e0b21c9 python-single-r1 47d8ac9be330c9366112b78fd4f8ce57 python-utils-r1 18a01bee4e486884d7457cfacde74099 toolchain-funcs 58a918e3a42d0156f010dcfd43725be5 unpacker a89c769f7dcf68bd2a6d23da9ede2ad2 -_md5_=be14d742b55b031196edf6dcd7f78bb2 diff --git a/metadata/md5-cache/net-misc/chrome-remote-desktop-148.0.7778.58 b/metadata/md5-cache/net-misc/chrome-remote-desktop-150.0.7871.19 similarity index 98% rename from metadata/md5-cache/net-misc/chrome-remote-desktop-148.0.7778.58 rename to metadata/md5-cache/net-misc/chrome-remote-desktop-150.0.7871.19 index 45a823ce..a3211026 100644 --- a/metadata/md5-cache/net-misc/chrome-remote-desktop-148.0.7778.58 +++ b/metadata/md5-cache/net-misc/chrome-remote-desktop-150.0.7871.19 @@ -10,6 +10,6 @@ RDEPEND=app-admin/sudo python_single_target_python3_12? ( dev-lang/python:3.12 ) REQUIRED_USE=^^ ( python_single_target_python3_12 python_single_target_python3_13 python_single_target_python3_14 ) RESTRICT=bindist mirror SLOT=0 -SRC_URI=amd64? ( https://dl.google.com/linux/chrome-remote-desktop/deb/pool/main/c/chrome-remote-desktop/chrome-remote-desktop_148.0.7778.58_amd64.deb ) +SRC_URI=amd64? ( https://dl.google.com/linux/chrome-remote-desktop/deb/pool/main/c/chrome-remote-desktop/chrome-remote-desktop_150.0.7871.19_amd64.deb ) _eclasses_=eapi9-pipestatus d2c134036ac31c3085aebc9147f572bd multiprocessing 45d0620f25c2f063ad6276ecd9ed9399 optfeature 538bce96e5589935b57e178e8635f301 plocale 980baab6fd56db6149d0a9396e0b21c9 python-single-r1 47d8ac9be330c9366112b78fd4f8ce57 python-utils-r1 18a01bee4e486884d7457cfacde74099 toolchain-funcs 58a918e3a42d0156f010dcfd43725be5 unpacker a89c769f7dcf68bd2a6d23da9ede2ad2 _md5_=3a4dbd10faa6c5f9af671358d419fc95 diff --git a/net-misc/chrome-remote-desktop/Manifest b/net-misc/chrome-remote-desktop/Manifest index af4fb4d6..8da455e0 100644 --- a/net-misc/chrome-remote-desktop/Manifest +++ b/net-misc/chrome-remote-desktop/Manifest @@ -1,10 +1,6 @@ AUX chrome-remote-desktop-91.0.4472.10-always-sudo.patch 593 BLAKE2B 4cba2a4869437d2d392274c0f0586153406480eb1614297420e161285d981eedf03a4e090a309dfe55163e13387bf4c649586847ccee64dd2e88f9c7263b6b66 SHA512 f4aa5a2473c1872d06fea2611594f63c888717cd93618587b020dcb6aaeb7889443358dbc74da5c7763fb6ef08a6ecf9345d94874c582c799abbf8db8957c790 AUX chrome-remote-desktop.conf.d 283 BLAKE2B a0146298fa2e18e16911587de10aa3dd229cfb26a2d1865637cc4c69c317f4cb303b98daa7f91b6e69cc34c6fbbab3d19332396d4f5c11eeef4958401e26ff14 SHA512 5391c4a2d5787047f773abbf1c5a9dd3842160d768122edc32f0a0275e198882a41a3ca88526d52347f89d1fb4e1a51b6dc785c4dd4a0c0b5935e1e6eff30f49 AUX chrome-remote-desktop.rc 1183 BLAKE2B d1d56ac91a2ced2c6f13019f9d5c7f1d554c2fbd3f57842d6d0b791f2e90233e4d6e8a49155b634a5e20c0bad212a5bc5f63924b1a83d45db01b1fd69445fa07 SHA512 831391b6fcaeeda476a3064d6fff1fdcebb8037aba124814a81ad4a1336a68973f319a003d1ed0938eea68f5ddad179fe29fb12efa05fd204f7fa9c5fb8dd735 -DIST chrome-remote-desktop_110.0.5481.14_amd64.deb 17742536 BLAKE2B 3a010b73f786e013aa4bf358811ab306e87681860c1db12b5e915c80b653da0a7e190ff36c78c91fa7a68a8873c7f66a23bb6bdb98630fd881b30c33f12559f7 SHA512 66a374f04664c26e15c5c42b2dbd942dd9cdbc23127733f2f1c136deff868509db80c17028b5f9cae48a460b22443f39af337313dfd865705134737d72372600 -DIST chrome-remote-desktop_148.0.7778.58_amd64.deb 18851072 BLAKE2B 2b80d03c27da1262c98f38e2eb32a560f2a7c10a30df23135498beb5c7d57c2e32da530785c786216092ce0af4383b9ae880fc65c605237c2385216365837fe8 SHA512 b7f5784fa628beaab6d8b845cc56245cf321211047fafc8384274a8905cd256ca23384eaa80cc81f41dc77d1b98878b72a3384de73e12fff870d82ee2007d42f DIST chrome-remote-desktop_150.0.7871.19_amd64.deb 19079652 BLAKE2B e8fa79a6c55042eea37488dd4c10e2b65cc15dfd7b25bb205f6570b000b154d03d6386a0ecfd084bd8cca84ae6542f5bf96fefa1cafb5810c248ab8ce643963e SHA512 f385f933c5bf4a2a9a6bd0525573fc2d707aef5daeb00c8c0db4e653ec169ad9795cf072ac91c236d428b525b8c792898c562112803ca45c9ef968206c96e31e -EBUILD chrome-remote-desktop-110.0.5481.14.ebuild 4808 BLAKE2B c0bd0c923901afd50cd066d693be6cc196a5e8756f0f30e583884c49427571aa27ceaa23d3b2c3519730880d8064f25ceba89b3bd11e62421b8c057ac3ea3ee2 SHA512 21853c50bde5a76ed32e58627b7f68709da37de3708d6744e89fb2f37c07c4c6978cda0964fe58c1ecdbe6b8e4abe01d5d255308a2441f68a703312d49c005cf -EBUILD chrome-remote-desktop-148.0.7778.58.ebuild 6869 BLAKE2B 01f4651b592cee2dac26d14b76067b0e793b46452671ef719d1f62f891c40686c2f676c625100b33179561dab488f6ec94a6095d34603caadded88d45c545c18 SHA512 29d9c440249a9bcc77643f6c13599f9a10b0fdf1706732747b7931b8ff24b1fbb2edc2b48a6bb5da8fc94522b380255a2e0321574b410d8d3e5b630ceb31faa4 EBUILD chrome-remote-desktop-150.0.7871.19.ebuild 6869 BLAKE2B 01f4651b592cee2dac26d14b76067b0e793b46452671ef719d1f62f891c40686c2f676c625100b33179561dab488f6ec94a6095d34603caadded88d45c545c18 SHA512 29d9c440249a9bcc77643f6c13599f9a10b0fdf1706732747b7931b8ff24b1fbb2edc2b48a6bb5da8fc94522b380255a2e0321574b410d8d3e5b630ceb31faa4 MISC metadata.xml 248 BLAKE2B 2545c58c45b8fd57a236bab059e0bd3da47a3e0d3881d141a9b2dc2e275a2d8f0663d83366b45103b48fd257d62a4a2314a8dd6b79113f8b86c91a90524918c5 SHA512 1397e06cb2ad5941988872f37df6f54100aaa06bfc7ef30ba394f95191ddaa1e9f2180d8eb856eb10f9646d9cbc4a6f020805470633c492519e66e3de788439a diff --git a/net-misc/chrome-remote-desktop/chrome-remote-desktop-110.0.5481.14.ebuild b/net-misc/chrome-remote-desktop/chrome-remote-desktop-110.0.5481.14.ebuild deleted file mode 100644 index bfc7d822..00000000 --- a/net-misc/chrome-remote-desktop/chrome-remote-desktop-110.0.5481.14.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 1999-2023 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=8 - -PYTHON_COMPAT=( python3_{9..14} ) -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}]') - media-libs/fontconfig - media-libs/freetype:2 - sys-apps/dbus - sys-devel/gcc - sys-libs/glibc - sys-libs/libutempter - 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]" -BDEPEND="$(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-148.0.7778.58.ebuild b/net-misc/chrome-remote-desktop/chrome-remote-desktop-148.0.7778.58.ebuild deleted file mode 100644 index 79ca9f24..00000000 --- a/net-misc/chrome-remote-desktop/chrome-remote-desktop-148.0.7778.58.ebuild +++ /dev/null @@ -1,151 +0,0 @@ -# Copyright 1999-2024 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=8 - -PYTHON_COMPAT=( python3_{10..14} ) -PLOCALES="am am_FEMININE am_MASCULINE am_NEUTER ar ar_FEMININE ar_MASCULINE ar_NEUTER bg bg_FEMININE bg_MASCULINE bg_NEUTER bn bn_FEMININE bn_MASCULINE bn_NEUTER ca ca_FEMININE ca_MASCULINE ca_NEUTER cs cs_FEMININE cs_MASCULINE cs_NEUTER da da_FEMININE da_MASCULINE da_NEUTER de de_FEMININE de_MASCULINE de_NEUTER el el_FEMININE el_MASCULINE el_NEUTER en-GB en-GB_FEMININE en-GB_MASCULINE en-GB_NEUTER en en_FEMININE en_MASCULINE en_NEUTER es-419 es-419_FEMININE es-419_MASCULINE es-419_NEUTER es es_FEMININE es_MASCULINE es_NEUTER et et_FEMININE et_MASCULINE et_NEUTER fa fa_FEMININE fa_MASCULINE fa_NEUTER fi fi_FEMININE fi_MASCULINE fi_NEUTER fil fil_FEMININE fil_MASCULINE fil_NEUTER fr fr_FEMININE fr_MASCULINE fr_NEUTER gu gu_FEMININE gu_MASCULINE gu_NEUTER he he_FEMININE he_MASCULINE he_NEUTER hi hi_FEMININE hi_MASCULINE hi_NEUTER hr hr_FEMININE hr_MASCULINE hr_NEUTER hu hu_FEMININE hu_MASCULINE hu_NEUTER id id_FEMININE id_MASCULINE id_NEUTER it it_FEMININE it_MASCULINE it_NEUTER ja ja_FEMININE ja_MASCULINE ja_NEUTER kn kn_FEMININE kn_MASCULINE kn_NEUTER ko ko_FEMININE ko_MASCULINE ko_NEUTER lt lt_FEMININE lt_MASCULINE lt_NEUTER lv lv_FEMININE lv_MASCULINE lv_NEUTER ml ml_FEMININE ml_MASCULINE ml_NEUTER mr mr_FEMININE mr_MASCULINE mr_NEUTER ms ms_FEMININE ms_MASCULINE ms_NEUTER nb nb_FEMININE nb_MASCULINE nb_NEUTER nl nl_FEMININE nl_MASCULINE nl_NEUTER pl pl_FEMININE pl_MASCULINE pl_NEUTER pt-BR pt-BR_FEMININE pt-BR_MASCULINE pt-BR_NEUTER pt-PT pt-PT_FEMININE pt-PT_MASCULINE pt-PT_NEUTER ro ro_FEMININE ro_MASCULINE ro_NEUTER ru ru_FEMININE ru_MASCULINE ru_NEUTER sk sk_FEMININE sk_MASCULINE sk_NEUTER sl sl_FEMININE sl_MASCULINE sl_NEUTER sr sr_FEMININE sr_MASCULINE sr_NEUTER sv sv_FEMININE sv_MASCULINE sv_NEUTER sw sw_FEMININE sw_MASCULINE sw_NEUTER ta ta_FEMININE ta_MASCULINE ta_NEUTER te te_FEMININE te_MASCULINE te_NEUTER th th_FEMININE th_MASCULINE th_NEUTER tr tr_FEMININE tr_MASCULINE tr_NEUTER uk uk_FEMININE uk_MASCULINE uk_NEUTER vi vi_FEMININE vi_MASCULINE vi_NEUTER zh-CN zh-CN_FEMININE zh-CN_MASCULINE zh-CN_NEUTER zh-TW zh-TW_FEMININE zh-TW_MASCULINE zh-TW_NEUTER" - -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}] - dev-python/pyxdg[${PYTHON_USEDEP}] - ') - media-libs/fontconfig - media-libs/freetype:2 - sys-apps/dbus - sys-devel/gcc - sys-libs/glibc - sys-libs/libutempter - 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]" -BDEPEND="$(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 - plocale_find_changes "${PWD}" '' '.pak' -} - -src_install() { - pushd opt/google/chrome-remote-desktop/remoting_locales >/dev/null || die - rm_pak() { rm "${1}.pak" "${1}.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 - if [[ -e ${ED}/opt/google/${PN}/user-session ]] ; then - fperms +s /opt/google/${PN}/user-session - else - ewarn "${PN}/user-session is not present in this release; skipping setuid bit" - fi - - 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 -}