mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-22 00:15:27 +02:00

This patch moves already existing packaging scripts from jami-project into client-qt. Introduced changes are: + WITH_SUBMODULE must search in system lib too because for packaging client-qt (for rpm) will be built separately, and will depend on jami-daemon. + Fix appdata.xml (replace old wiki with docs.jami.net) + path changes (because we build in client-qt not jami-project). GitLab: #853 Change-Id: I1313830d85c8094fcbcc52e22033a2add7b1e89f
116 lines
2.6 KiB
Scheme
116 lines
2.6 KiB
Scheme
;;; To use with the GNU Guix package manager.
|
|
;;; Available at https://guix.gnu.org/.
|
|
;;;
|
|
;;; Commentary:
|
|
;;;
|
|
;;; A full-blown development environment that can be used to build the
|
|
;;; whole project. The sensitive (i.e., patched) dependencies are
|
|
;;; consciously omitted from this list so that the bundled libraries
|
|
;;; are the ones used, which is usually what is desired for
|
|
;;; development purposes.
|
|
|
|
;;; The build.py script makes use of it to build Jami in a Linux
|
|
;;; container with the dependencies below when Guix is detected (and
|
|
;;; no /etc/os-release file exists) or when explicitly specified,
|
|
;;; e.g.:
|
|
;;;
|
|
;;; $ ./build.py --distribution=guix --install
|
|
;;;
|
|
;;; It can also be invoked directly to spawn a development environment, like so:
|
|
;;;
|
|
;;; $ guix shell --pure --manifest=guix/manifest.scm
|
|
|
|
(specifications->manifest
|
|
(list
|
|
;; Minimal requirements of the daemon contrib build system.
|
|
"coreutils"
|
|
"gcc-toolchain"
|
|
"git-minimal"
|
|
"grep"
|
|
"gzip"
|
|
"make"
|
|
"nss-certs"
|
|
"pkg-config"
|
|
"python"
|
|
"sed"
|
|
"tar"
|
|
"util-linux"
|
|
"wget"
|
|
"xz"
|
|
|
|
;; For the daemon and its contribs.
|
|
"alsa-lib"
|
|
"autoconf"
|
|
"automake"
|
|
"bash"
|
|
"bzip2"
|
|
"cmake"
|
|
"dbus"
|
|
;; Bundled because broken with GCC 7 upstream (unmaintained). When
|
|
;; attempting to use it, it would cause confusing errors such as
|
|
;; "ld: ../src/.libs/libring.a(libupnpcontrol_la-upnp_context.o): in
|
|
;; function `jami::upnp::UPnPContext::updateMappingList(bool)':
|
|
;; upnp_context.cpp:(.text+0xa4be): undefined reference to
|
|
;; `std::__cxx11::basic_ostringstream<char, std::char_traits<char>,
|
|
;; std::allocator<char> >::basic_ostringstream()'
|
|
;;"dbus-c++" ;for dbusxx-xml2cpp
|
|
"diffutils"
|
|
"doxygen"
|
|
"eudev" ;udev library
|
|
"expat"
|
|
"findutils"
|
|
"gawk"
|
|
"gettext"
|
|
"gnutls"
|
|
;;"ffmpeg" ;bundled because patched
|
|
"gmp"
|
|
"gsm"
|
|
"gtk-doc"
|
|
"http-parser"
|
|
"jsoncpp"
|
|
"libarchive"
|
|
"libgit2"
|
|
"libnatpmp"
|
|
"libupnp"
|
|
"libsecp256k1"
|
|
"libtool"
|
|
"libva" ;vaapi
|
|
"libvdpau"
|
|
"libx264"
|
|
"nasm"
|
|
"nettle"
|
|
"openssl"
|
|
"opus"
|
|
"patch"
|
|
"pcre"
|
|
"perl"
|
|
;;"pjproject" ;bundled because patched
|
|
"pulseaudio"
|
|
"speex"
|
|
"speexdsp"
|
|
"which"
|
|
"yaml-cpp"
|
|
"yasm"
|
|
|
|
;; For the Qt client.
|
|
"libxkbcommon"
|
|
"network-manager" ;libnm
|
|
"qrencode"
|
|
"qtbase"
|
|
"qt5compat"
|
|
"qtdeclarative"
|
|
"qtmultimedia"
|
|
"qtnetworkauth"
|
|
"qtpositioning"
|
|
"qtsvg"
|
|
"qttools"
|
|
"qtwebchannel"
|
|
"qtwebengine"
|
|
"vulkan-headers"
|
|
|
|
;; For tests and debugging.
|
|
"file"
|
|
"gdb"
|
|
"googletest"
|
|
"ltrace"
|
|
"strace"))
|