*** svartoyg is now known as svartoyg_afk | 01:08 | |
*** zbenjamin_ is now known as zbenjamin | 01:15 | |
*** nyov is now known as Guest74910 | 03:46 | |
Dakon | found it, thx | 07:51 |
---|---|---|
*** svartoyg_afk is now known as svartoyg | 08:30 | |
piggz_ | attah: hi | 09:39 |
attah | hello | 09:40 |
piggz_ | that fixes the error, now I get Printe Failed: (and no message) | 09:40 |
attah | Okay, nice | 09:41 |
attah | That means your printer gave absolutely no info about how or why | 09:41 |
attah | maybe just closed the connection | 09:41 |
piggz_ | ok ... strange, its a very new printer and works as a cups driverless printer | 09:41 |
piggz_ | so, _should_ support printing different page sizes | 09:42 |
attah | Page sizes, sure... but i don't think it expects to have to scale the images itself | 09:42 |
attah | cups will have done it for it | 09:43 |
piggz_ | ok | 09:44 |
piggz_ | would certainly be nice to print photos from phone | 09:44 |
piggz_ | excellent use case | 09:44 |
attah | yes, agreed | 09:44 |
attah | that and PDFs should do for most | 09:44 |
attah | so if you have any hints on how i could go about making a conversion pipeline run in another thread/process i'm all ears | 09:45 |
attah | I already have the basic raster codec: https://github.com/attah/ppm2pwg | 09:46 |
piggz_ | running in antoerh thread isnt too difficult ..... | 09:46 |
piggz_ | also, why is the resolution so low, 600x600 ... printer should do much higher | 09:47 |
attah | 600x600 *dpi* | 09:47 |
piggz_ | yes, spec of printer is 4800x1200dpi | 09:48 |
attah | well, then you should be able to select other options | 09:48 |
attah | but it is not available? | 09:49 |
piggz_ | no its not | 09:50 |
piggz_ | byw, here is some code that runs in a worker thread https://github.com/piggz/harbour-taskswitcher/blob/master/daemon/src/eventhandler.cpp#L12 | 09:50 |
attah | Hmm, okay, so using slots to call back would work? | 09:51 |
attah | The problem i have is that i used QtConcurrent::run() and then it was not allowed to use the QNetworkAccessManager of the main thread | 09:52 |
attah | please paste me the contents of the debug page, and i'll take a look at if there is something up with the resolution selection | 09:53 |
attah | (tap the printer rapidly 5 times with no file selected, long press to copy) | 09:53 |
piggz_ | ok | 09:53 |
attah | Or maybe easier... in the QtCreator output, there is a big blob starting with onCompleted:12 | 09:54 |
piggz_ | attah: http://paste.mozilla.org/urWoGEAn .. | 09:57 |
piggz_ | and https://paste.mozilla.org/vcCtVORA | 09:58 |
Nico[m] | attah: You could use a separate NetworkManager on you specfic thread or you need to communicate with the main thread via signals/slots | 09:58 |
attah | well, under printer-resolution-supported, you have only one option | 09:59 |
piggz_ | yeah, i saw that | 09:59 |
piggz_ | wonder if the printer fakes it | 09:59 |
piggz_ | thats whats spashed over the specs! | 09:59 |
attah | or it's only supported for some select proprietary extension | 10:00 |
piggz_ | i see in the supported formats is octet-stream ... wonder if you sent a pdf to that it would work? | 10:02 |
attah | likely not, but feel free to try | 10:02 |
piggz_ | ill leave you to printing for now, too many other projects! :D | 10:03 |
attah | it seems to mostly be older printers that fails to advertise that properly | 10:03 |
attah | A colleague has a quire old laser printer that does Postscript(!) it happily takes PDFs too | 10:04 |
piggz_ | i bought this printer specifically becuase it is a generation older than current, and can still get cheap ink for it ... all the new gen ones are locked down | 10:04 |
attah | that's a can of worms i don't want to get anywhere near :) | 10:04 |
attah | Maybe soon they will stop that madness | 10:05 |
piggz_ | yeah, ive always had HPs, but i couldnt get a modern hp printer without drm on the ink! | 10:05 |
attah | the first printer with intentionally/properly refillable toner has already happened | 10:06 |
piggz_ | so what will the raster support add? | 10:07 |
attah | that would mean anything that i can convert in-app can be printed on most printers from the last 10-15 years | 10:08 |
attah | (barring he cheapest HPs) | 10:08 |
piggz_ | well, looking forward to testing that! | 10:09 |
attah | i.e. any type of image that Qt can give me the raw data of, plus PDFs | 10:09 |
attah | my pipeline already works with mupdf... it id the multithreading that is the functional hurdle | 10:10 |
attah | then performance could do with a boost too... | 10:10 |
*** frinring_ is now known as frinring | 10:48 | |
*** svartoyg is now known as svartoyg_afk | 11:11 | |
attah | piggz_: I duct taped it together with QMetaObject::invokeMethod() so i could get a document through | 11:38 |
attah | but it really needs loads of cleanup, so i'm trying to wrap my head around what you did | 11:39 |
schmutzfinger | hi all, just wanted to OTA update to rokua. My device rebooted and is now stuck on a white screen with SONY, LED is blinking green, connecting to a laptop it is an ethernet device with DHCP on 192.168.2.15, this has 22 open and i get "System is booting up. See pam_nologin(8)" | 11:44 |
schmutzfinger | it is stuck since about 2h now, can not even power-button it off for a reflash | 11:44 |
schmutzfinger | but i still hope i get away without reflash ... somehow Will need to wait for the battery to drain anyways ... | 11:45 |
Nico[m] | Have you tried a hard reset, i.e. holding one of the volume keys + the power button for a few seconds? | 11:46 |
schmutzfinger | Nico[m]: i tried, but must have been the wrong one ... since it now worked | 11:48 |
schmutzfinger | and it came back up in the old firmware ... wow shock slowly going away | 11:50 |
schmutzfinger | i might try again, is there a way to receive feedback on the updates? Or might i find a log of the "failed" attempt somewhere? | 11:51 |
Nico[m] | Hm,not sure, someone else will have to answer that, but there is an app on openrepos that may help with system upgrades in your case | 12:42 |
schmutzfinger | Nico[m]: not sure i would want an app for something that basic, will do some research before i dare to try again | 13:18 |
attah | piggz_: you don't happen to have any hints on adding build steps that run "make" in submodules to the project? | 15:20 |
abranson | attah: what's the ioprepender.h header used in seaprint? i'm missing it | 16:22 |
attah | it's just garbage, it can be removed | 16:23 |
attah | QtCreator doing things for me when i didn't mean to | 16:24 |
abranson | ah ok thanks | 16:24 |
attah | it came from one of all the failed attempts of making rasterization | 16:24 |
abranson | but it doesn't mess up your build? | 16:24 |
attah | seems i have it sloshing around in my local repo | 16:25 |
attah | or had, at least | 16:25 |
attah | i'm off to make dinner etc... but any hints on getting extra binaries produced via QMAKE_EXTRA_TARGETS to actually make it into the rpm would be much appreciated | 16:28 |
attah | abranson: are you on the pipeline branch? | 16:29 |
attah | nvm, master is broken too | 16:30 |
abranson | i was just on master | 16:30 |
attah | anyway.. i'll be back later to see if i can't get the extra binaries to pack nicely | 16:31 |
abranson | btw, I think the 'printer-info' field would be a better name to display for the printer than the rp thing | 16:31 |
abranson | did you get make working? i think for qmake it's SUBDIRS | 16:32 |
abranson | bon appetit! | 16:32 |
attah | sorta | 16:32 |
attah | QMAKE_EXTRA_TARGETS += ppm2pwg // ppm2pwg.commands = make -C $$PWD/ppm2pwg | 16:32 |
attah | etc | 16:32 |
abranson | that works too i guess | 16:33 |
abranson | for the rpm, you'd have to add them to the spec? | 16:33 |
attah | apply liberal amounts of duct tape ;) | 16:33 |
abranson | not sure though with that yaml thing. i thought that was gone these days | 16:34 |
abranson | i'd drop that, get rid of all those # >> # << in the spec, and just stick what you need in the %files section :) | 16:35 |
attah | i was banging my head against the .pro file, because it looked to control what files get copied over | 16:35 |
abranson | yes that does | 16:35 |
attah | but a DISTFILES += ppm2pwg/ppm2pwg doesn't seem to work... i'd have expected it to at least fail | 16:36 |
attah | i really need to get dinner started, but thanks | 16:37 |
attah | abranson: back, temporarily... what about that rp thing? | 17:01 |
attah | any idea how (and where?) i would ship some extra binaries with my app? | 18:40 |
attah | an extra target with a .files entry seems to lose execution permissions | 18:40 |
altker128 | I struggled with this before, if I want to cross-compile "standard" FOSS programs (i.e. like dnsmasq) are there some examples of doing this? I know how to cross-compile in general, but not sure how to target SFOS | 19:01 |
attah | supposedly the sdk vm thingy can be used | 19:12 |
attah | but now that i have put it inside the .pro file it gets run in the correct environment without me doing anything | 19:13 |
attah | for any random little things i want to build, i do it on the phone | 19:13 |
attah | And now i finally got it executable | 19:14 |
attah | QMAKE_INSTALL_PROGRAM = install -m 755 -p | 19:14 |
attah | and i switched the binary over to being in .programs from .files, so i don't accidentally make everything else executable | 19:15 |
altker128 | attah: But what about stuff like ./configure, et c? | 19:43 |
attah | I'm fortunate to have two dependencies that it is enough to "make" | 19:44 |
attah | so i get away with: PPM2PWG.commands = make -C $$PWD/ppm2pwg | 19:44 |
altker128 | It's so weird that SFOS is Linux based but building programs for my iOS devices (using Linux no less) seems easier. set CC= and run ./configure && make | 19:46 |
attah | technically it is that easy, just not through qmake | 19:46 |
altker128 | I guess to make "non-GUI" programs, how does go about doing that? | 19:47 |
attah | as i said, i compile them on the phone | 19:48 |
attah | just install gcc and go | 19:48 |
attah | no golang, but the verb ;) | 19:48 |
altker128 | Is there a reason it can't be done on a Linux PC? | 19:48 |
attah | It can most certainly be done, and with the sdk vm it is probably almost easy | 19:49 |
attah | i just never bothered | 19:49 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!