# HG changeset patch # User Migration Sync # Date 1747682101 0 # Node ID 42f152f7bd5150d5261fb19a23e4ed5ab9992bd1 # Parent 1f63b8967e672c3278e3b4ad84dabf14ec1e1707 [sync] imported 19745ea..26957c3 from upstream commit 26957c37396048346e2760cf909dce89f35961ae Author: Daniel Neugebauer Date: Mon May 19 21:10:04 2025 +0200 app-misc/qutescoop: force X11 compatibility mode on Wayland to work around OpenGL corruption diff -r 1f63b8967e67 -r 42f152f7bd51 app-misc/qutescoop/Manifest --- a/app-misc/qutescoop/Manifest Wed May 07 09:30:02 2025 +0000 +++ b/app-misc/qutescoop/Manifest Mon May 19 19:15:01 2025 +0000 @@ -1,6 +1,6 @@ -AUX QuteScoop.desktop 234 BLAKE2B f9115f9648c4b19328e71e1b397b36bdf7d32d024a1f8ce9fc0f9eccf3d9be928b8112b843cd3b0e1a990e5a315b0fe7d12bb4d78f923c31a2959850eb4d4daa SHA512 fedb7ff5d394d54bfd35754b7398b7b701e5db8cff481a27e01ea1a2a300769a8b2b9946ecba098bfe43b59de406bb901b3425a9f3b18dd946796af6f576f351 +AUX QuteScoop.desktop 258 BLAKE2B 0c3a583f3545c0b1a1d8d52429bb2a2cd69e580e62b3bb7a08100ab94c3c969de883c7aee231067d98e03644a3982102a693d5e055203f675ffaa5e1ff488b5a SHA512 f86b1e753aedb60d39e30362de04aead6b7b4d2c2245a63bd344369d233deeb66a1aff60f03b27a8290eddbca60eb20936351316503f86bdd1d15b387701e930 AUX execution-wrapper.sh 857 BLAKE2B f0341813221333fc93ec1b6721430fb4495f90cc6424bd7481388bdc4498f840efecebdbc7567c68865c356dd6447704021f6bd814ef1ec0c70ec4700a3a6c5f SHA512 9aeb4401882941dbb7897cee654d079b7c4ae354854144ff8a99cc40a518ba7807c6e74c24f6756944698f3d20cbab27984ea1c8b9564dc0d78647dded15f056 AUX userdir.patch 967 BLAKE2B 88cdc52b94afe161dad00254b5d4a3d627b42a4b9f3316f9846829a258f9538a4fa07bdccf72770fdb46b3fe1f434f0fda56e42dd302425f8622ea0324d21782 SHA512 cfbfa27ffb328e409e5dfb34893c7c38ceb9d0ded75703bb6ee11a59573a4a59ae590d4967f0bfb62e164f39c8c999d455a9c565e9e9e8fb0ce03b84d1a725df EBUILD qutescoop-2.2_pre20201118.ebuild 3119 BLAKE2B 75953e0e9ac4d4d626bb952a578e21a7a8d9bd2e95c55039154e9c9e956033294ba6fa434987f6041b87a37adbfd88ec25f39ea1d7e0d0a5ce7d83a6ef84d635 SHA512 056b300cbc56f7bf69732b587d790d5a6fd87a6114a882c1d913c6220062d97df36665e4c8bf21ef839b182b07207be54a1b57cb769323bebdf10439d08a8a70 -EBUILD qutescoop-3.0.0_rc3.ebuild 2774 BLAKE2B f845be93874fa143c71a905c865c66beb29279e6d3cc45226036d58c875e8851ada8ed0cda1ced0f9f6e41225baefdceaeec5a7c534f30ba3732316080bfbec6 SHA512 40373b0abba33a2e08734e56ec8672d74f3e9f7d6dedbdf09174db4659ded6a400634e0131e368b36325f264bef93645f70e2f14d1eac6eef31ec76f9d462a6d +EBUILD qutescoop-3.0.0_rc3-r1.ebuild 2774 BLAKE2B f845be93874fa143c71a905c865c66beb29279e6d3cc45226036d58c875e8851ada8ed0cda1ced0f9f6e41225baefdceaeec5a7c534f30ba3732316080bfbec6 SHA512 40373b0abba33a2e08734e56ec8672d74f3e9f7d6dedbdf09174db4659ded6a400634e0131e368b36325f264bef93645f70e2f14d1eac6eef31ec76f9d462a6d EBUILD qutescoop-9999.ebuild 2772 BLAKE2B 81bd737e446a63641a13b5c1752c3d46e968ad9eebcf812981effca9dd270004994b6735cc3764ab43a70a8b1f79893b92b3d73c7446de4930a25dd014fac377 SHA512 a0c663f6a7b6df3495e7af083b14ab7c9fb541e76129c632827e5dfd2fb818f6c4ffd8b0e772d39d5bdcb395def85616adc72b05935b53c77e8431ef70e3e0c7 diff -r 1f63b8967e67 -r 42f152f7bd51 app-misc/qutescoop/files/QuteScoop.desktop --- a/app-misc/qutescoop/files/QuteScoop.desktop Wed May 07 09:30:02 2025 +0000 +++ b/app-misc/qutescoop/files/QuteScoop.desktop Mon May 19 19:15:01 2025 +0000 @@ -3,6 +3,6 @@ Name=QuteScoop Comment=QuteScoop is a platform-independent status indicator for VATSIM. Icon=/usr/share/icons/hicolor/32x32/apps/qutescoop.png -Exec=/usr/bin/QuteScoop +Exec=env QT_QPA_PLATFORM=xcb /usr/bin/QuteScoop Terminal=false Categories=Network diff -r 1f63b8967e67 -r 42f152f7bd51 app-misc/qutescoop/qutescoop-3.0.0_rc3-r1.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-misc/qutescoop/qutescoop-3.0.0_rc3-r1.ebuild Mon May 19 19:15:01 2025 +0000 @@ -0,0 +1,97 @@ +# Copyright 1999-2024 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=8 + +inherit git-r3 +inherit qmake-utils + +# Note: GitHub page only states VATSIM as of January 2021 although other networks +# may still be supported. +DESCRIPTION="A status monitor for VATSIM and other online flight simulation networks." +HOMEPAGE="https://qutescoop.github.io/qutescoop/" + +EGIT_REPO_URI="https://github.com/qutescoop/qutescoop.git" +EGIT_COMMIT="df1b4b39420911c2329699936369060732b3fe27" + +LICENSE="GPL-3" +SLOT="0" + +# only 64 bits because at least paths ("unix64") would need to be changed +KEYWORDS="~amd64" + +# bash is needed for our wrapper script +DEPEND=" + app-shells/bash + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtopengl:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + media-libs/libglvnd + sys-libs/glibc + virtual/glu +" + +RDEPEND="${DEPEND}" + +PATCHES="${FILESDIR}/userdir.patch" + +src_prepare() { + default + eqmake5 QuteScoop.pro +} + +src_compile() { + emake +} + +src_install() { + # instead of using QuteScoop directly install a wrapper script + # this is needed because QuteScoop needs write permissions to a data directory + # for every user and does not create the necessary directories which need to + # contain specific data + # TODO: script should somehow handle updates + cp -a ${FILESDIR}/execution-wrapper.sh QuteScoop + dobin QuteScoop + + dodoc COPYING + dodoc README.md + + into /usr/share/QuteScoop + dobin DIST-unix64/QuteScoop + + insinto /usr/share/applications + doins ${FILESDIR}/QuteScoop.desktop + + insinto /usr/share/icons/hicolor/32x32/apps + doins src/qutescoop.png + + insinto /usr/share/QuteScoop/data-template + doins -r data + doins -r downloaded + #doins -r screenshots + doins -r textures + + # all directories may currently have a "notes" file but in case those should + # ever get removed, better add our own "keep" file to the otherwise empty directories + keepdir /usr/share/QuteScoop/data-template/downloaded + #keepdir /usr/share/QuteScoop/data-template/screenshots + #keepdir /usr/share/QuteScoop/data-template/textures/clouds +} + +pkg_postinst() { + # 12345678901234567890123456789012345678901234567890123456789012345678901234567890 + einfo "QuteScoop expects a fully prepared user-writable directory. Such a directory" + einfo "cannot be provisioned by this ebuild directly. Instead a wrapper script is used" + einfo "in place of the original binary which creates a template in the user's home" + einfo "directory on first run. Future updates to this package may require the user" + einfo "to delete that directory manually in order to have it re-created:" + einfo "" + einfo " ~/.local/share/QuteScoop" + einfo "" + einfo "Please report any issues with the wrapper script to the ebuild author, not" + einfo "QuteScoop." +} diff -r 1f63b8967e67 -r 42f152f7bd51 app-misc/qutescoop/qutescoop-3.0.0_rc3.ebuild --- a/app-misc/qutescoop/qutescoop-3.0.0_rc3.ebuild Wed May 07 09:30:02 2025 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,97 +0,0 @@ -# Copyright 1999-2024 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=8 - -inherit git-r3 -inherit qmake-utils - -# Note: GitHub page only states VATSIM as of January 2021 although other networks -# may still be supported. -DESCRIPTION="A status monitor for VATSIM and other online flight simulation networks." -HOMEPAGE="https://qutescoop.github.io/qutescoop/" - -EGIT_REPO_URI="https://github.com/qutescoop/qutescoop.git" -EGIT_COMMIT="df1b4b39420911c2329699936369060732b3fe27" - -LICENSE="GPL-3" -SLOT="0" - -# only 64 bits because at least paths ("unix64") would need to be changed -KEYWORDS="~amd64" - -# bash is needed for our wrapper script -DEPEND=" - app-shells/bash - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtopengl:5 - dev-qt/qtwidgets:5 - dev-qt/qtxml:5 - media-libs/libglvnd - sys-libs/glibc - virtual/glu -" - -RDEPEND="${DEPEND}" - -PATCHES="${FILESDIR}/userdir.patch" - -src_prepare() { - default - eqmake5 QuteScoop.pro -} - -src_compile() { - emake -} - -src_install() { - # instead of using QuteScoop directly install a wrapper script - # this is needed because QuteScoop needs write permissions to a data directory - # for every user and does not create the necessary directories which need to - # contain specific data - # TODO: script should somehow handle updates - cp -a ${FILESDIR}/execution-wrapper.sh QuteScoop - dobin QuteScoop - - dodoc COPYING - dodoc README.md - - into /usr/share/QuteScoop - dobin DIST-unix64/QuteScoop - - insinto /usr/share/applications - doins ${FILESDIR}/QuteScoop.desktop - - insinto /usr/share/icons/hicolor/32x32/apps - doins src/qutescoop.png - - insinto /usr/share/QuteScoop/data-template - doins -r data - doins -r downloaded - #doins -r screenshots - doins -r textures - - # all directories may currently have a "notes" file but in case those should - # ever get removed, better add our own "keep" file to the otherwise empty directories - keepdir /usr/share/QuteScoop/data-template/downloaded - #keepdir /usr/share/QuteScoop/data-template/screenshots - #keepdir /usr/share/QuteScoop/data-template/textures/clouds -} - -pkg_postinst() { - # 12345678901234567890123456789012345678901234567890123456789012345678901234567890 - einfo "QuteScoop expects a fully prepared user-writable directory. Such a directory" - einfo "cannot be provisioned by this ebuild directly. Instead a wrapper script is used" - einfo "in place of the original binary which creates a template in the user's home" - einfo "directory on first run. Future updates to this package may require the user" - einfo "to delete that directory manually in order to have it re-created:" - einfo "" - einfo " ~/.local/share/QuteScoop" - einfo "" - einfo "Please report any issues with the wrapper script to the ebuild author, not" - einfo "QuteScoop." -}