Skip to content
npyl edited this page Oct 26, 2018 · 1 revision

📝 Requirements

Necessary

  • Xcode command-line tools (or Xcode)
  • Homebrew
  • Xquartz
  • freetype, gettext, lua, imlib2

Οptional

⚙️ Installing Requirements

Goto Homebrew's and run the installer script. It will also install command-line tools.

Now, you need to install Xquartz! From the site, download the dmg, run the installer and wait. Logout when it tells you and you will be good to go!

Finally, copy-paste on terminal the following. The last command MUST be run if you want gettext support!

brew install cmake freetype gettext lua imlib2 pkg-config
brew link gettext --force
Optional

If you wish to enable frequency monitoring for Core0 (see #20) you need to install IPG (Intel Power Gadget).

You can do so either by running brew cask install intel-power-gadget (that is if Homebrew-cask in installed) or by directly downloading the installer from the linked site.

🏗 Building

Download/clone project and cd into project's directory, You can now choose if you want to use Unix Makefiles or Xcode build system.

  • USING UNIX MAKEFILES

Type in Terminal inside the Conky-for-macOS directory:

mkdir build
cd build
ccmake ..

Press c; you will be presented with a list of options.

Optional

If you wish to enable monitoring frequency of Core0 scroll and set BUILD_IPGFREQ to ON. (see #20)

Press c, then g.

Finally type:

make
make install  # optional
  • USING XCODE TO BUILD (and potentially develop)

Type the following to setup an Xcode project out of conky's cmake files:

mkdir build
cd build
ccmake .. -G Xcode

Press c, you will be presented with a list of options.

Optional

If you wish to enable monitoring frequency of Core0 scroll and set BUILD_IPGFREQ to ON. (see #20)

Press c, then g.

Open the project in Xcode with open conky.xcodeproj

With the build target set to BUILD_ALL press the build button.

If this produces an error related to defconf select defconf as build target and build.

Repeat for every build target that produces an error and once everything is ok, select BUILD_ALL and build. If this succeeds go on and change build target to conky.

You are now ready to compile/work on conky as you wish using Xcode IDE!

Configuration is complete!