ChanServ changed the topic of #haiku to: Open-source operating system that specifically targets personal computing. | https://haiku-os.org | Nightlies: https://download.haiku-os.org | Bugtracker: https://dev.haiku-os.org | SCM: https://git.haiku-os.org/ | Logs: https://oftc.irclog.whitequark.org/haiku | Matrix: #haiku:matrix.org | XMPP: #haiku%irc.oftc.net@irc.jabberfr.org
ClaudioM has joined #haiku
<ZoeLain> !???!?!!?
<ZoeLain> claudio!?
HaikuUser has joined #haiku
HaikuUser has quit [Remote host closed the connection]
sanzfc has joined #haiku
sanzfc has quit [Quit: Vision[]: i've been blurred!]
<ZoeLain> what
x10z has joined #haiku
ZoeLain has quit [Quit: leaving]
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
x10z has joined #haiku
ClaudioM has quit [Quit: leaving]
wannabee[m] has left #haiku [#haiku]
Begasus has joined #haiku
<Begasus> g'morning peeps
HaikuUser has joined #haiku
HaikuUser has quit []
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rennj> welcom to the deadzone
<rennj> heh
jrabbit has quit [Ping timeout: 480 seconds]
<Begasus> heading down, duty at the dogschool (early day there) cu peeps!
Begasus has quit [Quit: Leaving]
jrabbit has joined #haiku
aeryndunham has quit [Ping timeout: 480 seconds]
_Dario_ has joined #haiku
Begasus_32 has joined #haiku
<andreasdr[m]> Good morning
_Dario_ has quit [Quit: Vision[]: i've been blurred!]
nephele has joined #haiku
<Begasus_32> morning andreasdr[m]
<nephele> Hello
<Begasus_32> hi nephele
<andreasdr[m]> Good morning begasus and nephele.
<nephele> good morning andreasdr
<nephele> hi begasus
<Begasus_32> guy from cargo-c was impressed seeing it running on Haiku :)
<andreasdr[m]> Nice
<andreasdr[m]> Have there been some new cool packages added recently?
<andreasdr[m]> ... other ...
<andreasdr[m]> I can check my mails :)
<Begasus_32> upstream patch needs some fine tuning though
<andreasdr[m]> Ok
<nephele> Yesss, got a proper dark-mode for the image view in webkit now
<Begasus_32> Blender for 64bit (build failed on buildmaster for 32bit)
<andreasdr[m]> Nephele: Nice
<Begasus_32> nice nephele
<andreasdr[m]> Begasus_32: Nice
<nephele> Scrollbars are properly dark now aswell
<Begasus_32> thank 3dEyes andreasdr[m] :)
<andreasdr[m]> Nice
<andreasdr[m]> Nice
<andreasdr[m]> Nice galore :)
<andreasdr[m]> How I would add some meta information to my haiku binaries (after getting freshly compiled), mainly the icon, how would I do it? Any hint? Terminal only please.
<Begasus_32> No idea there
<nephele> to the binary or to the metadata?
<andreasdr[m]> To the binary.
<andreasdr[m]> Like adding the icon.
<nephele> Oh, i have a step by step for my game for that :D
<nephele> maybe it helps you
<andreasdr[m]> Nice. Let me check.
<andreasdr[m]> Thank you.
<nephele> the "If you changed the icon" section
<nephele> I think you don't need to use resatter though, because that is for metadata but another command instead for the 5th step
<thomaslewis> So, I managed to compile Dino on Haiku, but many of the button icons are missing and there's no title bar. I assume I'll need to add some Haiku-specific stuff to fix that?
<nephele> what is Dino?
<thomaslewis> GTK3 XMPP client
<nephele> Ah. IIRC the "client side decoration" stuff is disabled for gtk3
<nephele> which would be the title bar
<nephele> for the buttons probably some ressources are just missing?
OrangeBomb has quit [Quit: Slacking off]
<nephele> waddlesplash might have more hints about gtk3
jmairboeck has joined #haiku
<thomaslewis> Maybe. I built it with -DCMAKE_INSTALL_PATH=~/config/non-packaged (so my non-packaged directory is a unix-like mess right now). I'll have to look at what it put where on make install
<nephele> Yeah, it's possible that it just doesn't find stuff
<nephele> You can try running it from the terminal to see if that helps ;)
<thomaslewis> I did it because I needed a client with OMEMO encryption (side note: libsignal-protocol-c builds just fine on Haiku).
<nephele> IIRC some XDG_blah vars are set in the terminal still but not when launched in the GUI
<nephele> Yeah, I didn't really investigate OMEMO in Renga mainly because I have never used it an don't know what the requirements are for it and stuff
<nephele> but if you want to help out or just provide pointers that would be great :)
<thomaslewis> If I understood it, I would. I'm sure I could get a decent grasp of it if I actually read the XEP.
<thomaslewis> Renga doesn't seem to work for me, though. It logs into my account but doesn't populate the roster at all.
<thomaslewis> nephele, are you in the jdev MUC?
<nephele> yes
<thomaslewis> I'll post a screenshot of the result there.
<nephele> sure. Rengas issue tracker is on github also if you want to post something there
<thomaslewis> Ah, I meant of Dino, but I can send you a screenshot of Renga, as well.
<nephele> (about the roster not populating)
<nephele> Well, i know how Renga with an empty roster looks :D
<thomaslewis> Yeah, the roster is empty, but it says it's connected to my account in the status bar at the bottom.
<nephele> You use bookmarks2?
<thomaslewis> Yes, for most of the MUCs I care about.
<nephele> Renga supports bookmarks2 but it is disabled in code, if you flip a switch that might solve that issue
<nephele> wouldn't fix you needing OMEMO though :)
<thomaslewis> I'm currently going through the old Darkwyrm code tutorials to refresh my C++ memory (Common Lisp takes up most of the programming language space in my brain). After I'm done, I may look at your plugin architecture and take a stab at OMEMO.
OrangeBomb has joined #haiku
<thomaslewis> No promises though. I get easily distracted.
<nephele> I don't think Renga has a plugin architecture :P
<nephele> Haiku itself has a neat mechanism where /every/ executable is a shared executable, and you can load them into other applications at runtime because of this (we use this for example for the "replicants" in tracker and such)
<nephele> But i don't think Renga uses that anywhere
<nephele> If OMEMO support is added I don't see a problem to just ship it always in Renga tbh :)
<thomaslewis> What if the OMEMO part was written as a separate program that expected BMessages from the actual client and returned the info via the same mechanism? At that point, I think you'd only have to add a couple of handlers to any client needing OMEMO... (if I understand the message passing correctly)
<nephele> You could, yes. But i don't really understand why you would need to go this indirection if for one the actuall implementation is foreign anyway, and for another the only client is going to be Renga
<thomaslewis> There'd have to be a mechanism for auto-starting it (I haven't used Haiku exclusively since before the package manager, so my memory of how it all works is full of holes).
<thomaslewis> Is Vacuum still maintained?
<nephele> I don't know :/
<thomaslewis> I know Chat-O-Matic could just pull in Lurch from libpurple, but it may be easier to not use libpurple's implementation.
<nephele> I think the point was a bit to use the libpurple stuff for it, but jadedctrl may know more. I haven't really looked at Chat-O-Matic
<thomaslewis> Last Vacuum-IM commit was 6 months ago
<thomaslewis> I am glad to see that someone got SBCL working on Haiku, though.
<nephele> Sounds like ti is maintained, maybe if the package is outdated I could update it
<thomaslewis> last release was 2016
<nephele> hehe, i can see your dino picture with native scroll bar colors and docuement color in webkit now :D
<nephele> (which for me is purple, a lot of purple in my gui)
tuaris has quit [Quit: Leaving.]
<andreasdr[m]> Should I create a bug report?
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
<nephele> for what?
<andreasdr[m]> BTW: Tried NetBeans for C++, I cant create the project from existing sources, because it tells me "Missing dorun script" :D
<andreasdr[m]> Oh message order was wrong.
<andreasdr[m]> For 'Tried NetBeans for C++, I cant create the project from existing sources, because it tells me "Missing dorun script" :D'
<nephele> What project? I don't really see how that is related to haiku...
<andreasdr[m]> NetBeans from haikuports
<andreasdr[m]> You can import a existing C++ project into NetBeans by "Create a project from existing sources"
<andreasdr[m]> I took my project and wanted to work with it in NetBeans, but it tells as last step "Missing dorun script"
<andreasdr[m]> Sorry.
<nephele> You can create a ticket for haikuports maybe?
<nekobot> [haiku/haiku] pulkomandy pushed 1 commit to master [hrev56157] - https://git.haiku-os.org/haiku/log/?qt=range&q=e9e00b80c07e+%5E8a30322767ff
<nekobot> [haiku/haiku] e9e00b80c07e - cross_tools: allow specifying a custom sysroot path
HaikuUser has joined #haiku
HaikuUser has quit [Remote host closed the connection]
<andreasdr[m]> nephele: Yes. Good point.
<andreasdr[m]> Will do
dqk_ has joined #haiku
dqk has quit [Ping timeout: 480 seconds]
dqk_ is now known as dqk
xet7 has quit [Ping timeout: 480 seconds]
DKnoto has quit [Quit: Leaving]
DKnoto has joined #haiku
dqk has quit [Ping timeout: 480 seconds]
<rennj> oracle products what about jetbrains
netpositive has quit [Remote host closed the connection]
<PulkoMandy> hello, will anyone from Haiku be at https://www.froscon.org/en/ ? (free software conference, Bonn, Germany, 20-21 august)
austin987 has quit [Remote host closed the connection]
austin987 has joined #haiku
Diver has quit [Ping timeout: 480 seconds]
<rennj> for the free covid conference
itanium686 has joined #haiku
austin987 has quit [Remote host closed the connection]
netpositive has joined #haiku
netposit1ve has joined #haiku
Forza_ has joined #haiku
Forza has quit [Read error: Connection reset by peer]
X512 has joined #haiku
B2IA has quit [Quit: Vision[]: i've been blurred!]
aeryndunham has joined #haiku
B2IA has joined #haiku
X512 has quit [Quit: Vision[]: i've been blurred!]
x10z has joined #haiku
Begasus has joined #haiku
<Begasus> plop
<nielx[m]> plop
netposit1ve has left #haiku [#haiku]
<jadedctrl> plop
netpositive has quit [Quit: leaving]
netpositive has joined #haiku
<Begasus> hi jadedctrl :)
<jadedctrl> how're you doing, begasus? :)
<Begasus> dog tired ;)
<Begasus> aside from that fine ;)
<netpositive> are the dogs tired too? 8)
<jason123santa> waddlesplash, still gives kernel error on 56156
<Begasus> me netpositive ;)
<Begasus> or we* (had duty at the dogschool) :)
B2IA has quit [Remote host closed the connection]
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
B2IA has joined #haiku
x10z has joined #haiku
X512 has joined #haiku
<nekobot> [haiku/haiku] korli pushed 1 commit to master [hrev56158] - https://git.haiku-os.org/haiku/log/?qt=range&q=85344c112ca7+%5Ee9e00b80c07e
<nekobot> [haiku/haiku] 85344c112ca7 - intel_extreme: also set hw_cdclk on Broadwell
X512 has quit [Quit: Vision[]: i've been blurred!]
X512 has joined #haiku
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
X512 has quit [Quit: Vision[]: i've been blurred!]
<trungnt2910[m]> #1 method to crash Haiku: Install a hpkg.
<Begasus> bad hpkg? (never had that issue here)
<x512[m]> trungnt2910: #2 mmap zero length file.
<trungnt2910[m]> Begasus: Not bad according to this:
<x512[m]> trungnt2910: Are you making your own HPKG writer?
<trungnt2910[m]> <Begasus> "bad hpkg? (never had that..." <- https://cdn.discordapp.com/attachments/860565868866306098/982994813127385139/test.hpkg
<trungnt2910[m]> I know nobody would click on sussy hpkg links, but this is the modified sample Tipster hpkg (taken from the HaikuDepot GitHub repo) that crashed the kernel.
dqk has joined #haiku
<trungnt2910[m]> x512[m]: Yeah.
<trungnt2910[m]> Nothing I know of works on Windows, so I made this:
<trungnt2910[m]> > I know nobody would click on sussy hpkg links, but this is the modified sample Tipster hpkg (taken from the HaikuDepot GitHub repo) that crashed the kernel.
<trungnt2910[m]> The only difference from the "official" Tipster hpkg file, is on the symlink directory entry, the child attribute `B_HPKG_ATTRIBUTE_ID_FILE_ATTRIBUTE` is listed _before_ the attribute `B_HPKG_ATTRIBUTE_ID_SYMLINK_PATH`.
B2IA has quit [Quit: Vision[]: i've been blurred!]
Begasus_32 has joined #haiku
<Begasus> for one, it's build for x86_64, so can't test this on 32bit trungnt2910[m] (and I got another build running atm)
AlaskanEmily has joined #haiku
<Begasus> also, I wouldn't trust packages from repologies not supplied by haikudepot/pkgman (aside from a few others like besly ...)
<Begasus> Or packages I upstreamed to some ports (like in my case mostly scummvm and tuxpaint)
<x512[m]> trungnt2910: Kernel crash caused by HPKG is a serious bug no matter is HPKG valid or not.
<x512[m]> It should be reported to dev.haiku-os.org
<trungnt2910[m]> Begasus: This is understandable, not to trust unofficial packages from random online users...
<trungnt2910[m]> But I mentioned the way to reproduce the problem, with that you can make your own "devil" Tipster hpkg.
<trungnt2910[m]> Also where is the GMP code that is used in Haiku? It doesn't seem to exist in the source tree.
<Begasus> As x512[m] mentioned it should be reported upstream (haven't checked outside of Expander here)
<Begasus> This could be one of the first hacks into our system? (not a developer so can't tell what it does)
<Begasus> hacks/traps*
B2IA has joined #haiku
B2IA has quit [Quit: Vision[]: i've been blurred!]
B2IA has joined #haiku
Vidrep_64 has joined #haiku
<nielx[m]> Begasus: what can I do for you on the cargo-c PR?
<nielx[m]> rustfmt is a command you can run to format the code
HaikuUser has joined #haiku
HaikuUser has quit []
B2IA has quit [Quit: Vision[]: i've been blurred!]
<waddlesplash> x512[m]: you have a ticket for that mmap crash?
<x512[m]> Not yet. Found when experimenting with mold linker.
<waddlesplash> we need more tests for mmap
<waddlesplash> I've been meaning to turn that testcase of yours into a proper one
<x512[m]> In some cases mold produce empty load segment that cause kernel crash.
<waddlesplash> fascinating
<waddlesplash> another ticket probably?
B2IA has joined #haiku
<x512[m]> I found KDL photo.
<Vidrep_64> Hi
Diver has joined #haiku
<x512[m]> waddlesplash: .
<Vidrep_64> humdinger, nice rewrite of the user manual for ArtPaint
Diver has quit [Ping timeout: 480 seconds]
<waddlesplash> x512[m]: open a ticket please. shouldn't be too hard to fix
<Begasus> nielx[m], not familiar with rustfmt, can I run it in the sourceDir from cli?
<Begasus> as it is, I'm not that familiar with rust either (cargo-c is my first attempt on getting something to build) :)
Diver has joined #haiku
<nielx[m]> Begasus: : try cargo fmt
orealis has quit [Quit: yap...]
<Begasus> nielx[m], doesn't produce any output here (when run from the $soucreDir)
<Begasus_32> [x86] /Opslag/haikuports/dev-rust/cargo_c/work-x86-0.9.8/sources/cargo-c-0.9.8> cargo fmt
<Begasus_32> [x86] /Opslag/haikuports/dev-rust/cargo_c/work-x86-0.9.8/sources/cargo-c-0.9.8>
<nielx[m]> could the default behaviour be that it updates the formatting of the files in place?
<Begasus> well, the files have been patched as mentioned upstream?
<Begasus> so if any mallformat it would give a notice?
<nielx[m]> Looking at the PR, it seems like there are already suggestions that show what rustfmt would do
<Begasus> hmm ... need to get back on that, at least install.rs has been altered
<Begasus_32> | ("haiku", _) => LibType::So,
x10z has joined #haiku
<Begasus> it lists the os: == in new lines instead of having them in one line (as in the PR)
<nielx[m]> did it change src/build_targets.rs? because that's what lu-zero's suggestion points out
<Begasus> k, will do another round on that tomorrow, cleaning, unpack, patch and then run rustfmt, will see how that goes when building
<Begasus> yeah, 3 files altered with a patch atm, but build.rs isn't changed (that has already the OS's in new lines)
<Begasus> so maybe install.rs and target.rs should be updated to match the one from build_targets.rs?
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
<Begasus> but heading down here
<Begasus> thanks for the advice nielx[m] I'll take another look at it in the morning (always early day here)
<Begasus> cu peeps!
Begasus has quit [Quit: Leaving]
orealis has joined #haiku
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<trungnt2910[m]> How can I debug libroot with debug information (source code, variables,...) rather than plain assembly?
<nephele> do you want libroot with debug symbols or use the debug libroot?
<x512[m]> trungnt2910[m]: DEBUG=1 jam -q libroot.so
m199 has joined #haiku
itanium686 has quit [Quit: Vision[]: i've been blurred!]
Babaj has joined #haiku
<waddlesplash> trungnt2910[m]: in addition to what x512[m] said, see UserBuildConfig
<waddlesplash> that can set DEBUG for individual directory hierarchies
<waddlesplash> note that DEBUG targets have a separate objects directory from the main one to keep them independent
itanium686 has joined #haiku
itanium686 has quit []
itanium686 has joined #haiku
Atomozero has joined #haiku
austin987 has joined #haiku
Vidrep_64 has quit [Quit: Vision[]: i've been blurred!]
x10z has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
aeryndunham_ has joined #haiku
aeryndunham has quit [Ping timeout: 480 seconds]
HaikuUser has joined #haiku
HaikuUser has quit []
B2IA has quit [Quit: Vision[]: i've been blurred!]
B2IA has joined #haiku
Babaj has quit [Quit: Leaving]
jmairboeck has quit [Quit: Konversation terminated!]
B2IA has quit [Remote host closed the connection]
B2IA has joined #haiku
itanium686 has quit [Quit: Vision[]: i've been blurred!]
Atomozero has quit [Ping timeout: 480 seconds]
<thomaslewis> Does Haiku have a libdl equivalent available?
<nielx[m]> thomaslewis: yes, it is part of libroot.so
<thomaslewis> okay. So I need to modify Lurch to use libroot instead of -ldl
<thomaslewis> ?
<nielx[m]> yes, though unless you opt out, it will link to libroot.so by default, so you just have to modify the build system to not link to -ldl
<thomaslewis> so grep '-ldl', remove it, try again.
<nielx[m]> yes, that should fix your linking errors
<thomaslewis> It did. I just have to find libjabber now.
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<thomaslewis> Where are the Chat-O-Matic libpurple plugins managed?
B2IA has quit [Quit: Vision[]: i've been blurred!]
B2IA has joined #haiku
ablyss has quit [Quit: Leaving]
paul0 has joined #haiku
_aeryndunham has joined #haiku
ablyss has joined #haiku
freakazoid333 has quit [Read error: Connection reset by peer]
aeryndunham_ has quit [Ping timeout: 480 seconds]
frkazoid333 has joined #haiku
m199 has quit [Remote host closed the connection]
x10z has joined #haiku
ClaudioM has joined #haiku
ClaudioM has quit []
ClaudioM has joined #haiku
B2IA has quit [Quit: Vision[]: i've been blurred!]
B2IA has joined #haiku