Date: Monday, January 31, 2022 @ 22:54:33 Author: idevolder Revision: 1121510
archrelease: copy trunk to community-x86_64 Added: vivaldi/repos/community-x86_64/0001-add-support-for-user-flags.patch (from rev 1121509, vivaldi/trunk/0001-add-support-for-user-flags.patch) vivaldi/repos/community-x86_64/PKGBUILD (from rev 1121509, vivaldi/trunk/PKGBUILD) vivaldi/repos/community-x86_64/eula.txt (from rev 1121509, vivaldi/trunk/eula.txt) Deleted: vivaldi/repos/community-x86_64/0001-add-support-for-user-flags.patch vivaldi/repos/community-x86_64/PKGBUILD vivaldi/repos/community-x86_64/eula.txt ---------------------------------------+ 0001-add-support-for-user-flags.patch | 74 ++++++------ PKGBUILD | 112 +++++++++--------- eula.txt | 192 ++++++++++++++++---------------- 3 files changed, 189 insertions(+), 189 deletions(-) Deleted: 0001-add-support-for-user-flags.patch =================================================================== --- 0001-add-support-for-user-flags.patch 2022-01-31 22:54:25 UTC (rev 1121509) +++ 0001-add-support-for-user-flags.patch 2022-01-31 22:54:33 UTC (rev 1121510) @@ -1,37 +0,0 @@ -From 68c2dec905a7c88895c458dd40708ab9989385cf Mon Sep 17 00:00:00 2001 -From: BlackEagle <ike.devol...@gmail.com> -Date: Wed, 19 Jan 2022 20:57:58 +0100 -Subject: [PATCH] add support for user flags - -Signed-off-by: BlackEagle <ike.devol...@gmail.com> ---- - vivaldi-stable | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -diff --git a/vivaldi-stable b/vivaldi-stable -index 5b5f1bf..8e95859 100755 ---- a/vivaldi-stable -+++ b/vivaldi-stable -@@ -53,6 +53,13 @@ export CHROME_VERSION_EXTRA="stable" - # We don't want bug-buddy intercepting our crashes. http://crbug.com/24120 - export GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME - -+# Allow users to override command-line options -+XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-$HOME/.config} -+VIVALDI_USER_FLAGS="" -+if [[ -f "$XDG_CONFIG_HOME/vivaldi-$CHROME_VERSION_EXTRA.conf" ]]; then -+ VIVALDI_USER_FLAGS="$(cat "$XDG_CONFIG_HOME/vivaldi-$CHROME_VERSION_EXTRA.conf")" -+fi -+ - # Sanitize std{in,out,err} because they'll be shared with untrusted child - # processes (http://crbug.com/376567). - exec < /dev/null -@@ -60,4 +67,4 @@ exec > >(exec cat) - exec 2> >(exec cat >&2) - - # Note: exec -a below is a bashism. --exec -a "$0" "$HERE/vivaldi-bin" "$@" -+exec -a "$0" "$HERE/vivaldi-bin" $VIVALDI_USER_FLAGS "$@" --- -2.34.1 - Copied: vivaldi/repos/community-x86_64/0001-add-support-for-user-flags.patch (from rev 1121509, vivaldi/trunk/0001-add-support-for-user-flags.patch) =================================================================== --- 0001-add-support-for-user-flags.patch (rev 0) +++ 0001-add-support-for-user-flags.patch 2022-01-31 22:54:33 UTC (rev 1121510) @@ -0,0 +1,37 @@ +From 68c2dec905a7c88895c458dd40708ab9989385cf Mon Sep 17 00:00:00 2001 +From: BlackEagle <ike.devol...@gmail.com> +Date: Wed, 19 Jan 2022 20:57:58 +0100 +Subject: [PATCH] add support for user flags + +Signed-off-by: BlackEagle <ike.devol...@gmail.com> +--- + vivaldi-stable | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +diff --git a/vivaldi-stable b/vivaldi-stable +index 5b5f1bf..8e95859 100755 +--- a/vivaldi-stable ++++ b/vivaldi-stable +@@ -53,6 +53,13 @@ export CHROME_VERSION_EXTRA="stable" + # We don't want bug-buddy intercepting our crashes. http://crbug.com/24120 + export GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME + ++# Allow users to override command-line options ++XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-$HOME/.config} ++VIVALDI_USER_FLAGS="" ++if [[ -f "$XDG_CONFIG_HOME/vivaldi-$CHROME_VERSION_EXTRA.conf" ]]; then ++ VIVALDI_USER_FLAGS="$(cat "$XDG_CONFIG_HOME/vivaldi-$CHROME_VERSION_EXTRA.conf")" ++fi ++ + # Sanitize std{in,out,err} because they'll be shared with untrusted child + # processes (http://crbug.com/376567). + exec < /dev/null +@@ -60,4 +67,4 @@ exec > >(exec cat) + exec 2> >(exec cat >&2) + + # Note: exec -a below is a bashism. +-exec -a "$0" "$HERE/vivaldi-bin" "$@" ++exec -a "$0" "$HERE/vivaldi-bin" $VIVALDI_USER_FLAGS "$@" +-- +2.34.1 + Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-01-31 22:54:25 UTC (rev 1121509) +++ PKGBUILD 2022-01-31 22:54:33 UTC (rev 1121510) @@ -1,56 +0,0 @@ -# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com> -# Contributor: TZ86 - -pkgname=vivaldi -_rpmversion=5.0.2497.48-1 -pkgver=5.0.2497.48 -pkgrel=2 -pkgdesc='An advanced browser made with the power user in mind.' -url="https://vivaldi.com" -options=(!strip !zipman) -license=('custom') -arch=('x86_64') -depends=('gtk3' 'libcups' 'nss' 'alsa-lib' 'libxss' 'ttf-font' 'desktop-file-utils' 'shared-mime-info' 'hicolor-icon-theme') -makedepends=('w3m') -optdepends=( - 'vivaldi-ffmpeg-codecs: playback of proprietary video/audio' - 'libnotify: native notifications' -) -source=("https://downloads.vivaldi.com/stable/vivaldi-stable-${_rpmversion}.x86_64.rpm" - '0001-add-support-for-user-flags.patch') -sha512sums=('875384bf6ffda065251b04bb05fcb3184f97c53c8ad4f5cd5acceb75ba4b90dbb60404577df44ed7d60f43b644790be0f8fa761f8cbe05657ee9510c602499de' - '334db2056114fdbf07407b1cee24284f019df7a15acd711ed016bab1a1ab211abf3884ed848f3496486e7c78056108ccf1e88547e22b787bc4f548c6785f64d2') - -package() { - cp --parents -a {opt,usr/bin,usr/share} "$pkgdir" - - # add support for ~/.config/vivaldi-stable.conf - patch -p1 -i "$srcdir/0001-add-support-for-user-flags.patch" \ - "$pkgdir/opt/$pkgname/$pkgname" - - # suid sandbox - chmod 4755 "$pkgdir/opt/$pkgname/vivaldi-sandbox" - - # make /usr/bin/vivaldi-stable available - binf="$pkgdir/usr/bin/vivaldi-stable" - if [[ ! -e "$binf" ]] && [[ ! -f "$binf" ]] && [[ ! -L "$binf" ]]; then - install -dm755 "$pkgdir/usr/bin" - ln -s /opt/vivaldi/vivaldi "$binf" - fi - - # install icons - for res in 16 22 24 32 48 64 128 256; do - install -Dm644 "$pkgdir/opt/$pkgname/product_logo_${res}.png" \ - "$pkgdir/usr/share/icons/hicolor/${res}x${res}/apps/$pkgname.png" - done - - # install global icon in case hicolor theme gets bypassed - install -Dm644 "$pkgdir/opt/$pkgname/product_logo_256.png" \ - "$pkgdir/usr/share/pixmaps/$pkgname.png" - - # license - install -dm755 "$pkgdir/usr/share/licenses/$pkgname" - w3m -dump "$pkgdir/opt/$pkgname/LICENSE.html" \ - | head -n 5 \ - > "$pkgdir/usr/share/licenses/$pkgname/license.txt" -} Copied: vivaldi/repos/community-x86_64/PKGBUILD (from rev 1121509, vivaldi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-01-31 22:54:33 UTC (rev 1121510) @@ -0,0 +1,56 @@ +# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com> +# Contributor: TZ86 + +pkgname=vivaldi +_rpmversion=5.0.2497.51-1 +pkgver=5.0.2497.51 +pkgrel=1 +pkgdesc='An advanced browser made with the power user in mind.' +url="https://vivaldi.com" +options=(!strip !zipman) +license=('custom') +arch=('x86_64') +depends=('gtk3' 'libcups' 'nss' 'alsa-lib' 'libxss' 'ttf-font' 'desktop-file-utils' 'shared-mime-info' 'hicolor-icon-theme') +makedepends=('w3m') +optdepends=( + 'vivaldi-ffmpeg-codecs: playback of proprietary video/audio' + 'libnotify: native notifications' +) +source=("https://downloads.vivaldi.com/stable/vivaldi-stable-${_rpmversion}.x86_64.rpm" + '0001-add-support-for-user-flags.patch') +sha512sums=('14ae5d284970a197a0ffa3caa3358df7529db6c2999d8917330b4c6573d4a643f1cd277787c3bc0c7e6aac58676bbc5b03104aec41e027b17df073c3bc6bcc36' + '334db2056114fdbf07407b1cee24284f019df7a15acd711ed016bab1a1ab211abf3884ed848f3496486e7c78056108ccf1e88547e22b787bc4f548c6785f64d2') + +package() { + cp --parents -a {opt,usr/bin,usr/share} "$pkgdir" + + # add support for ~/.config/vivaldi-stable.conf + patch -p1 -i "$srcdir/0001-add-support-for-user-flags.patch" \ + "$pkgdir/opt/$pkgname/$pkgname" + + # suid sandbox + chmod 4755 "$pkgdir/opt/$pkgname/vivaldi-sandbox" + + # make /usr/bin/vivaldi-stable available + binf="$pkgdir/usr/bin/vivaldi-stable" + if [[ ! -e "$binf" ]] && [[ ! -f "$binf" ]] && [[ ! -L "$binf" ]]; then + install -dm755 "$pkgdir/usr/bin" + ln -s /opt/vivaldi/vivaldi "$binf" + fi + + # install icons + for res in 16 22 24 32 48 64 128 256; do + install -Dm644 "$pkgdir/opt/$pkgname/product_logo_${res}.png" \ + "$pkgdir/usr/share/icons/hicolor/${res}x${res}/apps/$pkgname.png" + done + + # install global icon in case hicolor theme gets bypassed + install -Dm644 "$pkgdir/opt/$pkgname/product_logo_256.png" \ + "$pkgdir/usr/share/pixmaps/$pkgname.png" + + # license + install -dm755 "$pkgdir/usr/share/licenses/$pkgname" + w3m -dump "$pkgdir/opt/$pkgname/LICENSE.html" \ + | head -n 5 \ + > "$pkgdir/usr/share/licenses/$pkgname/license.txt" +} Deleted: eula.txt =================================================================== --- eula.txt 2022-01-31 22:54:25 UTC (rev 1121509) +++ eula.txt 2022-01-31 22:54:33 UTC (rev 1121510) @@ -1,96 +0,0 @@ -Vivaldi End User License Agreement - -Read the end user license agreement for Vivaldi Browser and find out how to get -in touch if you have any questions about regarding our EULA. - -Last updated: November 18, 2016 - -1. This End User License Agreement (“EULA”) governs your use (“You”) of the -browser software in executable form (“Software”) and any ancillary services -(“Services”) provided to You by Vivaldi Technology AS (“Vivaldi”) to the -exclusion of all other terms and conditions. Source code used in the Software, -under open source license agreements, can be obtained at https://vivaldi.com/ -source. - -2. Here at Vivaldi, we try to keep things as simple and easy as possible but -since this is a legal document, it’s a bit longer than we would like it to be. -It’s important that you read this carefully and understand the terms of use. By -clicking through, you agree to the following terms and conditions. If you don’t -agree to the following terms and conditions, you are not allowed to use Vivaldi -Software or Services. - -3. We may modify this EULA and the Privacy Policy at any time. When we post -changes to this EULA, we will include the date when this EULA was last updated. -If there are significant changes to the Vivaldi EULA, we will notify you either -by prominently posting a notice of such changes or by directly sending you a -notification. - -4. This EULA does not apply to third party software or services that Vivaldi -may deliver with Software or Services. Vivaldi assumes no responsibility or -liability for such “Third Party Software or Services”. Your use of such Third -Party Software or Services is exclusively governed by the applicable end user -license terms and conditions for such Third Party Software or Services. The -terms in this EULA do not apply to Third Party Software or Services to the -extent they are inconsistent with end user license terms and conditions for -such Third Party Software or Service. - -5. Subject to the terms and conditions herein, Vivaldi hereby grants You a -limited, non-exclusive, non-transferable, non-sublicensable license to install -and use the Software and Services for its intended purpose. - -6. You may use the Software and Services on your personal computer, including -your laptop, desktop and handheld device. You may only use the Software and -Services for personal use. By way of example, this means that although You are -allowed to use our Software and Services at work or within your business or -organization, You are not allowed to sell, trade or resell the Software or -Services for any purpose, including without limitation any use in any -application service provider environment, service bureau, or time-sharing -arrangements - -7. Without limiting the foregoing, you are neither allowed to (a) adapt, alter, -translate, embed into any other product or otherwise create derivative works -of, or otherwise modify the Software ; (b) separate the component programs of -the Software for use on different computers; (c) reverse engineer, decompile, -disassemble or otherwise attempt to derive the source code for the Software, -except as permitted by applicable law; or (d) remove, alter or obscure any -proprietary notices on the Software or the applicable documentation therein. - -8. The Software and Services and all intellectual property rights therein are -the exclusive property of Vivaldi and its suppliers, and all rights in and to -the Software not expressly granted to You in this EULA are reserved. Vivaldi -owns all copies of the Software, however made. - -9. By accepting this EULA, You also accept our privacy policy (available at -https://vivaldi.com/privacy/browser). Here at Vivaldi we take privacy matters -very seriously and we always strive to be compliant with applicable laws and -regulations. - -10. The Software and Services are provided to you “as is” without any warranty -of any kind, which hereby is disclaimed. Without limiting the foregoing we do -not guarantee availability of our Software and Services. You use our Software -and Services at your own risk, and You agree to be fully responsible for any -claim, expense, liability and/or losses arising from any infringement of this -EULA. Even though we do our best to provide You with great Software and -Services, we cannot be held liable for any kind of damage, direct or indirect -or consequential, resulting from your use of our Software and Services. - -11. This EULA applies from the time you download or activate the Software, and -continues in perpetuity unless terminated by Vivaldi for no cause with thirty -(30) days prior written notice, or terminated because of Your breach of this -EULA. On termination all rights granted in this EULA lapse and You are not -allowed to use the Software or Services. All provisions herein that by its -nature are intended to survive termination, including Section 10 and 12, shall -survive such termination. - -12. Vivaldi’s headquarters are based in the beautiful city of Oslo, Norway. -This EULA is therefore governed by the laws of Norway, except its conflict of -laws rules and regulations. All disputes, actions or proceedings arising under -or related to this EULA shall exclusively be referred and resolved by the Oslo -City Court. Notwithstanding, nothing in this EULA will be deemed as preventing -Vivaldi from seeking injunctive relief (or any other provisional remedy) from -any court having jurisdiction over the parties and the subject matter of the -dispute as is necessary to protect Vivaldi’s proprietary information, trade -secrets, know-how, or any other intellectual property rights. - -Please direct any questions or queries with regard to this EULA to -le...@vivaldi.com Copied: vivaldi/repos/community-x86_64/eula.txt (from rev 1121509, vivaldi/trunk/eula.txt) =================================================================== --- eula.txt (rev 0) +++ eula.txt 2022-01-31 22:54:33 UTC (rev 1121510) @@ -0,0 +1,96 @@ +Vivaldi End User License Agreement + +Read the end user license agreement for Vivaldi Browser and find out how to get +in touch if you have any questions about regarding our EULA. + +Last updated: November 18, 2016 + +1. This End User License Agreement (“EULA”) governs your use (“You”) of the +browser software in executable form (“Software”) and any ancillary services +(“Services”) provided to You by Vivaldi Technology AS (“Vivaldi”) to the +exclusion of all other terms and conditions. Source code used in the Software, +under open source license agreements, can be obtained at https://vivaldi.com/ +source. + +2. Here at Vivaldi, we try to keep things as simple and easy as possible but +since this is a legal document, it’s a bit longer than we would like it to be. +It’s important that you read this carefully and understand the terms of use. By +clicking through, you agree to the following terms and conditions. If you don’t +agree to the following terms and conditions, you are not allowed to use Vivaldi +Software or Services. + +3. We may modify this EULA and the Privacy Policy at any time. When we post +changes to this EULA, we will include the date when this EULA was last updated. +If there are significant changes to the Vivaldi EULA, we will notify you either +by prominently posting a notice of such changes or by directly sending you a +notification. + +4. This EULA does not apply to third party software or services that Vivaldi +may deliver with Software or Services. Vivaldi assumes no responsibility or +liability for such “Third Party Software or Services”. Your use of such Third +Party Software or Services is exclusively governed by the applicable end user +license terms and conditions for such Third Party Software or Services. The +terms in this EULA do not apply to Third Party Software or Services to the +extent they are inconsistent with end user license terms and conditions for +such Third Party Software or Service. + +5. Subject to the terms and conditions herein, Vivaldi hereby grants You a +limited, non-exclusive, non-transferable, non-sublicensable license to install +and use the Software and Services for its intended purpose. + +6. You may use the Software and Services on your personal computer, including +your laptop, desktop and handheld device. You may only use the Software and +Services for personal use. By way of example, this means that although You are +allowed to use our Software and Services at work or within your business or +organization, You are not allowed to sell, trade or resell the Software or +Services for any purpose, including without limitation any use in any +application service provider environment, service bureau, or time-sharing +arrangements + +7. Without limiting the foregoing, you are neither allowed to (a) adapt, alter, +translate, embed into any other product or otherwise create derivative works +of, or otherwise modify the Software ; (b) separate the component programs of +the Software for use on different computers; (c) reverse engineer, decompile, +disassemble or otherwise attempt to derive the source code for the Software, +except as permitted by applicable law; or (d) remove, alter or obscure any +proprietary notices on the Software or the applicable documentation therein. + +8. The Software and Services and all intellectual property rights therein are +the exclusive property of Vivaldi and its suppliers, and all rights in and to +the Software not expressly granted to You in this EULA are reserved. Vivaldi +owns all copies of the Software, however made. + +9. By accepting this EULA, You also accept our privacy policy (available at +https://vivaldi.com/privacy/browser). Here at Vivaldi we take privacy matters +very seriously and we always strive to be compliant with applicable laws and +regulations. + +10. The Software and Services are provided to you “as is” without any warranty +of any kind, which hereby is disclaimed. Without limiting the foregoing we do +not guarantee availability of our Software and Services. You use our Software +and Services at your own risk, and You agree to be fully responsible for any +claim, expense, liability and/or losses arising from any infringement of this +EULA. Even though we do our best to provide You with great Software and +Services, we cannot be held liable for any kind of damage, direct or indirect +or consequential, resulting from your use of our Software and Services. + +11. This EULA applies from the time you download or activate the Software, and +continues in perpetuity unless terminated by Vivaldi for no cause with thirty +(30) days prior written notice, or terminated because of Your breach of this +EULA. On termination all rights granted in this EULA lapse and You are not +allowed to use the Software or Services. All provisions herein that by its +nature are intended to survive termination, including Section 10 and 12, shall +survive such termination. + +12. Vivaldi’s headquarters are based in the beautiful city of Oslo, Norway. +This EULA is therefore governed by the laws of Norway, except its conflict of +laws rules and regulations. All disputes, actions or proceedings arising under +or related to this EULA shall exclusively be referred and resolved by the Oslo +City Court. Notwithstanding, nothing in this EULA will be deemed as preventing +Vivaldi from seeking injunctive relief (or any other provisional remedy) from +any court having jurisdiction over the parties and the subject matter of the +dispute as is necessary to protect Vivaldi’s proprietary information, trade +secrets, know-how, or any other intellectual property rights. + +Please direct any questions or queries with regard to this EULA to +le...@vivaldi.com