-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue genodelabs/genode#5402
- Loading branch information
Showing
93 changed files
with
3,110 additions
and
113 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,24 @@ | ||
# Copyright (C) 2022 The Qt Company Ltd. | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
find_package(PkgConfig QUIET) | ||
# Find the XKB_COMMON_X11 library | ||
|
||
pkg_check_modules(XKB_COMMON_X11 IMPORTED_TARGET "xkbcommon-x11>=0.4.1") | ||
# Will make the target PkgConfig::XKB_COMMON_X11 available when found. | ||
if(TARGET PkgConfig::XKB_COMMON_X11) | ||
set(XKB_COMMON_X11_FOUND TRUE) | ||
return() | ||
endif() | ||
|
||
find_library(XKB_COMMON_X11_LIBRARY NAMES "xkbcommon-x11") | ||
find_path(XKB_COMMON_X11_INCLUDE_DIR NAMES "xkbcommon/xkbcommon-x11.h" DOC "The XKB_COMMON_X11 Include path") | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(XKB_COMMON_X11 DEFAULT_MSG XKB_COMMON_X11_INCLUDE_DIR XKB_COMMON_X11_LIBRARY) | ||
|
||
mark_as_advanced(XKB_COMMON_X11_INCLUDE_DIR XKB_COMMON_X11_LIBRARY) | ||
|
||
if (NOT TARGET PkgConfig::XKB_COMMON_X11) | ||
set(XKB_COMMON_X11_FOUND 0) | ||
if(XKB_COMMON_X11_FOUND) | ||
add_library(PkgConfig::XKB_COMMON_X11 INTERFACE IMPORTED) | ||
target_link_libraries(PkgConfig::XKB_COMMON_X11 INTERFACE "${XKB_COMMON_X11_LIBRARY}") | ||
target_include_directories(PkgConfig::XKB_COMMON_X11 INTERFACE "${XKB_COMMON_X11_INCLUDE_DIR}") | ||
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
set(CMAKE_FIND_LIBRARY_SUFFIXES ".lib.so") | ||
set(CMAKE_FIND_LIBRARY_PREFIXES "lib") | ||
set(CMAKE_SHARED_LIBRARY_SUFFIX ".lib.so") | ||
set(CMAKE_SHARED_LIBRARY_PREFIX "lib") | ||
set(CMAKE_SHARED_MODULE_SUFFIX ".lib.so") | ||
set(CMAKE_SHARED_MODULE_PREFIX "lib") | ||
set(CMAKE_DL_LIBS "") | ||
set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,") | ||
set(UNIX 1) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# | ||
# qmake configuration for common genode | ||
# | ||
|
||
MAKEFILE_GENERATOR = UNIX | ||
QMAKE_PLATFORM = genode freebsd unix posix | ||
CONFIG += unversioned_libname unversioned_soname | ||
|
||
# static libraries currently only work as 'lib*.a' | ||
QMAKE_PREFIX_PLUGIN = lib | ||
QMAKE_EXTENSION_PLUGIN = lib.so | ||
QMAKE_PREFIX_SHLIB = lib | ||
QMAKE_EXTENSION_SHLIB = lib.so | ||
QMAKE_PREFIX_STATICLIB = lib | ||
QMAKE_EXTENSION_STATICLIB = a | ||
|
||
include(../common/gcc-base-unix.conf) | ||
include(../common/g++-unix.conf) | ||
|
||
# modifications to g++.conf | ||
QMAKE_CC = $$(GENODE_QMAKE_CC) | ||
QMAKE_CXX = $$(GENODE_QMAKE_CXX) | ||
QMAKE_LINK = $$(GENODE_QMAKE_LINK) | ||
|
||
QMAKE_AR = $$(GENODE_QMAKE_AR) cqs | ||
QMAKE_OBJCOPY = $$(GENODE_QMAKE_OBJCOPY) | ||
QMAKE_NM = $$(GENODE_QMAKE_NM) -P | ||
QMAKE_STRIP = $$(GENODE_QMAKE_STRIP) | ||
|
||
QMAKE_LFLAGS_RPATH = | ||
|
||
QMAKE_CFLAGS += $$(GENODE_QMAKE_CFLAGS) | ||
QMAKE_CXXFLAGS += $$(GENODE_QMAKE_CXXFLAGS) | ||
QMAKE_LFLAGS_APP += $$(GENODE_QMAKE_LFLAGS_APP) | ||
QMAKE_LFLAGS_SHLIB += $$(GENODE_QMAKE_LFLAGS_SHLIB) | ||
QMAKE_LIBS += $$(GENODE_QMAKE_LIBS) | ||
QMAKE_INCDIR_OPENGL += $$(GENODE_QMAKE_INCDIR_OPENGL) | ||
QMAKE_LIBS_OPENGL += $$(GENODE_QMAKE_LIBS_OPENGL) | ||
QMAKE_INCDIR_OPENGL_ES2 += $$(GENODE_QMAKE_INCDIR_OPENGL) | ||
QMAKE_LIBS_OPENGL_ES2 += $$(GENODE_QMAKE_LIBS_OPENGL) | ||
QMAKE_INCDIR_EGL += $$(GENODE_QMAKE_INCDIR_EGL) | ||
QMAKE_LIBS_EGL += $$(GENODE_QMAKE_LIBS_EGL) | ||
|
||
QMAKE_CXXFLAGS += $$QMAKE_CFLAGS | ||
QMAKE_CXXFLAGS += -fpermissive | ||
|
||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB | ||
|
||
load(qt_config) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# | ||
# qmake configuration for freebsd-aarch64-unknown-g++ | ||
# | ||
|
||
MAKEFILE_GENERATOR = UNIX | ||
QMAKE_PLATFORM = freebsd | ||
|
||
include(../common/bsd/bsd.conf) | ||
|
||
include(../common/gcc-base-unix.conf) | ||
include(../common/g++-unix.conf) | ||
|
||
QMAKE_LIBS_OPENGL_ES2 = -lGLESv2 | ||
|
||
# modifications to g++.conf | ||
QMAKE_CC = aarch64-unknown-freebsd13.2-gcc | ||
QMAKE_CXX = aarch64-unknown-freebsd13.2-g++ | ||
QMAKE_LINK = aarch64-unknown-freebsd13.2-g++ | ||
QMAKE_LINK_SHLIB = aarch64-unknown-freebsd13.2-g++ | ||
|
||
# modifications to bsd.conf | ||
QMAKE_AR = aarch64-unknown-freebsd13.2-ar cqs | ||
QMAKE_OBJCOPY = aarch64-unknown-freebsd13.2-objcopy | ||
QMAKE_NM = aarch64-unknown-freebsd13.2-nm -P | ||
QMAKE_STRIP = aarch64-unknown-freebsd13.2-strip | ||
|
||
load(qt_config) |
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,45 @@ | ||
/**************************************************************************** | ||
** | ||
** Copyright (C) 2016 The Qt Company Ltd. | ||
** Contact: https://www.qt.io/licensing/ | ||
** | ||
** This file is part of the qmake spec of the Qt Toolkit. | ||
** | ||
** $QT_BEGIN_LICENSE:LGPL$ | ||
** Commercial License Usage | ||
** Licensees holding valid commercial Qt licenses may use this file in | ||
** accordance with the commercial license agreement provided with the | ||
** Software or, alternatively, in accordance with the terms contained in | ||
** a written agreement between you and The Qt Company. For licensing terms | ||
** and conditions see https://www.qt.io/terms-conditions. For further | ||
** information use the contact form at https://www.qt.io/contact-us. | ||
** | ||
** GNU Lesser General Public License Usage | ||
** Alternatively, this file may be used under the terms of the GNU Lesser | ||
** General Public License version 3 as published by the Free Software | ||
** Foundation and appearing in the file LICENSE.LGPL3 included in the | ||
** packaging of this file. Please review the following information to | ||
** ensure the GNU Lesser General Public License version 3 requirements | ||
** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. | ||
** | ||
** GNU General Public License Usage | ||
** Alternatively, this file may be used under the terms of the GNU | ||
** General Public License version 2.0 or (at your option) the GNU General | ||
** Public license version 3 or any later version approved by the KDE Free | ||
** Qt Foundation. The licenses are as published by the Free Software | ||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 | ||
** included in the packaging of this file. Please review the following | ||
** information to ensure the GNU General Public License requirements will | ||
** be met: https://www.gnu.org/licenses/gpl-2.0.html and | ||
** https://www.gnu.org/licenses/gpl-3.0.html. | ||
** | ||
** $QT_END_LICENSE$ | ||
** | ||
****************************************************************************/ | ||
|
||
#ifndef QPLATFORMDEFS_H | ||
#define QPLATFORMDEFS_H | ||
|
||
#include "../common/bsd/qplatformdefs.h" | ||
|
||
#endif // QPLATFORMDEFS_H |
Oops, something went wrong.