Remove repos/qt4, fix #1451

This commit is contained in:
Norman Feske 2015-03-16 15:37:47 +01:00 committed by Christian Helmuth
parent 99e7f26b99
commit 45c9739fe7
169 changed files with 56 additions and 16817 deletions

View File

@ -107,7 +107,7 @@ Applications and library infrastructure
independent trusted component facilitating Genode secure GUI server
(Nitpicker).
:Graphical on-target IPC tracing tool using Qt4:
:Graphical on-target IPC tracing tool using Qt:
Analysing the interaction of components of a multi-server operating system
such as Genode is important to discover bottlenecks of the system and for
@ -130,7 +130,7 @@ Applications and library infrastructure
communication and control flows between those processes, and to visualize the
interaction of threads with the kernel's scheduler.
Since Qt4 is available natively on Genode, the creation of both offline and
Since Qt is available natively on Genode, the creation of both offline and
on-target analysis tools has become feasible. The first step of this project
is creating an interactive on-target tool, that displays the interaction
of communicating threads as captured on the running system. The tool should
@ -140,9 +140,9 @@ Applications and library infrastructure
Application frameworks
######################
:Running the Meego application stack on Genode using Qt4:
:Running the Meego application stack on Genode using Qt:
With Genode 11.02, Qt4 4.7.1 has become available. The most prominent feature
With Genode 11.02, Qt has become available. The most prominent feature
of this version is the new QML language to design GUIs using a declarative
language. This technique is targeted specifically to mobile applications and
other touch-based devices. The goal of this project is to run the Meego
@ -152,18 +152,18 @@ Application frameworks
interface. The immediate goal of the first step is running one Meego example
application natively on Genode.
:Python Qt4 bindings:
:Python Qt bindings:
With the Python interpreter and the port of the Qt4 framework, the principle
With the Python interpreter and the port of the Qt framework, the principle
components for Python-based GUIs on Genode are available. However, the glue
between both components is missing. The incentive of this work is supplementing
our Python port with the modules needed for real applications and porting the
Qt4 bindings to Genode. This would bring Genode one step closer to executing
Qt bindings to Genode. This would bring Genode one step closer to executing
modern Python-based GUI applications (in particular KDE4 applications).
:Evaluation of porting GTK+ to Genode:
With Qt4, we have demonstrated the feasibility to run a highly-complex
With Qt, we have demonstrated the feasibility to run a highly-complex
application framework via Genode on a wide range of microkernels. That leaves
the question of looking into the other major toolkit in town, namely GTK+ as
used by Firefox and the Gnome desktop.
@ -243,7 +243,7 @@ Device drivers
The efforts towards enabling mobile application stacks such as Meego and
Android on Genode must be accompanied by a revision of Genode's 'Input'
session interface to accommodate multi-touch input devices. First, existing
APIs such as multi-touch support in X11, Qt4, and Android should be analysed.
APIs such as multi-touch support in X11, Qt, and Android should be analysed.
Based on these findings, we expect a proposal for changing Genode's input
interface. The interface extension should be validated by a example driver
implementing the interface as well as an example applications.

View File

@ -483,9 +483,6 @@ Libraries:
:'libports/lib/mk/lua':
Runtime for the Lua scripting language.
:'qt4':
Qt4 framework, using nitpicker session and NIC session as back end.
:'libports/lib/mk/qt5_*':
Qt5 framework, using nitpicker session and NIC session as back end.
@ -520,20 +517,17 @@ located in their respective directory.
Example program for using OpenGL via the Gallium3D graphics stack.
:'ports/src/app/arora':
Arora is a Qt4-based web browser using the Webkit engine.
Arora is a Qt-based web browser using the Webkit engine.
:'ports/src/app/gdb_monitor':
Application that allows the debugging of a process via GDB over a remote
connection.
:'qt4/src/app/qt_launchpad':
Graphical application starter implemented using Qt4.
:'libports/src/app/qt5/qt_launchpad':
Graphical application starter implemented using Qt.
:'qt4/src/app/examples/':
Several example applications that come with Qt4.
:'libports/src/app/qt5':
Qt5 examples including qt_launchpad and qt_avplay.
:'libports/src/app/qt5/examples/':
Several example applications that come with Qt.
:'os/src/app/xvfb':
Is a proxy application that enables the integration of a virtual X server

View File

@ -114,13 +114,6 @@ but build upon of each other:
The repository contains a server that uses a rump kernel to provide
various NetBSD file systems to Genode.
:'qt4':
This source-code repository contains the Genode version of Qt4 framework.
Please find more information about using Qt4 with Genode in the repository's
'README' file. Please note that the Qt4 support is deprecated. Use Qt5
as contained in 'libports' instead.
:'ports':
This source-code repository hosts ports of 3rd-party applications to

View File

@ -128,7 +128,7 @@ include $(BASE_DIR)/mk/generic.mk
#
# Use $(OBJECTS) instead of $^ for specifying the list of objects to include
# in the archive because $^ may also contain non-object phony targets, e.g.,
# used by the integration of Qt4's meta-object compiler into the Genode
# used by the integration of Qt's meta-object compiler into the Genode
# build system.
#
$(LIB_A): $(OBJECTS)

View File

@ -1,6 +1,6 @@
This directory is a source-code repository containing Genode-specific
services and applications. In contrast to the components that come with
the 'os' repository, programs contained in 'gems' are able to leverage
the functionalities provided by higher-level repositories such as
'libports', and 'qt4'. To use the 'gems' repository, make sure to
also add those repositories to your build configuraion.
the functionalities provided by higher-level repositories such as 'libports'.
To use the 'gems' repository, make sure to also add those repositories to your
build configuraion.

View File

@ -46,14 +46,14 @@ QT_SOURCES = \
# some source files need to be generated by moc from other source/header files before
# they get #included again by the original source file in the compiling stage
# source files generated from existing header files ('moc_%.cpp: %.h' rule in spec-qt4.mk)
# source files generated from existing header files ('moc_%.cpp: %.h' rule in spec-qt5.mk)
# extracted from 'compiler_moc_header_make_all' target
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
moc_qscriptengine.cpp \
moc_qscriptextensionplugin.cpp
# source files generated from existing source files ('%.moc: %.cpp' rule in spec-qt4.mk)
# source files generated from existing source files ('%.moc: %.cpp' rule in spec-qt5.mk)
# extracted from 'compiler_moc_source_make_all' rule
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \

View File

@ -1,4 +1,4 @@
# identify the qt4 repository by searching for a file that is unique for qt4
# identify the qt repository by searching for a file that is unique for qt
QT5_REP_DIR := $(call select_from_repositories,lib/import/import-qt5.inc)
QT5_REP_DIR := $(realpath $(dir $(QT5_REP_DIR))../..)

View File

@ -1,4 +1,4 @@
# identify the qt4 repository by searching for a file that is unique for qt4
# identify the qt repository by searching for a file that is unique for qt
QT5_REP_DIR := $(call select_from_repositories,lib/import/import-qt5.inc)
QT5_REP_DIR := $(realpath $(dir $(QT5_REP_DIR))../..)

View File

@ -1,4 +1,4 @@
# identify the qt4 repository by searching for a file that is unique for qt4
# identify the qt repository by searching for a file that is unique for qt
QT5_REP_DIR := $(call select_from_repositories,lib/import/import-qt5.inc)
QT5_REP_DIR := $(realpath $(dir $(QT5_REP_DIR))../..)

View File

@ -14,7 +14,7 @@
#ifndef _AVPLAY_POLICY_H_
#define _AVPLAY_POLICY_H_
/* Qt4 includes */
/* Qt includes */
#include <QDebug>
#include <QObject>
#include <QDomDocument>

View File

@ -20,7 +20,7 @@
#include <framebuffer_session/client.h>
#include <nitpicker_session/connection.h>
/* Qt4 includes */
/* Qt includes */
#include <qnitpickerviewwidget/qnitpickerviewwidget.h>

View File

@ -1,4 +1,4 @@
# identify the qt4 repository by searching for a file that is unique for qt4
# identify the qt repository by searching for a file that is unique for qt
QT5_REP_DIR := $(call select_from_repositories,lib/import/import-qt5.inc)
QT5_REP_DIR := $(realpath $(dir $(QT5_REP_DIR))../..)

View File

@ -1,4 +1,4 @@
# identify the qt4 repository by searching for a file that is unique for qt4
# identify the qt repository by searching for a file that is unique for qt
QT5_REP_DIR := $(call select_from_repositories,lib/import/import-qt5.inc)
QT5_REP_DIR := $(realpath $(dir $(QT5_REP_DIR))../..)

View File

@ -61,7 +61,7 @@ LIBS += qt5_xml
endif
# QtUiTools
# Qt4 documentation says: CONFIG += uitools
# Qt documentation says: CONFIG += uitools
ifeq ($(findstring uitools, $(CONFIG)), uitools)
LIBS += qt5_ui_tools
endif

View File

@ -10,6 +10,4 @@ Dependencies from other repositories
Application provided by the 'ports' repository typically expect a rich
runtime environment, including shared libraries provided by the 'libports'
repository. Hence, 'ports' depends on 'libports'. Furthermore, applications
may require additional repositories. For example, the Arora web browser depends
on the 'qt4' repository.
repository. Hence, 'ports' depends on 'libports'.

View File

@ -86,49 +86,30 @@ append boot_modules {
nitpicker_plugin.tar
}
if {[have_spec qt4_deprecated]} {
#
# Qt4-specific boot modules
#
append boot_modules {
qt_core.lib.so
qt_gui.lib.so
qt_jscore.lib.so
qt_network.lib.so
qt_script.lib.so
qt_ui_tools.lib.so
qt_webcore.lib.so
qt_webkit.lib.so
qt_xml.lib.so
qnitpickerviewwidget.lib.so
qpluginwidget.lib.so
}
} else {
#
# Qt5-specific boot modules
#
append boot_modules {
gallium.lib.so
icu.lib.so
pthread.lib.so
qt5_core.lib.so
qt5_gui.lib.so
qt5_jscore.lib.so
qt5_network.lib.so
qt5_qnitpickerviewwidget.lib.so
qt5_qpluginwidget.lib.so
qt5_ui_tools.lib.so
qt5_webcore.lib.so
qt5_webkit.lib.so
qt5_xml.lib.so
qt5_printsupport.lib.so
qt5_scriptclassic.lib.so
qt5_sql.lib.so
qt5_webkitwidgets.lib.so
qt5_widgets.lib.so
qt5_wtf.lib.so
qt5_fs_arora.tar
}
#
# Qt5-specific boot modules
#
append boot_modules {
gallium.lib.so
icu.lib.so
pthread.lib.so
qt5_core.lib.so
qt5_gui.lib.so
qt5_jscore.lib.so
qt5_network.lib.so
qt5_qnitpickerviewwidget.lib.so
qt5_qpluginwidget.lib.so
qt5_ui_tools.lib.so
qt5_webcore.lib.so
qt5_webkit.lib.so
qt5_xml.lib.so
qt5_printsupport.lib.so
qt5_scriptclassic.lib.so
qt5_sql.lib.so
qt5_webkitwidgets.lib.so
qt5_widgets.lib.so
qt5_wtf.lib.so
qt5_fs_arora.tar
}
build_boot_image $boot_modules

View File

@ -63,7 +63,7 @@ div.annotation p { font-style:italic; }
Arora has become one of our most advanced workloads, stressing the base
system, the dynamic linker, the TCP/IP stack, and device drivers.
We chose Arora among the available web browsers because we already
had Qt4 running on Genode. Porting Arora seemed an evolutionary step, which
had Qt running on Genode. Porting Arora seemed an evolutionary step, which
actually turned out to be the case.
</p>
<p>

View File

@ -1,15 +1,5 @@
ARORA = arora-0.11.0
ifeq ($(filter-out $(SPECS),qt4_deprecated),)
# identify the Qt repository by searching for a file that is unique for Qt4
QT_REP_DIR := $(call select_from_repositories,lib/import/import-qt4.inc)
ifneq ($(QT_REP_DIR),)
QT_TMPL_DIR = $(QT_REP_DIR)/src/app/tmpl
LIBS += qpluginwidget qnitpickerviewwidget
else
REQUIRES += qt4
endif
else
# identify the Qt repository by searching for a file that is unique for Qt5
QT_REP_DIR := $(call select_from_repositories,lib/import/import-qt5.inc)
ifneq ($(QT_REP_DIR),)
@ -18,7 +8,6 @@ LIBS += qt5_printsupport qt5_qpluginwidget qt5_qnitpickerviewwidget
else
REQUIRES += qt5
endif
endif
QT_REP_DIR := $(realpath $(dir $(QT_REP_DIR))../..)

View File

@ -1,78 +0,0 @@
#
# \brief Download and prepare Qt4 source code
# \author Christian Prochaska
# \author Norman Feske
# \date 2009-05-11
#
VERBOSE ?= @
ECHO = @echo
DOWNLOAD_DIR = download
CONTRIB_DIR = contrib
PATCHES_DIR = src/lib/qt4/patches
REP_DIR := $(realpath .)
include $(REP_DIR)/lib/mk/qt_version.inc
QT4_URL = http://download.qt-project.org/archive/qt/4.8/4.8.4
QT4_TGZ = $(QT4).tar.gz
QTSCRIPTCLASSIC_URL = ftp://ftp.informatik.hu-berlin.de/pub/Mirrors/ftp.troll.no/QT/qt/solutions/lgpl/
QTSCRIPTCLASSIC = qtscriptclassic-1.0_1-opensource
QTSCRIPTCLASSIC_TGZ = $(QTSCRIPTCLASSIC).tar.gz
PATCHES = $(shell cat $(PATCHES_DIR)/series)
#
# Utility to check if a tool is installed
#
check_tool = $(if $(shell which $(1)),,$(error Need to have '$(1)' installed.))
$(call check_tool,wget)
$(call check_tool,patch)
help:
$(ECHO)
$(ECHO) "Prepare the Qt4 repository"
$(ECHO)
$(ECHO) "--- available commands ---"
$(ECHO) "prepare - download and extract the Qt4 source code archive and build the host tools"
$(ECHO) "clean - clean everything except downloaded archives"
$(ECHO) "cleanall - clean everything including downloaded archives"
$(ECHO)
prepare: $(CONTRIB_DIR)/$(QT4) $(CONTRIB_DIR)/$(QTSCRIPTCLASSIC) tools
$(CONTRIB_DIR)/$(QT4): $(CONTRIB_DIR) $(DOWNLOAD_DIR)/$(QT4_TGZ)
$(VERBOSE)tar xzf $(DOWNLOAD_DIR)/$(QT4_TGZ) -C $(CONTRIB_DIR)
$(VERBOSE)touch $(CONTRIB_DIR)/$(QT4)
$(VERBOSE)for p in $(PATCHES); do \
patch -d $(CONTRIB_DIR)/$(QT4) -p1 -i ../../$(PATCHES_DIR)/$$p; done
$(CONTRIB_DIR)/$(QTSCRIPTCLASSIC): $(CONTRIB_DIR) $(DOWNLOAD_DIR)/$(QTSCRIPTCLASSIC_TGZ)
$(VERBOSE)tar xzf $(DOWNLOAD_DIR)/$(QTSCRIPTCLASSIC_TGZ) -C $(CONTRIB_DIR)
$(VERBOSE)touch $(CONTRIB_DIR)/$(QTSCRIPTCLASSIC)
$(CONTRIB_DIR):
$(VERBOSE)mkdir -p $(CONTRIB_DIR)
$(DOWNLOAD_DIR)/$(QT4_TGZ): $(DOWNLOAD_DIR)
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(QT4_URL)/$(QT4_TGZ) && touch $@
$(DOWNLOAD_DIR)/$(QTSCRIPTCLASSIC_TGZ): $(DOWNLOAD_DIR)
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(QTSCRIPTCLASSIC_URL)/$(QTSCRIPTCLASSIC_TGZ) && touch $@
$(DOWNLOAD_DIR):
$(VERBOSE)mkdir -p $(DOWNLOAD_DIR)
tools:
$(VERBOSE)make -C tool
clean:
$(VERBOSE)make -C tool clean
$(VERBOSE)rm -rf $(CONTRIB_DIR)
cleanall: clean
$(VERBOSE)make -C tool distclean
$(VERBOSE)rm -rf $(DOWNLOAD_DIR)

View File

@ -1,27 +0,0 @@
This repository contains the Qt4 toolkit für Genode
Qt4 is a tool kit for developing platform-independent applications. It
comprises a complete platform-abstraction layer and a rich GUI tool kit.
With this repository, native Qt4 applications can be compiled and
natively executed for the Genode OS Framework. This way, Qt4 becomes
available on all base platforms supported by Genode.
Usage
-----
For using Qt4 for your Genode applications, you first need to download and
prepare the original Qt4 source codes and build a few Qt4 tools such as
the meta-object compiler (moc) and the resource compiler. The top-level
makefile found in this directory automates this task. Just issue:
! make prepare
To include the 'qt4' repository into the Genode build process,
add the 'qt4/' directory to the 'REPOSITORIES' declaration of the
'etc/build.conf' file within your build directory.
Since the Genode release 9.11, Qt4 depends on the 'libports' repository,
specifically on the 'freetype2' and 'jpeg' libraries. Please make sure
that you called the top-level Makefile of the 'libports' repository
for those preparing those libraries and that your 'REPOSITORIES' declaration
contains the 'libports' repository.

View File

@ -1,116 +0,0 @@
/*
* \brief Thread with configurable stack size
* \author Christian Prochaska
* \date 2008-06-11
*/
/*
* Copyright (C) 2008-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef _INCLUDE__BASE__THREAD_QT_H_
#define _INCLUDE__BASE__THREAD_QT_H_
#include <base/env.h>
#include <base/printf.h>
#include <base/thread.h>
enum { DEFAULT_STACK_SIZE = 4096*100 };
namespace Genode {
struct Thread_entry
{
virtual void entry() = 0;
};
class Thread_qt : public Thread_entry
{
private:
class Genode_thread : Thread_base
{
private:
Thread_entry *_thread_entry;
/**
* Thread_base interface
*/
void entry() { _thread_entry->entry(); }
public:
Genode_thread(const char *name,
size_t stack_size,
Thread_entry *thread_entry)
:
Thread_base(0, name, stack_size),
_thread_entry(thread_entry)
{
/* start Genode thread */
start();
}
};
protected:
const char *_name;
unsigned int _stack_size;
Genode_thread *_thread;
public:
/**
* Constructor
*
* \param name Thread name (for debugging)
*/
explicit Thread_qt(const char *name = "Qt <noname>")
:
_name(name),
_stack_size(DEFAULT_STACK_SIZE),
_thread(0) { }
~Thread_qt()
{
if (_thread)
destroy(env()->heap(), _thread);
}
/**
* Set the thread's stack size - don't call when the thread is running!
*/
bool set_stack_size(unsigned int stack_size)
{
/* error, if thread is already running */
if (_thread)
return false;
_stack_size = stack_size;
return true;
}
/**
* Start execution of the thread
*/
void start()
{
/* prevent double calls of 'start' */
if (_thread) return;
_thread = new (env()->heap()) Genode_thread(_name, _stack_size, this);
}
static Thread_base *myself()
{
return Thread_base::myself();
}
};
}
#endif /* _INCLUDE__BASE__THREAD_QT_H_ */

View File

@ -1,53 +0,0 @@
/*
* \brief A Qt Widget that shows a nitpicker view
* \author Christian Prochaska
* \date 2010-08-26
*/
/*
* Copyright (C) 2010-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef QNITPICKERVIEWWIDGET_H
#define QNITPICKERVIEWWIDGET_H
#include <QtGui>
#include <qwindowsystem_qws.h>
#include <nitpicker_view/capability.h>
#include <nitpicker_view/client.h>
class QNitpickerViewWidget : public QWidget
{
Q_OBJECT
private:
QHash<QScrollBar*, bool> _scrollbars;
private slots:
void windowEvent(QWSWindow *window,
QWSServer::WindowEvent eventType);
void valueChanged();
void destroyed(QObject *obj = 0);
protected:
Nitpicker::View_client *vc;
int orig_w;
int orig_h;
int orig_buf_x;
int orig_buf_y;
virtual void showEvent(QShowEvent *event);
virtual void hideEvent(QHideEvent *event);
virtual void paintEvent(QPaintEvent *event);
public:
QNitpickerViewWidget(QWidget *parent =0);
~QNitpickerViewWidget();
void setNitpickerView(Nitpicker::View_capability view, int buf_x, int buf_y, int w, int h);
};
#endif // QNITPICKERVIEWWIDGET_H

View File

@ -1,107 +0,0 @@
/*
* \brief A Qt Widget that can load a plugin application and show its Nitpicker view
* \author Christian Prochaska
* \date 2010-08-26
*/
/*
* Copyright (C) 2010-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef QPLUGINWIDGET_H
#define QPLUGINWIDGET_H
#include <QtGui>
#include <QtNetwork>
#include <loader_session/connection.h>
#include <qnitpickerviewwidget/qnitpickerviewwidget.h>
enum Plugin_loading_state
{
LOADING,
LOADED,
NETWORK_ERROR,
INFLATE_ERROR,
QUOTA_EXCEEDED_ERROR,
ROM_CONNECTION_FAILED_EXCEPTION,
TIMEOUT_EXCEPTION
};
class QPluginWidget;
/* separate class, because meta object features are not supported in nested classes */
class PluginStarter : public QThread
{
Q_OBJECT
private:
QUrl _plugin_url;
QByteArray _args;
int _max_width;
int _max_height;
Loader::Connection *_pc;
enum Plugin_loading_state _plugin_loading_state;
QString _plugin_loading_error_string;
QNetworkAccessManager *_qnam;
QNetworkReply *_reply;
void _start_plugin(QString &file_name, QByteArray const &file_buf);
protected slots:
void networkReplyFinished();
public:
PluginStarter(QUrl plugin_url, QString &args,
int max_width, int max_height);
void run();
enum Plugin_loading_state plugin_loading_state() { return _plugin_loading_state; }
QString &plugin_loading_error_string() { return _plugin_loading_error_string; }
Nitpicker::View_capability plugin_view(int *w, int *h, int *buf_x, int *buf_y);
signals:
void finished();
};
class QPluginWidget : public QNitpickerViewWidget
{
Q_OBJECT
private:
enum Plugin_loading_state _plugin_loading_state;
QString _plugin_loading_error_string;
PluginStarter *_plugin_starter;
int _max_width;
int _max_height;
static QPluginWidget *_last;
public:
enum { RAM_QUOTA = 5*1024*1024 };
void cleanup();
protected:
virtual void paintEvent(QPaintEvent *event);
protected slots:
void pluginStartFinished();
public:
QPluginWidget(QWidget *parent, QUrl plugin_url, QString &args, int max_width = -1, int max_height = -1);
~QPluginWidget();
};
#endif // QPLUGINWIDGET_H

View File

@ -1,208 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial Usage
** Licensees holding valid Qt Commercial licenses may use this file in
** accordance with the Qt Commercial License Agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Nokia.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3.0 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU General Public License version 3.0 requirements will be
** met: http://www.gnu.org/copyleft/gpl.html.
**
** If you have questions regarding the use of this file, please contact
** Nokia at qt-info@nokia.com.
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef QEVENTDISPATCHER_GENODE_P_H
#define QEVENTDISPATCHER_GENODE_P_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include "QtCore/qabstracteventdispatcher.h"
#include "QtCore/qlist.h"
#include "private/qabstracteventdispatcher_p.h"
#include "private/qcore_unix_p.h"
#include "private/qpodlist_p.h"
#include "QtCore/qvarlengtharray.h"
#if defined(Q_OS_VXWORKS)
# include <sys/times.h>
#else
# include <sys/time.h>
# if !defined(Q_OS_HPUX) || defined(__ia64)
# include <sys/select.h>
# endif
#endif
QT_BEGIN_NAMESPACE
// internal timer info
struct QTimerInfo {
int id; // - timer identifier
timeval interval; // - timer interval
timeval timeout; // - when to sent event
QObject *obj; // - object to receive event
bool inTimerEvent;
};
class QTimerInfoList : public QList<QTimerInfo*>
{
#if ((_POSIX_MONOTONIC_CLOCK-0 <= 0) && !defined(Q_OS_MAC)) || defined(QT_BOOTSTRAPPED)
timeval previousTime;
clock_t previousTicks;
int ticksPerSecond;
int msPerTick;
bool timeChanged(timeval *delta);
#endif
// state variables used by activateTimers()
QTimerInfo *firstTimerInfo, *currentTimerInfo;
public:
QTimerInfoList();
timeval currentTime;
timeval updateCurrentTime();
// must call updateCurrentTime() first!
void repairTimersIfNeeded();
bool timerWait(timeval &);
void timerInsert(QTimerInfo *);
void timerRepair(const timeval &);
void registerTimer(int timerId, int interval, QObject *object);
bool unregisterTimer(int timerId);
bool unregisterTimers(QObject *object);
QList<QPair<int, int> > registeredTimers(QObject *object) const;
int activateTimers();
};
struct QSockNot
{
QSocketNotifier *obj;
int fd;
fd_set *queue;
};
class QSockNotType
{
public:
QSockNotType();
~QSockNotType();
typedef QPodList<QSockNot*, 32> List;
List list;
fd_set select_fds;
fd_set enabled_fds;
fd_set pending_fds;
};
class QEventDispatcherGenodePrivate;
class Q_CORE_EXPORT QEventDispatcherGenode : public QAbstractEventDispatcher
{
Q_OBJECT
Q_DECLARE_PRIVATE(QEventDispatcherGenode)
public:
explicit QEventDispatcherGenode(QObject *parent = 0);
~QEventDispatcherGenode();
bool processEvents(QEventLoop::ProcessEventsFlags flags);
bool hasPendingEvents();
void registerSocketNotifier(QSocketNotifier *notifier);
void unregisterSocketNotifier(QSocketNotifier *notifier);
void registerTimer(int timerId, int interval, QObject *object);
bool unregisterTimer(int timerId);
bool unregisterTimers(QObject *object);
QList<TimerInfo> registeredTimers(QObject *object) const;
void wakeUp();
void interrupt();
void flush();
protected:
QEventDispatcherGenode(QEventDispatcherGenodePrivate &dd, QObject *parent = 0);
void setSocketNotifierPending(QSocketNotifier *notifier);
int activateTimers();
int activateSocketNotifiers();
virtual int select(int nfds,
fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
timeval *timeout);
};
class Q_CORE_EXPORT QEventDispatcherGenodePrivate : public QAbstractEventDispatcherPrivate
{
Q_DECLARE_PUBLIC(QEventDispatcherGenode)
public:
QEventDispatcherGenodePrivate();
~QEventDispatcherGenodePrivate();
int doSelect(QEventLoop::ProcessEventsFlags flags, timeval *timeout);
bool mainThread;
int thread_pipe[2];
// highest fd for all socket notifiers
int sn_highest;
// 3 socket notifier types - read, write and exception
QSockNotType sn_vec[3];
QTimerInfoList timerList;
// pending socket notifiers list
QSockNotType::List sn_pending_list;
QAtomicInt wakeUps;
bool interrupt;
};
QT_END_NAMESPACE
#endif // QEVENTDISPATCHER_GENODE_P_H

View File

