*** spiiroin_ is now known as spiiroin | 07:51 | |
ilpianista | <rinigus> "nephros: so far, we don't have..." <- what do you mean here by "obscurity". I've a project that reads api keys via environment variables; is there any way I can provide those without exposing them in OBS? | 14:41 |
---|---|---|
mal | ilpianista: about https://build.merproject.org/package/show/home:ilpianista/harbour-tailscale issue, use "ifarch aarch64" not arm64 | 15:54 |
ilpianista | mal: I just fixed it, thanks ;-) | 15:56 |
ilpianista | it's a pity that I cannot push it to chum (but I fully understand and agree with the reasons) | 15:59 |
mal | what is the reason? | 16:00 |
ilpianista | tailscale it's a binary | 16:03 |
mal | ok | 16:03 |
ilpianista | I fixed OBS, but now I broke the build with mb2 ✌️ | 16:15 |
mal | how does it fail? | 16:17 |
* ilpianista sent a code block: https://matrix.org/_matrix/media/v3/download/matrix.org/wMVngddWuatIRYjTcvGwmTLJ | 16:22 | |
mal | did you use build -p? | 16:24 |
ilpianista | correct! | 16:24 |
ilpianista | thanks! | 16:24 |
ilpianista | btw, may I use %ifarch in the YAML too? | 16:24 |
mal | I think yaml is not really used anymore | 16:25 |
mal | it's usually easier to just make a spec manually | 16:25 |
ilpianista | ah, so it's ok if I remove it | 16:25 |
mal | I never use yaml myself | 16:25 |
rinigus | ilpianista: we don't have any way to store API keys on OBS "hidden" from others. at least I am not aware of any | 16:29 |
ilpianista | ok, thanks | 16:30 |
ilpianista | <mal> "did you use build -p?" <- mmm, it doesn't work even with that | 16:40 |
mal | hmm | 16:53 |
mal | not sure if mb2 handles all special cases | 16:53 |
ilpianista | I'm using %setup -q -n %{name}-%{version} -a 1 to decompress Source1 | 16:55 |
ilpianista | I workarounded it with an ugly if [ ! -d... | 17:13 |
thilo[m] | Hi, i wanted to use the file util to get the mimetype of a file, but if i start the app outside of the IDE, thus directly via the launcher, i get a permission denied | 20:38 |
thilo[m] | ``` | 20:38 |
thilo[m] | result = subprocess.check_output(['file', '--mime-type', path], text=True) | 20:38 |
thilo[m] | PermissionError: [Errno 13] Permission denied: 'file' | 20:38 |
thilo[m] | is there a way to work around this, or can i simply not use the file util | 20:39 |
thilo[m] | * file util? | 20:39 |
thilo[m] | (at least i assume that the file util is the problem..) | 20:41 |
Nico | Does anyone have a good example of how to play an audio buffer on SailfishOS? I tried https://github.com/sailfishos/libaudioresource-qt/blob/master/example/player.cpp, but it seems to not cause any sound output. I have audio samples coming in bit by bit, so I need to be able to manually pass a buffer. | 22:45 |
Nico | (I managed to get some output by manually writing to the builtin default QAudioOutput, but that had some crackling and was always max volume...) | 22:47 |
Nico | Hey, I fixed it by using SDL instead of QAudioOutput! Thanks for rubberducking! | 23:00 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!