Compare commits

..

206 Commits

Author SHA1 Message Date
Michele Calgaro e645ebc8c1
Use tdeinstance.h
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro 66575a7857
Use TDESimpleConfig
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 months ago
Michele Calgaro ca45c7cead
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
Michele Calgaro 7487ca6fc3
Use tdestandarddirs.h
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 months ago
Michele Calgaro 58344bb70f
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 months ago
Michele Calgaro c94b0e64b7
Rename __KDE_HAVE_GCC_VISIBILITY to __TDE_HAVE_GCC_VISIBILITY
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 0e49fe0442
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro a2c7df8892
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Slávek Banko 9cee742178
Raise the minimum required version of CMake to 3.5.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Michele Calgaro 1a70a0ffd5
Use TDE cmake macro to set version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro c99f8f493d
Remove obsolete setting of CMAKE_MODULE_PATH in cmake files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Slávek Banko 21d806fafb
Raise the minimum required version of CMake to 3.1.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko 431cf248a9
Change README to markdown format.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko 323e9ab3b7
Remove cmake submodule since it has now been replaced by cmake-trinity dependency.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
TDE Gitea 08b1ccb2f5 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 4 years ago
TDE Gitea 2ff7a93ac1 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
TDE Gitea 7c524675a3 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
TDE Gitea 2ef297d7d6 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
Slávek Banko d58059c6f0
Raise the minimum required version of CMake to 2.8.12.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
TDE Gitea fc566e620e Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
TDE Gitea 62f86b8b78 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
TDE Gitea ce046058eb Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
TDE Gitea 136ea25503 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
TDE Gitea 3b6a89eb69 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
TDE Gitea 32718a6220 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
TDE Gitea 100635d9ff Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
TDE Gitea 528883093c Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
TDE Gitea 890d926b5d Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
TDE Gitea 1829fa666b Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
TDE Gitea 463104cf1f Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
TDE Gitea de135e56a5 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
TDE Gitea f659588955 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
gregory guy e89ce91c97
Drop automake build support.
Add basic cmake build instructions.
Write basic README file.

Signed-off-by: gregory guy <gregory-tde@laposte.net>
5 years ago
TDE Gitea efec4666a8 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
TDE Gitea e233d1f40f Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
TDE Gitea b46289a650 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
TDE Gitea 1eb0e74e45 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
TDE Gitea eb1a3a25a7 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 5 years ago
TDE Gitea 38e5223caa Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 6 years ago
TDE Gitea 62ec1a5e25 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 6 years ago
TDE Gitea 41cbdb97f3 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 6 years ago
TDE Gitea 3c0d491316 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 6 years ago
Slávek Banko 59cdea01c1
Switch all submodules to https.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
TDE Gitea 3fe8582386 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 6 years ago
TDE Gitea 1f6de1996f Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 7 years ago
Slávek Banko 41ffd4d2f7
Add KDE_EXPORT to public library symbols.
This allows build with gcc hidden visibility.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
gregory guy 5a362f8830
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr>
7 years ago
TDE Gitea edd9c850a1 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 7 years ago
TDE Gitea 1819198120 Reset submodule main/applications/compizconfig-backend-tdeconfig/admin to latest HEAD 7 years ago
TDE Gitea 41837c6890 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 7 years ago
TDE Gitea 5a407da84e Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 7 years ago
TDE Gitea be391db01d Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 7 years ago
TDE Gitea 00f8afdf41 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 7 years ago
TDE Gitea 5d58530fc1 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 7 years ago
TDE Gitea de4a4fa9b3 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 7 years ago
TDE Gitea f20845fff3 Reset submodule main/applications/compizconfig-backend-tdeconfig/admin to latest HEAD 7 years ago
TDE Gitea 3187aa9c69 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 7 years ago
TDE Gitea 3022ff7290 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 7 years ago
Michele Calgaro cdb79d1b3f
Replaced _BSD_SOURCE, _SVID_SOURCE with _DEFAULT_SOURCE. Removed AC_CHECK_GNU_EXTENSIONS.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
TDE Gitea 2341371bac Reset submodule main/applications/compizconfig-backend-tdeconfig/admin to latest HEAD 7 years ago
Michele Calgaro 596800ab08
qt -> tqt conversion:
kdeqt -> kdetqt
qtkde -> tqtkde
qtdesigner -> tqtdesigner

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro 769dafb2aa
qt -> tqt conversion:
QT_NO_ASCII_CAST -> TQT_NO_ASCII_CAST
QT_NO_STL -> TQT_NO_STL
QT_NO_COMPAT -> TQT_NO_COMPAT
QT_NO_TRANSLATION -> TQT_NO_TRANSLATION

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro 860823bd22
qt -> tqt conversion:
QTDIR -> TQTDIR
QTDOC -> TQTDOC
INCDIR_QT -> INCDIR_TQT
LIBDIR_QT -> LIBDIR_TQT
QT_INC -> TQT_INC
QT_LIB -> TQT_LIB

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro a67da36fd4
qt -> tqt conversion:
qtlib -> tqtlib
libqt -> libtqt
QTLIB -> TQTLIB
LIBQT -> LIBTQT

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko 40da96edb6
qt_includes => tqt_includes conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko 4d8ba60465
QT_INCLUDES => TQT_INCLUDES conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
TDE Gitea 4766723b98 Reset submodule main/applications/compizconfig-backend-tdeconfig/admin to latest HEAD 7 years ago
Michele Calgaro 8ace2d2607
Remove QT_CLEAN_NAMESPACE/TQT_CLEAN_NAMESPACE unnecessary define.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro 15f96ebae6
KDE_USE_QT* -> KDE_USE_TQT* conversion
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro c0cfa9d9bc
AC_PATH_QT* -> AC_PATH_TQT* conversion
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro 5a01a9b603
QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to updated admin module
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro 0463fb9c46
LIB_QT -> LIB_TQT conversion to align to updated admin module
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
TDE Gitea 86508e2d93 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 7 years ago
TDE Gitea f967ce2540 Reset submodule main/applications/compizconfig-backend-tdeconfig/admin to latest HEAD 7 years ago
Automated System b96ac8004d Reset submodule main/applications/compizconfig-backend-tdeconfig/admin to latest HEAD 7 years ago
Automated System 9b131d7833 Reset submodule main/applications/compizconfig-backend-tdeconfig/admin to latest HEAD 7 years ago
Automated System 97952e0c39 Reset submodule main/applications/compizconfig-backend-tdeconfig/admin to latest HEAD 8 years ago
Slávek Banko a725f04b14 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 9 years ago
Automated System 5bbb421c39 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 9 years ago
Slávek Banko e85052d044 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 9 years ago
Automated System f37fa5f3f9 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 9 years ago
Automated System aa59609647 Reset submodule main/applications/compizconfig-backend-tdeconfig/admin to latest HEAD 9 years ago
Automated System fea6b3d290 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 10 years ago
Automated System e076b1c035 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 10 years ago
Slávek Banko cb2d39a225 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 10 years ago
Automated System f837e0ff4f Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 11 years ago
Automated System 1f285852a2 Reset submodule main/applications/compizconfig-backend-tdeconfig/admin to latest HEAD 11 years ago
Slávek Banko 3433a78d45 Fix incorrectly renamed strings 11 years ago
Automated System fc598328d5 Reset submodule main/applications/compizconfig-backend-tdeconfig/admin to latest HEAD 11 years ago
Automated System ad4a015e85 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 11 years ago
Automated System 5b52b05860 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 11 years ago
Automated System a41c9030ae Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 11 years ago
Automated System 928767d3ab Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 11 years ago
Automated System 19b8034960 Reset submodule main/applications/compizconfig-backend-tdeconfig/admin to latest HEAD 11 years ago
Slávek Banko 2d78d692b7 Fix remaining renaming knewstuff 11 years ago
Automated System d275e1494f Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 11 years ago
Automated System dcbbf9068a Reset submodule main/applications/compizconfig-backend-tdeconfig/admin to latest HEAD 11 years ago
Automated System 7b7105b99e Reset submodule main/applications/compizconfig-backend-tdeconfig/admin to latest HEAD 12 years ago
Automated System 0535af8ff8 Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 12 years ago
Automated System 3a49c30a7c Reset submodule main/applications/compizconfig-backend-tdeconfig/cmake to latest HEAD 12 years ago
Automated System 58d78a2312 Reset submodule main/applications/compizconfig-backend-tdeconfig/admin to latest HEAD 12 years ago
Slávek Banko c5f632454a Rename kdewidgets => tdewidgets 12 years ago
Automated System dfbc758677 Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 12 years ago
Automated System 550484d006 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 12 years ago
Slávek Banko bfd2689bb8 Additional k => tde renaming and fixes 12 years ago
Slávek Banko 7b4e816430 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 12 years ago
Slávek Banko 0eb3c712c2 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 12 years ago
Automated System 43a3a1629b Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Automated System b6455e8bad Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Darrell Anderson d3c0e2bade Update files and references in support of bug report 1446. 13 years ago
Timothy Pearson c6ab470b2d Second part of prior commit 13 years ago
Timothy Pearson 7c0b604920 Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/compizconfig-backend-kconfig 13 years ago
Timothy Pearson 1fe1dde18b Rename makekdewidgets 13 years ago
Automated System 5bf11cc1a4 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Timothy Pearson bc459dafc6 Rename KABC namespace 13 years ago
Automated System c90a7c1d05 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Automated System d941833153 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Timothy Pearson 997c40b929 Fix references to lkabc 13 years ago
Automated System 77d74cb49f Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 13 years ago
Automated System 5b2021486c Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 13 years ago
Automated System 5e7c335438 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Timothy Pearson 660927655b Rename additional header files to avoid conflicts with KDE4 13 years ago
Timothy Pearson 0bb1e900e4 Rename common header files for consistency with class renaming 13 years ago
Automated System db3403c165 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Timothy Pearson 957737b41b Rename many classes and header files to avoid conflicts with KDE4 13 years ago
Automated System 82f43c4e9d Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Timothy Pearson 70b906d79b Rename a few build variables for overall consistency 13 years ago
Timothy Pearson 0313d31cd4 Fix up remaining references to -lkio 13 years ago
Automated System 07f3ff583e Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Timothy Pearson a0243f60b9 Rename kiobuffer and KHTML 13 years ago
Automated System f185f75a38 Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 13 years ago
Automated System 27abea77f5 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Timothy Pearson ff2557dc4f Rename a number of libraries and executables to avoid conflicts with KDE4 13 years ago
Automated System 5272df885c Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Timothy Pearson 505abee583 Rename a number of libraries and executables to avoid conflicts with KDE4 13 years ago
Timothy Pearson 699807d7eb Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 13 years ago
Timothy Pearson 07551885ca Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 13 years ago
Automated System 8c8931bcec Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Timothy Pearson 6961dec4dd Rename KInstance and KAboutData to avoid conflicts with KDE4 13 years ago
Automated System c2ed9454c6 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Timothy Pearson ef661da7d9 Rename KApplication to TDEApplication to avoid conflicts with KDE4 13 years ago
Automated System 4e0fd9a96d Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 13 years ago
Automated System b13d69e191 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Automated System 4f0d82816b Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 13 years ago
Automated System fbbeec7fb4 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Automated System 44395e33dc Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Automated System 7db6a9c8b1 Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 13 years ago
Automated System bd31a40c3d Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 13 years ago
Automated System ee13ba2a2c Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Automated System 13bd089c4f Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Automated System a5380d6434 Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 13 years ago
Automated System a8de1d37f5 Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 13 years ago
Automated System 83b69455ce Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 13 years ago
Automated System a4a5941d05 Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 13 years ago
Automated System 91677d9eb5 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Darrell Anderson 9c5db19d83 Update XDG information in support of bug report 892. 13 years ago
Automated System 14f740c26f Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 13 years ago
Automated System 1277f9c9db Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 13 years ago
Automated System 708627e93d Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Automated System 01c396c5db Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Darrell Anderson d5c7add5c1 Update HTML install path references. 14 years ago
Automated System 0890a47eeb Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 14 years ago
Automated System 0244f6e559 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Automated System dc82ffed30 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Automated System 36ac7771f5 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Automated System 3e9a3193e1 Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 14 years ago
Automated System 40045e5572 Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 14 years ago
Automated System 510e17aeda Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 14 years ago
Automated System 625a892394 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Timothy Pearson 49c0242fa2 Rename kde-config to tde-config 14 years ago
Automated System 9db0e96ad2 Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 14 years ago
Automated System 3f4c397d2a Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 14 years ago
Automated System e47b8ba7ea Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Automated System 4719008ad2 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Timothy Pearson 98debd6b9c Update various qt function definitions and static methods for tqt3 14 years ago
Automated System 6b8143d4bc Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 14 years ago
Automated System fc0cb2a61d Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 14 years ago
Automated System 7192d50453 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Automated System 404d53dd66 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Automated System e4c120200f Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Timothy Pearson 71dd02dda2 Rename include subdirectory to tde 14 years ago
Automated System 7441c181a2 Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 14 years ago
Automated System 0aa3d18f1c Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Automated System 9e946af291 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Automated System 594037af4c Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 14 years ago
Automated System 9865b7b77f Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 14 years ago
Automated System 7f386f7b7a Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 14 years ago
Automated System 7e12649941 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Timothy Pearson b787dacbf8 Rename KDEHOME and KDEDIR 14 years ago
Automated System 2f03d16236 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Automated System 8d34d6aa45 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Automated System 1c1ade5a12 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Automated System e7ab58aed9 Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 14 years ago
Automated System beee634291 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Timothy Pearson 295759a8ff Additional renaming of kde to tde 14 years ago
Automated System d657fa4336 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Timothy Pearson 84b69f71b5 Rename kwin to twin (part 1 of 2) 14 years ago
Automated System 0ba9b712b3 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Timothy Pearson 009c109c5e Rename additional instances of KDE to TDE 14 years ago
Automated System 1d7fb194a9 Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 14 years ago
Automated System 51ffb8d282 Reset submodule main/applications/compizconfig-backend-kconfig/cmake to latest HEAD 14 years ago
Automated System d2a34fcb1d Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Timothy Pearson 9a2879a435 Additional kde to tde renaming 14 years ago
Automated System fb93bd22a5 Reset submodule main/applications/compizconfig-backend-kconfig/admin to latest HEAD 14 years ago
Timothy Pearson 52def96d8f Rename kde libraries to tde 14 years ago
Timothy Pearson c88829a6bc Added common directories 14 years ago

