Commit graph

38 commits

Author SHA1 Message Date
Ivailo Monev
e79b72de8f libktorrent: ISO C++17 conformance fix
upstream commit:
54aeec19ac

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-05-27 22:16:34 +03:00
Ivailo Monev
d312b2c2df libktorrent: include system socket header where needed
fixes build on OpenBSD

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-04-25 05:37:12 +03:00
Ivailo Monev
5dd88eb0f8 generic: compiler warning fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-04-25 05:29:24 +03:00
Ivailo Monev
00d9ca8cb4 libktorrent: build fix
upstream commit:
4790ad38b6

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-01-24 15:33:19 +02:00
Ivailo Monev
e629c8e849 libktorrent: do not rely on Q_OS_BSD4 definition
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-10-25 21:51:17 +02:00
Ivailo Monev
ed9ee71c7f libktorrent: generate Sha-1 hashes via Katie provided class instead of QCA
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-08-10 22:19:56 +03:00
Ivailo Monev
e6966211de generic: remove use of kde4_add_ui_files() macro
the macro was removed and UI sources generation is done by CMake because
CMAKE_AUTOUIC is set to ON from KDE4Defaults.

this fixes build with Attica and Marble.

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-21 17:41:26 +00:00
Ivailo Monev
ca6ec59cc7 generic: replace macro_log_feature() with set_package_properties() calls
other changes such as syncing properties, updating some of the URLs,
adding missing feature information, removing of redundant checks and
variables and indentation were done in the process while testing if the
changes work as intended.

replacing find_package() with macro_optional_find_package() was also done
where applicable however it's usage is questionable due to the CMake
`CMAKE_DISABLE_FIND_PACKAGE_<PACKAGE>` option.

there is a lot to be done, mostly updating package properties so I am
thinking of either providing a package properties file (like the
MacroLibrary) which sets properties for packages globablly or setting
package properties from the CMake modules shipped with kdelibs. the first
solution may override properties for packages if other projects define them
however a check to ensure that is not done should suffice. the second
solution will cover only DESCRIPTION and URL meaning PURPOSE and TYPE will
still have to be specified in the build systems.

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-21 05:37:28 +02:00
Ivailo Monev
f840649b58 generic: support building projects separately
TODO from https://github.com/fluxer/katana/issues/7.

kget and libktorrent cannot be build separately because libktorrent depends
on boost (or miniboost which is bundled) and kget depends on libktorrent.

syndication include paths were adjusted to build from the top-level
directory since it was used not only by akregator, that is no longer the
case and it should probably be moved to akregator sub-directory but that
will be decided in the future.

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-10 23:43:40 +00:00
Ivailo Monev
a951c9aae9 generic: require KDE4 version atleast 4.19.0
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-10 21:58:43 +00:00
Ivailo Monev
59190d3194 generic: replace installation paths with KDE4_ prefixed
see commit in kdelibs repository

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 20:12:24 +00:00
Ivailo Monev
a328432db7 generic: include required headers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-04 17:42:00 +00:00
Ivailo Monev
6b94b117c8 generic: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-23 02:12:07 +00:00
Ivailo Monev
e166af4e02 generic: replace forward declarations with headers inclusions
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-23 00:08:45 +00:00
Ivailo Monev
c5b174730b generic: avoid use of legacy QString::null, QChar::null, etc.
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-15 00:24:16 +00:00
Ivailo Monev
e1ece04e6b libktorrent: substitue boost::shared_array with std:;shared_ptr
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-11-15 01:29:04 +00:00
Ivailo Monev
b18fb74de7 generic: substitue some Boost types with Qt/std alternatives
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-11-15 01:01:17 +00:00
Ivailo Monev
71ef284c08 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-05-02 17:00:14 +00:00
Ivailo Monev
c689459d5e libktorrent: fix build of delaywindow test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-13 12:11:01 +00:00
Ivailo Monev
04a9caa7a9 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-06 13:41:59 +00:00
Ivailo Monev
ea52f6e519 generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-06 12:26:19 +00:00
Ivailo Monev
14b7c327c9 generic: make changes required for building against Katie
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-25 10:40:41 +00:00
Ivailo Monev
2ae20920a9 generic: move modules to kdelibs
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-29 10:10:58 +02:00
Ivailo Monev
a165a95a57 generic: fix tests after the build system cleanup 2015-09-07 11:20:00 +03:00
Ivailo Monev
f58a4c5452 generic: major build system cleanup 2015-09-02 02:13:50 +03:00
Ivailo Monev
3ac3ffe008 generic: misc cleanups 2015-07-11 12:35:08 +03:00
Ivailo Monev
f8fb8c741d libktorrent: do not force unbuffered mode on the torrent stream 2015-07-08 12:41:28 +03:00
Ivailo Monev
c135cfa6bf generic: adjust for CMake moc 2015-02-27 11:02:43 +00:00
Ivailo Monev
76e5e91d62 libktorrent: remove deprecated API usage fixing build when KDE_NO_DEPRECATED is used 2015-01-24 16:37:18 +00:00
Ivailo Monev
8674c137fd generic: normalize libraries versioning 2015-01-24 03:31:29 +00:00
Ivailo Monev
6809891811 generic: require KDE 4.14.3 at minimum 2015-01-20 17:31:51 +00:00
Ivailo Monev
c1b62063ef move libktorrent translations to kde-l10n 2014-12-09 15:07:25 +00:00
Ivailo Monev
3774be563f include miniboost globally (TODO: make it possible to use host boost) 2014-12-01 20:29:40 +00:00
Ivailo Monev
b9af02d7cd remove unused variable (report to KDE?) 2014-11-27 21:09:57 +00:00
Ivailo Monev
26ece7b26a use shared copy of boost headers for libktorrent and kget 2014-11-25 00:02:47 +00:00
Ivailo Monev
851eac2da8 removed boost dependency of libktorrent and added scripts to easily update copies of boost headers for kget and libktorrent 2014-11-24 23:46:39 +00:00
Ivailo Monev
1ac7051989 removed docs 2014-11-22 21:11:47 +00:00
Ivailo Monev
fc6688082b added libktorrent and kget (require boost, FIXME) 2014-11-19 17:18:01 +00:00