(Update installation instructions)
Line 1: Line 1:
 +
* Install Python 3.6 and libraries needed for Craft:
 +
pkg install python36 py36-sqlite3
  
* Install required dependencies either with pkg, or from ports:
+
* Optional: Install dependencies that will be required for compiling most KDE applications:
 
  pkg install libxml harfbuzz shared-mime-info p5-URI py36-sqlite3 xcb-util-image libxslt xcb-util-wm freetype2 xcb-util-renderutil gettext-runtime fontconfig git bash libxcbcommon xcb-util-keysyms gettext-tools icu python dbus inputproto cmake xorg-fonts pcre png bison xkeyboard-config pkgconf libxcb gpgme p7zip glib python36
 
  pkg install libxml harfbuzz shared-mime-info p5-URI py36-sqlite3 xcb-util-image libxslt xcb-util-wm freetype2 xcb-util-renderutil gettext-runtime fontconfig git bash libxcbcommon xcb-util-keysyms gettext-tools icu python dbus inputproto cmake xorg-fonts pcre png bison xkeyboard-config pkgconf libxcb gpgme p7zip glib python36
or
 
portmaster devel/icu devel/pcre devel/dbus x11-fonts/fontconfig print/freetype2 print/harfbuzz graphics/png x11/libxcb x11/xcb-util-image x11/xcb-util-keysyms :x11/xcb-util-renderutil x11/xcb-util-wm x11/libxkbcommon security/gpgme databases/py36-sqlite3 x11/inputproto shells/bash devel/git devel/cmake archivers/p7zip net/p5-URI lang/python lang/python36 x11/xkeyboard-config x11-fonts/xorg-fonts devel/libexecinfo devel/gmake devel/pkgconf devel/gettext-tools devel/gettext-runtime devel/bison misc/shared-mime-info lang/ruby22 textproc/libxslt devel/glib20
 
 
* Prepare some build directory in your home directory, here we assume:
 
mkdir ~/kf
 
 
* Switch to this build dir
 
cd ~/kf
 
  
 
* Get Craft
 
* Get Craft
  git clone git://anongit.kde.org/craft.git
+
  fetch -o setup.py https://raw.githubusercontent.com/KDE/craft/master/setup/CraftBootstrap.py && python3.6 setup.py --root ~/kde
 
 
* Copy the FreeBSD config template to right location, should be OK to use out of the box
 
mkdir etc
 
cp craft/kdesettings.fbsd etc/kdesettings.ini
 
  
 
* Optional: Adjust craft config to your liking:
 
* Optional: Adjust craft config to your liking:
  ee etc/kdesettings.ini
+
  ee ~/kde/etc/kdesettings.ini
  
 
* Optional: Run bash if you are running some other shell
 
* Optional: Run bash if you are running some other shell

Revision as of 18:42, 23 July 2017

  • Install Python 3.6 and libraries needed for Craft:
pkg install python36 py36-sqlite3
  • Optional: Install dependencies that will be required for compiling most KDE applications:
pkg install libxml harfbuzz shared-mime-info p5-URI py36-sqlite3 xcb-util-image libxslt xcb-util-wm freetype2 xcb-util-renderutil gettext-runtime fontconfig git bash libxcbcommon xcb-util-keysyms gettext-tools icu python dbus inputproto cmake xorg-fonts pcre png bison xkeyboard-config pkgconf libxcb gpgme p7zip glib python36
  • Get Craft
fetch -o setup.py https://raw.githubusercontent.com/KDE/craft/master/setup/CraftBootstrap.py && python3.6 setup.py --root ~/kde
  • Optional: Adjust craft config to your liking:
ee ~/kde/etc/kdesettings.ini
  • Optional: Run bash if you are running some other shell
bash
  • Setup environment:
source craft/kdeenv.sh
  • In this shell, now craft is usable, e.g. to build Kate with all dependencies:
craft kate

Content is available under Creative Commons License SA 4.0 unless otherwise noted.