@ -1,588 +0,0 @@
/* Data structures */
//#ifndef QT_NO_QUUID_STRING
//# define QT_NO_QUUID_STRING
//#endif
#ifndef QT_NO_STL
# define QT_NO_STL
#endif
//#ifndef QT_NO_TEXTDATE
//# define QT_NO_TEXTDATE
//#endif
//#ifndef QT_NO_DATESTRING
//# define QT_NO_DATESTRING
//#endif
/* Dialogs */
//#ifndef QT_NO_COLORDIALOG
//# define QT_NO_COLORDIALOG
//#endif
//#ifndef QT_NO_ERRORMESSAGE
//# define QT_NO_ERRORMESSAGE
//#endif
//#ifndef QT_NO_FILEDIALOG
//# define QT_NO_FILEDIALOG
//#endif
//#ifndef QT_NO_FONTDIALOG
//# define QT_NO_FONTDIALOG
//#endif
//#ifndef QT_NO_INPUTDIALOG
//# define QT_NO_INPUTDIALOG
//#endif
//#ifndef QT_NO_MESSAGEBOX
//# define QT_NO_MESSAGEBOX
//#endif
#ifndef QT_NO_PRINTDIALOG
# define QT_NO_PRINTDIALOG
#endif
#ifndef QT_NO_PRINTPREVIEWDIALOG
# define QT_NO_PRINTPREVIEWDIALOG
#endif
//#ifndef QT_NO_PROGRESSDIALOG
//# define QT_NO_PROGRESSDIALOG
//#endif
//#ifndef QT_NO_TABDIALOG
//# define QT_NO_TABDIALOG
//#endif
//#ifndef QT_NO_WIZARD
//# define QT_NO_WIZARD
//#endif
/* File I/O */
//#ifndef QT_NO_DOM
//# define QT_NO_DOM
//#endif
//#ifndef QT_NO_FSFILEENGINE
//# define QT_NO_FSFILEENGINE
//#endif
//#ifndef QT_NO_FILESYSTEMWATCHER
//# define QT_NO_FILESYSTEMWATCHER
//#endif
//#ifndef QT_NO_FILESYSTEMMODEL
//# define QT_NO_FILESYSTEMMODEL
//#endif
//#ifndef QT_NO_PROCESS
//# define QT_NO_PROCESS
//#endif
//#ifndef QT_NO_TEMPORARYFILE
//# define QT_NO_TEMPORARYFILE
//#endif
//#ifndef QT_NO_TEXTSTREAM
//# define QT_NO_TEXTSTREAM
//#endif
//#ifndef QT_NO_SETTINGS
//# define QT_NO_SETTINGS
//#endif
//#ifndef QT_NO_LIBRARY
//# define QT_NO_LIBRARY
//#endif
/* Fonts */
#ifndef QT_FONTS_ARE_RESOURCES
# define QT_FONTS_ARE_RESOURCES
#endif
//#ifndef QT_NO_FREETYPE
//# define QT_NO_FREETYPE
//#endif
//#ifndef QT_NO_QWS_QPF
//# define QT_NO_QWS_QPF
//#endif
#ifndef QT_NO_QWS_QPF2
# define QT_NO_QWS_QPF2
#endif
/* Images */
//#ifndef QT_NO_ICON
//# define QT_NO_ICON
//#endif
//#ifndef QT_NO_IMAGEFORMATPLUGIN
//# define QT_NO_IMAGEFORMATPLUGIN
//#endif
//#ifndef QT_NO_IMAGEFORMAT_BMP
//# define QT_NO_IMAGEFORMAT_BMP
//#endif
//#ifndef QT_NO_IMAGEFORMAT_JPEG
//# define QT_NO_IMAGEFORMAT_JPEG
//#endif
//#ifndef QT_NO_IMAGEFORMAT_PNG
//# define QT_NO_IMAGEFORMAT_PNG
//#endif
//#ifndef QT_NO_IMAGEFORMAT_PPM
//# define QT_NO_IMAGEFORMAT_PPM
//#endif
//#ifndef QT_NO_IMAGEFORMAT_XBM
//# define QT_NO_IMAGEFORMAT_XBM
//#endif
//#ifndef QT_NO_IMAGEFORMAT_XPM
//# define QT_NO_IMAGEFORMAT_XPM
//#endif
//#ifndef QT_NO_IMAGE_HEURISTIC_MASK
//# define QT_NO_IMAGE_HEURISTIC_MASK
//#endif
//#ifndef QT_NO_IMAGE_TEXT
//# define QT_NO_IMAGE_TEXT
//#endif
//#ifndef QT_NO_MOVIE
//# define QT_NO_MOVIE
//#endif
/* Internationalization */
//#ifndef QT_NO_BIG_CODECS
//# define QT_NO_BIG_CODECS
//#endif
//#ifndef QT_NO_QWS_INPUTMETHODS
//# define QT_NO_QWS_INPUTMETHODS
//#endif
//#ifndef QT_NO_TEXTCODEC
//# define QT_NO_TEXTCODEC
//#endif
//#ifndef QT_NO_CODECS
//# define QT_NO_CODECS
//#endif
//#ifndef QT_NO_TEXTCODECPLUGIN
//# define QT_NO_TEXTCODECPLUGIN
//#endif
//#ifndef QT_NO_TRANSLATION
//# define QT_NO_TRANSLATION
//#endif
//#ifndef QT_NO_TRANSLATION_UTF8
//# define QT_NO_TRANSLATION_UTF8
//#endif
/* ItemViews */
//#ifndef QT_NO_ITEMVIEWS
//# define QT_NO_ITEMVIEWS
//#endif
//#ifndef QT_NO_DATAWIDGETMAPPER
//# define QT_NO_DATAWIDGETMAPPER
//#endif
//#ifndef QT_NO_DIRMODEL
//# define QT_NO_DIRMODEL
//#endif
//#ifndef QT_NO_LISTVIEW
//# define QT_NO_LISTVIEW
//#endif
//#ifndef QT_NO_COLUMNVIEW
//# define QT_NO_COLUMNVIEW
//#endif
//#ifndef QT_NO_PROXYMODEL
//# define QT_NO_PROXYMODEL
//#endif
//#ifndef QT_NO_SORTFILTERPROXYMODEL
//# define QT_NO_SORTFILTERPROXYMODEL
//#endif
//#ifndef QT_NO_STANDARDITEMMODEL
//# define QT_NO_STANDARDITEMMODEL
//#endif
//#ifndef QT_NO_STRINGLISTMODEL
//# define QT_NO_STRINGLISTMODEL
//#endif
//#ifndef QT_NO_TABLEVIEW
//# define QT_NO_TABLEVIEW
//#endif
//#ifndef QT_NO_TREEVIEW
//# define QT_NO_TREEVIEW
//#endif
/* Kernel */
//#ifndef QT_NO_ACTION
//# define QT_NO_ACTION
//#endif
//#ifndef QT_NO_CLIPBOARD
//# define QT_NO_CLIPBOARD
//#endif
//#ifndef QT_NO_CSSPARSER
//# define QT_NO_CSSPARSER
//#endif
//#ifndef QT_NO_CURSOR
//# define QT_NO_CURSOR
//#endif
//#ifndef QT_NO_DRAGANDDROP
//# define QT_NO_DRAGANDDROP
//#endif
//#ifndef QT_NO_EFFECTS
//# define QT_NO_EFFECTS
//#endif
//#ifndef QT_NO_PROPERTIES
//# define QT_NO_PROPERTIES
//#endif
//#ifndef QT_NO_SESSIONMANAGER
//# define QT_NO_SESSIONMANAGER
//#endif
#ifndef QT_NO_SHAREDMEMORY
# define QT_NO_SHAREDMEMORY
#endif
//#ifndef QT_NO_SHORTCUT
//# define QT_NO_SHORTCUT
//#endif
#ifndef QT_NO_SOUND
# define QT_NO_SOUND
#endif
#ifndef QT_NO_SYSTEMLOCALE
# define QT_NO_SYSTEMLOCALE
#endif
#ifndef QT_NO_SYSTEMSEMAPHORE
# define QT_NO_SYSTEMSEMAPHORE
#endif
//#ifndef QT_NO_TABLETEVENT
//# define QT_NO_TABLETEVENT
//#endif
//#ifndef QT_NO_TEXTHTMLPARSER
//# define QT_NO_TEXTHTMLPARSER
//#endif
//#ifndef QT_NO_THREAD
//# define QT_NO_THREAD
//#endif
#ifndef QT_NO_CONCURRENT
# define QT_NO_CONCURRENT
#endif
//#ifndef QT_NO_WHEELEVENT
//# define QT_NO_WHEELEVENT
//#endif
//#ifndef QT_NO_XMLSTREAM
//# define QT_NO_XMLSTREAM
//#endif
//#ifndef QT_NO_XMLSTREAMREADER
//# define QT_NO_XMLSTREAMREADER
//#endif
//#ifndef QT_NO_XMLSTREAMWRITER
//# define QT_NO_XMLSTREAMWRITER
//#endif
/* Networking */
#ifndef QT_NO_COP
# define QT_NO_COP
#endif
//#ifndef QT_NO_HOSTINFO
//# define QT_NO_HOSTINFO
//#endif
//#ifndef QT_NO_HTTP
//# define QT_NO_HTTP
//#endif
//#ifndef QT_NO_NETWORKPROXY
//# define QT_NO_NETWORKPROXY
//#endif
//#ifndef QT_NO_SOCKS5
//# define QT_NO_SOCKS5
//#endif
#ifndef QT_NO_UDPSOCKET
# define QT_NO_UDPSOCKET
#endif
#ifndef QT_NO_URLINFO
# define QT_NO_URLINFO
#endif
#ifndef QT_NO_FTP
# define QT_NO_FTP
#endif
/* found in source files */
//#ifndef QT_NO_LOCALSOCKET
//# define QT_NO_LOCALSOCKET
//#endif
//#ifndef QT_NO_LOCALSERVER
//# define QT_NO_LOCALSERVER
//#endif
#ifndef QT_NO_NETWORKINTERFACE
# define QT_NO_NETWORKINTERFACE
#endif
/* Painting */
//#ifndef QT_NO_COLORNAMES
//# define QT_NO_COLORNAMES
//#endif
//#ifndef QT_NO_DIRECTPAINTER
//# define QT_NO_DIRECTPAINTER
//#endif
//#ifndef QT_NO_PAINTONSCREEN
//# define QT_NO_PAINTONSCREEN
//#endif
//#ifndef QT_NO_PAINT_DEBUG
//# define QT_NO_PAINT_DEBUG
//#endif
//#ifndef QT_NO_PICTURE
//# define QT_NO_PICTURE
//#endif
#ifndef QT_NO_PRINTER
# define QT_NO_PRINTER
#endif
#ifndef QT_NO_CUPS
# define QT_NO_CUPS
#endif
/* Qt for Embedded Linux */
//#ifndef QT_NO_QWSEMBEDWIDGET
//# define QT_NO_QWSEMBEDWIDGET
//#endif
//#ifndef QT_NO_QWS_ALPHA_CURSOR
//# define QT_NO_QWS_ALPHA_CURSOR
//#endif
/* there's already the Nitpicker cursor */
#ifndef QT_NO_QWS_CURSOR
# define QT_NO_QWS_CURSOR
#endif
//#ifndef QT_NO_QWS_DECORATION_DEFAULT
//# define QT_NO_QWS_DECORATION_DEFAULT
//#endif
//#ifndef QT_NO_QWS_DECORATION_STYLED
//# define QT_NO_QWS_DECORATION_STYLED
//#endif
//#ifndef QT_NO_QWS_DECORATION_WINDOWS
//# define QT_NO_QWS_DECORATION_WINDOWS
//#endif
//#ifndef QT_NO_QWS_MANAGER
//# define QT_NO_QWS_MANAGER
//#endif
//#ifndef QT_NO_QWS_KEYBOARD
//# define QT_NO_QWS_KEYBOARD
//#endif
//#ifndef QT_NO_QWS_MOUSE
//# define QT_NO_QWS_MOUSE
//#endif
//#ifndef QT_NO_QWS_MOUSE_AUTO
//# define QT_NO_QWS_MOUSE_AUTO
//#endif
//#ifndef QT_NO_QWS_MOUSE_MANUAL
//# define QT_NO_QWS_MOUSE_MANUAL
//#endif
#ifndef QT_NO_QWS_MULTIPROCESS
# define QT_NO_QWS_MULTIPROCESS
#endif
#ifndef QT_NO_QWS_SOUNDSERVER
# define QT_NO_QWS_SOUNDSERVER
#endif
#ifndef QT_NO_SXE
# define QT_NO_SXE
#endif
//#ifndef QT_NO_QWS_PROPERTIES
//# define QT_NO_QWS_PROPERTIES
//#endif
//#ifndef QT_NO_QWS_PROXYSCREEN
//# define QT_NO_QWS_PROXYSCREEN
//#endif
//#ifndef QT_NO_QWS_DYNAMICSCREENTRANSFORMATION
//# define QT_NO_QWS_DYNAMICSCREENTRANSFORMATION
//#endif
/* SVG */
//#ifndef QT_NO_SVG
//# define QT_NO_SVG
//#endif
//#ifndef QT_NO_GRAPHICSSVGITEM
//# define QT_NO_GRAPHICSSVGITEM
//#endif
//#ifndef QT_NO_SVGGENERATOR
//# define QT_NO_SVGGENERATOR
//#endif
//#ifndef QT_NO_SVGRENDERER
//# define QT_NO_SVGRENDERER
//#endif
//#ifndef QT_NO_SVGWIDGET
//# define QT_NO_SVGWIDGET
//#endif
/* Styles */
//#ifndef QT_NO_STYLE_MOTIF
//# define QT_NO_STYLE_MOTIF
//#endif
//#ifndef QT_NO_STYLE_CDE
//# define QT_NO_STYLE_CDE
//#endif
//#ifndef QT_NO_STYLE_CLEANLOOKS
//# define QT_NO_STYLE_CLEANLOOKS
//#endif
//#ifndef QT_NO_STYLE_PLASTIQUE
//# define QT_NO_STYLE_PLASTIQUE
//#endif
//#ifndef QT_NO_STYLE_STYLESHEET
//# define QT_NO_STYLE_STYLESHEET
//#endif
//#ifndef QT_NO_STYLE_WINDOWSCE
//# define QT_NO_STYLE_WINDOWSCE
//#endif
//#ifndef QT_NO_STYLE_WINDOWSMOBILE
//# define QT_NO_STYLE_WINDOWSMOBILE
//#endif
//#ifndef QT_NO_STYLE_WINDOWSVISTA
//# define QT_NO_STYLE_WINDOWSVISTA
//#endif
//#ifndef QT_NO_STYLE_WINDOWSXP
//# define QT_NO_STYLE_WINDOWSXP
//#endif
/* Utilities */
//#ifndef QT_NO_ACCESSIBILITY
//# define QT_NO_ACCESSIBILITY
//#endif
//#ifndef QT_NO_COMPLETER
//# define QT_NO_COMPLETER
//#endif
//#ifndef QT_NO_DESKTOPSERVICES
//# define QT_NO_DESKTOPSERVICES
//#endif
//#ifndef QT_NO_SCRIPT
//# define QT_NO_SCRIPT
//#endif
//#ifndef QT_NO_SYSTEMTRAYICON
//# define QT_NO_SYSTEMTRAYICON
//#endif
//#ifndef QT_NO_UNDOCOMMAND
//# define QT_NO_UNDOCOMMAND
//#endif
//#ifndef QT_NO_UNDOGROUP
//# define QT_NO_UNDOGROUP
//#endif
//#ifndef QT_NO_UNDOSTACK
//# define QT_NO_UNDOSTACK
//#endif
//#ifndef QT_NO_UNDOVIEW
//# define QT_NO_UNDOVIEW
//#endif
/* Widgets */
//#ifndef QT_NO_GROUPBOX
//# define QT_NO_GROUPBOX
//#endif
//#ifndef QT_NO_BUTTONGROUP
//# define QT_NO_BUTTONGROUP
//#endif
//#ifndef QT_NO_LCDNUMBER
//# define QT_NO_LCDNUMBER
//#endif
//#ifndef QT_NO_LINEEDIT
//# define QT_NO_LINEEDIT
//#endif
//#ifndef QT_NO_COMBOBOX
//# define QT_NO_COMBOBOX
//#endif
//#ifndef QT_NO_FONTCOMBOBOX
//# define QT_NO_FONTCOMBOBOX
//#endif
//#ifndef QT_NO_SPINBOX
//# define QT_NO_SPINBOX
//#endif
//#ifndef QT_NO_CALENDARWIDGET
//# define QT_NO_CALENDARWIDGET
//#endif
//#ifndef QT_NO_DATETIMEEDIT
//# define QT_NO_DATETIMEEDIT
//#endif
//#ifndef QT_NO_LISTWIDGET
//# define QT_NO_LISTWIDGET
//#endif
//#ifndef QT_NO_MENU
//# define QT_NO_MENU
//#endif
//#ifndef QT_NO_CONTEXTMENU
//# define QT_NO_CONTEXTMENU
//#endif
//#ifndef QT_NO_MAINWINDOW
//# define QT_NO_MAINWINDOW
//#endif
//#ifndef QT_NO_DOCKWIDGET
//# define QT_NO_DOCKWIDGET
//#endif
//#ifndef QT_NO_TOOLBAR
//# define QT_NO_TOOLBAR
//#endif
//#ifndef QT_NO_MENUBAR
//# define QT_NO_MENUBAR
//#endif
//#ifndef QT_NO_WORKSPACE
//# define QT_NO_WORKSPACE
//#endif
//#ifndef QT_NO_PROGRESSBAR
//# define QT_NO_PROGRESSBAR
//#endif
//#ifndef QT_NO_RESIZEHANDLER
//# define QT_NO_RESIZEHANDLER
//#endif
//#ifndef QT_NO_RUBBERBAND
//# define QT_NO_RUBBERBAND
//#endif
//#ifndef QT_NO_SPLITTER
//# define QT_NO_SPLITTER
//#endif
//#ifndef QT_NO_SIGNALMAPPER
//# define QT_NO_SIGNALMAPPER
//#endif
//#ifndef QT_NO_SIZEGRIP
//# define QT_NO_SIZEGRIP
//#endif
//#ifndef QT_NO_SLIDER
//# define QT_NO_SLIDER
//#endif
//#ifndef QT_NO_DIAL
//# define QT_NO_DIAL
//#endif
//#ifndef QT_NO_SCROLLBAR
//# define QT_NO_SCROLLBAR
//#endif
//#ifndef QT_NO_SCROLLAREA
//# define QT_NO_SCROLLAREA
//#endif
//#ifndef QT_NO_GRAPHICSVIEW
//# define QT_NO_GRAPHICSVIEW
//#endif
//#ifndef QT_NO_PRINTPREVIEWWIDGET
//# define QT_NO_PRINTPREVIEWWIDGET
//#endif
//#ifndef QT_NO_MDIAREA
//# define QT_NO_MDIAREA
//#endif
//#ifndef QT_NO_TEXTEDIT
//# define QT_NO_TEXTEDIT
//#endif
//#ifndef QT_NO_SYNTAXHIGHLIGHTER
//# define QT_NO_SYNTAXHIGHLIGHTER
//#endif
//#ifndef QT_NO_TEXTBROWSER
//# define QT_NO_TEXTBROWSER
//#endif
//#ifndef QT_NO_SPINWIDGET
//# define QT_NO_SPINWIDGET
//#endif
//#ifndef QT_NO_SPLASHSCREEN
//# define QT_NO_SPLASHSCREEN
//#endif
//#ifndef QT_NO_STACKEDWIDGET
//# define QT_NO_STACKEDWIDGET
//#endif
//#ifndef QT_NO_TABWIDGET
//# define QT_NO_TABWIDGET
//#endif
//#ifndef QT_NO_STATUSBAR
//# define QT_NO_STATUSBAR
//#endif
//#ifndef QT_NO_STATUSTIP
//# define QT_NO_STATUSTIP
//#endif
//#ifndef QT_NO_TABLEWIDGET
//# define QT_NO_TABLEWIDGET
//#endif
//#ifndef QT_NO_TOOLBUTTON
//# define QT_NO_TOOLBUTTON
//#endif
//#ifndef QT_NO_TABBAR
//# define QT_NO_TABBAR
//#endif
//#ifndef QT_NO_TOOLBOX
//# define QT_NO_TOOLBOX
//#endif
//#ifndef QT_NO_WHATSTHIS
//# define QT_NO_WHATSTHIS
//#endif
//#ifndef QT_NO_TOOLTIP
//# define QT_NO_TOOLTIP
//#endif
//#ifndef QT_NO_TREEWIDGET
//# define QT_NO_TREEWIDGET
//#endif
//#ifndef QT_NO_VALIDATOR
//# define QT_NO_VALIDATOR
//#endif
/* Windows */
//#ifndef QT_NO_WIN_ACTIVEQT
//# define QT_NO_WIN_ACTIVEQT
//#endif

View File

@ -1,369 +0,0 @@
#ifndef QT_BOOTSTRAPPED
#include "qconfig-genode.h"
#endif
/* Qt Edition */
#ifndef QT_EDITION
# define QT_EDITION QT_EDITION_OPENSOURCE
#endif
/* Machine byte-order */
#define Q_BIG_ENDIAN 4321
#define Q_LITTLE_ENDIAN 1234
#define QT_BUILD_KEY "genode g++-4"
#ifdef QT_BOOTSTRAPPED
#define Q_BYTE_ORDER Q_LITTLE_ENDIAN
#else
#define Q_BYTE_ORDER Q_LITTLE_ENDIAN
#endif
/* Machine Architecture */
//#ifndef QT_BOOTSTRAPPED
//# define QT_ARCH_X86_64
//#else
//# define QT_ARCH_X86_64
//#endif
/* Compile time features */
#ifdef QT_ARCH_X86_64
# define QT_POINTER_SIZE 8
#endif
#ifdef QT_ARCH_I386
# define QT_POINTER_SIZE 4
#endif
#if defined(QT_LINKED_OPENSSL) && defined(QT_NO_LINKED_OPENSSL)
# undef QT_LINKED_OPENSSL
#elif !defined(QT_LINKED_OPENSSL) && !defined(QT_NO_LINKED_OPENSSL)
# define QT_LINKED_OPENSSL
#endif
#if defined(QT_NO_ACCESSIBILITY) && defined(QT_ACCESSIBILITY)
# undef QT_NO_ACCESSIBILITY
#elif !defined(QT_NO_ACCESSIBILITY) && !defined(QT_ACCESSIBILITY)
# define QT_NO_ACCESSIBILITY
#endif
#if defined(QT_NO_ALSA) && defined(QT_ALSA)
# undef QT_NO_ALSA
#elif !defined(QT_NO_ALSA) && !defined(QT_ALSA)
# define QT_NO_ALSA
#endif
#if defined(QT_NO_CLOCK_MONOTONIC) && defined(QT_CLOCK_MONOTONIC)
# undef QT_NO_CLOCK_MONOTONIC
#elif !defined(QT_NO_CLOCK_MONOTONIC) && !defined(QT_CLOCK_MONOTONIC)
# define QT_NO_CLOCK_MONOTONIC
#endif
#if defined(QT_NO_CUPS) && defined(QT_CUPS)
# undef QT_NO_CUPS
#elif !defined(QT_NO_CUPS) && !defined(QT_CUPS)
# define QT_NO_CUPS
#endif
#if defined(QT_NO_DBUS) && defined(QT_DBUS)
# undef QT_NO_DBUS
#elif !defined(QT_NO_DBUS) && !defined(QT_DBUS)
# define QT_NO_DBUS
#endif
#if defined(QT_NO_DECLARATIVE) && defined(QT_DECLARATIVE)
# undef QT_NO_DECLARATIVE
#elif !defined(QT_NO_DECLARATIVE) && !defined(QT_DECLARATIVE)
# define QT_NO_DECLARATIVE
#endif
#if defined(QT_NO_EGL) && defined(QT_EGL)
# undef QT_NO_EGL
#elif !defined(QT_NO_EGL) && !defined(QT_EGL)
# define QT_NO_EGL
#endif
#if defined(QT_NO_EXCEPTIONS) && defined(QT_EXCEPTIONS)
# undef QT_NO_EXCEPTIONS
#elif !defined(QT_NO_EXCEPTIONS) && !defined(QT_EXCEPTIONS)
# define QT_NO_EXCEPTIONS
#endif
#if defined(QT_NO_GLIB) && defined(QT_GLIB)
# undef QT_NO_GLIB
#elif !defined(QT_NO_GLIB) && !defined(QT_GLIB)
# define QT_NO_GLIB
#endif
#if defined(QT_NO_GSTREAMER) && defined(QT_GSTREAMER)
# undef QT_NO_GSTREAMER
#elif !defined(QT_NO_GSTREAMER) && !defined(QT_GSTREAMER)
# define QT_NO_GSTREAMER
#endif
#if defined(QT_NO_ICONV) && defined(QT_ICONV)
# undef QT_NO_ICONV
#elif !defined(QT_NO_ICONV) && !defined(QT_ICONV)
# define QT_NO_ICONV
#endif
#if defined(QT_NO_IMAGEFORMAT_JPEG) && defined(QT_IMAGEFORMAT_JPEG)
# undef QT_NO_IMAGEFORMAT_JPEG
#elif !defined(QT_NO_IMAGEFORMAT_JPEG) && !defined(QT_IMAGEFORMAT_JPEG)
# define QT_NO_IMAGEFORMAT_JPEG
#endif
#if defined(QT_NO_IMAGEFORMAT_MNG) && defined(QT_IMAGEFORMAT_MNG)
# undef QT_NO_IMAGEFORMAT_MNG
#elif !defined(QT_NO_IMAGEFORMAT_MNG) && !defined(QT_IMAGEFORMAT_MNG)
# define QT_NO_IMAGEFORMAT_MNG
#endif
#if defined(QT_NO_IMAGEFORMAT_TIFF) && defined(QT_IMAGEFORMAT_TIFF)
# undef QT_NO_IMAGEFORMAT_TIFF
#elif !defined(QT_NO_IMAGEFORMAT_TIFF) && !defined(QT_IMAGEFORMAT_TIFF)
# define QT_NO_IMAGEFORMAT_TIFF
#endif
#if defined(QT_NO_IPV6) && defined(QT_IPV6)
# undef QT_NO_IPV6
#elif !defined(QT_NO_IPV6) && !defined(QT_IPV6)
# define QT_NO_IPV6
#endif
#if defined(QT_NO_IPV6IFNAME) && defined(QT_IPV6IFNAME)
# undef QT_NO_IPV6IFNAME
#elif !defined(QT_NO_IPV6IFNAME) && !defined(QT_IPV6IFNAME)
# define QT_NO_IPV6IFNAME
#endif
#if defined(QT_NO_NAS) && defined(QT_NAS)
# undef QT_NO_NAS
#elif !defined(QT_NO_NAS) && !defined(QT_NAS)
# define QT_NO_NAS
#endif
#if defined(QT_NO_NIS) && defined(QT_NIS)
# undef QT_NO_NIS
#elif !defined(QT_NO_NIS) && !defined(QT_NIS)
# define QT_NO_NIS
#endif
#if defined(QT_NO_OPENGL) && defined(QT_OPENGL)
# undef QT_NO_OPENGL
#elif !defined(QT_NO_OPENGL) && !defined(QT_OPENGL)
# define QT_NO_OPENGL
#endif
#if defined(QT_NO_OPENVG) && defined(QT_OPENVG)
# undef QT_NO_OPENVG
#elif !defined(QT_NO_OPENVG) && !defined(QT_OPENVG)
# define QT_NO_OPENVG
#endif
#if defined(QT_NO_PHONON) && defined(QT_PHONON)
# undef QT_NO_PHONON
#elif !defined(QT_NO_PHONON) && !defined(QT_PHONON)
# define QT_NO_PHONON
#endif
#if defined(QT_NO_QWS_DIRECTFB) && defined(QT_QWS_DIRECTFB)
# undef QT_NO_QWS_DIRECTFB
#elif !defined(QT_NO_QWS_DIRECTFB) && !defined(QT_QWS_DIRECTFB)
# define QT_NO_QWS_DIRECTFB
#endif
#if defined(QT_NO_QWS_KBD_LINUXINPUT) && defined(QT_QWS_KBD_LINUXINPUT)
# undef QT_NO_QWS_KBD_LINUXINPUT
#elif !defined(QT_NO_QWS_KBD_LINUXINPUT) && !defined(QT_QWS_KBD_LINUXINPUT)
# define QT_NO_QWS_KBD_LINUXINPUT
#endif
#if defined(QT_NO_QWS_KBD_QNX) && defined(QT_QWS_KBD_QNX)
# undef QT_NO_QWS_KBD_QNX
#elif !defined(QT_NO_QWS_KBD_QNX) && !defined(QT_QWS_KBD_QNX)
# define QT_NO_QWS_KBD_QNX
#endif
#if defined(QT_NO_QWS_KBD_QVFB) && defined(QT_QWS_KBD_QVFB)
# undef QT_NO_QWS_KBD_QVFB
#elif !defined(QT_NO_QWS_KBD_QVFB) && !defined(QT_QWS_KBD_QVFB)
# define QT_NO_QWS_KBD_QVFB
#endif
#if defined(QT_NO_QWS_KBD_TTY) && defined(QT_QWS_KBD_TTY)
# undef QT_NO_QWS_KBD_TTY
#elif !defined(QT_NO_QWS_KBD_TTY) && !defined(QT_QWS_KBD_TTY)
# define QT_NO_QWS_KBD_TTY
#endif
#if defined(QT_NO_QWS_KBD_UM) && defined(QT_QWS_KBD_UM)
# undef QT_NO_QWS_KBD_UM
#elif !defined(QT_NO_QWS_KBD_UM) && !defined(QT_QWS_KBD_UM)
# define QT_NO_QWS_KBD_UM
#endif
#if defined(QT_NO_QWS_LINUXFB) && defined(QT_QWS_LINUXFB)
# undef QT_NO_QWS_LINUXFB
#elif !defined(QT_NO_QWS_LINUXFB) && !defined(QT_QWS_LINUXFB)
# define QT_NO_QWS_LINUXFB
#endif
#if defined(QT_NO_QWS_MOUSE_LINUXINPUT) && defined(QT_QWS_MOUSE_LINUXINPUT)
# undef QT_NO_QWS_MOUSE_LINUXINPUT
#elif !defined(QT_NO_QWS_MOUSE_LINUXINPUT) && !defined(QT_QWS_MOUSE_LINUXINPUT)
# define QT_NO_QWS_MOUSE_LINUXINPUT
#endif
#if defined(QT_NO_QWS_MOUSE_LINUXTP) && defined(QT_QWS_MOUSE_LINUXTP)
# undef QT_NO_QWS_MOUSE_LINUXTP
#elif !defined(QT_NO_QWS_MOUSE_LINUXTP) && !defined(QT_QWS_MOUSE_LINUXTP)
# define QT_NO_QWS_MOUSE_LINUXTP
#endif
#if defined(QT_NO_QWS_MOUSE_PC) && defined(QT_QWS_MOUSE_PC)
# undef QT_NO_QWS_MOUSE_PC
#elif !defined(QT_NO_QWS_MOUSE_PC) && !defined(QT_QWS_MOUSE_PC)
# define QT_NO_QWS_MOUSE_PC
#endif
#if defined(QT_NO_QWS_MOUSE_QNX) && defined(QT_QWS_MOUSE_QNX)
# undef QT_NO_QWS_MOUSE_QNX
#elif !defined(QT_NO_QWS_MOUSE_QNX) && !defined(QT_QWS_MOUSE_QNX)
# define QT_NO_QWS_MOUSE_QNX
#endif
#if defined(QT_NO_QWS_MOUSE_QVFB) && defined(QT_QWS_MOUSE_QVFB)
# undef QT_NO_QWS_MOUSE_QVFB
#elif !defined(QT_NO_QWS_MOUSE_QVFB) && !defined(QT_QWS_MOUSE_QVFB)
# define QT_NO_QWS_MOUSE_QVFB
#endif
#if defined(QT_NO_QWS_MOUSE_TSLIB) && defined(QT_QWS_MOUSE_TSLIB)
# undef QT_NO_QWS_MOUSE_TSLIB
#elif !defined(QT_NO_QWS_MOUSE_TSLIB) && !defined(QT_QWS_MOUSE_TSLIB)
# define QT_NO_QWS_MOUSE_TSLIB
#endif
#if defined(QT_NO_QWS_MULTISCREEN) && defined(QT_QWS_MULTISCREEN)
# undef QT_NO_QWS_MULTISCREEN
#elif !defined(QT_NO_QWS_MULTISCREEN) && !defined(QT_QWS_MULTISCREEN)
# define QT_NO_QWS_MULTISCREEN
#endif
#if defined(QT_NO_QWS_QNX) && defined(QT_QWS_QNX)
# undef QT_NO_QWS_QNX
#elif !defined(QT_NO_QWS_QNX) && !defined(QT_QWS_QNX)
# define QT_NO_QWS_QNX
#endif
#if defined(QT_NO_QWS_QVFB) && defined(QT_QWS_QVFB)
# undef QT_NO_QWS_QVFB
#elif !defined(QT_NO_QWS_QVFB) && !defined(QT_QWS_QVFB)
# define QT_NO_QWS_QVFB
#endif
#if defined(QT_NO_QWS_TRANSFORMED) && defined(QT_QWS_TRANSFORMED)
# undef QT_NO_QWS_TRANSFORMED
#elif !defined(QT_NO_QWS_TRANSFORMED) && !defined(QT_QWS_TRANSFORMED)
# define QT_NO_QWS_TRANSFORMED
#endif
#if defined(QT_NO_QWS_VNC) && defined(QT_QWS_VNC)
# undef QT_NO_QWS_VNC
#elif !defined(QT_NO_QWS_VNC) && !defined(QT_QWS_VNC)
# define QT_NO_QWS_VNC
#endif
#if defined(QT_NO_SESSIONMANAGER) && defined(QT_SESSIONMANAGER)
# undef QT_NO_SESSIONMANAGER
#elif !defined(QT_NO_SESSIONMANAGER) && !defined(QT_SESSIONMANAGER)
# define QT_NO_SESSIONMANAGER
#endif
#if defined(QT_NO_STYLE_GTK) && defined(QT_STYLE_GTK)
# undef QT_NO_STYLE_GTK
#elif !defined(QT_NO_STYLE_GTK) && !defined(QT_STYLE_GTK)
# define QT_NO_STYLE_GTK
#endif
#if defined(QT_NO_SXE) && defined(QT_SXE)
# undef QT_NO_SXE
#elif !defined(QT_NO_SXE) && !defined(QT_SXE)
# define QT_NO_SXE
#endif
#if defined(QT_NO_WEBKIT) && defined(QT_WEBKIT)
# undef QT_NO_WEBKIT
#elif !defined(QT_NO_WEBKIT) && !defined(QT_WEBKIT)
# define QT_NO_WEBKIT
#endif
#if defined(QT_NO_XMLPATTERNS) && defined(QT_XMLPATTERNS)
# undef QT_NO_XMLPATTERNS
#elif !defined(QT_NO_XMLPATTERNS) && !defined(QT_XMLPATTERNS)
# define QT_NO_XMLPATTERNS
#endif
#if defined(QT_NO_ZLIB) && defined(QT_ZLIB)
# undef QT_NO_ZLIB
#elif !defined(QT_NO_ZLIB) && !defined(QT_ZLIB)
# define QT_NO_ZLIB
#endif
#if defined(QT_QWS_DEPTH_16) && defined(QT_NO_QWS_DEPTH_16)
# undef QT_QWS_DEPTH_16
#elif !defined(QT_QWS_DEPTH_16) && !defined(QT_NO_QWS_DEPTH_16)
# define QT_QWS_DEPTH_16
#endif
#if defined(QT_QWS_DEPTH_32) && defined(QT_NO_QWS_DEPTH_32)
# undef QT_QWS_DEPTH_32
#elif !defined(QT_QWS_DEPTH_32) && !defined(QT_NO_QWS_DEPTH_32)
# define QT_QWS_DEPTH_32
#endif
#if defined(QT_QWS_DEPTH_8) && defined(QT_NO_QWS_DEPTH_8)
# undef QT_QWS_DEPTH_8
#elif !defined(QT_QWS_DEPTH_8) && !defined(QT_NO_QWS_DEPTH_8)
# define QT_QWS_DEPTH_8
#endif
#if defined(QT_RUNTIME_XCURSOR) && defined(QT_NO_RUNTIME_XCURSOR)
# undef QT_RUNTIME_XCURSOR
#elif !defined(QT_RUNTIME_XCURSOR) && !defined(QT_NO_RUNTIME_XCURSOR)
# define QT_RUNTIME_XCURSOR
#endif
#if defined(QT_RUNTIME_XFIXES) && defined(QT_NO_RUNTIME_XFIXES)
# undef QT_RUNTIME_XFIXES
#elif !defined(QT_RUNTIME_XFIXES) && !defined(QT_NO_RUNTIME_XFIXES)
# define QT_RUNTIME_XFIXES
#endif
#if defined(QT_RUNTIME_XINERAMA) && defined(QT_NO_RUNTIME_XINERAMA)
# undef QT_RUNTIME_XINERAMA
#elif !defined(QT_RUNTIME_XINERAMA) && !defined(QT_NO_RUNTIME_XINERAMA)
# define QT_RUNTIME_XINERAMA
#endif
#if defined(QT_RUNTIME_XINPUT) && defined(QT_NO_RUNTIME_XINPUT)
# undef QT_RUNTIME_XINPUT
#elif !defined(QT_RUNTIME_XINPUT) && !defined(QT_NO_RUNTIME_XINPUT)
# define QT_RUNTIME_XINPUT
#endif
#if defined(QT_RUNTIME_XRANDR) && defined(QT_NO_RUNTIME_XRANDR)
# undef QT_RUNTIME_XRANDR
#elif !defined(QT_RUNTIME_XRANDR) && !defined(QT_NO_RUNTIME_XRANDR)
# define QT_RUNTIME_XRANDR
#endif
#if defined(QT_USE_MATH_H_FLOATS) && defined(QT_NO_USE_MATH_H_FLOATS)
# undef QT_USE_MATH_H_FLOATS
#elif !defined(QT_USE_MATH_H_FLOATS) && !defined(QT_NO_USE_MATH_H_FLOATS)
# define QT_USE_MATH_H_FLOATS
#endif
#ifndef Q_WS_QWS
# define Q_WS_QWS
#endif
#define QT_VISIBILITY_AVAILABLE

