Commit graph

189 commits

Author SHA1 Message Date
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
LazyBui
be62c34e46 Removing the confusion caused by moving GeoIP code/.dat to a different directory 2015-05-13 00:15:10 -05:00
sledgehammer999
e2ac4ebf9d Merge pull request #2977 from pmzqla/configure-whitespace
configure: don't fail when $CPPFLAGS starts with a white space
2015-05-11 19:03:57 +03:00
Gabriele
b67a10c4a1 configure: don't fail when $CPPFLAGS starts with a white space 2015-05-11 13:49:20 +02:00
sledgehammer999
fc52248bf7 Correctly detect FreeBSD when configuring.
Thanks to yurivict for helping.
Closes #2962.
2015-05-11 00:29:46 +03:00
sledgehammer999
4725022f7e Fix configure typo. 2015-05-11 00:29:42 +03:00
sledgehammer999
6c1740f78f Fix typo in configure script help description. 2015-05-02 23:51:51 +03:00
sledgehammer999
0994d258e2 Use absolute path to nox binary in the systemd service file. Also generate the service file with configure. Closes #2914. 2015-05-02 23:46:34 +03:00
sledgehammer999
4493fd9c31 Allow to use system QJson. Closes #1744. 2015-04-12 14:01:32 +03:00
sledgehammer999
b117393345 Revert "Make Qt4 usage explicit." due to #2835.
This reverts commit 86f9cc1b8c.

Conflicts:
	configure
2015-04-11 23:43:55 +03:00
sledgehammer999
4612abb41e Make qmake regenerate recursively all makefiles in subdirectories when reconfiguring. Closes #2111. 2015-04-05 20:21:06 +03:00
sledgehammer999
72f03b4002 Make libtorrent-rasterbar 0.16.x usage explicit. 2015-04-05 19:46:48 +03:00
sledgehammer999
86f9cc1b8c Make Qt4 usage explicit. 2015-04-05 19:14:00 +03:00
sledgehammer999
6b3555bd90 Add systemd configure option. Closes #921. 2015-04-05 16:37:28 +03:00
sledgehammer999
66bb7ce52c Drop pkg-config version requirement to 0.23. Closes #2645. 2015-04-05 14:17:22 +03:00
Gabriele
6b248492ca Use correct operator to compare strings in configure script
To compare strings, = should be used instead of ==.

