[chromium-browser-privacy/f32: 7/13] Use system libraries
by qvint
commit 5330670e0d22e4544eb062b90742f365b4df2b90
Author: qvint <dotqvint(a)gmail.com>
Date: Wed Sep 23 03:04:30 2020 +0300
Use system libraries
- Use system re2
- Use system libicu (f33+)
chromium-freeworld.spec | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index 675e4c9..ca65ff9 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -23,7 +23,10 @@
%global system_libvpx 0
%global system_libxml2 1
%global system_minizip 1
-%global system_re2 0
+%global system_re2 1
+%if 0%{?fedora} >= 33
+%global system_libicu 1
+%endif
#------------------------------------------------------
# Enable building with ozone support
%global ozone 0
@@ -669,13 +672,15 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
%{chromiumdir}/swiftshader/libGLESv2.so
#########################################changelogs#################################################
%changelog
-* Mon Sep 21 2020 qvint <dotqvint(a)gmail.com> - 85.0.4183.121-1
+* Wed Sep 23 2020 qvint <dotqvint(a)gmail.com> - 85.0.4183.121-1
- Update to 85.0.4183.121
- Enable Hangout services extension (rfbz#5758)
- Use MD5-based BuildID (rfbz#5743)
- Use %%ninja_build macro
- Remove debug_pkg toggle
- Replace bconds with ordinary macros
+- Use system re2
+- Use system libicu (f33+)
* Thu Sep 10 2020 qvint <dotqvint(a)gmail.com> - 85.0.4183.102-1
- Update to 85.0.4183.102
3 years, 11 months
[chromium-browser-privacy/f32: 6/13] Replace bconds with ordinary macros
by qvint
commit adb40704ca23792d08fcfd46464a18138dcfc0c6
Author: qvint <dotqvint(a)gmail.com>
Date: Tue Sep 22 01:43:25 2020 +0300
Replace bconds with ordinary macros
chromium-freeworld.spec | 78 +++++++++++++++++++++----------------------------
1 file changed, 34 insertions(+), 44 deletions(-)
---
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index e9e7a0a..675e4c9 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -16,25 +16,14 @@
%global __requires_exclude %{chromiumdir}/.*\\.so
%global __provides_exclude_from %{chromiumdir}/.*\\.so
#######################################CONFIGS###########################################
-#Require harfbuzz >= 2.4.0 for hb_subset_input_set_retain_gids
-%bcond_without system_harfbuzz
-# Require libxml2 > 2.9.4 for XML_PARSE_NOXXE
-%bcond_without system_libxml2
-# Allow testing whether icu can be unbundled
-# A patch fix building so enabled by default for Fedora 30
-# Need icu version >= 64
-%bcond_with system_libicu
-# Allow testing whether libvpx can be unbundled
-%bcond_with system_libvpx
-# Allow testing whether ffmpeg can be unbundled
-%bcond_without system_ffmpeg
-#Allow minizip to be unbundled
-#mini-compat is going to be removed from fedora 30!
-%bcond_without system_minizip
-
-# Need re2 ver. 2016.07.21 for re2::LazyRE2
-%bcond_with system_re2
-
+# System libraries to use.
+%global system_ffmpeg 1
+%global system_harfbuzz 1
+%global system_libicu 0
+%global system_libvpx 0
+%global system_libxml2 1
+%global system_minizip 1
+%global system_re2 0
#------------------------------------------------------
# Enable building with ozone support
%global ozone 0
@@ -87,7 +76,7 @@ BuildRequires: ninja-build, nodejs, bison, gperf, hwdata
BuildRequires: libgcc, glibc, libatomic
BuildRequires: libcap-devel, cups-devel, alsa-lib-devel
BuildRequires: mesa-libGL-devel, mesa-libEGL-devel
-%if %{with system_minizip}
+%if %{system_minizip}
BuildRequires: minizip-compat-devel
%endif
# Pipewire need this.
@@ -109,30 +98,30 @@ BuildRequires: pkgconfig(wayland-server)
%endif
BuildRequires: /usr/bin/python2
BuildRequires: python2-setuptools
-%if %{with system_re2}
+%if %{system_re2}
BuildRequires: re2-devel
%endif
# replace_gn_files.py --system-libraries
BuildRequires: flac-devel
BuildRequires: freetype-devel
-%if %{with system_harfbuzz}
+%if %{system_harfbuzz}
BuildRequires: harfbuzz-devel
%endif
-%if %{with system_libicu}
+%if %{system_libicu}
BuildRequires: libicu-devel
%endif
BuildRequires: libdrm-devel
BuildRequires: libjpeg-turbo-devel
BuildRequires: libpng-devel
# Chromium requires libvpx 1.5.0 and some non-default options
-%if %{with system_libvpx}
+%if %{system_libvpx}
BuildRequires: libvpx-devel
%endif
-%if %{with system_ffmpeg}
+%if %{system_ffmpeg}
BuildRequires: ffmpeg-devel
%endif
BuildRequires: libwebp-devel
-%if %{with system_libxml2}
+%if %{system_libxml2}
BuildRequires: pkgconfig(libxml-2.0)
%endif
BuildRequires: pkgconfig(libxslt)
@@ -297,7 +286,7 @@ find -depth -type f -writable -name "*.py" -exec sed -iE '1s=^#! */usr/bin/\(pyt
third_party/devtools-frontend/src/third_party \
third_party/dom_distiller_js \
third_party/emoji-segmenter \
-%if !%{with system_ffmpeg}
+%if !%{system_ffmpeg}
third_party/ffmpeg \
%endif
third_party/flatbuffers \
@@ -306,13 +295,13 @@ find -depth -type f -writable -name "*.py" -exec sed -iE '1s=^#! */usr/bin/\(pyt
third_party/google_input_tools/third_party/closure_library \
third_party/google_input_tools/third_party/closure_library/third_party/closure \
third_party/googletest \
-%if !%{with system_harfbuzz}
+%if !%{system_harfbuzz}
third_party/harfbuzz-ng \
%endif
third_party/harfbuzz-ng/utils \
third_party/hunspell \
third_party/iccjpeg \
-%if !%{with system_libicu}
+%if !%{system_libicu}
third_party/icu \
%endif
third_party/inspector_protocol \
@@ -332,12 +321,12 @@ find -depth -type f -writable -name "*.py" -exec sed -iE '1s=^#! */usr/bin/\(pyt
third_party/libsrtp \
third_party/libsync \
third_party/libudev \
-%if !%{with system_libvpx}
+%if !%{system_libvpx}
third_party/libvpx \
third_party/libvpx/source/libvpx/third_party/x86inc \
%endif
third_party/libwebm \
-%if %{with system_libxml2}
+%if %{system_libxml2}
third_party/libxml/chromium \
%else
third_party/libxml \
@@ -354,7 +343,7 @@ find -depth -type f -writable -name "*.py" -exec sed -iE '1s=^#! */usr/bin/\(pyt
%if %{ozone}
third_party/minigbm \
%endif
-%if !%{with system_minizip}
+%if !%{system_minizip}
third_party/minizip/ \
%endif
third_party/modp_b64 \
@@ -387,7 +376,7 @@ find -depth -type f -writable -name "*.py" -exec sed -iE '1s=^#! */usr/bin/\(pyt
third_party/protobuf/third_party/six \
third_party/pyjson5 \
third_party/qcms \
-%if !%{with system_re2}
+%if !%{system_re2}
third_party/re2 \
%endif
third_party/rnnoise \
@@ -434,7 +423,7 @@ find -depth -type f -writable -name "*.py" -exec sed -iE '1s=^#! */usr/bin/\(pyt
third_party/xdg-utils \
third_party/zlib/google \
tools/grit/third_party/six \
-%if !%{with system_minizip}
+%if !%{system_minizip}
third_party/zlib \
%endif
tools/gn/src/base/third_party/icu \
@@ -446,32 +435,32 @@ find -depth -type f -writable -name "*.py" -exec sed -iE '1s=^#! */usr/bin/\(pyt
v8/third_party/v8
./build/linux/unbundle/replace_gn_files.py --system-libraries \
-%if %{with system_ffmpeg}
+%if %{system_ffmpeg}
ffmpeg \
%endif
flac \
freetype \
fontconfig \
-%if %{with system_libicu}
+%if %{system_libicu}
icu \
%endif
libdrm \
libjpeg \
libpng \
-%if %{with system_libvpx}
+%if %{system_libvpx}
libvpx \
%endif
libwebp \
-%if %{with system_libxml2}
+%if %{system_libxml2}
libxml \
%endif
libxslt \
opus \
-%if %{with system_re2}
+%if %{system_re2}
re2 \
%endif
snappy \
-%if %{with system_minizip}
+%if %{system_minizip}
zlib
%endif
@@ -513,7 +502,7 @@ gn_args=(
link_pulseaudio=true
use_system_freetype=true
enable_widevine=true
-%if %{with system_harfbuzz}
+%if %{system_harfbuzz}
use_system_harfbuzz=true
%endif
%if %{freeworld}
@@ -538,7 +527,7 @@ gn_args=(
# Optimizations
gn_args+=(
enable_vr=false
-%if %{with system_libicu}
+%if %{system_libicu}
icu_use_data_file=false
%endif
)
@@ -611,7 +600,7 @@ install -m 4755 %{target}/chrome_sandbox %{buildroot}%{chromiumdir}/chrome-sandb
install -m 755 %{target}/chromedriver %{buildroot}%{chromiumdir}/
install -m 755 %{target}/libEGL.so %{buildroot}%{chromiumdir}/
install -m 755 %{target}/libGLESv2.so %{buildroot}%{chromiumdir}/
-%if !%{with system_libicu}
+%if !%{system_libicu}
install -m 644 %{target}/icudtl.dat %{buildroot}%{chromiumdir}/
%endif
install -m 644 %{target}/v8_context_snapshot.bin %{buildroot}%{chromiumdir}/
@@ -663,7 +652,7 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
%{chromiumdir}/chromedriver
%{chromiumdir}/libEGL.so
%{chromiumdir}/libGLESv2.so
-%if !%{with system_libicu}
+%if !%{system_libicu}
%{chromiumdir}/icudtl.dat
%endif
%{chromiumdir}/v8_context_snapshot.bin
@@ -686,6 +675,7 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
- Use MD5-based BuildID (rfbz#5743)
- Use %%ninja_build macro
- Remove debug_pkg toggle
+- Replace bconds with ordinary macros
* Thu Sep 10 2020 qvint <dotqvint(a)gmail.com> - 85.0.4183.102-1
- Update to 85.0.4183.102
3 years, 11 months
[chromium-browser-privacy/f32: 5/13] Remove debug_pkg toggle
by qvint
commit 49a64e94c5454d76a0679d1d27935b22550e3362
Author: qvint <dotqvint(a)gmail.com>
Date: Tue Sep 22 01:33:44 2020 +0300
Remove debug_pkg toggle
chromium-freeworld.spec | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
---
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index b783ded..e9e7a0a 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -36,8 +36,6 @@
%bcond_with system_re2
#------------------------------------------------------
-#Build debug packages for debugging
-%global debug_pkg 0
# Enable building with ozone support
%global ozone 0
##############################Package Definitions######################################
@@ -159,9 +157,7 @@ Provides: chromium-vaapi = %{version}-%{release}
Obsoletes: chromium-vaapi < %{version}-%{release}
#Some recommendations
Recommends: libva-utils
-%if !%{debug_pkg}
%global debug_package %{nil}
-%endif
# This build should be only available to amd64
ExclusiveArch: x86_64
@@ -496,10 +492,8 @@ export CC=gcc CXX=g++
export CXXFLAGS="$CXXFLAGS -fpermissive"
export CFLAGS="$CFLAGS -w"
export CXXFLAGS="$CXXFLAGS -w"
-%if !%{debug_pkg}
export CFLAGS="$CFLAGS -g0"
export CXXFLAGS="$CXXFLAGS -g0"
-%endif
gn_args=(
is_debug=false
@@ -572,12 +566,8 @@ gn_args+=(
#symbol
gn_args+=(
-%if %{debug_pkg}
- symbol_level=1
-%else
symbol_level=0
blink_symbol_level=0
-%endif
)
tools/gn/bootstrap/bootstrap.py --gn-gen-args "${gn_args[*]}"
@@ -695,6 +685,7 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
- Enable Hangout services extension (rfbz#5758)
- Use MD5-based BuildID (rfbz#5743)
- Use %%ninja_build macro
+- Remove debug_pkg toggle
* Thu Sep 10 2020 qvint <dotqvint(a)gmail.com> - 85.0.4183.102-1
- Update to 85.0.4183.102
3 years, 11 months
[chromium-browser-privacy/f32: 4/13] Use %ninja_build macro
by qvint
commit 31306e6a9bc89b62df0dac84e45d70059c24b278
Author: qvint <dotqvint(a)gmail.com>
Date: Tue Sep 22 01:30:47 2020 +0300
Use %ninja_build macro
chromium-freeworld.spec | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index a4152ae..b783ded 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -35,8 +35,6 @@
# Need re2 ver. 2016.07.21 for re2::LazyRE2
%bcond_with system_re2
-#Turn on verbose mode
-%global debug_logs 0
#------------------------------------------------------
#Build debug packages for debugging
%global debug_pkg 0
@@ -496,11 +494,8 @@ ulimit -n 2048
export AR=ar NM=nm AS=as
export CC=gcc CXX=g++
export CXXFLAGS="$CXXFLAGS -fpermissive"
-%if !%{debug_logs}
-# Disable useless warning on non debug log builds
export CFLAGS="$CFLAGS -w"
export CXXFLAGS="$CXXFLAGS -w"
-%endif
%if !%{debug_pkg}
export CFLAGS="$CFLAGS -g0"
export CXXFLAGS="$CXXFLAGS -g0"
@@ -587,11 +582,7 @@ gn_args+=(
tools/gn/bootstrap/bootstrap.py --gn-gen-args "${gn_args[*]}"
%{target}/gn --script-executable=%{__python2} gen --args="${gn_args[*]}" %{target}
-%if %{debug_logs}
-ninja %{_smp_mflags} -C %{target} -v chrome chrome_sandbox chromedriver
-%else
-ninja %{_smp_mflags} -C %{target} chrome chrome_sandbox chromedriver
-%endif
+%ninja_build -C %{target} chrome chrome_sandbox chromedriver
######################################Install####################################
%install
mkdir -p %{buildroot}%{_bindir}
@@ -703,6 +694,7 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
- Update to 85.0.4183.121
- Enable Hangout services extension (rfbz#5758)
- Use MD5-based BuildID (rfbz#5743)
+- Use %%ninja_build macro
* Thu Sep 10 2020 qvint <dotqvint(a)gmail.com> - 85.0.4183.102-1
- Update to 85.0.4183.102
3 years, 11 months
[chromium-browser-privacy/f32: 3/13] Use MD5-based BuildID
by qvint
commit 74d6021789ff8293f36f24c3ac1bf7220de6adc5
Author: qvint <dotqvint(a)gmail.com>
Date: Tue Sep 22 01:19:16 2020 +0300
Use MD5-based BuildID
See https://bugzilla.rpmfusion.org/show_bug.cgi?id=5743
chromium-freeworld.spec | 2 ++
chromium-md5-based-build-id.patch | 14 ++++++++++++++
2 files changed, 16 insertions(+)
---
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index 6282803..a4152ae 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -182,6 +182,7 @@ Patch400: chromium-enable-vaapi.patch
Patch401: chromium-fix-vaapi-on-intel.patch
Patch402: chromium-enable-widevine.patch
Patch403: chromium-manpage.patch
+Patch404: chromium-md5-based-build-id.patch
%if %{freeworld}
Patch420: chromium-rpm-fusion-brand.patch
%endif
@@ -701,6 +702,7 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
* Mon Sep 21 2020 qvint <dotqvint(a)gmail.com> - 85.0.4183.121-1
- Update to 85.0.4183.121
- Enable Hangout services extension (rfbz#5758)
+- Use MD5-based BuildID (rfbz#5743)
* Thu Sep 10 2020 qvint <dotqvint(a)gmail.com> - 85.0.4183.102-1
- Update to 85.0.4183.102
diff --git a/chromium-md5-based-build-id.patch b/chromium-md5-based-build-id.patch
new file mode 100644
index 0000000..c76e078
--- /dev/null
+++ b/chromium-md5-based-build-id.patch
@@ -0,0 +1,14 @@
+Resolve conflicts with Fedora Chromium by using MD5-based BuildID.
+https://bugzilla.rpmfusion.org/show_bug.cgi?id=5743
+
+--- a/build/config/compiler/BUILD.gn
++++ b/build/config/compiler/BUILD.gn
+@@ -338,7 +338,7 @@ config("compiler") {
+ # links.
+ ldflags += [ "-Wl,--build-id=sha1" ]
+ } else if (current_os != "aix") {
+- ldflags += [ "-Wl,--build-id" ]
++ ldflags += [ "-Wl,--build-id=md5" ]
+ }
+
+ if (!is_android) {
3 years, 11 months
[chromium-browser-privacy/f32: 2/13] Enable Hangout services extension
by qvint
commit 3c7bb3f9022d9cda1ca1488a5acea1f662048e8a
Author: qvint <dotqvint(a)gmail.com>
Date: Tue Sep 22 00:27:37 2020 +0300
Enable Hangout services extension
See https://bugzilla.rpmfusion.org/show_bug.cgi?id=5758
chromium-freeworld.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index 8011a17..6282803 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -534,7 +534,7 @@ gn_args=(
proprietary_codecs=false
%endif
enable_nacl=false
- enable_hangout_services_extension=false
+ enable_hangout_services_extension=true
fatal_linker_warnings=false
treat_warnings_as_errors=false
fieldtrial_testing_like_official_build=true
@@ -700,6 +700,7 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
%changelog
* Mon Sep 21 2020 qvint <dotqvint(a)gmail.com> - 85.0.4183.121-1
- Update to 85.0.4183.121
+- Enable Hangout services extension (rfbz#5758)
* Thu Sep 10 2020 qvint <dotqvint(a)gmail.com> - 85.0.4183.102-1
- Update to 85.0.4183.102
3 years, 11 months
[chromium-browser-privacy/f32: 1/13] Update to 85.0.4183.121
by qvint
commit f75cd8a5992376ba430457fbeb9c73ac4e15fa4d
Author: qvint <dotqvint(a)gmail.com>
Date: Mon Sep 21 23:39:27 2020 +0300
Update to 85.0.4183.121
chromium-freeworld.spec | 5 ++++-
sources | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index 711447d..8011a17 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -44,7 +44,7 @@
%global ozone 0
##############################Package Definitions######################################
Name: chromium-freeworld
-Version: 85.0.4183.102
+Version: 85.0.4183.121
Release: 1%{?dist}
Summary: Chromium built with all freeworld codecs and VA-API support
License: BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and (MPLv1.1 or GPLv2 or LGPLv2)
@@ -698,6 +698,9 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
%{chromiumdir}/swiftshader/libGLESv2.so
#########################################changelogs#################################################
%changelog
+* Mon Sep 21 2020 qvint <dotqvint(a)gmail.com> - 85.0.4183.121-1
+- Update to 85.0.4183.121
+
* Thu Sep 10 2020 qvint <dotqvint(a)gmail.com> - 85.0.4183.102-1
- Update to 85.0.4183.102
- Remove bundlepylibs and clang toggles
diff --git a/sources b/sources
index cf13561..d94d7d0 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (chromium-85.0.4183.102.tar.xz) = acd6f0a7b74018098752b6598e09a2bd6d1c9f1120c39a5c6cd3d924c466be92b854f3c7f91693ba9506e47b173ef12c14427f998362524b2497fbe5587a6b6c
+SHA512 (chromium-85.0.4183.121.tar.xz) = 9d61a0782c012fe36467a10f008962d45f4eaa065f6812276d847f7563056124c9fd21d8376dda8ab64e4c3b793da0593bac9d39988bbd60221828084b534945
SHA512 (chromium-patches-chromium-85-patchset-2.tar.gz) = b8252b778ff16f1fbb0be22ebd1b9f711fafe6d6837e0806e4281aa659756a091c79609e2e4dd865b5f2d377f159c12d47feab201d4d72a93de5fc5ff596ff2e
3 years, 11 months
[chromium-browser-privacy/f32] (13 commits) ...Update ungoogled-chromium to 87.0.4280.88-1
by qvint
Summary of changes:
f75cd8a... Update to 85.0.4183.121
3c7bb3f... Enable Hangout services extension
74d6021... Use MD5-based BuildID
31306e6... Use %ninja_build macro
49a64e9... Remove debug_pkg toggle
adb4070... Replace bconds with ordinary macros
5330670... Use system libraries
0d6e5c6... Update to 86.0.4240.111
b53c752... Backport some fixes from the upstream
6f4d1d0... Update to 87.0.4280.66
10a2944... Update to 87.0.4280.88
7e521a8... Sync spec and sources with free/chromium-freeworld
9977861... Update ungoogled-chromium to 87.0.4280.88-1
3 years, 11 months
[minidlna] Updated to new upstream release
by Andrea Musuruane
commit d5a2cd9f0d9c879b9a3900da65e213ccb672421c
Author: Andrea Musuruane <musuruan(a)gmail.com>
Date: Wed Dec 9 15:01:06 2020 +0100
Updated to new upstream release
.gitignore | 1 +
minidlna-1.3.0-fno-common.patch | 24 ++++++++++++++++++++++++
minidlna.spec | 14 ++++++++++----
sources | 2 +-
4 files changed, 36 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d575941..17dee3a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
minidlna-1.1.5.tar.gz
/minidlna-1.2.0.tar.gz
/minidlna-1.2.1.tar.gz
+/minidlna-1.3.0.tar.gz
diff --git a/minidlna-1.3.0-fno-common.patch b/minidlna-1.3.0-fno-common.patch
new file mode 100644
index 0000000..39b7aa3
--- /dev/null
+++ b/minidlna-1.3.0-fno-common.patch
@@ -0,0 +1,24 @@
+--- a/tivo_utils.c
++++ b/tivo_utils.c
+@@ -27,6 +27,8 @@
+ #include <sqlite3.h>
+ #include "tivo_utils.h"
+
++struct sqlite3PrngType sqlite3Prng;
++
+ /* This function based on byRequest */
+ char *
+ decodeString(char *string, int inplace)
+--- a/tivo_utils.h
++++ b/tivo_utils.h
+@@ -30,7 +30,9 @@ struct sqlite3PrngType {
+ unsigned char isInit; /* True if initialized */
+ unsigned char i, j; /* State variables */
+ unsigned char s[256]; /* State variables */
+-} sqlite3Prng;
++};
++
++extern struct sqlite3PrngType sqlite3Prng;
+
+ char *
+ decodeString(char *string, int inplace);
diff --git a/minidlna.spec b/minidlna.spec
index 97e51b6..a175b3c 100644
--- a/minidlna.spec
+++ b/minidlna.spec
@@ -1,8 +1,6 @@
-%define _legacy_common_support 1
-
Name: minidlna
-Version: 1.2.1
-Release: 12%{?dist}
+Version: 1.3.0
+Release: 1%{?dist}
Summary: Lightweight DLNA/UPnP-AV server targeted at embedded systems
License: GPLv2
@@ -12,7 +10,11 @@ Source0: http://downloads.sourceforge.net/%{name}/%{version}/%{name}-%{ve
Source1: %{name}.service
# tmpfiles configuration for the /run directory
Source2: %{name}-tmpfiles.conf
+# Fix compiling with -fno-common
+# https://sourceforge.net/p/minidlna/bugs/332/
+Patch0: %{name}-1.3.0-fno-common.patch
+BuildRequires: make
BuildRequires: gcc
BuildRequires: avahi-devel
BuildRequires: libuuid-devel
@@ -23,6 +25,7 @@ BuildRequires: flac-devel
BuildRequires: libid3tag-devel
BuildRequires: libjpeg-devel
BuildRequires: libexif-devel
+BuildRequires: zlib-devel
BuildRequires: gettext
BuildRequires: systemd
Requires(pre): shadow-utils
@@ -123,6 +126,9 @@ exit 0
%changelog
+* Wed Dec 9 11:29:39 CET 2020 Andrea Musuruane <musuruan(a)gmail.com> - 1.3.0-1
+- Updated to new upstream release
+
* Tue Aug 18 2020 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 1.2.1-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
diff --git a/sources b/sources
index a47609e..fd2a93a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a968d3d84971322471cabda3669cc0f8 minidlna-1.2.1.tar.gz
+SHA512 (minidlna-1.3.0.tar.gz) = 92a5ec0e59244c65dad5360ca68856ecc66fd32ec2aaddb9e49c142b866d2642726c7c62898059e5fa56431d2bbb644bbe60c7ae5eb0aba4fe2255c8e69dd2d6
3 years, 11 months