User avatar
Athenaie
Posts: 10
Joined: Wed Apr 06, 2016 5:34 am

Install Kivy on Fedora 23 ARM

Fri May 13, 2016 4:21 am

1.Install Dependencies

Code: Select all

#dnf distro-sync

Code: Select all

#yum install \
    make \
    mercurial \
    automake \
    gcc \
    gcc-c++ \
    SDL_ttf-devel \
    SDL_mixer-devel \
    khrplatform-devel \
    mesa-libGLES \
    mesa-libGLES-devel \
    gstreamer-plugins-good \
    gstreamer \
    gstreamer-python \
    mtdev-devel \
    python-devel \
    python-pip \
    pygame \
    redhat-rpm-config

Code: Select all

#pip install Cython==0.23
2.Install Kivy

Code: Select all

#git clone https://github.com/kivy/kivy.git

Code: Select all

#cd kivy

Code: Select all

#python setup.py build

Code: Select all

#python setup.py install
3.Create symbolic links for libEGL and libGLESv2 from /opt/vc/lib to /usr/lib

Code: Select all

#ln -fs /opt/vc/lib/libbcm_host.so /usr/lib/libbcm_host.so
#ln -fs /opt/vc/lib/libcontainers.so /usr/lib/libcontainers.so
#ln -fs /opt/vc/lib/libdebug_sym.so /usr/lib/libdebug_sym.so
#ln -fs /opt/vc/lib/libdebug_sym_static.a /usr/lib/libdebug_sym_static.a
#ln -fs /opt/vc/lib/libdtovl.so /usr/lib/libdtovl.so
#ln -fs /opt/vc/lib/libEGL.so /usr/lib/libEGL.so
#ln -fs /opt/vc/lib/libEGL_static.a /usr/lib/libEGL_static.a
#ln -fs /opt/vc/lib/libGLESv1_CM.so /usr/lib/libGLESv1_CM.so
#ln -fs /opt/vc/lib/libGLESv2.so /usr/lib/libGLESv2.so
#ln -fs /opt/vc/lib/libGLESv2_static.a /usr/lib/libGLESv2_static.a
#ln -fs /opt/vc/lib/libkhrn_client.a /usr/lib/libkhrn_client.a
#ln -fs /opt/vc/lib/libkhrn_static.a /usr/lib/libkhrn_static.a
#ln -fs /opt/vc/lib/libmmal_components.so /usr/lib/libmmal_components.so
#ln -fs /opt/vc/lib/libmmal_core.so /usr/lib/libmmal_core.so
#ln -fs /opt/vc/lib/libmmal.so /usr/lib/libmmal.so
#ln -fs /opt/vc/lib/libmmal_util.so /usr/lib/libmmal_util.so
#ln -fs /opt/vc/lib/libmmal_vc_client.so /usr/lib/libmmal_vc_client.so
#ln -fs /opt/vc/lib/libopenmaxil.so /usr/lib/libopenmaxil.so
#ln -fs /opt/vc/lib/libOpenVG.so /usr/lib/libOpenVG.so
#ln -fs /opt/vc/lib/libvcfiled_check.a /usr/lib/libvcfiled_check.a
#ln -fs /opt/vc/lib/libvchiq_arm.so /usr/lib/libvchiq_arm.so
#ln -fs /opt/vc/lib/libvchostif.a /usr/lib/libvchostif.a
#ln -fs /opt/vc/lib/libvcilcs.a /usr/lib/libvcilcs.a
#ln -fs /opt/vc/lib/libvcos.so /usr/lib/libvcos.so
#ln -fs /opt/vc/lib/libvcsm.so /usr/lib/libvcsm.so
#ln -fs /opt/vc/lib/libvmcs_rpc_client.a /usr/lib/libvmcs_rpc_client.a
#ln -fs /opt/vc/lib/libWFC.so /usr/lib/libWFC.so
4.If you want to use the Raspberry Pi Touch Display, you should modify ~/.kivy/config.ini
Use the code below to replace the code under [input]

Code: Select all

mouse = mouse
mtdev_%(name)s = probesysfs,provider=mtdev
hid_%(name)s = probesysfs,provider=hidinput
Enjoy!
11.jpg
11.jpg (59.34 KiB) Viewed 2706 times

Return to “Pidora / Fedora”

Who is online

Users browsing this forum: No registered users and 1 guest