[wpe-webkit] AArch64 builds in AUR

Diego Moore diego.moore at gmail.com
Mon Apr 1 09:36:00 PDT 2019


So I’ve found out why it didn’t work for me. Turns out I thought I had an rpi3 when actually it was an rpi 2! 🤦🏼‍♂️

While the rpi3 arrives I’ve got Arch Linux up and running on the Khadas Vim Pro 1 https://www.cnx-software.com/2016/11/17/khadas-vim-amlogic-s905x-android-and-linux-development-board-sells-for-50-and-up/ <https://www.cnx-software.com/2016/11/17/khadas-vim-amlogic-s905x-android-and-linux-development-board-sells-for-50-and-up/> but I’ve not had much success so far. 

Any variances for non-rpi hardware?

I’m running Arch Linux ARM Linux 4.9.26+ aarch64. 

> On 1 Apr 2019, at 13:43, Andrea Giammarchi <andrea.giammarchi at gmail.com> wrote:
> 
> You gotta trust any AUR module anyway ... but fair point, so:
> 
> `bash <(curl -s https://archibold.io/kiosk/wpe)` <https://archibold.io/kiosk/wpe)%60>
> 
> for long then, and all the files are open source in the related repo https://github.com/WebReflection/archibold.io/tree/gh-pages/kiosk <https://github.com/WebReflection/archibold.io/tree/gh-pages/kiosk>
> 
> 👋
> 
> On Mon, Apr 1, 2019 at 2:37 PM Konstantin Tokarev <annulen at yandex.ru <mailto:annulen at yandex.ru>> wrote:
> 
> 
> 01.04.2019, 15:27, "Andrea Giammarchi" <andrea.giammarchi at gmail.com <mailto: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)` <http://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 <mailto: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 <http://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 <http://archibold.io/kiosk/utils/wpe-aarch64>) as alarm.
> >>
> >> ps: What’s the difference between archibold.io/kiosk/utils/wpe-aarch64 <http://archibold.io/kiosk/utils/wpe-aarch64> and archibold.io/kiosk/wpe <http://archibold.io/kiosk/wpe>?
> >>
> >> Thanks
> >>
> >>> On 22 Mar 2019, at 12:28, Andrea Giammarchi <andrea.giammarchi at gmail.com <mailto: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 <http://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 <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 <http://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 <mailto: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 <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 <mailto:webkit-wpe at lists.webkit.org>)
> > Help/Unsubscribe/Update your Subscription:
> > https://lists.webkit.org/mailman//listinfo/webkit-wpe <https://lists.webkit.org/mailman//listinfo/webkit-wpe>
> 
> 
> -- 
> Regards,
> Konstantin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-wpe/attachments/20190401/aa95f16f/attachment.html>


More information about the webkit-wpe mailing list