Commit Graph

1583 Commits (ff609e7acaa69902b443b279be05b45e9933123c)
 

Author SHA1 Message Date
Matías Fonzo ff609e7aca
Added missing headers for tdeinit/start_tdeinit.c
Error found when compiling against GCC9+Musl:

Scanning dependencies of target start_tdeinit
[ 51%] Building C object tdeinit/CMakeFiles/start_tdeinit.dir/start_tdeinit.c.o
/usr/src/qi/build/tdelibs-trinity-14.0.7/tdeinit/start_tdeinit.c: In function ‘set_protection’:
/usr/src/qi/build/tdelibs-trinity-14.0.7/tdeinit/start_tdeinit.c:47:16: error: storage size of ‘st’ isn’t known
   47 |    struct stat st;
      |                ^~
/usr/src/qi/build/tdelibs-trinity-14.0.7/tdeinit/start_tdeinit.c:51:9: warning: implicit declaration of function ‘lstat’ [-Wimplicit-function-declaration]
   51 |    if ( lstat (buf, &st) == 0) {
      |         ^~~~~
make[2]: *** [tdeinit/CMakeFiles/start_tdeinit.dir/build.make:63: tdeinit/CMakeFiles/start_tdeinit.dir/start_tdeinit.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:10421: tdeinit/CMakeFiles/start_tdeinit.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Signed-off-by: Matías Fonzo <selk@dragora.org>
(cherry picked from commit 8d74c9c44f)
5 years ago
Matías Fonzo 53d42e2472
Use the correct macros isnan, isinf for libc compatibility
Changes related to this commit:

- Clean up #if mess.

- Use unconditionally the correct macros isnan, isinf.

- Remove redudant macros from the build system.

Signed-off-by: Matías Fonzo <selk@dragora.org>
(cherry picked from commit 8ae17a5d9d)
5 years ago
Matías Fonzo f109868e22
Fix LibreSSL detection at tdeio/kssl/
Signed-off-by: Matías Fonzo <selk@dragora.org>
(cherry picked from commit aa9b9581a9)
5 years ago
Slávek Banko 4304997180
Fix building with avahi support
+ Avahi detection was not performed at all
+ Added missing avahi-client detection
+ Fixed FTBFS in avahi related code

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 281e2da7f1)
5 years ago
Michele Calgaro edab2eca49
Added support for XDG_PICTURES_DIR and XDG_TEMPLATES_DIR in TDE global settings.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit aca6b3d424)
5 years ago
Michele Calgaro 5e120c0e2c
Fix handling of XDG directories in TDEConfigBase. This relates to issue #60.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3a4f7f51cf)
5 years ago
Chris bc1bc13ea8
Fix camera device icon in hwmanager and other places.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit d4845ced49)
5 years ago
Slávek Banko ddf0666f4c
tdehwlib: Fix parsing of CPU cores frequency information
+ The current frequency is parsed from the scaling_cur_freq file
  If the current frequency is not found in /proc/cpuinfo, the attempt
  to read value from cpuinfo_cur_freq failed because only root can
  read this file.
+ The have_frequency flag is not set when parsing current frequency from sysfs
  Setting the have_frequency flag after parsing current frequency for the
  first core caused the current frequency not to be parsed for other cores.
+ Frequency characteristics are parsed for all cores
  The assumption that the frequency characteristics for all cores will be
  the same as the first core is no longer reliable. There are heterogeneous
  architectures - for example ARM big.LITTLE.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ba82cdf5be)
5 years ago
Slávek Banko d51d6d349d
tdehw: Fix wrong merge location in prior commit.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8856d5dde1)
5 years ago
Slávek Banko 53381ab391
tdehwlib: Adjusted parsing of battery information
+ Added initialization of all values
  Some batteries do not provide all values and, without
  initialization, values may contain dubious data.
+ Added reading of current battery capacity value in percent
  (capacity)
  Some batteries may provide the current capacity value in
  percent instead of the current energy value.
+ Added check whether the battery provides current energy value
  (charge_now or energy_now)
  The current energy is calculated if the value is not provided
  in the battery information.
+ Added reading of estimated time to empty battery
  (time_to_empty_now)
  The remaining time is calculated if the value is not provided
  in the battery information.
  If the battery does not provide charging current information,
  the estimated time to charge the battery cannot be calculated.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 86c1d896c7)
5 years ago
Slávek Banko 2e7ef95663
tdehwlib: Classify the charger as an AC adapter, not as a battery.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 3b0f07f2cd)
5 years ago
Chris 46640476cb
Fix icons for some MIME types.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit b09eb3a1c0)
5 years ago
Slávek Banko 22cc22b82f
Updated version number to R14.0.8 [DEVELOPMENT].
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko 6ef58927d2
Update version number for R14.0.7 final release.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Chris 49fe27f661
Synchronize German translation of desktop files with the rest.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 03b08e594c)
5 years ago
Chris 1b6147fe76
Fix wrong XDG patch for tdelibs, which resulted in missing icons.
This partially reverts commit 4e765ab579.

Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit bc5150d64e)
5 years ago
TDE Gitea 80a0491aaf Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
Slávek Banko 99fd89ba7e
Switch all submodules to https.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
François Andriot 64e65ab888
Fix missing return values in kopenssl.
Signed-off-by: François Andriot <francois.andriot@free.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a6bbb9e7bc)
5 years ago
François Andriot c35e6e8cce
Fix FTBFS for build without tdehwlib.
Signed-off-by: François Andriot <francois.andriot@free.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 82e214c84f)
5 years ago
Slávek Banko eaf53f100d
Process the new location of the ICEauthority file
+ our internal implementation of IceAuthFileName tests
  whether the ICEauthority file exists in the folder
  specified by the XDG_RUNTIME_DIR variable
+ DCOP client tests whether the ICEauthority file for
  a specific user exists in the user's folder based on
  the XDG_RUNTIME_DIR variable
+ tdeinit uses the IceAuthFileName() function
  instead of building the file name

This relates to bug 3027.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 38b2b0be78)
5 years ago
Chris 9b32cf927a
Improve TDEResources icon and name.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 0810a81ba1)
5 years ago
Slávek Banko 95e165a077
cmake: Avoid double generating of dcop/tests files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 83d02c95a1)
5 years ago
Chris 70a4d2895b
Fix missing button icons in dialogs.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 34aa72861f)
5 years ago
Chris 4cc560ce28
Add icon to switch language menu entry.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 82f2aa6b13)
5 years ago
Chris 4768d59153
Add TQt branding to Qt ones for designer files.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit e098e4600f)
5 years ago
Michele Calgaro f3196cfa31
Fixed type in LIBRESSL usage. This relates to a comment made on issue #28.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8b66a5759a)
5 years ago
Slávek Banko 68f3283bf4
Fix SSL initialization for OpenSSL >= 1.1.
The first argument of the OPENSSL_init_ssl and OPENSSL_init_crypto
functions must be a 64-bit int, not a 32-bit int, as this caused
unpredictable OpenSSL behavior.

This resolves bug 3024.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a2ad929640)
6 years ago
Michele Calgaro 97bedf2ead
Removed .lsm files. lsm database is outdated and unmaintained.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Chris 976601c97c
Fix ordered list tag.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 7187b99712)
6 years ago
Michele Calgaro eeb7d0f646
Fixed missing update of mime comment in refreshed KFileItem. This
resolves issue #35.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d3119bb794)
6 years ago
Chris 5551f81376
Replace Qt branding with TQt ones.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 038c996bec)
6 years ago
Michele Calgaro 21a6cc0fe9
Followup on previous commit to drop qt-messages.pot file.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 952fb56241)
6 years ago
Chris b2773acbfc
Remove now unneeded *.pot file.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 2e055ab5ed)
6 years ago
Slávek Banko b992188d7d
Security: remove support for $(...) in config keys with [$e] marker.
It is very unclear at this point what a valid use case for this feature
would possibly be. The old documentation only mentions $(hostname) as
an example, which can be done with $HOSTNAME instead.

Note that $(...) is still supported in Exec lines of desktop files,
this does not require [$e] anyway (and actually works better without it,
otherwise the $ signs need to be doubled to obey tdeconfig $e escaping rules...).

Based on KDE Frameworks 5 kconfig patch for CVE-2019-14744.
This resolves issue #45.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1074eb0336)
6 years ago
Chris 299fc401b1
Fix translations of "TDE Classic" for ar, bn, hi, ta and te languages.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 38198900a4)
6 years ago
Slávek Banko ef69a23441
CMakeL10n: Extract strings from tdeabc/scripts/entrylist
instead of generating addressee source files.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 298bd920d1)
6 years ago
Chris 5480a1f356
Fix branding of TDE Classic style in tdestyle selection.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 9768cf120a)
6 years ago
Chris 5617d914f3
Replace Qt branding with TQt ones.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 90562f7b8a)
6 years ago
Anton Repko 1a46b7dbd2
Fix incorrect translations of language names.
Signed-off-by: Anton Repko <anton@a-repko.sk>
(cherry picked from commit dd36ea0a09)
6 years ago
Chris ab1c971196
Fix remaining brandings in tdelibs and adopt to modern age.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 0e071064b9)
6 years ago
Anton Repko 9a830d4d8b
Fix incorrect translations of language names.
Signed-off-by: Anton Repko <anton@a-repko.sk>
(cherry picked from commit eeb8782f05)
6 years ago
Slávek Banko 543cffbeac
Fix small typo in prior commit.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit e1ef15d04d)
6 years ago
Chris e0acaa2976
Update and promote new TDE websites, replace branding and do slight refactoring.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit e53c04d5d3)
6 years ago
Chris 5ccb1f4a21
Replace Qt branding with TQt ones.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 894e9e5e87)
6 years ago
Slávek Banko dd9997019c
Fix typos in texts.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 960a08e853)
6 years ago
Michele Calgaro c90f6c3e50
tdehw: avoid crashing kded when using udisks/udisks2 to operate on
drives that contain dashes. This relates to issue #32.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 32566accda)
6 years ago
Michele Calgaro 0f7cda9d52
tdehw: improved code for mount table.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 09835dceb7)
6 years ago
Slávek Banko 7d87c23620
tdeiso_info: Fix incorrect tool description.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 114ecc8283)
6 years ago
TDE Gitea 9cdcf09997 Reset submodule main/tdelibs/cmake to latest HEAD 6 years ago