diff options
author | Robert Griebl <robert.griebl@pelagicore.com> | 2015-10-20 11:31:13 +0200 |
---|---|---|
committer | Robert Griebl <robert.griebl@pelagicore.com> | 2015-10-26 09:46:22 +0000 |
commit | 2491a2ba4b7c4bdc04566df84e1b6841c1393bb3 (patch) | |
tree | 8d87a4534b1d8abbaf6e358929b969168901304c /3rdparty | |
parent | 0c9e6ac0803ef00401ddfd08dc7558c20eefd0c4 (diff) | |
download | qtapplicationmanager-2491a2ba4b7c4bdc04566df84e1b6841c1393bb3.tar.gz |
Initial commit of Pelagicore's ApplicationManager with squashed history.
(minus all 3rd party stuff - we will re-add them later, potentially
changing the way some of them are handled completely)
Change-Id: I55f15b12f0dbe0c4f979206eaa163d4793ff7073
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to '3rdparty')
-rw-r--r-- | 3rdparty/README.md | 68 | ||||
-rw-r--r-- | 3rdparty/libarchive.pri | 22 | ||||
-rw-r--r-- | 3rdparty/libcrypto.pri | 24 | ||||
-rw-r--r-- | 3rdparty/liblzma.pri | 20 | ||||
-rw-r--r-- | 3rdparty/libyaml.pri | 17 | ||||
-rw-r--r-- | 3rdparty/libz.pri | 18 |
6 files changed, 169 insertions, 0 deletions
diff --git a/3rdparty/README.md b/3rdparty/README.md new file mode 100644 index 00000000..d433d672 --- /dev/null +++ b/3rdparty/README.md @@ -0,0 +1,68 @@ +## How to recreate the qmake base buildsystem for the 3rd-party stuff + +## openssl + +### Linux + +* `./config no-asm no-idea` +* `make` +* `cp crypto/buildinf.h libcrypto-include-unix` +* `cp include/openssl/opensslconf.h libcrypto-include-unix/openssl` + +### Mac OS X + +* `./Configure darwin64-x86_64-cc no-asm no-idea` +* `make depend` +* `make` +* `cp crypto/buildinf.h libcrypto-include-osx` +* `cp include/openssl/opensslconf.h libcrypto-include-osx/openssl` + +### Windows +* `perl Configure VC-WIN32 no-asm no-idea` +* `ms\do_ms.bat` +* `nmake -f ms\nt.mak` +* `copy /Y crypto\buildinf.h libarchive-include-win32` +* `copy /Y inc32\openssl\*.h libarchive-include-win32\openssl` + + +## xz + +### Linux +* ` ./configure --disable-shared --enable-threads=no --disable-assembler --disable-xz --disable-xzdec + --disable-lzmadec --disable-lzmainfo --disable-lzma-links --disable-scripts --disable-doc` +* `cp config.h config-unix.h` +* `echo "#include PLATFORM_CONFIG_H" >config.h` + +### Mac OS X +* ` ./configure --disable-shared --enable-threads=no --disable-assembler --disable-xz --disable-xzdec + --disable-lzmadec --disable-lzmainfo --disable-lzma-links --disable-scripts --disable-doc` +* `cp config.h config-osx.h` +* `echo "#include PLATFORM_CONFIG_H" >config.h` + +### Windows +* `copy /Y windows\config.h config-windows.h` +* `echo #include PLATFORM_CONFIG_H >config.h` + + +## libarchive + +### Linux +* `./configure --disable-shared --disable-bsdtar --disable-bsdcpio --disable-xattr --disable-acl + --without-bz2lib --without-lzmadec --without-lzo2 --without-nettle --without-openssl + --without-xml2 --without-expat` +* `cp config.h config-unix.h` + +### Mac OS X +* `./configure --disable-shared --disable-bsdtar --disable-bsdcpio --disable-xattr --disable-acl + --without-bz2lib --without-lzmadec --without-lzo2 --without-nettle --without-openssl + --without-xml2 --without-expat` +* `cp config.h config-osx.h` + +### Windows +Prerequisite: build zlib 1.2.8 + +* `mkdir cbuild` +* `cd cbuild` +* `cmake -DENABLE_TAR=OFF -DENABLE_CPIO=OFF -DENABLE_XATTR=OFF -DENABLE_ACL=OFF -DENABLE_TEST=OFF + -DENABLE_OPENSSL=OFF -DZLIB_LIBRARY=..\..\zlib-1.2.8\release\z.lib -DZLIB_INCLUDE_DIR=..\..\zlib-1.2.8` +* `copy /Y config.h config-windows.h` diff --git a/3rdparty/libarchive.pri b/3rdparty/libarchive.pri new file mode 100644 index 00000000..221d9d7e --- /dev/null +++ b/3rdparty/libarchive.pri @@ -0,0 +1,22 @@ + +include(libz.pri) +#include(liblzma.pri) + +bundled-libarchive { + error("bundled-libarchive is not supported ATM") + +# LIBARCHIVE_PATH = $$PWD/libarchive-3.1.2 +# LIBARCHIVE_BUILD_PATH = $$shadowed($$LIBARCHIVE_PATH) +# +# INCLUDEPATH += $$LIBARCHIVE_PATH/libarchive +# osx:LIBS += $$join(LIBARCHIVE_BUILD_PATH,,,/libarchive.a) -framework CoreServices -liconv +# else:LIBS += $$fixLibraryPath(-L$$LIBARCHIVE_BUILD_PATH) -larchive +# +# win32:DEFINES += LIBARCHIVE_STATIC +# +# CONFIG *= link_prl +} else { + osx:exists(/usr/local/bin/pkg-config):PKG_CONFIG=/usr/local/bin/pkg-config + + PKGCONFIG += "'libarchive >= 3.0.0'" +} diff --git a/3rdparty/libcrypto.pri b/3rdparty/libcrypto.pri new file mode 100644 index 00000000..b4f14721 --- /dev/null +++ b/3rdparty/libcrypto.pri @@ -0,0 +1,24 @@ + +include(libz.pri) + +bundled-libcrypto { + error("bundled-libcrypto is not supported ATM") + +# LIBCRYPTO_PATH = $$PWD/openssl-1.0.2d +# LIBCRYPTO_BUILD_PATH = $$shadowed($$LIBCRYPTO_PATH) +# +# unix { +# INCLUDEPATH += $$LIBCRYPTO_PATH/include +# LIBS += -L$$LIBCRYPTO_BUILD_PATH -lcrypto -ldl +# } +# win32 { +# INCLUDEPATH += $$LIBCRYPTO_PATH/libcrypto-include-win32 +# LIBS += $$fixLibraryPath(-L$$LIBCRYPTO_BUILD_PATH) -lcrypto -luser32 -ladvapi32 -lgdi32 +# } +# +# CONFIG *= link_prl +} else { + osx:exists(/usr/local/bin/pkg-config):PKG_CONFIG=/usr/local/bin/pkg-config + + PKGCONFIG += "'libcrypto >= 1.0.0'" +} diff --git a/3rdparty/liblzma.pri b/3rdparty/liblzma.pri new file mode 100644 index 00000000..faf4a391 --- /dev/null +++ b/3rdparty/liblzma.pri @@ -0,0 +1,20 @@ + +bundled-liblzma { + error("bundled-liblzma is not supported ATM") + +# LIBLZMA_PATH = $$PWD/xz-5.2.1 +# LIBLZMA_BUILD_PATH = $$shadowed($$LIBLZMA_PATH) +# +# INCLUDEPATH += $$LIBLZMA_PATH/src/liblzma/api +# LIBS += $$fixLibraryPath(-L$$LIBLZMA_BUILD_PATH) -llzma +# +# win32:DEFINES += LZMA_API_STATIC +# +# CONFIG *= link_prl +} else { + osx:exists(/usr/local/bin/pkg-config):PKG_CONFIG=/usr/local/bin/pkg-config + + PKGCONFIG += liblzma +} + + diff --git a/3rdparty/libyaml.pri b/3rdparty/libyaml.pri new file mode 100644 index 00000000..f5b5dc1c --- /dev/null +++ b/3rdparty/libyaml.pri @@ -0,0 +1,17 @@ + +bundled-libyaml { + error("bundled-libyaml is not supported ATM") + +# LIBYAML_PATH = $$PWD/libyaml-0.1.6 +# LIBYAML_BUILD_PATH = $$shadowed($$LIBYAML_PATH) +# +# DEFINES *= YAML_DECLARE_STATIC +# INCLUDEPATH += $$LIBYAML_PATH/include +# LIBS += $$fixLibraryPath(-L$$LIBYAML_BUILD_PATH) -lyaml +# +# CONFIG *= link_prl +} else { + osx:exists(/usr/local/bin/pkg-config):PKG_CONFIG=/usr/local/bin/pkg-config + + PKGCONFIG += yaml-0.1 +} diff --git a/3rdparty/libz.pri b/3rdparty/libz.pri new file mode 100644 index 00000000..d76f2dc0 --- /dev/null +++ b/3rdparty/libz.pri @@ -0,0 +1,18 @@ + +bundled-libz { + error("bundled-libz is not supported ATM") + +# LIBZ_PATH = $$PWD/zlib-1.2.8 +# LIBZ_BUILD_PATH = $$shadowed($$LIBZ_PATH) +# +# INCLUDEPATH += $$LIBZ_PATH +# LIBS += $$fixLibraryPath(-L$$LIBZ_BUILD_PATH) -lz +# +# CONFIG *= link_prl +} else { + osx:exists(/usr/local/bin/pkg-config):PKG_CONFIG=/usr/local/bin/pkg-config + + PKGCONFIG += zlib +} + + |