@ -0,0 +1,76 @@
############################################
# #
# Improvements and feedbacks are welcome #
# #
# This file is released under GPL >= 3 #
# #
############################################
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
tde_set_project_version( )
#### general package setup
project( compizconfig-backend-tdeconfig )
#### include essential cmake modules
include( FindPkgConfig )
include( CheckFunctionExists )
include( CheckSymbolExists )
include( CheckIncludeFile )
include( CheckLibraryExists )
include( CheckCSourceCompiles )
include( CheckCXXSourceCompiles )
#### include our cmake modules
include( TDEMacros )
##### setup install paths
include( TDESetupPaths )
tde_setup_paths( )
##### set PKG_CONFIG_PATH
set( ENV{PKG_CONFIG_PATH} "${PKG_CONFIG_PATH}:$ENV{PKG_CONFIG_PATH}:${LIB_INSTALL_DIR}/pkgconfig" )
##### optional stuff
option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
##### configure checks
include( ConfigureChecks.cmake )
###### global compiler settings
add_definitions( -DHAVE_CONFIG_H )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )
##### directories
add_subdirectory( settings-backend )
##### write configure files
configure_file( config.h.cmake config.h @ONLY )

@ -0,0 +1,38 @@
###########################################
# #
# Improvements and feedback are welcome #
# #
# This file is released under GPL >= 3 #
# #
###########################################
# required stuff
find_package( TQt )
find_package( TDE )
tde_setup_architecture_flags( )
include(TestBigEndian)
test_big_endian(WORDS_BIGENDIAN)
tde_setup_largefiles( )
##### check for gcc visibility support
if( WITH_GCC_VISIBILITY )
tde_setup_gcc_visibility( )
endif( WITH_GCC_VISIBILITY )
##### check for X11
find_package( X11 )
##### check for libcompizconfig
pkg_search_module( COMPIZCONFIG libcompizconfig )
if( NOT COMPIZCONFIG_FOUND )
tde_message_fatal( "libcompizconfig is required, but was not found on your system" )
endif( NOT COMPIZCONFIG_FOUND )

@ -0,0 +1,22 @@
Basic Installation
==================
compizconfig-backend-tdeconfig relies on cmake to build.
Here are suggested default options:
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DBUILD_ALL="ON" \
-DWITH_ALL_OPTIONS="ON"
Requirements:
=============
- libcompizconfig

@ -1,12 +0,0 @@
AUTOMAKE_OPTIONS = foreign 1.5 dist-bzip2
DISTCLEANFILES = inst-apps
MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 SUBDIRS
include admin/deps.am
include admin/Doxyfile.am
SUBDIRS=$(TOPSUBDIRS)

@ -1,11 +0,0 @@
AUTOMAKE_OPTIONS = foreign 1.5 dist-bzip2
DISTCLEANFILES = inst-apps
MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 SUBDIRS
include admin/deps.am
include admin/Doxyfile.am

@ -1,16 +0,0 @@
all:
@echo "This Makefile is only for the CVS repository"
@echo "This will be deleted before making the distribution"
@echo ""
@if test ! -d admin; then \
echo "Please recheckout this module!" ;\
echo "for cvs: use checkout once and after that update again" ;\
echo "for cvsup: checkout kde-common from cvsup and" ;\
echo " link kde-common/admin to ./admin" ;\
exit 1 ;\
fi
$(MAKE) -f admin/Makefile.common cvs
.SILENT:

@ -0,0 +1,19 @@
compizconfig-backend-tdeconfig - a settings backend for libcompizconfig.
Compiz is an OpenGL compositing manager.
.
Contributing
--------------
If you wish to contribute compizconfig-backend-tdeconfig, you might do so:
- TDE Gitea Workspace (TGW) collaboration tool.
https://mirror.git.trinitydesktop.org/gitea
- TDE Weblate Translation Workspace (TWTW) collaboration tool.
https://mirror.git.trinitydesktop.org/weblate

File diff suppressed because it is too large Load Diff

863
aclocal.m4 vendored

