Commit graph

29 commits

Author SHA1 Message Date
Ivailo Monev
b9f45c5f7e okular: typos
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-28 16:31:27 +03:00
Ivailo Monev
eb69d92a62 okular: fix build without libgcrypt
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-28 12:57:26 +03:00
Ivailo Monev
9e0df8c01b okular: working OO decryptor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-28 01:35:57 +02:00
Ivailo Monev
f5adf2c70e okular: set key size to whatever is set in the manifest
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-28 00:11:41 +02:00
Ivailo Monev
abcf7a2fca okular: require ligcrypt atleast v1.5.0
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-27 21:48:19 +02:00
Ivailo Monev
ea70ca3b05 okular: add TODO for OOO generator [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-27 19:45:17 +02:00
Ivailo Monev
d4e57e9877 okular: support OpenOffice variations in OOO generator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-27 19:24:51 +02:00
Ivailo Monev
398a462b73 okular: add support for more decryption algorithms, key and checksum types
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-27 17:01:51 +02:00
Ivailo Monev
769201edd9 okular: close decryptor in case of error
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-27 15:04:49 +02:00
Ivailo Monev
d67ddd4476 okular: separate logic for key generation name and checksum type in OOO generator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-27 14:52:58 +02:00
Ivailo Monev
e4f8fa2a36 okular: check the return values of decryption functions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-27 14:42:55 +02:00
Ivailo Monev
910f33aa3b okular: handle start-key-generation in OO manifest
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-27 14:41:42 +02:00
Ivailo Monev
87451fd3a7 okular: support AES256 algorithm in OOO generator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-27 13:37:40 +02:00
Ivailo Monev
915b667f88 okular: take initialization vector and salt into account when decrypting
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-27 01:09:27 +02:00
Ivailo Monev
68ccf88603 okular: fix checksum type detection in OOO generator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-26 23:26:47 +02:00
Ivailo Monev
45688bbd6f okular: deal with TODO
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-20 12:39:33 +02:00
Ivailo Monev
24d51dde46 okular: theoretical reimplementation of OOO generator decryptor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-19 12:09:54 +02:00
Ivailo Monev
511a631c65 okular: use QCryptographicHash for hashing
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-11 01:41:14 +02: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
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
387f1e5c87 generic: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-07-11 22:03:23 +00:00
Ivailo Monev
302f2d328a okular: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-30 18:42:44 +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
c6ca1775e6 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-11-02 03:20:34 +00:00
Ivailo Monev
cbf29a08cf generic: make changes required for building against Katie
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-25 10:01:00 +00:00
Ivailo Monev
a31e8980d2 generic: proper support for icon and caption in .desktop files 2015-09-21 01:46:42 +00:00
Ivailo Monev
f3dbe2df4d okular: remove double inclusion of qdom header 2015-08-20 18:08:21 +03:00
Ivailo Monev
567a715515 okular: show icon in the menu entry for the component 2015-08-19 17:55:21 +03:00
Ivailo Monev
bf2d9dcd05 import a bunch of important libraries and applications 2014-11-19 02:23:05 +00:00