Commit b90816ff authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Remove unused AppImage packaging

parent 2eb7b5b8
Pipeline #58549 passed with stage
in 8 minutes and 33 seconds
......@@ -39,8 +39,6 @@ set(CMAKE_GLOBAL_PROFILE
-DBUILD_TESTING=FALSE
)
# without --host=x86_64 gmp builds with optimizations for skylake and that prevents running KMyMoney on pre-skylake CPUs
set(AT_HOST --host=x86_64-linux-gnu)
set(AT_SHARED_ONLY --disable-static --enable-shared)
set(AT_CPP_FLAGS "-I${EXT_INSTALL_DIR}/include -I${EXT_INSTALL_DIR}/openssl/include")
set(AT_LD_FLAGS "-L${EXT_INSTALL_DIR}/lib -L${EXT_INSTALL_DIR}/openssl/lib")
......@@ -65,20 +63,15 @@ add_subdirectory( ext_xslt )
add_subdirectory( ext_fontconfig )
add_subdirectory( ext_intltool )
add_subdirectory( ext_sharedmimeinfo )
add_subdirectory( ext_gmp )
add_subdirectory( ext_gpgerror )
add_subdirectory( ext_assuan2 )
add_subdirectory( ext_nettle )
add_subdirectory( ext_tasn1 )
add_subdirectory( ext_unistring )
add_subdirectory( ext_cmake )
add_subdirectory( ext_gnutls )
add_subdirectory( ext_pcre2 )
add_subdirectory( ext_freetype )
add_subdirectory( ext_harfbuzz )
add_subdirectory( ext_sqlite )
add_subdirectory( ext_openssl )
add_subdirectory( ext_mysql )
add_subdirectory( ext_tcl )
add_subdirectory( ext_postgresql )
add_subdirectory( ext_qt )
......@@ -87,9 +80,6 @@ add_subdirectory( ext_gpgme )
add_subdirectory( ext_gcrypt )
add_subdirectory( ext_frameworks )
add_subdirectory( ext_xmlsec1 )
add_subdirectory( ext_sqlcipher )
add_subdirectory( ext_opensp )
add_subdirectory( ext_ofx )
add_subdirectory( ext_libsndfile )
add_subdirectory( ext_libsamplerate )
add_subdirectory( ext_alsa )
......
ExternalProject_Add(
ext_alkimia
DOWNLOAD_DIR ${EXT_DOWNLOAD_DIR}
URL https://download.kde.org/stable/alkimia/7.0.2/alkimia-7.0.2.tar.xz
URL_MD5 d826e092f56e528c70c00748a04e4957
CMAKE_ARGS ${CMAKE_GLOBAL_PROFILE}
DEPENDS ext_gmp
)
ExternalProject_Add(
ext_aqbanking
DOWNLOAD_DIR ${EXT_DOWNLOAD_DIR}
URL https://www.aquamaniac.de/sites/download/download.php?package=03&release=217&file=02&dummy=aqbanking-5.7.8.tar.gz
URL_MD5 6aceeaad3a1000f22f08986e68946db3
CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=${EXT_INSTALL_DIR} ${AT_HOST} ${AT_SHARED_ONLY} CPPFLAGS=${AT_CPP_FLAGS} LDFLAGS=${AT_LD_FLAGS}
BUILD_COMMAND $(MAKE)
INSTALL_COMMAND $(MAKE) install
DEPENDS ext_gwenhywfar ext_ktoblzcheck ext_xmlsec1 ext_gmp
)
ExternalProject_Add(
ext_gmp
DOWNLOAD_DIR ${EXT_DOWNLOAD_DIR}
URL https://gmplib.org/download/gmp/gmp-6.1.2.tar.bz2
URL_MD5 8ddbb26dc3bd4e2302984debba1406a5
CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=${EXT_INSTALL_DIR} ${AT_HOST} ${AT_SHARED_ONLY} --enable-cxx
BUILD_COMMAND $(MAKE)
INSTALL_COMMAND $(MAKE) install
)
ExternalProject_Add(
ext_gnutls
DOWNLOAD_DIR ${EXT_DOWNLOAD_DIR}
URL https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-3.6.4.tar.xz
URL_MD5 63363d1c00601f4d11a5cadc8b5e0799
CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=${EXT_INSTALL_DIR} ${AT_HOST} ${AT_SHARED_ONLY} --disable-tests --disable-doc --enable-openssl-compatibility -disable-gtk-doc --enable-cxx --without-p11-kit CPPFLAGS=${AT_CPP_FLAGS} LDFLAGS=${AT_LD_FLAGS}
BUILD_COMMAND $(MAKE)
INSTALL_COMMAND $(MAKE) install
DEPENDS ext_assuan2 ext_gpgerror ext_nettle ext_tasn1 ext_unistring
)
ExternalProject_Add(
ext_mysql
DOWNLOAD_DIR ${EXT_DOWNLOAD_DIR}
URL https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-boost-8.0.12.tar.gz
URL_MD5 82ba7cc22755f77635768c6e6d184161
CMAKE_ARGS ${CMAKE_GLOBAL_PROFILE}
-DWITH_BOOST=<SOURCE_DIR>/boost
-DBUILD_CONFIG=mysql_release
-DWITH_LZMA=system
-DWITH_ICU=system
-DINSTALL_STATIC_LIBRARIES=OFF
-DIGNORE_AIO_CHECK=1
# -DCPACK_MONOLITHIC_INSTALL=1
BUILD_COMMAND "" # on default whole server would be built
INSTALL_COMMAND ""
DEPENDS ext_ncurses ext_openssl
)
# build and install client only
ExternalProject_Add_Step(
ext_mysql client
COMMAND ${CMAKE_MAKE_PROGRAM}
COMMAND ${CMAKE_MAKE_PROGRAM} install
DEPENDEES install
WORKING_DIRECTORY <BINARY_DIR>/libmysql
)
ExternalProject_Add_Step(
ext_mysql scripts
COMMAND ${CMAKE_MAKE_PROGRAM}
COMMAND ${CMAKE_MAKE_PROGRAM} install
DEPENDEES client
WORKING_DIRECTORY <BINARY_DIR>/scripts
)
# build and install headers
ExternalProject_Add_Step(
ext_mysql headers
COMMAND ${CMAKE_MAKE_PROGRAM}
COMMAND ${CMAKE_MAKE_PROGRAM} install
DEPENDEES scripts
WORKING_DIRECTORY <BINARY_DIR>/include)
ExternalProject_Add(
ext_nettle
DOWNLOAD_DIR ${EXT_DOWNLOAD_DIR}
URL http://www.lysator.liu.se/~nisse/archive/nettle-3.4.tar.gz
URL_MD5 dc0f13028264992f58e67b4e8915f53d
CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=${EXT_INSTALL_DIR} ${AT_HOST} ${AT_SHARED_ONLY} --enable-public-key --disable-documentation --with-lib-path=${EXT_INSTALL_DIR}/lib --with-include-path=${EXT_INSTALL_DIR}/include
BUILD_COMMAND $(MAKE)
INSTALL_COMMAND $(MAKE) install
DEPENDS ext_gmp
)
set(ofx_openSPIncludeDir "${EXT_INSTALL_DIR}/include/OpenSP")
set(ofx_openSPLibDir "${EXT_INSTALL_DIR}/lib")
ExternalProject_Add(
ext_ofx
DOWNLOAD_DIR ${EXT_DOWNLOAD_DIR}
URL http://downloads.sourceforge.net/project/libofx/libofx/libofx-0.9.13.tar.gz
URL_MD5 dde6276ffe2999f86bed5bf2cc80f7b2
CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=${EXT_INSTALL_DIR} ${AT_HOST} ${AT_SHARED_ONLY} --with-opensp-includes=${ofx_openSPIncludeDir} --with-opensp-libs=${ofx_openSPLibDir}
BUILD_COMMAND $(MAKE)
INSTALL_COMMAND $(MAKE) install
DEPENDS ext_opensp
)
ExternalProject_Add(
ext_opensp
DOWNLOAD_DIR ${EXT_DOWNLOAD_DIR}
URL http://downloads.sourceforge.net/project/openjade/opensp/1.5.2/OpenSP-1.5.2.tar.gz
URL_MD5 670b223c5d12cee40c9137be86b6c39b
CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=${EXT_INSTALL_DIR} ${AT_HOST} ${AT_SHARED_ONLY} --disable-doc-build
BUILD_COMMAND $(MAKE)
INSTALL_COMMAND $(MAKE) install
)
ExternalProject_Add(
ext_postgresql
DOWNLOAD_DIR ${EXT_DOWNLOAD_DIR}
URL https://ftp.postgresql.org/pub/source/v11.0/postgresql-11.0.tar.bz2
URL_MD5 338ede84c0443db02ff6e8c4c8cbc5e9
CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=${EXT_INSTALL_DIR} --with-libxml --with-libxslt --with-icu --with-tcl --enable-thread-safety --without-readline --with-openssl --with-libraries=${EXT_INSTALL_DIR}/lib --with-includes=${EXT_INSTALL_DIR}/include CPPFLAGS=${AT_CPP_FLAGS} LDFLAGS=${AT_LD_FLAGS}
BUILD_COMMAND rsync -a --ignore-existing src/backend/utils/ src/include/utils/
COMMAND rsync -a --ignore-existing src/backend/catalog/ src/include/catalog/
COMMAND $(MAKE) -C src/bin install
COMMAND $(MAKE) -C src/include install
COMMAND $(MAKE) -C src/interfaces install
INSTALL_COMMAND ""
UPDATE_COMMAND ""
BUILD_IN_SOURCE 1
DEPENDS ext_readline ext_tcl ext_xslt ext_openssl
)
ExternalProject_Add(
ext_sqlcipher
DOWNLOAD_DIR ${EXT_DOWNLOAD_DIR}
URL https://github.com/sqlcipher/sqlcipher/archive/v3.4.2.zip
URL_MD5 f12c5975d784856ea89f83cfc9af1a6c
CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=${EXT_INSTALL_DIR} ${AT_HOST} ${AT_SHARED_ONLY} CPPFLAGS=${AT_CPP_FLAGS} LDFLAGS=${AT_LD_FLAGS} --enable-tempstore=yes CFLAGS=-DSQLITE_HAS_CODEC
BUILD_COMMAND $(MAKE)
INSTALL_COMMAND $(MAKE) install
DEPENDS ext_tcl
)
ExternalProject_Add(
ext_tasn1
DOWNLOAD_DIR ${EXT_DOWNLOAD_DIR}
URL http://ftp.gnu.org/gnu/libtasn1/libtasn1-4.13.tar.gz
URL_MD5 ce2ba4d3088119b48e7531a703669c52
CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=${EXT_INSTALL_DIR} ${AT_HOST} ${AT_SHARED_ONLY}
BUILD_COMMAND $(MAKE)
INSTALL_COMMAND $(MAKE) install
)
ExternalProject_Add(
ext_tcl
DOWNLOAD_DIR ${EXT_DOWNLOAD_DIR}
URL https://github.com/tcltk/tcl/archive/core-8-6-8.zip
URL_MD5 8fd508d3d2216b9c75895d6141219eab
CONFIGURE_COMMAND <SOURCE_DIR>/unix/configure --prefix=${EXT_INSTALL_DIR} ${AT_HOST} ${AT_SHARED_ONLY} --enable-threads --enable-64bit
BUILD_COMMAND $(MAKE)
INSTALL_COMMAND $(MAKE) install
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment