Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git share/qtcreator/static.pro share/qtcreator/static.pro
- index 891708b..c7ecf96 100644
- --- share/qtcreator/static.pro
- +++ share/qtcreator/static.pro
- @@ -24,6 +24,7 @@ isEmpty(vcproj) {
- }
- DATA_DIRS = \
- + ubuntu \
- welcomescreen \
- examplebrowser \
- snippets \
- diff --git share/qtcreator/templates/wizards/ubuntu/simple/[email protected] share/qtcreator/templates/wizards/ubuntu/simple/[email protected]
- new file mode 100644
- index 0000000..881e626
- Binary files /dev/null and share/qtcreator/templates/wizards/ubuntu/simple/[email protected] differ
- diff --git share/qtcreator/templates/wizards/ubuntu/tabs/[email protected] share/qtcreator/templates/wizards/ubuntu/tabs/[email protected]
- new file mode 100644
- index 0000000..881e626
- Binary files /dev/null and share/qtcreator/templates/wizards/ubuntu/tabs/[email protected] differ
- diff --git share/qtcreator/ubuntu/welcome/images/App-dev-tablet-GoMobile.png share/qtcreator/ubuntu/welcome/images/App-dev-tablet-GoMobile.png
- new file mode 100644
- index 0000000..6831eaf
- Binary files /dev/null and share/qtcreator/ubuntu/welcome/images/App-dev-tablet-GoMobile.png differ
- diff --git share/qtcreator/ubuntu/welcome/images/background-header-home.png share/qtcreator/ubuntu/welcome/images/background-header-home.png
- new file mode 100644
- index 0000000..0cf1ad7
- Binary files /dev/null and share/qtcreator/ubuntu/welcome/images/background-header-home.png differ
- diff --git share/qtcreator/ubuntu/welcome/images/banner-usc.jpg share/qtcreator/ubuntu/welcome/images/banner-usc.jpg
- new file mode 100644
- index 0000000..f9ceb10
- Binary files /dev/null and share/qtcreator/ubuntu/welcome/images/banner-usc.jpg differ
- diff --git share/qtcreator/ubuntu/welcome/images/bg_dotted.png share/qtcreator/ubuntu/welcome/images/bg_dotted.png
- new file mode 100644
- index 0000000..58ff604
- Binary files /dev/null and share/qtcreator/ubuntu/welcome/images/bg_dotted.png differ
- diff --git share/qtcreator/ubuntu/welcome/images/dotted-logo.png share/qtcreator/ubuntu/welcome/images/dotted-logo.png
- new file mode 100644
- index 0000000..d1f6553
- Binary files /dev/null and share/qtcreator/ubuntu/welcome/images/dotted-logo.png differ
- diff --git share/qtcreator/ubuntu/welcome/images/logo-ubuntu.png share/qtcreator/ubuntu/welcome/images/logo-ubuntu.png
- new file mode 100644
- index 0000000..816fae5
- Binary files /dev/null and share/qtcreator/ubuntu/welcome/images/logo-ubuntu.png differ
- diff --git src/libs/3rdparty/botan/botan.pri src/libs/3rdparty/botan/botan.pri
- index 3c65676..761ad78 100644
- --- src/libs/3rdparty/botan/botan.pri
- +++ src/libs/3rdparty/botan/botan.pri
- @@ -1,56 +1,3 @@
- -INCLUDEPATH *= $$PWD/..
- -HEADERS += $$PWD/botan.h
- +CONFIG += link_pkgconfig
- +PKGCONFIG += botan-1.10
- -equals(USE_SYSTEM_BOTAN, 1) {
- - DEFINES += USE_SYSTEM_BOTAN
- - CONFIG += link_pkgconfig
- - PKGCONFIG += botan-1.10
- -} else {
- -
- -SOURCES += $$PWD/botan.cpp
- -
- -CONFIG += exceptions
- -
- -DEPENDPATH += .
- -
- -DEFINES += BOTAN_DLL=
- -unix:DEFINES += BOTAN_TARGET_OS_HAS_GETTIMEOFDAY BOTAN_HAS_ALLOC_MMAP \
- - BOTAN_HAS_ENTROPY_SRC_DEV_RANDOM BOTAN_HAS_ENTROPY_SRC_EGD BOTAN_HAS_ENTROPY_SRC_FTW \
- - BOTAN_HAS_ENTROPY_SRC_UNIX BOTAN_HAS_MUTEX_PTHREAD BOTAN_HAS_PIPE_UNIXFD_IO
- -*linux*:DEFINES += BOTAN_TARGET_OS_IS_LINUX BOTAN_TARGET_OS_HAS_CLOCK_GETTIME \
- - BOTAN_TARGET_OS_HAS_DLOPEN BOTAN_TARGET_OS_HAS_GMTIME_R BOTAN_TARGET_OS_HAS_POSIX_MLOCK \
- - BOTAN_HAS_DYNAMICALLY_LOADED_ENGINE BOTAN_HAS_DYNAMIC_LOADER
- -macx:DEFINES += BOTAN_TARGET_OS_IS_DARWIN
- -*g++*:DEFINES += BOTAN_BUILD_COMPILER_IS_GCC
- -*clang*:DEFINES += BOTAN_BUILD_COMPILER_IS_CLANG
- -*icc*:DEFINES += BOTAN_BUILD_COMPILER_IS_INTEL
- -
- -CONFIG(x86_64):DEFINES += BOTAN_TARGET_ARCH_IS_X86_64
- -
- -win32 {
- - DEFINES += BOTAN_TARGET_OS_IS_WINDOWS \
- - BOTAN_TARGET_OS_HAS_LOADLIBRARY BOTAN_TARGET_OS_HAS_WIN32_GET_SYSTEMTIME \
- - BOTAN_TARGET_OS_HAS_WIN32_VIRTUAL_LOCK BOTAN_HAS_DYNAMICALLY_LOADED_ENGINE \
- - BOTAN_HAS_DYNAMIC_LOADER BOTAN_HAS_ENTROPY_SRC_CAPI BOTAN_HAS_ENTROPY_SRC_WIN32 \
- - BOTAN_HAS_MUTEX_WIN32
- -
- - win32-msvc* {
- - QMAKE_CXXFLAGS += -wd4251 -wd4290 -wd4250
- - DEFINES += BOTAN_BUILD_COMPILER_IS_MSVC BOTAN_TARGET_OS_HAS_GMTIME_S
- - } else {
- - QMAKE_CFLAGS += -fpermissive -finline-functions -Wno-long-long
- - QMAKE_CXXFLAGS += -fpermissive -finline-functions -Wno-long-long
- - }
- - LIBS += -ladvapi32 -luser32
- -}
- -
- -unix:*-g++* {
- - QMAKE_CFLAGS += -fPIC -ansi -fpermissive -finline-functions -Wno-long-long
- - QMAKE_CXXFLAGS += -fPIC -ansi -fpermissive -finline-functions -Wno-long-long
- - QMAKE_CXXFLAGS_HIDESYMS -= -fvisibility-inlines-hidden # for ubuntu 7.04
- -}
- -
- -linux*|freebsd* {
- - LIBS += -lrt
- -}
- -}
- diff --git src/libs/ssh/sshcryptofacility.cpp src/libs/ssh/sshcryptofacility.cpp
- index 255ef7e..5e2e9cf 100644
- --- src/libs/ssh/sshcryptofacility.cpp
- +++ src/libs/ssh/sshcryptofacility.cpp
- @@ -37,6 +37,11 @@
- #include "sshpacket_p.h"
- #include <botan/botan.h>
- +#include <botan/cbc.h>
- +#include <botan/dsa.h>
- +#include <botan/pkcs8.h>
- +#include <botan/pubkey.h>
- +#include <botan/rsa.h>
- #include <QDebug>
- #include <QList>
- diff --git src/libs/ssh/sshcryptofacility_p.h src/libs/ssh/sshcryptofacility_p.h
- index 704a4ee..8eee601 100644
- --- src/libs/ssh/sshcryptofacility_p.h
- +++ src/libs/ssh/sshcryptofacility_p.h
- @@ -31,9 +31,11 @@
- #define SSHABSTRACTCRYPTOFACILITY_P_H
- #include <botan/botan.h>
- +#include <botan/hmac.h>
- #include <QByteArray>
- #include <QScopedPointer>
- +#include <QSharedPointer>
- namespace QSsh {
- namespace Internal {
- diff --git src/libs/ssh/sshkeyexchange.cpp src/libs/ssh/sshkeyexchange.cpp
- index b21f1ab..46135cb 100644
- --- src/libs/ssh/sshkeyexchange.cpp
- +++ src/libs/ssh/sshkeyexchange.cpp
- @@ -36,6 +36,12 @@
- #include "sshincomingpacket_p.h"
- #include <botan/botan.h>
- +#include <botan/dh.h>
- +#include <botan/dl_group.h>
- +#include <botan/dsa.h>
- +#include <botan/pem.h>
- +#include <botan/pubkey.h>
- +#include <botan/rsa.h>
- #ifdef CREATOR_SSH_DEBUG
- #include <iostream>
- diff --git src/libs/ssh/sshkeygenerator.cpp src/libs/ssh/sshkeygenerator.cpp
- index 736cc04..318a786 100644
- --- src/libs/ssh/sshkeygenerator.cpp
- +++ src/libs/ssh/sshkeygenerator.cpp
- @@ -34,6 +34,11 @@
- #include "sshpacket_p.h"
- #include <botan/botan.h>
- +#include <botan/der_enc.h>
- +#include <botan/dsa.h>
- +#include <botan/pem.h>
- +#include <botan/pkcs8.h>
- +#include <botan/rsa.h>
- #include <QDateTime>
- #include <QInputDialog>
- diff --git src/libs/ssh/sshkeypasswordretriever_p.h src/libs/ssh/sshkeypasswordretriever_p.h
- index 9ffdc90..6cdd7d6 100644
- --- src/libs/ssh/sshkeypasswordretriever_p.h
- +++ src/libs/ssh/sshkeypasswordretriever_p.h
- @@ -30,6 +30,7 @@
- #define KEYPASSWORDRETRIEVER_H
- #include <botan/botan.h>
- +#include <botan/ui.h>
- #include <string>
- diff --git src/libs/utils/consoleprocess_unix.cpp src/libs/utils/consoleprocess_unix.cpp
- index 367a0ab..0c032bc 100644
- --- src/libs/utils/consoleprocess_unix.cpp
- +++ src/libs/utils/consoleprocess_unix.cpp
- @@ -333,6 +333,7 @@ struct Terminal {
- static const Terminal knownTerminals[] =
- {
- + {"x-terminal-emulator", "-e"},
- {"xterm", "-e"},
- {"aterm", "-e"},
- {"Eterm", "-e"},
- diff --git src/plugins/debugger/shared/shared.pri src/plugins/debugger/shared/shared.pri
- index 4b37004..5a214b2 100644
- --- src/plugins/debugger/shared/shared.pri
- +++ src/plugins/debugger/shared/shared.pri
- @@ -2,7 +2,6 @@ SOURCES += $$PWD/backtrace.cpp \
- $$PWD/cdbsymbolpathlisteditor.cpp \
- $$PWD/hostutils.cpp \
- $$PWD/peutils.cpp
- - $$PWD/peutils.h
- HEADERS += $$PWD/backtrace.h \
- $$PWD/cdbsymbolpathlisteditor.h \
- diff --git src/plugins/help/helpplugin.cpp src/plugins/help/helpplugin.cpp
- index 9be566c..aee0b7f 100644
- --- src/plugins/help/helpplugin.cpp
- +++ src/plugins/help/helpplugin.cpp
- @@ -107,7 +107,7 @@ const char SB_OPENPAGES[] = "OpenPages";
- #if defined(Q_OS_MAC)
- # define DOCPATH "/../Resources/doc/"
- #else
- -# define DOCPATH "/../share/doc/qtcreator/"
- +# define DOCPATH "/../share/qtcreator/doc/"
- #endif
- using namespace Core;
- diff --git src/plugins/plugins.pro src/plugins/plugins.pro
- index 49b816b..510f5d5 100644
- --- src/plugins/plugins.pro
- +++ src/plugins/plugins.pro
- @@ -47,7 +47,8 @@ SUBDIRS = plugin_coreplugin \
- plugin_madde \
- plugin_valgrind \
- plugin_todo \
- - plugin_qnx
- + plugin_qnx \
- + plugin_ubuntu
- exists(../shared/qbs/qbs.pro):SUBDIRS += plugin_qbsprojectmanager
- @@ -354,6 +355,11 @@ plugin_clearcase.depends = plugin_vcsbase
- plugin_clearcase.depends += plugin_projectexplorer
- plugin_clearcase.depends += plugin_coreplugin
- +plugin_ubuntu.subdir = ubuntu
- +plugin_ubuntu.depends += plugin_coreplugin
- +plugin_ubuntu.depends += plugin_projectexplorer
- +plugin_ubuntu.depends += plugin_qmlprojectmanager
- +
- plugin_pythoneditor.subdir = pythoneditor
- plugin_pythoneditor.depends = plugin_coreplugin
- plugin_pythoneditor.depends += plugin_cpptools
- diff --git src/plugins/ubuntu/images/device.png src/plugins/ubuntu/images/device.png
- new file mode 100644
- index 0000000..1dd5075
- Binary files /dev/null and src/plugins/ubuntu/images/device.png differ
- diff --git src/plugins/ubuntu/images/ubuntu-128.png src/plugins/ubuntu/images/ubuntu-128.png
- new file mode 100644
- index 0000000..3ccedaf
- Binary files /dev/null and src/plugins/ubuntu/images/ubuntu-128.png differ
- diff --git src/plugins/ubuntu/images/ubuntu-48.png src/plugins/ubuntu/images/ubuntu-48.png
- new file mode 100644
- index 0000000..ed09512
- Binary files /dev/null and src/plugins/ubuntu/images/ubuntu-48.png differ
- diff --git src/plugins/ubuntu/images/ubuntu-64.png src/plugins/ubuntu/images/ubuntu-64.png
- new file mode 100644
- index 0000000..d1dd44c
- Binary files /dev/null and src/plugins/ubuntu/images/ubuntu-64.png differ
- diff --git src/plugins/ubuntu/images/ubuntu-qtcreator.png src/plugins/ubuntu/images/ubuntu-qtcreator.png
- new file mode 100644
- index 0000000..8aa082e
- Binary files /dev/null and src/plugins/ubuntu/images/ubuntu-qtcreator.png differ
- diff --git src/qtcreatorplugin.pri src/qtcreatorplugin.pri
- index 8d60558..7aea4b3 100644
- --- src/qtcreatorplugin.pri
- +++ src/qtcreatorplugin.pri
- @@ -91,7 +91,7 @@ macx {
- QMAKE_LFLAGS_SONAME = -Wl,-install_name,@rpath/PlugIns/$${PROVIDER}/
- QMAKE_LFLAGS += -Wl,-rpath,@loader_path/../../,-rpath,@executable_path/../
- }
- -} else:linux-* {
- +} else:linux-*|glibc-*|hurd-* {
- #do the rpath by hand since it's not possible to use ORIGIN in QMAKE_RPATHDIR
- QMAKE_RPATHDIR += \$\$ORIGIN
- QMAKE_RPATHDIR += \$\$ORIGIN/..
- @@ -107,7 +107,7 @@ CONFIG += include_source_dir
- contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
- CONFIG += plugin plugin_with_soname
- -linux*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF
- +linux*|glibc-*|hurd-*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF
- !macx {
- target.path = $$QTC_PREFIX/$$IDE_LIBRARY_BASENAME/qtcreator/plugins/$$PROVIDER
- diff --git src/rpath.pri src/rpath.pri
- index c352a82..39e68e7 100644
- --- src/rpath.pri
- +++ src/rpath.pri
- @@ -5,7 +5,7 @@ macx {
- QMAKE_LFLAGS_SONAME = -Wl,-install_name,@rpath/PlugIns/
- QMAKE_LFLAGS += -Wl,-rpath,@loader_path/../,-rpath,@executable_path/../
- }
- -} else:linux-* {
- +} else:linux-*|glibc-*|hurd-* {
- #do the rpath by hand since it's not possible to use ORIGIN in QMAKE_RPATHDIR
- # this expands to $ORIGIN (after qmake and make), it does NOT read a qmake var
- QMAKE_RPATHDIR += \$\$ORIGIN
- diff --git src/tools/qtcreatorwidgets/qtcreatorwidgets.pro src/tools/qtcreatorwidgets/qtcreatorwidgets.pro
- index 89a7026..897a3ff 100644
- --- src/tools/qtcreatorwidgets/qtcreatorwidgets.pro
- +++ src/tools/qtcreatorwidgets/qtcreatorwidgets.pro
- @@ -13,7 +13,7 @@ isEmpty(IDE_LIBRARY_BASENAME) {
- IDE_LIBRARY_BASENAME = lib
- }
- -linux-*||win32 {
- +linux-*||win32||glibc-*||hurd-* {
- # form abs path to qtcreator lib dir
- QTC_LIBS=$$dirname(OUT_PWD)
- QTC_LIBS=$$dirname(QTC_LIBS)
- @@ -21,7 +21,7 @@ linux-*||win32 {
- QTC_LIBS=$$QTC_LIBS/$$IDE_LIBRARY_BASENAME/qtcreator
- }
- -linux-*{
- +linux-*|glibc-*|hurd-*{
- QMAKE_RPATHDIR *= $$QTC_LIBS
- }
Advertisement
Add Comment
Please, Sign In to add comment