Is this thing on? Cross-compiling for ARM

2018-12-30 Thread Erik Winkels
Hi all, Not sure if this is still the place to be for ECL questions but here it goes: I'm having issues cross-compiling ECL for ARM and since this is actually the first time I'm cross-compiling stuff ever I'm kinda stuck. I want to cross-compile for ARM, *but* it is not for Android it is fo

Re: Is this thing on? Cross-compiling for ARM

2019-01-02 Thread Erik Winkels
Hi Daniel, First of all, sorry for the horrible formatting of my initial e-mail. I'm using a proper mail program now. Secondly, thanks for the reply and apologies for the late reply: the year turnaround got in the way. "Daniel Kochmański" wrote on Sunday, 2018-12-30 20:56: > > Alright, so the

Re: Is this thing on? Cross-compiling for ARM

2019-01-11 Thread Erik Winkels
So, to follow up on this I've gotten ECL running on the SailfishOS emulator. In the end (after finding the right web page) it was pretty easy to get shell access to the emulator and run `./configure`, `make` and `make install` there. Although it's a cross-compilation environment it worked wit

Re: Is this thing on? Cross-compiling for ARM

2019-02-18 Thread Erik Winkels
On 2019-02-17 08:43, Renaud Casenave-Péré wrote: I am the one who packaged ecl for salifish and put it on openrepos.net. As per my light testing it is working fine, together with EQL5 which I also packaged. Oh great, thanks for replying! If you have questions for me, don’t hesitate. I go

Re: Is this thing on? Cross-compiling for ARM

2019-08-03 Thread Erik Winkels
Hi Rene, I got sidetracked by work and family life, but I started playing with this again yesterday: On 2019-02-17 08:43, Renaud Casenave-Péré wrote: I am the one who packaged ecl for salifish and put it on openrepos.net. As per my light testing it is working fine, together with EQL5 which

Re: Is this thing on? Cross-compiling for ARM

2019-08-04 Thread Erik Winkels
Hi Rene, Nevermind this: On 2019-08-03 23:36, Erik Winkels wrote: Do you have any hints for on how you got EQL5 packaged? I've got building ECL down to repeatable steps but with EQL5 I run into issues with: - `printsupport` and `uitools` in the .pro files - `#include ` in a lot of gene

Re: Is this thing on? Cross-compiling for ARM

2019-11-15 Thread Erik Winkels
Hello, Renaud: On 2019-02-19 02:06, Renaud Casenave-Péré wrote: The approach I’m experimenting right now is a mix of “my_app” and “M-modules/quick” examples from EQL5 and it seems to be a viable one. Have you been able to "import EQL5 1.0" the quick module? So far I've only been working wit

Re: Is this thing on? Cross-compiling for ARM

2020-09-23 Thread Erik Winkels
Hi all, Sorry for being silent on this for almost a year, but I've been switching between phones, SailfishOS (SFOS), GrapheneOS and LineageOS a lot. Trying to find something that would fit my combination of preferences (the hardest two being combining SFOS and a good camera). That, and coro

Re: Is this thing on? Cross-compiling for ARM

2020-09-26 Thread Erik Winkels
On 2020-09-24 01:05, Erik Winkels wrote: The app is a little sluggy because I installed `wayland-egl` and `mesa-llvmpipe-dri-swrast-driver` to get it running. I'm sure I'm doing something wrong here, but for now I'm happy! Ok, scratch that. I accidentally the phone, but

Where to go with EQL5 and QT specific questions?

2020-12-08 Thread Erik Winkels
So you've noticed I'm kinda slow. I've finally started working on an app for Sailfish OS thanks to Renaud's fantastic template https://redmine.casenave.fr/projects/eql5-sfos/repository/44/revisions/master/show and also thanks to all the people who have worked on ECL and EQL. I know little of

Re: Where to go with EQL5 and QT specific questions?

2020-12-08 Thread Erik Winkels
On 2020-12-06 21:54, Erik Winkels wrote: https://www.reddit.com/user/eql5 perhaps? Do the people here read that? Oh man, that's a user not a subreddit! Nevermind.

[EQL5] Making a model available for a ListView in QML

2020-12-16 Thread Erik Winkels
tl;dr:How can I use a list of strings defined in ECL as a ListView model in QML in Qt 5.6? === So I'm really not familiar with Qt, but since it is the GUI toolkit for Sailfish phones I have to use it. I'm trying to make a list of strings in ECL available as model to a ListView which has bee

Re: [EQL5] Making a model available for a ListView in QML

2020-12-16 Thread Erik Winkels
On 2020-12-16 11:04, Erik Winkels wrote: tl;dr:How can I use a list of strings defined in ECL as a ListView model in QML in Qt 5.6? So hopefully I just need to call the EQL5 version of `qmlRegisterType` as is done here: https://github.com/sailfishos/cppqml-sample/blob/master/src/cppqml.cpp

Re: [EQL5] Making a model available for a ListView in QML

2020-12-16 Thread Erik Winkels
Some progress, although I haven't tried updating the model from Lisp yet, but to make sure you guys don't dive into it. This works for the model defined in ECL and showing it in a QML ListView: (defun set-my-model () (eql:qlet ((data (eql:qvariant-from-value *pushover-messages* "QStr

Re: [EQL5] Making a model available for a ListView in QML

2020-12-16 Thread Erik Winkels
Updating works now as well, so I'm going to leave you guys alone for now. I've uploaded what I have here: https://git.sr.ht/~aerique/pusfofefe so you can comment on how to improve my QML and EQL code if you like. Thanks for your patience!

[EQL5] `init_lib_APP__ALL_SYSTEMS` strangeness

2020-12-18 Thread Erik Winkels
Hi, My C++ knowledge is very basic and I'm running into something I do not understand. I build the RPM for my Sailfish OS app in a Docker environment I made: https://git.sr.ht/~aerique/sfosbid#codeeql5-sfoscode If I follow the steps in the "eql5-sfos" section on my home PC it works, but if

[EQL5] Slow startup

2021-01-01 Thread Erik Winkels
Hi, in my app for Sailfish OS I've got a really long startup time compared to other apps. (On the first load it is especially long, I assume because Quicklisp is loading systems.) The longest wait and the one that would make startup time good enough for me if it was gone is marked with "-->":

Re: [EQL5] Slow startup

2021-01-01 Thread Erik Winkels
Hi, On Friday, January 1, 2021, PR wrote: > > Loading ASDF on mobile _is_ slow, and there is nothing we can do about it, > unfortunately. > > ASDF should therefore never be a dependency in a final app (there are ways to > avoid it, even if some libraries want it to be present.) Thanks, I'll m

Re: [EQL5] Slow startup

2021-01-08 Thread Erik Winkels
On 2021-01-01 13:56, PR wrote: I will try to add some example myself, so in future this (almost empty) repo will hopefully get populated: https://gitlab.com/eql/eql5-sailfish I was a little busy this week so only noticed this mail now. That looks good, glad someone more experienced with Q

Re: [EQL5] Slow startup

2021-01-12 Thread Erik Winkels
Hi, On 2021-01-01 12:12, PR wrote: Loading ASDF on mobile _is_ slow, and there is nothing we can do about it, unfortunately. I've alleviated my slow startup somewhat by diff --git a/make.lisp b/make.lisp index 41d4e3d..52b05b6 100644 --- a/make.lisp +++ b/make.lisp @@ -13

Re: [EQL5] Slow startup

2021-01-14 Thread Erik Winkels
Hi, A bit of a late reply since the discussion has already continued but: On 2021-01-12 18:50, pls.153 wrote: So, my question is: if you don't add ASDF as a dependency, what error messages do you get at app startup? When I do not `(require :sb-bsd-sockets)` I get: Condition of type: SIM

Re: Where to go with EQL5 and QT specific questions?

2021-03-02 Thread Erik Winkels
Hello, > On 01-03-2021 13:54 Renaud Casenave-Péré wrote: > > In that regard I have prepared a package for the latest ecl release (21.2.1) > but you’ll have to recompile and reupload your applications using the newest > libraries when I update my repository. I’m not sure how storeman behave >

Re: Where to go with EQL5 and QT specific questions?

2021-04-28 Thread Erik Winkels
Hi, > On 04-03-2021 20:52 Renaud Casenave-Péré wrote: > > Packages have been uploaded, together with an aarch64 version. > Same for eql5. Thanks again for all the work. > No static libraries yet,though. What does this mean? Would this be needed if I do a `CONFIG += standalone`[1] in the `e

Re: Where to go with EQL5 and QT specific questions?

2021-04-29 Thread Erik Winkels
Hi, > On 28-04-2021 22:27 pls.153 wrote: > > Just a quick reply: with a static build, you need to statically link all of > the (eventually needed) dependencies of the ECL 'contrib' libs into your > executable. Please see the following line of an iOS example, where the > 'sockets' lib (needed

Re: Where to go with EQL5 and QT specific questions?

2021-04-29 Thread Erik Winkels
Hi, > On 29-04-2021 13:50 Renaud Casenave-Péré wrote: > > Actually I was referring to an earlier release. The currently released > packages > are considered fully working. Paul’s solution is the way to go. > [...] > > Could you try with Paul’s solution and report back if it works for you or n

Re: Where to go with EQL5 and QT specific questions?

2021-04-29 Thread Erik Winkels
Hi again, > On 29-04-2021 17:49 pls.153 wrote: > On Thursday, April 29, 2021 5:31 PM, Pascal Bourguignon > wrote: > > but in fact, we may just use namestrings: > > > > (setf (logical-pathname-translations "SYS") > > (list (list "SYS:;." > > (merge-pathnames "/."(user-homedir-pathname) > >

Re: Where to go with EQL5 and QT specific questions?

2021-05-01 Thread Erik Winkels
Hi, > On 01-05-2021 09:01 pls.153 wrote: > > you could try to pre-load them using Qt instead. Just put those lines before > loading your EQL code. Yes! That and `(push :cl+ssl-foreign-libs-already-loaded)` made eql5-sfos work, thanks. I think that's enough to attempt the same for my apps to

Re: Where to go with EQL5 and QT specific questions?

2021-05-01 Thread Erik Winkels
> On 01-05-2021 15:32 Erik Winkels wrote: > > I think that's enough to attempt the same for my apps tonight. So when really starting to use Drakma I get OpenSSL errors about not being able to determine the version. Since I'm going on holiday tomorrow I'm going to