From c4dfb88dc10947cf9782fb7978db630df2654ce3 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Tue, 17 Sep 2024 23:19:16 +0200 Subject: [PATCH] automatic version update by autodist [release 7.24.1-1mamba;Tue Sep 17 2024] --- signal-desktop.spec | 64 +++++++++++++++++++++++++++++++-------------- 1 file changed, 45 insertions(+), 19 deletions(-) diff --git a/signal-desktop.spec b/signal-desktop.spec index 8ce4fbf..ebc7586 100644 --- a/signal-desktop.spec +++ b/signal-desktop.spec @@ -1,5 +1,5 @@ Name: signal-desktop -Version: 7.21.0 +Version: 7.24.1 Release: 1mamba Summary: Signal Desktop links with Signal on Android or iOS and lets you message from your computers Group: Graphical Desktop/Applications/Internet @@ -13,7 +13,32 @@ Patch0: signal-desktop-5.40.1-expire-from-source-date-epoch.patch Patch1: signal-desktop-5.40.1-fix-better-sqlite-ssl-error.patch License: Affero GNU Public License ## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libXcomposite-devel +BuildRequires: libXdamage-devel +BuildRequires: libXext-devel +BuildRequires: libXfixes-devel +BuildRequires: libXrandr-devel +BuildRequires: libalsa-devel +BuildRequires: libat-spi2-core-devel +BuildRequires: libcairo-devel +BuildRequires: libcups-devel +BuildRequires: libdbus-devel +BuildRequires: libdrm-devel +BuildRequires: libexpat-devel +BuildRequires: libgcc +BuildRequires: libglib-devel +BuildRequires: libgtk3-devel +BuildRequires: libmesa-devel +BuildRequires: libnspr-devel +BuildRequires: libnss-devel +BuildRequires: libpango-devel +BuildRequires: libstdc++6-devel +BuildRequires: libxcb-devel +BuildRequires: libxkbcommon-devel ## AUTOBUILDREQ-END +BuildRequires: nodejs BuildRequires: git-lfs %description @@ -21,43 +46,39 @@ Signal Desktop links with Signal on Android or iOS and lets you message from you %debug_package +# Don't clean build at the end +%global __spec_rmbuild_cmd /bin/true + %prep %setup -q -n Signal-Desktop-%{version} #-D -T #:<< _EOF %define _build_id_links none -%global __requires_exclude_from ^%{_libdir}/signal-desktop/.*$ +%global __requires_exclude ^libffmpeg.so.*$ %global __provides_exclude_from ^%{_libdir}/signal-desktop/.*$ -# Requires Nodejs 16.13.2 -export PROFILE=/dev/null -curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash -export NVM_DIR="$HOME/.nvm" -[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" -nvm install 16.13.2 - # git-lfs hook needs to be installed for one of the dependencies git lfs install # Allow higher Node versions -#sed 's#"node": "#&>=#' -i package.json +sed 's#"node": "#&>=#' -i package.json -#%patch0 -p1 -b .expire-from-source-date-epoch -##%patch1 -p1 +# Install dependencies for sticker-creator +npm --prefix ./sticker-creator/ install -yarn install -#--ignore-engines +# Install dependencies for signal-desktop +npm install --ignore-engines %build #:<< _EOF -export NVM_DIR="$HOME/.nvm" -[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" - export SOURCE_DATE_EPOCH=`date +%s` -yarn generate -yarn build +# Build the sticker creator +npm --prefix ./sticker-creator/ run build + +# Build signal-desktop +npm run build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -65,6 +86,8 @@ install -d -m0755 %{buildroot}{%{_libdir},%{_bindir}} cp -a release/linux-unpacked %{buildroot}%{_libdir}/signal-desktop ln -s ../%{_lib}/signal-desktop/signal-desktop %{buildroot}%{_bindir} +chmod u+s %{buildroot}%{_libdir}/signal-desktop/chrome-sandbox + install -D -m0644 %{SOURCE2} %{buildroot}%{_datadir}/applications/signal-desktop.desktop for i in 16 24 32 48 64 128 256 512 1024; do @@ -85,6 +108,9 @@ done %doc LICENSE %changelog +* Tue Sep 17 2024 Automatic Build System 7.24.1-1mamba +- automatic version update by autodist + * Thu Aug 22 2024 Automatic Build System 7.21.0-1mamba - automatic version update by autodist