1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 11:42:40 +01:00

Compare commits

...

6 Commits

29 changed files with 101 additions and 773 deletions

View File

@@ -1,2 +1,2 @@
DIST decompyle++-0_p20210412.tar.gz 350571 BLAKE2B 2b72ecb8c0b6bcdf1f29f8e5976d75376fbf40f01726403756c68372e9571062c5be6c904c1bb33f12c06c669c7cc9f450f5ec0efc4bb960c79cb0c53a6e393d SHA512 9edcbada1b83153d5f214727b9d18d87765d48e24598fcecb37d5d28a5bd389db670652b3fceb86cc6dc99f7b14da6eaaf68fffad9dba255941c7bd8144742f0
EBUILD decompyle++-0_p20210412.ebuild 555 BLAKE2B 2791f2b2f3b6f5e74281fa96fff85550caa9df32b4547f356cd6a40efa2866520105ac459368993eec5ca920f4e8c1a54e77ec6d576ab9633489fc8e924c6d77 SHA512 d6b981b1fe300bce97cf391d81e63643a570738d583acb1fb0d519771ad2a276b05c1be53646a33cdbe542d34304865b77af47f7b3bfb6fc967c3684a5be9f74
DIST decompyle++-0_p20210816.tar.gz 350635 BLAKE2B 009070bd4f2762033e0f37586ab759a05d873ab57d1157952c8439d0aa88e5347d09e5b9cf383f071fea5f720e77d0d72e2a9b3042bddcb4bbfb8ea62b45bbd8 SHA512 f63519cf79dc5b3f7a419eb05f8bc9a09cbf290f70331a966cbcdec85c92c417b23620672ba4b9d21c44512566cf7b09133aa44078e5543dab4f56ebcc080232
EBUILD decompyle++-0_p20210816.ebuild 555 BLAKE2B f1e1b02be997e45168c28a67f06809fbcbeaeaa7dc420a2c6e9f7778998442f9a02b13d2551401ed80fecca12d73a8cc0294e252c10070b2bbfebce97ab2612d SHA512 5cfd1a3226a1370e63c71a9d1549ae786723c5f1422500d422dc24727a5f42593c55083ddf2f9e519585dad58079b6874064912693b7ec122472d2c03629245d

View File

@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{7..9} )
inherit cmake python-single-r1
EGIT_COMMIT="fbf9d24de3e5322d75658c0733afd5b139280ad8"
EGIT_COMMIT="6140b4b33ef0c1d87e233c8fb064142233f9f4b9"
DESCRIPTION="A Python Byte-code Disassembler/Decompiler"
HOMEPAGE="https://github.com/zrax/pycdc"

View File

@@ -1,8 +1,8 @@
DIST github.com-jbarham-primegen-8ce4838491a027d937a87fd521b3b11aabaeb568.tar.gz 7683 BLAKE2B aaaac06088e2f77fa758b072de75d7bb5281f02b78bc5e3df4a834596d1d8e95c5f79313ab1769063c6d3f43131fbd6a6fffbc051594c4cb3afde1295081077f SHA512 187f6c43a641223be4a88d6dfb1992e9c2ca1c20b0e6e774e0010afbad746a5f241a8f410882ef9f711388ab86eac7457c7157d209459fc3956f3ab686607ac9
DIST github.com-kavehmz-prime-789f3f91353209ceb30376f0c92374aacc82d9bf.tar.gz 5296 BLAKE2B 47312b0b4a3fe264ed041a0a7c2c8802c5a0dc78886fed2835fb0cea34b6eec5630d6a58ca6de91ad33ea78984114050d4698ce67fca365b32e617829df21cc1 SHA512 113f5be4e73d0cbd9d96320226d0a2da98f2cdf8de35c146c77ee3b7d2c4b985b44d463e11d430014fd8021ab9f60321aaa998499a99e471f6a27c3e9cc631a5
DIST github.com-sourcekris-goflint-f23b1b2709282f6b7d2f86842301c46aafdaf507.tar.gz 34195 BLAKE2B 5b80e9aeeea3d96b1a66ffd6685a33cb7da112ec68ce87e985b59a5a1271fe50af2c18852db4c0917bdc3cf8d5512e831a6b4088143becc0ee31dbbadbb9aa03 SHA512 fe3f49c6514cc386338f07cee1bf3330ee1e000c725ae39519122056dbff7ce096465d3dfd0ab36809bae335a364589d7ca799422dd237a1b9d791fd3fe9e84d
DIST github.com-kavehmz-prime-a94ad56341db886ae3346de1e6b341387c3c01d3.tar.gz 4913 BLAKE2B f2267f896e8f35122340fcd7de14c7adc5cd7cb46c32a8aca01dbc7d756d2755ffd524097b9532a351cc3f80cc75d4bdb6a43590a2b67ec2d3d35e660b2054ba SHA512 1b8f78c68f90d1ca032babc42a696546b6c98b00e94162564b2dc63cd22032d71fc4f746ed375955535e3ec53ac08fdbbb812330e6f092b1b9dabbd69c1a6f74
DIST github.com-sourcekris-goflint-f9662cf830a9a609de85397ca58995bc9c43b24a.tar.gz 34629 BLAKE2B 63ec2754cadbe3087aaffe6713dd3737b9aa58af003349480c8b34e57a23b2305a9949ff900bb6fa46504cbb91f952a970a85cc83b5518558a2d78551bfee4c9 SHA512 6b4957fec48758d4550028a4fad001b2929ee533d8f52cb8598e283dec71e76706da540cb4286d3f0a6bf62667efd8b21046f2f5d9a3fdb148ffcd989ebd7a15
DIST github.com-sourcekris-gogmpecm-c6536ae30853abdc238aed082ffd5b723cb66b84.tar.gz 8080 BLAKE2B 4ff65c3a12942938bd4286ee976d3e9a87117a13eb3885fbed1b79a600cf0a48ebbe7235148c21b7133186fcad9c6050d3eec6e5b040921ce517a19a640e50d6 SHA512 c4b5585c114aff2973da7d369b163d03071f85a0b5cb5ef7110b78f7e4cb1571b2f65365b2ac891123e80992c62db7acb48d915e4838833a2956d82a3a4d9a15
DIST github.com-sourcekris-mathparse-dc40b3863ac840b889536fda2eac0244d7794a24.tar.gz 6311 BLAKE2B 205d86d1c59c3129185d51c7b0bb4c5ce72b5016d4a9d16c95b158b3e3db643c6ea36395660d21df11c551fdd832cdee8e8115599cdb47fc8bde26d681d77084 SHA512 f0c60d58ad5bc36104db61412093971d37c76cc18790dbe21f03b2dfafa7dd623ba5ac68bc971d3ea811d5c3b447bd01bd3eb9123b415feebd14578047f5c146
DIST github.com-sourcekris-x509big-321a26314a1d6bc4edf904a477d39293795fb72a.tar.gz 4559 BLAKE2B 437c9c7d7af1ef49564b45b629be0106b4c2de867bf09ad76dd167f9219f2440f5cdde7e7453ac2e62ce84903dcc91969f50286856875215d006761a1ffe8dc4 SHA512 131b84682c41ffa4e70b7dd4cbbfff429daa15c3a675e53f6e3c1cbf9b13f7c1326ebdda0209f9184a872b991100d876545fdc6d24c192e1482142810ec62c05
DIST gorsatool-0_p20200607.tar.gz 88616 BLAKE2B 4e43c7cf73fe6cd7d8dffb1ccc551f5e86e1c9454614668a9efb236eb58cfcef2293b3b740572fb84451c1af689daa58b12f849c85849fd11f081bc2b9c8ca99 SHA512 560f8b6602fc0c4d3b438d9368cbb07cf0da39cc657288c0e286f842a6edc74cac9e491789b72e876333e97f78cd56353c0c35b6a19c55b5d30a22cbdb072675
EBUILD gorsatool-0_p20200607.ebuild 1195 BLAKE2B a2fddf5e6117a3221637e61e9bf898eea1918c88d8e1128414aadf440d98f44b138f5dfc14988ea7bace5007a811ddb089c5b76c76213a5ec6049bca9e32320f SHA512 52bf697654f60554172d5bbdb364cb68471c7cf7b50132b871dee9d6624ae099ad986be08e50b31497d0209b5f54c451ae838d397b4cc9f3e3b0b86efc88271e
DIST gorsatool-0_p20211003.tar.gz 101259 BLAKE2B 93d5e9e0a39878660b577fab2cd222c9eb5aeab487fabb5ec4ded2a83352f55c98a59ed22aefc4ccb595fa696a3bb3f3b10d8a1c677ce748da0af41dc9538593 SHA512 5e138f30880a3098a1ffbc19b7a672296dfe68ffb337a47bfba0ca4002018a0363c24dc008de3c3c08b3507d9b5deda2c2f8d610608cd919fe9a1084f66593b5
EBUILD gorsatool-0_p20211003.ebuild 1200 BLAKE2B df3e87e8064915df06ee99a6abd8a47172b7a17ce6ef215fd6e3338f617f7ad9d9968155265ab8e6aa2586576799955403debde6409ad5fa02d8efd75a0ef978 SHA512 5c7231e85322a10f4006501d1bc37a45a4f7e4583056286e4a563a3147a2d50a21f79c1f134dcddd4346429a97f4545b4096eabd064abacb05e0ba42f882dabb

