<Xogium>
is there any way to make it so one can link programs against the perl library ? In buildroot I had to come up with an extremely ugly patch set to do this
<Xogium>
so for example making it possible to enable perl support in something like irssi, so that one can load perl scripts at runtime. I know yocto has perl support, but does it actually support building the perl library itself ?
<ablu>
Xogium: Is the perl liberary something special or is it usually coming in the same package as perl itself? irssi seems to build with "--with-perl=no", might we worth trying to just flip that to a yes and add a DEPENDS += "perl"
* ablu
is a perl noob
<Xogium>
ablu: it comes with the package afaik, but in buildroot I had to enable it
<Xogium>
you need to pass -Duseshrplib
<Xogium>
which I understand means build perl shared library
<ablu>
Xogium: "poky/meta/recipes-devtools/perl/perl_5.38.0.bb" seems to do that.
<Xogium>
oooh. I must have missed it
<Xogium>
darn
<Xogium>
yeah totally missed that
Net147 has quit [Quit: Quit]
<Xogium>
also meson should be used for irssi now ;) autotools is going to be removed afaik
<Xogium>
I assume I could change the build system to meson using a bbappend file ?
Net147 has joined #yocto
Net147 has quit [Changing host]
Net147 has joined #yocto
camus has quit [Remote host closed the connection]
camus has joined #yocto
khem has quit [Quit: Connection closed for inactivity]
jmd has quit [Remote host closed the connection]
mckoan is now known as mckoan|away
starblue has joined #yocto
Vonter has quit [Ping timeout: 256 seconds]
Vonter has joined #yocto
<Xogium>
is there any reason why devtool latest-version works for example on perl package but not on irssi ? It prints my current version, but not the latest one. Can it not determine this from github ?
samkent has joined #yocto
Vonter has quit [Read error: Connection reset by peer]
Vonter has joined #yocto
Vonter has quit [Quit: WeeChat 4.1.2]
Vonter has joined #yocto
goliath has joined #yocto
Daanct12 has quit [Quit: WeeChat 4.1.2]
florian has joined #yocto
alessioigor has joined #yocto
florian has quit [Ping timeout: 264 seconds]
alessioigor has quit [Client Quit]
alessioigor has joined #yocto
rm5248 has joined #yocto
<ablu>
Xogium: Yeah, it should work, but if you plan such a major change it would probably be better to just sent the change upstream (and include a PACKAGECONFIG option for perl too maybe :))
florian has joined #yocto
prabhakarlad has joined #yocto
rcw has quit [Ping timeout: 252 seconds]
manuel_ has joined #yocto
<Xogium>
ablu: aye, absolutely. I just want to get way more familiar with yocto first. I'm still a complete newb
manuel__ has joined #yocto
<ablu>
Xogium: Just doing the hacks directly in the .bb of poky will probably be easier than carefully undoing and overriding all of the base recipe architecture :). Alternatively, you can of course also copy the .bb file into your own layer, give it some different name and tweak it there.
manuel_ has quit [Ping timeout: 276 seconds]
<Xogium>
well poky doesn't carry irssi
<Xogium>
it's part of the meta-connectivity layer of meta-openembedded
<Xogium>
but basically I picked kirkstone because latest lts and I'm trying to both upgrade irssi which is at an old 1.2.3 (yes I laughed at the version number) to the 1.4.5 latest release
<Xogium>
and to also switch it to meson in the process
<Xogium>
so I thought I could get away with using a bbappend file, but if overriding the entire .bb itself in this case is better, maybe I should simply use recipetool to make an irssi recipe instead of carrying the oe one ?
<Xogium>
so then after I could update the official recipe with what I've done
<Xogium>
I'm unsure still about directly modifying layers, especially poky since the manual tells you to never do that with poky itself
<Xogium>
especially since I don't own either poky or the meta-openembedded repo
florian has quit [Ping timeout: 260 seconds]
manuel__ has quit [Read error: Connection reset by peer]
rcw has joined #yocto
samkent has quit [Ping timeout: 255 seconds]
rcw has quit [Ping timeout: 252 seconds]
jmiehe has joined #yocto
<LetoThe2nd>
Xogium: thats correct, always use a custom layer
<Xogium>
haha, see, I'm learning ! :p
<Xogium>
so better to carry my own recipe of irssi then instead of the 'upstream' one ?
florian has joined #yocto
jmiehe has quit [Quit: jmiehe]
vladest has quit [Quit: vladest]
lexano has quit [Ping timeout: 252 seconds]
<ablu>
Xogium: Sure, in general you should not modify existing layers just for changes needed for your project. But if you want to migrate irssi to meson and want to upstream that then you want to modify it :). If you just want to update to meson for your project (at least for now) then just copy the recipe to your own layer, yes.
florian has quit [Ping timeout: 260 seconds]
<Xogium>
m'kay
<Xogium>
thanks :)
<ablu>
If you only want to tweak the recipe to add some simple compile flag (rather than upgrading the whole thing to meson), then of course simply use a .bbappend.
lexano has joined #yocto
camus has quit [Quit: camus]
vladest has joined #yocto
simonew has joined #yocto
<Xogium>
yeah
<Xogium>
makes sense
<Xogium>
but how does one upgrade a recipe using a bbappend file ? Is it even actually possible to do so ?
<Xogium>
I see that there are 3 ways of upgrading recipes and so it will make a .bb file, but I assume using a bbappend should also be possible, no ?
<Xogium>
so you don't have to carry an entirely new .bb to maintain
<rm5248>
I've done that before in a bbappend file, the simplest way is to set the PV to the new version and update the SRC_URI. This may not work for more complex packages.
<Xogium>
hmm, I see. But I thought the pv was not defined for a lot of recipes but rather extracted from the file name itself ?
<Xogium>
maybe I've misunderstood
<rm5248>
Generally it is, but sometimes it isn't. I think the PV can be overridden even if it has been set as part of the file name
<Xogium>
huh, interesting
<Xogium>
I'll have to try, for experiment and learning purpose
sakoman has quit [Quit: Leaving.]
sakoman has joined #yocto
camus has joined #yocto
florian has joined #yocto
prabhakarlad has quit [Ping timeout: 250 seconds]
kpo_ has joined #yocto
florian has quit [Ping timeout: 276 seconds]
rcw has joined #yocto
agrue_ has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
lexano has quit [Ping timeout: 260 seconds]
rcw has quit [Ping timeout: 252 seconds]
lexano has joined #yocto
florian has joined #yocto
kpo_ has quit [Ping timeout: 264 seconds]
lexano has quit [Ping timeout: 256 seconds]
lexano has joined #yocto
Vonter has quit [Ping timeout: 240 seconds]
Vonter has joined #yocto
Chocky has quit [Ping timeout: 260 seconds]
ablu has quit [Read error: Connection reset by peer]
Chaser has joined #yocto
ablu has joined #yocto
Chaser_ has joined #yocto
Chaser_ has quit [Client Quit]
Chaser has quit [Quit: Chaser]
Chaser_ has joined #yocto
Chocky has joined #yocto
rcw has joined #yocto
vladest has quit [Quit: vladest]
simonew has quit [Quit: Konversation terminated!]
Chaser_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]