View File

@ -1,80 +0,0 @@
/****************************************************************************
**
** Copyright (C) 1992-2007 Trolltech ASA. All rights reserved.
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** This file may be used under the terms of the GNU General Public
** License version 2.0 as published by the Free Software Foundation
** and appearing in the file LICENSE.GPL included in the packaging of
** this file. Please review the following information to ensure GNU
** General Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/
**
** If you are unsure which license is appropriate for your use, please
** review the following information:
** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
** or contact the sales department at sales@trolltech.com.
**
** In addition, as a special exception, Trolltech gives you certain
** additional rights. These rights are described in the Trolltech GPL
** Exception version 1.0, which can be found at
** http://www.trolltech.com/products/qt/gplexception/ and in the file
** GPL_EXCEPTION.txt in this package.
**
** In addition, as a special exception, Trolltech, as the sole copyright
** holder for Qt Designer, grants users of the Qt/Eclipse Integration
** plug-in the right for the Qt/Eclipse Integration to link to
** functionality provided by Qt Designer and its related libraries.
**
** Trolltech reserves all rights not expressly granted herein.
**
** Trolltech ASA (c) 2007
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
****************************************************************************/
#ifndef QWINDOWSURFACE_NITPICKER_QWS_P_H
#define QWINDOWSURFACE_NITPICKER_QWS_P_H
#include <base/env.h>
#include <framebuffer_session/client.h>
#include <nitpicker_session/client.h>
#include <nitpicker_view/client.h>
#include <QWSServer>
#include <private/qwindowsurface_qws_p.h>
class QWSWindow;
class Q_GUI_EXPORT QWSNitpickerWindowSurface : public QObject, public QWSLocalMemSurface
{
Q_OBJECT
public:
QWSNitpickerWindowSurface(QWidget *widget, Nitpicker::Session_client *nitpicker);
~QWSNitpickerWindowSurface();
virtual bool move(const QPoint &offset);
virtual void flush(QWidget *widget, const QRegion &region,
const QPoint &offset);
Nitpicker::View_capability view_cap() { return _view_cap; }
private slots:
void windowEvent (QWSWindow *window, QWSServer::WindowEvent eventType);
private:
Nitpicker::Session_client *_nitpicker;
Nitpicker::View_capability _view_cap;
Nitpicker::View_client *_view_client;
Framebuffer::Session_client *_framebuffer_session_client;
bool moving;
};
#endif // QWINDOWSURFACE_NITPICKER_QWS_P_H

View File

@ -1,52 +0,0 @@
#ifndef QINPUTNITPICKER_QWS_H
#define QINPUTNITPICKER_QWS_H
#include "qmousenitpicker_qws.h"
#include "qkbdnitpicker_qws.h"
QT_BEGIN_HEADER
QT_MODULE(Gui)
#if !defined(QT_NO_QWS_MOUSE_NITPICKER) || !defined(QT_NO_QWS_KEYBOARD_NITPICKER)
#include <base/capability.h>
#include <input/event.h>
#include <input_session/client.h>
class QNitpickerInputHandler : public QObject {
Q_OBJECT
public:
QNitpickerInputHandler(QScreen *screen,
Input::Session_capability input_session_cap,
const QString &driver = QString(),
const QString &device = QString());
~QNitpickerInputHandler();
void setScreen(const QScreen *screen);
private:
Input::Session_client *input;
Input::Event *ev_buf;
#ifndef QT_NO_QWS_MOUSE_NITPICKER
QNitpickerMouseHandler *mouse;
#endif
#ifndef QT_NO_QWS_KEYBOARD_NITPICKER
QNitpickerKeyboardHandler *keyboard;
#endif
QTimer *timer;
private Q_SLOTS:
void readInputData();
};
#endif // !defined(QT_NO_QWS_MOUSE_NITPICKER) || !defined(QT_NO_QWS_KEYBOARD_NITPICKER)
QT_END_HEADER
#endif // QINPUTNITPICKER_QWS_H

View File

@ -1,69 +0,0 @@
/****************************************************************************
**
** Copyright (C) 1992-2007 Trolltech ASA. All rights reserved.
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** This file may be used under the terms of the GNU General Public
** License version 2.0 as published by the Free Software Foundation
** and appearing in the file LICENSE.GPL included in the packaging of
** this file. Please review the following information to ensure GNU
** General Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/
**
** If you are unsure which license is appropriate for your use, please
** review the following information:
** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
** or contact the sales department at sales@trolltech.com.
**
** In addition, as a special exception, Trolltech gives you certain
** additional rights. These rights are described in the Trolltech GPL
** Exception version 1.0, which can be found at
** http://www.trolltech.com/products/qt/gplexception/ and in the file
** GPL_EXCEPTION.txt in this package.
**
** In addition, as a special exception, Trolltech, as the sole copyright
** holder for Qt Designer, grants users of the Qt/Eclipse Integration
** plug-in the right for the Qt/Eclipse Integration to link to
** functionality provided by Qt Designer and its related libraries.
**
** Trolltech reserves all rights not expressly granted herein.
**
** Trolltech ASA (c) 2007
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
****************************************************************************/
#ifndef QKBDNITPICKER_QWS_H
#define QKBDNITPICKER_QWS_H
#include <QtGui/qkbdpc101_qws.h>
QT_BEGIN_HEADER
QT_MODULE(Gui)
#ifndef QT_NO_QWS_KEYBOARD
#ifndef QT_NO_QWS_KBD_NITPICKER
#include <input/event.h>
class QNitpickerKeyboardHandler : public QWSPC101KeyboardHandler
{
public:
QNitpickerKeyboardHandler(const QString &device = QString());
virtual ~QNitpickerKeyboardHandler();
void processKeyEvent(Input::Event *ev);
};
#endif // QT_NO_QWS_KBD_NITPICKER
#endif // QT_NO_QWS_KEYBOARD
QT_END_HEADER
#endif // QKBDNITPICKER_QWS_H

View File

@ -1,95 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial Usage
** Licensees holding valid Qt Commercial licenses may use this file in
** accordance with the Qt Commercial License Agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Nokia.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain
** additional rights. These rights are described in the Nokia Qt LGPL
** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
** package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3.0 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU General Public License version 3.0 requirements will be
** met: http://www.gnu.org/copyleft/gpl.html.
**
** If you are unsure which license is appropriate for your use, please
** contact the sales department at qt-sales@nokia.com.
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef QKBDPC101_QWS_H
#define QKBDPC101_QWS_H
#include <QtGui/qkbd_qws.h>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Gui)
#ifndef QT_NO_QWS_KEYBOARD
#ifndef QT_NO_QWS_KBD_PC101
struct QWSKeyMap {
uint key_code;
ushort unicode;
ushort shift_unicode;
ushort ctrl_unicode;
};
class QWSPC101KeyboardHandler : public QWSKeyboardHandler
{
public:
explicit QWSPC101KeyboardHandler(const QString&);
virtual ~QWSPC101KeyboardHandler();
virtual void doKey(uchar scancode);
virtual const QWSKeyMap *keyMap() const;
protected:
bool shift;
bool alt;
bool ctrl;
bool caps;
#if defined(QT_QWS_IPAQ)
uint ipaq_return_pressed:1;
#endif
uint extended:2;
Qt::KeyboardModifiers modifiers;
int prevuni;
int prevkey;
};
#endif // QT_NO_QWS_KBD_PC101
#endif // QT_NO_QWS_KEYBOARD
QT_END_NAMESPACE
QT_END_HEADER
#endif // QKBDPC101_QWS_H

View File

@ -1,71 +0,0 @@
/****************************************************************************
**
** Copyright (C) 1992-2007 Trolltech ASA. All rights reserved.
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** This file may be used under the terms of the GNU General Public
** License version 2.0 as published by the Free Software Foundation
** and appearing in the file LICENSE.GPL included in the packaging of
** this file. Please review the following information to ensure GNU
** General Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/
**
** If you are unsure which license is appropriate for your use, please
** review the following information:
** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
** or contact the sales department at sales@trolltech.com.
**
** In addition, as a special exception, Trolltech gives you certain
** additional rights. These rights are described in the Trolltech GPL
** Exception version 1.0, which can be found at
** http://www.trolltech.com/products/qt/gplexception/ and in the file
** GPL_EXCEPTION.txt in this package.
**
** In addition, as a special exception, Trolltech, as the sole copyright
** holder for Qt Designer, grants users of the Qt/Eclipse Integration
** plug-in the right for the Qt/Eclipse Integration to link to
** functionality provided by Qt Designer and its related libraries.
**
** Trolltech reserves all rights not expressly granted herein.
**
** Trolltech ASA (c) 2007
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
****************************************************************************/
#ifndef QMOUSENITPICKER_QWS_H
#define QMOUSENITPICKER_QWS_H
#include <input/event.h>
#include <QtGui/qmouse_qws.h>
QT_BEGIN_HEADER
QT_MODULE(Gui)
#ifndef QT_NO_QWS_MOUSE_NITPICKER
class QNitpickerMouseHandler : public QWSMouseHandler {
public:
QNitpickerMouseHandler(const QString &driver = QString(),
const QString &device = QString());
~QNitpickerMouseHandler();
void resume();
void suspend();
void processMouseEvent(Input::Event *ev);
private:
int state;
};
#endif // QT_NO_QWS_MOUSE_NITPICKER
QT_END_HEADER
#endif // QMOUSENITPICKER_QWS_H

View File

@ -1,83 +0,0 @@
/****************************************************************************
**
** Copyright (C) 1992-2007 Trolltech ASA. All rights reserved.
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** This file may be used under the terms of the GNU General Public
** License version 2.0 as published by the Free Software Foundation
** and appearing in the file LICENSE.GPL included in the packaging of
** this file. Please review the following information to ensure GNU
** General Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/
**
** If you are unsure which license is appropriate for your use, please
** review the following information:
** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
** or contact the sales department at sales@trolltech.com.
**
** In addition, as a special exception, Trolltech gives you certain
** additional rights. These rights are described in the Trolltech GPL
** Exception version 1.0, which can be found at
** http://www.trolltech.com/products/qt/gplexception/ and in the file
** GPL_EXCEPTION.txt in this package.
**
** In addition, as a special exception, Trolltech, as the sole copyright
** holder for Qt Designer, grants users of the Qt/Eclipse Integration
** plug-in the right for the Qt/Eclipse Integration to link to
** functionality provided by Qt Designer and its related libraries.
**
** Trolltech reserves all rights not expressly granted herein.
**
** Trolltech ASA (c) 2007
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
****************************************************************************/
#ifndef QSCREENNITPICKER_QWS_H
#define QSCREENNITPICKER_QWS_H
#include <QtGui/qscreen_qws.h>
QT_BEGIN_HEADER
QT_MODULE(Gui)
#ifndef QT_NO_QWS_NITPICKER
#include <base/env.h>
#include <nitpicker_session/connection.h>
#include <framebuffer_session/client.h>
class QNitpickerInputHandler;
class Q_GUI_EXPORT QNitpickerScreen : public QScreen
{
public:
explicit QNitpickerScreen(int display_id);
virtual ~QNitpickerScreen();
virtual bool initDevice();
virtual bool connect(const QString &displaySpec);
virtual void disconnect();
virtual void shutdownDevice();
virtual QWSWindowSurface *createSurface(QWidget *widget) const;
virtual void save();
virtual void restore();
virtual void setMode(int nw,int nh,int nd);
private:
Nitpicker::Session_client *nitpicker;
Framebuffer::Session_client *framebuffer;
QNitpickerInputHandler *inputhandler;
};
#endif // QT_NO_QWS_NITPICKER
QT_END_HEADER
#endif // QSCREENNITPICKER_QWS_H

View File

@ -1,3 +0,0 @@
IMPORT_QT4_INC=$(call select_from_repositories,lib/import/import-qt4.inc)
include $(IMPORT_QT4_INC)

View File

@ -1,3 +0,0 @@
IMPORT_QT4_INC=$(call select_from_repositories,lib/import/import-qt4.inc)
include $(IMPORT_QT4_INC)

View File

@ -1,148 +0,0 @@
# prevent import file to be included twice, for example via import-qt_gui.mk
# and import-qt_core.mk
ifeq ($(QT4_IMPORTED),)
QT4_IMPORTED = true
REQUIRES += qt4_deprecated
# identify the qt4 repository by searching for a file that is unique for qt4
QT4_REP_DIR := $(call select_from_repositories,lib/import/import-qt4.inc)
QT4_REP_DIR := $(realpath $(dir $(QT4_REP_DIR))../..)
include $(QT4_REP_DIR)/lib/mk/qt_version.inc
QT4_INC_DIR := $(QT4_REP_DIR)/src/lib/qt4/mkspecs/qws/genode-generic-g++ \
$(QT4_REP_DIR)/include/qt4 \
$(QT4_REP_DIR)/contrib/$(QT4)/include \
$(QT4_REP_DIR)/include/qt4/QtCore \
$(QT4_REP_DIR)/contrib/$(QT4)/include/QtCore \
$(QT4_REP_DIR)/include/qt4/QtGui \
$(QT4_REP_DIR)/contrib/$(QT4)/include/QtGui \
$(QT4_REP_DIR)/include/qt4/QtNetwork \
$(QT4_REP_DIR)/contrib/$(QT4)/include/QtNetwork \
$(QT4_REP_DIR)/include/qt4/QtScript \
$(QT4_REP_DIR)/contrib/$(QT4)/include/QtScript \
$(QT4_REP_DIR)/include/qt4/QtScriptTools \
$(QT4_REP_DIR)/contrib/$(QT4)/include/QtScriptTools \
$(QT4_REP_DIR)/include/qt4/QtSvg \
$(QT4_REP_DIR)/contrib/$(QT4)/include/QtSvg \
$(QT4_REP_DIR)/include/qt4/QtUiTools \
$(QT4_REP_DIR)/contrib/$(QT4)/include/QtUiTools \
$(QT4_REP_DIR)/include/qt4/QtWebKit \
$(QT4_REP_DIR)/contrib/$(QT4)/include/QtWebKit \
$(QT4_REP_DIR)/include/qt4/QtXml \
$(QT4_REP_DIR)/contrib/$(QT4)/include/QtXml
INC_DIR += $(QT4_INC_DIR)
# extracted from qt.prf
QT_DEFINES += -DQT_STATICPLUGIN
QT_DEFINES += -D__GENODE__
#
# Prevent inclusion of non-existent 'features.h' from 'bits/os_defines.h'
# header that comes with the Codesourcery ARM tool chain.
#
QT_DEFINES += -D_GLIBCXX_OS_DEFINES
#
# When using the Codesourcery tool chain for ARM, the compiler provides a
# built-in definition for '__linux__', which is obviously wrong when using the
# compiler for Genode. Unfortunately, Webkit tests for this definition in
# 'JavaScriptCore/wtf/Platform.h'. To prevent webkit from drawing wrong
# conclusions, we explicitly undefine '__linux__'.
#
QT_DEFINES += -U__linux__
CC_CXX_OPT += $(QT_DEFINES)
SOURCES_FILTERED = $(filter-out $(SOURCES_FILTER_OUT), $(SOURCES))
HEADERS_FILTERED = $(filter-out $(HEADERS_FILTER_OUT), $(HEADERS))
# add sources defined in qmake project files
SRC_CC += $(SOURCES_FILTERED)
# handle moc-headers, resources and ui descriptions
$(SRC_CC:.cpp=.o): $(addprefix ui_,$(FORMS:.ui=.h))
SRC_CC_QT_GENERATED = $(addprefix moc_,$(HEADERS_FILTERED:.h=.cpp)) \
$(addprefix qrc_,$(RESOURCES:.qrc=.cpp))
.SECONDARY: $(SRC_CC_QT_GENERATED)
SRC_CC += $(SRC_CC_QT_GENERATED)
#
# Locations of moc, rcc, and uic binaries
#
# These binaries are created by calling 'make' in the 'tool' directory, which
# should have happened before starting to build Qt4 applications.
#
MOC = $(QT4_REP_DIR)/tool/moc/moc
RCC = $(QT4_REP_DIR)/tool/rcc/rcc
UIC = $(QT4_REP_DIR)/tool/uic/uic
$(MOC) $(RCC) $(UIC):
@echo
@echo "Attempting to build Qt4 application without having built the Qt4 tools."
@echo "Please execute 'make prepare' in the root of the qt4 repository."
@echo
@false
# moc rules
moc_%.cpp: %.h $(MOC)
$(MSG_CONVERT)$@
$(VERBOSE) $(MOC) $(QT_DEFINES) $(addprefix -I,$(QT4_INC_DIR)) $< -o $@
%.moc: %.cpp $(MOC)
$(MSG_CONVERT)$@
$(VERBOSE) $(MOC) $(QT_DEFINES) $(addprefix -I,$(QT4_INC_DIR)) $< -o $@
# rcc rule
qrc_%.cpp: %.qrc $(RCC)
$(MSG_CONVERT)$@
$(VERBOSE) $(RCC) -name $(basename $(notdir $<)) $< -o $@
# uic rule
ui_%.h: %.ui $(UIC)
$(MSG_CONVERT)$@
$(VERBOSE) $(UIC) $< -o $@
# add include dirs for Qt4-specific genode addons
INC_DIR += $(QT4_REP_DIR)/include/genode
# add C++ include dirs and libs
#
# We cannot just extend the 'LIBS' variable here because 'import-*.mk' are
# included (in 'base/mk/lib.mk') by iterating through the elements of the
# 'LIBS' variable. Hence, we also need to manually import the stdlib snippet.
#
LIBS += stdcxx
include $(call select_from_repositories,lib/import/import-stdcxx.mk)
# custom main() thread stack size support via main() wrapper
ifeq ($(findstring -DQT_MAIN_STACK_SIZE, $(CC_CXX_OPT)), -DQT_MAIN_STACK_SIZE)
CC_CXX_OPT += -Dmain=qt_main
SRC_CC += qt_main.cc
vpath qt_main.cc $(QT4_REP_DIR)/src/lib/qt_main
endif
# set QT_ARCH definition according to the SPECS variable
ifneq ($(filter x86_32,$(SPECS)),)
QT_DEFINES += -DQT_ARCH_I386
endif
ifneq ($(filter x86_64,$(SPECS)),)
QT_DEFINES += -DQT_ARCH_X86_64
endif
ifneq ($(filter arm,$(SPECS)),)
QT_DEFINES += -DQT_ARCH_ARMV6
endif
# remove generated files in clean rules
clean cleanall: clean_rule
clean_rule:
$(VERBOSE)$(RM) -f $(SRC_CC_QT_GENERATED)
$(VERBOSE)$(RM) -f $(SOURCES_FILTERED:.cpp=.moc)
$(VERBOSE)$(RM) -f $(addprefix ui_,$(FORMS:.ui=.h))
endif

View File

@ -1,3 +0,0 @@
IMPORT_QT4_INC=$(call select_from_repositories,lib/import/import-qt4.inc)
include $(IMPORT_QT4_INC)

View File

@ -1,3 +0,0 @@
IMPORT_QT4_INC=$(call select_from_repositories,lib/import/import-qt4.inc)
include $(IMPORT_QT4_INC)

View File

@ -1,3 +0,0 @@
IMPORT_QT4_INC=$(call select_from_repositories,lib/import/import-qt4.inc)
include $(IMPORT_QT4_INC)

View File

@ -1,3 +0,0 @@
IMPORT_QT4_INC=$(call select_from_repositories,lib/import/import-qt4.inc)
include $(IMPORT_QT4_INC)

View File

@ -1,3 +0,0 @@
IMPORT_QT4_INC=$(call select_from_repositories,lib/import/import-qt4.inc)
include $(IMPORT_QT4_INC)

View File

@ -1,3 +0,0 @@
IMPORT_QT4_INC=$(call select_from_repositories,lib/import/import-qt4.inc)
include $(IMPORT_QT4_INC)

View File

@ -1,3 +0,0 @@
IMPORT_QT4_INC=$(call select_from_repositories,lib/import/import-qt4.inc)
include $(IMPORT_QT4_INC)

View File

@ -1,3 +0,0 @@
IMPORT_QT4_INC=$(call select_from_repositories,lib/import/import-qt4.inc)
include $(IMPORT_QT4_INC)

View File

@ -1,3 +0,0 @@
IMPORT_QT4_INC=$(call select_from_repositories,lib/import/import-qt4.inc)
include $(IMPORT_QT4_INC)

View File

@ -1,3 +0,0 @@
IMPORT_QT4_INC=$(call select_from_repositories,lib/import/import-qt4.inc)
include $(IMPORT_QT4_INC)

View File

@ -1,3 +0,0 @@
IMPORT_QT4_INC=$(call select_from_repositories,lib/import/import-qt4.inc)
include $(IMPORT_QT4_INC)

View File

@ -1,3 +0,0 @@
IMPORT_QT4_INC=$(call select_from_repositories,lib/import/import-qt4.inc)
include $(IMPORT_QT4_INC)

View File

@ -1,3 +0,0 @@
IMPORT_QT4_INC=$(call select_from_repositories,lib/import/import-qt4.inc)
include $(IMPORT_QT4_INC)

View File

@ -1,7 +0,0 @@
SHARED_LIB = yes
SRC_CC = qrc_dejavusans.cpp
LIBS = qt_core
vpath % $(REP_DIR)/src/lib/dejavusans

View File

@ -1,10 +0,0 @@
include $(REP_DIR)/lib/import/import-qgif.mk
SRC_CC = main.cpp qgifhandler.cpp
INC_DIR += $(REP_DIR)/contrib/$(QT4)/include/QtGui/private
LIBS = qt_core libc
vpath % $(call select_from_repositories,contrib/$(QT4)/src/plugins/imageformats/gif)
vpath % $(call select_from_repositories,contrib/$(QT4)/src/gui/image)

View File

@ -1,10 +0,0 @@
include $(REP_DIR)/lib/import/import-qjpeg.mk
SRC_CC = main.cpp qjpeghandler.cpp
INC_DIR += $(REP_DIR)/contrib/$(QT4)/include/QtGui/private
LIBS = qt_core libc jpeg
vpath % $(call select_from_repositories,contrib/$(QT4)/src/plugins/imageformats/jpeg)
vpath % $(call select_from_repositories,contrib/$(QT4)/src/gui/image)

View File

@ -1,10 +0,0 @@
SHARED_LIB = yes
SRC_CC = qnitpickerviewwidget.cpp
HEADERS += qnitpickerviewwidget.h
vpath %.h $(REP_DIR)/include/qnitpickerviewwidget
vpath %.cpp $(REP_DIR)/src/lib/qnitpickerviewwidget
LIBS += qt_gui libc

View File

@ -1,10 +0,0 @@
SHARED_LIB = yes
SRC_CC = qpluginwidget.cpp
HEADERS += qpluginwidget.h
vpath %.h $(REP_DIR)/include/qpluginwidget
vpath %.cpp $(REP_DIR)/src/lib/qpluginwidget
LIBS += qt_gui qt_network qnitpickerviewwidget libc zlib

View File

@ -1,20 +0,0 @@
QT_SOURCES_FILTER_OUT += $(COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT)
QT_SOURCES_FILTERED = $(filter-out $(QT_SOURCES_FILTER_OUT), $(QT_SOURCES))
SRC_CC += $(filter %.cpp, $(QT_SOURCES_FILTERED))
SRC_C += $(filter %.c, $(QT_SOURCES_FILTERED))
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTERED = $(filter-out $(COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT), $(COMPILER_MOC_HEADER_MAKE_ALL_FILES))
$(SRC_CC:.cpp=.o): $(COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTERED)
COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTERED = $(filter-out $(COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTER_OUT), $(COMPILER_MOC_SOURCE_MAKE_ALL_FILES))
$(SRC_CC:.cpp=.o): $(COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTERED)
INC_DIR += $(REP_DIR)/src/lib/qt4/mkspecs/qws/genode-generic-g++ \
$(REP_DIR)/src/lib/qt4/src/corelib/global
INC_DIR += $(addprefix $(REP_DIR)/src/lib/qt4/, $(QT_INCPATH))
INC_DIR += $(addprefix $(REP_DIR)/contrib/$(QT4)/, $(QT_INCPATH))
vpath % $(addprefix $(REP_DIR)/src/lib/qt4/, $(QT_VPATH))
vpath % $(addprefix $(REP_DIR)/contrib/$(QT4)/, $(QT_VPATH))