@ -1,863 +0,0 @@
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_AUTOMAKE_VERSION(VERSION)
# ----------------------------
# Automake X.Y traces this macro to ensure aclocal.m4 has been
# generated from the m4 files accompanying Automake X.Y.
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
# AM_SET_CURRENT_AUTOMAKE_VERSION
# -------------------------------
# Call AM_AUTOMAKE_VERSION so it can be traced.
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
[AM_AUTOMAKE_VERSION([1.9.6])])
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
#
# Of course, Automake must honor this variable whenever it calls a
# tool from the auxiliary directory. The problem is that $srcdir (and
# therefore $ac_aux_dir as well) can be either absolute or relative,
# depending on how configure is run. This is pretty annoying, since
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
# source directory, any form will work fine, but in subdirectories a
# relative path needs to be adjusted first.
#
# $ac_aux_dir/missing
# fails when called from a subdirectory if $ac_aux_dir is relative
# $top_srcdir/$ac_aux_dir/missing
# fails if $ac_aux_dir is absolute,
# fails when called from a subdirectory in a VPATH build with
# a relative $ac_aux_dir
#
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
# are both prefixed by $srcdir. In an in-source build this is usually
# harmless because $srcdir is `.', but things will broke when you
# start a VPATH build or use an absolute $srcdir.
#
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
# and then we would define $MISSING as
# MISSING="\${SHELL} $am_aux_dir/missing"
# This will work as long as MISSING is not called from configure, because
# unfortunately $(top_srcdir) has no meaning in configure.
# However there are other variables, like CC, which are often used in
# configure, and could therefore not use this "fixed" $ac_aux_dir.
#
# Another solution, used here, is to always expand $ac_aux_dir to an
# absolute PATH. The drawback is that using absolute paths prevent a
# configured tree to be moved without reconfiguration.
AC_DEFUN([AM_AUX_DIR_EXPAND],
[dnl Rely on autoconf to set up CDPATH properly.
AC_PREREQ([2.50])dnl
# expand $ac_aux_dir to an absolute path
am_aux_dir=`cd $ac_aux_dir && pwd`
])
# AM_CONDITIONAL -*- Autoconf -*-
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 7
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
# -------------------------------------
# Define a conditional.
AC_DEFUN([AM_CONDITIONAL],
[AC_PREREQ(2.52)dnl
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
AC_SUBST([$1_TRUE])
AC_SUBST([$1_FALSE])
if $2; then
$1_TRUE=
$1_FALSE='#'
else
$1_TRUE='#'
$1_FALSE=
fi
AC_CONFIG_COMMANDS_PRE(
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
AC_MSG_ERROR([[conditional "$1" was never defined.
Usually this means the macro was only invoked conditionally.]])
fi])])
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 8
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
# written in clear, in which case automake, when reading aclocal.m4,
# will think it sees a *use*, and therefore will trigger all it's
# C support machinery. Also note that it means that autoscan, seeing
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
# _AM_DEPENDENCIES(NAME)
# ----------------------
# See how the compiler implements dependency checking.
# NAME is "CC", "CXX", "GCJ", or "OBJC".
# We try a few techniques and use that to set a single cache variable.
#
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
# dependency, and given that the user is not expected to run this macro,
# just rely on AC_PROG_CC.
AC_DEFUN([_AM_DEPENDENCIES],
[AC_REQUIRE([AM_SET_DEPDIR])dnl
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
AC_REQUIRE([AM_DEP_TRACK])dnl
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
[$1], CXX, [depcc="$CXX" am_compiler_list=],
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
[depcc="$$1" am_compiler_list=])
AC_CACHE_CHECK([dependency style of $depcc],
[am_cv_$1_dependencies_compiler_type],
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# We make a subdir and do the tests there. Otherwise we can end up
# making bogus files that we don't know about and never remove. For
# instance it was reported that on HP-UX the gcc test will end up
# making a dummy file named `D' -- because `-MD' means `put the output
# in D'.
mkdir conftest.dir
# Copy depcomp to subdir because otherwise we won't find it if we're
# using a relative directory.
cp "$am_depcomp" conftest.dir
cd conftest.dir
# We will build objects and dependencies in a subdirectory because
# it helps to detect inapplicable dependency modes. For instance
# both Tru64's cc and ICC support -MD to output dependencies as a
# side effect of compilation, but ICC will put the dependencies in
# the current directory while Tru64 will put them in the object
# directory.
mkdir sub
am_cv_$1_dependencies_compiler_type=none
if test "$am_compiler_list" = ""; then
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
fi
for depmode in $am_compiler_list; do
# Setup a source with many dependencies, because some compilers
# like to wrap large dependency lists on column 80 (with \), and
# we should not choose a depcomp mode which is confused by this.
#
# We need to recreate these files for each test, as the compiler may
# overwrite some of them when testing with obscure command lines.
# This happens at least with the AIX C compiler.
: > sub/conftest.c
for i in 1 2 3 4 5 6; do
echo '#include "conftst'$i'.h"' >> sub/conftest.c
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
# Solaris 8's {/usr,}/bin/sh.
touch sub/conftst$i.h
done
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
case $depmode in
nosideeffect)
# after this tag, mechanisms are not by side-effect, so they'll
# only be used when explicitly requested
if test "x$enable_dependency_tracking" = xyes; then
continue
else
break
fi
;;
none) break ;;
esac
# We check with `-c' and `-o' for the sake of the "dashmstdout"
# mode. It turns out that the SunPro C++ compiler does not properly
# handle `-M -o', and we need to detect this.
if depmode=$depmode \
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
>/dev/null 2>conftest.err &&
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
# icc doesn't choke on unknown options, it will just issue warnings
# or remarks (even with -Werror). So we grep stderr for any message
# that says an option was ignored or not supported.
# When given -MP, icc 7.0 and 7.1 complain thusly:
# icc: Command line warning: ignoring option '-M'; no argument required
# The diagnosis changed in icc 8.0:
# icc: Command line remark: option '-MP' not supported
if (grep 'ignoring option' conftest.err ||
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
am_cv_$1_dependencies_compiler_type=$depmode
break
fi
fi
done
cd ..
rm -rf conftest.dir
else
am_cv_$1_dependencies_compiler_type=none
fi
])
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
AM_CONDITIONAL([am__fastdep$1], [
test "x$enable_dependency_tracking" != xno \
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
])
# AM_SET_DEPDIR
# -------------
# Choose a directory name for dependency files.
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
AC_DEFUN([AM_SET_DEPDIR],
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
])
# AM_DEP_TRACK
# ------------
AC_DEFUN([AM_DEP_TRACK],
[AC_ARG_ENABLE(dependency-tracking,
[ --disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors])
if test "x$enable_dependency_tracking" != xno; then
am_depcomp="$ac_aux_dir/depcomp"
AMDEPBACKSLASH='\'
fi
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
AC_SUBST([AMDEPBACKSLASH])
])
# Generate code to set up dependency tracking. -*- Autoconf -*-
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
#serial 3
# _AM_OUTPUT_DEPENDENCY_COMMANDS
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[for mf in $CONFIG_FILES; do
# Strip MF so we end up with the name of the file.
mf=`echo "$mf" | sed -e 's/:.*$//'`
# Check whether this is an Automake generated Makefile or not.
# We used to match only the files named `Makefile.in', but
# some people rename them; so instead we look at the file content.
# Grep'ing the first line is not enough: some people post-process
# each Makefile.in and add a new line on top of each file to say so.
# So let's grep whole file.
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
dirpart=`AS_DIRNAME("$mf")`
else
continue
fi
# Extract the definition of DEPDIR, am__include, and am__quote
# from the Makefile without running `make'.
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
test -z "$DEPDIR" && continue
am__include=`sed -n 's/^am__include = //p' < "$mf"`
test -z "am__include" && continue
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
# When using ansi2knr, U may be empty or an underscore; expand it
U=`sed -n 's/^U = //p' < "$mf"`
# Find all dependency output files, they are included files with
# $(DEPDIR) in their names. We invoke sed twice because it is the
# simplest approach to changing $(DEPDIR) to its actual value in the
# expansion.
for file in `sed -n "
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
fdir=`AS_DIRNAME(["$file"])`
AS_MKDIR_P([$dirpart/$fdir])
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
done
done
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
# AM_OUTPUT_DEPENDENCY_COMMANDS
# -----------------------------
# This macro should only be invoked once -- use via AC_REQUIRE.
#
# This code is only required when automatic dependency tracking
# is enabled. FIXME. This creates each `.P' file that we will
# need in order to bootstrap the dependency handling code.
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
[AC_CONFIG_COMMANDS([depfiles],
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
])
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 8
# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
# Do all the work for Automake. -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 12
# This macro actually does too much. Some checks are only needed if
# your package does certain things. But this isn't really a big deal.
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
# AM_INIT_AUTOMAKE([OPTIONS])
# -----------------------------------------------
# The call with PACKAGE and VERSION arguments is the old style
# call (pre autoconf-2.50), which is being phased out. PACKAGE
# and VERSION should now be passed to AC_INIT and removed from
# the call to AM_INIT_AUTOMAKE.
# We support both call styles for the transition. After
# the next Automake release, Autoconf can make the AC_INIT
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
[AC_PREREQ([2.58])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
AC_REQUIRE([AC_PROG_INSTALL])dnl
# test to see if srcdir already configured
if test "`cd $srcdir && pwd`" != "`pwd`" &&
test -f $srcdir/config.status; then
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
fi
# test whether we have cygpath
if test -z "$CYGPATH_W"; then
if (cygpath --version) >/dev/null 2>/dev/null; then
CYGPATH_W='cygpath -w'
else
CYGPATH_W=echo
fi
fi
AC_SUBST([CYGPATH_W])
# Define the identity of the package.
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
[_AM_SET_OPTIONS([$1])dnl
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
_AM_IF_OPTION([no-define],,
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
# Some tools Automake needs.
AC_REQUIRE([AM_SANITY_CHECK])dnl
AC_REQUIRE([AC_ARG_PROGRAM])dnl
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
AM_MISSING_PROG(AUTOCONF, autoconf)
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
AM_MISSING_PROG(AUTOHEADER, autoheader)
AM_MISSING_PROG(MAKEINFO, makeinfo)
AM_PROG_INSTALL_SH
AM_PROG_INSTALL_STRIP
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
AC_REQUIRE([AC_PROG_AWK])dnl
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
[_AM_PROG_TAR([v7])])])
_AM_IF_OPTION([no-dependencies],,
[AC_PROVIDE_IFELSE([AC_PROG_CC],
[_AM_DEPENDENCIES(CC)],
[define([AC_PROG_CC],
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
AC_PROVIDE_IFELSE([AC_PROG_CXX],
[_AM_DEPENDENCIES(CXX)],
[define([AC_PROG_CXX],
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
])
])
# When config.status generates a header, we must update the stamp-h file.
# This file resides in the same directory as the config header
# that is generated. The stamp files are numbered to have different names.
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
# loop where config.status creates the headers, so we can generate
# our stamp files there.
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
[# Compute $1's index in $config_headers.
_am_stamp_count=1
for _am_header in $config_headers :; do
case $_am_header in
$1 | $1:* )
break ;;
* )
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
esac
done
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_PROG_INSTALL_SH
# ------------------
# Define $install_sh.
AC_DEFUN([AM_PROG_INSTALL_SH],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
install_sh=${install_sh-"$am_aux_dir/install-sh"}
AC_SUBST(install_sh)])
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 2
# Check whether the underlying file-system supports filenames
# with a leading dot. For instance MS-DOS doesn't.
AC_DEFUN([AM_SET_LEADING_DOT],
[rm -rf .tst 2>/dev/null
mkdir .tst 2>/dev/null
if test -d .tst; then
am__leading_dot=.
else
am__leading_dot=_
fi
rmdir .tst 2>/dev/null
AC_SUBST([am__leading_dot])])
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 3
# AM_MAKE_INCLUDE()
# -----------------
# Check to see how make treats includes.
AC_DEFUN([AM_MAKE_INCLUDE],
[am_make=${MAKE-make}
cat > confinc << 'END'
am__doit:
@echo done
.PHONY: am__doit
END
# If we don't find an include directive, just comment out the code.
AC_MSG_CHECKING([for style of include used by $am_make])
am__include="#"
am__quote=
_am_result=none
# First try GNU make style include.
echo "include confinc" > confmf
# We grep out `Entering directory' and `Leaving directory'
# messages which can occur if `w' ends up in MAKEFLAGS.
# In particular we don't look at `^make:' because GNU make might
# be invoked under some other name (usually "gmake"), in which
# case it prints its new name instead of `make'.
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
am__include=include
am__quote=
_am_result=GNU
fi
# Now try BSD make style include.
if test "$am__include" = "#"; then
echo '.include "confinc"' > confmf
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
am__include=.include
am__quote="\""
_am_result=BSD
fi
fi
AC_SUBST([am__include])
AC_SUBST([am__quote])
AC_MSG_RESULT([$_am_result])
rm -f confinc confmf
])
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 4
# AM_MISSING_PROG(NAME, PROGRAM)
# ------------------------------
AC_DEFUN([AM_MISSING_PROG],
[AC_REQUIRE([AM_MISSING_HAS_RUN])
$1=${$1-"${am_missing_run}$2"}
AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
# Define MISSING if not defined so far and test if it supports --run.
# If it does, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
# Use eval to expand $SHELL
if eval "$MISSING --run true"; then
am_missing_run="$MISSING --run "
else
am_missing_run=
AC_MSG_WARN([`missing' script is too old or missing])
fi
])
# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_PROG_MKDIR_P
# ---------------
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
#
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
# created by `make install' are always world readable, even if the
# installer happens to have an overly restrictive umask (e.g. 077).
# This was a mistake. There are at least two reasons why we must not
# use `-m 0755':
# - it causes special bits like SGID to be ignored,
# - it may be too restrictive (some setups expect 775 directories).
#
# Do not use -m 0755 and let people choose whatever they expect by
# setting umask.
#
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
# Some implementations (such as Solaris 8's) are not thread-safe: if a
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
# concurrently, both version can detect that a/ is missing, but only
# one can create it and the other will error out. Consequently we
# restrict ourselves to GNU make (using the --version option ensures
# this.)
AC_DEFUN([AM_PROG_MKDIR_P],
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
# We used to keeping the `.' as first argument, in order to
# allow $(mkdir_p) to be used without argument. As in
# $(mkdir_p) $(somedir)
# where $(somedir) is conditionally defined. However this is wrong
# for two reasons:
# 1. if the package is installed by a user who cannot write `.'
# make install will fail,
# 2. the above comment should most certainly read
# $(mkdir_p) $(DESTDIR)$(somedir)
# so it does not work when $(somedir) is undefined and
# $(DESTDIR) is not.
# To support the latter case, we have to write
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
# so the `.' trick is pointless.
mkdir_p='mkdir -p --'
else
# On NextStep and OpenStep, the `mkdir' command does not
# recognize any option. It will interpret all options as
# directories to create, and then abort because `.' already
# exists.
for d in ./-p ./--version;
do
test -d $d && rmdir $d
done
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
if test -f "$ac_aux_dir/mkinstalldirs"; then
mkdir_p='$(mkinstalldirs)'
else
mkdir_p='$(install_sh) -d'
fi
fi
AC_SUBST([mkdir_p])])
# Helper functions for option handling. -*- Autoconf -*-
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 3
# _AM_MANGLE_OPTION(NAME)
# -----------------------
AC_DEFUN([_AM_MANGLE_OPTION],
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
# _AM_SET_OPTION(NAME)
# ------------------------------
# Set option NAME. Presently that only means defining a flag for this option.
AC_DEFUN([_AM_SET_OPTION],
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
# _AM_SET_OPTIONS(OPTIONS)
# ----------------------------------
# OPTIONS is a space-separated list of Automake options.
AC_DEFUN([_AM_SET_OPTIONS],
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
# -------------------------------------------
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
# Check to make sure that the build environment is sane. -*- Autoconf -*-
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 4
# AM_SANITY_CHECK
# ---------------
AC_DEFUN([AM_SANITY_CHECK],
[AC_MSG_CHECKING([whether build environment is sane])
# Just in case
sleep 1
echo timestamp > conftest.file
# Do `set' in a subshell so we don't clobber the current shell's
# arguments. Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
if test "$[*]" = "X"; then
# -L didn't work.
set X `ls -t $srcdir/configure conftest.file`
fi
rm -f conftest.file
if test "$[*]" != "X $srcdir/configure conftest.file" \
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
# If neither matched, then we have a broken ls. This can happen
# if, for instance, CONFIG_SHELL is bash and it inherits a
# broken ls alias from the environment. This has actually
# happened. Such a system could not be considered "sane".
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
alias in your environment])
fi
test "$[2]" = conftest.file
)
then
# Ok.
:
else
AC_MSG_ERROR([newly created file is older than distributed files!
Check your system clock])
fi
AC_MSG_RESULT(yes)])
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_PROG_INSTALL_STRIP
# ---------------------
# One issue with vendor `install' (even GNU) is that you can't
# specify the program used to strip binaries. This is especially
# annoying in cross-compiling environments, where the build's strip
# is unlikely to handle the host's binaries.
# Fortunately install-sh will honor a STRIPPROG variable, so we
# always use install-sh in `make install-strip', and initialize
# STRIPPROG with the value of the STRIP variable (set by the user).
AC_DEFUN([AM_PROG_INSTALL_STRIP],
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
# Installed binaries are usually stripped using `strip' when the user
# run `make install-strip'. However `strip' might not be the right
# tool to use in cross-compilation environments, therefore Automake
# will honor the `STRIP' environment variable to overrule this program.
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
if test "$cross_compiling" != no; then
AC_CHECK_TOOL([STRIP], [strip], :)
fi
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
# Check how to create a tarball. -*- Autoconf -*-
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 2
# _AM_PROG_TAR(FORMAT)
# --------------------
# Check how to create a tarball in format FORMAT.
# FORMAT should be one of `v7', `ustar', or `pax'.
#
# Substitute a variable $(am__tar) that is a command
# writing to stdout a FORMAT-tarball containing the directory
# $tardir.
# tardir=directory && $(am__tar) > result.tar
#
# Substitute a variable $(am__untar) that extract such
# a tarball read from stdin.
# $(am__untar) < result.tar
AC_DEFUN([_AM_PROG_TAR],
[# Always define AMTAR for backward compatibility.
AM_MISSING_PROG([AMTAR], [tar])
m4_if([$1], [v7],
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
[m4_case([$1], [ustar],, [pax],,
[m4_fatal([Unknown tar format])])
AC_MSG_CHECKING([how to create a $1 tar archive])
# Loop over all known methods to create a tar archive until one works.
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
# Do not fold the above two line into one, because Tru64 sh and
# Solaris sh will not grok spaces in the rhs of `-'.
for _am_tool in $_am_tools
do
case $_am_tool in
gnutar)
for _am_tar in tar gnutar gtar;
do
AM_RUN_LOG([$_am_tar --version]) && break
done
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
am__untar="$_am_tar -xf -"
;;
plaintar)
# Must skip GNU tar: if it does not support --format= it doesn't create
# ustar tarball either.
(tar --version) >/dev/null 2>&1 && continue
am__tar='tar chf - "$$tardir"'
am__tar_='tar chf - "$tardir"'
am__untar='tar xf -'
;;
pax)
am__tar='pax -L -x $1 -w "$$tardir"'
am__tar_='pax -L -x $1 -w "$tardir"'
am__untar='pax -r'
;;
cpio)
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
am__untar='cpio -i -H $1 -d'
;;
none)
am__tar=false
am__tar_=false
am__untar=false
;;
esac
# If the value was cached, stop now. We just wanted to have am__tar
# and am__untar set.
test -n "${am_cv_prog_tar_$1}" && break
# tar/untar a dummy directory, and stop if the command works
rm -rf conftest.dir
mkdir conftest.dir
echo GrepMe > conftest.dir/file
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
rm -rf conftest.dir
if test -s conftest.tar; then
AM_RUN_LOG([$am__untar <conftest.tar])
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
fi
done
rm -rf conftest.dir
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
AC_SUBST([am__tar])
AC_SUBST([am__untar])
]) # _AM_PROG_TAR
m4_include([acinclude.m4])

@ -1,4 +0,0 @@
#!/bin/sh
make -f Makefile.cvs

@ -0,0 +1,8 @@
#define VERSION "@VERSION@"
// Defined if you have fvisibility and fvisibility-inlines-hidden support.
#cmakedefine __TDE_HAVE_GCC_VISIBILITY 1
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@

@ -1,294 +0,0 @@
/* config.h.in. Generated from configure.in by autoheader. */
/* Define to 1 if you have the <Carbon/Carbon.h> header file. */
#undef HAVE_CARBON_CARBON_H
/* Define if you have the CoreAudio API */
#undef HAVE_COREAUDIO
/* Define to 1 if you have the <crt_externs.h> header file. */
#undef HAVE_CRT_EXTERNS_H
/* Defines if your system has the crypt function */
#undef HAVE_CRYPT
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define if you have libjpeg */
#undef HAVE_LIBJPEG
/* Define if you have libpng */
#undef HAVE_LIBPNG
/* Define if you have a working libpthread (will enable threaded code) */
#undef HAVE_LIBPTHREAD
/* Define if you have libz */
#undef HAVE_LIBZ
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define if your system needs _NSGetEnviron to set up the environment */
#undef HAVE_NSGETENVIRON
/* Define if you have random */
#undef HAVE_RANDOM
/* Define if you have the random prototype */
#undef HAVE_RANDOM_PROTO
/* Define if you have res_init */
#undef HAVE_RES_INIT
/* Define if you have the res_init prototype */
#undef HAVE_RES_INIT_PROTO
/* Define if you have a STL implementation by SGI */
#undef HAVE_SGI_STL
/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF
/* Define if you have srandom */
#undef HAVE_SRANDOM
/* Define if you have the srandom prototype */
#undef HAVE_SRANDOM_PROTO
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define if you have strlcat */
#undef HAVE_STRLCAT
/* Define if you have the strlcat prototype */
#undef HAVE_STRLCAT_PROTO
/* Define if you have strlcpy */
#undef HAVE_STRLCPY
/* Define if you have the strlcpy prototype */
#undef HAVE_STRLCPY_PROTO
/* Define to 1 if you have the <sys/bitypes.h> header file. */
#undef HAVE_SYS_BITYPES_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define if you have usleep */
#undef HAVE_USLEEP
/* Define if you have the usleep prototype */
#undef HAVE_USLEEP_PROTO
/* Define to 1 if you have the `vsnprintf' function. */
#undef HAVE_VSNPRINTF
/* Suffix for lib directories */
#undef KDELIBSUFF
/* Name of package */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* The size of `char *', as computed by sizeof. */
#undef SIZEOF_CHAR_P
/* The size of `int', as computed by sizeof. */
#undef SIZEOF_INT
/* The size of `long', as computed by sizeof. */
#undef SIZEOF_LONG
/* The size of `short', as computed by sizeof. */
#undef SIZEOF_SHORT
/* The size of `size_t', as computed by sizeof. */
#undef SIZEOF_SIZE_T
/* The size of `unsigned long', as computed by sizeof. */
#undef SIZEOF_UNSIGNED_LONG
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Version number of package */
#undef VERSION
/* Defined if compiling without arts */
#undef WITHOUT_ARTS
/*
* jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
* headers and I'm too lazy to write a configure test as long as only
* unixware is related
*/
#ifdef _UNIXWARE
#define HAVE_BOOLEAN
#endif
/*
* AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
* that defines bzero.
*/
#if defined(_AIX)
#include <strings.h>
#endif
#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H)
# include <sys/time.h>
# include <crt_externs.h>
# define environ (*_NSGetEnviron())
#endif
#if !defined(HAVE_RANDOM_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
long int random(void);
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_RES_INIT_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
int res_init(void);
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_SRANDOM_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
void srandom(unsigned int);
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_STRLCAT_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
unsigned long strlcat(char*, const char*, unsigned long);
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_STRLCPY_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
unsigned long strlcpy(char*, const char*, unsigned long);
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_USLEEP_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
int usleep (unsigned int);
#ifdef __cplusplus
}
#endif
#endif
/*
* On HP-UX, the declaration of vsnprintf() is needed every time !
*/
#if !defined(HAVE_VSNPRINTF) || defined(hpux)
#if __STDC__
#include <stdarg.h>
#include <stdlib.h>
#else
#include <varargs.h>
#endif
#ifdef __cplusplus
extern "C"
#endif
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
#ifdef __cplusplus
extern "C"
#endif
int snprintf(char *str, size_t n, char const *fmt, ...);
#endif
/* define to 1 if -fvisibility is supported */
#undef __KDE_HAVE_GCC_VISIBILITY
#if defined(__SVR4) && !defined(__svr4__)
#define __svr4__ 1
#endif
/* type to use in place of socklen_t if not defined */
#undef kde_socklen_t
/* type to use in place of socklen_t if not defined (deprecated, use
kde_socklen_t) */
#undef ksize_t

@ -1,2 +0,0 @@
./admin/configure.in.min
configure.in.in

@ -1,136 +0,0 @@
dnl =======================================================
dnl FILE: ./admin/configure.in.min
dnl =======================================================
dnl This file is part of the KDE libraries/packages
dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
dnl This file is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU Library General Public
dnl License as published by the Free Software Foundation; either
dnl version 2 of the License, or (at your option) any later version.
dnl This library is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dnl Library General Public License for more details.
dnl You should have received a copy of the GNU Library General Public License
dnl along with this library; see the file COPYING.LIB. If not, write to
dnl the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
dnl Boston, MA 02110-1301, USA.
# Original Author was Kalle@kde.org
# I lifted it in some mater. (Stephan Kulow)
# I used much code from Janos Farkas
dnl Process this file with autoconf to produce a configure script.
AC_INIT(acinclude.m4) dnl a source file from your sub dir
dnl This is so we can use kde-common
AC_CONFIG_AUX_DIR(admin)
dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
unset CDPATH
dnl Checking host/target/build systems, for make, install etc.
AC_CANONICAL_SYSTEM
dnl Perform program name transformation
AC_ARG_PROGRAM
dnl Automake doc recommends to do this only here. (Janos)
AM_INIT_AUTOMAKE(compizconfig-backend-kconfig, 0.7.3) dnl searches for some needed programs
KDE_SET_PREFIX
dnl generate the config header
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
dnl Checks for programs.
AC_CHECK_COMPILERS
AC_ENABLE_SHARED(yes)
AC_ENABLE_STATIC(no)
KDE_PROG_LIBTOOL
dnl for NLS support. Call them in this order!
dnl WITH_NLS is for the po files
AM_KDE_WITH_NLS
dnl KDE_USE_QT
AC_PATH_KDE
dnl =======================================================
dnl FILE: configure.in.in
dnl =======================================================
#MIN_CONFIG
KDE_ENABLE_HIDDEN_VISIBILITY
dnl PACKAGE set before
AC_CHECK_RANDOM
AC_CHECK_USLEEP
CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
KDE_PKG_CHECK_MODULES(CCS, "libcompizconfig",[],AC_MSG_ERROR([libccs not found]))
if test -z "$PKG_CONFIG"; then
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
fi
if test "$PKG_CONFIG" = "no" ; then
BACKENDDIR=$prefix/lib/compizconfig
else
ccs_libdir=`$PKG_CONFIG --variable=libdir libcompizconfig`
BACKENDDIR=$ccs_libdir/compizconfig
fi
AC_SUBST(BACKENDDIR)
KDE_CREATE_SUBDIRSLIST
AM_CONDITIONAL(settings_backend_SUBDIR_included, test "x$settings_backend_SUBDIR_included" = xyes)
AC_CONFIG_FILES([ Makefile ])
AC_CONFIG_FILES([ settings-backend/Makefile ])
AC_OUTPUT
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
# And if so, warn when they don't match
if test "$kde_libs_prefix" != "$given_prefix"; then
# And if kde doesn't know about the prefix yet
echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
if test $? -ne 0; then
echo ""
echo "Warning: you chose to install this package in $given_prefix,"
echo "but KDE was found in $kde_libs_prefix."
echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
echo "Then restart KDE."
echo ""
fi
fi
fi
if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
echo ""
echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
echo "was not included. Therefore, GCC symbol visibility support remains disabled."
echo ""
echo "For better performance, consider including the Qt visibility supporting patch"
echo "located at:"
echo ""
echo "http://bugs.kde.org/show_bug.cgi?id=109386"
echo ""
echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
echo "everything will continue to work just fine without it."
echo ""
fi
if test "$all_tests" = "bad"; then
if test ! "$cache_file" = "/dev/null"; then
echo ""
echo "Please remove the file $cache_file after changing your setup"
echo "so that configure will find the changes next time."
echo ""
fi
else
echo ""
echo "Good - your configure finished. Start make now"
echo ""
fi

@ -1,21 +0,0 @@
#MIN_CONFIG
KDE_ENABLE_HIDDEN_VISIBILITY
AM_INIT_AUTOMAKE(compizconfig-backend-kconfig,0.8.4)
AC_CHECK_RANDOM
AC_CHECK_USLEEP
CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
KDE_PKG_CHECK_MODULES(CCS, "libcompizconfig",[],AC_MSG_ERROR([libccs not found]))
if test -z "$PKG_CONFIG"; then
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
fi
if test "$PKG_CONFIG" = "no" ; then
BACKENDDIR=$prefix/lib/compizconfig
else
ccs_libdir=`$PKG_CONFIG --variable=libdir libcompizconfig`
BACKENDDIR=$ccs_libdir/compizconfig
fi
AC_SUBST(BACKENDDIR)

@ -0,0 +1,28 @@
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${X11_INCLUDE_DIR}
${COMPIZCONFIG_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### tdeconfig (shared)
tde_add_library( tdeconfig SHARED
SOURCES
tdeconfig_backend.cpp
LINK
tdecore-shared
${COMPIZCONFIG_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}/compizconfig/backends
)

@ -1,12 +0,0 @@
INCLUDES = -I$(srcdir)/lib $(all_includes)
libkconfig_la_LDFLAGS = -module -avoid-version -no-undefined $(all_libraries)
libkconfig_la_LIBADD = $(CCS_LIBS) $(LIB_KDECORE)
libkconfig_la_SOURCES = kconfig_backend.cpp
backenddir = $(BACKENDDIR)/backends
KDE_CXXFLAGS = $(CCS_CFLAGS)
METASOURCES = AUTO
backend_LTLIBRARIES = libkconfig.la

@ -21,15 +21,15 @@
#include <tqdir.h>
#include <kconfig.h>
#include <ksimpleconfig.h>
#include <tdeconfig.h>
#include <tdesimpleconfig.h>
#include <kdebug.h>
#include <kglobal.h>
#include <kstandarddirs.h>
#include <kinstance.h>
#include <kshortcut.h>
#include <tdeglobal.h>
#include <tdestandarddirs.h>
#include <tdeinstance.h>
#include <tdeshortcut.h>
#include <kipc.h>
#include <kapplication.h>
#include <tdeapplication.h>
#include <dcopclient.h>
#include <kdirwatch.h>
#include <stdlib.h>
@ -52,17 +52,17 @@ extern "C"
#define CompNumLockMask (1 << 21)
#define CompScrollLockMask (1 << 22)
static KInstance *instance = NULL;
static TDEInstance *instance = NULL;
typedef struct _ConfigFiles
{
KSimpleConfig *main;
TDESimpleConfig *main;
TQString profile;
KConfig *kwin;
KConfig *global;
TDEConfig *twin;
TDEConfig *global;
Bool modified;
unsigned int watch;
unsigned int kwinWatch;
unsigned int twinWatch;
unsigned int globalWatch;
}
@ -95,8 +95,8 @@ const specialOptions[] =
{"lower_window_key", CORE_NAME, "Window Lower", true, OptionKey},
{"toggle_window_maximized_key", CORE_NAME, "Window Maximize", true, OptionKey},
{"minimize_window_key", CORE_NAME, "Window Minimize", true, OptionKey},
{"toggle_window_maximized_horizontally_key", CORE_NAME, "Window MaximizeQt::Horizontal", true, OptionKey},
{"toggle_window_maximized_vertically_key", CORE_NAME, "Window MaximizeQt::Vertical", true, OptionKey},
{"toggle_window_maximized_horizontally_key", CORE_NAME, "Window Maximize Horizontal", true, OptionKey},
{"toggle_window_maximized_vertically_key", CORE_NAME, "Window Maximize Vertical", true, OptionKey},
{"show_desktop_key", CORE_NAME, "Toggle Showing Desktop", true, OptionKey},
{"window_menu_key", CORE_NAME, "Window Operations Menu", true, OptionKey},
{"toggle_window_shaded_key", CORE_NAME, "Window Shade", true, OptionKey},
@ -163,7 +163,7 @@ const specialOptions[] =
{"snapoff_maximized", "move", "MoveResizeMaximizedWindows", false, OptionBool},
{"always_show", "resizeinfo", "GeometryTip", false, OptionBool},
{"allow_wraparound", "wall", "RollOverDesktops", false, OptionBool},
{"autoraise_delay", CORE_NAME, "AutoRaiseInterval", false, OptionInt},
{"flip_time", "rotate", "ElectricBorderDelay", false, OptionInt},
@ -214,16 +214,16 @@ reload (unsigned int,
void *closure)
{
CCSContext *context = (CCSContext *) closure;
ccsDisableFileWatch (cFiles->watch);
ccsDisableFileWatch (cFiles->kwinWatch);
ccsDisableFileWatch (cFiles->twinWatch);
ccsDisableFileWatch (cFiles->globalWatch);
cFiles->main->reparseConfiguration();
cFiles->kwin->reparseConfiguration();
cFiles->twin->reparseConfiguration();
cFiles->global->reparseConfiguration();
ccsReadSettings (context);
ccsEnableFileWatch (cFiles->watch);
ccsEnableFileWatch (cFiles->kwinWatch);
ccsEnableFileWatch (cFiles->twinWatch);
ccsEnableFileWatch (cFiles->globalWatch);
}
@ -245,7 +245,7 @@ static void
KdeIntToCCS (CCSSetting *setting,
int num)
{
KConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->kwin;
TDEConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->twin;
int val = cfg->readNumEntry (specialOptions[num].kdeName);
@ -256,9 +256,9 @@ static void
KdeBoolToCCS (CCSSetting *setting,
int num)
{
KConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->kwin;
TDEConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->twin;
Bool val = (cfg->readBoolEntry (specialOptions[num].kdeName))? TRUE : FALSE;
Bool val = cfg->readBoolEntry (specialOptions[num].kdeName);
ccsSetBool (setting, val);
}
@ -267,7 +267,7 @@ static void
KdeKeyToCCS (CCSSetting *setting,
int num)
{
KConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->kwin;
TDEConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->twin;
KKey key (cfg->readEntry (specialOptions[num].kdeName) );
@ -350,20 +350,19 @@ readIntegratedOption (CCSSetting *setting)
}
else if (specialOptions[option].settingName == "click_to_focus")
{
Bool val = (cFiles->kwin->readEntry ("FocusPolicy") ==
"ClickToFocus") ? TRUE : FALSE;
Bool val = cFiles->twin->readEntry ("FocusPolicy") == "ClickToFocus";
ccsSetBool (setting, val);
}
else if (specialOptions[option].settingName == "number_of_desktops")
{
cFiles->kwin->setGroup ("Desktops");
cFiles->twin->setGroup ("Desktops");
KdeIntToCCS (setting, option);
cFiles->kwin->setGroup ("Windows");
cFiles->twin->setGroup ("Windows");
}
else if (specialOptions[option].settingName == "mode" &&
specialOptions[option].pluginName == "resize")
{
TQString mode = cFiles->kwin->readEntry ("ResizeMode");
TQString mode = cFiles->twin->readEntry ("ResizeMode");
int imode = -1;
int result = 0;
@ -395,25 +394,25 @@ readIntegratedOption (CCSSetting *setting)
CCSSettingValueList list = ccsGetValueListFromIntArray (intList, 2,
setting);
ccsSetList (setting, list);
ccsSettingValueListFree (list, TRUE);
ccsSettingValueListFree (list, true);
}
else if (specialOptions[option].settingName == "resistance_distance" ||
specialOptions[option].settingName == "attraction_distance")
{
int val1 = cFiles->kwin->readNumEntry ("WindowSnapZone");
int val2 = cFiles->kwin->readNumEntry ("BorderSnapZone");
int val1 = cFiles->twin->readNumEntry ("WindowSnapZone");
int val2 = cFiles->twin->readNumEntry ("BorderSnapZone");
int result = KMAX (val1, val2);
if (result == 0)
result = cFiles->main->readNumEntry ("snap_distance (Integrated)");
if (result > 0)
ccsSetInt (setting, result);
}
else if (specialOptions[option].settingName == "edges_categories")
{
int val1 = cFiles->kwin->readNumEntry ("WindowSnapZone");
int val2 = cFiles->kwin->readNumEntry ("BorderSnapZone");
int val1 = cFiles->twin->readNumEntry ("WindowSnapZone");
int val2 = cFiles->twin->readNumEntry ("BorderSnapZone");
int intList[2] = {0, 0};
int num = 0;
@ -429,17 +428,17 @@ readIntegratedOption (CCSSetting *setting)
num,
setting);
ccsSetList (setting, list);
ccsSettingValueListFree (list, TRUE);
ccsSettingValueListFree (list, true);
}
else if (specialOptions[option].settingName == "next_key" ||
specialOptions[option].settingName == "prev_key")
{
bool val1;
bool val2 = (cFiles->kwin->readEntry ("AltTabStyle") == "KDE");
bool val2 = (cFiles->twin->readEntry ("AltTabStyle") == "KDE");
cFiles->kwin->setGroup ("TabBox");
val1 = cFiles->kwin->readBoolEntry ("TraverseAll");
cFiles->kwin->setGroup ("Windows");
cFiles->twin->setGroup ("TabBox");
val1 = cFiles->twin->readBoolEntry ("TraverseAll");
cFiles->twin->setGroup ("Windows");
if (val2 && !val1)
KdeKeyToCCS (setting, option);
@ -459,11 +458,11 @@ readIntegratedOption (CCSSetting *setting)
specialOptions[option].settingName == "prev_all_key")
{
bool val1;
bool val2 = (cFiles->kwin->readEntry ("AltTabStyle") == "KDE");
bool val2 = (cFiles->twin->readEntry ("AltTabStyle") == "KDE");
cFiles->kwin->setGroup ("TabBox");
val1 = cFiles->kwin->readBoolEntry ("TraverseAll");
cFiles->kwin->setGroup ("Windows");
cFiles->twin->setGroup ("TabBox");
val1 = cFiles->twin->readBoolEntry ("TraverseAll");
cFiles->twin->setGroup ("Windows");
if (val2 && val1)
KdeKeyToCCS (setting, option);
@ -482,7 +481,7 @@ readIntegratedOption (CCSSetting *setting)
else if (specialOptions[option].settingName == "next_no_popup_key" ||
specialOptions[option].settingName == "prev_no_popup_key")
{
bool val2 = (cFiles->kwin->readEntry ("AltTabStyle") == "KDE");
bool val2 = (cFiles->twin->readEntry ("AltTabStyle") == "KDE");
if (!val2)
KdeKeyToCCS (setting, option);
@ -501,27 +500,27 @@ readIntegratedOption (CCSSetting *setting)
else if (specialOptions[option].settingName == "edge_flip_window" ||
specialOptions[option].settingName == "edgeflip_move")
{
int val = cFiles->kwin->readNumEntry ("ElectricBorders");
int val = cFiles->twin->readNumEntry ("ElectricBorders");
if (val > 0)
ccsSetBool (setting, TRUE);
ccsSetBool (setting, true);
else
ccsSetBool (setting, FALSE);
ccsSetBool (setting, false);
}
else if (specialOptions[option].settingName == "edge_flip_pointer" ||
specialOptions[option].settingName == "edgeflip_pointer")
{
int val = cFiles->kwin->readNumEntry ("ElectricBorders");
int val = cFiles->twin->readNumEntry ("ElectricBorders");
if (val > 1)
ccsSetBool (setting, TRUE);
ccsSetBool (setting, true);
else
ccsSetBool (setting, FALSE);
ccsSetBool (setting, false);
}
else if (specialOptions[option].settingName == "mode" &&
specialOptions[option].pluginName == "place")
{
TQString mode = cFiles->kwin->readEntry ("Placement");
TQString mode = cFiles->twin->readEntry ("Placement");
int result = 0;
@ -559,7 +558,7 @@ getSettingIsReadOnly (CCSSetting *setting)
{
if (!ccsGetIntegrationEnabled (setting->parent->context)
|| !isIntegratedOption (setting) )
return FALSE;
return false;
int option = 0;
@ -579,23 +578,23 @@ getSettingIsReadOnly (CCSSetting *setting)
case OptionSpecial:
if (specialOptions[option].settingName == "command11")
{
return TRUE;
return true;
}
else if (specialOptions[option].settingName == "map_on_shutdown")
{
return TRUE;
return true;
}
else if (specialOptions[option].settingName == "unmaximize_window_key"
|| specialOptions[option].settingName == "maximize_window_key"
|| specialOptions[option].settingName == "maximize_window_horizontally_key"
|| specialOptions[option].settingName == "maximize_window_vertically_key")
{
return TRUE;
return true;
}
else if (specialOptions[option].settingName == "snap_type" ||
specialOptions[option].settingName == "attraction_distance")
{
return TRUE;
return true;
}
break;
@ -603,16 +602,16 @@ getSettingIsReadOnly (CCSSetting *setting)
break;
}
return FALSE;
return false;
}
static CCSStringList
getExistingProfiles (CCSContext *)
{
if (!instance)
instance = new KInstance ("ccs-backend-kconfig");
instance = new TDEInstance ("ccs-backend-tdeconfig");
TQDir dir (KGlobal::dirs()->saveLocation ("config", TQString(), false),
TQDir dir (TDEGlobal::dirs()->saveLocation ("config", TQString(), false),
"compizrc.*");
TQStringList files = dir.entryList();
@ -641,7 +640,7 @@ readSetting (CCSContext *c,
CCSSetting *setting)
{
KSimpleConfig *cfg = cFiles->main;
TDESimpleConfig *cfg = cFiles->main;
TQString key (setting->name);
TQString group (setting->parent->name);
@ -690,7 +689,7 @@ readSetting (CCSContext *c,
case TypeBool:
{
Bool val = (cfg->readBoolEntry (key) ) ? TRUE : FALSE;
Bool val = cfg->readBoolEntry (key);
ccsSetBool (setting, val);
}
break;
@ -730,7 +729,7 @@ readSetting (CCSContext *c,
for (it = list.begin(); it != list.end(); it++)
{
array[i] = ( (*it) ) ? TRUE : FALSE;
array[i] = ( (*it) ) ? true : false;
i++;
}
@ -738,7 +737,7 @@ readSetting (CCSContext *c,
ccsGetValueListFromBoolArray (array, i, setting);
ccsSetList (setting, l);
ccsSettingValueListFree (l, TRUE);
ccsSettingValueListFree (l, true);
delete array;
}
break;
@ -762,7 +761,7 @@ readSetting (CCSContext *c,
ccsGetValueListFromIntArray (array, i, setting);
ccsSetList (setting, l);
ccsSettingValueListFree (l, TRUE);
ccsSettingValueListFree (l, true);
delete array;
}
break;
@ -790,7 +789,7 @@ readSetting (CCSContext *c,
ccsGetValueListFromStringArray (array, i, setting);
ccsSetList (setting, l);
ccsSettingValueListFree (l, TRUE);
ccsSettingValueListFree (l, true);
for (int j = 0; j < i; j++)
free (array[j]);
@ -823,7 +822,7 @@ readSetting (CCSContext *c,
ccsGetValueListFromStringArray (array, i, setting);
ccsSetList (setting, l);
ccsSettingValueListFree (l, TRUE);
ccsSettingValueListFree (l, true);
for (int j = 0; j < i; j++)
free (array[j]);
@ -852,7 +851,7 @@ readSetting (CCSContext *c,
ccsGetValueListFromFloatArray (array, i, setting);
ccsSetList (setting, l);
ccsSettingValueListFree (l, TRUE);
ccsSettingValueListFree (l, true);
delete array;
}
break;
@ -887,7 +886,7 @@ readSetting (CCSContext *c,
ccsGetValueListFromColorArray (array, i, setting);
ccsSetList (setting, l);
ccsSettingValueListFree (l, TRUE);
ccsSettingValueListFree (l, true);
delete array;
}
break;
@ -914,7 +913,7 @@ readSetting (CCSContext *c,
}
ccsSetList (setting, l);
ccsSettingValueListFree (l, TRUE);
ccsSettingValueListFree (l, true);
}
break;
case TypeButton:
@ -939,7 +938,7 @@ readSetting (CCSContext *c,
}
ccsSetList (setting, l);
ccsSettingValueListFree (l, TRUE);
ccsSettingValueListFree (l, true);
}
break;
case TypeEdge:
@ -961,7 +960,7 @@ readSetting (CCSContext *c,
}
ccsSetList (setting, l);
ccsSettingValueListFree (l, TRUE);
ccsSettingValueListFree (l, true);
}
break;
case TypeBell:
@ -976,12 +975,12 @@ readSetting (CCSContext *c,
for (it = list.begin(); it != list.end(); it++)
{
val = (CCSSettingValue*) malloc (sizeof (CCSSettingValue));
val->value.asBell = ((*it)) ? TRUE : FALSE;
val->value.asBell = ((*it)) ? true : false;
l = ccsSettingValueListAppend (l, val);
}
ccsSetList (setting, l);
ccsSettingValueListFree (l, TRUE);
ccsSettingValueListFree (l, true);
}
break;
@ -1026,7 +1025,7 @@ readSetting (CCSContext *c,
break;
case TypeBell:
{
Bool val = (cfg->readBoolEntry (key)) ? TRUE : FALSE;
Bool val = cfg->readBoolEntry (key);
ccsSetBell (setting, val);
}
break;
@ -1041,7 +1040,7 @@ static void
CCSIntToKde (CCSSetting *setting,
int num)
{
KConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->kwin;
TDEConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->twin;
int val;
@ -1059,7 +1058,7 @@ static void
CCSBoolToKde (CCSSetting *setting,
int num)
{
KConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->kwin;
TDEConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->twin;
Bool val;
@ -1077,7 +1076,7 @@ static void
CCSKeyToKde (CCSSetting *setting,
int num)
{
KConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->kwin;
TDEConfig *cfg = (specialOptions[num].global) ? cFiles->global : cFiles->twin;
CCSSettingKeyValue keyVal;
@ -1150,7 +1149,7 @@ writeIntegratedOption (CCSSetting *setting)
if (specialOptions[option].settingName == "click_to_focus")
{
TQString mode = cFiles->kwin->readEntry ("FocusPolicy");
TQString mode = cFiles->twin->readEntry ("FocusPolicy");
TQString val = "ClickToFocus";
Bool bVal;
@ -1165,20 +1164,20 @@ writeIntegratedOption (CCSSetting *setting)
if (mode != val)
{
cFiles->modified = true;
cFiles->kwin->writeEntry ("FocusPolicy", val);
cFiles->twin->writeEntry ("FocusPolicy", val);
}
}
if (specialOptions[option].settingName == "number_of_desktops")
{
cFiles->kwin->setGroup ("Desktops");
cFiles->twin->setGroup ("Desktops");
CCSIntToKde (setting, option);
cFiles->kwin->setGroup ("Windows");
cFiles->twin->setGroup ("Windows");
}
if (specialOptions[option].settingName == "mode" &&
specialOptions[option].pluginName == "resize")
{
TQString mode = cFiles->kwin->readEntry("ResizeMode");
TQString mode = cFiles->twin->readEntry("ResizeMode");
TQString val = "Opaque";
int iVal;
if (ccsGetInt(setting, &iVal) && (iVal == 1 || iVal == 2))
@ -1188,7 +1187,7 @@ writeIntegratedOption (CCSSetting *setting)
if (mode != val)
{
cFiles->modified = true;
cFiles->kwin->writeEntry("ResizeMode",val);
cFiles->twin->writeEntry("ResizeMode",val);
}
cFiles->main->writeEntry(specialOptions[option].settingName + " (Integrated)",iVal);
}
@ -1232,14 +1231,14 @@ writeIntegratedOption (CCSSetting *setting)
free (values);
if (edge)
cFiles->kwin->writeEntry ("BorderSnapZone", iVal);
cFiles->twin->writeEntry ("BorderSnapZone", iVal);
else
cFiles->kwin->writeEntry ("BorderSnapZone", 0);
cFiles->twin->writeEntry ("BorderSnapZone", 0);
if (window)
cFiles->kwin->writeEntry ("WindowSnapZone", iVal);
cFiles->twin->writeEntry ("WindowSnapZone", iVal);
else
cFiles->kwin->writeEntry ("WindowSnapZone", 0);
cFiles->twin->writeEntry ("WindowSnapZone", 0);
if (window | edge)
cFiles->modified = true;
cFiles->main->writeEntry ("snap_distance (Integrated)",iVal);
@ -1257,11 +1256,11 @@ writeIntegratedOption (CCSSetting *setting)
CCSKeyToKde (setting, option);
cFiles->kwin->setGroup ("TabBox");
cFiles->kwin->writeEntry ("TraverseAll", false);
cFiles->kwin->setGroup ("Windows");
cFiles->kwin->writeEntry ("AltTabStyle", "KDE");
cFiles->twin->setGroup ("TabBox");
cFiles->twin->writeEntry ("TraverseAll", false);
cFiles->twin->setGroup ("Windows");
cFiles->twin->writeEntry ("AltTabStyle", "KDE");
cFiles->modified = true;
}
@ -1278,11 +1277,11 @@ writeIntegratedOption (CCSSetting *setting)
CCSKeyToKde (setting, option);
cFiles->kwin->setGroup ("TabBox");
cFiles->kwin->writeEntry ("TraverseAll", true);
cFiles->kwin->setGroup ("Windows");
cFiles->kwin->writeEntry ("AltTabStyle", "KDE");
cFiles->twin->setGroup ("TabBox");
cFiles->twin->writeEntry ("TraverseAll", true);
cFiles->twin->setGroup ("Windows");
cFiles->twin->writeEntry ("AltTabStyle", "KDE");
cFiles->modified = true;
}
@ -1299,23 +1298,23 @@ writeIntegratedOption (CCSSetting *setting)
CCSKeyToKde (setting, option);
cFiles->kwin->writeEntry ("AltTabStyle", "CDE");
cFiles->twin->writeEntry ("AltTabStyle", "CDE");
cFiles->modified = true;
}
else if (specialOptions[option].settingName == "edge_flip_window" ||
specialOptions[option].settingName == "edgeflip_move")
{
int oVal = cFiles->kwin->readNumEntry ("ElectricBorders");
int oVal = cFiles->twin->readNumEntry ("ElectricBorders");
Bool val;
if (!ccsGetBool (setting, &val))
break;
if (val)
cFiles->kwin->writeEntry ("ElectricBorders", KMAX (1, oVal));
cFiles->twin->writeEntry ("ElectricBorders", KMAX (1, oVal));
else
cFiles->kwin->writeEntry ("ElectricBorders", 0);
cFiles->twin->writeEntry ("ElectricBorders", 0);
cFiles->modified = true;
}
else if (specialOptions[option].settingName == "edge_flip_pointer" ||
@ -1344,12 +1343,12 @@ writeIntegratedOption (CCSSetting *setting)
}
else
oVal = 0;
if (val)
cFiles->kwin->writeEntry ("ElectricBorders", 2);
cFiles->twin->writeEntry ("ElectricBorders", 2);
else
cFiles->kwin->writeEntry ("ElectricBorders", oVal);
cFiles->twin->writeEntry ("ElectricBorders", oVal);
cFiles->modified = true;
}
else if (specialOptions[option].settingName == "mode" &&
@ -1362,19 +1361,19 @@ writeIntegratedOption (CCSSetting *setting)
switch (val)
{
case 0:
cFiles->kwin->writeEntry ("Placement", "Cascade");
cFiles->twin->writeEntry ("Placement", "Cascade");
break;
case 1:
cFiles->kwin->writeEntry ("Placement", "Centered");
cFiles->twin->writeEntry ("Placement", "Centered");
break;
case 2:
cFiles->kwin->writeEntry ("Placement", "Smart");
cFiles->twin->writeEntry ("Placement", "Smart");
break;
case 3:
cFiles->kwin->writeEntry ("Placement", "Maximizing");
cFiles->twin->writeEntry ("Placement", "Maximizing");
break;
case 4:
cFiles->kwin->writeEntry ("Placement", "Random");
cFiles->twin->writeEntry ("Placement", "Random");
break;
default:
break;
@ -1394,7 +1393,7 @@ static void
writeSetting (CCSContext *c,
CCSSetting *setting)
{
KSimpleConfig *cfg = cFiles->main;
TDESimpleConfig *cfg = cFiles->main;
TQString key (setting->name);
TQString group (setting->parent->name);
@ -1503,7 +1502,7 @@ writeSetting (CCSContext *c,
cfg->writeEntry (key, list);
}
break;
case TypeInt:
{
TQValueList<int> list;
@ -1617,7 +1616,7 @@ writeSetting (CCSContext *c,
str = val;
free (val);
list.append (str);
l = l->next;
}
@ -1642,7 +1641,7 @@ writeSetting (CCSContext *c,
str = val;
free (val);
list.append (str);
l = l->next;
}
@ -1666,7 +1665,7 @@ writeSetting (CCSContext *c,
str = val;
free (val);
list.append (str);
l = l->next;
}
@ -1696,7 +1695,7 @@ writeSetting (CCSContext *c,
}
}
break;
case TypeKey:
{
CCSSettingKeyValue keyVal;
@ -1760,7 +1759,7 @@ static Bool
readInit (CCSContext *c)
{
if (!instance)
instance = new KInstance ("ccs-backend-kconfig");
instance = new TDEInstance ("ccs-backend-tdeconfig");
if (cFiles->profile != ccsGetProfile (c) )
{
@ -1775,17 +1774,17 @@ readInit (CCSContext *c)
delete cFiles->main;
TQString wFile = KGlobal::dirs()->saveLocation ("config",
TQString wFile = TDEGlobal::dirs()->saveLocation ("config",
TQString(), false) + configName;
createFile (wFile);
cFiles->main = new KSimpleConfig (configName);
cFiles->main = new TDESimpleConfig (configName);
ccsRemoveFileWatch (cFiles->watch);
cFiles->watch = ccsAddFileWatch (wFile.ascii(), TRUE,
cFiles->watch = ccsAddFileWatch (wFile.ascii(), true,
reload, (void *) c);
}
return TRUE;
return true;
}
static void
@ -1796,7 +1795,7 @@ static Bool
writeInit (CCSContext *c)
{
if (!instance)
instance = new KInstance ("ccs-backend-kconfig");
instance = new TDEInstance ("ccs-backend-tdeconfig");
if (cFiles->profile != ccsGetProfile (c) )
{
@ -1811,22 +1810,22 @@ writeInit (CCSContext *c)
delete cFiles->main;
TQString wFile = KGlobal::dirs()->saveLocation ("config",
TQString wFile = TDEGlobal::dirs()->saveLocation ("config",
TQString(), false) + configName;
createFile (wFile);
cFiles->main = new KSimpleConfig (configName);
cFiles->main = new TDESimpleConfig (configName);
ccsRemoveFileWatch (cFiles->watch);
cFiles->watch = ccsAddFileWatch (wFile.ascii(), TRUE,
cFiles->watch = ccsAddFileWatch (wFile.ascii(), true,
reload, (void *) c);
}
ccsDisableFileWatch (cFiles->watch);
ccsDisableFileWatch (cFiles->kwinWatch);
ccsDisableFileWatch (cFiles->twinWatch);
ccsDisableFileWatch (cFiles->globalWatch);
return TRUE;
return true;
}
static void
@ -1835,16 +1834,16 @@ writeDone (CCSContext *)
cFiles->main->sync();
if (cFiles->modified)
{
cFiles->kwin->sync();
cFiles->twin->sync();
cFiles->global->sync();
DCOPClient *client = kapp->dcopClient();
DCOPClient *client = tdeApp->dcopClient();
if (!client->isAttached())
client->attach();
client->send("kwin", "KWinInterface", "reconfigure()", TQString(""));
client->send("twin", "KWinInterface", "reconfigure()", TQString(""));
cFiles->modified = false;
}
ccsEnableFileWatch (cFiles->watch);
ccsEnableFileWatch (cFiles->kwinWatch);
ccsEnableFileWatch (cFiles->twinWatch);
ccsEnableFileWatch (cFiles->globalWatch);
}
@ -1853,7 +1852,7 @@ static Bool
init (CCSContext *c)
{
if (!instance)
instance = new KInstance ("ccs-backend-kconfig");
instance = new TDEInstance ("ccs-backend-tdeconfig");
cFiles = new ConfigFiles;
@ -1866,30 +1865,30 @@ init (CCSContext *c)
cFiles->profile = ccsGetProfile (c);
}
TQString wFile = KGlobal::dirs()->saveLocation ("config",
TQString wFile = TDEGlobal::dirs()->saveLocation ("config",
TQString(), false) + configName;
createFile (wFile);
cFiles->main = new KSimpleConfig (configName);
cFiles->kwin = new KConfig ("kwinrc");
cFiles->global = new KConfig ("kdeglobals");
cFiles->main = new TDESimpleConfig (configName);
cFiles->twin = new TDEConfig ("twinrc");
cFiles->global = new TDEConfig ("kdeglobals");
cFiles->kwin->setGroup ("Windows");
cFiles->twin->setGroup ("Windows");
cFiles->global->setGroup ("Global Shortcuts");
cFiles->watch = ccsAddFileWatch (wFile.ascii(), TRUE, reload, (void *) c);
cFiles->watch = ccsAddFileWatch (wFile.ascii(), true, reload, (void *) c);
wFile = KGlobal::dirs()->saveLocation ("config",
TQString(), false) + "kwinrc";
cFiles->kwinWatch = ccsAddFileWatch (wFile.ascii(), TRUE, reload,
wFile = TDEGlobal::dirs()->saveLocation ("config",
TQString(), false) + "twinrc";
cFiles->twinWatch = ccsAddFileWatch (wFile.ascii(), true, reload,
(void *) c);
wFile = KGlobal::dirs()->saveLocation ("config",
wFile = TDEGlobal::dirs()->saveLocation ("config",
TQString(), false) + "kdeglobals";
cFiles->globalWatch = ccsAddFileWatch (wFile.ascii(), TRUE, reload,
cFiles->globalWatch = ccsAddFileWatch (wFile.ascii(), true, reload,
(void *) c);
return TRUE;
return true;
}
static Bool
@ -1898,14 +1897,14 @@ fini (CCSContext *)
if (cFiles)
{
ccsRemoveFileWatch (cFiles->watch);
ccsRemoveFileWatch (cFiles->kwinWatch);
ccsRemoveFileWatch (cFiles->twinWatch);
ccsRemoveFileWatch (cFiles->globalWatch);
if (cFiles->main)
delete cFiles->main;
if (cFiles->kwin)
delete cFiles->kwin;
if (cFiles->twin)
delete cFiles->twin;
if (cFiles->global)
delete cFiles->global;
@ -1915,14 +1914,14 @@ fini (CCSContext *)
cFiles = NULL;
return TRUE;
return true;
}
static Bool
deleteProfile (CCSContext *,
char *profile)
{
TQString file (KGlobal::dirs()->saveLocation ("config",
TQString file (TDEGlobal::dirs()->saveLocation ("config",
TQString(), false) );
file += "compizrc";
@ -1935,12 +1934,12 @@ deleteProfile (CCSContext *,
if (TQFile::exists (file) )
return TQFile::remove (file);
return FALSE;
return false;
}
static CCSBackendVTable kconfigVTable =
static CCSBackendVTable tdeconfigVTable =
{
"kconfig",
"tdeconfig",
"KDE Configuration Backend",
"KDE Configuration Backend for libccs",
true,
@ -1963,10 +1962,10 @@ static CCSBackendVTable kconfigVTable =
extern "C"
{
CCSBackendVTable *
TDE_EXPORT CCSBackendVTable *
getBackendInfo (void)
{
return &kconfigVTable;
return &tdeconfigVTable;
}
}

@ -1 +0,0 @@
settings-backend
Loading…
Cancel
Save