<botifico>
[haikuports/haikuports] Begasus 94a1b4e - poppler_data, bump version (#9277)
Anarchos has quit [Remote host closed the connection]
mmu_man has joined #haiku
John2 has joined #haiku
mmu_man has quit [Quit: Lost terminal]
hightower2 has joined #haiku
<Begasus>
nice ... -- Found Boost: /boot/system/lib/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.71.0") :)
x10z has joined #haiku
Anarchos has joined #haiku
Anarchos has quit []
mmu_man has joined #haiku
<x512[m]>
Begasus: Why not in develop directory?
<Begasus>
it's a test run on boost171 x512[m], not yet available (trying out new poppler)
<Begasus>
btw, it ends up in the devel package (as most do)
<Begasus>
grabbing poppler-23.08.0-1-x86_64.hpkg and moving it to /Opslag/haikuports/packages/poppler-23.08.0-1-x86_64.hpkg
Anarchos has joined #haiku
<Begasus>
that worked, not much patching has been done on boost171, their sources changed quite a bit there
<Anarchos>
re
<Begasus>
wb :)
Anarchos has quit [Quit: reboot to troubleshoot my adsl connection]
Anarchos has joined #haiku
<sulis>
Greetings. I'm a long time watcher from afar, some time spinner up in a vm. Recently I've installed Haiku to a USB stick and been running it on my Dell XPS. I'd like to get setup for development work and curious what would be recommended. I've seen mention of having another BFS partition and having jam install to that, should I repartition my drive and reinstall Haiku? Any advice is
<sulis>
welcome.
<Anarchos>
sulis i got 1 partition for developement too
<Anarchos>
it prevents for messing your /boot/home folder with too much kludge
<Anarchos>
jam is only needed to compile haiku itself
<Anarchos>
you can stick to make for other usages
<x512[m]>
I put source code to /Haiku/data/packages
<Anarchos>
x512[m] and your generated objects files ?
<x512[m]>
Yes. Build directories are usually inside source directory named "build.(getarch)."
<sulis>
Ah yeah, one of the first things I was going to look at was the implementation of the synaptics driver for my touchpad, so I'd like jam for that.
<Anarchos>
x512[m] my set up is : git pull in my /Data1 partition, build there, and install in ~/config/non-packaged
<Anarchos>
x512[m] did you do the riscv port ?
<x512[m]>
I often avoid installing to non-packaged to not mess up and usually install to build.($getarch)/install.
<Anarchos>
x512[m] i have request for device manager v2 : that drivers where hardware is detected not present, they should be removed to speed up boot (or store elsewhere to not be parsed at boot time)
<Anarchos>
x512[m] i helped PulkoMandy a bit with SD card at his beginning
<x512[m]>
It is already this way, driver add-ons are not loaded if no hardware with compatible IDs are present.
<x512[m]>
List of hardware supported by driver add-on is stored separately.
matt2 has joined #haiku
<Anarchos>
x512[m] i mean that the driver-addon file not being 'read' instead of 'loaded'
<x512[m]>
Some information should be read anyway to make decisions which drivers are needed.
matt2 has left #haiku [#haiku]
<sulis>
Obviously I've no knowledge on Haiku, but out of interest: what do you consider the driver addon file? Where I used to work we had to load all of our dynamic libraries at startup to ask it what it would offer, then unload each library and later reload them if/when something they provide was necessary.
<sulis>
Speaking in high level terms, obviously.
<Anarchos>
x512[m] after first install, i thought a script could do that, and erase driver files which were not loaded. Just to spare some ms at boot time :)
<x512[m]>
Driver files can't be erased because it are stored in HPKG archive without extracting.
<x512[m]>
Also user can hot plug hardware so drivers currently not needed may be needed later.
<Anarchos>
x512[m] i forgot that point. When i want to tweak the OS/kernel/drivers, i find package management a hole on my road...
gravitylord[m] has left #haiku [#haiku]
illwieckz has quit [Ping timeout: 480 seconds]
<Begasus>
progress :) grabbing boost182-1.82.0-1-x86_64.hpkg and moving it to /Opslag/haikuports/packages/boost182-1.82.0-1-x86_64.hpkg
<Begasus>
detection is fine with poppler :) -- Found Boost: /boot/system/lib/cmake/Boost-1.82.0/BoostConfig.cmake (found suitable version "1.82.0", minimum required is "1.71.0")
zard has joined #haiku
x10z has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Anarchos>
i compiled my own version of usb_wecam.media_addon. Where to put it to test if it detects my webcam ?
OscarL has joined #haiku
<OscarL>
Anarchos: either /boot/home/config/non-packaged/add-ons/media or /boot/system/non-packaged/add-ons/media should work, no?
<Begasus>
'lo OscarL :)
<Begasus>
still up?
<OscarL>
Hey Begasus :-)
<OscarL>
not for long, I think. Still pretty sick :-/
<Begasus>
yeah, saw it when you left the message on parting yesterday
<Begasus>
hope you feel well soon
<OscarL>
thanks!
<OscarL>
saw you got some progress with that beast of boost. Nice!
<Begasus>
meanwhile got boost182 to build :)
<Begasus>
yeah, once I found some clue to get boost171 to build might aswell tackle boost182
<Begasus>
:)
vdamewood has joined #haiku
<Anarchos>
OscarL no subfolder of /boot/system/non-packaged/add-ons/media
<OscarL>
Anarchos: that's odd. In any case... you can just create it.
<Anarchos>
OscarL i remember there was a doc explaining how to test newly builds drivers or add-ons without rebooting
<OscarL>
you should be able to recreate, under "/non-packaged/", the same dir structure you see under /system/
<Anarchos>
but can't find it
<Begasus>
checking build with icu73
<OscarL>
Anarchos: depends on the type of add-on. "Translators" should be able to "just work" after placing them on the right folder. input_server or media_server ones might need those servers to be restarted... kernel ones... depends... "legacy api drivers" can be tested/replaced without reboot... new ones, you better reboot after you install a new one.
<Anarchos>
OscarL i will look what goes on in syslog too
hightower3 has joined #haiku
<Anarchos>
OscarL anyway a reboot will be shorter than waisting time ... brb
<OscarL>
Anarchos: just to be sure you're loading the "right" addon, maybe use "listimage" to see what gets loaded, or if everything else fails... just disable the system-wide "usb_webcam.media_addon" from the boot menu :-D
Anarchos has quit [Quit: Vision[]: i've been blurred!]
* OscarL
doubts Anarchos got to read his last message :-D
<zard>
What library does Haiku use currently for readline?
<OscarL>
libedit for Python, that's for sure.
<OscarL>
not sure what Terminal uses.
<Begasus>
Warning: POLICY WARNING: "/packaging/boost182/lib/libboost_iostreams.so.1.82.0" needs library "libzstd.so.1", but the package doesn't seem to declare that as a requirement
<Begasus>
that's easy to fix :)
<Begasus>
how far did you get with kc OscarL?
<OscarL>
Begasus: works OK as far as I can tell... minus some issues with line-editing when using libedit.
HaikuUser has joined #haiku
<OscarL>
added comments about that on the PR. (thanks again for the comments on my WIP branch, BTW!)
<Begasus>
np, there was something in the background building when I checked it out :)
HaikuUser has quit []
<OscarL>
Would be easy to switch to readline, but that means the whole package gets GPL'ed. (thus why I was looking at https://github.com/AmokHuginnsson/replxx as a possible alternative :-P)
ClaudioM has joined #haiku
<Begasus>
how does the license change when you switch a used library on the source?
x10z has joined #haiku
<OscarL>
that's the "viral" nature of GPL...
<Begasus>
beyond my level :)
<Begasus>
arhh ... now I see gentoo provides boost183 :/
<OscarL>
Begasus: re "kc"... I think we could publish this version as-is (with libedit), let the user on the forum try it out... and get some feedback. package builds fast, and in the worst case, switching to readline only takes 4 tiny changes.
<botifico>
[haikuports/haikuports] OscarL bda5834 - kc: new recipe (#9278)
<Begasus>
there you go :)
<OscarL>
thanks :-)
<OscarL>
lib1 over the forums better be happy, or else!
HaikuUser has joined #haiku
HaikuUser has quit []
<Begasus>
heh
<OscarL>
Mmm, first I could not connet to this server, but the forum was OK. Now I'm here, and discuss.haiku-os.org seems down from here :-/
Anarchos has joined #haiku
<Begasus>
lol, something fishy there :P
<OscarL>
not "down", exactly... but doesn't loads.
<sulis>
It's working here
<Begasus>
maybe you could try Discord? (me runs ...)
<OscarL>
sulis: thanks. Something wonky on my part of the internet, I guess.
<Anarchos>
OscarL did'nt work . no trouble i will wait for mmu_man
* OscarL
slaps Begasus with a catfish.
<Begasus>
thanks, gives me something to eat :P
<OscarL>
Anarchos: I left you a comment just as you were rebooting... I'll re-paste it, just in case:
<OscarL>
Anarchos: just to be sure you're loading the "right" addon, maybe use "listimage" to see what gets loaded, or if everything else fails... just disable the system-wide "usb_webcam.media_addon" from the boot menu :-D
nephele has joined #haiku
<Begasus>
bugger ... error: sha1 information is lacking or useless (boost/json/impl/array.hpp).
itaipu has quit [Ping timeout: 480 seconds]
<Anarchos>
OscarL i did that , but it doesn' show up in listimage
<OscarL>
Begasus: saw those types of errors before... wrong/broken/invalid patchset?
<OscarL>
Anarchos: just to be sure, you used listimage after opening the app that would make use of said addon? (I assume that it might not be loaded unless some app ask the media_server for a "video_producer" ?)
<Begasus>
tried applying boost182 patch to boost183
<OscarL>
(or it doesn't finds compatible hardware and it refuses to load, I guess :-D)
<OscarL>
Begasus: gotta love those easy to understand errors! :-P
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<andreasdr[m]>
Hi there.
<OscarL>
Hallo andreasdr[m] !
<Begasus>
Moin andreasdr[m] :)
<Anarchos>
OscarL i open CodyCam and it says 'no webcam availalble'
<botifico>
[haiku/website] trungnt2910 b8c5fb5 - blog/trungnt2910: GSoC 2023 final blog
<Begasus>
medication refill for a week ... check :)
<shaka444[m]>
Morning all, How do you see attributes of a file and remove them? I have some text and pdf files that are showing up in my New E-mail query
<nephele>
listattr, rmattr
<nephele>
or use "get info" in tracker
<shaka444[m]>
listattr and rmattr was what I was looking for, Thanks nephele
<nephele>
Doesn't look like tracker allows to delete attributes though :/
<OscarL>
DiskProbe can also show/remove attributes.
<Begasus>
nice ... grabbing boost183-1.83.0-1-x86_64.hpkg and moving it to /Opslag/haikuports/packages/boost183-1.83.0-1-x86_64.hpkg :)
<OscarL>
wee!
<Begasus>
not sure yet if all is well, but it's a start and latest poppler is pleased with it :)
HaikuUser has joined #haiku
HaikuUser has quit []
<Anarchos>
Begasus what are poppler and boost again ?
<Begasus>
popular libraries Anarchos :)
<Begasus>
boost is pretty common in the recipes at haikuports
<OscarL>
Anarchos: poppler is a PDF rendering library (used, for example, by Krita, frescobaldi, inkscape, gimp, etc, etc)
<nephele>
Anarchos: poppler is a pdf rendering lib, boost is something like a C++ set of "standard" libraries including networking and such stuff
<nephele>
it's kind of complex and "bloaty" though
<Anarchos>
ok. is poppler used in bepdf ?
<nephele>
Doesn't look like it, trying to uninstall it does not want to remove bepdf
<Anarchos>
nephele i find bepdf really fast to display pdf files :)
<OscarL>
BePDF uses xpdf as a base.
<OscarL>
I think that doing the BePDF translation into Spanish was among the first BeOS-related things I ever did.
<Anarchos>
my first beos activity was to port and use OCaml on it
* OscarL
wonders where "laplace" (Michael Pfeiffer, BePDF author) might be these days.
x10z has joined #haiku
freddietilley has quit [Quit: WeeChat 4.0.2]
HaikuUser has joined #haiku
HaikuUser has quit []
<Anarchos>
OscarL i wonder of michael philipps, darwyrm, alexd, all the people who began openbeos 23 years ago
<OscarL>
AxelD still shows up on Gerrit from time to time.
<OscarL>
I think I saw DarkWyrm post on reddit once or twice (same nick).
<OscarL>
*almost* same nick... "darkwyrm42" on reddit :-)
<Anarchos>
OscarL i was really impressed by the beginnings with michael philipps, when they were only the development files (headers), and binary of BeOS to stay compatible . All was buggy and crashy but progress went really fast at those times
<OscarL>
I remember fondly too those times where small teams where trying to build replacement components/pieces one by one.
* zard
only has half of an idea of how things were back then from reading things
<Anarchos>
zard look for openbeos on google :)
<zard>
That's partially why I know some things about back then :)
* Anarchos
wonders how to speed those hours long for 'jam -q @release-raw'
<zard>
Run `jam -j12 -q @release-raw`?
Parole has joined #haiku
<Anarchos>
zard jam still parallelise jobs to bcpus+1
<Anarchos>
ncpus
<Anarchos>
no need to add other process sleeping :)
illwieckz has joined #haiku
<Anarchos>
i thought about this one : configure --use-gcc-pipe
<zard>
Running jam without that paremeter makes it run signifcantly slower for me
arti has quit [Ping timeout: 480 seconds]
<Anarchos>
zard i have only 1gb on this laptop
<zard>
Ah. That changes everything :D
arti has joined #haiku
<Anarchos>
zard why ?
arti has quit [Quit: No Ping reply in 180 seconds.]
<zard>
Because running jam with a higher thread count takes more memory?
arti has joined #haiku
<Anarchos>
zard it swaps a lot so
<Anarchos>
zard anyway i do'nt know how to get the total running time of a running process
<Anarchos>
so i can't tell when i laucnhed the jam command
<OscarL>
one of the changes made by trungnt2910[m] should allow to use get_team_info() to get the start_time for a given running process. https://review.haiku-os.org/c/haiku/+/6390
<OscarL>
As long as you're not still on beta4, that's it.
arti has quit [Read error: Connection reset by peer]
arti has joined #haiku
Babaj has joined #haiku
<OscarL>
Welp, replxx builds, examples work pretty well, basic line-editing/history feels good, and autocomplete hints is really cool (reminds me of "clink" for cmd.exe on Win). Too bad it is NOT a "drop-in" replacement for readline/libedit, and that I'll need a few lessons from Begasus to make make this recipe work well (cmake based) :-P
* OscarL
also wonders why most packages put cmake related files under /system/lib/cmake, while others do so under /system/data/cmake. Mmm.
<Anarchos>
OscarL i did a rlwrap package for haiku, in order to get history in REPL like the OCaml toplevel.
Parole has quit []
<OscarL>
I'm usually happy with libedit, but sometimes programs do not work well with it (or just require/support readline), and I do miss some of the cool visual features I have while using clink (colorful autocomplete hints as you type) :-)
x10z has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Babaj has quit [Quit: Leaving]
nephele has quit [Quit: Vision[]: i've been blurred!]
x10z has joined #haiku
sulis has quit [Remote host closed the connection]
sulis has joined #haiku
dpirate_ has joined #haiku
tqh has joined #haiku
dpirate has quit [Ping timeout: 480 seconds]
FuriousGeorge has joined #haiku
<FuriousGeorge>
hi all
<FuriousGeorge>
great to see so many folks in here
<FuriousGeorge>
I'm installing a haiku vm. I'm hoping it will work well enough with vfio that I can use it
<FuriousGeorge>
"for real"
<FuriousGeorge>
should i go with q35 or i440x as the chipset?
<FuriousGeorge>
google searching for the answer leads to equivocal answers so far
<OscarL>
hey FuriousGeorge, welcome. Mind the fact that the channel tends to have its ups and downs in activity (people on different timezones, and so), so... you might not get a speedy answer.
<tqh>
q35 is faster for me.
<OscarL>
I can't recall what I've used last time I've tried it with QEMU (I generally use VBox or bare metal), so I can't answer that :-(
<Halian>
Hey
* OscarL
vows ands signs off for today. Darn flu. See you folks!