View File

@ -1,40 +0,0 @@
include $(REP_DIR)/lib/import/import-qt_core.mk
SHARED_LIB = yes
# use default warning level to avoid noise when compiling contrib code
CC_WARN = -Wno-unused-but-set-variable -Wno-deprecated-declarations
include $(REP_DIR)/lib/mk/qt_core_generated.inc
# add Genode-specific sources
QT_SOURCES += qprocess_genode.cpp \
qeventdispatcher_genode.cpp \
qmutex_genode.cpp \
qthread_genode.cpp \
qwaitcondition_genode.cpp \
moc_qeventdispatcher_genode_p.cpp
# remove unsupported UNIX-specific files
QT_SOURCES_FILTER_OUT = \
moc_qeventdispatcher_unix_p.cpp \
qeventdispatcher_unix.cpp \
qmutex_unix.cpp \
qprocess_unix.cpp \
qthread_unix.cpp \
qwaitcondition_unix.cpp
# remove unneeded files to prevent moc warnings
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
moc_qfuturewatcher.cpp \
moc_qsharedmemory.cpp
include $(REP_DIR)/lib/mk/qt.inc
INC_DIR += $(REP_DIR)/include/qt4/QtCore/private \
$(REP_DIR)/contrib/$(QT4)/include/QtCore/private
LIBS += launchpad zlib libc libm alarm libc_lock_pipe
vpath % $(REP_DIR)/include/qt4/QtCore
vpath % $(REP_DIR)/include/qt4/QtCore/private

View File

@ -1,294 +0,0 @@
QT_DEFINES += -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG
QT_INCPATH = \
mkspecs/qws/genode-generic-g++ \
src/3rdparty/harfbuzz/src \
src/3rdparty/md4 \
src/3rdparty/md5 \
src/corelib \
QT_SOURCES = \
qabstractanimation.cpp \
qvariantanimation.cpp \
qpropertyanimation.cpp \
qanimationgroup.cpp \
qsequentialanimationgroup.cpp \
qparallelanimationgroup.cpp \
qpauseanimation.cpp \
qfuture.cpp \
qfutureinterface.cpp \
qfuturesynchronizer.cpp \
qfuturewatcher.cpp \
qrunnable.cpp \
qtconcurrentfilter.cpp \
qtconcurrentmap.cpp \
qtconcurrentresultstore.cpp \
qtconcurrentthreadengine.cpp \
qtconcurrentiteratekernel.cpp \
qtconcurrentexception.cpp \
qthreadpool.cpp \
qglobal.cpp \
qlibraryinfo.cpp \
qmalloc.cpp \
qnumeric.cpp \
qatomic.cpp \
qmutex.cpp \
qreadwritelock.cpp \
qmutexpool.cpp \
qsemaphore.cpp \
qthread.cpp \
qthreadstorage.cpp \
qmutex_unix.cpp \
qthread_unix.cpp \
qwaitcondition_unix.cpp \
qbitarray.cpp \
qbytearray.cpp \
qbytearraymatcher.cpp \
qcryptographichash.cpp \
qdatetime.cpp \
qeasingcurve.cpp \
qelapsedtimer.cpp \
qhash.cpp \
qline.cpp \
qlinkedlist.cpp \
qlist.cpp \
qlocale.cpp \
qlocale_tools.cpp \
qpoint.cpp \
qmap.cpp \
qmargins.cpp \
qcontiguouscache.cpp \
qrect.cpp \
qregexp.cpp \
qshareddata.cpp \
qsharedpointer.cpp \
qsimd.cpp \
qsize.cpp \
qstring.cpp \
qstringbuilder.cpp \
qstringlist.cpp \
qtextboundaryfinder.cpp \
qtimeline.cpp \
qvector.cpp \
qvsnprintf.cpp \
qelapsedtimer_unix.cpp \
qlocale_unix.cpp \
harfbuzz-buffer.c \
harfbuzz-gdef.c \
harfbuzz-gsub.c \
harfbuzz-gpos.c \
harfbuzz-impl.c \
harfbuzz-open.c \
harfbuzz-stream.c \
harfbuzz-shaper-all.cpp \
qharfbuzz.cpp \
qabstractfileengine.cpp \
qbuffer.cpp \
qdatastream.cpp \
qdataurl.cpp \
qtldurl.cpp \
qdebug.cpp \
qdir.cpp \
qdiriterator.cpp \
qfile.cpp \
qfileinfo.cpp \
qiodevice.cpp \
qnoncontiguousbytedevice.cpp \
qprocess.cpp \
qtextstream.cpp \
qtemporaryfile.cpp \
qresource.cpp \
qresource_iterator.cpp \
qurl.cpp \
qsettings.cpp \
qfsfileengine.cpp \
qfsfileengine_iterator.cpp \
qfilesystemwatcher.cpp \
qfilesystementry.cpp \
qfilesystemengine.cpp \
qfsfileengine_unix.cpp \
qfilesystemengine_unix.cpp \
qprocess_unix.cpp \
qfilesystemiterator_unix.cpp \
qpluginloader.cpp \
qfactoryloader.cpp \
quuid.cpp \
qlibrary.cpp \
qelfparser_p.cpp \
qlibrary_unix.cpp \
qabstracteventdispatcher.cpp \
qabstractitemmodel.cpp \
qbasictimer.cpp \
qeventloop.cpp \
qcoreapplication.cpp \
qcoreevent.cpp \
qmetaobject.cpp \
qmetatype.cpp \
qmimedata.cpp \
qobject.cpp \
qobjectcleanuphandler.cpp \
qsignalmapper.cpp \
qsocketnotifier.cpp \
qtimer.cpp \
qtranslator.cpp \
qvariant.cpp \
qcoreglobaldata.cpp \
qsharedmemory.cpp \
qsystemsemaphore.cpp \
qpointer.cpp \
qmath.cpp \
qsystemerror.cpp \
qcore_unix.cpp \
qcrashhandler.cpp \
qsharedmemory_unix.cpp \
qsystemsemaphore_unix.cpp \
qeventdispatcher_unix.cpp \
qisciicodec.cpp \
qlatincodec.cpp \
qsimplecodec.cpp \
qtextcodec.cpp \
qtsciicodec.cpp \
qutfcodec.cpp \
qtextcodecplugin.cpp \
qfontlaocodec.cpp \
qgb18030codec.cpp \
qjpunicode.cpp \
qeucjpcodec.cpp \
qjiscodec.cpp \
qsjiscodec.cpp \
qeuckrcodec.cpp \
qbig5codec.cpp \
qfontjpcodec.cpp \
qstatemachine.cpp \
qabstractstate.cpp \
qstate.cpp \
qfinalstate.cpp \
qhistorystate.cpp \
qabstracttransition.cpp \
qsignaltransition.cpp \
qeventtransition.cpp \
qxmlstream.cpp \
qxmlutils.cpp \
moc_qabstractanimation_p.cpp \
moc_qfuturewatcher.cpp \
moc_qthreadpool.cpp \
moc_qnamespace.cpp \
moc_qthread.cpp \
moc_qeasingcurve.cpp \
moc_qlocale.cpp \
moc_qtimeline.cpp \
moc_qfile.cpp \
moc_qiodevice.cpp \
moc_qnoncontiguousbytedevice_p.cpp \
moc_qtemporaryfile.cpp \
moc_qsettings.cpp \
moc_qfilesystemwatcher_p.cpp \
moc_qpluginloader.cpp \
moc_qlibrary.cpp \
moc_qfactoryloader_p.cpp \
moc_qabstracteventdispatcher.cpp \
moc_qabstractitemmodel.cpp \
moc_qeventloop.cpp \
moc_qcoreapplication.cpp \
moc_qcoreevent.cpp \
moc_qmimedata.cpp \
moc_qsocketnotifier.cpp \
moc_qtimer.cpp \
moc_qtranslator.cpp \
moc_qobjectcleanuphandler.cpp \
moc_qsharedmemory.cpp \
moc_qeventdispatcher_unix_p.cpp \
moc_qtextcodecplugin.cpp \
moc_qabstractstate.cpp \
moc_qstate.cpp \
moc_qfinalstate.cpp \
moc_qhistorystate.cpp \
moc_qabstracttransition.cpp \
moc_qsignaltransition.cpp \
moc_qeventtransition.cpp
QT_VPATH = \
src/3rdparty/harfbuzz/src \
src/corelib/animation \
src/corelib/codecs \
src/corelib/concurrent \
src/corelib/global \
src/corelib/io \
src/corelib/kernel \
src/corelib/plugin \
src/corelib/statemachine \
src/corelib/thread \
src/corelib/tools \
src/corelib/xml \
src/plugins/codecs/cn \
src/plugins/codecs/jp \
src/plugins/codecs/kr \
src/plugins/codecs/tw \
# some source files need to be generated by moc from other source/header files before
# they get #included again by the original source file in the compiling stage
# source files generated from existing header files ('moc_%.cpp: %.h' rule in spec-qt4.mk)
# extracted from 'compiler_moc_header_make_all' target
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
moc_qabstractanimation.cpp \
moc_qabstractanimation_p.cpp \
moc_qvariantanimation.cpp \
moc_qpropertyanimation.cpp \
moc_qanimationgroup.cpp \
moc_qsequentialanimationgroup.cpp \
moc_qparallelanimationgroup.cpp \
moc_qpauseanimation.cpp \
moc_qfuturewatcher.cpp \
moc_qthreadpool.cpp \
moc_qnamespace.cpp \
moc_qthread.cpp \
moc_qeasingcurve.cpp \
moc_qlocale.cpp \
moc_qtimeline.cpp \
moc_qbuffer.cpp \
moc_qfile.cpp \
moc_qiodevice.cpp \
moc_qnoncontiguousbytedevice_p.cpp \
moc_qprocess.cpp \
moc_qtemporaryfile.cpp \
moc_qsettings.cpp \
moc_qfilesystemwatcher.cpp \
moc_qfilesystemwatcher_p.cpp \
moc_qpluginloader.cpp \
moc_qlibrary.cpp \
moc_qfactoryloader_p.cpp \
moc_qabstracteventdispatcher.cpp \
moc_qabstractitemmodel.cpp \
moc_qeventloop.cpp \
moc_qcoreapplication.cpp \
moc_qcoreevent.cpp \
moc_qmimedata.cpp \
moc_qobject.cpp \
moc_qsignalmapper.cpp \
moc_qsocketnotifier.cpp \
moc_qtimer.cpp \
moc_qtranslator.cpp \
moc_qobjectcleanuphandler.cpp \
moc_qsharedmemory.cpp \
moc_qeventdispatcher_unix_p.cpp \
moc_qtextcodecplugin.cpp \
moc_qstatemachine.cpp \
moc_qabstractstate.cpp \
moc_qstate.cpp \
moc_qfinalstate.cpp \
moc_qhistorystate.cpp \
moc_qabstracttransition.cpp \
moc_qsignaltransition.cpp \
moc_qeventtransition.cpp
# source files generated from existing source files ('%.moc: %.cpp' rule in spec-qt4.mk)
# extracted from 'compiler_moc_source_make_all' rule
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
qtextstream.moc \
qfilesystemwatcher.moc \
qprocess_unix.moc \
qtimer.moc

View File

@ -1,60 +0,0 @@
include $(REP_DIR)/lib/import/import-qt_gui.mk
SHARED_LIB = yes
# use default warning level to avoid noise when compiling contrib code
CC_WARN = -Wno-unused-but-set-variable -Wno-deprecated-declarations
include $(REP_DIR)/lib/mk/qt_gui_generated.inc
QT_DEFINES += -DQT_NO_QWS_SIGNALHANDLER
# add Genode-specific sources
QT_SOURCES += qkbdpc101_qws.cpp \
qwindowsurface_nitpicker_qws.cpp \
moc_qwindowsurface_nitpicker_qws_p.cpp \
qscreennitpicker_qws.cpp \
qmousenitpicker_qws.cpp \
qkbdnitpicker_qws.cpp \
qinputnitpicker_qws.cpp \
moc_qinputnitpicker_qws.cpp
# remove unneeded files to prevent moc warnings
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
moc_qsoundqss_qws.cpp \
moc_qcopchannel_qws.cpp \
moc_qtransportauth_qws.cpp \
moc_qtransportauth_qws_p.cpp \
moc_qwssocket_qws.cpp \
moc_qsessionmanager.cpp \
moc_qsound.cpp \
moc_qsound_p.cpp \
moc_qmenudata.cpp \
moc_qprintpreviewwidget.cpp \
moc_qabstractprintdialog.cpp \
moc_qabstractpagesetupdialog.cpp \
moc_qpagesetupdialog.cpp \
moc_qprintdialog.cpp \
moc_qprintpreviewdialog.cpp \
moc_qpagesetupdialog_unix_p.cpp
COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTER_OUT = \
qsoundqss_qws.moc \
qcopchannel_qws.moc \
qsound_qws.moc \
qprintpreviewwidget.moc \
qprintdialog_unix.moc \
qprintpreviewdialog.moc
# UI headers
qfiledialog.o: ui_qfiledialog.h
include $(REP_DIR)/lib/mk/qt.inc
INC_DIR += $(REP_DIR)/include/qt4/QtGui/private \
$(REP_DIR)/contrib/$(QT4)/include/QtGui/private
LIBS += qt_core libpng zlib libc libm freetype jpeg
vpath % $(REP_DIR)/include/qt4/QtGui
vpath % $(REP_DIR)/include/qt4/QtGui/private

View File

@ -1,762 +0,0 @@
QT_DEFINES += -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_FONTCONFIG -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB
QT_INCPATH = \
mkspecs/qws/genode-generic-g++ \
src/3rdparty/harfbuzz/src \
src/gui \
src/gui/dialogs \
src/gui/image \
QT_SOURCES = \
qsoundqss_qws.cpp \
qcopchannel_qws.cpp \
qdecoration_qws.cpp \
qdecorationfactory_qws.cpp \
qdecorationplugin_qws.cpp \
qdirectpainter_qws.cpp \
qlock.cpp \
qscreen_qws.cpp \
qscreenmulti_qws.cpp \
qscreenproxy_qws.cpp \
qwindowsystem_qws.cpp \
qwscommand_qws.cpp \
qwscursor_qws.cpp \
qwsevent_qws.cpp \
qwsmanager_qws.cpp \
qwsproperty_qws.cpp \
qtransportauth_qws.cpp \
qwslock.cpp \
qwssharedmemory.cpp \
qwssocket_qws.cpp \
qwssignalhandler.cpp \
qwsembedwidget.cpp \
qdecorationdefault_qws.cpp \
qdecorationstyled_qws.cpp \
qdecorationwindows_qws.cpp \
qscreendriverplugin_qws.cpp \
qscreendriverfactory_qws.cpp \
qkbd_qws.cpp \
qkbddriverplugin_qws.cpp \
qkbddriverfactory_qws.cpp \
qmouse_qws.cpp \
qmousedriverplugin_qws.cpp \
qmousedriverfactory_qws.cpp \
qguivariantanimation.cpp \
qaction.cpp \
qactiongroup.cpp \
qapplication.cpp \
qboxlayout.cpp \
qclipboard.cpp \
qcursor.cpp \
qdrag.cpp \
qdnd.cpp \
qevent.cpp \
qformlayout.cpp \
qgridlayout.cpp \
qkeysequence.cpp \
qlayout.cpp \
qlayoutengine.cpp \
qlayoutitem.cpp \
qmime.cpp \
qpalette.cpp \
qshortcut.cpp \
qshortcutmap.cpp \
qstackedlayout.cpp \
qtooltip.cpp \
qguivariant.cpp \
qwhatsthis.cpp \
qwidget.cpp \
qwidgetaction.cpp \
qkeymapper.cpp \
qgesture.cpp \
qstandardgestures.cpp \
qgesturerecognizer.cpp \
qgesturemanager.cpp \
qsoftkeymanager.cpp \
qdesktopwidget.cpp \
qguiplatformplugin.cpp \
qapplication_qws.cpp \
qclipboard_qws.cpp \
qcursor_qws.cpp \
qdesktopwidget_qws.cpp \
qdnd_qws.cpp \
qeventdispatcher_qws.cpp \
qsound_qws.cpp \
qwidget_qws.cpp \
qkeymapper_qws.cpp \
qsessionmanager_qws.cpp \
qsound.cpp \
qbitmap.cpp \
qicon.cpp \
qiconloader.cpp \
qimage.cpp \
qimageiohandler.cpp \
qimagereader.cpp \
qimagewriter.cpp \
qpaintengine_pic.cpp \
qpicture.cpp \
qpictureformatplugin.cpp \
qpixmap.cpp \
qpixmapcache.cpp \
qpixmapdata.cpp \
qpixmapdatafactory.cpp \
qpixmapfilter.cpp \
qiconengine.cpp \
qiconengineplugin.cpp \
qmovie.cpp \
qpixmap_raster.cpp \
qpixmap_blitter.cpp \
qnativeimage.cpp \
qimagepixmapcleanuphooks.cpp \
qvolatileimage.cpp \
qpixmap_qws.cpp \
qvolatileimagedata.cpp \
qbmphandler.cpp \
qppmhandler.cpp \
qxbmhandler.cpp \
qxpmhandler.cpp \
qpnghandler.cpp \
qjpeghandler.cpp \
qgifhandler.cpp \
qbezier.cpp \
qblendfunctions.cpp \
qbrush.cpp \
qcolor.cpp \
qcolor_p.cpp \
qcosmeticstroker.cpp \
qcssutil.cpp \
qdrawutil.cpp \
qemulationpaintengine.cpp \
qgraphicssystem.cpp \
qmatrix.cpp \
qmemrotate.cpp \
qoutlinemapper.cpp \
qpaintdevice.cpp \
qpaintengine.cpp \
qpaintengine_alpha.cpp \
qpaintengine_preview.cpp \
qpaintengineex.cpp \
qpainter.cpp \
qpainterpath.cpp \
qpathclipper.cpp \
qpdf.cpp \
qpen.cpp \
qpolygon.cpp \
qprintengine_pdf.cpp \
qprintengine_ps.cpp \
qprinter.cpp \
qprinterinfo.cpp \
qrasterizer.cpp \
qregion.cpp \
qstroker.cpp \
qstylepainter.cpp \
qtessellator.cpp \
qtextureglyphcache.cpp \
qtransform.cpp \
qwindowsurface.cpp \
qpaintbuffer.cpp \
qpaintengine_raster.cpp \
qdrawhelper.cpp \
qimagescale.cpp \
qgrayraster.c \
qpaintengine_blitter.cpp \
qblittable.cpp \
qgraphicssystem_qws.cpp \
qprinterinfo_unix.cpp \
qbackingstore.cpp \
qcolormap_qws.cpp \
qpaintdevice_qws.cpp \
qcups.cpp \
qwindowsurface_qws.cpp \
qfont.cpp \
qfontengine.cpp \
qfontsubset.cpp \
qfontmetrics.cpp \
qfontdatabase.cpp \
qtextcontrol.cpp \
qtextengine.cpp \
qtextlayout.cpp \
qtextformat.cpp \
qtextobject.cpp \
qtextoption.cpp \
qfragmentmap.cpp \
qtextdocument.cpp \
qtextdocument_p.cpp \
qtexthtmlparser.cpp \
qabstracttextdocumentlayout.cpp \
qtextdocumentlayout.cpp \
qtextcursor.cpp \
qtextdocumentfragment.cpp \
qtextimagehandler.cpp \
qtexttable.cpp \
qtextlist.cpp \
qtextdocumentwriter.cpp \
qsyntaxhighlighter.cpp \
qcssparser.cpp \
qzip.cpp \
qtextodfwriter.cpp \
qstatictext.cpp \
qrawfont.cpp \
qglyphrun.cpp \
qfont_qws.cpp \
qfontengine_qws.cpp \
qfontengine_ft.cpp \
qfontengine_qpf.cpp \
qabstractfontengine_qws.cpp \
qrawfont_ft.cpp \
qstyle.cpp \
qstylefactory.cpp \
qstyleoption.cpp \
qstyleplugin.cpp \
qstylehelper.cpp \
qcommonstyle.cpp \
qproxystyle.cpp \
qstylesheetstyle.cpp \
qstylesheetstyle_default.cpp \
qcdestyle.cpp \
qplastiquestyle.cpp \
qcleanlooksstyle.cpp \
qwindowsstyle.cpp \
qmotifstyle.cpp \
qabstractbutton.cpp \
qabstractslider.cpp \
qabstractspinbox.cpp \
qcalendarwidget.cpp \
qcheckbox.cpp \
qcombobox.cpp \
qcommandlinkbutton.cpp \
qdatetimeedit.cpp \
qdial.cpp \
qdialogbuttonbox.cpp \
qdockwidget.cpp \
qdockarealayout.cpp \
qeffects.cpp \
qfontcombobox.cpp \
qframe.cpp \
qgroupbox.cpp \
qlabel.cpp \
qlcdnumber.cpp \
qlineedit_p.cpp \
qlineedit.cpp \
qlinecontrol.cpp \
qmainwindow.cpp \
qmainwindowlayout.cpp \
qmdiarea.cpp \
qmdisubwindow.cpp \
qmenu.cpp \
qmenubar.cpp \
qmenudata.cpp \
qprogressbar.cpp \
qpushbutton.cpp \
qradiobutton.cpp \
qrubberband.cpp \
qscrollbar.cpp \
qsizegrip.cpp \
qslider.cpp \
qspinbox.cpp \
qsplashscreen.cpp \
qsplitter.cpp \
qstackedwidget.cpp \
qstatusbar.cpp \
qtabbar.cpp \
qtabwidget.cpp \
qtextedit.cpp \
qtextbrowser.cpp \
qtoolbar.cpp \
qtoolbarlayout.cpp \
qtoolbarextension.cpp \
qtoolbarseparator.cpp \
qtoolbox.cpp \
qtoolbutton.cpp \
qvalidator.cpp \
qabstractscrollarea.cpp \
qwidgetresizehandler.cpp \
qfocusframe.cpp \
qscrollarea.cpp \
qworkspace.cpp \
qwidgetanimator.cpp \
qtoolbararealayout.cpp \
qplaintextedit.cpp \
qprintpreviewwidget.cpp \
qprintdialog_unix.cpp \
qpagesetupdialog_unix.cpp \
qabstractprintdialog.cpp \
qabstractpagesetupdialog.cpp \
qcolordialog.cpp \
qdialog.cpp \
qerrormessage.cpp \
qfiledialog.cpp \
qfontdialog.cpp \
qinputdialog.cpp \
qmessagebox.cpp \
qprogressdialog.cpp \
qsidebar.cpp \
qfilesystemmodel.cpp \
qfileinfogatherer.cpp \
qpagesetupdialog.cpp \
qwizard.cpp \
qprintpreviewdialog.cpp \
qabstractitemview.cpp \
qheaderview.cpp \
qidentityproxymodel.cpp \
qlistview.cpp \
qbsptree.cpp \
qtableview.cpp \
qtreeview.cpp \
qabstractitemdelegate.cpp \
qitemdelegate.cpp \
qitemselectionmodel.cpp \
qdirmodel.cpp \
qlistwidget.cpp \
qtablewidget.cpp \
qtreewidget.cpp \
qproxymodel.cpp \
qabstractproxymodel.cpp \
qsortfilterproxymodel.cpp \
qitemeditorfactory.cpp \
qstandarditemmodel.cpp \
qstringlistmodel.cpp \
qtreewidgetitemiterator.cpp \
qdatawidgetmapper.cpp \
qfileiconprovider.cpp \
qcolumnview.cpp \
qcolumnviewgrip.cpp \
qstyleditemdelegate.cpp \
qinputcontextfactory.cpp \
qinputcontextplugin.cpp \
qinputcontext.cpp \
qwsinputcontext_qws.cpp \
qgraphicsgridlayout.cpp \
qgraphicsitem.cpp \
qgraphicsitemanimation.cpp \
qgraphicslayout.cpp \
qgraphicslayout_p.cpp \
qgraphicslayoutitem.cpp \
qgraphicslinearlayout.cpp \
qgraphicsproxywidget.cpp \
qgraphicsscene.cpp \
qgraphicsscene_bsp.cpp \
qgraphicsscenebsptreeindex.cpp \
qgraphicssceneevent.cpp \
qgraphicssceneindex.cpp \
qgraphicsscenelinearindex.cpp \
qgraphicstransform.cpp \
qgraphicsview.cpp \
qgraphicswidget.cpp \
qgraphicswidget_p.cpp \
qgridlayoutengine.cpp \
qsimplex_p.cpp \
qgraphicsanchorlayout_p.cpp \
qgraphicsanchorlayout.cpp \
qsystemtrayicon.cpp \
qcompleter.cpp \
qdesktopservices.cpp \
qundogroup.cpp \
qundostack.cpp \
qundoview.cpp \
qsystemtrayicon_qws.cpp \
qguistatemachine.cpp \
qkeyeventtransition.cpp \
qmouseeventtransition.cpp \
qbasickeyeventtransition.cpp \
qbasicmouseeventtransition.cpp \
qgenericmatrix.cpp \
qmatrix4x4.cpp \
qquaternion.cpp \
qvector2d.cpp \
qvector3d.cpp \
qvector4d.cpp \
qgraphicseffect.cpp \
moc_qsoundqss_qws.cpp \
moc_qcopchannel_qws.cpp \
moc_qdecorationplugin_qws.cpp \
moc_qdirectpainter_qws.cpp \
moc_qwsmanager_qws.cpp \
moc_qtransportauth_qws.cpp \
moc_qwssocket_qws.cpp \
moc_qwsembedwidget.cpp \
moc_qscreendriverplugin_qws.cpp \
moc_qkbddriverplugin_qws.cpp \
moc_qmousedriverplugin_qws.cpp \
moc_qboxlayout.cpp \
moc_qclipboard.cpp \
moc_qdesktopwidget.cpp \
moc_qdrag.cpp \
moc_qdnd_p.cpp \
moc_qformlayout.cpp \
moc_qgridlayout.cpp \
moc_qlayout.cpp \
moc_qsessionmanager.cpp \
moc_qshortcut.cpp \
moc_qsizepolicy.cpp \
moc_qpalette.cpp \
moc_qstackedlayout.cpp \
moc_qkeymapper_p.cpp \
moc_qsoftkeymanager_p.cpp \
moc_qguiplatformplugin_p.cpp \
moc_qeventdispatcher_qws_p.cpp \
moc_qsound.cpp \
moc_qsound_p.cpp \
moc_qiconengineplugin.cpp \
moc_qimageiohandler.cpp \
moc_qpictureformatplugin.cpp \
moc_qpixmapfilter_p.cpp \
moc_qbrush.cpp \
moc_qpainter.cpp \
moc_qpaintbuffer_p.cpp \
moc_qfont.cpp \
moc_qfontdatabase.cpp \
moc_qfont_p.cpp \
moc_qtextformat.cpp \
moc_qtextobject.cpp \
moc_qtextdocument.cpp \
moc_qtextimagehandler_p.cpp \
moc_qtexttable.cpp \
moc_qtextlist.cpp \
moc_qabstractfontengine_qws.cpp \
moc_qabstractfontengine_p.cpp \
moc_qstyle.cpp \
moc_qstyleplugin.cpp \
moc_qcommonstyle.cpp \
moc_qproxystyle.cpp \
moc_qcdestyle.cpp \
moc_qplastiquestyle.cpp \
moc_qcleanlooksstyle.cpp \
moc_qwindowsstyle.cpp \
moc_qmotifstyle.cpp \
moc_qbuttongroup.cpp \
moc_qabstractbutton.cpp \
moc_qabstractslider.cpp \
moc_qcalendartextnavigator_p.cpp \
moc_qcheckbox.cpp \
moc_qcombobox_p.cpp \
moc_qcommandlinkbutton.cpp \
moc_qdatetimeedit_p.cpp \
moc_qdial.cpp \
moc_qdockwidget_p.cpp \
moc_qframe.cpp \
moc_qlcdnumber.cpp \
moc_qlinecontrol_p.cpp \
moc_qmainwindow.cpp \
moc_qmainwindowlayout_p.cpp \
moc_qmenudata.cpp \
moc_qprogressbar.cpp \
moc_qradiobutton.cpp \
moc_qrubberband.cpp \
moc_qscrollbar.cpp \
moc_qslider.cpp \
moc_qspinbox.cpp \
moc_qsplashscreen.cpp \
moc_qsplitter.cpp \
moc_qstackedwidget.cpp \
moc_qstatusbar.cpp \
moc_qtabbar_p.cpp \
moc_qtoolbarlayout_p.cpp \
moc_qtoolbarextension_p.cpp \
moc_qtoolbarseparator_p.cpp \
moc_qvalidator.cpp \
moc_qwidgetresizehandler_p.cpp \
moc_qfocusframe.cpp \
moc_qscrollarea.cpp \
moc_qwidgetanimator_p.cpp \
moc_qabstractprintdialog.cpp \
moc_qabstractpagesetupdialog.cpp \
moc_qerrormessage.cpp \
moc_qsidebar_p.cpp \
moc_qfileinfogatherer_p.cpp \
moc_qpagesetupdialog_unix_p.cpp \
moc_qlistview.cpp \
moc_qabstractitemdelegate.cpp \
moc_qlistwidget_p.cpp \
moc_qtablewidget_p.cpp \
moc_qtreewidget_p.cpp \
moc_qitemeditorfactory_p.cpp \
moc_qstringlistmodel.cpp \
moc_qcolumnviewgrip_p.cpp \
moc_qinputcontextplugin.cpp \
moc_qinputcontext.cpp \
moc_qwsinputcontext_p.cpp \
moc_qgraphicsitemanimation.cpp \
moc_qgraphicsscenelinearindex_p.cpp \
moc_qgraphicsanchorlayout.cpp \
moc_qsystemtrayicon.cpp \
moc_qcompleter_p.cpp \
moc_qsystemtrayicon_p.cpp \
moc_qundogroup.cpp \
moc_qundostack.cpp \
moc_qundostack_p.cpp \
moc_qundoview.cpp \
moc_qkeyeventtransition.cpp \
moc_qmouseeventtransition.cpp \
moc_qbasickeyeventtransition_p.cpp \
moc_qbasicmouseeventtransition_p.cpp \
moc_qgraphicseffect.cpp \
moc_qgraphicseffect_p.cpp \
qrc_qstyle.cpp \
qrc_qmessagebox.cpp
QT_VPATH = \
src/gui/animation \
src/gui/dialogs \
src/gui/effects \
src/gui/embedded \
src/gui/graphicsview \
src/gui/image \
src/gui/inputmethod \
src/gui/itemviews \
src/gui/kernel \
src/gui/math3d \
src/gui/painting \
src/gui/statemachine \
src/gui/styles \
src/gui/text \
src/gui/util \
src/gui/widgets \
# some source files need to be generated by moc from other source/header files before
# they get #included again by the original source file in the compiling stage
# source files generated from existing header files ('moc_%.cpp: %.h' rule in spec-qt4.mk)
# extracted from 'compiler_moc_header_make_all' target
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
moc_qsoundqss_qws.cpp \
moc_qcopchannel_qws.cpp \
moc_qdecorationplugin_qws.cpp \
moc_qdirectpainter_qws.cpp \
moc_qwindowsystem_qws.cpp \
moc_qwsmanager_qws.cpp \
moc_qtransportauth_qws.cpp \
moc_qtransportauth_qws_p.cpp \
moc_qwssocket_qws.cpp \
moc_qwsembedwidget.cpp \
moc_qscreendriverplugin_qws.cpp \
moc_qkbddriverplugin_qws.cpp \
moc_qmousedriverplugin_qws.cpp \
moc_qaction.cpp \
moc_qactiongroup.cpp \
moc_qapplication.cpp \
moc_qboxlayout.cpp \
moc_qclipboard.cpp \
moc_qdesktopwidget.cpp \
moc_qdrag.cpp \
moc_qdnd_p.cpp \
moc_qformlayout.cpp \
moc_qgridlayout.cpp \
moc_qlayout.cpp \
moc_qsessionmanager.cpp \
moc_qshortcut.cpp \
moc_qsizepolicy.cpp \
moc_qpalette.cpp \
moc_qstackedlayout.cpp \
moc_qwidget.cpp \
moc_qwidgetaction.cpp \
moc_qkeymapper_p.cpp \
moc_qgesture.cpp \
moc_qgesturemanager_p.cpp \
moc_qsoftkeymanager_p.cpp \
moc_qguiplatformplugin_p.cpp \
moc_qeventdispatcher_qws_p.cpp \
moc_qsound.cpp \
moc_qsound_p.cpp \
moc_qiconengineplugin.cpp \
moc_qimageiohandler.cpp \
moc_qmovie.cpp \
moc_qpictureformatplugin.cpp \
moc_qpixmapfilter_p.cpp \
moc_qbrush.cpp \
moc_qpainter.cpp \
moc_qpaintbuffer_p.cpp \
moc_qfont.cpp \
moc_qfontdatabase.cpp \
moc_qfont_p.cpp \
moc_qtextcontrol_p.cpp \
moc_qtextformat.cpp \
moc_qtextobject.cpp \
moc_qtextdocument.cpp \
moc_qabstracttextdocumentlayout.cpp \
moc_qtextdocumentlayout_p.cpp \
moc_qtextimagehandler_p.cpp \
moc_qtexttable.cpp \
moc_qtextlist.cpp \
moc_qsyntaxhighlighter.cpp \
moc_qabstractfontengine_qws.cpp \
moc_qabstractfontengine_p.cpp \
moc_qstyle.cpp \
moc_qstyleplugin.cpp \
moc_qcommonstyle.cpp \
moc_qproxystyle.cpp \
moc_qstylesheetstyle_p.cpp \
moc_qcdestyle.cpp \
moc_qplastiquestyle.cpp \
moc_qcleanlooksstyle.cpp \
moc_qwindowsstyle.cpp \
moc_qmotifstyle.cpp \
moc_qbuttongroup.cpp \
moc_qabstractbutton.cpp \
moc_qabstractslider.cpp \
moc_qabstractspinbox.cpp \
moc_qcalendartextnavigator_p.cpp \
moc_qcalendarwidget.cpp \
moc_qcheckbox.cpp \
moc_qcombobox.cpp \
moc_qcombobox_p.cpp \
moc_qcommandlinkbutton.cpp \
moc_qdatetimeedit.cpp \
moc_qdatetimeedit_p.cpp \
moc_qdial.cpp \
moc_qdialogbuttonbox.cpp \
moc_qdockwidget.cpp \
moc_qdockwidget_p.cpp \
moc_qfontcombobox.cpp \
moc_qframe.cpp \
moc_qgroupbox.cpp \
moc_qlabel.cpp \
moc_qlcdnumber.cpp \
moc_qlineedit.cpp \
moc_qlinecontrol_p.cpp \
moc_qmainwindow.cpp \
moc_qmainwindowlayout_p.cpp \
moc_qmdiarea.cpp \
moc_qmdisubwindow.cpp \
moc_qmenu.cpp \
moc_qmenubar.cpp \
moc_qmenudata.cpp \
moc_qprogressbar.cpp \
moc_qpushbutton.cpp \
moc_qradiobutton.cpp \
moc_qrubberband.cpp \
moc_qscrollbar.cpp \
moc_qsizegrip.cpp \
moc_qslider.cpp \
moc_qspinbox.cpp \
moc_qsplashscreen.cpp \
moc_qsplitter.cpp \
moc_qstackedwidget.cpp \
moc_qstatusbar.cpp \
moc_qtabbar.cpp \
moc_qtabbar_p.cpp \
moc_qtabwidget.cpp \
moc_qtextedit.cpp \
moc_qtextbrowser.cpp \
moc_qtoolbar.cpp \
moc_qtoolbarlayout_p.cpp \
moc_qtoolbarextension_p.cpp \
moc_qtoolbarseparator_p.cpp \
moc_qtoolbox.cpp \
moc_qtoolbutton.cpp \
moc_qvalidator.cpp \
moc_qabstractscrollarea.cpp \
moc_qabstractscrollarea_p.cpp \
moc_qwidgetresizehandler_p.cpp \
moc_qfocusframe.cpp \
moc_qscrollarea.cpp \
moc_qworkspace.cpp \
moc_qwidgetanimator_p.cpp \
moc_qplaintextedit.cpp \
moc_qplaintextedit_p.cpp \
moc_qprintpreviewwidget.cpp \
moc_qabstractprintdialog.cpp \
moc_qabstractpagesetupdialog.cpp \
moc_qcolordialog.cpp \
moc_qdialog.cpp \
moc_qerrormessage.cpp \
moc_qfiledialog.cpp \
moc_qfontdialog.cpp \
moc_qinputdialog.cpp \
moc_qmessagebox.cpp \
moc_qpagesetupdialog.cpp \
moc_qprintdialog.cpp \
moc_qprogressdialog.cpp \
moc_qsidebar_p.cpp \
moc_qfilesystemmodel.cpp \
moc_qfileinfogatherer_p.cpp \
moc_qwizard.cpp \
moc_qprintpreviewdialog.cpp \
moc_qpagesetupdialog_unix_p.cpp \
moc_qabstractitemview.cpp \
moc_qheaderview.cpp \
moc_qidentityproxymodel.cpp \
moc_qlistview.cpp \
moc_qtableview.cpp \
moc_qtreeview.cpp \
moc_qabstractitemdelegate.cpp \
moc_qitemdelegate.cpp \
moc_qitemselectionmodel.cpp \
moc_qdirmodel.cpp \
moc_qlistwidget.cpp \
moc_qlistwidget_p.cpp \
moc_qtablewidget.cpp \
moc_qtablewidget_p.cpp \
moc_qtreewidget.cpp \
moc_qtreewidget_p.cpp \
moc_qproxymodel.cpp \
moc_qabstractproxymodel.cpp \
moc_qsortfilterproxymodel.cpp \
moc_qitemeditorfactory_p.cpp \
moc_qstandarditemmodel.cpp \
moc_qstringlistmodel.cpp \
moc_qdatawidgetmapper.cpp \
moc_qcolumnviewgrip_p.cpp \
moc_qcolumnview.cpp \
moc_qstyleditemdelegate.cpp \
moc_qinputcontextplugin.cpp \
moc_qinputcontext.cpp \
moc_qwsinputcontext_p.cpp \
moc_qgraphicsitem.cpp \
moc_qgraphicsitemanimation.cpp \
moc_qgraphicsproxywidget.cpp \
moc_qgraphicsscene.cpp \
moc_qgraphicsscenebsptreeindex_p.cpp \
moc_qgraphicssceneindex_p.cpp \
moc_qgraphicsscenelinearindex_p.cpp \
moc_qgraphicstransform.cpp \
moc_qgraphicsview.cpp \
moc_qgraphicswidget.cpp \
moc_qgraphicsanchorlayout.cpp \
moc_qsystemtrayicon.cpp \
moc_qcompleter.cpp \
moc_qcompleter_p.cpp \
moc_qsystemtrayicon_p.cpp \
moc_qundogroup.cpp \
moc_qundostack.cpp \
moc_qundostack_p.cpp \
moc_qundoview.cpp \
moc_qkeyeventtransition.cpp \
moc_qmouseeventtransition.cpp \
moc_qbasickeyeventtransition_p.cpp \
moc_qbasicmouseeventtransition_p.cpp \
moc_qgraphicseffect.cpp \
moc_qgraphicseffect_p.cpp
# source files generated from existing source files ('%.moc: %.cpp' rule in spec-qt4.mk)
# extracted from 'compiler_moc_source_make_all' rule
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
qsoundqss_qws.moc \
qcopchannel_qws.moc \
qkbd_qws.moc \
qtooltip.moc \
qwhatsthis.moc \
qsound_qws.moc \
qpixmapcache.moc \
qcalendarwidget.moc \
qdockwidget.moc \
qeffects.moc \
qfontcombobox.moc \
qmdisubwindow.moc \
qmenu.moc \
qtoolbox.moc \
qworkspace.moc \
qprintpreviewwidget.moc \
qprintdialog_unix.moc \
qcolordialog.moc \
qfontdialog.moc \
qinputdialog.moc \
qprintpreviewdialog.moc \
qtableview.moc \
qlistwidget.moc \
qitemeditorfactory.moc \
qdesktopservices.moc \
qundoview.moc

