summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add an ability to specify default spell checkerOBATA Akio2021-02-033-5/+8
| | | | | | | | | There is no reason to determine it with operating system basis. Change to use build configuration instead. "ispell" by default, and you can override it. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 70d26004f065c5fd18be00cab17fc93ed231d849)
* Port ASPELL_DATADIR detection to CMakeOBATA Akio2021-02-031-1/+13
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit ba75e441eab1713cac9219d93d06c478c0bc93df)
* Add the ability to detect ispell lib directoryOBATA Akio2021-02-034-0/+29
| | | | | | | | Check LIBDIR ispell compile option and use only it for ispell lib directory if found. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit bbe1b42cbbc7293041a83b154f969792a2592510)
* Add definitions for X11_RGBFILE and XMLLINT in config.hgregory guy2021-02-033-4/+31
| | | | | Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit 2706c5674eb1ea3fffdca4d8c3edb3b25335e731)
* kpty: prevent to open pseudo ttys twice for openpty(3) platformsOBATA Akio2021-02-031-25/+38
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 8f7371cddfa402a5561f46007985832b32383728)
* Add support of posix_openpt(2) to open master pseudo terminal deviceOBATA Akio2021-02-035-2/+16
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 8e542575e044baf23ae636d32f1c6d4e3b8dea18)
* Add a knob to use fixed path `iceauth` toolOBATA Akio2021-02-036-8/+43
| | | | | | | | | `system()` and `popen()` may unsafe unless using absolute command path. Rely on PATH environment variable set by users may result in unwanted tool. Signed-off-by: OBATA Akio <obache@wizdas.com> Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit ac8c8ca54aaed1466255161a3d727dcfade4a7d9)
* Fix to set DCOP_PATH properlyOBATA Akio2021-02-033-4/+6
| | | | | | | | | | It is only used in dcop module and empty is unwanted situation, so properly define it in dcop/CMakeLists.txt. Rerevant header generation is also moved to there, and prevent to define in main config.h file too. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 56c5973b6b33df77a7491b07411cbd772c0d5d79)
* Improve progname detection portabilityOBATA Akio2021-02-031-1/+3
| | | | | | | | | `getprogname()` of FreeBSD is based on NetBSD's one, no reason to prevent using it on NetBSD. glibc also has own special variable for progname. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 965a808b91b6542208b24af18e55193e5f929c37)
* Add `getservbyname_r` prototype detection to CMakeOBATA Akio2021-02-033-3/+2
| | | | | | | OpenBSD's prototype is differ than glibc's one, but it is declared. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 6886dd7e96d475b64ac3c41a96a759c7d5fa2be9)
* Fix to declare missing `snprintf` prototype at correct placeOBATA Akio2021-02-031-2/+6
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit f65c9e6665bf5bed20710e6a278d4fa83a6b32a8)
* Fix to declare vsnprintf prototype with detected conditionOBATA Akio2021-02-031-5/+1
| | | | | | | | It was introduced in HP-UX 10.20 (undocumented) and suppoted in 10.30 and later, so no need to declare it on HP-UX unconditionally. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 76a04f5fce7c958be414ce0ede6afe14c66a5584)
* Fix to detect vsnprintf prototype properlyOBATA Akio2021-02-031-1/+1
| | | | | | | From the standard sepc, <stdio.h> is required in addition to <stdarg.h> Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit cc7cd8323514e0dbd0a485128491e619f3f19633)
* Link external library for backtrace in tdecore.Slávek Banko2021-02-031-0/+1
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 59debdf4f0f76222d69ad4f64c38f85f5d08313b)
* Allow to use backtrace(3) external library for kdebugOBATA Akio2021-02-033-3/+21
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 2167207adc49b498536a5a8533c27fc67e0c6e9c)
* Fix FTBFS due to unnamed unused arguments in C sources in a recent commit.Slávek Banko2021-02-033-3/+11
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 1b2d3b15f4c84dc00c39376cfe892de2979f9d66)
* Add LOCAL_PEEREID sockopt support for peer socket uid checkOBATA Akio2021-02-031-2/+12
| | | | | | | It is supported on NetBSD 5 and later. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 7827038ab45c300b86bee1b9fb6cf0f78461c0e7)
* Fix missing argments for drive parse filter on lprOBATA Akio2021-02-033-4/+4
| | | | | | | It was extended for compressed PPD support, but not refrected to lpr parts. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 15116d8f64b35a695bcabc92239667c8684dc545)
* Fix to use configured openpty usability conditionOBATA Akio2021-02-031-1/+1
| | | | | | | No reason to restrict only on OpenBSD and FreeBSD here. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 12364c9cc38c1561e5c0b2784c7ed6af4360cb74)
* fix FTBFS, error: ‘dup’ was not declared in this scopegregory guy2021-02-031-1/+1
| | | | | Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit 88428d3b516e4fa5b7b76d5433542cea481bb6a8)
* Fixed handling of svg images that caused an infinite loop (most notablyMichele Calgaro2021-02-031-2/+9
| | | | | | | Kicker was hanging with 100% CPU usage). Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ffe8e495d7e99cc2e235a5f5ac776b72a31627ff)
* Missing glib link directoriesaneejit12021-02-031-1/+4
| | | | | | | This resolves bug 3135 Signed-off-by: aneejit1 <aneejit1@gmail.com> (cherry picked from commit 2c6417b8d699e9928f83472fdbb8e36769654633)
* avahi-tqt include/link directories missinganeejit12021-02-031-1/+6
| | | | | Signed-off-by: aneejit1 <aneejit1@gmail.com> (cherry picked from commit 86df09d798b216ec21dafa3c90aeb348df47b23e)
* Use target names for commands instead of full paths.Slávek Banko2021-02-033-6/+4
| | | | | | | | | When using target names for commands, CMake automatically resolves the necessary dependencies without having to specify them in the CMakeLists.txt source code or in the common TDE CMake module. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 98436f882d2146fe156c26e81bb87d409cfcf819)
* Use private linking for exported CMake targets.Slávek Banko2021-02-0310-12/+19
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 158b6e1152413e4fa973b70b7469bb1f256a1f38)
* For templates from CMake, use the TDE CMAKE TEMPLATES variable.Slávek Banko2021-02-034-4/+4
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 080c061b15cfcb11e26a2ede1c8082afb0c5d329)
* dcopidlng fixes:Slávek Banko2021-02-031-1/+1
| | | | | | | + do not skip an empty class if it is declared with K_DCOP Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 234c903a9b4e6e6aff30721fd3594e54cea0c2d5)
* Drop explicit dependencies on dcopidl and dcopidl2cpp,Slávek Banko2021-02-0325-28/+1
| | | | | | | | because thanks to the replacement of KDE3 CMake macros with TDE macros, this is no longer needed. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit c2b90055a581e9fb95a281fab53b6c56a96a4f2d)
* dcopidlng fixes:Slávek Banko2021-02-034-22/+41
| | | | | | | | | | | | | | | + includes may use quotation marks + argument types can contain multiple words + avoid use long, short, int or char type as the argument name + avoid use type as the argument name if the const qualifier is used + use long notation of int types + the arguments can be nameless + return types can have qualifiers + do not warn on inherit of the DCOPObject and TQObject classes + the documentation comment does not have to end on a separate line Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 49614d38c9b298488b2cba15bbee48db8d7ec316)
* Enable the use of dcopidlng during build tdelibs.Slávek Banko2021-02-031-0/+5
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit ef23612c5643909edcad8665fadd82583501a602)
* Fix typo in the SSL library check rules.Slávek Banko2021-02-031-2/+2
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit aa244c3700e31955b3294c9aa3b71a020d746d67)
* Check existing XDG folders before localization of the name.Slávek Banko2021-02-031-16/+48
| | | | | | | | | Some standard XDG folders may exist before the information is stored in ~/.config/user-dirs.dirs. Checking existing folders will prevent the creation of localized folders in addition to existing English ones. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit dc699b4fd407fe4e4f887b8f2b3f44a096c9f761)
* KJobViewer: make sure the printer lists is correctly updated when printers ↵Michele Calgaro2021-02-034-1/+11
| | | | | | | are added or removed. This relates to bug 1362. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 69c2d469b80d8cf7b99a62ebd7c2f4bd8281712b)
* Fixed unresponsive behavior of the shortcut setting dialog in recentMichele Calgaro2021-02-032-14/+10
| | | | | | | ditros. This resolves bug 2955. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8ea3d4dd872623721abe3153cdd44d01e3cc69be)
* kjobviewer: fixed initial value of KeepWindow checkbox. This was causing ↵Michele Calgaro2021-02-031-1/+1
| | | | | | | KJobViewer to not autostart unless the user first toggled the checkbox at least once. Relates to bug 1362. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a57ae64c11314ae571bd529c78c2460daccc9004)
* Remove remaining 'register' instructions.Michele Calgaro2021-02-0310-19/+19
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 30606e55f1a570463d837cb110b0bd4adba6643b)
* Security: remove support for $(...) in KRun which could have allowedMichele Calgaro2021-02-031-20/+1
| | | | | | | | 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 8b8f5064f7094a713a16ade3bf37d8efec601949)
* Removed kerry related code.Michele Calgaro2021-02-031-1/+0
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 94515be234e926611355ec174f91b3abdf1cf13a)
* Removed beagle related code.Michele Calgaro2021-02-033-16/+1
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit e5256a1bd6b1ee6eb909041c7fecc01d3d6d4be6)
* Improve folder icons on the speedbar.Slávek Banko2021-02-031-4/+4
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 017a50624b40f1d24a3a3ab98ee622d906531e12)
* KJobviewer: keep "permanent window" option across sessions.Michele Calgaro2021-02-032-0/+13
| | | | | | | | 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 9dc23edee3aa192f99ac56161a341d38374aaacf)
* Removed explicit usage of the 'register' keyword.Michele Calgaro2021-02-0349-414/+414
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit aa98dbfe80580169f3df12489a77e8b904a1d9b9)
* Fix private API compatibility in TDEGlobalSettings.Slávek Banko2021-02-032-0/+13
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit f29aa92d38e9e1f353ed48f7952150437db8c890)
* Make sure XDG folders are created prior to their usage.Michele Calgaro2021-02-032-28/+53
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit de79e754fa8118d34ea804d6b4fb7056b65487fd)
* Improved support for XDG folders without requiring xdg-user-dirs to be ↵Michele Calgaro2021-02-035-185/+179
| | | | | | | installed. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 394c9f5c0e1b464aa8bc22bd65c5268acd43994d)
* Redirect some headers noticed by the compilerMatías Fonzo2021-02-032-2/+1
| | | | | | | | | | | | /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 c2adce2e133c167567df8607a32a420a9825f695)
* Added missing headers for tdeinit/start_tdeinit.cMatías Fonzo2021-02-031-0/+3
| | | | | | | | | | | | | | | | | | | | 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 8d74c9c44f75bb427808da876650a074b1319467)
* Use the correct macros isnan, isinf for libc compatibilityMatías Fonzo2021-02-034-91/+2
| | | | | | | | | | | | | 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 8ae17a5d9d77d489a2d16529f16680d31374537e)
* Fix LibreSSL detection at tdeio/kssl/Matías Fonzo2021-02-031-4/+4
| | | | | Signed-off-by: Matías Fonzo <selk@dragora.org> (cherry picked from commit aa9b9581a97daa50855d815b6724b9112448c96f)
* Fix building with avahi supportSlávek Banko2021-02-034-12/+12
| | | | | | | | | + 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 281e2da7f14eca57104dbd3f7da39506011729a8)