RJVB / macstrop

RJVB's repository of alternative macports, with ports missing from or overriding those in the standard collection, including a set of KF5 ports.
20 stars 9 forks source link

Add tellico 3.x #18

Closed gitdevmod closed 5 years ago

gitdevmod commented 5 years ago

Hi, Could you add tellico based on kf5 ? I do not know if all dependencies are already in tree. Last version on Macports is old and does work anymore with discogs database (handshake issue, maybe tls is not well supported with kdelibs4 ?) http://tellico-project.org/

Thanks in advance !

RJVB commented 5 years ago

I'll look into it, but this doesn't sound like something I'd be using myself so it will not get a high priority.

A quick inventory suggests only libkcddb may be missing (but that may have more than enough missing dependencies itself).

I've tried to make writing KF5 portfiles as easy and self-explanatory as possible, so if you have some coding and building experience you can start this off yourself and then do a pull request. Start by cloning the port directory for a simple standalone KF5 library (e.g. kf5-libkcalcore; doesn't have patches) then change the evident things like the name and version. Idem for the application itself (clone kf5-kruler, for instance).

gitdevmod commented 5 years ago

@RJVB Thanks for your response, I've some experience with writing Makefile ports (FreeBSD). Is there an online build plateform for testing ?

RJVB commented 5 years ago

MacPorts portfiles are TCL, so there's a difference. And as such the only online test build platform I know of is for the official ports, no idea how you'd leverage that for a personal ports repository. I see the official macports-ports repository has a travis file but I have some doubts it will be easy to get it to work. There's an implicit assumption behind my macstrop tree that it will be added to an existing MacPorts install that has already been bootstrapped to some extent.

gitdevmod commented 5 years ago

@RJVB could you review https://github.com/gitdevmod/macstrop/blob/master/kf5/kf5-tellico/Portfile ? It builds correctly, application running not tested I created https://github.com/gitdevmod/macstrop/blob/master/kf5/kf5-libkcddb/Porfile but it does not build because of "Undefined symbols for architecture x86_64"

RJVB commented 5 years ago

Can you remind me next week please if I seem to forget? I won't get to it this week.

gitdevmod commented 5 years ago

@RJVB any chance to review kf5-tellico ?

RJVB commented 5 years ago

oops, no I've been away and busy with other stuff.

I've had some time to upgrade my port:kf5-libkcddb. I had the same missing symbol issue, which appears to be a visibility issue due to using an older clang version. It goes away when I configure with configure.compiler=macports-clang-5.0. I've done some compiler blacklisting in the port, but I'd need to know what compiler you use in order to get it right. It'd be especially interesting to know if even a (very) recent Apple clang compiler fails here; that would indicate a bug in the extra-cmake-modules, I think.

gitdevmod commented 5 years ago

@RJVB I use this: $ clang -v Apple LLVM version 9.0.0 (clang-900.0.38) Target: x86_64-apple-darwin17.7.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin