[libfreeaptx] 0.1.1 sources
by Gergely Gombos
commit dcd328b15423eb4c1bd79b5416cef5fd17c91435
Author: Gergely Gombos <gombosg(a)disroot.org>
Date: Thu Sep 23 09:29:32 2021 +0200
0.1.1 sources
.gitignore | 1 +
sources | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2bac5df 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/0.1.1.tar.gz
diff --git a/sources b/sources
index e69de29..c8a3c69 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (0.1.1.tar.gz) = 53dd7f348120fea0425b365f26668925dd435a8a3a0c5e98476764a452c7d729f2a3556e953c557d0ccaaa65391265c8c3c61fc29377cf60079fa0bed2cc20b1
3 years, 2 months
[libfreeaptx] 0.1.1 initial
by Gergely Gombos
commit 005a8f45f1e1e47427660eedfbca5351bdde56c8
Author: Gergely Gombos <gombosg(a)disroot.org>
Date: Thu Sep 23 09:27:59 2021 +0200
0.1.1 initial
libfreeaptx.spec | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
---
diff --git a/libfreeaptx.spec b/libfreeaptx.spec
new file mode 100644
index 0000000..2f843b5
--- /dev/null
+++ b/libfreeaptx.spec
@@ -0,0 +1,67 @@
+%global sonamebase 0
+
+Name: libfreeaptx
+Version: %{sonamebase}.1.1
+Release: 2%{?dist}
+Summary: Open Source implementation of Audio Processing Technology codec (aptX)
+
+License: LGPLv2+
+URL: https://github.com/iamthehorker/%{name}
+Source0: %{url}/archive/%{version}.tar.gz
+
+BuildRequires: gcc
+BuildRequires: make
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%package tools
+Summary: %{name} encoder and decoder utilities
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description
+This is Open Source implementation of Audio Processing Technology codec (aptX)
+derived from ffmpeg 4.0 project and licensed under LGPLv2.1+. This codec is
+mainly used in Bluetooth A2DP profile.
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%description tools
+The %{name}-tools package contains openaptxenc encoder and openaptxdec decoder
+command-line utilities.
+
+%prep
+%autosetup
+
+%build
+# Skip building static binaries
+# Environment variable CFLAGS are overridden in makefile so we override that
+%make_build STATIC_UTILITIES= LDFLAGS="%{build_ldflags}" CFLAGS="%{optflags}"
+
+%install
+# Skip build in install phase
+%make_install PREFIX= LIBDIR="%{_libdir}" INCDIR="%{_includedir}" BINDIR="%{_bindir}"
+
+%files
+%license COPYING
+%{_libdir}/%{name}.so.%{sonamebase}
+%{_libdir}/%{name}.so.%{version}
+
+%files devel
+%{_libdir}/%{name}.so
+%{_includedir}/freeaptx.h
+%{_libdir}/pkgconfig/%{name}.pc
+
+%files tools
+%{_bindir}/freeaptxenc
+%{_bindir}/freeaptxdec
+
+%changelog
+* Wed Sep 22 2021 Gergely Gombos <gombosg(a)disroot.org> - 0.1.1-2
+- Review fixes
+
+* Tue Sep 21 2021 Gergely Gombos <gombosg(a)disroot.org> - 0.1.1-1
+- Initial packaging
3 years, 2 months
[deadbeef/f33] (2 commits) ...Add patch file.
by Vasiliy Glazov
Summary of changes:
58c9100... Fix segfault 0 bytes stack allocation. (*)
5e610dc... Add patch file. (*)
(*) This commit already existed in another branch; no separate mail sent
3 years, 2 months
[deadbeef/f34] (2 commits) ...Add patch file.
by Vasiliy Glazov
Summary of changes:
58c9100... Fix segfault 0 bytes stack allocation. (*)
5e610dc... Add patch file. (*)
(*) This commit already existed in another branch; no separate mail sent
3 years, 2 months
[deadbeef/f35] Add patch file.
by Vasiliy Glazov
Summary of changes:
5e610dc... Add patch file. (*)
(*) This commit already existed in another branch; no separate mail sent
3 years, 2 months
[deadbeef] Add patch file.
by Vasiliy Glazov
commit 5e610dc60badcd71e43fa536585a4d7baca9a8fa
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Thu Sep 23 08:43:11 2021 +0300
Add patch file.
segfault_fix.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/segfault_fix.patch b/segfault_fix.patch
new file mode 100644
index 0000000..4bc4454
--- /dev/null
+++ b/segfault_fix.patch
@@ -0,0 +1,12 @@
+diff -uNdr deadbeef-1.8.8_orig/tf.c deadbeef-1.8.8_new/tf.c
+--- deadbeef-1.8.8_orig/tf.c 2021-08-01 20:00:05.000000000 +0300
++++ deadbeef-1.8.8_new/tf.c 2021-09-23 08:28:45.589428627 +0300
+@@ -3650,7 +3650,7 @@
+
+ c.i = script;
+
+- uint8_t code[strlen(script) * 3];
++ uint8_t code[strlen(script) * 3 + 1];
+ memset (code, 0, sizeof (code));
+
+ c.o = code;
3 years, 2 months
[deadbeef] Fix segfault 0 bytes stack allocation.
by Vasiliy Glazov
commit 58c9100e9d4d52316e9eaec1112bf93452f3864d
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Thu Sep 23 08:40:05 2021 +0300
Fix segfault 0 bytes stack allocation.
deadbeef.spec | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/deadbeef.spec b/deadbeef.spec
index 5859e4a..8d845fe 100644
--- a/deadbeef.spec
+++ b/deadbeef.spec
@@ -6,7 +6,7 @@
Name: deadbeef
Version: 1.8.8
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: An audio player for GNU/Linux
Summary(ru): Музыкальный проигрыватель для GNU/Linux
@@ -14,6 +14,9 @@ License: GPLv2+ and LGPLv2+ and BSD and MIT and zlib
URL: https://deadbeef.sourceforge.io/
Source0: https://github.com/DeaDBeeF-Player/%{name}/archive/%{version}.tar.gz
Source1: https://github.com/DeaDBeeF-Player/mp4p/archive/%{mp4p_commit}/mp4p-%{mp4...
+# Fix segfault
+# https://github.com/DeaDBeeF-Player/deadbeef/issues/2664
+Patch0: segfault_fix.patch
# Build for armv7hl failed
# https://github.com/DeaDBeeF-Player/deadbeef/issues/2538
@@ -84,7 +87,7 @@ This package contains plugins for %{name}
%prep
-%autosetup
+%autosetup -p1
tar -xvf %{SOURCE1}
mv mp4p-%{mp4p_commit}/* external/mp4p
@@ -151,6 +154,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%changelog
+* Thu Sep 23 2021 Vasiliy N. Glazov <vascom2(a)gmail.com> - 1.8.8-2
+- Fix segfault 0 bytes stack allocation
+
* Thu Aug 05 2021 Vasiliy N. Glazov <vascom2(a)gmail.com> - 1.8.8-1
- Update to 1.8.8
3 years, 2 months