<botifico>
[haikuports/haikuports] Begasus 775dea2 - crypto++, bump version (#9515)
ScottD16 has joined #haiku
<OscarL>
I wrote a silly Python script to compare locally built packages (the ones under "hauikuports/packages/") with the ones installed in /system/packages/.
<OscarL>
Mosly to get a clean "diff" on terminal, to compare file contents (without comparing file sizes or dates, only names).
<OscarL>
Handy to compare, say, the updated "wheel_python310" version, with the older one I have installed.
<OscarL>
https://bpa.st/CRPA <<< just in case you may find it useful Begasus.
<OscarL>
(it is more complex than it should, just because I've reused parts from my "pkgman_list_not_required.py" prototype :-D
<Begasus>
isn't there some cmd to do this?
<OscarL>
not one that I found. Do that other command also disregards file sizes/dates/permissions?
<OscarL>
(this is basically doing some clean up on "package list" output + calling diff on that)
<Begasus>
I don't know, never used it, but I think I saw some comments passing by how to compare package contents (could be from the time with fbrosson) :)
<Begasus>
that was it :) package list + diff
ScottD1 has quit [Ping timeout: 480 seconds]
ScottD16 is now known as ScottD1
<OscarL>
tried that at first... not very useful, thus, this script :-D ( use it with "| diff-so-fancy" to get nicely colored output).
<Begasus>
heh
<OscarL>
mmm seems my last edit before the bpa.st borked it :-D
<Begasus>
File "/boot/home/config/non-packaged/bin/compare_package.py", line 31
<Begasus>
print(__doc__)
<Begasus>
^
<OscarL>
not so very helpfull error message :-P (also.. if it doesn't finds the named package, it is failing to say so properly :-D... I blame the lack of coffee)
<Begasus>
yeah! :P
<OscarL>
oh well.... needs more cooking :-) (will let you know when it gets better tested)
<Begasus>
thanks :)
<OscarL>
Also... need to fix it to complain if both packages are the same (after I've installed the new one lol!)
<Begasus>
keeps you busy (but distracted) :)
bjorkint0sh has joined #haiku
janus has quit [Read error: Connection reset by peer]
<Begasus>
SyntaxError: invalid non-printable character U+00A0
<Begasus>
;)
<Begasus>
same line
<OscarL>
works for me using the download link: https://bpa.st/download-archive/O4RA (but that downloads a zip, with the fine named compare_packages-O4RA.txt :-D)
<OscarL>
Guess I should put it as a gist.
<Begasus>
maybe something wrong with copy/paste here
<OscarL>
I think so, yeah. :-(
<Begasus>
ls: cannot access '/Opslag/haikuports/.packages/crypto++-*.hpkg': No such file or directory
<Begasus>
why is there a dot before packages?
<OscarL>
heh.... that's one of my "haikuporter local patches" :-D
<Begasus>
tsss
<OscarL>
remove dot from line 53, and should work,
<Begasus>
the red in dark is not good for my eyes ;)
<OscarL>
I should probably search for a different diff tool, maybe some with html output. But... for now... better than nothing :-D
<Begasus>
at least it looks "clean" ... no errors :)
floof58 has quit [Ping timeout: 480 seconds]
<Begasus>
tried sphinx? latexpdf ... :P
<OscarL>
re: "no errors"--- give it time... considering the author... :-P
<Begasus>
I meant the output ;)
<Begasus>
no errors as in ... expected result
<OscarL>
considering the author... I kinda expect it to fail randomly in the near future anyway :-D
<Begasus>
I gather package list takes the information from .Packageinfo? (or what the file is called)
<Begasus>
it didn't trip over crypto++ (++ no being standard characters), so that's good already
<Begasus>
time to head out (dogschool)
<Begasus>
cu later!
<OscarL>
later!
floof58 has joined #haiku
<OscarL>
mmm, trying to uninstall intel_wifi_firmwares wants to basically wipe my full disk :-(
<OscarL>
guess I'm forced to update it (or supply a fake one :-D)
mr_lou has quit [Remote host closed the connection]
jmairboeck has joined #haiku
tercaL has joined #haiku
aa72 has joined #haiku
aa72 has left #haiku [#haiku]
HaikuUser has joined #haiku
aa72 has joined #haiku
aa72 has left #haiku [#haiku]
AD_MOS has quit [Ping timeout: 480 seconds]
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
Haikuhunden has joined #haiku
<Haikuhunden>
Is there a place other than Input for configuring things related to mice? I'm trying to find a way to swap right/left mouse button
<OscarL>
Haikuhunden: I think that's the only place. You should be able to "right-click" on each of the buttons on the Input preference app, and change there then button number assigned to each one.
<Haikuhunden>
Ooooh like THAT
<Haikuhunden>
thanks. Got them swapped now.
<OscarL>
np! Happy Haikuing!
<Haikuhunden>
It even looks like it respects several mice set up in different ways
aa72 has joined #haiku
mr_lou has joined #haiku
x10z has joined #haiku
<Haikuhunden>
Huh. Odd. I was struggling to make @ in order to log in to Bitwarden in Web. After trying all I could think of, I went to Keymap. Turns out I was doing it right, but pressing option-2 only gives me @ in other apps - not in Web
<Haikuhunden>
this is with a Danish keyboard layout
<OscarL>
Web being a ported app, might not behave exactly like the rest of the system.
<OscarL>
"linux.pizza" :-D that domains makes me hungry.
<Haikuhunden>
that's fair
<Haikuhunden>
his reasoning is amusing
<OscarL>
nice post, btw!
<Haikuhunden>
Q: Why Linux.Pizza?
<Haikuhunden>
A: Well, you can compile your pizza how much you want and still be able to call it a pizza. The same applies to Linux
<aa72>
Haikuhunden : i have seen => very nice :)
<Haikuhunden>
I also really loved BeOS back in the day, so seeing it running on almost infinitely faster hardware is just a blast. I think I basically need three things to daily drive Haiku.
<Haikuhunden>
1) Hardware acceleration so video playback works, 2) working sound, 3) Bitwarden
<Haikuhunden>
the latter is half-way there thanks to the web version but it is kind of a hassle to swap back and forth all the time instead of having the cli client or web app
bjork1intosh has quit [Ping timeout: 480 seconds]
<Haikuhunden>
s/web app/extension
<Haikuhunden>
uhm, and I guess untethered networking would be a plus.
<Haikuhunden>
so maybe 4 :)
* OscarL
needs 1), and also a working alternative to "acpi_cpufreq" (plus finishing my undervolt tool. Phenom II X4 gets HOT :-D)
<aa72>
I would like to know, but without disturbing you, if you like the haiku name or want to change it...
<Haikuhunden>
that's an old boy - about the same age as what I'm running here
<Haikuhunden>
Hmmm. I don't mind Haiku. I can't stop thinking "BeOS" half the time, though.
<aa72>
beos is to much ... name ...
<Haikuhunden>
I'd say it's very little name :D
<aa72>
openbeos too ... too much ...
<Haikuhunden>
The downside to Haiku is searchability because you get a bajillion search results from "haiku" for obvious reasons. Adding "OS" obviously narrows it down.
<OscarL>
too bad the latter tends to make people think it is actually called "HaikuOS" :-(
<Haikuhunden>
Well, I think most people, myself included, tend to not remember the specifics of how operating systems spell their names. macOS MacOS Mac OS.
<Haikuhunden>
especially when there is inconsistency when it is mentioned. I think as long as people remember how to find it, it's all good.
<OscarL>
As long as they don't pronounce HaikuOS in Spanish as "jaikúos"... all good :-P
<OscarL>
mmm /bin/tzselect now progresses further (founds zoneinfo data), but makes /bin/date go into: "state: Exception (General protection fault)" :-/
x10z has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
HaikuUser has joined #haiku
HaikuUser has quit []
<OscarL>
/bin/date comes from coreutils... but I think /bin/tzselect expects it to be the one from the tzdb tools instead.
<OscarL>
(at least that package has its own date.{c,1} files)
bjork1intosh has joined #haiku
<aa72>
OS = operating system => good !!! ;)
bjorkint0sh has quit [Ping timeout: 480 seconds]
AD_MOS has joined #haiku
aa72 has left #haiku [#haiku]
<Begasus>
re
aa72 has joined #haiku
floof58 has quit [Quit: floof58]
floof58 has joined #haiku
mr_lou has quit [Remote host closed the connection]
<Begasus>
lol OscarL, that's no excuse, English isn't my native one too :P
<Begasus>
ps, PR's ready to go?
<OscarL>
the wheel one? I think so. Not sure if korli would approve but...
Haikuhunden has quit [Quit: Vision[]: i've been blurred!]
<OscarL>
in the past he expressed his opinion that we should stick to tarballs instead of .whl files, because tarballs includes docs and stuff... but we're not even including those most of the time for python packages anyway so... ¯\_(ツ)_/¯
<Begasus>
shouldn't stop it from merging for now :)
<OscarL>
and using .whl was how you managed to do sphinx-argparse without adding Poetry first :-D
<Begasus>
first comment was from 2018, so like 5 years and we're still here
<Begasus>
saves some work :)
<OscarL>
indeed!
<OscarL>
link to the comment from 2018? I only remember what he wrote to me... no smileys that day :-(
<Begasus>
k, let's merge and keep the discussion ongoing
<botifico>
[haikuports/haikuports] OscarL 6af96fc - wheel: update to version 0.41.2 (#9514)
<jmairboeck>
OscarL: for antlr I just used the existing jar file for the package instead of building it from source, so it should be fine I guess
<OscarL>
jmairboeck: indeed. and for python's case... it just makes sense (for packages that do not need compilation, or some other special treatment).