View File

@@ -6,15 +6,15 @@ EAPI=7
EGO_PN="github.com/sourcekris/goRsaTool"
EGO_VENDOR=(
"github.com/sourcekris/goflint f23b1b2709282f6b7d2f86842301c46aafdaf507"
"github.com/sourcekris/goflint f9662cf830a9a609de85397ca58995bc9c43b24a"
"github.com/sourcekris/gogmpecm c6536ae30853abdc238aed082ffd5b723cb66b84"
"github.com/sourcekris/mathparse dc40b3863ac840b889536fda2eac0244d7794a24"
"github.com/sourcekris/x509big 321a26314a1d6bc4edf904a477d39293795fb72a"
"github.com/jbarham/primegen 8ce4838491a027d937a87fd521b3b11aabaeb568"
"github.com/kavehmz/prime 789f3f91353209ceb30376f0c92374aacc82d9bf"
"github.com/kavehmz/prime a94ad56341db886ae3346de1e6b341387c3c01d3"
)
EGIT_COMMIT="b6524bfca6bdaf6ae4d79e9eb08a8ad2d07e326e"
EGIT_COMMIT="f8844041768feecb9d54cfad86cda1f72ae9f2e0"
inherit golang-build golang-vcs-snapshot
@@ -32,7 +32,7 @@ SLOT="0"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND="sci-mathematics/gmp-ecm
sci-mathematics/flint"
sci-mathematics/flint:0/14"
src_install() {
newbin goRsaTool gorsatool

View File

@@ -1,3 +1,3 @@
AUX corebird.svg 38093 BLAKE2B 88131214eac57aa1a932e4a371d96f8c6a7de3535522256d98b72b3b0c1e96ac7794724d701edcbfe8ad92a587bd62a11dce3ab4a9ea31f1c1e510449ba93955 SHA512 640601d43a373441e725a26d49a574c18804af8761860ff2c89a55a2e48d1e5010ad8dec04fcac40edec8cfe5468483512dc250f2f79ab2c86492b985be3ed60
DIST cawbird-1.4.1.tar.gz 653062 BLAKE2B 5c8448ff37349f243f6b2e378621c561720c7648f8f79eb4c04301b331fa050ee5d7d9874644e89b41b6d613279e2be3d2d96c89c0a1bc9795984b6630fc056c SHA512 bef80fbbbcaf325e6f8c57bce6146eb795f7bb39804f10fada3b529a6439b73f8506f6015d7221b90ed1f1862c79886ee86eebaa244b968bfc60c50ffa5e8abe
EBUILD cawbird-1.4.1.ebuild 1807 BLAKE2B 2daf2ff3775a171516c1cedc159d81990d788bb5e66c0e648a750a27d7c7c13a4030072c2b83db3113dec0753063d55d9888cdf3cdd54afe075070619a93fa9e SHA512 85ec3470f47eb01150e4722daa931f0a0a68b1464d8311566ce1bc5bca54a3c46a09d13e84ea1a2b1f9c20ea5696a50b0921fb47ecb9038b303f61851c886cba
DIST cawbird-1.4.2.tar.gz 653216 BLAKE2B c05008a310152c5d190233a7251cf0ca7104f5ca564a1c0f2ac06fb23ded9eb6429965624ae7b7a0b0b763db19ebcb159a138cbed8dac36c3fcaa56d2ead62ee SHA512 409d2b838b9c14c45fb6aa2b04dc1ccaaf76baab7394d630d254dc9a4001f7f53321b88f600e2c3f9c39e19da38dd717f46abb4a63b11696f41e61b9ab8e6452
EBUILD cawbird-1.4.2.ebuild 1807 BLAKE2B 2daf2ff3775a171516c1cedc159d81990d788bb5e66c0e648a750a27d7c7c13a4030072c2b83db3113dec0753063d55d9888cdf3cdd54afe075070619a93fa9e SHA512 85ec3470f47eb01150e4722daa931f0a0a68b1464d8311566ce1bc5bca54a3c46a09d13e84ea1a2b1f9c20ea5696a50b0921fb47ecb9038b303f61851c886cba

View File

@@ -0,0 +1,3 @@
AUX flint-2.6.0-multilib-strict.patch 622 BLAKE2B d383ce45fb82fabd62530cc15a8bda65f1b088a115985469cd5bfd13d96d0bb9a21d9a073d78aa7ee98f08bd3f75f81445f274777562bca8f317b553cb8483cd SHA512 d360d3d57427d66dedb2f12b2dad03dbbe8530b0bec4184829eed7d8ba534eb8d6e24b302b149dfb852e0415d2612ec9e6312f8f2ac6f0f6a264b8a1f0a66a78
DIST flint-2.6.3.tar.gz 4526340 BLAKE2B d663b44166cd857f83c2752eb4d4f6dc45eb8de535089e5dbe9939ac1464f1d69f66b62184644fff1ecd1d171f389d5ab874873def670c702733a0eba17bfd13 SHA512 8e71570364c789b1d4eaaa5f5adf10212cab47bf1a9f45c333211035ed021a86bb7b1de1feec51e83b2e113e8168853e370f127d2d2b1e941a12aec71fe8ae9e
EBUILD flint-2.6.3.ebuild 1153 BLAKE2B 70cf050d9fd6f0e2bea7a7c74e0cce7ba5b6e77eacc577c465f1b124cecc142a875ab566ab0039fd4002aaca69b4b738f7337a93d110bd3e41a7ed3a2c85d5b0 SHA512 2a742666fe9f221d31563d8a9d2dcbbe45ba6cfa0ece09e833b269242cc56987739a7e199566420f778874273002675552efe5b67f5a9d12e24028cda45316d9

View File

@@ -0,0 +1,20 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9d94776..b04fa78 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -293,10 +293,12 @@ if(NOT MSVC)
target_link_libraries(flint PUBLIC m)
endif()
+include(GNUInstallDirs)
+
install(TARGETS flint
- RUNTIME DESTINATION bin
- ARCHIVE DESTINATION lib
- LIBRARY DESTINATION lib
+ RUNTIME DESTINATION "${CMAKE_INSTALL_FULL_BINDIR}"
+ ARCHIVE DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}"
+ LIBRARY DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}"
)
install(FILES ${HEADERS} DESTINATION include/flint)

