remove internal requirements for librnp.so [release 102.4.0-2mamba;Wed Oct 26 2022]
This commit is contained in:
parent
cff5ab9d89
commit
1061b13747
17
thunderbird-102.3.2-cbindgen-0.24.patch
Normal file
17
thunderbird-102.3.2-cbindgen-0.24.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
Description: Remove an extra constant definition that is now being generated by newer versions of cbindgen (0.24), and causing build failures because it is defined in several places.
|
||||||
|
Author: Olivier Tilloy <olivier.tilloy@canonical.com>
|
||||||
|
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1773259
|
||||||
|
Forwarded: not-needed
|
||||||
|
|
||||||
|
--- a/gfx/webrender_bindings/webrender_ffi.h
|
||||||
|
+++ b/gfx/webrender_bindings/webrender_ffi.h
|
||||||
|
@@ -73,8 +73,6 @@ struct WrPipelineInfo;
|
||||||
|
struct WrPipelineIdAndEpoch;
|
||||||
|
using WrPipelineIdEpochs = nsTArray<WrPipelineIdAndEpoch>;
|
||||||
|
|
||||||
|
-const uint64_t ROOT_CLIP_CHAIN = ~0;
|
||||||
|
-
|
||||||
|
} // namespace wr
|
||||||
|
} // namespace mozilla
|
||||||
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
|||||||
%define distroname openmamba
|
%define distroname openmamba
|
||||||
%define majversion %(echo %version | cut -d. -f 1-2)
|
%define majversion %(echo %version | cut -d. -f 1-2)
|
||||||
%define mozilla_version %(echo %version | cut -d. -f 1)
|
%define mozilla_version %(echo %version | cut -d. -f 1)
|
||||||
%define thunderbird_internal %{majversion}
|
|
||||||
%define tbdir %{_libdir}/thunderbird
|
%define tbdir %{_libdir}/thunderbird
|
||||||
#%define enable_debug_info 0
|
#%define enable_debug_info 0
|
||||||
#%define build_langpack 1
|
#%define build_langpack 1
|
||||||
@ -9,8 +8,8 @@
|
|||||||
#%define source_dir comm-esr%(echo %version | cut -d. -f1)
|
#%define source_dir comm-esr%(echo %version | cut -d. -f1)
|
||||||
|
|
||||||
Name: thunderbird
|
Name: thunderbird
|
||||||
Version: 91.10.0
|
Version: 102.4.0
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Mozilla Thunderbird email, RSS, and newsgroup client
|
Summary: Mozilla Thunderbird email, RSS, and newsgroup client
|
||||||
Group: Graphical Desktop/Applications/Internet
|
Group: Graphical Desktop/Applications/Internet
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -28,6 +27,7 @@ Patch14: thunderbird-78.8.1-rust-1.48.patch
|
|||||||
Patch15: thunderbird-78.8.1-fix-passing-system-bzip2-ldflags.patch
|
Patch15: thunderbird-78.8.1-fix-passing-system-bzip2-ldflags.patch
|
||||||
Patch16: thunderbird-91.4.1-python-setuptools-60.0.4.patch
|
Patch16: thunderbird-91.4.1-python-setuptools-60.0.4.patch
|
||||||
Patch17: thunderbird-91.5.1-libwayland-1.20.0.patch
|
Patch17: thunderbird-91.5.1-libwayland-1.20.0.patch
|
||||||
|
Patch18: thunderbird-102.3.2-cbindgen-0.24.patch
|
||||||
License: GPL,MPL 1.1,LGPL
|
License: GPL,MPL 1.1,LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: firefox-devel
|
BuildRequires: firefox-devel
|
||||||
@ -39,9 +39,11 @@ BuildRequires: libXdamage-devel
|
|||||||
BuildRequires: libXext-devel
|
BuildRequires: libXext-devel
|
||||||
BuildRequires: libXfixes-devel
|
BuildRequires: libXfixes-devel
|
||||||
BuildRequires: libXi-devel
|
BuildRequires: libXi-devel
|
||||||
|
BuildRequires: libXrandr-devel
|
||||||
BuildRequires: libXrender-devel
|
BuildRequires: libXrender-devel
|
||||||
BuildRequires: libXt-devel
|
BuildRequires: libXtst-devel
|
||||||
BuildRequires: libatk-devel
|
BuildRequires: libalsa-devel
|
||||||
|
BuildRequires: libat-spi2-core-devel
|
||||||
BuildRequires: libbotan-devel
|
BuildRequires: libbotan-devel
|
||||||
BuildRequires: libbzip2-devel
|
BuildRequires: libbzip2-devel
|
||||||
BuildRequires: libcairo-devel
|
BuildRequires: libcairo-devel
|
||||||
@ -62,7 +64,7 @@ BuildRequires: libnss-devel
|
|||||||
BuildRequires: libpango-devel
|
BuildRequires: libpango-devel
|
||||||
BuildRequires: libpixman-devel
|
BuildRequires: libpixman-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: libvpx-devel
|
BuildRequires: libvpx6-devel
|
||||||
BuildRequires: libwebp-devel
|
BuildRequires: libwebp-devel
|
||||||
BuildRequires: libxcb-devel
|
BuildRequires: libxcb-devel
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
@ -122,7 +124,7 @@ This package contains the %{2} language support files for Thunderbird.\
|
|||||||
\
|
\
|
||||||
%files langpack-%{1}\
|
%files langpack-%{1}\
|
||||||
%defattr(-,root,root)\
|
%defattr(-,root,root)\
|
||||||
%{tbdir}/distribution/extensions/langpack-%{1}@thunderbird.mozilla.org.xpi
|
%{_libdir}/thunderbird/distribution/extensions/langpack-%{1}@thunderbird.mozilla.org.xpi
|
||||||
|
|
||||||
%lang_subpkg af Afrikaans
|
%lang_subpkg af Afrikaans
|
||||||
%lang_subpkg ar Arabic
|
%lang_subpkg ar Arabic
|
||||||
@ -144,6 +146,7 @@ This package contains the %{2} language support files for Thunderbird.\
|
|||||||
%lang_subpkg en-US %{quote:English (USA)}
|
%lang_subpkg en-US %{quote:English (USA)}
|
||||||
%lang_subpkg es-AR %{quote:Spanish (Latin American)}
|
%lang_subpkg es-AR %{quote:Spanish (Latin American)}
|
||||||
%lang_subpkg es-ES Spanish
|
%lang_subpkg es-ES Spanish
|
||||||
|
%lang_subpkg es-MX %{quote:Spanish (Mexico)}
|
||||||
%lang_subpkg et Estonian
|
%lang_subpkg et Estonian
|
||||||
%lang_subpkg eu Basque
|
%lang_subpkg eu Basque
|
||||||
#% lang_subpkg fa %{quote:Persian - Farsi (IR)}
|
#% lang_subpkg fa %{quote:Persian - Farsi (IR)}
|
||||||
@ -200,16 +203,20 @@ This package contains the %{2} language support files for Thunderbird.\
|
|||||||
#% debug_package
|
#% debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -c
|
||||||
#-D -T
|
#-D -T
|
||||||
#:<< ___EOF
|
#:<< ___EOF
|
||||||
%global __provides_exclude_from ^%{_libdir}/thunderbird/.*$
|
|
||||||
%global __requires_exclude ^(libxul\\.so.*|libldap.*\\.so.*|libldif.*\\.so.*|libmoz.*\\.so.*|libprldap.*\\.so.*)$
|
|
||||||
|
|
||||||
#%patch14 -p1
|
# Don't clean build at the end
|
||||||
#%patch15 -p1
|
%global __spec_rmbuild_cmd /bin/true
|
||||||
%patch16 -p1
|
|
||||||
#%patch17 -p1 -b .libwayland-1.20.0
|
%global __provides_exclude_from ^%{_libdir}/thunderbird/.*$
|
||||||
|
%global __requires_exclude ^(libxul\\.so.*|libldap.*\\.so.*|libldif.*\\.so.*|libmoz.*\\.so.*|libprldap.*\\.so.*|librnp\\.so.*)$
|
||||||
|
|
||||||
|
cd thunderbird-%{version}
|
||||||
|
|
||||||
|
#%patch16 -p1
|
||||||
|
%patch18 -p1 -b .cbindgen-0.24
|
||||||
|
|
||||||
rm -f .mozconfig
|
rm -f .mozconfig
|
||||||
cat << EOF > .mozconfig
|
cat << EOF > .mozconfig
|
||||||
@ -248,10 +255,12 @@ ac_add_options --with-system-webp
|
|||||||
ac_add_options --with-system-libevent
|
ac_add_options --with-system-libevent
|
||||||
ac_add_options --enable-system-ffi
|
ac_add_options --enable-system-ffi
|
||||||
ac_add_options --enable-system-pixman
|
ac_add_options --enable-system-pixman
|
||||||
|
# TODO
|
||||||
|
ac_add_options --without-wasm-sandboxed-libraries
|
||||||
|
|
||||||
# Features
|
# Features
|
||||||
ac_add_options --enable-alsa
|
ac_add_options --enable-alsa
|
||||||
ac_add_options --enable-openpgp
|
#ac_add_options --enable-openpgp
|
||||||
#ac_add_options --enable-calendar
|
#ac_add_options --enable-calendar
|
||||||
ac_add_options --disable-jack
|
ac_add_options --disable-jack
|
||||||
ac_add_options --disable-crashreporter
|
ac_add_options --disable-crashreporter
|
||||||
@ -276,6 +285,7 @@ EOF
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
#:<< ___EOF
|
#:<< ___EOF
|
||||||
|
cd thunderbird-%{version}
|
||||||
|
|
||||||
export PYTHON=%{__python3}
|
export PYTHON=%{__python3}
|
||||||
|
|
||||||
@ -287,7 +297,7 @@ export LDFLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
|
|||||||
export RUSTFLAGS="-Cdebuginfo=0"
|
export RUSTFLAGS="-Cdebuginfo=0"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
export MACH_USE_SYSTEM_PYTHON=1
|
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none
|
||||||
./mach configure
|
./mach configure
|
||||||
./mach build
|
./mach build
|
||||||
|
|
||||||
@ -297,8 +307,9 @@ export MACH_USE_SYSTEM_PYTHON=1
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
cd thunderbird-%{version}
|
||||||
|
|
||||||
export DESTDIR=%{buildroot}
|
export DESTDIR=%{buildroot}
|
||||||
export MACH_USE_SYSTEM_PYTHON=1
|
|
||||||
./mach install
|
./mach install
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/applications
|
mkdir -p %{buildroot}%{_datadir}/applications
|
||||||
@ -313,7 +324,7 @@ install -D -m644 comm/mail/branding/thunderbird/TB-symbolic.svg \
|
|||||||
%{buildroot}%{_datadir}/icons/hicolor/symbolic/apps/thunderbird-symbolic.svg
|
%{buildroot}%{_datadir}/icons/hicolor/symbolic/apps/thunderbird-symbolic.svg
|
||||||
|
|
||||||
# FIXME handle system/user preferences with xdg-open
|
# FIXME handle system/user preferences with xdg-open
|
||||||
cat > %{buildroot}%{tbdir}/defaults/pref/vendor-prefs.js << _EOF
|
cat > %{buildroot}%{_libdir}/thunderbird/defaults/pref/vendor-prefs.js << _EOF
|
||||||
// Use LANG environment variable to choose locale
|
// Use LANG environment variable to choose locale
|
||||||
pref("intl.locale.requested", "");
|
pref("intl.locale.requested", "");
|
||||||
|
|
||||||
@ -414,40 +425,25 @@ fi
|
|||||||
%{_datadir}/applications/thunderbird.desktop
|
%{_datadir}/applications/thunderbird.desktop
|
||||||
%{_datadir}/icons/hicolor/*x*/apps/thunderbird.png
|
%{_datadir}/icons/hicolor/*x*/apps/thunderbird.png
|
||||||
%{_datadir}/icons/hicolor/symbolic/apps/thunderbird-symbolic.svg
|
%{_datadir}/icons/hicolor/symbolic/apps/thunderbird-symbolic.svg
|
||||||
%dir %{tbdir}
|
%dir %{_libdir}/thunderbird
|
||||||
%{tbdir}/thunderbird
|
%{_libdir}/thunderbird/*
|
||||||
%{tbdir}/thunderbird-bin
|
%ghost %{_libdir}/thunderbird/components/compreg.dat
|
||||||
%{tbdir}/*.ini
|
%ghost %{_libdir}/thunderbird/components/xpti.dat
|
||||||
%dir %{tbdir}/chrome
|
%exclude %{_libdir}/thunderbird/distribution/extensions/langpack-*@thunderbird.mozilla.org.xpi
|
||||||
%dir %{tbdir}/chrome/icons
|
|
||||||
%dir %{tbdir}/chrome/icons/default
|
|
||||||
%{tbdir}/chrome/icons/default/*.png
|
|
||||||
%dir %{tbdir}/components
|
|
||||||
%ghost %{tbdir}/components/compreg.dat
|
|
||||||
%ghost %{tbdir}/components/xpti.dat
|
|
||||||
%dir %{tbdir}/defaults
|
|
||||||
%dir %{tbdir}/defaults/messenger
|
|
||||||
%{tbdir}/defaults/messenger/mailViews.dat
|
|
||||||
%{tbdir}/defaults/pref/*.js
|
|
||||||
%{tbdir}/dependentlibs.list
|
|
||||||
%{tbdir}/dictionaries
|
|
||||||
%dir %{tbdir}/distribution
|
|
||||||
%{_libdir}/thunderbird/distribution/distribution.ini
|
|
||||||
%dir %{tbdir}/distribution/extensions
|
|
||||||
%{tbdir}/hyphenation
|
|
||||||
#%{tbdir}/features/wetransfer@extensions.thunderbird.net.xpi
|
|
||||||
%dir %{tbdir}/fonts
|
|
||||||
%{tbdir}/fonts/TwemojiMozilla.ttf
|
|
||||||
#%{tbdir}/gtk2/libmozgtk.so
|
|
||||||
%dir %{tbdir}/isp
|
|
||||||
%{tbdir}/isp/*
|
|
||||||
%{tbdir}/lib*.so
|
|
||||||
%{tbdir}/plugin-container
|
|
||||||
%{tbdir}/omni.ja
|
|
||||||
%{tbdir}/pingsender
|
|
||||||
%{tbdir}/removed-files
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 102.4.0-2mamba
|
||||||
|
- remove internal requirements for librnp.so
|
||||||
|
|
||||||
|
* Fri Oct 21 2022 Automatic Build System <autodist@mambasoft.it> 102.4.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Thu Oct 13 2022 Automatic Build System <autodist@mambasoft.it> 102.3.3-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Wed Oct 12 2022 Automatic Build System <autodist@mambasoft.it> 102.3.2-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Thu Jun 02 2022 Automatic Build System <autodist@mambasoft.it> 91.10.0-1mamba
|
* Thu Jun 02 2022 Automatic Build System <autodist@mambasoft.it> 91.10.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user