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

Port name and portdir mismatches #50

Closed yan12125 closed 3 years ago

yan12125 commented 5 years ago

Whenever running portindex in this repository, 18 ports are re-parsed:

$ portindex
Creating port index in /Users/yen/var/syncthing/Projects/macstrop
Adding port kde/ECM
Adding subport kde-extra-cmake-modules-devel
Adding subport kECM
Warning: depends_libs change: path:lib/libQtCore.4.dylib:qt4-mac
Warning: Using the mainstream/official Qt4 portgroup
Adding port kde/krecipe
Adding port kf5/kde-cli-tools
Adding port kf5/kdevelop5-pg-qt
Adding subport kf5-kdevelop-pg-qt-devel
Adding port kf5/kdevplatform5
Adding subport kf5-kdevplatform-devel
Adding subport kf5-kdevplatform-translations
Adding port kf5/kf5-libkcalcore
Adding port kf5/kompare5
Adding port kf5/konsole5
Adding subport kf5-konsole-devel
Adding port kf5/kwalletman
Adding port kf5/libkompare5diff2
Adding port kf5/okteta5
Adding port x11/oxygen-gtk3

Total number of ports parsed:   18
Ports successfully parsed:  18
Ports failed:           0
Up-to-date ports skipped:   1052

Looks like the cause is mismatches between port name and portdir. For example, the port in kde/ECM has the name kde-extra-cmake-modules.

RJVB commented 5 years ago

True. It has never really bothered me. What does bother me a bit more is having to rename workdirs when I rename a portdir, in the cases where that's necessary (and the port in question is one for which I do incremental development). So this is something that will get sorted out little by little.

yan12125 commented 5 years ago

Sounds more like a missing feature in portindex. Feel free to close this ticket if you think this should be reported to macports-base :)

RJVB commented 5 years ago

Exactly what kind of missing feature?

yan12125 commented 5 years ago

The ability to cache port info even if portdir != port name.