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

docbook-xsl replaced by docbook-xsl-nons #19

Open gitdevmod opened 5 years ago

gitdevmod commented 5 years ago

Hi,

A lot of Port (ie: kf5-kio) can not be installed with this error Error: docbook-xsl has been replaced by docbook-xsl-nons; please install that instead.

I tried to change kf5/KF5-Frameworks/Portfile docbook-xsl to docbook-xsl-nons but it fails with :info:configure -- The following REQUIRED packages have not been found: :info:configure * DocBookXSL, DocBook XSL, <http://docbook.sourceforge.net/release/xsl/current/> :info:configure Required by the KDE help system to process DocBook XML

RJVB commented 5 years ago

Thanks, I'll look into it.

Which ports were you trying to install?

gitdevmod commented 5 years ago

In this case kf5-kio

RJVB commented 5 years ago

I've made what seem to be the required changes. Let me know if issues remain.

gitdevmod commented 5 years ago

Issue remain

$ sudo port install kf5-kio ---> Computing dependencies for kf5-kio The following dependencies will be installed: kf5-kbookmarks kf5-kcompletion kf5-kconfigwidgets kf5-kcrash kf5-kdbusaddons kf5-kdoctools kf5-kglobalaccel kf5-kguiaddons kf5-kiconthemes kf5-kitemviews kf5-kjobwidgets kf5-knotifications kf5-kservice kf5-ktextwidgets kf5-kwallet kf5-kwidgetsaddons kf5-kxmlgui Continue? [Y/n]: y ---> Fetching distfiles for kf5-kdoctools ---> Attempting to fetch kdoctools-5.47.0.tar.xz from https://distfiles.macports.org/KF5-Frameworks
---> Attempting to fetch kdoctools-5.47.0.tar.xz from http://lil.fr.distfiles.macports.org/KF5-Frameworks
---> Attempting to fetch kdoctools-5.47.0.tar.xz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/KF5-Frameworks
---> Attempting to fetch kdoctools-5.47.0.tar.xz from http://nue.de.distfiles.macports.org/KF5-Frameworks
---> Attempting to fetch kdoctools-5.47.0.tar.xz from http://download.kde.org/stable/frameworks/5.47
---> Verifying checksums for kf5-kdoctools ---> Extracting kf5-kdoctools Warning: reinplace /add_subdirectory.([ ]doc[ ])/d didn't change anything in /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kdoctools/work/kdoctools-5.47.0/CMakeLists.txt Warning: reinplace /ADD_SUBDIRECTORY.([ ]docs[ ])/d didn't change anything in /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kdoctools/work/kdoctools-5.47.0/CMakeLists.txt Warning: reinplace /ADD_SUBDIRECTORY.([ ]doc[ ]*)/d didn't change anything in /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kdoctools/work/kdoctools-5.47.0/CMakeLists.txt ---> Configuring kf5-kdoctools Error: Failed to configure kf5-kdoctools: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kdoctools/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port kf5-kio failed

main.log

gitdevmod commented 5 years ago

It seems it's a case sensitive in issue, after replacing

-DDOCBOOKXSL_DIR=${prefix}/share/xsl/docbook-xsl-nons by -DDocBookXSL_DIR=${prefix}/share/xsl/docbook-xsl-nons

kf5-kio is installed now

RJVB commented 5 years ago

Interesting, I did run a test build ...