View File

@ -1,25 +0,0 @@
include $(REP_DIR)/lib/import/import-qt_jscore.mk
SHARED_LIB = yes
# additional defines for the Genode version
CC_OPT += -DSQLITE_NO_SYNC=1 -DSQLITE_THREADSAFE=0
# enable C++ functions that use C99 math functions (disabled by default in the Genode tool chain)
CC_CXX_OPT += -D_GLIBCXX_USE_C99_MATH
# use default warning level to avoid noise when compiling contrib code
CC_WARN =
# some parts of the library are not C++11 compatible
CC_CXX_OPT_STD =
# StackBounds includes Genode headers, which rely on C++11. Hence, we need
# to selectively enable C++11 for this compilation unit.
CC_OPT_StackBounds = -std=gnu++11
include $(REP_DIR)/lib/mk/qt_jscore_generated.inc
include $(REP_DIR)/lib/mk/qt.inc
LIBS += qt_network qt_core libc libm

View File

@ -1,258 +0,0 @@
QT_DEFINES += -DNDEBUG -DBUILDING_QT__=1 -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DBUILDING_JavaScriptCore -DBUILDING_WTF -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB
QT_INCPATH = \
mkspecs/qws/genode-generic-g++ \
src/3rdparty/webkit/include \
src/3rdparty/webkit/Source \
src/3rdparty/webkit/Source/JavaScriptCore \
src/3rdparty/webkit/Source/JavaScriptCore/API \
src/3rdparty/webkit/Source/JavaScriptCore/assembler \
src/3rdparty/webkit/Source/JavaScriptCore/bytecode \
src/3rdparty/webkit/Source/JavaScriptCore/bytecompiler \
src/3rdparty/webkit/Source/JavaScriptCore/debugger \
src/3rdparty/webkit/Source/JavaScriptCore/dfg \
src/3rdparty/webkit/Source/JavaScriptCore/ForwardingHeaders \
src/3rdparty/webkit/Source/JavaScriptCore/generated \
src/3rdparty/webkit/Source/JavaScriptCore/heap \
src/3rdparty/webkit/Source/JavaScriptCore/interpreter \
src/3rdparty/webkit/Source/JavaScriptCore/jit \
src/3rdparty/webkit/Source/JavaScriptCore/parser \
src/3rdparty/webkit/Source/JavaScriptCore/profiler \
src/3rdparty/webkit/Source/JavaScriptCore/runtime \
src/3rdparty/webkit/Source/JavaScriptCore/wtf \
src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject \
src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian \
src/3rdparty/webkit/Source/JavaScriptCore/wtf/unicode \
src/3rdparty/webkit/Source/JavaScriptCore/yarr \
src/3rdparty/webkit/Source/ThirdParty \
QT_SOURCES = \
YarrInterpreter.cpp \
YarrPattern.cpp \
YarrSyntaxChecker.cpp \
Assertions.cpp \
ByteArray.cpp \
CryptographicallyRandomNumber.cpp \
CurrentTime.cpp \
DateMath.cpp \
dtoa.cpp \
DecimalNumber.cpp \
FastMalloc.cpp \
GOwnPtr.cpp \
GRefPtr.cpp \
HashTable.cpp \
MD5.cpp \
MainThread.cpp \
NullPtr.cpp \
OSRandomSource.cpp \
MainThreadQt.cpp \
StringQt.cpp \
ThreadingQt.cpp \
PageAllocationAligned.cpp \
PageBlock.cpp \
ParallelJobsGeneric.cpp \
RandomNumber.cpp \
RefCountedLeakCounter.cpp \
SHA1.cpp \
StackBounds.cpp \
TCSystemAlloc.cpp \
ThreadingNone.cpp \
Threading.cpp \
TypeTraits.cpp \
WTFThreadData.cpp \
AtomicString.cpp \
CString.cpp \
StringBuilder.cpp \
StringImpl.cpp \
StringStatics.cpp \
WTFString.cpp \
CollatorDefault.cpp \
CollatorICU.cpp \
UTF8.cpp \
OSAllocatorPosix.cpp \
JSBase.cpp \
JSCallbackConstructor.cpp \
JSCallbackFunction.cpp \
JSCallbackObject.cpp \
JSClassRef.cpp \
JSContextRef.cpp \
JSObjectRef.cpp \
JSStringRef.cpp \
JSValueRef.cpp \
OpaqueJSString.cpp \
ARMAssembler.cpp \
ARMv7Assembler.cpp \
MacroAssemblerARM.cpp \
MacroAssemblerSH4.cpp \
CodeBlock.cpp \
JumpTable.cpp \
Opcode.cpp \
SamplingTool.cpp \
StructureStubInfo.cpp \
BytecodeGenerator.cpp \
NodesCodegen.cpp \
ConservativeRoots.cpp \
HandleHeap.cpp \
HandleStack.cpp \
Heap.cpp \
MachineStackMarker.cpp \
MarkStack.cpp \
MarkStackPosix.cpp \
MarkStackSymbian.cpp \
MarkStackWin.cpp \
MarkedBlock.cpp \
MarkedSpace.cpp \
DebuggerActivation.cpp \
DebuggerCallFrame.cpp \
Debugger.cpp \
DFGByteCodeParser.cpp \
DFGGraph.cpp \
DFGJITCodeGenerator.cpp \
DFGJITCompiler.cpp \
DFGNonSpeculativeJIT.cpp \
DFGOperations.cpp \
DFGSpeculativeJIT.cpp \
CallFrame.cpp \
Interpreter.cpp \
RegisterFile.cpp \
ExecutableAllocatorFixedVMPool.cpp \
ExecutableAllocator.cpp \
JITArithmetic.cpp \
JITArithmetic32_64.cpp \
JITCall.cpp \
JITCall32_64.cpp \
JIT.cpp \
JITOpcodes.cpp \
JITOpcodes32_64.cpp \
JITPropertyAccess.cpp \
JITPropertyAccess32_64.cpp \
JITStubs.cpp \
ThunkGenerators.cpp \
JSParser.cpp \
Lexer.cpp \
Nodes.cpp \
ParserArena.cpp \
Parser.cpp \
SourceProviderCache.cpp \
Profile.cpp \
ProfileGenerator.cpp \
ProfileNode.cpp \
Profiler.cpp \
ArgList.cpp \
Arguments.cpp \
ArrayConstructor.cpp \
ArrayPrototype.cpp \
BooleanConstructor.cpp \
BooleanObject.cpp \
BooleanPrototype.cpp \
CallData.cpp \
CommonIdentifiers.cpp \
Completion.cpp \
ConstructData.cpp \
DateConstructor.cpp \
DateConversion.cpp \
DateInstance.cpp \
DatePrototype.cpp \
ErrorConstructor.cpp \
Error.cpp \
ErrorInstance.cpp \
ErrorPrototype.cpp \
ExceptionHelpers.cpp \
Executable.cpp \
FunctionConstructor.cpp \
FunctionPrototype.cpp \
GCActivityCallback.cpp \
GetterSetter.cpp \
Identifier.cpp \
InitializeThreading.cpp \
InternalFunction.cpp \
JSActivation.cpp \
JSAPIValueWrapper.cpp \
JSArray.cpp \
JSByteArray.cpp \
JSCell.cpp \
JSFunction.cpp \
JSGlobalData.cpp \
JSGlobalObject.cpp \
JSGlobalObjectFunctions.cpp \
JSLock.cpp \
JSNotAnObject.cpp \
JSObject.cpp \
JSObjectWithGlobalObject.cpp \
JSONObject.cpp \
JSPropertyNameIterator.cpp \
JSStaticScopeObject.cpp \
JSString.cpp \
JSValue.cpp \
JSVariableObject.cpp \
JSWrapperObject.cpp \
LiteralParser.cpp \
Lookup.cpp \
MathObject.cpp \
NativeErrorConstructor.cpp \
NativeErrorPrototype.cpp \
NumberConstructor.cpp \
NumberObject.cpp \
NumberPrototype.cpp \
ObjectConstructor.cpp \
ObjectPrototype.cpp \
Operations.cpp \
PropertyDescriptor.cpp \
PropertyNameArray.cpp \
PropertySlot.cpp \
RegExpConstructor.cpp \
RegExp.cpp \
RegExpObject.cpp \
RegExpPrototype.cpp \
RegExpCache.cpp \
RopeImpl.cpp \
ScopeChain.cpp \
SmallStrings.cpp \
StrictEvalActivation.cpp \
StringConstructor.cpp \
StringObject.cpp \
StringPrototype.cpp \
StringRecursionChecker.cpp \
StructureChain.cpp \
Structure.cpp \
TimeoutChecker.cpp \
UString.cpp \
YarrJIT.cpp
QT_VPATH = \
src/3rdparty/webkit/Source/JavaScriptCore/API \
src/3rdparty/webkit/Source/JavaScriptCore/assembler \
src/3rdparty/webkit/Source/JavaScriptCore/bytecode \
src/3rdparty/webkit/Source/JavaScriptCore/bytecompiler \
src/3rdparty/webkit/Source/JavaScriptCore/debugger \
src/3rdparty/webkit/Source/JavaScriptCore/dfg \
src/3rdparty/webkit/Source/JavaScriptCore/heap \
src/3rdparty/webkit/Source/JavaScriptCore/interpreter \
src/3rdparty/webkit/Source/JavaScriptCore/jit \
src/3rdparty/webkit/Source/JavaScriptCore/parser \
src/3rdparty/webkit/Source/JavaScriptCore/profiler \
src/3rdparty/webkit/Source/JavaScriptCore/runtime \
src/3rdparty/webkit/Source/JavaScriptCore/wtf \
src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject \
src/3rdparty/webkit/Source/JavaScriptCore/wtf/qt \
src/3rdparty/webkit/Source/JavaScriptCore/wtf/text \
src/3rdparty/webkit/Source/JavaScriptCore/wtf/unicode \
src/3rdparty/webkit/Source/JavaScriptCore/wtf/unicode/icu \
src/3rdparty/webkit/Source/JavaScriptCore/yarr \
# some source files need to be generated by moc from other source/header files before
# they get #included again by the original source file in the compiling stage
# source files generated from existing header files ('moc_%.cpp: %.h' rule in spec-qt4.mk)
# extracted from 'compiler_moc_header_make_all' target
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
# source files generated from existing source files ('%.moc: %.cpp' rule in spec-qt4.mk)
# extracted from 'compiler_moc_source_make_all' rule
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
MainThreadQt.moc \
ThreadingQt.moc

View File

@ -1,22 +0,0 @@
include $(REP_DIR)/lib/import/import-qt_network.mk
SHARED_LIB = yes
# use default warning level to avoid noise when compiling contrib code
CC_WARN =
include $(REP_DIR)/lib/mk/qt_network_generated.inc
# remove unneeded files to prevent moc warnings
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
moc_qftp.cpp \
moc_qnetworkaccessdebugpipebackend_p.cpp \
moc_qnetworkaccessftpbackend_p.cpp \
moc_qudpsocket.cpp
COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTER_OUT = \
qftp.moc
include $(REP_DIR)/lib/mk/qt.inc
LIBS += qt_core zlib libc libssl

View File

@ -1,157 +0,0 @@
QT_DEFINES += -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_CORE_LIB
QT_INCPATH = \
mkspecs/qws/genode-generic-g++ \
src/network \
src/network/kernel \
QT_SOURCES = \
qftp.cpp \
qhttp.cpp \
qhttpnetworkheader.cpp \
qhttpnetworkrequest.cpp \
qhttpnetworkreply.cpp \
qhttpnetworkconnection.cpp \
qhttpnetworkconnectionchannel.cpp \
qnetworkaccessauthenticationmanager.cpp \
qnetworkaccessmanager.cpp \
qnetworkaccesscache.cpp \
qnetworkaccessbackend.cpp \
qnetworkaccessdebugpipebackend.cpp \
qnetworkaccessfilebackend.cpp \
qnetworkaccesscachebackend.cpp \
qnetworkaccessftpbackend.cpp \
qnetworkaccesshttpbackend.cpp \
qnetworkcookie.cpp \
qnetworkcookiejar.cpp \
qnetworkrequest.cpp \
qnetworkreply.cpp \
qnetworkreplyimpl.cpp \
qnetworkreplydataimpl.cpp \
qnetworkreplyfileimpl.cpp \
qabstractnetworkcache.cpp \
qnetworkdiskcache.cpp \
qhttpthreaddelegate.cpp \
qhttpmultipart.cpp \
qnetworksession.cpp \
qnetworkconfigmanager.cpp \
qnetworkconfiguration.cpp \
qnetworkconfigmanager_p.cpp \
qbearerengine.cpp \
qbearerplugin.cpp \
qsharednetworksession.cpp \
qauthenticator.cpp \
qhostaddress.cpp \
qhostinfo.cpp \
qurlinfo.cpp \
qnetworkproxy.cpp \
qnetworkinterface.cpp \
qhostinfo_unix.cpp \
qnetworkinterface_unix.cpp \
qnetworkproxy_generic.cpp \
qabstractsocketengine.cpp \
qhttpsocketengine.cpp \
qsocks5socketengine.cpp \
qabstractsocket.cpp \
qtcpsocket.cpp \
qudpsocket.cpp \
qtcpserver.cpp \
qlocalsocket.cpp \
qlocalserver.cpp \
qnativesocketengine.cpp \
qnativesocketengine_unix.cpp \
qlocalsocket_unix.cpp \
qlocalserver_unix.cpp \
qssl.cpp \
qsslcertificate.cpp \
qsslconfiguration.cpp \
qsslcipher.cpp \
qsslerror.cpp \
qsslkey.cpp \
qsslsocket.cpp \
qsslsocket_openssl.cpp \
qsslsocket_openssl_symbols.cpp \
moc_qhttpnetworkreply_p.cpp \
moc_qnetworkaccesscache_p.cpp \
moc_qnetworkaccessbackend_p.cpp \
moc_qnetworkaccessdebugpipebackend_p.cpp \
moc_qnetworkaccesshttpbackend_p.cpp \
moc_qnetworkaccessfilebackend_p.cpp \
moc_qnetworkaccessftpbackend_p.cpp \
moc_qnetworkcookiejar.cpp \
moc_qnetworkreply.cpp \
moc_qabstractnetworkcache.cpp \
moc_qnetworkdiskcache.cpp \
moc_qhttpthreaddelegate_p.cpp \
moc_qhttpmultipart.cpp \
moc_qnetworkconfigmanager_p.cpp \
moc_qnetworksession_p.cpp \
moc_qbearerplugin_p.cpp \
moc_qhostinfo_p.cpp \
moc_qabstractsocketengine_p.cpp \
moc_qhttpsocketengine_p.cpp \
moc_qsocks5socketengine_p.cpp \
moc_qtcpsocket.cpp \
moc_qudpsocket.cpp \
moc_qnativesocketengine_p.cpp
QT_VPATH = \
src/network/access \
src/network/bearer \
src/network/kernel \
src/network/socket \
src/network/ssl \
# some source files need to be generated by moc from other source/header files before
# they get #included again by the original source file in the compiling stage
# source files generated from existing header files ('moc_%.cpp: %.h' rule in spec-qt4.mk)
# extracted from 'compiler_moc_header_make_all' target
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
moc_qftp.cpp \
moc_qhttp.cpp \
moc_qhttpnetworkreply_p.cpp \
moc_qhttpnetworkconnection_p.cpp \
moc_qhttpnetworkconnectionchannel_p.cpp \
moc_qnetworkaccessmanager.cpp \
moc_qnetworkaccesscache_p.cpp \
moc_qnetworkaccessbackend_p.cpp \
moc_qnetworkaccessdebugpipebackend_p.cpp \
moc_qnetworkaccesshttpbackend_p.cpp \
moc_qnetworkaccessfilebackend_p.cpp \
moc_qnetworkaccessftpbackend_p.cpp \
moc_qnetworkcookiejar.cpp \
moc_qnetworkreply.cpp \
moc_qnetworkreplyimpl_p.cpp \
moc_qnetworkreplydataimpl_p.cpp \
moc_qnetworkreplyfileimpl_p.cpp \
moc_qabstractnetworkcache.cpp \
moc_qnetworkdiskcache.cpp \
moc_qhttpthreaddelegate_p.cpp \
moc_qhttpmultipart.cpp \
moc_qnetworksession.cpp \
moc_qnetworkconfigmanager.cpp \
moc_qnetworkconfigmanager_p.cpp \
moc_qnetworksession_p.cpp \
moc_qbearerengine_p.cpp \
moc_qbearerplugin_p.cpp \
moc_qhostinfo_p.cpp \
moc_qabstractsocketengine_p.cpp \
moc_qhttpsocketengine_p.cpp \
moc_qsocks5socketengine_p.cpp \
moc_qabstractsocket.cpp \
moc_qtcpsocket.cpp \
moc_qudpsocket.cpp \
moc_qtcpserver.cpp \
moc_qlocalserver.cpp \
moc_qlocalsocket.cpp \
moc_qnativesocketengine_p.cpp \
moc_qsslsocket.cpp
# source files generated from existing source files ('%.moc: %.cpp' rule in spec-qt4.mk)
# extracted from 'compiler_moc_source_make_all' rule
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
qftp.moc

View File

@ -1 +0,0 @@
include $(REP_DIR)/lib/mk/qt_scriptclassic.mk

View File

@ -1,31 +0,0 @@
include $(REP_DIR)/lib/import/import-qt_scriptclassic.mk
SHARED_LIB = yes
# use default warning level to avoid noise when compiling contrib code
CC_WARN =
include $(REP_DIR)/lib/mk/qt_scriptclassic_generated.inc
include $(REP_DIR)/lib/mk/qt.inc
INC_DIR += $(REP_DIR)/src/lib/qt4/mkspecs/qws/genode-generic-g++ \
$(REP_DIR)/include/qt4 \
$(REP_DIR)/contrib/include \
$(REP_DIR)/include/qt4/QtCore \
$(REP_DIR)/contrib/include/QtCore \
$(REP_DIR)/include/qt4/QtCore/private \
$(REP_DIR)/contrib/include/QtCore/private \
$(REP_DIR)/include/qt4/QtScript \
$(REP_DIR)/contrib/qtscriptclassic-1.0_1-opensource/include/QtScript \
$(REP_DIR)/contrib/qtscriptclassic-1.0_1-opensource/src \
$(REP_DIR)/src/lib/qt4/src/corelib/global
LIBS += qt_core libc
vpath % $(REP_DIR)/include/qt4/QtScript
vpath % $(REP_DIR)/include/qt4/QtScript/private
vpath % $(REP_DIR)/src/lib/qt4/src/script
vpath % $(REP_DIR)/contrib/qtscriptclassic-1.0_1-opensource/src

View File

