Commit Graph

1703 Commits (3150466695c8769d9024873bc33c8fcb5b790ffe)
 

Author SHA1 Message Date
Slávek Banko ba556053e1
Use the source package date or the source git repository date
instead of the current build date. The use of a stable date
is necessary to achieve reproducible builds.

Updating release information in docbook entities is done
directly in CMake rules. Entities will no longer be
duplicated during repeated updates.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 799489de17)
5 years ago
Michele Calgaro 93e9da4a74
Removed unnecessary comment.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 922e81bf45)
5 years ago
Slávek Banko 2f2ed5c1ae
tdehwlib: Add a read of the current switch state before invoking
a switchChanged() signal for an EV_SW input event.

This resolves the detection of closing the lid on some hardware.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8bfa123fb6)
5 years ago
Slávek Banko 1945986691
tdehwlib: Add event device classification according to the provided switches.
This will resolve event device detection on special hardware, for example,
the LID switch on Pinebook Pro.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f68fadda81)
5 years ago
Michele Calgaro f3cd325032
Prevent tdenetworkmanager from crashing when using unmanaged devices.
This relates to bug 2929.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3192a72a46)
5 years ago
Michele Calgaro d94da50a46
Remove remaining 'register' instructions.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 30606e55f1)
5 years ago
Slávek Banko 6350327928
tdehwlib: Unify units of battery values.
The values from energy_* and power_now are converted
from mWh and mW to Ah and A, so that the units are
equal to values from charge_* and current_now.

This resolves issue #68.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c088fbf55b)
5 years ago
Michele Calgaro ef4c56c613
Security: remove support for $(...) in KRun which could have allowed
execution of malicious code. This is similar to issue #45 for .desktop
files.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8b8f5064f7)
5 years ago
gregory guy a781ccd72c
Add a sub-menu "Logic Games" in Games.
This relates to bug 2882.

Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit d77acb6ca5)
5 years ago
Michele Calgaro 911f17a733
Removed kerry related code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 94515be234)
5 years ago
Michele Calgaro b88a15d2e8
Removed beagle related code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e5256a1bd6)
5 years ago
Slávek Banko a10cf06d1f
tdehwlib: Add allowed access for plugdev group members.
This is useful if the system no longer supports policy at_console.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 7f7f7322f9)
5 years ago
Slávek Banko 228610fd9e
Improve folder icons on the speedbar.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 017a50624b)
5 years ago
Michele Calgaro 41cceb16c4
KJobviewer: keep "permanent window" option across sessions.
Taken from https://bugs.trinitydesktop.org/show_bug.cgi?id=1362 proposed
patch.

Signed-off-by: Roman Savochenko <roman@roman.home>
(cherry picked from commit 9dc23edee3)
5 years ago
Michele Calgaro 41e0f335b5
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit aa98dbfe80)
5 years ago
Slávek Banko 9c1e136983
Fix private API compatibility in TDEGlobalSettings.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f29aa92d38)
5 years ago
Michele Calgaro d46ec74e77
Make sure XDG folders are created prior to their usage.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit de79e754fa)
5 years ago
Michele Calgaro ea1da131d3
Improved support for XDG folders without requiring xdg-user-dirs to be installed.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 394c9f5c0e)
5 years ago
Slávek Banko 352be1b977
tdehwlib: Adjusted parsing of battery information
+ Added reading of estimated time to fully charged battery
  (time_to_full_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 ecd1e4bd40)
5 years ago
Matías Fonzo ee113c26fb
Redirect some headers noticed by the compiler
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
/usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include <sys/signal.h> to <signal.h> [-Wcpp]
    1 | #warning redirecting incorrect #include <sys/signal.h> to <signal.h>

Note: <sys/signal.h> has been removed from the tdeio/tdeio/connection.cpp source - it was already declared.

Signed-off-by: Matías Fonzo <selk@dragora.org>
(cherry picked from commit c2adce2e13)
5 years ago
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