View File

@@ -0,0 +1,63 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
inherit cmake-utils python-any-r1
DESCRIPTION="Fast Library for Number Theory"
HOMEPAGE="http://www.flintlib.org/"
SRC_URI="http://www.flintlib.org/${P}.tar.gz"
LICENSE="LGPL-2.1+"
SLOT="0/14"
KEYWORDS="amd64 ~arm ~arm64 ppc ~x86"
IUSE="doc ntl test"
RESTRICT="!test? ( test )"
BDEPEND="doc? (
dev-python/sphinx
app-text/texlive-core
dev-texlive/texlive-latex
dev-texlive/texlive-latexextra
)
${PYTHON_DEPS}"
DEPEND="dev-libs/gmp:=
dev-libs/mpfr:=
ntl? ( dev-libs/ntl:= )"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-2.6.0-multilib-strict.patch
)
src_configure() {
local mycmakeargs=(
-DWITH_NTL="$(usex ntl)"
-DBUILD_TESTING="$(usex test)"
-DBUILD_DOCS="$(usex doc)"
)
cmake-utils_src_configure
if use doc ; then
HTML_DOCS="${BUILD_DIR}/html/*"
DOCS=(
"${S}"/README
"${S}"/AUTHORS
"${S}"/NEWS
"${BUILD_DIR}"/latex/Flint.pdf
)
fi
}
src_compile() {
cmake-utils_src_compile
if use doc ; then
cmake-utils_src_make html
cmake-utils_src_make pdf
fi
}

View File

