Compare commits
	
		
			324 Commits
		
	
	
		
			release-2.
			...
			release-2.
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 51c01a7f24 | ||
|   | 3e27595cf1 | ||
|   | 44ab905131 | ||
|   | 2a04ac55de | ||
|   | 45ad494a3e | ||
|   | 78fe44ec01 | ||
|   | 536bd85fd0 | ||
|   | 84705489fc | ||
|   | ff085e955e | ||
|   | 4b62c24e54 | ||
|   | c7658e2e96 | ||
|   | 9fe693630c | ||
|   | 3bba7578af | ||
|   | 53b6a25442 | ||
|   | 5e7de313fc | ||
|   | 8c91e9d4e2 | ||
|   | 078ee59b4e | ||
|   | 438e277c42 | ||
|   | a4c1b93a42 | ||
|   | 82877a9afa | ||
|   | 6bee757652 | ||
|   | d8cdc3094a | ||
|   | db455c9832 | ||
|   | b6c931905a | ||
|   | 6647973391 | ||
|   | 4c85ea678d | ||
|   | dc27b5e976 | ||
|   | 4828f6190e | ||
|   | 84a0f92546 | ||
|   | e3a9194010 | ||
|   | 727e212b8e | ||
|   | df64ede724 | ||
|   | 8a07e01181 | ||
|   | d67d4a38ce | ||
|   | 3b898c52d3 | ||
|   | 4e79411d9f | ||
|   | 524875e458 | ||
|   | 3c75774cfb | ||
|   | 596737ba2f | ||
|   | e142aafea1 | ||
|   | 09da69918e | ||
|   | e0c2e3dd2c | ||
|   | 5dc79e67fc | ||
|   | 14341f3be2 | ||
|   | 2acf90d813 | ||
|   | ae1d6492d0 | ||
|   | 0a0579bc8b | ||
|   | ead93baa21 | ||
|   | 39bad79f5a | ||
|   | f25b198516 | ||
|   | 15d3b07f34 | ||
|   | feeecbf395 | ||
|   | e7abeb9bd4 | ||
|   | 879a010c3d | ||
|   | 89e64a212e | ||
|   | 82c7c02611 | ||
|   | b6c3189fe3 | ||
|   | 82e41f36ee | ||
|   | 4b1eade157 | ||
|   | b79ed40e32 | ||
|   | d06e0b639e | ||
|   | d1cfb4f066 | ||
|   | efa1f4ebb4 | ||
|   | fa4eda9c87 | ||
|   | 1efb122d9c | ||
|   | c2e5ecaaa0 | ||
|   | 313dfd6475 | ||
|   | 8dd753ce46 | ||
|   | 435d0e1019 | ||
|   | 37cd9c5b7b | ||
|   | 8b9971003d | ||
|   | 79cdad47f1 | ||
|   | 8f1276350e | ||
|   | c05e6ba580 | ||
|   | 2da5e03741 | ||
|   | a9ce197d04 | ||
|   | 1bce5b7837 | ||
|   | 74718bc568 | ||
|   | 217937217d | ||
|   | af1dfd41ab | ||
|   | 54c6ccc087 | ||
|   | d9e15e40f4 | ||
|   | 12d1e852f4 | ||
|   | 802d262776 | ||
|   | 04b63829d7 | ||
|   | 8568b29cc1 | ||
|   | b1471c2a45 | ||
|   | a86b87244d | ||
|   | e431b96ca1 | ||
|   | ce5cdd0eea | ||
|   | c5a831b8ec | ||
|   | 872002b730 | ||
|   | cb6fad87de | ||
|   | 0f1473e212 | ||
|   | b45171ba43 | ||
|   | 28b8f36f16 | ||
|   | 35c1389794 | ||
|   | 6ae7db4afb | ||
|   | 7b646018ea | ||
|   | 4c7a5633da | ||
|   | 76d3e9033d | ||
|   | c9d5370dc4 | ||
|   | 7cdbe8ef34 | ||
|   | 8b819d7e9e | ||
|   | 7f0c8dde24 | ||
|   | 74c32a0ecd | ||
|   | 87174ef3a4 | ||
|   | 462c821df9 | ||
|   | 42d7e20c1d | ||
|   | 933b924766 | ||
|   | be15e6d34c | ||
|   | d6997e7833 | ||
|   | e94769b58b | ||
|   | 7616c22897 | ||
|   | 138cd90736 | ||
|   | 9aae8040ef | ||
|   | 2d5612435c | ||
|   | 2b1e4912f2 | ||
|   | b1fe50e056 | ||
|   | 09a45abd92 | ||
|   | adf615d0cc | ||
|   | 954e010493 | ||
|   | 86b4db75be | ||
|   | 587c4f3b14 | ||
|   | 8238c13dc0 | ||
|   | 5c8dd9f0fb | ||
|   | dfcdb18b41 | ||
|   | e402674092 | ||
|   | 783004ae58 | ||
|   | 6ff7c6ed06 | ||
|   | a0ecbe01a1 | ||
|   | 47c2f2e30a | ||
|   | 721fa821f7 | ||
|   | 6580d23263 | ||
|   | 0b874d9c42 | ||
|   | 679c91435d | ||
|   | d68b7fc9cb | ||
|   | 02722dc3c9 | ||
|   | 844bd52c67 | ||
|   | 51bc67042e | ||
|   | a8978b2ae4 | ||
|   | fcf3b8e14a | ||
|   | 015bdc7930 | ||
|   | 370b986ab1 | ||
|   | 9d7591fc84 | ||
|   | 9b6b357c9e | ||
|   | 8fd7b86f45 | ||
|   | 35a4e4aa1c | ||
|   | d24abc3088 | ||
|   | 615e08b74f | ||
|   | 4644b5cf15 | ||
|   | cb719e2bf5 | ||
|   | ab8e35b6b4 | ||
|   | 76ea7525e3 | ||
|   | 64615adc23 | ||
|   | a205591178 | ||
|   | 25e27f4614 | ||
|   | 4a66c33a2c | ||
|   | 16be6fe474 | ||
|   | e170d9c3a8 | ||
|   | 3adc58bb87 | ||
|   | 55aa6c36ee | ||
|   | 350bf0ffd4 | ||
|   | a9565e363a | ||
|   | 378e24411c | ||
|   | 22c785b951 | ||
|   | eb0053fe48 | ||
|   | 6996ccc2c8 | ||
|   | fcef304427 | ||
|   | bf5c1951ba | ||
|   | e931209860 | ||
|   | db4520a13b | ||
|   | 4305e6b1e0 | ||
|   | b173458814 | ||
|   | 833750513b | ||
|   | 9e63a0babb | ||
|   | e48909dea4 | ||
|   | f306d02ac9 | ||
|   | f9f3642116 | ||
|   | 1537c70988 | ||
|   | 847a6c75d7 | ||
|   | ecffc5e550 | ||
|   | 65e9401c5d | ||
|   | ae3632e5c1 | ||
|   | 9ba3862be1 | ||
|   | 793c1be9bd | ||
|   | 1ce6f4a7c3 | ||
|   | 816cfefbac | ||
|   | 0eec718354 | ||
|   | b80148c7e4 | ||
|   | 3bc946bfb9 | ||
|   | a62169001e | ||
|   | 3ccc69848d | ||
|   | 5191a43923 | ||
|   | f9e887900e | ||
|   | 82553471cc | ||
|   | bba7b366ef | ||
|   | 355e776852 | ||
|   | c1aec8671a | ||
|   | 01b9e5c754 | ||
|   | 3ccb2fddff | ||
|   | 0d55befc1f | ||
|   | 57ad73c4e9 | ||
|   | a5ff654baf | ||
|   | 3177668d61 | ||
|   | 6367953c26 | ||
|   | b3baf52387 | ||
|   | f40ca3eadf | ||
|   | c8d02fc10e | ||
|   | 759fe77e7f | ||
|   | f6b96694e0 | ||
|   | 818a032aac | ||
|   | fb443bb6e7 | ||
|   | 4790949e16 | ||
|   | 8b8e837f78 | ||
|   | 93b295e8c4 | ||
|   | 2955f9d82a | ||
|   | 813095b912 | ||
|   | 0ae42b375d | ||
|   | fb03982312 | ||
|   | 41cd8428b2 | ||
|   | b03fa32624 | ||
|   | e19a5df968 | ||
|   | 3a2ecc6dee | ||
|   | ace3995847 | ||
|   | b3ddb21d88 | ||
|   | 50ad2597c4 | ||
|   | 1d33211004 | ||
|   | 37b4cb9d06 | ||
|   | 888427d2df | ||
|   | 30d94d7c4d | ||
|   | 1fb510b2b0 | ||
|   | 214c3cba73 | ||
|   | 7a7d351017 | ||
|   | b3f89027fc | ||
|   | 636f9b2912 | ||
|   | 81cf3782c0 | ||
|   | eabda8ee75 | ||
|   | b09b1bb285 | ||
|   | a8c2bc37c2 | ||
|   | 2b179a53bf | ||
|   | b9afd63080 | ||
|   | 83ff66e0b1 | ||
|   | 5dfca9c685 | ||
|   | 6f6b938dfc | ||
|   | 1b08c087c0 | ||
|   | 6d241270b5 | ||
|   | 155316c30e | ||
|   | 64f4775a81 | ||
|   | 5696944c6f | ||
|   | a9fbef62b6 | ||
|   | cc4e1c5bbe | ||
|   | 20d90e0e0c | ||
|   | be32669baf | ||
|   | f772e28bf9 | ||
|   | 486f9c55dd | ||
|   | 44864be673 | ||
|   | 8247709a13 | ||
|   | d20384b3a0 | ||
|   | d2b6ed950d | ||
|   | ddf5779756 | ||
|   | 8def5c5a1b | ||
|   | 57c1df1d1e | ||
|   | 694f7b172a | ||
|   | e93ef4a959 | ||
|   | 384eaf54ef | ||
|   | c14deec893 | ||
|   | 35ea06214a | ||
|   | 64df47b49f | ||
|   | 050601498c | ||
|   | 1d28eeb3d7 | ||
|   | b060f967d7 | ||
|   | af63ba9a8d | ||
|   | 747eb4562a | ||
|   | 61d9f68bee | ||
|   | ab579e3449 | ||
|   | 9fc60abc1a | ||
|   | 77445645db | ||
|   | bc035b3873 | ||
|   | a421c2aa63 | ||
|   | f639bea467 | ||
|   | fb81d1c8c9 | ||
|   | f5b3564392 | ||
|   | 6bcbfa2e05 | ||
|   | 4065972179 | ||
|   | 897d0be08e | ||
|   | c3b7aeadd7 | ||
|   | 89abde61d6 | ||
|   | 4614764552 | ||
|   | c3322cdc91 | ||
|   | d124c24e89 | ||
|   | a48ef3f94f | ||
|   | 15ab369f62 | ||
|   | 29426265a7 | ||
|   | 9742bb016b | ||
|   | 78f71a9e1b | ||
|   | d31f55ae28 | ||
|   | 7294cdafbf | ||
|   | 493499cded | ||
|   | 2cc82c6256 | ||
|   | 1696504a57 | ||
|   | ef84e95ec0 | ||
|   | c307a7477a | ||
|   | 02dcfb2763 | ||
|   | f510852cd7 | ||
|   | 25ead318da | ||
|   | ebf97a9ee8 | ||
|   | 473a74af93 | ||
|   | b61e4363f5 | ||
|   | 0b9a4e8aee | ||
|   | 052825e5c4 | ||
|   | e72d9de34a | ||
|   | 8d699dc177 | ||
|   | 216c70b758 | ||
|   | e1fef17311 | ||
|   | 7bb44e725b | ||
|   | c80e95b219 | ||
|   | 879f59c922 | ||
|   | 0fa79f0d63 | ||
|   | 264ac4e706 | ||
|   | dff1e65634 | ||
|   | ec37673a21 | ||
|   | 3feffdf8fa | ||
|   | 8bcb51ba9c | 
							
								
								
									
										10
									
								
								AUTHORS
									
									
									
									
									
								
							
							
						
						| @@ -2,6 +2,7 @@ Author: | ||||
