[wpe-webkit] AArch64 builds in AUR

Konstantin Tokarev annulen at yandex.ru
Mon Apr 1 05:36:59 PDT 2019



01.04.2019, 15:27, "Andrea Giammarchi" <andrea.giammarchi at gmail.com>:
> Hi Diego,
>   if you're unfamiliar with ArchLinux just install the OS following the instruction page, login as root/root and then `bash <(curl -s archibold.io/kiosk/wpe)`

Running random script from web blindly with root privelledges isn't a bright idea,
especially given that script isn't served via https

>
> AFAIK that should work, but please let me know if that's not the case, thanks.
>
> On Mon, Apr 1, 2019 at 2:18 PM Diego Moore <diego.moore at gmail.com> wrote:
>> Hi Andrea,
>>
>> It took me some time to get Arch Linux up and running but I’m there now. Although the got the following build error:
>>
>> ==> Starting build()...
>> -- The C compiler identification is GNU 8.2.1
>> -- Check for working C compiler: /usr/bin/cc
>> -- Check for working C compiler: /usr/bin/cc -- works
>> -- Detecting C compiler ABI info
>> -- Detecting C compiler ABI info - done
>> -- Detecting C compile features
>> -- Detecting C compile features - done
>> -- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.1")
>> -- Checking for module 'gio-2.0'
>> --   Found gio-2.0, version 2.58.3
>> -- Checking for module 'libsoup-2.4'
>> --   Found libsoup-2.4, version 2.66.0
>> -- Checking for modules 'wpe-webkit-0.1>=2.21.90;wpe-0.2'
>> --   Found wpe-webkit-0.1, version 2.22.5
>> --   Found wpe-0.2, version 1.0.0
>> -- Checking for module 'wayland-client'
>> --   Found wayland-client, version 1.17.0
>> -- Checking for modules 'wpe-webkit-0.1>=2.21.90;wpe-0.2;wpebackend-fdo-0.1;egl;xkbcommon'
>> --   Found wpe-webkit-0.1, version 2.22.5
>> --   Found wpe-0.2, version 1.0.0
>> --   Found wpebackend-fdo-0.1, version 1.0.1
>> --   Found egl, version 19.0.1
>> --   Found xkbcommon, version 0.8.4
>> -- Checking for module 'wayland-egl'
>> --   Found wayland-egl, version 18.1.0
>> -- Configuring done
>> -- Generating done
>> -- Build files have been written to: /home/alarm/.cache/yay/cog-wpe-gl/src/_build
>> Scanning dependencies of target cogcore
>> [  5%] Building C object CMakeFiles/cogcore.dir/core/cog-launcher.c.o
>> [ 11%] Building C object CMakeFiles/cogcore.dir/core/cog-request-handler.c.o
>> [ 17%] Building C object CMakeFiles/cogcore.dir/core/cog-directory-files-handler.c.o
>> [ 23%] Building C object CMakeFiles/cogcore.dir/core/cog-utils.c.o
>> [ 29%] Building C object CMakeFiles/cogcore.dir/core/cog-shell.c.o
>> [ 35%] Building C object CMakeFiles/cogcore.dir/core/cog-webkit-utils.c.o
>> [ 41%] Building C object CMakeFiles/cogcore.dir/core/cog-platform.c.o
>> [ 47%] Linking C shared library libcogcore.so
>> /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/8.2.1/../../../libWPEWebKit-0.1.so: file not recognized: file format not recognized
>> collect2: error: ld returned 1 exit status
>> make[2]: *** [CMakeFiles/cogcore.dir/build.make:174: libcogcore.so.0.1.0] Error 1
>> make[1]: *** [CMakeFiles/Makefile2:110: CMakeFiles/cogcore.dir/all] Error 2
>> make: *** [Makefile:130: all] Error 2
>> ==> ERROR: A failure occurred in build().
>>     Aborting...
>> Error making: cog-wpe-gl
>>
>> That’s from running bash <(curl -s archibold.io/kiosk/utils/wpe-aarch64) as alarm.
>>
>> ps: What’s the difference between archibold.io/kiosk/utils/wpe-aarch64 and archibold.io/kiosk/wpe?
>>
>> Thanks
>>
>>> On 22 Mar 2019, at 12:28, Andrea Giammarchi <andrea.giammarchi at gmail.com> wrote:
>>>
>>> Hi Diego (and others)
>>>
>>> So, I like automations but having conflicts with dependencies is not super simple to handle.
>>>
>>> I had to re-package cog as cog-wpe-gl so it doesn't bother trying to rebuild wpewebkit from the scratch.
>>>
>>> To install all packages you can simply:
>>>
>>> bash <(curl -s archibold.io/kiosk/utils/wpe-aarch64)
>>>
>>> the content of the file is here:
>>> https://github.com/WebReflection/archibold.io/blob/gh-pages/kiosk/utils/wpe-aarch64
>>>
>>> If you want to install everything from scratch with one command, and low-to-little interaction (unfortunately mandatory), I've prepared a s script that does all the things for you:
>>>
>>> Boot and login as root, type this:
>>>
>>> bash <(curl -s archibold.io/kiosk/wpe)
>>>
>>> Follow the instructions (it will ask you from time to time to add some root or alarm password)
>>>
>>> If everything goes fine, at the end of the script it should reboot into full screen 720p kiosk on a local page showing the IP add and info.
>>>
>>> You can then ssh alarm at 192.168.1.111 (or whatever address it shows) and change the initial page from that point on, to anything else you like.
>>>
>>> If you are into NodeJS you can follow these instructions:
>>> https://medium.com/@WebReflection/nodejs-for-the-web-pi-kiosk-126283f5be16
>>>
>>> Have fun 👋
> ,
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> webkit-wpe mailing list (webkit-wpe at lists.webkit.org)
> Help/Unsubscribe/Update your Subscription:
> https://lists.webkit.org/mailman//listinfo/webkit-wpe


-- 
Regards,
Konstantin


More information about the webkit-wpe mailing list