[devel] [SCM] packages/electron: tags/2.0.4-alt2

Dmitry V. Levin ldv на altlinux.org
Чт Июл 12 23:52:38 MSK 2018


On Thu, Jul 12, 2018 at 08:41:51PM +0000, Vitaly Lipatov wrote:
> Update of /people/lav/packages/electron.git
> 
> Changes statistics since common ancestor `2.0.4-alt1-1-g884baa3' follows:
>  .gear/rules   |  1 +
>  electron.spec | 21 ++++++++++++++++-----
>  2 files changed, 17 insertions(+), 5 deletions(-)
> 
> Changelog since common ancestor `2.0.4-alt1-1-g884baa3' follows:
> commit 9a0c7b8c89ac9e2813fa2ec13311eb71731f156e
> Author: Vitaly Lipatov <lav на etersoft.ru>
> Date:   Thu Jul 12 01:35:02 2018 +0300
> 
>     2.0.4-alt2
>     
>     - enable build on aarch64
> 
> Full diff since common ancestor `2.0.4-alt1-1-g884baa3' follows:
> diff --git a/.gear/rules b/.gear/rules
> index d483ba7..ec6d3e4 100644
> --- a/.gear/rules
> +++ b/.gear/rules
> @@ -1,3 +1,4 @@
>  tar: x86_64 name=@name на -@version@
>  tar: i586 name=@name на -@version на -i586 base=
> +tar: aarch64 name=@name на -@version на -aarch64 base=
>  copy: patch_binary.sh
> diff --git a/electron.spec b/electron.spec
> index 5fa549a..4dfd795 100644
> --- a/electron.spec
> +++ b/electron.spec
> @@ -1,7 +1,7 @@
>  # TODO: build from sources
>  Name: electron
>  Version: 2.0.4
> -Release: alt1
> +Release: alt2
>  
>  Summary: Build cross platform desktop apps with JavaScript, HTML, and CSS
>  
> @@ -13,10 +13,12 @@ Group: Development/Other
>  Source: %name-%version.tar
>  # Source1-url: https://github.com/electron/electron/releases/download/v%version/electron-v%version-linux-ia32.zip
>  Source1: %name-%version-i586.tar
> +# Source2-url: https://github.com/electron/electron/releases/download/v%version/electron-v%version-linux-arm64.zip
> +Source2: %name-%version-aarch64.tar
>  
> -Source2: patch_binary.sh
> +Source10: patch_binary.sh
>  
> -ExclusiveArch: x86_64 i586
> +ExclusiveArch: x86_64 i586 aarch64
>  
>  %set_verify_elf_method skip
>  #add_findreq_skiplist %_libdir/%name/bin/code
> @@ -37,8 +39,14 @@ Build cross platform desktop apps with JavaScript, HTML, and CSS.
>  tar xfv %SOURCE1
>  %endif
>  
> -%build
> -sh %SOURCE2 ./%name
> +%ifarch aarch64
> +tar xfv %SOURCE2
> +# hack: we have lib64/ld-linux-aarch64.so.1
> +sed -E -i -e "s@/lib/ld-linux-aarch64.so.1@/lib64/ld-2.27.so\x0________@" ./%name
> +%endif

Вы действительно хотите заблокировать обновление glibc до 2.28 в Сизифе?


-- 
ldv
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : signature.asc
Тип     : application/pgp-signature
Размер  : 801 байтов
Описание: отсутствует
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20180712/dceaa0f0/attachment-0001.bin>


Подробная информация о списке рассылки Devel