| * Christophe Dumez <chris@qbittorrent.org> | ||||
|  | ||||
| Contributors: | ||||
| * Vladimir Golovnev <glassez@yandex.ru> | ||||
| * Stefanos Antaris <santaris@csd.auth.gr> | ||||
| * Mohammad Dib <mdib@qbittorrent.org> | ||||
| * Mirco Chinelli <infinity89@fastwebmail.it> | ||||
| @@ -49,6 +50,10 @@ Images Authors: | ||||
|   copyright: Greg Houston <gregory.houston@gmail.com> | ||||
|   license: MIT | ||||
|  | ||||
| * file: src/Icons/skin/qbittorrent_mono.svg | ||||
|   copyright: Daniel Eguren <deguren@gmail.com> | ||||
|   license: LGPL | ||||
|  | ||||
| * file: src/search_engine/engines/btjunkie.png | ||||
|   copyright: Downloaded from btjunkie.org | ||||
|  | ||||
| @@ -68,6 +73,7 @@ Translations authors: | ||||
| * files: src/lang/*.ts | ||||
|   copyright: | ||||
|   - Arabic: SDERAWI (abz8868@msn.com) and sn51234 (nesseyan@gmail.com) | ||||
|   - Armenian: Hrant Ohanyan (hrantohanyan@mail.am) | ||||
|   - Brazilian: Nick Marinho (nickmarinho@gmail.com) | ||||
|   - Bulgarian: Tsvetan & Boyko Bankoff (emerge_life@users.sourceforge.net) | ||||
|   - Catalan: Francisco Luque Contreras (frannoe@ya.com) | ||||
| @@ -80,13 +86,15 @@ Translations authors: | ||||
|   - English: Christophe Dumez (chris@qbittorrent.org) | ||||
|   - Finnish: Niklas Laxström (nikerabbit@users.sourceforge.net) | ||||
|   - French: Christophe Dumez (chris@qbittorrent.org) | ||||
|   - Galician: Marcos Lans (marcoslansgarza@gmail.com) | ||||
|   - German: Niels Hoffmann (zentralmaschine@users.sourceforge.net) | ||||
|   - Greek: Tsvetan Bankov (emerge_life@users.sourceforge.net) and Stephanos Antaris (santaris@csd.auth.gr) | ||||
|   - Hungarian: Majoros Péter (majoros.j.p@t-online.hu) | ||||
|   - Italian: Matteo Sechi (bu17714@gmail.com) | ||||
|   - Japanese: Nardog (alphisation@gmail.com) | ||||
|   - Korean: Jin Woo Sin (jin828sin@users.sourceforge.net) | ||||
|   - Norwegian: Lars-Erik Labori (hamil@users.sourceforge.net) | ||||
|   - Lithuanian: Naglis Jonaitis (njonaitis@gmail.com) | ||||
|   - Norwegian: Tomaso | ||||
|   - Polish: Mariusz Fik (fisiu@opensuse.org) | ||||
|   - Portuguese: Nick Marinho (nickmarinho@gmail.com) | ||||
|   - Romanian: Obada Denis (obadadenis@users.sourceforge.net) | ||||
|   | ||||
							
								
								
									
										54
									
								
								Changelog
									
									
									
									
									
								
							
							
						
						| @@ -1,24 +1,38 @@ | ||||
| * Sat Jan 1 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.5.3 | ||||
|     - BUGFIX: Fix priority up/down for multiple torrents at the same time (closes #692184) | ||||
|     - BUGFIX: Make sure the number of torrents is properly set on startup (closes #694135) | ||||
|     - BUGFIX: Fix scan directories saving (closes #694768) | ||||
|     - BUGFIX: Remove empty folders on torrent soft deletion (closes #695174) | ||||
|     - BUGFIX: Make sure the main window has focus on startup | ||||
|     - BUGFIX: Fix ampersand display in search tabs (closes #695715) | ||||
| * Sun Mar 20 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.7.0 | ||||
|     - FEATURE: Added search field for torrent content | ||||
|     - FEATURE: Added auto-shutdown confirmation dialog | ||||
|     - FEATURE: Added option to skip torrent deletion confirmation (Ville Kiiskinen) | ||||
|     - FEATURE: IP address reported to trackers is now customizable | ||||
|     - FEATURE: Inhibit system sleep when torrents are active (Vladimir Golovnev) | ||||
|     - FEATURE: Added option to bypass Web UI authentication for localhost | ||||
|     - FEATURE: Added option to disable program exit confirmation | ||||
|     - FEATURE: Added per-torrent ratio limiting (Christian Kandeler) | ||||
|     - FEATURE: Torrent content list is now sortable | ||||
|     - BUGFIX: Fix compilation with namespaced Qt (Christian Kandeler) | ||||
|     - BUGFIX: Added length restriction on UI lock password | ||||
|     - COSMETIC: Added monochrome tray icon | ||||
|     - COSMETIC: Improved status bar's style | ||||
|     - OTHER: Make QtDBus dependency optional (X11) | ||||
|  | ||||
| * Sun Dec 19 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.5.2 | ||||
|     - BUGFIX: Fix alternative speed icon staying pressed when disabled | ||||
|     - BUGFIX: Fix slot warning on startup | ||||
|     - BUGFIX: Fix alignment issues in program preferences | ||||
|     - BUGFIX: Make sure we don't move completed torrent to the temp directory | ||||
|     for checking (closes #602938) | ||||
|     - BUGFIX: Fix some 'File Not found' warning in the Web UI | ||||
|     - BUGFIX: Fix dangerous usage of vector iterator | ||||
|     - BUGFIX: No longer expand the first folder in the torrent content list | ||||
|     - BUGFIX: Fixes possible crash in the RSS Downloader dialog (closes #691426) | ||||
|  | ||||
| * Sun Dec 5 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.5.1 | ||||
|     - BUGFIX: Fix possible crash when right-clicking on a torrent | ||||
| * Sun Jan 9 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.6.0 | ||||
|     - FEATURE: Use system icons (Linux, Qt >= 4.6) | ||||
|     - FEATURE: Improved ETA calculation | ||||
|     - FEATURE: Simplify program preferences | ||||
|     - FEATURE: Software update check can now be disabled (Mac OS X / Windows) | ||||
|     - FEATURE: Display pieces size in torrent properties | ||||
|     - FEATURE: Added "Time Active/Seeded" column to transfer list | ||||
|     - FEATURE: Give feedback regarding the IP filter parsing | ||||
|     - FEATURE: Added a button to reload the IP filter | ||||
|     - FEATURE: Search engine results can now be opened in a Web browser | ||||
|     - FEATURE: Added a search engine plugin to extratorrent.com | ||||
|     - FEATURE: Added a search engine plugin for kickasstorrents.com | ||||
|     - FEATURE: Added auto-suspend upon downloads completion feature | ||||
|     - BUGFIX: Hide unwanted files that have to be partly downloaded | ||||
|     - BUGFIX: Do not allocate space for unwanted files (preallocation mode) | ||||
|     - I18N: Added Galician translation | ||||
|     - COSMETIC: Same deletion confirmation dialog in the GUI and Web UI | ||||
|     - COSMETIC: Simplified the top toolbar | ||||
|     - COSMETIC: Display execution log as a tab instead of a modal window | ||||
|  | ||||
| * Sun Dec 5 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.5.0 | ||||
|     - FEATURE: qBittorrent can now act as a tracker | ||||
|   | ||||
							
								
								
									
										4
									
								
								INSTALL
									
									
									
									
									
								
							
							
						
						| @@ -18,9 +18,9 @@ qBittorrent - A BitTorrent client in C++ / Qt4 | ||||
|         -> http://www.libtorrent.net | ||||
|         Be careful: another library (the one used by rTorrent) uses a similar name. | ||||
|  | ||||
|     - libboost 1.34.x (libboost-filesystem, libboost-thread, libboost-date-time) + libasio | ||||
|     - libboost 1.34.x (libboost-filesystem, libboost-date-time) + libasio | ||||
|       or | ||||
|     - libboost >= 1.35.x (libboost-system, libboost-filesystem, libboost-thread, libboost-date-time) | ||||
|     - libboost >= 1.35.x (libboost-system, libboost-filesystem, libboost-date-time) | ||||
|  | ||||
|     - python >= 2.3 (needed by search engine) | ||||
|         * Run time only dependency | ||||
|   | ||||
							
								
								
									
										125
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						| @@ -18,9 +18,12 @@ Main options: | ||||
|   --help              This help text. | ||||
|  | ||||
| Dependency options: | ||||
|   --enable-debug                                  Enable debug mode | ||||
|   --disable-gui                                   Disable qBittorrent | ||||
|                                                  Graphical user interface for | ||||
|                                                  headless running | ||||
|   --disable-qt-dbus                              Disable use of qt-dbus | ||||
|   --disable-qt-svg                               Disable use of qt-svg | ||||
|   --with-libboost-inc=[path]                      Path to libboost include | ||||
|                                                  files | ||||
|   --with-libboost-lib=[path]                      Path to libboost library | ||||
| @@ -32,8 +35,6 @@ Dependency options: | ||||
|                                                  executable (please follow | ||||
|                                                  instructions in | ||||
|                                                  src/geoip/README) | ||||
|   --disable-qtsingleapplication                  Disable use of | ||||
|                                                  qtsingleapplication | ||||
|   --with-qtsingleapplication=[system|shipped]     Use the shipped | ||||
|                                                  qtsingleapplication library | ||||
|                                                  or the system one | ||||
| @@ -153,11 +154,26 @@ while [ $# -gt 0 ]; do | ||||
| 			shift | ||||
| 			;; | ||||
|  | ||||
| 		--enable-debug) | ||||
| 			QC_ENABLE_DEBUG="Y" | ||||
| 			shift | ||||
| 			;; | ||||
|  | ||||
| 		--disable-gui) | ||||
| 			QC_DISABLE_GUI="Y" | ||||
| 			shift | ||||
| 			;; | ||||
|  | ||||
| 		--disable-qt-dbus) | ||||
| 			QC_DISABLE_qt_dbus="Y" | ||||
| 			shift | ||||
| 			;; | ||||
|  | ||||
| 		--disable-qt-svg) | ||||
| 			QC_DISABLE_qt_svg="Y" | ||||
| 			shift | ||||
| 			;; | ||||
|  | ||||
| 		--with-libboost-inc=*) | ||||
| 			QC_WITH_LIBBOOST_INC=$optarg | ||||
| 			shift | ||||
| @@ -183,11 +199,6 @@ while [ $# -gt 0 ]; do | ||||
| 			shift | ||||
| 			;; | ||||
|  | ||||
| 		--disable-qtsingleapplication) | ||||
| 			QC_DISABLE_qtsingleapplication="Y" | ||||
| 			shift | ||||
| 			;; | ||||
|  | ||||
| 		--with-qtsingleapplication=*) | ||||
| 			QC_WITH_QTSINGLEAPPLICATION=$optarg | ||||
| 			shift | ||||
| @@ -214,13 +225,15 @@ echo PREFIX=$PREFIX | ||||
| echo BINDIR=$BINDIR | ||||
| echo DATADIR=$DATADIR | ||||
| echo EX_QTDIR=$EX_QTDIR | ||||
| echo QC_ENABLE_DEBUG=$QC_ENABLE_DEBUG | ||||
| echo QC_DISABLE_GUI=$QC_DISABLE_GUI | ||||
| echo QC_DISABLE_qt_dbus=$QC_DISABLE_qt_dbus | ||||
| echo QC_DISABLE_qt_svg=$QC_DISABLE_qt_svg | ||||
| echo QC_WITH_LIBBOOST_INC=$QC_WITH_LIBBOOST_INC | ||||
| echo QC_WITH_LIBBOOST_LIB=$QC_WITH_LIBBOOST_LIB | ||||
| echo QC_DISABLE_libnotify=$QC_DISABLE_libnotify | ||||
| echo QC_DISABLE_geoip_database=$QC_DISABLE_geoip_database | ||||
| echo QC_WITH_GEOIP_DATABASE_EMBEDDED=$QC_WITH_GEOIP_DATABASE_EMBEDDED | ||||
| echo QC_DISABLE_qtsingleapplication=$QC_DISABLE_qtsingleapplication | ||||
| echo QC_WITH_QTSINGLEAPPLICATION=$QC_WITH_QTSINGLEAPPLICATION | ||||
| echo | ||||
| fi | ||||
| @@ -327,6 +340,7 @@ cat >$1/modules.cpp <<EOT | ||||
| /* | ||||
| -----BEGIN QCMOD----- | ||||
| name: Qt >= 4.5 | ||||
| arg: enable-debug, Enable debug mode | ||||
| arg: disable-gui, Disable qBittorrent Graphical user interface for headless running | ||||
| -----END QCMOD----- | ||||
| */ | ||||
| @@ -338,12 +352,87 @@ public: | ||||
| 	QString shortname() const { return "Qt 4.5"; } | ||||
| 	bool exec() | ||||
| 	{ | ||||
|                 // NOX mode | ||||
| 		if(!conf->getenv("QC_DISABLE_GUI").isEmpty()) { | ||||
| 			conf->addExtra("CONFIG += nox"); | ||||
| 		} | ||||
|                 // Debug mode | ||||
|                 if(!conf->getenv("QC_ENABLE_DEBUG").isEmpty()) { | ||||
|                   conf->addExtra("CONFIG += debug"); | ||||
|                 } | ||||
|                 #ifdef Q_OS_FREEBSD | ||||
|                   conf->addLib("-lexecinfo"); | ||||
|                   conf->addExtra("MANPREFIX = \$\$PREFIX"); | ||||
|                 #else | ||||
|                   conf->addExtra("MANPREFIX = \$\$PREFIX/share");  | ||||
|                 #endif | ||||
| 		return(QT_VERSION >= 0x040500); | ||||
| 	} | ||||
| }; | ||||
| #line 1 "qt-dbus.qcm" | ||||
| /* | ||||
| -----BEGIN QCMOD----- | ||||
| name: qt-dbus | ||||
| -----END QCMOD----- | ||||
| */ | ||||
| // see  Conf::findPkgConfig | ||||
| class qc_qt_dbus : public ConfObj | ||||
| { | ||||
| public: | ||||
| 	qc_qt_dbus(Conf *c) : ConfObj(c) {} | ||||
| 	QString name() const { return "QtDBus >= 4.5"; } | ||||
| 	QString shortname() const { return "qt-dbus"; } | ||||
|         QString checkString() const { | ||||
|                 if(!conf->getenv("QC_DISABLE_qt_dbus").isEmpty() || !conf->getenv("QC_DISABLE_GUI").isEmpty()) | ||||
|                         return ""; | ||||
|                 return ConfObj::checkString(); | ||||
|         } | ||||
| 	bool exec(){ | ||||
|                 if(!conf->getenv("QC_DISABLE_qt_dbus").isEmpty() || !conf->getenv("QC_DISABLE_GUI").isEmpty()) | ||||
|                   return false; | ||||
| 		QStringList incs; | ||||
| 		QString req_ver = "4.5.0"; | ||||
| 		QString version, libs, other; | ||||
| 		VersionMode mode = VersionMin; | ||||
| 		if(conf->findPkgConfig("QtDBus", mode, req_ver, &version, &incs, &libs, &other)) { | ||||
|                         conf->addExtra("CONFIG += dbus"); | ||||
| 			return true; | ||||
|                 } | ||||
| 		return false; | ||||
| 	} | ||||
| }; | ||||
| #line 1 "qt-svg.qcm" | ||||
| /* | ||||
| -----BEGIN QCMOD----- | ||||
| name: qt-svg | ||||
| -----END QCMOD----- | ||||
| */ | ||||
| // see  Conf::findPkgConfig | ||||
| class qc_qt_svg : public ConfObj | ||||
| { | ||||
| public: | ||||
| 	qc_qt_svg(Conf *c) : ConfObj(c) {} | ||||
| 	QString name() const { return "QtSvg >= 4.5"; } | ||||
| 	QString shortname() const { return "qt-svg"; } | ||||
|         QString checkString() const { | ||||
|                 if(!conf->getenv("QC_DISABLE_qt_svg").isEmpty() || !conf->getenv("QC_DISABLE_GUI").isEmpty()) | ||||
|                         return ""; | ||||
|                 return ConfObj::checkString(); | ||||
|         } | ||||
| 	bool exec(){ | ||||
|                 if(!conf->getenv("QC_DISABLE_qt_svg").isEmpty() || !conf->getenv("QC_DISABLE_GUI").isEmpty()) | ||||
|                   return false; | ||||
| 		QStringList incs; | ||||
| 		QString req_ver = "4.5.0"; | ||||
| 		QString version, libs, other; | ||||
| 		VersionMode mode = VersionMin; | ||||
| 		if(conf->findPkgConfig("QtSvg", mode, req_ver, &version, &incs, &libs, &other)) { | ||||
|                         conf->addExtra("CONFIG += svg"); | ||||
| 			return true; | ||||
|                 } | ||||
| 		return false; | ||||
| 	} | ||||
| }; | ||||
| #line 1 "pkg-config.qcm" | ||||
| /* | ||||
| -----BEGIN QCMOD----- | ||||
| @@ -440,9 +529,6 @@ public: | ||||
| 			if(!conf->checkHeader(s, "boost/filesystem/path.hpp")) { | ||||
| 				return false; | ||||
|       			} | ||||
| 			if(!conf->checkHeader(s, "boost/thread.hpp")) { | ||||
| 				return false; | ||||
|       			} | ||||
| 		}else{ | ||||
| 			QStringList sl; | ||||
| 			sl << "/usr/include"; | ||||
| @@ -463,9 +549,6 @@ public: | ||||
| 			if(!conf->checkHeader(s, "boost/filesystem/path.hpp")) { | ||||
| 				return false; | ||||
|       			} | ||||
| 			if(!conf->checkHeader(s, "boost/thread.hpp")) { | ||||
| 				return false; | ||||
|       			} | ||||
| 		} | ||||
| 		conf->addIncludePath(s); | ||||
| 		// Find library | ||||
| @@ -476,7 +559,7 @@ public: | ||||
| #endif | ||||
|     if(conf->getenv("QC_DISABLE_GUI").isEmpty()) { | ||||
|       // Not required by nox | ||||
|       required_libs << "filesystem" << "thread"; | ||||
|       required_libs << "filesystem" ; | ||||
|     } | ||||
|     QStringList libDirs; | ||||
|     libDirs << "/usr/lib/" << "/usr/lib64/" << "/usr/local/lib/" << "/usr/local/lib64/"; | ||||
| @@ -640,6 +723,12 @@ cat >$1/modules_new.cpp <<EOT | ||||
|     o = new qc_qt4(conf); | ||||
|     o->required = true; | ||||
|     o->disabled = false; | ||||
|     o = new qc_qt_dbus(conf); | ||||
|     o->required = false; | ||||
|     o->disabled = false; | ||||
|     o = new qc_qt_svg(conf); | ||||
|     o->required = false; | ||||
|     o->disabled = false; | ||||
|     o = new qc_pkg_config(conf); | ||||
|     o->required = true; | ||||
|     o->disabled = false; | ||||
| @@ -656,7 +745,7 @@ cat >$1/modules_new.cpp <<EOT | ||||
|     o->required = false; | ||||
|     o->disabled = false; | ||||
|     o = new qc_qtsingleapplication(conf); | ||||
|     o->required = false; | ||||
|     o->required = true; | ||||
|     o->disabled = false; | ||||
|  | ||||
| EOT | ||||
| @@ -1603,13 +1692,15 @@ export PREFIX | ||||
| export BINDIR | ||||
| export DATADIR | ||||
| export EX_QTDIR | ||||
| export QC_ENABLE_DEBUG | ||||
| export QC_DISABLE_GUI | ||||
| export QC_DISABLE_qt_dbus | ||||
| export QC_DISABLE_qt_svg | ||||
| export QC_WITH_LIBBOOST_INC | ||||
| export QC_WITH_LIBBOOST_LIB | ||||
| export QC_DISABLE_libnotify | ||||
| export QC_DISABLE_geoip_database | ||||
| export QC_WITH_GEOIP_DATABASE_EMBEDDED | ||||
| export QC_DISABLE_qtsingleapplication | ||||
| export QC_WITH_QTSINGLEAPPLICATION | ||||
| export QC_VERBOSE | ||||
| rm -rf .qconftemp | ||||
|   | ||||
| @@ -1,5 +1,3 @@ | ||||
| INCLUDEPATH += $$PWD | ||||
|  | ||||
| exists(conf.pri) { | ||||
|     # to the conf.pri goes all system dependent stuff | ||||
|     include(conf.pri) | ||||
|   | ||||
| @@ -6,6 +6,10 @@ | ||||
|   <dep type='qt4'> | ||||
|     <required/> | ||||
|   </dep> | ||||
|   <dep type='qt-dbus'> | ||||
|   </dep> | ||||
|   <dep type='qt-svg'> | ||||
|   </dep> | ||||
|   <dep type='pkg-config'> | ||||
|     <required/> | ||||
|   </dep> | ||||
| @@ -20,5 +24,6 @@ | ||||
|   <dep type='geoip-database'> | ||||
|   </dep> | ||||
|   <dep type='qtsingleapplication'> | ||||
|     <required/> | ||||
|   </dep> | ||||
| </qconf> | ||||
|   | ||||
| @@ -48,9 +48,6 @@ public: | ||||
| 			if(!conf->checkHeader(s, "boost/filesystem/path.hpp")) { | ||||
| 				return false; | ||||
|       			} | ||||
| 			if(!conf->checkHeader(s, "boost/thread.hpp")) { | ||||
| 				return false; | ||||
|       			} | ||||
| 		}else{ | ||||
| 			QStringList sl; | ||||
| 			sl << "/usr/include"; | ||||
| @@ -71,9 +68,6 @@ public: | ||||
| 			if(!conf->checkHeader(s, "boost/filesystem/path.hpp")) { | ||||
| 				return false; | ||||
|       			} | ||||
| 			if(!conf->checkHeader(s, "boost/thread.hpp")) { | ||||
| 				return false; | ||||
|       			} | ||||
| 		} | ||||
| 		conf->addIncludePath(s); | ||||
| 		// Find library | ||||
| @@ -84,7 +78,7 @@ public: | ||||
| #endif | ||||
|     if(conf->getenv("QC_DISABLE_GUI").isEmpty()) { | ||||
|       // Not required by nox | ||||
|       required_libs << "filesystem" << "thread"; | ||||
|       required_libs << "filesystem" ; | ||||
|     } | ||||
|     QStringList libDirs; | ||||
|     libDirs << "/usr/lib/" << "/usr/lib64/" << "/usr/local/lib/" << "/usr/local/lib64/"; | ||||
|   | ||||
							
								
								
									
										31
									
								
								qcm/qt-dbus.qcm
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,31 @@ | ||||
| /* | ||||
| -----BEGIN QCMOD----- | ||||
| name: qt-dbus | ||||
| -----END QCMOD----- | ||||
| */ | ||||
| // see  Conf::findPkgConfig | ||||
| class qc_qt_dbus : public ConfObj | ||||
| { | ||||
| public: | ||||
| 	qc_qt_dbus(Conf *c) : ConfObj(c) {} | ||||
| 	QString name() const { return "QtDBus >= 4.5"; } | ||||
| 	QString shortname() const { return "qt-dbus"; } | ||||
|         QString checkString() const { | ||||
|                 if(!conf->getenv("QC_DISABLE_qt_dbus").isEmpty() || !conf->getenv("QC_DISABLE_GUI").isEmpty()) | ||||
|                         return ""; | ||||
|                 return ConfObj::checkString(); | ||||
|         } | ||||
| 	bool exec(){ | ||||
|                 if(!conf->getenv("QC_DISABLE_qt_dbus").isEmpty() || !conf->getenv("QC_DISABLE_GUI").isEmpty()) | ||||
|                   return false; | ||||
| 		QStringList incs; | ||||
| 		QString req_ver = "4.5.0"; | ||||
| 		QString version, libs, other; | ||||
| 		VersionMode mode = VersionMin; | ||||
| 		if(conf->findPkgConfig("QtDBus", mode, req_ver, &version, &incs, &libs, &other)) { | ||||
|                         conf->addExtra("CONFIG += dbus"); | ||||
| 			return true; | ||||
|                 } | ||||
| 		return false; | ||||
| 	} | ||||
| }; | ||||
							
								
								
									
										31
									
								
								qcm/qt-svg.qcm
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,31 @@ | ||||
| /* | ||||
| -----BEGIN QCMOD----- | ||||
| name: qt-svg | ||||
| -----END QCMOD----- | ||||
| */ | ||||
| // see  Conf::findPkgConfig | ||||
| class qc_qt_svg : public ConfObj | ||||
| { | ||||
| public: | ||||
| 	qc_qt_svg(Conf *c) : ConfObj(c) {} | ||||
| 	QString name() const { return "QtSvg >= 4.5"; } | ||||
| 	QString shortname() const { return "qt-svg"; } | ||||
|         QString checkString() const { | ||||
|                 if(!conf->getenv("QC_DISABLE_qt_svg").isEmpty() || !conf->getenv("QC_DISABLE_GUI").isEmpty()) | ||||
|                         return ""; | ||||
|                 return ConfObj::checkString(); | ||||
|         } | ||||
| 	bool exec(){ | ||||
|                 if(!conf->getenv("QC_DISABLE_qt_svg").isEmpty() || !conf->getenv("QC_DISABLE_GUI").isEmpty()) | ||||
|                   return false; | ||||
| 		QStringList incs; | ||||
| 		QString req_ver = "4.5.0"; | ||||
| 		QString version, libs, other; | ||||
| 		VersionMode mode = VersionMin; | ||||
| 		if(conf->findPkgConfig("QtSvg", mode, req_ver, &version, &incs, &libs, &other)) { | ||||
|                         conf->addExtra("CONFIG += svg"); | ||||
| 			return true; | ||||
|                 } | ||||
| 		return false; | ||||
| 	} | ||||
| }; | ||||
							
								
								
									
										12
									
								
								qcm/qt4.qcm
									
									
									
									
									
								
							
							
						
						| @@ -1,6 +1,7 @@ | ||||
