diff options
Diffstat (limited to 'media-gfx/panini')
-rw-r--r-- | media-gfx/panini/Manifest | 4 | ||||
-rw-r--r-- | media-gfx/panini/files/panini-0.73.0-drop-register.patch | 75 | ||||
-rw-r--r-- | media-gfx/panini/panini-0.73.0-r1.ebuild | 56 | ||||
-rw-r--r-- | media-gfx/panini/panini-0.73.0.ebuild | 52 |
4 files changed, 0 insertions, 187 deletions
diff --git a/media-gfx/panini/Manifest b/media-gfx/panini/Manifest index fa82856570b7..cb254fd8d1cd 100644 --- a/media-gfx/panini/Manifest +++ b/media-gfx/panini/Manifest @@ -1,8 +1,4 @@ -AUX panini-0.73.0-drop-register.patch 2642 BLAKE2B 4480c4795b75ea0932973182d9be8f0e32898a2f78f9f77e96eb093ef959f3aeefa158b6628193d5b51b11183f220f7e91c34eae43b56229bd221c3d25f7f1de SHA512 b5ec5839115ca9a476b8aea39a6594df12295db4754951f4c3d86caf100f3e7e5a61ef5869a7fe86ce5cbd87cec4abd78ada4e943cd8e83c44d7f6093037a638 AUX panini.desktop 250 BLAKE2B 2fe866c696c3056ac914242fa14fd378517dc6fce02bdb9b7e2b6716e825ce9b2efe577132e3a1e71808aa7a17de57e9caa1121143e73d4007405b1ed6d7c666 SHA512 6e4cbf1d2a318d4e593e29d78668dd6cdaa37db82dcd7ed0aaee1b6e25a381c524708b404c9bec3902cd101c46c70e0546425eeed33c41c0deb17751df0f0f40 -DIST panini-0.73.0.tar.gz 329164 BLAKE2B 1cd592d7c5cf230398a6496a27f8389375a670b1de1a0f6acdb2027884bc5059798ad86ad4deb7795402654b3eb9edf112c3c177c7c716d55a186e48e1567f1c SHA512 4c12c0af5f94079f0da8f08dd19d99fd06c16c653b21532eba01022ed5b78afdcea2a042902fd50d0ea442483699cfdf9b10fd7f4592e3bae60abd5d2dabf657 DIST panini-0.74.0.tar.gz 329344 BLAKE2B b94f774004eeb2a1b1531d92ae69141134367c6a87665d3f83944ff38a8761a41813bc023a5ec8e61131a6e193e0bfdc10ccf7100fb0ac518619b9bf94ebeee1 SHA512 e9158040cc985f088902169a2357da1bba5bda5510acec43a8edc95f5cc8033b4f8933f2b5f1b6a651872b467abc4fc3735d1565bae8a8650abd4aa8919f27b7 -EBUILD panini-0.73.0-r1.ebuild 993 BLAKE2B 5276ff4266aea472ffa54f248be19a5d4cd58bbd7c4856ee68acda20f887f68ed86810fe1a1a50f926fa27f4b84763e4a1755c92dd17935aadde2261c4b5a6f0 SHA512 a98995b2ac5fd628eb50df5dee3524b3918ace07924593b83783fda9357da9be3a42cc0681c66d56da6cbeb7d8d8b5f30df33470bee2c3590c5515aa31cc9a61 -EBUILD panini-0.73.0.ebuild 932 BLAKE2B 5fbe549d028d54a41656c96ae48269a86a7da76074398e0ab8451f0c5736754ace52c2baaf2d912cc40fa65b01d1dfb7c160ff4815a38be2042ad8d0dd5d6cdf SHA512 43a9ce7559094d6115d4b133c4a67dc172924a61e8a2a10628dc540b4d0cb5811ddb2bf275efcd5c0b0d0e2f034cdfcb74ef06f10e9089c3d7d5105feac3690d EBUILD panini-0.74.0.ebuild 932 BLAKE2B 16ef337a96db5912a0f92cd30934ec3098b879da101d35a4b72fc4a053da8b05454ce5882a187dc37001bcd59b9b298230a6802b00201362f1e8e2feea12f620 SHA512 a75fe88aa09fc36ce899761e9364ea625f853950f357f48c43daded092e92317161ca490a3a28b2f6accd1d95c51249cee6f6f222ca1c4d611f2ca9123d030a8 MISC metadata.xml 479 BLAKE2B 6fa502982b8a147dc04dbfc3efc53ebcba952b4562c479e5738b7f66631b3624ac0720e4990c28f1b9ac7c756dff999ca582780775648c20963efbffc3343a15 SHA512 257c105a8fb5a185f7614cbf33ec56ce388eda70bd7cbd97c1fcbf573dfe628c36a8b38b5b17cb901e25b7e280c2df0e46732ec264e1bd3b1e4c09c13f7a5872 diff --git a/media-gfx/panini/files/panini-0.73.0-drop-register.patch b/media-gfx/panini/files/panini-0.73.0-drop-register.patch deleted file mode 100644 index c521c4e6dd5b..000000000000 --- a/media-gfx/panini/files/panini-0.73.0-drop-register.patch +++ /dev/null @@ -1,75 +0,0 @@ -https://github.com/lazarus-pkgs/panini/pull/16 -From: Brahmajit Das <brahmajit.xyz@gmail.com> -Date: Thu, 21 Sep 2023 09:12:45 +0000 -Subject: [PATCH] Fix C++17 does not allow register storage class specifier - -C++14 depricated register storage class and it was copletely removed -from C++17. Hence we get this build error with newer compilers like -Clang 16 and GCC 14. This patch should fix it. - -Bug: https://bugs.gentoo.org/896226 -Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> ---- a/src/GLwindow.cpp -+++ b/src/GLwindow.cpp -@@ -901,7 +901,7 @@ void GLwindow::setImgAlpha( QImage * pim, double alpha ){ - qint32 m = (int( 255 * alpha ) & 255 ) << 24; - - for( int i = pim->width() * pim->height(); i > 0; i-- ){ -- register qint32 t = *pw & 0x00ffffff; -+ qint32 t = *pw & 0x00ffffff; - *pw++ = t + m; - } - } -@@ -916,8 +916,8 @@ void GLwindow::diceImgAlpha( QImage * pim, double alpha, int dw ){ - int r = 0, c = 0, w = pim->width(); - - for( int i = w * pim->height(); i > 0; i-- ){ -- register qint32 t = *pw & 0x00ffffff; -- register int d = 1; -+ qint32 t = *pw & 0x00ffffff; -+ int d = 1; - if( dw ){ // dice... - d = ((r + c) / dw) ^ ((r + w - c) / dw); - } ---- a/src/panocylinder.cpp -+++ b/src/panocylinder.cpp -@@ -113,10 +113,10 @@ panocylinder::panocylinder( int divs ){ - double vs = 0.5 * DEG2RAD( 150 ) / double(r2); - - for( int r = 0; r < r2; r++){ -- register double t = tan( r * vs ); -- register float * pv = pv0; -- register float * pu = pv0 + 3 *( cols + r * cols ); -- register float * pl = pv0 - 3 *( cols + r * cols ); -+ double t = tan( r * vs ); -+ float * pv = pv0; -+ float * pu = pv0 + 3 *( cols + r * cols ); -+ float * pl = pv0 - 3 *( cols + r * cols ); - for( col = 0; col < cols; col++){ - *pu++ = *pv; - *pl++ = *pv++; ---- a/src/panosphere.cpp -+++ b/src/panosphere.cpp -@@ -190,7 +190,7 @@ panosphere::panosphere( int divs ){ - float * ps = verts; // -> front face - - for( int i = 0; i < ppf; i++ ){ -- register float * p = ps; -+ float * p = ps; - - p += jf; // ->top - p[0] = ps[0]; // x = x ---- a/src/pvQtView.cpp -+++ b/src/pvQtView.cpp -@@ -465,7 +465,7 @@ void pvQtView::clipEyePosition(){ - x = c * sin(azi), - y = sin(alt), - z = c * cos(azi); -- register double s = eyeDistance; -+ double s = eyeDistance; - // the cube texture is only 1 radius wide - if( picType == pvQtPic::cub ) s *= 0.5; - eyex = x * s; --- -2.42.0 - diff --git a/media-gfx/panini/panini-0.73.0-r1.ebuild b/media-gfx/panini/panini-0.73.0-r1.ebuild deleted file mode 100644 index 2edaa0d3c56e..000000000000 --- a/media-gfx/panini/panini-0.73.0-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop qmake-utils xdg-utils - -MY_P="${P/p/P}-src" -DESCRIPTION="OpenGL-based panoramic image viewer" -HOMEPAGE="https://github.com/lazarus-pkgs/panini" -SRC_URI="https://github.com/lazarus-pkgs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=" - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtopengl:5 - dev-qt/qtwidgets:5 - sys-libs/zlib - virtual/glu -" -DEPEND="${RDEPEND} - app-arch/unzip -" - -DOCS=( NEWS {BUILD,README,USAGE}.md ) - -PATCHES=( - "${FILESDIR}"/${PN}-0.73.0-drop-register.patch -) - -src_prepare() { - default - eqmake5 ${PN}.pro -} - -src_install() { - einstalldocs - dobin panini - domenu "${FILESDIR}"/${PN}.desktop - newicon ui/panini-icon-blue.jpg ${PN}.jpg -} - -pkg_postinst() { - xdg_mimeinfo_database_update - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_mimeinfo_database_update - xdg_desktop_database_update -} diff --git a/media-gfx/panini/panini-0.73.0.ebuild b/media-gfx/panini/panini-0.73.0.ebuild deleted file mode 100644 index 32106c228518..000000000000 --- a/media-gfx/panini/panini-0.73.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop qmake-utils xdg-utils - -MY_P="${P/p/P}-src" -DESCRIPTION="OpenGL-based panoramic image viewer" -HOMEPAGE="https://github.com/lazarus-pkgs/panini" -SRC_URI="https://github.com/lazarus-pkgs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=" - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtopengl:5 - dev-qt/qtwidgets:5 - sys-libs/zlib - virtual/glu -" -DEPEND="${RDEPEND} - app-arch/unzip -" - -DOCS=( NEWS {BUILD,README,USAGE}.md ) - -src_prepare() { - default - eqmake5 ${PN}.pro -} - -src_install() { - einstalldocs - dobin panini - domenu "${FILESDIR}"/${PN}.desktop - newicon ui/panini-icon-blue.jpg ${PN}.jpg -} - -pkg_postinst() { - xdg_mimeinfo_database_update - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_mimeinfo_database_update - xdg_desktop_database_update -} |