@ -1,60 +0,0 @@
QT_SOURCES = \
qscriptasm.cpp \
qscriptast.cpp \
qscriptastvisitor.cpp \
qscriptcompiler.cpp \
qscriptecmaarray.cpp \
qscriptecmaboolean.cpp \
qscriptecmacore.cpp \
qscriptecmadate.cpp \
qscriptecmafunction.cpp \
qscriptecmaglobal.cpp \
qscriptecmamath.cpp \
qscriptecmanumber.cpp \
qscriptecmaobject.cpp \
qscriptecmaregexp.cpp \
qscriptecmastring.cpp \
qscriptecmaerror.cpp \
qscriptcontext_p.cpp \
qscriptengine.cpp \
qscriptengine_p.cpp \
qscriptengineagent.cpp \
qscriptextenumeration.cpp \
qscriptextvariant.cpp \
qscriptcontext.cpp \
qscriptcontextinfo.cpp \
qscriptfunction.cpp \
qscriptgrammar.cpp \
qscriptlexer.cpp \
qscriptclassdata.cpp \
qscriptparser.cpp \
qscriptprettypretty.cpp \
qscriptxmlgenerator.cpp \
qscriptsyntaxchecker.cpp \
qscriptstring.cpp \
qscriptclass.cpp \
qscriptclasspropertyiterator.cpp \
qscriptvalueiteratorimpl.cpp \
qscriptvalueiterator.cpp \
qscriptvalueimpl.cpp \
qscriptvalue.cpp \
qscriptextqobject.cpp \
qscriptable.cpp \
qscriptextensionplugin.cpp \
moc_qscriptextensionplugin.cpp
# some source files need to be generated by moc from other source/header files before
# they get #included again by the original source file in the compiling stage
# source files generated from existing header files ('moc_%.cpp: %.h' rule in spec-qt4.mk)
# extracted from 'compiler_moc_header_make_all' target
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
moc_qscriptengine.cpp \
moc_qscriptextensionplugin.cpp
# source files generated from existing source files ('%.moc: %.cpp' rule in spec-qt4.mk)
# extracted from 'compiler_moc_source_make_all' rule
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
qscriptextqobject.moc

View File

@ -1,15 +0,0 @@
include $(REP_DIR)/lib/import/import-qt_scripttools.mk
SHARED_LIB = yes
include $(REP_DIR)/lib/mk/qt_scripttools_generated.inc
include $(REP_DIR)/lib/mk/qt.inc
INC_DIR += $(REP_DIR)/include/qt4/QtScriptTools/private \
$(REP_DIR)/contrib/$(QT4)/include/QtScriptTools/private
LIBS += qt_core libc
vpath % $(REP_DIR)/include/qt4/QtScriptTools
vpath % $(REP_DIR)/include/qt4/QtScriptTools/private

View File

@ -1,134 +0,0 @@
QT_DEFINES += -DQT_BUILD_SCRIPTTOOLS_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_CORE_LIB
QT_INCPATH = \
mkspecs/qws/genode-generic-g++ \
src/scripttools \
QT_SOURCES = \
qscriptdebuggervalue.cpp \
qscriptdebuggervalueproperty.cpp \
qscriptdebuggercommand.cpp \
qscriptdebuggerresponse.cpp \
qscriptdebuggerevent.cpp \
qscriptdebuggercommandexecutor.cpp \
qscriptdebuggercommandschedulerfrontend.cpp \
qscriptdebuggerbackend.cpp \
qscriptdebuggeragent.cpp \
qscriptdebuggerfrontend.cpp \
qscriptstdmessagehandler.cpp \
qscriptenginedebuggerfrontend.cpp \
qscriptdebuggerjob.cpp \
qscriptdebuggercommandschedulerjob.cpp \
qscriptvalueproperty.cpp \
qscriptobjectsnapshot.cpp \
qscriptscriptdata.cpp \
qscriptxmlparser.cpp \
qscriptbreakpointdata.cpp \
qscriptdebugger.cpp \
qscriptdebuggerconsole.cpp \
qscriptdebuggerconsolecommand.cpp \
qscriptdebuggerconsolecommandjob.cpp \
qscriptdebuggerconsolecommandgroupdata.cpp \
qscriptdebuggerconsolecommandmanager.cpp \
qscriptcompletiontaskinterface.cpp \
qscriptcompletiontask.cpp \
qscriptdebuggerconsoleglobalobject.cpp \
qscriptdebuggerscriptedconsolecommand.cpp \
qscriptedit.cpp \
qscriptsyntaxhighlighter.cpp \
qscriptdebuggerconsolewidgetinterface.cpp \
qscriptdebuggerconsolewidget.cpp \
qscriptdebuggerstackwidgetinterface.cpp \
qscriptdebuggerstackwidget.cpp \
qscriptdebuggerstackmodel.cpp \
qscriptdebuggerscriptswidgetinterface.cpp \
qscriptdebuggerscriptswidget.cpp \
qscriptdebuggerscriptsmodel.cpp \
qscriptdebuggerlocalswidgetinterface.cpp \
qscriptdebuggerlocalswidget.cpp \
qscriptdebuggerlocalsmodel.cpp \
qscriptdebuggercodewidgetinterface.cpp \
qscriptdebuggercodewidget.cpp \
qscriptdebuggercodeviewinterface.cpp \
qscriptdebuggercodeview.cpp \
qscriptdebuggercodefinderwidgetinterface.cpp \
qscriptdebuggercodefinderwidget.cpp \
qscriptdebugoutputwidgetinterface.cpp \
qscriptdebugoutputwidget.cpp \
qscriptbreakpointswidgetinterface.cpp \
qscriptbreakpointswidget.cpp \
qscriptbreakpointsmodel.cpp \
qscripterrorlogwidgetinterface.cpp \
qscripterrorlogwidget.cpp \
qscriptdebuggerstandardwidgetfactory.cpp \
qscriptenginedebugger.cpp \
moc_qscriptcompletiontaskinterface_p.cpp \
moc_qscriptcompletiontask_p.cpp \
moc_qscriptdebuggerconsoleglobalobject_p.cpp \
moc_qscriptedit_p.cpp \
moc_qscriptdebuggerconsolewidgetinterface_p.cpp \
moc_qscriptdebuggerstackwidgetinterface_p.cpp \
moc_qscriptdebuggerscriptswidgetinterface_p.cpp \
moc_qscriptdebuggerscriptsmodel_p.cpp \
moc_qscriptdebuggerlocalswidgetinterface_p.cpp \
moc_qscriptdebuggerlocalsmodel_p.cpp \
moc_qscriptdebuggercodewidgetinterface_p.cpp \
moc_qscriptdebuggercodeviewinterface_p.cpp \
moc_qscriptdebuggercodefinderwidgetinterface_p.cpp \
moc_qscriptdebugoutputwidgetinterface_p.cpp \
moc_qscriptdebugoutputwidget_p.cpp \
moc_qscriptbreakpointswidgetinterface_p.cpp \
moc_qscriptbreakpointsmodel_p.cpp \
moc_qscripterrorlogwidgetinterface_p.cpp \
moc_qscripterrorlogwidget_p.cpp \
qrc_scripttools_debugging.cpp
QT_VPATH = \
src/scripttools/debugging \
# some source files need to be generated by moc from other source/header files before
# they get #included again by the original source file in the compiling stage
# source files generated from existing header files ('moc_%.cpp: %.h' rule in spec-qt4.mk)
# extracted from 'compiler_moc_header_make_all' target
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
moc_qscriptdebugger_p.cpp \
moc_qscriptcompletiontaskinterface_p.cpp \
moc_qscriptcompletiontask_p.cpp \
moc_qscriptdebuggerconsoleglobalobject_p.cpp \
moc_qscriptedit_p.cpp \
moc_qscriptdebuggerconsolewidgetinterface_p.cpp \
moc_qscriptdebuggerconsolewidget_p.cpp \
moc_qscriptdebuggerstackwidgetinterface_p.cpp \
moc_qscriptdebuggerstackwidget_p.cpp \
moc_qscriptdebuggerscriptswidgetinterface_p.cpp \
moc_qscriptdebuggerscriptswidget_p.cpp \
moc_qscriptdebuggerscriptsmodel_p.cpp \
moc_qscriptdebuggerlocalswidgetinterface_p.cpp \
moc_qscriptdebuggerlocalswidget_p.cpp \
moc_qscriptdebuggerlocalsmodel_p.cpp \
moc_qscriptdebuggercodewidgetinterface_p.cpp \
moc_qscriptdebuggercodewidget_p.cpp \
moc_qscriptdebuggercodeviewinterface_p.cpp \
moc_qscriptdebuggercodeview_p.cpp \
moc_qscriptdebuggercodefinderwidgetinterface_p.cpp \
moc_qscriptdebuggercodefinderwidget_p.cpp \
moc_qscriptdebugoutputwidgetinterface_p.cpp \
moc_qscriptdebugoutputwidget_p.cpp \
moc_qscriptbreakpointswidgetinterface_p.cpp \
moc_qscriptbreakpointswidget_p.cpp \
moc_qscriptbreakpointsmodel_p.cpp \
moc_qscripterrorlogwidgetinterface_p.cpp \
moc_qscripterrorlogwidget_p.cpp \
moc_qscriptenginedebugger.cpp
# source files generated from existing source files ('%.moc: %.cpp' rule in spec-qt4.mk)
# extracted from 'compiler_moc_source_make_all' rule
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
qscriptdebuggerconsolewidget.moc \
qscriptdebuggerlocalswidget.moc \
qscriptbreakpointswidget.moc \
qscriptenginedebugger.moc

View File

@ -1,15 +0,0 @@
include $(REP_DIR)/lib/import/import-qt_svg.mk
SHARED_LIB = yes
include $(REP_DIR)/lib/mk/qt_svg_generated.inc
include $(REP_DIR)/lib/mk/qt.inc
INC_DIR += $(REP_DIR)/include/qt4/QtSvg/private \
$(REP_DIR)/contrib/$(QT4)/include/QtSvg/private
LIBS += qt_core qt_gui zlib libc
vpath % $(REP_DIR)/include/qt4/QtSvg
vpath % $(REP_DIR)/include/qt4/QtSvg/private

View File

@ -1,41 +0,0 @@
QT_DEFINES += -DQT_BUILD_SVG_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
QT_INCPATH = \
mkspecs/qws/genode-generic-g++ \
src/3rdparty/harfbuzz/src \
src/svg \
QT_SOURCES = \
qsvggraphics.cpp \
qsvghandler.cpp \
qsvgnode.cpp \
qsvgstructure.cpp \
qsvgstyle.cpp \
qsvgfont.cpp \
qsvgtinydocument.cpp \
qsvgrenderer.cpp \
qsvgwidget.cpp \
qgraphicssvgitem.cpp \
qsvggenerator.cpp \
moc_qsvgwidget.cpp
QT_VPATH = \
src/svg \
# some source files need to be generated by moc from other source/header files before
# they get #included again by the original source file in the compiling stage
# source files generated from existing header files ('moc_%.cpp: %.h' rule in spec-qt4.mk)
# extracted from 'compiler_moc_header_make_all' target
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
moc_qsvgrenderer.cpp \
moc_qsvgwidget.cpp \
moc_qgraphicssvgitem.cpp
# source files generated from existing source files ('%.moc: %.cpp' rule in spec-qt4.mk)
# extracted from 'compiler_moc_source_make_all' rule
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \

View File

@ -1,20 +0,0 @@
include $(REP_DIR)/lib/import/import-qt_ui_tools.mk
SHARED_LIB = yes
CC_OPT += -Wno-unused-but-set-variable
include $(REP_DIR)/lib/mk/qt_ui_tools_generated.inc
include $(REP_DIR)/lib/mk/qt.inc
LIBS += qt_core qt_gui qt_xml libc
vpath % $(REP_DIR)/include/qt4/QtUiTools
vpath % $(REP_DIR)/include/qt4/QtUiTools/private
vpath % $(REP_DIR)/src/lib/qt4/tools/designer/src/lib/uilib
vpath % $(REP_DIR)/src/lib/qt4/tools/designer/src/uitools
vpath % $(REP_DIR)/contrib/$(QT4)/tools/designer/src/lib/uilib
vpath % $(REP_DIR)/contrib/$(QT4)/tools/designer/src/uitools

View File

@ -1,39 +0,0 @@
QT_DEFINES += -DQFORMINTERNAL_NAMESPACE -DQT_DESIGNER_STATIC -DQT_FORMBUILDER_NO_SCRIPT -DQT_DESIGNER -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
QT_INCPATH = \
mkspecs/qws/genode-generic-g++ \
tools/designer/src/lib/uilib \
tools/designer/src/uitools \
QT_SOURCES = \
abstractformbuilder.cpp \
formbuilder.cpp \
ui4.cpp \
properties.cpp \
formbuilderextra.cpp \
resourcebuilder.cpp \
textbuilder.cpp \
quiloader.cpp \
moc_properties_p.cpp \
moc_quiloader.cpp
QT_VPATH = \
tools/designer/src/lib/uilib \
tools/designer/src/uitools \
# some source files need to be generated by moc from other source/header files before
# they get #included again by the original source file in the compiling stage
# source files generated from existing header files ('moc_%.cpp: %.h' rule in spec-qt4.mk)
# extracted from 'compiler_moc_header_make_all' target
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
moc_properties_p.cpp \
moc_quiloader.cpp
# source files generated from existing source files ('%.moc: %.cpp' rule in spec-qt4.mk)
# extracted from 'compiler_moc_source_make_all' rule
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
quiloader.moc

View File

@ -1 +0,0 @@
QT4 := qt-everywhere-opensource-src-4.8.4

View File

@ -1,23 +0,0 @@
include $(REP_DIR)/lib/import/import-qt_webcore.mk
SHARED_LIB = yes
# additional defines for the Genode version
CC_OPT += -DSQLITE_NO_SYNC=1 -DSQLITE_THREADSAFE=0
# enable C++ functions that use C99 math functions (disabled by default in the Genode tool chain)
CC_CXX_OPT += -D_GLIBCXX_USE_C99_MATH
# use default warning level to avoid noise when compiling contrib code
CC_WARN = -Wno-deprecated-declarations
CC_OPT_sqlite3 += -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast
# some parts of the library are not C++11 compatible
CC_CXX_OPT_STD =
include $(REP_DIR)/lib/mk/qt_webcore_generated.inc
include $(REP_DIR)/lib/mk/qt.inc
LIBS += qt_jscore qt_network qt_core libc libm

File diff suppressed because it is too large Load Diff

View File

@ -1,26 +0,0 @@
include $(REP_DIR)/lib/import/import-qt_webkit.mk
SHARED_LIB = yes
# additional defines for the Genode version
CC_OPT += -DSQLITE_NO_SYNC=1 -DSQLITE_THREADSAFE=0
# enable C++ functions that use C99 math functions (disabled by default in the Genode tool chain)
CC_CXX_OPT += -D_GLIBCXX_USE_C99_MATH
# use default warning level to avoid noise when compiling contrib code
CC_WARN = -Wno-deprecated-declarations
CC_OPT_sqlite3 += -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast
# some parts of the library are not C++11 compatible
CC_CXX_OPT_STD =
include $(REP_DIR)/lib/mk/qt_webkit_generated.inc
include $(REP_DIR)/lib/mk/qt.inc
LIBS += qt_webcore qt_jscore qt_network qt_core libc libm
vpath %.qrc $(REP_DIR)/contrib/$(QT4)/src/3rdparty/webkit/Source/WebCore
vpath %.qrc $(REP_DIR)/contrib/$(QT4)/src/3rdparty/webkit/Source/WebCore/inspector/front-end

View File

@ -1,674 +0,0 @@
QT_DEFINES += -DBUILDING_WEBKIT -DNDEBUG -DBUILDING_QT__=1 -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DBUILDING_JavaScriptCore -DBUILDING_WTF -DENABLE_XSLT=0 -DENABLE_WEB_TIMING=0 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_DATABASE=1 -DENABLE_EVENTSOURCE=1 -DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_QUOTA=0 -DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=1 -DENABLE_XPATH=1 -DENABLE_WCSS=0 -DENABLE_SHARED_WORKERS=1 -DENABLE_WORKERS=1 -DENABLE_XHTMLMP=0 -DENABLE_DETAILS=1 -DENABLE_METER_TAG=1 -DENABLE_PROGRESS_TAG=1 -DENABLE_BLOB=1 -DENABLE_NOTIFICATIONS=1 -DENABLE_INPUT_SPEECH=0 -DENABLE_INSPECTOR=1 -DENABLE_3D_RENDERING=1 -DENABLE_WEB_AUDIO=0 -DENABLE_WEBGL=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_VIDEO_TRACK=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_ANIMATION_API=0 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_ANIMATION=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_DATALIST=1 -DENABLE_TILED_BACKING_STORE=1 -DENABLE_NETSCAPE_PLUGIN_API=0 -DWTF_USE_QT_BEARER=1 -DENABLE_TOUCH_EVENTS=1 -DENABLE_VIDEO=0 -DSQLITE_CORE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE -DENABLE_XSLT=0 -DENABLE_WEB_TIMING=0 -DQT_NO_CAST_TO_ASCII -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
QT_INCPATH = \
mkspecs/qws/genode-generic-g++ \
src/3rdparty/sqlite \
src/3rdparty/webkit/include \
src/3rdparty/webkit/Source \
src/3rdparty/webkit/Source/JavaScriptCore \
src/3rdparty/webkit/Source/JavaScriptCore/API \
src/3rdparty/webkit/Source/JavaScriptCore/assembler \
src/3rdparty/webkit/Source/JavaScriptCore/bytecode \
src/3rdparty/webkit/Source/JavaScriptCore/bytecompiler \
src/3rdparty/webkit/Source/JavaScriptCore/debugger \
src/3rdparty/webkit/Source/JavaScriptCore/dfg \
src/3rdparty/webkit/Source/JavaScriptCore/ForwardingHeaders \
src/3rdparty/webkit/Source/JavaScriptCore/generated \
src/3rdparty/webkit/Source/JavaScriptCore/heap \
src/3rdparty/webkit/Source/JavaScriptCore/interpreter \
src/3rdparty/webkit/Source/JavaScriptCore/jit \
src/3rdparty/webkit/Source/JavaScriptCore/parser \
src/3rdparty/webkit/Source/JavaScriptCore/profiler \
src/3rdparty/webkit/Source/JavaScriptCore/runtime \
src/3rdparty/webkit/Source/JavaScriptCore/wtf \
src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject \
src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian \
src/3rdparty/webkit/Source/JavaScriptCore/wtf/unicode \
src/3rdparty/webkit/Source/JavaScriptCore/yarr \
src/3rdparty/webkit/Source/ThirdParty \
src/3rdparty/webkit/Source/WebCore \
src/3rdparty/webkit/Source/WebCore/accessibility \
src/3rdparty/webkit/Source/WebCore/bindings \
src/3rdparty/webkit/Source/WebCore/bindings/generic \
src/3rdparty/webkit/Source/WebCore/bindings/js \
src/3rdparty/webkit/Source/WebCore/bindings/js/specialization \
src/3rdparty/webkit/Source/WebCore/bridge \
src/3rdparty/webkit/Source/WebCore/bridge/c \
src/3rdparty/webkit/Source/WebCore/bridge/jsc \
src/3rdparty/webkit/Source/WebCore/bridge/qt \
src/3rdparty/webkit/Source/WebCore/css \
src/3rdparty/webkit/Source/WebCore/dom \
src/3rdparty/webkit/Source/WebCore/dom/default \
src/3rdparty/webkit/Source/WebCore/editing \
src/3rdparty/webkit/Source/WebCore/fileapi \
src/3rdparty/webkit/Source/WebCore/generated \
src/3rdparty/webkit/Source/WebCore/history \
src/3rdparty/webkit/Source/WebCore/html \
src/3rdparty/webkit/Source/WebCore/html/canvas \
src/3rdparty/webkit/Source/WebCore/html/parser \
src/3rdparty/webkit/Source/WebCore/html/shadow \
src/3rdparty/webkit/Source/WebCore/inspector \
src/3rdparty/webkit/Source/WebCore/loader \
src/3rdparty/webkit/Source/WebCore/loader/appcache \
src/3rdparty/webkit/Source/WebCore/loader/archive \
src/3rdparty/webkit/Source/WebCore/loader/cache \
src/3rdparty/webkit/Source/WebCore/loader/icon \
src/3rdparty/webkit/Source/WebCore/mathml \
src/3rdparty/webkit/Source/WebCore/notifications \
src/3rdparty/webkit/Source/WebCore/page \
src/3rdparty/webkit/Source/WebCore/page/animation \
src/3rdparty/webkit/Source/WebCore/page/qt \
src/3rdparty/webkit/Source/WebCore/platform \
src/3rdparty/webkit/Source/WebCore/platform/animation \
src/3rdparty/webkit/Source/WebCore/platform/audio \
src/3rdparty/webkit/Source/WebCore/platform/graphics \
src/3rdparty/webkit/Source/WebCore/platform/graphics/filters \
src/3rdparty/webkit/Source/WebCore/platform/graphics/filters/arm \
src/3rdparty/webkit/Source/WebCore/platform/graphics/qt \
src/3rdparty/webkit/Source/WebCore/platform/graphics/texmap \
src/3rdparty/webkit/Source/WebCore/platform/graphics/transforms \
src/3rdparty/webkit/Source/WebCore/platform/image-decoders \
src/3rdparty/webkit/Source/WebCore/platform/leveldb \
src/3rdparty/webkit/Source/WebCore/platform/mock \
src/3rdparty/webkit/Source/WebCore/platform/network \
src/3rdparty/webkit/Source/WebCore/platform/network/qt \
src/3rdparty/webkit/Source/WebCore/platform/qt \
src/3rdparty/webkit/Source/WebCore/platform/sql \
src/3rdparty/webkit/Source/WebCore/platform/text \
src/3rdparty/webkit/Source/WebCore/platform/text/transcoder \
src/3rdparty/webkit/Source/WebCore/plugins \
src/3rdparty/webkit/Source/WebCore/rendering \
src/3rdparty/webkit/Source/WebCore/rendering/mathml \
src/3rdparty/webkit/Source/WebCore/rendering/style \
src/3rdparty/webkit/Source/WebCore/rendering/svg \
src/3rdparty/webkit/Source/WebCore/storage \
src/3rdparty/webkit/Source/WebCore/svg \
src/3rdparty/webkit/Source/WebCore/svg/animation \
src/3rdparty/webkit/Source/WebCore/svg/graphics \
src/3rdparty/webkit/Source/WebCore/svg/graphics/filters \
src/3rdparty/webkit/Source/WebCore/svg/properties \
src/3rdparty/webkit/Source/WebCore/testing \
src/3rdparty/webkit/Source/WebCore/testing/js \
src/3rdparty/webkit/Source/WebCore/webaudio \
src/3rdparty/webkit/Source/WebCore/websockets \
src/3rdparty/webkit/Source/WebCore/wml \
src/3rdparty/webkit/Source/WebCore/workers \
src/3rdparty/webkit/Source/WebCore/xml \
src/3rdparty/webkit/Source/WebKit/qt \
src/3rdparty/webkit/Source/WebKit/qt/Api \
src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport \
QT_SOURCES = \
MathMLNames.cpp \
MathMLElementFactory.cpp \
SVGNames.cpp \
SVGElementFactory.cpp \
JSSVGElementWrapperFactory.cpp \
XLinkNames.cpp \
CSSPropertyNames.cpp \
CSSValueKeywords.cpp \
JSCounter.cpp \
JSCSSCharsetRule.cpp \
JSCSSFontFaceRule.cpp \
JSCSSImportRule.cpp \
JSCSSMediaRule.cpp \
JSCSSPageRule.cpp \
JSCSSPrimitiveValue.cpp \
JSCSSRule.cpp \
JSCSSRuleList.cpp \
JSCSSStyleDeclaration.cpp \
JSCSSStyleRule.cpp \
JSCSSStyleSheet.cpp \
JSCSSValue.cpp \
JSCSSValueList.cpp \
JSMediaList.cpp \
JSMediaQueryList.cpp \
JSRect.cpp \
JSRGBColor.cpp \
JSStyleMedia.cpp \
JSStyleSheet.cpp \
JSStyleSheetList.cpp \
JSWebKitCSSKeyframeRule.cpp \
JSWebKitCSSKeyframesRule.cpp \
JSWebKitCSSMatrix.cpp \
JSWebKitCSSTransformValue.cpp \
JSAttr.cpp \
JSBeforeLoadEvent.cpp \
JSBeforeProcessEvent.cpp \
JSCharacterData.cpp \
JSClientRect.cpp \
JSClientRectList.cpp \
JSClipboard.cpp \
JSCDATASection.cpp \
JSComment.cpp \
JSCompositionEvent.cpp \
JSCustomEvent.cpp \
JSDataTransferItem.cpp \
JSDataTransferItems.cpp \
JSDeviceMotionEvent.cpp \
JSDeviceOrientationEvent.cpp \
JSDocumentFragment.cpp \
JSDocument.cpp \
JSDocumentType.cpp \
JSDOMCoreException.cpp \
JSDOMImplementation.cpp \
JSDOMStringList.cpp \
JSDOMStringMap.cpp \
JSElement.cpp \
JSEntity.cpp \
JSEntityReference.cpp \
JSErrorEvent.cpp \
JSEvent.cpp \
JSEventException.cpp \
JSHashChangeEvent.cpp \
JSKeyboardEvent.cpp \
JSMouseEvent.cpp \
JSMessageChannel.cpp \
JSMessageEvent.cpp \
JSMessagePort.cpp \
JSMutationEvent.cpp \
JSNamedNodeMap.cpp \
JSNode.cpp \
JSNodeFilter.cpp \
JSNodeIterator.cpp \
JSNodeList.cpp \
JSNotation.cpp \
JSOverflowEvent.cpp \
JSPageTransitionEvent.cpp \
JSPopStateEvent.cpp \
JSProcessingInstruction.cpp \
JSProgressEvent.cpp \
JSRangeException.cpp \
JSRange.cpp \
JSStringCallback.cpp \
JSText.cpp \
JSTextEvent.cpp \
JSTouch.cpp \
JSTouchEvent.cpp \
JSTouchList.cpp \
JSTreeWalker.cpp \
JSUIEvent.cpp \
JSWebKitAnimationEvent.cpp \
JSWebKitTransitionEvent.cpp \
JSWheelEvent.cpp \
JSBlob.cpp \
JSDirectoryEntry.cpp \
JSDirectoryEntrySync.cpp \
JSDirectoryReader.cpp \
JSDirectoryReaderSync.cpp \
JSDOMFileSystem.cpp \
JSDOMFileSystemSync.cpp \
JSEntriesCallback.cpp \
JSEntry.cpp \
JSEntryArray.cpp \
JSEntryArraySync.cpp \
JSEntryCallback.cpp \
JSEntrySync.cpp \
JSErrorCallback.cpp \
JSFile.cpp \
JSFileCallback.cpp \
JSFileEntry.cpp \
JSFileEntrySync.cpp \
JSFileError.cpp \
JSFileException.cpp \
JSFileList.cpp \
JSFileReader.cpp \
JSFileReaderSync.cpp \
JSFileSystemCallback.cpp \
JSFileWriter.cpp \
JSFileWriterCallback.cpp \
JSWebKitFlags.cpp \
JSMetadata.cpp \
JSMetadataCallback.cpp \
JSWebKitBlobBuilder.cpp \
JSArrayBufferView.cpp \
JSArrayBuffer.cpp \
JSDataView.cpp \
JSInt8Array.cpp \
JSFloat32Array.cpp \
JSCanvasGradient.cpp \
JSInt32Array.cpp \
JSCanvasPattern.cpp \
JSCanvasRenderingContext.cpp \
JSCanvasRenderingContext2D.cpp \
JSOESStandardDerivatives.cpp \
JSOESTextureFloat.cpp \
JSOESVertexArrayObject.cpp \
JSWebGLActiveInfo.cpp \
JSWebGLBuffer.cpp \
JSWebGLContextAttributes.cpp \
JSWebGLFramebuffer.cpp \
JSWebGLProgram.cpp \
JSWebGLRenderbuffer.cpp \
JSWebGLRenderingContext.cpp \
JSWebGLShader.cpp \
JSInt16Array.cpp \
JSWebGLTexture.cpp \
JSWebGLUniformLocation.cpp \
JSWebGLVertexArrayObjectOES.cpp \
JSWebKitLoseContext.cpp \
JSUint8Array.cpp \
JSUint32Array.cpp \
JSUint16Array.cpp \
JSDOMFormData.cpp \
JSDOMSettableTokenList.cpp \
JSDOMTokenList.cpp \
JSDOMURL.cpp \
JSHTMLAllCollection.cpp \
JSHTMLAudioElement.cpp \
JSHTMLAnchorElement.cpp \
JSHTMLAppletElement.cpp \
JSHTMLAreaElement.cpp \
JSHTMLBaseElement.cpp \
JSHTMLBaseFontElement.cpp \
JSHTMLBlockquoteElement.cpp \
JSHTMLBodyElement.cpp \
JSHTMLBRElement.cpp \
JSHTMLButtonElement.cpp \
JSHTMLCanvasElement.cpp \
JSHTMLCollection.cpp \
JSHTMLDataListElement.cpp \
JSHTMLDetailsElement.cpp \
JSHTMLDirectoryElement.cpp \
JSHTMLDivElement.cpp \
JSHTMLDListElement.cpp \
JSHTMLDocument.cpp \
JSHTMLElement.cpp \
JSHTMLEmbedElement.cpp \
JSHTMLFieldSetElement.cpp \
JSHTMLFontElement.cpp \
JSHTMLFormElement.cpp \
JSHTMLFrameElement.cpp \
JSHTMLFrameSetElement.cpp \
JSHTMLHeadElement.cpp \
JSHTMLHeadingElement.cpp \
JSHTMLHRElement.cpp \
JSHTMLHtmlElement.cpp \
JSHTMLIFrameElement.cpp \
JSHTMLImageElement.cpp \
JSHTMLInputElement.cpp \
JSHTMLIsIndexElement.cpp \
JSHTMLKeygenElement.cpp \
JSHTMLLabelElement.cpp \
JSHTMLLegendElement.cpp \
JSHTMLLIElement.cpp \
JSHTMLLinkElement.cpp \
JSHTMLMapElement.cpp \
JSHTMLMarqueeElement.cpp \
JSHTMLMediaElement.cpp \
JSHTMLMenuElement.cpp \
JSHTMLMetaElement.cpp \
JSHTMLMeterElement.cpp \
JSHTMLModElement.cpp \
JSHTMLObjectElement.cpp \
JSHTMLOListElement.cpp \
JSHTMLOptGroupElement.cpp \
JSHTMLOptionElement.cpp \
JSHTMLOptionsCollection.cpp \
JSHTMLOutputElement.cpp \
JSHTMLParagraphElement.cpp \
JSHTMLParamElement.cpp \
JSHTMLPreElement.cpp \
JSHTMLProgressElement.cpp \
JSHTMLQuoteElement.cpp \
JSHTMLScriptElement.cpp \
JSHTMLSelectElement.cpp \
JSHTMLSourceElement.cpp \
JSHTMLStyleElement.cpp \
JSHTMLTableCaptionElement.cpp \
JSHTMLTableCellElement.cpp \
JSHTMLTableColElement.cpp \
JSHTMLTableElement.cpp \
JSHTMLTableRowElement.cpp \
JSHTMLTableSectionElement.cpp \
JSHTMLTextAreaElement.cpp \
JSHTMLTitleElement.cpp \
JSHTMLTrackElement.cpp \
JSHTMLUListElement.cpp \
JSHTMLVideoElement.cpp \
JSImageData.cpp \
JSMediaError.cpp \
JSTextMetrics.cpp \
JSTimeRanges.cpp \
JSValidityState.cpp \
JSVoidCallback.cpp \
JSInjectedScriptHost.cpp \
JSInspectorFrontendHost.cpp \
JSJavaScriptCallFrame.cpp \
JSScriptProfile.cpp \
JSScriptProfileNode.cpp \
JSDOMApplicationCache.cpp \
JSNotification.cpp \
JSNotificationCenter.cpp \
JSBarInfo.cpp \
JSConsole.cpp \
JSCoordinates.cpp \
JSCrypto.cpp \
JSDOMSelection.cpp \
JSDOMWindow.cpp \
JSEventSource.cpp \
JSGeolocation.cpp \
JSGeoposition.cpp \
JSHistory.cpp \
JSLocation.cpp \
JSMemoryInfo.cpp \
JSNavigator.cpp \
JSNavigatorUserMediaError.cpp \
JSNavigatorUserMediaErrorCallback.cpp \
JSNavigatorUserMediaSuccessCallback.cpp \
JSPerformance.cpp \
JSPerformanceNavigation.cpp \
JSPerformanceTiming.cpp \
JSPositionError.cpp \
JSScreen.cpp \
JSSpeechInputEvent.cpp \
JSSpeechInputResult.cpp \
JSSpeechInputResultList.cpp \
JSWebKitAnimation.cpp \
JSWebKitAnimationList.cpp \
JSWebKitPoint.cpp \
JSWorkerNavigator.cpp \
JSDOMPlugin.cpp \
JSDOMMimeType.cpp \
JSDOMPluginArray.cpp \
JSDOMMimeTypeArray.cpp \
JSDatabase.cpp \
JSDatabaseCallback.cpp \
JSDatabaseSync.cpp \
JSIDBAny.cpp \
JSIDBCursor.cpp \
JSIDBDatabaseError.cpp \
JSIDBDatabaseException.cpp \
JSIDBDatabase.cpp \
JSIDBFactory.cpp \
JSIDBIndex.cpp \
JSIDBKey.cpp \
JSIDBKeyRange.cpp \
JSIDBObjectStore.cpp \
JSIDBRequest.cpp \
JSIDBTransaction.cpp \
JSStorage.cpp \
JSStorageEvent.cpp \
JSStorageInfo.cpp \
JSStorageInfoErrorCallback.cpp \
JSStorageInfoUsageCallback.cpp \
JSSQLError.cpp \
JSSQLException.cpp \
JSSQLResultSet.cpp \
JSSQLResultSetRowList.cpp \
JSSQLStatementCallback.cpp \
JSSQLStatementErrorCallback.cpp \
JSSQLTransaction.cpp \
JSSQLTransactionCallback.cpp \
JSSQLTransactionErrorCallback.cpp \
JSSQLTransactionSync.cpp \
JSSQLTransactionSyncCallback.cpp \
JSSVGZoomEvent.cpp \
JSSVGAElement.cpp \
JSSVGAltGlyphElement.cpp \
JSSVGAngle.cpp \
JSSVGAnimateColorElement.cpp \
JSSVGAnimatedAngle.cpp \
JSSVGAnimatedBoolean.cpp \
JSSVGAnimatedEnumeration.cpp \
JSSVGAnimatedInteger.cpp \
JSSVGAnimatedLength.cpp \
JSSVGAnimatedLengthList.cpp \
JSSVGAnimatedNumber.cpp \
JSSVGAnimatedNumberList.cpp \
JSSVGAnimatedPreserveAspectRatio.cpp \
JSSVGAnimatedRect.cpp \
JSSVGAnimatedString.cpp \
JSSVGAnimatedTransformList.cpp \
JSSVGAnimateElement.cpp \
JSSVGAnimateTransformElement.cpp \
JSSVGAnimationElement.cpp \
JSSVGCircleElement.cpp \
JSSVGClipPathElement.cpp \
JSSVGColor.cpp \
JSSVGComponentTransferFunctionElement.cpp \
JSSVGCursorElement.cpp \
JSSVGDefsElement.cpp \
JSSVGDescElement.cpp \
JSSVGDocument.cpp \
JSSVGElement.cpp \
JSSVGElementInstance.cpp \
JSSVGElementInstanceList.cpp \
JSSVGEllipseElement.cpp \
JSSVGException.cpp \
JSSVGFEBlendElement.cpp \
JSSVGFEColorMatrixElement.cpp \
JSSVGFEComponentTransferElement.cpp \
JSSVGFECompositeElement.cpp \
JSSVGFEConvolveMatrixElement.cpp \
JSSVGFEDiffuseLightingElement.cpp \
JSSVGFEDisplacementMapElement.cpp \
JSSVGFEDistantLightElement.cpp \
JSSVGFEDropShadowElement.cpp \
JSSVGFEFloodElement.cpp \
JSSVGFEFuncAElement.cpp \
JSSVGFEFuncBElement.cpp \
JSSVGFEFuncGElement.cpp \
JSSVGFEFuncRElement.cpp \
JSSVGFEGaussianBlurElement.cpp \
JSSVGFEImageElement.cpp \
JSSVGFEMergeElement.cpp \
JSSVGFEMergeNodeElement.cpp \
JSSVGFEMorphologyElement.cpp \
JSSVGFEOffsetElement.cpp \
JSSVGFEPointLightElement.cpp \
JSSVGFESpecularLightingElement.cpp \
JSSVGFESpotLightElement.cpp \
JSSVGFETileElement.cpp \
JSSVGFETurbulenceElement.cpp \
JSSVGFilterElement.cpp \
JSSVGFontElement.cpp \
JSSVGFontFaceElement.cpp \
JSSVGFontFaceFormatElement.cpp \
JSSVGFontFaceNameElement.cpp \
JSSVGFontFaceSrcElement.cpp \
JSSVGFontFaceUriElement.cpp \
JSSVGForeignObjectElement.cpp \
JSSVGGElement.cpp \
JSSVGGlyphElement.cpp \
JSSVGGradientElement.cpp \
JSSVGHKernElement.cpp \
JSSVGImageElement.cpp \
JSSVGLength.cpp \
JSSVGLengthList.cpp \
JSSVGLinearGradientElement.cpp \
JSSVGLineElement.cpp \
JSSVGMarkerElement.cpp \
JSSVGMaskElement.cpp \
JSSVGMatrix.cpp \
JSSVGMetadataElement.cpp \
JSSVGMissingGlyphElement.cpp \
JSSVGNumber.cpp \
JSSVGNumberList.cpp \
JSSVGPaint.cpp \
JSSVGPathElement.cpp \
JSSVGPathSegArcAbs.cpp \
JSSVGPathSegArcRel.cpp \
JSSVGPathSegClosePath.cpp \
JSSVGPathSegCurvetoCubicAbs.cpp \
JSSVGPathSegCurvetoCubicRel.cpp \
JSSVGPathSegCurvetoCubicSmoothAbs.cpp \
JSSVGPathSegCurvetoCubicSmoothRel.cpp \
JSSVGPathSegCurvetoQuadraticAbs.cpp \
JSSVGPathSegCurvetoQuadraticRel.cpp \
JSSVGPathSegCurvetoQuadraticSmoothAbs.cpp \
JSSVGPathSegCurvetoQuadraticSmoothRel.cpp \
JSSVGPathSeg.cpp \
JSSVGPathSegLinetoAbs.cpp \
JSSVGPathSegLinetoHorizontalAbs.cpp \
JSSVGPathSegLinetoHorizontalRel.cpp \
JSSVGPathSegLinetoRel.cpp \
JSSVGPathSegLinetoVerticalAbs.cpp \
JSSVGPathSegLinetoVerticalRel.cpp \
JSSVGPathSegList.cpp \
JSSVGPathSegMovetoAbs.cpp \
JSSVGPathSegMovetoRel.cpp \
JSSVGPatternElement.cpp \
JSSVGPoint.cpp \
JSSVGPointList.cpp \
JSSVGPolygonElement.cpp \
JSSVGPolylineElement.cpp \
JSSVGPreserveAspectRatio.cpp \
JSSVGRadialGradientElement.cpp \
JSSVGRectElement.cpp \
JSSVGRect.cpp \
JSSVGRenderingIntent.cpp \
JSSVGScriptElement.cpp \
JSSVGSetElement.cpp \
JSSVGStopElement.cpp \
JSSVGStringList.cpp \
JSSVGStyleElement.cpp \
JSSVGSVGElement.cpp \
JSSVGSwitchElement.cpp \
JSSVGSymbolElement.cpp \
JSSVGTextContentElement.cpp \
JSSVGTextElement.cpp \
JSSVGTextPathElement.cpp \
JSSVGTextPositioningElement.cpp \
JSSVGTitleElement.cpp \
JSSVGTransform.cpp \
JSSVGTransformList.cpp \
JSSVGTRefElement.cpp \
JSSVGTSpanElement.cpp \
JSSVGUnitTypes.cpp \
JSSVGUseElement.cpp \
JSSVGViewElement.cpp \
JSSVGVKernElement.cpp \
JSInternals.cpp \
JSAudioBuffer.cpp \
JSAudioBufferSourceNode.cpp \
JSAudioChannelMerger.cpp \
JSAudioChannelSplitter.cpp \
JSAudioContext.cpp \
JSAudioDestinationNode.cpp \
JSAudioGain.cpp \
JSAudioGainNode.cpp \
JSAudioListener.cpp \
JSAudioNode.cpp \
JSAudioPannerNode.cpp \
JSAudioParam.cpp \
JSAudioProcessingEvent.cpp \
JSAudioSourceNode.cpp \
JSConvolverNode.cpp \
JSDelayNode.cpp \
JSHighPass2FilterNode.cpp \
JSJavaScriptAudioNode.cpp \
JSLowPass2FilterNode.cpp \
JSRealtimeAnalyserNode.cpp \
JSWebSocket.cpp \
JSAbstractWorker.cpp \
JSDedicatedWorkerContext.cpp \
JSSharedWorker.cpp \
JSSharedWorkerContext.cpp \
JSWorker.cpp \
JSWorkerContext.cpp \
JSWorkerLocation.cpp \
JSDOMParser.cpp \
JSXMLHttpRequest.cpp \
JSXMLHttpRequestException.cpp \
JSXMLHttpRequestProgressEvent.cpp \
JSXMLHttpRequestUpload.cpp \
JSXMLSerializer.cpp \
JSXPathNSResolver.cpp \
JSXPathException.cpp \
JSXPathExpression.cpp \
JSXPathResult.cpp \
JSXPathEvaluator.cpp \
JSXSLTProcessor.cpp \
InspectorFrontend.cpp \
InspectorBackendDispatcher.cpp \
CSSGrammar.cpp \
HTMLNames.cpp \
HTMLElementFactory.cpp \
JSHTMLElementWrapperFactory.cpp \
XMLNSNames.cpp \
XMLNames.cpp \
HTMLEntityTable.cpp \
DocTypeStrings.cpp \
ColorData.cpp \
UserAgentStyleSheetsData.cpp \
XPathGrammar.cpp \
qwebframe.cpp \
qgraphicswebview.cpp \
qwebpage.cpp \
qwebview.cpp \
qwebelement.cpp \
qwebhistory.cpp \
qwebsettings.cpp \
qwebhistoryinterface.cpp \
qwebplugindatabase.cpp \
qwebpluginfactory.cpp \
qwebsecurityorigin.cpp \
qwebscriptworld.cpp \
qwebdatabase.cpp \
qwebinspector.cpp \
qwebkitversion.cpp \
QtFallbackWebPopup.cpp \
ChromeClientQt.cpp \
ContextMenuClientQt.cpp \
DragClientQt.cpp \
DumpRenderTreeSupportQt.cpp \
EditorClientQt.cpp \
EditCommandQt.cpp \
FrameLoaderClientQt.cpp \
FrameNetworkingContextQt.cpp \
GeolocationPermissionClientQt.cpp \
InspectorClientQt.cpp \
InspectorServerQt.cpp \
NotificationPresenterClientQt.cpp \
PageClientQt.cpp \
PopupMenuQt.cpp \
QtPlatformPlugin.cpp \
SearchPopupMenuQt.cpp \
WebPlatformStrategies.cpp \
IconDatabaseClientQt.cpp \
moc_qwebkitplatformplugin.cpp \
moc_qwebhistoryinterface.cpp \
moc_qwebpluginfactory.cpp \
moc_qwebinspector.cpp \
moc_qwebplugindatabase_p.cpp \
moc_InspectorServerQt.cpp \
moc_QtFallbackWebPopup.cpp \
qrc_WebCore.cpp \
qrc_WebKit.cpp \
qrc_InspectorBackendStub.cpp
QT_VPATH = \
src/3rdparty/webkit/Source/WebCore/generated \
src/3rdparty/webkit/Source/WebKit/qt/Api \
src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport \
# some source files need to be generated by moc from other source/header files before
# they get #included again by the original source file in the compiling stage
# source files generated from existing header files ('moc_%.cpp: %.h' rule in spec-qt4.mk)
# extracted from 'compiler_moc_header_make_all' target
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
moc_qwebframe.cpp \
moc_qgraphicswebview.cpp \
moc_qwebkitplatformplugin.cpp \
moc_qwebpage.cpp \
moc_qwebview.cpp \
moc_qwebhistoryinterface.cpp \
moc_qwebpluginfactory.cpp \
moc_qwebinspector.cpp \
moc_qwebplugindatabase_p.cpp \
moc_InspectorServerQt.cpp \
moc_QtFallbackWebPopup.cpp \
moc_FrameLoaderClientQt.cpp \
moc_NotificationPresenterClientQt.cpp \
moc_PopupMenuQt.cpp \
moc_IconDatabaseClientQt.cpp
# source files generated from existing source files ('%.moc: %.cpp' rule in spec-qt4.mk)
# extracted from 'compiler_moc_source_make_all' rule
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
InspectorClientQt.moc