| /* | ||||
| -----BEGIN QCMOD----- | ||||
| name: Qt >= 4.5 | ||||
| arg: enable-debug, Enable debug mode | ||||
| arg: disable-gui, Disable qBittorrent Graphical user interface for headless running | ||||
| -----END QCMOD----- | ||||
| */ | ||||
| @@ -12,9 +13,20 @@ public: | ||||
| 	QString shortname() const { return "Qt 4.5"; } | ||||
| 	bool exec() | ||||
| 	{ | ||||
|                 // NOX mode | ||||
| 		if(!conf->getenv("QC_DISABLE_GUI").isEmpty()) { | ||||
| 			conf->addExtra("CONFIG += nox"); | ||||
| 		} | ||||
|                 // Debug mode | ||||
|                 if(!conf->getenv("QC_ENABLE_DEBUG").isEmpty()) { | ||||
|                   conf->addExtra("CONFIG += debug"); | ||||
|                 } | ||||
|                 #ifdef Q_OS_FREEBSD | ||||
|                   conf->addLib("-lexecinfo"); | ||||
|                   conf->addExtra("MANPREFIX = $$PREFIX"); | ||||
|                 #else | ||||
|                   conf->addExtra("MANPREFIX = $$PREFIX/share");  | ||||
|                 #endif | ||||
| 		return(QT_VERSION >= 0x040500); | ||||
| 	} | ||||
| }; | ||||
|   | ||||
| Before Width: | Height: | Size: 722 B | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/oxygen/application-exit.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.7 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/oxygen/application-rss+xml.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.1 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/oxygen/application-x-mswinurl.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.8 KiB | 
| Before Width: | Height: | Size: 796 B | 
| Before Width: | Height: | Size: 3.2 KiB | 
| Before Width: | Height: | Size: 733 B | 
| Before Width: | Height: | Size: 1.1 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/oxygen/dialog-cancel.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 2.2 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/oxygen/dialog-information.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.6 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/oxygen/document-edit-verify.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 2.0 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/oxygen/document-edit.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.7 KiB | 
| Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/oxygen/document-import.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.2 KiB | 
| Before Width: | Height: | Size: 873 B After Width: | Height: | Size: 1.4 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/oxygen/document-properties.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.3 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/oxygen/document-save.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.2 KiB | 
| Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 2.4 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/oxygen/edit-clear-history.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 2.0 KiB | 
| Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/oxygen/edit-find-user.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.9 KiB | 
| Before Width: | Height: | Size: 627 B After Width: | Height: | Size: 1.7 KiB |