Commit Graph

162 Commits

Author SHA1 Message Date
Chocobo1
7c9488105e
Remove checking for Boost.System
Checking for Boost.System library is libtorrent responsibility as qbt
doesn't use it directly, i.e. it is not a direct dependency for qbt.
2021-04-08 11:26:16 +08:00
Vladimir Golovnev (glassez)
3e5f8c64d4
Raise minimum libtorrent version to 1.2.13 (2.0.3) 2021-03-30 19:56:22 +03:00
Vladimir Golovnev (Glassez)
f022458383
Raise minimum supported Qt version to 5.12 2021-03-13 15:33:58 +03:00
Vladimir Golovnev (Glassez)
f9e286123f
Raise minimum libtorrent version to 1.2.12 2021-01-10 14:38:58 +03:00
Chocobo1
5209b0172b
Migrate away from deprecated AC_OUTPUT macro
The `AC_OUTPUT` has two versions, the deprecated one takes arguments and the other not. Check the
following link for equivalent replacement:
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.70/html_node/Obsolete-Macros.html#Obsolete-Macros

Also regenerate the configure script with the latest Autoconf 2.70.
2021-01-01 12:58:19 +08:00
Chocobo1
d70b893852
Bump project requirement to C++17 2020-12-31 13:28:48 +08:00
Chocobo1
769f0a78d4
Don't use default CFLAGS, CXXFLAGS from autotools
Before this commit, autotools will inject `-g -O2` to debug build
(`--enable-debug=yes`) and rendering the result binary useless. This
commit fixes it.
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.70/html_node/C_002b_002b-Compiler.html

Closes #14032.
2020-12-23 15:28:46 +08:00
FranciscoPombal
6590915b15 Update minimum depedency versions 2020-12-04 12:23:22 +00:00
sledgehammer999
096e6f2f80
Bump to 4.4.0alpha1 2020-10-19 01:22:01 +03:00
Chocobo1
40e432b127
Bump requirement to libtorrent 1.2
Closes #12258.
2020-06-26 17:17:29 +08:00
sledgehammer999
ad0bc5d90d
Bump to 4.3.0alpha1 2019-12-03 01:24:50 +02:00
Chocobo1
d0e084ce1d
Update m4 scripts 2019-10-20 01:28:10 +08:00
Vladimir Golovnev (Glassez)
c7f3693ad1
Implement "Application instances manager" 2019-06-30 20:02:46 +03:00
Chocobo1
38b6ee9e75
Remove workaround for boost 1.39
... by raising minimum version to 1.40.
Bug report: https://svn.boost.org/trac10/ticket/3095
2019-06-23 11:09:05 +08:00
Chocobo1
efe50baddc
Add c++14 to QBT_ADD_CONFIG when appropriate 2019-04-01 16:14:28 +08:00
sledgehammer999
5c63ad3b95
Raise minimum Qt version to 5.9.0 2019-03-04 16:48:49 +02:00
Vladimir Golovnev (Glassez)
302c99d7d5
Drop support of libtorrent < 1.1.10 2019-01-11 15:13:17 +03:00
Chocobo1
814488863d
Enforce C++14 requirement 2018-12-24 15:11:44 +08:00
Chocobo1
6bd5d0b8e9
Cleanup build scripts 2018-12-24 15:10:57 +08:00
Chocobo1
2a428ffd37
Use CC, CXX from environment when available 2018-12-08 13:15:18 +08:00
Chocobo1
8a6cac8338
Make OpenSSL a direct dependency 2018-12-05 13:28:42 +08:00
sledgehammer999
63e4dc566a
Autotools: Replace CPPFLAGS with CXXFLAGS 2018-12-04 16:54:51 +02:00
sledgehammer999
d04d6bfcf8
Autotools: Print Boost LDFLAGS nicer 2018-12-04 16:53:48 +02:00
sledgehammer999
8f5bbe24ce
Autotools: Improve handling of C++ mode 2018-12-04 01:42:14 +02:00
Chocobo1
819a84eb7a
Implement proper C++11 mode detection
Newer compilers have C++14 mode as default and package maintainers tend
to not specifying a C++ version when building a package, this causes
compatibility issues when (for example) qbt is compiled in C++11 and
dependency lib is in C++14. See issue #9485.