View File

@ -1,15 +0,0 @@
include $(REP_DIR)/lib/import/import-qt_xml.mk
SHARED_LIB = yes
include $(REP_DIR)/lib/mk/qt_xml_generated.inc
include $(REP_DIR)/lib/mk/qt.inc
INC_DIR += $(REP_DIR)/include/qt4/QtXml/private \
$(REP_DIR)/contrib/$(QT4)/include/QtXml/private \
LIBS += qt_core libc
vpath % $(REP_DIR)/include/qt4/QtXml
vpath % $(REP_DIR)/include/qt4/QtXml/private

View File

@ -1,29 +0,0 @@
QT_DEFINES += -DQT_BUILD_XML_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_CORE_LIB
QT_INCPATH = \
mkspecs/qws/genode-generic-g++ \
src/xml \
QT_SOURCES = \
qdom.cpp \
qxml.cpp
QT_VPATH = \
src/xml/dom \
src/xml/sax \
# some source files need to be generated by moc from other source/header files before
# they get #included again by the original source file in the compiling stage
# source files generated from existing header files ('moc_%.cpp: %.h' rule in spec-qt4.mk)
# extracted from 'compiler_moc_header_make_all' target
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
# source files generated from existing source files ('%.moc: %.cpp' rule in spec-qt4.mk)
# extracted from 'compiler_moc_source_make_all' rule
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \

View File

@ -1,120 +0,0 @@
#
# Build
#
build {
core
init
drivers/input/ps2
drivers/pci
drivers/framebuffer
drivers/timer
server/nitpicker
app/examples/calculatorform
}
create_boot_directory
#
# Generate config
#
set config {
<config>
<parent-provides>
<service name="ROM"/>
<service name="RAM"/>
<service name="IRQ"/>
<service name="IO_MEM"/>
<service name="IO_PORT"/>
<service name="CAP"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="SIGNAL"/>
</parent-provides>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route> }
append_if [have_spec sdl] config {
<start name="fb_sdl">
<resource name="RAM" quantum="4M"/>
<provides>
<service name="Input"/>
<service name="Framebuffer"/>
</provides>
</start>}
append_if [have_spec pci] config {
<start name="pci_drv">
<resource name="RAM" quantum="1M"/>
<provides><service name="PCI"/></provides>
</start>}
append_if [have_spec framebuffer] config {
<start name="fb_drv">
<resource name="RAM" quantum="4M"/>
<provides><service name="Framebuffer"/></provides>
</start>}
append_if [have_spec ps2] config {
<start name="ps2_drv">
<resource name="RAM" quantum="1M"/>
<provides><service name="Input"/></provides>
</start> }
append config {
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="nitpicker">
<resource name="RAM" quantum="1M"/>
<provides><service name="Nitpicker"/></provides>
</start>
<start name="calculatorform">
<resource name="RAM" quantum="80M"/>
</start>
</config>
}
install_config $config
#
# Boot modules
#
# generic modules
set boot_modules {
core
init
timer
nitpicker
calculatorform
dejavusans.lib.so
freetype.lib.so
ld.lib.so
libc.lib.so
libc_lock_pipe.lib.so
libm.lib.so
libpng.lib.so
jpeg.lib.so
qt_core.lib.so
qt_gui.lib.so
zlib.lib.so
stdcxx.lib.so
}
# platform-specific modules
lappend_if [have_spec linux] boot_modules fb_sdl
lappend_if [have_spec pci] boot_modules pci_drv
lappend_if [have_spec framebuffer] boot_modules fb_drv
lappend_if [have_spec ps2] boot_modules ps2_drv
build_boot_image $boot_modules
append qemu_args " -m 128"
run_genode_until forever

View File

@ -1,124 +0,0 @@
#
# Build
#
build {
core
init
drivers/input/ps2
drivers/pci
drivers/framebuffer
drivers/timer
server/nitpicker
app/examples/previewer
}
create_boot_directory
#
# Generate config
#
set config {
<config>
<parent-provides>
<service name="ROM"/>
<service name="RAM"/>
<service name="IRQ"/>
<service name="IO_MEM"/>
<service name="IO_PORT"/>
<service name="CAP"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="SIGNAL"/>
</parent-provides>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route> }
append_if [have_spec sdl] config {
<start name="fb_sdl">
<resource name="RAM" quantum="4M"/>
<provides>
<service name="Input"/>
<service name="Framebuffer"/>
</provides>
</start>}
append_if [have_spec pci] config {
<start name="pci_drv">
<resource name="RAM" quantum="1M"/>
<provides><service name="PCI"/></provides>
</start>}
append_if [have_spec framebuffer] config {
<start name="fb_drv">
<resource name="RAM" quantum="4M"/>
<provides><service name="Framebuffer"/></provides>
</start>}
append_if [have_spec ps2] config {
<start name="ps2_drv">
<resource name="RAM" quantum="1M"/>
<provides><service name="Input"/></provides>
</start> }
append config {
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="nitpicker">
<resource name="RAM" quantum="1M"/>
<provides><service name="Nitpicker"/></provides>
</start>
<start name="previewer">
<resource name="RAM" quantum="80M"/>
</start>
</config>
}
install_config $config
#
# Boot modules
#
# generic modules
set boot_modules {
core
init
timer
nitpicker
previewer
dejavusans.lib.so
freetype.lib.so
ld.lib.so
libc.lib.so
libc_lock_pipe.lib.so
libm.lib.so
libpng.lib.so
jpeg.lib.so
qt_core.lib.so
qt_gui.lib.so
qt_jscore.lib.so
qt_network.lib.so
qt_webcore.lib.so
qt_webkit.lib.so
zlib.lib.so
stdcxx.lib.so
}
# platform-specific modules
lappend_if [have_spec linux] boot_modules fb_sdl
lappend_if [have_spec pci] boot_modules pci_drv
lappend_if [have_spec framebuffer] boot_modules fb_drv
lappend_if [have_spec ps2] boot_modules ps2_drv
build_boot_image $boot_modules
append qemu_args " -m 128"
run_genode_until forever

View File

@ -1,138 +0,0 @@
#
# Build
#
build {
core
init
drivers/input/ps2
drivers/pci
drivers/framebuffer
drivers/timer
server/nitpicker
server/loader
server/tar_rom
test/nitpicker
test/qpluginwidget
}
create_boot_directory
#
# Generate config
#
set config {
<config>
<parent-provides>
<service name="ROM"/>
<service name="RAM"/>
<service name="IRQ"/>
<service name="IO_MEM"/>
<service name="IO_PORT"/>
<service name="CAP"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="SIGNAL"/>
</parent-provides>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route> }
append_if [have_spec sdl] config {
<start name="fb_sdl">
<resource name="RAM" quantum="4M"/>
<provides>
<service name="Input"/>
<service name="Framebuffer"/>
</provides>
</start>}
append_if [have_spec pci] config {
<start name="pci_drv">
<resource name="RAM" quantum="1M"/>
<provides><service name="PCI"/></provides>
</start>}
append_if [have_spec framebuffer] config {
<start name="fb_drv">
<resource name="RAM" quantum="4M"/>
<provides><service name="Framebuffer"/></provides>
</start>}
append_if [have_spec ps2] config {
<start name="ps2_drv">
<resource name="RAM" quantum="1M"/>
<provides><service name="Input"/></provides>
</start> }
append config {
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="nitpicker">
<resource name="RAM" quantum="1M"/>
<provides><service name="Nitpicker"/></provides>
</start>
<start name="loader">
<resource name="RAM" quantum="8M"/>
<provides><service name="Loader"/></provides>
</start>
<start name="test-qpluginwidget">
<resource name="RAM" quantum="30M"/>
</start>
</config>
}
install_config $config
#
# Boot modules
#
exec sh -c "ln -sf ../test/qpluginwidget/test-plugin.tar bin/"
# generic modules
set boot_modules {
core
init
timer
nitpicker
loader
tar_rom
testnit
test-qpluginwidget
dejavusans.lib.so
freetype.lib.so
ld.lib.so
libc.lib.so
libc_lock_pipe.lib.so
libm.lib.so
libpng.lib.so
libssl.lib.so
libcrypto.lib.so
jpeg.lib.so
qt_core.lib.so
qt_gui.lib.so
qt_network.lib.so
zlib.lib.so
qnitpickerviewwidget.lib.so
qpluginwidget.lib.so
test-plugin.tar
stdcxx.lib.so
}
# platform-specific modules
lappend_if [have_spec linux] boot_modules fb_sdl
lappend_if [have_spec pci] boot_modules pci_drv
lappend_if [have_spec framebuffer] boot_modules fb_drv
lappend_if [have_spec ps2] boot_modules ps2_drv
build_boot_image $boot_modules
append qemu_args " -m 128"
run_genode_until forever

View File

@ -1,128 +0,0 @@
#
# Build
#
build {
core
init
drivers/input/ps2
drivers/pci
drivers/framebuffer
drivers/timer
server/nitpicker
app/examples/calculatorform
app/examples/tetrix
app/qt_launchpad
}
create_boot_directory
#
# Generate config
#
set config {
<config>
<parent-provides>
<service name="ROM"/>
<service name="RAM"/>
<service name="IRQ"/>
<service name="IO_MEM"/>
<service name="IO_PORT"/>
<service name="CAP"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="SIGNAL"/>
</parent-provides>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route> }
append_if [have_spec sdl] config {
<start name="fb_sdl">
<resource name="RAM" quantum="4M"/>
<provides>
<service name="Input"/>
<service name="Framebuffer"/>
</provides>
</start>}
append_if [have_spec pci] config {
<start name="pci_drv">
<resource name="RAM" quantum="1M"/>
<provides><service name="PCI"/></provides>
</start>}
append_if [have_spec framebuffer] config {
<start name="fb_drv">
<resource name="RAM" quantum="4M"/>
<provides><service name="Framebuffer"/></provides>
</start>}
append_if [have_spec ps2] config {
<start name="ps2_drv">
<resource name="RAM" quantum="1M"/>
<provides><service name="Input"/></provides>
</start> }
append config {
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="nitpicker">
<resource name="RAM" quantum="1M"/>
<provides><service name="Nitpicker"/></provides>
</start>
<start name="qt_launchpad">
<resource name="RAM" quantum="80M"/>
</start>
</config>
}
install_config $config
#
# Boot modules
#
# generic modules
set boot_modules {
core
init
timer
nitpicker
qt_launchpad
calculatorform
tetrix
dejavusans.lib.so
freetype.lib.so
ld.lib.so
libc.lib.so
libc_lock_pipe.lib.so
libm.lib.so
libpng.lib.so
jpeg.lib.so
qt_core.lib.so
qt_gui.lib.so
qt_script.lib.so
qt_ui_tools.lib.so
qt_xml.lib.so
zlib.lib.so
stdcxx.lib.so
}
# platform-specific modules
lappend_if [have_spec linux] boot_modules fb_sdl
lappend_if [have_spec pci] boot_modules pci_drv
lappend_if [have_spec framebuffer] boot_modules fb_drv
lappend_if [have_spec ps2] boot_modules ps2_drv
build_boot_image $boot_modules
append qemu_args " -m 512"
run_genode_until forever

View File

@ -1,152 +0,0 @@
#
# Build
#
build {
core
init
drivers/input/ps2
drivers/pci
drivers/framebuffer
drivers/timer
drivers/audio_out
server/nitpicker
app/avplay
app/qt_avplay
}
#
# Download media file
#
set media_url "ftp://ftp.untergrund.net/users/ae/dhstv/escape-chotro.mp4"
if {![file exists bin/mediafile]} {
puts "downloading media file from $media_url"
catch { exec wget -O bin/mediafile $media_url }
}
create_boot_directory
#
# Generate config
#
set config {
<config>
<parent-provides>
<service name="ROM"/>
<service name="RAM"/>
<service name="IRQ"/>
<service name="IO_MEM"/>
<service name="IO_PORT"/>
<service name="CAP"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="SIGNAL"/>
</parent-provides>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route> }
append_if [have_spec sdl] config {
<start name="fb_sdl">
<resource name="RAM" quantum="4M"/>
<provides>
<service name="Input"/>
<service name="Framebuffer"/>
</provides>
</start>}
append_if [have_spec pci] config {
<start name="pci_drv">
<resource name="RAM" quantum="1M"/>
<provides><service name="PCI"/></provides>
</start>}
append_if [have_spec framebuffer] config {
<start name="fb_drv">
<resource name="RAM" quantum="4M"/>
<provides><service name="Framebuffer"/></provides>
</start>}
append_if [have_spec ps2] config {
<start name="ps2_drv">
<resource name="RAM" quantum="1M"/>
<provides><service name="Input"/></provides>
</start> }
append config {
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="audio_out_drv">
<resource name="RAM" quantum="6M"/>
<provides><service name="Audio_out"/></provides>
</start>
<start name="nitpicker">
<resource name="RAM" quantum="1M"/>
<provides><service name="Nitpicker"/></provides>
</start>
<start name="qt_avplay">
<resource name="RAM" quantum="2G"/>
<config>
<mediafile name="mediafile"/>
</config>
</start>
</config>
}
install_config $config
#
# Boot modules
#
# generic modules
set boot_modules {
core
init
timer
audio_out_drv
nitpicker
qt_avplay
dejavusans.lib.so
freetype.lib.so
ld.lib.so
libc.lib.so
libc_lock_pipe.lib.so
libm.lib.so
libpng.lib.so
jpeg.lib.so
qnitpickerviewwidget.lib.so
qt_core.lib.so
qt_gui.lib.so
qt_xml.lib.so
zlib.lib.so
avcodec.lib.so
avformat.lib.so
avutil.lib.so
avfilter.lib.so
swscale.lib.so
sdl.lib.so
pthread.lib.so
avplay
mediafile
stdcxx.lib.so
}
# platform-specific modules
lappend_if [have_spec linux] boot_modules fb_sdl
lappend_if [have_spec pci] boot_modules pci_drv
lappend_if [have_spec framebuffer] boot_modules fb_drv
lappend_if [have_spec ps2] boot_modules ps2_drv
build_boot_image $boot_modules
append qemu_args " -m 512 -soundhw all"
run_genode_until forever

View File

@ -1,123 +0,0 @@
#
# Build
#
build {
core
init
drivers/input/ps2
drivers/pci
drivers/framebuffer
drivers/timer
server/nitpicker
app/examples/tetrix
}
create_boot_directory
#
# Generate config
#
set config {
<config>
<parent-provides>
<service name="ROM"/>
<service name="RAM"/>
<service name="IRQ"/>
<service name="IO_MEM"/>
<service name="IO_PORT"/>
<service name="CAP"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="SIGNAL"/>
</parent-provides>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route> }
append_if [have_spec sdl] config {
<start name="fb_sdl">
<resource name="RAM" quantum="4M"/>
<provides>
<service name="Input"/>
<service name="Framebuffer"/>
</provides>
</start>}
append_if [have_spec pci] config {
<start name="pci_drv">
<resource name="RAM" quantum="1M"/>
<provides><service name="PCI"/></provides>
</start>}
append_if [have_spec framebuffer] config {
<start name="fb_drv">
<resource name="RAM" quantum="4M"/>
<provides><service name="Framebuffer"/></provides>
</start>}
append_if [have_spec ps2] config {
<start name="ps2_drv">
<resource name="RAM" quantum="1M"/>
<provides><service name="Input"/></provides>
</start> }
append config {
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="nitpicker">
<resource name="RAM" quantum="1M"/>
<provides><service name="Nitpicker"/></provides>
</start>
<start name="tetrix">
<resource name="RAM" quantum="80M"/>
</start>
</config>
}
install_config $config
#
# Boot modules
#
# generic modules
set boot_modules {
core
init
timer
nitpicker
tetrix
dejavusans.lib.so
freetype.lib.so
ld.lib.so
libc.lib.so
libc_lock_pipe.lib.so
libm.lib.so
libpng.lib.so
jpeg.lib.so
qt_core.lib.so
qt_gui.lib.so
qt_script.lib.so
qt_ui_tools.lib.so
qt_xml.lib.so
zlib.lib.so
stdcxx.lib.so
}
# platform-specific modules
lappend_if [have_spec linux] boot_modules fb_sdl
lappend_if [have_spec pci] boot_modules pci_drv
lappend_if [have_spec framebuffer] boot_modules fb_drv
lappend_if [have_spec ps2] boot_modules ps2_drv
build_boot_image $boot_modules
append qemu_args " -m 128"
run_genode_until forever

