CMake Python Ruby Perl
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cmake/Modules
package
swig
.gitignore
.travis.yml
CMakeLists.txt
COPYING.lgpl-2.1
COPYING.lgpl-3
Dockerfile
Makefile.cvs
README.md
Rakefile
VERSION.cmake

README.md

LibYUI - The Language Bindings

Build Status

Libyui is a widget abstraction library providing Qt, GTK and ncurses frontends. Originally it was developed for YaST but it can be used in any independent project.

The libyui library is written in C++, but this part contains bindings for other programming languages like Perl, Ruby or Python.

Ruby Notes

The API tries to follow these Ruby standards:

  • Containers do not implement iterators but:
    • each
    • to_a
    • etc
  • lower_case_methods instead of camelCaseMethods

Building

Libyui uses CMake, driven by a slightly complex set of CMakefiles. For reproducible builds it is best to use the libyui-rake Ruby gem like the Jenkins CI jobs do.

It can be installed from rubygems.org using this command (Ruby needs to be installed in the system):

gem install libyui-rake

Then to build the package run:

rake osc:build