@@ -1,17 +0,0 @@
AUX xf86-video-qxl-0.1.5-correct-a-long-standing-led-state-bug-in-xspice.patch 1497 BLAKE2B b62207b2675f9c7de950bdd8e81a0fc80623a15dd32411965c0f61d1b64914bc7a0e935eef565b4179c2eb25a1f56d35f2066a212b1ed755de06c240712b913a SHA512 64acbefcb476c64906997434f8ca38bf80e8d3565efd5b4266f1e2793578d0874e389e422dec243842ea89a3486dfa05cddcf7ee54052f7485c61f9dc8b215a6
AUX xf86-video-qxl-0.1.5-make-output-name-numbering-1-based.patch 1686 BLAKE2B 89d1c5178737eb86020e17e187b593be7cf808b0ab04d02f093a728cfbfbc2b19cac6f321f7c5a53da03d784caac08165f3a903c99e90fdc02d01a1781ebb4d1 SHA512 33264146fa6b904bbd03c1b740c2f186d5577726ad113a2b96a4126680eeb69bf88acf9f5fbbae8ab795c47279e272df71d010a70e0bde4cdf25f7b505fc5cd3
AUX xf86-video-qxl-0.1.5-make-output-names-match-modesetting-driver.patch 1902 BLAKE2B 9bd8f8b66554bfc1b2e5c2cd2fafcde29da0d9ddb0cde71333ba9b2ff89837c2888451b0acd00a6ffb7efa83fc81d3514e85be4b5c84bb7dcbd8083ada9d6a1a SHA512 b2b640e92bdff24a4ae64f4703928711492803b118481e8cc4836aa511e672884f969c57dcffc50bb1d5448e1bc5452890a6a25c5a560dcf37ba138ba29652d3
AUX xf86-video-qxl-0.1.5-modesetting-validate-the-atom-for-enum-properties.patch 1159 BLAKE2B 1c642bbb745286f2add32de55b1ec54c6b20f5098252e7554364e41c3d3a3b317a1058c0e3732e938cc8d2f3a70a60e6f1e2fceefd7ce2b055dcf0f1df713d93 SHA512 11cbfc2a616a8eda85f8d81d6a8e06641cffeedc12af9c6567dcb17f743814bf1ac812b5a0b8fc578474050dd42d65369e84c231812affcac0e0f76e173414a3
AUX xf86-video-qxl-0.1.5-qxl-call-provider-init.patch 842 BLAKE2B 484bcf33461bd12080b3c886178a84be2a6fd5705d6f3979e9a5434a5b62886cbfb859a656938095ba468335686e4248b0c75d7ec2d0c3cffde07940f080273c SHA512 d2e06fe500b1f60c2af91e1525e3b79c54ddd14f3a4b1112edd2cc183f89791ec7196ba6a95e7ef4916df14337aec0377cda625f411aad8c9bf509997b956491
AUX xf86-video-qxl-0.1.5-qxl-include-only-the-dpms-headers-we-need.patch 1314 BLAKE2B f1b31d98bea1bd07270e3ea89ff79529377909950c41112c0bab75debbc5a99e2e894134b1ae711e92b47fcf10095fa978c34f12d64c713bfdb750d284419755 SHA512 935fe680545d8777005fc27f926567e3f62410402ac8c1aa7a6cc7bacd19c5305d779ea2db35a3fc69d0743485d6b17427886d286b5ff5c19ff4697d3965ed72
AUX xf86-video-qxl-0.1.5-qxl-initialize-prev-field-while-dup-surface-list.patch 1753 BLAKE2B cf6d4858644ff1c1cb1c2ac77915b0343428b3b5ead7331003296ac4e7e383197e4768725564802eaa5eda6e47802981f776bfde0d066cdb3659b14433a61130 SHA512 e9d967d7bd4106fe4716ea0cf08a17d9ae49341cd4e4f1d08091560d9aacab92fc60c739215aeccb035a6ec0c0370171ae0576e9b8a97e71dc24849264e6b0cf
AUX xf86-video-qxl-0.1.5-xspice-adjust-shebang-to-explicitly-mention-python3.patch 489 BLAKE2B 366b628bbe31a1e9f8bc8c23d59bbe407a03313843ea88556510ad4f7a6f8ff870aae7d170c2d40a61b359c136b82055aa2df9a96e85631c359fbf26658e3df2 SHA512 803b32d2f5208fa8c8a3b19a15efc7a7100d60ff785035239147771b19484f6af23395ec3083b7662b1c4b463d2f94bc4ddab5e1fa1290687d405b33f5aa27d6
AUX xf86-video-qxl-0.1.5-xspice-fix-python3-str-vs-bytes-confusion.patch 972 BLAKE2B 0d48046084a4ba9d308c4ae2843905a01ac92c2652e3b1c26d3206d270fb7dd75d5ac85c070530e1b4ec69d3d8ccc5d2ee8d59f0cc3ab7c6c1e9452af10340bc SHA512 4a850b955558362e40be4e5076de9f2f4c79366de4cfff10ec0087ac1a8a06e316ff59fea2113a8ece5d7655ad25e7d667d964c1ae89e406dc2e06081482691d
AUX xf86-video-qxl-0.1.5-xspice-remove-extra-space-before-assignment.patch 995 BLAKE2B 7f35517440451d28f9d3e35351304fd115a2c65b81de987efb69bae937e0732846f3ad53351627463a68f501d78a1c310e97c3a8b79af1446333a675329b3b12 SHA512 17ad91adb5700bc6b1908083b0e5a1646e726415c0fc0dfca994a92ebdbec7f0140ed2274354ea8e0775148810bd3e22a9afc0c7ccf7c5f687583f48e2e8e8ec
AUX xf86-video-qxl-0.1.5-xspice-use-print-instead-of-print.patch 2648 BLAKE2B ae4ba15afd77deeecadb7463593c78e1a72c50ef8e7b197876c3adaa5eeb0282cf7e5cfd96939e564b400c11d2b7a1afa1a850529541955cb64bebc20e779795 SHA512 5b9dd8921d418105f5b764faaaf262121a971baa74578a98cc725233fda30530aa9b3074b9975b3817f67cbd0c0b1b2f7b3ae9906b18572d893ce9d41560d8b6
AUX xf86-video-qxl-avoid-crashing-xserver-on-previous-active-vt-when-shutting-down-this-xserver.patch 1670 BLAKE2B 9166cca4add57335b2ca7c1414731b6eea24e6eeb7d34aa282e3bbe7e0b6e34600697776bd6f1738ebb647ee76b4d2296e472bd9668a3dc8b6b6b36c9ce722a5 SHA512 b6b5db8d6d7051ea84416f957a4d9307ecfab3d31c0a9c99b065fed1544c5a8e966fb1d89e9a6f1da638e555a8eb4ee35baaa13fbc1a21864246e88088ccf412
AUX xf86-video-qxl-kms-call-leavevt-on-shutdown.patch 861 BLAKE2B 86edd415a7a3bda1a189127f431807d8fb2dd670fe66714330082fa5c3520daf51e8c252832a79ffdf706c79e7c3c9619dc820c7df06b56d6e702b0edc8e6d42 SHA512 1ac5fd877b8677a0642346aeb115ed7b642071e2a335407de094d7987a5f899c948f22194bdf7cd702b20edba8c63011b61f16fcc27746f969baa8beb8364c44
AUX xf86-video-qxl-worst-hack-of-all-time-to-qxl-driver.patch 1854 BLAKE2B 2db33a6e491390544601107cfa3d6077c194510facde6523121fbd4f4feaf99b55ef81da02d9cb21779412edca56b179307ea6300999f273147cad1eef17659f SHA512 68d01dcc6963bbe26ba5cb2a6ba464ec01c26eda6ce564303b723fcf77797a32123aa203ec6f5cea137d16c41b4bee250deda2275094b64e411c07a4587c2cfe
DIST xf86-video-qxl-0.1.5.tar.bz2 508266 BLAKE2B ca0fd43830a393d9bb1f5a6ba306f26e07a0b90233fa44f3fbe7a5f21026f1bd6960254db9cd75d947b3c42f6cc8cd3b7cfd71afc2c0a74bd84c60eafcf7e150 SHA512 7510b2d037b3e978df6063b29e2406f3d1270695a239f29fdaec9b1dc65a30ab10cb959f15eb336f78e93aa708d41c64c5ea43803958feffc64542229605b782
EBUILD xf86-video-qxl-0.1.5.ebuild 1832 BLAKE2B 66305dd2d675ce3118f3a83dbd1325e0be503becc0bcad63af15fd53c12389bc55c367f6f29b62ec50c7c2f7c0c48978bbafc24c91dc1e874c793af87ae135f2 SHA512 5423e403efac90890d25206a2e98c1db4ba70cc8d8624b499133dde700385f3d89c9acbcce054bb803a9decfd92af7480644117775112fddd7e1424b14339aae
MISC metadata.xml 292 BLAKE2B def2312773a7e6872be5d2de2184f3bbdd74caaa32bd0a8c1a85955f11e4a56a7a045431fb582eb121c5fbd5aa3f9d59a137af4973870c08c012abd7d45cdf72 SHA512 d09afd5c8c1c5180f73d6b482e84904cd015f8c302a076e059caa504cfd0029049e75a9f70aff5d4cbf1c36cfd8afdd1c4751ad78bd9e21d6aee6c8e574f8078

View File

