MusicBrainz Picard for Haiku

Yes, this is available in Haiku Depot. Search for Picard and you should find it:

haiku-depot-picard

A short update on my plans here. This is already in a very good shaped, I’m pretty pleased this runs so well on Haiku. So I will focus on getting the upcoming release of Picard 2.2 (which we plan to release in September) available on Haiku as soon as it gets released.

Some things to note:

  • There is now a fully working plugin to read and write BFS attributes. It is using libbe directly and works pretty well. It is already available in the official plugin repository, but only if running the latest Picard development version from git. But that means this will be available with Picard 2.2 as soon as it gets released.

  • I would like to address the current patches by moving them to the proper place. E.g. the fixes for opening the web browser should be really provided by Haiku’s python packages. I will also see that the necessary changes to Picard itself get upstreamed.

10 Likes

@phw

Man…I did not think of that! Thank you!!

1 Like

While you are at it to bump to the new version, maybe update the recipe in haikuports to use SECONDARY_ARCHITECTURES? Because it can’t compile with gcc2, that way it would also be available on the 32bit Haiku

I think I have not yet really understood that secondary architectures thing. So currently the recipe defines:

ARCHITECTURES="x86 x86_64" 

I assumed this should be sufficient to get a 32 bit build, but obviously it doesn’t. What do I have to do to make it work? Add SECONDARY_ARCHITECTURES="x86"? Why is there both ARCHITECTURES and SECONDARY_ARCHITECTURES?

@phw Check this recipe https://github.com/haikuports/haikupolrts/blob/8164efa7b27f6c3bac6453db4388aaee23ef2da5/app-arch/pigz/pigz-2.4.recipe
This can’t be build for gcc2 also, it should make things clear on why the secondary architecture (gcc8) for gcc2hybrid
PS, you will have to use $secondaryArchSuffix also on some lines (for instance “cmd:gcc$secondaryArchSuffix” tells haikuporter to use gcc8

There you go, MusicBrainz Picard on gcc2h :slight_smile:
Picard
PS, the icon shows correctly when started from Tracker (starting in Terminal shows python3.6m in the Deskbar)

1 Like

Tried to add the architecture thing:

But I really still don’t get the secondary architecture thing, I just copied this over from https://github.com/haikuports/haikuports/blob/c2a214e6473117adfdbf84d0f792341b30e1bbd7/media-libs/libdiscid/libdiscid-0.6.2.recipe.

ARCHITECTURES="" refers to primary target architecture in case for gcc2h it refers to x86_gcc2
SECONDARY_ARCHITECTURES="" refers to secondary architecture
If something can’t be build for primary we use the secondary architecture (if possible)
for binaries … primary path for primary is $prefix/bin, for secondary it will be $prefix/bin/x86 (for gcc2h)

1 Like

We have released Picard 2.2, and I’m happy to say Haiku is among the platforms to have the new update from the start :slight_smile: You can install it now using Haiku Depot.

Haiku users might want to install the “Haiku BFS Attributes” plugin which is officially available:

grafik

10 Likes

Great news, hope it can batch copy the id3 tags to attributes. Will test it.

1 Like

Nice work! Thanks for keeping track on the builds for Haiku!!!

1 Like