What this commit does:
1. Checks if compiler supports at least C++11
2. Checks if compiler is set in at least C++11 mode
2018-11-13 23:06:41 +08:00
Chocobo1
8be949fec3
Revise usage of BOOST_NO_CXX11_RVALUE_REFERENCES
Now the flag will be present when building with boost version <= 1.59.
Closes #8990.
2018-06-13 13:51:58 +08:00
sledgehammer999
c5472edc6f
Bump to v4.2.0alpha 2018-05-05 00:53:20 +03:00
Nick Korotysh
7712d0ada0
Allow to disable Stacktrace support
Enable backtrace stuff only if GNU C library used, because current
backtrace implementation based  on  <execinfo.h> , which is not a
part of standard C library, it is a GNU extension.

This will be usefull when building  with  custom POSIX-compilant C
library (like musl) and no <execinfo.h> available.

Note: configure script will detect presence of  <execinfo.h>  and
enable/disable feature depending on it.

Feature is enabled by default.
2018-04-10 20:51:11 +03:00
sledgehammer999
be5600dae2
Update configure version info. 2018-01-03 23:18:00 +02:00
sledgehammer999
e6ce1dd0b0
configure: Parse all compiler related flags together. 2018-01-03 01:16:39 +02:00
sledgehammer999
25ab660c14
Fix splitting of compiler flags in configure.
Autoconf removes a set of [] during script translation, resulting in a wrong sed command.
2018-01-02 18:15:49 +02:00
Thomas Piccirello
ddd6c82dd7 Use https for www.qbittorrent.org 2017-12-26 18:22:03 -05:00
Evgeny Lensky
428cb9c986 Fix i386 build (configure)
Fix building on i686 fails with wrong multilib library path #7845

and rebregenerate ./configure
2017-11-24 10:28:03 +07:00
Chocobo1
31607c4d18
Simplify AX_BOOST_BASE usage
Regenerate configure
2017-11-17 18:25:46 +08:00
sledgehammer999
173f6fd75d
Check for Qt5Svg when configuring. 2017-08-18 23:00:53 +03:00
sledgehammer999
e2893fe68f
Error out in configure script if the proper Qt/qmake version isn't found.
Closes #7250.
Partially reverts e64bb1de8c.
2017-08-13 20:29:53 +03:00
Anton-Latukha
e00c96df99 systemd service with user switch.
rm previous systemd unit service

cmake now placing new file 'qbittorrent-nox@.service.in'

systemd service now "Type=simple"
2017-06-12 22:58:10 +03:00
Chocobo1
a35c6426ab Specify lib requirement: zlib >= 1.2.5.2 2017-04-20 22:26:35 +08:00
Eugene Shalygin
008d7dbedc Raise minimal Qt version to 5.5.1 2017-03-05 22:24:59 +01:00
Eugene Shalygin
e64bb1de8c Drop Qt 4 support 2017-03-05 22:24:59 +01:00
sledgehammer999
92cfd1f602
Regenerate configure. 2017-02-06 23:07:43 +02:00
Chocobo1
f85b97916c Update ax_boost_system.m4 to d48ec2210047bbf17702700811c3f16a5369e06c 2016-11-10 19:49:07 +08:00
Yez Ezey
4e33af41dd Add --disable-qt-dbus to configure if $host_os is macOS 2016-10-21 14:49:09 +09:00
Boris Nagaev
f4dc5c6809 configure: pass variable QMAKE_LRELEASE to qmake 2016-03-03 07:54:34 +03:00
sledgehammer999
6e09028682 Switch to Qt5 by default. 2015-11-22 22:07:59 +02:00
Gabriele
7bfa847d01 configure: don't depend on GNU sed
Closes #3169.
2015-08-07 00:11:42 +02:00
sledgehammer999
e3cb9de365 Bump minimum libtorrent version required to 1.0.6. 2015-07-31 23:29:59 +03:00
Vladimir Golovnev (Glassez)
e72cc4eaf9 Drop libtorrent 0.16.x support. 2015-07-25 19:00:18 +03:00
Vladimir Golovnev (Glassez)
79976fbfce Implement new GeoIPManager class. 2015-07-22 08:06:51 +03:00
sledgehammer999
6fba6796b8 Fix typo in configure script. 2015-05-13 23:04:12 +03:00