Jump to content

Guidelines and HOWTOs/Build from source/FreeBSD Start crafting on FreeBSD

From KDE Community Wiki
Revision as of 12:53, 27 January 2017 by Arrowd (talk | contribs) (Create "Start crafting on FreeBSD" page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • Install required dependencies either with pkg, or from ports:
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
git clone git://anongit.kde.org/craft.git
  • Copy Mac OS X config template to right location, should be OK to use out of the box
mkdir etc
cp craft/kdesettings.fbsd 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