Closes #2627.
2015-02-28 14:39:36 +01:00
Vladimir Golovnev (Glassez)
ff9a281b72 Change project directory structure.
Change project directory structure according to application structure.
Change 'nox' configuration option to something more meaningful 'nogui'.
Rename 'Icons' folder to 'icons' (similar to other folders).
Partially add 'nowebui' option support.
Remove QConf project file.
2015-02-05 19:10:26 +03:00
David Christenson
26bf838a0b Bootstrap and update build-aux 2015-01-29 17:49:41 -07:00
sledgehammer999
f46a7c1d3f Fix detection of Qt5. 2014-11-26 15:26:12 +02:00
sledgehammer999
950574c4c5 Make configure detect qmake with different names. Closes #1924. 2014-11-23 20:24:57 +02:00
sledgehammer999
3008d12c3c Try to fix FreeBSD detection with configure. 2014-11-23 20:04:54 +02:00
sledgehammer999
09c9968210 Fix QtBus detection with configure. 2014-11-23 19:59:47 +02:00
sledgehammer999
112dd20395 Make configure search for sed. 2014-11-23 19:59:27 +02:00
sledgehammer999
441f63d9af LINUX: Fix build with libtorrent 1.0.x. Closes #1878. 2014-11-23 19:43:14 +02:00
Jerome Leclanche
5a3927a22d Fix configure script when running with dash
`test 1 == 1` will fail using dash as the default shell. The `test 1 = 1`
syntax works in both Bash and Dash.
2014-11-12 14:54:07 +01:00
sledgehammer999
e6b2919eb2 Support out of srcdir builds. 2014-05-08 00:57:11 +03:00
sledgehammer999
380438f99b Migrate the build system to autotools. 2014-05-04 15:28:58 +03:00
sledgehammer999
046420e7bd Fix build system under Ubuntu 13.10. Closes #1061 #1130 #1124. 2013-11-26 23:49:30 +02:00
sledgehammer999
b4dca951b2 Drop libtorrent 0.15.x support. 2013-10-23 22:19:58 +03:00
Christophe Dumez
7f7802680b Update configure script to stop requiring libboost-thread 2013-07-06 20:01:32 +03:00
Christophe Dumez
bd4bb42e95 Link against boost thread 2012-02-26 21:24:32 +02:00
Christophe Dumez
8e529fc179 RSS code clean up
- Also drops support for Qt 4.5
2012-02-20 20:49:31 +02:00
Christophe Dumez
a53a70742d Drop support for libtorrent v0.14.x 2012-02-18 16:44:20 +02:00
Christophe Dumez
f6b7b8bd6e Get rid of libboost-filesystem dependency if libtorrent >= v0.16.x is used 2011-10-25 20:56:54 +03:00
Christophe Dumez
7354e9b738 Fix nox building 2011-09-22 21:42:31 +03:00
Christophe Dumez
0c2a121304 Fix possible linking problems 2011-04-16 19:59:35 +00:00
Christophe Dumez
40bd040c4a Improvement to last commit 2011-04-16 08:22:34 +00:00
Christophe Dumez
0241fa7593 Make sure asserts are disabled in release mode 2011-04-16 08:18:58 +00:00
Christophe Dumez
d0afd46fd3 Get rid of libnotify dependency (Use DBus instead) 2011-04-02 08:54:28 +00:00
Christophe Dumez
93a84655b6 Get rid of QtSVG dependency 2011-03-26 09:03:12 +00:00
Christophe Dumez
5dc79e67fc Made QtSvg dependency optional 2011-03-12 21:02:59 +00:00
Christophe Dumez
b6c3189fe3 Make QtDBus dependency optional 2011-03-07 20:22:35 +00:00
Christophe Dumez
02722dc3c9 Drop dependency on libboost-thread 2011-01-22 19:01:16 +00:00
Christophe Dumez
cb719e2bf5 Fix freebsd compilation 2011-01-15 09:30:41 +00:00
Christophe Dumez
888427d2df Fix configure script 2011-01-02 17:30:31 +00:00
Christophe Dumez
b09b1bb285 Fix configure script 2011-01-01 17:15:47 +00:00
Christophe Dumez
2b179a53bf Added --enable-debug switch to the configure script and remove related code from the project file 2011-01-01 17:03:23 +00:00
Christophe Dumez
879f59c922 Fix wrong message in configure help 2010-12-05 18:14:21 +00:00
Christophe Dumez
b7ae2eabc7 Further project file clean up 2010-11-20 17:32:59 +00:00
Christophe Dumez
c9ff34af8d Further project file clean up 2010-11-20 17:26:47 +00:00
Christophe Dumez
8a1e79d22f Restructured the project file
Move OS specific configuration to separate project files
2010-11-20 17:21:40 +00:00
Christophe Dumez
a27d2dcac2 Big restructuring of the RSS code
Dropped Qt 4.4 support
2010-10-16 17:39:03 +00:00
Christophe Dumez
208e988c70 Added --with-qtsingleapplication=[shipped|system] flag to the configure file to comply with Linux distributions that are packaging qtsingleapplication solution. 2010-07-20 21:10:58 +00:00
Christophe Dumez
107b833703 Imported recent patches from stable branch 2010-07-20 17:13:28 +00:00
Christophe Dumez
70f2bfdd9a Updated configure file to remove our libtorrent DEFINE 2010-06-07 08:36:06 +00:00
Christophe Dumez
b94ecb2383 Added support for single-thread boost 2010-04-09 18:45:33 +00:00
Christophe Dumez
34052ce8f9 Less dependencies for nox 2010-04-09 15:26:41 +00:00
Christophe Dumez
e4399412b6 Attempt to fix compatibility with libboost v1.34 2010-04-07 09:52:43 +00:00
Christophe Dumez
37650d8156 Improved libboost detection again 2010-04-07 09:48:04 +00:00
Christophe Dumez
6148e6b192 Improved libbost detection 2010-04-07 09:35:43 +00:00
Christophe Dumez
057743a779 Do not display a warning when libtorrent < 0.14.x is detected since it is the advised version 2010-04-07 09:06:11 +00:00
Christophe Dumez
e5b8b41373 Several compilation and execution fixes for Windows and OS/2
Cleaner binutils gold linker support
2010-03-30 11:35:20 +00:00
Christophe Dumez
e082c02630 Make use of QT_VERSION define instead of using our own define 2010-03-04 18:40:11 +00:00
Christophe Dumez
98d0c00f85 Link against boost and ssl to fix issues with gold linker 2010-02-09 12:01:13 +00:00
Christophe Dumez
bc89845523 - Improve configure file output 2010-01-19 23:12:13 +00:00
Christophe Dumez
9ffe9c2006 - Configure file now checks for pkg-config executable since it is required to detect libtorrent-rasterbar 2010-01-19 22:55:49 +00:00
Christophe Dumez
31105aefe4 - Updated configure file (libtorrent >= 0.14.4 is required) 2010-01-18 17:10:25 +00:00
Christophe Dumez
0b7ca15c4f - Added --disable-gui flag to configure file (adds DISABLE_GUI define) 2009-12-15 10:36:18 +00:00
Christophe Dumez
ed1d75ecb1 - Also look in /var/lib/GeoIP/GeoIP.dat for GeoIP database (OpenSuse 11.2)
* Thanks to Mariusz Fik for his report and patch
2009-12-08 07:55:08 +00:00
Christophe Dumez
968a5f3017 - No longer ships GeoIP database since most distributions provide it in a separate package
- GeoIP database is no longer embedded in qBittorrent executable unless --with-geoip-database-embedded parameter is passed to configure (see src/geoip/REAME)
- Dropped "CONFIG += x11 network" in project file since it does not seem to be required
- Updated configure file to reflect Geoip changes
2009-12-07 20:54:47 +00:00
Christophe Dumez
893c5e6784 FEATURE: Display close tab button into the tabs in search engine (Qt >= 4.5 only) 2009-11-26 21:11:37 +00:00
Christophe Dumez
91efa0e2d4 - COSMETIC: Make use of libnotify if available for system notifications (Now default on Ubuntu) instead of the Qt notification system 2009-11-25 20:32:18 +00:00
Christophe Dumez
4ca2d060ea - Make everything compile back with libtorrent v0.14
- Fix crash in search engine destructor if downloads are running
2009-11-18 10:29:20 +00:00
Christophe Dumez
2b5522e165 - Dropped dependency on libzzip 2009-11-17 17:20:25 +00:00