[pulseaudio-module-bluetooth-freeworld] fix: hardcoded library name
by Gergely Gombos
commit 507232318b02d9ea5dd13376cd80c549933c2b52
Author: Gergely Gombos <gombosg(a)disroot.org>
Date: Tue Feb 8 15:44:31 2022 +0100
fix: hardcoded library name
ffmpeg5_libavcodec.patch | 9 +++++++++
ffmpeg5_libavutil.patch | 5 ++---
pulseaudio-module-bluetooth-freeworld.spec | 10 +++++++---
3 files changed, 18 insertions(+), 6 deletions(-)
---
diff --git a/ffmpeg5_libavcodec.patch b/ffmpeg5_libavcodec.patch
new file mode 100644
index 0000000..ff00333
--- /dev/null
+++ b/ffmpeg5_libavcodec.patch
@@ -0,0 +1,9 @@
+--- ./src/modules/bluetooth/a2dp/ffmpeg_libs.c
++++ ./src/modules/bluetooth/a2dp/ffmpeg_libs.c
+@@ -35,7 +35,6 @@
+ #include "ffmpeg_libs.h"
+
+ static const char *AVCODEC_LIB_NAMES[] = {
+- "libavcodec.so.58",
+ "libavcodec.so"
+ };
diff --git a/ffmpeg5_libavutil.patch b/ffmpeg5_libavutil.patch
index f420981..d28ff7f 100644
--- a/ffmpeg5_libavutil.patch
+++ b/ffmpeg5_libavutil.patch
@@ -1,5 +1,5 @@
---- ./src/modules/bluetooth/a2dp/a2dp_aptx.c 2022-02-07 10:26:58.804788966 +0100
-+++ ./src/modules/bluetooth/a2dp/a2dp_aptx.c 2022-02-07 10:27:56.430759427 +0100
+--- ./src/modules/bluetooth/a2dp/a2dp_aptx.c
++++ ./src/modules/bluetooth/a2dp/a2dp_aptx.c
@@ -23,6 +23,7 @@
#include <libavcodec/avcodec.h>
@@ -7,4 +7,3 @@
+#include <libavutil/channel_layout.h>
#include <pulse/xmalloc.h>
-
diff --git a/pulseaudio-module-bluetooth-freeworld.spec b/pulseaudio-module-bluetooth-freeworld.spec
index dcf1a3f..8953afe 100644
--- a/pulseaudio-module-bluetooth-freeworld.spec
+++ b/pulseaudio-module-bluetooth-freeworld.spec
@@ -9,7 +9,7 @@
Name: pulseaudio-module-bluetooth-freeworld
Summary: Bluetooth support for the PulseAudio sound server, supports aptX, LDAC codecs
Version: 1.4
-Release: 10%{?snap:.%{snap}git%{shortcommit}}%{?dist}
+Release: 11%{?snap:.%{snap}git%{shortcommit}}%{?dist}
License: GPLv3
URL: https://github.com/EHfive/pulseaudio-modules-bt/
@@ -33,6 +33,7 @@ Source0: %{url}/archive/v%{version}/%{bt_archivename}.tar.gz
Source1: http://freedesktop.org/software/pulseaudio/releases/%{pa_archivename}.tar.xz
Patch0: ffmpeg5_libavutil.patch
+Patch1: ffmpeg5_libavcodec.patch
Provides: pulseaudio-module-bluetooth = %{pa_version}-100
Conflicts: pulseaudio-module-bluetooth < %{pa_version}-100
@@ -73,8 +74,8 @@ Includes support for LDAC, aptX, aptX-HD and AAC codecs.
rm -rf pa
mv %{pa_archivename} pa
-ls
-%patch0 -p1 -b .ffmpeg5
+%patch0 -p1 -b .ffmpeg5_libavutil
+%patch1 -p1 -b .ffmpeg5_libavcodec
%build
%cmake3
@@ -91,6 +92,9 @@ ls
%{_libdir}/pulse-%{pa_major}/modules/module-bluetooth-policy.so
%changelog
+* Tue Feb 08 2022 Gergely Gombos <gombosg(a)disroot.org> - 1.4-11
+- Patch hardcoded library name
+
* Mon Feb 07 2022 Gergely Gombos <gombosg(a)disroot.org> - 1.4-10
- Disable rpath
2 years, 10 months
[VirtualBox] Rebuild for libvpx
by Leigh Scott
commit 84bf3bb570e4bf165c9d192fce1dbdbe80a62afb
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Tue Feb 8 08:01:30 2022 +0000
Rebuild for libvpx
VirtualBox.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/VirtualBox.spec b/VirtualBox.spec
index f58c4c0..ceb07a1 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -43,7 +43,7 @@
Name: VirtualBox
Version: 6.1.32
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A general-purpose full virtualizer for PC hardware
License: GPLv2 or (GPLv2 and CDDL)
@@ -900,6 +900,9 @@ getent passwd vboxadd >/dev/null || \
%{_datadir}/%{name}-kmod-%{version}
%changelog
+* Tue Feb 08 2022 Leigh Scott <leigh123linux(a)gmail.com> - 6.1.32-3
+- Rebuild for libvpx
+
* Fri Jan 21 2022 Sérgio Basto <sergio(a)serjux.com> - 6.1.32-2
- Add BR pulseaudio-libs-devel which add pulse audio support
- Move /usr/lib64/virtualbox/VirtualBox to VirtualBox (Qt) package which make
2 years, 10 months
[guvcview] Fix build
by Leigh Scott
commit 1c83d49466128f117a5d23f5a153932103566368
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Feb 7 22:23:28 2022 +0000
Fix build
ffmpeg5.patch | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
guvcview.spec | 3 +-
2 files changed, 115 insertions(+), 1 deletion(-)
---
diff --git a/ffmpeg5.patch b/ffmpeg5.patch
new file mode 100644
index 0000000..9afde5c
--- /dev/null
+++ b/ffmpeg5.patch
@@ -0,0 +1,113 @@
+diff --git a/gview_encoder/audio_codecs.c b/gview_encoder/audio_codecs.c
+index 9050ac9..12f5850 100644
+--- a/gview_encoder/audio_codecs.c
++++ b/gview_encoder/audio_codecs.c
+@@ -409,7 +409,7 @@ int encoder_set_valid_audio_codec_list ()
+ int num_codecs = 0;
+ for ( ind = 0; ind < encoder_get_audio_codec_list_size(); ++ind)
+ {
+- AVCodec *codec = avcodec_find_encoder(listSupCodecs[ind].codec_id);
++ const AVCodec *codec = avcodec_find_encoder(listSupCodecs[ind].codec_id);
+ if (!codec)
+ {
+ printf("ENCODER: no audio codec detected for %s\n", listSupCodecs[ind].description);
+diff --git a/gview_encoder/encoder.c b/gview_encoder/encoder.c
+index 8179bf0..fa10a89 100644
+--- a/gview_encoder/encoder.c
++++ b/gview_encoder/encoder.c
+@@ -223,7 +223,7 @@ void __attribute__ ((destructor)) gviewencoder_fini()
+ *
+ * returns: 1 - sample format is supported; 0 - is not supported
+ */
+-static int encoder_check_audio_sample_fmt(AVCodec *codec, enum AVSampleFormat sample_fmt)
++static int encoder_check_audio_sample_fmt(const AVCodec *codec, enum AVSampleFormat sample_fmt)
+ {
+ const enum AVSampleFormat *p = codec->sample_fmts;
+
+@@ -446,10 +446,6 @@ static encoder_video_context_t *encoder_video_init(encoder_context_t *encoder_ct
+
+ video_codec_data->codec_context = avcodec_alloc_context3(video_codec_data->codec);
+
+- avcodec_get_context_defaults3 (
+- video_codec_data->codec_context,
+- video_codec_data->codec);
+-
+ if(video_codec_data->codec_context == NULL)
+ {
+ fprintf(stderr, "ENCODER: FATAL memory allocation failure (encoder_video_init): %s\n", strerror(errno));
+@@ -712,7 +708,6 @@ static encoder_audio_context_t *encoder_audio_init(encoder_context_t *encoder_ct
+ }
+
+ audio_codec_data->codec_context = avcodec_alloc_context3(audio_codec_data->codec);
+- avcodec_get_context_defaults3 (audio_codec_data->codec_context, audio_codec_data->codec);
+
+ if(audio_codec_data->codec_context == NULL)
+ {
+diff --git a/gview_encoder/encoder.h b/gview_encoder/encoder.h
+index 11c9522..a5697c1 100644
+--- a/gview_encoder/encoder.h
++++ b/gview_encoder/encoder.h
+@@ -130,7 +130,7 @@
+ */
+ typedef struct _encoder_codec_data_t
+ {
+- AVCodec *codec;
++ const AVCodec *codec;
+ AVDictionary *private_options;
+ AVCodecContext *codec_context;
+ AVFrame *frame;
+diff --git a/gview_encoder/video_codecs.c b/gview_encoder/video_codecs.c
+index ae86c3f..30e757b 100644
+--- a/gview_encoder/video_codecs.c
++++ b/gview_encoder/video_codecs.c
+@@ -974,7 +974,7 @@ int encoder_set_valid_video_codec_list ()
+ int num_codecs = 1; /*raw codec (no encoding) is always valid*/
+ for ( ind = 1; ind < encoder_get_video_codec_list_size(); ++ind)
+ {
+- AVCodec *codec = avcodec_find_encoder(listSupCodecs[ind].codec_id);
++ const AVCodec *codec = avcodec_find_encoder(listSupCodecs[ind].codec_id);
+ if (!codec)
+ {
+ printf("ENCODER: no video codec detected for %s\n", listSupCodecs[ind].description);
+diff --git a/gview_v4l2core/jpeg_decoder.c b/gview_v4l2core/jpeg_decoder.c
+index 8e9cf6b..82ff633 100644
+--- a/gview_v4l2core/jpeg_decoder.c
++++ b/gview_v4l2core/jpeg_decoder.c
+@@ -1350,7 +1350,7 @@ void jpeg_close_decoder()
+
+ typedef struct _codec_data_t
+ {
+- AVCodec *codec;
++ const AVCodec *codec;
+ AVCodecContext *context;
+ AVFrame *picture;
+ } codec_data_t;
+@@ -1409,7 +1409,6 @@ int jpeg_init_decoder(int width, int height)
+
+ #if LIBAVCODEC_VER_AT_LEAST(53,6)
+ codec_data->context = avcodec_alloc_context3(codec_data->codec);
+- avcodec_get_context_defaults3 (codec_data->context, codec_data->codec);
+ #else
+ codec_data->context = avcodec_alloc_context();
+ avcodec_get_context_defaults(codec_data->context);
+diff --git a/gview_v4l2core/uvc_h264.c b/gview_v4l2core/uvc_h264.c
+index f526b1e..e3ff5f1 100644
+--- a/gview_v4l2core/uvc_h264.c
++++ b/gview_v4l2core/uvc_h264.c
+@@ -47,7 +47,7 @@ extern int verbosity;
+
+ typedef struct _h264_decoder_context_t
+ {
+- AVCodec *codec;
++ const AVCodec *codec;
+ AVCodecContext *context;
+ AVFrame *picture;
+
+@@ -1004,7 +1004,6 @@ int h264_init_decoder(int width, int height)
+
+ #if LIBAVCODEC_VER_AT_LEAST(53,6)
+ h264_ctx->context = avcodec_alloc_context3(h264_ctx->codec);
+- avcodec_get_context_defaults3 (h264_ctx->context, h264_ctx->codec);
+ #else
+ h264_ctx->context = avcodec_alloc_context();
+ avcodec_get_context_defaults(h264_ctx->context);
diff --git a/guvcview.spec b/guvcview.spec
index 58c8c8a..ec53093 100644
--- a/guvcview.spec
+++ b/guvcview.spec
@@ -7,6 +7,7 @@ Summary: GTK+ UVC Viewer and Capturer
License: GPLv3+
URL: http://guvcview.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-2.0.7-2.tar.bz2
+Patch0: https://raw.githubusercontent.com/archlinux/svntogit-community/packages/g...
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0
BuildRequires: pkgconfig(glib-2.0) >= 2.10.0
BuildRequires: pkgconfig(portaudio-2.0)
@@ -50,7 +51,7 @@ This package contains development files for %{name}.
%prep
-%autosetup -c -n %{name}-src-%{version}
+%autosetup -p1 -c -n %{name}-src-%{version}
find . \( -name '*.h' -o -name '*.c' \) -exec chmod -x {} \;
2 years, 10 months
[gr-dab] Disable doxygen
by Leigh Scott
commit e4fa63710ee1510ba4a6bd4181b5ce6072663be9
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Feb 7 16:57:21 2022 +0000
Disable doxygen
gr-dab.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gr-dab.spec b/gr-dab.spec
index 7786c70..2d4fa31 100644
--- a/gr-dab.spec
+++ b/gr-dab.spec
@@ -17,7 +17,8 @@ BuildRequires: gnuradio-devel
BuildRequires: python3-matplotlib
BuildRequires: cppunit-devel
BuildRequires: boost-devel
-BuildRequires: doxygen
+# Takes to long to complete
+#BuildRequires: doxygen
BuildRequires: ghostscript
BuildRequires: fftw-devel
BuildRequires: pybind11-devel
@@ -70,7 +71,7 @@ ln -s grdab dab
popd
%build
-%cmake -DENABLE_DOXYGEN=on
+%cmake -DENABLE_DOXYGEN=OFF
%cmake_build
%install
@@ -104,8 +105,8 @@ popd
%{_libdir}/cmake/{dab,grdab}
%files doc
-%doc %{_docdir}/%{name}/html
-%doc %{_docdir}/%{name}/xml
+#%doc %{_docdir}/%{name}/html
+#%doc %{_docdir}/%{name}/xml
%changelog
* Mon Feb 07 2022 Leigh Scott <leigh123linux(a)gmail.com> - 0.4-10
2 years, 10 months
[gr-dab] Fix
by Leigh Scott
commit ad99f857df881892a8aa6e01e0e93948720487a7
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Feb 7 15:34:57 2022 +0000
Fix
gr-dab.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gr-dab.spec b/gr-dab.spec
index 562a64f..7786c70 100644
--- a/gr-dab.spec
+++ b/gr-dab.spec
@@ -32,6 +32,7 @@ BuildRequires: gmp-devel
BuildRequires: orc-devel
BuildRequires: libunwind-devel
BuildRequires: libsndfile-devel
+BuildRequires: spdlog-devel
Requires: python3-scipy
Requires: python3-matplotlib
Summary: GNU Radio DAB digital audio broadcasting module
2 years, 10 months
[welle-io] Rebuild for libSoapySDR
by Leigh Scott
commit ef37ebeb13dbc5348b40b34cd662f82504e49fcb
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Feb 7 15:30:18 2022 +0000
Rebuild for libSoapySDR
welle-io.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/welle-io.spec b/welle-io.spec
index d3748fc..92721e5 100644
--- a/welle-io.spec
+++ b/welle-io.spec
@@ -1,7 +1,7 @@
Name: welle-io
Version: 2.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Receiver for DAB and DAB+ broadcast radio
License: GPLv2+
@@ -66,6 +66,9 @@ desktop-file-install \
%doc README.md AUTHORS THANKS
%changelog
+* Mon Feb 07 2022 Leigh Scott <leigh123linux(a)gmail.com> - 2.3-3
+- Rebuild for libSoapySDR
+
* Tue Aug 03 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 2.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2 years, 10 months
[tilem] Rebuild
by Leigh Scott
commit 3ef2ce3df6cd62bca9ba1d6faf5786c7bcbea814
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Feb 7 15:25:39 2022 +0000
Rebuild
tilem.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/tilem.spec b/tilem.spec
index b7f0d5b..003a8c8 100644
--- a/tilem.spec
+++ b/tilem.spec
@@ -1,6 +1,6 @@
Name: tilem
Version: 2.0
-Release: 14%{?dist}
+Release: 15%{?dist}
Summary: Emulator and debugger for Texas Instruments Z80-based graphing calculators
License: GPLv3+
@@ -105,6 +105,9 @@ fi
%changelog
+* Mon Feb 07 2022 Leigh Scott <leigh123linux(a)gmail.com> - 2.0-15
+- rebuilt
+
* Tue Aug 03 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 2.0-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2 years, 10 months
[gr-dab] Rebuild for libgnuradio
by Leigh Scott
commit ba78288faaaeea7f4416b3e2ba92035f1a3c8004
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Feb 7 15:22:26 2022 +0000
Rebuild for libgnuradio
gr-dab.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gr-dab.spec b/gr-dab.spec
index 3f4e484..562a64f 100644
--- a/gr-dab.spec
+++ b/gr-dab.spec
@@ -7,7 +7,7 @@
Name: gr-dab
URL: https://github.com/andrmuel/gr-dab
Version: 0.4
-Release: 9%{?dist}
+Release: 10%{?dist}
License: GPLv3+
BuildRequires: cmake
BuildRequires: gcc-c++
@@ -107,6 +107,9 @@ popd
%doc %{_docdir}/%{name}/xml
%changelog
+* Mon Feb 07 2022 Leigh Scott <leigh123linux(a)gmail.com> - 0.4-10
+- Rebuild for libgnuradio
+
* Mon Aug 02 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 0.4-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2 years, 10 months
[cinelerra-gg] Rebuild for libvpx
by Leigh Scott
commit d5c53027a2d24f1b21eb76314bec084b8ed4195b
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Feb 7 15:20:16 2022 +0000
Rebuild for libvpx
cinelerra-gg.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/cinelerra-gg.spec b/cinelerra-gg.spec
index 45f22d0..6fd0e15 100644
--- a/cinelerra-gg.spec
+++ b/cinelerra-gg.spec
@@ -3,7 +3,7 @@
Name: cinelerra-gg
Version: 5.1%{?tag_version:.%{tag_version}}
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: A non linear video editor and effects processor
# The Cinelerra-GG codebase is licensed GPLv2+
# The GREYcstoration plugin is licensed CeCILL v2.0
@@ -224,6 +224,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
%changelog
+* Mon Feb 07 2022 Leigh Scott <leigh123linux(a)gmail.com> - 5.1.2020.10-6
+- Rebuild for libvpx
+
* Mon Aug 02 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 5.1.2020.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2 years, 10 months
[pulseaudio-module-bluetooth-freeworld] Fix: rpath
by Gergely Gombos
commit 8d9f2bd46e05a327f5065bf9fe227693f72004be
Author: Gergely Gombos <gombosg(a)disroot.org>
Date: Mon Feb 7 16:08:57 2022 +0100
Fix: rpath
pulseaudio-module-bluetooth-freeworld.spec | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/pulseaudio-module-bluetooth-freeworld.spec b/pulseaudio-module-bluetooth-freeworld.spec
index fd3a7af..dcf1a3f 100644
--- a/pulseaudio-module-bluetooth-freeworld.spec
+++ b/pulseaudio-module-bluetooth-freeworld.spec
@@ -2,12 +2,14 @@
# % global gitcommit 99aa1fe3d0b90a9ad5682d8cb3092e6e10f6d5cb
# % global shortcommit % (c=% {gitcommit}; echo ${c:0:5})
+# disable rpath check
+%global __brp_check_rpaths %{nil}
%undefine __cmake_in_source_build
Name: pulseaudio-module-bluetooth-freeworld
Summary: Bluetooth support for the PulseAudio sound server, supports aptX, LDAC codecs
Version: 1.4
-Release: 9%{?snap:.%{snap}git%{shortcommit}}%{?dist}
+Release: 10%{?snap:.%{snap}git%{shortcommit}}%{?dist}
License: GPLv3
URL: https://github.com/EHfive/pulseaudio-modules-bt/
@@ -75,7 +77,7 @@ ls
%patch0 -p1 -b .ffmpeg5
%build
-%cmake3 -DCMAKE_SKIP_RPATH=ON
+%cmake3
%cmake3_build
%install
@@ -89,6 +91,9 @@ ls
%{_libdir}/pulse-%{pa_major}/modules/module-bluetooth-policy.so
%changelog
+* Mon Feb 07 2022 Gergely Gombos <gombosg(a)disroot.org> - 1.4-10
+- Disable rpath
+
* Mon Feb 07 2022 Gergely Gombos <gombosg(a)disroot.org> - 1.4-9
- FFMpeg 5 patch, disable rpath
2 years, 10 months