summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt8
-rw-r--r--LICENSE2
-rw-r--r--README.md16
-rw-r--r--kms++/card.cpp4
-rwxr-xr-xpy/iact.py2
5 files changed, 16 insertions, 16 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 40cc19f..d79b3f4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,8 +13,8 @@ string(TOUPPER "${CMAKE_BUILD_TYPE}" U_CMAKE_BUILD_TYPE)
option(BUILD_SHARED_LIBS "Build shared libs" FALSE)
-set(LIBKMS_ENABLE_PYTHON ON CACHE BOOL "Enable Python wrappers")
-set(LIBKMS_ENABLE_KMSCUBE OFF CACHE BOOL "Enable kmscube")
+set(KMSXX_ENABLE_PYTHON ON CACHE BOOL "Enable Python wrappers")
+set(KMSXX_ENABLE_KMSCUBE OFF CACHE BOOL "Enable kmscube")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra -Wno-unused-parameter")
@@ -50,10 +50,10 @@ add_subdirectory(kms++)
add_subdirectory(kms++util)
add_subdirectory(utils)
-if(LIBKMS_ENABLE_KMSCUBE)
+if(KMSXX_ENABLE_KMSCUBE)
add_subdirectory(kmscube)
endif()
-if(LIBKMS_ENABLE_PYTHON)
+if(KMSXX_ENABLE_PYTHON)
add_subdirectory(py)
endif()
diff --git a/LICENSE b/LICENSE
index 4df798d..2007125 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-libkms++ and test tools
+kms++ and test tools
Copyright 2015 Tomi Valkeinen
diff --git a/README.md b/README.md
index c060657..a94de9c 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,8 @@
-# libkms++ - C++ library for kernel mode setting
+# kms++ - C++ library for kernel mode setting
-libkms++ is a C++11 library for kernel mode setting.
+kms++ is a C++11 library for kernel mode setting.
-Also included are some simple utilities for KMS and python bindings for libkms++.
+Also included are some simple utilities for KMS and python bindings for kms++.
## Utilities
@@ -55,14 +55,14 @@ Option name | Values | Default | Notes
--------------------- | ------------- | -------- | --------
CMAKE_BUILD_TYPE | Release/Debug | Release |
BUILD_SHARED_LIBS | ON/OFF | OFF |
-LIBKMS_ENABLE_PYTHON | ON/OFF | ON |
-LIBKMS_ENABLE_KMSCUBE | ON/OFF | OFF |
+KMSXX_ENABLE_PYTHON | ON/OFF | ON |
+KMSXX_ENABLE_KMSCUBE  | ON/OFF | OFF |
## Env variables
-You can use the following runtime environmental variables to control the behavior of libkms.
+You can use the following runtime environmental variables to control the behavior of kms++.
Variable | Description
--------------------------------- | -------------
-LIBKMSXX_DISABLE_UNIVERSAL_PLANES | Set to disable the use of universal planes
-LIBKMSXX_DISABLE_ATOMIC | Set to disable the use of atomic modesetting
+KMSXX_DISABLE_UNIVERSAL_PLANES | Set to disable the use of universal planes
+KMSXX_DISABLE_ATOMIC | Set to disable the use of atomic modesetting
diff --git a/kms++/card.cpp b/kms++/card.cpp
index 504aa61..918c825 100644
--- a/kms++/card.cpp
+++ b/kms++/card.cpp
@@ -34,7 +34,7 @@ Card::Card(const std::string& device)
r = drmSetMaster(fd);
m_master = r == 0;
- if (getenv("LIBKMSXX_DISABLE_UNIVERSAL_PLANES") == 0) {
+ if (getenv("KMSXX_DISABLE_UNIVERSAL_PLANES") == 0) {
r = drmSetClientCap(m_fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1);
m_has_universal_planes = r == 0;
} else {
@@ -42,7 +42,7 @@ Card::Card(const std::string& device)
}
#ifdef DRM_CLIENT_CAP_ATOMIC
- if (getenv("LIBKMSXX_DISABLE_ATOMIC") == 0) {
+ if (getenv("KMSXX_DISABLE_ATOMIC") == 0) {
r = drmSetClientCap(m_fd, DRM_CLIENT_CAP_ATOMIC, 1);
m_has_atomic = r == 0;
} else {
diff --git a/py/iact.py b/py/iact.py
index cfb1745..518dbfa 100755
--- a/py/iact.py
+++ b/py/iact.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3 -i
-# This is a base script for interactive libkms python environment
+# This is a base script for interactive kms++ python environment
import pykms
from time import sleep