-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from anaselli/NewLibyuiTree
Building against new libyui tree
- Loading branch information
Showing
108 changed files
with
377 additions
and
2,430 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
SET( VERSION_MAJOR "2" ) | ||
SET( VERSION_MINOR "51" ) | ||
SET( VERSION_MINOR "52" ) | ||
SET( VERSION_PATCH "0" ) | ||
SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${VERSION_SHA1}" ) | ||
|
||
##### This is need for the libyui core, ONLY. | ||
##### These will be overridden from exports in LibyuiConfig.cmake | ||
SET( SONAME_MAJOR "0" ) | ||
SET( SONAME_MINOR "0" ) | ||
SET( SONAME_PATCH "0" ) | ||
SET( SONAME "${SONAME_MAJOR}.${SONAME_MINOR}.${SONAME_PATCH}" ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# CMakeLists.txt for libyui*/doc | ||
|
||
include( ../VERSION.cmake ) | ||
|
||
find_package( Doxygen REQUIRED dot ) | ||
|
||
|
||
# | ||
# Doxygen-generated autodocs | ||
# | ||
|
||
if ( DOXYGEN_FOUND ) | ||
|
||
set( DOXYGEN_GENERATE_TREEVIEW yes ) # Enable views tree HTML frame | ||
set( DOXYGEN_QUIET yes ) # Less verbose output | ||
set( DOXYGEN_WARN_LOGFILE doxygen-warnings.log ) | ||
# See build/CMakeDoxyfile.in for more supported variables | ||
|
||
doxygen_add_docs( doc ../src ) | ||
|
||
else() | ||
message( WARNING "Missing doxygen package" ) | ||
endif() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# CMakeLists.txt for libyui-gtk/pkgconfig | ||
# | ||
# Support for pkg-config: | ||
# | ||
# Generate a libyui-gtk.pc file from libyui-gtk.pc.in and install it to | ||
# /usr/lib64/pkgconfig. | ||
# | ||
# A .pc file specifies how to use a development package, in particular linker | ||
# flags (-lyui-gtk), compiler flags (including include directories) and paths. | ||
# See man pkg-config. | ||
# | ||
# This .pc file is intended for extensions of the Gtk UI plug-in, not for | ||
# applications using libyui. | ||
|
||
include( ../VERSION.cmake ) | ||
include( GNUInstallDirs ) # set CMAKE_INSTALL_LIBDIR | ||
|
||
FIND_PACKAGE(PkgConfig REQUIRED) | ||
|
||
PKG_CHECK_MODULES(YUI REQUIRED libyui) | ||
pkg_get_variable(YUI_SO_VERSION libyui soversion) | ||
pkg_get_variable(YUI_SO_MAJOR libyui soversion_major) | ||
pkg_get_variable(YUI_SO_MINOR libyui soversion_minor) | ||
pkg_get_variable(YUI_SO_PATCH libyui soversion_patch) | ||
|
||
##### This is needed to be set for the libyui core | ||
SET( SONAME ${YUI_SO_VERSION} ) | ||
SET( SONAME_MAJOR ${YUI_SO_MAJOR} ) | ||
SET( SONAME_MINOR ${YUI_SO_MINOR} ) | ||
SET( SONAME_PATCH ${YUI_SO_PATCH} ) | ||
|
||
set( PKGCONFIG_INSTALL_DIR ${DESTDIR}${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/pkgconfig ) | ||
|
||
# Generate libyui-gtk.pc where some CMake variables are expanded from libyui-gtk.pc.in, | ||
# but only expand @VARIABLE@, not ${VARIABLE} | ||
configure_file( libyui-gtk.pc.in libyui-gtk.pc @ONLY ) | ||
|
||
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/libyui-gtk.pc DESTINATION ${PKGCONFIG_INSTALL_DIR} ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# | ||
# Pkg-Config file for libyui-gtk | ||
# | ||
# Generated by CMake from libyui-gtk.pc.in | ||
# | ||
|
||
prefix=@CMAKE_INSTALL_PREFIX@ | ||
exec_prefix=${prefix} | ||
|
||
datarootdir=${exec_prefix}/share | ||
datadir=${datarootdir}/libyui | ||
libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ | ||
includedir=${exec_prefix}/include | ||
plugindir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@/yui | ||
|
||
soversion_major=@SONAME_MAJOR@ | ||
soversion_minor=@SONAME_MINOR@ | ||
soversion_patch=@SONAME_PATCH@ | ||
soversion=@SONAME@ | ||
|
||
Name: libyui-gtk | ||
Version: @VERSION@ | ||
Description: libyui-gtk - Gtk plugin for libyui GUI-abstraction library | ||
Libs: -L${plugindir} -lyui-gtk | ||
Libs.private: -ldl -lpthread | ||
Cflags: -I${includedir}/yui/gtk -I${includedir}/yui -I${includedir} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.