@@ -1,43 +0,0 @@
From 922ec516beaae0c0735bbd46d470908f243e3605 Mon Sep 17 00:00:00 2001
From: Jeremy White <jwhite@codeweavers.com>
Date: Fri, 5 Apr 2019 09:38:31 -0500
Subject: [PATCH] Correct a long standing led state bug in XSpice.
The CtrlProc for our keyboard driver incorrectly mapped
the device private to a SpiceKbd* intead of to a InputInfoPtr.
That resulted in led state being written into the driver name
for our driver structure, instead of into the led state.
That, in turn, led to a cool bug where if you pressed caps lock,
the two second sync timer in the spice server would cause it to
attempt to correct the state by pressing caps lock to get the
states to match. Since the states will never match, the caps
lock effectively cycles on and off every two seconds.
Signed-off-by: Jeremy White <jwhite@codeweavers.com>
Acked-by: Victor Toso <victortoso@redhat.com>
---
src/spiceqxl_inputs.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/spiceqxl_inputs.c b/src/spiceqxl_inputs.c
index b39eeae..5625309 100644
--- a/src/spiceqxl_inputs.c
+++ b/src/spiceqxl_inputs.c
@@ -138,9 +138,11 @@ static void xspice_keyboard_control(DeviceIntPtr device, KeybdCtrl *ctrl)
};
XSpiceKbd *kbd;
+ InputInfoPtr pInfo;
int i;
- kbd = device->public.devicePrivate;
+ pInfo = device->public.devicePrivate;
+ kbd = pInfo->private;
kbd->ledstate = 0;
for (i = 0; i < ArrayLength(bits); i++) {
if (ctrl->leds & bits[i].xbit) {
--
2.24.1

View File

@@ -1,43 +0,0 @@
From 505a8bb0cd82e2a50fcf18ed4647788adacef6ee Mon Sep 17 00:00:00 2001
From: Jonathon Jongsma <jjongsma@redhat.com>
Date: Mon, 12 Nov 2018 14:06:13 -0600
Subject: [PATCH] Make output name numbering 1-based
The QXL driver names its outputs starting at 0 (e.g. Virtual-0,
Virtual-1, etc). This code was presumably copy/pasted from a different
driver, and is not necessary for the QXL driver. Other drivers simply
use the kernel connector_type_id which starts at 1. For example, the
modesetting driver changed from 0-based names to 1-based names for the
same reason in xserver commit 139e36dd.
This will help to make it easier to identify which xrandr outputs belong
to which drm connector without requiring as many driver-specific
special-cases.
This change might effect custom xorg configurations that references a
specific output name. But the same change was made in modesetting driver
despite that possibility.
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
---
src/qxl_drmmode.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/qxl_drmmode.c b/src/qxl_drmmode.c
index a2f84b1..a814859 100644
--- a/src/qxl_drmmode.c
+++ b/src/qxl_drmmode.c
@@ -765,8 +765,7 @@ drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num)
}
}
- /* need to do smart conversion here for compat with non-kms ATI driver */
- snprintf(name, 32, "%s-%d", output_names[koutput->connector_type], koutput->connector_type_id - 1);
+ snprintf(name, 32, "%s-%d", output_names[koutput->connector_type], koutput->connector_type_id);
output = xf86OutputCreate (pScrn, &drmmode_output_funcs, name);
--
2.24.1

View File

