Guidelines and HOWTOs/Build from source/FreeBSD: Difference between revisions

From KDE Community Wiki
(Update installation instructions)
No edit summary
Line 1: Line 1:
* Install Python 3.6 and libraries needed for Craft:
* Install Python 3.6 and libraries needed for Craft:
  pkg install python36 py36-sqlite3
  pkg install python37 py37-sqlite3


* Optional: Install dependencies that will be required for compiling most KDE applications:
* 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 python37


* Get Craft
* Get Craft
  fetch -o setup.py https://raw.githubusercontent.com/KDE/craft/master/setup/CraftBootstrap.py && python3.6 setup.py --root ~/kde
  fetch -o setup.py https://raw.githubusercontent.com/KDE/craft/master/setup/CraftBootstrap.py && python3.7 setup.py --root ~/kde


* Optional: Adjust craft config to your liking:
* Optional: Adjust craft config to your liking:

Revision as of 16:59, 10 January 2020

  • Install Python 3.6 and libraries needed for Craft:
pkg install python37 py37-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 python37
  • Get Craft
fetch -o setup.py https://raw.githubusercontent.com/KDE/craft/master/setup/CraftBootstrap.py && python3.7 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