mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 21:57:55 +00:00
parent
572592b0f3
commit
7b54eaaee1
10
.gitignore
vendored
10
.gitignore
vendored
@ -128,8 +128,18 @@
|
||||
/libports/src/lib/ncurses/make_keys
|
||||
/libports/src/lib/ncurses/names.c
|
||||
/libports/src/lib/ncurses/unctrl.c
|
||||
/libports/src/lib/qt5/qtwebkit/Source/JavaScriptCore
|
||||
/libports/src/lib/qt5/qtwebkit/Source/WebCore/generated
|
||||
/libports/tool/mesa/glsl
|
||||
/libports/tool/mupdf
|
||||
/libports/tool/qt5/bootstrap
|
||||
/libports/tool/qt5/misc/var
|
||||
/libports/tool/qt5/moc
|
||||
/libports/tool/qt5/qmake/*.d
|
||||
/libports/tool/qt5/qmake/*.o
|
||||
/libports/tool/qt5/qmake/qmake
|
||||
/libports/tool/qt5/rcc
|
||||
/libports/tool/qt5/uic
|
||||
/ports-foc/contrib
|
||||
/ports-okl4/contrib
|
||||
/ports-okl4/download
|
||||
|
116
libports/include/qt5/genode/thread_qt.h
Normal file
116
libports/include/qt5/genode/thread_qt.h
Normal file
@ -0,0 +1,116 @@
|
||||
/*
|
||||
* \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(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_ */
|
@ -0,0 +1,57 @@
|
||||
/*
|
||||
* \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 <QtWidgets>
|
||||
#if 0
|
||||
#include <qwindowsystem_qws.h>
|
||||
#endif
|
||||
|
||||
#include <nitpicker_view/capability.h>
|
||||
#include <nitpicker_view/client.h>
|
||||
|
||||
class QNitpickerViewWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
private:
|
||||
QHash<QScrollBar*, bool> _scrollbars;
|
||||
|
||||
private slots:
|
||||
#if 0
|
||||
void windowEvent(QWSWindow *window,
|
||||
QWSServer::WindowEvent eventType);
|
||||
#endif
|
||||
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
|
107
libports/include/qt5/qpluginwidget/qpluginwidget.h
Normal file
107
libports/include/qt5/qpluginwidget/qpluginwidget.h
Normal file
@ -0,0 +1,107 @@
|
||||
/*
|
||||
* \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
|
1
libports/include/qt5/qtbase/QtCore
Symbolic link
1
libports/include/qt5/qtbase/QtCore
Symbolic link
@ -0,0 +1 @@
|
||||
../../../src/lib/qt5/qtbase/src/corelib/global
|
129
libports/lib/import/import-qt5.inc
Normal file
129
libports/lib/import/import-qt5.inc
Normal file
@ -0,0 +1,129 @@
|
||||
# prevent import file to be included twice, for example via import-qt5_gui.mk
|
||||
# and import-qt5_core.mk
|
||||
|
||||
ifeq ($(QT5_IMPORTED),)
|
||||
QT5_IMPORTED = true
|
||||
|
||||
# identify the qt5 repository by searching for a file that is unique for qt5
|
||||
QT5_REP_DIR := $(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
QT5_REP_DIR := $(realpath $(dir $(QT5_REP_DIR))../..)
|
||||
|
||||
include $(QT5_REP_DIR)/lib/mk/qt5_version.inc
|
||||
|
||||
QT5_INC_DIR := $(QT5_REP_DIR)/src/lib/qt5/qtbase/mkspecs/genode-g++ \
|
||||
$(QT5_REP_DIR)/src/lib/qt5/qtbase/src/corelib/global \
|
||||
$(QT5_REP_DIR)/include/qt5 \
|
||||
$(QT5_REP_DIR)/contrib/$(QT5)/qtbase/include \
|
||||
|
||||
INC_DIR += $(QT5_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_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 QT5 applications.
|
||||
#
|
||||
MOC = $(QT5_REP_DIR)/tool/qt5/moc/moc
|
||||
RCC = $(QT5_REP_DIR)/tool/qt5/rcc/rcc
|
||||
UIC = $(QT5_REP_DIR)/tool/qt5/uic/uic
|
||||
|
||||
$(MOC) $(RCC) $(UIC):
|
||||
@echo
|
||||
@echo "Attempting to build QT5 application without having built the QT5 tools."
|
||||
@echo "Please execute 'make prepare PKG=qt5' in the root of the 'libports' repository."
|
||||
@echo
|
||||
@false
|
||||
|
||||
# moc rules
|
||||
moc_%.cpp: %.h $(MOC)
|
||||
$(MSG_CONVERT)$@
|
||||
$(VERBOSE) $(MOC) $(QT_DEFINES) $(addprefix -I,$(QT5_INC_DIR)) $< -o $@
|
||||
|
||||
%.moc: %.cpp $(MOC)
|
||||
$(MSG_CONVERT)$@
|
||||
$(VERBOSE) $(MOC) $(QT_DEFINES) $(addprefix -I,$(QT5_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 QT5-specific genode addons
|
||||
INC_DIR += $(QT5_REP_DIR)/include/qt5/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 $(QT5_REP_DIR)/src/lib/qt5
|
||||
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
|
6
libports/lib/import/import-qt5_core.mk
Normal file
6
libports/lib/import/import-qt5_core.mk
Normal file
@ -0,0 +1,6 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
QT5_INC_DIR += $(QT5_REP_DIR)/include/qt5/qtbase \
|
||||
$(QT5_REP_DIR)/contrib/$(QT5)/qtbase/include/QtCore \
|
5
libports/lib/import/import-qt5_gui.mk
Normal file
5
libports/lib/import/import-qt5_gui.mk
Normal file
@ -0,0 +1,5 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
QT5_INC_DIR += $(QT5_REP_DIR)/contrib/$(QT5)/qtbase/include/QtGui \
|
3
libports/lib/import/import-qt5_jscore.mk
Normal file
3
libports/lib/import/import-qt5_jscore.mk
Normal file
@ -0,0 +1,3 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
5
libports/lib/import/import-qt5_network.mk
Normal file
5
libports/lib/import/import-qt5_network.mk
Normal file
@ -0,0 +1,5 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
QT5_INC_DIR += $(QT5_REP_DIR)/contrib/$(QT5)/qtbase/include/QtNetwork \
|
5
libports/lib/import/import-qt5_printsupport.mk
Normal file
5
libports/lib/import/import-qt5_printsupport.mk
Normal file
@ -0,0 +1,5 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
QT5_INC_DIR += $(QT5_REP_DIR)/contrib/$(QT5)/qtbase/include/QtPrintSupport \
|
3
libports/lib/import/import-qt5_qpa_nitpicker.mk
Normal file
3
libports/lib/import/import-qt5_qpa_nitpicker.mk
Normal file
@ -0,0 +1,3 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
6
libports/lib/import/import-qt5_script.mk
Normal file
6
libports/lib/import/import-qt5_script.mk
Normal file
@ -0,0 +1,6 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
QT5_INC_DIR += $(QT5_REP_DIR)/contrib/$(QT5)/qtscript/include \
|
||||
$(QT5_REP_DIR)/contrib/$(QT5)/qtscript/include/QtScript \
|
7
libports/lib/import/import-qt5_scriptclassic.mk
Normal file
7
libports/lib/import/import-qt5_scriptclassic.mk
Normal file
@ -0,0 +1,7 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
QT5_INC_DIR += $(QT5_REP_DIR)/contrib/qtscriptclassic-1.0_1-opensource/include \
|
||||
$(QT5_REP_DIR)/contrib/qtscriptclassic-1.0_1-opensource/include/QtScript \
|
||||
$(QT5_REP_DIR)/contrib/qtscriptclassic-1.0_1-opensource/src \
|
5
libports/lib/import/import-qt5_sql.mk
Normal file
5
libports/lib/import/import-qt5_sql.mk
Normal file
@ -0,0 +1,5 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
QT5_INC_DIR += $(QT5_REP_DIR)/contrib/$(QT5)/qtbase/include/QtSql \
|
5
libports/lib/import/import-qt5_ui_tools.mk
Normal file
5
libports/lib/import/import-qt5_ui_tools.mk
Normal file
@ -0,0 +1,5 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
QT5_INC_DIR += $(QT5_REP_DIR)/contrib/$(QT5)/qttools/include/QtUiTools \
|
3
libports/lib/import/import-qt5_webcore.mk
Normal file
3
libports/lib/import/import-qt5_webcore.mk
Normal file
@ -0,0 +1,3 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
8
libports/lib/import/import-qt5_webkit.mk
Normal file
8
libports/lib/import/import-qt5_webkit.mk
Normal file
@ -0,0 +1,8 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
QT5_INC_DIR += $(QT5_REP_DIR)/include/qt5/qtwebkit \
|
||||
$(QT5_REP_DIR)/contrib/$(QT5)/qtwebkit/include \
|
||||
$(QT5_REP_DIR)/include/qt5/qtwebkit/QtWebKit \
|
||||
$(QT5_REP_DIR)/contrib/$(QT5)/qtwebkit/include/QtWebKit \
|
5
libports/lib/import/import-qt5_webkitwidgets.mk
Normal file
5
libports/lib/import/import-qt5_webkitwidgets.mk
Normal file
@ -0,0 +1,5 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
QT5_INC_DIR += $(QT5_REP_DIR)/contrib/$(QT5)/qtwebkit/include/QtWebKitWidgets \
|
5
libports/lib/import/import-qt5_widgets.mk
Normal file
5
libports/lib/import/import-qt5_widgets.mk
Normal file
@ -0,0 +1,5 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
QT5_INC_DIR += $(QT5_REP_DIR)/contrib/$(QT5)/qtbase/include/QtWidgets \
|
3
libports/lib/import/import-qt5_wtf.mk
Normal file
3
libports/lib/import/import-qt5_wtf.mk
Normal file
@ -0,0 +1,3 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
5
libports/lib/import/import-qt5_xml.mk
Normal file
5
libports/lib/import/import-qt5_xml.mk
Normal file
@ -0,0 +1,5 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
QT5_INC_DIR += $(QT5_REP_DIR)/contrib/$(QT5)/qtbase/include/QtXml
|
21
libports/lib/mk/qt5.inc
Normal file
21
libports/lib/mk/qt5.inc
Normal file
@ -0,0 +1,21 @@
|
||||
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_CC += $(filter %.cc, $(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/qt5/qtbase/mkspecs/qws/genode-generic-g++ \
|
||||
$(REP_DIR)/src/lib/qt5/qtbase/src/corelib/global
|
||||
|
||||
INC_DIR += $(addprefix $(REP_DIR)/src/lib/qt5/, $(QT_INCPATH))
|
||||
INC_DIR += $(addprefix $(REP_DIR)/contrib/$(QT5)/, $(QT_INCPATH))
|
||||
|
||||
vpath % $(addprefix $(REP_DIR)/src/lib/qt5/, $(QT_VPATH))
|
||||
vpath % $(addprefix $(REP_DIR)/contrib/$(QT5)/, $(QT_VPATH))
|
37
libports/lib/mk/qt5_core.mk
Normal file
37
libports/lib/mk/qt5_core.mk
Normal file
@ -0,0 +1,37 @@
|
||||
include $(REP_DIR)/lib/import/import-qt5_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/qt5_core_generated.inc
|
||||
|
||||
# add Genode-specific sources
|
||||
QT_SOURCES += qprocess_genode.cpp \
|
||||
qthread_genode.cpp \
|
||||
qwaitcondition_genode.cpp
|
||||
|
||||
# remove unsupported UNIX-specific files
|
||||
QT_SOURCES_FILTER_OUT = \
|
||||
qmutex_unix.cpp \
|
||||
qprocess_unix.cpp \
|
||||
qthread_unix.cpp \
|
||||
qwaitcondition_unix.cpp \
|
||||
qfilesystemwatcher_inotify.cpp \
|
||||
moc_qfilesystemwatcher_inotify_p.cpp \
|
||||
|
||||
# remove unneeded files to prevent moc warnings
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
moc_qsharedmemory.cpp \
|
||||
moc_qfilesystemwatcher_inotify_p.cpp \
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
INC_DIR += $(REP_DIR)/include/qt5/qtbase/QtCore/private \
|
||||
$(REP_DIR)/src/lib/qt5/qtbase/src/corelib/thread \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtCore/$(QT_VERSION) \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtCore/$(QT_VERSION)/QtCore \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtCore/$(QT_VERSION)/QtCore/private
|
||||
|
||||
LIBS += launchpad zlib icu libc libm alarm libc_lock_pipe
|
365
libports/lib/mk/qt5_core_generated.inc
Normal file
365
libports/lib/mk/qt5_core_generated.inc
Normal file
@ -0,0 +1,365 @@
|
||||
QT_DEFINES += -DQT_NO_LIBUDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_USE_ICU -DPCRE_HAVE_CONFIG_H -DQT_CORE_LIB -DQT_NO_DEBUG
|
||||
|
||||
QT_INCPATH += \
|
||||
qtbase/include \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/include/QtCore/5.1.0 \
|
||||
qtbase/include/QtCore/5.1.0/QtCore \
|
||||
qtbase/mkspecs/genode-g++ \
|
||||
qtbase/src/3rdparty/harfbuzz/src \
|
||||
qtbase/src/3rdparty/md4 \
|
||||
qtbase/src/3rdparty/md5 \
|
||||
qtbase/src/3rdparty/pcre \
|
||||
qtbase/src/3rdparty/sha3 \
|
||||
qtbase/src/corelib \
|
||||
|
||||
QT_SOURCES += \
|
||||
qabstractanimation.cpp \
|
||||
qvariantanimation.cpp \
|
||||
qpropertyanimation.cpp \
|
||||
qanimationgroup.cpp \
|
||||
qsequentialanimationgroup.cpp \
|
||||
qparallelanimationgroup.cpp \
|
||||
qpauseanimation.cpp \
|
||||
qatomic_unix.cpp \
|
||||
qglobal.cpp \
|
||||
qglobalstatic.cpp \
|
||||
qlibraryinfo.cpp \
|
||||
qmalloc.cpp \
|
||||
qnumeric.cpp \
|
||||
qlogging.cpp \
|
||||
qatomic.cpp \
|
||||
qexception.cpp \
|
||||
qresultstore.cpp \
|
||||
qfutureinterface.cpp \
|
||||
qfuturewatcher.cpp \
|
||||
qmutex.cpp \
|
||||
qreadwritelock.cpp \
|
||||
qrunnable.cpp \
|
||||
qmutexpool.cpp \
|
||||
qsemaphore.cpp \
|
||||
qthread.cpp \
|
||||
qthreadpool.cpp \
|
||||
qthreadstorage.cpp \
|
||||
qthread_unix.cpp \
|
||||
qwaitcondition_unix.cpp \
|
||||
qarraydata.cpp \
|
||||
qbitarray.cpp \
|
||||
qbytearray.cpp \
|
||||
qbytearraymatcher.cpp \
|
||||
qcollator.cpp \
|
||||
qcryptographichash.cpp \
|
||||
qdatetime.cpp \
|
||||
qeasingcurve.cpp \
|
||||
qelapsedtimer.cpp \
|
||||
qfreelist.cpp \
|
||||
qhash.cpp \
|
||||
qline.cpp \
|
||||
qlinkedlist.cpp \
|
||||
qlist.cpp \
|
||||
qlocale.cpp \
|
||||
qlocale_tools.cpp \
|
||||
qpoint.cpp \
|
||||
qmap.cpp \
|
||||
qmargins.cpp \
|
||||
qmessageauthenticationcode.cpp \
|
||||
qcontiguouscache.cpp \
|
||||
qrect.cpp \
|
||||
qregexp.cpp \
|
||||
qregularexpression.cpp \
|
||||
qrefcount.cpp \
|
||||
qshareddata.cpp \
|
||||
qsharedpointer.cpp \
|
||||
qsimd.cpp \
|
||||
qsize.cpp \
|
||||
qstring.cpp \
|
||||
qstringbuilder.cpp \
|
||||
qstringlist.cpp \
|
||||
qtextboundaryfinder.cpp \
|
||||
qtimeline.cpp \
|
||||
qunicodetools.cpp \
|
||||
qvector.cpp \
|
||||
qvsnprintf.cpp \
|
||||
qelapsedtimer_unix.cpp \
|
||||
qlocale_unix.cpp \
|
||||
qlocale_icu.cpp \
|
||||
pcre16_byte_order.c \
|
||||
pcre16_chartables.c \
|
||||
pcre16_compile.c \
|
||||
pcre16_config.c \
|
||||
pcre16_dfa_exec.c \
|
||||
pcre16_exec.c \
|
||||
pcre16_fullinfo.c \
|
||||
pcre16_get.c \
|
||||
pcre16_globals.c \
|
||||
pcre16_jit_compile.c \
|
||||
pcre16_maketables.c \
|
||||
pcre16_newline.c \
|
||||
pcre16_ord2utf16.c \
|
||||
pcre16_refcount.c \
|
||||
pcre16_string_utils.c \
|
||||
pcre16_study.c \
|
||||
pcre16_tables.c \
|
||||
pcre16_ucd.c \
|
||||
pcre16_utf16_utils.c \
|
||||
pcre16_valid_utf16.c \
|
||||
pcre16_version.c \
|
||||
pcre16_xclass.c \
|
||||
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 \
|
||||
qfiledevice.cpp \
|
||||
qfileinfo.cpp \
|
||||
qipaddress.cpp \
|
||||
qiodevice.cpp \
|
||||
qlockfile.cpp \
|
||||
qnoncontiguousbytedevice.cpp \
|
||||
qprocess.cpp \
|
||||
qtextstream.cpp \
|
||||
qtemporarydir.cpp \
|
||||
qtemporaryfile.cpp \
|
||||
qresource.cpp \
|
||||
qresource_iterator.cpp \
|
||||
qsavefile.cpp \
|
||||
qstandardpaths.cpp \
|
||||
qurl.cpp \
|
||||
qurlidna.cpp \
|
||||
qurlquery.cpp \
|
||||
qurlrecode.cpp \
|
||||
qsettings.cpp \
|
||||
qfsfileengine.cpp \
|
||||
qfsfileengine_iterator.cpp \
|
||||
qfilesystemwatcher.cpp \
|
||||
qfilesystemwatcher_polling.cpp \
|
||||
qfilesystementry.cpp \
|
||||
qfilesystemengine.cpp \
|
||||
qfsfileengine_unix.cpp \
|
||||
qfilesystemengine_unix.cpp \
|
||||
qlockfile_unix.cpp \
|
||||
qprocess_unix.cpp \
|
||||
qfilesystemiterator_unix.cpp \
|
||||
qstandardpaths_unix.cpp \
|
||||
qfilesystemwatcher_inotify.cpp \
|
||||
qabstractitemmodel.cpp \
|
||||
qabstractproxymodel.cpp \
|
||||
qitemselectionmodel.cpp \
|
||||
qidentityproxymodel.cpp \
|
||||
qsortfilterproxymodel.cpp \
|
||||
qstringlistmodel.cpp \
|
||||
qjson.cpp \
|
||||
qjsondocument.cpp \
|
||||
qjsonobject.cpp \
|
||||
qjsonarray.cpp \
|
||||
qjsonvalue.cpp \
|
||||
qjsonwriter.cpp \
|
||||
qjsonparser.cpp \
|
||||
qpluginloader.cpp \
|
||||
qfactoryloader.cpp \
|
||||
quuid.cpp \
|
||||
qlibrary.cpp \
|
||||
qelfparser_p.cpp \
|
||||
qlibrary_unix.cpp \
|
||||
qabstracteventdispatcher.cpp \
|
||||
qabstractnativeeventfilter.cpp \
|
||||
qbasictimer.cpp \
|
||||
qeventloop.cpp \
|
||||
qcoreapplication.cpp \
|
||||
qcoreevent.cpp \
|
||||
qmetaobject.cpp \
|
||||
qmetatype.cpp \
|
||||
qmetaobjectbuilder.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 \
|
||||
qeventdispatcher_unix.cpp \
|
||||
qtimerinfo_unix.cpp \
|
||||
qsharedmemory_unix.cpp \
|
||||
qsystemsemaphore_unix.cpp \
|
||||
qisciicodec.cpp \
|
||||
qlatincodec.cpp \
|
||||
qtextcodec.cpp \
|
||||
qtsciicodec.cpp \
|
||||
qutfcodec.cpp \
|
||||
qicucodec.cpp \
|
||||
qstatemachine.cpp \
|
||||
qabstractstate.cpp \
|
||||
qstate.cpp \
|
||||
qfinalstate.cpp \
|
||||
qhistorystate.cpp \
|
||||
qabstracttransition.cpp \
|
||||
qsignaltransition.cpp \
|
||||
qeventtransition.cpp \
|
||||
qmimedatabase.cpp \
|
||||
qmimetype.cpp \
|
||||
qmimemagicrulematcher.cpp \
|
||||
qmimetypeparser.cpp \
|
||||
qmimemagicrule.cpp \
|
||||
qmimeglobpattern.cpp \
|
||||
qmimeprovider.cpp \
|
||||
qxmlstream.cpp \
|
||||
qxmlutils.cpp \
|
||||
qrc_mimetypes.cpp \
|
||||
moc_qabstractanimation_p.cpp \
|
||||
moc_qnamespace.cpp \
|
||||
moc_qthread.cpp \
|
||||
moc_qthreadpool.cpp \
|
||||
moc_qfuturewatcher.cpp \
|
||||
moc_qeasingcurve.cpp \
|
||||
moc_qlocale.cpp \
|
||||
moc_qtimeline.cpp \
|
||||
moc_qfile.cpp \
|
||||
moc_qfiledevice.cpp \
|
||||
moc_qiodevice.cpp \
|
||||
moc_qnoncontiguousbytedevice_p.cpp \
|
||||
moc_qtextstream_p.cpp \
|
||||
moc_qtemporaryfile.cpp \
|
||||
moc_qsavefile.cpp \
|
||||
moc_qsettings.cpp \
|
||||
moc_qfilesystemwatcher_p.cpp \
|
||||
moc_qfilesystemwatcher_polling_p.cpp \
|
||||
moc_qfilesystemwatcher_inotify_p.cpp \
|
||||
moc_qabstractitemmodel.cpp \
|
||||
moc_qstringlistmodel.cpp \
|
||||
moc_qpluginloader.cpp \
|
||||
moc_qlibrary.cpp \
|
||||
moc_qfactoryloader_p.cpp \
|
||||
moc_qabstracteventdispatcher.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_qabstractstate.cpp \
|
||||
moc_qstate.cpp \
|
||||
moc_qfinalstate.cpp \
|
||||
moc_qhistorystate.cpp \
|
||||
moc_qabstracttransition.cpp \
|
||||
moc_qsignaltransition.cpp \
|
||||
moc_qeventtransition.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtbase/src/3rdparty/harfbuzz/src \
|
||||
qtbase/src/3rdparty/pcre \
|
||||
qtbase/src/corelib/animation \
|
||||
qtbase/src/corelib/arch \
|
||||
qtbase/src/corelib/codecs \
|
||||
qtbase/src/corelib/global \
|
||||
qtbase/src/corelib/io \
|
||||
qtbase/src/corelib/itemmodels \
|
||||
qtbase/src/corelib/json \
|
||||
qtbase/src/corelib/kernel \
|
||||
qtbase/src/corelib/mimetypes \
|
||||
qtbase/src/corelib/plugin \
|
||||
qtbase/src/corelib/statemachine \
|
||||
qtbase/src/corelib/thread \
|
||||
qtbase/src/corelib/tools \
|
||||
qtbase/src/corelib/xml \
|
||||
|
||||
# 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 import-qt5.inc)
|
||||
# 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_qnamespace.cpp \
|
||||
moc_qthread.cpp \
|
||||
moc_qthreadpool.cpp \
|
||||
moc_qfuturewatcher.cpp \
|
||||
moc_qeasingcurve.cpp \
|
||||
moc_qlocale.cpp \
|
||||
moc_qtimeline.cpp \
|
||||
moc_qbuffer.cpp \
|
||||
moc_qfile.cpp \
|
||||
moc_qfiledevice.cpp \
|
||||
moc_qiodevice.cpp \
|
||||
moc_qnoncontiguousbytedevice_p.cpp \
|
||||
moc_qprocess.cpp \
|
||||
moc_qtextstream_p.cpp \
|
||||
moc_qtemporaryfile.cpp \
|
||||
moc_qsavefile.cpp \
|
||||
moc_qsettings.cpp \
|
||||
moc_qfilesystemwatcher.cpp \
|
||||
moc_qfilesystemwatcher_p.cpp \
|
||||
moc_qfilesystemwatcher_polling_p.cpp \
|
||||
moc_qfilesystemwatcher_inotify_p.cpp \
|
||||
moc_qabstractitemmodel.cpp \
|
||||
moc_qabstractproxymodel.cpp \
|
||||
moc_qitemselectionmodel.cpp \
|
||||
moc_qidentityproxymodel.cpp \
|
||||
moc_qsortfilterproxymodel.cpp \
|
||||
moc_qstringlistmodel.cpp \
|
||||
moc_qpluginloader.cpp \
|
||||
moc_qlibrary.cpp \
|
||||
moc_qfactoryloader_p.cpp \
|
||||
moc_qabstracteventdispatcher.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_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 import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
qprocess_unix.moc \
|
||||
qtimer.moc \
|
||||
qstatemachine.moc
|
||||
|
7
libports/lib/mk/qt5_dejavusans.mk
Normal file
7
libports/lib/mk/qt5_dejavusans.mk
Normal file
@ -0,0 +1,7 @@
|
||||
SHARED_LIB = yes
|
||||
|
||||
SRC_CC = qrc_dejavusans.cpp
|
||||
|
||||
LIBS = qt5_core
|
||||
|
||||
vpath % $(REP_DIR)/src/lib/qt5/dejavusans
|
41
libports/lib/mk/qt5_gui.mk
Normal file
41
libports/lib/mk/qt5_gui.mk
Normal file
@ -0,0 +1,41 @@
|
||||
include $(REP_DIR)/lib/import/import-qt5_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/qt5_gui_generated.inc
|
||||
|
||||
# remove unneeded files to prevent moc warnings
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
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 = \
|
||||
qprintpreviewwidget.moc \
|
||||
qprintdialog_unix.moc \
|
||||
qprintpreviewdialog.moc
|
||||
|
||||
# UI headers
|
||||
qfiledialog.o: ui_qfiledialog.h
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
INC_DIR += $(REP_DIR)/include/qt5/qtbase/QtGui/private \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtGui/$(QT_VERSION) \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtGui/$(QT_VERSION)/QtGui \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtGui/$(QT_VERSION)/QtGui/private \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtCore/$(QT_VERSION) \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtCore/$(QT_VERSION)/QtCore
|
||||
|
||||
LIBS += qt5_core jpeg zlib libpng
|
281
libports/lib/mk/qt5_gui_generated.inc
Normal file
281
libports/lib/mk/qt5_gui_generated.inc
Normal file
@ -0,0 +1,281 @@
|
||||
QT_DEFINES += -DQT_NO_LIBUDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_NO_USING_NAMESPACE -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtbase/include \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/include/QtCore/5.1.0 \
|
||||
qtbase/include/QtCore/5.1.0/QtCore \
|
||||
qtbase/include/QtGui \
|
||||
qtbase/include/QtGui/5.1.0 \
|
||||
qtbase/include/QtGui/5.1.0/QtGui \
|
||||
qtbase/mkspecs/genode-g++ \
|
||||
qtbase/src/gui \
|
||||
qtbase/src/gui/image \
|
||||
|
||||
QT_SOURCES += \
|
||||
qclipboard_qpa.cpp \
|
||||
qcursor_qpa.cpp \
|
||||
qgenericpluginfactory.cpp \
|
||||
qgenericplugin.cpp \
|
||||
qwindowsysteminterface.cpp \
|
||||
qplatforminputcontextfactory.cpp \
|
||||
qplatforminputcontextplugin.cpp \
|
||||
qplatforminputcontext.cpp \
|
||||
qplatformintegration.cpp \
|
||||
qplatformdrag.cpp \
|
||||
qplatformscreen.cpp \
|
||||
qplatformintegrationfactory.cpp \
|
||||
qplatformintegrationplugin.cpp \
|
||||
qplatformtheme.cpp \
|
||||
qplatformthemefactory.cpp \
|
||||
qplatformthemeplugin.cpp \
|
||||
qplatformwindow.cpp \
|
||||
qplatformoffscreensurface.cpp \
|
||||
qplatformcursor.cpp \
|
||||
qplatformclipboard.cpp \
|
||||
qplatformnativeinterface.cpp \
|
||||
qsessionmanager.cpp \
|
||||
qshapedpixmapdndwindow.cpp \
|
||||
qsimpledrag.cpp \
|
||||
qsurfaceformat.cpp \
|
||||
qguiapplication.cpp \
|
||||
qwindow.cpp \
|
||||
qoffscreensurface.cpp \
|
||||
qplatformsurface.cpp \
|
||||
qsurface.cpp \
|
||||
qclipboard.cpp \
|
||||
qcursor.cpp \
|
||||
qdrag.cpp \
|
||||
qdnd.cpp \
|
||||
qevent.cpp \
|
||||
qinputmethod.cpp \
|
||||
qkeysequence.cpp \
|
||||
qkeymapper.cpp \
|
||||
qkeymapper_qpa.cpp \
|
||||
qpalette.cpp \
|
||||
qguivariant.cpp \
|
||||
qscreen.cpp \
|
||||
qshortcutmap.cpp \
|
||||
qstylehints.cpp \
|
||||
qtouchdevice.cpp \
|
||||
qplatformsharedgraphicscache.cpp \
|
||||
qplatformdialoghelper.cpp \
|
||||
qplatformservices.cpp \
|
||||
qplatformscreenpageflipper.cpp \
|
||||
qplatformsystemtrayicon_qpa.cpp \
|
||||
qbitmap.cpp \
|
||||
qimage.cpp \
|
||||
qimageiohandler.cpp \
|
||||
qimagereader.cpp \
|
||||
qimagewriter.cpp \
|
||||
qpaintengine_pic.cpp \
|
||||
qpicture.cpp \
|
||||
qpictureformatplugin.cpp \
|
||||
qpixmap.cpp \
|
||||
qpixmapcache.cpp \
|
||||
qplatformpixmap.cpp \
|
||||
qmovie.cpp \
|
||||
qpixmap_raster.cpp \
|
||||
qpixmap_blitter.cpp \
|
||||
qnativeimage.cpp \
|
||||
qimagepixmapcleanuphooks.cpp \
|
||||
qicon.cpp \
|
||||
qiconloader.cpp \
|
||||
qiconengine.cpp \
|
||||
qiconengineplugin.cpp \
|
||||
qbmphandler.cpp \
|
||||
qppmhandler.cpp \
|
||||
qxbmhandler.cpp \
|
||||
qxpmhandler.cpp \
|
||||
qpnghandler.cpp \
|
||||
qjpeghandler.cpp \
|
||||
qgifhandler.cpp \
|
||||
qfont.cpp \
|
||||
qfontengine.cpp \
|
||||
qfontsubset.cpp \
|
||||
qfontmetrics.cpp \
|
||||
qfontdatabase.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 \
|
||||
qdistancefield.cpp \
|
||||
qfont_qpa.cpp \
|
||||
qfontengine_qpa.cpp \
|
||||
qplatformfontdatabase.cpp \
|
||||
qrawfont_qpa.cpp \
|
||||
qbackingstore.cpp \
|
||||
qbezier.cpp \
|
||||
qblendfunctions.cpp \
|
||||
qblittable.cpp \
|
||||
qbrush.cpp \
|
||||
qcolor.cpp \
|
||||
qcolor_p.cpp \
|
||||
qcosmeticstroker.cpp \
|
||||
qcssutil.cpp \
|
||||
qdrawhelper.cpp \
|
||||
qemulationpaintengine.cpp \
|
||||
qgammatables.cpp \
|
||||
qgrayraster.c \
|
||||
qimagescale.cpp \
|
||||
qmatrix.cpp \
|
||||
qmemrotate.cpp \
|
||||
qoutlinemapper.cpp \
|
||||
qpagedpaintdevice.cpp \
|
||||
qpaintdevice.cpp \
|
||||
qpaintengine.cpp \
|
||||
qpaintengineex.cpp \
|
||||
qpaintengine_blitter.cpp \
|
||||
qpaintengine_raster.cpp \
|
||||
qpainter.cpp \
|
||||
qpainterpath.cpp \
|
||||
qpathclipper.cpp \
|
||||
qpdf.cpp \
|
||||
qpdfwriter.cpp \
|
||||
qpen.cpp \
|
||||
qpolygon.cpp \
|
||||
qrasterizer.cpp \
|
||||
qregion.cpp \
|
||||
qstroker.cpp \
|
||||
qtextureglyphcache.cpp \
|
||||
qtransform.cpp \
|
||||
qplatformbackingstore.cpp \
|
||||
qpaintbuffer.cpp \
|
||||
qpathsimplifier.cpp \
|
||||
qdesktopservices.cpp \
|
||||
qvalidator.cpp \
|
||||
qgenericmatrix.cpp \
|
||||
qmatrix4x4.cpp \
|
||||
qquaternion.cpp \
|
||||
qvector2d.cpp \
|
||||
qvector3d.cpp \
|
||||
qvector4d.cpp \
|
||||
qguivariantanimation.cpp \
|
||||
qstandarditemmodel.cpp \
|
||||
moc_qgenericplugin.cpp \
|
||||
moc_qplatforminputcontext.cpp \
|
||||
moc_qplatforminputcontextplugin_p.cpp \
|
||||
moc_qplatformintegrationplugin.cpp \
|
||||
moc_qplatformthemeplugin.cpp \
|
||||
moc_qplatformnativeinterface.cpp \
|
||||
moc_qplatformmenu.cpp \
|
||||
moc_qshapedpixmapdndwindow_p.cpp \
|
||||
moc_qoffscreensurface.cpp \
|
||||
moc_qclipboard.cpp \
|
||||
moc_qdrag.cpp \
|
||||
moc_qdnd_p.cpp \
|
||||
moc_qkeymapper_p.cpp \
|
||||
moc_qpalette.cpp \
|
||||
moc_qsessionmanager.cpp \
|
||||
moc_qscreen.cpp \
|
||||
moc_qstylehints.cpp \
|
||||
moc_qplatformsharedgraphicscache.cpp \
|
||||
moc_qplatformdialoghelper.cpp \
|
||||
moc_qplatformscreenpageflipper.cpp \
|
||||
moc_qimageiohandler.cpp \
|
||||
moc_qpictureformatplugin.cpp \
|
||||
moc_qiconengineplugin.cpp \
|
||||
moc_qfont.cpp \
|
||||
moc_qfontdatabase.cpp \
|
||||
moc_qfontengine_p.cpp \
|
||||
moc_qtextformat.cpp \
|
||||
moc_qtextobject.cpp \
|
||||
moc_qtextdocument.cpp \
|
||||
moc_qtextimagehandler_p.cpp \
|
||||
moc_qtexttable.cpp \
|
||||
moc_qtextlist.cpp \
|
||||
moc_qbrush.cpp \
|
||||
moc_qpainter.cpp \
|
||||
moc_qpdfwriter.cpp \
|
||||
moc_qvalidator.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtbase/src/gui/animation \
|
||||
qtbase/src/gui/image \
|
||||
qtbase/src/gui/itemmodels \
|
||||
qtbase/src/gui/kernel \
|
||||
qtbase/src/gui/math3d \
|
||||
qtbase/src/gui/painting \
|
||||
qtbase/src/gui/text \
|
||||
qtbase/src/gui/util \
|
||||
|
||||
# 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 import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
moc_qgenericplugin.cpp \
|
||||
moc_qplatforminputcontext.cpp \
|
||||
moc_qplatforminputcontextplugin_p.cpp \
|
||||
moc_qplatformintegrationplugin.cpp \
|
||||
moc_qplatformthemeplugin.cpp \
|
||||
moc_qplatformnativeinterface.cpp \
|
||||
moc_qplatformmenu.cpp \
|
||||
moc_qshapedpixmapdndwindow_p.cpp \
|
||||
moc_qguiapplication.cpp \
|
||||
moc_qwindow.cpp \
|
||||
moc_qoffscreensurface.cpp \
|
||||
moc_qclipboard.cpp \
|
||||
moc_qdrag.cpp \
|
||||
moc_qdnd_p.cpp \
|
||||
moc_qinputmethod.cpp \
|
||||
moc_qkeymapper_p.cpp \
|
||||
moc_qpalette.cpp \
|
||||
moc_qsessionmanager.cpp \
|
||||
moc_qscreen.cpp \
|
||||
moc_qstylehints.cpp \
|
||||
moc_qplatformsharedgraphicscache.cpp \
|
||||
moc_qplatformdialoghelper.cpp \
|
||||
moc_qplatformscreenpageflipper.cpp \
|
||||
moc_qplatformsystemtrayicon.cpp \
|
||||
moc_qimageiohandler.cpp \
|
||||
moc_qmovie.cpp \
|
||||
moc_qpictureformatplugin.cpp \
|
||||
moc_qiconengineplugin.cpp \
|
||||
moc_qfont.cpp \
|
||||
moc_qfontdatabase.cpp \
|
||||
moc_qfontengine_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_qbrush.cpp \
|
||||
moc_qpainter.cpp \
|
||||
moc_qpdfwriter.cpp \
|
||||
moc_qvalidator.cpp \
|
||||
moc_qstandarditemmodel.cpp
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
qpixmapcache.moc \
|
||||
qdesktopservices.moc
|
||||
|
21
libports/lib/mk/qt5_jscore.mk
Normal file
21
libports/lib/mk/qt5_jscore.mk
Normal file
@ -0,0 +1,21 @@
|
||||
include $(REP_DIR)/lib/import/import-qt5_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 =
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_jscore_generated.inc
|
||||
|
||||
QT_INCPATH += qtwebkit/Source/JavaScriptCore/generated
|
||||
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
LIBS += qt5_network qt5_core icu pthread libc libm
|
319
libports/lib/mk/qt5_jscore_generated.inc
Normal file
319
libports/lib/mk/qt5_jscore_generated.inc
Normal file
@ -0,0 +1,319 @@
|
||||
QT_DEFINES += -DQT_NO_LIBUDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DBUILDING_QT__=1 -DNDEBUG -DENABLE_3D_RENDERING=1 -DENABLE_BLOB=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_CSS_BOX_DECORATION_BREAK=1 -DENABLE_CSS_COMPOSITING=1 -DENABLE_CSS_EXCLUSIONS=1 -DENABLE_CSS_FILTERS=1 -DENABLE_CSS_IMAGE_SET=1 -DENABLE_CSS_REGIONS=1 -DENABLE_CSS_STICKY_POSITION=1 -DENABLE_DATALIST_ELEMENT=1 -DENABLE_DETAILS_ELEMENT=1 -DENABLE_FAST_MOBILE_SCROLLING=1 -DENABLE_FILTERS=1 -DENABLE_FTPDIR=1 -DENABLE_GESTURE_EVENTS=1 -DENABLE_ICONDATABASE=1 -DENABLE_IFRAME_SEAMLESS=1 -DENABLE_INPUT_TYPE_COLOR=1 -DENABLE_INSPECTOR=1 -DENABLE_INSPECTOR_SERVER=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_LEGACY_NOTIFICATIONS=1 -DENABLE_LEGACY_VIEWPORT_ADAPTION=1 -DENABLE_LEGACY_VENDOR_PREFIXES=1 -DENABLE_LINK_PREFETCH=1 -DENABLE_METER_ELEMENT=1 -DENABLE_MHTML=1 -DENABLE_MUTATION_OBSERVERS=1 -DENABLE_NOTIFICATIONS=1 -DENABLE_PAGE_VISIBILITY_API=1 -DENABLE_PROGRESS_ELEMENT=1 -DENABLE_RESOLUTION_MEDIA_QUERY=1 -DENABLE_REQUEST_ANIMATION_FRAME=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_SMOOTH_SCROLLING=1 -DENABLE_SQL_DATABASE=1 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_TOUCH_ADJUSTMENT=1 -DENABLE_TOUCH_EVENTS=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_WEB_TIMING=1 -DENABLE_WORKERS=1 -DENABLE_XHR_TIMEOUT=1 -DWTF_USE_TILED_BACKING_STORE=1 -DHAVE_QTPRINTSUPPORT=1 -DHAVE_QSTYLE=1 -DHAVE_QTTESTLIB=1 -DWTF_USE_LIBJPEG=1 -DWTF_USE_LIBPNG=1 -DPLUGIN_ARCHITECTURE_UNSUPPORTED=1 -DENABLE_TOUCH_SLIDER=1 -DENABLE_ACCELERATED_2D_CANVAS=0 -DENABLE_ANIMATION_API=0 -DENABLE_BATTERY_STATUS=0 -DENABLE_CSP_NEXT=0 -DENABLE_CSS_GRID_LAYOUT=0 -DENABLE_CSS_HIERARCHIES=0 -DENABLE_CSS_IMAGE_ORIENTATION=0 -DENABLE_CSS_IMAGE_RESOLUTION=0 -DENABLE_CSS_SHADERS=0 -DENABLE_CSS_VARIABLES=0 -DENABLE_CSS3_BACKGROUND=0 -DENABLE_CSS3_CONDITIONAL_RULES=0 -DENABLE_CSS3_TEXT=0 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_DATAGRID=0 -DENABLE_DATA_TRANSFER_ITEMS=0 -DENABLE_DEVICE_ORIENTATION=0 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_DOWNLOAD_ATTRIBUTE=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_FULLSCREEN_API=0 -DENABLE_GAMEPAD=0 -DENABLE_GEOLOCATION=0 -DENABLE_HIGH_DPI_CANVAS=0 -DENABLE_INDEXED_DATABASE=0 -DENABLE_INPUT_SPEECH=0 -DENABLE_INPUT_TYPE_DATE=0 -DENABLE_INPUT_TYPE_DATETIME=0 -DENABLE_INPUT_TYPE_DATETIMELOCAL=0 -DENABLE_INPUT_TYPE_MONTH=0 -DENABLE_INPUT_TYPE_TIME=0 -DENABLE_INPUT_TYPE_WEEK=0 -DENABLE_LEGACY_CSS_VENDOR_PREFIXES=0 -DENABLE_LINK_PRERENDER=0 -DENABLE_MATHML=0 -DENABLE_MEDIA_SOURCE=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_MEDIA_STREAM=0 -DENABLE_MICRODATA=0 -DENABLE_NAVIGATOR_CONTENT_UTILS=0 -DENABLE_NETSCAPE_PLUGIN_API=0 -DENABLE_NETWORK_INFO=0 -DENABLE_ORIENTATION_EVENTS=0 -DENABLE_PROXIMITY_EVENTS=0 -DENABLE_QUOTA=0 -DENABLE_SCRIPTED_SPEECH=0 -DENABLE_SHADOW_DOM=0 -DENABLE_STYLE_SCOPED=0 -DENABLE_SVG_DOM_OBJC_BINDINGS=0 -DENABLE_TEXT_AUTOSIZING=0 -DENABLE_TEXT_NOTIFICATIONS_ONLY=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_VIBRATION=0 -DENABLE_VIDEO=0 -DENABLE_VIDEO_TRACK=0 -DENABLE_WEBGL=0 -DENABLE_WEB_AUDIO=0 -DENABLE_XSLT=0 -DBUILDING_JavaScriptCore -DBUILDING_WEBKIT -DQT_ASCII_CAST_WARNINGS -DSTATICALLY_LINKED_WITH_WTF -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtbase/include \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/mkspecs/genode-g++ \
|
||||
qtscript/include \
|
||||
qtscript/include/QtScript \
|
||||
qtwebkit/Source \
|
||||
qtwebkit/Source/JavaScriptCore \
|
||||
qtwebkit/Source/JavaScriptCore/API \
|
||||
qtwebkit/Source/JavaScriptCore/assembler \
|
||||
qtwebkit/Source/JavaScriptCore/bytecode \
|
||||
qtwebkit/Source/JavaScriptCore/bytecompiler \
|
||||
qtwebkit/Source/JavaScriptCore/debugger \
|
||||
qtwebkit/Source/JavaScriptCore/dfg \
|
||||
qtwebkit/Source/JavaScriptCore/disassembler \
|
||||
qtwebkit/Source/JavaScriptCore/ForwardingHeaders \
|
||||
qtwebkit/Source/JavaScriptCore/heap \
|
||||
qtwebkit/Source/JavaScriptCore/interpreter \
|
||||
qtwebkit/Source/JavaScriptCore/jit \
|
||||
qtwebkit/Source/JavaScriptCore/llint \
|
||||
qtwebkit/Source/JavaScriptCore/parser \
|
||||
qtwebkit/Source/JavaScriptCore/profiler \
|
||||
qtwebkit/Source/JavaScriptCore/runtime \
|
||||
qtwebkit/Source/JavaScriptCore/tools \
|
||||
qtwebkit/Source/JavaScriptCore/yarr \
|
||||
qtwebkit/Source/WTF \
|
||||
|
||||
QT_SOURCES += \
|
||||
YarrInterpreter.cpp \
|
||||
YarrPattern.cpp \
|
||||
YarrSyntaxChecker.cpp \
|
||||
YarrCanonicalizeUCS2.cpp \
|
||||
JSBase.cpp \
|
||||
JSCallbackConstructor.cpp \
|
||||
JSCallbackFunction.cpp \
|
||||
JSCallbackObject.cpp \
|
||||
JSClassRef.cpp \
|
||||
JSContextRef.cpp \
|
||||
JSObjectRef.cpp \
|
||||
JSStringRef.cpp \
|
||||
JSValueRef.cpp \
|
||||
JSWeakObjectMapRefPrivate.cpp \
|
||||
OpaqueJSString.cpp \
|
||||
ARMAssembler.cpp \
|
||||
ARMv7Assembler.cpp \
|
||||
LinkBuffer.cpp \
|
||||
MacroAssembler.cpp \
|
||||
MacroAssemblerARM.cpp \
|
||||
MacroAssemblerSH4.cpp \
|
||||
ArrayAllocationProfile.cpp \
|
||||
ArrayProfile.cpp \
|
||||
CallLinkInfo.cpp \
|
||||
CallLinkStatus.cpp \
|
||||
CodeBlock.cpp \
|
||||
CodeBlockHash.cpp \
|
||||
CodeOrigin.cpp \
|
||||
CodeType.cpp \
|
||||
DFGExitProfile.cpp \
|
||||
ExecutionCounter.cpp \
|
||||
GetByIdStatus.cpp \
|
||||
JumpTable.cpp \
|
||||
LazyOperandValueProfile.cpp \
|
||||
MethodOfGettingAValueProfile.cpp \
|
||||
Opcode.cpp \
|
||||
PolymorphicPutByIdList.cpp \
|
||||
PutByIdStatus.cpp \
|
||||
ResolveGlobalStatus.cpp \
|
||||
SamplingTool.cpp \
|
||||
SpecialPointer.cpp \
|
||||
SpeculatedType.cpp \
|
||||
StructureStubClearingWatchpoint.cpp \
|
||||
StructureStubInfo.cpp \
|
||||
UnlinkedCodeBlock.cpp \
|
||||
Watchpoint.cpp \
|
||||
BytecodeGenerator.cpp \
|
||||
NodesCodegen.cpp \
|
||||
CopiedSpace.cpp \
|
||||
CopyVisitor.cpp \
|
||||
ConservativeRoots.cpp \
|
||||
DFGCodeBlocks.cpp \
|
||||
WeakSet.cpp \
|
||||
WeakHandleOwner.cpp \
|
||||
WeakBlock.cpp \
|
||||
HandleSet.cpp \
|
||||
HandleStack.cpp \
|
||||
BlockAllocator.cpp \
|
||||
GCThreadSharedData.cpp \
|
||||
GCThread.cpp \
|
||||
Heap.cpp \
|
||||
HeapStatistics.cpp \
|
||||
HeapTimer.cpp \
|
||||
IncrementalSweeper.cpp \
|
||||
JITStubRoutineSet.cpp \
|
||||
MachineStackMarker.cpp \
|
||||
MarkStack.cpp \
|
||||
MarkedAllocator.cpp \
|
||||
MarkedBlock.cpp \
|
||||
MarkedSpace.cpp \
|
||||
SlotVisitor.cpp \
|
||||
VTableSpectrum.cpp \
|
||||
WriteBarrierSupport.cpp \
|
||||
DebuggerActivation.cpp \
|
||||
DebuggerCallFrame.cpp \
|
||||
Debugger.cpp \
|
||||
DFGAbstractState.cpp \
|
||||
DFGArgumentsSimplificationPhase.cpp \
|
||||
DFGArrayMode.cpp \
|
||||
DFGAssemblyHelpers.cpp \
|
||||
DFGByteCodeParser.cpp \
|
||||
DFGCapabilities.cpp \
|
||||
DFGCFAPhase.cpp \
|
||||
DFGCFGSimplificationPhase.cpp \
|
||||
DFGConstantFoldingPhase.cpp \
|
||||
DFGCorrectableJumpPoint.cpp \
|
||||
DFGCSEPhase.cpp \
|
||||
DFGDisassembler.cpp \
|
||||
DFGDominators.cpp \
|
||||
DFGDriver.cpp \
|
||||
DFGFixupPhase.cpp \
|
||||
DFGGraph.cpp \
|
||||
DFGJITCompiler.cpp \
|
||||
DFGMinifiedNode.cpp \
|
||||
DFGNodeFlags.cpp \
|
||||
DFGOperations.cpp \
|
||||
DFGOSREntry.cpp \
|
||||
DFGOSRExit.cpp \
|
||||
DFGOSRExitCompiler.cpp \
|
||||
DFGOSRExitCompiler64.cpp \
|
||||
DFGOSRExitCompiler32_64.cpp \
|
||||
DFGPhase.cpp \
|
||||
DFGPredictionPropagationPhase.cpp \
|
||||
DFGRepatch.cpp \
|
||||
DFGSpeculativeJIT.cpp \
|
||||
DFGSpeculativeJIT32_64.cpp \
|
||||
DFGSpeculativeJIT64.cpp \
|
||||
DFGStructureCheckHoistingPhase.cpp \
|
||||
DFGThunks.cpp \
|
||||
DFGValueSource.cpp \
|
||||
DFGVariableAccessDataDump.cpp \
|
||||
DFGVariableEvent.cpp \
|
||||
DFGVariableEventStream.cpp \
|
||||
DFGValidate.cpp \
|
||||
DFGVirtualRegisterAllocationPhase.cpp \
|
||||
Disassembler.cpp \
|
||||
AbstractPC.cpp \
|
||||
CallFrame.cpp \
|
||||
Interpreter.cpp \
|
||||
JSStack.cpp \
|
||||
ClosureCallStubRoutine.cpp \
|
||||
ExecutableAllocatorFixedVMPool.cpp \
|
||||
ExecutableAllocator.cpp \
|
||||
HostCallReturnValue.cpp \
|
||||
GCAwareJITStubRoutine.cpp \
|
||||
JITArithmetic.cpp \
|
||||
JITArithmetic32_64.cpp \
|
||||
JITCall.cpp \
|
||||
JITCall32_64.cpp \
|
||||
JITCode.cpp \
|
||||
JIT.cpp \
|
||||
JITDisassembler.cpp \
|
||||
JITExceptions.cpp \
|
||||
JITOpcodes.cpp \
|
||||
JITOpcodes32_64.cpp \
|
||||
JITPropertyAccess.cpp \
|
||||
JITPropertyAccess32_64.cpp \
|
||||
JITStubRoutine.cpp \
|
||||
JITStubs.cpp \
|
||||
JumpReplacementWatchpoint.cpp \
|
||||
ThunkGenerators.cpp \
|
||||
LLIntCLoop.cpp \
|
||||
LLIntData.cpp \
|
||||
LLIntEntrypoints.cpp \
|
||||
LLIntExceptions.cpp \
|
||||
LLIntSlowPaths.cpp \
|
||||
LLIntThunks.cpp \
|
||||
LowLevelInterpreter.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 \
|
||||
CodeCache.cpp \
|
||||
CodeSpecializationKind.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 \
|
||||
Options.cpp \
|
||||
Identifier.cpp \
|
||||
IndexingType.cpp \
|
||||
InitializeThreading.cpp \
|
||||
InternalFunction.cpp \
|
||||
JSActivation.cpp \
|
||||
JSAPIValueWrapper.cpp \
|
||||
JSArray.cpp \
|
||||
JSCell.cpp \
|
||||
JSDateMath.cpp \
|
||||
JSFunction.cpp \
|
||||
JSBoundFunction.cpp \
|
||||
JSGlobalData.cpp \
|
||||
JSGlobalObject.cpp \
|
||||
JSGlobalObjectFunctions.cpp \
|
||||
JSProxy.cpp \
|
||||
JSLock.cpp \
|
||||
JSNotAnObject.cpp \
|
||||
JSObject.cpp \
|
||||
JSONObject.cpp \
|
||||
JSPropertyNameIterator.cpp \
|
||||
JSSegmentedVariableObject.cpp \
|
||||
JSWithScope.cpp \
|
||||
JSNameScope.cpp \
|
||||
JSScope.cpp \
|
||||
JSString.cpp \
|
||||
JSStringJoiner.cpp \
|
||||
JSSymbolTableObject.cpp \
|
||||
JSValue.cpp \
|
||||
JSVariableObject.cpp \
|
||||
JSWrapperObject.cpp \
|
||||
LiteralParser.cpp \
|
||||
Lookup.cpp \
|
||||
MathObject.cpp \
|
||||
MemoryStatistics.cpp \
|
||||
NameConstructor.cpp \
|
||||
NameInstance.cpp \
|
||||
NamePrototype.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 \
|
||||
RegExpCachedResult.cpp \
|
||||
RegExpMatchesArray.cpp \
|
||||
RegExp.cpp \
|
||||
RegExpObject.cpp \
|
||||
RegExpPrototype.cpp \
|
||||
RegExpCache.cpp \
|
||||
SamplingCounter.cpp \
|
||||
SmallStrings.cpp \
|
||||
SparseArrayValueMap.cpp \
|
||||
StrictEvalActivation.cpp \
|
||||
StringConstructor.cpp \
|
||||
StringObject.cpp \
|
||||
StringPrototype.cpp \
|
||||
StringRecursionChecker.cpp \
|
||||
StructureChain.cpp \
|
||||
Structure.cpp \
|
||||
SymbolTable.cpp \
|
||||
TimeoutChecker.cpp \
|
||||
CodeProfile.cpp \
|
||||
CodeProfiling.cpp \
|
||||
YarrJIT.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtwebkit/Source/JavaScriptCore/API \
|
||||
qtwebkit/Source/JavaScriptCore/assembler \
|
||||
qtwebkit/Source/JavaScriptCore/bytecode \
|
||||
qtwebkit/Source/JavaScriptCore/bytecompiler \
|
||||
qtwebkit/Source/JavaScriptCore/debugger \
|
||||
qtwebkit/Source/JavaScriptCore/dfg \
|
||||
qtwebkit/Source/JavaScriptCore/disassembler \
|
||||
qtwebkit/Source/JavaScriptCore/heap \
|
||||
qtwebkit/Source/JavaScriptCore/interpreter \
|
||||
qtwebkit/Source/JavaScriptCore/jit \
|
||||
qtwebkit/Source/JavaScriptCore/llint \
|
||||
qtwebkit/Source/JavaScriptCore/parser \
|
||||
qtwebkit/Source/JavaScriptCore/profiler \
|
||||
qtwebkit/Source/JavaScriptCore/runtime \
|
||||
qtwebkit/Source/JavaScriptCore/tools \
|
||||
qtwebkit/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 import-qt5.inc)
|
||||
# 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 import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
|
||||
|
35
libports/lib/mk/qt5_network.mk
Normal file
35
libports/lib/mk/qt5_network.mk
Normal file
@ -0,0 +1,35 @@
|
||||
include $(REP_DIR)/lib/import/import-qt5_network.mk
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
# use default warning level to avoid noise when compiling contrib code
|
||||
CC_WARN =
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_network_generated.inc
|
||||
|
||||
# remove unneeded files to prevent moc warnings
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
moc_qftp_p.cpp \
|
||||
moc_qnetworkaccessdebugpipebackend_p.cpp \
|
||||
moc_qnetworkaccessftpbackend_p.cpp \
|
||||
moc_qnetworksession.cpp \
|
||||
moc_qnetworkconfigmanager.cpp \
|
||||
moc_qnetworkconfigmanager_p.cpp \
|
||||
moc_qnetworksession_p.cpp \
|
||||
moc_qbearerengine_p.cpp \
|
||||
moc_qbearerplugin_p.cpp \
|
||||
moc_qudpsocket.cpp \
|
||||
moc_qsslsocket_openssl_p.cpp \
|
||||
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
qftp.moc
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
INC_DIR += $(REP_DIR)/contrib/$(QT5)/qtbase/include/QtNetwork/$(QT_VERSION) \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtNetwork/$(QT_VERSION)/QtNetwork \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtCore/$(QT_VERSION) \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtCore/$(QT_VERSION)/QtCore
|
||||
|
||||
LIBS += qt5_core zlib libc libssl
|
171
libports/lib/mk/qt5_network_generated.inc
Normal file
171
libports/lib/mk/qt5_network_generated.inc
Normal file
@ -0,0 +1,171 @@
|
||||
QT_DEFINES += -DQT_NO_LIBUDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_NO_USING_NAMESPACE -DQT_BUILD_NETWORK_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtbase/include \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/include/QtCore/5.1.0 \
|
||||
qtbase/include/QtCore/5.1.0/QtCore \
|
||||
qtbase/include/QtNetwork \
|
||||
qtbase/include/QtNetwork/5.1.0 \
|
||||
qtbase/include/QtNetwork/5.1.0/QtNetwork \
|
||||
qtbase/mkspecs/genode-g++ \
|
||||
qtbase/src/network \
|
||||
qtbase/src/network/kernel \
|
||||
|
||||
QT_SOURCES += \
|
||||
qftp.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 \
|
||||
qnetworkcookie.cpp \
|
||||
qnetworkcookiejar.cpp \
|
||||
qnetworkrequest.cpp \
|
||||
qnetworkreply.cpp \
|
||||
qnetworkreplyimpl.cpp \
|
||||
qnetworkreplydataimpl.cpp \
|
||||
qnetworkreplyhttpimpl.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 \
|
||||
qdnslookup.cpp \
|
||||
qhostaddress.cpp \
|
||||
qhostinfo.cpp \
|
||||
qurlinfo.cpp \
|
||||
qnetworkproxy.cpp \
|
||||
qnetworkinterface.cpp \
|
||||
qdnslookup_unix.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 \
|
||||
qsslcertificateextension.cpp \
|
||||
qsslcontext.cpp \
|
||||
moc_qhttpnetworkreply_p.cpp \
|
||||
moc_qnetworkaccesscache_p.cpp \
|
||||
moc_qnetworkaccessbackend_p.cpp \
|
||||
moc_qnetworkaccessdebugpipebackend_p.cpp \
|
||||
moc_qnetworkaccessfilebackend_p.cpp \
|
||||
moc_qnetworkaccessftpbackend_p.cpp \
|
||||
moc_qnetworkcookiejar.cpp \
|
||||
moc_qnetworkreply.cpp \
|
||||
moc_qnetworkreplyhttpimpl_p.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_qdnslookup_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 \
|
||||
moc_qsslsocket_openssl_p.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtbase/src/network/access \
|
||||
qtbase/src/network/bearer \
|
||||
qtbase/src/network/kernel \
|
||||
qtbase/src/network/socket \
|
||||
qtbase/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 import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
moc_qftp_p.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_qnetworkaccessfilebackend_p.cpp \
|
||||
moc_qnetworkaccessftpbackend_p.cpp \
|
||||
moc_qnetworkcookiejar.cpp \
|
||||
moc_qnetworkreply.cpp \
|
||||
moc_qnetworkreplyimpl_p.cpp \
|
||||
moc_qnetworkreplydataimpl_p.cpp \
|
||||
moc_qnetworkreplyhttpimpl_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_qdnslookup.cpp \
|
||||
moc_qdnslookup_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 \
|
||||
moc_qsslsocket_openssl_p.cpp
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
qftp.moc
|
||||
|
32
libports/lib/mk/qt5_printsupport.mk
Normal file
32
libports/lib/mk/qt5_printsupport.mk
Normal file
@ -0,0 +1,32 @@
|
||||
include $(REP_DIR)/lib/import/import-qt5_printsupport.mk
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
# use default warning level to avoid noise when compiling contrib code
|
||||
CC_WARN =
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_printsupport_generated.inc
|
||||
|
||||
# remove unneeded files to prevent moc warnings
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
moc_qabstractprintdialog.cpp \
|
||||
moc_qprintpreviewwidget.cpp \
|
||||
moc_qpagesetupdialog.cpp \
|
||||
moc_qprintdialog.cpp \
|
||||
moc_qprintpreviewdialog.cpp \
|
||||
moc_qpagesetupdialog_unix_p.cpp \
|
||||
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
qprintpreviewwidget.moc \
|
||||
qprintdialog_unix.moc \
|
||||
qprintpreviewdialog.moc \
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
INC_DIR += $(REP_DIR)/contrib/$(QT5)/qtbase/include/QtPrintSupport/$(QT_VERSION)/QtPrintSupport \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtWidgets/$(QT_VERSION)/QtWidgets \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtGui/$(QT_VERSION)/QtGui \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtCore/$(QT_VERSION)/QtCore \
|
||||
|
||||
LIBS += qt5_core
|
68
libports/lib/mk/qt5_printsupport_generated.inc
Normal file
68
libports/lib/mk/qt5_printsupport_generated.inc
Normal file
@ -0,0 +1,68 @@
|
||||
QT_DEFINES += -DQT_NO_LIBUDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_NO_USING_NAMESPACE -DQT_BUILD_PRINTSUPPORT_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtbase/include \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/include/QtCore/5.1.0 \
|
||||
qtbase/include/QtCore/5.1.0/QtCore \
|
||||
qtbase/include/QtGui \
|
||||
qtbase/include/QtGui/5.1.0 \
|
||||
qtbase/include/QtGui/5.1.0/QtGui \
|
||||
qtbase/include/QtPrintSupport \
|
||||
qtbase/include/QtPrintSupport/5.1.0 \
|
||||
qtbase/include/QtPrintSupport/5.1.0/QtPrintSupport \
|
||||
qtbase/include/QtWidgets \
|
||||
qtbase/include/QtWidgets/5.1.0 \
|
||||
qtbase/include/QtWidgets/5.1.0/QtWidgets \
|
||||
qtbase/mkspecs/genode-g++ \
|
||||
qtbase/src/plugins/printsupport/cups \
|
||||
qtbase/src/printsupport \
|
||||
qtbase/src/printsupport/dialogs \
|
||||
|
||||
QT_SOURCES += \
|
||||
qpaintengine_alpha.cpp \
|
||||
qpaintengine_preview.cpp \
|
||||
qprintengine_pdf.cpp \
|
||||
qprinter.cpp \
|
||||
qprinterinfo.cpp \
|
||||
qplatformprintplugin.cpp \
|
||||
qplatformprintersupport.cpp \
|
||||
qprintpreviewwidget.cpp \
|
||||
qprintdialog_unix.cpp \
|
||||
qpagesetupdialog_unix.cpp \
|
||||
qabstractprintdialog.cpp \
|
||||
qpagesetupdialog.cpp \
|
||||
qprintpreviewdialog.cpp \
|
||||
qrc_qprintdialog.cpp \
|
||||
moc_qplatformprintplugin.cpp \
|
||||
moc_qabstractprintdialog.cpp \
|
||||
moc_qpagesetupdialog_unix_p.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtbase/src/printsupport/dialogs \
|
||||
qtbase/src/printsupport/kernel \
|
||||
qtbase/src/printsupport/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 import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
moc_qplatformprintplugin.cpp \
|
||||
moc_qprintpreviewwidget.cpp \
|
||||
moc_qabstractprintdialog.cpp \
|
||||
moc_qpagesetupdialog.cpp \
|
||||
moc_qprintdialog.cpp \
|
||||
moc_qprintpreviewdialog.cpp \
|
||||
moc_qpagesetupdialog_unix_p.cpp
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
qprintpreviewwidget.moc \
|
||||
qprintdialog_unix.moc \
|
||||
qprintpreviewdialog.moc
|
||||
|
10
libports/lib/mk/qt5_qnitpickerviewwidget.mk
Normal file
10
libports/lib/mk/qt5_qnitpickerviewwidget.mk
Normal file
@ -0,0 +1,10 @@
|
||||
SHARED_LIB = yes
|
||||
|
||||
SRC_CC = qnitpickerviewwidget.cpp
|
||||
|
||||
HEADERS += qnitpickerviewwidget.h
|
||||
|
||||
vpath %.h $(REP_DIR)/include/qt5/qnitpickerviewwidget
|
||||
vpath %.cpp $(REP_DIR)/src/lib/qt5/qnitpickerviewwidget
|
||||
|
||||
LIBS += qt5_gui qt5_widgets qt5_core libc
|
38
libports/lib/mk/qt5_qpa_nitpicker.mk
Normal file
38
libports/lib/mk/qt5_qpa_nitpicker.mk
Normal file
@ -0,0 +1,38 @@
|
||||
include $(REP_DIR)/lib/import/import-qt5_qpa_nitpicker.mk
|
||||
|
||||
# get the correct harfbuzz header included
|
||||
QT_DEFINES += -DQT_BUILD_GUI_LIB
|
||||
|
||||
SRC_CC = qgenericunixeventdispatcher.cpp \
|
||||
qunixeventdispatcher.cpp \
|
||||
qbasicfontdatabase.cpp \
|
||||
qfontengine_ft.cpp
|
||||
|
||||
SRC_CC += main.cpp \
|
||||
qnitpickerintegration.cpp \
|
||||
qnitpickerwindowsurface.cpp \
|
||||
moc_qnitpickerplatformwindow.cpp \
|
||||
moc_qnitpickerwindowsurface.cpp \
|
||||
moc_qnitpickerintegrationplugin.cpp \
|
||||
qevdevkeyboardhandler.cpp \
|
||||
moc_qunixeventdispatcher_qpa_p.cpp \
|
||||
moc_qevdevkeyboardhandler_p.cpp
|
||||
|
||||
INC_DIR += $(REP_DIR)/contrib/$(QT5)/qtbase/src/platformsupport/eventdispatchers \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/src/platformsupport/input/evdevkeyboard \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/src/platformsupport/fontdatabases/basic \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/src/3rdparty/harfbuzz/src \
|
||||
$(REP_DIR)/src/lib/qt5/qtbase/src/plugins/platforms/nitpicker \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtGui/$(QT_VERSION) \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtGui/$(QT_VERSION)/QtGui \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtCore/$(QT_VERSION) \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtCore/$(QT_VERSION)/QtCore
|
||||
|
||||
LIBS += qt5_xml qt5_gui qt5_core libm freetype
|
||||
|
||||
vpath % $(call select_from_repositories,contrib/$(QT5)/qtbase/src/platformsupport/eventdispatchers)
|
||||
vpath % $(call select_from_repositories,contrib/$(QT5)/qtbase/src/platformsupport/input/evdevkeyboard)
|
||||
vpath % $(call select_from_repositories,contrib/$(QT5)/qtbase/src/platformsupport/fontdatabases/basic)
|
||||
vpath % $(call select_from_repositories,contrib/$(QT5)/qtbase/src/gui/text)
|
||||
vpath % $(call select_from_repositories,src/lib/qt5/qtbase/src/plugins/platforms/nitpicker)
|
||||
|
10
libports/lib/mk/qt5_qpluginwidget.mk
Normal file
10
libports/lib/mk/qt5_qpluginwidget.mk
Normal file
@ -0,0 +1,10 @@
|
||||
SHARED_LIB = yes
|
||||
|
||||
SRC_CC = qpluginwidget.cpp
|
||||
|
||||
HEADERS += qpluginwidget.h
|
||||
|
||||
vpath %.h $(REP_DIR)/include/qt5/qpluginwidget
|
||||
vpath %.cpp $(REP_DIR)/src/lib/qt5/qpluginwidget
|
||||
|
||||
LIBS += qt5_gui qt5_widgets qt5_network qt5_qnitpickerviewwidget qt5_core libc zlib
|
22
libports/lib/mk/qt5_script.mk
Normal file
22
libports/lib/mk/qt5_script.mk
Normal file
@ -0,0 +1,22 @@
|
||||
include $(REP_DIR)/lib/import/import-qt5_script.mk
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
# use default warning level to avoid noise when compiling contrib code
|
||||
CC_WARN =
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_script_generated.inc
|
||||
|
||||
QT_INCPATH += qtscript/src/script/api \
|
||||
|
||||
# remove unneeded files to prevent moc warnings
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
INC_DIR += $(REP_DIR)/contrib/$(QT5)/qtscript/include/QtScript/$(QT_VERSION)/QtScript \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtCore/$(QT_VERSION)/QtCore \
|
||||
|
||||
LIBS += qt5_core pthread
|
266
libports/lib/mk/qt5_script_generated.inc
Normal file
266
libports/lib/mk/qt5_script_generated.inc
Normal file
@ -0,0 +1,266 @@
|
||||
QT_DEFINES += -DQT_NO_LIBUDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DJSC=QTJSC -Djscyyparse=qtjscyyparse -Djscyylex=qtjscyylex -Djscyyerror=qtjscyyerror -DWTF=QTWTF -DQT_NO_USING_NAMESPACE -DQLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO -DQT_BUILD_SCRIPT_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DBUILDING_QT__=1 -DNDEBUG -DLOG_DISABLED=1 -DBUILDING_QT__ -DBUILDING_JavaScriptCore -DBUILDING_WTF -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DNDEBUG -DJS_NO_EXPORT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtbase/include \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/include/QtCore/5.1.0 \
|
||||
qtbase/include/QtCore/5.1.0/QtCore \
|
||||
qtbase/mkspecs/genode-g++ \
|
||||
qtscript/include \
|
||||
qtscript/include/QtScript \
|
||||
qtscript/include/QtScript/5.1.0 \
|
||||
qtscript/include/QtScript/5.1.0/QtScript \
|
||||
qtscript/src/3rdparty/javascriptcore \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/API \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/assembler \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/bytecode \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/bytecompiler \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/debugger \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/generated \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/interpreter \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/jit \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/parser \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/pcre \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/profiler \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/runtime \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/tmp \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wrec \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf/symbian \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/yarr \
|
||||
qtscript/src/3rdparty/javascriptcore/WebKit/qt/Api \
|
||||
qtscript/src/script \
|
||||
qtscript/src/script/../3rdparty/javascriptcore/JavaScriptCore/unicode \
|
||||
qtscript/src/script/parser \
|
||||
|
||||
QT_SOURCES += \
|
||||
pcre_compile.cpp \
|
||||
pcre_exec.cpp \
|
||||
pcre_tables.cpp \
|
||||
pcre_ucp_searchfuncs.cpp \
|
||||
pcre_xclass.cpp \
|
||||
JSBase.cpp \
|
||||
JSCallbackConstructor.cpp \
|
||||
JSCallbackFunction.cpp \
|
||||
JSCallbackObject.cpp \
|
||||
JSClassRef.cpp \
|
||||
JSContextRef.cpp \
|
||||
JSObjectRef.cpp \
|
||||
JSStringRef.cpp \
|
||||
JSValueRef.cpp \
|
||||
OpaqueJSString.cpp \
|
||||
ARMAssembler.cpp \
|
||||
MacroAssemblerARM.cpp \
|
||||
CodeBlock.cpp \
|
||||
JumpTable.cpp \
|
||||
Opcode.cpp \
|
||||
SamplingTool.cpp \
|
||||
StructureStubInfo.cpp \
|
||||
BytecodeGenerator.cpp \
|
||||
NodesCodegen.cpp \
|
||||
DebuggerActivation.cpp \
|
||||
DebuggerCallFrame.cpp \
|
||||
Debugger.cpp \
|
||||
CallFrame.cpp \
|
||||
Interpreter.cpp \
|
||||
RegisterFile.cpp \
|
||||
ExecutableAllocatorFixedVMPool.cpp \
|
||||
ExecutableAllocatorPosix.cpp \
|
||||
ExecutableAllocatorSymbian.cpp \
|
||||
ExecutableAllocatorWin.cpp \
|
||||
ExecutableAllocator.cpp \
|
||||
JITArithmetic.cpp \
|
||||
JITCall.cpp \
|
||||
JIT.cpp \
|
||||
JITOpcodes.cpp \
|
||||
JITPropertyAccess.cpp \
|
||||
JITStubs.cpp \
|
||||
Lexer.cpp \
|
||||
Nodes.cpp \
|
||||
ParserArena.cpp \
|
||||
Parser.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 \
|
||||
Collector.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 \
|
||||
GetterSetter.cpp \
|
||||
GlobalEvalFunction.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 \
|
||||
JSImmediate.cpp \
|
||||
JSLock.cpp \
|
||||
JSNotAnObject.cpp \
|
||||
JSNumberCell.cpp \
|
||||
JSObject.cpp \
|
||||
JSONObject.cpp \
|
||||
JSPropertyNameIterator.cpp \
|
||||
JSStaticScopeObject.cpp \
|
||||
JSString.cpp \
|
||||
JSValue.cpp \
|
||||
JSVariableObject.cpp \
|
||||
JSWrapperObject.cpp \
|
||||
LiteralParser.cpp \
|
||||
Lookup.cpp \
|
||||
MarkStackPosix.cpp \
|
||||
MarkStackSymbian.cpp \
|
||||
MarkStackWin.cpp \
|
||||
MarkStack.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 \
|
||||
PrototypeFunction.cpp \
|
||||
RegExpConstructor.cpp \
|
||||
RegExp.cpp \
|
||||
RegExpObject.cpp \
|
||||
RegExpPrototype.cpp \
|
||||
ScopeChain.cpp \
|
||||
SmallStrings.cpp \
|
||||
StringConstructor.cpp \
|
||||
StringObject.cpp \
|
||||
StringPrototype.cpp \
|
||||
StructureChain.cpp \
|
||||
Structure.cpp \
|
||||
TimeoutChecker.cpp \
|
||||
UString.cpp \
|
||||
UStringImpl.cpp \
|
||||
Assertions.cpp \
|
||||
ByteArray.cpp \
|
||||
CurrentTime.cpp \
|
||||
DateMath.cpp \
|
||||
dtoa.cpp \
|
||||
FastMalloc.cpp \
|
||||
HashTable.cpp \
|
||||
MainThread.cpp \
|
||||
MainThreadQt.cpp \
|
||||
ThreadingQt.cpp \
|
||||
RandomNumber.cpp \
|
||||
RefCountedLeakCounter.cpp \
|
||||
BlockAllocatorSymbian.cpp \
|
||||
RegisterFileAllocatorSymbian.cpp \
|
||||
ThreadingNone.cpp \
|
||||
Threading.cpp \
|
||||
TypeTraits.cpp \
|
||||
CollatorDefault.cpp \
|
||||
CollatorICU.cpp \
|
||||
UTF8.cpp \
|
||||
RegexCompiler.cpp \
|
||||
RegexInterpreter.cpp \
|
||||
RegexJIT.cpp \
|
||||
Grammar.cpp \
|
||||
TCSystemAlloc.cpp \
|
||||
qscriptclass.cpp \
|
||||
qscriptclasspropertyiterator.cpp \
|
||||
qscriptcontext.cpp \
|
||||
qscriptcontextinfo.cpp \
|
||||
qscriptengine.cpp \
|
||||
qscriptengineagent.cpp \
|
||||
qscriptextensionplugin.cpp \
|
||||
qscriptprogram.cpp \
|
||||
qscriptstring.cpp \
|
||||
qscriptvalue.cpp \
|
||||
qscriptvalueiterator.cpp \
|
||||
qscriptable.cpp \
|
||||
qscriptfunction.cpp \
|
||||
qscriptobject.cpp \
|
||||
qscriptclassobject.cpp \
|
||||
qscriptvariant.cpp \
|
||||
qscriptqobject.cpp \
|
||||
qscriptglobalobject.cpp \
|
||||
qscriptactivationobject.cpp \
|
||||
qscriptstaticscopeobject.cpp \
|
||||
qscriptdeclarativeobject.cpp \
|
||||
qscriptdeclarativeclass.cpp \
|
||||
qscriptast.cpp \
|
||||
qscriptastvisitor.cpp \
|
||||
qscriptgrammar.cpp \
|
||||
qscriptsyntaxchecker.cpp \
|
||||
qscriptlexer.cpp \
|
||||
moc_qscriptextensionplugin.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/API \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/assembler \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/bytecode \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/bytecompiler \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/debugger \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/generated \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/interpreter \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/jit \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/parser \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/pcre \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/profiler \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/runtime \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf/qt \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf/symbian \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/icu \
|
||||
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/yarr \
|
||||
qtscript/src/script/api \
|
||||
qtscript/src/script/bridge \
|
||||
qtscript/src/script/parser \
|
||||
|
||||
# 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 import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
moc_qscriptengine.cpp \
|
||||
moc_qscriptextensionplugin.cpp \
|
||||
moc_qscriptqobject_p.cpp
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
MainThreadQt.moc \
|
||||
ThreadingQt.moc
|
||||
|
31
libports/lib/mk/qt5_scriptclassic.mk
Normal file
31
libports/lib/mk/qt5_scriptclassic.mk
Normal file
@ -0,0 +1,31 @@
|
||||
include $(REP_DIR)/lib/import/import-qt5_scriptclassic.mk
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
# use default warning level to avoid noise when compiling contrib code
|
||||
CC_WARN =
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_scriptclassic_generated.inc
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
INC_DIR += $(REP_DIR)/src/lib/qt5/qtbase/mkspecs/qws/genode-generic-g++ \
|
||||
$(REP_DIR)/include/qt5 \
|
||||
$(REP_DIR)/contrib/include \
|
||||
$(REP_DIR)/include/qt5/qtbase/QtCore \
|
||||
$(REP_DIR)/contrib/qtbase/include/QtCore \
|
||||
$(REP_DIR)/include/qt5/QtCore/private \
|
||||
$(REP_DIR)/contrib/qtbase/include/QtCore/private \
|
||||
$(REP_DIR)/include/qt5/QtScript \
|
||||
$(REP_DIR)/contrib/qtscriptclassic-1.0_1-opensource/include/QtScript \
|
||||
$(REP_DIR)/contrib/qtscriptclassic-1.0_1-opensource/src \
|
||||
$(REP_DIR)/src/lib/qt5/qtbase/src/corelib/global
|
||||
|
||||
LIBS += qt5_core libc
|
||||
|
||||
vpath % $(REP_DIR)/include/qt5/QtScript
|
||||
vpath % $(REP_DIR)/include/qt5/QtScript/private
|
||||
|
||||
vpath % $(REP_DIR)/src/lib/qt5/qtbase/src/script
|
||||
|
||||
vpath % $(REP_DIR)/contrib/qtscriptclassic-1.0_1-opensource/src
|
60
libports/lib/mk/qt5_scriptclassic_generated.inc
Normal file
60
libports/lib/mk/qt5_scriptclassic_generated.inc
Normal file
@ -0,0 +1,60 @@
|
||||
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
|
20
libports/lib/mk/qt5_sql.mk
Normal file
20
libports/lib/mk/qt5_sql.mk
Normal file
@ -0,0 +1,20 @@
|
||||
include $(REP_DIR)/lib/import/import-qt5_sql.mk
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
# use default warning level to avoid noise when compiling contrib code
|
||||
CC_WARN =
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_sql_generated.inc
|
||||
|
||||
# remove unneeded files to prevent moc warnings
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
INC_DIR += $(REP_DIR)/contrib/$(QT5)/qtbase/include/QtSql/$(QT_VERSION)/QtSql \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtCore/$(QT_VERSION)/QtCore
|
||||
|
||||
LIBS += qt5_core
|
57
libports/lib/mk/qt5_sql_generated.inc
Normal file
57
libports/lib/mk/qt5_sql_generated.inc
Normal file
@ -0,0 +1,57 @@
|
||||
QT_DEFINES += -DQT_NO_LIBUDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_NO_USING_NAMESPACE -DQT_BUILD_SQL_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtbase/include \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/include/QtCore/5.1.0 \
|
||||
qtbase/include/QtCore/5.1.0/QtCore \
|
||||
qtbase/include/QtSql \
|
||||
qtbase/include/QtSql/5.1.0 \
|
||||
qtbase/include/QtSql/5.1.0/QtSql \
|
||||
qtbase/mkspecs/genode-g++ \
|
||||
qtbase/src/sql \
|
||||
|
||||
QT_SOURCES += \
|
||||
qsqlquery.cpp \
|
||||
qsqldatabase.cpp \
|
||||
qsqlfield.cpp \
|
||||
qsqlrecord.cpp \
|
||||
qsqldriver.cpp \
|
||||
qsqldriverplugin.cpp \
|
||||
qsqlerror.cpp \
|
||||
qsqlresult.cpp \
|
||||
qsqlindex.cpp \
|
||||
qsqlcachedresult.cpp \
|
||||
qsqlquerymodel.cpp \
|
||||
qsqltablemodel.cpp \
|
||||
qsqlrelationaldelegate.cpp \
|
||||
qsqlrelationaltablemodel.cpp \
|
||||
moc_qsqldriver.cpp \
|
||||
moc_qsqldriverplugin.cpp \
|
||||
moc_qsqlquerymodel.cpp \
|
||||
moc_qsqltablemodel.cpp \
|
||||
moc_qsqlrelationaltablemodel.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtbase/src/sql/kernel \
|
||||
qtbase/src/sql/models \
|
||||
|
||||
# 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 import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
moc_qsqldriver.cpp \
|
||||
moc_qsqldriverplugin.cpp \
|
||||
moc_qsqlquerymodel.cpp \
|
||||
moc_qsqltablemodel.cpp \
|
||||
moc_qsqlrelationaltablemodel.cpp
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
|
||||
|
17
libports/lib/mk/qt5_ui_tools.mk
Normal file
17
libports/lib/mk/qt5_ui_tools.mk
Normal file
@ -0,0 +1,17 @@
|
||||
include $(REP_DIR)/lib/import/import-qt5_ui_tools.mk
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
# use default warning level to avoid noise when compiling contrib code
|
||||
CC_WARN =
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_ui_tools_generated.inc
|
||||
|
||||
# remove unneeded files to prevent moc warnings
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
LIBS += qt5_widgets qt5_core
|
47
libports/lib/mk/qt5_ui_tools_generated.inc
Normal file
47
libports/lib/mk/qt5_ui_tools_generated.inc
Normal file
@ -0,0 +1,47 @@
|
||||
QT_DEFINES += -DQT_NO_LIBUDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_BUILD_UITOOLS_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQFORMINTERNAL_NAMESPACE -DQT_DESIGNER_STATIC -DQT_DESIGNER -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtbase/include \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/include/QtGui \
|
||||
qtbase/include/QtWidgets \
|
||||
qtbase/mkspecs/genode-g++ \
|
||||
qttools/include \
|
||||
qttools/include/QtUiTools \
|
||||
qttools/include/QtUiTools/5.1.0 \
|
||||
qttools/include/QtUiTools/5.1.0/QtUiTools \
|
||||
qttools/src/designer/src/lib/uilib \
|
||||
qttools/src/designer/src/uitools \
|
||||
|
||||
QT_SOURCES += \
|
||||
quiloader.cpp \
|
||||
abstractformbuilder.cpp \
|
||||
formbuilder.cpp \
|
||||
ui4.cpp \
|
||||
properties.cpp \
|
||||
formbuilderextra.cpp \
|
||||
resourcebuilder.cpp \
|
||||
textbuilder.cpp \
|
||||
moc_quiloader.cpp \
|
||||
moc_properties_p.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qttools/src/designer/src/lib/uilib \
|
||||
qttools/src/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 import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
moc_quiloader.cpp \
|
||||
moc_properties_p.cpp
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
quiloader.moc
|
||||
|
2
libports/lib/mk/qt5_version.inc
Normal file
2
libports/lib/mk/qt5_version.inc
Normal file
@ -0,0 +1,2 @@
|
||||
QT_VERSION := 5.1.0
|
||||
QT5 := qt-everywhere-opensource-src-$(QT_VERSION)
|
27
libports/lib/mk/qt5_webcore.mk
Normal file
27
libports/lib/mk/qt5_webcore.mk
Normal file
@ -0,0 +1,27 @@
|
||||
include $(REP_DIR)/lib/import/import-qt5_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
|
||||
|
||||
# make sure that the correct "Comment.h" file gets included
|
||||
QT_INCPATH := qtwebkit/Source/WebCore/dom
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_webcore_generated.inc
|
||||
|
||||
QT_INCPATH += qtwebkit/Source/WebCore/generated
|
||||
|
||||
QT_VPATH += qtwebkit/Source/WebCore/generated
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
LIBS += qt5_wtf qt5_jscore qt5_sql qt5_network qt5_core icu jpeg libpng zlib libc libm
|
1935
libports/lib/mk/qt5_webcore_generated.inc
Normal file
1935
libports/lib/mk/qt5_webcore_generated.inc
Normal file
File diff suppressed because it is too large
Load Diff
25
libports/lib/mk/qt5_webkit.mk
Normal file
25
libports/lib/mk/qt5_webkit.mk
Normal file
@ -0,0 +1,25 @@
|
||||
include $(REP_DIR)/lib/import/import-qt5_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
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_webkit_generated.inc
|
||||
|
||||
QT_INCPATH += qtwebkit/Source/WebCore/generated
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
LIBS += qt5_webcore qt5_jscore qt5_network qt5_printsupport qt5_core icu libc libm
|
||||
|
||||
vpath %.qrc $(REP_DIR)/contrib/$(QT5)/src/3rdparty/webkit/Source/WebCore
|
||||
vpath %.qrc $(REP_DIR)/contrib/$(QT5)/src/3rdparty/webkit/Source/WebCore/inspector/front-end
|
197
libports/lib/mk/qt5_webkit_generated.inc
Normal file
197
libports/lib/mk/qt5_webkit_generated.inc
Normal file
@ -0,0 +1,197 @@
|
||||
QT_DEFINES += -DQT_NO_LIBUDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DBUILDING_QT__=1 -DNDEBUG -DENABLE_3D_RENDERING=1 -DENABLE_BLOB=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_CSS_BOX_DECORATION_BREAK=1 -DENABLE_CSS_COMPOSITING=1 -DENABLE_CSS_EXCLUSIONS=1 -DENABLE_CSS_FILTERS=1 -DENABLE_CSS_IMAGE_SET=1 -DENABLE_CSS_REGIONS=1 -DENABLE_CSS_STICKY_POSITION=1 -DENABLE_DATALIST_ELEMENT=1 -DENABLE_DETAILS_ELEMENT=1 -DENABLE_FAST_MOBILE_SCROLLING=1 -DENABLE_FILTERS=1 -DENABLE_FTPDIR=1 -DENABLE_GESTURE_EVENTS=1 -DENABLE_ICONDATABASE=1 -DENABLE_IFRAME_SEAMLESS=1 -DENABLE_INPUT_TYPE_COLOR=1 -DENABLE_INSPECTOR=1 -DENABLE_INSPECTOR_SERVER=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_LEGACY_NOTIFICATIONS=1 -DENABLE_LEGACY_VIEWPORT_ADAPTION=1 -DENABLE_LEGACY_VENDOR_PREFIXES=1 -DENABLE_LINK_PREFETCH=1 -DENABLE_METER_ELEMENT=1 -DENABLE_MHTML=1 -DENABLE_MUTATION_OBSERVERS=1 -DENABLE_NOTIFICATIONS=1 -DENABLE_PAGE_VISIBILITY_API=1 -DENABLE_PROGRESS_ELEMENT=1 -DENABLE_RESOLUTION_MEDIA_QUERY=1 -DENABLE_REQUEST_ANIMATION_FRAME=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_SMOOTH_SCROLLING=1 -DENABLE_SQL_DATABASE=1 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_TOUCH_ADJUSTMENT=1 -DENABLE_TOUCH_EVENTS=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_WEB_TIMING=1 -DENABLE_WORKERS=1 -DENABLE_XHR_TIMEOUT=1 -DWTF_USE_TILED_BACKING_STORE=1 -DHAVE_QTPRINTSUPPORT=1 -DHAVE_QSTYLE=1 -DHAVE_QTTESTLIB=1 -DWTF_USE_LIBJPEG=1 -DWTF_USE_LIBPNG=1 -DPLUGIN_ARCHITECTURE_UNSUPPORTED=1 -DENABLE_TOUCH_SLIDER=1 -DENABLE_ACCELERATED_2D_CANVAS=0 -DENABLE_ANIMATION_API=0 -DENABLE_BATTERY_STATUS=0 -DENABLE_CSP_NEXT=0 -DENABLE_CSS_GRID_LAYOUT=0 -DENABLE_CSS_HIERARCHIES=0 -DENABLE_CSS_IMAGE_ORIENTATION=0 -DENABLE_CSS_IMAGE_RESOLUTION=0 -DENABLE_CSS_SHADERS=0 -DENABLE_CSS_VARIABLES=0 -DENABLE_CSS3_BACKGROUND=0 -DENABLE_CSS3_CONDITIONAL_RULES=0 -DENABLE_CSS3_TEXT=0 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_DATAGRID=0 -DENABLE_DATA_TRANSFER_ITEMS=0 -DENABLE_DEVICE_ORIENTATION=0 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_DOWNLOAD_ATTRIBUTE=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_FULLSCREEN_API=0 -DENABLE_GAMEPAD=0 -DENABLE_GEOLOCATION=0 -DENABLE_HIGH_DPI_CANVAS=0 -DENABLE_INDEXED_DATABASE=0 -DENABLE_INPUT_SPEECH=0 -DENABLE_INPUT_TYPE_DATE=0 -DENABLE_INPUT_TYPE_DATETIME=0 -DENABLE_INPUT_TYPE_DATETIMELOCAL=0 -DENABLE_INPUT_TYPE_MONTH=0 -DENABLE_INPUT_TYPE_TIME=0 -DENABLE_INPUT_TYPE_WEEK=0 -DENABLE_LEGACY_CSS_VENDOR_PREFIXES=0 -DENABLE_LINK_PRERENDER=0 -DENABLE_MATHML=0 -DENABLE_MEDIA_SOURCE=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_MEDIA_STREAM=0 -DENABLE_MICRODATA=0 -DENABLE_NAVIGATOR_CONTENT_UTILS=0 -DENABLE_NETSCAPE_PLUGIN_API=0 -DENABLE_NETWORK_INFO=0 -DENABLE_ORIENTATION_EVENTS=0 -DENABLE_PROXIMITY_EVENTS=0 -DENABLE_QUOTA=0 -DENABLE_SCRIPTED_SPEECH=0 -DENABLE_SHADOW_DOM=0 -DENABLE_STYLE_SCOPED=0 -DENABLE_SVG_DOM_OBJC_BINDINGS=0 -DENABLE_TEXT_AUTOSIZING=0 -DENABLE_TEXT_NOTIFICATIONS_ONLY=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_VIBRATION=0 -DENABLE_VIDEO=0 -DENABLE_VIDEO_TRACK=0 -DENABLE_WEBGL=0 -DENABLE_WEB_AUDIO=0 -DENABLE_XSLT=0 -DBUILDING_WebKit1 -DBUILDING_WEBKIT -DQT_ASCII_CAST_WARNINGS -DSQLITE_CORE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE -DSTATICALLY_LINKED_WITH_WebCore -DSTATICALLY_LINKED_WITH_JavaScriptCore -DSTATICALLY_LINKED_WITH_WTF -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtbase/include \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/include/QtCore/5.1.0 \
|
||||
qtbase/include/QtCore/5.1.0/QtCore \
|
||||
qtbase/include/QtGui \
|
||||
qtbase/include/QtGui/5.1.0 \
|
||||
qtbase/include/QtGui/5.1.0/QtGui \
|
||||
qtbase/include/QtNetwork \
|
||||
qtbase/include/QtSql \
|
||||
qtbase/mkspecs/genode-g++ \
|
||||
qtbase/src/3rdparty/sqlite \
|
||||
qtwebkit/Source \
|
||||
qtwebkit/Source/JavaScriptCore \
|
||||
qtwebkit/Source/JavaScriptCore/API \
|
||||
qtwebkit/Source/JavaScriptCore/assembler \
|
||||
qtwebkit/Source/JavaScriptCore/bytecode \
|
||||
qtwebkit/Source/JavaScriptCore/bytecompiler \
|
||||
qtwebkit/Source/JavaScriptCore/debugger \
|
||||
qtwebkit/Source/JavaScriptCore/dfg \
|
||||
qtwebkit/Source/JavaScriptCore/disassembler \
|
||||
qtwebkit/Source/JavaScriptCore/ForwardingHeaders \
|
||||
qtwebkit/Source/JavaScriptCore/heap \
|
||||
qtwebkit/Source/JavaScriptCore/interpreter \
|
||||
qtwebkit/Source/JavaScriptCore/jit \
|
||||
qtwebkit/Source/JavaScriptCore/llint \
|
||||
qtwebkit/Source/JavaScriptCore/parser \
|
||||
qtwebkit/Source/JavaScriptCore/profiler \
|
||||
qtwebkit/Source/JavaScriptCore/runtime \
|
||||
qtwebkit/Source/JavaScriptCore/tools \
|
||||
qtwebkit/Source/JavaScriptCore/yarr \
|
||||
qtwebkit/Source/ThirdParty \
|
||||
qtwebkit/Source/WebCore \
|
||||
qtwebkit/Source/WebCore/accessibility \
|
||||
qtwebkit/Source/WebCore/bindings \
|
||||
qtwebkit/Source/WebCore/bindings/generic \
|
||||
qtwebkit/Source/WebCore/bindings/js \
|
||||
qtwebkit/Source/WebCore/bridge \
|
||||
qtwebkit/Source/WebCore/bridge/c \
|
||||
qtwebkit/Source/WebCore/bridge/jsc \
|
||||
qtwebkit/Source/WebCore/bridge/qt \
|
||||
qtwebkit/Source/WebCore/css \
|
||||
qtwebkit/Source/WebCore/dom \
|
||||
qtwebkit/Source/WebCore/dom/default \
|
||||
qtwebkit/Source/WebCore/editing \
|
||||
qtwebkit/Source/WebCore/fileapi \
|
||||
qtwebkit/Source/WebCore/history \
|
||||
qtwebkit/Source/WebCore/html \
|
||||
qtwebkit/Source/WebCore/html/canvas \
|
||||
qtwebkit/Source/WebCore/html/parser \
|
||||
qtwebkit/Source/WebCore/html/shadow \
|
||||
qtwebkit/Source/WebCore/html/track \
|
||||
qtwebkit/Source/WebCore/inspector \
|
||||
qtwebkit/Source/WebCore/loader \
|
||||
qtwebkit/Source/WebCore/loader/appcache \
|
||||
qtwebkit/Source/WebCore/loader/archive \
|
||||
qtwebkit/Source/WebCore/loader/cache \
|
||||
qtwebkit/Source/WebCore/loader/icon \
|
||||
qtwebkit/Source/WebCore/mathml \
|
||||
qtwebkit/Source/WebCore/Modules/filesystem \
|
||||
qtwebkit/Source/WebCore/Modules/geolocation \
|
||||
qtwebkit/Source/WebCore/Modules/indexeddb \
|
||||
qtwebkit/Source/WebCore/Modules/navigatorcontentutils \
|
||||
qtwebkit/Source/WebCore/Modules/notifications \
|
||||
qtwebkit/Source/WebCore/Modules/quota \
|
||||
qtwebkit/Source/WebCore/Modules/webaudio \
|
||||
qtwebkit/Source/WebCore/Modules/webdatabase \
|
||||
qtwebkit/Source/WebCore/Modules/websockets \
|
||||
qtwebkit/Source/WebCore/page \
|
||||
qtwebkit/Source/WebCore/page/animation \
|
||||
qtwebkit/Source/WebCore/page/qt \
|
||||
qtwebkit/Source/WebCore/page/scrolling \
|
||||
qtwebkit/Source/WebCore/platform \
|
||||
qtwebkit/Source/WebCore/platform/animation \
|
||||
qtwebkit/Source/WebCore/platform/audio \
|
||||
qtwebkit/Source/WebCore/platform/graphics \
|
||||
qtwebkit/Source/WebCore/platform/graphics/cpu/arm \
|
||||
qtwebkit/Source/WebCore/platform/graphics/cpu/arm/filters \
|
||||
qtwebkit/Source/WebCore/platform/graphics/filters \
|
||||
qtwebkit/Source/WebCore/platform/graphics/filters/texmap \
|
||||
qtwebkit/Source/WebCore/platform/graphics/opengl \
|
||||
qtwebkit/Source/WebCore/platform/graphics/opentype \
|
||||
qtwebkit/Source/WebCore/platform/graphics/qt \
|
||||
qtwebkit/Source/WebCore/platform/graphics/surfaces \
|
||||
qtwebkit/Source/WebCore/platform/graphics/texmap \
|
||||
qtwebkit/Source/WebCore/platform/graphics/transforms \
|
||||
qtwebkit/Source/WebCore/platform/image-decoders \
|
||||
qtwebkit/Source/WebCore/platform/image-decoders/bmp \
|
||||
qtwebkit/Source/WebCore/platform/image-decoders/gif \
|
||||
qtwebkit/Source/WebCore/platform/image-decoders/ico \
|
||||
qtwebkit/Source/WebCore/platform/image-decoders/jpeg \
|
||||
qtwebkit/Source/WebCore/platform/image-decoders/png \
|
||||
qtwebkit/Source/WebCore/platform/image-decoders/webp \
|
||||
qtwebkit/Source/WebCore/platform/leveldb \
|
||||
qtwebkit/Source/WebCore/platform/mock \
|
||||
qtwebkit/Source/WebCore/platform/network \
|
||||
qtwebkit/Source/WebCore/platform/network/qt \
|
||||
qtwebkit/Source/WebCore/platform/qt \
|
||||
qtwebkit/Source/WebCore/platform/sql \
|
||||
qtwebkit/Source/WebCore/platform/text \
|
||||
qtwebkit/Source/WebCore/platform/text/transcoder \
|
||||
qtwebkit/Source/WebCore/plugins \
|
||||
qtwebkit/Source/WebCore/rendering \
|
||||
qtwebkit/Source/WebCore/rendering/mathml \
|
||||
qtwebkit/Source/WebCore/rendering/style \
|
||||
qtwebkit/Source/WebCore/rendering/svg \
|
||||
qtwebkit/Source/WebCore/storage \
|
||||
qtwebkit/Source/WebCore/svg \
|
||||
qtwebkit/Source/WebCore/svg/animation \
|
||||
qtwebkit/Source/WebCore/svg/graphics \
|
||||
qtwebkit/Source/WebCore/svg/graphics/filters \
|
||||
qtwebkit/Source/WebCore/svg/properties \
|
||||
qtwebkit/Source/WebCore/testing \
|
||||
qtwebkit/Source/WebCore/testing/js \
|
||||
qtwebkit/Source/WebCore/websockets \
|
||||
qtwebkit/Source/WebCore/workers \
|
||||
qtwebkit/Source/WebCore/xml \
|
||||
qtwebkit/Source/WebCore/xml/parser \
|
||||
qtwebkit/Source/WebKit \
|
||||
qtwebkit/Source/WebKit/qt/Api \
|
||||
qtwebkit/Source/WebKit/qt/WebCoreSupport \
|
||||
qtwebkit/Source/WTF \
|
||||
qtwebkit/Source/WTF/wtf/qt \
|
||||
|
||||
QT_SOURCES += \
|
||||
qhttpheader.cpp \
|
||||
qwebdatabase.cpp \
|
||||
qwebelement.cpp \
|
||||
qwebhistory.cpp \
|
||||
qwebhistoryinterface.cpp \
|
||||
qwebkitglobal.cpp \
|
||||
qwebplugindatabase.cpp \
|
||||
qwebpluginfactory.cpp \
|
||||
qwebsecurityorigin.cpp \
|
||||
qwebsettings.cpp \
|
||||
qwebscriptworld.cpp \
|
||||
ChromeClientQt.cpp \
|
||||
ContextMenuClientQt.cpp \
|
||||
DragClientQt.cpp \
|
||||
DumpRenderTreeSupportQt.cpp \
|
||||
EditorClientQt.cpp \
|
||||
FrameLoaderClientQt.cpp \
|
||||
FrameNetworkingContextQt.cpp \
|
||||
GeolocationPermissionClientQt.cpp \
|
||||
InitWebCoreQt.cpp \
|
||||
InspectorClientQt.cpp \
|
||||
InspectorServerQt.cpp \
|
||||
NotificationPresenterClientQt.cpp \
|
||||
PlatformStrategiesQt.cpp \
|
||||
PopupMenuQt.cpp \
|
||||
QtPlatformPlugin.cpp \
|
||||
QtPluginWidgetAdapter.cpp \
|
||||
QtPrintContext.cpp \
|
||||
QWebFrameAdapter.cpp \
|
||||
QWebPageAdapter.cpp \
|
||||
SearchPopupMenuQt.cpp \
|
||||
TextCheckerClientQt.cpp \
|
||||
TextureMapperLayerClientQt.cpp \
|
||||
UndoStepQt.cpp \
|
||||
WebEventConversion.cpp \
|
||||
IconDatabaseClientQt.cpp \
|
||||
moc_qwebhistoryinterface.cpp \
|
||||
moc_qwebplugindatabase_p.cpp \
|
||||
moc_qwebpluginfactory.cpp \
|
||||
moc_qwebkitplatformplugin.cpp \
|
||||
moc_QtPluginWidgetAdapter.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtwebkit/Source/WebKit/qt/Api \
|
||||
qtwebkit/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 import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
moc_qwebhistoryinterface.cpp \
|
||||
moc_qwebplugindatabase_p.cpp \
|
||||
moc_qwebpluginfactory.cpp \
|
||||
moc_qwebkitplatformplugin.cpp \
|
||||
moc_FrameLoaderClientQt.cpp \
|
||||
moc_InspectorServerQt.cpp \
|
||||
moc_NotificationPresenterClientQt.cpp \
|
||||
moc_PopupMenuQt.cpp \
|
||||
moc_QtPluginWidgetAdapter.cpp \
|
||||
moc_IconDatabaseClientQt.cpp
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
|
||||
|
22
libports/lib/mk/qt5_webkitwidgets.mk
Normal file
22
libports/lib/mk/qt5_webkitwidgets.mk
Normal file
@ -0,0 +1,22 @@
|
||||
include $(REP_DIR)/lib/import/import-qt5_webkitwidgets.mk
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
# use default warning level to avoid noise when compiling contrib code
|
||||
CC_WARN =
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_webkitwidgets_generated.inc
|
||||
|
||||
QT_INCPATH += qtwebkit/Source/WebCore/generated
|
||||
|
||||
QT_VPATH += qtwebkit/Source/WebKit/qt/Api \
|
||||
|
||||
# remove unneeded files to prevent moc warnings
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
moc_DefaultFullScreenVideoHandler.cpp \
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
LIBS += qt5_webkit qt5_widgets qt5_printsupport qt5_core icu
|
190
libports/lib/mk/qt5_webkitwidgets_generated.inc
Normal file
190
libports/lib/mk/qt5_webkitwidgets_generated.inc
Normal file
@ -0,0 +1,190 @@
|
||||
QT_DEFINES += -DQT_NO_LIBUDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_BUILD_WEBKITWIDGETS_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DBUILDING_QT__=1 -DNDEBUG -DENABLE_3D_RENDERING=1 -DENABLE_BLOB=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_CSS_BOX_DECORATION_BREAK=1 -DENABLE_CSS_COMPOSITING=1 -DENABLE_CSS_EXCLUSIONS=1 -DENABLE_CSS_FILTERS=1 -DENABLE_CSS_IMAGE_SET=1 -DENABLE_CSS_REGIONS=1 -DENABLE_CSS_STICKY_POSITION=1 -DENABLE_DATALIST_ELEMENT=1 -DENABLE_DETAILS_ELEMENT=1 -DENABLE_FAST_MOBILE_SCROLLING=1 -DENABLE_FILTERS=1 -DENABLE_FTPDIR=1 -DENABLE_GESTURE_EVENTS=1 -DENABLE_ICONDATABASE=1 -DENABLE_IFRAME_SEAMLESS=1 -DENABLE_INPUT_TYPE_COLOR=1 -DENABLE_INSPECTOR=1 -DENABLE_INSPECTOR_SERVER=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_LEGACY_NOTIFICATIONS=1 -DENABLE_LEGACY_VIEWPORT_ADAPTION=1 -DENABLE_LEGACY_VENDOR_PREFIXES=1 -DENABLE_LINK_PREFETCH=1 -DENABLE_METER_ELEMENT=1 -DENABLE_MHTML=1 -DENABLE_MUTATION_OBSERVERS=1 -DENABLE_NOTIFICATIONS=1 -DENABLE_PAGE_VISIBILITY_API=1 -DENABLE_PROGRESS_ELEMENT=1 -DENABLE_RESOLUTION_MEDIA_QUERY=1 -DENABLE_REQUEST_ANIMATION_FRAME=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_SMOOTH_SCROLLING=1 -DENABLE_SQL_DATABASE=1 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_TOUCH_ADJUSTMENT=1 -DENABLE_TOUCH_EVENTS=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_WEB_TIMING=1 -DENABLE_WORKERS=1 -DENABLE_XHR_TIMEOUT=1 -DWTF_USE_TILED_BACKING_STORE=1 -DHAVE_QTPRINTSUPPORT=1 -DHAVE_QSTYLE=1 -DHAVE_QTTESTLIB=1 -DWTF_USE_LIBJPEG=1 -DWTF_USE_LIBPNG=1 -DPLUGIN_ARCHITECTURE_UNSUPPORTED=1 -DENABLE_TOUCH_SLIDER=1 -DENABLE_ACCELERATED_2D_CANVAS=0 -DENABLE_ANIMATION_API=0 -DENABLE_BATTERY_STATUS=0 -DENABLE_CSP_NEXT=0 -DENABLE_CSS_GRID_LAYOUT=0 -DENABLE_CSS_HIERARCHIES=0 -DENABLE_CSS_IMAGE_ORIENTATION=0 -DENABLE_CSS_IMAGE_RESOLUTION=0 -DENABLE_CSS_SHADERS=0 -DENABLE_CSS_VARIABLES=0 -DENABLE_CSS3_BACKGROUND=0 -DENABLE_CSS3_CONDITIONAL_RULES=0 -DENABLE_CSS3_TEXT=0 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_DATAGRID=0 -DENABLE_DATA_TRANSFER_ITEMS=0 -DENABLE_DEVICE_ORIENTATION=0 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_DOWNLOAD_ATTRIBUTE=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_FULLSCREEN_API=0 -DENABLE_GAMEPAD=0 -DENABLE_GEOLOCATION=0 -DENABLE_HIGH_DPI_CANVAS=0 -DENABLE_INDEXED_DATABASE=0 -DENABLE_INPUT_SPEECH=0 -DENABLE_INPUT_TYPE_DATE=0 -DENABLE_INPUT_TYPE_DATETIME=0 -DENABLE_INPUT_TYPE_DATETIMELOCAL=0 -DENABLE_INPUT_TYPE_MONTH=0 -DENABLE_INPUT_TYPE_TIME=0 -DENABLE_INPUT_TYPE_WEEK=0 -DENABLE_LEGACY_CSS_VENDOR_PREFIXES=0 -DENABLE_LINK_PRERENDER=0 -DENABLE_MATHML=0 -DENABLE_MEDIA_SOURCE=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_MEDIA_STREAM=0 -DENABLE_MICRODATA=0 -DENABLE_NAVIGATOR_CONTENT_UTILS=0 -DENABLE_NETSCAPE_PLUGIN_API=0 -DENABLE_NETWORK_INFO=0 -DENABLE_ORIENTATION_EVENTS=0 -DENABLE_PROXIMITY_EVENTS=0 -DENABLE_QUOTA=0 -DENABLE_SCRIPTED_SPEECH=0 -DENABLE_SHADOW_DOM=0 -DENABLE_STYLE_SCOPED=0 -DENABLE_SVG_DOM_OBJC_BINDINGS=0 -DENABLE_TEXT_AUTOSIZING=0 -DENABLE_TEXT_NOTIFICATIONS_ONLY=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_VIBRATION=0 -DENABLE_VIDEO=0 -DENABLE_VIDEO_TRACK=0 -DENABLE_WEBGL=0 -DENABLE_WEB_AUDIO=0 -DENABLE_XSLT=0 -DBUILDING_Qt5WebKitWidgets -DBUILDING_WEBKIT -DQT_ASCII_CAST_WARNINGS -DSQLITE_CORE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtbase/include \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/include/QtCore/5.1.0 \
|
||||
qtbase/include/QtCore/5.1.0/QtCore \
|
||||
qtbase/include/QtGui \
|
||||
qtbase/include/QtGui/5.1.0 \
|
||||
qtbase/include/QtGui/5.1.0/QtGui \
|
||||
qtbase/include/QtNetwork \
|
||||
qtbase/include/QtPrintSupport \
|
||||
qtbase/include/QtSql \
|
||||
qtbase/include/QtWidgets \
|
||||
qtbase/include/QtWidgets/5.1.0 \
|
||||
qtbase/include/QtWidgets/5.1.0/QtWidgets \
|
||||
qtbase/mkspecs/genode-g++ \
|
||||
qtwebkit/include \
|
||||
qtwebkit/include/QtWebKit \
|
||||
qtwebkit/include/QtWebKitWidgets \
|
||||
qtwebkit/include/QtWebKitWidgets/5.1.0 \
|
||||
qtwebkit/include/QtWebKitWidgets/5.1.0/QtWebKitWidgets \
|
||||
qtwebkit/Source \
|
||||
qtwebkit/Source/JavaScriptCore \
|
||||
qtwebkit/Source/JavaScriptCore/API \
|
||||
qtwebkit/Source/JavaScriptCore/assembler \
|
||||
qtwebkit/Source/JavaScriptCore/bytecode \
|
||||
qtwebkit/Source/JavaScriptCore/bytecompiler \
|
||||
qtwebkit/Source/JavaScriptCore/debugger \
|
||||
qtwebkit/Source/JavaScriptCore/dfg \
|
||||
qtwebkit/Source/JavaScriptCore/disassembler \
|
||||
qtwebkit/Source/JavaScriptCore/ForwardingHeaders \
|
||||
qtwebkit/Source/JavaScriptCore/heap \
|
||||
qtwebkit/Source/JavaScriptCore/interpreter \
|
||||
qtwebkit/Source/JavaScriptCore/jit \
|
||||
qtwebkit/Source/JavaScriptCore/llint \
|
||||
qtwebkit/Source/JavaScriptCore/parser \
|
||||
qtwebkit/Source/JavaScriptCore/profiler \
|
||||
qtwebkit/Source/JavaScriptCore/runtime \
|
||||
qtwebkit/Source/JavaScriptCore/tools \
|
||||
qtwebkit/Source/JavaScriptCore/yarr \
|
||||
qtwebkit/Source/qt/Api \
|
||||
qtwebkit/Source/qt/WebCoreSupport \
|
||||
qtwebkit/Source/ThirdParty \
|
||||
qtwebkit/Source/WebCore \
|
||||
qtwebkit/Source/WebCore/accessibility \
|
||||
qtwebkit/Source/WebCore/bindings \
|
||||
qtwebkit/Source/WebCore/bindings/generic \
|
||||
qtwebkit/Source/WebCore/bindings/js \
|
||||
qtwebkit/Source/WebCore/bridge \
|
||||
qtwebkit/Source/WebCore/bridge/c \
|
||||
qtwebkit/Source/WebCore/bridge/jsc \
|
||||
qtwebkit/Source/WebCore/bridge/qt \
|
||||
qtwebkit/Source/WebCore/css \
|
||||
qtwebkit/Source/WebCore/dom \
|
||||
qtwebkit/Source/WebCore/dom/default \
|
||||
qtwebkit/Source/WebCore/editing \
|
||||
qtwebkit/Source/WebCore/fileapi \
|
||||
qtwebkit/Source/WebCore/history \
|
||||
qtwebkit/Source/WebCore/html \
|
||||
qtwebkit/Source/WebCore/html/canvas \
|
||||
qtwebkit/Source/WebCore/html/parser \
|
||||
qtwebkit/Source/WebCore/html/shadow \
|
||||
qtwebkit/Source/WebCore/html/track \
|
||||
qtwebkit/Source/WebCore/inspector \
|
||||
qtwebkit/Source/WebCore/loader \
|
||||
qtwebkit/Source/WebCore/loader/appcache \
|
||||
qtwebkit/Source/WebCore/loader/archive \
|
||||
qtwebkit/Source/WebCore/loader/cache \
|
||||
qtwebkit/Source/WebCore/loader/icon \
|
||||
qtwebkit/Source/WebCore/mathml \
|
||||
qtwebkit/Source/WebCore/Modules/filesystem \
|
||||
qtwebkit/Source/WebCore/Modules/geolocation \
|
||||
qtwebkit/Source/WebCore/Modules/indexeddb \
|
||||
qtwebkit/Source/WebCore/Modules/navigatorcontentutils \
|
||||
qtwebkit/Source/WebCore/Modules/notifications \
|
||||
qtwebkit/Source/WebCore/Modules/quota \
|
||||
qtwebkit/Source/WebCore/Modules/webaudio \
|
||||
qtwebkit/Source/WebCore/Modules/webdatabase \
|
||||
qtwebkit/Source/WebCore/Modules/websockets \
|
||||
qtwebkit/Source/WebCore/page \
|
||||
qtwebkit/Source/WebCore/page/animation \
|
||||
qtwebkit/Source/WebCore/page/qt \
|
||||
qtwebkit/Source/WebCore/page/scrolling \
|
||||
qtwebkit/Source/WebCore/platform \
|
||||
qtwebkit/Source/WebCore/platform/animation \
|
||||
qtwebkit/Source/WebCore/platform/audio \
|
||||
qtwebkit/Source/WebCore/platform/graphics \
|
||||
qtwebkit/Source/WebCore/platform/graphics/cpu/arm \
|
||||
qtwebkit/Source/WebCore/platform/graphics/cpu/arm/filters \
|
||||
qtwebkit/Source/WebCore/platform/graphics/filters \
|
||||
qtwebkit/Source/WebCore/platform/graphics/filters/texmap \
|
||||
qtwebkit/Source/WebCore/platform/graphics/opengl \
|
||||
qtwebkit/Source/WebCore/platform/graphics/opentype \
|
||||
qtwebkit/Source/WebCore/platform/graphics/qt \
|
||||
qtwebkit/Source/WebCore/platform/graphics/surfaces \
|
||||
qtwebkit/Source/WebCore/platform/graphics/texmap \
|
||||
qtwebkit/Source/WebCore/platform/graphics/transforms \
|
||||
qtwebkit/Source/WebCore/platform/image-decoders \
|
||||
qtwebkit/Source/WebCore/platform/image-decoders/bmp \
|
||||
qtwebkit/Source/WebCore/platform/image-decoders/gif \
|
||||
qtwebkit/Source/WebCore/platform/image-decoders/ico \
|
||||
qtwebkit/Source/WebCore/platform/image-decoders/jpeg \
|
||||
qtwebkit/Source/WebCore/platform/image-decoders/png \
|
||||
qtwebkit/Source/WebCore/platform/image-decoders/webp \
|
||||
qtwebkit/Source/WebCore/platform/leveldb \
|
||||
qtwebkit/Source/WebCore/platform/mock \
|
||||
qtwebkit/Source/WebCore/platform/network \
|
||||
qtwebkit/Source/WebCore/platform/network/qt \
|
||||
qtwebkit/Source/WebCore/platform/qt \
|
||||
qtwebkit/Source/WebCore/platform/sql \
|
||||
qtwebkit/Source/WebCore/platform/text \
|
||||
qtwebkit/Source/WebCore/platform/text/transcoder \
|
||||
qtwebkit/Source/WebCore/plugins \
|
||||
qtwebkit/Source/WebCore/rendering \
|
||||
qtwebkit/Source/WebCore/rendering/mathml \
|
||||
qtwebkit/Source/WebCore/rendering/style \
|
||||
qtwebkit/Source/WebCore/rendering/svg \
|
||||
qtwebkit/Source/WebCore/storage \
|
||||
qtwebkit/Source/WebCore/svg \
|
||||
qtwebkit/Source/WebCore/svg/animation \
|
||||
qtwebkit/Source/WebCore/svg/graphics \
|
||||
qtwebkit/Source/WebCore/svg/graphics/filters \
|
||||
qtwebkit/Source/WebCore/svg/properties \
|
||||
qtwebkit/Source/WebCore/testing \
|
||||
qtwebkit/Source/WebCore/testing/js \
|
||||
qtwebkit/Source/WebCore/websockets \
|
||||
qtwebkit/Source/WebCore/workers \
|
||||
qtwebkit/Source/WebCore/xml \
|
||||
qtwebkit/Source/WebCore/xml/parser \
|
||||
qtwebkit/Source/WebKit/qt/Api \
|
||||
qtwebkit/Source/WebKit/qt/WebCoreSupport \
|
||||
qtwebkit/Source/WebKit/qt/WidgetApi \
|
||||
qtwebkit/Source/WebKit/qt/WidgetSupport \
|
||||
qtwebkit/Source/WTF \
|
||||
qtwebkit/Source/WTF/wtf/qt \
|
||||
|
||||
QT_SOURCES += \
|
||||
qgraphicswebview.cpp \
|
||||
qwebframe.cpp \
|
||||
qwebpage.cpp \
|
||||
qwebview.cpp \
|
||||
qwebinspector.cpp \
|
||||
QtFallbackWebPopup.cpp \
|
||||
QtWebComboBox.cpp \
|
||||
QWebUndoCommand.cpp \
|
||||
DefaultFullScreenVideoHandler.cpp \
|
||||
InitWebKitQt.cpp \
|
||||
InspectorClientWebPage.cpp \
|
||||
PageClientQt.cpp \
|
||||
QStyleFacadeImp.cpp \
|
||||
QGraphicsWidgetPluginImpl.cpp \
|
||||
QWidgetPluginImpl.cpp \
|
||||
moc_qwebinspector.cpp \
|
||||
moc_qwebkitplatformplugin.cpp \
|
||||
moc_InspectorClientWebPage.cpp \
|
||||
moc_DefaultFullScreenVideoHandler.cpp \
|
||||
moc_QtFallbackWebPopup.cpp \
|
||||
moc_QtWebComboBox.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtwebkit/Source/WebKit/qt/WidgetApi \
|
||||
qtwebkit/Source/WebKit/qt/WidgetSupport \
|
||||
|
||||
# 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 import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
moc_qgraphicswebview.cpp \
|
||||
moc_qwebframe.cpp \
|
||||
moc_qwebpage.cpp \
|
||||
moc_qwebview.cpp \
|
||||
moc_qwebinspector.cpp \
|
||||
moc_qwebkitplatformplugin.cpp \
|
||||
moc_InspectorClientWebPage.cpp \
|
||||
moc_DefaultFullScreenVideoHandler.cpp \
|
||||
moc_QtFallbackWebPopup.cpp \
|
||||
moc_QtWebComboBox.cpp \
|
||||
moc_QGraphicsWidgetPluginImpl.cpp \
|
||||
moc_QWidgetPluginImpl.cpp
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
|
||||
|
19
libports/lib/mk/qt5_widgets.mk
Normal file
19
libports/lib/mk/qt5_widgets.mk
Normal file
@ -0,0 +1,19 @@
|
||||
include $(REP_DIR)/lib/import/import-qt5_widgets.mk
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_widgets_generated.inc
|
||||
|
||||
# UI headers
|
||||
qfiledialog.o: ui_qfiledialog.h
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
INC_DIR += $(REP_DIR)/include/qt5/qtbase/QtWidgets/private \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtWidgets/$(QT_VERSION)/QtWidgets \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtGui/$(QT_VERSION) \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtGui/$(QT_VERSION)/QtGui \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtCore/$(QT_VERSION) \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtCore/$(QT_VERSION)/QtCore
|
||||
|
||||
LIBS += qt5_core libc
|
457
libports/lib/mk/qt5_widgets_generated.inc
Normal file
457
libports/lib/mk/qt5_widgets_generated.inc
Normal file
@ -0,0 +1,457 @@
|
||||
QT_DEFINES += -DQT_NO_LIBUDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_NO_USING_NAMESPACE -DQT_BUILD_WIDGETS_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_STYLE_MAC -DQT_STYLE_WINDOWS -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_ANDROID -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtbase/include \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/include/QtCore/5.1.0 \
|
||||
qtbase/include/QtCore/5.1.0/QtCore \
|
||||
qtbase/include/QtGui \
|
||||
qtbase/include/QtGui/5.1.0 \
|
||||
qtbase/include/QtGui/5.1.0/QtGui \
|
||||
qtbase/include/QtWidgets \
|
||||
qtbase/include/QtWidgets/5.1.0 \
|
||||
qtbase/include/QtWidgets/5.1.0/QtWidgets \
|
||||
qtbase/mkspecs/genode-g++ \
|
||||
qtbase/src/widgets \
|
||||
qtbase/src/widgets/dialogs \
|
||||
|
||||
QT_SOURCES += \
|
||||
qaction.cpp \
|
||||
qactiongroup.cpp \
|
||||
qapplication.cpp \
|
||||
qwidgetbackingstore.cpp \
|
||||
qboxlayout.cpp \
|
||||
qformlayout.cpp \
|
||||
qgridlayout.cpp \
|
||||
qlayout.cpp \
|
||||
qlayoutengine.cpp \
|
||||
qlayoutitem.cpp \
|
||||
qshortcut.cpp \
|
||||
qstackedlayout.cpp \
|
||||
qtooltip.cpp \
|
||||
qwhatsthis.cpp \
|
||||
qwidget.cpp \
|
||||
qwidgetaction.cpp \
|
||||
qgesture.cpp \
|
||||
qstandardgestures.cpp \
|
||||
qgesturerecognizer.cpp \
|
||||
qgesturemanager.cpp \
|
||||
qdesktopwidget.cpp \
|
||||
qwidgetsvariant.cpp \
|
||||
qapplication_qpa.cpp \
|
||||
qdesktopwidget_qpa.cpp \
|
||||
qwidget_qpa.cpp \
|
||||
qwidgetwindow.cpp \
|
||||
qwindowcontainer.cpp \
|
||||
qdrawutil.cpp \
|
||||
qstyle.cpp \
|
||||
qstyleanimation.cpp \
|
||||
qstylefactory.cpp \
|
||||
qstyleoption.cpp \
|
||||
qstyleplugin.cpp \
|
||||
qstylehelper.cpp \
|
||||
qcommonstyle.cpp \
|
||||
qproxystyle.cpp \
|
||||
qstylepainter.cpp \
|
||||
qstylesheetstyle.cpp \
|
||||
qstylesheetstyle_default.cpp \
|
||||
qwindowsstyle.cpp \
|
||||
qfusionstyle.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 \
|
||||
qmainwindow.cpp \
|
||||
qmainwindowlayout.cpp \
|
||||
qmdiarea.cpp \
|
||||
qmdisubwindow.cpp \
|
||||
qmenu.cpp \
|
||||
qmenubar.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 \
|
||||
qabstractscrollarea.cpp \
|
||||
qwidgetresizehandler.cpp \
|
||||
qfocusframe.cpp \
|
||||
qscrollarea.cpp \
|
||||
qwidgetanimator.cpp \
|
||||
qwidgettextcontrol.cpp \
|
||||
qwidgetlinecontrol.cpp \
|
||||
qtoolbararealayout.cpp \
|
||||
qplaintextedit.cpp \
|
||||
qcolordialog.cpp \
|
||||
qdialog.cpp \
|
||||
qerrormessage.cpp \
|
||||
qfiledialog.cpp \
|
||||
qfontdialog.cpp \
|
||||
qinputdialog.cpp \
|
||||
qmessagebox.cpp \
|
||||
qprogressdialog.cpp \
|
||||
qsidebar.cpp \
|
||||
qfilesystemmodel.cpp \
|
||||
qfileinfogatherer.cpp \
|
||||
qwizard.cpp \
|
||||
qabstractitemview.cpp \
|
||||
qheaderview.cpp \
|
||||
qlistview.cpp \
|
||||
qbsptree.cpp \
|
||||
qtableview.cpp \
|
||||
qtreeview.cpp \
|
||||
qabstractitemdelegate.cpp \
|
||||
qitemdelegate.cpp \
|
||||
qdirmodel.cpp \
|
||||
qlistwidget.cpp \
|
||||
qtablewidget.cpp \
|
||||
qtreewidget.cpp \
|
||||
qitemeditorfactory.cpp \
|
||||
qtreewidgetitemiterator.cpp \
|
||||
qdatawidgetmapper.cpp \
|
||||
qfileiconprovider.cpp \
|
||||
qcolumnview.cpp \
|
||||
qcolumnviewgrip.cpp \
|
||||
qstyleditemdelegate.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 \
|
||||
qcolormap.cpp \
|
||||
qcompleter.cpp \
|
||||
qscroller.cpp \
|
||||
qscrollerproperties.cpp \
|
||||
qflickgesture.cpp \
|
||||
qundogroup.cpp \
|
||||
qundostack.cpp \
|
||||
qundoview.cpp \
|
||||
qsystemtrayicon_qpa.cpp \
|
||||
qguistatemachine.cpp \
|
||||
qkeyeventtransition.cpp \
|
||||
qmouseeventtransition.cpp \
|
||||
qbasickeyeventtransition.cpp \
|
||||
qbasicmouseeventtransition.cpp \
|
||||
qgraphicseffect.cpp \
|
||||
qpixmapfilter.cpp \
|
||||
qrc_qstyle.cpp \
|
||||
qrc_qmessagebox.cpp \
|
||||
moc_qboxlayout.cpp \
|
||||
moc_qdesktopwidget.cpp \
|
||||
moc_qformlayout.cpp \
|
||||
moc_qgridlayout.cpp \
|
||||
moc_qlayout.cpp \
|
||||
moc_qshortcut.cpp \
|
||||
moc_qsizepolicy.cpp \
|
||||
moc_qstackedlayout.cpp \
|
||||
moc_qdesktopwidget_qpa_p.cpp \
|
||||
moc_qwidgetwindow_qpa_p.cpp \
|
||||
moc_qwindowcontainer_p.cpp \
|
||||
moc_qstyle.cpp \
|
||||
moc_qstyleanimation_p.cpp \
|
||||
moc_qstyleplugin.cpp \
|
||||
moc_qproxystyle.cpp \
|
||||
moc_qwindowsstyle_p.cpp \
|
||||
moc_qfusionstyle_p.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_qmainwindow.cpp \
|
||||
moc_qmainwindowlayout_p.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_qwidgetresizehandler_p.cpp \
|
||||
moc_qfocusframe.cpp \
|
||||
moc_qscrollarea.cpp \
|
||||
moc_qwidgetanimator_p.cpp \
|
||||
moc_qwidgetlinecontrol_p.cpp \
|
||||
moc_qerrormessage.cpp \
|
||||
moc_qsidebar_p.cpp \
|
||||
moc_qfileinfogatherer_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_qcolumnviewgrip_p.cpp \
|
||||
moc_qgraphicsitemanimation.cpp \
|
||||
moc_qgraphicsscenelinearindex_p.cpp \
|
||||
moc_qgraphicswidget.cpp \
|
||||
moc_qgraphicsanchorlayout.cpp \
|
||||
moc_qcompleter_p.cpp \
|
||||
moc_qsystemtrayicon_p.cpp \
|
||||
moc_qscroller.cpp \
|
||||
moc_qscroller_p.cpp \
|
||||
moc_qflickgesture_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 \
|
||||
moc_qpixmapfilter_p.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtbase/src/widgets/dialogs \
|
||||
qtbase/src/widgets/effects \
|
||||
qtbase/src/widgets/graphicsview \
|
||||
qtbase/src/widgets/itemviews \
|
||||
qtbase/src/widgets/kernel \
|
||||
qtbase/src/widgets/statemachine \
|
||||
qtbase/src/widgets/styles \
|
||||
qtbase/src/widgets/util \
|
||||
qtbase/src/widgets/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 import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
moc_qaction.cpp \
|
||||
moc_qactiongroup.cpp \
|
||||
moc_qapplication.cpp \
|
||||
moc_qboxlayout.cpp \
|
||||
moc_qdesktopwidget.cpp \
|
||||
moc_qformlayout.cpp \
|
||||
moc_qgridlayout.cpp \
|
||||
moc_qlayout.cpp \
|
||||
moc_qshortcut.cpp \
|
||||
moc_qsizepolicy.cpp \
|
||||
moc_qstackedlayout.cpp \
|
||||
moc_qwidget.cpp \
|
||||
moc_qwidgetaction.cpp \
|
||||
moc_qgesture.cpp \
|
||||
moc_qgesturemanager_p.cpp \
|
||||
moc_qdesktopwidget_qpa_p.cpp \
|
||||
moc_qwidgetwindow_qpa_p.cpp \
|
||||
moc_qwindowcontainer_p.cpp \
|
||||
moc_qstyle.cpp \
|
||||
moc_qstyleanimation_p.cpp \
|
||||
moc_qstyleplugin.cpp \
|
||||
moc_qcommonstyle.cpp \
|
||||
moc_qproxystyle.cpp \
|
||||
moc_qstylesheetstyle_p.cpp \
|
||||
moc_qwindowsstyle_p.cpp \
|
||||
moc_qfusionstyle_p.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_qmainwindow.cpp \
|
||||
moc_qmainwindowlayout_p.cpp \
|
||||
moc_qmdiarea.cpp \
|
||||
moc_qmdisubwindow.cpp \
|
||||
moc_qmenu.cpp \
|
||||
moc_qmenubar.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_qabstractscrollarea.cpp \
|
||||
moc_qabstractscrollarea_p.cpp \
|
||||
moc_qwidgetresizehandler_p.cpp \
|
||||
moc_qfocusframe.cpp \
|
||||
moc_qscrollarea.cpp \
|
||||
moc_qwidgetanimator_p.cpp \
|
||||
moc_qwidgettextcontrol_p.cpp \
|
||||
moc_qwidgetlinecontrol_p.cpp \
|
||||
moc_qplaintextedit.cpp \
|
||||
moc_qplaintextedit_p.cpp \
|
||||
moc_qcolordialog.cpp \
|
||||
moc_qdialog.cpp \
|
||||
moc_qerrormessage.cpp \
|
||||
moc_qfiledialog.cpp \
|
||||
moc_qfontdialog.cpp \
|
||||
moc_qinputdialog.cpp \
|
||||
moc_qmessagebox.cpp \
|
||||
moc_qprogressdialog.cpp \
|
||||
moc_qsidebar_p.cpp \
|
||||
moc_qfilesystemmodel.cpp \
|
||||
moc_qfileinfogatherer_p.cpp \
|
||||
moc_qwizard.cpp \
|
||||
moc_qabstractitemview.cpp \
|
||||
moc_qheaderview.cpp \
|
||||
moc_qlistview.cpp \
|
||||
moc_qtableview.cpp \
|
||||
moc_qtreeview.cpp \
|
||||
moc_qabstractitemdelegate.cpp \
|
||||
moc_qitemdelegate.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_qitemeditorfactory_p.cpp \
|
||||
moc_qdatawidgetmapper.cpp \
|
||||
moc_qcolumnviewgrip_p.cpp \
|
||||
moc_qcolumnview.cpp \
|
||||
moc_qstyleditemdelegate.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_qscroller.cpp \
|
||||
moc_qscroller_p.cpp \
|
||||
moc_qflickgesture_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 \
|
||||
moc_qpixmapfilter_p.cpp
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
qtooltip.moc \
|
||||
qwhatsthis.moc \
|
||||
qcalendarwidget.moc \
|
||||
qdockwidget.moc \
|
||||
qeffects.moc \
|
||||
qfontcombobox.moc \
|
||||
qmdisubwindow.moc \
|
||||
qmenu.moc \
|
||||
qtoolbox.moc \
|
||||
qcolordialog.moc \
|
||||
qfontdialog.moc \
|
||||
qinputdialog.moc \
|
||||
qmessagebox.moc \
|
||||
qtableview.moc \
|
||||
qlistwidget.moc \
|
||||
qitemeditorfactory.moc \
|
||||
qundoview.moc
|
||||
|
17
libports/lib/mk/qt5_wtf.mk
Normal file
17
libports/lib/mk/qt5_wtf.mk
Normal file
@ -0,0 +1,17 @@
|
||||
include $(REP_DIR)/lib/import/import-qt5_wtf.mk
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
# use default warning level to avoid noise when compiling contrib code
|
||||
CC_WARN =
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_wtf_generated.inc
|
||||
|
||||
# remove unneeded files to prevent moc warnings
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
LIBS += qt5_core icu
|
98
libports/lib/mk/qt5_wtf_generated.inc
Normal file
98
libports/lib/mk/qt5_wtf_generated.inc
Normal file
@ -0,0 +1,98 @@
|
||||
QT_DEFINES += -DQT_NO_LIBUDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DBUILDING_QT__=1 -DNDEBUG -DENABLE_3D_RENDERING=1 -DENABLE_BLOB=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_CSS_BOX_DECORATION_BREAK=1 -DENABLE_CSS_COMPOSITING=1 -DENABLE_CSS_EXCLUSIONS=1 -DENABLE_CSS_FILTERS=1 -DENABLE_CSS_IMAGE_SET=1 -DENABLE_CSS_REGIONS=1 -DENABLE_CSS_STICKY_POSITION=1 -DENABLE_DATALIST_ELEMENT=1 -DENABLE_DETAILS_ELEMENT=1 -DENABLE_FAST_MOBILE_SCROLLING=1 -DENABLE_FILTERS=1 -DENABLE_FTPDIR=1 -DENABLE_GESTURE_EVENTS=1 -DENABLE_ICONDATABASE=1 -DENABLE_IFRAME_SEAMLESS=1 -DENABLE_INPUT_TYPE_COLOR=1 -DENABLE_INSPECTOR=1 -DENABLE_INSPECTOR_SERVER=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_LEGACY_NOTIFICATIONS=1 -DENABLE_LEGACY_VIEWPORT_ADAPTION=1 -DENABLE_LEGACY_VENDOR_PREFIXES=1 -DENABLE_LINK_PREFETCH=1 -DENABLE_METER_ELEMENT=1 -DENABLE_MHTML=1 -DENABLE_MUTATION_OBSERVERS=1 -DENABLE_NOTIFICATIONS=1 -DENABLE_PAGE_VISIBILITY_API=1 -DENABLE_PROGRESS_ELEMENT=1 -DENABLE_RESOLUTION_MEDIA_QUERY=1 -DENABLE_REQUEST_ANIMATION_FRAME=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_SMOOTH_SCROLLING=1 -DENABLE_SQL_DATABASE=1 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_TOUCH_ADJUSTMENT=1 -DENABLE_TOUCH_EVENTS=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_WEB_TIMING=1 -DENABLE_WORKERS=1 -DENABLE_XHR_TIMEOUT=1 -DWTF_USE_TILED_BACKING_STORE=1 -DHAVE_QTPRINTSUPPORT=1 -DHAVE_QSTYLE=1 -DHAVE_QTTESTLIB=1 -DWTF_USE_LIBJPEG=1 -DWTF_USE_LIBPNG=1 -DPLUGIN_ARCHITECTURE_UNSUPPORTED=1 -DENABLE_TOUCH_SLIDER=1 -DENABLE_ACCELERATED_2D_CANVAS=0 -DENABLE_ANIMATION_API=0 -DENABLE_BATTERY_STATUS=0 -DENABLE_CSP_NEXT=0 -DENABLE_CSS_GRID_LAYOUT=0 -DENABLE_CSS_HIERARCHIES=0 -DENABLE_CSS_IMAGE_ORIENTATION=0 -DENABLE_CSS_IMAGE_RESOLUTION=0 -DENABLE_CSS_SHADERS=0 -DENABLE_CSS_VARIABLES=0 -DENABLE_CSS3_BACKGROUND=0 -DENABLE_CSS3_CONDITIONAL_RULES=0 -DENABLE_CSS3_TEXT=0 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_DATAGRID=0 -DENABLE_DATA_TRANSFER_ITEMS=0 -DENABLE_DEVICE_ORIENTATION=0 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_DOWNLOAD_ATTRIBUTE=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_FULLSCREEN_API=0 -DENABLE_GAMEPAD=0 -DENABLE_GEOLOCATION=0 -DENABLE_HIGH_DPI_CANVAS=0 -DENABLE_INDEXED_DATABASE=0 -DENABLE_INPUT_SPEECH=0 -DENABLE_INPUT_TYPE_DATE=0 -DENABLE_INPUT_TYPE_DATETIME=0 -DENABLE_INPUT_TYPE_DATETIMELOCAL=0 -DENABLE_INPUT_TYPE_MONTH=0 -DENABLE_INPUT_TYPE_TIME=0 -DENABLE_INPUT_TYPE_WEEK=0 -DENABLE_LEGACY_CSS_VENDOR_PREFIXES=0 -DENABLE_LINK_PRERENDER=0 -DENABLE_MATHML=0 -DENABLE_MEDIA_SOURCE=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_MEDIA_STREAM=0 -DENABLE_MICRODATA=0 -DENABLE_NAVIGATOR_CONTENT_UTILS=0 -DENABLE_NETSCAPE_PLUGIN_API=0 -DENABLE_NETWORK_INFO=0 -DENABLE_ORIENTATION_EVENTS=0 -DENABLE_PROXIMITY_EVENTS=0 -DENABLE_QUOTA=0 -DENABLE_SCRIPTED_SPEECH=0 -DENABLE_SHADOW_DOM=0 -DENABLE_STYLE_SCOPED=0 -DENABLE_SVG_DOM_OBJC_BINDINGS=0 -DENABLE_TEXT_AUTOSIZING=0 -DENABLE_TEXT_NOTIFICATIONS_ONLY=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_VIBRATION=0 -DENABLE_VIDEO=0 -DENABLE_VIDEO_TRACK=0 -DENABLE_WEBGL=0 -DENABLE_WEB_AUDIO=0 -DENABLE_XSLT=0 -DBUILDING_WTF -DBUILDING_WEBKIT -DQT_ASCII_CAST_WARNINGS -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtbase/include \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/mkspecs/genode-g++ \
|
||||
qtwebkit/Source \
|
||||
qtwebkit/Source/WTF \
|
||||
qtwebkit/Source/WTF/wtf \
|
||||
|
||||
QT_SOURCES += \
|
||||
ArrayBuffer.cpp \
|
||||
ArrayBufferView.cpp \
|
||||
Assertions.cpp \
|
||||
Atomics.cpp \
|
||||
BitVector.cpp \
|
||||
CryptographicallyRandomNumber.cpp \
|
||||
CurrentTime.cpp \
|
||||
DateMath.cpp \
|
||||
DataLog.cpp \
|
||||
DecimalNumber.cpp \
|
||||
dtoa.cpp \
|
||||
bignum-dtoa.cc \
|
||||
bignum.cc \
|
||||
cached-powers.cc \
|
||||
diy-fp.cc \
|
||||
double-conversion.cc \
|
||||
fast-dtoa.cc \
|
||||
fixed-dtoa.cc \
|
||||
strtod.cc \
|
||||
FastMalloc.cpp \
|
||||
FilePrintStream.cpp \
|
||||
GregorianDateTime.cpp \
|
||||
GOwnPtr.cpp \
|
||||
GRefPtr.cpp \
|
||||
HashTable.cpp \
|
||||
MD5.cpp \
|
||||
MainThread.cpp \
|
||||
MediaTime.cpp \
|
||||
MemoryInstrumentation.cpp \
|
||||
MetaAllocator.cpp \
|
||||
NullPtr.cpp \
|
||||
NumberOfCores.cpp \
|
||||
RAMSize.cpp \
|
||||
OSRandomSource.cpp \
|
||||
MainThreadQt.cpp \
|
||||
StringQt.cpp \
|
||||
PageAllocationAligned.cpp \
|
||||
PageBlock.cpp \
|
||||
ParallelJobsGeneric.cpp \
|
||||
PrintStream.cpp \
|
||||
RandomNumber.cpp \
|
||||
RefCountedLeakCounter.cpp \
|
||||
SHA1.cpp \
|
||||
StackBounds.cpp \
|
||||
StringPrintStream.cpp \
|
||||
TCSystemAlloc.cpp \
|
||||
Threading.cpp \
|
||||
TypeTraits.cpp \
|
||||
WTFThreadData.cpp \
|
||||
AtomicString.cpp \
|
||||
Base64.cpp \
|
||||
CString.cpp \
|
||||
StringBuilder.cpp \
|
||||
StringImpl.cpp \
|
||||
StringStatics.cpp \
|
||||
WTFString.cpp \
|
||||
CollatorDefault.cpp \
|
||||
CollatorICU.cpp \
|
||||
UTF8.cpp \
|
||||
OSAllocatorPosix.cpp \
|
||||
ThreadIdentifierDataPthreads.cpp \
|
||||
ThreadingPthreads.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtwebkit/Source/WTF/wtf \
|
||||
qtwebkit/Source/WTF/wtf/dtoa \
|
||||
qtwebkit/Source/WTF/wtf/gobject \
|
||||
qtwebkit/Source/WTF/wtf/qt \
|
||||
qtwebkit/Source/WTF/wtf/text \
|
||||
qtwebkit/Source/WTF/wtf/unicode \
|
||||
qtwebkit/Source/WTF/wtf/unicode/icu \
|
||||
|
||||
# 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 import-qt5.inc)
|
||||
# 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 import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
MainThreadQt.moc
|
||||
|
12
libports/lib/mk/qt5_xml.mk
Normal file
12
libports/lib/mk/qt5_xml.mk
Normal file
@ -0,0 +1,12 @@
|
||||
include $(REP_DIR)/lib/import/import-qt5_xml.mk
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_xml_generated.inc
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
INC_DIR += $(REP_DIR)/include/qt5/qtbase/QtXml/private \
|
||||
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtCore/$(QT_VERSION)/QtCore \
|
||||
|
||||
LIBS += qt5_core libc
|
36
libports/lib/mk/qt5_xml_generated.inc
Normal file
36
libports/lib/mk/qt5_xml_generated.inc
Normal file
@ -0,0 +1,36 @@
|
||||
QT_DEFINES += -DQT_NO_LIBUDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_NO_USING_NAMESPACE -DQT_BUILD_XML_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtbase/include \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/include/QtCore/5.1.0 \
|
||||
qtbase/include/QtCore/5.1.0/QtCore \
|
||||
qtbase/include/QtXml \
|
||||
qtbase/include/QtXml/5.1.0 \
|
||||
qtbase/include/QtXml/5.1.0/QtXml \
|
||||
qtbase/mkspecs/genode-g++ \
|
||||
qtbase/src/xml \
|
||||
|
||||
QT_SOURCES += \
|
||||
qdom.cpp \
|
||||
qxml.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtbase/src/xml/dom \
|
||||
qtbase/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 import-qt5.inc)
|
||||
# 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 import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
|
||||
|
731
libports/ports/qt5.mk
Normal file
731
libports/ports/qt5.mk
Normal file
@ -0,0 +1,731 @@
|
||||
#
|
||||
# \brief Download and prepare Qt4 source code
|
||||
# \author Christian Prochaska
|
||||
# \author Norman Feske
|
||||
# \date 2009-05-11
|
||||
#
|
||||
|
||||
REP_DIR := $(realpath .)
|
||||
include $(REP_DIR)/lib/mk/qt5_version.inc
|
||||
|
||||
QT5_URL = http://download.qt-project.org/official_releases/qt/5.1/$(QT_VERSION)/single
|
||||
QT5_TGZ = $(QT5).tar.gz
|
||||
QT5_MD5 = 787ce18c7f47fc14538b4362a0aa9edd
|
||||
|
||||
QTSCRIPTCLASSIC_URL = http://ftp.heanet.ie/mirrors/ftp.trolltech.com/pub/qt/solutions/lgpl
|
||||
QTSCRIPTCLASSIC = qtscriptclassic-1.0_1-opensource
|
||||
QTSCRIPTCLASSIC_TGZ = $(QTSCRIPTCLASSIC).tar.gz
|
||||
QTSCRIPTCLASSIC_MD5 = a835edfa9de2206ebfaebcb1267453bf
|
||||
|
||||
#
|
||||
# Interface to top-level prepare Makefile
|
||||
#
|
||||
PORTS += qt5
|
||||
|
||||
prepare-qt5: $(CONTRIB_DIR)/$(QT5) \
|
||||
$(CONTRIB_DIR)/$(QTSCRIPTCLASSIC) \
|
||||
tools \
|
||||
$(REP_DIR)/src/lib/qt5/qtwebkit/Source/JavaScriptCore/generated/generated.tag \
|
||||
$(REP_DIR)/src/lib/qt5/qtwebkit/Source/WebCore/generated/generated.tag
|
||||
|
||||
#
|
||||
# Port-specific local rules
|
||||
#
|
||||
PATCHES_DIR = src/lib/qt5/patches
|
||||
PATCHES = $(shell cat $(PATCHES_DIR)/series)
|
||||
|
||||
$(call check_tool,wget)
|
||||
$(call check_tool,patch)
|
||||
$(call check_tool,bison)
|
||||
$(call check_tool,perl)
|
||||
$(call check_tool,python)
|
||||
$(call check_tool,sed)
|
||||
$(call check_tool,gperf)
|
||||
|
||||
$(DOWNLOAD_DIR)/$(QT5_TGZ):
|
||||
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(QT5_URL)/$(QT5_TGZ) && touch $@
|
||||
|
||||
$(DOWNLOAD_DIR)/$(QT5_TGZ).verified: $(DOWNLOAD_DIR)/$(QT5_TGZ)
|
||||
$(VERBOSE)$(HASHVERIFIER) $(DOWNLOAD_DIR)/$(QT5_TGZ) $(QT5_MD5) md5
|
||||
$(VERBOSE)touch $@
|
||||
|
||||
$(DOWNLOAD_DIR)/$(QTSCRIPTCLASSIC_TGZ): $(DOWNLOAD_DIR)
|
||||
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(QTSCRIPTCLASSIC_URL)/$(QTSCRIPTCLASSIC_TGZ) && touch $@
|
||||
|
||||
$(DOWNLOAD_DIR)/$(QTSCRIPTCLASSIC_TGZ).verified: $(DOWNLOAD_DIR)/$(QTSCRIPTCLASSIC_TGZ)
|
||||
$(VERBOSE)$(HASHVERIFIER) $(DOWNLOAD_DIR)/$(QTSCRIPTCLASSIC_TGZ) $(QTSCRIPTCLASSIC_MD5) md5
|
||||
$(VERBOSE)touch $@
|
||||
|
||||
$(CONTRIB_DIR)/$(QT5): $(DOWNLOAD_DIR)/$(QT5_TGZ).verified
|
||||
$(VERBOSE)tar xzf $(DOWNLOAD_DIR)/$(QT5_TGZ) -C $(CONTRIB_DIR)
|
||||
$(VERBOSE)touch $(CONTRIB_DIR)/$(QT5)
|
||||
$(VERBOSE)for p in $(PATCHES); do \
|
||||
patch -d $(CONTRIB_DIR)/$(QT5) -p1 -i ../../$(PATCHES_DIR)/$$p; done
|
||||
|
||||
$(CONTRIB_DIR)/$(QTSCRIPTCLASSIC): $(DOWNLOAD_DIR)/$(QTSCRIPTCLASSIC_TGZ).verified
|
||||
$(VERBOSE)tar xzf $(DOWNLOAD_DIR)/$(QTSCRIPTCLASSIC_TGZ) -C $(CONTRIB_DIR)
|
||||
$(VERBOSE)touch $(CONTRIB_DIR)/$(QTSCRIPTCLASSIC)
|
||||
$(VERBOSE)patch -d $(CONTRIB_DIR)/$(QTSCRIPTCLASSIC) -p1 -i ../../$(PATCHES_DIR)/qtscriptclassic_qt5.patch
|
||||
|
||||
#
|
||||
# generated files
|
||||
#
|
||||
# some of the following lines have been extracted from Makefiles (and modified afterwards), that's why they can be quite long
|
||||
#
|
||||
|
||||
JAVASCRIPTCORE_DIR = $(CONTRIB_DIR)/$(QT5)/qtwebkit/Source/JavaScriptCore
|
||||
|
||||
$(REP_DIR)/src/lib/qt5/qtwebkit/Source/JavaScriptCore/generated/generated.tag:
|
||||
|
||||
$(VERBOSE)mkdir -p $(dir $@)
|
||||
|
||||
@# create_hash_table
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/runtime/ArrayConstructor.cpp -i > $(dir $@)/ArrayConstructor.lut.h
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/runtime/ArrayPrototype.cpp -i > $(dir $@)/ArrayPrototype.lut.h
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/runtime/BooleanPrototype.cpp -i > $(dir $@)/BooleanPrototype.lut.h
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/runtime/DateConstructor.cpp -i > $(dir $@)/DateConstructor.lut.h
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/runtime/DatePrototype.cpp -i > $(dir $@)/DatePrototype.lut.h
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/runtime/ErrorPrototype.cpp -i > $(dir $@)/ErrorPrototype.lut.h
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/runtime/JSGlobalObject.cpp -i > $(dir $@)/JSGlobalObject.lut.h
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/runtime/JSONObject.cpp -i > $(dir $@)/JSONObject.lut.h
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/runtime/MathObject.cpp -i > $(dir $@)/MathObject.lut.h
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/runtime/NamePrototype.cpp -i > $(dir $@)/NamePrototype.lut.h
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/runtime/NumberConstructor.cpp -i > $(dir $@)/NumberConstructor.lut.h
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/runtime/NumberPrototype.cpp -i > $(dir $@)/NumberPrototype.lut.h
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/runtime/ObjectConstructor.cpp -i > $(dir $@)/ObjectConstructor.lut.h
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/runtime/ObjectPrototype.cpp -i > $(dir $@)/ObjectPrototype.lut.h
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/runtime/RegExpConstructor.cpp -i > $(dir $@)/RegExpConstructor.lut.h
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/runtime/RegExpObject.cpp -i > $(dir $@)/RegExpObject.lut.h
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/runtime/RegExpPrototype.cpp -i > $(dir $@)/RegExpPrototype.lut.h
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/runtime/StringConstructor.cpp -i > $(dir $@)/StringConstructor.lut.h
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/runtime/StringPrototype.cpp -i > $(dir $@)/StringPrototype.lut.h
|
||||
$(VERBOSE)perl $(JAVASCRIPTCORE_DIR)/create_hash_table $(JAVASCRIPTCORE_DIR)/parser/Keywords.table -i > $(dir $@)/Lexer.lut.h
|
||||
|
||||
@# KeywordLookupGenerator.py
|
||||
$(VERBOSE)python $(JAVASCRIPTCORE_DIR)/KeywordLookupGenerator.py $(JAVASCRIPTCORE_DIR)/parser/Keywords.table > $(dir $@)/KeywordLookup.h
|
||||
|
||||
@# create_regex_tables
|
||||
$(VERBOSE)python $(JAVASCRIPTCORE_DIR)/create_regex_tables > $(dir $@)/RegExpJitTables.h
|
||||
|
||||
$(VERBOSE)touch $@
|
||||
|
||||
|
||||
# command names used by some of the extracted generator commands
|
||||
DEL_FILE := rm
|
||||
MOVE := mv
|
||||
|
||||
QT_DEFINES = "LANGUAGE_JAVASCRIPT=1 ENABLE_3D_RENDERING=1 ENABLE_BLOB=1 ENABLE_CHANNEL_MESSAGING=1 ENABLE_CSS_BOX_DECORATION_BREAK=1 ENABLE_CSS_COMPOSITING=1 ENABLE_CSS_EXCLUSIONS=1 ENABLE_CSS_FILTERS=1 ENABLE_CSS_IMAGE_SET=1 ENABLE_CSS_REGIONS=1 ENABLE_CSS_STICKY_POSITION=1 ENABLE_DATALIST_ELEMENT=1 ENABLE_DETAILS_ELEMENT=1 ENABLE_FAST_MOBILE_SCROLLING=1 ENABLE_FILTERS=1 ENABLE_FTPDIR=1 ENABLE_GESTURE_EVENTS=1 ENABLE_ICONDATABASE=1 ENABLE_IFRAME_SEAMLESS=1 ENABLE_INPUT_TYPE_COLOR=1 ENABLE_INSPECTOR=1 ENABLE_INSPECTOR_SERVER=1 ENABLE_JAVASCRIPT_DEBUGGER=1 ENABLE_LEGACY_NOTIFICATIONS=1 ENABLE_LEGACY_VIEWPORT_ADAPTION=1 ENABLE_LEGACY_VENDOR_PREFIXES=1 ENABLE_LINK_PREFETCH=1 ENABLE_METER_ELEMENT=1 ENABLE_MHTML=1 ENABLE_MUTATION_OBSERVERS=1 ENABLE_NOTIFICATIONS=1 ENABLE_PAGE_VISIBILITY_API=1 ENABLE_PROGRESS_ELEMENT=1 ENABLE_RESOLUTION_MEDIA_QUERY=1 ENABLE_REQUEST_ANIMATION_FRAME=1 ENABLE_SHARED_WORKERS=1 ENABLE_SMOOTH_SCROLLING=1 ENABLE_SQL_DATABASE=1 ENABLE_SVG=1 ENABLE_SVG_FONTS=1 ENABLE_TOUCH_ADJUSTMENT=1 ENABLE_TOUCH_EVENTS=1 ENABLE_WEB_SOCKETS=1 ENABLE_WEB_TIMING=1 ENABLE_WORKERS=1 ENABLE_XHR_TIMEOUT=1 ENABLE_TOUCH_SLIDER=1 ENABLE_ACCELERATED_2D_CANVAS=0 ENABLE_ANIMATION_API=0 ENABLE_BATTERY_STATUS=0 ENABLE_CSP_NEXT=0 ENABLE_CSS_GRID_LAYOUT=0 ENABLE_CSS_HIERARCHIES=0 ENABLE_CSS_IMAGE_ORIENTATION=0 ENABLE_CSS_IMAGE_RESOLUTION=0 ENABLE_CSS_SHADERS=0 ENABLE_CSS_VARIABLES=0 ENABLE_CSS3_BACKGROUND=0 ENABLE_CSS3_CONDITIONAL_RULES=0 ENABLE_CSS3_TEXT=0 ENABLE_DASHBOARD_SUPPORT=0 ENABLE_DATAGRID=0 ENABLE_DATA_TRANSFER_ITEMS=0 ENABLE_DEVICE_ORIENTATION=0 ENABLE_DIRECTORY_UPLOAD=0 ENABLE_DOWNLOAD_ATTRIBUTE=0 ENABLE_FILE_SYSTEM=0 ENABLE_FULLSCREEN_API=0 ENABLE_GAMEPAD=0 ENABLE_GEOLOCATION=0 ENABLE_HIGH_DPI_CANVAS=0 ENABLE_INDEXED_DATABASE=0 ENABLE_INPUT_SPEECH=0 ENABLE_INPUT_TYPE_DATE=0 ENABLE_INPUT_TYPE_DATETIME=0 ENABLE_INPUT_TYPE_DATETIMELOCAL=0 ENABLE_INPUT_TYPE_MONTH=0 ENABLE_INPUT_TYPE_TIME=0 ENABLE_INPUT_TYPE_WEEK=0 ENABLE_LEGACY_CSS_VENDOR_PREFIXES=0 ENABLE_LINK_PRERENDER=0 ENABLE_MATHML=0 ENABLE_MEDIA_SOURCE=0 ENABLE_MEDIA_STATISTICS=0 ENABLE_MEDIA_STREAM=0 ENABLE_MICRODATA=0 ENABLE_NAVIGATOR_CONTENT_UTILS=0 ENABLE_NETSCAPE_PLUGIN_API=0 ENABLE_NETWORK_INFO=0 ENABLE_ORIENTATION_EVENTS=0 ENABLE_PROXIMITY_EVENTS=0 ENABLE_QUOTA=0 ENABLE_SCRIPTED_SPEECH=0 ENABLE_SHADOW_DOM=0 ENABLE_STYLE_SCOPED=0 ENABLE_SVG_DOM_OBJC_BINDINGS=0 ENABLE_TEXT_AUTOSIZING=0 ENABLE_TEXT_NOTIFICATIONS_ONLY=0 ENABLE_TOUCH_ICON_LOADING=0 ENABLE_VIBRATION=0 ENABLE_VIDEO=0 ENABLE_VIDEO_TRACK=0 ENABLE_WEBGL=0 ENABLE_WEB_AUDIO=0 ENABLE_XSLT=0"
|
||||
QT_EXTRA_DEFINES = "QT_NO_LIBUDEV QT_NO_XCB QT_NO_XKBCOMMON ENABLE_3D_RENDERING=1 ENABLE_BLOB=1 ENABLE_CHANNEL_MESSAGING=1 ENABLE_CSS_BOX_DECORATION_BREAK=1 ENABLE_CSS_COMPOSITING=1 ENABLE_CSS_EXCLUSIONS=1 ENABLE_CSS_FILTERS=1 ENABLE_CSS_IMAGE_SET=1 ENABLE_CSS_REGIONS=1 ENABLE_CSS_STICKY_POSITION=1 ENABLE_DATALIST_ELEMENT=1 ENABLE_DETAILS_ELEMENT=1 ENABLE_FAST_MOBILE_SCROLLING=1 ENABLE_FILTERS=1 ENABLE_FTPDIR=1 ENABLE_GESTURE_EVENTS=1 ENABLE_ICONDATABASE=1 ENABLE_IFRAME_SEAMLESS=1 ENABLE_INPUT_TYPE_COLOR=1 ENABLE_INSPECTOR=1 ENABLE_INSPECTOR_SERVER=1 ENABLE_JAVASCRIPT_DEBUGGER=1 ENABLE_LEGACY_NOTIFICATIONS=1 ENABLE_LEGACY_VIEWPORT_ADAPTION=1 ENABLE_LEGACY_VENDOR_PREFIXES=1 ENABLE_LINK_PREFETCH=1 ENABLE_METER_ELEMENT=1 ENABLE_MHTML=1 ENABLE_MUTATION_OBSERVERS=1 ENABLE_NOTIFICATIONS=1 ENABLE_PAGE_VISIBILITY_API=1 ENABLE_PROGRESS_ELEMENT=1 ENABLE_RESOLUTION_MEDIA_QUERY=1 ENABLE_REQUEST_ANIMATION_FRAME=1 ENABLE_SHARED_WORKERS=1 ENABLE_SMOOTH_SCROLLING=1 ENABLE_SQL_DATABASE=1 ENABLE_SVG=1 ENABLE_SVG_FONTS=1 ENABLE_TOUCH_ADJUSTMENT=1 ENABLE_TOUCH_EVENTS=1 ENABLE_WEB_SOCKETS=1 ENABLE_WEB_TIMING=1 ENABLE_WORKERS=1 ENABLE_XHR_TIMEOUT=1 WTF_USE_TILED_BACKING_STORE=1 HAVE_QTPRINTSUPPORT=1 HAVE_QSTYLE=1 HAVE_QTTESTLIB=1 WTF_USE_LIBJPEG=1 WTF_USE_LIBPNG=1 PLUGIN_ARCHITECTURE_UNSUPPORTED=1 ENABLE_TOUCH_SLIDER=1 ENABLE_ACCELERATED_2D_CANVAS=0 ENABLE_ANIMATION_API=0 ENABLE_BATTERY_STATUS=0 ENABLE_CSP_NEXT=0 ENABLE_CSS_GRID_LAYOUT=0 ENABLE_CSS_HIERARCHIES=0 ENABLE_CSS_IMAGE_ORIENTATION=0 ENABLE_CSS_IMAGE_RESOLUTION=0 ENABLE_CSS_SHADERS=0 ENABLE_CSS_VARIABLES=0 ENABLE_CSS3_BACKGROUND=0 ENABLE_CSS3_CONDITIONAL_RULES=0 ENABLE_CSS3_TEXT=0 ENABLE_DASHBOARD_SUPPORT=0 ENABLE_DATAGRID=0 ENABLE_DATA_TRANSFER_ITEMS=0 ENABLE_DEVICE_ORIENTATION=0 ENABLE_DIRECTORY_UPLOAD=0 ENABLE_DOWNLOAD_ATTRIBUTE=0 ENABLE_FILE_SYSTEM=0 ENABLE_FULLSCREEN_API=0 ENABLE_GAMEPAD=0 ENABLE_GEOLOCATION=0 ENABLE_HIGH_DPI_CANVAS=0 ENABLE_INDEXED_DATABASE=0 ENABLE_INPUT_SPEECH=0 ENABLE_INPUT_TYPE_DATE=0 ENABLE_INPUT_TYPE_DATETIME=0 ENABLE_INPUT_TYPE_DATETIMELOCAL=0 ENABLE_INPUT_TYPE_MONTH=0 ENABLE_INPUT_TYPE_TIME=0 ENABLE_INPUT_TYPE_WEEK=0 ENABLE_LEGACY_CSS_VENDOR_PREFIXES=0 ENABLE_LINK_PRERENDER=0 ENABLE_MATHML=0 ENABLE_MEDIA_SOURCE=0 ENABLE_MEDIA_STATISTICS=0 ENABLE_MEDIA_STREAM=0 ENABLE_MICRODATA=0 ENABLE_NAVIGATOR_CONTENT_UTILS=0 ENABLE_NETSCAPE_PLUGIN_API=0 ENABLE_NETWORK_INFO=0 ENABLE_ORIENTATION_EVENTS=0 ENABLE_PROXIMITY_EVENTS=0 ENABLE_QUOTA=0 ENABLE_SCRIPTED_SPEECH=0 ENABLE_SHADOW_DOM=0 ENABLE_STYLE_SCOPED=0 ENABLE_SVG_DOM_OBJC_BINDINGS=0 ENABLE_TEXT_AUTOSIZING=0 ENABLE_TEXT_NOTIFICATIONS_ONLY=0 ENABLE_TOUCH_ICON_LOADING=0 ENABLE_VIBRATION=0 ENABLE_VIDEO=0 ENABLE_VIDEO_TRACK=0 ENABLE_WEBGL=0 ENABLE_WEB_AUDIO=0 ENABLE_XSLT=0"
|
||||
GENERATE_BINDINGS_PL = $(VERBOSE)export "SOURCE_ROOT=$(WEBCORE_DIR)" && perl -I$(WEBCORE_DIR)/bindings/scripts $(WEBCORE_DIR)/bindings/scripts/generate-bindings.pl --defines $(QT_DEFINES) --generator JS --include Modules/filesystem --include Modules/geolocation --include Modules/indexeddb --include Modules/mediasource --include Modules/notifications --include Modules/quota --include Modules/webaudio --include Modules/webdatabase --include Modules/websockets --include css --include dom --include editing --include fileapi --include html --include html/canvas --include html/shadow --include html/track --include inspector --include loader/appcache --include page --include plugins --include storage --include svg --include testing --include workers --include xml --outputDir $(dir $@) --supplementalDependencyFile $(dir $@)/supplemental_dependency.tmp --preprocessor "$(REP_DIR)/tool/qt5/moc/moc -E"
|
||||
# the absolute path is needed for makeprop.pl
|
||||
WEBCORE_DIR = $(REP_DIR)/$(CONTRIB_DIR)/$(QT5)/qtwebkit/Source/WebCore
|
||||
|
||||
$(REP_DIR)/src/lib/qt5/qtwebkit/Source/WebCore/generated/generated.tag:
|
||||
|
||||
$(VERBOSE)mkdir -p $(dir $@)
|
||||
|
||||
$(VERBOSE)bison -d -p xpathyy $(WEBCORE_DIR)/xml/XPathGrammar.y -o $(dir $@)/XPathGrammar.tab.c && $(MOVE) $(dir $@)/XPathGrammar.tab.c $(dir $@)/XPathGrammar.cpp && $(MOVE) $(dir $@)/XPathGrammar.tab.h $(dir $@)/XPathGrammar.h
|
||||
|
||||
@# preprocess-idls.pl
|
||||
$(VERBOSE)sed -e "s,^,$(CONTRIB_DIR)/$(QT5)/,g" $(dir $@)/../idl_files > $(dir $@)/idl_files.tmp
|
||||
$(VERBOSE)touch $(dir $@)/supplemental_dependency.tmp
|
||||
$(VERBOSE)export "CONTRIB_DIR=$(CONTRIB_DIR)" && export "QT5=$(QT5)" && perl -I$(WEBCORE_DIR)/bindings/scripts $(WEBCORE_DIR)/bindings/scripts/preprocess-idls.pl --defines $(QT_DEFINES) --idlFilesList $(dir $@)/idl_files.tmp --supplementalDependencyFile $(dir $@)/supplemental_dependency.tmp --idlAttributesFile $(WEBCORE_DIR)/bindings/scripts/IDLAttributes.txt --preprocessor "$(REP_DIR)/tool/qt5/moc/moc -E"
|
||||
|
||||
@# generate-bindings.pl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/DOMFileSystem.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/DOMFileSystemSync.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/DOMWindowFileSystem.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/DirectoryEntry.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/DirectoryEntrySync.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/DirectoryReader.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/DirectoryReaderSync.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/EntriesCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/Entry.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/EntryArray.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/EntryArraySync.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/EntryCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/EntrySync.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/ErrorCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/FileCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/FileEntry.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/FileEntrySync.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/FileSystemCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/FileWriter.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/FileWriterCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/Metadata.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/MetadataCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/filesystem/WorkerContextFileSystem.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/geolocation/Geolocation.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/geolocation/Geoposition.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/geolocation/NavigatorGeolocation.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/geolocation/PositionCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/geolocation/PositionError.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/geolocation/PositionErrorCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/indexeddb/DOMWindowIndexedDatabase.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/indexeddb/IDBAny.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/indexeddb/IDBCursor.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/indexeddb/IDBDatabaseException.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/indexeddb/IDBDatabase.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/indexeddb/IDBFactory.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/indexeddb/IDBIndex.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/indexeddb/IDBKey.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/indexeddb/IDBKeyRange.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/indexeddb/IDBObjectStore.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/indexeddb/IDBRequest.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/indexeddb/IDBTransaction.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/indexeddb/WorkerContextIndexedDatabase.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/notifications/DOMWindowNotifications.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/notifications/Notification.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/notifications/NotificationCenter.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/notifications/NotificationPermissionCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/notifications/WorkerContextNotifications.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/quota/DOMWindowQuota.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/quota/StorageInfo.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/quota/StorageInfoErrorCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/quota/StorageInfoQuotaCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/quota/StorageInfoUsageCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/AudioBuffer.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/AudioBufferCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/AudioBufferSourceNode.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/ChannelMergerNode.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/ChannelSplitterNode.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/AudioContext.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/AudioDestinationNode.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/AudioGain.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/GainNode.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/AudioListener.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/AudioNode.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/PannerNode.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/AudioParam.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/AudioProcessingEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/AudioSourceNode.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/BiquadFilterNode.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/ConvolverNode.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/DelayNode.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/DOMWindowWebAudio.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/DynamicsCompressorNode.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/ScriptProcessorNode.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/MediaElementAudioSourceNode.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/MediaStreamAudioSourceNode.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/OfflineAudioCompletionEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/OscillatorNode.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/AnalyserNode.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/WaveShaperNode.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webaudio/WaveTable.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webdatabase/DOMWindowWebDatabase.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webdatabase/Database.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webdatabase/DatabaseCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webdatabase/DatabaseSync.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webdatabase/SQLError.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webdatabase/SQLException.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webdatabase/SQLResultSet.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webdatabase/SQLResultSetRowList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webdatabase/SQLStatementCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webdatabase/SQLStatementErrorCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webdatabase/SQLTransaction.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webdatabase/SQLTransactionCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webdatabase/SQLTransactionErrorCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webdatabase/SQLTransactionSync.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webdatabase/SQLTransactionSyncCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/webdatabase/WorkerContextWebDatabase.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/websockets/CloseEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/websockets/DOMWindowWebSocket.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/websockets/WebSocket.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/Modules/websockets/WorkerContextWebSocket.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/Counter.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/CSSCharsetRule.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/CSSFontFaceRule.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/CSSImportRule.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/CSSMediaRule.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/CSSPageRule.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/CSSPrimitiveValue.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/CSSRule.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/CSSRuleList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/CSSStyleDeclaration.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/CSSStyleRule.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/CSSStyleSheet.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/CSSValue.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/CSSValueList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/MediaList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/MediaQueryList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/Rect.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/RGBColor.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/StyleMedia.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/StyleSheet.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/StyleSheetList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/WebKitCSSFilterValue.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/WebKitCSSKeyframeRule.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/WebKitCSSKeyframesRule.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/WebKitCSSMatrix.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/WebKitCSSMixFunctionValue.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/WebKitCSSRegionRule.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/WebKitCSSTransformValue.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/css/WebKitCSSViewportRule.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/Attr.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/BeforeLoadEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/CharacterData.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/ClientRect.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/ClientRectList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/Clipboard.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/CDATASection.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/Comment.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/CompositionEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/CustomEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/DataTransferItem.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/DataTransferItemList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/DeviceMotionEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/DeviceOrientationEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/DocumentFragment.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/Document.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/DocumentType.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/DOMCoreException.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/DOMError.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/DOMImplementation.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/DOMStringList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/DOMStringMap.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/Element.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/Entity.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/EntityReference.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/ErrorEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/Event.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/EventException.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/EventTarget.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/HashChangeEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/KeyboardEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/MouseEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/MessageChannel.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/MessageEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/MessagePort.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/MutationCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/MutationEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/MutationObserver.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/MutationRecord.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/NamedNodeMap.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/Node.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/NodeFilter.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/NodeIterator.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/NodeList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/Notation.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/OverflowEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/PageTransitionEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/PopStateEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/ProcessingInstruction.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/ProgressEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/PropertyNodeList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/RangeException.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/Range.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/RequestAnimationFrameCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/ShadowRoot.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/StringCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/Text.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/TextEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/Touch.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/TouchEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/TouchList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/TreeWalker.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/UIEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/WebKitAnimationEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/WebKitNamedFlow.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/DOMNamedFlowCollection.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/WebKitTransitionEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/dom/WheelEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/fileapi/Blob.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/fileapi/File.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/fileapi/FileError.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/fileapi/FileException.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/fileapi/FileList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/fileapi/FileReader.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/fileapi/FileReaderSync.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/ArrayBufferView.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/ArrayBuffer.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/DataView.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/Int8Array.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/Float32Array.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/Float64Array.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/CanvasGradient.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/Int32Array.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/CanvasPattern.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/CanvasRenderingContext.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/CanvasRenderingContext2D.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/EXTTextureFilterAnisotropic.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/OESStandardDerivatives.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/OESTextureFloat.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/OESVertexArrayObject.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/OESElementIndexUint.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/WebGLActiveInfo.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/WebGLBuffer.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/WebGLCompressedTextureS3TC.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/WebGLContextAttributes.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/WebGLContextEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/WebGLDebugRendererInfo.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/WebGLDebugShaders.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/WebGLDepthTexture.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/WebGLFramebuffer.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/WebGLLoseContext.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/WebGLProgram.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/WebGLRenderbuffer.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/WebGLRenderingContext.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/WebGLShader.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/WebGLShaderPrecisionFormat.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/Int16Array.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/WebGLTexture.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/WebGLUniformLocation.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/WebGLVertexArrayObjectOES.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/Uint8Array.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/Uint8ClampedArray.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/Uint32Array.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/canvas/Uint16Array.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/DOMFormData.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/DOMSettableTokenList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/DOMTokenList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/DOMURL.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLAllCollection.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLAudioElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLAnchorElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLAppletElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLAreaElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLBaseElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLBaseFontElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLBodyElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLBRElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLButtonElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLCanvasElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLCollection.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLDataListElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLDetailsElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLDialogElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLDirectoryElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLDivElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLDListElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLDocument.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLEmbedElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLFieldSetElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLFontElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLFormControlsCollection.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLFormElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLFrameElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLFrameSetElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLHeadElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLHeadingElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLHRElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLHtmlElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLIFrameElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLImageElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLInputElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLKeygenElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLLabelElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLLegendElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLLIElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLLinkElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLMapElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLMarqueeElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLMediaElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLMenuElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLMetaElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLMeterElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLModElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLObjectElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLOListElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLOptGroupElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLOptionElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLOptionsCollection.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLOutputElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLParagraphElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLParamElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLPreElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLProgressElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLPropertiesCollection.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLQuoteElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLScriptElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLSelectElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLSourceElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLSpanElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLStyleElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLTableCaptionElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLTableCellElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLTableColElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLTableElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLTableRowElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLTableSectionElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLTextAreaElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLTitleElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLTrackElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLUListElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLUnknownElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/HTMLVideoElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/ImageData.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/MediaController.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/MediaError.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/MicroDataItemValue.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/RadioNodeList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/TextMetrics.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/TimeRanges.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/ValidityState.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/VoidCallback.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/shadow/HTMLContentElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/html/shadow/HTMLShadowElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/inspector/InjectedScriptHost.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/inspector/InspectorFrontendHost.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/inspector/JavaScriptCallFrame.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/inspector/ScriptProfile.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/inspector/ScriptProfileNode.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/loader/appcache/DOMApplicationCache.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/BarInfo.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/Console.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/Coordinates.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/Crypto.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/DOMSecurityPolicy.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/DOMSelection.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/DOMWindow.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/EventSource.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/History.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/Location.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/MemoryInfo.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/Navigator.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/Performance.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/PerformanceEntry.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/PerformanceEntryList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/PerformanceNavigation.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/PerformanceResourceTiming.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/PerformanceTiming.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/Screen.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/SpeechInputEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/SpeechInputResult.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/SpeechInputResultList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/WebKitAnimation.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/WebKitAnimationList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/WebKitPoint.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/page/WorkerNavigator.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/plugins/DOMPlugin.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/plugins/DOMMimeType.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/plugins/DOMPluginArray.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/plugins/DOMMimeTypeArray.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/storage/Storage.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/storage/StorageEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/testing/Internals.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/testing/InternalSettings.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/testing/MallocStatistics.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/workers/AbstractWorker.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/workers/DedicatedWorkerContext.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/workers/SharedWorker.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/workers/SharedWorkerContext.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/workers/Worker.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/workers/WorkerContext.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/workers/WorkerLocation.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/xml/DOMParser.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/xml/XMLHttpRequest.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/xml/XMLHttpRequestException.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/xml/XMLHttpRequestProgressEvent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/xml/XMLHttpRequestUpload.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/xml/XMLSerializer.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/xml/XPathNSResolver.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/xml/XPathException.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/xml/XPathExpression.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/xml/XPathResult.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/xml/XPathEvaluator.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/xml/XSLTProcessor.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAltGlyphDefElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAltGlyphElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAltGlyphItemElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAngle.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAnimateColorElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAnimateMotionElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAnimatedAngle.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAnimatedBoolean.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAnimatedEnumeration.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAnimatedInteger.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAnimatedLength.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAnimatedLengthList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAnimatedNumber.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAnimatedNumberList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAnimatedPreserveAspectRatio.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAnimatedRect.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAnimatedString.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAnimatedTransformList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAnimateElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAnimateTransformElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGAnimationElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGCircleElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGClipPathElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGColor.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGComponentTransferFunctionElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGCursorElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGDefsElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGDescElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGDocument.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGElementInstance.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGElementInstanceList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGEllipseElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGException.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEBlendElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEColorMatrixElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEComponentTransferElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFECompositeElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEConvolveMatrixElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEDiffuseLightingElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEDisplacementMapElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEDistantLightElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEDropShadowElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEFloodElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEFuncAElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEFuncBElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEFuncGElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEFuncRElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEGaussianBlurElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEImageElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEMergeElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEMergeNodeElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEMorphologyElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEOffsetElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFEPointLightElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFESpecularLightingElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFESpotLightElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFETileElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFETurbulenceElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFilterElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFontElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFontFaceElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFontFaceFormatElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFontFaceNameElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFontFaceSrcElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGFontFaceUriElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGForeignObjectElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGGElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGGlyphElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGGlyphRefElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGGradientElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGHKernElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGImageElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGLength.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGLengthList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGLinearGradientElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGLineElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGMarkerElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGMaskElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGMatrix.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGMetadataElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGMissingGlyphElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGMPathElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGNumber.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGNumberList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPaint.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegArcAbs.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegArcRel.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegClosePath.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegCurvetoCubicAbs.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegCurvetoCubicRel.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegCurvetoCubicSmoothAbs.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegCurvetoCubicSmoothRel.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegCurvetoQuadraticAbs.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegCurvetoQuadraticRel.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegCurvetoQuadraticSmoothRel.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSeg.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegLinetoAbs.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegLinetoHorizontalAbs.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegLinetoHorizontalRel.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegLinetoRel.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegLinetoVerticalAbs.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegLinetoVerticalRel.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegMovetoAbs.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPathSegMovetoRel.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPatternElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPoint.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPointList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPolygonElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPolylineElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGPreserveAspectRatio.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGRadialGradientElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGRectElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGRect.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGRenderingIntent.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGScriptElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGSetElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGStopElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGStringList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGStyleElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGSVGElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGSwitchElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGSymbolElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGTextContentElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGTextElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGTextPathElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGTextPositioningElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGTitleElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGTransform.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGTransformList.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGTRefElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGTSpanElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGUnitTypes.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGUseElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGViewElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGVKernElement.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGViewSpec.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGZoomAndPan.idl
|
||||
$(GENERATE_BINDINGS_PL) $(WEBCORE_DIR)/svg/SVGZoomEvent.idl
|
||||
|
||||
@# generate-webkit-version.pl
|
||||
$(VERBOSE)perl $(WEBCORE_DIR)/../WebKit/scripts/generate-webkitversion.pl --config $(WEBCORE_DIR)/../WebKit/mac/Configurations/Version.xcconfig --outputDir $(dir $@)/
|
||||
|
||||
@# make-css-file-arrays.pl
|
||||
$(VERBOSE)perl $(WEBCORE_DIR)/css/make-css-file-arrays.pl $(dir $@)/UserAgentStyleSheets.h $(dir $@)/UserAgentStyleSheetsData.cpp $(WEBCORE_DIR)/css/html.css $(WEBCORE_DIR)/css/quirks.css $(WEBCORE_DIR)/css/mathml.css $(WEBCORE_DIR)/css/svg.css $(WEBCORE_DIR)/css/view-source.css $(WEBCORE_DIR)/css/fullscreen.css $(WEBCORE_DIR)/css/mediaControls.css $(WEBCORE_DIR)/css/mediaControlsQt.css $(WEBCORE_DIR)/css/mediaControlsQtFullscreen.css $(WEBCORE_DIR)/css/themeQtNoListboxes.css $(WEBCORE_DIR)/css/mobileThemeQt.css
|
||||
|
||||
@# make-dom-exceptions.pl
|
||||
$(VERBOSE)perl -I$(WEBCORE_DIR)/bindings/scripts $(WEBCORE_DIR)/dom/make_dom_exceptions.pl --input $(WEBCORE_DIR)/dom/DOMExceptions.in --outputDir $(dir $@)
|
||||
|
||||
@# make_event_factory.pl
|
||||
$(VERBOSE)perl -I$(WEBCORE_DIR)/bindings/scripts $(WEBCORE_DIR)/dom/make_event_factory.pl --input $(WEBCORE_DIR)/dom/EventNames.in --outputDir $(dir $@)
|
||||
$(VERBOSE)perl -I$(WEBCORE_DIR)/bindings/scripts $(WEBCORE_DIR)/dom/make_event_factory.pl --input $(WEBCORE_DIR)/dom/EventTargetFactory.in --outputDir $(dir $@)
|
||||
|
||||
@# make-hash-tools.pl
|
||||
$(VERBOSE)perl $(WEBCORE_DIR)/make-hash-tools.pl $(dir $@) $(WEBCORE_DIR)/platform/ColorData.gperf
|
||||
|
||||
@# make_names.pl
|
||||
$(VERBOSE)perl -I$(WEBCORE_DIR)/bindings/scripts $(WEBCORE_DIR)/dom/make_names.pl --tags $(WEBCORE_DIR)/mathml/mathtags.in --attrs $(WEBCORE_DIR)/mathml/mathattrs.in --extraDefines $(QT_EXTRA_DEFINES) --preprocessor "$(REP_DIR)/tool/qt5/moc/moc -E" --factory --wrapperFactory --outputDir $(dir $@)
|
||||
$(VERBOSE)perl -I$(WEBCORE_DIR)/bindings/scripts $(WEBCORE_DIR)/dom/make_names.pl --tags $(WEBCORE_DIR)/html/HTMLTagNames.in --attrs $(WEBCORE_DIR)/html/HTMLAttributeNames.in --extraDefines $(QT_EXTRA_DEFINES) --preprocessor "$(REP_DIR)/tool/qt5/moc/moc -E" --factory --wrapperFactory --outputDir $(dir $@)
|
||||
$(VERBOSE)perl -I$(WEBCORE_DIR)/bindings/scripts $(WEBCORE_DIR)/dom/make_names.pl --fonts $(WEBCORE_DIR)/css/WebKitFontFamilyNames.in --outputDir $(dir $@)
|
||||
$(VERBOSE)perl -I$(WEBCORE_DIR)/bindings/scripts $(WEBCORE_DIR)/dom/make_names.pl --tags $(WEBCORE_DIR)/svg/svgtags.in --attrs $(WEBCORE_DIR)/svg/svgattrs.in --extraDefines $(QT_EXTRA_DEFINES) --preprocessor "$(REP_DIR)/tool/qt5/moc/moc -E" --factory --wrapperFactory --outputDir $(dir $@)
|
||||
$(VERBOSE)perl -I$(WEBCORE_DIR)/bindings/scripts $(WEBCORE_DIR)/dom/make_names.pl --attrs $(WEBCORE_DIR)/xml/xmlnsattrs.in --preprocessor "$(REP_DIR)/tool/qt5/moc/moc -E" --outputDir $(dir $@)
|
||||
$(VERBOSE)perl -I$(WEBCORE_DIR)/bindings/scripts $(WEBCORE_DIR)/dom/make_names.pl --attrs $(WEBCORE_DIR)/svg/xlinkattrs.in --preprocessor "$(REP_DIR)/tool/qt5/moc/moc -E" --outputDir $(dir $@)
|
||||
$(VERBOSE)perl -I$(WEBCORE_DIR)/bindings/scripts $(WEBCORE_DIR)/dom/make_names.pl --attrs $(WEBCORE_DIR)/xml/xmlattrs.in --preprocessor "$(REP_DIR)/tool/qt5/moc/moc -E" --outputDir $(dir $@)
|
||||
|
||||
@# make_settings.pl
|
||||
$(VERBOSE)perl -I$(WEBCORE_DIR)/bindings/scripts $(WEBCORE_DIR)/page/make_settings.pl --input $(WEBCORE_DIR)/page/Settings.in --outputDir $(dir $@)
|
||||
|
||||
@# makeprop.pl
|
||||
$(VERBOSE)perl -ne "print $1" $(WEBCORE_DIR)/css/CSSPropertyNames.in $(WEBCORE_DIR)/css/SVGCSSPropertyNames.in > $(dir $@)/CSSPropertyNames.in && cd $(dir $@) && perl -I$(WEBCORE_DIR)/bindings/scripts $(WEBCORE_DIR)/css/makeprop.pl --defines $(QT_DEFINES) --preprocessor "$(REP_DIR)/tool/qt5/moc/moc -E" $(WEBCORE_DIR)/css/CSSPropertyNames.in && $(DEL_FILE) CSSPropertyNames.in CSSPropertyNames.gperf
|
||||
|
||||
@# makegrammar.pl
|
||||
$(VERBOSE)perl -I $(WEBCORE_DIR)/bindings/scripts $(WEBCORE_DIR)/css/makegrammar.pl --outputDir $(dir $@) --extraDefines $(QT_EXTRA_DEFINES) --preprocessor "$(REP_DIR)/tool/qt5/moc/moc -E" --symbolsPrefix cssyy $(WEBCORE_DIR)/css/CSSGrammar.y.in
|
||||
|
||||
@# makevalues.pl
|
||||
$(VERBOSE)perl -ne "print $1" $(WEBCORE_DIR)/css/CSSValueKeywords.in $(WEBCORE_DIR)/css/SVGCSSValueKeywords.in > $(dir $@)/CSSValueKeywords.in && cd $(dir $@) && perl -I$(WEBCORE_DIR)/bindings/scripts $(WEBCORE_DIR)/css/makevalues.pl --defines $(QT_DEFINES) --preprocessor "$(REP_DIR)/tool/qt5/moc/moc -E" $(WEBCORE_DIR)/css/CSSValueKeywords.in && $(DEL_FILE) CSSValueKeywords.in CSSValueKeywords.gperf
|
||||
|
||||
@# xxd.pl
|
||||
$(VERBOSE)perl $(WEBCORE_DIR)/inspector/xxd.pl InspectorOverlayPage_html $(WEBCORE_DIR)/inspector/InspectorOverlayPage.html $(dir $@)/InspectorOverlayPage.h
|
||||
$(VERBOSE)perl $(WEBCORE_DIR)/inspector/xxd.pl InjectedScriptSource_js $(WEBCORE_DIR)/inspector/InjectedScriptSource.js $(dir $@)/InjectedScriptSource.h
|
||||
$(VERBOSE)perl $(WEBCORE_DIR)/inspector/xxd.pl InjectedScriptCanvasModuleSource_js $(WEBCORE_DIR)/inspector/InjectedScriptCanvasModuleSource.js $(dir $@)/InjectedScriptCanvasModuleSource.h
|
||||
|
||||
@# CodeGeneratorInspector.py
|
||||
$(VERBOSE)python $(WEBCORE_DIR)/inspector/CodeGeneratorInspector.py $(WEBCORE_DIR)/inspector/Inspector.json --output_h_dir $(dir $@) --output_cpp_dir $(dir $@)
|
||||
|
||||
@# create-html-entity-table
|
||||
$(VERBOSE)python $(WEBCORE_DIR)/html/parser/create-html-entity-table -o $(dir $@)/HTMLEntityTable.cpp $(WEBCORE_DIR)/html/parser/HTMLEntityNames.in
|
||||
|
||||
$(VERBOSE)touch $@
|
||||
|
||||
|
||||
tools:
|
||||
$(VERBOSE)make -C tool/qt5
|
||||
|
||||
clean-qt5:
|
||||
$(VERBOSE)make -C tool/qt5 clean
|
||||
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(QT5)
|
||||
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(QTSCRIPTCLASSIC)
|
||||
$(VERBOSE)rm -rf $(REP_DIR)/src/lib/qt5/qtwebkit/Source/JavaScriptCore
|
||||
$(VERBOSE)rm -rf $(REP_DIR)/src/lib/qt5/qtwebkit/Source/WebCore/generated
|
136
libports/run/qt5.run
Normal file
136
libports/run/qt5.run
Normal file
@ -0,0 +1,136 @@
|
||||
#
|
||||
# Build
|
||||
#
|
||||
|
||||
build {
|
||||
core
|
||||
init
|
||||
drivers/input/ps2
|
||||
drivers/pci
|
||||
drivers/framebuffer
|
||||
drivers/timer
|
||||
server/nitpicker
|
||||
server/liquid_framebuffer
|
||||
app/qt5/qt_launchpad
|
||||
app/qt5/examples/textedit
|
||||
app/qt5/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="qt_launchpad">
|
||||
<resource name="RAM" quantum="80M"/>
|
||||
</start>
|
||||
</config>
|
||||
}
|
||||
|
||||
install_config $config
|
||||
|
||||
#
|
||||
# Boot modules
|
||||
#
|
||||
|
||||
# generic modules
|
||||
set boot_modules {
|
||||
core
|
||||
init
|
||||
timer
|
||||
nitpicker
|
||||
liquid_fb
|
||||
qt_launchpad
|
||||
freetype.lib.so
|
||||
icu.lib.so
|
||||
ld.lib.so
|
||||
libc.lib.so
|
||||
libc_log.lib.so
|
||||
libc_lock_pipe.lib.so
|
||||
libm.lib.so
|
||||
libpng.lib.so
|
||||
jpeg.lib.so
|
||||
pthread.lib.so
|
||||
qt5_core.lib.so
|
||||
qt5_dejavusans.lib.so
|
||||
qt5_gui.lib.so
|
||||
qt5_widgets.lib.so
|
||||
qt5_xml.lib.so
|
||||
qt5_scriptclassic.lib.so
|
||||
qt5_ui_tools.lib.so
|
||||
zlib.lib.so
|
||||
stdcxx.lib.so
|
||||
textedit
|
||||
tetrix
|
||||
}
|
||||
|
||||
|
||||
# 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
|
||||
|
160
libports/run/qt5_avplay.run
Normal file
160
libports/run/qt5_avplay.run
Normal file
@ -0,0 +1,160 @@
|
||||
#
|
||||
# Build
|
||||
#
|
||||
|
||||
build {
|
||||
core
|
||||
init
|
||||
drivers/input/ps2
|
||||
drivers/pci
|
||||
drivers/framebuffer
|
||||
drivers/timer
|
||||
drivers/oss
|
||||
server/nitpicker
|
||||
server/liquid_framebuffer
|
||||
app/avplay
|
||||
app/qt5/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="oss_drv">
|
||||
<resource name="RAM" quantum="4M"/>
|
||||
<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
|
||||
oss_drv
|
||||
nitpicker
|
||||
liquid_fb
|
||||
qt_avplay
|
||||
freetype.lib.so
|
||||
icu.lib.so
|
||||
ld.lib.so
|
||||
libc.lib.so
|
||||
libc_log.lib.so
|
||||
libc_lock_pipe.lib.so
|
||||
libm.lib.so
|
||||
libpng.lib.so
|
||||
jpeg.lib.so
|
||||
pthread.lib.so
|
||||
qt5_core.lib.so
|
||||
qt5_dejavusans.lib.so
|
||||
qt5_gui.lib.so
|
||||
qt5_qnitpickerviewwidget.lib.so
|
||||
qt5_widgets.lib.so
|
||||
qt5_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
|
||||
libc_log.lib.so
|
||||
libc_rom.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 768 -soundhw all"
|
||||
|
||||
run_genode_until forever
|
||||
|
127
libports/run/qt5_calculatorform.run
Normal file
127
libports/run/qt5_calculatorform.run
Normal file
@ -0,0 +1,127 @@
|
||||
#
|
||||
# Build
|
||||
#
|
||||
|
||||
build {
|
||||
core
|
||||
init
|
||||
drivers/input/ps2
|
||||
drivers/pci
|
||||
drivers/framebuffer
|
||||
drivers/timer
|
||||
server/nitpicker
|
||||
server/liquid_framebuffer
|
||||
app/qt5/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
|
||||
liquid_fb
|
||||
calculatorform
|
||||
freetype.lib.so
|
||||
icu.lib.so
|
||||
ld.lib.so
|
||||
libc.lib.so
|
||||
libc_log.lib.so
|
||||
libc_lock_pipe.lib.so
|
||||
libm.lib.so
|
||||
libpng.lib.so
|
||||
jpeg.lib.so
|
||||
pthread.lib.so
|
||||
qt5_core.lib.so
|
||||
qt5_dejavusans.lib.so
|
||||
qt5_gui.lib.so
|
||||
qt5_widgets.lib.so
|
||||
qt5_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
|
137
libports/run/qt5_previewer.run
Normal file
137
libports/run/qt5_previewer.run
Normal file
@ -0,0 +1,137 @@
|
||||
#
|
||||
# Build
|
||||
#
|
||||
|
||||
build {
|
||||
core
|
||||
init
|
||||
drivers/input/ps2
|
||||
drivers/pci
|
||||
drivers/framebuffer
|
||||
drivers/timer
|
||||
server/nitpicker
|
||||
server/liquid_framebuffer
|
||||
app/qt5/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="2G"/>
|
||||
</start>
|
||||
</config>
|
||||
}
|
||||
|
||||
install_config $config
|
||||
|
||||
#
|
||||
# Boot modules
|
||||
#
|
||||
|
||||
# generic modules
|
||||
set boot_modules {
|
||||
core
|
||||
init
|
||||
timer
|
||||
nitpicker
|
||||
liquid_fb
|
||||
previewer
|
||||
freetype.lib.so
|
||||
icu.lib.so
|
||||
ld.lib.so
|
||||
libc.lib.so
|
||||
libc_log.lib.so
|
||||
libc_lock_pipe.lib.so
|
||||
libm.lib.so
|
||||
libpng.lib.so
|
||||
jpeg.lib.so
|
||||
libcrypto.lib.so
|
||||
libssl.lib.so
|
||||
pthread.lib.so
|
||||
qt5_core.lib.so
|
||||
qt5_dejavusans.lib.so
|
||||
qt5_gui.lib.so
|
||||
qt5_jscore.lib.so
|
||||
qt5_network.lib.so
|
||||
qt5_printsupport.lib.so
|
||||
qt5_sql.lib.so
|
||||
qt5_webcore.lib.so
|
||||
qt5_webkit.lib.so
|
||||
qt5_webkitwidgets.lib.so
|
||||
qt5_widgets.lib.so
|
||||
qt5_wtf.lib.so
|
||||
qt5_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 256"
|
||||
|
||||
run_genode_until forever
|
145
libports/run/qt5_qpluginwidget.run
Normal file
145
libports/run/qt5_qpluginwidget.run
Normal file
@ -0,0 +1,145 @@
|
||||
#
|
||||
# Build
|
||||
#
|
||||
|
||||
build {
|
||||
core
|
||||
init
|
||||
drivers/input/ps2
|
||||
drivers/pci
|
||||
drivers/framebuffer
|
||||
drivers/timer
|
||||
server/nitpicker
|
||||
server/liquid_framebuffer
|
||||
server/loader
|
||||
server/tar_rom
|
||||
test/nitpicker
|
||||
test/qt5/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/qt5/qpluginwidget/test-plugin.tar bin/"
|
||||
|
||||
# generic modules
|
||||
set boot_modules {
|
||||
core
|
||||
init
|
||||
timer
|
||||
nitpicker
|
||||
liquid_fb
|
||||
loader
|
||||
tar_rom
|
||||
testnit
|
||||
test-qpluginwidget
|
||||
freetype.lib.so
|
||||
icu.lib.so
|
||||
ld.lib.so
|
||||
libc.lib.so
|
||||
libc_log.lib.so
|
||||
libc_lock_pipe.lib.so
|
||||
libcrypto.lib.so
|
||||
libm.lib.so
|
||||
libpng.lib.so
|
||||
libssl.lib.so
|
||||
jpeg.lib.so
|
||||
pthread.lib.so
|
||||
qt5_core.lib.so
|
||||
qt5_dejavusans.lib.so
|
||||
qt5_gui.lib.so
|
||||
qt5_qnitpickerviewwidget.lib.so
|
||||
qt5_qpluginwidget.lib.so
|
||||
qt5_widgets.lib.so
|
||||
qt5_xml.lib.so
|
||||
qt5_network.lib.so
|
||||
zlib.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
|
131
libports/run/qt5_tetrix.run
Normal file
131
libports/run/qt5_tetrix.run
Normal file
@ -0,0 +1,131 @@
|
||||
#
|
||||
# Build
|
||||
#
|
||||
|
||||
build {
|
||||
core
|
||||
init
|
||||
drivers/input/ps2
|
||||
drivers/pci
|
||||
drivers/framebuffer
|
||||
drivers/timer
|
||||
server/nitpicker
|
||||
server/nit_fb
|
||||
server/liquid_framebuffer
|
||||
app/qt5/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
|
||||
nit_fb
|
||||
liquid_fb
|
||||
tetrix
|
||||
freetype.lib.so
|
||||
icu.lib.so
|
||||
ld.lib.so
|
||||
libc.lib.so
|
||||
libc_log.lib.so
|
||||
libc_lock_pipe.lib.so
|
||||
libm.lib.so
|
||||
libpng.lib.so
|
||||
jpeg.lib.so
|
||||
pthread.lib.so
|
||||
qt5_core.lib.so
|
||||
qt5_dejavusans.lib.so
|
||||
qt5_gui.lib.so
|
||||
qt5_widgets.lib.so
|
||||
qt5_scriptclassic.lib.so
|
||||
qt5_ui_tools.lib.so
|
||||
qt5_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
|
185
libports/run/qt5_textedit.run
Normal file
185
libports/run/qt5_textedit.run
Normal file
@ -0,0 +1,185 @@
|
||||
#
|
||||
# Build
|
||||
#
|
||||
|
||||
set build_components {
|
||||
core
|
||||
init
|
||||
drivers/atapi
|
||||
drivers/framebuffer
|
||||
drivers/timer
|
||||
server/ffat_fs
|
||||
server/nitpicker
|
||||
server/liquid_framebuffer
|
||||
app/qt5/examples/textedit
|
||||
}
|
||||
|
||||
set use_sd_card_driver [expr [have_spec omap4] || [have_spec exynos5]]
|
||||
set use_usb_driver [expr [have_spec omap4] || [have_spec exynos5]]
|
||||
|
||||
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 acpi] build_components drivers/acpi
|
||||
lappend_if [have_spec ps2] build_components drivers/input/ps2
|
||||
|
||||
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 [expr [have_spec pl180] || [have_spec omap4]] 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 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="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>
|
||||
<start name="textedit">
|
||||
<resource name="RAM" quantum="70M"/>
|
||||
<config xpos="3" ypos="0" width="500" height="710"/>
|
||||
</start>
|
||||
<start name="textedit2">
|
||||
<binary name="textedit" />
|
||||
<resource name="RAM" quantum="70M"/>
|
||||
<config xpos="512" ypos="0" width="500" height="710"/>
|
||||
</start>
|
||||
</config>
|
||||
}
|
||||
|
||||
install_config $config
|
||||
|
||||
#
|
||||
# Boot modules
|
||||
#
|
||||
|
||||
# generic modules
|
||||
set boot_modules {
|
||||
core
|
||||
init
|
||||
timer
|
||||
nitpicker
|
||||
liquid_fb
|
||||
ffat_fs
|
||||
textedit
|
||||
freetype.lib.so
|
||||
icu.lib.so
|
||||
ld.lib.so
|
||||
libc.lib.so
|
||||
libc_log.lib.so
|
||||
libc_lock_pipe.lib.so
|
||||
libc_fs.lib.so
|
||||
libm.lib.so
|
||||
libpng.lib.so
|
||||
jpeg.lib.so
|
||||
pthread.lib.so
|
||||
qt5_core.lib.so
|
||||
qt5_dejavusans.lib.so
|
||||
qt5_gui.lib.so
|
||||
qt5_widgets.lib.so
|
||||
qt5_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 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
|
||||
|
||||
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 256"
|
||||
|
||||
run_genode_until forever
|
14
libports/src/app/qt5/examples/calculatorform/target.mk
Normal file
14
libports/src/app/qt5/examples/calculatorform/target.mk
Normal file
@ -0,0 +1,14 @@
|
||||
# identify the qt4 repository by searching for a file that is unique for qt4
|
||||
QT5_REP_DIR := $(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
QT5_REP_DIR := $(realpath $(dir $(QT5_REP_DIR))../..)
|
||||
|
||||
include $(QT5_REP_DIR)/lib/mk/qt5_version.inc
|
||||
|
||||
QMAKE_PROJECT_PATH = $(realpath $(QT5_REP_DIR)/contrib/$(QT5)/qttools/examples/designer/calculatorform)
|
||||
QMAKE_PROJECT_FILE = $(QMAKE_PROJECT_PATH)/calculatorform.pro
|
||||
|
||||
vpath % $(QMAKE_PROJECT_PATH)
|
||||
|
||||
include $(QT5_REP_DIR)/src/app/qt5/tmpl/target_defaults.inc
|
||||
|
||||
include $(QT5_REP_DIR)/src/app/qt5/tmpl/target_final.inc
|
14
libports/src/app/qt5/examples/previewer/target.mk
Normal file
14
libports/src/app/qt5/examples/previewer/target.mk
Normal file
@ -0,0 +1,14 @@
|
||||
# identify the qt4 repository by searching for a file that is unique for qt4
|
||||
QT5_REP_DIR := $(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
QT5_REP_DIR := $(realpath $(dir $(QT5_REP_DIR))../..)
|
||||
|
||||
include $(QT5_REP_DIR)/lib/mk/qt5_version.inc
|
||||
|
||||
QMAKE_PROJECT_PATH = $(realpath $(QT5_REP_DIR)/contrib/$(QT5)/qtwebkit-examples/examples/webkitwidgets/previewer)
|
||||
QMAKE_PROJECT_FILE = $(QMAKE_PROJECT_PATH)/previewer.pro
|
||||
|
||||
vpath % $(QMAKE_PROJECT_PATH)
|
||||
|
||||
include $(QT5_REP_DIR)/src/app/qt5/tmpl/target_defaults.inc
|
||||
|
||||
include $(QT5_REP_DIR)/src/app/qt5/tmpl/target_final.inc
|
16
libports/src/app/qt5/examples/tetrix/target.mk
Normal file
16
libports/src/app/qt5/examples/tetrix/target.mk
Normal file
@ -0,0 +1,16 @@
|
||||
# identify the qt5 repository by searching for a file that is unique for qt5
|
||||
QT5_REP_DIR := $(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
QT5_REP_DIR := $(realpath $(dir $(QT5_REP_DIR))../..)
|
||||
|
||||
include $(QT5_REP_DIR)/lib/mk/qt5_version.inc
|
||||
|
||||
QMAKE_PROJECT_PATH = $(realpath $(QT5_REP_DIR)/contrib/$(QT5)/qtscript/examples/script/qstetrix)
|
||||
QMAKE_PROJECT_FILE = $(QMAKE_PROJECT_PATH)/qstetrix.pro
|
||||
|
||||
vpath % $(QMAKE_PROJECT_PATH)
|
||||
|
||||
include $(QT5_REP_DIR)/src/app/qt5/tmpl/target_defaults.inc
|
||||
|
||||
CC_CXX_OPT += -DQT_NO_SCRIPTTOOLS
|
||||
|
||||
include $(QT5_REP_DIR)/src/app/qt5/tmpl/target_final.inc
|
16
libports/src/app/qt5/examples/textedit/target.mk
Normal file
16
libports/src/app/qt5/examples/textedit/target.mk
Normal file
@ -0,0 +1,16 @@
|
||||
# identify the qt4 repository by searching for a file that is unique for qt4
|
||||
QT5_REP_DIR := $(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
QT5_REP_DIR := $(realpath $(dir $(QT5_REP_DIR))../..)
|
||||
|
||||
include $(QT5_REP_DIR)/lib/mk/qt5_version.inc
|
||||
|
||||
QMAKE_PROJECT_PATH = $(realpath $(QT5_REP_DIR)/contrib/$(QT5)/qtbase/examples/widgets/richtext/textedit)
|
||||
QMAKE_PROJECT_FILE = $(QMAKE_PROJECT_PATH)/textedit.pro
|
||||
|
||||
vpath % $(QMAKE_PROJECT_PATH)
|
||||
|
||||
include $(QT5_REP_DIR)/src/app/qt5/tmpl/target_defaults.inc
|
||||
|
||||
include $(QT5_REP_DIR)/src/app/qt5/tmpl/target_final.inc
|
||||
|
||||
LIBS += libc_fs
|
18
libports/src/app/qt5/qt_avplay/README
Normal file
18
libports/src/app/qt5/qt_avplay/README
Normal file
@ -0,0 +1,18 @@
|
||||
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.
|
||||
|
115
libports/src/app/qt5/qt_avplay/avplay_policy.h
Normal file
115
libports/src/app/qt5/qt_avplay/avplay_policy.h
Normal file
@ -0,0 +1,115 @@
|
||||
/*
|
||||
* \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);
|
||||
|
||||
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_ */
|
73
libports/src/app/qt5/qt_avplay/control_bar.cpp
Normal file
73
libports/src/app/qt5/qt_avplay/control_bar.cpp
Normal file
@ -0,0 +1,73 @@
|
||||
/*
|
||||
* \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>
|
||||
|
||||
#include "input_service.h"
|
||||
#include "main_window.h"
|
||||
|
||||
|
||||
void Control_bar::_rewind()
|
||||
{
|
||||
/* mouse click at horizontal position 0 */
|
||||
ev_queue.add(Input::Event(Input::Event::PRESS, Input::BTN_LEFT, 0, 0, 0, 0));
|
||||
ev_queue.add(Input::Event(Input::Event::RELEASE, Input::BTN_LEFT, 0, 0, 0, 0));
|
||||
}
|
||||
|
||||
|
||||
void Control_bar::_pause_resume()
|
||||
{
|
||||
ev_queue.add(Input::Event(Input::Event::PRESS, Input::KEY_SPACE, 0, 0, 0, 0));
|
||||
ev_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()
|
||||
: _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)));
|
||||
}
|
59
libports/src/app/qt5/qt_avplay/control_bar.h
Normal file
59
libports/src/app/qt5/qt_avplay/control_bar.h
Normal file
@ -0,0 +1,59 @@
|
||||
/*
|
||||
* \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>
|
||||
#include <QtWidgets>
|
||||
|
||||
/* Qoost includes */
|
||||
#include <qoost/compound_widget.h>
|
||||
#include <qoost/qmember.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:
|
||||
|
||||
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();
|
||||
|
||||
Q_SIGNALS:
|
||||
|
||||
void volume_changed(int value);
|
||||
};
|
||||
|
||||
#endif /* _CONTROL_BAR_H_ */
|
77
libports/src/app/qt5/qt_avplay/filter_framebuffer_policy.h
Normal file
77
libports/src/app/qt5/qt_avplay/filter_framebuffer_policy.h
Normal file
@ -0,0 +1,77 @@
|
||||
/*
|
||||
* \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_ */
|
64
libports/src/app/qt5/qt_avplay/framebuffer_root.h
Normal file
64
libports/src/app/qt5/qt_avplay/framebuffer_root.h
Normal file
@ -0,0 +1,64 @@
|
||||
/*
|
||||
* \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_ */
|
@ -0,0 +1,86 @@
|
||||
/*
|
||||
* \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)
|
||||
: _nitpicker(Nitpicker::Connection(
|
||||
_limited_size(session_arg(args, "fb_width"), max_width),
|
||||
_limited_size(session_arg(args, "fb_height"), max_height))),
|
||||
_framebuffer(_nitpicker.framebuffer_session())
|
||||
{
|
||||
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();
|
||||
}
|
||||
|
||||
|
||||
void Session_component::release()
|
||||
{
|
||||
_framebuffer.release();
|
||||
}
|
||||
|
||||
|
||||
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::refresh(int x, int y, int w, int h)
|
||||
{
|
||||
_framebuffer.refresh(x, y, w, h);
|
||||
}
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
/*
|
||||
* \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();
|
||||
void release();
|
||||
Mode mode() const;
|
||||
void mode_sigh(Genode::Signal_context_capability sigh_cap);
|
||||
void refresh(int x, int y, int w, int h);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* _FRAMEBUFFER_SESSION_COMPONENT_H_ */
|
40
libports/src/app/qt5/qt_avplay/input_service.cpp
Normal file
40
libports/src/app/qt5/qt_avplay/input_service.cpp
Normal file
@ -0,0 +1,40 @@
|
||||
/*
|
||||
* \brief Input service
|
||||
* \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.
|
||||
*/
|
||||
|
||||
/* Genode includes */
|
||||
#include <input/component.h>
|
||||
|
||||
#include "input_service.h"
|
||||
|
||||
using namespace Genode;
|
||||
|
||||
Event_queue ev_queue;
|
||||
|
||||
|
||||
namespace Input {
|
||||
|
||||
/*
|
||||
* Event handling is disabled on queue creation and will be enabled later if a
|
||||
* session is created.
|
||||
*/
|
||||
void event_handling(bool enable)
|
||||
{
|
||||
if (enable)
|
||||
ev_queue.enable();
|
||||
else
|
||||
ev_queue.disable();
|
||||
}
|
||||
|
||||
bool event_pending() { return !ev_queue.empty(); }
|
||||
Event get_event() { return ev_queue.get(); }
|
||||
}
|
24
libports/src/app/qt5/qt_avplay/input_service.h
Normal file
24
libports/src/app/qt5/qt_avplay/input_service.h
Normal file
@ -0,0 +1,24 @@
|
||||
/*
|
||||
* \brief Input service
|
||||
* \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 _INPUT_SERVICE_H_
|
||||
#define _INPUT_SERVICE_H_
|
||||
|
||||
/* Genode includes */
|
||||
#include <input/event_queue.h>
|
||||
|
||||
extern Event_queue ev_queue;
|
||||
|
||||
extern void create_input_service();
|
||||
|
||||
#endif /* _INPUT_SERVICE_H_ */
|
45
libports/src/app/qt5/qt_avplay/main.cpp
Normal file
45
libports/src/app/qt5/qt_avplay/main.cpp
Normal file
@ -0,0 +1,45 @@
|
||||
/*
|
||||
* \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"
|
||||
|
||||
|
||||
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();
|
||||
|
||||
QMember<Main_window> main_window;
|
||||
|
||||
main_window->show();
|
||||
|
||||
return app.exec();
|
||||
}
|
129
libports/src/app/qt5/qt_avplay/main_window.cpp
Normal file
129
libports/src/app/qt5/qt_avplay/main_window.cpp
Normal file
@ -0,0 +1,129 @@
|
||||
/*
|
||||
* \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.
|
||||
*/
|
||||
|
||||
/* Genode includes */
|
||||
#include <cap_session/connection.h>
|
||||
#include <input/component.h>
|
||||
#include <os/config.h>
|
||||
#include <rom_session/connection.h>
|
||||
|
||||
/* qt_avplay includes */
|
||||
#include "avplay_policy.h"
|
||||
#include "filter_framebuffer_policy.h"
|
||||
#include "framebuffer_root.h"
|
||||
#include "input_service.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()
|
||||
{
|
||||
/* look for dynamic linker */
|
||||
|
||||
try {
|
||||
static Rom_connection ldso_rom("ld.lib.so");
|
||||
Process::dynamic_linker(ldso_rom.dataspace());
|
||||
} catch (...) {
|
||||
PERR("ld.lib.so not found");
|
||||
}
|
||||
|
||||
/* get the name of the media file from the config file */
|
||||
enum { MAX_LEN_MEDIAFILE_NAME = 256 };
|
||||
static char mediafile[MAX_LEN_MEDIAFILE_NAME] = "mediafile";
|
||||
try {
|
||||
config()->xml_node().sub_node("mediafile").attribute("name").value(mediafile, sizeof(mediafile));
|
||||
} catch(...) {
|
||||
PWRN("no <mediafile> config node found, using \"mediafile\"");
|
||||
}
|
||||
|
||||
/* create local services */
|
||||
|
||||
enum { STACK_SIZE = 2*sizeof(addr_t)*1024 };
|
||||
static Cap_connection cap;
|
||||
static Rpc_entrypoint avplay_ep(&cap, STACK_SIZE, "avplay_ep");
|
||||
static Service_registry input_registry;
|
||||
static Service_registry nitpicker_framebuffer_registry;
|
||||
|
||||
static Input::Root input_root(&avplay_ep, env()->heap());
|
||||
static Local_service input_service(Input::Session::service_name(), &input_root);
|
||||
input_registry.insert(&input_service);
|
||||
avplay_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 (Config::Invalid) {
|
||||
} 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() ?
|
||||
&avplay_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(avplay_ep, input_registry, *framebuffer_in_registry, mediafile);
|
||||
static Genode::Slave avplay_slave(avplay_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)));
|
||||
}
|
43
libports/src/app/qt5/qt_avplay/main_window.h
Normal file
43
libports/src/app/qt5/qt_avplay/main_window.h
Normal file
@ -0,0 +1,43 @@
|
||||
/*
|
||||
* \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>
|
||||
|
||||
#include "control_bar.h"
|
||||
|
||||
|
||||
class Main_window : public Compound_widget<QWidget, QVBoxLayout>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
private:
|
||||
|
||||
QMember<QNitpickerViewWidget> _avplay_widget;
|
||||
QMember<Control_bar> _control_bar;
|
||||
|
||||
public:
|
||||
|
||||
Main_window();
|
||||
};
|
||||
|
||||
#endif /* _MAIN_WINDOW_H_ */
|
12
libports/src/app/qt5/qt_avplay/qt_avplay.pro
Normal file
12
libports/src/app/qt5/qt_avplay/qt_avplay.pro
Normal file
@ -0,0 +1,12 @@
|
||||
TEMPLATE = app
|
||||
TARGET = qt_avplay
|
||||
QT = core gui xml
|
||||
HEADERS = avplay_policy.h \
|
||||
control_bar.h \
|
||||
main_window.h
|
||||
SOURCES = control_bar.cpp \
|
||||
framebuffer_session_component.cc \
|
||||
input_service.cpp \
|
||||
main.cpp \
|
||||
main_window.cpp
|
||||
RESOURCES = style.qrc
|
10
libports/src/app/qt5/qt_avplay/style.qrc
Normal file
10
libports/src/app/qt5/qt_avplay/style.qrc
Normal file
@ -0,0 +1,10 @@
|
||||
<!DOCTYPE RCC>
|
||||
<RCC version="1.0">
|
||||
<qresource prefix="/">
|
||||
<file>style.qss</file>
|
||||
<file alias="player_play.png">../../../../contrib/qt-everywhere-opensource-src-5.1.0/qtbase/examples/network/torrent/icons/player_play.png</file>
|
||||
<file alias="player_pause.png">../../../../contrib/qt-everywhere-opensource-src-5.1.0/qtbase/examples/network/torrent/icons/player_pause.png</file>
|
||||
<file alias="player_stop.png">../../../../contrib/qt-everywhere-opensource-src-5.1.0/qtbase/examples/network/torrent/icons/player_stop.png</file>
|
||||
<file alias="volume.png">../../../../contrib/qt-everywhere-opensource-src-5.1.0/qtwebkit/Source/WebKit/efl/DefaultTheme/widget/mediacontrol/mutebutton/unmutebutton.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
32
libports/src/app/qt5/qt_avplay/style.qss
Normal file
32
libports/src/app/qt5/qt_avplay/style.qss
Normal file
@ -0,0 +1,32 @@
|
||||
Main_window {
|
||||
max-width: 640px;
|
||||
max-height: 512px;
|
||||
}
|
||||
|
||||
Play_pause_button, Stop_button {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
Play_pause_button#play {
|
||||
border-image: url(:player_pause.png);
|
||||
}
|
||||
|
||||
|
||||
Play_pause_button#pause {
|
||||
border-image: url(:player_play.png);
|
||||
}
|
||||
|
||||
|
||||
Stop_button {
|
||||
border-image: url(:player_stop.png);
|
||||
}
|
||||
|
||||
Volume_label {
|
||||
border-image: url(:volume.png);
|
||||
min-width: 32px;
|
||||
max-width: 32px;
|
||||
min-height: 32px;
|
||||
max-height: 32px;
|
||||
margin-right: 5px;
|
||||
}
|
9
libports/src/app/qt5/qt_avplay/target.mk
Normal file
9
libports/src/app/qt5/qt_avplay/target.mk
Normal file
@ -0,0 +1,9 @@
|
||||
# identify the qt4 repository by searching for a file that is unique for qt4
|
||||
QT5_REP_DIR := $(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
QT5_REP_DIR := $(realpath $(dir $(QT5_REP_DIR))../..)
|
||||
|
||||
include $(QT5_REP_DIR)/src/app/qt5/tmpl/target_defaults.inc
|
||||
|
||||
include $(QT5_REP_DIR)/src/app/qt5/tmpl/target_final.inc
|
||||
|
||||
LIBS += qt5_qnitpickerviewwidget
|
29
libports/src/app/qt5/qt_launchpad/child_entry.cpp
Normal file
29
libports/src/app/qt5/qt_launchpad/child_entry.cpp
Normal file
@ -0,0 +1,29 @@
|
||||
/*
|
||||
* \brief Child entry widget implementation
|
||||
* \author Christian Prochaska
|
||||
* \date 2008-04-06
|
||||
*/
|
||||
|
||||
#include "child_entry.h"
|
||||
|
||||
Child_entry::Child_entry(const char *name, int quota_kb, int max_quota_kb,
|
||||
Launchpad *launchpad, Launchpad_child *launchpad_child,
|
||||
QWidget *parent)
|
||||
: QWidget(parent), _launchpad(launchpad), _launchpad_child(launchpad_child)
|
||||
{
|
||||
ui.setupUi(this);
|
||||
|
||||
ui.nameLabel->setText(name);
|
||||
ui.quotaBar->setMaximum(max_quota_kb);
|
||||
ui.quotaBar->setValue(quota_kb);
|
||||
}
|
||||
|
||||
Child_entry::~Child_entry()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void Child_entry::on_exitButton_clicked()
|
||||
{
|
||||
_launchpad->exit_child(_launchpad_child);
|
||||
}
|
43
libports/src/app/qt5/qt_launchpad/child_entry.h
Normal file
43
libports/src/app/qt5/qt_launchpad/child_entry.h
Normal file
@ -0,0 +1,43 @@
|
||||
/*
|
||||
* \brief Child entry widget interface
|
||||
* \author Christian Prochaska
|
||||
* \date 2008-04-06
|
||||
*/
|
||||
|
||||
/*
|
||||
* 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 CHILD_ENTRY_H
|
||||
#define CHILD_ENTRY_H
|
||||
|
||||
#include <launchpad/launchpad.h>
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
#include "ui_child_entry.h"
|
||||
|
||||
class Child_entry : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
Child_entry(const char *name, int quota_kb, int max_quota_kb,
|
||||
Launchpad *launchpad, Launchpad_child *launchpad_child,
|
||||
QWidget *parent = 0);
|
||||
~Child_entry();
|
||||
|
||||
private:
|
||||
Ui::Child_entryClass ui;
|
||||
|
||||
Launchpad *_launchpad;
|
||||
Launchpad_child *_launchpad_child;
|
||||
|
||||
private slots:
|
||||
void on_exitButton_clicked();
|
||||
};
|
||||
|
||||
#endif // CHILD_ENTRY_H
|
148
libports/src/app/qt5/qt_launchpad/child_entry.ui
Normal file
148
libports/src/app/qt5/qt_launchpad/child_entry.ui
Normal file
@ -0,0 +1,148 @@
|
||||
<ui version="4.0" >
|
||||
<class>Child_entryClass</class>
|
||||
<widget class="QWidget" name="Child_entryClass" >
|
||||
<property name="geometry" >
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>396</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" >
|
||||
<property name="spacing" >
|
||||
<number>4</number>
|
||||
</property>
|
||||
<property name="leftMargin" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="nameLabel" >
|
||||
<property name="sizePolicy" >
|
||||
<sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>22</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" >
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Kbyte_loadbar" name="quotaBar" >
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>240</width>
|
||||
<height>22</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize" >
|
||||
<size>
|
||||
<width>240</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="value" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeType" >
|
||||
<enum>QSizePolicy::Fixed</enum>
|
||||
</property>
|
||||
<property name="sizeHint" >
|
||||
<size>
|
||||
<width>6</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="exitButton" >
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize" >
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font" >
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>X</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeType" >
|
||||
<enum>QSizePolicy::Fixed</enum>
|
||||
</property>
|
||||
<property name="sizeHint" >
|
||||
<size>
|
||||
<width>6</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11" />
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>Kbyte_loadbar</class>
|
||||
<extends>QProgressBar</extends>
|
||||
<header>kbyte_loadbar.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
24
libports/src/app/qt5/qt_launchpad/kbyte_loadbar.cpp
Normal file
24
libports/src/app/qt5/qt_launchpad/kbyte_loadbar.cpp
Normal file
@ -0,0 +1,24 @@
|
||||
/*
|
||||
* \brief KByte loadbar implementation
|
||||
* \author Christian Prochaska
|
||||
* \date 2008-04-05
|
||||
*/
|
||||
|
||||
#include "kbyte_loadbar.h"
|
||||
|
||||
Kbyte_loadbar::Kbyte_loadbar(QWidget *parent)
|
||||
: QProgressBar(parent)
|
||||
{
|
||||
}
|
||||
|
||||
Kbyte_loadbar::~Kbyte_loadbar()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
QString Kbyte_loadbar::text() const
|
||||
{
|
||||
return QString::number(value()) + " KByte / " +
|
||||
QString::number(maximum()) + " KByte";
|
||||
|
||||
}
|
33
libports/src/app/qt5/qt_launchpad/kbyte_loadbar.h
Normal file
33
libports/src/app/qt5/qt_launchpad/kbyte_loadbar.h
Normal file
@ -0,0 +1,33 @@
|
||||
/*
|
||||
* \brief KByte loadbar interface
|
||||
* \author Christian Prochaska
|
||||
* \date 2008-04-05
|
||||
*/
|
||||
|
||||
/*
|
||||
* 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 KBYTE_LOADBAR_H
|
||||
#define KBYTE_LOADBAR_H
|
||||
|
||||
#include <QProgressBar>
|
||||
|
||||
class Kbyte_loadbar : public QProgressBar
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
Kbyte_loadbar(QWidget *parent = 0);
|
||||
~Kbyte_loadbar();
|
||||
|
||||
virtual QString text() const;
|
||||
|
||||
protected:
|
||||
|
||||
};
|
||||
|
||||
#endif // KBYTE_LOADBAR_H
|
31
libports/src/app/qt5/qt_launchpad/launch_entry.cpp
Normal file
31
libports/src/app/qt5/qt_launchpad/launch_entry.cpp
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* \brief Launcher entry widget implementation
|
||||
* \author Christian Prochaska
|
||||
* \date 2008-04-06
|
||||
*/
|
||||
|
||||
#include "launch_entry.h"
|
||||
|
||||
Launch_entry::Launch_entry(const char *filename, unsigned long default_quota,
|
||||
unsigned long max_quota, Launchpad *launchpad,
|
||||
QWidget *parent)
|
||||
: QWidget(parent), _filename(filename), _launchpad(launchpad)
|
||||
{
|
||||
ui.setupUi(this);
|
||||
|
||||
ui.launchButton->setText(filename);
|
||||
|
||||
ui.quotaDial->setMaximum(max_quota);
|
||||
ui.quotaDial->setSingleStep(max_quota / 100);
|
||||
ui.quotaDial->setValue(default_quota);
|
||||
}
|
||||
|
||||
Launch_entry::~Launch_entry()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void Launch_entry::on_launchButton_clicked()
|
||||
{
|
||||
_launchpad->start_child(_filename, 1024 * ui.quotaDial->value(), Genode::Dataspace_capability());
|
||||
}
|
43
libports/src/app/qt5/qt_launchpad/launch_entry.h
Normal file
43
libports/src/app/qt5/qt_launchpad/launch_entry.h
Normal file
@ -0,0 +1,43 @@
|
||||
/*
|
||||
* \brief Launcher entry widget interface
|
||||
* \author Christian Prochaska
|
||||
* \date 2008-04-06
|
||||
*/
|
||||
|
||||
/*
|
||||
* 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 LAUNCH_ENTRY_H
|
||||
#define LAUNCH_ENTRY_H
|
||||
|
||||
#include <launchpad/launchpad.h>
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
#include "ui_launch_entry.h"
|
||||
|
||||
class Launch_entry : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
Launch_entry(const char *filename, unsigned long default_quota,
|
||||
unsigned long max_quota, Launchpad *launchpad,
|
||||
QWidget *parent = 0);
|
||||
~Launch_entry();
|
||||
|
||||
private:
|
||||
Ui::Launch_entryClass ui;
|
||||
|
||||
const char *_filename;
|
||||
Launchpad *_launchpad;
|
||||
|
||||
private slots:
|
||||
void on_launchButton_clicked();
|
||||
};
|
||||
|
||||
#endif // LAUNCH_ENTRY_H
|
133
libports/src/app/qt5/qt_launchpad/launch_entry.ui
Normal file
133
libports/src/app/qt5/qt_launchpad/launch_entry.ui
Normal file
@ -0,0 +1,133 @@
|
||||
<ui version="4.0" >
|
||||
<class>Launch_entryClass</class>
|
||||
<widget class="QWidget" name="Launch_entryClass" >
|
||||
<property name="geometry" >
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>396</width>
|
||||
<height>40</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" >
|
||||
<property name="spacing" >
|
||||
<number>4</number>
|
||||
</property>
|
||||
<property name="leftMargin" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QPushButton" name="launchButton" >
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" >
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Kbyte_loadbar" name="quotaBar" >
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>240</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize" >
|
||||
<size>
|
||||
<width>240</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="value" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QDial" name="quotaDial" >
|
||||
<property name="maximumSize" >
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximum" >
|
||||
<number>100</number>
|
||||
</property>
|
||||
<property name="wrapping" >
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="notchesVisible" >
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>Kbyte_loadbar</class>
|
||||
<extends>QProgressBar</extends>
|
||||
<header>kbyte_loadbar.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>quotaDial</sender>
|
||||
<signal>valueChanged(int)</signal>
|
||||
<receiver>quotaBar</receiver>
|
||||
<slot>setValue(int)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel" >
|
||||
<x>395</x>
|
||||
<y>43</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel" >
|
||||
<x>355</x>
|
||||
<y>43</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>quotaDial</sender>
|
||||
<signal>rangeChanged(int,int)</signal>
|
||||
<receiver>quotaBar</receiver>
|
||||
<slot>setRange(int,int)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel" >
|
||||
<x>395</x>
|
||||
<y>30</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel" >
|
||||
<x>355</x>
|
||||
<y>30</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
47
libports/src/app/qt5/qt_launchpad/main.cpp
Normal file
47
libports/src/app/qt5/qt_launchpad/main.cpp
Normal file
@ -0,0 +1,47 @@
|
||||
/*
|
||||
* \brief Qt Launchpad main program
|
||||
* \author Christian Prochaska
|
||||
* \date 2008-04-05
|
||||
*/
|
||||
|
||||
/* local includes */
|
||||
#include "qt_launchpad.h"
|
||||
|
||||
/* Qt includes */
|
||||
#include <QtGui>
|
||||
#include <QApplication>
|
||||
|
||||
/* Genode includes */
|
||||
#include <base/env.h>
|
||||
#include <rom_session/connection.h>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
/* look for dynamic linker */
|
||||
try {
|
||||
static Genode::Rom_connection rom("ld.lib.so");
|
||||
Genode::Process::dynamic_linker(rom.dataspace());
|
||||
} catch (...) { }
|
||||
|
||||
int result;
|
||||
|
||||
QApplication *a = new QApplication(argc, argv);
|
||||
|
||||
Qt_launchpad *launchpad = new Qt_launchpad(Genode::env()->ram_session()->quota());
|
||||
|
||||
launchpad->add_launcher("previewer", 25*1024*1024);
|
||||
launchpad->add_launcher("textedit", 25*1024*1024);
|
||||
launchpad->add_launcher("tetrix", 40*1024*1024);
|
||||
|
||||
launchpad->move(300,100);
|
||||
launchpad->show();
|
||||
|
||||
a->connect(a, SIGNAL(lastWindowClosed()), a, SLOT(quit()));
|
||||
|
||||
result = a->exec();
|
||||
|
||||
delete launchpad;
|
||||
delete a;
|
||||
|
||||
return result;
|
||||
}
|
115
libports/src/app/qt5/qt_launchpad/qt_launchpad.cpp
Normal file
115
libports/src/app/qt5/qt_launchpad/qt_launchpad.cpp
Normal file
@ -0,0 +1,115 @@
|
||||
/*
|
||||
* \brief Qt Launchpad window implementation
|
||||
* \author Christian Prochaska
|
||||
* \date 2008-04-05
|
||||
*/
|
||||
|
||||
#include <QScrollArea>
|
||||
|
||||
#include "qt_launchpad.h"
|
||||
|
||||
#include "launch_entry.h"
|
||||
#include "child_entry.h"
|
||||
|
||||
Qt_launchpad::Qt_launchpad(unsigned long initial_quota, QWidget *parent)
|
||||
: QMainWindow(parent), Launchpad(initial_quota)
|
||||
{
|
||||
setupUi(this);
|
||||
|
||||
// disable minimize and maximize buttons
|
||||
Qt::WindowFlags flags = windowFlags();
|
||||
flags &= ~Qt::WindowMinMaxButtonsHint;
|
||||
setWindowFlags(flags);
|
||||
|
||||
// put a QScrollArea into launcherDockWidget for scrolling of launcher entries
|
||||
QScrollArea *launcherScrollArea = new QScrollArea;
|
||||
launcherScrollArea->setFrameStyle(QFrame::NoFrame);
|
||||
launcherScrollArea->setWidget(launcherDockWidgetContents);
|
||||
|
||||
launcherDockWidget->setWidget(launcherScrollArea);
|
||||
|
||||
QVBoxLayout *launcherDockWidgetLayout = new QVBoxLayout;
|
||||
launcherDockWidgetLayout->setContentsMargins(2, 2, 2, 2);
|
||||
launcherDockWidgetLayout->setSpacing(2);
|
||||
launcherDockWidgetContents->setLayout(launcherDockWidgetLayout);
|
||||
|
||||
// put a QScrollArea into childrenDockWidget for scrolling of child entries
|
||||
QScrollArea *childrenScrollArea = new QScrollArea;
|
||||
childrenScrollArea->setFrameStyle(QFrame::NoFrame);
|
||||
childrenScrollArea->setWidget(childrenDockWidgetContents);
|
||||
|
||||
childrenDockWidget->setWidget(childrenScrollArea);
|
||||
|
||||
QVBoxLayout *childrenDockWidgetLayout = new QVBoxLayout;
|
||||
childrenDockWidgetLayout->setContentsMargins(2, 2, 2, 2);
|
||||
childrenDockWidgetLayout->setSpacing(2);
|
||||
childrenDockWidgetContents->setLayout(childrenDockWidgetLayout);
|
||||
|
||||
// update the available quota bar every 200ms
|
||||
QTimer *avail_quota_timer = new QTimer(this);
|
||||
connect(avail_quota_timer, SIGNAL(timeout()), this, SLOT(avail_quota_update()));
|
||||
avail_quota_timer->start(200);
|
||||
}
|
||||
|
||||
Qt_launchpad::~Qt_launchpad()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void Qt_launchpad::avail_quota_update()
|
||||
{
|
||||
static Genode::size_t _avail = 0;
|
||||
|
||||
Genode::size_t new_avail = Genode::env()->ram_session()->avail();
|
||||
|
||||
if (new_avail != _avail)
|
||||
quota(new_avail);
|
||||
|
||||
_avail = new_avail;
|
||||
}
|
||||
|
||||
void Qt_launchpad::quota(unsigned long quota)
|
||||
{
|
||||
totalQuotaProgressBar->setMaximum(initial_quota() / 1024);
|
||||
totalQuotaProgressBar->setValue(quota / 1024);
|
||||
}
|
||||
|
||||
void Qt_launchpad::add_launcher(const char *filename,
|
||||
unsigned long default_quota)
|
||||
{
|
||||
Launch_entry *launch_entry = new Launch_entry(filename, default_quota / 1024,
|
||||
initial_quota() / 1024, this);
|
||||
launcherDockWidgetContents->layout()->addWidget(launch_entry);
|
||||
launch_entry->show();
|
||||
launcherDockWidgetContents->adjustSize();
|
||||
}
|
||||
|
||||
void Qt_launchpad::add_child(const char *unique_name,
|
||||
unsigned long quota,
|
||||
Launchpad_child *launchpad_child,
|
||||
Genode::Allocator *alloc)
|
||||
{
|
||||
Child_entry *child_entry = new Child_entry(unique_name, quota / 1024,
|
||||
initial_quota() / 1024,
|
||||
this, launchpad_child);
|
||||
child_entry->setObjectName(QString(unique_name) + "_child_entry");
|
||||
childrenDockWidgetContents->layout()->addWidget(child_entry);
|
||||
child_entry->show();
|
||||
childrenDockWidgetContents->adjustSize();
|
||||
}
|
||||
|
||||
void Qt_launchpad::remove_child(const char *name, Genode::Allocator *alloc)
|
||||
{
|
||||
Child_entry *child_entry =
|
||||
childrenDockWidgetContents->findChild<Child_entry*>(QString(name) + "_child_entry");
|
||||
|
||||
if (!child_entry) {
|
||||
PWRN("child entry lookup failed");
|
||||
return;
|
||||
}
|
||||
|
||||
// still in "button clicked" event handler
|
||||
child_entry->deleteLater();
|
||||
|
||||
childrenDockWidgetContents->adjustSize();
|
||||
}
|
46
libports/src/app/qt5/qt_launchpad/qt_launchpad.h
Normal file
46
libports/src/app/qt5/qt_launchpad/qt_launchpad.h
Normal file
@ -0,0 +1,46 @@
|
||||
/*
|
||||
* \brief Qt Launchpad window interface
|
||||
* \author Christian Prochaska
|
||||
* \date 2008-04-05
|
||||
*/
|
||||
|
||||
/*
|
||||
* 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 QT_LAUNCHPAD_H
|
||||
#define QT_LAUNCHPAD_H
|
||||
|
||||
#include <launchpad/launchpad.h>
|
||||
|
||||
#include <QtGui>
|
||||
#include "ui_qt_launchpad.h"
|
||||
|
||||
class Qt_launchpad : public QMainWindow, public Launchpad, private Ui::Qt_launchpadClass
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
Qt_launchpad(unsigned long initial_quota, QWidget *parent = 0);
|
||||
~Qt_launchpad();
|
||||
|
||||
virtual void quota(unsigned long quota);
|
||||
|
||||
virtual void add_launcher(const char *filename,
|
||||
unsigned long default_quota);
|
||||
|
||||
virtual void add_child(const char *unique_name,
|
||||
unsigned long quota,
|
||||
Launchpad_child *launchpad_child,
|
||||
Genode::Allocator *alloc);
|
||||
|
||||
virtual void remove_child(const char *name, Genode::Allocator *alloc);
|
||||
|
||||
private slots:
|
||||
void avail_quota_update();
|
||||
};
|
||||
|
||||
#endif // QT_LAUNCHPAD_H
|
15
libports/src/app/qt5/qt_launchpad/qt_launchpad.pro
Normal file
15
libports/src/app/qt5/qt_launchpad/qt_launchpad.pro
Normal file
@ -0,0 +1,15 @@
|
||||
TEMPLATE = app
|
||||
TARGET = qt_launchpad
|
||||
QT = core gui
|
||||
HEADERS += child_entry.h \
|
||||
kbyte_loadbar.h \
|
||||
launch_entry.h \
|
||||
qt_launchpad.h
|
||||
SOURCES += child_entry.cpp \
|
||||
kbyte_loadbar.cpp \
|
||||
launch_entry.cpp \
|
||||
main.cpp \
|
||||
qt_launchpad.cpp
|
||||
FORMS += child_entry.ui \
|
||||
launch_entry.ui \
|
||||
qt_launchpad.ui
|
152
libports/src/app/qt5/qt_launchpad/qt_launchpad.ui
Normal file
152
libports/src/app/qt5/qt_launchpad/qt_launchpad.ui
Normal file
@ -0,0 +1,152 @@
|
||||
<ui version="4.0" >
|
||||
<class>Qt_launchpadClass</class>
|
||||
<widget class="QMainWindow" name="Qt_launchpadClass" >
|
||||
<property name="geometry" >
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>410</width>
|
||||
<height>500</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>410</width>
|
||||
<height>500</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize" >
|
||||
<size>
|
||||
<width>410</width>
|
||||
<height>500</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="windowTitle" >
|
||||
<string>Qt Launchpad</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget" />
|
||||
<widget class="QDockWidget" name="statusDockWidget" >
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>410</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="features" >
|
||||
<set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable|QDockWidget::NoDockWidgetFeatures</set>
|
||||
</property>
|
||||
<property name="allowedAreas" >
|
||||
<set>Qt::LeftDockWidgetArea</set>
|
||||
</property>
|
||||
<property name="windowTitle" >
|
||||
<string>Status</string>
|
||||
</property>
|
||||
<attribute name="dockWidgetArea" >
|
||||
<number>1</number>
|
||||
</attribute>
|
||||
<widget class="QWidget" name="statusDockWidgetContents" >
|
||||
<property name="maximumSize" >
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" >
|
||||
<item>
|
||||
<widget class="QLabel" name="label" >
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>Quota</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Kbyte_loadbar" name="totalQuotaProgressBar" >
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>240</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="value" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" >
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QDockWidget" name="launcherDockWidget" >
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>410</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="features" >
|
||||
<set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable|QDockWidget::NoDockWidgetFeatures</set>
|
||||
</property>
|
||||
<property name="allowedAreas" >
|
||||
<set>Qt::LeftDockWidgetArea</set>
|
||||
</property>
|
||||
<property name="windowTitle" >
|
||||
<string>Launcher</string>
|
||||
</property>
|
||||
<attribute name="dockWidgetArea" >
|
||||
<number>1</number>
|
||||
</attribute>
|
||||
<widget class="QWidget" name="launcherDockWidgetContents" />
|
||||
</widget>
|
||||
<widget class="QDockWidget" name="childrenDockWidget" >
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>410</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="features" >
|
||||
<set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable|QDockWidget::NoDockWidgetFeatures</set>
|
||||
</property>
|
||||
<property name="allowedAreas" >
|
||||
<set>Qt::LeftDockWidgetArea</set>
|
||||
</property>
|
||||
<property name="windowTitle" >
|
||||
<string>Children</string>
|
||||
</property>
|
||||
<attribute name="dockWidgetArea" >
|
||||
<number>1</number>
|
||||
</attribute>
|
||||
<widget class="QWidget" name="childrenDockWidgetContents" />
|
||||
</widget>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>Kbyte_loadbar</class>
|
||||
<extends>QProgressBar</extends>
|
||||
<header>kbyte_loadbar.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user