View File

@ -1,214 +0,0 @@
#
# Build
#
if {[have_spec hw_odroid_xu]} {
puts "Run script does not support this platform."
exit 0
}
set build_components {
core
init
drivers/framebuffer
drivers/timer
server/nitpicker
app/examples/textedit
}
set use_sd_card_driver [expr [have_spec omap4] || [have_spec platform_arndale]]
set use_usb_driver [expr [have_spec omap4] || [have_spec platform_arndale] || [have_spec platform_rpi]]
lappend_if $use_sd_card_driver build_components drivers/sd_card
lappend_if $use_usb_driver build_components drivers/usb
lappend_if [have_spec pci] build_components drivers/pci
lappend_if [have_spec pci] build_components drivers/atapi
lappend_if [have_spec acpi] build_components drivers/acpi
lappend_if [have_spec ps2] build_components drivers/input/ps2
lappend_if [have_spec linux] build_components server/ram_fs
lappend_if [expr ![have_spec linux]] build_components server/ffat_fs
lappend_if [have_spec gpio] build_components drivers/gpio
build $build_components
create_boot_directory
#
# Generate config
#
set config {
<config>
<parent-provides>
<service name="ROM"/>
<service name="RAM"/>
<service name="IRQ"/>
<service name="IO_MEM"/>
<service name="IO_PORT"/>
<service name="CAP"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="SIGNAL"/>
</parent-provides>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route> }
append_if [have_spec sdl] config {
<start name="fb_sdl">
<resource name="RAM" quantum="4M"/>
<provides>
<service name="Input"/>
<service name="Framebuffer"/>
</provides>
</start>}
append_if [have_spec pci] config {
<start name="pci_drv">
<resource name="RAM" quantum="1M"/>
<provides><service name="PCI"/></provides>
</start>
<start name="atapi_drv">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Block"/> </provides>
<config ata="yes" />
</start>}
append_if [have_spec gpio] config {
<start name="gpio_drv">
<resource name="RAM" quantum="4M"/>
<provides><service name="Gpio"/></provides>
<config/>
</start>}
append_if $use_sd_card_driver config {
<start name="sd_card_drv">
<resource name="RAM" quantum="1M" />
<provides><service name="Block"/></provides>
</start>}
append_if [have_spec framebuffer] config {
<start name="fb_drv">
<resource name="RAM" quantum="4M"/>
<provides><service name="Framebuffer"/></provides>
</start>}
append_if [expr ![have_spec ps2] && [have_spec usb]] config {
<start name="usb_drv">
<resource name="RAM" quantum="12M"/>
<provides><service name="Input"/></provides>
<config> <hid/> </config>
</start>}
append_if [have_spec ps2] config {
<start name="ps2_drv">
<resource name="RAM" quantum="1M"/>
<provides><service name="Input"/></provides>
</start>}
append_if [have_spec linux] config {
<start name="ram_fs">
<resource name="RAM" quantum="10M"/>
<provides><service name="File_system"/></provides>
<config>
<!-- constrain sessions according to their labels -->
<policy label="textedit" root="/" writeable="yes" />
<policy label="textedit2" root="/" writeable="yes" />
</config>
</start>}
append_if [expr ![have_spec linux]] config {
<start name="ffat_fs">
<resource name="RAM" quantum="10M"/>
<provides><service name="File_system"/></provides>
<config>
<!-- constrain sessions according to their labels -->
<policy label="textedit" root="/" writeable="yes" />
</config>
</start>}
append config {
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="nitpicker">
<resource name="RAM" quantum="1M"/>
<provides><service name="Nitpicker"/></provides>
</start>
<start name="textedit">
<resource name="RAM" quantum="40M"/>
<config xpos="3" ypos="0" width="500" height="710">
<libc>
<vfs> <fs/> </vfs>
</libc>
</config>
</start>
<start name="textedit2">
<binary name="textedit" />
<resource name="RAM" quantum="40M"/>
<config xpos="512" ypos="0" width="500" height="710">
<libc>
<vfs> <fs/> </vfs>
</libc>
</config>
</start>
</config>
}
install_config $config
#
# Boot modules
#
# generic modules
set boot_modules {
core
init
timer
nitpicker
textedit
dejavusans.lib.so
freetype.lib.so
ld.lib.so
libc.lib.so
libc_lock_pipe.lib.so
libm.lib.so
libpng.lib.so
jpeg.lib.so
qt_core.lib.so
qt_gui.lib.so
zlib.lib.so
stdcxx.lib.so
}
# platform-specific modules
lappend_if [have_spec linux] boot_modules fb_sdl
lappend_if [have_spec linux] boot_modules ram_fs
lappend_if [expr ![have_spec linux]] boot_modules ffat_fs
lappend_if [have_spec pci] boot_modules pci_drv
lappend_if [have_spec pci] boot_modules atapi_drv
lappend_if [have_spec ps2] boot_modules ps2_drv
lappend_if [have_spec framebuffer] boot_modules fb_drv
lappend_if $use_sd_card_driver boot_modules sd_card_drv
lappend_if $use_usb_driver boot_modules usb_drv
lappend_if [have_spec gpio] boot_modules gpio_drv
build_boot_image $boot_modules
set disk_image "bin/test.hda"
set cmd "dd if=/dev/zero of=$disk_image bs=1024 count=65536"
puts "creating disk image: $cmd"
catch { exec sh -c $cmd }
set cmd "mkfs.vfat -F32 $disk_image"
puts "formating disk image with vfat file system: $cmd"
catch { exec sh -c $cmd }
append_if [have_spec pci] qemu_args " -hda $disk_image -boot order=d "
append qemu_args " -m 128"
run_genode_until forever

View File

@ -1,14 +0,0 @@
# identify the qt4 repository by searching for a file that is unique for qt4
QT4_REP_DIR := $(call select_from_repositories,lib/import/import-qt4.inc)
QT4_REP_DIR := $(realpath $(dir $(QT4_REP_DIR))../..)
include $(QT4_REP_DIR)/lib/mk/qt_version.inc
QMAKE_PROJECT_PATH = $(realpath $(QT4_REP_DIR)/contrib/$(QT4)/examples/designer/calculatorform)
QMAKE_PROJECT_FILE = $(QMAKE_PROJECT_PATH)/calculatorform.pro
vpath % $(QMAKE_PROJECT_PATH)
include $(QT4_REP_DIR)/src/app/tmpl/target_defaults.inc
include $(QT4_REP_DIR)/src/app/tmpl/target_final.inc

View File

@ -1,14 +0,0 @@
# identify the qt4 repository by searching for a file that is unique for qt4
QT4_REP_DIR := $(call select_from_repositories,lib/import/import-qt4.inc)
QT4_REP_DIR := $(realpath $(dir $(QT4_REP_DIR))../..)
include $(QT4_REP_DIR)/lib/mk/qt_version.inc
QMAKE_PROJECT_PATH = $(realpath $(QT4_REP_DIR)/contrib/$(QT4)/examples/webkit/previewer)
QMAKE_PROJECT_FILE = $(QMAKE_PROJECT_PATH)/previewer.pro
vpath % $(QMAKE_PROJECT_PATH)
include $(QT4_REP_DIR)/src/app/tmpl/target_defaults.inc
include $(QT4_REP_DIR)/src/app/tmpl/target_final.inc

View File

@ -1,16 +0,0 @@
# identify the qt4 repository by searching for a file that is unique for qt4
QT4_REP_DIR := $(call select_from_repositories,lib/import/import-qt4.inc)
QT4_REP_DIR := $(realpath $(dir $(QT4_REP_DIR))../..)
include $(QT4_REP_DIR)/lib/mk/qt_version.inc
QMAKE_PROJECT_PATH = $(realpath $(QT4_REP_DIR)/contrib/$(QT4)/examples/script/qstetrix)
QMAKE_PROJECT_FILE = $(QMAKE_PROJECT_PATH)/qstetrix.pro
vpath % $(QMAKE_PROJECT_PATH)
include $(QT4_REP_DIR)/src/app/tmpl/target_defaults.inc
CC_CXX_OPT += -DQT_NO_SCRIPTTOOLS
include $(QT4_REP_DIR)/src/app/tmpl/target_final.inc

View File

@ -1,14 +0,0 @@
# identify the qt4 repository by searching for a file that is unique for qt4
QT4_REP_DIR := $(call select_from_repositories,lib/import/import-qt4.inc)
QT4_REP_DIR := $(realpath $(dir $(QT4_REP_DIR))../..)
include $(QT4_REP_DIR)/lib/mk/qt_version.inc
QMAKE_PROJECT_PATH = $(realpath $(QT4_REP_DIR)/contrib/$(QT4)/demos/textedit)
QMAKE_PROJECT_FILE = $(QMAKE_PROJECT_PATH)/textedit.pro
vpath % $(QMAKE_PROJECT_PATH)
include $(QT4_REP_DIR)/src/app/tmpl/target_defaults.inc
include $(QT4_REP_DIR)/src/app/tmpl/target_final.inc

View File

@ -1,18 +0,0 @@
This directory contains a simple Qt-based media player which is actually a
graphical user interface for the SDL-based 'avplay' media player from 'libav'.
It starts 'avplay' as a child and shows its graphical output in a
'QNitpickerViewWidget'. The widgets for controlling the player state send the
according keyboard and mouse input events to 'avplay'.
The 'qt_avplay' player supports the following configuration options:
:'<mediafile name="..."/>:'
name of the media file to play
:'<framebuffer_filter name="..." ram_quota="..."/>':
This node contains the name of a framebuffer filter service to filter the
video output. It may appear multiple times. If specified more than once, it
is possible to build a post-processing pipeline for the video display where
each processing stage is executed by a separate program.

View File

@ -1,134 +0,0 @@
/*
* \brief Avplay policy
* \author Christian Prochaska
* \date 2012-04-05
*/
/*
* Copyright (C) 2012-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef _AVPLAY_POLICY_H_
#define _AVPLAY_POLICY_H_
/* Qt4 includes */
#include <QDebug>
#include <QObject>
#include <QDomDocument>
#include <QDomElement>
#include <QDomText>
/* Genode includes */
#include <os/slave.h>
class Avplay_policy : public QObject, public Genode::Slave_policy
{
Q_OBJECT
private:
Genode::Service_registry &_input_in;
Genode::Service_registry &_framebuffer_in;
const char *_mediafile;
int _sdl_audio_volume;
QByteArray _config_byte_array;
const char *_config()
{
QDomDocument config_doc;
QDomElement config_node = config_doc.createElement("config");
config_doc.appendChild(config_node);
QDomElement arg0_node = config_doc.createElement("arg");
arg0_node.setAttribute("value", "avplay");
config_node.appendChild(arg0_node);
QDomElement arg1_node = config_doc.createElement("arg");
arg1_node.setAttribute("value", _mediafile);
config_node.appendChild(arg1_node);
/*
* Configure libc of avplay to direct output to LOG and to obtain
* the mediafile from ROM.
*/
QDomElement libc_node = config_doc.createElement("libc");
libc_node.setAttribute("stdout", "/dev/log");
libc_node.setAttribute("stderr", "/dev/log");
QDomElement libc_vfs_node = config_doc.createElement("vfs");
QDomElement libc_vfs_dev_node = config_doc.createElement("dir");
libc_vfs_dev_node.setAttribute("name", "dev");
QDomElement libc_vfs_dev_log_node = config_doc.createElement("log");
libc_vfs_dev_node.appendChild(libc_vfs_dev_log_node);
libc_vfs_node.appendChild(libc_vfs_dev_node);
QDomElement libc_vfs_mediafile_node = config_doc.createElement("rom");
libc_vfs_mediafile_node.setAttribute("name", "mediafile");
libc_vfs_node.appendChild(libc_vfs_mediafile_node);
libc_node.appendChild(libc_vfs_node);
config_node.appendChild(libc_node);
QDomElement sdl_audio_volume_node = config_doc.createElement("sdl_audio_volume");
sdl_audio_volume_node.setAttribute("value", QString::number(_sdl_audio_volume));
config_node.appendChild(sdl_audio_volume_node);
_config_byte_array = config_doc.toByteArray(4);
return _config_byte_array.constData();
}
protected:
const char **_permitted_services() const
{
static const char *permitted_services[] = {
"CAP", "LOG", "RM", "ROM", "SIGNAL",
"Timer", "Audio_out", 0 };
return permitted_services;
};
public:
Avplay_policy(Genode::Rpc_entrypoint &entrypoint,
Genode::Service_registry &input_in,
Genode::Service_registry &framebuffer_in,
const char *mediafile)
: Genode::Slave_policy("avplay", entrypoint, Genode::env()->ram_session()),
_input_in(input_in),
_framebuffer_in(framebuffer_in),
_mediafile(mediafile),
_sdl_audio_volume(100)
{
configure(_config());
}
Genode::Service *resolve_session_request(const char *service_name,
const char *args)
{
if (strcmp(service_name, "Input") == 0)
return _input_in.find(service_name);
if (strcmp(service_name, "Framebuffer") == 0) {
Genode::Client client;
return _framebuffer_in.wait_for_service(service_name, &client, name());
}
return Slave_policy::resolve_session_request(service_name, args);
}
public Q_SLOTS:
void volume_changed(int value)
{
_sdl_audio_volume = value;
configure(_config());
}
};
#endif /* _AVPLAY_POLICY_H_ */

View File

@ -1,74 +0,0 @@
/*
* \brief Control bar
* \author Christian Prochaska
* \date 2012-03-30
*/
/*
* Copyright (C) 2012-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
/* Genode includes */
#include <input/keycodes.h>
/* Qoost includes */
#include <qoost/style.h>
/* local includes */
#include "main_window.h"
void Control_bar::_rewind()
{
/* mouse click at horizontal position 0 */
_event_queue.add(Input::Event(Input::Event::PRESS, Input::BTN_LEFT, 0, 0, 0, 0));
_event_queue.add(Input::Event(Input::Event::RELEASE, Input::BTN_LEFT, 0, 0, 0, 0));
}
void Control_bar::_pause_resume()
{
_event_queue.add(Input::Event(Input::Event::PRESS, Input::KEY_SPACE, 0, 0, 0, 0));
_event_queue.add(Input::Event(Input::Event::RELEASE, Input::KEY_SPACE, 0, 0, 0, 0));
_playing = !_playing;
if (_playing)
update_style_id(_play_pause_button, "play");
else
update_style_id(_play_pause_button, "pause");
}
void Control_bar::_stop()
{
if (_playing)
_pause_resume();
_rewind();
}
Control_bar::Control_bar(Input::Event_queue &event_queue)
:
_event_queue(event_queue), _playing(true)
{
update_style_id(_play_pause_button, "play");
_volume_slider->setOrientation(Qt::Horizontal);
_volume_slider->setRange(0, 100);
_volume_slider->setTickInterval(10);
_volume_slider->setValue(100);
_layout->addWidget(_play_pause_button);
_layout->addWidget(_stop_button);
_layout->addStretch();
_layout->addWidget(_volume_label);
_layout->addWidget(_volume_slider);
connect(_play_pause_button, SIGNAL(clicked()), this, SLOT(_pause_resume()));
connect(_stop_button, SIGNAL(clicked()), this, SLOT(_stop()));
connect(_volume_slider, SIGNAL(valueChanged(int)), this, SIGNAL(volume_changed(int)));
}

View File

@ -1,63 +0,0 @@
/*
* \brief Control bar
* \author Christian Prochaska
* \date 2012-03-30
*/
/*
* Copyright (C) 2012-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef _CONTROL_BAR_H_
#define _CONTROL_BAR_H_
/* Qt includes */
#include <QtGui>
/* Qoost includes */
#include <qoost/compound_widget.h>
#include <qoost/qmember.h>
/* Genode includes */
#include <input/event_queue.h>
struct Play_pause_button : QPushButton { Q_OBJECT };
struct Stop_button : QPushButton { Q_OBJECT };
struct Volume_label : QLabel { Q_OBJECT };
struct Volume_slider : QSlider { Q_OBJECT };
class Control_bar : public Compound_widget<QWidget, QHBoxLayout>
{
Q_OBJECT
private:
Input::Event_queue &_event_queue;
QMember<Play_pause_button> _play_pause_button;
QMember<Stop_button> _stop_button;
QMember<Volume_label> _volume_label;
QMember<Volume_slider> _volume_slider;
bool _playing;
void _rewind();
private Q_SLOTS:
void _pause_resume();
void _stop();
public:
Control_bar(Input::Event_queue &event_queue);
Q_SIGNALS:
void volume_changed(int value);
};
#endif /* _CONTROL_BAR_H_ */

View File

@ -1,77 +0,0 @@
/*
* \brief Filter framebuffer policy
* \author Christian Prochaska
* \date 2012-04-11
*/
/*
* Copyright (C) 2012-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef _FILTER_FRAMEBUFFER_POLICY_H_
#define _FILTER_FRAMEBUFFER_POLICY_H_
/* Genode includes */
#include <base/service.h>
#include <os/slave.h>
class Filter_framebuffer_policy : public Genode::Slave_policy
{
private:
Genode::Service_registry &_framebuffer_in;
Genode::Service_registry &_framebuffer_out;
protected:
const char **_permitted_services() const
{
static const char *permitted_services[] = {
"CAP", "LOG", "RM", "ROM", "SIGNAL",
"Timer", 0 };
return permitted_services;
};
public:
Filter_framebuffer_policy(const char *name,
Genode::Rpc_entrypoint &entrypoint,
Genode::Service_registry &framebuffer_in,
Genode::Service_registry &framebuffer_out)
: Genode::Slave_policy(name, entrypoint, Genode::env()->ram_session()),
_framebuffer_in(framebuffer_in),
_framebuffer_out(framebuffer_out) { }
Genode::Service *resolve_session_request(const char *service_name,
const char *args)
{
if (strcmp(service_name, "Framebuffer") == 0) {
Genode::Client client;
return _framebuffer_in.wait_for_service(service_name, &client, name());
}
return Slave_policy::resolve_session_request(service_name, args);
}
bool announce_service(const char *name,
Genode::Root_capability root,
Genode::Allocator *alloc,
Genode::Server *server)
{
if (strcmp(name, "Framebuffer") == 0) {
_framebuffer_out.insert(new (alloc) Genode::Child_service(name, root, server));
return true;
}
return Slave_policy::announce_service(name, root, alloc, server);
}
};
#endif /* _FILTER_FRAMEBUFFER_POLICY_H_ */

View File

@ -1,64 +0,0 @@
/*
* \brief Framebuffer root
* \author Christian Prochaska
* \date 2012-04-02
*/
/*
* Copyright (C) 2012-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef _FRAMEBUFFER_ROOT_H_
#define _FRAMEBUFFER_ROOT_H_
/* Genode includes */
#include <root/component.h>
#include "framebuffer_session_component.h"
namespace Framebuffer {
/**
* Shortcut for single-client root component
*/
typedef Genode::Root_component<Session_component, Genode::Single_client> Root_component;
class Root : public Root_component
{
private:
QNitpickerViewWidget &_nitpicker_view_widget;
int _max_width;
int _max_height;
protected:
Session_component *_create_session(const char *args)
{
return new (md_alloc())
Session_component(args, _nitpicker_view_widget,
_max_width, _max_height);
}
public:
Root(Genode::Rpc_entrypoint *session_ep,
Genode::Allocator *md_alloc,
QNitpickerViewWidget &nitpicker_view_widget,
int max_width = 0,
int max_height = 0)
: Root_component(session_ep, md_alloc),
_nitpicker_view_widget(nitpicker_view_widget),
_max_width(max_width),
_max_height(max_height) { }
};
}
#endif /* _FRAMEBUFFER_ROOT_H_ */

View File

@ -1,89 +0,0 @@
/*
* \brief Framebuffer session component
* \author Christian Prochaska
* \date 2012-04-02
*/
/*
* Copyright (C) 2012-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
/* Genode includes */
#include <base/env.h>
#include <nitpicker_view/client.h>
#include <util/arg_string.h>
#include <util/misc_math.h>
#include "framebuffer_session_component.h"
namespace Framebuffer {
int Session_component::_limited_size(int requested_size, int max_size)
{
if (requested_size == 0)
return max_size;
else
return (max_size > 0) ? Genode::min(requested_size, max_size) : requested_size;
}
static inline long session_arg(const char *arg, const char *key)
{
return Genode::Arg_string::find_arg(arg, key).long_value(0);
}
Session_component::Session_component(const char *args,
QNitpickerViewWidget &nitpicker_view_widget,
int max_width,
int max_height)
:
_framebuffer(_nitpicker.framebuffer_session())
{
Framebuffer::Mode const
mode(_limited_size(session_arg(args, "fb_width"), max_width),
_limited_size(session_arg(args, "fb_height"), max_height),
_nitpicker.mode().format());
_nitpicker.buffer(mode, false);
Nitpicker::View_capability nitpicker_view_cap = _nitpicker.create_view();
Mode _mode = _framebuffer.mode();
nitpicker_view_widget.setNitpickerView(nitpicker_view_cap,
0, 0,
_mode.width(),
_mode.height());
}
Genode::Dataspace_capability Session_component::dataspace()
{
return _framebuffer.dataspace();
}
Mode Session_component::mode() const
{
return _framebuffer.mode();
}
void Session_component::mode_sigh(Genode::Signal_context_capability sigh_cap)
{
_framebuffer.mode_sigh(sigh_cap);
}
void Session_component::sync_sigh(Genode::Signal_context_capability sigh_cap)
{
_framebuffer.sync_sigh(sigh_cap);
}
void Session_component::refresh(int x, int y, int w, int h)
{
_framebuffer.refresh(x, y, w, h);
}
}

View File

@ -1,57 +0,0 @@
/*
* \brief Framebuffer session component
* \author Christian Prochaska
* \date 2012-04-02
*/
/*
* Copyright (C) 2012-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef _FRAMEBUFFER_SESSION_COMPONENT_H_
#define _FRAMEBUFFER_SESSION_COMPONENT_H_
/* Genode includes */
#include <base/rpc_server.h>
#include <framebuffer_session/client.h>
#include <nitpicker_session/connection.h>
/* Qt4 includes */
#include <qnitpickerviewwidget/qnitpickerviewwidget.h>
namespace Framebuffer {
class Session_component : public Genode::Rpc_object<Session>
{
private:
Nitpicker::Connection _nitpicker;
Session_client _framebuffer;
int _limited_size(int requested_size, int max_size);
public:
/**
* Constructor
*/
Session_component(const char *args,
QNitpickerViewWidget &nitpicker_view_widget,
int max_width = 0,
int max_height = 0);
Genode::Dataspace_capability dataspace() override;
Mode mode() const override;
void mode_sigh(Genode::Signal_context_capability) override;
void sync_sigh(Genode::Signal_context_capability) override;
void refresh(int, int, int, int) override;
};
}
#endif /* _FRAMEBUFFER_SESSION_COMPONENT_H_ */

View File

@ -1,58 +0,0 @@
/*
* \brief Simple Qt interface for 'avplay' media player
* \author Christian Prochaska
* \date 2012-03-21
*/
/*
* Copyright (C) 2012-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
/* Qt includes */
#include <QApplication>
/* qt_avplay includes */
#include "main_window.h"
/* Genode includes */
#include <rom_session/connection.h>
#include <base/process.h>
#include <base/printf.h>
static inline void load_stylesheet()
{
QFile file(":style.qss");
if (!file.open(QFile::ReadOnly)) {
qWarning() << "Warning:" << file.errorString()
<< "opening file" << file.fileName();
return;
}
qApp->setStyleSheet(QLatin1String(file.readAll()));
}
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
load_stylesheet();
/* look for dynamic linker */
try {
static Genode::Rom_connection ldso_rom("ld.lib.so");
Genode::Process::dynamic_linker(ldso_rom.dataspace());
} catch (...) {
PERR("ld.lib.so not found");
}
QMember<Main_window> main_window;
main_window->show();
return app.exec();
}

View File

@ -1,94 +0,0 @@
/*
* \brief Main window of the media player
* \author Christian Prochaska
* \date 2012-03-29
*/
/*
* Copyright (C) 2012-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
/* qt_avplay includes */
#include "avplay_policy.h"
#include "filter_framebuffer_policy.h"
#include "framebuffer_root.h"
#include "main_window.h"
using namespace Genode;
struct Framebuffer_filter
{
enum { MAX_FILTER_NAME_SIZE = 32 };
char name[MAX_FILTER_NAME_SIZE];
Genode::Number_of_bytes ram_quota;
Service_registry *framebuffer_out_registry;
Rpc_entrypoint *ep;
Filter_framebuffer_policy *policy;
Slave *slave;
};
Main_window::Main_window()
:
_control_bar(_input_session.event_queue())
{
_input_registry.insert(&_input_service);
_ep.manage(&_input_root);
/* find out which filtering framebuffer services to start and sort them in reverse order */
static QList<Framebuffer_filter*> framebuffer_filters;
try {
Xml_node node = config()->xml_node().sub_node("framebuffer_filter");
for (; ; node = node.next("framebuffer_filter")) {
Framebuffer_filter *framebuffer_filter = new Framebuffer_filter;
node.attribute("name").value(framebuffer_filter->name, sizeof(framebuffer_filter->name));
node.attribute("ram_quota").value(&framebuffer_filter->ram_quota);
qDebug() << "filter:" << framebuffer_filter->name << "," << framebuffer_filter->ram_quota;
framebuffer_filters.prepend(framebuffer_filter);
}
} catch (Xml_node::Nonexistent_sub_node) { }
/* start the filtering framebuffer services */
Service_registry *framebuffer_in_registry = &_nitpicker_framebuffer_registry;
Q_FOREACH(Framebuffer_filter *framebuffer_filter, framebuffer_filters) {
framebuffer_filter->framebuffer_out_registry = new Service_registry;
framebuffer_filter->ep = new Rpc_entrypoint(&_cap, STACK_SIZE, "filter_fb_ep");
framebuffer_filter->policy = new Filter_framebuffer_policy(framebuffer_filter->name,
*framebuffer_filter->ep,
*framebuffer_in_registry,
*framebuffer_filter->framebuffer_out_registry);
framebuffer_filter->slave = new Slave(*framebuffer_filter->ep,
*framebuffer_filter->policy,
framebuffer_filter->ram_quota);
framebuffer_in_registry = framebuffer_filter->framebuffer_out_registry;
}
Rpc_entrypoint *local_framebuffer_ep = framebuffer_filters.isEmpty() ?
&_ep :
framebuffer_filters.at(0)->ep;
static Framebuffer::Root framebuffer_root(local_framebuffer_ep, env()->heap(), *_avplay_widget, 640, 480);
static Local_service framebuffer_service(Framebuffer::Session::service_name(), &framebuffer_root);
_nitpicker_framebuffer_registry.insert(&framebuffer_service);
/* start avplay */
static Avplay_policy avplay_policy(_ep, _input_registry, *framebuffer_in_registry, _mediafile_name.buf);
static Genode::Slave avplay_slave(_ep, avplay_policy, 32*1024*1024);
/* add widgets to layout */
_layout->addWidget(_avplay_widget);
_layout->addWidget(_control_bar);
connect(_control_bar, SIGNAL(volume_changed(int)), &avplay_policy, SLOT(volume_changed(int)));
}

View File

@ -1,80 +0,0 @@
/*
* \brief Main window of the media player
* \author Christian Prochaska
* \date 2012-03-29
*/
/*
* Copyright (C) 2012-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef _MAIN_WINDOW_H_
#define _MAIN_WINDOW_H_
/* Qt includes */
#include <QVBoxLayout>
#include <QWidget>
#include <qnitpickerviewwidget/qnitpickerviewwidget.h>
/* Qoost includes */
#include <qoost/compound_widget.h>
#include <qoost/qmember.h>
/* Genode includes */
#include <base/service.h>
#include <cap_session/connection.h>
#include <input/root.h>
#include <os/config.h>
#include <rom_session/connection.h>
/* local includes */
#include "control_bar.h"
class Main_window : public Compound_widget<QWidget, QVBoxLayout>
{
Q_OBJECT
private:
struct Mediafile_name
{
/* get the name of the media file from the config file */
enum { MAX_LEN_MEDIAFILE_NAME = 256 };
char buf[MAX_LEN_MEDIAFILE_NAME];
Mediafile_name()
{
Genode::strncpy(buf, "mediafile", sizeof(buf));
try {
Genode::config()->xml_node().sub_node("mediafile")
.attribute("name").value(buf, sizeof(buf));
} catch(...) {
PWRN("no <mediafile> config node found, using \"mediafile\"");
}
}
} _mediafile_name;
enum { STACK_SIZE = 2*sizeof(Genode::addr_t)*1024 };
Genode::Cap_connection _cap;
Genode::Rpc_entrypoint _ep { &_cap, STACK_SIZE, "avplay_ep" };
Genode::Service_registry _input_registry;
Genode::Service_registry _nitpicker_framebuffer_registry;
Input::Session_component _input_session;
Input::Root_component _input_root { _ep, _input_session };
Genode::Local_service _input_service { Input::Session::service_name(), &_input_root };
QMember<QNitpickerViewWidget> _avplay_widget;
QMember<Control_bar> _control_bar;
public:
Main_window();
};
#endif /* _MAIN_WINDOW_H_ */

Some files were not shown because too many files have changed in this diff Show More