Merge pull request #17536 from 4fury-c3440d8/master

updates.
This commit is contained in:
Kamil ATLI
2025-10-21 11:03:20 +03:00
committed by GitHub
15 changed files with 366 additions and 125 deletions
@@ -6,12 +6,8 @@
from pisi.actionsapi import pythonmodules from pisi.actionsapi import pythonmodules
def setup():
pass
def build(): def build():
pythonmodules.compile(pyVer = '3') pythonmodules.compile(pyVer = '3')
def install(): def install():
pythonmodules.install(parameters = '--no-compile --optimize=1', pyVer = '3') pythonmodules.install(pyVer = '3')
@@ -3,7 +3,7 @@
<PISI> <PISI>
<Source> <Source>
<Name>indicator-sound-switcher</Name> <Name>indicator-sound-switcher</Name>
<Homepage>https://yktoo.com/en/software/sound-switcher-indicator/</Homepage> <Homepage>https://github.com/yktoo/indicator-sound-switcher</Homepage>
<Packager> <Packager>
<Name>PisiLinux Community</Name> <Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email> <Email>admins@pisilinux.org</Email>
@@ -11,10 +11,10 @@
<License>GPL-3</License> <License>GPL-3</License>
<IsA>app:gui</IsA> <IsA>app:gui</IsA>
<PartOf>multimedia.misc</PartOf> <PartOf>multimedia.misc</PartOf>
<Summary>Sound input/output selector indicator for Linux.</Summary> <Summary>Sound Switcher Indicator.</Summary>
<Description>It shows an icon in the indicator area or the system tray (whatever is available in your desktop environment). The icon's menu allows you to switch the current sound input and output (i.e. source ports and sink ports in PulseAudio's terms, respectively) with just two clicks.</Description> <Description>Sound input/output selector indicator for Linux.</Description>
<Archive sha1sum="710940b46b64eb40199d238725ae952b56a90e56" type="targz"> <Archive sha1sum="c6fcbcfd676728700a7a4ea77b96e3b1d6f2c3af" type="targz">
https://github.com/yktoo/indicator-sound-switcher/archive/refs/tags/v2.3.9.tar.gz https://github.com/yktoo/indicator-sound-switcher/archive/v2.3.10.1/indicator-sound-switcher-v2.3.10.1.tar.gz
</Archive> </Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>python3-setuptools</Dependency> <Dependency>python3-setuptools</Dependency>
@@ -24,8 +24,6 @@
<Package> <Package>
<Name>indicator-sound-switcher</Name> <Name>indicator-sound-switcher</Name>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>gtk3</Dependency>
<Dependency>python3</Dependency>
<Dependency>keybinder</Dependency> <Dependency>keybinder</Dependency>
<Dependency>python3-pygobject3</Dependency> <Dependency>python3-pygobject3</Dependency>
<Dependency>ayatana-libappindicator</Dependency> <Dependency>ayatana-libappindicator</Dependency>
@@ -35,12 +33,17 @@
<Path fileType="executable">/usr/bin</Path> <Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path> <Path fileType="data">/usr/share</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path>
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="4">
<Date>2025-10-19</Date>
<Version>2.3.10.1</Version>
<Comment>Version bump.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="3"> <Update release="3">
<Date>2022-07-09</Date> <Date>2022-07-09</Date>
<Version>2.3.9</Version> <Version>2.3.9</Version>
@@ -64,4 +67,3 @@
</Update> </Update>
</History> </History>
</PISI> </PISI>
+5 -10
View File
@@ -4,33 +4,28 @@
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt # See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools, cmaketools, mesontools, pisitools from pisi.actionsapi import cmaketools, mesontools, pisitools
j = ''.join([ j = ''.join([
' -DCMAKE_BUILD_TYPE=Release',
' -DCMAKE_INSTALL_PREFIX=/usr', ' -DCMAKE_INSTALL_PREFIX=/usr',
' -DCMAKE_INSTALL_LIBDIR=lib', ' -DCMAKE_INSTALL_LIBDIR=lib',
' -DCMAKE_C_COMPILER=gcc',
' -DCMAKE_CXX_COMPILER=g++',
' -DUNIX_STRUCTURE=ON', ' -DUNIX_STRUCTURE=ON',
' -DOpenGL_GL_PREFERENCE=GLVND', ' -DOpenGL_GL_PREFERENCE=GLVND',
' -DBUILD_VST=ON', ' -DBUILD_VST=ON',
' -DENABLE_{AJA,VLC,BROWSER}=OFF', ' -DENABLE_{AJA,VLC,WEBSOCKET}=OFF',
' -DENABLE_JACK=ON', ' -DENABLE_JACK=ON',
' -DENABLE_LIBFDK=ON', ' -DENABLE_LIBFDK=ON',
' -DENABLE_NEW_MPEGTS_OUTPUT=ON', ' -DENABLE_NEW_MPEGTS_OUTPUT=ON',
' -B_build -G Ninja -L ' ' -Bbuild -G Ninja -L '
]) ])
def setup(): def setup():
for b in ["browser", "websocket"]:
shelltools.touch("plugins/obs-%s/CMakeLists.txt" % b)
cmaketools.configure(j) cmaketools.configure(j)
def build(): def build():
mesontools.build("-C _build") mesontools.build()
def install(): def install():
mesontools.install("-C _build") mesontools.install()
pisitools.dodoc("AUTHORS", "COPYING") pisitools.dodoc("AUTHORS", "COPYING")
+10 -7
View File
@@ -12,15 +12,14 @@
<IsA>app:gui</IsA> <IsA>app:gui</IsA>
<Summary>Open Broadcaster Software.</Summary> <Summary>Open Broadcaster Software.</Summary>
<Description>Free and open source software for video recording and live streaming.</Description> <Description>Free and open source software for video recording and live streaming.</Description>
<Archive sha1sum="e32c15a9a2e089139cfebd5da80e98cddbde5ee4" type="targz">https://github.com/obsproject/obs-studio/archive/31.0.1/obs-studio-31.0.1.tar.gz</Archive> <Archive sha1sum="092333389ae25315fce84418f65312b5d2340495" type="targz">https://github.com/obsproject/obs-studio/releases/download/32.0.1/OBS-Studio-32.0.1-Sources.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>swig</Dependency> <Dependency>swig</Dependency>
<Dependency>cmake</Dependency> <Dependency>cmake</Dependency>
<Dependency>ninja</Dependency> <Dependency>ninja</Dependency>
<Dependency>SIMDe</Dependency>
<Dependency>uthash</Dependency> <Dependency>uthash</Dependency>
<Dependency>vlc-libs</Dependency>
<Dependency>srt-devel</Dependency> <Dependency>srt-devel</Dependency>
<Dependency>vlc-devel</Dependency>
<Dependency>lua-devel</Dependency> <Dependency>lua-devel</Dependency>
<Dependency>pkgconfig</Dependency> <Dependency>pkgconfig</Dependency>
<Dependency>ffnvcodec</Dependency> <Dependency>ffnvcodec</Dependency>
@@ -37,7 +36,6 @@
<Dependency>libX11-devel</Dependency> <Dependency>libX11-devel</Dependency>
<Dependency>libv4l-devel</Dependency> <Dependency>libv4l-devel</Dependency>
<Dependency>libxcb-devel</Dependency> <Dependency>libxcb-devel</Dependency>
<Dependency>libmfx-devel</Dependency>
<Dependency>onevpl-devel</Dependency> <Dependency>onevpl-devel</Dependency>
<Dependency>librist-devel</Dependency> <Dependency>librist-devel</Dependency>
<Dependency>qt6-svg-devel</Dependency> <Dependency>qt6-svg-devel</Dependency>
@@ -61,6 +59,7 @@
<Dependency>libfdk-aac-devel</Dependency> <Dependency>libfdk-aac-devel</Dependency>
<Dependency>fontconfig-devel</Dependency> <Dependency>fontconfig-devel</Dependency>
<Dependency>libXcomposite-devel</Dependency> <Dependency>libXcomposite-devel</Dependency>
<Dependency>extra-cmake-modules</Dependency>
<Dependency>libdatachannel-devel</Dependency> <Dependency>libdatachannel-devel</Dependency>
<Dependency>pulseaudio-libs-devel</Dependency> <Dependency>pulseaudio-libs-devel</Dependency>
<Dependency>jack-audio-connection-kit-devel</Dependency> <Dependency>jack-audio-connection-kit-devel</Dependency>
@@ -87,7 +86,6 @@
<Dependency>libgcc</Dependency> <Dependency>libgcc</Dependency>
<Dependency>libv4l</Dependency> <Dependency>libv4l</Dependency>
<Dependency>libxcb</Dependency> <Dependency>libxcb</Dependency>
<Dependency>libmfx</Dependency>
<Dependency>onevpl</Dependency> <Dependency>onevpl</Dependency>
<Dependency>librist</Dependency> <Dependency>librist</Dependency>
<Dependency>qt6-svg</Dependency> <Dependency>qt6-svg</Dependency>
@@ -102,7 +100,6 @@
<Dependency>freetype</Dependency> <Dependency>freetype</Dependency>
<Dependency>libglvnd</Dependency> <Dependency>libglvnd</Dependency>
<Dependency>pipewire</Dependency> <Dependency>pipewire</Dependency>
<Dependency>vlc-libs</Dependency>
<Dependency>qt6-base</Dependency> <Dependency>qt6-base</Dependency>
<Dependency>libXfixes</Dependency> <Dependency>libXfixes</Dependency>
<Dependency>fontconfig</Dependency> <Dependency>fontconfig</Dependency>
@@ -125,7 +122,6 @@
<Name>obs-studio-devel</Name> <Name>obs-studio-devel</Name>
<Summary>Development files for obs-studio</Summary> <Summary>Development files for obs-studio</Summary>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>libX11-devel</Dependency>
<Dependency release="current">obs-studio</Dependency> <Dependency release="current">obs-studio</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
@@ -136,6 +132,13 @@
</Package> </Package>
<History> <History>
<Update release="16">
<Date>2025-10-19</Date>
<Version>32.0.1</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="15"> <Update release="15">
<Date>2025-02-06</Date> <Date>2025-02-06</Date>
<Version>31.0.1</Version> <Version>31.0.1</Version>
+8 -1
View File
@@ -12,7 +12,7 @@
<IsA>library</IsA> <IsA>library</IsA>
<Summary>Secure Real-time Transport Protocol implementation.</Summary> <Summary>Secure Real-time Transport Protocol implementation.</Summary>
<Description>This package provides an implementation of the Secure Real-time Transport Protocol (SRTP), the Universal Security Transform (UST), and a supporting cryptographic kernel.</Description> <Description>This package provides an implementation of the Secure Real-time Transport Protocol (SRTP), the Universal Security Transform (UST), and a supporting cryptographic kernel.</Description>
<Archive sha1sum="28802cb78a4c389b048d33faf188eb341993136c" type="targz">https://github.com/cisco/libsrtp/archive/v2.6.0/libsrtp-2.6.0.tar.gz</Archive> <Archive sha1sum="2a037ac5d60c42304ca3631687f66f9f4fecc98f" type="targz">https://github.com/cisco/libsrtp/archive/v2.7.0/libsrtp-2.7.0.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>nss-devel</Dependency> <Dependency>nss-devel</Dependency>
<Dependency>zlib-devel</Dependency> <Dependency>zlib-devel</Dependency>
@@ -51,6 +51,13 @@
</Package> </Package>
<History> <History>
<Update release="4">
<Date>2025-10-19</Date>
<Version>2.7.0</Version>
<Comment>Version bump.</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="3"> <Update release="3">
<Date>2025-02-06</Date> <Date>2025-02-06</Date>
<Version>2.6.0</Version> <Version>2.6.0</Version>
+8 -1
View File
@@ -12,7 +12,7 @@
<PartOf>network.misc</PartOf> <PartOf>network.misc</PartOf>
<Summary>C/C++ WebRTC network library.</Summary> <Summary>C/C++ WebRTC network library.</Summary>
<Description>C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets.</Description> <Description>C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets.</Description>
<Archive sha1sum="e5a6dc67d63551af53ae95c238ba8a874df61c46" type="targz">https://github.com/paullouisageneau/libdatachannel/archive/v0.22.4/libdatachannel-0.22.4.tar.gz</Archive> <Archive sha1sum="e55785fe1f9abd0856e8e13f7171fa1871c41474" type="targz">https://github.com/paullouisageneau/libdatachannel/archive/v0.23.2/libdatachannel-0.23.2.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>plog</Dependency> <Dependency>plog</Dependency>
<Dependency>cmake</Dependency> <Dependency>cmake</Dependency>
@@ -58,6 +58,13 @@
</Package> </Package>
<History> <History>
<Update release="2">
<Date>2025-10-19</Date>
<Version>0.23.2</Version>
<Comment>Version bump.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="1"> <Update release="1">
<Date>2025-02-06</Date> <Date>2025-02-06</Date>
<Version>0.22.4</Version> <Version>0.22.4</Version>
+8 -1
View File
@@ -12,7 +12,7 @@
<PartOf>network.misc</PartOf> <PartOf>network.misc</PartOf>
<Summary>JUICE is a UDP Interactive Connectivity Establishment library.</Summary> <Summary>JUICE is a UDP Interactive Connectivity Establishment library.</Summary>
<Description>libjuice allows to open bidirectionnal User Datagram Protocol (UDP) streams with Network Address Translator (NAT) traversal.</Description> <Description>libjuice allows to open bidirectionnal User Datagram Protocol (UDP) streams with Network Address Translator (NAT) traversal.</Description>
<Archive sha1sum="6ccc858b7ad78e42b18fab17ab2e08dd22709222" type="targz">https://github.com/paullouisageneau/libjuice/archive/v1.5.8/libjuice-1.5.8.tar.gz</Archive> <Archive sha1sum="73501c157cd1bba5ac013a1bbe8f13d5025e0a2b" type="targz">https://github.com/paullouisageneau/libjuice/archive/v1.6.2/libjuice-1.6.2.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>cmake</Dependency> <Dependency>cmake</Dependency>
<Dependency>ninja</Dependency> <Dependency>ninja</Dependency>
@@ -42,6 +42,13 @@
</Package> </Package>
<History> <History>
<Update release="2">
<Date>2025-10-19</Date>
<Version>1.6.2</Version>
<Comment>Version bump.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="1"> <Update release="1">
<Date>2025-02-06</Date> <Date>2025-02-06</Date>
<Version>1.5.8</Version> <Version>1.5.8</Version>
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import mesontools
def setup():
mesontools.configure("-Dtests=false")
def build():
mesontools.build()
def install():
mesontools.install()
+43
View File
@@ -0,0 +1,43 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>SIMDe</Name>
<Homepage>https://github.com/simd-everywhere/simde</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<PartOf>programming.misc</PartOf>
<Summary>Implementations of SIMD instruction sets for systems which don't natively support them.</Summary>
<Description>The SIMDe header-only library provides fast, portable implementations of SIMD intrinsics on hardware which doesn't natively support them.</Description>
<Archive sha1sum="3b86b4563fa6d11ea5a00e0b658d0a995e81389f" type="targz">
https://github.com/simd-everywhere/simde/archive/v0.8.2/simde-v0.8.2.tar.gz
</Archive>
<BuildDependencies>
<Dependency>meson</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1"></Patch> -->
</Patches>
</Source>
<Package>
<Name>SIMDe</Name>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2025-10-19</Date>
<Version>0.8.2</Version>
<Comment>First release.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
+14 -12
View File
@@ -2,25 +2,27 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import cmaketools from pisi.actionsapi import cmaketools
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import get
j = ''.join([
' -DCMAKE_INSTALL_PREFIX=/usr',
' -DCMAKE_INSTALL_DOCDIR=share/doc/onetbb',
' -DTBB4PY_BUILD=ON',
' -DTBB_TEST=OFF',
' -Bbuild -G Ninja -L '
])
def setup(): def setup():
shelltools.makedirs("build") cmaketools.configure(j)
shelltools.cd("build")
cmaketools.configure("CMAKE_INSTALL_PREFIX=/usr -D TBB_STRICT=OFF -D TBB4PY_BUILD=ON", sourceDir="..")
def build(): def build():
cmaketools.make("-B build") mesontools.build()
def install(): def install():
shelltools.cd("build") mesontools.install()
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
# pisitools.dodoc("COPYING", "README")
pisitools.dodoc("LICENSE.txt")
+15 -10
View File
@@ -3,27 +3,26 @@
<PISI> <PISI>
<Source> <Source>
<Name>onetbb</Name> <Name>onetbb</Name>
<Homepage>https://oneapi-src.github.io/oneTBB/</Homepage> <Homepage>https://uxlfoundation.github.io/oneTBB/</Homepage>
<Packager> <Packager>
<Name>Kamil Atlı</Name> <Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email> <Email>suvari@pisilinux.org</Email>
</Packager> </Packager>
<License>Apache</License> <License>Apache-v2.0</License>
<IsA>library</IsA> <IsA>library</IsA>
<Icon>onetbb</Icon> <Icon>onetbb</Icon>
<Summary>oneAPI Threading Building Blocks (oneTBB)</Summary> <Summary>oneAPI Threading Building Blocks.</Summary>
<Description>oneTBB is a flexible C++ library that simplifies the work of adding parallelism to complex applications, even if you are not a threading expert. The library lets you easily write parallel programs that take full advantage of the multi-core performance. Such programs are portable, composable and have a future-proof scalability. oneTBB provides you with functions, interfaces, and classes to parallelize and scale the code. All you have to do is to use the templates.</Description> <Description>A flexible C++ library that simplifies the work of adding parallelism to complex applications.</Description>
<Archive sha1sum="be220f9120bcd425e479a151438a20e678d9655f" type="targz">https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2022.0.0.tar.gz</Archive> <Archive sha1sum="c806a9a50fe6b19f50090b2d61581a0574b0a332" type="targz">https://github.com/uxlfoundation/oneTBB/archive/v2022.2.0/oneTBB-v2022.2.0.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>swig</Dependency> <Dependency>swig</Dependency>
<Dependency>ninja</Dependency> <Dependency>ninja</Dependency>
<Dependency>cmake</Dependency> <Dependency>cmake</Dependency>
<!-- <Dependency>inetutils</Dependency> -->
<Dependency>hwloc-devel</Dependency> <Dependency>hwloc-devel</Dependency>
<Dependency>python3-devel</Dependency> <Dependency>python3-devel</Dependency>
</BuildDependencies> </BuildDependencies>
<Patches> <Patches>
<!-- <Patch>patch</Patch> --> <!-- <Patch level="1"></Patch> -->
</Patches> </Patches>
</Source> </Source>
@@ -32,7 +31,6 @@
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>hwloc</Dependency> <Dependency>hwloc</Dependency>
<Dependency>libgcc</Dependency> <Dependency>libgcc</Dependency>
<!-- <Dependency>inetutils</Dependency> -->
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
@@ -58,8 +56,8 @@
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="header">/usr/include</Path> <Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path> <Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="library">/usr/lib/cmake/TBB</Path> <Path fileType="data">/usr/lib/cmake/TBB</Path>
</Files> </Files>
<Replaces> <Replaces>
<Package>intel-tbb-devel</Package> <Package>intel-tbb-devel</Package>
@@ -70,6 +68,13 @@
</Package> </Package>
<History> <History>
<Update release="3">
<Date>2025-10-21</Date>
<Version>2022.2.0</Version>
<Comment>Version bump.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
<Update release="2"> <Update release="2">
<Date>2024-11-14</Date> <Date>2024-11-14</Date>
<Version>2022.0.0</Version> <Version>2022.0.0</Version>
+4 -8
View File
@@ -1,22 +1,18 @@
#!/usr/bin/env python #!/usr/bin/python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get from pisi.actionsapi import get
def setup(): def setup():
shelltools.system("./autogen.sh") autotools.autoreconf("-isf")
autotools.configure() autotools.configure("--disable-doc --disable-examples --disable-static")
def build(): def build():
autotools.make() autotools.make()
def install(): def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR()) autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING", "README")
@@ -0,0 +1,144 @@
From 372f7b4b76cde4ca1ec4605353dd17898a99de38 Mon Sep 17 00:00:00 2001
From: "Timothy B. Terriberry" <tterribe@xiph.org>
Date: Mon, 15 Apr 2024 11:27:25 -0700
Subject: [PATCH] Fix compilation errors.
vec_avx.h needs x86cpu.h, and x86cpu.h needs to detect SSE2 (or
greater) without the Opus macros.
Also, nobody was defining OPUS_CLEAR (but several things were
including the non-existent os_support.h where it is defined in
libopus), so replace those calls with RNN_CLEAR and remove the
erroneous includes.
Take the opportunity to hoist OPUS_GNUC_PREREQ to common.h, too,
since it is needed in multiple places now.
Fixes GitHub #222
---
src/common.h | 8 ++++++++
src/vec.h | 9 ++++-----
src/vec_avx.h | 2 +-
src/vec_neon.h | 5 +++--
src/x86/x86cpu.h | 4 ++--
5 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/src/common.h b/src/common.h
index 5005bff..f9095ca 100644
--- a/src/common.h
+++ b/src/common.h
@@ -43,6 +43,14 @@ static RNN_INLINE void rnnoise_free (void *ptr)
#define RNN_CLEAR(dst, n) (memset((dst), 0, (n)*sizeof(*(dst))))
#endif
+# if !defined(OPUS_GNUC_PREREQ)
+# if defined(__GNUC__)&&defined(__GNUC_MINOR__)
+# define OPUS_GNUC_PREREQ(_maj,_min) \
+ ((__GNUC__<<16)+__GNUC_MINOR__>=((_maj)<<16)+(_min))
+# else
+# define OPUS_GNUC_PREREQ(_maj,_min) 0
+# endif
+# endif
#endif
diff --git a/src/vec.h b/src/vec.h
index 8e96cbf..71b7afb 100644
--- a/src/vec.h
+++ b/src/vec.h
@@ -30,6 +30,7 @@
#define VEC_H
#include "opus_types.h"
+#include "common.h"
#include <math.h>
#include "arch.h"
#include "x86/x86_arch_macros.h"
@@ -41,8 +42,6 @@
#include "vec_neon.h"
#else
-#include "os_support.h"
-
#define MAX_INPUTS (2048)
#define NO_OPTIMIZATIONS
@@ -50,7 +49,7 @@
static inline void sgemv16x1(float *out, const float *weights, int rows, int cols, int col_stride, const float *x)
{
int i, j;
- OPUS_CLEAR(out, rows);
+ RNN_CLEAR(out, rows);
for (i=0;i<rows;i+=16)
{
for (j=0;j<cols;j++)
@@ -84,7 +83,7 @@ static inline void sgemv16x1(float *out, const float *weights, int rows, int col
static inline void sgemv8x1(float *out, const float *weights, int rows, int cols, int col_stride, const float *x)
{
int i, j;
- OPUS_CLEAR(out, rows);
+ RNN_CLEAR(out, rows);
for (i=0;i<rows;i+=8)
{
for (j=0;j<cols;j++)
@@ -124,7 +123,7 @@ static inline void sgemv(float *out, const float *weights, int rows, int cols, i
static inline void sparse_sgemv8x4(float *out, const float *w, const int *idx, int rows, const float *x)
{
int i, j;
- OPUS_CLEAR(out, rows);
+ RNN_CLEAR(out, rows);
for (i=0;i<rows;i+=8)
{
int cols;
diff --git a/src/vec_avx.h b/src/vec_avx.h
index b73a353..a5040b4 100644
--- a/src/vec_avx.h
+++ b/src/vec_avx.h
@@ -34,7 +34,7 @@
#include <immintrin.h>
#include <math.h>
-/*#include "celt/x86/x86cpu.h"*/
+#include "x86/x86cpu.h"
#define MAX_INPUTS (2048)
diff --git a/src/vec_neon.h b/src/vec_neon.h
index e6432e2..31b736c 100644
--- a/src/vec_neon.h
+++ b/src/vec_neon.h
@@ -32,7 +32,8 @@
#define VEC_NEON_H
#include <arm_neon.h>
-#include "os_support.h"
+#include "opus_types.h"
+#include "common.h"
#if defined(__arm__) && !defined(__aarch64__) && (__ARM_ARCH < 8 || !defined(__clang__))
/* Emulate vcvtnq_s32_f32() for ARMv7 Neon. */
@@ -302,7 +303,7 @@ static inline void sgemv(float *out, const float *weights, int rows, int cols, i
static inline void sparse_sgemv8x4(float *out, const float *w, const int *idx, int rows, const float *x)
{
int i, j;
- OPUS_CLEAR(out, rows);
+ RNN_CLEAR(out, rows);
for (i=0;i<rows;i+=8)
{
int cols;
diff --git a/src/x86/x86cpu.h b/src/x86/x86cpu.h
index 97dcdbd..e214aba 100644
--- a/src/x86/x86cpu.h
+++ b/src/x86/x86cpu.h
@@ -36,8 +36,8 @@
int opus_select_arch(void);
# endif
-# if defined(OPUS_X86_MAY_HAVE_SSE2)
-# include "opus_defines.h"
+# if defined(__SSE2__)
+# include "common.h"
/*MOVD should not impose any alignment restrictions, but the C standard does,
and UBSan will report errors if we actually make unaligned accesses.
--
GitLab
+18 -7
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd"> <!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI> <PISI>
<Source> <Source>
<Name>rnnoise</Name> <Name>rnnoise</Name>
@@ -8,11 +8,16 @@
<Name>Pisi Linux Admins</Name> <Name>Pisi Linux Admins</Name>
<Email>admin@pisilinux.org</Email> <Email>admin@pisilinux.org</Email>
</Packager> </Packager>
<License>custom</License> <License>BSD-3-Clause</License>
<IsA>library</IsA> <IsA>library</IsA>
<Summary> Recurrent neural network for audio noise reduction</Summary> <Summary>Recurrent neural network for audio noise reduction.</Summary>
<Description>Ses gürültüsünü azaltmak için tekrarlayan sinir ağı </Description> <Description>RNNoise is a noise suppression library based on a recurrent neural network.</Description>
<Archive sha1sum="24a376e72a894fa287b0dda6f84e212a3a606ba1" type="targz">https://gitlab.xiph.org/xiph/rnnoise/-/archive/7f449bf8bd3b933891d12c30112268c4090e4d59/rnnoise-7f449bf8bd3b933891d12c30112268c4090e4d59.tar.gz</Archive> <Archive sha1sum="60c07d16c43198dc0f2223a9de5d9adb6071f67f" type="tarbz2">https://gitlab.xiph.org/xiph/rnnoise/-/archive/v0.2/rnnoise-v0.2.tar.bz2</Archive>
<Archive sha1sum="83c519ec81fcfcf5c225ece1cc59325d8105867a" target="rnnoise-v0.2" type="targz">https://media.xiph.org/rnnoise/models/rnnoise_data-0b50c45.tar.gz</Archive>
<Patches>
<!-- <Patch level="1"></Patch> -->
<Patch level="1">Compilation_error.patch</Patch>
</Patches>
</Source> </Source>
<Package> <Package>
@@ -20,7 +25,6 @@
<Files> <Files>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path> <Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files> </Files>
</Package> </Package>
@@ -32,11 +36,18 @@
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="header">/usr/include</Path> <Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path> <Path fileType="data">/usr/lib/pkgconfig</Path>
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="2">
<Date>2025-10-19</Date>
<Version>0.2</Version>
<Comment>Version bump.</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="1"> <Update release="1">
<Date>2021-09-23</Date> <Date>2021-09-23</Date>
<Version>0.4.1</Version> <Version>0.4.1</Version>
+8 -1
View File
@@ -13,7 +13,7 @@
<IsA>app</IsA> <IsA>app</IsA>
<Summary>Plank reloaded. Still stupidly simple.</Summary> <Summary>Plank reloaded. Still stupidly simple.</Summary>
<Description>A simplest dock. Also it is library which can be extended to create other dock programs with more advanced features.</Description> <Description>A simplest dock. Also it is library which can be extended to create other dock programs with more advanced features.</Description>
<Archive sha1sum="105fe79122f50b60ece63c5ef41cff3947f83118" type="targz">https://github.com/zquestz/plank-reloaded/archive/0.11.139/plank-reloaded-0.11.139.tar.gz</Archive> <Archive sha1sum="eba5e255c8b8aac0c4fa514565bfa508cb7d2eb0" type="targz">https://github.com/zquestz/plank-reloaded/archive/0.11.153/plank-reloaded-0.11.153.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>meson</Dependency> <Dependency>meson</Dependency>
<Dependency>atk-devel</Dependency> <Dependency>atk-devel</Dependency>
@@ -91,6 +91,13 @@
</Package> </Package>
<History> <History>
<Update release="8">
<Date>2025-10-19</Date>
<Version>0.11.153</Version>
<Comment>Version bump.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
<Update release="7"> <Update release="7">
<Date>2025-06-28</Date> <Date>2025-06-28</Date>
<Version>0.11.139</Version> <Version>0.11.139</Version>