*** WARNING ***
C+Pie is experimental. Secure your data before using.
===C+Pie Installation
=dependencies
openSUSE Leap-15.6
sudo zypper install git-core ninja gcc11-c++ libopenssl-devel freetype2-devel \
hunspell-devel xorg-x11-devel wayland-devel wayland-protocols-devel weston \
weston-devel cairo-devel libjpeg8-devel libwebp-devel
ubuntu 24.04.2 LTS
sudo apt install git ninja-build g++-11 libssl-dev libfreetype-dev \
libhunspell-dev xorg-dev libwayland-dev wayland-protocols weston \
libweston-13-dev libcairo2-dev libjpeg8-dev libwebp-dev libegl-dev
=get C+Pie
Clone C+Pie
git clone https://git.code.sf.net/p/cpluspie/code <cpluspie>
=install
cd <cpluspie>
machine/set_compiler.sh -cc=g++-11 -c=gcc-11
machine/install.sh [-<desktop>]
desktop: linux, x11, wayland or all. linux stands for the native linux console
using the framebuffer.
=run
Set the environment variable CPLUSPIE_PATH to <cpluspie>'s path with
source machine/set.sh
to use as linux add the user to the groups video, input and tty:
sudo usermod -aG video,input,tty <user>
run
cpluspie
=clear
cd <cpluspie>
rm -r build
machine/reset.sh
machine/install [-<desktop>]
==on other systems
*set the compiler
machine/set_compiler.sh [-c=<c compiler>] [-ca=<c arguments>] \
[-cc=<cccompiler>] [-cca=<cc arguments>]
default:-cc=/usr/local/bin/cpluspie_cc_C -cca='-std=gnu99 -w -g' -c=/usr/local/bin/cpluspie_c_C -ca='-std=gnu99 -w -g'
*cpluspie detects the host desktop and then call the synthesizer. If the detection fails,
the desktop can be set manualy with the option linux, x11 or wayland.
cpluspie -<desktop>
*if on a system without sudo
as user
machine/install.sh -as_user_step1
as root
machine/install.sh -as_root_step1
as user
machine/install.sh -as_user_step2
as root
machine/install.sh -as_root_step2
as user
machine/install.sh -build
==if in trouble
cpluspie's core program 'subject' can be run directly
without the synthetic functionality.
<cpluspie>/build/<desktop>/subject -p=<cpluspie as absolute path>
=first step with C+Pie
Read 'first step' in 'The CplusPie Book' on https://sourceforge.net/projects/cpluspie/
To use as LaTeX editor install poppler and TexLive.