Bi-monthly release with minor bug fixes and improvements
brew install haraldf/kf5/kf5-kauth
==> Installing kf5-kauth from haraldf/kf5
==> Downloading http://download.kde.org/stable/frameworks/5.25/kauth-5.25.0.tar.xz
Already downloaded: /Users/jamie/Library/Caches/Homebrew/kf5-kauth-5.25.0.tar.xz
==> cmake . -DCMAKE_PREFIX_PATH=/Users/jamie/Qt5.7.0/5.7/clang_64/ -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL
Last 15 lines from /Users/jamie/Library/Logs/Homebrew/kf5-kauth/01.cmake:
Could not find a package configuration file provided by "KF5CoreAddons"
(requested version 5.25.0) with any of the following names:
KF5CoreAddonsConfig.cmake
kf5coreaddons-config.cmake
Add the installation prefix of "KF5CoreAddons" to CMAKE_PREFIX_PATH or set
"KF5CoreAddons_DIR" to a directory containing one of the above files. If
"KF5CoreAddons" provides a separate development package or SDK, be sure it
has been installed.
-- Configuring incomplete, errors occurred!
See also "/tmp/kf5-kauth-20161121-1328-cdgkfx/kauth-5.25.0/CMakeFiles/CMakeOutput.log".
See also "/tmp/kf5-kauth-20161121-1328-cdgkfx/kauth-5.25.0/CMakeFiles/CMakeError.log".
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/haraldf/homebrew-kf5/issues
These open issues may also help:
failed to build kf5-kconfigwidgets, missing /usr/local/lib/libexec/kauth/kauth-policy-gen.app/Contents/MacOS/kauth-policy-gen https://github.com/haraldF/homebrew-kf5/issues/34
Last 15 lines from /Users/jamie/Library/Logs/Homebrew/kf5-kconfigwidgets/01.cmake:
CMake Error at CMakeLists.txt:13 (find_package):
Could not find a package configuration file provided by "Qt5" (requested
version 5.5.0) with any of the following names:
Qt5Config.cmake
qt5-config.cmake
Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
to a directory containing one of the above files. If "Qt5" provides a
separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
See also "/tmp/kf5-kconfigwidgets-20161121-51114-wfcr4e/kconfigwidgets-5.25.0/CMakeFiles/CMakeOutput.log".
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/haraldf/homebrew-kf5/issues
These open issues may also help:
failed to build kf5-kconfigwidgets, missing /usr/local/lib/libexec/kauth/kauth-policy-gen.app/Contents/MacOS/kauth-policy-gen https://github.com/haraldF/homebrew-kf5/issues/34
substitute=$Qt5_DIR/
echo $substitute
count=$(cat *.rb | grep -c CMAKE_PREFIX_PATH)
if [ $count -le 1 ]
then
echo "Hacking kf5 Files"
sed -i '' "s@*args@\"-DCMAKE_PREFIX_PATH=${substitute}\", *args@g" *.rb
sed -i '' '/depends_on "qt5"/,/^/d' *.rb
else
echo "kf5 Files already hacked, skipping"
fi
require "formula"
class Kf5Kauth < Formula
url "http://download.kde.org/stable/frameworks/5.25/kauth-5.25.0.tar.xz"
sha256 "1d62b32d88ba6c1e71e7b3ef67366710b9ce4488bcf82280fbe70d79b52f963a"
homepage "http://www.kde.org/"
head 'git://anongit.kde.org/kauth.git'
depends_on "cmake" => :build
depends_on "haraldf/kf5/kf5-extra-cmake-modules" => :build
def install
args = std_cmake_args
system "cmake", ".", "-DCMAKE_PREFIX_PATH=/Users/jamie/Qt5.7.0/5.7/clang_64/bin/", *args
system "make", "install"
prefix.install "install_manifest.txt"
mkdir_p "#{HOMEBREW_PREFIX}/lib/kde5/libexec"
ln_sf "#{lib}/kde5/libexec/kauth-policy-gen.app", "#{HOMEBREW_PREFIX}/lib/kde5/libexec/"
end
end
==> Installing kf5-kauth from haraldf/kf5
==> Installing dependencies for haraldf/kf5/kf5-kauth: haraldf/kf5/kf5-extra-cmake-modules
==> Installing haraldf/kf5/kf5-kauth dependency: haraldf/kf5/kf5-extra-cmake-modules
==> Downloading http://download.kde.org/stable/frameworks/5.25/extra-cmake-modules-5.25.0.tar.xz
==> Downloading from http://ftp.ussg.iu.edu/kde/stable/frameworks/5.25/extra-cmake-modules-5.25.0.tar.xz
######################################################################## 100.0%
==> cmake . -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/kf5-extra-cmake-modules/5.25.
==> make install
? /usr/local/Cellar/kf5-extra-cmake-modules/5.25.0: 52 files, 271K, built in 6 seconds
==> Installing haraldf/kf5/kf5-kauth
==> Downloading http://download.kde.org/stable/frameworks/5.25/kauth-5.25.0.tar.xz
==> Downloading from http://mirror.cc.columbia.edu/pub/software/kde/stable/frameworks/5.25/kauth-5.25.0.tar.xz
######################################################################## 100.0%
==> cmake . -DCMAKE_PREFIX_PATH=/Users/jamie/Qt5.7.0/5.7/clang_64/bin/ -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INS
Last 15 lines from /Users/jamie/Library/Logs/Homebrew/kf5-kauth/01.cmake:
CMake Error at CMakeLists.txt:13 (find_package):
Could not find a package configuration file provided by "Qt5" (requested
version 5.5.0) with any of the following names:
Qt5Config.cmake
qt5-config.cmake
Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
to a directory containing one of the above files. If "Qt5" provides a
separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
See also "/tmp/kf5-kauth-20161121-5664-mk5229/kauth-5.25.0/CMakeFiles/CMakeOutput.log".
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/haraldf/homebrew-kf5/issues
These open issues may also help:
failed to build kf5-kconfigwidgets, missing /usr/local/lib/libexec/kauth/kauth-policy-gen.app/Contents/MacOS/kauth-policy-gen https://github.com/haraldF/homebrew-kf5/issues/34