Nasina has quit [Read error: Connection reset by peer]
<Begasus[m]>
x512 shouldn't these point to setting directories? -DFALLBACK_CONFIG_DIRS="/boot/home/config/non-packaged/add-ons:/boot/home/config/add-ons:/boot/system/non-packaged/add-ons:/boot/system/add-ons" \
<Begasus[m]>
vulkan*
<Begasus[m]>
and DFALLBACK_DATA_DIRS point to the add-ons ones?
<Begasus[m]>
can't get the tests to compile, some file is generated and can't track down where it comes from
<OscarL>
Morning Begasus[m].
Nasina has joined #haiku
<OscarL>
regarding that FAISS thing... I guess the python code is either not finding libfaiss.so, or one of the compiled swig modules for the bindings.
<OscarL>
tried looking at the code to see if it was a similar case as with unicorn (need to adjust the lib*.so name), but couldn't find where it loads the libs :-/
<OscarL>
(I haven't worked with swig-generated bindings)
<OscarL>
maybe the syslog shows something when you try it to import?
<Begasus[m]>
morning OscarL !
<OscarL>
on the package you should see some "_swigfaiss.so" / "_swigfaiss_avx2.so" and similar files.
<Begasus[m]>
ah, didn't check there
<Begasus[m]>
both are in the python package, let me try import again
<Begasus[m]>
KERN: runtime_loader: Cannot open file libfaiss_python_callbacks.so (needed by /boot/system/lib/python3.10/vendor-packages/faiss/_swigfaiss_avx2.so): No such file or directory
<OscarL>
is libfaiss_python_callbacks.so in the package's "lib/" dir?
<Begasus[m]>
it's in there: /boot/system/lib/python3.10/vendor-packages/faiss
<Begasus[m]>
together with both the other libraries
<Begasus[m]>
not in $libDir
<OscarL>
I would move that libfaiss_python_callbacks.so to $libDir, and leave the _swig*.so where they are.
<Begasus[m]>
x512 could you check a build for vulkan with this? https://bpa.st/S47Q
<Begasus[m]>
k checking
<OscarL>
Begasus[m]: minor thing: you can remove the "export LIBFAISS_PATH=$libDir" from the recipe, IIRC, unicorn *did* uses such variable, but it was just that project, it is not a "generic python bindings thing".
<Begasus[m]>
yeah, wasn't sure yet, so left it as it was for unicorn
<OscarL>
also, I guess you could drop the "if $buildPythonBindings; then", I just added them on unicorn, because it was only one of the many available, and I still doubt it is of any use :-D
<OscarL>
on the other hand... this faiss thing... kinda useless without the bindings, it seems :-D
<Begasus[m]>
Warning: POLICY ERROR: no matching provides "lib:libfaiss_python_callbacks" for "lib/libfaiss_python_callbacks.so"
<Begasus[m]>
so far ... :)
<Begasus[m]>
OK, that works, I can import,help() now
<Begasus[m]>
maybe that "export" is in the way ...
<Begasus[m]>
clean build
<OscarL>
don't you just have to add "lib:libfaiss_python_callbacks" to PROVIDES?
<OscarL>
probably on PROVIDES_python$pythonPackage ?
<Begasus[m]>
in PROVIDES as it ended up in $libDir
<Begasus[m]>
but that was already done after the first warning/error ;)
<OscarL>
(as it is only build/needed by the bindings, I would probably place "libfaiss_python_callbacks.so" on _python310, not on the base package)
<Begasus[m]>
ok, the removal of export .... didn't work, so still have to mv the library
<Begasus[m]>
ah right, didn't error because base package is required
janking has quit [Quit: Vision[]: i've been blurred!]
<Begasus[m]>
hmm it requires the base library, not the package ...
<OscarL>
sounds reasonable.
<Begasus[m]>
we do the same for _devel packages :)
<Begasus[m]>
hmm, let me push that as draft to haikuports
<OscarL>
sounds reasonable, just needs some minor cleanups.
<OscarL>
"Short description of ProjectX" :-D
<Begasus[m]>
thought so :) hence it's easier to comment at haikuports :)
* OscarL
is not a fan of SOURCE_URI="$HOMEPAGE/foobar", but won't make a fuss about it.
<Begasus[m]>
well ... I'm not a fan of $portName so ... :P
<OscarL>
$portVersion is almost always there, so copy/paste is already not that practical for either of us :-D
<Begasus[m]>
heh
<Begasus[m]>
there, PR (draft) created
<Begasus[m]>
summary adjusted
<Begasus[m]>
maybe that pythong part/build/install could go to INSTALL()?
<Begasus[m]>
s/pythong/python
<Begasus[m]>
and cleaned up a bit, now waiting for comments :)
<OscarL>
I would not move the "python setup.py build" part.
<OscarL>
and spliting build/install wouldn't add much (other than more lines)
<Begasus[m]>
it would "skip" the default build if that's already done
<Begasus[m]>
nah, just the python block to INSTALL()
<Begasus[m]>
doggies/chores biab :)
<OscarL>
that "python setup.py build install" compiles swing stuff, AFAICT.
<OscarL>
so moving "python setup.py build" to INSTALL doesn't sounds particularly good, and moving just the "python setup.py install" part doesn't gains us much over current status, that's what I was aiming at.
kescher has quit [Quit: Bye]
* OscarL
wonders if "just another indirection level" would help easing the transition from current "python3.xx" packages to "python3.xx_default + python3.xx"
kescher has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
pabs has quit [Remote host closed the connection]
pabs has joined #haiku
coolcoder613 has quit [Remote host closed the connection]
coolcoder613 has joined #haiku
erysdren has quit [Quit: Konversation terminated!]
<Begasus[m]>
will check with numpy thingy :)
<diver>
OscarL: hi! could you try installing ansible via pip? last time a tried I ran into all sorts of problems, but I don't know pip/python much to troubleshoot myself
<OscarL>
bah.... "previous" *still* doesn't has a proper tarball to download, and downloading from sf.net's svn is not safe :-(
<OscarL>
diver: I won't be able to download all of that without eating my daily MBs. If you could paste a full log of your attempted "pip install ansible" (ideally from a clean install)... I *might* be able to at least narrow down the issue.
<Begasus[m]>
launched one here for ansible, will report back on that (ansible download alone +50MB)
<OscarL>
ouch.
<OscarL>
Good thing I didn't tried. Thanks Begasus[m] :-)
<Begasus[m]>
but I suspect some numpy issues (as usual) :)
<diver>
will try to make a clean install, but it might take a while as i need to go to work now
<Begasus[m]>
enjoy your day diver :)
<OscarL>
no worries, Begasus[m] might gets a good enough log. Have a good one diver!
<OscarL>
Begasus[m]... the Python packaging magician! :-P
<Begasus[m]>
~> ansible --version
<Begasus[m]>
ansible [core 2.17.9]
<OscarL>
"Ansible is a radically simple IT automation system. It handles configuration management, application deployment, cloud provisioning, ad-hoc task execution, network automation, and multi-node orchestration."
<Begasus[m]>
I didn't work on pip :D
<OscarL>
Begasus[m]: stuff that those crazy sys-admin use.
<Begasus[m]>
well it does install, diver can go to work now :D
<diver>
oh, interesting
carlomonte has joined #haiku
<Begasus[m]>
can also import and call help() with python :)
<Begasus[m]>
just did "pip3 install --user ansible" :)
carlomonte has quit []
<OscarL>
mmm, my pip is utterly broken (no wonder, considering that I tend to have about 5 different pythons, some installed under ~/config/, and I don't have any pip_python3x .hpkg installed :-D
<Begasus[m]>
tss :P
<OscarL>
btw, those pip_python3x packages will face the same fate as the Dodo bird :-D
<Begasus[m]>
lol
<OscarL>
users needing to use pip should instead install pip themselves ("pyton3.xx -m ensurepip altinstall" or with "--user")
<OscarL>
and then call the `pip3.xx` that matches the python version they need/use.
<OscarL>
reason is... pip updates way too*fast* for us to keep up. And it just installs/works out of the box anyway.
<Begasus[m]>
jmairboeck: is awake too :)
<Begasus[m]>
nice catch :)
* OscarL
runs `python3 -m ensurepip --altinstall --user`, that indeed solved this pip issues.
Oscar-L has joined #haiku
<Oscar-L>
darn phone reboots :-)
<Begasus[m]>
KDE Gear 24.12.3 released :)
OscarL has quit [Ping timeout: 480 seconds]
<Oscar-L>
"Error: 'svn' is not available, please install it" :-/
<Begasus[m]>
eeps
<Oscar-L>
I don't care about "previous" *that* much.
<Oscar-L>
I think I will just blidly add the .hvif I made for it, and call it a day :-D
<Begasus[m]>
OK, if nothing pops up I think I'll merge faiss later then
<Oscar-L>
maybe nexus6 should try it first?
<Begasus[m]>
can't remember his github name, wanted to poke ... :)
<Begasus[m]>
ah, could also mention it at the forum
<Begasus[m]>
ah, can also have a look at removing that condition for python Oscar-L
<Begasus[m]>
just added it as you mentioned unicorn yesterday :)
BiPolar has joined #haiku
<BiPolar>
Begasus[m]: "nexus6-haiku" on GH.
<Begasus[m]>
thanks :)
Oscar-L has quit [Ping timeout: 480 seconds]
tktech283 has joined #haiku
<Begasus[m]>
bah ... /Opslag/haikuports/dev-libs/faiss/work-1.10.0/port.recipe: line 59: SUMMARY_python310=The Python python bindings for faiss: command not found
tktech28 has quit [Ping timeout: 480 seconds]
tktech283 is now known as tktech28
<BiPolar>
removed a bit too much? :-D
* BiPolar
downloaded "previous" with the few remaining data he has for now.
<Begasus[m]>
probably, and finding which can be tricky sometimes :P
<BiPolar>
(I will probably open a PR for adding the icon later this night)
<BiPolar>
Begasus[m]: you should just be able to remove the "if $buildPythonBindings; then" lines (and the "fi" ones of course), and remove the indentation.
<BiPolar>
that should be all.
<Begasus[m]>
think I did all of that :)
<BiPolar>
(as in... the contents of the "if" should remain as is, just not indented)
dpirate has quit [Remote host closed the connection]
dpirate has joined #haiku
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #haiku
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #haiku
Nasina has quit [Read error: Connection reset by peer]
HaikuUser has joined #haiku
HaikuUser has quit []
Nasina has joined #haiku
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #haiku
<nephele>
My brother, who works in music professionally, will use one lenovo all-in-one for his recording setup (microphone goes in, sound file goes out). So now i'm interested to learn more about the media kit and try to fix some of it's problems, but there seems to be no good overview documentation that i can find
<nephele>
I guess I will check the bebook later
Nasina has quit [Read error: Connection reset by peer]
nephele has quit [Quit: Vision[]: i've been blurred!]
Nasina has joined #haiku
Nasina has quit [Remote host closed the connection]
mmu_man has quit [Ping timeout: 480 seconds]
jmairboeck has joined #haiku
mmu_man has joined #haiku
Nasina has joined #haiku
<Anarchos>
Begasus[m]: radare2 ?
Nasina has quit [Read error: Connection reset by peer]
janking has quit [Quit: Vision[]: i've been blurred!]
Nasina has joined #haiku
Nasina has quit [Read error: Connection reset by peer]
<Begasus[m]>
Anarchos that's actually the original one, rizin is forked from it
<Begasus[m]>
and been kept uptodate (working together with upstream)
<Anarchos>
Begasus[m]: i think i saw both radare2 and rizin in haikuports. So which one should i use ?
gouchi has quit [Remote host closed the connection]
coolcoder613 has quit [Remote host closed the connection]
coolcoder613 has joined #haiku
dalme has joined #haiku
nexus6 has quit [Quit: Vision[]: i've been blurred!]
HaikuUser has joined #haiku
HaikuUser has quit []
<Begasus[m]>
bugger ... Error: problem 1: package poppler25_qt6_devel-25.02.0-1 requires poppler25_devel==25.02.0, but none of the providers can be installed
<nipos>
If I have a BGroupLayout(B_VERTICAL) that contains three buttons,is there an easy way to make all buttons have the same width?
<nephele>
Don't they now?
<nephele>
do you have a larger code snippet to show?
<nephele>
kallisti5[m]: around?
<nipos>
No,they don't,each button has the width it needs for the label
<nephele>
those aren't localized... that's not nice. But a hack you could do is set the explicit min size for all the buttons to a multiple of StringWidth of W
<nipos>
They are localized,but it's in another function that allows for realtime update when you change your language setting
<nipos>
I hoped I could avoid ugly hacks and have the LayoutKit handle the correct size for me.The old code with absolute coordinates had a hack like that
<nephele>
So maybe compare the StringWidth of each of the three strings, pick the widest one, and set the minimum size accordingly
<nephele>
I don't know if BButton has a way to tell it to fill all available space or something
MisthaLu has joined #haiku
<nephele>
Someone else probably has a better answer than me...
<nipos>
Just tried using a Grid Layout instead,doesn't change anything :/
<nephele>
Yes, that won't change anything. The BButtons prefered size is what fits the String
<nephele>
it won't use any bigger size unless you tell it to
<nephele>
(Tell the Button class I mean, not the layout)
Anarchos has quit [Quit: Vision[]: i've been blurred!]
vezhlys_ is now known as vezhlys
linuxmaster has quit [Ping timeout: 480 seconds]
linuxmaster has joined #haiku
Nasina has quit [Ping timeout: 480 seconds]
diver has joined #haiku
Skipp_OSX has joined #haiku
Skipp_OSX has quit []
AlienSoldier has joined #haiku
linuxmaster has quit [Ping timeout: 480 seconds]
<AlienSoldier>
scanty got myself a genesis model one (the one with the "high definition graphic" text. Want to mod it to svideo, was not possible with the video chip of my model 2. Got a nice deal on it.
linuxmaster has joined #haiku
diver has quit [Quit: Leaving.]
vdamewood has joined #haiku
erysdren has quit [Quit: Konversation terminated!]