diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-02 06:31:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-02 06:31:11 +0000 |
commit | ff733bfb4d0bd82175e03255004faef8721b53ea (patch) | |
tree | c1061dbb981bc9e61d4f31b6610569711c7b482f /media-libs/libffado | |
parent | c4d4d544a37efc45bd5482e62e1fcdbe7d5993d3 (diff) |
gentoo auto-resync : 02:01:2025 - 06:31:11
Diffstat (limited to 'media-libs/libffado')
-rw-r--r-- | media-libs/libffado/Manifest | 4 | ||||
-rw-r--r-- | media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch | 11 | ||||
-rw-r--r-- | media-libs/libffado/files/libffado-2.4.8-python3.12.patch | 82 | ||||
-rw-r--r-- | media-libs/libffado/libffado-2.4.8.ebuild | 127 |
4 files changed, 0 insertions, 224 deletions
diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest index 67ed8c35f992..79020563c85f 100644 --- a/media-libs/libffado/Manifest +++ b/media-libs/libffado/Manifest @@ -1,8 +1,4 @@ -AUX libffado-2.4.7-fix-config-load-crash.patch 555 BLAKE2B bac518fa7d80dece2c5fa728e05910096d0da458afda9618b0b174521899e686ba060c9a9edec138506d279f1e799ad0c5bdd9925cb91129ca35d55cd632a15c SHA512 28c95fb7a5701c387066db7356aad52b3b33e9e5cad948b9ea578f3826e999d1552b0c1baa0c3f63748828e927137f4143c1dbd0d28db480aadb92446a0288db -AUX libffado-2.4.8-python3.12.patch 2722 BLAKE2B b9d65ea9dd9026d968e732454e4c90ed5bce577b3d262c501e24e38a8957eec7fb6541afb7edcbda1e381096b0686a0f1592e29478d8134c0f74ede775e8f5b4 SHA512 a1ac171048531573de77388dbf3a4cea4babeca71e30e77bba5ebdfeb6e45852af5376bc91bbbc5dfc69fe06f50cf0a25233e21ea6a7fb54a96e5473503f6bab AUX libffado-2.4.9-fix-config-load-crash.patch 527 BLAKE2B 8451b5085d805277fa62081157e1ecf2692ff7aed200553941e595cb567fa1c247f365e81439f70d1ce6d164aad514c6aa04dd03360770df3c456f790c2f4c06 SHA512 fffe5817298d7a59ec0c29d5970cae07ddb0b796618a6e440be606aa7d79b329a9e19d47c3d70aa483d66f723cef9abf967f8d202b102b158b75add2f2afa440 -DIST libffado-2.4.8.tgz 1237955 BLAKE2B 14b83d55fc9a7b33c888b893c808f8419292fefaa2c2239b4b51c2b84070a584ea72821c8469bb8d965a9a5e6473b6fcfb5e85f4eecd2d424e3167322f8abb81 SHA512 fbbcd30640c55315f2e65fc6c07afc71a77dd2c9d1b6127ee55cd17e76511ad5f0563135e52397dbf113fb0d5925021a38780f231409bdd920da52e6c1ce3acc DIST libffado-2.4.9.tgz 1229651 BLAKE2B ec8300066d47d685aa701316efa6831f05d678c509de341d1b74551bf8a3f04b59dcd80d592e2111670212d4056bd1c150cc23dbf43a797a915bf65ae441c85e SHA512 0a0c61cf9339ab542c85eaefbe017b7613f716ae0ed08d11a37782dd7ef5815b18256c5d1b9240f077c9f59bbf4b4878019cefbd6cab78140477bcad6a9d3e44 -EBUILD libffado-2.4.8.ebuild 2984 BLAKE2B ff2fe3977ded0906bed5e5db8b38a95e0d91be024e9dd4447e23204fb95b6d4ea3676d3449b8c6da8d7bcd055552da4ddf67755828b8ba1f94a847cd4cd7daf6 SHA512 cb9f24b04a4d8aa1248236c25f5895578f06b9bca5770db8e4f0e1f9a60cbf7f4c7f53075f4eaabfb98c10567c316454856496dbeb389b8195147e707eaf0413 EBUILD libffado-2.4.9.ebuild 2961 BLAKE2B 73a70ab20d082e27242fc7ef448651f73c7cef9b9e99e1315079abe58e15821e9871b2a86f9ed985343a53e7c0b923839e43c65b22d60e6cb7ba55576b2d81b4 SHA512 50f3f5ee61c2e3d157f0e78766b1a5f353a4754c60c5afb6c279a3f117e78ede4f0203aaad5e6ec65cb22f72e463e55a00668e6280a975965e029b63b9dcc340 MISC metadata.xml 344 BLAKE2B a7d2c27caa7e9fa72716534c406145b94bd8a13eadf57d06ea8e3148339857311bd7e8f0434edbf8a70a5e7bfec1726425e1d16734841b056caeee7754471666 SHA512 30d31f76c73ff218fa34e5f9d442e2366082bf4697038c804c093cac0e22720341691b732bf653466f8e5fc7e734c11b08a02cef7dd2a4bd93635968e2c29447 diff --git a/media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch b/media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch deleted file mode 100644 index e16629c7a47e..000000000000 --- a/media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- libffado-2.4.1-old/support/mixer-qt4/ffado/mixer/globalmixer.py -+++ libffado-2.4.1/support/mixer-qt4/ffado/mixer/globalmixer.py -@@ -96,7 +96,6 @@ class GlobalMixer(QWidget): - @pyqtSlot() - def on_txtNickname_returnPressed( self ): - if self.nickname.canChangeValue(): -- asciiData = self.txtNickname.text().toAscii() -- self.nickname.setText( asciiData.data() ) -+ self.nickname.setText( self.txtNickname.text().encode('utf-8') ) - else: - self.txtNickname.setText( self.nickname.text() ) diff --git a/media-libs/libffado/files/libffado-2.4.8-python3.12.patch b/media-libs/libffado/files/libffado-2.4.8-python3.12.patch deleted file mode 100644 index da5bdecc245d..000000000000 --- a/media-libs/libffado/files/libffado-2.4.8-python3.12.patch +++ /dev/null @@ -1,82 +0,0 @@ ---- libffado-2.4.8/SConstruct -+++ libffado-2.4.8-patched/SConstruct -@@ -977,7 +977,7 @@ else: - # Create a tags-file for easier emacs/vim-source-browsing - # I don't know if the dependency is right... - # --findcommand = "find . \( -path \"*.h\" -o -path \"*.cpp\" -o -path \"*.c\" \) \! -path \"*.svn*\" \! -path \"./doc*\" \! -path \"./cache*\"" -+findcommand = "find . \\( -path \"*.h\" -o -path \"*.cpp\" -o -path \"*.c\" \\) \\! -path \"*.svn*\" \\! -path \"./doc*\" \\! -path \"./cache*\"" - env.Command( "tags", "", findcommand + " |xargs ctags" ) - env.Command( "TAGS", "", findcommand + " |xargs etags" ) - env.AlwaysBuild( "tags", "TAGS" ) ---- libffado-2.4.8/admin/pyuic.py -+++ libffado-2.4.8-patched/admin/pyuic.py -@@ -21,7 +22,7 @@ - # along with this program. If not, see <http://www.gnu.org/licenses/>. - # - --import imp -+import importlib - - def pyuic_action( target, source, env ): - env.Execute( "pyuic " + str( source[0] ) + " > " + str( target[0] ) ) -@@ -32,11 +33,7 @@ def pyuic_string( target, source, env ): - - def PyQtCheck( context ): - context.Message( "Checking for pyuic (by checking for the python module pyqtconfig) " ) -- ret = True -- try: -- imp.find_module( "pyqtconfig" ) -- except ImportError: -- ret = False -+ ret = importlib.util.find_spec( "pyqtconfig" ) is not None - context.Result( ret ) - return ret - ---- libffado-2.4.8/admin/pyuic4.py -+++ libffado-2.4.8-patched/admin/pyuic4.py -@@ -21,7 +22,7 @@ - # along with this program. If not, see <http://www.gnu.org/licenses/>. - # - --import imp -+import importlib - - def pyuic4_action( target, source, env ): - env.Execute( "pyuic4 " + str( source[0] ) + " > " + str( target[0] ) ) -@@ -32,11 +33,7 @@ def pyuic4_string( target, source, env ): - - def PyQt4Check( context ): - context.Message( "Checking for pyuic4 (by checking for the python module pyqtconfig) " ) -- ret = True -- try: -- imp.find_module( "pyqtconfig" ) -- except ImportError: -- ret = False -+ ret = importlib.util.find_spec( "pyqtconfig" ) is not None - context.Result( ret ) - return ret - ---- libffado-2.4.8/admin/pyuic5.py -+++ libffado-2.4.8-patched/admin/pyuic5.py -@@ -22,7 +23,7 @@ - # along with this program. If not, see <http://www.gnu.org/licenses/>. - # - --import imp -+import importlib - - def pyuic5_action( target, source, env ): - env.Execute( "pyuic5 " + str( source[0] ) + " > " + str( target[0] ) ) -@@ -33,11 +34,7 @@ def pyuic5_string( target, source, env ): - - def PyQt5Check( context ): - context.Message( "Checking for pyuic5 (by checking for the python module pyqtconfig) " ) -- ret = True -- try: -- imp.find_module( "pyqtconfig" ) -- except ImportError: -- ret = False -+ ret = importlib.util.find_spec( "pyqtconfig" ) is not None - context.Result( ret ) - return ret diff --git a/media-libs/libffado/libffado-2.4.8.ebuild b/media-libs/libffado/libffado-2.4.8.ebuild deleted file mode 100644 index b462875341c1..000000000000 --- a/media-libs/libffado/libffado-2.4.8.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit desktop python-single-r1 scons-utils toolchain-funcs udev multilib-minimal - -DESCRIPTION="Driver for IEEE1394 (Firewire) audio interfaces" -HOMEPAGE="http://www.ffado.org" - -if [[ "${PV}" = "9999" ]]; then - inherit subversion - ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN}" -else - SRC_URI="http://www.ffado.org/files/${P}.tgz" - KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86" -fi - -S="${WORKDIR}/${P}/${PN}" -LICENSE="GPL-2 GPL-3" -SLOT="0" -IUSE="debug qt5 test-programs" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -BDEPEND=" - virtual/pkgconfig -" -CDEPEND="${PYTHON_DEPS} - dev-cpp/libxmlpp:2.6[${MULTILIB_USEDEP}] - >=dev-libs/dbus-c++-0.9.0-r5 - dev-libs/libconfig:=[cxx,${MULTILIB_USEDEP}] - media-libs/alsa-lib - media-libs/libiec61883[${MULTILIB_USEDEP}] - sys-apps/dbus - sys-libs/libavc1394[${MULTILIB_USEDEP}] - sys-libs/libraw1394[${MULTILIB_USEDEP}] - qt5? ( - $(python_gen_cond_dep ' - dev-python/dbus-python[${PYTHON_USEDEP}] - dev-python/pyqt5[dbus,${PYTHON_USEDEP}] - ') - x11-misc/xdg-utils - )" -DEPEND="${CDEPEND}" -RDEPEND="${CDEPEND}" - -PATCHES=( - "${FILESDIR}/libffado-2.4.7-fix-config-load-crash.patch" - "${FILESDIR}/libffado-2.4.8-python3.12.patch" -) - -myescons() { - local myesconsargs=( - PREFIX="${EPREFIX}/usr" - LIBDIR="${EPREFIX}/usr/$(get_libdir)" - MANDIR="${EPREFIX}/usr/share/man" - UDEVDIR="$(get_udevdir)/rules.d" - CUSTOM_ENV=true - DETECT_USERSPACE_ENV=false - DEBUG=$(usex debug) - PYPKGDIR="$(python_get_sitedir)" - # ENABLE_OPTIMIZATIONS detects cpu type and sets flags accordingly - # -fomit-frame-pointer is added also which can cripple debugging. - # we set flags from portage instead - ENABLE_OPTIMIZATIONS=false - # This only works for JACK1>=0.122.0 or JACK2>=1.9.9. - ENABLE_SETBUFFERSIZE_API_VER=force - ) - if multilib_is_native_abi; then - myesconsargs+=( - BUILD_MIXER=$(usex qt5 true false) - BUILD_TESTS=$(usex test-programs) - ) - else - myesconsargs+=( - BUILD_MIXER=false - BUILD_TESTS=false - ) - fi - escons "${myesconsargs[@]}" "${@}" -} - -src_prepare() { - default - - # Bug #808853 - cp "${BROOT}"/usr/share/gnuconfig/config.guess admin/ || die "Failed to update config.guess" - - # Always use Qt5 - sed -i -e 's/try:/if False:/' -e 's/except.*/else:/' support/mixer-qt4/ffado/import_pyqt.py || die - - # Bugs #658052, #659226 - sed -i -e 's/^CacheDir/#CacheDir/' SConstruct || die - - multilib_copy_sources -} - -multilib_src_compile() { - tc-export CC CXX - myescons -} - -multilib_src_install() { - myescons DESTDIR="${D}" WILL_DEAL_WITH_XDG_MYSELF="True" install -} - -multilib_src_install_all() { - einstalldocs - - python_fix_shebang "${D}" - python_optimize "${D}" - - if use qt5; then - newicon "support/xdg/hi64-apps-ffado.png" "ffado.png" - newmenu "support/xdg/ffado.org-ffadomixer.desktop" "ffado-mixer.desktop" - fi -} - -pkg_postinst() { - udev_reload -} - -pkg_postrm() { - udev_reload -} |