@@ -1,71 +0,0 @@
From 64cb597c7f7fa1493aea95aa3656e2cae66728d2 Mon Sep 17 00:00:00 2001
From: Jonathon Jongsma <jjongsma@redhat.com>
Date: Mon, 12 Nov 2018 14:06:14 -0600
Subject: [PATCH] Make output names match modesetting driver
The xrandr output name used by the QXL driver is based on the drm
connector type, but the names do not match the kernel names (see
/drivers/gpu/drm/drm_connector.c) or the modesetting driver names (see
hw/xfree86/drivers/modesetting/drmmode_display.c). Making these more
consistent will require less driver-specific special-case code if a user
wants to match an xrandr output to a drm connector.
Note that this patch should not actually change any behavior, since the
QXL driver only uses the 'Virtual' connector type, so this is done only
for consistency.
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
---
src/qxl_drmmode.c | 35 +++++++++++++++++++----------------
1 file changed, 19 insertions(+), 16 deletions(-)
diff --git a/src/qxl_drmmode.c b/src/qxl_drmmode.c
index a814859..8ebc708 100644
--- a/src/qxl_drmmode.c
+++ b/src/qxl_drmmode.c
@@ -720,22 +720,25 @@ static int subpixel_conv_table[7] = { 0, SubPixelUnknown,
SubPixelVerticalBGR,
SubPixelNone };
-const char *output_names[] = { "None",
- "VGA",
- "DVI",
- "DVI",
- "DVI",
- "Composite",
- "S-video",
- "LVDS",
- "CTV",
- "DIN",
- "DisplayPort",
- "HDMI",
- "HDMI",
- "TV",
- "eDP",
- "Virtual"
+const char *output_names[] = {
+ "None",
+ "VGA",
+ "DVI-I",
+ "DVI-D",
+ "DVI-A",
+ "Composite",
+ "SVIDEO",
+ "LVDS",
+ "Component",
+ "DIN",
+ "DP",
+ "HDMI",
+ "HDMI-B",
+ "TV",
+ "eDP",
+ "Virtual",
+ "DSI",
+ "DPI",
};
static void
--
2.24.1

View File

@@ -1,33 +0,0 @@
From 78abd5221f7efd87383aa357590efff083449aa3 Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Tue, 13 Jun 2017 09:29:28 -0400
Subject: [PATCH] modesetting: Validate the atom for enum properties
The client could have said anything here, and if what they said doesn't
actually name an atom NameForAtom() will return NULL, and strcmp() will
be unhappy about that.
[copied from xserver d4995a3936ae283b9080fdaa0905daa669ebacfc]
Signed-off-by: Adam Jackson <ajax@redhat.com>
---
src/qxl_drmmode.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/qxl_drmmode.c b/src/qxl_drmmode.c
index 3c288f9..ff164cd 100644
--- a/src/qxl_drmmode.c
+++ b/src/qxl_drmmode.c
@@ -622,7 +622,8 @@ drmmode_output_set_property(xf86OutputPtr output, Atom property,
if (value->type != XA_ATOM || value->format != 32 || value->size != 1)
return FALSE;
memcpy(&atom, value->data, 4);
- name = NameForAtom(atom);
+ if (!(name = NameForAtom(atom)))
+ return FALSE;
/* search for matching name string, then set its value down */
for (j = 0; j < p->mode_prop->count_enums; j++) {
--
2.24.1

View File

@@ -1,26 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Dave Airlie <airlied@redhat.com>
Date: Wed, 8 Mar 2017 10:50:56 +1000
Subject: [PATCH] qxl: call provider init
This prevents crashes when multiple QXL devices are configured in a VM.
https://bugzilla.redhat.com/show_bug.cgi?id=1428340
---
src/qxl_drmmode.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/qxl_drmmode.c b/src/qxl_drmmode.c
index 3c288f9..41de92f 100644
--- a/src/qxl_drmmode.c
+++ b/src/qxl_drmmode.c
@@ -937,6 +937,9 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int cpp)
for (i = 0; i < drmmode->mode_res->count_connectors; i++)
drmmode_output_init(pScrn, drmmode, i);
+#if XF86_CRTC_VERSION >= 5
+ xf86ProviderSetup(pScrn, NULL, "qxl");
+#endif
xf86InitialConfiguration(pScrn, TRUE);
return TRUE;

View File

@@ -1,40 +0,0 @@
From 52c421c650f8813665b31890df691b31fabc366a Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Wed, 5 Feb 2020 12:55:01 -0500
Subject: [PATCH] qxl: Include only the dpms headers we need
dpms.h is provided by libXext, but nothing in our configure.ac is
verifying that we have libXext's headers. Fortunately we only need the
definitions in dpmsconst.h (which dpms.h included for us), which is in
xorgproto and thus implied by having an xserver DDK to build against.
And we're even trying to include dpmsconst.h when we think we have it,
meaning when HAVE_XEXTPROTO_71 is defined, but while many other drivers
define that macro in their configure.ac, we for no particularly good
reason do not. Oops. But since xextproto is about ten years old by now
we can probably just safely include it unconditionally.
---
src/qxl_drmmode.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/qxl_drmmode.c b/src/qxl_drmmode.c
index 8ebc708..337bbd7 100644
--- a/src/qxl_drmmode.c
+++ b/src/qxl_drmmode.c
@@ -36,13 +36,7 @@
#include "qxl_drmmode.h"
#include "X11/Xatom.h"
#include "xf86DDC.h"
-/* DPMS */
-#ifdef HAVE_XEXTPROTO_71
#include <X11/extensions/dpmsconst.h>
-#else
-#define DPMS_SERVER
-#include <X11/extensions/dpms.h>
-#endif
#include <cursorstr.h>
#include "qxl.h"
--
2.24.1

View File

@@ -1,53 +0,0 @@
From cf2254c13497049a8dbc73a3b031f4cd43403ab1 Mon Sep 17 00:00:00 2001
From: Victor Toso <me@victortoso.com>
Date: Tue, 23 Oct 2018 13:48:58 +0200
Subject: [PATCH] qxl: Initialize prev field while dup surface list
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Otherwise we will can hit a segfault qxl_surface_kill()
│717 void
│718 qxl_surface_kill (qxl_surface_t *surface)
│719 {
│720 struct evacuated_surface_t *ev = surface->evacuated;
│721
│722 if (ev)
│723 {
│724 /* server side surface is already destroyed (via reset), don't
│725 * resend a destroy. Just mark surface as not to be recreated */
│726 ev->pixmap = NULL;│
│727 if (ev->image)│
│728 pixman_image_unref (ev->image);
│729 if (ev->next)
│730 ev->next->prev = ev->prev;
│731 if (ev->prev)
>│732 ev->prev->next = ev->next;
│733 free(ev);
│734 surface->evacuated = NULL;
│735 return;
│736 }
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1641793
Signed-off-by: Victor Toso <victortoso@redhat.com>
---
src/qxl_surface_ums.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/qxl_surface_ums.c b/src/qxl_surface_ums.c
index 2c16ede..19cbd36 100644
--- a/src/qxl_surface_ums.c
+++ b/src/qxl_surface_ums.c
@@ -792,6 +792,7 @@ qxl_surface_cache_evacuate_all (surface_cache_t *cache)
unlink_surface (s);
+ evacuated->prev = NULL;
evacuated->next = evacuated_surfaces;
if (evacuated_surfaces)
evacuated_surfaces->prev = evacuated;
--
2.24.1

View File

@@ -1,19 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Christophe Fergeau <cfergeau@redhat.com>
Date: Thu, 17 May 2018 15:31:05 +0200
Subject: [PATCH] Xspice: Adjust shebang to explicitly mention python3
---
scripts/Xspice | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Xspice b/scripts/Xspice
index 927dcb1..78d0794 100755
--- a/scripts/Xspice
+++ b/scripts/Xspice
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
"""
Xspice

View File

@@ -1,26 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Christophe Fergeau <cfergeau@redhat.com>
Date: Wed, 8 Feb 2017 17:07:56 +0100
Subject: [PATCH] Xspice: Fix Python3 str() vs bytes() confusion
With python3, without universal_newlines=True, Popen().stdout.read()
will return a byte array, while find(str) expects to operate on a
string.
I've checked that this still works with python2 as well.
---
scripts/Xspice | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Xspice b/scripts/Xspice
index 41fd80c..927dcb1 100755
--- a/scripts/Xspice
+++ b/scripts/Xspice
@@ -135,7 +135,7 @@ def agents_new_enough(args):
return False
for f in [args.vdagent_exec, args.vdagentd_exec]:
- if Popen(args=[f, '-h'], stdout=PIPE).stdout.read().find('-S') == -1:
+ if Popen(args=[f, '-h'], stdout=PIPE, universal_newlines=True).stdout.read().find('-S') == -1:
return False
return True

View File

@@ -1,31 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Christophe Fergeau <cfergeau@redhat.com>
Date: Wed, 8 Feb 2017 17:07:39 +0100
Subject: [PATCH] Xspice: Remove extra space before assignment
---
scripts/Xspice | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/Xspice b/scripts/Xspice
index 30d10fa..41fd80c 100755
--- a/scripts/Xspice
+++ b/scripts/Xspice
@@ -211,7 +211,7 @@ signal.signal(signal.SIGTERM, cleanup)
atexit.register(cleanup)
if args.auto:
- temp_dir = tempfile.mkdtemp(prefix="Xspice-")
+ temp_dir = tempfile.mkdtemp(prefix="Xspice-")
cleanup_dirs.append(temp_dir)
args.config = temp_dir + "/xorg.conf"
@@ -275,7 +275,7 @@ if args.vdagent_enabled:
os.unlink(f)
if not temp_dir:
- temp_dir = tempfile.mkdtemp(prefix="Xspice-")
+ temp_dir = tempfile.mkdtemp(prefix="Xspice-")
cleanup_dirs.append(temp_dir)
# Auto generate temporary files for vdagent

View File

@@ -1,74 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Christophe Fergeau <cfergeau@redhat.com>
Date: Wed, 8 Feb 2017 15:23:56 +0100
Subject: [PATCH] Xspice: Use print("") instead of print ""
This allows Xspice to run when using python3 instead of python2
---
scripts/Xspice | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/scripts/Xspice b/scripts/Xspice
index ada99d1..30d10fa 100755
--- a/scripts/Xspice
+++ b/scripts/Xspice
@@ -34,7 +34,7 @@ def which(x):
candidate = os.path.join(p, x)
if os.path.exists(candidate):
return candidate
- print 'Warning: failed to find executable %s' % x
+ print('Warning: failed to find executable %s' % x)
return None
if 'XSPICE_ENABLE_GDB' in os.environ:
@@ -128,10 +128,10 @@ args, xorg_args = parser.parse_known_args(sys.argv[1:])
def agents_new_enough(args):
for f in [args.vdagent_exec, args.vdagentd_exec]:
if not f:
- print 'please specify path to vdagent/vdagentd executables'
+ print('please specify path to vdagent/vdagentd executables')
return False
if not os.path.exists(f):
- print 'error: file not found ', f
+ print('error: file not found ', f)
return False
for f in [args.vdagent_exec, args.vdagentd_exec]:
@@ -169,11 +169,11 @@ def tls_files(args):
# and it isn't supplied spice will still abort, and Xorg with it.
for key, filename in tls_files(args).items():
if not os.path.exists(filename):
- print "missing %s - %s does not exist" % (key, filename)
+ print("missing %s - %s does not exist" % (key, filename))
sys.exit(1)
def error(msg, exit_code=1):
- print "Xspice: %s" % msg
+ print("Xspice: %s" % msg)
sys.exit(exit_code)
if not args.xorg:
@@ -319,7 +319,7 @@ for arg in xorg_args:
if arg.startswith(":"):
display = arg
if not display:
- print "Error: missing display on line (i.e. :3)"
+ print("Error: missing display on line (i.e. :3)")
raise SystemExit
os.environ ['DISPLAY'] = display
@@ -343,7 +343,7 @@ time.sleep(2)
retpid,rc = os.waitpid(xorg.pid, os.WNOHANG)
if retpid != 0:
- print "Error: X server is not running"
+ print("Error: X server is not running")
else:
if args.vdagent_enabled and args.vdagent_launch:
# XXX use systemd --user for this?
@@ -361,4 +361,4 @@ else:
xorg.wait()
except KeyboardInterrupt:
# Catch Ctrl-C as that is the common way of ending this script
- print "Keyboard Interrupt"
+ print("Keyboard Interrupt")

View File

@@ -1,48 +0,0 @@
From 542fa8305a2e48956add10df8c13d348713aee95 Mon Sep 17 00:00:00 2001
From: Oliver Henshaw <oliver.henshaw@gmail.com>
Date: Tue, 29 Nov 2016 15:42:06 +0000
Subject: [PATCH] Avoid crashing xserver on previous active VT when shutting
down this xserver
Need to relinquish the DRM master before the xserver calls VT_SETMODE with
VT.mode=VT_AUTO. Otherwise no other process may claim the drm master until the
xserver process exits. This can cause a crash if xf86CloseConsole switches to
the VT that was active when it was started, and a xserver on the old active VT
tries to call drmSetMaster.
(Cargo cult drmDropMaster call from qxl_enter_vt_kms and qxl_leave_vt_kms.
I don't think there are potential problems from the driver assuming the xserver
has ownership of the drm master after qxl_close_screen_kms, but I don't know
the code at all. Possibly something needs to be done to make sure no more DRM
events are dispatched after this.
So please look at this with a critical eye.
The "#ifdef XF86_PDEV_SERVER_FD" code path is completely untested.)
---
src/qxl_kms.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/qxl_kms.c b/src/qxl_kms.c
index c31c62d..5fc27ba 100644
--- a/src/qxl_kms.c
+++ b/src/qxl_kms.c
@@ -106,6 +106,15 @@ qxl_close_screen_kms (CLOSE_SCREEN_ARGS_DECL)
Bool result;
qxl_drmmode_uevent_fini(pScrn, &qxl->drmmode);
+
+#ifdef XF86_PDEV_SERVER_FD
+ if (!(qxl->platform_dev &&
+ (qxl->platform_dev->flags & XF86_PDEV_SERVER_FD)))
+#endif
+ {
+ drmDropMaster(qxl->drm_fd);
+ }
+
pScreen->CloseScreen = qxl->close_screen;
result = pScreen->CloseScreen (CLOSE_SCREEN_ARGS);
--
2.6.6

View File

@@ -1,32 +0,0 @@
From 0f9e801c04f31b0b173ec22725d08122ecbfaea6 Mon Sep 17 00:00:00 2001
From: Ray Strode <rstrode@localhost.localdomain>
Date: Wed, 3 Oct 2018 09:00:40 -0400
Subject: [PATCH] kms: call LeaveVT on shutdown
It's important that LeaveVT is called on shutdown, since
the X server will leave the current vt on shutdown.
This commit adds the required call, and fixes some confusion
when one X server is starting at around the same time another
X server is shutting down.
---
src/qxl_kms.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/qxl_kms.c b/src/qxl_kms.c
index 47d7a34..b599908 100644
--- a/src/qxl_kms.c
+++ b/src/qxl_kms.c
@@ -132,6 +132,9 @@ qxl_close_screen_kms (CLOSE_SCREEN_ARGS_DECL)
result = pScreen->CloseScreen (CLOSE_SCREEN_ARGS);
+ if (pScrn->vtSema)
+ pScrn->LeaveVT (VT_FUNC_ARGS);
+
return result;
}
--
2.24.1

View File

@@ -1,57 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Dave Airlie <airlied@redhat.com>
Date: Tue, 26 Nov 2013 10:45:26 +1000
Subject: [PATCH] worst hack of all time to qxl driver
---
src/qxl_surface.c | 30 ++++++++++++++++++++++++++++--
1 file changed, 28 insertions(+), 2 deletions(-)
diff --git a/src/qxl_surface.c b/src/qxl_surface.c
index 6a7e275..bb59f9e 100644
--- a/src/qxl_surface.c
+++ b/src/qxl_surface.c
@@ -770,8 +770,9 @@ qxl_surface_composite (qxl_surface_t *dest,
qxl->bo_funcs->bo_decref(qxl, derefs[i]);
}
-Bool
-qxl_surface_put_image (qxl_surface_t *dest,
+
+static Bool
+qxl_surface_put_image_for_reals (qxl_surface_t *dest,
int x, int y, int width, int height,
const char *src, int src_pitch)
{
@@ -814,6 +815,31 @@ qxl_surface_put_image (qxl_surface_t *dest,
return TRUE;
}
+#define HACK_THE_PLANET 1
+Bool
+qxl_surface_put_image (qxl_surface_t *dest,
+ int x, int y, int width, int height,
+ const char *src, int src_pitch)
+{
+#ifdef HACK_THE_PLANET
+ Bool use_hack = FALSE;
+
+ /* worst heuristic ever - should really block the gnome-shell issue for now */
+ if (width == pixman_image_get_width(dest->host_image) && height < pixman_image_get_height(dest->host_image))
+ use_hack = TRUE;
+
+ if (use_hack) {
+ int gross = rand() % height;
+ int h2 = height - gross;
+ if (gross > 0)
+ qxl_surface_put_image_for_reals(dest, x, y, width, gross, src, src_pitch);
+ qxl_surface_put_image_for_reals(dest, x, y + gross, width, h2, src + (gross * src_pitch), src_pitch);
+ return TRUE;
+ } else
+#endif
+ return qxl_surface_put_image_for_reals(dest, x, y, width, height, src, src_pitch);
+}
+
void
qxl_get_formats (int bpp, SpiceSurfaceFmt *format, pixman_format_code_t *pformat)
{

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>x11@gentoo.org</email>
<name>X11</name>
</maintainer>
<use>
<flag name="xspice">Build the xspice driver</flag>
</use>
</pkgmetadata>

View File

@@ -1,48 +0,0 @@
# Copyright 2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit python-r1 xorg-3
DESCRIPTION="QEMU QXL paravirt video driver"
KEYWORDS="~amd64 ~x86"
IUSE="xspice"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
xspice? (
app-emulation/spice
${PYTHON_DEPS}
)
x11-base/xorg-server[-minimal]
>=x11-libs/libdrm-2.4.46"
DEPEND="${RDEPEND}
>=app-emulation/spice-protocol-0.12.0
x11-base/xorg-proto"
PATCHES=(
"${FILESDIR}/${PN}-worst-hack-of-all-time-to-qxl-driver.patch" # From Fedora
"${FILESDIR}/${P}-xspice-use-print-instead-of-print.patch" # Python 3 support from master
"${FILESDIR}/${P}-xspice-remove-extra-space-before-assignment.patch" # Python 3 support from master
"${FILESDIR}/${P}-xspice-fix-python3-str-vs-bytes-confusion.patch" # Python 3 support from master
"${FILESDIR}/${P}-xspice-adjust-shebang-to-explicitly-mention-python3.patch" # Python 3 support from master
"${FILESDIR}/${P}-modesetting-validate-the-atom-for-enum-properties.patch" # From master
"${FILESDIR}/${P}-qxl-call-provider-init.patch" # From master
"${FILESDIR}/${P}-make-output-name-numbering-1-based.patch" # From master
"${FILESDIR}/${P}-make-output-names-match-modesetting-driver.patch" # From master
"${FILESDIR}/${P}-qxl-initialize-prev-field-while-dup-surface-list.patch" # From master
"${FILESDIR}/${P}-correct-a-long-standing-led-state-bug-in-xspice.patch" # From master
"${FILESDIR}/${P}-qxl-include-only-the-dpms-headers-we-need.patch" # From master
"${FILESDIR}/${PN}-avoid-crashing-xserver-on-previous-active-vt-when-shutting-down-this-xserver.patch" # Upstream bug 99102
"${FILESDIR}/${PN}-kms-call-leavevt-on-shutdown.patch"
)
src_configure() {
XORG_CONFIGURE_OPTIONS=(
$(use_enable xspice)
)
xorg-3_src_configure
}

View File

@@ -1,5 +1,3 @@
DIST gpaste-3.38.6.tar.gz 213774 BLAKE2B 287cbebf06869763825c28ab53e5b40a623c23d1fdd8298ed64a25e24aac43e174ee7717b8441310eb4d4f84d318df573d69fbfe620522a2e669e0acda3b5073 SHA512 9ebcece716dddd9ed91cf1b283221f4efbcd6745e31b503da0dcd77ebb09aa3b29ee138174cfbce1b6b04770ff3d5c366814399596a45311a1bbcf7d23da84fa
DIST gpaste-3.40.2.tar.gz 254742 BLAKE2B cad7db31c0bba71de508f0d362f01920d5b5bbe13468466af622e16c63c22148927ad936cc74dae73c136c53e75f4f5d654cfa28d906b324eaa0df4fa7617e1a SHA512 bc127d592739fff071798611c5170ac9f96202664c3c1baf277c88ed6fc0957253f1d75dd42bb8f84f03a307b89533b44a9478cdd60c97878999ae1496a31c7f
EBUILD gpaste-3.38.6.ebuild 1760 BLAKE2B ee44fae43c0ebc3ca1b2f28a2e3f3ea507e375e054f1071ac2841d22a24f500b9b442b03263b69b1813113086e25ad2953b7e2f25914de7a59fd1344c5b5eb8c SHA512 671f97430227ba6a72fa01e7f77a362a708da3d1b41fe4096f893a97dede6849a9b041095140d760ea1db87f96f9f618bd4be11ece2844109bf375423997cfc1
EBUILD gpaste-3.40.2.ebuild 1758 BLAKE2B 61716ec4d2abedbba35261b81823c5d705d6b6dc8fc02c3c015e4bfbdf958cdebe2b07c89a38ff5c0f21c9d3f540ccbdd926fe5dba25b0e763df06215abc747a SHA512 3e5765e3684fa35c0e2573c7574bd9b2e49866b1debd3c948551520fd4a987d01905e7d3e6a6b995525009beeb6b79f1ab5ad738526721625b3173fa7c28ea32
DIST gpaste-3.40.3.tar.gz 283412 BLAKE2B 852525cb5e3f6f632dff94c59f1fea0fc305dd10a3772d04d73372d38ec6e3ef16b97a2a69e5ff16643e5900d7b3a82f39328f588f9f8df8dfcbd0e6ed49a9ef SHA512 4c921182a243c900cc3b1bb7aa63837ad525065ca3abdcc8767804756d43a21c91ef58c06367291ad6486b1274f3e192d94a627fdf73ade596938f4641a81ed9
EBUILD gpaste-3.40.3.ebuild 1758 BLAKE2B 61716ec4d2abedbba35261b81823c5d705d6b6dc8fc02c3c015e4bfbdf958cdebe2b07c89a38ff5c0f21c9d3f540ccbdd926fe5dba25b0e763df06215abc747a SHA512 3e5765e3684fa35c0e2573c7574bd9b2e49866b1debd3c948551520fd4a987d01905e7d3e6a6b995525009beeb6b79f1ab5ad738526721625b3173fa7c28ea32
MISC metadata.xml 677 BLAKE2B 79d617528e62670788eda4ba64b9698d04b3255f10f8baf2fdce7c7a3708a247b1b839bdf419053b61bc4a6a6200d79033c799c30b6aa29786e6d4b19ebf0954 SHA512 46348240699731847dbb0c55e89386c6ecd5ee9ccc32114eb41a1007cb21e9eaa25930b92a0e470083d64f854b8c5aff055af90f52e4f55dbb36299f6c8b32d2

View File

@@ -1,84 +0,0 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
VALA_MIN_API_VERSION="0.42"
VALA_USE_DEPEND="vapigen"
inherit gnome2-utils meson vala xdg-utils
DESCRIPTION="Clipboard management system"
HOMEPAGE="https://github.com/Keruspe/GPaste"
SRC_URI="https://github.com/Keruspe/GPaste/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X bash-completion gnome introspection systemd vala zsh-completion"
DEPEND="dev-libs/appstream-glib
>=dev-libs/gjs-1.54.0
>=dev-libs/glib-2.58:2
>=dev-libs/gobject-introspection-1.58.0
sys-apps/dbus
>=x11-libs/gdk-pixbuf-2.38:2
>=x11-libs/gtk+-3.24:3
X? (
x11-libs/libX11
x11-libs/libXi
)
gnome? (
gnome-base/gnome-control-center:2
media-libs/clutter
x11-libs/pango
>=x11-wm/mutter-3.38.0:0/7
)
systemd? ( sys-apps/systemd )"
RDEPEND="${DEPEND}
gnome? ( gnome-base/gnome-shell )"
BDEPEND="vala? ( $(vala_depend) )
virtual/pkgconfig"
REQUIRED_USE="vala? ( introspection )"
S="${WORKDIR}/GPaste-${PV}"
src_prepare() {
default
if use vala; then
vala_src_prepare
fi
}
src_configure() {
local emesonargs=(
$(meson_use X x-keybinder)
$(meson_use bash-completion)
$(meson_use gnome gnome-shell)
$(meson_use introspection)
$(meson_use systemd)
$(meson_use vala vapi)
$(meson_use zsh-completion)
-Dcontrol-center-keybindings-dir=$(usex gnome '' \
'/usr/share/gnome-control-center/keybindings')
)
meson_src_configure
}
src_install() {
meson_src_install
find "${D}" -name '*.la' -delete || die
}
pkg_postinst() {
gnome2_schemas_update
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
gnome2_schemas_update
xdg_desktop_database_update
xdg_icon_cache_update
}