<OscarL>
that's moving the declaration from the headers to the point of usage. Makes sense there, but here... they are too many places to patch. "static" seemed to do the job (need to test the resulting binary yet).
<OscarL>
thanks for the link, thou!
<Begas_VM>
okido :)
<Begas_VM>
cloning texstudio, time for a small upstream patch
<Begasus>
PR created upstream :)
Andros has quit [Remote host closed the connection]
<OscarL>
the "should not be added" part I find confusing then.
<Begasus>
k, my bad here then :)
<Begasus>
I'm so used having them in at all times
<Begasus>
although I don't get what libraries got to do with it
<OscarL>
¯\_(ツ)_/¯
<Begasus>
A binary is a binary if it is packed together with a library or not ...
<erysdren>
i think my Quakespasm hpkg is nearly done
<erysdren>
i just haven't thought ahead about how it accesses quake data
<OscarL>
(still, I missed the "if [ "targetArgh..." part)
<OscarL>
read-only data vs settings the user will want to change, erysdren?
<Begasus>
You'd need to change the lines for ARCHITECTURES is then (accordingly) :P
<OscarL>
Begasus: yea, that's why I said: "<OscarL> (still, I missed the "if [ "targetArgh..." part)" earlier :D
<erysdren>
both. i need to determine how the player will put the Quake PAKs
<erysdren>
and how they'll access their saves/screenshots
<Begasus>
OscarL, thought you meant $targetArchitecture" = x86_gcc2 :)
<Begasus>
saves/screenshots could go to $settingsDir erysdren
<erysdren>
got it
<erysdren>
first i need to figure out how to make the quakespasm executable know that
<erysdren>
i didn't really think this far ahead :P
<Begasus>
data (PAKs) preferably to $dataDir
<erysdren>
alright
<Begasus>
maybe user path to ~/config/non-packaged/data
<Begasus>
does it provide a menu to set or change paths inside the app erysdren ?
<erysdren>
nope, but it does have a (usually disabled) compile setting to use Unix/Windows user dirs for data
<erysdren>
i need to investigate
<Begasus>
k, good luck :)
<erysdren>
plus i want the user to be able to easily install mods
<erysdren>
since Quake has a plethora of mods
<Begasus>
I can imagine :D
Andros_ has joined #haiku
Andros_ has quit [Remote host closed the connection]
<OscarL>
missformatted does that sounds OK? is "mal-formatted" better? something else?
<OscarL>
English hard.
<OscarL>
"malformatted" is on wiktionary at least (unlike missformatted :-D)
<augiedoggie>
probably malformed
<OscarL>
augiedoggie: thanks. Was on the context of "does clang_format screws these files or no" ,
<OscarL>
"code formatting" context (that's why my brain went to formatted instead of formed)
<OscarL>
ill formatted ? :-D
<Begasus>
"oscarl formatted"? :P
<OscarL>
MUCH BETTER!
<Begasus>
heh
<OscarL>
"We don't care if files are wrongly formatted" good enough for me.
<Begas_VM>
kdevelop doesn't switch compiler I think ... :)
<OscarL>
does Geany really REQUIERES "cmd:python3.8", or it could do with just "cmd:python3" ?
<OscarL>
"A fast and lightweight IDE".... REQUIRES "cmd:javac >= 14".... /me presses X for doubt.
<OscarL>
also REQUIRES cmd:fpc and cmd:ruby? I would have expected all of those to be "optional dependencies".
<Begas_VM>
not required, added them so they would be installed to geany can find them
<Begas_VM>
to/so*
<OscarL>
complains on startup otherwise, I assume?
<Begas_VM>
just like with texstudio, you don't really need the texlive packages, but the app is pretty useless without them
<Begas_VM>
nope
<Begas_VM>
just won't do anything with python sources if "no" python is found
MajorBiscuit has joined #haiku
<OscarL>
Thing is... I doubt someone trying to use Geany for, say, Python, seems weird to have to install pascal, java, perl and ruby compiler/interpreters :-/
<OscarL>
borked my phrasing above, heh.
<Begas_VM>
in the case for Geany, it's easy to track what's missing, searching missing dependencies for texlive packages is not that easy
<OscarL>
(*doubt someone.... will have a use, etc...)
<Begas_VM>
well it supports many languages, but yeah, those could be dropped in the recipe
<OscarL>
must have clicked to fast on "previous" :-D
<OscarL>
*too fast
<jessicah>
err, what does "Warning: Error: found provides for "haiku >= r1~alpha1", but none matching the version requirement" mean?
<jessicah>
I have `haiku >= $haikuVersion` in PROVIDES
<jessicah>
err, in REQUIRES
<Begas_VM>
does it need the "$" up front?
<Begas_VM>
ah, variable nvm
<Begas_VM>
in a recipe jessicah?
<jessicah>
yeah
<jessicah>
thought that was obvious :p
<Begasus>
one never knows ;)
<Begasus>
mind sharing or paste somewhere?
<jessicah>
it looks like a haikuporter error ;-)
<Begasus>
yeah
<Begasus>
mostly a typo or something, let's call it a OscarL error :P
<OscarL>
$haikuVersion outputs "r1~alpha1" here too.
<Begasus>
jikes
orealis has quit [Read error: Connection reset by peer]
<jessicah>
I copied from an existing recipe
* OscarL
tested with his "null-recipe" that he uses to just echo those kind of things.
<Begasus>
any reason to still use it?
orealis has joined #haiku
<Begasus>
ghc? ;)
<OscarL>
yeah
<jessicah>
OscarL: you're working on ghc?
<Begasus>
you jessicah * ?
<Begasus>
not many recipes include $haikuVersion
<OscarL>
noup, just added "echo $haikuVersion" to a silly empty recipe I keep to run things with haikuporter.
<jessicah>
do I just use haiku without a version?
<Begasus>
PulkoMandy, has been working on those, maybe he put it up for a reason there?
<Begasus>
or could be a leftover from previous versions ...
<jessicah>
seems I do
<Begas_VM>
checking arm_none_eabi_gcc here ... hope this goes ok :)
<OscarL>
only ghc and "haiku-themes" seems to still use that variable.
<Begasus>
they probably only need a revbump
<Begasus>
yep OscarL
<OscarL>
eh.. haiku-data/themes
<Begasus>
but still weird it yeals alpha4 ...
<jessicah>
probably because it's not used anymore?
<jessicah>
so nobody updated it
<OscarL>
"just a dummy value for compatibility" LOL
<OscarL>
(from haikuporter's Main.py)
<Begasus>
leftovers ... tss :P
<jessicah>
well that should fix my recipe then :)
<Begasus>
well, in this case it breaks the build
<OscarL>
(...with old recipes) forgot to scroll that far right in the file ;-D
<OscarL>
I got "arm_none_eabi_gcc" related errors when attempting to switch u-boot to Py3.9
<Begasus>
can't be installed (at least not on 32bit)
<OscarL>
LibreOffice 6.4 requires both cmd:python2.7 and cmd:python3.7 on BUILD_PREREQUIRES? Ouch. some kind soul should attempt to change those to only "cmd:python3", to see if it still builds).
<Begasus>
not me :P
<OscarL>
:-(
<OscarL>
I'm not touchig recipes that need qt _devel stuff :-)
<Begasus>
arm_none_eabi_gcc doesn't require Qt :P
<OscarL>
gcc-6.4... doubt I can fit/build that one either :-D
Diver has quit [Read error: Connection reset by peer]
<Begas_VM>
killed the build here, should be fine (no errors popped up)
* OscarL
fixes "amd" typo.
<OscarL>
Typo? Me? Nah!
<Begas_VM>
;)
<Begas_VM>
did you check aflplusplus?
<OscarL>
looong list of dependencies scared me away :-d
<Begas_VM>
k ;)
<Begas_VM>
will check in a bit
<OscarL>
well, not LONG... but llvm9 :-/
<erysdren>
what would a good MIME type be for a Quake PAK file? i assume there isn't a pre-existing one
<OscarL>
"application/x-quake-pak" perhaps?
<erysdren>
works for me
<erysdren>
okay, i enabled userdirs in Quakespasm
<erysdren>
it automatically creates a directory in the home folder where you can put game data
<erysdren>
that's the default behaviour from it
<erysdren>
is that fine? should i do something else?
hightower2 has quit [Ping timeout: 480 seconds]
hightower2 has joined #haiku
<erysdren>
it also saves screenshots/save data in the same place
hightower2 has quit [Ping timeout: 480 seconds]
<OscarL>
we generally try to avoid polluting $HOME, but at the very least, I would suggest making sure the folder name doesn't starts with a dot ("~/.foldername" <<< gross! :-P).
<erysdren>
ah, it does, yeah. default *nix behavior
<erysdren>
i'll change that
<erysdren>
i can add some extra code to make it use the configdir and other places
<OscarL>
Maybe "~/config/non-packaged/data/" ?
<erysdren>
got it
<Begas_VM>
undefined reference to `strsep' ...
<OscarL>
That would be "B_USER_NONPACKAGED_DATA_DIRECTORY" if you want to call find_dir()
<erysdren>
what about from C? any POSIX commands that can help me?
<OscarL>
Begasus: that strsep thing...."-lbsd" doesn't works?
<erysdren>
okay, i did another pull request on QuakeSpasm with my work on userdirs
<erysdren>
tested and working
<erysdren>
now loads and saves game & user data from `~/config/non-packaged/data/QuakeSpasm`
<erysdren>
instead of `~/.quakespasm`
<OscarL>
nice.
<erysdren>
other than little stuff like a nice title in the Applications window and a logo in HaikuDepot, it's basically ready to go
<OscarL>
kinda weird we didn't had a Quake 1 port already (there is the one for libretro, but not a standalone one), so... will be nice to see QuakeSpasm in the repos :-)
<erysdren>
yeah i thought it was weird too :P
freddietilley has quit [Quit: WeeChat 3.8]
BrunoSpr has joined #haiku
<erysdren>
how do i add a proper title and logo to my recipe?
<OscarL>
I think that's done serve-side. Same with the screenshot.
Begas_VM has quit [Quit: Vision[]: i've been blurred!]
<erysdren>
ah, alright
<erysdren>
welp, after the pull request gets (hopefully) accepted, i'll do a pull request on haikuports with my recipe
<OscarL>
you could/should poke humdinger about those after the recipe gets merged :-)
<Begasus>
thought in that direction OscarL
<Begasus>
-lbsd *
<Begasus>
some weird thing, when I want to uninstall Genio on the other laptop it takes down almost the whole system ...
freddietilley has joined #haiku
<OscarL>
Begasus: that "lgrep" bash function I stole from mmu_man so long ago, still handy as ever :-)
<Begasus>
think my system on the other laptop needs some TLC ;)
<OscarL>
Begasus: sure you installed Genio and not "Evil Genius" ?
<Begasus>
something evil deff happening :P
<OscarL>
the latter might fight back if you wanna uninstall :-D
<OscarL>
speaking of weird things.... I have a Tracker bug that makes "fake files/folders" appear on desktop.
<Begasus>
well with all the changes I put the system through it could be payback time ;)
<Begasus>
spooky! :D
Begas_VM has joined #haiku
<OscarL>
It involves having symlinks in Desktop, pointing to files/dirs in a git repo... Sometimes after a "git pull", "copies" of the modified files appear on Desktop. Have to Quit/restart tracker to fix the glitch,
<OscarL>
still trying to come up with a reproduceable minimal set, before opening a ticket for that... otherwise... people will think I'm crazy.
<OscarL>
Well, they already do. but still. :-D
<Begas_VM>
heh, too late for that :P
HaikuUser has joined #haiku
<Begas_VM>
4 new cmd's pop up for afl++
BrunoSpr has quit [Quit: Vision[]: Ich wurde verwaschen!]
<Begas_VM>
cleaning trash ... should get some space back too :)
<Begas_VM>
are the "writable-files" created on app launch or installed when installing the package?
<OscarL>
not sure, but I would assume on install.
<Begas_VM>
k, should be removed on uninstall? ;)
<Begas_VM>
got old version for burp in there, texlive is twice in there ...
<OscarL>
must be on install time, coz even bash_completion has one, and that package has nothing runnable by itself.
<OscarL>
I've removed that folder in the past. Something complained, but can't recall the details. Nothing too serious, thou, as I'm still running that install today.
<Begas_VM>
not in the mood to re-install texlive :P
<Begas_VM>
biab ... doggies
tiny_user has joined #haiku
<tiny_user>
Hi all, I would like to try haiku. What's the quickest way?
<OscarL>
depends. Eithr boot the iso in a VM, or write it to an USB drive and boot that.
<OscarL>
*Either
<erysdren>
QEMU is a good virtual machine for booting haiku
<tiny_user>
I have no VM set up on my laptop, what's the best software for that?
<tiny_user>
ah, QEMU, ok.
<erysdren>
well, a virtual machine for a PC takes a lot of RAM. if you're strapped for memory, i'd say write the ISO to a disk or usb and then boot it
<OscarL>
Qemu on Linux, On Win... either VMware, or VirtualBox.
<tiny_user>
does the gui toolkit have a name, or is it just Haiku?
<erysdren>
Haiku / BeOS yeah
<erysdren>
i don't know if the GUI itself has a special name
<OscarL>
AFAIK, "Be API" for the whole thing, with each part being xxxKit (InterfaceKit, StorageKit), etc. No particular name for the GUI, as it is not a separate component from the OS.
<OscarL>
well, Haiku API now, I guess :-D
<Begas_VM>
re
<Begas_VM>
k, afl++ done, comming up
DKnoto_W has joined #haiku
<x512[m]>
Core GUI components are libbe.so and app_server.
freddietilley has quit [Quit: WeeChat 3.8]
<x512[m]>
Like in Windows, Haiku GUI toolkit is designed as integral part of system and not intended to be used separately.
<erysdren>
a really good step imo. Linux's GUI situation is of course so fragmented
<OscarL>
Begas_VM: I think that you should open a ticket for that "uninstall all the things!" issue, and attach that diff.
freddietilley has joined #haiku
<Begasus>
given the mess I make here sometimes, it might as well be my own doing OscarL ;)
<OscarL>
no matter, the issue is that the package_daemon gets things wrong.
<Begasus>
that should narrow the list in the report (32bit) also :)
<Begasus>
disable SMP erysdren
<Begasus>
+?
<erysdren>
that's what it was, yeah
<erysdren>
let me try
<OscarL>
erysdren: folks with AMD CPUs from the Bulldozer/Excavator era (before Zen, after Phenom II), seem to experience random freezes too. Disabling ACPI seems to help there, IIRC.
<OscarL>
I disable SMP on my Atom N450 to gain more stability too.
<Begasus>
me is happy with Ryzen :D
<OscarL>
have some cores to hand out? :-P
<Begasus>
need to keep my host running :P
<OscarL>
had to try.
<erysdren>
it's a Pentium M
<erysdren>
i can't find SMP in the BIOS
<Begasus>
if I could get this wifi running I could hook up an external HD here to run Haiku to it's full speed :D
<Begasus>
you can disable that in the bootmanager erysdren
<erysdren>
ahh
<erysdren>
okay SMP wasn't in the boot manager, but ACPI was there
<erysdren>
i dsiabled it
<erysdren>
gonna see how it fairs
<erysdren>
it still crashes when raising the backlight brightness lol
<Begasus>
don't touch it? ;)
pvalue has quit [Quit: Vision[]: i've been blurred!]
<botifico-c849d97b>
[haikuports/haikuports] Begasus 112001f - cudatext, switch to python3.9 (#8732)
ADS_Sr has quit [Remote host closed the connection]
<Begasus>
another one down OscarL :)
<OscarL>
nice!
* Begas_VM
might be tempted to look into llvm12
<Begas_VM>
or just make the changes and let buildmaster deal with it :P
<OscarL>
I would do that :-D
<Begas_VM>
at least I need to know the build starts ok, and things are found ok
<OscarL>
+1
<OscarL>
then try something smaller.... LO 6.4! :-P
<Begas_VM>
lol
* Begas_VM
slaps OscarL
<erysdren>
violence!
<OscarL>
qgis shoudln't be that hard (given you already have most QT devel stuff installed)
<Begas_VM>
I think llvm12 will be smaller :P
<OscarL>
erysdren: just wait till the trout slapping commences!
<Begas_VM>
jikes another one of those sci things OscarL
* Begas_VM
is tempted ...
<OscarL>
Scribus then? :-P
<Begas_VM>
setuptools_python39 vs setuptools_python${PYTHON3_VERSION//.} in one recipe ...
KapiX has joined #haiku
<Begas_VM>
qgis downloaded already
<Begas_VM>
llvm12 is weird ...
tqh has joined #haiku
hightower2 has quit [Read error: Connection reset by peer]
<Begas_VM>
should switch to pythonVersion and pythonPackage there like most do
<Begas_VM>
and put those variables somewhere in the begining ...
<OscarL>
yup.
<OscarL>
Begas_VM: albeit... that setuptools_python${PYTHON3_VERSION//.} means LLVM12 already made the switch to 3.9
<OscarL>
(seems I've missed that change by augiedoggie last month)
<Begasus>
lol!
* Begasus
troutslaps OscarL !
<Begasus>
biab
<OscarL>
In my defence, I took some time off then :-D
freddietilley has quit [Quit: WeeChat 3.8]
freddietilley has joined #haiku
gouchi has quit [Remote host closed the connection]
frkazoid333 has joined #haiku
<mbrumbelow>
OscarL: I was looking at a commit you made on Haikuports for Paladin 2 weeks ago. Is there a reason why the patch was not apart of a pull request in the upstream Paladin repository?
<mbrumbelow>
Maybe I am misunderstanding something?
<mbrumbelow>
But that patch should be in a PR upstream?
mmu_man has joined #haiku
frkzoid has quit [Ping timeout: 480 seconds]
<OscarL>
I think so, and that's why I asked kenmays/cocobean to do that (as I only "massaged" his patch to make it apply cleanly).
<mbrumbelow>
Got it, thanks!
<OscarL>
just in case, I had @ you there :-)
<OscarL>
mbrumbelow: Alternatively to the patch being upstreamed, we could drop gcc2 (switching to x86 on 32 bits). Also mentioned that on the PR.
<mbrumbelow>
I am catchup on a few things and Paladin was on the list.
<mbrumbelow>
OscarL: That would be much better.
<OscarL>
K. Surely we can do that for the next recipe update then.
<erysdren>
when is Haiku as a whole planning on phasing out x86_gcc2?
<OscarL>
erysdren: not until after R1.
<erysdren>
got it
<erysdren>
i wonder if there'd be any other way to support original Be applications
<erysdren>
not running them totally native, but maybe in a Wine-type fashion
<waddlesplash>
Begasus: are JPEG 9 devel packages disabled?
<mbrumbelow>
I have discussed the option of a Rosetta type environment in the past. It would solve the problem.
<erysdren>
what's that?
<waddlesplash>
Begasus: they should be if not. it should also be possible to recompile java with jpegturbo but that's not quite as important I guess
<mbrumbelow>
erysdren: Similar in concept to Wine. It's used by Apple to run x86 on their silicon. And was used to run PPC on x86 in the past... goes back to the multi-arch binaries NeXT created for different platforms.
<waddlesplash>
on my phone atm, didn't check commit history
<x512[m]>
It should be possible to run BeOS applications with my UserlandVM approach, even on RISC-V.
<x512[m]>
Last time I tried to make x86->x86_64 support working, I had a trouble with 32-64 bit CPU mode switching.
<x512[m]>
It will be nice to find some x86 software emulation library that can be easily embedded.
<Begasus>
waddlesplash, yep
<Begasus>
checked that before I merged waddlesplash (also was the latest commit done then by korli)
<waddlesplash>
x512[m]: we already have a CODE32 descriptor.
<waddlesplash>
x512[m]: there are some examples on stack overflow of how to do this on Linux,there it involves allocating a descriptor manually but we shouldn't need to do this on Haiku
<x512[m]>
waddlesplash: The are various tricky details for controlling segment descriptors that are used for TLS.
<waddlesplash>
hm
selfish has quit [Ping timeout: 480 seconds]
<x512[m]>
Running 32 bit code itself works.
<waddlesplash>
what does the kernel do?
<waddlesplash>
I mean in the unfinished compat mode patches
<Begasus>
in case of the openjdk packages, rebuilding failed
<x512[m]>
But it is not very useful without TLS and will crash immediately.
<x512[m]>
It do 64-32 bit mode switching in kernel, but I tried to do mode switching in userland.
<x512[m]>
Maybe it would be easier to introduce additional syscall to do 32-64 mode switch that will also update segment registers.
<mbrumbelow>
x512[m]: Userland is where all the "magic" occurs for Rosetta. There are no kext's or tight integrations with the Apple kernel.
frkazoid333 has quit [Ping timeout: 480 seconds]
<x512[m]>
So I currently don't understand precise behavior of segment registers in 32 bit compat mode.
frkazoid333 has joined #haiku
<x512[m]>
FS, GS
<mbrumbelow>
x512[m]: Those registers behavior do not change in 32bit compat mode from what I recall.
<x512[m]>
Registers are implemented differently in 32 bit protected mode and 32 bit compat mode. Compat mode use special registers FSBASE, GSBASE and protected mode use GDT.
<mbrumbelow>
Is that how we are implementing them today in Haiku?
<x512[m]>
waddlesplash: reserve_address_range probably should be avoided because 32 bit guest program can use it itself.
augiedoggie has quit [Read error: Connection reset by peer]
augiedoggie has joined #haiku
<waddlesplash>
x512[m]: do we only permit it to be used once?
<waddlesplash>
that seems like an oversight
<waddlesplash>
if it can be used multiple times what's the problem? I mean we should reserve the entire region above 4GB so that the kernel doesn't put anything in there
<waddlesplash>
then everything winds up in 32bit regions by default
KapiX has quit [Quit: KapiX]
<x512[m]>
Maybe that will work, not tested.
<x512[m]>
But it will also limit address space for 64 bit host side.
tuaris has joined #haiku
<waddlesplash>
x512[m]: host can do something special if it really wants memory inside the reserved area
<x512[m]>
It case of hardware 64 bit mode host size probably do not need to allocate a lot of memory, but it may need more memory if using JIT.
<x512[m]>
The best solution would be an option to do 32 bit allocations in create_area.
<x512[m]>
But again, it is not an urgent problem. The problem is FS/GS register control.
<botifico-c849d97b>
[haikuports/haikuports] korli 15380ca - openssh: bump version
<Begasus>
only 2 remaining in the report for 32bit got a PR already :)
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
<Begasus>
heading out, cu peeps
<zdykstra>
seeya Begasus !
gouchi has joined #haiku
frkazoid333 has joined #haiku
OscarL has quit [Quit: Page closed]
<zard>
What's the difference between giving the copyright to Haiku vs yourself?
caubert has quit [Read error: Connection reset by peer]
<Skipp_OSX>
The difference is, if we ever wanted to relicense, the copyright holders must agree, so if you give copyright to Haiku, they can relicense your code, if not, you'll have to agree to the license change.
smalltalkman has quit []
<PulkoMandy>
There are legal rules on who owns the copyright. In my case it is my employer for work done during worktime or using their hardware, otherwise it's mine
<phschafft>
(I also like the comment about relicensing as it demonstrates very well that copyright statements are not to be confused with license statements)
<nekobot>
[haiku/haiku] c098332d7b96 - usb_disk: Retry actions after reset_recovery.
Anarchos has joined #haiku
<Anarchos>
hello
Skipp_OSX has quit [Ping timeout: 480 seconds]
<jmairboeck>
Anarchos: I read in the logs that you had some problems with texlive. Did you update the texlive packages to 2023-2? the revision 1 packages were broken because they were built with texlive_core 2022. Revision 2 fixes this and removes the dependency on a specific texlive_core version.
<Anarchos>
jmairboeck i couldn't since haiku is broken for me on my toshiba (the pci refactor broke something , i wait for waddlesplash to solve it)